Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:arrow_up: fix https://github.com/siyuan-note/siyuan/issues/8848

Vanessac81db6f61a16
diff --git a/app/src/protyle/render/mermaidRender.ts b/app/src/protyle/render/mermaidRender.ts
index 6622f29502..5a8baff4f2 100644
--- a/app/src/protyle/render/mermaidRender.ts
+++ b/app/src/protyle/render/mermaidRender.ts
@@ -18,7 +18,7 @@ export const mermaidRender = (element: Element, cdn = Constants.PROTYLE_CDN) =>
if (mermaidElements.length === 0) {
return;
}
- addScript(`${cdn}/js/mermaid/mermaid.min.js?v=9.4.3`, "protyleMermaidScript").then(() => {
+ addScript(`${cdn}/js/mermaid/mermaid.min.js?v=10.3.0`, "protyleMermaidScript").then(() => {
const config: any = {
securityLevel: "loose", // 升级后无 https://github.com/siyuan-note/siyuan/issues/3587,可使用该选项
altFontFamily: "sans-serif",
diff --git a/app/stage/protyle/js/mermaid/mermaid.min.js b/app/stage/protyle/js/mermaid/mermaid.min.js
index b971dc10f4..3f1a6b430d 100644
--- a/app/stage/protyle/js/mermaid/mermaid.min.js
+++ b/app/stage/protyle/js/mermaid/mermaid.min.js
@@ -1,231 +1,131 @@
-(function(tA,g0){typeof exports=="object"&&typeof module<"u"?module.exports=g0():typeof define=="function"&&define.amd?define(g0):(tA=typeof globalThis<"u"?globalThis:tA||self,tA.mermaid=g0())})(this,function(){"use strict";function tA(s){for(var o=[],f=1;f<arguments.length;f++)o[f-1]=arguments[f];var p=Array.from(typeof s=="string"?[s]:s);p[p.length-1]=p[p.length-1].replace(/\r?\n([\t ]*)$/,"");var w=p.reduce(function(_,A){var N=A.match(/\n([\t ]+|(?!\s).)/g);return N?_.concat(N.map(function(B){var F,H;return(H=(F=B.match(/[\t ]/g))===null||F===void 0?void 0:F.length)!==null&&H!==void 0?H:0})):_},[]);if(w.length){var k=new RegExp(`
-[ ]{`+Math.min.apply(Math,w)+"}","g");p=p.map(function(_){return _.replace(k,`
-`)})}p[0]=p[0].replace(/^\r?\n/,"");var b=p[0];return o.forEach(function(_,A){var N=b.match(/(?:^|\n)( *)$/),B=N?N[1]:"",F=_;typeof _=="string"&&_.includes(`
-`)&&(F=String(_).split(`
-`).map(function(H,j){return j===0?H:""+B+H}).join(`
-`)),b+=F+p[A+1]}),b}var g0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GAe(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var hfe={},n4t={get exports(){return hfe},set exports(s){hfe=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){var f=1e3,p=6e4,w=36e5,k="millisecond",b="second",_="minute",A="hour",N="day",B="week",F="month",H="quarter",j="year",V="date",Z="Invalid Date",ae=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,le=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ce={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(De){var X=["th","st","nd","rd"],Re=De%100;return"["+De+(X[(Re-20)%10]||X[Re]||X[0])+"]"}},be=function(De,X,Re){var pe=String(De);return!pe||pe.length>=X?De:""+Array(X+1-pe.length).join(Re)+De},xe={s:be,z:function(De){var X=-De.utcOffset(),Re=Math.abs(X),pe=Math.floor(Re/60),Ge=Re%60;return(X<=0?"+":"-")+be(pe,2,"0")+":"+be(Ge,2,"0")},m:function De(X,Re){if(X.date()<Re.date())return-De(Re,X);var pe=12*(Re.year()-X.year())+(Re.month()-X.month()),Ge=X.clone().add(pe,F),de=Re-Ge<0,ct=X.clone().add(pe+(de?-1:1),F);return+(-(pe+(Re-Ge)/(de?Ge-ct:ct-Ge))||0)},a:function(De){return De<0?Math.ceil(De)||0:Math.floor(De)},p:function(De){return{M:F,y:j,w:B,d:N,D:V,h:A,m:_,s:b,ms:k,Q:H}[De]||String(De||"").toLowerCase().replace(/s$/,"")},u:function(De){return De===void 0}},Ee="en",Me={};Me[Ee]=ce;var fe=function(De){return De instanceof ke},ye=function De(X,Re,pe){var Ge;if(!X)return Ee;if(typeof X=="string"){var de=X.toLowerCase();Me[de]&&(Ge=de),Re&&(Me[de]=Re,Ge=de);var ct=X.split("-");if(!Ge&&ct.length>1)return De(ct[0])}else{var bt=X.name;Me[bt]=X,Ge=bt}return!pe&&Ge&&(Ee=Ge),Ge||!pe&&Ee},re=function(De,X){if(fe(De))return De.clone();var Re=typeof X=="object"?X:{};return Re.date=De,Re.args=arguments,new ke(Re)},we=xe;we.l=ye,we.i=fe,we.w=function(De,X){return re(De,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var ke=function(){function De(Re){this.$L=ye(Re.locale,null,!0),this.parse(Re)}var X=De.prototype;return X.parse=function(Re){this.$d=function(pe){var Ge=pe.date,de=pe.utc;if(Ge===null)return new Date(NaN);if(we.u(Ge))return new Date;if(Ge instanceof Date)return new Date(Ge);if(typeof Ge=="string"&&!/Z$/i.test(Ge)){var ct=Ge.match(ae);if(ct){var bt=ct[2]-1||0,St=(ct[7]||"0").substring(0,3);return de?new Date(Date.UTC(ct[1],bt,ct[3]||1,ct[4]||0,ct[5]||0,ct[6]||0,St)):new Date(ct[1],bt,ct[3]||1,ct[4]||0,ct[5]||0,ct[6]||0,St)}}return new Date(Ge)}(Re),this.$x=Re.x||{},this.init()},X.init=function(){var Re=this.$d;this.$y=Re.getFullYear(),this.$M=Re.getMonth(),this.$D=Re.getDate(),this.$W=Re.getDay(),this.$H=Re.getHours(),this.$m=Re.getMinutes(),this.$s=Re.getSeconds(),this.$ms=Re.getMilliseconds()},X.$utils=function(){return we},X.isValid=function(){return this.$d.toString()!==Z},X.isSame=function(Re,pe){var Ge=re(Re);return this.startOf(pe)<=Ge&&Ge<=this.endOf(pe)},X.isAfter=function(Re,pe){return re(Re)<this.startOf(pe)},X.isBefore=function(Re,pe){return this.endOf(pe)<re(Re)},X.$g=function(Re,pe,Ge){return we.u(Re)?this[pe]:this.set(Ge,Re)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(Re,pe){var Ge=this,de=!!we.u(pe)||pe,ct=we.p(Re),bt=function(xt,Tt){var wt=we.w(Ge.$u?Date.UTC(Ge.$y,Tt,xt):new Date(Ge.$y,Tt,xt),Ge);return de?wt:wt.endOf(N)},St=function(xt,Tt){return we.w(Ge.toDate()[xt].apply(Ge.toDate("s"),(de?[0,0,0,0]:[23,59,59,999]).slice(Tt)),Ge)},yt=this.$W,Mt=this.$M,nn=this.$D,dn="set"+(this.$u?"UTC":"");switch(ct){case j:return de?bt(1,0):bt(31,11);case F:return de?bt(1,Mt):bt(0,Mt+1);case B:var vt=this.$locale().weekStart||0,Lr=(yt<vt?yt+7:yt)-vt;return bt(de?nn-Lr:nn+(6-Lr),Mt);case N:case V:return St(dn+"Hours",0);case A:return St(dn+"Minutes",1);case _:return St(dn+"Seconds",2);case b:return St(dn+"Milliseconds",3);default:return this.clone()}},X.endOf=function(Re){return this.startOf(Re,!1)},X.$set=function(Re,pe){var Ge,de=we.p(Re),ct="set"+(this.$u?"UTC":""),bt=(Ge={},Ge[N]=ct+"Date",Ge[V]=ct+"Date",Ge[F]=ct+"Month",Ge[j]=ct+"FullYear",Ge[A]=ct+"Hours",Ge[_]=ct+"Minutes",Ge[b]=ct+"Seconds",Ge[k]=ct+"Milliseconds",Ge)[de],St=de===N?this.$D+(pe-this.$W):pe;if(de===F||de===j){var yt=this.clone().set(V,1);yt.$d[bt](St),yt.init(),this.$d=yt.set(V,Math.min(this.$D,yt.daysInMonth())).$d}else bt&&this.$d[bt](St);return this.init(),this},X.set=function(Re,pe){return this.clone().$set(Re,pe)},X.get=function(Re){return this[we.p(Re)]()},X.add=function(Re,pe){var Ge,de=this;Re=Number(Re);var ct=we.p(pe),bt=function(Mt){var nn=re(de);return we.w(nn.date(nn.date()+Math.round(Mt*Re)),de)};if(ct===F)return this.set(F,this.$M+Re);if(ct===j)return this.set(j,this.$y+Re);if(ct===N)return bt(1);if(ct===B)return bt(7);var St=(Ge={},Ge[_]=p,Ge[A]=w,Ge[b]=f,Ge)[ct]||1,yt=this.$d.getTime()+Re*St;return we.w(yt,this)},X.subtract=function(Re,pe){return this.add(-1*Re,pe)},X.format=function(Re){var pe=this,Ge=this.$locale();if(!this.isValid())return Ge.invalidDate||Z;var de=Re||"YYYY-MM-DDTHH:mm:ssZ",ct=we.z(this),bt=this.$H,St=this.$m,yt=this.$M,Mt=Ge.weekdays,nn=Ge.months,dn=function(Tt,wt,At,He){return Tt&&(Tt[wt]||Tt(pe,de))||At[wt].slice(0,He)},vt=function(Tt){return we.s(bt%12||12,Tt,"0")},Lr=Ge.meridiem||function(Tt,wt,At){var He=Tt<12?"AM":"PM";return At?He.toLowerCase():He},xt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:yt+1,MM:we.s(yt+1,2,"0"),MMM:dn(Ge.monthsShort,yt,nn,3),MMMM:dn(nn,yt),D:this.$D,DD:we.s(this.$D,2,"0"),d:String(this.$W),dd:dn(Ge.weekdaysMin,this.$W,Mt,2),ddd:dn(Ge.weekdaysShort,this.$W,Mt,3),dddd:Mt[this.$W],H:String(bt),HH:we.s(bt,2,"0"),h:vt(1),hh:vt(2),a:Lr(bt,St,!0),A:Lr(bt,St,!1),m:String(St),mm:we.s(St,2,"0"),s:String(this.$s),ss:we.s(this.$s,2,"0"),SSS:we.s(this.$ms,3,"0"),Z:ct};return de.replace(le,function(Tt,wt){return wt||xt[Tt]||ct.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(Re,pe,Ge){var de,ct=we.p(pe),bt=re(Re),St=(bt.utcOffset()-this.utcOffset())*p,yt=this-bt,Mt=we.m(this,bt);return Mt=(de={},de[j]=Mt/12,de[F]=Mt,de[H]=Mt/3,de[B]=(yt-St)/6048e5,de[N]=(yt-St)/864e5,de[A]=yt/w,de[_]=yt/p,de[b]=yt/f,de)[ct]||yt,Ge?Mt:we.a(Mt)},X.daysInMonth=function(){return this.endOf(F).$D},X.$locale=function(){return Me[this.$L]},X.locale=function(Re,pe){if(!Re)return this.$L;var Ge=this.clone(),de=ye(Re,pe,!0);return de&&(Ge.$L=de),Ge},X.clone=function(){return we.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},De}(),he=ke.prototype;return re.prototype=he,[["$ms",k],["$s",b],["$m",_],["$H",A],["$W",N],["$M",F],["$y",j],["$D",V]].forEach(function(De){he[De[1]]=function(X){return this.$g(X,De[0],De[1])}}),re.extend=function(De,X){return De.$i||(De(X,ke,re),De.$i=!0),re},re.locale=ye,re.isDayjs=fe,re.unix=function(De){return re(1e3*De)},re.en=Me[Ee],re.Ls=Me,re.p={},re})})(n4t);const Qg=hfe,s5={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},je={trace:(...s)=>{},debug:(...s)=>{},info:(...s)=>{},warn:(...s)=>{},error:(...s)=>{},fatal:(...s)=>{}},ffe=function(s="fatal"){let o=s5.fatal;typeof s=="string"?(s=s.toLowerCase(),s in s5&&(o=s5[s])):typeof s=="number"&&(o=s),je.trace=()=>{},je.debug=()=>{},je.info=()=>{},je.warn=()=>{},je.error=()=>{},je.fatal=()=>{},o<=s5.fatal&&(je.fatal=console.error?console.error.bind(console,$b("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",$b("FATAL"))),o<=s5.error&&(je.error=console.error?console.error.bind(console,$b("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",$b("ERROR"))),o<=s5.warn&&(je.warn=console.warn?console.warn.bind(console,$b("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",$b("WARN"))),o<=s5.info&&(je.info=console.info?console.info.bind(console,$b("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",$b("INFO"))),o<=s5.debug&&(je.debug=console.debug?console.debug.bind(console,$b("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",$b("DEBUG"))),o<=s5.trace&&(je.trace=console.debug?console.debug.bind(console,$b("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",$b("TRACE")))},$b=s=>`%c${Qg().format("ss.SSS")} : ${s} : `;var dfe={};Object.defineProperty(dfe,"__esModule",{value:!0});var a5=dfe.sanitizeUrl=void 0,r4t=/^([^\w]*)(javascript|data|vbscript)/im,i4t=/&#(\w+)(^\w|;)?/g,s4t=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a4t=/^([^:]+):/gm,o4t=[".","/"];function c4t(s){return o4t.indexOf(s[0])>-1}function u4t(s){return s.replace(i4t,function(o,f){return String.fromCharCode(f)})}function l4t(s){var o=u4t(s||"").replace(s4t,"").trim();if(!o)return"about:blank";if(c4t(o))return o;var f=o.match(a4t);if(!f)return o;var p=f[0];return r4t.test(p)?"about:blank":o}a5=dfe.sanitizeUrl=l4t;function HV(s,o){return s==null||o==null?NaN:s<o?-1:s>o?1:s>=o?0:NaN}function h4t(s,o){return s==null||o==null?NaN:o<s?-1:o>s?1:o>=s?0:NaN}function gfe(s){let o,f,p;s.length!==2?(o=HV,f=(_,A)=>HV(s(_),A),p=(_,A)=>s(_)-A):(o=s===HV||s===h4t?s:f4t,f=s,p=s);function w(_,A,N=0,B=_.length){if(N<B){if(o(A,A)!==0)return B;do{const F=N+B>>>1;f(_[F],A)<0?N=F+1:B=F}while(N<B)}return N}function k(_,A,N=0,B=_.length){if(N<B){if(o(A,A)!==0)return B;do{const F=N+B>>>1;f(_[F],A)<=0?N=F+1:B=F}while(N<B)}return N}function b(_,A,N=0,B=_.length){const F=w(_,A,N,B-1);return F>N&&p(_[F-1],A)>-p(_[F],A)?F-1:F}return{left:w,center:b,right:k}}function f4t(){return 0}function d4t(s){return s===null?NaN:+s}const g4t=gfe(HV).right;gfe(d4t).center;const p4t=g4t;class qAe extends Map{constructor(o,f=w4t){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:f}}),o!=null)for(const[p,w]of o)this.set(p,w)}get(o){return super.get(VAe(this,o))}has(o){return super.has(VAe(this,o))}set(o,f){return super.set(b4t(this,o),f)}delete(o){return super.delete(v4t(this,o))}}function VAe({_intern:s,_key:o},f){const p=o(f);return s.has(p)?s.get(p):f}function b4t({_intern:s,_key:o},f){const p=o(f);return s.has(p)?s.get(p):(s.set(p,f),f)}function v4t({_intern:s,_key:o},f){const p=o(f);return s.has(p)&&(f=s.get(p),s.delete(p)),f}function w4t(s){return s!==null&&typeof s=="object"?s.valueOf():s}var pfe=Math.sqrt(50),bfe=Math.sqrt(10),vfe=Math.sqrt(2);function m4t(s,o,f){var p,w=-1,k,b,_;if(o=+o,s=+s,f=+f,s===o&&f>0)return[s];if((p=o<s)&&(k=s,s=o,o=k),(_=UAe(s,o,f))===0||!isFinite(_))return[];if(_>0){let A=Math.round(s/_),N=Math.round(o/_);for(A*_<s&&++A,N*_>o&&--N,b=new Array(k=N-A+1);++w<k;)b[w]=(A+w)*_}else{_=-_;let A=Math.round(s*_),N=Math.round(o*_);for(A/_<s&&++A,N/_>o&&--N,b=new Array(k=N-A+1);++w<k;)b[w]=(A+w)/_}return p&&b.reverse(),b}function UAe(s,o,f){var p=(o-s)/Math.max(0,f),w=Math.floor(Math.log(p)/Math.LN10),k=p/Math.pow(10,w);return w>=0?(k>=pfe?10:k>=bfe?5:k>=vfe?2:1)*Math.pow(10,w):-Math.pow(10,-w)/(k>=pfe?10:k>=bfe?5:k>=vfe?2:1)}function wfe(s,o,f){var p=Math.abs(o-s)/Math.max(0,f),w=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),k=p/w;return k>=pfe?w*=10:k>=bfe?w*=5:k>=vfe&&(w*=2),o<s?-w:w}function y4t(s,o){let f;if(o===void 0)for(const p of s)p!=null&&(f<p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let w of s)(w=o(w,++p,s))!=null&&(f<w||f===void 0&&w>=w)&&(f=w)}return f}function k4t(s,o){let f;if(o===void 0)for(const p of s)p!=null&&(f>p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let w of s)(w=o(w,++p,s))!=null&&(f>w||f===void 0&&w>=w)&&(f=w)}return f}function x4t(s){return s}var zV=1,mfe=2,yfe=3,GV=4,KAe=1e-6;function E4t(s){return"translate("+s+",0)"}function T4t(s){return"translate(0,"+s+")"}function _4t(s){return o=>+s(o)}function C4t(s,o){return o=Math.max(0,s.bandwidth()-o*2)/2,s.round()&&(o=Math.round(o)),f=>+s(f)+o}function S4t(){return!this.__axis}function WAe(s,o){var f=[],p=null,w=null,k=6,b=6,_=3,A=typeof window<"u"&&window.devicePixelRatio>1?0:.5,N=s===zV||s===GV?-1:1,B=s===GV||s===mfe?"x":"y",F=s===zV||s===yfe?E4t:T4t;function H(j){var V=p??(o.ticks?o.ticks.apply(o,f):o.domain()),Z=w??(o.tickFormat?o.tickFormat.apply(o,f):x4t),ae=Math.max(k,0)+_,le=o.range(),ce=+le[0]+A,be=+le[le.length-1]+A,xe=(o.bandwidth?C4t:_4t)(o.copy(),A),Ee=j.selection?j.selection():j,Me=Ee.selectAll(".domain").data([null]),fe=Ee.selectAll(".tick").data(V,o).order(),ye=fe.exit(),re=fe.enter().append("g").attr("class","tick"),we=fe.select("line"),ke=fe.select("text");Me=Me.merge(Me.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),fe=fe.merge(re),we=we.merge(re.append("line").attr("stroke","currentColor").attr(B+"2",N*k)),ke=ke.merge(re.append("text").attr("fill","currentColor").attr(B,N*ae).attr("dy",s===zV?"0em":s===yfe?"0.71em":"0.32em")),j!==Ee&&(Me=Me.transition(j),fe=fe.transition(j),we=we.transition(j),ke=ke.transition(j),ye=ye.transition(j).attr("opacity",KAe).attr("transform",function(he){return isFinite(he=xe(he))?F(he+A):this.getAttribute("transform")}),re.attr("opacity",KAe).attr("transform",function(he){var De=this.parentNode.__axis;return F((De&&isFinite(De=De(he))?De:xe(he))+A)})),ye.remove(),Me.attr("d",s===GV||s===mfe?b?"M"+N*b+","+ce+"H"+A+"V"+be+"H"+N*b:"M"+A+","+ce+"V"+be:b?"M"+ce+","+N*b+"V"+A+"H"+be+"V"+N*b:"M"+ce+","+A+"H"+be),fe.attr("opacity",1).attr("transform",function(he){return F(xe(he)+A)}),we.attr(B+"2",N*k),ke.attr(B,N*ae).text(Z),Ee.filter(S4t).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",s===mfe?"start":s===GV?"end":"middle"),Ee.each(function(){this.__axis=xe})}return H.scale=function(j){return arguments.length?(o=j,H):o},H.ticks=function(){return f=Array.from(arguments),H},H.tickArguments=function(j){return arguments.length?(f=j==null?[]:Array.from(j),H):f.slice()},H.tickValues=function(j){return arguments.length?(p=j==null?null:Array.from(j),H):p&&p.slice()},H.tickFormat=function(j){return arguments.length?(w=j,H):w},H.tickSize=function(j){return arguments.length?(k=b=+j,H):k},H.tickSizeInner=function(j){return arguments.length?(k=+j,H):k},H.tickSizeOuter=function(j){return arguments.length?(b=+j,H):b},H.tickPadding=function(j){return arguments.length?(_=+j,H):_},H.offset=function(j){return arguments.length?(A=+j,H):A},H}function A4t(s){return WAe(zV,s)}function L4t(s){return WAe(yfe,s)}var M4t={value:()=>{}};function YAe(){for(var s=0,o=arguments.length,f={},p;s<o;++s){if(!(p=arguments[s]+"")||p in f||/[\s.]/.test(p))throw new Error("illegal type: "+p);f[p]=[]}return new qV(f)}function qV(s){this._=s}function D4t(s,o){return s.trim().split(/^|\s+/).map(function(f){var p="",w=f.indexOf(".");if(w>=0&&(p=f.slice(w+1),f=f.slice(0,w)),f&&!o.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:p}})}qV.prototype=YAe.prototype={constructor:qV,on:function(s,o){var f=this._,p=D4t(s+"",f),w,k=-1,b=p.length;if(arguments.length<2){for(;++k<b;)if((w=(s=p[k]).type)&&(w=I4t(f[w],s.name)))return w;return}if(o!=null&&typeof o!="function")throw new Error("invalid callback: "+o);for(;++k<b;)if(w=(s=p[k]).type)f[w]=XAe(f[w],s.name,o);else if(o==null)for(w in f)f[w]=XAe(f[w],s.name,null);return this},copy:function(){var s={},o=this._;for(var f in o)s[f]=o[f].slice();return new qV(s)},call:function(s,o){if((w=arguments.length-2)>0)for(var f=new Array(w),p=0,w,k;p<w;++p)f[p]=arguments[p+2];if(!this._.hasOwnProperty(s))throw new Error("unknown type: "+s);for(k=this._[s],p=0,w=k.length;p<w;++p)k[p].value.apply(o,f)},apply:function(s,o,f){if(!this._.hasOwnProperty(s))throw new Error("unknown type: "+s);for(var p=this._[s],w=0,k=p.length;w<k;++w)p[w].value.apply(o,f)}};function I4t(s,o){for(var f=0,p=s.length,w;f<p;++f)if((w=s[f]).name===o)return w.value}function XAe(s,o,f){for(var p=0,w=s.length;p<w;++p)if(s[p].name===o){s[p]=M4t,s=s.slice(0,p).concat(s.slice(p+1));break}return f!=null&&s.push({name:o,value:f}),s}var kfe="http://www.w3.org/1999/xhtml";const QAe={svg:"http://www.w3.org/2000/svg",xhtml:kfe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function VV(s){var o=s+="",f=o.indexOf(":");return f>=0&&(o=s.slice(0,f))!=="xmlns"&&(s=s.slice(f+1)),QAe.hasOwnProperty(o)?{space:QAe[o],local:s}:s}function O4t(s){return function(){var o=this.ownerDocument,f=this.namespaceURI;return f===kfe&&o.documentElement.namespaceURI===kfe?o.createElement(s):o.createElementNS(f,s)}}function N4t(s){return function(){return this.ownerDocument.createElementNS(s.space,s.local)}}function ZAe(s){var o=VV(s);return(o.local?N4t:O4t)(o)}function P4t(){}function xfe(s){return s==null?P4t:function(){return this.querySelector(s)}}function B4t(s){typeof s!="function"&&(s=xfe(s));for(var o=this._groups,f=o.length,p=new Array(f),w=0;w<f;++w)for(var k=o[w],b=k.length,_=p[w]=new Array(b),A,N,B=0;B<b;++B)(A=k[B])&&(N=s.call(A,A.__data__,B,k))&&("__data__"in A&&(N.__data__=A.__data__),_[B]=N);return new eg(p,this._parents)}function JAe(s){return s==null?[]:Array.isArray(s)?s:Array.from(s)}function F4t(){return[]}function eLe(s){return s==null?F4t:function(){return this.querySelectorAll(s)}}function R4t(s){return function(){return JAe(s.apply(this,arguments))}}function j4t(s){typeof s=="function"?s=R4t(s):s=eLe(s);for(var o=this._groups,f=o.length,p=[],w=[],k=0;k<f;++k)for(var b=o[k],_=b.length,A,N=0;N<_;++N)(A=b[N])&&(p.push(s.call(A,A.__data__,N,b)),w.push(A));return new eg(p,w)}function tLe(s){return function(){return this.matches(s)}}function nLe(s){return function(o){return o.matches(s)}}var $4t=Array.prototype.find;function H4t(s){return function(){return $4t.call(this.children,s)}}function z4t(){return this.firstElementChild}function G4t(s){return this.select(s==null?z4t:H4t(typeof s=="function"?s:nLe(s)))}var q4t=Array.prototype.filter;function V4t(){return Array.from(this.children)}function U4t(s){return function(){return q4t.call(this.children,s)}}function K4t(s){return this.selectAll(s==null?V4t:U4t(typeof s=="function"?s:nLe(s)))}function W4t(s){typeof s!="function"&&(s=tLe(s));for(var o=this._groups,f=o.length,p=new Array(f),w=0;w<f;++w)for(var k=o[w],b=k.length,_=p[w]=[],A,N=0;N<b;++N)(A=k[N])&&s.call(A,A.__data__,N,k)&&_.push(A);return new eg(p,this._parents)}function rLe(s){return new Array(s.length)}function Y4t(){return new eg(this._enter||this._groups.map(rLe),this._parents)}function UV(s,o){this.ownerDocument=s.ownerDocument,this.namespaceURI=s.namespaceURI,this._next=null,this._parent=s,this.__data__=o}UV.prototype={constructor:UV,appendChild:function(s){return this._parent.insertBefore(s,this._next)},insertBefore:function(s,o){return this._parent.insertBefore(s,o)},querySelector:function(s){return this._parent.querySelector(s)},querySelectorAll:function(s){return this._parent.querySelectorAll(s)}};function X4t(s){return function(){return s}}function Q4t(s,o,f,p,w,k){for(var b=0,_,A=o.length,N=k.length;b<N;++b)(_=o[b])?(_.__data__=k[b],p[b]=_):f[b]=new UV(s,k[b]);for(;b<A;++b)(_=o[b])&&(w[b]=_)}function Z4t(s,o,f,p,w,k,b){var _,A,N=new Map,B=o.length,F=k.length,H=new Array(B),j;for(_=0;_<B;++_)(A=o[_])&&(H[_]=j=b.call(A,A.__data__,_,o)+"",N.has(j)?w[_]=A:N.set(j,A));for(_=0;_<F;++_)j=b.call(s,k[_],_,k)+"",(A=N.get(j))?(p[_]=A,A.__data__=k[_],N.delete(j)):f[_]=new UV(s,k[_]);for(_=0;_<B;++_)(A=o[_])&&N.get(H[_])===A&&(w[_]=A)}function J4t(s){return s.__data__}function e5t(s,o){if(!arguments.length)return Array.from(this,J4t);var f=o?Z4t:Q4t,p=this._parents,w=this._groups;typeof s!="function"&&(s=X4t(s));for(var k=w.length,b=new Array(k),_=new Array(k),A=new Array(k),N=0;N<k;++N){var B=p[N],F=w[N],H=F.length,j=t5t(s.call(B,B&&B.__data__,N,p)),V=j.length,Z=_[N]=new Array(V),ae=b[N]=new Array(V),le=A[N]=new Array(H);f(B,F,Z,ae,le,j,o);for(var ce=0,be=0,xe,Ee;ce<V;++ce)if(xe=Z[ce]){for(ce>=be&&(be=ce+1);!(Ee=ae[be])&&++be<V;);xe._next=Ee||null}}return b=new eg(b,p),b._enter=_,b._exit=A,b}function t5t(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function n5t(){return new eg(this._exit||this._groups.map(rLe),this._parents)}function r5t(s,o,f){var p=this.enter(),w=this,k=this.exit();return typeof s=="function"?(p=s(p),p&&(p=p.selection())):p=p.append(s+""),o!=null&&(w=o(w),w&&(w=w.selection())),f==null?k.remove():f(k),p&&w?p.merge(w).order():w}function i5t(s){for(var o=s.selection?s.selection():s,f=this._groups,p=o._groups,w=f.length,k=p.length,b=Math.min(w,k),_=new Array(w),A=0;A<b;++A)for(var N=f[A],B=p[A],F=N.length,H=_[A]=new Array(F),j,V=0;V<F;++V)(j=N[V]||B[V])&&(H[V]=j);for(;A<w;++A)_[A]=f[A];return new eg(_,this._parents)}function s5t(){for(var s=this._groups,o=-1,f=s.length;++o<f;)for(var p=s[o],w=p.length-1,k=p[w],b;--w>=0;)(b=p[w])&&(k&&b.compareDocumentPosition(k)^4&&k.parentNode.insertBefore(b,k),k=b);return this}function a5t(s){s||(s=o5t);function o(F,H){return F&&H?s(F.__data__,H.__data__):!F-!H}for(var f=this._groups,p=f.length,w=new Array(p),k=0;k<p;++k){for(var b=f[k],_=b.length,A=w[k]=new Array(_),N,B=0;B<_;++B)(N=b[B])&&(A[B]=N);A.sort(o)}return new eg(w,this._parents).order()}function o5t(s,o){return s<o?-1:s>o?1:s>=o?0:NaN}function c5t(){var s=arguments[0];return arguments[0]=this,s.apply(null,arguments),this}function u5t(){return Array.from(this)}function l5t(){for(var s=this._groups,o=0,f=s.length;o<f;++o)for(var p=s[o],w=0,k=p.length;w<k;++w){var b=p[w];if(b)return b}return null}function h5t(){let s=0;for(const o of this)++s;return s}function f5t(){return!this.node()}function d5t(s){for(var o=this._groups,f=0,p=o.length;f<p;++f)for(var w=o[f],k=0,b=w.length,_;k<b;++k)(_=w[k])&&s.call(_,_.__data__,k,w);return this}function g5t(s){return function(){this.removeAttribute(s)}}function p5t(s){return function(){this.removeAttributeNS(s.space,s.local)}}function b5t(s,o){return function(){this.setAttribute(s,o)}}function v5t(s,o){return function(){this.setAttributeNS(s.space,s.local,o)}}function w5t(s,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttribute(s):this.setAttribute(s,f)}}function m5t(s,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,f)}}function y5t(s,o){var f=VV(s);if(arguments.length<2){var p=this.node();return f.local?p.getAttributeNS(f.space,f.local):p.getAttribute(f)}return this.each((o==null?f.local?p5t:g5t:typeof o=="function"?f.local?m5t:w5t:f.local?v5t:b5t)(f,o))}function iLe(s){return s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView}function k5t(s){return function(){this.style.removeProperty(s)}}function x5t(s,o,f){return function(){this.style.setProperty(s,o,f)}}function E5t(s,o,f){return function(){var p=o.apply(this,arguments);p==null?this.style.removeProperty(s):this.style.setProperty(s,p,f)}}function T5t(s,o,f){return arguments.length>1?this.each((o==null?k5t:typeof o=="function"?E5t:x5t)(s,o,f??"")):nA(this.node(),s)}function nA(s,o){return s.style.getPropertyValue(o)||iLe(s).getComputedStyle(s,null).getPropertyValue(o)}function _5t(s){return function(){delete this[s]}}function C5t(s,o){return function(){this[s]=o}}function S5t(s,o){return function(){var f=o.apply(this,arguments);f==null?delete this[s]:this[s]=f}}function A5t(s,o){return arguments.length>1?this.each((o==null?_5t:typeof o=="function"?S5t:C5t)(s,o)):this.node()[s]}function sLe(s){return s.trim().split(/^|\s+/)}function Efe(s){return s.classList||new aLe(s)}function aLe(s){this._node=s,this._names=sLe(s.getAttribute("class")||"")}aLe.prototype={add:function(s){var o=this._names.indexOf(s);o<0&&(this._names.push(s),this._node.setAttribute("class",this._names.join(" ")))},remove:function(s){var o=this._names.indexOf(s);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(s){return this._names.indexOf(s)>=0}};function oLe(s,o){for(var f=Efe(s),p=-1,w=o.length;++p<w;)f.add(o[p])}function cLe(s,o){for(var f=Efe(s),p=-1,w=o.length;++p<w;)f.remove(o[p])}function L5t(s){return function(){oLe(this,s)}}function M5t(s){return function(){cLe(this,s)}}function D5t(s,o){return function(){(o.apply(this,arguments)?oLe:cLe)(this,s)}}function I5t(s,o){var f=sLe(s+"");if(arguments.length<2){for(var p=Efe(this.node()),w=-1,k=f.length;++w<k;)if(!p.contains(f[w]))return!1;return!0}return this.each((typeof o=="function"?D5t:o?L5t:M5t)(f,o))}function O5t(){this.textContent=""}function N5t(s){return function(){this.textContent=s}}function P5t(s){return function(){var o=s.apply(this,arguments);this.textContent=o??""}}function B5t(s){return arguments.length?this.each(s==null?O5t:(typeof s=="function"?P5t:N5t)(s)):this.node().textContent}function F5t(){this.innerHTML=""}function R5t(s){return function(){this.innerHTML=s}}function j5t(s){return function(){var o=s.apply(this,arguments);this.innerHTML=o??""}}function $5t(s){return arguments.length?this.each(s==null?F5t:(typeof s=="function"?j5t:R5t)(s)):this.node().innerHTML}function H5t(){this.nextSibling&&this.parentNode.appendChild(this)}function z5t(){return this.each(H5t)}function G5t(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function q5t(){return this.each(G5t)}function V5t(s){var o=typeof s=="function"?s:ZAe(s);return this.select(function(){return this.appendChild(o.apply(this,arguments))})}function U5t(){return null}function K5t(s,o){var f=typeof s=="function"?s:ZAe(s),p=o==null?U5t:typeof o=="function"?o:xfe(o);return this.select(function(){return this.insertBefore(f.apply(this,arguments),p.apply(this,arguments)||null)})}function W5t(){var s=this.parentNode;s&&s.removeChild(this)}function Y5t(){return this.each(W5t)}function X5t(){var s=this.cloneNode(!1),o=this.parentNode;return o?o.insertBefore(s,this.nextSibling):s}function Q5t(){var s=this.cloneNode(!0),o=this.parentNode;return o?o.insertBefore(s,this.nextSibling):s}function Z5t(s){return this.select(s?Q5t:X5t)}function J5t(s){return arguments.length?this.property("__data__",s):this.node().__data__}function e6t(s){return function(o){s.call(this,o,this.__data__)}}function t6t(s){return s.trim().split(/^|\s+/).map(function(o){var f="",p=o.indexOf(".");return p>=0&&(f=o.slice(p+1),o=o.slice(0,p)),{type:o,name:f}})}function n6t(s){return function(){var o=this.__on;if(o){for(var f=0,p=-1,w=o.length,k;f<w;++f)k=o[f],(!s.type||k.type===s.type)&&k.name===s.name?this.removeEventListener(k.type,k.listener,k.options):o[++p]=k;++p?o.length=p:delete this.__on}}}function r6t(s,o,f){return function(){var p=this.__on,w,k=e6t(o);if(p){for(var b=0,_=p.length;b<_;++b)if((w=p[b]).type===s.type&&w.name===s.name){this.removeEventListener(w.type,w.listener,w.options),this.addEventListener(w.type,w.listener=k,w.options=f),w.value=o;return}}this.addEventListener(s.type,k,f),w={type:s.type,name:s.name,value:o,listener:k,options:f},p?p.push(w):this.__on=[w]}}function i6t(s,o,f){var p=t6t(s+""),w,k=p.length,b;if(arguments.length<2){var _=this.node().__on;if(_){for(var A=0,N=_.length,B;A<N;++A)for(w=0,B=_[A];w<k;++w)if((b=p[w]).type===B.type&&b.name===B.name)return B.value}return}for(_=o?r6t:n6t,w=0;w<k;++w)this.each(_(p[w],o,f));return this}function uLe(s,o,f){var p=iLe(s),w=p.CustomEvent;typeof w=="function"?w=new w(o,f):(w=p.document.createEvent("Event"),f?(w.initEvent(o,f.bubbles,f.cancelable),w.detail=f.detail):w.initEvent(o,!1,!1)),s.dispatchEvent(w)}function s6t(s,o){return function(){return uLe(this,s,o)}}function a6t(s,o){return function(){return uLe(this,s,o.apply(this,arguments))}}function o6t(s,o){return this.each((typeof o=="function"?a6t:s6t)(s,o))}function*c6t(){for(var s=this._groups,o=0,f=s.length;o<f;++o)for(var p=s[o],w=0,k=p.length,b;w<k;++w)(b=p[w])&&(yield b)}var Tfe=[null];function eg(s,o){this._groups=s,this._parents=o}function eN(){return new eg([[document.documentElement]],Tfe)}function u6t(){return this}eg.prototype=eN.prototype={constructor:eg,select:B4t,selectAll:j4t,selectChild:G4t,selectChildren:K4t,filter:W4t,data:e5t,enter:Y4t,exit:n5t,join:r5t,merge:i5t,selection:u6t,order:s5t,sort:a5t,call:c5t,nodes:u5t,node:l5t,size:h5t,empty:f5t,each:d5t,attr:y5t,style:T5t,property:A5t,classed:I5t,text:B5t,html:$5t,raise:z5t,lower:q5t,append:V5t,insert:K5t,remove:Y5t,clone:Z5t,datum:J5t,on:i6t,dispatch:o6t,[Symbol.iterator]:c6t};function sr(s){return typeof s=="string"?new eg([[document.querySelector(s)]],[document.documentElement]):new eg([[s]],Tfe)}function _fe(s){return typeof s=="string"?new eg([document.querySelectorAll(s)],[document.documentElement]):new eg([JAe(s)],Tfe)}function tN(s,o,f){s.prototype=o.prototype=f,f.constructor=s}function KV(s,o){var f=Object.create(s.prototype);for(var p in o)f[p]=o[p];return f}function SE(){}var nN=.7,WV=1/nN,rA="\\s*([+-]?\\d+)\\s*",rN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Xy="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l6t=/^#([0-9a-f]{3,8})$/,h6t=new RegExp(`^rgb\\(${rA},${rA},${rA}\\)$`),f6t=new RegExp(`^rgb\\(${Xy},${Xy},${Xy}\\)$`),d6t=new RegExp(`^rgba\\(${rA},${rA},${rA},${rN}\\)$`),g6t=new RegExp(`^rgba\\(${Xy},${Xy},${Xy},${rN}\\)$`),p6t=new RegExp(`^hsl\\(${rN},${Xy},${Xy}\\)$`),b6t=new RegExp(`^hsla\\(${rN},${Xy},${Xy},${rN}\\)$`),lLe={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};tN(SE,AE,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:hLe,formatHex:hLe,formatHex8:v6t,formatHsl:w6t,formatRgb:fLe,toString:fLe});function hLe(){return this.rgb().formatHex()}function v6t(){return this.rgb().formatHex8()}function w6t(){return wLe(this).formatHsl()}function fLe(){return this.rgb().formatRgb()}function AE(s){var o,f;return s=(s+"").trim().toLowerCase(),(o=l6t.exec(s))?(f=o[1].length,o=parseInt(o[1],16),f===6?dLe(o):f===3?new p0(o>>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):f===8?YV(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):f===4?YV(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=h6t.exec(s))?new p0(o[1],o[2],o[3],1):(o=f6t.exec(s))?new p0(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=d6t.exec(s))?YV(o[1],o[2],o[3],o[4]):(o=g6t.exec(s))?YV(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=p6t.exec(s))?vLe(o[1],o[2]/100,o[3]/100,1):(o=b6t.exec(s))?vLe(o[1],o[2]/100,o[3]/100,o[4]):lLe.hasOwnProperty(s)?dLe(lLe[s]):s==="transparent"?new p0(NaN,NaN,NaN,0):null}function dLe(s){return new p0(s>>16&255,s>>8&255,s&255,1)}function YV(s,o,f,p){return p<=0&&(s=o=f=NaN),new p0(s,o,f,p)}function gLe(s){return s instanceof SE||(s=AE(s)),s?(s=s.rgb(),new p0(s.r,s.g,s.b,s.opacity)):new p0}function Cfe(s,o,f,p){return arguments.length===1?gLe(s):new p0(s,o,f,p??1)}function p0(s,o,f,p){this.r=+s,this.g=+o,this.b=+f,this.opacity=+p}tN(p0,Cfe,KV(SE,{brighter(s){return s=s==null?WV:Math.pow(WV,s),new p0(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=s==null?nN:Math.pow(nN,s),new p0(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new p0(LE(this.r),LE(this.g),LE(this.b),XV(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:pLe,formatHex:pLe,formatHex8:m6t,formatRgb:bLe,toString:bLe}));function pLe(){return`#${ME(this.r)}${ME(this.g)}${ME(this.b)}`}function m6t(){return`#${ME(this.r)}${ME(this.g)}${ME(this.b)}${ME((isNaN(this.opacity)?1:this.opacity)*255)}`}function bLe(){const s=XV(this.opacity);return`${s===1?"rgb(":"rgba("}${LE(this.r)}, ${LE(this.g)}, ${LE(this.b)}${s===1?")":`, ${s})`}`}function XV(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function LE(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function ME(s){return s=LE(s),(s<16?"0":"")+s.toString(16)}function vLe(s,o,f,p){return p<=0?s=o=f=NaN:f<=0||f>=1?s=o=NaN:o<=0&&(s=NaN),new Fw(s,o,f,p)}function wLe(s){if(s instanceof Fw)return new Fw(s.h,s.s,s.l,s.opacity);if(s instanceof SE||(s=AE(s)),!s)return new Fw;if(s instanceof Fw)return s;s=s.rgb();var o=s.r/255,f=s.g/255,p=s.b/255,w=Math.min(o,f,p),k=Math.max(o,f,p),b=NaN,_=k-w,A=(k+w)/2;return _?(o===k?b=(f-p)/_+(f<p)*6:f===k?b=(p-o)/_+2:b=(o-f)/_+4,_/=A<.5?k+w:2-k-w,b*=60):_=A>0&&A<1?0:b,new Fw(b,_,A,s.opacity)}function y6t(s,o,f,p){return arguments.length===1?wLe(s):new Fw(s,o,f,p??1)}function Fw(s,o,f,p){this.h=+s,this.s=+o,this.l=+f,this.opacity=+p}tN(Fw,y6t,KV(SE,{brighter(s){return s=s==null?WV:Math.pow(WV,s),new Fw(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=s==null?nN:Math.pow(nN,s),new Fw(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,p=f+(f<.5?f:1-f)*o,w=2*f-p;return new p0(Sfe(s>=240?s-240:s+120,w,p),Sfe(s,w,p),Sfe(s<120?s+240:s-120,w,p),this.opacity)},clamp(){return new Fw(mLe(this.h),QV(this.s),QV(this.l),XV(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 s=XV(this.opacity);return`${s===1?"hsl(":"hsla("}${mLe(this.h)}, ${QV(this.s)*100}%, ${QV(this.l)*100}%${s===1?")":`, ${s})`}`}}));function mLe(s){return s=(s||0)%360,s<0?s+360:s}function QV(s){return Math.max(0,Math.min(1,s||0))}function Sfe(s,o,f){return(s<60?o+(f-o)*s/60:s<180?f:s<240?o+(f-o)*(240-s)/60:o)*255}const k6t=Math.PI/180,x6t=180/Math.PI,ZV=18,yLe=.96422,kLe=1,xLe=.82521,ELe=4/29,iA=6/29,TLe=3*iA*iA,E6t=iA*iA*iA;function _Le(s){if(s instanceof Qy)return new Qy(s.l,s.a,s.b,s.opacity);if(s instanceof o5)return CLe(s);s instanceof p0||(s=gLe(s));var o=Dfe(s.r),f=Dfe(s.g),p=Dfe(s.b),w=Afe((.2225045*o+.7168786*f+.0606169*p)/kLe),k,b;return o===f&&f===p?k=b=w:(k=Afe((.4360747*o+.3850649*f+.1430804*p)/yLe),b=Afe((.0139322*o+.0971045*f+.7141733*p)/xLe)),new Qy(116*w-16,500*(k-w),200*(w-b),s.opacity)}function T6t(s,o,f,p){return arguments.length===1?_Le(s):new Qy(s,o,f,p??1)}function Qy(s,o,f,p){this.l=+s,this.a=+o,this.b=+f,this.opacity=+p}tN(Qy,T6t,KV(SE,{brighter(s){return new Qy(this.l+ZV*(s??1),this.a,this.b,this.opacity)},darker(s){return new Qy(this.l-ZV*(s??1),this.a,this.b,this.opacity)},rgb(){var s=(this.l+16)/116,o=isNaN(this.a)?s:s+this.a/500,f=isNaN(this.b)?s:s-this.b/200;return o=yLe*Lfe(o),s=kLe*Lfe(s),f=xLe*Lfe(f),new p0(Mfe(3.1338561*o-1.6168667*s-.4906146*f),Mfe(-.9787684*o+1.9161415*s+.033454*f),Mfe(.0719453*o-.2289914*s+1.4052427*f),this.opacity)}}));function Afe(s){return s>E6t?Math.pow(s,1/3):s/TLe+ELe}function Lfe(s){return s>iA?s*s*s:TLe*(s-ELe)}function Mfe(s){return 255*(s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055)}function Dfe(s){return(s/=255)<=.04045?s/12.92:Math.pow((s+.055)/1.055,2.4)}function _6t(s){if(s instanceof o5)return new o5(s.h,s.c,s.l,s.opacity);if(s instanceof Qy||(s=_Le(s)),s.a===0&&s.b===0)return new o5(NaN,0<s.l&&s.l<100?0:NaN,s.l,s.opacity);var o=Math.atan2(s.b,s.a)*x6t;return new o5(o<0?o+360:o,Math.sqrt(s.a*s.a+s.b*s.b),s.l,s.opacity)}function Ife(s,o,f,p){return arguments.length===1?_6t(s):new o5(s,o,f,p??1)}function o5(s,o,f,p){this.h=+s,this.c=+o,this.l=+f,this.opacity=+p}function CLe(s){if(isNaN(s.h))return new Qy(s.l,0,0,s.opacity);var o=s.h*k6t;return new Qy(s.l,Math.cos(o)*s.c,Math.sin(o)*s.c,s.opacity)}tN(o5,Ife,KV(SE,{brighter(s){return new o5(this.h,this.c,this.l+ZV*(s??1),this.opacity)},darker(s){return new o5(this.h,this.c,this.l-ZV*(s??1),this.opacity)},rgb(){return CLe(this).rgb()}}));const JV=s=>()=>s;function SLe(s,o){return function(f){return s+f*o}}function C6t(s,o,f){return s=Math.pow(s,f),o=Math.pow(o,f)-s,f=1/f,function(p){return Math.pow(s+p*o,f)}}function S6t(s,o){var f=o-s;return f?SLe(s,f>180||f<-180?f-360*Math.round(f/360):f):JV(isNaN(s)?o:s)}function A6t(s){return(s=+s)==1?iN:function(o,f){return f-o?C6t(o,f,s):JV(isNaN(o)?f:o)}}function iN(s,o){var f=o-s;return f?SLe(s,f):JV(isNaN(s)?o:s)}const eU=function s(o){var f=A6t(o);function p(w,k){var b=f((w=Cfe(w)).r,(k=Cfe(k)).r),_=f(w.g,k.g),A=f(w.b,k.b),N=iN(w.opacity,k.opacity);return function(B){return w.r=b(B),w.g=_(B),w.b=A(B),w.opacity=N(B),w+""}}return p.gamma=s,p}(1);function L6t(s,o){o||(o=[]);var f=s?Math.min(o.length,s.length):0,p=o.slice(),w;return function(k){for(w=0;w<f;++w)p[w]=s[w]*(1-k)+o[w]*k;return p}}function M6t(s){return ArrayBuffer.isView(s)&&!(s instanceof DataView)}function D6t(s,o){var f=o?o.length:0,p=s?Math.min(f,s.length):0,w=new Array(p),k=new Array(f),b;for(b=0;b<p;++b)w[b]=Pfe(s[b],o[b]);for(;b<f;++b)k[b]=o[b];return function(_){for(b=0;b<p;++b)k[b]=w[b](_);return k}}function I6t(s,o){var f=new Date;return s=+s,o=+o,function(p){return f.setTime(s*(1-p)+o*p),f}}function Rw(s,o){return s=+s,o=+o,function(f){return s*(1-f)+o*f}}function O6t(s,o){var f={},p={},w;(s===null||typeof s!="object")&&(s={}),(o===null||typeof o!="object")&&(o={});for(w in o)w in s?f[w]=Pfe(s[w],o[w]):p[w]=o[w];return function(k){for(w in f)p[w]=f[w](k);return p}}var Ofe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Nfe=new RegExp(Ofe.source,"g");function N6t(s){return function(){return s}}function P6t(s){return function(o){return s(o)+""}}function ALe(s,o){var f=Ofe.lastIndex=Nfe.lastIndex=0,p,w,k,b=-1,_=[],A=[];for(s=s+"",o=o+"";(p=Ofe.exec(s))&&(w=Nfe.exec(o));)(k=w.index)>f&&(k=o.slice(f,k),_[b]?_[b]+=k:_[++b]=k),(p=p[0])===(w=w[0])?_[b]?_[b]+=w:_[++b]=w:(_[++b]=null,A.push({i:b,x:Rw(p,w)})),f=Nfe.lastIndex;return f<o.length&&(k=o.slice(f),_[b]?_[b]+=k:_[++b]=k),_.length<2?A[0]?P6t(A[0].x):N6t(o):(o=A.length,function(N){for(var B=0,F;B<o;++B)_[(F=A[B]).i]=F.x(N);return _.join("")})}function Pfe(s,o){var f=typeof o,p;return o==null||f==="boolean"?JV(o):(f==="number"?Rw:f==="string"?(p=AE(o))?(o=p,eU):ALe:o instanceof AE?eU:o instanceof Date?I6t:M6t(o)?L6t:Array.isArray(o)?D6t:typeof o.valueOf!="function"&&typeof o.toString!="function"||isNaN(o)?O6t:Rw)(s,o)}function B6t(s,o){return s=+s,o=+o,function(f){return Math.round(s*(1-f)+o*f)}}var LLe=180/Math.PI,Bfe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function MLe(s,o,f,p,w,k){var b,_,A;return(b=Math.sqrt(s*s+o*o))&&(s/=b,o/=b),(A=s*f+o*p)&&(f-=s*A,p-=o*A),(_=Math.sqrt(f*f+p*p))&&(f/=_,p/=_,A/=_),s*p<o*f&&(s=-s,o=-o,A=-A,b=-b),{translateX:w,translateY:k,rotate:Math.atan2(o,s)*LLe,skewX:Math.atan(A)*LLe,scaleX:b,scaleY:_}}var tU;function F6t(s){const o=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(s+"");return o.isIdentity?Bfe:MLe(o.a,o.b,o.c,o.d,o.e,o.f)}function R6t(s){return s==null||(tU||(tU=document.createElementNS("http://www.w3.org/2000/svg","g")),tU.setAttribute("transform",s),!(s=tU.transform.baseVal.consolidate()))?Bfe:(s=s.matrix,MLe(s.a,s.b,s.c,s.d,s.e,s.f))}function DLe(s,o,f,p){function w(N){return N.length?N.pop()+" ":""}function k(N,B,F,H,j,V){if(N!==F||B!==H){var Z=j.push("translate(",null,o,null,f);V.push({i:Z-4,x:Rw(N,F)},{i:Z-2,x:Rw(B,H)})}else(F||H)&&j.push("translate("+F+o+H+f)}function b(N,B,F,H){N!==B?(N-B>180?B+=360:B-N>180&&(N+=360),H.push({i:F.push(w(F)+"rotate(",null,p)-2,x:Rw(N,B)})):B&&F.push(w(F)+"rotate("+B+p)}function _(N,B,F,H){N!==B?H.push({i:F.push(w(F)+"skewX(",null,p)-2,x:Rw(N,B)}):B&&F.push(w(F)+"skewX("+B+p)}function A(N,B,F,H,j,V){if(N!==F||B!==H){var Z=j.push(w(j)+"scale(",null,",",null,")");V.push({i:Z-4,x:Rw(N,F)},{i:Z-2,x:Rw(B,H)})}else(F!==1||H!==1)&&j.push(w(j)+"scale("+F+","+H+")")}return function(N,B){var F=[],H=[];return N=s(N),B=s(B),k(N.translateX,N.translateY,B.translateX,B.translateY,F,H),b(N.rotate,B.rotate,F,H),_(N.skewX,B.skewX,F,H),A(N.scaleX,N.scaleY,B.scaleX,B.scaleY,F,H),N=B=null,function(j){for(var V=-1,Z=H.length,ae;++V<Z;)F[(ae=H[V]).i]=ae.x(j);return F.join("")}}}var j6t=DLe(F6t,"px, ","px)","deg)"),$6t=DLe(R6t,", ",")",")");function H6t(s){return function(o,f){var p=s((o=Ife(o)).h,(f=Ife(f)).h),w=iN(o.c,f.c),k=iN(o.l,f.l),b=iN(o.opacity,f.opacity);return function(_){return o.h=p(_),o.c=w(_),o.l=k(_),o.opacity=b(_),o+""}}}const z6t=H6t(S6t);var sA=0,sN=0,aN=0,ILe=1e3,nU,oN,rU=0,DE=0,iU=0,cN=typeof performance=="object"&&performance.now?performance:Date,OLe=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(s){setTimeout(s,17)};function Ffe(){return DE||(OLe(G6t),DE=cN.now()+iU)}function G6t(){DE=0}function sU(){this._call=this._time=this._next=null}sU.prototype=NLe.prototype={constructor:sU,restart:function(s,o,f){if(typeof s!="function")throw new TypeError("callback is not a function");f=(f==null?Ffe():+f)+(o==null?0:+o),!this._next&&oN!==this&&(oN?oN._next=this:nU=this,oN=this),this._call=s,this._time=f,Rfe()},stop:function(){this._call&&(this._call=null,this._time=1/0,Rfe())}};function NLe(s,o,f){var p=new sU;return p.restart(s,o,f),p}function q6t(){Ffe(),++sA;for(var s=nU,o;s;)(o=DE-s._time)>=0&&s._call.call(void 0,o),s=s._next;--sA}function PLe(){DE=(rU=cN.now())+iU,sA=sN=0;try{q6t()}finally{sA=0,U6t(),DE=0}}function V6t(){var s=cN.now(),o=s-rU;o>ILe&&(iU-=o,rU=s)}function U6t(){for(var s,o=nU,f,p=1/0;o;)o._call?(p>o._time&&(p=o._time),s=o,o=o._next):(f=o._next,o._next=null,o=s?s._next=f:nU=f);oN=s,Rfe(p)}function Rfe(s){if(!sA){sN&&(sN=clearTimeout(sN));var o=s-DE;o>24?(s<1/0&&(sN=setTimeout(PLe,s-cN.now()-iU)),aN&&(aN=clearInterval(aN))):(aN||(rU=cN.now(),aN=setInterval(V6t,ILe)),sA=1,OLe(PLe))}}function BLe(s,o,f){var p=new sU;return o=o==null?0:+o,p.restart(w=>{p.stop(),s(w+o)},o,f),p}var K6t=YAe("start","end","cancel","interrupt"),W6t=[],FLe=0,RLe=1,jfe=2,aU=3,jLe=4,$fe=5,oU=6;function cU(s,o,f,p,w,k){var b=s.__transition;if(!b)s.__transition={};else if(f in b)return;Y6t(s,f,{name:o,index:p,group:w,on:K6t,tween:W6t,time:k.time,delay:k.delay,duration:k.duration,ease:k.ease,timer:null,state:FLe})}function Hfe(s,o){var f=jw(s,o);if(f.state>FLe)throw new Error("too late; already scheduled");return f}function Zy(s,o){var f=jw(s,o);if(f.state>aU)throw new Error("too late; already running");return f}function jw(s,o){var f=s.__transition;if(!f||!(f=f[o]))throw new Error("transition not found");return f}function Y6t(s,o,f){var p=s.__transition,w;p[o]=f,f.timer=NLe(k,0,f.time);function k(N){f.state=RLe,f.timer.restart(b,f.delay,f.time),f.delay<=N&&b(N-f.delay)}function b(N){var B,F,H,j;if(f.state!==RLe)return A();for(B in p)if(j=p[B],j.name===f.name){if(j.state===aU)return BLe(b);j.state===jLe?(j.state=oU,j.timer.stop(),j.on.call("interrupt",s,s.__data__,j.index,j.group),delete p[B]):+B<o&&(j.state=oU,j.timer.stop(),j.on.call("cancel",s,s.__data__,j.index,j.group),delete p[B])}if(BLe(function(){f.state===aU&&(f.state=jLe,f.timer.restart(_,f.delay,f.time),_(N))}),f.state=jfe,f.on.call("start",s,s.__data__,f.index,f.group),f.state===jfe){for(f.state=aU,w=new Array(H=f.tween.length),B=0,F=-1;B<H;++B)(j=f.tween[B].value.call(s,s.__data__,f.index,f.group))&&(w[++F]=j);w.length=F+1}}function _(N){for(var B=N<f.duration?f.ease.call(null,N/f.duration):(f.timer.restart(A),f.state=$fe,1),F=-1,H=w.length;++F<H;)w[F].call(s,B);f.state===$fe&&(f.on.call("end",s,s.__data__,f.index,f.group),A())}function A(){f.state=oU,f.timer.stop(),delete p[o];for(var N in p)return;delete s.__transition}}function X6t(s,o){var f=s.__transition,p,w,k=!0,b;if(f){o=o==null?null:o+"";for(b in f){if((p=f[b]).name!==o){k=!1;continue}w=p.state>jfe&&p.state<$fe,p.state=oU,p.timer.stop(),p.on.call(w?"interrupt":"cancel",s,s.__data__,p.index,p.group),delete f[b]}k&&delete s.__transition}}function Q6t(s){return this.each(function(){X6t(this,s)})}function Z6t(s,o){var f,p;return function(){var w=Zy(this,s),k=w.tween;if(k!==f){p=f=k;for(var b=0,_=p.length;b<_;++b)if(p[b].name===o){p=p.slice(),p.splice(b,1);break}}w.tween=p}}function J6t(s,o,f){var p,w;if(typeof f!="function")throw new Error;return function(){var k=Zy(this,s),b=k.tween;if(b!==p){w=(p=b).slice();for(var _={name:o,value:f},A=0,N=w.length;A<N;++A)if(w[A].name===o){w[A]=_;break}A===N&&w.push(_)}k.tween=w}}function ekt(s,o){var f=this._id;if(s+="",arguments.length<2){for(var p=jw(this.node(),f).tween,w=0,k=p.length,b;w<k;++w)if((b=p[w]).name===s)return b.value;return null}return this.each((o==null?Z6t:J6t)(f,s,o))}function zfe(s,o,f){var p=s._id;return s.each(function(){var w=Zy(this,p);(w.value||(w.value={}))[o]=f.apply(this,arguments)}),function(w){return jw(w,p).value[o]}}function $Le(s,o){var f;return(typeof o=="number"?Rw:o instanceof AE?eU:(f=AE(o))?(o=f,eU):ALe)(s,o)}function tkt(s){return function(){this.removeAttribute(s)}}function nkt(s){return function(){this.removeAttributeNS(s.space,s.local)}}function rkt(s,o,f){var p,w=f+"",k;return function(){var b=this.getAttribute(s);return b===w?null:b===p?k:k=o(p=b,f)}}function ikt(s,o,f){var p,w=f+"",k;return function(){var b=this.getAttributeNS(s.space,s.local);return b===w?null:b===p?k:k=o(p=b,f)}}function skt(s,o,f){var p,w,k;return function(){var b,_=f(this),A;return _==null?void this.removeAttribute(s):(b=this.getAttribute(s),A=_+"",b===A?null:b===p&&A===w?k:(w=A,k=o(p=b,_)))}}function akt(s,o,f){var p,w,k;return function(){var b,_=f(this),A;return _==null?void this.removeAttributeNS(s.space,s.local):(b=this.getAttributeNS(s.space,s.local),A=_+"",b===A?null:b===p&&A===w?k:(w=A,k=o(p=b,_)))}}function okt(s,o){var f=VV(s),p=f==="transform"?$6t:$Le;return this.attrTween(s,typeof o=="function"?(f.local?akt:skt)(f,p,zfe(this,"attr."+s,o)):o==null?(f.local?nkt:tkt)(f):(f.local?ikt:rkt)(f,p,o))}function ckt(s,o){return function(f){this.setAttribute(s,o.call(this,f))}}function ukt(s,o){return function(f){this.setAttributeNS(s.space,s.local,o.call(this,f))}}function lkt(s,o){var f,p;function w(){var k=o.apply(this,arguments);return k!==p&&(f=(p=k)&&ukt(s,k)),f}return w._value=o,w}function hkt(s,o){var f,p;function w(){var k=o.apply(this,arguments);return k!==p&&(f=(p=k)&&ckt(s,k)),f}return w._value=o,w}function fkt(s,o){var f="attr."+s;if(arguments.length<2)return(f=this.tween(f))&&f._value;if(o==null)return this.tween(f,null);if(typeof o!="function")throw new Error;var p=VV(s);return this.tween(f,(p.local?lkt:hkt)(p,o))}function dkt(s,o){return function(){Hfe(this,s).delay=+o.apply(this,arguments)}}function gkt(s,o){return o=+o,function(){Hfe(this,s).delay=o}}function pkt(s){var o=this._id;return arguments.length?this.each((typeof s=="function"?dkt:gkt)(o,s)):jw(this.node(),o).delay}function bkt(s,o){return function(){Zy(this,s).duration=+o.apply(this,arguments)}}function vkt(s,o){return o=+o,function(){Zy(this,s).duration=o}}function wkt(s){var o=this._id;return arguments.length?this.each((typeof s=="function"?bkt:vkt)(o,s)):jw(this.node(),o).duration}function mkt(s,o){if(typeof o!="function")throw new Error;return function(){Zy(this,s).ease=o}}function ykt(s){var o=this._id;return arguments.length?this.each(mkt(o,s)):jw(this.node(),o).ease}function kkt(s,o){return function(){var f=o.apply(this,arguments);if(typeof f!="function")throw new Error;Zy(this,s).ease=f}}function xkt(s){if(typeof s!="function")throw new Error;return this.each(kkt(this._id,s))}function Ekt(s){typeof s!="function"&&(s=tLe(s));for(var o=this._groups,f=o.length,p=new Array(f),w=0;w<f;++w)for(var k=o[w],b=k.length,_=p[w]=[],A,N=0;N<b;++N)(A=k[N])&&s.call(A,A.__data__,N,k)&&_.push(A);return new c5(p,this._parents,this._name,this._id)}function Tkt(s){if(s._id!==this._id)throw new Error;for(var o=this._groups,f=s._groups,p=o.length,w=f.length,k=Math.min(p,w),b=new Array(p),_=0;_<k;++_)for(var A=o[_],N=f[_],B=A.length,F=b[_]=new Array(B),H,j=0;j<B;++j)(H=A[j]||N[j])&&(F[j]=H);for(;_<p;++_)b[_]=o[_];return new c5(b,this._parents,this._name,this._id)}function _kt(s){return(s+"").trim().split(/^|\s+/).every(function(o){var f=o.indexOf(".");return f>=0&&(o=o.slice(0,f)),!o||o==="start"})}function Ckt(s,o,f){var p,w,k=_kt(o)?Hfe:Zy;return function(){var b=k(this,s),_=b.on;_!==p&&(w=(p=_).copy()).on(o,f),b.on=w}}function Skt(s,o){var f=this._id;return arguments.length<2?jw(this.node(),f).on.on(s):this.each(Ckt(f,s,o))}function Akt(s){return function(){var o=this.parentNode;for(var f in this.__transition)if(+f!==s)return;o&&o.removeChild(this)}}function Lkt(){return this.on("end.remove",Akt(this._id))}function Mkt(s){var o=this._name,f=this._id;typeof s!="function"&&(s=xfe(s));for(var p=this._groups,w=p.length,k=new Array(w),b=0;b<w;++b)for(var _=p[b],A=_.length,N=k[b]=new Array(A),B,F,H=0;H<A;++H)(B=_[H])&&(F=s.call(B,B.__data__,H,_))&&("__data__"in B&&(F.__data__=B.__data__),N[H]=F,cU(N[H],o,f,H,N,jw(B,f)));return new c5(k,this._parents,o,f)}function Dkt(s){var o=this._name,f=this._id;typeof s!="function"&&(s=eLe(s));for(var p=this._groups,w=p.length,k=[],b=[],_=0;_<w;++_)for(var A=p[_],N=A.length,B,F=0;F<N;++F)if(B=A[F]){for(var H=s.call(B,B.__data__,F,A),j,V=jw(B,f),Z=0,ae=H.length;Z<ae;++Z)(j=H[Z])&&cU(j,o,f,Z,H,V);k.push(H),b.push(B)}return new c5(k,b,o,f)}var Ikt=eN.prototype.constructor;function Okt(){return new Ikt(this._groups,this._parents)}function Nkt(s,o){var f,p,w;return function(){var k=nA(this,s),b=(this.style.removeProperty(s),nA(this,s));return k===b?null:k===f&&b===p?w:w=o(f=k,p=b)}}function HLe(s){return function(){this.style.removeProperty(s)}}function Pkt(s,o,f){var p,w=f+"",k;return function(){var b=nA(this,s);return b===w?null:b===p?k:k=o(p=b,f)}}function Bkt(s,o,f){var p,w,k;return function(){var b=nA(this,s),_=f(this),A=_+"";return _==null&&(A=_=(this.style.removeProperty(s),nA(this,s))),b===A?null:b===p&&A===w?k:(w=A,k=o(p=b,_))}}function Fkt(s,o){var f,p,w,k="style."+o,b="end."+k,_;return function(){var A=Zy(this,s),N=A.on,B=A.value[k]==null?_||(_=HLe(o)):void 0;(N!==f||w!==B)&&(p=(f=N).copy()).on(b,w=B),A.on=p}}function Rkt(s,o,f){var p=(s+="")=="transform"?j6t:$Le;return o==null?this.styleTween(s,Nkt(s,p)).on("end.style."+s,HLe(s)):typeof o=="function"?this.styleTween(s,Bkt(s,p,zfe(this,"style."+s,o))).each(Fkt(this._id,s)):this.styleTween(s,Pkt(s,p,o),f).on("end.style."+s,null)}function jkt(s,o,f){return function(p){this.style.setProperty(s,o.call(this,p),f)}}function $kt(s,o,f){var p,w;function k(){var b=o.apply(this,arguments);return b!==w&&(p=(w=b)&&jkt(s,b,f)),p}return k._value=o,k}function Hkt(s,o,f){var p="style."+(s+="");if(arguments.length<2)return(p=this.tween(p))&&p._value;if(o==null)return this.tween(p,null);if(typeof o!="function")throw new Error;return this.tween(p,$kt(s,o,f??""))}function zkt(s){return function(){this.textContent=s}}function Gkt(s){return function(){var o=s(this);this.textContent=o??""}}function qkt(s){return this.tween("text",typeof s=="function"?Gkt(zfe(this,"text",s)):zkt(s==null?"":s+""))}function Vkt(s){return function(o){this.textContent=s.call(this,o)}}function Ukt(s){var o,f;function p(){var w=s.apply(this,arguments);return w!==f&&(o=(f=w)&&Vkt(w)),o}return p._value=s,p}function Kkt(s){var o="text";if(arguments.length<1)return(o=this.tween(o))&&o._value;if(s==null)return this.tween(o,null);if(typeof s!="function")throw new Error;return this.tween(o,Ukt(s))}function Wkt(){for(var s=this._name,o=this._id,f=zLe(),p=this._groups,w=p.length,k=0;k<w;++k)for(var b=p[k],_=b.length,A,N=0;N<_;++N)if(A=b[N]){var B=jw(A,o);cU(A,s,f,N,b,{time:B.time+B.delay+B.duration,delay:0,duration:B.duration,ease:B.ease})}return new c5(p,this._parents,s,f)}function Ykt(){var s,o,f=this,p=f._id,w=f.size();return new Promise(function(k,b){var _={value:b},A={value:function(){--w===0&&k()}};f.each(function(){var N=Zy(this,p),B=N.on;B!==s&&(o=(s=B).copy(),o._.cancel.push(_),o._.interrupt.push(_),o._.end.push(A)),N.on=o}),w===0&&k()})}var Xkt=0;function c5(s,o,f,p){this._groups=s,this._parents=o,this._name=f,this._id=p}function zLe(){return++Xkt}var u5=eN.prototype;c5.prototype={constructor:c5,select:Mkt,selectAll:Dkt,selectChild:u5.selectChild,selectChildren:u5.selectChildren,filter:Ekt,merge:Tkt,selection:Okt,transition:Wkt,call:u5.call,nodes:u5.nodes,node:u5.node,size:u5.size,empty:u5.empty,each:u5.each,on:Skt,attr:okt,attrTween:fkt,style:Rkt,styleTween:Hkt,text:qkt,textTween:Kkt,remove:Lkt,tween:ekt,delay:pkt,duration:wkt,ease:ykt,easeVarying:xkt,end:Ykt,[Symbol.iterator]:u5[Symbol.iterator]};function Qkt(s){return((s*=2)<=1?s*s*s:(s-=2)*s*s+2)/2}var Zkt={time:null,delay:0,duration:250,ease:Qkt};function Jkt(s,o){for(var f;!(f=s.__transition)||!(f=f[o]);)if(!(s=s.parentNode))throw new Error(`transition ${o} not found`);return f}function e8t(s){var o,f;s instanceof c5?(o=s._id,s=s._name):(o=zLe(),(f=Zkt).time=Ffe(),s=s==null?null:s+"");for(var p=this._groups,w=p.length,k=0;k<w;++k)for(var b=p[k],_=b.length,A,N=0;N<_;++N)(A=b[N])&&cU(A,s,o,N,b,f||Jkt(A,o));return new c5(p,this._parents,s,o)}eN.prototype.interrupt=Q6t,eN.prototype.transition=e8t;const Gfe=Math.PI,qfe=2*Gfe,IE=1e-6,t8t=qfe-IE;function Vfe(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ufe(){return new Vfe}Vfe.prototype=Ufe.prototype={constructor:Vfe,moveTo:function(s,o){this._+="M"+(this._x0=this._x1=+s)+","+(this._y0=this._y1=+o)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(s,o){this._+="L"+(this._x1=+s)+","+(this._y1=+o)},quadraticCurveTo:function(s,o,f,p){this._+="Q"+ +s+","+ +o+","+(this._x1=+f)+","+(this._y1=+p)},bezierCurveTo:function(s,o,f,p,w,k){this._+="C"+ +s+","+ +o+","+ +f+","+ +p+","+(this._x1=+w)+","+(this._y1=+k)},arcTo:function(s,o,f,p,w){s=+s,o=+o,f=+f,p=+p,w=+w;var k=this._x1,b=this._y1,_=f-s,A=p-o,N=k-s,B=b-o,F=N*N+B*B;if(w<0)throw new Error("negative radius: "+w);if(this._x1===null)this._+="M"+(this._x1=s)+","+(this._y1=o);else if(F>IE)if(!(Math.abs(B*_-A*N)>IE)||!w)this._+="L"+(this._x1=s)+","+(this._y1=o);else{var H=f-k,j=p-b,V=_*_+A*A,Z=H*H+j*j,ae=Math.sqrt(V),le=Math.sqrt(F),ce=w*Math.tan((Gfe-Math.acos((V+F-Z)/(2*ae*le)))/2),be=ce/le,xe=ce/ae;Math.abs(be-1)>IE&&(this._+="L"+(s+be*N)+","+(o+be*B)),this._+="A"+w+","+w+",0,0,"+ +(B*H>N*j)+","+(this._x1=s+xe*_)+","+(this._y1=o+xe*A)}},arc:function(s,o,f,p,w,k){s=+s,o=+o,f=+f,k=!!k;var b=f*Math.cos(p),_=f*Math.sin(p),A=s+b,N=o+_,B=1^k,F=k?p-w:w-p;if(f<0)throw new Error("negative radius: "+f);this._x1===null?this._+="M"+A+","+N:(Math.abs(this._x1-A)>IE||Math.abs(this._y1-N)>IE)&&(this._+="L"+A+","+N),f&&(F<0&&(F=F%qfe+qfe),F>t8t?this._+="A"+f+","+f+",0,1,"+B+","+(s-b)+","+(o-_)+"A"+f+","+f+",0,1,"+B+","+(this._x1=A)+","+(this._y1=N):F>IE&&(this._+="A"+f+","+f+",0,"+ +(F>=Gfe)+","+B+","+(this._x1=s+f*Math.cos(w))+","+(this._y1=o+f*Math.sin(w))))},rect:function(s,o,f,p){this._+="M"+(this._x0=this._x1=+s)+","+(this._y0=this._y1=+o)+"h"+ +f+"v"+ +p+"h"+-f+"Z"},toString:function(){return this._}};function n8t(s){if(!s.ok)throw new Error(s.status+" "+s.statusText);return s.text()}function r8t(s,o){return fetch(s,o).then(n8t)}function i8t(s){return(o,f)=>r8t(o,f).then(p=>new DOMParser().parseFromString(p,s))}var s8t=i8t("image/svg+xml");function a8t(s){return Math.abs(s=Math.round(s))>=1e21?s.toLocaleString("en").replace(/,/g,""):s.toString(10)}function uU(s,o){if((f=(s=o?s.toExponential(o-1):s.toExponential()).indexOf("e"))<0)return null;var f,p=s.slice(0,f);return[p.length>1?p[0]+p.slice(2):p,+s.slice(f+1)]}function aA(s){return s=uU(Math.abs(s)),s?s[1]:NaN}function o8t(s,o){return function(f,p){for(var w=f.length,k=[],b=0,_=s[0],A=0;w>0&&_>0&&(A+_+1>p&&(_=Math.max(1,p-A)),k.push(f.substring(w-=_,w+_)),!((A+=_+1)>p));)_=s[b=(b+1)%s.length];return k.reverse().join(o)}}function c8t(s){return function(o){return o.replace(/[0-9]/g,function(f){return s[+f]})}}var u8t=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lU(s){if(!(o=u8t.exec(s)))throw new Error("invalid format: "+s);var o;return new Kfe({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10]})}lU.prototype=Kfe.prototype;function Kfe(s){this.fill=s.fill===void 0?" ":s.fill+"",this.align=s.align===void 0?">":s.align+"",this.sign=s.sign===void 0?"-":s.sign+"",this.symbol=s.symbol===void 0?"":s.symbol+"",this.zero=!!s.zero,this.width=s.width===void 0?void 0:+s.width,this.comma=!!s.comma,this.precision=s.precision===void 0?void 0:+s.precision,this.trim=!!s.trim,this.type=s.type===void 0?"":s.type+""}Kfe.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 l8t(s){e:for(var o=s.length,f=1,p=-1,w;f<o;++f)switch(s[f]){case".":p=w=f;break;case"0":p===0&&(p=f),w=f;break;default:if(!+s[f])break e;p>0&&(p=0);break}return p>0?s.slice(0,p)+s.slice(w+1):s}var GLe;function h8t(s,o){var f=uU(s,o);if(!f)return s+"";var p=f[0],w=f[1],k=w-(GLe=Math.max(-8,Math.min(8,Math.floor(w/3)))*3)+1,b=p.length;return k===b?p:k>b?p+new Array(k-b+1).join("0"):k>0?p.slice(0,k)+"."+p.slice(k):"0."+new Array(1-k).join("0")+uU(s,Math.max(0,o+k-1))[0]}function qLe(s,o){var f=uU(s,o);if(!f)return s+"";var p=f[0],w=f[1];return w<0?"0."+new Array(-w).join("0")+p:p.length>w+1?p.slice(0,w+1)+"."+p.slice(w+1):p+new Array(w-p.length+2).join("0")}const VLe={"%":(s,o)=>(s*100).toFixed(o),b:s=>Math.round(s).toString(2),c:s=>s+"",d:a8t,e:(s,o)=>s.toExponential(o),f:(s,o)=>s.toFixed(o),g:(s,o)=>s.toPrecision(o),o:s=>Math.round(s).toString(8),p:(s,o)=>qLe(s*100,o),r:qLe,s:h8t,X:s=>Math.round(s).toString(16).toUpperCase(),x:s=>Math.round(s).toString(16)};function ULe(s){return s}var KLe=Array.prototype.map,WLe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f8t(s){var o=s.grouping===void 0||s.thousands===void 0?ULe:o8t(KLe.call(s.grouping,Number),s.thousands+""),f=s.currency===void 0?"":s.currency[0]+"",p=s.currency===void 0?"":s.currency[1]+"",w=s.decimal===void 0?".":s.decimal+"",k=s.numerals===void 0?ULe:c8t(KLe.call(s.numerals,String)),b=s.percent===void 0?"%":s.percent+"",_=s.minus===void 0?"−":s.minus+"",A=s.nan===void 0?"NaN":s.nan+"";function N(F){F=lU(F);var H=F.fill,j=F.align,V=F.sign,Z=F.symbol,ae=F.zero,le=F.width,ce=F.comma,be=F.precision,xe=F.trim,Ee=F.type;Ee==="n"?(ce=!0,Ee="g"):VLe[Ee]||(be===void 0&&(be=12),xe=!0,Ee="g"),(ae||H==="0"&&j==="=")&&(ae=!0,H="0",j="=");var Me=Z==="$"?f:Z==="#"&&/[boxX]/.test(Ee)?"0"+Ee.toLowerCase():"",fe=Z==="$"?p:/[%p]/.test(Ee)?b:"",ye=VLe[Ee],re=/[defgprs%]/.test(Ee);be=be===void 0?6:/[gprs]/.test(Ee)?Math.max(1,Math.min(21,be)):Math.max(0,Math.min(20,be));function we(ke){var he=Me,De=fe,X,Re,pe;if(Ee==="c")De=ye(ke)+De,ke="";else{ke=+ke;var Ge=ke<0||1/ke<0;if(ke=isNaN(ke)?A:ye(Math.abs(ke),be),xe&&(ke=l8t(ke)),Ge&&+ke==0&&V!=="+"&&(Ge=!1),he=(Ge?V==="("?V:_:V==="-"||V==="("?"":V)+he,De=(Ee==="s"?WLe[8+GLe/3]:"")+De+(Ge&&V==="("?")":""),re){for(X=-1,Re=ke.length;++X<Re;)if(pe=ke.charCodeAt(X),48>pe||pe>57){De=(pe===46?w+ke.slice(X+1):ke.slice(X))+De,ke=ke.slice(0,X);break}}}ce&&!ae&&(ke=o(ke,1/0));var de=he.length+ke.length+De.length,ct=de<le?new Array(le-de+1).join(H):"";switch(ce&&ae&&(ke=o(ct+ke,ct.length?le-De.length:1/0),ct=""),j){case"<":ke=he+ke+De+ct;break;case"=":ke=he+ct+ke+De;break;case"^":ke=ct.slice(0,de=ct.length>>1)+he+ke+De+ct.slice(de);break;default:ke=ct+he+ke+De;break}return k(ke)}return we.toString=function(){return F+""},we}function B(F,H){var j=N((F=lU(F),F.type="f",F)),V=Math.max(-8,Math.min(8,Math.floor(aA(H)/3)))*3,Z=Math.pow(10,-V),ae=WLe[8+V/3];return function(le){return j(Z*le)+ae}}return{format:N,formatPrefix:B}}var hU,YLe,XLe;d8t({thousands:",",grouping:[3],currency:["$",""]});function d8t(s){return hU=f8t(s),YLe=hU.format,XLe=hU.formatPrefix,hU}function g8t(s){return Math.max(0,-aA(Math.abs(s)))}function p8t(s,o){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(aA(o)/3)))*3-aA(Math.abs(s)))}function b8t(s,o){return s=Math.abs(s),o=Math.abs(o)-s,Math.max(0,aA(o)-aA(s))+1}function Wfe(s,o){switch(arguments.length){case 0:break;case 1:this.range(s);break;default:this.range(o).domain(s);break}return this}const QLe=Symbol("implicit");function ZLe(){var s=new qAe,o=[],f=[],p=QLe;function w(k){let b=s.get(k);if(b===void 0){if(p!==QLe)return p;s.set(k,b=o.push(k)-1)}return f[b%f.length]}return w.domain=function(k){if(!arguments.length)return o.slice();o=[],s=new qAe;for(const b of k)s.has(b)||s.set(b,o.push(b)-1);return w},w.range=function(k){return arguments.length?(f=Array.from(k),w):f.slice()},w.unknown=function(k){return arguments.length?(p=k,w):p},w.copy=function(){return ZLe(o,f).unknown(p)},Wfe.apply(w,arguments),w}function v8t(s){return function(){return s}}function w8t(s){return+s}var JLe=[0,1];function oA(s){return s}function Yfe(s,o){return(o-=s=+s)?function(f){return(f-s)/o}:v8t(isNaN(o)?NaN:.5)}function m8t(s,o){var f;return s>o&&(f=s,s=o,o=f),function(p){return Math.max(s,Math.min(o,p))}}function y8t(s,o,f){var p=s[0],w=s[1],k=o[0],b=o[1];return w<p?(p=Yfe(w,p),k=f(b,k)):(p=Yfe(p,w),k=f(k,b)),function(_){return k(p(_))}}function k8t(s,o,f){var p=Math.min(s.length,o.length)-1,w=new Array(p),k=new Array(p),b=-1;for(s[p]<s[0]&&(s=s.slice().reverse(),o=o.slice().reverse());++b<p;)w[b]=Yfe(s[b],s[b+1]),k[b]=f(o[b],o[b+1]);return function(_){var A=p4t(s,_,1,p)-1;return k[A](w[A](_))}}function eMe(s,o){return o.domain(s.domain()).range(s.range()).interpolate(s.interpolate()).clamp(s.clamp()).unknown(s.unknown())}function x8t(){var s=JLe,o=JLe,f=Pfe,p,w,k,b=oA,_,A,N;function B(){var H=Math.min(s.length,o.length);return b!==oA&&(b=m8t(s[0],s[H-1])),_=H>2?k8t:y8t,A=N=null,F}function F(H){return H==null||isNaN(H=+H)?k:(A||(A=_(s.map(p),o,f)))(p(b(H)))}return F.invert=function(H){return b(w((N||(N=_(o,s.map(p),Rw)))(H)))},F.domain=function(H){return arguments.length?(s=Array.from(H,w8t),B()):s.slice()},F.range=function(H){return arguments.length?(o=Array.from(H),B()):o.slice()},F.rangeRound=function(H){return o=Array.from(H),f=B6t,B()},F.clamp=function(H){return arguments.length?(b=H?!0:oA,B()):b!==oA},F.interpolate=function(H){return arguments.length?(f=H,B()):f},F.unknown=function(H){return arguments.length?(k=H,F):k},function(H,j){return p=H,w=j,B()}}function tMe(){return x8t()(oA,oA)}function E8t(s,o,f,p){var w=wfe(s,o,f),k;switch(p=lU(p??",f"),p.type){case"s":{var b=Math.max(Math.abs(s),Math.abs(o));return p.precision==null&&!isNaN(k=p8t(w,b))&&(p.precision=k),XLe(p,b)}case"":case"e":case"g":case"p":case"r":{p.precision==null&&!isNaN(k=b8t(w,Math.max(Math.abs(s),Math.abs(o))))&&(p.precision=k-(p.type==="e"));break}case"f":case"%":{p.precision==null&&!isNaN(k=g8t(w))&&(p.precision=k-(p.type==="%")*2);break}}return YLe(p)}function T8t(s){var o=s.domain;return s.ticks=function(f){var p=o();return m4t(p[0],p[p.length-1],f??10)},s.tickFormat=function(f,p){var w=o();return E8t(w[0],w[w.length-1],f??10,p)},s.nice=function(f){f==null&&(f=10);var p=o(),w=0,k=p.length-1,b=p[w],_=p[k],A,N,B=10;for(_<b&&(N=b,b=_,_=N,N=w,w=k,k=N);B-- >0;){if(N=UAe(b,_,f),N===A)return p[w]=b,p[k]=_,o(p);if(N>0)b=Math.floor(b/N)*N,_=Math.ceil(_/N)*N;else if(N<0)b=Math.ceil(b*N)/N,_=Math.floor(_*N)/N;else break;A=N}return s},s}function nMe(){var s=tMe();return s.copy=function(){return eMe(s,nMe())},Wfe.apply(s,arguments),T8t(s)}function _8t(s,o){s=s.slice();var f=0,p=s.length-1,w=s[f],k=s[p],b;return k<w&&(b=f,f=p,p=b,b=w,w=k,k=b),s[f]=o.floor(w),s[p]=o.ceil(k),s}var Xfe=new Date,Qfe=new Date;function ed(s,o,f,p){function w(k){return s(k=arguments.length===0?new Date:new Date(+k)),k}return w.floor=function(k){return s(k=new Date(+k)),k},w.ceil=function(k){return s(k=new Date(k-1)),o(k,1),s(k),k},w.round=function(k){var b=w(k),_=w.ceil(k);return k-b<_-k?b:_},w.offset=function(k,b){return o(k=new Date(+k),b==null?1:Math.floor(b)),k},w.range=function(k,b,_){var A=[],N;if(k=w.ceil(k),_=_==null?1:Math.floor(_),!(k<b)||!(_>0))return A;do A.push(N=new Date(+k)),o(k,_),s(k);while(N<k&&k<b);return A},w.filter=function(k){return ed(function(b){if(b>=b)for(;s(b),!k(b);)b.setTime(b-1)},function(b,_){if(b>=b)if(_<0)for(;++_<=0;)for(;o(b,-1),!k(b););else for(;--_>=0;)for(;o(b,1),!k(b););})},f&&(w.count=function(k,b){return Xfe.setTime(+k),Qfe.setTime(+b),s(Xfe),s(Qfe),Math.floor(f(Xfe,Qfe))},w.every=function(k){return k=Math.floor(k),!isFinite(k)||!(k>0)?null:k>1?w.filter(p?function(b){return p(b)%k===0}:function(b){return w.count(0,b)%k===0}):w}),w}var fU=ed(function(){},function(s,o){s.setTime(+s+o)},function(s,o){return o-s});fU.every=function(s){return s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?ed(function(o){o.setTime(Math.floor(o/s)*s)},function(o,f){o.setTime(+o+f*s)},function(o,f){return(f-o)/s}):fU};const C8t=fU;fU.range;const l5=1e3,Hb=l5*60,h5=Hb*60,OE=h5*24,Zfe=OE*7,rMe=OE*30,Jfe=OE*365;var iMe=ed(function(s){s.setTime(s-s.getMilliseconds())},function(s,o){s.setTime(+s+o*l5)},function(s,o){return(o-s)/l5},function(s){return s.getUTCSeconds()});const uN=iMe;iMe.range;var sMe=ed(function(s){s.setTime(s-s.getMilliseconds()-s.getSeconds()*l5)},function(s,o){s.setTime(+s+o*Hb)},function(s,o){return(o-s)/Hb},function(s){return s.getMinutes()});const dU=sMe;sMe.range;var aMe=ed(function(s){s.setTime(s-s.getMilliseconds()-s.getSeconds()*l5-s.getMinutes()*Hb)},function(s,o){s.setTime(+s+o*h5)},function(s,o){return(o-s)/h5},function(s){return s.getHours()});const gU=aMe;aMe.range;var oMe=ed(s=>s.setHours(0,0,0,0),(s,o)=>s.setDate(s.getDate()+o),(s,o)=>(o-s-(o.getTimezoneOffset()-s.getTimezoneOffset())*Hb)/OE,s=>s.getDate()-1);const cA=oMe;oMe.range;function NE(s){return ed(function(o){o.setDate(o.getDate()-(o.getDay()+7-s)%7),o.setHours(0,0,0,0)},function(o,f){o.setDate(o.getDate()+f*7)},function(o,f){return(f-o-(f.getTimezoneOffset()-o.getTimezoneOffset())*Hb)/Zfe})}var uA=NE(0),pU=NE(1),S8t=NE(2),A8t=NE(3),lA=NE(4),L8t=NE(5),M8t=NE(6);uA.range,pU.range,S8t.range,A8t.range,lA.range,L8t.range,M8t.range;var cMe=ed(function(s){s.setDate(1),s.setHours(0,0,0,0)},function(s,o){s.setMonth(s.getMonth()+o)},function(s,o){return o.getMonth()-s.getMonth()+(o.getFullYear()-s.getFullYear())*12},function(s){return s.getMonth()});const bU=cMe;cMe.range;var e1e=ed(function(s){s.setMonth(0,1),s.setHours(0,0,0,0)},function(s,o){s.setFullYear(s.getFullYear()+o)},function(s,o){return o.getFullYear()-s.getFullYear()},function(s){return s.getFullYear()});e1e.every=function(s){return!isFinite(s=Math.floor(s))||!(s>0)?null:ed(function(o){o.setFullYear(Math.floor(o.getFullYear()/s)*s),o.setMonth(0,1),o.setHours(0,0,0,0)},function(o,f){o.setFullYear(o.getFullYear()+f*s)})};const PE=e1e;e1e.range;var uMe=ed(function(s){s.setUTCSeconds(0,0)},function(s,o){s.setTime(+s+o*Hb)},function(s,o){return(o-s)/Hb},function(s){return s.getUTCMinutes()});const D8t=uMe;uMe.range;var lMe=ed(function(s){s.setUTCMinutes(0,0,0)},function(s,o){s.setTime(+s+o*h5)},function(s,o){return(o-s)/h5},function(s){return s.getUTCHours()});const I8t=lMe;lMe.range;var hMe=ed(function(s){s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCDate(s.getUTCDate()+o)},function(s,o){return(o-s)/OE},function(s){return s.getUTCDate()-1});const t1e=hMe;hMe.range;function BE(s){return ed(function(o){o.setUTCDate(o.getUTCDate()-(o.getUTCDay()+7-s)%7),o.setUTCHours(0,0,0,0)},function(o,f){o.setUTCDate(o.getUTCDate()+f*7)},function(o,f){return(f-o)/Zfe})}var n1e=BE(0),vU=BE(1),O8t=BE(2),N8t=BE(3),hA=BE(4),P8t=BE(5),B8t=BE(6);n1e.range,vU.range,O8t.range,N8t.range,hA.range,P8t.range,B8t.range;var fMe=ed(function(s){s.setUTCDate(1),s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCMonth(s.getUTCMonth()+o)},function(s,o){return o.getUTCMonth()-s.getUTCMonth()+(o.getUTCFullYear()-s.getUTCFullYear())*12},function(s){return s.getUTCMonth()});const F8t=fMe;fMe.range;var r1e=ed(function(s){s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCFullYear(s.getUTCFullYear()+o)},function(s,o){return o.getUTCFullYear()-s.getUTCFullYear()},function(s){return s.getUTCFullYear()});r1e.every=function(s){return!isFinite(s=Math.floor(s))||!(s>0)?null:ed(function(o){o.setUTCFullYear(Math.floor(o.getUTCFullYear()/s)*s),o.setUTCMonth(0,1),o.setUTCHours(0,0,0,0)},function(o,f){o.setUTCFullYear(o.getUTCFullYear()+f*s)})};const fA=r1e;r1e.range;function dMe(s,o,f,p,w,k){const b=[[uN,1,l5],[uN,5,5*l5],[uN,15,15*l5],[uN,30,30*l5],[k,1,Hb],[k,5,5*Hb],[k,15,15*Hb],[k,30,30*Hb],[w,1,h5],[w,3,3*h5],[w,6,6*h5],[w,12,12*h5],[p,1,OE],[p,2,2*OE],[f,1,Zfe],[o,1,rMe],[o,3,3*rMe],[s,1,Jfe]];function _(N,B,F){const H=B<N;H&&([N,B]=[B,N]);const j=F&&typeof F.range=="function"?F:A(N,B,F),V=j?j.range(N,+B+1):[];return H?V.reverse():V}function A(N,B,F){const H=Math.abs(B-N)/F,j=gfe(([,,ae])=>ae).right(b,H);if(j===b.length)return s.every(wfe(N/Jfe,B/Jfe,F));if(j===0)return C8t.every(Math.max(wfe(N,B,F),1));const[V,Z]=b[H/b[j-1][2]<b[j][2]/H?j-1:j];return V.every(Z)}return[_,A]}dMe(fA,F8t,n1e,t1e,I8t,D8t);const[R8t,j8t]=dMe(PE,bU,uA,cA,gU,dU);function i1e(s){if(0<=s.y&&s.y<100){var o=new Date(-1,s.m,s.d,s.H,s.M,s.S,s.L);return o.setFullYear(s.y),o}return new Date(s.y,s.m,s.d,s.H,s.M,s.S,s.L)}function s1e(s){if(0<=s.y&&s.y<100){var o=new Date(Date.UTC(-1,s.m,s.d,s.H,s.M,s.S,s.L));return o.setUTCFullYear(s.y),o}return new Date(Date.UTC(s.y,s.m,s.d,s.H,s.M,s.S,s.L))}function lN(s,o,f){return{y:s,m:o,d:f,H:0,M:0,S:0,L:0}}function $8t(s){var o=s.dateTime,f=s.date,p=s.time,w=s.periods,k=s.days,b=s.shortDays,_=s.months,A=s.shortMonths,N=hN(w),B=fN(w),F=hN(k),H=fN(k),j=hN(b),V=fN(b),Z=hN(_),ae=fN(_),le=hN(A),ce=fN(A),be={a:Ge,A:de,b:ct,B:bt,c:null,d:mMe,e:mMe,f:uxt,g:mxt,G:kxt,H:axt,I:oxt,j:cxt,L:yMe,m:lxt,M:hxt,p:St,q:yt,Q:CMe,s:SMe,S:fxt,u:dxt,U:gxt,V:pxt,w:bxt,W:vxt,x:null,X:null,y:wxt,Y:yxt,Z:xxt,"%":_Me},xe={a:Mt,A:nn,b:dn,B:vt,c:null,d:xMe,e:xMe,f:Cxt,g:Bxt,G:Rxt,H:Ext,I:Txt,j:_xt,L:EMe,m:Sxt,M:Axt,p:Lr,q:xt,Q:CMe,s:SMe,S:Lxt,u:Mxt,U:Dxt,V:Ixt,w:Oxt,W:Nxt,x:null,X:null,y:Pxt,Y:Fxt,Z:jxt,"%":_Me},Ee={a:we,A:ke,b:he,B:De,c:X,d:vMe,e:vMe,f:nxt,g:bMe,G:pMe,H:wMe,I:wMe,j:Z8t,L:txt,m:Q8t,M:J8t,p:re,q:X8t,Q:ixt,s:sxt,S:ext,u:V8t,U:U8t,V:K8t,w:q8t,W:W8t,x:Re,X:pe,y:bMe,Y:pMe,Z:Y8t,"%":rxt};be.x=Me(f,be),be.X=Me(p,be),be.c=Me(o,be),xe.x=Me(f,xe),xe.X=Me(p,xe),xe.c=Me(o,xe);function Me(Tt,wt){return function(At){var He=[],Ze=-1,Lt=0,Ve=Tt.length,Mn,Oe,Di;for(At instanceof Date||(At=new Date(+At));++Ze<Ve;)Tt.charCodeAt(Ze)===37&&(He.push(Tt.slice(Lt,Ze)),(Oe=gMe[Mn=Tt.charAt(++Ze)])!=null?Mn=Tt.charAt(++Ze):Oe=Mn==="e"?" ":"0",(Di=wt[Mn])&&(Mn=Di(At,Oe)),He.push(Mn),Lt=Ze+1);return He.push(Tt.slice(Lt,Ze)),He.join("")}}function fe(Tt,wt){return function(At){var He=lN(1900,void 0,1),Ze=ye(He,Tt,At+="",0),Lt,Ve;if(Ze!=At.length)return null;if("Q"in He)return new Date(He.Q);if("s"in He)return new Date(He.s*1e3+("L"in He?He.L:0));if(wt&&!("Z"in He)&&(He.Z=0),"p"in He&&(He.H=He.H%12+He.p*12),He.m===void 0&&(He.m="q"in He?He.q:0),"V"in He){if(He.V<1||He.V>53)return null;"w"in He||(He.w=1),"Z"in He?(Lt=s1e(lN(He.y,0,1)),Ve=Lt.getUTCDay(),Lt=Ve>4||Ve===0?vU.ceil(Lt):vU(Lt),Lt=t1e.offset(Lt,(He.V-1)*7),He.y=Lt.getUTCFullYear(),He.m=Lt.getUTCMonth(),He.d=Lt.getUTCDate()+(He.w+6)%7):(Lt=i1e(lN(He.y,0,1)),Ve=Lt.getDay(),Lt=Ve>4||Ve===0?pU.ceil(Lt):pU(Lt),Lt=cA.offset(Lt,(He.V-1)*7),He.y=Lt.getFullYear(),He.m=Lt.getMonth(),He.d=Lt.getDate()+(He.w+6)%7)}else("W"in He||"U"in He)&&("w"in He||(He.w="u"in He?He.u%7:"W"in He?1:0),Ve="Z"in He?s1e(lN(He.y,0,1)).getUTCDay():i1e(lN(He.y,0,1)).getDay(),He.m=0,He.d="W"in He?(He.w+6)%7+He.W*7-(Ve+5)%7:He.w+He.U*7-(Ve+6)%7);return"Z"in He?(He.H+=He.Z/100|0,He.M+=He.Z%100,s1e(He)):i1e(He)}}function ye(Tt,wt,At,He){for(var Ze=0,Lt=wt.length,Ve=At.length,Mn,Oe;Ze<Lt;){if(He>=Ve)return-1;if(Mn=wt.charCodeAt(Ze++),Mn===37){if(Mn=wt.charAt(Ze++),Oe=Ee[Mn in gMe?wt.charAt(Ze++):Mn],!Oe||(He=Oe(Tt,At,He))<0)return-1}else if(Mn!=At.charCodeAt(He++))return-1}return He}function re(Tt,wt,At){var He=N.exec(wt.slice(At));return He?(Tt.p=B.get(He[0].toLowerCase()),At+He[0].length):-1}function we(Tt,wt,At){var He=j.exec(wt.slice(At));return He?(Tt.w=V.get(He[0].toLowerCase()),At+He[0].length):-1}function ke(Tt,wt,At){var He=F.exec(wt.slice(At));return He?(Tt.w=H.get(He[0].toLowerCase()),At+He[0].length):-1}function he(Tt,wt,At){var He=le.exec(wt.slice(At));return He?(Tt.m=ce.get(He[0].toLowerCase()),At+He[0].length):-1}function De(Tt,wt,At){var He=Z.exec(wt.slice(At));return He?(Tt.m=ae.get(He[0].toLowerCase()),At+He[0].length):-1}function X(Tt,wt,At){return ye(Tt,o,wt,At)}function Re(Tt,wt,At){return ye(Tt,f,wt,At)}function pe(Tt,wt,At){return ye(Tt,p,wt,At)}function Ge(Tt){return b[Tt.getDay()]}function de(Tt){return k[Tt.getDay()]}function ct(Tt){return A[Tt.getMonth()]}function bt(Tt){return _[Tt.getMonth()]}function St(Tt){return w[+(Tt.getHours()>=12)]}function yt(Tt){return 1+~~(Tt.getMonth()/3)}function Mt(Tt){return b[Tt.getUTCDay()]}function nn(Tt){return k[Tt.getUTCDay()]}function dn(Tt){return A[Tt.getUTCMonth()]}function vt(Tt){return _[Tt.getUTCMonth()]}function Lr(Tt){return w[+(Tt.getUTCHours()>=12)]}function xt(Tt){return 1+~~(Tt.getUTCMonth()/3)}return{format:function(Tt){var wt=Me(Tt+="",be);return wt.toString=function(){return Tt},wt},parse:function(Tt){var wt=fe(Tt+="",!1);return wt.toString=function(){return Tt},wt},utcFormat:function(Tt){var wt=Me(Tt+="",xe);return wt.toString=function(){return Tt},wt},utcParse:function(Tt){var wt=fe(Tt+="",!0);return wt.toString=function(){return Tt},wt}}}var gMe={"-":"",_:" ",0:"0"},td=/^\s*\d+/,H8t=/^%/,z8t=/[\\^$*+?|[\]().{}]/g;function jc(s,o,f){var p=s<0?"-":"",w=(p?-s:s)+"",k=w.length;return p+(k<f?new Array(f-k+1).join(o)+w:w)}function G8t(s){return s.replace(z8t,"\\$&")}function hN(s){return new RegExp("^(?:"+s.map(G8t).join("|")+")","i")}function fN(s){return new Map(s.map((o,f)=>[o.toLowerCase(),f]))}function q8t(s,o,f){var p=td.exec(o.slice(f,f+1));return p?(s.w=+p[0],f+p[0].length):-1}function V8t(s,o,f){var p=td.exec(o.slice(f,f+1));return p?(s.u=+p[0],f+p[0].length):-1}function U8t(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.U=+p[0],f+p[0].length):-1}function K8t(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.V=+p[0],f+p[0].length):-1}function W8t(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.W=+p[0],f+p[0].length):-1}function pMe(s,o,f){var p=td.exec(o.slice(f,f+4));return p?(s.y=+p[0],f+p[0].length):-1}function bMe(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.y=+p[0]+(+p[0]>68?1900:2e3),f+p[0].length):-1}function Y8t(s,o,f){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(o.slice(f,f+6));return p?(s.Z=p[1]?0:-(p[2]+(p[3]||"00")),f+p[0].length):-1}function X8t(s,o,f){var p=td.exec(o.slice(f,f+1));return p?(s.q=p[0]*3-3,f+p[0].length):-1}function Q8t(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.m=p[0]-1,f+p[0].length):-1}function vMe(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.d=+p[0],f+p[0].length):-1}function Z8t(s,o,f){var p=td.exec(o.slice(f,f+3));return p?(s.m=0,s.d=+p[0],f+p[0].length):-1}function wMe(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.H=+p[0],f+p[0].length):-1}function J8t(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.M=+p[0],f+p[0].length):-1}function ext(s,o,f){var p=td.exec(o.slice(f,f+2));return p?(s.S=+p[0],f+p[0].length):-1}function txt(s,o,f){var p=td.exec(o.slice(f,f+3));return p?(s.L=+p[0],f+p[0].length):-1}function nxt(s,o,f){var p=td.exec(o.slice(f,f+6));return p?(s.L=Math.floor(p[0]/1e3),f+p[0].length):-1}function rxt(s,o,f){var p=H8t.exec(o.slice(f,f+1));return p?f+p[0].length:-1}function ixt(s,o,f){var p=td.exec(o.slice(f));return p?(s.Q=+p[0],f+p[0].length):-1}function sxt(s,o,f){var p=td.exec(o.slice(f));return p?(s.s=+p[0],f+p[0].length):-1}function mMe(s,o){return jc(s.getDate(),o,2)}function axt(s,o){return jc(s.getHours(),o,2)}function oxt(s,o){return jc(s.getHours()%12||12,o,2)}function cxt(s,o){return jc(1+cA.count(PE(s),s),o,3)}function yMe(s,o){return jc(s.getMilliseconds(),o,3)}function uxt(s,o){return yMe(s,o)+"000"}function lxt(s,o){return jc(s.getMonth()+1,o,2)}function hxt(s,o){return jc(s.getMinutes(),o,2)}function fxt(s,o){return jc(s.getSeconds(),o,2)}function dxt(s){var o=s.getDay();return o===0?7:o}function gxt(s,o){return jc(uA.count(PE(s)-1,s),o,2)}function kMe(s){var o=s.getDay();return o>=4||o===0?lA(s):lA.ceil(s)}function pxt(s,o){return s=kMe(s),jc(lA.count(PE(s),s)+(PE(s).getDay()===4),o,2)}function bxt(s){return s.getDay()}function vxt(s,o){return jc(pU.count(PE(s)-1,s),o,2)}function wxt(s,o){return jc(s.getFullYear()%100,o,2)}function mxt(s,o){return s=kMe(s),jc(s.getFullYear()%100,o,2)}function yxt(s,o){return jc(s.getFullYear()%1e4,o,4)}function kxt(s,o){var f=s.getDay();return s=f>=4||f===0?lA(s):lA.ceil(s),jc(s.getFullYear()%1e4,o,4)}function xxt(s){var o=s.getTimezoneOffset();return(o>0?"-":(o*=-1,"+"))+jc(o/60|0,"0",2)+jc(o%60,"0",2)}function xMe(s,o){return jc(s.getUTCDate(),o,2)}function Ext(s,o){return jc(s.getUTCHours(),o,2)}function Txt(s,o){return jc(s.getUTCHours()%12||12,o,2)}function _xt(s,o){return jc(1+t1e.count(fA(s),s),o,3)}function EMe(s,o){return jc(s.getUTCMilliseconds(),o,3)}function Cxt(s,o){return EMe(s,o)+"000"}function Sxt(s,o){return jc(s.getUTCMonth()+1,o,2)}function Axt(s,o){return jc(s.getUTCMinutes(),o,2)}function Lxt(s,o){return jc(s.getUTCSeconds(),o,2)}function Mxt(s){var o=s.getUTCDay();return o===0?7:o}function Dxt(s,o){return jc(n1e.count(fA(s)-1,s),o,2)}function TMe(s){var o=s.getUTCDay();return o>=4||o===0?hA(s):hA.ceil(s)}function Ixt(s,o){return s=TMe(s),jc(hA.count(fA(s),s)+(fA(s).getUTCDay()===4),o,2)}function Oxt(s){return s.getUTCDay()}function Nxt(s,o){return jc(vU.count(fA(s)-1,s),o,2)}function Pxt(s,o){return jc(s.getUTCFullYear()%100,o,2)}function Bxt(s,o){return s=TMe(s),jc(s.getUTCFullYear()%100,o,2)}function Fxt(s,o){return jc(s.getUTCFullYear()%1e4,o,4)}function Rxt(s,o){var f=s.getUTCDay();return s=f>=4||f===0?hA(s):hA.ceil(s),jc(s.getUTCFullYear()%1e4,o,4)}function jxt(){return"+0000"}function _Me(){return"%"}function CMe(s){return+s}function SMe(s){return Math.floor(+s/1e3)}var dA,wU;$xt({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 $xt(s){return dA=$8t(s),wU=dA.format,dA.parse,dA.utcFormat,dA.utcParse,dA}function Hxt(s){return new Date(s)}function zxt(s){return s instanceof Date?+s:+new Date(+s)}function AMe(s,o,f,p,w,k,b,_,A,N){var B=tMe(),F=B.invert,H=B.domain,j=N(".%L"),V=N(":%S"),Z=N("%I:%M"),ae=N("%I %p"),le=N("%a %d"),ce=N("%b %d"),be=N("%B"),xe=N("%Y");function Ee(Me){return(A(Me)<Me?j:_(Me)<Me?V:b(Me)<Me?Z:k(Me)<Me?ae:p(Me)<Me?w(Me)<Me?le:ce:f(Me)<Me?be:xe)(Me)}return B.invert=function(Me){return new Date(F(Me))},B.domain=function(Me){return arguments.length?H(Array.from(Me,zxt)):H().map(Hxt)},B.ticks=function(Me){var fe=H();return s(fe[0],fe[fe.length-1],Me??10)},B.tickFormat=function(Me,fe){return fe==null?Ee:N(fe)},B.nice=function(Me){var fe=H();return(!Me||typeof Me.range!="function")&&(Me=o(fe[0],fe[fe.length-1],Me??10)),Me?H(_8t(fe,Me)):B},B.copy=function(){return eMe(B,AMe(s,o,f,p,w,k,b,_,A,N))},B}function Gxt(){return Wfe.apply(AMe(R8t,j8t,PE,bU,uA,cA,gU,dU,uN,wU).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function sf(s){return function(){return s}}const LMe=Math.abs,b0=Math.atan2,FE=Math.cos,qxt=Math.max,a1e=Math.min,Jy=Math.sin,gA=Math.sqrt,v0=1e-12,dN=Math.PI,mU=dN/2,yU=2*dN;function Vxt(s){return s>1?0:s<-1?dN:Math.acos(s)}function MMe(s){return s>=1?mU:s<=-1?-mU:Math.asin(s)}function Uxt(s){return s.innerRadius}function Kxt(s){return s.outerRadius}function Wxt(s){return s.startAngle}function Yxt(s){return s.endAngle}function Xxt(s){return s&&s.padAngle}function Qxt(s,o,f,p,w,k,b,_){var A=f-s,N=p-o,B=b-w,F=_-k,H=F*A-B*N;if(!(H*H<v0))return H=(B*(o-k)-F*(s-w))/H,[s+H*A,o+H*N]}function kU(s,o,f,p,w,k,b){var _=s-f,A=o-p,N=(b?k:-k)/gA(_*_+A*A),B=N*A,F=-N*_,H=s+B,j=o+F,V=f+B,Z=p+F,ae=(H+V)/2,le=(j+Z)/2,ce=V-H,be=Z-j,xe=ce*ce+be*be,Ee=w-k,Me=H*Z-V*j,fe=(be<0?-1:1)*gA(qxt(0,Ee*Ee*xe-Me*Me)),ye=(Me*be-ce*fe)/xe,re=(-Me*ce-be*fe)/xe,we=(Me*be+ce*fe)/xe,ke=(-Me*ce+be*fe)/xe,he=ye-ae,De=re-le,X=we-ae,Re=ke-le;return he*he+De*De>X*X+Re*Re&&(ye=we,re=ke),{cx:ye,cy:re,x01:-B,y01:-F,x11:ye*(w/Ee-1),y11:re*(w/Ee-1)}}function gN(){var s=Uxt,o=Kxt,f=sf(0),p=null,w=Wxt,k=Yxt,b=Xxt,_=null;function A(){var N,B,F=+s.apply(this,arguments),H=+o.apply(this,arguments),j=w.apply(this,arguments)-mU,V=k.apply(this,arguments)-mU,Z=LMe(V-j),ae=V>j;if(_||(_=N=Ufe()),H<F&&(B=H,H=F,F=B),!(H>v0))_.moveTo(0,0);else if(Z>yU-v0)_.moveTo(H*FE(j),H*Jy(j)),_.arc(0,0,H,j,V,!ae),F>v0&&(_.moveTo(F*FE(V),F*Jy(V)),_.arc(0,0,F,V,j,ae));else{var le=j,ce=V,be=j,xe=V,Ee=Z,Me=Z,fe=b.apply(this,arguments)/2,ye=fe>v0&&(p?+p.apply(this,arguments):gA(F*F+H*H)),re=a1e(LMe(H-F)/2,+f.apply(this,arguments)),we=re,ke=re,he,De;if(ye>v0){var X=MMe(ye/F*Jy(fe)),Re=MMe(ye/H*Jy(fe));(Ee-=X*2)>v0?(X*=ae?1:-1,be+=X,xe-=X):(Ee=0,be=xe=(j+V)/2),(Me-=Re*2)>v0?(Re*=ae?1:-1,le+=Re,ce-=Re):(Me=0,le=ce=(j+V)/2)}var pe=H*FE(le),Ge=H*Jy(le),de=F*FE(xe),ct=F*Jy(xe);if(re>v0){var bt=H*FE(ce),St=H*Jy(ce),yt=F*FE(be),Mt=F*Jy(be),nn;if(Z<dN&&(nn=Qxt(pe,Ge,yt,Mt,bt,St,de,ct))){var dn=pe-nn[0],vt=Ge-nn[1],Lr=bt-nn[0],xt=St-nn[1],Tt=1/Jy(Vxt((dn*Lr+vt*xt)/(gA(dn*dn+vt*vt)*gA(Lr*Lr+xt*xt)))/2),wt=gA(nn[0]*nn[0]+nn[1]*nn[1]);we=a1e(re,(F-wt)/(Tt-1)),ke=a1e(re,(H-wt)/(Tt+1))}}Me>v0?ke>v0?(he=kU(yt,Mt,pe,Ge,H,ke,ae),De=kU(bt,St,de,ct,H,ke,ae),_.moveTo(he.cx+he.x01,he.cy+he.y01),ke<re?_.arc(he.cx,he.cy,ke,b0(he.y01,he.x01),b0(De.y01,De.x01),!ae):(_.arc(he.cx,he.cy,ke,b0(he.y01,he.x01),b0(he.y11,he.x11),!ae),_.arc(0,0,H,b0(he.cy+he.y11,he.cx+he.x11),b0(De.cy+De.y11,De.cx+De.x11),!ae),_.arc(De.cx,De.cy,ke,b0(De.y11,De.x11),b0(De.y01,De.x01),!ae))):(_.moveTo(pe,Ge),_.arc(0,0,H,le,ce,!ae)):_.moveTo(pe,Ge),!(F>v0)||!(Ee>v0)?_.lineTo(de,ct):we>v0?(he=kU(de,ct,bt,St,F,-we,ae),De=kU(pe,Ge,yt,Mt,F,-we,ae),_.lineTo(he.cx+he.x01,he.cy+he.y01),we<re?_.arc(he.cx,he.cy,we,b0(he.y01,he.x01),b0(De.y01,De.x01),!ae):(_.arc(he.cx,he.cy,we,b0(he.y01,he.x01),b0(he.y11,he.x11),!ae),_.arc(0,0,F,b0(he.cy+he.y11,he.cx+he.x11),b0(De.cy+De.y11,De.cx+De.x11),ae),_.arc(De.cx,De.cy,we,b0(De.y11,De.x11),b0(De.y01,De.x01),!ae))):_.arc(0,0,F,xe,be,ae)}if(_.closePath(),N)return _=null,N+""||null}return A.centroid=function(){var N=(+s.apply(this,arguments)+ +o.apply(this,arguments))/2,B=(+w.apply(this,arguments)+ +k.apply(this,arguments))/2-dN/2;return[FE(B)*N,Jy(B)*N]},A.innerRadius=function(N){return arguments.length?(s=typeof N=="function"?N:sf(+N),A):s},A.outerRadius=function(N){return arguments.length?(o=typeof N=="function"?N:sf(+N),A):o},A.cornerRadius=function(N){return arguments.length?(f=typeof N=="function"?N:sf(+N),A):f},A.padRadius=function(N){return arguments.length?(p=N==null?null:typeof N=="function"?N:sf(+N),A):p},A.startAngle=function(N){return arguments.length?(w=typeof N=="function"?N:sf(+N),A):w},A.endAngle=function(N){return arguments.length?(k=typeof N=="function"?N:sf(+N),A):k},A.padAngle=function(N){return arguments.length?(b=typeof N=="function"?N:sf(+N),A):b},A.context=function(N){return arguments.length?(_=N??null,A):_},A}function DMe(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function IMe(s){this._context=s}IMe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(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}}};function Pd(s){return new IMe(s)}function Zxt(s){return s[0]}function Jxt(s){return s[1]}function RE(s,o){var f=sf(!0),p=null,w=Pd,k=null;s=typeof s=="function"?s:s===void 0?Zxt:sf(s),o=typeof o=="function"?o:o===void 0?Jxt:sf(o);function b(_){var A,N=(_=DMe(_)).length,B,F=!1,H;for(p==null&&(k=w(H=Ufe())),A=0;A<=N;++A)!(A<N&&f(B=_[A],A,_))===F&&((F=!F)?k.lineStart():k.lineEnd()),F&&k.point(+s(B,A,_),+o(B,A,_));if(H)return k=null,H+""||null}return b.x=function(_){return arguments.length?(s=typeof _=="function"?_:sf(+_),b):s},b.y=function(_){return arguments.length?(o=typeof _=="function"?_:sf(+_),b):o},b.defined=function(_){return arguments.length?(f=typeof _=="function"?_:sf(!!_),b):f},b.curve=function(_){return arguments.length?(w=_,p!=null&&(k=w(p)),b):w},b.context=function(_){return arguments.length?(_==null?p=k=null:k=w(p=_),b):p},b}function e7t(s,o){return o<s?-1:o>s?1:o>=s?0:NaN}function t7t(s){return s}function n7t(){var s=t7t,o=e7t,f=null,p=sf(0),w=sf(yU),k=sf(0);function b(_){var A,N=(_=DMe(_)).length,B,F,H=0,j=new Array(N),V=new Array(N),Z=+p.apply(this,arguments),ae=Math.min(yU,Math.max(-yU,w.apply(this,arguments)-Z)),le,ce=Math.min(Math.abs(ae)/N,k.apply(this,arguments)),be=ce*(ae<0?-1:1),xe;for(A=0;A<N;++A)(xe=V[j[A]=A]=+s(_[A],A,_))>0&&(H+=xe);for(o!=null?j.sort(function(Ee,Me){return o(V[Ee],V[Me])}):f!=null&&j.sort(function(Ee,Me){return f(_[Ee],_[Me])}),A=0,F=H?(ae-N*be)/H:0;A<N;++A,Z=le)B=j[A],xe=V[B],le=Z+(xe>0?xe*F:0)+be,V[B]={data:_[B],index:A,value:xe,startAngle:Z,endAngle:le,padAngle:ce};return V}return b.value=function(_){return arguments.length?(s=typeof _=="function"?_:sf(+_),b):s},b.sortValues=function(_){return arguments.length?(o=_,f=null,b):o},b.sort=function(_){return arguments.length?(f=_,o=null,b):f},b.startAngle=function(_){return arguments.length?(p=typeof _=="function"?_:sf(+_),b):p},b.endAngle=function(_){return arguments.length?(w=typeof _=="function"?_:sf(+_),b):w},b.padAngle=function(_){return arguments.length?(k=typeof _=="function"?_:sf(+_),b):k},b}class OMe{constructor(o,f){this._context=o,this._x=f}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(o,f){switch(o=+o,f=+f,this._point){case 0:{this._point=1,this._line?this._context.lineTo(o,f):this._context.moveTo(o,f);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+o)/2,this._y0,this._x0,f,o,f):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+f)/2,o,this._y0,o,f);break}}this._x0=o,this._y0=f}}function r7t(s){return new OMe(s,!0)}function i7t(s){return new OMe(s,!1)}function qk(){}function xU(s,o,f){s._context.bezierCurveTo((2*s._x0+s._x1)/3,(2*s._y0+s._y1)/3,(s._x0+2*s._x1)/3,(s._y0+2*s._y1)/3,(s._x0+4*s._x1+o)/6,(s._y0+4*s._y1+f)/6)}function EU(s){this._context=s}EU.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:xU(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(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:xU(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function pA(s){return new EU(s)}function NMe(s){this._context=s}NMe.prototype={areaStart:qk,areaEnd:qk,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(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:xU(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function s7t(s){return new NMe(s)}function PMe(s){this._context=s}PMe.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(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,p=(this._y0+4*this._y1+o)/6;this._line?this._context.lineTo(f,p):this._context.moveTo(f,p);break;case 3:this._point=4;default:xU(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function a7t(s){return new PMe(s)}function BMe(s,o){this._basis=new EU(s),this._beta=o}BMe.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var s=this._x,o=this._y,f=s.length-1;if(f>0)for(var p=s[0],w=o[0],k=s[f]-p,b=o[f]-w,_=-1,A;++_<=f;)A=_/f,this._basis.point(this._beta*s[_]+(1-this._beta)*(p+A*k),this._beta*o[_]+(1-this._beta)*(w+A*b));this._x=this._y=null,this._basis.lineEnd()},point:function(s,o){this._x.push(+s),this._y.push(+o)}};const o7t=function s(o){function f(p){return o===1?new EU(p):new BMe(p,o)}return f.beta=function(p){return s(+p)},f}(.85);function TU(s,o,f){s._context.bezierCurveTo(s._x1+s._k*(s._x2-s._x0),s._y1+s._k*(s._y2-s._y0),s._x2+s._k*(s._x1-o),s._y2+s._k*(s._y1-f),s._x2,s._y2)}function o1e(s,o){this._context=s,this._k=(1-o)/6}o1e.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:TU(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point: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:TU(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}};const c7t=function s(o){function f(p){return new o1e(p,o)}return f.tension=function(p){return s(+p)},f}(0);function c1e(s,o){this._context=s,this._k=(1-o)/6}c1e.prototype={areaStart:qk,areaEnd:qk,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(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:TU(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}};const u7t=function s(o){function f(p){return new c1e(p,o)}return f.tension=function(p){return s(+p)},f}(0);function u1e(s,o){this._context=s,this._k=(1-o)/6}u1e.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(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:TU(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}};const l7t=function s(o){function f(p){return new u1e(p,o)}return f.tension=function(p){return s(+p)},f}(0);function l1e(s,o,f){var p=s._x1,w=s._y1,k=s._x2,b=s._y2;if(s._l01_a>v0){var _=2*s._l01_2a+3*s._l01_a*s._l12_a+s._l12_2a,A=3*s._l01_a*(s._l01_a+s._l12_a);p=(p*_-s._x0*s._l12_2a+s._x2*s._l01_2a)/A,w=(w*_-s._y0*s._l12_2a+s._y2*s._l01_2a)/A}if(s._l23_a>v0){var N=2*s._l23_2a+3*s._l23_a*s._l12_a+s._l12_2a,B=3*s._l23_a*(s._l23_a+s._l12_a);k=(k*N+s._x1*s._l23_2a-o*s._l12_2a)/B,b=(b*N+s._y1*s._l23_2a-f*s._l12_2a)/B}s._context.bezierCurveTo(p,w,k,b,s._x2,s._y2)}function FMe(s,o){this._context=s,this._alpha=o}FMe.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(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,p=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:l1e(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}};const h7t=function s(o){function f(p){return o?new FMe(p,o):new o1e(p,0)}return f.alpha=function(p){return s(+p)},f}(.5);function RMe(s,o){this._context=s,this._alpha=o}RMe.prototype={areaStart:qk,areaEnd:qk,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(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,p=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:l1e(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}};const f7t=function s(o){function f(p){return o?new RMe(p,o):new c1e(p,0)}return f.alpha=function(p){return s(+p)},f}(.5);function jMe(s,o){this._context=s,this._alpha=o}jMe.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(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,p=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:l1e(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}};const d7t=function s(o){function f(p){return o?new jMe(p,o):new u1e(p,0)}return f.alpha=function(p){return s(+p)},f}(.5);function $Me(s){this._context=s}$Me.prototype={areaStart:qk,areaEnd:qk,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(s,o){s=+s,o=+o,this._point?this._context.lineTo(s,o):(this._point=1,this._context.moveTo(s,o))}};function g7t(s){return new $Me(s)}function HMe(s){return s<0?-1:1}function zMe(s,o,f){var p=s._x1-s._x0,w=o-s._x1,k=(s._y1-s._y0)/(p||w<0&&-0),b=(f-s._y1)/(w||p<0&&-0),_=(k*w+b*p)/(p+w);return(HMe(k)+HMe(b))*Math.min(Math.abs(k),Math.abs(b),.5*Math.abs(_))||0}function GMe(s,o){var f=s._x1-s._x0;return f?(3*(s._y1-s._y0)/f-o)/2:o}function h1e(s,o,f){var p=s._x0,w=s._y0,k=s._x1,b=s._y1,_=(k-p)/3;s._context.bezierCurveTo(p+_,w+_*o,k-_,b-_*f,k,b)}function _U(s){this._context=s}_U.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:h1e(this,this._t0,GMe(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point: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,h1e(this,GMe(this,f=zMe(this,s,o)),f);break;default:h1e(this,this._t0,f=zMe(this,s,o));break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o,this._t0=f}}};function qMe(s){this._context=new VMe(s)}(qMe.prototype=Object.create(_U.prototype)).point=function(s,o){_U.prototype.point.call(this,o,s)};function VMe(s){this._context=s}VMe.prototype={moveTo:function(s,o){this._context.moveTo(o,s)},closePath:function(){this._context.closePath()},lineTo:function(s,o){this._context.lineTo(o,s)},bezierCurveTo:function(s,o,f,p,w,k){this._context.bezierCurveTo(o,s,p,f,k,w)}};function p7t(s){return new _U(s)}function b7t(s){return new qMe(s)}function UMe(s){this._context=s}UMe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd: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 p=KMe(s),w=KMe(o),k=0,b=1;b<f;++k,++b)this._context.bezierCurveTo(p[0][k],w[0][k],p[1][k],w[1][k],s[b],o[b]);(this._line||this._line!==0&&f===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(s,o){this._x.push(+s),this._y.push(+o)}};function KMe(s){var o,f=s.length-1,p,w=new Array(f),k=new Array(f),b=new Array(f);for(w[0]=0,k[0]=2,b[0]=s[0]+2*s[1],o=1;o<f-1;++o)w[o]=1,k[o]=4,b[o]=4*s[o]+2*s[o+1];for(w[f-1]=2,k[f-1]=7,b[f-1]=8*s[f-1]+s[f],o=1;o<f;++o)p=w[o]/k[o-1],k[o]-=p,b[o]-=p*b[o-1];for(w[f-1]=b[f-1]/k[f-1],o=f-2;o>=0;--o)w[o]=(b[o]-w[o+1])/k[o];for(k[f-1]=(s[f]+w[f-1])/2,o=0;o<f-1;++o)k[o]=2*s[o+1]-w[o+1];return[w,k]}function v7t(s){return new UMe(s)}function CU(s,o){this._context=s,this._t=o}CU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(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}};function w7t(s){return new CU(s,.5)}function m7t(s){return new CU(s,0)}function y7t(s){return new CU(s,1)}function pN(s,o,f){this.k=s,this.x=o,this.y=f}pN.prototype={constructor:pN,scale:function(s){return s===1?this:new pN(this.k*s,this.x,this.y)},translate:function(s,o){return s===0&o===0?this:new pN(this.k,this.x+this.k*s,this.y+this.k*o)},apply:function(s){return[s[0]*this.k+this.x,s[1]*this.k+this.y]},applyX:function(s){return s*this.k+this.x},applyY:function(s){return s*this.k+this.y},invert:function(s){return[(s[0]-this.x)/this.k,(s[1]-this.y)/this.k]},invertX:function(s){return(s-this.x)/this.k},invertY:function(s){return(s-this.y)/this.k},rescaleX:function(s){return s.copy().domain(s.range().map(this.invertX,this).map(s.invert,s))},rescaleY:function(s){return s.copy().domain(s.range().map(this.invertY,this).map(s.invert,s))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},pN.prototype;/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */function Vk(s){return Vk=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Vk(s)}function f1e(s,o){return f1e=Object.setPrototypeOf||function(p,w){return p.__proto__=w,p},f1e(s,o)}function k7t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function SU(s,o,f){return k7t()?SU=Reflect.construct:SU=function(w,k,b){var _=[null];_.push.apply(_,k);var A=Function.bind.apply(w,_),N=new A;return b&&f1e(N,b.prototype),N},SU.apply(null,arguments)}function $w(s){return x7t(s)||E7t(s)||T7t(s)||_7t()}function x7t(s){if(Array.isArray(s))return d1e(s)}function E7t(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function T7t(s,o){if(s){if(typeof s=="string")return d1e(s,o);var f=Object.prototype.toString.call(s).slice(8,-1);if(f==="Object"&&s.constructor&&(f=s.constructor.name),f==="Map"||f==="Set")return Array.from(s);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return d1e(s,o)}}function d1e(s,o){(o==null||o>s.length)&&(o=s.length);for(var f=0,p=new Array(o);f<o;f++)p[f]=s[f];return p}function _7t(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C7t=Object.hasOwnProperty,WMe=Object.setPrototypeOf,S7t=Object.isFrozen,A7t=Object.getPrototypeOf,L7t=Object.getOwnPropertyDescriptor,tg=Object.freeze,Hw=Object.seal,M7t=Object.create,YMe=typeof Reflect<"u"&&Reflect,AU=YMe.apply,g1e=YMe.construct;AU||(AU=function(o,f,p){return o.apply(f,p)}),tg||(tg=function(o){return o}),Hw||(Hw=function(o){return o}),g1e||(g1e=function(o,f){return SU(o,$w(f))});var D7t=zb(Array.prototype.forEach),XMe=zb(Array.prototype.pop),bN=zb(Array.prototype.push),LU=zb(String.prototype.toLowerCase),p1e=zb(String.prototype.toString),I7t=zb(String.prototype.match),zw=zb(String.prototype.replace),O7t=zb(String.prototype.indexOf),N7t=zb(String.prototype.trim),ng=zb(RegExp.prototype.test),b1e=P7t(TypeError);function zb(s){return function(o){for(var f=arguments.length,p=new Array(f>1?f-1:0),w=1;w<f;w++)p[w-1]=arguments[w];return AU(s,o,p)}}function P7t(s){return function(){for(var o=arguments.length,f=new Array(o),p=0;p<o;p++)f[p]=arguments[p];return g1e(s,f)}}function Lo(s,o,f){f=f||LU,WMe&&WMe(s,null);for(var p=o.length;p--;){var w=o[p];if(typeof w=="string"){var k=f(w);k!==w&&(S7t(o)||(o[p]=k),w=k)}s[w]=!0}return s}function jE(s){var o=M7t(null),f;for(f in s)AU(C7t,s,[f])===!0&&(o[f]=s[f]);return o}function MU(s,o){for(;s!==null;){var f=L7t(s,o);if(f){if(f.get)return zb(f.get);if(typeof f.value=="function")return zb(f.value)}s=A7t(s)}function p(w){return console.warn("fallback value for",w),null}return p}var QMe=tg(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),v1e=tg(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),w1e=tg(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B7t=tg(["animate","color-profile","cursor","discard","fedropshadow","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"]),m1e=tg(["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"]),F7t=tg(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ZMe=tg(["#text"]),JMe=tg(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),y1e=tg(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),eDe=tg(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),DU=tg(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),R7t=Hw(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j7t=Hw(/<%[\w\W]*|[\w\W]*%>/gm),$7t=Hw(/\${[\w\W]*}/gm),H7t=Hw(/^data-[\-\w.\u00B7-\uFFFF]/),z7t=Hw(/^aria-[\-\w]+$/),G7t=Hw(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q7t=Hw(/^(?:\w+script|data):/i),V7t=Hw(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U7t=Hw(/^html$/i),K7t=function(){return typeof window>"u"?null:window},W7t=function(o,f){if(Vk(o)!=="object"||typeof o.createPolicy!="function")return null;var p=null,w="data-tt-policy-suffix";f.currentScript&&f.currentScript.hasAttribute(w)&&(p=f.currentScript.getAttribute(w));var k="dompurify"+(p?"#"+p:"");try{return o.createPolicy(k,{createHTML:function(_){return _},createScriptURL:function(_){return _}})}catch{return console.warn("TrustedTypes policy "+k+" could not be created."),null}};function tDe(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:K7t(),o=function($t){return tDe($t)};if(o.version="2.4.3",o.removed=[],!s||!s.document||s.document.nodeType!==9)return o.isSupported=!1,o;var f=s.document,p=s.document,w=s.DocumentFragment,k=s.HTMLTemplateElement,b=s.Node,_=s.Element,A=s.NodeFilter,N=s.NamedNodeMap,B=N===void 0?s.NamedNodeMap||s.MozNamedAttrMap:N,F=s.HTMLFormElement,H=s.DOMParser,j=s.trustedTypes,V=_.prototype,Z=MU(V,"cloneNode"),ae=MU(V,"nextSibling"),le=MU(V,"childNodes"),ce=MU(V,"parentNode");if(typeof k=="function"){var be=p.createElement("template");be.content&&be.content.ownerDocument&&(p=be.content.ownerDocument)}var xe=W7t(j,f),Ee=xe?xe.createHTML(""):"",Me=p,fe=Me.implementation,ye=Me.createNodeIterator,re=Me.createDocumentFragment,we=Me.getElementsByTagName,ke=f.importNode,he={};try{he=jE(p).documentMode?p.documentMode:{}}catch{}var De={};o.isSupported=typeof ce=="function"&&fe&&typeof fe.createHTMLDocument<"u"&&he!==9;var X=R7t,Re=j7t,pe=$7t,Ge=H7t,de=z7t,ct=q7t,bt=V7t,St=G7t,yt=null,Mt=Lo({},[].concat($w(QMe),$w(v1e),$w(w1e),$w(m1e),$w(ZMe))),nn=null,dn=Lo({},[].concat($w(JMe),$w(y1e),$w(eDe),$w(DU))),vt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Lr=null,xt=null,Tt=!0,wt=!0,At=!1,He=!1,Ze=!1,Lt=!1,Ve=!1,Mn=!1,Oe=!1,Di=!1,rn=!0,pi=!1,Fr="user-content-",tr=!0,Wn=!1,er={},Fn=null,nr=Lo({},["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"]),ha=null,fa=Lo({},["audio","video","img","source","image","track"]),is=null,Xi=Lo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),da="http://www.w3.org/1998/Math/MathML",Cc="http://www.w3.org/2000/svg",na="http://www.w3.org/1999/xhtml",Ji=na,Fi=!1,vr=null,wr=Lo({},[da,Cc,na],p1e),ni,Yn=["application/xhtml+xml","text/html"],Gi="text/html",un,Ks=null,Hn=p.createElement("form"),Ms=function($t){return $t instanceof RegExp||$t instanceof Function},Ea=function($t){Ks&&Ks===$t||((!$t||Vk($t)!=="object")&&($t={}),$t=jE($t),ni=Yn.indexOf($t.PARSER_MEDIA_TYPE)===-1?ni=Gi:ni=$t.PARSER_MEDIA_TYPE,un=ni==="application/xhtml+xml"?p1e:LU,yt="ALLOWED_TAGS"in $t?Lo({},$t.ALLOWED_TAGS,un):Mt,nn="ALLOWED_ATTR"in $t?Lo({},$t.ALLOWED_ATTR,un):dn,vr="ALLOWED_NAMESPACES"in $t?Lo({},$t.ALLOWED_NAMESPACES,p1e):wr,is="ADD_URI_SAFE_ATTR"in $t?Lo(jE(Xi),$t.ADD_URI_SAFE_ATTR,un):Xi,ha="ADD_DATA_URI_TAGS"in $t?Lo(jE(fa),$t.ADD_DATA_URI_TAGS,un):fa,Fn="FORBID_CONTENTS"in $t?Lo({},$t.FORBID_CONTENTS,un):nr,Lr="FORBID_TAGS"in $t?Lo({},$t.FORBID_TAGS,un):{},xt="FORBID_ATTR"in $t?Lo({},$t.FORBID_ATTR,un):{},er="USE_PROFILES"in $t?$t.USE_PROFILES:!1,Tt=$t.ALLOW_ARIA_ATTR!==!1,wt=$t.ALLOW_DATA_ATTR!==!1,At=$t.ALLOW_UNKNOWN_PROTOCOLS||!1,He=$t.SAFE_FOR_TEMPLATES||!1,Ze=$t.WHOLE_DOCUMENT||!1,Mn=$t.RETURN_DOM||!1,Oe=$t.RETURN_DOM_FRAGMENT||!1,Di=$t.RETURN_TRUSTED_TYPE||!1,Ve=$t.FORCE_BODY||!1,rn=$t.SANITIZE_DOM!==!1,pi=$t.SANITIZE_NAMED_PROPS||!1,tr=$t.KEEP_CONTENT!==!1,Wn=$t.IN_PLACE||!1,St=$t.ALLOWED_URI_REGEXP||St,Ji=$t.NAMESPACE||na,$t.CUSTOM_ELEMENT_HANDLING&&Ms($t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(vt.tagNameCheck=$t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),$t.CUSTOM_ELEMENT_HANDLING&&Ms($t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(vt.attributeNameCheck=$t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),$t.CUSTOM_ELEMENT_HANDLING&&typeof $t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(vt.allowCustomizedBuiltInElements=$t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),He&&(wt=!1),Oe&&(Mn=!0),er&&(yt=Lo({},$w(ZMe)),nn=[],er.html===!0&&(Lo(yt,QMe),Lo(nn,JMe)),er.svg===!0&&(Lo(yt,v1e),Lo(nn,y1e),Lo(nn,DU)),er.svgFilters===!0&&(Lo(yt,w1e),Lo(nn,y1e),Lo(nn,DU)),er.mathMl===!0&&(Lo(yt,m1e),Lo(nn,eDe),Lo(nn,DU))),$t.ADD_TAGS&&(yt===Mt&&(yt=jE(yt)),Lo(yt,$t.ADD_TAGS,un)),$t.ADD_ATTR&&(nn===dn&&(nn=jE(nn)),Lo(nn,$t.ADD_ATTR,un)),$t.ADD_URI_SAFE_ATTR&&Lo(is,$t.ADD_URI_SAFE_ATTR,un),$t.FORBID_CONTENTS&&(Fn===nr&&(Fn=jE(Fn)),Lo(Fn,$t.FORBID_CONTENTS,un)),tr&&(yt["#text"]=!0),Ze&&Lo(yt,["html","head","body"]),yt.table&&(Lo(yt,["tbody"]),delete Lr.tbody),tg&&tg($t),Ks=$t)},Va=Lo({},["mi","mo","mn","ms","mtext"]),Ba=Lo({},["foreignobject","desc","title","annotation-xml"]),Ta=Lo({},["title","style","font","a","script"]),ss=Lo({},v1e);Lo(ss,w1e),Lo(ss,B7t);var Zs=Lo({},m1e);Lo(Zs,F7t);var Fa=function($t){var Mr=ce($t);(!Mr||!Mr.tagName)&&(Mr={namespaceURI:Ji,tagName:"template"});var bi=LU($t.tagName),Aa=LU(Mr.tagName);return vr[$t.namespaceURI]?$t.namespaceURI===Cc?Mr.namespaceURI===na?bi==="svg":Mr.namespaceURI===da?bi==="svg"&&(Aa==="annotation-xml"||Va[Aa]):Boolean(ss[bi]):$t.namespaceURI===da?Mr.namespaceURI===na?bi==="math":Mr.namespaceURI===Cc?bi==="math"&&Ba[Aa]:Boolean(Zs[bi]):$t.namespaceURI===na?Mr.namespaceURI===Cc&&!Ba[Aa]||Mr.namespaceURI===da&&!Va[Aa]?!1:!Zs[bi]&&(Ta[bi]||!ss[bi]):!!(ni==="application/xhtml+xml"&&vr[$t.namespaceURI]):!1},$s=function($t){bN(o.removed,{element:$t});try{$t.parentNode.removeChild($t)}catch{try{$t.outerHTML=Ee}catch{$t.remove()}}},ap=function($t,Mr){try{bN(o.removed,{attribute:Mr.getAttributeNode($t),from:Mr})}catch{bN(o.removed,{attribute:null,from:Mr})}if(Mr.removeAttribute($t),$t==="is"&&!nn[$t])if(Mn||Oe)try{$s(Mr)}catch{}else try{Mr.setAttribute($t,"")}catch{}},Xb=function($t){var Mr,bi;if(Ve)$t="<remove></remove>"+$t;else{var Aa=I7t($t,/^[\r\n\t ]+/);bi=Aa&&Aa[0]}ni==="application/xhtml+xml"&&Ji===na&&($t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+$t+"</body></html>");var Nc=xe?xe.createHTML($t):$t;if(Ji===na)try{Mr=new H().parseFromString(Nc,ni)}catch{}if(!Mr||!Mr.documentElement){Mr=fe.createDocument(Ji,"template",null);try{Mr.documentElement.innerHTML=Fi?Ee:Nc}catch{}}var $c=Mr.body||Mr.documentElement;return $t&&bi&&$c.insertBefore(p.createTextNode(bi),$c.childNodes[0]||null),Ji===na?we.call(Mr,Ze?"html":"body")[0]:Ze?Mr.documentElement:$c},bu=function($t){return ye.call($t.ownerDocument||$t,$t,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT,null,!1)},ra=function($t){return $t instanceof F&&(typeof $t.nodeName!="string"||typeof $t.textContent!="string"||typeof $t.removeChild!="function"||!($t.attributes instanceof B)||typeof $t.removeAttribute!="function"||typeof $t.setAttribute!="function"||typeof $t.namespaceURI!="string"||typeof $t.insertBefore!="function"||typeof $t.hasChildNodes!="function")},Ju=function($t){return Vk(b)==="object"?$t instanceof b:$t&&Vk($t)==="object"&&typeof $t.nodeType=="number"&&typeof $t.nodeName=="string"},lf=function($t,Mr,bi){De[$t]&&D7t(De[$t],function(Aa){Aa.call(o,Mr,bi,Ks)})},el=function($t){var Mr;if(lf("beforeSanitizeElements",$t,null),ra($t)||ng(/[\u0080-\uFFFF]/,$t.nodeName))return $s($t),!0;var bi=un($t.nodeName);if(lf("uponSanitizeElement",$t,{tagName:bi,allowedTags:yt}),$t.hasChildNodes()&&!Ju($t.firstElementChild)&&(!Ju($t.content)||!Ju($t.content.firstElementChild))&&ng(/<[/\w]/g,$t.innerHTML)&&ng(/<[/\w]/g,$t.textContent)||bi==="select"&&ng(/<template/i,$t.innerHTML))return $s($t),!0;if(!yt[bi]||Lr[bi]){if(!Lr[bi]&&vu(bi)&&(vt.tagNameCheck instanceof RegExp&&ng(vt.tagNameCheck,bi)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(bi)))return!1;if(tr&&!Fn[bi]){var Aa=ce($t)||$t.parentNode,Nc=le($t)||$t.childNodes;if(Nc&&Aa)for(var $c=Nc.length,wu=$c-1;wu>=0;--wu)Aa.insertBefore(Z(Nc[wu],!0),ae($t))}return $s($t),!0}return $t instanceof _&&!Fa($t)||(bi==="noscript"||bi==="noembed")&&ng(/<\/no(script|embed)/i,$t.innerHTML)?($s($t),!0):(He&&$t.nodeType===3&&(Mr=$t.textContent,Mr=zw(Mr,X," "),Mr=zw(Mr,Re," "),Mr=zw(Mr,pe," "),$t.textContent!==Mr&&(bN(o.removed,{element:$t.cloneNode()}),$t.textContent=Mr)),lf("afterSanitizeElements",$t,null),!1)},Rl=function($t,Mr,bi){if(rn&&(Mr==="id"||Mr==="name")&&(bi in p||bi in Hn))return!1;if(!(wt&&!xt[Mr]&&ng(Ge,Mr))){if(!(Tt&&ng(de,Mr))){if(!nn[Mr]||xt[Mr]){if(!(vu($t)&&(vt.tagNameCheck instanceof RegExp&&ng(vt.tagNameCheck,$t)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck($t))&&(vt.attributeNameCheck instanceof RegExp&&ng(vt.attributeNameCheck,Mr)||vt.attributeNameCheck instanceof Function&&vt.attributeNameCheck(Mr))||Mr==="is"&&vt.allowCustomizedBuiltInElements&&(vt.tagNameCheck instanceof RegExp&&ng(vt.tagNameCheck,bi)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(bi))))return!1}else if(!is[Mr]){if(!ng(St,zw(bi,bt,""))){if(!((Mr==="src"||Mr==="xlink:href"||Mr==="href")&&$t!=="script"&&O7t(bi,"data:")===0&&ha[$t])){if(!(At&&!ng(ct,zw(bi,bt,"")))){if(bi)return!1}}}}}}return!0},vu=function($t){return $t.indexOf("-")>0},Mh=function($t){var Mr,bi,Aa,Nc;lf("beforeSanitizeAttributes",$t,null);var $c=$t.attributes;if($c){var wu={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:nn};for(Nc=$c.length;Nc--;){Mr=$c[Nc];var oh=Mr,tl=oh.name,Qb=oh.namespaceURI;if(bi=tl==="value"?Mr.value:N7t(Mr.value),Aa=un(tl),wu.attrName=Aa,wu.attrValue=bi,wu.keepAttr=!0,wu.forceKeepAttr=void 0,lf("uponSanitizeAttribute",$t,wu),bi=wu.attrValue,!wu.forceKeepAttr&&(ap(tl,$t),!!wu.keepAttr)){if(ng(/\/>/i,bi)){ap(tl,$t);continue}He&&(bi=zw(bi,X," "),bi=zw(bi,Re," "),bi=zw(bi,pe," "));var rm=un($t.nodeName);if(Rl(rm,Aa,bi)){if(pi&&(Aa==="id"||Aa==="name")&&(ap(tl,$t),bi=Fr+bi),xe&&Vk(j)==="object"&&typeof j.getAttributeType=="function"&&!Qb)switch(j.getAttributeType(rm,Aa)){case"TrustedHTML":bi=xe.createHTML(bi);break;case"TrustedScriptURL":bi=xe.createScriptURL(bi);break}try{Qb?$t.setAttributeNS(Qb,tl,bi):$t.setAttribute(tl,bi),XMe(o.removed)}catch{}}}}lf("afterSanitizeAttributes",$t,null)}},ah=function Ai($t){var Mr,bi=bu($t);for(lf("beforeSanitizeShadowDOM",$t,null);Mr=bi.nextNode();)lf("uponSanitizeShadowNode",Mr,null),!el(Mr)&&(Mr.content instanceof w&&Ai(Mr.content),Mh(Mr));lf("afterSanitizeShadowDOM",$t,null)};return o.sanitize=function(Ai){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mr,bi,Aa,Nc,$c;if(Fi=!Ai,Fi&&(Ai="<!-->"),typeof Ai!="string"&&!Ju(Ai)){if(typeof Ai.toString!="function")throw b1e("toString is not a function");if(Ai=Ai.toString(),typeof Ai!="string")throw b1e("dirty is not a string, aborting")}if(!o.isSupported){if(Vk(s.toStaticHTML)==="object"||typeof s.toStaticHTML=="function"){if(typeof Ai=="string")return s.toStaticHTML(Ai);if(Ju(Ai))return s.toStaticHTML(Ai.outerHTML)}return Ai}if(Lt||Ea($t),o.removed=[],typeof Ai=="string"&&(Wn=!1),Wn){if(Ai.nodeName){var wu=un(Ai.nodeName);if(!yt[wu]||Lr[wu])throw b1e("root node is forbidden and cannot be sanitized in-place")}}else if(Ai instanceof b)Mr=Xb("<!---->"),bi=Mr.ownerDocument.importNode(Ai,!0),bi.nodeType===1&&bi.nodeName==="BODY"||bi.nodeName==="HTML"?Mr=bi:Mr.appendChild(bi);else{if(!Mn&&!He&&!Ze&&Ai.indexOf("<")===-1)return xe&&Di?xe.createHTML(Ai):Ai;if(Mr=Xb(Ai),!Mr)return Mn?null:Di?Ee:""}Mr&&Ve&&$s(Mr.firstChild);for(var oh=bu(Wn?Ai:Mr);Aa=oh.nextNode();)Aa.nodeType===3&&Aa===Nc||el(Aa)||(Aa.content instanceof w&&ah(Aa.content),Mh(Aa),Nc=Aa);if(Nc=null,Wn)return Ai;if(Mn){if(Oe)for($c=re.call(Mr.ownerDocument);Mr.firstChild;)$c.appendChild(Mr.firstChild);else $c=Mr;return nn.shadowroot&&($c=ke.call(f,$c,!0)),$c}var tl=Ze?Mr.outerHTML:Mr.innerHTML;return Ze&&yt["!doctype"]&&Mr.ownerDocument&&Mr.ownerDocument.doctype&&Mr.ownerDocument.doctype.name&&ng(U7t,Mr.ownerDocument.doctype.name)&&(tl="<!DOCTYPE "+Mr.ownerDocument.doctype.name+`>
-`+tl),He&&(tl=zw(tl,X," "),tl=zw(tl,Re," "),tl=zw(tl,pe," ")),xe&&Di?xe.createHTML(tl):tl},o.setConfig=function(Ai){Ea(Ai),Lt=!0},o.clearConfig=function(){Ks=null,Lt=!1},o.isValidAttribute=function(Ai,$t,Mr){Ks||Ea({});var bi=un(Ai),Aa=un($t);return Rl(bi,Aa,Mr)},o.addHook=function(Ai,$t){typeof $t=="function"&&(De[Ai]=De[Ai]||[],bN(De[Ai],$t))},o.removeHook=function(Ai){if(De[Ai])return XMe(De[Ai])},o.removeHooks=function(Ai){De[Ai]&&(De[Ai]=[])},o.removeAllHooks=function(){De={}},o}var vN=tDe();const Y7t=s=>s?iDe(s).replace(/\\n/g,"#br#").split("#br#"):[""],nDe=s=>vN.sanitize(s),rDe=(s,o)=>{var f;if(((f=o.flowchart)==null?void 0:f.htmlLabels)!==!1){const p=o.securityLevel;p==="antiscript"||p==="strict"?s=nDe(s):p!=="loose"&&(s=iDe(s),s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;"),s=s.replace(/=/g,"&equals;"),s=J7t(s))}return s},T2=(s,o)=>s&&(o.dompurifyConfig?s=vN.sanitize(rDe(s,o),o.dompurifyConfig).toString():s=vN.sanitize(rDe(s,o),{FORBID_TAGS:["style"]}).toString(),s),X7t=(s,o)=>typeof s=="string"?T2(s,o):s.flat().map(f=>T2(f,o)),IU=/<br\s*\/?>/gi,Q7t=s=>IU.test(s),Z7t=s=>s.split(IU),J7t=s=>s.replace(/#br#/g,"<br/>"),iDe=s=>s.replace(IU,"#br#"),eEt=s=>{let o="";return s&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=o.replaceAll(/\(/g,"\\("),o=o.replaceAll(/\)/g,"\\)")),o},l1=s=>!(s===!1||["false","null","0"].includes(String(s).trim().toLowerCase())),Uk=function(s){let o=s;if(s.split("~").length-1>=2){let f=o;do o=f,f=o.replace(/~([^\s,:;]+)~/,"<$1>");while(f!=o);return Uk(f)}else return o},xa={getRows:Y7t,sanitizeText:T2,sanitizeTextOrArray:X7t,hasBreaks:Q7t,splitBreaks:Z7t,lineBreakRegex:IU,removeScript:nDe,getUrl:eEt,evaluate:l1},OU={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:s=>s>=255?255:s<0?0:s,g:s=>s>=255?255:s<0?0:s,b:s=>s>=255?255:s<0?0:s,h:s=>s%360,s:s=>s>=100?100:s<0?0:s,l:s=>s>=100?100:s<0?0:s,a:s=>s>=1?1:s<0?0:s},toLinear:s=>{const o=s/255;return s>.03928?Math.pow((o+.055)/1.055,2.4):o/12.92},hue2rgb:(s,o,f)=>(f<0&&(f+=1),f>1&&(f-=1),f<1/6?s+(o-s)*6*f:f<1/2?o:f<2/3?s+(o-s)*(2/3-f)*6:s),hsl2rgb:({h:s,s:o,l:f},p)=>{if(!o)return f*2.55;s/=360,o/=100,f/=100;const w=f<.5?f*(1+o):f+o-f*o,k=2*f-w;switch(p){case"r":return OU.hue2rgb(k,w,s+1/3)*255;case"g":return OU.hue2rgb(k,w,s)*255;case"b":return OU.hue2rgb(k,w,s-1/3)*255}},rgb2hsl:({r:s,g:o,b:f},p)=>{s/=255,o/=255,f/=255;const w=Math.max(s,o,f),k=Math.min(s,o,f),b=(w+k)/2;if(p==="l")return b*100;if(w===k)return 0;const _=w-k,A=b>.5?_/(2-w-k):_/(w+k);if(p==="s")return A*100;switch(w){case s:return((o-f)/_+(o<f?6:0))*60;case o:return((f-s)/_+2)*60;case f:return((s-o)/_+4)*60;default:return-1}}},Na={channel:OU,lang:{clamp:(s,o,f)=>o>f?Math.min(o,Math.max(f,s)):Math.min(f,Math.max(o,s)),round:s=>Math.round(s*1e10)/1e10},unit:{dec2hex:s=>{const o=Math.round(s).toString(16);return o.length>1?o:`0${o}`}}},Kk={};for(let s=0;s<=255;s++)Kk[s]=Na.unit.dec2hex(s);const w0={ALL:0,RGB:1,HSL:2};class tEt{constructor(){this.type=w0.ALL}get(){return this.type}set(o){if(this.type&&this.type!==o)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=o}reset(){this.type=w0.ALL}is(o){return this.type===o}}const nEt=tEt;class rEt{constructor(o,f){this.color=f,this.changed=!1,this.data=o,this.type=new nEt}set(o,f){return this.color=f,this.changed=!1,this.data=o,this.type.type=w0.ALL,this}_ensureHSL(){const o=this.data,{h:f,s:p,l:w}=o;f===void 0&&(o.h=Na.channel.rgb2hsl(o,"h")),p===void 0&&(o.s=Na.channel.rgb2hsl(o,"s")),w===void 0&&(o.l=Na.channel.rgb2hsl(o,"l"))}_ensureRGB(){const o=this.data,{r:f,g:p,b:w}=o;f===void 0&&(o.r=Na.channel.hsl2rgb(o,"r")),p===void 0&&(o.g=Na.channel.hsl2rgb(o,"g")),w===void 0&&(o.b=Na.channel.hsl2rgb(o,"b"))}get r(){const o=this.data,f=o.r;return!this.type.is(w0.HSL)&&f!==void 0?f:(this._ensureHSL(),Na.channel.hsl2rgb(o,"r"))}get g(){const o=this.data,f=o.g;return!this.type.is(w0.HSL)&&f!==void 0?f:(this._ensureHSL(),Na.channel.hsl2rgb(o,"g"))}get b(){const o=this.data,f=o.b;return!this.type.is(w0.HSL)&&f!==void 0?f:(this._ensureHSL(),Na.channel.hsl2rgb(o,"b"))}get h(){const o=this.data,f=o.h;return!this.type.is(w0.RGB)&&f!==void 0?f:(this._ensureRGB(),Na.channel.rgb2hsl(o,"h"))}get s(){const o=this.data,f=o.s;return!this.type.is(w0.RGB)&&f!==void 0?f:(this._ensureRGB(),Na.channel.rgb2hsl(o,"s"))}get l(){const o=this.data,f=o.l;return!this.type.is(w0.RGB)&&f!==void 0?f:(this._ensureRGB(),Na.channel.rgb2hsl(o,"l"))}get a(){return this.data.a}set r(o){this.type.set(w0.RGB),this.changed=!0,this.data.r=o}set g(o){this.type.set(w0.RGB),this.changed=!0,this.data.g=o}set b(o){this.type.set(w0.RGB),this.changed=!0,this.data.b=o}set h(o){this.type.set(w0.HSL),this.changed=!0,this.data.h=o}set s(o){this.type.set(w0.HSL),this.changed=!0,this.data.s=o}set l(o){this.type.set(w0.HSL),this.changed=!0,this.data.l=o}set a(o){this.changed=!0,this.data.a=o}}const iEt=rEt,NU=new iEt({r:0,g:0,b:0,a:0},"transparent"),sDe={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:s=>{if(s.charCodeAt(0)!==35)return;const o=s.match(sDe.re);if(!o)return;const f=o[1],p=parseInt(f,16),w=f.length,k=w%4===0,b=w>4,_=b?1:17,A=b?8:4,N=k?0:-1,B=b?255:15;return NU.set({r:(p>>A*(N+3)&B)*_,g:(p>>A*(N+2)&B)*_,b:(p>>A*(N+1)&B)*_,a:k?(p&B)*_/255:1},s)},stringify:s=>{const{r:o,g:f,b:p,a:w}=s;return w<1?`#${Kk[Math.round(o)]}${Kk[Math.round(f)]}${Kk[Math.round(p)]}${Kk[Math.round(w*255)]}`:`#${Kk[Math.round(o)]}${Kk[Math.round(f)]}${Kk[Math.round(p)]}`}},wN=sDe,PU={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:s=>{const o=s.match(PU.hueRe);if(o){const[,f,p]=o;switch(p){case"grad":return Na.channel.clamp.h(parseFloat(f)*.9);case"rad":return Na.channel.clamp.h(parseFloat(f)*180/Math.PI);case"turn":return Na.channel.clamp.h(parseFloat(f)*360)}}return Na.channel.clamp.h(parseFloat(s))},parse:s=>{const o=s.charCodeAt(0);if(o!==104&&o!==72)return;const f=s.match(PU.re);if(!f)return;const[,p,w,k,b,_]=f;return NU.set({h:PU._hue2deg(p),s:Na.channel.clamp.s(parseFloat(w)),l:Na.channel.clamp.l(parseFloat(k)),a:b?Na.channel.clamp.a(_?parseFloat(b)/100:parseFloat(b)):1},s)},stringify:s=>{const{h:o,s:f,l:p,a:w}=s;return w<1?`hsla(${Na.lang.round(o)}, ${Na.lang.round(f)}%, ${Na.lang.round(p)}%, ${w})`:`hsl(${Na.lang.round(o)}, ${Na.lang.round(f)}%, ${Na.lang.round(p)}%)`}},BU=PU,FU={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:s=>{s=s.toLowerCase();const o=FU.colors[s];if(o)return wN.parse(o)},stringify:s=>{const o=wN.stringify(s);for(const f in FU.colors)if(FU.colors[f]===o)return f}},aDe=FU,oDe={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:s=>{const o=s.charCodeAt(0);if(o!==114&&o!==82)return;const f=s.match(oDe.re);if(!f)return;const[,p,w,k,b,_,A,N,B]=f;return NU.set({r:Na.channel.clamp.r(w?parseFloat(p)*2.55:parseFloat(p)),g:Na.channel.clamp.g(b?parseFloat(k)*2.55:parseFloat(k)),b:Na.channel.clamp.b(A?parseFloat(_)*2.55:parseFloat(_)),a:N?Na.channel.clamp.a(B?parseFloat(N)/100:parseFloat(N)):1},s)},stringify:s=>{const{r:o,g:f,b:p,a:w}=s;return w<1?`rgba(${Na.lang.round(o)}, ${Na.lang.round(f)}, ${Na.lang.round(p)}, ${Na.lang.round(w)})`:`rgb(${Na.lang.round(o)}, ${Na.lang.round(f)}, ${Na.lang.round(p)})`}},RU=oDe,e3={format:{keyword:aDe,hex:wN,rgb:RU,rgba:RU,hsl:BU,hsla:BU},parse:s=>{if(typeof s!="string")return s;const o=wN.parse(s)||RU.parse(s)||BU.parse(s)||aDe.parse(s);if(o)return o;throw new Error(`Unsupported color format: "${s}"`)},stringify:s=>!s.changed&&s.color?s.color:s.type.is(w0.HSL)||s.data.r===void 0?BU.stringify(s):s.a<1||!Number.isInteger(s.r)||!Number.isInteger(s.g)||!Number.isInteger(s.b)?RU.stringify(s):wN.stringify(s)},cDe=(s,o)=>{const f=e3.parse(s);for(const p in o)f[p]=Na.channel.clamp[p](o[p]);return e3.stringify(f)},mN=(s,o,f=0,p=1)=>{if(typeof s!="number")return cDe(s,{a:o});const w=NU.set({r:Na.channel.clamp.r(s),g:Na.channel.clamp.g(o),b:Na.channel.clamp.b(f),a:Na.channel.clamp.a(p)});return e3.stringify(w)},sEt=s=>{const{r:o,g:f,b:p}=e3.parse(s),w=.2126*Na.channel.toLinear(o)+.7152*Na.channel.toLinear(f)+.0722*Na.channel.toLinear(p);return Na.lang.round(w)},aEt=s=>sEt(s)>=.5,uDe=s=>!aEt(s),lDe=(s,o,f)=>{const p=e3.parse(s),w=p[o],k=Na.channel.clamp[o](w+f);return w!==k&&(p[o]=k),e3.stringify(p)},Qs=(s,o)=>lDe(s,"l",o),Sa=(s,o)=>lDe(s,"l",-o),Gn=(s,o)=>{const f=e3.parse(s),p={};for(const w in o)o[w]&&(p[w]=f[w]+o[w]);return cDe(s,p)},oEt=(s,o,f=50)=>{const{r:p,g:w,b:k,a:b}=e3.parse(s),{r:_,g:A,b:N,a:B}=e3.parse(o),F=f/100,H=F*2-1,j=b-B,Z=((H*j===-1?H:(H+j)/(1+H*j))+1)/2,ae=1-Z,le=p*Z+_*ae,ce=w*Z+A*ae,be=k*Z+N*ae,xe=b*F+B*(1-F);return mN(le,ce,be,xe)},$i=(s,o=100)=>{const f=e3.parse(s);return f.r=255-f.r,f.g=255-f.g,f.b=255-f.b,oEt(f,s,o)},rg=(s,o)=>o?Gn(s,{s:-40,l:10}):Gn(s,{s:-40,l:-10}),jU="#ffffff",$U="#f2f2f2";let cEt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Gn(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Gn(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||rg(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||rg(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||rg(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||rg(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||$i(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||$i(this.tertiaryColor),this.lineColor=this.lineColor||$i(this.background),this.textColor=this.textColor||this.primaryTextColor,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?Sa(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||Sa(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||$i(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||Qs(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||Gn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Gn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Gn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Gn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Gn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Gn(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Gn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Gn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Gn(this.primaryColor,{h:330}),this.darkMode)for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=Sa(this["cScale"+f],75);else for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=Sa(this["cScale"+f],25);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||$i(this["cScale"+f]);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this.darkMode?this["cScalePeer"+f]=this["cScalePeer"+f]||Qs(this["cScale"+f],10):this["cScalePeer"+f]=this["cScalePeer"+f]||Sa(this["cScale"+f],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;const o=this.darkMode?-4:-1;for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||Gn(this.mainBkg,{h:180,s:-15,l:o*(5+f*3)}),this["surfacePeer"+f]=this["surfacePeer"+f]||Gn(this.mainBkg,{h:180,s:-15,l:o*(8+f*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Gn(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Gn(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Gn(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Gn(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Gn(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Gn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Gn(this.primaryColor,{l:-10}),this.pie5=this.pie5||Gn(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Gn(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Gn(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Gn(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Gn(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Gn(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Gn(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Gn(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Sa(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Gn(this.primaryColor,{h:-30}),this.git4=this.git4||Gn(this.primaryColor,{h:-60}),this.git5=this.git5||Gn(this.primaryColor,{h:-90}),this.git6=this.git6||Gn(this.primaryColor,{h:60}),this.git7=this.git7||Gn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Qs(this.git0,25),this.git1=Qs(this.git1,25),this.git2=Qs(this.git2,25),this.git3=Qs(this.git3,25),this.git4=Qs(this.git4,25),this.git5=Qs(this.git5,25),this.git6=Qs(this.git6,25),this.git7=Qs(this.git7,25)):(this.git0=Sa(this.git0,25),this.git1=Sa(this.git1,25),this.git2=Sa(this.git2,25),this.git3=Sa(this.git3,25),this.git4=Sa(this.git4,25),this.git5=Sa(this.git5,25),this.git6=Sa(this.git6,25),this.git7=Sa(this.git7,25)),this.gitInv0=this.gitInv0||$i(this.git0),this.gitInv1=this.gitInv1||$i(this.git1),this.gitInv2=this.gitInv2||$i(this.git2),this.gitInv3=this.gitInv3||$i(this.git3),this.gitInv4=this.gitInv4||$i(this.git4),this.gitInv5=this.gitInv5||$i(this.git5),this.gitInv6=this.gitInv6||$i(this.git6),this.gitInv7=this.gitInv7||$i(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||jU,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||$U}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(p=>{this[p]=o[p]}),this.updateColors(),f.forEach(p=>{this[p]=o[p]})}};const uEt=s=>{const o=new cEt;return o.calculate(s),o};let lEt=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Qs(this.primaryColor,16),this.tertiaryColor=Gn(this.primaryColor,{h:-160}),this.primaryBorderColor=$i(this.background),this.secondaryBorderColor=rg(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=rg(this.tertiaryColor,this.darkMode),this.primaryTextColor=$i(this.primaryColor),this.secondaryTextColor=$i(this.secondaryColor),this.tertiaryTextColor=$i(this.tertiaryColor),this.lineColor=$i(this.background),this.textColor=$i(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Qs($i("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=mN(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=Sa("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=mN(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=mN(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="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=Qs(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=Qs(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=Qs(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=Gn(this.primaryColor,{h:64}),this.fillType3=Gn(this.secondaryColor,{h:64}),this.fillType4=Gn(this.primaryColor,{h:-64}),this.fillType5=Gn(this.secondaryColor,{h:-64}),this.fillType6=Gn(this.primaryColor,{h:128}),this.fillType7=Gn(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||Gn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Gn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Gn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Gn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Gn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Gn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Gn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Gn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Gn(this.primaryColor,{h:330});for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||$i(this["cScale"+o]);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScalePeer"+o]=this["cScalePeer"+o]||Qs(this["cScale"+o],10);for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||Gn(this.mainBkg,{h:30,s:-30,l:-(-10+o*4)}),this["surfacePeer"+o]=this["surfacePeer"+o]||Gn(this.mainBkg,{h:30,s:-30,l:-(-7+o*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["pie"+o]=this["cScale"+o];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Sa(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Qs(this.secondaryColor,20),this.git1=Qs(this.pie2||this.secondaryColor,20),this.git2=Qs(this.pie3||this.tertiaryColor,20),this.git3=Qs(this.pie4||Gn(this.primaryColor,{h:-30}),20),this.git4=Qs(this.pie5||Gn(this.primaryColor,{h:-60}),20),this.git5=Qs(this.pie6||Gn(this.primaryColor,{h:-90}),10),this.git6=Qs(this.pie7||Gn(this.primaryColor,{h:60}),10),this.git7=Qs(this.pie8||Gn(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||$i(this.git0),this.gitInv1=this.gitInv1||$i(this.git1),this.gitInv2=this.gitInv2||$i(this.git2),this.gitInv3=this.gitInv3||$i(this.git3),this.gitInv4=this.gitInv4||$i(this.git4),this.gitInv5=this.gitInv5||$i(this.git5),this.gitInv6=this.gitInv6||$i(this.git6),this.gitInv7=this.gitInv7||$i(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Qs(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Qs(this.background,2)}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(p=>{this[p]=o[p]}),this.updateColors(),f.forEach(p=>{this[p]=o[p]})}};const hEt=s=>{const o=new lEt;return o.calculate(s),o};let fEt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=Gn(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=Gn(this.primaryColor,{h:-160}),this.primaryBorderColor=rg(this.primaryColor,this.darkMode),this.secondaryBorderColor=rg(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=rg(this.tertiaryColor,this.darkMode),this.primaryTextColor=$i(this.primaryColor),this.secondaryTextColor=$i(this.secondaryColor),this.tertiaryTextColor=$i(this.tertiaryColor),this.lineColor=$i(this.background),this.textColor=$i(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=mN(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="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Gn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Gn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Gn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Gn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Gn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Gn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Gn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Gn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Gn(this.primaryColor,{h:330}),this["cScalePeer"+1]=this["cScalePeer"+1]||Sa(this.secondaryColor,45),this["cScalePeer"+2]=this["cScalePeer"+2]||Sa(this.tertiaryColor,40);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScale"+o]=Sa(this["cScale"+o],10),this["cScalePeer"+o]=this["cScalePeer"+o]||Sa(this["cScale"+o],25);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||Gn(this["cScale"+o],{h:180});for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||Gn(this.mainBkg,{h:30,l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||Gn(this.mainBkg,{h:30,l:-(7+o*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||$i(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||$i(this.labelTextColor);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=Qs(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Gn(this.primaryColor,{h:64}),this.fillType3=Gn(this.secondaryColor,{h:64}),this.fillType4=Gn(this.primaryColor,{h:-64}),this.fillType5=Gn(this.secondaryColor,{h:-64}),this.fillType6=Gn(this.primaryColor,{h:128}),this.fillType7=Gn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||Gn(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||Gn(this.primaryColor,{l:-10}),this.pie5=this.pie5||Gn(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Gn(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||Gn(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||Gn(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||Gn(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||Gn(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||Gn(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||Gn(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Gn(this.primaryColor,{h:-30}),this.git4=this.git4||Gn(this.primaryColor,{h:-60}),this.git5=this.git5||Gn(this.primaryColor,{h:-90}),this.git6=this.git6||Gn(this.primaryColor,{h:60}),this.git7=this.git7||Gn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Qs(this.git0,25),this.git1=Qs(this.git1,25),this.git2=Qs(this.git2,25),this.git3=Qs(this.git3,25),this.git4=Qs(this.git4,25),this.git5=Qs(this.git5,25),this.git6=Qs(this.git6,25),this.git7=Qs(this.git7,25)):(this.git0=Sa(this.git0,25),this.git1=Sa(this.git1,25),this.git2=Sa(this.git2,25),this.git3=Sa(this.git3,25),this.git4=Sa(this.git4,25),this.git5=Sa(this.git5,25),this.git6=Sa(this.git6,25),this.git7=Sa(this.git7,25)),this.gitInv0=this.gitInv0||Sa($i(this.git0),25),this.gitInv1=this.gitInv1||$i(this.git1),this.gitInv2=this.gitInv2||$i(this.git2),this.gitInv3=this.gitInv3||$i(this.git3),this.gitInv4=this.gitInv4||$i(this.git4),this.gitInv5=this.gitInv5||$i(this.git5),this.gitInv6=this.gitInv6||$i(this.git6),this.gitInv7=this.gitInv7||$i(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||$i(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||$i(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||jU,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||$U}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(p=>{this[p]=o[p]}),this.updateColors(),f.forEach(p=>{this[p]=o[p]})}};const dEt=s=>{const o=new fEt;return o.calculate(s),o};let gEt=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=Qs("#cde498",10),this.primaryBorderColor=rg(this.primaryColor,this.darkMode),this.secondaryBorderColor=rg(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=rg(this.tertiaryColor,this.darkMode),this.primaryTextColor=$i(this.primaryColor),this.secondaryTextColor=$i(this.secondaryColor),this.tertiaryTextColor=$i(this.primaryColor),this.lineColor=$i(this.background),this.textColor=$i(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="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Gn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Gn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Gn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Gn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Gn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Gn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Gn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Gn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Gn(this.primaryColor,{h:330}),this["cScalePeer"+1]=this["cScalePeer"+1]||Sa(this.secondaryColor,45),this["cScalePeer"+2]=this["cScalePeer"+2]||Sa(this.tertiaryColor,40);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScale"+o]=Sa(this["cScale"+o],10),this["cScalePeer"+o]=this["cScalePeer"+o]||Sa(this["cScale"+o],25);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||Gn(this["cScale"+o],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||Gn(this.mainBkg,{h:30,s:-30,l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||Gn(this.mainBkg,{h:30,s:-30,l:-(8+o*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=Sa(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.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Gn(this.primaryColor,{h:64}),this.fillType3=Gn(this.secondaryColor,{h:64}),this.fillType4=Gn(this.primaryColor,{h:-64}),this.fillType5=Gn(this.secondaryColor,{h:-64}),this.fillType6=Gn(this.primaryColor,{h:128}),this.fillType7=Gn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Gn(this.primaryColor,{l:-30}),this.pie5=this.pie5||Gn(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Gn(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||Gn(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Gn(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Gn(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Gn(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||Gn(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||Gn(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Gn(this.primaryColor,{h:-30}),this.git4=this.git4||Gn(this.primaryColor,{h:-60}),this.git5=this.git5||Gn(this.primaryColor,{h:-90}),this.git6=this.git6||Gn(this.primaryColor,{h:60}),this.git7=this.git7||Gn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Qs(this.git0,25),this.git1=Qs(this.git1,25),this.git2=Qs(this.git2,25),this.git3=Qs(this.git3,25),this.git4=Qs(this.git4,25),this.git5=Qs(this.git5,25),this.git6=Qs(this.git6,25),this.git7=Qs(this.git7,25)):(this.git0=Sa(this.git0,25),this.git1=Sa(this.git1,25),this.git2=Sa(this.git2,25),this.git3=Sa(this.git3,25),this.git4=Sa(this.git4,25),this.git5=Sa(this.git5,25),this.git6=Sa(this.git6,25),this.git7=Sa(this.git7,25)),this.gitInv0=this.gitInv0||$i(this.git0),this.gitInv1=this.gitInv1||$i(this.git1),this.gitInv2=this.gitInv2||$i(this.git2),this.gitInv3=this.gitInv3||$i(this.git3),this.gitInv4=this.gitInv4||$i(this.git4),this.gitInv5=this.gitInv5||$i(this.git5),this.gitInv6=this.gitInv6||$i(this.git6),this.gitInv7=this.gitInv7||$i(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||jU,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||$U}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(p=>{this[p]=o[p]}),this.updateColors(),f.forEach(p=>{this[p]=o[p]})}};const pEt=s=>{const o=new gEt;return o.calculate(s),o};class bEt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Qs(this.contrast,55),this.background="#ffffff",this.tertiaryColor=Gn(this.primaryColor,{h:-160}),this.primaryBorderColor=rg(this.primaryColor,this.darkMode),this.secondaryBorderColor=rg(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=rg(this.tertiaryColor,this.darkMode),this.primaryTextColor=$i(this.primaryColor),this.secondaryTextColor=$i(this.secondaryColor),this.tertiaryTextColor=$i(this.tertiaryColor),this.lineColor=$i(this.background),this.textColor=$i(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="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=Qs(this.contrast,55),this.border2=this.contrast,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 o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||$i(this["cScale"+o]);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this.darkMode?this["cScalePeer"+o]=this["cScalePeer"+o]||Qs(this["cScale"+o],10):this["cScalePeer"+o]=this["cScalePeer"+o]||Sa(this["cScale"+o],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||Gn(this.mainBkg,{l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||Gn(this.mainBkg,{l:-(8+o*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=Qs(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.sectionBkgColor=Qs(this.contrast,30),this.sectionBkgColor2=Qs(this.contrast,30),this.taskBorderColor=Sa(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=Qs(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Sa(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Gn(this.primaryColor,{h:64}),this.fillType3=Gn(this.secondaryColor,{h:64}),this.fillType4=Gn(this.primaryColor,{h:-64}),this.fillType5=Gn(this.secondaryColor,{h:-64}),this.fillType6=Gn(this.primaryColor,{h:128}),this.fillType7=Gn(this.secondaryColor,{h:128});for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["pie"+o]=this["cScale"+o];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Sa(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||Gn(this.primaryColor,{h:-30}),this.git4=this.pie5||Gn(this.primaryColor,{h:-60}),this.git5=this.pie6||Gn(this.primaryColor,{h:-90}),this.git6=this.pie7||Gn(this.primaryColor,{h:60}),this.git7=this.pie8||Gn(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||$i(this.git0),this.gitInv1=this.gitInv1||$i(this.git1),this.gitInv2=this.gitInv2||$i(this.git2),this.gitInv3=this.gitInv3||$i(this.git3),this.gitInv4=this.gitInv4||$i(this.git4),this.gitInv5=this.gitInv5||$i(this.git5),this.gitInv6=this.gitInv6||$i(this.git6),this.gitInv7=this.gitInv7||$i(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||jU,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||$U}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(p=>{this[p]=o[p]}),this.updateColors(),f.forEach(p=>{this[p]=o[p]})}}const f5={base:{getThemeVariables:uEt},dark:{getThemeVariables:hEt},default:{getThemeVariables:dEt},forest:{getThemeVariables:pEt},neutral:{getThemeVariables:s=>{const o=new bEt;return o.calculate(s),o}}},Wk={theme:"default",themeVariables:f5.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{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,useMaxWidth:!0,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,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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{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,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,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},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,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,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}},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"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};Wk.class&&(Wk.class.arrowMarkerAbsolute=Wk.arrowMarkerAbsolute),Wk.gitGraph&&(Wk.gitGraph.arrowMarkerAbsolute=Wk.arrowMarkerAbsolute);const hDe=(s,o="")=>Object.keys(s).reduce((f,p)=>Array.isArray(s[p])?f:typeof s[p]=="object"&&s[p]!==null?[...f,o+p,...hDe(s[p],"")]:[...f,o+p],[]),vEt=hDe(Wk,""),wEt=Wk;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function fDe(s){return typeof s>"u"||s===null}function mEt(s){return typeof s=="object"&&s!==null}function yEt(s){return Array.isArray(s)?s:fDe(s)?[]:[s]}function kEt(s,o){var f,p,w,k;if(o)for(k=Object.keys(o),f=0,p=k.length;f<p;f+=1)w=k[f],s[w]=o[w];return s}function xEt(s,o){var f="",p;for(p=0;p<o;p+=1)f+=s;return f}function EEt(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}var TEt=fDe,_Et=mEt,CEt=yEt,SEt=xEt,AEt=EEt,LEt=kEt,ig={isNothing:TEt,isObject:_Et,toArray:CEt,repeat:SEt,isNegativeZero:AEt,extend:LEt};function dDe(s,o){var f="",p=s.reason||"(unknown reason)";return s.mark?(s.mark.name&&(f+='in "'+s.mark.name+'" '),f+="("+(s.mark.line+1)+":"+(s.mark.column+1)+")",!o&&s.mark.snippet&&(f+=`
-
-`+s.mark.snippet),p+" "+f):p}function yN(s,o){Error.call(this),this.name="YAMLException",this.reason=s,this.mark=o,this.message=dDe(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}yN.prototype=Object.create(Error.prototype),yN.prototype.constructor=yN,yN.prototype.toString=function(o){return this.name+": "+dDe(this,o)};var d5=yN;function k1e(s,o,f,p,w){var k="",b="",_=Math.floor(w/2)-1;return p-o>_&&(k=" ... ",o=p-_+k.length),f-p>_&&(b=" ...",f=p+_-b.length),{str:k+s.slice(o,f).replace(/\t/g,"→")+b,pos:p-o+k.length}}function x1e(s,o){return ig.repeat(" ",o-s.length)+s}function MEt(s,o){if(o=Object.create(o||null),!s.buffer)return null;o.maxLength||(o.maxLength=79),typeof o.indent!="number"&&(o.indent=1),typeof o.linesBefore!="number"&&(o.linesBefore=3),typeof o.linesAfter!="number"&&(o.linesAfter=2);for(var f=/\r?\n|\r|\0/g,p=[0],w=[],k,b=-1;k=f.exec(s.buffer);)w.push(k.index),p.push(k.index+k[0].length),s.position<=k.index&&b<0&&(b=p.length-2);b<0&&(b=p.length-1);var _="",A,N,B=Math.min(s.line+o.linesAfter,w.length).toString().length,F=o.maxLength-(o.indent+B+3);for(A=1;A<=o.linesBefore&&!(b-A<0);A++)N=k1e(s.buffer,p[b-A],w[b-A],s.position-(p[b]-p[b-A]),F),_=ig.repeat(" ",o.indent)+x1e((s.line-A+1).toString(),B)+" | "+N.str+`
-`+_;for(N=k1e(s.buffer,p[b],w[b],s.position,F),_+=ig.repeat(" ",o.indent)+x1e((s.line+1).toString(),B)+" | "+N.str+`
-`,_+=ig.repeat("-",o.indent+B+3+N.pos)+`^
-`,A=1;A<=o.linesAfter&&!(b+A>=w.length);A++)N=k1e(s.buffer,p[b+A],w[b+A],s.position-(p[b]-p[b+A]),F),_+=ig.repeat(" ",o.indent)+x1e((s.line+A+1).toString(),B)+" | "+N.str+`
-`;return _.replace(/\n$/,"")}var DEt=MEt,IEt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],OEt=["scalar","sequence","mapping"];function NEt(s){var o={};return s!==null&&Object.keys(s).forEach(function(f){s[f].forEach(function(p){o[String(p)]=f})}),o}function PEt(s,o){if(o=o||{},Object.keys(o).forEach(function(f){if(IEt.indexOf(f)===-1)throw new d5('Unknown option "'+f+'" is met in definition of "'+s+'" YAML type.')}),this.options=o,this.tag=s,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(f){return f},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=NEt(o.styleAliases||null),OEt.indexOf(this.kind)===-1)throw new d5('Unknown kind "'+this.kind+'" is specified for "'+s+'" YAML type.')}var m0=PEt;function gDe(s,o){var f=[];return s[o].forEach(function(p){var w=f.length;f.forEach(function(k,b){k.tag===p.tag&&k.kind===p.kind&&k.multi===p.multi&&(w=b)}),f[w]=p}),f}function BEt(){var s={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},o,f;function p(w){w.multi?(s.multi[w.kind].push(w),s.multi.fallback.push(w)):s[w.kind][w.tag]=s.fallback[w.tag]=w}for(o=0,f=arguments.length;o<f;o+=1)arguments[o].forEach(p);return s}function E1e(s){return this.extend(s)}E1e.prototype.extend=function(o){var f=[],p=[];if(o instanceof m0)p.push(o);else if(Array.isArray(o))p=p.concat(o);else if(o&&(Array.isArray(o.implicit)||Array.isArray(o.explicit)))o.implicit&&(f=f.concat(o.implicit)),o.explicit&&(p=p.concat(o.explicit));else throw new d5("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.forEach(function(k){if(!(k instanceof m0))throw new d5("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(k.loadKind&&k.loadKind!=="scalar")throw new d5("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(k.multi)throw new d5("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),p.forEach(function(k){if(!(k instanceof m0))throw new d5("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var w=Object.create(E1e.prototype);return w.implicit=(this.implicit||[]).concat(f),w.explicit=(this.explicit||[]).concat(p),w.compiledImplicit=gDe(w,"implicit"),w.compiledExplicit=gDe(w,"explicit"),w.compiledTypeMap=BEt(w.compiledImplicit,w.compiledExplicit),w};var FEt=E1e,REt=new m0("tag:yaml.org,2002:str",{kind:"scalar",construct:function(s){return s!==null?s:""}}),jEt=new m0("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(s){return s!==null?s:[]}}),$Et=new m0("tag:yaml.org,2002:map",{kind:"mapping",construct:function(s){return s!==null?s:{}}}),pDe=new FEt({explicit:[REt,jEt,$Et]});function HEt(s){if(s===null)return!0;var o=s.length;return o===1&&s==="~"||o===4&&(s==="null"||s==="Null"||s==="NULL")}function zEt(){return null}function GEt(s){return s===null}var qEt=new m0("tag:yaml.org,2002:null",{kind:"scalar",resolve:HEt,construct:zEt,predicate:GEt,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function VEt(s){if(s===null)return!1;var o=s.length;return o===4&&(s==="true"||s==="True"||s==="TRUE")||o===5&&(s==="false"||s==="False"||s==="FALSE")}function UEt(s){return s==="true"||s==="True"||s==="TRUE"}function KEt(s){return Object.prototype.toString.call(s)==="[object Boolean]"}var WEt=new m0("tag:yaml.org,2002:bool",{kind:"scalar",resolve:VEt,construct:UEt,predicate:KEt,represent:{lowercase:function(s){return s?"true":"false"},uppercase:function(s){return s?"TRUE":"FALSE"},camelcase:function(s){return s?"True":"False"}},defaultStyle:"lowercase"});function YEt(s){return 48<=s&&s<=57||65<=s&&s<=70||97<=s&&s<=102}function XEt(s){return 48<=s&&s<=55}function QEt(s){return 48<=s&&s<=57}function ZEt(s){if(s===null)return!1;var o=s.length,f=0,p=!1,w;if(!o)return!1;if(w=s[f],(w==="-"||w==="+")&&(w=s[++f]),w==="0"){if(f+1===o)return!0;if(w=s[++f],w==="b"){for(f++;f<o;f++)if(w=s[f],w!=="_"){if(w!=="0"&&w!=="1")return!1;p=!0}return p&&w!=="_"}if(w==="x"){for(f++;f<o;f++)if(w=s[f],w!=="_"){if(!YEt(s.charCodeAt(f)))return!1;p=!0}return p&&w!=="_"}if(w==="o"){for(f++;f<o;f++)if(w=s[f],w!=="_"){if(!XEt(s.charCodeAt(f)))return!1;p=!0}return p&&w!=="_"}}if(w==="_")return!1;for(;f<o;f++)if(w=s[f],w!=="_"){if(!QEt(s.charCodeAt(f)))return!1;p=!0}return!(!p||w==="_")}function JEt(s){var o=s,f=1,p;if(o.indexOf("_")!==-1&&(o=o.replace(/_/g,"")),p=o[0],(p==="-"||p==="+")&&(p==="-"&&(f=-1),o=o.slice(1),p=o[0]),o==="0")return 0;if(p==="0"){if(o[1]==="b")return f*parseInt(o.slice(2),2);if(o[1]==="x")return f*parseInt(o.slice(2),16);if(o[1]==="o")return f*parseInt(o.slice(2),8)}return f*parseInt(o,10)}function e9t(s){return Object.prototype.toString.call(s)==="[object Number]"&&s%1===0&&!ig.isNegativeZero(s)}var t9t=new m0("tag:yaml.org,2002:int",{kind:"scalar",resolve:ZEt,construct:JEt,predicate:e9t,represent:{binary:function(s){return s>=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0o"+s.toString(8):"-0o"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),n9t=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function r9t(s){return!(s===null||!n9t.test(s)||s[s.length-1]==="_")}function i9t(s){var o,f;return o=s.replace(/_/g,"").toLowerCase(),f=o[0]==="-"?-1:1,"+-".indexOf(o[0])>=0&&(o=o.slice(1)),o===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:o===".nan"?NaN:f*parseFloat(o,10)}var s9t=/^[-+]?[0-9]+e/;function a9t(s,o){var f;if(isNaN(s))switch(o){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(o){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(o){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ig.isNegativeZero(s))return"-0.0";return f=s.toString(10),s9t.test(f)?f.replace("e",".e"):f}function o9t(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!==0||ig.isNegativeZero(s))}var c9t=new m0("tag:yaml.org,2002:float",{kind:"scalar",resolve:r9t,construct:i9t,predicate:o9t,represent:a9t,defaultStyle:"lowercase"}),u9t=pDe.extend({implicit:[qEt,WEt,t9t,c9t]}),l9t=u9t,bDe=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),vDe=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 h9t(s){return s===null?!1:bDe.exec(s)!==null||vDe.exec(s)!==null}function f9t(s){var o,f,p,w,k,b,_,A=0,N=null,B,F,H;if(o=bDe.exec(s),o===null&&(o=vDe.exec(s)),o===null)throw new Error("Date resolve error");if(f=+o[1],p=+o[2]-1,w=+o[3],!o[4])return new Date(Date.UTC(f,p,w));if(k=+o[4],b=+o[5],_=+o[6],o[7]){for(A=o[7].slice(0,3);A.length<3;)A+="0";A=+A}return o[9]&&(B=+o[10],F=+(o[11]||0),N=(B*60+F)*6e4,o[9]==="-"&&(N=-N)),H=new Date(Date.UTC(f,p,w,k,b,_,A)),N&&H.setTime(H.getTime()-N),H}function d9t(s){return s.toISOString()}var g9t=new m0("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:h9t,construct:f9t,instanceOf:Date,represent:d9t});function p9t(s){return s==="<<"||s===null}var b9t=new m0("tag:yaml.org,2002:merge",{kind:"scalar",resolve:p9t}),T1e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
-\r`;function v9t(s){if(s===null)return!1;var o,f,p=0,w=s.length,k=T1e;for(f=0;f<w;f++)if(o=k.indexOf(s.charAt(f)),!(o>64)){if(o<0)return!1;p+=6}return p%8===0}function w9t(s){var o,f,p=s.replace(/[\r\n=]/g,""),w=p.length,k=T1e,b=0,_=[];for(o=0;o<w;o++)o%4===0&&o&&(_.push(b>>16&255),_.push(b>>8&255),_.push(b&255)),b=b<<6|k.indexOf(p.charAt(o));return f=w%4*6,f===0?(_.push(b>>16&255),_.push(b>>8&255),_.push(b&255)):f===18?(_.push(b>>10&255),_.push(b>>2&255)):f===12&&_.push(b>>4&255),new Uint8Array(_)}function m9t(s){var o="",f=0,p,w,k=s.length,b=T1e;for(p=0;p<k;p++)p%3===0&&p&&(o+=b[f>>18&63],o+=b[f>>12&63],o+=b[f>>6&63],o+=b[f&63]),f=(f<<8)+s[p];return w=k%3,w===0?(o+=b[f>>18&63],o+=b[f>>12&63],o+=b[f>>6&63],o+=b[f&63]):w===2?(o+=b[f>>10&63],o+=b[f>>4&63],o+=b[f<<2&63],o+=b[64]):w===1&&(o+=b[f>>2&63],o+=b[f<<4&63],o+=b[64],o+=b[64]),o}function y9t(s){return Object.prototype.toString.call(s)==="[object Uint8Array]"}var k9t=new m0("tag:yaml.org,2002:binary",{kind:"scalar",resolve:v9t,construct:w9t,predicate:y9t,represent:m9t}),x9t=Object.prototype.hasOwnProperty,E9t=Object.prototype.toString;function T9t(s){if(s===null)return!0;var o=[],f,p,w,k,b,_=s;for(f=0,p=_.length;f<p;f+=1){if(w=_[f],b=!1,E9t.call(w)!=="[object Object]")return!1;for(k in w)if(x9t.call(w,k))if(!b)b=!0;else return!1;if(!b)return!1;if(o.indexOf(k)===-1)o.push(k);else return!1}return!0}function _9t(s){return s!==null?s:[]}var C9t=new m0("tag:yaml.org,2002:omap",{kind:"sequence",resolve:T9t,construct:_9t}),S9t=Object.prototype.toString;function A9t(s){if(s===null)return!0;var o,f,p,w,k,b=s;for(k=new Array(b.length),o=0,f=b.length;o<f;o+=1){if(p=b[o],S9t.call(p)!=="[object Object]"||(w=Object.keys(p),w.length!==1))return!1;k[o]=[w[0],p[w[0]]]}return!0}function L9t(s){if(s===null)return[];var o,f,p,w,k,b=s;for(k=new Array(b.length),o=0,f=b.length;o<f;o+=1)p=b[o],w=Object.keys(p),k[o]=[w[0],p[w[0]]];return k}var M9t=new m0("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:A9t,construct:L9t}),D9t=Object.prototype.hasOwnProperty;function I9t(s){if(s===null)return!0;var o,f=s;for(o in f)if(D9t.call(f,o)&&f[o]!==null)return!1;return!0}function O9t(s){return s!==null?s:{}}var N9t=new m0("tag:yaml.org,2002:set",{kind:"mapping",resolve:I9t,construct:O9t}),P9t=l9t.extend({implicit:[g9t,b9t],explicit:[k9t,C9t,M9t,N9t]}),Yk=Object.prototype.hasOwnProperty,HU=1,wDe=2,mDe=3,zU=4,_1e=1,B9t=2,yDe=3,F9t=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R9t=/[\x85\u2028\u2029]/,j9t=/[,\[\]\{\}]/,kDe=/^(?:!|!!|![a-z\-]+!)$/i,xDe=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function EDe(s){return Object.prototype.toString.call(s)}function t3(s){return s===10||s===13}function $E(s){return s===9||s===32}function Zg(s){return s===9||s===32||s===10||s===13}function bA(s){return s===44||s===91||s===93||s===123||s===125}function $9t(s){var o;return 48<=s&&s<=57?s-48:(o=s|32,97<=o&&o<=102?o-97+10:-1)}function H9t(s){return s===120?2:s===117?4:s===85?8:0}function z9t(s){return 48<=s&&s<=57?s-48:-1}function TDe(s){return s===48?"\0":s===97?"\x07":s===98?"\b":s===116||s===9?" ":s===110?`
-`:s===118?"\v":s===102?"\f":s===114?"\r":s===101?"\x1B":s===32?" ":s===34?'"':s===47?"/":s===92?"\\":s===78?"…":s===95?" ":s===76?"\u2028":s===80?"\u2029":""}function G9t(s){return s<=65535?String.fromCharCode(s):String.fromCharCode((s-65536>>10)+55296,(s-65536&1023)+56320)}for(var _De=new Array(256),CDe=new Array(256),vA=0;vA<256;vA++)_De[vA]=TDe(vA)?1:0,CDe[vA]=TDe(vA);function q9t(s,o){this.input=s,this.filename=o.filename||null,this.schema=o.schema||P9t,this.onWarning=o.onWarning||null,this.legacy=o.legacy||!1,this.json=o.json||!1,this.listener=o.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=s.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function SDe(s,o){var f={name:s.filename,buffer:s.input.slice(0,-1),position:s.position,line:s.line,column:s.position-s.lineStart};return f.snippet=DEt(f),new d5(o,f)}function Os(s,o){throw SDe(s,o)}function GU(s,o){s.onWarning&&s.onWarning.call(null,SDe(s,o))}var ADe={YAML:function(o,f,p){var w,k,b;o.version!==null&&Os(o,"duplication of %YAML directive"),p.length!==1&&Os(o,"YAML directive accepts exactly one argument"),w=/^([0-9]+)\.([0-9]+)$/.exec(p[0]),w===null&&Os(o,"ill-formed argument of the YAML directive"),k=parseInt(w[1],10),b=parseInt(w[2],10),k!==1&&Os(o,"unacceptable YAML version of the document"),o.version=p[0],o.checkLineBreaks=b<2,b!==1&&b!==2&&GU(o,"unsupported YAML version of the document")},TAG:function(o,f,p){var w,k;p.length!==2&&Os(o,"TAG directive accepts exactly two arguments"),w=p[0],k=p[1],kDe.test(w)||Os(o,"ill-formed tag handle (first argument) of the TAG directive"),Yk.call(o.tagMap,w)&&Os(o,'there is a previously declared suffix for "'+w+'" tag handle'),xDe.test(k)||Os(o,"ill-formed tag prefix (second argument) of the TAG directive");try{k=decodeURIComponent(k)}catch{Os(o,"tag prefix is malformed: "+k)}o.tagMap[w]=k}};function Xk(s,o,f,p){var w,k,b,_;if(o<f){if(_=s.input.slice(o,f),p)for(w=0,k=_.length;w<k;w+=1)b=_.charCodeAt(w),b===9||32<=b&&b<=1114111||Os(s,"expected valid JSON character");else F9t.test(_)&&Os(s,"the stream contains non-printable characters");s.result+=_}}function LDe(s,o,f,p){var w,k,b,_;for(ig.isObject(f)||Os(s,"cannot merge mappings; the provided source object is unacceptable"),w=Object.keys(f),b=0,_=w.length;b<_;b+=1)k=w[b],Yk.call(o,k)||(o[k]=f[k],p[k]=!0)}function wA(s,o,f,p,w,k,b,_,A){var N,B;if(Array.isArray(w))for(w=Array.prototype.slice.call(w),N=0,B=w.length;N<B;N+=1)Array.isArray(w[N])&&Os(s,"nested arrays are not supported inside keys"),typeof w=="object"&&EDe(w[N])==="[object Object]"&&(w[N]="[object Object]");if(typeof w=="object"&&EDe(w)==="[object Object]"&&(w="[object Object]"),w=String(w),o===null&&(o={}),p==="tag:yaml.org,2002:merge")if(Array.isArray(k))for(N=0,B=k.length;N<B;N+=1)LDe(s,o,k[N],f);else LDe(s,o,k,f);else!s.json&&!Yk.call(f,w)&&Yk.call(o,w)&&(s.line=b||s.line,s.lineStart=_||s.lineStart,s.position=A||s.position,Os(s,"duplicated mapping key")),w==="__proto__"?Object.defineProperty(o,w,{configurable:!0,enumerable:!0,writable:!0,value:k}):o[w]=k,delete f[w];return o}function C1e(s){var o;o=s.input.charCodeAt(s.position),o===10?s.position++:o===13?(s.position++,s.input.charCodeAt(s.position)===10&&s.position++):Os(s,"a line break is expected"),s.line+=1,s.lineStart=s.position,s.firstTabInLine=-1}function Bf(s,o,f){for(var p=0,w=s.input.charCodeAt(s.position);w!==0;){for(;$E(w);)w===9&&s.firstTabInLine===-1&&(s.firstTabInLine=s.position),w=s.input.charCodeAt(++s.position);if(o&&w===35)do w=s.input.charCodeAt(++s.position);while(w!==10&&w!==13&&w!==0);if(t3(w))for(C1e(s),w=s.input.charCodeAt(s.position),p++,s.lineIndent=0;w===32;)s.lineIndent++,w=s.input.charCodeAt(++s.position);else break}return f!==-1&&p!==0&&s.lineIndent<f&&GU(s,"deficient indentation"),p}function qU(s){var o=s.position,f;return f=s.input.charCodeAt(o),!!((f===45||f===46)&&f===s.input.charCodeAt(o+1)&&f===s.input.charCodeAt(o+2)&&(o+=3,f=s.input.charCodeAt(o),f===0||Zg(f)))}function S1e(s,o){o===1?s.result+=" ":o>1&&(s.result+=ig.repeat(`
-`,o-1))}function V9t(s,o,f){var p,w,k,b,_,A,N,B,F=s.kind,H=s.result,j;if(j=s.input.charCodeAt(s.position),Zg(j)||bA(j)||j===35||j===38||j===42||j===33||j===124||j===62||j===39||j===34||j===37||j===64||j===96||(j===63||j===45)&&(w=s.input.charCodeAt(s.position+1),Zg(w)||f&&bA(w)))return!1;for(s.kind="scalar",s.result="",k=b=s.position,_=!1;j!==0;){if(j===58){if(w=s.input.charCodeAt(s.position+1),Zg(w)||f&&bA(w))break}else if(j===35){if(p=s.input.charCodeAt(s.position-1),Zg(p))break}else{if(s.position===s.lineStart&&qU(s)||f&&bA(j))break;if(t3(j))if(A=s.line,N=s.lineStart,B=s.lineIndent,Bf(s,!1,-1),s.lineIndent>=o){_=!0,j=s.input.charCodeAt(s.position);continue}else{s.position=b,s.line=A,s.lineStart=N,s.lineIndent=B;break}}_&&(Xk(s,k,b,!1),S1e(s,s.line-A),k=b=s.position,_=!1),$E(j)||(b=s.position+1),j=s.input.charCodeAt(++s.position)}return Xk(s,k,b,!1),s.result?!0:(s.kind=F,s.result=H,!1)}function U9t(s,o){var f,p,w;if(f=s.input.charCodeAt(s.position),f!==39)return!1;for(s.kind="scalar",s.result="",s.position++,p=w=s.position;(f=s.input.charCodeAt(s.position))!==0;)if(f===39)if(Xk(s,p,s.position,!0),f=s.input.charCodeAt(++s.position),f===39)p=s.position,s.position++,w=s.position;else return!0;else t3(f)?(Xk(s,p,w,!0),S1e(s,Bf(s,!1,o)),p=w=s.position):s.position===s.lineStart&&qU(s)?Os(s,"unexpected end of the document within a single quoted scalar"):(s.position++,w=s.position);Os(s,"unexpected end of the stream within a single quoted scalar")}function K9t(s,o){var f,p,w,k,b,_;if(_=s.input.charCodeAt(s.position),_!==34)return!1;for(s.kind="scalar",s.result="",s.position++,f=p=s.position;(_=s.input.charCodeAt(s.position))!==0;){if(_===34)return Xk(s,f,s.position,!0),s.position++,!0;if(_===92){if(Xk(s,f,s.position,!0),_=s.input.charCodeAt(++s.position),t3(_))Bf(s,!1,o);else if(_<256&&_De[_])s.result+=CDe[_],s.position++;else if((b=H9t(_))>0){for(w=b,k=0;w>0;w--)_=s.input.charCodeAt(++s.position),(b=$9t(_))>=0?k=(k<<4)+b:Os(s,"expected hexadecimal character");s.result+=G9t(k),s.position++}else Os(s,"unknown escape sequence");f=p=s.position}else t3(_)?(Xk(s,f,p,!0),S1e(s,Bf(s,!1,o)),f=p=s.position):s.position===s.lineStart&&qU(s)?Os(s,"unexpected end of the document within a double quoted scalar"):(s.position++,p=s.position)}Os(s,"unexpected end of the stream within a double quoted scalar")}function W9t(s,o){var f=!0,p,w,k,b=s.tag,_,A=s.anchor,N,B,F,H,j,V=Object.create(null),Z,ae,le,ce;if(ce=s.input.charCodeAt(s.position),ce===91)B=93,j=!1,_=[];else if(ce===123)B=125,j=!0,_={};else return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=_),ce=s.input.charCodeAt(++s.position);ce!==0;){if(Bf(s,!0,o),ce=s.input.charCodeAt(s.position),ce===B)return s.position++,s.tag=b,s.anchor=A,s.kind=j?"mapping":"sequence",s.result=_,!0;f?ce===44&&Os(s,"expected the node content, but found ','"):Os(s,"missed comma between flow collection entries"),ae=Z=le=null,F=H=!1,ce===63&&(N=s.input.charCodeAt(s.position+1),Zg(N)&&(F=H=!0,s.position++,Bf(s,!0,o))),p=s.line,w=s.lineStart,k=s.position,mA(s,o,HU,!1,!0),ae=s.tag,Z=s.result,Bf(s,!0,o),ce=s.input.charCodeAt(s.position),(H||s.line===p)&&ce===58&&(F=!0,ce=s.input.charCodeAt(++s.position),Bf(s,!0,o),mA(s,o,HU,!1,!0),le=s.result),j?wA(s,_,V,ae,Z,le,p,w,k):F?_.push(wA(s,null,V,ae,Z,le,p,w,k)):_.push(Z),Bf(s,!0,o),ce=s.input.charCodeAt(s.position),ce===44?(f=!0,ce=s.input.charCodeAt(++s.position)):f=!1}Os(s,"unexpected end of the stream within a flow collection")}function Y9t(s,o){var f,p,w=_1e,k=!1,b=!1,_=o,A=0,N=!1,B,F;if(F=s.input.charCodeAt(s.position),F===124)p=!1;else if(F===62)p=!0;else return!1;for(s.kind="scalar",s.result="";F!==0;)if(F=s.input.charCodeAt(++s.position),F===43||F===45)_1e===w?w=F===43?yDe:B9t:Os(s,"repeat of a chomping mode identifier");else if((B=z9t(F))>=0)B===0?Os(s,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?Os(s,"repeat of an indentation width identifier"):(_=o+B-1,b=!0);else break;if($E(F)){do F=s.input.charCodeAt(++s.position);while($E(F));if(F===35)do F=s.input.charCodeAt(++s.position);while(!t3(F)&&F!==0)}for(;F!==0;){for(C1e(s),s.lineIndent=0,F=s.input.charCodeAt(s.position);(!b||s.lineIndent<_)&&F===32;)s.lineIndent++,F=s.input.charCodeAt(++s.position);if(!b&&s.lineIndent>_&&(_=s.lineIndent),t3(F)){A++;continue}if(s.lineIndent<_){w===yDe?s.result+=ig.repeat(`
-`,k?1+A:A):w===_1e&&k&&(s.result+=`
-`);break}for(p?$E(F)?(N=!0,s.result+=ig.repeat(`
-`,k?1+A:A)):N?(N=!1,s.result+=ig.repeat(`
-`,A+1)):A===0?k&&(s.result+=" "):s.result+=ig.repeat(`
-`,A):s.result+=ig.repeat(`
-`,k?1+A:A),k=!0,b=!0,A=0,f=s.position;!t3(F)&&F!==0;)F=s.input.charCodeAt(++s.position);Xk(s,f,s.position,!1)}return!0}function MDe(s,o){var f,p=s.tag,w=s.anchor,k=[],b,_=!1,A;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=k),A=s.input.charCodeAt(s.position);A!==0&&(s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,Os(s,"tab characters must not be used in indentation")),!(A!==45||(b=s.input.charCodeAt(s.position+1),!Zg(b))));){if(_=!0,s.position++,Bf(s,!0,-1)&&s.lineIndent<=o){k.push(null),A=s.input.charCodeAt(s.position);continue}if(f=s.line,mA(s,o,mDe,!1,!0),k.push(s.result),Bf(s,!0,-1),A=s.input.charCodeAt(s.position),(s.line===f||s.lineIndent>o)&&A!==0)Os(s,"bad indentation of a sequence entry");else if(s.lineIndent<o)break}return _?(s.tag=p,s.anchor=w,s.kind="sequence",s.result=k,!0):!1}function X9t(s,o,f){var p,w,k,b,_,A,N=s.tag,B=s.anchor,F={},H=Object.create(null),j=null,V=null,Z=null,ae=!1,le=!1,ce;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=F),ce=s.input.charCodeAt(s.position);ce!==0;){if(!ae&&s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,Os(s,"tab characters must not be used in indentation")),p=s.input.charCodeAt(s.position+1),k=s.line,(ce===63||ce===58)&&Zg(p))ce===63?(ae&&(wA(s,F,H,j,V,null,b,_,A),j=V=Z=null),le=!0,ae=!0,w=!0):ae?(ae=!1,w=!0):Os(s,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),s.position+=1,ce=p;else{if(b=s.line,_=s.lineStart,A=s.position,!mA(s,f,wDe,!1,!0))break;if(s.line===k){for(ce=s.input.charCodeAt(s.position);$E(ce);)ce=s.input.charCodeAt(++s.position);if(ce===58)ce=s.input.charCodeAt(++s.position),Zg(ce)||Os(s,"a whitespace character is expected after the key-value separator within a block mapping"),ae&&(wA(s,F,H,j,V,null,b,_,A),j=V=Z=null),le=!0,ae=!1,w=!1,j=s.tag,V=s.result;else if(le)Os(s,"can not read an implicit mapping pair; a colon is missed");else return s.tag=N,s.anchor=B,!0}else if(le)Os(s,"can not read a block mapping entry; a multiline key may not be an implicit key");else return s.tag=N,s.anchor=B,!0}if((s.line===k||s.lineIndent>o)&&(ae&&(b=s.line,_=s.lineStart,A=s.position),mA(s,o,zU,!0,w)&&(ae?V=s.result:Z=s.result),ae||(wA(s,F,H,j,V,Z,b,_,A),j=V=Z=null),Bf(s,!0,-1),ce=s.input.charCodeAt(s.position)),(s.line===k||s.lineIndent>o)&&ce!==0)Os(s,"bad indentation of a mapping entry");else if(s.lineIndent<o)break}return ae&&wA(s,F,H,j,V,null,b,_,A),le&&(s.tag=N,s.anchor=B,s.kind="mapping",s.result=F),le}function Q9t(s){var o,f=!1,p=!1,w,k,b;if(b=s.input.charCodeAt(s.position),b!==33)return!1;if(s.tag!==null&&Os(s,"duplication of a tag property"),b=s.input.charCodeAt(++s.position),b===60?(f=!0,b=s.input.charCodeAt(++s.position)):b===33?(p=!0,w="!!",b=s.input.charCodeAt(++s.position)):w="!",o=s.position,f){do b=s.input.charCodeAt(++s.position);while(b!==0&&b!==62);s.position<s.length?(k=s.input.slice(o,s.position),b=s.input.charCodeAt(++s.position)):Os(s,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!Zg(b);)b===33&&(p?Os(s,"tag suffix cannot contain exclamation marks"):(w=s.input.slice(o-1,s.position+1),kDe.test(w)||Os(s,"named tag handle cannot contain such characters"),p=!0,o=s.position+1)),b=s.input.charCodeAt(++s.position);k=s.input.slice(o,s.position),j9t.test(k)&&Os(s,"tag suffix cannot contain flow indicator characters")}k&&!xDe.test(k)&&Os(s,"tag name cannot contain such characters: "+k);try{k=decodeURIComponent(k)}catch{Os(s,"tag name is malformed: "+k)}return f?s.tag=k:Yk.call(s.tagMap,w)?s.tag=s.tagMap[w]+k:w==="!"?s.tag="!"+k:w==="!!"?s.tag="tag:yaml.org,2002:"+k:Os(s,'undeclared tag handle "'+w+'"'),!0}function Z9t(s){var o,f;if(f=s.input.charCodeAt(s.position),f!==38)return!1;for(s.anchor!==null&&Os(s,"duplication of an anchor property"),f=s.input.charCodeAt(++s.position),o=s.position;f!==0&&!Zg(f)&&!bA(f);)f=s.input.charCodeAt(++s.position);return s.position===o&&Os(s,"name of an anchor node must contain at least one character"),s.anchor=s.input.slice(o,s.position),!0}function J9t(s){var o,f,p;if(p=s.input.charCodeAt(s.position),p!==42)return!1;for(p=s.input.charCodeAt(++s.position),o=s.position;p!==0&&!Zg(p)&&!bA(p);)p=s.input.charCodeAt(++s.position);return s.position===o&&Os(s,"name of an alias node must contain at least one character"),f=s.input.slice(o,s.position),Yk.call(s.anchorMap,f)||Os(s,'unidentified alias "'+f+'"'),s.result=s.anchorMap[f],Bf(s,!0,-1),!0}function mA(s,o,f,p,w){var k,b,_,A=1,N=!1,B=!1,F,H,j,V,Z,ae;if(s.listener!==null&&s.listener("open",s),s.tag=null,s.anchor=null,s.kind=null,s.result=null,k=b=_=zU===f||mDe===f,p&&Bf(s,!0,-1)&&(N=!0,s.lineIndent>o?A=1:s.lineIndent===o?A=0:s.lineIndent<o&&(A=-1)),A===1)for(;Q9t(s)||Z9t(s);)Bf(s,!0,-1)?(N=!0,_=k,s.lineIndent>o?A=1:s.lineIndent===o?A=0:s.lineIndent<o&&(A=-1)):_=!1;if(_&&(_=N||w),(A===1||zU===f)&&(HU===f||wDe===f?Z=o:Z=o+1,ae=s.position-s.lineStart,A===1?_&&(MDe(s,ae)||X9t(s,ae,Z))||W9t(s,Z)?B=!0:(b&&Y9t(s,Z)||U9t(s,Z)||K9t(s,Z)?B=!0:J9t(s)?(B=!0,(s.tag!==null||s.anchor!==null)&&Os(s,"alias node should not have any properties")):V9t(s,Z,HU===f)&&(B=!0,s.tag===null&&(s.tag="?")),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):A===0&&(B=_&&MDe(s,ae))),s.tag===null)s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);else if(s.tag==="?"){for(s.result!==null&&s.kind!=="scalar"&&Os(s,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+s.kind+'"'),F=0,H=s.implicitTypes.length;F<H;F+=1)if(V=s.implicitTypes[F],V.resolve(s.result)){s.result=V.construct(s.result),s.tag=V.tag,s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);break}}else if(s.tag!=="!"){if(Yk.call(s.typeMap[s.kind||"fallback"],s.tag))V=s.typeMap[s.kind||"fallback"][s.tag];else for(V=null,j=s.typeMap.multi[s.kind||"fallback"],F=0,H=j.length;F<H;F+=1)if(s.tag.slice(0,j[F].tag.length)===j[F].tag){V=j[F];break}V||Os(s,"unknown tag !<"+s.tag+">"),s.result!==null&&V.kind!==s.kind&&Os(s,"unacceptable node kind for !<"+s.tag+'> tag; it should be "'+V.kind+'", not "'+s.kind+'"'),V.resolve(s.result,s.tag)?(s.result=V.construct(s.result,s.tag),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):Os(s,"cannot resolve a node with !<"+s.tag+"> explicit tag")}return s.listener!==null&&s.listener("close",s),s.tag!==null||s.anchor!==null||B}function eTt(s){var o=s.position,f,p,w,k=!1,b;for(s.version=null,s.checkLineBreaks=s.legacy,s.tagMap=Object.create(null),s.anchorMap=Object.create(null);(b=s.input.charCodeAt(s.position))!==0&&(Bf(s,!0,-1),b=s.input.charCodeAt(s.position),!(s.lineIndent>0||b!==37));){for(k=!0,b=s.input.charCodeAt(++s.position),f=s.position;b!==0&&!Zg(b);)b=s.input.charCodeAt(++s.position);for(p=s.input.slice(f,s.position),w=[],p.length<1&&Os(s,"directive name must not be less than one character in length");b!==0;){for(;$E(b);)b=s.input.charCodeAt(++s.position);if(b===35){do b=s.input.charCodeAt(++s.position);while(b!==0&&!t3(b));break}if(t3(b))break;for(f=s.position;b!==0&&!Zg(b);)b=s.input.charCodeAt(++s.position);w.push(s.input.slice(f,s.position))}b!==0&&C1e(s),Yk.call(ADe,p)?ADe[p](s,p,w):GU(s,'unknown document directive "'+p+'"')}if(Bf(s,!0,-1),s.lineIndent===0&&s.input.charCodeAt(s.position)===45&&s.input.charCodeAt(s.position+1)===45&&s.input.charCodeAt(s.position+2)===45?(s.position+=3,Bf(s,!0,-1)):k&&Os(s,"directives end mark is expected"),mA(s,s.lineIndent-1,zU,!1,!0),Bf(s,!0,-1),s.checkLineBreaks&&R9t.test(s.input.slice(o,s.position))&&GU(s,"non-ASCII line breaks are interpreted as content"),s.documents.push(s.result),s.position===s.lineStart&&qU(s)){s.input.charCodeAt(s.position)===46&&(s.position+=3,Bf(s,!0,-1));return}if(s.position<s.length-1)Os(s,"end of the stream or a document separator is expected");else return}function DDe(s,o){s=String(s),o=o||{},s.length!==0&&(s.charCodeAt(s.length-1)!==10&&s.charCodeAt(s.length-1)!==13&&(s+=`
-`),s.charCodeAt(0)===65279&&(s=s.slice(1)));var f=new q9t(s,o),p=s.indexOf("\0");for(p!==-1&&(f.position=p,Os(f,"null byte is not allowed in input")),f.input+="\0";f.input.charCodeAt(f.position)===32;)f.lineIndent+=1,f.position+=1;for(;f.position<f.length-1;)eTt(f);return f.documents}function tTt(s,o,f){o!==null&&typeof o=="object"&&typeof f>"u"&&(f=o,o=null);var p=DDe(s,f);if(typeof o!="function")return p;for(var w=0,k=p.length;w<k;w+=1)o(p[w])}function nTt(s,o){var f=DDe(s,o);if(f.length!==0){if(f.length===1)return f[0];throw new d5("expected a single document in the stream, but found more")}}var rTt=tTt,iTt=nTt,sTt={loadAll:rTt,load:iTt},aTt=pDe,oTt=sTt.load;const IDe=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function cTt(s,o){var p;const f=s.match(IDe);if(f){const w=oTt(f[1],{schema:aTt});return w!=null&&w.title&&((p=o.setDiagramTitle)==null||p.call(o,w.title)),s.slice(f[0].length)}else return s}const uTt=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,lTt=/\s*%%.*\n/gm,VU={},A1e=function(s,o){s=s.replace(IDe,"").replace(uTt,"").replace(lTt,`
-`);for(const[f,{detector:p}]of Object.entries(VU))if(p(s,o))return f;throw new Error(`No diagram type detected for text: ${s}`)},ODe=(...s)=>{for(const{id:o,detector:f,loader:p}of s)NDe(o,f,p)},NDe=(s,o,f)=>{VU[s]?je.error(`Detector with key ${s} already exists`):VU[s]={detector:o,loader:f},je.debug(`Detector with key ${s} added${f?" with loader":""}`)},hTt=s=>VU[s].loader,L1e=function(s,o,f){const{depth:p,clobber:w}=Object.assign({depth:2,clobber:!1},f);return Array.isArray(o)&&!Array.isArray(s)?(o.forEach(k=>L1e(s,k,f)),s):Array.isArray(o)&&Array.isArray(s)?(o.forEach(k=>{s.includes(k)||s.push(k)}),s):s===void 0||p<=0?s!=null&&typeof s=="object"&&typeof o=="object"?Object.assign(s,o):o:(o!==void 0&&typeof s=="object"&&typeof o=="object"&&Object.keys(o).forEach(k=>{typeof o[k]=="object"&&(s[k]===void 0||typeof s[k]=="object")?(s[k]===void 0&&(s[k]=Array.isArray(o[k])?[]:{}),s[k]=L1e(s[k],o[k],{depth:p-1,clobber:w})):(w||typeof s[k]!="object"&&typeof o[k]!="object")&&(s[k]=o[k])}),s)},nd=L1e;var fTt=typeof global=="object"&&global&&global.Object===Object&&global;const PDe=fTt;var dTt=typeof self=="object"&&self&&self.Object===Object&&self,gTt=PDe||dTt||Function("return this")();const Gw=gTt;var pTt=Gw.Symbol;const Gb=pTt;var BDe=Object.prototype,bTt=BDe.hasOwnProperty,vTt=BDe.toString,kN=Gb?Gb.toStringTag:void 0;function wTt(s){var o=bTt.call(s,kN),f=s[kN];try{s[kN]=void 0;var p=!0}catch{}var w=vTt.call(s);return p&&(o?s[kN]=f:delete s[kN]),w}var mTt=Object.prototype,yTt=mTt.toString;function kTt(s){return yTt.call(s)}var xTt="[object Null]",ETt="[object Undefined]",FDe=Gb?Gb.toStringTag:void 0;function HE(s){return s==null?s===void 0?ETt:xTt:FDe&&FDe in Object(s)?wTt(s):kTt(s)}function _2(s){var o=typeof s;return s!=null&&(o=="object"||o=="function")}var TTt="[object AsyncFunction]",_Tt="[object Function]",CTt="[object GeneratorFunction]",STt="[object Proxy]";function yA(s){if(!_2(s))return!1;var o=HE(s);return o==_Tt||o==CTt||o==TTt||o==STt}var ATt=Gw["__core-js_shared__"];const M1e=ATt;var RDe=function(){var s=/[^.]+$/.exec(M1e&&M1e.keys&&M1e.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function LTt(s){return!!RDe&&RDe in s}var MTt=Function.prototype,DTt=MTt.toString;function zE(s){if(s!=null){try{return DTt.call(s)}catch{}try{return s+""}catch{}}return""}var ITt=/[\\^$.*+?()[\]{}|]/g,OTt=/^\[object .+?Constructor\]$/,NTt=Function.prototype,PTt=Object.prototype,BTt=NTt.toString,FTt=PTt.hasOwnProperty,RTt=RegExp("^"+BTt.call(FTt).replace(ITt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jTt(s){if(!_2(s)||LTt(s))return!1;var o=yA(s)?RTt:OTt;return o.test(zE(s))}function $Tt(s,o){return s==null?void 0:s[o]}function GE(s,o){var f=$Tt(s,o);return jTt(f)?f:void 0}var HTt=GE(Object,"create");const xN=HTt;function zTt(){this.__data__=xN?xN(null):{},this.size=0}function GTt(s){var o=this.has(s)&&delete this.__data__[s];return this.size-=o?1:0,o}var qTt="__lodash_hash_undefined__",VTt=Object.prototype,UTt=VTt.hasOwnProperty;function KTt(s){var o=this.__data__;if(xN){var f=o[s];return f===qTt?void 0:f}return UTt.call(o,s)?o[s]:void 0}var WTt=Object.prototype,YTt=WTt.hasOwnProperty;function XTt(s){var o=this.__data__;return xN?o[s]!==void 0:YTt.call(o,s)}var QTt="__lodash_hash_undefined__";function ZTt(s,o){var f=this.__data__;return this.size+=this.has(s)?0:1,f[s]=xN&&o===void 0?QTt:o,this}function qE(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var p=s[o];this.set(p[0],p[1])}}qE.prototype.clear=zTt,qE.prototype.delete=GTt,qE.prototype.get=KTt,qE.prototype.has=XTt,qE.prototype.set=ZTt;function JTt(){this.__data__=[],this.size=0}function kA(s,o){return s===o||s!==s&&o!==o}function UU(s,o){for(var f=s.length;f--;)if(kA(s[f][0],o))return f;return-1}var e_t=Array.prototype,t_t=e_t.splice;function n_t(s){var o=this.__data__,f=UU(o,s);if(f<0)return!1;var p=o.length-1;return f==p?o.pop():t_t.call(o,f,1),--this.size,!0}function r_t(s){var o=this.__data__,f=UU(o,s);return f<0?void 0:o[f][1]}function i_t(s){return UU(this.__data__,s)>-1}function s_t(s,o){var f=this.__data__,p=UU(f,s);return p<0?(++this.size,f.push([s,o])):f[p][1]=o,this}function g5(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var p=s[o];this.set(p[0],p[1])}}g5.prototype.clear=JTt,g5.prototype.delete=n_t,g5.prototype.get=r_t,g5.prototype.has=i_t,g5.prototype.set=s_t;var a_t=GE(Gw,"Map");const EN=a_t;function o_t(){this.size=0,this.__data__={hash:new qE,map:new(EN||g5),string:new qE}}function c_t(s){var o=typeof s;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?s!=="__proto__":s===null}function KU(s,o){var f=s.__data__;return c_t(o)?f[typeof o=="string"?"string":"hash"]:f.map}function u_t(s){var o=KU(this,s).delete(s);return this.size-=o?1:0,o}function l_t(s){return KU(this,s).get(s)}function h_t(s){return KU(this,s).has(s)}function f_t(s,o){var f=KU(this,s),p=f.size;return f.set(s,o),this.size+=f.size==p?0:1,this}function p5(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var p=s[o];this.set(p[0],p[1])}}p5.prototype.clear=o_t,p5.prototype.delete=u_t,p5.prototype.get=l_t,p5.prototype.has=h_t,p5.prototype.set=f_t;var d_t="Expected a function";function xA(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new TypeError(d_t);var f=function(){var p=arguments,w=o?o.apply(this,p):p[0],k=f.cache;if(k.has(w))return k.get(w);var b=s.apply(this,p);return f.cache=k.set(w,b)||k,b};return f.cache=new(xA.Cache||p5),f}xA.Cache=p5;const g_t={curveBasis:pA,curveBasisClosed:s7t,curveBasisOpen:a7t,curveBumpX:r7t,curveBumpY:i7t,curveBundle:o7t,curveCardinalClosed:u7t,curveCardinalOpen:l7t,curveCardinal:c7t,curveCatmullRomClosed:f7t,curveCatmullRomOpen:d7t,curveCatmullRom:h7t,curveLinear:Pd,curveLinearClosed:g7t,curveMonotoneX:p7t,curveMonotoneY:b7t,curveNatural:v7t,curveStep:w7t,curveStepAfter:y7t,curveStepBefore:m7t},D1e=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,p_t=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,b_t=function(s,o){const f=jDe(s,/(?:init\b)|(?:initialize\b)/);let p={};if(Array.isArray(f)){const w=f.map(k=>k.args);VE(w),p=nd(p,[...w])}else p=f.args;if(p){let w=A1e(s,o);["config"].forEach(k=>{p[k]!==void 0&&(w==="flowchart-v2"&&(w="flowchart"),p[w]=p[k],delete p[k])})}return p},jDe=function(s,o=null){try{const f=new RegExp(`[%]{2}(?![{]${p_t.source})(?=[}][%]{2}).*
-`,"ig");s=s.trim().replace(f,"").replace(/'/gm,'"'),je.debug(`Detecting diagram directive${o!==null?" type:"+o:""} based on the text:${s}`);let p;const w=[];for(;(p=D1e.exec(s))!==null;)if(p.index===D1e.lastIndex&&D1e.lastIndex++,p&&!o||o&&p[1]&&p[1].match(o)||o&&p[2]&&p[2].match(o)){const k=p[1]?p[1]:p[2],b=p[3]?p[3].trim():p[4]?JSON.parse(p[4].trim()):null;w.push({type:k,args:b})}return w.length===0&&w.push({type:s,args:null}),w.length===1?w[0]:w}catch(f){return je.error(`ERROR: ${f.message} - Unable to parse directive
- ${o!==null?" type:"+o:""} based on the text:${s}`),{type:null,args:null}}},v_t=function(s,o){for(const[f,p]of o.entries())if(p.match(s))return f;return-1};function Jg(s,o){if(!s)return o;const f=`curve${s.charAt(0).toUpperCase()+s.slice(1)}`;return g_t[f]||o}function w_t(s,o){const f=s.trim();if(f)return o.securityLevel!=="loose"?a5(f):f}const m_t=(s,...o)=>{const f=s.split("."),p=f.length-1,w=f[p];let k=window;for(let b=0;b<p;b++)if(k=k[f[b]],!k)return;k[w](...o)};function WU(s,o){return s&&o?Math.sqrt(Math.pow(o.x-s.x,2)+Math.pow(o.y-s.y,2)):0}function y_t(s){let o,f=0;s.forEach(k=>{f+=WU(k,o),o=k});let p=f/2,w;return o=void 0,s.forEach(k=>{if(o&&!w){const b=WU(k,o);if(b<p)p-=b;else{const _=p/b;_<=0&&(w=o),_>=1&&(w={x:k.x,y:k.y}),_>0&&_<1&&(w={x:(1-_)*o.x+_*k.x,y:(1-_)*o.y+_*k.y})}}o=k}),w}function k_t(s){return s.length===1?s[0]:y_t(s)}const x_t=(s,o,f)=>{let p;je.info(`our points ${JSON.stringify(o)}`),o[0]!==f&&(o=o.reverse());let k=25,b;p=void 0,o.forEach(B=>{if(p&&!b){const F=WU(B,p);if(F<k)k-=F;else{const H=k/F;H<=0&&(b=p),H>=1&&(b={x:B.x,y:B.y}),H>0&&H<1&&(b={x:(1-H)*p.x+H*B.x,y:(1-H)*p.y+H*B.y})}}p=B});const _=s?10:5,A=Math.atan2(o[0].y-b.y,o[0].x-b.x),N={x:0,y:0};return N.x=Math.sin(A)*_+(o[0].x+b.x)/2,N.y=-Math.cos(A)*_+(o[0].y+b.y)/2,N};function E_t(s,o,f){let p=JSON.parse(JSON.stringify(f)),w;je.info("our points",p),o!=="start_left"&&o!=="start_right"&&(p=p.reverse()),p.forEach(F=>{w=F});let b=25+s,_;w=void 0,p.forEach(F=>{if(w&&!_){const H=WU(F,w);if(H<b)b-=H;else{const j=b/H;j<=0&&(_=w),j>=1&&(_={x:F.x,y:F.y}),j>0&&j<1&&(_={x:(1-j)*w.x+j*F.x,y:(1-j)*w.y+j*F.y})}}w=F});const A=10+s*.5,N=Math.atan2(p[0].y-_.y,p[0].x-_.x),B={x:0,y:0};return B.x=Math.sin(N)*A+(p[0].x+_.x)/2,B.y=-Math.cos(N)*A+(p[0].y+_.y)/2,o==="start_left"&&(B.x=Math.sin(N+Math.PI)*A+(p[0].x+_.x)/2,B.y=-Math.cos(N+Math.PI)*A+(p[0].y+_.y)/2),o==="end_right"&&(B.x=Math.sin(N-Math.PI)*A+(p[0].x+_.x)/2-5,B.y=-Math.cos(N-Math.PI)*A+(p[0].y+_.y)/2-5),o==="end_left"&&(B.x=Math.sin(N)*A+(p[0].x+_.x)/2-5,B.y=-Math.cos(N)*A+(p[0].y+_.y)/2-5),B}function qw(s){let o="",f="";for(const p of s)p!==void 0&&(p.startsWith("color:")||p.startsWith("text-align:")?f=f+p+";":o=o+p+";");return{style:o,labelStyle:f}}let $De=0;const HDe=()=>($De++,"id-"+Math.random().toString(36).substr(2,12)+"-"+$De);function T_t(s){let o="";const f="0123456789abcdef",p=f.length;for(let w=0;w<s;w++)o+=f.charAt(Math.floor(Math.random()*p));return o}const zDe=s=>T_t(s.length),__t=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}},C_t=function(s,o){const f=o.text.replace(xa.lineBreakRegex," "),[,p]=TN(o.fontSize),w=s.append("text");w.attr("x",o.x),w.attr("y",o.y),w.style("text-anchor",o.anchor),w.style("font-family",o.fontFamily),w.style("font-size",p),w.style("font-weight",o.fontWeight),w.attr("fill",o.fill),o.class!==void 0&&w.attr("class",o.class);const k=w.append("tspan");return k.attr("x",o.x+o.textMargin*2),k.attr("fill",o.fill),k.text(f),w},GDe=xA((s,o,f)=>{if(!s||(f=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},f),xa.lineBreakRegex.test(s)))return s;const p=s.split(" "),w=[];let k="";return p.forEach((b,_)=>{const A=n3(`${b} `,f),N=n3(k,f);if(A>o){const{hyphenatedStrings:H,remainingWord:j}=S_t(b,o,"-",f);w.push(k,...H),k=j}else N+A>=o?(w.push(k),k=b):k=[k,b].filter(Boolean).join(" ");_+1===p.length&&w.push(k)}),w.filter(b=>b!=="").join(f.joinWith)},(s,o,f)=>`${s}${o}${f.fontSize}${f.fontWeight}${f.fontFamily}${f.joinWith}`),S_t=xA((s,o,f="-",p)=>{p=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},p);const w=[...s],k=[];let b="";return w.forEach((_,A)=>{const N=`${b}${_}`;if(n3(N,p)>=o){const F=A+1,H=w.length===F,j=`${N}${f}`;k.push(H?N:j),b=""}else b=N}),{hyphenatedStrings:k,remainingWord:b}},(s,o,f="-",p)=>`${s}${o}${f}${p.fontSize}${p.fontWeight}${p.fontFamily}`);function I1e(s,o){return o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},o),O1e(s,o).height}function n3(s,o){return o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},o),O1e(s,o).width}const O1e=xA((s,o)=>{o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},o);const{fontSize:f,fontFamily:p,fontWeight:w}=o;if(!s)return{width:0,height:0};const[,k]=TN(f),b=["sans-serif",p],_=s.split(xa.lineBreakRegex),A=[],N=sr("body");if(!N.remove)return{width:0,height:0,lineHeight:0};const B=N.append("svg");for(const H of b){let j=0;const V={width:0,height:0,lineHeight:0};for(const Z of _){const ae=__t();ae.text=Z;const le=C_t(B,ae).style("font-size",k).style("font-weight",w).style("font-family",H),ce=(le._groups||le)[0][0].getBBox();V.width=Math.round(Math.max(V.width,ce.width)),j=Math.round(ce.height),V.height+=j,V.lineHeight=Math.round(Math.max(V.lineHeight,j))}A.push(V)}B.remove();const F=isNaN(A[1].height)||isNaN(A[1].width)||isNaN(A[1].lineHeight)||A[0].height>A[1].height&&A[0].width>A[1].width&&A[0].lineHeight>A[1].lineHeight?0:1;return A[F]},(s,o)=>`${s}${o.fontSize}${o.fontWeight}${o.fontFamily}`),A_t=class{constructor(o,f){this.deterministic=o,this.seed=f,this.count=f?f.length:0}next(){return this.deterministic?this.count++:Date.now()}};let YU;const L_t=function(s){return YU=YU||document.createElement("div"),s=escape(s).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),YU.innerHTML=s,unescape(YU.textContent)},VE=s=>{if(je.debug("directiveSanitizer called with",s),typeof s=="object"&&(s.length?s.forEach(o=>VE(o)):Object.keys(s).forEach(o=>{je.debug("Checking key",o),o.startsWith("__")&&(je.debug("sanitize deleting __ option",o),delete s[o]),o.includes("proto")&&(je.debug("sanitize deleting proto option",o),delete s[o]),o.includes("constr")&&(je.debug("sanitize deleting constr option",o),delete s[o]),o.includes("themeCSS")&&(je.debug("sanitizing themeCss option"),s[o]=XU(s[o])),o.includes("fontFamily")&&(je.debug("sanitizing fontFamily option"),s[o]=XU(s[o])),o.includes("altFontFamily")&&(je.debug("sanitizing altFontFamily option"),s[o]=XU(s[o])),vEt.includes(o)?typeof s[o]=="object"&&(je.debug("sanitize deleting object",o),VE(s[o])):(je.debug("sanitize deleting option",o),delete s[o])})),s.themeVariables){const o=Object.keys(s.themeVariables);for(const f of o){const p=s.themeVariables[f];p&&p.match&&!p.match(/^[\d "#%(),.;A-Za-z]+$/)&&(s.themeVariables[f]="")}}je.debug("After sanitization",s)},XU=s=>{let o=0,f=0;for(const p of s){if(o<f)return"{ /* ERROR: Unbalanced CSS */ }";p==="{"?o++:p==="}"&&f++}return o!==f?"{ /* ERROR: Unbalanced CSS */ }":s};function N1e(s){return"str"in s}function M_t(s){return s instanceof Error?s.message:String(s)}const D_t=(s,o,f,p)=>{if(!p)return;const w=s.node().getBBox();s.append("text").text(p).attr("x",w.x+w.width/2).attr("y",-f).attr("class",o)},TN=s=>{if(typeof s=="number")return[s,s+"px"];const o=parseInt(s,10);return Number.isNaN(o)?[void 0,void 0]:s===String(o)?[o,s+"px"]:[o,s]},Pa={assignWithDepth:nd,wrapLabel:GDe,calculateTextHeight:I1e,calculateTextWidth:n3,calculateTextDimensions:O1e,detectInit:b_t,detectDirective:jDe,isSubstringInArray:v_t,interpolateToCurve:Jg,calcLabelPosition:k_t,calcCardinalityPosition:x_t,calcTerminalLabelPosition:E_t,formatUrl:w_t,getStylesFromArray:qw,generateId:HDe,random:zDe,runFunc:m_t,entityDecode:L_t,initIdGenerator:A_t,directiveSanitizer:VE,sanitizeCss:XU,insertTitle:D_t,parseFontSize:TN};var qDe="comm",VDe="rule",UDe="decl",I_t="@import",O_t="@keyframes",N_t=Math.abs,P1e=String.fromCharCode;function KDe(s){return s.trim()}function B1e(s,o,f){return s.replace(o,f)}function P_t(s,o){return s.indexOf(o)}function QU(s,o){return s.charCodeAt(o)|0}function _N(s,o,f){return s.slice(o,f)}function Qk(s){return s.length}function WDe(s){return s.length}function ZU(s,o){return o.push(s),s}var JU=1,EA=1,YDe=0,qb=0,Ff=0,TA="";function F1e(s,o,f,p,w,k,b){return{value:s,root:o,parent:f,type:p,props:w,children:k,line:JU,column:EA,length:b,return:""}}function B_t(){return Ff}function F_t(){return Ff=qb>0?QU(TA,--qb):0,EA--,Ff===10&&(EA=1,JU--),Ff}function Vw(){return Ff=qb<YDe?QU(TA,qb++):0,EA++,Ff===10&&(EA=1,JU++),Ff}function UE(){return QU(TA,qb)}function eK(){return qb}function tK(s,o){return _N(TA,s,o)}function R1e(s){switch(s){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R_t(s){return JU=EA=1,YDe=Qk(TA=s),qb=0,[]}function j_t(s){return TA="",s}function j1e(s){return KDe(tK(qb-1,$1e(s===91?s+2:s===40?s+1:s)))}function $_t(s){for(;(Ff=UE())&&Ff<33;)Vw();return R1e(s)>2||R1e(Ff)>3?"":" "}function H_t(s,o){for(;--o&&Vw()&&!(Ff<48||Ff>102||Ff>57&&Ff<65||Ff>70&&Ff<97););return tK(s,eK()+(o<6&&UE()==32&&Vw()==32))}function $1e(s){for(;Vw();)switch(Ff){case s:return qb;case 34:case 39:s!==34&&s!==39&&$1e(Ff);break;case 40:s===41&&$1e(s);break;case 92:Vw();break}return qb}function z_t(s,o){for(;Vw()&&s+Ff!==47+10;)if(s+Ff===42+42&&UE()===47)break;return"/*"+tK(o,qb-1)+"*"+P1e(s===47?s:Vw())}function G_t(s){for(;!R1e(UE());)Vw();return tK(s,qb)}function q_t(s){return j_t(nK("",null,null,null,[""],s=R_t(s),0,[0],s))}function nK(s,o,f,p,w,k,b,_,A){for(var N=0,B=0,F=b,H=0,j=0,V=0,Z=1,ae=1,le=1,ce=0,be="",xe=w,Ee=k,Me=p,fe=be;ae;)switch(V=ce,ce=Vw()){case 40:if(V!=108&&QU(fe,F-1)==58){P_t(fe+=B1e(j1e(ce),"&","&\f"),"&\f")!=-1&&(le=-1);break}case 34:case 39:case 91:fe+=j1e(ce);break;case 9:case 10:case 13:case 32:fe+=$_t(V);break;case 92:fe+=H_t(eK()-1,7);continue;case 47:switch(UE()){case 42:case 47:ZU(V_t(z_t(Vw(),eK()),o,f),A);break;default:fe+="/"}break;case 123*Z:_[N++]=Qk(fe)*le;case 125*Z:case 59:case 0:switch(ce){case 0:case 125:ae=0;case 59+B:j>0&&Qk(fe)-F&&ZU(j>32?QDe(fe+";",p,f,F-1):QDe(B1e(fe," ","")+";",p,f,F-2),A);break;case 59:fe+=";";default:if(ZU(Me=XDe(fe,o,f,N,B,w,_,be,xe=[],Ee=[],F),k),ce===123)if(B===0)nK(fe,o,Me,Me,xe,k,F,_,Ee);else switch(H){case 100:case 109:case 115:nK(s,Me,Me,p&&ZU(XDe(s,Me,Me,0,0,w,_,be,w,xe=[],F),Ee),w,Ee,F,_,p?xe:Ee);break;default:nK(fe,Me,Me,Me,[""],Ee,0,_,Ee)}}N=B=j=0,Z=le=1,be=fe="",F=b;break;case 58:F=1+Qk(fe),j=V;default:if(Z<1){if(ce==123)--Z;else if(ce==125&&Z++==0&&F_t()==125)continue}switch(fe+=P1e(ce),ce*Z){case 38:le=B>0?1:(fe+="\f",-1);break;case 44:_[N++]=(Qk(fe)-1)*le,le=1;break;case 64:UE()===45&&(fe+=j1e(Vw())),H=UE(),B=F=Qk(be=fe+=G_t(eK())),ce++;break;case 45:V===45&&Qk(fe)==2&&(Z=0)}}return k}function XDe(s,o,f,p,w,k,b,_,A,N,B){for(var F=w-1,H=w===0?k:[""],j=WDe(H),V=0,Z=0,ae=0;V<p;++V)for(var le=0,ce=_N(s,F+1,F=N_t(Z=b[V])),be=s;le<j;++le)(be=KDe(Z>0?H[le]+" "+ce:B1e(ce,/&\f/g,H[le])))&&(A[ae++]=be);return F1e(s,o,f,w===0?VDe:_,A,N,B)}function V_t(s,o,f){return F1e(s,o,f,qDe,P1e(B_t()),_N(s,2,-2),0)}function QDe(s,o,f,p){return F1e(s,o,f,UDe,_N(s,0,p),_N(s,p+1,-1),p)}function H1e(s,o){for(var f="",p=WDe(s),w=0;w<p;w++)f+=o(s[w],w,s,o)||"";return f}function U_t(s,o,f,p){switch(s.type){case I_t:case UDe:return s.return=s.return||s.value;case qDe:return"";case O_t:return s.return=s.value+"{"+H1e(s.children,p)+"}";case VDe:s.value=s.props.join(",")}return Qk(f=H1e(s.children,p))?s.return=s.value+"{"+f+"}":""}const rK="9.4.3",_A=Object.freeze(wEt);let ep=nd({},_A),ZDe,CA=[],CN=nd({},_A);const iK=(s,o)=>{let f=nd({},s),p={};for(const w of o)tIe(w),p=nd(p,w);if(f=nd(f,p),p.theme&&p.theme in f5){const w=nd({},ZDe),k=nd(w.themeVariables||{},p.themeVariables);f.theme&&f.theme in f5&&(f.themeVariables=f5[f.theme].getThemeVariables(k))}return CN=f,iIe(CN),CN},K_t=s=>(ep=nd({},_A),ep=nd(ep,s),s.theme&&f5[s.theme]&&(ep.themeVariables=f5[s.theme].getThemeVariables(s.themeVariables)),iK(ep,CA),ep),W_t=s=>{ZDe=nd({},s)},Y_t=s=>(ep=nd(ep,s),iK(ep,CA),ep),JDe=()=>nd({},ep),eIe=s=>(iIe(s),nd(CN,s),Pt()),Pt=()=>nd({},CN),tIe=s=>{["secure",...ep.secure??[]].forEach(o=>{s[o]!==void 0&&(je.debug(`Denied attempt to modify a secure key ${o}`,s[o]),delete s[o])}),Object.keys(s).forEach(o=>{o.indexOf("__")===0&&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"&&tIe(s[o])})},z1e=s=>{s.fontFamily&&(s.themeVariables?s.themeVariables.fontFamily||(s.themeVariables={fontFamily:s.fontFamily}):s.themeVariables={fontFamily:s.fontFamily}),CA.push(s),iK(ep,CA)},SN=(s=ep)=>{CA=[],iK(s,CA)};var nIe=(s=>(s.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",s))(nIe||{});const rIe={},X_t=s=>{rIe[s]||(je.warn(nIe[s]),rIe[s]=!0)},iIe=s=>{s&&(s.lazyLoadedDiagrams||s.loadExternalDiagramsAtStartup)&&X_t("LAZY_LOAD_DEPRECATED")},Q_t=function(s,o){for(let f of o)s.attr(f[0],f[1])},Z_t=function(s,o,f){let p=new Map;return f?(p.set("width","100%"),p.set("style",`max-width: ${o}px;`)):(p.set("height",s),p.set("width",o)),p},Uw=function(s,o,f,p){const w=Z_t(o,f,p);Q_t(s,w)},KE=function(s,o,f,p){const w=o.node().getBBox(),k=w.width,b=w.height;je.info(`SVG bounds: ${k}x${b}`,w);let _=0,A=0;je.info(`Graph bounds: ${_}x${A}`,s),_=k+f*2,A=b+f*2,je.info(`Calculated bounds: ${_}x${A}`),Uw(o,A,_,p);const N=`${w.x-f} ${w.y-f} ${w.width+2*f} ${w.height+2*f}`;o.attr("viewBox",N)},AN=s=>`g.classGroup text {
- fill: ${s.nodeBorder};
- fill: ${s.classText};
- stroke: none;
- font-family: ${s.fontFamily};
- font-size: 10px;
-
- .title {
- font-weight: bolder;
+(function(wA,v0){typeof exports=="object"&&typeof module<"u"?module.exports=v0():typeof define=="function"&&define.amd?define(v0):(wA=typeof globalThis<"u"?globalThis:wA||self,wA.mermaid=v0())})(this,function(){"use strict";function wA(i){for(var a=[],f=1;f<arguments.length;f++)a[f-1]=arguments[f];var p=Array.from(typeof i=="string"?[i]:i);p[p.length-1]=p[p.length-1].replace(/\r?\n([\t ]*)$/,"");var v=p.reduce(function(E,C){var A=C.match(/\n([\t ]+|(?!\s).)/g);return A?E.concat(A.map(function(N){var F,j;return(j=(F=N.match(/[\t ]/g))===null||F===void 0?void 0:F.length)!==null&&j!==void 0?j:0})):E},[]);if(v.length){var m=new RegExp(`
+[ ]{`+Math.min.apply(Math,v)+"}","g");p=p.map(function(E){return E.replace(m,`
+`)})}p[0]=p[0].replace(/^\r?\n/,"");var b=p[0];return a.forEach(function(E,C){var A=b.match(/(?:^|\n)( *)$/),N=A?A[1]:"",F=E;typeof E=="string"&&E.includes(`
+`)&&(F=String(E).split(`
+`).map(function(j,R){return R===0?j:""+N+j}).join(`
+`)),b+=F+p[C+1]}),b}var v0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function R9(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var ALt={exports:{}};(function(i,a){(function(f,p){i.exports=p()})(v0,function(){var f=1e3,p=6e4,v=36e5,m="millisecond",b="second",E="minute",C="hour",A="day",N="week",F="month",j="quarter",R="year",H="date",Y="Invalid Date",rt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,J=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,it={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ct){var nt=["th","st","nd","rd"],Nt=Ct%100;return"["+Ct+(nt[(Nt-20)%10]||nt[Nt]||nt[0])+"]"}},ht=function(Ct,nt,Nt){var dt=String(Ct);return!dt||dt.length>=nt?Ct:""+Array(nt+1-dt.length).join(Nt)+Ct},Tt={s:ht,z:function(Ct){var nt=-Ct.utcOffset(),Nt=Math.abs(nt),dt=Math.floor(Nt/60),Ft=Nt%60;return(nt<=0?"+":"-")+ht(dt,2,"0")+":"+ht(Ft,2,"0")},m:function Ct(nt,Nt){if(nt.date()<Nt.date())return-Ct(Nt,nt);var dt=12*(Nt.year()-nt.year())+(Nt.month()-nt.month()),Ft=nt.clone().add(dt,F),X=Nt-Ft<0,Bt=nt.clone().add(dt+(X?-1:1),F);return+(-(dt+(Nt-Ft)/(X?Ft-Bt:Bt-Ft))||0)},a:function(Ct){return Ct<0?Math.ceil(Ct)||0:Math.floor(Ct)},p:function(Ct){return{M:F,y:R,w:N,d:A,D:H,h:C,m:E,s:b,ms:m,Q:j}[Ct]||String(Ct||"").toLowerCase().replace(/s$/,"")},u:function(Ct){return Ct===void 0}},yt="en",vt={};vt[yt]=it;var ut=function(Ct){return Ct instanceof gt},xt=function Ct(nt,Nt,dt){var Ft;if(!nt)return yt;if(typeof nt=="string"){var X=nt.toLowerCase();vt[X]&&(Ft=X),Nt&&(vt[X]=Nt,Ft=X);var Bt=nt.split("-");if(!Ft&&Bt.length>1)return Ct(Bt[0])}else{var Rt=nt.name;vt[Rt]=nt,Ft=Rt}return!dt&&Ft&&(yt=Ft),Ft||!dt&&yt},st=function(Ct,nt){if(ut(Ct))return Ct.clone();var Nt=typeof nt=="object"?nt:{};return Nt.date=Ct,Nt.args=arguments,new gt(Nt)},Et=Tt;Et.l=xt,Et.i=ut,Et.w=function(Ct,nt){return st(Ct,{locale:nt.$L,utc:nt.$u,x:nt.$x,$offset:nt.$offset})};var gt=function(){function Ct(Nt){this.$L=xt(Nt.locale,null,!0),this.parse(Nt)}var nt=Ct.prototype;return nt.parse=function(Nt){this.$d=function(dt){var Ft=dt.date,X=dt.utc;if(Ft===null)return new Date(NaN);if(Et.u(Ft))return new Date;if(Ft instanceof Date)return new Date(Ft);if(typeof Ft=="string"&&!/Z$/i.test(Ft)){var Bt=Ft.match(rt);if(Bt){var Rt=Bt[2]-1||0,mt=(Bt[7]||"0").substring(0,3);return X?new Date(Date.UTC(Bt[1],Rt,Bt[3]||1,Bt[4]||0,Bt[5]||0,Bt[6]||0,mt)):new Date(Bt[1],Rt,Bt[3]||1,Bt[4]||0,Bt[5]||0,Bt[6]||0,mt)}}return new Date(Ft)}(Nt),this.$x=Nt.x||{},this.init()},nt.init=function(){var Nt=this.$d;this.$y=Nt.getFullYear(),this.$M=Nt.getMonth(),this.$D=Nt.getDate(),this.$W=Nt.getDay(),this.$H=Nt.getHours(),this.$m=Nt.getMinutes(),this.$s=Nt.getSeconds(),this.$ms=Nt.getMilliseconds()},nt.$utils=function(){return Et},nt.isValid=function(){return this.$d.toString()!==Y},nt.isSame=function(Nt,dt){var Ft=st(Nt);return this.startOf(dt)<=Ft&&Ft<=this.endOf(dt)},nt.isAfter=function(Nt,dt){return st(Nt)<this.startOf(dt)},nt.isBefore=function(Nt,dt){return this.endOf(dt)<st(Nt)},nt.$g=function(Nt,dt,Ft){return Et.u(Nt)?this[dt]:this.set(Ft,Nt)},nt.unix=function(){return Math.floor(this.valueOf()/1e3)},nt.valueOf=function(){return this.$d.getTime()},nt.startOf=function(Nt,dt){var Ft=this,X=!!Et.u(dt)||dt,Bt=Et.p(Nt),Rt=function(Se,ee){var _e=Et.w(Ft.$u?Date.UTC(Ft.$y,ee,Se):new Date(Ft.$y,ee,Se),Ft);return X?_e:_e.endOf(A)},mt=function(Se,ee){return Et.w(Ft.toDate()[Se].apply(Ft.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(ee)),Ft)},Ot=this.$W,Gt=this.$M,Ve=this.$D,Cn="set"+(this.$u?"UTC":"");switch(Bt){case R:return X?Rt(1,0):Rt(31,11);case F:return X?Rt(1,Gt):Rt(0,Gt+1);case N:var xe=this.$locale().weekStart||0,Kn=(Ot<xe?Ot+7:Ot)-xe;return Rt(X?Ve-Kn:Ve+(6-Kn),Gt);case A:case H:return mt(Cn+"Hours",0);case C:return mt(Cn+"Minutes",1);case E:return mt(Cn+"Seconds",2);case b:return mt(Cn+"Milliseconds",3);default:return this.clone()}},nt.endOf=function(Nt){return this.startOf(Nt,!1)},nt.$set=function(Nt,dt){var Ft,X=Et.p(Nt),Bt="set"+(this.$u?"UTC":""),Rt=(Ft={},Ft[A]=Bt+"Date",Ft[H]=Bt+"Date",Ft[F]=Bt+"Month",Ft[R]=Bt+"FullYear",Ft[C]=Bt+"Hours",Ft[E]=Bt+"Minutes",Ft[b]=Bt+"Seconds",Ft[m]=Bt+"Milliseconds",Ft)[X],mt=X===A?this.$D+(dt-this.$W):dt;if(X===F||X===R){var Ot=this.clone().set(H,1);Ot.$d[Rt](mt),Ot.init(),this.$d=Ot.set(H,Math.min(this.$D,Ot.daysInMonth())).$d}else Rt&&this.$d[Rt](mt);return this.init(),this},nt.set=function(Nt,dt){return this.clone().$set(Nt,dt)},nt.get=function(Nt){return this[Et.p(Nt)]()},nt.add=function(Nt,dt){var Ft,X=this;Nt=Number(Nt);var Bt=Et.p(dt),Rt=function(Gt){var Ve=st(X);return Et.w(Ve.date(Ve.date()+Math.round(Gt*Nt)),X)};if(Bt===F)return this.set(F,this.$M+Nt);if(Bt===R)return this.set(R,this.$y+Nt);if(Bt===A)return Rt(1);if(Bt===N)return Rt(7);var mt=(Ft={},Ft[E]=p,Ft[C]=v,Ft[b]=f,Ft)[Bt]||1,Ot=this.$d.getTime()+Nt*mt;return Et.w(Ot,this)},nt.subtract=function(Nt,dt){return this.add(-1*Nt,dt)},nt.format=function(Nt){var dt=this,Ft=this.$locale();if(!this.isValid())return Ft.invalidDate||Y;var X=Nt||"YYYY-MM-DDTHH:mm:ssZ",Bt=Et.z(this),Rt=this.$H,mt=this.$m,Ot=this.$M,Gt=Ft.weekdays,Ve=Ft.months,Cn=function(ee,_e,qe,ce){return ee&&(ee[_e]||ee(dt,X))||qe[_e].slice(0,ce)},xe=function(ee){return Et.s(Rt%12||12,ee,"0")},Kn=Ft.meridiem||function(ee,_e,qe){var ce=ee<12?"AM":"PM";return qe?ce.toLowerCase():ce},Se={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Ot+1,MM:Et.s(Ot+1,2,"0"),MMM:Cn(Ft.monthsShort,Ot,Ve,3),MMMM:Cn(Ve,Ot),D:this.$D,DD:Et.s(this.$D,2,"0"),d:String(this.$W),dd:Cn(Ft.weekdaysMin,this.$W,Gt,2),ddd:Cn(Ft.weekdaysShort,this.$W,Gt,3),dddd:Gt[this.$W],H:String(Rt),HH:Et.s(Rt,2,"0"),h:xe(1),hh:xe(2),a:Kn(Rt,mt,!0),A:Kn(Rt,mt,!1),m:String(mt),mm:Et.s(mt,2,"0"),s:String(this.$s),ss:Et.s(this.$s,2,"0"),SSS:Et.s(this.$ms,3,"0"),Z:Bt};return X.replace(J,function(ee,_e){return _e||Se[ee]||Bt.replace(":","")})},nt.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},nt.diff=function(Nt,dt,Ft){var X,Bt=Et.p(dt),Rt=st(Nt),mt=(Rt.utcOffset()-this.utcOffset())*p,Ot=this-Rt,Gt=Et.m(this,Rt);return Gt=(X={},X[R]=Gt/12,X[F]=Gt,X[j]=Gt/3,X[N]=(Ot-mt)/6048e5,X[A]=(Ot-mt)/864e5,X[C]=Ot/v,X[E]=Ot/p,X[b]=Ot/f,X)[Bt]||Ot,Ft?Gt:Et.a(Gt)},nt.daysInMonth=function(){return this.endOf(F).$D},nt.$locale=function(){return vt[this.$L]},nt.locale=function(Nt,dt){if(!Nt)return this.$L;var Ft=this.clone(),X=xt(Nt,dt,!0);return X&&(Ft.$L=X),Ft},nt.clone=function(){return Et.w(this.$d,this)},nt.toDate=function(){return new Date(this.valueOf())},nt.toJSON=function(){return this.isValid()?this.toISOString():null},nt.toISOString=function(){return this.$d.toISOString()},nt.toString=function(){return this.$d.toUTCString()},Ct}(),pt=gt.prototype;return st.prototype=pt,[["$ms",m],["$s",b],["$m",E],["$H",C],["$W",A],["$M",F],["$y",R],["$D",H]].forEach(function(Ct){pt[Ct[1]]=function(nt){return this.$g(nt,Ct[0],Ct[1])}}),st.extend=function(Ct,nt){return Ct.$i||(Ct(nt,gt,st),Ct.$i=!0),st},st.locale=xt,st.isDayjs=ut,st.unix=function(Ct){return st(1e3*Ct)},st.en=vt[yt],st.Ls=vt,st.p={},st})})(ALt);var R5e=ALt.exports;const up=R9(R5e),g5={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Vt={trace:(...i)=>{},debug:(...i)=>{},info:(...i)=>{},warn:(...i)=>{},error:(...i)=>{},fatal:(...i)=>{}},jft=function(i="fatal"){let a=g5.fatal;typeof i=="string"?(i=i.toLowerCase(),i in g5&&(a=g5[i])):typeof i=="number"&&(a=i),Vt.trace=()=>{},Vt.debug=()=>{},Vt.info=()=>{},Vt.warn=()=>{},Vt.error=()=>{},Vt.fatal=()=>{},a<=g5.fatal&&(Vt.fatal=console.error?console.error.bind(console,Yb("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Yb("FATAL"))),a<=g5.error&&(Vt.error=console.error?console.error.bind(console,Yb("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Yb("ERROR"))),a<=g5.warn&&(Vt.warn=console.warn?console.warn.bind(console,Yb("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Yb("WARN"))),a<=g5.info&&(Vt.info=console.info?console.info.bind(console,Yb("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Yb("INFO"))),a<=g5.debug&&(Vt.debug=console.debug?console.debug.bind(console,Yb("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yb("DEBUG"))),a<=g5.trace&&(Vt.trace=console.debug?console.debug.bind(console,Yb("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yb("TRACE")))},Yb=i=>`%c${up().format("ss.SSS")} : ${i} : `;var $ft={};Object.defineProperty($ft,"__esModule",{value:!0});var Zx=$ft.sanitizeUrl=void 0,j5e=/^([^\w]*)(javascript|data|vbscript)/im,$5e=/&#(\w+)(^\w|;)?/g,z5e=/&(newline|tab);/gi,q5e=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,H5e=/^.+(:|&colon;)/gim,V5e=[".","/"];function G5e(i){return V5e.indexOf(i[0])>-1}function U5e(i){return i.replace($5e,function(a,f){return String.fromCharCode(f)})}function W5e(i){var a=U5e(i||"").replace(z5e,"").replace(q5e,"").trim();if(!a)return"about:blank";if(G5e(a))return a;var f=a.match(H5e);if(!f)return a;var p=f[0];return j5e.test(p)?"about:blank":a}Zx=$ft.sanitizeUrl=W5e;function gU(i,a){return i==null||a==null?NaN:i<a?-1:i>a?1:i>=a?0:NaN}function K5e(i,a){return i==null||a==null?NaN:a<i?-1:a>i?1:a>=i?0:NaN}function zft(i){let a,f,p;i.length!==2?(a=gU,f=(E,C)=>gU(i(E),C),p=(E,C)=>i(E)-C):(a=i===gU||i===K5e?i:Y5e,f=i,p=i);function v(E,C,A=0,N=E.length){if(A<N){if(a(C,C)!==0)return N;do{const F=A+N>>>1;f(E[F],C)<0?A=F+1:N=F}while(A<N)}return A}function m(E,C,A=0,N=E.length){if(A<N){if(a(C,C)!==0)return N;do{const F=A+N>>>1;f(E[F],C)<=0?A=F+1:N=F}while(A<N)}return A}function b(E,C,A=0,N=E.length){const F=v(E,C,A,N-1);return F>A&&p(E[F-1],C)>-p(E[F],C)?F-1:F}return{left:v,center:b,right:m}}function Y5e(){return 0}function X5e(i){return i===null?NaN:+i}const Q5e=zft(gU).right;zft(X5e).center;const Z5e=Q5e;class LLt extends Map{constructor(a,f=e6e){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:f}}),a!=null)for(const[p,v]of a)this.set(p,v)}get(a){return super.get(MLt(this,a))}has(a){return super.has(MLt(this,a))}set(a,f){return super.set(J5e(this,a),f)}delete(a){return super.delete(t6e(this,a))}}function MLt({_intern:i,_key:a},f){const p=a(f);return i.has(p)?i.get(p):f}function J5e({_intern:i,_key:a},f){const p=a(f);return i.has(p)?i.get(p):(i.set(p,f),f)}function t6e({_intern:i,_key:a},f){const p=a(f);return i.has(p)&&(f=i.get(p),i.delete(p)),f}function e6e(i){return i!==null&&typeof i=="object"?i.valueOf():i}var qft=Math.sqrt(50),Hft=Math.sqrt(10),Vft=Math.sqrt(2);function n6e(i,a,f){var p,v=-1,m,b,E;if(a=+a,i=+i,f=+f,i===a&&f>0)return[i];if((p=a<i)&&(m=i,i=a,a=m),(E=DLt(i,a,f))===0||!isFinite(E))return[];if(E>0){let C=Math.round(i/E),A=Math.round(a/E);for(C*E<i&&++C,A*E>a&&--A,b=new Array(m=A-C+1);++v<m;)b[v]=(C+v)*E}else{E=-E;let C=Math.round(i*E),A=Math.round(a*E);for(C/E<i&&++C,A/E>a&&--A,b=new Array(m=A-C+1);++v<m;)b[v]=(C+v)/E}return p&&b.reverse(),b}function DLt(i,a,f){var p=(a-i)/Math.max(0,f),v=Math.floor(Math.log(p)/Math.LN10),m=p/Math.pow(10,v);return v>=0?(m>=qft?10:m>=Hft?5:m>=Vft?2:1)*Math.pow(10,v):-Math.pow(10,-v)/(m>=qft?10:m>=Hft?5:m>=Vft?2:1)}function Gft(i,a,f){var p=Math.abs(a-i)/Math.max(0,f),v=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),m=p/v;return m>=qft?v*=10:m>=Hft?v*=5:m>=Vft&&(v*=2),a<i?-v:v}function r6e(i,a){let f;if(a===void 0)for(const p of i)p!=null&&(f<p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let v of i)(v=a(v,++p,i))!=null&&(f<v||f===void 0&&v>=v)&&(f=v)}return f}function i6e(i,a){let f;if(a===void 0)for(const p of i)p!=null&&(f>p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let v of i)(v=a(v,++p,i))!=null&&(f>v||f===void 0&&v>=v)&&(f=v)}return f}function s6e(i){return i}var pU=1,Uft=2,Wft=3,bU=4,ILt=1e-6;function a6e(i){return"translate("+i+",0)"}function o6e(i){return"translate(0,"+i+")"}function c6e(i){return a=>+i(a)}function u6e(i,a){return a=Math.max(0,i.bandwidth()-a*2)/2,i.round()&&(a=Math.round(a)),f=>+i(f)+a}function l6e(){return!this.__axis}function OLt(i,a){var f=[],p=null,v=null,m=6,b=6,E=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:.5,A=i===pU||i===bU?-1:1,N=i===bU||i===Uft?"x":"y",F=i===pU||i===Wft?a6e:o6e;function j(R){var H=p??(a.ticks?a.ticks.apply(a,f):a.domain()),Y=v??(a.tickFormat?a.tickFormat.apply(a,f):s6e),rt=Math.max(m,0)+E,J=a.range(),it=+J[0]+C,ht=+J[J.length-1]+C,Tt=(a.bandwidth?u6e:c6e)(a.copy(),C),yt=R.selection?R.selection():R,vt=yt.selectAll(".domain").data([null]),ut=yt.selectAll(".tick").data(H,a).order(),xt=ut.exit(),st=ut.enter().append("g").attr("class","tick"),Et=ut.select("line"),gt=ut.select("text");vt=vt.merge(vt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ut=ut.merge(st),Et=Et.merge(st.append("line").attr("stroke","currentColor").attr(N+"2",A*m)),gt=gt.merge(st.append("text").attr("fill","currentColor").attr(N,A*rt).attr("dy",i===pU?"0em":i===Wft?"0.71em":"0.32em")),R!==yt&&(vt=vt.transition(R),ut=ut.transition(R),Et=Et.transition(R),gt=gt.transition(R),xt=xt.transition(R).attr("opacity",ILt).attr("transform",function(pt){return isFinite(pt=Tt(pt))?F(pt+C):this.getAttribute("transform")}),st.attr("opacity",ILt).attr("transform",function(pt){var Ct=this.parentNode.__axis;return F((Ct&&isFinite(Ct=Ct(pt))?Ct:Tt(pt))+C)})),xt.remove(),vt.attr("d",i===bU||i===Uft?b?"M"+A*b+","+it+"H"+C+"V"+ht+"H"+A*b:"M"+C+","+it+"V"+ht:b?"M"+it+","+A*b+"V"+C+"H"+ht+"V"+A*b:"M"+it+","+C+"H"+ht),ut.attr("opacity",1).attr("transform",function(pt){return F(Tt(pt)+C)}),Et.attr(N+"2",A*m),gt.attr(N,A*rt).text(Y),yt.filter(l6e).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",i===Uft?"start":i===bU?"end":"middle"),yt.each(function(){this.__axis=Tt})}return j.scale=function(R){return arguments.length?(a=R,j):a},j.ticks=function(){return f=Array.from(arguments),j},j.tickArguments=function(R){return arguments.length?(f=R==null?[]:Array.from(R),j):f.slice()},j.tickValues=function(R){return arguments.length?(p=R==null?null:Array.from(R),j):p&&p.slice()},j.tickFormat=function(R){return arguments.length?(v=R,j):v},j.tickSize=function(R){return arguments.length?(m=b=+R,j):m},j.tickSizeInner=function(R){return arguments.length?(m=+R,j):m},j.tickSizeOuter=function(R){return arguments.length?(b=+R,j):b},j.tickPadding=function(R){return arguments.length?(E=+R,j):E},j.offset=function(R){return arguments.length?(C=+R,j):C},j}function h6e(i){return OLt(pU,i)}function f6e(i){return OLt(Wft,i)}var d6e={value:()=>{}};function PLt(){for(var i=0,a=arguments.length,f={},p;i<a;++i){if(!(p=arguments[i]+"")||p in f||/[\s.]/.test(p))throw new Error("illegal type: "+p);f[p]=[]}return new vU(f)}function vU(i){this._=i}function g6e(i,a){return i.trim().split(/^|\s+/).map(function(f){var p="",v=f.indexOf(".");if(v>=0&&(p=f.slice(v+1),f=f.slice(0,v)),f&&!a.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:p}})}vU.prototype=PLt.prototype={constructor:vU,on:function(i,a){var f=this._,p=g6e(i+"",f),v,m=-1,b=p.length;if(arguments.length<2){for(;++m<b;)if((v=(i=p[m]).type)&&(v=p6e(f[v],i.name)))return v;return}if(a!=null&&typeof a!="function")throw new Error("invalid callback: "+a);for(;++m<b;)if(v=(i=p[m]).type)f[v]=NLt(f[v],i.name,a);else if(a==null)for(v in f)f[v]=NLt(f[v],i.name,null);return this},copy:function(){var i={},a=this._;for(var f in a)i[f]=a[f].slice();return new vU(i)},call:function(i,a){if((v=arguments.length-2)>0)for(var f=new Array(v),p=0,v,m;p<v;++p)f[p]=arguments[p+2];if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(m=this._[i],p=0,v=m.length;p<v;++p)m[p].value.apply(a,f)},apply:function(i,a,f){if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(var p=this._[i],v=0,m=p.length;v<m;++v)p[v].value.apply(a,f)}};function p6e(i,a){for(var f=0,p=i.length,v;f<p;++f)if((v=i[f]).name===a)return v.value}function NLt(i,a,f){for(var p=0,v=i.length;p<v;++p)if(i[p].name===a){i[p]=d6e,i=i.slice(0,p).concat(i.slice(p+1));break}return f!=null&&i.push({name:a,value:f}),i}var Kft="http://www.w3.org/1999/xhtml";const FLt={svg:"http://www.w3.org/2000/svg",xhtml:Kft,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function wU(i){var a=i+="",f=a.indexOf(":");return f>=0&&(a=i.slice(0,f))!=="xmlns"&&(i=i.slice(f+1)),FLt.hasOwnProperty(a)?{space:FLt[a],local:i}:i}function b6e(i){return function(){var a=this.ownerDocument,f=this.namespaceURI;return f===Kft&&a.documentElement.namespaceURI===Kft?a.createElement(i):a.createElementNS(f,i)}}function v6e(i){return function(){return this.ownerDocument.createElementNS(i.space,i.local)}}function BLt(i){var a=wU(i);return(a.local?v6e:b6e)(a)}function w6e(){}function Yft(i){return i==null?w6e:function(){return this.querySelector(i)}}function m6e(i){typeof i!="function"&&(i=Yft(i));for(var a=this._groups,f=a.length,p=new Array(f),v=0;v<f;++v)for(var m=a[v],b=m.length,E=p[v]=new Array(b),C,A,N=0;N<b;++N)(C=m[N])&&(A=i.call(C,C.__data__,N,m))&&("__data__"in C&&(A.__data__=C.__data__),E[N]=A);return new ig(p,this._parents)}function RLt(i){return i==null?[]:Array.isArray(i)?i:Array.from(i)}function y6e(){return[]}function jLt(i){return i==null?y6e:function(){return this.querySelectorAll(i)}}function x6e(i){return function(){return RLt(i.apply(this,arguments))}}function k6e(i){typeof i=="function"?i=x6e(i):i=jLt(i);for(var a=this._groups,f=a.length,p=[],v=[],m=0;m<f;++m)for(var b=a[m],E=b.length,C,A=0;A<E;++A)(C=b[A])&&(p.push(i.call(C,C.__data__,A,b)),v.push(C));return new ig(p,v)}function $Lt(i){return function(){return this.matches(i)}}function zLt(i){return function(a){return a.matches(i)}}var E6e=Array.prototype.find;function T6e(i){return function(){return E6e.call(this.children,i)}}function _6e(){return this.firstElementChild}function C6e(i){return this.select(i==null?_6e:T6e(typeof i=="function"?i:zLt(i)))}var S6e=Array.prototype.filter;function A6e(){return Array.from(this.children)}function L6e(i){return function(){return S6e.call(this.children,i)}}function M6e(i){return this.selectAll(i==null?A6e:L6e(typeof i=="function"?i:zLt(i)))}function D6e(i){typeof i!="function"&&(i=$Lt(i));for(var a=this._groups,f=a.length,p=new Array(f),v=0;v<f;++v)for(var m=a[v],b=m.length,E=p[v]=[],C,A=0;A<b;++A)(C=m[A])&&i.call(C,C.__data__,A,m)&&E.push(C);return new ig(p,this._parents)}function qLt(i){return new Array(i.length)}function I6e(){return new ig(this._enter||this._groups.map(qLt),this._parents)}function mU(i,a){this.ownerDocument=i.ownerDocument,this.namespaceURI=i.namespaceURI,this._next=null,this._parent=i,this.__data__=a}mU.prototype={constructor:mU,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,a){return this._parent.insertBefore(i,a)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};function O6e(i){return function(){return i}}function P6e(i,a,f,p,v,m){for(var b=0,E,C=a.length,A=m.length;b<A;++b)(E=a[b])?(E.__data__=m[b],p[b]=E):f[b]=new mU(i,m[b]);for(;b<C;++b)(E=a[b])&&(v[b]=E)}function N6e(i,a,f,p,v,m,b){var E,C,A=new Map,N=a.length,F=m.length,j=new Array(N),R;for(E=0;E<N;++E)(C=a[E])&&(j[E]=R=b.call(C,C.__data__,E,a)+"",A.has(R)?v[E]=C:A.set(R,C));for(E=0;E<F;++E)R=b.call(i,m[E],E,m)+"",(C=A.get(R))?(p[E]=C,C.__data__=m[E],A.delete(R)):f[E]=new mU(i,m[E]);for(E=0;E<N;++E)(C=a[E])&&A.get(j[E])===C&&(v[E]=C)}function F6e(i){return i.__data__}function B6e(i,a){if(!arguments.length)return Array.from(this,F6e);var f=a?N6e:P6e,p=this._parents,v=this._groups;typeof i!="function"&&(i=O6e(i));for(var m=v.length,b=new Array(m),E=new Array(m),C=new Array(m),A=0;A<m;++A){var N=p[A],F=v[A],j=F.length,R=R6e(i.call(N,N&&N.__data__,A,p)),H=R.length,Y=E[A]=new Array(H),rt=b[A]=new Array(H),J=C[A]=new Array(j);f(N,F,Y,rt,J,R,a);for(var it=0,ht=0,Tt,yt;it<H;++it)if(Tt=Y[it]){for(it>=ht&&(ht=it+1);!(yt=rt[ht])&&++ht<H;);Tt._next=yt||null}}return b=new ig(b,p),b._enter=E,b._exit=C,b}function R6e(i){return typeof i=="object"&&"length"in i?i:Array.from(i)}function j6e(){return new ig(this._exit||this._groups.map(qLt),this._parents)}function $6e(i,a,f){var p=this.enter(),v=this,m=this.exit();return typeof i=="function"?(p=i(p),p&&(p=p.selection())):p=p.append(i+""),a!=null&&(v=a(v),v&&(v=v.selection())),f==null?m.remove():f(m),p&&v?p.merge(v).order():v}function z6e(i){for(var a=i.selection?i.selection():i,f=this._groups,p=a._groups,v=f.length,m=p.length,b=Math.min(v,m),E=new Array(v),C=0;C<b;++C)for(var A=f[C],N=p[C],F=A.length,j=E[C]=new Array(F),R,H=0;H<F;++H)(R=A[H]||N[H])&&(j[H]=R);for(;C<v;++C)E[C]=f[C];return new ig(E,this._parents)}function q6e(){for(var i=this._groups,a=-1,f=i.length;++a<f;)for(var p=i[a],v=p.length-1,m=p[v],b;--v>=0;)(b=p[v])&&(m&&b.compareDocumentPosition(m)^4&&m.parentNode.insertBefore(b,m),m=b);return this}function H6e(i){i||(i=V6e);function a(F,j){return F&&j?i(F.__data__,j.__data__):!F-!j}for(var f=this._groups,p=f.length,v=new Array(p),m=0;m<p;++m){for(var b=f[m],E=b.length,C=v[m]=new Array(E),A,N=0;N<E;++N)(A=b[N])&&(C[N]=A);C.sort(a)}return new ig(v,this._parents).order()}function V6e(i,a){return i<a?-1:i>a?1:i>=a?0:NaN}function G6e(){var i=arguments[0];return arguments[0]=this,i.apply(null,arguments),this}function U6e(){return Array.from(this)}function W6e(){for(var i=this._groups,a=0,f=i.length;a<f;++a)for(var p=i[a],v=0,m=p.length;v<m;++v){var b=p[v];if(b)return b}return null}function K6e(){let i=0;for(const a of this)++i;return i}function Y6e(){return!this.node()}function X6e(i){for(var a=this._groups,f=0,p=a.length;f<p;++f)for(var v=a[f],m=0,b=v.length,E;m<b;++m)(E=v[m])&&i.call(E,E.__data__,m,v);return this}function Q6e(i){return function(){this.removeAttribute(i)}}function Z6e(i){return function(){this.removeAttributeNS(i.space,i.local)}}function J6e(i,a){return function(){this.setAttribute(i,a)}}function txe(i,a){return function(){this.setAttributeNS(i.space,i.local,a)}}function exe(i,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttribute(i):this.setAttribute(i,f)}}function nxe(i,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,f)}}function rxe(i,a){var f=wU(i);if(arguments.length<2){var p=this.node();return f.local?p.getAttributeNS(f.space,f.local):p.getAttribute(f)}return this.each((a==null?f.local?Z6e:Q6e:typeof a=="function"?f.local?nxe:exe:f.local?txe:J6e)(f,a))}function HLt(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function ixe(i){return function(){this.style.removeProperty(i)}}function sxe(i,a,f){return function(){this.style.setProperty(i,a,f)}}function axe(i,a,f){return function(){var p=a.apply(this,arguments);p==null?this.style.removeProperty(i):this.style.setProperty(i,p,f)}}function oxe(i,a,f){return arguments.length>1?this.each((a==null?ixe:typeof a=="function"?axe:sxe)(i,a,f??"")):mA(this.node(),i)}function mA(i,a){return i.style.getPropertyValue(a)||HLt(i).getComputedStyle(i,null).getPropertyValue(a)}function cxe(i){return function(){delete this[i]}}function uxe(i,a){return function(){this[i]=a}}function lxe(i,a){return function(){var f=a.apply(this,arguments);f==null?delete this[i]:this[i]=f}}function hxe(i,a){return arguments.length>1?this.each((a==null?cxe:typeof a=="function"?lxe:uxe)(i,a)):this.node()[i]}function VLt(i){return i.trim().split(/^|\s+/)}function Xft(i){return i.classList||new GLt(i)}function GLt(i){this._node=i,this._names=VLt(i.getAttribute("class")||"")}GLt.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 ULt(i,a){for(var f=Xft(i),p=-1,v=a.length;++p<v;)f.add(a[p])}function WLt(i,a){for(var f=Xft(i),p=-1,v=a.length;++p<v;)f.remove(a[p])}function fxe(i){return function(){ULt(this,i)}}function dxe(i){return function(){WLt(this,i)}}function gxe(i,a){return function(){(a.apply(this,arguments)?ULt:WLt)(this,i)}}function pxe(i,a){var f=VLt(i+"");if(arguments.length<2){for(var p=Xft(this.node()),v=-1,m=f.length;++v<m;)if(!p.contains(f[v]))return!1;return!0}return this.each((typeof a=="function"?gxe:a?fxe:dxe)(f,a))}function bxe(){this.textContent=""}function vxe(i){return function(){this.textContent=i}}function wxe(i){return function(){var a=i.apply(this,arguments);this.textContent=a??""}}function mxe(i){return arguments.length?this.each(i==null?bxe:(typeof i=="function"?wxe:vxe)(i)):this.node().textContent}function yxe(){this.innerHTML=""}function xxe(i){return function(){this.innerHTML=i}}function kxe(i){return function(){var a=i.apply(this,arguments);this.innerHTML=a??""}}function Exe(i){return arguments.length?this.each(i==null?yxe:(typeof i=="function"?kxe:xxe)(i)):this.node().innerHTML}function Txe(){this.nextSibling&&this.parentNode.appendChild(this)}function _xe(){return this.each(Txe)}function Cxe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Sxe(){return this.each(Cxe)}function Axe(i){var a=typeof i=="function"?i:BLt(i);return this.select(function(){return this.appendChild(a.apply(this,arguments))})}function Lxe(){return null}function Mxe(i,a){var f=typeof i=="function"?i:BLt(i),p=a==null?Lxe:typeof a=="function"?a:Yft(a);return this.select(function(){return this.insertBefore(f.apply(this,arguments),p.apply(this,arguments)||null)})}function Dxe(){var i=this.parentNode;i&&i.removeChild(this)}function Ixe(){return this.each(Dxe)}function Oxe(){var i=this.cloneNode(!1),a=this.parentNode;return a?a.insertBefore(i,this.nextSibling):i}function Pxe(){var i=this.cloneNode(!0),a=this.parentNode;return a?a.insertBefore(i,this.nextSibling):i}function Nxe(i){return this.select(i?Pxe:Oxe)}function Fxe(i){return arguments.length?this.property("__data__",i):this.node().__data__}function Bxe(i){return function(a){i.call(this,a,this.__data__)}}function Rxe(i){return i.trim().split(/^|\s+/).map(function(a){var f="",p=a.indexOf(".");return p>=0&&(f=a.slice(p+1),a=a.slice(0,p)),{type:a,name:f}})}function jxe(i){return function(){var a=this.__on;if(a){for(var f=0,p=-1,v=a.length,m;f<v;++f)m=a[f],(!i.type||m.type===i.type)&&m.name===i.name?this.removeEventListener(m.type,m.listener,m.options):a[++p]=m;++p?a.length=p:delete this.__on}}}function $xe(i,a,f){return function(){var p=this.__on,v,m=Bxe(a);if(p){for(var b=0,E=p.length;b<E;++b)if((v=p[b]).type===i.type&&v.name===i.name){this.removeEventListener(v.type,v.listener,v.options),this.addEventListener(v.type,v.listener=m,v.options=f),v.value=a;return}}this.addEventListener(i.type,m,f),v={type:i.type,name:i.name,value:a,listener:m,options:f},p?p.push(v):this.__on=[v]}}function zxe(i,a,f){var p=Rxe(i+""),v,m=p.length,b;if(arguments.length<2){var E=this.node().__on;if(E){for(var C=0,A=E.length,N;C<A;++C)for(v=0,N=E[C];v<m;++v)if((b=p[v]).type===N.type&&b.name===N.name)return N.value}return}for(E=a?$xe:jxe,v=0;v<m;++v)this.each(E(p[v],a,f));return this}function KLt(i,a,f){var p=HLt(i),v=p.CustomEvent;typeof v=="function"?v=new v(a,f):(v=p.document.createEvent("Event"),f?(v.initEvent(a,f.bubbles,f.cancelable),v.detail=f.detail):v.initEvent(a,!1,!1)),i.dispatchEvent(v)}function qxe(i,a){return function(){return KLt(this,i,a)}}function Hxe(i,a){return function(){return KLt(this,i,a.apply(this,arguments))}}function Vxe(i,a){return this.each((typeof a=="function"?Hxe:qxe)(i,a))}function*Gxe(){for(var i=this._groups,a=0,f=i.length;a<f;++a)for(var p=i[a],v=0,m=p.length,b;v<m;++v)(b=p[v])&&(yield b)}var Qft=[null];function ig(i,a){this._groups=i,this._parents=a}function EP(){return new ig([[document.documentElement]],Qft)}function Uxe(){return this}ig.prototype=EP.prototype={constructor:ig,select:m6e,selectAll:k6e,selectChild:C6e,selectChildren:M6e,filter:D6e,data:B6e,enter:I6e,exit:j6e,join:$6e,merge:z6e,selection:Uxe,order:q6e,sort:H6e,call:G6e,nodes:U6e,node:W6e,size:K6e,empty:Y6e,each:X6e,attr:rxe,style:oxe,property:hxe,classed:pxe,text:mxe,html:Exe,raise:_xe,lower:Sxe,append:Axe,insert:Mxe,remove:Ixe,clone:Nxe,datum:Fxe,on:zxe,dispatch:Vxe,[Symbol.iterator]:Gxe};function wr(i){return typeof i=="string"?new ig([[document.querySelector(i)]],[document.documentElement]):new ig([[i]],Qft)}function YLt(i){return typeof i=="string"?new ig([document.querySelectorAll(i)],[document.documentElement]):new ig([RLt(i)],Qft)}function TP(i,a,f){i.prototype=a.prototype=f,f.constructor=i}function yU(i,a){var f=Object.create(i.prototype);for(var p in a)f[p]=a[p];return f}function j9(){}var _P=.7,xU=1/_P,yA="\\s*([+-]?\\d+)\\s*",CP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Wxe=/^#([0-9a-f]{3,8})$/,Kxe=new RegExp(`^rgb\\(${yA},${yA},${yA}\\)$`),Yxe=new RegExp(`^rgb\\(${s3},${s3},${s3}\\)$`),Xxe=new RegExp(`^rgba\\(${yA},${yA},${yA},${CP}\\)$`),Qxe=new RegExp(`^rgba\\(${s3},${s3},${s3},${CP}\\)$`),Zxe=new RegExp(`^hsl\\(${CP},${s3},${s3}\\)$`),Jxe=new RegExp(`^hsla\\(${CP},${s3},${s3},${CP}\\)$`),XLt={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};TP(j9,$9,{copy(i){return Object.assign(new this.constructor,this,i)},displayable(){return this.rgb().displayable()},hex:QLt,formatHex:QLt,formatHex8:tke,formatHsl:eke,formatRgb:ZLt,toString:ZLt});function QLt(){return this.rgb().formatHex()}function tke(){return this.rgb().formatHex8()}function eke(){return iMt(this).formatHsl()}function ZLt(){return this.rgb().formatRgb()}function $9(i){var a,f;return i=(i+"").trim().toLowerCase(),(a=Wxe.exec(i))?(f=a[1].length,a=parseInt(a[1],16),f===6?JLt(a):f===3?new w0(a>>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):f===8?kU(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):f===4?kU(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=Kxe.exec(i))?new w0(a[1],a[2],a[3],1):(a=Yxe.exec(i))?new w0(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=Xxe.exec(i))?kU(a[1],a[2],a[3],a[4]):(a=Qxe.exec(i))?kU(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=Zxe.exec(i))?rMt(a[1],a[2]/100,a[3]/100,1):(a=Jxe.exec(i))?rMt(a[1],a[2]/100,a[3]/100,a[4]):XLt.hasOwnProperty(i)?JLt(XLt[i]):i==="transparent"?new w0(NaN,NaN,NaN,0):null}function JLt(i){return new w0(i>>16&255,i>>8&255,i&255,1)}function kU(i,a,f,p){return p<=0&&(i=a=f=NaN),new w0(i,a,f,p)}function tMt(i){return i instanceof j9||(i=$9(i)),i?(i=i.rgb(),new w0(i.r,i.g,i.b,i.opacity)):new w0}function Zft(i,a,f,p){return arguments.length===1?tMt(i):new w0(i,a,f,p??1)}function w0(i,a,f,p){this.r=+i,this.g=+a,this.b=+f,this.opacity=+p}TP(w0,Zft,yU(j9,{brighter(i){return i=i==null?xU:Math.pow(xU,i),new w0(this.r*i,this.g*i,this.b*i,this.opacity)},darker(i){return i=i==null?_P:Math.pow(_P,i),new w0(this.r*i,this.g*i,this.b*i,this.opacity)},rgb(){return this},clamp(){return new w0(z9(this.r),z9(this.g),z9(this.b),EU(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:eMt,formatHex:eMt,formatHex8:nke,formatRgb:nMt,toString:nMt}));function eMt(){return`#${q9(this.r)}${q9(this.g)}${q9(this.b)}`}function nke(){return`#${q9(this.r)}${q9(this.g)}${q9(this.b)}${q9((isNaN(this.opacity)?1:this.opacity)*255)}`}function nMt(){const i=EU(this.opacity);return`${i===1?"rgb(":"rgba("}${z9(this.r)}, ${z9(this.g)}, ${z9(this.b)}${i===1?")":`, ${i})`}`}function EU(i){return isNaN(i)?1:Math.max(0,Math.min(1,i))}function z9(i){return Math.max(0,Math.min(255,Math.round(i)||0))}function q9(i){return i=z9(i),(i<16?"0":"")+i.toString(16)}function rMt(i,a,f,p){return p<=0?i=a=f=NaN:f<=0||f>=1?i=a=NaN:a<=0&&(i=NaN),new Uw(i,a,f,p)}function iMt(i){if(i instanceof Uw)return new Uw(i.h,i.s,i.l,i.opacity);if(i instanceof j9||(i=$9(i)),!i)return new Uw;if(i instanceof Uw)return i;i=i.rgb();var a=i.r/255,f=i.g/255,p=i.b/255,v=Math.min(a,f,p),m=Math.max(a,f,p),b=NaN,E=m-v,C=(m+v)/2;return E?(a===m?b=(f-p)/E+(f<p)*6:f===m?b=(p-a)/E+2:b=(a-f)/E+4,E/=C<.5?m+v:2-m-v,b*=60):E=C>0&&C<1?0:b,new Uw(b,E,C,i.opacity)}function rke(i,a,f,p){return arguments.length===1?iMt(i):new Uw(i,a,f,p??1)}function Uw(i,a,f,p){this.h=+i,this.s=+a,this.l=+f,this.opacity=+p}TP(Uw,rke,yU(j9,{brighter(i){return i=i==null?xU:Math.pow(xU,i),new Uw(this.h,this.s,this.l*i,this.opacity)},darker(i){return i=i==null?_P:Math.pow(_P,i),new Uw(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,f=this.l,p=f+(f<.5?f:1-f)*a,v=2*f-p;return new w0(Jft(i>=240?i-240:i+120,v,p),Jft(i,v,p),Jft(i<120?i+240:i-120,v,p),this.opacity)},clamp(){return new Uw(sMt(this.h),TU(this.s),TU(this.l),EU(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=EU(this.opacity);return`${i===1?"hsl(":"hsla("}${sMt(this.h)}, ${TU(this.s)*100}%, ${TU(this.l)*100}%${i===1?")":`, ${i})`}`}}));function sMt(i){return i=(i||0)%360,i<0?i+360:i}function TU(i){return Math.max(0,Math.min(1,i||0))}function Jft(i,a,f){return(i<60?a+(f-a)*i/60:i<180?f:i<240?a+(f-a)*(240-i)/60:a)*255}const ike=Math.PI/180,ske=180/Math.PI,_U=18,aMt=.96422,oMt=1,cMt=.82521,uMt=4/29,xA=6/29,lMt=3*xA*xA,ake=xA*xA*xA;function hMt(i){if(i instanceof a3)return new a3(i.l,i.a,i.b,i.opacity);if(i instanceof p5)return fMt(i);i instanceof w0||(i=tMt(i));var a=r1t(i.r),f=r1t(i.g),p=r1t(i.b),v=t1t((.2225045*a+.7168786*f+.0606169*p)/oMt),m,b;return a===f&&f===p?m=b=v:(m=t1t((.4360747*a+.3850649*f+.1430804*p)/aMt),b=t1t((.0139322*a+.0971045*f+.7141733*p)/cMt)),new a3(116*v-16,500*(m-v),200*(v-b),i.opacity)}function oke(i,a,f,p){return arguments.length===1?hMt(i):new a3(i,a,f,p??1)}function a3(i,a,f,p){this.l=+i,this.a=+a,this.b=+f,this.opacity=+p}TP(a3,oke,yU(j9,{brighter(i){return new a3(this.l+_U*(i??1),this.a,this.b,this.opacity)},darker(i){return new a3(this.l-_U*(i??1),this.a,this.b,this.opacity)},rgb(){var i=(this.l+16)/116,a=isNaN(this.a)?i:i+this.a/500,f=isNaN(this.b)?i:i-this.b/200;return a=aMt*e1t(a),i=oMt*e1t(i),f=cMt*e1t(f),new w0(n1t(3.1338561*a-1.6168667*i-.4906146*f),n1t(-.9787684*a+1.9161415*i+.033454*f),n1t(.0719453*a-.2289914*i+1.4052427*f),this.opacity)}}));function t1t(i){return i>ake?Math.pow(i,1/3):i/lMt+uMt}function e1t(i){return i>xA?i*i*i:lMt*(i-uMt)}function n1t(i){return 255*(i<=.0031308?12.92*i:1.055*Math.pow(i,1/2.4)-.055)}function r1t(i){return(i/=255)<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4)}function cke(i){if(i instanceof p5)return new p5(i.h,i.c,i.l,i.opacity);if(i instanceof a3||(i=hMt(i)),i.a===0&&i.b===0)return new p5(NaN,0<i.l&&i.l<100?0:NaN,i.l,i.opacity);var a=Math.atan2(i.b,i.a)*ske;return new p5(a<0?a+360:a,Math.sqrt(i.a*i.a+i.b*i.b),i.l,i.opacity)}function i1t(i,a,f,p){return arguments.length===1?cke(i):new p5(i,a,f,p??1)}function p5(i,a,f,p){this.h=+i,this.c=+a,this.l=+f,this.opacity=+p}function fMt(i){if(isNaN(i.h))return new a3(i.l,0,0,i.opacity);var a=i.h*ike;return new a3(i.l,Math.cos(a)*i.c,Math.sin(a)*i.c,i.opacity)}TP(p5,i1t,yU(j9,{brighter(i){return new p5(this.h,this.c,this.l+_U*(i??1),this.opacity)},darker(i){return new p5(this.h,this.c,this.l-_U*(i??1),this.opacity)},rgb(){return fMt(this).rgb()}}));const CU=i=>()=>i;function dMt(i,a){return function(f){return i+f*a}}function uke(i,a,f){return i=Math.pow(i,f),a=Math.pow(a,f)-i,f=1/f,function(p){return Math.pow(i+p*a,f)}}function lke(i,a){var f=a-i;return f?dMt(i,f>180||f<-180?f-360*Math.round(f/360):f):CU(isNaN(i)?a:i)}function hke(i){return(i=+i)==1?SP:function(a,f){return f-a?uke(a,f,i):CU(isNaN(a)?f:a)}}function SP(i,a){var f=a-i;return f?dMt(i,f):CU(isNaN(i)?a:i)}const SU=function i(a){var f=hke(a);function p(v,m){var b=f((v=Zft(v)).r,(m=Zft(m)).r),E=f(v.g,m.g),C=f(v.b,m.b),A=SP(v.opacity,m.opacity);return function(N){return v.r=b(N),v.g=E(N),v.b=C(N),v.opacity=A(N),v+""}}return p.gamma=i,p}(1);function fke(i,a){a||(a=[]);var f=i?Math.min(a.length,i.length):0,p=a.slice(),v;return function(m){for(v=0;v<f;++v)p[v]=i[v]*(1-m)+a[v]*m;return p}}function dke(i){return ArrayBuffer.isView(i)&&!(i instanceof DataView)}function gke(i,a){var f=a?a.length:0,p=i?Math.min(f,i.length):0,v=new Array(p),m=new Array(f),b;for(b=0;b<p;++b)v[b]=o1t(i[b],a[b]);for(;b<f;++b)m[b]=a[b];return function(E){for(b=0;b<p;++b)m[b]=v[b](E);return m}}function pke(i,a){var f=new Date;return i=+i,a=+a,function(p){return f.setTime(i*(1-p)+a*p),f}}function Ww(i,a){return i=+i,a=+a,function(f){return i*(1-f)+a*f}}function bke(i,a){var f={},p={},v;(i===null||typeof i!="object")&&(i={}),(a===null||typeof a!="object")&&(a={});for(v in a)v in i?f[v]=o1t(i[v],a[v]):p[v]=a[v];return function(m){for(v in f)p[v]=f[v](m);return p}}var s1t=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a1t=new RegExp(s1t.source,"g");function vke(i){return function(){return i}}function wke(i){return function(a){return i(a)+""}}function gMt(i,a){var f=s1t.lastIndex=a1t.lastIndex=0,p,v,m,b=-1,E=[],C=[];for(i=i+"",a=a+"";(p=s1t.exec(i))&&(v=a1t.exec(a));)(m=v.index)>f&&(m=a.slice(f,m),E[b]?E[b]+=m:E[++b]=m),(p=p[0])===(v=v[0])?E[b]?E[b]+=v:E[++b]=v:(E[++b]=null,C.push({i:b,x:Ww(p,v)})),f=a1t.lastIndex;return f<a.length&&(m=a.slice(f),E[b]?E[b]+=m:E[++b]=m),E.length<2?C[0]?wke(C[0].x):vke(a):(a=C.length,function(A){for(var N=0,F;N<a;++N)E[(F=C[N]).i]=F.x(A);return E.join("")})}function o1t(i,a){var f=typeof a,p;return a==null||f==="boolean"?CU(a):(f==="number"?Ww:f==="string"?(p=$9(a))?(a=p,SU):gMt:a instanceof $9?SU:a instanceof Date?pke:dke(a)?fke:Array.isArray(a)?gke:typeof a.valueOf!="function"&&typeof a.toString!="function"||isNaN(a)?bke:Ww)(i,a)}function mke(i,a){return i=+i,a=+a,function(f){return Math.round(i*(1-f)+a*f)}}var pMt=180/Math.PI,c1t={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function bMt(i,a,f,p,v,m){var b,E,C;return(b=Math.sqrt(i*i+a*a))&&(i/=b,a/=b),(C=i*f+a*p)&&(f-=i*C,p-=a*C),(E=Math.sqrt(f*f+p*p))&&(f/=E,p/=E,C/=E),i*p<a*f&&(i=-i,a=-a,C=-C,b=-b),{translateX:v,translateY:m,rotate:Math.atan2(a,i)*pMt,skewX:Math.atan(C)*pMt,scaleX:b,scaleY:E}}var AU;function yke(i){const a=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(i+"");return a.isIdentity?c1t:bMt(a.a,a.b,a.c,a.d,a.e,a.f)}function xke(i){return i==null||(AU||(AU=document.createElementNS("http://www.w3.org/2000/svg","g")),AU.setAttribute("transform",i),!(i=AU.transform.baseVal.consolidate()))?c1t:(i=i.matrix,bMt(i.a,i.b,i.c,i.d,i.e,i.f))}function vMt(i,a,f,p){function v(A){return A.length?A.pop()+" ":""}function m(A,N,F,j,R,H){if(A!==F||N!==j){var Y=R.push("translate(",null,a,null,f);H.push({i:Y-4,x:Ww(A,F)},{i:Y-2,x:Ww(N,j)})}else(F||j)&&R.push("translate("+F+a+j+f)}function b(A,N,F,j){A!==N?(A-N>180?N+=360:N-A>180&&(A+=360),j.push({i:F.push(v(F)+"rotate(",null,p)-2,x:Ww(A,N)})):N&&F.push(v(F)+"rotate("+N+p)}function E(A,N,F,j){A!==N?j.push({i:F.push(v(F)+"skewX(",null,p)-2,x:Ww(A,N)}):N&&F.push(v(F)+"skewX("+N+p)}function C(A,N,F,j,R,H){if(A!==F||N!==j){var Y=R.push(v(R)+"scale(",null,",",null,")");H.push({i:Y-4,x:Ww(A,F)},{i:Y-2,x:Ww(N,j)})}else(F!==1||j!==1)&&R.push(v(R)+"scale("+F+","+j+")")}return function(A,N){var F=[],j=[];return A=i(A),N=i(N),m(A.translateX,A.translateY,N.translateX,N.translateY,F,j),b(A.rotate,N.rotate,F,j),E(A.skewX,N.skewX,F,j),C(A.scaleX,A.scaleY,N.scaleX,N.scaleY,F,j),A=N=null,function(R){for(var H=-1,Y=j.length,rt;++H<Y;)F[(rt=j[H]).i]=rt.x(R);return F.join("")}}}var kke=vMt(yke,"px, ","px)","deg)"),Eke=vMt(xke,", ",")",")");function Tke(i){return function(a,f){var p=i((a=i1t(a)).h,(f=i1t(f)).h),v=SP(a.c,f.c),m=SP(a.l,f.l),b=SP(a.opacity,f.opacity);return function(E){return a.h=p(E),a.c=v(E),a.l=m(E),a.opacity=b(E),a+""}}}const _ke=Tke(lke);var kA=0,AP=0,LP=0,wMt=1e3,LU,MP,MU=0,H9=0,DU=0,DP=typeof performance=="object"&&performance.now?performance:Date,mMt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(i){setTimeout(i,17)};function u1t(){return H9||(mMt(Cke),H9=DP.now()+DU)}function Cke(){H9=0}function IU(){this._call=this._time=this._next=null}IU.prototype=yMt.prototype={constructor:IU,restart:function(i,a,f){if(typeof i!="function")throw new TypeError("callback is not a function");f=(f==null?u1t():+f)+(a==null?0:+a),!this._next&&MP!==this&&(MP?MP._next=this:LU=this,MP=this),this._call=i,this._time=f,l1t()},stop:function(){this._call&&(this._call=null,this._time=1/0,l1t())}};function yMt(i,a,f){var p=new IU;return p.restart(i,a,f),p}function Ske(){u1t(),++kA;for(var i=LU,a;i;)(a=H9-i._time)>=0&&i._call.call(void 0,a),i=i._next;--kA}function xMt(){H9=(MU=DP.now())+DU,kA=AP=0;try{Ske()}finally{kA=0,Lke(),H9=0}}function Ake(){var i=DP.now(),a=i-MU;a>wMt&&(DU-=a,MU=i)}function Lke(){for(var i,a=LU,f,p=1/0;a;)a._call?(p>a._time&&(p=a._time),i=a,a=a._next):(f=a._next,a._next=null,a=i?i._next=f:LU=f);MP=i,l1t(p)}function l1t(i){if(!kA){AP&&(AP=clearTimeout(AP));var a=i-H9;a>24?(i<1/0&&(AP=setTimeout(xMt,i-DP.now()-DU)),LP&&(LP=clearInterval(LP))):(LP||(MU=DP.now(),LP=setInterval(Ake,wMt)),kA=1,mMt(xMt))}}function kMt(i,a,f){var p=new IU;return a=a==null?0:+a,p.restart(v=>{p.stop(),i(v+a)},a,f),p}var Mke=PLt("start","end","cancel","interrupt"),Dke=[],EMt=0,TMt=1,h1t=2,OU=3,_Mt=4,f1t=5,PU=6;function NU(i,a,f,p,v,m){var b=i.__transition;if(!b)i.__transition={};else if(f in b)return;Ike(i,f,{name:a,index:p,group:v,on:Mke,tween:Dke,time:m.time,delay:m.delay,duration:m.duration,ease:m.ease,timer:null,state:EMt})}function d1t(i,a){var f=Kw(i,a);if(f.state>EMt)throw new Error("too late; already scheduled");return f}function o3(i,a){var f=Kw(i,a);if(f.state>OU)throw new Error("too late; already running");return f}function Kw(i,a){var f=i.__transition;if(!f||!(f=f[a]))throw new Error("transition not found");return f}function Ike(i,a,f){var p=i.__transition,v;p[a]=f,f.timer=yMt(m,0,f.time);function m(A){f.state=TMt,f.timer.restart(b,f.delay,f.time),f.delay<=A&&b(A-f.delay)}function b(A){var N,F,j,R;if(f.state!==TMt)return C();for(N in p)if(R=p[N],R.name===f.name){if(R.state===OU)return kMt(b);R.state===_Mt?(R.state=PU,R.timer.stop(),R.on.call("interrupt",i,i.__data__,R.index,R.group),delete p[N]):+N<a&&(R.state=PU,R.timer.stop(),R.on.call("cancel",i,i.__data__,R.index,R.group),delete p[N])}if(kMt(function(){f.state===OU&&(f.state=_Mt,f.timer.restart(E,f.delay,f.time),E(A))}),f.state=h1t,f.on.call("start",i,i.__data__,f.index,f.group),f.state===h1t){for(f.state=OU,v=new Array(j=f.tween.length),N=0,F=-1;N<j;++N)(R=f.tween[N].value.call(i,i.__data__,f.index,f.group))&&(v[++F]=R);v.length=F+1}}function E(A){for(var N=A<f.duration?f.ease.call(null,A/f.duration):(f.timer.restart(C),f.state=f1t,1),F=-1,j=v.length;++F<j;)v[F].call(i,N);f.state===f1t&&(f.on.call("end",i,i.__data__,f.index,f.group),C())}function C(){f.state=PU,f.timer.stop(),delete p[a];for(var A in p)return;delete i.__transition}}function Oke(i,a){var f=i.__transition,p,v,m=!0,b;if(f){a=a==null?null:a+"";for(b in f){if((p=f[b]).name!==a){m=!1;continue}v=p.state>h1t&&p.state<f1t,p.state=PU,p.timer.stop(),p.on.call(v?"interrupt":"cancel",i,i.__data__,p.index,p.group),delete f[b]}m&&delete i.__transition}}function Pke(i){return this.each(function(){Oke(this,i)})}function Nke(i,a){var f,p;return function(){var v=o3(this,i),m=v.tween;if(m!==f){p=f=m;for(var b=0,E=p.length;b<E;++b)if(p[b].name===a){p=p.slice(),p.splice(b,1);break}}v.tween=p}}function Fke(i,a,f){var p,v;if(typeof f!="function")throw new Error;return function(){var m=o3(this,i),b=m.tween;if(b!==p){v=(p=b).slice();for(var E={name:a,value:f},C=0,A=v.length;C<A;++C)if(v[C].name===a){v[C]=E;break}C===A&&v.push(E)}m.tween=v}}function Bke(i,a){var f=this._id;if(i+="",arguments.length<2){for(var p=Kw(this.node(),f).tween,v=0,m=p.length,b;v<m;++v)if((b=p[v]).name===i)return b.value;return null}return this.each((a==null?Nke:Fke)(f,i,a))}function g1t(i,a,f){var p=i._id;return i.each(function(){var v=o3(this,p);(v.value||(v.value={}))[a]=f.apply(this,arguments)}),function(v){return Kw(v,p).value[a]}}function CMt(i,a){var f;return(typeof a=="number"?Ww:a instanceof $9?SU:(f=$9(a))?(a=f,SU):gMt)(i,a)}function Rke(i){return function(){this.removeAttribute(i)}}function jke(i){return function(){this.removeAttributeNS(i.space,i.local)}}function $ke(i,a,f){var p,v=f+"",m;return function(){var b=this.getAttribute(i);return b===v?null:b===p?m:m=a(p=b,f)}}function zke(i,a,f){var p,v=f+"",m;return function(){var b=this.getAttributeNS(i.space,i.local);return b===v?null:b===p?m:m=a(p=b,f)}}function qke(i,a,f){var p,v,m;return function(){var b,E=f(this),C;return E==null?void this.removeAttribute(i):(b=this.getAttribute(i),C=E+"",b===C?null:b===p&&C===v?m:(v=C,m=a(p=b,E)))}}function Hke(i,a,f){var p,v,m;return function(){var b,E=f(this),C;return E==null?void this.removeAttributeNS(i.space,i.local):(b=this.getAttributeNS(i.space,i.local),C=E+"",b===C?null:b===p&&C===v?m:(v=C,m=a(p=b,E)))}}function Vke(i,a){var f=wU(i),p=f==="transform"?Eke:CMt;return this.attrTween(i,typeof a=="function"?(f.local?Hke:qke)(f,p,g1t(this,"attr."+i,a)):a==null?(f.local?jke:Rke)(f):(f.local?zke:$ke)(f,p,a))}function Gke(i,a){return function(f){this.setAttribute(i,a.call(this,f))}}function Uke(i,a){return function(f){this.setAttributeNS(i.space,i.local,a.call(this,f))}}function Wke(i,a){var f,p;function v(){var m=a.apply(this,arguments);return m!==p&&(f=(p=m)&&Uke(i,m)),f}return v._value=a,v}function Kke(i,a){var f,p;function v(){var m=a.apply(this,arguments);return m!==p&&(f=(p=m)&&Gke(i,m)),f}return v._value=a,v}function Yke(i,a){var f="attr."+i;if(arguments.length<2)return(f=this.tween(f))&&f._value;if(a==null)return this.tween(f,null);if(typeof a!="function")throw new Error;var p=wU(i);return this.tween(f,(p.local?Wke:Kke)(p,a))}function Xke(i,a){return function(){d1t(this,i).delay=+a.apply(this,arguments)}}function Qke(i,a){return a=+a,function(){d1t(this,i).delay=a}}function Zke(i){var a=this._id;return arguments.length?this.each((typeof i=="function"?Xke:Qke)(a,i)):Kw(this.node(),a).delay}function Jke(i,a){return function(){o3(this,i).duration=+a.apply(this,arguments)}}function t8e(i,a){return a=+a,function(){o3(this,i).duration=a}}function e8e(i){var a=this._id;return arguments.length?this.each((typeof i=="function"?Jke:t8e)(a,i)):Kw(this.node(),a).duration}function n8e(i,a){if(typeof a!="function")throw new Error;return function(){o3(this,i).ease=a}}function r8e(i){var a=this._id;return arguments.length?this.each(n8e(a,i)):Kw(this.node(),a).ease}function i8e(i,a){return function(){var f=a.apply(this,arguments);if(typeof f!="function")throw new Error;o3(this,i).ease=f}}function s8e(i){if(typeof i!="function")throw new Error;return this.each(i8e(this._id,i))}function a8e(i){typeof i!="function"&&(i=$Lt(i));for(var a=this._groups,f=a.length,p=new Array(f),v=0;v<f;++v)for(var m=a[v],b=m.length,E=p[v]=[],C,A=0;A<b;++A)(C=m[A])&&i.call(C,C.__data__,A,m)&&E.push(C);return new b5(p,this._parents,this._name,this._id)}function o8e(i){if(i._id!==this._id)throw new Error;for(var a=this._groups,f=i._groups,p=a.length,v=f.length,m=Math.min(p,v),b=new Array(p),E=0;E<m;++E)for(var C=a[E],A=f[E],N=C.length,F=b[E]=new Array(N),j,R=0;R<N;++R)(j=C[R]||A[R])&&(F[R]=j);for(;E<p;++E)b[E]=a[E];return new b5(b,this._parents,this._name,this._id)}function c8e(i){return(i+"").trim().split(/^|\s+/).every(function(a){var f=a.indexOf(".");return f>=0&&(a=a.slice(0,f)),!a||a==="start"})}function u8e(i,a,f){var p,v,m=c8e(a)?d1t:o3;return function(){var b=m(this,i),E=b.on;E!==p&&(v=(p=E).copy()).on(a,f),b.on=v}}function l8e(i,a){var f=this._id;return arguments.length<2?Kw(this.node(),f).on.on(i):this.each(u8e(f,i,a))}function h8e(i){return function(){var a=this.parentNode;for(var f in this.__transition)if(+f!==i)return;a&&a.removeChild(this)}}function f8e(){return this.on("end.remove",h8e(this._id))}function d8e(i){var a=this._name,f=this._id;typeof i!="function"&&(i=Yft(i));for(var p=this._groups,v=p.length,m=new Array(v),b=0;b<v;++b)for(var E=p[b],C=E.length,A=m[b]=new Array(C),N,F,j=0;j<C;++j)(N=E[j])&&(F=i.call(N,N.__data__,j,E))&&("__data__"in N&&(F.__data__=N.__data__),A[j]=F,NU(A[j],a,f,j,A,Kw(N,f)));return new b5(m,this._parents,a,f)}function g8e(i){var a=this._name,f=this._id;typeof i!="function"&&(i=jLt(i));for(var p=this._groups,v=p.length,m=[],b=[],E=0;E<v;++E)for(var C=p[E],A=C.length,N,F=0;F<A;++F)if(N=C[F]){for(var j=i.call(N,N.__data__,F,C),R,H=Kw(N,f),Y=0,rt=j.length;Y<rt;++Y)(R=j[Y])&&NU(R,a,f,Y,j,H);m.push(j),b.push(N)}return new b5(m,b,a,f)}var p8e=EP.prototype.constructor;function b8e(){return new p8e(this._groups,this._parents)}function v8e(i,a){var f,p,v;return function(){var m=mA(this,i),b=(this.style.removeProperty(i),mA(this,i));return m===b?null:m===f&&b===p?v:v=a(f=m,p=b)}}function SMt(i){return function(){this.style.removeProperty(i)}}function w8e(i,a,f){var p,v=f+"",m;return function(){var b=mA(this,i);return b===v?null:b===p?m:m=a(p=b,f)}}function m8e(i,a,f){var p,v,m;return function(){var b=mA(this,i),E=f(this),C=E+"";return E==null&&(C=E=(this.style.removeProperty(i),mA(this,i))),b===C?null:b===p&&C===v?m:(v=C,m=a(p=b,E))}}function y8e(i,a){var f,p,v,m="style."+a,b="end."+m,E;return function(){var C=o3(this,i),A=C.on,N=C.value[m]==null?E||(E=SMt(a)):void 0;(A!==f||v!==N)&&(p=(f=A).copy()).on(b,v=N),C.on=p}}function x8e(i,a,f){var p=(i+="")=="transform"?kke:CMt;return a==null?this.styleTween(i,v8e(i,p)).on("end.style."+i,SMt(i)):typeof a=="function"?this.styleTween(i,m8e(i,p,g1t(this,"style."+i,a))).each(y8e(this._id,i)):this.styleTween(i,w8e(i,p,a),f).on("end.style."+i,null)}function k8e(i,a,f){return function(p){this.style.setProperty(i,a.call(this,p),f)}}function E8e(i,a,f){var p,v;function m(){var b=a.apply(this,arguments);return b!==v&&(p=(v=b)&&k8e(i,b,f)),p}return m._value=a,m}function T8e(i,a,f){var p="style."+(i+="");if(arguments.length<2)return(p=this.tween(p))&&p._value;if(a==null)return this.tween(p,null);if(typeof a!="function")throw new Error;return this.tween(p,E8e(i,a,f??""))}function _8e(i){return function(){this.textContent=i}}function C8e(i){return function(){var a=i(this);this.textContent=a??""}}function S8e(i){return this.tween("text",typeof i=="function"?C8e(g1t(this,"text",i)):_8e(i==null?"":i+""))}function A8e(i){return function(a){this.textContent=i.call(this,a)}}function L8e(i){var a,f;function p(){var v=i.apply(this,arguments);return v!==f&&(a=(f=v)&&A8e(v)),a}return p._value=i,p}function M8e(i){var a="text";if(arguments.length<1)return(a=this.tween(a))&&a._value;if(i==null)return this.tween(a,null);if(typeof i!="function")throw new Error;return this.tween(a,L8e(i))}function D8e(){for(var i=this._name,a=this._id,f=AMt(),p=this._groups,v=p.length,m=0;m<v;++m)for(var b=p[m],E=b.length,C,A=0;A<E;++A)if(C=b[A]){var N=Kw(C,a);NU(C,i,f,A,b,{time:N.time+N.delay+N.duration,delay:0,duration:N.duration,ease:N.ease})}return new b5(p,this._parents,i,f)}function I8e(){var i,a,f=this,p=f._id,v=f.size();return new Promise(function(m,b){var E={value:b},C={value:function(){--v===0&&m()}};f.each(function(){var A=o3(this,p),N=A.on;N!==i&&(a=(i=N).copy(),a._.cancel.push(E),a._.interrupt.push(E),a._.end.push(C)),A.on=a}),v===0&&m()})}var O8e=0;function b5(i,a,f,p){this._groups=i,this._parents=a,this._name=f,this._id=p}function AMt(){return++O8e}var v5=EP.prototype;b5.prototype={constructor:b5,select:d8e,selectAll:g8e,selectChild:v5.selectChild,selectChildren:v5.selectChildren,filter:a8e,merge:o8e,selection:b8e,transition:D8e,call:v5.call,nodes:v5.nodes,node:v5.node,size:v5.size,empty:v5.empty,each:v5.each,on:l8e,attr:Vke,attrTween:Yke,style:x8e,styleTween:T8e,text:S8e,textTween:M8e,remove:f8e,tween:Bke,delay:Zke,duration:e8e,ease:r8e,easeVarying:s8e,end:I8e,[Symbol.iterator]:v5[Symbol.iterator]};function P8e(i){return((i*=2)<=1?i*i*i:(i-=2)*i*i+2)/2}var N8e={time:null,delay:0,duration:250,ease:P8e};function F8e(i,a){for(var f;!(f=i.__transition)||!(f=f[a]);)if(!(i=i.parentNode))throw new Error(`transition ${a} not found`);return f}function B8e(i){var a,f;i instanceof b5?(a=i._id,i=i._name):(a=AMt(),(f=N8e).time=u1t(),i=i==null?null:i+"");for(var p=this._groups,v=p.length,m=0;m<v;++m)for(var b=p[m],E=b.length,C,A=0;A<E;++A)(C=b[A])&&NU(C,i,a,A,b,f||F8e(C,a));return new b5(p,this._parents,i,a)}EP.prototype.interrupt=Pke,EP.prototype.transition=B8e;const p1t=Math.PI,b1t=2*p1t,V9=1e-6,R8e=b1t-V9;function v1t(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w1t(){return new v1t}v1t.prototype=w1t.prototype={constructor:v1t,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,f,p){this._+="Q"+ +i+","+ +a+","+(this._x1=+f)+","+(this._y1=+p)},bezierCurveTo:function(i,a,f,p,v,m){this._+="C"+ +i+","+ +a+","+ +f+","+ +p+","+(this._x1=+v)+","+(this._y1=+m)},arcTo:function(i,a,f,p,v){i=+i,a=+a,f=+f,p=+p,v=+v;var m=this._x1,b=this._y1,E=f-i,C=p-a,A=m-i,N=b-a,F=A*A+N*N;if(v<0)throw new Error("negative radius: "+v);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=a);else if(F>V9)if(!(Math.abs(N*E-C*A)>V9)||!v)this._+="L"+(this._x1=i)+","+(this._y1=a);else{var j=f-m,R=p-b,H=E*E+C*C,Y=j*j+R*R,rt=Math.sqrt(H),J=Math.sqrt(F),it=v*Math.tan((p1t-Math.acos((H+F-Y)/(2*rt*J)))/2),ht=it/J,Tt=it/rt;Math.abs(ht-1)>V9&&(this._+="L"+(i+ht*A)+","+(a+ht*N)),this._+="A"+v+","+v+",0,0,"+ +(N*j>A*R)+","+(this._x1=i+Tt*E)+","+(this._y1=a+Tt*C)}},arc:function(i,a,f,p,v,m){i=+i,a=+a,f=+f,m=!!m;var b=f*Math.cos(p),E=f*Math.sin(p),C=i+b,A=a+E,N=1^m,F=m?p-v:v-p;if(f<0)throw new Error("negative radius: "+f);this._x1===null?this._+="M"+C+","+A:(Math.abs(this._x1-C)>V9||Math.abs(this._y1-A)>V9)&&(this._+="L"+C+","+A),f&&(F<0&&(F=F%b1t+b1t),F>R8e?this._+="A"+f+","+f+",0,1,"+N+","+(i-b)+","+(a-E)+"A"+f+","+f+",0,1,"+N+","+(this._x1=C)+","+(this._y1=A):F>V9&&(this._+="A"+f+","+f+",0,"+ +(F>=p1t)+","+N+","+(this._x1=i+f*Math.cos(v))+","+(this._y1=a+f*Math.sin(v))))},rect:function(i,a,f,p){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+a)+"h"+ +f+"v"+ +p+"h"+-f+"Z"},toString:function(){return this._}};function j8e(i){if(!i.ok)throw new Error(i.status+" "+i.statusText);return i.text()}function $8e(i,a){return fetch(i,a).then(j8e)}function z8e(i){return(a,f)=>$8e(a,f).then(p=>new DOMParser().parseFromString(p,i))}var q8e=z8e("image/svg+xml");function H8e(i){return Math.abs(i=Math.round(i))>=1e21?i.toLocaleString("en").replace(/,/g,""):i.toString(10)}function FU(i,a){if((f=(i=a?i.toExponential(a-1):i.toExponential()).indexOf("e"))<0)return null;var f,p=i.slice(0,f);return[p.length>1?p[0]+p.slice(2):p,+i.slice(f+1)]}function EA(i){return i=FU(Math.abs(i)),i?i[1]:NaN}function V8e(i,a){return function(f,p){for(var v=f.length,m=[],b=0,E=i[0],C=0;v>0&&E>0&&(C+E+1>p&&(E=Math.max(1,p-C)),m.push(f.substring(v-=E,v+E)),!((C+=E+1)>p));)E=i[b=(b+1)%i.length];return m.reverse().join(a)}}function G8e(i){return function(a){return a.replace(/[0-9]/g,function(f){return i[+f]})}}var U8e=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function BU(i){if(!(a=U8e.exec(i)))throw new Error("invalid format: "+i);var a;return new m1t({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]})}BU.prototype=m1t.prototype;function m1t(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+""}m1t.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 W8e(i){t:for(var a=i.length,f=1,p=-1,v;f<a;++f)switch(i[f]){case".":p=v=f;break;case"0":p===0&&(p=f),v=f;break;default:if(!+i[f])break t;p>0&&(p=0);break}return p>0?i.slice(0,p)+i.slice(v+1):i}var LMt;function K8e(i,a){var f=FU(i,a);if(!f)return i+"";var p=f[0],v=f[1],m=v-(LMt=Math.max(-8,Math.min(8,Math.floor(v/3)))*3)+1,b=p.length;return m===b?p:m>b?p+new Array(m-b+1).join("0"):m>0?p.slice(0,m)+"."+p.slice(m):"0."+new Array(1-m).join("0")+FU(i,Math.max(0,a+m-1))[0]}function MMt(i,a){var f=FU(i,a);if(!f)return i+"";var p=f[0],v=f[1];return v<0?"0."+new Array(-v).join("0")+p:p.length>v+1?p.slice(0,v+1)+"."+p.slice(v+1):p+new Array(v-p.length+2).join("0")}const DMt={"%":(i,a)=>(i*100).toFixed(a),b:i=>Math.round(i).toString(2),c:i=>i+"",d:H8e,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)=>MMt(i*100,a),r:MMt,s:K8e,X:i=>Math.round(i).toString(16).toUpperCase(),x:i=>Math.round(i).toString(16)};function IMt(i){return i}var OMt=Array.prototype.map,PMt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Y8e(i){var a=i.grouping===void 0||i.thousands===void 0?IMt:V8e(OMt.call(i.grouping,Number),i.thousands+""),f=i.currency===void 0?"":i.currency[0]+"",p=i.currency===void 0?"":i.currency[1]+"",v=i.decimal===void 0?".":i.decimal+"",m=i.numerals===void 0?IMt:G8e(OMt.call(i.numerals,String)),b=i.percent===void 0?"%":i.percent+"",E=i.minus===void 0?"−":i.minus+"",C=i.nan===void 0?"NaN":i.nan+"";function A(F){F=BU(F);var j=F.fill,R=F.align,H=F.sign,Y=F.symbol,rt=F.zero,J=F.width,it=F.comma,ht=F.precision,Tt=F.trim,yt=F.type;yt==="n"?(it=!0,yt="g"):DMt[yt]||(ht===void 0&&(ht=12),Tt=!0,yt="g"),(rt||j==="0"&&R==="=")&&(rt=!0,j="0",R="=");var vt=Y==="$"?f:Y==="#"&&/[boxX]/.test(yt)?"0"+yt.toLowerCase():"",ut=Y==="$"?p:/[%p]/.test(yt)?b:"",xt=DMt[yt],st=/[defgprs%]/.test(yt);ht=ht===void 0?6:/[gprs]/.test(yt)?Math.max(1,Math.min(21,ht)):Math.max(0,Math.min(20,ht));function Et(gt){var pt=vt,Ct=ut,nt,Nt,dt;if(yt==="c")Ct=xt(gt)+Ct,gt="";else{gt=+gt;var Ft=gt<0||1/gt<0;if(gt=isNaN(gt)?C:xt(Math.abs(gt),ht),Tt&&(gt=W8e(gt)),Ft&&+gt==0&&H!=="+"&&(Ft=!1),pt=(Ft?H==="("?H:E:H==="-"||H==="("?"":H)+pt,Ct=(yt==="s"?PMt[8+LMt/3]:"")+Ct+(Ft&&H==="("?")":""),st){for(nt=-1,Nt=gt.length;++nt<Nt;)if(dt=gt.charCodeAt(nt),48>dt||dt>57){Ct=(dt===46?v+gt.slice(nt+1):gt.slice(nt))+Ct,gt=gt.slice(0,nt);break}}}it&&!rt&&(gt=a(gt,1/0));var X=pt.length+gt.length+Ct.length,Bt=X<J?new Array(J-X+1).join(j):"";switch(it&&rt&&(gt=a(Bt+gt,Bt.length?J-Ct.length:1/0),Bt=""),R){case"<":gt=pt+gt+Ct+Bt;break;case"=":gt=pt+Bt+gt+Ct;break;case"^":gt=Bt.slice(0,X=Bt.length>>1)+pt+gt+Ct+Bt.slice(X);break;default:gt=Bt+pt+gt+Ct;break}return m(gt)}return Et.toString=function(){return F+""},Et}function N(F,j){var R=A((F=BU(F),F.type="f",F)),H=Math.max(-8,Math.min(8,Math.floor(EA(j)/3)))*3,Y=Math.pow(10,-H),rt=PMt[8+H/3];return function(J){return R(Y*J)+rt}}return{format:A,formatPrefix:N}}var RU,NMt,FMt;X8e({thousands:",",grouping:[3],currency:["$",""]});function X8e(i){return RU=Y8e(i),NMt=RU.format,FMt=RU.formatPrefix,RU}function Q8e(i){return Math.max(0,-EA(Math.abs(i)))}function Z8e(i,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(EA(a)/3)))*3-EA(Math.abs(i)))}function J8e(i,a){return i=Math.abs(i),a=Math.abs(a)-i,Math.max(0,EA(a)-EA(i))+1}function y1t(i,a){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(a).domain(i);break}return this}const BMt=Symbol("implicit");function x1t(){var i=new LLt,a=[],f=[],p=BMt;function v(m){let b=i.get(m);if(b===void 0){if(p!==BMt)return p;i.set(m,b=a.push(m)-1)}return f[b%f.length]}return v.domain=function(m){if(!arguments.length)return a.slice();a=[],i=new LLt;for(const b of m)i.has(b)||i.set(b,a.push(b)-1);return v},v.range=function(m){return arguments.length?(f=Array.from(m),v):f.slice()},v.unknown=function(m){return arguments.length?(p=m,v):p},v.copy=function(){return x1t(a,f).unknown(p)},y1t.apply(v,arguments),v}function t7e(i){return function(){return i}}function e7e(i){return+i}var RMt=[0,1];function TA(i){return i}function k1t(i,a){return(a-=i=+i)?function(f){return(f-i)/a}:t7e(isNaN(a)?NaN:.5)}function n7e(i,a){var f;return i>a&&(f=i,i=a,a=f),function(p){return Math.max(i,Math.min(a,p))}}function r7e(i,a,f){var p=i[0],v=i[1],m=a[0],b=a[1];return v<p?(p=k1t(v,p),m=f(b,m)):(p=k1t(p,v),m=f(m,b)),function(E){return m(p(E))}}function i7e(i,a,f){var p=Math.min(i.length,a.length)-1,v=new Array(p),m=new Array(p),b=-1;for(i[p]<i[0]&&(i=i.slice().reverse(),a=a.slice().reverse());++b<p;)v[b]=k1t(i[b],i[b+1]),m[b]=f(a[b],a[b+1]);return function(E){var C=Z5e(i,E,1,p)-1;return m[C](v[C](E))}}function jMt(i,a){return a.domain(i.domain()).range(i.range()).interpolate(i.interpolate()).clamp(i.clamp()).unknown(i.unknown())}function s7e(){var i=RMt,a=RMt,f=o1t,p,v,m,b=TA,E,C,A;function N(){var j=Math.min(i.length,a.length);return b!==TA&&(b=n7e(i[0],i[j-1])),E=j>2?i7e:r7e,C=A=null,F}function F(j){return j==null||isNaN(j=+j)?m:(C||(C=E(i.map(p),a,f)))(p(b(j)))}return F.invert=function(j){return b(v((A||(A=E(a,i.map(p),Ww)))(j)))},F.domain=function(j){return arguments.length?(i=Array.from(j,e7e),N()):i.slice()},F.range=function(j){return arguments.length?(a=Array.from(j),N()):a.slice()},F.rangeRound=function(j){return a=Array.from(j),f=mke,N()},F.clamp=function(j){return arguments.length?(b=j?!0:TA,N()):b!==TA},F.interpolate=function(j){return arguments.length?(f=j,N()):f},F.unknown=function(j){return arguments.length?(m=j,F):m},function(j,R){return p=j,v=R,N()}}function $Mt(){return s7e()(TA,TA)}function a7e(i,a,f,p){var v=Gft(i,a,f),m;switch(p=BU(p??",f"),p.type){case"s":{var b=Math.max(Math.abs(i),Math.abs(a));return p.precision==null&&!isNaN(m=Z8e(v,b))&&(p.precision=m),FMt(p,b)}case"":case"e":case"g":case"p":case"r":{p.precision==null&&!isNaN(m=J8e(v,Math.max(Math.abs(i),Math.abs(a))))&&(p.precision=m-(p.type==="e"));break}case"f":case"%":{p.precision==null&&!isNaN(m=Q8e(v))&&(p.precision=m-(p.type==="%")*2);break}}return NMt(p)}function o7e(i){var a=i.domain;return i.ticks=function(f){var p=a();return n6e(p[0],p[p.length-1],f??10)},i.tickFormat=function(f,p){var v=a();return a7e(v[0],v[v.length-1],f??10,p)},i.nice=function(f){f==null&&(f=10);var p=a(),v=0,m=p.length-1,b=p[v],E=p[m],C,A,N=10;for(E<b&&(A=b,b=E,E=A,A=v,v=m,m=A);N-- >0;){if(A=DLt(b,E,f),A===C)return p[v]=b,p[m]=E,a(p);if(A>0)b=Math.floor(b/A)*A,E=Math.ceil(E/A)*A;else if(A<0)b=Math.ceil(b*A)/A,E=Math.floor(E*A)/A;else break;C=A}return i},i}function jU(){var i=$Mt();return i.copy=function(){return jMt(i,jU())},y1t.apply(i,arguments),o7e(i)}function c7e(i,a){i=i.slice();var f=0,p=i.length-1,v=i[f],m=i[p],b;return m<v&&(b=f,f=p,p=b,b=v,v=m,m=b),i[f]=a.floor(v),i[p]=a.ceil(m),i}var E1t=new Date,T1t=new Date;function sg(i,a,f,p){function v(m){return i(m=arguments.length===0?new Date:new Date(+m)),m}return v.floor=function(m){return i(m=new Date(+m)),m},v.ceil=function(m){return i(m=new Date(m-1)),a(m,1),i(m),m},v.round=function(m){var b=v(m),E=v.ceil(m);return m-b<E-m?b:E},v.offset=function(m,b){return a(m=new Date(+m),b==null?1:Math.floor(b)),m},v.range=function(m,b,E){var C=[],A;if(m=v.ceil(m),E=E==null?1:Math.floor(E),!(m<b)||!(E>0))return C;do C.push(A=new Date(+m)),a(m,E),i(m);while(A<m&&m<b);return C},v.filter=function(m){return sg(function(b){if(b>=b)for(;i(b),!m(b);)b.setTime(b-1)},function(b,E){if(b>=b)if(E<0)for(;++E<=0;)for(;a(b,-1),!m(b););else for(;--E>=0;)for(;a(b,1),!m(b););})},f&&(v.count=function(m,b){return E1t.setTime(+m),T1t.setTime(+b),i(E1t),i(T1t),Math.floor(f(E1t,T1t))},v.every=function(m){return m=Math.floor(m),!isFinite(m)||!(m>0)?null:m>1?v.filter(p?function(b){return p(b)%m===0}:function(b){return v.count(0,b)%m===0}):v}),v}var $U=sg(function(){},function(i,a){i.setTime(+i+a)},function(i,a){return a-i});$U.every=function(i){return i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?sg(function(a){a.setTime(Math.floor(a/i)*i)},function(a,f){a.setTime(+a+f*i)},function(a,f){return(f-a)/i}):$U};const u7e=$U;$U.range;const w5=1e3,c3=w5*60,G9=c3*60,U9=G9*24,_1t=U9*7,zMt=U9*30,C1t=U9*365;var qMt=sg(function(i){i.setTime(i-i.getMilliseconds())},function(i,a){i.setTime(+i+a*w5)},function(i,a){return(a-i)/w5},function(i){return i.getUTCSeconds()});const IP=qMt;qMt.range;var HMt=sg(function(i){i.setTime(i-i.getMilliseconds()-i.getSeconds()*w5)},function(i,a){i.setTime(+i+a*c3)},function(i,a){return(a-i)/c3},function(i){return i.getMinutes()});const zU=HMt;HMt.range;var VMt=sg(function(i){i.setTime(i-i.getMilliseconds()-i.getSeconds()*w5-i.getMinutes()*c3)},function(i,a){i.setTime(+i+a*G9)},function(i,a){return(a-i)/G9},function(i){return i.getHours()});const qU=VMt;VMt.range;var GMt=sg(i=>i.setHours(0,0,0,0),(i,a)=>i.setDate(i.getDate()+a),(i,a)=>(a-i-(a.getTimezoneOffset()-i.getTimezoneOffset())*c3)/U9,i=>i.getDate()-1);const _A=GMt;GMt.range;function W9(i){return sg(function(a){a.setDate(a.getDate()-(a.getDay()+7-i)%7),a.setHours(0,0,0,0)},function(a,f){a.setDate(a.getDate()+f*7)},function(a,f){return(f-a-(f.getTimezoneOffset()-a.getTimezoneOffset())*c3)/_1t})}var OP=W9(0),PP=W9(1),UMt=W9(2),WMt=W9(3),K9=W9(4),KMt=W9(5),YMt=W9(6);OP.range,PP.range,UMt.range,WMt.range,K9.range,KMt.range,YMt.range;var XMt=sg(function(i){i.setDate(1),i.setHours(0,0,0,0)},function(i,a){i.setMonth(i.getMonth()+a)},function(i,a){return a.getMonth()-i.getMonth()+(a.getFullYear()-i.getFullYear())*12},function(i){return i.getMonth()});const HU=XMt;XMt.range;var S1t=sg(function(i){i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,a){i.setFullYear(i.getFullYear()+a)},function(i,a){return a.getFullYear()-i.getFullYear()},function(i){return i.getFullYear()});S1t.every=function(i){return!isFinite(i=Math.floor(i))||!(i>0)?null:sg(function(a){a.setFullYear(Math.floor(a.getFullYear()/i)*i),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,f){a.setFullYear(a.getFullYear()+f*i)})};const Y9=S1t;S1t.range;var QMt=sg(function(i){i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCDate(i.getUTCDate()+a)},function(i,a){return(a-i)/U9},function(i){return i.getUTCDate()-1});const ZMt=QMt;QMt.range;function X9(i){return sg(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-i)%7),a.setUTCHours(0,0,0,0)},function(a,f){a.setUTCDate(a.getUTCDate()+f*7)},function(a,f){return(f-a)/_1t})}var JMt=X9(0),VU=X9(1),l7e=X9(2),h7e=X9(3),CA=X9(4),f7e=X9(5),d7e=X9(6);JMt.range,VU.range,l7e.range,h7e.range,CA.range,f7e.range,d7e.range;var A1t=sg(function(i){i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCFullYear(i.getUTCFullYear()+a)},function(i,a){return a.getUTCFullYear()-i.getUTCFullYear()},function(i){return i.getUTCFullYear()});A1t.every=function(i){return!isFinite(i=Math.floor(i))||!(i>0)?null:sg(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/i)*i),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,f){a.setUTCFullYear(a.getUTCFullYear()+f*i)})};const NP=A1t;A1t.range;function g7e(i,a,f,p,v,m){const b=[[IP,1,w5],[IP,5,5*w5],[IP,15,15*w5],[IP,30,30*w5],[m,1,c3],[m,5,5*c3],[m,15,15*c3],[m,30,30*c3],[v,1,G9],[v,3,3*G9],[v,6,6*G9],[v,12,12*G9],[p,1,U9],[p,2,2*U9],[f,1,_1t],[a,1,zMt],[a,3,3*zMt],[i,1,C1t]];function E(A,N,F){const j=N<A;j&&([A,N]=[N,A]);const R=F&&typeof F.range=="function"?F:C(A,N,F),H=R?R.range(A,+N+1):[];return j?H.reverse():H}function C(A,N,F){const j=Math.abs(N-A)/F,R=zft(([,,rt])=>rt).right(b,j);if(R===b.length)return i.every(Gft(A/C1t,N/C1t,F));if(R===0)return u7e.every(Math.max(Gft(A,N,F),1));const[H,Y]=b[j/b[R-1][2]<b[R][2]/j?R-1:R];return H.every(Y)}return[E,C]}const[p7e,b7e]=g7e(Y9,HU,OP,_A,qU,zU);function L1t(i){if(0<=i.y&&i.y<100){var a=new Date(-1,i.m,i.d,i.H,i.M,i.S,i.L);return a.setFullYear(i.y),a}return new Date(i.y,i.m,i.d,i.H,i.M,i.S,i.L)}function M1t(i){if(0<=i.y&&i.y<100){var a=new Date(Date.UTC(-1,i.m,i.d,i.H,i.M,i.S,i.L));return a.setUTCFullYear(i.y),a}return new Date(Date.UTC(i.y,i.m,i.d,i.H,i.M,i.S,i.L))}function FP(i,a,f){return{y:i,m:a,d:f,H:0,M:0,S:0,L:0}}function v7e(i){var a=i.dateTime,f=i.date,p=i.time,v=i.periods,m=i.days,b=i.shortDays,E=i.months,C=i.shortMonths,A=BP(v),N=RP(v),F=BP(m),j=RP(m),R=BP(b),H=RP(b),Y=BP(E),rt=RP(E),J=BP(C),it=RP(C),ht={a:Ft,A:X,b:Bt,B:Rt,c:null,d:sDt,e:sDt,f:$7e,g:X7e,G:Z7e,H:B7e,I:R7e,j:j7e,L:aDt,m:z7e,M:q7e,p:mt,q:Ot,Q:fDt,s:dDt,S:H7e,u:V7e,U:G7e,V:U7e,w:W7e,W:K7e,x:null,X:null,y:Y7e,Y:Q7e,Z:J7e,"%":hDt},Tt={a:Gt,A:Ve,b:Cn,B:xe,c:null,d:cDt,e:cDt,f:r9e,g:d9e,G:p9e,H:t9e,I:e9e,j:n9e,L:uDt,m:i9e,M:s9e,p:Kn,q:Se,Q:fDt,s:dDt,S:a9e,u:o9e,U:c9e,V:u9e,w:l9e,W:h9e,x:null,X:null,y:f9e,Y:g9e,Z:b9e,"%":hDt},yt={a:Et,A:gt,b:pt,B:Ct,c:nt,d:rDt,e:rDt,f:O7e,g:nDt,G:eDt,H:iDt,I:iDt,j:L7e,L:I7e,m:A7e,M:M7e,p:st,q:S7e,Q:N7e,s:F7e,S:D7e,u:k7e,U:E7e,V:T7e,w:x7e,W:_7e,x:Nt,X:dt,y:nDt,Y:eDt,Z:C7e,"%":P7e};ht.x=vt(f,ht),ht.X=vt(p,ht),ht.c=vt(a,ht),Tt.x=vt(f,Tt),Tt.X=vt(p,Tt),Tt.c=vt(a,Tt);function vt(ee,_e){return function(qe){var ce=[],Ce=-1,he=0,Re=ee.length,se,Pe,Qt;for(qe instanceof Date||(qe=new Date(+qe));++Ce<Re;)ee.charCodeAt(Ce)===37&&(ce.push(ee.slice(he,Ce)),(Pe=tDt[se=ee.charAt(++Ce)])!=null?se=ee.charAt(++Ce):Pe=se==="e"?" ":"0",(Qt=_e[se])&&(se=Qt(qe,Pe)),ce.push(se),he=Ce+1);return ce.push(ee.slice(he,Ce)),ce.join("")}}function ut(ee,_e){return function(qe){var ce=FP(1900,void 0,1),Ce=xt(ce,ee,qe+="",0),he,Re;if(Ce!=qe.length)return null;if("Q"in ce)return new Date(ce.Q);if("s"in ce)return new Date(ce.s*1e3+("L"in ce?ce.L:0));if(_e&&!("Z"in ce)&&(ce.Z=0),"p"in ce&&(ce.H=ce.H%12+ce.p*12),ce.m===void 0&&(ce.m="q"in ce?ce.q:0),"V"in ce){if(ce.V<1||ce.V>53)return null;"w"in ce||(ce.w=1),"Z"in ce?(he=M1t(FP(ce.y,0,1)),Re=he.getUTCDay(),he=Re>4||Re===0?VU.ceil(he):VU(he),he=ZMt.offset(he,(ce.V-1)*7),ce.y=he.getUTCFullYear(),ce.m=he.getUTCMonth(),ce.d=he.getUTCDate()+(ce.w+6)%7):(he=L1t(FP(ce.y,0,1)),Re=he.getDay(),he=Re>4||Re===0?PP.ceil(he):PP(he),he=_A.offset(he,(ce.V-1)*7),ce.y=he.getFullYear(),ce.m=he.getMonth(),ce.d=he.getDate()+(ce.w+6)%7)}else("W"in ce||"U"in ce)&&("w"in ce||(ce.w="u"in ce?ce.u%7:"W"in ce?1:0),Re="Z"in ce?M1t(FP(ce.y,0,1)).getUTCDay():L1t(FP(ce.y,0,1)).getDay(),ce.m=0,ce.d="W"in ce?(ce.w+6)%7+ce.W*7-(Re+5)%7:ce.w+ce.U*7-(Re+6)%7);return"Z"in ce?(ce.H+=ce.Z/100|0,ce.M+=ce.Z%100,M1t(ce)):L1t(ce)}}function xt(ee,_e,qe,ce){for(var Ce=0,he=_e.length,Re=qe.length,se,Pe;Ce<he;){if(ce>=Re)return-1;if(se=_e.charCodeAt(Ce++),se===37){if(se=_e.charAt(Ce++),Pe=yt[se in tDt?_e.charAt(Ce++):se],!Pe||(ce=Pe(ee,qe,ce))<0)return-1}else if(se!=qe.charCodeAt(ce++))return-1}return ce}function st(ee,_e,qe){var ce=A.exec(_e.slice(qe));return ce?(ee.p=N.get(ce[0].toLowerCase()),qe+ce[0].length):-1}function Et(ee,_e,qe){var ce=R.exec(_e.slice(qe));return ce?(ee.w=H.get(ce[0].toLowerCase()),qe+ce[0].length):-1}function gt(ee,_e,qe){var ce=F.exec(_e.slice(qe));return ce?(ee.w=j.get(ce[0].toLowerCase()),qe+ce[0].length):-1}function pt(ee,_e,qe){var ce=J.exec(_e.slice(qe));return ce?(ee.m=it.get(ce[0].toLowerCase()),qe+ce[0].length):-1}function Ct(ee,_e,qe){var ce=Y.exec(_e.slice(qe));return ce?(ee.m=rt.get(ce[0].toLowerCase()),qe+ce[0].length):-1}function nt(ee,_e,qe){return xt(ee,a,_e,qe)}function Nt(ee,_e,qe){return xt(ee,f,_e,qe)}function dt(ee,_e,qe){return xt(ee,p,_e,qe)}function Ft(ee){return b[ee.getDay()]}function X(ee){return m[ee.getDay()]}function Bt(ee){return C[ee.getMonth()]}function Rt(ee){return E[ee.getMonth()]}function mt(ee){return v[+(ee.getHours()>=12)]}function Ot(ee){return 1+~~(ee.getMonth()/3)}function Gt(ee){return b[ee.getUTCDay()]}function Ve(ee){return m[ee.getUTCDay()]}function Cn(ee){return C[ee.getUTCMonth()]}function xe(ee){return E[ee.getUTCMonth()]}function Kn(ee){return v[+(ee.getUTCHours()>=12)]}function Se(ee){return 1+~~(ee.getUTCMonth()/3)}return{format:function(ee){var _e=vt(ee+="",ht);return _e.toString=function(){return ee},_e},parse:function(ee){var _e=ut(ee+="",!1);return _e.toString=function(){return ee},_e},utcFormat:function(ee){var _e=vt(ee+="",Tt);return _e.toString=function(){return ee},_e},utcParse:function(ee){var _e=ut(ee+="",!0);return _e.toString=function(){return ee},_e}}}var tDt={"-":"",_:" ",0:"0"},nd=/^\s*\d+/,w7e=/^%/,m7e=/[\\^$*+?|[\]().{}]/g;function Hc(i,a,f){var p=i<0?"-":"",v=(p?-i:i)+"",m=v.length;return p+(m<f?new Array(f-m+1).join(a)+v:v)}function y7e(i){return i.replace(m7e,"\\$&")}function BP(i){return new RegExp("^(?:"+i.map(y7e).join("|")+")","i")}function RP(i){return new Map(i.map((a,f)=>[a.toLowerCase(),f]))}function x7e(i,a,f){var p=nd.exec(a.slice(f,f+1));return p?(i.w=+p[0],f+p[0].length):-1}function k7e(i,a,f){var p=nd.exec(a.slice(f,f+1));return p?(i.u=+p[0],f+p[0].length):-1}function E7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.U=+p[0],f+p[0].length):-1}function T7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.V=+p[0],f+p[0].length):-1}function _7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.W=+p[0],f+p[0].length):-1}function eDt(i,a,f){var p=nd.exec(a.slice(f,f+4));return p?(i.y=+p[0],f+p[0].length):-1}function nDt(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.y=+p[0]+(+p[0]>68?1900:2e3),f+p[0].length):-1}function C7e(i,a,f){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(f,f+6));return p?(i.Z=p[1]?0:-(p[2]+(p[3]||"00")),f+p[0].length):-1}function S7e(i,a,f){var p=nd.exec(a.slice(f,f+1));return p?(i.q=p[0]*3-3,f+p[0].length):-1}function A7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.m=p[0]-1,f+p[0].length):-1}function rDt(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.d=+p[0],f+p[0].length):-1}function L7e(i,a,f){var p=nd.exec(a.slice(f,f+3));return p?(i.m=0,i.d=+p[0],f+p[0].length):-1}function iDt(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.H=+p[0],f+p[0].length):-1}function M7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.M=+p[0],f+p[0].length):-1}function D7e(i,a,f){var p=nd.exec(a.slice(f,f+2));return p?(i.S=+p[0],f+p[0].length):-1}function I7e(i,a,f){var p=nd.exec(a.slice(f,f+3));return p?(i.L=+p[0],f+p[0].length):-1}function O7e(i,a,f){var p=nd.exec(a.slice(f,f+6));return p?(i.L=Math.floor(p[0]/1e3),f+p[0].length):-1}function P7e(i,a,f){var p=w7e.exec(a.slice(f,f+1));return p?f+p[0].length:-1}function N7e(i,a,f){var p=nd.exec(a.slice(f));return p?(i.Q=+p[0],f+p[0].length):-1}function F7e(i,a,f){var p=nd.exec(a.slice(f));return p?(i.s=+p[0],f+p[0].length):-1}function sDt(i,a){return Hc(i.getDate(),a,2)}function B7e(i,a){return Hc(i.getHours(),a,2)}function R7e(i,a){return Hc(i.getHours()%12||12,a,2)}function j7e(i,a){return Hc(1+_A.count(Y9(i),i),a,3)}function aDt(i,a){return Hc(i.getMilliseconds(),a,3)}function $7e(i,a){return aDt(i,a)+"000"}function z7e(i,a){return Hc(i.getMonth()+1,a,2)}function q7e(i,a){return Hc(i.getMinutes(),a,2)}function H7e(i,a){return Hc(i.getSeconds(),a,2)}function V7e(i){var a=i.getDay();return a===0?7:a}function G7e(i,a){return Hc(OP.count(Y9(i)-1,i),a,2)}function oDt(i){var a=i.getDay();return a>=4||a===0?K9(i):K9.ceil(i)}function U7e(i,a){return i=oDt(i),Hc(K9.count(Y9(i),i)+(Y9(i).getDay()===4),a,2)}function W7e(i){return i.getDay()}function K7e(i,a){return Hc(PP.count(Y9(i)-1,i),a,2)}function Y7e(i,a){return Hc(i.getFullYear()%100,a,2)}function X7e(i,a){return i=oDt(i),Hc(i.getFullYear()%100,a,2)}function Q7e(i,a){return Hc(i.getFullYear()%1e4,a,4)}function Z7e(i,a){var f=i.getDay();return i=f>=4||f===0?K9(i):K9.ceil(i),Hc(i.getFullYear()%1e4,a,4)}function J7e(i){var a=i.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+Hc(a/60|0,"0",2)+Hc(a%60,"0",2)}function cDt(i,a){return Hc(i.getUTCDate(),a,2)}function t9e(i,a){return Hc(i.getUTCHours(),a,2)}function e9e(i,a){return Hc(i.getUTCHours()%12||12,a,2)}function n9e(i,a){return Hc(1+ZMt.count(NP(i),i),a,3)}function uDt(i,a){return Hc(i.getUTCMilliseconds(),a,3)}function r9e(i,a){return uDt(i,a)+"000"}function i9e(i,a){return Hc(i.getUTCMonth()+1,a,2)}function s9e(i,a){return Hc(i.getUTCMinutes(),a,2)}function a9e(i,a){return Hc(i.getUTCSeconds(),a,2)}function o9e(i){var a=i.getUTCDay();return a===0?7:a}function c9e(i,a){return Hc(JMt.count(NP(i)-1,i),a,2)}function lDt(i){var a=i.getUTCDay();return a>=4||a===0?CA(i):CA.ceil(i)}function u9e(i,a){return i=lDt(i),Hc(CA.count(NP(i),i)+(NP(i).getUTCDay()===4),a,2)}function l9e(i){return i.getUTCDay()}function h9e(i,a){return Hc(VU.count(NP(i)-1,i),a,2)}function f9e(i,a){return Hc(i.getUTCFullYear()%100,a,2)}function d9e(i,a){return i=lDt(i),Hc(i.getUTCFullYear()%100,a,2)}function g9e(i,a){return Hc(i.getUTCFullYear()%1e4,a,4)}function p9e(i,a){var f=i.getUTCDay();return i=f>=4||f===0?CA(i):CA.ceil(i),Hc(i.getUTCFullYear()%1e4,a,4)}function b9e(){return"+0000"}function hDt(){return"%"}function fDt(i){return+i}function dDt(i){return Math.floor(+i/1e3)}var SA,GU;v9e({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 v9e(i){return SA=v7e(i),GU=SA.format,SA.parse,SA.utcFormat,SA.utcParse,SA}function w9e(i){return new Date(i)}function m9e(i){return i instanceof Date?+i:+new Date(+i)}function gDt(i,a,f,p,v,m,b,E,C,A){var N=$Mt(),F=N.invert,j=N.domain,R=A(".%L"),H=A(":%S"),Y=A("%I:%M"),rt=A("%I %p"),J=A("%a %d"),it=A("%b %d"),ht=A("%B"),Tt=A("%Y");function yt(vt){return(C(vt)<vt?R:E(vt)<vt?H:b(vt)<vt?Y:m(vt)<vt?rt:p(vt)<vt?v(vt)<vt?J:it:f(vt)<vt?ht:Tt)(vt)}return N.invert=function(vt){return new Date(F(vt))},N.domain=function(vt){return arguments.length?j(Array.from(vt,m9e)):j().map(w9e)},N.ticks=function(vt){var ut=j();return i(ut[0],ut[ut.length-1],vt??10)},N.tickFormat=function(vt,ut){return ut==null?yt:A(ut)},N.nice=function(vt){var ut=j();return(!vt||typeof vt.range!="function")&&(vt=a(ut[0],ut[ut.length-1],vt??10)),vt?j(c7e(ut,vt)):N},N.copy=function(){return jMt(N,gDt(i,a,f,p,v,m,b,E,C,A))},N}function y9e(){return y1t.apply(gDt(p7e,b7e,Y9,HU,OP,_A,qU,zU,IP,GU).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function x9e(i){for(var a=i.length/6|0,f=new Array(a),p=0;p<a;)f[p]="#"+i.slice(p*6,++p*6);return f}const k9e=x9e("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function rf(i){return function(){return i}}const pDt=Math.abs,m0=Math.atan2,Q9=Math.cos,E9e=Math.max,D1t=Math.min,u3=Math.sin,AA=Math.sqrt,y0=1e-12,jP=Math.PI,UU=jP/2,WU=2*jP;function T9e(i){return i>1?0:i<-1?jP:Math.acos(i)}function bDt(i){return i>=1?UU:i<=-1?-UU:Math.asin(i)}function _9e(i){return i.innerRadius}function C9e(i){return i.outerRadius}function S9e(i){return i.startAngle}function A9e(i){return i.endAngle}function L9e(i){return i&&i.padAngle}function M9e(i,a,f,p,v,m,b,E){var C=f-i,A=p-a,N=b-v,F=E-m,j=F*C-N*A;if(!(j*j<y0))return j=(N*(a-m)-F*(i-v))/j,[i+j*C,a+j*A]}function KU(i,a,f,p,v,m,b){var E=i-f,C=a-p,A=(b?m:-m)/AA(E*E+C*C),N=A*C,F=-A*E,j=i+N,R=a+F,H=f+N,Y=p+F,rt=(j+H)/2,J=(R+Y)/2,it=H-j,ht=Y-R,Tt=it*it+ht*ht,yt=v-m,vt=j*Y-H*R,ut=(ht<0?-1:1)*AA(E9e(0,yt*yt*Tt-vt*vt)),xt=(vt*ht-it*ut)/Tt,st=(-vt*it-ht*ut)/Tt,Et=(vt*ht+it*ut)/Tt,gt=(-vt*it+ht*ut)/Tt,pt=xt-rt,Ct=st-J,nt=Et-rt,Nt=gt-J;return pt*pt+Ct*Ct>nt*nt+Nt*Nt&&(xt=Et,st=gt),{cx:xt,cy:st,x01:-N,y01:-F,x11:xt*(v/yt-1),y11:st*(v/yt-1)}}function LA(){var i=_9e,a=C9e,f=rf(0),p=null,v=S9e,m=A9e,b=L9e,E=null;function C(){var A,N,F=+i.apply(this,arguments),j=+a.apply(this,arguments),R=v.apply(this,arguments)-UU,H=m.apply(this,arguments)-UU,Y=pDt(H-R),rt=H>R;if(E||(E=A=w1t()),j<F&&(N=j,j=F,F=N),!(j>y0))E.moveTo(0,0);else if(Y>WU-y0)E.moveTo(j*Q9(R),j*u3(R)),E.arc(0,0,j,R,H,!rt),F>y0&&(E.moveTo(F*Q9(H),F*u3(H)),E.arc(0,0,F,H,R,rt));else{var J=R,it=H,ht=R,Tt=H,yt=Y,vt=Y,ut=b.apply(this,arguments)/2,xt=ut>y0&&(p?+p.apply(this,arguments):AA(F*F+j*j)),st=D1t(pDt(j-F)/2,+f.apply(this,arguments)),Et=st,gt=st,pt,Ct;if(xt>y0){var nt=bDt(xt/F*u3(ut)),Nt=bDt(xt/j*u3(ut));(yt-=nt*2)>y0?(nt*=rt?1:-1,ht+=nt,Tt-=nt):(yt=0,ht=Tt=(R+H)/2),(vt-=Nt*2)>y0?(Nt*=rt?1:-1,J+=Nt,it-=Nt):(vt=0,J=it=(R+H)/2)}var dt=j*Q9(J),Ft=j*u3(J),X=F*Q9(Tt),Bt=F*u3(Tt);if(st>y0){var Rt=j*Q9(it),mt=j*u3(it),Ot=F*Q9(ht),Gt=F*u3(ht),Ve;if(Y<jP&&(Ve=M9e(dt,Ft,Ot,Gt,Rt,mt,X,Bt))){var Cn=dt-Ve[0],xe=Ft-Ve[1],Kn=Rt-Ve[0],Se=mt-Ve[1],ee=1/u3(T9e((Cn*Kn+xe*Se)/(AA(Cn*Cn+xe*xe)*AA(Kn*Kn+Se*Se)))/2),_e=AA(Ve[0]*Ve[0]+Ve[1]*Ve[1]);Et=D1t(st,(F-_e)/(ee-1)),gt=D1t(st,(j-_e)/(ee+1))}}vt>y0?gt>y0?(pt=KU(Ot,Gt,dt,Ft,j,gt,rt),Ct=KU(Rt,mt,X,Bt,j,gt,rt),E.moveTo(pt.cx+pt.x01,pt.cy+pt.y01),gt<st?E.arc(pt.cx,pt.cy,gt,m0(pt.y01,pt.x01),m0(Ct.y01,Ct.x01),!rt):(E.arc(pt.cx,pt.cy,gt,m0(pt.y01,pt.x01),m0(pt.y11,pt.x11),!rt),E.arc(0,0,j,m0(pt.cy+pt.y11,pt.cx+pt.x11),m0(Ct.cy+Ct.y11,Ct.cx+Ct.x11),!rt),E.arc(Ct.cx,Ct.cy,gt,m0(Ct.y11,Ct.x11),m0(Ct.y01,Ct.x01),!rt))):(E.moveTo(dt,Ft),E.arc(0,0,j,J,it,!rt)):E.moveTo(dt,Ft),!(F>y0)||!(yt>y0)?E.lineTo(X,Bt):Et>y0?(pt=KU(X,Bt,Rt,mt,F,-Et,rt),Ct=KU(dt,Ft,Ot,Gt,F,-Et,rt),E.lineTo(pt.cx+pt.x01,pt.cy+pt.y01),Et<st?E.arc(pt.cx,pt.cy,Et,m0(pt.y01,pt.x01),m0(Ct.y01,Ct.x01),!rt):(E.arc(pt.cx,pt.cy,Et,m0(pt.y01,pt.x01),m0(pt.y11,pt.x11),!rt),E.arc(0,0,F,m0(pt.cy+pt.y11,pt.cx+pt.x11),m0(Ct.cy+Ct.y11,Ct.cx+Ct.x11),rt),E.arc(Ct.cx,Ct.cy,Et,m0(Ct.y11,Ct.x11),m0(Ct.y01,Ct.x01),!rt))):E.arc(0,0,F,Tt,ht,rt)}if(E.closePath(),A)return E=null,A+""||null}return C.centroid=function(){var A=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2,N=(+v.apply(this,arguments)+ +m.apply(this,arguments))/2-jP/2;return[Q9(N)*A,u3(N)*A]},C.innerRadius=function(A){return arguments.length?(i=typeof A=="function"?A:rf(+A),C):i},C.outerRadius=function(A){return arguments.length?(a=typeof A=="function"?A:rf(+A),C):a},C.cornerRadius=function(A){return arguments.length?(f=typeof A=="function"?A:rf(+A),C):f},C.padRadius=function(A){return arguments.length?(p=A==null?null:typeof A=="function"?A:rf(+A),C):p},C.startAngle=function(A){return arguments.length?(v=typeof A=="function"?A:rf(+A),C):v},C.endAngle=function(A){return arguments.length?(m=typeof A=="function"?A:rf(+A),C):m},C.padAngle=function(A){return arguments.length?(b=typeof A=="function"?A:rf(+A),C):b},C.context=function(A){return arguments.length?(E=A??null,C):E},C}function vDt(i){return typeof i=="object"&&"length"in i?i:Array.from(i)}function wDt(i){this._context=i}wDt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(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:this._context.lineTo(i,a);break}}};function ag(i){return new wDt(i)}function D9e(i){return i[0]}function I9e(i){return i[1]}function Z9(i,a){var f=rf(!0),p=null,v=ag,m=null;i=typeof i=="function"?i:i===void 0?D9e:rf(i),a=typeof a=="function"?a:a===void 0?I9e:rf(a);function b(E){var C,A=(E=vDt(E)).length,N,F=!1,j;for(p==null&&(m=v(j=w1t())),C=0;C<=A;++C)!(C<A&&f(N=E[C],C,E))===F&&((F=!F)?m.lineStart():m.lineEnd()),F&&m.point(+i(N,C,E),+a(N,C,E));if(j)return m=null,j+""||null}return b.x=function(E){return arguments.length?(i=typeof E=="function"?E:rf(+E),b):i},b.y=function(E){return arguments.length?(a=typeof E=="function"?E:rf(+E),b):a},b.defined=function(E){return arguments.length?(f=typeof E=="function"?E:rf(!!E),b):f},b.curve=function(E){return arguments.length?(v=E,p!=null&&(m=v(p)),b):v},b.context=function(E){return arguments.length?(E==null?p=m=null:m=v(p=E),b):p},b}function O9e(i,a){return a<i?-1:a>i?1:a>=i?0:NaN}function P9e(i){return i}function N9e(){var i=P9e,a=O9e,f=null,p=rf(0),v=rf(WU),m=rf(0);function b(E){var C,A=(E=vDt(E)).length,N,F,j=0,R=new Array(A),H=new Array(A),Y=+p.apply(this,arguments),rt=Math.min(WU,Math.max(-WU,v.apply(this,arguments)-Y)),J,it=Math.min(Math.abs(rt)/A,m.apply(this,arguments)),ht=it*(rt<0?-1:1),Tt;for(C=0;C<A;++C)(Tt=H[R[C]=C]=+i(E[C],C,E))>0&&(j+=Tt);for(a!=null?R.sort(function(yt,vt){return a(H[yt],H[vt])}):f!=null&&R.sort(function(yt,vt){return f(E[yt],E[vt])}),C=0,F=j?(rt-A*ht)/j:0;C<A;++C,Y=J)N=R[C],Tt=H[N],J=Y+(Tt>0?Tt*F:0)+ht,H[N]={data:E[N],index:C,value:Tt,startAngle:Y,endAngle:J,padAngle:it};return H}return b.value=function(E){return arguments.length?(i=typeof E=="function"?E:rf(+E),b):i},b.sortValues=function(E){return arguments.length?(a=E,f=null,b):a},b.sort=function(E){return arguments.length?(f=E,a=null,b):f},b.startAngle=function(E){return arguments.length?(p=typeof E=="function"?E:rf(+E),b):p},b.endAngle=function(E){return arguments.length?(v=typeof E=="function"?E:rf(+E),b):v},b.padAngle=function(E){return arguments.length?(m=typeof E=="function"?E:rf(+E),b):m},b}class mDt{constructor(a,f){this._context=a,this._x=f}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,f){switch(a=+a,f=+f,this._point){case 0:{this._point=1,this._line?this._context.lineTo(a,f):this._context.moveTo(a,f);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,f,a,f):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+f)/2,a,this._y0,a,f);break}}this._x0=a,this._y0=f}}function F9e(i){return new mDt(i,!0)}function B9e(i){return new mDt(i,!1)}function Jx(){}function YU(i,a,f){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+f)/6)}function XU(i){this._context=i}XU.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:YU(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:YU(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function MA(i){return new XU(i)}function yDt(i){this._context=i}yDt.prototype={areaStart:Jx,areaEnd:Jx,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:YU(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function R9e(i){return new yDt(i)}function xDt(i){this._context=i}xDt.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 f=(this._x0+4*this._x1+i)/6,p=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(f,p):this._context.moveTo(f,p);break;case 3:this._point=4;default:YU(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function j9e(i){return new xDt(i)}function kDt(i,a){this._basis=new XU(i),this._beta=a}kDt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var i=this._x,a=this._y,f=i.length-1;if(f>0)for(var p=i[0],v=a[0],m=i[f]-p,b=a[f]-v,E=-1,C;++E<=f;)C=E/f,this._basis.point(this._beta*i[E]+(1-this._beta)*(p+C*m),this._beta*a[E]+(1-this._beta)*(v+C*b));this._x=this._y=null,this._basis.lineEnd()},point:function(i,a){this._x.push(+i),this._y.push(+a)}};const $9e=function i(a){function f(p){return a===1?new XU(p):new kDt(p,a)}return f.beta=function(p){return i(+p)},f}(.85);function QU(i,a,f){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-f),i._x2,i._y2)}function I1t(i,a){this._context=i,this._k=(1-a)/6}I1t.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:QU(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:QU(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 z9e=function i(a){function f(p){return new I1t(p,a)}return f.tension=function(p){return i(+p)},f}(0);function O1t(i,a){this._context=i,this._k=(1-a)/6}O1t.prototype={areaStart:Jx,areaEnd:Jx,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:QU(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 q9e=function i(a){function f(p){return new O1t(p,a)}return f.tension=function(p){return i(+p)},f}(0);function P1t(i,a){this._context=i,this._k=(1-a)/6}P1t.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:QU(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 H9e=function i(a){function f(p){return new P1t(p,a)}return f.tension=function(p){return i(+p)},f}(0);function N1t(i,a,f){var p=i._x1,v=i._y1,m=i._x2,b=i._y2;if(i._l01_a>y0){var E=2*i._l01_2a+3*i._l01_a*i._l12_a+i._l12_2a,C=3*i._l01_a*(i._l01_a+i._l12_a);p=(p*E-i._x0*i._l12_2a+i._x2*i._l01_2a)/C,v=(v*E-i._y0*i._l12_2a+i._y2*i._l01_2a)/C}if(i._l23_a>y0){var A=2*i._l23_2a+3*i._l23_a*i._l12_a+i._l12_2a,N=3*i._l23_a*(i._l23_a+i._l12_a);m=(m*A+i._x1*i._l23_2a-a*i._l12_2a)/N,b=(b*A+i._y1*i._l23_2a-f*i._l12_2a)/N}i._context.bezierCurveTo(p,v,m,b,i._x2,i._y2)}function EDt(i,a){this._context=i,this._alpha=a}EDt.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 f=this._x2-i,p=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:N1t(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 V9e=function i(a){function f(p){return a?new EDt(p,a):new I1t(p,0)}return f.alpha=function(p){return i(+p)},f}(.5);function TDt(i,a){this._context=i,this._alpha=a}TDt.prototype={areaStart:Jx,areaEnd:Jx,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 f=this._x2-i,p=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:N1t(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 G9e=function i(a){function f(p){return a?new TDt(p,a):new O1t(p,0)}return f.alpha=function(p){return i(+p)},f}(.5);function _Dt(i,a){this._context=i,this._alpha=a}_Dt.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 f=this._x2-i,p=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+p*p,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:N1t(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 U9e=function i(a){function f(p){return a?new _Dt(p,a):new P1t(p,0)}return f.alpha=function(p){return i(+p)},f}(.5);function CDt(i){this._context=i}CDt.prototype={areaStart:Jx,areaEnd:Jx,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 W9e(i){return new CDt(i)}function SDt(i){return i<0?-1:1}function ADt(i,a,f){var p=i._x1-i._x0,v=a-i._x1,m=(i._y1-i._y0)/(p||v<0&&-0),b=(f-i._y1)/(v||p<0&&-0),E=(m*v+b*p)/(p+v);return(SDt(m)+SDt(b))*Math.min(Math.abs(m),Math.abs(b),.5*Math.abs(E))||0}function LDt(i,a){var f=i._x1-i._x0;return f?(3*(i._y1-i._y0)/f-a)/2:a}function F1t(i,a,f){var p=i._x0,v=i._y0,m=i._x1,b=i._y1,E=(m-p)/3;i._context.bezierCurveTo(p+E,v+E*a,m-E,b-E*f,m,b)}function ZU(i){this._context=i}ZU.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:F1t(this,this._t0,LDt(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 f=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,F1t(this,LDt(this,f=ADt(this,i,a)),f);break;default:F1t(this,this._t0,f=ADt(this,i,a));break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a,this._t0=f}}};function MDt(i){this._context=new DDt(i)}(MDt.prototype=Object.create(ZU.prototype)).point=function(i,a){ZU.prototype.point.call(this,a,i)};function DDt(i){this._context=i}DDt.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,f,p,v,m){this._context.bezierCurveTo(a,i,p,f,m,v)}};function K9e(i){return new ZU(i)}function Y9e(i){return new MDt(i)}function IDt(i){this._context=i}IDt.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,f=i.length;if(f)if(this._line?this._context.lineTo(i[0],a[0]):this._context.moveTo(i[0],a[0]),f===2)this._context.lineTo(i[1],a[1]);else for(var p=ODt(i),v=ODt(a),m=0,b=1;b<f;++m,++b)this._context.bezierCurveTo(p[0][m],v[0][m],p[1][m],v[1][m],i[b],a[b]);(this._line||this._line!==0&&f===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(i,a){this._x.push(+i),this._y.push(+a)}};function ODt(i){var a,f=i.length-1,p,v=new Array(f),m=new Array(f),b=new Array(f);for(v[0]=0,m[0]=2,b[0]=i[0]+2*i[1],a=1;a<f-1;++a)v[a]=1,m[a]=4,b[a]=4*i[a]+2*i[a+1];for(v[f-1]=2,m[f-1]=7,b[f-1]=8*i[f-1]+i[f],a=1;a<f;++a)p=v[a]/m[a-1],m[a]-=p,b[a]-=p*b[a-1];for(v[f-1]=b[f-1]/m[f-1],a=f-2;a>=0;--a)v[a]=(b[a]-v[a+1])/m[a];for(m[f-1]=(i[f]+v[f-1])/2,a=0;a<f-1;++a)m[a]=2*i[a+1]-v[a+1];return[v,m]}function X9e(i){return new IDt(i)}function JU(i,a){this._context=i,this._t=a}JU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(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 f=this._x*(1-this._t)+i*this._t;this._context.lineTo(f,this._y),this._context.lineTo(f,a)}break}}this._x=i,this._y=a}};function Q9e(i){return new JU(i,.5)}function Z9e(i){return new JU(i,0)}function J9e(i){return new JU(i,1)}function $P(i,a,f){this.k=i,this.x=a,this.y=f}$P.prototype={constructor:$P,scale:function(i){return i===1?this:new $P(this.k*i,this.x,this.y)},translate:function(i,a){return i===0&a===0?this:new $P(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+")"}},$P.prototype;/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:PDt,setPrototypeOf:NDt,isFrozen:tEe,getPrototypeOf:eEe,getOwnPropertyDescriptor:nEe}=Object;let{freeze:og,seal:Yw,create:rEe}=Object,{apply:B1t,construct:R1t}=typeof Reflect<"u"&&Reflect;B1t||(B1t=function(a,f,p){return a.apply(f,p)}),og||(og=function(a){return a}),Yw||(Yw=function(a){return a}),R1t||(R1t=function(a,f){return new a(...f)});const iEe=Xb(Array.prototype.forEach),FDt=Xb(Array.prototype.pop),zP=Xb(Array.prototype.push),tW=Xb(String.prototype.toLowerCase),j1t=Xb(String.prototype.toString),sEe=Xb(String.prototype.match),Xw=Xb(String.prototype.replace),aEe=Xb(String.prototype.indexOf),oEe=Xb(String.prototype.trim),P2=Xb(RegExp.prototype.test),qP=cEe(TypeError);function Xb(i){return function(a){for(var f=arguments.length,p=new Array(f>1?f-1:0),v=1;v<f;v++)p[v-1]=arguments[v];return B1t(i,a,p)}}function cEe(i){return function(){for(var a=arguments.length,f=new Array(a),p=0;p<a;p++)f[p]=arguments[p];return R1t(i,f)}}function Oo(i,a,f){var p;f=(p=f)!==null&&p!==void 0?p:tW,NDt&&NDt(i,null);let v=a.length;for(;v--;){let m=a[v];if(typeof m=="string"){const b=f(m);b!==m&&(tEe(a)||(a[v]=b),m=b)}i[m]=!0}return i}function DA(i){const a=rEe(null);for(const[f,p]of PDt(i))a[f]=p;return a}function eW(i,a){for(;i!==null;){const p=nEe(i,a);if(p){if(p.get)return Xb(p.get);if(typeof p.value=="function")return Xb(p.value)}i=eEe(i)}function f(p){return console.warn("fallback value for",p),null}return f}const BDt=og(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),$1t=og(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),z1t=og(["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"]),uEe=og(["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"]),q1t=og(["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"]),lEe=og(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),RDt=og(["#text"]),jDt=og(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H1t=og(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$Dt=og(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),nW=og(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),hEe=Yw(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fEe=Yw(/<%[\w\W]*|[\w\W]*%>/gm),dEe=Yw(/\${[\w\W]*}/gm),gEe=Yw(/^data-[\-\w.\u00B7-\uFFFF]/),pEe=Yw(/^aria-[\-\w]+$/),zDt=Yw(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bEe=Yw(/^(?:\w+script|data):/i),vEe=Yw(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),qDt=Yw(/^html$/i);var HDt=Object.freeze({__proto__:null,MUSTACHE_EXPR:hEe,ERB_EXPR:fEe,TMPLIT_EXPR:dEe,DATA_ATTR:gEe,ARIA_ATTR:pEe,IS_ALLOWED_URI:zDt,IS_SCRIPT_OR_DATA:bEe,ATTR_WHITESPACE:vEe,DOCTYPE_NAME:qDt});const wEe=()=>typeof window>"u"?null:window,mEe=function(a,f){if(typeof a!="object"||typeof a.createPolicy!="function")return null;let p=null;const v="data-tt-policy-suffix";f&&f.hasAttribute(v)&&(p=f.getAttribute(v));const m="dompurify"+(p?"#"+p:"");try{return a.createPolicy(m,{createHTML(b){return b},createScriptURL(b){return b}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}};function VDt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wEe();const a=Gi=>VDt(Gi);if(a.version="3.0.5",a.removed=[],!i||!i.document||i.document.nodeType!==9)return a.isSupported=!1,a;const f=i.document,p=f.currentScript;let{document:v}=i;const{DocumentFragment:m,HTMLTemplateElement:b,Node:E,Element:C,NodeFilter:A,NamedNodeMap:N=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:F,DOMParser:j,trustedTypes:R}=i,H=C.prototype,Y=eW(H,"cloneNode"),rt=eW(H,"nextSibling"),J=eW(H,"childNodes"),it=eW(H,"parentNode");if(typeof b=="function"){const Gi=v.createElement("template");Gi.content&&Gi.content.ownerDocument&&(v=Gi.content.ownerDocument)}let ht,Tt="";const{implementation:yt,createNodeIterator:vt,createDocumentFragment:ut,getElementsByTagName:xt}=v,{importNode:st}=f;let Et={};a.isSupported=typeof PDt=="function"&&typeof it=="function"&&yt&&yt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:gt,ERB_EXPR:pt,TMPLIT_EXPR:Ct,DATA_ATTR:nt,ARIA_ATTR:Nt,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:Ft}=HDt;let{IS_ALLOWED_URI:X}=HDt,Bt=null;const Rt=Oo({},[...BDt,...$1t,...z1t,...q1t,...RDt]);let mt=null;const Ot=Oo({},[...jDt,...H1t,...$Dt,...nW]);let Gt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ve=null,Cn=null,xe=!0,Kn=!0,Se=!1,ee=!0,_e=!1,qe=!1,ce=!1,Ce=!1,he=!1,Re=!1,se=!1,Pe=!0,Qt=!1;const vr="user-content-";let $t=!0,ur=!1,le={},rr=null;const ar=Oo({},["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 Qn=null;const Zn=Oo({},["audio","video","img","source","image","track"]);let dn=null;const kn=Oo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_r="http://www.w3.org/1998/Math/MathML",Rr="http://www.w3.org/2000/svg",os="http://www.w3.org/1999/xhtml";let As=os,ma=!1,Zr=null;const Hi=Oo({},[_r,Rr,os],j1t);let Gn;const Jn=["application/xhtml+xml","text/html"],Or="text/html";let Fn,Li=null;const Dn=v.createElement("form"),Ba=function(Ue){return Ue instanceof RegExp||Ue instanceof Function},zn=function(Ue){if(!(Li&&Li===Ue)){if((!Ue||typeof Ue!="object")&&(Ue={}),Ue=DA(Ue),Gn=Jn.indexOf(Ue.PARSER_MEDIA_TYPE)===-1?Gn=Or:Gn=Ue.PARSER_MEDIA_TYPE,Fn=Gn==="application/xhtml+xml"?j1t:tW,Bt="ALLOWED_TAGS"in Ue?Oo({},Ue.ALLOWED_TAGS,Fn):Rt,mt="ALLOWED_ATTR"in Ue?Oo({},Ue.ALLOWED_ATTR,Fn):Ot,Zr="ALLOWED_NAMESPACES"in Ue?Oo({},Ue.ALLOWED_NAMESPACES,j1t):Hi,dn="ADD_URI_SAFE_ATTR"in Ue?Oo(DA(kn),Ue.ADD_URI_SAFE_ATTR,Fn):kn,Qn="ADD_DATA_URI_TAGS"in Ue?Oo(DA(Zn),Ue.ADD_DATA_URI_TAGS,Fn):Zn,rr="FORBID_CONTENTS"in Ue?Oo({},Ue.FORBID_CONTENTS,Fn):ar,Ve="FORBID_TAGS"in Ue?Oo({},Ue.FORBID_TAGS,Fn):{},Cn="FORBID_ATTR"in Ue?Oo({},Ue.FORBID_ATTR,Fn):{},le="USE_PROFILES"in Ue?Ue.USE_PROFILES:!1,xe=Ue.ALLOW_ARIA_ATTR!==!1,Kn=Ue.ALLOW_DATA_ATTR!==!1,Se=Ue.ALLOW_UNKNOWN_PROTOCOLS||!1,ee=Ue.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_e=Ue.SAFE_FOR_TEMPLATES||!1,qe=Ue.WHOLE_DOCUMENT||!1,he=Ue.RETURN_DOM||!1,Re=Ue.RETURN_DOM_FRAGMENT||!1,se=Ue.RETURN_TRUSTED_TYPE||!1,Ce=Ue.FORCE_BODY||!1,Pe=Ue.SANITIZE_DOM!==!1,Qt=Ue.SANITIZE_NAMED_PROPS||!1,$t=Ue.KEEP_CONTENT!==!1,ur=Ue.IN_PLACE||!1,X=Ue.ALLOWED_URI_REGEXP||zDt,As=Ue.NAMESPACE||os,Gt=Ue.CUSTOM_ELEMENT_HANDLING||{},Ue.CUSTOM_ELEMENT_HANDLING&&Ba(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Gt.tagNameCheck=Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ue.CUSTOM_ELEMENT_HANDLING&&Ba(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Gt.attributeNameCheck=Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ue.CUSTOM_ELEMENT_HANDLING&&typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Gt.allowCustomizedBuiltInElements=Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),_e&&(Kn=!1),Re&&(he=!0),le&&(Bt=Oo({},[...RDt]),mt=[],le.html===!0&&(Oo(Bt,BDt),Oo(mt,jDt)),le.svg===!0&&(Oo(Bt,$1t),Oo(mt,H1t),Oo(mt,nW)),le.svgFilters===!0&&(Oo(Bt,z1t),Oo(mt,H1t),Oo(mt,nW)),le.mathMl===!0&&(Oo(Bt,q1t),Oo(mt,$Dt),Oo(mt,nW))),Ue.ADD_TAGS&&(Bt===Rt&&(Bt=DA(Bt)),Oo(Bt,Ue.ADD_TAGS,Fn)),Ue.ADD_ATTR&&(mt===Ot&&(mt=DA(mt)),Oo(mt,Ue.ADD_ATTR,Fn)),Ue.ADD_URI_SAFE_ATTR&&Oo(dn,Ue.ADD_URI_SAFE_ATTR,Fn),Ue.FORBID_CONTENTS&&(rr===ar&&(rr=DA(rr)),Oo(rr,Ue.FORBID_CONTENTS,Fn)),$t&&(Bt["#text"]=!0),qe&&Oo(Bt,["html","head","body"]),Bt.table&&(Oo(Bt,["tbody"]),delete Ve.tbody),Ue.TRUSTED_TYPES_POLICY){if(typeof Ue.TRUSTED_TYPES_POLICY.createHTML!="function")throw qP('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ue.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw qP('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ht=Ue.TRUSTED_TYPES_POLICY,Tt=ht.createHTML("")}else ht===void 0&&(ht=mEe(R,p)),ht!==null&&typeof Tt=="string"&&(Tt=ht.createHTML(""));og&&og(Ue),Li=Ue}},is=Oo({},["mi","mo","mn","ms","mtext"]),La=Oo({},["foreignobject","desc","title","annotation-xml"]),Xa=Oo({},["title","style","font","a","script"]),Ta=Oo({},$1t);Oo(Ta,z1t),Oo(Ta,uEe);const ga=Oo({},q1t);Oo(ga,lEe);const Es=function(Ue){let Cr=it(Ue);(!Cr||!Cr.tagName)&&(Cr={namespaceURI:As,tagName:"template"});const ci=tW(Ue.tagName),Qa=tW(Cr.tagName);return Zr[Ue.namespaceURI]?Ue.namespaceURI===Rr?Cr.namespaceURI===os?ci==="svg":Cr.namespaceURI===_r?ci==="svg"&&(Qa==="annotation-xml"||is[Qa]):!!Ta[ci]:Ue.namespaceURI===_r?Cr.namespaceURI===os?ci==="math":Cr.namespaceURI===Rr?ci==="math"&&La[Qa]:!!ga[ci]:Ue.namespaceURI===os?Cr.namespaceURI===Rr&&!La[Qa]||Cr.namespaceURI===_r&&!is[Qa]?!1:!ga[ci]&&(Xa[ci]||!Ta[ci]):!!(Gn==="application/xhtml+xml"&&Zr[Ue.namespaceURI]):!1},Bs=function(Ue){zP(a.removed,{element:Ue});try{Ue.parentNode.removeChild(Ue)}catch{Ue.remove()}},_a=function(Ue,Cr){try{zP(a.removed,{attribute:Cr.getAttributeNode(Ue),from:Cr})}catch{zP(a.removed,{attribute:null,from:Cr})}if(Cr.removeAttribute(Ue),Ue==="is"&&!mt[Ue])if(he||Re)try{Bs(Cr)}catch{}else try{Cr.setAttribute(Ue,"")}catch{}},Ma=function(Ue){let Cr,ci;if(Ce)Ue="<remove></remove>"+Ue;else{const yu=sEe(Ue,/^[\r\n\t ]+/);ci=yu&&yu[0]}Gn==="application/xhtml+xml"&&As===os&&(Ue='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ue+"</body></html>");const Qa=ht?ht.createHTML(Ue):Ue;if(As===os)try{Cr=new j().parseFromString(Qa,Gn)}catch{}if(!Cr||!Cr.documentElement){Cr=yt.createDocument(As,"template",null);try{Cr.documentElement.innerHTML=ma?Tt:Qa}catch{}}const kc=Cr.body||Cr.documentElement;return Ue&&ci&&kc.insertBefore(v.createTextNode(ci),kc.childNodes[0]||null),As===os?xt.call(Cr,qe?"html":"body")[0]:qe?Cr.documentElement:kc},Ga=function(Ue){return vt.call(Ue.ownerDocument||Ue,Ue,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT,null,!1)},ov=function(Ue){return Ue instanceof F&&(typeof Ue.nodeName!="string"||typeof Ue.textContent!="string"||typeof Ue.removeChild!="function"||!(Ue.attributes instanceof N)||typeof Ue.removeAttribute!="function"||typeof Ue.setAttribute!="function"||typeof Ue.namespaceURI!="string"||typeof Ue.insertBefore!="function"||typeof Ue.hasChildNodes!="function")},rl=function(Ue){return typeof E=="object"?Ue instanceof E:Ue&&typeof Ue=="object"&&typeof Ue.nodeType=="number"&&typeof Ue.nodeName=="string"},mu=function(Ue,Cr,ci){Et[Ue]&&iEe(Et[Ue],Qa=>{Qa.call(a,Cr,ci,Li)})},Ls=function(Ue){let Cr;if(mu("beforeSanitizeElements",Ue,null),ov(Ue))return Bs(Ue),!0;const ci=Fn(Ue.nodeName);if(mu("uponSanitizeElement",Ue,{tagName:ci,allowedTags:Bt}),Ue.hasChildNodes()&&!rl(Ue.firstElementChild)&&(!rl(Ue.content)||!rl(Ue.content.firstElementChild))&&P2(/<[/\w]/g,Ue.innerHTML)&&P2(/<[/\w]/g,Ue.textContent))return Bs(Ue),!0;if(!Bt[ci]||Ve[ci]){if(!Ve[ci]&&ad(ci)&&(Gt.tagNameCheck instanceof RegExp&&P2(Gt.tagNameCheck,ci)||Gt.tagNameCheck instanceof Function&&Gt.tagNameCheck(ci)))return!1;if($t&&!rr[ci]){const Qa=it(Ue)||Ue.parentNode,kc=J(Ue)||Ue.childNodes;if(kc&&Qa){const yu=kc.length;for(let yo=yu-1;yo>=0;--yo)Qa.insertBefore(Y(kc[yo],!0),rt(Ue))}}return Bs(Ue),!0}return Ue instanceof C&&!Es(Ue)||(ci==="noscript"||ci==="noembed"||ci==="noframes")&&P2(/<\/no(script|embed|frames)/i,Ue.innerHTML)?(Bs(Ue),!0):(_e&&Ue.nodeType===3&&(Cr=Ue.textContent,Cr=Xw(Cr,gt," "),Cr=Xw(Cr,pt," "),Cr=Xw(Cr,Ct," "),Ue.textContent!==Cr&&(zP(a.removed,{element:Ue.cloneNode()}),Ue.textContent=Cr)),mu("afterSanitizeElements",Ue,null),!1)},bp=function(Ue,Cr,ci){if(Pe&&(Cr==="id"||Cr==="name")&&(ci in v||ci in Dn))return!1;if(!(Kn&&!Cn[Cr]&&P2(nt,Cr))){if(!(xe&&P2(Nt,Cr))){if(!mt[Cr]||Cn[Cr]){if(!(ad(Ue)&&(Gt.tagNameCheck instanceof RegExp&&P2(Gt.tagNameCheck,Ue)||Gt.tagNameCheck instanceof Function&&Gt.tagNameCheck(Ue))&&(Gt.attributeNameCheck instanceof RegExp&&P2(Gt.attributeNameCheck,Cr)||Gt.attributeNameCheck instanceof Function&&Gt.attributeNameCheck(Cr))||Cr==="is"&&Gt.allowCustomizedBuiltInElements&&(Gt.tagNameCheck instanceof RegExp&&P2(Gt.tagNameCheck,ci)||Gt.tagNameCheck instanceof Function&&Gt.tagNameCheck(ci))))return!1}else if(!dn[Cr]){if(!P2(X,Xw(ci,Ft,""))){if(!((Cr==="src"||Cr==="xlink:href"||Cr==="href")&&Ue!=="script"&&aEe(ci,"data:")===0&&Qn[Ue])){if(!(Se&&!P2(dt,Xw(ci,Ft,"")))){if(ci)return!1}}}}}}return!0},ad=function(Ue){return Ue.indexOf("-")>0},Rl=function(Ue){let Cr,ci,Qa,kc;mu("beforeSanitizeAttributes",Ue,null);const{attributes:yu}=Ue;if(!yu)return;const yo={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:mt};for(kc=yu.length;kc--;){Cr=yu[kc];const{name:xu,namespaceURI:uf}=Cr;if(ci=xu==="value"?Cr.value:oEe(Cr.value),Qa=Fn(xu),yo.attrName=Qa,yo.attrValue=ci,yo.keepAttr=!0,yo.forceKeepAttr=void 0,mu("uponSanitizeAttribute",Ue,yo),ci=yo.attrValue,yo.forceKeepAttr||(_a(xu,Ue),!yo.keepAttr))continue;if(!ee&&P2(/\/>/i,ci)){_a(xu,Ue);continue}_e&&(ci=Xw(ci,gt," "),ci=Xw(ci,pt," "),ci=Xw(ci,Ct," "));const k3=Fn(Ue.nodeName);if(bp(k3,Qa,ci)){if(Qt&&(Qa==="id"||Qa==="name")&&(_a(xu,Ue),ci=vr+ci),ht&&typeof R=="object"&&typeof R.getAttributeType=="function"&&!uf)switch(R.getAttributeType(k3,Qa)){case"TrustedHTML":{ci=ht.createHTML(ci);break}case"TrustedScriptURL":{ci=ht.createScriptURL(ci);break}}try{uf?Ue.setAttributeNS(uf,xu,ci):Ue.setAttribute(xu,ci),FDt(a.removed)}catch{}}}mu("afterSanitizeAttributes",Ue,null)},$u=function Gi(Ue){let Cr;const ci=Ga(Ue);for(mu("beforeSanitizeShadowDOM",Ue,null);Cr=ci.nextNode();)mu("uponSanitizeShadowNode",Cr,null),!Ls(Cr)&&(Cr.content instanceof m&&Gi(Cr.content),Rl(Cr));mu("afterSanitizeShadowDOM",Ue,null)};return a.sanitize=function(Gi){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Cr,ci,Qa,kc;if(ma=!Gi,ma&&(Gi="<!-->"),typeof Gi!="string"&&!rl(Gi))if(typeof Gi.toString=="function"){if(Gi=Gi.toString(),typeof Gi!="string")throw qP("dirty is not a string, aborting")}else throw qP("toString is not a function");if(!a.isSupported)return Gi;if(ce||zn(Ue),a.removed=[],typeof Gi=="string"&&(ur=!1),ur){if(Gi.nodeName){const xu=Fn(Gi.nodeName);if(!Bt[xu]||Ve[xu])throw qP("root node is forbidden and cannot be sanitized in-place")}}else if(Gi instanceof E)Cr=Ma("<!---->"),ci=Cr.ownerDocument.importNode(Gi,!0),ci.nodeType===1&&ci.nodeName==="BODY"||ci.nodeName==="HTML"?Cr=ci:Cr.appendChild(ci);else{if(!he&&!_e&&!qe&&Gi.indexOf("<")===-1)return ht&&se?ht.createHTML(Gi):Gi;if(Cr=Ma(Gi),!Cr)return he?null:se?Tt:""}Cr&&Ce&&Bs(Cr.firstChild);const yu=Ga(ur?Gi:Cr);for(;Qa=yu.nextNode();)Ls(Qa)||(Qa.content instanceof m&&$u(Qa.content),Rl(Qa));if(ur)return Gi;if(he){if(Re)for(kc=ut.call(Cr.ownerDocument);Cr.firstChild;)kc.appendChild(Cr.firstChild);else kc=Cr;return(mt.shadowroot||mt.shadowrootmode)&&(kc=st.call(f,kc,!0)),kc}let yo=qe?Cr.outerHTML:Cr.innerHTML;return qe&&Bt["!doctype"]&&Cr.ownerDocument&&Cr.ownerDocument.doctype&&Cr.ownerDocument.doctype.name&&P2(qDt,Cr.ownerDocument.doctype.name)&&(yo="<!DOCTYPE "+Cr.ownerDocument.doctype.name+`>
+`+yo),_e&&(yo=Xw(yo,gt," "),yo=Xw(yo,pt," "),yo=Xw(yo,Ct," ")),ht&&se?ht.createHTML(yo):yo},a.setConfig=function(Gi){zn(Gi),ce=!0},a.clearConfig=function(){Li=null,ce=!1},a.isValidAttribute=function(Gi,Ue,Cr){Li||zn({});const ci=Fn(Gi),Qa=Fn(Ue);return bp(ci,Qa,Cr)},a.addHook=function(Gi,Ue){typeof Ue=="function"&&(Et[Gi]=Et[Gi]||[],zP(Et[Gi],Ue))},a.removeHook=function(Gi){if(Et[Gi])return FDt(Et[Gi])},a.removeHooks=function(Gi){Et[Gi]&&(Et[Gi]=[])},a.removeAllHooks=function(){Et={}},a}var rW=VDt();const iW=/<br\s*\/?>/gi,yEe=i=>i?WDt(i).replace(/\\n/g,"#br#").split("#br#"):[""],GDt=i=>rW.sanitize(i),UDt=(i,a)=>{var f;if(((f=a.flowchart)==null?void 0:f.htmlLabels)!==!1){const p=a.securityLevel;p==="antiscript"||p==="strict"?i=GDt(i):p!=="loose"&&(i=WDt(i),i=i.replace(/</g,"&lt;").replace(/>/g,"&gt;"),i=i.replace(/=/g,"&equals;"),i=TEe(i))}return i},cg=(i,a)=>i&&(a.dompurifyConfig?i=rW.sanitize(UDt(i,a),a.dompurifyConfig).toString():i=rW.sanitize(UDt(i,a),{FORBID_TAGS:["style"]}).toString(),i),xEe=(i,a)=>typeof i=="string"?cg(i,a):i.flat().map(f=>cg(f,a)),kEe=i=>iW.test(i),EEe=i=>i.split(iW),TEe=i=>i.replace(/#br#/g,"<br/>"),WDt=i=>i.replace(iW,"#br#"),_Ee=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},l1=i=>!(i===!1||["false","null","0"].includes(String(i).trim().toLowerCase())),CEe=function(...i){const a=i.filter(f=>!isNaN(f));return Math.max(...a)},SEe=function(...i){const a=i.filter(f=>!isNaN(f));return Math.min(...a)},HP=function(i){let a=i;if(i.split("~").length-1>=2){let f=a;do a=f,f=a.replace(/~([^\s,:;]+)~/,"<$1>");while(f!=a);return HP(f)}else return a},bi={getRows:yEe,sanitizeText:cg,sanitizeTextOrArray:xEe,hasBreaks:kEe,splitBreaks:EEe,lineBreakRegex:iW,removeScript:GDt,getUrl:_Ee,evaluate:l1,getMax:CEe,getMin:SEe},sW={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,f)=>(f<0&&(f+=1),f>1&&(f-=1),f<1/6?i+(a-i)*6*f:f<1/2?a:f<2/3?i+(a-i)*(2/3-f)*6:i),hsl2rgb:({h:i,s:a,l:f},p)=>{if(!a)return f*2.55;i/=360,a/=100,f/=100;const v=f<.5?f*(1+a):f+a-f*a,m=2*f-v;switch(p){case"r":return sW.hue2rgb(m,v,i+1/3)*255;case"g":return sW.hue2rgb(m,v,i)*255;case"b":return sW.hue2rgb(m,v,i-1/3)*255}},rgb2hsl:({r:i,g:a,b:f},p)=>{i/=255,a/=255,f/=255;const v=Math.max(i,a,f),m=Math.min(i,a,f),b=(v+m)/2;if(p==="l")return b*100;if(v===m)return 0;const E=v-m,C=b>.5?E/(2-v-m):E/(v+m);if(p==="s")return C*100;switch(v){case i:return((a-f)/E+(a<f?6:0))*60;case a:return((f-i)/E+2)*60;case f:return((i-a)/E+4)*60;default:return-1}}},Aa={channel:sW,lang:{clamp:(i,a,f)=>a>f?Math.min(a,Math.max(f,i)):Math.min(f,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}`}}},tk={};for(let i=0;i<=255;i++)tk[i]=Aa.unit.dec2hex(i);const x0={ALL:0,RGB:1,HSL:2};class AEe{constructor(){this.type=x0.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=x0.ALL}is(a){return this.type===a}}const LEe=AEe;class MEe{constructor(a,f){this.color=f,this.changed=!1,this.data=a,this.type=new LEe}set(a,f){return this.color=f,this.changed=!1,this.data=a,this.type.type=x0.ALL,this}_ensureHSL(){const a=this.data,{h:f,s:p,l:v}=a;f===void 0&&(a.h=Aa.channel.rgb2hsl(a,"h")),p===void 0&&(a.s=Aa.channel.rgb2hsl(a,"s")),v===void 0&&(a.l=Aa.channel.rgb2hsl(a,"l"))}_ensureRGB(){const a=this.data,{r:f,g:p,b:v}=a;f===void 0&&(a.r=Aa.channel.hsl2rgb(a,"r")),p===void 0&&(a.g=Aa.channel.hsl2rgb(a,"g")),v===void 0&&(a.b=Aa.channel.hsl2rgb(a,"b"))}get r(){const a=this.data,f=a.r;return!this.type.is(x0.HSL)&&f!==void 0?f:(this._ensureHSL(),Aa.channel.hsl2rgb(a,"r"))}get g(){const a=this.data,f=a.g;return!this.type.is(x0.HSL)&&f!==void 0?f:(this._ensureHSL(),Aa.channel.hsl2rgb(a,"g"))}get b(){const a=this.data,f=a.b;return!this.type.is(x0.HSL)&&f!==void 0?f:(this._ensureHSL(),Aa.channel.hsl2rgb(a,"b"))}get h(){const a=this.data,f=a.h;return!this.type.is(x0.RGB)&&f!==void 0?f:(this._ensureRGB(),Aa.channel.rgb2hsl(a,"h"))}get s(){const a=this.data,f=a.s;return!this.type.is(x0.RGB)&&f!==void 0?f:(this._ensureRGB(),Aa.channel.rgb2hsl(a,"s"))}get l(){const a=this.data,f=a.l;return!this.type.is(x0.RGB)&&f!==void 0?f:(this._ensureRGB(),Aa.channel.rgb2hsl(a,"l"))}get a(){return this.data.a}set r(a){this.type.set(x0.RGB),this.changed=!0,this.data.r=a}set g(a){this.type.set(x0.RGB),this.changed=!0,this.data.g=a}set b(a){this.type.set(x0.RGB),this.changed=!0,this.data.b=a}set h(a){this.type.set(x0.HSL),this.changed=!0,this.data.h=a}set s(a){this.type.set(x0.HSL),this.changed=!0,this.data.s=a}set l(a){this.type.set(x0.HSL),this.changed=!0,this.data.l=a}set a(a){this.changed=!0,this.data.a=a}}const DEe=MEe,aW=new DEe({r:0,g:0,b:0,a:0},"transparent"),KDt={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:i=>{if(i.charCodeAt(0)!==35)return;const a=i.match(KDt.re);if(!a)return;const f=a[1],p=parseInt(f,16),v=f.length,m=v%4===0,b=v>4,E=b?1:17,C=b?8:4,A=m?0:-1,N=b?255:15;return aW.set({r:(p>>C*(A+3)&N)*E,g:(p>>C*(A+2)&N)*E,b:(p>>C*(A+1)&N)*E,a:m?(p&N)*E/255:1},i)},stringify:i=>{const{r:a,g:f,b:p,a:v}=i;return v<1?`#${tk[Math.round(a)]}${tk[Math.round(f)]}${tk[Math.round(p)]}${tk[Math.round(v*255)]}`:`#${tk[Math.round(a)]}${tk[Math.round(f)]}${tk[Math.round(p)]}`}},VP=KDt,oW={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(oW.hueRe);if(a){const[,f,p]=a;switch(p){case"grad":return Aa.channel.clamp.h(parseFloat(f)*.9);case"rad":return Aa.channel.clamp.h(parseFloat(f)*180/Math.PI);case"turn":return Aa.channel.clamp.h(parseFloat(f)*360)}}return Aa.channel.clamp.h(parseFloat(i))},parse:i=>{const a=i.charCodeAt(0);if(a!==104&&a!==72)return;const f=i.match(oW.re);if(!f)return;const[,p,v,m,b,E]=f;return aW.set({h:oW._hue2deg(p),s:Aa.channel.clamp.s(parseFloat(v)),l:Aa.channel.clamp.l(parseFloat(m)),a:b?Aa.channel.clamp.a(E?parseFloat(b)/100:parseFloat(b)):1},i)},stringify:i=>{const{h:a,s:f,l:p,a:v}=i;return v<1?`hsla(${Aa.lang.round(a)}, ${Aa.lang.round(f)}%, ${Aa.lang.round(p)}%, ${v})`:`hsl(${Aa.lang.round(a)}, ${Aa.lang.round(f)}%, ${Aa.lang.round(p)}%)`}},cW=oW,uW={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=uW.colors[i];if(a)return VP.parse(a)},stringify:i=>{const a=VP.stringify(i);for(const f in uW.colors)if(uW.colors[f]===a)return f}},YDt=uW,XDt={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 f=i.match(XDt.re);if(!f)return;const[,p,v,m,b,E,C,A,N]=f;return aW.set({r:Aa.channel.clamp.r(v?parseFloat(p)*2.55:parseFloat(p)),g:Aa.channel.clamp.g(b?parseFloat(m)*2.55:parseFloat(m)),b:Aa.channel.clamp.b(C?parseFloat(E)*2.55:parseFloat(E)),a:A?Aa.channel.clamp.a(N?parseFloat(A)/100:parseFloat(A)):1},i)},stringify:i=>{const{r:a,g:f,b:p,a:v}=i;return v<1?`rgba(${Aa.lang.round(a)}, ${Aa.lang.round(f)}, ${Aa.lang.round(p)}, ${Aa.lang.round(v)})`:`rgb(${Aa.lang.round(a)}, ${Aa.lang.round(f)}, ${Aa.lang.round(p)})`}},lW=XDt,Qw={format:{keyword:YDt,hex:VP,rgb:lW,rgba:lW,hsl:cW,hsla:cW},parse:i=>{if(typeof i!="string")return i;const a=VP.parse(i)||lW.parse(i)||cW.parse(i)||YDt.parse(i);if(a)return a;throw new Error(`Unsupported color format: "${i}"`)},stringify:i=>!i.changed&&i.color?i.color:i.type.is(x0.HSL)||i.data.r===void 0?cW.stringify(i):i.a<1||!Number.isInteger(i.r)||!Number.isInteger(i.g)||!Number.isInteger(i.b)?lW.stringify(i):VP.stringify(i)},QDt=(i,a)=>{const f=Qw.parse(i);for(const p in a)f[p]=Aa.channel.clamp[p](a[p]);return Qw.stringify(f)},IA=(i,a,f=0,p=1)=>{if(typeof i!="number")return QDt(i,{a});const v=aW.set({r:Aa.channel.clamp.r(i),g:Aa.channel.clamp.g(a),b:Aa.channel.clamp.b(f),a:Aa.channel.clamp.a(p)});return Qw.stringify(v)},IEe=(i,a)=>Aa.lang.round(Qw.parse(i)[a]),OEe=i=>{const{r:a,g:f,b:p}=Qw.parse(i),v=.2126*Aa.channel.toLinear(a)+.7152*Aa.channel.toLinear(f)+.0722*Aa.channel.toLinear(p);return Aa.lang.round(v)},PEe=i=>OEe(i)>=.5,J9=i=>!PEe(i),ZDt=(i,a,f)=>{const p=Qw.parse(i),v=p[a],m=Aa.channel.clamp[a](v+f);return v!==m&&(p[a]=m),Qw.stringify(p)},Is=(i,a)=>ZDt(i,"l",a),ta=(i,a)=>ZDt(i,"l",-a),mn=(i,a)=>{const f=Qw.parse(i),p={};for(const v in a)a[v]&&(p[v]=f[v]+a[v]);return QDt(i,p)},NEe=(i,a,f=50)=>{const{r:p,g:v,b:m,a:b}=Qw.parse(i),{r:E,g:C,b:A,a:N}=Qw.parse(a),F=f/100,j=F*2-1,R=b-N,Y=((j*R===-1?j:(j+R)/(1+j*R))+1)/2,rt=1-Y,J=p*Y+E*rt,it=v*Y+C*rt,ht=m*Y+A*rt,Tt=b*F+N*(1-F);return IA(J,it,ht,Tt)},qi=(i,a=100)=>{const f=Qw.parse(i);return f.r=255-f.r,f.g=255-f.g,f.b=255-f.b,NEe(f,i,a)},ug=(i,a)=>a?mn(i,{s:-40,l:10}):mn(i,{s:-40,l:-10}),hW="#ffffff",fW="#f2f2f2";let FEe=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||mn(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||mn(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ug(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ug(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ug(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ug(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||qi(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||qi(this.tertiaryColor),this.lineColor=this.lineColor||qi(this.background),this.arrowheadColor=this.arrowheadColor||qi(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?ta(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||ta(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||qi(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||Is(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||mn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||mn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||mn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||mn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||mn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||mn(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||mn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||mn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||mn(this.primaryColor,{h:330}),this.darkMode)for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=ta(this["cScale"+f],75);else for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=ta(this["cScale"+f],25);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||qi(this["cScale"+f]);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this.darkMode?this["cScalePeer"+f]=this["cScalePeer"+f]||Is(this["cScale"+f],10):this["cScalePeer"+f]=this["cScalePeer"+f]||ta(this["cScale"+f],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;const a=this.darkMode?-4:-1;for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||mn(this.mainBkg,{h:180,s:-15,l:a*(5+f*3)}),this["surfacePeer"+f]=this["surfacePeer"+f]||mn(this.mainBkg,{h:180,s:-15,l:a*(8+f*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||mn(this.primaryColor,{h:64}),this.fillType3=this.fillType3||mn(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||mn(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||mn(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||mn(this.primaryColor,{h:128}),this.fillType7=this.fillType7||mn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||mn(this.primaryColor,{l:-10}),this.pie5=this.pie5||mn(this.secondaryColor,{l:-10}),this.pie6=this.pie6||mn(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||mn(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||mn(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||mn(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||mn(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||mn(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||mn(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||mn(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||mn(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||mn(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||mn(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||mn(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||mn(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||J9(this.quadrant1Fill)?Is(this.quadrant1Fill):ta(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?ta(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||mn(this.primaryColor,{h:-30}),this.git4=this.git4||mn(this.primaryColor,{h:-60}),this.git5=this.git5||mn(this.primaryColor,{h:-90}),this.git6=this.git6||mn(this.primaryColor,{h:60}),this.git7=this.git7||mn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Is(this.git0,25),this.git1=Is(this.git1,25),this.git2=Is(this.git2,25),this.git3=Is(this.git3,25),this.git4=Is(this.git4,25),this.git5=Is(this.git5,25),this.git6=Is(this.git6,25),this.git7=Is(this.git7,25)):(this.git0=ta(this.git0,25),this.git1=ta(this.git1,25),this.git2=ta(this.git2,25),this.git3=ta(this.git3,25),this.git4=ta(this.git4,25),this.git5=ta(this.git5,25),this.git6=ta(this.git6,25),this.git7=ta(this.git7,25)),this.gitInv0=this.gitInv0||qi(this.git0),this.gitInv1=this.gitInv1||qi(this.git1),this.gitInv2=this.gitInv2||qi(this.git2),this.gitInv3=this.gitInv3||qi(this.git3),this.gitInv4=this.gitInv4||qi(this.git4),this.gitInv5=this.gitInv5||qi(this.git5),this.gitInv6=this.gitInv6||qi(this.git6),this.gitInv7=this.gitInv7||qi(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||hW,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||fW}calculate(a){if(typeof a!="object"){this.updateColors();return}const f=Object.keys(a);f.forEach(p=>{this[p]=a[p]}),this.updateColors(),f.forEach(p=>{this[p]=a[p]})}};const BEe=i=>{const a=new FEe;return a.calculate(i),a};let REe=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Is(this.primaryColor,16),this.tertiaryColor=mn(this.primaryColor,{h:-160}),this.primaryBorderColor=qi(this.background),this.secondaryBorderColor=ug(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ug(this.tertiaryColor,this.darkMode),this.primaryTextColor=qi(this.primaryColor),this.secondaryTextColor=qi(this.secondaryColor),this.tertiaryTextColor=qi(this.tertiaryColor),this.lineColor=qi(this.background),this.textColor=qi(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Is(qi("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=IA(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=ta("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=ta(this.sectionBkgColor,10),this.taskBorderColor=IA(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=IA(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=Is(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=Is(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=Is(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=mn(this.primaryColor,{h:64}),this.fillType3=mn(this.secondaryColor,{h:64}),this.fillType4=mn(this.primaryColor,{h:-64}),this.fillType5=mn(this.secondaryColor,{h:-64}),this.fillType6=mn(this.primaryColor,{h:128}),this.fillType7=mn(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||mn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||mn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||mn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||mn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||mn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||mn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||mn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||mn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||mn(this.primaryColor,{h:330});for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||qi(this["cScale"+a]);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScalePeer"+a]=this["cScalePeer"+a]||Is(this["cScale"+a],10);for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||mn(this.mainBkg,{h:30,s:-30,l:-(-10+a*4)}),this["surfacePeer"+a]=this["surfacePeer"+a]||mn(this.mainBkg,{h:30,s:-30,l:-(-7+a*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["pie"+a]=this["cScale"+a];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||mn(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||mn(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||mn(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||mn(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||mn(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||mn(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||J9(this.quadrant1Fill)?Is(this.quadrant1Fill):ta(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?ta(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Is(this.secondaryColor,20),this.git1=Is(this.pie2||this.secondaryColor,20),this.git2=Is(this.pie3||this.tertiaryColor,20),this.git3=Is(this.pie4||mn(this.primaryColor,{h:-30}),20),this.git4=Is(this.pie5||mn(this.primaryColor,{h:-60}),20),this.git5=Is(this.pie6||mn(this.primaryColor,{h:-90}),10),this.git6=Is(this.pie7||mn(this.primaryColor,{h:60}),10),this.git7=Is(this.pie8||mn(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||qi(this.git0),this.gitInv1=this.gitInv1||qi(this.git1),this.gitInv2=this.gitInv2||qi(this.git2),this.gitInv3=this.gitInv3||qi(this.git3),this.gitInv4=this.gitInv4||qi(this.git4),this.gitInv5=this.gitInv5||qi(this.git5),this.gitInv6=this.gitInv6||qi(this.git6),this.gitInv7=this.gitInv7||qi(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||qi(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||qi(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Is(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Is(this.background,2)}calculate(a){if(typeof a!="object"){this.updateColors();return}const f=Object.keys(a);f.forEach(p=>{this[p]=a[p]}),this.updateColors(),f.forEach(p=>{this[p]=a[p]})}};const jEe=i=>{const a=new REe;return a.calculate(i),a};let $Ee=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=mn(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=mn(this.primaryColor,{h:-160}),this.primaryBorderColor=ug(this.primaryColor,this.darkMode),this.secondaryBorderColor=ug(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ug(this.tertiaryColor,this.darkMode),this.primaryTextColor=qi(this.primaryColor),this.secondaryTextColor=qi(this.secondaryColor),this.tertiaryTextColor=qi(this.tertiaryColor),this.lineColor=qi(this.background),this.textColor=qi(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=IA(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||mn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||mn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||mn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||mn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||mn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||mn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||mn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||mn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||mn(this.primaryColor,{h:330}),this["cScalePeer1"]=this["cScalePeer1"]||ta(this.secondaryColor,45),this["cScalePeer2"]=this["cScalePeer2"]||ta(this.tertiaryColor,40);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=ta(this["cScale"+a],10),this["cScalePeer"+a]=this["cScalePeer"+a]||ta(this["cScale"+a],25);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||mn(this["cScale"+a],{h:180});for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||mn(this.mainBkg,{h:30,l:-(5+a*5)}),this["surfacePeer"+a]=this["surfacePeer"+a]||mn(this.mainBkg,{h:30,l:-(7+a*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||qi(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||qi(this.labelTextColor);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=Is(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=mn(this.primaryColor,{h:64}),this.fillType3=mn(this.secondaryColor,{h:64}),this.fillType4=mn(this.primaryColor,{h:-64}),this.fillType5=mn(this.secondaryColor,{h:-64}),this.fillType6=mn(this.primaryColor,{h:128}),this.fillType7=mn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||mn(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||mn(this.primaryColor,{l:-10}),this.pie5=this.pie5||mn(this.secondaryColor,{l:-30}),this.pie6=this.pie6||mn(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||mn(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||mn(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||mn(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||mn(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||mn(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||mn(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||mn(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||mn(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||mn(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||mn(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||mn(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||mn(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||J9(this.quadrant1Fill)?Is(this.quadrant1Fill):ta(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||mn(this.primaryColor,{h:-30}),this.git4=this.git4||mn(this.primaryColor,{h:-60}),this.git5=this.git5||mn(this.primaryColor,{h:-90}),this.git6=this.git6||mn(this.primaryColor,{h:60}),this.git7=this.git7||mn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Is(this.git0,25),this.git1=Is(this.git1,25),this.git2=Is(this.git2,25),this.git3=Is(this.git3,25),this.git4=Is(this.git4,25),this.git5=Is(this.git5,25),this.git6=Is(this.git6,25),this.git7=Is(this.git7,25)):(this.git0=ta(this.git0,25),this.git1=ta(this.git1,25),this.git2=ta(this.git2,25),this.git3=ta(this.git3,25),this.git4=ta(this.git4,25),this.git5=ta(this.git5,25),this.git6=ta(this.git6,25),this.git7=ta(this.git7,25)),this.gitInv0=this.gitInv0||ta(qi(this.git0),25),this.gitInv1=this.gitInv1||qi(this.git1),this.gitInv2=this.gitInv2||qi(this.git2),this.gitInv3=this.gitInv3||qi(this.git3),this.gitInv4=this.gitInv4||qi(this.git4),this.gitInv5=this.gitInv5||qi(this.git5),this.gitInv6=this.gitInv6||qi(this.git6),this.gitInv7=this.gitInv7||qi(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||qi(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||qi(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||hW,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||fW}calculate(a){if(typeof a!="object"){this.updateColors();return}const f=Object.keys(a);f.forEach(p=>{this[p]=a[p]}),this.updateColors(),f.forEach(p=>{this[p]=a[p]})}};const JDt=i=>{const a=new $Ee;return a.calculate(i),a};let zEe=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=Is("#cde498",10),this.primaryBorderColor=ug(this.primaryColor,this.darkMode),this.secondaryBorderColor=ug(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ug(this.tertiaryColor,this.darkMode),this.primaryTextColor=qi(this.primaryColor),this.secondaryTextColor=qi(this.secondaryColor),this.tertiaryTextColor=qi(this.primaryColor),this.lineColor=qi(this.background),this.textColor=qi(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=ta(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||mn(this.primaryColor,{h:30}),this.cScale4=this.cScale4||mn(this.primaryColor,{h:60}),this.cScale5=this.cScale5||mn(this.primaryColor,{h:90}),this.cScale6=this.cScale6||mn(this.primaryColor,{h:120}),this.cScale7=this.cScale7||mn(this.primaryColor,{h:150}),this.cScale8=this.cScale8||mn(this.primaryColor,{h:210}),this.cScale9=this.cScale9||mn(this.primaryColor,{h:270}),this.cScale10=this.cScale10||mn(this.primaryColor,{h:300}),this.cScale11=this.cScale11||mn(this.primaryColor,{h:330}),this["cScalePeer1"]=this["cScalePeer1"]||ta(this.secondaryColor,45),this["cScalePeer2"]=this["cScalePeer2"]||ta(this.tertiaryColor,40);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=ta(this["cScale"+a],10),this["cScalePeer"+a]=this["cScalePeer"+a]||ta(this["cScale"+a],25);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||mn(this["cScale"+a],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||mn(this.mainBkg,{h:30,s:-30,l:-(5+a*5)}),this["surfacePeer"+a]=this["surfacePeer"+a]||mn(this.mainBkg,{h:30,s:-30,l:-(8+a*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=mn(this.primaryColor,{h:64}),this.fillType3=mn(this.secondaryColor,{h:64}),this.fillType4=mn(this.primaryColor,{h:-64}),this.fillType5=mn(this.secondaryColor,{h:-64}),this.fillType6=mn(this.primaryColor,{h:128}),this.fillType7=mn(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||mn(this.primaryColor,{l:-30}),this.pie5=this.pie5||mn(this.secondaryColor,{l:-30}),this.pie6=this.pie6||mn(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||mn(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||mn(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||mn(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||mn(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||mn(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||mn(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||mn(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||mn(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||mn(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||mn(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||mn(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||mn(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||J9(this.quadrant1Fill)?Is(this.quadrant1Fill):ta(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||mn(this.primaryColor,{h:-30}),this.git4=this.git4||mn(this.primaryColor,{h:-60}),this.git5=this.git5||mn(this.primaryColor,{h:-90}),this.git6=this.git6||mn(this.primaryColor,{h:60}),this.git7=this.git7||mn(this.primaryColor,{h:120}),this.darkMode?(this.git0=Is(this.git0,25),this.git1=Is(this.git1,25),this.git2=Is(this.git2,25),this.git3=Is(this.git3,25),this.git4=Is(this.git4,25),this.git5=Is(this.git5,25),this.git6=Is(this.git6,25),this.git7=Is(this.git7,25)):(this.git0=ta(this.git0,25),this.git1=ta(this.git1,25),this.git2=ta(this.git2,25),this.git3=ta(this.git3,25),this.git4=ta(this.git4,25),this.git5=ta(this.git5,25),this.git6=ta(this.git6,25),this.git7=ta(this.git7,25)),this.gitInv0=this.gitInv0||qi(this.git0),this.gitInv1=this.gitInv1||qi(this.git1),this.gitInv2=this.gitInv2||qi(this.git2),this.gitInv3=this.gitInv3||qi(this.git3),this.gitInv4=this.gitInv4||qi(this.git4),this.gitInv5=this.gitInv5||qi(this.git5),this.gitInv6=this.gitInv6||qi(this.git6),this.gitInv7=this.gitInv7||qi(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||qi(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||qi(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||hW,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||fW}calculate(a){if(typeof a!="object"){this.updateColors();return}const f=Object.keys(a);f.forEach(p=>{this[p]=a[p]}),this.updateColors(),f.forEach(p=>{this[p]=a[p]})}};const qEe=i=>{const a=new zEe;return a.calculate(i),a};class HEe{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Is(this.contrast,55),this.background="#ffffff",this.tertiaryColor=mn(this.primaryColor,{h:-160}),this.primaryBorderColor=ug(this.primaryColor,this.darkMode),this.secondaryBorderColor=ug(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ug(this.tertiaryColor,this.darkMode),this.primaryTextColor=qi(this.primaryColor),this.secondaryTextColor=qi(this.secondaryColor),this.tertiaryTextColor=qi(this.tertiaryColor),this.lineColor=qi(this.background),this.textColor=qi(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=Is(this.contrast,55),this.border2=this.contrast,this.actorBorder=Is(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 a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||qi(this["cScale"+a]);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this.darkMode?this["cScalePeer"+a]=this["cScalePeer"+a]||Is(this["cScale"+a],10):this["cScalePeer"+a]=this["cScalePeer"+a]||ta(this["cScale"+a],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||mn(this.mainBkg,{l:-(5+a*5)}),this["surfacePeer"+a]=this["surfacePeer"+a]||mn(this.mainBkg,{l:-(8+a*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=Is(this.contrast,30),this.sectionBkgColor2=Is(this.contrast,30),this.taskBorderColor=ta(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=Is(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=ta(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=mn(this.primaryColor,{h:64}),this.fillType3=mn(this.secondaryColor,{h:64}),this.fillType4=mn(this.primaryColor,{h:-64}),this.fillType5=mn(this.secondaryColor,{h:-64}),this.fillType6=mn(this.primaryColor,{h:128}),this.fillType7=mn(this.secondaryColor,{h:128});for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["pie"+a]=this["cScale"+a];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||mn(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||mn(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||mn(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||mn(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||mn(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||mn(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||J9(this.quadrant1Fill)?Is(this.quadrant1Fill):ta(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ta(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||mn(this.primaryColor,{h:-30}),this.git4=this.pie5||mn(this.primaryColor,{h:-60}),this.git5=this.pie6||mn(this.primaryColor,{h:-90}),this.git6=this.pie7||mn(this.primaryColor,{h:60}),this.git7=this.pie8||mn(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||qi(this.git0),this.gitInv1=this.gitInv1||qi(this.git1),this.gitInv2=this.gitInv2||qi(this.git2),this.gitInv3=this.gitInv3||qi(this.git3),this.gitInv4=this.gitInv4||qi(this.git4),this.gitInv5=this.gitInv5||qi(this.git5),this.gitInv6=this.gitInv6||qi(this.git6),this.gitInv7=this.gitInv7||qi(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||hW,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||fW}calculate(a){if(typeof a!="object"){this.updateColors();return}const f=Object.keys(a);f.forEach(p=>{this[p]=a[p]}),this.updateColors(),f.forEach(p=>{this[p]=a[p]})}}const m5={base:{getThemeVariables:BEe},dark:{getThemeVariables:jEe},default:{getThemeVariables:JDt},forest:{getThemeVariables:qEe},neutral:{getThemeVariables:i=>{const a=new HEe;return a.calculate(i),a}}},ek={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify"},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},tIt={...ek,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:m5.default.getThemeVariables(),sequence:{...ek.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:{...ek.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ek.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:{...ek.pie,useWidth:void 0},requirement:{...ek.requirement,useWidth:void 0},gitGraph:{...ek.gitGraph,useMaxWidth:!1},sankey:{...ek.sankey,useMaxWidth:!1}},eIt=(i,a="")=>Object.keys(i).reduce((f,p)=>Array.isArray(i[p])?f:typeof i[p]=="object"&&i[p]!==null?[...f,a+p,...eIt(i[p],"")]:[...f,a+p],[]),VEe=eIt(tIt,""),h1=tIt;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function nIt(i){return typeof i>"u"||i===null}function GEe(i){return typeof i=="object"&&i!==null}function UEe(i){return Array.isArray(i)?i:nIt(i)?[]:[i]}function WEe(i,a){var f,p,v,m;if(a)for(m=Object.keys(a),f=0,p=m.length;f<p;f+=1)v=m[f],i[v]=a[v];return i}function KEe(i,a){var f="",p;for(p=0;p<a;p+=1)f+=i;return f}function YEe(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}var XEe=nIt,QEe=GEe,ZEe=UEe,JEe=KEe,tTe=YEe,eTe=WEe,lg={isNothing:XEe,isObject:QEe,toArray:ZEe,repeat:JEe,isNegativeZero:tTe,extend:eTe};function rIt(i,a){var f="",p=i.reason||"(unknown reason)";return i.mark?(i.mark.name&&(f+='in "'+i.mark.name+'" '),f+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")",!a&&i.mark.snippet&&(f+=`
+
+`+i.mark.snippet),p+" "+f):p}function GP(i,a){Error.call(this),this.name="YAMLException",this.reason=i,this.mark=a,this.message=rIt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}GP.prototype=Object.create(Error.prototype),GP.prototype.constructor=GP,GP.prototype.toString=function(a){return this.name+": "+rIt(this,a)};var y5=GP;function V1t(i,a,f,p,v){var m="",b="",E=Math.floor(v/2)-1;return p-a>E&&(m=" ... ",a=p-E+m.length),f-p>E&&(b=" ...",f=p+E-b.length),{str:m+i.slice(a,f).replace(/\t/g,"→")+b,pos:p-a+m.length}}function G1t(i,a){return lg.repeat(" ",a-i.length)+i}function nTe(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 f=/\r?\n|\r|\0/g,p=[0],v=[],m,b=-1;m=f.exec(i.buffer);)v.push(m.index),p.push(m.index+m[0].length),i.position<=m.index&&b<0&&(b=p.length-2);b<0&&(b=p.length-1);var E="",C,A,N=Math.min(i.line+a.linesAfter,v.length).toString().length,F=a.maxLength-(a.indent+N+3);for(C=1;C<=a.linesBefore&&!(b-C<0);C++)A=V1t(i.buffer,p[b-C],v[b-C],i.position-(p[b]-p[b-C]),F),E=lg.repeat(" ",a.indent)+G1t((i.line-C+1).toString(),N)+" | "+A.str+`
+`+E;for(A=V1t(i.buffer,p[b],v[b],i.position,F),E+=lg.repeat(" ",a.indent)+G1t((i.line+1).toString(),N)+" | "+A.str+`
+`,E+=lg.repeat("-",a.indent+N+3+A.pos)+`^
+`,C=1;C<=a.linesAfter&&!(b+C>=v.length);C++)A=V1t(i.buffer,p[b+C],v[b+C],i.position-(p[b]-p[b+C]),F),E+=lg.repeat(" ",a.indent)+G1t((i.line+C+1).toString(),N)+" | "+A.str+`
+`;return E.replace(/\n$/,"")}var rTe=nTe,iTe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],sTe=["scalar","sequence","mapping"];function aTe(i){var a={};return i!==null&&Object.keys(i).forEach(function(f){i[f].forEach(function(p){a[String(p)]=f})}),a}function oTe(i,a){if(a=a||{},Object.keys(a).forEach(function(f){if(iTe.indexOf(f)===-1)throw new y5('Unknown option "'+f+'" 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(f){return f},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=aTe(a.styleAliases||null),sTe.indexOf(this.kind)===-1)throw new y5('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}var k0=oTe;function iIt(i,a){var f=[];return i[a].forEach(function(p){var v=f.length;f.forEach(function(m,b){m.tag===p.tag&&m.kind===p.kind&&m.multi===p.multi&&(v=b)}),f[v]=p}),f}function cTe(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,f;function p(v){v.multi?(i.multi[v.kind].push(v),i.multi.fallback.push(v)):i[v.kind][v.tag]=i.fallback[v.tag]=v}for(a=0,f=arguments.length;a<f;a+=1)arguments[a].forEach(p);return i}function U1t(i){return this.extend(i)}U1t.prototype.extend=function(a){var f=[],p=[];if(a instanceof k0)p.push(a);else if(Array.isArray(a))p=p.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(f=f.concat(a.implicit)),a.explicit&&(p=p.concat(a.explicit));else throw new y5("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.forEach(function(m){if(!(m instanceof k0))throw new y5("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(m.loadKind&&m.loadKind!=="scalar")throw new y5("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(m.multi)throw new y5("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),p.forEach(function(m){if(!(m instanceof k0))throw new y5("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var v=Object.create(U1t.prototype);return v.implicit=(this.implicit||[]).concat(f),v.explicit=(this.explicit||[]).concat(p),v.compiledImplicit=iIt(v,"implicit"),v.compiledExplicit=iIt(v,"explicit"),v.compiledTypeMap=cTe(v.compiledImplicit,v.compiledExplicit),v};var uTe=U1t,lTe=new k0("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}}),hTe=new k0("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}}),fTe=new k0("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}}),sIt=new uTe({explicit:[lTe,hTe,fTe]});function dTe(i){if(i===null)return!0;var a=i.length;return a===1&&i==="~"||a===4&&(i==="null"||i==="Null"||i==="NULL")}function gTe(){return null}function pTe(i){return i===null}var bTe=new k0("tag:yaml.org,2002:null",{kind:"scalar",resolve:dTe,construct:gTe,predicate:pTe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function vTe(i){if(i===null)return!1;var a=i.length;return a===4&&(i==="true"||i==="True"||i==="TRUE")||a===5&&(i==="false"||i==="False"||i==="FALSE")}function wTe(i){return i==="true"||i==="True"||i==="TRUE"}function mTe(i){return Object.prototype.toString.call(i)==="[object Boolean]"}var yTe=new k0("tag:yaml.org,2002:bool",{kind:"scalar",resolve:vTe,construct:wTe,predicate:mTe,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"});function xTe(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function kTe(i){return 48<=i&&i<=55}function ETe(i){return 48<=i&&i<=57}function TTe(i){if(i===null)return!1;var a=i.length,f=0,p=!1,v;if(!a)return!1;if(v=i[f],(v==="-"||v==="+")&&(v=i[++f]),v==="0"){if(f+1===a)return!0;if(v=i[++f],v==="b"){for(f++;f<a;f++)if(v=i[f],v!=="_"){if(v!=="0"&&v!=="1")return!1;p=!0}return p&&v!=="_"}if(v==="x"){for(f++;f<a;f++)if(v=i[f],v!=="_"){if(!xTe(i.charCodeAt(f)))return!1;p=!0}return p&&v!=="_"}if(v==="o"){for(f++;f<a;f++)if(v=i[f],v!=="_"){if(!kTe(i.charCodeAt(f)))return!1;p=!0}return p&&v!=="_"}}if(v==="_")return!1;for(;f<a;f++)if(v=i[f],v!=="_"){if(!ETe(i.charCodeAt(f)))return!1;p=!0}return!(!p||v==="_")}function _Te(i){var a=i,f=1,p;if(a.indexOf("_")!==-1&&(a=a.replace(/_/g,"")),p=a[0],(p==="-"||p==="+")&&(p==="-"&&(f=-1),a=a.slice(1),p=a[0]),a==="0")return 0;if(p==="0"){if(a[1]==="b")return f*parseInt(a.slice(2),2);if(a[1]==="x")return f*parseInt(a.slice(2),16);if(a[1]==="o")return f*parseInt(a.slice(2),8)}return f*parseInt(a,10)}function CTe(i){return Object.prototype.toString.call(i)==="[object Number]"&&i%1===0&&!lg.isNegativeZero(i)}var STe=new k0("tag:yaml.org,2002:int",{kind:"scalar",resolve:TTe,construct:_Te,predicate:CTe,represent:{binary:function(i){return i>=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"]}}),ATe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function LTe(i){return!(i===null||!ATe.test(i)||i[i.length-1]==="_")}function MTe(i){var a,f;return a=i.replace(/_/g,"").toLowerCase(),f=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:f*parseFloat(a,10)}var DTe=/^[-+]?[0-9]+e/;function ITe(i,a){var f;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(lg.isNegativeZero(i))return"-0.0";return f=i.toString(10),DTe.test(f)?f.replace("e",".e"):f}function OTe(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||lg.isNegativeZero(i))}var PTe=new k0("tag:yaml.org,2002:float",{kind:"scalar",resolve:LTe,construct:MTe,predicate:OTe,represent:ITe,defaultStyle:"lowercase"}),NTe=sIt.extend({implicit:[bTe,yTe,STe,PTe]}),FTe=NTe,aIt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),oIt=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 BTe(i){return i===null?!1:aIt.exec(i)!==null||oIt.exec(i)!==null}function RTe(i){var a,f,p,v,m,b,E,C=0,A=null,N,F,j;if(a=aIt.exec(i),a===null&&(a=oIt.exec(i)),a===null)throw new Error("Date resolve error");if(f=+a[1],p=+a[2]-1,v=+a[3],!a[4])return new Date(Date.UTC(f,p,v));if(m=+a[4],b=+a[5],E=+a[6],a[7]){for(C=a[7].slice(0,3);C.length<3;)C+="0";C=+C}return a[9]&&(N=+a[10],F=+(a[11]||0),A=(N*60+F)*6e4,a[9]==="-"&&(A=-A)),j=new Date(Date.UTC(f,p,v,m,b,E,C)),A&&j.setTime(j.getTime()-A),j}function jTe(i){return i.toISOString()}var $Te=new k0("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:BTe,construct:RTe,instanceOf:Date,represent:jTe});function zTe(i){return i==="<<"||i===null}var qTe=new k0("tag:yaml.org,2002:merge",{kind:"scalar",resolve:zTe}),W1t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
+\r`;function HTe(i){if(i===null)return!1;var a,f,p=0,v=i.length,m=W1t;for(f=0;f<v;f++)if(a=m.indexOf(i.charAt(f)),!(a>64)){if(a<0)return!1;p+=6}return p%8===0}function VTe(i){var a,f,p=i.replace(/[\r\n=]/g,""),v=p.length,m=W1t,b=0,E=[];for(a=0;a<v;a++)a%4===0&&a&&(E.push(b>>16&255),E.push(b>>8&255),E.push(b&255)),b=b<<6|m.indexOf(p.charAt(a));return f=v%4*6,f===0?(E.push(b>>16&255),E.push(b>>8&255),E.push(b&255)):f===18?(E.push(b>>10&255),E.push(b>>2&255)):f===12&&E.push(b>>4&255),new Uint8Array(E)}function GTe(i){var a="",f=0,p,v,m=i.length,b=W1t;for(p=0;p<m;p++)p%3===0&&p&&(a+=b[f>>18&63],a+=b[f>>12&63],a+=b[f>>6&63],a+=b[f&63]),f=(f<<8)+i[p];return v=m%3,v===0?(a+=b[f>>18&63],a+=b[f>>12&63],a+=b[f>>6&63],a+=b[f&63]):v===2?(a+=b[f>>10&63],a+=b[f>>4&63],a+=b[f<<2&63],a+=b[64]):v===1&&(a+=b[f>>2&63],a+=b[f<<4&63],a+=b[64],a+=b[64]),a}function UTe(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}var WTe=new k0("tag:yaml.org,2002:binary",{kind:"scalar",resolve:HTe,construct:VTe,predicate:UTe,represent:GTe}),KTe=Object.prototype.hasOwnProperty,YTe=Object.prototype.toString;function XTe(i){if(i===null)return!0;var a=[],f,p,v,m,b,E=i;for(f=0,p=E.length;f<p;f+=1){if(v=E[f],b=!1,YTe.call(v)!=="[object Object]")return!1;for(m in v)if(KTe.call(v,m))if(!b)b=!0;else return!1;if(!b)return!1;if(a.indexOf(m)===-1)a.push(m);else return!1}return!0}function QTe(i){return i!==null?i:[]}var ZTe=new k0("tag:yaml.org,2002:omap",{kind:"sequence",resolve:XTe,construct:QTe}),JTe=Object.prototype.toString;function t_e(i){if(i===null)return!0;var a,f,p,v,m,b=i;for(m=new Array(b.length),a=0,f=b.length;a<f;a+=1){if(p=b[a],JTe.call(p)!=="[object Object]"||(v=Object.keys(p),v.length!==1))return!1;m[a]=[v[0],p[v[0]]]}return!0}function e_e(i){if(i===null)return[];var a,f,p,v,m,b=i;for(m=new Array(b.length),a=0,f=b.length;a<f;a+=1)p=b[a],v=Object.keys(p),m[a]=[v[0],p[v[0]]];return m}var n_e=new k0("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:t_e,construct:e_e}),r_e=Object.prototype.hasOwnProperty;function i_e(i){if(i===null)return!0;var a,f=i;for(a in f)if(r_e.call(f,a)&&f[a]!==null)return!1;return!0}function s_e(i){return i!==null?i:{}}var a_e=new k0("tag:yaml.org,2002:set",{kind:"mapping",resolve:i_e,construct:s_e}),o_e=FTe.extend({implicit:[$Te,qTe],explicit:[WTe,ZTe,n_e,a_e]}),nk=Object.prototype.hasOwnProperty,dW=1,cIt=2,uIt=3,gW=4,K1t=1,c_e=2,lIt=3,u_e=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,l_e=/[\x85\u2028\u2029]/,h_e=/[,\[\]\{\}]/,hIt=/^(?:!|!!|![a-z\-]+!)$/i,fIt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function dIt(i){return Object.prototype.toString.call(i)}function l3(i){return i===10||i===13}function tE(i){return i===9||i===32}function lp(i){return i===9||i===32||i===10||i===13}function OA(i){return i===44||i===91||i===93||i===123||i===125}function f_e(i){var a;return 48<=i&&i<=57?i-48:(a=i|32,97<=a&&a<=102?a-97+10:-1)}function d_e(i){return i===120?2:i===117?4:i===85?8:0}function g_e(i){return 48<=i&&i<=57?i-48:-1}function gIt(i){return i===48?"\0":i===97?"\x07":i===98?"\b":i===116||i===9?" ":i===110?`
+`:i===118?"\v":i===102?"\f":i===114?"\r":i===101?"\x1B":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"…":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function p_e(i){return i<=65535?String.fromCharCode(i):String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}for(var pIt=new Array(256),bIt=new Array(256),PA=0;PA<256;PA++)pIt[PA]=gIt(PA)?1:0,bIt[PA]=gIt(PA);function b_e(i,a){this.input=i,this.filename=a.filename||null,this.schema=a.schema||o_e,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 vIt(i,a){var f={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};return f.snippet=rTe(f),new y5(a,f)}function $s(i,a){throw vIt(i,a)}function pW(i,a){i.onWarning&&i.onWarning.call(null,vIt(i,a))}var wIt={YAML:function(a,f,p){var v,m,b;a.version!==null&&$s(a,"duplication of %YAML directive"),p.length!==1&&$s(a,"YAML directive accepts exactly one argument"),v=/^([0-9]+)\.([0-9]+)$/.exec(p[0]),v===null&&$s(a,"ill-formed argument of the YAML directive"),m=parseInt(v[1],10),b=parseInt(v[2],10),m!==1&&$s(a,"unacceptable YAML version of the document"),a.version=p[0],a.checkLineBreaks=b<2,b!==1&&b!==2&&pW(a,"unsupported YAML version of the document")},TAG:function(a,f,p){var v,m;p.length!==2&&$s(a,"TAG directive accepts exactly two arguments"),v=p[0],m=p[1],hIt.test(v)||$s(a,"ill-formed tag handle (first argument) of the TAG directive"),nk.call(a.tagMap,v)&&$s(a,'there is a previously declared suffix for "'+v+'" tag handle'),fIt.test(m)||$s(a,"ill-formed tag prefix (second argument) of the TAG directive");try{m=decodeURIComponent(m)}catch{$s(a,"tag prefix is malformed: "+m)}a.tagMap[v]=m}};function rk(i,a,f,p){var v,m,b,E;if(a<f){if(E=i.input.slice(a,f),p)for(v=0,m=E.length;v<m;v+=1)b=E.charCodeAt(v),b===9||32<=b&&b<=1114111||$s(i,"expected valid JSON character");else u_e.test(E)&&$s(i,"the stream contains non-printable characters");i.result+=E}}function mIt(i,a,f,p){var v,m,b,E;for(lg.isObject(f)||$s(i,"cannot merge mappings; the provided source object is unacceptable"),v=Object.keys(f),b=0,E=v.length;b<E;b+=1)m=v[b],nk.call(a,m)||(a[m]=f[m],p[m]=!0)}function NA(i,a,f,p,v,m,b,E,C){var A,N;if(Array.isArray(v))for(v=Array.prototype.slice.call(v),A=0,N=v.length;A<N;A+=1)Array.isArray(v[A])&&$s(i,"nested arrays are not supported inside keys"),typeof v=="object"&&dIt(v[A])==="[object Object]"&&(v[A]="[object Object]");if(typeof v=="object"&&dIt(v)==="[object Object]"&&(v="[object Object]"),v=String(v),a===null&&(a={}),p==="tag:yaml.org,2002:merge")if(Array.isArray(m))for(A=0,N=m.length;A<N;A+=1)mIt(i,a,m[A],f);else mIt(i,a,m,f);else!i.json&&!nk.call(f,v)&&nk.call(a,v)&&(i.line=b||i.line,i.lineStart=E||i.lineStart,i.position=C||i.position,$s(i,"duplicated mapping key")),v==="__proto__"?Object.defineProperty(a,v,{configurable:!0,enumerable:!0,writable:!0,value:m}):a[v]=m,delete f[v];return a}function Y1t(i){var a;a=i.input.charCodeAt(i.position),a===10?i.position++:a===13?(i.position++,i.input.charCodeAt(i.position)===10&&i.position++):$s(i,"a line break is expected"),i.line+=1,i.lineStart=i.position,i.firstTabInLine=-1}function Ff(i,a,f){for(var p=0,v=i.input.charCodeAt(i.position);v!==0;){for(;tE(v);)v===9&&i.firstTabInLine===-1&&(i.firstTabInLine=i.position),v=i.input.charCodeAt(++i.position);if(a&&v===35)do v=i.input.charCodeAt(++i.position);while(v!==10&&v!==13&&v!==0);if(l3(v))for(Y1t(i),v=i.input.charCodeAt(i.position),p++,i.lineIndent=0;v===32;)i.lineIndent++,v=i.input.charCodeAt(++i.position);else break}return f!==-1&&p!==0&&i.lineIndent<f&&pW(i,"deficient indentation"),p}function bW(i){var a=i.position,f;return f=i.input.charCodeAt(a),!!((f===45||f===46)&&f===i.input.charCodeAt(a+1)&&f===i.input.charCodeAt(a+2)&&(a+=3,f=i.input.charCodeAt(a),f===0||lp(f)))}function X1t(i,a){a===1?i.result+=" ":a>1&&(i.result+=lg.repeat(`
+`,a-1))}function v_e(i,a,f){var p,v,m,b,E,C,A,N,F=i.kind,j=i.result,R;if(R=i.input.charCodeAt(i.position),lp(R)||OA(R)||R===35||R===38||R===42||R===33||R===124||R===62||R===39||R===34||R===37||R===64||R===96||(R===63||R===45)&&(v=i.input.charCodeAt(i.position+1),lp(v)||f&&OA(v)))return!1;for(i.kind="scalar",i.result="",m=b=i.position,E=!1;R!==0;){if(R===58){if(v=i.input.charCodeAt(i.position+1),lp(v)||f&&OA(v))break}else if(R===35){if(p=i.input.charCodeAt(i.position-1),lp(p))break}else{if(i.position===i.lineStart&&bW(i)||f&&OA(R))break;if(l3(R))if(C=i.line,A=i.lineStart,N=i.lineIndent,Ff(i,!1,-1),i.lineIndent>=a){E=!0,R=i.input.charCodeAt(i.position);continue}else{i.position=b,i.line=C,i.lineStart=A,i.lineIndent=N;break}}E&&(rk(i,m,b,!1),X1t(i,i.line-C),m=b=i.position,E=!1),tE(R)||(b=i.position+1),R=i.input.charCodeAt(++i.position)}return rk(i,m,b,!1),i.result?!0:(i.kind=F,i.result=j,!1)}function w_e(i,a){var f,p,v;if(f=i.input.charCodeAt(i.position),f!==39)return!1;for(i.kind="scalar",i.result="",i.position++,p=v=i.position;(f=i.input.charCodeAt(i.position))!==0;)if(f===39)if(rk(i,p,i.position,!0),f=i.input.charCodeAt(++i.position),f===39)p=i.position,i.position++,v=i.position;else return!0;else l3(f)?(rk(i,p,v,!0),X1t(i,Ff(i,!1,a)),p=v=i.position):i.position===i.lineStart&&bW(i)?$s(i,"unexpected end of the document within a single quoted scalar"):(i.position++,v=i.position);$s(i,"unexpected end of the stream within a single quoted scalar")}function m_e(i,a){var f,p,v,m,b,E;if(E=i.input.charCodeAt(i.position),E!==34)return!1;for(i.kind="scalar",i.result="",i.position++,f=p=i.position;(E=i.input.charCodeAt(i.position))!==0;){if(E===34)return rk(i,f,i.position,!0),i.position++,!0;if(E===92){if(rk(i,f,i.position,!0),E=i.input.charCodeAt(++i.position),l3(E))Ff(i,!1,a);else if(E<256&&pIt[E])i.result+=bIt[E],i.position++;else if((b=d_e(E))>0){for(v=b,m=0;v>0;v--)E=i.input.charCodeAt(++i.position),(b=f_e(E))>=0?m=(m<<4)+b:$s(i,"expected hexadecimal character");i.result+=p_e(m),i.position++}else $s(i,"unknown escape sequence");f=p=i.position}else l3(E)?(rk(i,f,p,!0),X1t(i,Ff(i,!1,a)),f=p=i.position):i.position===i.lineStart&&bW(i)?$s(i,"unexpected end of the document within a double quoted scalar"):(i.position++,p=i.position)}$s(i,"unexpected end of the stream within a double quoted scalar")}function y_e(i,a){var f=!0,p,v,m,b=i.tag,E,C=i.anchor,A,N,F,j,R,H=Object.create(null),Y,rt,J,it;if(it=i.input.charCodeAt(i.position),it===91)N=93,R=!1,E=[];else if(it===123)N=125,R=!0,E={};else return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=E),it=i.input.charCodeAt(++i.position);it!==0;){if(Ff(i,!0,a),it=i.input.charCodeAt(i.position),it===N)return i.position++,i.tag=b,i.anchor=C,i.kind=R?"mapping":"sequence",i.result=E,!0;f?it===44&&$s(i,"expected the node content, but found ','"):$s(i,"missed comma between flow collection entries"),rt=Y=J=null,F=j=!1,it===63&&(A=i.input.charCodeAt(i.position+1),lp(A)&&(F=j=!0,i.position++,Ff(i,!0,a))),p=i.line,v=i.lineStart,m=i.position,FA(i,a,dW,!1,!0),rt=i.tag,Y=i.result,Ff(i,!0,a),it=i.input.charCodeAt(i.position),(j||i.line===p)&&it===58&&(F=!0,it=i.input.charCodeAt(++i.position),Ff(i,!0,a),FA(i,a,dW,!1,!0),J=i.result),R?NA(i,E,H,rt,Y,J,p,v,m):F?E.push(NA(i,null,H,rt,Y,J,p,v,m)):E.push(Y),Ff(i,!0,a),it=i.input.charCodeAt(i.position),it===44?(f=!0,it=i.input.charCodeAt(++i.position)):f=!1}$s(i,"unexpected end of the stream within a flow collection")}function x_e(i,a){var f,p,v=K1t,m=!1,b=!1,E=a,C=0,A=!1,N,F;if(F=i.input.charCodeAt(i.position),F===124)p=!1;else if(F===62)p=!0;else return!1;for(i.kind="scalar",i.result="";F!==0;)if(F=i.input.charCodeAt(++i.position),F===43||F===45)K1t===v?v=F===43?lIt:c_e:$s(i,"repeat of a chomping mode identifier");else if((N=g_e(F))>=0)N===0?$s(i,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?$s(i,"repeat of an indentation width identifier"):(E=a+N-1,b=!0);else break;if(tE(F)){do F=i.input.charCodeAt(++i.position);while(tE(F));if(F===35)do F=i.input.charCodeAt(++i.position);while(!l3(F)&&F!==0)}for(;F!==0;){for(Y1t(i),i.lineIndent=0,F=i.input.charCodeAt(i.position);(!b||i.lineIndent<E)&&F===32;)i.lineIndent++,F=i.input.charCodeAt(++i.position);if(!b&&i.lineIndent>E&&(E=i.lineIndent),l3(F)){C++;continue}if(i.lineIndent<E){v===lIt?i.result+=lg.repeat(`
+`,m?1+C:C):v===K1t&&m&&(i.result+=`
+`);break}for(p?tE(F)?(A=!0,i.result+=lg.repeat(`
+`,m?1+C:C)):A?(A=!1,i.result+=lg.repeat(`
+`,C+1)):C===0?m&&(i.result+=" "):i.result+=lg.repeat(`
+`,C):i.result+=lg.repeat(`
+`,m?1+C:C),m=!0,b=!0,C=0,f=i.position;!l3(F)&&F!==0;)F=i.input.charCodeAt(++i.position);rk(i,f,i.position,!1)}return!0}function yIt(i,a){var f,p=i.tag,v=i.anchor,m=[],b,E=!1,C;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=m),C=i.input.charCodeAt(i.position);C!==0&&(i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,$s(i,"tab characters must not be used in indentation")),!(C!==45||(b=i.input.charCodeAt(i.position+1),!lp(b))));){if(E=!0,i.position++,Ff(i,!0,-1)&&i.lineIndent<=a){m.push(null),C=i.input.charCodeAt(i.position);continue}if(f=i.line,FA(i,a,uIt,!1,!0),m.push(i.result),Ff(i,!0,-1),C=i.input.charCodeAt(i.position),(i.line===f||i.lineIndent>a)&&C!==0)$s(i,"bad indentation of a sequence entry");else if(i.lineIndent<a)break}return E?(i.tag=p,i.anchor=v,i.kind="sequence",i.result=m,!0):!1}function k_e(i,a,f){var p,v,m,b,E,C,A=i.tag,N=i.anchor,F={},j=Object.create(null),R=null,H=null,Y=null,rt=!1,J=!1,it;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=F),it=i.input.charCodeAt(i.position);it!==0;){if(!rt&&i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,$s(i,"tab characters must not be used in indentation")),p=i.input.charCodeAt(i.position+1),m=i.line,(it===63||it===58)&&lp(p))it===63?(rt&&(NA(i,F,j,R,H,null,b,E,C),R=H=Y=null),J=!0,rt=!0,v=!0):rt?(rt=!1,v=!0):$s(i,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),i.position+=1,it=p;else{if(b=i.line,E=i.lineStart,C=i.position,!FA(i,f,cIt,!1,!0))break;if(i.line===m){for(it=i.input.charCodeAt(i.position);tE(it);)it=i.input.charCodeAt(++i.position);if(it===58)it=i.input.charCodeAt(++i.position),lp(it)||$s(i,"a whitespace character is expected after the key-value separator within a block mapping"),rt&&(NA(i,F,j,R,H,null,b,E,C),R=H=Y=null),J=!0,rt=!1,v=!1,R=i.tag,H=i.result;else if(J)$s(i,"can not read an implicit mapping pair; a colon is missed");else return i.tag=A,i.anchor=N,!0}else if(J)$s(i,"can not read a block mapping entry; a multiline key may not be an implicit key");else return i.tag=A,i.anchor=N,!0}if((i.line===m||i.lineIndent>a)&&(rt&&(b=i.line,E=i.lineStart,C=i.position),FA(i,a,gW,!0,v)&&(rt?H=i.result:Y=i.result),rt||(NA(i,F,j,R,H,Y,b,E,C),R=H=Y=null),Ff(i,!0,-1),it=i.input.charCodeAt(i.position)),(i.line===m||i.lineIndent>a)&&it!==0)$s(i,"bad indentation of a mapping entry");else if(i.lineIndent<a)break}return rt&&NA(i,F,j,R,H,null,b,E,C),J&&(i.tag=A,i.anchor=N,i.kind="mapping",i.result=F),J}function E_e(i){var a,f=!1,p=!1,v,m,b;if(b=i.input.charCodeAt(i.position),b!==33)return!1;if(i.tag!==null&&$s(i,"duplication of a tag property"),b=i.input.charCodeAt(++i.position),b===60?(f=!0,b=i.input.charCodeAt(++i.position)):b===33?(p=!0,v="!!",b=i.input.charCodeAt(++i.position)):v="!",a=i.position,f){do b=i.input.charCodeAt(++i.position);while(b!==0&&b!==62);i.position<i.length?(m=i.input.slice(a,i.position),b=i.input.charCodeAt(++i.position)):$s(i,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!lp(b);)b===33&&(p?$s(i,"tag suffix cannot contain exclamation marks"):(v=i.input.slice(a-1,i.position+1),hIt.test(v)||$s(i,"named tag handle cannot contain such characters"),p=!0,a=i.position+1)),b=i.input.charCodeAt(++i.position);m=i.input.slice(a,i.position),h_e.test(m)&&$s(i,"tag suffix cannot contain flow indicator characters")}m&&!fIt.test(m)&&$s(i,"tag name cannot contain such characters: "+m);try{m=decodeURIComponent(m)}catch{$s(i,"tag name is malformed: "+m)}return f?i.tag=m:nk.call(i.tagMap,v)?i.tag=i.tagMap[v]+m:v==="!"?i.tag="!"+m:v==="!!"?i.tag="tag:yaml.org,2002:"+m:$s(i,'undeclared tag handle "'+v+'"'),!0}function T_e(i){var a,f;if(f=i.input.charCodeAt(i.position),f!==38)return!1;for(i.anchor!==null&&$s(i,"duplication of an anchor property"),f=i.input.charCodeAt(++i.position),a=i.position;f!==0&&!lp(f)&&!OA(f);)f=i.input.charCodeAt(++i.position);return i.position===a&&$s(i,"name of an anchor node must contain at least one character"),i.anchor=i.input.slice(a,i.position),!0}function __e(i){var a,f,p;if(p=i.input.charCodeAt(i.position),p!==42)return!1;for(p=i.input.charCodeAt(++i.position),a=i.position;p!==0&&!lp(p)&&!OA(p);)p=i.input.charCodeAt(++i.position);return i.position===a&&$s(i,"name of an alias node must contain at least one character"),f=i.input.slice(a,i.position),nk.call(i.anchorMap,f)||$s(i,'unidentified alias "'+f+'"'),i.result=i.anchorMap[f],Ff(i,!0,-1),!0}function FA(i,a,f,p,v){var m,b,E,C=1,A=!1,N=!1,F,j,R,H,Y,rt;if(i.listener!==null&&i.listener("open",i),i.tag=null,i.anchor=null,i.kind=null,i.result=null,m=b=E=gW===f||uIt===f,p&&Ff(i,!0,-1)&&(A=!0,i.lineIndent>a?C=1:i.lineIndent===a?C=0:i.lineIndent<a&&(C=-1)),C===1)for(;E_e(i)||T_e(i);)Ff(i,!0,-1)?(A=!0,E=m,i.lineIndent>a?C=1:i.lineIndent===a?C=0:i.lineIndent<a&&(C=-1)):E=!1;if(E&&(E=A||v),(C===1||gW===f)&&(dW===f||cIt===f?Y=a:Y=a+1,rt=i.position-i.lineStart,C===1?E&&(yIt(i,rt)||k_e(i,rt,Y))||y_e(i,Y)?N=!0:(b&&x_e(i,Y)||w_e(i,Y)||m_e(i,Y)?N=!0:__e(i)?(N=!0,(i.tag!==null||i.anchor!==null)&&$s(i,"alias node should not have any properties")):v_e(i,Y,dW===f)&&(N=!0,i.tag===null&&(i.tag="?")),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):C===0&&(N=E&&yIt(i,rt))),i.tag===null)i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);else if(i.tag==="?"){for(i.result!==null&&i.kind!=="scalar"&&$s(i,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+i.kind+'"'),F=0,j=i.implicitTypes.length;F<j;F+=1)if(H=i.implicitTypes[F],H.resolve(i.result)){i.result=H.construct(i.result),i.tag=H.tag,i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);break}}else if(i.tag!=="!"){if(nk.call(i.typeMap[i.kind||"fallback"],i.tag))H=i.typeMap[i.kind||"fallback"][i.tag];else for(H=null,R=i.typeMap.multi[i.kind||"fallback"],F=0,j=R.length;F<j;F+=1)if(i.tag.slice(0,R[F].tag.length)===R[F].tag){H=R[F];break}H||$s(i,"unknown tag !<"+i.tag+">"),i.result!==null&&H.kind!==i.kind&&$s(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+H.kind+'", not "'+i.kind+'"'),H.resolve(i.result,i.tag)?(i.result=H.construct(i.result,i.tag),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):$s(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}return i.listener!==null&&i.listener("close",i),i.tag!==null||i.anchor!==null||N}function C_e(i){var a=i.position,f,p,v,m=!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&&(Ff(i,!0,-1),b=i.input.charCodeAt(i.position),!(i.lineIndent>0||b!==37));){for(m=!0,b=i.input.charCodeAt(++i.position),f=i.position;b!==0&&!lp(b);)b=i.input.charCodeAt(++i.position);for(p=i.input.slice(f,i.position),v=[],p.length<1&&$s(i,"directive name must not be less than one character in length");b!==0;){for(;tE(b);)b=i.input.charCodeAt(++i.position);if(b===35){do b=i.input.charCodeAt(++i.position);while(b!==0&&!l3(b));break}if(l3(b))break;for(f=i.position;b!==0&&!lp(b);)b=i.input.charCodeAt(++i.position);v.push(i.input.slice(f,i.position))}b!==0&&Y1t(i),nk.call(wIt,p)?wIt[p](i,p,v):pW(i,'unknown document directive "'+p+'"')}if(Ff(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,Ff(i,!0,-1)):m&&$s(i,"directives end mark is expected"),FA(i,i.lineIndent-1,gW,!1,!0),Ff(i,!0,-1),i.checkLineBreaks&&l_e.test(i.input.slice(a,i.position))&&pW(i,"non-ASCII line breaks are interpreted as content"),i.documents.push(i.result),i.position===i.lineStart&&bW(i)){i.input.charCodeAt(i.position)===46&&(i.position+=3,Ff(i,!0,-1));return}if(i.position<i.length-1)$s(i,"end of the stream or a document separator is expected");else return}function xIt(i,a){i=String(i),a=a||{},i.length!==0&&(i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`
+`),i.charCodeAt(0)===65279&&(i=i.slice(1)));var f=new b_e(i,a),p=i.indexOf("\0");for(p!==-1&&(f.position=p,$s(f,"null byte is not allowed in input")),f.input+="\0";f.input.charCodeAt(f.position)===32;)f.lineIndent+=1,f.position+=1;for(;f.position<f.length-1;)C_e(f);return f.documents}function S_e(i,a,f){a!==null&&typeof a=="object"&&typeof f>"u"&&(f=a,a=null);var p=xIt(i,f);if(typeof a!="function")return p;for(var v=0,m=p.length;v<m;v+=1)a(p[v])}function A_e(i,a){var f=xIt(i,a);if(f.length!==0){if(f.length===1)return f[0];throw new y5("expected a single document in the stream, but found more")}}var L_e=S_e,M_e=A_e,D_e={loadAll:L_e,load:M_e},I_e=sIt,O_e=D_e.load;const kIt=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function P_e(i,a){var p,v;const f=i.match(kIt);if(f){const m=O_e(f[1],{schema:I_e});return m!=null&&m.title&&((p=a.setDiagramTitle)==null||p.call(a,m.title)),m!=null&&m.displayMode&&((v=a.setDisplayMode)==null||v.call(a,m.displayMode)),i.slice(f[0].length)}else return i}const Q1t=function(i,a,f){const{depth:p,clobber:v}=Object.assign({depth:2,clobber:!1},f);return Array.isArray(a)&&!Array.isArray(i)?(a.forEach(m=>Q1t(i,m,f)),i):Array.isArray(a)&&Array.isArray(i)?(a.forEach(m=>{i.includes(m)||i.push(m)}),i):i===void 0||p<=0?i!=null&&typeof i=="object"&&typeof a=="object"?Object.assign(i,a):a:(a!==void 0&&typeof i=="object"&&typeof a=="object"&&Object.keys(a).forEach(m=>{typeof a[m]=="object"&&(i[m]===void 0||typeof i[m]=="object")?(i[m]===void 0&&(i[m]=Array.isArray(a[m])?[]:{}),i[m]=Q1t(i[m],a[m],{depth:p-1,clobber:v})):(v||typeof i[m]!="object"&&typeof a[m]!="object")&&(i[m]=a[m])}),i)},rd=Q1t,eE=Object.freeze(h1);let hp=rd({},eE),EIt,BA=[],UP=rd({},eE);const vW=(i,a)=>{let f=rd({},i),p={};for(const v of a)CIt(v),p=rd(p,v);if(f=rd(f,p),p.theme&&p.theme in m5){const v=rd({},EIt),m=rd(v.themeVariables||{},p.themeVariables);f.theme&&f.theme in m5&&(f.themeVariables=m5[f.theme].getThemeVariables(m))}return UP=f,LIt(UP),UP},N_e=i=>(hp=rd({},eE),hp=rd(hp,i),i.theme&&m5[i.theme]&&(hp.themeVariables=m5[i.theme].getThemeVariables(i.themeVariables)),vW(hp,BA),hp),F_e=i=>{EIt=rd({},i)},B_e=i=>(hp=rd(hp,i),vW(hp,BA),hp),TIt=()=>rd({},hp),_It=i=>(LIt(i),rd(UP,i),Me()),Me=()=>rd({},UP),CIt=i=>{["secure",...hp.secure??[]].forEach(a=>{i[a]!==void 0&&(Vt.debug(`Denied attempt to modify a secure key ${a}`,i[a]),delete i[a])}),Object.keys(i).forEach(a=>{a.indexOf("__")===0&&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"&&CIt(i[a])})},SIt=i=>{i.fontFamily&&(i.themeVariables?i.themeVariables.fontFamily||(i.themeVariables={fontFamily:i.fontFamily}):i.themeVariables={fontFamily:i.fontFamily}),BA.push(i),vW(hp,BA)},wW=(i=hp)=>{BA=[],vW(i,BA)},R_e={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},AIt={},j_e=i=>{AIt[i]||(Vt.warn(R_e[i]),AIt[i]=!0)},LIt=i=>{i&&(i.lazyLoadedDiagrams||i.loadExternalDiagramsAtStartup)&&j_e("LAZY_LOAD_DEPRECATED")},$_e=function(i,a){for(let f of a)i.attr(f[0],f[1])},z_e=function(i,a,f){let p=new Map;return f?(p.set("width","100%"),p.set("style",`max-width: ${a}px;`)):(p.set("height",i),p.set("width",a)),p},N2=function(i,a,f,p){const v=z_e(a,f,p);$_e(i,v)},nE=function(i,a,f,p){const v=a.node().getBBox(),m=v.width,b=v.height;Vt.info(`SVG bounds: ${m}x${b}`,v);let E=0,C=0;Vt.info(`Graph bounds: ${E}x${C}`,i),E=m+f*2,C=b+f*2,Vt.info(`Calculated bounds: ${E}x${C}`),N2(a,C,E,p);const A=`${v.x-f} ${v.y-f} ${v.width+2*f} ${v.height+2*f}`;a.attr("viewBox",A)},mW={},q_e=(i,a,f)=>{let p="";return i in mW&&mW[i]?p=mW[i](f):Vt.warn(`No theme found for ${i}`),` & {
+ font-family: ${f.fontFamily};
+ font-size: ${f.fontSize};
+ fill: ${f.textColor}
}
-}
-
-.nodeLabel, .edgeLabel {
- color: ${s.classText};
-}
-.edgeLabel .label rect {
- fill: ${s.mainBkg};
-}
-.label text {
- fill: ${s.classText};
-}
-.edgeLabel .label span {
- background: ${s.mainBkg};
-}
+ /* Classes common for multiple diagrams */
-.classTitle {
- font-weight: bolder;
-}
-.node rect,
- .node circle,
- .node ellipse,
- .node polygon,
- .node path {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
- stroke-width: 1px;
+ & .error-icon {
+ fill: ${f.errorBkgColor};
+ }
+ & .error-text {
+ fill: ${f.errorTextColor};
+ stroke: ${f.errorTextColor};
}
-
-.divider {
- stroke: ${s.nodeBorder};
- stroke: 1;
-}
-
-g.clickable {
- cursor: pointer;
-}
-
-g.classGroup rect {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
-}
-
-g.classGroup line {
- stroke: ${s.nodeBorder};
- stroke-width: 1;
-}
-
-.classLabel .box {
- stroke: none;
- stroke-width: 0;
- fill: ${s.mainBkg};
- opacity: 0.5;
-}
-
-.classLabel .label {
- fill: ${s.nodeBorder};
- font-size: 10px;
-}
-
-.relation {
- stroke: ${s.lineColor};
- stroke-width: 1;
- fill: none;
-}
-
-.dashed-line{
- stroke-dasharray: 3;
-}
-
-.dotted-line{
- stroke-dasharray: 1 2;
-}
-
-#compositionStart, .composition {
- fill: ${s.lineColor} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#compositionEnd, .composition {
- fill: ${s.lineColor} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#dependencyStart, .dependency {
- fill: ${s.lineColor} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#dependencyStart, .dependency {
- fill: ${s.lineColor} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#extensionStart, .extension {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#extensionEnd, .extension {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#aggregationStart, .aggregation {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#aggregationEnd, .aggregation {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#lollipopStart, .lollipop {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-#lollipopEnd, .lollipop {
- fill: ${s.mainBkg} !important;
- stroke: ${s.lineColor} !important;
- stroke-width: 1;
-}
-
-.edgeTerminals {
- font-size: 11px;
-}
-
-.classTitleText {
- text-anchor: middle;
- font-size: 18px;
- fill: ${s.textColor};
-}
-`,sIe=s=>`
- .entityBox {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
+ & .edge-thickness-normal {
+ stroke-width: 2px;
+ }
+ & .edge-thickness-thick {
+ stroke-width: 3.5px
+ }
+ & .edge-pattern-solid {
+ stroke-dasharray: 0;
}
- .attributeBoxOdd {
- fill: ${s.attributeBackgroundColorOdd};
- stroke: ${s.nodeBorder};
+ & .edge-pattern-dashed{
+ stroke-dasharray: 3;
+ }
+ .edge-pattern-dotted {
+ stroke-dasharray: 2;
}
- .attributeBoxEven {
- fill: ${s.attributeBackgroundColorEven};
- stroke: ${s.nodeBorder};
+ & .marker {
+ fill: ${f.lineColor};
+ stroke: ${f.lineColor};
+ }
+ & .marker.cross {
+ stroke: ${f.lineColor};
}
- .relationshipLabelBox {
- fill: ${s.tertiaryColor};
- opacity: 0.7;
- background-color: ${s.tertiaryColor};
- rect {
- opacity: 0.5;
- }
+ & svg {
+ font-family: ${f.fontFamily};
+ font-size: ${f.fontSize};
}
- .relationshipLine {
- stroke: ${s.lineColor};
- }
+ ${p}
- .entityTitleText {
- text-anchor: middle;
- font-size: 18px;
- fill: ${s.textColor};
- }
-`,G1e=()=>"",sK=s=>`.label {
- font-family: ${s.fontFamily};
- color: ${s.nodeTextColor||s.textColor};
+ ${a}
+`},H_e=(i,a)=>{a!==void 0&&(mW[i]=a)},V_e=q_e;let Z1t="",yW="",J1t="";const tdt=i=>cg(i,Me()),hg=function(){Z1t="",J1t="",yW=""},E0=function(i){Z1t=tdt(i).replace(/^\s+/g,"")},fg=function(){return Z1t||yW},dg=function(i){J1t=tdt(i).replace(/\n\s+/g,`
+`)},gg=function(){return J1t},F2=function(i){yW=tdt(i)},fp=function(){return yW},MIt=Object.freeze(Object.defineProperty({__proto__:null,clear:hg,default:{getAccTitle:fg,setAccTitle:E0,getDiagramTitle:fp,setDiagramTitle:F2,getAccDescription:gg,setAccDescription:dg,clear:hg},getAccDescription:gg,getAccTitle:fg,getDiagramTitle:fp,setAccDescription:dg,setAccTitle:E0,setDiagramTitle:F2},Symbol.toStringTag,{value:"Module"}));let rE={};const edt=function(i,a,f,p){Vt.debug("parseDirective is being called",a,f,p);try{if(a!==void 0)switch(a=a.trim(),f){case"open_directive":rE={};break;case"type_directive":if(!rE)throw new Error("currentDirective is undefined");rE.type=a.toLowerCase();break;case"arg_directive":if(!rE)throw new Error("currentDirective is undefined");rE.args=JSON.parse(a);break;case"close_directive":G_e(i,rE,p),rE=void 0;break}}catch(v){Vt.error(`Error while rendering sequenceDiagram directive: ${a} jison context: ${f}`),Vt.error(v.message)}},G_e=function(i,a,f){switch(Vt.info(`Directive type=${a.type} with args:`,a.args),a.type){case"init":case"initialize":{["config"].forEach(p=>{a.args[p]!==void 0&&(f==="flowchart-v2"&&(f="flowchart"),a.args[f]=a.args[p],delete a.args[p])}),Vt.info("sanitize in handleDirective",a.args),qA(a.args),Vt.info("sanitize in handleDirective (done)",a.args),SIt(a.args);break}case"wrap":case"nowrap":i&&i.setWrap&&i.setWrap(a.type==="wrap");break;case"themeCss":Vt.warn("themeCss encountered");break;default:Vt.warn(`Unhandled directive: source: '%%{${a.type}: ${JSON.stringify(a.args?a.args:{})}}%%`,a);break}},U_e=Vt,W_e=jft,WP=Me,K_e=i=>cg(i,WP()),DIt=nE,Y_e=()=>MIt,X_e=(i,a,f,p)=>edt(i,a,f,p),xW={},kW=(i,a,f)=>{if(xW[i])throw new Error(`Diagram ${i} already registered.`);xW[i]=a,f&&PIt(i,f),H_e(i,a.styles),a.injectUtils&&a.injectUtils(U_e,W_e,WP,K_e,DIt,Y_e(),X_e)},ndt=i=>{if(i in xW)return xW[i];throw new Error(`Diagram ${i} not found.`)};class IIt extends Error{constructor(a){super(a),this.name="UnknownDiagramError"}}const Q_e=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Z_e=/\s*%%.*\n/gm,RA={},EW=function(i,a){i=i.replace(kIt,"").replace(Q_e,"").replace(Z_e,`
+`);for(const[f,{detector:p}]of Object.entries(RA))if(p(i,a))return f;throw new IIt(`No diagram type detected matching given configuration for text: ${i}`)},OIt=(...i)=>{for(const{id:a,detector:f,loader:p}of i)PIt(a,f,p)},J_e=async()=>{Vt.debug("Loading registered diagrams");const a=(await Promise.allSettled(Object.entries(RA).map(async([f,{detector:p,loader:v}])=>{if(v)try{ndt(f)}catch{try{const{diagram:b,id:E}=await v();kW(E,b,p)}catch(b){throw Vt.error(`Failed to load external diagram with key ${f}. Removing from detectors.`),delete RA[f],b}}}))).filter(f=>f.status==="rejected");if(a.length>0){Vt.error(`Failed to load ${a.length} external diagrams`);for(const f of a)Vt.error(f);throw new Error(`Failed to load ${a.length} external diagrams`)}},PIt=(i,a,f)=>{RA[i]?Vt.error(`Detector with key ${i} already exists`):RA[i]={detector:a,loader:f},Vt.debug(`Detector with key ${i} added${f?" with loader":""}`)},tCe=i=>RA[i].loader;var eCe=typeof global=="object"&&global&&global.Object===Object&&global;const NIt=eCe;var nCe=typeof self=="object"&&self&&self.Object===Object&&self,rCe=NIt||nCe||Function("return this")();const Zw=rCe;var iCe=Zw.Symbol;const Qb=iCe;var FIt=Object.prototype,sCe=FIt.hasOwnProperty,aCe=FIt.toString,KP=Qb?Qb.toStringTag:void 0;function oCe(i){var a=sCe.call(i,KP),f=i[KP];try{i[KP]=void 0;var p=!0}catch{}var v=aCe.call(i);return p&&(a?i[KP]=f:delete i[KP]),v}var cCe=Object.prototype,uCe=cCe.toString;function lCe(i){return uCe.call(i)}var hCe="[object Null]",fCe="[object Undefined]",BIt=Qb?Qb.toStringTag:void 0;function iE(i){return i==null?i===void 0?fCe:hCe:BIt&&BIt in Object(i)?oCe(i):lCe(i)}function B2(i){var a=typeof i;return i!=null&&(a=="object"||a=="function")}var dCe="[object AsyncFunction]",gCe="[object Function]",pCe="[object GeneratorFunction]",bCe="[object Proxy]";function jA(i){if(!B2(i))return!1;var a=iE(i);return a==gCe||a==pCe||a==dCe||a==bCe}var vCe=Zw["__core-js_shared__"];const rdt=vCe;var RIt=function(){var i=/[^.]+$/.exec(rdt&&rdt.keys&&rdt.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function wCe(i){return!!RIt&&RIt in i}var mCe=Function.prototype,yCe=mCe.toString;function sE(i){if(i!=null){try{return yCe.call(i)}catch{}try{return i+""}catch{}}return""}var xCe=/[\\^$.*+?()[\]{}|]/g,kCe=/^\[object .+?Constructor\]$/,ECe=Function.prototype,TCe=Object.prototype,_Ce=ECe.toString,CCe=TCe.hasOwnProperty,SCe=RegExp("^"+_Ce.call(CCe).replace(xCe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ACe(i){if(!B2(i)||wCe(i))return!1;var a=jA(i)?SCe:kCe;return a.test(sE(i))}function LCe(i,a){return i==null?void 0:i[a]}function aE(i,a){var f=LCe(i,a);return ACe(f)?f:void 0}var MCe=aE(Object,"create");const YP=MCe;function DCe(){this.__data__=YP?YP(null):{},this.size=0}function ICe(i){var a=this.has(i)&&delete this.__data__[i];return this.size-=a?1:0,a}var OCe="__lodash_hash_undefined__",PCe=Object.prototype,NCe=PCe.hasOwnProperty;function FCe(i){var a=this.__data__;if(YP){var f=a[i];return f===OCe?void 0:f}return NCe.call(a,i)?a[i]:void 0}var BCe=Object.prototype,RCe=BCe.hasOwnProperty;function jCe(i){var a=this.__data__;return YP?a[i]!==void 0:RCe.call(a,i)}var $Ce="__lodash_hash_undefined__";function zCe(i,a){var f=this.__data__;return this.size+=this.has(i)?0:1,f[i]=YP&&a===void 0?$Ce:a,this}function oE(i){var a=-1,f=i==null?0:i.length;for(this.clear();++a<f;){var p=i[a];this.set(p[0],p[1])}}oE.prototype.clear=DCe,oE.prototype.delete=ICe,oE.prototype.get=FCe,oE.prototype.has=jCe,oE.prototype.set=zCe;function qCe(){this.__data__=[],this.size=0}function $A(i,a){return i===a||i!==i&&a!==a}function TW(i,a){for(var f=i.length;f--;)if($A(i[f][0],a))return f;return-1}var HCe=Array.prototype,VCe=HCe.splice;function GCe(i){var a=this.__data__,f=TW(a,i);if(f<0)return!1;var p=a.length-1;return f==p?a.pop():VCe.call(a,f,1),--this.size,!0}function UCe(i){var a=this.__data__,f=TW(a,i);return f<0?void 0:a[f][1]}function WCe(i){return TW(this.__data__,i)>-1}function KCe(i,a){var f=this.__data__,p=TW(f,i);return p<0?(++this.size,f.push([i,a])):f[p][1]=a,this}function x5(i){var a=-1,f=i==null?0:i.length;for(this.clear();++a<f;){var p=i[a];this.set(p[0],p[1])}}x5.prototype.clear=qCe,x5.prototype.delete=GCe,x5.prototype.get=UCe,x5.prototype.has=WCe,x5.prototype.set=KCe;var YCe=aE(Zw,"Map");const XP=YCe;function XCe(){this.size=0,this.__data__={hash:new oE,map:new(XP||x5),string:new oE}}function QCe(i){var a=typeof i;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?i!=="__proto__":i===null}function _W(i,a){var f=i.__data__;return QCe(a)?f[typeof a=="string"?"string":"hash"]:f.map}function ZCe(i){var a=_W(this,i).delete(i);return this.size-=a?1:0,a}function JCe(i){return _W(this,i).get(i)}function tSe(i){return _W(this,i).has(i)}function eSe(i,a){var f=_W(this,i),p=f.size;return f.set(i,a),this.size+=f.size==p?0:1,this}function k5(i){var a=-1,f=i==null?0:i.length;for(this.clear();++a<f;){var p=i[a];this.set(p[0],p[1])}}k5.prototype.clear=XCe,k5.prototype.delete=ZCe,k5.prototype.get=JCe,k5.prototype.has=tSe,k5.prototype.set=eSe;var nSe="Expected a function";function zA(i,a){if(typeof i!="function"||a!=null&&typeof a!="function")throw new TypeError(nSe);var f=function(){var p=arguments,v=a?a.apply(this,p):p[0],m=f.cache;if(m.has(v))return m.get(v);var b=i.apply(this,p);return f.cache=m.set(v,b)||m,b};return f.cache=new(zA.Cache||k5),f}zA.Cache=k5;const jIt="​",rSe={curveBasis:MA,curveBasisClosed:R9e,curveBasisOpen:j9e,curveBumpX:F9e,curveBumpY:B9e,curveBundle:$9e,curveCardinalClosed:q9e,curveCardinalOpen:H9e,curveCardinal:z9e,curveCatmullRomClosed:G9e,curveCatmullRomOpen:U9e,curveCatmullRom:V9e,curveLinear:ag,curveLinearClosed:W9e,curveMonotoneX:K9e,curveMonotoneY:Y9e,curveNatural:X9e,curveStep:Q9e,curveStepAfter:J9e,curveStepBefore:Z9e},idt=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,iSe=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,sSe=function(i,a){const f=$It(i,/(?:init\b)|(?:initialize\b)/);let p={};if(Array.isArray(f)){const v=f.map(m=>m.args);qA(v),p=rd(p,[...v])}else p=f.args;if(p){let v=EW(i,a);["config"].forEach(m=>{p[m]!==void 0&&(v==="flowchart-v2"&&(v="flowchart"),p[v]=p[m],delete p[m])})}return p},$It=function(i,a=null){try{const f=new RegExp(`[%]{2}(?![{]${iSe.source})(?=[}][%]{2}).*
+`,"ig");i=i.trim().replace(f,"").replace(/'/gm,'"'),Vt.debug(`Detecting diagram directive${a!==null?" type:"+a:""} based on the text:${i}`);let p;const v=[];for(;(p=idt.exec(i))!==null;)if(p.index===idt.lastIndex&&idt.lastIndex++,p&&!a||a&&p[1]&&p[1].match(a)||a&&p[2]&&p[2].match(a)){const m=p[1]?p[1]:p[2],b=p[3]?p[3].trim():p[4]?JSON.parse(p[4].trim()):null;v.push({type:m,args:b})}return v.length===0&&v.push({type:i,args:null}),v.length===1?v[0]:v}catch(f){return Vt.error(`ERROR: ${f.message} - Unable to parse directive
+ ${a!==null?" type:"+a:""} based on the text:${i}`),{type:null,args:null}}},aSe=function(i,a){for(const[f,p]of a.entries())if(p.match(i))return f;return-1};function Zb(i,a){if(!i)return a;const f=`curve${i.charAt(0).toUpperCase()+i.slice(1)}`;return rSe[f]||a}function oSe(i,a){const f=i.trim();if(f)return a.securityLevel!=="loose"?Zx(f):f}const cSe=(i,...a)=>{const f=i.split("."),p=f.length-1,v=f[p];let m=window;for(let b=0;b<p;b++)if(m=m[f[b]],!m)return;m[v](...a)};function CW(i,a){return i&&a?Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)):0}function uSe(i){let a,f=0;i.forEach(m=>{f+=CW(m,a),a=m});let p=f/2,v;return a=void 0,i.forEach(m=>{if(a&&!v){const b=CW(m,a);if(b<p)p-=b;else{const E=p/b;E<=0&&(v=a),E>=1&&(v={x:m.x,y:m.y}),E>0&&E<1&&(v={x:(1-E)*a.x+E*m.x,y:(1-E)*a.y+E*m.y})}}a=m}),v}function lSe(i){return i.length===1?i[0]:uSe(i)}const hSe=(i,a,f)=>{let p;Vt.info(`our points ${JSON.stringify(a)}`),a[0]!==f&&(a=a.reverse());let m=25,b;p=void 0,a.forEach(N=>{if(p&&!b){const F=CW(N,p);if(F<m)m-=F;else{const j=m/F;j<=0&&(b=p),j>=1&&(b={x:N.x,y:N.y}),j>0&&j<1&&(b={x:(1-j)*p.x+j*N.x,y:(1-j)*p.y+j*N.y})}}p=N});const E=i?10:5,C=Math.atan2(a[0].y-b.y,a[0].x-b.x),A={x:0,y:0};return A.x=Math.sin(C)*E+(a[0].x+b.x)/2,A.y=-Math.cos(C)*E+(a[0].y+b.y)/2,A};function fSe(i,a,f){let p=JSON.parse(JSON.stringify(f)),v;Vt.info("our points",p),a!=="start_left"&&a!=="start_right"&&(p=p.reverse()),p.forEach(F=>{v=F});let b=25+i,E;v=void 0,p.forEach(F=>{if(v&&!E){const j=CW(F,v);if(j<b)b-=j;else{const R=b/j;R<=0&&(E=v),R>=1&&(E={x:F.x,y:F.y}),R>0&&R<1&&(E={x:(1-R)*v.x+R*F.x,y:(1-R)*v.y+R*F.y})}}v=F});const C=10+i*.5,A=Math.atan2(p[0].y-E.y,p[0].x-E.x),N={x:0,y:0};return N.x=Math.sin(A)*C+(p[0].x+E.x)/2,N.y=-Math.cos(A)*C+(p[0].y+E.y)/2,a==="start_left"&&(N.x=Math.sin(A+Math.PI)*C+(p[0].x+E.x)/2,N.y=-Math.cos(A+Math.PI)*C+(p[0].y+E.y)/2),a==="end_right"&&(N.x=Math.sin(A-Math.PI)*C+(p[0].x+E.x)/2-5,N.y=-Math.cos(A-Math.PI)*C+(p[0].y+E.y)/2-5),a==="end_left"&&(N.x=Math.sin(A)*C+(p[0].x+E.x)/2-5,N.y=-Math.cos(A)*C+(p[0].y+E.y)/2-5),N}function Jw(i){let a="",f="";for(const p of i)p!==void 0&&(p.startsWith("color:")||p.startsWith("text-align:")?f=f+p+";":a=a+p+";");return{style:a,labelStyle:f}}let zIt=0;const qIt=()=>(zIt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+zIt);function dSe(i){let a="";const f="0123456789abcdef",p=f.length;for(let v=0;v<i;v++)a+=f.charAt(Math.floor(Math.random()*p));return a}const HIt=i=>dSe(i.length),gSe=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}},pSe=function(i,a){const f=a.text.replace(bi.lineBreakRegex," "),[,p]=HA(a.fontSize),v=i.append("text");v.attr("x",a.x),v.attr("y",a.y),v.style("text-anchor",a.anchor),v.style("font-family",a.fontFamily),v.style("font-size",p),v.style("font-weight",a.fontWeight),v.attr("fill",a.fill),a.class!==void 0&&v.attr("class",a.class);const m=v.append("tspan");return m.attr("x",a.x+a.textMargin*2),m.attr("fill",a.fill),m.text(f),v},VIt=zA((i,a,f)=>{if(!i||(f=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},f),bi.lineBreakRegex.test(i)))return i;const p=i.split(" "),v=[];let m="";return p.forEach((b,E)=>{const C=h3(`${b} `,f),A=h3(m,f);if(C>a){const{hyphenatedStrings:j,remainingWord:R}=bSe(b,a,"-",f);v.push(m,...j),m=R}else A+C>=a?(v.push(m),m=b):m=[m,b].filter(Boolean).join(" ");E+1===p.length&&v.push(m)}),v.filter(b=>b!=="").join(f.joinWith)},(i,a,f)=>`${i}${a}${f.fontSize}${f.fontWeight}${f.fontFamily}${f.joinWith}`),bSe=zA((i,a,f="-",p)=>{p=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},p);const v=[...i],m=[];let b="";return v.forEach((E,C)=>{const A=`${b}${E}`;if(h3(A,p)>=a){const F=C+1,j=v.length===F,R=`${A}${f}`;m.push(j?A:R),b=""}else b=A}),{hyphenatedStrings:m,remainingWord:b}},(i,a,f="-",p)=>`${i}${a}${f}${p.fontSize}${p.fontWeight}${p.fontFamily}`);function sdt(i,a){return a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},a),adt(i,a).height}function h3(i,a){return a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},a),adt(i,a).width}const adt=zA((i,a)=>{a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},a);const{fontSize:f,fontFamily:p,fontWeight:v}=a;if(!i)return{width:0,height:0};const[,m]=HA(f),b=["sans-serif",p],E=i.split(bi.lineBreakRegex),C=[],A=wr("body");if(!A.remove)return{width:0,height:0,lineHeight:0};const N=A.append("svg");for(const j of b){let R=0;const H={width:0,height:0,lineHeight:0};for(const Y of E){const rt=gSe();rt.text=Y||jIt;const J=pSe(N,rt).style("font-size",m).style("font-weight",v).style("font-family",j),it=(J._groups||J)[0][0].getBBox();if(it.width===0&&it.height===0)throw new Error("svg element not in render tree");H.width=Math.round(Math.max(H.width,it.width)),R=Math.round(it.height),H.height+=R,H.lineHeight=Math.round(Math.max(H.lineHeight,R))}C.push(H)}N.remove();const F=isNaN(C[1].height)||isNaN(C[1].width)||isNaN(C[1].lineHeight)||C[0].height>C[1].height&&C[0].width>C[1].width&&C[0].lineHeight>C[1].lineHeight?0:1;return C[F]},(i,a)=>`${i}${a.fontSize}${a.fontWeight}${a.fontFamily}`),vSe=class{constructor(a,f){this.deterministic=a,this.seed=f,this.count=f?f.length:0}next(){return this.deterministic?this.count++:Date.now()}};let SW;const wSe=function(i){return SW=SW||document.createElement("div"),i=escape(i).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),SW.innerHTML=i,unescape(SW.textContent)},qA=i=>{if(Vt.debug("directiveSanitizer called with",i),typeof i=="object"&&(i.length?i.forEach(a=>qA(a)):Object.keys(i).forEach(a=>{Vt.debug("Checking key",a),a.startsWith("__")&&(Vt.debug("sanitize deleting __ option",a),delete i[a]),a.includes("proto")&&(Vt.debug("sanitize deleting proto option",a),delete i[a]),a.includes("constr")&&(Vt.debug("sanitize deleting constr option",a),delete i[a]),a.includes("themeCSS")&&(Vt.debug("sanitizing themeCss option"),i[a]=AW(i[a])),a.includes("fontFamily")&&(Vt.debug("sanitizing fontFamily option"),i[a]=AW(i[a])),a.includes("altFontFamily")&&(Vt.debug("sanitizing altFontFamily option"),i[a]=AW(i[a])),VEe.includes(a)?typeof i[a]=="object"&&(Vt.debug("sanitize deleting object",a),qA(i[a])):(Vt.debug("sanitize deleting option",a),delete i[a])})),i.themeVariables){const a=Object.keys(i.themeVariables);for(const f of a){const p=i.themeVariables[f];p&&p.match&&!p.match(/^[\d "#%(),.;A-Za-z]+$/)&&(i.themeVariables[f]="")}}Vt.debug("After sanitization",i)},AW=i=>{let a=0,f=0;for(const p of i){if(a<f)return"{ /* ERROR: Unbalanced CSS */ }";p==="{"?a++:p==="}"&&f++}return a!==f?"{ /* ERROR: Unbalanced CSS */ }":i};function GIt(i){return"str"in i}function mSe(i){return i instanceof Error?i.message:String(i)}const ySe=(i,a,f,p)=>{if(!p)return;const v=i.node().getBBox();i.append("text").text(p).attr("x",v.x+v.width/2).attr("y",-f).attr("class",a)},HA=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]},ho={assignWithDepth:rd,wrapLabel:VIt,calculateTextHeight:sdt,calculateTextWidth:h3,calculateTextDimensions:adt,detectInit:sSe,detectDirective:$It,isSubstringInArray:aSe,interpolateToCurve:Zb,calcLabelPosition:lSe,calcCardinalityPosition:hSe,calcTerminalLabelPosition:fSe,formatUrl:oSe,getStylesFromArray:Jw,generateId:qIt,random:HIt,runFunc:cSe,entityDecode:wSe,initIdGenerator:vSe,directiveSanitizer:qA,sanitizeCss:AW,insertTitle:ySe,parseFontSize:HA};var UIt="comm",WIt="rule",KIt="decl",xSe="@import",kSe="@keyframes",ESe=Math.abs,odt=String.fromCharCode;function YIt(i){return i.trim()}function cdt(i,a,f){return i.replace(a,f)}function TSe(i,a){return i.indexOf(a)}function QP(i,a){return i.charCodeAt(a)|0}function ZP(i,a,f){return i.slice(a,f)}function ik(i){return i.length}function XIt(i){return i.length}function LW(i,a){return a.push(i),i}var MW=1,VA=1,QIt=0,Jb=0,Bf=0,GA="";function udt(i,a,f,p,v,m,b){return{value:i,root:a,parent:f,type:p,props:v,children:m,line:MW,column:VA,length:b,return:""}}function _Se(){return Bf}function CSe(){return Bf=Jb>0?QP(GA,--Jb):0,VA--,Bf===10&&(VA=1,MW--),Bf}function tm(){return Bf=Jb<QIt?QP(GA,Jb++):0,VA++,Bf===10&&(VA=1,MW++),Bf}function cE(){return QP(GA,Jb)}function DW(){return Jb}function IW(i,a){return ZP(GA,i,a)}function ldt(i){switch(i){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function SSe(i){return MW=VA=1,QIt=ik(GA=i),Jb=0,[]}function ASe(i){return GA="",i}function hdt(i){return YIt(IW(Jb-1,fdt(i===91?i+2:i===40?i+1:i)))}function LSe(i){for(;(Bf=cE())&&Bf<33;)tm();return ldt(i)>2||ldt(Bf)>3?"":" "}function MSe(i,a){for(;--a&&tm()&&!(Bf<48||Bf>102||Bf>57&&Bf<65||Bf>70&&Bf<97););return IW(i,DW()+(a<6&&cE()==32&&tm()==32))}function fdt(i){for(;tm();)switch(Bf){case i:return Jb;case 34:case 39:i!==34&&i!==39&&fdt(Bf);break;case 40:i===41&&fdt(i);break;case 92:tm();break}return Jb}function DSe(i,a){for(;tm()&&i+Bf!==47+10;)if(i+Bf===42+42&&cE()===47)break;return"/*"+IW(a,Jb-1)+"*"+odt(i===47?i:tm())}function ISe(i){for(;!ldt(cE());)tm();return IW(i,Jb)}function OSe(i){return ASe(OW("",null,null,null,[""],i=SSe(i),0,[0],i))}function OW(i,a,f,p,v,m,b,E,C){for(var A=0,N=0,F=b,j=0,R=0,H=0,Y=1,rt=1,J=1,it=0,ht="",Tt=v,yt=m,vt=p,ut=ht;rt;)switch(H=it,it=tm()){case 40:if(H!=108&&QP(ut,F-1)==58){TSe(ut+=cdt(hdt(it),"&","&\f"),"&\f")!=-1&&(J=-1);break}case 34:case 39:case 91:ut+=hdt(it);break;case 9:case 10:case 13:case 32:ut+=LSe(H);break;case 92:ut+=MSe(DW()-1,7);continue;case 47:switch(cE()){case 42:case 47:LW(PSe(DSe(tm(),DW()),a,f),C);break;default:ut+="/"}break;case 123*Y:E[A++]=ik(ut)*J;case 125*Y:case 59:case 0:switch(it){case 0:case 125:rt=0;case 59+N:R>0&&ik(ut)-F&&LW(R>32?JIt(ut+";",p,f,F-1):JIt(cdt(ut," ","")+";",p,f,F-2),C);break;case 59:ut+=";";default:if(LW(vt=ZIt(ut,a,f,A,N,v,E,ht,Tt=[],yt=[],F),m),it===123)if(N===0)OW(ut,a,vt,vt,Tt,m,F,E,yt);else switch(j===99&&QP(ut,3)===110?100:j){case 100:case 109:case 115:OW(i,vt,vt,p&&LW(ZIt(i,vt,vt,0,0,v,E,ht,v,Tt=[],F),yt),v,yt,F,E,p?Tt:yt);break;default:OW(ut,vt,vt,vt,[""],yt,0,E,yt)}}A=N=R=0,Y=J=1,ht=ut="",F=b;break;case 58:F=1+ik(ut),R=H;default:if(Y<1){if(it==123)--Y;else if(it==125&&Y++==0&&CSe()==125)continue}switch(ut+=odt(it),it*Y){case 38:J=N>0?1:(ut+="\f",-1);break;case 44:E[A++]=(ik(ut)-1)*J,J=1;break;case 64:cE()===45&&(ut+=hdt(tm())),j=cE(),N=F=ik(ht=ut+=ISe(DW())),it++;break;case 45:H===45&&ik(ut)==2&&(Y=0)}}return m}function ZIt(i,a,f,p,v,m,b,E,C,A,N){for(var F=v-1,j=v===0?m:[""],R=XIt(j),H=0,Y=0,rt=0;H<p;++H)for(var J=0,it=ZP(i,F+1,F=ESe(Y=b[H])),ht=i;J<R;++J)(ht=YIt(Y>0?j[J]+" "+it:cdt(it,/&\f/g,j[J])))&&(C[rt++]=ht);return udt(i,a,f,v===0?WIt:E,C,A,N)}function PSe(i,a,f){return udt(i,a,f,UIt,odt(_Se()),ZP(i,2,-2),0)}function JIt(i,a,f,p){return udt(i,a,f,KIt,ZP(i,0,p),ZP(i,p+1,-1),p)}function ddt(i,a){for(var f="",p=XIt(i),v=0;v<p;v++)f+=a(i[v],v,i,a)||"";return f}function NSe(i,a,f,p){switch(i.type){case xSe:case KIt:return i.return=i.return||i.value;case UIt:return"";case kSe:return i.return=i.value+"{"+ddt(i.children,p)+"}";case WIt:i.value=i.props.join(",")}return ik(f=ddt(i.children,p))?i.return=i.value+"{"+f+"}":""}const tOt="10.3.0",eOt="c4",FSe={id:eOt,detector:i=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>OMe);return{id:eOt,diagram:i}}},nOt="flowchart",BSe={id:nOt,detector:(i,a)=>{var f,p;return((f=a==null?void 0:a.flowchart)==null?void 0:f.defaultRenderer)==="dagre-wrapper"||((p=a==null?void 0:a.flowchart)==null?void 0:p.defaultRenderer)==="elk"?!1:/^\s*graph/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>_$e);return{id:nOt,diagram:i}}},rOt="flowchart-v2",RSe={id:rOt,detector:(i,a)=>{var f,p,v;return((f=a==null?void 0:a.flowchart)==null?void 0:f.defaultRenderer)==="dagre-d3"||((p=a==null?void 0:a.flowchart)==null?void 0:p.defaultRenderer)==="elk"?!1:/^\s*graph/.test(i)&&((v=a==null?void 0:a.flowchart)==null?void 0:v.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>C$e);return{id:rOt,diagram:i}}},iOt="er",jSe={id:iOt,detector:i=>/^\s*erDiagram/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>J$e);return{id:iOt,diagram:i}}},sOt="gitGraph",$Se={id:sOt,detector:i=>/^\s*gitGraph/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>_ze);return{id:sOt,diagram:i}}},aOt="gantt",zSe={id:aOt,detector:i=>/^\s*gantt/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>pqe);return{id:aOt,diagram:i}}},oOt="info",qSe={id:oOt,detector:i=>/^\s*info/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>vqe);return{id:oOt,diagram:i}}},cOt="pie",HSe={id:cOt,detector:i=>/^\s*pie/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>xqe);return{id:cOt,diagram:i}}},uOt="quadrantChart",VSe={id:uOt,detector:i=>/^\s*quadrantChart/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Bqe);return{id:uOt,diagram:i}}},lOt="requirement",GSe={id:lOt,detector:i=>/^\s*requirement(Diagram)?/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Wqe);return{id:lOt,diagram:i}}},hOt="sequence",USe={id:hOt,detector:i=>/^\s*sequenceDiagram/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>tVe);return{id:hOt,diagram:i}}},fOt="class",WSe={id:fOt,detector:(i,a)=>{var f;return((f=a==null?void 0:a.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>kVe);return{id:fOt,diagram:i}}},dOt="classDiagram",KSe={id:dOt,detector:(i,a)=>{var f;return/^\s*classDiagram/.test(i)&&((f=a==null?void 0:a.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>AVe);return{id:dOt,diagram:i}}},gOt="state",YSe={id:gOt,detector:(i,a)=>{var f;return((f=a==null?void 0:a.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>bGe);return{id:gOt,diagram:i}}},pOt="stateDiagram",XSe={id:pOt,detector:(i,a)=>{var f;return!!(/^\s*stateDiagram-v2/.test(i)||/^\s*stateDiagram/.test(i)&&((f=a==null?void 0:a.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper")},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>NGe);return{id:pOt,diagram:i}}},bOt="journey",QSe={id:bOt,detector:i=>/^\s*journey/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>eUe);return{id:bOt,diagram:i}}},ZSe=()=>"",vOt={setConf:function(){},draw:(i,a,f)=>{try{Vt.debug(`Renering svg for syntax error
+`);const p=wr("#"+a),v=p.append("g");v.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"),v.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"),v.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"),v.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"),v.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"),v.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"),v.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"),v.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+f),p.attr("height",100),p.attr("width",500),p.attr("viewBox","768 0 912 512")}catch(p){Vt.error("Error while rendering info diagram"),Vt.error(mSe(p))}}},JSe={db:{clear:()=>{}},styles:ZSe,renderer:vOt,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},wOt="flowchart-elk",tAe={id:wOt,detector:(i,a)=>{var f;return!!(/^\s*flowchart-elk/.test(i)||/^\s*flowchart|graph/.test(i)&&((f=a==null?void 0:a.flowchart)==null?void 0:f.defaultRenderer)==="elk")},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>vUe);return{id:wOt,diagram:i}}},mOt="timeline",eAe={id:mOt,detector:i=>/^\s*timeline/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>FUe);return{id:mOt,diagram:i}}},yOt="mindmap",nAe={id:yOt,detector:i=>/^\s*mindmap/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>fWe);return{id:yOt,diagram:i}}},xOt="sankey",rAe={id:xOt,detector:i=>/^\s*sankey-beta/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>qWe);return{id:xOt,diagram:i}}};let kOt=!1;const gdt=()=>{kOt||(kOt=!0,kW("error",JSe,i=>i.toLowerCase().trim()==="error"),kW("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},i=>i.toLowerCase().trimStart().startsWith("---")),OIt(FSe,KSe,WSe,jSe,zSe,qSe,HSe,GSe,USe,tAe,RSe,BSe,nAe,eAe,$Se,XSe,YSe,QSe,VSe,rAe))},iAe=i=>i.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,"");class EOt{constructor(a){var m,b;this.text=a,this.type="graph",this.text+=`
+`;const f=Me();try{this.type=EW(a,f)}catch(E){this.type="error",this.detectError=E}const p=ndt(this.type);Vt.debug("Type "+this.type),this.db=p.db,(b=(m=this.db).clear)==null||b.call(m),this.renderer=p.renderer,this.parser=p.parser;const v=this.parser.parse.bind(this.parser);this.parser.parse=E=>v(iAe(P_e(E,this.db))),this.parser.parser.yy=this.db,p.init&&(p.init(f),Vt.info("Initialized diagram "+this.type,f)),this.parse()}parse(){var a,f;if(this.detectError)throw this.detectError;(f=(a=this.db).clear)==null||f.call(a),this.parser.parse(this.text)}async render(a,f){await this.renderer.draw(this.text,a,f,this)}getParser(){return this.parser}getType(){return this.type}}const pdt=async i=>{const a=EW(i,Me());try{ndt(a)}catch{const p=tCe(a);if(!p)throw new IIt(`Diagram ${a} not found.`);const{id:v,diagram:m}=await p();kW(v,m)}return new EOt(i)};let bdt=[];const sAe=i=>{bdt.push(i)},aAe=()=>{bdt.forEach(i=>{i()}),bdt=[]};var oAe=Object.prototype;function PW(i){var a=i&&i.constructor,f=typeof a=="function"&&a.prototype||oAe;return i===f}function TOt(i,a){return function(f){return i(a(f))}}var cAe=TOt(Object.keys,Object);const uAe=cAe;var lAe=Object.prototype,hAe=lAe.hasOwnProperty;function _Ot(i){if(!PW(i))return uAe(i);var a=[];for(var f in Object(i))hAe.call(i,f)&&f!="constructor"&&a.push(f);return a}var fAe=aE(Zw,"DataView");const vdt=fAe;var dAe=aE(Zw,"Promise");const wdt=dAe;var gAe=aE(Zw,"Set");const UA=gAe;var pAe=aE(Zw,"WeakMap");const mdt=pAe;var COt="[object Map]",bAe="[object Object]",SOt="[object Promise]",AOt="[object Set]",LOt="[object WeakMap]",MOt="[object DataView]",vAe=sE(vdt),wAe=sE(XP),mAe=sE(wdt),yAe=sE(UA),xAe=sE(mdt),uE=iE;(vdt&&uE(new vdt(new ArrayBuffer(1)))!=MOt||XP&&uE(new XP)!=COt||wdt&&uE(wdt.resolve())!=SOt||UA&&uE(new UA)!=AOt||mdt&&uE(new mdt)!=LOt)&&(uE=function(i){var a=iE(i),f=a==bAe?i.constructor:void 0,p=f?sE(f):"";if(p)switch(p){case vAe:return MOt;case wAe:return COt;case mAe:return SOt;case yAe:return AOt;case xAe:return LOt}return a});const WA=uE;function f3(i){return i!=null&&typeof i=="object"}var kAe="[object Arguments]";function DOt(i){return f3(i)&&iE(i)==kAe}var IOt=Object.prototype,EAe=IOt.hasOwnProperty,TAe=IOt.propertyIsEnumerable,_Ae=DOt(function(){return arguments}())?DOt:function(i){return f3(i)&&EAe.call(i,"callee")&&!TAe.call(i,"callee")};const KA=_Ae;var CAe=Array.isArray;const Rf=CAe;var SAe=9007199254740991;function ydt(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=SAe}function sk(i){return i!=null&&ydt(i.length)&&!jA(i)}function AAe(){return!1}var OOt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,POt=OOt&&typeof module=="object"&&module&&!module.nodeType&&module,LAe=POt&&POt.exports===OOt,NOt=LAe?Zw.Buffer:void 0,MAe=NOt?NOt.isBuffer:void 0,DAe=MAe||AAe;const YA=DAe;var IAe="[object Arguments]",OAe="[object Array]",PAe="[object Boolean]",NAe="[object Date]",FAe="[object Error]",BAe="[object Function]",RAe="[object Map]",jAe="[object Number]",$Ae="[object Object]",zAe="[object RegExp]",qAe="[object Set]",HAe="[object String]",VAe="[object WeakMap]",GAe="[object ArrayBuffer]",UAe="[object DataView]",WAe="[object Float32Array]",KAe="[object Float64Array]",YAe="[object Int8Array]",XAe="[object Int16Array]",QAe="[object Int32Array]",ZAe="[object Uint8Array]",JAe="[object Uint8ClampedArray]",tLe="[object Uint16Array]",eLe="[object Uint32Array]",_l={};_l[WAe]=_l[KAe]=_l[YAe]=_l[XAe]=_l[QAe]=_l[ZAe]=_l[JAe]=_l[tLe]=_l[eLe]=!0,_l[IAe]=_l[OAe]=_l[GAe]=_l[PAe]=_l[UAe]=_l[NAe]=_l[FAe]=_l[BAe]=_l[RAe]=_l[jAe]=_l[$Ae]=_l[zAe]=_l[qAe]=_l[HAe]=_l[VAe]=!1;function nLe(i){return f3(i)&&ydt(i.length)&&!!_l[iE(i)]}function NW(i){return function(a){return i(a)}}var FOt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,JP=FOt&&typeof module=="object"&&module&&!module.nodeType&&module,rLe=JP&&JP.exports===FOt,xdt=rLe&&NIt.process,iLe=function(){try{var i=JP&&JP.require&&JP.require("util").types;return i||xdt&&xdt.binding&&xdt.binding("util")}catch{}}();const XA=iLe;var BOt=XA&&XA.isTypedArray,sLe=BOt?NW(BOt):nLe;const FW=sLe;var aLe="[object Map]",oLe="[object Set]",cLe=Object.prototype,uLe=cLe.hasOwnProperty;function tN(i){if(i==null)return!0;if(sk(i)&&(Rf(i)||typeof i=="string"||typeof i.splice=="function"||YA(i)||FW(i)||KA(i)))return!i.length;var a=WA(i);if(a==aLe||a==oLe)return!i.size;if(PW(i))return!_Ot(i).length;for(var f in i)if(uLe.call(i,f))return!1;return!0}const lLe="graphics-document document";function hLe(i,a){i.attr("role",lLe),a!==""&&i.attr("aria-roledescription",a)}function fLe(i,a,f,p){if(i.insert!==void 0){if(f){const v=`chart-desc-${p}`;i.attr("aria-describedby",v),i.insert("desc",":first-child").attr("id",v).text(f)}if(a){const v=`chart-title-${p}`;i.attr("aria-labelledby",v),i.insert("title",":first-child").attr("id",v).text(a)}}}const ROt=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],dLe=5e4,gLe="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",pLe="sandbox",bLe="loose",vLe="http://www.w3.org/2000/svg",wLe="http://www.w3.org/1999/xlink",mLe="http://www.w3.org/1999/xhtml",yLe="100%",xLe="100%",kLe="border:0;margin:0;",ELe="margin:0",TLe="allow-top-navigation-by-user-activation allow-popups",_Le='The "iframe" tag is not supported by your browser.',CLe=["foreignobject"],SLe=["dominant-baseline"];async function ALe(i,a){gdt();try{(await pdt(i)).parse()}catch(f){if(a!=null&&a.suppressErrors)return!1;throw f}return!0}const LLe=function(i){let a=i;return a=a.replace(/style.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),a=a.replace(/classDef.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),a=a.replace(/#\w+;/g,function(f){const p=f.substring(1,f.length-1);return/^\+?\d+$/.test(p)?"fl°°"+p+"¶ß":"fl°"+p+"¶ß"}),a},eN=function(i){return i.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},jOt=(i,a,f=[])=>`
+.${i} ${a} { ${f.join(" !important; ")} !important; }`,MLe=(i,a,f={})=>{var v;let p="";if(i.themeCSS!==void 0&&(p+=`
+${i.themeCSS}`),i.fontFamily!==void 0&&(p+=`
+:root { --mermaid-font-family: ${i.fontFamily}}`),i.altFontFamily!==void 0&&(p+=`
+:root { --mermaid-alt-font-family: ${i.altFontFamily}}`),!tN(f)&&ROt.includes(a)){const C=i.htmlLabels||((v=i.flowchart)==null?void 0:v.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const A in f){const N=f[A];tN(N.styles)||C.forEach(F=>{p+=jOt(N.id,F,N.styles)}),tN(N.textStyles)||(p+=jOt(N.id,"tspan",N.textStyles))}}return p},DLe=(i,a,f,p)=>{const v=MLe(i,a,f),m=V_e(a,v,i.themeVariables);return ddt(OSe(`${p}{${m}}`),NSe)},ILe=(i="",a,f)=>{let p=i;return!f&&!a&&(p=p.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),p=eN(p),p=p.replace(/<br>/g,"<br/>"),p},OLe=(i="",a)=>{const f=a?a.viewBox.baseVal.height+"px":xLe,p=btoa('<body style="'+ELe+'">'+i+"</body>");return`<iframe style="width:${yLe};height:${f};${kLe}" src="data:text/html;base64,${p}" sandbox="${TLe}">
+ ${_Le}
+</iframe>`},$Ot=(i,a,f,p,v)=>{const m=i.append("div");m.attr("id",f),p&&m.attr("style",p);const b=m.append("svg").attr("id",a).attr("width","100%").attr("xmlns",vLe);return v&&b.attr("xmlns:xlink",v),b.append("g"),i};function zOt(i,a){return i.append("iframe").attr("id",a).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const PLe=(i,a,f,p)=>{var v,m,b;(v=i.getElementById(a))==null||v.remove(),(m=i.getElementById(f))==null||m.remove(),(b=i.getElementById(p))==null||b.remove()},NLe=async function(i,a,f){var Ct,nt,Nt,dt;gdt(),wW();const p=ho.detectInit(a);p&&(qA(p),SIt(p));const v=Me();Vt.debug(v),a.length>((v==null?void 0:v.maxTextSize)??dLe)&&(a=gLe),a=a.replace(/\r\n?/g,`
+`),a=a.replace(/<(\w+)([^>]*)>/g,(Ft,X,Bt)=>"<"+X+Bt.replace(/="([^"]*)"/g,"='$1'")+">");const m="#"+i,b="i"+i,E="#"+b,C="d"+i,A="#"+C;let N=wr("body");const F=v.securityLevel===pLe,j=v.securityLevel===bLe,R=v.fontFamily;if(f!==void 0){if(f&&(f.innerHTML=""),F){const Ft=zOt(wr(f),b);N=wr(Ft.nodes()[0].contentDocument.body),N.node().style.margin=0}else N=wr(f);$Ot(N,i,C,`font-family: ${R}`,wLe)}else{if(PLe(document,i,C,b),F){const Ft=zOt(wr("body"),b);N=wr(Ft.nodes()[0].contentDocument.body),N.node().style.margin=0}else N=wr("body");$Ot(N,i,C)}a=LLe(a);let H,Y;try{H=await pdt(a)}catch(Ft){H=new EOt("error"),Y=Ft}const rt=N.select(A).node(),J=H.type,it=rt.firstChild,ht=it.firstChild,Tt=ROt.includes(J)?H.renderer.getClasses(a,H):{},yt=DLe(v,J,Tt,m),vt=document.createElement("style");vt.innerHTML=yt,it.insertBefore(vt,ht);try{await H.renderer.draw(a,i,tOt,H)}catch(Ft){throw vOt.draw(a,i,tOt),Ft}const ut=N.select(`${A} svg`),xt=(nt=(Ct=H.db).getAccTitle)==null?void 0:nt.call(Ct),st=(dt=(Nt=H.db).getAccDescription)==null?void 0:dt.call(Nt);BLe(J,ut,xt,st),N.select(`[id="${i}"]`).selectAll("foreignobject > *").attr("xmlns",mLe);let Et=N.select(A).node().innerHTML;if(Vt.debug("config.arrowMarkerAbsolute",v.arrowMarkerAbsolute),Et=ILe(Et,F,l1(v.arrowMarkerAbsolute)),F){const Ft=N.select(A+" svg").node();Et=OLe(Et,Ft)}else j||(Et=rW.sanitize(Et,{ADD_TAGS:CLe,ADD_ATTR:SLe}));if(aAe(),Y)throw Y;const pt=wr(F?E:A).node();return pt&&"remove"in pt&&pt.remove(),{svg:Et,bindFunctions:H.db.bindFunctions}};function FLe(i={}){var f;i!=null&&i.fontFamily&&!((f=i.themeVariables)!=null&&f.fontFamily)&&(i.themeVariables||(i.themeVariables={}),i.themeVariables.fontFamily=i.fontFamily),F_e(i),i!=null&&i.theme&&i.theme in m5?i.themeVariables=m5[i.theme].getThemeVariables(i.themeVariables):i&&(i.themeVariables=m5.default.getThemeVariables(i.themeVariables));const a=typeof i=="object"?N_e(i):TIt();jft(a.logLevel),gdt()}function BLe(i,a,f,p){hLe(a,i),fLe(a,f,p,a.attr("id"))}const f1=Object.freeze({render:NLe,parse:ALe,parseDirective:edt,getDiagramFromText:pdt,initialize:FLe,getConfig:Me,setConfig:_It,getSiteConfig:TIt,updateSiteConfig:B_e,reset:()=>{wW()},globalReset:()=>{wW(eE)},defaultConfig:eE});jft(Me().logLevel),wW(Me());const RLe=(i,a,f)=>{Vt.warn(i),GIt(i)?(f&&f(i.str,i.hash),a.push({...i,message:i.str,error:i})):(f&&f(i),i instanceof Error&&a.push({str:i.message,message:i.message,hash:i.name,error:i}))},qOt=async function(i={querySelector:".mermaid"}){try{await jLe(i)}catch(a){if(GIt(a)&&Vt.error(a.str),R2.parseError&&R2.parseError(a),!i.suppressErrors)throw Vt.error("Use the suppressErrors option to suppress these errors"),a}},jLe=async function({postRenderCallback:i,querySelector:a,nodes:f}={querySelector:".mermaid"}){const p=f1.getConfig();Vt.debug(`${i?"":"No "}Callback function found`);let v;if(f)v=f;else if(a)v=document.querySelectorAll(a);else throw new Error("Nodes and querySelector are both undefined");Vt.debug(`Found ${v.length} diagrams`),(p==null?void 0:p.startOnLoad)!==void 0&&(Vt.debug("Start On Load: "+(p==null?void 0:p.startOnLoad)),f1.updateSiteConfig({startOnLoad:p==null?void 0:p.startOnLoad}));const m=new ho.initIdGenerator(p.deterministicIds,p.deterministicIDSeed);let b;const E=[];for(const C of Array.from(v)){Vt.info("Rendering diagram: "+C.id);/*! Check if previously processed */if(C.getAttribute("data-processed"))continue;C.setAttribute("data-processed","true");const A=`mermaid-${m.next()}`;b=C.innerHTML,b=wA(ho.entityDecode(b)).trim().replace(/<br\s*\/?>/gi,"<br/>");const N=ho.detectInit(b);N&&Vt.debug("Detected early reinit: ",N);try{const{svg:F,bindFunctions:j}=await UOt(A,b,C);C.innerHTML=F,i&&await i(A),j&&j(C)}catch(F){RLe(F,E,R2.parseError)}}if(E.length>0)throw E[0]},HOt=function(i){f1.initialize(i)},$Le=async function(i,a,f){Vt.warn("mermaid.init is deprecated. Please use run instead."),i&&HOt(i);const p={postRenderCallback:f,querySelector:".mermaid"};typeof a=="string"?p.querySelector=a:a&&(a instanceof HTMLElement?p.nodes=[a]:p.nodes=a),await qOt(p)},zLe=async(i,{lazyLoad:a=!0}={})=>{OIt(...i),a===!1&&await J_e()},VOt=function(){if(R2.startOnLoad){const{startOnLoad:i}=f1.getConfig();i&&R2.run().catch(a=>Vt.error("Mermaid failed to initialize",a))}};if(typeof document<"u"){/*!
+ * Wait for document loaded before starting the execution
+ */window.addEventListener("load",VOt,!1)}const qLe=function(i){R2.parseError=i},BW=[];let kdt=!1;const GOt=async()=>{if(!kdt){for(kdt=!0;BW.length>0;){const i=BW.shift();if(i)try{await i()}catch(a){Vt.error("Error executing queue",a)}}kdt=!1}},HLe=async(i,a)=>new Promise((f,p)=>{const v=()=>new Promise((m,b)=>{f1.parse(i,a).then(E=>{m(E),f(E)},E=>{var C;Vt.error("Error parsing",E),(C=R2.parseError)==null||C.call(R2,E),b(E),p(E)})});BW.push(v),GOt().catch(p)}),UOt=(i,a,f)=>new Promise((p,v)=>{const m=()=>new Promise((b,E)=>{f1.render(i,a,f).then(C=>{b(C),p(C)},C=>{var A;Vt.error("Error parsing",C),(A=R2.parseError)==null||A.call(R2,C),E(C),v(C)})});BW.push(m),GOt().catch(v)}),R2={startOnLoad:!0,mermaidAPI:f1,parse:HLe,render:UOt,init:$Le,run:qOt,registerExternalDiagrams:zLe,initialize:HOt,parseError:void 0,contentLoaded:VOt,setParseErrorHandler:qLe,detectType:EW};var RW=function(){var i=function(Hi,Gn,Jn,Or){for(Jn=Jn||{},Or=Hi.length;Or--;Jn[Hi[Or]]=Gn);return Jn},a=[1,6],f=[1,7],p=[1,8],v=[1,9],m=[1,16],b=[1,11],E=[1,12],C=[1,13],A=[1,14],N=[1,15],F=[1,27],j=[1,33],R=[1,34],H=[1,35],Y=[1,36],rt=[1,37],J=[1,72],it=[1,73],ht=[1,74],Tt=[1,75],yt=[1,76],vt=[1,77],ut=[1,78],xt=[1,38],st=[1,39],Et=[1,40],gt=[1,41],pt=[1,42],Ct=[1,43],nt=[1,44],Nt=[1,45],dt=[1,46],Ft=[1,47],X=[1,48],Bt=[1,49],Rt=[1,50],mt=[1,51],Ot=[1,52],Gt=[1,53],Ve=[1,54],Cn=[1,55],xe=[1,56],Kn=[1,57],Se=[1,59],ee=[1,60],_e=[1,61],qe=[1,62],ce=[1,63],Ce=[1,64],he=[1,65],Re=[1,66],se=[1,67],Pe=[1,68],Qt=[1,69],vr=[24,52],$t=[24,44,46,47,48,49,50,51,52,54,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],ur=[15,24,44,46,47,48,49,50,51,52,54,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],le=[1,94],rr=[1,95],ar=[1,96],Qn=[1,97],Zn=[15,24,52],dn=[7,8,9,10,18,22,25,26,27,28],kn=[15,24,43,52],_r=[15,24,43,52,86,87,89,90],Rr=[15,43],os=[44,46,47,48,49,50,51,54,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],As={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(Gn,Jn,Or,Fn,Li,Dn,Ba){var zn=Dn.length-1;switch(Li){case 4:Fn.setDirection("TB");break;case 5:Fn.setDirection("BT");break;case 6:Fn.setDirection("RL");break;case 7:Fn.setDirection("LR");break;case 11:Fn.parseDirective("%%{","open_directive");break;case 12:break;case 13:Dn[zn]=Dn[zn].trim().replace(/'/g,'"'),Fn.parseDirective(Dn[zn],"arg_directive");break;case 14:Fn.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:Fn.setC4Type(Dn[zn-3]);break;case 26:Fn.setTitle(Dn[zn].substring(6)),this.$=Dn[zn].substring(6);break;case 27:Fn.setAccDescription(Dn[zn].substring(15)),this.$=Dn[zn].substring(15);break;case 28:this.$=Dn[zn].trim(),Fn.setTitle(this.$);break;case 29:case 30:this.$=Dn[zn].trim(),Fn.setAccDescription(this.$);break;case 35:case 36:Dn[zn].splice(2,0,"ENTERPRISE"),Fn.addPersonOrSystemBoundary(...Dn[zn]),this.$=Dn[zn];break;case 37:Fn.addPersonOrSystemBoundary(...Dn[zn]),this.$=Dn[zn];break;case 38:Dn[zn].splice(2,0,"CONTAINER"),Fn.addContainerBoundary(...Dn[zn]),this.$=Dn[zn];break;case 39:Fn.addDeploymentNode("node",...Dn[zn]),this.$=Dn[zn];break;case 40:Fn.addDeploymentNode("nodeL",...Dn[zn]),this.$=Dn[zn];break;case 41:Fn.addDeploymentNode("nodeR",...Dn[zn]),this.$=Dn[zn];break;case 42:Fn.popBoundaryParseStack();break;case 46:Fn.addPersonOrSystem("person",...Dn[zn]),this.$=Dn[zn];break;case 47:Fn.addPersonOrSystem("external_person",...Dn[zn]),this.$=Dn[zn];break;case 48:Fn.addPersonOrSystem("system",...Dn[zn]),this.$=Dn[zn];break;case 49:Fn.addPersonOrSystem("system_db",...Dn[zn]),this.$=Dn[zn];break;case 50:Fn.addPersonOrSystem("system_queue",...Dn[zn]),this.$=Dn[zn];break;case 51:Fn.addPersonOrSystem("external_system",...Dn[zn]),this.$=Dn[zn];break;case 52:Fn.addPersonOrSystem("external_system_db",...Dn[zn]),this.$=Dn[zn];break;case 53:Fn.addPersonOrSystem("external_system_queue",...Dn[zn]),this.$=Dn[zn];break;case 54:Fn.addContainer("container",...Dn[zn]),this.$=Dn[zn];break;case 55:Fn.addContainer("container_db",...Dn[zn]),this.$=Dn[zn];break;case 56:Fn.addContainer("container_queue",...Dn[zn]),this.$=Dn[zn];break;case 57:Fn.addContainer("external_container",...Dn[zn]),this.$=Dn[zn];break;case 58:Fn.addContainer("external_container_db",...Dn[zn]),this.$=Dn[zn];break;case 59:Fn.addContainer("external_container_queue",...Dn[zn]),this.$=Dn[zn];break;case 60:Fn.addComponent("component",...Dn[zn]),this.$=Dn[zn];break;case 61:Fn.addComponent("component_db",...Dn[zn]),this.$=Dn[zn];break;case 62:Fn.addComponent("component_queue",...Dn[zn]),this.$=Dn[zn];break;case 63:Fn.addComponent("external_component",...Dn[zn]),this.$=Dn[zn];break;case 64:Fn.addComponent("external_component_db",...Dn[zn]),this.$=Dn[zn];break;case 65:Fn.addComponent("external_component_queue",...Dn[zn]),this.$=Dn[zn];break;case 67:Fn.addRel("rel",...Dn[zn]),this.$=Dn[zn];break;case 68:Fn.addRel("birel",...Dn[zn]),this.$=Dn[zn];break;case 69:Fn.addRel("rel_u",...Dn[zn]),this.$=Dn[zn];break;case 70:Fn.addRel("rel_d",...Dn[zn]),this.$=Dn[zn];break;case 71:Fn.addRel("rel_l",...Dn[zn]),this.$=Dn[zn];break;case 72:Fn.addRel("rel_r",...Dn[zn]),this.$=Dn[zn];break;case 73:Fn.addRel("rel_b",...Dn[zn]),this.$=Dn[zn];break;case 74:Dn[zn].splice(0,1),Fn.addRel("rel",...Dn[zn]),this.$=Dn[zn];break;case 75:Fn.updateElStyle("update_el_style",...Dn[zn]),this.$=Dn[zn];break;case 76:Fn.updateRelStyle("update_rel_style",...Dn[zn]),this.$=Dn[zn];break;case 77:Fn.updateLayoutConfig("update_layout_config",...Dn[zn]),this.$=Dn[zn];break;case 78:this.$=[Dn[zn]];break;case 79:Dn[zn].unshift(Dn[zn-1]),this.$=Dn[zn];break;case 80:case 82:this.$=Dn[zn].trim();break;case 81:let is={};is[Dn[zn-1].trim()]=Dn[zn].trim(),this.$=is;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:a,8:f,9:p,10:v,11:5,12:10,18:m,22:b,25:E,26:C,27:A,28:N},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:a,8:f,9:p,10:v,11:5,12:10,18:m,22:b,25:E,26:C,27:A,28:N},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:F},i([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:j,33:R,34:H,36:Y,38:rt,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{23:79,29:29,30:30,31:31,32:j,33:R,34:H,36:Y,38:rt,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{23:80,29:29,30:30,31:31,32:j,33:R,34:H,36:Y,38:rt,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{23:81,29:29,30:30,31:31,32:j,33:R,34:H,36:Y,38:rt,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{23:82,29:29,30:30,31:31,32:j,33:R,34:H,36:Y,38:rt,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},i(vr,[2,20],{53:32,39:58,40:70,42:71,30:87,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt}),i(vr,[2,21]),i($t,[2,23],{15:[1,88]}),i(vr,[2,43],{15:[1,89]}),i(ur,[2,26]),i(ur,[2,27]),{35:[1,90]},{37:[1,91]},i(ur,[2,30]),{45:92,85:93,86:le,87:rr,89:ar,90:Qn},{45:98,85:93,86:le,87:rr,89:ar,90:Qn},{45:99,85:93,86:le,87:rr,89:ar,90:Qn},{45:100,85:93,86:le,87:rr,89:ar,90:Qn},{45:101,85:93,86:le,87:rr,89:ar,90:Qn},{45:102,85:93,86:le,87:rr,89:ar,90:Qn},{45:103,85:93,86:le,87:rr,89:ar,90:Qn},{45:104,85:93,86:le,87:rr,89:ar,90:Qn},{45:105,85:93,86:le,87:rr,89:ar,90:Qn},{45:106,85:93,86:le,87:rr,89:ar,90:Qn},{45:107,85:93,86:le,87:rr,89:ar,90:Qn},{45:108,85:93,86:le,87:rr,89:ar,90:Qn},{45:109,85:93,86:le,87:rr,89:ar,90:Qn},{45:110,85:93,86:le,87:rr,89:ar,90:Qn},{45:111,85:93,86:le,87:rr,89:ar,90:Qn},{45:112,85:93,86:le,87:rr,89:ar,90:Qn},{45:113,85:93,86:le,87:rr,89:ar,90:Qn},{45:114,85:93,86:le,87:rr,89:ar,90:Qn},{45:115,85:93,86:le,87:rr,89:ar,90:Qn},{45:116,85:93,86:le,87:rr,89:ar,90:Qn},i(Zn,[2,66]),{45:117,85:93,86:le,87:rr,89:ar,90:Qn},{45:118,85:93,86:le,87:rr,89:ar,90:Qn},{45:119,85:93,86:le,87:rr,89:ar,90:Qn},{45:120,85:93,86:le,87:rr,89:ar,90:Qn},{45:121,85:93,86:le,87:rr,89:ar,90:Qn},{45:122,85:93,86:le,87:rr,89:ar,90:Qn},{45:123,85:93,86:le,87:rr,89:ar,90:Qn},{45:124,85:93,86:le,87:rr,89:ar,90:Qn},{45:125,85:93,86:le,87:rr,89:ar,90:Qn},{45:126,85:93,86:le,87:rr,89:ar,90:Qn},{45:127,85:93,86:le,87:rr,89:ar,90:Qn},{30:128,39:58,40:70,42:71,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,53:32,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt},{15:[1,130],43:[1,129]},{45:131,85:93,86:le,87:rr,89:ar,90:Qn},{45:132,85:93,86:le,87:rr,89:ar,90:Qn},{45:133,85:93,86:le,87:rr,89:ar,90:Qn},{45:134,85:93,86:le,87:rr,89:ar,90:Qn},{45:135,85:93,86:le,87:rr,89:ar,90:Qn},{45:136,85:93,86:le,87:rr,89:ar,90:Qn},{45:137,85:93,86:le,87:rr,89:ar,90:Qn},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},i(dn,[2,9]),{14:142,21:F},{21:[2,13]},{1:[2,15]},i(vr,[2,22]),i($t,[2,24],{31:31,29:143,32:j,33:R,34:H,36:Y,38:rt}),i(vr,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:j,33:R,34:H,36:Y,38:rt,44:J,46:it,47:ht,48:Tt,49:yt,50:vt,51:ut,54:xt,55:st,56:Et,57:gt,58:pt,59:Ct,60:nt,61:Nt,62:dt,63:Ft,64:X,65:Bt,66:Rt,67:mt,68:Ot,69:Gt,70:Ve,71:Cn,72:xe,73:Kn,74:Se,75:ee,76:_e,77:qe,78:ce,79:Ce,80:he,81:Re,82:se,83:Pe,84:Qt}),i(ur,[2,28]),i(ur,[2,29]),i(Zn,[2,46]),i(kn,[2,78],{85:93,45:145,86:le,87:rr,89:ar,90:Qn}),i(_r,[2,80]),{88:[1,146]},i(_r,[2,82]),i(_r,[2,83]),i(Zn,[2,47]),i(Zn,[2,48]),i(Zn,[2,49]),i(Zn,[2,50]),i(Zn,[2,51]),i(Zn,[2,52]),i(Zn,[2,53]),i(Zn,[2,54]),i(Zn,[2,55]),i(Zn,[2,56]),i(Zn,[2,57]),i(Zn,[2,58]),i(Zn,[2,59]),i(Zn,[2,60]),i(Zn,[2,61]),i(Zn,[2,62]),i(Zn,[2,63]),i(Zn,[2,64]),i(Zn,[2,65]),i(Zn,[2,67]),i(Zn,[2,68]),i(Zn,[2,69]),i(Zn,[2,70]),i(Zn,[2,71]),i(Zn,[2,72]),i(Zn,[2,73]),i(Zn,[2,74]),i(Zn,[2,75]),i(Zn,[2,76]),i(Zn,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},i(Rr,[2,35]),i(Rr,[2,36]),i(Rr,[2,37]),i(Rr,[2,38]),i(Rr,[2,39]),i(Rr,[2,40]),i(Rr,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},i($t,[2,25]),i(vr,[2,45]),i(kn,[2,79]),i(_r,[2,81]),i(Zn,[2,31]),i(Zn,[2,42]),i(os,[2,32]),i(os,[2,33],{15:[1,152]}),i(dn,[2,10]),i(os,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(Gn,Jn){if(Jn.recoverable)this.trace(Gn);else{var Or=new Error(Gn);throw Or.hash=Jn,Or}},parse:function(Gn){var Jn=this,Or=[0],Fn=[],Li=[null],Dn=[],Ba=this.table,zn="",is=0,La=0,Xa=2,Ta=1,ga=Dn.slice.call(arguments,1),Es=Object.create(this.lexer),Bs={yy:{}};for(var _a in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_a)&&(Bs.yy[_a]=this.yy[_a]);Es.setInput(Gn,Bs.yy),Bs.yy.lexer=Es,Bs.yy.parser=this,typeof Es.yylloc>"u"&&(Es.yylloc={});var Ma=Es.yylloc;Dn.push(Ma);var Ga=Es.options&&Es.options.ranges;typeof Bs.yy.parseError=="function"?this.parseError=Bs.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ov(){var ci;return ci=Fn.pop()||Es.lex()||Ta,typeof ci!="number"&&(ci instanceof Array&&(Fn=ci,ci=Fn.pop()),ci=Jn.symbols_[ci]||ci),ci}for(var rl,mu,Ls,bp,ad={},Rl,$u,Gi,Ue;;){if(mu=Or[Or.length-1],this.defaultActions[mu]?Ls=this.defaultActions[mu]:((rl===null||typeof rl>"u")&&(rl=ov()),Ls=Ba[mu]&&Ba[mu][rl]),typeof Ls>"u"||!Ls.length||!Ls[0]){var Cr="";Ue=[];for(Rl in Ba[mu])this.terminals_[Rl]&&Rl>Xa&&Ue.push("'"+this.terminals_[Rl]+"'");Es.showPosition?Cr="Parse error on line "+(is+1)+`:
+`+Es.showPosition()+`
+Expecting `+Ue.join(", ")+", got '"+(this.terminals_[rl]||rl)+"'":Cr="Parse error on line "+(is+1)+": Unexpected "+(rl==Ta?"end of input":"'"+(this.terminals_[rl]||rl)+"'"),this.parseError(Cr,{text:Es.match,token:this.terminals_[rl]||rl,line:Es.yylineno,loc:Ma,expected:Ue})}if(Ls[0]instanceof Array&&Ls.length>1)throw new Error("Parse Error: multiple actions possible at state: "+mu+", token: "+rl);switch(Ls[0]){case 1:Or.push(rl),Li.push(Es.yytext),Dn.push(Es.yylloc),Or.push(Ls[1]),rl=null,La=Es.yyleng,zn=Es.yytext,is=Es.yylineno,Ma=Es.yylloc;break;case 2:if($u=this.productions_[Ls[1]][1],ad.$=Li[Li.length-$u],ad._$={first_line:Dn[Dn.length-($u||1)].first_line,last_line:Dn[Dn.length-1].last_line,first_column:Dn[Dn.length-($u||1)].first_column,last_column:Dn[Dn.length-1].last_column},Ga&&(ad._$.range=[Dn[Dn.length-($u||1)].range[0],Dn[Dn.length-1].range[1]]),bp=this.performAction.apply(ad,[zn,La,is,Bs.yy,Ls[1],Li,Dn].concat(ga)),typeof bp<"u")return bp;$u&&(Or=Or.slice(0,-1*$u*2),Li=Li.slice(0,-1*$u),Dn=Dn.slice(0,-1*$u)),Or.push(this.productions_[Ls[1]][0]),Li.push(ad.$),Dn.push(ad._$),Gi=Ba[Or[Or.length-2]][Or[Or.length-1]],Or.push(Gi);break;case 3:return!0}}return!0}},ma=function(){var Hi={EOF:1,parseError:function(Jn,Or){if(this.yy.parser)this.yy.parser.parseError(Jn,Or);else throw new Error(Jn)},setInput:function(Gn,Jn){return this.yy=Jn||this.yy||{},this._input=Gn,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 Gn=this._input[0];this.yytext+=Gn,this.yyleng++,this.offset++,this.match+=Gn,this.matched+=Gn;var Jn=Gn.match(/(?:\r\n?|\n).*/g);return Jn?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Gn},unput:function(Gn){var Jn=Gn.length,Or=Gn.split(/(?:\r\n?|\n)/g);this._input=Gn+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Jn),this.offset-=Jn;var Fn=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),Or.length-1&&(this.yylineno-=Or.length-1);var Li=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:Or?(Or.length===Fn.length?this.yylloc.first_column:0)+Fn[Fn.length-Or.length].length-Or[0].length:this.yylloc.first_column-Jn},this.options.ranges&&(this.yylloc.range=[Li[0],Li[0]+this.yyleng-Jn]),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(Gn){this.unput(this.match.slice(Gn))},pastInput:function(){var Gn=this.matched.substr(0,this.matched.length-this.match.length);return(Gn.length>20?"...":"")+Gn.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Gn=this.match;return Gn.length<20&&(Gn+=this._input.substr(0,20-Gn.length)),(Gn.substr(0,20)+(Gn.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Gn=this.pastInput(),Jn=new Array(Gn.length+1).join("-");return Gn+this.upcomingInput()+`
+`+Jn+"^"},test_match:function(Gn,Jn){var Or,Fn,Li;if(this.options.backtrack_lexer&&(Li={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&&(Li.yylloc.range=this.yylloc.range.slice(0))),Fn=Gn[0].match(/(?:\r\n?|\n).*/g),Fn&&(this.yylineno+=Fn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Fn?Fn[Fn.length-1].length-Fn[Fn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Gn[0].length},this.yytext+=Gn[0],this.match+=Gn[0],this.matches=Gn,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(Gn[0].length),this.matched+=Gn[0],Or=this.performAction.call(this,this.yy,this,Jn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Or)return Or;if(this._backtrack){for(var Dn in Li)this[Dn]=Li[Dn];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Gn,Jn,Or,Fn;this._more||(this.yytext="",this.match="");for(var Li=this._currentRules(),Dn=0;Dn<Li.length;Dn++)if(Or=this._input.match(this.rules[Li[Dn]]),Or&&(!Jn||Or[0].length>Jn[0].length)){if(Jn=Or,Fn=Dn,this.options.backtrack_lexer){if(Gn=this.test_match(Or,Li[Dn]),Gn!==!1)return Gn;if(this._backtrack){Jn=!1;continue}else return!1}else if(!this.options.flex)break}return Jn?(Gn=this.test_match(Jn,Li[Fn]),Gn!==!1?Gn:!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 Jn=this.next();return Jn||this.lex()},begin:function(Jn){this.conditionStack.push(Jn)},popState:function(){var Jn=this.conditionStack.length-1;return Jn>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(Jn){return Jn=this.conditionStack.length-1-Math.abs(Jn||0),Jn>=0?this.conditionStack[Jn]:"INITIAL"},pushState:function(Jn){this.begin(Jn)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Jn,Or,Fn,Li){switch(Fn){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:break;case 19:c;break;case 20:return 15;case 21:break;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:return this.begin("node"),49;case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:return this.begin("rel_u"),76;case 58:return this.begin("rel_u"),76;case 59:return this.begin("rel_d"),77;case 60:return this.begin("rel_d"),77;case 61:return this.begin("rel_l"),78;case 62:return this.begin("rel_l"),78;case 63:return this.begin("rel_r"),79;case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:this.popState(),this.popState();break;case 74:return 90;case 75:break;case 76:return 90;case 77:this.begin("string");break;case 78:this.popState();break;case 79:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 84:this.popState(),this.popState();break;case 85:return"STR";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[70,71,72,73],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,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,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};return Hi}();As.lexer=ma;function Zr(){this.yy={}}return Zr.prototype=As,As.Parser=Zr,new Zr}();RW.parser=RW;const VLe=RW;let em=[],ak=[""],pg="global",nm="",d3=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],nN=[],Edt="",Tdt=!1,jW=4,$W=2;var WOt;const GLe=function(){return WOt},ULe=function(i){WOt=cg(i,Me())},WLe=function(i,a,f){f1.parseDirective(this,i,a,f)},KLe=function(i,a,f,p,v,m,b,E,C){if(i==null||a===void 0||a===null||f===void 0||f===null||p===void 0||p===null)return;let A={};const N=nN.find(F=>F.from===a&&F.to===f);if(N?A=N:nN.push(A),A.type=i,A.from=a,A.to=f,A.label={text:p},v==null)A.techn={text:""};else if(typeof v=="object"){let[F,j]=Object.entries(v)[0];A[F]={text:j}}else A.techn={text:v};if(m==null)A.descr={text:""};else if(typeof m=="object"){let[F,j]=Object.entries(m)[0];A[F]={text:j}}else A.descr={text:m};if(typeof b=="object"){let[F,j]=Object.entries(b)[0];A[F]=j}else A.sprite=b;if(typeof E=="object"){let[F,j]=Object.entries(E)[0];A[F]=j}else A.tags=E;if(typeof C=="object"){let[F,j]=Object.entries(C)[0];A[F]=j}else A.link=C;A.wrap=ok()},YLe=function(i,a,f,p,v,m,b){if(a===null||f===null)return;let E={};const C=em.find(A=>A.alias===a);if(C&&a===C.alias?E=C:(E.alias=a,em.push(E)),f==null?E.label={text:""}:E.label={text:f},p==null)E.descr={text:""};else if(typeof p=="object"){let[A,N]=Object.entries(p)[0];E[A]={text:N}}else E.descr={text:p};if(typeof v=="object"){let[A,N]=Object.entries(v)[0];E[A]=N}else E.sprite=v;if(typeof m=="object"){let[A,N]=Object.entries(m)[0];E[A]=N}else E.tags=m;if(typeof b=="object"){let[A,N]=Object.entries(b)[0];E[A]=N}else E.link=b;E.typeC4Shape={text:i},E.parentBoundary=pg,E.wrap=ok()},XLe=function(i,a,f,p,v,m,b,E){if(a===null||f===null)return;let C={};const A=em.find(N=>N.alias===a);if(A&&a===A.alias?C=A:(C.alias=a,em.push(C)),f==null?C.label={text:""}:C.label={text:f},p==null)C.techn={text:""};else if(typeof p=="object"){let[N,F]=Object.entries(p)[0];C[N]={text:F}}else C.techn={text:p};if(v==null)C.descr={text:""};else if(typeof v=="object"){let[N,F]=Object.entries(v)[0];C[N]={text:F}}else C.descr={text:v};if(typeof m=="object"){let[N,F]=Object.entries(m)[0];C[N]=F}else C.sprite=m;if(typeof b=="object"){let[N,F]=Object.entries(b)[0];C[N]=F}else C.tags=b;if(typeof E=="object"){let[N,F]=Object.entries(E)[0];C[N]=F}else C.link=E;C.wrap=ok(),C.typeC4Shape={text:i},C.parentBoundary=pg},QLe=function(i,a,f,p,v,m,b,E){if(a===null||f===null)return;let C={};const A=em.find(N=>N.alias===a);if(A&&a===A.alias?C=A:(C.alias=a,em.push(C)),f==null?C.label={text:""}:C.label={text:f},p==null)C.techn={text:""};else if(typeof p=="object"){let[N,F]=Object.entries(p)[0];C[N]={text:F}}else C.techn={text:p};if(v==null)C.descr={text:""};else if(typeof v=="object"){let[N,F]=Object.entries(v)[0];C[N]={text:F}}else C.descr={text:v};if(typeof m=="object"){let[N,F]=Object.entries(m)[0];C[N]=F}else C.sprite=m;if(typeof b=="object"){let[N,F]=Object.entries(b)[0];C[N]=F}else C.tags=b;if(typeof E=="object"){let[N,F]=Object.entries(E)[0];C[N]=F}else C.link=E;C.wrap=ok(),C.typeC4Shape={text:i},C.parentBoundary=pg},ZLe=function(i,a,f,p,v){if(i===null||a===null)return;let m={};const b=d3.find(E=>E.alias===i);if(b&&i===b.alias?m=b:(m.alias=i,d3.push(m)),a==null?m.label={text:""}:m.label={text:a},f==null)m.type={text:"system"};else if(typeof f=="object"){let[E,C]=Object.entries(f)[0];m[E]={text:C}}else m.type={text:f};if(typeof p=="object"){let[E,C]=Object.entries(p)[0];m[E]=C}else m.tags=p;if(typeof v=="object"){let[E,C]=Object.entries(v)[0];m[E]=C}else m.link=v;m.parentBoundary=pg,m.wrap=ok(),nm=pg,pg=i,ak.push(nm)},JLe=function(i,a,f,p,v){if(i===null||a===null)return;let m={};const b=d3.find(E=>E.alias===i);if(b&&i===b.alias?m=b:(m.alias=i,d3.push(m)),a==null?m.label={text:""}:m.label={text:a},f==null)m.type={text:"container"};else if(typeof f=="object"){let[E,C]=Object.entries(f)[0];m[E]={text:C}}else m.type={text:f};if(typeof p=="object"){let[E,C]=Object.entries(p)[0];m[E]=C}else m.tags=p;if(typeof v=="object"){let[E,C]=Object.entries(v)[0];m[E]=C}else m.link=v;m.parentBoundary=pg,m.wrap=ok(),nm=pg,pg=i,ak.push(nm)},tMe=function(i,a,f,p,v,m,b,E){if(a===null||f===null)return;let C={};const A=d3.find(N=>N.alias===a);if(A&&a===A.alias?C=A:(C.alias=a,d3.push(C)),f==null?C.label={text:""}:C.label={text:f},p==null)C.type={text:"node"};else if(typeof p=="object"){let[N,F]=Object.entries(p)[0];C[N]={text:F}}else C.type={text:p};if(v==null)C.descr={text:""};else if(typeof v=="object"){let[N,F]=Object.entries(v)[0];C[N]={text:F}}else C.descr={text:v};if(typeof b=="object"){let[N,F]=Object.entries(b)[0];C[N]=F}else C.tags=b;if(typeof E=="object"){let[N,F]=Object.entries(E)[0];C[N]=F}else C.link=E;C.nodeType=i,C.parentBoundary=pg,C.wrap=ok(),nm=pg,pg=a,ak.push(nm)},eMe=function(){pg=nm,ak.pop(),nm=ak.pop(),ak.push(nm)},nMe=function(i,a,f,p,v,m,b,E,C,A,N){let F=em.find(j=>j.alias===a);if(!(F===void 0&&(F=d3.find(j=>j.alias===a),F===void 0))){if(f!=null)if(typeof f=="object"){let[j,R]=Object.entries(f)[0];F[j]=R}else F.bgColor=f;if(p!=null)if(typeof p=="object"){let[j,R]=Object.entries(p)[0];F[j]=R}else F.fontColor=p;if(v!=null)if(typeof v=="object"){let[j,R]=Object.entries(v)[0];F[j]=R}else F.borderColor=v;if(m!=null)if(typeof m=="object"){let[j,R]=Object.entries(m)[0];F[j]=R}else F.shadowing=m;if(b!=null)if(typeof b=="object"){let[j,R]=Object.entries(b)[0];F[j]=R}else F.shape=b;if(E!=null)if(typeof E=="object"){let[j,R]=Object.entries(E)[0];F[j]=R}else F.sprite=E;if(C!=null)if(typeof C=="object"){let[j,R]=Object.entries(C)[0];F[j]=R}else F.techn=C;if(A!=null)if(typeof A=="object"){let[j,R]=Object.entries(A)[0];F[j]=R}else F.legendText=A;if(N!=null)if(typeof N=="object"){let[j,R]=Object.entries(N)[0];F[j]=R}else F.legendSprite=N}},rMe=function(i,a,f,p,v,m,b){const E=nN.find(C=>C.from===a&&C.to===f);if(E!==void 0){if(p!=null)if(typeof p=="object"){let[C,A]=Object.entries(p)[0];E[C]=A}else E.textColor=p;if(v!=null)if(typeof v=="object"){let[C,A]=Object.entries(v)[0];E[C]=A}else E.lineColor=v;if(m!=null)if(typeof m=="object"){let[C,A]=Object.entries(m)[0];E[C]=parseInt(A)}else E.offsetX=parseInt(m);if(b!=null)if(typeof b=="object"){let[C,A]=Object.entries(b)[0];E[C]=parseInt(A)}else E.offsetY=parseInt(b)}},iMe=function(i,a,f){let p=jW,v=$W;if(typeof a=="object"){const m=Object.values(a)[0];p=parseInt(m)}else p=parseInt(a);if(typeof f=="object"){const m=Object.values(f)[0];v=parseInt(m)}else v=parseInt(f);p>=1&&(jW=p),v>=1&&($W=v)},sMe=function(){return jW},aMe=function(){return $W},oMe=function(){return pg},cMe=function(){return nm},KOt=function(i){return i==null?em:em.filter(a=>a.parentBoundary===i)},uMe=function(i){return em.find(a=>a.alias===i)},lMe=function(i){return Object.keys(KOt(i))},hMe=function(i){return i==null?d3:d3.filter(a=>a.parentBoundary===i)},fMe=function(){return nN},dMe=function(){return Edt},gMe=function(i){Tdt=i},ok=function(){return Tdt},YOt={addPersonOrSystem:YLe,addPersonOrSystemBoundary:ZLe,addContainer:XLe,addContainerBoundary:JLe,addComponent:QLe,addDeploymentNode:tMe,popBoundaryParseStack:eMe,addRel:KLe,updateElStyle:nMe,updateRelStyle:rMe,updateLayoutConfig:iMe,autoWrap:ok,setWrap:gMe,getC4ShapeArray:KOt,getC4Shape:uMe,getC4ShapeKeys:lMe,getBoundarys:hMe,getCurrentBoundaryParse:oMe,getParentBoundaryParse:cMe,getRels:fMe,getTitle:dMe,getC4Type:GLe,getC4ShapeInRow:sMe,getC4BoundaryInRow:aMe,setAccTitle:E0,getAccTitle:fg,getAccDescription:gg,setAccDescription:dg,parseDirective:WLe,getConfig:()=>Me().c4,clear:function(){em=[],d3=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],nm="",pg="global",ak=[""],nN=[],ak=[""],Edt="",Tdt=!1,jW=4,$W=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){Edt=cg(i,Me())},setC4Type:ULe},zW=function(i,a){const f=i.append("rect");if(f.attr("x",a.x),f.attr("y",a.y),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("width",a.width),f.attr("height",a.height),f.attr("rx",a.rx),f.attr("ry",a.ry),a.attrs!=="undefined"&&a.attrs!==null)for(let p in a.attrs)f.attr(p,a.attrs[p]);return a.class!=="undefined"&&f.attr("class",a.class),f},XOt=function(i,a){zW(i,{x:a.startx,y:a.starty,width:a.stopx-a.startx,height:a.stopy-a.starty,fill:a.fill,stroke:a.stroke,class:"rect"}).lower()},pMe=function(i,a){const f=a.text.replace(/<br\s*\/?>/gi," "),p=i.append("text");p.attr("x",a.x),p.attr("y",a.y),p.attr("class","legend"),p.style("text-anchor",a.anchor),a.class!==void 0&&p.attr("class",a.class);const v=p.append("tspan");return v.attr("x",a.x+a.textMargin*2),v.text(f),p},bMe=function(i,a,f,p){const v=i.append("image");v.attr("x",a),v.attr("y",f);var m=Zx(p);v.attr("xlink:href",m)},vMe=function(i,a,f,p){const v=i.append("use");v.attr("x",a),v.attr("y",f);const m=Zx(p);v.attr("xlink:href","#"+m)},lE=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},_dt=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Cdt=function(i,a){return zW(i,a)},QOt=function(i,a,f,p,v,m){const b=i.append("image");b.attr("width",a),b.attr("height",f),b.attr("x",p),b.attr("y",v);let E=m.startsWith("data:image/png;base64")?m:Zx(m);b.attr("xlink:href",E)},wMe=(i,a,f)=>{const p=i.append("g");let v=0;for(let m of a){let b=m.textColor?m.textColor:"#444444",E=m.lineColor?m.lineColor:"#444444",C=m.offsetX?parseInt(m.offsetX):0,A=m.offsetY?parseInt(m.offsetY):0,N="";if(v===0){let j=p.append("line");j.attr("x1",m.startPoint.x),j.attr("y1",m.startPoint.y),j.attr("x2",m.endPoint.x),j.attr("y2",m.endPoint.y),j.attr("stroke-width","1"),j.attr("stroke",E),j.style("fill","none"),m.type!=="rel_b"&&j.attr("marker-end","url("+N+"#arrowhead)"),(m.type==="birel"||m.type==="rel_b")&&j.attr("marker-start","url("+N+"#arrowend)"),v=-1}else{let j=p.append("path");j.attr("fill","none").attr("stroke-width","1").attr("stroke",E).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",m.startPoint.x).replaceAll("starty",m.startPoint.y).replaceAll("controlx",m.startPoint.x+(m.endPoint.x-m.startPoint.x)/2-(m.endPoint.x-m.startPoint.x)/4).replaceAll("controly",m.startPoint.y+(m.endPoint.y-m.startPoint.y)/2).replaceAll("stopx",m.endPoint.x).replaceAll("stopy",m.endPoint.y)),m.type!=="rel_b"&&j.attr("marker-end","url("+N+"#arrowhead)"),(m.type==="birel"||m.type==="rel_b")&&j.attr("marker-start","url("+N+"#arrowend)")}let F=f.messageFont();E5(f)(m.label.text,p,Math.min(m.startPoint.x,m.endPoint.x)+Math.abs(m.endPoint.x-m.startPoint.x)/2+C,Math.min(m.startPoint.y,m.endPoint.y)+Math.abs(m.endPoint.y-m.startPoint.y)/2+A,m.label.width,m.label.height,{fill:b},F),m.techn&&m.techn.text!==""&&(F=f.messageFont(),E5(f)("["+m.techn.text+"]",p,Math.min(m.startPoint.x,m.endPoint.x)+Math.abs(m.endPoint.x-m.startPoint.x)/2+C,Math.min(m.startPoint.y,m.endPoint.y)+Math.abs(m.endPoint.y-m.startPoint.y)/2+f.messageFontSize+5+A,Math.max(m.label.width,m.techn.width),m.techn.height,{fill:b,"font-style":"italic"},F))}},mMe=function(i,a,f){const p=i.append("g");let v=a.bgColor?a.bgColor:"none",m=a.borderColor?a.borderColor:"#444444",b=a.fontColor?a.fontColor:"black",E={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};a.nodeType&&(E={"stroke-width":1});let C={x:a.x,y:a.y,fill:v,stroke:m,width:a.width,height:a.height,rx:2.5,ry:2.5,attrs:E};Cdt(p,C);let A=f.boundaryFont();A.fontWeight="bold",A.fontSize=A.fontSize+2,A.fontColor=b,E5(f)(a.label.text,p,a.x,a.y+a.label.Y,a.width,a.height,{fill:"#444444"},A),a.type&&a.type.text!==""&&(A=f.boundaryFont(),A.fontColor=b,E5(f)(a.type.text,p,a.x,a.y+a.type.Y,a.width,a.height,{fill:"#444444"},A)),a.descr&&a.descr.text!==""&&(A=f.boundaryFont(),A.fontSize=A.fontSize-2,A.fontColor=b,E5(f)(a.descr.text,p,a.x,a.y+a.descr.Y,a.width,a.height,{fill:"#444444"},A))},yMe=function(i,a,f){var F;let p=a.bgColor?a.bgColor:f[a.typeC4Shape.text+"_bg_color"],v=a.borderColor?a.borderColor:f[a.typeC4Shape.text+"_border_color"],m=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 E=i.append("g");E.attr("class","person-man");const C=lE();switch(a.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":C.x=a.x,C.y=a.y,C.fill=p,C.width=a.width,C.height=a.height,C.stroke=v,C.rx=2.5,C.ry=2.5,C.attrs={"stroke-width":.5},Cdt(E,C);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":E.append("path").attr("fill",p).attr("stroke-width","0.5").attr("stroke",v).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)),E.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",v).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":E.append("path").attr("fill",p).attr("stroke-width","0.5").attr("stroke",v).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)),E.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",v).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 A=LMe(f,a.typeC4Shape.text);switch(E.append("text").attr("fill",m).attr("font-family",A.fontFamily).attr("font-size",A.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":QOt(E,48,48,a.x+a.width/2-24,a.y+a.image.Y,b);break}let N=f[a.typeC4Shape.text+"Font"]();return N.fontWeight="bold",N.fontSize=N.fontSize+2,N.fontColor=m,E5(f)(a.label.text,E,a.x,a.y+a.label.Y,a.width,a.height,{fill:m},N),N=f[a.typeC4Shape.text+"Font"](),N.fontColor=m,a.techn&&((F=a.techn)==null?void 0:F.text)!==""?E5(f)(a.techn.text,E,a.x,a.y+a.techn.Y,a.width,a.height,{fill:m,"font-style":"italic"},N):a.type&&a.type.text!==""&&E5(f)(a.type.text,E,a.x,a.y+a.type.Y,a.width,a.height,{fill:m,"font-style":"italic"},N),a.descr&&a.descr.text!==""&&(N=f.personFont(),N.fontColor=m,E5(f)(a.descr.text,E,a.x,a.y+a.descr.Y,a.width,a.height,{fill:m},N)),a.height},xMe=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")},kMe=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")},EMe=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")},TMe=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")},_Me=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")},CMe=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")},SMe=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)},AMe=function(i){const f=i.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);f.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"),f.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")},LMe=(i,a)=>({fontFamily:i[a+"FontFamily"],fontSize:i[a+"FontSize"],fontWeight:i[a+"FontWeight"]}),E5=function(){function i(v,m,b,E,C,A,N){const F=m.append("text").attr("x",b+C/2).attr("y",E+A/2+5).style("text-anchor","middle").text(v);p(F,N)}function a(v,m,b,E,C,A,N,F){const{fontSize:j,fontFamily:R,fontWeight:H}=F,Y=v.split(bi.lineBreakRegex);for(let rt=0;rt<Y.length;rt++){const J=rt*j-j*(Y.length-1)/2,it=m.append("text").attr("x",b+C/2).attr("y",E).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",j).style("font-weight",H).style("font-family",R);it.append("tspan").attr("dy",J).text(Y[rt]).attr("alignment-baseline","mathematical"),p(it,N)}}function f(v,m,b,E,C,A,N,F){const j=m.append("switch"),H=j.append("foreignObject").attr("x",b).attr("y",E).attr("width",C).attr("height",A).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");H.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(v),a(v,j,b,E,C,A,N,F),p(H,N)}function p(v,m){for(const b in m)m.hasOwnProperty(b)&&v.attr(b,m[b])}return function(v){return v.textPlacement==="fo"?f:v.textPlacement==="old"?i:a}}(),g3={drawRect:Cdt,drawBoundary:mMe,drawC4Shape:yMe,drawRels:wMe,drawImage:QOt,insertArrowHead:TMe,insertArrowEnd:_Me,insertArrowFilledHead:CMe,insertDynamicNumber:SMe,insertArrowCrossHead:AMe,insertDatabaseIcon:xMe,insertComputerIcon:kMe,insertClockIcon:EMe};let qW=0,HW=0,ZOt=4,Sdt=2;RW.yy=YOt;let Ss={};class JOt{constructor(a){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,Adt(a.db.getConfig())}setData(a,f,p,v){this.nextData.startx=this.data.startx=a,this.nextData.stopx=this.data.stopx=f,this.nextData.starty=this.data.starty=p,this.nextData.stopy=this.data.stopy=v}updateVal(a,f,p,v){a[f]===void 0?a[f]=p:a[f]=v(p,a[f])}insert(a){this.nextData.cnt=this.nextData.cnt+1;let f=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+a.margin:this.nextData.stopx+a.margin*2,p=f+a.width,v=this.nextData.starty+a.margin*2,m=v+a.height;(f>=this.data.widthLimit||p>=this.data.widthLimit||this.nextData.cnt>ZOt)&&(f=this.nextData.startx+a.margin+Ss.nextLinePaddingX,v=this.nextData.stopy+a.margin*2,this.nextData.stopx=p=f+a.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=m=v+a.height,this.nextData.cnt=1),a.x=f,a.y=v,this.updateVal(this.data,"startx",f,Math.min),this.updateVal(this.data,"starty",v,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",m,Math.max),this.updateVal(this.nextData,"startx",f,Math.min),this.updateVal(this.nextData,"starty",v,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",m,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},Adt(a.db.getConfig())}bumpLastMargin(a){this.data.stopx+=a,this.data.stopy+=a}}const Adt=function(i){rd(Ss,i),i.fontFamily&&(Ss.personFontFamily=Ss.systemFontFamily=Ss.messageFontFamily=i.fontFamily),i.fontSize&&(Ss.personFontSize=Ss.systemFontSize=Ss.messageFontSize=i.fontSize),i.fontWeight&&(Ss.personFontWeight=Ss.systemFontWeight=Ss.messageFontWeight=i.fontWeight)},rN=(i,a)=>({fontFamily:i[a+"FontFamily"],fontSize:i[a+"FontSize"],fontWeight:i[a+"FontWeight"]}),VW=i=>({fontFamily:i.boundaryFontFamily,fontSize:i.boundaryFontSize,fontWeight:i.boundaryFontWeight}),MMe=i=>({fontFamily:i.messageFontFamily,fontSize:i.messageFontSize,fontWeight:i.messageFontWeight});function rm(i,a,f,p,v){if(!a[i].width)if(f)a[i].text=VIt(a[i].text,v,p),a[i].textLines=a[i].text.split(bi.lineBreakRegex).length,a[i].width=v,a[i].height=sdt(a[i].text,p);else{let m=a[i].text.split(bi.lineBreakRegex);a[i].textLines=m.length;let b=0;a[i].height=0,a[i].width=0;for(const E of m)a[i].width=Math.max(h3(E,p),a[i].width),b=sdt(E,p),a[i].height=a[i].height+b}}const tPt=function(i,a,f){a.x=f.data.startx,a.y=f.data.starty,a.width=f.data.stopx-f.data.startx,a.height=f.data.stopy-f.data.starty,a.label.y=Ss.c4ShapeMargin-35;let p=a.wrap&&Ss.wrap,v=VW(Ss);v.fontSize=v.fontSize+2,v.fontWeight="bold";let m=h3(a.label.text,v);rm("label",a,p,v,m),g3.drawBoundary(i,a,Ss)},ePt=function(i,a,f,p){let v=0;for(const m of p){v=0;const b=f[m];let E=rN(Ss,b.typeC4Shape.text);switch(E.fontSize=E.fontSize-2,b.typeC4Shape.width=h3("«"+b.typeC4Shape.text+"»",E),b.typeC4Shape.height=E.fontSize+2,b.typeC4Shape.Y=Ss.c4ShapePadding,v=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=v,v=b.image.Y+b.image.height;break}b.sprite&&(b.image.width=48,b.image.height=48,b.image.Y=v,v=b.image.Y+b.image.height);let C=b.wrap&&Ss.wrap,A=Ss.width-Ss.c4ShapePadding*2,N=rN(Ss,b.typeC4Shape.text);if(N.fontSize=N.fontSize+2,N.fontWeight="bold",rm("label",b,C,N,A),b.label.Y=v+8,v=b.label.Y+b.label.height,b.type&&b.type.text!==""){b.type.text="["+b.type.text+"]";let R=rN(Ss,b.typeC4Shape.text);rm("type",b,C,R,A),b.type.Y=v+5,v=b.type.Y+b.type.height}else if(b.techn&&b.techn.text!==""){b.techn.text="["+b.techn.text+"]";let R=rN(Ss,b.techn.text);rm("techn",b,C,R,A),b.techn.Y=v+5,v=b.techn.Y+b.techn.height}let F=v,j=b.label.width;if(b.descr&&b.descr.text!==""){let R=rN(Ss,b.typeC4Shape.text);rm("descr",b,C,R,A),b.descr.Y=v+20,v=b.descr.Y+b.descr.height,j=Math.max(b.label.width,b.descr.width),F=v-b.descr.textLines*5}j=j+Ss.c4ShapePadding,b.width=Math.max(b.width||Ss.width,j,Ss.width),b.height=Math.max(b.height||Ss.height,F,Ss.height),b.margin=b.margin||Ss.c4ShapeMargin,i.insert(b),g3.drawC4Shape(a,b,Ss)}i.bumpLastMargin(Ss.c4ShapeMargin)};let tv=class{constructor(a,f){this.x=a,this.y=f}},nPt=function(i,a){let f=i.x,p=i.y,v=a.x,m=a.y,b=f+i.width/2,E=p+i.height/2,C=Math.abs(f-v),A=Math.abs(p-m),N=A/C,F=i.height/i.width,j=null;return p==m&&f<v?j=new tv(f+i.width,E):p==m&&f>v?j=new tv(f,E):f==v&&p<m?j=new tv(b,p+i.height):f==v&&p>m&&(j=new tv(b,p)),f>v&&p<m?F>=N?j=new tv(f,E+N*i.width/2):j=new tv(b-C/A*i.height/2,p+i.height):f<v&&p<m?F>=N?j=new tv(f+i.width,E+N*i.width/2):j=new tv(b+C/A*i.height/2,p+i.height):f<v&&p>m?F>=N?j=new tv(f+i.width,E-N*i.width/2):j=new tv(b+i.height/2*C/A,p):f>v&&p>m&&(F>=N?j=new tv(f,E-i.width/2*N):j=new tv(b-i.height/2*C/A,p)),j},DMe=function(i,a){let f={x:0,y:0};f.x=a.x+a.width/2,f.y=a.y+a.height/2;let p=nPt(i,f);f.x=i.x+i.width/2,f.y=i.y+i.height/2;let v=nPt(a,f);return{startPoint:p,endPoint:v}};const IMe=function(i,a,f,p){let v=0;for(let m of a){v=v+1;let b=m.wrap&&Ss.wrap,E=MMe(Ss);p.db.getC4Type()==="C4Dynamic"&&(m.label.text=v+": "+m.label.text);let A=h3(m.label.text,E);rm("label",m,b,E,A),m.techn&&m.techn.text!==""&&(A=h3(m.techn.text,E),rm("techn",m,b,E,A)),m.descr&&m.descr.text!==""&&(A=h3(m.descr.text,E),rm("descr",m,b,E,A));let N=f(m.from),F=f(m.to),j=DMe(N,F);m.startPoint=j.startPoint,m.endPoint=j.endPoint}g3.drawRels(i,a,Ss)};function rPt(i,a,f,p,v){let m=new JOt(v);m.data.widthLimit=f.data.widthLimit/Math.min(Sdt,p.length);for(let[b,E]of p.entries()){let C=0;E.image={width:0,height:0,Y:0},E.sprite&&(E.image.width=48,E.image.height=48,E.image.Y=C,C=E.image.Y+E.image.height);let A=E.wrap&&Ss.wrap,N=VW(Ss);if(N.fontSize=N.fontSize+2,N.fontWeight="bold",rm("label",E,A,N,m.data.widthLimit),E.label.Y=C+8,C=E.label.Y+E.label.height,E.type&&E.type.text!==""){E.type.text="["+E.type.text+"]";let H=VW(Ss);rm("type",E,A,H,m.data.widthLimit),E.type.Y=C+5,C=E.type.Y+E.type.height}if(E.descr&&E.descr.text!==""){let H=VW(Ss);H.fontSize=H.fontSize-2,rm("descr",E,A,H,m.data.widthLimit),E.descr.Y=C+20,C=E.descr.Y+E.descr.height}if(b==0||b%Sdt===0){let H=f.data.startx+Ss.diagramMarginX,Y=f.data.stopy+Ss.diagramMarginY+C;m.setData(H,H,Y,Y)}else{let H=m.data.stopx!==m.data.startx?m.data.stopx+Ss.diagramMarginX:m.data.startx,Y=m.data.starty;m.setData(H,H,Y,Y)}m.name=E.alias;let F=v.db.getC4ShapeArray(E.alias),j=v.db.getC4ShapeKeys(E.alias);j.length>0&&ePt(m,i,F,j),a=E.alias;let R=v.db.getBoundarys(a);R.length>0&&rPt(i,a,m,R,v),E.alias!=="global"&&tPt(i,E,m),f.data.stopy=Math.max(m.data.stopy+Ss.c4ShapeMargin,f.data.stopy),f.data.stopx=Math.max(m.data.stopx+Ss.c4ShapeMargin,f.data.stopx),qW=Math.max(qW,f.data.stopx),HW=Math.max(HW,f.data.stopy)}}const iPt={drawPersonOrSystemArray:ePt,drawBoundary:tPt,setConf:Adt,draw:function(i,a,f,p){Ss=Me().c4;const v=Me().securityLevel;let m;v==="sandbox"&&(m=wr("#i"+a));const b=wr(v==="sandbox"?m.nodes()[0].contentDocument.body:"body");let E=p.db;p.db.setWrap(Ss.wrap),ZOt=E.getC4ShapeInRow(),Sdt=E.getC4BoundaryInRow(),Vt.debug(`C:${JSON.stringify(Ss,null,2)}`);const C=v==="sandbox"?b.select(`[id="${a}"]`):wr(`[id="${a}"]`);g3.insertComputerIcon(C),g3.insertDatabaseIcon(C),g3.insertClockIcon(C);let A=new JOt(p);A.setData(Ss.diagramMarginX,Ss.diagramMarginX,Ss.diagramMarginY,Ss.diagramMarginY),A.data.widthLimit=screen.availWidth,qW=Ss.diagramMarginX,HW=Ss.diagramMarginY;const N=p.db.getTitle();let F=p.db.getBoundarys("");rPt(C,"",A,F,p),g3.insertArrowHead(C),g3.insertArrowEnd(C),g3.insertArrowCrossHead(C),g3.insertArrowFilledHead(C),IMe(C,p.db.getRels(),p.db.getC4Shape,p),A.data.stopx=qW,A.data.stopy=HW;const j=A.data;let H=j.stopy-j.starty+2*Ss.diagramMarginY;const rt=j.stopx-j.startx+2*Ss.diagramMarginX;N&&C.append("text").text(N).attr("x",(j.stopx-j.startx)/2-4*Ss.diagramMarginX).attr("y",j.starty+Ss.diagramMarginY),N2(C,H,rt,Ss.useMaxWidth);const J=N?60:0;C.attr("viewBox",j.startx-Ss.diagramMarginX+" -"+(Ss.diagramMarginY+J)+" "+rt+" "+(H+J)),Vt.debug("models:",j)}},OMe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:VLe,db:YOt,renderer:iPt,styles:i=>`.person {
+ stroke: ${i.personBorder};
+ fill: ${i.personBkg};
+ }
+`,init:i=>{iPt.setConf(i.c4)}}},Symbol.toStringTag,{value:"Module"}));var Ldt=function(){var i=function(wg,cs,zs,Da){for(zs=zs||{},Da=wg.length;Da--;zs[wg[Da]]=cs);return zs},a=[1,9],f=[1,7],p=[1,6],v=[1,8],m=[1,20,21,22,23,38,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],b=[2,10],E=[1,20],C=[1,21],A=[1,22],N=[1,23],F=[1,30],j=[1,32],R=[1,33],H=[1,34],Y=[1,63],rt=[1,49],J=[1,53],it=[1,36],ht=[1,37],Tt=[1,38],yt=[1,39],vt=[1,40],ut=[1,57],xt=[1,64],st=[1,52],Et=[1,54],gt=[1,56],pt=[1,60],Ct=[1,61],nt=[1,41],Nt=[1,42],dt=[1,43],Ft=[1,44],X=[1,62],Bt=[1,51],Rt=[1,55],mt=[1,58],Ot=[1,59],Gt=[1,50],Ve=[1,67],Cn=[1,72],xe=[1,20,21,22,23,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],Kn=[1,76],Se=[1,75],ee=[1,77],_e=[20,21,23,82,83],qe=[1,100],ce=[1,105],Ce=[1,108],he=[1,109],Re=[1,102],se=[1,107],Pe=[1,110],Qt=[1,103],vr=[1,115],$t=[1,114],ur=[1,104],le=[1,106],rr=[1,111],ar=[1,112],Qn=[1,113],Zn=[1,116],dn=[20,21,22,23,82,83],kn=[20,21,22,23,54,82,83],_r=[20,21,22,23,40,52,54,56,58,60,62,64,66,67,68,70,72,74,75,77,82,83,93,97,107,108,111,113,114,124,125,126,127,128,129],Rr=[20,21,23],os=[20,21,23,52,67,68,82,83,93,97,107,108,111,113,114,124,125,126,127,128,129],As=[1,12,20,21,22,23,24,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],ma=[52,67,68,93,97,107,108,111,113,114,124,125,126,127,128,129],Zr=[1,151],Hi=[1,159],Gn=[1,160],Jn=[1,161],Or=[1,162],Fn=[1,146],Li=[1,147],Dn=[1,142],Ba=[1,143],zn=[1,154],is=[1,155],La=[1,156],Xa=[1,157],Ta=[1,158],ga=[1,163],Es=[1,164],Bs=[1,149],_a=[1,152],Ma=[1,148],Ga=[1,145],ov=[20,21,22,23,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],rl=[1,167],mu=[20,21,22,23,26,52,67,68,93,107,108,111,113,114,124,125,126,127,128,129],Ls=[20,21,22,23,24,26,38,40,41,42,52,57,59,61,63,65,67,68,69,71,73,74,76,78,82,83,88,89,90,91,92,93,94,97,107,108,111,113,114,115,116,124,125,126,127,128,129],bp=[12,21,22,24],ad=[22,108],Rl=[1,252],$u=[1,247],Gi=[1,248],Ue=[1,256],Cr=[1,253],ci=[1,250],Qa=[1,249],kc=[1,251],yu=[1,254],yo=[1,255],xu=[1,257],uf=[1,275],k3=[20,21,23,108],v1=[20,21,22,23,67,68,88,104,107,108,111,112,113,114,115],E3={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,styledVertex:51,AMP:52,vertex:53,STYLE_SEPARATOR:54,idString:55,DOUBLECIRCLESTART:56,DOUBLECIRCLEEND:57,PS:58,PE:59,"(-":60,"-)":61,STADIUMSTART:62,STADIUMEND:63,SUBROUTINESTART:64,SUBROUTINEEND:65,VERTEX_WITH_PROPS_START:66,ALPHA:67,COLON:68,PIPE:69,CYLINDERSTART:70,CYLINDEREND:71,DIAMOND_START:72,DIAMOND_STOP:73,TAGEND:74,TRAPSTART:75,TRAPEND:76,INVTRAPSTART:77,INVTRAPEND:78,linkStatement:79,arrowText:80,TESTSTR:81,START_LINK:82,LINK:83,textToken:84,STR:85,MD_STR:86,keywords:87,STYLE:88,LINKSTYLE:89,CLASSDEF:90,CLASS:91,CLICK:92,DOWN:93,UP:94,textNoTags:95,textNoTagsToken:96,DEFAULT:97,stylesOpt:98,alphaNum:99,CALLBACKNAME:100,CALLBACKARGS:101,HREF:102,LINK_TARGET:103,HEX:104,numList:105,INTERPOLATE:106,NUM:107,COMMA:108,style:109,styleComponent:110,MINUS:111,UNIT:112,BRKT:113,DOT:114,PCT:115,TAGSTART:116,alphaNumToken:117,idStringToken:118,alphaNumStatement:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,PUNCTUATION:124,UNICODE_TEXT:125,PLUS:126,EQUALS:127,MULT:128,UNDERSCORE:129,graphCodeTokens:130,ARROW_CROSS:131,ARROW_POINT:132,ARROW_CIRCLE:133,ARROW_OPEN:134,QUOTE:135,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",54:"STYLE_SEPARATOR",56:"DOUBLECIRCLESTART",57:"DOUBLECIRCLEEND",58:"PS",59:"PE",60:"(-",61:"-)",62:"STADIUMSTART",63:"STADIUMEND",64:"SUBROUTINESTART",65:"SUBROUTINEEND",66:"VERTEX_WITH_PROPS_START",67:"ALPHA",68:"COLON",69:"PIPE",70:"CYLINDERSTART",71:"CYLINDEREND",72:"DIAMOND_START",73:"DIAMOND_STOP",74:"TAGEND",75:"TRAPSTART",76:"TRAPEND",77:"INVTRAPSTART",78:"INVTRAPEND",81:"TESTSTR",82:"START_LINK",83:"LINK",85:"STR",86:"MD_STR",88:"STYLE",89:"LINKSTYLE",90:"CLASSDEF",91:"CLASS",92:"CLICK",93:"DOWN",94:"UP",97:"DEFAULT",100:"CALLBACKNAME",101:"CALLBACKARGS",102:"HREF",103:"LINK_TARGET",104:"HEX",106:"INTERPOLATE",107:"NUM",108:"COMMA",111:"MINUS",112:"UNIT",113:"BRKT",114:"DOT",115:"PCT",116:"TAGSTART",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr",124:"PUNCTUATION",125:"UNICODE_TEXT",126:"PLUS",127:"EQUALS",128:"MULT",129:"UNDERSCORE",131:"ARROW_CROSS",132:"ARROW_POINT",133:"ARROW_CIRCLE",134:"ARROW_OPEN",135:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[51,1],[51,3],[53,4],[53,4],[53,6],[53,4],[53,4],[53,4],[53,8],[53,4],[53,4],[53,4],[53,6],[53,4],[53,4],[53,4],[53,4],[53,4],[53,1],[49,2],[49,3],[49,3],[49,1],[49,3],[79,1],[80,3],[39,1],[39,2],[39,1],[39,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[95,1],[95,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[105,1],[105,3],[98,1],[98,3],[109,1],[109,2],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[96,1],[96,1],[96,1],[96,1],[55,1],[55,2],[99,1],[99,2],[119,1],[119,1],[119,1],[119,1],[43,1],[43,1],[43,1],[43,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1]],performAction:function(cs,zs,Da,ki,Rc,Oe,vp){var Ye=Oe.length-1;switch(Rc){case 5:ki.parseDirective("%%{","open_directive");break;case 6:ki.parseDirective(Oe[Ye],"type_directive");break;case 7:Oe[Ye]=Oe[Ye].trim().replace(/'/g,'"'),ki.parseDirective(Oe[Ye],"arg_directive");break;case 8:ki.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(Oe[Ye])||Oe[Ye].length>0)&&Oe[Ye-1].push(Oe[Ye]),this.$=Oe[Ye-1];break;case 12:case 98:case 154:case 156:case 157:this.$=Oe[Ye];break;case 19:ki.setDirection("TB"),this.$="TB";break;case 20:ki.setDirection(Oe[Ye-1]),this.$=Oe[Ye-1];break;case 35:this.$=Oe[Ye-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=ki.addSubGraph(Oe[Ye-6],Oe[Ye-1],Oe[Ye-4]);break;case 42:this.$=ki.addSubGraph(Oe[Ye-3],Oe[Ye-1],Oe[Ye-3]);break;case 43:this.$=ki.addSubGraph(void 0,Oe[Ye-1],void 0);break;case 45:this.$=Oe[Ye].trim(),ki.setAccTitle(this.$);break;case 46:case 47:this.$=Oe[Ye].trim(),ki.setAccDescription(this.$);break;case 51:ki.addLink(Oe[Ye-2].stmt,Oe[Ye],Oe[Ye-1]),this.$={stmt:Oe[Ye],nodes:Oe[Ye].concat(Oe[Ye-2].nodes)};break;case 52:ki.addLink(Oe[Ye-3].stmt,Oe[Ye-1],Oe[Ye-2]),this.$={stmt:Oe[Ye-1],nodes:Oe[Ye-1].concat(Oe[Ye-3].nodes)};break;case 53:this.$={stmt:Oe[Ye-1],nodes:Oe[Ye-1]};break;case 54:this.$={stmt:Oe[Ye],nodes:Oe[Ye]};break;case 55:this.$=[Oe[Ye]];break;case 56:this.$=Oe[Ye-4].concat(Oe[Ye]);break;case 57:this.$=Oe[Ye];break;case 58:this.$=Oe[Ye-2],ki.setClass(Oe[Ye-2],Oe[Ye]);break;case 59:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"square");break;case 60:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"doublecircle");break;case 61:this.$=Oe[Ye-5],ki.addVertex(Oe[Ye-5],Oe[Ye-2],"circle");break;case 62:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"ellipse");break;case 63:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"stadium");break;case 64:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"subroutine");break;case 65:this.$=Oe[Ye-7],ki.addVertex(Oe[Ye-7],Oe[Ye-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Oe[Ye-5],Oe[Ye-3]]]));break;case 66:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"cylinder");break;case 67:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"round");break;case 68:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"diamond");break;case 69:this.$=Oe[Ye-5],ki.addVertex(Oe[Ye-5],Oe[Ye-2],"hexagon");break;case 70:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"odd");break;case 71:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"trapezoid");break;case 72:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"inv_trapezoid");break;case 73:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"lean_right");break;case 74:this.$=Oe[Ye-3],ki.addVertex(Oe[Ye-3],Oe[Ye-1],"lean_left");break;case 75:this.$=Oe[Ye],ki.addVertex(Oe[Ye]);break;case 76:Oe[Ye-1].text=Oe[Ye],this.$=Oe[Ye-1];break;case 77:case 78:Oe[Ye-2].text=Oe[Ye-1],this.$=Oe[Ye-2];break;case 79:this.$=Oe[Ye];break;case 80:var lf=ki.destructLink(Oe[Ye],Oe[Ye-2]);this.$={type:lf.type,stroke:lf.stroke,length:lf.length,text:Oe[Ye-1]};break;case 81:var lf=ki.destructLink(Oe[Ye]);this.$={type:lf.type,stroke:lf.stroke,length:lf.length};break;case 82:this.$=Oe[Ye-1];break;case 83:this.$={text:Oe[Ye],type:"text"};break;case 84:this.$={text:Oe[Ye-1].text+""+Oe[Ye],type:Oe[Ye-1].type};break;case 85:this.$={text:Oe[Ye],type:"text"};break;case 86:this.$={text:Oe[Ye],type:"markdown"};break;case 99:case 155:this.$=Oe[Ye-1]+""+Oe[Ye];break;case 100:case 101:this.$=Oe[Ye-4],ki.addClass(Oe[Ye-2],Oe[Ye]);break;case 102:this.$=Oe[Ye-4],ki.setClass(Oe[Ye-2],Oe[Ye]);break;case 103:case 111:this.$=Oe[Ye-1],ki.setClickEvent(Oe[Ye-1],Oe[Ye]);break;case 104:case 112:this.$=Oe[Ye-3],ki.setClickEvent(Oe[Ye-3],Oe[Ye-2]),ki.setTooltip(Oe[Ye-3],Oe[Ye]);break;case 105:this.$=Oe[Ye-2],ki.setClickEvent(Oe[Ye-2],Oe[Ye-1],Oe[Ye]);break;case 106:this.$=Oe[Ye-4],ki.setClickEvent(Oe[Ye-4],Oe[Ye-3],Oe[Ye-2]),ki.setTooltip(Oe[Ye-4],Oe[Ye]);break;case 107:case 113:this.$=Oe[Ye-1],ki.setLink(Oe[Ye-1],Oe[Ye]);break;case 108:case 114:this.$=Oe[Ye-3],ki.setLink(Oe[Ye-3],Oe[Ye-2]),ki.setTooltip(Oe[Ye-3],Oe[Ye]);break;case 109:case 115:this.$=Oe[Ye-3],ki.setLink(Oe[Ye-3],Oe[Ye-2],Oe[Ye]);break;case 110:case 116:this.$=Oe[Ye-5],ki.setLink(Oe[Ye-5],Oe[Ye-4],Oe[Ye]),ki.setTooltip(Oe[Ye-5],Oe[Ye-2]);break;case 117:this.$=Oe[Ye-4],ki.addVertex(Oe[Ye-2],void 0,void 0,Oe[Ye]);break;case 118:case 120:this.$=Oe[Ye-4],ki.updateLink(Oe[Ye-2],Oe[Ye]);break;case 119:this.$=Oe[Ye-4],ki.updateLink([Oe[Ye-2]],Oe[Ye]);break;case 121:this.$=Oe[Ye-8],ki.updateLinkInterpolate([Oe[Ye-6]],Oe[Ye-2]),ki.updateLink([Oe[Ye-6]],Oe[Ye]);break;case 122:this.$=Oe[Ye-8],ki.updateLinkInterpolate(Oe[Ye-6],Oe[Ye-2]),ki.updateLink(Oe[Ye-6],Oe[Ye]);break;case 123:this.$=Oe[Ye-6],ki.updateLinkInterpolate([Oe[Ye-4]],Oe[Ye]);break;case 124:this.$=Oe[Ye-6],ki.updateLinkInterpolate(Oe[Ye-4],Oe[Ye]);break;case 125:case 127:this.$=[Oe[Ye]];break;case 126:case 128:Oe[Ye-2].push(Oe[Ye]),this.$=Oe[Ye-2];break;case 130:this.$=Oe[Ye-1]+Oe[Ye];break;case 152:this.$=Oe[Ye];break;case 153:this.$=Oe[Ye-1]+""+Oe[Ye];break;case 158:this.$="v";break;case 159:this.$="-";break;case 160:this.$={stmt:"dir",value:"TB"};break;case 161:this.$={stmt:"dir",value:"BT"};break;case 162:this.$={stmt:"dir",value:"RL"};break;case 163:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:a,16:4,21:f,22:p,24:v},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:a,16:4,21:f,22:p,24:v},i(m,b,{17:11}),{7:12,13:[1,13]},{16:14,21:f,22:p,24:v},{16:15,21:f,22:p,24:v},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:E,21:C,22:A,23:N,32:24,33:25,34:26,35:27,36:28,37:29,38:F,43:31,44:j,46:R,48:H,50:35,51:45,52:Y,53:46,55:47,67:rt,68:J,88:it,89:ht,90:Tt,91:yt,92:vt,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,120:nt,121:Nt,122:dt,123:Ft,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},{8:65,10:[1,66],15:Ve},i([10,15],[2,6]),i(m,[2,17]),i(m,[2,18]),i(m,[2,19]),{20:[1,69],21:[1,70],22:Cn,27:68,30:71},i(xe,[2,11]),i(xe,[2,12]),i(xe,[2,13]),i(xe,[2,14]),i(xe,[2,15]),i(xe,[2,16]),{9:73,20:Kn,21:Se,23:ee,49:74,79:78,82:[1,79],83:[1,80]},{9:81,20:Kn,21:Se,23:ee},{9:82,20:Kn,21:Se,23:ee},{9:83,20:Kn,21:Se,23:ee},{9:84,20:Kn,21:Se,23:ee},{9:85,20:Kn,21:Se,23:ee},{9:87,20:Kn,21:Se,22:[1,86],23:ee},i(xe,[2,44]),{45:[1,88]},{47:[1,89]},i(xe,[2,47]),i(_e,[2,54],{30:90,22:Cn}),{22:[1,91]},{22:[1,92]},{22:[1,93]},{22:[1,94]},{26:qe,52:ce,67:Ce,68:he,85:[1,98],93:Re,99:97,100:[1,95],102:[1,96],107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(xe,[2,160]),i(xe,[2,161]),i(xe,[2,162]),i(xe,[2,163]),i(dn,[2,55]),i(dn,[2,57],{54:[1,117]}),i(kn,[2,75],{118:130,40:[1,118],52:Y,56:[1,119],58:[1,120],60:[1,121],62:[1,122],64:[1,123],66:[1,124],67:rt,68:J,70:[1,125],72:[1,126],74:[1,127],75:[1,128],77:[1,129],93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt}),i(_r,[2,152]),i(_r,[2,177]),i(_r,[2,178]),i(_r,[2,179]),i(_r,[2,180]),i(_r,[2,181]),i(_r,[2,182]),i(_r,[2,183]),i(_r,[2,184]),i(_r,[2,185]),i(_r,[2,186]),i(_r,[2,187]),i(_r,[2,188]),i(_r,[2,189]),i(_r,[2,190]),i(_r,[2,191]),i(_r,[2,192]),{9:131,20:Kn,21:Se,23:ee},{11:132,14:[1,133]},i(Rr,[2,8]),i(m,[2,20]),i(m,[2,26]),i(m,[2,27]),{21:[1,134]},i(os,[2,34],{30:135,22:Cn}),i(xe,[2,35]),{50:136,51:45,52:Y,53:46,55:47,67:rt,68:J,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},i(As,[2,48]),i(As,[2,49]),i(As,[2,50]),i(ma,[2,79],{80:137,69:[1,139],81:[1,138]}),{22:Zr,24:Hi,26:Gn,38:Jn,39:140,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i([52,67,68,69,81,93,97,107,108,111,113,114,124,125,126,127,128,129],[2,81]),i(xe,[2,36]),i(xe,[2,37]),i(xe,[2,38]),i(xe,[2,39]),i(xe,[2,40]),{22:Zr,24:Hi,26:Gn,38:Jn,39:165,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(ov,b,{17:166}),i(xe,[2,45]),i(xe,[2,46]),i(_e,[2,53],{52:rl}),{26:qe,52:ce,67:Ce,68:he,93:Re,99:168,104:[1,169],107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{97:[1,170],105:171,107:[1,172]},{26:qe,52:ce,67:Ce,68:he,93:Re,97:[1,173],99:174,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{26:qe,52:ce,67:Ce,68:he,93:Re,99:175,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(Rr,[2,103],{22:[1,176],101:[1,177]}),i(Rr,[2,107],{22:[1,178]}),i(Rr,[2,111],{117:101,119:180,22:[1,179],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn}),i(Rr,[2,113],{22:[1,181]}),i(mu,[2,154]),i(mu,[2,156]),i(mu,[2,157]),i(mu,[2,158]),i(mu,[2,159]),i(Ls,[2,164]),i(Ls,[2,165]),i(Ls,[2,166]),i(Ls,[2,167]),i(Ls,[2,168]),i(Ls,[2,169]),i(Ls,[2,170]),i(Ls,[2,171]),i(Ls,[2,172]),i(Ls,[2,173]),i(Ls,[2,174]),i(Ls,[2,175]),i(Ls,[2,176]),{52:Y,55:182,67:rt,68:J,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},{22:Zr,24:Hi,26:Gn,38:Jn,39:183,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:184,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:186,42:Or,52:ce,58:[1,185],67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:187,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:188,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:189,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{67:[1,190]},{22:Zr,24:Hi,26:Gn,38:Jn,39:191,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:192,42:Or,52:ce,67:Ce,68:he,72:[1,193],74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:194,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:195,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:196,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(_r,[2,153]),i(bp,[2,3]),{8:197,15:Ve},{15:[2,7]},i(m,[2,28]),i(os,[2,33]),i(_e,[2,51],{30:198,22:Cn}),i(ma,[2,76],{22:[1,199]}),{22:[1,200]},{22:Zr,24:Hi,26:Gn,38:Jn,39:201,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,83:[1,202],84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(Ls,[2,83]),i(Ls,[2,85]),i(Ls,[2,86]),i(Ls,[2,142]),i(Ls,[2,143]),i(Ls,[2,144]),i(Ls,[2,145]),i(Ls,[2,146]),i(Ls,[2,147]),i(Ls,[2,148]),i(Ls,[2,149]),i(Ls,[2,150]),i(Ls,[2,151]),i(Ls,[2,87]),i(Ls,[2,88]),i(Ls,[2,89]),i(Ls,[2,90]),i(Ls,[2,91]),i(Ls,[2,92]),i(Ls,[2,93]),i(Ls,[2,94]),i(Ls,[2,95]),i(Ls,[2,96]),i(Ls,[2,97]),{9:205,20:Kn,21:Se,22:Zr,23:ee,24:Hi,26:Gn,38:Jn,40:[1,204],42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{18:18,19:19,20:E,21:C,22:A,23:N,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,206],43:31,44:j,46:R,48:H,50:35,51:45,52:Y,53:46,55:47,67:rt,68:J,88:it,89:ht,90:Tt,91:yt,92:vt,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,120:nt,121:Nt,122:dt,123:Ft,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},{22:Cn,30:207},{22:[1,208],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:180,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:[1,209]},{22:[1,210]},{22:[1,211],108:[1,212]},i(ad,[2,125]),{22:[1,213]},{22:[1,214],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:180,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:[1,215],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:180,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{85:[1,216]},i(Rr,[2,105],{22:[1,217]}),{85:[1,218],103:[1,219]},{85:[1,220]},i(mu,[2,155]),{85:[1,221],103:[1,222]},i(dn,[2,58],{118:130,52:Y,67:rt,68:J,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt}),{22:Zr,24:Hi,26:Gn,38:Jn,41:[1,223],42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,57:[1,224],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:225,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,59:[1,226],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,61:[1,227],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,63:[1,228],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,65:[1,229],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{68:[1,230]},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,71:[1,231],74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,73:[1,232],74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,39:233,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,41:[1,234],42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,74:Fn,76:[1,235],78:[1,236],82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,74:Fn,76:[1,238],78:[1,237],82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{9:239,20:Kn,21:Se,23:ee},i(_e,[2,52],{52:rl}),i(ma,[2,78]),i(ma,[2,77]),{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,69:[1,240],74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(ma,[2,80]),i(Ls,[2,84]),{22:Zr,24:Hi,26:Gn,38:Jn,39:241,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(ov,b,{17:242}),i(xe,[2,43]),{51:243,52:Y,53:46,55:47,67:rt,68:J,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},{22:Rl,67:$u,68:Gi,88:Ue,98:244,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{22:Rl,67:$u,68:Gi,88:Ue,98:258,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{22:Rl,67:$u,68:Gi,88:Ue,98:259,104:Cr,106:[1,260],107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{22:Rl,67:$u,68:Gi,88:Ue,98:261,104:Cr,106:[1,262],107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{107:[1,263]},{22:Rl,67:$u,68:Gi,88:Ue,98:264,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{22:Rl,67:$u,68:Gi,88:Ue,98:265,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{26:qe,52:ce,67:Ce,68:he,93:Re,99:266,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(Rr,[2,104]),{85:[1,267]},i(Rr,[2,108],{22:[1,268]}),i(Rr,[2,109]),i(Rr,[2,112]),i(Rr,[2,114],{22:[1,269]}),i(Rr,[2,115]),i(kn,[2,59]),i(kn,[2,60]),{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,59:[1,270],67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(kn,[2,67]),i(kn,[2,62]),i(kn,[2,63]),i(kn,[2,64]),{67:[1,271]},i(kn,[2,66]),i(kn,[2,68]),{22:Zr,24:Hi,26:Gn,38:Jn,42:Or,52:ce,67:Ce,68:he,73:[1,272],74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(kn,[2,70]),i(kn,[2,71]),i(kn,[2,73]),i(kn,[2,72]),i(kn,[2,74]),i(bp,[2,4]),i([22,52,67,68,93,97,107,108,111,113,114,124,125,126,127,128,129],[2,82]),{22:Zr,24:Hi,26:Gn,38:Jn,41:[1,273],42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{18:18,19:19,20:E,21:C,22:A,23:N,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,274],43:31,44:j,46:R,48:H,50:35,51:45,52:Y,53:46,55:47,67:rt,68:J,88:it,89:ht,90:Tt,91:yt,92:vt,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,120:nt,121:Nt,122:dt,123:Ft,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},i(dn,[2,56]),i(Rr,[2,117],{108:uf}),i(k3,[2,127],{110:276,22:Rl,67:$u,68:Gi,88:Ue,104:Cr,107:ci,111:Qa,112:kc,113:yu,114:yo,115:xu}),i(v1,[2,129]),i(v1,[2,131]),i(v1,[2,132]),i(v1,[2,133]),i(v1,[2,134]),i(v1,[2,135]),i(v1,[2,136]),i(v1,[2,137]),i(v1,[2,138]),i(v1,[2,139]),i(v1,[2,140]),i(v1,[2,141]),i(Rr,[2,118],{108:uf}),i(Rr,[2,119],{108:uf}),{22:[1,277]},i(Rr,[2,120],{108:uf}),{22:[1,278]},i(ad,[2,126]),i(Rr,[2,100],{108:uf}),i(Rr,[2,101],{108:uf}),i(Rr,[2,102],{117:101,119:180,26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn}),i(Rr,[2,106]),{103:[1,279]},{103:[1,280]},{59:[1,281]},{69:[1,282]},{73:[1,283]},{9:284,20:Kn,21:Se,23:ee},i(xe,[2,42]),{22:Rl,67:$u,68:Gi,88:Ue,104:Cr,107:ci,109:285,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},i(v1,[2,130]),{26:qe,52:ce,67:Ce,68:he,93:Re,99:286,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{26:qe,52:ce,67:Ce,68:he,93:Re,99:287,107:se,108:Pe,111:Qt,113:vr,114:$t,117:101,119:99,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(Rr,[2,110]),i(Rr,[2,116]),i(kn,[2,61]),{22:Zr,24:Hi,26:Gn,38:Jn,39:288,42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:141,85:Dn,86:Ba,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},i(kn,[2,69]),i(ov,b,{17:289}),i(k3,[2,128],{110:276,22:Rl,67:$u,68:Gi,88:Ue,104:Cr,107:ci,111:Qa,112:kc,113:yu,114:yo,115:xu}),i(Rr,[2,123],{117:101,119:180,22:[1,290],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn}),i(Rr,[2,124],{117:101,119:180,22:[1,291],26:qe,52:ce,67:Ce,68:he,93:Re,107:se,108:Pe,111:Qt,113:vr,114:$t,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn}),{22:Zr,24:Hi,26:Gn,38:Jn,41:[1,292],42:Or,52:ce,67:Ce,68:he,74:Fn,82:Li,84:203,87:153,88:zn,89:is,90:La,91:Xa,92:Ta,93:ga,94:Es,96:144,97:Bs,107:se,108:Pe,111:_a,113:vr,114:$t,115:Ma,116:Ga,117:150,124:ur,125:le,126:rr,127:ar,128:Qn,129:Zn},{18:18,19:19,20:E,21:C,22:A,23:N,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,293],43:31,44:j,46:R,48:H,50:35,51:45,52:Y,53:46,55:47,67:rt,68:J,88:it,89:ht,90:Tt,91:yt,92:vt,93:ut,97:xt,107:st,108:Et,111:gt,113:pt,114:Ct,118:48,120:nt,121:Nt,122:dt,123:Ft,124:X,125:Bt,126:Rt,127:mt,128:Ot,129:Gt},{22:Rl,67:$u,68:Gi,88:Ue,98:294,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},{22:Rl,67:$u,68:Gi,88:Ue,98:295,104:Cr,107:ci,109:245,110:246,111:Qa,112:kc,113:yu,114:yo,115:xu},i(kn,[2,65]),i(xe,[2,41]),i(Rr,[2,121],{108:uf}),i(Rr,[2,122],{108:uf})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],133:[2,7]},parseError:function(cs,zs){if(zs.recoverable)this.trace(cs);else{var Da=new Error(cs);throw Da.hash=zs,Da}},parse:function(cs){var zs=this,Da=[0],ki=[],Rc=[null],Oe=[],vp=this.table,Ye="",lf=0,fm=0,LE=2,wp=1,j5=Oe.slice.call(arguments,1),ah=Object.create(this.lexer),od={yy:{}};for(var $5 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$5)&&(od.yy[$5]=this.yy[$5]);ah.setInput(cs,od.yy),od.yy.lexer=ah,od.yy.parser=this,typeof ah.yylloc>"u"&&(ah.yylloc={});var z5=ah.yylloc;Oe.push(z5);var ME=ah.options&&ah.options.ranges;typeof od.yy.parseError=="function"?this.parseError=od.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xL(){var oh;return oh=ki.pop()||ah.lex()||wp,typeof oh!="number"&&(oh instanceof Array&&(ki=oh,oh=ki.pop()),oh=zs.symbols_[oh]||oh),oh}for(var w1,mp,cd,dm,cv={},gm,Ec,pk,Ko;;){if(mp=Da[Da.length-1],this.defaultActions[mp]?cd=this.defaultActions[mp]:((w1===null||typeof w1>"u")&&(w1=xL()),cd=vp[mp]&&vp[mp][w1]),typeof cd>"u"||!cd.length||!cd[0]){var bk="";Ko=[];for(gm in vp[mp])this.terminals_[gm]&&gm>LE&&Ko.push("'"+this.terminals_[gm]+"'");ah.showPosition?bk="Parse error on line "+(lf+1)+`:
+`+ah.showPosition()+`
+Expecting `+Ko.join(", ")+", got '"+(this.terminals_[w1]||w1)+"'":bk="Parse error on line "+(lf+1)+": Unexpected "+(w1==wp?"end of input":"'"+(this.terminals_[w1]||w1)+"'"),this.parseError(bk,{text:ah.match,token:this.terminals_[w1]||w1,line:ah.yylineno,loc:z5,expected:Ko})}if(cd[0]instanceof Array&&cd.length>1)throw new Error("Parse Error: multiple actions possible at state: "+mp+", token: "+w1);switch(cd[0]){case 1:Da.push(w1),Rc.push(ah.yytext),Oe.push(ah.yylloc),Da.push(cd[1]),w1=null,fm=ah.yyleng,Ye=ah.yytext,lf=ah.yylineno,z5=ah.yylloc;break;case 2:if(Ec=this.productions_[cd[1]][1],cv.$=Rc[Rc.length-Ec],cv._$={first_line:Oe[Oe.length-(Ec||1)].first_line,last_line:Oe[Oe.length-1].last_line,first_column:Oe[Oe.length-(Ec||1)].first_column,last_column:Oe[Oe.length-1].last_column},ME&&(cv._$.range=[Oe[Oe.length-(Ec||1)].range[0],Oe[Oe.length-1].range[1]]),dm=this.performAction.apply(cv,[Ye,fm,lf,od.yy,cd[1],Rc,Oe].concat(j5)),typeof dm<"u")return dm;Ec&&(Da=Da.slice(0,-1*Ec*2),Rc=Rc.slice(0,-1*Ec),Oe=Oe.slice(0,-1*Ec)),Da.push(this.productions_[cd[1]][0]),Rc.push(cv.$),Oe.push(cv._$),pk=vp[Da[Da.length-2]][Da[Da.length-1]],Da.push(pk);break;case 3:return!0}}return!0}},yL=function(){var wg={EOF:1,parseError:function(zs,Da){if(this.yy.parser)this.yy.parser.parseError(zs,Da);else throw new Error(zs)},setInput:function(cs,zs){return this.yy=zs||this.yy||{},this._input=cs,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 cs=this._input[0];this.yytext+=cs,this.yyleng++,this.offset++,this.match+=cs,this.matched+=cs;var zs=cs.match(/(?:\r\n?|\n).*/g);return zs?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),cs},unput:function(cs){var zs=cs.length,Da=cs.split(/(?:\r\n?|\n)/g);this._input=cs+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-zs),this.offset-=zs;var ki=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),Da.length-1&&(this.yylineno-=Da.length-1);var Rc=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:Da?(Da.length===ki.length?this.yylloc.first_column:0)+ki[ki.length-Da.length].length-Da[0].length:this.yylloc.first_column-zs},this.options.ranges&&(this.yylloc.range=[Rc[0],Rc[0]+this.yyleng-zs]),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(cs){this.unput(this.match.slice(cs))},pastInput:function(){var cs=this.matched.substr(0,this.matched.length-this.match.length);return(cs.length>20?"...":"")+cs.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var cs=this.match;return cs.length<20&&(cs+=this._input.substr(0,20-cs.length)),(cs.substr(0,20)+(cs.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var cs=this.pastInput(),zs=new Array(cs.length+1).join("-");return cs+this.upcomingInput()+`
+`+zs+"^"},test_match:function(cs,zs){var Da,ki,Rc;if(this.options.backtrack_lexer&&(Rc={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&&(Rc.yylloc.range=this.yylloc.range.slice(0))),ki=cs[0].match(/(?:\r\n?|\n).*/g),ki&&(this.yylineno+=ki.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ki?ki[ki.length-1].length-ki[ki.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+cs[0].length},this.yytext+=cs[0],this.match+=cs[0],this.matches=cs,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(cs[0].length),this.matched+=cs[0],Da=this.performAction.call(this,this.yy,this,zs,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Da)return Da;if(this._backtrack){for(var Oe in Rc)this[Oe]=Rc[Oe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var cs,zs,Da,ki;this._more||(this.yytext="",this.match="");for(var Rc=this._currentRules(),Oe=0;Oe<Rc.length;Oe++)if(Da=this._input.match(this.rules[Rc[Oe]]),Da&&(!zs||Da[0].length>zs[0].length)){if(zs=Da,ki=Oe,this.options.backtrack_lexer){if(cs=this.test_match(Da,Rc[Oe]),cs!==!1)return cs;if(this._backtrack){zs=!1;continue}else return!1}else if(!this.options.flex)break}return zs?(cs=this.test_match(zs,Rc[ki]),cs!==!1?cs:!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 zs=this.next();return zs||this.lex()},begin:function(zs){this.conditionStack.push(zs)},popState:function(){var zs=this.conditionStack.length-1;return zs>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(zs){return zs=this.conditionStack.length-1-Math.abs(zs||0),zs>=0?this.conditionStack[zs]:"INITIAL"},pushState:function(zs){this.begin(zs)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(zs,Da,ki,Rc){switch(ki){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:return this.begin("acc_title"),44;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),46;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("md_string");break;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("string");break;case 16:this.popState();break;case 17:return"STR";case 18:return 88;case 19:return 97;case 20:return 89;case 21:return 106;case 22:return 90;case 23:return 91;case 24:this.begin("href");break;case 25:this.popState();break;case 26:return 102;case 27:this.begin("callbackname");break;case 28:this.popState();break;case 29:this.popState(),this.begin("callbackargs");break;case 30:return 100;case 31:this.popState();break;case 32:return 101;case 33:this.begin("click");break;case 34:this.popState();break;case 35:return 92;case 36:return zs.lex.firstGraph()&&this.begin("dir"),24;case 37:return zs.lex.firstGraph()&&this.begin("dir"),24;case 38:return zs.lex.firstGraph()&&this.begin("dir"),24;case 39:return 38;case 40:return 42;case 41:return 103;case 42:return 103;case 43:return 103;case 44:return 103;case 45:return this.popState(),25;case 46:return this.popState(),26;case 47:return this.popState(),26;case 48:return this.popState(),26;case 49:return this.popState(),26;case 50:return this.popState(),26;case 51:return this.popState(),26;case 52:return this.popState(),26;case 53:return this.popState(),26;case 54:return this.popState(),26;case 55:return this.popState(),26;case 56:return 120;case 57:return 121;case 58:return 122;case 59:return 123;case 60:return 107;case 61:return 113;case 62:return 54;case 63:return 68;case 64:return 52;case 65:return 20;case 66:return 108;case 67:return 128;case 68:return 83;case 69:return 83;case 70:return 83;case 71:return 83;case 72:return 82;case 73:return 82;case 74:return 82;case 75:return 60;case 76:return 61;case 77:return 62;case 78:return 63;case 79:return 64;case 80:return 65;case 81:return 66;case 82:return 70;case 83:return 71;case 84:return 56;case 85:return 57;case 86:return 111;case 87:return 114;case 88:return 129;case 89:return 126;case 90:return 115;case 91:return 127;case 92:return 127;case 93:return 116;case 94:return 74;case 95:return 94;case 96:return"SEP";case 97:return 93;case 98:return 67;case 99:return 76;case 100:return 75;case 101:return 78;case 102:return 77;case 103:return 124;case 104:return 125;case 105:return 69;case 106:return 58;case 107:return 59;case 108:return 40;case 109:return 41;case 110:return 72;case 111:return 73;case 112:return 135;case 113:return 21;case 114:return 22;case 115:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\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<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\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:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[31,32],inclusive:!1},callbackname:{rules:[28,29,30],inclusive:!1},href:{rules:[25,26],inclusive:!1},click:{rules:[34,35],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[45,46,47,48,49,50,51,52,53,54,55],inclusive:!1},acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},md_string:{rules:[13,14],inclusive:!1},string:{rules:[16,17],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,15,18,19,20,21,22,23,24,27,33,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,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,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],inclusive:!0}}};return wg}();E3.lexer=yL;function hm(){this.yy={}}return hm.prototype=E3,E3.Parser=hm,new hm}();Ldt.parser=Ldt;const Mdt=Ldt,PMe="flowchart-";let sPt=0,Ddt=Me(),Cl={},hE=[],QA={},T5=[],GW={},UW={},WW=0,Idt=!0,ev,KW,YW=[];const XW=i=>bi.sanitizeText(i,Ddt),aPt=function(i,a,f){f1.parseDirective(this,i,a,f)},iN=function(i){const a=Object.keys(Cl);for(const f of a)if(Cl[f].id===i)return Cl[f].domId;return i},oPt=function(i,a,f,p,v,m,b={}){let E,C=i;C!==void 0&&C.trim().length!==0&&(Cl[C]===void 0&&(Cl[C]={id:C,labelType:"text",domId:PMe+C+"-"+sPt,styles:[],classes:[]}),sPt++,a!==void 0?(Ddt=Me(),E=XW(a.text.trim()),Cl[C].labelType=a.type,E[0]==='"'&&E[E.length-1]==='"'&&(E=E.substring(1,E.length-1)),Cl[C].text=E):Cl[C].text===void 0&&(Cl[C].text=i),f!==void 0&&(Cl[C].type=f),p!=null&&p.forEach(function(A){Cl[C].styles.push(A)}),v!=null&&v.forEach(function(A){Cl[C].classes.push(A)}),m!==void 0&&(Cl[C].dir=m),Cl[C].props===void 0?Cl[C].props=b:b!==void 0&&Object.assign(Cl[C].props,b))},cPt=function(i,a,f){const m={start:i,end:a,type:void 0,text:"",labelType:"text"};Vt.info("abc78 Got edge...",m);const b=f.text;b!==void 0&&(m.text=XW(b.text.trim()),m.text[0]==='"'&&m.text[m.text.length-1]==='"'&&(m.text=m.text.substring(1,m.text.length-1)),m.labelType=b.type),f!==void 0&&(m.type=f.type,m.stroke=f.stroke,m.length=f.length),hE.push(m)},uPt=function(i,a,f){Vt.info("addLink (abc78)",i,a,f);let p,v;for(p=0;p<i.length;p++)for(v=0;v<a.length;v++)cPt(i[p],a[v],f)},lPt=function(i,a){i.forEach(function(f){f==="default"?hE.defaultInterpolate=a:hE[f].interpolate=a})},hPt=function(i,a){i.forEach(function(f){f==="default"?hE.defaultStyle=a:(ho.isSubstringInArray("fill",a)===-1&&a.push("fill:none"),hE[f].style=a)})},fPt=function(i,a){i.split(",").forEach(function(f){QA[f]===void 0&&(QA[f]={id:f,styles:[],textStyles:[]}),a!=null&&a.forEach(function(p){if(p.match("color")){const v=p.replace("fill","bgFill").replace("color","fill");QA[f].textStyles.push(v)}QA[f].styles.push(p)})})},dPt=function(i){ev=i,ev.match(/.*</)&&(ev="RL"),ev.match(/.*\^/)&&(ev="BT"),ev.match(/.*>/)&&(ev="LR"),ev.match(/.*v/)&&(ev="TB"),ev==="TD"&&(ev="TB")},QW=function(i,a){i.split(",").forEach(function(f){let p=f;Cl[p]!==void 0&&Cl[p].classes.push(a),GW[p]!==void 0&&GW[p].classes.push(a)})},NMe=function(i,a){i.split(",").forEach(function(f){a!==void 0&&(UW[KW==="gen-1"?iN(f):f]=XW(a))})},FMe=function(i,a,f){let p=iN(i);if(Me().securityLevel!=="loose"||a===void 0)return;let v=[];if(typeof f=="string"){v=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m<v.length;m++){let b=v[m].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),v[m]=b}}v.length===0&&v.push(i),Cl[i]!==void 0&&(Cl[i].haveCallback=!0,YW.push(function(){const m=document.querySelector(`[id="${p}"]`);m!==null&&m.addEventListener("click",function(){ho.runFunc(a,...v)},!1)}))},gPt=function(i,a,f){i.split(",").forEach(function(p){Cl[p]!==void 0&&(Cl[p].link=ho.formatUrl(a,Ddt),Cl[p].linkTarget=f)}),QW(i,"clickable")},pPt=function(i){if(UW.hasOwnProperty(i))return UW[i]},bPt=function(i,a,f){i.split(",").forEach(function(p){FMe(p,a,f)}),QW(i,"clickable")},vPt=function(i){YW.forEach(function(a){a(i)})},wPt=function(){return ev.trim()},mPt=function(){return Cl},yPt=function(){return hE},xPt=function(){return QA},kPt=function(i){let a=wr(".mermaidTooltip");(a._groups||a)[0][0]===null&&(a=wr("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),wr(i).select("svg").selectAll("g.node").on("mouseover",function(){const v=wr(this);if(v.attr("title")===null)return;const b=this.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(v.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.top-14+document.body.scrollTop+"px"),a.html(a.html().replace(/&lt;br\/&gt;/g,"<br/>")),v.classed("hover",!0)}).on("mouseout",function(){a.transition().duration(500).style("opacity",0),wr(this).classed("hover",!1)})};YW.push(kPt);const EPt=function(i="gen-1"){Cl={},QA={},hE=[],YW=[kPt],T5=[],GW={},WW=0,UW={},Idt=!0,KW=i,hg()},TPt=i=>{KW=i||"gen-2"},_Pt=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},CPt=function(i,a,f){let p=i.text.trim(),v=f.text;i===f&&f.text.match(/\s/)&&(p=void 0);function m(N){const F={boolean:{},number:{},string:{}},j=[];let R;return{nodeList:N.filter(function(Y){const rt=typeof Y;return Y.stmt&&Y.stmt==="dir"?(R=Y.value,!1):Y.trim()===""?!1:rt in F?F[rt].hasOwnProperty(Y)?!1:F[rt][Y]=!0:j.includes(Y)?!1:j.push(Y)}),dir:R}}let b=[];const{nodeList:E,dir:C}=m(b.concat.apply(b,a));if(b=E,KW==="gen-1")for(let N=0;N<b.length;N++)b[N]=iN(b[N]);p=p||"subGraph"+WW,v=v||"",v=XW(v),WW=WW+1;const A={id:p,nodes:b,title:v.trim(),classes:[],dir:C,labelType:f.type};return Vt.info("Adding",A.id,A.nodes,A.dir),A.nodes=NPt(A,T5).nodes,T5.push(A),GW[p]=A,p},BMe=function(i){for(const[a,f]of T5.entries())if(f.id===i)return a;return-1};let sN=-1;const SPt=[],APt=function(i,a){const f=T5[a].nodes;if(sN=sN+1,sN>2e3)return;if(SPt[sN]=a,T5[a].id===i)return{result:!0,count:0};let p=0,v=1;for(;p<f.length;){const m=BMe(f[p]);if(m>=0){const b=APt(i,m);if(b.result)return{result:!0,count:v+b.count};v=v+b.count}p=p+1}return{result:!1,count:v}},LPt=function(i){return SPt[i]},MPt=function(){sN=-1,T5.length>0&&APt("none",T5.length-1)},DPt=function(){return T5},IPt=()=>Idt?(Idt=!1,!0):!1,RMe=i=>{let a=i.trim(),f="arrow_open";switch(a[0]){case"<":f="arrow_point",a=a.slice(1);break;case"x":f="arrow_cross",a=a.slice(1);break;case"o":f="arrow_circle",a=a.slice(1);break}let p="normal";return a.includes("=")&&(p="thick"),a.includes(".")&&(p="dotted"),{type:f,stroke:p}},jMe=(i,a)=>{const f=a.length;let p=0;for(let v=0;v<f;++v)a[v]===i&&++p;return p},$Me=i=>{const a=i.trim();let f=a.slice(0,-1),p="arrow_open";switch(a.slice(-1)){case"x":p="arrow_cross",a[0]==="x"&&(p="double_"+p,f=f.slice(1));break;case">":p="arrow_point",a[0]==="<"&&(p="double_"+p,f=f.slice(1));break;case"o":p="arrow_circle",a[0]==="o"&&(p="double_"+p,f=f.slice(1));break}let v="normal",m=f.length-1;f[0]==="="&&(v="thick"),f[0]==="~"&&(v="invisible");let b=jMe(".",f);return b&&(v="dotted",m=b),{type:p,stroke:v,length:m}},OPt=(i,a)=>{const f=$Me(i);let p;if(a){if(p=RMe(a),p.stroke!==f.stroke)return{type:"INVALID",stroke:"INVALID"};if(p.type==="arrow_open")p.type=f.type;else{if(p.type!==f.type)return{type:"INVALID",stroke:"INVALID"};p.type="double_"+p.type}return p.type==="double_arrow"&&(p.type="double_arrow_point"),p.length=f.length,p}return f},PPt=(i,a)=>{let f=!1;return i.forEach(p=>{p.nodes.indexOf(a)>=0&&(f=!0)}),f},NPt=(i,a)=>{const f=[];return i.nodes.forEach((p,v)=>{PPt(a,p)||f.push(i.nodes[v])}),{nodes:f}},FPt={firstGraph:IPt},ck={parseDirective:aPt,defaultConfig:()=>eE.flowchart,setAccTitle:E0,getAccTitle:fg,getAccDescription:gg,setAccDescription:dg,addVertex:oPt,lookUpDomId:iN,addLink:uPt,updateLinkInterpolate:lPt,updateLink:hPt,addClass:fPt,setDirection:dPt,setClass:QW,setTooltip:NMe,getTooltip:pPt,setClickEvent:bPt,setLink:gPt,bindFunctions:vPt,getDirection:wPt,getVertices:mPt,getEdges:yPt,getClasses:xPt,clear:EPt,setGen:TPt,defaultStyle:_Pt,addSubGraph:CPt,getDepthFirstPos:LPt,indexNodes:MPt,getSubGraphs:DPt,destructLink:OPt,lex:FPt,exists:PPt,makeUniq:NPt,setDiagramTitle:F2,getDiagramTitle:fp},zMe=Object.freeze(Object.defineProperty({__proto__:null,addClass:fPt,addLink:uPt,addSingleLink:cPt,addSubGraph:CPt,addVertex:oPt,bindFunctions:vPt,clear:EPt,default:ck,defaultStyle:_Pt,destructLink:OPt,firstGraph:IPt,getClasses:xPt,getDepthFirstPos:LPt,getDirection:wPt,getEdges:yPt,getSubGraphs:DPt,getTooltip:pPt,getVertices:mPt,indexNodes:MPt,lex:FPt,lookUpDomId:iN,parseDirective:aPt,setClass:QW,setClickEvent:bPt,setDirection:dPt,setGen:TPt,setLink:gPt,updateLink:hPt,updateLinkInterpolate:lPt},Symbol.toStringTag,{value:"Module"}));var qMe="[object Symbol]";function fE(i){return typeof i=="symbol"||f3(i)&&iE(i)==qMe}function ZA(i,a){for(var f=-1,p=i==null?0:i.length,v=Array(p);++f<p;)v[f]=a(i[f],f,i);return v}var HMe=1/0,BPt=Qb?Qb.prototype:void 0,RPt=BPt?BPt.toString:void 0;function jPt(i){if(typeof i=="string")return i;if(Rf(i))return ZA(i,jPt)+"";if(fE(i))return RPt?RPt.call(i):"";var a=i+"";return a=="0"&&1/i==-HMe?"-0":a}var VMe=/\s/;function GMe(i){for(var a=i.length;a--&&VMe.test(i.charAt(a)););return a}var UMe=/^\s+/;function WMe(i){return i&&i.slice(0,GMe(i)+1).replace(UMe,"")}var $Pt=0/0,KMe=/^[-+]0x[0-9a-f]+$/i,YMe=/^0b[01]+$/i,XMe=/^0o[0-7]+$/i,QMe=parseInt;function ZMe(i){if(typeof i=="number")return i;if(fE(i))return $Pt;if(B2(i)){var a=typeof i.valueOf=="function"?i.valueOf():i;i=B2(a)?a+"":a}if(typeof i!="string")return i===0?i:+i;i=WMe(i);var f=YMe.test(i);return f||XMe.test(i)?QMe(i.slice(2),f?2:8):KMe.test(i)?$Pt:+i}var zPt=1/0,JMe=17976931348623157e292;function ZW(i){if(!i)return i===0?i:0;if(i=ZMe(i),i===zPt||i===-zPt){var a=i<0?-1:1;return a*JMe}return i===i?i:0}function tDe(i){var a=ZW(i),f=a%1;return a===a?f?a-f:a:0}function dE(i){return i}var qPt=Object.create,eDe=function(){function i(){}return function(a){if(!B2(a))return{};if(qPt)return qPt(a);i.prototype=a;var f=new i;return i.prototype=void 0,f}}();const nDe=eDe;function rDe(i,a,f){switch(f.length){case 0:return i.call(a);case 1:return i.call(a,f[0]);case 2:return i.call(a,f[0],f[1]);case 3:return i.call(a,f[0],f[1],f[2])}return i.apply(a,f)}function iDe(){}function HPt(i,a){var f=-1,p=i.length;for(a||(a=Array(p));++f<p;)a[f]=i[f];return a}var sDe=800,aDe=16,oDe=Date.now;function cDe(i){var a=0,f=0;return function(){var p=oDe(),v=aDe-(p-f);if(f=p,v>0){if(++a>=sDe)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}function JA(i){return function(){return i}}var uDe=function(){try{var i=aE(Object,"defineProperty");return i({},"",{}),i}catch{}}();const JW=uDe;var lDe=JW?function(i,a){return JW(i,"toString",{configurable:!0,enumerable:!1,value:JA(a),writable:!0})}:dE,hDe=cDe(lDe);const VPt=hDe;function GPt(i,a){for(var f=-1,p=i==null?0:i.length;++f<p&&a(i[f],f,i)!==!1;);return i}function UPt(i,a,f,p){for(var v=i.length,m=f+(p?1:-1);p?m--:++m<v;)if(a(i[m],m,i))return m;return-1}function fDe(i){return i!==i}function dDe(i,a,f){for(var p=f-1,v=i.length;++p<v;)if(i[p]===a)return p;return-1}function gDe(i,a,f){return a===a?dDe(i,a,f):UPt(i,fDe,f)}function pDe(i,a){var f=i==null?0:i.length;return!!f&&gDe(i,a,0)>-1}var bDe=9007199254740991,vDe=/^(?:0|[1-9]\d*)$/;function tK(i,a){var f=typeof i;return a=a??bDe,!!a&&(f=="number"||f!="symbol"&&vDe.test(i))&&i>-1&&i%1==0&&i<a}function eK(i,a,f){a=="__proto__"&&JW?JW(i,a,{configurable:!0,enumerable:!0,value:f,writable:!0}):i[a]=f}var wDe=Object.prototype,mDe=wDe.hasOwnProperty;function nK(i,a,f){var p=i[a];(!(mDe.call(i,a)&&$A(p,f))||f===void 0&&!(a in i))&&eK(i,a,f)}function aN(i,a,f,p){var v=!f;f||(f={});for(var m=-1,b=a.length;++m<b;){var E=a[m],C=p?p(f[E],i[E],E,f,i):void 0;C===void 0&&(C=i[E]),v?eK(f,E,C):nK(f,E,C)}return f}var WPt=Math.max;function KPt(i,a,f){return a=WPt(a===void 0?i.length-1:a,0),function(){for(var p=arguments,v=-1,m=WPt(p.length-a,0),b=Array(m);++v<m;)b[v]=p[a+v];v=-1;for(var E=Array(a+1);++v<a;)E[v]=p[v];return E[a]=f(b),rDe(i,this,E)}}function rK(i,a){return VPt(KPt(i,a,dE),i+"")}function oN(i,a,f){if(!B2(f))return!1;var p=typeof a;return(p=="number"?sk(f)&&tK(a,f.length):p=="string"&&a in f)?$A(f[a],i):!1}function yDe(i){return rK(function(a,f){var p=-1,v=f.length,m=v>1?f[v-1]:void 0,b=v>2?f[2]:void 0;for(m=i.length>3&&typeof m=="function"?(v--,m):void 0,b&&oN(f[0],f[1],b)&&(m=v<3?void 0:m,v=1),a=Object(a);++p<v;){var E=f[p];E&&i(a,E,p,m)}return a})}function xDe(i,a){for(var f=-1,p=Array(i);++f<i;)p[f]=a(f);return p}var kDe=Object.prototype,EDe=kDe.hasOwnProperty;function YPt(i,a){var f=Rf(i),p=!f&&KA(i),v=!f&&!p&&YA(i),m=!f&&!p&&!v&&FW(i),b=f||p||v||m,E=b?xDe(i.length,String):[],C=E.length;for(var A in i)(a||EDe.call(i,A))&&!(b&&(A=="length"||v&&(A=="offset"||A=="parent")||m&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||tK(A,C)))&&E.push(A);return E}function j2(i){return sk(i)?YPt(i):_Ot(i)}function TDe(i){var a=[];if(i!=null)for(var f in Object(i))a.push(f);return a}var _De=Object.prototype,CDe=_De.hasOwnProperty;function SDe(i){if(!B2(i))return TDe(i);var a=PW(i),f=[];for(var p in i)p=="constructor"&&(a||!CDe.call(i,p))||f.push(p);return f}function gE(i){return sk(i)?YPt(i,!0):SDe(i)}var ADe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,LDe=/^\w*$/;function Odt(i,a){if(Rf(i))return!1;var f=typeof i;return f=="number"||f=="symbol"||f=="boolean"||i==null||fE(i)?!0:LDe.test(i)||!ADe.test(i)||a!=null&&i in Object(a)}var MDe=500;function DDe(i){var a=zA(i,function(p){return f.size===MDe&&f.clear(),p}),f=a.cache;return a}var IDe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ODe=/\\(\\)?/g,PDe=DDe(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(IDe,function(f,p,v,m){a.push(v?m.replace(ODe,"$1"):p||f)}),a});const NDe=PDe;function XPt(i){return i==null?"":jPt(i)}function iK(i,a){return Rf(i)?i:Odt(i,a)?[i]:NDe(XPt(i))}var FDe=1/0;function cN(i){if(typeof i=="string"||fE(i))return i;var a=i+"";return a=="0"&&1/i==-FDe?"-0":a}function sK(i,a){a=iK(a,i);for(var f=0,p=a.length;i!=null&&f<p;)i=i[cN(a[f++])];return f&&f==p?i:void 0}function BDe(i,a,f){var p=i==null?void 0:sK(i,a);return p===void 0?f:p}function Pdt(i,a){for(var f=-1,p=a.length,v=i.length;++f<p;)i[v+f]=a[f];return i}var QPt=Qb?Qb.isConcatSpreadable:void 0;function RDe(i){return Rf(i)||KA(i)||!!(QPt&&i&&i[QPt])}function aK(i,a,f,p,v){var m=-1,b=i.length;for(f||(f=RDe),v||(v=[]);++m<b;){var E=i[m];a>0&&f(E)?a>1?aK(E,a-1,f,p,v):Pdt(v,E):p||(v[v.length]=E)}return v}function tL(i){var a=i==null?0:i.length;return a?aK(i,1):[]}function jDe(i){return VPt(KPt(i,void 0,tL),i+"")}var $De=TOt(Object.getPrototypeOf,Object);const Ndt=$De;var zDe="[object Object]",qDe=Function.prototype,HDe=Object.prototype,ZPt=qDe.toString,VDe=HDe.hasOwnProperty,GDe=ZPt.call(Object);function JPt(i){if(!f3(i)||iE(i)!=zDe)return!1;var a=Ndt(i);if(a===null)return!0;var f=VDe.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&ZPt.call(f)==GDe}function UDe(i,a,f,p){var v=-1,m=i==null?0:i.length;for(p&&m&&(f=i[++v]);++v<m;)f=a(f,i[v],v,i);return f}function WDe(){this.__data__=new x5,this.size=0}function KDe(i){var a=this.__data__,f=a.delete(i);return this.size=a.size,f}function YDe(i){return this.__data__.get(i)}function XDe(i){return this.__data__.has(i)}var QDe=200;function ZDe(i,a){var f=this.__data__;if(f instanceof x5){var p=f.__data__;if(!XP||p.length<QDe-1)return p.push([i,a]),this.size=++f.size,this;f=this.__data__=new k5(p)}return f.set(i,a),this.size=f.size,this}function im(i){var a=this.__data__=new x5(i);this.size=a.size}im.prototype.clear=WDe,im.prototype.delete=KDe,im.prototype.get=YDe,im.prototype.has=XDe,im.prototype.set=ZDe;function JDe(i,a){return i&&aN(a,j2(a),i)}function tIe(i,a){return i&&aN(a,gE(a),i)}var tNt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,eNt=tNt&&typeof module=="object"&&module&&!module.nodeType&&module,eIe=eNt&&eNt.exports===tNt,nNt=eIe?Zw.Buffer:void 0,rNt=nNt?nNt.allocUnsafe:void 0;function iNt(i,a){if(a)return i.slice();var f=i.length,p=rNt?rNt(f):new i.constructor(f);return i.copy(p),p}function sNt(i,a){for(var f=-1,p=i==null?0:i.length,v=0,m=[];++f<p;){var b=i[f];a(b,f,i)&&(m[v++]=b)}return m}function aNt(){return[]}var nIe=Object.prototype,rIe=nIe.propertyIsEnumerable,oNt=Object.getOwnPropertySymbols,iIe=oNt?function(i){return i==null?[]:(i=Object(i),sNt(oNt(i),function(a){return rIe.call(i,a)}))}:aNt;const Fdt=iIe;function sIe(i,a){return aN(i,Fdt(i),a)}var aIe=Object.getOwnPropertySymbols,oIe=aIe?function(i){for(var a=[];i;)Pdt(a,Fdt(i)),i=Ndt(i);return a}:aNt;const cNt=oIe;function cIe(i,a){return aN(i,cNt(i),a)}function uNt(i,a,f){var p=a(i);return Rf(i)?p:Pdt(p,f(i))}function Bdt(i){return uNt(i,j2,Fdt)}function uIe(i){return uNt(i,gE,cNt)}var lIe=Object.prototype,hIe=lIe.hasOwnProperty;function fIe(i){var a=i.length,f=new i.constructor(a);return a&&typeof i[0]=="string"&&hIe.call(i,"index")&&(f.index=i.index,f.input=i.input),f}var dIe=Zw.Uint8Array;const oK=dIe;function Rdt(i){var a=new i.constructor(i.byteLength);return new oK(a).set(new oK(i)),a}function gIe(i,a){var f=a?Rdt(i.buffer):i.buffer;return new i.constructor(f,i.byteOffset,i.byteLength)}var pIe=/\w*$/;function bIe(i){var a=new i.constructor(i.source,pIe.exec(i));return a.lastIndex=i.lastIndex,a}var lNt=Qb?Qb.prototype:void 0,hNt=lNt?lNt.valueOf:void 0;function vIe(i){return hNt?Object(hNt.call(i)):{}}function fNt(i,a){var f=a?Rdt(i.buffer):i.buffer;return new i.constructor(f,i.byteOffset,i.length)}var wIe="[object Boolean]",mIe="[object Date]",yIe="[object Map]",xIe="[object Number]",kIe="[object RegExp]",EIe="[object Set]",TIe="[object String]",_Ie="[object Symbol]",CIe="[object ArrayBuffer]",SIe="[object DataView]",AIe="[object Float32Array]",LIe="[object Float64Array]",MIe="[object Int8Array]",DIe="[object Int16Array]",IIe="[object Int32Array]",OIe="[object Uint8Array]",PIe="[object Uint8ClampedArray]",NIe="[object Uint16Array]",FIe="[object Uint32Array]";function BIe(i,a,f){var p=i.constructor;switch(a){case CIe:return Rdt(i);case wIe:case mIe:return new p(+i);case SIe:return gIe(i,f);case AIe:case LIe:case MIe:case DIe:case IIe:case OIe:case PIe:case NIe:case FIe:return fNt(i,f);case yIe:return new p;case xIe:case TIe:return new p(i);case kIe:return bIe(i);case EIe:return new p;case _Ie:return vIe(i)}}function dNt(i){return typeof i.constructor=="function"&&!PW(i)?nDe(Ndt(i)):{}}var RIe="[object Map]";function jIe(i){return f3(i)&&WA(i)==RIe}var gNt=XA&&XA.isMap,$Ie=gNt?NW(gNt):jIe;const zIe=$Ie;var qIe="[object Set]";function HIe(i){return f3(i)&&WA(i)==qIe}var pNt=XA&&XA.isSet,VIe=pNt?NW(pNt):HIe;const GIe=VIe;var UIe=1,WIe=2,KIe=4,bNt="[object Arguments]",YIe="[object Array]",XIe="[object Boolean]",QIe="[object Date]",ZIe="[object Error]",vNt="[object Function]",JIe="[object GeneratorFunction]",tOe="[object Map]",eOe="[object Number]",wNt="[object Object]",nOe="[object RegExp]",rOe="[object Set]",iOe="[object String]",sOe="[object Symbol]",aOe="[object WeakMap]",oOe="[object ArrayBuffer]",cOe="[object DataView]",uOe="[object Float32Array]",lOe="[object Float64Array]",hOe="[object Int8Array]",fOe="[object Int16Array]",dOe="[object Int32Array]",gOe="[object Uint8Array]",pOe="[object Uint8ClampedArray]",bOe="[object Uint16Array]",vOe="[object Uint32Array]",dl={};dl[bNt]=dl[YIe]=dl[oOe]=dl[cOe]=dl[XIe]=dl[QIe]=dl[uOe]=dl[lOe]=dl[hOe]=dl[fOe]=dl[dOe]=dl[tOe]=dl[eOe]=dl[wNt]=dl[nOe]=dl[rOe]=dl[iOe]=dl[sOe]=dl[gOe]=dl[pOe]=dl[bOe]=dl[vOe]=!0,dl[ZIe]=dl[vNt]=dl[aOe]=!1;function uN(i,a,f,p,v,m){var b,E=a&UIe,C=a&WIe,A=a&KIe;if(f&&(b=v?f(i,p,v,m):f(i)),b!==void 0)return b;if(!B2(i))return i;var N=Rf(i);if(N){if(b=fIe(i),!E)return HPt(i,b)}else{var F=WA(i),j=F==vNt||F==JIe;if(YA(i))return iNt(i,E);if(F==wNt||F==bNt||j&&!v){if(b=C||j?{}:dNt(i),!E)return C?cIe(i,tIe(b,i)):sIe(i,JDe(b,i))}else{if(!dl[F])return v?i:{};b=BIe(i,F,E)}}m||(m=new im);var R=m.get(i);if(R)return R;m.set(i,b),GIe(i)?i.forEach(function(rt){b.add(uN(rt,a,f,rt,i,m))}):zIe(i)&&i.forEach(function(rt,J){b.set(J,uN(rt,a,f,J,i,m))});var H=A?C?uIe:Bdt:C?gE:j2,Y=N?void 0:H(i);return GPt(Y||i,function(rt,J){Y&&(J=rt,rt=i[J]),nK(b,J,uN(rt,a,f,J,i,m))}),b}var wOe=4;function mOe(i){return uN(i,wOe)}var yOe=1,xOe=4;function kOe(i){return uN(i,yOe|xOe)}var EOe="__lodash_hash_undefined__";function TOe(i){return this.__data__.set(i,EOe),this}function _Oe(i){return this.__data__.has(i)}function lN(i){var a=-1,f=i==null?0:i.length;for(this.__data__=new k5;++a<f;)this.add(i[a])}lN.prototype.add=lN.prototype.push=TOe,lN.prototype.has=_Oe;function COe(i,a){for(var f=-1,p=i==null?0:i.length;++f<p;)if(a(i[f],f,i))return!0;return!1}function mNt(i,a){return i.has(a)}var SOe=1,AOe=2;function yNt(i,a,f,p,v,m){var b=f&SOe,E=i.length,C=a.length;if(E!=C&&!(b&&C>E))return!1;var A=m.get(i),N=m.get(a);if(A&&N)return A==a&&N==i;var F=-1,j=!0,R=f&AOe?new lN:void 0;for(m.set(i,a),m.set(a,i);++F<E;){var H=i[F],Y=a[F];if(p)var rt=b?p(Y,H,F,a,i,m):p(H,Y,F,i,a,m);if(rt!==void 0){if(rt)continue;j=!1;break}if(R){if(!COe(a,function(J,it){if(!mNt(R,it)&&(H===J||v(H,J,f,p,m)))return R.push(it)})){j=!1;break}}else if(!(H===Y||v(H,Y,f,p,m))){j=!1;break}}return m.delete(i),m.delete(a),j}function LOe(i){var a=-1,f=Array(i.size);return i.forEach(function(p,v){f[++a]=[v,p]}),f}function jdt(i){var a=-1,f=Array(i.size);return i.forEach(function(p){f[++a]=p}),f}var MOe=1,DOe=2,IOe="[object Boolean]",OOe="[object Date]",POe="[object Error]",NOe="[object Map]",FOe="[object Number]",BOe="[object RegExp]",ROe="[object Set]",jOe="[object String]",$Oe="[object Symbol]",zOe="[object ArrayBuffer]",qOe="[object DataView]",xNt=Qb?Qb.prototype:void 0,$dt=xNt?xNt.valueOf:void 0;function HOe(i,a,f,p,v,m,b){switch(f){case qOe:if(i.byteLength!=a.byteLength||i.byteOffset!=a.byteOffset)return!1;i=i.buffer,a=a.buffer;case zOe:return!(i.byteLength!=a.byteLength||!m(new oK(i),new oK(a)));case IOe:case OOe:case FOe:return $A(+i,+a);case POe:return i.name==a.name&&i.message==a.message;case BOe:case jOe:return i==a+"";case NOe:var E=LOe;case ROe:var C=p&MOe;if(E||(E=jdt),i.size!=a.size&&!C)return!1;var A=b.get(i);if(A)return A==a;p|=DOe,b.set(i,a);var N=yNt(E(i),E(a),p,v,m,b);return b.delete(i),N;case $Oe:if($dt)return $dt.call(i)==$dt.call(a)}return!1}var VOe=1,GOe=Object.prototype,UOe=GOe.hasOwnProperty;function WOe(i,a,f,p,v,m){var b=f&VOe,E=Bdt(i),C=E.length,A=Bdt(a),N=A.length;if(C!=N&&!b)return!1;for(var F=C;F--;){var j=E[F];if(!(b?j in a:UOe.call(a,j)))return!1}var R=m.get(i),H=m.get(a);if(R&&H)return R==a&&H==i;var Y=!0;m.set(i,a),m.set(a,i);for(var rt=b;++F<C;){j=E[F];var J=i[j],it=a[j];if(p)var ht=b?p(it,J,j,a,i,m):p(J,it,j,i,a,m);if(!(ht===void 0?J===it||v(J,it,f,p,m):ht)){Y=!1;break}rt||(rt=j=="constructor")}if(Y&&!rt){var Tt=i.constructor,yt=a.constructor;Tt!=yt&&"constructor"in i&&"constructor"in a&&!(typeof Tt=="function"&&Tt instanceof Tt&&typeof yt=="function"&&yt instanceof yt)&&(Y=!1)}return m.delete(i),m.delete(a),Y}var KOe=1,kNt="[object Arguments]",ENt="[object Array]",cK="[object Object]",YOe=Object.prototype,TNt=YOe.hasOwnProperty;function XOe(i,a,f,p,v,m){var b=Rf(i),E=Rf(a),C=b?ENt:WA(i),A=E?ENt:WA(a);C=C==kNt?cK:C,A=A==kNt?cK:A;var N=C==cK,F=A==cK,j=C==A;if(j&&YA(i)){if(!YA(a))return!1;b=!0,N=!1}if(j&&!N)return m||(m=new im),b||FW(i)?yNt(i,a,f,p,v,m):HOe(i,a,C,f,p,v,m);if(!(f&KOe)){var R=N&&TNt.call(i,"__wrapped__"),H=F&&TNt.call(a,"__wrapped__");if(R||H){var Y=R?i.value():i,rt=H?a.value():a;return m||(m=new im),v(Y,rt,f,p,m)}}return j?(m||(m=new im),WOe(i,a,f,p,v,m)):!1}function zdt(i,a,f,p,v){return i===a?!0:i==null||a==null||!f3(i)&&!f3(a)?i!==i&&a!==a:XOe(i,a,f,p,zdt,v)}var QOe=1,ZOe=2;function JOe(i,a,f,p){var v=f.length,m=v,b=!p;if(i==null)return!m;for(i=Object(i);v--;){var E=f[v];if(b&&E[2]?E[1]!==i[E[0]]:!(E[0]in i))return!1}for(;++v<m;){E=f[v];var C=E[0],A=i[C],N=E[1];if(b&&E[2]){if(A===void 0&&!(C in i))return!1}else{var F=new im;if(p)var j=p(A,N,C,i,a,F);if(!(j===void 0?zdt(N,A,QOe|ZOe,p,F):j))return!1}}return!0}function _Nt(i){return i===i&&!B2(i)}function tPe(i){for(var a=j2(i),f=a.length;f--;){var p=a[f],v=i[p];a[f]=[p,v,_Nt(v)]}return a}function CNt(i,a){return function(f){return f==null?!1:f[i]===a&&(a!==void 0||i in Object(f))}}function ePe(i){var a=tPe(i);return a.length==1&&a[0][2]?CNt(a[0][0],a[0][1]):function(f){return f===i||JOe(f,i,a)}}function nPe(i,a){return i!=null&&a in Object(i)}function SNt(i,a,f){a=iK(a,i);for(var p=-1,v=a.length,m=!1;++p<v;){var b=cN(a[p]);if(!(m=i!=null&&f(i,b)))break;i=i[b]}return m||++p!=v?m:(v=i==null?0:i.length,!!v&&ydt(v)&&tK(b,v)&&(Rf(i)||KA(i)))}function ANt(i,a){return i!=null&&SNt(i,a,nPe)}var rPe=1,iPe=2;function sPe(i,a){return Odt(i)&&_Nt(a)?CNt(cN(i),a):function(f){var p=BDe(f,i);return p===void 0&&p===a?ANt(f,i):zdt(a,p,rPe|iPe)}}function aPe(i){return function(a){return a==null?void 0:a[i]}}function oPe(i){return function(a){return sK(a,i)}}function cPe(i){return Odt(i)?aPe(cN(i)):oPe(i)}function uk(i){return typeof i=="function"?i:i==null?dE:typeof i=="object"?Rf(i)?sPe(i[0],i[1]):ePe(i):cPe(i)}function uPe(i){return function(a,f,p){for(var v=-1,m=Object(a),b=p(a),E=b.length;E--;){var C=b[i?E:++v];if(f(m[C],C,m)===!1)break}return a}}var lPe=uPe();const qdt=lPe;function Hdt(i,a){return i&&qdt(i,a,j2)}function hPe(i,a){return function(f,p){if(f==null)return f;if(!sk(f))return i(f,p);for(var v=f.length,m=a?v:-1,b=Object(f);(a?m--:++m<v)&&p(b[m],m,b)!==!1;);return f}}var fPe=hPe(Hdt);const uK=fPe;var dPe=function(){return Zw.Date.now()};const LNt=dPe;var MNt=Object.prototype,gPe=MNt.hasOwnProperty,pPe=rK(function(i,a){i=Object(i);var f=-1,p=a.length,v=p>2?a[2]:void 0;for(v&&oN(a[0],a[1],v)&&(p=1);++f<p;)for(var m=a[f],b=gE(m),E=-1,C=b.length;++E<C;){var A=b[E],N=i[A];(N===void 0||$A(N,MNt[A])&&!gPe.call(i,A))&&(i[A]=m[A])}return i});const eL=pPe;function Vdt(i,a,f){(f!==void 0&&!$A(i[a],f)||f===void 0&&!(a in i))&&eK(i,a,f)}function DNt(i){return f3(i)&&sk(i)}function Gdt(i,a){if(!(a==="constructor"&&typeof i[a]=="function")&&a!="__proto__")return i[a]}function bPe(i){return aN(i,gE(i))}function vPe(i,a,f,p,v,m,b){var E=Gdt(i,f),C=Gdt(a,f),A=b.get(C);if(A){Vdt(i,f,A);return}var N=m?m(E,C,f+"",i,a,b):void 0,F=N===void 0;if(F){var j=Rf(C),R=!j&&YA(C),H=!j&&!R&&FW(C);N=C,j||R||H?Rf(E)?N=E:DNt(E)?N=HPt(E):R?(F=!1,N=iNt(C,!0)):H?(F=!1,N=fNt(C,!0)):N=[]:JPt(C)||KA(C)?(N=E,KA(E)?N=bPe(E):(!B2(E)||jA(E))&&(N=dNt(C))):F=!1}F&&(b.set(C,N),v(N,C,p,m,b),b.delete(C)),Vdt(i,f,N)}function INt(i,a,f,p,v){i!==a&&qdt(a,function(m,b){if(v||(v=new im),B2(m))vPe(i,a,b,f,INt,p,v);else{var E=p?p(Gdt(i,b),m,b+"",i,a,v):void 0;E===void 0&&(E=m),Vdt(i,b,E)}},gE)}function wPe(i,a,f){for(var p=-1,v=i==null?0:i.length;++p<v;)if(f(a,i[p]))return!0;return!1}function lK(i){var a=i==null?0:i.length;return a?i[a-1]:void 0}function Udt(i){return typeof i=="function"?i:dE}function mr(i,a){var f=Rf(i)?GPt:uK;return f(i,Udt(a))}function mPe(i,a){var f=[];return uK(i,function(p,v,m){a(p,v,m)&&f.push(p)}),f}function _5(i,a){var f=Rf(i)?sNt:mPe;return f(i,uk(a))}function yPe(i){return function(a,f,p){var v=Object(a);if(!sk(a)){var m=uk(f);a=j2(a),f=function(E){return m(v[E],E,v)}}var b=i(a,f,p);return b>-1?v[m?a[b]:b]:void 0}}var xPe=Math.max;function kPe(i,a,f){var p=i==null?0:i.length;if(!p)return-1;var v=f==null?0:tDe(f);return v<0&&(v=xPe(p+v,0)),UPt(i,uk(a),v)}var EPe=yPe(kPe);const Wdt=EPe;function ONt(i,a){var f=-1,p=sk(i)?Array(i.length):[];return uK(i,function(v,m,b){p[++f]=a(v,m,b)}),p}function jf(i,a){var f=Rf(i)?ZA:ONt;return f(i,uk(a))}function TPe(i,a){return i==null?i:qdt(i,Udt(a),gE)}function _Pe(i,a){return i&&Hdt(i,Udt(a))}function CPe(i,a){return i>a}var SPe=Object.prototype,APe=SPe.hasOwnProperty;function LPe(i,a){return i!=null&&APe.call(i,a)}function no(i,a){return i!=null&&SNt(i,a,LPe)}function MPe(i,a){return ZA(a,function(f){return i[f]})}function C5(i){return i==null?[]:MPe(i,j2(i))}function sf(i){return i===void 0}function PNt(i,a){return i<a}function hK(i,a){var f={};return a=uk(a),Hdt(i,function(p,v,m){eK(f,v,a(p,v,m))}),f}function Kdt(i,a,f){for(var p=-1,v=i.length;++p<v;){var m=i[p],b=a(m);if(b!=null&&(E===void 0?b===b&&!fE(b):f(b,E)))var E=b,C=m}return C}function pE(i){return i&&i.length?Kdt(i,dE,CPe):void 0}var DPe=yDe(function(i,a,f){INt(i,a,f)});const Ydt=DPe;function hN(i){return i&&i.length?Kdt(i,dE,PNt):void 0}function Xdt(i,a){return i&&i.length?Kdt(i,uk(a),PNt):void 0}function IPe(i,a,f,p){if(!B2(i))return i;a=iK(a,i);for(var v=-1,m=a.length,b=m-1,E=i;E!=null&&++v<m;){var C=cN(a[v]),A=f;if(C==="__proto__"||C==="constructor"||C==="prototype")return i;if(v!=b){var N=E[C];A=p?p(N,C,E):void 0,A===void 0&&(A=B2(N)?N:tK(a[v+1])?[]:{})}nK(E,C,A),E=E[C]}return i}function OPe(i,a,f){for(var p=-1,v=a.length,m={};++p<v;){var b=a[p],E=sK(i,b);f(E,b)&&IPe(m,iK(b,i),E)}return m}function PPe(i,a){var f=i.length;for(i.sort(a);f--;)i[f]=i[f].value;return i}function NPe(i,a){if(i!==a){var f=i!==void 0,p=i===null,v=i===i,m=fE(i),b=a!==void 0,E=a===null,C=a===a,A=fE(a);if(!E&&!A&&!m&&i>a||m&&b&&C&&!E&&!A||p&&b&&C||!f&&C||!v)return 1;if(!p&&!m&&!A&&i<a||A&&f&&v&&!p&&!m||E&&f&&v||!b&&v||!C)return-1}return 0}function FPe(i,a,f){for(var p=-1,v=i.criteria,m=a.criteria,b=v.length,E=f.length;++p<b;){var C=NPe(v[p],m[p]);if(C){if(p>=E)return C;var A=f[p];return C*(A=="desc"?-1:1)}}return i.index-a.index}function BPe(i,a,f){a.length?a=ZA(a,function(m){return Rf(m)?function(b){return sK(b,m.length===1?m[0]:m)}:m}):a=[dE];var p=-1;a=ZA(a,NW(uk));var v=ONt(i,function(m,b,E){var C=ZA(a,function(A){return A(m)});return{criteria:C,index:++p,value:m}});return PPe(v,function(m,b){return FPe(m,b,f)})}function RPe(i,a){return OPe(i,a,function(f,p){return ANt(i,p)})}var jPe=jDe(function(i,a){return i==null?{}:RPe(i,a)});const fN=jPe;var $Pe=Math.ceil,zPe=Math.max;function qPe(i,a,f,p){for(var v=-1,m=zPe($Pe((a-i)/(f||1)),0),b=Array(m);m--;)b[p?m:++v]=i,i+=f;return b}function HPe(i){return function(a,f,p){return p&&typeof p!="number"&&oN(a,f,p)&&(f=p=void 0),a=ZW(a),f===void 0?(f=a,a=0):f=ZW(f),p=p===void 0?a<f?1:-1:ZW(p),qPe(a,f,p,i)}}var VPe=HPe();const bE=VPe;function GPe(i,a,f,p,v){return v(i,function(m,b,E){f=p?(p=!1,m):a(f,m,b,E)}),f}function dN(i,a,f){var p=Rf(i)?UDe:GPe,v=arguments.length<3;return p(i,uk(a),f,v,uK)}var UPe=rK(function(i,a){if(i==null)return[];var f=a.length;return f>1&&oN(i,a[0],a[1])?a=[]:f>2&&oN(a[0],a[1],a[2])&&(a=[a[0]]),BPe(i,aK(a,1),[])});const gN=UPe;var WPe=1/0,KPe=UA&&1/jdt(new UA([,-0]))[1]==WPe?function(i){return new UA(i)}:iDe;const YPe=KPe;var XPe=200;function QPe(i,a,f){var p=-1,v=pDe,m=i.length,b=!0,E=[],C=E;if(f)b=!1,v=wPe;else if(m>=XPe){var A=a?null:YPe(i);if(A)return jdt(A);b=!1,v=mNt,C=new lN}else C=a?[]:E;t:for(;++p<m;){var N=i[p],F=a?a(N):N;if(N=f||N!==0?N:0,b&&F===F){for(var j=C.length;j--;)if(C[j]===F)continue t;a&&C.push(F),E.push(N)}else v(C,F,f)||(C!==E&&C.push(F),E.push(N))}return E}var ZPe=rK(function(i){return QPe(aK(i,1,DNt,!0))});const JPe=ZPe;var tNe=0;function fK(i){var a=++tNe;return XPt(i)+a}function eNe(i,a,f){for(var p=-1,v=i.length,m=a.length,b={};++p<v;){var E=p<m?a[p]:void 0;f(b,i[p],E)}return b}function nNe(i,a){return eNe(i||[],a||[],nK)}var rNe="\0",vE="\0",NNt="";class d1{constructor(a={}){this._isDirected=no(a,"directed")?a.directed:!0,this._isMultigraph=no(a,"multigraph")?a.multigraph:!1,this._isCompound=no(a,"compound")?a.compound:!1,this._label=void 0,this._defaultNodeLabelFn=JA(void 0),this._defaultEdgeLabelFn=JA(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[vE]={}),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(a){return this._label=a,this}graph(){return this._label}setDefaultNodeLabel(a){return jA(a)||(a=JA(a)),this._defaultNodeLabelFn=a,this}nodeCount(){return this._nodeCount}nodes(){return j2(this._nodes)}sources(){var a=this;return _5(this.nodes(),function(f){return tN(a._in[f])})}sinks(){var a=this;return _5(this.nodes(),function(f){return tN(a._out[f])})}setNodes(a,f){var p=arguments,v=this;return mr(a,function(m){p.length>1?v.setNode(m,f):v.setNode(m)}),this}setNode(a,f){return no(this._nodes,a)?(arguments.length>1&&(this._nodes[a]=f),this):(this._nodes[a]=arguments.length>1?f:this._defaultNodeLabelFn(a),this._isCompound&&(this._parent[a]=vE,this._children[a]={},this._children[vE][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 no(this._nodes,a)}removeNode(a){var f=this;if(no(this._nodes,a)){var p=function(v){f.removeEdge(f._edgeObjs[v])};delete this._nodes[a],this._isCompound&&(this._removeFromParentsChildList(a),delete this._parent[a],mr(this.children(a),function(v){f.setParent(v)}),delete this._children[a]),mr(j2(this._in[a]),p),delete this._in[a],delete this._preds[a],mr(j2(this._out[a]),p),delete this._out[a],delete this._sucs[a],--this._nodeCount}return this}setParent(a,f){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(sf(f))f=vE;else{f+="";for(var p=f;!sf(p);p=this.parent(p))if(p===a)throw new Error("Setting "+f+" as parent of "+a+" would create a cycle");this.setNode(f)}return this.setNode(a),this._removeFromParentsChildList(a),this._parent[a]=f,this._children[f][a]=!0,this}_removeFromParentsChildList(a){delete this._children[this._parent[a]][a]}parent(a){if(this._isCompound){var f=this._parent[a];if(f!==vE)return f}}children(a){if(sf(a)&&(a=vE),this._isCompound){var f=this._children[a];if(f)return j2(f)}else{if(a===vE)return this.nodes();if(this.hasNode(a))return[]}}predecessors(a){var f=this._preds[a];if(f)return j2(f)}successors(a){var f=this._sucs[a];if(f)return j2(f)}neighbors(a){var f=this.predecessors(a);if(f)return JPe(f,this.successors(a))}isLeaf(a){var f;return this.isDirected()?f=this.successors(a):f=this.neighbors(a),f.length===0}filterNodes(a){var f=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});f.setGraph(this.graph());var p=this;mr(this._nodes,function(b,E){a(E)&&f.setNode(E,b)}),mr(this._edgeObjs,function(b){f.hasNode(b.v)&&f.hasNode(b.w)&&f.setEdge(b,p.edge(b))});var v={};function m(b){var E=p.parent(b);return E===void 0||f.hasNode(E)?(v[b]=E,E):E in v?v[E]:m(E)}return this._isCompound&&mr(f.nodes(),function(b){f.setParent(b,m(b))}),f}setDefaultEdgeLabel(a){return jA(a)||(a=JA(a)),this._defaultEdgeLabelFn=a,this}edgeCount(){return this._edgeCount}edges(){return C5(this._edgeObjs)}setPath(a,f){var p=this,v=arguments;return dN(a,function(m,b){return v.length>1?p.setEdge(m,b,f):p.setEdge(m,b),b}),this}setEdge(){var a,f,p,v,m=!1,b=arguments[0];typeof b=="object"&&b!==null&&"v"in b?(a=b.v,f=b.w,p=b.name,arguments.length===2&&(v=arguments[1],m=!0)):(a=b,f=arguments[1],p=arguments[3],arguments.length>2&&(v=arguments[2],m=!0)),a=""+a,f=""+f,sf(p)||(p=""+p);var E=pN(this._isDirected,a,f,p);if(no(this._edgeLabels,E))return m&&(this._edgeLabels[E]=v),this;if(!sf(p)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(a),this.setNode(f),this._edgeLabels[E]=m?v:this._defaultEdgeLabelFn(a,f,p);var C=iNe(this._isDirected,a,f,p);return a=C.v,f=C.w,Object.freeze(C),this._edgeObjs[E]=C,FNt(this._preds[f],a),FNt(this._sucs[a],f),this._in[f][E]=C,this._out[a][E]=C,this._edgeCount++,this}edge(a,f,p){var v=arguments.length===1?Qdt(this._isDirected,arguments[0]):pN(this._isDirected,a,f,p);return this._edgeLabels[v]}hasEdge(a,f,p){var v=arguments.length===1?Qdt(this._isDirected,arguments[0]):pN(this._isDirected,a,f,p);return no(this._edgeLabels,v)}removeEdge(a,f,p){var v=arguments.length===1?Qdt(this._isDirected,arguments[0]):pN(this._isDirected,a,f,p),m=this._edgeObjs[v];return m&&(a=m.v,f=m.w,delete this._edgeLabels[v],delete this._edgeObjs[v],BNt(this._preds[f],a),BNt(this._sucs[a],f),delete this._in[f][v],delete this._out[a][v],this._edgeCount--),this}inEdges(a,f){var p=this._in[a];if(p){var v=C5(p);return f?_5(v,function(m){return m.v===f}):v}}outEdges(a,f){var p=this._out[a];if(p){var v=C5(p);return f?_5(v,function(m){return m.w===f}):v}}nodeEdges(a,f){var p=this.inEdges(a,f);if(p)return p.concat(this.outEdges(a,f))}}d1.prototype._nodeCount=0,d1.prototype._edgeCount=0;function FNt(i,a){i[a]?i[a]++:i[a]=1}function BNt(i,a){--i[a]||delete i[a]}function pN(i,a,f,p){var v=""+a,m=""+f;if(!i&&v>m){var b=v;v=m,m=b}return v+NNt+m+NNt+(sf(p)?rNe:p)}function iNe(i,a,f,p){var v=""+a,m=""+f;if(!i&&v>m){var b=v;v=m,m=b}var E={v,w:m};return p&&(E.name=p),E}function Qdt(i,a){return pN(i,a.v,a.w,a.name)}class sNe{constructor(){var a={};a._next=a._prev=a,this._sentinel=a}dequeue(){var a=this._sentinel,f=a._prev;if(f!==a)return RNt(f),f}enqueue(a){var f=this._sentinel;a._prev&&a._next&&RNt(a),a._next=f._next,f._next._prev=a,f._next=a,a._prev=f}toString(){for(var a=[],f=this._sentinel,p=f._prev;p!==f;)a.push(JSON.stringify(p,aNe)),p=p._prev;return"["+a.join(", ")+"]"}}function RNt(i){i._prev._next=i._next,i._next._prev=i._prev,delete i._next,delete i._prev}function aNe(i,a){if(i!=="_next"&&i!=="_prev")return a}var oNe=JA(1);function cNe(i,a){if(i.nodeCount()<=1)return[];var f=lNe(i,a||oNe),p=uNe(f.graph,f.buckets,f.zeroIdx);return tL(jf(p,function(v){return i.outEdges(v.v,v.w)}))}function uNe(i,a,f){for(var p=[],v=a[a.length-1],m=a[0],b;i.nodeCount();){for(;b=m.dequeue();)Zdt(i,a,f,b);for(;b=v.dequeue();)Zdt(i,a,f,b);if(i.nodeCount()){for(var E=a.length-2;E>0;--E)if(b=a[E].dequeue(),b){p=p.concat(Zdt(i,a,f,b,!0));break}}}return p}function Zdt(i,a,f,p,v){var m=v?[]:void 0;return mr(i.inEdges(p.v),function(b){var E=i.edge(b),C=i.node(b.v);v&&m.push({v:b.v,w:b.w}),C.out-=E,Jdt(a,f,C)}),mr(i.outEdges(p.v),function(b){var E=i.edge(b),C=b.w,A=i.node(C);A.in-=E,Jdt(a,f,A)}),i.removeNode(p.v),m}function lNe(i,a){var f=new d1,p=0,v=0;mr(i.nodes(),function(E){f.setNode(E,{v:E,in:0,out:0})}),mr(i.edges(),function(E){var C=f.edge(E.v,E.w)||0,A=a(E),N=C+A;f.setEdge(E.v,E.w,N),v=Math.max(v,f.node(E.v).out+=A),p=Math.max(p,f.node(E.w).in+=A)});var m=bE(v+p+3).map(function(){return new sNe}),b=p+1;return mr(f.nodes(),function(E){Jdt(m,b,f.node(E))}),{graph:f,buckets:m,zeroIdx:b}}function Jdt(i,a,f){f.out?f.in?i[f.out-f.in+a].enqueue(f):i[i.length-1].enqueue(f):i[0].enqueue(f)}function hNe(i){var a=i.graph().acyclicer==="greedy"?cNe(i,f(i)):fNe(i);mr(a,function(p){var v=i.edge(p);i.removeEdge(p),v.forwardName=p.name,v.reversed=!0,i.setEdge(p.w,p.v,v,fK("rev"))});function f(p){return function(v){return p.edge(v).weight}}}function fNe(i){var a=[],f={},p={};function v(m){no(p,m)||(p[m]=!0,f[m]=!0,mr(i.outEdges(m),function(b){no(f,b.w)?a.push(b):v(b.w)}),delete f[m])}return mr(i.nodes(),v),a}function dNe(i){mr(i.edges(),function(a){var f=i.edge(a);if(f.reversed){i.removeEdge(a);var p=f.forwardName;delete f.reversed,delete f.forwardName,i.setEdge(a.w,a.v,f,p)}})}function nL(i,a,f,p){var v;do v=fK(p);while(i.hasNode(v));return f.dummy=a,i.setNode(v,f),v}function gNe(i){var a=new d1().setGraph(i.graph());return mr(i.nodes(),function(f){a.setNode(f,i.node(f))}),mr(i.edges(),function(f){var p=a.edge(f.v,f.w)||{weight:0,minlen:1},v=i.edge(f);a.setEdge(f.v,f.w,{weight:p.weight+v.weight,minlen:Math.max(p.minlen,v.minlen)})}),a}function jNt(i){var a=new d1({multigraph:i.isMultigraph()}).setGraph(i.graph());return mr(i.nodes(),function(f){i.children(f).length||a.setNode(f,i.node(f))}),mr(i.edges(),function(f){a.setEdge(f,i.edge(f))}),a}function $Nt(i,a){var f=i.x,p=i.y,v=a.x-f,m=a.y-p,b=i.width/2,E=i.height/2;if(!v&&!m)throw new Error("Not possible to find intersection inside of the rectangle");var C,A;return Math.abs(m)*b>Math.abs(v)*E?(m<0&&(E=-E),C=E*v/m,A=E):(v<0&&(b=-b),C=b,A=b*m/v),{x:f+C,y:p+A}}function dK(i){var a=jf(bE(qNt(i)+1),function(){return[]});return mr(i.nodes(),function(f){var p=i.node(f),v=p.rank;sf(v)||(a[v][p.order]=f)}),a}function pNe(i){var a=hN(jf(i.nodes(),function(f){return i.node(f).rank}));mr(i.nodes(),function(f){var p=i.node(f);no(p,"rank")&&(p.rank-=a)})}function bNe(i){var a=hN(jf(i.nodes(),function(m){return i.node(m).rank})),f=[];mr(i.nodes(),function(m){var b=i.node(m).rank-a;f[b]||(f[b]=[]),f[b].push(m)});var p=0,v=i.graph().nodeRankFactor;mr(f,function(m,b){sf(m)&&b%v!==0?--p:p&&mr(m,function(E){i.node(E).rank+=p})})}function zNt(i,a,f,p){var v={width:0,height:0};return arguments.length>=4&&(v.rank=f,v.order=p),nL(i,"border",v,a)}function qNt(i){return pE(jf(i.nodes(),function(a){var f=i.node(a).rank;if(!sf(f))return f}))}function vNe(i,a){var f={lhs:[],rhs:[]};return mr(i,function(p){a(p)?f.lhs.push(p):f.rhs.push(p)}),f}function wNe(i,a){var f=LNt();try{return a()}finally{console.log(i+" time: "+(LNt()-f)+"ms")}}function mNe(i,a){return a()}function yNe(i){function a(f){var p=i.children(f),v=i.node(f);if(p.length&&mr(p,a),no(v,"minRank")){v.borderLeft=[],v.borderRight=[];for(var m=v.minRank,b=v.maxRank+1;m<b;++m)HNt(i,"borderLeft","_bl",f,v,m),HNt(i,"borderRight","_br",f,v,m)}}mr(i.children(),a)}function HNt(i,a,f,p,v,m){var b={width:0,height:0,rank:m,borderType:a},E=v[a][m-1],C=nL(i,"border",b,f);v[a][m]=C,i.setParent(C,p),E&&i.setEdge(E,C,{weight:1})}function xNe(i){var a=i.graph().rankdir.toLowerCase();(a==="lr"||a==="rl")&&VNt(i)}function kNe(i){var a=i.graph().rankdir.toLowerCase();(a==="bt"||a==="rl")&&ENe(i),(a==="lr"||a==="rl")&&(TNe(i),VNt(i))}function VNt(i){mr(i.nodes(),function(a){GNt(i.node(a))}),mr(i.edges(),function(a){GNt(i.edge(a))})}function GNt(i){var a=i.width;i.width=i.height,i.height=a}function ENe(i){mr(i.nodes(),function(a){t0t(i.node(a))}),mr(i.edges(),function(a){var f=i.edge(a);mr(f.points,t0t),no(f,"y")&&t0t(f)})}function t0t(i){i.y=-i.y}function TNe(i){mr(i.nodes(),function(a){e0t(i.node(a))}),mr(i.edges(),function(a){var f=i.edge(a);mr(f.points,e0t),no(f,"x")&&e0t(f)})}function e0t(i){var a=i.x;i.x=i.y,i.y=a}function _Ne(i){i.graph().dummyChains=[],mr(i.edges(),function(a){CNe(i,a)})}function CNe(i,a){var f=a.v,p=i.node(f).rank,v=a.w,m=i.node(v).rank,b=a.name,E=i.edge(a),C=E.labelRank;if(m!==p+1){i.removeEdge(a);var A,N,F;for(F=0,++p;p<m;++F,++p)E.points=[],N={width:0,height:0,edgeLabel:E,edgeObj:a,rank:p},A=nL(i,"edge",N,"_d"),p===C&&(N.width=E.width,N.height=E.height,N.dummy="edge-label",N.labelpos=E.labelpos),i.setEdge(f,A,{weight:E.weight},b),F===0&&i.graph().dummyChains.push(A),f=A;i.setEdge(f,v,{weight:E.weight},b)}}function SNe(i){mr(i.graph().dummyChains,function(a){var f=i.node(a),p=f.edgeLabel,v;for(i.setEdge(f.edgeObj,p);f.dummy;)v=i.successors(a)[0],i.removeNode(a),p.points.push({x:f.x,y:f.y}),f.dummy==="edge-label"&&(p.x=f.x,p.y=f.y,p.width=f.width,p.height=f.height),a=v,f=i.node(a)})}function n0t(i){var a={};function f(p){var v=i.node(p);if(no(a,p))return v.rank;a[p]=!0;var m=hN(jf(i.outEdges(p),function(b){return f(b.w)-i.edge(b).minlen}));return(m===Number.POSITIVE_INFINITY||m===void 0||m===null)&&(m=0),v.rank=m}mr(i.sources(),f)}function bN(i,a){return i.node(a.w).rank-i.node(a.v).rank-i.edge(a).minlen}function UNt(i){var a=new d1({directed:!1}),f=i.nodes()[0],p=i.nodeCount();a.setNode(f,{});for(var v,m;ANe(a,i)<p;)v=LNe(a,i),m=a.hasNode(v.v)?bN(i,v):-bN(i,v),MNe(a,i,m);return a}function ANe(i,a){function f(p){mr(a.nodeEdges(p),function(v){var m=v.v,b=p===m?v.w:m;!i.hasNode(b)&&!bN(a,v)&&(i.setNode(b,{}),i.setEdge(p,b,{}),f(b))})}return mr(i.nodes(),f),i.nodeCount()}function LNe(i,a){return Xdt(a.edges(),function(f){if(i.hasNode(f.v)!==i.hasNode(f.w))return bN(a,f)})}function MNe(i,a,f){mr(i.nodes(),function(p){a.node(p).rank+=f})}function DNe(){}DNe.prototype=new Error;function WNt(i,a,f){Rf(a)||(a=[a]);var p=(i.isDirected()?i.successors:i.neighbors).bind(i),v=[],m={};return mr(a,function(b){if(!i.hasNode(b))throw new Error("Graph does not have node: "+b);KNt(i,b,f==="post",m,p,v)}),v}function KNt(i,a,f,p,v,m){no(p,a)||(p[a]=!0,f||m.push(a),mr(v(a),function(b){KNt(i,b,f,p,v,m)}),f&&m.push(a))}function INe(i,a){return WNt(i,a,"post")}function ONe(i,a){return WNt(i,a,"pre")}wE.initLowLimValues=i0t,wE.initCutValues=r0t,wE.calcCutValue=YNt,wE.leaveEdge=QNt,wE.enterEdge=ZNt,wE.exchangeEdges=JNt;function wE(i){i=gNe(i),n0t(i);var a=UNt(i);i0t(a),r0t(a,i);for(var f,p;f=QNt(a);)p=ZNt(a,i,f),JNt(a,i,f,p)}function r0t(i,a){var f=INe(i,i.nodes());f=f.slice(0,f.length-1),mr(f,function(p){PNe(i,a,p)})}function PNe(i,a,f){var p=i.node(f),v=p.parent;i.edge(f,v).cutvalue=YNt(i,a,f)}function YNt(i,a,f){var p=i.node(f),v=p.parent,m=!0,b=a.edge(f,v),E=0;return b||(m=!1,b=a.edge(v,f)),E=b.weight,mr(a.nodeEdges(f),function(C){var A=C.v===f,N=A?C.w:C.v;if(N!==v){var F=A===m,j=a.edge(C).weight;if(E+=F?j:-j,FNe(i,f,N)){var R=i.edge(f,N).cutvalue;E+=F?-R:R}}}),E}function i0t(i,a){arguments.length<2&&(a=i.nodes()[0]),XNt(i,{},1,a)}function XNt(i,a,f,p,v){var m=f,b=i.node(p);return a[p]=!0,mr(i.neighbors(p),function(E){no(a,E)||(f=XNt(i,a,f,E,p))}),b.low=m,b.lim=f++,v?b.parent=v:delete b.parent,f}function QNt(i){return Wdt(i.edges(),function(a){return i.edge(a).cutvalue<0})}function ZNt(i,a,f){var p=f.v,v=f.w;a.hasEdge(p,v)||(p=f.w,v=f.v);var m=i.node(p),b=i.node(v),E=m,C=!1;m.lim>b.lim&&(E=b,C=!0);var A=_5(a.edges(),function(N){return C===tFt(i,i.node(N.v),E)&&C!==tFt(i,i.node(N.w),E)});return Xdt(A,function(N){return bN(a,N)})}function JNt(i,a,f,p){var v=f.v,m=f.w;i.removeEdge(v,m),i.setEdge(p.v,p.w,{}),i0t(i),r0t(i,a),NNe(i,a)}function NNe(i,a){var f=Wdt(i.nodes(),function(v){return!a.node(v).parent}),p=ONe(i,f);p=p.slice(1),mr(p,function(v){var m=i.node(v).parent,b=a.edge(v,m),E=!1;b||(b=a.edge(m,v),E=!0),a.node(v).rank=a.node(m).rank+(E?b.minlen:-b.minlen)})}function FNe(i,a,f){return i.hasEdge(a,f)}function tFt(i,a,f){return f.low<=a.lim&&a.lim<=f.lim}function BNe(i){switch(i.graph().ranker){case"network-simplex":eFt(i);break;case"tight-tree":jNe(i);break;case"longest-path":RNe(i);break;default:eFt(i)}}var RNe=n0t;function jNe(i){n0t(i),UNt(i)}function eFt(i){wE(i)}function $Ne(i){var a=nL(i,"root",{},"_root"),f=zNe(i),p=pE(C5(f))-1,v=2*p+1;i.graph().nestingRoot=a,mr(i.edges(),function(b){i.edge(b).minlen*=v});var m=qNe(i)+1;mr(i.children(),function(b){nFt(i,a,v,m,p,f,b)}),i.graph().nodeRankFactor=v}function nFt(i,a,f,p,v,m,b){var E=i.children(b);if(!E.length){b!==a&&i.setEdge(a,b,{weight:0,minlen:f});return}var C=zNt(i,"_bt"),A=zNt(i,"_bb"),N=i.node(b);i.setParent(C,b),N.borderTop=C,i.setParent(A,b),N.borderBottom=A,mr(E,function(F){nFt(i,a,f,p,v,m,F);var j=i.node(F),R=j.borderTop?j.borderTop:F,H=j.borderBottom?j.borderBottom:F,Y=j.borderTop?p:2*p,rt=R!==H?1:v-m[b]+1;i.setEdge(C,R,{weight:Y,minlen:rt,nestingEdge:!0}),i.setEdge(H,A,{weight:Y,minlen:rt,nestingEdge:!0})}),i.parent(b)||i.setEdge(a,C,{weight:0,minlen:v+m[b]})}function zNe(i){var a={};function f(p,v){var m=i.children(p);m&&m.length&&mr(m,function(b){f(b,v+1)}),a[p]=v}return mr(i.children(),function(p){f(p,1)}),a}function qNe(i){return dN(i.edges(),function(a,f){return a+i.edge(f).weight},0)}function HNe(i){var a=i.graph();i.removeNode(a.nestingRoot),delete a.nestingRoot,mr(i.edges(),function(f){var p=i.edge(f);p.nestingEdge&&i.removeEdge(f)})}function VNe(i,a,f){var p={},v;mr(f,function(m){for(var b=i.parent(m),E,C;b;){if(E=i.parent(b),E?(C=p[E],p[E]=b):(C=v,v=b),C&&C!==b){a.setEdge(C,b);return}b=E}})}function GNe(i,a,f){var p=UNe(i),v=new d1({compound:!0}).setGraph({root:p}).setDefaultNodeLabel(function(m){return i.node(m)});return mr(i.nodes(),function(m){var b=i.node(m),E=i.parent(m);(b.rank===a||b.minRank<=a&&a<=b.maxRank)&&(v.setNode(m),v.setParent(m,E||p),mr(i[f](m),function(C){var A=C.v===m?C.w:C.v,N=v.edge(A,m),F=sf(N)?0:N.weight;v.setEdge(A,m,{weight:i.edge(C).weight+F})}),no(b,"minRank")&&v.setNode(m,{borderLeft:b.borderLeft[a],borderRight:b.borderRight[a]}))}),v}function UNe(i){for(var a;i.hasNode(a=fK("_root")););return a}function WNe(i,a){for(var f=0,p=1;p<a.length;++p)f+=KNe(i,a[p-1],a[p]);return f}function KNe(i,a,f){for(var p=nNe(f,jf(f,function(A,N){return N})),v=tL(jf(a,function(A){return gN(jf(i.outEdges(A),function(N){return{pos:p[N.w],weight:i.edge(N).weight}}),"pos")})),m=1;m<f.length;)m<<=1;var b=2*m-1;m-=1;var E=jf(new Array(b),function(){return 0}),C=0;return mr(v.forEach(function(A){var N=A.pos+m;E[N]+=A.weight;for(var F=0;N>0;)N%2&&(F+=E[N+1]),N=N-1>>1,E[N]+=A.weight;C+=A.weight*F})),C}function YNe(i){var a={},f=_5(i.nodes(),function(E){return!i.children(E).length}),p=pE(jf(f,function(E){return i.node(E).rank})),v=jf(bE(p+1),function(){return[]});function m(E){if(!no(a,E)){a[E]=!0;var C=i.node(E);v[C.rank].push(E),mr(i.successors(E),m)}}var b=gN(f,function(E){return i.node(E).rank});return mr(b,m),v}function XNe(i,a){return jf(a,function(f){var p=i.inEdges(f);if(p.length){var v=dN(p,function(m,b){var E=i.edge(b),C=i.node(b.v);return{sum:m.sum+E.weight*C.order,weight:m.weight+E.weight}},{sum:0,weight:0});return{v:f,barycenter:v.sum/v.weight,weight:v.weight}}else return{v:f}})}function QNe(i,a){var f={};mr(i,function(v,m){var b=f[v.v]={indegree:0,in:[],out:[],vs:[v.v],i:m};sf(v.barycenter)||(b.barycenter=v.barycenter,b.weight=v.weight)}),mr(a.edges(),function(v){var m=f[v.v],b=f[v.w];!sf(m)&&!sf(b)&&(b.indegree++,m.out.push(f[v.w]))});var p=_5(f,function(v){return!v.indegree});return ZNe(p)}function ZNe(i){var a=[];function f(m){return function(b){b.merged||(sf(b.barycenter)||sf(m.barycenter)||b.barycenter>=m.barycenter)&&JNe(m,b)}}function p(m){return function(b){b.in.push(m),--b.indegree===0&&i.push(b)}}for(;i.length;){var v=i.pop();a.push(v),mr(v.in.reverse(),f(v)),mr(v.out,p(v))}return jf(_5(a,function(m){return!m.merged}),function(m){return fN(m,["vs","i","barycenter","weight"])})}function JNe(i,a){var f=0,p=0;i.weight&&(f+=i.barycenter*i.weight,p+=i.weight),a.weight&&(f+=a.barycenter*a.weight,p+=a.weight),i.vs=a.vs.concat(i.vs),i.barycenter=f/p,i.weight=p,i.i=Math.min(a.i,i.i),a.merged=!0}function tFe(i,a){var f=vNe(i,function(N){return no(N,"barycenter")}),p=f.lhs,v=gN(f.rhs,function(N){return-N.i}),m=[],b=0,E=0,C=0;p.sort(eFe(!!a)),C=rFt(m,v,C),mr(p,function(N){C+=N.vs.length,m.push(N.vs),b+=N.barycenter*N.weight,E+=N.weight,C=rFt(m,v,C)});var A={vs:tL(m)};return E&&(A.barycenter=b/E,A.weight=E),A}function rFt(i,a,f){for(var p;a.length&&(p=lK(a)).i<=f;)a.pop(),i.push(p.vs),f++;return f}function eFe(i){return function(a,f){return a.barycenter<f.barycenter?-1:a.barycenter>f.barycenter?1:i?f.i-a.i:a.i-f.i}}function iFt(i,a,f,p){var v=i.children(a),m=i.node(a),b=m?m.borderLeft:void 0,E=m?m.borderRight:void 0,C={};b&&(v=_5(v,function(H){return H!==b&&H!==E}));var A=XNe(i,v);mr(A,function(H){if(i.children(H.v).length){var Y=iFt(i,H.v,f,p);C[H.v]=Y,no(Y,"barycenter")&&rFe(H,Y)}});var N=QNe(A,f);nFe(N,C);var F=tFe(N,p);if(b&&(F.vs=tL([b,F.vs,E]),i.predecessors(b).length)){var j=i.node(i.predecessors(b)[0]),R=i.node(i.predecessors(E)[0]);no(F,"barycenter")||(F.barycenter=0,F.weight=0),F.barycenter=(F.barycenter*F.weight+j.order+R.order)/(F.weight+2),F.weight+=2}return F}function nFe(i,a){mr(i,function(f){f.vs=tL(f.vs.map(function(p){return a[p]?a[p].vs:p}))})}function rFe(i,a){sf(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 iFe(i){var a=qNt(i),f=sFt(i,bE(1,a+1),"inEdges"),p=sFt(i,bE(a-1,-1,-1),"outEdges"),v=YNe(i);aFt(i,v);for(var m=Number.POSITIVE_INFINITY,b,E=0,C=0;C<4;++E,++C){sFe(E%2?f:p,E%4>=2),v=dK(i);var A=WNe(i,v);A<m&&(C=0,b=kOe(v),m=A)}aFt(i,b)}function sFt(i,a,f){return jf(a,function(p){return GNe(i,p,f)})}function sFe(i,a){var f=new d1;mr(i,function(p){var v=p.graph().root,m=iFt(p,v,f,a);mr(m.vs,function(b,E){p.node(b).order=E}),VNe(p,f,m.vs)})}function aFt(i,a){mr(a,function(f){mr(f,function(p,v){i.node(p).order=v})})}function aFe(i){var a=cFe(i);mr(i.graph().dummyChains,function(f){for(var p=i.node(f),v=p.edgeObj,m=oFe(i,a,v.v,v.w),b=m.path,E=m.lca,C=0,A=b[C],N=!0;f!==v.w;){if(p=i.node(f),N){for(;(A=b[C])!==E&&i.node(A).maxRank<p.rank;)C++;A===E&&(N=!1)}if(!N){for(;C<b.length-1&&i.node(A=b[C+1]).minRank<=p.rank;)C++;A=b[C]}i.setParent(f,A),f=i.successors(f)[0]}})}function oFe(i,a,f,p){var v=[],m=[],b=Math.min(a[f].low,a[p].low),E=Math.max(a[f].lim,a[p].lim),C,A;C=f;do C=i.parent(C),v.push(C);while(C&&(a[C].low>b||E>a[C].lim));for(A=C,C=p;(C=i.parent(C))!==A;)m.push(C);return{path:v.concat(m.reverse()),lca:A}}function cFe(i){var a={},f=0;function p(v){var m=f;mr(i.children(v),p),a[v]={low:m,lim:f++}}return mr(i.children(),p),a}function uFe(i,a){var f={};function p(v,m){var b=0,E=0,C=v.length,A=lK(m);return mr(m,function(N,F){var j=hFe(i,N),R=j?i.node(j).order:C;(j||N===A)&&(mr(m.slice(E,F+1),function(H){mr(i.predecessors(H),function(Y){var rt=i.node(Y),J=rt.order;(J<b||R<J)&&!(rt.dummy&&i.node(H).dummy)&&oFt(f,Y,H)})}),E=F+1,b=R)}),m}return dN(a,p),f}function lFe(i,a){var f={};function p(m,b,E,C,A){var N;mr(bE(b,E),function(F){N=m[F],i.node(N).dummy&&mr(i.predecessors(N),function(j){var R=i.node(j);R.dummy&&(R.order<C||R.order>A)&&oFt(f,j,N)})})}function v(m,b){var E=-1,C,A=0;return mr(b,function(N,F){if(i.node(N).dummy==="border"){var j=i.predecessors(N);j.length&&(C=i.node(j[0]).order,p(b,A,F,E,C),A=F,E=C)}p(b,A,b.length,C,m.length)}),b}return dN(a,v),f}function hFe(i,a){if(i.node(a).dummy)return Wdt(i.predecessors(a),function(f){return i.node(f).dummy})}function oFt(i,a,f){if(a>f){var p=a;a=f,f=p}var v=i[a];v||(i[a]=v={}),v[f]=!0}function fFe(i,a,f){if(a>f){var p=a;a=f,f=p}return no(i[a],f)}function dFe(i,a,f,p){var v={},m={},b={};return mr(a,function(E){mr(E,function(C,A){v[C]=C,m[C]=C,b[C]=A})}),mr(a,function(E){var C=-1;mr(E,function(A){var N=p(A);if(N.length){N=gN(N,function(Y){return b[Y]});for(var F=(N.length-1)/2,j=Math.floor(F),R=Math.ceil(F);j<=R;++j){var H=N[j];m[A]===A&&C<b[H]&&!fFe(f,A,H)&&(m[H]=A,m[A]=v[A]=v[H],C=b[H])}}})}),{root:v,align:m}}function gFe(i,a,f,p,v){var m={},b=pFe(i,a,f,v),E=v?"borderLeft":"borderRight";function C(F,j){for(var R=b.nodes(),H=R.pop(),Y={};H;)Y[H]?F(H):(Y[H]=!0,R.push(H),R=R.concat(j(H))),H=R.pop()}function A(F){m[F]=b.inEdges(F).reduce(function(j,R){return Math.max(j,m[R.v]+b.edge(R))},0)}function N(F){var j=b.outEdges(F).reduce(function(H,Y){return Math.min(H,m[Y.w]-b.edge(Y))},Number.POSITIVE_INFINITY),R=i.node(F);j!==Number.POSITIVE_INFINITY&&R.borderType!==E&&(m[F]=Math.max(m[F],j))}return C(A,b.predecessors.bind(b)),C(N,b.successors.bind(b)),mr(p,function(F){m[F]=m[f[F]]}),m}function pFe(i,a,f,p){var v=new d1,m=i.graph(),b=yFe(m.nodesep,m.edgesep,p);return mr(a,function(E){var C;mr(E,function(A){var N=f[A];if(v.setNode(N),C){var F=f[C],j=v.edge(F,N);v.setEdge(F,N,Math.max(b(i,A,C),j||0))}C=A})}),v}function bFe(i,a){return Xdt(C5(a),function(f){var p=Number.NEGATIVE_INFINITY,v=Number.POSITIVE_INFINITY;return TPe(f,function(m,b){var E=xFe(i,b)/2;p=Math.max(m+E,p),v=Math.min(m-E,v)}),p-v})}function vFe(i,a){var f=C5(a),p=hN(f),v=pE(f);mr(["u","d"],function(m){mr(["l","r"],function(b){var E=m+b,C=i[E],A;if(C!==a){var N=C5(C);A=b==="l"?p-hN(N):v-pE(N),A&&(i[E]=hK(C,function(F){return F+A}))}})})}function wFe(i,a){return hK(i.ul,function(f,p){if(a)return i[a.toLowerCase()][p];var v=gN(jf(i,p));return(v[1]+v[2])/2})}function mFe(i){var a=dK(i),f=Ydt(uFe(i,a),lFe(i,a)),p={},v;mr(["u","d"],function(b){v=b==="u"?a:C5(a).reverse(),mr(["l","r"],function(E){E==="r"&&(v=jf(v,function(F){return C5(F).reverse()}));var C=(b==="u"?i.predecessors:i.successors).bind(i),A=dFe(i,v,f,C),N=gFe(i,v,A.root,A.align,E==="r");E==="r"&&(N=hK(N,function(F){return-F})),p[b+E]=N})});var m=bFe(i,p);return vFe(p,m),wFe(p,i.graph().align)}function yFe(i,a,f){return function(p,v,m){var b=p.node(v),E=p.node(m),C=0,A;if(C+=b.width/2,no(b,"labelpos"))switch(b.labelpos.toLowerCase()){case"l":A=-b.width/2;break;case"r":A=b.width/2;break}if(A&&(C+=f?A:-A),A=0,C+=(b.dummy?a:i)/2,C+=(E.dummy?a:i)/2,C+=E.width/2,no(E,"labelpos"))switch(E.labelpos.toLowerCase()){case"l":A=E.width/2;break;case"r":A=-E.width/2;break}return A&&(C+=f?A:-A),A=0,C}}function xFe(i,a){return i.node(a).width}function kFe(i){i=jNt(i),EFe(i),_Pe(mFe(i),function(a,f){i.node(f).x=a})}function EFe(i){var a=dK(i),f=i.graph().ranksep,p=0;mr(a,function(v){var m=pE(jf(v,function(b){return i.node(b).height}));mr(v,function(b){i.node(b).y=p+m/2}),p+=m+f})}function rL(i,a){var f=a&&a.debugTiming?wNe:mNe;f("layout",function(){var p=f(" buildLayoutGraph",function(){return PFe(i)});f(" runLayout",function(){TFe(p,f)}),f(" updateInputGraph",function(){_Fe(i,p)})})}function TFe(i,a){a(" makeSpaceForEdgeLabels",function(){NFe(i)}),a(" removeSelfEdges",function(){VFe(i)}),a(" acyclic",function(){hNe(i)}),a(" nestingGraph.run",function(){$Ne(i)}),a(" rank",function(){BNe(jNt(i))}),a(" injectEdgeLabelProxies",function(){FFe(i)}),a(" removeEmptyRanks",function(){bNe(i)}),a(" nestingGraph.cleanup",function(){HNe(i)}),a(" normalizeRanks",function(){pNe(i)}),a(" assignRankMinMax",function(){BFe(i)}),a(" removeEdgeLabelProxies",function(){RFe(i)}),a(" normalize.run",function(){_Ne(i)}),a(" parentDummyChains",function(){aFe(i)}),a(" addBorderSegments",function(){yNe(i)}),a(" order",function(){iFe(i)}),a(" insertSelfEdges",function(){GFe(i)}),a(" adjustCoordinateSystem",function(){xNe(i)}),a(" position",function(){kFe(i)}),a(" positionSelfEdges",function(){UFe(i)}),a(" removeBorderNodes",function(){HFe(i)}),a(" normalize.undo",function(){SNe(i)}),a(" fixupEdgeLabelCoords",function(){zFe(i)}),a(" undoCoordinateSystem",function(){kNe(i)}),a(" translateGraph",function(){jFe(i)}),a(" assignNodeIntersects",function(){$Fe(i)}),a(" reversePoints",function(){qFe(i)}),a(" acyclic.undo",function(){dNe(i)})}function _Fe(i,a){mr(i.nodes(),function(f){var p=i.node(f),v=a.node(f);p&&(p.x=v.x,p.y=v.y,a.children(f).length&&(p.width=v.width,p.height=v.height))}),mr(i.edges(),function(f){var p=i.edge(f),v=a.edge(f);p.points=v.points,no(v,"x")&&(p.x=v.x,p.y=v.y)}),i.graph().width=a.graph().width,i.graph().height=a.graph().height}var CFe=["nodesep","edgesep","ranksep","marginx","marginy"],SFe={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},AFe=["acyclicer","ranker","rankdir","align"],LFe=["width","height"],MFe={width:0,height:0},DFe=["minlen","weight","width","height","labeloffset"],IFe={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},OFe=["labelpos"];function PFe(i){var a=new d1({multigraph:!0,compound:!0}),f=a0t(i.graph());return a.setGraph(Ydt({},SFe,s0t(f,CFe),fN(f,AFe))),mr(i.nodes(),function(p){var v=a0t(i.node(p));a.setNode(p,eL(s0t(v,LFe),MFe)),a.setParent(p,i.parent(p))}),mr(i.edges(),function(p){var v=a0t(i.edge(p));a.setEdge(p,Ydt({},IFe,s0t(v,DFe),fN(v,OFe)))}),a}function NFe(i){var a=i.graph();a.ranksep/=2,mr(i.edges(),function(f){var p=i.edge(f);p.minlen*=2,p.labelpos.toLowerCase()!=="c"&&(a.rankdir==="TB"||a.rankdir==="BT"?p.width+=p.labeloffset:p.height+=p.labeloffset)})}function FFe(i){mr(i.edges(),function(a){var f=i.edge(a);if(f.width&&f.height){var p=i.node(a.v),v=i.node(a.w),m={rank:(v.rank-p.rank)/2+p.rank,e:a};nL(i,"edge-proxy",m,"_ep")}})}function BFe(i){var a=0;mr(i.nodes(),function(f){var p=i.node(f);p.borderTop&&(p.minRank=i.node(p.borderTop).rank,p.maxRank=i.node(p.borderBottom).rank,a=pE(a,p.maxRank))}),i.graph().maxRank=a}function RFe(i){mr(i.nodes(),function(a){var f=i.node(a);f.dummy==="edge-proxy"&&(i.edge(f.e).labelRank=f.rank,i.removeNode(a))})}function jFe(i){var a=Number.POSITIVE_INFINITY,f=0,p=Number.POSITIVE_INFINITY,v=0,m=i.graph(),b=m.marginx||0,E=m.marginy||0;function C(A){var N=A.x,F=A.y,j=A.width,R=A.height;a=Math.min(a,N-j/2),f=Math.max(f,N+j/2),p=Math.min(p,F-R/2),v=Math.max(v,F+R/2)}mr(i.nodes(),function(A){C(i.node(A))}),mr(i.edges(),function(A){var N=i.edge(A);no(N,"x")&&C(N)}),a-=b,p-=E,mr(i.nodes(),function(A){var N=i.node(A);N.x-=a,N.y-=p}),mr(i.edges(),function(A){var N=i.edge(A);mr(N.points,function(F){F.x-=a,F.y-=p}),no(N,"x")&&(N.x-=a),no(N,"y")&&(N.y-=p)}),m.width=f-a+b,m.height=v-p+E}function $Fe(i){mr(i.edges(),function(a){var f=i.edge(a),p=i.node(a.v),v=i.node(a.w),m,b;f.points?(m=f.points[0],b=f.points[f.points.length-1]):(f.points=[],m=v,b=p),f.points.unshift($Nt(p,m)),f.points.push($Nt(v,b))})}function zFe(i){mr(i.edges(),function(a){var f=i.edge(a);if(no(f,"x"))switch((f.labelpos==="l"||f.labelpos==="r")&&(f.width-=f.labeloffset),f.labelpos){case"l":f.x-=f.width/2+f.labeloffset;break;case"r":f.x+=f.width/2+f.labeloffset;break}})}function qFe(i){mr(i.edges(),function(a){var f=i.edge(a);f.reversed&&f.points.reverse()})}function HFe(i){mr(i.nodes(),function(a){if(i.children(a).length){var f=i.node(a),p=i.node(f.borderTop),v=i.node(f.borderBottom),m=i.node(lK(f.borderLeft)),b=i.node(lK(f.borderRight));f.width=Math.abs(b.x-m.x),f.height=Math.abs(v.y-p.y),f.x=m.x+f.width/2,f.y=p.y+f.height/2}}),mr(i.nodes(),function(a){i.node(a).dummy==="border"&&i.removeNode(a)})}function VFe(i){mr(i.edges(),function(a){if(a.v===a.w){var f=i.node(a.v);f.selfEdges||(f.selfEdges=[]),f.selfEdges.push({e:a,label:i.edge(a)}),i.removeEdge(a)}})}function GFe(i){var a=dK(i);mr(a,function(f){var p=0;mr(f,function(v,m){var b=i.node(v);b.order=m+p,mr(b.selfEdges,function(E){nL(i,"selfedge",{width:E.label.width,height:E.label.height,rank:b.rank,order:m+ ++p,e:E.e,label:E.label},"_se")}),delete b.selfEdges})})}function UFe(i){mr(i.nodes(),function(a){var f=i.node(a);if(f.dummy==="selfedge"){var p=i.node(f.e.v),v=p.x+p.width/2,m=p.y,b=f.x-v,E=p.height/2;i.setEdge(f.e,f.label),i.removeNode(a),f.label.points=[{x:v+2*b/3,y:m-E},{x:v+5*b/6,y:m-E},{x:v+b,y:m},{x:v+5*b/6,y:m+E},{x:v+2*b/3,y:m+E}],f.label.x=f.x,f.label.y=f.y}})}function s0t(i,a){return hK(fN(i,a),Number)}function a0t(i){var a={};return mr(i,function(f,p){a[p.toLowerCase()]=f}),a}function cFt(i,a){return!!i.children(a).length}function uFt(i){return o0t(i.v)+":"+o0t(i.w)+":"+o0t(i.name)}var WFe=/:/g;function o0t(i){return i?String(i).replace(WFe,"\\:"):""}function p3(i,a){a&&i.attr("style",a)}function lFt(i,a,f){a&&i.attr("class",a).attr("class",f+" "+i.attr("class"))}function sm(i,a){var f=a.graph();if(JPt(f)){var p=f.transition;if(jA(p))return p(i)}return i}var c0t={normal:YFe,vee:XFe,undirected:QFe};function KFe(i){c0t=i}function YFe(i,a,f,p){var v=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"),m=v.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");p3(m,f[p+"Style"]),f[p+"Class"]&&m.attr("class",f[p+"Class"])}function XFe(i,a,f,p){var v=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"),m=v.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");p3(m,f[p+"Style"]),f[p+"Class"]&&m.attr("class",f[p+"Class"])}function QFe(i,a,f,p){var v=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"),m=v.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");p3(m,f[p+"Style"]),f[p+"Class"]&&m.attr("class",f[p+"Class"])}function u0t(i,a){var f=i.append("foreignObject").attr("width","100000"),p=f.append("xhtml:div");p.attr("xmlns","http://www.w3.org/1999/xhtml");var v=a.label;switch(typeof v){case"function":p.insert(v);break;case"object":p.insert(function(){return v});break;default:p.html(v)}p3(p,a.labelStyle),p.style("display","inline-block"),p.style("white-space","nowrap");var m=p.node().getBoundingClientRect();return f.attr("width",m.width).attr("height",m.height),f}function ZFe(i,a){var f=i;return f.node().appendChild(a.label),p3(f,a.labelStyle),f}function JFe(i,a){for(var f=i.append("text"),p=tBe(a.label).split(`
+`),v=0;v<p.length;v++)f.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(p[v]);return p3(f,a.labelStyle),f}function tBe(i){for(var a="",f=!1,p,v=0;v<i.length;++v)if(p=i[v],f){switch(p){case"n":a+=`
+`;break;default:a+=p}f=!1}else p==="\\"?f=!0:a+=p;return a}function l0t(i,a,f){var p=a.label,v=i.append("g");a.labelType==="svg"?ZFe(v,a):typeof p!="string"||a.labelType==="html"?u0t(v,a):JFe(v,a);var m=v.node().getBBox(),b;switch(f){case"top":b=-a.height/2;break;case"bottom":b=a.height/2-m.height;break;default:b=-m.height/2}return v.attr("transform","translate("+-m.width/2+","+b+")"),v}var h0t=function(i,a){var f=a.nodes().filter(function(m){return cFt(a,m)}),p=i.selectAll("g.cluster").data(f,function(m){return m});sm(p.exit(),a).style("opacity",0).remove();var v=p.enter().append("g").attr("class","cluster").attr("id",function(m){var b=a.node(m);return b.id}).style("opacity",0).each(function(m){var b=a.node(m),E=wr(this);wr(this).append("rect");var C=E.append("g").attr("class","label");l0t(C,b,b.clusterLabelPos)});return p=p.merge(v),p=sm(p,a).style("opacity",1),p.selectAll("rect").each(function(m){var b=a.node(m),E=wr(this);p3(E,b.style)}),p};function eBe(i){h0t=i}let f0t=function(i,a){var f=i.selectAll("g.edgeLabel").data(a.edges(),function(v){return uFt(v)}).classed("update",!0);f.exit().remove(),f.enter().append("g").classed("edgeLabel",!0).style("opacity",0),f=i.selectAll("g.edgeLabel"),f.each(function(v){var m=wr(this);m.select(".label").remove();var b=a.edge(v),E=l0t(m,a.edge(v),0).classed("label",!0),C=E.node().getBBox();b.labelId&&E.attr("id",b.labelId),no(b,"width")||(b.width=C.width),no(b,"height")||(b.height=C.height)});var p;return f.exit?p=f.exit():p=f.selectAll(null),sm(p,a).style("opacity",0).remove(),f};function nBe(i){f0t=i}function hFt(i,a){return i.intersect(a)}var d0t=function(i,a,f){var p=i.selectAll("g.edgePath").data(a.edges(),function(b){return uFt(b)}).classed("update",!0),v=oBe(p,a);cBe(p,a);var m=p.merge!==void 0?p.merge(v):p;return sm(m,a).style("opacity",1),m.each(function(b){var E=wr(this),C=a.edge(b);C.elem=this,C.id&&E.attr("id",C.id),lFt(E,C.class,(E.classed("update")?"update ":"")+"edgePath")}),m.selectAll("path.path").each(function(b){var E=a.edge(b);E.arrowheadId=fK("arrowhead");var C=wr(this).attr("marker-end",function(){return"url("+iBe(location.href,E.arrowheadId)+")"}).style("fill","none");sm(C,a).attr("d",function(A){return sBe(a,A)}),p3(C,E.style)}),m.selectAll("defs *").remove(),m.selectAll("defs").each(function(b){var E=a.edge(b),C=f[E.arrowhead];C(wr(this),E.arrowheadId,E,"arrowhead")}),m};function rBe(i){d0t=i}function iBe(i,a){var f=i.split("#")[0];return f+"#"+a}function sBe(i,a){var f=i.edge(a),p=i.node(a.v),v=i.node(a.w),m=f.points.slice(1,f.points.length-1);return m.unshift(hFt(p,m[0])),m.push(hFt(v,m[m.length-1])),fFt(f,m)}function fFt(i,a){var f=(Z9||q8e.line)().x(function(p){return p.x}).y(function(p){return p.y});return(f.curve||f.interpolate)(i.curve),f(a)}function aBe(i){var a=i.getBBox(),f=i.ownerSVGElement.getScreenCTM().inverse().multiply(i.getScreenCTM()).translate(a.width/2,a.height/2);return{x:f.e,y:f.f}}function oBe(i,a){var f=i.enter().append("g").attr("class","edgePath").style("opacity",0);return f.append("path").attr("class","path").attr("d",function(p){var v=a.edge(p),m=a.node(p.v).elem,b=bE(v.points.length).map(function(){return aBe(m)});return fFt(v,b)}),f.append("defs"),f}function cBe(i,a){var f=i.exit();sm(f,a).style("opacity",0).remove()}var g0t=function(i,a,f){var p=a.nodes().filter(function(b){return!cFt(a,b)}),v=i.selectAll("g.node").data(p,function(b){return b}).classed("update",!0);v.exit().remove(),v.enter().append("g").attr("class","node").style("opacity",0),v=i.selectAll("g.node"),v.each(function(b){var E=a.node(b),C=wr(this);lFt(C,E.class,(C.classed("update")?"update ":"")+"node"),C.select("g.label").remove();var A=C.append("g").attr("class","label"),N=l0t(A,E),F=f[E.shape],j=fN(N.node().getBBox(),"width","height");E.elem=this,E.id&&C.attr("id",E.id),E.labelId&&A.attr("id",E.labelId),no(E,"width")&&(j.width=E.width),no(E,"height")&&(j.height=E.height),j.width+=E.paddingLeft+E.paddingRight,j.height+=E.paddingTop+E.paddingBottom,A.attr("transform","translate("+(E.paddingLeft-E.paddingRight)/2+","+(E.paddingTop-E.paddingBottom)/2+")");var R=wr(this);R.select(".label-container").remove();var H=F(R,j,E).classed("label-container",!0);p3(H,E.style);var Y=H.node().getBBox();E.width=Y.width,E.height=Y.height});var m;return v.exit?m=v.exit():m=v.selectAll(null),sm(m,a).style("opacity",0).remove(),v};function uBe(i){g0t=i}function lBe(i,a){var f=i.filter(function(){return!wr(this).classed("update")});function p(v){var m=a.node(v);return"translate("+m.x+","+m.y+")"}f.attr("transform",p),sm(i,a).style("opacity",1).attr("transform",p),sm(f.selectAll("rect"),a).attr("width",function(v){return a.node(v).width}).attr("height",function(v){return a.node(v).height}).attr("x",function(v){var m=a.node(v);return-m.width/2}).attr("y",function(v){var m=a.node(v);return-m.height/2})}function hBe(i,a){var f=i.filter(function(){return!wr(this).classed("update")});function p(v){var m=a.edge(v);return no(m,"x")?"translate("+m.x+","+m.y+")":""}f.attr("transform",p),sm(i,a).style("opacity",1).attr("transform",p)}function fBe(i,a){var f=i.filter(function(){return!wr(this).classed("update")});function p(v){var m=a.node(v);return"translate("+m.x+","+m.y+")"}f.attr("transform",p),sm(i,a).style("opacity",1).attr("transform",p)}function dFt(i,a,f,p){var v=i.x,m=i.y,b=v-p.x,E=m-p.y,C=Math.sqrt(a*a*E*E+f*f*b*b),A=Math.abs(a*f*b/C);p.x<v&&(A=-A);var N=Math.abs(a*f*E/C);return p.y<m&&(N=-N),{x:v+A,y:m+N}}function dBe(i,a,f){return dFt(i,a,a,f)}function gBe(i,a,f,p){var v,m,b,E,C,A,N,F,j,R,H,Y,rt,J,it;if(v=a.y-i.y,b=i.x-a.x,C=a.x*i.y-i.x*a.y,j=v*f.x+b*f.y+C,R=v*p.x+b*p.y+C,!(j!==0&&R!==0&&gFt(j,R))&&(m=p.y-f.y,E=f.x-p.x,A=p.x*f.y-f.x*p.y,N=m*i.x+E*i.y+A,F=m*a.x+E*a.y+A,!(N!==0&&F!==0&&gFt(N,F))&&(H=v*E-m*b,H!==0)))return Y=Math.abs(H/2),rt=b*A-E*C,J=rt<0?(rt-Y)/H:(rt+Y)/H,rt=m*C-v*A,it=rt<0?(rt-Y)/H:(rt+Y)/H,{x:J,y:it}}function gFt(i,a){return i*a>0}function b3(i,a,f){var p=i.x,v=i.y,m=[],b=Number.POSITIVE_INFINITY,E=Number.POSITIVE_INFINITY;a.forEach(function(H){b=Math.min(b,H.x),E=Math.min(E,H.y)});for(var C=p-i.width/2-b,A=v-i.height/2-E,N=0;N<a.length;N++){var F=a[N],j=a[N<a.length-1?N+1:0],R=gBe(i,f,{x:C+F.x,y:A+F.y},{x:C+j.x,y:A+j.y});R&&m.push(R)}return m.length?(m.length>1&&m.sort(function(H,Y){var rt=H.x-f.x,J=H.y-f.y,it=Math.sqrt(rt*rt+J*J),ht=Y.x-f.x,Tt=Y.y-f.y,yt=Math.sqrt(ht*ht+Tt*Tt);return it<yt?-1:it===yt?0:1}),m[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",i),i)}function p0t(i,a){var f=i.x,p=i.y,v=a.x-f,m=a.y-p,b=i.width/2,E=i.height/2,C,A;return Math.abs(m)*b>Math.abs(v)*E?(m<0&&(E=-E),C=m===0?0:E*v/m,A=E):(v<0&&(b=-b),C=b,A=v===0?0:b*m/v),{x:f+C,y:p+A}}var b0t={rect:bBe,ellipse:vBe,circle:wBe,diamond:mBe};function pBe(i){b0t=i}function bBe(i,a,f){var p=i.insert("rect",":first-child").attr("rx",f.rx).attr("ry",f.ry).attr("x",-a.width/2).attr("y",-a.height/2).attr("width",a.width).attr("height",a.height);return f.intersect=function(v){return p0t(f,v)},p}function vBe(i,a,f){var p=a.width/2,v=a.height/2,m=i.insert("ellipse",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("rx",p).attr("ry",v);return f.intersect=function(b){return dFt(f,p,v,b)},m}function wBe(i,a,f){var p=Math.max(a.width,a.height)/2,v=i.insert("circle",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("r",p);return f.intersect=function(m){return dBe(f,p,m)},v}function mBe(i,a,f){var p=a.width*Math.SQRT2/2,v=a.height*Math.SQRT2/2,m=[{x:0,y:-v},{x:-p,y:0},{x:0,y:v},{x:p,y:0}],b=i.insert("polygon",":first-child").attr("points",m.map(function(E){return E.x+","+E.y}).join(" "));return f.intersect=function(E){return b3(f,m,E)},b}function yBe(){var i=function(a,f){EBe(f);var p=vN(a,"output"),v=vN(p,"clusters"),m=vN(p,"edgePaths"),b=f0t(vN(p,"edgeLabels"),f),E=g0t(vN(p,"nodes"),f,b0t);rL(f),fBe(E,f),hBe(b,f),d0t(m,f,c0t);var C=h0t(v,f);lBe(C,f),TBe(f)};return i.createNodes=function(a){return arguments.length?(uBe(a),i):g0t},i.createClusters=function(a){return arguments.length?(eBe(a),i):h0t},i.createEdgeLabels=function(a){return arguments.length?(nBe(a),i):f0t},i.createEdgePaths=function(a){return arguments.length?(rBe(a),i):d0t},i.shapes=function(a){return arguments.length?(pBe(a),i):b0t},i.arrows=function(a){return arguments.length?(KFe(a),i):c0t},i}var xBe={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},kBe={arrowhead:"normal",curve:ag};function EBe(i){i.nodes().forEach(function(a){var f=i.node(a);!no(f,"label")&&!i.children(a).length&&(f.label=a),no(f,"paddingX")&&eL(f,{paddingLeft:f.paddingX,paddingRight:f.paddingX}),no(f,"paddingY")&&eL(f,{paddingTop:f.paddingY,paddingBottom:f.paddingY}),no(f,"padding")&&eL(f,{paddingLeft:f.padding,paddingRight:f.padding,paddingTop:f.padding,paddingBottom:f.padding}),eL(f,xBe),mr(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(p){f[p]=Number(f[p])}),no(f,"width")&&(f._prevWidth=f.width),no(f,"height")&&(f._prevHeight=f.height)}),i.edges().forEach(function(a){var f=i.edge(a);no(f,"label")||(f.label=""),eL(f,kBe)})}function TBe(i){mr(i.nodes(),function(a){var f=i.node(a);no(f,"_prevWidth")?f.width=f._prevWidth:delete f.width,no(f,"_prevHeight")?f.height=f._prevHeight:delete f.height,delete f._prevWidth,delete f._prevHeight})}function vN(i,a){var f=i.select("g."+a);return f.empty()&&(f=i.append("g").attr("class",a)),f}function pFt(i,a,f){const p=a.width,v=a.height,m=(p+v)*.9,b=[{x:m/2,y:0},{x:m,y:-m/2},{x:m/2,y:-m},{x:0,y:-m/2}],E=S5(i,m,m,b);return f.intersect=function(C){return b3(f,b,C)},E}function bFt(i,a,f){const v=a.height,m=v/4,b=a.width+2*m,E=[{x:m,y:0},{x:b-m,y:0},{x:b,y:-v/2},{x:b-m,y:-v},{x:m,y:-v},{x:0,y:-v/2}],C=S5(i,b,v,E);return f.intersect=function(A){return b3(f,E,A)},C}function vFt(i,a,f){const p=a.width,v=a.height,m=[{x:-v/2,y:0},{x:p,y:0},{x:p,y:-v},{x:-v/2,y:-v},{x:0,y:-v/2}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function wFt(i,a,f){const p=a.width,v=a.height,m=[{x:-2*v/6,y:0},{x:p-v/6,y:0},{x:p+2*v/6,y:-v},{x:v/6,y:-v}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function mFt(i,a,f){const p=a.width,v=a.height,m=[{x:2*v/6,y:0},{x:p+v/6,y:0},{x:p-2*v/6,y:-v},{x:-v/6,y:-v}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function yFt(i,a,f){const p=a.width,v=a.height,m=[{x:-2*v/6,y:0},{x:p+2*v/6,y:0},{x:p-v/6,y:-v},{x:v/6,y:-v}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function xFt(i,a,f){const p=a.width,v=a.height,m=[{x:v/6,y:0},{x:p-v/6,y:0},{x:p+2*v/6,y:-v},{x:-2*v/6,y:-v}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function kFt(i,a,f){const p=a.width,v=a.height,m=[{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}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function EFt(i,a,f){const p=a.height,v=a.width+p/4,m=i.insert("rect",":first-child").attr("rx",p/2).attr("ry",p/2).attr("x",-v/2).attr("y",-p/2).attr("width",v).attr("height",p);return f.intersect=function(b){return p0t(f,b)},m}function TFt(i,a,f){const p=a.width,v=a.height,m=[{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}],b=S5(i,p,v,m);return f.intersect=function(E){return b3(f,m,E)},b}function _Ft(i,a,f){const p=a.width,v=p/2,m=v/(2.5+p/50),b=a.height+m,E="M 0,"+m+" a "+v+","+m+" 0,0,0 "+p+" 0 a "+v+","+m+" 0,0,0 "+-p+" 0 l 0,"+b+" a "+v+","+m+" 0,0,0 "+p+" 0 l 0,"+-b,C=i.attr("label-offset-y",m).insert("path",":first-child").attr("d",E).attr("transform","translate("+-p/2+","+-(b/2+m)+")");return f.intersect=function(A){const N=p0t(f,A),F=N.x-f.x;if(v!=0&&(Math.abs(F)<f.width/2||Math.abs(F)==f.width/2&&Math.abs(N.y-f.y)>f.height/2-m)){let j=m*m*(1-F*F/(v*v));j!=0&&(j=Math.sqrt(j)),j=m-j,A.y-f.y>0&&(j=-j),N.y+=j}return N},C}function _Be(i){i.shapes().question=pFt,i.shapes().hexagon=bFt,i.shapes().stadium=EFt,i.shapes().subroutine=TFt,i.shapes().cylinder=_Ft,i.shapes().rect_left_inv_arrow=vFt,i.shapes().lean_right=wFt,i.shapes().lean_left=mFt,i.shapes().trapezoid=yFt,i.shapes().inv_trapezoid=xFt,i.shapes().rect_right_inv_arrow=kFt}function CBe(i){i({question:pFt}),i({hexagon:bFt}),i({stadium:EFt}),i({subroutine:TFt}),i({cylinder:_Ft}),i({rect_left_inv_arrow:vFt}),i({lean_right:wFt}),i({lean_left:mFt}),i({trapezoid:yFt}),i({inv_trapezoid:xFt}),i({rect_right_inv_arrow:kFt})}function S5(i,a,f,p){return i.insert("polygon",":first-child").attr("points",p.map(function(v){return v.x+","+v.y}).join(" ")).attr("transform","translate("+-a/2+","+f/2+")")}const SBe={addToRender:_Be,addToRenderV2:CBe},CFt={},ABe=function(i){const a=Object.keys(i);for(const f of a)CFt[f]=i[f]},SFt=function(i,a,f,p,v,m){const b=p?p.select(`[id="${f}"]`):wr(`[id="${f}"]`),E=v||document;Object.keys(i).forEach(function(A){const N=i[A];let F="default";N.classes.length>0&&(F=N.classes.join(" "));const j=Jw(N.styles);let R=N.text!==void 0?N.text:N.id,H;if(l1(Me().flowchart.htmlLabels)){const J={label:R.replace(/fa[blrs]?:fa-[\w-]+/g,it=>`<i class='${it.replace(":"," ")}'></i>`)};H=u0t(b,J).node(),H.parentNode.removeChild(H)}else{const J=E.createElementNS("http://www.w3.org/2000/svg","text");J.setAttribute("style",j.labelStyle.replace("color:","fill:"));const it=R.split(bi.lineBreakRegex);for(const ht of it){const Tt=E.createElementNS("http://www.w3.org/2000/svg","tspan");Tt.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Tt.setAttribute("dy","1em"),Tt.setAttribute("x","1"),Tt.textContent=ht,J.appendChild(Tt)}H=J}let Y=0,rt="";switch(N.type){case"round":Y=5,rt="rect";break;case"square":rt="rect";break;case"diamond":rt="question";break;case"hexagon":rt="hexagon";break;case"odd":rt="rect_left_inv_arrow";break;case"lean_right":rt="lean_right";break;case"lean_left":rt="lean_left";break;case"trapezoid":rt="trapezoid";break;case"inv_trapezoid":rt="inv_trapezoid";break;case"odd_right":rt="rect_left_inv_arrow";break;case"circle":rt="circle";break;case"ellipse":rt="ellipse";break;case"stadium":rt="stadium";break;case"subroutine":rt="subroutine";break;case"cylinder":rt="cylinder";break;case"group":rt="rect";break;default:rt="rect"}Vt.warn("Adding node",N.id,N.domId),a.setNode(m.db.lookUpDomId(N.id),{labelType:"svg",labelStyle:j.labelStyle,shape:rt,label:H,rx:Y,ry:Y,class:F,style:j.style,id:m.db.lookUpDomId(N.id)})})},AFt=function(i,a,f){let p=0,v,m;if(i.defaultStyle!==void 0){const b=Jw(i.defaultStyle);v=b.style,m=b.labelStyle}i.forEach(function(b){p++;const E="L-"+b.start+"-"+b.end,C="LS-"+b.start,A="LE-"+b.end,N={};b.type==="arrow_open"?N.arrowhead="none":N.arrowhead="normal";let F="",j="";if(b.style!==void 0){const R=Jw(b.style);F=R.style,j=R.labelStyle}else switch(b.stroke){case"normal":F="fill:none",v!==void 0&&(F=v),m!==void 0&&(j=m);break;case"dotted":F="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":F=" stroke-width: 3.5px;fill:none";break}N.style=F,N.labelStyle=j,b.interpolate!==void 0?N.curve=Zb(b.interpolate,ag):i.defaultInterpolate!==void 0?N.curve=Zb(i.defaultInterpolate,ag):N.curve=Zb(CFt.curve,ag),b.text===void 0?b.style!==void 0&&(N.arrowheadStyle="fill: #333"):(N.arrowheadStyle="fill: #333",N.labelpos="c",l1(Me().flowchart.htmlLabels)?(N.labelType="html",N.label=`<span id="L-${E}" class="edgeLabel L-${C}' L-${A}" style="${N.labelStyle}">${b.text.replace(/fa[blrs]?:fa-[\w-]+/g,R=>`<i class='${R.replace(":"," ")}'></i>`)}</span>`):(N.labelType="text",N.label=b.text.replace(bi.lineBreakRegex,`
+`),b.style===void 0&&(N.style=N.style||"stroke: #333; stroke-width: 1.5px;fill:none"),N.labelStyle=N.labelStyle.replace("color:","fill:"))),N.id=E,N.class=C+" "+A,N.minlen=b.length||1,a.setEdge(f.db.lookUpDomId(b.start),f.db.lookUpDomId(b.end),N,p)})},LBe={setConf:ABe,addVertices:SFt,addEdges:AFt,getClasses:function(i,a){Vt.info("Extracting classes"),a.db.clear();try{return a.parse(i),a.db.getClasses()}catch(f){return Vt.error(f),{}}},draw:function(i,a,f,p){Vt.info("Drawing flowchart"),p.db.clear();const{securityLevel:v,flowchart:m}=Me();let b;v==="sandbox"&&(b=wr("#i"+a));const E=wr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body"),C=v==="sandbox"?b.nodes()[0].contentDocument:document;let A=p.db.getDirection();A===void 0&&(A="TD");const N=m.nodeSpacing||50,F=m.rankSpacing||50,j=new d1({multigraph:!0,compound:!0}).setGraph({rankdir:A,nodesep:N,ranksep:F,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let R;const H=p.db.getSubGraphs();for(let vt=H.length-1;vt>=0;vt--)R=H[vt],p.db.addVertex(R.id,R.title,"group",void 0,R.classes);const Y=p.db.getVertices();Vt.warn("Get vertices",Y);const rt=p.db.getEdges();let J=0;for(J=H.length-1;J>=0;J--){R=H[J],YLt("cluster").append("text");for(let vt=0;vt<R.nodes.length;vt++)Vt.warn("Setting subgraph",R.nodes[vt],p.db.lookUpDomId(R.nodes[vt]),p.db.lookUpDomId(R.id)),j.setParent(p.db.lookUpDomId(R.nodes[vt]),p.db.lookUpDomId(R.id))}SFt(Y,j,a,E,C,p),AFt(rt,j,p);const it=new yBe;SBe.addToRender(it),it.arrows().none=function(ut,xt,st,Et){const pt=ut.append("marker").attr("id",xt).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");p3(pt,st[Et+"Style"])},it.arrows().normal=function(ut,xt){ut.append("marker").attr("id",xt).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const ht=E.select(`[id="${a}"]`),Tt=E.select("#"+a+" g");for(it(Tt,j),Tt.selectAll("g.node").attr("title",function(){return p.db.getTooltip(this.id)}),p.db.indexNodes("subGraph"+J),J=0;J<H.length;J++)if(R=H[J],R.title!=="undefined"){const vt=C.querySelectorAll("#"+a+' [id="'+p.db.lookUpDomId(R.id)+'"] rect'),ut=C.querySelectorAll("#"+a+' [id="'+p.db.lookUpDomId(R.id)+'"]'),xt=vt[0].x.baseVal.value,st=vt[0].y.baseVal.value,Et=vt[0].width.baseVal.value,pt=wr(ut[0]).select(".label");pt.attr("transform",`translate(${xt+Et/2}, ${st+14})`),pt.attr("id",a+"Text");for(let Ct=0;Ct<R.classes.length;Ct++)ut[0].classList.add(R.classes[Ct])}if(!m.htmlLabels){const vt=C.querySelectorAll('[id="'+a+'"] .edgeLabel .label');for(const ut of vt){const xt=ut.getBBox(),st=C.createElementNS("http://www.w3.org/2000/svg","rect");st.setAttribute("rx",0),st.setAttribute("ry",0),st.setAttribute("width",xt.width),st.setAttribute("height",xt.height),ut.insertBefore(st,ut.firstChild)}}nE(j,ht,m.diagramPadding,m.useMaxWidth),Object.keys(Y).forEach(function(vt){const ut=Y[vt];if(ut.link){const xt=E.select("#"+a+' [id="'+p.db.lookUpDomId(vt)+'"]');if(xt){const st=C.createElementNS("http://www.w3.org/2000/svg","a");st.setAttributeNS("http://www.w3.org/2000/svg","class",ut.classes.join(" ")),st.setAttributeNS("http://www.w3.org/2000/svg","href",ut.link),st.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),v==="sandbox"?st.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):ut.linkTarget&&st.setAttributeNS("http://www.w3.org/2000/svg","target",ut.linkTarget);const Et=xt.insert(function(){return st},":first-child"),gt=xt.select(".label-container");gt&&Et.append(function(){return gt.node()});const pt=xt.select(".label");pt&&Et.append(function(){return pt.node()})}}})}};function A5(i){var a={options:{directed:i.isDirected(),multigraph:i.isMultigraph(),compound:i.isCompound()},nodes:MBe(i),edges:DBe(i)};return sf(i.graph())||(a.value=mOe(i.graph())),a}function MBe(i){return jf(i.nodes(),function(a){var f=i.node(a),p=i.parent(a),v={v:a};return sf(f)||(v.value=f),sf(p)||(v.parent=p),v})}function DBe(i){return jf(i.edges(),function(a){var f=i.edge(a),p={v:a.v,w:a.w};return sf(a.name)||(p.name=a.name),sf(f)||(p.value=f),p})}const IBe=(i,a,f,p)=>{a.forEach(v=>{OBe[v](i,f,p)})},OBe={extension:(i,a,f)=>{Vt.trace("Making markers for ",f),i.append("defs").append("marker").attr("id",a+"-extensionStart").attr("class","marker extension "+a).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",a+"-extensionEnd").attr("class","marker extension "+a).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")},composition:(i,a)=>{i.append("defs").append("marker").attr("id",a+"-compositionStart").attr("class","marker composition "+a).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",a+"-compositionEnd").attr("class","marker composition "+a).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")},aggregation:(i,a)=>{i.append("defs").append("marker").attr("id",a+"-aggregationStart").attr("class","marker aggregation "+a).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",a+"-aggregationEnd").attr("class","marker aggregation "+a).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")},dependency:(i,a)=>{i.append("defs").append("marker").attr("id",a+"-dependencyStart").attr("class","marker dependency "+a).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",a+"-dependencyEnd").attr("class","marker dependency "+a).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")},lollipop:(i,a)=>{i.append("defs").append("marker").attr("id",a+"-lollipopStart").attr("class","marker lollipop "+a).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(i,a)=>{i.append("marker").attr("id",a+"-pointEnd").attr("class","marker "+a).attr("viewBox","0 0 10 10").attr("refX",10).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",a+"-pointStart").attr("class","marker "+a).attr("viewBox","0 0 10 10").attr("refX",0).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)=>{i.append("marker").attr("id",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",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)=>{i.append("marker").attr("id",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",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)=>{i.append("defs").append("marker").attr("id",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")}},LFt=IBe;function PBe(i,a){a&&i.attr("style",a)}function NBe(i){const a=wr(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),f=a.append("xhtml:div"),p=i.label,v=i.isNode?"nodeLabel":"edgeLabel";return f.html('<span class="'+v+'" '+(i.labelStyle?'style="'+i.labelStyle+'"':"")+">"+p+"</span>"),PBe(f,i.labelStyle),f.style("display","inline-block"),f.style("white-space","nowrap"),f.attr("xmlns","http://www.w3.org/1999/xhtml"),a.node()}const dp=(i,a,f,p)=>{let v=i||"";if(typeof v=="object"&&(v=v[0]),l1(Me().flowchart.htmlLabels)){v=v.replace(/\\n|\n/g,"<br />"),Vt.info("vertexText"+v);const m={isNode:p,label:eN(v).replace(/fa[blrs]?:fa-[\w-]+/g,E=>`<i class='${E.replace(":"," ")}'></i>`),labelStyle:a.replace("fill:","color:")};return NBe(m)}else{const m=document.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("style",a.replace("color:","fill:"));let b=[];typeof v=="string"?b=v.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(v)?b=v:b=[];for(const E of b){const C=document.createElementNS("http://www.w3.org/2000/svg","tspan");C.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),C.setAttribute("dy","1em"),C.setAttribute("x","0"),f?C.setAttribute("class","title-row"):C.setAttribute("class","row"),C.textContent=E.trim(),m.appendChild(C)}return m}};function FBe(i,a){var{includeImageAlt:f=!0}=a||{};return MFt(i,f)}function MFt(i,a){return i&&typeof i=="object"&&(i.value||(a?i.alt:"")||"children"in i&&DFt(i.children,a)||Array.isArray(i)&&DFt(i,a))||""}function DFt(i,a){for(var f=[],p=-1;++p<i.length;)f[p]=MFt(i[p],a);return f.join("")}function v3(i,a,f,p){const v=i.length;let m=0,b;if(a<0?a=-a>v?0:v+a:a=a>v?v:a,f=f>0?f:0,p.length<1e4)b=Array.from(p),b.unshift(a,f),[].splice.apply(i,b);else for(f&&[].splice.apply(i,[a,f]);m<p.length;)b=p.slice(m,m+1e4),b.unshift(a,0),[].splice.apply(i,b),m+=1e4,a+=1e4}function nv(i,a){return i.length>0?(v3(i,i.length,0,a),i):a}const IFt={}.hasOwnProperty;function BBe(i){const a={};let f=-1;for(;++f<i.length;)RBe(a,i[f]);return a}function RBe(i,a){let f;for(f in a){const v=(IFt.call(i,f)?i[f]:void 0)||(i[f]={}),m=a[f];let b;for(b in m){IFt.call(v,b)||(v[b]=[]);const E=m[b];jBe(v[b],Array.isArray(E)?E:E?[E]:[])}}}function jBe(i,a){let f=-1;const p=[];for(;++f<a.length;)(a[f].add==="after"?i:p).push(a[f]);v3(i,0,0,p)}const $Be=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,w3=lk(/[A-Za-z]/),v0t=lk(/\d/),zBe=lk(/[\dA-Fa-f]/),am=lk(/[\dA-Za-z]/),qBe=lk(/[!-/:-@[-`{-~]/),OFt=lk(/[#-'*+\--9=?A-Z^-~]/);function w0t(i){return i!==null&&(i<32||i===127)}function rv(i){return i!==null&&(i<0||i===32)}function Ya(i){return i!==null&&i<-2}function $f(i){return i===-2||i===-1||i===32}const HBe=lk(/\s/),VBe=lk($Be);function lk(i){return a;function a(f){return f!==null&&i.test(String.fromCharCode(f))}}function el(i,a,f,p){const v=p?p-1:Number.POSITIVE_INFINITY;let m=0;return b;function b(C){return $f(C)?(i.enter(f),E(C)):a(C)}function E(C){return $f(C)&&m++<v?(i.consume(C),E):(i.exit(f),a(C))}}const GBe={tokenize:UBe};function UBe(i){const a=i.attempt(this.parser.constructs.contentInitial,p,v);let f;return a;function p(E){if(E===null){i.consume(E);return}return i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),el(i,a,"linePrefix")}function v(E){return i.enter("paragraph"),m(E)}function m(E){const C=i.enter("chunkText",{contentType:"text",previous:f});return f&&(f.next=C),f=C,b(E)}function b(E){if(E===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(E);return}return Ya(E)?(i.consume(E),i.exit("chunkText"),m):(i.consume(E),b)}}const WBe={tokenize:KBe},PFt={tokenize:YBe};function KBe(i){const a=this,f=[];let p=0,v,m,b;return E;function E(ht){if(p<f.length){const Tt=f[p];return a.containerState=Tt[1],i.attempt(Tt[0].continuation,C,A)(ht)}return A(ht)}function C(ht){if(p++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,v&&it();const Tt=a.events.length;let yt=Tt,vt;for(;yt--;)if(a.events[yt][0]==="exit"&&a.events[yt][1].type==="chunkFlow"){vt=a.events[yt][1].end;break}J(p);let ut=Tt;for(;ut<a.events.length;)a.events[ut][1].end=Object.assign({},vt),ut++;return v3(a.events,yt+1,0,a.events.slice(Tt)),a.events.length=ut,A(ht)}return E(ht)}function A(ht){if(p===f.length){if(!v)return j(ht);if(v.currentConstruct&&v.currentConstruct.concrete)return H(ht);a.interrupt=!!(v.currentConstruct&&!v._gfmTableDynamicInterruptHack)}return a.containerState={},i.check(PFt,N,F)(ht)}function N(ht){return v&&it(),J(p),j(ht)}function F(ht){return a.parser.lazy[a.now().line]=p!==f.length,b=a.now().offset,H(ht)}function j(ht){return a.containerState={},i.attempt(PFt,R,H)(ht)}function R(ht){return p++,f.push([a.currentConstruct,a.containerState]),j(ht)}function H(ht){if(ht===null){v&&it(),J(0),i.consume(ht);return}return v=v||a.parser.flow(a.now()),i.enter("chunkFlow",{contentType:"flow",previous:m,_tokenizer:v}),Y(ht)}function Y(ht){if(ht===null){rt(i.exit("chunkFlow"),!0),J(0),i.consume(ht);return}return Ya(ht)?(i.consume(ht),rt(i.exit("chunkFlow")),p=0,a.interrupt=void 0,E):(i.consume(ht),Y)}function rt(ht,Tt){const yt=a.sliceStream(ht);if(Tt&&yt.push(null),ht.previous=m,m&&(m.next=ht),m=ht,v.defineSkip(ht.start),v.write(yt),a.parser.lazy[ht.start.line]){let vt=v.events.length;for(;vt--;)if(v.events[vt][1].start.offset<b&&(!v.events[vt][1].end||v.events[vt][1].end.offset>b))return;const ut=a.events.length;let xt=ut,st,Et;for(;xt--;)if(a.events[xt][0]==="exit"&&a.events[xt][1].type==="chunkFlow"){if(st){Et=a.events[xt][1].end;break}st=!0}for(J(p),vt=ut;vt<a.events.length;)a.events[vt][1].end=Object.assign({},Et),vt++;v3(a.events,xt+1,0,a.events.slice(ut)),a.events.length=vt}}function J(ht){let Tt=f.length;for(;Tt-- >ht;){const yt=f[Tt];a.containerState=yt[1],yt[0].exit.call(a,i)}f.length=ht}function it(){v.write([null]),m=void 0,v=void 0,a.containerState._closeFlow=void 0}}function YBe(i,a,f){return el(i,i.attempt(this.parser.constructs.document,a,f),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function NFt(i){if(i===null||rv(i)||HBe(i))return 1;if(VBe(i))return 2}function m0t(i,a,f){const p=[];let v=-1;for(;++v<i.length;){const m=i[v].resolveAll;m&&!p.includes(m)&&(a=m(a,f),p.push(m))}return a}const y0t={name:"attention",tokenize:QBe,resolveAll:XBe};function XBe(i,a){let f=-1,p,v,m,b,E,C,A,N;for(;++f<i.length;)if(i[f][0]==="enter"&&i[f][1].type==="attentionSequence"&&i[f][1]._close){for(p=f;p--;)if(i[p][0]==="exit"&&i[p][1].type==="attentionSequence"&&i[p][1]._open&&a.sliceSerialize(i[p][1]).charCodeAt(0)===a.sliceSerialize(i[f][1]).charCodeAt(0)){if((i[p][1]._close||i[f][1]._open)&&(i[f][1].end.offset-i[f][1].start.offset)%3&&!((i[p][1].end.offset-i[p][1].start.offset+i[f][1].end.offset-i[f][1].start.offset)%3))continue;C=i[p][1].end.offset-i[p][1].start.offset>1&&i[f][1].end.offset-i[f][1].start.offset>1?2:1;const F=Object.assign({},i[p][1].end),j=Object.assign({},i[f][1].start);FFt(F,-C),FFt(j,C),b={type:C>1?"strongSequence":"emphasisSequence",start:F,end:Object.assign({},i[p][1].end)},E={type:C>1?"strongSequence":"emphasisSequence",start:Object.assign({},i[f][1].start),end:j},m={type:C>1?"strongText":"emphasisText",start:Object.assign({},i[p][1].end),end:Object.assign({},i[f][1].start)},v={type:C>1?"strong":"emphasis",start:Object.assign({},b.start),end:Object.assign({},E.end)},i[p][1].end=Object.assign({},b.start),i[f][1].start=Object.assign({},E.end),A=[],i[p][1].end.offset-i[p][1].start.offset&&(A=nv(A,[["enter",i[p][1],a],["exit",i[p][1],a]])),A=nv(A,[["enter",v,a],["enter",b,a],["exit",b,a],["enter",m,a]]),A=nv(A,m0t(a.parser.constructs.insideSpan.null,i.slice(p+1,f),a)),A=nv(A,[["exit",m,a],["enter",E,a],["exit",E,a],["exit",v,a]]),i[f][1].end.offset-i[f][1].start.offset?(N=2,A=nv(A,[["enter",i[f][1],a],["exit",i[f][1],a]])):N=0,v3(i,p-1,f-p+3,A),f=p+A.length-N-2;break}}for(f=-1;++f<i.length;)i[f][1].type==="attentionSequence"&&(i[f][1].type="data");return i}function QBe(i,a){const f=this.parser.constructs.attentionMarkers.null,p=this.previous,v=NFt(p);let m;return b;function b(C){return i.enter("attentionSequence"),m=C,E(C)}function E(C){if(C===m)return i.consume(C),E;const A=i.exit("attentionSequence"),N=NFt(C),F=!N||N===2&&v||f.includes(C),j=!v||v===2&&N||f.includes(p);return A._open=!!(m===42?F:F&&(v||!j)),A._close=!!(m===42?j:j&&(N||!F)),a(C)}}function FFt(i,a){i.column+=a,i.offset+=a,i._bufferIndex+=a}const ZBe={name:"autolink",tokenize:JBe};function JBe(i,a,f){let p=1;return v;function v(H){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(H),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),m}function m(H){return w3(H)?(i.consume(H),b):OFt(H)?A(H):f(H)}function b(H){return H===43||H===45||H===46||am(H)?E(H):A(H)}function E(H){return H===58?(i.consume(H),C):(H===43||H===45||H===46||am(H))&&p++<32?(i.consume(H),E):A(H)}function C(H){return H===62?(i.exit("autolinkProtocol"),R(H)):H===null||H===32||H===60||w0t(H)?f(H):(i.consume(H),C)}function A(H){return H===64?(i.consume(H),p=0,N):OFt(H)?(i.consume(H),A):f(H)}function N(H){return am(H)?F(H):f(H)}function F(H){return H===46?(i.consume(H),p=0,N):H===62?(i.exit("autolinkProtocol").type="autolinkEmail",R(H)):j(H)}function j(H){return(H===45||am(H))&&p++<63?(i.consume(H),H===45?j:F):f(H)}function R(H){return i.enter("autolinkMarker"),i.consume(H),i.exit("autolinkMarker"),i.exit("autolink"),a}}const gK={tokenize:tRe,partial:!0};function tRe(i,a,f){return el(i,p,"linePrefix");function p(v){return v===null||Ya(v)?a(v):f(v)}}const BFt={name:"blockQuote",tokenize:eRe,continuation:{tokenize:nRe},exit:rRe};function eRe(i,a,f){const p=this;return v;function v(b){if(b===62){const E=p.containerState;return E.open||(i.enter("blockQuote",{_container:!0}),E.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(b),i.exit("blockQuoteMarker"),m}return f(b)}function m(b){return $f(b)?(i.enter("blockQuotePrefixWhitespace"),i.consume(b),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),a):(i.exit("blockQuotePrefix"),a(b))}}function nRe(i,a,f){return el(i,i.attempt(BFt,a,f),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rRe(i){i.exit("blockQuote")}const RFt={name:"characterEscape",tokenize:iRe};function iRe(i,a,f){return p;function p(m){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(m),i.exit("escapeMarker"),v}function v(m){return qBe(m)?(i.enter("characterEscapeValue"),i.consume(m),i.exit("characterEscapeValue"),i.exit("characterEscape"),a):f(m)}}const jFt=document.createElement("i");function x0t(i){const a="&"+i+";";jFt.innerHTML=a;const f=jFt.textContent;return f.charCodeAt(f.length-1)===59&&i!=="semi"||f===a?!1:f}const $Ft={name:"characterReference",tokenize:sRe};function sRe(i,a,f){const p=this;let v=0,m,b;return E;function E(F){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(F),i.exit("characterReferenceMarker"),C}function C(F){return F===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(F),i.exit("characterReferenceMarkerNumeric"),A):(i.enter("characterReferenceValue"),m=31,b=am,N(F))}function A(F){return F===88||F===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(F),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),m=6,b=zBe,N):(i.enter("characterReferenceValue"),m=7,b=v0t,N(F))}function N(F){let j;return F===59&&v?(j=i.exit("characterReferenceValue"),b===am&&!x0t(p.sliceSerialize(j))?f(F):(i.enter("characterReferenceMarker"),i.consume(F),i.exit("characterReferenceMarker"),i.exit("characterReference"),a)):b(F)&&v++<m?(i.consume(F),N):f(F)}}const zFt={name:"codeFenced",tokenize:aRe,concrete:!0};function aRe(i,a,f){const p=this,v={tokenize:yt,partial:!0},m={tokenize:Tt,partial:!0},b=this.events[this.events.length-1],E=b&&b[1].type==="linePrefix"?b[2].sliceSerialize(b[1],!0).length:0;let C=0,A;return N;function N(vt){return i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),A=vt,F(vt)}function F(vt){return vt===A?(i.consume(vt),C++,F):(i.exit("codeFencedFenceSequence"),C<3?f(vt):el(i,j,"whitespace")(vt))}function j(vt){return vt===null||Ya(vt)?rt(vt):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),R(vt))}function R(vt){return vt===null||rv(vt)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),el(i,H,"whitespace")(vt)):vt===96&&vt===A?f(vt):(i.consume(vt),R)}function H(vt){return vt===null||Ya(vt)?rt(vt):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),Y(vt))}function Y(vt){return vt===null||Ya(vt)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),rt(vt)):vt===96&&vt===A?f(vt):(i.consume(vt),Y)}function rt(vt){return i.exit("codeFencedFence"),p.interrupt?a(vt):J(vt)}function J(vt){return vt===null?ht(vt):Ya(vt)?i.attempt(m,i.attempt(v,ht,E?el(i,J,"linePrefix",E+1):J),ht)(vt):(i.enter("codeFlowValue"),it(vt))}function it(vt){return vt===null||Ya(vt)?(i.exit("codeFlowValue"),J(vt)):(i.consume(vt),it)}function ht(vt){return i.exit("codeFenced"),a(vt)}function Tt(vt,ut,xt){const st=this;return Et;function Et(pt){return vt.enter("lineEnding"),vt.consume(pt),vt.exit("lineEnding"),gt}function gt(pt){return st.parser.lazy[st.now().line]?xt(pt):ut(pt)}}function yt(vt,ut,xt){let st=0;return el(vt,Et,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Et(Ct){return vt.enter("codeFencedFence"),vt.enter("codeFencedFenceSequence"),gt(Ct)}function gt(Ct){return Ct===A?(vt.consume(Ct),st++,gt):st<C?xt(Ct):(vt.exit("codeFencedFenceSequence"),el(vt,pt,"whitespace")(Ct))}function pt(Ct){return Ct===null||Ya(Ct)?(vt.exit("codeFencedFence"),ut(Ct)):xt(Ct)}}}const k0t={name:"codeIndented",tokenize:cRe},oRe={tokenize:uRe,partial:!0};function cRe(i,a,f){const p=this;return v;function v(A){return i.enter("codeIndented"),el(i,m,"linePrefix",4+1)(A)}function m(A){const N=p.events[p.events.length-1];return N&&N[1].type==="linePrefix"&&N[2].sliceSerialize(N[1],!0).length>=4?b(A):f(A)}function b(A){return A===null?C(A):Ya(A)?i.attempt(oRe,b,C)(A):(i.enter("codeFlowValue"),E(A))}function E(A){return A===null||Ya(A)?(i.exit("codeFlowValue"),b(A)):(i.consume(A),E)}function C(A){return i.exit("codeIndented"),a(A)}}function uRe(i,a,f){const p=this;return v;function v(b){return p.parser.lazy[p.now().line]?f(b):Ya(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),v):el(i,m,"linePrefix",4+1)(b)}function m(b){const E=p.events[p.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?a(b):Ya(b)?v(b):f(b)}}const lRe={name:"codeText",tokenize:dRe,resolve:hRe,previous:fRe};function hRe(i){let a=i.length-4,f=3,p,v;if((i[f][1].type==="lineEnding"||i[f][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(p=f;++p<a;)if(i[p][1].type==="codeTextData"){i[f][1].type="codeTextPadding",i[a][1].type="codeTextPadding",f+=2,a-=2;break}}for(p=f-1,a++;++p<=a;)v===void 0?p!==a&&i[p][1].type!=="lineEnding"&&(v=p):(p===a||i[p][1].type==="lineEnding")&&(i[v][1].type="codeTextData",p!==v+2&&(i[v][1].end=i[p-1][1].end,i.splice(v+2,p-v-2),a-=p-v-2,p=v+2),v=void 0);return i}function fRe(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dRe(i,a,f){let p=0,v,m;return b;function b(F){return i.enter("codeText"),i.enter("codeTextSequence"),E(F)}function E(F){return F===96?(i.consume(F),p++,E):(i.exit("codeTextSequence"),C(F))}function C(F){return F===null?f(F):F===96?(m=i.enter("codeTextSequence"),v=0,N(F)):F===32?(i.enter("space"),i.consume(F),i.exit("space"),C):Ya(F)?(i.enter("lineEnding"),i.consume(F),i.exit("lineEnding"),C):(i.enter("codeTextData"),A(F))}function A(F){return F===null||F===32||F===96||Ya(F)?(i.exit("codeTextData"),C(F)):(i.consume(F),A)}function N(F){return F===96?(i.consume(F),v++,N):v===p?(i.exit("codeTextSequence"),i.exit("codeText"),a(F)):(m.type="codeTextData",A(F))}}function qFt(i){const a={};let f=-1,p,v,m,b,E,C,A;for(;++f<i.length;){for(;f in a;)f=a[f];if(p=i[f],f&&p[1].type==="chunkFlow"&&i[f-1][1].type==="listItemPrefix"&&(C=p[1]._tokenizer.events,m=0,m<C.length&&C[m][1].type==="lineEndingBlank"&&(m+=2),m<C.length&&C[m][1].type==="content"))for(;++m<C.length&&C[m][1].type!=="content";)C[m][1].type==="chunkText"&&(C[m][1]._isInFirstContentOfListItem=!0,m++);if(p[0]==="enter")p[1].contentType&&(Object.assign(a,gRe(i,f)),f=a[f],A=!0);else if(p[1]._container){for(m=f,v=void 0;m--&&(b=i[m],b[1].type==="lineEnding"||b[1].type==="lineEndingBlank");)b[0]==="enter"&&(v&&(i[v][1].type="lineEndingBlank"),b[1].type="lineEnding",v=m);v&&(p[1].end=Object.assign({},i[v][1].start),E=i.slice(v,f),E.unshift(p),v3(i,v,f-v+1,E))}}return!A}function gRe(i,a){const f=i[a][1],p=i[a][2];let v=a-1;const m=[],b=f._tokenizer||p.parser[f.contentType](f.start),E=b.events,C=[],A={};let N,F,j=-1,R=f,H=0,Y=0;const rt=[Y];for(;R;){for(;i[++v][1]!==R;);m.push(v),R._tokenizer||(N=p.sliceStream(R),R.next||N.push(null),F&&b.defineSkip(R.start),R._isInFirstContentOfListItem&&(b._gfmTasklistFirstContentOfListItem=!0),b.write(N),R._isInFirstContentOfListItem&&(b._gfmTasklistFirstContentOfListItem=void 0)),F=R,R=R.next}for(R=f;++j<E.length;)E[j][0]==="exit"&&E[j-1][0]==="enter"&&E[j][1].type===E[j-1][1].type&&E[j][1].start.line!==E[j][1].end.line&&(Y=j+1,rt.push(Y),R._tokenizer=void 0,R.previous=void 0,R=R.next);for(b.events=[],R?(R._tokenizer=void 0,R.previous=void 0):rt.pop(),j=rt.length;j--;){const J=E.slice(rt[j],rt[j+1]),it=m.pop();C.unshift([it,it+J.length-1]),v3(i,it,2,J)}for(j=-1;++j<C.length;)A[H+C[j][0]]=H+C[j][1],H+=C[j][1]-C[j][0]-1;return A}const pRe={tokenize:wRe,resolve:vRe},bRe={tokenize:mRe,partial:!0};function vRe(i){return qFt(i),i}function wRe(i,a){let f;return p;function p(E){return i.enter("content"),f=i.enter("chunkContent",{contentType:"content"}),v(E)}function v(E){return E===null?m(E):Ya(E)?i.check(bRe,b,m)(E):(i.consume(E),v)}function m(E){return i.exit("chunkContent"),i.exit("content"),a(E)}function b(E){return i.consume(E),i.exit("chunkContent"),f.next=i.enter("chunkContent",{contentType:"content",previous:f}),f=f.next,v}}function mRe(i,a,f){const p=this;return v;function v(b){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),el(i,m,"linePrefix")}function m(b){if(b===null||Ya(b))return f(b);const E=p.events[p.events.length-1];return!p.parser.constructs.disable.null.includes("codeIndented")&&E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?a(b):i.interrupt(p.parser.constructs.flow,f,a)(b)}}function HFt(i,a,f,p,v,m,b,E,C){const A=C||Number.POSITIVE_INFINITY;let N=0;return F;function F(J){return J===60?(i.enter(p),i.enter(v),i.enter(m),i.consume(J),i.exit(m),j):J===null||J===41||w0t(J)?f(J):(i.enter(p),i.enter(b),i.enter(E),i.enter("chunkString",{contentType:"string"}),Y(J))}function j(J){return J===62?(i.enter(m),i.consume(J),i.exit(m),i.exit(v),i.exit(p),a):(i.enter(E),i.enter("chunkString",{contentType:"string"}),R(J))}function R(J){return J===62?(i.exit("chunkString"),i.exit(E),j(J)):J===null||J===60||Ya(J)?f(J):(i.consume(J),J===92?H:R)}function H(J){return J===60||J===62||J===92?(i.consume(J),R):R(J)}function Y(J){return J===40?++N>A?f(J):(i.consume(J),Y):J===41?N--?(i.consume(J),Y):(i.exit("chunkString"),i.exit(E),i.exit(b),i.exit(p),a(J)):J===null||rv(J)?N?f(J):(i.exit("chunkString"),i.exit(E),i.exit(b),i.exit(p),a(J)):w0t(J)?f(J):(i.consume(J),J===92?rt:Y)}function rt(J){return J===40||J===41||J===92?(i.consume(J),Y):Y(J)}}function VFt(i,a,f,p,v,m){const b=this;let E=0,C;return A;function A(R){return i.enter(p),i.enter(v),i.consume(R),i.exit(v),i.enter(m),N}function N(R){return R===null||R===91||R===93&&!C||R===94&&!E&&"_hiddenFootnoteSupport"in b.parser.constructs||E>999?f(R):R===93?(i.exit(m),i.enter(v),i.consume(R),i.exit(v),i.exit(p),a):Ya(R)?(i.enter("lineEnding"),i.consume(R),i.exit("lineEnding"),N):(i.enter("chunkString",{contentType:"string"}),F(R))}function F(R){return R===null||R===91||R===93||Ya(R)||E++>999?(i.exit("chunkString"),N(R)):(i.consume(R),C=C||!$f(R),R===92?j:F)}function j(R){return R===91||R===92||R===93?(i.consume(R),E++,F):F(R)}}function GFt(i,a,f,p,v,m){let b;return E;function E(j){return i.enter(p),i.enter(v),i.consume(j),i.exit(v),b=j===40?41:j,C}function C(j){return j===b?(i.enter(v),i.consume(j),i.exit(v),i.exit(p),a):(i.enter(m),A(j))}function A(j){return j===b?(i.exit(m),C(b)):j===null?f(j):Ya(j)?(i.enter("lineEnding"),i.consume(j),i.exit("lineEnding"),el(i,A,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),N(j))}function N(j){return j===b||j===null||Ya(j)?(i.exit("chunkString"),A(j)):(i.consume(j),j===92?F:N)}function F(j){return j===b||j===92?(i.consume(j),N):N(j)}}function wN(i,a){let f;return p;function p(v){return Ya(v)?(i.enter("lineEnding"),i.consume(v),i.exit("lineEnding"),f=!0,p):$f(v)?el(i,p,f?"linePrefix":"lineSuffix")(v):a(v)}}function iL(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yRe={name:"definition",tokenize:kRe},xRe={tokenize:ERe,partial:!0};function kRe(i,a,f){const p=this;let v;return m;function m(C){return i.enter("definition"),VFt.call(p,i,b,f,"definitionLabel","definitionLabelMarker","definitionLabelString")(C)}function b(C){return v=iL(p.sliceSerialize(p.events[p.events.length-1][1]).slice(1,-1)),C===58?(i.enter("definitionMarker"),i.consume(C),i.exit("definitionMarker"),wN(i,HFt(i,i.attempt(xRe,el(i,E,"whitespace"),el(i,E,"whitespace")),f,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):f(C)}function E(C){return C===null||Ya(C)?(i.exit("definition"),p.parser.defined.includes(v)||p.parser.defined.push(v),a(C)):f(C)}}function ERe(i,a,f){return p;function p(b){return rv(b)?wN(i,v)(b):f(b)}function v(b){return b===34||b===39||b===40?GFt(i,el(i,m,"whitespace"),f,"definitionTitle","definitionTitleMarker","definitionTitleString")(b):f(b)}function m(b){return b===null||Ya(b)?a(b):f(b)}}const TRe={name:"hardBreakEscape",tokenize:_Re};function _Re(i,a,f){return p;function p(m){return i.enter("hardBreakEscape"),i.enter("escapeMarker"),i.consume(m),v}function v(m){return Ya(m)?(i.exit("escapeMarker"),i.exit("hardBreakEscape"),a(m)):f(m)}}const CRe={name:"headingAtx",tokenize:ARe,resolve:SRe};function SRe(i,a){let f=i.length-2,p=3,v,m;return i[p][1].type==="whitespace"&&(p+=2),f-2>p&&i[f][1].type==="whitespace"&&(f-=2),i[f][1].type==="atxHeadingSequence"&&(p===f-1||f-4>p&&i[f-2][1].type==="whitespace")&&(f-=p+1===f?2:4),f>p&&(v={type:"atxHeadingText",start:i[p][1].start,end:i[f][1].end},m={type:"chunkText",start:i[p][1].start,end:i[f][1].end,contentType:"text"},v3(i,p,f-p+1,[["enter",v,a],["enter",m,a],["exit",m,a],["exit",v,a]])),i}function ARe(i,a,f){const p=this;let v=0;return m;function m(N){return i.enter("atxHeading"),i.enter("atxHeadingSequence"),b(N)}function b(N){return N===35&&v++<6?(i.consume(N),b):N===null||rv(N)?(i.exit("atxHeadingSequence"),p.interrupt?a(N):E(N)):f(N)}function E(N){return N===35?(i.enter("atxHeadingSequence"),C(N)):N===null||Ya(N)?(i.exit("atxHeading"),a(N)):$f(N)?el(i,E,"whitespace")(N):(i.enter("atxHeadingText"),A(N))}function C(N){return N===35?(i.consume(N),C):(i.exit("atxHeadingSequence"),E(N))}function A(N){return N===null||N===35||rv(N)?(i.exit("atxHeadingText"),E(N)):(i.consume(N),A)}}const LRe=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],UFt=["pre","script","style","textarea"],MRe={name:"htmlFlow",tokenize:ORe,resolveTo:IRe,concrete:!0},DRe={tokenize:PRe,partial:!0};function IRe(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 ORe(i,a,f){const p=this;let v,m,b,E,C;return A;function A(Ot){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(Ot),N}function N(Ot){return Ot===33?(i.consume(Ot),F):Ot===47?(i.consume(Ot),H):Ot===63?(i.consume(Ot),v=3,p.interrupt?a:Bt):w3(Ot)?(i.consume(Ot),b=String.fromCharCode(Ot),m=!0,Y):f(Ot)}function F(Ot){return Ot===45?(i.consume(Ot),v=2,j):Ot===91?(i.consume(Ot),v=5,b="CDATA[",E=0,R):w3(Ot)?(i.consume(Ot),v=4,p.interrupt?a:Bt):f(Ot)}function j(Ot){return Ot===45?(i.consume(Ot),p.interrupt?a:Bt):f(Ot)}function R(Ot){return Ot===b.charCodeAt(E++)?(i.consume(Ot),E===b.length?p.interrupt?a:gt:R):f(Ot)}function H(Ot){return w3(Ot)?(i.consume(Ot),b=String.fromCharCode(Ot),Y):f(Ot)}function Y(Ot){return Ot===null||Ot===47||Ot===62||rv(Ot)?Ot!==47&&m&&UFt.includes(b.toLowerCase())?(v=1,p.interrupt?a(Ot):gt(Ot)):LRe.includes(b.toLowerCase())?(v=6,Ot===47?(i.consume(Ot),rt):p.interrupt?a(Ot):gt(Ot)):(v=7,p.interrupt&&!p.parser.lazy[p.now().line]?f(Ot):m?it(Ot):J(Ot)):Ot===45||am(Ot)?(i.consume(Ot),b+=String.fromCharCode(Ot),Y):f(Ot)}function rt(Ot){return Ot===62?(i.consume(Ot),p.interrupt?a:gt):f(Ot)}function J(Ot){return $f(Ot)?(i.consume(Ot),J):st(Ot)}function it(Ot){return Ot===47?(i.consume(Ot),st):Ot===58||Ot===95||w3(Ot)?(i.consume(Ot),ht):$f(Ot)?(i.consume(Ot),it):st(Ot)}function ht(Ot){return Ot===45||Ot===46||Ot===58||Ot===95||am(Ot)?(i.consume(Ot),ht):Tt(Ot)}function Tt(Ot){return Ot===61?(i.consume(Ot),yt):$f(Ot)?(i.consume(Ot),Tt):it(Ot)}function yt(Ot){return Ot===null||Ot===60||Ot===61||Ot===62||Ot===96?f(Ot):Ot===34||Ot===39?(i.consume(Ot),C=Ot,vt):$f(Ot)?(i.consume(Ot),yt):(C=null,ut(Ot))}function vt(Ot){return Ot===null||Ya(Ot)?f(Ot):Ot===C?(i.consume(Ot),xt):(i.consume(Ot),vt)}function ut(Ot){return Ot===null||Ot===34||Ot===39||Ot===60||Ot===61||Ot===62||Ot===96||rv(Ot)?Tt(Ot):(i.consume(Ot),ut)}function xt(Ot){return Ot===47||Ot===62||$f(Ot)?it(Ot):f(Ot)}function st(Ot){return Ot===62?(i.consume(Ot),Et):f(Ot)}function Et(Ot){return $f(Ot)?(i.consume(Ot),Et):Ot===null||Ya(Ot)?gt(Ot):f(Ot)}function gt(Ot){return Ot===45&&v===2?(i.consume(Ot),Nt):Ot===60&&v===1?(i.consume(Ot),dt):Ot===62&&v===4?(i.consume(Ot),Rt):Ot===63&&v===3?(i.consume(Ot),Bt):Ot===93&&v===5?(i.consume(Ot),X):Ya(Ot)&&(v===6||v===7)?i.check(DRe,Rt,pt)(Ot):Ot===null||Ya(Ot)?pt(Ot):(i.consume(Ot),gt)}function pt(Ot){return i.exit("htmlFlowData"),Ct(Ot)}function Ct(Ot){return Ot===null?mt(Ot):Ya(Ot)?i.attempt({tokenize:nt,partial:!0},Ct,mt)(Ot):(i.enter("htmlFlowData"),gt(Ot))}function nt(Ot,Gt,Ve){return Cn;function Cn(Kn){return Ot.enter("lineEnding"),Ot.consume(Kn),Ot.exit("lineEnding"),xe}function xe(Kn){return p.parser.lazy[p.now().line]?Ve(Kn):Gt(Kn)}}function Nt(Ot){return Ot===45?(i.consume(Ot),Bt):gt(Ot)}function dt(Ot){return Ot===47?(i.consume(Ot),b="",Ft):gt(Ot)}function Ft(Ot){return Ot===62&&UFt.includes(b.toLowerCase())?(i.consume(Ot),Rt):w3(Ot)&&b.length<8?(i.consume(Ot),b+=String.fromCharCode(Ot),Ft):gt(Ot)}function X(Ot){return Ot===93?(i.consume(Ot),Bt):gt(Ot)}function Bt(Ot){return Ot===62?(i.consume(Ot),Rt):Ot===45&&v===2?(i.consume(Ot),Bt):gt(Ot)}function Rt(Ot){return Ot===null||Ya(Ot)?(i.exit("htmlFlowData"),mt(Ot)):(i.consume(Ot),Rt)}function mt(Ot){return i.exit("htmlFlow"),a(Ot)}}function PRe(i,a,f){return p;function p(v){return i.exit("htmlFlowData"),i.enter("lineEndingBlank"),i.consume(v),i.exit("lineEndingBlank"),i.attempt(gK,a,f)}}const NRe={name:"htmlText",tokenize:FRe};function FRe(i,a,f){const p=this;let v,m,b,E;return C;function C(mt){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(mt),A}function A(mt){return mt===33?(i.consume(mt),N):mt===47?(i.consume(mt),ut):mt===63?(i.consume(mt),yt):w3(mt)?(i.consume(mt),Et):f(mt)}function N(mt){return mt===45?(i.consume(mt),F):mt===91?(i.consume(mt),m="CDATA[",b=0,rt):w3(mt)?(i.consume(mt),Tt):f(mt)}function F(mt){return mt===45?(i.consume(mt),j):f(mt)}function j(mt){return mt===null||mt===62?f(mt):mt===45?(i.consume(mt),R):H(mt)}function R(mt){return mt===null||mt===62?f(mt):H(mt)}function H(mt){return mt===null?f(mt):mt===45?(i.consume(mt),Y):Ya(mt)?(E=H,X(mt)):(i.consume(mt),H)}function Y(mt){return mt===45?(i.consume(mt),Rt):H(mt)}function rt(mt){return mt===m.charCodeAt(b++)?(i.consume(mt),b===m.length?J:rt):f(mt)}function J(mt){return mt===null?f(mt):mt===93?(i.consume(mt),it):Ya(mt)?(E=J,X(mt)):(i.consume(mt),J)}function it(mt){return mt===93?(i.consume(mt),ht):J(mt)}function ht(mt){return mt===62?Rt(mt):mt===93?(i.consume(mt),ht):J(mt)}function Tt(mt){return mt===null||mt===62?Rt(mt):Ya(mt)?(E=Tt,X(mt)):(i.consume(mt),Tt)}function yt(mt){return mt===null?f(mt):mt===63?(i.consume(mt),vt):Ya(mt)?(E=yt,X(mt)):(i.consume(mt),yt)}function vt(mt){return mt===62?Rt(mt):yt(mt)}function ut(mt){return w3(mt)?(i.consume(mt),xt):f(mt)}function xt(mt){return mt===45||am(mt)?(i.consume(mt),xt):st(mt)}function st(mt){return Ya(mt)?(E=st,X(mt)):$f(mt)?(i.consume(mt),st):Rt(mt)}function Et(mt){return mt===45||am(mt)?(i.consume(mt),Et):mt===47||mt===62||rv(mt)?gt(mt):f(mt)}function gt(mt){return mt===47?(i.consume(mt),Rt):mt===58||mt===95||w3(mt)?(i.consume(mt),pt):Ya(mt)?(E=gt,X(mt)):$f(mt)?(i.consume(mt),gt):Rt(mt)}function pt(mt){return mt===45||mt===46||mt===58||mt===95||am(mt)?(i.consume(mt),pt):Ct(mt)}function Ct(mt){return mt===61?(i.consume(mt),nt):Ya(mt)?(E=Ct,X(mt)):$f(mt)?(i.consume(mt),Ct):gt(mt)}function nt(mt){return mt===null||mt===60||mt===61||mt===62||mt===96?f(mt):mt===34||mt===39?(i.consume(mt),v=mt,Nt):Ya(mt)?(E=nt,X(mt)):$f(mt)?(i.consume(mt),nt):(i.consume(mt),v=void 0,Ft)}function Nt(mt){return mt===v?(i.consume(mt),dt):mt===null?f(mt):Ya(mt)?(E=Nt,X(mt)):(i.consume(mt),Nt)}function dt(mt){return mt===62||mt===47||rv(mt)?gt(mt):f(mt)}function Ft(mt){return mt===null||mt===34||mt===39||mt===60||mt===61||mt===96?f(mt):mt===62||rv(mt)?gt(mt):(i.consume(mt),Ft)}function X(mt){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(mt),i.exit("lineEnding"),el(i,Bt,"linePrefix",p.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Bt(mt){return i.enter("htmlTextData"),E(mt)}function Rt(mt){return mt===62?(i.consume(mt),i.exit("htmlTextData"),i.exit("htmlText"),a):f(mt)}}const E0t={name:"labelEnd",tokenize:qRe,resolveTo:zRe,resolveAll:$Re},BRe={tokenize:HRe},RRe={tokenize:VRe},jRe={tokenize:GRe};function $Re(i){let a=-1,f;for(;++a<i.length;)f=i[a][1],(f.type==="labelImage"||f.type==="labelLink"||f.type==="labelEnd")&&(i.splice(a+1,f.type==="labelImage"?4:2),f.type="data",a++);return i}function zRe(i,a){let f=i.length,p=0,v,m,b,E;for(;f--;)if(v=i[f][1],m){if(v.type==="link"||v.type==="labelLink"&&v._inactive)break;i[f][0]==="enter"&&v.type==="labelLink"&&(v._inactive=!0)}else if(b){if(i[f][0]==="enter"&&(v.type==="labelImage"||v.type==="labelLink")&&!v._balanced&&(m=f,v.type!=="labelLink")){p=2;break}}else v.type==="labelEnd"&&(b=f);const C={type:i[m][1].type==="labelLink"?"link":"image",start:Object.assign({},i[m][1].start),end:Object.assign({},i[i.length-1][1].end)},A={type:"label",start:Object.assign({},i[m][1].start),end:Object.assign({},i[b][1].end)},N={type:"labelText",start:Object.assign({},i[m+p+2][1].end),end:Object.assign({},i[b-2][1].start)};return E=[["enter",C,a],["enter",A,a]],E=nv(E,i.slice(m+1,m+p+3)),E=nv(E,[["enter",N,a]]),E=nv(E,m0t(a.parser.constructs.insideSpan.null,i.slice(m+p+4,b-3),a)),E=nv(E,[["exit",N,a],i[b-2],i[b-1],["exit",A,a]]),E=nv(E,i.slice(b+1)),E=nv(E,[["exit",C,a]]),v3(i,m,i.length,E),i}function qRe(i,a,f){const p=this;let v=p.events.length,m,b;for(;v--;)if((p.events[v][1].type==="labelImage"||p.events[v][1].type==="labelLink")&&!p.events[v][1]._balanced){m=p.events[v][1];break}return E;function E(N){return m?m._inactive?A(N):(b=p.parser.defined.includes(iL(p.sliceSerialize({start:m.end,end:p.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(N),i.exit("labelMarker"),i.exit("labelEnd"),C):f(N)}function C(N){return N===40?i.attempt(BRe,a,b?a:A)(N):N===91?i.attempt(RRe,a,b?i.attempt(jRe,a,A):A)(N):b?a(N):A(N)}function A(N){return m._balanced=!0,f(N)}}function HRe(i,a,f){return p;function p(C){return i.enter("resource"),i.enter("resourceMarker"),i.consume(C),i.exit("resourceMarker"),wN(i,v)}function v(C){return C===41?E(C):HFt(i,m,f,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(C)}function m(C){return rv(C)?wN(i,b)(C):E(C)}function b(C){return C===34||C===39||C===40?GFt(i,wN(i,E),f,"resourceTitle","resourceTitleMarker","resourceTitleString")(C):E(C)}function E(C){return C===41?(i.enter("resourceMarker"),i.consume(C),i.exit("resourceMarker"),i.exit("resource"),a):f(C)}}function VRe(i,a,f){const p=this;return v;function v(b){return VFt.call(p,i,m,f,"reference","referenceMarker","referenceString")(b)}function m(b){return p.parser.defined.includes(iL(p.sliceSerialize(p.events[p.events.length-1][1]).slice(1,-1)))?a(b):f(b)}}function GRe(i,a,f){return p;function p(m){return i.enter("reference"),i.enter("referenceMarker"),i.consume(m),i.exit("referenceMarker"),v}function v(m){return m===93?(i.enter("referenceMarker"),i.consume(m),i.exit("referenceMarker"),i.exit("reference"),a):f(m)}}const URe={name:"labelStartImage",tokenize:WRe,resolveAll:E0t.resolveAll};function WRe(i,a,f){const p=this;return v;function v(E){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(E),i.exit("labelImageMarker"),m}function m(E){return E===91?(i.enter("labelMarker"),i.consume(E),i.exit("labelMarker"),i.exit("labelImage"),b):f(E)}function b(E){return E===94&&"_hiddenFootnoteSupport"in p.parser.constructs?f(E):a(E)}}const KRe={name:"labelStartLink",tokenize:YRe,resolveAll:E0t.resolveAll};function YRe(i,a,f){const p=this;return v;function v(b){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(b),i.exit("labelMarker"),i.exit("labelLink"),m}function m(b){return b===94&&"_hiddenFootnoteSupport"in p.parser.constructs?f(b):a(b)}}const T0t={name:"lineEnding",tokenize:XRe};function XRe(i,a){return f;function f(p){return i.enter("lineEnding"),i.consume(p),i.exit("lineEnding"),el(i,a,"linePrefix")}}const pK={name:"thematicBreak",tokenize:QRe};function QRe(i,a,f){let p=0,v;return m;function m(C){return i.enter("thematicBreak"),v=C,b(C)}function b(C){return C===v?(i.enter("thematicBreakSequence"),E(C)):$f(C)?el(i,b,"whitespace")(C):p<3||C!==null&&!Ya(C)?f(C):(i.exit("thematicBreak"),a(C))}function E(C){return C===v?(i.consume(C),p++,E):(i.exit("thematicBreakSequence"),b(C))}}const gp={name:"list",tokenize:tje,continuation:{tokenize:eje},exit:rje},ZRe={tokenize:ije,partial:!0},JRe={tokenize:nje,partial:!0};function tje(i,a,f){const p=this,v=p.events[p.events.length-1];let m=v&&v[1].type==="linePrefix"?v[2].sliceSerialize(v[1],!0).length:0,b=0;return E;function E(R){const H=p.containerState.type||(R===42||R===43||R===45?"listUnordered":"listOrdered");if(H==="listUnordered"?!p.containerState.marker||R===p.containerState.marker:v0t(R)){if(p.containerState.type||(p.containerState.type=H,i.enter(H,{_container:!0})),H==="listUnordered")return i.enter("listItemPrefix"),R===42||R===45?i.check(pK,f,A)(R):A(R);if(!p.interrupt||R===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),C(R)}return f(R)}function C(R){return v0t(R)&&++b<10?(i.consume(R),C):(!p.interrupt||b<2)&&(p.containerState.marker?R===p.containerState.marker:R===41||R===46)?(i.exit("listItemValue"),A(R)):f(R)}function A(R){return i.enter("listItemMarker"),i.consume(R),i.exit("listItemMarker"),p.containerState.marker=p.containerState.marker||R,i.check(gK,p.interrupt?f:N,i.attempt(ZRe,j,F))}function N(R){return p.containerState.initialBlankLine=!0,m++,j(R)}function F(R){return $f(R)?(i.enter("listItemPrefixWhitespace"),i.consume(R),i.exit("listItemPrefixWhitespace"),j):f(R)}function j(R){return p.containerState.size=m+p.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(R)}}function eje(i,a,f){const p=this;return p.containerState._closeFlow=void 0,i.check(gK,v,m);function v(E){return p.containerState.furtherBlankLines=p.containerState.furtherBlankLines||p.containerState.initialBlankLine,el(i,a,"listItemIndent",p.containerState.size+1)(E)}function m(E){return p.containerState.furtherBlankLines||!$f(E)?(p.containerState.furtherBlankLines=void 0,p.containerState.initialBlankLine=void 0,b(E)):(p.containerState.furtherBlankLines=void 0,p.containerState.initialBlankLine=void 0,i.attempt(JRe,a,b)(E))}function b(E){return p.containerState._closeFlow=!0,p.interrupt=void 0,el(i,i.attempt(gp,a,f),"linePrefix",p.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E)}}function nje(i,a,f){const p=this;return el(i,v,"listItemIndent",p.containerState.size+1);function v(m){const b=p.events[p.events.length-1];return b&&b[1].type==="listItemIndent"&&b[2].sliceSerialize(b[1],!0).length===p.containerState.size?a(m):f(m)}}function rje(i){i.exit(this.containerState.type)}function ije(i,a,f){const p=this;return el(i,v,"listItemPrefixWhitespace",p.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function v(m){const b=p.events[p.events.length-1];return!$f(m)&&b&&b[1].type==="listItemPrefixWhitespace"?a(m):f(m)}}const WFt={name:"setextUnderline",tokenize:aje,resolveTo:sje};function sje(i,a){let f=i.length,p,v,m;for(;f--;)if(i[f][0]==="enter"){if(i[f][1].type==="content"){p=f;break}i[f][1].type==="paragraph"&&(v=f)}else i[f][1].type==="content"&&i.splice(f,1),!m&&i[f][1].type==="definition"&&(m=f);const b={type:"setextHeading",start:Object.assign({},i[v][1].start),end:Object.assign({},i[i.length-1][1].end)};return i[v][1].type="setextHeadingText",m?(i.splice(v,0,["enter",b,a]),i.splice(m+1,0,["exit",i[p][1],a]),i[p][1].end=Object.assign({},i[m][1].end)):i[p][1]=b,i.push(["exit",b,a]),i}function aje(i,a,f){const p=this;let v=p.events.length,m,b;for(;v--;)if(p.events[v][1].type!=="lineEnding"&&p.events[v][1].type!=="linePrefix"&&p.events[v][1].type!=="content"){b=p.events[v][1].type==="paragraph";break}return E;function E(N){return!p.parser.lazy[p.now().line]&&(p.interrupt||b)?(i.enter("setextHeadingLine"),i.enter("setextHeadingLineSequence"),m=N,C(N)):f(N)}function C(N){return N===m?(i.consume(N),C):(i.exit("setextHeadingLineSequence"),el(i,A,"lineSuffix")(N))}function A(N){return N===null||Ya(N)?(i.exit("setextHeadingLine"),a(N)):f(N)}}const oje={tokenize:cje};function cje(i){const a=this,f=i.attempt(gK,p,i.attempt(this.parser.constructs.flowInitial,v,el(i,i.attempt(this.parser.constructs.flow,v,i.attempt(pRe,v)),"linePrefix")));return f;function p(m){if(m===null){i.consume(m);return}return i.enter("lineEndingBlank"),i.consume(m),i.exit("lineEndingBlank"),a.currentConstruct=void 0,f}function v(m){if(m===null){i.consume(m);return}return i.enter("lineEnding"),i.consume(m),i.exit("lineEnding"),a.currentConstruct=void 0,f}}const uje={resolveAll:YFt()},lje=KFt("string"),hje=KFt("text");function KFt(i){return{tokenize:a,resolveAll:YFt(i==="text"?fje:void 0)};function a(f){const p=this,v=this.parser.constructs[i],m=f.attempt(v,b,E);return b;function b(N){return A(N)?m(N):E(N)}function E(N){if(N===null){f.consume(N);return}return f.enter("data"),f.consume(N),C}function C(N){return A(N)?(f.exit("data"),m(N)):(f.consume(N),C)}function A(N){if(N===null)return!0;const F=v[N];let j=-1;if(F)for(;++j<F.length;){const R=F[j];if(!R.previous||R.previous.call(p,p.previous))return!0}return!1}}}function YFt(i){return a;function a(f,p){let v=-1,m;for(;++v<=f.length;)m===void 0?f[v]&&f[v][1].type==="data"&&(m=v,v++):(!f[v]||f[v][1].type!=="data")&&(v!==m+2&&(f[m][1].end=f[v-1][1].end,f.splice(m+2,v-m-2),v=m+2),m=void 0);return i?i(f,p):f}}function fje(i,a){let f=0;for(;++f<=i.length;)if((f===i.length||i[f][1].type==="lineEnding")&&i[f-1][1].type==="data"){const p=i[f-1][1],v=a.sliceStream(p);let m=v.length,b=-1,E=0,C;for(;m--;){const A=v[m];if(typeof A=="string"){for(b=A.length;A.charCodeAt(b-1)===32;)E++,b--;if(b)break;b=-1}else if(A===-2)C=!0,E++;else if(A!==-1){m++;break}}if(E){const A={type:f===i.length||C||E<2?"lineSuffix":"hardBreakTrailing",start:{line:p.end.line,column:p.end.column-E,offset:p.end.offset-E,_index:p.start._index+m,_bufferIndex:m?b:p.start._bufferIndex+b},end:Object.assign({},p.end)};p.end=Object.assign({},A.start),p.start.offset===p.end.offset?Object.assign(p,A):(i.splice(f,0,["enter",A,a],["exit",A,a]),f+=2)}f++}return i}function dje(i,a,f){let p=Object.assign(f?Object.assign({},f):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const v={},m=[];let b=[],E=[];const C={consume:it,enter:ht,exit:Tt,attempt:ut(yt),check:ut(vt),interrupt:ut(vt,{interrupt:!0})},A={previous:null,code:null,containerState:{},events:[],parser:i,sliceStream:R,sliceSerialize:j,now:H,defineSkip:Y,write:F};let N=a.tokenize.call(A,C);return a.resolveAll&&m.push(a),A;function F(gt){return b=nv(b,gt),rt(),b[b.length-1]!==null?[]:(xt(a,0),A.events=m0t(m,A.events,A),A.events)}function j(gt,pt){return pje(R(gt),pt)}function R(gt){return gje(b,gt)}function H(){return Object.assign({},p)}function Y(gt){v[gt.line]=gt.column,Et()}function rt(){let gt;for(;p._index<b.length;){const pt=b[p._index];if(typeof pt=="string")for(gt=p._index,p._bufferIndex<0&&(p._bufferIndex=0);p._index===gt&&p._bufferIndex<pt.length;)J(pt.charCodeAt(p._bufferIndex));else J(pt)}}function J(gt){N=N(gt)}function it(gt){Ya(gt)?(p.line++,p.column=1,p.offset+=gt===-3?2:1,Et()):gt!==-1&&(p.column++,p.offset++),p._bufferIndex<0?p._index++:(p._bufferIndex++,p._bufferIndex===b[p._index].length&&(p._bufferIndex=-1,p._index++)),A.previous=gt}function ht(gt,pt){const Ct=pt||{};return Ct.type=gt,Ct.start=H(),A.events.push(["enter",Ct,A]),E.push(Ct),Ct}function Tt(gt){const pt=E.pop();return pt.end=H(),A.events.push(["exit",pt,A]),pt}function yt(gt,pt){xt(gt,pt.from)}function vt(gt,pt){pt.restore()}function ut(gt,pt){return Ct;function Ct(nt,Nt,dt){let Ft,X,Bt,Rt;return Array.isArray(nt)?Ot(nt):"tokenize"in nt?Ot([nt]):mt(nt);function mt(xe){return Kn;function Kn(Se){const ee=Se!==null&&xe[Se],_e=Se!==null&&xe.null,qe=[...Array.isArray(ee)?ee:ee?[ee]:[],...Array.isArray(_e)?_e:_e?[_e]:[]];return Ot(qe)(Se)}}function Ot(xe){return Ft=xe,X=0,xe.length===0?dt:Gt(xe[X])}function Gt(xe){return Kn;function Kn(Se){return Rt=st(),Bt=xe,xe.partial||(A.currentConstruct=xe),xe.name&&A.parser.constructs.disable.null.includes(xe.name)?Cn():xe.tokenize.call(pt?Object.assign(Object.create(A),pt):A,C,Ve,Cn)(Se)}}function Ve(xe){return gt(Bt,Rt),Nt}function Cn(xe){return Rt.restore(),++X<Ft.length?Gt(Ft[X]):dt}}}function xt(gt,pt){gt.resolveAll&&!m.includes(gt)&&m.push(gt),gt.resolve&&v3(A.events,pt,A.events.length-pt,gt.resolve(A.events.slice(pt),A)),gt.resolveTo&&(A.events=gt.resolveTo(A.events,A))}function st(){const gt=H(),pt=A.previous,Ct=A.currentConstruct,nt=A.events.length,Nt=Array.from(E);return{restore:dt,from:nt};function dt(){p=gt,A.previous=pt,A.currentConstruct=Ct,A.events.length=nt,E=Nt,Et()}}function Et(){p.line in v&&p.column<2&&(p.column=v[p.line],p.offset+=v[p.line]-1)}}function gje(i,a){const f=a.start._index,p=a.start._bufferIndex,v=a.end._index,m=a.end._bufferIndex;let b;return f===v?b=[i[f].slice(p,m)]:(b=i.slice(f,v),p>-1&&(b[0]=b[0].slice(p)),m>0&&b.push(i[v].slice(0,m))),b}function pje(i,a){let f=-1;const p=[];let v;for(;++f<i.length;){const m=i[f];let b;if(typeof m=="string")b=m;else switch(m){case-5:{b="\r";break}case-4:{b=`
+`;break}case-3:{b=`\r
+`;break}case-2:{b=a?" ":" ";break}case-1:{if(!a&&v)continue;b=" ";break}default:b=String.fromCharCode(m)}v=m===-2,p.push(b)}return p.join("")}const bje={[42]:gp,[43]:gp,[45]:gp,[48]:gp,[49]:gp,[50]:gp,[51]:gp,[52]:gp,[53]:gp,[54]:gp,[55]:gp,[56]:gp,[57]:gp,[62]:BFt},vje={[91]:yRe},wje={[-2]:k0t,[-1]:k0t,[32]:k0t},mje=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:vje,disable:{null:[]},document:bje,flow:{[35]:CRe,[42]:pK,[45]:[WFt,pK],[60]:MRe,[61]:WFt,[95]:pK,[96]:zFt,[126]:zFt},flowInitial:wje,insideSpan:{null:[y0t,uje]},string:{[38]:$Ft,[92]:RFt},text:{[-5]:T0t,[-4]:T0t,[-3]:T0t,[33]:URe,[38]:$Ft,[42]:y0t,[60]:[ZBe,NRe],[91]:KRe,[92]:[TRe,RFt],[93]:E0t,[95]:y0t,[96]:lRe}},Symbol.toStringTag,{value:"Module"}));function yje(i={}){const a=BBe([mje].concat(i.extensions||[])),f={defined:[],lazy:{},constructs:a,content:p(GBe),document:p(WBe),flow:p(oje),string:p(lje),text:p(hje)};return f;function p(v){return m;function m(b){return dje(f,v,b)}}}const XFt=/[\0\t\n\r]/g;function xje(){let i=1,a="",f=!0,p;return v;function v(m,b,E){const C=[];let A,N,F,j,R;for(m=a+m.toString(b),F=0,a="",f&&(m.charCodeAt(0)===65279&&F++,f=void 0);F<m.length;){if(XFt.lastIndex=F,A=XFt.exec(m),j=A&&A.index!==void 0?A.index:m.length,R=m.charCodeAt(j),!A){a=m.slice(F);break}if(R===10&&F===j&&p)C.push(-3),p=void 0;else switch(p&&(C.push(-5),p=void 0),F<j&&(C.push(m.slice(F,j)),i+=j-F),R){case 0:{C.push(65533),i++;break}case 9:{for(N=Math.ceil(i/4)*4,C.push(-2);i++<N;)C.push(-1);break}case 10:{C.push(-4),i=1;break}default:p=!0,i=1}F=j+1}return E&&(p&&C.push(-5),a&&C.push(a),C.push(null)),C}}function kje(i){for(;!qFt(i););return i}function QFt(i,a){const f=Number.parseInt(i,a);return f<9||f===11||f>13&&f<32||f>126&&f<160||f>55295&&f<57344||f>64975&&f<65008||(f&65535)===65535||(f&65535)===65534||f>1114111?"�":String.fromCharCode(f)}const Eje=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Tje(i){return i.replace(Eje,_je)}function _je(i,a,f){if(a)return a;if(f.charCodeAt(0)===35){const v=f.charCodeAt(1),m=v===120||v===88;return QFt(f.slice(m?2:1),m?16:10)}return x0t(f)||i}function bK(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?ZFt(i.position):"start"in i||"end"in i?ZFt(i):"line"in i||"column"in i?_0t(i):""}function _0t(i){return JFt(i&&i.line)+":"+JFt(i&&i.column)}function ZFt(i){return _0t(i&&i.start)+"-"+_0t(i&&i.end)}function JFt(i){return i&&typeof i=="number"?i:1}const tBt={}.hasOwnProperty,eBt=function(i,a,f){return typeof a!="string"&&(f=a,a=void 0),Cje(f)(kje(yje(f).document().write(xje()(i,a,!0))))};function Cje(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:E($t),autolinkProtocol:gt,autolinkEmail:gt,atxHeading:E(se),blockQuote:E(qe),characterEscape:gt,characterReference:gt,codeFenced:E(ce),codeFencedFenceInfo:C,codeFencedFenceMeta:C,codeIndented:E(ce,C),codeText:E(Ce,C),codeTextData:gt,data:gt,codeFlowValue:gt,definition:E(he),definitionDestinationString:C,definitionLabelString:C,definitionTitleString:C,emphasis:E(Re),hardBreakEscape:E(Pe),hardBreakTrailing:E(Pe),htmlFlow:E(Qt,C),htmlFlowData:gt,htmlText:E(Qt,C),htmlTextData:gt,image:E(vr),label:C,link:E($t),listItem:E(le),listItemValue:H,listOrdered:E(ur,R),listUnordered:E(ur),paragraph:E(rr),reference:Cn,referenceString:C,resourceDestinationString:C,resourceTitleString:C,setextHeading:E(se),strong:E(ar),thematicBreak:E(Zn)},exit:{atxHeading:N(),atxHeadingSequence:ut,autolink:N(),autolinkEmail:_e,autolinkProtocol:ee,blockQuote:N(),characterEscapeValue:pt,characterReferenceMarkerHexadecimal:Kn,characterReferenceMarkerNumeric:Kn,characterReferenceValue:Se,codeFenced:N(it),codeFencedFence:J,codeFencedFenceInfo:Y,codeFencedFenceMeta:rt,codeFlowValue:pt,codeIndented:N(ht),codeText:N(Ft),codeTextData:pt,data:pt,definition:N(),definitionDestinationString:vt,definitionLabelString:Tt,definitionTitleString:yt,emphasis:N(),hardBreakEscape:N(nt),hardBreakTrailing:N(nt),htmlFlow:N(Nt),htmlFlowData:pt,htmlText:N(dt),htmlTextData:pt,image:N(Bt),label:mt,labelText:Rt,lineEnding:Ct,link:N(X),listItem:N(),listOrdered:N(),listUnordered:N(),paragraph:N(),referenceString:xe,resourceDestinationString:Ot,resourceTitleString:Gt,resource:Ve,setextHeading:N(Et),setextHeadingLineSequence:st,setextHeadingText:xt,strong:N(),thematicBreak:N()}};nBt(a,(i||{}).mdastExtensions||[]);const f={};return p;function p(dn){let kn={type:"root",children:[]};const _r={stack:[kn],tokenStack:[],config:a,enter:A,exit:F,buffer:C,resume:j,setData:m,getData:b},Rr=[];let os=-1;for(;++os<dn.length;)if(dn[os][1].type==="listOrdered"||dn[os][1].type==="listUnordered")if(dn[os][0]==="enter")Rr.push(os);else{const As=Rr.pop();os=v(dn,As,os)}for(os=-1;++os<dn.length;){const As=a[dn[os][0]];tBt.call(As,dn[os][1].type)&&As[dn[os][1].type].call(Object.assign({sliceSerialize:dn[os][2].sliceSerialize},_r),dn[os][1])}if(_r.tokenStack.length>0){const As=_r.tokenStack[_r.tokenStack.length-1];(As[1]||rBt).call(_r,void 0,As[0])}for(kn.position={start:hk(dn.length>0?dn[0][1].start:{line:1,column:1,offset:0}),end:hk(dn.length>0?dn[dn.length-2][1].end:{line:1,column:1,offset:0})},os=-1;++os<a.transforms.length;)kn=a.transforms[os](kn)||kn;return kn}function v(dn,kn,_r){let Rr=kn-1,os=-1,As=!1,ma,Zr,Hi,Gn;for(;++Rr<=_r;){const Jn=dn[Rr];if(Jn[1].type==="listUnordered"||Jn[1].type==="listOrdered"||Jn[1].type==="blockQuote"?(Jn[0]==="enter"?os++:os--,Gn=void 0):Jn[1].type==="lineEndingBlank"?Jn[0]==="enter"&&(ma&&!Gn&&!os&&!Hi&&(Hi=Rr),Gn=void 0):Jn[1].type==="linePrefix"||Jn[1].type==="listItemValue"||Jn[1].type==="listItemMarker"||Jn[1].type==="listItemPrefix"||Jn[1].type==="listItemPrefixWhitespace"||(Gn=void 0),!os&&Jn[0]==="enter"&&Jn[1].type==="listItemPrefix"||os===-1&&Jn[0]==="exit"&&(Jn[1].type==="listUnordered"||Jn[1].type==="listOrdered")){if(ma){let Or=Rr;for(Zr=void 0;Or--;){const Fn=dn[Or];if(Fn[1].type==="lineEnding"||Fn[1].type==="lineEndingBlank"){if(Fn[0]==="exit")continue;Zr&&(dn[Zr][1].type="lineEndingBlank",As=!0),Fn[1].type="lineEnding",Zr=Or}else if(!(Fn[1].type==="linePrefix"||Fn[1].type==="blockQuotePrefix"||Fn[1].type==="blockQuotePrefixWhitespace"||Fn[1].type==="blockQuoteMarker"||Fn[1].type==="listItemIndent"))break}Hi&&(!Zr||Hi<Zr)&&(ma._spread=!0),ma.end=Object.assign({},Zr?dn[Zr][1].start:Jn[1].end),dn.splice(Zr||Rr,0,["exit",ma,Jn[2]]),Rr++,_r++}Jn[1].type==="listItemPrefix"&&(ma={type:"listItem",_spread:!1,start:Object.assign({},Jn[1].start)},dn.splice(Rr,0,["enter",ma,Jn[2]]),Rr++,_r++,Hi=void 0,Gn=!0)}}return dn[kn][1]._spread=As,_r}function m(dn,kn){f[dn]=kn}function b(dn){return f[dn]}function E(dn,kn){return _r;function _r(Rr){A.call(this,dn(Rr),Rr),kn&&kn.call(this,Rr)}}function C(){this.stack.push({type:"fragment",children:[]})}function A(dn,kn,_r){return this.stack[this.stack.length-1].children.push(dn),this.stack.push(dn),this.tokenStack.push([kn,_r]),dn.position={start:hk(kn.start)},dn}function N(dn){return kn;function kn(_r){dn&&dn.call(this,_r),F.call(this,_r)}}function F(dn,kn){const _r=this.stack.pop(),Rr=this.tokenStack.pop();if(Rr)Rr[0].type!==dn.type&&(kn?kn.call(this,dn,Rr[0]):(Rr[1]||rBt).call(this,dn,Rr[0]));else throw new Error("Cannot close `"+dn.type+"` ("+bK({start:dn.start,end:dn.end})+"): it’s not open");return _r.position.end=hk(dn.end),_r}function j(){return FBe(this.stack.pop())}function R(){m("expectingFirstListItemValue",!0)}function H(dn){if(b("expectingFirstListItemValue")){const kn=this.stack[this.stack.length-2];kn.start=Number.parseInt(this.sliceSerialize(dn),10),m("expectingFirstListItemValue")}}function Y(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.lang=dn}function rt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.meta=dn}function J(){b("flowCodeInside")||(this.buffer(),m("flowCodeInside",!0))}function it(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.value=dn.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m("flowCodeInside")}function ht(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.value=dn.replace(/(\r?\n|\r)$/g,"")}function Tt(dn){const kn=this.resume(),_r=this.stack[this.stack.length-1];_r.label=kn,_r.identifier=iL(this.sliceSerialize(dn)).toLowerCase()}function yt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.title=dn}function vt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.url=dn}function ut(dn){const kn=this.stack[this.stack.length-1];if(!kn.depth){const _r=this.sliceSerialize(dn).length;kn.depth=_r}}function xt(){m("setextHeadingSlurpLineEnding",!0)}function st(dn){const kn=this.stack[this.stack.length-1];kn.depth=this.sliceSerialize(dn).charCodeAt(0)===61?1:2}function Et(){m("setextHeadingSlurpLineEnding")}function gt(dn){const kn=this.stack[this.stack.length-1];let _r=kn.children[kn.children.length-1];(!_r||_r.type!=="text")&&(_r=Qn(),_r.position={start:hk(dn.start)},kn.children.push(_r)),this.stack.push(_r)}function pt(dn){const kn=this.stack.pop();kn.value+=this.sliceSerialize(dn),kn.position.end=hk(dn.end)}function Ct(dn){const kn=this.stack[this.stack.length-1];if(b("atHardBreak")){const _r=kn.children[kn.children.length-1];_r.position.end=hk(dn.end),m("atHardBreak");return}!b("setextHeadingSlurpLineEnding")&&a.canContainEols.includes(kn.type)&&(gt.call(this,dn),pt.call(this,dn))}function nt(){m("atHardBreak",!0)}function Nt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.value=dn}function dt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.value=dn}function Ft(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.value=dn}function X(){const dn=this.stack[this.stack.length-1];if(b("inReference")){const kn=b("referenceType")||"shortcut";dn.type+="Reference",dn.referenceType=kn,delete dn.url,delete dn.title}else delete dn.identifier,delete dn.label;m("referenceType")}function Bt(){const dn=this.stack[this.stack.length-1];if(b("inReference")){const kn=b("referenceType")||"shortcut";dn.type+="Reference",dn.referenceType=kn,delete dn.url,delete dn.title}else delete dn.identifier,delete dn.label;m("referenceType")}function Rt(dn){const kn=this.sliceSerialize(dn),_r=this.stack[this.stack.length-2];_r.label=Tje(kn),_r.identifier=iL(kn).toLowerCase()}function mt(){const dn=this.stack[this.stack.length-1],kn=this.resume(),_r=this.stack[this.stack.length-1];if(m("inReference",!0),_r.type==="link"){const Rr=dn.children;_r.children=Rr}else _r.alt=kn}function Ot(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.url=dn}function Gt(){const dn=this.resume(),kn=this.stack[this.stack.length-1];kn.title=dn}function Ve(){m("inReference")}function Cn(){m("referenceType","collapsed")}function xe(dn){const kn=this.resume(),_r=this.stack[this.stack.length-1];_r.label=kn,_r.identifier=iL(this.sliceSerialize(dn)).toLowerCase(),m("referenceType","full")}function Kn(dn){m("characterReferenceType",dn.type)}function Se(dn){const kn=this.sliceSerialize(dn),_r=b("characterReferenceType");let Rr;_r?(Rr=QFt(kn,_r==="characterReferenceMarkerNumeric"?10:16),m("characterReferenceType")):Rr=x0t(kn);const os=this.stack.pop();os.value+=Rr,os.position.end=hk(dn.end)}function ee(dn){pt.call(this,dn);const kn=this.stack[this.stack.length-1];kn.url=this.sliceSerialize(dn)}function _e(dn){pt.call(this,dn);const kn=this.stack[this.stack.length-1];kn.url="mailto:"+this.sliceSerialize(dn)}function qe(){return{type:"blockquote",children:[]}}function ce(){return{type:"code",lang:null,meta:null,value:""}}function Ce(){return{type:"inlineCode",value:""}}function he(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Re(){return{type:"emphasis",children:[]}}function se(){return{type:"heading",depth:void 0,children:[]}}function Pe(){return{type:"break"}}function Qt(){return{type:"html",value:""}}function vr(){return{type:"image",title:null,url:"",alt:null}}function $t(){return{type:"link",title:null,url:"",children:[]}}function ur(dn){return{type:"list",ordered:dn.type==="listOrdered",start:null,spread:dn._spread,children:[]}}function le(dn){return{type:"listItem",spread:dn._spread,checked:null,children:[]}}function rr(){return{type:"paragraph",children:[]}}function ar(){return{type:"strong",children:[]}}function Qn(){return{type:"text",value:""}}function Zn(){return{type:"thematicBreak"}}}function hk(i){return{line:i.line,column:i.column,offset:i.offset}}function nBt(i,a){let f=-1;for(;++f<a.length;){const p=a[f];Array.isArray(p)?nBt(i,p):Sje(i,p)}}function Sje(i,a){let f;for(f in a)if(tBt.call(a,f)){if(f==="canContainEols"){const p=a[f];p&&i[f].push(...p)}else if(f==="transforms"){const p=a[f];p&&i[f].push(...p)}else if(f==="enter"||f==="exit"){const p=a[f];p&&Object.assign(i[f],p)}}}function rBt(i,a){throw i?new Error("Cannot close `"+i.type+"` ("+bK({start:i.start,end:i.end})+"): a different token (`"+a.type+"`, "+bK({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+bK({start:a.start,end:a.end})+") is still open")}function Aje(i){const a=i.replace(/\n{2,}/g,`
+`);return wA(a)}function Lje(i){const a=Aje(i),{children:f}=eBt(a),p=[[]];let v=0;function m(b,E="normal"){b.type==="text"?b.value.split(`
+`).forEach((A,N)=>{N!==0&&(v++,p.push([])),A.split(" ").forEach(F=>{F&&p[v].push({content:F,type:E})})}):(b.type==="strong"||b.type==="emphasis")&&b.children.forEach(C=>{m(C,b.type)})}return f.forEach(b=>{b.type==="paragraph"&&b.children.forEach(E=>{m(E)})}),p}function Mje(i){const{children:a}=eBt(i);function f(p){return p.type==="text"?p.value.replace(/\n/g,"<br/>"):p.type==="strong"?`<strong>${p.children.map(f).join("")}</strong>`:p.type==="emphasis"?`<em>${p.children.map(f).join("")}</em>`:p.type==="paragraph"?`<p>${p.children.map(f).join("")}</p>`:`Unsupported markdown: ${p.type}`}return a.map(f).join("")}function Dje(i){return Intl.Segmenter?[...new Intl.Segmenter().segment(i)].map(a=>a.segment):[...i]}function Ije(i,a){const f=Dje(a.content);return iBt(i,[],f,a.type)}function iBt(i,a,f,p){if(f.length===0)return[{content:a.join(""),type:p},{content:"",type:p}];const[v,...m]=f,b=[...a,v];return i([{content:b.join(""),type:p}])?iBt(i,b,m,p):(a.length===0&&v&&(a.push(v),f.shift()),[{content:a.join(""),type:p},{content:f.join(""),type:p}])}function Oje(i,a){if(i.some(({content:f})=>f.includes(`
+`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return C0t(i,a)}function C0t(i,a,f=[],p=[]){if(i.length===0)return p.length>0&&f.push(p),f.length>0?f:[];let v="";i[0].content===" "&&(v=" ",i.shift());const m=i.shift()??{content:" ",type:"normal"},b=[...p];if(v!==""&&b.push({content:v,type:"normal"}),b.push(m),a(b))return C0t(i,a,f,b);if(p.length>0)f.push(p),i.unshift(m);else if(m.content){const[E,C]=Ije(a,m);f.push([E]),C.content&&i.unshift(C)}return C0t(i,a,f)}function Pje(i,a){a&&i.attr("style",a)}function Nje(i,a,f,p,v=!1){const m=i.append("foreignObject"),b=m.append("xhtml:div"),E=a.label,C=a.isNode?"nodeLabel":"edgeLabel";b.html(`
+ <span class="${C} ${p}" `+(a.labelStyle?'style="'+a.labelStyle+'"':"")+">"+E+"</span>"),Pje(b,a.labelStyle),b.style("display","table-cell"),b.style("white-space","nowrap"),b.style("max-width",f+"px"),b.attr("xmlns","http://www.w3.org/1999/xhtml"),v&&b.attr("class","labelBkg");let A=b.node().getBoundingClientRect();return A.width===f&&(b.style("display","table"),b.style("white-space","break-spaces"),b.style("width",f+"px"),A=b.node().getBoundingClientRect()),m.style("width",A.width),m.style("height",A.height),m.node()}function sBt(i,a,f){return i.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",a*f-.1+"em").attr("dy",f+"em")}function Fje(i,a,f){const p=i.append("text"),v=sBt(p,1,a);aBt(v,f);const m=v.node().getComputedTextLength();return p.remove(),m}function Bje(i,a,f,p=!1){const m=a.append("g"),b=m.insert("rect").attr("class","background"),E=m.append("text").attr("y","-10.1");let C=0;for(const A of f){const N=j=>Fje(m,1.1,j)<=i,F=N(A)?[A]:Oje(A,N);for(const j of F){const R=sBt(E,C,1.1);aBt(R,j),C++}}if(p){const A=E.node().getBBox(),N=2;return b.attr("x",-N).attr("y",-N).attr("width",A.width+2*N).attr("height",A.height+2*N),m.node()}else return E.node()}function aBt(i,a){i.text(""),a.forEach((f,p)=>{const v=i.append("tspan").attr("font-style",f.type==="emphasis"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",f.type==="strong"?"bold":"normal");p===0?v.text(f.content):v.text(" "+f.content)})}const vK=(i,a="",{style:f="",isTitle:p=!1,classes:v="",useHtmlLabels:m=!0,isNode:b=!0,width:E=200,addSvgBackground:C=!1}={})=>{if(Vt.info("createText",a,f,p,v,m,b,C),m){const A=Mje(a),N={isNode:b,label:eN(A).replace(/fa[blrs]?:fa-[\w-]+/g,j=>`<i class='${j.replace(":"," ")}'></i>`),labelStyle:f.replace("fill:","color:")};return Nje(i,N,E,v,C)}else{const A=Lje(a);return Bje(E,i,A,C)}},jd=async(i,a,f,p)=>{let v;const m=a.useHtmlLabels||l1(Me().flowchart.htmlLabels);f?v=f:v="node default";const b=i.insert("g").attr("class",v).attr("id",a.domId||a.id),E=b.insert("g").attr("class","label").attr("style",a.labelStyle);let C;a.labelText===void 0?C="":C=typeof a.labelText=="string"?a.labelText:a.labelText[0];const A=E.node();let N;a.labelType==="markdown"?N=vK(E,cg(eN(C),Me()),{useHtmlLabels:m,width:a.width||Me().flowchart.wrappingWidth,classes:"markdown-node-label"}):N=A.appendChild(dp(cg(eN(C),Me()),a.labelStyle,!1,p));let F=N.getBBox();const j=a.padding/2;if(l1(Me().flowchart.htmlLabels)){const R=N.children[0],H=wr(N),Y=R.getElementsByTagName("img");if(Y){const rt=C.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Y].map(J=>new Promise(it=>{function ht(){if(J.style.display="flex",J.style.flexDirection="column",rt){const Tt=Me().fontSize?Me().fontSize:window.getComputedStyle(document.body).fontSize,yt=5;J.style.width=parseInt(Tt,10)*yt+"px"}else J.style.width="100%";it(J)}setTimeout(()=>{J.complete&&ht()}),J.addEventListener("error",ht),J.addEventListener("load",ht)})))}F=R.getBoundingClientRect(),H.attr("width",F.width),H.attr("height",F.height)}return m?E.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"):E.attr("transform","translate(0, "+-F.height/2+")"),a.centerLabel&&E.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"),E.insert("rect",":first-child"),{shapeSvg:b,bbox:F,halfPadding:j,label:E}},af=(i,a)=>{const f=a.node().getBBox();i.width=f.width,i.height=f.height};function L5(i,a,f,p){return i.insert("polygon",":first-child").attr("points",p.map(function(v){return v.x+","+v.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-a/2+","+f/2+")")}let rc={},om={},oBt={};const Rje=()=>{om={},oBt={},rc={}},wK=(i,a)=>(Vt.trace("In isDecendant",a," ",i," = ",om[a].includes(i)),!!om[a].includes(i)),jje=(i,a)=>(Vt.info("Decendants of ",a," is ",om[a]),Vt.info("Edge is ",i),i.v===a||i.w===a?!1:om[a]?om[a].includes(i.v)||wK(i.v,a)||wK(i.w,a)||om[a].includes(i.w):(Vt.debug("Tilt, ",a,",not in decendants"),!1)),cBt=(i,a,f,p)=>{Vt.warn("Copying children of ",i,"root",p,"data",a.node(i),p);const v=a.children(i)||[];i!==p&&v.push(i),Vt.warn("Copying (nodes) clusterId",i,"nodes",v),v.forEach(m=>{if(a.children(m).length>0)cBt(m,a,f,p);else{const b=a.node(m);Vt.info("cp ",m," to ",p," with parent ",i),f.setNode(m,b),p!==a.parent(m)&&(Vt.warn("Setting parent",m,a.parent(m)),f.setParent(m,a.parent(m))),i!==p&&m!==i?(Vt.debug("Setting parent",m,i),f.setParent(m,i)):(Vt.info("In copy ",i,"root",p,"data",a.node(i),p),Vt.debug("Not Setting parent for node=",m,"cluster!==rootId",i!==p,"node!==clusterId",m!==i));const E=a.edges(m);Vt.debug("Copying Edges",E),E.forEach(C=>{Vt.info("Edge",C);const A=a.edge(C.v,C.w,C.name);Vt.info("Edge data",A,p);try{jje(C,p)?(Vt.info("Copying as ",C.v,C.w,A,C.name),f.setEdge(C.v,C.w,A,C.name),Vt.info("newGraph edges ",f.edges(),f.edge(f.edges()[0]))):Vt.info("Skipping copy of edge ",C.v,"-->",C.w," rootId: ",p," clusterId:",i)}catch(N){Vt.error(N)}})}Vt.debug("Removing node",m),a.removeNode(m)})},uBt=(i,a)=>{const f=a.children(i);let p=[...f];for(const v of f)oBt[v]=i,p=[...p,...uBt(v,a)];return p},mN=(i,a)=>{Vt.trace("Searching",i);const f=a.children(i);if(Vt.trace("Searching children of id ",i,f),f.length<1)return Vt.trace("This is a valid node",i),i;for(const p of f){const v=mN(p,a);if(v)return Vt.trace("Found replacement for",i," => ",v),v}},mK=i=>!rc[i]||!rc[i].externalConnections?i:rc[i]?rc[i].id:i,$je=(i,a)=>{if(!i||a>10){Vt.debug("Opting out, no graph ");return}else Vt.debug("Opting in, graph ");i.nodes().forEach(function(f){i.children(f).length>0&&(Vt.warn("Cluster identified",f," Replacement id in edges: ",mN(f,i)),om[f]=uBt(f,i),rc[f]={id:mN(f,i),clusterData:i.node(f)})}),i.nodes().forEach(function(f){const p=i.children(f),v=i.edges();p.length>0?(Vt.debug("Cluster identified",f,om),v.forEach(m=>{if(m.v!==f&&m.w!==f){const b=wK(m.v,f),E=wK(m.w,f);b^E&&(Vt.warn("Edge: ",m," leaves cluster ",f),Vt.warn("Decendants of XXX ",f,": ",om[f]),rc[f].externalConnections=!0)}})):Vt.debug("Not a cluster ",f,om)}),i.edges().forEach(function(f){const p=i.edge(f);Vt.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(f)),Vt.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(i.edge(f)));let v=f.v,m=f.w;if(Vt.warn("Fix XXX",rc,"ids:",f.v,f.w,"Translating: ",rc[f.v]," --- ",rc[f.w]),rc[f.v]&&rc[f.w]&&rc[f.v]===rc[f.w]){Vt.warn("Fixing and trixing link to self - removing XXX",f.v,f.w,f.name),Vt.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),v=mK(f.v),m=mK(f.w),i.removeEdge(f.v,f.w,f.name);const b=f.w+"---"+f.v;i.setNode(b,{domId:b,id:b,labelStyle:"",labelText:p.label,padding:0,shape:"labelRect",style:""});const E=JSON.parse(JSON.stringify(p)),C=JSON.parse(JSON.stringify(p));E.label="",E.arrowTypeEnd="none",C.label="",E.fromCluster=f.v,C.toCluster=f.v,i.setEdge(v,b,E,f.name+"-cyclic-special"),i.setEdge(b,m,C,f.name+"-cyclic-special")}else(rc[f.v]||rc[f.w])&&(Vt.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),v=mK(f.v),m=mK(f.w),i.removeEdge(f.v,f.w,f.name),v!==f.v&&(p.fromCluster=f.v),m!==f.w&&(p.toCluster=f.w),Vt.warn("Fix Replacing with XXX",v,m,f.name),i.setEdge(v,m,p,f.name))}),Vt.warn("Adjusted Graph",A5(i)),lBt(i,0),Vt.trace(rc)},lBt=(i,a)=>{if(Vt.warn("extractor - ",a,A5(i),i.children("D")),a>10){Vt.error("Bailing out");return}let f=i.nodes(),p=!1;for(const v of f){const m=i.children(v);p=p||m.length>0}if(!p){Vt.debug("Done, no node has children",i.nodes());return}Vt.debug("Nodes = ",f,a);for(const v of f)if(Vt.debug("Extracting node",v,rc,rc[v]&&!rc[v].externalConnections,!i.parent(v),i.node(v),i.children("D")," Depth ",a),!rc[v])Vt.debug("Not a cluster",v,a);else if(!rc[v].externalConnections&&i.children(v)&&i.children(v).length>0){Vt.warn("Cluster without external connections, without a parent and with children",v,a);let b=i.graph().rankdir==="TB"?"LR":"TB";rc[v]&&rc[v].clusterData&&rc[v].clusterData.dir&&(b=rc[v].clusterData.dir,Vt.warn("Fixing dir",rc[v].clusterData.dir,b));const E=new d1({multigraph:!0,compound:!0}).setGraph({rankdir:b,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Vt.warn("Old graph before copy",A5(i)),cBt(v,i,E,v),i.setNode(v,{clusterNode:!0,id:v,clusterData:rc[v].clusterData,labelText:rc[v].labelText,graph:E}),Vt.warn("New graph after copy node: (",v,")",A5(E)),Vt.debug("Old graph after copy",A5(i))}else Vt.warn("Cluster ** ",v," **not meeting the criteria !externalConnections:",!rc[v].externalConnections," no parent: ",!i.parent(v)," children ",i.children(v)&&i.children(v).length>0,i.children("D"),a),Vt.debug(rc);f=i.nodes(),Vt.warn("New list of nodes",f);for(const v of f){const m=i.node(v);Vt.warn(" Now next level",v,m),m.clusterNode&&lBt(m.graph,a+1)}},hBt=(i,a)=>{if(a.length===0)return[];let f=Object.assign(a);return a.forEach(p=>{const v=i.children(p),m=hBt(i,v);f=[...f,...m]}),f},zje=i=>hBt(i,i.children());function qje(i,a){return i.intersect(a)}function fBt(i,a,f,p){var v=i.x,m=i.y,b=v-p.x,E=m-p.y,C=Math.sqrt(a*a*E*E+f*f*b*b),A=Math.abs(a*f*b/C);p.x<v&&(A=-A);var N=Math.abs(a*f*E/C);return p.y<m&&(N=-N),{x:v+A,y:m+N}}function Hje(i,a,f){return fBt(i,a,a,f)}function Vje(i,a,f,p){var v,m,b,E,C,A,N,F,j,R,H,Y,rt,J,it;if(v=a.y-i.y,b=i.x-a.x,C=a.x*i.y-i.x*a.y,j=v*f.x+b*f.y+C,R=v*p.x+b*p.y+C,!(j!==0&&R!==0&&dBt(j,R))&&(m=p.y-f.y,E=f.x-p.x,A=p.x*f.y-f.x*p.y,N=m*i.x+E*i.y+A,F=m*a.x+E*a.y+A,!(N!==0&&F!==0&&dBt(N,F))&&(H=v*E-m*b,H!==0)))return Y=Math.abs(H/2),rt=b*A-E*C,J=rt<0?(rt-Y)/H:(rt+Y)/H,rt=m*C-v*A,it=rt<0?(rt-Y)/H:(rt+Y)/H,{x:J,y:it}}function dBt(i,a){return i*a>0}function Gje(i,a,f){var p=i.x,v=i.y,m=[],b=Number.POSITIVE_INFINITY,E=Number.POSITIVE_INFINITY;typeof a.forEach=="function"?a.forEach(function(H){b=Math.min(b,H.x),E=Math.min(E,H.y)}):(b=Math.min(b,a.x),E=Math.min(E,a.y));for(var C=p-i.width/2-b,A=v-i.height/2-E,N=0;N<a.length;N++){var F=a[N],j=a[N<a.length-1?N+1:0],R=Vje(i,f,{x:C+F.x,y:A+F.y},{x:C+j.x,y:A+j.y});R&&m.push(R)}return m.length?(m.length>1&&m.sort(function(H,Y){var rt=H.x-f.x,J=H.y-f.y,it=Math.sqrt(rt*rt+J*J),ht=Y.x-f.x,Tt=Y.y-f.y,yt=Math.sqrt(ht*ht+Tt*Tt);return it<yt?-1:it===yt?0:1}),m[0]):i}const yN=(i,a)=>{var f=i.x,p=i.y,v=a.x-f,m=a.y-p,b=i.width/2,E=i.height/2,C,A;return Math.abs(m)*b>Math.abs(v)*E?(m<0&&(E=-E),C=m===0?0:E*v/m,A=E):(v<0&&(b=-b),C=b,A=v===0?0:b*m/v),{x:f+C,y:p+A}},Ah={node:qje,circle:Hje,ellipse:fBt,polygon:Gje,rect:yN},Uje=async(i,a)=>{a.useHtmlLabels||Me().flowchart.htmlLabels||(a.centerLabel=!0);const{shapeSvg:p,bbox:v,halfPadding:m}=await jd(i,a,"node "+a.classes,!0);Vt.info("Classes = ",a.classes);const b=p.insert("rect",":first-child");return b.attr("rx",a.rx).attr("ry",a.ry).attr("x",-v.width/2-m).attr("y",-v.height/2-m).attr("width",v.width+a.padding).attr("height",v.height+a.padding),af(a,b),a.intersect=function(E){return Ah.rect(a,E)},p};let gBt=0;const Wje=function(i,a,f,p,v){const m=function(it){switch(it){case v.db.relationType.AGGREGATION:return"aggregation";case v.db.relationType.EXTENSION:return"extension";case v.db.relationType.COMPOSITION:return"composition";case v.db.relationType.DEPENDENCY:return"dependency";case v.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(it=>!Number.isNaN(it.y));const b=a.points,E=Z9().x(function(it){return it.x}).y(function(it){return it.y}).curve(MA),C=i.append("path").attr("d",E(b)).attr("id","edge"+gBt).attr("class","relation");let A="";p.arrowMarkerAbsolute&&(A=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,A=A.replace(/\(/g,"\\("),A=A.replace(/\)/g,"\\)")),f.relation.lineType==1&&C.attr("class","relation dashed-line"),f.relation.lineType==10&&C.attr("class","relation dotted-line"),f.relation.type1!=="none"&&C.attr("marker-start","url("+A+"#"+m(f.relation.type1)+"Start)"),f.relation.type2!=="none"&&C.attr("marker-end","url("+A+"#"+m(f.relation.type2)+"End)");let N,F;const j=a.points.length;let R=ho.calcLabelPosition(a.points);N=R.x,F=R.y;let H,Y,rt,J;if(j%2!==0&&j>1){let it=ho.calcCardinalityPosition(f.relation.type1!=="none",a.points,a.points[0]),ht=ho.calcCardinalityPosition(f.relation.type2!=="none",a.points,a.points[j-1]);Vt.debug("cardinality_1_point "+JSON.stringify(it)),Vt.debug("cardinality_2_point "+JSON.stringify(ht)),H=it.x,Y=it.y,rt=ht.x,J=ht.y}if(f.title!==void 0){const it=i.append("g").attr("class","classLabel"),ht=it.append("text").attr("class","label").attr("x",N).attr("y",F).attr("fill","red").attr("text-anchor","middle").text(f.title);window.label=ht;const Tt=ht.node().getBBox();it.insert("rect",":first-child").attr("class","box").attr("x",Tt.x-p.padding/2).attr("y",Tt.y-p.padding/2).attr("width",Tt.width+p.padding).attr("height",Tt.height+p.padding)}Vt.info("Rendering relation "+JSON.stringify(f)),f.relationTitle1!==void 0&&f.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",H).attr("y",Y).attr("fill","black").attr("font-size","6").text(f.relationTitle1),f.relationTitle2!==void 0&&f.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",rt).attr("y",J).attr("fill","black").attr("font-size","6").text(f.relationTitle2),gBt++},Kje=function(i,a,f,p){Vt.debug("Rendering class ",a,f);const v=a.id,m={id:v,label:a.id,width:0,height:0},b=i.append("g").attr("id",p.db.lookUpDomId(v)).attr("class","classGroup");let E;a.link?E=b.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",f.textHeight+f.padding).attr("x",0):E=b.append("text").attr("y",f.textHeight+f.padding).attr("x",0);let C=!0;a.annotations.forEach(function(yt){const vt=E.append("tspan").text("«"+yt+"»");C||vt.attr("dy",f.textHeight),C=!1});let A=pBt(a);const N=E.append("tspan").text(A).attr("class","title");C||N.attr("dy",f.textHeight);const F=E.node().getBBox().height,j=b.append("line").attr("x1",0).attr("y1",f.padding+F+f.dividerMargin/2).attr("y2",f.padding+F+f.dividerMargin/2),R=b.append("text").attr("x",f.padding).attr("y",F+f.dividerMargin+f.textHeight).attr("fill","white").attr("class","classText");C=!0,a.members.forEach(function(yt){bBt(R,yt,C,f),C=!1});const H=R.node().getBBox(),Y=b.append("line").attr("x1",0).attr("y1",f.padding+F+f.dividerMargin+H.height).attr("y2",f.padding+F+f.dividerMargin+H.height),rt=b.append("text").attr("x",f.padding).attr("y",F+2*f.dividerMargin+H.height+f.textHeight).attr("fill","white").attr("class","classText");C=!0,a.methods.forEach(function(yt){bBt(rt,yt,C,f),C=!1});const J=b.node().getBBox();var it=" ";a.cssClasses.length>0&&(it=it+a.cssClasses.join(" "));const Tt=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",J.width+2*f.padding).attr("height",J.height+f.padding+.5*f.dividerMargin).attr("class",it).node().getBBox().width;return E.node().childNodes.forEach(function(yt){yt.setAttribute("x",(Tt-yt.getBBox().width)/2)}),a.tooltip&&E.insert("title").text(a.tooltip),j.attr("x2",Tt),Y.attr("x2",Tt),m.width=Tt,m.height=J.height+f.padding+.5*f.dividerMargin,m},pBt=function(i){let a=i.id;return i.type&&(a+="<"+i.type+">"),a},Yje=function(i,a,f,p){Vt.debug("Rendering note ",a,f);const v=a.id,m={id:v,text:a.text,width:0,height:0},b=i.append("g").attr("id",v).attr("class","classGroup");let E=b.append("text").attr("y",f.textHeight+f.padding).attr("x",0);const C=JSON.parse(`"${a.text}"`).split(`
+`);C.forEach(function(j){Vt.debug(`Adding line: ${j}`),E.append("tspan").text(j).attr("class","title").attr("dy",f.textHeight)});const A=b.node().getBBox(),F=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",A.width+2*f.padding).attr("height",A.height+C.length*f.textHeight+f.padding+.5*f.dividerMargin).node().getBBox().width;return E.node().childNodes.forEach(function(j){j.setAttribute("x",(F-j.getBBox().width)/2)}),m.width=F,m.height=A.height+C.length*f.textHeight+f.padding+.5*f.dividerMargin,m},yK=function(i){let a="",f="",p="",v="",m=i.substring(0,1),b=i.substring(i.length-1,i.length);m.match(/[#+~-]/)&&(v=m);let E=/[\s\w)~]/;b.match(E)||(f=vBt(b));const C=v===""?0:1;let A=f===""?i.length:i.length-1;i=i.substring(C,A);const N=i.indexOf("("),F=i.indexOf(")");if(N>1&&F>N&&F<=i.length){let R=i.substring(0,N).trim();const H=i.substring(N+1,F);if(a=v+R+"("+HP(H.trim())+")",F<i.length){let Y=i.substring(F+1,F+2);f===""&&!Y.match(E)?(f=vBt(Y),p=i.substring(F+2).trim()):p=i.substring(F+1).trim(),p!==""&&(p.charAt(0)===":"&&(p=p.substring(1).trim()),p=" : "+HP(p),a+=p)}}else a=v+HP(i);return{displayText:a,cssStyle:f}},bBt=function(i,a,f,p){let v=yK(a);const m=i.append("tspan").attr("x",p.padding).text(v.displayText);v.cssStyle!==""&&m.attr("style",v.cssStyle),f||m.attr("dy",p.textHeight)},vBt=function(i){switch(i){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},S0t={getClassTitleString:pBt,drawClass:Kje,drawEdge:Wje,drawNote:Yje,parseMember:yK},wBt=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=v+m,E=[{x:b/2,y:0},{x:b,y:-b/2},{x:b/2,y:-b},{x:0,y:-b/2}];Vt.info("Question main (Circle)");const C=L5(f,b,b,E);return C.attr("style",a.style),af(a,C),a.intersect=function(A){return Vt.warn("Intersect called"),Ah.polygon(a,E,A)},f},Xje=(i,a)=>{const f=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),p=28,v=[{x:0,y:p/2},{x:p/2,y:0},{x:0,y:-p/2},{x:-p/2,y:0}];return f.insert("polygon",":first-child").attr("points",v.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 Ah.circle(a,14,b)},f},Qje=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=4,m=p.height+a.padding,b=m/v,E=p.width+2*b+a.padding,C=[{x:b,y:0},{x:E-b,y:0},{x:E,y:-m/2},{x:E-b,y:-m},{x:b,y:-m},{x:0,y:-m/2}],A=L5(f,E,m,C);return A.attr("style",a.style),af(a,A),a.intersect=function(N){return Ah.polygon(a,C,N)},f},Zje=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:-m/2,y:0},{x:v,y:0},{x:v,y:-m},{x:-m/2,y:-m},{x:0,y:-m/2}];return L5(f,v,m,b).attr("style",a.style),a.width=v+m,a.height=m,a.intersect=function(C){return Ah.polygon(a,b,C)},f},Jje=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:-2*m/6,y:0},{x:v-m/6,y:0},{x:v+2*m/6,y:-m},{x:m/6,y:-m}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},t$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:2*m/6,y:0},{x:v+m/6,y:0},{x:v-2*m/6,y:-m},{x:-m/6,y:-m}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},e$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:-2*m/6,y:0},{x:v+2*m/6,y:0},{x:v-m/6,y:-m},{x:m/6,y:-m}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},n$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:m/6,y:0},{x:v-m/6,y:0},{x:v+2*m/6,y:-m},{x:-2*m/6,y:-m}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},r$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:0,y:0},{x:v+m/2,y:0},{x:v,y:-m/2},{x:v+m/2,y:-m},{x:0,y:-m}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},i$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=v/2,b=m/(2.5+v/50),E=p.height+b+a.padding,C="M 0,"+b+" a "+m+","+b+" 0,0,0 "+v+" 0 a "+m+","+b+" 0,0,0 "+-v+" 0 l 0,"+E+" a "+m+","+b+" 0,0,0 "+v+" 0 l 0,"+-E,A=f.attr("label-offset-y",b).insert("path",":first-child").attr("style",a.style).attr("d",C).attr("transform","translate("+-v/2+","+-(E/2+b)+")");return af(a,A),a.intersect=function(N){const F=Ah.rect(a,N),j=F.x-a.x;if(m!=0&&(Math.abs(j)<a.width/2||Math.abs(j)==a.width/2&&Math.abs(F.y-a.y)>a.height/2-b)){let R=b*b*(1-j*j/(m*m));R!=0&&(R=Math.sqrt(R)),R=b-R,N.y-a.y>0&&(R=-R),F.y+=R}return F},f},s$e=async(i,a)=>{const{shapeSvg:f,bbox:p,halfPadding:v}=await jd(i,a,"node "+a.classes,!0),m=f.insert("rect",":first-child"),b=p.width+a.padding,E=p.height+a.padding;if(m.attr("class","basic label-container").attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("x",-p.width/2-v).attr("y",-p.height/2-v).attr("width",b).attr("height",E),a.props){const C=new Set(Object.keys(a.props));a.props.borders&&(mBt(m,a.props.borders,b,E),C.delete("borders")),C.forEach(A=>{Vt.warn(`Unknown node property ${A}`)})}return af(a,m),a.intersect=function(C){return Ah.rect(a,C)},f},a$e=async(i,a)=>{const{shapeSvg:f}=await jd(i,a,"label",!0);Vt.trace("Classes = ",a.classes);const p=f.insert("rect",":first-child"),v=0,m=0;if(p.attr("width",v).attr("height",m),f.attr("class","label edgeLabel"),a.props){const b=new Set(Object.keys(a.props));a.props.borders&&(mBt(p,a.props.borders,v,m),b.delete("borders")),b.forEach(E=>{Vt.warn(`Unknown node property ${E}`)})}return af(a,p),a.intersect=function(b){return Ah.rect(a,b)},f};function mBt(i,a,f,p){const v=[],m=E=>{v.push(E,0)},b=E=>{v.push(0,E)};a.includes("t")?(Vt.debug("add top border"),m(f)):b(f),a.includes("r")?(Vt.debug("add right border"),m(p)):b(p),a.includes("b")?(Vt.debug("add bottom border"),m(f)):b(f),a.includes("l")?(Vt.debug("add left border"),m(p)):b(p),i.attr("stroke-dasharray",v.join(" "))}const o$e=(i,a)=>{let f;a.classes?f="node "+a.classes:f="node default";const p=i.insert("g").attr("class",f).attr("id",a.domId||a.id),v=p.insert("rect",":first-child"),m=p.insert("line"),b=p.insert("g").attr("class","label"),E=a.labelText.flat?a.labelText.flat():a.labelText;let C="";typeof E=="object"?C=E[0]:C=E,Vt.info("Label text abc79",C,E,typeof E=="object");const A=b.node().appendChild(dp(C,a.labelStyle,!0,!0));let N={width:0,height:0};if(l1(Me().flowchart.htmlLabels)){const Y=A.children[0],rt=wr(A);N=Y.getBoundingClientRect(),rt.attr("width",N.width),rt.attr("height",N.height)}Vt.info("Text 2",E);const F=E.slice(1,E.length);let j=A.getBBox();const R=b.node().appendChild(dp(F.join?F.join("<br/>"):F,a.labelStyle,!0,!0));if(l1(Me().flowchart.htmlLabels)){const Y=R.children[0],rt=wr(R);N=Y.getBoundingClientRect(),rt.attr("width",N.width),rt.attr("height",N.height)}const H=a.padding/2;return wr(R).attr("transform","translate( "+(N.width>j.width?0:(j.width-N.width)/2)+", "+(j.height+H+5)+")"),wr(A).attr("transform","translate( "+(N.width<j.width?0:-(j.width-N.width)/2)+", 0)"),N=b.node().getBBox(),b.attr("transform","translate("+-N.width/2+", "+(-N.height/2-H+3)+")"),v.attr("class","outer title-state").attr("x",-N.width/2-H).attr("y",-N.height/2-H).attr("width",N.width+a.padding).attr("height",N.height+a.padding),m.attr("class","divider").attr("x1",-N.width/2-H).attr("x2",N.width/2+H).attr("y1",-N.height/2-H+j.height+H).attr("y2",-N.height/2-H+j.height+H),af(a,v),a.intersect=function(Y){return Ah.rect(a,Y)},p},c$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.height+a.padding,m=p.width+v/4+a.padding,b=f.insert("rect",":first-child").attr("style",a.style).attr("rx",v/2).attr("ry",v/2).attr("x",-m/2).attr("y",-v/2).attr("width",m).attr("height",v);return af(a,b),a.intersect=function(E){return Ah.rect(a,E)},f},u$e=async(i,a)=>{const{shapeSvg:f,bbox:p,halfPadding:v}=await jd(i,a,void 0,!0),m=f.insert("circle",":first-child");return m.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",p.width/2+v).attr("width",p.width+a.padding).attr("height",p.height+a.padding),Vt.info("Circle main"),af(a,m),a.intersect=function(b){return Vt.info("Circle intersect",a,p.width/2+v,b),Ah.circle(a,p.width/2+v,b)},f},l$e=async(i,a)=>{const{shapeSvg:f,bbox:p,halfPadding:v}=await jd(i,a,void 0,!0),m=5,b=f.insert("g",":first-child"),E=b.insert("circle"),C=b.insert("circle");return b.attr("class",a.class),E.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",p.width/2+v+m).attr("width",p.width+a.padding+m*2).attr("height",p.height+a.padding+m*2),C.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",p.width/2+v).attr("width",p.width+a.padding).attr("height",p.height+a.padding),Vt.info("DoubleCircle main"),af(a,E),a.intersect=function(A){return Vt.info("DoubleCircle intersect",a,p.width/2+v+m,A),Ah.circle(a,p.width/2+v+m,A)},f},h$e=async(i,a)=>{const{shapeSvg:f,bbox:p}=await jd(i,a,void 0,!0),v=p.width+a.padding,m=p.height+a.padding,b=[{x:0,y:0},{x:v,y:0},{x:v,y:-m},{x:0,y:-m},{x:0,y:0},{x:-8,y:0},{x:v+8,y:0},{x:v+8,y:-m},{x:-8,y:-m},{x:-8,y:0}],E=L5(f,v,m,b);return E.attr("style",a.style),af(a,E),a.intersect=function(C){return Ah.polygon(a,b,C)},f},f$e=(i,a)=>{const f=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),p=f.insert("circle",":first-child");return p.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),af(a,p),a.intersect=function(v){return Ah.circle(a,7,v)},f},yBt=(i,a,f)=>{const p=i.insert("g").attr("class","node default").attr("id",a.domId||a.id);let v=70,m=10;f==="LR"&&(v=10,m=70);const b=p.append("rect").attr("x",-1*v/2).attr("y",-1*m/2).attr("width",v).attr("height",m).attr("class","fork-join");return af(a,b),a.height=a.height+a.padding/2,a.width=a.width+a.padding/2,a.intersect=function(E){return Ah.rect(a,E)},p},xBt={rhombus:wBt,question:wBt,rect:s$e,labelRect:a$e,rectWithTitle:o$e,choice:Xje,circle:u$e,doublecircle:l$e,stadium:c$e,hexagon:Qje,rect_left_inv_arrow:Zje,lean_right:Jje,lean_left:t$e,trapezoid:e$e,inv_trapezoid:n$e,rect_right_inv_arrow:r$e,cylinder:i$e,start:f$e,end:(i,a)=>{const f=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),p=f.insert("circle",":first-child"),v=f.insert("circle",":first-child");return v.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),p.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),af(a,v),a.intersect=function(m){return Ah.circle(a,7,m)},f},note:Uje,subroutine:h$e,fork:yBt,join:yBt,class_box:(i,a)=>{const f=a.padding/2,p=4,v=8;let m;a.classes?m="node "+a.classes:m="node default";const b=i.insert("g").attr("class",m).attr("id",a.domId||a.id),E=b.insert("rect",":first-child"),C=b.insert("line"),A=b.insert("line");let N=0,F=p;const j=b.insert("g").attr("class","label");let R=0;const H=a.classData.annotations&&a.classData.annotations[0],Y=a.classData.annotations[0]?"«"+a.classData.annotations[0]+"»":"",rt=j.node().appendChild(dp(Y,a.labelStyle,!0,!0));let J=rt.getBBox();if(l1(Me().flowchart.htmlLabels)){const xt=rt.children[0],st=wr(rt);J=xt.getBoundingClientRect(),st.attr("width",J.width),st.attr("height",J.height)}a.classData.annotations[0]&&(F+=J.height+p,N+=J.width);let it=a.classData.label;a.classData.type!==void 0&&a.classData.type!==""&&(Me().flowchart.htmlLabels?it+="&lt;"+a.classData.type+"&gt;":it+="<"+a.classData.type+">");const ht=j.node().appendChild(dp(it,a.labelStyle,!0,!0));wr(ht).attr("class","classTitle");let Tt=ht.getBBox();if(l1(Me().flowchart.htmlLabels)){const xt=ht.children[0],st=wr(ht);Tt=xt.getBoundingClientRect(),st.attr("width",Tt.width),st.attr("height",Tt.height)}F+=Tt.height+p,Tt.width>N&&(N=Tt.width);const yt=[];a.classData.members.forEach(xt=>{const st=yK(xt);let Et=st.displayText;Me().flowchart.htmlLabels&&(Et=Et.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const gt=j.node().appendChild(dp(Et,st.cssStyle?st.cssStyle:a.labelStyle,!0,!0));let pt=gt.getBBox();if(l1(Me().flowchart.htmlLabels)){const Ct=gt.children[0],nt=wr(gt);pt=Ct.getBoundingClientRect(),nt.attr("width",pt.width),nt.attr("height",pt.height)}pt.width>N&&(N=pt.width),F+=pt.height+p,yt.push(gt)}),F+=v;const vt=[];if(a.classData.methods.forEach(xt=>{const st=yK(xt);let Et=st.displayText;Me().flowchart.htmlLabels&&(Et=Et.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const gt=j.node().appendChild(dp(Et,st.cssStyle?st.cssStyle:a.labelStyle,!0,!0));let pt=gt.getBBox();if(l1(Me().flowchart.htmlLabels)){const Ct=gt.children[0],nt=wr(gt);pt=Ct.getBoundingClientRect(),nt.attr("width",pt.width),nt.attr("height",pt.height)}pt.width>N&&(N=pt.width),F+=pt.height+p,vt.push(gt)}),F+=v,H){let xt=(N-J.width)/2;wr(rt).attr("transform","translate( "+(-1*N/2+xt)+", "+-1*F/2+")"),R=J.height+p}let ut=(N-Tt.width)/2;return wr(ht).attr("transform","translate( "+(-1*N/2+ut)+", "+(-1*F/2+R)+")"),R+=Tt.height+p,C.attr("class","divider").attr("x1",-N/2-f).attr("x2",N/2+f).attr("y1",-F/2-f+v+R).attr("y2",-F/2-f+v+R),R+=v,yt.forEach(xt=>{wr(xt).attr("transform","translate( "+-N/2+", "+(-1*F/2+R+v/2)+")");const st=xt==null?void 0:xt.getBBox();R+=((st==null?void 0:st.height)??0)+p}),R+=v,A.attr("class","divider").attr("x1",-N/2-f).attr("x2",N/2+f).attr("y1",-F/2-f+v+R).attr("y2",-F/2-f+v+R),R+=v,vt.forEach(xt=>{wr(xt).attr("transform","translate( "+-N/2+", "+(-1*F/2+R)+")");const st=xt==null?void 0:xt.getBBox();R+=((st==null?void 0:st.height)??0)+p}),E.attr("class","outer title-state").attr("x",-N/2-f).attr("y",-(F/2)-f).attr("width",N+a.padding).attr("height",F+a.padding),af(a,E),a.intersect=function(xt){return Ah.rect(a,xt)},b}};let sL={};const kBt=async(i,a,f)=>{let p,v;if(a.link){let m;Me().securityLevel==="sandbox"?m="_top":a.linkTarget&&(m=a.linkTarget||"_blank"),p=i.insert("svg:a").attr("xlink:href",a.link).attr("target",m),v=await xBt[a.shape](p,a,f)}else v=await xBt[a.shape](i,a,f),p=v;return a.tooltip&&v.attr("title",a.tooltip),a.class&&v.attr("class","node default "+a.class),sL[a.id]=p,a.haveCallback&&sL[a.id].attr("class",sL[a.id].attr("class")+" clickable"),p},d$e=(i,a)=>{sL[a.id]=i},g$e=()=>{sL={}},EBt=i=>{const a=sL[i.id];Vt.trace("Transforming node",i.diff,i,"translate("+(i.x-i.width/2-5)+", "+i.width/2+")");const f=8,p=i.diff||0;return i.clusterNode?a.attr("transform","translate("+(i.x+p-i.width/2)+", "+(i.y-i.height/2-f)+")"):a.attr("transform","translate("+i.x+", "+i.y+")"),p},p$e={rect:(i,a)=>{Vt.info("Creating subgraph rect for ",a.id,a);const f=i.insert("g").attr("class","cluster"+(a.class?" "+a.class:"")).attr("id",a.id),p=f.insert("rect",":first-child"),v=l1(Me().flowchart.htmlLabels),m=f.insert("g").attr("class","cluster-label"),b=a.labelType==="markdown"?vK(m,a.labelText,{style:a.labelStyle,useHtmlLabels:v}):m.node().appendChild(dp(a.labelText,a.labelStyle,void 0,!0));let E=b.getBBox();if(l1(Me().flowchart.htmlLabels)){const j=b.children[0],R=wr(b);E=j.getBoundingClientRect(),R.attr("width",E.width),R.attr("height",E.height)}const C=0*a.padding,A=C/2,N=a.width<=E.width+C?E.width+C:a.width;a.width<=E.width+C?a.diff=(E.width-a.width)/2-a.padding/2:a.diff=-a.padding/2,Vt.trace("Data ",a,JSON.stringify(a)),p.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("x",a.x-N/2).attr("y",a.y-a.height/2-A).attr("width",N).attr("height",a.height+C),v?m.attr("transform","translate("+(a.x-E.width/2)+", "+(a.y-a.height/2)+")"):m.attr("transform","translate("+a.x+", "+(a.y-a.height/2)+")");const F=p.node().getBBox();return a.width=F.width,a.height=F.height,a.intersect=function(j){return yN(a,j)},f},roundedWithTitle:(i,a)=>{const f=i.insert("g").attr("class",a.classes).attr("id",a.id),p=f.insert("rect",":first-child"),v=f.insert("g").attr("class","cluster-label"),m=f.append("rect"),b=v.node().appendChild(dp(a.labelText,a.labelStyle,void 0,!0));let E=b.getBBox();if(l1(Me().flowchart.htmlLabels)){const j=b.children[0],R=wr(b);E=j.getBoundingClientRect(),R.attr("width",E.width),R.attr("height",E.height)}E=b.getBBox();const C=0*a.padding,A=C/2,N=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-N/2-A).attr("y",a.y-a.height/2-A).attr("width",N+C).attr("height",a.height+C),m.attr("class","inner").attr("x",a.x-N/2-A).attr("y",a.y-a.height/2-A+E.height-1).attr("width",N+C).attr("height",a.height+C-E.height-3),v.attr("transform","translate("+(a.x-E.width/2)+", "+(a.y-a.height/2-a.padding/3+(l1(Me().flowchart.htmlLabels)?5:3))+")");const F=p.node().getBBox();return a.height=F.height,a.intersect=function(j){return yN(a,j)},f},noteGroup:(i,a)=>{const f=i.insert("g").attr("class","note-cluster").attr("id",a.id),p=f.insert("rect",":first-child"),v=0*a.padding,m=v/2;p.attr("rx",a.rx).attr("ry",a.ry).attr("x",a.x-a.width/2-m).attr("y",a.y-a.height/2-m).attr("width",a.width+v).attr("height",a.height+v).attr("fill","none");const b=p.node().getBBox();return a.width=b.width,a.height=b.height,a.intersect=function(E){return yN(a,E)},f},divider:(i,a)=>{const f=i.insert("g").attr("class",a.classes).attr("id",a.id),p=f.insert("rect",":first-child"),v=0*a.padding,m=v/2;p.attr("class","divider").attr("x",a.x-a.width/2-m).attr("y",a.y-a.height/2).attr("width",a.width+v).attr("height",a.height+v);const b=p.node().getBBox();return a.width=b.width,a.height=b.height,a.diff=-a.padding/2,a.intersect=function(E){return yN(a,E)},f}};let TBt={};const b$e=(i,a)=>{Vt.trace("Inserting cluster");const f=a.shape||"rect";TBt[a.id]=p$e[f](i,a)},v$e=()=>{TBt={}};let xK={},$d={};const w$e=()=>{xK={},$d={}},_Bt=(i,a)=>{const f=l1(Me().flowchart.htmlLabels),p=a.labelType==="markdown"?vK(i,a.label,{style:a.labelStyle,useHtmlLabels:f,addSvgBackground:!0}):dp(a.label,a.labelStyle);Vt.info("abc82",a,a.labelType);const v=i.insert("g").attr("class","edgeLabel"),m=v.insert("g").attr("class","label");m.node().appendChild(p);let b=p.getBBox();if(f){const C=p.children[0],A=wr(p);b=C.getBoundingClientRect(),A.attr("width",b.width),A.attr("height",b.height)}m.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),xK[a.id]=v,a.width=b.width,a.height=b.height;let E;if(a.startLabelLeft){const C=dp(a.startLabelLeft,a.labelStyle),A=i.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");E=N.node().appendChild(C);const F=C.getBBox();N.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"),$d[a.id]||($d[a.id]={}),$d[a.id].startLeft=A,kK(E,a.startLabelLeft)}if(a.startLabelRight){const C=dp(a.startLabelRight,a.labelStyle),A=i.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");E=A.node().appendChild(C),N.node().appendChild(C);const F=C.getBBox();N.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"),$d[a.id]||($d[a.id]={}),$d[a.id].startRight=A,kK(E,a.startLabelRight)}if(a.endLabelLeft){const C=dp(a.endLabelLeft,a.labelStyle),A=i.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");E=N.node().appendChild(C);const F=C.getBBox();N.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"),A.node().appendChild(C),$d[a.id]||($d[a.id]={}),$d[a.id].endLeft=A,kK(E,a.endLabelLeft)}if(a.endLabelRight){const C=dp(a.endLabelRight,a.labelStyle),A=i.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");E=N.node().appendChild(C);const F=C.getBBox();N.attr("transform","translate("+-F.width/2+", "+-F.height/2+")"),A.node().appendChild(C),$d[a.id]||($d[a.id]={}),$d[a.id].endRight=A,kK(E,a.endLabelRight)}return p};function kK(i,a){Me().flowchart.htmlLabels&&i&&(i.style.width=a.length*9+"px",i.style.height="12px")}const m$e=(i,a)=>{Vt.info("Moving label abc78 ",i.id,i.label,xK[i.id]);let f=a.updatedPath?a.updatedPath:a.originalPath;if(i.label){const p=xK[i.id];let v=i.x,m=i.y;if(f){const b=ho.calcLabelPosition(f);Vt.info("Moving label "+i.label+" from (",v,",",m,") to (",b.x,",",b.y,") abc78"),a.updatedPath&&(v=b.x,m=b.y)}p.attr("transform","translate("+v+", "+m+")")}if(i.startLabelLeft){const p=$d[i.id].startLeft;let v=i.x,m=i.y;if(f){const b=ho.calcTerminalLabelPosition(i.arrowTypeStart?10:0,"start_left",f);v=b.x,m=b.y}p.attr("transform","translate("+v+", "+m+")")}if(i.startLabelRight){const p=$d[i.id].startRight;let v=i.x,m=i.y;if(f){const b=ho.calcTerminalLabelPosition(i.arrowTypeStart?10:0,"start_right",f);v=b.x,m=b.y}p.attr("transform","translate("+v+", "+m+")")}if(i.endLabelLeft){const p=$d[i.id].endLeft;let v=i.x,m=i.y;if(f){const b=ho.calcTerminalLabelPosition(i.arrowTypeEnd?10:0,"end_left",f);v=b.x,m=b.y}p.attr("transform","translate("+v+", "+m+")")}if(i.endLabelRight){const p=$d[i.id].endRight;let v=i.x,m=i.y;if(f){const b=ho.calcTerminalLabelPosition(i.arrowTypeEnd?10:0,"end_right",f);v=b.x,m=b.y}p.attr("transform","translate("+v+", "+m+")")}},y$e=(i,a)=>{const f=i.x,p=i.y,v=Math.abs(a.x-f),m=Math.abs(a.y-p),b=i.width/2,E=i.height/2;return v>=b||m>=E},x$e=(i,a,f)=>{Vt.warn(`intersection calc abc89:
+ outsidePoint: ${JSON.stringify(a)}
+ insidePoint : ${JSON.stringify(f)}
+ node : x:${i.x} y:${i.y} w:${i.width} h:${i.height}`);const p=i.x,v=i.y,m=Math.abs(p-f.x),b=i.width/2;let E=f.x<a.x?b-m:b+m;const C=i.height/2,A=Math.abs(a.y-f.y),N=Math.abs(a.x-f.x);if(Math.abs(v-a.y)*b>Math.abs(p-a.x)*C){let F=f.y<a.y?a.y-C-v:v-C-a.y;E=N*F/A;const j={x:f.x<a.x?f.x+E:f.x-N+E,y:f.y<a.y?f.y+A-F:f.y-A+F};return E===0&&(j.x=a.x,j.y=a.y),N===0&&(j.x=a.x),A===0&&(j.y=a.y),Vt.warn(`abc89 topp/bott calc, Q ${A}, q ${F}, R ${N}, r ${E}`,j),j}else{f.x<a.x?E=a.x-b-p:E=p-b-a.x;let F=A*E/N,j=f.x<a.x?f.x+N-E:f.x-N+E,R=f.y<a.y?f.y+F:f.y-F;return Vt.warn(`sides calc abc89, Q ${A}, q ${F}, R ${N}, r ${E}`,{_x:j,_y:R}),E===0&&(j=a.x,R=a.y),N===0&&(j=a.x),A===0&&(R=a.y),{x:j,y:R}}},CBt=(i,a)=>{Vt.warn("abc88 cutPathAtIntersect",i,a);let f=[],p=i[0],v=!1;return i.forEach(m=>{if(Vt.info("abc88 checking point",m,a),!y$e(a,m)&&!v){const b=x$e(a,p,m);Vt.warn("abc88 inside",m,p,b),Vt.warn("abc88 intersection",b);let E=!1;f.forEach(C=>{E=E||C.x===b.x&&C.y===b.y}),f.some(C=>C.x===b.x&&C.y===b.y)?Vt.warn("abc88 no intersect",b,f):f.push(b),v=!0}else Vt.warn("abc88 outside",m,p),p=m,v||f.push(m)}),Vt.warn("abc88 returning points",f),f},k$e=function(i,a,f,p,v,m){let b=f.points,E=!1;const C=m.node(a.v);var A=m.node(a.w);Vt.info("abc88 InsertEdge: ",f),A.intersect&&C.intersect&&(b=b.slice(1,f.points.length-1),b.unshift(C.intersect(b[0])),Vt.info("Last point",b[b.length-1],A,A.intersect(b[b.length-1])),b.push(A.intersect(b[b.length-1]))),f.toCluster&&(Vt.info("to cluster abc88",p[f.toCluster]),b=CBt(f.points,p[f.toCluster].node),E=!0),f.fromCluster&&(Vt.info("from cluster abc88",p[f.fromCluster]),b=CBt(b.reverse(),p[f.fromCluster].node).reverse(),E=!0);const N=b.filter(J=>!Number.isNaN(J.y));let F;v==="graph"||v==="flowchart"?F=f.curve||MA:F=MA;const j=Z9().x(function(J){return J.x}).y(function(J){return J.y}).curve(F);let R;switch(f.thickness){case"normal":R="edge-thickness-normal";break;case"thick":R="edge-thickness-thick";break;case"invisible":R="edge-thickness-thick";break;default:R=""}switch(f.pattern){case"solid":R+=" edge-pattern-solid";break;case"dotted":R+=" edge-pattern-dotted";break;case"dashed":R+=" edge-pattern-dashed";break}const H=i.append("path").attr("d",j(N)).attr("id",f.id).attr("class"," "+R+(f.classes?" "+f.classes:"")).attr("style",f.style);let Y="";switch((Me().flowchart.arrowMarkerAbsolute||Me().state.arrowMarkerAbsolute)&&(Y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Y=Y.replace(/\(/g,"\\("),Y=Y.replace(/\)/g,"\\)")),Vt.info("arrowTypeStart",f.arrowTypeStart),Vt.info("arrowTypeEnd",f.arrowTypeEnd),f.arrowTypeStart){case"arrow_cross":H.attr("marker-start","url("+Y+"#"+v+"-crossStart)");break;case"arrow_point":H.attr("marker-start","url("+Y+"#"+v+"-pointStart)");break;case"arrow_barb":H.attr("marker-start","url("+Y+"#"+v+"-barbStart)");break;case"arrow_circle":H.attr("marker-start","url("+Y+"#"+v+"-circleStart)");break;case"aggregation":H.attr("marker-start","url("+Y+"#"+v+"-aggregationStart)");break;case"extension":H.attr("marker-start","url("+Y+"#"+v+"-extensionStart)");break;case"composition":H.attr("marker-start","url("+Y+"#"+v+"-compositionStart)");break;case"dependency":H.attr("marker-start","url("+Y+"#"+v+"-dependencyStart)");break;case"lollipop":H.attr("marker-start","url("+Y+"#"+v+"-lollipopStart)");break}switch(f.arrowTypeEnd){case"arrow_cross":H.attr("marker-end","url("+Y+"#"+v+"-crossEnd)");break;case"arrow_point":H.attr("marker-end","url("+Y+"#"+v+"-pointEnd)");break;case"arrow_barb":H.attr("marker-end","url("+Y+"#"+v+"-barbEnd)");break;case"arrow_circle":H.attr("marker-end","url("+Y+"#"+v+"-circleEnd)");break;case"aggregation":H.attr("marker-end","url("+Y+"#"+v+"-aggregationEnd)");break;case"extension":H.attr("marker-end","url("+Y+"#"+v+"-extensionEnd)");break;case"composition":H.attr("marker-end","url("+Y+"#"+v+"-compositionEnd)");break;case"dependency":H.attr("marker-end","url("+Y+"#"+v+"-dependencyEnd)");break;case"lollipop":H.attr("marker-end","url("+Y+"#"+v+"-lollipopEnd)");break}let rt={};return E&&(rt.updatedPath=b),rt.originalPath=f.points,rt},SBt=async(i,a,f,p)=>{Vt.info("Graph in recursive render: XXX",A5(a),p);const v=a.graph().rankdir;Vt.trace("Dir in recursive render - dir:",v);const m=i.insert("g").attr("class","root");a.nodes()?Vt.info("Recursive render XXX",a.nodes()):Vt.info("No nodes found for",a),a.edges().length>0&&Vt.trace("Recursive edges",a.edge(a.edges()[0]));const b=m.insert("g").attr("class","clusters"),E=m.insert("g").attr("class","edgePaths"),C=m.insert("g").attr("class","edgeLabels"),A=m.insert("g").attr("class","nodes");await Promise.all(a.nodes().map(async function(F){const j=a.node(F);if(p!==void 0){const R=JSON.parse(JSON.stringify(p.clusterData));Vt.info("Setting data for cluster XXX (",F,") ",R,p),a.setNode(p.id,R),a.parent(F)||(Vt.trace("Setting parent",F,p.id),a.setParent(F,p.id,R))}if(Vt.info("(Insert) Node XXX"+F+": "+JSON.stringify(a.node(F))),j&&j.clusterNode){Vt.info("Cluster identified",F,j.width,a.node(F));const R=await SBt(A,j.graph,f,a.node(F)),H=R.elem;af(j,H),j.diff=R.diff||0,Vt.info("Node bounds (abc123)",F,j,j.width,j.x,j.y),d$e(H,j),Vt.warn("Recursive render complete ",H,j)}else a.children(F).length>0?(Vt.info("Cluster - the non recursive path XXX",F,j.id,j,a),Vt.info(mN(j.id,a)),rc[j.id]={id:mN(j.id,a),node:j}):(Vt.info("Node - the non recursive path",F,j.id,j),await kBt(A,a.node(F),v))})),a.edges().forEach(function(F){const j=a.edge(F.v,F.w,F.name);Vt.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(F)),Vt.info("Edge "+F.v+" -> "+F.w+": ",F," ",JSON.stringify(a.edge(F))),Vt.info("Fix",rc,"ids:",F.v,F.w,"Translateing: ",rc[F.v],rc[F.w]),_Bt(C,j)}),a.edges().forEach(function(F){Vt.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(F))}),Vt.info("#############################################"),Vt.info("### Layout ###"),Vt.info("#############################################"),Vt.info(a),rL(a),Vt.info("Graph after layout:",A5(a));let N=0;return zje(a).forEach(function(F){const j=a.node(F);Vt.info("Position "+F+": "+JSON.stringify(a.node(F))),Vt.info("Position "+F+": ("+j.x,","+j.y,") width: ",j.width," height: ",j.height),j&&j.clusterNode?EBt(j):a.children(F).length>0?(b$e(b,j),rc[j.id].node=j):EBt(j)}),a.edges().forEach(function(F){const j=a.edge(F);Vt.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(j),j);const R=k$e(E,F,j,rc,f,a);m$e(j,R)}),a.nodes().forEach(function(F){const j=a.node(F);Vt.info(F,j.type,j.diff),j.type==="group"&&(N=j.diff)}),{elem:m,diff:N}},A0t=async(i,a,f,p,v)=>{LFt(i,f,p,v),g$e(),w$e(),v$e(),Rje(),Vt.warn("Graph at first:",A5(a)),$je(a),Vt.warn("Graph after:",A5(a)),await SBt(i,a,p)},ABt={},E$e=function(i){const a=Object.keys(i);for(const f of a)ABt[f]=i[f]},LBt=function(i,a,f,p,v,m){const b=p.select(`[id="${f}"]`);Object.keys(i).forEach(function(C){const A=i[C];let N="default";A.classes.length>0&&(N=A.classes.join(" ")),N=N+" flowchart-label";const F=Jw(A.styles);let j=A.text!==void 0?A.text:A.id,R;if(Vt.info("vertex",A,A.labelType),A.labelType==="markdown")Vt.info("vertex",A,A.labelType);else if(l1(Me().flowchart.htmlLabels)){const rt={label:j.replace(/fa[blrs]?:fa-[\w-]+/g,J=>`<i class='${J.replace(":"," ")}'></i>`)};R=u0t(b,rt).node(),R.parentNode.removeChild(R)}else{const rt=v.createElementNS("http://www.w3.org/2000/svg","text");rt.setAttribute("style",F.labelStyle.replace("color:","fill:"));const J=j.split(bi.lineBreakRegex);for(const it of J){const ht=v.createElementNS("http://www.w3.org/2000/svg","tspan");ht.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),ht.setAttribute("dy","1em"),ht.setAttribute("x","1"),ht.textContent=it,rt.appendChild(ht)}R=rt}let H=0,Y="";switch(A.type){case"round":H=5,Y="rect";break;case"square":Y="rect";break;case"diamond":Y="question";break;case"hexagon":Y="hexagon";break;case"odd":Y="rect_left_inv_arrow";break;case"lean_right":Y="lean_right";break;case"lean_left":Y="lean_left";break;case"trapezoid":Y="trapezoid";break;case"inv_trapezoid":Y="inv_trapezoid";break;case"odd_right":Y="rect_left_inv_arrow";break;case"circle":Y="circle";break;case"ellipse":Y="ellipse";break;case"stadium":Y="stadium";break;case"subroutine":Y="subroutine";break;case"cylinder":Y="cylinder";break;case"group":Y="rect";break;case"doublecircle":Y="doublecircle";break;default:Y="rect"}a.setNode(A.id,{labelStyle:F.labelStyle,shape:Y,labelText:j,labelType:A.labelType,rx:H,ry:H,class:N,style:F.style,id:A.id,link:A.link,linkTarget:A.linkTarget,tooltip:m.db.getTooltip(A.id)||"",domId:m.db.lookUpDomId(A.id),haveCallback:A.haveCallback,width:A.type==="group"?500:void 0,dir:A.dir,type:A.type,props:A.props,padding:Me().flowchart.padding}),Vt.info("setNode",{labelStyle:F.labelStyle,labelType:A.labelType,shape:Y,labelText:j,rx:H,ry:H,class:N,style:F.style,id:A.id,domId:m.db.lookUpDomId(A.id),width:A.type==="group"?500:void 0,type:A.type,dir:A.dir,props:A.props,padding:Me().flowchart.padding})})},MBt=function(i,a,f){Vt.info("abc78 edges = ",i);let p=0,v={},m,b;if(i.defaultStyle!==void 0){const E=Jw(i.defaultStyle);m=E.style,b=E.labelStyle}i.forEach(function(E){p++;const C="L-"+E.start+"-"+E.end;v[C]===void 0?(v[C]=0,Vt.info("abc78 new entry",C,v[C])):(v[C]++,Vt.info("abc78 new entry",C,v[C]));let A=C+"-"+v[C];Vt.info("abc78 new link id to be used is",C,A,v[C]);const N="LS-"+E.start,F="LE-"+E.end,j={style:"",labelStyle:""};switch(j.minlen=E.length||1,E.type==="arrow_open"?j.arrowhead="none":j.arrowhead="normal",j.arrowTypeStart="arrow_open",j.arrowTypeEnd="arrow_open",E.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 R="",H="";switch(E.stroke){case"normal":R="fill:none;",m!==void 0&&(R=m),b!==void 0&&(H=b),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;case"invisible":j.thickness="invisible",j.pattern="solid",j.style="stroke-width: 0;fill:none;";break}if(E.style!==void 0){const Y=Jw(E.style);R=Y.style,H=Y.labelStyle}j.style=j.style+=R,j.labelStyle=j.labelStyle+=H,E.interpolate!==void 0?j.curve=Zb(E.interpolate,ag):i.defaultInterpolate!==void 0?j.curve=Zb(i.defaultInterpolate,ag):j.curve=Zb(ABt.curve,ag),E.text===void 0?E.style!==void 0&&(j.arrowheadStyle="fill: #333"):(j.arrowheadStyle="fill: #333",j.labelpos="c"),j.labelType=E.labelType,j.label=E.text.replace(bi.lineBreakRegex,`
+`),E.style===void 0&&(j.style=j.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),j.labelStyle=j.labelStyle.replace("color:","fill:"),j.id=A,j.classes="flowchart-link "+N+" "+F,a.setEdge(E.start,E.end,j,p)})},L0t={setConf:E$e,addVertices:LBt,addEdges:MBt,getClasses:function(i,a){Vt.info("Extracting classes"),a.db.clear();try{return a.parse(i),a.db.getClasses()}catch{return}},draw:async function(i,a,f,p){Vt.info("Drawing flowchart"),p.db.clear(),ck.setGen("gen-2"),p.parser.parse(i);let v=p.db.getDirection();v===void 0&&(v="TD");const{securityLevel:m,flowchart:b}=Me(),E=b.nodeSpacing||50,C=b.rankSpacing||50;let A;m==="sandbox"&&(A=wr("#i"+a));const N=wr(m==="sandbox"?A.nodes()[0].contentDocument.body:"body"),F=m==="sandbox"?A.nodes()[0].contentDocument:document,j=new d1({multigraph:!0,compound:!0}).setGraph({rankdir:v,nodesep:E,ranksep:C,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let R;const H=p.db.getSubGraphs();Vt.info("Subgraphs - ",H);for(let yt=H.length-1;yt>=0;yt--)R=H[yt],Vt.info("Subgraph - ",R),p.db.addVertex(R.id,{text:R.title,type:R.labelType},"group",void 0,R.classes,R.dir);const Y=p.db.getVertices(),rt=p.db.getEdges();Vt.info("Edges",rt);let J=0;for(J=H.length-1;J>=0;J--){R=H[J],YLt("cluster").append("text");for(let yt=0;yt<R.nodes.length;yt++)Vt.info("Setting up subgraphs",R.nodes[yt],R.id),j.setParent(R.nodes[yt],R.id)}LBt(Y,j,a,N,F,p),MBt(rt,j);const it=N.select(`[id="${a}"]`),ht=N.select("#"+a+" g");if(await A0t(ht,j,["point","circle","cross"],"flowchart",a),ho.insertTitle(it,"flowchartTitleText",b.titleTopMargin,p.db.getDiagramTitle()),nE(j,it,b.diagramPadding,b.useMaxWidth),p.db.indexNodes("subGraph"+J),!b.htmlLabels){const yt=F.querySelectorAll('[id="'+a+'"] .edgeLabel .label');for(const vt of yt){const ut=vt.getBBox(),xt=F.createElementNS("http://www.w3.org/2000/svg","rect");xt.setAttribute("rx",0),xt.setAttribute("ry",0),xt.setAttribute("width",ut.width),xt.setAttribute("height",ut.height),vt.insertBefore(xt,vt.firstChild)}}Object.keys(Y).forEach(function(yt){const vt=Y[yt];if(vt.link){const ut=wr("#"+a+' [id="'+yt+'"]');if(ut){const xt=F.createElementNS("http://www.w3.org/2000/svg","a");xt.setAttributeNS("http://www.w3.org/2000/svg","class",vt.classes.join(" ")),xt.setAttributeNS("http://www.w3.org/2000/svg","href",vt.link),xt.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),m==="sandbox"?xt.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):vt.linkTarget&&xt.setAttributeNS("http://www.w3.org/2000/svg","target",vt.linkTarget);const st=ut.insert(function(){return xt},":first-child"),Et=ut.select(".label-container");Et&&st.append(function(){return Et.node()});const gt=ut.select(".label");gt&&st.append(function(){return gt.node()})}}})}},T$e=(i,a)=>{const f=IEe,p=f(i,"r"),v=f(i,"g"),m=f(i,"b");return IA(p,v,m,a)},DBt=i=>`.label {
+ font-family: ${i.fontFamily};
+ color: ${i.nodeTextColor||i.textColor};
}
.cluster-label text {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
- .cluster-label span {
- color: ${s.titleColor};
+ .cluster-label span,p {
+ color: ${i.titleColor};
}
- .label text,span {
- fill: ${s.nodeTextColor||s.textColor};
- color: ${s.nodeTextColor||s.textColor};
+ .label text,span,p {
+ fill: ${i.nodeTextColor||i.textColor};
+ color: ${i.nodeTextColor||i.textColor};
}
.node rect,
@@ -233,10 +133,19 @@ g.classGroup line {
.node ellipse,
.node polygon,
.node path {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
stroke-width: 1px;
}
+ .flowchart-label text {
+ text-anchor: middle;
+ }
+ // .flowchart-label .text-outer-tspan {
+ // text-anchor: middle;
+ // }
+ // .flowchart-label .text-inner-tspan {
+ // text-anchor: start;
+ // }
.node .label {
text-align: center;
@@ -246,44 +155,50 @@ g.classGroup line {
}
.arrowheadPath {
- fill: ${s.arrowheadColor};
+ fill: ${i.arrowheadColor};
}
.edgePath .path {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
fill: none;
}
.edgeLabel {
- background-color: ${s.edgeLabelBackground};
+ background-color: ${i.edgeLabelBackground};
rect {
opacity: 0.5;
- background-color: ${s.edgeLabelBackground};
- fill: ${s.edgeLabelBackground};
+ background-color: ${i.edgeLabelBackground};
+ fill: ${i.edgeLabelBackground};
}
text-align: center;
}
+ /* For html labels only */
+ .labelBkg {
+ background-color: ${T$e(i.edgeLabelBackground,.5)};
+ // background-color:
+ }
+
.cluster rect {
- fill: ${s.clusterBkg};
- stroke: ${s.clusterBorder};
+ fill: ${i.clusterBkg};
+ stroke: ${i.clusterBorder};
stroke-width: 1px;
}
.cluster text {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
- .cluster span {
- color: ${s.titleColor};
+ .cluster span,p {
+ color: ${i.titleColor};
}
/* .cluster div {
- color: ${s.titleColor};
+ color: ${i.titleColor};
} */
div.mermaidTooltip {
@@ -291,10 +206,10 @@ g.classGroup line {
text-align: center;
max-width: 200px;
padding: 2px;
- font-family: ${s.fontFamily};
+ font-family: ${i.fontFamily};
font-size: 12px;
- background: ${s.tertiaryColor};
- border: 1px solid ${s.border2};
+ background: ${i.tertiaryColor};
+ border: 1px solid ${i.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
@@ -303,15 +218,139 @@ g.classGroup line {
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
- fill: ${s.textColor};
+ fill: ${i.textColor};
+ }
+`,_$e=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Mdt,db:ck,renderer:L0t,styles:DBt,init:i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,LBe.setConf(i.flowchart),ck.clear(),ck.setGen("gen-1")}}},Symbol.toStringTag,{value:"Module"})),C$e=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Mdt,db:ck,renderer:L0t,styles:DBt,init:i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,_It({flowchart:{arrowMarkerAbsolute:i.arrowMarkerAbsolute}}),L0t.setConf(i.flowchart),ck.clear(),ck.setGen("gen-2")}}},Symbol.toStringTag,{value:"Module"}));var M0t=function(){var i=function(pt,Ct,nt,Nt){for(nt=nt||{},Nt=pt.length;Nt--;nt[pt[Nt]]=Ct);return nt},a=[1,2],f=[1,5],p=[6,9,11,23,25,27,29,30,31,52],v=[1,17],m=[1,18],b=[1,19],E=[1,20],C=[1,21],A=[1,22],N=[1,25],F=[1,30],j=[1,31],R=[1,32],H=[1,33],Y=[1,34],rt=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,48,52],J=[1,46],it=[30,31,49,50],ht=[4,6,9,11,23,25,27,29,30,31,52],Tt=[44,45,46,47,48],yt=[22,37],vt=[1,66],ut=[1,65],xt=[22,37,39,41],st={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,MD_PARENT:48,NON_IDENTIFYING:49,IDENTIFYING:50,WORD:51,open_directive:52,type_directive:53,arg_directive:54,close_directive:55,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"MD_PARENT",49:"NON_IDENTIFYING",50:"IDENTIFYING",51:"WORD",52:"open_directive",53:"type_directive",54:"arg_directive",55:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(Ct,nt,Nt,dt,Ft,X,Bt){var Rt=X.length-1;switch(Ft){case 1:break;case 3:this.$=[];break;case 4:X[Rt-1].push(X[Rt]),this.$=X[Rt-1];break;case 5:case 6:this.$=X[Rt];break;case 7:case 8:this.$=[];break;case 12:dt.addEntity(X[Rt-4]),dt.addEntity(X[Rt-2]),dt.addRelationship(X[Rt-4],X[Rt],X[Rt-2],X[Rt-3]);break;case 13:dt.addEntity(X[Rt-3]),dt.addAttributes(X[Rt-3],X[Rt-1]);break;case 14:dt.addEntity(X[Rt-2]);break;case 15:dt.addEntity(X[Rt]);break;case 16:case 17:this.$=X[Rt].trim(),dt.setAccTitle(this.$);break;case 18:case 19:this.$=X[Rt].trim(),dt.setAccDescription(this.$);break;case 20:case 44:this.$=X[Rt];break;case 21:case 42:case 43:this.$=X[Rt].replace(/"/g,"");break;case 22:case 30:this.$=[X[Rt]];break;case 23:X[Rt].push(X[Rt-1]),this.$=X[Rt];break;case 24:this.$={attributeType:X[Rt-1],attributeName:X[Rt]};break;case 25:this.$={attributeType:X[Rt-2],attributeName:X[Rt-1],attributeKeyTypeList:X[Rt]};break;case 26:this.$={attributeType:X[Rt-2],attributeName:X[Rt-1],attributeComment:X[Rt]};break;case 27:this.$={attributeType:X[Rt-3],attributeName:X[Rt-2],attributeKeyTypeList:X[Rt-1],attributeComment:X[Rt]};break;case 28:case 29:case 32:this.$=X[Rt];break;case 31:X[Rt-2].push(X[Rt]),this.$=X[Rt-2];break;case 33:this.$=X[Rt].replace(/"/g,"");break;case 34:this.$={cardA:X[Rt],relType:X[Rt-1],cardB:X[Rt-2]};break;case 35:this.$=dt.Cardinality.ZERO_OR_ONE;break;case 36:this.$=dt.Cardinality.ZERO_OR_MORE;break;case 37:this.$=dt.Cardinality.ONE_OR_MORE;break;case 38:this.$=dt.Cardinality.ONLY_ONE;break;case 39:this.$=dt.Cardinality.MD_PARENT;break;case 40:this.$=dt.Identification.NON_IDENTIFYING;break;case 41:this.$=dt.Identification.IDENTIFYING;break;case 45:dt.parseDirective("%%{","open_directive");break;case 46:dt.parseDirective(X[Rt],"type_directive");break;case 47:X[Rt]=X[Rt].trim().replace(/'/g,'"'),dt.parseDirective(X[Rt],"arg_directive");break;case 48:dt.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:a,7:3,12:4,52:f},{1:[3]},i(p,[2,3],{5:6}),{3:7,4:a,7:3,12:4,52:f},{13:8,53:[1,9]},{53:[2,45]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:v,25:m,27:b,29:E,30:C,31:A,52:f},{1:[2,2]},{14:23,15:[1,24],55:N},i([15,55],[2,46]),i(p,[2,8],{1:[2,1]}),i(p,[2,4]),{7:15,10:26,12:4,17:16,23:v,25:m,27:b,29:E,30:C,31:A,52:f},i(p,[2,6]),i(p,[2,7]),i(p,[2,11]),i(p,[2,15],{18:27,42:29,20:[1,28],44:F,45:j,46:R,47:H,48:Y}),{24:[1,35]},{26:[1,36]},{28:[1,37]},i(p,[2,19]),i(rt,[2,20]),i(rt,[2,21]),{11:[1,38]},{16:39,54:[1,40]},{11:[2,48]},i(p,[2,5]),{17:41,30:C,31:A},{21:42,22:[1,43],32:44,33:45,37:J},{43:47,49:[1,48],50:[1,49]},i(it,[2,35]),i(it,[2,36]),i(it,[2,37]),i(it,[2,38]),i(it,[2,39]),i(p,[2,16]),i(p,[2,17]),i(p,[2,18]),i(ht,[2,9]),{14:50,55:N},{55:[2,47]},{15:[1,51]},{22:[1,52]},i(p,[2,14]),{21:53,22:[2,22],32:44,33:45,37:J},{34:54,37:[1,55]},{37:[2,28]},{42:56,44:F,45:j,46:R,47:H,48:Y},i(Tt,[2,40]),i(Tt,[2,41]),{11:[1,57]},{19:58,30:[1,61],31:[1,60],51:[1,59]},i(p,[2,13]),{22:[2,23]},i(yt,[2,24],{35:62,36:63,38:64,40:vt,41:ut}),i([22,37,40,41],[2,29]),i([30,31],[2,34]),i(ht,[2,10]),i(p,[2,12]),i(p,[2,42]),i(p,[2,43]),i(p,[2,44]),i(yt,[2,25],{36:67,39:[1,68],41:ut}),i(yt,[2,26]),i(xt,[2,30]),i(yt,[2,33]),i(xt,[2,32]),i(yt,[2,27]),{38:69,40:vt},i(xt,[2,31])],defaultActions:{5:[2,45],7:[2,2],25:[2,48],40:[2,47],46:[2,28],53:[2,23]},parseError:function(Ct,nt){if(nt.recoverable)this.trace(Ct);else{var Nt=new Error(Ct);throw Nt.hash=nt,Nt}},parse:function(Ct){var nt=this,Nt=[0],dt=[],Ft=[null],X=[],Bt=this.table,Rt="",mt=0,Ot=0,Gt=2,Ve=1,Cn=X.slice.call(arguments,1),xe=Object.create(this.lexer),Kn={yy:{}};for(var Se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Se)&&(Kn.yy[Se]=this.yy[Se]);xe.setInput(Ct,Kn.yy),Kn.yy.lexer=xe,Kn.yy.parser=this,typeof xe.yylloc>"u"&&(xe.yylloc={});var ee=xe.yylloc;X.push(ee);var _e=xe.options&&xe.options.ranges;typeof Kn.yy.parseError=="function"?this.parseError=Kn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qe(){var le;return le=dt.pop()||xe.lex()||Ve,typeof le!="number"&&(le instanceof Array&&(dt=le,le=dt.pop()),le=nt.symbols_[le]||le),le}for(var ce,Ce,he,Re,se={},Pe,Qt,vr,$t;;){if(Ce=Nt[Nt.length-1],this.defaultActions[Ce]?he=this.defaultActions[Ce]:((ce===null||typeof ce>"u")&&(ce=qe()),he=Bt[Ce]&&Bt[Ce][ce]),typeof he>"u"||!he.length||!he[0]){var ur="";$t=[];for(Pe in Bt[Ce])this.terminals_[Pe]&&Pe>Gt&&$t.push("'"+this.terminals_[Pe]+"'");xe.showPosition?ur="Parse error on line "+(mt+1)+`:
+`+xe.showPosition()+`
+Expecting `+$t.join(", ")+", got '"+(this.terminals_[ce]||ce)+"'":ur="Parse error on line "+(mt+1)+": Unexpected "+(ce==Ve?"end of input":"'"+(this.terminals_[ce]||ce)+"'"),this.parseError(ur,{text:xe.match,token:this.terminals_[ce]||ce,line:xe.yylineno,loc:ee,expected:$t})}if(he[0]instanceof Array&&he.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ce+", token: "+ce);switch(he[0]){case 1:Nt.push(ce),Ft.push(xe.yytext),X.push(xe.yylloc),Nt.push(he[1]),ce=null,Ot=xe.yyleng,Rt=xe.yytext,mt=xe.yylineno,ee=xe.yylloc;break;case 2:if(Qt=this.productions_[he[1]][1],se.$=Ft[Ft.length-Qt],se._$={first_line:X[X.length-(Qt||1)].first_line,last_line:X[X.length-1].last_line,first_column:X[X.length-(Qt||1)].first_column,last_column:X[X.length-1].last_column},_e&&(se._$.range=[X[X.length-(Qt||1)].range[0],X[X.length-1].range[1]]),Re=this.performAction.apply(se,[Rt,Ot,mt,Kn.yy,he[1],Ft,X].concat(Cn)),typeof Re<"u")return Re;Qt&&(Nt=Nt.slice(0,-1*Qt*2),Ft=Ft.slice(0,-1*Qt),X=X.slice(0,-1*Qt)),Nt.push(this.productions_[he[1]][0]),Ft.push(se.$),X.push(se._$),vr=Bt[Nt[Nt.length-2]][Nt[Nt.length-1]],Nt.push(vr);break;case 3:return!0}}return!0}},Et=function(){var pt={EOF:1,parseError:function(nt,Nt){if(this.yy.parser)this.yy.parser.parseError(nt,Nt);else throw new Error(nt)},setInput:function(Ct,nt){return this.yy=nt||this.yy||{},this._input=Ct,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 Ct=this._input[0];this.yytext+=Ct,this.yyleng++,this.offset++,this.match+=Ct,this.matched+=Ct;var nt=Ct.match(/(?:\r\n?|\n).*/g);return nt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ct},unput:function(Ct){var nt=Ct.length,Nt=Ct.split(/(?:\r\n?|\n)/g);this._input=Ct+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-nt),this.offset-=nt;var dt=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 Ft=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===dt.length?this.yylloc.first_column:0)+dt[dt.length-Nt.length].length-Nt[0].length:this.yylloc.first_column-nt},this.options.ranges&&(this.yylloc.range=[Ft[0],Ft[0]+this.yyleng-nt]),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(Ct){this.unput(this.match.slice(Ct))},pastInput:function(){var Ct=this.matched.substr(0,this.matched.length-this.match.length);return(Ct.length>20?"...":"")+Ct.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ct=this.match;return Ct.length<20&&(Ct+=this._input.substr(0,20-Ct.length)),(Ct.substr(0,20)+(Ct.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ct=this.pastInput(),nt=new Array(Ct.length+1).join("-");return Ct+this.upcomingInput()+`
+`+nt+"^"},test_match:function(Ct,nt){var Nt,dt,Ft;if(this.options.backtrack_lexer&&(Ft={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&&(Ft.yylloc.range=this.yylloc.range.slice(0))),dt=Ct[0].match(/(?:\r\n?|\n).*/g),dt&&(this.yylineno+=dt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:dt?dt[dt.length-1].length-dt[dt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ct[0].length},this.yytext+=Ct[0],this.match+=Ct[0],this.matches=Ct,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(Ct[0].length),this.matched+=Ct[0],Nt=this.performAction.call(this,this.yy,this,nt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Nt)return Nt;if(this._backtrack){for(var X in Ft)this[X]=Ft[X];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ct,nt,Nt,dt;this._more||(this.yytext="",this.match="");for(var Ft=this._currentRules(),X=0;X<Ft.length;X++)if(Nt=this._input.match(this.rules[Ft[X]]),Nt&&(!nt||Nt[0].length>nt[0].length)){if(nt=Nt,dt=X,this.options.backtrack_lexer){if(Ct=this.test_match(Nt,Ft[X]),Ct!==!1)return Ct;if(this._backtrack){nt=!1;continue}else return!1}else if(!this.options.flex)break}return nt?(Ct=this.test_match(nt,Ft[dt]),Ct!==!1?Ct:!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 nt=this.next();return nt||this.lex()},begin:function(nt){this.conditionStack.push(nt)},popState:function(){var nt=this.conditionStack.length-1;return nt>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(nt){return nt=this.conditionStack.length-1-Math.abs(nt||0),nt>=0?this.conditionStack[nt]:"INITIAL"},pushState:function(nt){this.begin(nt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(nt,Nt,dt,Ft){switch(dt){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;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 this.begin("open_directive"),52;case 8:return this.begin("type_directive"),53;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),55;case 11:return 54;case 12:return 11;case 13:break;case 14:return 9;case 15:return 31;case 16:return 51;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 20:break;case 21:return 40;case 22:return 37;case 23:return 37;case 24:return 41;case 25:break;case 26:return this.popState(),22;case 27:return Nt.yytext[0];case 28:return 44;case 29:return 46;case 30:return 46;case 31:return 46;case 32:return 44;case 33:return 44;case 34:return 45;case 35:return 45;case 36:return 45;case 37:return 45;case 38:return 45;case 39:return 46;case 40:return 45;case 41:return 46;case 42:return 47;case 43:return 47;case 44:return 47;case 45:return 47;case 46:return 44;case 47:return 45;case 48:return 46;case 49:return 48;case 50:return 49;case 51:return 50;case 52:return 50;case 53:return 49;case 54:return 49;case 55:return 49;case 56:return 30;case 57:return Nt.yytext[0];case 58:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?: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},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,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],inclusive:!0}}};return pt}();st.lexer=Et;function gt(){this.yy={}}return gt.prototype=st,st.Parser=gt,new gt}();M0t.parser=M0t;const S$e=M0t;let xN={},D0t=[];const A$e={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"},L$e={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},M$e=function(i,a,f){f1.parseDirective(this,i,a,f)},IBt=function(i){return xN[i]===void 0&&(xN[i]={attributes:[]},Vt.info("Added new entity :",i)),xN[i]},D$e={Cardinality:A$e,Identification:L$e,parseDirective:M$e,getConfig:()=>Me().er,addEntity:IBt,addAttributes:function(i,a){let f=IBt(i),p;for(p=a.length-1;p>=0;p--)f.attributes.push(a[p]),Vt.debug("Added attribute ",a[p].attributeName)},getEntities:()=>xN,addRelationship:function(i,a,f,p){let v={entityA:i,roleA:a,entityB:f,relSpec:p};D0t.push(v),Vt.debug("Added new relationship :",v)},getRelationships:()=>D0t,clear:function(){xN={},D0t=[],hg()},setAccTitle:E0,getAccTitle:fg,setAccDescription:dg,getAccDescription:gg,setDiagramTitle:F2,getDiagramTitle:fp},cm={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"},um={ERMarkers:cm,insertMarkers:function(i,a){let f;i.append("defs").append("marker").attr("id",cm.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",cm.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",cm.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",cm.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"),f=i.append("defs").append("marker").attr("id",cm.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),f.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M9,0 L9,18"),f=i.append("defs").append("marker").attr("id",cm.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),f.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M21,0 L21,18"),i.append("defs").append("marker").attr("id",cm.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",cm.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"),f=i.append("defs").append("marker").attr("id",cm.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),f.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),f=i.append("defs").append("marker").attr("id",cm.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),f.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},I$e=/^(?:[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 O$e(i){return typeof i=="string"&&I$e.test(i)}const zd=[];for(let i=0;i<256;++i)zd.push((i+256).toString(16).slice(1));function P$e(i,a=0){return(zd[i[a+0]]+zd[i[a+1]]+zd[i[a+2]]+zd[i[a+3]]+"-"+zd[i[a+4]]+zd[i[a+5]]+"-"+zd[i[a+6]]+zd[i[a+7]]+"-"+zd[i[a+8]]+zd[i[a+9]]+"-"+zd[i[a+10]]+zd[i[a+11]]+zd[i[a+12]]+zd[i[a+13]]+zd[i[a+14]]+zd[i[a+15]]).toLowerCase()}function N$e(i){if(!O$e(i))throw TypeError("Invalid UUID");let a;const f=new Uint8Array(16);return f[0]=(a=parseInt(i.slice(0,8),16))>>>24,f[1]=a>>>16&255,f[2]=a>>>8&255,f[3]=a&255,f[4]=(a=parseInt(i.slice(9,13),16))>>>8,f[5]=a&255,f[6]=(a=parseInt(i.slice(14,18),16))>>>8,f[7]=a&255,f[8]=(a=parseInt(i.slice(19,23),16))>>>8,f[9]=a&255,f[10]=(a=parseInt(i.slice(24,36),16))/1099511627776&255,f[11]=a/4294967296&255,f[12]=a>>>24&255,f[13]=a>>>16&255,f[14]=a>>>8&255,f[15]=a&255,f}function F$e(i){i=unescape(encodeURIComponent(i));const a=[];for(let f=0;f<i.length;++f)a.push(i.charCodeAt(f));return a}const B$e="6ba7b810-9dad-11d1-80b4-00c04fd430c8",R$e="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function j$e(i,a,f){function p(v,m,b,E){var C;if(typeof v=="string"&&(v=F$e(v)),typeof m=="string"&&(m=N$e(m)),((C=m)===null||C===void 0?void 0:C.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let A=new Uint8Array(16+v.length);if(A.set(m),A.set(v,m.length),A=f(A),A[6]=A[6]&15|a,A[8]=A[8]&63|128,b){E=E||0;for(let N=0;N<16;++N)b[E+N]=A[N];return b}return P$e(A)}try{p.name=i}catch{}return p.DNS=B$e,p.URL=R$e,p}function $$e(i,a,f,p){switch(i){case 0:return a&f^~a&p;case 1:return a^f^p;case 2:return a&f^a&p^f&p;case 3:return a^f^p}}function I0t(i,a){return i<<a|i>>>32-a}function z$e(i){const a=[1518500249,1859775393,2400959708,3395469782],f=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){const b=unescape(encodeURIComponent(i));i=[];for(let E=0;E<b.length;++E)i.push(b.charCodeAt(E))}else Array.isArray(i)||(i=Array.prototype.slice.call(i));i.push(128);const p=i.length/4+2,v=Math.ceil(p/16),m=new Array(v);for(let b=0;b<v;++b){const E=new Uint32Array(16);for(let C=0;C<16;++C)E[C]=i[b*64+C*4]<<24|i[b*64+C*4+1]<<16|i[b*64+C*4+2]<<8|i[b*64+C*4+3];m[b]=E}m[v-1][14]=(i.length-1)*8/Math.pow(2,32),m[v-1][14]=Math.floor(m[v-1][14]),m[v-1][15]=(i.length-1)*8&4294967295;for(let b=0;b<v;++b){const E=new Uint32Array(80);for(let R=0;R<16;++R)E[R]=m[b][R];for(let R=16;R<80;++R)E[R]=I0t(E[R-3]^E[R-8]^E[R-14]^E[R-16],1);let C=f[0],A=f[1],N=f[2],F=f[3],j=f[4];for(let R=0;R<80;++R){const H=Math.floor(R/20),Y=I0t(C,5)+$$e(H,A,N,F)+j+a[H]+E[R]>>>0;j=F,F=N,N=I0t(A,30)>>>0,A=C,C=Y}f[0]=f[0]+C>>>0,f[1]=f[1]+A>>>0,f[2]=f[2]+N>>>0,f[3]=f[3]+F>>>0,f[4]=f[4]+j>>>0}return[f[0]>>24&255,f[0]>>16&255,f[0]>>8&255,f[0]&255,f[1]>>24&255,f[1]>>16&255,f[1]>>8&255,f[1]&255,f[2]>>24&255,f[2]>>16&255,f[2]>>8&255,f[2]&255,f[3]>>24&255,f[3]>>16&255,f[3]>>8&255,f[3]&255,f[4]>>24&255,f[4]>>16&255,f[4]>>8&255,f[4]&255]}const q$e=j$e("v5",80,z$e),H$e=/[^\dA-Za-z](\W)*/g;let g1={},kN=new Map;const V$e=function(i){const a=Object.keys(i);for(const f of a)g1[f]=i[f]},G$e=(i,a,f)=>{const p=g1.entityPadding/3,v=g1.entityPadding/3,m=g1.fontSize*.85,b=a.node().getBBox(),E=[];let C=!1,A=!1,N=0,F=0,j=0,R=0,H=b.height+p*2,Y=1;f.forEach(ht=>{ht.attributeKeyTypeList!==void 0&&ht.attributeKeyTypeList.length>0&&(C=!0),ht.attributeComment!==void 0&&(A=!0)}),f.forEach(ht=>{const Tt=`${a.node().id}-attr-${Y}`;let yt=0;const vt=HP(ht.attributeType),ut=i.append("text").classed("er entityLabel",!0).attr("id",`${Tt}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Me().fontFamily).style("font-size",m+"px").text(vt),xt=i.append("text").classed("er entityLabel",!0).attr("id",`${Tt}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Me().fontFamily).style("font-size",m+"px").text(ht.attributeName),st={};st.tn=ut,st.nn=xt;const Et=ut.node().getBBox(),gt=xt.node().getBBox();if(N=Math.max(N,Et.width),F=Math.max(F,gt.width),yt=Math.max(Et.height,gt.height),C){const pt=ht.attributeKeyTypeList!==void 0?ht.attributeKeyTypeList.join(","):"",Ct=i.append("text").classed("er entityLabel",!0).attr("id",`${Tt}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Me().fontFamily).style("font-size",m+"px").text(pt);st.kn=Ct;const nt=Ct.node().getBBox();j=Math.max(j,nt.width),yt=Math.max(yt,nt.height)}if(A){const pt=i.append("text").classed("er entityLabel",!0).attr("id",`${Tt}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Me().fontFamily).style("font-size",m+"px").text(ht.attributeComment||"");st.cn=pt;const Ct=pt.node().getBBox();R=Math.max(R,Ct.width),yt=Math.max(yt,Ct.height)}st.height=yt,E.push(st),H+=yt+p*2,Y+=1});let rt=4;C&&(rt+=2),A&&(rt+=2);const J=N+F+j+R,it={width:Math.max(g1.minEntityWidth,Math.max(b.width+g1.entityPadding*2,J+v*rt)),height:f.length>0?H:Math.max(g1.minEntityHeight,b.height+g1.entityPadding*2)};if(f.length>0){const ht=Math.max(0,(it.width-J-v*rt)/(rt/2));a.attr("transform","translate("+it.width/2+","+(p+b.height/2)+")");let Tt=b.height+p*2,yt="attributeBoxOdd";E.forEach(vt=>{const ut=Tt+p+vt.height/2;vt.tn.attr("transform","translate("+v+","+ut+")");const xt=i.insert("rect","#"+vt.tn.node().id).classed(`er ${yt}`,!0).attr("x",0).attr("y",Tt).attr("width",N+v*2+ht).attr("height",vt.height+p*2),st=parseFloat(xt.attr("x"))+parseFloat(xt.attr("width"));vt.nn.attr("transform","translate("+(st+v)+","+ut+")");const Et=i.insert("rect","#"+vt.nn.node().id).classed(`er ${yt}`,!0).attr("x",st).attr("y",Tt).attr("width",F+v*2+ht).attr("height",vt.height+p*2);let gt=parseFloat(Et.attr("x"))+parseFloat(Et.attr("width"));if(C){vt.kn.attr("transform","translate("+(gt+v)+","+ut+")");const pt=i.insert("rect","#"+vt.kn.node().id).classed(`er ${yt}`,!0).attr("x",gt).attr("y",Tt).attr("width",j+v*2+ht).attr("height",vt.height+p*2);gt=parseFloat(pt.attr("x"))+parseFloat(pt.attr("width"))}A&&(vt.cn.attr("transform","translate("+(gt+v)+","+ut+")"),i.insert("rect","#"+vt.cn.node().id).classed(`er ${yt}`,"true").attr("x",gt).attr("y",Tt).attr("width",R+v*2+ht).attr("height",vt.height+p*2)),Tt+=vt.height+p*2,yt=yt==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else it.height=Math.max(g1.minEntityHeight,H),a.attr("transform","translate("+it.width/2+","+it.height/2+")");return it},U$e=function(i,a,f){const p=Object.keys(a);let v;return p.forEach(function(m){const b=Z$e(m,"entity");kN.set(m,b);const E=i.append("g").attr("id",b);v=v===void 0?b:v;const C="text-"+b,A=E.append("text").classed("er entityLabel",!0).attr("id",C).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",Me().fontFamily).style("font-size",g1.fontSize+"px").text(m),{width:N,height:F}=G$e(E,A,a[m].attributes),R=E.insert("rect","#"+C).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",N).attr("height",F).node().getBBox();f.setNode(b,{width:R.width,height:R.height,shape:"rect",id:b})}),v},W$e=function(i,a){a.nodes().forEach(function(f){f!==void 0&&a.node(f)!==void 0&&i.select("#"+f).attr("transform","translate("+(a.node(f).x-a.node(f).width/2)+","+(a.node(f).y-a.node(f).height/2)+" )")})},OBt=function(i){return(i.entityA+i.roleA+i.entityB).replace(/\s/g,"")},K$e=function(i,a){return i.forEach(function(f){a.setEdge(kN.get(f.entityA),kN.get(f.entityB),{relationship:f},OBt(f))}),i};let PBt=0;const Y$e=function(i,a,f,p,v){PBt++;const m=f.edge(kN.get(a.entityA),kN.get(a.entityB),OBt(a)),b=Z9().x(function(H){return H.x}).y(function(H){return H.y}).curve(MA),E=i.insert("path","#"+p).classed("er relationshipLine",!0).attr("d",b(m.points)).style("stroke",g1.stroke).style("fill","none");a.relSpec.relType===v.db.Identification.NON_IDENTIFYING&&E.attr("stroke-dasharray","8,8");let C="";switch(g1.arrowMarkerAbsolute&&(C=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,C=C.replace(/\(/g,"\\("),C=C.replace(/\)/g,"\\)")),a.relSpec.cardA){case v.db.Cardinality.ZERO_OR_ONE:E.attr("marker-end","url("+C+"#"+um.ERMarkers.ZERO_OR_ONE_END+")");break;case v.db.Cardinality.ZERO_OR_MORE:E.attr("marker-end","url("+C+"#"+um.ERMarkers.ZERO_OR_MORE_END+")");break;case v.db.Cardinality.ONE_OR_MORE:E.attr("marker-end","url("+C+"#"+um.ERMarkers.ONE_OR_MORE_END+")");break;case v.db.Cardinality.ONLY_ONE:E.attr("marker-end","url("+C+"#"+um.ERMarkers.ONLY_ONE_END+")");break;case v.db.Cardinality.MD_PARENT:E.attr("marker-end","url("+C+"#"+um.ERMarkers.MD_PARENT_END+")");break}switch(a.relSpec.cardB){case v.db.Cardinality.ZERO_OR_ONE:E.attr("marker-start","url("+C+"#"+um.ERMarkers.ZERO_OR_ONE_START+")");break;case v.db.Cardinality.ZERO_OR_MORE:E.attr("marker-start","url("+C+"#"+um.ERMarkers.ZERO_OR_MORE_START+")");break;case v.db.Cardinality.ONE_OR_MORE:E.attr("marker-start","url("+C+"#"+um.ERMarkers.ONE_OR_MORE_START+")");break;case v.db.Cardinality.ONLY_ONE:E.attr("marker-start","url("+C+"#"+um.ERMarkers.ONLY_ONE_START+")");break;case v.db.Cardinality.MD_PARENT:E.attr("marker-start","url("+C+"#"+um.ERMarkers.MD_PARENT_START+")");break}const A=E.node().getTotalLength(),N=E.node().getPointAtLength(A*.5),F="rel"+PBt,R=i.append("text").classed("er relationshipLabel",!0).attr("id",F).attr("x",N.x).attr("y",N.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",Me().fontFamily).style("font-size",g1.fontSize+"px").text(a.roleA).node().getBBox();i.insert("rect","#"+F).classed("er relationshipLabelBox",!0).attr("x",N.x-R.width/2).attr("y",N.y-R.height/2).attr("width",R.width).attr("height",R.height)},X$e=function(i,a,f,p){g1=Me().er,Vt.info("Drawing ER diagram");const v=Me().securityLevel;let m;v==="sandbox"&&(m=wr("#i"+a));const E=wr(v==="sandbox"?m.nodes()[0].contentDocument.body:"body").select(`[id='${a}']`);um.insertMarkers(E,g1);let C;C=new d1({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:g1.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const A=U$e(E,p.db.getEntities(),C),N=K$e(p.db.getRelationships(),C);rL(C),W$e(E,C),N.forEach(function(Y){Y$e(E,Y,C,A,p)});const F=g1.diagramPadding;ho.insertTitle(E,"entityTitleText",g1.titleTopMargin,p.db.getDiagramTitle());const j=E.node().getBBox(),R=j.width+F*2,H=j.height+F*2;N2(E,H,R,g1.useMaxWidth),E.attr("viewBox",`${j.x-F} ${j.y-F} ${R} ${H}`)},Q$e="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function Z$e(i="",a=""){const f=i.replace(H$e,"");return`${NBt(a)}${NBt(f)}${q$e(i,Q$e)}`}function NBt(i=""){return i.length>0?`${i}-`:""}const J$e=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:S$e,db:D$e,renderer:{setConf:V$e,draw:X$e},styles:i=>`
+ .entityBox {
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
+ }
+
+ .attributeBoxOdd {
+ fill: ${i.attributeBackgroundColorOdd};
+ stroke: ${i.nodeBorder};
+ }
+
+ .attributeBoxEven {
+ fill: ${i.attributeBackgroundColorEven};
+ stroke: ${i.nodeBorder};
+ }
+
+ .relationshipLabelBox {
+ fill: ${i.tertiaryColor};
+ opacity: 0.7;
+ background-color: ${i.tertiaryColor};
+ rect {
+ opacity: 0.5;
+ }
+ }
+
+ .relationshipLine {
+ stroke: ${i.lineColor};
+ }
+
+ .entityTitleText {
+ text-anchor: middle;
+ font-size: 18px;
+ fill: ${i.textColor};
+ }
+ #MD_PARENT_START {
+ fill: #f5f5f5 !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
}
-`,aIe=s=>`
+ #MD_PARENT_END {
+ fill: #f5f5f5 !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+ }
+
+`}},Symbol.toStringTag,{value:"Module"}));var O0t=function(){var i=function(xt,st,Et,gt){for(Et=Et||{},gt=xt.length;gt--;Et[xt[gt]]=st);return Et},a=[1,4],f=[1,7],p=[1,5],v=[1,9],m=[1,6],b=[2,6],E=[1,16],C=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],A=[8,14,20,22,24,25,27,29,32,37,40],N=[8,13,14,20,22,24,25,27,29,32,37,40],F=[1,26],j=[6,8,14,50,55],R=[8,14,55],H=[1,53],Y=[1,52],rt=[8,14,30,33,35,38,55],J=[1,67],it=[1,68],ht=[1,69],Tt=[8,14,33,35,42,55],yt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR: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,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(st,Et,gt,pt,Ct,nt,Nt){var dt=nt.length-1;switch(Ct){case 3:return nt[dt];case 4:return nt[dt-1];case 5:return pt.setDirection(nt[dt-3]),nt[dt-1];case 7:pt.setOptions(nt[dt-1]),this.$=nt[dt];break;case 8:nt[dt-1]+=nt[dt],this.$=nt[dt-1];break;case 10:this.$=[];break;case 11:nt[dt-1].push(nt[dt]),this.$=nt[dt-1];break;case 12:this.$=nt[dt-1];break;case 17:this.$=nt[dt].trim(),pt.setAccTitle(this.$);break;case 18:case 19:this.$=nt[dt].trim(),pt.setAccDescription(this.$);break;case 20:pt.addSection(nt[dt].substr(8)),this.$=nt[dt].substr(8);break;case 22:pt.checkout(nt[dt]);break;case 23:pt.branch(nt[dt]);break;case 24:pt.branch(nt[dt-2],nt[dt]);break;case 25:pt.cherryPick(nt[dt],"",void 0);break;case 26:pt.cherryPick(nt[dt-2],"",nt[dt]);break;case 27:case 29:pt.cherryPick(nt[dt-2],"","");break;case 28:pt.cherryPick(nt[dt],"",nt[dt-2]);break;case 30:pt.merge(nt[dt],"","","");break;case 31:pt.merge(nt[dt-2],nt[dt],"","");break;case 32:pt.merge(nt[dt-2],"",nt[dt],"");break;case 33:pt.merge(nt[dt-2],"","",nt[dt]);break;case 34:pt.merge(nt[dt-4],nt[dt],"",nt[dt-2]);break;case 35:pt.merge(nt[dt-4],"",nt[dt],nt[dt-2]);break;case 36:pt.merge(nt[dt-4],"",nt[dt-2],nt[dt]);break;case 37:pt.merge(nt[dt-4],nt[dt-2],nt[dt],"");break;case 38:pt.merge(nt[dt-4],nt[dt-2],"",nt[dt]);break;case 39:pt.merge(nt[dt-4],nt[dt],nt[dt-2],"");break;case 40:pt.merge(nt[dt-6],nt[dt-4],nt[dt-2],nt[dt]);break;case 41:pt.merge(nt[dt-6],nt[dt],nt[dt-4],nt[dt-2]);break;case 42:pt.merge(nt[dt-6],nt[dt-4],nt[dt],nt[dt-2]);break;case 43:pt.merge(nt[dt-6],nt[dt-2],nt[dt-4],nt[dt]);break;case 44:pt.merge(nt[dt-6],nt[dt],nt[dt-2],nt[dt-4]);break;case 45:pt.merge(nt[dt-6],nt[dt-2],nt[dt],nt[dt-4]);break;case 46:pt.commit(nt[dt]);break;case 47:pt.commit("","",pt.commitType.NORMAL,nt[dt]);break;case 48:pt.commit("","",nt[dt],"");break;case 49:pt.commit("","",nt[dt],nt[dt-2]);break;case 50:pt.commit("","",nt[dt-2],nt[dt]);break;case 51:pt.commit("",nt[dt],pt.commitType.NORMAL,"");break;case 52:pt.commit("",nt[dt-2],pt.commitType.NORMAL,nt[dt]);break;case 53:pt.commit("",nt[dt],pt.commitType.NORMAL,nt[dt-2]);break;case 54:pt.commit("",nt[dt-2],nt[dt],"");break;case 55:pt.commit("",nt[dt],nt[dt-2],"");break;case 56:pt.commit("",nt[dt-4],nt[dt-2],nt[dt]);break;case 57:pt.commit("",nt[dt-4],nt[dt],nt[dt-2]);break;case 58:pt.commit("",nt[dt-2],nt[dt-4],nt[dt]);break;case 59:pt.commit("",nt[dt],nt[dt-4],nt[dt-2]);break;case 60:pt.commit("",nt[dt],nt[dt-2],nt[dt-4]);break;case 61:pt.commit("",nt[dt-2],nt[dt],nt[dt-4]);break;case 62:pt.commit(nt[dt],"",pt.commitType.NORMAL,"");break;case 63:pt.commit(nt[dt],"",pt.commitType.NORMAL,nt[dt-2]);break;case 64:pt.commit(nt[dt-2],"",pt.commitType.NORMAL,nt[dt]);break;case 65:pt.commit(nt[dt-2],"",nt[dt],"");break;case 66:pt.commit(nt[dt],"",nt[dt-2],"");break;case 67:pt.commit(nt[dt],nt[dt-2],pt.commitType.NORMAL,"");break;case 68:pt.commit(nt[dt-2],nt[dt],pt.commitType.NORMAL,"");break;case 69:pt.commit(nt[dt-4],"",nt[dt-2],nt[dt]);break;case 70:pt.commit(nt[dt-4],"",nt[dt],nt[dt-2]);break;case 71:pt.commit(nt[dt-2],"",nt[dt-4],nt[dt]);break;case 72:pt.commit(nt[dt],"",nt[dt-4],nt[dt-2]);break;case 73:pt.commit(nt[dt],"",nt[dt-2],nt[dt-4]);break;case 74:pt.commit(nt[dt-2],"",nt[dt],nt[dt-4]);break;case 75:pt.commit(nt[dt-4],nt[dt],nt[dt-2],"");break;case 76:pt.commit(nt[dt-4],nt[dt-2],nt[dt],"");break;case 77:pt.commit(nt[dt-2],nt[dt],nt[dt-4],"");break;case 78:pt.commit(nt[dt],nt[dt-2],nt[dt-4],"");break;case 79:pt.commit(nt[dt],nt[dt-4],nt[dt-2],"");break;case 80:pt.commit(nt[dt-2],nt[dt-4],nt[dt],"");break;case 81:pt.commit(nt[dt-4],nt[dt],pt.commitType.NORMAL,nt[dt-2]);break;case 82:pt.commit(nt[dt-4],nt[dt-2],pt.commitType.NORMAL,nt[dt]);break;case 83:pt.commit(nt[dt-2],nt[dt],pt.commitType.NORMAL,nt[dt-4]);break;case 84:pt.commit(nt[dt],nt[dt-2],pt.commitType.NORMAL,nt[dt-4]);break;case 85:pt.commit(nt[dt],nt[dt-4],pt.commitType.NORMAL,nt[dt-2]);break;case 86:pt.commit(nt[dt-2],nt[dt-4],pt.commitType.NORMAL,nt[dt]);break;case 87:pt.commit(nt[dt-6],nt[dt-4],nt[dt-2],nt[dt]);break;case 88:pt.commit(nt[dt-6],nt[dt-4],nt[dt],nt[dt-2]);break;case 89:pt.commit(nt[dt-6],nt[dt-2],nt[dt-4],nt[dt]);break;case 90:pt.commit(nt[dt-6],nt[dt],nt[dt-4],nt[dt-2]);break;case 91:pt.commit(nt[dt-6],nt[dt-2],nt[dt],nt[dt-4]);break;case 92:pt.commit(nt[dt-6],nt[dt],nt[dt-2],nt[dt-4]);break;case 93:pt.commit(nt[dt-4],nt[dt-6],nt[dt-2],nt[dt]);break;case 94:pt.commit(nt[dt-4],nt[dt-6],nt[dt],nt[dt-2]);break;case 95:pt.commit(nt[dt-2],nt[dt-6],nt[dt-4],nt[dt]);break;case 96:pt.commit(nt[dt],nt[dt-6],nt[dt-4],nt[dt-2]);break;case 97:pt.commit(nt[dt-2],nt[dt-6],nt[dt],nt[dt-4]);break;case 98:pt.commit(nt[dt],nt[dt-6],nt[dt-2],nt[dt-4]);break;case 99:pt.commit(nt[dt],nt[dt-4],nt[dt-2],nt[dt-6]);break;case 100:pt.commit(nt[dt-2],nt[dt-4],nt[dt],nt[dt-6]);break;case 101:pt.commit(nt[dt],nt[dt-2],nt[dt-4],nt[dt-6]);break;case 102:pt.commit(nt[dt-2],nt[dt],nt[dt-4],nt[dt-6]);break;case 103:pt.commit(nt[dt-4],nt[dt-2],nt[dt],nt[dt-6]);break;case 104:pt.commit(nt[dt-4],nt[dt],nt[dt-2],nt[dt-6]);break;case 105:pt.commit(nt[dt-2],nt[dt-4],nt[dt-6],nt[dt]);break;case 106:pt.commit(nt[dt],nt[dt-4],nt[dt-6],nt[dt-2]);break;case 107:pt.commit(nt[dt-2],nt[dt],nt[dt-6],nt[dt-4]);break;case 108:pt.commit(nt[dt],nt[dt-2],nt[dt-6],nt[dt-4]);break;case 109:pt.commit(nt[dt-4],nt[dt-2],nt[dt-6],nt[dt]);break;case 110:pt.commit(nt[dt-4],nt[dt],nt[dt-6],nt[dt-2]);break;case 111:this.$="";break;case 112:this.$=nt[dt];break;case 113:this.$=pt.commitType.NORMAL;break;case 114:this.$=pt.commitType.REVERSE;break;case 115:this.$=pt.commitType.HIGHLIGHT;break;case 118:pt.parseDirective("%%{","open_directive");break;case 119:pt.parseDirective(nt[dt],"type_directive");break;case 120:nt[dt]=nt[dt].trim().replace(/'/g,'"'),pt.parseDirective(nt[dt],"arg_directive");break;case 121:pt.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:a,8:f,14:p,46:8,50:v,55:m},{1:[3]},{3:10,4:2,5:3,6:a,8:f,14:p,46:8,50:v,55:m},{3:11,4:2,5:3,6:a,8:f,14:p,46:8,50:v,55:m},{7:12,8:b,9:[1,13],10:[1,14],11:15,14:E},i(C,[2,124]),i(C,[2,125]),i(C,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:b,11:15,14:E},{9:[1,21]},i(A,[2,10],{12:22,13:[1,23]}),i(N,[2,9]),{9:[1,25],48:24,53:F},i([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:b,11:15,14:E},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},i(N,[2,8]),i(j,[2,116]),{49:45,52:[1,46]},i(j,[2,121]),{1:[2,4]},{8:[1,47]},i(A,[2,11]),{4:48,8:f,14:p,55:m},i(A,[2,13]),i(R,[2,14]),i(R,[2,15]),i(R,[2,16]),{21:[1,49]},{23:[1,50]},i(R,[2,19]),i(R,[2,20]),i(R,[2,21]),{28:51,34:H,54:Y},i(R,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:H,54:Y},{33:[1,61],35:[1,62]},{28:63,34:H,54:Y},{48:64,53:F},{53:[2,120]},{1:[2,5]},i(A,[2,12]),i(R,[2,17]),i(R,[2,18]),i(R,[2,22]),i(rt,[2,122]),i(rt,[2,123]),i(R,[2,46]),{34:[1,65]},{39:66,43:J,44:it,45:ht},{34:[1,70]},{34:[1,71]},i(R,[2,112]),i(R,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},i(R,[2,23],{30:[1,78]}),i(j,[2,117]),i(R,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),i(R,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),i(Tt,[2,113]),i(Tt,[2,114]),i(Tt,[2,115]),i(R,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),i(R,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:J,44:it,45:ht},{34:[1,93]},i(R,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:J,44:it,45:ht},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:J,44:it,45:ht},{34:[1,106]},{34:[1,107]},{39:108,43:J,44:it,45:ht},{34:[1,109]},i(R,[2,31],{35:[1,111],38:[1,110]}),i(R,[2,32],{33:[1,113],35:[1,112]}),i(R,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},i(R,[2,24]),i(R,[2,49],{33:[1,120],42:[1,121]}),i(R,[2,53],{38:[1,122],42:[1,123]}),i(R,[2,63],{33:[1,125],38:[1,124]}),i(R,[2,50],{33:[1,126],42:[1,127]}),i(R,[2,55],{35:[1,128],42:[1,129]}),i(R,[2,66],{33:[1,131],35:[1,130]}),i(R,[2,52],{38:[1,132],42:[1,133]}),i(R,[2,54],{35:[1,134],42:[1,135]}),i(R,[2,67],{35:[1,137],38:[1,136]}),i(R,[2,64],{33:[1,139],38:[1,138]}),i(R,[2,65],{33:[1,141],35:[1,140]}),i(R,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:J,44:it,45:ht},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:J,44:it,45:ht},i(R,[2,26]),i(R,[2,27]),i(R,[2,28]),i(R,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:J,44:it,45:ht},{34:[1,153]},{39:154,43:J,44:it,45:ht},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:J,44:it,45:ht},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:J,44:it,45:ht},{34:[1,167]},{39:168,43:J,44:it,45:ht},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:J,44:it,45:ht},{34:[1,173]},i(R,[2,37],{35:[1,174]}),i(R,[2,38],{38:[1,175]}),i(R,[2,36],{33:[1,176]}),i(R,[2,39],{35:[1,177]}),i(R,[2,34],{38:[1,178]}),i(R,[2,35],{33:[1,179]}),i(R,[2,60],{42:[1,180]}),i(R,[2,73],{33:[1,181]}),i(R,[2,61],{42:[1,182]}),i(R,[2,84],{38:[1,183]}),i(R,[2,74],{33:[1,184]}),i(R,[2,83],{38:[1,185]}),i(R,[2,59],{42:[1,186]}),i(R,[2,72],{33:[1,187]}),i(R,[2,58],{42:[1,188]}),i(R,[2,78],{35:[1,189]}),i(R,[2,71],{33:[1,190]}),i(R,[2,77],{35:[1,191]}),i(R,[2,57],{42:[1,192]}),i(R,[2,85],{38:[1,193]}),i(R,[2,56],{42:[1,194]}),i(R,[2,79],{35:[1,195]}),i(R,[2,80],{35:[1,196]}),i(R,[2,86],{38:[1,197]}),i(R,[2,70],{33:[1,198]}),i(R,[2,81],{38:[1,199]}),i(R,[2,69],{33:[1,200]}),i(R,[2,75],{35:[1,201]}),i(R,[2,76],{35:[1,202]}),i(R,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:J,44:it,45:ht},{34:[1,206]},{34:[1,207]},{39:208,43:J,44:it,45:ht},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:J,44:it,45:ht},{34:[1,214]},{39:215,43:J,44:it,45:ht},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:J,44:it,45:ht},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:J,44:it,45:ht},{34:[1,228]},{39:229,43:J,44:it,45:ht},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:J,44:it,45:ht},i(R,[2,40]),i(R,[2,42]),i(R,[2,41]),i(R,[2,43]),i(R,[2,45]),i(R,[2,44]),i(R,[2,101]),i(R,[2,102]),i(R,[2,99]),i(R,[2,100]),i(R,[2,104]),i(R,[2,103]),i(R,[2,108]),i(R,[2,107]),i(R,[2,106]),i(R,[2,105]),i(R,[2,110]),i(R,[2,109]),i(R,[2,98]),i(R,[2,97]),i(R,[2,96]),i(R,[2,95]),i(R,[2,93]),i(R,[2,94]),i(R,[2,92]),i(R,[2,91]),i(R,[2,90]),i(R,[2,89]),i(R,[2,87]),i(R,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(st,Et){if(Et.recoverable)this.trace(st);else{var gt=new Error(st);throw gt.hash=Et,gt}},parse:function(st){var Et=this,gt=[0],pt=[],Ct=[null],nt=[],Nt=this.table,dt="",Ft=0,X=0,Bt=2,Rt=1,mt=nt.slice.call(arguments,1),Ot=Object.create(this.lexer),Gt={yy:{}};for(var Ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ve)&&(Gt.yy[Ve]=this.yy[Ve]);Ot.setInput(st,Gt.yy),Gt.yy.lexer=Ot,Gt.yy.parser=this,typeof Ot.yylloc>"u"&&(Ot.yylloc={});var Cn=Ot.yylloc;nt.push(Cn);var xe=Ot.options&&Ot.options.ranges;typeof Gt.yy.parseError=="function"?this.parseError=Gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Kn(){var Qt;return Qt=pt.pop()||Ot.lex()||Rt,typeof Qt!="number"&&(Qt instanceof Array&&(pt=Qt,Qt=pt.pop()),Qt=Et.symbols_[Qt]||Qt),Qt}for(var Se,ee,_e,qe,ce={},Ce,he,Re,se;;){if(ee=gt[gt.length-1],this.defaultActions[ee]?_e=this.defaultActions[ee]:((Se===null||typeof Se>"u")&&(Se=Kn()),_e=Nt[ee]&&Nt[ee][Se]),typeof _e>"u"||!_e.length||!_e[0]){var Pe="";se=[];for(Ce in Nt[ee])this.terminals_[Ce]&&Ce>Bt&&se.push("'"+this.terminals_[Ce]+"'");Ot.showPosition?Pe="Parse error on line "+(Ft+1)+`:
+`+Ot.showPosition()+`
+Expecting `+se.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'":Pe="Parse error on line "+(Ft+1)+": Unexpected "+(Se==Rt?"end of input":"'"+(this.terminals_[Se]||Se)+"'"),this.parseError(Pe,{text:Ot.match,token:this.terminals_[Se]||Se,line:Ot.yylineno,loc:Cn,expected:se})}if(_e[0]instanceof Array&&_e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ee+", token: "+Se);switch(_e[0]){case 1:gt.push(Se),Ct.push(Ot.yytext),nt.push(Ot.yylloc),gt.push(_e[1]),Se=null,X=Ot.yyleng,dt=Ot.yytext,Ft=Ot.yylineno,Cn=Ot.yylloc;break;case 2:if(he=this.productions_[_e[1]][1],ce.$=Ct[Ct.length-he],ce._$={first_line:nt[nt.length-(he||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(he||1)].first_column,last_column:nt[nt.length-1].last_column},xe&&(ce._$.range=[nt[nt.length-(he||1)].range[0],nt[nt.length-1].range[1]]),qe=this.performAction.apply(ce,[dt,X,Ft,Gt.yy,_e[1],Ct,nt].concat(mt)),typeof qe<"u")return qe;he&&(gt=gt.slice(0,-1*he*2),Ct=Ct.slice(0,-1*he),nt=nt.slice(0,-1*he)),gt.push(this.productions_[_e[1]][0]),Ct.push(ce.$),nt.push(ce._$),Re=Nt[gt[gt.length-2]][gt[gt.length-1]],gt.push(Re);break;case 3:return!0}}return!0}},vt=function(){var xt={EOF:1,parseError:function(Et,gt){if(this.yy.parser)this.yy.parser.parseError(Et,gt);else throw new Error(Et)},setInput:function(st,Et){return this.yy=Et||this.yy||{},this._input=st,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 st=this._input[0];this.yytext+=st,this.yyleng++,this.offset++,this.match+=st,this.matched+=st;var Et=st.match(/(?:\r\n?|\n).*/g);return Et?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),st},unput:function(st){var Et=st.length,gt=st.split(/(?:\r\n?|\n)/g);this._input=st+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Et),this.offset-=Et;var pt=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),gt.length-1&&(this.yylineno-=gt.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:gt?(gt.length===pt.length?this.yylloc.first_column:0)+pt[pt.length-gt.length].length-gt[0].length:this.yylloc.first_column-Et},this.options.ranges&&(this.yylloc.range=[Ct[0],Ct[0]+this.yyleng-Et]),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(st){this.unput(this.match.slice(st))},pastInput:function(){var st=this.matched.substr(0,this.matched.length-this.match.length);return(st.length>20?"...":"")+st.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var st=this.match;return st.length<20&&(st+=this._input.substr(0,20-st.length)),(st.substr(0,20)+(st.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var st=this.pastInput(),Et=new Array(st.length+1).join("-");return st+this.upcomingInput()+`
+`+Et+"^"},test_match:function(st,Et){var gt,pt,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))),pt=st[0].match(/(?:\r\n?|\n).*/g),pt&&(this.yylineno+=pt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:pt?pt[pt.length-1].length-pt[pt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+st[0].length},this.yytext+=st[0],this.match+=st[0],this.matches=st,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(st[0].length),this.matched+=st[0],gt=this.performAction.call(this,this.yy,this,Et,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),gt)return gt;if(this._backtrack){for(var nt in Ct)this[nt]=Ct[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var st,Et,gt,pt;this._more||(this.yytext="",this.match="");for(var Ct=this._currentRules(),nt=0;nt<Ct.length;nt++)if(gt=this._input.match(this.rules[Ct[nt]]),gt&&(!Et||gt[0].length>Et[0].length)){if(Et=gt,pt=nt,this.options.backtrack_lexer){if(st=this.test_match(gt,Ct[nt]),st!==!1)return st;if(this._backtrack){Et=!1;continue}else return!1}else if(!this.options.flex)break}return Et?(st=this.test_match(Et,Ct[pt]),st!==!1?st:!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 Et=this.next();return Et||this.lex()},begin:function(Et){this.conditionStack.push(Et)},popState:function(){var Et=this.conditionStack.length-1;return Et>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(Et){return Et=this.conditionStack.length-1-Math.abs(Et||0),Et>=0?this.conditionStack[Et]:"INITIAL"},pushState:function(Et){this.begin(Et)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Et,gt,pt,Ct){switch(pt){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:break;case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:return 10;case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 34:this.popState();break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 38:this.popState();break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:#[^\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,/^(?: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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};return xt}();yt.lexer=vt;function ut(){this.yy={}}return ut.prototype=yt,yt.Parser=ut,new ut}();O0t.parser=O0t;const tze=O0t;let EK=Me().gitGraph.mainBranchName,eze=Me().gitGraph.mainBranchOrder,p1={},bg=null,EN={};EN[EK]={name:EK,order:eze};let zf={};zf[EK]=bg;let id=EK,FBt="LR",mE=0;function P0t(){return HIt({length:7})}const nze=function(i,a,f){f1.parseDirective(this,i,a,f)};function rze(i,a){const f=Object.create(null);return i.reduce((p,v)=>{const m=a(v);return f[m]||(f[m]=!0,p.push(v)),p},[])}const ize=function(i){FBt=i};let BBt={};const sze=function(i){Vt.debug("options str",i),i=i&&i.trim(),i=i||"{}";try{BBt=JSON.parse(i)}catch(a){Vt.error("error while parsing gitGraph options",a.message)}},aze=function(){return BBt},oze=function(i,a,f,p){Vt.debug("Entering commit:",i,a,f,p),a=bi.sanitizeText(a,Me()),i=bi.sanitizeText(i,Me()),p=bi.sanitizeText(p,Me());const v={id:a||mE+"-"+P0t(),message:i,seq:mE++,type:f||TN.NORMAL,tag:p||"",parents:bg==null?[]:[bg.id],branch:id};bg=v,p1[v.id]=v,zf[id]=v.id,Vt.debug("in pushCommit "+v.id)},cze=function(i,a){if(i=bi.sanitizeText(i,Me()),zf[i]===void 0)zf[i]=bg!=null?bg.id:null,EN[i]={name:i,order:a?parseInt(a,10):null},RBt(i),Vt.debug("in createBranch");else{let f=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 f.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+'"']},f}},uze=function(i,a,f,p){i=bi.sanitizeText(i,Me()),a=bi.sanitizeText(a,Me());const v=p1[zf[id]],m=p1[zf[i]];if(id===i){let E=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw E.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"]},E}else if(v===void 0||!v){let E=new Error('Incorrect usage of "merge". Current branch ('+id+")has no commits");throw E.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},E}else if(zf[i]===void 0){let E=new Error('Incorrect usage of "merge". Branch to be merged ('+i+") does not exist");throw E.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]},E}else if(m===void 0||!m){let E=new Error('Incorrect usage of "merge". Branch to be merged ('+i+") has no commits");throw E.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},E}else if(v===m){let E=new Error('Incorrect usage of "merge". Both branches have same head');throw E.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"]},E}else if(a&&p1[a]!==void 0){let E=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw E.hash={text:"merge "+i+a+f+p,token:"merge "+i+a+f+p,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+i+" "+a+"_UNIQUE "+f+" "+p]},E}const b={id:a||mE+"-"+P0t(),message:"merged branch "+i+" into "+id,seq:mE++,parents:[bg==null?null:bg.id,zf[i]],branch:id,type:TN.MERGE,customType:f,customId:!!a,tag:p||""};bg=b,p1[b.id]=b,zf[id]=b.id,Vt.debug(zf),Vt.debug("in mergeBranch")},lze=function(i,a,f){if(Vt.debug("Entering cherryPick:",i,a,f),i=bi.sanitizeText(i,Me()),a=bi.sanitizeText(a,Me()),f=bi.sanitizeText(f,Me()),!i||p1[i]===void 0){let m=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.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"]},m}let p=p1[i],v=p.branch;if(p.type===TN.MERGE){let m=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw m.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"]},m}if(!a||p1[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 m=p1[zf[id]];if(m===void 0||!m){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 b={id:mE+"-"+P0t(),message:"cherry-picked "+p+" into "+id,seq:mE++,parents:[bg==null?null:bg.id,p.id],branch:id,type:TN.CHERRY_PICK,tag:f??"cherry-pick:"+p.id};bg=b,p1[b.id]=b,zf[id]=b.id,Vt.debug(zf),Vt.debug("in cherryPick")}},RBt=function(i){if(i=bi.sanitizeText(i,Me()),zf[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=zf[id];bg=p1[a]}};function jBt(i,a,f){const p=i.indexOf(a);p===-1?i.push(f):i.splice(p,1,f)}function $Bt(i){const a=i.reduce((v,m)=>v.seq>m.seq?v:m,i[0]);let f="";i.forEach(function(v){v===a?f+=" *":f+=" |"});const p=[f,a.id,a.seq];for(let v in zf)zf[v]===a.id&&p.push(v);if(Vt.debug(p.join(" ")),a.parents&&a.parents.length==2){const v=p1[a.parents[0]];jBt(i,a,v),i.push(p1[a.parents[1]])}else{if(a.parents.length==0)return;{const v=p1[a.parents];jBt(i,a,v)}}i=rze(i,v=>v.id),$Bt(i)}const hze=function(){Vt.debug(p1);const i=zBt()[0];$Bt([i])},fze=function(){p1={},bg=null;let i=Me().gitGraph.mainBranchName,a=Me().gitGraph.mainBranchOrder;zf={},zf[i]=null,EN={},EN[i]={name:i,order:a},id=i,mE=0,hg()},dze=function(){return Object.values(EN).map((a,f)=>a.order!==null?a:{...a,order:parseFloat(`0.${f}`,10)}).sort((a,f)=>a.order-f.order).map(({name:a})=>({name:a}))},gze=function(){return zf},pze=function(){return p1},zBt=function(){const i=Object.keys(p1).map(function(a){return p1[a]});return i.forEach(function(a){Vt.debug(a.id)}),i.sort((a,f)=>a.seq-f.seq),i},bze=function(){return id},vze=function(){return FBt},wze=function(){return bg},TN={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},mze={parseDirective:nze,getConfig:()=>Me().gitGraph,setDirection:ize,setOptions:sze,getOptions:aze,commit:oze,branch:cze,merge:uze,cherryPick:lze,checkout:RBt,prettyPrint:hze,clear:fze,getBranchesAsObjArray:dze,getBranches:gze,getCommits:pze,getCommitsArray:zBt,getCurrentBranch:bze,getDirection:vze,getHead:wze,setAccTitle:E0,getAccTitle:fg,getAccDescription:gg,setAccDescription:dg,setDiagramTitle:F2,getDiagramTitle:fp,commitType:TN};let _N={};const $2={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yE=8;let sd={},CN={},TK=[],SN=0,T0="LR";const yze=()=>{sd={},CN={},_N={},SN=0,TK=[],T0="LR"},qBt=i=>{const a=document.createElementNS("http://www.w3.org/2000/svg","text");let f=[];typeof i=="string"?f=i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?f=i:f=[];for(const p of f){const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","0"),v.setAttribute("class","row"),v.textContent=p.trim(),a.appendChild(v)}return a},HBt=(i,a,f)=>{const p=WP().gitGraph,v=i.append("g").attr("class","commit-bullets"),m=i.append("g").attr("class","commit-labels");let b=0;T0==="TB"&&(b=30),Object.keys(a).sort((A,N)=>a[A].seq-a[N].seq).forEach(A=>{const N=a[A],F=T0==="TB"?b+10:sd[N.branch].pos,j=T0==="TB"?sd[N.branch].pos:b+10;if(f){let R,H=N.customType!==void 0&&N.customType!==""?N.customType:N.type;switch(H){case $2.NORMAL:R="commit-normal";break;case $2.REVERSE:R="commit-reverse";break;case $2.HIGHLIGHT:R="commit-highlight";break;case $2.MERGE:R="commit-merge";break;case $2.CHERRY_PICK:R="commit-cherry-pick";break;default:R="commit-normal"}if(H===$2.HIGHLIGHT){const Y=v.append("rect");Y.attr("x",j-10),Y.attr("y",F-10),Y.attr("height",20),Y.attr("width",20),Y.attr("class",`commit ${N.id} commit-highlight${sd[N.branch].index%yE} ${R}-outer`),v.append("rect").attr("x",j-6).attr("y",F-6).attr("height",12).attr("width",12).attr("class",`commit ${N.id} commit${sd[N.branch].index%yE} ${R}-inner`)}else if(H===$2.CHERRY_PICK)v.append("circle").attr("cx",j).attr("cy",F).attr("r",10).attr("class",`commit ${N.id} ${R}`),v.append("circle").attr("cx",j-3).attr("cy",F+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${N.id} ${R}`),v.append("circle").attr("cx",j+3).attr("cy",F+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${N.id} ${R}`),v.append("line").attr("x1",j+3).attr("y1",F+1).attr("x2",j).attr("y2",F-5).attr("stroke","#fff").attr("class",`commit ${N.id} ${R}`),v.append("line").attr("x1",j-3).attr("y1",F+1).attr("x2",j).attr("y2",F-5).attr("stroke","#fff").attr("class",`commit ${N.id} ${R}`);else{const Y=v.append("circle");if(Y.attr("cx",j),Y.attr("cy",F),Y.attr("r",N.type===$2.MERGE?9:10),Y.attr("class",`commit ${N.id} commit${sd[N.branch].index%yE}`),H===$2.MERGE){const rt=v.append("circle");rt.attr("cx",j),rt.attr("cy",F),rt.attr("r",6),rt.attr("class",`commit ${R} ${N.id} commit${sd[N.branch].index%yE}`)}H===$2.REVERSE&&v.append("path").attr("d",`M ${j-5},${F-5}L${j+5},${F+5}M${j-5},${F+5}L${j+5},${F-5}`).attr("class",`commit ${R} ${N.id} commit${sd[N.branch].index%yE}`)}}if(T0==="TB"?CN[N.id]={x:j,y:b+10}:CN[N.id]={x:b+10,y:F},f){if(N.type!==$2.CHERRY_PICK&&(N.customId&&N.type===$2.MERGE||N.type!==$2.MERGE)&&p.showCommitLabel){const Y=m.append("g"),rt=Y.insert("rect").attr("class","commit-label-bkg"),J=Y.append("text").attr("x",b).attr("y",F+25).attr("class","commit-label").text(N.id);let it=J.node().getBBox();if(rt.attr("x",b+10-it.width/2-2).attr("y",F+13.5).attr("width",it.width+2*2).attr("height",it.height+2*2),T0==="TB"&&(rt.attr("x",j-(it.width+4*4+5)).attr("y",F-12),J.attr("x",j-(it.width+4*4)).attr("y",F+it.height-12)),T0!=="TB"&&J.attr("x",b+10-it.width/2),p.rotateCommitLabel)if(T0==="TB")J.attr("transform","rotate(-45, "+j+", "+F+")"),rt.attr("transform","rotate(-45, "+j+", "+F+")");else{let ht=-7.5-(it.width+10)/25*9.5,Tt=10+it.width/25*8.5;Y.attr("transform","translate("+ht+", "+Tt+") rotate(-45, "+b+", "+F+")")}}if(N.tag){const Y=m.insert("polygon"),rt=m.append("circle"),J=m.append("text").attr("y",F-16).attr("class","tag-label").text(N.tag);let it=J.node().getBBox();J.attr("x",b+10-it.width/2);const ht=it.height/2,Tt=F-19.2;Y.attr("class","tag-label-bkg").attr("points",`
+ ${b-it.width/2-4/2},${Tt+2}
+ ${b-it.width/2-4/2},${Tt-2}
+ ${b+10-it.width/2-4},${Tt-ht-2}
+ ${b+10+it.width/2+4},${Tt-ht-2}
+ ${b+10+it.width/2+4},${Tt+ht+2}
+ ${b+10-it.width/2-4},${Tt+ht+2}`),rt.attr("cx",b-it.width/2+4/2).attr("cy",Tt).attr("r",1.5).attr("class","tag-hole"),T0==="TB"&&(Y.attr("class","tag-label-bkg").attr("points",`
+ ${j},${b+2}
+ ${j},${b-2}
+ ${j+10},${b-ht-2}
+ ${j+10+it.width+4},${b-ht-2}
+ ${j+10+it.width+4},${b+ht+2}
+ ${j+10},${b+ht+2}`).attr("transform","translate(12,12) rotate(45, "+j+","+b+")"),rt.attr("cx",j+4/2).attr("cy",b).attr("transform","translate(12,12) rotate(45, "+j+","+b+")"),J.attr("x",j+5).attr("y",b+3).attr("transform","translate(14,14) rotate(45, "+j+","+b+")"))}}b+=50,b>SN&&(SN=b)})},xze=(i,a,f)=>Object.keys(f).filter(m=>f[m].branch===a.branch&&f[m].seq>i.seq&&f[m].seq<a.seq).length>0,AN=(i,a,f=0)=>{const p=i+Math.abs(i-a)/2;if(f>5)return p;if(TK.every(b=>Math.abs(b-p)>=10))return TK.push(p),p;const m=Math.abs(i-a);return AN(i,a-m/5,f+1)},kze=(i,a,f,p)=>{const v=CN[a.id],m=CN[f.id],b=xze(a,f,p);let E="",C="",A=0,N=0,F=sd[f.branch].index,j;if(b){E="A 10 10, 0, 0, 0,",C="A 10 10, 0, 0, 1,",A=10,N=10,F=sd[f.branch].index;const R=v.y<m.y?AN(v.y,m.y):AN(m.y,v.y),H=v.x<m.x?AN(v.x,m.x):AN(m.x,v.x);T0==="TB"?v.x<m.x?j=`M ${v.x} ${v.y} L ${H-A} ${v.y} ${C} ${H} ${v.y+N} L ${H} ${m.y-A} ${E} ${H+N} ${m.y} L ${m.x} ${m.y}`:j=`M ${v.x} ${v.y} L ${H+A} ${v.y} ${E} ${H} ${v.y+N} L ${H} ${m.y-A} ${C} ${H-N} ${m.y} L ${m.x} ${m.y}`:v.y<m.y?j=`M ${v.x} ${v.y} L ${v.x} ${R-A} ${E} ${v.x+N} ${R} L ${m.x-A} ${R} ${C} ${m.x} ${R+N} L ${m.x} ${m.y}`:j=`M ${v.x} ${v.y} L ${v.x} ${R+A} ${C} ${v.x+N} ${R} L ${m.x-A} ${R} ${E} ${m.x} ${R-N} L ${m.x} ${m.y}`}else T0==="TB"?(v.x<m.x&&(E="A 20 20, 0, 0, 0,",C="A 20 20, 0, 0, 1,",A=20,N=20,F=sd[f.branch].index,j=`M ${v.x} ${v.y} L ${m.x-A} ${v.y} ${C} ${m.x} ${v.y+N} L ${m.x} ${m.y}`),v.x>m.x&&(E="A 20 20, 0, 0, 0,",C="A 20 20, 0, 0, 1,",A=20,N=20,F=sd[a.branch].index,j=`M ${v.x} ${v.y} L ${v.x} ${m.y-A} ${C} ${v.x-N} ${m.y} L ${m.x} ${m.y}`),v.x===m.x&&(F=sd[a.branch].index,j=`M ${v.x} ${v.y} L ${v.x+A} ${v.y} ${E} ${v.x+N} ${m.y+A} L ${m.x} ${m.y}`)):(v.y<m.y&&(E="A 20 20, 0, 0, 0,",A=20,N=20,F=sd[f.branch].index,j=`M ${v.x} ${v.y} L ${v.x} ${m.y-A} ${E} ${v.x+N} ${m.y} L ${m.x} ${m.y}`),v.y>m.y&&(E="A 20 20, 0, 0, 0,",A=20,N=20,F=sd[a.branch].index,j=`M ${v.x} ${v.y} L ${m.x-A} ${v.y} ${E} ${m.x} ${v.y-N} L ${m.x} ${m.y}`),v.y===m.y&&(F=sd[a.branch].index,j=`M ${v.x} ${v.y} L ${v.x} ${m.y-A} ${E} ${v.x+N} ${m.y} L ${m.x} ${m.y}`));i.append("path").attr("d",j).attr("class","arrow arrow"+F%yE)},Eze=(i,a)=>{const f=i.append("g").attr("class","commit-arrows");Object.keys(a).forEach(p=>{const v=a[p];v.parents&&v.parents.length>0&&v.parents.forEach(m=>{kze(f,a[m],v,a)})})},Tze=(i,a)=>{const f=WP().gitGraph,p=i.append("g");a.forEach((v,m)=>{const b=m%yE,E=sd[v.name].pos,C=p.append("line");C.attr("x1",0),C.attr("y1",E),C.attr("x2",SN),C.attr("y2",E),C.attr("class","branch branch"+b),T0==="TB"&&(C.attr("y1",30),C.attr("x1",E),C.attr("y2",SN),C.attr("x2",E)),TK.push(E);let A=v.name;const N=qBt(A),F=p.insert("rect"),R=p.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+b);R.node().appendChild(N);let H=N.getBBox();F.attr("class","branchLabelBkg label"+b).attr("rx",4).attr("ry",4).attr("x",-H.width-4-(f.rotateCommitLabel===!0?30:0)).attr("y",-H.height/2+8).attr("width",H.width+18).attr("height",H.height+4),R.attr("transform","translate("+(-H.width-14-(f.rotateCommitLabel===!0?30:0))+", "+(E-H.height/2-1)+")"),T0==="TB"&&(F.attr("x",E-H.width/2-10).attr("y",0),R.attr("transform","translate("+(E-H.width/2-5)+", 0)")),T0!=="TB"&&F.attr("transform","translate(-19, "+(E-H.height/2)+")")})},_ze=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:tze,db:mze,renderer:{draw:function(i,a,f,p){yze();const v=WP(),m=v.gitGraph;Vt.debug("in gitgraph renderer",i+`
+`,"id:",a,f),_N=p.db.getCommits();const b=p.db.getBranchesAsObjArray();T0=p.db.getDirection();const E=wr(`[id="${a}"]`);let C=0;b.forEach((A,N)=>{const F=qBt(A.name),j=E.append("g"),R=j.insert("g").attr("class","branchLabel"),H=R.insert("g").attr("class","label branch-label");H.node().appendChild(F);let Y=F.getBBox();sd[A.name]={pos:C,index:N},C+=50+(m.rotateCommitLabel?40:0)+(T0==="TB"?Y.width/2:0),H.remove(),R.remove(),j.remove()}),HBt(E,_N,!1),m.showBranches&&Tze(E,b),Eze(E,_N),HBt(E,_N,!0),ho.insertTitle(E,"gitTitleText",m.titleTopMargin,p.db.getDiagramTitle()),DIt(void 0,E,m.diagramPadding,m.useMaxWidth??v.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);
+ }
+ ${[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;
+ }
+ .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};
+ }
+ .commit-reverse {
+ stroke: ${i.primaryColor};
+ fill: ${i.primaryColor};
+ stroke-width: 3;
+ }
+ .commit-highlight-outer {
+ }
+ .commit-highlight-inner {
+ stroke: ${i.primaryColor};
+ fill: ${i.primaryColor};
+ }
+
+ .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
+ .gitTitleText {
+ text-anchor: middle;
+ font-size: 18px;
+ fill: ${i.textColor};
+ }
+`}},Symbol.toStringTag,{value:"Module"}));var N0t=function(){var i=function(Nt,dt,Ft,X){for(Ft=Ft||{},X=Nt.length;X--;Ft[Nt[X]]=dt);return Ft},a=[1,3],f=[1,5],p=[7,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,33,34,36,43,48],v=[1,32],m=[1,33],b=[1,34],E=[1,35],C=[1,36],A=[1,37],N=[1,38],F=[1,15],j=[1,16],R=[1,17],H=[1,18],Y=[1,19],rt=[1,20],J=[1,21],it=[1,22],ht=[1,24],Tt=[1,25],yt=[1,26],vt=[1,27],ut=[1,28],xt=[1,30],st=[1,39],Et=[1,42],gt=[5,7,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,33,34,36,43,48],pt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,weekday: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:34,clickStatement:35,taskTxt:36,taskData:37,openDirective:38,typeDirective:39,closeDirective:40,":":41,argDirective:42,click:43,callbackname:44,callbackargs:45,href:46,clickStatementDebug:47,open_directive:48,type_directive:49,arg_directive:50,close_directive:51,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",13:"weekday_monday",14:"weekday_tuesday",15:"weekday_wednesday",16:"weekday_thursday",17:"weekday_friday",18:"weekday_saturday",19:"weekday_sunday",20:"dateFormat",21:"inclusiveEndDates",22:"topAxis",23:"axisFormat",24:"tickInterval",25:"excludes",26:"includes",27:"todayMarker",28:"title",29:"acc_title",30:"acc_title_value",31:"acc_descr",32:"acc_descr_value",33:"acc_descr_multiline_value",34:"section",36:"taskTxt",37:"taskData",41:":",43:"click",44:"callbackname",45:"callbackargs",46:"href",48:"open_directive",49:"type_directive",50:"arg_directive",51:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[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],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[35,2],[35,3],[35,3],[35,4],[35,3],[35,4],[35,2],[47,2],[47,3],[47,3],[47,4],[47,3],[47,4],[47,2],[38,1],[39,1],[42,1],[40,1]],performAction:function(dt,Ft,X,Bt,Rt,mt,Ot){var Gt=mt.length-1;switch(Rt){case 2:return mt[Gt-1];case 3:this.$=[];break;case 4:mt[Gt-1].push(mt[Gt]),this.$=mt[Gt-1];break;case 5:case 6:this.$=mt[Gt];break;case 7:case 8:this.$=[];break;case 9:Bt.setWeekday("monday");break;case 10:Bt.setWeekday("tuesday");break;case 11:Bt.setWeekday("wednesday");break;case 12:Bt.setWeekday("thursday");break;case 13:Bt.setWeekday("friday");break;case 14:Bt.setWeekday("saturday");break;case 15:Bt.setWeekday("sunday");break;case 16:Bt.setDateFormat(mt[Gt].substr(11)),this.$=mt[Gt].substr(11);break;case 17:Bt.enableInclusiveEndDates(),this.$=mt[Gt].substr(18);break;case 18:Bt.TopAxis(),this.$=mt[Gt].substr(8);break;case 19:Bt.setAxisFormat(mt[Gt].substr(11)),this.$=mt[Gt].substr(11);break;case 20:Bt.setTickInterval(mt[Gt].substr(13)),this.$=mt[Gt].substr(13);break;case 21:Bt.setExcludes(mt[Gt].substr(9)),this.$=mt[Gt].substr(9);break;case 22:Bt.setIncludes(mt[Gt].substr(9)),this.$=mt[Gt].substr(9);break;case 23:Bt.setTodayMarker(mt[Gt].substr(12)),this.$=mt[Gt].substr(12);break;case 25:Bt.setDiagramTitle(mt[Gt].substr(6)),this.$=mt[Gt].substr(6);break;case 26:this.$=mt[Gt].trim(),Bt.setAccTitle(this.$);break;case 27:case 28:this.$=mt[Gt].trim(),Bt.setAccDescription(this.$);break;case 29:Bt.addSection(mt[Gt].substr(8)),this.$=mt[Gt].substr(8);break;case 31:Bt.addTask(mt[Gt-1],mt[Gt]),this.$="task";break;case 35:this.$=mt[Gt-1],Bt.setClickEvent(mt[Gt-1],mt[Gt],null);break;case 36:this.$=mt[Gt-2],Bt.setClickEvent(mt[Gt-2],mt[Gt-1],mt[Gt]);break;case 37:this.$=mt[Gt-2],Bt.setClickEvent(mt[Gt-2],mt[Gt-1],null),Bt.setLink(mt[Gt-2],mt[Gt]);break;case 38:this.$=mt[Gt-3],Bt.setClickEvent(mt[Gt-3],mt[Gt-2],mt[Gt-1]),Bt.setLink(mt[Gt-3],mt[Gt]);break;case 39:this.$=mt[Gt-2],Bt.setClickEvent(mt[Gt-2],mt[Gt],null),Bt.setLink(mt[Gt-2],mt[Gt-1]);break;case 40:this.$=mt[Gt-3],Bt.setClickEvent(mt[Gt-3],mt[Gt-1],mt[Gt]),Bt.setLink(mt[Gt-3],mt[Gt-2]);break;case 41:this.$=mt[Gt-1],Bt.setLink(mt[Gt-1],mt[Gt]);break;case 42:case 48:this.$=mt[Gt-1]+" "+mt[Gt];break;case 43:case 44:case 46:this.$=mt[Gt-2]+" "+mt[Gt-1]+" "+mt[Gt];break;case 45:case 47:this.$=mt[Gt-3]+" "+mt[Gt-2]+" "+mt[Gt-1]+" "+mt[Gt];break;case 49:Bt.parseDirective("%%{","open_directive");break;case 50:Bt.parseDirective(mt[Gt],"type_directive");break;case 51:mt[Gt]=mt[Gt].trim().replace(/'/g,'"'),Bt.parseDirective(mt[Gt],"arg_directive");break;case 52:Bt.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:a,38:4,48:f},{1:[3]},{3:6,4:2,5:a,38:4,48:f},i(p,[2,3],{6:7}),{39:8,49:[1,9]},{49:[2,49]},{1:[2,1]},{4:31,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:23,13:v,14:m,15:b,16:E,17:C,18:A,19:N,20:F,21:j,22:R,23:H,24:Y,25:rt,26:J,27:it,28:ht,29:Tt,31:yt,33:vt,34:ut,35:29,36:xt,38:4,43:st,48:f},{40:40,41:[1,41],51:Et},i([41,51],[2,50]),i(p,[2,8],{1:[2,2]}),i(p,[2,4]),{4:31,10:43,12:23,13:v,14:m,15:b,16:E,17:C,18:A,19:N,20:F,21:j,22:R,23:H,24:Y,25:rt,26:J,27:it,28:ht,29:Tt,31:yt,33:vt,34:ut,35:29,36:xt,38:4,43:st,48:f},i(p,[2,6]),i(p,[2,7]),i(p,[2,16]),i(p,[2,17]),i(p,[2,18]),i(p,[2,19]),i(p,[2,20]),i(p,[2,21]),i(p,[2,22]),i(p,[2,23]),i(p,[2,24]),i(p,[2,25]),{30:[1,44]},{32:[1,45]},i(p,[2,28]),i(p,[2,29]),i(p,[2,30]),{37:[1,46]},i(p,[2,32]),i(p,[2,9]),i(p,[2,10]),i(p,[2,11]),i(p,[2,12]),i(p,[2,13]),i(p,[2,14]),i(p,[2,15]),{44:[1,47],46:[1,48]},{11:[1,49]},{42:50,50:[1,51]},{11:[2,52]},i(p,[2,5]),i(p,[2,26]),i(p,[2,27]),i(p,[2,31]),i(p,[2,35],{45:[1,52],46:[1,53]}),i(p,[2,41],{44:[1,54]}),i(gt,[2,33]),{40:55,51:Et},{51:[2,51]},i(p,[2,36],{46:[1,56]}),i(p,[2,37]),i(p,[2,39],{45:[1,57]}),{11:[1,58]},i(p,[2,38]),i(p,[2,40]),i(gt,[2,34])],defaultActions:{5:[2,49],6:[2,1],42:[2,52],51:[2,51]},parseError:function(dt,Ft){if(Ft.recoverable)this.trace(dt);else{var X=new Error(dt);throw X.hash=Ft,X}},parse:function(dt){var Ft=this,X=[0],Bt=[],Rt=[null],mt=[],Ot=this.table,Gt="",Ve=0,Cn=0,xe=2,Kn=1,Se=mt.slice.call(arguments,1),ee=Object.create(this.lexer),_e={yy:{}};for(var qe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qe)&&(_e.yy[qe]=this.yy[qe]);ee.setInput(dt,_e.yy),_e.yy.lexer=ee,_e.yy.parser=this,typeof ee.yylloc>"u"&&(ee.yylloc={});var ce=ee.yylloc;mt.push(ce);var Ce=ee.options&&ee.options.ranges;typeof _e.yy.parseError=="function"?this.parseError=_e.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(){var Qn;return Qn=Bt.pop()||ee.lex()||Kn,typeof Qn!="number"&&(Qn instanceof Array&&(Bt=Qn,Qn=Bt.pop()),Qn=Ft.symbols_[Qn]||Qn),Qn}for(var Re,se,Pe,Qt,vr={},$t,ur,le,rr;;){if(se=X[X.length-1],this.defaultActions[se]?Pe=this.defaultActions[se]:((Re===null||typeof Re>"u")&&(Re=he()),Pe=Ot[se]&&Ot[se][Re]),typeof Pe>"u"||!Pe.length||!Pe[0]){var ar="";rr=[];for($t in Ot[se])this.terminals_[$t]&&$t>xe&&rr.push("'"+this.terminals_[$t]+"'");ee.showPosition?ar="Parse error on line "+(Ve+1)+`:
+`+ee.showPosition()+`
+Expecting `+rr.join(", ")+", got '"+(this.terminals_[Re]||Re)+"'":ar="Parse error on line "+(Ve+1)+": Unexpected "+(Re==Kn?"end of input":"'"+(this.terminals_[Re]||Re)+"'"),this.parseError(ar,{text:ee.match,token:this.terminals_[Re]||Re,line:ee.yylineno,loc:ce,expected:rr})}if(Pe[0]instanceof Array&&Pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+se+", token: "+Re);switch(Pe[0]){case 1:X.push(Re),Rt.push(ee.yytext),mt.push(ee.yylloc),X.push(Pe[1]),Re=null,Cn=ee.yyleng,Gt=ee.yytext,Ve=ee.yylineno,ce=ee.yylloc;break;case 2:if(ur=this.productions_[Pe[1]][1],vr.$=Rt[Rt.length-ur],vr._$={first_line:mt[mt.length-(ur||1)].first_line,last_line:mt[mt.length-1].last_line,first_column:mt[mt.length-(ur||1)].first_column,last_column:mt[mt.length-1].last_column},Ce&&(vr._$.range=[mt[mt.length-(ur||1)].range[0],mt[mt.length-1].range[1]]),Qt=this.performAction.apply(vr,[Gt,Cn,Ve,_e.yy,Pe[1],Rt,mt].concat(Se)),typeof Qt<"u")return Qt;ur&&(X=X.slice(0,-1*ur*2),Rt=Rt.slice(0,-1*ur),mt=mt.slice(0,-1*ur)),X.push(this.productions_[Pe[1]][0]),Rt.push(vr.$),mt.push(vr._$),le=Ot[X[X.length-2]][X[X.length-1]],X.push(le);break;case 3:return!0}}return!0}},Ct=function(){var Nt={EOF:1,parseError:function(Ft,X){if(this.yy.parser)this.yy.parser.parseError(Ft,X);else throw new Error(Ft)},setInput:function(dt,Ft){return this.yy=Ft||this.yy||{},this._input=dt,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 dt=this._input[0];this.yytext+=dt,this.yyleng++,this.offset++,this.match+=dt,this.matched+=dt;var Ft=dt.match(/(?:\r\n?|\n).*/g);return Ft?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),dt},unput:function(dt){var Ft=dt.length,X=dt.split(/(?:\r\n?|\n)/g);this._input=dt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ft),this.offset-=Ft;var Bt=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),X.length-1&&(this.yylineno-=X.length-1);var Rt=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:X?(X.length===Bt.length?this.yylloc.first_column:0)+Bt[Bt.length-X.length].length-X[0].length:this.yylloc.first_column-Ft},this.options.ranges&&(this.yylloc.range=[Rt[0],Rt[0]+this.yyleng-Ft]),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(dt){this.unput(this.match.slice(dt))},pastInput:function(){var dt=this.matched.substr(0,this.matched.length-this.match.length);return(dt.length>20?"...":"")+dt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var dt=this.match;return dt.length<20&&(dt+=this._input.substr(0,20-dt.length)),(dt.substr(0,20)+(dt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var dt=this.pastInput(),Ft=new Array(dt.length+1).join("-");return dt+this.upcomingInput()+`
+`+Ft+"^"},test_match:function(dt,Ft){var X,Bt,Rt;if(this.options.backtrack_lexer&&(Rt={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&&(Rt.yylloc.range=this.yylloc.range.slice(0))),Bt=dt[0].match(/(?:\r\n?|\n).*/g),Bt&&(this.yylineno+=Bt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Bt?Bt[Bt.length-1].length-Bt[Bt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+dt[0].length},this.yytext+=dt[0],this.match+=dt[0],this.matches=dt,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(dt[0].length),this.matched+=dt[0],X=this.performAction.call(this,this.yy,this,Ft,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var mt in Rt)this[mt]=Rt[mt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var dt,Ft,X,Bt;this._more||(this.yytext="",this.match="");for(var Rt=this._currentRules(),mt=0;mt<Rt.length;mt++)if(X=this._input.match(this.rules[Rt[mt]]),X&&(!Ft||X[0].length>Ft[0].length)){if(Ft=X,Bt=mt,this.options.backtrack_lexer){if(dt=this.test_match(X,Rt[mt]),dt!==!1)return dt;if(this._backtrack){Ft=!1;continue}else return!1}else if(!this.options.flex)break}return Ft?(dt=this.test_match(Ft,Rt[Bt]),dt!==!1?dt:!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 Ft=this.next();return Ft||this.lex()},begin:function(Ft){this.conditionStack.push(Ft)},popState:function(){var Ft=this.conditionStack.length-1;return Ft>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(Ft){return Ft=this.conditionStack.length-1-Math.abs(Ft||0),Ft>=0?this.conditionStack[Ft]:"INITIAL"},pushState:function(Ft){this.begin(Ft)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ft,X,Bt,Rt){switch(Bt){case 0:return this.begin("open_directive"),48;case 1:return this.begin("type_directive"),49;case 2:return this.popState(),this.begin("arg_directive"),41;case 3:return this.popState(),this.popState(),51;case 4:return 50;case 5:return this.begin("acc_title"),29;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),31;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:break;case 13:break;case 14:break;case 15:return 11;case 16:break;case 17:break;case 18:break;case 19:this.begin("href");break;case 20:this.popState();break;case 21:return 46;case 22:this.begin("callbackname");break;case 23:this.popState();break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 44;case 26:this.popState();break;case 27:return 45;case 28:this.begin("click");break;case 29:this.popState();break;case 30:return 43;case 31:return 5;case 32:return 20;case 33:return 21;case 34:return 22;case 35:return 23;case 36:return 24;case 37:return 26;case 38:return 25;case 39:return 27;case 40:return 13;case 41:return 14;case 42:return 15;case 43:return 16;case 44:return 17;case 45:return 18;case 46:return 19;case 47:return"date";case 48:return 28;case 49:return"accDescription";case 50:return 34;case 51:return 36;case 52:return 37;case 53:return 41;case 54:return 7;case 55:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?:%[^\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,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 Nt}();pt.lexer=Ct;function nt(){this.yy={}}return nt.prototype=pt,pt.Parser=nt,new nt}();N0t.parser=N0t;const Cze=N0t;var VBt={exports:{}};(function(i,a){(function(f,p){i.exports=p()})(v0,function(){var f="day";return function(p,v,m){var b=function(A){return A.add(4-A.isoWeekday(),f)},E=v.prototype;E.isoWeekYear=function(){return b(this).year()},E.isoWeek=function(A){if(!this.$utils().u(A))return this.add(7*(A-this.isoWeek()),f);var N,F,j,R,H=b(this),Y=(N=this.isoWeekYear(),F=this.$u,j=(F?m.utc:m)().year(N).startOf("year"),R=4-j.isoWeekday(),j.isoWeekday()>4&&(R+=7),j.add(R,f));return H.diff(Y,"week")+1},E.isoWeekday=function(A){return this.$utils().u(A)?this.day()||7:this.day(this.day()%7?A:A-7)};var C=E.startOf;E.startOf=function(A,N){var F=this.$utils(),j=!!F.u(N)||N;return F.p(A)==="isoweek"?j?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):C.bind(this)(A,N)}}})})(VBt);var Sze=VBt.exports;const Aze=R9(Sze);var GBt={exports:{}};(function(i,a){(function(f,p){i.exports=p()})(v0,function(){var f={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"},p=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,v=/\d\d/,m=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,E={},C=function(Y){return(Y=+Y)+(Y>68?1900:2e3)},A=function(Y){return function(rt){this[Y]=+rt}},N=[/[+-]\d\d:?(\d\d)?|Z/,function(Y){(this.zone||(this.zone={})).offset=function(rt){if(!rt||rt==="Z")return 0;var J=rt.match(/([+-]|\d\d)/g),it=60*J[1]+(+J[2]||0);return it===0?0:J[0]==="+"?-it:it}(Y)}],F=function(Y){var rt=E[Y];return rt&&(rt.indexOf?rt:rt.s.concat(rt.f))},j=function(Y,rt){var J,it=E.meridiem;if(it){for(var ht=1;ht<=24;ht+=1)if(Y.indexOf(it(ht,0,rt))>-1){J=ht>12;break}}else J=Y===(rt?"pm":"PM");return J},R={A:[b,function(Y){this.afternoon=j(Y,!1)}],a:[b,function(Y){this.afternoon=j(Y,!0)}],S:[/\d/,function(Y){this.milliseconds=100*+Y}],SS:[v,function(Y){this.milliseconds=10*+Y}],SSS:[/\d{3}/,function(Y){this.milliseconds=+Y}],s:[m,A("seconds")],ss:[m,A("seconds")],m:[m,A("minutes")],mm:[m,A("minutes")],H:[m,A("hours")],h:[m,A("hours")],HH:[m,A("hours")],hh:[m,A("hours")],D:[m,A("day")],DD:[v,A("day")],Do:[b,function(Y){var rt=E.ordinal,J=Y.match(/\d+/);if(this.day=J[0],rt)for(var it=1;it<=31;it+=1)rt(it).replace(/\[|\]/g,"")===Y&&(this.day=it)}],M:[m,A("month")],MM:[v,A("month")],MMM:[b,function(Y){var rt=F("months"),J=(F("monthsShort")||rt.map(function(it){return it.slice(0,3)})).indexOf(Y)+1;if(J<1)throw new Error;this.month=J%12||J}],MMMM:[b,function(Y){var rt=F("months").indexOf(Y)+1;if(rt<1)throw new Error;this.month=rt%12||rt}],Y:[/[+-]?\d+/,A("year")],YY:[v,function(Y){this.year=C(Y)}],YYYY:[/\d{4}/,A("year")],Z:N,ZZ:N};function H(Y){var rt,J;rt=Y,J=E&&E.formats;for(var it=(Y=rt.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(st,Et,gt){var pt=gt&&gt.toUpperCase();return Et||J[gt]||f[gt]||J[pt].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ct,nt,Nt){return nt||Nt.slice(1)})})).match(p),ht=it.length,Tt=0;Tt<ht;Tt+=1){var yt=it[Tt],vt=R[yt],ut=vt&&vt[0],xt=vt&&vt[1];it[Tt]=xt?{regex:ut,parser:xt}:yt.replace(/^\[|\]$/g,"")}return function(st){for(var Et={},gt=0,pt=0;gt<ht;gt+=1){var Ct=it[gt];if(typeof Ct=="string")pt+=Ct.length;else{var nt=Ct.regex,Nt=Ct.parser,dt=st.slice(pt),Ft=nt.exec(dt)[0];Nt.call(Et,Ft),st=st.replace(Ft,"")}}return function(X){var Bt=X.afternoon;if(Bt!==void 0){var Rt=X.hours;Bt?Rt<12&&(X.hours+=12):Rt===12&&(X.hours=0),delete X.afternoon}}(Et),Et}}return function(Y,rt,J){J.p.customParseFormat=!0,Y&&Y.parseTwoDigitYear&&(C=Y.parseTwoDigitYear);var it=rt.prototype,ht=it.parse;it.parse=function(Tt){var yt=Tt.date,vt=Tt.utc,ut=Tt.args;this.$u=vt;var xt=ut[1];if(typeof xt=="string"){var st=ut[2]===!0,Et=ut[3]===!0,gt=st||Et,pt=ut[2];Et&&(pt=ut[2]),E=this.$locale(),!st&&pt&&(E=J.Ls[pt]),this.$d=function(dt,Ft,X){try{if(["x","X"].indexOf(Ft)>-1)return new Date((Ft==="X"?1e3:1)*dt);var Bt=H(Ft)(dt),Rt=Bt.year,mt=Bt.month,Ot=Bt.day,Gt=Bt.hours,Ve=Bt.minutes,Cn=Bt.seconds,xe=Bt.milliseconds,Kn=Bt.zone,Se=new Date,ee=Ot||(Rt||mt?1:Se.getDate()),_e=Rt||Se.getFullYear(),qe=0;Rt&&!mt||(qe=mt>0?mt-1:Se.getMonth());var ce=Gt||0,Ce=Ve||0,he=Cn||0,Re=xe||0;return Kn?new Date(Date.UTC(_e,qe,ee,ce,Ce,he,Re+60*Kn.offset*1e3)):X?new Date(Date.UTC(_e,qe,ee,ce,Ce,he,Re)):new Date(_e,qe,ee,ce,Ce,he,Re)}catch{return new Date("")}}(yt,xt,vt),this.init(),pt&&pt!==!0&&(this.$L=this.locale(pt).$L),gt&&yt!=this.format(xt)&&(this.$d=new Date("")),E={}}else if(xt instanceof Array)for(var Ct=xt.length,nt=1;nt<=Ct;nt+=1){ut[1]=xt[nt-1];var Nt=J.apply(this,ut);if(Nt.isValid()){this.$d=Nt.$d,this.$L=Nt.$L,this.init();break}nt===Ct&&(this.$d=new Date(""))}else ht.call(this,Tt)}}})})(GBt);var Lze=GBt.exports;const Mze=R9(Lze);var UBt={exports:{}};(function(i,a){(function(f,p){i.exports=p()})(v0,function(){return function(f,p){var v=p.prototype,m=v.format;v.format=function(b){var E=this,C=this.$locale();if(!this.isValid())return m.bind(this)(b);var A=this.$utils(),N=(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(F){switch(F){case"Q":return Math.ceil((E.$M+1)/3);case"Do":return C.ordinal(E.$D);case"gggg":return E.weekYear();case"GGGG":return E.isoWeekYear();case"wo":return C.ordinal(E.week(),"W");case"w":case"ww":return A.s(E.week(),F==="w"?1:2,"0");case"W":case"WW":return A.s(E.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return A.s(String(E.$H===0?24:E.$H),F==="k"?1:2,"0");case"X":return Math.floor(E.$d.getTime()/1e3);case"x":return E.$d.getTime();case"z":return"["+E.offsetName()+"]";case"zzz":return"["+E.offsetName("long")+"]";default:return F}});return m.bind(this)(N)}}})})(UBt);var Dze=UBt.exports;const Ize=R9(Dze);up.extend(Aze),up.extend(Mze),up.extend(Ize);let m3="",F0t="",B0t,R0t="",LN=[],MN=[],j0t={},$0t=[],_K=[],aL="",z0t="";const WBt=["active","done","crit","milestone"];let q0t=[],DN=!1,H0t=!1,V0t="sunday",G0t=0;const Oze=function(i,a,f){f1.parseDirective(this,i,a,f)},Pze=function(){$0t=[],_K=[],aL="",q0t=[],CK=0,W0t=void 0,SK=void 0,b1=[],m3="",F0t="",z0t="",B0t=void 0,R0t="",LN=[],MN=[],DN=!1,H0t=!1,G0t=0,j0t={},hg(),V0t="sunday"},Nze=function(i){F0t=i},Fze=function(){return F0t},Bze=function(i){B0t=i},Rze=function(){return B0t},jze=function(i){R0t=i},$ze=function(){return R0t},zze=function(i){m3=i},qze=function(){DN=!0},Hze=function(){return DN},Vze=function(){H0t=!0},Gze=function(){return H0t},Uze=function(i){z0t=i},Wze=function(){return z0t},Kze=function(){return m3},Yze=function(i){LN=i.toLowerCase().split(/[\s,]+/)},Xze=function(){return LN},Qze=function(i){MN=i.toLowerCase().split(/[\s,]+/)},Zze=function(){return MN},Jze=function(){return j0t},tqe=function(i){aL=i,$0t.push(i)},eqe=function(){return $0t},nqe=function(){let i=JBt();const a=10;let f=0;for(;!i&&f<a;)i=JBt(),f++;return _K=b1,_K},KBt=function(i,a,f,p){return p.includes(i.format(a.trim()))?!1:i.isoWeekday()>=6&&f.includes("weekends")||f.includes(i.format("dddd").toLowerCase())?!0:f.includes(i.format(a.trim()))},rqe=function(i){V0t=i},iqe=function(){return V0t},YBt=function(i,a,f,p){if(!f.length||i.manualEndTime)return;let v;i.startTime instanceof Date?v=up(i.startTime):v=up(i.startTime,a,!0),v=v.add(1,"d");let m;i.endTime instanceof Date?m=up(i.endTime):m=up(i.endTime,a,!0);const[b,E]=sqe(v,m,a,f,p);i.endTime=b.toDate(),i.renderEndTime=E},sqe=function(i,a,f,p,v){let m=!1,b=null;for(;i<=a;)m||(b=a.toDate()),m=KBt(i,f,p,v),m&&(a=a.add(1,"d")),i=i.add(1,"d");return[a,b]},U0t=function(i,a,f){f=f.trim();const v=/^after\s+([\d\w- ]+)/.exec(f.trim());if(v!==null){let b=null;if(v[1].split(" ").forEach(function(E){let C=cL(E);C!==void 0&&(b?C.endTime>b.endTime&&(b=C):b=C)}),b)return b.endTime;{const E=new Date;return E.setHours(0,0,0,0),E}}let m=up(f,a.trim(),!0);if(m.isValid())return m.toDate();{Vt.debug("Invalid date:"+f),Vt.debug("With date format:"+a.trim());const b=new Date(f);if(b===void 0||isNaN(b.getTime())||b.getFullYear()<-1e4||b.getFullYear()>1e4)throw new Error("Invalid date:"+f);return b}},XBt=function(i){const a=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(i.trim());return a!==null?[Number.parseFloat(a[1]),a[2]]:[NaN,"ms"]},QBt=function(i,a,f,p=!1){f=f.trim();let v=up(f,a.trim(),!0);if(v.isValid())return p&&(v=v.add(1,"d")),v.toDate();let m=up(i);const[b,E]=XBt(f);if(!Number.isNaN(b)){const C=m.add(b,E);C.isValid()&&(m=C)}return m.toDate()};let CK=0;const oL=function(i){return i===void 0?(CK=CK+1,"task"+CK):i},aqe=function(i,a){let f;a.substr(0,1)===":"?f=a.substr(1,a.length):f=a;const p=f.split(","),v={};nRt(p,v,WBt);for(let b=0;b<p.length;b++)p[b]=p[b].trim();let m="";switch(p.length){case 1:v.id=oL(),v.startTime=i.endTime,m=p[0];break;case 2:v.id=oL(),v.startTime=U0t(void 0,m3,p[0]),m=p[1];break;case 3:v.id=oL(p[0]),v.startTime=U0t(void 0,m3,p[1]),m=p[2];break}return m&&(v.endTime=QBt(v.startTime,m3,m,DN),v.manualEndTime=up(m,"YYYY-MM-DD",!0).isValid(),YBt(v,m3,MN,LN)),v},oqe=function(i,a){let f;a.substr(0,1)===":"?f=a.substr(1,a.length):f=a;const p=f.split(","),v={};nRt(p,v,WBt);for(let m=0;m<p.length;m++)p[m]=p[m].trim();switch(p.length){case 1:v.id=oL(),v.startTime={type:"prevTaskEnd",id:i},v.endTime={data:p[0]};break;case 2:v.id=oL(),v.startTime={type:"getStartDate",startData:p[0]},v.endTime={data:p[1]};break;case 3:v.id=oL(p[0]),v.startTime={type:"getStartDate",startData:p[1]},v.endTime={data:p[2]};break}return v};let W0t,SK,b1=[];const ZBt={},cqe=function(i,a){const f={section:aL,type:aL,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:a},task:i,classes:[]},p=oqe(SK,a);f.raw.startTime=p.startTime,f.raw.endTime=p.endTime,f.id=p.id,f.prevTaskId=SK,f.active=p.active,f.done=p.done,f.crit=p.crit,f.milestone=p.milestone,f.order=G0t,G0t++;const v=b1.push(f);SK=f.id,ZBt[f.id]=v-1},cL=function(i){const a=ZBt[i];return b1[a]},uqe=function(i,a){const f={section:aL,type:aL,description:i,task:i,classes:[]},p=aqe(W0t,a);f.startTime=p.startTime,f.endTime=p.endTime,f.id=p.id,f.active=p.active,f.done=p.done,f.crit=p.crit,f.milestone=p.milestone,W0t=f,_K.push(f)},JBt=function(){const i=function(f){const p=b1[f];let v="";switch(b1[f].raw.startTime.type){case"prevTaskEnd":{const m=cL(p.prevTaskId);p.startTime=m.endTime;break}case"getStartDate":v=U0t(void 0,m3,b1[f].raw.startTime.startData),v&&(b1[f].startTime=v);break}return b1[f].startTime&&(b1[f].endTime=QBt(b1[f].startTime,m3,b1[f].raw.endTime.data,DN),b1[f].endTime&&(b1[f].processed=!0,b1[f].manualEndTime=up(b1[f].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),YBt(b1[f],m3,MN,LN))),b1[f].processed};let a=!0;for(const[f,p]of b1.entries())i(f),a=a&&p.processed;return a},lqe=function(i,a){let f=a;Me().securityLevel!=="loose"&&(f=Zx(a)),i.split(",").forEach(function(p){cL(p)!==void 0&&(eRt(p,()=>{window.open(f,"_self")}),j0t[p]=f)}),tRt(i,"clickable")},tRt=function(i,a){i.split(",").forEach(function(f){let p=cL(f);p!==void 0&&p.classes.push(a)})},hqe=function(i,a,f){if(Me().securityLevel!=="loose"||a===void 0)return;let p=[];if(typeof f=="string"){p=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m<p.length;m++){let b=p[m].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),p[m]=b}}p.length===0&&p.push(i),cL(i)!==void 0&&eRt(i,()=>{ho.runFunc(a,...p)})},eRt=function(i,a){q0t.push(function(){const f=document.querySelector(`[id="${i}"]`);f!==null&&f.addEventListener("click",function(){a()})},function(){const f=document.querySelector(`[id="${i}-text"]`);f!==null&&f.addEventListener("click",function(){a()})})},fqe={parseDirective:Oze,getConfig:()=>Me().gantt,clear:Pze,setDateFormat:zze,getDateFormat:Kze,enableInclusiveEndDates:qze,endDatesAreInclusive:Hze,enableTopAxis:Vze,topAxisEnabled:Gze,setAxisFormat:Nze,getAxisFormat:Fze,setTickInterval:Bze,getTickInterval:Rze,setTodayMarker:jze,getTodayMarker:$ze,setAccTitle:E0,getAccTitle:fg,setDiagramTitle:F2,getDiagramTitle:fp,setDisplayMode:Uze,getDisplayMode:Wze,setAccDescription:dg,getAccDescription:gg,addSection:tqe,getSections:eqe,getTasks:nqe,addTask:cqe,findTaskById:cL,addTaskOrg:uqe,setIncludes:Yze,getIncludes:Xze,setExcludes:Qze,getExcludes:Zze,setClickEvent:function(i,a,f){i.split(",").forEach(function(p){hqe(p,a,f)}),tRt(i,"clickable")},setLink:lqe,getLinks:Jze,bindFunctions:function(i){q0t.forEach(function(a){a(i)})},parseDuration:XBt,isInvalidDate:KBt,setWeekday:rqe,getWeekday:iqe};function nRt(i,a,f){let p=!0;for(;p;)p=!1,f.forEach(function(v){const m="^\\s*"+v+"\\s*$",b=new RegExp(m);i[0].match(b)&&(a[v]=!0,i.shift(1),p=!0)})}const dqe=function(){Vt.debug("Something is calling, setConf, remove the call")},rRt={monday:PP,tuesday:UMt,wednesday:WMt,thursday:K9,friday:KMt,saturday:YMt,sunday:OP},gqe=(i,a)=>{let f=[...i].map(()=>-1/0),p=[...i].sort((m,b)=>m.startTime-b.startTime||m.order-b.order),v=0;for(const m of p)for(let b=0;b<f.length;b++)if(m.startTime>=f[b]){f[b]=m.endTime,m.order=b+a,b>v&&(v=b);break}return v};let M5;const pqe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Cze,db:fqe,renderer:{setConf:dqe,draw:function(i,a,f,p){const v=Me().gantt,m=Me().securityLevel;let b;m==="sandbox"&&(b=wr("#i"+a));const E=wr(m==="sandbox"?b.nodes()[0].contentDocument.body:"body"),C=m==="sandbox"?b.nodes()[0].contentDocument:document,A=C.getElementById(a);M5=A.parentElement.offsetWidth,M5===void 0&&(M5=1200),v.useWidth!==void 0&&(M5=v.useWidth);const N=p.db.getTasks();let F=[];for(const xt of N)F.push(xt.type);F=ut(F);const j={};let R=2*v.topPadding;if(p.db.getDisplayMode()==="compact"||v.displayMode==="compact"){const xt={};for(const Et of N)xt[Et.section]===void 0?xt[Et.section]=[Et]:xt[Et.section].push(Et);let st=0;for(const Et of Object.keys(xt)){const gt=gqe(xt[Et],st)+1;st+=gt,R+=gt*(v.barHeight+v.barGap),j[Et]=gt}}else{R+=N.length*(v.barHeight+v.barGap);for(const xt of F)j[xt]=N.filter(st=>st.type===xt).length}A.setAttribute("viewBox","0 0 "+M5+" "+R);const H=E.select(`[id="${a}"]`),Y=y9e().domain([i6e(N,function(xt){return xt.startTime}),r6e(N,function(xt){return xt.endTime})]).rangeRound([0,M5-v.leftPadding-v.rightPadding]);function rt(xt,st){const Et=xt.startTime,gt=st.startTime;let pt=0;return Et>gt?pt=1:Et<gt&&(pt=-1),pt}N.sort(rt),J(N,M5,R),N2(H,R,M5,v.useMaxWidth),H.append("text").text(p.db.getDiagramTitle()).attr("x",M5/2).attr("y",v.titleTopMargin).attr("class","titleText");function J(xt,st,Et){const gt=v.barHeight,pt=gt+v.barGap,Ct=v.topPadding,nt=v.leftPadding,Nt=jU().domain([0,F.length]).range(["#00B9FA","#F95002"]).interpolate(_ke);ht(pt,Ct,nt,st,Et,xt,p.db.getExcludes(),p.db.getIncludes()),Tt(nt,Ct,st,Et),it(xt,pt,Ct,nt,gt,Nt,st),yt(pt,Ct),vt(nt,Ct,st,Et)}function it(xt,st,Et,gt,pt,Ct,nt){const dt=[...new Set(xt.map(Rt=>Rt.order))].map(Rt=>xt.find(mt=>mt.order===Rt));H.append("g").selectAll("rect").data(dt).enter().append("rect").attr("x",0).attr("y",function(Rt,mt){return mt=Rt.order,mt*st+Et-2}).attr("width",function(){return nt-v.rightPadding/2}).attr("height",st).attr("class",function(Rt){for(const[mt,Ot]of F.entries())if(Rt.type===Ot)return"section section"+mt%v.numberSectionStyles;return"section section0"});const Ft=H.append("g").selectAll("rect").data(xt).enter(),X=p.db.getLinks();if(Ft.append("rect").attr("id",function(Rt){return Rt.id}).attr("rx",3).attr("ry",3).attr("x",function(Rt){return Rt.milestone?Y(Rt.startTime)+gt+.5*(Y(Rt.endTime)-Y(Rt.startTime))-.5*pt:Y(Rt.startTime)+gt}).attr("y",function(Rt,mt){return mt=Rt.order,mt*st+Et}).attr("width",function(Rt){return Rt.milestone?pt:Y(Rt.renderEndTime||Rt.endTime)-Y(Rt.startTime)}).attr("height",pt).attr("transform-origin",function(Rt,mt){return mt=Rt.order,(Y(Rt.startTime)+gt+.5*(Y(Rt.endTime)-Y(Rt.startTime))).toString()+"px "+(mt*st+Et+.5*pt).toString()+"px"}).attr("class",function(Rt){const mt="task";let Ot="";Rt.classes.length>0&&(Ot=Rt.classes.join(" "));let Gt=0;for(const[Cn,xe]of F.entries())Rt.type===xe&&(Gt=Cn%v.numberSectionStyles);let Ve="";return Rt.active?Rt.crit?Ve+=" activeCrit":Ve=" active":Rt.done?Rt.crit?Ve=" doneCrit":Ve=" done":Rt.crit&&(Ve+=" crit"),Ve.length===0&&(Ve=" task"),Rt.milestone&&(Ve=" milestone "+Ve),Ve+=Gt,Ve+=" "+Ot,mt+Ve}),Ft.append("text").attr("id",function(Rt){return Rt.id+"-text"}).text(function(Rt){return Rt.task}).attr("font-size",v.fontSize).attr("x",function(Rt){let mt=Y(Rt.startTime),Ot=Y(Rt.renderEndTime||Rt.endTime);Rt.milestone&&(mt+=.5*(Y(Rt.endTime)-Y(Rt.startTime))-.5*pt),Rt.milestone&&(Ot=mt+pt);const Gt=this.getBBox().width;return Gt>Ot-mt?Ot+Gt+1.5*v.leftPadding>nt?mt+gt-5:Ot+gt+5:(Ot-mt)/2+mt+gt}).attr("y",function(Rt,mt){return mt=Rt.order,mt*st+v.barHeight/2+(v.fontSize/2-2)+Et}).attr("text-height",pt).attr("class",function(Rt){const mt=Y(Rt.startTime);let Ot=Y(Rt.endTime);Rt.milestone&&(Ot=mt+pt);const Gt=this.getBBox().width;let Ve="";Rt.classes.length>0&&(Ve=Rt.classes.join(" "));let Cn=0;for(const[Kn,Se]of F.entries())Rt.type===Se&&(Cn=Kn%v.numberSectionStyles);let xe="";return Rt.active&&(Rt.crit?xe="activeCritText"+Cn:xe="activeText"+Cn),Rt.done?Rt.crit?xe=xe+" doneCritText"+Cn:xe=xe+" doneText"+Cn:Rt.crit&&(xe=xe+" critText"+Cn),Rt.milestone&&(xe+=" milestoneText"),Gt>Ot-mt?Ot+Gt+1.5*v.leftPadding>nt?Ve+" taskTextOutsideLeft taskTextOutside"+Cn+" "+xe:Ve+" taskTextOutsideRight taskTextOutside"+Cn+" "+xe+" width-"+Gt:Ve+" taskText taskText"+Cn+" "+xe+" width-"+Gt}),Me().securityLevel==="sandbox"){let Rt;Rt=wr("#i"+a);const mt=Rt.nodes()[0].contentDocument;Ft.filter(function(Ot){return X[Ot.id]!==void 0}).each(function(Ot){var Gt=mt.querySelector("#"+Ot.id),Ve=mt.querySelector("#"+Ot.id+"-text");const Cn=Gt.parentNode;var xe=mt.createElement("a");xe.setAttribute("xlink:href",X[Ot.id]),xe.setAttribute("target","_top"),Cn.appendChild(xe),xe.appendChild(Gt),xe.appendChild(Ve)})}}function ht(xt,st,Et,gt,pt,Ct,nt,Nt){const dt=Ct.reduce((Gt,{startTime:Ve})=>Gt?Math.min(Gt,Ve):Ve,0),Ft=Ct.reduce((Gt,{endTime:Ve})=>Gt?Math.max(Gt,Ve):Ve,0),X=p.db.getDateFormat();if(!dt||!Ft)return;const Bt=[];let Rt=null,mt=up(dt);for(;mt.valueOf()<=Ft;)p.db.isInvalidDate(mt,X,nt,Nt)?Rt?Rt.end=mt:Rt={start:mt,end:mt}:Rt&&(Bt.push(Rt),Rt=null),mt=mt.add(1,"d");H.append("g").selectAll("rect").data(Bt).enter().append("rect").attr("id",function(Gt){return"exclude-"+Gt.start.format("YYYY-MM-DD")}).attr("x",function(Gt){return Y(Gt.start)+Et}).attr("y",v.gridLineStartPadding).attr("width",function(Gt){const Ve=Gt.end.add(1,"day");return Y(Ve)-Y(Gt.start)}).attr("height",pt-st-v.gridLineStartPadding).attr("transform-origin",function(Gt,Ve){return(Y(Gt.start)+Et+.5*(Y(Gt.end)-Y(Gt.start))).toString()+"px "+(Ve*xt+.5*pt).toString()+"px"}).attr("class","exclude-range")}function Tt(xt,st,Et,gt){let pt=f6e(Y).tickSize(-gt+st+v.gridLineStartPadding).tickFormat(GU(p.db.getAxisFormat()||v.axisFormat||"%Y-%m-%d"));const nt=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(p.db.getTickInterval()||v.tickInterval);if(nt!==null){const Nt=nt[1],dt=nt[2],Ft=p.db.getWeekday()||v.weekday;switch(dt){case"minute":pt.ticks(zU.every(Nt));break;case"hour":pt.ticks(qU.every(Nt));break;case"day":pt.ticks(_A.every(Nt));break;case"week":pt.ticks(rRt[Ft].every(Nt));break;case"month":pt.ticks(HU.every(Nt));break}}if(H.append("g").attr("class","grid").attr("transform","translate("+xt+", "+(gt-50)+")").call(pt).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),p.db.topAxisEnabled()||v.topAxis){let Nt=h6e(Y).tickSize(-gt+st+v.gridLineStartPadding).tickFormat(GU(p.db.getAxisFormat()||v.axisFormat||"%Y-%m-%d"));if(nt!==null){const dt=nt[1],Ft=nt[2],X=p.db.getWeekday()||v.weekday;switch(Ft){case"minute":Nt.ticks(zU.every(dt));break;case"hour":Nt.ticks(qU.every(dt));break;case"day":Nt.ticks(_A.every(dt));break;case"week":Nt.ticks(rRt[X].every(dt));break;case"month":Nt.ticks(HU.every(dt));break}}H.append("g").attr("class","grid").attr("transform","translate("+xt+", "+st+")").call(Nt).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function yt(xt,st){let Et=0;const gt=Object.keys(j).map(pt=>[pt,j[pt]]);H.append("g").selectAll("text").data(gt).enter().append(function(pt){const Ct=pt[0].split(bi.lineBreakRegex),nt=-(Ct.length-1)/2,Nt=C.createElementNS("http://www.w3.org/2000/svg","text");Nt.setAttribute("dy",nt+"em");for(const[dt,Ft]of Ct.entries()){const X=C.createElementNS("http://www.w3.org/2000/svg","tspan");X.setAttribute("alignment-baseline","central"),X.setAttribute("x","10"),dt>0&&X.setAttribute("dy","1em"),X.textContent=Ft,Nt.appendChild(X)}return Nt}).attr("x",10).attr("y",function(pt,Ct){if(Ct>0)for(let nt=0;nt<Ct;nt++)return Et+=gt[Ct-1][1],pt[1]*xt/2+Et*xt+st;else return pt[1]*xt/2+st}).attr("font-size",v.sectionFontSize).attr("class",function(pt){for(const[Ct,nt]of F.entries())if(pt[0]===nt)return"sectionTitle sectionTitle"+Ct%v.numberSectionStyles;return"sectionTitle"})}function vt(xt,st,Et,gt){const pt=p.db.getTodayMarker();if(pt==="off")return;const Ct=H.append("g").attr("class","today"),nt=new Date,Nt=Ct.append("line");Nt.attr("x1",Y(nt)+xt).attr("x2",Y(nt)+xt).attr("y1",v.titleTopMargin).attr("y2",gt-v.titleTopMargin).attr("class","today"),pt!==""&&Nt.attr("style",pt.replace(/,/g,";"))}function ut(xt){const st={},Et=[];for(let gt=0,pt=xt.length;gt<pt;++gt)Object.prototype.hasOwnProperty.call(st,xt[gt])||(st[xt[gt]]=!0,Et.push(xt[gt]));return Et}}},styles:i=>`
.mermaid-main-font {
font-family: "trebuchet ms", verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.exclude-range {
- fill: ${s.excludeBkgColor};
+ fill: ${i.excludeBkgColor};
}
.section {
@@ -320,38 +359,38 @@ g.classGroup line {
}
.section0 {
- fill: ${s.sectionBkgColor};
+ fill: ${i.sectionBkgColor};
}
.section2 {
- fill: ${s.sectionBkgColor2};
+ fill: ${i.sectionBkgColor2};
}
.section1,
.section3 {
- fill: ${s.altSectionBkgColor};
+ fill: ${i.altSectionBkgColor};
opacity: 0.2;
}
.sectionTitle0 {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.sectionTitle1 {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.sectionTitle2 {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.sectionTitle3 {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.sectionTitle {
text-anchor: start;
- // font-size: ${s.ganttFontSize};
+ // font-size: ${i.ganttFontSize};
// text-height: 14px;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
@@ -362,12 +401,12 @@ g.classGroup line {
/* Grid and axis */
.grid .tick {
- stroke: ${s.gridColor};
+ stroke: ${i.gridColor};
opacity: 0.8;
shape-rendering: crispEdges;
text {
- font-family: ${s.fontFamily};
- fill: ${s.textColor};
+ font-family: ${i.fontFamily};
+ fill: ${i.textColor};
}
}
@@ -380,7 +419,7 @@ g.classGroup line {
.today {
fill: none;
- stroke: ${s.todayLineColor};
+ stroke: ${i.todayLineColor};
stroke-width: 2px;
}
@@ -400,22 +439,22 @@ g.classGroup line {
}
// .taskText:not([font-size]) {
- // font-size: ${s.ganttFontSize};
+ // font-size: ${i.ganttFontSize};
// }
.taskTextOutsideRight {
- fill: ${s.taskTextDarkColor};
+ fill: ${i.taskTextDarkColor};
text-anchor: start;
- // font-size: ${s.ganttFontSize};
+ // font-size: ${i.ganttFontSize};
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.taskTextOutsideLeft {
- fill: ${s.taskTextDarkColor};
+ fill: ${i.taskTextDarkColor};
text-anchor: end;
- // font-size: ${s.ganttFontSize};
+ // font-size: ${i.ganttFontSize};
}
/* Special case clickable */
@@ -424,19 +463,19 @@ g.classGroup line {
}
.taskText.clickable {
cursor: pointer;
- fill: ${s.taskTextClickableColor} !important;
+ fill: ${i.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideLeft.clickable {
cursor: pointer;
- fill: ${s.taskTextClickableColor} !important;
+ fill: ${i.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideRight.clickable {
cursor: pointer;
- fill: ${s.taskTextClickableColor} !important;
+ fill: ${i.taskTextClickableColor} !important;
font-weight: bold;
}
@@ -446,26 +485,26 @@ g.classGroup line {
.taskText1,
.taskText2,
.taskText3 {
- fill: ${s.taskTextColor};
+ fill: ${i.taskTextColor};
}
.task0,
.task1,
.task2,
.task3 {
- fill: ${s.taskBkgColor};
- stroke: ${s.taskBorderColor};
+ fill: ${i.taskBkgColor};
+ stroke: ${i.taskBorderColor};
}
.taskTextOutside0,
.taskTextOutside2
{
- fill: ${s.taskTextOutsideColor};
+ fill: ${i.taskTextOutsideColor};
}
.taskTextOutside1,
.taskTextOutside3 {
- fill: ${s.taskTextOutsideColor};
+ fill: ${i.taskTextOutsideColor};
}
@@ -475,15 +514,15 @@ g.classGroup line {
.active1,
.active2,
.active3 {
- fill: ${s.activeTaskBkgColor};
- stroke: ${s.activeTaskBorderColor};
+ fill: ${i.activeTaskBkgColor};
+ stroke: ${i.activeTaskBorderColor};
}
.activeText0,
.activeText1,
.activeText2,
.activeText3 {
- fill: ${s.taskTextDarkColor} !important;
+ fill: ${i.taskTextDarkColor} !important;
}
@@ -493,8 +532,8 @@ g.classGroup line {
.done1,
.done2,
.done3 {
- stroke: ${s.doneTaskBorderColor};
- fill: ${s.doneTaskBkgColor};
+ stroke: ${i.doneTaskBorderColor};
+ fill: ${i.doneTaskBkgColor};
stroke-width: 2;
}
@@ -502,7 +541,7 @@ g.classGroup line {
.doneText1,
.doneText2,
.doneText3 {
- fill: ${s.taskTextDarkColor} !important;
+ fill: ${i.taskTextDarkColor} !important;
}
@@ -512,8 +551,8 @@ g.classGroup line {
.crit1,
.crit2,
.crit3 {
- stroke: ${s.critBorderColor};
- fill: ${s.critBkgColor};
+ stroke: ${i.critBorderColor};
+ fill: ${i.critBkgColor};
stroke-width: 2;
}
@@ -521,8 +560,8 @@ g.classGroup line {
.activeCrit1,
.activeCrit2,
.activeCrit3 {
- stroke: ${s.critBorderColor};
- fill: ${s.activeTaskBkgColor};
+ stroke: ${i.critBorderColor};
+ fill: ${i.activeTaskBkgColor};
stroke-width: 2;
}
@@ -530,8 +569,8 @@ g.classGroup line {
.doneCrit1,
.doneCrit2,
.doneCrit3 {
- stroke: ${s.critBorderColor};
- fill: ${s.doneTaskBkgColor};
+ stroke: ${i.critBorderColor};
+ fill: ${i.doneTaskBkgColor};
stroke-width: 2;
cursor: pointer;
shape-rendering: crispEdges;
@@ -548,184 +587,220 @@ g.classGroup line {
.doneCritText1,
.doneCritText2,
.doneCritText3 {
- fill: ${s.taskTextDarkColor} !important;
+ fill: ${i.taskTextDarkColor} !important;
}
.activeCritText0,
.activeCritText1,
.activeCritText2,
.activeCritText3 {
- fill: ${s.taskTextDarkColor} !important;
+ fill: ${i.taskTextDarkColor} !important;
}
.titleText {
text-anchor: middle;
font-size: 18px;
- fill: ${s.textColor} ;
+ fill: ${i.textColor} ;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
-`,oIe=()=>"",cIe=s=>`
+`}},Symbol.toStringTag,{value:"Module"}));var K0t=function(){var i=function(m,b,E,C){for(E=E||{},C=m.length;C--;E[m[C]]=b);return E},a=[6,9,10],f={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,E,C,A,N,F,j){switch(F.length-1,N){case 1:return A;case 4:break;case 6:A.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,E){if(E.recoverable)this.trace(b);else{var C=new Error(b);throw C.hash=E,C}},parse:function(b){var E=this,C=[0],A=[],N=[null],F=[],j=this.table,R="",H=0,Y=0,rt=2,J=1,it=F.slice.call(arguments,1),ht=Object.create(this.lexer),Tt={yy:{}};for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yt)&&(Tt.yy[yt]=this.yy[yt]);ht.setInput(b,Tt.yy),Tt.yy.lexer=ht,Tt.yy.parser=this,typeof ht.yylloc>"u"&&(ht.yylloc={});var vt=ht.yylloc;F.push(vt);var ut=ht.options&&ht.options.ranges;typeof Tt.yy.parseError=="function"?this.parseError=Tt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xt(){var Bt;return Bt=A.pop()||ht.lex()||J,typeof Bt!="number"&&(Bt instanceof Array&&(A=Bt,Bt=A.pop()),Bt=E.symbols_[Bt]||Bt),Bt}for(var st,Et,gt,pt,Ct={},nt,Nt,dt,Ft;;){if(Et=C[C.length-1],this.defaultActions[Et]?gt=this.defaultActions[Et]:((st===null||typeof st>"u")&&(st=xt()),gt=j[Et]&&j[Et][st]),typeof gt>"u"||!gt.length||!gt[0]){var X="";Ft=[];for(nt in j[Et])this.terminals_[nt]&&nt>rt&&Ft.push("'"+this.terminals_[nt]+"'");ht.showPosition?X="Parse error on line "+(H+1)+`:
+`+ht.showPosition()+`
+Expecting `+Ft.join(", ")+", got '"+(this.terminals_[st]||st)+"'":X="Parse error on line "+(H+1)+": Unexpected "+(st==J?"end of input":"'"+(this.terminals_[st]||st)+"'"),this.parseError(X,{text:ht.match,token:this.terminals_[st]||st,line:ht.yylineno,loc:vt,expected:Ft})}if(gt[0]instanceof Array&&gt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+st);switch(gt[0]){case 1:C.push(st),N.push(ht.yytext),F.push(ht.yylloc),C.push(gt[1]),st=null,Y=ht.yyleng,R=ht.yytext,H=ht.yylineno,vt=ht.yylloc;break;case 2:if(Nt=this.productions_[gt[1]][1],Ct.$=N[N.length-Nt],Ct._$={first_line:F[F.length-(Nt||1)].first_line,last_line:F[F.length-1].last_line,first_column:F[F.length-(Nt||1)].first_column,last_column:F[F.length-1].last_column},ut&&(Ct._$.range=[F[F.length-(Nt||1)].range[0],F[F.length-1].range[1]]),pt=this.performAction.apply(Ct,[R,Y,H,Tt.yy,gt[1],N,F].concat(it)),typeof pt<"u")return pt;Nt&&(C=C.slice(0,-1*Nt*2),N=N.slice(0,-1*Nt),F=F.slice(0,-1*Nt)),C.push(this.productions_[gt[1]][0]),N.push(Ct.$),F.push(Ct._$),dt=j[C[C.length-2]][C[C.length-1]],C.push(dt);break;case 3:return!0}}return!0}},p=function(){var m={EOF:1,parseError:function(E,C){if(this.yy.parser)this.yy.parser.parseError(E,C);else throw new Error(E)},setInput:function(b,E){return this.yy=E||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 E=b.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),b},unput:function(b){var E=b.length,C=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var A=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),C.length-1&&(this.yylineno-=C.length-1);var N=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:C?(C.length===A.length?this.yylloc.first_column:0)+A[A.length-C.length].length-C[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[N[0],N[0]+this.yyleng-E]),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(),E=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
+`+E+"^"},test_match:function(b,E){var C,A,N;if(this.options.backtrack_lexer&&(N={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&&(N.yylloc.range=this.yylloc.range.slice(0))),A=b[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.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],C=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),C)return C;if(this._backtrack){for(var F in N)this[F]=N[F];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,E,C,A;this._more||(this.yytext="",this.match="");for(var N=this._currentRules(),F=0;F<N.length;F++)if(C=this._input.match(this.rules[N[F]]),C&&(!E||C[0].length>E[0].length)){if(E=C,A=F,this.options.backtrack_lexer){if(b=this.test_match(C,N[F]),b!==!1)return b;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(b=this.test_match(E,N[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 E=this.next();return E||this.lex()},begin:function(E){this.conditionStack.push(E)},popState:function(){var E=this.conditionStack.length-1;return E>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(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},pushState:function(E){this.begin(E)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(E,C,A,N){switch(A){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 m}();f.lexer=p;function v(){this.yy={}}return v.prototype=f,f.Parser=v,new v}();K0t.parser=K0t;const bqe=K0t,iRt={info:!1};let Y0t=iRt.info;const vqe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:bqe,db:{clear:()=>{Y0t=iRt.info},setInfo:i=>{Y0t=i},getInfo:()=>Y0t},renderer:{draw:(i,a,f)=>{try{Vt.debug(`rendering info diagram
+`+i);const{securityLevel:p}=Me();let v,m;p==="sandbox"&&(v=wr("#i"+a),m=v.nodes()[0].contentDocument);const E=wr(v!==void 0&&m!==void 0&&m!==null?m:"body").select("#"+a);E.attr("height",100),E.attr("width",400),E.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+f)}catch(p){Vt.error("error while rendering info diagram",p)}}}}},Symbol.toStringTag,{value:"Module"}));var X0t=function(){var i=function(vt,ut,xt,st){for(xt=xt||{},st=vt.length;st--;xt[vt[st]]=ut);return xt},a=[1,4],f=[1,5],p=[1,6],v=[1,7],m=[1,9],b=[1,11,13,15,17,19,20,26,27,28,29],E=[2,5],C=[1,6,11,13,15,17,19,20,26,27,28,29],A=[26,27,28],N=[2,8],F=[1,18],j=[1,19],R=[1,20],H=[1,21],Y=[1,22],rt=[1,23],J=[1,28],it=[6,26,27,28,29],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement: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,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",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",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(ut,xt,st,Et,gt,pt,Ct){var nt=pt.length-1;switch(gt){case 4:Et.setShowData(!0);break;case 7:this.$=pt[nt-1];break;case 9:Et.addSection(pt[nt-1],Et.cleanupValue(pt[nt]));break;case 10:this.$=pt[nt].trim(),Et.setDiagramTitle(this.$);break;case 11:this.$=pt[nt].trim(),Et.setAccTitle(this.$);break;case 12:case 13:this.$=pt[nt].trim(),Et.setAccDescription(this.$);break;case 14:Et.addSection(pt[nt].substr(8)),this.$=pt[nt].substr(8);break;case 21:Et.parseDirective("%%{","open_directive");break;case 22:Et.parseDirective(pt[nt],"type_directive");break;case 23:pt[nt]=pt[nt].trim().replace(/'/g,'"'),Et.parseDirective(pt[nt],"arg_directive");break;case 24:Et.parseDirective("}%%","close_directive","pie");break}},table:[{3:1,4:2,5:3,6:a,21:8,26:f,27:p,28:v,29:m},{1:[3]},{3:10,4:2,5:3,6:a,21:8,26:f,27:p,28:v,29:m},{3:11,4:2,5:3,6:a,21:8,26:f,27:p,28:v,29:m},i(b,E,{7:12,8:[1,13]}),i(C,[2,18]),i(C,[2,19]),i(C,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},i(A,N,{21:8,9:16,10:17,5:24,1:[2,3],11:F,13:j,15:R,17:H,19:Y,20:rt,29:m}),i(b,E,{7:25}),{23:26,24:[1,27],32:J},i([24,32],[2,22]),i(b,[2,6]),{4:29,26:f,27:p,28:v},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},i(A,[2,13]),i(A,[2,14]),i(A,[2,15]),i(A,N,{21:8,9:16,10:17,5:24,1:[2,4],11:F,13:j,15:R,17:H,19:Y,20:rt,29:m}),i(it,[2,16]),{25:34,31:[1,35]},i(it,[2,24]),i(b,[2,7]),i(A,[2,9]),i(A,[2,10]),i(A,[2,11]),i(A,[2,12]),{23:36,32:J},{32:[2,23]},i(it,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(ut,xt){if(xt.recoverable)this.trace(ut);else{var st=new Error(ut);throw st.hash=xt,st}},parse:function(ut){var xt=this,st=[0],Et=[],gt=[null],pt=[],Ct=this.table,nt="",Nt=0,dt=0,Ft=2,X=1,Bt=pt.slice.call(arguments,1),Rt=Object.create(this.lexer),mt={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(mt.yy[Ot]=this.yy[Ot]);Rt.setInput(ut,mt.yy),mt.yy.lexer=Rt,mt.yy.parser=this,typeof Rt.yylloc>"u"&&(Rt.yylloc={});var Gt=Rt.yylloc;pt.push(Gt);var Ve=Rt.options&&Rt.options.ranges;typeof mt.yy.parseError=="function"?this.parseError=mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Cn(){var se;return se=Et.pop()||Rt.lex()||X,typeof se!="number"&&(se instanceof Array&&(Et=se,se=Et.pop()),se=xt.symbols_[se]||se),se}for(var xe,Kn,Se,ee,_e={},qe,ce,Ce,he;;){if(Kn=st[st.length-1],this.defaultActions[Kn]?Se=this.defaultActions[Kn]:((xe===null||typeof xe>"u")&&(xe=Cn()),Se=Ct[Kn]&&Ct[Kn][xe]),typeof Se>"u"||!Se.length||!Se[0]){var Re="";he=[];for(qe in Ct[Kn])this.terminals_[qe]&&qe>Ft&&he.push("'"+this.terminals_[qe]+"'");Rt.showPosition?Re="Parse error on line "+(Nt+1)+`:
+`+Rt.showPosition()+`
+Expecting `+he.join(", ")+", got '"+(this.terminals_[xe]||xe)+"'":Re="Parse error on line "+(Nt+1)+": Unexpected "+(xe==X?"end of input":"'"+(this.terminals_[xe]||xe)+"'"),this.parseError(Re,{text:Rt.match,token:this.terminals_[xe]||xe,line:Rt.yylineno,loc:Gt,expected:he})}if(Se[0]instanceof Array&&Se.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Kn+", token: "+xe);switch(Se[0]){case 1:st.push(xe),gt.push(Rt.yytext),pt.push(Rt.yylloc),st.push(Se[1]),xe=null,dt=Rt.yyleng,nt=Rt.yytext,Nt=Rt.yylineno,Gt=Rt.yylloc;break;case 2:if(ce=this.productions_[Se[1]][1],_e.$=gt[gt.length-ce],_e._$={first_line:pt[pt.length-(ce||1)].first_line,last_line:pt[pt.length-1].last_line,first_column:pt[pt.length-(ce||1)].first_column,last_column:pt[pt.length-1].last_column},Ve&&(_e._$.range=[pt[pt.length-(ce||1)].range[0],pt[pt.length-1].range[1]]),ee=this.performAction.apply(_e,[nt,dt,Nt,mt.yy,Se[1],gt,pt].concat(Bt)),typeof ee<"u")return ee;ce&&(st=st.slice(0,-1*ce*2),gt=gt.slice(0,-1*ce),pt=pt.slice(0,-1*ce)),st.push(this.productions_[Se[1]][0]),gt.push(_e.$),pt.push(_e._$),Ce=Ct[st[st.length-2]][st[st.length-1]],st.push(Ce);break;case 3:return!0}}return!0}},Tt=function(){var vt={EOF:1,parseError:function(xt,st){if(this.yy.parser)this.yy.parser.parseError(xt,st);else throw new Error(xt)},setInput:function(ut,xt){return this.yy=xt||this.yy||{},this._input=ut,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 ut=this._input[0];this.yytext+=ut,this.yyleng++,this.offset++,this.match+=ut,this.matched+=ut;var xt=ut.match(/(?:\r\n?|\n).*/g);return xt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ut},unput:function(ut){var xt=ut.length,st=ut.split(/(?:\r\n?|\n)/g);this._input=ut+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-xt),this.offset-=xt;var Et=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),st.length-1&&(this.yylineno-=st.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:st?(st.length===Et.length?this.yylloc.first_column:0)+Et[Et.length-st.length].length-st[0].length:this.yylloc.first_column-xt},this.options.ranges&&(this.yylloc.range=[gt[0],gt[0]+this.yyleng-xt]),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(ut){this.unput(this.match.slice(ut))},pastInput:function(){var ut=this.matched.substr(0,this.matched.length-this.match.length);return(ut.length>20?"...":"")+ut.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ut=this.match;return ut.length<20&&(ut+=this._input.substr(0,20-ut.length)),(ut.substr(0,20)+(ut.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ut=this.pastInput(),xt=new Array(ut.length+1).join("-");return ut+this.upcomingInput()+`
+`+xt+"^"},test_match:function(ut,xt){var st,Et,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))),Et=ut[0].match(/(?:\r\n?|\n).*/g),Et&&(this.yylineno+=Et.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Et?Et[Et.length-1].length-Et[Et.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ut[0].length},this.yytext+=ut[0],this.match+=ut[0],this.matches=ut,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(ut[0].length),this.matched+=ut[0],st=this.performAction.call(this,this.yy,this,xt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),st)return st;if(this._backtrack){for(var pt in gt)this[pt]=gt[pt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ut,xt,st,Et;this._more||(this.yytext="",this.match="");for(var gt=this._currentRules(),pt=0;pt<gt.length;pt++)if(st=this._input.match(this.rules[gt[pt]]),st&&(!xt||st[0].length>xt[0].length)){if(xt=st,Et=pt,this.options.backtrack_lexer){if(ut=this.test_match(st,gt[pt]),ut!==!1)return ut;if(this._backtrack){xt=!1;continue}else return!1}else if(!this.options.flex)break}return xt?(ut=this.test_match(xt,gt[Et]),ut!==!1?ut:!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 xt=this.next();return xt||this.lex()},begin:function(xt){this.conditionStack.push(xt)},popState:function(){var xt=this.conditionStack.length-1;return xt>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(xt){return xt=this.conditionStack.length-1-Math.abs(xt||0),xt>=0?this.conditionStack[xt]:"INITIAL"},pushState:function(xt){this.begin(xt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(xt,st,Et,gt){switch(Et){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:break;case 6:break;case 7:return 26;case 8:break;case 9:break;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 20:this.popState();break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};return vt}();ht.lexer=Tt;function yt(){this.yy={}}return yt.prototype=ht,ht.Parser=yt,new yt}();X0t.parser=X0t;const wqe=X0t;let AK={},Q0t=!1;const mqe={parseDirective:function(i,a,f){f1.parseDirective(this,i,a,f)},getConfig:()=>Me().pie,addSection:function(i,a){i=bi.sanitizeText(i,Me()),AK[i]===void 0&&(AK[i]=a,Vt.debug("Added new section :",i))},getSections:()=>AK,cleanupValue:function(i){return i.substring(0,1)===":"&&(i=i.substring(1).trim()),Number(i.trim())},clear:function(){AK={},Q0t=!1,hg()},setAccTitle:E0,getAccTitle:fg,setDiagramTitle:F2,getDiagramTitle:fp,setShowData:function(i){Q0t=i},getShowData:function(){return Q0t},getAccDescription:gg,setAccDescription:dg},yqe=i=>`
.pieCircle{
- stroke: ${s.pieStrokeColor};
- stroke-width : ${s.pieStrokeWidth};
- opacity : ${s.pieOpacity};
+ stroke: ${i.pieStrokeColor};
+ stroke-width : ${i.pieStrokeWidth};
+ opacity : ${i.pieOpacity};
+ }
+ .pieOuterCircle{
+ stroke: ${i.pieOuterStrokeColor};
+ stroke-width: ${i.pieOuterStrokeWidth};
+ fill: none;
}
.pieTitleText {
text-anchor: middle;
- font-size: ${s.pieTitleTextSize};
- fill: ${s.pieTitleTextColor};
- font-family: ${s.fontFamily};
+ font-size: ${i.pieTitleTextSize};
+ fill: ${i.pieTitleTextColor};
+ font-family: ${i.fontFamily};
}
.slice {
- font-family: ${s.fontFamily};
- fill: ${s.pieSectionTextColor};
- font-size:${s.pieSectionTextSize};
+ font-family: ${i.fontFamily};
+ fill: ${i.pieSectionTextColor};
+ font-size:${i.pieSectionTextSize};
// fill: white;
}
.legend text {
- fill: ${s.pieLegendTextColor};
- font-family: ${s.fontFamily};
- font-size: ${s.pieLegendTextSize};
- }
-`,uIe=s=>`
+ fill: ${i.pieLegendTextColor};
+ font-family: ${i.fontFamily};
+ font-size: ${i.pieLegendTextSize};
+ }
+`;let y3=Me(),D5;const IN=450,xqe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:wqe,db:mqe,renderer:{draw:(i,a,f,p)=>{var ht;try{y3=Me(),Vt.debug(`Rendering info diagram
+`+i);const Tt=Me().securityLevel;let yt;Tt==="sandbox"&&(yt=wr("#i"+a));const vt=wr(Tt==="sandbox"?yt.nodes()[0].contentDocument.body:"body"),xt=(Tt==="sandbox"?yt.nodes()[0].contentDocument:document).getElementById(a);D5=xt.parentElement.offsetWidth,D5===void 0&&(D5=1200),y3.useWidth!==void 0&&(D5=y3.useWidth),y3.pie.useWidth!==void 0&&(D5=y3.pie.useWidth);const st=vt.select("#"+a);N2(st,IN,D5,y3.pie.useMaxWidth),xt.setAttribute("viewBox","0 0 "+D5+" "+IN);var v=40,m=18,b=4,E=Math.min(D5,IN)/2-v,C=st.append("g").attr("transform","translate("+D5/2+","+IN/2+")"),A=p.db.getSections(),N=0;Object.keys(A).forEach(function(Ct){N+=A[Ct]});const Et=y3.themeVariables;var F=[Et.pie1,Et.pie2,Et.pie3,Et.pie4,Et.pie5,Et.pie6,Et.pie7,Et.pie8,Et.pie9,Et.pie10,Et.pie11,Et.pie12];const gt=((ht=y3.pie)==null?void 0:ht.textPosition)??.75;let[pt]=HA(Et.pieOuterStrokeWidth);pt??(pt=2);var j=x1t().range(F),R=Object.entries(A).map(function(Ct,nt){return{order:nt,name:Ct[0],value:Ct[1]}}),H=N9e().value(function(Ct){return Ct.value}).sort(function(Ct,nt){return Ct.order-nt.order}),Y=H(R),rt=LA().innerRadius(0).outerRadius(E),J=LA().innerRadius(E*gt).outerRadius(E*gt);C.append("circle").attr("cx",0).attr("cy",0).attr("r",E+pt/2).attr("class","pieOuterCircle"),C.selectAll("mySlices").data(Y).enter().append("path").attr("d",rt).attr("fill",function(Ct){return j(Ct.data.name)}).attr("class","pieCircle"),C.selectAll("mySlices").data(Y).enter().append("text").text(function(Ct){return(Ct.data.value/N*100).toFixed(0)+"%"}).attr("transform",function(Ct){return"translate("+J.centroid(Ct)+")"}).style("text-anchor","middle").attr("class","slice"),C.append("text").text(p.db.getDiagramTitle()).attr("x",0).attr("y",-(IN-50)/2).attr("class","pieTitleText");var it=C.selectAll(".legend").data(j.domain()).enter().append("g").attr("class","legend").attr("transform",function(Ct,nt){const Nt=m+b,dt=Nt*j.domain().length/2,Ft=12*m,X=nt*Nt-dt;return"translate("+Ft+","+X+")"});it.append("rect").attr("width",m).attr("height",m).style("fill",j).style("stroke",j),it.data(Y).append("text").attr("x",m+b).attr("y",m-b).text(function(Ct){return p.db.getShowData()||y3.showData||y3.pie.showData?Ct.data.name+" ["+Ct.data.value+"]":Ct.data.name})}catch(Tt){Vt.error("Error while rendering info diagram"),Vt.error(Tt)}}},styles:yqe}},Symbol.toStringTag,{value:"Module"}));var Z0t=function(){var i=function(Se,ee,_e,qe){for(_e=_e||{},qe=Se.length;qe--;_e[Se[qe]]=ee);return _e},a=[1,3],f=[1,5],p=[1,6],v=[1,7],m=[1,8],b=[1,10],E=[1,5,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],C=[1,5,7,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],A=[38,39,40],N=[2,8],F=[1,19],j=[1,23],R=[1,24],H=[1,25],Y=[1,26],rt=[1,27],J=[1,29],it=[1,30],ht=[1,31],Tt=[1,32],yt=[1,33],vt=[1,34],ut=[1,37],xt=[1,38],st=[1,39],Et=[1,40],gt=[1,41],pt=[1,42],Ct=[1,43],nt=[1,44],Nt=[1,45],dt=[1,46],Ft=[1,47],X=[1,48],Bt=[1,49],Rt=[1,52],mt=[1,67],Ot=[1,68],Gt=[5,23,27,38,39,40,50,51,52,53,54,55,56,57,58,59,60,61],Ve=[5,7,38,39,40,41],Cn={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,directive:6,QUADRANT:7,document:8,line:9,statement:10,axisDetails:11,quadrantDetails:12,points: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:21,text: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,openDirective:33,typeDirective:34,closeDirective:35,":":36,argDirective:37,NEWLINE:38,SEMI:39,EOF:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,alphaNumToken:45,textNoTagsToken:46,STR:47,MD_STR:48,alphaNum:49,PUNCTUATION:50,AMP:51,NUM:52,ALPHA:53,COMMA:54,PLUS:55,EQUALS:56,MULT:57,DOT:58,BRKT:59,UNDERSCORE:60,MINUS:61,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",7:"QUADRANT",14:"title",15:"title_value",16:"acc_title",17:"acc_title_value",18:"acc_descr",19:"acc_descr_value",20:"acc_descr_multiline_value",21:"section",23:"point_start",24:"point_x",25:"point_y",26:"X-AXIS",27:"AXIS-TEXT-DELIMITER",28:"Y-AXIS",29:"QUADRANT_1",30:"QUADRANT_2",31:"QUADRANT_3",32:"QUADRANT_4",36:":",38:"NEWLINE",39:"SEMI",40:"EOF",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive",47:"STR",48:"MD_STR",50:"PUNCTUATION",51:"AMP",52:"NUM",53:"ALPHA",54:"COMMA",55:"PLUS",56:"EQUALS",57:"MULT",58:"DOT",59:"BRKT",60:"UNDERSCORE",61:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[10,0],[10,2],[10,1],[10,1],[10,1],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[13,4],[11,4],[11,3],[11,2],[11,4],[11,3],[11,2],[12,2],[12,2],[12,2],[12,2],[6,3],[6,5],[4,1],[4,1],[4,1],[33,1],[34,1],[37,1],[35,1],[22,1],[22,2],[22,1],[22,1],[49,1],[49,2],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[46,1],[46,1],[46,1]],performAction:function(ee,_e,qe,ce,Ce,he,Re){var se=he.length-1;switch(Ce){case 13:this.$=he[se].trim(),ce.setDiagramTitle(this.$);break;case 14:this.$=he[se].trim(),ce.setAccTitle(this.$);break;case 15:case 16:this.$=he[se].trim(),ce.setAccDescription(this.$);break;case 17:ce.addSection(he[se].substr(8)),this.$=he[se].substr(8);break;case 19:ce.addPoint(he[se-3],he[se-1],he[se]);break;case 20:ce.setXAxisLeftText(he[se-2]),ce.setXAxisRightText(he[se]);break;case 21:he[se-1].text+=" ⟶ ",ce.setXAxisLeftText(he[se-1]);break;case 22:ce.setXAxisLeftText(he[se]);break;case 23:ce.setYAxisBottomText(he[se-2]),ce.setYAxisTopText(he[se]);break;case 24:he[se-1].text+=" ⟶ ",ce.setYAxisBottomText(he[se-1]);break;case 25:ce.setYAxisBottomText(he[se]);break;case 26:ce.setQuadrant1Text(he[se]);break;case 27:ce.setQuadrant2Text(he[se]);break;case 28:ce.setQuadrant3Text(he[se]);break;case 29:ce.setQuadrant4Text(he[se]);break;case 35:ce.parseDirective("%%{","open_directive");break;case 36:ce.parseDirective(he[se],"type_directive");break;case 37:he[se]=he[se].trim().replace(/'/g,'"'),ce.parseDirective(he[se],"arg_directive");break;case 38:ce.parseDirective("}%%","close_directive","quadrantChart");break;case 39:this.$={text:he[se],type:"text"};break;case 40:this.$={text:he[se-1].text+""+he[se],type:he[se-1].type};break;case 41:this.$={text:he[se],type:"text"};break;case 42:this.$={text:he[se],type:"markdown"};break;case 43:this.$=he[se];break;case 44:this.$=he[se-1]+""+he[se];break}},table:[{3:1,4:2,5:a,6:4,7:f,33:9,38:p,39:v,40:m,41:b},{1:[3]},{3:11,4:2,5:a,6:4,7:f,33:9,38:p,39:v,40:m,41:b},{3:12,4:2,5:a,6:4,7:f,33:9,38:p,39:v,40:m,41:b},{3:13,4:2,5:a,6:4,7:f,33:9,38:p,39:v,40:m,41:b},i(E,[2,5],{8:14}),i(C,[2,32]),i(C,[2,33]),i(C,[2,34]),{34:15,42:[1,16]},{42:[2,35]},{1:[2,1]},{1:[2,2]},{1:[2,3]},i(A,N,{33:9,9:17,10:18,11:20,12:21,13:22,6:28,22:35,45:36,1:[2,4],5:F,14:j,16:R,18:H,20:Y,21:rt,26:J,28:it,29:ht,30:Tt,31:yt,32:vt,41:b,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt}),{35:50,36:[1,51],44:Rt},i([36,44],[2,36]),i(E,[2,6]),{4:53,38:p,39:v,40:m},i(A,N,{33:9,11:20,12:21,13:22,6:28,22:35,45:36,10:54,5:F,14:j,16:R,18:H,20:Y,21:rt,26:J,28:it,29:ht,30:Tt,31:yt,32:vt,41:b,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt}),i(A,[2,10]),i(A,[2,11]),i(A,[2,12]),{15:[1,55]},{17:[1,56]},{19:[1,57]},i(A,[2,16]),i(A,[2,17]),i(A,[2,18]),{22:58,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{22:59,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{22:60,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{22:61,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{22:62,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{22:63,45:36,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt},{5:mt,23:[1,64],45:66,46:65,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot},i(Gt,[2,39]),i(Gt,[2,41]),i(Gt,[2,42]),i(Gt,[2,45]),i(Gt,[2,46]),i(Gt,[2,47]),i(Gt,[2,48]),i(Gt,[2,49]),i(Gt,[2,50]),i(Gt,[2,51]),i(Gt,[2,52]),i(Gt,[2,53]),i(Gt,[2,54]),i(Gt,[2,55]),i(Ve,[2,30]),{37:69,43:[1,70]},i(Ve,[2,38]),i(E,[2,7]),i(A,[2,9]),i(A,[2,13]),i(A,[2,14]),i(A,[2,15]),i(A,[2,22],{46:65,45:66,5:mt,27:[1,71],50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,25],{46:65,45:66,5:mt,27:[1,72],50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,26],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,27],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,28],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,29],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),{24:[1,73]},i(Gt,[2,40]),i(Gt,[2,56]),i(Gt,[2,57]),i(Gt,[2,58]),{35:74,44:Rt},{44:[2,37]},i(A,[2,21],{45:36,22:75,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt}),i(A,[2,24],{45:36,22:76,47:ut,48:xt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt}),{25:[1,77]},i(Ve,[2,31]),i(A,[2,20],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,23],{46:65,45:66,5:mt,50:st,51:Et,52:gt,53:pt,54:Ct,55:nt,56:Nt,57:dt,58:Ft,59:X,60:Bt,61:Ot}),i(A,[2,19])],defaultActions:{10:[2,35],11:[2,1],12:[2,2],13:[2,3],70:[2,37]},parseError:function(ee,_e){if(_e.recoverable)this.trace(ee);else{var qe=new Error(ee);throw qe.hash=_e,qe}},parse:function(ee){var _e=this,qe=[0],ce=[],Ce=[null],he=[],Re=this.table,se="",Pe=0,Qt=0,vr=2,$t=1,ur=he.slice.call(arguments,1),le=Object.create(this.lexer),rr={yy:{}};for(var ar in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ar)&&(rr.yy[ar]=this.yy[ar]);le.setInput(ee,rr.yy),rr.yy.lexer=le,rr.yy.parser=this,typeof le.yylloc>"u"&&(le.yylloc={});var Qn=le.yylloc;he.push(Qn);var Zn=le.options&&le.options.ranges;typeof rr.yy.parseError=="function"?this.parseError=rr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dn(){var Or;return Or=ce.pop()||le.lex()||$t,typeof Or!="number"&&(Or instanceof Array&&(ce=Or,Or=ce.pop()),Or=_e.symbols_[Or]||Or),Or}for(var kn,_r,Rr,os,As={},ma,Zr,Hi,Gn;;){if(_r=qe[qe.length-1],this.defaultActions[_r]?Rr=this.defaultActions[_r]:((kn===null||typeof kn>"u")&&(kn=dn()),Rr=Re[_r]&&Re[_r][kn]),typeof Rr>"u"||!Rr.length||!Rr[0]){var Jn="";Gn=[];for(ma in Re[_r])this.terminals_[ma]&&ma>vr&&Gn.push("'"+this.terminals_[ma]+"'");le.showPosition?Jn="Parse error on line "+(Pe+1)+`:
+`+le.showPosition()+`
+Expecting `+Gn.join(", ")+", got '"+(this.terminals_[kn]||kn)+"'":Jn="Parse error on line "+(Pe+1)+": Unexpected "+(kn==$t?"end of input":"'"+(this.terminals_[kn]||kn)+"'"),this.parseError(Jn,{text:le.match,token:this.terminals_[kn]||kn,line:le.yylineno,loc:Qn,expected:Gn})}if(Rr[0]instanceof Array&&Rr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_r+", token: "+kn);switch(Rr[0]){case 1:qe.push(kn),Ce.push(le.yytext),he.push(le.yylloc),qe.push(Rr[1]),kn=null,Qt=le.yyleng,se=le.yytext,Pe=le.yylineno,Qn=le.yylloc;break;case 2:if(Zr=this.productions_[Rr[1]][1],As.$=Ce[Ce.length-Zr],As._$={first_line:he[he.length-(Zr||1)].first_line,last_line:he[he.length-1].last_line,first_column:he[he.length-(Zr||1)].first_column,last_column:he[he.length-1].last_column},Zn&&(As._$.range=[he[he.length-(Zr||1)].range[0],he[he.length-1].range[1]]),os=this.performAction.apply(As,[se,Qt,Pe,rr.yy,Rr[1],Ce,he].concat(ur)),typeof os<"u")return os;Zr&&(qe=qe.slice(0,-1*Zr*2),Ce=Ce.slice(0,-1*Zr),he=he.slice(0,-1*Zr)),qe.push(this.productions_[Rr[1]][0]),Ce.push(As.$),he.push(As._$),Hi=Re[qe[qe.length-2]][qe[qe.length-1]],qe.push(Hi);break;case 3:return!0}}return!0}},xe=function(){var Se={EOF:1,parseError:function(_e,qe){if(this.yy.parser)this.yy.parser.parseError(_e,qe);else throw new Error(_e)},setInput:function(ee,_e){return this.yy=_e||this.yy||{},this._input=ee,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 ee=this._input[0];this.yytext+=ee,this.yyleng++,this.offset++,this.match+=ee,this.matched+=ee;var _e=ee.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),ee},unput:function(ee){var _e=ee.length,qe=ee.split(/(?:\r\n?|\n)/g);this._input=ee+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_e),this.offset-=_e;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),qe.length-1&&(this.yylineno-=qe.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:qe?(qe.length===ce.length?this.yylloc.first_column:0)+ce[ce.length-qe.length].length-qe[0].length:this.yylloc.first_column-_e},this.options.ranges&&(this.yylloc.range=[Ce[0],Ce[0]+this.yyleng-_e]),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(ee){this.unput(this.match.slice(ee))},pastInput:function(){var ee=this.matched.substr(0,this.matched.length-this.match.length);return(ee.length>20?"...":"")+ee.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ee=this.match;return ee.length<20&&(ee+=this._input.substr(0,20-ee.length)),(ee.substr(0,20)+(ee.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ee=this.pastInput(),_e=new Array(ee.length+1).join("-");return ee+this.upcomingInput()+`
+`+_e+"^"},test_match:function(ee,_e){var qe,ce,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))),ce=ee[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+ee[0].length},this.yytext+=ee[0],this.match+=ee[0],this.matches=ee,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(ee[0].length),this.matched+=ee[0],qe=this.performAction.call(this,this.yy,this,_e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),qe)return qe;if(this._backtrack){for(var he in Ce)this[he]=Ce[he];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ee,_e,qe,ce;this._more||(this.yytext="",this.match="");for(var Ce=this._currentRules(),he=0;he<Ce.length;he++)if(qe=this._input.match(this.rules[Ce[he]]),qe&&(!_e||qe[0].length>_e[0].length)){if(_e=qe,ce=he,this.options.backtrack_lexer){if(ee=this.test_match(qe,Ce[he]),ee!==!1)return ee;if(this._backtrack){_e=!1;continue}else return!1}else if(!this.options.flex)break}return _e?(ee=this.test_match(_e,Ce[ce]),ee!==!1?ee:!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 _e=this.next();return _e||this.lex()},begin:function(_e){this.conditionStack.push(_e)},popState:function(){var _e=this.conditionStack.length-1;return _e>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(_e){return _e=this.conditionStack.length-1-Math.abs(_e||0),_e>=0?this.conditionStack[_e]:"INITIAL"},pushState:function(_e){this.begin(_e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(_e,qe,ce,Ce){switch(ce){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),36;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:break;case 6:break;case 7:return 38;case 8:break;case 9:return this.begin("title"),14;case 10:return this.popState(),"title_value";case 11:return this.begin("acc_title"),16;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),18;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 26;case 19:return 28;case 20:return 27;case 21:return 29;case 22:return 30;case 23:return 31;case 24:return 32;case 25:this.begin("md_string");break;case 26:return"MD_STR";case 27:this.popState();break;case 28:this.begin("string");break;case 29:this.popState();break;case 30:return"STR";case 31:return this.begin("point_start"),23;case 32:return this.begin("point_x"),24;case 33:this.popState();break;case 34:this.popState(),this.begin("point_y");break;case 35:return this.popState(),25;case 36:return 7;case 37:return 53;case 38:return"COLON";case 39:return 55;case 40:return 54;case 41:return 56;case 42:return 56;case 43:return 57;case 44:return 59;case 45:return 60;case 46:return 58;case 47:return 51;case 48:return 61;case 49:return 52;case 50:return 5;case 51:return 39;case 52:return 50;case 53:return 40}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[35],inclusive:!1},point_x:{rules:[34],inclusive:!1},point_start:{rules:[32,33],inclusive:!1},acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[10],inclusive:!1},md_string:{rules:[26,27],inclusive:!1},string:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,11,13,15,18,19,20,21,22,23,24,25,28,31,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};return Se}();Cn.lexer=xe;function Kn(){this.yy={}}return Kn.prototype=Cn,Cn.Parser=Kn,new Kn}();Z0t.parser=Z0t;const kqe=Z0t,vg=JDt();class Eqe{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,f,p,v,m,b,E,C,A,N,F,j,R,H,Y,rt,J,it;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((a=h1.quadrantChart)==null?void 0:a.chartWidth)||500,chartWidth:((f=h1.quadrantChart)==null?void 0:f.chartHeight)||500,titlePadding:((p=h1.quadrantChart)==null?void 0:p.titlePadding)||10,titleFontSize:((v=h1.quadrantChart)==null?void 0:v.titleFontSize)||20,quadrantPadding:((m=h1.quadrantChart)==null?void 0:m.quadrantPadding)||5,xAxisLabelPadding:((b=h1.quadrantChart)==null?void 0:b.xAxisLabelPadding)||5,yAxisLabelPadding:((E=h1.quadrantChart)==null?void 0:E.yAxisLabelPadding)||5,xAxisLabelFontSize:((C=h1.quadrantChart)==null?void 0:C.xAxisLabelFontSize)||16,yAxisLabelFontSize:((A=h1.quadrantChart)==null?void 0:A.yAxisLabelFontSize)||16,quadrantLabelFontSize:((N=h1.quadrantChart)==null?void 0:N.quadrantLabelFontSize)||16,quadrantTextTopPadding:((F=h1.quadrantChart)==null?void 0:F.quadrantTextTopPadding)||5,pointTextPadding:((j=h1.quadrantChart)==null?void 0:j.pointTextPadding)||5,pointLabelFontSize:((R=h1.quadrantChart)==null?void 0:R.pointLabelFontSize)||12,pointRadius:((H=h1.quadrantChart)==null?void 0:H.pointRadius)||5,xAxisPosition:((Y=h1.quadrantChart)==null?void 0:Y.xAxisPosition)||"top",yAxisPosition:((rt=h1.quadrantChart)==null?void 0:rt.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((J=h1.quadrantChart)==null?void 0:J.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((it=h1.quadrantChart)==null?void 0:it.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:vg.quadrant1Fill,quadrant2Fill:vg.quadrant2Fill,quadrant3Fill:vg.quadrant3Fill,quadrant4Fill:vg.quadrant4Fill,quadrant1TextFill:vg.quadrant1TextFill,quadrant2TextFill:vg.quadrant2TextFill,quadrant3TextFill:vg.quadrant3TextFill,quadrant4TextFill:vg.quadrant4TextFill,quadrantPointFill:vg.quadrantPointFill,quadrantPointTextFill:vg.quadrantPointTextFill,quadrantXAxisTextFill:vg.quadrantXAxisTextFill,quadrantYAxisTextFill:vg.quadrantYAxisTextFill,quadrantTitleFill:vg.quadrantTitleFill,quadrantInternalBorderStrokeFill:vg.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:vg.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),Vt.info("clear called")}setData(a){this.data={...this.data,...a}}addPoints(a){this.data.points=[...a,...this.data.points]}setConfig(a){Vt.trace("setConfig called with: ",a),this.config={...this.config,...a}}setThemeConfig(a){Vt.trace("setThemeConfig called with: ",a),this.themeConfig={...this.themeConfig,...a}}calculateSpace(a,f,p,v){const m=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,b={top:a==="top"&&f?m:0,bottom:a==="bottom"&&f?m:0},E=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,C={left:this.config.yAxisPosition==="left"&&p?E:0,right:this.config.yAxisPosition==="right"&&p?E:0},A=this.config.titleFontSize+this.config.titlePadding*2,N={top:v?A:0},F=this.config.quadrantPadding+C.left,j=this.config.quadrantPadding+b.top+N.top,R=this.config.chartWidth-this.config.quadrantPadding*2-C.left-C.right,H=this.config.chartHeight-this.config.quadrantPadding*2-b.top-b.bottom-N.top,Y=R/2,rt=H/2;return{xAxisSpace:b,yAxisSpace:C,titleSpace:N,quadrantSpace:{quadrantLeft:F,quadrantTop:j,quadrantWidth:R,quadrantHalfWidth:Y,quadrantHeight:H,quadrantHalfHeight:rt}}}getAxisLabels(a,f,p,v){const{quadrantSpace:m,titleSpace:b}=v,{quadrantHalfHeight:E,quadrantHeight:C,quadrantLeft:A,quadrantHalfWidth:N,quadrantTop:F,quadrantWidth:j}=m,R=this.data.points.length===0,H=[];return this.data.xAxisLeftText&&f&&H.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:A+(R?N/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+F+C+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:R?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&f&&H.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:A+N+(R?N/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+F+C+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:R?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&p&&H.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+A+j+this.config.quadrantPadding,y:F+C-(R?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:R?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&p&&H.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+A+j+this.config.quadrantPadding,y:F+E-(R?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:R?"center":"left",horizontalPos:"top",rotation:-90}),H}getQuadrants(a){const{quadrantSpace:f}=a,{quadrantHalfHeight:p,quadrantLeft:v,quadrantHalfWidth:m,quadrantTop:b}=f,E=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:v+m,y:b,width:m,height:p,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:v,y:b,width:m,height:p,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:v,y:b+p,width:m,height:p,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:v+m,y:b+p,width:m,height:p,fill:this.themeConfig.quadrant4Fill}];for(const C of E)C.text.x=C.x+C.width/2,this.data.points.length===0?(C.text.y=C.y+C.height/2,C.text.horizontalPos="middle"):(C.text.y=C.y+this.config.quadrantTextTopPadding,C.text.horizontalPos="top");return E}getQuadrantPoints(a){const{quadrantSpace:f}=a,{quadrantHeight:p,quadrantLeft:v,quadrantTop:m,quadrantWidth:b}=f,E=jU().domain([0,1]).range([v,b+v]),C=jU().domain([0,1]).range([p+m,m]);return this.data.points.map(N=>({x:E(N.x),y:C(N.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:N.text,fill:this.themeConfig.quadrantPointTextFill,x:E(N.x),y:C(N.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(a){const f=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:p}=a,{quadrantHalfHeight:v,quadrantHeight:m,quadrantLeft:b,quadrantHalfWidth:E,quadrantTop:C,quadrantWidth:A}=p;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-f,y1:C,x2:b+A+f,y2:C},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b+A,y1:C+f,x2:b+A,y2:C+m-f},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-f,y1:C+m,x2:b+A+f,y2:C+m},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b,y1:C+f,x2:b,y2:C+m-f},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+E,y1:C+f,x2:b+E,y2:C+m-f},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+f,y1:C+v,x2:b+A-f,y2:C+v}]}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),f=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),p=this.config.showTitle&&!!this.data.titleText,v=this.data.points.length>0?"bottom":this.config.xAxisPosition,m=this.calculateSpace(v,a,f,p);return{points:this.getQuadrantPoints(m),quadrants:this.getQuadrants(m),axisLabels:this.getAxisLabels(v,a,f,m),borderLines:this.getBorders(m),title:this.getTitle(p)}}}const Tqe=Me();function I5(i){return cg(i.trim(),Tqe)}const _0=new Eqe;function _qe(i){_0.setData({quadrant1Text:I5(i.text)})}function Cqe(i){_0.setData({quadrant2Text:I5(i.text)})}function Sqe(i){_0.setData({quadrant3Text:I5(i.text)})}function Aqe(i){_0.setData({quadrant4Text:I5(i.text)})}function Lqe(i){_0.setData({xAxisLeftText:I5(i.text)})}function Mqe(i){_0.setData({xAxisRightText:I5(i.text)})}function Dqe(i){_0.setData({yAxisTopText:I5(i.text)})}function Iqe(i){_0.setData({yAxisBottomText:I5(i.text)})}function Oqe(i,a,f){_0.addPoints([{x:a,y:f,text:I5(i.text)}])}function Pqe(i){_0.setConfig({chartWidth:i})}function Nqe(i){_0.setConfig({chartHeight:i})}function Fqe(){const i=Me(),{themeVariables:a,quadrantChart:f}=i;return f&&_0.setConfig(f),_0.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}),_0.setData({titleText:fp()}),_0.build()}const Bqe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:kqe,db:{setWidth:Pqe,setHeight:Nqe,setQuadrant1Text:_qe,setQuadrant2Text:Cqe,setQuadrant3Text:Sqe,setQuadrant4Text:Aqe,setXAxisLeftText:Lqe,setXAxisRightText:Mqe,setYAxisTopText:Dqe,setYAxisBottomText:Iqe,addPoint:Oqe,getQuadrantData:Fqe,parseDirective:function(i,a,f){f1.parseDirective(this,i,a,f)},clear:function(){_0.clear(),hg()},setAccTitle:E0,getAccTitle:fg,setDiagramTitle:F2,getDiagramTitle:fp,getAccDescription:gg,setAccDescription:dg},renderer:{draw:(i,a,f,p)=>{var xt,st,Et;function v(gt){return gt==="top"?"hanging":"middle"}function m(gt){return gt==="left"?"start":"middle"}function b(gt){return`translate(${gt.x}, ${gt.y}) rotate(${gt.rotation||0})`}const E=Me();Vt.debug(`Rendering quadrant chart
+`+i);const C=E.securityLevel;let A;C==="sandbox"&&(A=wr("#i"+a));const F=wr(C==="sandbox"?A.nodes()[0].contentDocument.body:"body").select(`[id="${a}"]`),j=F.append("g").attr("class","main"),R=((xt=E.quadrantChart)==null?void 0:xt.chartWidth)||500,H=((st=E.quadrantChart)==null?void 0:st.chartHeight)||500;N2(F,H,R,((Et=E.quadrantChart)==null?void 0:Et.useMaxWidth)||!0),F.attr("viewBox","0 0 "+R+" "+H),p.db.setHeight(H),p.db.setWidth(R);const Y=p.db.getQuadrantData(),rt=j.append("g").attr("class","quadrants"),J=j.append("g").attr("class","border"),it=j.append("g").attr("class","data-points"),ht=j.append("g").attr("class","labels"),Tt=j.append("g").attr("class","title");Y.title&&Tt.append("text").attr("x",0).attr("y",0).attr("fill",Y.title.fill).attr("font-size",Y.title.fontSize).attr("dominant-baseline",v(Y.title.horizontalPos)).attr("text-anchor",m(Y.title.verticalPos)).attr("transform",b(Y.title)).text(Y.title.text),Y.borderLines&&J.selectAll("line").data(Y.borderLines).enter().append("line").attr("x1",gt=>gt.x1).attr("y1",gt=>gt.y1).attr("x2",gt=>gt.x2).attr("y2",gt=>gt.y2).style("stroke",gt=>gt.strokeFill).style("stroke-width",gt=>gt.strokeWidth);const yt=rt.selectAll("g.quadrant").data(Y.quadrants).enter().append("g").attr("class","quadrant");yt.append("rect").attr("x",gt=>gt.x).attr("y",gt=>gt.y).attr("width",gt=>gt.width).attr("height",gt=>gt.height).attr("fill",gt=>gt.fill),yt.append("text").attr("x",0).attr("y",0).attr("fill",gt=>gt.text.fill).attr("font-size",gt=>gt.text.fontSize).attr("dominant-baseline",gt=>v(gt.text.horizontalPos)).attr("text-anchor",gt=>m(gt.text.verticalPos)).attr("transform",gt=>b(gt.text)).text(gt=>gt.text.text),ht.selectAll("g.label").data(Y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(gt=>gt.text).attr("fill",gt=>gt.fill).attr("font-size",gt=>gt.fontSize).attr("dominant-baseline",gt=>v(gt.horizontalPos)).attr("text-anchor",gt=>m(gt.verticalPos)).attr("transform",gt=>b(gt));const ut=it.selectAll("g.data-point").data(Y.points).enter().append("g").attr("class","data-point");ut.append("circle").attr("cx",gt=>gt.x).attr("cy",gt=>gt.y).attr("r",gt=>gt.radius).attr("fill",gt=>gt.fill),ut.append("text").attr("x",0).attr("y",0).text(gt=>gt.text.text).attr("fill",gt=>gt.text.fill).attr("font-size",gt=>gt.text.fontSize).attr("dominant-baseline",gt=>v(gt.text.horizontalPos)).attr("text-anchor",gt=>m(gt.text.verticalPos)).attr("transform",gt=>b(gt.text))}},styles:()=>""}},Symbol.toStringTag,{value:"Module"}));var J0t=function(){var i=function(Kn,Se,ee,_e){for(ee=ee||{},_e=Kn.length;_e--;ee[Kn[_e]]=Se);return ee},a=[1,3],f=[1,5],p=[1,6],v=[1,7],m=[1,8],b=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],E=[1,22],C=[2,13],A=[1,26],N=[1,27],F=[1,28],j=[1,29],R=[1,30],H=[1,31],Y=[1,24],rt=[1,32],J=[1,33],it=[1,36],ht=[71,72],Tt=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],yt=[1,56],vt=[1,57],ut=[1,58],xt=[1,59],st=[1,60],Et=[1,61],gt=[1,62],pt=[62,63],Ct=[1,74],nt=[1,70],Nt=[1,71],dt=[1,72],Ft=[1,73],X=[1,75],Bt=[1,79],Rt=[1,80],mt=[1,77],Ot=[1,78],Gt=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],Ve={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",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",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(Se,ee,_e,qe,ce,Ce,he){var Re=Ce.length-1;switch(ce){case 6:this.$=Ce[Re].trim(),qe.setAccTitle(this.$);break;case 7:case 8:this.$=Ce[Re].trim(),qe.setAccDescription(this.$);break;case 9:qe.parseDirective("%%{","open_directive");break;case 10:qe.parseDirective(Ce[Re],"type_directive");break;case 11:Ce[Re]=Ce[Re].trim().replace(/'/g,'"'),qe.parseDirective(Ce[Re],"arg_directive");break;case 12:qe.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:qe.addRequirement(Ce[Re-3],Ce[Re-4]);break;case 20:qe.setNewReqId(Ce[Re-2]);break;case 21:qe.setNewReqText(Ce[Re-2]);break;case 22:qe.setNewReqRisk(Ce[Re-2]);break;case 23:qe.setNewReqVerifyMethod(Ce[Re-2]);break;case 26:this.$=qe.RequirementType.REQUIREMENT;break;case 27:this.$=qe.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=qe.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=qe.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=qe.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=qe.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=qe.RiskLevel.LOW_RISK;break;case 33:this.$=qe.RiskLevel.MED_RISK;break;case 34:this.$=qe.RiskLevel.HIGH_RISK;break;case 35:this.$=qe.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=qe.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=qe.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=qe.VerifyType.VERIFY_TEST;break;case 39:qe.addElement(Ce[Re-3]);break;case 40:qe.setNewElementType(Ce[Re-2]);break;case 41:qe.setNewElementDocRef(Ce[Re-2]);break;case 44:qe.addRelationship(Ce[Re-2],Ce[Re],Ce[Re-4]);break;case 45:qe.addRelationship(Ce[Re-2],Ce[Re-4],Ce[Re]);break;case 46:this.$=qe.Relationships.CONTAINS;break;case 47:this.$=qe.Relationships.COPIES;break;case 48:this.$=qe.Relationships.DERIVES;break;case 49:this.$=qe.Relationships.SATISFIES;break;case 50:this.$=qe.Relationships.VERIFIES;break;case 51:this.$=qe.Relationships.REFINES;break;case 52:this.$=qe.Relationships.TRACES;break}},table:[{3:1,4:2,6:a,9:4,14:f,16:p,18:v,19:m},{1:[3]},{3:10,4:2,5:[1,9],6:a,9:4,14:f,16:p,18:v,19:m},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},i(b,[2,8]),{20:[2,9]},{3:16,4:2,6:a,9:4,14:f,16:p,18:v,19:m},{1:[2,2]},{4:21,5:E,7:17,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{11:34,12:[1,35],22:it},i([12,22],[2,10]),i(b,[2,6]),i(b,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:E,7:38,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{4:21,5:E,7:39,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{4:21,5:E,7:40,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{4:21,5:E,7:41,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{4:21,5:E,7:42,8:C,9:4,14:f,16:p,18:v,19:m,23:18,24:19,25:20,26:23,32:25,40:A,41:N,42:F,43:j,44:R,45:H,53:Y,71:rt,72:J},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},i(ht,[2,26]),i(ht,[2,27]),i(ht,[2,28]),i(ht,[2,29]),i(ht,[2,30]),i(ht,[2,31]),i(Tt,[2,55]),i(Tt,[2,56]),i(b,[2,4]),{13:51,21:[1,52]},i(b,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:yt,65:vt,66:ut,67:xt,68:st,69:Et,70:gt},{61:63,64:yt,65:vt,66:ut,67:xt,68:st,69:Et,70:gt},{11:64,22:it},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},i(pt,[2,46]),i(pt,[2,47]),i(pt,[2,48]),i(pt,[2,49]),i(pt,[2,50]),i(pt,[2,51]),i(pt,[2,52]),{63:[1,68]},i(b,[2,5]),{5:Ct,29:69,30:nt,33:Nt,35:dt,37:Ft,39:X},{5:Bt,39:Rt,55:76,56:mt,58:Ot},{32:81,71:rt,72:J},{32:82,71:rt,72:J},i(Gt,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:Ct,29:87,30:nt,33:Nt,35:dt,37:Ft,39:X},i(Gt,[2,25]),i(Gt,[2,39]),{31:[1,88]},{31:[1,89]},{5:Bt,39:Rt,55:90,56:mt,58:Ot},i(Gt,[2,43]),i(Gt,[2,44]),i(Gt,[2,45]),{32:91,71:rt,72:J},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},i(Gt,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},i(Gt,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:Ct,29:116,30:nt,33:Nt,35:dt,37:Ft,39:X},{5:Ct,29:117,30:nt,33:Nt,35:dt,37:Ft,39:X},{5:Ct,29:118,30:nt,33:Nt,35:dt,37:Ft,39:X},{5:Ct,29:119,30:nt,33:Nt,35:dt,37:Ft,39:X},{5:Bt,39:Rt,55:120,56:mt,58:Ot},{5:Bt,39:Rt,55:121,56:mt,58:Ot},i(Gt,[2,20]),i(Gt,[2,21]),i(Gt,[2,22]),i(Gt,[2,23]),i(Gt,[2,40]),i(Gt,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(Se,ee){if(ee.recoverable)this.trace(Se);else{var _e=new Error(Se);throw _e.hash=ee,_e}},parse:function(Se){var ee=this,_e=[0],qe=[],ce=[null],Ce=[],he=this.table,Re="",se=0,Pe=0,Qt=2,vr=1,$t=Ce.slice.call(arguments,1),ur=Object.create(this.lexer),le={yy:{}};for(var rr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rr)&&(le.yy[rr]=this.yy[rr]);ur.setInput(Se,le.yy),le.yy.lexer=ur,le.yy.parser=this,typeof ur.yylloc>"u"&&(ur.yylloc={});var ar=ur.yylloc;Ce.push(ar);var Qn=ur.options&&ur.options.ranges;typeof le.yy.parseError=="function"?this.parseError=le.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Zn(){var Jn;return Jn=qe.pop()||ur.lex()||vr,typeof Jn!="number"&&(Jn instanceof Array&&(qe=Jn,Jn=qe.pop()),Jn=ee.symbols_[Jn]||Jn),Jn}for(var dn,kn,_r,Rr,os={},As,ma,Zr,Hi;;){if(kn=_e[_e.length-1],this.defaultActions[kn]?_r=this.defaultActions[kn]:((dn===null||typeof dn>"u")&&(dn=Zn()),_r=he[kn]&&he[kn][dn]),typeof _r>"u"||!_r.length||!_r[0]){var Gn="";Hi=[];for(As in he[kn])this.terminals_[As]&&As>Qt&&Hi.push("'"+this.terminals_[As]+"'");ur.showPosition?Gn="Parse error on line "+(se+1)+`:
+`+ur.showPosition()+`
+Expecting `+Hi.join(", ")+", got '"+(this.terminals_[dn]||dn)+"'":Gn="Parse error on line "+(se+1)+": Unexpected "+(dn==vr?"end of input":"'"+(this.terminals_[dn]||dn)+"'"),this.parseError(Gn,{text:ur.match,token:this.terminals_[dn]||dn,line:ur.yylineno,loc:ar,expected:Hi})}if(_r[0]instanceof Array&&_r.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kn+", token: "+dn);switch(_r[0]){case 1:_e.push(dn),ce.push(ur.yytext),Ce.push(ur.yylloc),_e.push(_r[1]),dn=null,Pe=ur.yyleng,Re=ur.yytext,se=ur.yylineno,ar=ur.yylloc;break;case 2:if(ma=this.productions_[_r[1]][1],os.$=ce[ce.length-ma],os._$={first_line:Ce[Ce.length-(ma||1)].first_line,last_line:Ce[Ce.length-1].last_line,first_column:Ce[Ce.length-(ma||1)].first_column,last_column:Ce[Ce.length-1].last_column},Qn&&(os._$.range=[Ce[Ce.length-(ma||1)].range[0],Ce[Ce.length-1].range[1]]),Rr=this.performAction.apply(os,[Re,Pe,se,le.yy,_r[1],ce,Ce].concat($t)),typeof Rr<"u")return Rr;ma&&(_e=_e.slice(0,-1*ma*2),ce=ce.slice(0,-1*ma),Ce=Ce.slice(0,-1*ma)),_e.push(this.productions_[_r[1]][0]),ce.push(os.$),Ce.push(os._$),Zr=he[_e[_e.length-2]][_e[_e.length-1]],_e.push(Zr);break;case 3:return!0}}return!0}},Cn=function(){var Kn={EOF:1,parseError:function(ee,_e){if(this.yy.parser)this.yy.parser.parseError(ee,_e);else throw new Error(ee)},setInput:function(Se,ee){return this.yy=ee||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 ee=Se.match(/(?:\r\n?|\n).*/g);return ee?(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 ee=Se.length,_e=Se.split(/(?:\r\n?|\n)/g);this._input=Se+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ee),this.offset-=ee;var qe=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 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:_e?(_e.length===qe.length?this.yylloc.first_column:0)+qe[qe.length-_e.length].length-_e[0].length:this.yylloc.first_column-ee},this.options.ranges&&(this.yylloc.range=[ce[0],ce[0]+this.yyleng-ee]),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(),ee=new Array(Se.length+1).join("-");return Se+this.upcomingInput()+`
+`+ee+"^"},test_match:function(Se,ee){var _e,qe,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))),qe=Se[0].match(/(?:\r\n?|\n).*/g),qe&&(this.yylineno+=qe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:qe?qe[qe.length-1].length-qe[qe.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],_e=this.performAction.call(this,this.yy,this,ee,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_e)return _e;if(this._backtrack){for(var Ce in ce)this[Ce]=ce[Ce];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Se,ee,_e,qe;this._more||(this.yytext="",this.match="");for(var ce=this._currentRules(),Ce=0;Ce<ce.length;Ce++)if(_e=this._input.match(this.rules[ce[Ce]]),_e&&(!ee||_e[0].length>ee[0].length)){if(ee=_e,qe=Ce,this.options.backtrack_lexer){if(Se=this.test_match(_e,ce[Ce]),Se!==!1)return Se;if(this._backtrack){ee=!1;continue}else return!1}else if(!this.options.flex)break}return ee?(Se=this.test_match(ee,ce[qe]),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 ee=this.next();return ee||this.lex()},begin:function(ee){this.conditionStack.push(ee)},popState:function(){var ee=this.conditionStack.length-1;return ee>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(ee){return ee=this.conditionStack.length-1-Math.abs(ee||0),ee>=0?this.conditionStack[ee]:"INITIAL"},pushState:function(ee){this.begin(ee)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ee,_e,qe,ce){switch(qe){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;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 5;case 14:break;case 15:break;case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 53:this.popState();break;case 54:return"qString";case 55:return _e.yytext=_e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:(\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,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,55],inclusive:!0}}};return Kn}();Ve.lexer=Cn;function xe(){this.yy={}}return xe.prototype=Ve,Ve.Parser=xe,new xe}();J0t.parser=J0t;const Rqe=J0t;let tgt=[],pp={},ON={},fk={},PN={};const jqe={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"},parseDirective:function(i,a,f){f1.parseDirective(this,i,a,f)},getConfig:()=>Me().req,addRequirement:(i,a)=>(ON[i]===void 0&&(ON[i]={name:i,type:a,id:pp.id,text:pp.text,risk:pp.risk,verifyMethod:pp.verifyMethod}),pp={},ON[i]),getRequirements:()=>ON,setNewReqId:i=>{pp!==void 0&&(pp.id=i)},setNewReqText:i=>{pp!==void 0&&(pp.text=i)},setNewReqRisk:i=>{pp!==void 0&&(pp.risk=i)},setNewReqVerifyMethod:i=>{pp!==void 0&&(pp.verifyMethod=i)},setAccTitle:E0,getAccTitle:fg,setAccDescription:dg,getAccDescription:gg,addElement:i=>(PN[i]===void 0&&(PN[i]={name:i,type:fk.type,docRef:fk.docRef},Vt.info("Added new requirement: ",i)),fk={},PN[i]),getElements:()=>PN,setNewElementType:i=>{fk!==void 0&&(fk.type=i)},setNewElementDocRef:i=>{fk!==void 0&&(fk.docRef=i)},addRelationship:(i,a,f)=>{tgt.push({type:i,src:a,dst:f})},getRelationships:()=>tgt,clear:()=>{tgt=[],pp={},ON={},fk={},PN={},hg()}},$qe=i=>`
marker {
- fill: ${s.relationColor};
- stroke: ${s.relationColor};
+ fill: ${i.relationColor};
+ stroke: ${i.relationColor};
}
marker.cross {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
}
svg {
- font-family: ${s.fontFamily};
- font-size: ${s.fontSize};
+ font-family: ${i.fontFamily};
+ font-size: ${i.fontSize};
}
.reqBox {
- fill: ${s.requirementBackground};
- fill-opacity: 100%;
- stroke: ${s.requirementBorderColor};
- stroke-width: ${s.requirementBorderSize};
+ fill: ${i.requirementBackground};
+ fill-opacity: 1.0;
+ stroke: ${i.requirementBorderColor};
+ stroke-width: ${i.requirementBorderSize};
}
.reqTitle, .reqLabel{
- fill: ${s.requirementTextColor};
+ fill: ${i.requirementTextColor};
}
.reqLabelBox {
- fill: ${s.relationLabelBackground};
- fill-opacity: 100%;
+ fill: ${i.relationLabelBackground};
+ fill-opacity: 1.0;
}
.req-title-line {
- stroke: ${s.requirementBorderColor};
- stroke-width: ${s.requirementBorderSize};
+ stroke: ${i.requirementBorderColor};
+ stroke-width: ${i.requirementBorderSize};
}
.relationshipLine {
- stroke: ${s.relationColor};
+ stroke: ${i.relationColor};
stroke-width: 1;
}
.relationshipLabel {
- fill: ${s.relationLabelColor};
+ fill: ${i.relationLabelColor};
}
-`,lIe=s=>`.actor {
- stroke: ${s.actorBorder};
- fill: ${s.actorBkg};
+`,egt={CONTAINS:"contains",ARROW:"arrow"},sRt={ReqMarkers:egt,insertLineEndings:(i,a)=>{let f=i.append("defs").append("marker").attr("id",egt.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");f.append("circle").attr("cx",a.line_height/2).attr("cy",a.line_height/2).attr("r",a.line_height/2).attr("fill","none"),f.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),f.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",egt.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 Lh={},aRt=0;const oRt=(i,a)=>i.insert("rect","#"+a).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",Lh.rect_min_width+"px").attr("height",Lh.rect_min_height+"px"),cRt=(i,a,f)=>{let p=Lh.rect_min_width/2,v=i.append("text").attr("class","req reqLabel reqTitle").attr("id",a).attr("x",p).attr("y",Lh.rect_padding).attr("dominant-baseline","hanging"),m=0;f.forEach(A=>{m==0?v.append("tspan").attr("text-anchor","middle").attr("x",Lh.rect_min_width/2).attr("dy",0).text(A):v.append("tspan").attr("text-anchor","middle").attr("x",Lh.rect_min_width/2).attr("dy",Lh.line_height*.75).text(A),m++});let b=1.5*Lh.rect_padding,E=m*Lh.line_height*.75,C=b+E;return i.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",Lh.rect_min_width).attr("y1",C).attr("y2",C),{titleNode:v,y:C}},uRt=(i,a,f,p)=>{let v=i.append("text").attr("class","req reqLabel").attr("id",a).attr("x",Lh.rect_padding).attr("y",p).attr("dominant-baseline","hanging"),m=0;const b=30;let E=[];return f.forEach(C=>{let A=C.length;for(;A>b&&m<3;){let N=C.substring(0,b);C=C.substring(b,C.length),A=C.length,E[E.length]=N,m++}if(m==3){let N=E[E.length-1];E[E.length-1]=N.substring(0,N.length-4)+"..."}else E[E.length]=C;m=0}),E.forEach(C=>{v.append("tspan").attr("x",Lh.rect_padding).attr("dy",Lh.line_height).text(C)}),v},zqe=(i,a,f,p)=>{const v=a.node().getTotalLength(),m=a.node().getPointAtLength(v*.5),b="rel"+aRt;aRt++;const C=i.append("text").attr("class","req relationshipLabel").attr("id",b).attr("x",m.x).attr("y",m.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(p).node().getBBox();i.insert("rect","#"+b).attr("class","req reqLabelBox").attr("x",m.x-C.width/2).attr("y",m.y-C.height/2).attr("width",C.width).attr("height",C.height).attr("fill","white").attr("fill-opacity","85%")},qqe=function(i,a,f,p,v){const m=f.edge(uL(a.src),uL(a.dst)),b=Z9().x(function(C){return C.x}).y(function(C){return C.y}),E=i.insert("path","#"+p).attr("class","er relationshipLine").attr("d",b(m.points)).attr("fill","none");a.type==v.db.Relationships.CONTAINS?E.attr("marker-start","url("+bi.getUrl(Lh.arrowMarkerAbsolute)+"#"+a.type+"_line_ending)"):(E.attr("stroke-dasharray","10,7"),E.attr("marker-end","url("+bi.getUrl(Lh.arrowMarkerAbsolute)+"#"+sRt.ReqMarkers.ARROW+"_line_ending)")),zqe(i,E,Lh,`<<${a.type}>>`)},Hqe=(i,a,f)=>{Object.keys(i).forEach(p=>{let v=i[p];p=uL(p),Vt.info("Added new requirement: ",p);const m=f.append("g").attr("id",p),b="req-"+p,E=oRt(m,b);let C=cRt(m,p+"_title",[`<<${v.type}>>`,`${v.name}`]);uRt(m,p+"_body",[`Id: ${v.id}`,`Text: ${v.text}`,`Risk: ${v.risk}`,`Verification: ${v.verifyMethod}`],C.y);const A=E.node().getBBox();a.setNode(p,{width:A.width,height:A.height,shape:"rect",id:p})})},Vqe=(i,a,f)=>{Object.keys(i).forEach(p=>{let v=i[p];const m=uL(p),b=f.append("g").attr("id",m),E="element-"+m,C=oRt(b,E);let A=cRt(b,E+"_title",["<<Element>>",`${p}`]);uRt(b,E+"_body",[`Type: ${v.type||"Not Specified"}`,`Doc Ref: ${v.docRef||"None"}`],A.y);const N=C.node().getBBox();a.setNode(m,{width:N.width,height:N.height,shape:"rect",id:m})})},Gqe=(i,a)=>(i.forEach(function(f){let p=uL(f.src),v=uL(f.dst);a.setEdge(p,v,{relationship:f})}),i),Uqe=function(i,a){a.nodes().forEach(function(f){f!==void 0&&a.node(f)!==void 0&&(i.select("#"+f),i.select("#"+f).attr("transform","translate("+(a.node(f).x-a.node(f).width/2)+","+(a.node(f).y-a.node(f).height/2)+" )"))})},uL=i=>i.replace(/\s/g,"").replace(/\./g,"_"),Wqe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Rqe,db:jqe,renderer:{draw:(i,a,f,p)=>{Lh=Me().requirement;const v=Lh.securityLevel;let m;v==="sandbox"&&(m=wr("#i"+a));const E=wr(v==="sandbox"?m.nodes()[0].contentDocument.body:"body").select(`[id='${a}']`);sRt.insertLineEndings(E,Lh);const C=new d1({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:Lh.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let A=p.db.getRequirements(),N=p.db.getElements(),F=p.db.getRelationships();Hqe(A,C,E),Vqe(N,C,E),Gqe(F,C),rL(C),Uqe(E,C),F.forEach(function(rt){qqe(E,rt,C,a,p)});const j=Lh.rect_padding,R=E.node().getBBox(),H=R.width+j*2,Y=R.height+j*2;N2(E,Y,H,Lh.useMaxWidth),E.attr("viewBox",`${R.x-j} ${R.y-j} ${H} ${Y}`)}},styles:$qe}},Symbol.toStringTag,{value:"Module"}));var ngt=function(){var i=function(ce,Ce,he,Re){for(he=he||{},Re=ce.length;Re--;he[ce[Re]]=Ce);return he},a=[1,2],f=[1,3],p=[1,5],v=[1,7],m=[2,5],b=[1,15],E=[1,17],C=[1,19],A=[1,20],N=[1,22],F=[1,23],j=[1,24],R=[1,30],H=[1,31],Y=[1,32],rt=[1,33],J=[1,34],it=[1,35],ht=[1,36],Tt=[1,37],yt=[1,38],vt=[1,39],ut=[1,40],xt=[1,41],st=[1,42],Et=[1,44],gt=[1,45],pt=[1,46],Ct=[1,48],nt=[1,49],Nt=[1,50],dt=[1,51],Ft=[1,52],X=[1,53],Bt=[1,56],Rt=[1,4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,54,55,56,58,59,60,65,66,67,68,76,86],mt=[4,5,22,56,58,59],Ot=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,56,58,59,60,65,66,67,68,76,86],Gt=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,55,56,58,59,60,65,66,67,68,76,86],Ve=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,54,56,58,59,60,65,66,67,68,76,86],Cn=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,56,58,59,60,65,66,67,68,76,86],xe=[74,75,76],Kn=[1,133],Se=[1,4,5,7,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,54,55,56,58,59,60,65,66,67,68,76,86],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,create:19,box:20,restOfLine:21,end:22,signal:23,autonumber:24,NUM:25,off:26,activate:27,actor:28,deactivate:29,note_statement:30,links_statement:31,link_statement:32,properties_statement:33,details_statement:34,title:35,legacy_title:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,loop:42,rect:43,opt:44,alt:45,else_sections:46,par:47,par_sections:48,par_over:49,critical:50,option_sections:51,break:52,option:53,and:54,else:55,participant:56,AS:57,participant_actor:58,destroy:59,note:60,placement:61,text2:62,over:63,actor_pair:64,links:65,link:66,properties:67,details:68,spaceList:69,",":70,left_of:71,right_of:72,signaltype:73,"+":74,"-":75,ACTOR:76,SOLID_OPEN_ARROW:77,DOTTED_OPEN_ARROW:78,SOLID_ARROW:79,DOTTED_ARROW:80,SOLID_CROSS:81,DOTTED_CROSS:82,SOLID_POINT:83,DOTTED_POINT:84,TXT:85,open_directive:86,type_directive:87,arg_directive:88,close_directive:89,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"create",20:"box",21:"restOfLine",22:"end",24:"autonumber",25:"NUM",26:"off",27:"activate",29:"deactivate",35:"title",36:"legacy_title",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"loop",43:"rect",44:"opt",45:"alt",47:"par",49:"par_over",50:"critical",52:"break",53:"option",54:"and",55:"else",56:"participant",57:"AS",58:"participant_actor",59:"destroy",60:"note",63:"over",65:"links",66:"link",67:"properties",68:"details",70:",",71:"left_of",72:"right_of",74:"+",75:"-",76:"ACTOR",77:"SOLID_OPEN_ARROW",78:"DOTTED_OPEN_ARROW",79:"SOLID_ARROW",80:"DOTTED_ARROW",81:"SOLID_CROSS",82:"DOTTED_CROSS",83:"SOLID_POINT",84:"DOTTED_POINT",85:"TXT",86:"open_directive",87:"type_directive",88:"arg_directive",89:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,2],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[51,1],[51,4],[48,1],[48,4],[46,1],[46,4],[13,5],[13,3],[13,5],[13,3],[13,3],[30,4],[30,4],[31,3],[32,3],[33,3],[34,3],[69,2],[69,1],[64,3],[64,1],[61,1],[61,1],[23,5],[23,5],[23,4],[28,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[62,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(Ce,he,Re,se,Pe,Qt,vr){var $t=Qt.length-1;switch(Pe){case 4:return se.apply(Qt[$t]),Qt[$t];case 5:case 10:this.$=[];break;case 6:case 11:Qt[$t-1].push(Qt[$t]),this.$=Qt[$t-1];break;case 7:case 8:case 12:case 13:this.$=Qt[$t];break;case 9:case 14:this.$=[];break;case 18:Qt[$t].type="createParticipant",this.$=Qt[$t];break;case 19:Qt[$t-1].unshift({type:"boxStart",boxData:se.parseBoxData(Qt[$t-2])}),Qt[$t-1].push({type:"boxEnd",boxText:Qt[$t-2]}),this.$=Qt[$t-1];break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(Qt[$t-2]),sequenceIndexStep:Number(Qt[$t-1]),sequenceVisible:!0,signalType:se.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceIndex:Number(Qt[$t-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:se.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:se.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:se.LINETYPE.AUTONUMBER};break;case 25:this.$={type:"activeStart",signalType:se.LINETYPE.ACTIVE_START,actor:Qt[$t-1]};break;case 26:this.$={type:"activeEnd",signalType:se.LINETYPE.ACTIVE_END,actor:Qt[$t-1]};break;case 32:se.setDiagramTitle(Qt[$t].substring(6)),this.$=Qt[$t].substring(6);break;case 33:se.setDiagramTitle(Qt[$t].substring(7)),this.$=Qt[$t].substring(7);break;case 34:this.$=Qt[$t].trim(),se.setAccTitle(this.$);break;case 35:case 36:this.$=Qt[$t].trim(),se.setAccDescription(this.$);break;case 37:Qt[$t-1].unshift({type:"loopStart",loopText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.LOOP_START}),Qt[$t-1].push({type:"loopEnd",loopText:Qt[$t-2],signalType:se.LINETYPE.LOOP_END}),this.$=Qt[$t-1];break;case 38:Qt[$t-1].unshift({type:"rectStart",color:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.RECT_START}),Qt[$t-1].push({type:"rectEnd",color:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.RECT_END}),this.$=Qt[$t-1];break;case 39:Qt[$t-1].unshift({type:"optStart",optText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.OPT_START}),Qt[$t-1].push({type:"optEnd",optText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.OPT_END}),this.$=Qt[$t-1];break;case 40:Qt[$t-1].unshift({type:"altStart",altText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.ALT_START}),Qt[$t-1].push({type:"altEnd",signalType:se.LINETYPE.ALT_END}),this.$=Qt[$t-1];break;case 41:Qt[$t-1].unshift({type:"parStart",parText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.PAR_START}),Qt[$t-1].push({type:"parEnd",signalType:se.LINETYPE.PAR_END}),this.$=Qt[$t-1];break;case 42:Qt[$t-1].unshift({type:"parStart",parText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.PAR_OVER_START}),Qt[$t-1].push({type:"parEnd",signalType:se.LINETYPE.PAR_END}),this.$=Qt[$t-1];break;case 43:Qt[$t-1].unshift({type:"criticalStart",criticalText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.CRITICAL_START}),Qt[$t-1].push({type:"criticalEnd",signalType:se.LINETYPE.CRITICAL_END}),this.$=Qt[$t-1];break;case 44:Qt[$t-1].unshift({type:"breakStart",breakText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.BREAK_START}),Qt[$t-1].push({type:"breakEnd",optText:se.parseMessage(Qt[$t-2]),signalType:se.LINETYPE.BREAK_END}),this.$=Qt[$t-1];break;case 47:this.$=Qt[$t-3].concat([{type:"option",optionText:se.parseMessage(Qt[$t-1]),signalType:se.LINETYPE.CRITICAL_OPTION},Qt[$t]]);break;case 49:this.$=Qt[$t-3].concat([{type:"and",parText:se.parseMessage(Qt[$t-1]),signalType:se.LINETYPE.PAR_AND},Qt[$t]]);break;case 51:this.$=Qt[$t-3].concat([{type:"else",altText:se.parseMessage(Qt[$t-1]),signalType:se.LINETYPE.ALT_ELSE},Qt[$t]]);break;case 52:Qt[$t-3].draw="participant",Qt[$t-3].type="addParticipant",Qt[$t-3].description=se.parseMessage(Qt[$t-1]),this.$=Qt[$t-3];break;case 53:Qt[$t-1].draw="participant",Qt[$t-1].type="addParticipant",this.$=Qt[$t-1];break;case 54:Qt[$t-3].draw="actor",Qt[$t-3].type="addParticipant",Qt[$t-3].description=se.parseMessage(Qt[$t-1]),this.$=Qt[$t-3];break;case 55:Qt[$t-1].draw="actor",Qt[$t-1].type="addParticipant",this.$=Qt[$t-1];break;case 56:Qt[$t-1].type="destroyParticipant",this.$=Qt[$t-1];break;case 57:this.$=[Qt[$t-1],{type:"addNote",placement:Qt[$t-2],actor:Qt[$t-1].actor,text:Qt[$t]}];break;case 58:Qt[$t-2]=[].concat(Qt[$t-1],Qt[$t-1]).slice(0,2),Qt[$t-2][0]=Qt[$t-2][0].actor,Qt[$t-2][1]=Qt[$t-2][1].actor,this.$=[Qt[$t-1],{type:"addNote",placement:se.PLACEMENT.OVER,actor:Qt[$t-2].slice(0,2),text:Qt[$t]}];break;case 59:this.$=[Qt[$t-1],{type:"addLinks",actor:Qt[$t-1].actor,text:Qt[$t]}];break;case 60:this.$=[Qt[$t-1],{type:"addALink",actor:Qt[$t-1].actor,text:Qt[$t]}];break;case 61:this.$=[Qt[$t-1],{type:"addProperties",actor:Qt[$t-1].actor,text:Qt[$t]}];break;case 62:this.$=[Qt[$t-1],{type:"addDetails",actor:Qt[$t-1].actor,text:Qt[$t]}];break;case 65:this.$=[Qt[$t-2],Qt[$t]];break;case 66:this.$=Qt[$t];break;case 67:this.$=se.PLACEMENT.LEFTOF;break;case 68:this.$=se.PLACEMENT.RIGHTOF;break;case 69:this.$=[Qt[$t-4],Qt[$t-1],{type:"addMessage",from:Qt[$t-4].actor,to:Qt[$t-1].actor,signalType:Qt[$t-3],msg:Qt[$t]},{type:"activeStart",signalType:se.LINETYPE.ACTIVE_START,actor:Qt[$t-1]}];break;case 70:this.$=[Qt[$t-4],Qt[$t-1],{type:"addMessage",from:Qt[$t-4].actor,to:Qt[$t-1].actor,signalType:Qt[$t-3],msg:Qt[$t]},{type:"activeEnd",signalType:se.LINETYPE.ACTIVE_END,actor:Qt[$t-4]}];break;case 71:this.$=[Qt[$t-3],Qt[$t-1],{type:"addMessage",from:Qt[$t-3].actor,to:Qt[$t-1].actor,signalType:Qt[$t-2],msg:Qt[$t]}];break;case 72:this.$={type:"addParticipant",actor:Qt[$t]};break;case 73:this.$=se.LINETYPE.SOLID_OPEN;break;case 74:this.$=se.LINETYPE.DOTTED_OPEN;break;case 75:this.$=se.LINETYPE.SOLID;break;case 76:this.$=se.LINETYPE.DOTTED;break;case 77:this.$=se.LINETYPE.SOLID_CROSS;break;case 78:this.$=se.LINETYPE.DOTTED_CROSS;break;case 79:this.$=se.LINETYPE.SOLID_POINT;break;case 80:this.$=se.LINETYPE.DOTTED_POINT;break;case 81:this.$=se.parseMessage(Qt[$t].trim().substring(1));break;case 82:se.parseDirective("%%{","open_directive");break;case 83:se.parseDirective(Qt[$t],"type_directive");break;case 84:Qt[$t]=Qt[$t].trim().replace(/'/g,'"'),se.parseDirective(Qt[$t],"arg_directive");break;case 85:se.parseDirective("}%%","close_directive","sequence");break}},table:[{3:1,4:a,5:f,6:4,7:p,14:6,86:v},{1:[3]},{3:8,4:a,5:f,6:4,7:p,14:6,86:v},{3:9,4:a,5:f,6:4,7:p,14:6,86:v},{3:10,4:a,5:f,6:4,7:p,14:6,86:v},i([1,4,5,19,20,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,56,58,59,60,65,66,67,68,76,86],m,{8:11}),{15:12,87:[1,13]},{87:[2,82]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{16:54,17:[1,55],89:Bt},i([17,89],[2,83]),i(Rt,[2,6]),{6:43,10:57,13:18,14:6,19:C,20:A,23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},i(Rt,[2,8]),i(Rt,[2,9]),i(Rt,[2,17]),{13:58,56:Et,58:gt,59:pt},{21:[1,59]},{5:[1,60]},{5:[1,63],25:[1,61],26:[1,62]},{28:64,76:X},{28:65,76:X},{5:[1,66]},{5:[1,67]},{5:[1,68]},{5:[1,69]},{5:[1,70]},i(Rt,[2,32]),i(Rt,[2,33]),{38:[1,71]},{40:[1,72]},i(Rt,[2,36]),{21:[1,73]},{21:[1,74]},{21:[1,75]},{21:[1,76]},{21:[1,77]},{21:[1,78]},{21:[1,79]},{21:[1,80]},i(Rt,[2,45]),{28:81,76:X},{28:82,76:X},{28:83,76:X},{73:84,77:[1,85],78:[1,86],79:[1,87],80:[1,88],81:[1,89],82:[1,90],83:[1,91],84:[1,92]},{61:93,63:[1,94],71:[1,95],72:[1,96]},{28:97,76:X},{28:98,76:X},{28:99,76:X},{28:100,76:X},i([5,57,70,77,78,79,80,81,82,83,84,85],[2,72]),{5:[1,101]},{18:102,88:[1,103]},{5:[2,85]},i(Rt,[2,7]),i(Rt,[2,18]),i(mt,[2,10],{11:104}),i(Rt,[2,20]),{5:[1,106],25:[1,105]},{5:[1,107]},i(Rt,[2,24]),{5:[1,108]},{5:[1,109]},i(Rt,[2,27]),i(Rt,[2,28]),i(Rt,[2,29]),i(Rt,[2,30]),i(Rt,[2,31]),i(Rt,[2,34]),i(Rt,[2,35]),i(Ot,m,{8:110}),i(Ot,m,{8:111}),i(Ot,m,{8:112}),i(Gt,m,{46:113,8:114}),i(Ve,m,{48:115,8:116}),i(Ve,m,{8:116,48:117}),i(Cn,m,{51:118,8:119}),i(Ot,m,{8:120}),{5:[1,122],57:[1,121]},{5:[1,124],57:[1,123]},{5:[1,125]},{28:128,74:[1,126],75:[1,127],76:X},i(xe,[2,73]),i(xe,[2,74]),i(xe,[2,75]),i(xe,[2,76]),i(xe,[2,77]),i(xe,[2,78]),i(xe,[2,79]),i(xe,[2,80]),{28:129,76:X},{28:131,64:130,76:X},{76:[2,67]},{76:[2,68]},{62:132,85:Kn},{62:134,85:Kn},{62:135,85:Kn},{62:136,85:Kn},i(Se,[2,15]),{16:137,89:Bt},{89:[2,84]},{4:[1,140],5:[1,142],12:139,13:141,22:[1,138],56:Et,58:gt,59:pt},{5:[1,143]},i(Rt,[2,22]),i(Rt,[2,23]),i(Rt,[2,25]),i(Rt,[2,26]),{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[1,144],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[1,145],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[1,146],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{22:[1,147]},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[2,50],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,55:[1,148],56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{22:[1,149]},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[2,48],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,54:[1,150],56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{22:[1,151]},{22:[1,152]},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[2,46],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,53:[1,153],56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{4:b,5:E,6:43,9:14,10:16,13:18,14:6,19:C,20:A,22:[1,154],23:21,24:N,27:F,28:47,29:j,30:25,31:26,32:27,33:28,34:29,35:R,36:H,37:Y,39:rt,41:J,42:it,43:ht,44:Tt,45:yt,47:vt,49:ut,50:xt,52:st,56:Et,58:gt,59:pt,60:Ct,65:nt,66:Nt,67:dt,68:Ft,76:X,86:v},{21:[1,155]},i(Rt,[2,53]),{21:[1,156]},i(Rt,[2,55]),i(Rt,[2,56]),{28:157,76:X},{28:158,76:X},{62:159,85:Kn},{62:160,85:Kn},{62:161,85:Kn},{70:[1,162],85:[2,66]},{5:[2,59]},{5:[2,81]},{5:[2,60]},{5:[2,61]},{5:[2,62]},{5:[1,163]},i(Rt,[2,19]),i(mt,[2,11]),{13:164,56:Et,58:gt,59:pt},i(mt,[2,13]),i(mt,[2,14]),i(Rt,[2,21]),i(Rt,[2,37]),i(Rt,[2,38]),i(Rt,[2,39]),i(Rt,[2,40]),{21:[1,165]},i(Rt,[2,41]),{21:[1,166]},i(Rt,[2,42]),i(Rt,[2,43]),{21:[1,167]},i(Rt,[2,44]),{5:[1,168]},{5:[1,169]},{62:170,85:Kn},{62:171,85:Kn},{5:[2,71]},{5:[2,57]},{5:[2,58]},{28:172,76:X},i(Se,[2,16]),i(mt,[2,12]),i(Gt,m,{8:114,46:173}),i(Ve,m,{8:116,48:174}),i(Cn,m,{8:119,51:175}),i(Rt,[2,52]),i(Rt,[2,54]),{5:[2,69]},{5:[2,70]},{85:[2,65]},{22:[2,51]},{22:[2,49]},{22:[2,47]}],defaultActions:{7:[2,82],8:[2,1],9:[2,2],10:[2,3],56:[2,85],95:[2,67],96:[2,68],103:[2,84],132:[2,59],133:[2,81],134:[2,60],135:[2,61],136:[2,62],159:[2,71],160:[2,57],161:[2,58],170:[2,69],171:[2,70],172:[2,65],173:[2,51],174:[2,49],175:[2,47]},parseError:function(Ce,he){if(he.recoverable)this.trace(Ce);else{var Re=new Error(Ce);throw Re.hash=he,Re}},parse:function(Ce){var he=this,Re=[0],se=[],Pe=[null],Qt=[],vr=this.table,$t="",ur=0,le=0,rr=2,ar=1,Qn=Qt.slice.call(arguments,1),Zn=Object.create(this.lexer),dn={yy:{}};for(var kn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kn)&&(dn.yy[kn]=this.yy[kn]);Zn.setInput(Ce,dn.yy),dn.yy.lexer=Zn,dn.yy.parser=this,typeof Zn.yylloc>"u"&&(Zn.yylloc={});var _r=Zn.yylloc;Qt.push(_r);var Rr=Zn.options&&Zn.options.ranges;typeof dn.yy.parseError=="function"?this.parseError=dn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function os(){var Ba;return Ba=se.pop()||Zn.lex()||ar,typeof Ba!="number"&&(Ba instanceof Array&&(se=Ba,Ba=se.pop()),Ba=he.symbols_[Ba]||Ba),Ba}for(var As,ma,Zr,Hi,Gn={},Jn,Or,Fn,Li;;){if(ma=Re[Re.length-1],this.defaultActions[ma]?Zr=this.defaultActions[ma]:((As===null||typeof As>"u")&&(As=os()),Zr=vr[ma]&&vr[ma][As]),typeof Zr>"u"||!Zr.length||!Zr[0]){var Dn="";Li=[];for(Jn in vr[ma])this.terminals_[Jn]&&Jn>rr&&Li.push("'"+this.terminals_[Jn]+"'");Zn.showPosition?Dn="Parse error on line "+(ur+1)+`:
+`+Zn.showPosition()+`
+Expecting `+Li.join(", ")+", got '"+(this.terminals_[As]||As)+"'":Dn="Parse error on line "+(ur+1)+": Unexpected "+(As==ar?"end of input":"'"+(this.terminals_[As]||As)+"'"),this.parseError(Dn,{text:Zn.match,token:this.terminals_[As]||As,line:Zn.yylineno,loc:_r,expected:Li})}if(Zr[0]instanceof Array&&Zr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ma+", token: "+As);switch(Zr[0]){case 1:Re.push(As),Pe.push(Zn.yytext),Qt.push(Zn.yylloc),Re.push(Zr[1]),As=null,le=Zn.yyleng,$t=Zn.yytext,ur=Zn.yylineno,_r=Zn.yylloc;break;case 2:if(Or=this.productions_[Zr[1]][1],Gn.$=Pe[Pe.length-Or],Gn._$={first_line:Qt[Qt.length-(Or||1)].first_line,last_line:Qt[Qt.length-1].last_line,first_column:Qt[Qt.length-(Or||1)].first_column,last_column:Qt[Qt.length-1].last_column},Rr&&(Gn._$.range=[Qt[Qt.length-(Or||1)].range[0],Qt[Qt.length-1].range[1]]),Hi=this.performAction.apply(Gn,[$t,le,ur,dn.yy,Zr[1],Pe,Qt].concat(Qn)),typeof Hi<"u")return Hi;Or&&(Re=Re.slice(0,-1*Or*2),Pe=Pe.slice(0,-1*Or),Qt=Qt.slice(0,-1*Or)),Re.push(this.productions_[Zr[1]][0]),Pe.push(Gn.$),Qt.push(Gn._$),Fn=vr[Re[Re.length-2]][Re[Re.length-1]],Re.push(Fn);break;case 3:return!0}}return!0}},_e=function(){var ce={EOF:1,parseError:function(he,Re){if(this.yy.parser)this.yy.parser.parseError(he,Re);else throw new Error(he)},setInput:function(Ce,he){return this.yy=he||this.yy||{},this._input=Ce,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 Ce=this._input[0];this.yytext+=Ce,this.yyleng++,this.offset++,this.match+=Ce,this.matched+=Ce;var he=Ce.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),Ce},unput:function(Ce){var he=Ce.length,Re=Ce.split(/(?:\r\n?|\n)/g);this._input=Ce+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-he),this.offset-=he;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),Re.length-1&&(this.yylineno-=Re.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:Re?(Re.length===se.length?this.yylloc.first_column:0)+se[se.length-Re.length].length-Re[0].length:this.yylloc.first_column-he},this.options.ranges&&(this.yylloc.range=[Pe[0],Pe[0]+this.yyleng-he]),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(Ce){this.unput(this.match.slice(Ce))},pastInput:function(){var Ce=this.matched.substr(0,this.matched.length-this.match.length);return(Ce.length>20?"...":"")+Ce.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ce=this.match;return Ce.length<20&&(Ce+=this._input.substr(0,20-Ce.length)),(Ce.substr(0,20)+(Ce.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ce=this.pastInput(),he=new Array(Ce.length+1).join("-");return Ce+this.upcomingInput()+`
+`+he+"^"},test_match:function(Ce,he){var Re,se,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))),se=Ce[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+Ce[0].length},this.yytext+=Ce[0],this.match+=Ce[0],this.matches=Ce,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(Ce[0].length),this.matched+=Ce[0],Re=this.performAction.call(this,this.yy,this,he,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Re)return Re;if(this._backtrack){for(var Qt in Pe)this[Qt]=Pe[Qt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ce,he,Re,se;this._more||(this.yytext="",this.match="");for(var Pe=this._currentRules(),Qt=0;Qt<Pe.length;Qt++)if(Re=this._input.match(this.rules[Pe[Qt]]),Re&&(!he||Re[0].length>he[0].length)){if(he=Re,se=Qt,this.options.backtrack_lexer){if(Ce=this.test_match(Re,Pe[Qt]),Ce!==!1)return Ce;if(this._backtrack){he=!1;continue}else return!1}else if(!this.options.flex)break}return he?(Ce=this.test_match(he,Pe[se]),Ce!==!1?Ce:!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 he=this.next();return he||this.lex()},begin:function(he){this.conditionStack.push(he)},popState:function(){var he=this.conditionStack.length-1;return he>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(he){return he=this.conditionStack.length-1-Math.abs(he||0),he>=0?this.conditionStack[he]:"INITIAL"},pushState:function(he){this.begin(he)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(he,Re,se,Pe){switch(se){case 0:return this.begin("open_directive"),86;case 1:return this.begin("type_directive"),87;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),89;case 4:return 88;case 5:return 5;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:return 25;case 12:return this.begin("LINE"),20;case 13:return this.begin("ID"),56;case 14:return this.begin("ID"),58;case 15:return 19;case 16:return this.begin("ID"),59;case 17:return Re.yytext=Re.yytext.trim(),this.begin("ALIAS"),76;case 18:return this.popState(),this.popState(),this.begin("LINE"),57;case 19:return this.popState(),this.popState(),5;case 20:return this.begin("LINE"),42;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),44;case 23:return this.begin("LINE"),45;case 24:return this.begin("LINE"),55;case 25:return this.begin("LINE"),47;case 26:return this.begin("LINE"),49;case 27:return this.begin("LINE"),54;case 28:return this.begin("LINE"),50;case 29:return this.begin("LINE"),53;case 30:return this.begin("LINE"),52;case 31:return this.popState(),21;case 32:return 22;case 33:return 71;case 34:return 72;case 35:return 65;case 36:return 66;case 37:return 67;case 38:return 68;case 39:return 63;case 40:return 60;case 41:return this.begin("ID"),27;case 42:return this.begin("ID"),29;case 43:return 35;case 44:return 36;case 45:return this.begin("acc_title"),37;case 46:return this.popState(),"acc_title_value";case 47:return this.begin("acc_descr"),39;case 48:return this.popState(),"acc_descr_value";case 49:this.begin("acc_descr_multiline");break;case 50:this.popState();break;case 51:return"acc_descr_multiline_value";case 52:return 7;case 53:return 24;case 54:return 26;case 55:return 70;case 56:return 5;case 57:return Re.yytext=Re.yytext.trim(),76;case 58:return 79;case 59:return 80;case 60:return 77;case 61:return 78;case 62:return 81;case 63:return 82;case 64:return 83;case 65:return 84;case 66:return 85;case 67:return 74;case 68:return 75;case 69:return 5;case 70:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\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:[50,51],inclusive:!1},acc_descr:{rules:[48],inclusive:!1},acc_title:{rules:[46],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,17],inclusive:!1},ALIAS:{rules:[7,8,18,19],inclusive:!1},LINE:{rules:[7,8,31],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,49,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70],inclusive:!0}}};return ce}();ee.lexer=_e;function qe(){this.yy={}}return qe.prototype=ee,ee.Parser=qe,new qe}();ngt.parser=ngt;const Kqe=ngt;let NN,O5={},rgt={},igt={},lL=[],z2=[],LK=!1,sgt,P5,FN,hL;const Yqe=function(i,a,f){f1.parseDirective(this,i,a,f)},Xqe=function(i){lL.push({name:i.text,wrap:i.wrap===void 0&&xE()||!!i.wrap,fill:i.color,actorKeys:[]}),P5=lL.slice(-1)[0]},agt=function(i,a,f,p){let v=P5;const m=O5[i];if(m){if(P5&&m.box&&P5!==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 '"+P5.name+"' at the same time.");if(v=m.box?m.box:P5,m.box=v,m&&a===m.name&&f==null)return}(f==null||f.text==null)&&(f={text:a,wrap:null,type:p}),(p==null||f.text==null)&&(f={text:a,wrap:null,type:p}),O5[i]={box:v,name:a,description:f.text,wrap:f.wrap===void 0&&xE()||!!f.wrap,prevActor:NN,links:{},properties:{},actorCnt:null,rectData:null,type:p||"participant"},NN&&O5[NN]&&(O5[NN].nextActor=i),P5&&P5.actorKeys.push(i),NN=i},Qqe=i=>{let a,f=0;for(a=0;a<z2.length;a++)z2[a].type===RN.ACTIVE_START&&z2[a].from.actor===i&&f++,z2[a].type===RN.ACTIVE_END&&z2[a].from.actor===i&&f--;return f},Zqe=function(i,a,f,p){z2.push({from:i,to:a,message:f.text,wrap:f.wrap===void 0&&xE()||!!f.wrap,answer:p})},of=function(i,a,f={text:void 0,wrap:void 0},p){if(p===RN.ACTIVE_END&&Qqe(i.actor)<1){let m=new Error("Trying to inactivate an inactive participant ("+i.actor+")");throw m.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},m}return z2.push({from:i,to:a,message:f.text,wrap:f.wrap===void 0&&xE()||!!f.wrap,type:p}),!0},Jqe=function(){return lL.length>0},tHe=function(){return lL.some(i=>i.name)},eHe=function(){return z2},nHe=function(){return lL},rHe=function(){return O5},iHe=function(){return rgt},sHe=function(){return igt},BN=function(i){return O5[i]},aHe=function(){return Object.keys(O5)},oHe=function(){LK=!0},cHe=function(){LK=!1},uHe=()=>LK,lHe=function(i){sgt=i},xE=()=>sgt!==void 0?sgt:Me().sequence.wrap,hHe=function(){O5={},rgt={},igt={},lL=[],z2=[],LK=!1,hg()},fHe=function(i){const a=i.trim(),f={text:a.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:a.match(/^:?wrap:/)!==null?!0:a.match(/^:?nowrap:/)!==null?!1:void 0};return Vt.debug("parseMessage:",f),f},dHe=function(i){const a=i.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let f=a!=null&&a[1]?a[1].trim():"transparent",p=a!=null&&a[2]?a[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",f)||(f="transparent",p=i.trim());else{const m=new Option().style;m.color=f,m.color!==f&&(f="transparent",p=i.trim())}return{color:f,text:p!==void 0?cg(p.replace(/^:?(?:no)?wrap:/,""),Me()):void 0,wrap:p!==void 0?p.match(/^:?wrap:/)!==null?!0:p.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},RN={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},gHe={FILLED:0,OPEN:1},pHe={LEFTOF:0,RIGHTOF:1,OVER:2},lRt=function(i,a,f){f.text,f.wrap===void 0&&xE()||f.wrap;const p=[].concat(i,i);z2.push({from:p[0],to:p[1],message:f.text,wrap:f.wrap===void 0&&xE()||!!f.wrap,type:RN.NOTE,placement:a})},hRt=function(i,a){const f=BN(i);try{let p=cg(a.text,Me());p=p.replace(/&amp;/g,"&"),p=p.replace(/&equals;/g,"=");const v=JSON.parse(p);ogt(f,v)}catch(p){Vt.error("error while parsing actor link text",p)}},bHe=function(i,a){const f=BN(i);try{const b={};let E=cg(a.text,Me());var p=E.indexOf("@");E=E.replace(/&amp;/g,"&"),E=E.replace(/&equals;/g,"=");var v=E.slice(0,p-1).trim(),m=E.slice(p+1).trim();b[v]=m,ogt(f,b)}catch(b){Vt.error("error while parsing actor link text",b)}};function ogt(i,a){if(i.links==null)i.links=a;else for(let f in a)i.links[f]=a[f]}const fRt=function(i,a){const f=BN(i);try{let p=cg(a.text,Me());const v=JSON.parse(p);dRt(f,v)}catch(p){Vt.error("error while parsing actor properties text",p)}};function dRt(i,a){if(i.properties==null)i.properties=a;else for(let f in a)i.properties[f]=a[f]}function vHe(){P5=void 0}const gRt=function(i,a){const f=BN(i),p=document.getElementById(a.text);try{const v=p.innerHTML,m=JSON.parse(v);m.properties&&dRt(f,m.properties),m.links&&ogt(f,m.links)}catch(v){Vt.error("error while parsing actor details text",v)}},wHe=function(i,a){if(i!==void 0&&i.properties!==void 0)return i.properties[a]},pRt=function(i){if(Array.isArray(i))i.forEach(function(a){pRt(a)});else switch(i.type){case"sequenceIndex":z2.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":agt(i.actor,i.actor,i.description,i.draw);break;case"createParticipant":if(O5[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");FN=i.actor,agt(i.actor,i.actor,i.description,i.draw),rgt[i.actor]=z2.length;break;case"destroyParticipant":hL=i.actor,igt[i.actor]=z2.length;break;case"activeStart":of(i.actor,void 0,void 0,i.signalType);break;case"activeEnd":of(i.actor,void 0,void 0,i.signalType);break;case"addNote":lRt(i.actor,i.placement,i.text);break;case"addLinks":hRt(i.actor,i.text);break;case"addALink":bHe(i.actor,i.text);break;case"addProperties":fRt(i.actor,i.text);break;case"addDetails":gRt(i.actor,i.text);break;case"addMessage":if(FN){if(i.to!==FN)throw new Error("The created participant "+FN+" does not have an associated creating message after its declaration. Please check the sequence diagram.");FN=void 0}else if(hL){if(i.to!==hL&&i.from!==hL)throw new Error("The destroyed participant "+hL+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");hL=void 0}of(i.from,i.to,i.msg,i.signalType);break;case"boxStart":Xqe(i.boxData);break;case"boxEnd":vHe();break;case"loopStart":of(void 0,void 0,i.loopText,i.signalType);break;case"loopEnd":of(void 0,void 0,void 0,i.signalType);break;case"rectStart":of(void 0,void 0,i.color,i.signalType);break;case"rectEnd":of(void 0,void 0,void 0,i.signalType);break;case"optStart":of(void 0,void 0,i.optText,i.signalType);break;case"optEnd":of(void 0,void 0,void 0,i.signalType);break;case"altStart":of(void 0,void 0,i.altText,i.signalType);break;case"else":of(void 0,void 0,i.altText,i.signalType);break;case"altEnd":of(void 0,void 0,void 0,i.signalType);break;case"setAccTitle":E0(i.text);break;case"parStart":of(void 0,void 0,i.parText,i.signalType);break;case"and":of(void 0,void 0,i.parText,i.signalType);break;case"parEnd":of(void 0,void 0,void 0,i.signalType);break;case"criticalStart":of(void 0,void 0,i.criticalText,i.signalType);break;case"option":of(void 0,void 0,i.optionText,i.signalType);break;case"criticalEnd":of(void 0,void 0,void 0,i.signalType);break;case"breakStart":of(void 0,void 0,i.breakText,i.signalType);break;case"breakEnd":of(void 0,void 0,void 0,i.signalType);break}},mHe={addActor:agt,addMessage:Zqe,addSignal:of,addLinks:hRt,addDetails:gRt,addProperties:fRt,autoWrap:xE,setWrap:lHe,enableSequenceNumbers:oHe,disableSequenceNumbers:cHe,showSequenceNumbers:uHe,getMessages:eHe,getActors:rHe,getCreatedActors:iHe,getDestroyedActors:sHe,getActor:BN,getActorKeys:aHe,getActorProperty:wHe,getAccTitle:fg,getBoxes:nHe,getDiagramTitle:fp,setDiagramTitle:F2,parseDirective:Yqe,getConfig:()=>Me().sequence,clear:hHe,parseMessage:fHe,parseBoxData:dHe,LINETYPE:RN,ARROWTYPE:gHe,PLACEMENT:pHe,addNote:lRt,setAccTitle:E0,apply:pRt,setAccDescription:dg,getAccDescription:gg,hasAtLeastOneBox:Jqe,hasAtLeastOneBoxWithTitle:tHe},yHe=i=>`.actor {
+ stroke: ${i.actorBorder};
+ fill: ${i.actorBkg};
}
text.actor > tspan {
- fill: ${s.actorTextColor};
+ fill: ${i.actorTextColor};
stroke: none;
}
.actor-line {
- stroke: ${s.actorLineColor};
+ stroke: ${i.actorLineColor};
}
.messageLine0 {
stroke-width: 1.5;
stroke-dasharray: none;
- stroke: ${s.signalColor};
+ stroke: ${i.signalColor};
}
.messageLine1 {
stroke-width: 1.5;
stroke-dasharray: 2, 2;
- stroke: ${s.signalColor};
+ stroke: ${i.signalColor};
}
#arrowhead path {
- fill: ${s.signalColor};
- stroke: ${s.signalColor};
+ fill: ${i.signalColor};
+ stroke: ${i.signalColor};
}
.sequenceNumber {
- fill: ${s.sequenceNumberColor};
+ fill: ${i.sequenceNumberColor};
}
#sequencenumber {
- fill: ${s.signalColor};
+ fill: ${i.signalColor};
}
#crosshead path {
- fill: ${s.signalColor};
- stroke: ${s.signalColor};
+ fill: ${i.signalColor};
+ stroke: ${i.signalColor};
}
.messageText {
- fill: ${s.signalTextColor};
+ fill: ${i.signalTextColor};
stroke: none;
}
.labelBox {
- stroke: ${s.labelBoxBorderColor};
- fill: ${s.labelBoxBkgColor};
+ stroke: ${i.labelBoxBorderColor};
+ fill: ${i.labelBoxBkgColor};
}
.labelText, .labelText > tspan {
- fill: ${s.labelTextColor};
+ fill: ${i.labelTextColor};
stroke: none;
}
.loopText, .loopText > tspan {
- fill: ${s.loopTextColor};
+ fill: ${i.loopTextColor};
stroke: none;
}
.loopLine {
stroke-width: 2px;
stroke-dasharray: 2, 2;
- stroke: ${s.labelBoxBorderColor};
- fill: ${s.labelBoxBorderColor};
+ stroke: ${i.labelBoxBorderColor};
+ fill: ${i.labelBoxBorderColor};
}
.note {
//stroke: #decc93;
- stroke: ${s.noteBorderColor};
- fill: ${s.noteBkgColor};
+ stroke: ${i.noteBorderColor};
+ fill: ${i.noteBkgColor};
}
.noteText, .noteText > tspan {
- fill: ${s.noteTextColor};
+ fill: ${i.noteTextColor};
stroke: none;
}
.activation0 {
- fill: ${s.activationBkgColor};
- stroke: ${s.activationBorderColor};
+ fill: ${i.activationBkgColor};
+ stroke: ${i.activationBorderColor};
}
.activation1 {
- fill: ${s.activationBkgColor};
- stroke: ${s.activationBorderColor};
+ fill: ${i.activationBkgColor};
+ stroke: ${i.activationBorderColor};
}
.activation2 {
- fill: ${s.activationBkgColor};
- stroke: ${s.activationBorderColor};
+ fill: ${i.activationBkgColor};
+ stroke: ${i.activationBorderColor};
}
.actorPopupMenu {
@@ -734,58 +809,223 @@ g.classGroup line {
.actorPopupMenuPanel {
position: absolute;
- fill: ${s.actorBkg};
+ fill: ${i.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: ${s.actorBorder};
- fill: ${s.actorBkg};
+ stroke: ${i.actorBorder};
+ fill: ${i.actorBkg};
}
.actor-man circle, line {
- stroke: ${s.actorBorder};
- fill: ${s.actorBkg};
+ stroke: ${i.actorBorder};
+ fill: ${i.actorBkg};
stroke-width: 2px;
}
-`,aK=s=>`
+`,kE=18*2,cgt=function(i,a){return zW(i,a)},bRt=(i,a)=>{sAe(()=>{const f=document.querySelectorAll(i);f.length!==0&&(f[0].addEventListener("mouseover",function(){THe("actor"+a+"_popup")}),f[0].addEventListener("mouseout",function(){_He("actor"+a+"_popup")}))})},xHe=function(i,a,f,p,v){if(a.links===void 0||a.links===null||Object.keys(a.links).length===0)return{height:0,width:0};const m=a.links,b=a.actorCnt,E=a.rectData;var C="none";v&&(C="block !important");const A=i.append("g");A.attr("id","actor"+b+"_popup"),A.attr("class","actorPopupMenu"),A.attr("display",C),bRt("#actor"+b+"_popup",b);var N="";E.class!==void 0&&(N=" "+E.class);let F=E.width>f?E.width:f;const j=A.append("rect");if(j.attr("class","actorPopupMenuPanel"+N),j.attr("x",E.x),j.attr("y",E.height),j.attr("fill",E.fill),j.attr("stroke",E.stroke),j.attr("width",F),j.attr("height",E.height),j.attr("rx",E.rx),j.attr("ry",E.ry),m!=null){var R=20;for(let rt in m){var H=A.append("a"),Y=Zx(m[rt]);H.attr("xlink:href",Y),H.attr("target","_blank"),zHe(p)(rt,H,E.x+10,E.height+R,F,20,{class:"actor"},p),R+=30}}return j.attr("height",R),{height:E.height+R,width:F}},kHe=function(i){return"var pu = document.getElementById('"+i+"'); if (pu != null) { pu.style.display = 'block'; }"},EHe=function(i){return"var pu = document.getElementById('"+i+"'); if (pu != null) { pu.style.display = 'none'; }"},THe=function(i){var a=document.getElementById(i);a!=null&&(a.style.display="block")},_He=function(i){var a=document.getElementById(i);a!=null&&(a.style.display="none")},fL=function(i,a){let f=0,p=0;const v=a.text.split(bi.lineBreakRegex),[m,b]=HA(a.fontSize);let E=[],C=0,A=()=>a.y;if(a.valign!==void 0&&a.textMargin!==void 0&&a.textMargin>0)switch(a.valign){case"top":case"start":A=()=>Math.round(a.y+a.textMargin);break;case"middle":case"center":A=()=>Math.round(a.y+(f+p+a.textMargin)/2);break;case"bottom":case"end":A=()=>Math.round(a.y+(f+p+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[N,F]of v.entries()){a.textMargin!==void 0&&a.textMargin===0&&m!==void 0&&(C=N*m);const j=i.append("text");j.attr("x",a.x),j.attr("y",A()),a.anchor!==void 0&&j.attr("text-anchor",a.anchor).attr("dominant-baseline",a.dominantBaseline).attr("alignment-baseline",a.alignmentBaseline),a.fontFamily!==void 0&&j.style("font-family",a.fontFamily),b!==void 0&&j.style("font-size",b),a.fontWeight!==void 0&&j.style("font-weight",a.fontWeight),a.fill!==void 0&&j.attr("fill",a.fill),a.class!==void 0&&j.attr("class",a.class),a.dy!==void 0?j.attr("dy",a.dy):C!==0&&j.attr("dy",C);const R=F||jIt;if(a.tspan){const H=j.append("tspan");H.attr("x",a.x),a.fill!==void 0&&H.attr("fill",a.fill),H.text(R)}else j.text(R);a.valign!==void 0&&a.textMargin!==void 0&&a.textMargin>0&&(p+=(j._groups||j)[0][0].getBBox().height,f=p),E.push(j)}return E},vRt=function(i,a){function f(v,m,b,E,C){return v+","+m+" "+(v+b)+","+m+" "+(v+b)+","+(m+E-C)+" "+(v+b-C*1.2)+","+(m+E)+" "+v+","+(m+E)}const p=i.append("polygon");return p.attr("points",f(a.x,a.y,a.width,a.height,7)),p.attr("class","labelBox"),a.y=a.y+a.height/2,fL(i,a),p};let lm=-1;const wRt=(i,a,f,p)=>{i.select&&f.forEach(v=>{const m=a[v],b=i.select("#actor"+m.actorCnt);!p.mirrorActors&&m.stopy?b.attr("y2",m.stopy+m.height/2):p.mirrorActors&&b.attr("y2",m.stopy)})},CHe=function(i,a,f,p){const v=p?a.stopy:a.starty,m=a.x+a.width/2,b=v+5,E=i.append("g").lower();var C=E;p||(lm++,C.append("line").attr("id","actor"+lm).attr("x1",m).attr("y1",b).attr("x2",m).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),C=E.append("g"),a.actorCnt=lm,a.links!=null&&(C.attr("id","root-"+lm),bRt("#root-"+lm,lm)));const A=lE();var N="actor";a.properties!=null&&a.properties.class?N=a.properties.class:A.fill="#eaeaea",A.x=a.x,A.y=v,A.width=a.width,A.height=a.height,A.class=N,A.rx=3,A.ry=3;const F=cgt(C,A);if(a.rectData=A,a.properties!=null&&a.properties.icon){const R=a.properties.icon.trim();R.charAt(0)==="@"?vMe(C,A.x+A.width-20,A.y+10,R.substr(1)):bMe(C,A.x+A.width-20,A.y+10,R)}ugt(f)(a.description,C,A.x,A.y,A.width,A.height,{class:"actor"},f);let j=a.height;if(F.node){const R=F.node().getBBox();a.height=R.height,j=R.height}return j},SHe=function(i,a,f,p){const v=p?a.stopy:a.starty,m=a.x+a.width/2,b=v+80;i.lower(),p||(lm++,i.append("line").attr("id","actor"+lm).attr("x1",m).attr("y1",b).attr("x2",m).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),a.actorCnt=lm);const E=i.append("g");E.attr("class","actor-man");const C=lE();C.x=a.x,C.y=v,C.fill="#eaeaea",C.width=a.width,C.height=a.height,C.class="actor",C.rx=3,C.ry=3,E.append("line").attr("id","actor-man-torso"+lm).attr("x1",m).attr("y1",v+25).attr("x2",m).attr("y2",v+45),E.append("line").attr("id","actor-man-arms"+lm).attr("x1",m-kE/2).attr("y1",v+33).attr("x2",m+kE/2).attr("y2",v+33),E.append("line").attr("x1",m-kE/2).attr("y1",v+60).attr("x2",m).attr("y2",v+45),E.append("line").attr("x1",m).attr("y1",v+45).attr("x2",m+kE/2-2).attr("y2",v+60);const A=E.append("circle");A.attr("cx",a.x+a.width/2),A.attr("cy",v+10),A.attr("r",15),A.attr("width",a.width),A.attr("height",a.height);const N=E.node().getBBox();return a.height=N.height,ugt(f)(a.description,E,C.x,C.y+35,C.width,C.height,{class:"actor"},f),a.height},AHe=function(i,a,f,p){switch(a.type){case"actor":return SHe(i,a,f,p);case"participant":return CHe(i,a,f,p)}},LHe=function(i,a,f){const v=i.append("g");mRt(v,a),a.name&&ugt(f)(a.name,v,a.x,a.y+(a.textMaxHeight||0)/2,a.width,0,{class:"text"},f),v.lower()},MHe=function(i){return i.append("g")},DHe=function(i,a,f,p,v){const m=lE(),b=a.anchored;m.x=a.startx,m.y=a.starty,m.class="activation"+v%3,m.width=a.stopx-a.startx,m.height=f-a.starty,cgt(b,m)},IHe=function(i,a,f,p){const{boxMargin:v,boxTextMargin:m,labelBoxHeight:b,labelBoxWidth:E,messageFontFamily:C,messageFontSize:A,messageFontWeight:N}=p,F=i.append("g"),j=function(Y,rt,J,it){return F.append("line").attr("x1",Y).attr("y1",rt).attr("x2",J).attr("y2",it).attr("class","loopLine")};j(a.startx,a.starty,a.stopx,a.starty),j(a.stopx,a.starty,a.stopx,a.stopy),j(a.startx,a.stopy,a.stopx,a.stopy),j(a.startx,a.starty,a.startx,a.stopy),a.sections!==void 0&&a.sections.forEach(function(Y){j(a.startx,Y.y,a.stopx,Y.y).style("stroke-dasharray","3, 3")});let R=_dt();R.text=f,R.x=a.startx,R.y=a.starty,R.fontFamily=C,R.fontSize=A,R.fontWeight=N,R.anchor="middle",R.valign="middle",R.tspan=!1,R.width=E||50,R.height=b||20,R.textMargin=m,R.class="labelText",vRt(F,R),R=yRt(),R.text=a.title,R.x=a.startx+E/2+(a.stopx-a.startx)/2,R.y=a.starty+v+m,R.anchor="middle",R.valign="middle",R.textMargin=m,R.class="loopText",R.fontFamily=C,R.fontSize=A,R.fontWeight=N,R.wrap=!0;let H=fL(F,R);return a.sectionTitles!==void 0&&a.sectionTitles.forEach(function(Y,rt){if(Y.message){R.text=Y.message,R.x=a.startx+(a.stopx-a.startx)/2,R.y=a.sections[rt].y+v+m,R.class="loopText",R.anchor="middle",R.valign="middle",R.tspan=!1,R.fontFamily=C,R.fontSize=A,R.fontWeight=N,R.wrap=a.wrap,H=fL(F,R);let J=Math.round(H.map(it=>(it._groups||it)[0][0].getBBox().height).reduce((it,ht)=>it+ht));a.sections[rt].height+=J-(v+m)}}),a.height=Math.round(a.stopy-a.starty),F},mRt=function(i,a){XOt(i,a)},OHe=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")},PHe=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")},NHe=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")},FHe=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")},BHe=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")},RHe=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)},jHe=function(i){i.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",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")},yRt=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}},$He=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},ugt=function(){function i(v,m,b,E,C,A,N){const F=m.append("text").attr("x",b+C/2).attr("y",E+A/2+5).style("text-anchor","middle").text(v);p(F,N)}function a(v,m,b,E,C,A,N,F){const{actorFontSize:j,actorFontFamily:R,actorFontWeight:H}=F,[Y,rt]=HA(j),J=v.split(bi.lineBreakRegex);for(let it=0;it<J.length;it++){const ht=it*Y-Y*(J.length-1)/2,Tt=m.append("text").attr("x",b+C/2).attr("y",E).style("text-anchor","middle").style("font-size",rt).style("font-weight",H).style("font-family",R);Tt.append("tspan").attr("x",b+C/2).attr("dy",ht).text(J[it]),Tt.attr("y",E+A/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(Tt,N)}}function f(v,m,b,E,C,A,N,F){const j=m.append("switch"),H=j.append("foreignObject").attr("x",b).attr("y",E).attr("width",C).attr("height",A).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");H.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(v),a(v,j,b,E,C,A,N,F),p(H,N)}function p(v,m){for(const b in m)m.hasOwnProperty(b)&&v.attr(b,m[b])}return function(v){return v.textPlacement==="fo"?f:v.textPlacement==="old"?i:a}}(),zHe=function(){function i(v,m,b,E,C,A,N){const F=m.append("text").attr("x",b).attr("y",E).style("text-anchor","start").text(v);p(F,N)}function a(v,m,b,E,C,A,N,F){const{actorFontSize:j,actorFontFamily:R,actorFontWeight:H}=F,Y=v.split(bi.lineBreakRegex);for(let rt=0;rt<Y.length;rt++){const J=rt*j-j*(Y.length-1)/2,it=m.append("text").attr("x",b).attr("y",E).style("text-anchor","start").style("font-size",j).style("font-weight",H).style("font-family",R);it.append("tspan").attr("x",b).attr("dy",J).text(Y[rt]),it.attr("y",E+A/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(it,N)}}function f(v,m,b,E,C,A,N,F){const j=m.append("switch"),H=j.append("foreignObject").attr("x",b).attr("y",E).attr("width",C).attr("height",A).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");H.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(v),a(v,j,b,E,C,A,N,F),p(H,N)}function p(v,m){for(const b in m)m.hasOwnProperty(b)&&v.attr(b,m[b])}return function(v){return v.textPlacement==="fo"?f:v.textPlacement==="old"?i:a}}(),cf={drawRect:cgt,drawText:fL,drawLabel:vRt,drawActor:AHe,drawBox:LHe,drawPopup:xHe,anchorElement:MHe,drawActivation:DHe,drawLoop:IHe,drawBackgroundRect:mRt,insertArrowHead:FHe,insertArrowFilledHead:BHe,insertSequenceNumber:RHe,insertArrowCrossHead:jHe,insertDatabaseIcon:OHe,insertComputerIcon:PHe,insertClockIcon:NHe,getTextObj:yRt,getNoteRect:$He,popupMenu:kHe,popdownMenu:EHe,fixLifeLineHeights:wRt,sanitizeUrl:Zx};let fn={};const Wr={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(i=>i.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,kRt(Me())},updateVal:function(i,a,f,p){i[a]===void 0?i[a]=f:i[a]=p(f,i[a])},updateBounds:function(i,a,f,p){const v=this;let m=0;function b(E){return function(A){m++;const N=v.sequenceItems.length-m+1;v.updateVal(A,"starty",a-N*fn.boxMargin,Math.min),v.updateVal(A,"stopy",p+N*fn.boxMargin,Math.max),v.updateVal(Wr.data,"startx",i-N*fn.boxMargin,Math.min),v.updateVal(Wr.data,"stopx",f+N*fn.boxMargin,Math.max),E!=="activation"&&(v.updateVal(A,"startx",i-N*fn.boxMargin,Math.min),v.updateVal(A,"stopx",f+N*fn.boxMargin,Math.max),v.updateVal(Wr.data,"starty",a-N*fn.boxMargin,Math.min),v.updateVal(Wr.data,"stopy",p+N*fn.boxMargin,Math.max))}}this.sequenceItems.forEach(b()),this.activations.forEach(b("activation"))},insert:function(i,a,f,p){const v=bi.getMin(i,f),m=bi.getMax(i,f),b=bi.getMin(a,p),E=bi.getMax(a,p);this.updateVal(Wr.data,"startx",v,Math.min),this.updateVal(Wr.data,"starty",b,Math.min),this.updateVal(Wr.data,"stopx",m,Math.max),this.updateVal(Wr.data,"stopy",E,Math.max),this.updateBounds(v,b,m,E)},newActivation:function(i,a,f){const p=f[i.from.actor],v=MK(i.from.actor).length||0,m=p.x+p.width/2+(v-1)*fn.activationWidth/2;this.activations.push({startx:m,starty:this.verticalPos+2,stopx:m+fn.activationWidth,stopy:void 0,actor:i.from.actor,anchored:cf.anchorElement(a)})},endActivation:function(i){const a=this.activations.map(function(f){return f.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:Wr.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=bi.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},qHe=function(i,a){Wr.bumpVerticalPos(fn.boxMargin),a.height=fn.boxMargin,a.starty=Wr.getVerticalPos();const f=lE();f.x=a.startx,f.y=a.starty,f.width=a.width||fn.width,f.class="note";const p=i.append("g"),v=cf.drawRect(p,f),m=_dt();m.x=a.startx,m.y=a.starty,m.width=f.width,m.dy="1em",m.text=a.message,m.class="noteText",m.fontFamily=fn.noteFontFamily,m.fontSize=fn.noteFontSize,m.fontWeight=fn.noteFontWeight,m.anchor=fn.noteAlign,m.textMargin=fn.noteMargin,m.valign="center";const b=fL(p,m),E=Math.round(b.map(C=>(C._groups||C)[0][0].getBBox().height).reduce((C,A)=>C+A));v.attr("height",E+2*fn.noteMargin),a.height+=E+2*fn.noteMargin,Wr.bumpVerticalPos(E+2*fn.noteMargin),a.stopy=a.starty+E+2*fn.noteMargin,a.stopx=a.startx+f.width,Wr.insert(a.startx,a.starty,a.stopx,a.stopy),Wr.models.addNote(a)},EE=i=>({fontFamily:i.messageFontFamily,fontSize:i.messageFontSize,fontWeight:i.messageFontWeight}),dL=i=>({fontFamily:i.noteFontFamily,fontSize:i.noteFontSize,fontWeight:i.noteFontWeight}),lgt=i=>({fontFamily:i.actorFontFamily,fontSize:i.actorFontSize,fontWeight:i.actorFontWeight});function HHe(i,a){Wr.bumpVerticalPos(10);const{startx:f,stopx:p,message:v}=a,m=bi.splitBreaks(v).length,b=ho.calculateTextDimensions(v,EE(fn)),E=b.height/m;a.height+=E,Wr.bumpVerticalPos(E);let C,A=b.height-10;const N=b.width;if(f===p){C=Wr.getVerticalPos()+A,fn.rightAngles||(A+=fn.boxMargin,C=Wr.getVerticalPos()+A),A+=30;const F=bi.getMax(N/2,fn.width/2);Wr.insert(f-F,Wr.getVerticalPos()-10+A,p+F,Wr.getVerticalPos()+30+A)}else A+=fn.boxMargin,C=Wr.getVerticalPos()+A,Wr.insert(f,C-10,p,C);return Wr.bumpVerticalPos(A),a.height+=A,a.stopy=a.starty+a.height,Wr.insert(a.fromBounds,a.starty,a.toBounds,a.stopy),C}const VHe=function(i,a,f,p){const{startx:v,stopx:m,starty:b,message:E,type:C,sequenceIndex:A,sequenceVisible:N}=a,F=ho.calculateTextDimensions(E,EE(fn)),j=_dt();j.x=v,j.y=b+10,j.width=m-v,j.class="messageText",j.dy="1em",j.text=E,j.fontFamily=fn.messageFontFamily,j.fontSize=fn.messageFontSize,j.fontWeight=fn.messageFontWeight,j.anchor=fn.messageAlign,j.valign="center",j.textMargin=fn.wrapPadding,j.tspan=!1,fL(i,j);const R=F.width;let H;v===m?fn.rightAngles?H=i.append("path").attr("d",`M ${v},${f} H ${v+bi.getMax(fn.width/2,R/2)} V ${f+25} H ${v}`):H=i.append("path").attr("d","M "+v+","+f+" C "+(v+60)+","+(f-10)+" "+(v+60)+","+(f+30)+" "+v+","+(f+20)):(H=i.append("line"),H.attr("x1",v),H.attr("y1",f),H.attr("x2",m),H.attr("y2",f)),C===p.db.LINETYPE.DOTTED||C===p.db.LINETYPE.DOTTED_CROSS||C===p.db.LINETYPE.DOTTED_POINT||C===p.db.LINETYPE.DOTTED_OPEN?(H.style("stroke-dasharray","3, 3"),H.attr("class","messageLine1")):H.attr("class","messageLine0");let Y="";fn.arrowMarkerAbsolute&&(Y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Y=Y.replace(/\(/g,"\\("),Y=Y.replace(/\)/g,"\\)")),H.attr("stroke-width",2),H.attr("stroke","none"),H.style("fill","none"),(C===p.db.LINETYPE.SOLID||C===p.db.LINETYPE.DOTTED)&&H.attr("marker-end","url("+Y+"#arrowhead)"),(C===p.db.LINETYPE.SOLID_POINT||C===p.db.LINETYPE.DOTTED_POINT)&&H.attr("marker-end","url("+Y+"#filled-head)"),(C===p.db.LINETYPE.SOLID_CROSS||C===p.db.LINETYPE.DOTTED_CROSS)&&H.attr("marker-end","url("+Y+"#crosshead)"),(N||fn.showSequenceNumbers)&&(H.attr("marker-start","url("+Y+"#sequencenumber)"),i.append("text").attr("x",v).attr("y",f+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(A))},GHe=function(i,a,f,p,v,m,b){let E=0,C=0,A,N=0;for(const F of p){const j=a[F],R=j.box;A&&A!=R&&(b||Wr.models.addBox(A),C+=fn.boxMargin+A.margin),R&&R!=A&&(b||(R.x=E+C,R.y=v),C+=R.margin),j.width=j.width||fn.width,j.height=bi.getMax(j.height||fn.height,fn.height),j.margin=j.margin||fn.actorMargin,N=bi.getMax(N,j.height),f[j.name]&&(C+=j.width/2),j.x=E+C,j.starty=Wr.getVerticalPos(),Wr.insert(j.x,v,j.x+j.width,j.height),E+=j.width+C,j.box&&(j.box.width=E+R.margin-j.box.x),C=j.margin,A=j.box,Wr.models.addActor(j)}A&&!b&&Wr.models.addBox(A),Wr.bumpVerticalPos(N)},hgt=function(i,a,f,p){if(p){let v=0;Wr.bumpVerticalPos(fn.boxMargin*2);for(const m of f){const b=a[m];b.stopy||(b.stopy=Wr.getVerticalPos());const E=cf.drawActor(i,b,fn,!0);v=bi.getMax(v,E)}Wr.bumpVerticalPos(v+fn.boxMargin)}else for(const v of f){const m=a[v];cf.drawActor(i,m,fn,!1)}},xRt=function(i,a,f,p){let v=0,m=0;for(const b of f){const E=a[b],C=YHe(E),A=cf.drawPopup(i,E,C,fn,fn.forceMenus,p);A.height>v&&(v=A.height),A.width+E.x>m&&(m=A.width+E.x)}return{maxHeight:v,maxWidth:m}},kRt=function(i){rd(fn,i),i.fontFamily&&(fn.actorFontFamily=fn.noteFontFamily=fn.messageFontFamily=i.fontFamily),i.fontSize&&(fn.actorFontSize=fn.noteFontSize=fn.messageFontSize=i.fontSize),i.fontWeight&&(fn.actorFontWeight=fn.noteFontWeight=fn.messageFontWeight=i.fontWeight)},MK=function(i){return Wr.activations.filter(function(a){return a.actor===i})},ERt=function(i,a){const f=a[i],p=MK(i),v=p.reduce(function(b,E){return bi.getMin(b,E.startx)},f.x+f.width/2),m=p.reduce(function(b,E){return bi.getMax(b,E.stopx)},f.x+f.width/2);return[v,m]};function x3(i,a,f,p,v){Wr.bumpVerticalPos(f);let m=p;if(a.id&&a.message&&i[a.id]){const b=i[a.id].width,E=EE(fn);a.message=ho.wrapLabel(`[${a.message}]`,b-2*fn.wrapPadding,E),a.width=b,a.wrap=!0;const C=ho.calculateTextDimensions(a.message,E),A=bi.getMax(C.height,fn.labelBoxHeight);m=p+A,Vt.debug(`${A} - ${a.message}`)}v(a),Wr.bumpVerticalPos(m)}function UHe(i,a,f,p,v,m,b){function E(A,N){A.x<v[i.from].x?(Wr.insert(a.stopx-N,a.starty,a.startx,a.stopy+A.height/2+fn.noteMargin),a.stopx=a.stopx+N):(Wr.insert(a.startx,a.starty,a.stopx+N,a.stopy+A.height/2+fn.noteMargin),a.stopx=a.stopx-N)}function C(A,N){A.x<v[i.to].x?(Wr.insert(a.startx-N,a.starty,a.stopx,a.stopy+A.height/2+fn.noteMargin),a.startx=a.startx+N):(Wr.insert(a.stopx,a.starty,a.startx+N,a.stopy+A.height/2+fn.noteMargin),a.startx=a.startx-N)}if(m[i.to]==p){const A=v[i.to],N=A.type=="actor"?kE/2+3:A.width/2+3;E(A,N),A.starty=f-A.height/2,Wr.bumpVerticalPos(A.height/2)}else if(b[i.from]==p){const A=v[i.from];if(fn.mirrorActors){const N=A.type=="actor"?kE/2:A.width/2;C(A,N)}A.stopy=f-A.height/2,Wr.bumpVerticalPos(A.height/2)}else if(b[i.to]==p){const A=v[i.to];if(fn.mirrorActors){const N=A.type=="actor"?kE/2+3:A.width/2+3;E(A,N)}A.stopy=f-A.height/2,Wr.bumpVerticalPos(A.height/2)}}const WHe=function(i,a,f,p){const{securityLevel:v,sequence:m}=Me();fn=m,p.db.clear(),p.parser.parse(i);let b;v==="sandbox"&&(b=wr("#i"+a));const E=wr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body"),C=v==="sandbox"?b.nodes()[0].contentDocument:document;Wr.init(),Vt.debug(p.db);const A=v==="sandbox"?E.select(`[id="${a}"]`):wr(`[id="${a}"]`),N=p.db.getActors(),F=p.db.getCreatedActors(),j=p.db.getDestroyedActors(),R=p.db.getBoxes();let H=p.db.getActorKeys();const Y=p.db.getMessages(),rt=p.db.getDiagramTitle(),J=p.db.hasAtLeastOneBox(),it=p.db.hasAtLeastOneBoxWithTitle(),ht=KHe(N,Y,p);if(fn.height=XHe(N,ht,R),cf.insertComputerIcon(A),cf.insertDatabaseIcon(A),cf.insertClockIcon(A),J&&(Wr.bumpVerticalPos(fn.boxMargin),it&&Wr.bumpVerticalPos(R[0].textMaxHeight)),fn.hideUnusedParticipants===!0){const Ft=new Set;Y.forEach(X=>{Ft.add(X.from),Ft.add(X.to)}),H=H.filter(X=>Ft.has(X))}GHe(A,N,F,H,0,Y,!1);const Tt=JHe(Y,N,ht,p);cf.insertArrowHead(A),cf.insertArrowCrossHead(A),cf.insertArrowFilledHead(A),cf.insertSequenceNumber(A);function yt(Ft,X){const Bt=Wr.endActivation(Ft);Bt.starty+18>X&&(Bt.starty=X-6,X+=12),cf.drawActivation(A,Bt,X,fn,MK(Ft.from.actor).length),Wr.insert(Bt.startx,X-10,Bt.stopx,X)}let vt=1,ut=1;const xt=[],st=[];Y.forEach(function(Ft,X){let Bt,Rt,mt;switch(Ft.type){case p.db.LINETYPE.NOTE:Wr.resetVerticalPos(),Rt=Ft.noteModel,qHe(A,Rt);break;case p.db.LINETYPE.ACTIVE_START:Wr.newActivation(Ft,A,N);break;case p.db.LINETYPE.ACTIVE_END:yt(Ft,Wr.getVerticalPos());break;case p.db.LINETYPE.LOOP_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot));break;case p.db.LINETYPE.LOOP_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"loop",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;case p.db.LINETYPE.RECT_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin,Ot=>Wr.newLoop(void 0,Ot.message));break;case p.db.LINETYPE.RECT_END:Bt=Wr.endLoop(),st.push(Bt),Wr.models.addLoop(Bt),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos());break;case p.db.LINETYPE.OPT_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot));break;case p.db.LINETYPE.OPT_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"opt",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;case p.db.LINETYPE.ALT_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot));break;case p.db.LINETYPE.ALT_ELSE:x3(Tt,Ft,fn.boxMargin+fn.boxTextMargin,fn.boxMargin,Ot=>Wr.addSectionToLoop(Ot));break;case p.db.LINETYPE.ALT_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"alt",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;case p.db.LINETYPE.PAR_START:case p.db.LINETYPE.PAR_OVER_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot)),Wr.saveVerticalPos();break;case p.db.LINETYPE.PAR_AND:x3(Tt,Ft,fn.boxMargin+fn.boxTextMargin,fn.boxMargin,Ot=>Wr.addSectionToLoop(Ot));break;case p.db.LINETYPE.PAR_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"par",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;case p.db.LINETYPE.AUTONUMBER:vt=Ft.message.start||vt,ut=Ft.message.step||ut,Ft.message.visible?p.db.enableSequenceNumbers():p.db.disableSequenceNumbers();break;case p.db.LINETYPE.CRITICAL_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot));break;case p.db.LINETYPE.CRITICAL_OPTION:x3(Tt,Ft,fn.boxMargin+fn.boxTextMargin,fn.boxMargin,Ot=>Wr.addSectionToLoop(Ot));break;case p.db.LINETYPE.CRITICAL_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"critical",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;case p.db.LINETYPE.BREAK_START:x3(Tt,Ft,fn.boxMargin,fn.boxMargin+fn.boxTextMargin,Ot=>Wr.newLoop(Ot));break;case p.db.LINETYPE.BREAK_END:Bt=Wr.endLoop(),cf.drawLoop(A,Bt,"break",fn),Wr.bumpVerticalPos(Bt.stopy-Wr.getVerticalPos()),Wr.models.addLoop(Bt);break;default:try{mt=Ft.msgModel,mt.starty=Wr.getVerticalPos(),mt.sequenceIndex=vt,mt.sequenceVisible=p.db.showSequenceNumbers();const Ot=HHe(A,mt);UHe(Ft,mt,Ot,X,N,F,j),xt.push({messageModel:mt,lineStartY:Ot}),Wr.models.addMessage(mt)}catch(Ot){Vt.error("error while drawing message",Ot)}}[p.db.LINETYPE.SOLID_OPEN,p.db.LINETYPE.DOTTED_OPEN,p.db.LINETYPE.SOLID,p.db.LINETYPE.DOTTED,p.db.LINETYPE.SOLID_CROSS,p.db.LINETYPE.DOTTED_CROSS,p.db.LINETYPE.SOLID_POINT,p.db.LINETYPE.DOTTED_POINT].includes(Ft.type)&&(vt=vt+ut)}),Vt.debug("createdActors",F),Vt.debug("destroyedActors",j),hgt(A,N,H,!1),xt.forEach(Ft=>VHe(A,Ft.messageModel,Ft.lineStartY,p)),fn.mirrorActors&&hgt(A,N,H,!0),st.forEach(Ft=>cf.drawBackgroundRect(A,Ft)),wRt(A,N,H,fn),Wr.models.boxes.forEach(function(Ft){Ft.height=Wr.getVerticalPos()-Ft.y,Wr.insert(Ft.x,Ft.y,Ft.x+Ft.width,Ft.height),Ft.startx=Ft.x,Ft.starty=Ft.y,Ft.stopx=Ft.startx+Ft.width,Ft.stopy=Ft.starty+Ft.height,Ft.stroke="rgb(0,0,0, 0.5)",cf.drawBox(A,Ft,fn)}),J&&Wr.bumpVerticalPos(fn.boxMargin);const Et=xRt(A,N,H,C),{bounds:gt}=Wr.getBounds();let pt=gt.stopy-gt.starty;pt<Et.maxHeight&&(pt=Et.maxHeight);let Ct=pt+2*fn.diagramMarginY;fn.mirrorActors&&(Ct=Ct-fn.boxMargin+fn.bottomMarginAdj);let nt=gt.stopx-gt.startx;nt<Et.maxWidth&&(nt=Et.maxWidth);const Nt=nt+2*fn.diagramMarginX;rt&&A.append("text").text(rt).attr("x",(gt.stopx-gt.startx)/2-2*fn.diagramMarginX).attr("y",-25),N2(A,Ct,Nt,fn.useMaxWidth);const dt=rt?40:0;A.attr("viewBox",gt.startx-fn.diagramMarginX+" -"+(fn.diagramMarginY+dt)+" "+Nt+" "+(Ct+dt)),Vt.debug("models:",Wr.models)};function KHe(i,a,f){const p={};return a.forEach(function(v){if(i[v.to]&&i[v.from]){const m=i[v.to];if(v.placement===f.db.PLACEMENT.LEFTOF&&!m.prevActor||v.placement===f.db.PLACEMENT.RIGHTOF&&!m.nextActor)return;const b=v.placement!==void 0,E=!b,C=b?dL(fn):EE(fn),A=v.wrap?ho.wrapLabel(v.message,fn.width-2*fn.wrapPadding,C):v.message,F=ho.calculateTextDimensions(A,C).width+2*fn.wrapPadding;E&&v.from===m.nextActor?p[v.to]=bi.getMax(p[v.to]||0,F):E&&v.from===m.prevActor?p[v.from]=bi.getMax(p[v.from]||0,F):E&&v.from===v.to?(p[v.from]=bi.getMax(p[v.from]||0,F/2),p[v.to]=bi.getMax(p[v.to]||0,F/2)):v.placement===f.db.PLACEMENT.RIGHTOF?p[v.from]=bi.getMax(p[v.from]||0,F):v.placement===f.db.PLACEMENT.LEFTOF?p[m.prevActor]=bi.getMax(p[m.prevActor]||0,F):v.placement===f.db.PLACEMENT.OVER&&(m.prevActor&&(p[m.prevActor]=bi.getMax(p[m.prevActor]||0,F/2)),m.nextActor&&(p[v.from]=bi.getMax(p[v.from]||0,F/2)))}}),Vt.debug("maxMessageWidthPerActor:",p),p}const YHe=function(i){let a=0;const f=lgt(fn);for(const p in i.links){const m=ho.calculateTextDimensions(p,f).width+2*fn.wrapPadding+2*fn.boxMargin;a<m&&(a=m)}return a};function XHe(i,a,f){let p=0;Object.keys(i).forEach(m=>{const b=i[m];b.wrap&&(b.description=ho.wrapLabel(b.description,fn.width-2*fn.wrapPadding,lgt(fn)));const E=ho.calculateTextDimensions(b.description,lgt(fn));b.width=b.wrap?fn.width:bi.getMax(fn.width,E.width+2*fn.wrapPadding),b.height=b.wrap?bi.getMax(E.height,fn.height):fn.height,p=bi.getMax(p,b.height)});for(const m in a){const b=i[m];if(!b)continue;const E=i[b.nextActor];if(!E){const F=a[m]+fn.actorMargin-b.width/2;b.margin=bi.getMax(F,fn.actorMargin);continue}const A=a[m]+fn.actorMargin-b.width/2-E.width/2;b.margin=bi.getMax(A,fn.actorMargin)}let v=0;return f.forEach(m=>{const b=EE(fn);let E=m.actorKeys.reduce((N,F)=>N+=i[F].width+(i[F].margin||0),0);E-=2*fn.boxTextMargin,m.wrap&&(m.name=ho.wrapLabel(m.name,E-2*fn.wrapPadding,b));const C=ho.calculateTextDimensions(m.name,b);v=bi.getMax(C.height,v);const A=bi.getMax(E,C.width+2*fn.wrapPadding);if(m.margin=fn.boxTextMargin,E<A){const N=(A-E)/2;m.margin+=N}}),f.forEach(m=>m.textMaxHeight=v),bi.getMax(p,fn.height)}const QHe=function(i,a,f){const p=a[i.from].x,v=a[i.to].x,m=i.wrap&&i.message;let b=ho.calculateTextDimensions(m?ho.wrapLabel(i.message,fn.width,dL(fn)):i.message,dL(fn));const E={width:m?fn.width:bi.getMax(fn.width,b.width+2*fn.noteMargin),height:0,startx:a[i.from].x,stopx:0,starty:0,stopy:0,message:i.message};return i.placement===f.db.PLACEMENT.RIGHTOF?(E.width=m?bi.getMax(fn.width,b.width):bi.getMax(a[i.from].width/2+a[i.to].width/2,b.width+2*fn.noteMargin),E.startx=p+(a[i.from].width+fn.actorMargin)/2):i.placement===f.db.PLACEMENT.LEFTOF?(E.width=m?bi.getMax(fn.width,b.width+2*fn.noteMargin):bi.getMax(a[i.from].width/2+a[i.to].width/2,b.width+2*fn.noteMargin),E.startx=p-E.width+(a[i.from].width-fn.actorMargin)/2):i.to===i.from?(b=ho.calculateTextDimensions(m?ho.wrapLabel(i.message,bi.getMax(fn.width,a[i.from].width),dL(fn)):i.message,dL(fn)),E.width=m?bi.getMax(fn.width,a[i.from].width):bi.getMax(a[i.from].width,fn.width,b.width+2*fn.noteMargin),E.startx=p+(a[i.from].width-E.width)/2):(E.width=Math.abs(p+a[i.from].width/2-(v+a[i.to].width/2))+fn.actorMargin,E.startx=p<v?p+a[i.from].width/2-fn.actorMargin/2:v+a[i.to].width/2-fn.actorMargin/2),m&&(E.message=ho.wrapLabel(i.message,E.width-2*fn.wrapPadding,dL(fn))),Vt.debug(`NM:[${E.startx},${E.stopx},${E.starty},${E.stopy}:${E.width},${E.height}=${i.message}]`),E},ZHe=function(i,a,f){let p=!1;if([f.db.LINETYPE.SOLID_OPEN,f.db.LINETYPE.DOTTED_OPEN,f.db.LINETYPE.SOLID,f.db.LINETYPE.DOTTED,f.db.LINETYPE.SOLID_CROSS,f.db.LINETYPE.DOTTED_CROSS,f.db.LINETYPE.SOLID_POINT,f.db.LINETYPE.DOTTED_POINT].includes(i.type)&&(p=!0),!p)return{};const v=ERt(i.from,a),m=ERt(i.to,a),b=v[0]<=m[0]?1:0,E=v[0]<m[0]?0:1,C=[...v,...m],A=Math.abs(m[E]-v[b]);i.wrap&&i.message&&(i.message=ho.wrapLabel(i.message,bi.getMax(A+2*fn.wrapPadding,fn.width),EE(fn)));const N=ho.calculateTextDimensions(i.message,EE(fn));return{width:bi.getMax(i.wrap?0:N.width+2*fn.wrapPadding,A+2*fn.wrapPadding,fn.width),height:0,startx:v[b],stopx:m[E],starty:0,stopy:0,message:i.message,type:i.type,wrap:i.wrap,fromBounds:Math.min.apply(null,C),toBounds:Math.max.apply(null,C)}},JHe=function(i,a,f,p){const v={},m=[];let b,E,C;return i.forEach(function(A){switch(A.id=ho.random({length:10}),A.type){case p.db.LINETYPE.LOOP_START:case p.db.LINETYPE.ALT_START:case p.db.LINETYPE.OPT_START:case p.db.LINETYPE.PAR_START:case p.db.LINETYPE.PAR_OVER_START:case p.db.LINETYPE.CRITICAL_START:case p.db.LINETYPE.BREAK_START:m.push({id:A.id,msg:A.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case p.db.LINETYPE.ALT_ELSE:case p.db.LINETYPE.PAR_AND:case p.db.LINETYPE.CRITICAL_OPTION:A.message&&(b=m.pop(),v[b.id]=b,v[A.id]=b,m.push(b));break;case p.db.LINETYPE.LOOP_END:case p.db.LINETYPE.ALT_END:case p.db.LINETYPE.OPT_END:case p.db.LINETYPE.PAR_END:case p.db.LINETYPE.CRITICAL_END:case p.db.LINETYPE.BREAK_END:b=m.pop(),v[b.id]=b;break;case p.db.LINETYPE.ACTIVE_START:{const F=a[A.from?A.from.actor:A.to.actor],j=MK(A.from?A.from.actor:A.to.actor).length,R=F.x+F.width/2+(j-1)*fn.activationWidth/2,H={startx:R,stopx:R+fn.activationWidth,actor:A.from.actor,enabled:!0};Wr.activations.push(H)}break;case p.db.LINETYPE.ACTIVE_END:{const F=Wr.activations.map(j=>j.actor).lastIndexOf(A.from.actor);delete Wr.activations.splice(F,1)[0]}break}A.placement!==void 0?(E=QHe(A,a,p),A.noteModel=E,m.forEach(F=>{b=F,b.from=bi.getMin(b.from,E.startx),b.to=bi.getMax(b.to,E.startx+E.width),b.width=bi.getMax(b.width,Math.abs(b.from-b.to))-fn.labelBoxWidth})):(C=ZHe(A,a,p),A.msgModel=C,C.startx&&C.stopx&&m.length>0&&m.forEach(F=>{if(b=F,C.startx===C.stopx){const j=a[A.from],R=a[A.to];b.from=bi.getMin(j.x-C.width/2,j.x-j.width/2,b.from),b.to=bi.getMax(R.x+C.width/2,R.x+j.width/2,b.to),b.width=bi.getMax(b.width,Math.abs(b.to-b.from))-fn.labelBoxWidth}else b.from=bi.getMin(C.startx,b.from),b.to=bi.getMax(C.stopx,b.to),b.width=bi.getMax(b.width,C.width)-fn.labelBoxWidth}))}),Wr.activations=[],Vt.debug("Loop type widths:",v),v},tVe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Kqe,db:mHe,renderer:{bounds:Wr,drawActors:hgt,drawActorsPopup:xRt,setConf:kRt,draw:WHe},styles:yHe}},Symbol.toStringTag,{value:"Module"}));var fgt=function(){var i=function(he,Re,se,Pe){for(se=se||{},Pe=he.length;Pe--;se[he[Pe]]=Re);return se},a=[1,34],f=[1,35],p=[1,36],v=[1,37],m=[1,9],b=[1,8],E=[1,19],C=[1,20],A=[1,21],N=[1,40],F=[1,41],j=[1,27],R=[1,25],H=[1,26],Y=[1,32],rt=[1,33],J=[1,28],it=[1,29],ht=[1,30],Tt=[1,31],yt=[1,45],vt=[1,42],ut=[1,43],xt=[1,44],st=[1,46],Et=[1,24],gt=[1,16,24],pt=[1,60],Ct=[1,61],nt=[1,62],Nt=[1,63],dt=[1,64],Ft=[1,65],X=[1,66],Bt=[1,16,24,52],Rt=[1,77],mt=[1,16,24,27,28,36,50,52,55,68,69,70,71,72,73,74,79,81],Ot=[1,16,24,27,28,34,36,50,52,55,59,68,69,70,71,72,73,74,79,81,94,96,97,98,99],Gt=[1,86],Ve=[28,94,96,97,98,99],Cn=[28,73,74,94,96,97,98,99],xe=[28,68,69,70,71,72,94,96,97,98,99],Kn=[1,99],Se=[1,16,24,50,52,55],ee=[1,16,24,36],_e=[8,9,10,11,19,23,44,46,48,53,57,58,60,61,63,65,75,76,78,82,94,96,97,98,99],qe={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,statements:6,direction:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,EOF:24,statement:25,classLabel:26,SQS:27,STR:28,SQE:29,namespaceName:30,alphaNumToken:31,className:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,namespaceStatement:37,classStatement:38,methodStatement:39,annotationStatement:40,clickStatement:41,cssClassStatement:42,noteStatement:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,namespaceIdentifier:49,STRUCT_START:50,classStatements:51,STRUCT_STOP:52,NAMESPACE:53,classIdentifier:54,STYLE_SEPARATOR:55,members:56,CLASS:57,ANNOTATION_START:58,ANNOTATION_END:59,MEMBER:60,SEPARATOR:61,relation:62,NOTE_FOR:63,noteText:64,NOTE: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,CSSCLASS:82,commentToken:83,textToken:84,graphCodeTokens:85,textNoTagsToken:86,TAGSTART:87,TAGEND:88,"==":89,"--":90,PCT:91,DEFAULT:92,SPACE:93,MINUS:94,keywords:95,UNICODE_TEXT:96,NUM:97,ALPHA:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",24:"EOF",27:"SQS",28:"STR",29:"SQE",34:"GENERICTYPE",36:"LABEL",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",50:"STRUCT_START",52:"STRUCT_STOP",53:"NAMESPACE",55:"STYLE_SEPARATOR",57:"CLASS",58:"ANNOTATION_START",59:"ANNOTATION_END",60:"MEMBER",61:"SEPARATOR",63:"NOTE_FOR",65:"NOTE",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:"CSSCLASS",85:"graphCodeTokens",87:"TAGSTART",88:"TAGEND",89:"==",90:"--",91:"PCT",92:"DEFAULT",93:"SPACE",94:"MINUS",95:"keywords",96:"UNICODE_TEXT",97:"NUM",98:"ALPHA",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,2],[3,1],[7,1],[7,1],[7,1],[7,1],[4,1],[5,4],[5,6],[13,1],[14,1],[18,1],[15,1],[12,4],[6,1],[6,2],[6,3],[26,3],[30,1],[30,2],[32,1],[32,1],[32,2],[32,2],[32,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,2],[25,2],[25,1],[37,4],[37,5],[49,2],[51,1],[51,2],[51,3],[38,1],[38,3],[38,4],[38,6],[54,2],[54,3],[40,4],[56,1],[56,2],[39,1],[39,2],[39,1],[39,1],[35,3],[35,4],[35,4],[35,5],[43,3],[43,2],[62,3],[62,2],[62,2],[62,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[41,3],[41,4],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[41,4],[41,5],[41,5],[41,6],[42,3],[83,1],[83,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[86,1],[86,1],[86,1],[86,1],[31,1],[31,1],[31,1],[31,1],[33,1],[64,1]],performAction:function(Re,se,Pe,Qt,vr,$t,ur){var le=$t.length-1;switch(vr){case 4:Qt.setDirection("TB");break;case 5:Qt.setDirection("BT");break;case 6:Qt.setDirection("RL");break;case 7:Qt.setDirection("LR");break;case 11:Qt.parseDirective("%%{","open_directive");break;case 12:Qt.parseDirective($t[le],"type_directive");break;case 13:$t[le]=$t[le].trim().replace(/'/g,'"'),Qt.parseDirective($t[le],"arg_directive");break;case 14:Qt.parseDirective("}%%","close_directive","class");break;case 19:this.$=$t[le-1];break;case 20:case 22:case 23:this.$=$t[le];break;case 21:case 24:this.$=$t[le-1]+$t[le];break;case 25:case 26:this.$=$t[le-1]+"~"+$t[le]+"~";break;case 27:Qt.addRelation($t[le]);break;case 28:$t[le-1].title=Qt.cleanupLabel($t[le]),Qt.addRelation($t[le-1]);break;case 37:this.$=$t[le].trim(),Qt.setAccTitle(this.$);break;case 38:case 39:this.$=$t[le].trim(),Qt.setAccDescription(this.$);break;case 40:Qt.addClassesToNamespace($t[le-3],$t[le-1]);break;case 41:Qt.addClassesToNamespace($t[le-4],$t[le-1]);break;case 42:this.$=$t[le],Qt.addNamespace($t[le]);break;case 43:this.$=[$t[le]];break;case 44:this.$=[$t[le-1]];break;case 45:$t[le].unshift($t[le-2]),this.$=$t[le];break;case 47:Qt.setCssClass($t[le-2],$t[le]);break;case 48:Qt.addMembers($t[le-3],$t[le-1]);break;case 49:Qt.setCssClass($t[le-5],$t[le-3]),Qt.addMembers($t[le-5],$t[le-1]);break;case 50:this.$=$t[le],Qt.addClass($t[le]);break;case 51:this.$=$t[le-1],Qt.addClass($t[le-1]),Qt.setClassLabel($t[le-1],$t[le]);break;case 52:Qt.addAnnotation($t[le],$t[le-2]);break;case 53:this.$=[$t[le]];break;case 54:$t[le].push($t[le-1]),this.$=$t[le];break;case 55:break;case 56:Qt.addMember($t[le-1],Qt.cleanupLabel($t[le]));break;case 57:break;case 58:break;case 59:this.$={id1:$t[le-2],id2:$t[le],relation:$t[le-1],relationTitle1:"none",relationTitle2:"none"};break;case 60:this.$={id1:$t[le-3],id2:$t[le],relation:$t[le-1],relationTitle1:$t[le-2],relationTitle2:"none"};break;case 61:this.$={id1:$t[le-3],id2:$t[le],relation:$t[le-2],relationTitle1:"none",relationTitle2:$t[le-1]};break;case 62:this.$={id1:$t[le-4],id2:$t[le],relation:$t[le-2],relationTitle1:$t[le-3],relationTitle2:$t[le-1]};break;case 63:Qt.addNote($t[le],$t[le-1]);break;case 64:Qt.addNote($t[le]);break;case 65:this.$={type1:$t[le-2],type2:$t[le],lineType:$t[le-1]};break;case 66:this.$={type1:"none",type2:$t[le],lineType:$t[le-1]};break;case 67:this.$={type1:$t[le-1],type2:"none",lineType:$t[le]};break;case 68:this.$={type1:"none",type2:"none",lineType:$t[le]};break;case 69:this.$=Qt.relationType.AGGREGATION;break;case 70:this.$=Qt.relationType.EXTENSION;break;case 71:this.$=Qt.relationType.COMPOSITION;break;case 72:this.$=Qt.relationType.DEPENDENCY;break;case 73:this.$=Qt.relationType.LOLLIPOP;break;case 74:this.$=Qt.lineType.LINE;break;case 75:this.$=Qt.lineType.DOTTED_LINE;break;case 76:case 82:this.$=$t[le-2],Qt.setClickEvent($t[le-1],$t[le]);break;case 77:case 83:this.$=$t[le-3],Qt.setClickEvent($t[le-2],$t[le-1]),Qt.setTooltip($t[le-2],$t[le]);break;case 78:this.$=$t[le-2],Qt.setLink($t[le-1],$t[le]);break;case 79:this.$=$t[le-3],Qt.setLink($t[le-2],$t[le-1],$t[le]);break;case 80:this.$=$t[le-3],Qt.setLink($t[le-2],$t[le-1]),Qt.setTooltip($t[le-2],$t[le]);break;case 81:this.$=$t[le-4],Qt.setLink($t[le-3],$t[le-2],$t[le]),Qt.setTooltip($t[le-3],$t[le-1]);break;case 84:this.$=$t[le-3],Qt.setClickEvent($t[le-2],$t[le-1],$t[le]);break;case 85:this.$=$t[le-4],Qt.setClickEvent($t[le-3],$t[le-2],$t[le-1]),Qt.setTooltip($t[le-3],$t[le]);break;case 86:this.$=$t[le-3],Qt.setLink($t[le-2],$t[le]);break;case 87:this.$=$t[le-4],Qt.setLink($t[le-3],$t[le-1],$t[le]);break;case 88:this.$=$t[le-4],Qt.setLink($t[le-3],$t[le-1]),Qt.setTooltip($t[le-3],$t[le]);break;case 89:this.$=$t[le-5],Qt.setLink($t[le-4],$t[le-2],$t[le]),Qt.setTooltip($t[le-4],$t[le-1]);break;case 90:Qt.setCssClass($t[le-1],$t[le]);break}},table:[{3:1,4:2,5:3,6:4,7:18,8:a,9:f,10:p,11:v,12:5,13:6,19:m,23:b,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:E,46:C,48:A,49:23,53:N,54:24,57:F,58:j,60:R,61:H,63:Y,65:rt,75:J,76:it,78:ht,82:Tt,94:yt,96:vt,97:ut,98:xt,99:st},{1:[3]},{1:[2,1]},{3:47,4:2,5:3,6:4,7:18,8:a,9:f,10:p,11:v,12:5,13:6,19:m,23:b,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:E,46:C,48:A,49:23,53:N,54:24,57:F,58:j,60:R,61:H,63:Y,65:rt,75:J,76:it,78:ht,82:Tt,94:yt,96:vt,97:ut,98:xt,99:st},{1:[2,3]},{1:[2,8]},{14:48,20:[1,49]},i(Et,[2,16],{16:[1,50]}),{16:[1,51]},{20:[2,11]},i(gt,[2,27],{36:[1,52]}),i(gt,[2,29]),i(gt,[2,30]),i(gt,[2,31]),i(gt,[2,32]),i(gt,[2,33]),i(gt,[2,34]),i(gt,[2,35]),i(gt,[2,36]),{45:[1,53]},{47:[1,54]},i(gt,[2,39]),i(gt,[2,55],{62:55,66:58,67:59,28:[1,56],36:[1,57],68:pt,69:Ct,70:nt,71:Nt,72:dt,73:Ft,74:X}),{50:[1,67]},i(Bt,[2,46],{50:[1,69],55:[1,68]}),i(gt,[2,57]),i(gt,[2,58]),{31:70,94:yt,96:vt,97:ut,98:xt},{31:38,32:71,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{31:38,32:72,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{31:38,32:73,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{28:[1,74]},{31:38,32:75,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{28:Rt,64:76},i(gt,[2,4]),i(gt,[2,5]),i(gt,[2,6]),i(gt,[2,7]),i(mt,[2,22],{31:38,33:39,32:78,34:[1,79],94:yt,96:vt,97:ut,98:xt,99:st}),i(mt,[2,23],{34:[1,80]}),{30:81,31:82,94:yt,96:vt,97:ut,98:xt},{31:38,32:83,33:39,94:yt,96:vt,97:ut,98:xt,99:st},i(Ot,[2,104]),i(Ot,[2,105]),i(Ot,[2,106]),i(Ot,[2,107]),i([1,16,24,27,28,34,36,50,52,55,68,69,70,71,72,73,74,79,81],[2,108]),{1:[2,2]},{15:84,17:[1,85],22:Gt},i([17,22],[2,12]),i(Et,[2,17],{25:7,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,7:18,32:22,49:23,54:24,31:38,33:39,6:87,8:a,9:f,10:p,11:v,44:E,46:C,48:A,53:N,57:F,58:j,60:R,61:H,63:Y,65:rt,75:J,76:it,78:ht,82:Tt,94:yt,96:vt,97:ut,98:xt,99:st}),{6:88,7:18,8:a,9:f,10:p,11:v,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:E,46:C,48:A,49:23,53:N,54:24,57:F,58:j,60:R,61:H,63:Y,65:rt,75:J,76:it,78:ht,82:Tt,94:yt,96:vt,97:ut,98:xt,99:st},i(gt,[2,28]),i(gt,[2,37]),i(gt,[2,38]),{28:[1,90],31:38,32:89,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{62:91,66:58,67:59,68:pt,69:Ct,70:nt,71:Nt,72:dt,73:Ft,74:X},i(gt,[2,56]),{67:92,73:Ft,74:X},i(Ve,[2,68],{66:93,68:pt,69:Ct,70:nt,71:Nt,72:dt}),i(Cn,[2,69]),i(Cn,[2,70]),i(Cn,[2,71]),i(Cn,[2,72]),i(Cn,[2,73]),i(xe,[2,74]),i(xe,[2,75]),{16:[1,95],38:96,51:94,54:24,57:F},{31:97,94:yt,96:vt,97:ut,98:xt},{56:98,60:Kn},{59:[1,100]},{28:[1,101]},{28:[1,102]},{79:[1,103],81:[1,104]},{31:105,94:yt,96:vt,97:ut,98:xt},{28:Rt,64:106},i(gt,[2,64]),i(gt,[2,109]),i(mt,[2,24]),i(mt,[2,25]),i(mt,[2,26]),{50:[2,42]},{30:107,31:82,50:[2,20],94:yt,96:vt,97:ut,98:xt},i(Se,[2,50],{26:108,27:[1,109]}),{16:[1,110]},{18:111,21:[1,112]},{16:[2,14]},i(Et,[2,18]),{24:[1,113]},i(ee,[2,59]),{31:38,32:114,33:39,94:yt,96:vt,97:ut,98:xt,99:st},{28:[1,116],31:38,32:115,33:39,94:yt,96:vt,97:ut,98:xt,99:st},i(Ve,[2,67],{66:117,68:pt,69:Ct,70:nt,71:Nt,72:dt}),i(Ve,[2,66]),{52:[1,118]},{38:96,51:119,54:24,57:F},{16:[1,120],52:[2,43]},i(Bt,[2,47],{50:[1,121]}),{52:[1,122]},{52:[2,53],56:123,60:Kn},{31:38,32:124,33:39,94:yt,96:vt,97:ut,98:xt,99:st},i(gt,[2,76],{28:[1,125]}),i(gt,[2,78],{28:[1,127],77:[1,126]}),i(gt,[2,82],{28:[1,128],80:[1,129]}),{28:[1,130]},i(gt,[2,90]),i(gt,[2,63]),{50:[2,21]},i(Se,[2,51]),{28:[1,131]},i(_e,[2,9]),{15:132,22:Gt},{22:[2,13]},{1:[2,15]},i(ee,[2,61]),i(ee,[2,60]),{31:38,32:133,33:39,94:yt,96:vt,97:ut,98:xt,99:st},i(Ve,[2,65]),i(gt,[2,40]),{52:[1,134]},{38:96,51:135,52:[2,44],54:24,57:F},{56:136,60:Kn},i(Bt,[2,48]),{52:[2,54]},i(gt,[2,52]),i(gt,[2,77]),i(gt,[2,79]),i(gt,[2,80],{77:[1,137]}),i(gt,[2,83]),i(gt,[2,84],{28:[1,138]}),i(gt,[2,86],{28:[1,140],77:[1,139]}),{29:[1,141]},{16:[1,142]},i(ee,[2,62]),i(gt,[2,41]),{52:[2,45]},{52:[1,143]},i(gt,[2,81]),i(gt,[2,85]),i(gt,[2,87]),i(gt,[2,88],{77:[1,144]}),i(Se,[2,19]),i(_e,[2,10]),i(Bt,[2,49]),i(gt,[2,89])],defaultActions:{2:[2,1],4:[2,3],5:[2,8],9:[2,11],47:[2,2],81:[2,42],86:[2,14],107:[2,21],112:[2,13],113:[2,15],123:[2,54],135:[2,45]},parseError:function(Re,se){if(se.recoverable)this.trace(Re);else{var Pe=new Error(Re);throw Pe.hash=se,Pe}},parse:function(Re){var se=this,Pe=[0],Qt=[],vr=[null],$t=[],ur=this.table,le="",rr=0,ar=0,Qn=2,Zn=1,dn=$t.slice.call(arguments,1),kn=Object.create(this.lexer),_r={yy:{}};for(var Rr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rr)&&(_r.yy[Rr]=this.yy[Rr]);kn.setInput(Re,_r.yy),_r.yy.lexer=kn,_r.yy.parser=this,typeof kn.yylloc>"u"&&(kn.yylloc={});var os=kn.yylloc;$t.push(os);var As=kn.options&&kn.options.ranges;typeof _r.yy.parseError=="function"?this.parseError=_r.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ma(){var is;return is=Qt.pop()||kn.lex()||Zn,typeof is!="number"&&(is instanceof Array&&(Qt=is,is=Qt.pop()),is=se.symbols_[is]||is),is}for(var Zr,Hi,Gn,Jn,Or={},Fn,Li,Dn,Ba;;){if(Hi=Pe[Pe.length-1],this.defaultActions[Hi]?Gn=this.defaultActions[Hi]:((Zr===null||typeof Zr>"u")&&(Zr=ma()),Gn=ur[Hi]&&ur[Hi][Zr]),typeof Gn>"u"||!Gn.length||!Gn[0]){var zn="";Ba=[];for(Fn in ur[Hi])this.terminals_[Fn]&&Fn>Qn&&Ba.push("'"+this.terminals_[Fn]+"'");kn.showPosition?zn="Parse error on line "+(rr+1)+`:
+`+kn.showPosition()+`
+Expecting `+Ba.join(", ")+", got '"+(this.terminals_[Zr]||Zr)+"'":zn="Parse error on line "+(rr+1)+": Unexpected "+(Zr==Zn?"end of input":"'"+(this.terminals_[Zr]||Zr)+"'"),this.parseError(zn,{text:kn.match,token:this.terminals_[Zr]||Zr,line:kn.yylineno,loc:os,expected:Ba})}if(Gn[0]instanceof Array&&Gn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Hi+", token: "+Zr);switch(Gn[0]){case 1:Pe.push(Zr),vr.push(kn.yytext),$t.push(kn.yylloc),Pe.push(Gn[1]),Zr=null,ar=kn.yyleng,le=kn.yytext,rr=kn.yylineno,os=kn.yylloc;break;case 2:if(Li=this.productions_[Gn[1]][1],Or.$=vr[vr.length-Li],Or._$={first_line:$t[$t.length-(Li||1)].first_line,last_line:$t[$t.length-1].last_line,first_column:$t[$t.length-(Li||1)].first_column,last_column:$t[$t.length-1].last_column},As&&(Or._$.range=[$t[$t.length-(Li||1)].range[0],$t[$t.length-1].range[1]]),Jn=this.performAction.apply(Or,[le,ar,rr,_r.yy,Gn[1],vr,$t].concat(dn)),typeof Jn<"u")return Jn;Li&&(Pe=Pe.slice(0,-1*Li*2),vr=vr.slice(0,-1*Li),$t=$t.slice(0,-1*Li)),Pe.push(this.productions_[Gn[1]][0]),vr.push(Or.$),$t.push(Or._$),Dn=ur[Pe[Pe.length-2]][Pe[Pe.length-1]],Pe.push(Dn);break;case 3:return!0}}return!0}},ce=function(){var he={EOF:1,parseError:function(se,Pe){if(this.yy.parser)this.yy.parser.parseError(se,Pe);else throw new Error(se)},setInput:function(Re,se){return this.yy=se||this.yy||{},this._input=Re,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 Re=this._input[0];this.yytext+=Re,this.yyleng++,this.offset++,this.match+=Re,this.matched+=Re;var se=Re.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),Re},unput:function(Re){var se=Re.length,Pe=Re.split(/(?:\r\n?|\n)/g);this._input=Re+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-se),this.offset-=se;var Qt=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),Pe.length-1&&(this.yylineno-=Pe.length-1);var vr=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:Pe?(Pe.length===Qt.length?this.yylloc.first_column:0)+Qt[Qt.length-Pe.length].length-Pe[0].length:this.yylloc.first_column-se},this.options.ranges&&(this.yylloc.range=[vr[0],vr[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(Re){this.unput(this.match.slice(Re))},pastInput:function(){var Re=this.matched.substr(0,this.matched.length-this.match.length);return(Re.length>20?"...":"")+Re.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Re=this.match;return Re.length<20&&(Re+=this._input.substr(0,20-Re.length)),(Re.substr(0,20)+(Re.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Re=this.pastInput(),se=new Array(Re.length+1).join("-");return Re+this.upcomingInput()+`
+`+se+"^"},test_match:function(Re,se){var Pe,Qt,vr;if(this.options.backtrack_lexer&&(vr={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&&(vr.yylloc.range=this.yylloc.range.slice(0))),Qt=Re[0].match(/(?:\r\n?|\n).*/g),Qt&&(this.yylineno+=Qt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Qt?Qt[Qt.length-1].length-Qt[Qt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Re[0].length},this.yytext+=Re[0],this.match+=Re[0],this.matches=Re,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(Re[0].length),this.matched+=Re[0],Pe=this.performAction.call(this,this.yy,this,se,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Pe)return Pe;if(this._backtrack){for(var $t in vr)this[$t]=vr[$t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Re,se,Pe,Qt;this._more||(this.yytext="",this.match="");for(var vr=this._currentRules(),$t=0;$t<vr.length;$t++)if(Pe=this._input.match(this.rules[vr[$t]]),Pe&&(!se||Pe[0].length>se[0].length)){if(se=Pe,Qt=$t,this.options.backtrack_lexer){if(Re=this.test_match(Pe,vr[$t]),Re!==!1)return Re;if(this._backtrack){se=!1;continue}else return!1}else if(!this.options.flex)break}return se?(Re=this.test_match(se,vr[Qt]),Re!==!1?Re:!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:{},performAction:function(se,Pe,Qt,vr){switch(Qt){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:break;case 10:break;case 11:return this.begin("acc_title"),44;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),46;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 19:break;case 20:return 23;case 21:return 23;case 22:return"EDGE_STATE";case 23:this.begin("callback_name");break;case 24:this.popState();break;case 25:this.popState(),this.begin("callback_args");break;case 26:return 79;case 27:this.popState();break;case 28:return 80;case 29:this.popState();break;case 30:return"STR";case 31:this.begin("string");break;case 32:return this.begin("namespace"),53;case 33:return this.popState(),16;case 34:break;case 35:return this.begin("namespace-body"),50;case 36:return this.popState(),52;case 37:return"EOF_IN_STRUCT";case 38:return 16;case 39:break;case 40:return"EDGE_STATE";case 41:return this.begin("class"),57;case 42:return this.popState(),16;case 43:break;case 44:return this.popState(),this.popState(),52;case 45:return this.begin("class-body"),50;case 46:return this.popState(),52;case 47:return"EOF_IN_STRUCT";case 48:return"EDGE_STATE";case 49:return"OPEN_IN_STRUCT";case 50:break;case 51:return"MEMBER";case 52:return 82;case 53:return 75;case 54:return 76;case 55:return 78;case 56:return 63;case 57:return 65;case 58:return 58;case 59:return 59;case 60:return 81;case 61:this.popState();break;case 62:return"GENERICTYPE";case 63:this.begin("generic");break;case 64:this.popState();break;case 65:return"BQUOTE_STR";case 66:this.begin("bqstring");break;case 67:return 77;case 68:return 77;case 69:return 77;case 70:return 77;case 71:return 69;case 72:return 69;case 73:return 71;case 74:return 71;case 75:return 70;case 76:return 68;case 77:return 72;case 78:return 73;case 79:return 74;case 80:return 36;case 81:return 55;case 82:return 94;case 83:return"DOT";case 84:return"PLUS";case 85:return 91;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 98;case 89:return 27;case 90:return 29;case 91:return"PUNCTUATION";case 92:return 97;case 93:return 96;case 94:return 93;case 95:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?: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)/,/^(?:$)/],conditions:{"namespace-body":{rules:[31,36,37,38,39,40,41,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},namespace:{rules:[31,32,33,34,35,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},"class-body":{rules:[31,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},class:{rules:[31,42,43,44,45,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_descr_multiline:{rules:[16,17,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_descr:{rules:[14,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_title:{rules:[12,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},arg_directive:{rules:[7,8,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},type_directive:{rules:[6,7,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},open_directive:{rules:[5,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},callback_args:{rules:[27,28,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},callback_name:{rules:[24,25,26,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},href:{rules:[31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},struct:{rules:[31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},generic:{rules:[31,52,53,54,55,56,57,58,59,60,61,62,63,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],inclusive:!1},bqstring:{rules:[31,52,53,54,55,56,57,58,59,60,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],inclusive:!1},string:{rules:[29,30,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,31,32,41,52,53,54,55,56,57,58,59,60,63,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],inclusive:!0}}};return he}();qe.lexer=ce;function Ce(){this.yy={}}return Ce.prototype=qe,qe.Parser=Ce,new Ce}();fgt.parser=fgt;const TRt=fgt,DK="classId-";let dgt=[],sh={},IK=[],_Rt=0,dk={},ggt=0,jN=[];const N5=i=>bi.sanitizeText(i,Me()),eVe=function(i,a,f){f1.parseDirective(this,i,a,f)},gL=function(i){let a="",f=i;if(i.indexOf("~")>0){const p=i.split("~");f=N5(p[0]),a=N5(p[1])}return{className:f,type:a}},nVe=function(i,a){a&&(a=N5(a));const{className:f}=gL(i);sh[f].label=a},pgt=function(i){const a=gL(i);sh[a.className]===void 0&&(sh[a.className]={id:a.className,type:a.type,label:a.className,cssClasses:[],methods:[],members:[],annotations:[],domId:DK+a.className+"-"+_Rt},_Rt++)},CRt=function(i){if(i in sh)return sh[i].domId;throw new Error("Class not found: "+i)},rVe=function(){dgt=[],sh={},IK=[],jN=[],jN.push(ARt),dk={},ggt=0,hg()},iVe=function(i){return sh[i]},sVe=function(){return sh},aVe=function(){return dgt},oVe=function(){return IK},cVe=function(i){Vt.debug("Adding relation: "+JSON.stringify(i)),pgt(i.id1),pgt(i.id2),i.id1=gL(i.id1).className,i.id2=gL(i.id2).className,i.relationTitle1=bi.sanitizeText(i.relationTitle1.trim(),Me()),i.relationTitle2=bi.sanitizeText(i.relationTitle2.trim(),Me()),dgt.push(i)},uVe=function(i,a){const f=gL(i).className;sh[f].annotations.push(a)},SRt=function(i,a){const f=gL(i).className,p=sh[f];if(typeof a=="string"){const v=a.trim();v.startsWith("<<")&&v.endsWith(">>")?p.annotations.push(N5(v.substring(2,v.length-2))):v.indexOf(")")>0?p.methods.push(N5(v)):v&&p.members.push(N5(v))}},lVe=function(i,a){Array.isArray(a)&&(a.reverse(),a.forEach(f=>SRt(i,f)))},hVe=function(i,a){const f={id:`note${IK.length}`,class:a,text:i};IK.push(f)},fVe=function(i){return i.startsWith(":")&&(i=i.substring(1)),N5(i.trim())},bgt=function(i,a){i.split(",").forEach(function(f){let p=f;f[0].match(/\d/)&&(p=DK+p),sh[p]!==void 0&&sh[p].cssClasses.push(a)})},dVe=function(i,a){i.split(",").forEach(function(f){a!==void 0&&(sh[f].tooltip=N5(a))})},gVe=function(i,a){return a?dk[a].classes[i].tooltip:sh[i].tooltip},pVe=function(i,a,f){const p=Me();i.split(",").forEach(function(v){let m=v;v[0].match(/\d/)&&(m=DK+m),sh[m]!==void 0&&(sh[m].link=ho.formatUrl(a,p),p.securityLevel==="sandbox"?sh[m].linkTarget="_top":typeof f=="string"?sh[m].linkTarget=N5(f):sh[m].linkTarget="_blank")}),bgt(i,"clickable")},bVe=function(i,a,f){i.split(",").forEach(function(p){vVe(p,a,f),sh[p].haveCallback=!0}),bgt(i,"clickable")},vVe=function(i,a,f){if(Me().securityLevel!=="loose"||a===void 0)return;const v=i;if(sh[v]!==void 0){const m=CRt(v);let b=[];if(typeof f=="string"){b=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let E=0;E<b.length;E++){let C=b[E].trim();C.charAt(0)==='"'&&C.charAt(C.length-1)==='"'&&(C=C.substr(1,C.length-2)),b[E]=C}}b.length===0&&b.push(m),jN.push(function(){const E=document.querySelector(`[id="${m}"]`);E!==null&&E.addEventListener("click",function(){ho.runFunc(a,...b)},!1)})}},wVe=function(i){jN.forEach(function(a){a(i)})},mVe={LINE:0,DOTTED_LINE:1},yVe={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},ARt=function(i){let a=wr(".mermaidTooltip");(a._groups||a)[0][0]===null&&(a=wr("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),wr(i).select("svg").selectAll("g.node").on("mouseover",function(){const v=wr(this);if(v.attr("title")===null)return;const b=this.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(v.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.top-14+document.body.scrollTop+"px"),a.html(a.html().replace(/&lt;br\/&gt;/g,"<br/>")),v.classed("hover",!0)}).on("mouseout",function(){a.transition().duration(500).style("opacity",0),wr(this).classed("hover",!1)})};jN.push(ARt);let LRt="TB";const OK={parseDirective:eVe,setAccTitle:E0,getAccTitle:fg,getAccDescription:gg,setAccDescription:dg,getConfig:()=>Me().class,addClass:pgt,bindFunctions:wVe,clear:rVe,getClass:iVe,getClasses:sVe,getNotes:oVe,addAnnotation:uVe,addNote:hVe,getRelations:aVe,addRelation:cVe,getDirection:()=>LRt,setDirection:i=>{LRt=i},addMember:SRt,addMembers:lVe,cleanupLabel:fVe,lineType:mVe,relationType:yVe,setClickEvent:bVe,setCssClass:bgt,setLink:pVe,getTooltip:gVe,setTooltip:dVe,lookUpDomId:CRt,setDiagramTitle:F2,getDiagramTitle:fp,setClassLabel:nVe,addNamespace:function(i){dk[i]===void 0&&(dk[i]={id:i,classes:{},children:{},domId:DK+i+"-"+ggt},ggt++)},addClassesToNamespace:function(i,a){dk[i]!==void 0&&a.map(f=>{sh[f].parent=i,dk[i].classes[f]=sh[f]})},getNamespace:function(i){return dk[i]},getNamespaces:function(){return dk}},MRt=i=>`g.classGroup text {
+ fill: ${i.nodeBorder};
+ fill: ${i.classText};
+ stroke: none;
+ font-family: ${i.fontFamily};
+ font-size: 10px;
+
+ .title {
+ font-weight: bolder;
+ }
+
+}
+
+.nodeLabel, .edgeLabel {
+ color: ${i.classText};
+}
+.edgeLabel .label rect {
+ fill: ${i.mainBkg};
+}
+.label text {
+ fill: ${i.classText};
+}
+.edgeLabel .label span {
+ background: ${i.mainBkg};
+}
+
+.classTitle {
+ font-weight: bolder;
+}
+.node rect,
+ .node circle,
+ .node ellipse,
+ .node polygon,
+ .node path {
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
+ stroke-width: 1px;
+ }
+
+
+.divider {
+ stroke: ${i.nodeBorder};
+ stroke-width: 1;
+}
+
+g.clickable {
+ cursor: pointer;
+}
+
+g.classGroup rect {
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
+}
+
+g.classGroup line {
+ stroke: ${i.nodeBorder};
+ stroke-width: 1;
+}
+
+.classLabel .box {
+ stroke: none;
+ stroke-width: 0;
+ fill: ${i.mainBkg};
+ opacity: 0.5;
+}
+
+.classLabel .label {
+ fill: ${i.nodeBorder};
+ font-size: 10px;
+}
+
+.relation {
+ stroke: ${i.lineColor};
+ stroke-width: 1;
+ fill: none;
+}
+
+.dashed-line{
+ stroke-dasharray: 3;
+}
+
+.dotted-line{
+ stroke-dasharray: 1 2;
+}
+
+#compositionStart, .composition {
+ fill: ${i.lineColor} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#compositionEnd, .composition {
+ fill: ${i.lineColor} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#dependencyStart, .dependency {
+ fill: ${i.lineColor} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#dependencyStart, .dependency {
+ fill: ${i.lineColor} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#extensionStart, .extension {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#extensionEnd, .extension {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#aggregationStart, .aggregation {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#aggregationEnd, .aggregation {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#lollipopStart, .lollipop {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+#lollipopEnd, .lollipop {
+ fill: ${i.mainBkg} !important;
+ stroke: ${i.lineColor} !important;
+ stroke-width: 1;
+}
+
+.edgeTerminals {
+ font-size: 11px;
+}
+
+.classTitleText {
+ text-anchor: middle;
+ font-size: 18px;
+ fill: ${i.textColor};
+}
+`;let PK={};const NK=20,$N=function(i){const a=Object.entries(PK).find(f=>f[1].label===i);if(a)return a[0]},xVe=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")},kVe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:TRt,db:OK,renderer:{draw:function(i,a,f,p){const v=Me().class;PK={},Vt.info("Rendering diagram "+i);const m=Me().securityLevel;let b;m==="sandbox"&&(b=wr("#i"+a));const E=wr(m==="sandbox"?b.nodes()[0].contentDocument.body:"body"),C=E.select(`[id='${a}']`);xVe(C);const A=new d1({multigraph:!0});A.setGraph({isMultiGraph:!0}),A.setDefaultEdgeLabel(function(){return{}});const N=p.db.getClasses(),F=Object.keys(N);for(const it of F){const ht=N[it],Tt=S0t.drawClass(C,ht,v,p);PK[Tt.id]=Tt,A.setNode(Tt.id,Tt),Vt.info("Org height: "+Tt.height)}p.db.getRelations().forEach(function(it){Vt.info("tjoho"+$N(it.id1)+$N(it.id2)+JSON.stringify(it)),A.setEdge($N(it.id1),$N(it.id2),{relation:it},it.title||"DEFAULT")}),p.db.getNotes().forEach(function(it){Vt.debug(`Adding note: ${JSON.stringify(it)}`);const ht=S0t.drawNote(C,it,v,p);PK[ht.id]=ht,A.setNode(ht.id,ht),it.class&&it.class in N&&A.setEdge(it.id,$N(it.class),{relation:{id1:it.id,id2:it.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),rL(A),A.nodes().forEach(function(it){it!==void 0&&A.node(it)!==void 0&&(Vt.debug("Node "+it+": "+JSON.stringify(A.node(it))),E.select("#"+(p.db.lookUpDomId(it)||it)).attr("transform","translate("+(A.node(it).x-A.node(it).width/2)+","+(A.node(it).y-A.node(it).height/2)+" )"))}),A.edges().forEach(function(it){it!==void 0&&A.edge(it)!==void 0&&(Vt.debug("Edge "+it.v+" -> "+it.w+": "+JSON.stringify(A.edge(it))),S0t.drawEdge(C,A.edge(it),A.edge(it).relation,v,p))});const H=C.node().getBBox(),Y=H.width+NK*2,rt=H.height+NK*2;N2(C,rt,Y,v.useMaxWidth);const J=`${H.x-NK} ${H.y-NK} ${Y} ${rt}`;Vt.debug(`viewBox ${J}`),C.attr("viewBox",J)}},styles:MRt,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,OK.clear()}}},Symbol.toStringTag,{value:"Module"})),vgt=i=>bi.sanitizeText(i,Me());let wgt={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const EVe=function(i,a,f,p){const v=Object.keys(i);Vt.info("keys:",v),Vt.info(i),v.forEach(function(m){var A,N;const b=i[m],C={shape:"rect",id:b.id,domId:b.domId,labelText:vgt(b.id),labelStyle:"",style:"fill: none; stroke: black",padding:((A=Me().flowchart)==null?void 0:A.padding)??((N=Me().class)==null?void 0:N.padding)};a.setNode(b.id,C),DRt(b.classes,a,f,p,b.id),Vt.info("setNode",C)})},DRt=function(i,a,f,p,v){const m=Object.keys(i);Vt.info("keys:",m),Vt.info(i),m.filter(b=>i[b].parent==v).forEach(function(b){var H,Y;const E=i[b],C=E.cssClasses.join(" "),A={labelStyle:"",style:""},N=E.label??E.id,F=0,j="class_box",R={labelStyle:A.labelStyle,shape:j,labelText:vgt(N),classData:E,rx:F,ry:F,class:C,style:A.style,id:E.id,domId:E.domId,tooltip:p.db.getTooltip(E.id,v)||"",haveCallback:E.haveCallback,link:E.link,width:E.type==="group"?500:void 0,type:E.type,padding:((H=Me().flowchart)==null?void 0:H.padding)??((Y=Me().class)==null?void 0:Y.padding)};a.setNode(E.id,R),v&&a.setParent(E.id,v),Vt.info("setNode",R)})},TVe=function(i,a,f,p){Vt.info(i),i.forEach(function(v,m){var Y,rt;const b=v,E="",C={labelStyle:"",style:""},A=b.text,N=0,F="note",j={labelStyle:C.labelStyle,shape:F,labelText:vgt(A),noteData:b,rx:N,ry:N,class:E,style:C.style,id:b.id,domId:b.id,tooltip:"",type:"note",padding:((Y=Me().flowchart)==null?void 0:Y.padding)??((rt=Me().class)==null?void 0:rt.padding)};if(a.setNode(b.id,j),Vt.info("setNode",j),!b.class||!(b.class in p))return;const R=f+m,H={id:`edgeNote${R}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:Zb(wgt.curve,ag)};a.setEdge(b.id,b.class,H,R)})},_Ve=function(i,a){const f=Me().flowchart;let p=0;i.forEach(function(v){var b;p++;const m={classes:"relation",pattern:v.relation.lineType==1?"dashed":"solid",id:"id"+p,arrowhead:v.type==="arrow_open"?"none":"normal",startLabelRight:v.relationTitle1==="none"?"":v.relationTitle1,endLabelLeft:v.relationTitle2==="none"?"":v.relationTitle2,arrowTypeStart:IRt(v.relation.type1),arrowTypeEnd:IRt(v.relation.type2),style:"fill:none",labelStyle:"",curve:Zb(f==null?void 0:f.curve,ag)};if(Vt.info(m,v),v.style!==void 0){const E=Jw(v.style);m.style=E.style,m.labelStyle=E.labelStyle}v.text=v.title,v.text===void 0?v.style!==void 0&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c",((b=Me().flowchart)==null?void 0:b.htmlLabels)??Me().htmlLabels?(m.labelType="html",m.label='<span class="edgeLabel">'+v.text+"</span>"):(m.labelType="text",m.label=v.text.replace(bi.lineBreakRegex,`
+`),v.style===void 0&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none"),m.labelStyle=m.labelStyle.replace("color:","fill:"))),a.setEdge(v.id1,v.id2,m,p)})},CVe=function(i){wgt={...wgt,...i}},SVe=async function(i,a,f,p){Vt.info("Drawing class - ",a);const v=Me().flowchart??Me().class,m=Me().securityLevel;Vt.info("config:",v);const b=(v==null?void 0:v.nodeSpacing)??50,E=(v==null?void 0:v.rankSpacing)??50,C=new d1({multigraph:!0,compound:!0}).setGraph({rankdir:p.db.getDirection(),nodesep:b,ranksep:E,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),A=p.db.getNamespaces(),N=p.db.getClasses(),F=p.db.getRelations(),j=p.db.getNotes();Vt.info(F),EVe(A,C,a,p),DRt(N,C,a,p),_Ve(F,C),TVe(j,C,F.length+1,N);let R;m==="sandbox"&&(R=wr("#i"+a));const H=wr(m==="sandbox"?R.nodes()[0].contentDocument.body:"body"),Y=H.select(`[id="${a}"]`),rt=H.select("#"+a+" g");if(await A0t(rt,C,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",a),ho.insertTitle(Y,"classTitleText",(v==null?void 0:v.titleTopMargin)??5,p.db.getDiagramTitle()),nE(C,Y,v==null?void 0:v.diagramPadding,v==null?void 0:v.useMaxWidth),!(v!=null&&v.htmlLabels)){const J=m==="sandbox"?R.nodes()[0].contentDocument:document,it=J.querySelectorAll('[id="'+a+'"] .edgeLabel .label');for(const ht of it){const Tt=ht.getBBox(),yt=J.createElementNS("http://www.w3.org/2000/svg","rect");yt.setAttribute("rx",0),yt.setAttribute("ry",0),yt.setAttribute("width",Tt.width),yt.setAttribute("height",Tt.height),ht.insertBefore(yt,ht.firstChild)}}};function IRt(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 AVe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:TRt,db:OK,renderer:{setConf:CVe,draw:SVe},styles:MRt,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,OK.clear()}}},Symbol.toStringTag,{value:"Module"}));var mgt=function(){var i=function(Rt,mt,Ot,Gt){for(Ot=Ot||{},Gt=Rt.length;Gt--;Ot[Rt[Gt]]=mt);return Ot},a=[1,2],f=[1,3],p=[1,5],v=[1,7],m=[2,5],b=[1,15],E=[1,17],C=[1,21],A=[1,22],N=[1,23],F=[1,24],j=[1,37],R=[1,25],H=[1,26],Y=[1,27],rt=[1,28],J=[1,29],it=[1,32],ht=[1,33],Tt=[1,34],yt=[1,35],vt=[1,36],ut=[1,39],xt=[1,40],st=[1,41],Et=[1,42],gt=[1,38],pt=[1,45],Ct=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Nt=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],dt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Ft={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement: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,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"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:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(mt,Ot,Gt,Ve,Cn,xe,Kn){var Se=xe.length-1;switch(Cn){case 4:return Ve.setRootDoc(xe[Se]),xe[Se];case 5:this.$=[];break;case 6:xe[Se]!="nl"&&(xe[Se-1].push(xe[Se]),this.$=xe[Se-1]);break;case 7:case 8:this.$=xe[Se];break;case 9:this.$="nl";break;case 12:this.$=xe[Se];break;case 13:const ce=xe[Se-1];ce.description=Ve.trimColon(xe[Se]),this.$=ce;break;case 14:this.$={stmt:"relation",state1:xe[Se-2],state2:xe[Se]};break;case 15:const Ce=Ve.trimColon(xe[Se]);this.$={stmt:"relation",state1:xe[Se-3],state2:xe[Se-1],description:Ce};break;case 19:this.$={stmt:"state",id:xe[Se-3],type:"default",description:"",doc:xe[Se-1]};break;case 20:var ee=xe[Se],_e=xe[Se-2].trim();if(xe[Se].match(":")){var qe=xe[Se].split(":");ee=qe[0],_e=[_e,qe[1]]}this.$={stmt:"state",id:ee,type:"default",description:_e};break;case 21:this.$={stmt:"state",id:xe[Se-3],type:"default",description:xe[Se-5],doc:xe[Se-1]};break;case 22:this.$={stmt:"state",id:xe[Se],type:"fork"};break;case 23:this.$={stmt:"state",id:xe[Se],type:"join"};break;case 24:this.$={stmt:"state",id:xe[Se],type:"choice"};break;case 25:this.$={stmt:"state",id:Ve.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:xe[Se-1].trim(),note:{position:xe[Se-2].trim(),text:xe[Se].trim()}};break;case 30:this.$=xe[Se].trim(),Ve.setAccTitle(this.$);break;case 31:case 32:this.$=xe[Se].trim(),Ve.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:xe[Se-1].trim(),classes:xe[Se].trim()};break;case 35:this.$={stmt:"applyClass",id:xe[Se-1].trim(),styleClass:xe[Se].trim()};break;case 38:Ve.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:Ve.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:Ve.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:Ve.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:xe[Se].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:xe[Se-2].trim(),classes:[xe[Se].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:xe[Se-2].trim(),classes:[xe[Se].trim()],type:"default",description:""};break;case 50:Ve.parseDirective("%%{","open_directive");break;case 51:Ve.parseDirective(xe[Se],"type_directive");break;case 52:xe[Se]=xe[Se].trim().replace(/'/g,'"'),Ve.parseDirective(xe[Se],"arg_directive");break;case 53:Ve.parseDirective("}%%","close_directive","state");break}},table:[{3:1,4:a,5:f,6:4,7:p,45:6,60:v},{1:[3]},{3:8,4:a,5:f,6:4,7:p,45:6,60:v},{3:9,4:a,5:f,6:4,7:p,45:6,60:v},{3:10,4:a,5:f,6:4,7:p,45:6,60:v},i([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],m,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:b,5:E,6:30,9:14,10:16,11:18,12:19,13:20,16:C,17:A,19:N,22:F,24:j,25:R,26:H,27:Y,28:rt,29:J,32:31,33:it,35:ht,37:Tt,38:yt,42:vt,45:6,50:ut,51:xt,52:st,53:Et,56:gt,60:v},{47:43,48:[1,44],63:pt},i([48,63],[2,51]),i(Ct,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:C,17:A,19:N,22:F,24:j,25:R,26:H,27:Y,28:rt,29:J,32:31,33:it,35:ht,37:Tt,38:yt,42:vt,45:6,50:ut,51:xt,52:st,53:Et,56:gt,60:v},i(Ct,[2,8]),i(Ct,[2,9]),i(Ct,[2,10]),i(Ct,[2,11]),i(Ct,[2,12],{14:[1,47],15:[1,48]}),i(Ct,[2,16]),{18:[1,49]},i(Ct,[2,18],{20:[1,50]}),{23:[1,51]},i(Ct,[2,22]),i(Ct,[2,23]),i(Ct,[2,24]),i(Ct,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},i(Ct,[2,28]),i(Ct,[2,29]),{34:[1,56]},{36:[1,57]},i(Ct,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},i(nt,[2,44],{57:[1,61]}),i(nt,[2,45],{57:[1,62]}),i(Ct,[2,38]),i(Ct,[2,39]),i(Ct,[2,40]),i(Ct,[2,41]),i(Nt,[2,36]),{49:63,62:[1,64]},i(Nt,[2,53]),i(Ct,[2,7]),i(Ct,[2,13]),{13:65,24:j,56:gt},i(Ct,[2,17]),i(dt,m,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},i(Ct,[2,30]),i(Ct,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:pt},{63:[2,52]},i(Ct,[2,14],{14:[1,76]}),{4:b,5:E,6:30,9:14,10:16,11:18,12:19,13:20,16:C,17:A,19:N,21:[1,77],22:F,24:j,25:R,26:H,27:Y,28:rt,29:J,32:31,33:it,35:ht,37:Tt,38:yt,42:vt,45:6,50:ut,51:xt,52:st,53:Et,56:gt,60:v},i(Ct,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},i(Ct,[2,33]),i(Ct,[2,34]),i(Ct,[2,35]),i(nt,[2,46]),i(nt,[2,47]),i(Nt,[2,37]),i(Ct,[2,15]),i(Ct,[2,19]),i(dt,m,{8:81}),i(Ct,[2,26]),i(Ct,[2,27]),{4:b,5:E,6:30,9:14,10:16,11:18,12:19,13:20,16:C,17:A,19:N,21:[1,82],22:F,24:j,25:R,26:H,27:Y,28:rt,29:J,32:31,33:it,35:ht,37:Tt,38:yt,42:vt,45:6,50:ut,51:xt,52:st,53:Et,56:gt,60:v},i(Ct,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(mt,Ot){if(Ot.recoverable)this.trace(mt);else{var Gt=new Error(mt);throw Gt.hash=Ot,Gt}},parse:function(mt){var Ot=this,Gt=[0],Ve=[],Cn=[null],xe=[],Kn=this.table,Se="",ee=0,_e=0,qe=2,ce=1,Ce=xe.slice.call(arguments,1),he=Object.create(this.lexer),Re={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(Re.yy[se]=this.yy[se]);he.setInput(mt,Re.yy),Re.yy.lexer=he,Re.yy.parser=this,typeof he.yylloc>"u"&&(he.yylloc={});var Pe=he.yylloc;xe.push(Pe);var Qt=he.options&&he.options.ranges;typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function vr(){var Rr;return Rr=Ve.pop()||he.lex()||ce,typeof Rr!="number"&&(Rr instanceof Array&&(Ve=Rr,Rr=Ve.pop()),Rr=Ot.symbols_[Rr]||Rr),Rr}for(var $t,ur,le,rr,ar={},Qn,Zn,dn,kn;;){if(ur=Gt[Gt.length-1],this.defaultActions[ur]?le=this.defaultActions[ur]:(($t===null||typeof $t>"u")&&($t=vr()),le=Kn[ur]&&Kn[ur][$t]),typeof le>"u"||!le.length||!le[0]){var _r="";kn=[];for(Qn in Kn[ur])this.terminals_[Qn]&&Qn>qe&&kn.push("'"+this.terminals_[Qn]+"'");he.showPosition?_r="Parse error on line "+(ee+1)+`:
+`+he.showPosition()+`
+Expecting `+kn.join(", ")+", got '"+(this.terminals_[$t]||$t)+"'":_r="Parse error on line "+(ee+1)+": Unexpected "+($t==ce?"end of input":"'"+(this.terminals_[$t]||$t)+"'"),this.parseError(_r,{text:he.match,token:this.terminals_[$t]||$t,line:he.yylineno,loc:Pe,expected:kn})}if(le[0]instanceof Array&&le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ur+", token: "+$t);switch(le[0]){case 1:Gt.push($t),Cn.push(he.yytext),xe.push(he.yylloc),Gt.push(le[1]),$t=null,_e=he.yyleng,Se=he.yytext,ee=he.yylineno,Pe=he.yylloc;break;case 2:if(Zn=this.productions_[le[1]][1],ar.$=Cn[Cn.length-Zn],ar._$={first_line:xe[xe.length-(Zn||1)].first_line,last_line:xe[xe.length-1].last_line,first_column:xe[xe.length-(Zn||1)].first_column,last_column:xe[xe.length-1].last_column},Qt&&(ar._$.range=[xe[xe.length-(Zn||1)].range[0],xe[xe.length-1].range[1]]),rr=this.performAction.apply(ar,[Se,_e,ee,Re.yy,le[1],Cn,xe].concat(Ce)),typeof rr<"u")return rr;Zn&&(Gt=Gt.slice(0,-1*Zn*2),Cn=Cn.slice(0,-1*Zn),xe=xe.slice(0,-1*Zn)),Gt.push(this.productions_[le[1]][0]),Cn.push(ar.$),xe.push(ar._$),dn=Kn[Gt[Gt.length-2]][Gt[Gt.length-1]],Gt.push(dn);break;case 3:return!0}}return!0}},X=function(){var Rt={EOF:1,parseError:function(Ot,Gt){if(this.yy.parser)this.yy.parser.parseError(Ot,Gt);else throw new Error(Ot)},setInput:function(mt,Ot){return this.yy=Ot||this.yy||{},this._input=mt,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 mt=this._input[0];this.yytext+=mt,this.yyleng++,this.offset++,this.match+=mt,this.matched+=mt;var Ot=mt.match(/(?:\r\n?|\n).*/g);return Ot?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),mt},unput:function(mt){var Ot=mt.length,Gt=mt.split(/(?:\r\n?|\n)/g);this._input=mt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ot),this.offset-=Ot;var Ve=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),Gt.length-1&&(this.yylineno-=Gt.length-1);var Cn=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:Gt?(Gt.length===Ve.length?this.yylloc.first_column:0)+Ve[Ve.length-Gt.length].length-Gt[0].length:this.yylloc.first_column-Ot},this.options.ranges&&(this.yylloc.range=[Cn[0],Cn[0]+this.yyleng-Ot]),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(mt){this.unput(this.match.slice(mt))},pastInput:function(){var mt=this.matched.substr(0,this.matched.length-this.match.length);return(mt.length>20?"...":"")+mt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var mt=this.match;return mt.length<20&&(mt+=this._input.substr(0,20-mt.length)),(mt.substr(0,20)+(mt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var mt=this.pastInput(),Ot=new Array(mt.length+1).join("-");return mt+this.upcomingInput()+`
+`+Ot+"^"},test_match:function(mt,Ot){var Gt,Ve,Cn;if(this.options.backtrack_lexer&&(Cn={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&&(Cn.yylloc.range=this.yylloc.range.slice(0))),Ve=mt[0].match(/(?:\r\n?|\n).*/g),Ve&&(this.yylineno+=Ve.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ve?Ve[Ve.length-1].length-Ve[Ve.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+mt[0].length},this.yytext+=mt[0],this.match+=mt[0],this.matches=mt,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(mt[0].length),this.matched+=mt[0],Gt=this.performAction.call(this,this.yy,this,Ot,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Gt)return Gt;if(this._backtrack){for(var xe in Cn)this[xe]=Cn[xe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var mt,Ot,Gt,Ve;this._more||(this.yytext="",this.match="");for(var Cn=this._currentRules(),xe=0;xe<Cn.length;xe++)if(Gt=this._input.match(this.rules[Cn[xe]]),Gt&&(!Ot||Gt[0].length>Ot[0].length)){if(Ot=Gt,Ve=xe,this.options.backtrack_lexer){if(mt=this.test_match(Gt,Cn[xe]),mt!==!1)return mt;if(this._backtrack){Ot=!1;continue}else return!1}else if(!this.options.flex)break}return Ot?(mt=this.test_match(Ot,Cn[Ve]),mt!==!1?mt:!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 Ot=this.next();return Ot||this.lex()},begin:function(Ot){this.conditionStack.push(Ot)},popState:function(){var Ot=this.conditionStack.length-1;return Ot>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(Ot){return Ot=this.conditionStack.length-1-Math.abs(Ot||0),Ot>=0?this.conditionStack[Ot]:"INITIAL"},pushState:function(Ot){this.begin(Ot)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ot,Gt,Ve,Cn){switch(Ve){case 0:return 41;case 1:return 50;case 2:return 51;case 3:return 52;case 4:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:break;case 11:break;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:break;case 17:return this.pushState("SCALE"),17;case 18:return 18;case 19:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 25:this.popState();break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 34:return this.pushState("SCALE"),17;case 35:return 18;case 36:this.popState();break;case 37:this.pushState("STATE");break;case 38:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),25;case 39:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),26;case 40:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-10).trim(),27;case 41:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),25;case 42:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),26;case 43:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-10).trim(),27;case 44:return 50;case 45:return 51;case 46:return 52;case 47:return 53;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:return this.popState(),"ID";case 51:this.popState();break;case 52:return"STATE_DESCR";case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;case 56:break;case 57:return this.popState(),21;case 58:break;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 64:break;case 65:return"NOTE_TEXT";case 66:return this.popState(),"ID";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),Gt.yytext=Gt.yytext.substr(2).trim(),31;case 69:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),31;case 70:return 7;case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return Gt.yytext=Gt.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 79:return 5;case 80: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,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/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:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};return Rt}();Ft.lexer=X;function Bt(){this.yy={}}return Bt.prototype=Ft,Ft.Parser=Bt,new Bt}();mgt.parser=mgt;const ORt=mgt,LVe="LR",MVe="TB",FK="state",ygt="relation",DVe="classDef",IVe="applyClass",zN="default",PRt="divider",xgt="[*]",NRt="start",FRt=xgt,BRt="end",RRt="color",jRt="fill",OVe="bgFill",PVe=",";function $Rt(){return{}}let zRt=LVe,BK=[],qN=$Rt();const qRt=()=>({relations:[],states:{},documents:{}});let RK={root:qRt()},C0=RK.root,HN=0,HRt=0;const NVe={LINE:0,DOTTED_LINE:1},FVe={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},jK=i=>JSON.parse(JSON.stringify(i)),BVe=function(i,a,f){f1.parseDirective(this,i,a,f)},RVe=i=>{Vt.info("Setting root doc",i),BK=i},jVe=()=>BK,$K=(i,a,f)=>{if(a.stmt===ygt)$K(i,a.state1,!0),$K(i,a.state2,!1);else if(a.stmt===FK&&(a.id==="[*]"?(a.id=f?i.id+"_start":i.id+"_end",a.start=f):a.id=a.id.trim()),a.doc){const p=[];let v=[],m;for(m=0;m<a.doc.length;m++)if(a.doc[m].type===PRt){const b=jK(a.doc[m]);b.doc=jK(v),p.push(b),v=[]}else v.push(a.doc[m]);if(p.length>0&&v.length>0){const b={stmt:FK,id:qIt(),type:"divider",doc:jK(v)};p.push(jK(b)),a.doc=p}a.doc.forEach(b=>$K(a,b,!0))}},$Ve=()=>($K({id:"root"},{id:"root",doc:BK},!0),{id:"root",doc:BK}),zVe=i=>{let a;i.doc?a=i.doc:a=i,Vt.info(a),VRt(!0),Vt.info("Extract",a),a.forEach(f=>{switch(f.stmt){case FK:TE(f.id.trim(),f.type,f.doc,f.description,f.note,f.classes,f.styles,f.textStyles);break;case ygt:GRt(f.state1,f.state2,f.description);break;case DVe:URt(f.id.trim(),f.classes);break;case IVe:_gt(f.id.trim(),f.styleClass);break}})},TE=function(i,a=zN,f=null,p=null,v=null,m=null,b=null,E=null){const C=i==null?void 0:i.trim();C0.states[C]===void 0?(Vt.info("Adding state ",C,p),C0.states[C]={id:C,descriptions:[],type:a,doc:f,note:v,classes:[],styles:[],textStyles:[]}):(C0.states[C].doc||(C0.states[C].doc=f),C0.states[C].type||(C0.states[C].type=a)),p&&(Vt.info("Setting state description",C,p),typeof p=="string"&&Tgt(C,p.trim()),typeof p=="object"&&p.forEach(A=>Tgt(C,A.trim()))),v&&(C0.states[C].note=v,C0.states[C].note.text=bi.sanitizeText(C0.states[C].note.text,Me())),m&&(Vt.info("Setting state classes",C,m),(typeof m=="string"?[m]:m).forEach(N=>_gt(C,N.trim()))),b&&(Vt.info("Setting state styles",C,b),(typeof b=="string"?[b]:b).forEach(N=>QVe(C,N.trim()))),E&&(Vt.info("Setting state styles",C,b),(typeof E=="string"?[E]:E).forEach(N=>ZVe(C,N.trim())))},VRt=function(i){RK={root:qRt()},C0=RK.root,HN=0,qN=$Rt(),i||hg()},VN=function(i){return C0.states[i]},qVe=function(){return C0.states},HVe=function(){Vt.info("Documents = ",RK)},VVe=function(){return C0.relations};function kgt(i=""){let a=i;return i===xgt&&(HN++,a=`${NRt}${HN}`),a}function Egt(i="",a=zN){return i===xgt?NRt:a}function GVe(i=""){let a=i;return i===FRt&&(HN++,a=`${BRt}${HN}`),a}function UVe(i="",a=zN){return i===FRt?BRt:a}function WVe(i,a,f){let p=kgt(i.id.trim()),v=Egt(i.id.trim(),i.type),m=kgt(a.id.trim()),b=Egt(a.id.trim(),a.type);TE(p,v,i.doc,i.description,i.note,i.classes,i.styles,i.textStyles),TE(m,b,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles),C0.relations.push({id1:p,id2:m,relationTitle:bi.sanitizeText(f,Me())})}const GRt=function(i,a,f){if(typeof i=="object")WVe(i,a,f);else{const p=kgt(i.trim()),v=Egt(i),m=GVe(a.trim()),b=UVe(a);TE(p,v),TE(m,b),C0.relations.push({id1:p,id2:m,title:bi.sanitizeText(f,Me())})}},Tgt=function(i,a){const f=C0.states[i],p=a.startsWith(":")?a.replace(":","").trim():a;f.descriptions.push(bi.sanitizeText(p,Me()))},KVe=function(i){return i.substring(0,1)===":"?i.substr(2).trim():i.trim()},YVe=()=>(HRt++,"divider-id-"+HRt),URt=function(i,a=""){qN[i]===void 0&&(qN[i]={id:i,styles:[],textStyles:[]});const f=qN[i];a!=null&&a.split(PVe).forEach(p=>{const v=p.replace(/([^;]*);/,"$1").trim();if(p.match(RRt)){const b=v.replace(jRt,OVe).replace(RRt,jRt);f.textStyles.push(b)}f.styles.push(v)})},XVe=function(){return qN},_gt=function(i,a){i.split(",").forEach(function(f){let p=VN(f);if(p===void 0){const v=f.trim();TE(v),p=VN(v)}p.classes.push(a)})},QVe=function(i,a){const f=VN(i);f!==void 0&&f.textStyles.push(a)},ZVe=function(i,a){const f=VN(i);f!==void 0&&f.textStyles.push(a)},F5={parseDirective:BVe,getConfig:()=>Me().state,addState:TE,clear:VRt,getState:VN,getStates:qVe,getRelations:VVe,getClasses:XVe,getDirection:()=>zRt,addRelation:GRt,getDividerId:YVe,setDirection:i=>{zRt=i},cleanupLabel:KVe,lineType:NVe,relationType:FVe,logDocuments:HVe,getRootDoc:jVe,setRootDoc:RVe,getRootDocV2:$Ve,extract:zVe,trimColon:i=>i&&i[0]===":"?i.substr(1).trim():i.trim(),getAccTitle:fg,setAccTitle:E0,getAccDescription:gg,setAccDescription:dg,addStyleClass:URt,setCssClass:_gt,addDescription:Tgt,setDiagramTitle:F2,getDiagramTitle:fp},WRt=i=>`
defs #statediagram-barbEnd {
- fill: ${s.transitionColor};
- stroke: ${s.transitionColor};
+ fill: ${i.transitionColor};
+ stroke: ${i.transitionColor};
}
g.stateGroup text {
- fill: ${s.nodeBorder};
+ fill: ${i.nodeBorder};
stroke: none;
font-size: 10px;
}
g.stateGroup text {
- fill: ${s.textColor};
+ fill: ${i.textColor};
stroke: none;
font-size: 10px;
}
g.stateGroup .state-title {
font-weight: bolder;
- fill: ${s.stateLabelColor};
+ fill: ${i.stateLabelColor};
}
g.stateGroup rect {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
}
g.stateGroup line {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
stroke-width: 1;
}
.transition {
- stroke: ${s.transitionColor};
+ stroke: ${i.transitionColor};
stroke-width: 1;
fill: none;
}
.stateGroup .composit {
- fill: ${s.background};
+ fill: ${i.background};
border-bottom: 1px
}
@@ -795,11 +1035,11 @@ g.stateGroup line {
}
.state-note {
- stroke: ${s.noteBorderColor};
- fill: ${s.noteBkgColor};
+ stroke: ${i.noteBorderColor};
+ fill: ${i.noteBkgColor};
text {
- fill: ${s.noteTextColor};
+ fill: ${i.noteTextColor};
stroke: none;
font-size: 10px;
}
@@ -808,70 +1048,70 @@ g.stateGroup line {
.stateLabel .box {
stroke: none;
stroke-width: 0;
- fill: ${s.mainBkg};
+ fill: ${i.mainBkg};
opacity: 0.5;
}
.edgeLabel .label rect {
- fill: ${s.labelBackgroundColor};
+ fill: ${i.labelBackgroundColor};
opacity: 0.5;
}
.edgeLabel .label text {
- fill: ${s.transitionLabelColor||s.tertiaryTextColor};
+ fill: ${i.transitionLabelColor||i.tertiaryTextColor};
}
.label div .edgeLabel {
- color: ${s.transitionLabelColor||s.tertiaryTextColor};
+ color: ${i.transitionLabelColor||i.tertiaryTextColor};
}
.stateLabel text {
- fill: ${s.stateLabelColor};
+ fill: ${i.stateLabelColor};
font-size: 10px;
font-weight: bold;
}
.node circle.state-start {
- fill: ${s.specialStateColor};
- stroke: ${s.specialStateColor};
+ fill: ${i.specialStateColor};
+ stroke: ${i.specialStateColor};
}
.node .fork-join {
- fill: ${s.specialStateColor};
- stroke: ${s.specialStateColor};
+ fill: ${i.specialStateColor};
+ stroke: ${i.specialStateColor};
}
.node circle.state-end {
- fill: ${s.innerEndBackground};
- stroke: ${s.background};
+ fill: ${i.innerEndBackground};
+ stroke: ${i.background};
stroke-width: 1.5
}
.end-state-inner {
- fill: ${s.compositeBackground||s.background};
- // stroke: ${s.background};
+ fill: ${i.compositeBackground||i.background};
+ // stroke: ${i.background};
stroke-width: 1.5
}
.node rect {
- fill: ${s.stateBkg||s.mainBkg};
- stroke: ${s.stateBorder||s.nodeBorder};
+ fill: ${i.stateBkg||i.mainBkg};
+ stroke: ${i.stateBorder||i.nodeBorder};
stroke-width: 1px;
}
.node polygon {
- fill: ${s.mainBkg};
- stroke: ${s.stateBorder||s.nodeBorder};;
+ fill: ${i.mainBkg};
+ stroke: ${i.stateBorder||i.nodeBorder};;
stroke-width: 1px;
}
#statediagram-barbEnd {
- fill: ${s.lineColor};
+ fill: ${i.lineColor};
}
.statediagram-cluster rect {
- fill: ${s.compositeTitleBackground};
- stroke: ${s.stateBorder||s.nodeBorder};
+ fill: ${i.compositeTitleBackground};
+ stroke: ${i.stateBorder||i.nodeBorder};
stroke-width: 1px;
}
.cluster-label, .nodeLabel {
- color: ${s.stateLabelColor};
+ color: ${i.stateLabelColor};
}
.statediagram-cluster rect.outer {
@@ -879,7 +1119,7 @@ g.stateGroup line {
ry: 5px;
}
.statediagram-state .divider {
- stroke: ${s.stateBorder||s.nodeBorder};
+ stroke: ${i.stateBorder||i.nodeBorder};
}
.statediagram-state .title-state {
@@ -887,10 +1127,10 @@ g.stateGroup line {
ry: 5px;
}
.statediagram-cluster.statediagram-cluster .inner {
- fill: ${s.compositeBackground||s.background};
+ fill: ${i.compositeBackground||i.background};
}
.statediagram-cluster.statediagram-cluster-alt .inner {
- fill: ${s.altBackground?s.altBackground:"#efefef"};
+ fill: ${i.altBackground?i.altBackground:"#efefef"};
}
.statediagram-cluster .inner {
@@ -904,7 +1144,7 @@ g.stateGroup line {
}
.statediagram-state rect.divider {
stroke-dasharray: 10,10;
- fill: ${s.altBackground?s.altBackground:"#efefef"};
+ fill: ${i.altBackground?i.altBackground:"#efefef"};
}
.note-edge {
@@ -912,68 +1152,73 @@ g.stateGroup line {
}
.statediagram-note rect {
- fill: ${s.noteBkgColor};
- stroke: ${s.noteBorderColor};
+ fill: ${i.noteBkgColor};
+ stroke: ${i.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note rect {
- fill: ${s.noteBkgColor};
- stroke: ${s.noteBorderColor};
+ fill: ${i.noteBkgColor};
+ stroke: ${i.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note text {
- fill: ${s.noteTextColor};
+ fill: ${i.noteTextColor};
}
.statediagram-note .nodeLabel {
- color: ${s.noteTextColor};
+ color: ${i.noteTextColor};
}
.statediagram .edgeLabel {
- color: red; // ${s.noteTextColor};
+ color: red; // ${i.noteTextColor};
}
#dependencyStart, #dependencyEnd {
- fill: ${s.lineColor};
- stroke: ${s.lineColor};
+ fill: ${i.lineColor};
+ stroke: ${i.lineColor};
stroke-width: 1;
}
.statediagramTitleText {
text-anchor: middle;
font-size: 18px;
- fill: ${s.textColor};
-}
-`,hIe=s=>`.label {
+ fill: ${i.textColor};
+}
+`,Cgt={},JVe=(i,a)=>{Cgt[i]=a},tGe=i=>Cgt[i],KRt=()=>Object.keys(Cgt),eGe={get:tGe,set:JVe,keys:KRt,size:()=>KRt().length},nGe=i=>i.append("circle").attr("class","start-state").attr("r",Me().state.sizeUnit).attr("cx",Me().state.padding+Me().state.sizeUnit).attr("cy",Me().state.padding+Me().state.sizeUnit),rGe=i=>i.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",Me().state.textHeight).attr("class","divider").attr("x2",Me().state.textHeight*2).attr("y1",0).attr("y2",0),iGe=(i,a)=>{const f=i.append("text").attr("x",2*Me().state.padding).attr("y",Me().state.textHeight+2*Me().state.padding).attr("font-size",Me().state.fontSize).attr("class","state-title").text(a.id),p=f.node().getBBox();return i.insert("rect",":first-child").attr("x",Me().state.padding).attr("y",Me().state.padding).attr("width",p.width+2*Me().state.padding).attr("height",p.height+2*Me().state.padding).attr("rx",Me().state.radius),f},sGe=(i,a)=>{const f=function(j,R,H){const Y=j.append("tspan").attr("x",2*Me().state.padding).text(R);H||Y.attr("dy",Me().state.textHeight)},v=i.append("text").attr("x",2*Me().state.padding).attr("y",Me().state.textHeight+1.3*Me().state.padding).attr("font-size",Me().state.fontSize).attr("class","state-title").text(a.descriptions[0]).node().getBBox(),m=v.height,b=i.append("text").attr("x",Me().state.padding).attr("y",m+Me().state.padding*.4+Me().state.dividerMargin+Me().state.textHeight).attr("class","state-description");let E=!0,C=!0;a.descriptions.forEach(function(j){E||(f(b,j,C),C=!1),E=!1});const A=i.append("line").attr("x1",Me().state.padding).attr("y1",Me().state.padding+m+Me().state.dividerMargin/2).attr("y2",Me().state.padding+m+Me().state.dividerMargin/2).attr("class","descr-divider"),N=b.node().getBBox(),F=Math.max(N.width,v.width);return A.attr("x2",F+3*Me().state.padding),i.insert("rect",":first-child").attr("x",Me().state.padding).attr("y",Me().state.padding).attr("width",F+2*Me().state.padding).attr("height",N.height+m+2*Me().state.padding).attr("rx",Me().state.radius),i},aGe=(i,a,f)=>{const p=Me().state.padding,v=2*Me().state.padding,m=i.node().getBBox(),b=m.width,E=m.x,C=i.append("text").attr("x",0).attr("y",Me().state.titleShift).attr("font-size",Me().state.fontSize).attr("class","state-title").text(a.id),N=C.node().getBBox().width+v;let F=Math.max(N,b);F===b&&(F=F+v);let j;const R=i.node().getBBox();a.doc,j=E-p,N>b&&(j=(b-F)/2+p),Math.abs(E-R.x)<p&&N>b&&(j=E-(N-b)/2);const H=1-Me().state.textHeight;return i.insert("rect",":first-child").attr("x",j).attr("y",H).attr("class",f?"alt-composit":"composit").attr("width",F).attr("height",R.height+Me().state.textHeight+Me().state.titleShift+1).attr("rx","0"),C.attr("x",j+p),N<=b&&C.attr("x",E+(F-v)/2-N/2+p),i.insert("rect",":first-child").attr("x",j).attr("y",Me().state.titleShift-Me().state.textHeight-Me().state.padding).attr("width",F).attr("height",Me().state.textHeight*3).attr("rx",Me().state.radius),i.insert("rect",":first-child").attr("x",j).attr("y",Me().state.titleShift-Me().state.textHeight-Me().state.padding).attr("width",F).attr("height",R.height+3+2*Me().state.textHeight).attr("rx",Me().state.radius),i},oGe=i=>(i.append("circle").attr("class","end-state-outer").attr("r",Me().state.sizeUnit+Me().state.miniPadding).attr("cx",Me().state.padding+Me().state.sizeUnit+Me().state.miniPadding).attr("cy",Me().state.padding+Me().state.sizeUnit+Me().state.miniPadding),i.append("circle").attr("class","end-state-inner").attr("r",Me().state.sizeUnit).attr("cx",Me().state.padding+Me().state.sizeUnit+2).attr("cy",Me().state.padding+Me().state.sizeUnit+2)),cGe=(i,a)=>{let f=Me().state.forkWidth,p=Me().state.forkHeight;if(a.parentId){let v=f;f=p,p=v}return i.append("rect").style("stroke","black").style("fill","black").attr("width",f).attr("height",p).attr("x",Me().state.padding).attr("y",Me().state.padding)},uGe=(i,a,f,p)=>{let v=0;const m=p.append("text");m.style("text-anchor","start"),m.attr("class","noteText");let b=i.replace(/\r\n/g,"<br/>");b=b.replace(/\n/g,"<br/>");const E=b.split(bi.lineBreakRegex);let C=1.25*Me().state.noteMargin;for(const A of E){const N=A.trim();if(N.length>0){const F=m.append("tspan");if(F.text(N),C===0){const j=F.node().getBBox();C+=j.height}v+=C,F.attr("x",a+Me().state.noteMargin),F.attr("y",f+v+1.25*Me().state.noteMargin)}}return{textWidth:m.node().getBBox().width,textHeight:v}},lGe=(i,a)=>{a.attr("class","state-note");const f=a.append("rect").attr("x",0).attr("y",Me().state.padding),p=a.append("g"),{textWidth:v,textHeight:m}=uGe(i,0,0,p);return f.attr("height",m+2*Me().state.noteMargin),f.attr("width",v+Me().state.noteMargin*2),f},YRt=function(i,a){const f=a.id,p={id:f,label:a.id,width:0,height:0},v=i.append("g").attr("id",f).attr("class","stateGroup");a.type==="start"&&nGe(v),a.type==="end"&&oGe(v),(a.type==="fork"||a.type==="join")&&cGe(v,a),a.type==="note"&&lGe(a.note.text,v),a.type==="divider"&&rGe(v),a.type==="default"&&a.descriptions.length===0&&iGe(v,a),a.type==="default"&&a.descriptions.length>0&&sGe(v,a);const m=v.node().getBBox();return p.width=m.width+2*Me().state.padding,p.height=m.height+2*Me().state.padding,eGe.set(f,p),p};let XRt=0;const hGe=function(i,a,f){const p=function(C){switch(C){case F5.relationType.AGGREGATION:return"aggregation";case F5.relationType.EXTENSION:return"extension";case F5.relationType.COMPOSITION:return"composition";case F5.relationType.DEPENDENCY:return"dependency"}};a.points=a.points.filter(C=>!Number.isNaN(C.y));const v=a.points,m=Z9().x(function(C){return C.x}).y(function(C){return C.y}).curve(MA),b=i.append("path").attr("d",m(v)).attr("id","edge"+XRt).attr("class","transition");let E="";if(Me().state.arrowMarkerAbsolute&&(E=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,E=E.replace(/\(/g,"\\("),E=E.replace(/\)/g,"\\)")),b.attr("marker-end","url("+E+"#"+p(F5.relationType.DEPENDENCY)+"End)"),f.title!==void 0){const C=i.append("g").attr("class","stateLabel"),{x:A,y:N}=ho.calcLabelPosition(a.points),F=bi.getRows(f.title);let j=0;const R=[];let H=0,Y=0;for(let it=0;it<=F.length;it++){const ht=C.append("text").attr("text-anchor","middle").text(F[it]).attr("x",A).attr("y",N+j),Tt=ht.node().getBBox();H=Math.max(H,Tt.width),Y=Math.min(Y,Tt.x),Vt.info(Tt.x,A,N+j),j===0&&(j=ht.node().getBBox().height,Vt.info("Title height",j,N)),R.push(ht)}let rt=j*F.length;if(F.length>1){const it=(F.length-1)*j*.5;R.forEach((ht,Tt)=>ht.attr("y",N+Tt*j-it)),rt=j*F.length}const J=C.node().getBBox();C.insert("rect",":first-child").attr("class","box").attr("x",A-H/2-Me().state.padding/2).attr("y",N-rt/2-Me().state.padding/2-3.5).attr("width",H+Me().state.padding).attr("height",rt+Me().state.padding),Vt.info(J)}XRt++};let q2;const Sgt={},fGe=function(){},dGe=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")},gGe=function(i,a,f,p){q2=Me().state;const v=Me().securityLevel;let m;v==="sandbox"&&(m=wr("#i"+a));const b=wr(v==="sandbox"?m.nodes()[0].contentDocument.body:"body"),E=v==="sandbox"?m.nodes()[0].contentDocument:document;Vt.debug("Rendering diagram "+i);const C=b.select(`[id='${a}']`);dGe(C);const A=p.db.getRootDoc();QRt(A,C,void 0,!1,b,E,p);const N=q2.padding,F=C.node().getBBox(),j=F.width+N*2,R=F.height+N*2,H=j*1.75;N2(C,R,H,q2.useMaxWidth),C.attr("viewBox",`${F.x-q2.padding} ${F.y-q2.padding} `+j+" "+R)},pGe=i=>i?i.length*q2.fontSizeFactor:1,QRt=(i,a,f,p,v,m,b)=>{const E=new d1({compound:!0,multigraph:!0});let C,A=!0;for(C=0;C<i.length;C++)if(i[C].stmt==="relation"){A=!1;break}f?E.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:A?1:q2.edgeLengthFactor,nodeSep:A?1:50,isMultiGraph:!0}):E.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:A?1:q2.edgeLengthFactor,nodeSep:A?1:50,ranker:"tight-tree",isMultiGraph:!0}),E.setDefaultEdgeLabel(function(){return{}}),b.db.extract(i);const N=b.db.getStates(),F=b.db.getRelations(),j=Object.keys(N);for(const J of j){const it=N[J];f&&(it.parentId=f);let ht;if(it.doc){let Tt=a.append("g").attr("id",it.id).attr("class","stateGroup");ht=QRt(it.doc,Tt,it.id,!p,v,m,b);{Tt=aGe(Tt,it,p);let yt=Tt.node().getBBox();ht.width=yt.width,ht.height=yt.height+q2.padding/2,Sgt[it.id]={y:q2.compositTitleSize}}}else ht=YRt(a,it);if(it.note){const Tt={descriptions:[],id:it.id+"-note",note:it.note,type:"note"},yt=YRt(a,Tt);it.note.position==="left of"?(E.setNode(ht.id+"-note",yt),E.setNode(ht.id,ht)):(E.setNode(ht.id,ht),E.setNode(ht.id+"-note",yt)),E.setParent(ht.id,ht.id+"-group"),E.setParent(ht.id+"-note",ht.id+"-group")}else E.setNode(ht.id,ht)}Vt.debug("Count=",E.nodeCount(),E);let R=0;F.forEach(function(J){R++,Vt.debug("Setting edge",J),E.setEdge(J.id1,J.id2,{relation:J,width:pGe(J.title),height:q2.labelHeight*bi.getRows(J.title).length,labelpos:"c"},"id"+R)}),rL(E),Vt.debug("Graph after layout",E.nodes());const H=a.node();E.nodes().forEach(function(J){J!==void 0&&E.node(J)!==void 0?(Vt.warn("Node "+J+": "+JSON.stringify(E.node(J))),v.select("#"+H.id+" #"+J).attr("transform","translate("+(E.node(J).x-E.node(J).width/2)+","+(E.node(J).y+(Sgt[J]?Sgt[J].y:0)-E.node(J).height/2)+" )"),v.select("#"+H.id+" #"+J).attr("data-x-shift",E.node(J).x-E.node(J).width/2),m.querySelectorAll("#"+H.id+" #"+J+" .divider").forEach(ht=>{const Tt=ht.parentElement;let yt=0,vt=0;Tt&&(Tt.parentElement&&(yt=Tt.parentElement.getBBox().width),vt=parseInt(Tt.getAttribute("data-x-shift"),10),Number.isNaN(vt)&&(vt=0)),ht.setAttribute("x1",0-vt+8),ht.setAttribute("x2",yt-vt-8)})):Vt.debug("No Node "+J+": "+JSON.stringify(E.node(J)))});let Y=H.getBBox();E.edges().forEach(function(J){J!==void 0&&E.edge(J)!==void 0&&(Vt.debug("Edge "+J.v+" -> "+J.w+": "+JSON.stringify(E.edge(J))),hGe(a,E.edge(J),E.edge(J).relation))}),Y=H.getBBox();const rt={id:f||"root",label:f||"root",width:0,height:0};return rt.width=Y.width+2*q2.padding,rt.height=Y.height+2*q2.padding,Vt.debug("Doc rendered",rt,E),rt},bGe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:ORt,db:F5,renderer:{setConf:fGe,draw:gGe},styles:WRt,init:i=>{i.state||(i.state={}),i.state.arrowMarkerAbsolute=i.arrowMarkerAbsolute,F5.clear()}}},Symbol.toStringTag,{value:"Module"})),zK="rect",Agt="rectWithTitle",vGe="start",wGe="end",mGe="divider",yGe="roundedWithTitle",xGe="note",kGe="noteGroup",pL="statediagram",EGe=`${pL}-state`,ZRt="transition",TGe="note",_Ge=`${ZRt} note-edge`,CGe=`${pL}-${TGe}`,SGe=`${pL}-cluster`,AGe=`${pL}-cluster-alt`,JRt="parent",tjt="note",LGe="state",Lgt="----",MGe=`${Lgt}${tjt}`,ejt=`${Lgt}${JRt}`,njt="fill:none",rjt="fill: #333",ijt="c",sjt="text",ajt="normal";let qK={},gk=0;const DGe=function(i){const a=Object.keys(i);for(const f of a)i[f]},IGe=function(i,a){Vt.trace("Extracting classes"),a.db.clear();try{return a.parser.parse(i),a.db.extract(a.db.getRootDocV2()),a.db.getClasses()}catch(f){return f}};function OGe(i){return i==null?"":i.classes?i.classes.join(" "):""}function Mgt(i="",a=0,f="",p=Lgt){const v=f!==null&&f.length>0?`${p}${f}`:"";return`${LGe}-${i}${v}-${a}`}const GN=(i,a,f,p,v,m)=>{const b=f.id,E=OGe(p[b]);if(b!=="root"){let C=zK;f.start===!0&&(C=vGe),f.start===!1&&(C=wGe),f.type!==zN&&(C=f.type),qK[b]||(qK[b]={id:b,shape:C,description:bi.sanitizeText(b,Me()),classes:`${E} ${EGe}`});const A=qK[b];f.description&&(Array.isArray(A.description)?(A.shape=Agt,A.description.push(f.description)):A.description.length>0?(A.shape=Agt,A.description===b?A.description=[f.description]:A.description=[A.description,f.description]):(A.shape=zK,A.description=f.description),A.description=bi.sanitizeTextOrArray(A.description,Me())),A.description.length===1&&A.shape===Agt&&(A.shape=zK),!A.type&&f.doc&&(Vt.info("Setting cluster for ",b,Dgt(f)),A.type="group",A.dir=Dgt(f),A.shape=f.type===PRt?mGe:yGe,A.classes=A.classes+" "+SGe+" "+(m?AGe:""));const N={labelStyle:"",shape:A.shape,labelText:A.description,classes:A.classes,style:"",id:b,dir:A.dir,domId:Mgt(b,gk),type:A.type,padding:15};if(N.centerLabel=!0,f.note){const F={labelStyle:"",shape:xGe,labelText:f.note.text,classes:CGe,style:"",id:b+MGe+"-"+gk,domId:Mgt(b,gk,tjt),type:A.type,padding:15},j={labelStyle:"",shape:kGe,labelText:f.note.text,classes:A.classes,style:"",id:b+ejt,domId:Mgt(b,gk,JRt),type:"group",padding:0};gk++;const R=b+ejt;i.setNode(R,j),i.setNode(F.id,F),i.setNode(b,N),i.setParent(b,R),i.setParent(F.id,R);let H=b,Y=F.id;f.note.position==="left of"&&(H=F.id,Y=b),i.setEdge(H,Y,{arrowhead:"none",arrowType:"",style:njt,labelStyle:"",classes:_Ge,arrowheadStyle:rjt,labelpos:ijt,labelType:sjt,thickness:ajt})}else i.setNode(b,N)}a&&a.id!=="root"&&(Vt.trace("Setting node ",b," to be child of its parent ",a.id),i.setParent(b,a.id)),f.doc&&(Vt.trace("Adding nodes children "),PGe(i,f,f.doc,p,v,!m))},PGe=(i,a,f,p,v,m)=>{Vt.trace("items",f),f.forEach(b=>{switch(b.stmt){case FK:GN(i,a,b,p,v,m);break;case zN:GN(i,a,b,p,v,m);break;case ygt:{GN(i,a,b.state1,p,v,m),GN(i,a,b.state2,p,v,m);const E={id:"edge"+gk,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:njt,labelStyle:"",label:bi.sanitizeText(b.description,Me()),arrowheadStyle:rjt,labelpos:ijt,labelType:sjt,thickness:ajt,classes:ZRt};i.setEdge(b.state1.id,b.state2.id,E,gk),gk++}break}})},Dgt=(i,a=MVe)=>{let f=a;if(i.doc)for(let p=0;p<i.doc.length;p++){const v=i.doc[p];v.stmt==="dir"&&(f=v.value)}return f},NGe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:ORt,db:F5,renderer:{setConf:DGe,getClasses:IGe,draw:async function(i,a,f,p){Vt.info("Drawing state diagram (v2)",a),qK={},p.db.getDirection();const{securityLevel:v,state:m}=Me(),b=m.nodeSpacing||50,E=m.rankSpacing||50;Vt.info(p.db.getRootDocV2()),p.db.extract(p.db.getRootDocV2()),Vt.info(p.db.getRootDocV2());const C=p.db.getStates(),A=new d1({multigraph:!0,compound:!0}).setGraph({rankdir:Dgt(p.db.getRootDocV2()),nodesep:b,ranksep:E,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});GN(A,void 0,p.db.getRootDocV2(),C,p.db,!0);let N;v==="sandbox"&&(N=wr("#i"+a));const F=wr(v==="sandbox"?N.nodes()[0].contentDocument.body:"body"),j=F.select(`[id="${a}"]`),R=F.select("#"+a+" g");await A0t(R,A,["barb"],pL,a);const H=8;ho.insertTitle(j,"statediagramTitleText",m.titleTopMargin,p.db.getDiagramTitle());const Y=j.node().getBBox(),rt=Y.width+H*2,J=Y.height+H*2;j.attr("class",pL);const it=j.node().getBBox();N2(j,J,rt,m.useMaxWidth);const ht=`${it.x-H} ${it.y-H} ${rt} ${J}`;Vt.debug(`viewBox ${ht}`),j.attr("viewBox",ht);const Tt=document.querySelectorAll('[id="'+a+'"] .edgeLabel .label');for(const yt of Tt){const vt=yt.getBBox(),ut=document.createElementNS("http://www.w3.org/2000/svg",zK);ut.setAttribute("rx",0),ut.setAttribute("ry",0),ut.setAttribute("width",vt.width),ut.setAttribute("height",vt.height),yt.insertBefore(ut,yt.firstChild)}}},styles:WRt,init:i=>{i.state||(i.state={}),i.state.arrowMarkerAbsolute=i.arrowMarkerAbsolute,F5.clear()}}},Symbol.toStringTag,{value:"Module"}));var Igt=function(){var i=function(Y,rt,J,it){for(J=J||{},it=Y.length;it--;J[Y[it]]=rt);return J},a=[1,2],f=[1,5],p=[6,9,11,17,18,20,22,23,24,26],v=[1,15],m=[1,16],b=[1,17],E=[1,18],C=[1,19],A=[1,20],N=[1,24],F=[4,6,9,11,17,18,20,22,23,24,26],j={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(rt,J,it,ht,Tt,yt,vt){var ut=yt.length-1;switch(Tt){case 1:return yt[ut-1];case 3:this.$=[];break;case 4:yt[ut-1].push(yt[ut]),this.$=yt[ut-1];break;case 5:case 6:this.$=yt[ut];break;case 7:case 8:this.$=[];break;case 11:ht.setDiagramTitle(yt[ut].substr(6)),this.$=yt[ut].substr(6);break;case 12:this.$=yt[ut].trim(),ht.setAccTitle(this.$);break;case 13:case 14:this.$=yt[ut].trim(),ht.setAccDescription(this.$);break;case 15:ht.addSection(yt[ut].substr(8)),this.$=yt[ut].substr(8);break;case 16:ht.addTask(yt[ut-1],yt[ut]),this.$="task";break;case 18:ht.parseDirective("%%{","open_directive");break;case 19:ht.parseDirective(yt[ut],"type_directive");break;case 20:yt[ut]=yt[ut].trim().replace(/'/g,'"'),ht.parseDirective(yt[ut],"arg_directive");break;case 21:ht.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:a,7:3,12:4,26:f},{1:[3]},i(p,[2,3],{5:6}),{3:7,4:a,7:3,12:4,26:f},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:v,18:m,20:b,22:E,23:C,24:A,26:f},{1:[2,2]},{14:22,15:[1,23],29:N},i([15,29],[2,19]),i(p,[2,8],{1:[2,1]}),i(p,[2,4]),{7:21,10:25,12:4,17:v,18:m,20:b,22:E,23:C,24:A,26:f},i(p,[2,6]),i(p,[2,7]),i(p,[2,11]),{19:[1,26]},{21:[1,27]},i(p,[2,14]),i(p,[2,15]),{25:[1,28]},i(p,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},i(p,[2,5]),i(p,[2,12]),i(p,[2,13]),i(p,[2,16]),i(F,[2,9]),{14:32,29:N},{29:[2,20]},{11:[1,33]},i(F,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(rt,J){if(J.recoverable)this.trace(rt);else{var it=new Error(rt);throw it.hash=J,it}},parse:function(rt){var J=this,it=[0],ht=[],Tt=[null],yt=[],vt=this.table,ut="",xt=0,st=0,Et=2,gt=1,pt=yt.slice.call(arguments,1),Ct=Object.create(this.lexer),nt={yy:{}};for(var Nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Nt)&&(nt.yy[Nt]=this.yy[Nt]);Ct.setInput(rt,nt.yy),nt.yy.lexer=Ct,nt.yy.parser=this,typeof Ct.yylloc>"u"&&(Ct.yylloc={});var dt=Ct.yylloc;yt.push(dt);var Ft=Ct.options&&Ct.options.ranges;typeof nt.yy.parseError=="function"?this.parseError=nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function X(){var ee;return ee=ht.pop()||Ct.lex()||gt,typeof ee!="number"&&(ee instanceof Array&&(ht=ee,ee=ht.pop()),ee=J.symbols_[ee]||ee),ee}for(var Bt,Rt,mt,Ot,Gt={},Ve,Cn,xe,Kn;;){if(Rt=it[it.length-1],this.defaultActions[Rt]?mt=this.defaultActions[Rt]:((Bt===null||typeof Bt>"u")&&(Bt=X()),mt=vt[Rt]&&vt[Rt][Bt]),typeof mt>"u"||!mt.length||!mt[0]){var Se="";Kn=[];for(Ve in vt[Rt])this.terminals_[Ve]&&Ve>Et&&Kn.push("'"+this.terminals_[Ve]+"'");Ct.showPosition?Se="Parse error on line "+(xt+1)+`:
+`+Ct.showPosition()+`
+Expecting `+Kn.join(", ")+", got '"+(this.terminals_[Bt]||Bt)+"'":Se="Parse error on line "+(xt+1)+": Unexpected "+(Bt==gt?"end of input":"'"+(this.terminals_[Bt]||Bt)+"'"),this.parseError(Se,{text:Ct.match,token:this.terminals_[Bt]||Bt,line:Ct.yylineno,loc:dt,expected:Kn})}if(mt[0]instanceof Array&&mt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+Bt);switch(mt[0]){case 1:it.push(Bt),Tt.push(Ct.yytext),yt.push(Ct.yylloc),it.push(mt[1]),Bt=null,st=Ct.yyleng,ut=Ct.yytext,xt=Ct.yylineno,dt=Ct.yylloc;break;case 2:if(Cn=this.productions_[mt[1]][1],Gt.$=Tt[Tt.length-Cn],Gt._$={first_line:yt[yt.length-(Cn||1)].first_line,last_line:yt[yt.length-1].last_line,first_column:yt[yt.length-(Cn||1)].first_column,last_column:yt[yt.length-1].last_column},Ft&&(Gt._$.range=[yt[yt.length-(Cn||1)].range[0],yt[yt.length-1].range[1]]),Ot=this.performAction.apply(Gt,[ut,st,xt,nt.yy,mt[1],Tt,yt].concat(pt)),typeof Ot<"u")return Ot;Cn&&(it=it.slice(0,-1*Cn*2),Tt=Tt.slice(0,-1*Cn),yt=yt.slice(0,-1*Cn)),it.push(this.productions_[mt[1]][0]),Tt.push(Gt.$),yt.push(Gt._$),xe=vt[it[it.length-2]][it[it.length-1]],it.push(xe);break;case 3:return!0}}return!0}},R=function(){var Y={EOF:1,parseError:function(J,it){if(this.yy.parser)this.yy.parser.parseError(J,it);else throw new Error(J)},setInput:function(rt,J){return this.yy=J||this.yy||{},this._input=rt,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 rt=this._input[0];this.yytext+=rt,this.yyleng++,this.offset++,this.match+=rt,this.matched+=rt;var J=rt.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),rt},unput:function(rt){var J=rt.length,it=rt.split(/(?:\r\n?|\n)/g);this._input=rt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-J),this.offset-=J;var ht=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),it.length-1&&(this.yylineno-=it.length-1);var Tt=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:it?(it.length===ht.length?this.yylloc.first_column:0)+ht[ht.length-it.length].length-it[0].length:this.yylloc.first_column-J},this.options.ranges&&(this.yylloc.range=[Tt[0],Tt[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(rt){this.unput(this.match.slice(rt))},pastInput:function(){var rt=this.matched.substr(0,this.matched.length-this.match.length);return(rt.length>20?"...":"")+rt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var rt=this.match;return rt.length<20&&(rt+=this._input.substr(0,20-rt.length)),(rt.substr(0,20)+(rt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var rt=this.pastInput(),J=new Array(rt.length+1).join("-");return rt+this.upcomingInput()+`
+`+J+"^"},test_match:function(rt,J){var it,ht,Tt;if(this.options.backtrack_lexer&&(Tt={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&&(Tt.yylloc.range=this.yylloc.range.slice(0))),ht=rt[0].match(/(?:\r\n?|\n).*/g),ht&&(this.yylineno+=ht.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ht?ht[ht.length-1].length-ht[ht.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+rt[0].length},this.yytext+=rt[0],this.match+=rt[0],this.matches=rt,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(rt[0].length),this.matched+=rt[0],it=this.performAction.call(this,this.yy,this,J,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),it)return it;if(this._backtrack){for(var yt in Tt)this[yt]=Tt[yt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var rt,J,it,ht;this._more||(this.yytext="",this.match="");for(var Tt=this._currentRules(),yt=0;yt<Tt.length;yt++)if(it=this._input.match(this.rules[Tt[yt]]),it&&(!J||it[0].length>J[0].length)){if(J=it,ht=yt,this.options.backtrack_lexer){if(rt=this.test_match(it,Tt[yt]),rt!==!1)return rt;if(this._backtrack){J=!1;continue}else return!1}else if(!this.options.flex)break}return J?(rt=this.test_match(J,Tt[ht]),rt!==!1?rt:!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,it,ht,Tt){switch(ht){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};return Y}();j.lexer=R;function H(){this.yy={}}return H.prototype=j,j.Parser=H,new H}();Igt.parser=Igt;const FGe=Igt;let bL="";const Ogt=[],UN=[],WN=[],BGe=function(i,a,f){f1.parseDirective(this,i,a,f)},RGe=function(){Ogt.length=0,UN.length=0,bL="",WN.length=0,hg()},jGe=function(i){bL=i,Ogt.push(i)},$Ge=function(){return Ogt},zGe=function(){let i=ojt();const a=100;let f=0;for(;!i&&f<a;)i=ojt(),f++;return UN.push(...WN),UN},qGe=function(){const i=[];return UN.forEach(f=>{f.people&&i.push(...f.people)}),[...new Set(i)].sort()},HGe=function(i,a){const f=a.substr(1).split(":");let p=0,v=[];f.length===1?(p=Number(f[0]),v=[]):(p=Number(f[0]),v=f[1].split(","));const m=v.map(E=>E.trim()),b={section:bL,type:bL,people:m,task:i,score:p};WN.push(b)},VGe=function(i){const a={section:bL,type:bL,description:i,task:i,classes:[]};UN.push(a)},ojt=function(){const i=function(f){return WN[f].processed};let a=!0;for(const[f,p]of WN.entries())i(f),a=a&&p.processed;return a},cjt={parseDirective:BGe,getConfig:()=>Me().journey,clear:RGe,setDiagramTitle:F2,getDiagramTitle:fp,setAccTitle:E0,getAccTitle:fg,setAccDescription:dg,getAccDescription:gg,addSection:jGe,getSections:$Ge,getTasks:zGe,addTask:HGe,addTaskOrg:VGe,getActors:function(){return qGe()}},GGe=i=>`.label {
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
- color: ${s.textColor};
+ color: ${i.textColor};
}
.mouth {
stroke: #666;
}
line {
- stroke: ${s.textColor}
+ stroke: ${i.textColor}
}
.legend {
- fill: ${s.textColor};
+ fill: ${i.textColor};
}
.label text {
fill: #333;
}
.label {
- color: ${s.textColor}
+ color: ${i.textColor}
}
.face {
- ${s.faceColor?`fill: ${s.faceColor}`:"fill: #FFF8DC"};
+ ${i.faceColor?`fill: ${i.faceColor}`:"fill: #FFF8DC"};
stroke: #999;
}
@@ -982,8 +1227,8 @@ g.stateGroup line {
.node ellipse,
.node polygon,
.node path {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
stroke-width: 1px;
}
@@ -995,21 +1240,21 @@ g.stateGroup line {
}
.arrowheadPath {
- fill: ${s.arrowheadColor};
+ fill: ${i.arrowheadColor};
}
.edgePath .path {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
stroke-width: 1.5px;
}
.flowchart-link {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
fill: none;
}
.edgeLabel {
- background-color: ${s.edgeLabelBackground};
+ background-color: ${i.edgeLabelBackground};
rect {
opacity: 0.5;
}
@@ -1020,7 +1265,7 @@ g.stateGroup line {
}
.cluster text {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
div.mermaidTooltip {
@@ -1031,302 +1276,101 @@ g.stateGroup line {
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
font-size: 12px;
- background: ${s.tertiaryColor};
- border: 1px solid ${s.border2};
+ background: ${i.tertiaryColor};
+ border: 1px solid ${i.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.task-type-0, .section-type-0 {
- ${s.fillType0?`fill: ${s.fillType0}`:""};
+ ${i.fillType0?`fill: ${i.fillType0}`:""};
}
.task-type-1, .section-type-1 {
- ${s.fillType0?`fill: ${s.fillType1}`:""};
+ ${i.fillType0?`fill: ${i.fillType1}`:""};
}
.task-type-2, .section-type-2 {
- ${s.fillType0?`fill: ${s.fillType2}`:""};
+ ${i.fillType0?`fill: ${i.fillType2}`:""};
}
.task-type-3, .section-type-3 {
- ${s.fillType0?`fill: ${s.fillType3}`:""};
+ ${i.fillType0?`fill: ${i.fillType3}`:""};
}
.task-type-4, .section-type-4 {
- ${s.fillType0?`fill: ${s.fillType4}`:""};
+ ${i.fillType0?`fill: ${i.fillType4}`:""};
}
.task-type-5, .section-type-5 {
- ${s.fillType0?`fill: ${s.fillType5}`:""};
+ ${i.fillType0?`fill: ${i.fillType5}`:""};
}
.task-type-6, .section-type-6 {
- ${s.fillType0?`fill: ${s.fillType6}`:""};
+ ${i.fillType0?`fill: ${i.fillType6}`:""};
}
.task-type-7, .section-type-7 {
- ${s.fillType0?`fill: ${s.fillType7}`:""};
+ ${i.fillType0?`fill: ${i.fillType7}`:""};
}
.actor-0 {
- ${s.actor0?`fill: ${s.actor0}`:""};
+ ${i.actor0?`fill: ${i.actor0}`:""};
}
.actor-1 {
- ${s.actor1?`fill: ${s.actor1}`:""};
+ ${i.actor1?`fill: ${i.actor1}`:""};
}
.actor-2 {
- ${s.actor2?`fill: ${s.actor2}`:""};
+ ${i.actor2?`fill: ${i.actor2}`:""};
}
.actor-3 {
- ${s.actor3?`fill: ${s.actor3}`:""};
+ ${i.actor3?`fill: ${i.actor3}`:""};
}
.actor-4 {
- ${s.actor4?`fill: ${s.actor4}`:""};
+ ${i.actor4?`fill: ${i.actor4}`:""};
}
.actor-5 {
- ${s.actor5?`fill: ${s.actor5}`:""};
- }
-`,fIe=s=>`.person {
- stroke: ${s.personBorder};
- fill: ${s.personBkg};
- }
-`,oK={flowchart:sK,"flowchart-v2":sK,sequence:lIe,gantt:aIe,classDiagram:AN,"classDiagram-v2":AN,class:AN,stateDiagram:aK,state:aK,info:oIe,pie:cIe,er:sIe,error:G1e,journey:hIe,requirement:uIe,c4:fIe},J_t=(s,o,f)=>{let p="";return s in oK&&oK[s]?p=oK[s](f):je.warn(`No theme found for ${s}`),` & {
- font-family: ${f.fontFamily};
- font-size: ${f.fontSize};
- fill: ${f.textColor}
+ ${i.actor5?`fill: ${i.actor5}`:""};
}
-
- /* Classes common for multiple diagrams */
-
- & .error-icon {
- fill: ${f.errorBkgColor};
- }
- & .error-text {
- fill: ${f.errorTextColor};
- stroke: ${f.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: ${f.lineColor};
- stroke: ${f.lineColor};
- }
- & .marker.cross {
- stroke: ${f.lineColor};
- }
-
- & svg {
- font-family: ${f.fontFamily};
- font-size: ${f.fontSize};
- }
-
- ${p}
-
- ${o}
-`},eCt=(s,o)=>{oK[s]=o},tCt=J_t;let q1e="",cK="",V1e="";const U1e=s=>T2(s,Pt()),tp=function(){q1e="",V1e="",cK=""},np=function(s){q1e=U1e(s).replace(/^\s+/g,"")},C2=function(){return q1e||cK},S2=function(s){V1e=U1e(s).replace(/\n\s+/g,`
-`)},A2=function(){return V1e},Kw=function(s){cK=U1e(s)},Ww=function(){return cK},dIe=Object.freeze(Object.defineProperty({__proto__:null,clear:tp,default:{setAccTitle:np,getAccTitle:C2,setDiagramTitle:Kw,getDiagramTitle:Ww,getAccDescription:A2,setAccDescription:S2,clear:tp},getAccDescription:A2,getAccTitle:C2,getDiagramTitle:Ww,setAccDescription:S2,setAccTitle:np,setDiagramTitle:Kw},Symbol.toStringTag,{value:"Module"}));let WE={};const K1e=function(s,o,f,p){je.debug("parseDirective is being called",o,f,p);try{if(o!==void 0)switch(o=o.trim(),f){case"open_directive":WE={};break;case"type_directive":if(!WE)throw new Error("currentDirective is undefined");WE.type=o.toLowerCase();break;case"arg_directive":if(!WE)throw new Error("currentDirective is undefined");WE.args=JSON.parse(o);break;case"close_directive":nCt(s,WE,p),WE=void 0;break}}catch(w){je.error(`Error while rendering sequenceDiagram directive: ${o} jison context: ${f}`),je.error(w.message)}},nCt=function(s,o,f){switch(je.info(`Directive type=${o.type} with args:`,o.args),o.type){case"init":case"initialize":{["config"].forEach(p=>{o.args[p]!==void 0&&(f==="flowchart-v2"&&(f="flowchart"),o.args[f]=o.args[p],delete o.args[p])}),je.info("sanitize in handleDirective",o.args),VE(o.args),je.info("sanitize in handleDirective (done)",o.args),z1e(o.args);break}case"wrap":case"nowrap":s&&s.setWrap&&s.setWrap(o.type==="wrap");break;case"themeCss":je.warn("themeCss encountered");break;default:je.warn(`Unhandled directive: source: '%%{${o.type}: ${JSON.stringify(o.args?o.args:{})}}%%`,o);break}},rCt=je,iCt=ffe,LN=Pt,sCt=s=>T2(s,LN()),gIe=KE,aCt=()=>dIe,oCt=(s,o,f,p)=>K1e(s,o,f,p),uK={},h1=(s,o,f)=>{if(uK[s])throw new Error(`Diagram ${s} already registered.`);uK[s]=o,f&&NDe(s,f),eCt(s,o.styles),o.injectUtils&&o.injectUtils(rCt,iCt,LN,sCt,gIe,aCt(),oCt)},pIe=s=>{if(s in uK)return uK[s];throw new Error(`Diagram ${s} not found.`)};var W1e=function(){var s=function(ye,re,we,ke){for(we=we||{},ke=ye.length;ke--;we[ye[ke]]=re);return we},o=[1,4],f=[1,7],p=[1,5],w=[1,9],k=[1,6],b=[2,6],_=[1,16],A=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],N=[8,14,20,22,24,25,27,29,32,37,40],B=[8,13,14,20,22,24,25,27,29,32,37,40],F=[1,26],H=[6,8,14,50,55],j=[8,14,55],V=[1,53],Z=[1,52],ae=[8,14,30,33,35,38,55],le=[1,67],ce=[1,68],be=[1,69],xe=[8,14,33,35,42,55],Ee={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR: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,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(re,we,ke,he,De,X,Re){var pe=X.length-1;switch(De){case 3:return X[pe];case 4:return X[pe-1];case 5:return he.setDirection(X[pe-3]),X[pe-1];case 7:he.setOptions(X[pe-1]),this.$=X[pe];break;case 8:X[pe-1]+=X[pe],this.$=X[pe-1];break;case 10:this.$=[];break;case 11:X[pe-1].push(X[pe]),this.$=X[pe-1];break;case 12:this.$=X[pe-1];break;case 17:this.$=X[pe].trim(),he.setAccTitle(this.$);break;case 18:case 19:this.$=X[pe].trim(),he.setAccDescription(this.$);break;case 20:he.addSection(X[pe].substr(8)),this.$=X[pe].substr(8);break;case 22:he.checkout(X[pe]);break;case 23:he.branch(X[pe]);break;case 24:he.branch(X[pe-2],X[pe]);break;case 25:he.cherryPick(X[pe],"",void 0);break;case 26:he.cherryPick(X[pe-2],"",X[pe]);break;case 27:case 29:he.cherryPick(X[pe-2],"","");break;case 28:he.cherryPick(X[pe],"",X[pe-2]);break;case 30:he.merge(X[pe],"","","");break;case 31:he.merge(X[pe-2],X[pe],"","");break;case 32:he.merge(X[pe-2],"",X[pe],"");break;case 33:he.merge(X[pe-2],"","",X[pe]);break;case 34:he.merge(X[pe-4],X[pe],"",X[pe-2]);break;case 35:he.merge(X[pe-4],"",X[pe],X[pe-2]);break;case 36:he.merge(X[pe-4],"",X[pe-2],X[pe]);break;case 37:he.merge(X[pe-4],X[pe-2],X[pe],"");break;case 38:he.merge(X[pe-4],X[pe-2],"",X[pe]);break;case 39:he.merge(X[pe-4],X[pe],X[pe-2],"");break;case 40:he.merge(X[pe-6],X[pe-4],X[pe-2],X[pe]);break;case 41:he.merge(X[pe-6],X[pe],X[pe-4],X[pe-2]);break;case 42:he.merge(X[pe-6],X[pe-4],X[pe],X[pe-2]);break;case 43:he.merge(X[pe-6],X[pe-2],X[pe-4],X[pe]);break;case 44:he.merge(X[pe-6],X[pe],X[pe-2],X[pe-4]);break;case 45:he.merge(X[pe-6],X[pe-2],X[pe],X[pe-4]);break;case 46:he.commit(X[pe]);break;case 47:he.commit("","",he.commitType.NORMAL,X[pe]);break;case 48:he.commit("","",X[pe],"");break;case 49:he.commit("","",X[pe],X[pe-2]);break;case 50:he.commit("","",X[pe-2],X[pe]);break;case 51:he.commit("",X[pe],he.commitType.NORMAL,"");break;case 52:he.commit("",X[pe-2],he.commitType.NORMAL,X[pe]);break;case 53:he.commit("",X[pe],he.commitType.NORMAL,X[pe-2]);break;case 54:he.commit("",X[pe-2],X[pe],"");break;case 55:he.commit("",X[pe],X[pe-2],"");break;case 56:he.commit("",X[pe-4],X[pe-2],X[pe]);break;case 57:he.commit("",X[pe-4],X[pe],X[pe-2]);break;case 58:he.commit("",X[pe-2],X[pe-4],X[pe]);break;case 59:he.commit("",X[pe],X[pe-4],X[pe-2]);break;case 60:he.commit("",X[pe],X[pe-2],X[pe-4]);break;case 61:he.commit("",X[pe-2],X[pe],X[pe-4]);break;case 62:he.commit(X[pe],"",he.commitType.NORMAL,"");break;case 63:he.commit(X[pe],"",he.commitType.NORMAL,X[pe-2]);break;case 64:he.commit(X[pe-2],"",he.commitType.NORMAL,X[pe]);break;case 65:he.commit(X[pe-2],"",X[pe],"");break;case 66:he.commit(X[pe],"",X[pe-2],"");break;case 67:he.commit(X[pe],X[pe-2],he.commitType.NORMAL,"");break;case 68:he.commit(X[pe-2],X[pe],he.commitType.NORMAL,"");break;case 69:he.commit(X[pe-4],"",X[pe-2],X[pe]);break;case 70:he.commit(X[pe-4],"",X[pe],X[pe-2]);break;case 71:he.commit(X[pe-2],"",X[pe-4],X[pe]);break;case 72:he.commit(X[pe],"",X[pe-4],X[pe-2]);break;case 73:he.commit(X[pe],"",X[pe-2],X[pe-4]);break;case 74:he.commit(X[pe-2],"",X[pe],X[pe-4]);break;case 75:he.commit(X[pe-4],X[pe],X[pe-2],"");break;case 76:he.commit(X[pe-4],X[pe-2],X[pe],"");break;case 77:he.commit(X[pe-2],X[pe],X[pe-4],"");break;case 78:he.commit(X[pe],X[pe-2],X[pe-4],"");break;case 79:he.commit(X[pe],X[pe-4],X[pe-2],"");break;case 80:he.commit(X[pe-2],X[pe-4],X[pe],"");break;case 81:he.commit(X[pe-4],X[pe],he.commitType.NORMAL,X[pe-2]);break;case 82:he.commit(X[pe-4],X[pe-2],he.commitType.NORMAL,X[pe]);break;case 83:he.commit(X[pe-2],X[pe],he.commitType.NORMAL,X[pe-4]);break;case 84:he.commit(X[pe],X[pe-2],he.commitType.NORMAL,X[pe-4]);break;case 85:he.commit(X[pe],X[pe-4],he.commitType.NORMAL,X[pe-2]);break;case 86:he.commit(X[pe-2],X[pe-4],he.commitType.NORMAL,X[pe]);break;case 87:he.commit(X[pe-6],X[pe-4],X[pe-2],X[pe]);break;case 88:he.commit(X[pe-6],X[pe-4],X[pe],X[pe-2]);break;case 89:he.commit(X[pe-6],X[pe-2],X[pe-4],X[pe]);break;case 90:he.commit(X[pe-6],X[pe],X[pe-4],X[pe-2]);break;case 91:he.commit(X[pe-6],X[pe-2],X[pe],X[pe-4]);break;case 92:he.commit(X[pe-6],X[pe],X[pe-2],X[pe-4]);break;case 93:he.commit(X[pe-4],X[pe-6],X[pe-2],X[pe]);break;case 94:he.commit(X[pe-4],X[pe-6],X[pe],X[pe-2]);break;case 95:he.commit(X[pe-2],X[pe-6],X[pe-4],X[pe]);break;case 96:he.commit(X[pe],X[pe-6],X[pe-4],X[pe-2]);break;case 97:he.commit(X[pe-2],X[pe-6],X[pe],X[pe-4]);break;case 98:he.commit(X[pe],X[pe-6],X[pe-2],X[pe-4]);break;case 99:he.commit(X[pe],X[pe-4],X[pe-2],X[pe-6]);break;case 100:he.commit(X[pe-2],X[pe-4],X[pe],X[pe-6]);break;case 101:he.commit(X[pe],X[pe-2],X[pe-4],X[pe-6]);break;case 102:he.commit(X[pe-2],X[pe],X[pe-4],X[pe-6]);break;case 103:he.commit(X[pe-4],X[pe-2],X[pe],X[pe-6]);break;case 104:he.commit(X[pe-4],X[pe],X[pe-2],X[pe-6]);break;case 105:he.commit(X[pe-2],X[pe-4],X[pe-6],X[pe]);break;case 106:he.commit(X[pe],X[pe-4],X[pe-6],X[pe-2]);break;case 107:he.commit(X[pe-2],X[pe],X[pe-6],X[pe-4]);break;case 108:he.commit(X[pe],X[pe-2],X[pe-6],X[pe-4]);break;case 109:he.commit(X[pe-4],X[pe-2],X[pe-6],X[pe]);break;case 110:he.commit(X[pe-4],X[pe],X[pe-6],X[pe-2]);break;case 111:this.$="";break;case 112:this.$=X[pe];break;case 113:this.$=he.commitType.NORMAL;break;case 114:this.$=he.commitType.REVERSE;break;case 115:this.$=he.commitType.HIGHLIGHT;break;case 118:he.parseDirective("%%{","open_directive");break;case 119:he.parseDirective(X[pe],"type_directive");break;case 120:X[pe]=X[pe].trim().replace(/'/g,'"'),he.parseDirective(X[pe],"arg_directive");break;case 121:he.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:o,8:f,14:p,46:8,50:w,55:k},{1:[3]},{3:10,4:2,5:3,6:o,8:f,14:p,46:8,50:w,55:k},{3:11,4:2,5:3,6:o,8:f,14:p,46:8,50:w,55:k},{7:12,8:b,9:[1,13],10:[1,14],11:15,14:_},s(A,[2,124]),s(A,[2,125]),s(A,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:b,11:15,14:_},{9:[1,21]},s(N,[2,10],{12:22,13:[1,23]}),s(B,[2,9]),{9:[1,25],48:24,53:F},s([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:b,11:15,14:_},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},s(B,[2,8]),s(H,[2,116]),{49:45,52:[1,46]},s(H,[2,121]),{1:[2,4]},{8:[1,47]},s(N,[2,11]),{4:48,8:f,14:p,55:k},s(N,[2,13]),s(j,[2,14]),s(j,[2,15]),s(j,[2,16]),{21:[1,49]},{23:[1,50]},s(j,[2,19]),s(j,[2,20]),s(j,[2,21]),{28:51,34:V,54:Z},s(j,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:V,54:Z},{33:[1,61],35:[1,62]},{28:63,34:V,54:Z},{48:64,53:F},{53:[2,120]},{1:[2,5]},s(N,[2,12]),s(j,[2,17]),s(j,[2,18]),s(j,[2,22]),s(ae,[2,122]),s(ae,[2,123]),s(j,[2,46]),{34:[1,65]},{39:66,43:le,44:ce,45:be},{34:[1,70]},{34:[1,71]},s(j,[2,112]),s(j,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},s(j,[2,23],{30:[1,78]}),s(H,[2,117]),s(j,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),s(j,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),s(xe,[2,113]),s(xe,[2,114]),s(xe,[2,115]),s(j,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),s(j,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:le,44:ce,45:be},{34:[1,93]},s(j,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:le,44:ce,45:be},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:le,44:ce,45:be},{34:[1,106]},{34:[1,107]},{39:108,43:le,44:ce,45:be},{34:[1,109]},s(j,[2,31],{35:[1,111],38:[1,110]}),s(j,[2,32],{33:[1,113],35:[1,112]}),s(j,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},s(j,[2,24]),s(j,[2,49],{33:[1,120],42:[1,121]}),s(j,[2,53],{38:[1,122],42:[1,123]}),s(j,[2,63],{33:[1,125],38:[1,124]}),s(j,[2,50],{33:[1,126],42:[1,127]}),s(j,[2,55],{35:[1,128],42:[1,129]}),s(j,[2,66],{33:[1,131],35:[1,130]}),s(j,[2,52],{38:[1,132],42:[1,133]}),s(j,[2,54],{35:[1,134],42:[1,135]}),s(j,[2,67],{35:[1,137],38:[1,136]}),s(j,[2,64],{33:[1,139],38:[1,138]}),s(j,[2,65],{33:[1,141],35:[1,140]}),s(j,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:le,44:ce,45:be},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:le,44:ce,45:be},s(j,[2,26]),s(j,[2,27]),s(j,[2,28]),s(j,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:le,44:ce,45:be},{34:[1,153]},{39:154,43:le,44:ce,45:be},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:le,44:ce,45:be},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:le,44:ce,45:be},{34:[1,167]},{39:168,43:le,44:ce,45:be},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:le,44:ce,45:be},{34:[1,173]},s(j,[2,37],{35:[1,174]}),s(j,[2,38],{38:[1,175]}),s(j,[2,36],{33:[1,176]}),s(j,[2,39],{35:[1,177]}),s(j,[2,34],{38:[1,178]}),s(j,[2,35],{33:[1,179]}),s(j,[2,60],{42:[1,180]}),s(j,[2,73],{33:[1,181]}),s(j,[2,61],{42:[1,182]}),s(j,[2,84],{38:[1,183]}),s(j,[2,74],{33:[1,184]}),s(j,[2,83],{38:[1,185]}),s(j,[2,59],{42:[1,186]}),s(j,[2,72],{33:[1,187]}),s(j,[2,58],{42:[1,188]}),s(j,[2,78],{35:[1,189]}),s(j,[2,71],{33:[1,190]}),s(j,[2,77],{35:[1,191]}),s(j,[2,57],{42:[1,192]}),s(j,[2,85],{38:[1,193]}),s(j,[2,56],{42:[1,194]}),s(j,[2,79],{35:[1,195]}),s(j,[2,80],{35:[1,196]}),s(j,[2,86],{38:[1,197]}),s(j,[2,70],{33:[1,198]}),s(j,[2,81],{38:[1,199]}),s(j,[2,69],{33:[1,200]}),s(j,[2,75],{35:[1,201]}),s(j,[2,76],{35:[1,202]}),s(j,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:le,44:ce,45:be},{34:[1,206]},{34:[1,207]},{39:208,43:le,44:ce,45:be},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:le,44:ce,45:be},{34:[1,214]},{39:215,43:le,44:ce,45:be},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:le,44:ce,45:be},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:le,44:ce,45:be},{34:[1,228]},{39:229,43:le,44:ce,45:be},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:le,44:ce,45:be},s(j,[2,40]),s(j,[2,42]),s(j,[2,41]),s(j,[2,43]),s(j,[2,45]),s(j,[2,44]),s(j,[2,101]),s(j,[2,102]),s(j,[2,99]),s(j,[2,100]),s(j,[2,104]),s(j,[2,103]),s(j,[2,108]),s(j,[2,107]),s(j,[2,106]),s(j,[2,105]),s(j,[2,110]),s(j,[2,109]),s(j,[2,98]),s(j,[2,97]),s(j,[2,96]),s(j,[2,95]),s(j,[2,93]),s(j,[2,94]),s(j,[2,92]),s(j,[2,91]),s(j,[2,90]),s(j,[2,89]),s(j,[2,87]),s(j,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(re,we){if(we.recoverable)this.trace(re);else{var ke=new Error(re);throw ke.hash=we,ke}},parse:function(re){var we=this,ke=[0],he=[],De=[null],X=[],Re=this.table,pe="",Ge=0,de=0,ct=2,bt=1,St=X.slice.call(arguments,1),yt=Object.create(this.lexer),Mt={yy:{}};for(var nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nn)&&(Mt.yy[nn]=this.yy[nn]);yt.setInput(re,Mt.yy),Mt.yy.lexer=yt,Mt.yy.parser=this,typeof yt.yylloc>"u"&&(yt.yylloc={});var dn=yt.yylloc;X.push(dn);var vt=yt.options&&yt.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Lr(){var Di;return Di=he.pop()||yt.lex()||bt,typeof Di!="number"&&(Di instanceof Array&&(he=Di,Di=he.pop()),Di=we.symbols_[Di]||Di),Di}for(var xt,Tt,wt,At,He={},Ze,Lt,Ve,Mn;;){if(Tt=ke[ke.length-1],this.defaultActions[Tt]?wt=this.defaultActions[Tt]:((xt===null||typeof xt>"u")&&(xt=Lr()),wt=Re[Tt]&&Re[Tt][xt]),typeof wt>"u"||!wt.length||!wt[0]){var Oe="";Mn=[];for(Ze in Re[Tt])this.terminals_[Ze]&&Ze>ct&&Mn.push("'"+this.terminals_[Ze]+"'");yt.showPosition?Oe="Parse error on line "+(Ge+1)+`:
-`+yt.showPosition()+`
-Expecting `+Mn.join(", ")+", got '"+(this.terminals_[xt]||xt)+"'":Oe="Parse error on line "+(Ge+1)+": Unexpected "+(xt==bt?"end of input":"'"+(this.terminals_[xt]||xt)+"'"),this.parseError(Oe,{text:yt.match,token:this.terminals_[xt]||xt,line:yt.yylineno,loc:dn,expected:Mn})}if(wt[0]instanceof Array&&wt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Tt+", token: "+xt);switch(wt[0]){case 1:ke.push(xt),De.push(yt.yytext),X.push(yt.yylloc),ke.push(wt[1]),xt=null,de=yt.yyleng,pe=yt.yytext,Ge=yt.yylineno,dn=yt.yylloc;break;case 2:if(Lt=this.productions_[wt[1]][1],He.$=De[De.length-Lt],He._$={first_line:X[X.length-(Lt||1)].first_line,last_line:X[X.length-1].last_line,first_column:X[X.length-(Lt||1)].first_column,last_column:X[X.length-1].last_column},vt&&(He._$.range=[X[X.length-(Lt||1)].range[0],X[X.length-1].range[1]]),At=this.performAction.apply(He,[pe,de,Ge,Mt.yy,wt[1],De,X].concat(St)),typeof At<"u")return At;Lt&&(ke=ke.slice(0,-1*Lt*2),De=De.slice(0,-1*Lt),X=X.slice(0,-1*Lt)),ke.push(this.productions_[wt[1]][0]),De.push(He.$),X.push(He._$),Ve=Re[ke[ke.length-2]][ke[ke.length-1]],ke.push(Ve);break;case 3:return!0}}return!0}},Me=function(){var ye={EOF:1,parseError:function(we,ke){if(this.yy.parser)this.yy.parser.parseError(we,ke);else throw new Error(we)},setInput:function(re,we){return this.yy=we||this.yy||{},this._input=re,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 re=this._input[0];this.yytext+=re,this.yyleng++,this.offset++,this.match+=re,this.matched+=re;var we=re.match(/(?:\r\n?|\n).*/g);return we?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),re},unput:function(re){var we=re.length,ke=re.split(/(?:\r\n?|\n)/g);this._input=re+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-we),this.offset-=we;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),ke.length-1&&(this.yylineno-=ke.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:ke?(ke.length===he.length?this.yylloc.first_column:0)+he[he.length-ke.length].length-ke[0].length:this.yylloc.first_column-we},this.options.ranges&&(this.yylloc.range=[De[0],De[0]+this.yyleng-we]),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(re){this.unput(this.match.slice(re))},pastInput:function(){var re=this.matched.substr(0,this.matched.length-this.match.length);return(re.length>20?"...":"")+re.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var re=this.match;return re.length<20&&(re+=this._input.substr(0,20-re.length)),(re.substr(0,20)+(re.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var re=this.pastInput(),we=new Array(re.length+1).join("-");return re+this.upcomingInput()+`
-`+we+"^"},test_match:function(re,we){var ke,he,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))),he=re[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+re[0].length},this.yytext+=re[0],this.match+=re[0],this.matches=re,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(re[0].length),this.matched+=re[0],ke=this.performAction.call(this,this.yy,this,we,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ke)return ke;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 re,we,ke,he;this._more||(this.yytext="",this.match="");for(var De=this._currentRules(),X=0;X<De.length;X++)if(ke=this._input.match(this.rules[De[X]]),ke&&(!we||ke[0].length>we[0].length)){if(we=ke,he=X,this.options.backtrack_lexer){if(re=this.test_match(ke,De[X]),re!==!1)return re;if(this._backtrack){we=!1;continue}else return!1}else if(!this.options.flex)break}return we?(re=this.test_match(we,De[he]),re!==!1?re:!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 we=this.next();return we||this.lex()},begin:function(we){this.conditionStack.push(we)},popState:function(){var we=this.conditionStack.length-1;return we>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(we){return we=this.conditionStack.length-1-Math.abs(we||0),we>=0?this.conditionStack[we]:"INITIAL"},pushState:function(we){this.begin(we)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(we,ke,he,De){switch(he){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:break;case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:return 10;case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 34:this.popState();break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 38:this.popState();break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:#[^\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,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};return ye}();Ee.lexer=Me;function fe(){this.yy={}}return fe.prototype=Ee,Ee.Parser=fe,new fe}();W1e.parser=W1e;const cCt=W1e,uCt=s=>s.match(/^\s*gitGraph/)!==null;let lK=Pt().gitGraph.mainBranchName,lCt=Pt().gitGraph.mainBranchOrder,f1={},sg=null,MN={};MN[lK]={name:lK,order:lCt};let Rf={};Rf[lK]=sg;let rd=lK,bIe="LR",YE=0;function Y1e(){return zDe({length:7})}const hCt=function(s,o,f){Fl.parseDirective(this,s,o,f)};function fCt(s,o){const f=Object.create(null);return s.reduce((p,w)=>{const k=o(w);return f[k]||(f[k]=!0,p.push(w)),p},[])}const dCt=function(s){bIe=s};let vIe={};const gCt=function(s){je.debug("options str",s),s=s&&s.trim(),s=s||"{}";try{vIe=JSON.parse(s)}catch(o){je.error("error while parsing gitGraph options",o.message)}},pCt=function(){return vIe},bCt=function(s,o,f,p){je.debug("Entering commit:",s,o,f,p),o=xa.sanitizeText(o,Pt()),s=xa.sanitizeText(s,Pt()),p=xa.sanitizeText(p,Pt());const w={id:o||YE+"-"+Y1e(),message:s,seq:YE++,type:f||DN.NORMAL,tag:p||"",parents:sg==null?[]:[sg.id],branch:rd};sg=w,f1[w.id]=w,Rf[rd]=w.id,je.debug("in pushCommit "+w.id)},vCt=function(s,o){if(s=xa.sanitizeText(s,Pt()),Rf[s]===void 0)Rf[s]=sg!=null?sg.id:null,MN[s]={name:s,order:o?parseInt(o,10):null},wIe(s),je.debug("in createBranch");else{let f=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 '+s+'")');throw f.hash={text:"branch "+s,token:"branch "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+s+'"']},f}},wCt=function(s,o,f,p){s=xa.sanitizeText(s,Pt()),o=xa.sanitizeText(o,Pt());const w=f1[Rf[rd]],k=f1[Rf[s]];if(rd===s){let _=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw _.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},_}else if(w===void 0||!w){let _=new Error('Incorrect usage of "merge". Current branch ('+rd+")has no commits");throw _.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},_}else if(Rf[s]===void 0){let _=new Error('Incorrect usage of "merge". Branch to be merged ('+s+") does not exist");throw _.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+s]},_}else if(k===void 0||!k){let _=new Error('Incorrect usage of "merge". Branch to be merged ('+s+") has no commits");throw _.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},_}else if(w===k){let _=new Error('Incorrect usage of "merge". Both branches have same head');throw _.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},_}else if(o&&f1[o]!==void 0){let _=new Error('Incorrect usage of "merge". Commit with id:'+o+" already exists, use different custom Id");throw _.hash={text:"merge "+s+o+f+p,token:"merge "+s+o+f+p,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+s+" "+o+"_UNIQUE "+f+" "+p]},_}const b={id:o||YE+"-"+Y1e(),message:"merged branch "+s+" into "+rd,seq:YE++,parents:[sg==null?null:sg.id,Rf[s]],branch:rd,type:DN.MERGE,customType:f,customId:!!o,tag:p||""};sg=b,f1[b.id]=b,Rf[rd]=b.id,je.debug(Rf),je.debug("in mergeBranch")},mCt=function(s,o,f){if(je.debug("Entering cherryPick:",s,o,f),s=xa.sanitizeText(s,Pt()),o=xa.sanitizeText(o,Pt()),f=xa.sanitizeText(f,Pt()),!s||f1[s]===void 0){let k=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw k.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},k}let p=f1[s],w=p.branch;if(p.type===DN.MERGE){let k=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw k.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},k}if(!o||f1[o]===void 0){if(w===rd){let _=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw _.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},_}const k=f1[Rf[rd]];if(k===void 0||!k){let _=new Error('Incorrect usage of "cherry-pick". Current branch ('+rd+")has no commits");throw _.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},_}const b={id:YE+"-"+Y1e(),message:"cherry-picked "+p+" into "+rd,seq:YE++,parents:[sg==null?null:sg.id,p.id],branch:rd,type:DN.CHERRY_PICK,tag:f??"cherry-pick:"+p.id};sg=b,f1[b.id]=b,Rf[rd]=b.id,je.debug(Rf),je.debug("in cherryPick")}},wIe=function(s){if(s=xa.sanitizeText(s,Pt()),Rf[s]===void 0){let o=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+s+'")');throw o.hash={text:"checkout "+s,token:"checkout "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+s+'"']},o}else{rd=s;const o=Rf[rd];sg=f1[o]}};function mIe(s,o,f){const p=s.indexOf(o);p===-1?s.push(f):s.splice(p,1,f)}function yIe(s){const o=s.reduce((w,k)=>w.seq>k.seq?w:k,s[0]);let f="";s.forEach(function(w){w===o?f+=" *":f+=" |"});const p=[f,o.id,o.seq];for(let w in Rf)Rf[w]===o.id&&p.push(w);if(je.debug(p.join(" ")),o.parents&&o.parents.length==2){const w=f1[o.parents[0]];mIe(s,o,w),s.push(f1[o.parents[1]])}else{if(o.parents.length==0)return;{const w=f1[o.parents];mIe(s,o,w)}}s=fCt(s,w=>w.id),yIe(s)}const yCt=function(){je.debug(f1);const s=kIe()[0];yIe([s])},kCt=function(){f1={},sg=null;let s=Pt().gitGraph.mainBranchName,o=Pt().gitGraph.mainBranchOrder;Rf={},Rf[s]=null,MN={},MN[s]={name:s,order:o},rd=s,YE=0,tp()},xCt=function(){return Object.values(MN).map((o,f)=>o.order!==null?o:{...o,order:parseFloat(`0.${f}`,10)}).sort((o,f)=>o.order-f.order).map(({name:o})=>({name:o}))},ECt=function(){return Rf},TCt=function(){return f1},kIe=function(){const s=Object.keys(f1).map(function(o){return f1[o]});return s.forEach(function(o){je.debug(o.id)}),s.sort((o,f)=>o.seq-f.seq),s},_Ct=function(){return rd},CCt=function(){return bIe},SCt=function(){return sg},DN={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ACt={parseDirective:hCt,getConfig:()=>Pt().gitGraph,setDirection:dCt,setOptions:gCt,getOptions:pCt,commit:bCt,branch:vCt,merge:wCt,cherryPick:mCt,checkout:wIe,prettyPrint:yCt,clear:kCt,getBranchesAsObjArray:xCt,getBranches:ECt,getCommits:TCt,getCommitsArray:kIe,getCurrentBranch:_Ct,getDirection:CCt,getHead:SCt,setAccTitle:np,getAccTitle:C2,getAccDescription:A2,setAccDescription:S2,setDiagramTitle:Kw,getDiagramTitle:Ww,commitType:DN};let IN={};const L2={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},XE=8;let rp={},hK={},fK=[],dK=0;const LCt=()=>{rp={},hK={},IN={},dK=0,fK=[]},MCt=s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","text");let f=[];typeof s=="string"?f=s.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(s)?f=s:f=[];for(const p of f){const w=document.createElementNS("http://www.w3.org/2000/svg","tspan");w.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),w.setAttribute("dy","1em"),w.setAttribute("x","0"),w.setAttribute("class","row"),w.textContent=p.trim(),o.appendChild(w)}return o},xIe=(s,o,f)=>{const p=LN().gitGraph,w=s.append("g").attr("class","commit-bullets"),k=s.append("g").attr("class","commit-labels");let b=0;Object.keys(o).sort((N,B)=>o[N].seq-o[B].seq).forEach(N=>{const B=o[N],F=rp[B.branch].pos,H=b+10;if(f){let j,V=B.customType!==void 0&&B.customType!==""?B.customType:B.type;switch(V){case L2.NORMAL:j="commit-normal";break;case L2.REVERSE:j="commit-reverse";break;case L2.HIGHLIGHT:j="commit-highlight";break;case L2.MERGE:j="commit-merge";break;case L2.CHERRY_PICK:j="commit-cherry-pick";break;default:j="commit-normal"}if(V===L2.HIGHLIGHT){const Z=w.append("rect");Z.attr("x",H-10),Z.attr("y",F-10),Z.attr("height",20),Z.attr("width",20),Z.attr("class",`commit ${B.id} commit-highlight${rp[B.branch].index%XE} ${j}-outer`),w.append("rect").attr("x",H-6).attr("y",F-6).attr("height",12).attr("width",12).attr("class",`commit ${B.id} commit${rp[B.branch].index%XE} ${j}-inner`)}else if(V===L2.CHERRY_PICK)w.append("circle").attr("cx",H).attr("cy",F).attr("r",10).attr("class",`commit ${B.id} ${j}`),w.append("circle").attr("cx",H-3).attr("cy",F+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${B.id} ${j}`),w.append("circle").attr("cx",H+3).attr("cy",F+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${B.id} ${j}`),w.append("line").attr("x1",H+3).attr("y1",F+1).attr("x2",H).attr("y2",F-5).attr("stroke","#fff").attr("class",`commit ${B.id} ${j}`),w.append("line").attr("x1",H-3).attr("y1",F+1).attr("x2",H).attr("y2",F-5).attr("stroke","#fff").attr("class",`commit ${B.id} ${j}`);else{const Z=w.append("circle");if(Z.attr("cx",H),Z.attr("cy",F),Z.attr("r",B.type===L2.MERGE?9:10),Z.attr("class",`commit ${B.id} commit${rp[B.branch].index%XE}`),V===L2.MERGE){const ae=w.append("circle");ae.attr("cx",H),ae.attr("cy",F),ae.attr("r",6),ae.attr("class",`commit ${j} ${B.id} commit${rp[B.branch].index%XE}`)}V===L2.REVERSE&&w.append("path").attr("d",`M ${H-5},${F-5}L${H+5},${F+5}M${H-5},${F+5}L${H+5},${F-5}`).attr("class",`commit ${j} ${B.id} commit${rp[B.branch].index%XE}`)}}if(hK[B.id]={x:b+10,y:F},f){if(B.type!==L2.CHERRY_PICK&&(B.customId&&B.type===L2.MERGE||B.type!==L2.MERGE)&&p.showCommitLabel){const Z=k.append("g"),ae=Z.insert("rect").attr("class","commit-label-bkg"),le=Z.append("text").attr("x",b).attr("y",F+25).attr("class","commit-label").text(B.id);let ce=le.node().getBBox();if(ae.attr("x",b+10-ce.width/2-2).attr("y",F+13.5).attr("width",ce.width+2*2).attr("height",ce.height+2*2),le.attr("x",b+10-ce.width/2),p.rotateCommitLabel){let be=-7.5-(ce.width+10)/25*9.5,xe=10+ce.width/25*8.5;Z.attr("transform","translate("+be+", "+xe+") rotate("+-45+", "+b+", "+F+")")}}if(B.tag){const Z=k.insert("polygon"),ae=k.append("circle"),le=k.append("text").attr("y",F-16).attr("class","tag-label").text(B.tag);let ce=le.node().getBBox();le.attr("x",b+10-ce.width/2);const be=ce.height/2,xe=F-19.2;Z.attr("class","tag-label-bkg").attr("points",`
- ${b-ce.width/2-4/2},${xe+2}
- ${b-ce.width/2-4/2},${xe-2}
- ${b+10-ce.width/2-4},${xe-be-2}
- ${b+10+ce.width/2+4},${xe-be-2}
- ${b+10+ce.width/2+4},${xe+be+2}
- ${b+10-ce.width/2-4},${xe+be+2}`),ae.attr("cx",b-ce.width/2+4/2).attr("cy",xe).attr("r",1.5).attr("class","tag-hole")}}b+=50,b>dK&&(dK=b)})},DCt=(s,o,f)=>Object.keys(f).filter(k=>f[k].branch===o.branch&&f[k].seq>s.seq&&f[k].seq<o.seq).length>0,X1e=(s,o,f=0)=>{const p=s+Math.abs(s-o)/2;if(f>5)return p;if(fK.every(b=>Math.abs(b-p)>=10))return fK.push(p),p;const k=Math.abs(s-o);return X1e(s,o-k/5,f+1)},ICt=(s,o,f,p)=>{const w=hK[o.id],k=hK[f.id],b=DCt(o,f,p);let _="",A="",N=0,B=0,F=rp[f.branch].index,H;if(b){_="A 10 10, 0, 0, 0,",A="A 10 10, 0, 0, 1,",N=10,B=10,F=rp[f.branch].index;const j=w.y<k.y?X1e(w.y,k.y):X1e(k.y,w.y);w.y<k.y?H=`M ${w.x} ${w.y} L ${w.x} ${j-N} ${_} ${w.x+B} ${j} L ${k.x-N} ${j} ${A} ${k.x} ${j+B} L ${k.x} ${k.y}`:H=`M ${w.x} ${w.y} L ${w.x} ${j+N} ${A} ${w.x+B} ${j} L ${k.x-N} ${j} ${_} ${k.x} ${j-B} L ${k.x} ${k.y}`}else w.y<k.y&&(_="A 20 20, 0, 0, 0,",N=20,B=20,F=rp[f.branch].index,H=`M ${w.x} ${w.y} L ${w.x} ${k.y-N} ${_} ${w.x+B} ${k.y} L ${k.x} ${k.y}`),w.y>k.y&&(_="A 20 20, 0, 0, 0,",N=20,B=20,F=rp[o.branch].index,H=`M ${w.x} ${w.y} L ${k.x-N} ${w.y} ${_} ${k.x} ${w.y-B} L ${k.x} ${k.y}`),w.y===k.y&&(F=rp[o.branch].index,H=`M ${w.x} ${w.y} L ${w.x} ${k.y-N} ${_} ${w.x+B} ${k.y} L ${k.x} ${k.y}`);s.append("path").attr("d",H).attr("class","arrow arrow"+F%XE)},OCt=(s,o)=>{const f=s.append("g").attr("class","commit-arrows");Object.keys(o).forEach(p=>{const w=o[p];w.parents&&w.parents.length>0&&w.parents.forEach(k=>{ICt(f,o[k],w,o)})})},NCt=(s,o)=>{const f=LN().gitGraph,p=s.append("g");o.forEach((w,k)=>{const b=k%XE,_=rp[w.name].pos,A=p.append("line");A.attr("x1",0),A.attr("y1",_),A.attr("x2",dK),A.attr("y2",_),A.attr("class","branch branch"+b),fK.push(_);let N=w.name;const B=MCt(N),F=p.insert("rect"),j=p.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+b);j.node().appendChild(B);let V=B.getBBox();F.attr("class","branchLabelBkg label"+b).attr("rx",4).attr("ry",4).attr("x",-V.width-4-(f.rotateCommitLabel===!0?30:0)).attr("y",-V.height/2+8).attr("width",V.width+18).attr("height",V.height+4),j.attr("transform","translate("+(-V.width-14-(f.rotateCommitLabel===!0?30:0))+", "+(_-V.height/2-1)+")"),F.attr("transform","translate("+-19+", "+(_-V.height/2)+")")})},PCt={draw:function(s,o,f,p){LCt();const w=LN(),k=w.gitGraph;je.debug("in gitgraph renderer",s+`
-`,"id:",o,f),IN=p.db.getCommits();const b=p.db.getBranchesAsObjArray();let _=0;b.forEach((N,B)=>{rp[N.name]={pos:_,index:B},_+=50+(k.rotateCommitLabel?40:0)});const A=sr(`[id="${o}"]`);xIe(A,IN,!1),k.showBranches&&NCt(A,b),OCt(A,IN),xIe(A,IN,!0),Pa.insertTitle(A,"gitTitleText",k.titleTopMargin,p.db.getDiagramTitle()),gIe(void 0,A,k.diagramPadding,k.useMaxWidth??w.useMaxWidth)}},BCt=s=>`
- .commit-id,
- .commit-msg,
- .branch-label {
- fill: lightgrey;
- color: lightgrey;
- font-family: 'trebuchet ms', verdana, arial, sans-serif;
- font-family: var(--mermaid-font-family);
- }
- ${[0,1,2,3,4,5,6,7].map(o=>`
- .branch-label${o} { fill: ${s["gitBranchLabel"+o]}; }
- .commit${o} { stroke: ${s["git"+o]}; fill: ${s["git"+o]}; }
- .commit-highlight${o} { stroke: ${s["gitInv"+o]}; fill: ${s["gitInv"+o]}; }
- .label${o} { fill: ${s["git"+o]}; }
- .arrow${o} { stroke: ${s["git"+o]}; }
- `).join(`
-`)}
-
- .branch {
- stroke-width: 1;
- stroke: ${s.lineColor};
- stroke-dasharray: 2;
- }
- .commit-label { font-size: ${s.commitLabelFontSize}; fill: ${s.commitLabelColor};}
- .commit-label-bkg { font-size: ${s.commitLabelFontSize}; fill: ${s.commitLabelBackground}; opacity: 0.5; }
- .tag-label { font-size: ${s.tagLabelFontSize}; fill: ${s.tagLabelColor};}
- .tag-label-bkg { fill: ${s.tagLabelBackground}; stroke: ${s.tagLabelBorder}; }
- .tag-hole { fill: ${s.textColor}; }
-
- .commit-merge {
- stroke: ${s.primaryColor};
- fill: ${s.primaryColor};
- }
- .commit-reverse {
- stroke: ${s.primaryColor};
- fill: ${s.primaryColor};
- stroke-width: 3;
- }
- .commit-highlight-outer {
- }
- .commit-highlight-inner {
- stroke: ${s.primaryColor};
- fill: ${s.primaryColor};
- }
-
- .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
- .gitTitleText {
- text-anchor: middle;
- font-size: 18px;
- fill: ${s.textColor};
- }
- }
-`;var gK=function(){var s=function(Fi,vr,wr,ni){for(wr=wr||{},ni=Fi.length;ni--;wr[Fi[ni]]=vr);return wr},o=[1,6],f=[1,7],p=[1,8],w=[1,9],k=[1,16],b=[1,11],_=[1,12],A=[1,13],N=[1,14],B=[1,15],F=[1,27],H=[1,33],j=[1,34],V=[1,35],Z=[1,36],ae=[1,37],le=[1,72],ce=[1,73],be=[1,74],xe=[1,75],Ee=[1,76],Me=[1,77],fe=[1,78],ye=[1,38],re=[1,39],we=[1,40],ke=[1,41],he=[1,42],De=[1,43],X=[1,44],Re=[1,45],pe=[1,46],Ge=[1,47],de=[1,48],ct=[1,49],bt=[1,50],St=[1,51],yt=[1,52],Mt=[1,53],nn=[1,54],dn=[1,55],vt=[1,56],Lr=[1,57],xt=[1,59],Tt=[1,60],wt=[1,61],At=[1,62],He=[1,63],Ze=[1,64],Lt=[1,65],Ve=[1,66],Mn=[1,67],Oe=[1,68],Di=[1,69],rn=[24,52],pi=[24,44,46,47,48,49,50,51,52,54,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],Fr=[15,24,44,46,47,48,49,50,51,52,54,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],tr=[1,94],Wn=[1,95],er=[1,96],Fn=[1,97],nr=[15,24,52],ha=[7,8,9,10,18,22,25,26,27,28],fa=[15,24,43,52],is=[15,24,43,52,86,87,89,90],Xi=[15,43],da=[44,46,47,48,49,50,51,54,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],Cc={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(vr,wr,ni,Yn,Gi,un,Ks){var Hn=un.length-1;switch(Gi){case 4:Yn.setDirection("TB");break;case 5:Yn.setDirection("BT");break;case 6:Yn.setDirection("RL");break;case 7:Yn.setDirection("LR");break;case 11:Yn.parseDirective("%%{","open_directive");break;case 12:break;case 13:un[Hn]=un[Hn].trim().replace(/'/g,'"'),Yn.parseDirective(un[Hn],"arg_directive");break;case 14:Yn.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:Yn.setC4Type(un[Hn-3]);break;case 26:Yn.setTitle(un[Hn].substring(6)),this.$=un[Hn].substring(6);break;case 27:Yn.setAccDescription(un[Hn].substring(15)),this.$=un[Hn].substring(15);break;case 28:this.$=un[Hn].trim(),Yn.setTitle(this.$);break;case 29:case 30:this.$=un[Hn].trim(),Yn.setAccDescription(this.$);break;case 35:case 36:un[Hn].splice(2,0,"ENTERPRISE"),Yn.addPersonOrSystemBoundary(...un[Hn]),this.$=un[Hn];break;case 37:Yn.addPersonOrSystemBoundary(...un[Hn]),this.$=un[Hn];break;case 38:un[Hn].splice(2,0,"CONTAINER"),Yn.addContainerBoundary(...un[Hn]),this.$=un[Hn];break;case 39:Yn.addDeploymentNode("node",...un[Hn]),this.$=un[Hn];break;case 40:Yn.addDeploymentNode("nodeL",...un[Hn]),this.$=un[Hn];break;case 41:Yn.addDeploymentNode("nodeR",...un[Hn]),this.$=un[Hn];break;case 42:Yn.popBoundaryParseStack();break;case 46:Yn.addPersonOrSystem("person",...un[Hn]),this.$=un[Hn];break;case 47:Yn.addPersonOrSystem("external_person",...un[Hn]),this.$=un[Hn];break;case 48:Yn.addPersonOrSystem("system",...un[Hn]),this.$=un[Hn];break;case 49:Yn.addPersonOrSystem("system_db",...un[Hn]),this.$=un[Hn];break;case 50:Yn.addPersonOrSystem("system_queue",...un[Hn]),this.$=un[Hn];break;case 51:Yn.addPersonOrSystem("external_system",...un[Hn]),this.$=un[Hn];break;case 52:Yn.addPersonOrSystem("external_system_db",...un[Hn]),this.$=un[Hn];break;case 53:Yn.addPersonOrSystem("external_system_queue",...un[Hn]),this.$=un[Hn];break;case 54:Yn.addContainer("container",...un[Hn]),this.$=un[Hn];break;case 55:Yn.addContainer("container_db",...un[Hn]),this.$=un[Hn];break;case 56:Yn.addContainer("container_queue",...un[Hn]),this.$=un[Hn];break;case 57:Yn.addContainer("external_container",...un[Hn]),this.$=un[Hn];break;case 58:Yn.addContainer("external_container_db",...un[Hn]),this.$=un[Hn];break;case 59:Yn.addContainer("external_container_queue",...un[Hn]),this.$=un[Hn];break;case 60:Yn.addComponent("component",...un[Hn]),this.$=un[Hn];break;case 61:Yn.addComponent("component_db",...un[Hn]),this.$=un[Hn];break;case 62:Yn.addComponent("component_queue",...un[Hn]),this.$=un[Hn];break;case 63:Yn.addComponent("external_component",...un[Hn]),this.$=un[Hn];break;case 64:Yn.addComponent("external_component_db",...un[Hn]),this.$=un[Hn];break;case 65:Yn.addComponent("external_component_queue",...un[Hn]),this.$=un[Hn];break;case 67:Yn.addRel("rel",...un[Hn]),this.$=un[Hn];break;case 68:Yn.addRel("birel",...un[Hn]),this.$=un[Hn];break;case 69:Yn.addRel("rel_u",...un[Hn]),this.$=un[Hn];break;case 70:Yn.addRel("rel_d",...un[Hn]),this.$=un[Hn];break;case 71:Yn.addRel("rel_l",...un[Hn]),this.$=un[Hn];break;case 72:Yn.addRel("rel_r",...un[Hn]),this.$=un[Hn];break;case 73:Yn.addRel("rel_b",...un[Hn]),this.$=un[Hn];break;case 74:un[Hn].splice(0,1),Yn.addRel("rel",...un[Hn]),this.$=un[Hn];break;case 75:Yn.updateElStyle("update_el_style",...un[Hn]),this.$=un[Hn];break;case 76:Yn.updateRelStyle("update_rel_style",...un[Hn]),this.$=un[Hn];break;case 77:Yn.updateLayoutConfig("update_layout_config",...un[Hn]),this.$=un[Hn];break;case 78:this.$=[un[Hn]];break;case 79:un[Hn].unshift(un[Hn-1]),this.$=un[Hn];break;case 80:case 82:this.$=un[Hn].trim();break;case 81:let Ms={};Ms[un[Hn-1].trim()]=un[Hn].trim(),this.$=Ms;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:o,8:f,9:p,10:w,11:5,12:10,18:k,22:b,25:_,26:A,27:N,28:B},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:o,8:f,9:p,10:w,11:5,12:10,18:k,22:b,25:_,26:A,27:N,28:B},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:F},s([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:H,33:j,34:V,36:Z,38:ae,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{23:79,29:29,30:30,31:31,32:H,33:j,34:V,36:Z,38:ae,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{23:80,29:29,30:30,31:31,32:H,33:j,34:V,36:Z,38:ae,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{23:81,29:29,30:30,31:31,32:H,33:j,34:V,36:Z,38:ae,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{23:82,29:29,30:30,31:31,32:H,33:j,34:V,36:Z,38:ae,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},s(rn,[2,20],{53:32,39:58,40:70,42:71,30:87,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di}),s(rn,[2,21]),s(pi,[2,23],{15:[1,88]}),s(rn,[2,43],{15:[1,89]}),s(Fr,[2,26]),s(Fr,[2,27]),{35:[1,90]},{37:[1,91]},s(Fr,[2,30]),{45:92,85:93,86:tr,87:Wn,89:er,90:Fn},{45:98,85:93,86:tr,87:Wn,89:er,90:Fn},{45:99,85:93,86:tr,87:Wn,89:er,90:Fn},{45:100,85:93,86:tr,87:Wn,89:er,90:Fn},{45:101,85:93,86:tr,87:Wn,89:er,90:Fn},{45:102,85:93,86:tr,87:Wn,89:er,90:Fn},{45:103,85:93,86:tr,87:Wn,89:er,90:Fn},{45:104,85:93,86:tr,87:Wn,89:er,90:Fn},{45:105,85:93,86:tr,87:Wn,89:er,90:Fn},{45:106,85:93,86:tr,87:Wn,89:er,90:Fn},{45:107,85:93,86:tr,87:Wn,89:er,90:Fn},{45:108,85:93,86:tr,87:Wn,89:er,90:Fn},{45:109,85:93,86:tr,87:Wn,89:er,90:Fn},{45:110,85:93,86:tr,87:Wn,89:er,90:Fn},{45:111,85:93,86:tr,87:Wn,89:er,90:Fn},{45:112,85:93,86:tr,87:Wn,89:er,90:Fn},{45:113,85:93,86:tr,87:Wn,89:er,90:Fn},{45:114,85:93,86:tr,87:Wn,89:er,90:Fn},{45:115,85:93,86:tr,87:Wn,89:er,90:Fn},{45:116,85:93,86:tr,87:Wn,89:er,90:Fn},s(nr,[2,66]),{45:117,85:93,86:tr,87:Wn,89:er,90:Fn},{45:118,85:93,86:tr,87:Wn,89:er,90:Fn},{45:119,85:93,86:tr,87:Wn,89:er,90:Fn},{45:120,85:93,86:tr,87:Wn,89:er,90:Fn},{45:121,85:93,86:tr,87:Wn,89:er,90:Fn},{45:122,85:93,86:tr,87:Wn,89:er,90:Fn},{45:123,85:93,86:tr,87:Wn,89:er,90:Fn},{45:124,85:93,86:tr,87:Wn,89:er,90:Fn},{45:125,85:93,86:tr,87:Wn,89:er,90:Fn},{45:126,85:93,86:tr,87:Wn,89:er,90:Fn},{45:127,85:93,86:tr,87:Wn,89:er,90:Fn},{30:128,39:58,40:70,42:71,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,53:32,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di},{15:[1,130],43:[1,129]},{45:131,85:93,86:tr,87:Wn,89:er,90:Fn},{45:132,85:93,86:tr,87:Wn,89:er,90:Fn},{45:133,85:93,86:tr,87:Wn,89:er,90:Fn},{45:134,85:93,86:tr,87:Wn,89:er,90:Fn},{45:135,85:93,86:tr,87:Wn,89:er,90:Fn},{45:136,85:93,86:tr,87:Wn,89:er,90:Fn},{45:137,85:93,86:tr,87:Wn,89:er,90:Fn},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},s(ha,[2,9]),{14:142,21:F},{21:[2,13]},{1:[2,15]},s(rn,[2,22]),s(pi,[2,24],{31:31,29:143,32:H,33:j,34:V,36:Z,38:ae}),s(rn,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:H,33:j,34:V,36:Z,38:ae,44:le,46:ce,47:be,48:xe,49:Ee,50:Me,51:fe,54:ye,55:re,56:we,57:ke,58:he,59:De,60:X,61:Re,62:pe,63:Ge,64:de,65:ct,66:bt,67:St,68:yt,69:Mt,70:nn,71:dn,72:vt,73:Lr,74:xt,75:Tt,76:wt,77:At,78:He,79:Ze,80:Lt,81:Ve,82:Mn,83:Oe,84:Di}),s(Fr,[2,28]),s(Fr,[2,29]),s(nr,[2,46]),s(fa,[2,78],{85:93,45:145,86:tr,87:Wn,89:er,90:Fn}),s(is,[2,80]),{88:[1,146]},s(is,[2,82]),s(is,[2,83]),s(nr,[2,47]),s(nr,[2,48]),s(nr,[2,49]),s(nr,[2,50]),s(nr,[2,51]),s(nr,[2,52]),s(nr,[2,53]),s(nr,[2,54]),s(nr,[2,55]),s(nr,[2,56]),s(nr,[2,57]),s(nr,[2,58]),s(nr,[2,59]),s(nr,[2,60]),s(nr,[2,61]),s(nr,[2,62]),s(nr,[2,63]),s(nr,[2,64]),s(nr,[2,65]),s(nr,[2,67]),s(nr,[2,68]),s(nr,[2,69]),s(nr,[2,70]),s(nr,[2,71]),s(nr,[2,72]),s(nr,[2,73]),s(nr,[2,74]),s(nr,[2,75]),s(nr,[2,76]),s(nr,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},s(Xi,[2,35]),s(Xi,[2,36]),s(Xi,[2,37]),s(Xi,[2,38]),s(Xi,[2,39]),s(Xi,[2,40]),s(Xi,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},s(pi,[2,25]),s(rn,[2,45]),s(fa,[2,79]),s(is,[2,81]),s(nr,[2,31]),s(nr,[2,42]),s(da,[2,32]),s(da,[2,33],{15:[1,152]}),s(ha,[2,10]),s(da,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(vr,wr){if(wr.recoverable)this.trace(vr);else{var ni=new Error(vr);throw ni.hash=wr,ni}},parse:function(vr){var wr=this,ni=[0],Yn=[],Gi=[null],un=[],Ks=this.table,Hn="",Ms=0,Ea=0,Va=2,Ba=1,Ta=un.slice.call(arguments,1),ss=Object.create(this.lexer),Zs={yy:{}};for(var Fa in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fa)&&(Zs.yy[Fa]=this.yy[Fa]);ss.setInput(vr,Zs.yy),Zs.yy.lexer=ss,Zs.yy.parser=this,typeof ss.yylloc>"u"&&(ss.yylloc={});var $s=ss.yylloc;un.push($s);var ap=ss.options&&ss.options.ranges;typeof Zs.yy.parseError=="function"?this.parseError=Zs.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Xb(){var $t;return $t=Yn.pop()||ss.lex()||Ba,typeof $t!="number"&&($t instanceof Array&&(Yn=$t,$t=Yn.pop()),$t=wr.symbols_[$t]||$t),$t}for(var bu,ra,Ju,lf,el={},Rl,vu,Mh,ah;;){if(ra=ni[ni.length-1],this.defaultActions[ra]?Ju=this.defaultActions[ra]:((bu===null||typeof bu>"u")&&(bu=Xb()),Ju=Ks[ra]&&Ks[ra][bu]),typeof Ju>"u"||!Ju.length||!Ju[0]){var Ai="";ah=[];for(Rl in Ks[ra])this.terminals_[Rl]&&Rl>Va&&ah.push("'"+this.terminals_[Rl]+"'");ss.showPosition?Ai="Parse error on line "+(Ms+1)+`:
-`+ss.showPosition()+`
-Expecting `+ah.join(", ")+", got '"+(this.terminals_[bu]||bu)+"'":Ai="Parse error on line "+(Ms+1)+": Unexpected "+(bu==Ba?"end of input":"'"+(this.terminals_[bu]||bu)+"'"),this.parseError(Ai,{text:ss.match,token:this.terminals_[bu]||bu,line:ss.yylineno,loc:$s,expected:ah})}if(Ju[0]instanceof Array&&Ju.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ra+", token: "+bu);switch(Ju[0]){case 1:ni.push(bu),Gi.push(ss.yytext),un.push(ss.yylloc),ni.push(Ju[1]),bu=null,Ea=ss.yyleng,Hn=ss.yytext,Ms=ss.yylineno,$s=ss.yylloc;break;case 2:if(vu=this.productions_[Ju[1]][1],el.$=Gi[Gi.length-vu],el._$={first_line:un[un.length-(vu||1)].first_line,last_line:un[un.length-1].last_line,first_column:un[un.length-(vu||1)].first_column,last_column:un[un.length-1].last_column},ap&&(el._$.range=[un[un.length-(vu||1)].range[0],un[un.length-1].range[1]]),lf=this.performAction.apply(el,[Hn,Ea,Ms,Zs.yy,Ju[1],Gi,un].concat(Ta)),typeof lf<"u")return lf;vu&&(ni=ni.slice(0,-1*vu*2),Gi=Gi.slice(0,-1*vu),un=un.slice(0,-1*vu)),ni.push(this.productions_[Ju[1]][0]),Gi.push(el.$),un.push(el._$),Mh=Ks[ni[ni.length-2]][ni[ni.length-1]],ni.push(Mh);break;case 3:return!0}}return!0}},na=function(){var Fi={EOF:1,parseError:function(wr,ni){if(this.yy.parser)this.yy.parser.parseError(wr,ni);else throw new Error(wr)},setInput:function(vr,wr){return this.yy=wr||this.yy||{},this._input=vr,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 vr=this._input[0];this.yytext+=vr,this.yyleng++,this.offset++,this.match+=vr,this.matched+=vr;var wr=vr.match(/(?:\r\n?|\n).*/g);return wr?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),vr},unput:function(vr){var wr=vr.length,ni=vr.split(/(?:\r\n?|\n)/g);this._input=vr+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-wr),this.offset-=wr;var Yn=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),ni.length-1&&(this.yylineno-=ni.length-1);var Gi=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:ni?(ni.length===Yn.length?this.yylloc.first_column:0)+Yn[Yn.length-ni.length].length-ni[0].length:this.yylloc.first_column-wr},this.options.ranges&&(this.yylloc.range=[Gi[0],Gi[0]+this.yyleng-wr]),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(vr){this.unput(this.match.slice(vr))},pastInput:function(){var vr=this.matched.substr(0,this.matched.length-this.match.length);return(vr.length>20?"...":"")+vr.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var vr=this.match;return vr.length<20&&(vr+=this._input.substr(0,20-vr.length)),(vr.substr(0,20)+(vr.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var vr=this.pastInput(),wr=new Array(vr.length+1).join("-");return vr+this.upcomingInput()+`
-`+wr+"^"},test_match:function(vr,wr){var ni,Yn,Gi;if(this.options.backtrack_lexer&&(Gi={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&&(Gi.yylloc.range=this.yylloc.range.slice(0))),Yn=vr[0].match(/(?:\r\n?|\n).*/g),Yn&&(this.yylineno+=Yn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Yn?Yn[Yn.length-1].length-Yn[Yn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+vr[0].length},this.yytext+=vr[0],this.match+=vr[0],this.matches=vr,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(vr[0].length),this.matched+=vr[0],ni=this.performAction.call(this,this.yy,this,wr,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ni)return ni;if(this._backtrack){for(var un in Gi)this[un]=Gi[un];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var vr,wr,ni,Yn;this._more||(this.yytext="",this.match="");for(var Gi=this._currentRules(),un=0;un<Gi.length;un++)if(ni=this._input.match(this.rules[Gi[un]]),ni&&(!wr||ni[0].length>wr[0].length)){if(wr=ni,Yn=un,this.options.backtrack_lexer){if(vr=this.test_match(ni,Gi[un]),vr!==!1)return vr;if(this._backtrack){wr=!1;continue}else return!1}else if(!this.options.flex)break}return wr?(vr=this.test_match(wr,Gi[Yn]),vr!==!1?vr:!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 wr=this.next();return wr||this.lex()},begin:function(wr){this.conditionStack.push(wr)},popState:function(){var wr=this.conditionStack.length-1;return wr>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(wr){return wr=this.conditionStack.length-1-Math.abs(wr||0),wr>=0?this.conditionStack[wr]:"INITIAL"},pushState:function(wr){this.begin(wr)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(wr,ni,Yn,Gi){switch(Yn){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:break;case 19:c;break;case 20:return 15;case 21:break;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:return this.begin("node"),49;case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:return this.begin("rel_u"),76;case 58:return this.begin("rel_u"),76;case 59:return this.begin("rel_d"),77;case 60:return this.begin("rel_d"),77;case 61:return this.begin("rel_l"),78;case 62:return this.begin("rel_l"),78;case 63:return this.begin("rel_r"),79;case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:this.popState(),this.popState();break;case 74:return 90;case 75:break;case 76:return 90;case 77:this.begin("string");break;case 78:this.popState();break;case 79:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 84:this.popState(),this.popState();break;case 85:return"STR";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,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,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};return Fi}();Cc.lexer=na;function Ji(){this.yy={}}return Ji.prototype=Cc,Cc.Parser=Ji,new Ji}();gK.parser=gK;const FCt=gK,RCt=s=>s.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/)!==null;let Yw=[],Zk=[""],ag="global",Xw="",r3=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],ON=[],Q1e="",Z1e=!1,pK=4,bK=2;var EIe;const jCt=function(){return EIe},$Ct=function(s){EIe=T2(s,Pt())},HCt=function(s,o,f){Fl.parseDirective(this,s,o,f)},zCt=function(s,o,f,p,w,k,b,_,A){if(s==null||o===void 0||o===null||f===void 0||f===null||p===void 0||p===null)return;let N={};const B=ON.find(F=>F.from===o&&F.to===f);if(B?N=B:ON.push(N),N.type=s,N.from=o,N.to=f,N.label={text:p},w==null)N.techn={text:""};else if(typeof w=="object"){let[F,H]=Object.entries(w)[0];N[F]={text:H}}else N.techn={text:w};if(k==null)N.descr={text:""};else if(typeof k=="object"){let[F,H]=Object.entries(k)[0];N[F]={text:H}}else N.descr={text:k};if(typeof b=="object"){let[F,H]=Object.entries(b)[0];N[F]=H}else N.sprite=b;if(typeof _=="object"){let[F,H]=Object.entries(_)[0];N[F]=H}else N.tags=_;if(typeof A=="object"){let[F,H]=Object.entries(A)[0];N[F]=H}else N.link=A;N.wrap=Jk()},GCt=function(s,o,f,p,w,k,b){if(o===null||f===null)return;let _={};const A=Yw.find(N=>N.alias===o);if(A&&o===A.alias?_=A:(_.alias=o,Yw.push(_)),f==null?_.label={text:""}:_.label={text:f},p==null)_.descr={text:""};else if(typeof p=="object"){let[N,B]=Object.entries(p)[0];_[N]={text:B}}else _.descr={text:p};if(typeof w=="object"){let[N,B]=Object.entries(w)[0];_[N]=B}else _.sprite=w;if(typeof k=="object"){let[N,B]=Object.entries(k)[0];_[N]=B}else _.tags=k;if(typeof b=="object"){let[N,B]=Object.entries(b)[0];_[N]=B}else _.link=b;_.typeC4Shape={text:s},_.parentBoundary=ag,_.wrap=Jk()},qCt=function(s,o,f,p,w,k,b,_){if(o===null||f===null)return;let A={};const N=Yw.find(B=>B.alias===o);if(N&&o===N.alias?A=N:(A.alias=o,Yw.push(A)),f==null?A.label={text:""}:A.label={text:f},p==null)A.techn={text:""};else if(typeof p=="object"){let[B,F]=Object.entries(p)[0];A[B]={text:F}}else A.techn={text:p};if(w==null)A.descr={text:""};else if(typeof w=="object"){let[B,F]=Object.entries(w)[0];A[B]={text:F}}else A.descr={text:w};if(typeof k=="object"){let[B,F]=Object.entries(k)[0];A[B]=F}else A.sprite=k;if(typeof b=="object"){let[B,F]=Object.entries(b)[0];A[B]=F}else A.tags=b;if(typeof _=="object"){let[B,F]=Object.entries(_)[0];A[B]=F}else A.link=_;A.wrap=Jk(),A.typeC4Shape={text:s},A.parentBoundary=ag},VCt=function(s,o,f,p,w,k,b,_){if(o===null||f===null)return;let A={};const N=Yw.find(B=>B.alias===o);if(N&&o===N.alias?A=N:(A.alias=o,Yw.push(A)),f==null?A.label={text:""}:A.label={text:f},p==null)A.techn={text:""};else if(typeof p=="object"){let[B,F]=Object.entries(p)[0];A[B]={text:F}}else A.techn={text:p};if(w==null)A.descr={text:""};else if(typeof w=="object"){let[B,F]=Object.entries(w)[0];A[B]={text:F}}else A.descr={text:w};if(typeof k=="object"){let[B,F]=Object.entries(k)[0];A[B]=F}else A.sprite=k;if(typeof b=="object"){let[B,F]=Object.entries(b)[0];A[B]=F}else A.tags=b;if(typeof _=="object"){let[B,F]=Object.entries(_)[0];A[B]=F}else A.link=_;A.wrap=Jk(),A.typeC4Shape={text:s},A.parentBoundary=ag},UCt=function(s,o,f,p,w){if(s===null||o===null)return;let k={};const b=r3.find(_=>_.alias===s);if(b&&s===b.alias?k=b:(k.alias=s,r3.push(k)),o==null?k.label={text:""}:k.label={text:o},f==null)k.type={text:"system"};else if(typeof f=="object"){let[_,A]=Object.entries(f)[0];k[_]={text:A}}else k.type={text:f};if(typeof p=="object"){let[_,A]=Object.entries(p)[0];k[_]=A}else k.tags=p;if(typeof w=="object"){let[_,A]=Object.entries(w)[0];k[_]=A}else k.link=w;k.parentBoundary=ag,k.wrap=Jk(),Xw=ag,ag=s,Zk.push(Xw)},KCt=function(s,o,f,p,w){if(s===null||o===null)return;let k={};const b=r3.find(_=>_.alias===s);if(b&&s===b.alias?k=b:(k.alias=s,r3.push(k)),o==null?k.label={text:""}:k.label={text:o},f==null)k.type={text:"container"};else if(typeof f=="object"){let[_,A]=Object.entries(f)[0];k[_]={text:A}}else k.type={text:f};if(typeof p=="object"){let[_,A]=Object.entries(p)[0];k[_]=A}else k.tags=p;if(typeof w=="object"){let[_,A]=Object.entries(w)[0];k[_]=A}else k.link=w;k.parentBoundary=ag,k.wrap=Jk(),Xw=ag,ag=s,Zk.push(Xw)},WCt=function(s,o,f,p,w,k,b,_){if(o===null||f===null)return;let A={};const N=r3.find(B=>B.alias===o);if(N&&o===N.alias?A=N:(A.alias=o,r3.push(A)),f==null?A.label={text:""}:A.label={text:f},p==null)A.type={text:"node"};else if(typeof p=="object"){let[B,F]=Object.entries(p)[0];A[B]={text:F}}else A.type={text:p};if(w==null)A.descr={text:""};else if(typeof w=="object"){let[B,F]=Object.entries(w)[0];A[B]={text:F}}else A.descr={text:w};if(typeof b=="object"){let[B,F]=Object.entries(b)[0];A[B]=F}else A.tags=b;if(typeof _=="object"){let[B,F]=Object.entries(_)[0];A[B]=F}else A.link=_;A.nodeType=s,A.parentBoundary=ag,A.wrap=Jk(),Xw=ag,ag=o,Zk.push(Xw)},YCt=function(){ag=Xw,Zk.pop(),Xw=Zk.pop(),Zk.push(Xw)},XCt=function(s,o,f,p,w,k,b,_,A,N,B){let F=Yw.find(H=>H.alias===o);if(!(F===void 0&&(F=r3.find(H=>H.alias===o),F===void 0))){if(f!=null)if(typeof f=="object"){let[H,j]=Object.entries(f)[0];F[H]=j}else F.bgColor=f;if(p!=null)if(typeof p=="object"){let[H,j]=Object.entries(p)[0];F[H]=j}else F.fontColor=p;if(w!=null)if(typeof w=="object"){let[H,j]=Object.entries(w)[0];F[H]=j}else F.borderColor=w;if(k!=null)if(typeof k=="object"){let[H,j]=Object.entries(k)[0];F[H]=j}else F.shadowing=k;if(b!=null)if(typeof b=="object"){let[H,j]=Object.entries(b)[0];F[H]=j}else F.shape=b;if(_!=null)if(typeof _=="object"){let[H,j]=Object.entries(_)[0];F[H]=j}else F.sprite=_;if(A!=null)if(typeof A=="object"){let[H,j]=Object.entries(A)[0];F[H]=j}else F.techn=A;if(N!=null)if(typeof N=="object"){let[H,j]=Object.entries(N)[0];F[H]=j}else F.legendText=N;if(B!=null)if(typeof B=="object"){let[H,j]=Object.entries(B)[0];F[H]=j}else F.legendSprite=B}},QCt=function(s,o,f,p,w,k,b){const _=ON.find(A=>A.from===o&&A.to===f);if(_!==void 0){if(p!=null)if(typeof p=="object"){let[A,N]=Object.entries(p)[0];_[A]=N}else _.textColor=p;if(w!=null)if(typeof w=="object"){let[A,N]=Object.entries(w)[0];_[A]=N}else _.lineColor=w;if(k!=null)if(typeof k=="object"){let[A,N]=Object.entries(k)[0];_[A]=parseInt(N)}else _.offsetX=parseInt(k);if(b!=null)if(typeof b=="object"){let[A,N]=Object.entries(b)[0];_[A]=parseInt(N)}else _.offsetY=parseInt(b)}},ZCt=function(s,o,f){let p=pK,w=bK;if(typeof o=="object"){const k=Object.values(o)[0];p=parseInt(k)}else p=parseInt(o);if(typeof f=="object"){const k=Object.values(f)[0];w=parseInt(k)}else w=parseInt(f);p>=1&&(pK=p),w>=1&&(bK=w)},JCt=function(){return pK},eSt=function(){return bK},tSt=function(){return ag},nSt=function(){return Xw},TIe=function(s){return s==null?Yw:Yw.filter(o=>o.parentBoundary===s)},rSt=function(s){return Yw.find(o=>o.alias===s)},iSt=function(s){return Object.keys(TIe(s))},sSt=function(s){return s==null?r3:r3.filter(o=>o.parentBoundary===s)},aSt=function(){return ON},oSt=function(){return Q1e},cSt=function(s){Z1e=s},Jk=function(){return Z1e},_Ie={addPersonOrSystem:GCt,addPersonOrSystemBoundary:UCt,addContainer:qCt,addContainerBoundary:KCt,addComponent:VCt,addDeploymentNode:WCt,popBoundaryParseStack:YCt,addRel:zCt,updateElStyle:XCt,updateRelStyle:QCt,updateLayoutConfig:ZCt,autoWrap:Jk,setWrap:cSt,getC4ShapeArray:TIe,getC4Shape:rSt,getC4ShapeKeys:iSt,getBoundarys:sSt,getCurrentBoundaryParse:tSt,getParentBoundaryParse:nSt,getRels:aSt,getTitle:oSt,getC4Type:jCt,getC4ShapeInRow:JCt,getC4BoundaryInRow:eSt,setAccTitle:np,getAccTitle:C2,getAccDescription:A2,setAccDescription:S2,parseDirective:HCt,getConfig:()=>Pt().c4,clear:function(){Yw=[],r3=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Xw="",ag="global",Zk=[""],ON=[],Zk=[""],Q1e="",Z1e=!1,pK=4,bK=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(s){Q1e=T2(s,Pt())},setC4Type:$Ct},J1e=function(s,o){const f=s.append("rect");if(f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.attrs!=="undefined"&&o.attrs!==null)for(let p in o.attrs)f.attr(p,o.attrs[p]);return o.class!=="undefined"&&f.attr("class",o.class),f},CIe=function(s,o,f,p,w,k){const b=s.append("image");b.attr("width",o),b.attr("height",f),b.attr("x",p),b.attr("y",w);let _=k.startsWith("data:image/png;base64")?k:a5(k);b.attr("xlink:href",_)},uSt=(s,o,f)=>{const p=s.append("g");let w=0;for(let k of o){let b=k.textColor?k.textColor:"#444444",_=k.lineColor?k.lineColor:"#444444",A=k.offsetX?parseInt(k.offsetX):0,N=k.offsetY?parseInt(k.offsetY):0,B="";if(w===0){let H=p.append("line");H.attr("x1",k.startPoint.x),H.attr("y1",k.startPoint.y),H.attr("x2",k.endPoint.x),H.attr("y2",k.endPoint.y),H.attr("stroke-width","1"),H.attr("stroke",_),H.style("fill","none"),k.type!=="rel_b"&&H.attr("marker-end","url("+B+"#arrowhead)"),(k.type==="birel"||k.type==="rel_b")&&H.attr("marker-start","url("+B+"#arrowend)"),w=-1}else{let H=p.append("path");H.attr("fill","none").attr("stroke-width","1").attr("stroke",_).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",k.startPoint.x).replaceAll("starty",k.startPoint.y).replaceAll("controlx",k.startPoint.x+(k.endPoint.x-k.startPoint.x)/2-(k.endPoint.x-k.startPoint.x)/4).replaceAll("controly",k.startPoint.y+(k.endPoint.y-k.startPoint.y)/2).replaceAll("stopx",k.endPoint.x).replaceAll("stopy",k.endPoint.y)),k.type!=="rel_b"&&H.attr("marker-end","url("+B+"#arrowhead)"),(k.type==="birel"||k.type==="rel_b")&&H.attr("marker-start","url("+B+"#arrowend)")}let F=f.messageFont();b5(f)(k.label.text,p,Math.min(k.startPoint.x,k.endPoint.x)+Math.abs(k.endPoint.x-k.startPoint.x)/2+A,Math.min(k.startPoint.y,k.endPoint.y)+Math.abs(k.endPoint.y-k.startPoint.y)/2+N,k.label.width,k.label.height,{fill:b},F),k.techn&&k.techn.text!==""&&(F=f.messageFont(),b5(f)("["+k.techn.text+"]",p,Math.min(k.startPoint.x,k.endPoint.x)+Math.abs(k.endPoint.x-k.startPoint.x)/2+A,Math.min(k.startPoint.y,k.endPoint.y)+Math.abs(k.endPoint.y-k.startPoint.y)/2+f.messageFontSize+5+N,Math.max(k.label.width,k.techn.width),k.techn.height,{fill:b,"font-style":"italic"},F))}},lSt=function(s,o,f){const p=s.append("g");let w=o.bgColor?o.bgColor:"none",k=o.borderColor?o.borderColor:"#444444",b=o.fontColor?o.fontColor:"black",_={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};o.nodeType&&(_={"stroke-width":1});let A={x:o.x,y:o.y,fill:w,stroke:k,width:o.width,height:o.height,rx:2.5,ry:2.5,attrs:_};J1e(p,A);let N=f.boundaryFont();N.fontWeight="bold",N.fontSize=N.fontSize+2,N.fontColor=b,b5(f)(o.label.text,p,o.x,o.y+o.label.Y,o.width,o.height,{fill:"#444444"},N),o.type&&o.type.text!==""&&(N=f.boundaryFont(),N.fontColor=b,b5(f)(o.type.text,p,o.x,o.y+o.type.Y,o.width,o.height,{fill:"#444444"},N)),o.descr&&o.descr.text!==""&&(N=f.boundaryFont(),N.fontSize=N.fontSize-2,N.fontColor=b,b5(f)(o.descr.text,p,o.x,o.y+o.descr.Y,o.width,o.height,{fill:"#444444"},N))},hSt=function(s,o,f){var F;let p=o.bgColor?o.bgColor:f[o.typeC4Shape.text+"_bg_color"],w=o.borderColor?o.borderColor:f[o.typeC4Shape.text+"_border_color"],k=o.fontColor?o.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(o.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 _=s.append("g");_.attr("class","person-man");const A=SIe();switch(o.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":A.x=o.x,A.y=o.y,A.fill=p,A.width=o.width,A.height=o.height,A.stroke=w,A.rx=2.5,A.ry=2.5,A.attrs={"stroke-width":.5},J1e(_,A);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":_.append("path").attr("fill",p).attr("stroke-width","0.5").attr("stroke",w).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",o.x).replaceAll("starty",o.y).replaceAll("half",o.width/2).replaceAll("height",o.height)),_.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",w).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",o.x).replaceAll("starty",o.y).replaceAll("half",o.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":_.append("path").attr("fill",p).attr("stroke-width","0.5").attr("stroke",w).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",o.x).replaceAll("starty",o.y).replaceAll("width",o.width).replaceAll("half",o.height/2)),_.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",w).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",o.x+o.width).replaceAll("starty",o.y).replaceAll("half",o.height/2));break}let N=ySt(f,o.typeC4Shape.text);switch(_.append("text").attr("fill",k).attr("font-family",N.fontFamily).attr("font-size",N.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",o.typeC4Shape.width).attr("x",o.x+o.width/2-o.typeC4Shape.width/2).attr("y",o.y+o.typeC4Shape.Y).text("<<"+o.typeC4Shape.text+">>"),o.typeC4Shape.text){case"person":case"external_person":CIe(_,48,48,o.x+o.width/2-24,o.y+o.image.Y,b);break}let B=f[o.typeC4Shape.text+"Font"]();return B.fontWeight="bold",B.fontSize=B.fontSize+2,B.fontColor=k,b5(f)(o.label.text,_,o.x,o.y+o.label.Y,o.width,o.height,{fill:k},B),B=f[o.typeC4Shape.text+"Font"](),B.fontColor=k,o.techn&&((F=o.techn)==null?void 0:F.text)!==""?b5(f)(o.techn.text,_,o.x,o.y+o.techn.Y,o.width,o.height,{fill:k,"font-style":"italic"},B):o.type&&o.type.text!==""&&b5(f)(o.type.text,_,o.x,o.y+o.type.Y,o.width,o.height,{fill:k,"font-style":"italic"},B),o.descr&&o.descr.text!==""&&(B=f.personFont(),B.fontColor=k,b5(f)(o.descr.text,_,o.x,o.y+o.descr.Y,o.width,o.height,{fill:k},B)),o.height},fSt=function(s){s.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")},dSt=function(s){s.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")},gSt=function(s){s.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")},pSt=function(s){s.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")},bSt=function(s){s.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")},vSt=function(s){s.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")},wSt=function(s){s.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)},mSt=function(s){const f=s.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);f.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"),f.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")},SIe=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},ySt=(s,o)=>({fontFamily:s[o+"FontFamily"],fontSize:s[o+"FontSize"],fontWeight:s[o+"FontWeight"]}),b5=function(){function s(w,k,b,_,A,N,B){const F=k.append("text").attr("x",b+A/2).attr("y",_+N/2+5).style("text-anchor","middle").text(w);p(F,B)}function o(w,k,b,_,A,N,B,F){const{fontSize:H,fontFamily:j,fontWeight:V}=F,Z=w.split(xa.lineBreakRegex);for(let ae=0;ae<Z.length;ae++){const le=ae*H-H*(Z.length-1)/2,ce=k.append("text").attr("x",b+A/2).attr("y",_).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",H).style("font-weight",V).style("font-family",j);ce.append("tspan").attr("dy",le).text(Z[ae]).attr("alignment-baseline","mathematical"),p(ce,B)}}function f(w,k,b,_,A,N,B,F){const H=k.append("switch"),V=H.append("foreignObject").attr("x",b).attr("y",_).attr("width",A).attr("height",N).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),o(w,H,b,_,A,N,B,F),p(V,B)}function p(w,k){for(const b in k)k.hasOwnProperty(b)&&w.attr(b,k[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?s:o}}(),i3={drawRect:J1e,drawBoundary:lSt,drawC4Shape:hSt,drawRels:uSt,drawImage:CIe,insertArrowHead:pSt,insertArrowEnd:bSt,insertArrowFilledHead:vSt,insertDynamicNumber:wSt,insertArrowCrossHead:mSt,insertDatabaseIcon:fSt,insertComputerIcon:dSt,insertClockIcon:gSt,getNoteRect:SIe,sanitizeUrl:a5};let vK=0,wK=0,AIe=4,ede=2;gK.yy=_Ie;let xs={};class LIe{constructor(o){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,tde(o.db.getConfig())}setData(o,f,p,w){this.nextData.startx=this.data.startx=o,this.nextData.stopx=this.data.stopx=f,this.nextData.starty=this.data.starty=p,this.nextData.stopy=this.data.stopy=w}updateVal(o,f,p,w){o[f]===void 0?o[f]=p:o[f]=w(p,o[f])}insert(o){this.nextData.cnt=this.nextData.cnt+1;let f=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+o.margin:this.nextData.stopx+o.margin*2,p=f+o.width,w=this.nextData.starty+o.margin*2,k=w+o.height;(f>=this.data.widthLimit||p>=this.data.widthLimit||this.nextData.cnt>AIe)&&(f=this.nextData.startx+o.margin+xs.nextLinePaddingX,w=this.nextData.stopy+o.margin*2,this.nextData.stopx=p=f+o.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=k=w+o.height,this.nextData.cnt=1),o.x=f,o.y=w,this.updateVal(this.data,"startx",f,Math.min),this.updateVal(this.data,"starty",w,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",k,Math.max),this.updateVal(this.nextData,"startx",f,Math.min),this.updateVal(this.nextData,"starty",w,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",k,Math.max)}init(o){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},tde(o.db.getConfig())}bumpLastMargin(o){this.data.stopx+=o,this.data.stopy+=o}}const tde=function(s){nd(xs,s),s.fontFamily&&(xs.personFontFamily=xs.systemFontFamily=xs.messageFontFamily=s.fontFamily),s.fontSize&&(xs.personFontSize=xs.systemFontSize=xs.messageFontSize=s.fontSize),s.fontWeight&&(xs.personFontWeight=xs.systemFontWeight=xs.messageFontWeight=s.fontWeight)},NN=(s,o)=>({fontFamily:s[o+"FontFamily"],fontSize:s[o+"FontSize"],fontWeight:s[o+"FontWeight"]}),mK=s=>({fontFamily:s.boundaryFontFamily,fontSize:s.boundaryFontSize,fontWeight:s.boundaryFontWeight}),kSt=s=>({fontFamily:s.messageFontFamily,fontSize:s.messageFontSize,fontWeight:s.messageFontWeight});function Qw(s,o,f,p,w){if(!o[s].width)if(f)o[s].text=GDe(o[s].text,w,p),o[s].textLines=o[s].text.split(xa.lineBreakRegex).length,o[s].width=w,o[s].height=I1e(o[s].text,p);else{let k=o[s].text.split(xa.lineBreakRegex);o[s].textLines=k.length;let b=0;o[s].height=0,o[s].width=0;for(const _ of k)o[s].width=Math.max(n3(_,p),o[s].width),b=I1e(_,p),o[s].height=o[s].height+b}}const MIe=function(s,o,f){o.x=f.data.startx,o.y=f.data.starty,o.width=f.data.stopx-f.data.startx,o.height=f.data.stopy-f.data.starty,o.label.y=xs.c4ShapeMargin-35;let p=o.wrap&&xs.wrap,w=mK(xs);w.fontSize=w.fontSize+2,w.fontWeight="bold";let k=n3(o.label.text,w);Qw("label",o,p,w,k),i3.drawBoundary(s,o,xs)},DIe=function(s,o,f,p){let w=0;for(const k of p){w=0;const b=f[k];let _=NN(xs,b.typeC4Shape.text);switch(_.fontSize=_.fontSize-2,b.typeC4Shape.width=n3("<<"+b.typeC4Shape.text+">>",_),b.typeC4Shape.height=_.fontSize+2,b.typeC4Shape.Y=xs.c4ShapePadding,w=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=w,w=b.image.Y+b.image.height;break}b.sprite&&(b.image.width=48,b.image.height=48,b.image.Y=w,w=b.image.Y+b.image.height);let A=b.wrap&&xs.wrap,N=xs.width-xs.c4ShapePadding*2,B=NN(xs,b.typeC4Shape.text);if(B.fontSize=B.fontSize+2,B.fontWeight="bold",Qw("label",b,A,B,N),b.label.Y=w+8,w=b.label.Y+b.label.height,b.type&&b.type.text!==""){b.type.text="["+b.type.text+"]";let j=NN(xs,b.typeC4Shape.text);Qw("type",b,A,j,N),b.type.Y=w+5,w=b.type.Y+b.type.height}else if(b.techn&&b.techn.text!==""){b.techn.text="["+b.techn.text+"]";let j=NN(xs,b.techn.text);Qw("techn",b,A,j,N),b.techn.Y=w+5,w=b.techn.Y+b.techn.height}let F=w,H=b.label.width;if(b.descr&&b.descr.text!==""){let j=NN(xs,b.typeC4Shape.text);Qw("descr",b,A,j,N),b.descr.Y=w+20,w=b.descr.Y+b.descr.height,H=Math.max(b.label.width,b.descr.width),F=w-b.descr.textLines*5}H=H+xs.c4ShapePadding,b.width=Math.max(b.width||xs.width,H,xs.width),b.height=Math.max(b.height||xs.height,F,xs.height),b.margin=b.margin||xs.c4ShapeMargin,s.insert(b),i3.drawC4Shape(o,b,xs)}s.bumpLastMargin(xs.c4ShapeMargin)};let Vb=class{constructor(o,f){this.x=o,this.y=f}},IIe=function(s,o){let f=s.x,p=s.y,w=o.x,k=o.y,b=f+s.width/2,_=p+s.height/2,A=Math.abs(f-w),N=Math.abs(p-k),B=N/A,F=s.height/s.width,H=null;return p==k&&f<w?H=new Vb(f+s.width,_):p==k&&f>w?H=new Vb(f,_):f==w&&p<k?H=new Vb(b,p+s.height):f==w&&p>k&&(H=new Vb(b,p)),f>w&&p<k?F>=B?H=new Vb(f,_+B*s.width/2):H=new Vb(b-A/N*s.height/2,p+s.height):f<w&&p<k?F>=B?H=new Vb(f+s.width,_+B*s.width/2):H=new Vb(b+A/N*s.height/2,p+s.height):f<w&&p>k?F>=B?H=new Vb(f+s.width,_-B*s.width/2):H=new Vb(b+s.height/2*A/N,p):f>w&&p>k&&(F>=B?H=new Vb(f,_-s.width/2*B):H=new Vb(b-s.height/2*A/N,p)),H},xSt=function(s,o){let f={x:0,y:0};f.x=o.x+o.width/2,f.y=o.y+o.height/2;let p=IIe(s,f);f.x=s.x+s.width/2,f.y=s.y+s.height/2;let w=IIe(o,f);return{startPoint:p,endPoint:w}};const ESt=function(s,o,f,p){let w=0;for(let k of o){w=w+1;let b=k.wrap&&xs.wrap,_=kSt(xs);p.db.getC4Type()==="C4Dynamic"&&(k.label.text=w+": "+k.label.text);let N=n3(k.label.text,_);Qw("label",k,b,_,N),k.techn&&k.techn.text!==""&&(N=n3(k.techn.text,_),Qw("techn",k,b,_,N)),k.descr&&k.descr.text!==""&&(N=n3(k.descr.text,_),Qw("descr",k,b,_,N));let B=f(k.from),F=f(k.to),H=xSt(B,F);k.startPoint=H.startPoint,k.endPoint=H.endPoint}i3.drawRels(s,o,xs)};function OIe(s,o,f,p,w){let k=new LIe(w);k.data.widthLimit=f.data.widthLimit/Math.min(ede,p.length);for(let[b,_]of p.entries()){let A=0;_.image={width:0,height:0,Y:0},_.sprite&&(_.image.width=48,_.image.height=48,_.image.Y=A,A=_.image.Y+_.image.height);let N=_.wrap&&xs.wrap,B=mK(xs);if(B.fontSize=B.fontSize+2,B.fontWeight="bold",Qw("label",_,N,B,k.data.widthLimit),_.label.Y=A+8,A=_.label.Y+_.label.height,_.type&&_.type.text!==""){_.type.text="["+_.type.text+"]";let V=mK(xs);Qw("type",_,N,V,k.data.widthLimit),_.type.Y=A+5,A=_.type.Y+_.type.height}if(_.descr&&_.descr.text!==""){let V=mK(xs);V.fontSize=V.fontSize-2,Qw("descr",_,N,V,k.data.widthLimit),_.descr.Y=A+20,A=_.descr.Y+_.descr.height}if(b==0||b%ede===0){let V=f.data.startx+xs.diagramMarginX,Z=f.data.stopy+xs.diagramMarginY+A;k.setData(V,V,Z,Z)}else{let V=k.data.stopx!==k.data.startx?k.data.stopx+xs.diagramMarginX:k.data.startx,Z=k.data.starty;k.setData(V,V,Z,Z)}k.name=_.alias;let F=w.db.getC4ShapeArray(_.alias),H=w.db.getC4ShapeKeys(_.alias);H.length>0&&DIe(k,s,F,H),o=_.alias;let j=w.db.getBoundarys(o);j.length>0&&OIe(s,o,k,j,w),_.alias!=="global"&&MIe(s,_,k),f.data.stopy=Math.max(k.data.stopy+xs.c4ShapeMargin,f.data.stopy),f.data.stopx=Math.max(k.data.stopx+xs.c4ShapeMargin,f.data.stopx),vK=Math.max(vK,f.data.stopx),wK=Math.max(wK,f.data.stopy)}}const NIe={drawPersonOrSystemArray:DIe,drawBoundary:MIe,setConf:tde,draw:function(s,o,f,p){xs=Pt().c4;const w=Pt().securityLevel;let k;w==="sandbox"&&(k=sr("#i"+o));const b=sr(w==="sandbox"?k.nodes()[0].contentDocument.body:"body");let _=p.db;p.db.setWrap(xs.wrap),AIe=_.getC4ShapeInRow(),ede=_.getC4BoundaryInRow(),je.debug(`C:${JSON.stringify(xs,null,2)}`);const A=w==="sandbox"?b.select(`[id="${o}"]`):sr(`[id="${o}"]`);i3.insertComputerIcon(A),i3.insertDatabaseIcon(A),i3.insertClockIcon(A);let N=new LIe(p);N.setData(xs.diagramMarginX,xs.diagramMarginX,xs.diagramMarginY,xs.diagramMarginY),N.data.widthLimit=screen.availWidth,vK=xs.diagramMarginX,wK=xs.diagramMarginY;const B=p.db.getTitle();let F=p.db.getBoundarys("");OIe(A,"",N,F,p),i3.insertArrowHead(A),i3.insertArrowEnd(A),i3.insertArrowCrossHead(A),i3.insertArrowFilledHead(A),ESt(A,p.db.getRels(),p.db.getC4Shape,p),N.data.stopx=vK,N.data.stopy=wK;const H=N.data;let V=H.stopy-H.starty+2*xs.diagramMarginY;const ae=H.stopx-H.startx+2*xs.diagramMarginX;B&&A.append("text").text(B).attr("x",(H.stopx-H.startx)/2-4*xs.diagramMarginX).attr("y",H.starty+xs.diagramMarginY),Uw(A,V,ae,xs.useMaxWidth);const le=B?60:0;A.attr("viewBox",H.startx-xs.diagramMarginX+" -"+(xs.diagramMarginY+le)+" "+ae+" "+(V+le)),je.debug("models:",H)}};var nde=function(){var s=function(At,He,Ze,Lt){for(Ze=Ze||{},Lt=At.length;Lt--;Ze[At[Lt]]=He);return Ze},o=[1,3],f=[1,7],p=[1,8],w=[1,9],k=[1,10],b=[1,13],_=[1,12],A=[1,16,25],N=[1,20],B=[1,32],F=[1,33],H=[1,34],j=[1,36],V=[1,39],Z=[1,37],ae=[1,38],le=[1,44],ce=[1,45],be=[1,40],xe=[1,41],Ee=[1,42],Me=[1,43],fe=[1,48],ye=[1,49],re=[1,50],we=[1,51],ke=[16,25],he=[1,65],De=[1,66],X=[1,67],Re=[1,68],pe=[1,69],Ge=[1,70],de=[1,71],ct=[1,80],bt=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],St=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],yt=[5,8,9,10,11,16,19,23,25],Mt=[54,88,89,90,91],nn=[54,65,66,88,89,90,91],dn=[54,60,61,62,63,64,88,89,90,91],vt=[16,25,32],Lr=[1,107],xt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType: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,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(He,Ze,Lt,Ve,Mn,Oe,Di){var rn=Oe.length-1;switch(Mn){case 5:Ve.setDirection("TB");break;case 6:Ve.setDirection("BT");break;case 7:Ve.setDirection("RL");break;case 8:Ve.setDirection("LR");break;case 12:Ve.parseDirective("%%{","open_directive");break;case 13:Ve.parseDirective(Oe[rn],"type_directive");break;case 14:Oe[rn]=Oe[rn].trim().replace(/'/g,'"'),Ve.parseDirective(Oe[rn],"arg_directive");break;case 15:Ve.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=Oe[rn];break;case 22:this.$=Oe[rn-1]+Oe[rn];break;case 23:case 24:this.$=Oe[rn-1]+"~"+Oe[rn];break;case 25:Ve.addRelation(Oe[rn]);break;case 26:Oe[rn-1].title=Ve.cleanupLabel(Oe[rn]),Ve.addRelation(Oe[rn-1]);break;case 35:this.$=Oe[rn].trim(),Ve.setAccTitle(this.$);break;case 36:case 37:this.$=Oe[rn].trim(),Ve.setAccDescription(this.$);break;case 38:Ve.addClass(Oe[rn]);break;case 39:Ve.addClass(Oe[rn-2]),Ve.setCssClass(Oe[rn-2],Oe[rn]);break;case 40:Ve.addClass(Oe[rn-3]),Ve.addMembers(Oe[rn-3],Oe[rn-1]);break;case 41:Ve.addClass(Oe[rn-5]),Ve.setCssClass(Oe[rn-5],Oe[rn-3]),Ve.addMembers(Oe[rn-5],Oe[rn-1]);break;case 42:Ve.addAnnotation(Oe[rn],Oe[rn-2]);break;case 43:this.$=[Oe[rn]];break;case 44:Oe[rn].push(Oe[rn-1]),this.$=Oe[rn];break;case 45:break;case 46:Ve.addMember(Oe[rn-1],Ve.cleanupLabel(Oe[rn]));break;case 47:break;case 48:break;case 49:this.$={id1:Oe[rn-2],id2:Oe[rn],relation:Oe[rn-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:Oe[rn-3],id2:Oe[rn],relation:Oe[rn-1],relationTitle1:Oe[rn-2],relationTitle2:"none"};break;case 51:this.$={id1:Oe[rn-3],id2:Oe[rn],relation:Oe[rn-2],relationTitle1:"none",relationTitle2:Oe[rn-1]};break;case 52:this.$={id1:Oe[rn-4],id2:Oe[rn],relation:Oe[rn-2],relationTitle1:Oe[rn-3],relationTitle2:Oe[rn-1]};break;case 53:Ve.addNote(Oe[rn],Oe[rn-1]);break;case 54:Ve.addNote(Oe[rn]);break;case 55:this.$={type1:Oe[rn-2],type2:Oe[rn],lineType:Oe[rn-1]};break;case 56:this.$={type1:"none",type2:Oe[rn],lineType:Oe[rn-1]};break;case 57:this.$={type1:Oe[rn-1],type2:"none",lineType:Oe[rn]};break;case 58:this.$={type1:"none",type2:"none",lineType:Oe[rn]};break;case 59:this.$=Ve.relationType.AGGREGATION;break;case 60:this.$=Ve.relationType.EXTENSION;break;case 61:this.$=Ve.relationType.COMPOSITION;break;case 62:this.$=Ve.relationType.DEPENDENCY;break;case 63:this.$=Ve.relationType.LOLLIPOP;break;case 64:this.$=Ve.lineType.LINE;break;case 65:this.$=Ve.lineType.DOTTED_LINE;break;case 66:case 72:this.$=Oe[rn-2],Ve.setClickEvent(Oe[rn-1],Oe[rn]);break;case 67:case 73:this.$=Oe[rn-3],Ve.setClickEvent(Oe[rn-2],Oe[rn-1]),Ve.setTooltip(Oe[rn-2],Oe[rn]);break;case 68:case 76:this.$=Oe[rn-2],Ve.setLink(Oe[rn-1],Oe[rn]);break;case 69:this.$=Oe[rn-3],Ve.setLink(Oe[rn-2],Oe[rn-1],Oe[rn]);break;case 70:case 78:this.$=Oe[rn-3],Ve.setLink(Oe[rn-2],Oe[rn-1]),Ve.setTooltip(Oe[rn-2],Oe[rn]);break;case 71:case 79:this.$=Oe[rn-4],Ve.setLink(Oe[rn-3],Oe[rn-2],Oe[rn]),Ve.setTooltip(Oe[rn-3],Oe[rn-1]);break;case 74:this.$=Oe[rn-3],Ve.setClickEvent(Oe[rn-2],Oe[rn-1],Oe[rn]);break;case 75:this.$=Oe[rn-4],Ve.setClickEvent(Oe[rn-3],Oe[rn-2],Oe[rn-1]),Ve.setTooltip(Oe[rn-3],Oe[rn]);break;case 77:this.$=Oe[rn-3],Ve.setLink(Oe[rn-2],Oe[rn-1],Oe[rn]);break;case 80:Ve.setCssClass(Oe[rn-1],Oe[rn]);break}},table:[{3:1,4:2,5:o,6:4,7:5,8:f,9:p,10:w,11:k,12:6,13:11,19:b,23:_},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:o,6:4,7:5,8:f,9:p,10:w,11:k,12:6,13:11,19:b,23:_},{1:[2,9]},s(A,[2,5]),s(A,[2,6]),s(A,[2,7]),s(A,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:N},s([17,22],[2,13]),{6:31,7:30,8:f,9:p,10:w,11:k,13:11,19:b,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:B,41:F,43:H,44:j,49:V,51:Z,52:ae,55:le,57:ce,67:be,68:xe,70:Ee,74:Me,88:fe,89:ye,90:re,91:we},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},s(ke,[2,25],{32:[1,57]}),s(ke,[2,27]),s(ke,[2,28]),s(ke,[2,29]),s(ke,[2,30]),s(ke,[2,31]),s(ke,[2,32]),s(ke,[2,33]),s(ke,[2,34]),{40:[1,58]},{42:[1,59]},s(ke,[2,37]),s(ke,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:he,61:De,62:X,63:Re,64:pe,65:Ge,66:de}),{27:72,28:46,29:47,88:fe,89:ye,90:re,91:we},s(ke,[2,47]),s(ke,[2,48]),{28:73,88:fe,89:ye,90:re},{27:74,28:46,29:47,88:fe,89:ye,90:re,91:we},{27:75,28:46,29:47,88:fe,89:ye,90:re,91:we},{27:76,28:46,29:47,88:fe,89:ye,90:re,91:we},{54:[1,77]},{27:78,28:46,29:47,88:fe,89:ye,90:re,91:we},{54:ct,56:79},s(bt,[2,20],{28:46,29:47,27:81,30:[1,82],88:fe,89:ye,90:re,91:we}),s(bt,[2,21],{30:[1,83]}),s(St,[2,94]),s(St,[2,95]),s(St,[2,96]),s([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),s(yt,[2,10]),{15:84,22:N},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:f,9:p,10:w,11:k,13:11,19:b,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:B,41:F,43:H,44:j,49:V,51:Z,52:ae,55:le,57:ce,67:be,68:xe,70:Ee,74:Me,88:fe,89:ye,90:re,91:we},s(ke,[2,26]),s(ke,[2,35]),s(ke,[2,36]),{27:86,28:46,29:47,54:[1,87],88:fe,89:ye,90:re,91:we},{53:88,58:63,59:64,60:he,61:De,62:X,63:Re,64:pe,65:Ge,66:de},s(ke,[2,46]),{59:89,65:Ge,66:de},s(Mt,[2,58],{58:90,60:he,61:De,62:X,63:Re,64:pe}),s(nn,[2,59]),s(nn,[2,60]),s(nn,[2,61]),s(nn,[2,62]),s(nn,[2,63]),s(dn,[2,64]),s(dn,[2,65]),s(ke,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:fe,89:ye,90:re},{54:ct,56:99},s(ke,[2,54]),s(ke,[2,98]),s(bt,[2,22]),s(bt,[2,23]),s(bt,[2,24]),{16:[1,100]},{25:[2,19]},s(vt,[2,49]),{27:101,28:46,29:47,88:fe,89:ye,90:re,91:we},{27:102,28:46,29:47,54:[1,103],88:fe,89:ye,90:re,91:we},s(Mt,[2,57],{58:104,60:he,61:De,62:X,63:Re,64:pe}),s(Mt,[2,56]),{28:105,88:fe,89:ye,90:re},{47:106,51:Lr},{27:108,28:46,29:47,88:fe,89:ye,90:re,91:we},s(ke,[2,66],{54:[1,109]}),s(ke,[2,68],{54:[1,111],69:[1,110]}),s(ke,[2,72],{54:[1,112],72:[1,113]}),s(ke,[2,76],{54:[1,115],69:[1,114]}),s(ke,[2,80]),s(ke,[2,53]),s(yt,[2,11]),s(vt,[2,51]),s(vt,[2,50]),{27:116,28:46,29:47,88:fe,89:ye,90:re,91:we},s(Mt,[2,55]),s(ke,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:Lr},s(ke,[2,42]),s(ke,[2,67]),s(ke,[2,69]),s(ke,[2,70],{69:[1,120]}),s(ke,[2,73]),s(ke,[2,74],{54:[1,121]}),s(ke,[2,77]),s(ke,[2,78],{69:[1,122]}),s(vt,[2,52]),{47:123,51:Lr},s(ke,[2,40]),{48:[2,44]},s(ke,[2,71]),s(ke,[2,75]),s(ke,[2,79]),{48:[1,124]},s(ke,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(He,Ze){if(Ze.recoverable)this.trace(He);else{var Lt=new Error(He);throw Lt.hash=Ze,Lt}},parse:function(He){var Ze=this,Lt=[0],Ve=[],Mn=[null],Oe=[],Di=this.table,rn="",pi=0,Fr=0,tr=2,Wn=1,er=Oe.slice.call(arguments,1),Fn=Object.create(this.lexer),nr={yy:{}};for(var ha in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ha)&&(nr.yy[ha]=this.yy[ha]);Fn.setInput(He,nr.yy),nr.yy.lexer=Fn,nr.yy.parser=this,typeof Fn.yylloc>"u"&&(Fn.yylloc={});var fa=Fn.yylloc;Oe.push(fa);var is=Fn.options&&Fn.options.ranges;typeof nr.yy.parseError=="function"?this.parseError=nr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Xi(){var un;return un=Ve.pop()||Fn.lex()||Wn,typeof un!="number"&&(un instanceof Array&&(Ve=un,un=Ve.pop()),un=Ze.symbols_[un]||un),un}for(var da,Cc,na,Ji,Fi={},vr,wr,ni,Yn;;){if(Cc=Lt[Lt.length-1],this.defaultActions[Cc]?na=this.defaultActions[Cc]:((da===null||typeof da>"u")&&(da=Xi()),na=Di[Cc]&&Di[Cc][da]),typeof na>"u"||!na.length||!na[0]){var Gi="";Yn=[];for(vr in Di[Cc])this.terminals_[vr]&&vr>tr&&Yn.push("'"+this.terminals_[vr]+"'");Fn.showPosition?Gi="Parse error on line "+(pi+1)+`:
-`+Fn.showPosition()+`
-Expecting `+Yn.join(", ")+", got '"+(this.terminals_[da]||da)+"'":Gi="Parse error on line "+(pi+1)+": Unexpected "+(da==Wn?"end of input":"'"+(this.terminals_[da]||da)+"'"),this.parseError(Gi,{text:Fn.match,token:this.terminals_[da]||da,line:Fn.yylineno,loc:fa,expected:Yn})}if(na[0]instanceof Array&&na.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Cc+", token: "+da);switch(na[0]){case 1:Lt.push(da),Mn.push(Fn.yytext),Oe.push(Fn.yylloc),Lt.push(na[1]),da=null,Fr=Fn.yyleng,rn=Fn.yytext,pi=Fn.yylineno,fa=Fn.yylloc;break;case 2:if(wr=this.productions_[na[1]][1],Fi.$=Mn[Mn.length-wr],Fi._$={first_line:Oe[Oe.length-(wr||1)].first_line,last_line:Oe[Oe.length-1].last_line,first_column:Oe[Oe.length-(wr||1)].first_column,last_column:Oe[Oe.length-1].last_column},is&&(Fi._$.range=[Oe[Oe.length-(wr||1)].range[0],Oe[Oe.length-1].range[1]]),Ji=this.performAction.apply(Fi,[rn,Fr,pi,nr.yy,na[1],Mn,Oe].concat(er)),typeof Ji<"u")return Ji;wr&&(Lt=Lt.slice(0,-1*wr*2),Mn=Mn.slice(0,-1*wr),Oe=Oe.slice(0,-1*wr)),Lt.push(this.productions_[na[1]][0]),Mn.push(Fi.$),Oe.push(Fi._$),ni=Di[Lt[Lt.length-2]][Lt[Lt.length-1]],Lt.push(ni);break;case 3:return!0}}return!0}},Tt=function(){var At={EOF:1,parseError:function(Ze,Lt){if(this.yy.parser)this.yy.parser.parseError(Ze,Lt);else throw new Error(Ze)},setInput:function(He,Ze){return this.yy=Ze||this.yy||{},this._input=He,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 He=this._input[0];this.yytext+=He,this.yyleng++,this.offset++,this.match+=He,this.matched+=He;var Ze=He.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),He},unput:function(He){var Ze=He.length,Lt=He.split(/(?:\r\n?|\n)/g);this._input=He+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ze),this.offset-=Ze;var Ve=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),Lt.length-1&&(this.yylineno-=Lt.length-1);var Mn=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:Lt?(Lt.length===Ve.length?this.yylloc.first_column:0)+Ve[Ve.length-Lt.length].length-Lt[0].length:this.yylloc.first_column-Ze},this.options.ranges&&(this.yylloc.range=[Mn[0],Mn[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(He){this.unput(this.match.slice(He))},pastInput:function(){var He=this.matched.substr(0,this.matched.length-this.match.length);return(He.length>20?"...":"")+He.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var He=this.match;return He.length<20&&(He+=this._input.substr(0,20-He.length)),(He.substr(0,20)+(He.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var He=this.pastInput(),Ze=new Array(He.length+1).join("-");return He+this.upcomingInput()+`
-`+Ze+"^"},test_match:function(He,Ze){var Lt,Ve,Mn;if(this.options.backtrack_lexer&&(Mn={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&&(Mn.yylloc.range=this.yylloc.range.slice(0))),Ve=He[0].match(/(?:\r\n?|\n).*/g),Ve&&(this.yylineno+=Ve.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ve?Ve[Ve.length-1].length-Ve[Ve.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+He[0].length},this.yytext+=He[0],this.match+=He[0],this.matches=He,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(He[0].length),this.matched+=He[0],Lt=this.performAction.call(this,this.yy,this,Ze,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Lt)return Lt;if(this._backtrack){for(var Oe in Mn)this[Oe]=Mn[Oe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var He,Ze,Lt,Ve;this._more||(this.yytext="",this.match="");for(var Mn=this._currentRules(),Oe=0;Oe<Mn.length;Oe++)if(Lt=this._input.match(this.rules[Mn[Oe]]),Lt&&(!Ze||Lt[0].length>Ze[0].length)){if(Ze=Lt,Ve=Oe,this.options.backtrack_lexer){if(He=this.test_match(Lt,Mn[Oe]),He!==!1)return He;if(this._backtrack){Ze=!1;continue}else return!1}else if(!this.options.flex)break}return Ze?(He=this.test_match(Ze,Mn[Ve]),He!==!1?He:!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:{},performAction:function(Ze,Lt,Ve,Mn){switch(Ve){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:break;case 10:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 19:break;case 20:return 23;case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 27:break;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 39:this.popState();break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 42:this.popState();break;case 43:return"STR";case 44:this.begin("bqstring");break;case 45:this.popState();break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 48:this.popState();break;case 49:return 73;case 50:this.begin("callback_name");break;case 51:this.popState();break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 54:this.popState();break;case 55:return 72;case 56:return 69;case 57:return 69;case 58:return 69;case 59:return 69;case 60:return 61;case 61:return 61;case 62:return 63;case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:return"EQUALS";case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_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)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,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],inclusive:!0}}};return At}();xt.lexer=Tt;function wt(){this.yy={}}return wt.prototype=xt,xt.Parser=wt,new wt}();nde.parser=nde;const PIe=nde,TSt=(s,o)=>{var f;return((f=o==null?void 0:o.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:s.match(/^\s*classDiagram/)!==null},_St=(s,o)=>{var f;return s.match(/^\s*classDiagram/)!==null&&((f=o==null?void 0:o.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!0:s.match(/^\s*classDiagram-v2/)!==null},rde="classid-";let ide=[],af={},yK=[],BIe=0,PN=[];const BN=s=>xa.sanitizeText(s,Pt()),CSt=function(s,o,f){Fl.parseDirective(this,s,o,f)},FN=function(s){let o="",f=s;if(s.indexOf("~")>0){let p=s.split("~");f=p[0],o=xa.sanitizeText(p[1],Pt())}return{className:f,type:o}},sde=function(s){let o=FN(s);af[o.className]===void 0&&(af[o.className]={id:o.className,type:o.type,cssClasses:[],methods:[],members:[],annotations:[],domId:rde+o.className+"-"+BIe},BIe++)},FIe=function(s){const o=Object.keys(af);for(const f of o)if(af[f].id===s)return af[f].domId},SSt=function(){ide=[],af={},yK=[],PN=[],PN.push(jIe),tp()},ASt=function(s){return af[s]},LSt=function(){return af},MSt=function(){return ide},DSt=function(){return yK},ISt=function(s){je.debug("Adding relation: "+JSON.stringify(s)),sde(s.id1),sde(s.id2),s.id1=FN(s.id1).className,s.id2=FN(s.id2).className,s.relationTitle1=xa.sanitizeText(s.relationTitle1.trim(),Pt()),s.relationTitle2=xa.sanitizeText(s.relationTitle2.trim(),Pt()),ide.push(s)},OSt=function(s,o){const f=FN(s).className;af[f].annotations.push(o)},RIe=function(s,o){const f=FN(s).className,p=af[f];if(typeof o=="string"){const w=o.trim();w.startsWith("<<")&&w.endsWith(">>")?p.annotations.push(BN(w.substring(2,w.length-2))):w.indexOf(")")>0?p.methods.push(BN(w)):w&&p.members.push(BN(w))}},NSt=function(s,o){Array.isArray(o)&&(o.reverse(),o.forEach(f=>RIe(s,f)))},PSt=function(s,o){const f={id:`note${yK.length}`,class:o,text:s};yK.push(f)},BSt=function(s){return s.substring(0,1)===":"?xa.sanitizeText(s.substr(1).trim(),Pt()):BN(s.trim())},ade=function(s,o){s.split(",").forEach(function(f){let p=f;f[0].match(/\d/)&&(p=rde+p),af[p]!==void 0&&af[p].cssClasses.push(o)})},FSt=function(s,o){const f=Pt();s.split(",").forEach(function(p){o!==void 0&&(af[p].tooltip=xa.sanitizeText(o,f))})},RSt=function(s){return af[s].tooltip},jSt=function(s,o,f){const p=Pt();s.split(",").forEach(function(w){let k=w;w[0].match(/\d/)&&(k=rde+k),af[k]!==void 0&&(af[k].link=Pa.formatUrl(o,p),p.securityLevel==="sandbox"?af[k].linkTarget="_top":typeof f=="string"?af[k].linkTarget=BN(f):af[k].linkTarget="_blank")}),ade(s,"clickable")},$St=function(s,o,f){s.split(",").forEach(function(p){HSt(p,o,f),af[p].haveCallback=!0}),ade(s,"clickable")},HSt=function(s,o,f){const p=Pt();let w=s,k=FIe(w);if(p.securityLevel==="loose"&&o!==void 0&&af[w]!==void 0){let b=[];if(typeof f=="string"){b=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let _=0;_<b.length;_++){let A=b[_].trim();A.charAt(0)==='"'&&A.charAt(A.length-1)==='"'&&(A=A.substr(1,A.length-2)),b[_]=A}}b.length===0&&b.push(k),PN.push(function(){const _=document.querySelector(`[id="${k}"]`);_!==null&&_.addEventListener("click",function(){Pa.runFunc(o,...b)},!1)})}},zSt=function(s){PN.forEach(function(o){o(s)})},GSt={LINE:0,DOTTED_LINE:1},qSt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},jIe=function(s){let o=sr(".mermaidTooltip");(o._groups||o)[0][0]===null&&(o=sr("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),sr(s).select("svg").selectAll("g.node").on("mouseover",function(){const w=sr(this);if(w.attr("title")===null)return;const b=this.getBoundingClientRect();o.transition().duration(200).style("opacity",".9"),o.text(w.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.top-14+document.body.scrollTop+"px"),o.html(o.html().replace(/&lt;br\/&gt;/g,"<br/>")),w.classed("hover",!0)}).on("mouseout",function(){o.transition().duration(500).style("opacity",0),sr(this).classed("hover",!1)})};PN.push(jIe);let $Ie="TB";const SA={parseDirective:CSt,setAccTitle:np,getAccTitle:C2,getAccDescription:A2,setAccDescription:S2,getConfig:()=>Pt().class,addClass:sde,bindFunctions:zSt,clear:SSt,getClass:ASt,getClasses:LSt,getNotes:DSt,addAnnotation:OSt,addNote:PSt,getRelations:MSt,addRelation:ISt,getDirection:()=>$Ie,setDirection:s=>{$Ie=s},addMember:RIe,addMembers:NSt,cleanupLabel:BSt,lineType:GSt,relationType:qSt,setClickEvent:$St,setCssClass:ade,setLink:jSt,getTooltip:RSt,setTooltip:FSt,lookUpDomId:FIe,setDiagramTitle:Kw,getDiagramTitle:Ww};function s3(s){return s!=null&&typeof s=="object"}var VSt="[object Symbol]";function QE(s){return typeof s=="symbol"||s3(s)&&HE(s)==VSt}function AA(s,o){for(var f=-1,p=s==null?0:s.length,w=Array(p);++f<p;)w[f]=o(s[f],f,s);return w}var USt=Array.isArray;const jf=USt;var KSt=1/0,HIe=Gb?Gb.prototype:void 0,zIe=HIe?HIe.toString:void 0;function GIe(s){if(typeof s=="string")return s;if(jf(s))return AA(s,GIe)+"";if(QE(s))return zIe?zIe.call(s):"";var o=s+"";return o=="0"&&1/s==-KSt?"-0":o}var WSt=/\s/;function YSt(s){for(var o=s.length;o--&&WSt.test(s.charAt(o)););return o}var XSt=/^\s+/;function QSt(s){return s&&s.slice(0,YSt(s)+1).replace(XSt,"")}var qIe=0/0,ZSt=/^[-+]0x[0-9a-f]+$/i,JSt=/^0b[01]+$/i,eAt=/^0o[0-7]+$/i,tAt=parseInt;function nAt(s){if(typeof s=="number")return s;if(QE(s))return qIe;if(_2(s)){var o=typeof s.valueOf=="function"?s.valueOf():s;s=_2(o)?o+"":o}if(typeof s!="string")return s===0?s:+s;s=QSt(s);var f=JSt.test(s);return f||eAt.test(s)?tAt(s.slice(2),f?2:8):ZSt.test(s)?qIe:+s}var VIe=1/0,rAt=17976931348623157e292;function kK(s){if(!s)return s===0?s:0;if(s=nAt(s),s===VIe||s===-VIe){var o=s<0?-1:1;return o*rAt}return s===s?s:0}function iAt(s){var o=kK(s),f=o%1;return o===o?f?o-f:o:0}function ZE(s){return s}var sAt=GE(Gw,"WeakMap");const ode=sAt;var UIe=Object.create,aAt=function(){function s(){}return function(o){if(!_2(o))return{};if(UIe)return UIe(o);s.prototype=o;var f=new s;return s.prototype=void 0,f}}();const oAt=aAt;function cAt(s,o,f){switch(f.length){case 0:return s.call(o);case 1:return s.call(o,f[0]);case 2:return s.call(o,f[0],f[1]);case 3:return s.call(o,f[0],f[1],f[2])}return s.apply(o,f)}function uAt(){}function KIe(s,o){var f=-1,p=s.length;for(o||(o=Array(p));++f<p;)o[f]=s[f];return o}var lAt=800,hAt=16,fAt=Date.now;function dAt(s){var o=0,f=0;return function(){var p=fAt(),w=hAt-(p-f);if(f=p,w>0){if(++o>=lAt)return arguments[0]}else o=0;return s.apply(void 0,arguments)}}function LA(s){return function(){return s}}var gAt=function(){try{var s=GE(Object,"defineProperty");return s({},"",{}),s}catch{}}();const xK=gAt;var pAt=xK?function(s,o){return xK(s,"toString",{configurable:!0,enumerable:!1,value:LA(o),writable:!0})}:ZE,bAt=dAt(pAt);const WIe=bAt;function YIe(s,o){for(var f=-1,p=s==null?0:s.length;++f<p&&o(s[f],f,s)!==!1;);return s}function XIe(s,o,f,p){for(var w=s.length,k=f+(p?1:-1);p?k--:++k<w;)if(o(s[k],k,s))return k;return-1}function vAt(s){return s!==s}function wAt(s,o,f){for(var p=f-1,w=s.length;++p<w;)if(s[p]===o)return p;return-1}function mAt(s,o,f){return o===o?wAt(s,o,f):XIe(s,vAt,f)}function yAt(s,o){var f=s==null?0:s.length;return!!f&&mAt(s,o,0)>-1}var kAt=9007199254740991,xAt=/^(?:0|[1-9]\d*)$/;function EK(s,o){var f=typeof s;return o=o??kAt,!!o&&(f=="number"||f!="symbol"&&xAt.test(s))&&s>-1&&s%1==0&&s<o}function TK(s,o,f){o=="__proto__"&&xK?xK(s,o,{configurable:!0,enumerable:!0,value:f,writable:!0}):s[o]=f}var EAt=Object.prototype,TAt=EAt.hasOwnProperty;function _K(s,o,f){var p=s[o];(!(TAt.call(s,o)&&kA(p,f))||f===void 0&&!(o in s))&&TK(s,o,f)}function RN(s,o,f,p){var w=!f;f||(f={});for(var k=-1,b=o.length;++k<b;){var _=o[k],A=p?p(f[_],s[_],_,f,s):void 0;A===void 0&&(A=s[_]),w?TK(f,_,A):_K(f,_,A)}return f}var QIe=Math.max;function ZIe(s,o,f){return o=QIe(o===void 0?s.length-1:o,0),function(){for(var p=arguments,w=-1,k=QIe(p.length-o,0),b=Array(k);++w<k;)b[w]=p[o+w];w=-1;for(var _=Array(o+1);++w<o;)_[w]=p[w];return _[o]=f(b),cAt(s,this,_)}}function CK(s,o){return WIe(ZIe(s,o,ZE),s+"")}var _At=9007199254740991;function cde(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_At}function e8(s){return s!=null&&cde(s.length)&&!yA(s)}function jN(s,o,f){if(!_2(f))return!1;var p=typeof o;return(p=="number"?e8(f)&&EK(o,f.length):p=="string"&&o in f)?kA(f[o],s):!1}function CAt(s){return CK(function(o,f){var p=-1,w=f.length,k=w>1?f[w-1]:void 0,b=w>2?f[2]:void 0;for(k=s.length>3&&typeof k=="function"?(w--,k):void 0,b&&jN(f[0],f[1],b)&&(k=w<3?void 0:k,w=1),o=Object(o);++p<w;){var _=f[p];_&&s(o,_,p,k)}return o})}var SAt=Object.prototype;function SK(s){var o=s&&s.constructor,f=typeof o=="function"&&o.prototype||SAt;return s===f}function AAt(s,o){for(var f=-1,p=Array(s);++f<s;)p[f]=o(f);return p}var LAt="[object Arguments]";function JIe(s){return s3(s)&&HE(s)==LAt}var eOe=Object.prototype,MAt=eOe.hasOwnProperty,DAt=eOe.propertyIsEnumerable,IAt=JIe(function(){return arguments}())?JIe:function(s){return s3(s)&&MAt.call(s,"callee")&&!DAt.call(s,"callee")};const MA=IAt;function OAt(){return!1}var tOe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,nOe=tOe&&typeof module=="object"&&module&&!module.nodeType&&module,NAt=nOe&&nOe.exports===tOe,rOe=NAt?Gw.Buffer:void 0,PAt=rOe?rOe.isBuffer:void 0,BAt=PAt||OAt;const DA=BAt;var FAt="[object Arguments]",RAt="[object Array]",jAt="[object Boolean]",$At="[object Date]",HAt="[object Error]",zAt="[object Function]",GAt="[object Map]",qAt="[object Number]",VAt="[object Object]",UAt="[object RegExp]",KAt="[object Set]",WAt="[object String]",YAt="[object WeakMap]",XAt="[object ArrayBuffer]",QAt="[object DataView]",ZAt="[object Float32Array]",JAt="[object Float64Array]",eLt="[object Int8Array]",tLt="[object Int16Array]",nLt="[object Int32Array]",rLt="[object Uint8Array]",iLt="[object Uint8ClampedArray]",sLt="[object Uint16Array]",aLt="[object Uint32Array]",Tl={};Tl[ZAt]=Tl[JAt]=Tl[eLt]=Tl[tLt]=Tl[nLt]=Tl[rLt]=Tl[iLt]=Tl[sLt]=Tl[aLt]=!0,Tl[FAt]=Tl[RAt]=Tl[XAt]=Tl[jAt]=Tl[QAt]=Tl[$At]=Tl[HAt]=Tl[zAt]=Tl[GAt]=Tl[qAt]=Tl[VAt]=Tl[UAt]=Tl[KAt]=Tl[WAt]=Tl[YAt]=!1;function oLt(s){return s3(s)&&cde(s.length)&&!!Tl[HE(s)]}function AK(s){return function(o){return s(o)}}var iOe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$N=iOe&&typeof module=="object"&&module&&!module.nodeType&&module,cLt=$N&&$N.exports===iOe,ude=cLt&&PDe.process,uLt=function(){try{var s=$N&&$N.require&&$N.require("util").types;return s||ude&&ude.binding&&ude.binding("util")}catch{}}();const IA=uLt;var sOe=IA&&IA.isTypedArray,lLt=sOe?AK(sOe):oLt;const LK=lLt;var hLt=Object.prototype,fLt=hLt.hasOwnProperty;function aOe(s,o){var f=jf(s),p=!f&&MA(s),w=!f&&!p&&DA(s),k=!f&&!p&&!w&&LK(s),b=f||p||w||k,_=b?AAt(s.length,String):[],A=_.length;for(var N in s)(o||fLt.call(s,N))&&!(b&&(N=="length"||w&&(N=="offset"||N=="parent")||k&&(N=="buffer"||N=="byteLength"||N=="byteOffset")||EK(N,A)))&&_.push(N);return _}function oOe(s,o){return function(f){return s(o(f))}}var dLt=oOe(Object.keys,Object);const gLt=dLt;var pLt=Object.prototype,bLt=pLt.hasOwnProperty;function cOe(s){if(!SK(s))return gLt(s);var o=[];for(var f in Object(s))bLt.call(s,f)&&f!="constructor"&&o.push(f);return o}function M2(s){return e8(s)?aOe(s):cOe(s)}function vLt(s){var o=[];if(s!=null)for(var f in Object(s))o.push(f);return o}var wLt=Object.prototype,mLt=wLt.hasOwnProperty;function yLt(s){if(!_2(s))return vLt(s);var o=SK(s),f=[];for(var p in s)p=="constructor"&&(o||!mLt.call(s,p))||f.push(p);return f}function JE(s){return e8(s)?aOe(s,!0):yLt(s)}var kLt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xLt=/^\w*$/;function lde(s,o){if(jf(s))return!1;var f=typeof s;return f=="number"||f=="symbol"||f=="boolean"||s==null||QE(s)?!0:xLt.test(s)||!kLt.test(s)||o!=null&&s in Object(o)}var ELt=500;function TLt(s){var o=xA(s,function(p){return f.size===ELt&&f.clear(),p}),f=o.cache;return o}var _Lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,CLt=/\\(\\)?/g,SLt=TLt(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(_Lt,function(f,p,w,k){o.push(w?k.replace(CLt,"$1"):p||f)}),o});const ALt=SLt;function uOe(s){return s==null?"":GIe(s)}function MK(s,o){return jf(s)?s:lde(s,o)?[s]:ALt(uOe(s))}var LLt=1/0;function HN(s){if(typeof s=="string"||QE(s))return s;var o=s+"";return o=="0"&&1/s==-LLt?"-0":o}function DK(s,o){o=MK(o,s);for(var f=0,p=o.length;s!=null&&f<p;)s=s[HN(o[f++])];return f&&f==p?s:void 0}function MLt(s,o,f){var p=s==null?void 0:DK(s,o);return p===void 0?f:p}function hde(s,o){for(var f=-1,p=o.length,w=s.length;++f<p;)s[w+f]=o[f];return s}var lOe=Gb?Gb.isConcatSpreadable:void 0;function DLt(s){return jf(s)||MA(s)||!!(lOe&&s&&s[lOe])}function IK(s,o,f,p,w){var k=-1,b=s.length;for(f||(f=DLt),w||(w=[]);++k<b;){var _=s[k];o>0&&f(_)?o>1?IK(_,o-1,f,p,w):hde(w,_):p||(w[w.length]=_)}return w}function OA(s){var o=s==null?0:s.length;return o?IK(s,1):[]}function ILt(s){return WIe(ZIe(s,void 0,OA),s+"")}var OLt=oOe(Object.getPrototypeOf,Object);const fde=OLt;var NLt="[object Object]",PLt=Function.prototype,BLt=Object.prototype,hOe=PLt.toString,FLt=BLt.hasOwnProperty,RLt=hOe.call(Object);function fOe(s){if(!s3(s)||HE(s)!=NLt)return!1;var o=fde(s);if(o===null)return!0;var f=FLt.call(o,"constructor")&&o.constructor;return typeof f=="function"&&f instanceof f&&hOe.call(f)==RLt}function jLt(s,o,f,p){var w=-1,k=s==null?0:s.length;for(p&&k&&(f=s[++w]);++w<k;)f=o(f,s[w],w,s);return f}function $Lt(){this.__data__=new g5,this.size=0}function HLt(s){var o=this.__data__,f=o.delete(s);return this.size=o.size,f}function zLt(s){return this.__data__.get(s)}function GLt(s){return this.__data__.has(s)}var qLt=200;function VLt(s,o){var f=this.__data__;if(f instanceof g5){var p=f.__data__;if(!EN||p.length<qLt-1)return p.push([s,o]),this.size=++f.size,this;f=this.__data__=new p5(p)}return f.set(s,o),this.size=f.size,this}function Zw(s){var o=this.__data__=new g5(s);this.size=o.size}Zw.prototype.clear=$Lt,Zw.prototype.delete=HLt,Zw.prototype.get=zLt,Zw.prototype.has=GLt,Zw.prototype.set=VLt;function ULt(s,o){return s&&RN(o,M2(o),s)}function KLt(s,o){return s&&RN(o,JE(o),s)}var dOe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gOe=dOe&&typeof module=="object"&&module&&!module.nodeType&&module,WLt=gOe&&gOe.exports===dOe,pOe=WLt?Gw.Buffer:void 0,bOe=pOe?pOe.allocUnsafe:void 0;function vOe(s,o){if(o)return s.slice();var f=s.length,p=bOe?bOe(f):new s.constructor(f);return s.copy(p),p}function wOe(s,o){for(var f=-1,p=s==null?0:s.length,w=0,k=[];++f<p;){var b=s[f];o(b,f,s)&&(k[w++]=b)}return k}function mOe(){return[]}var YLt=Object.prototype,XLt=YLt.propertyIsEnumerable,yOe=Object.getOwnPropertySymbols,QLt=yOe?function(s){return s==null?[]:(s=Object(s),wOe(yOe(s),function(o){return XLt.call(s,o)}))}:mOe;const dde=QLt;function ZLt(s,o){return RN(s,dde(s),o)}var JLt=Object.getOwnPropertySymbols,eMt=JLt?function(s){for(var o=[];s;)hde(o,dde(s)),s=fde(s);return o}:mOe;const kOe=eMt;function tMt(s,o){return RN(s,kOe(s),o)}function xOe(s,o,f){var p=o(s);return jf(s)?p:hde(p,f(s))}function gde(s){return xOe(s,M2,dde)}function nMt(s){return xOe(s,JE,kOe)}var rMt=GE(Gw,"DataView");const pde=rMt;var iMt=GE(Gw,"Promise");const bde=iMt;var sMt=GE(Gw,"Set");const NA=sMt;var EOe="[object Map]",aMt="[object Object]",TOe="[object Promise]",_Oe="[object Set]",COe="[object WeakMap]",SOe="[object DataView]",oMt=zE(pde),cMt=zE(EN),uMt=zE(bde),lMt=zE(NA),hMt=zE(ode),e9=HE;(pde&&e9(new pde(new ArrayBuffer(1)))!=SOe||EN&&e9(new EN)!=EOe||bde&&e9(bde.resolve())!=TOe||NA&&e9(new NA)!=_Oe||ode&&e9(new ode)!=COe)&&(e9=function(s){var o=HE(s),f=o==aMt?s.constructor:void 0,p=f?zE(f):"";if(p)switch(p){case oMt:return SOe;case cMt:return EOe;case uMt:return TOe;case lMt:return _Oe;case hMt:return COe}return o});const PA=e9;var fMt=Object.prototype,dMt=fMt.hasOwnProperty;function gMt(s){var o=s.length,f=new s.constructor(o);return o&&typeof s[0]=="string"&&dMt.call(s,"index")&&(f.index=s.index,f.input=s.input),f}var pMt=Gw.Uint8Array;const OK=pMt;function vde(s){var o=new s.constructor(s.byteLength);return new OK(o).set(new OK(s)),o}function bMt(s,o){var f=o?vde(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.byteLength)}var vMt=/\w*$/;function wMt(s){var o=new s.constructor(s.source,vMt.exec(s));return o.lastIndex=s.lastIndex,o}var AOe=Gb?Gb.prototype:void 0,LOe=AOe?AOe.valueOf:void 0;function mMt(s){return LOe?Object(LOe.call(s)):{}}function MOe(s,o){var f=o?vde(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.length)}var yMt="[object Boolean]",kMt="[object Date]",xMt="[object Map]",EMt="[object Number]",TMt="[object RegExp]",_Mt="[object Set]",CMt="[object String]",SMt="[object Symbol]",AMt="[object ArrayBuffer]",LMt="[object DataView]",MMt="[object Float32Array]",DMt="[object Float64Array]",IMt="[object Int8Array]",OMt="[object Int16Array]",NMt="[object Int32Array]",PMt="[object Uint8Array]",BMt="[object Uint8ClampedArray]",FMt="[object Uint16Array]",RMt="[object Uint32Array]";function jMt(s,o,f){var p=s.constructor;switch(o){case AMt:return vde(s);case yMt:case kMt:return new p(+s);case LMt:return bMt(s,f);case MMt:case DMt:case IMt:case OMt:case NMt:case PMt:case BMt:case FMt:case RMt:return MOe(s,f);case xMt:return new p;case EMt:case CMt:return new p(s);case TMt:return wMt(s);case _Mt:return new p;case SMt:return mMt(s)}}function DOe(s){return typeof s.constructor=="function"&&!SK(s)?oAt(fde(s)):{}}var $Mt="[object Map]";function HMt(s){return s3(s)&&PA(s)==$Mt}var IOe=IA&&IA.isMap,zMt=IOe?AK(IOe):HMt;const GMt=zMt;var qMt="[object Set]";function VMt(s){return s3(s)&&PA(s)==qMt}var OOe=IA&&IA.isSet,UMt=OOe?AK(OOe):VMt;const KMt=UMt;var WMt=1,YMt=2,XMt=4,NOe="[object Arguments]",QMt="[object Array]",ZMt="[object Boolean]",JMt="[object Date]",eDt="[object Error]",POe="[object Function]",tDt="[object GeneratorFunction]",nDt="[object Map]",rDt="[object Number]",BOe="[object Object]",iDt="[object RegExp]",sDt="[object Set]",aDt="[object String]",oDt="[object Symbol]",cDt="[object WeakMap]",uDt="[object ArrayBuffer]",lDt="[object DataView]",hDt="[object Float32Array]",fDt="[object Float64Array]",dDt="[object Int8Array]",gDt="[object Int16Array]",pDt="[object Int32Array]",bDt="[object Uint8Array]",vDt="[object Uint8ClampedArray]",wDt="[object Uint16Array]",mDt="[object Uint32Array]",hl={};hl[NOe]=hl[QMt]=hl[uDt]=hl[lDt]=hl[ZMt]=hl[JMt]=hl[hDt]=hl[fDt]=hl[dDt]=hl[gDt]=hl[pDt]=hl[nDt]=hl[rDt]=hl[BOe]=hl[iDt]=hl[sDt]=hl[aDt]=hl[oDt]=hl[bDt]=hl[vDt]=hl[wDt]=hl[mDt]=!0,hl[eDt]=hl[POe]=hl[cDt]=!1;function zN(s,o,f,p,w,k){var b,_=o&WMt,A=o&YMt,N=o&XMt;if(f&&(b=w?f(s,p,w,k):f(s)),b!==void 0)return b;if(!_2(s))return s;var B=jf(s);if(B){if(b=gMt(s),!_)return KIe(s,b)}else{var F=PA(s),H=F==POe||F==tDt;if(DA(s))return vOe(s,_);if(F==BOe||F==NOe||H&&!w){if(b=A||H?{}:DOe(s),!_)return A?tMt(s,KLt(b,s)):ZLt(s,ULt(b,s))}else{if(!hl[F])return w?s:{};b=jMt(s,F,_)}}k||(k=new Zw);var j=k.get(s);if(j)return j;k.set(s,b),KMt(s)?s.forEach(function(ae){b.add(zN(ae,o,f,ae,s,k))}):GMt(s)&&s.forEach(function(ae,le){b.set(le,zN(ae,o,f,le,s,k))});var V=N?A?nMt:gde:A?JE:M2,Z=B?void 0:V(s);return YIe(Z||s,function(ae,le){Z&&(le=ae,ae=s[le]),_K(b,le,zN(ae,o,f,le,s,k))}),b}var yDt=4;function kDt(s){return zN(s,yDt)}var xDt=1,EDt=4;function TDt(s){return zN(s,xDt|EDt)}var _Dt="__lodash_hash_undefined__";function CDt(s){return this.__data__.set(s,_Dt),this}function SDt(s){return this.__data__.has(s)}function GN(s){var o=-1,f=s==null?0:s.length;for(this.__data__=new p5;++o<f;)this.add(s[o])}GN.prototype.add=GN.prototype.push=CDt,GN.prototype.has=SDt;function ADt(s,o){for(var f=-1,p=s==null?0:s.length;++f<p;)if(o(s[f],f,s))return!0;return!1}function FOe(s,o){return s.has(o)}var LDt=1,MDt=2;function ROe(s,o,f,p,w,k){var b=f&LDt,_=s.length,A=o.length;if(_!=A&&!(b&&A>_))return!1;var N=k.get(s),B=k.get(o);if(N&&B)return N==o&&B==s;var F=-1,H=!0,j=f&MDt?new GN:void 0;for(k.set(s,o),k.set(o,s);++F<_;){var V=s[F],Z=o[F];if(p)var ae=b?p(Z,V,F,o,s,k):p(V,Z,F,s,o,k);if(ae!==void 0){if(ae)continue;H=!1;break}if(j){if(!ADt(o,function(le,ce){if(!FOe(j,ce)&&(V===le||w(V,le,f,p,k)))return j.push(ce)})){H=!1;break}}else if(!(V===Z||w(V,Z,f,p,k))){H=!1;break}}return k.delete(s),k.delete(o),H}function DDt(s){var o=-1,f=Array(s.size);return s.forEach(function(p,w){f[++o]=[w,p]}),f}function wde(s){var o=-1,f=Array(s.size);return s.forEach(function(p){f[++o]=p}),f}var IDt=1,ODt=2,NDt="[object Boolean]",PDt="[object Date]",BDt="[object Error]",FDt="[object Map]",RDt="[object Number]",jDt="[object RegExp]",$Dt="[object Set]",HDt="[object String]",zDt="[object Symbol]",GDt="[object ArrayBuffer]",qDt="[object DataView]",jOe=Gb?Gb.prototype:void 0,mde=jOe?jOe.valueOf:void 0;function VDt(s,o,f,p,w,k,b){switch(f){case qDt:if(s.byteLength!=o.byteLength||s.byteOffset!=o.byteOffset)return!1;s=s.buffer,o=o.buffer;case GDt:return!(s.byteLength!=o.byteLength||!k(new OK(s),new OK(o)));case NDt:case PDt:case RDt:return kA(+s,+o);case BDt:return s.name==o.name&&s.message==o.message;case jDt:case HDt:return s==o+"";case FDt:var _=DDt;case $Dt:var A=p&IDt;if(_||(_=wde),s.size!=o.size&&!A)return!1;var N=b.get(s);if(N)return N==o;p|=ODt,b.set(s,o);var B=ROe(_(s),_(o),p,w,k,b);return b.delete(s),B;case zDt:if(mde)return mde.call(s)==mde.call(o)}return!1}var UDt=1,KDt=Object.prototype,WDt=KDt.hasOwnProperty;function YDt(s,o,f,p,w,k){var b=f&UDt,_=gde(s),A=_.length,N=gde(o),B=N.length;if(A!=B&&!b)return!1;for(var F=A;F--;){var H=_[F];if(!(b?H in o:WDt.call(o,H)))return!1}var j=k.get(s),V=k.get(o);if(j&&V)return j==o&&V==s;var Z=!0;k.set(s,o),k.set(o,s);for(var ae=b;++F<A;){H=_[F];var le=s[H],ce=o[H];if(p)var be=b?p(ce,le,H,o,s,k):p(le,ce,H,s,o,k);if(!(be===void 0?le===ce||w(le,ce,f,p,k):be)){Z=!1;break}ae||(ae=H=="constructor")}if(Z&&!ae){var xe=s.constructor,Ee=o.constructor;xe!=Ee&&"constructor"in s&&"constructor"in o&&!(typeof xe=="function"&&xe instanceof xe&&typeof Ee=="function"&&Ee instanceof Ee)&&(Z=!1)}return k.delete(s),k.delete(o),Z}var XDt=1,$Oe="[object Arguments]",HOe="[object Array]",NK="[object Object]",QDt=Object.prototype,zOe=QDt.hasOwnProperty;function ZDt(s,o,f,p,w,k){var b=jf(s),_=jf(o),A=b?HOe:PA(s),N=_?HOe:PA(o);A=A==$Oe?NK:A,N=N==$Oe?NK:N;var B=A==NK,F=N==NK,H=A==N;if(H&&DA(s)){if(!DA(o))return!1;b=!0,B=!1}if(H&&!B)return k||(k=new Zw),b||LK(s)?ROe(s,o,f,p,w,k):VDt(s,o,A,f,p,w,k);if(!(f&XDt)){var j=B&&zOe.call(s,"__wrapped__"),V=F&&zOe.call(o,"__wrapped__");if(j||V){var Z=j?s.value():s,ae=V?o.value():o;return k||(k=new Zw),w(Z,ae,f,p,k)}}return H?(k||(k=new Zw),YDt(s,o,f,p,w,k)):!1}function yde(s,o,f,p,w){return s===o?!0:s==null||o==null||!s3(s)&&!s3(o)?s!==s&&o!==o:ZDt(s,o,f,p,yde,w)}var JDt=1,eIt=2;function tIt(s,o,f,p){var w=f.length,k=w,b=!p;if(s==null)return!k;for(s=Object(s);w--;){var _=f[w];if(b&&_[2]?_[1]!==s[_[0]]:!(_[0]in s))return!1}for(;++w<k;){_=f[w];var A=_[0],N=s[A],B=_[1];if(b&&_[2]){if(N===void 0&&!(A in s))return!1}else{var F=new Zw;if(p)var H=p(N,B,A,s,o,F);if(!(H===void 0?yde(B,N,JDt|eIt,p,F):H))return!1}}return!0}function GOe(s){return s===s&&!_2(s)}function nIt(s){for(var o=M2(s),f=o.length;f--;){var p=o[f],w=s[p];o[f]=[p,w,GOe(w)]}return o}function qOe(s,o){return function(f){return f==null?!1:f[s]===o&&(o!==void 0||s in Object(f))}}function rIt(s){var o=nIt(s);return o.length==1&&o[0][2]?qOe(o[0][0],o[0][1]):function(f){return f===s||tIt(f,s,o)}}function iIt(s,o){return s!=null&&o in Object(s)}function VOe(s,o,f){o=MK(o,s);for(var p=-1,w=o.length,k=!1;++p<w;){var b=HN(o[p]);if(!(k=s!=null&&f(s,b)))break;s=s[b]}return k||++p!=w?k:(w=s==null?0:s.length,!!w&&cde(w)&&EK(b,w)&&(jf(s)||MA(s)))}function UOe(s,o){return s!=null&&VOe(s,o,iIt)}var sIt=1,aIt=2;function oIt(s,o){return lde(s)&&GOe(o)?qOe(HN(s),o):function(f){var p=MLt(f,s);return p===void 0&&p===o?UOe(f,s):yde(o,p,sIt|aIt)}}function cIt(s){return function(o){return o==null?void 0:o[s]}}function uIt(s){return function(o){return DK(o,s)}}function lIt(s){return lde(s)?cIt(HN(s)):uIt(s)}function t8(s){return typeof s=="function"?s:s==null?ZE:typeof s=="object"?jf(s)?oIt(s[0],s[1]):rIt(s):lIt(s)}function hIt(s){return function(o,f,p){for(var w=-1,k=Object(o),b=p(o),_=b.length;_--;){var A=b[s?_:++w];if(f(k[A],A,k)===!1)break}return o}}var fIt=hIt();const kde=fIt;function KOe(s,o){return s&&kde(s,o,M2)}function dIt(s,o){return function(f,p){if(f==null)return f;if(!e8(f))return s(f,p);for(var w=f.length,k=o?w:-1,b=Object(f);(o?k--:++k<w)&&p(b[k],k,b)!==!1;);return f}}var gIt=dIt(KOe);const PK=gIt;var pIt=function(){return Gw.Date.now()};const WOe=pIt;var YOe=Object.prototype,bIt=YOe.hasOwnProperty,vIt=CK(function(s,o){s=Object(s);var f=-1,p=o.length,w=p>2?o[2]:void 0;for(w&&jN(o[0],o[1],w)&&(p=1);++f<p;)for(var k=o[f],b=JE(k),_=-1,A=b.length;++_<A;){var N=b[_],B=s[N];(B===void 0||kA(B,YOe[N])&&!bIt.call(s,N))&&(s[N]=k[N])}return s});const BA=vIt;function xde(s,o,f){(f!==void 0&&!kA(s[o],f)||f===void 0&&!(o in s))&&TK(s,o,f)}function XOe(s){return s3(s)&&e8(s)}function Ede(s,o){if(!(o==="constructor"&&typeof s[o]=="function")&&o!="__proto__")return s[o]}function wIt(s){return RN(s,JE(s))}function mIt(s,o,f,p,w,k,b){var _=Ede(s,f),A=Ede(o,f),N=b.get(A);if(N){xde(s,f,N);return}var B=k?k(_,A,f+"",s,o,b):void 0,F=B===void 0;if(F){var H=jf(A),j=!H&&DA(A),V=!H&&!j&&LK(A);B=A,H||j||V?jf(_)?B=_:XOe(_)?B=KIe(_):j?(F=!1,B=vOe(A,!0)):V?(F=!1,B=MOe(A,!0)):B=[]:fOe(A)||MA(A)?(B=_,MA(_)?B=wIt(_):(!_2(_)||yA(_))&&(B=DOe(A))):F=!1}F&&(b.set(A,B),w(B,A,p,k,b),b.delete(A)),xde(s,f,B)}function QOe(s,o,f,p,w){s!==o&&kde(o,function(k,b){if(w||(w=new Zw),_2(k))mIt(s,o,b,f,QOe,p,w);else{var _=p?p(Ede(s,b),k,b+"",s,o,w):void 0;_===void 0&&(_=k),xde(s,b,_)}},JE)}function yIt(s,o,f){for(var p=-1,w=s==null?0:s.length;++p<w;)if(f(o,s[p]))return!0;return!1}function BK(s){var o=s==null?0:s.length;return o?s[o-1]:void 0}function ZOe(s){return typeof s=="function"?s:ZE}function hr(s,o){var f=jf(s)?YIe:PK;return f(s,ZOe(o))}function kIt(s,o){var f=[];return PK(s,function(p,w,k){o(p,w,k)&&f.push(p)}),f}function v5(s,o){var f=jf(s)?wOe:kIt;return f(s,t8(o))}function xIt(s){return function(o,f,p){var w=Object(o);if(!e8(o)){var k=t8(f);o=M2(o),f=function(_){return k(w[_],_,w)}}var b=s(o,f,p);return b>-1?w[k?o[b]:b]:void 0}}var EIt=Math.max;function TIt(s,o,f){var p=s==null?0:s.length;if(!p)return-1;var w=f==null?0:iAt(f);return w<0&&(w=EIt(p+w,0)),XIe(s,t8(o),w)}var _It=xIt(TIt);const Tde=_It;function JOe(s,o){var f=-1,p=e8(s)?Array(s.length):[];return PK(s,function(w,k,b){p[++f]=o(w,k,b)}),p}function $f(s,o){var f=jf(s)?AA:JOe;return f(s,t8(o))}function CIt(s,o){return s==null?s:kde(s,ZOe(o),JE)}function SIt(s,o){return s>o}var AIt=Object.prototype,LIt=AIt.hasOwnProperty;function MIt(s,o){return s!=null&&LIt.call(s,o)}function eo(s,o){return s!=null&&VOe(s,o,MIt)}function DIt(s,o){return AA(o,function(f){return s[f]})}function w5(s){return s==null?[]:DIt(s,M2(s))}var IIt="[object Map]",OIt="[object Set]",NIt=Object.prototype,PIt=NIt.hasOwnProperty;function FA(s){if(s==null)return!0;if(e8(s)&&(jf(s)||typeof s=="string"||typeof s.splice=="function"||DA(s)||LK(s)||MA(s)))return!s.length;var o=PA(s);if(o==IIt||o==OIt)return!s.size;if(SK(s))return!cOe(s).length;for(var f in s)if(PIt.call(s,f))return!1;return!0}function of(s){return s===void 0}function eNe(s,o){return s<o}function FK(s,o){var f={};return o=t8(o),KOe(s,function(p,w,k){TK(f,w,o(p,w,k))}),f}function _de(s,o,f){for(var p=-1,w=s.length;++p<w;){var k=s[p],b=o(k);if(b!=null&&(_===void 0?b===b&&!QE(b):f(b,_)))var _=b,A=k}return A}function t9(s){return s&&s.length?_de(s,ZE,SIt):void 0}var BIt=CAt(function(s,o,f){QOe(s,o,f)});const Cde=BIt;function qN(s){return s&&s.length?_de(s,ZE,eNe):void 0}function Sde(s,o){return s&&s.length?_de(s,t8(o),eNe):void 0}function FIt(s,o,f,p){if(!_2(s))return s;o=MK(o,s);for(var w=-1,k=o.length,b=k-1,_=s;_!=null&&++w<k;){var A=HN(o[w]),N=f;if(A==="__proto__"||A==="constructor"||A==="prototype")return s;if(w!=b){var B=_[A];N=p?p(B,A,_):void 0,N===void 0&&(N=_2(B)?B:EK(o[w+1])?[]:{})}_K(_,A,N),_=_[A]}return s}function RIt(s,o,f){for(var p=-1,w=o.length,k={};++p<w;){var b=o[p],_=DK(s,b);f(_,b)&&FIt(k,MK(b,s),_)}return k}function jIt(s,o){var f=s.length;for(s.sort(o);f--;)s[f]=s[f].value;return s}function $It(s,o){if(s!==o){var f=s!==void 0,p=s===null,w=s===s,k=QE(s),b=o!==void 0,_=o===null,A=o===o,N=QE(o);if(!_&&!N&&!k&&s>o||k&&b&&A&&!_&&!N||p&&b&&A||!f&&A||!w)return 1;if(!p&&!k&&!N&&s<o||N&&f&&w&&!p&&!k||_&&f&&w||!b&&w||!A)return-1}return 0}function HIt(s,o,f){for(var p=-1,w=s.criteria,k=o.criteria,b=w.length,_=f.length;++p<b;){var A=$It(w[p],k[p]);if(A){if(p>=_)return A;var N=f[p];return A*(N=="desc"?-1:1)}}return s.index-o.index}function zIt(s,o,f){o.length?o=AA(o,function(k){return jf(k)?function(b){return DK(b,k.length===1?k[0]:k)}:k}):o=[ZE];var p=-1;o=AA(o,AK(t8));var w=JOe(s,function(k,b,_){var A=AA(o,function(N){return N(k)});return{criteria:A,index:++p,value:k}});return jIt(w,function(k,b){return HIt(k,b,f)})}function GIt(s,o){return RIt(s,o,function(f,p){return UOe(s,p)})}var qIt=ILt(function(s,o){return s==null?{}:GIt(s,o)});const VN=qIt;var VIt=Math.ceil,UIt=Math.max;function KIt(s,o,f,p){for(var w=-1,k=UIt(VIt((o-s)/(f||1)),0),b=Array(k);k--;)b[p?k:++w]=s,s+=f;return b}function WIt(s){return function(o,f,p){return p&&typeof p!="number"&&jN(o,f,p)&&(f=p=void 0),o=kK(o),f===void 0?(f=o,o=0):f=kK(f),p=p===void 0?o<f?1:-1:kK(p),KIt(o,f,p,s)}}var YIt=WIt();const n9=YIt;function XIt(s,o,f,p,w){return w(s,function(k,b,_){f=p?(p=!1,k):o(f,k,b,_)}),f}function UN(s,o,f){var p=jf(s)?jLt:XIt,w=arguments.length<3;return p(s,t8(o),f,w,PK)}var QIt=CK(function(s,o){if(s==null)return[];var f=o.length;return f>1&&jN(s,o[0],o[1])?o=[]:f>2&&jN(o[0],o[1],o[2])&&(o=[o[0]]),zIt(s,IK(o,1),[])});const KN=QIt;var ZIt=1/0,JIt=NA&&1/wde(new NA([,-0]))[1]==ZIt?function(s){return new NA(s)}:uAt;const eOt=JIt;var tOt=200;function nOt(s,o,f){var p=-1,w=yAt,k=s.length,b=!0,_=[],A=_;if(f)b=!1,w=yIt;else if(k>=tOt){var N=o?null:eOt(s);if(N)return wde(N);b=!1,w=FOe,A=new GN}else A=o?[]:_;e:for(;++p<k;){var B=s[p],F=o?o(B):B;if(B=f||B!==0?B:0,b&&F===F){for(var H=A.length;H--;)if(A[H]===F)continue e;o&&A.push(F),_.push(B)}else w(A,F,f)||(A!==_&&A.push(F),_.push(B))}return _}var rOt=CK(function(s){return nOt(IK(s,1,XOe,!0))});const iOt=rOt;var sOt=0;function RK(s){var o=++sOt;return uOe(s)+o}function aOt(s,o,f){for(var p=-1,w=s.length,k=o.length,b={};++p<w;){var _=p<k?o[p]:void 0;f(b,s[p],_)}return b}function oOt(s,o){return aOt(s||[],o||[],_K)}var cOt="\0",r9="\0",tNe="";class Hf{constructor(o={}){this._isDirected=eo(o,"directed")?o.directed:!0,this._isMultigraph=eo(o,"multigraph")?o.multigraph:!1,this._isCompound=eo(o,"compound")?o.compound:!1,this._label=void 0,this._defaultNodeLabelFn=LA(void 0),this._defaultEdgeLabelFn=LA(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[r9]={}),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(o){return this._label=o,this}graph(){return this._label}setDefaultNodeLabel(o){return yA(o)||(o=LA(o)),this._defaultNodeLabelFn=o,this}nodeCount(){return this._nodeCount}nodes(){return M2(this._nodes)}sources(){var o=this;return v5(this.nodes(),function(f){return FA(o._in[f])})}sinks(){var o=this;return v5(this.nodes(),function(f){return FA(o._out[f])})}setNodes(o,f){var p=arguments,w=this;return hr(o,function(k){p.length>1?w.setNode(k,f):w.setNode(k)}),this}setNode(o,f){return eo(this._nodes,o)?(arguments.length>1&&(this._nodes[o]=f),this):(this._nodes[o]=arguments.length>1?f:this._defaultNodeLabelFn(o),this._isCompound&&(this._parent[o]=r9,this._children[o]={},this._children[r9][o]=!0),this._in[o]={},this._preds[o]={},this._out[o]={},this._sucs[o]={},++this._nodeCount,this)}node(o){return this._nodes[o]}hasNode(o){return eo(this._nodes,o)}removeNode(o){var f=this;if(eo(this._nodes,o)){var p=function(w){f.removeEdge(f._edgeObjs[w])};delete this._nodes[o],this._isCompound&&(this._removeFromParentsChildList(o),delete this._parent[o],hr(this.children(o),function(w){f.setParent(w)}),delete this._children[o]),hr(M2(this._in[o]),p),delete this._in[o],delete this._preds[o],hr(M2(this._out[o]),p),delete this._out[o],delete this._sucs[o],--this._nodeCount}return this}setParent(o,f){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(of(f))f=r9;else{f+="";for(var p=f;!of(p);p=this.parent(p))if(p===o)throw new Error("Setting "+f+" as parent of "+o+" would create a cycle");this.setNode(f)}return this.setNode(o),this._removeFromParentsChildList(o),this._parent[o]=f,this._children[f][o]=!0,this}_removeFromParentsChildList(o){delete this._children[this._parent[o]][o]}parent(o){if(this._isCompound){var f=this._parent[o];if(f!==r9)return f}}children(o){if(of(o)&&(o=r9),this._isCompound){var f=this._children[o];if(f)return M2(f)}else{if(o===r9)return this.nodes();if(this.hasNode(o))return[]}}predecessors(o){var f=this._preds[o];if(f)return M2(f)}successors(o){var f=this._sucs[o];if(f)return M2(f)}neighbors(o){var f=this.predecessors(o);if(f)return iOt(f,this.successors(o))}isLeaf(o){var f;return this.isDirected()?f=this.successors(o):f=this.neighbors(o),f.length===0}filterNodes(o){var f=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});f.setGraph(this.graph());var p=this;hr(this._nodes,function(b,_){o(_)&&f.setNode(_,b)}),hr(this._edgeObjs,function(b){f.hasNode(b.v)&&f.hasNode(b.w)&&f.setEdge(b,p.edge(b))});var w={};function k(b){var _=p.parent(b);return _===void 0||f.hasNode(_)?(w[b]=_,_):_ in w?w[_]:k(_)}return this._isCompound&&hr(f.nodes(),function(b){f.setParent(b,k(b))}),f}setDefaultEdgeLabel(o){return yA(o)||(o=LA(o)),this._defaultEdgeLabelFn=o,this}edgeCount(){return this._edgeCount}edges(){return w5(this._edgeObjs)}setPath(o,f){var p=this,w=arguments;return UN(o,function(k,b){return w.length>1?p.setEdge(k,b,f):p.setEdge(k,b),b}),this}setEdge(){var o,f,p,w,k=!1,b=arguments[0];typeof b=="object"&&b!==null&&"v"in b?(o=b.v,f=b.w,p=b.name,arguments.length===2&&(w=arguments[1],k=!0)):(o=b,f=arguments[1],p=arguments[3],arguments.length>2&&(w=arguments[2],k=!0)),o=""+o,f=""+f,of(p)||(p=""+p);var _=WN(this._isDirected,o,f,p);if(eo(this._edgeLabels,_))return k&&(this._edgeLabels[_]=w),this;if(!of(p)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(o),this.setNode(f),this._edgeLabels[_]=k?w:this._defaultEdgeLabelFn(o,f,p);var A=uOt(this._isDirected,o,f,p);return o=A.v,f=A.w,Object.freeze(A),this._edgeObjs[_]=A,nNe(this._preds[f],o),nNe(this._sucs[o],f),this._in[f][_]=A,this._out[o][_]=A,this._edgeCount++,this}edge(o,f,p){var w=arguments.length===1?Ade(this._isDirected,arguments[0]):WN(this._isDirected,o,f,p);return this._edgeLabels[w]}hasEdge(o,f,p){var w=arguments.length===1?Ade(this._isDirected,arguments[0]):WN(this._isDirected,o,f,p);return eo(this._edgeLabels,w)}removeEdge(o,f,p){var w=arguments.length===1?Ade(this._isDirected,arguments[0]):WN(this._isDirected,o,f,p),k=this._edgeObjs[w];return k&&(o=k.v,f=k.w,delete this._edgeLabels[w],delete this._edgeObjs[w],rNe(this._preds[f],o),rNe(this._sucs[o],f),delete this._in[f][w],delete this._out[o][w],this._edgeCount--),this}inEdges(o,f){var p=this._in[o];if(p){var w=w5(p);return f?v5(w,function(k){return k.v===f}):w}}outEdges(o,f){var p=this._out[o];if(p){var w=w5(p);return f?v5(w,function(k){return k.w===f}):w}}nodeEdges(o,f){var p=this.inEdges(o,f);if(p)return p.concat(this.outEdges(o,f))}}Hf.prototype._nodeCount=0,Hf.prototype._edgeCount=0;function nNe(s,o){s[o]?s[o]++:s[o]=1}function rNe(s,o){--s[o]||delete s[o]}function WN(s,o,f,p){var w=""+o,k=""+f;if(!s&&w>k){var b=w;w=k,k=b}return w+tNe+k+tNe+(of(p)?cOt:p)}function uOt(s,o,f,p){var w=""+o,k=""+f;if(!s&&w>k){var b=w;w=k,k=b}var _={v:w,w:k};return p&&(_.name=p),_}function Ade(s,o){return WN(s,o.v,o.w,o.name)}class lOt{constructor(){var o={};o._next=o._prev=o,this._sentinel=o}dequeue(){var o=this._sentinel,f=o._prev;if(f!==o)return iNe(f),f}enqueue(o){var f=this._sentinel;o._prev&&o._next&&iNe(o),o._next=f._next,f._next._prev=o,f._next=o,o._prev=f}toString(){for(var o=[],f=this._sentinel,p=f._prev;p!==f;)o.push(JSON.stringify(p,hOt)),p=p._prev;return"["+o.join(", ")+"]"}}function iNe(s){s._prev._next=s._next,s._next._prev=s._prev,delete s._next,delete s._prev}function hOt(s,o){if(s!=="_next"&&s!=="_prev")return o}var fOt=LA(1);function dOt(s,o){if(s.nodeCount()<=1)return[];var f=pOt(s,o||fOt),p=gOt(f.graph,f.buckets,f.zeroIdx);return OA($f(p,function(w){return s.outEdges(w.v,w.w)}))}function gOt(s,o,f){for(var p=[],w=o[o.length-1],k=o[0],b;s.nodeCount();){for(;b=k.dequeue();)Lde(s,o,f,b);for(;b=w.dequeue();)Lde(s,o,f,b);if(s.nodeCount()){for(var _=o.length-2;_>0;--_)if(b=o[_].dequeue(),b){p=p.concat(Lde(s,o,f,b,!0));break}}}return p}function Lde(s,o,f,p,w){var k=w?[]:void 0;return hr(s.inEdges(p.v),function(b){var _=s.edge(b),A=s.node(b.v);w&&k.push({v:b.v,w:b.w}),A.out-=_,Mde(o,f,A)}),hr(s.outEdges(p.v),function(b){var _=s.edge(b),A=b.w,N=s.node(A);N.in-=_,Mde(o,f,N)}),s.removeNode(p.v),k}function pOt(s,o){var f=new Hf,p=0,w=0;hr(s.nodes(),function(_){f.setNode(_,{v:_,in:0,out:0})}),hr(s.edges(),function(_){var A=f.edge(_.v,_.w)||0,N=o(_),B=A+N;f.setEdge(_.v,_.w,B),w=Math.max(w,f.node(_.v).out+=N),p=Math.max(p,f.node(_.w).in+=N)});var k=n9(w+p+3).map(function(){return new lOt}),b=p+1;return hr(f.nodes(),function(_){Mde(k,b,f.node(_))}),{graph:f,buckets:k,zeroIdx:b}}function Mde(s,o,f){f.out?f.in?s[f.out-f.in+o].enqueue(f):s[s.length-1].enqueue(f):s[0].enqueue(f)}function bOt(s){var o=s.graph().acyclicer==="greedy"?dOt(s,f(s)):vOt(s);hr(o,function(p){var w=s.edge(p);s.removeEdge(p),w.forwardName=p.name,w.reversed=!0,s.setEdge(p.w,p.v,w,RK("rev"))});function f(p){return function(w){return p.edge(w).weight}}}function vOt(s){var o=[],f={},p={};function w(k){eo(p,k)||(p[k]=!0,f[k]=!0,hr(s.outEdges(k),function(b){eo(f,b.w)?o.push(b):w(b.w)}),delete f[k])}return hr(s.nodes(),w),o}function wOt(s){hr(s.edges(),function(o){var f=s.edge(o);if(f.reversed){s.removeEdge(o);var p=f.forwardName;delete f.reversed,delete f.forwardName,s.setEdge(o.w,o.v,f,p)}})}function RA(s,o,f,p){var w;do w=RK(p);while(s.hasNode(w));return f.dummy=o,s.setNode(w,f),w}function mOt(s){var o=new Hf().setGraph(s.graph());return hr(s.nodes(),function(f){o.setNode(f,s.node(f))}),hr(s.edges(),function(f){var p=o.edge(f.v,f.w)||{weight:0,minlen:1},w=s.edge(f);o.setEdge(f.v,f.w,{weight:p.weight+w.weight,minlen:Math.max(p.minlen,w.minlen)})}),o}function sNe(s){var o=new Hf({multigraph:s.isMultigraph()}).setGraph(s.graph());return hr(s.nodes(),function(f){s.children(f).length||o.setNode(f,s.node(f))}),hr(s.edges(),function(f){o.setEdge(f,s.edge(f))}),o}function aNe(s,o){var f=s.x,p=s.y,w=o.x-f,k=o.y-p,b=s.width/2,_=s.height/2;if(!w&&!k)throw new Error("Not possible to find intersection inside of the rectangle");var A,N;return Math.abs(k)*b>Math.abs(w)*_?(k<0&&(_=-_),A=_*w/k,N=_):(w<0&&(b=-b),A=b,N=b*k/w),{x:f+A,y:p+N}}function jK(s){var o=$f(n9(cNe(s)+1),function(){return[]});return hr(s.nodes(),function(f){var p=s.node(f),w=p.rank;of(w)||(o[w][p.order]=f)}),o}function yOt(s){var o=qN($f(s.nodes(),function(f){return s.node(f).rank}));hr(s.nodes(),function(f){var p=s.node(f);eo(p,"rank")&&(p.rank-=o)})}function kOt(s){var o=qN($f(s.nodes(),function(k){return s.node(k).rank})),f=[];hr(s.nodes(),function(k){var b=s.node(k).rank-o;f[b]||(f[b]=[]),f[b].push(k)});var p=0,w=s.graph().nodeRankFactor;hr(f,function(k,b){of(k)&&b%w!==0?--p:p&&hr(k,function(_){s.node(_).rank+=p})})}function oNe(s,o,f,p){var w={width:0,height:0};return arguments.length>=4&&(w.rank=f,w.order=p),RA(s,"border",w,o)}function cNe(s){return t9($f(s.nodes(),function(o){var f=s.node(o).rank;if(!of(f))return f}))}function xOt(s,o){var f={lhs:[],rhs:[]};return hr(s,function(p){o(p)?f.lhs.push(p):f.rhs.push(p)}),f}function EOt(s,o){var f=WOe();try{return o()}finally{console.log(s+" time: "+(WOe()-f)+"ms")}}function TOt(s,o){return o()}function _Ot(s){function o(f){var p=s.children(f),w=s.node(f);if(p.length&&hr(p,o),eo(w,"minRank")){w.borderLeft=[],w.borderRight=[];for(var k=w.minRank,b=w.maxRank+1;k<b;++k)uNe(s,"borderLeft","_bl",f,w,k),uNe(s,"borderRight","_br",f,w,k)}}hr(s.children(),o)}function uNe(s,o,f,p,w,k){var b={width:0,height:0,rank:k,borderType:o},_=w[o][k-1],A=RA(s,"border",b,f);w[o][k]=A,s.setParent(A,p),_&&s.setEdge(_,A,{weight:1})}function COt(s){var o=s.graph().rankdir.toLowerCase();(o==="lr"||o==="rl")&&lNe(s)}function SOt(s){var o=s.graph().rankdir.toLowerCase();(o==="bt"||o==="rl")&&AOt(s),(o==="lr"||o==="rl")&&(LOt(s),lNe(s))}function lNe(s){hr(s.nodes(),function(o){hNe(s.node(o))}),hr(s.edges(),function(o){hNe(s.edge(o))})}function hNe(s){var o=s.width;s.width=s.height,s.height=o}function AOt(s){hr(s.nodes(),function(o){Dde(s.node(o))}),hr(s.edges(),function(o){var f=s.edge(o);hr(f.points,Dde),eo(f,"y")&&Dde(f)})}function Dde(s){s.y=-s.y}function LOt(s){hr(s.nodes(),function(o){Ide(s.node(o))}),hr(s.edges(),function(o){var f=s.edge(o);hr(f.points,Ide),eo(f,"x")&&Ide(f)})}function Ide(s){var o=s.x;s.x=s.y,s.y=o}function MOt(s){s.graph().dummyChains=[],hr(s.edges(),function(o){DOt(s,o)})}function DOt(s,o){var f=o.v,p=s.node(f).rank,w=o.w,k=s.node(w).rank,b=o.name,_=s.edge(o),A=_.labelRank;if(k!==p+1){s.removeEdge(o);var N,B,F;for(F=0,++p;p<k;++F,++p)_.points=[],B={width:0,height:0,edgeLabel:_,edgeObj:o,rank:p},N=RA(s,"edge",B,"_d"),p===A&&(B.width=_.width,B.height=_.height,B.dummy="edge-label",B.labelpos=_.labelpos),s.setEdge(f,N,{weight:_.weight},b),F===0&&s.graph().dummyChains.push(N),f=N;s.setEdge(f,w,{weight:_.weight},b)}}function IOt(s){hr(s.graph().dummyChains,function(o){var f=s.node(o),p=f.edgeLabel,w;for(s.setEdge(f.edgeObj,p);f.dummy;)w=s.successors(o)[0],s.removeNode(o),p.points.push({x:f.x,y:f.y}),f.dummy==="edge-label"&&(p.x=f.x,p.y=f.y,p.width=f.width,p.height=f.height),o=w,f=s.node(o)})}function Ode(s){var o={};function f(p){var w=s.node(p);if(eo(o,p))return w.rank;o[p]=!0;var k=qN($f(s.outEdges(p),function(b){return f(b.w)-s.edge(b).minlen}));return(k===Number.POSITIVE_INFINITY||k===void 0||k===null)&&(k=0),w.rank=k}hr(s.sources(),f)}function YN(s,o){return s.node(o.w).rank-s.node(o.v).rank-s.edge(o).minlen}function fNe(s){var o=new Hf({directed:!1}),f=s.nodes()[0],p=s.nodeCount();o.setNode(f,{});for(var w,k;OOt(o,s)<p;)w=NOt(o,s),k=o.hasNode(w.v)?YN(s,w):-YN(s,w),POt(o,s,k);return o}function OOt(s,o){function f(p){hr(o.nodeEdges(p),function(w){var k=w.v,b=p===k?w.w:k;!s.hasNode(b)&&!YN(o,w)&&(s.setNode(b,{}),s.setEdge(p,b,{}),f(b))})}return hr(s.nodes(),f),s.nodeCount()}function NOt(s,o){return Sde(o.edges(),function(f){if(s.hasNode(f.v)!==s.hasNode(f.w))return YN(o,f)})}function POt(s,o,f){hr(s.nodes(),function(p){o.node(p).rank+=f})}function BOt(){}BOt.prototype=new Error;function dNe(s,o,f){jf(o)||(o=[o]);var p=(s.isDirected()?s.successors:s.neighbors).bind(s),w=[],k={};return hr(o,function(b){if(!s.hasNode(b))throw new Error("Graph does not have node: "+b);gNe(s,b,f==="post",k,p,w)}),w}function gNe(s,o,f,p,w,k){eo(p,o)||(p[o]=!0,f||k.push(o),hr(w(o),function(b){gNe(s,b,f,p,w,k)}),f&&k.push(o))}function FOt(s,o){return dNe(s,o,"post")}function ROt(s,o){return dNe(s,o,"pre")}i9.initLowLimValues=Pde,i9.initCutValues=Nde,i9.calcCutValue=pNe,i9.leaveEdge=vNe,i9.enterEdge=wNe,i9.exchangeEdges=mNe;function i9(s){s=mOt(s),Ode(s);var o=fNe(s);Pde(o),Nde(o,s);for(var f,p;f=vNe(o);)p=wNe(o,s,f),mNe(o,s,f,p)}function Nde(s,o){var f=FOt(s,s.nodes());f=f.slice(0,f.length-1),hr(f,function(p){jOt(s,o,p)})}function jOt(s,o,f){var p=s.node(f),w=p.parent;s.edge(f,w).cutvalue=pNe(s,o,f)}function pNe(s,o,f){var p=s.node(f),w=p.parent,k=!0,b=o.edge(f,w),_=0;return b||(k=!1,b=o.edge(w,f)),_=b.weight,hr(o.nodeEdges(f),function(A){var N=A.v===f,B=N?A.w:A.v;if(B!==w){var F=N===k,H=o.edge(A).weight;if(_+=F?H:-H,HOt(s,f,B)){var j=s.edge(f,B).cutvalue;_+=F?-j:j}}}),_}function Pde(s,o){arguments.length<2&&(o=s.nodes()[0]),bNe(s,{},1,o)}function bNe(s,o,f,p,w){var k=f,b=s.node(p);return o[p]=!0,hr(s.neighbors(p),function(_){eo(o,_)||(f=bNe(s,o,f,_,p))}),b.low=k,b.lim=f++,w?b.parent=w:delete b.parent,f}function vNe(s){return Tde(s.edges(),function(o){return s.edge(o).cutvalue<0})}function wNe(s,o,f){var p=f.v,w=f.w;o.hasEdge(p,w)||(p=f.w,w=f.v);var k=s.node(p),b=s.node(w),_=k,A=!1;k.lim>b.lim&&(_=b,A=!0);var N=v5(o.edges(),function(B){return A===yNe(s,s.node(B.v),_)&&A!==yNe(s,s.node(B.w),_)});return Sde(N,function(B){return YN(o,B)})}function mNe(s,o,f,p){var w=f.v,k=f.w;s.removeEdge(w,k),s.setEdge(p.v,p.w,{}),Pde(s),Nde(s,o),$Ot(s,o)}function $Ot(s,o){var f=Tde(s.nodes(),function(w){return!o.node(w).parent}),p=ROt(s,f);p=p.slice(1),hr(p,function(w){var k=s.node(w).parent,b=o.edge(w,k),_=!1;b||(b=o.edge(k,w),_=!0),o.node(w).rank=o.node(k).rank+(_?b.minlen:-b.minlen)})}function HOt(s,o,f){return s.hasEdge(o,f)}function yNe(s,o,f){return f.low<=o.lim&&o.lim<=f.lim}function zOt(s){switch(s.graph().ranker){case"network-simplex":kNe(s);break;case"tight-tree":qOt(s);break;case"longest-path":GOt(s);break;default:kNe(s)}}var GOt=Ode;function qOt(s){Ode(s),fNe(s)}function kNe(s){i9(s)}function VOt(s){var o=RA(s,"root",{},"_root"),f=UOt(s),p=t9(w5(f))-1,w=2*p+1;s.graph().nestingRoot=o,hr(s.edges(),function(b){s.edge(b).minlen*=w});var k=KOt(s)+1;hr(s.children(),function(b){xNe(s,o,w,k,p,f,b)}),s.graph().nodeRankFactor=w}function xNe(s,o,f,p,w,k,b){var _=s.children(b);if(!_.length){b!==o&&s.setEdge(o,b,{weight:0,minlen:f});return}var A=oNe(s,"_bt"),N=oNe(s,"_bb"),B=s.node(b);s.setParent(A,b),B.borderTop=A,s.setParent(N,b),B.borderBottom=N,hr(_,function(F){xNe(s,o,f,p,w,k,F);var H=s.node(F),j=H.borderTop?H.borderTop:F,V=H.borderBottom?H.borderBottom:F,Z=H.borderTop?p:2*p,ae=j!==V?1:w-k[b]+1;s.setEdge(A,j,{weight:Z,minlen:ae,nestingEdge:!0}),s.setEdge(V,N,{weight:Z,minlen:ae,nestingEdge:!0})}),s.parent(b)||s.setEdge(o,A,{weight:0,minlen:w+k[b]})}function UOt(s){var o={};function f(p,w){var k=s.children(p);k&&k.length&&hr(k,function(b){f(b,w+1)}),o[p]=w}return hr(s.children(),function(p){f(p,1)}),o}function KOt(s){return UN(s.edges(),function(o,f){return o+s.edge(f).weight},0)}function WOt(s){var o=s.graph();s.removeNode(o.nestingRoot),delete o.nestingRoot,hr(s.edges(),function(f){var p=s.edge(f);p.nestingEdge&&s.removeEdge(f)})}function YOt(s,o,f){var p={},w;hr(f,function(k){for(var b=s.parent(k),_,A;b;){if(_=s.parent(b),_?(A=p[_],p[_]=b):(A=w,w=b),A&&A!==b){o.setEdge(A,b);return}b=_}})}function XOt(s,o,f){var p=QOt(s),w=new Hf({compound:!0}).setGraph({root:p}).setDefaultNodeLabel(function(k){return s.node(k)});return hr(s.nodes(),function(k){var b=s.node(k),_=s.parent(k);(b.rank===o||b.minRank<=o&&o<=b.maxRank)&&(w.setNode(k),w.setParent(k,_||p),hr(s[f](k),function(A){var N=A.v===k?A.w:A.v,B=w.edge(N,k),F=of(B)?0:B.weight;w.setEdge(N,k,{weight:s.edge(A).weight+F})}),eo(b,"minRank")&&w.setNode(k,{borderLeft:b.borderLeft[o],borderRight:b.borderRight[o]}))}),w}function QOt(s){for(var o;s.hasNode(o=RK("_root")););return o}function ZOt(s,o){for(var f=0,p=1;p<o.length;++p)f+=JOt(s,o[p-1],o[p]);return f}function JOt(s,o,f){for(var p=oOt(f,$f(f,function(N,B){return B})),w=OA($f(o,function(N){return KN($f(s.outEdges(N),function(B){return{pos:p[B.w],weight:s.edge(B).weight}}),"pos")})),k=1;k<f.length;)k<<=1;var b=2*k-1;k-=1;var _=$f(new Array(b),function(){return 0}),A=0;return hr(w.forEach(function(N){var B=N.pos+k;_[B]+=N.weight;for(var F=0;B>0;)B%2&&(F+=_[B+1]),B=B-1>>1,_[B]+=N.weight;A+=N.weight*F})),A}function eNt(s){var o={},f=v5(s.nodes(),function(_){return!s.children(_).length}),p=t9($f(f,function(_){return s.node(_).rank})),w=$f(n9(p+1),function(){return[]});function k(_){if(!eo(o,_)){o[_]=!0;var A=s.node(_);w[A.rank].push(_),hr(s.successors(_),k)}}var b=KN(f,function(_){return s.node(_).rank});return hr(b,k),w}function tNt(s,o){return $f(o,function(f){var p=s.inEdges(f);if(p.length){var w=UN(p,function(k,b){var _=s.edge(b),A=s.node(b.v);return{sum:k.sum+_.weight*A.order,weight:k.weight+_.weight}},{sum:0,weight:0});return{v:f,barycenter:w.sum/w.weight,weight:w.weight}}else return{v:f}})}function nNt(s,o){var f={};hr(s,function(w,k){var b=f[w.v]={indegree:0,in:[],out:[],vs:[w.v],i:k};of(w.barycenter)||(b.barycenter=w.barycenter,b.weight=w.weight)}),hr(o.edges(),function(w){var k=f[w.v],b=f[w.w];!of(k)&&!of(b)&&(b.indegree++,k.out.push(f[w.w]))});var p=v5(f,function(w){return!w.indegree});return rNt(p)}function rNt(s){var o=[];function f(k){return function(b){b.merged||(of(b.barycenter)||of(k.barycenter)||b.barycenter>=k.barycenter)&&iNt(k,b)}}function p(k){return function(b){b.in.push(k),--b.indegree===0&&s.push(b)}}for(;s.length;){var w=s.pop();o.push(w),hr(w.in.reverse(),f(w)),hr(w.out,p(w))}return $f(v5(o,function(k){return!k.merged}),function(k){return VN(k,["vs","i","barycenter","weight"])})}function iNt(s,o){var f=0,p=0;s.weight&&(f+=s.barycenter*s.weight,p+=s.weight),o.weight&&(f+=o.barycenter*o.weight,p+=o.weight),s.vs=o.vs.concat(s.vs),s.barycenter=f/p,s.weight=p,s.i=Math.min(o.i,s.i),o.merged=!0}function sNt(s,o){var f=xOt(s,function(B){return eo(B,"barycenter")}),p=f.lhs,w=KN(f.rhs,function(B){return-B.i}),k=[],b=0,_=0,A=0;p.sort(aNt(!!o)),A=ENe(k,w,A),hr(p,function(B){A+=B.vs.length,k.push(B.vs),b+=B.barycenter*B.weight,_+=B.weight,A=ENe(k,w,A)});var N={vs:OA(k)};return _&&(N.barycenter=b/_,N.weight=_),N}function ENe(s,o,f){for(var p;o.length&&(p=BK(o)).i<=f;)o.pop(),s.push(p.vs),f++;return f}function aNt(s){return function(o,f){return o.barycenter<f.barycenter?-1:o.barycenter>f.barycenter?1:s?f.i-o.i:o.i-f.i}}function TNe(s,o,f,p){var w=s.children(o),k=s.node(o),b=k?k.borderLeft:void 0,_=k?k.borderRight:void 0,A={};b&&(w=v5(w,function(V){return V!==b&&V!==_}));var N=tNt(s,w);hr(N,function(V){if(s.children(V.v).length){var Z=TNe(s,V.v,f,p);A[V.v]=Z,eo(Z,"barycenter")&&cNt(V,Z)}});var B=nNt(N,f);oNt(B,A);var F=sNt(B,p);if(b&&(F.vs=OA([b,F.vs,_]),s.predecessors(b).length)){var H=s.node(s.predecessors(b)[0]),j=s.node(s.predecessors(_)[0]);eo(F,"barycenter")||(F.barycenter=0,F.weight=0),F.barycenter=(F.barycenter*F.weight+H.order+j.order)/(F.weight+2),F.weight+=2}return F}function oNt(s,o){hr(s,function(f){f.vs=OA(f.vs.map(function(p){return o[p]?o[p].vs:p}))})}function cNt(s,o){of(s.barycenter)?(s.barycenter=o.barycenter,s.weight=o.weight):(s.barycenter=(s.barycenter*s.weight+o.barycenter*o.weight)/(s.weight+o.weight),s.weight+=o.weight)}function uNt(s){var o=cNe(s),f=_Ne(s,n9(1,o+1),"inEdges"),p=_Ne(s,n9(o-1,-1,-1),"outEdges"),w=eNt(s);CNe(s,w);for(var k=Number.POSITIVE_INFINITY,b,_=0,A=0;A<4;++_,++A){lNt(_%2?f:p,_%4>=2),w=jK(s);var N=ZOt(s,w);N<k&&(A=0,b=TDt(w),k=N)}CNe(s,b)}function _Ne(s,o,f){return $f(o,function(p){return XOt(s,p,f)})}function lNt(s,o){var f=new Hf;hr(s,function(p){var w=p.graph().root,k=TNe(p,w,f,o);hr(k.vs,function(b,_){p.node(b).order=_}),YOt(p,f,k.vs)})}function CNe(s,o){hr(o,function(f){hr(f,function(p,w){s.node(p).order=w})})}function hNt(s){var o=dNt(s);hr(s.graph().dummyChains,function(f){for(var p=s.node(f),w=p.edgeObj,k=fNt(s,o,w.v,w.w),b=k.path,_=k.lca,A=0,N=b[A],B=!0;f!==w.w;){if(p=s.node(f),B){for(;(N=b[A])!==_&&s.node(N).maxRank<p.rank;)A++;N===_&&(B=!1)}if(!B){for(;A<b.length-1&&s.node(N=b[A+1]).minRank<=p.rank;)A++;N=b[A]}s.setParent(f,N),f=s.successors(f)[0]}})}function fNt(s,o,f,p){var w=[],k=[],b=Math.min(o[f].low,o[p].low),_=Math.max(o[f].lim,o[p].lim),A,N;A=f;do A=s.parent(A),w.push(A);while(A&&(o[A].low>b||_>o[A].lim));for(N=A,A=p;(A=s.parent(A))!==N;)k.push(A);return{path:w.concat(k.reverse()),lca:N}}function dNt(s){var o={},f=0;function p(w){var k=f;hr(s.children(w),p),o[w]={low:k,lim:f++}}return hr(s.children(),p),o}function gNt(s,o){var f={};function p(w,k){var b=0,_=0,A=w.length,N=BK(k);return hr(k,function(B,F){var H=bNt(s,B),j=H?s.node(H).order:A;(H||B===N)&&(hr(k.slice(_,F+1),function(V){hr(s.predecessors(V),function(Z){var ae=s.node(Z),le=ae.order;(le<b||j<le)&&!(ae.dummy&&s.node(V).dummy)&&SNe(f,Z,V)})}),_=F+1,b=j)}),k}return UN(o,p),f}function pNt(s,o){var f={};function p(k,b,_,A,N){var B;hr(n9(b,_),function(F){B=k[F],s.node(B).dummy&&hr(s.predecessors(B),function(H){var j=s.node(H);j.dummy&&(j.order<A||j.order>N)&&SNe(f,H,B)})})}function w(k,b){var _=-1,A,N=0;return hr(b,function(B,F){if(s.node(B).dummy==="border"){var H=s.predecessors(B);H.length&&(A=s.node(H[0]).order,p(b,N,F,_,A),N=F,_=A)}p(b,N,b.length,A,k.length)}),b}return UN(o,w),f}function bNt(s,o){if(s.node(o).dummy)return Tde(s.predecessors(o),function(f){return s.node(f).dummy})}function SNe(s,o,f){if(o>f){var p=o;o=f,f=p}var w=s[o];w||(s[o]=w={}),w[f]=!0}function vNt(s,o,f){if(o>f){var p=o;o=f,f=p}return eo(s[o],f)}function wNt(s,o,f,p){var w={},k={},b={};return hr(o,function(_){hr(_,function(A,N){w[A]=A,k[A]=A,b[A]=N})}),hr(o,function(_){var A=-1;hr(_,function(N){var B=p(N);if(B.length){B=KN(B,function(Z){return b[Z]});for(var F=(B.length-1)/2,H=Math.floor(F),j=Math.ceil(F);H<=j;++H){var V=B[H];k[N]===N&&A<b[V]&&!vNt(f,N,V)&&(k[V]=N,k[N]=w[N]=w[V],A=b[V])}}})}),{root:w,align:k}}function mNt(s,o,f,p,w){var k={},b=yNt(s,o,f,w),_=w?"borderLeft":"borderRight";function A(F,H){for(var j=b.nodes(),V=j.pop(),Z={};V;)Z[V]?F(V):(Z[V]=!0,j.push(V),j=j.concat(H(V))),V=j.pop()}function N(F){k[F]=b.inEdges(F).reduce(function(H,j){return Math.max(H,k[j.v]+b.edge(j))},0)}function B(F){var H=b.outEdges(F).reduce(function(V,Z){return Math.min(V,k[Z.w]-b.edge(Z))},Number.POSITIVE_INFINITY),j=s.node(F);H!==Number.POSITIVE_INFINITY&&j.borderType!==_&&(k[F]=Math.max(k[F],H))}return A(N,b.predecessors.bind(b)),A(B,b.successors.bind(b)),hr(p,function(F){k[F]=k[f[F]]}),k}function yNt(s,o,f,p){var w=new Hf,k=s.graph(),b=_Nt(k.nodesep,k.edgesep,p);return hr(o,function(_){var A;hr(_,function(N){var B=f[N];if(w.setNode(B),A){var F=f[A],H=w.edge(F,B);w.setEdge(F,B,Math.max(b(s,N,A),H||0))}A=N})}),w}function kNt(s,o){return Sde(w5(o),function(f){var p=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY;return CIt(f,function(k,b){var _=CNt(s,b)/2;p=Math.max(k+_,p),w=Math.min(k-_,w)}),p-w})}function xNt(s,o){var f=w5(o),p=qN(f),w=t9(f);hr(["u","d"],function(k){hr(["l","r"],function(b){var _=k+b,A=s[_],N;if(A!==o){var B=w5(A);N=b==="l"?p-qN(B):w-t9(B),N&&(s[_]=FK(A,function(F){return F+N}))}})})}function ENt(s,o){return FK(s.ul,function(f,p){if(o)return s[o.toLowerCase()][p];var w=KN($f(s,p));return(w[1]+w[2])/2})}function TNt(s){var o=jK(s),f=Cde(gNt(s,o),pNt(s,o)),p={},w;hr(["u","d"],function(b){w=b==="u"?o:w5(o).reverse(),hr(["l","r"],function(_){_==="r"&&(w=$f(w,function(F){return w5(F).reverse()}));var A=(b==="u"?s.predecessors:s.successors).bind(s),N=wNt(s,w,f,A),B=mNt(s,w,N.root,N.align,_==="r");_==="r"&&(B=FK(B,function(F){return-F})),p[b+_]=B})});var k=kNt(s,p);return xNt(p,k),ENt(p,s.graph().align)}function _Nt(s,o,f){return function(p,w,k){var b=p.node(w),_=p.node(k),A=0,N;if(A+=b.width/2,eo(b,"labelpos"))switch(b.labelpos.toLowerCase()){case"l":N=-b.width/2;break;case"r":N=b.width/2;break}if(N&&(A+=f?N:-N),N=0,A+=(b.dummy?o:s)/2,A+=(_.dummy?o:s)/2,A+=_.width/2,eo(_,"labelpos"))switch(_.labelpos.toLowerCase()){case"l":N=_.width/2;break;case"r":N=-_.width/2;break}return N&&(A+=f?N:-N),N=0,A}}function CNt(s,o){return s.node(o).width}function SNt(s){s=sNe(s),ANt(s),hr(TNt(s),function(o,f){s.node(f).x=o})}function ANt(s){var o=jK(s),f=s.graph().ranksep,p=0;hr(o,function(w){var k=t9($f(w,function(b){return s.node(b).height}));hr(w,function(b){s.node(b).y=p+k/2}),p+=k+f})}function jA(s,o){var f=o&&o.debugTiming?EOt:TOt;f("layout",function(){var p=f(" buildLayoutGraph",function(){return jNt(s)});f(" runLayout",function(){LNt(p,f)}),f(" updateInputGraph",function(){MNt(s,p)})})}function LNt(s,o){o(" makeSpaceForEdgeLabels",function(){$Nt(s)}),o(" removeSelfEdges",function(){YNt(s)}),o(" acyclic",function(){bOt(s)}),o(" nestingGraph.run",function(){VOt(s)}),o(" rank",function(){zOt(sNe(s))}),o(" injectEdgeLabelProxies",function(){HNt(s)}),o(" removeEmptyRanks",function(){kOt(s)}),o(" nestingGraph.cleanup",function(){WOt(s)}),o(" normalizeRanks",function(){yOt(s)}),o(" assignRankMinMax",function(){zNt(s)}),o(" removeEdgeLabelProxies",function(){GNt(s)}),o(" normalize.run",function(){MOt(s)}),o(" parentDummyChains",function(){hNt(s)}),o(" addBorderSegments",function(){_Ot(s)}),o(" order",function(){uNt(s)}),o(" insertSelfEdges",function(){XNt(s)}),o(" adjustCoordinateSystem",function(){COt(s)}),o(" position",function(){SNt(s)}),o(" positionSelfEdges",function(){QNt(s)}),o(" removeBorderNodes",function(){WNt(s)}),o(" normalize.undo",function(){IOt(s)}),o(" fixupEdgeLabelCoords",function(){UNt(s)}),o(" undoCoordinateSystem",function(){SOt(s)}),o(" translateGraph",function(){qNt(s)}),o(" assignNodeIntersects",function(){VNt(s)}),o(" reversePoints",function(){KNt(s)}),o(" acyclic.undo",function(){wOt(s)})}function MNt(s,o){hr(s.nodes(),function(f){var p=s.node(f),w=o.node(f);p&&(p.x=w.x,p.y=w.y,o.children(f).length&&(p.width=w.width,p.height=w.height))}),hr(s.edges(),function(f){var p=s.edge(f),w=o.edge(f);p.points=w.points,eo(w,"x")&&(p.x=w.x,p.y=w.y)}),s.graph().width=o.graph().width,s.graph().height=o.graph().height}var DNt=["nodesep","edgesep","ranksep","marginx","marginy"],INt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},ONt=["acyclicer","ranker","rankdir","align"],NNt=["width","height"],PNt={width:0,height:0},BNt=["minlen","weight","width","height","labeloffset"],FNt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},RNt=["labelpos"];function jNt(s){var o=new Hf({multigraph:!0,compound:!0}),f=Fde(s.graph());return o.setGraph(Cde({},INt,Bde(f,DNt),VN(f,ONt))),hr(s.nodes(),function(p){var w=Fde(s.node(p));o.setNode(p,BA(Bde(w,NNt),PNt)),o.setParent(p,s.parent(p))}),hr(s.edges(),function(p){var w=Fde(s.edge(p));o.setEdge(p,Cde({},FNt,Bde(w,BNt),VN(w,RNt)))}),o}function $Nt(s){var o=s.graph();o.ranksep/=2,hr(s.edges(),function(f){var p=s.edge(f);p.minlen*=2,p.labelpos.toLowerCase()!=="c"&&(o.rankdir==="TB"||o.rankdir==="BT"?p.width+=p.labeloffset:p.height+=p.labeloffset)})}function HNt(s){hr(s.edges(),function(o){var f=s.edge(o);if(f.width&&f.height){var p=s.node(o.v),w=s.node(o.w),k={rank:(w.rank-p.rank)/2+p.rank,e:o};RA(s,"edge-proxy",k,"_ep")}})}function zNt(s){var o=0;hr(s.nodes(),function(f){var p=s.node(f);p.borderTop&&(p.minRank=s.node(p.borderTop).rank,p.maxRank=s.node(p.borderBottom).rank,o=t9(o,p.maxRank))}),s.graph().maxRank=o}function GNt(s){hr(s.nodes(),function(o){var f=s.node(o);f.dummy==="edge-proxy"&&(s.edge(f.e).labelRank=f.rank,s.removeNode(o))})}function qNt(s){var o=Number.POSITIVE_INFINITY,f=0,p=Number.POSITIVE_INFINITY,w=0,k=s.graph(),b=k.marginx||0,_=k.marginy||0;function A(N){var B=N.x,F=N.y,H=N.width,j=N.height;o=Math.min(o,B-H/2),f=Math.max(f,B+H/2),p=Math.min(p,F-j/2),w=Math.max(w,F+j/2)}hr(s.nodes(),function(N){A(s.node(N))}),hr(s.edges(),function(N){var B=s.edge(N);eo(B,"x")&&A(B)}),o-=b,p-=_,hr(s.nodes(),function(N){var B=s.node(N);B.x-=o,B.y-=p}),hr(s.edges(),function(N){var B=s.edge(N);hr(B.points,function(F){F.x-=o,F.y-=p}),eo(B,"x")&&(B.x-=o),eo(B,"y")&&(B.y-=p)}),k.width=f-o+b,k.height=w-p+_}function VNt(s){hr(s.edges(),function(o){var f=s.edge(o),p=s.node(o.v),w=s.node(o.w),k,b;f.points?(k=f.points[0],b=f.points[f.points.length-1]):(f.points=[],k=w,b=p),f.points.unshift(aNe(p,k)),f.points.push(aNe(w,b))})}function UNt(s){hr(s.edges(),function(o){var f=s.edge(o);if(eo(f,"x"))switch((f.labelpos==="l"||f.labelpos==="r")&&(f.width-=f.labeloffset),f.labelpos){case"l":f.x-=f.width/2+f.labeloffset;break;case"r":f.x+=f.width/2+f.labeloffset;break}})}function KNt(s){hr(s.edges(),function(o){var f=s.edge(o);f.reversed&&f.points.reverse()})}function WNt(s){hr(s.nodes(),function(o){if(s.children(o).length){var f=s.node(o),p=s.node(f.borderTop),w=s.node(f.borderBottom),k=s.node(BK(f.borderLeft)),b=s.node(BK(f.borderRight));f.width=Math.abs(b.x-k.x),f.height=Math.abs(w.y-p.y),f.x=k.x+f.width/2,f.y=p.y+f.height/2}}),hr(s.nodes(),function(o){s.node(o).dummy==="border"&&s.removeNode(o)})}function YNt(s){hr(s.edges(),function(o){if(o.v===o.w){var f=s.node(o.v);f.selfEdges||(f.selfEdges=[]),f.selfEdges.push({e:o,label:s.edge(o)}),s.removeEdge(o)}})}function XNt(s){var o=jK(s);hr(o,function(f){var p=0;hr(f,function(w,k){var b=s.node(w);b.order=k+p,hr(b.selfEdges,function(_){RA(s,"selfedge",{width:_.label.width,height:_.label.height,rank:b.rank,order:k+ ++p,e:_.e,label:_.label},"_se")}),delete b.selfEdges})})}function QNt(s){hr(s.nodes(),function(o){var f=s.node(o);if(f.dummy==="selfedge"){var p=s.node(f.e.v),w=p.x+p.width/2,k=p.y,b=f.x-w,_=p.height/2;s.setEdge(f.e,f.label),s.removeNode(o),f.label.points=[{x:w+2*b/3,y:k-_},{x:w+5*b/6,y:k-_},{x:w+b,y:k},{x:w+5*b/6,y:k+_},{x:w+2*b/3,y:k+_}],f.label.x=f.x,f.label.y=f.y}})}function Bde(s,o){return FK(VN(s,o),Number)}function Fde(s){var o={};return hr(s,function(f,p){o[p.toLowerCase()]=f}),o}let ANe=0;const ZNt=function(s,o,f,p,w){const k=function(ce){switch(ce){case w.db.relationType.AGGREGATION:return"aggregation";case w.db.relationType.EXTENSION:return"extension";case w.db.relationType.COMPOSITION:return"composition";case w.db.relationType.DEPENDENCY:return"dependency";case w.db.relationType.LOLLIPOP:return"lollipop"}};o.points=o.points.filter(ce=>!Number.isNaN(ce.y));const b=o.points,_=RE().x(function(ce){return ce.x}).y(function(ce){return ce.y}).curve(pA),A=s.append("path").attr("d",_(b)).attr("id","edge"+ANe).attr("class","relation");let N="";p.arrowMarkerAbsolute&&(N=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,N=N.replace(/\(/g,"\\("),N=N.replace(/\)/g,"\\)")),f.relation.lineType==1&&A.attr("class","relation dashed-line"),f.relation.lineType==10&&A.attr("class","relation dotted-line"),f.relation.type1!=="none"&&A.attr("marker-start","url("+N+"#"+k(f.relation.type1)+"Start)"),f.relation.type2!=="none"&&A.attr("marker-end","url("+N+"#"+k(f.relation.type2)+"End)");let B,F;const H=o.points.length;let j=Pa.calcLabelPosition(o.points);B=j.x,F=j.y;let V,Z,ae,le;if(H%2!==0&&H>1){let ce=Pa.calcCardinalityPosition(f.relation.type1!=="none",o.points,o.points[0]),be=Pa.calcCardinalityPosition(f.relation.type2!=="none",o.points,o.points[H-1]);je.debug("cardinality_1_point "+JSON.stringify(ce)),je.debug("cardinality_2_point "+JSON.stringify(be)),V=ce.x,Z=ce.y,ae=be.x,le=be.y}if(f.title!==void 0){const ce=s.append("g").attr("class","classLabel"),be=ce.append("text").attr("class","label").attr("x",B).attr("y",F).attr("fill","red").attr("text-anchor","middle").text(f.title);window.label=be;const xe=be.node().getBBox();ce.insert("rect",":first-child").attr("class","box").attr("x",xe.x-p.padding/2).attr("y",xe.y-p.padding/2).attr("width",xe.width+p.padding).attr("height",xe.height+p.padding)}je.info("Rendering relation "+JSON.stringify(f)),f.relationTitle1!==void 0&&f.relationTitle1!=="none"&&s.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",V).attr("y",Z).attr("fill","black").attr("font-size","6").text(f.relationTitle1),f.relationTitle2!==void 0&&f.relationTitle2!=="none"&&s.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",ae).attr("y",le).attr("fill","black").attr("font-size","6").text(f.relationTitle2),ANe++},JNt=function(s,o,f,p){je.debug("Rendering class ",o,f);const w=o.id,k={id:w,label:o.id,width:0,height:0},b=s.append("g").attr("id",p.db.lookUpDomId(w)).attr("class","classGroup");let _;o.link?_=b.append("svg:a").attr("xlink:href",o.link).attr("target",o.linkTarget).append("text").attr("y",f.textHeight+f.padding).attr("x",0):_=b.append("text").attr("y",f.textHeight+f.padding).attr("x",0);let A=!0;o.annotations.forEach(function(Ee){const Me=_.append("tspan").text("«"+Ee+"»");A||Me.attr("dy",f.textHeight),A=!1});let N=o.id;o.type!==void 0&&o.type!==""&&(N+="<"+o.type+">");const B=_.append("tspan").text(N).attr("class","title");A||B.attr("dy",f.textHeight);const F=_.node().getBBox().height,H=b.append("line").attr("x1",0).attr("y1",f.padding+F+f.dividerMargin/2).attr("y2",f.padding+F+f.dividerMargin/2),j=b.append("text").attr("x",f.padding).attr("y",F+f.dividerMargin+f.textHeight).attr("fill","white").attr("class","classText");A=!0,o.members.forEach(function(Ee){LNe(j,Ee,A,f),A=!1});const V=j.node().getBBox(),Z=b.append("line").attr("x1",0).attr("y1",f.padding+F+f.dividerMargin+V.height).attr("y2",f.padding+F+f.dividerMargin+V.height),ae=b.append("text").attr("x",f.padding).attr("y",F+2*f.dividerMargin+V.height+f.textHeight).attr("fill","white").attr("class","classText");A=!0,o.methods.forEach(function(Ee){LNe(ae,Ee,A,f),A=!1});const le=b.node().getBBox();var ce=" ";o.cssClasses.length>0&&(ce=ce+o.cssClasses.join(" "));const xe=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",le.width+2*f.padding).attr("height",le.height+f.padding+.5*f.dividerMargin).attr("class",ce).node().getBBox().width;return _.node().childNodes.forEach(function(Ee){Ee.setAttribute("x",(xe-Ee.getBBox().width)/2)}),o.tooltip&&_.insert("title").text(o.tooltip),H.attr("x2",xe),Z.attr("x2",xe),k.width=xe,k.height=le.height+f.padding+.5*f.dividerMargin,k},ePt=function(s,o,f,p){je.debug("Rendering note ",o,f);const w=o.id,k={id:w,text:o.text,width:0,height:0},b=s.append("g").attr("id",w).attr("class","classGroup");let _=b.append("text").attr("y",f.textHeight+f.padding).attr("x",0);const A=JSON.parse(`"${o.text}"`).split(`
-`);A.forEach(function(H){je.debug(`Adding line: ${H}`),_.append("tspan").text(H).attr("class","title").attr("dy",f.textHeight)});const N=b.node().getBBox(),F=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",N.width+2*f.padding).attr("height",N.height+A.length*f.textHeight+f.padding+.5*f.dividerMargin).node().getBBox().width;return _.node().childNodes.forEach(function(H){H.setAttribute("x",(F-H.getBBox().width)/2)}),k.width=F,k.height=N.height+A.length*f.textHeight+f.padding+.5*f.dividerMargin,k},$K=function(s){const o=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,f=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let p=s.match(o),w=s.match(f);return p&&!w?tPt(p):w?nPt(w):rPt(s)},tPt=function(s){let o="",f="";try{let p=s[1]?s[1].trim():"",w=s[2]?s[2].trim():"",k=s[3]?Uk(s[3].trim()):"",b=s[4]?s[4].trim():"",_=s[5]?s[5].trim():"";f=p+w+k+" "+b,o=Rde(_)}catch{f=s}return{displayText:f,cssStyle:o}},nPt=function(s){let o="",f="";try{let p=s[1]?s[1].trim():"",w=s[2]?s[2].trim():"",k=s[3]?Uk(s[3].trim()):"",b=s[4]?s[4].trim():"",_=s[5]?" : "+Uk(s[5]).trim():"";f=p+w+"("+k+")"+_,o=Rde(b)}catch{f=s}return{displayText:f,cssStyle:o}},rPt=function(s){let o="",f="",p="",w=s.indexOf("("),k=s.indexOf(")");if(w>1&&k>w&&k<=s.length){let b="",_="",A=s.substring(0,1);A.match(/\w/)?_=s.substring(0,w).trim():(A.match(/[#+~-]/)&&(b=A),_=s.substring(1,w).trim());const N=s.substring(w+1,k);s.substring(k+1,1),f=Rde(s.substring(k+1,k+2)),o=b+_+"("+Uk(N.trim())+")",k<s.length&&(p=s.substring(k+2).trim(),p!==""&&(p=" : "+Uk(p),o+=p))}else o=Uk(s);return{displayText:o,cssStyle:f}},LNe=function(s,o,f,p){let w=$K(o);const k=s.append("tspan").attr("x",p.padding).text(w.displayText);w.cssStyle!==""&&k.attr("style",w.cssStyle),f||k.attr("dy",p.textHeight)},Rde=function(s){switch(s){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},jde={drawClass:JNt,drawEdge:ZNt,drawNote:ePt,parseMember:$K};let HK={};const zK=20,XN=function(s){const o=Object.entries(HK).find(f=>f[1].label===s);if(o)return o[0]},iPt=function(s){s.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"),s.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"),s.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"),s.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"),s.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"),s.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"),s.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"),s.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")},sPt={draw:function(s,o,f,p){const w=Pt().class;HK={},je.info("Rendering diagram "+s);const k=Pt().securityLevel;let b;k==="sandbox"&&(b=sr("#i"+o));const _=sr(k==="sandbox"?b.nodes()[0].contentDocument.body:"body"),A=_.select(`[id='${o}']`);iPt(A);const N=new Hf({multigraph:!0});N.setGraph({isMultiGraph:!0}),N.setDefaultEdgeLabel(function(){return{}});const B=p.db.getClasses(),F=Object.keys(B);for(const ce of F){const be=B[ce],xe=jde.drawClass(A,be,w,p);HK[xe.id]=xe,N.setNode(xe.id,xe),je.info("Org height: "+xe.height)}p.db.getRelations().forEach(function(ce){je.info("tjoho"+XN(ce.id1)+XN(ce.id2)+JSON.stringify(ce)),N.setEdge(XN(ce.id1),XN(ce.id2),{relation:ce},ce.title||"DEFAULT")}),p.db.getNotes().forEach(function(ce){je.debug(`Adding note: ${JSON.stringify(ce)}`);const be=jde.drawNote(A,ce,w,p);HK[be.id]=be,N.setNode(be.id,be),ce.class&&ce.class in B&&N.setEdge(ce.id,XN(ce.class),{relation:{id1:ce.id,id2:ce.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),jA(N),N.nodes().forEach(function(ce){ce!==void 0&&N.node(ce)!==void 0&&(je.debug("Node "+ce+": "+JSON.stringify(N.node(ce))),_.select("#"+(p.db.lookUpDomId(ce)||ce)).attr("transform","translate("+(N.node(ce).x-N.node(ce).width/2)+","+(N.node(ce).y-N.node(ce).height/2)+" )"))}),N.edges().forEach(function(ce){ce!==void 0&&N.edge(ce)!==void 0&&(je.debug("Edge "+ce.v+" -> "+ce.w+": "+JSON.stringify(N.edge(ce))),jde.drawEdge(A,N.edge(ce),N.edge(ce).relation,w,p))});const V=A.node().getBBox(),Z=V.width+zK*2,ae=V.height+zK*2;Uw(A,ae,Z,w.useMaxWidth);const le=`${V.x-zK} ${V.y-zK} ${Z} ${ae}`;je.debug(`viewBox ${le}`),A.attr("viewBox",le)}};function m5(s){var o={options:{directed:s.isDirected(),multigraph:s.isMultigraph(),compound:s.isCompound()},nodes:aPt(s),edges:oPt(s)};return of(s.graph())||(o.value=kDt(s.graph())),o}function aPt(s){return $f(s.nodes(),function(o){var f=s.node(o),p=s.parent(o),w={v:o};return of(f)||(w.value=f),of(p)||(w.parent=p),w})}function oPt(s){return $f(s.edges(),function(o){var f=s.edge(o),p={v:o.v,w:o.w};return of(o.name)||(p.name=o.name),of(f)||(p.value=f),p})}const cPt=(s,o,f,p)=>{o.forEach(w=>{uPt[w](s,f,p)})},uPt={extension:(s,o,f)=>{je.trace("Making markers for ",f),s.append("defs").append("marker").attr("id",o+"-extensionStart").attr("class","marker extension "+o).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"),s.append("defs").append("marker").attr("id",o+"-extensionEnd").attr("class","marker extension "+o).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")},composition:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-compositionStart").attr("class","marker composition "+o).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"),s.append("defs").append("marker").attr("id",o+"-compositionEnd").attr("class","marker composition "+o).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")},aggregation:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-aggregationStart").attr("class","marker aggregation "+o).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"),s.append("defs").append("marker").attr("id",o+"-aggregationEnd").attr("class","marker aggregation "+o).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")},dependency:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-dependencyStart").attr("class","marker dependency "+o).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"),s.append("defs").append("marker").attr("id",o+"-dependencyEnd").attr("class","marker dependency "+o).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")},lollipop:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-lollipopStart").attr("class","marker lollipop "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(s,o)=>{s.append("marker").attr("id",o+"-pointEnd").attr("class","marker "+o).attr("viewBox","0 0 12 20").attr("refX",10).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"),s.append("marker").attr("id",o+"-pointStart").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refX",0).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:(s,o)=>{s.append("marker").attr("id",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",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")},cross:(s,o)=>{s.append("marker").attr("id",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",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")},barb:(s,o)=>{s.append("defs").append("marker").attr("id",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 L9,13 L14,7 L9,1 Z")}},MNe=cPt;function lPt(s,o){o&&s.attr("style",o)}function hPt(s){const o=sr(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),f=o.append("xhtml:div"),p=s.label,w=s.isNode?"nodeLabel":"edgeLabel";return f.html('<span class="'+w+'" '+(s.labelStyle?'style="'+s.labelStyle+'"':"")+">"+p+"</span>"),lPt(f,s.labelStyle),f.style("display","inline-block"),f.style("white-space","nowrap"),f.attr("xmlns","http://www.w3.org/1999/xhtml"),o.node()}const ip=(s,o,f,p)=>{let w=s||"";if(typeof w=="object"&&(w=w[0]),l1(Pt().flowchart.htmlLabels)){w=w.replace(/\\n|\n/g,"<br />"),je.info("vertexText"+w);const k={isNode:p,label:nge(w).replace(/fa[blrs]?:fa-[\w-]+/g,_=>`<i class='${_.replace(":"," ")}'></i>`),labelStyle:o.replace("fill:","color:")};return hPt(k)}else{const k=document.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",o.replace("color:","fill:"));let b=[];typeof w=="string"?b=w.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(w)?b=w:b=[];for(const _ of b){const A=document.createElementNS("http://www.w3.org/2000/svg","tspan");A.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),A.setAttribute("dy","1em"),A.setAttribute("x","0"),f?A.setAttribute("class","title-row"):A.setAttribute("class","row"),A.textContent=_.trim(),k.appendChild(A)}return k}},y0=(s,o,f,p)=>{let w;f?w=f:w="node default";const k=s.insert("g").attr("class",w).attr("id",o.domId||o.id),b=k.insert("g").attr("class","label").attr("style",o.labelStyle);let _;o.labelText===void 0?_="":_=typeof o.labelText=="string"?o.labelText:o.labelText[0];const A=b.node().appendChild(ip(T2(nge(_),Pt()),o.labelStyle,!1,p));let N=A.getBBox();if(l1(Pt().flowchart.htmlLabels)){const F=A.children[0],H=sr(A);N=F.getBoundingClientRect(),H.attr("width",N.width),H.attr("height",N.height)}const B=o.padding/2;return b.attr("transform","translate("+-N.width/2+", "+-N.height/2+")"),{shapeSvg:k,bbox:N,halfPadding:B,label:b}},cf=(s,o)=>{const f=o.node().getBBox();s.width=f.width,s.height=f.height};function y5(s,o,f,p){return s.insert("polygon",":first-child").attr("points",p.map(function(w){return w.x+","+w.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-o/2+","+f/2+")")}let Zo={},Jw={},DNe={};const fPt=()=>{Jw={},DNe={},Zo={}},GK=(s,o)=>(je.trace("In isDecendant",o," ",s," = ",Jw[o].includes(s)),!!Jw[o].includes(s)),dPt=(s,o)=>(je.info("Decendants of ",o," is ",Jw[o]),je.info("Edge is ",s),s.v===o||s.w===o?!1:Jw[o]?Jw[o].includes(s.v)||GK(s.v,o)||GK(s.w,o)||Jw[o].includes(s.w):(je.debug("Tilt, ",o,",not in decendants"),!1)),INe=(s,o,f,p)=>{je.warn("Copying children of ",s,"root",p,"data",o.node(s),p);const w=o.children(s)||[];s!==p&&w.push(s),je.warn("Copying (nodes) clusterId",s,"nodes",w),w.forEach(k=>{if(o.children(k).length>0)INe(k,o,f,p);else{const b=o.node(k);je.info("cp ",k," to ",p," with parent ",s),f.setNode(k,b),p!==o.parent(k)&&(je.warn("Setting parent",k,o.parent(k)),f.setParent(k,o.parent(k))),s!==p&&k!==s?(je.debug("Setting parent",k,s),f.setParent(k,s)):(je.info("In copy ",s,"root",p,"data",o.node(s),p),je.debug("Not Setting parent for node=",k,"cluster!==rootId",s!==p,"node!==clusterId",k!==s));const _=o.edges(k);je.debug("Copying Edges",_),_.forEach(A=>{je.info("Edge",A);const N=o.edge(A.v,A.w,A.name);je.info("Edge data",N,p);try{dPt(A,p)?(je.info("Copying as ",A.v,A.w,N,A.name),f.setEdge(A.v,A.w,N,A.name),je.info("newGraph edges ",f.edges(),f.edge(f.edges()[0]))):je.info("Skipping copy of edge ",A.v,"-->",A.w," rootId: ",p," clusterId:",s)}catch(B){je.error(B)}})}je.debug("Removing node",k),o.removeNode(k)})},ONe=(s,o)=>{const f=o.children(s);let p=[...f];for(const w of f)DNe[w]=s,p=[...p,...ONe(w,o)];return p},QN=(s,o)=>{je.trace("Searching",s);const f=o.children(s);if(je.trace("Searching children of id ",s,f),f.length<1)return je.trace("This is a valid node",s),s;for(const p of f){const w=QN(p,o);if(w)return je.trace("Found replacement for",s," => ",w),w}},qK=s=>!Zo[s]||!Zo[s].externalConnections?s:Zo[s]?Zo[s].id:s,gPt=(s,o)=>{if(!s||o>10){je.debug("Opting out, no graph ");return}else je.debug("Opting in, graph ");s.nodes().forEach(function(f){s.children(f).length>0&&(je.warn("Cluster identified",f," Replacement id in edges: ",QN(f,s)),Jw[f]=ONe(f,s),Zo[f]={id:QN(f,s),clusterData:s.node(f)})}),s.nodes().forEach(function(f){const p=s.children(f),w=s.edges();p.length>0?(je.debug("Cluster identified",f,Jw),w.forEach(k=>{if(k.v!==f&&k.w!==f){const b=GK(k.v,f),_=GK(k.w,f);b^_&&(je.warn("Edge: ",k," leaves cluster ",f),je.warn("Decendants of XXX ",f,": ",Jw[f]),Zo[f].externalConnections=!0)}})):je.debug("Not a cluster ",f,Jw)}),s.edges().forEach(function(f){const p=s.edge(f);je.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(f)),je.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(s.edge(f)));let w=f.v,k=f.w;if(je.warn("Fix XXX",Zo,"ids:",f.v,f.w,"Translating: ",Zo[f.v]," --- ",Zo[f.w]),Zo[f.v]&&Zo[f.w]&&Zo[f.v]===Zo[f.w]){je.warn("Fixing and trixing link to self - removing XXX",f.v,f.w,f.name),je.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),w=qK(f.v),k=qK(f.w),s.removeEdge(f.v,f.w,f.name);const b=f.w+"---"+f.v;s.setNode(b,{domId:b,id:b,labelStyle:"",labelText:p.label,padding:0,shape:"labelRect",style:""});const _=JSON.parse(JSON.stringify(p)),A=JSON.parse(JSON.stringify(p));_.label="",_.arrowTypeEnd="none",A.label="",_.fromCluster=f.v,A.toCluster=f.v,s.setEdge(w,b,_,f.name+"-cyclic-special"),s.setEdge(b,k,A,f.name+"-cyclic-special")}else(Zo[f.v]||Zo[f.w])&&(je.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),w=qK(f.v),k=qK(f.w),s.removeEdge(f.v,f.w,f.name),w!==f.v&&(p.fromCluster=f.v),k!==f.w&&(p.toCluster=f.w),je.warn("Fix Replacing with XXX",w,k,f.name),s.setEdge(w,k,p,f.name))}),je.warn("Adjusted Graph",m5(s)),NNe(s,0),je.trace(Zo)},NNe=(s,o)=>{if(je.warn("extractor - ",o,m5(s),s.children("D")),o>10){je.error("Bailing out");return}let f=s.nodes(),p=!1;for(const w of f){const k=s.children(w);p=p||k.length>0}if(!p){je.debug("Done, no node has children",s.nodes());return}je.debug("Nodes = ",f,o);for(const w of f)if(je.debug("Extracting node",w,Zo,Zo[w]&&!Zo[w].externalConnections,!s.parent(w),s.node(w),s.children("D")," Depth ",o),!Zo[w])je.debug("Not a cluster",w,o);else if(!Zo[w].externalConnections&&s.children(w)&&s.children(w).length>0){je.warn("Cluster without external connections, without a parent and with children",w,o);let b=s.graph().rankdir==="TB"?"LR":"TB";Zo[w]&&Zo[w].clusterData&&Zo[w].clusterData.dir&&(b=Zo[w].clusterData.dir,je.warn("Fixing dir",Zo[w].clusterData.dir,b));const _=new Hf({multigraph:!0,compound:!0}).setGraph({rankdir:b,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});je.warn("Old graph before copy",m5(s)),INe(w,s,_,w),s.setNode(w,{clusterNode:!0,id:w,clusterData:Zo[w].clusterData,labelText:Zo[w].labelText,graph:_}),je.warn("New graph after copy node: (",w,")",m5(_)),je.debug("Old graph after copy",m5(s))}else je.warn("Cluster ** ",w," **not meeting the criteria !externalConnections:",!Zo[w].externalConnections," no parent: ",!s.parent(w)," children ",s.children(w)&&s.children(w).length>0,s.children("D"),o),je.debug(Zo);f=s.nodes(),je.warn("New list of nodes",f);for(const w of f){const k=s.node(w);je.warn(" Now next level",w,k),k.clusterNode&&NNe(k.graph,o+1)}},PNe=(s,o)=>{if(o.length===0)return[];let f=Object.assign(o);return o.forEach(p=>{const w=s.children(p),k=PNe(s,w);f=[...f,...k]}),f},pPt=s=>PNe(s,s.children());function bPt(s,o){return s.intersect(o)}function BNe(s,o,f,p){var w=s.x,k=s.y,b=w-p.x,_=k-p.y,A=Math.sqrt(o*o*_*_+f*f*b*b),N=Math.abs(o*f*b/A);p.x<w&&(N=-N);var B=Math.abs(o*f*_/A);return p.y<k&&(B=-B),{x:w+N,y:k+B}}function vPt(s,o,f){return BNe(s,o,o,f)}function wPt(s,o,f,p){var w,k,b,_,A,N,B,F,H,j,V,Z,ae,le,ce;if(w=o.y-s.y,b=s.x-o.x,A=o.x*s.y-s.x*o.y,H=w*f.x+b*f.y+A,j=w*p.x+b*p.y+A,!(H!==0&&j!==0&&FNe(H,j))&&(k=p.y-f.y,_=f.x-p.x,N=p.x*f.y-f.x*p.y,B=k*s.x+_*s.y+N,F=k*o.x+_*o.y+N,!(B!==0&&F!==0&&FNe(B,F))&&(V=w*_-k*b,V!==0)))return Z=Math.abs(V/2),ae=b*N-_*A,le=ae<0?(ae-Z)/V:(ae+Z)/V,ae=k*A-w*N,ce=ae<0?(ae-Z)/V:(ae+Z)/V,{x:le,y:ce}}function FNe(s,o){return s*o>0}function mPt(s,o,f){var p=s.x,w=s.y,k=[],b=Number.POSITIVE_INFINITY,_=Number.POSITIVE_INFINITY;typeof o.forEach=="function"?o.forEach(function(V){b=Math.min(b,V.x),_=Math.min(_,V.y)}):(b=Math.min(b,o.x),_=Math.min(_,o.y));for(var A=p-s.width/2-b,N=w-s.height/2-_,B=0;B<o.length;B++){var F=o[B],H=o[B<o.length-1?B+1:0],j=wPt(s,f,{x:A+F.x,y:N+F.y},{x:A+H.x,y:N+H.y});j&&k.push(j)}return k.length?(k.length>1&&k.sort(function(V,Z){var ae=V.x-f.x,le=V.y-f.y,ce=Math.sqrt(ae*ae+le*le),be=Z.x-f.x,xe=Z.y-f.y,Ee=Math.sqrt(be*be+xe*xe);return ce<Ee?-1:ce===Ee?0:1}),k[0]):s}const ZN=(s,o)=>{var f=s.x,p=s.y,w=o.x-f,k=o.y-p,b=s.width/2,_=s.height/2,A,N;return Math.abs(k)*b>Math.abs(w)*_?(k<0&&(_=-_),A=k===0?0:_*w/k,N=_):(w<0&&(b=-b),A=b,N=w===0?0:b*k/w),{x:f+A,y:p+N}},Ah={node:bPt,circle:vPt,ellipse:BNe,polygon:mPt,rect:ZN},yPt=(s,o)=>{const{shapeSvg:f,bbox:p,halfPadding:w}=y0(s,o,"node "+o.classes,!0);je.info("Classes = ",o.classes);const k=f.insert("rect",":first-child");return k.attr("rx",o.rx).attr("ry",o.ry).attr("x",-p.width/2-w).attr("y",-p.height/2-w).attr("width",p.width+o.padding).attr("height",p.height+o.padding),cf(o,k),o.intersect=function(b){return Ah.rect(o,b)},f},RNe=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=w+k,_=[{x:b/2,y:0},{x:b,y:-b/2},{x:b/2,y:-b},{x:0,y:-b/2}];je.info("Question main (Circle)");const A=y5(f,b,b,_);return A.attr("style",o.style),cf(o,A),o.intersect=function(N){return je.warn("Intersect called"),Ah.polygon(o,_,N)},f},kPt=(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),p=28,w=[{x:0,y:p/2},{x:p/2,y:0},{x:0,y:-p/2},{x:-p/2,y:0}];return f.insert("polygon",":first-child").attr("points",w.map(function(b){return b.x+","+b.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),o.width=28,o.height=28,o.intersect=function(b){return Ah.circle(o,14,b)},f},xPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=4,k=p.height+o.padding,b=k/w,_=p.width+2*b+o.padding,A=[{x:b,y:0},{x:_-b,y:0},{x:_,y:-k/2},{x:_-b,y:-k},{x:b,y:-k},{x:0,y:-k/2}],N=y5(f,_,k,A);return N.attr("style",o.style),cf(o,N),o.intersect=function(B){return Ah.polygon(o,A,B)},f},EPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:-k/2,y:0},{x:w,y:0},{x:w,y:-k},{x:-k/2,y:-k},{x:0,y:-k/2}];return y5(f,w,k,b).attr("style",o.style),o.width=w+k,o.height=k,o.intersect=function(A){return Ah.polygon(o,b,A)},f},TPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:-2*k/6,y:0},{x:w-k/6,y:0},{x:w+2*k/6,y:-k},{x:k/6,y:-k}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},_Pt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:2*k/6,y:0},{x:w+k/6,y:0},{x:w-2*k/6,y:-k},{x:-k/6,y:-k}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},CPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:-2*k/6,y:0},{x:w+2*k/6,y:0},{x:w-k/6,y:-k},{x:k/6,y:-k}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},SPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:k/6,y:0},{x:w-k/6,y:0},{x:w+2*k/6,y:-k},{x:-2*k/6,y:-k}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},APt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:0,y:0},{x:w+k/2,y:0},{x:w,y:-k/2},{x:w+k/2,y:-k},{x:0,y:-k}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},LPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=w/2,b=k/(2.5+w/50),_=p.height+b+o.padding,A="M 0,"+b+" a "+k+","+b+" 0,0,0 "+w+" 0 a "+k+","+b+" 0,0,0 "+-w+" 0 l 0,"+_+" a "+k+","+b+" 0,0,0 "+w+" 0 l 0,"+-_,N=f.attr("label-offset-y",b).insert("path",":first-child").attr("style",o.style).attr("d",A).attr("transform","translate("+-w/2+","+-(_/2+b)+")");return cf(o,N),o.intersect=function(B){const F=Ah.rect(o,B),H=F.x-o.x;if(k!=0&&(Math.abs(H)<o.width/2||Math.abs(H)==o.width/2&&Math.abs(F.y-o.y)>o.height/2-b)){let j=b*b*(1-H*H/(k*k));j!=0&&(j=Math.sqrt(j)),j=b-j,B.y-o.y>0&&(j=-j),F.y+=j}return F},f},MPt=(s,o)=>{const{shapeSvg:f,bbox:p,halfPadding:w}=y0(s,o,"node "+o.classes,!0);je.trace("Classes = ",o.classes);const k=f.insert("rect",":first-child"),b=p.width+o.padding,_=p.height+o.padding;if(k.attr("class","basic label-container").attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("x",-p.width/2-w).attr("y",-p.height/2-w).attr("width",b).attr("height",_),o.props){const A=new Set(Object.keys(o.props));o.props.borders&&(jNe(k,o.props.borders,b,_),A.delete("borders")),A.forEach(N=>{je.warn(`Unknown node property ${N}`)})}return cf(o,k),o.intersect=function(A){return Ah.rect(o,A)},f},DPt=(s,o)=>{const{shapeSvg:f}=y0(s,o,"label",!0);je.trace("Classes = ",o.classes);const p=f.insert("rect",":first-child"),w=0,k=0;if(p.attr("width",w).attr("height",k),f.attr("class","label edgeLabel"),o.props){const b=new Set(Object.keys(o.props));o.props.borders&&(jNe(p,o.props.borders,w,k),b.delete("borders")),b.forEach(_=>{je.warn(`Unknown node property ${_}`)})}return cf(o,p),o.intersect=function(b){return Ah.rect(o,b)},f};function jNe(s,o,f,p){const w=[],k=_=>{w.push(_,0)},b=_=>{w.push(0,_)};o.includes("t")?(je.debug("add top border"),k(f)):b(f),o.includes("r")?(je.debug("add right border"),k(p)):b(p),o.includes("b")?(je.debug("add bottom border"),k(f)):b(f),o.includes("l")?(je.debug("add left border"),k(p)):b(p),s.attr("stroke-dasharray",w.join(" "))}const IPt=(s,o)=>{let f;o.classes?f="node "+o.classes:f="node default";const p=s.insert("g").attr("class",f).attr("id",o.domId||o.id),w=p.insert("rect",":first-child"),k=p.insert("line"),b=p.insert("g").attr("class","label"),_=o.labelText.flat?o.labelText.flat():o.labelText;let A="";typeof _=="object"?A=_[0]:A=_,je.info("Label text abc79",A,_,typeof _=="object");const N=b.node().appendChild(ip(A,o.labelStyle,!0,!0));let B={width:0,height:0};if(l1(Pt().flowchart.htmlLabels)){const Z=N.children[0],ae=sr(N);B=Z.getBoundingClientRect(),ae.attr("width",B.width),ae.attr("height",B.height)}je.info("Text 2",_);const F=_.slice(1,_.length);let H=N.getBBox();const j=b.node().appendChild(ip(F.join?F.join("<br/>"):F,o.labelStyle,!0,!0));if(l1(Pt().flowchart.htmlLabels)){const Z=j.children[0],ae=sr(j);B=Z.getBoundingClientRect(),ae.attr("width",B.width),ae.attr("height",B.height)}const V=o.padding/2;return sr(j).attr("transform","translate( "+(B.width>H.width?0:(H.width-B.width)/2)+", "+(H.height+V+5)+")"),sr(N).attr("transform","translate( "+(B.width<H.width?0:-(H.width-B.width)/2)+", "+0+")"),B=b.node().getBBox(),b.attr("transform","translate("+-B.width/2+", "+(-B.height/2-V+3)+")"),w.attr("class","outer title-state").attr("x",-B.width/2-V).attr("y",-B.height/2-V).attr("width",B.width+o.padding).attr("height",B.height+o.padding),k.attr("class","divider").attr("x1",-B.width/2-V).attr("x2",B.width/2+V).attr("y1",-B.height/2-V+H.height+V).attr("y2",-B.height/2-V+H.height+V),cf(o,w),o.intersect=function(Z){return Ah.rect(o,Z)},p},OPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.height+o.padding,k=p.width+w/4+o.padding,b=f.insert("rect",":first-child").attr("style",o.style).attr("rx",w/2).attr("ry",w/2).attr("x",-k/2).attr("y",-w/2).attr("width",k).attr("height",w);return cf(o,b),o.intersect=function(_){return Ah.rect(o,_)},f},NPt=(s,o)=>{const{shapeSvg:f,bbox:p,halfPadding:w}=y0(s,o,void 0,!0),k=f.insert("circle",":first-child");return k.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",p.width/2+w).attr("width",p.width+o.padding).attr("height",p.height+o.padding),je.info("Circle main"),cf(o,k),o.intersect=function(b){return je.info("Circle intersect",o,p.width/2+w,b),Ah.circle(o,p.width/2+w,b)},f},PPt=(s,o)=>{const{shapeSvg:f,bbox:p,halfPadding:w}=y0(s,o,void 0,!0),k=5,b=f.insert("g",":first-child"),_=b.insert("circle"),A=b.insert("circle");return _.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",p.width/2+w+k).attr("width",p.width+o.padding+k*2).attr("height",p.height+o.padding+k*2),A.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",p.width/2+w).attr("width",p.width+o.padding).attr("height",p.height+o.padding),je.info("DoubleCircle main"),cf(o,_),o.intersect=function(N){return je.info("DoubleCircle intersect",o,p.width/2+w+k,N),Ah.circle(o,p.width/2+w+k,N)},f},BPt=(s,o)=>{const{shapeSvg:f,bbox:p}=y0(s,o,void 0,!0),w=p.width+o.padding,k=p.height+o.padding,b=[{x:0,y:0},{x:w,y:0},{x:w,y:-k},{x:0,y:-k},{x:0,y:0},{x:-8,y:0},{x:w+8,y:0},{x:w+8,y:-k},{x:-8,y:-k},{x:-8,y:0}],_=y5(f,w,k,b);return _.attr("style",o.style),cf(o,_),o.intersect=function(A){return Ah.polygon(o,b,A)},f},FPt=(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),p=f.insert("circle",":first-child");return p.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),cf(o,p),o.intersect=function(w){return Ah.circle(o,7,w)},f},$Ne=(s,o,f)=>{const p=s.insert("g").attr("class","node default").attr("id",o.domId||o.id);let w=70,k=10;f==="LR"&&(w=10,k=70);const b=p.append("rect").attr("x",-1*w/2).attr("y",-1*k/2).attr("width",w).attr("height",k).attr("class","fork-join");return cf(o,b),o.height=o.height+o.padding/2,o.width=o.width+o.padding/2,o.intersect=function(_){return Ah.rect(o,_)},p},HNe={rhombus:RNe,question:RNe,rect:MPt,labelRect:DPt,rectWithTitle:IPt,choice:kPt,circle:NPt,doublecircle:PPt,stadium:OPt,hexagon:xPt,rect_left_inv_arrow:EPt,lean_right:TPt,lean_left:_Pt,trapezoid:CPt,inv_trapezoid:SPt,rect_right_inv_arrow:APt,cylinder:LPt,start:FPt,end:(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),p=f.insert("circle",":first-child"),w=f.insert("circle",":first-child");return w.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),p.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),cf(o,w),o.intersect=function(k){return Ah.circle(o,7,k)},f},note:yPt,subroutine:BPt,fork:$Ne,join:$Ne,class_box:(s,o)=>{const f=o.padding/2,p=4,w=8;let k;o.classes?k="node "+o.classes:k="node default";const b=s.insert("g").attr("class",k).attr("id",o.domId||o.id),_=b.insert("rect",":first-child"),A=b.insert("line"),N=b.insert("line");let B=0,F=p;const H=b.insert("g").attr("class","label");let j=0;const V=o.classData.annotations&&o.classData.annotations[0],Z=o.classData.annotations[0]?"«"+o.classData.annotations[0]+"»":"",ae=H.node().appendChild(ip(Z,o.labelStyle,!0,!0));let le=ae.getBBox();if(l1(Pt().flowchart.htmlLabels)){const ye=ae.children[0],re=sr(ae);le=ye.getBoundingClientRect(),re.attr("width",le.width),re.attr("height",le.height)}o.classData.annotations[0]&&(F+=le.height+p,B+=le.width);let ce=o.classData.id;o.classData.type!==void 0&&o.classData.type!==""&&(Pt().flowchart.htmlLabels?ce+="&lt;"+o.classData.type+"&gt;":ce+="<"+o.classData.type+">");const be=H.node().appendChild(ip(ce,o.labelStyle,!0,!0));sr(be).attr("class","classTitle");let xe=be.getBBox();if(l1(Pt().flowchart.htmlLabels)){const ye=be.children[0],re=sr(be);xe=ye.getBoundingClientRect(),re.attr("width",xe.width),re.attr("height",xe.height)}F+=xe.height+p,xe.width>B&&(B=xe.width);const Ee=[];o.classData.members.forEach(ye=>{const re=$K(ye);let we=re.displayText;Pt().flowchart.htmlLabels&&(we=we.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const ke=H.node().appendChild(ip(we,re.cssStyle?re.cssStyle:o.labelStyle,!0,!0));let he=ke.getBBox();if(l1(Pt().flowchart.htmlLabels)){const De=ke.children[0],X=sr(ke);he=De.getBoundingClientRect(),X.attr("width",he.width),X.attr("height",he.height)}he.width>B&&(B=he.width),F+=he.height+p,Ee.push(ke)}),F+=w;const Me=[];if(o.classData.methods.forEach(ye=>{const re=$K(ye);let we=re.displayText;Pt().flowchart.htmlLabels&&(we=we.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const ke=H.node().appendChild(ip(we,re.cssStyle?re.cssStyle:o.labelStyle,!0,!0));let he=ke.getBBox();if(l1(Pt().flowchart.htmlLabels)){const De=ke.children[0],X=sr(ke);he=De.getBoundingClientRect(),X.attr("width",he.width),X.attr("height",he.height)}he.width>B&&(B=he.width),F+=he.height+p,Me.push(ke)}),F+=w,V){let ye=(B-le.width)/2;sr(ae).attr("transform","translate( "+(-1*B/2+ye)+", "+-1*F/2+")"),j=le.height+p}let fe=(B-xe.width)/2;return sr(be).attr("transform","translate( "+(-1*B/2+fe)+", "+(-1*F/2+j)+")"),j+=xe.height+p,A.attr("class","divider").attr("x1",-B/2-f).attr("x2",B/2+f).attr("y1",-F/2-f+w+j).attr("y2",-F/2-f+w+j),j+=w,Ee.forEach(ye=>{sr(ye).attr("transform","translate( "+-B/2+", "+(-1*F/2+j+w/2)+")"),j+=xe.height+p}),j+=w,N.attr("class","divider").attr("x1",-B/2-f).attr("x2",B/2+f).attr("y1",-F/2-f+w+j).attr("y2",-F/2-f+w+j),j+=w,Me.forEach(ye=>{sr(ye).attr("transform","translate( "+-B/2+", "+(-1*F/2+j)+")"),j+=xe.height+p}),_.attr("class","outer title-state").attr("x",-B/2-f).attr("y",-(F/2)-f).attr("width",B+o.padding).attr("height",F+o.padding),cf(o,_),o.intersect=function(ye){return Ah.rect(o,ye)},b}};let $A={};const zNe=(s,o,f)=>{let p,w;if(o.link){let k;Pt().securityLevel==="sandbox"?k="_top":o.linkTarget&&(k=o.linkTarget||"_blank"),p=s.insert("svg:a").attr("xlink:href",o.link).attr("target",k),w=HNe[o.shape](p,o,f)}else w=HNe[o.shape](s,o,f),p=w;return o.tooltip&&w.attr("title",o.tooltip),o.class&&w.attr("class","node default "+o.class),$A[o.id]=p,o.haveCallback&&$A[o.id].attr("class",$A[o.id].attr("class")+" clickable"),p},RPt=(s,o)=>{$A[o.id]=s},jPt=()=>{$A={}},GNe=s=>{const o=$A[s.id];je.trace("Transforming node",s.diff,s,"translate("+(s.x-s.width/2-5)+", "+s.width/2+")");const f=8,p=s.diff||0;return s.clusterNode?o.attr("transform","translate("+(s.x+p-s.width/2)+", "+(s.y-s.height/2-f)+")"):o.attr("transform","translate("+s.x+", "+s.y+")"),p},$Pt={rect:(s,o)=>{je.trace("Creating subgraph rect for ",o.id,o);const f=s.insert("g").attr("class","cluster"+(o.class?" "+o.class:"")).attr("id",o.id),p=f.insert("rect",":first-child"),w=f.insert("g").attr("class","cluster-label"),k=w.node().appendChild(ip(o.labelText,o.labelStyle,void 0,!0));let b=k.getBBox();if(l1(Pt().flowchart.htmlLabels)){const F=k.children[0],H=sr(k);b=F.getBoundingClientRect(),H.attr("width",b.width),H.attr("height",b.height)}const _=0*o.padding,A=_/2,N=o.width<=b.width+_?b.width+_:o.width;o.width<=b.width+_?o.diff=(b.width-o.width)/2-o.padding/2:o.diff=-o.padding/2,je.trace("Data ",o,JSON.stringify(o)),p.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("x",o.x-N/2).attr("y",o.y-o.height/2-A).attr("width",N).attr("height",o.height+_),w.attr("transform","translate("+(o.x-b.width/2)+", "+(o.y-o.height/2)+")");const B=p.node().getBBox();return o.width=B.width,o.height=B.height,o.intersect=function(F){return ZN(o,F)},f},roundedWithTitle:(s,o)=>{const f=s.insert("g").attr("class",o.classes).attr("id",o.id),p=f.insert("rect",":first-child"),w=f.insert("g").attr("class","cluster-label"),k=f.append("rect"),b=w.node().appendChild(ip(o.labelText,o.labelStyle,void 0,!0));let _=b.getBBox();if(l1(Pt().flowchart.htmlLabels)){const H=b.children[0],j=sr(b);_=H.getBoundingClientRect(),j.attr("width",_.width),j.attr("height",_.height)}_=b.getBBox();const A=0*o.padding,N=A/2,B=o.width<=_.width+o.padding?_.width+o.padding:o.width;o.width<=_.width+o.padding?o.diff=(_.width+o.padding*0-o.width)/2:o.diff=-o.padding/2,p.attr("class","outer").attr("x",o.x-B/2-N).attr("y",o.y-o.height/2-N).attr("width",B+A).attr("height",o.height+A),k.attr("class","inner").attr("x",o.x-B/2-N).attr("y",o.y-o.height/2-N+_.height-1).attr("width",B+A).attr("height",o.height+A-_.height-3),w.attr("transform","translate("+(o.x-_.width/2)+", "+(o.y-o.height/2-o.padding/3+(l1(Pt().flowchart.htmlLabels)?5:3))+")");const F=p.node().getBBox();return o.height=F.height,o.intersect=function(H){return ZN(o,H)},f},noteGroup:(s,o)=>{const f=s.insert("g").attr("class","note-cluster").attr("id",o.id),p=f.insert("rect",":first-child"),w=0*o.padding,k=w/2;p.attr("rx",o.rx).attr("ry",o.ry).attr("x",o.x-o.width/2-k).attr("y",o.y-o.height/2-k).attr("width",o.width+w).attr("height",o.height+w).attr("fill","none");const b=p.node().getBBox();return o.width=b.width,o.height=b.height,o.intersect=function(_){return ZN(o,_)},f},divider:(s,o)=>{const f=s.insert("g").attr("class",o.classes).attr("id",o.id),p=f.insert("rect",":first-child"),w=0*o.padding,k=w/2;p.attr("class","divider").attr("x",o.x-o.width/2-k).attr("y",o.y-o.height/2).attr("width",o.width+w).attr("height",o.height+w);const b=p.node().getBBox();return o.width=b.width,o.height=b.height,o.diff=-o.padding/2,o.intersect=function(_){return ZN(o,_)},f}};let qNe={};const HPt=(s,o)=>{je.trace("Inserting cluster");const f=o.shape||"rect";qNe[o.id]=$Pt[f](s,o)},zPt=()=>{qNe={}};let VK={},Bd={};const GPt=()=>{VK={},Bd={}},VNe=(s,o)=>{const f=ip(o.label,o.labelStyle),p=s.insert("g").attr("class","edgeLabel"),w=p.insert("g").attr("class","label");w.node().appendChild(f);let k=f.getBBox();if(l1(Pt().flowchart.htmlLabels)){const _=f.children[0],A=sr(f);k=_.getBoundingClientRect(),A.attr("width",k.width),A.attr("height",k.height)}w.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"),VK[o.id]=p,o.width=k.width,o.height=k.height;let b;if(o.startLabelLeft){const _=ip(o.startLabelLeft,o.labelStyle),A=s.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");b=N.node().appendChild(_);const B=_.getBBox();N.attr("transform","translate("+-B.width/2+", "+-B.height/2+")"),Bd[o.id]||(Bd[o.id]={}),Bd[o.id].startLeft=A,UK(b,o.startLabelLeft)}if(o.startLabelRight){const _=ip(o.startLabelRight,o.labelStyle),A=s.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");b=A.node().appendChild(_),N.node().appendChild(_);const B=_.getBBox();N.attr("transform","translate("+-B.width/2+", "+-B.height/2+")"),Bd[o.id]||(Bd[o.id]={}),Bd[o.id].startRight=A,UK(b,o.startLabelRight)}if(o.endLabelLeft){const _=ip(o.endLabelLeft,o.labelStyle),A=s.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");b=N.node().appendChild(_);const B=_.getBBox();N.attr("transform","translate("+-B.width/2+", "+-B.height/2+")"),A.node().appendChild(_),Bd[o.id]||(Bd[o.id]={}),Bd[o.id].endLeft=A,UK(b,o.endLabelLeft)}if(o.endLabelRight){const _=ip(o.endLabelRight,o.labelStyle),A=s.insert("g").attr("class","edgeTerminals"),N=A.insert("g").attr("class","inner");b=N.node().appendChild(_);const B=_.getBBox();N.attr("transform","translate("+-B.width/2+", "+-B.height/2+")"),A.node().appendChild(_),Bd[o.id]||(Bd[o.id]={}),Bd[o.id].endRight=A,UK(b,o.endLabelRight)}return f};function UK(s,o){Pt().flowchart.htmlLabels&&s&&(s.style.width=o.length*9+"px",s.style.height="12px")}const qPt=(s,o)=>{je.info("Moving label abc78 ",s.id,s.label,VK[s.id]);let f=o.updatedPath?o.updatedPath:o.originalPath;if(s.label){const p=VK[s.id];let w=s.x,k=s.y;if(f){const b=Pa.calcLabelPosition(f);je.info("Moving label "+s.label+" from (",w,",",k,") to (",b.x,",",b.y,") abc78"),o.updatedPath&&(w=b.x,k=b.y)}p.attr("transform","translate("+w+", "+k+")")}if(s.startLabelLeft){const p=Bd[s.id].startLeft;let w=s.x,k=s.y;if(f){const b=Pa.calcTerminalLabelPosition(s.arrowTypeStart?10:0,"start_left",f);w=b.x,k=b.y}p.attr("transform","translate("+w+", "+k+")")}if(s.startLabelRight){const p=Bd[s.id].startRight;let w=s.x,k=s.y;if(f){const b=Pa.calcTerminalLabelPosition(s.arrowTypeStart?10:0,"start_right",f);w=b.x,k=b.y}p.attr("transform","translate("+w+", "+k+")")}if(s.endLabelLeft){const p=Bd[s.id].endLeft;let w=s.x,k=s.y;if(f){const b=Pa.calcTerminalLabelPosition(s.arrowTypeEnd?10:0,"end_left",f);w=b.x,k=b.y}p.attr("transform","translate("+w+", "+k+")")}if(s.endLabelRight){const p=Bd[s.id].endRight;let w=s.x,k=s.y;if(f){const b=Pa.calcTerminalLabelPosition(s.arrowTypeEnd?10:0,"end_right",f);w=b.x,k=b.y}p.attr("transform","translate("+w+", "+k+")")}},VPt=(s,o)=>{const f=s.x,p=s.y,w=Math.abs(o.x-f),k=Math.abs(o.y-p),b=s.width/2,_=s.height/2;return w>=b||k>=_},UPt=(s,o,f)=>{je.warn(`intersection calc abc89:
- outsidePoint: ${JSON.stringify(o)}
- insidePoint : ${JSON.stringify(f)}
- node : x:${s.x} y:${s.y} w:${s.width} h:${s.height}`);const p=s.x,w=s.y,k=Math.abs(p-f.x),b=s.width/2;let _=f.x<o.x?b-k:b+k;const A=s.height/2,N=Math.abs(o.y-f.y),B=Math.abs(o.x-f.x);if(Math.abs(w-o.y)*b>Math.abs(p-o.x)*A){let F=f.y<o.y?o.y-A-w:w-A-o.y;_=B*F/N;const H={x:f.x<o.x?f.x+_:f.x-B+_,y:f.y<o.y?f.y+N-F:f.y-N+F};return _===0&&(H.x=o.x,H.y=o.y),B===0&&(H.x=o.x),N===0&&(H.y=o.y),je.warn(`abc89 topp/bott calc, Q ${N}, q ${F}, R ${B}, r ${_}`,H),H}else{f.x<o.x?_=o.x-b-p:_=p-b-o.x;let F=N*_/B,H=f.x<o.x?f.x+B-_:f.x-B+_,j=f.y<o.y?f.y+F:f.y-F;return je.warn(`sides calc abc89, Q ${N}, q ${F}, R ${B}, r ${_}`,{_x:H,_y:j}),_===0&&(H=o.x,j=o.y),B===0&&(H=o.x),N===0&&(j=o.y),{x:H,y:j}}},UNe=(s,o)=>{je.warn("abc88 cutPathAtIntersect",s,o);let f=[],p=s[0],w=!1;return s.forEach(k=>{if(je.info("abc88 checking point",k,o),!VPt(o,k)&&!w){const b=UPt(o,p,k);je.warn("abc88 inside",k,p,b),je.warn("abc88 intersection",b);let _=!1;f.forEach(A=>{_=_||A.x===b.x&&A.y===b.y}),f.some(A=>A.x===b.x&&A.y===b.y)?je.warn("abc88 no intersect",b,f):f.push(b),w=!0}else je.warn("abc88 outside",k,p),p=k,w||f.push(k)}),je.warn("abc88 returning points",f),f},KPt=function(s,o,f,p,w,k){let b=f.points,_=!1;const A=k.node(o.v);var N=k.node(o.w);je.info("abc88 InsertEdge: ",f),N.intersect&&A.intersect&&(b=b.slice(1,f.points.length-1),b.unshift(A.intersect(b[0])),je.info("Last point",b[b.length-1],N,N.intersect(b[b.length-1])),b.push(N.intersect(b[b.length-1]))),f.toCluster&&(je.info("to cluster abc88",p[f.toCluster]),b=UNe(f.points,p[f.toCluster].node),_=!0),f.fromCluster&&(je.info("from cluster abc88",p[f.fromCluster]),b=UNe(b.reverse(),p[f.fromCluster].node).reverse(),_=!0);const B=b.filter(le=>!Number.isNaN(le.y));let F;w==="graph"||w==="flowchart"?F=f.curve||pA:F=pA;const H=RE().x(function(le){return le.x}).y(function(le){return le.y}).curve(F);let j;switch(f.thickness){case"normal":j="edge-thickness-normal";break;case"thick":j="edge-thickness-thick";break;default:j=""}switch(f.pattern){case"solid":j+=" edge-pattern-solid";break;case"dotted":j+=" edge-pattern-dotted";break;case"dashed":j+=" edge-pattern-dashed";break}const V=s.append("path").attr("d",H(B)).attr("id",f.id).attr("class"," "+j+(f.classes?" "+f.classes:"")).attr("style",f.style);let Z="";switch((Pt().flowchart.arrowMarkerAbsolute||Pt().state.arrowMarkerAbsolute)&&(Z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Z=Z.replace(/\(/g,"\\("),Z=Z.replace(/\)/g,"\\)")),je.info("arrowTypeStart",f.arrowTypeStart),je.info("arrowTypeEnd",f.arrowTypeEnd),f.arrowTypeStart){case"arrow_cross":V.attr("marker-start","url("+Z+"#"+w+"-crossStart)");break;case"arrow_point":V.attr("marker-start","url("+Z+"#"+w+"-pointStart)");break;case"arrow_barb":V.attr("marker-start","url("+Z+"#"+w+"-barbStart)");break;case"arrow_circle":V.attr("marker-start","url("+Z+"#"+w+"-circleStart)");break;case"aggregation":V.attr("marker-start","url("+Z+"#"+w+"-aggregationStart)");break;case"extension":V.attr("marker-start","url("+Z+"#"+w+"-extensionStart)");break;case"composition":V.attr("marker-start","url("+Z+"#"+w+"-compositionStart)");break;case"dependency":V.attr("marker-start","url("+Z+"#"+w+"-dependencyStart)");break;case"lollipop":V.attr("marker-start","url("+Z+"#"+w+"-lollipopStart)");break}switch(f.arrowTypeEnd){case"arrow_cross":V.attr("marker-end","url("+Z+"#"+w+"-crossEnd)");break;case"arrow_point":V.attr("marker-end","url("+Z+"#"+w+"-pointEnd)");break;case"arrow_barb":V.attr("marker-end","url("+Z+"#"+w+"-barbEnd)");break;case"arrow_circle":V.attr("marker-end","url("+Z+"#"+w+"-circleEnd)");break;case"aggregation":V.attr("marker-end","url("+Z+"#"+w+"-aggregationEnd)");break;case"extension":V.attr("marker-end","url("+Z+"#"+w+"-extensionEnd)");break;case"composition":V.attr("marker-end","url("+Z+"#"+w+"-compositionEnd)");break;case"dependency":V.attr("marker-end","url("+Z+"#"+w+"-dependencyEnd)");break;case"lollipop":V.attr("marker-end","url("+Z+"#"+w+"-lollipopEnd)");break}let ae={};return _&&(ae.updatedPath=b),ae.originalPath=f.points,ae},KNe=(s,o,f,p)=>{je.info("Graph in recursive render: XXX",m5(o),p);const w=o.graph().rankdir;je.trace("Dir in recursive render - dir:",w);const k=s.insert("g").attr("class","root");o.nodes()?je.info("Recursive render XXX",o.nodes()):je.info("No nodes found for",o),o.edges().length>0&&je.trace("Recursive edges",o.edge(o.edges()[0]));const b=k.insert("g").attr("class","clusters"),_=k.insert("g").attr("class","edgePaths"),A=k.insert("g").attr("class","edgeLabels"),N=k.insert("g").attr("class","nodes");o.nodes().forEach(function(F){const H=o.node(F);if(p!==void 0){const j=JSON.parse(JSON.stringify(p.clusterData));je.info("Setting data for cluster XXX (",F,") ",j,p),o.setNode(p.id,j),o.parent(F)||(je.trace("Setting parent",F,p.id),o.setParent(F,p.id,j))}if(je.info("(Insert) Node XXX"+F+": "+JSON.stringify(o.node(F))),H&&H.clusterNode){je.info("Cluster identified",F,H.width,o.node(F));const j=KNe(N,H.graph,f,o.node(F)),V=j.elem;cf(H,V),H.diff=j.diff||0,je.info("Node bounds (abc123)",F,H,H.width,H.x,H.y),RPt(V,H),je.warn("Recursive render complete ",V,H)}else o.children(F).length>0?(je.info("Cluster - the non recursive path XXX",F,H.id,H,o),je.info(QN(H.id,o)),Zo[H.id]={id:QN(H.id,o),node:H}):(je.info("Node - the non recursive path",F,H.id,H),zNe(N,o.node(F),w))}),o.edges().forEach(function(F){const H=o.edge(F.v,F.w,F.name);je.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(F)),je.info("Edge "+F.v+" -> "+F.w+": ",F," ",JSON.stringify(o.edge(F))),je.info("Fix",Zo,"ids:",F.v,F.w,"Translateing: ",Zo[F.v],Zo[F.w]),VNe(A,H)}),o.edges().forEach(function(F){je.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(F))}),je.info("#############################################"),je.info("### Layout ###"),je.info("#############################################"),je.info(o),jA(o),je.info("Graph after layout:",m5(o));let B=0;return pPt(o).forEach(function(F){const H=o.node(F);je.info("Position "+F+": "+JSON.stringify(o.node(F))),je.info("Position "+F+": ("+H.x,","+H.y,") width: ",H.width," height: ",H.height),H&&H.clusterNode?GNe(H):o.children(F).length>0?(HPt(b,H),Zo[H.id].node=H):GNe(H)}),o.edges().forEach(function(F){const H=o.edge(F);je.info("Edge "+F.v+" -> "+F.w+": "+JSON.stringify(H),H);const j=KPt(_,F,H,Zo,f,o);qPt(H,j)}),o.nodes().forEach(function(F){const H=o.node(F);je.info(F,H.type,H.diff),H.type==="group"&&(B=H.diff)}),{elem:k,diff:B}},$de=(s,o,f,p,w)=>{MNe(s,f,p,w),jPt(),GPt(),zPt(),fPt(),je.warn("Graph at first:",m5(o)),gPt(o),je.warn("Graph after:",m5(o)),KNe(s,o,p)},WNe=s=>xa.sanitizeText(s,Pt());let YNe={dividerMargin:10,padding:5,textHeight:10};const WPt=function(s,o,f,p){const w=Object.keys(s);je.info("keys:",w),je.info(s),w.forEach(function(k){const b=s[k];let _="";b.cssClasses.length>0&&(_=_+" "+b.cssClasses.join(" "));const A={labelStyle:""};let N=b.text!==void 0?b.text:b.id,B=0,F="";switch(b.type){case"class":F="class_box";break;default:F="class_box"}o.setNode(b.id,{labelStyle:A.labelStyle,shape:F,labelText:WNe(N),classData:b,rx:B,ry:B,class:_,style:A.style,id:b.id,domId:b.domId,tooltip:p.db.getTooltip(b.id)||"",haveCallback:b.haveCallback,link:b.link,width:b.type==="group"?500:void 0,type:b.type,padding:Pt().flowchart.padding}),je.info("setNode",{labelStyle:A.labelStyle,shape:F,labelText:N,rx:B,ry:B,class:_,style:A.style,id:b.id,width:b.type==="group"?500:void 0,type:b.type,padding:Pt().flowchart.padding})})},YPt=function(s,o,f,p){je.info(s),s.forEach(function(w,k){const b=w;let _="";const A={labelStyle:"",style:""};let N=b.text,B=0,F="note";if(o.setNode(b.id,{labelStyle:A.labelStyle,shape:F,labelText:WNe(N),noteData:b,rx:B,ry:B,class:_,style:A.style,id:b.id,domId:b.id,tooltip:"",type:"note",padding:Pt().flowchart.padding}),je.info("setNode",{labelStyle:A.labelStyle,shape:F,labelText:N,rx:B,ry:B,style:A.style,id:b.id,type:"note",padding:Pt().flowchart.padding}),!b.class||!(b.class in p))return;const H=f+k,j={};j.classes="relation",j.pattern="dotted",j.id=`edgeNote${H}`,j.arrowhead="none",je.info(`Note edge: ${JSON.stringify(j)}, ${JSON.stringify(b)}`),j.startLabelRight="",j.endLabelLeft="",j.arrowTypeStart="none",j.arrowTypeEnd="none";let V="fill:none",Z="";j.style=V,j.labelStyle=Z,j.curve=Jg(YNe.curve,Pd),o.setEdge(b.id,b.class,j,H)})},XPt=function(s,o){const f=Pt().flowchart;let p=0;s.forEach(function(w){p++;const k={};k.classes="relation",k.pattern=w.relation.lineType==1?"dashed":"solid",k.id="id"+p,w.type==="arrow_open"?k.arrowhead="none":k.arrowhead="normal",je.info(k,w),k.startLabelRight=w.relationTitle1==="none"?"":w.relationTitle1,k.endLabelLeft=w.relationTitle2==="none"?"":w.relationTitle2,k.arrowTypeStart=XNe(w.relation.type1),k.arrowTypeEnd=XNe(w.relation.type2);let b="",_="";if(w.style!==void 0){const A=qw(w.style);b=A.style,_=A.labelStyle}else b="fill:none";k.style=b,k.labelStyle=_,w.interpolate!==void 0?k.curve=Jg(w.interpolate,Pd):s.defaultInterpolate!==void 0?k.curve=Jg(s.defaultInterpolate,Pd):k.curve=Jg(f.curve,Pd),w.text=w.title,w.text===void 0?w.style!==void 0&&(k.arrowheadStyle="fill: #333"):(k.arrowheadStyle="fill: #333",k.labelpos="c",Pt().flowchart.htmlLabels?(k.labelType="html",k.label='<span class="edgeLabel">'+w.text+"</span>"):(k.labelType="text",k.label=w.text.replace(xa.lineBreakRegex,`
-`),w.style===void 0&&(k.style=k.style||"stroke: #333; stroke-width: 1.5px;fill:none"),k.labelStyle=k.labelStyle.replace("color:","fill:"))),o.setEdge(w.id1,w.id2,k,p)})},QPt=function(s){Object.keys(s).forEach(function(f){YNe[f]=s[f]})},ZPt=function(s,o,f,p){je.info("Drawing class - ",o);const w=Pt().flowchart,k=Pt().securityLevel;je.info("config:",w);const b=w.nodeSpacing||50,_=w.rankSpacing||50,A=new Hf({multigraph:!0,compound:!0}).setGraph({rankdir:p.db.getDirection(),nodesep:b,ranksep:_,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),N=p.db.getClasses(),B=p.db.getRelations(),F=p.db.getNotes();je.info(B),WPt(N,A,o,p),XPt(B,A),YPt(F,A,B.length+1,N);let H;k==="sandbox"&&(H=sr("#i"+o));const j=sr(k==="sandbox"?H.nodes()[0].contentDocument.body:"body"),V=j.select(`[id="${o}"]`),Z=j.select("#"+o+" g");if($de(Z,A,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),Pa.insertTitle(V,"classTitleText",w.titleTopMargin,p.db.getDiagramTitle()),KE(A,V,w.diagramPadding,w.useMaxWidth),!w.htmlLabels){const ae=k==="sandbox"?H.nodes()[0].contentDocument:document,le=ae.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const ce of le){const be=ce.getBBox(),xe=ae.createElementNS("http://www.w3.org/2000/svg","rect");xe.setAttribute("rx",0),xe.setAttribute("ry",0),xe.setAttribute("width",be.width),xe.setAttribute("height",be.height),ce.insertBefore(xe,ce.firstChild)}}};function XNe(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const JPt={setConf:QPt,draw:ZPt};var Hde=function(){var s=function(ke,he,De,X){for(De=De||{},X=ke.length;X--;De[ke[X]]=he);return De},o=[1,2],f=[1,5],p=[6,9,11,23,25,27,29,30,31,51],w=[1,17],k=[1,18],b=[1,19],_=[1,20],A=[1,21],N=[1,22],B=[1,25],F=[1,30],H=[1,31],j=[1,32],V=[1,33],Z=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],ae=[1,45],le=[30,31,48,49],ce=[4,6,9,11,23,25,27,29,30,31,51],be=[44,45,46,47],xe=[22,37],Ee=[1,65],Me=[1,64],fe=[22,37,39,41],ye={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(he,De,X,Re,pe,Ge,de){var ct=Ge.length-1;switch(pe){case 1:break;case 3:this.$=[];break;case 4:Ge[ct-1].push(Ge[ct]),this.$=Ge[ct-1];break;case 5:case 6:this.$=Ge[ct];break;case 7:case 8:this.$=[];break;case 12:Re.addEntity(Ge[ct-4]),Re.addEntity(Ge[ct-2]),Re.addRelationship(Ge[ct-4],Ge[ct],Ge[ct-2],Ge[ct-3]);break;case 13:Re.addEntity(Ge[ct-3]),Re.addAttributes(Ge[ct-3],Ge[ct-1]);break;case 14:Re.addEntity(Ge[ct-2]);break;case 15:Re.addEntity(Ge[ct]);break;case 16:case 17:this.$=Ge[ct].trim(),Re.setAccTitle(this.$);break;case 18:case 19:this.$=Ge[ct].trim(),Re.setAccDescription(this.$);break;case 20:case 43:this.$=Ge[ct];break;case 21:case 41:case 42:this.$=Ge[ct].replace(/"/g,"");break;case 22:case 30:this.$=[Ge[ct]];break;case 23:Ge[ct].push(Ge[ct-1]),this.$=Ge[ct];break;case 24:this.$={attributeType:Ge[ct-1],attributeName:Ge[ct]};break;case 25:this.$={attributeType:Ge[ct-2],attributeName:Ge[ct-1],attributeKeyTypeList:Ge[ct]};break;case 26:this.$={attributeType:Ge[ct-2],attributeName:Ge[ct-1],attributeComment:Ge[ct]};break;case 27:this.$={attributeType:Ge[ct-3],attributeName:Ge[ct-2],attributeKeyTypeList:Ge[ct-1],attributeComment:Ge[ct]};break;case 28:case 29:case 32:this.$=Ge[ct];break;case 31:Ge[ct-2].push(Ge[ct]),this.$=Ge[ct-2];break;case 33:this.$=Ge[ct].replace(/"/g,"");break;case 34:this.$={cardA:Ge[ct],relType:Ge[ct-1],cardB:Ge[ct-2]};break;case 35:this.$=Re.Cardinality.ZERO_OR_ONE;break;case 36:this.$=Re.Cardinality.ZERO_OR_MORE;break;case 37:this.$=Re.Cardinality.ONE_OR_MORE;break;case 38:this.$=Re.Cardinality.ONLY_ONE;break;case 39:this.$=Re.Identification.NON_IDENTIFYING;break;case 40:this.$=Re.Identification.IDENTIFYING;break;case 44:Re.parseDirective("%%{","open_directive");break;case 45:Re.parseDirective(Ge[ct],"type_directive");break;case 46:Ge[ct]=Ge[ct].trim().replace(/'/g,'"'),Re.parseDirective(Ge[ct],"arg_directive");break;case 47:Re.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:o,7:3,12:4,51:f},{1:[3]},s(p,[2,3],{5:6}),{3:7,4:o,7:3,12:4,51:f},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:w,25:k,27:b,29:_,30:A,31:N,51:f},{1:[2,2]},{14:23,15:[1,24],54:B},s([15,54],[2,45]),s(p,[2,8],{1:[2,1]}),s(p,[2,4]),{7:15,10:26,12:4,17:16,23:w,25:k,27:b,29:_,30:A,31:N,51:f},s(p,[2,6]),s(p,[2,7]),s(p,[2,11]),s(p,[2,15],{18:27,42:29,20:[1,28],44:F,45:H,46:j,47:V}),{24:[1,34]},{26:[1,35]},{28:[1,36]},s(p,[2,19]),s(Z,[2,20]),s(Z,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},s(p,[2,5]),{17:40,30:A,31:N},{21:41,22:[1,42],32:43,33:44,37:ae},{43:46,48:[1,47],49:[1,48]},s(le,[2,35]),s(le,[2,36]),s(le,[2,37]),s(le,[2,38]),s(p,[2,16]),s(p,[2,17]),s(p,[2,18]),s(ce,[2,9]),{14:49,54:B},{54:[2,46]},{15:[1,50]},{22:[1,51]},s(p,[2,14]),{21:52,22:[2,22],32:43,33:44,37:ae},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:F,45:H,46:j,47:V},s(be,[2,39]),s(be,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},s(p,[2,13]),{22:[2,23]},s(xe,[2,24],{35:61,36:62,38:63,40:Ee,41:Me}),s([22,37,40,41],[2,29]),s([30,31],[2,34]),s(ce,[2,10]),s(p,[2,12]),s(p,[2,41]),s(p,[2,42]),s(p,[2,43]),s(xe,[2,25],{36:66,39:[1,67],41:Me}),s(xe,[2,26]),s(fe,[2,30]),s(xe,[2,33]),s(fe,[2,32]),s(xe,[2,27]),{38:68,40:Ee},s(fe,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(he,De){if(De.recoverable)this.trace(he);else{var X=new Error(he);throw X.hash=De,X}},parse:function(he){var De=this,X=[0],Re=[],pe=[null],Ge=[],de=this.table,ct="",bt=0,St=0,yt=2,Mt=1,nn=Ge.slice.call(arguments,1),dn=Object.create(this.lexer),vt={yy:{}};for(var Lr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Lr)&&(vt.yy[Lr]=this.yy[Lr]);dn.setInput(he,vt.yy),vt.yy.lexer=dn,vt.yy.parser=this,typeof dn.yylloc>"u"&&(dn.yylloc={});var xt=dn.yylloc;Ge.push(xt);var Tt=dn.options&&dn.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function wt(){var Fr;return Fr=Re.pop()||dn.lex()||Mt,typeof Fr!="number"&&(Fr instanceof Array&&(Re=Fr,Fr=Re.pop()),Fr=De.symbols_[Fr]||Fr),Fr}for(var At,He,Ze,Lt,Ve={},Mn,Oe,Di,rn;;){if(He=X[X.length-1],this.defaultActions[He]?Ze=this.defaultActions[He]:((At===null||typeof At>"u")&&(At=wt()),Ze=de[He]&&de[He][At]),typeof Ze>"u"||!Ze.length||!Ze[0]){var pi="";rn=[];for(Mn in de[He])this.terminals_[Mn]&&Mn>yt&&rn.push("'"+this.terminals_[Mn]+"'");dn.showPosition?pi="Parse error on line "+(bt+1)+`:
-`+dn.showPosition()+`
-Expecting `+rn.join(", ")+", got '"+(this.terminals_[At]||At)+"'":pi="Parse error on line "+(bt+1)+": Unexpected "+(At==Mt?"end of input":"'"+(this.terminals_[At]||At)+"'"),this.parseError(pi,{text:dn.match,token:this.terminals_[At]||At,line:dn.yylineno,loc:xt,expected:rn})}if(Ze[0]instanceof Array&&Ze.length>1)throw new Error("Parse Error: multiple actions possible at state: "+He+", token: "+At);switch(Ze[0]){case 1:X.push(At),pe.push(dn.yytext),Ge.push(dn.yylloc),X.push(Ze[1]),At=null,St=dn.yyleng,ct=dn.yytext,bt=dn.yylineno,xt=dn.yylloc;break;case 2:if(Oe=this.productions_[Ze[1]][1],Ve.$=pe[pe.length-Oe],Ve._$={first_line:Ge[Ge.length-(Oe||1)].first_line,last_line:Ge[Ge.length-1].last_line,first_column:Ge[Ge.length-(Oe||1)].first_column,last_column:Ge[Ge.length-1].last_column},Tt&&(Ve._$.range=[Ge[Ge.length-(Oe||1)].range[0],Ge[Ge.length-1].range[1]]),Lt=this.performAction.apply(Ve,[ct,St,bt,vt.yy,Ze[1],pe,Ge].concat(nn)),typeof Lt<"u")return Lt;Oe&&(X=X.slice(0,-1*Oe*2),pe=pe.slice(0,-1*Oe),Ge=Ge.slice(0,-1*Oe)),X.push(this.productions_[Ze[1]][0]),pe.push(Ve.$),Ge.push(Ve._$),Di=de[X[X.length-2]][X[X.length-1]],X.push(Di);break;case 3:return!0}}return!0}},re=function(){var ke={EOF:1,parseError:function(De,X){if(this.yy.parser)this.yy.parser.parseError(De,X);else throw new Error(De)},setInput:function(he,De){return this.yy=De||this.yy||{},this._input=he,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 he=this._input[0];this.yytext+=he,this.yyleng++,this.offset++,this.match+=he,this.matched+=he;var De=he.match(/(?:\r\n?|\n).*/g);return De?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),he},unput:function(he){var De=he.length,X=he.split(/(?:\r\n?|\n)/g);this._input=he+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-De),this.offset-=De;var Re=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),X.length-1&&(this.yylineno-=X.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:X?(X.length===Re.length?this.yylloc.first_column:0)+Re[Re.length-X.length].length-X[0].length:this.yylloc.first_column-De},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-De]),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(he){this.unput(this.match.slice(he))},pastInput:function(){var he=this.matched.substr(0,this.matched.length-this.match.length);return(he.length>20?"...":"")+he.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var he=this.match;return he.length<20&&(he+=this._input.substr(0,20-he.length)),(he.substr(0,20)+(he.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var he=this.pastInput(),De=new Array(he.length+1).join("-");return he+this.upcomingInput()+`
-`+De+"^"},test_match:function(he,De){var X,Re,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))),Re=he[0].match(/(?:\r\n?|\n).*/g),Re&&(this.yylineno+=Re.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Re?Re[Re.length-1].length-Re[Re.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+he[0].length},this.yytext+=he[0],this.match+=he[0],this.matches=he,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(he[0].length),this.matched+=he[0],X=this.performAction.call(this,this.yy,this,De,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var Ge in pe)this[Ge]=pe[Ge];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var he,De,X,Re;this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),Ge=0;Ge<pe.length;Ge++)if(X=this._input.match(this.rules[pe[Ge]]),X&&(!De||X[0].length>De[0].length)){if(De=X,Re=Ge,this.options.backtrack_lexer){if(he=this.test_match(X,pe[Ge]),he!==!1)return he;if(this._backtrack){De=!1;continue}else return!1}else if(!this.options.flex)break}return De?(he=this.test_match(De,pe[Re]),he!==!1?he:!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 De=this.next();return De||this.lex()},begin:function(De){this.conditionStack.push(De)},popState:function(){var De=this.conditionStack.length-1;return De>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(De){return De=this.conditionStack.length-1-Math.abs(De||0),De>=0?this.conditionStack[De]:"INITIAL"},pushState:function(De){this.begin(De)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(De,X,Re,pe){switch(Re){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;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 this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:break;case 13:break;case 14:return 11;case 15:break;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 22:break;case 23:return 40;case 24:return 37;case 25:return 37;case 26:return 41;case 27:break;case 28:return this.popState(),22;case 29:return X.yytext[0];case 30:return 44;case 31:return 46;case 32:return 46;case 33:return 46;case 34:return 44;case 35:return 44;case 36:return 45;case 37:return 45;case 38:return 45;case 39:return 45;case 40:return 45;case 41:return 46;case 42:return 45;case 43:return 46;case 44:return 47;case 45:return 47;case 46:return 47;case 47:return 47;case 48:return 44;case 49:return 45;case 50:return 46;case 51:return 48;case 52:return 49;case 53:return 49;case 54:return 48;case 55:return 48;case 56:return 48;case 57:return 30;case 58:return X.yytext[0];case 59:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/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,/^(?: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,/^(?:\.\.)/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},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,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],inclusive:!0}}};return ke}();ye.lexer=re;function we(){this.yy={}}return we.prototype=ye,ye.Parser=we,new we}();Hde.parser=Hde;const eBt=Hde,tBt=s=>s.match(/^\s*erDiagram/)!==null;let JN={},zde=[];const nBt={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},rBt={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},iBt=function(s,o,f){Fl.parseDirective(this,s,o,f)},QNe=function(s){return JN[s]===void 0&&(JN[s]={attributes:[]},je.info("Added new entity :",s)),JN[s]},sBt={Cardinality:nBt,Identification:rBt,parseDirective:iBt,getConfig:()=>Pt().er,addEntity:QNe,addAttributes:function(s,o){let f=QNe(s),p;for(p=o.length-1;p>=0;p--)f.attributes.push(o[p]),je.debug("Added attribute ",o[p].attributeName)},getEntities:()=>JN,addRelationship:function(s,o,f,p){let w={entityA:s,roleA:o,entityB:f,relSpec:p};zde.push(w),je.debug("Added new relationship :",w)},getRelationships:()=>zde,clear:function(){JN={},zde=[],tp()},setAccTitle:np,getAccTitle:C2,setAccDescription:S2,getAccDescription:A2,setDiagramTitle:Kw,getDiagramTitle:Ww},k5={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"},x5={ERMarkers:k5,insertMarkers:function(s,o){let f;s.append("defs").append("marker").attr("id",k5.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),s.append("defs").append("marker").attr("id",k5.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),f=s.append("defs").append("marker").attr("id",k5.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M9,0 L9,18"),f=s.append("defs").append("marker").attr("id",k5.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M21,0 L21,18"),s.append("defs").append("marker").attr("id",k5.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").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",k5.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),f=s.append("defs").append("marker").attr("id",k5.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),f=s.append("defs").append("marker").attr("id",k5.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},aBt=/^(?:[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 oBt(s){return typeof s=="string"&&aBt.test(s)}const Fd=[];for(let s=0;s<256;++s)Fd.push((s+256).toString(16).slice(1));function cBt(s,o=0){return(Fd[s[o+0]]+Fd[s[o+1]]+Fd[s[o+2]]+Fd[s[o+3]]+"-"+Fd[s[o+4]]+Fd[s[o+5]]+"-"+Fd[s[o+6]]+Fd[s[o+7]]+"-"+Fd[s[o+8]]+Fd[s[o+9]]+"-"+Fd[s[o+10]]+Fd[s[o+11]]+Fd[s[o+12]]+Fd[s[o+13]]+Fd[s[o+14]]+Fd[s[o+15]]).toLowerCase()}function uBt(s){if(!oBt(s))throw TypeError("Invalid UUID");let o;const f=new Uint8Array(16);return f[0]=(o=parseInt(s.slice(0,8),16))>>>24,f[1]=o>>>16&255,f[2]=o>>>8&255,f[3]=o&255,f[4]=(o=parseInt(s.slice(9,13),16))>>>8,f[5]=o&255,f[6]=(o=parseInt(s.slice(14,18),16))>>>8,f[7]=o&255,f[8]=(o=parseInt(s.slice(19,23),16))>>>8,f[9]=o&255,f[10]=(o=parseInt(s.slice(24,36),16))/1099511627776&255,f[11]=o/4294967296&255,f[12]=o>>>24&255,f[13]=o>>>16&255,f[14]=o>>>8&255,f[15]=o&255,f}function lBt(s){s=unescape(encodeURIComponent(s));const o=[];for(let f=0;f<s.length;++f)o.push(s.charCodeAt(f));return o}const hBt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",fBt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function dBt(s,o,f){function p(w,k,b,_){var A;if(typeof w=="string"&&(w=lBt(w)),typeof k=="string"&&(k=uBt(k)),((A=k)===null||A===void 0?void 0:A.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let N=new Uint8Array(16+w.length);if(N.set(k),N.set(w,k.length),N=f(N),N[6]=N[6]&15|o,N[8]=N[8]&63|128,b){_=_||0;for(let B=0;B<16;++B)b[_+B]=N[B];return b}return cBt(N)}try{p.name=s}catch{}return p.DNS=hBt,p.URL=fBt,p}function gBt(s,o,f,p){switch(s){case 0:return o&f^~o&p;case 1:return o^f^p;case 2:return o&f^o&p^f&p;case 3:return o^f^p}}function Gde(s,o){return s<<o|s>>>32-o}function pBt(s){const o=[1518500249,1859775393,2400959708,3395469782],f=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){const b=unescape(encodeURIComponent(s));s=[];for(let _=0;_<b.length;++_)s.push(b.charCodeAt(_))}else Array.isArray(s)||(s=Array.prototype.slice.call(s));s.push(128);const p=s.length/4+2,w=Math.ceil(p/16),k=new Array(w);for(let b=0;b<w;++b){const _=new Uint32Array(16);for(let A=0;A<16;++A)_[A]=s[b*64+A*4]<<24|s[b*64+A*4+1]<<16|s[b*64+A*4+2]<<8|s[b*64+A*4+3];k[b]=_}k[w-1][14]=(s.length-1)*8/Math.pow(2,32),k[w-1][14]=Math.floor(k[w-1][14]),k[w-1][15]=(s.length-1)*8&4294967295;for(let b=0;b<w;++b){const _=new Uint32Array(80);for(let j=0;j<16;++j)_[j]=k[b][j];for(let j=16;j<80;++j)_[j]=Gde(_[j-3]^_[j-8]^_[j-14]^_[j-16],1);let A=f[0],N=f[1],B=f[2],F=f[3],H=f[4];for(let j=0;j<80;++j){const V=Math.floor(j/20),Z=Gde(A,5)+gBt(V,N,B,F)+H+o[V]+_[j]>>>0;H=F,F=B,B=Gde(N,30)>>>0,N=A,A=Z}f[0]=f[0]+A>>>0,f[1]=f[1]+N>>>0,f[2]=f[2]+B>>>0,f[3]=f[3]+F>>>0,f[4]=f[4]+H>>>0}return[f[0]>>24&255,f[0]>>16&255,f[0]>>8&255,f[0]&255,f[1]>>24&255,f[1]>>16&255,f[1]>>8&255,f[1]&255,f[2]>>24&255,f[2]>>16&255,f[2]>>8&255,f[2]&255,f[3]>>24&255,f[3]>>16&255,f[3]>>8&255,f[3]&255,f[4]>>24&255,f[4]>>16&255,f[4]>>8&255,f[4]&255]}const bBt=dBt("v5",80,pBt),vBt=/[^\dA-Za-z](\W)*/g;let d1={},eP=new Map;const wBt=function(s){const o=Object.keys(s);for(const f of o)d1[f]=s[f]},mBt=(s,o,f)=>{const p=d1.entityPadding/3,w=d1.entityPadding/3,k=d1.fontSize*.85,b=o.node().getBBox(),_=[];let A=!1,N=!1,B=0,F=0,H=0,j=0,V=b.height+p*2,Z=1;f.forEach(be=>{be.attributeKeyTypeList!==void 0&&be.attributeKeyTypeList.length>0&&(A=!0),be.attributeComment!==void 0&&(N=!0)}),f.forEach(be=>{const xe=`${o.node().id}-attr-${Z}`;let Ee=0;const Me=Uk(be.attributeType),fe=s.append("text").classed("er entityLabel",!0).attr("id",`${xe}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Pt().fontFamily).style("font-size",k+"px").text(Me),ye=s.append("text").classed("er entityLabel",!0).attr("id",`${xe}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Pt().fontFamily).style("font-size",k+"px").text(be.attributeName),re={};re.tn=fe,re.nn=ye;const we=fe.node().getBBox(),ke=ye.node().getBBox();if(B=Math.max(B,we.width),F=Math.max(F,ke.width),Ee=Math.max(we.height,ke.height),A){const he=be.attributeKeyTypeList!==void 0?be.attributeKeyTypeList.join(","):"",De=s.append("text").classed("er entityLabel",!0).attr("id",`${xe}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Pt().fontFamily).style("font-size",k+"px").text(he);re.kn=De;const X=De.node().getBBox();H=Math.max(H,X.width),Ee=Math.max(Ee,X.height)}if(N){const he=s.append("text").classed("er entityLabel",!0).attr("id",`${xe}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Pt().fontFamily).style("font-size",k+"px").text(be.attributeComment||"");re.cn=he;const De=he.node().getBBox();j=Math.max(j,De.width),Ee=Math.max(Ee,De.height)}re.height=Ee,_.push(re),V+=Ee+p*2,Z+=1});let ae=4;A&&(ae+=2),N&&(ae+=2);const le=B+F+H+j,ce={width:Math.max(d1.minEntityWidth,Math.max(b.width+d1.entityPadding*2,le+w*ae)),height:f.length>0?V:Math.max(d1.minEntityHeight,b.height+d1.entityPadding*2)};if(f.length>0){const be=Math.max(0,(ce.width-le-w*ae)/(ae/2));o.attr("transform","translate("+ce.width/2+","+(p+b.height/2)+")");let xe=b.height+p*2,Ee="attributeBoxOdd";_.forEach(Me=>{const fe=xe+p+Me.height/2;Me.tn.attr("transform","translate("+w+","+fe+")");const ye=s.insert("rect","#"+Me.tn.node().id).classed(`er ${Ee}`,!0).attr("x",0).attr("y",xe).attr("width",B+w*2+be).attr("height",Me.height+p*2),re=parseFloat(ye.attr("x"))+parseFloat(ye.attr("width"));Me.nn.attr("transform","translate("+(re+w)+","+fe+")");const we=s.insert("rect","#"+Me.nn.node().id).classed(`er ${Ee}`,!0).attr("x",re).attr("y",xe).attr("width",F+w*2+be).attr("height",Me.height+p*2);let ke=parseFloat(we.attr("x"))+parseFloat(we.attr("width"));if(A){Me.kn.attr("transform","translate("+(ke+w)+","+fe+")");const he=s.insert("rect","#"+Me.kn.node().id).classed(`er ${Ee}`,!0).attr("x",ke).attr("y",xe).attr("width",H+w*2+be).attr("height",Me.height+p*2);ke=parseFloat(he.attr("x"))+parseFloat(he.attr("width"))}N&&(Me.cn.attr("transform","translate("+(ke+w)+","+fe+")"),s.insert("rect","#"+Me.cn.node().id).classed(`er ${Ee}`,"true").attr("x",ke).attr("y",xe).attr("width",j+w*2+be).attr("height",Me.height+p*2)),xe+=Me.height+p*2,Ee=Ee==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else ce.height=Math.max(d1.minEntityHeight,V),o.attr("transform","translate("+ce.width/2+","+ce.height/2+")");return ce},yBt=function(s,o,f){const p=Object.keys(o);let w;return p.forEach(function(k){const b=CBt(k,"entity");eP.set(k,b);const _=s.append("g").attr("id",b);w=w===void 0?b:w;const A="text-"+b,N=_.append("text").classed("er entityLabel",!0).attr("id",A).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",Pt().fontFamily).style("font-size",d1.fontSize+"px").text(k),{width:B,height:F}=mBt(_,N,o[k].attributes),j=_.insert("rect","#"+A).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",B).attr("height",F).node().getBBox();f.setNode(b,{width:j.width,height:j.height,shape:"rect",id:b})}),w},kBt=function(s,o){o.nodes().forEach(function(f){f!==void 0&&o.node(f)!==void 0&&s.select("#"+f).attr("transform","translate("+(o.node(f).x-o.node(f).width/2)+","+(o.node(f).y-o.node(f).height/2)+" )")})},ZNe=function(s){return(s.entityA+s.roleA+s.entityB).replace(/\s/g,"")},xBt=function(s,o){return s.forEach(function(f){o.setEdge(eP.get(f.entityA),eP.get(f.entityB),{relationship:f},ZNe(f))}),s};let JNe=0;const EBt=function(s,o,f,p,w){JNe++;const k=f.edge(eP.get(o.entityA),eP.get(o.entityB),ZNe(o)),b=RE().x(function(V){return V.x}).y(function(V){return V.y}).curve(pA),_=s.insert("path","#"+p).classed("er relationshipLine",!0).attr("d",b(k.points)).style("stroke",d1.stroke).style("fill","none");o.relSpec.relType===w.db.Identification.NON_IDENTIFYING&&_.attr("stroke-dasharray","8,8");let A="";switch(d1.arrowMarkerAbsolute&&(A=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,A=A.replace(/\(/g,"\\("),A=A.replace(/\)/g,"\\)")),o.relSpec.cardA){case w.db.Cardinality.ZERO_OR_ONE:_.attr("marker-end","url("+A+"#"+x5.ERMarkers.ZERO_OR_ONE_END+")");break;case w.db.Cardinality.ZERO_OR_MORE:_.attr("marker-end","url("+A+"#"+x5.ERMarkers.ZERO_OR_MORE_END+")");break;case w.db.Cardinality.ONE_OR_MORE:_.attr("marker-end","url("+A+"#"+x5.ERMarkers.ONE_OR_MORE_END+")");break;case w.db.Cardinality.ONLY_ONE:_.attr("marker-end","url("+A+"#"+x5.ERMarkers.ONLY_ONE_END+")");break}switch(o.relSpec.cardB){case w.db.Cardinality.ZERO_OR_ONE:_.attr("marker-start","url("+A+"#"+x5.ERMarkers.ZERO_OR_ONE_START+")");break;case w.db.Cardinality.ZERO_OR_MORE:_.attr("marker-start","url("+A+"#"+x5.ERMarkers.ZERO_OR_MORE_START+")");break;case w.db.Cardinality.ONE_OR_MORE:_.attr("marker-start","url("+A+"#"+x5.ERMarkers.ONE_OR_MORE_START+")");break;case w.db.Cardinality.ONLY_ONE:_.attr("marker-start","url("+A+"#"+x5.ERMarkers.ONLY_ONE_START+")");break}const N=_.node().getTotalLength(),B=_.node().getPointAtLength(N*.5),F="rel"+JNe,j=s.append("text").classed("er relationshipLabel",!0).attr("id",F).attr("x",B.x).attr("y",B.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",Pt().fontFamily).style("font-size",d1.fontSize+"px").text(o.roleA).node().getBBox();s.insert("rect","#"+F).classed("er relationshipLabelBox",!0).attr("x",B.x-j.width/2).attr("y",B.y-j.height/2).attr("width",j.width).attr("height",j.height)},TBt=function(s,o,f,p){d1=Pt().er,je.info("Drawing ER diagram");const w=Pt().securityLevel;let k;w==="sandbox"&&(k=sr("#i"+o));const _=sr(w==="sandbox"?k.nodes()[0].contentDocument.body:"body").select(`[id='${o}']`);x5.insertMarkers(_,d1);let A;A=new Hf({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:d1.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const N=yBt(_,p.db.getEntities(),A),B=xBt(p.db.getRelationships(),A);jA(A),kBt(_,A),B.forEach(function(Z){EBt(_,Z,A,N,p)});const F=d1.diagramPadding;Pa.insertTitle(_,"entityTitleText",d1.titleTopMargin,p.db.getDiagramTitle());const H=_.node().getBBox(),j=H.width+F*2,V=H.height+F*2;Uw(_,V,j,d1.useMaxWidth),_.attr("viewBox",`${H.x-F} ${H.y-F} ${j} ${V}`)},_Bt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function CBt(s="",o=""){const f=s.replace(vBt,"");return`${ePe(o)}${ePe(f)}${bBt(s,_Bt)}`}function ePe(s=""){return s.length>0?`${s}-`:""}const SBt={setConf:wBt,draw:TBt};var qde=function(){var s=function(Rd,cs,Es,Ya){for(Es=Es||{},Ya=Rd.length;Ya--;Es[Rd[Ya]]=cs);return Es},o=[1,9],f=[1,7],p=[1,6],w=[1,8],k=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],b=[2,10],_=[1,20],A=[1,21],N=[1,22],B=[1,23],F=[1,30],H=[1,32],j=[1,33],V=[1,34],Z=[1,62],ae=[1,48],le=[1,52],ce=[1,36],be=[1,37],xe=[1,38],Ee=[1,39],Me=[1,40],fe=[1,56],ye=[1,63],re=[1,51],we=[1,53],ke=[1,55],he=[1,59],De=[1,60],X=[1,41],Re=[1,42],pe=[1,43],Ge=[1,44],de=[1,61],ct=[1,50],bt=[1,54],St=[1,57],yt=[1,58],Mt=[1,49],nn=[1,66],dn=[1,71],vt=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Lr=[1,75],xt=[1,74],Tt=[1,76],wt=[20,21,23,81,82],At=[1,99],He=[1,104],Ze=[1,107],Lt=[1,108],Ve=[1,101],Mn=[1,106],Oe=[1,109],Di=[1,102],rn=[1,114],pi=[1,113],Fr=[1,103],tr=[1,105],Wn=[1,110],er=[1,111],Fn=[1,112],nr=[1,115],ha=[20,21,22,23,81,82],fa=[20,21,22,23,53,81,82],is=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Xi=[20,21,23],da=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Cc=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],na=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],Ji=[1,149],Fi=[1,157],vr=[1,158],wr=[1,159],ni=[1,160],Yn=[1,144],Gi=[1,145],un=[1,141],Ks=[1,152],Hn=[1,153],Ms=[1,154],Ea=[1,155],Va=[1,156],Ba=[1,161],Ta=[1,162],ss=[1,147],Zs=[1,150],Fa=[1,146],$s=[1,143],ap=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Xb=[1,165],bu=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],ra=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Ju=[12,21,22,24],lf=[22,106],el=[1,250],Rl=[1,245],vu=[1,246],Mh=[1,254],ah=[1,251],Ai=[1,248],$t=[1,247],Mr=[1,249],bi=[1,252],Aa=[1,253],Nc=[1,255],$c=[1,273],wu=[20,21,23,106],oh=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],tl={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(cs,Es,Ya,Ei,uc,Ot,im){var Kt=Ot.length-1;switch(uc){case 5:Ei.parseDirective("%%{","open_directive");break;case 6:Ei.parseDirective(Ot[Kt],"type_directive");break;case 7:Ot[Kt]=Ot[Kt].trim().replace(/'/g,'"'),Ei.parseDirective(Ot[Kt],"arg_directive");break;case 8:Ei.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(Ot[Kt])||Ot[Kt].length>0)&&Ot[Kt-1].push(Ot[Kt]),this.$=Ot[Kt-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:this.$=Ot[Kt];break;case 19:Ei.setDirection("TB"),this.$="TB";break;case 20:Ei.setDirection(Ot[Kt-1]),this.$=Ot[Kt-1];break;case 35:this.$=Ot[Kt-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=Ei.addSubGraph(Ot[Kt-6],Ot[Kt-1],Ot[Kt-4]);break;case 42:this.$=Ei.addSubGraph(Ot[Kt-3],Ot[Kt-1],Ot[Kt-3]);break;case 43:this.$=Ei.addSubGraph(void 0,Ot[Kt-1],void 0);break;case 45:this.$=Ot[Kt].trim(),Ei.setAccTitle(this.$);break;case 46:case 47:this.$=Ot[Kt].trim(),Ei.setAccDescription(this.$);break;case 51:Ei.addLink(Ot[Kt-2].stmt,Ot[Kt],Ot[Kt-1]),this.$={stmt:Ot[Kt],nodes:Ot[Kt].concat(Ot[Kt-2].nodes)};break;case 52:Ei.addLink(Ot[Kt-3].stmt,Ot[Kt-1],Ot[Kt-2]),this.$={stmt:Ot[Kt-1],nodes:Ot[Kt-1].concat(Ot[Kt-3].nodes)};break;case 53:this.$={stmt:Ot[Kt-1],nodes:Ot[Kt-1]};break;case 54:this.$={stmt:Ot[Kt],nodes:Ot[Kt]};break;case 55:this.$=[Ot[Kt]];break;case 56:this.$=Ot[Kt-4].concat(Ot[Kt]);break;case 57:this.$=[Ot[Kt-2]],Ei.setClass(Ot[Kt-2],Ot[Kt]);break;case 58:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"square");break;case 59:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"doublecircle");break;case 60:this.$=Ot[Kt-5],Ei.addVertex(Ot[Kt-5],Ot[Kt-2],"circle");break;case 61:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"ellipse");break;case 62:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"stadium");break;case 63:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"subroutine");break;case 64:this.$=Ot[Kt-7],Ei.addVertex(Ot[Kt-7],Ot[Kt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Ot[Kt-5],Ot[Kt-3]]]));break;case 65:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"cylinder");break;case 66:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"round");break;case 67:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"diamond");break;case 68:this.$=Ot[Kt-5],Ei.addVertex(Ot[Kt-5],Ot[Kt-2],"hexagon");break;case 69:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"odd");break;case 70:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"trapezoid");break;case 71:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"inv_trapezoid");break;case 72:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"lean_right");break;case 73:this.$=Ot[Kt-3],Ei.addVertex(Ot[Kt-3],Ot[Kt-1],"lean_left");break;case 74:this.$=Ot[Kt],Ei.addVertex(Ot[Kt]);break;case 75:Ot[Kt-1].text=Ot[Kt],this.$=Ot[Kt-1];break;case 76:case 77:Ot[Kt-2].text=Ot[Kt-1],this.$=Ot[Kt-2];break;case 78:this.$=Ot[Kt];break;case 79:var id=Ei.destructLink(Ot[Kt],Ot[Kt-2]);this.$={type:id.type,stroke:id.stroke,length:id.length,text:Ot[Kt-1]};break;case 80:var id=Ei.destructLink(Ot[Kt]);this.$={type:id.type,stroke:id.stroke,length:id.length};break;case 81:this.$=Ot[Kt-1];break;case 83:case 97:case 153:this.$=Ot[Kt-1]+""+Ot[Kt];break;case 98:case 99:this.$=Ot[Kt-4],Ei.addClass(Ot[Kt-2],Ot[Kt]);break;case 100:this.$=Ot[Kt-4],Ei.setClass(Ot[Kt-2],Ot[Kt]);break;case 101:case 109:this.$=Ot[Kt-1],Ei.setClickEvent(Ot[Kt-1],Ot[Kt]);break;case 102:case 110:this.$=Ot[Kt-3],Ei.setClickEvent(Ot[Kt-3],Ot[Kt-2]),Ei.setTooltip(Ot[Kt-3],Ot[Kt]);break;case 103:this.$=Ot[Kt-2],Ei.setClickEvent(Ot[Kt-2],Ot[Kt-1],Ot[Kt]);break;case 104:this.$=Ot[Kt-4],Ei.setClickEvent(Ot[Kt-4],Ot[Kt-3],Ot[Kt-2]),Ei.setTooltip(Ot[Kt-4],Ot[Kt]);break;case 105:case 111:this.$=Ot[Kt-1],Ei.setLink(Ot[Kt-1],Ot[Kt]);break;case 106:case 112:this.$=Ot[Kt-3],Ei.setLink(Ot[Kt-3],Ot[Kt-2]),Ei.setTooltip(Ot[Kt-3],Ot[Kt]);break;case 107:case 113:this.$=Ot[Kt-3],Ei.setLink(Ot[Kt-3],Ot[Kt-2],Ot[Kt]);break;case 108:case 114:this.$=Ot[Kt-5],Ei.setLink(Ot[Kt-5],Ot[Kt-4],Ot[Kt]),Ei.setTooltip(Ot[Kt-5],Ot[Kt-2]);break;case 115:this.$=Ot[Kt-4],Ei.addVertex(Ot[Kt-2],void 0,void 0,Ot[Kt]);break;case 116:case 118:this.$=Ot[Kt-4],Ei.updateLink(Ot[Kt-2],Ot[Kt]);break;case 117:this.$=Ot[Kt-4],Ei.updateLink([Ot[Kt-2]],Ot[Kt]);break;case 119:this.$=Ot[Kt-8],Ei.updateLinkInterpolate([Ot[Kt-6]],Ot[Kt-2]),Ei.updateLink([Ot[Kt-6]],Ot[Kt]);break;case 120:this.$=Ot[Kt-8],Ei.updateLinkInterpolate(Ot[Kt-6],Ot[Kt-2]),Ei.updateLink(Ot[Kt-6],Ot[Kt]);break;case 121:this.$=Ot[Kt-6],Ei.updateLinkInterpolate([Ot[Kt-4]],Ot[Kt]);break;case 122:this.$=Ot[Kt-6],Ei.updateLinkInterpolate(Ot[Kt-4],Ot[Kt]);break;case 123:case 125:this.$=[Ot[Kt]];break;case 124:case 126:Ot[Kt-2].push(Ot[Kt]),this.$=Ot[Kt-2];break;case 128:this.$=Ot[Kt-1]+Ot[Kt];break;case 150:this.$=Ot[Kt];break;case 151:this.$=Ot[Kt-1]+""+Ot[Kt];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:o,16:4,21:f,22:p,24:w},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:o,16:4,21:f,22:p,24:w},s(k,b,{17:11}),{7:12,13:[1,13]},{16:14,21:f,22:p,24:w},{16:15,21:f,22:p,24:w},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:_,21:A,22:N,23:B,32:24,33:25,34:26,35:27,36:28,37:29,38:F,43:31,44:H,46:j,48:V,50:35,51:45,52:Z,54:46,66:ae,67:le,86:ce,87:be,88:xe,89:Ee,90:Me,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,118:X,119:Re,120:pe,121:Ge,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},{8:64,10:[1,65],15:nn},s([10,15],[2,6]),s(k,[2,17]),s(k,[2,18]),s(k,[2,19]),{20:[1,68],21:[1,69],22:dn,27:67,30:70},s(vt,[2,11]),s(vt,[2,12]),s(vt,[2,13]),s(vt,[2,14]),s(vt,[2,15]),s(vt,[2,16]),{9:72,20:Lr,21:xt,23:Tt,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:Lr,21:xt,23:Tt},{9:81,20:Lr,21:xt,23:Tt},{9:82,20:Lr,21:xt,23:Tt},{9:83,20:Lr,21:xt,23:Tt},{9:84,20:Lr,21:xt,23:Tt},{9:86,20:Lr,21:xt,22:[1,85],23:Tt},s(vt,[2,44]),{45:[1,87]},{47:[1,88]},s(vt,[2,47]),s(wt,[2,54],{30:89,22:dn}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:At,52:He,66:Ze,67:Lt,84:[1,97],91:Ve,97:96,98:[1,94],100:[1,95],105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(vt,[2,158]),s(vt,[2,159]),s(vt,[2,160]),s(vt,[2,161]),s(ha,[2,55],{53:[1,116]}),s(fa,[2,74],{116:129,40:[1,117],52:Z,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:ae,67:le,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,122:de,123:ct,124:bt,125:St,126:yt,127:Mt}),s(is,[2,150]),s(is,[2,175]),s(is,[2,176]),s(is,[2,177]),s(is,[2,178]),s(is,[2,179]),s(is,[2,180]),s(is,[2,181]),s(is,[2,182]),s(is,[2,183]),s(is,[2,184]),s(is,[2,185]),s(is,[2,186]),s(is,[2,187]),s(is,[2,188]),s(is,[2,189]),s(is,[2,190]),{9:130,20:Lr,21:xt,23:Tt},{11:131,14:[1,132]},s(Xi,[2,8]),s(k,[2,20]),s(k,[2,26]),s(k,[2,27]),{21:[1,133]},s(da,[2,34],{30:134,22:dn}),s(vt,[2,35]),{50:135,51:45,52:Z,54:46,66:ae,67:le,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},s(Cc,[2,48]),s(Cc,[2,49]),s(Cc,[2,50]),s(na,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:Ji,24:Fi,26:vr,38:wr,39:139,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),s(vt,[2,36]),s(vt,[2,37]),s(vt,[2,38]),s(vt,[2,39]),s(vt,[2,40]),{22:Ji,24:Fi,26:vr,38:wr,39:163,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(ap,b,{17:164}),s(vt,[2,45]),s(vt,[2,46]),s(wt,[2,53],{52:Xb}),{26:At,52:He,66:Ze,67:Lt,91:Ve,97:166,102:[1,167],105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{95:[1,168],103:169,105:[1,170]},{26:At,52:He,66:Ze,67:Lt,91:Ve,95:[1,171],97:172,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{26:At,52:He,66:Ze,67:Lt,91:Ve,97:173,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(Xi,[2,101],{22:[1,174],99:[1,175]}),s(Xi,[2,105],{22:[1,176]}),s(Xi,[2,109],{115:100,117:178,22:[1,177],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr}),s(Xi,[2,111],{22:[1,179]}),s(bu,[2,152]),s(bu,[2,154]),s(bu,[2,155]),s(bu,[2,156]),s(bu,[2,157]),s(ra,[2,162]),s(ra,[2,163]),s(ra,[2,164]),s(ra,[2,165]),s(ra,[2,166]),s(ra,[2,167]),s(ra,[2,168]),s(ra,[2,169]),s(ra,[2,170]),s(ra,[2,171]),s(ra,[2,172]),s(ra,[2,173]),s(ra,[2,174]),{52:Z,54:180,66:ae,67:le,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},{22:Ji,24:Fi,26:vr,38:wr,39:181,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:182,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:184,42:ni,52:He,57:[1,183],66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:185,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:186,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:187,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{66:[1,188]},{22:Ji,24:Fi,26:vr,38:wr,39:189,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:190,42:ni,52:He,66:Ze,67:Lt,71:[1,191],73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:192,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:193,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:194,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(is,[2,151]),s(Ju,[2,3]),{8:195,15:nn},{15:[2,7]},s(k,[2,28]),s(da,[2,33]),s(wt,[2,51],{30:196,22:dn}),s(na,[2,75],{22:[1,197]}),{22:[1,198]},{22:Ji,24:Fi,26:vr,38:wr,39:199,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,82:[1,200],83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(ra,[2,82]),s(ra,[2,84]),s(ra,[2,140]),s(ra,[2,141]),s(ra,[2,142]),s(ra,[2,143]),s(ra,[2,144]),s(ra,[2,145]),s(ra,[2,146]),s(ra,[2,147]),s(ra,[2,148]),s(ra,[2,149]),s(ra,[2,85]),s(ra,[2,86]),s(ra,[2,87]),s(ra,[2,88]),s(ra,[2,89]),s(ra,[2,90]),s(ra,[2,91]),s(ra,[2,92]),s(ra,[2,93]),s(ra,[2,94]),s(ra,[2,95]),{9:203,20:Lr,21:xt,22:Ji,23:Tt,24:Fi,26:vr,38:wr,40:[1,202],42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{18:18,19:19,20:_,21:A,22:N,23:B,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,204],43:31,44:H,46:j,48:V,50:35,51:45,52:Z,54:46,66:ae,67:le,86:ce,87:be,88:xe,89:Ee,90:Me,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,118:X,119:Re,120:pe,121:Ge,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},{22:dn,30:205},{22:[1,206],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:178,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},s(lf,[2,123]),{22:[1,211]},{22:[1,212],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:178,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:[1,213],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:178,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{84:[1,214]},s(Xi,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},s(bu,[2,153]),{84:[1,219],101:[1,220]},s(ha,[2,57],{116:129,52:Z,66:ae,67:le,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,122:de,123:ct,124:bt,125:St,126:yt,127:Mt}),{22:Ji,24:Fi,26:vr,38:wr,41:[1,221],42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,56:[1,222],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:223,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,58:[1,224],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,60:[1,225],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,62:[1,226],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,64:[1,227],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{67:[1,228]},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,70:[1,229],73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,72:[1,230],73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,39:231,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,41:[1,232],42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,73:Yn,75:[1,233],77:[1,234],81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,73:Yn,75:[1,236],77:[1,235],81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{9:237,20:Lr,21:xt,23:Tt},s(wt,[2,52],{52:Xb}),s(na,[2,77]),s(na,[2,76]),{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,68:[1,238],73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(na,[2,79]),s(ra,[2,83]),{22:Ji,24:Fi,26:vr,38:wr,39:239,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(ap,b,{17:240}),s(vt,[2,43]),{51:241,52:Z,54:46,66:ae,67:le,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},{22:el,66:Rl,67:vu,86:Mh,96:242,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{22:el,66:Rl,67:vu,86:Mh,96:256,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{22:el,66:Rl,67:vu,86:Mh,96:257,102:ah,104:[1,258],105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{22:el,66:Rl,67:vu,86:Mh,96:259,102:ah,104:[1,260],105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{105:[1,261]},{22:el,66:Rl,67:vu,86:Mh,96:262,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{22:el,66:Rl,67:vu,86:Mh,96:263,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{26:At,52:He,66:Ze,67:Lt,91:Ve,97:264,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(Xi,[2,102]),{84:[1,265]},s(Xi,[2,106],{22:[1,266]}),s(Xi,[2,107]),s(Xi,[2,110]),s(Xi,[2,112],{22:[1,267]}),s(Xi,[2,113]),s(fa,[2,58]),s(fa,[2,59]),{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,58:[1,268],66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(fa,[2,66]),s(fa,[2,61]),s(fa,[2,62]),s(fa,[2,63]),{66:[1,269]},s(fa,[2,65]),s(fa,[2,67]),{22:Ji,24:Fi,26:vr,38:wr,42:ni,52:He,66:Ze,67:Lt,72:[1,270],73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(fa,[2,69]),s(fa,[2,70]),s(fa,[2,72]),s(fa,[2,71]),s(fa,[2,73]),s(Ju,[2,4]),s([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:Ji,24:Fi,26:vr,38:wr,41:[1,271],42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{18:18,19:19,20:_,21:A,22:N,23:B,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,272],43:31,44:H,46:j,48:V,50:35,51:45,52:Z,54:46,66:ae,67:le,86:ce,87:be,88:xe,89:Ee,90:Me,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,118:X,119:Re,120:pe,121:Ge,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},s(ha,[2,56]),s(Xi,[2,115],{106:$c}),s(wu,[2,125],{108:274,22:el,66:Rl,67:vu,86:Mh,102:ah,105:Ai,109:$t,110:Mr,111:bi,112:Aa,113:Nc}),s(oh,[2,127]),s(oh,[2,129]),s(oh,[2,130]),s(oh,[2,131]),s(oh,[2,132]),s(oh,[2,133]),s(oh,[2,134]),s(oh,[2,135]),s(oh,[2,136]),s(oh,[2,137]),s(oh,[2,138]),s(oh,[2,139]),s(Xi,[2,116],{106:$c}),s(Xi,[2,117],{106:$c}),{22:[1,275]},s(Xi,[2,118],{106:$c}),{22:[1,276]},s(lf,[2,124]),s(Xi,[2,98],{106:$c}),s(Xi,[2,99],{106:$c}),s(Xi,[2,100],{115:100,117:178,26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr}),s(Xi,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:Lr,21:xt,23:Tt},s(vt,[2,42]),{22:el,66:Rl,67:vu,86:Mh,102:ah,105:Ai,107:283,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},s(oh,[2,128]),{26:At,52:He,66:Ze,67:Lt,91:Ve,97:284,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{26:At,52:He,66:Ze,67:Lt,91:Ve,97:285,105:Mn,106:Oe,109:Di,111:rn,112:pi,115:100,117:98,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(Xi,[2,108]),s(Xi,[2,114]),s(fa,[2,60]),{22:Ji,24:Fi,26:vr,38:wr,39:286,42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:140,84:un,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},s(fa,[2,68]),s(ap,b,{17:287}),s(wu,[2,126],{108:274,22:el,66:Rl,67:vu,86:Mh,102:ah,105:Ai,109:$t,110:Mr,111:bi,112:Aa,113:Nc}),s(Xi,[2,121],{115:100,117:178,22:[1,288],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr}),s(Xi,[2,122],{115:100,117:178,22:[1,289],26:At,52:He,66:Ze,67:Lt,91:Ve,105:Mn,106:Oe,109:Di,111:rn,112:pi,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr}),{22:Ji,24:Fi,26:vr,38:wr,41:[1,290],42:ni,52:He,66:Ze,67:Lt,73:Yn,81:Gi,83:201,85:151,86:Ks,87:Hn,88:Ms,89:Ea,90:Va,91:Ba,92:Ta,94:142,95:ss,105:Mn,106:Oe,109:Zs,111:rn,112:pi,113:Fa,114:$s,115:148,122:Fr,123:tr,124:Wn,125:er,126:Fn,127:nr},{18:18,19:19,20:_,21:A,22:N,23:B,32:24,33:25,34:26,35:27,36:28,37:29,38:F,42:[1,291],43:31,44:H,46:j,48:V,50:35,51:45,52:Z,54:46,66:ae,67:le,86:ce,87:be,88:xe,89:Ee,90:Me,91:fe,95:ye,105:re,106:we,109:ke,111:he,112:De,116:47,118:X,119:Re,120:pe,121:Ge,122:de,123:ct,124:bt,125:St,126:yt,127:Mt},{22:el,66:Rl,67:vu,86:Mh,96:292,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},{22:el,66:Rl,67:vu,86:Mh,96:293,102:ah,105:Ai,107:243,108:244,109:$t,110:Mr,111:bi,112:Aa,113:Nc},s(fa,[2,64]),s(vt,[2,41]),s(Xi,[2,119],{106:$c}),s(Xi,[2,120],{106:$c})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(cs,Es){if(Es.recoverable)this.trace(cs);else{var Ya=new Error(cs);throw Ya.hash=Es,Ya}},parse:function(cs){var Es=this,Ya=[0],Ei=[],uc=[null],Ot=[],im=this.table,Kt="",id=0,sm=0,f3=2,s8=1,I2=Ot.slice.call(arguments,1),fl=Object.create(this.lexer),Zb={yy:{}};for(var op in this.yy)Object.prototype.hasOwnProperty.call(this.yy,op)&&(Zb.yy[op]=this.yy[op]);fl.setInput(cs,Zb.yy),Zb.yy.lexer=fl,Zb.yy.parser=this,typeof fl.yylloc>"u"&&(fl.yylloc={});var I5=fl.yylloc;Ot.push(I5);var f9=fl.options&&fl.options.ranges;typeof Zb.yy.parseError=="function"?this.parseError=Zb.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d9(){var up;return up=Ei.pop()||fl.lex()||s8,typeof up!="number"&&(up instanceof Array&&(Ei=up,up=Ei.pop()),up=Es.symbols_[up]||up),up}for(var p1,Jb,b1,O5,cp={},d3,x0,Fu,g3;;){if(Jb=Ya[Ya.length-1],this.defaultActions[Jb]?b1=this.defaultActions[Jb]:((p1===null||typeof p1>"u")&&(p1=d9()),b1=im[Jb]&&im[Jb][p1]),typeof b1>"u"||!b1.length||!b1[0]){var Jo="";g3=[];for(d3 in im[Jb])this.terminals_[d3]&&d3>f3&&g3.push("'"+this.terminals_[d3]+"'");fl.showPosition?Jo="Parse error on line "+(id+1)+`:
-`+fl.showPosition()+`
-Expecting `+g3.join(", ")+", got '"+(this.terminals_[p1]||p1)+"'":Jo="Parse error on line "+(id+1)+": Unexpected "+(p1==s8?"end of input":"'"+(this.terminals_[p1]||p1)+"'"),this.parseError(Jo,{text:fl.match,token:this.terminals_[p1]||p1,line:fl.yylineno,loc:I5,expected:g3})}if(b1[0]instanceof Array&&b1.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Jb+", token: "+p1);switch(b1[0]){case 1:Ya.push(p1),uc.push(fl.yytext),Ot.push(fl.yylloc),Ya.push(b1[1]),p1=null,sm=fl.yyleng,Kt=fl.yytext,id=fl.yylineno,I5=fl.yylloc;break;case 2:if(x0=this.productions_[b1[1]][1],cp.$=uc[uc.length-x0],cp._$={first_line:Ot[Ot.length-(x0||1)].first_line,last_line:Ot[Ot.length-1].last_line,first_column:Ot[Ot.length-(x0||1)].first_column,last_column:Ot[Ot.length-1].last_column},f9&&(cp._$.range=[Ot[Ot.length-(x0||1)].range[0],Ot[Ot.length-1].range[1]]),O5=this.performAction.apply(cp,[Kt,sm,id,Zb.yy,b1[1],uc,Ot].concat(I2)),typeof O5<"u")return O5;x0&&(Ya=Ya.slice(0,-1*x0*2),uc=uc.slice(0,-1*x0),Ot=Ot.slice(0,-1*x0)),Ya.push(this.productions_[b1[1]][0]),uc.push(cp.$),Ot.push(cp._$),Fu=im[Ya[Ya.length-2]][Ya[Ya.length-1]],Ya.push(Fu);break;case 3:return!0}}return!0}},Qb=function(){var Rd={EOF:1,parseError:function(Es,Ya){if(this.yy.parser)this.yy.parser.parseError(Es,Ya);else throw new Error(Es)},setInput:function(cs,Es){return this.yy=Es||this.yy||{},this._input=cs,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 cs=this._input[0];this.yytext+=cs,this.yyleng++,this.offset++,this.match+=cs,this.matched+=cs;var Es=cs.match(/(?:\r\n?|\n).*/g);return Es?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),cs},unput:function(cs){var Es=cs.length,Ya=cs.split(/(?:\r\n?|\n)/g);this._input=cs+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Es),this.offset-=Es;var Ei=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),Ya.length-1&&(this.yylineno-=Ya.length-1);var uc=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:Ya?(Ya.length===Ei.length?this.yylloc.first_column:0)+Ei[Ei.length-Ya.length].length-Ya[0].length:this.yylloc.first_column-Es},this.options.ranges&&(this.yylloc.range=[uc[0],uc[0]+this.yyleng-Es]),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(cs){this.unput(this.match.slice(cs))},pastInput:function(){var cs=this.matched.substr(0,this.matched.length-this.match.length);return(cs.length>20?"...":"")+cs.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var cs=this.match;return cs.length<20&&(cs+=this._input.substr(0,20-cs.length)),(cs.substr(0,20)+(cs.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var cs=this.pastInput(),Es=new Array(cs.length+1).join("-");return cs+this.upcomingInput()+`
-`+Es+"^"},test_match:function(cs,Es){var Ya,Ei,uc;if(this.options.backtrack_lexer&&(uc={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&&(uc.yylloc.range=this.yylloc.range.slice(0))),Ei=cs[0].match(/(?:\r\n?|\n).*/g),Ei&&(this.yylineno+=Ei.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ei?Ei[Ei.length-1].length-Ei[Ei.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+cs[0].length},this.yytext+=cs[0],this.match+=cs[0],this.matches=cs,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(cs[0].length),this.matched+=cs[0],Ya=this.performAction.call(this,this.yy,this,Es,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ya)return Ya;if(this._backtrack){for(var Ot in uc)this[Ot]=uc[Ot];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var cs,Es,Ya,Ei;this._more||(this.yytext="",this.match="");for(var uc=this._currentRules(),Ot=0;Ot<uc.length;Ot++)if(Ya=this._input.match(this.rules[uc[Ot]]),Ya&&(!Es||Ya[0].length>Es[0].length)){if(Es=Ya,Ei=Ot,this.options.backtrack_lexer){if(cs=this.test_match(Ya,uc[Ot]),cs!==!1)return cs;if(this._backtrack){Es=!1;continue}else return!1}else if(!this.options.flex)break}return Es?(cs=this.test_match(Es,uc[Ei]),cs!==!1?cs:!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 Es=this.next();return Es||this.lex()},begin:function(Es){this.conditionStack.push(Es)},popState:function(){var Es=this.conditionStack.length-1;return Es>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(Es){return Es=this.conditionStack.length-1-Math.abs(Es||0),Es>=0?this.conditionStack[Es]:"INITIAL"},pushState:function(Es){this.begin(Es)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Es,Ya,Ei,uc){switch(Ei){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:break;case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;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"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 24:this.popState();break;case 25:return 100;case 26:this.begin("callbackname");break;case 27:this.popState();break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 30:this.popState();break;case 31:return 99;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 90;case 35:return Es.lex.firstGraph()&&this.begin("dir"),24;case 36:return Es.lex.firstGraph()&&this.begin("dir"),24;case 37:return Es.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),25;case 45:return this.popState(),26;case 46:return this.popState(),26;case 47:return this.popState(),26;case 48:return this.popState(),26;case 49:return this.popState(),26;case 50:return this.popState(),26;case 51:return this.popState(),26;case 52:return this.popState(),26;case 53:return this.popState(),26;case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:return 82;case 68:return 82;case 69:return 82;case 70:return 81;case 71:return 81;case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:return 125;case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return"SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\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<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\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:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,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,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,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],inclusive:!0}}};return Rd}();tl.lexer=Qb;function rm(){this.yy={}}return rm.prototype=tl,tl.Parser=rm,new rm}();qde.parser=qde;const Vde=qde,ABt=(s,o)=>{var f,p;return((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="dagre-wrapper"||((p=o==null?void 0:o.flowchart)==null?void 0:p.defaultRenderer)==="elk"?!1:s.match(/^\s*graph/)!==null},LBt=(s,o)=>{var f,p;return((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="dagre-d3"||((p=o==null?void 0:o.flowchart)==null?void 0:p.defaultRenderer)==="elk"?!1:s.match(/^\s*graph/)!==null?!0:s.match(/^\s*flowchart/)!==null},MBt="flowchart-";let tPe=0,Ude=Pt(),Bl={},s9=[],HA={},E5=[],KK={},Kde={},WK=0,Wde=!0,Ub,YK,XK=[];const QK=s=>xa.sanitizeText(s,Ude),nPe=function(s,o,f){Fl.parseDirective(this,s,o,f)},tP=function(s){const o=Object.keys(Bl);for(const f of o)if(Bl[f].id===s)return Bl[f].domId;return s},rPe=function(s,o,f,p,w,k,b={}){let _,A=s;A!==void 0&&A.trim().length!==0&&(Bl[A]===void 0&&(Bl[A]={id:A,domId:MBt+A+"-"+tPe,styles:[],classes:[]}),tPe++,o!==void 0?(Ude=Pt(),_=QK(o.trim()),_[0]==='"'&&_[_.length-1]==='"'&&(_=_.substring(1,_.length-1)),Bl[A].text=_):Bl[A].text===void 0&&(Bl[A].text=s),f!==void 0&&(Bl[A].type=f),p!=null&&p.forEach(function(N){Bl[A].styles.push(N)}),w!=null&&w.forEach(function(N){Bl[A].classes.push(N)}),k!==void 0&&(Bl[A].dir=k),Bl[A].props===void 0?Bl[A].props=b:b!==void 0&&Object.assign(Bl[A].props,b))},iPe=function(s,o,f,p){const b={start:s,end:o,type:void 0,text:""};p=f.text,p!==void 0&&(b.text=QK(p.trim()),b.text[0]==='"'&&b.text[b.text.length-1]==='"'&&(b.text=b.text.substring(1,b.text.length-1))),f!==void 0&&(b.type=f.type,b.stroke=f.stroke,b.length=f.length),s9.push(b)},sPe=function(s,o,f,p){let w,k;for(w=0;w<s.length;w++)for(k=0;k<o.length;k++)iPe(s[w],o[k],f,p)},aPe=function(s,o){s.forEach(function(f){f==="default"?s9.defaultInterpolate=o:s9[f].interpolate=o})},oPe=function(s,o){s.forEach(function(f){f==="default"?s9.defaultStyle=o:(Pa.isSubstringInArray("fill",o)===-1&&o.push("fill:none"),s9[f].style=o)})},cPe=function(s,o){HA[s]===void 0&&(HA[s]={id:s,styles:[],textStyles:[]}),o!=null&&o.forEach(function(f){if(f.match("color")){const w=f.replace("fill","bgFill").replace("color","fill");HA[s].textStyles.push(w)}HA[s].styles.push(f)})},uPe=function(s){Ub=s,Ub.match(/.*</)&&(Ub="RL"),Ub.match(/.*\^/)&&(Ub="BT"),Ub.match(/.*>/)&&(Ub="LR"),Ub.match(/.*v/)&&(Ub="TB"),Ub==="TD"&&(Ub="TB")},ZK=function(s,o){s.split(",").forEach(function(f){let p=f;Bl[p]!==void 0&&Bl[p].classes.push(o),KK[p]!==void 0&&KK[p].classes.push(o)})},DBt=function(s,o){s.split(",").forEach(function(f){o!==void 0&&(Kde[YK==="gen-1"?tP(f):f]=QK(o))})},IBt=function(s,o,f){let p=tP(s);if(Pt().securityLevel!=="loose"||o===void 0)return;let w=[];if(typeof f=="string"){w=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<w.length;k++){let b=w[k].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),w[k]=b}}w.length===0&&w.push(s),Bl[s]!==void 0&&(Bl[s].haveCallback=!0,XK.push(function(){const k=document.querySelector(`[id="${p}"]`);k!==null&&k.addEventListener("click",function(){Pa.runFunc(o,...w)},!1)}))},lPe=function(s,o,f){s.split(",").forEach(function(p){Bl[p]!==void 0&&(Bl[p].link=Pa.formatUrl(o,Ude),Bl[p].linkTarget=f)}),ZK(s,"clickable")},hPe=function(s){return Kde[s]},fPe=function(s,o,f){s.split(",").forEach(function(p){IBt(p,o,f)}),ZK(s,"clickable")},dPe=function(s){XK.forEach(function(o){o(s)})},gPe=function(){return Ub.trim()},pPe=function(){return Bl},bPe=function(){return s9},vPe=function(){return HA},wPe=function(s){let o=sr(".mermaidTooltip");(o._groups||o)[0][0]===null&&(o=sr("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),sr(s).select("svg").selectAll("g.node").on("mouseover",function(){const w=sr(this);if(w.attr("title")===null)return;const b=this.getBoundingClientRect();o.transition().duration(200).style("opacity",".9"),o.text(w.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.top-14+document.body.scrollTop+"px"),o.html(o.html().replace(/&lt;br\/&gt;/g,"<br/>")),w.classed("hover",!0)}).on("mouseout",function(){o.transition().duration(500).style("opacity",0),sr(this).classed("hover",!1)})};XK.push(wPe);const mPe=function(s="gen-1"){Bl={},HA={},s9=[],XK=[wPe],E5=[],KK={},WK=0,Kde=[],Wde=!0,YK=s,tp()},yPe=s=>{YK=s||"gen-2"},kPe=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},xPe=function(s,o,f){let p=s.trim(),w=f;s===f&&f.match(/\s/)&&(p=void 0);function k(B){const F={boolean:{},number:{},string:{}},H=[];let j;return{nodeList:B.filter(function(Z){const ae=typeof Z;return Z.stmt&&Z.stmt==="dir"?(j=Z.value,!1):Z.trim()===""?!1:ae in F?F[ae].hasOwnProperty(Z)?!1:F[ae][Z]=!0:H.includes(Z)?!1:H.push(Z)}),dir:j}}let b=[];const{nodeList:_,dir:A}=k(b.concat.apply(b,o));if(b=_,YK==="gen-1")for(let B=0;B<b.length;B++)b[B]=tP(b[B]);p=p||"subGraph"+WK,w=w||"",w=QK(w),WK=WK+1;const N={id:p,nodes:b,title:w.trim(),classes:[],dir:A};return je.info("Adding",N.id,N.nodes,N.dir),N.nodes=DPe(N,E5).nodes,E5.push(N),KK[p]=N,p},OBt=function(s){for(const[o,f]of E5.entries())if(f.id===s)return o;return-1};let nP=-1;const EPe=[],TPe=function(s,o){const f=E5[o].nodes;if(nP=nP+1,nP>2e3)return;if(EPe[nP]=o,E5[o].id===s)return{result:!0,count:0};let p=0,w=1;for(;p<f.length;){const k=OBt(f[p]);if(k>=0){const b=TPe(s,k);if(b.result)return{result:!0,count:w+b.count};w=w+b.count}p=p+1}return{result:!1,count:w}},_Pe=function(s){return EPe[s]},CPe=function(){nP=-1,E5.length>0&&TPe("none",E5.length-1)},SPe=function(){return E5},APe=()=>Wde?(Wde=!1,!0):!1,NBt=s=>{let o=s.trim(),f="arrow_open";switch(o[0]){case"<":f="arrow_point",o=o.slice(1);break;case"x":f="arrow_cross",o=o.slice(1);break;case"o":f="arrow_circle",o=o.slice(1);break}let p="normal";return o.includes("=")&&(p="thick"),o.includes(".")&&(p="dotted"),{type:f,stroke:p}},PBt=(s,o)=>{const f=o.length;let p=0;for(let w=0;w<f;++w)o[w]===s&&++p;return p},BBt=s=>{const o=s.trim();let f=o.slice(0,-1),p="arrow_open";switch(o.slice(-1)){case"x":p="arrow_cross",o[0]==="x"&&(p="double_"+p,f=f.slice(1));break;case">":p="arrow_point",o[0]==="<"&&(p="double_"+p,f=f.slice(1));break;case"o":p="arrow_circle",o[0]==="o"&&(p="double_"+p,f=f.slice(1));break}let w="normal",k=f.length-1;f[0]==="="&&(w="thick");let b=PBt(".",f);return b&&(w="dotted",k=b),{type:p,stroke:w,length:k}},LPe=(s,o)=>{const f=BBt(s);let p;if(o){if(p=NBt(o),p.stroke!==f.stroke)return{type:"INVALID",stroke:"INVALID"};if(p.type==="arrow_open")p.type=f.type;else{if(p.type!==f.type)return{type:"INVALID",stroke:"INVALID"};p.type="double_"+p.type}return p.type==="double_arrow"&&(p.type="double_arrow_point"),p.length=f.length,p}return f},MPe=(s,o)=>{let f=!1;return s.forEach(p=>{p.nodes.indexOf(o)>=0&&(f=!0)}),f},DPe=(s,o)=>{const f=[];return s.nodes.forEach((p,w)=>{MPe(o,p)||f.push(s.nodes[w])}),{nodes:f}},IPe={firstGraph:APe},a3={parseDirective:nPe,defaultConfig:()=>_A.flowchart,setAccTitle:np,getAccTitle:C2,getAccDescription:A2,setAccDescription:S2,addVertex:rPe,lookUpDomId:tP,addLink:sPe,updateLinkInterpolate:aPe,updateLink:oPe,addClass:cPe,setDirection:uPe,setClass:ZK,setTooltip:DBt,getTooltip:hPe,setClickEvent:fPe,setLink:lPe,bindFunctions:dPe,getDirection:gPe,getVertices:pPe,getEdges:bPe,getClasses:vPe,clear:mPe,setGen:yPe,defaultStyle:kPe,addSubGraph:xPe,getDepthFirstPos:_Pe,indexNodes:CPe,getSubGraphs:SPe,destructLink:LPe,lex:IPe,exists:MPe,makeUniq:DPe,setDiagramTitle:Kw,getDiagramTitle:Ww},FBt=Object.freeze(Object.defineProperty({__proto__:null,addClass:cPe,addLink:sPe,addSingleLink:iPe,addSubGraph:xPe,addVertex:rPe,bindFunctions:dPe,clear:mPe,default:a3,defaultStyle:kPe,destructLink:LPe,firstGraph:APe,getClasses:vPe,getDepthFirstPos:_Pe,getDirection:gPe,getEdges:bPe,getSubGraphs:SPe,getTooltip:hPe,getVertices:pPe,indexNodes:CPe,lex:IPe,lookUpDomId:tP,parseDirective:nPe,setClass:ZK,setClickEvent:fPe,setDirection:uPe,setGen:yPe,setLink:lPe,updateLink:oPe,updateLinkInterpolate:aPe},Symbol.toStringTag,{value:"Module"}));function OPe(s,o){return!!s.children(o).length}function NPe(s){return Yde(s.v)+":"+Yde(s.w)+":"+Yde(s.name)}var RBt=/:/g;function Yde(s){return s?String(s).replace(RBt,"\\:"):""}function o3(s,o){o&&s.attr("style",o)}function PPe(s,o,f){o&&s.attr("class",o).attr("class",f+" "+s.attr("class"))}function em(s,o){var f=o.graph();if(fOe(f)){var p=f.transition;if(yA(p))return p(s)}return s}var Xde={normal:$Bt,vee:HBt,undirected:zBt};function jBt(s){Xde=s}function $Bt(s,o,f,p){var w=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=w.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");o3(k,f[p+"Style"]),f[p+"Class"]&&k.attr("class",f[p+"Class"])}function HBt(s,o,f,p){var w=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=w.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");o3(k,f[p+"Style"]),f[p+"Class"]&&k.attr("class",f[p+"Class"])}function zBt(s,o,f,p){var w=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=w.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");o3(k,f[p+"Style"]),f[p+"Class"]&&k.attr("class",f[p+"Class"])}function JK(s,o){var f=s.append("foreignObject").attr("width","100000"),p=f.append("xhtml:div");p.attr("xmlns","http://www.w3.org/1999/xhtml");var w=o.label;switch(typeof w){case"function":p.insert(w);break;case"object":p.insert(function(){return w});break;default:p.html(w)}o3(p,o.labelStyle),p.style("display","inline-block"),p.style("white-space","nowrap");var k=p.node().getBoundingClientRect();return f.attr("width",k.width).attr("height",k.height),f}function GBt(s,o){var f=s;return f.node().appendChild(o.label),o3(f,o.labelStyle),f}function qBt(s,o){for(var f=s.append("text"),p=VBt(o.label).split(`
-`),w=0;w<p.length;w++)f.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(p[w]);return o3(f,o.labelStyle),f}function VBt(s){for(var o="",f=!1,p,w=0;w<s.length;++w)if(p=s[w],f){switch(p){case"n":o+=`
-`;break;default:o+=p}f=!1}else p==="\\"?f=!0:o+=p;return o}function Qde(s,o,f){var p=o.label,w=s.append("g");o.labelType==="svg"?GBt(w,o):typeof p!="string"||o.labelType==="html"?JK(w,o):qBt(w,o);var k=w.node().getBBox(),b;switch(f){case"top":b=-o.height/2;break;case"bottom":b=o.height/2-k.height;break;default:b=-k.height/2}return w.attr("transform","translate("+-k.width/2+","+b+")"),w}var Zde=function(s,o){var f=o.nodes().filter(function(k){return OPe(o,k)}),p=s.selectAll("g.cluster").data(f,function(k){return k});em(p.exit(),o).style("opacity",0).remove();var w=p.enter().append("g").attr("class","cluster").attr("id",function(k){var b=o.node(k);return b.id}).style("opacity",0).each(function(k){var b=o.node(k),_=sr(this);sr(this).append("rect");var A=_.append("g").attr("class","label");Qde(A,b,b.clusterLabelPos)});return p=p.merge(w),p=em(p,o).style("opacity",1),p.selectAll("rect").each(function(k){var b=o.node(k),_=sr(this);o3(_,b.style)}),p};function UBt(s){Zde=s}let Jde=function(s,o){var f=s.selectAll("g.edgeLabel").data(o.edges(),function(w){return NPe(w)}).classed("update",!0);f.exit().remove(),f.enter().append("g").classed("edgeLabel",!0).style("opacity",0),f=s.selectAll("g.edgeLabel"),f.each(function(w){var k=sr(this);k.select(".label").remove();var b=o.edge(w),_=Qde(k,o.edge(w),0).classed("label",!0),A=_.node().getBBox();b.labelId&&_.attr("id",b.labelId),eo(b,"width")||(b.width=A.width),eo(b,"height")||(b.height=A.height)});var p;return f.exit?p=f.exit():p=f.selectAll(null),em(p,o).style("opacity",0).remove(),f};function KBt(s){Jde=s}function BPe(s,o){return s.intersect(o)}var e0e=function(s,o,f){var p=s.selectAll("g.edgePath").data(o.edges(),function(b){return NPe(b)}).classed("update",!0),w=ZBt(p,o);JBt(p,o);var k=p.merge!==void 0?p.merge(w):p;return em(k,o).style("opacity",1),k.each(function(b){var _=sr(this),A=o.edge(b);A.elem=this,A.id&&_.attr("id",A.id),PPe(_,A.class,(_.classed("update")?"update ":"")+"edgePath")}),k.selectAll("path.path").each(function(b){var _=o.edge(b);_.arrowheadId=RK("arrowhead");var A=sr(this).attr("marker-end",function(){return"url("+YBt(location.href,_.arrowheadId)+")"}).style("fill","none");em(A,o).attr("d",function(N){return XBt(o,N)}),o3(A,_.style)}),k.selectAll("defs *").remove(),k.selectAll("defs").each(function(b){var _=o.edge(b),A=f[_.arrowhead];A(sr(this),_.arrowheadId,_,"arrowhead")}),k};function WBt(s){e0e=s}function YBt(s,o){var f=s.split("#")[0];return f+"#"+o}function XBt(s,o){var f=s.edge(o),p=s.node(o.v),w=s.node(o.w),k=f.points.slice(1,f.points.length-1);return k.unshift(BPe(p,k[0])),k.push(BPe(w,k[k.length-1])),FPe(f,k)}function FPe(s,o){var f=(RE||s8t.line)().x(function(p){return p.x}).y(function(p){return p.y});return(f.curve||f.interpolate)(s.curve),f(o)}function QBt(s){var o=s.getBBox(),f=s.ownerSVGElement.getScreenCTM().inverse().multiply(s.getScreenCTM()).translate(o.width/2,o.height/2);return{x:f.e,y:f.f}}function ZBt(s,o){var f=s.enter().append("g").attr("class","edgePath").style("opacity",0);return f.append("path").attr("class","path").attr("d",function(p){var w=o.edge(p),k=o.node(p.v).elem,b=n9(w.points.length).map(function(){return QBt(k)});return FPe(w,b)}),f.append("defs"),f}function JBt(s,o){var f=s.exit();em(f,o).style("opacity",0).remove()}var t0e=function(s,o,f){var p=o.nodes().filter(function(b){return!OPe(o,b)}),w=s.selectAll("g.node").data(p,function(b){return b}).classed("update",!0);w.exit().remove(),w.enter().append("g").attr("class","node").style("opacity",0),w=s.selectAll("g.node"),w.each(function(b){var _=o.node(b),A=sr(this);PPe(A,_.class,(A.classed("update")?"update ":"")+"node"),A.select("g.label").remove();var N=A.append("g").attr("class","label"),B=Qde(N,_),F=f[_.shape],H=VN(B.node().getBBox(),"width","height");_.elem=this,_.id&&A.attr("id",_.id),_.labelId&&N.attr("id",_.labelId),eo(_,"width")&&(H.width=_.width),eo(_,"height")&&(H.height=_.height),H.width+=_.paddingLeft+_.paddingRight,H.height+=_.paddingTop+_.paddingBottom,N.attr("transform","translate("+(_.paddingLeft-_.paddingRight)/2+","+(_.paddingTop-_.paddingBottom)/2+")");var j=sr(this);j.select(".label-container").remove();var V=F(j,H,_).classed("label-container",!0);o3(V,_.style);var Z=V.node().getBBox();_.width=Z.width,_.height=Z.height});var k;return w.exit?k=w.exit():k=w.selectAll(null),em(k,o).style("opacity",0).remove(),w};function eFt(s){t0e=s}function tFt(s,o){var f=s.filter(function(){return!sr(this).classed("update")});function p(w){var k=o.node(w);return"translate("+k.x+","+k.y+")"}f.attr("transform",p),em(s,o).style("opacity",1).attr("transform",p),em(f.selectAll("rect"),o).attr("width",function(w){return o.node(w).width}).attr("height",function(w){return o.node(w).height}).attr("x",function(w){var k=o.node(w);return-k.width/2}).attr("y",function(w){var k=o.node(w);return-k.height/2})}function nFt(s,o){var f=s.filter(function(){return!sr(this).classed("update")});function p(w){var k=o.edge(w);return eo(k,"x")?"translate("+k.x+","+k.y+")":""}f.attr("transform",p),em(s,o).style("opacity",1).attr("transform",p)}function rFt(s,o){var f=s.filter(function(){return!sr(this).classed("update")});function p(w){var k=o.node(w);return"translate("+k.x+","+k.y+")"}f.attr("transform",p),em(s,o).style("opacity",1).attr("transform",p)}function RPe(s,o,f,p){var w=s.x,k=s.y,b=w-p.x,_=k-p.y,A=Math.sqrt(o*o*_*_+f*f*b*b),N=Math.abs(o*f*b/A);p.x<w&&(N=-N);var B=Math.abs(o*f*_/A);return p.y<k&&(B=-B),{x:w+N,y:k+B}}function iFt(s,o,f){return RPe(s,o,o,f)}function sFt(s,o,f,p){var w,k,b,_,A,N,B,F,H,j,V,Z,ae,le,ce;if(w=o.y-s.y,b=s.x-o.x,A=o.x*s.y-s.x*o.y,H=w*f.x+b*f.y+A,j=w*p.x+b*p.y+A,!(H!==0&&j!==0&&jPe(H,j))&&(k=p.y-f.y,_=f.x-p.x,N=p.x*f.y-f.x*p.y,B=k*s.x+_*s.y+N,F=k*o.x+_*o.y+N,!(B!==0&&F!==0&&jPe(B,F))&&(V=w*_-k*b,V!==0)))return Z=Math.abs(V/2),ae=b*N-_*A,le=ae<0?(ae-Z)/V:(ae+Z)/V,ae=k*A-w*N,ce=ae<0?(ae-Z)/V:(ae+Z)/V,{x:le,y:ce}}function jPe(s,o){return s*o>0}function c3(s,o,f){var p=s.x,w=s.y,k=[],b=Number.POSITIVE_INFINITY,_=Number.POSITIVE_INFINITY;o.forEach(function(V){b=Math.min(b,V.x),_=Math.min(_,V.y)});for(var A=p-s.width/2-b,N=w-s.height/2-_,B=0;B<o.length;B++){var F=o[B],H=o[B<o.length-1?B+1:0],j=sFt(s,f,{x:A+F.x,y:N+F.y},{x:A+H.x,y:N+H.y});j&&k.push(j)}return k.length?(k.length>1&&k.sort(function(V,Z){var ae=V.x-f.x,le=V.y-f.y,ce=Math.sqrt(ae*ae+le*le),be=Z.x-f.x,xe=Z.y-f.y,Ee=Math.sqrt(be*be+xe*xe);return ce<Ee?-1:ce===Ee?0:1}),k[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",s),s)}function n0e(s,o){var f=s.x,p=s.y,w=o.x-f,k=o.y-p,b=s.width/2,_=s.height/2,A,N;return Math.abs(k)*b>Math.abs(w)*_?(k<0&&(_=-_),A=k===0?0:_*w/k,N=_):(w<0&&(b=-b),A=b,N=w===0?0:b*k/w),{x:f+A,y:p+N}}var r0e={rect:oFt,ellipse:cFt,circle:uFt,diamond:lFt};function aFt(s){r0e=s}function oFt(s,o,f){var p=s.insert("rect",":first-child").attr("rx",f.rx).attr("ry",f.ry).attr("x",-o.width/2).attr("y",-o.height/2).attr("width",o.width).attr("height",o.height);return f.intersect=function(w){return n0e(f,w)},p}function cFt(s,o,f){var p=o.width/2,w=o.height/2,k=s.insert("ellipse",":first-child").attr("x",-o.width/2).attr("y",-o.height/2).attr("rx",p).attr("ry",w);return f.intersect=function(b){return RPe(f,p,w,b)},k}function uFt(s,o,f){var p=Math.max(o.width,o.height)/2,w=s.insert("circle",":first-child").attr("x",-o.width/2).attr("y",-o.height/2).attr("r",p);return f.intersect=function(k){return iFt(f,p,k)},w}function lFt(s,o,f){var p=o.width*Math.SQRT2/2,w=o.height*Math.SQRT2/2,k=[{x:0,y:-w},{x:-p,y:0},{x:0,y:w},{x:p,y:0}],b=s.insert("polygon",":first-child").attr("points",k.map(function(_){return _.x+","+_.y}).join(" "));return f.intersect=function(_){return c3(f,k,_)},b}function hFt(){var s=function(o,f){gFt(f);var p=rP(o,"output"),w=rP(p,"clusters"),k=rP(p,"edgePaths"),b=Jde(rP(p,"edgeLabels"),f),_=t0e(rP(p,"nodes"),f,r0e);jA(f),rFt(_,f),nFt(b,f),e0e(k,f,Xde);var A=Zde(w,f);tFt(A,f),pFt(f)};return s.createNodes=function(o){return arguments.length?(eFt(o),s):t0e},s.createClusters=function(o){return arguments.length?(UBt(o),s):Zde},s.createEdgeLabels=function(o){return arguments.length?(KBt(o),s):Jde},s.createEdgePaths=function(o){return arguments.length?(WBt(o),s):e0e},s.shapes=function(o){return arguments.length?(aFt(o),s):r0e},s.arrows=function(o){return arguments.length?(jBt(o),s):Xde},s}var fFt={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},dFt={arrowhead:"normal",curve:Pd};function gFt(s){s.nodes().forEach(function(o){var f=s.node(o);!eo(f,"label")&&!s.children(o).length&&(f.label=o),eo(f,"paddingX")&&BA(f,{paddingLeft:f.paddingX,paddingRight:f.paddingX}),eo(f,"paddingY")&&BA(f,{paddingTop:f.paddingY,paddingBottom:f.paddingY}),eo(f,"padding")&&BA(f,{paddingLeft:f.padding,paddingRight:f.padding,paddingTop:f.padding,paddingBottom:f.padding}),BA(f,fFt),hr(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(p){f[p]=Number(f[p])}),eo(f,"width")&&(f._prevWidth=f.width),eo(f,"height")&&(f._prevHeight=f.height)}),s.edges().forEach(function(o){var f=s.edge(o);eo(f,"label")||(f.label=""),BA(f,dFt)})}function pFt(s){hr(s.nodes(),function(o){var f=s.node(o);eo(f,"_prevWidth")?f.width=f._prevWidth:delete f.width,eo(f,"_prevHeight")?f.height=f._prevHeight:delete f.height,delete f._prevWidth,delete f._prevHeight})}function rP(s,o){var f=s.select("g."+o);return f.empty()&&(f=s.append("g").attr("class",o)),f}function $Pe(s,o,f){const p=o.width,w=o.height,k=(p+w)*.9,b=[{x:k/2,y:0},{x:k,y:-k/2},{x:k/2,y:-k},{x:0,y:-k/2}],_=T5(s,k,k,b);return f.intersect=function(A){return c3(f,b,A)},_}function HPe(s,o,f){const w=o.height,k=w/4,b=o.width+2*k,_=[{x:k,y:0},{x:b-k,y:0},{x:b,y:-w/2},{x:b-k,y:-w},{x:k,y:-w},{x:0,y:-w/2}],A=T5(s,b,w,_);return f.intersect=function(N){return c3(f,_,N)},A}function zPe(s,o,f){const p=o.width,w=o.height,k=[{x:-w/2,y:0},{x:p,y:0},{x:p,y:-w},{x:-w/2,y:-w},{x:0,y:-w/2}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function GPe(s,o,f){const p=o.width,w=o.height,k=[{x:-2*w/6,y:0},{x:p-w/6,y:0},{x:p+2*w/6,y:-w},{x:w/6,y:-w}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function qPe(s,o,f){const p=o.width,w=o.height,k=[{x:2*w/6,y:0},{x:p+w/6,y:0},{x:p-2*w/6,y:-w},{x:-w/6,y:-w}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function VPe(s,o,f){const p=o.width,w=o.height,k=[{x:-2*w/6,y:0},{x:p+2*w/6,y:0},{x:p-w/6,y:-w},{x:w/6,y:-w}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function UPe(s,o,f){const p=o.width,w=o.height,k=[{x:w/6,y:0},{x:p-w/6,y:0},{x:p+2*w/6,y:-w},{x:-2*w/6,y:-w}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function KPe(s,o,f){const p=o.width,w=o.height,k=[{x:0,y:0},{x:p+w/2,y:0},{x:p,y:-w/2},{x:p+w/2,y:-w},{x:0,y:-w}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function WPe(s,o,f){const p=o.height,w=o.width+p/4,k=s.insert("rect",":first-child").attr("rx",p/2).attr("ry",p/2).attr("x",-w/2).attr("y",-p/2).attr("width",w).attr("height",p);return f.intersect=function(b){return n0e(f,b)},k}function YPe(s,o,f){const p=o.width,w=o.height,k=[{x:0,y:0},{x:p,y:0},{x:p,y:-w},{x:0,y:-w},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-w},{x:-8,y:-w},{x:-8,y:0}],b=T5(s,p,w,k);return f.intersect=function(_){return c3(f,k,_)},b}function XPe(s,o,f){const p=o.width,w=p/2,k=w/(2.5+p/50),b=o.height+k,_="M 0,"+k+" a "+w+","+k+" 0,0,0 "+p+" 0 a "+w+","+k+" 0,0,0 "+-p+" 0 l 0,"+b+" a "+w+","+k+" 0,0,0 "+p+" 0 l 0,"+-b,A=s.attr("label-offset-y",k).insert("path",":first-child").attr("d",_).attr("transform","translate("+-p/2+","+-(b/2+k)+")");return f.intersect=function(N){const B=n0e(f,N),F=B.x-f.x;if(w!=0&&(Math.abs(F)<f.width/2||Math.abs(F)==f.width/2&&Math.abs(B.y-f.y)>f.height/2-k)){let H=k*k*(1-F*F/(w*w));H!=0&&(H=Math.sqrt(H)),H=k-H,N.y-f.y>0&&(H=-H),B.y+=H}return B},A}function bFt(s){s.shapes().question=$Pe,s.shapes().hexagon=HPe,s.shapes().stadium=WPe,s.shapes().subroutine=YPe,s.shapes().cylinder=XPe,s.shapes().rect_left_inv_arrow=zPe,s.shapes().lean_right=GPe,s.shapes().lean_left=qPe,s.shapes().trapezoid=VPe,s.shapes().inv_trapezoid=UPe,s.shapes().rect_right_inv_arrow=KPe}function vFt(s){s({question:$Pe}),s({hexagon:HPe}),s({stadium:WPe}),s({subroutine:YPe}),s({cylinder:XPe}),s({rect_left_inv_arrow:zPe}),s({lean_right:GPe}),s({lean_left:qPe}),s({trapezoid:VPe}),s({inv_trapezoid:UPe}),s({rect_right_inv_arrow:KPe})}function T5(s,o,f,p){return s.insert("polygon",":first-child").attr("points",p.map(function(w){return w.x+","+w.y}).join(" ")).attr("transform","translate("+-o/2+","+f/2+")")}const wFt={addToRender:bFt,addToRenderV2:vFt},QPe={},mFt=function(s){const o=Object.keys(s);for(const f of o)QPe[f]=s[f]},ZPe=function(s,o,f,p,w,k){const b=p?p.select(`[id="${f}"]`):sr(`[id="${f}"]`),_=w||document;Object.keys(s).forEach(function(N){const B=s[N];let F="default";B.classes.length>0&&(F=B.classes.join(" "));const H=qw(B.styles);let j=B.text!==void 0?B.text:B.id,V;if(l1(Pt().flowchart.htmlLabels)){const le={label:j.replace(/fa[blrs]?:fa-[\w-]+/g,ce=>`<i class='${ce.replace(":"," ")}'></i>`)};V=JK(b,le).node(),V.parentNode.removeChild(V)}else{const le=_.createElementNS("http://www.w3.org/2000/svg","text");le.setAttribute("style",H.labelStyle.replace("color:","fill:"));const ce=j.split(xa.lineBreakRegex);for(const be of ce){const xe=_.createElementNS("http://www.w3.org/2000/svg","tspan");xe.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),xe.setAttribute("dy","1em"),xe.setAttribute("x","1"),xe.textContent=be,le.appendChild(xe)}V=le}let Z=0,ae="";switch(B.type){case"round":Z=5,ae="rect";break;case"square":ae="rect";break;case"diamond":ae="question";break;case"hexagon":ae="hexagon";break;case"odd":ae="rect_left_inv_arrow";break;case"lean_right":ae="lean_right";break;case"lean_left":ae="lean_left";break;case"trapezoid":ae="trapezoid";break;case"inv_trapezoid":ae="inv_trapezoid";break;case"odd_right":ae="rect_left_inv_arrow";break;case"circle":ae="circle";break;case"ellipse":ae="ellipse";break;case"stadium":ae="stadium";break;case"subroutine":ae="subroutine";break;case"cylinder":ae="cylinder";break;case"group":ae="rect";break;default:ae="rect"}je.warn("Adding node",B.id,B.domId),o.setNode(k.db.lookUpDomId(B.id),{labelType:"svg",labelStyle:H.labelStyle,shape:ae,label:V,rx:Z,ry:Z,class:F,style:H.style,id:k.db.lookUpDomId(B.id)})})},JPe=function(s,o,f){let p=0,w,k;if(s.defaultStyle!==void 0){const b=qw(s.defaultStyle);w=b.style,k=b.labelStyle}s.forEach(function(b){p++;var _="L-"+b.start+"-"+b.end,A="LS-"+b.start,N="LE-"+b.end;const B={};b.type==="arrow_open"?B.arrowhead="none":B.arrowhead="normal";let F="",H="";if(b.style!==void 0){const j=qw(b.style);F=j.style,H=j.labelStyle}else switch(b.stroke){case"normal":F="fill:none",w!==void 0&&(F=w),k!==void 0&&(H=k);break;case"dotted":F="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":F=" stroke-width: 3.5px;fill:none";break}B.style=F,B.labelStyle=H,b.interpolate!==void 0?B.curve=Jg(b.interpolate,Pd):s.defaultInterpolate!==void 0?B.curve=Jg(s.defaultInterpolate,Pd):B.curve=Jg(QPe.curve,Pd),b.text===void 0?b.style!==void 0&&(B.arrowheadStyle="fill: #333"):(B.arrowheadStyle="fill: #333",B.labelpos="c",l1(Pt().flowchart.htmlLabels)?(B.labelType="html",B.label=`<span id="L-${_}" class="edgeLabel L-${A}' L-${N}" style="${B.labelStyle}">${b.text.replace(/fa[blrs]?:fa-[\w-]+/g,j=>`<i class='${j.replace(":"," ")}'></i>`)}</span>`):(B.labelType="text",B.label=b.text.replace(xa.lineBreakRegex,`
-`),b.style===void 0&&(B.style=B.style||"stroke: #333; stroke-width: 1.5px;fill:none"),B.labelStyle=B.labelStyle.replace("color:","fill:"))),B.id=_,B.class=A+" "+N,B.minlen=b.length||1,o.setEdge(f.db.lookUpDomId(b.start),f.db.lookUpDomId(b.end),B,p)})},yFt={setConf:mFt,addVertices:ZPe,addEdges:JPe,getClasses:function(s,o){je.info("Extracting classes"),o.db.clear();try{return o.parse(s),o.db.getClasses()}catch(f){return je.error(f),{}}},draw:function(s,o,f,p){je.info("Drawing flowchart"),p.db.clear();const{securityLevel:w,flowchart:k}=Pt();let b;w==="sandbox"&&(b=sr("#i"+o));const _=sr(w==="sandbox"?b.nodes()[0].contentDocument.body:"body"),A=w==="sandbox"?b.nodes()[0].contentDocument:document;try{p.parser.parse(s)}catch{je.debug("Parsing failed")}let N=p.db.getDirection();N===void 0&&(N="TD");const B=k.nodeSpacing||50,F=k.rankSpacing||50,H=new Hf({multigraph:!0,compound:!0}).setGraph({rankdir:N,nodesep:B,ranksep:F,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let j;const V=p.db.getSubGraphs();for(let Me=V.length-1;Me>=0;Me--)j=V[Me],p.db.addVertex(j.id,j.title,"group",void 0,j.classes);const Z=p.db.getVertices();je.warn("Get vertices",Z);const ae=p.db.getEdges();let le=0;for(le=V.length-1;le>=0;le--){j=V[le],_fe("cluster").append("text");for(let Me=0;Me<j.nodes.length;Me++)je.warn("Setting subgraph",j.nodes[Me],p.db.lookUpDomId(j.nodes[Me]),p.db.lookUpDomId(j.id)),H.setParent(p.db.lookUpDomId(j.nodes[Me]),p.db.lookUpDomId(j.id))}ZPe(Z,H,o,_,A,p),JPe(ae,H,p);const ce=new hFt;wFt.addToRender(ce),ce.arrows().none=function(fe,ye,re,we){const he=fe.append("marker").attr("id",ye).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");o3(he,re[we+"Style"])},ce.arrows().normal=function(fe,ye){fe.append("marker").attr("id",ye).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const be=_.select(`[id="${o}"]`),xe=_.select("#"+o+" g");for(ce(xe,H),xe.selectAll("g.node").attr("title",function(){return p.db.getTooltip(this.id)}),p.db.indexNodes("subGraph"+le),le=0;le<V.length;le++)if(j=V[le],j.title!=="undefined"){const Me=A.querySelectorAll("#"+o+' [id="'+p.db.lookUpDomId(j.id)+'"] rect'),fe=A.querySelectorAll("#"+o+' [id="'+p.db.lookUpDomId(j.id)+'"]'),ye=Me[0].x.baseVal.value,re=Me[0].y.baseVal.value,we=Me[0].width.baseVal.value,he=sr(fe[0]).select(".label");he.attr("transform",`translate(${ye+we/2}, ${re+14})`),he.attr("id",o+"Text");for(let De=0;De<j.classes.length;De++)fe[0].classList.add(j.classes[De])}if(!k.htmlLabels){const Me=A.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const fe of Me){const ye=fe.getBBox(),re=A.createElementNS("http://www.w3.org/2000/svg","rect");re.setAttribute("rx",0),re.setAttribute("ry",0),re.setAttribute("width",ye.width),re.setAttribute("height",ye.height),fe.insertBefore(re,fe.firstChild)}}KE(H,be,k.diagramPadding,k.useMaxWidth),Object.keys(Z).forEach(function(Me){const fe=Z[Me];if(fe.link){const ye=_.select("#"+o+' [id="'+p.db.lookUpDomId(Me)+'"]');if(ye){const re=A.createElementNS("http://www.w3.org/2000/svg","a");re.setAttributeNS("http://www.w3.org/2000/svg","class",fe.classes.join(" ")),re.setAttributeNS("http://www.w3.org/2000/svg","href",fe.link),re.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),w==="sandbox"?re.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):fe.linkTarget&&re.setAttributeNS("http://www.w3.org/2000/svg","target",fe.linkTarget);const we=ye.insert(function(){return re},":first-child"),ke=ye.select(".label-container");ke&&we.append(function(){return ke.node()});const he=ye.select(".label");he&&we.append(function(){return he.node()})}}})}},eBe={},kFt=function(s){const o=Object.keys(s);for(const f of o)eBe[f]=s[f]},tBe=function(s,o,f,p,w,k){const b=p.select(`[id="${f}"]`);Object.keys(s).forEach(function(A){const N=s[A];let B="default";N.classes.length>0&&(B=N.classes.join(" "));const F=qw(N.styles);let H=N.text!==void 0?N.text:N.id,j;if(l1(Pt().flowchart.htmlLabels)){const ae={label:H.replace(/fa[blrs]?:fa-[\w-]+/g,le=>`<i class='${le.replace(":"," ")}'></i>`)};j=JK(b,ae).node(),j.parentNode.removeChild(j)}else{const ae=w.createElementNS("http://www.w3.org/2000/svg","text");ae.setAttribute("style",F.labelStyle.replace("color:","fill:"));const le=H.split(xa.lineBreakRegex);for(const ce of le){const be=w.createElementNS("http://www.w3.org/2000/svg","tspan");be.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),be.setAttribute("dy","1em"),be.setAttribute("x","1"),be.textContent=ce,ae.appendChild(be)}j=ae}let V=0,Z="";switch(N.type){case"round":V=5,Z="rect";break;case"square":Z="rect";break;case"diamond":Z="question";break;case"hexagon":Z="hexagon";break;case"odd":Z="rect_left_inv_arrow";break;case"lean_right":Z="lean_right";break;case"lean_left":Z="lean_left";break;case"trapezoid":Z="trapezoid";break;case"inv_trapezoid":Z="inv_trapezoid";break;case"odd_right":Z="rect_left_inv_arrow";break;case"circle":Z="circle";break;case"ellipse":Z="ellipse";break;case"stadium":Z="stadium";break;case"subroutine":Z="subroutine";break;case"cylinder":Z="cylinder";break;case"group":Z="rect";break;case"doublecircle":Z="doublecircle";break;default:Z="rect"}o.setNode(N.id,{labelStyle:F.labelStyle,shape:Z,labelText:H,rx:V,ry:V,class:B,style:F.style,id:N.id,link:N.link,linkTarget:N.linkTarget,tooltip:k.db.getTooltip(N.id)||"",domId:k.db.lookUpDomId(N.id),haveCallback:N.haveCallback,width:N.type==="group"?500:void 0,dir:N.dir,type:N.type,props:N.props,padding:Pt().flowchart.padding}),je.info("setNode",{labelStyle:F.labelStyle,shape:Z,labelText:H,rx:V,ry:V,class:B,style:F.style,id:N.id,domId:k.db.lookUpDomId(N.id),width:N.type==="group"?500:void 0,type:N.type,dir:N.dir,props:N.props,padding:Pt().flowchart.padding})})},nBe=function(s,o,f){je.info("abc78 edges = ",s);let p=0,w={},k,b;if(s.defaultStyle!==void 0){const _=qw(s.defaultStyle);k=_.style,b=_.labelStyle}s.forEach(function(_){p++;var A="L-"+_.start+"-"+_.end;w[A]===void 0?(w[A]=0,je.info("abc78 new entry",A,w[A])):(w[A]++,je.info("abc78 new entry",A,w[A]));let N=A+"-"+w[A];je.info("abc78 new link id to be used is",A,N,w[A]);var B="LS-"+_.start,F="LE-"+_.end;const H={style:"",labelStyle:""};switch(H.minlen=_.length||1,_.type==="arrow_open"?H.arrowhead="none":H.arrowhead="normal",H.arrowTypeStart="arrow_open",H.arrowTypeEnd="arrow_open",_.type){case"double_arrow_cross":H.arrowTypeStart="arrow_cross";case"arrow_cross":H.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":H.arrowTypeStart="arrow_point";case"arrow_point":H.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":H.arrowTypeStart="arrow_circle";case"arrow_circle":H.arrowTypeEnd="arrow_circle";break}let j="",V="";switch(_.stroke){case"normal":j="fill:none;",k!==void 0&&(j=k),b!==void 0&&(V=b),H.thickness="normal",H.pattern="solid";break;case"dotted":H.thickness="normal",H.pattern="dotted",H.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":H.thickness="thick",H.pattern="solid",H.style="stroke-width: 3.5px;fill:none;";break}if(_.style!==void 0){const Z=qw(_.style);j=Z.style,V=Z.labelStyle}H.style=H.style+=j,H.labelStyle=H.labelStyle+=V,_.interpolate!==void 0?H.curve=Jg(_.interpolate,Pd):s.defaultInterpolate!==void 0?H.curve=Jg(s.defaultInterpolate,Pd):H.curve=Jg(eBe.curve,Pd),_.text===void 0?_.style!==void 0&&(H.arrowheadStyle="fill: #333"):(H.arrowheadStyle="fill: #333",H.labelpos="c"),H.labelType="text",H.label=_.text.replace(xa.lineBreakRegex,`
-`),_.style===void 0&&(H.style=H.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),H.labelStyle=H.labelStyle.replace("color:","fill:"),H.id=N,H.classes="flowchart-link "+B+" "+F,o.setEdge(_.start,_.end,H,p)})},i0e={setConf:kFt,addVertices:tBe,addEdges:nBe,getClasses:function(s,o){je.info("Extracting classes"),o.db.clear();try{return o.parse(s),o.db.getClasses()}catch{return}},draw:function(s,o,f,p){je.info("Drawing flowchart"),p.db.clear(),a3.setGen("gen-2"),p.parser.parse(s);let w=p.db.getDirection();w===void 0&&(w="TD");const{securityLevel:k,flowchart:b}=Pt(),_=b.nodeSpacing||50,A=b.rankSpacing||50;let N;k==="sandbox"&&(N=sr("#i"+o));const B=sr(k==="sandbox"?N.nodes()[0].contentDocument.body:"body"),F=k==="sandbox"?N.nodes()[0].contentDocument:document,H=new Hf({multigraph:!0,compound:!0}).setGraph({rankdir:w,nodesep:_,ranksep:A,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let j;const V=p.db.getSubGraphs();je.info("Subgraphs - ",V);for(let Ee=V.length-1;Ee>=0;Ee--)j=V[Ee],je.info("Subgraph - ",j),p.db.addVertex(j.id,j.title,"group",void 0,j.classes,j.dir);const Z=p.db.getVertices(),ae=p.db.getEdges();je.info("Edges",ae);let le=0;for(le=V.length-1;le>=0;le--){j=V[le],_fe("cluster").append("text");for(let Ee=0;Ee<j.nodes.length;Ee++)je.info("Setting up subgraphs",j.nodes[Ee],j.id),H.setParent(j.nodes[Ee],j.id)}tBe(Z,H,o,B,F,p),nBe(ae,H);const ce=B.select(`[id="${o}"]`),be=B.select("#"+o+" g");if($de(be,H,["point","circle","cross"],"flowchart",o),Pa.insertTitle(ce,"flowchartTitleText",b.titleTopMargin,p.db.getDiagramTitle()),KE(H,ce,b.diagramPadding,b.useMaxWidth),p.db.indexNodes("subGraph"+le),!b.htmlLabels){const Ee=F.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const Me of Ee){const fe=Me.getBBox(),ye=F.createElementNS("http://www.w3.org/2000/svg","rect");ye.setAttribute("rx",0),ye.setAttribute("ry",0),ye.setAttribute("width",fe.width),ye.setAttribute("height",fe.height),Me.insertBefore(ye,Me.firstChild)}}Object.keys(Z).forEach(function(Ee){const Me=Z[Ee];if(Me.link){const fe=sr("#"+o+' [id="'+Ee+'"]');if(fe){const ye=F.createElementNS("http://www.w3.org/2000/svg","a");ye.setAttributeNS("http://www.w3.org/2000/svg","class",Me.classes.join(" ")),ye.setAttributeNS("http://www.w3.org/2000/svg","href",Me.link),ye.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),k==="sandbox"?ye.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):Me.linkTarget&&ye.setAttributeNS("http://www.w3.org/2000/svg","target",Me.linkTarget);const re=fe.insert(function(){return ye},":first-child"),we=fe.select(".label-container");we&&re.append(function(){return we.node()});const ke=fe.select(".label");ke&&re.append(function(){return ke.node()})}}})}};var s0e=function(){var s=function(ye,re,we,ke){for(we=we||{},ke=ye.length;ke--;we[ye[ke]]=re);return we},o=[1,3],f=[1,5],p=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],w=[1,15],k=[1,16],b=[1,17],_=[1,18],A=[1,19],N=[1,20],B=[1,21],F=[1,22],H=[1,23],j=[1,24],V=[1,25],Z=[1,26],ae=[1,27],le=[1,29],ce=[1,31],be=[1,34],xe=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],Ee={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,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],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(re,we,ke,he,De,X,Re){var pe=X.length-1;switch(De){case 2:return X[pe-1];case 3:this.$=[];break;case 4:X[pe-1].push(X[pe]),this.$=X[pe-1];break;case 5:case 6:this.$=X[pe];break;case 7:case 8:this.$=[];break;case 9:he.setDateFormat(X[pe].substr(11)),this.$=X[pe].substr(11);break;case 10:he.enableInclusiveEndDates(),this.$=X[pe].substr(18);break;case 11:he.TopAxis(),this.$=X[pe].substr(8);break;case 12:he.setAxisFormat(X[pe].substr(11)),this.$=X[pe].substr(11);break;case 13:he.setTickInterval(X[pe].substr(13)),this.$=X[pe].substr(13);break;case 14:he.setExcludes(X[pe].substr(9)),this.$=X[pe].substr(9);break;case 15:he.setIncludes(X[pe].substr(9)),this.$=X[pe].substr(9);break;case 16:he.setTodayMarker(X[pe].substr(12)),this.$=X[pe].substr(12);break;case 17:he.setDiagramTitle(X[pe].substr(6)),this.$=X[pe].substr(6);break;case 18:this.$=X[pe].trim(),he.setAccTitle(this.$);break;case 19:case 20:this.$=X[pe].trim(),he.setAccDescription(this.$);break;case 21:he.addSection(X[pe].substr(8)),this.$=X[pe].substr(8);break;case 23:he.addTask(X[pe-1],X[pe]),this.$="task";break;case 27:this.$=X[pe-1],he.setClickEvent(X[pe-1],X[pe],null);break;case 28:this.$=X[pe-2],he.setClickEvent(X[pe-2],X[pe-1],X[pe]);break;case 29:this.$=X[pe-2],he.setClickEvent(X[pe-2],X[pe-1],null),he.setLink(X[pe-2],X[pe]);break;case 30:this.$=X[pe-3],he.setClickEvent(X[pe-3],X[pe-2],X[pe-1]),he.setLink(X[pe-3],X[pe]);break;case 31:this.$=X[pe-2],he.setClickEvent(X[pe-2],X[pe],null),he.setLink(X[pe-2],X[pe-1]);break;case 32:this.$=X[pe-3],he.setClickEvent(X[pe-3],X[pe-1],X[pe]),he.setLink(X[pe-3],X[pe-2]);break;case 33:this.$=X[pe-1],he.setLink(X[pe-1],X[pe]);break;case 34:case 40:this.$=X[pe-1]+" "+X[pe];break;case 35:case 36:case 38:this.$=X[pe-2]+" "+X[pe-1]+" "+X[pe];break;case 37:case 39:this.$=X[pe-3]+" "+X[pe-2]+" "+X[pe-1]+" "+X[pe];break;case 41:he.parseDirective("%%{","open_directive");break;case 42:he.parseDirective(X[pe],"type_directive");break;case 43:X[pe]=X[pe].trim().replace(/'/g,'"'),he.parseDirective(X[pe],"arg_directive");break;case 44:he.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:o,30:4,40:f},{1:[3]},{3:6,4:2,5:o,30:4,40:f},s(p,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:w,13:k,14:b,15:_,16:A,17:N,18:B,19:F,20:H,21:j,23:V,25:Z,26:ae,27:28,28:le,30:4,35:ce,40:f},{32:32,33:[1,33],43:be},s([33,43],[2,42]),s(p,[2,8],{1:[2,2]}),s(p,[2,4]),{4:30,10:35,12:w,13:k,14:b,15:_,16:A,17:N,18:B,19:F,20:H,21:j,23:V,25:Z,26:ae,27:28,28:le,30:4,35:ce,40:f},s(p,[2,6]),s(p,[2,7]),s(p,[2,9]),s(p,[2,10]),s(p,[2,11]),s(p,[2,12]),s(p,[2,13]),s(p,[2,14]),s(p,[2,15]),s(p,[2,16]),s(p,[2,17]),{22:[1,36]},{24:[1,37]},s(p,[2,20]),s(p,[2,21]),s(p,[2,22]),{29:[1,38]},s(p,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},s(p,[2,5]),s(p,[2,18]),s(p,[2,19]),s(p,[2,23]),s(p,[2,27],{37:[1,44],38:[1,45]}),s(p,[2,33],{36:[1,46]}),s(xe,[2,25]),{32:47,43:be},{43:[2,43]},s(p,[2,28],{38:[1,48]}),s(p,[2,29]),s(p,[2,31],{37:[1,49]}),{11:[1,50]},s(p,[2,30]),s(p,[2,32]),s(xe,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(re,we){if(we.recoverable)this.trace(re);else{var ke=new Error(re);throw ke.hash=we,ke}},parse:function(re){var we=this,ke=[0],he=[],De=[null],X=[],Re=this.table,pe="",Ge=0,de=0,ct=2,bt=1,St=X.slice.call(arguments,1),yt=Object.create(this.lexer),Mt={yy:{}};for(var nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nn)&&(Mt.yy[nn]=this.yy[nn]);yt.setInput(re,Mt.yy),Mt.yy.lexer=yt,Mt.yy.parser=this,typeof yt.yylloc>"u"&&(yt.yylloc={});var dn=yt.yylloc;X.push(dn);var vt=yt.options&&yt.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Lr(){var Di;return Di=he.pop()||yt.lex()||bt,typeof Di!="number"&&(Di instanceof Array&&(he=Di,Di=he.pop()),Di=we.symbols_[Di]||Di),Di}for(var xt,Tt,wt,At,He={},Ze,Lt,Ve,Mn;;){if(Tt=ke[ke.length-1],this.defaultActions[Tt]?wt=this.defaultActions[Tt]:((xt===null||typeof xt>"u")&&(xt=Lr()),wt=Re[Tt]&&Re[Tt][xt]),typeof wt>"u"||!wt.length||!wt[0]){var Oe="";Mn=[];for(Ze in Re[Tt])this.terminals_[Ze]&&Ze>ct&&Mn.push("'"+this.terminals_[Ze]+"'");yt.showPosition?Oe="Parse error on line "+(Ge+1)+`:
-`+yt.showPosition()+`
-Expecting `+Mn.join(", ")+", got '"+(this.terminals_[xt]||xt)+"'":Oe="Parse error on line "+(Ge+1)+": Unexpected "+(xt==bt?"end of input":"'"+(this.terminals_[xt]||xt)+"'"),this.parseError(Oe,{text:yt.match,token:this.terminals_[xt]||xt,line:yt.yylineno,loc:dn,expected:Mn})}if(wt[0]instanceof Array&&wt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Tt+", token: "+xt);switch(wt[0]){case 1:ke.push(xt),De.push(yt.yytext),X.push(yt.yylloc),ke.push(wt[1]),xt=null,de=yt.yyleng,pe=yt.yytext,Ge=yt.yylineno,dn=yt.yylloc;break;case 2:if(Lt=this.productions_[wt[1]][1],He.$=De[De.length-Lt],He._$={first_line:X[X.length-(Lt||1)].first_line,last_line:X[X.length-1].last_line,first_column:X[X.length-(Lt||1)].first_column,last_column:X[X.length-1].last_column},vt&&(He._$.range=[X[X.length-(Lt||1)].range[0],X[X.length-1].range[1]]),At=this.performAction.apply(He,[pe,de,Ge,Mt.yy,wt[1],De,X].concat(St)),typeof At<"u")return At;Lt&&(ke=ke.slice(0,-1*Lt*2),De=De.slice(0,-1*Lt),X=X.slice(0,-1*Lt)),ke.push(this.productions_[wt[1]][0]),De.push(He.$),X.push(He._$),Ve=Re[ke[ke.length-2]][ke[ke.length-1]],ke.push(Ve);break;case 3:return!0}}return!0}},Me=function(){var ye={EOF:1,parseError:function(we,ke){if(this.yy.parser)this.yy.parser.parseError(we,ke);else throw new Error(we)},setInput:function(re,we){return this.yy=we||this.yy||{},this._input=re,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 re=this._input[0];this.yytext+=re,this.yyleng++,this.offset++,this.match+=re,this.matched+=re;var we=re.match(/(?:\r\n?|\n).*/g);return we?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),re},unput:function(re){var we=re.length,ke=re.split(/(?:\r\n?|\n)/g);this._input=re+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-we),this.offset-=we;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),ke.length-1&&(this.yylineno-=ke.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:ke?(ke.length===he.length?this.yylloc.first_column:0)+he[he.length-ke.length].length-ke[0].length:this.yylloc.first_column-we},this.options.ranges&&(this.yylloc.range=[De[0],De[0]+this.yyleng-we]),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(re){this.unput(this.match.slice(re))},pastInput:function(){var re=this.matched.substr(0,this.matched.length-this.match.length);return(re.length>20?"...":"")+re.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var re=this.match;return re.length<20&&(re+=this._input.substr(0,20-re.length)),(re.substr(0,20)+(re.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var re=this.pastInput(),we=new Array(re.length+1).join("-");return re+this.upcomingInput()+`
-`+we+"^"},test_match:function(re,we){var ke,he,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))),he=re[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+re[0].length},this.yytext+=re[0],this.match+=re[0],this.matches=re,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(re[0].length),this.matched+=re[0],ke=this.performAction.call(this,this.yy,this,we,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ke)return ke;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 re,we,ke,he;this._more||(this.yytext="",this.match="");for(var De=this._currentRules(),X=0;X<De.length;X++)if(ke=this._input.match(this.rules[De[X]]),ke&&(!we||ke[0].length>we[0].length)){if(we=ke,he=X,this.options.backtrack_lexer){if(re=this.test_match(ke,De[X]),re!==!1)return re;if(this._backtrack){we=!1;continue}else return!1}else if(!this.options.flex)break}return we?(re=this.test_match(we,De[he]),re!==!1?re:!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 we=this.next();return we||this.lex()},begin:function(we){this.conditionStack.push(we)},popState:function(){var we=this.conditionStack.length-1;return we>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(we){return we=this.conditionStack.length-1-Math.abs(we||0),we>=0?this.conditionStack[we]:"INITIAL"},pushState:function(we){this.begin(we)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(we,ke,he,De){switch(he){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:break;case 13:break;case 14:break;case 15:return 11;case 16:break;case 17:break;case 18:break;case 19:this.begin("href");break;case 20:this.popState();break;case 21:return 38;case 22:this.begin("callbackname");break;case 23:this.popState();break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 26:this.popState();break;case 27:return 37;case 28:this.begin("click");break;case 29:this.popState();break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?:%[^\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,/^(?:\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return ye}();Ee.lexer=Me;function fe(){this.yy={}}return fe.prototype=Ee,Ee.Parser=fe,new fe}();s0e.parser=s0e;const xFt=s0e,EFt=s=>s.match(/^\s*gantt/)!==null;var a0e={},TFt={get exports(){return a0e},set exports(s){a0e=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){var f="day";return function(p,w,k){var b=function(N){return N.add(4-N.isoWeekday(),f)},_=w.prototype;_.isoWeekYear=function(){return b(this).year()},_.isoWeek=function(N){if(!this.$utils().u(N))return this.add(7*(N-this.isoWeek()),f);var B,F,H,j,V=b(this),Z=(B=this.isoWeekYear(),F=this.$u,H=(F?k.utc:k)().year(B).startOf("year"),j=4-H.isoWeekday(),H.isoWeekday()>4&&(j+=7),H.add(j,f));return V.diff(Z,"week")+1},_.isoWeekday=function(N){return this.$utils().u(N)?this.day()||7:this.day(this.day()%7?N:N-7)};var A=_.startOf;_.startOf=function(N,B){var F=this.$utils(),H=!!F.u(B)||B;return F.p(N)==="isoweek"?H?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):A.bind(this)(N,B)}}})})(TFt);const _Ft=a0e;var o0e={},CFt={get exports(){return o0e},set exports(s){o0e=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){var f={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"},p=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,w=/\d\d/,k=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,_={},A=function(Z){return(Z=+Z)+(Z>68?1900:2e3)},N=function(Z){return function(ae){this[Z]=+ae}},B=[/[+-]\d\d:?(\d\d)?|Z/,function(Z){(this.zone||(this.zone={})).offset=function(ae){if(!ae||ae==="Z")return 0;var le=ae.match(/([+-]|\d\d)/g),ce=60*le[1]+(+le[2]||0);return ce===0?0:le[0]==="+"?-ce:ce}(Z)}],F=function(Z){var ae=_[Z];return ae&&(ae.indexOf?ae:ae.s.concat(ae.f))},H=function(Z,ae){var le,ce=_.meridiem;if(ce){for(var be=1;be<=24;be+=1)if(Z.indexOf(ce(be,0,ae))>-1){le=be>12;break}}else le=Z===(ae?"pm":"PM");return le},j={A:[b,function(Z){this.afternoon=H(Z,!1)}],a:[b,function(Z){this.afternoon=H(Z,!0)}],S:[/\d/,function(Z){this.milliseconds=100*+Z}],SS:[w,function(Z){this.milliseconds=10*+Z}],SSS:[/\d{3}/,function(Z){this.milliseconds=+Z}],s:[k,N("seconds")],ss:[k,N("seconds")],m:[k,N("minutes")],mm:[k,N("minutes")],H:[k,N("hours")],h:[k,N("hours")],HH:[k,N("hours")],hh:[k,N("hours")],D:[k,N("day")],DD:[w,N("day")],Do:[b,function(Z){var ae=_.ordinal,le=Z.match(/\d+/);if(this.day=le[0],ae)for(var ce=1;ce<=31;ce+=1)ae(ce).replace(/\[|\]/g,"")===Z&&(this.day=ce)}],M:[k,N("month")],MM:[w,N("month")],MMM:[b,function(Z){var ae=F("months"),le=(F("monthsShort")||ae.map(function(ce){return ce.slice(0,3)})).indexOf(Z)+1;if(le<1)throw new Error;this.month=le%12||le}],MMMM:[b,function(Z){var ae=F("months").indexOf(Z)+1;if(ae<1)throw new Error;this.month=ae%12||ae}],Y:[/[+-]?\d+/,N("year")],YY:[w,function(Z){this.year=A(Z)}],YYYY:[/\d{4}/,N("year")],Z:B,ZZ:B};function V(Z){var ae,le;ae=Z,le=_&&_.formats;for(var ce=(Z=ae.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(re,we,ke){var he=ke&&ke.toUpperCase();return we||le[ke]||f[ke]||le[he].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(De,X,Re){return X||Re.slice(1)})})).match(p),be=ce.length,xe=0;xe<be;xe+=1){var Ee=ce[xe],Me=j[Ee],fe=Me&&Me[0],ye=Me&&Me[1];ce[xe]=ye?{regex:fe,parser:ye}:Ee.replace(/^\[|\]$/g,"")}return function(re){for(var we={},ke=0,he=0;ke<be;ke+=1){var De=ce[ke];if(typeof De=="string")he+=De.length;else{var X=De.regex,Re=De.parser,pe=re.slice(he),Ge=X.exec(pe)[0];Re.call(we,Ge),re=re.replace(Ge,"")}}return function(de){var ct=de.afternoon;if(ct!==void 0){var bt=de.hours;ct?bt<12&&(de.hours+=12):bt===12&&(de.hours=0),delete de.afternoon}}(we),we}}return function(Z,ae,le){le.p.customParseFormat=!0,Z&&Z.parseTwoDigitYear&&(A=Z.parseTwoDigitYear);var ce=ae.prototype,be=ce.parse;ce.parse=function(xe){var Ee=xe.date,Me=xe.utc,fe=xe.args;this.$u=Me;var ye=fe[1];if(typeof ye=="string"){var re=fe[2]===!0,we=fe[3]===!0,ke=re||we,he=fe[2];we&&(he=fe[2]),_=this.$locale(),!re&&he&&(_=le.Ls[he]),this.$d=function(pe,Ge,de){try{if(["x","X"].indexOf(Ge)>-1)return new Date((Ge==="X"?1e3:1)*pe);var ct=V(Ge)(pe),bt=ct.year,St=ct.month,yt=ct.day,Mt=ct.hours,nn=ct.minutes,dn=ct.seconds,vt=ct.milliseconds,Lr=ct.zone,xt=new Date,Tt=yt||(bt||St?1:xt.getDate()),wt=bt||xt.getFullYear(),At=0;bt&&!St||(At=St>0?St-1:xt.getMonth());var He=Mt||0,Ze=nn||0,Lt=dn||0,Ve=vt||0;return Lr?new Date(Date.UTC(wt,At,Tt,He,Ze,Lt,Ve+60*Lr.offset*1e3)):de?new Date(Date.UTC(wt,At,Tt,He,Ze,Lt,Ve)):new Date(wt,At,Tt,He,Ze,Lt,Ve)}catch{return new Date("")}}(Ee,ye,Me),this.init(),he&&he!==!0&&(this.$L=this.locale(he).$L),ke&&Ee!=this.format(ye)&&(this.$d=new Date("")),_={}}else if(ye instanceof Array)for(var De=ye.length,X=1;X<=De;X+=1){fe[1]=ye[X-1];var Re=le.apply(this,fe);if(Re.isValid()){this.$d=Re.$d,this.$L=Re.$L,this.init();break}X===De&&(this.$d=new Date(""))}else be.call(this,xe)}}})})(CFt);const SFt=o0e;var c0e={},AFt={get exports(){return c0e},set exports(s){c0e=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){return function(f,p){var w=p.prototype,k=w.format;w.format=function(b){var _=this,A=this.$locale();if(!this.isValid())return k.bind(this)(b);var N=this.$utils(),B=(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(F){switch(F){case"Q":return Math.ceil((_.$M+1)/3);case"Do":return A.ordinal(_.$D);case"gggg":return _.weekYear();case"GGGG":return _.isoWeekYear();case"wo":return A.ordinal(_.week(),"W");case"w":case"ww":return N.s(_.week(),F==="w"?1:2,"0");case"W":case"WW":return N.s(_.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return N.s(String(_.$H===0?24:_.$H),F==="k"?1:2,"0");case"X":return Math.floor(_.$d.getTime()/1e3);case"x":return _.$d.getTime();case"z":return"["+_.offsetName()+"]";case"zzz":return"["+_.offsetName("long")+"]";default:return F}});return k.bind(this)(B)}}})})(AFt);const LFt=c0e;Qg.extend(_Ft),Qg.extend(SFt),Qg.extend(LFt);let u3="",u0e="",l0e,h0e="",iP=[],sP=[],f0e={},d0e=[],eW=[],zA="";const rBe=["active","done","crit","milestone"];let g0e=[],aP=!1,p0e=!1,b0e=0;const MFt=function(s,o,f){Fl.parseDirective(this,s,o,f)},DFt=function(){d0e=[],eW=[],zA="",g0e=[],tW=0,w0e=void 0,nW=void 0,g1=[],u3="",u0e="",l0e=void 0,h0e="",iP=[],sP=[],aP=!1,p0e=!1,b0e=0,f0e={},tp()},IFt=function(s){u0e=s},OFt=function(){return u0e},NFt=function(s){l0e=s},PFt=function(){return l0e},BFt=function(s){h0e=s},FFt=function(){return h0e},RFt=function(s){u3=s},jFt=function(){aP=!0},$Ft=function(){return aP},HFt=function(){p0e=!0},zFt=function(){return p0e},GFt=function(){return u3},qFt=function(s){iP=s.toLowerCase().split(/[\s,]+/)},VFt=function(){return iP},UFt=function(s){sP=s.toLowerCase().split(/[\s,]+/)},KFt=function(){return sP},WFt=function(){return f0e},YFt=function(s){zA=s,d0e.push(s)},XFt=function(){return d0e},QFt=function(){let s=uBe();const o=10;let f=0;for(;!s&&f<o;)s=uBe(),f++;return eW=g1,eW},iBe=function(s,o,f,p){return p.includes(s.format(o.trim()))?!1:s.isoWeekday()>=6&&f.includes("weekends")||f.includes(s.format("dddd").toLowerCase())?!0:f.includes(s.format(o.trim()))},sBe=function(s,o,f,p){if(!f.length||s.manualEndTime)return;let w;s.startTime instanceof Date?w=Qg(s.startTime):w=Qg(s.startTime,o,!0),w=w.add(1,"d");let k;s.endTime instanceof Date?k=Qg(s.endTime):k=Qg(s.endTime,o,!0);const[b,_]=ZFt(w,k,o,f,p);s.endTime=b.toDate(),s.renderEndTime=_},ZFt=function(s,o,f,p,w){let k=!1,b=null;for(;s<=o;)k||(b=o.toDate()),k=iBe(s,f,p,w),k&&(o=o.add(1,"d")),s=s.add(1,"d");return[o,b]},v0e=function(s,o,f){f=f.trim();const w=/^after\s+([\d\w- ]+)/.exec(f.trim());if(w!==null){let b=null;if(w[1].split(" ").forEach(function(_){let A=qA(_);A!==void 0&&(b?A.endTime>b.endTime&&(b=A):b=A)}),b)return b.endTime;{const _=new Date;return _.setHours(0,0,0,0),_}}let k=Qg(f,o.trim(),!0);if(k.isValid())return k.toDate();{je.debug("Invalid date:"+f),je.debug("With date format:"+o.trim());const b=new Date(f);if(b===void 0||isNaN(b.getTime()))throw new Error("Invalid date:"+f);return b}},aBe=function(s){const o=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(s.trim());return o!==null?[Number.parseFloat(o[1]),o[2]]:[NaN,"ms"]},oBe=function(s,o,f,p=!1){f=f.trim();let w=Qg(f,o.trim(),!0);if(w.isValid())return p&&(w=w.add(1,"d")),w.toDate();let k=Qg(s);const[b,_]=aBe(f);if(!Number.isNaN(b)){const A=k.add(b,_);A.isValid()&&(k=A)}return k.toDate()};let tW=0;const GA=function(s){return s===void 0?(tW=tW+1,"task"+tW):s},JFt=function(s,o){let f;o.substr(0,1)===":"?f=o.substr(1,o.length):f=o;const p=f.split(","),w={};fBe(p,w,rBe);for(let b=0;b<p.length;b++)p[b]=p[b].trim();let k="";switch(p.length){case 1:w.id=GA(),w.startTime=s.endTime,k=p[0];break;case 2:w.id=GA(),w.startTime=v0e(void 0,u3,p[0]),k=p[1];break;case 3:w.id=GA(p[0]),w.startTime=v0e(void 0,u3,p[1]),k=p[2];break}return k&&(w.endTime=oBe(w.startTime,u3,k,aP),w.manualEndTime=Qg(k,"YYYY-MM-DD",!0).isValid(),sBe(w,u3,sP,iP)),w},eRt=function(s,o){let f;o.substr(0,1)===":"?f=o.substr(1,o.length):f=o;const p=f.split(","),w={};fBe(p,w,rBe);for(let k=0;k<p.length;k++)p[k]=p[k].trim();switch(p.length){case 1:w.id=GA(),w.startTime={type:"prevTaskEnd",id:s},w.endTime={data:p[0]};break;case 2:w.id=GA(),w.startTime={type:"getStartDate",startData:p[0]},w.endTime={data:p[1]};break;case 3:w.id=GA(p[0]),w.startTime={type:"getStartDate",startData:p[1]},w.endTime={data:p[2]};break}return w};let w0e,nW,g1=[];const cBe={},tRt=function(s,o){const f={section:zA,type:zA,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:o},task:s,classes:[]},p=eRt(nW,o);f.raw.startTime=p.startTime,f.raw.endTime=p.endTime,f.id=p.id,f.prevTaskId=nW,f.active=p.active,f.done=p.done,f.crit=p.crit,f.milestone=p.milestone,f.order=b0e,b0e++;const w=g1.push(f);nW=f.id,cBe[f.id]=w-1},qA=function(s){const o=cBe[s];return g1[o]},nRt=function(s,o){const f={section:zA,type:zA,description:s,task:s,classes:[]},p=JFt(w0e,o);f.startTime=p.startTime,f.endTime=p.endTime,f.id=p.id,f.active=p.active,f.done=p.done,f.crit=p.crit,f.milestone=p.milestone,w0e=f,eW.push(f)},uBe=function(){const s=function(f){const p=g1[f];let w="";switch(g1[f].raw.startTime.type){case"prevTaskEnd":{const k=qA(p.prevTaskId);p.startTime=k.endTime;break}case"getStartDate":w=v0e(void 0,u3,g1[f].raw.startTime.startData),w&&(g1[f].startTime=w);break}return g1[f].startTime&&(g1[f].endTime=oBe(g1[f].startTime,u3,g1[f].raw.endTime.data,aP),g1[f].endTime&&(g1[f].processed=!0,g1[f].manualEndTime=Qg(g1[f].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),sBe(g1[f],u3,sP,iP))),g1[f].processed};let o=!0;for(const[f,p]of g1.entries())s(f),o=o&&p.processed;return o},rRt=function(s,o){let f=o;Pt().securityLevel!=="loose"&&(f=a5(o)),s.split(",").forEach(function(p){qA(p)!==void 0&&(hBe(p,()=>{window.open(f,"_self")}),f0e[p]=f)}),lBe(s,"clickable")},lBe=function(s,o){s.split(",").forEach(function(f){let p=qA(f);p!==void 0&&p.classes.push(o)})},iRt=function(s,o,f){if(Pt().securityLevel!=="loose"||o===void 0)return;let p=[];if(typeof f=="string"){p=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<p.length;k++){let b=p[k].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),p[k]=b}}p.length===0&&p.push(s),qA(s)!==void 0&&hBe(s,()=>{Pa.runFunc(o,...p)})},hBe=function(s,o){g0e.push(function(){const f=document.querySelector(`[id="${s}"]`);f!==null&&f.addEventListener("click",function(){o()})},function(){const f=document.querySelector(`[id="${s}-text"]`);f!==null&&f.addEventListener("click",function(){o()})})},m0e={parseDirective:MFt,getConfig:()=>Pt().gantt,clear:DFt,setDateFormat:RFt,getDateFormat:GFt,enableInclusiveEndDates:jFt,endDatesAreInclusive:$Ft,enableTopAxis:HFt,topAxisEnabled:zFt,setAxisFormat:IFt,getAxisFormat:OFt,setTickInterval:NFt,getTickInterval:PFt,setTodayMarker:BFt,getTodayMarker:FFt,setAccTitle:np,getAccTitle:C2,setDiagramTitle:Kw,getDiagramTitle:Ww,setAccDescription:S2,getAccDescription:A2,addSection:YFt,getSections:XFt,getTasks:QFt,addTask:tRt,findTaskById:qA,addTaskOrg:nRt,setIncludes:qFt,getIncludes:VFt,setExcludes:UFt,getExcludes:KFt,setClickEvent:function(s,o,f){s.split(",").forEach(function(p){iRt(p,o,f)}),lBe(s,"clickable")},setLink:rRt,getLinks:WFt,bindFunctions:function(s){g0e.forEach(function(o){o(s)})},parseDuration:aBe,isInvalidDate:iBe};function fBe(s,o,f){let p=!0;for(;p;)p=!1,f.forEach(function(w){const k="^\\s*"+w+"\\s*$",b=new RegExp(k);s[0].match(b)&&(o[w]=!0,s.shift(1),p=!0)})}const sRt=function(){je.debug("Something is calling, setConf, remove the call")};let _5;const aRt={setConf:sRt,draw:function(s,o,f,p){const w=Pt().gantt,k=Pt().securityLevel;let b;k==="sandbox"&&(b=sr("#i"+o));const _=sr(k==="sandbox"?b.nodes()[0].contentDocument.body:"body"),A=k==="sandbox"?b.nodes()[0].contentDocument:document,N=A.getElementById(o);_5=N.parentElement.offsetWidth,_5===void 0&&(_5=1200),w.useWidth!==void 0&&(_5=w.useWidth);const B=p.db.getTasks(),F=B.length*(w.barHeight+w.barGap)+2*w.topPadding;N.setAttribute("viewBox","0 0 "+_5+" "+F);const H=_.select(`[id="${o}"]`),j=Gxt().domain([k4t(B,function(we){return we.startTime}),y4t(B,function(we){return we.endTime})]).rangeRound([0,_5-w.leftPadding-w.rightPadding]);let V=[];for(const we of B)V.push(we.type);const Z=V;V=fe(V);function ae(we,ke){const he=we.startTime,De=ke.startTime;let X=0;return he>De?X=1:he<De&&(X=-1),X}B.sort(ae),le(B,_5,F),Uw(H,F,_5,w.useMaxWidth),H.append("text").text(p.db.getDiagramTitle()).attr("x",_5/2).attr("y",w.titleTopMargin).attr("class","titleText");function le(we,ke,he){const De=w.barHeight,X=De+w.barGap,Re=w.topPadding,pe=w.leftPadding,Ge=nMe().domain([0,V.length]).range(["#00B9FA","#F95002"]).interpolate(z6t);be(X,Re,pe,ke,he,we,p.db.getExcludes(),p.db.getIncludes()),xe(pe,Re,ke,he),ce(we,X,Re,pe,De,Ge,ke),Ee(X,Re),Me(pe,Re,ke,he)}function ce(we,ke,he,De,X,Re,pe){H.append("g").selectAll("rect").data(we).enter().append("rect").attr("x",0).attr("y",function(bt,St){return St=bt.order,St*ke+he-2}).attr("width",function(){return pe-w.rightPadding/2}).attr("height",ke).attr("class",function(bt){for(const[St,yt]of V.entries())if(bt.type===yt)return"section section"+St%w.numberSectionStyles;return"section section0"});const Ge=H.append("g").selectAll("rect").data(we).enter(),de=p.db.getLinks();if(Ge.append("rect").attr("id",function(bt){return bt.id}).attr("rx",3).attr("ry",3).attr("x",function(bt){return bt.milestone?j(bt.startTime)+De+.5*(j(bt.endTime)-j(bt.startTime))-.5*X:j(bt.startTime)+De}).attr("y",function(bt,St){return St=bt.order,St*ke+he}).attr("width",function(bt){return bt.milestone?X:j(bt.renderEndTime||bt.endTime)-j(bt.startTime)}).attr("height",X).attr("transform-origin",function(bt,St){return St=bt.order,(j(bt.startTime)+De+.5*(j(bt.endTime)-j(bt.startTime))).toString()+"px "+(St*ke+he+.5*X).toString()+"px"}).attr("class",function(bt){const St="task";let yt="";bt.classes.length>0&&(yt=bt.classes.join(" "));let Mt=0;for(const[dn,vt]of V.entries())bt.type===vt&&(Mt=dn%w.numberSectionStyles);let nn="";return bt.active?bt.crit?nn+=" activeCrit":nn=" active":bt.done?bt.crit?nn=" doneCrit":nn=" done":bt.crit&&(nn+=" crit"),nn.length===0&&(nn=" task"),bt.milestone&&(nn=" milestone "+nn),nn+=Mt,nn+=" "+yt,St+nn}),Ge.append("text").attr("id",function(bt){return bt.id+"-text"}).text(function(bt){return bt.task}).attr("font-size",w.fontSize).attr("x",function(bt){let St=j(bt.startTime),yt=j(bt.renderEndTime||bt.endTime);bt.milestone&&(St+=.5*(j(bt.endTime)-j(bt.startTime))-.5*X),bt.milestone&&(yt=St+X);const Mt=this.getBBox().width;return Mt>yt-St?yt+Mt+1.5*w.leftPadding>pe?St+De-5:yt+De+5:(yt-St)/2+St+De}).attr("y",function(bt,St){return St=bt.order,St*ke+w.barHeight/2+(w.fontSize/2-2)+he}).attr("text-height",X).attr("class",function(bt){const St=j(bt.startTime);let yt=j(bt.endTime);bt.milestone&&(yt=St+X);const Mt=this.getBBox().width;let nn="";bt.classes.length>0&&(nn=bt.classes.join(" "));let dn=0;for(const[Lr,xt]of V.entries())bt.type===xt&&(dn=Lr%w.numberSectionStyles);let vt="";return bt.active&&(bt.crit?vt="activeCritText"+dn:vt="activeText"+dn),bt.done?bt.crit?vt=vt+" doneCritText"+dn:vt=vt+" doneText"+dn:bt.crit&&(vt=vt+" critText"+dn),bt.milestone&&(vt+=" milestoneText"),Mt>yt-St?yt+Mt+1.5*w.leftPadding>pe?nn+" taskTextOutsideLeft taskTextOutside"+dn+" "+vt:nn+" taskTextOutsideRight taskTextOutside"+dn+" "+vt+" width-"+Mt:nn+" taskText taskText"+dn+" "+vt+" width-"+Mt}),Pt().securityLevel==="sandbox"){let bt;bt=sr("#i"+o);const St=bt.nodes()[0].contentDocument;Ge.filter(function(yt){return de[yt.id]!==void 0}).each(function(yt){var Mt=St.querySelector("#"+yt.id),nn=St.querySelector("#"+yt.id+"-text");const dn=Mt.parentNode;var vt=St.createElement("a");vt.setAttribute("xlink:href",de[yt.id]),vt.setAttribute("target","_top"),dn.appendChild(vt),vt.appendChild(Mt),vt.appendChild(nn)})}}function be(we,ke,he,De,X,Re,pe,Ge){const de=Re.reduce((dn,{startTime:vt})=>dn?Math.min(dn,vt):vt,0),ct=Re.reduce((dn,{endTime:vt})=>dn?Math.max(dn,vt):vt,0),bt=p.db.getDateFormat();if(!de||!ct)return;const St=[];let yt=null,Mt=Qg(de);for(;Mt.valueOf()<=ct;)p.db.isInvalidDate(Mt,bt,pe,Ge)?yt?yt.end=Mt:yt={start:Mt,end:Mt}:yt&&(St.push(yt),yt=null),Mt=Mt.add(1,"d");H.append("g").selectAll("rect").data(St).enter().append("rect").attr("id",function(dn){return"exclude-"+dn.start.format("YYYY-MM-DD")}).attr("x",function(dn){return j(dn.start)+he}).attr("y",w.gridLineStartPadding).attr("width",function(dn){const vt=dn.end.add(1,"day");return j(vt)-j(dn.start)}).attr("height",X-ke-w.gridLineStartPadding).attr("transform-origin",function(dn,vt){return(j(dn.start)+he+.5*(j(dn.end)-j(dn.start))).toString()+"px "+(vt*we+.5*X).toString()+"px"}).attr("class","exclude-range")}function xe(we,ke,he,De){let X=L4t(j).tickSize(-De+ke+w.gridLineStartPadding).tickFormat(wU(p.db.getAxisFormat()||w.axisFormat||"%Y-%m-%d"));const pe=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(p.db.getTickInterval()||w.tickInterval);if(pe!==null){const Ge=pe[1];switch(pe[2]){case"minute":X.ticks(dU.every(Ge));break;case"hour":X.ticks(gU.every(Ge));break;case"day":X.ticks(cA.every(Ge));break;case"week":X.ticks(uA.every(Ge));break;case"month":X.ticks(bU.every(Ge));break}}if(H.append("g").attr("class","grid").attr("transform","translate("+we+", "+(De-50)+")").call(X).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),p.db.topAxisEnabled()||w.topAxis){let Ge=A4t(j).tickSize(-De+ke+w.gridLineStartPadding).tickFormat(wU(p.db.getAxisFormat()||w.axisFormat||"%Y-%m-%d"));if(pe!==null){const de=pe[1];switch(pe[2]){case"minute":Ge.ticks(dU.every(de));break;case"hour":Ge.ticks(gU.every(de));break;case"day":Ge.ticks(cA.every(de));break;case"week":Ge.ticks(uA.every(de));break;case"month":Ge.ticks(bU.every(de));break}}H.append("g").attr("class","grid").attr("transform","translate("+we+", "+ke+")").call(Ge).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function Ee(we,ke){const he=[];let De=0;for(const[X,Re]of V.entries())he[X]=[Re,re(Re,Z)];H.append("g").selectAll("text").data(he).enter().append(function(X){const Re=X[0].split(xa.lineBreakRegex),pe=-(Re.length-1)/2,Ge=A.createElementNS("http://www.w3.org/2000/svg","text");Ge.setAttribute("dy",pe+"em");for(const[de,ct]of Re.entries()){const bt=A.createElementNS("http://www.w3.org/2000/svg","tspan");bt.setAttribute("alignment-baseline","central"),bt.setAttribute("x","10"),de>0&&bt.setAttribute("dy","1em"),bt.textContent=ct,Ge.appendChild(bt)}return Ge}).attr("x",10).attr("y",function(X,Re){if(Re>0)for(let pe=0;pe<Re;pe++)return De+=he[Re-1][1],X[1]*we/2+De*we+ke;else return X[1]*we/2+ke}).attr("font-size",w.sectionFontSize).attr("font-size",w.sectionFontSize).attr("class",function(X){for(const[Re,pe]of V.entries())if(X[0]===pe)return"sectionTitle sectionTitle"+Re%w.numberSectionStyles;return"sectionTitle"})}function Me(we,ke,he,De){const X=p.db.getTodayMarker();if(X==="off")return;const Re=H.append("g").attr("class","today"),pe=new Date,Ge=Re.append("line");Ge.attr("x1",j(pe)+we).attr("x2",j(pe)+we).attr("y1",w.titleTopMargin).attr("y2",De-w.titleTopMargin).attr("class","today"),X!==""&&Ge.attr("style",X.replace(/,/g,";"))}function fe(we){const ke={},he=[];for(let De=0,X=we.length;De<X;++De)Object.prototype.hasOwnProperty.call(ke,we[De])||(ke[we[De]]=!0,he.push(we[De]));return he}function ye(we){let ke=we.length;const he={};for(;ke;)he[we[--ke]]=(he[we[ke]]||0)+1;return he}function re(we,ke){return ye(ke)[we]||0}}};var y0e=function(){var s=function(k,b,_,A){for(_=_||{},A=k.length;A--;_[k[A]]=b);return _},o=[6,9,10],f={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,_,A,N,B,F,H){switch(F.length-1,B){case 1:return N;case 4:break;case 6:N.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},s(o,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},s(o,[2,3]),s(o,[2,4]),s(o,[2,5]),s(o,[2,6])],defaultActions:{4:[2,1]},parseError:function(b,_){if(_.recoverable)this.trace(b);else{var A=new Error(b);throw A.hash=_,A}},parse:function(b){var _=this,A=[0],N=[],B=[null],F=[],H=this.table,j="",V=0,Z=0,ae=2,le=1,ce=F.slice.call(arguments,1),be=Object.create(this.lexer),xe={yy:{}};for(var Ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ee)&&(xe.yy[Ee]=this.yy[Ee]);be.setInput(b,xe.yy),xe.yy.lexer=be,xe.yy.parser=this,typeof be.yylloc>"u"&&(be.yylloc={});var Me=be.yylloc;F.push(Me);var fe=be.options&&be.options.ranges;typeof xe.yy.parseError=="function"?this.parseError=xe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(){var ct;return ct=N.pop()||be.lex()||le,typeof ct!="number"&&(ct instanceof Array&&(N=ct,ct=N.pop()),ct=_.symbols_[ct]||ct),ct}for(var re,we,ke,he,De={},X,Re,pe,Ge;;){if(we=A[A.length-1],this.defaultActions[we]?ke=this.defaultActions[we]:((re===null||typeof re>"u")&&(re=ye()),ke=H[we]&&H[we][re]),typeof ke>"u"||!ke.length||!ke[0]){var de="";Ge=[];for(X in H[we])this.terminals_[X]&&X>ae&&Ge.push("'"+this.terminals_[X]+"'");be.showPosition?de="Parse error on line "+(V+1)+`:
-`+be.showPosition()+`
-Expecting `+Ge.join(", ")+", got '"+(this.terminals_[re]||re)+"'":de="Parse error on line "+(V+1)+": Unexpected "+(re==le?"end of input":"'"+(this.terminals_[re]||re)+"'"),this.parseError(de,{text:be.match,token:this.terminals_[re]||re,line:be.yylineno,loc:Me,expected:Ge})}if(ke[0]instanceof Array&&ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+we+", token: "+re);switch(ke[0]){case 1:A.push(re),B.push(be.yytext),F.push(be.yylloc),A.push(ke[1]),re=null,Z=be.yyleng,j=be.yytext,V=be.yylineno,Me=be.yylloc;break;case 2:if(Re=this.productions_[ke[1]][1],De.$=B[B.length-Re],De._$={first_line:F[F.length-(Re||1)].first_line,last_line:F[F.length-1].last_line,first_column:F[F.length-(Re||1)].first_column,last_column:F[F.length-1].last_column},fe&&(De._$.range=[F[F.length-(Re||1)].range[0],F[F.length-1].range[1]]),he=this.performAction.apply(De,[j,Z,V,xe.yy,ke[1],B,F].concat(ce)),typeof he<"u")return he;Re&&(A=A.slice(0,-1*Re*2),B=B.slice(0,-1*Re),F=F.slice(0,-1*Re)),A.push(this.productions_[ke[1]][0]),B.push(De.$),F.push(De._$),pe=H[A[A.length-2]][A[A.length-1]],A.push(pe);break;case 3:return!0}}return!0}},p=function(){var k={EOF:1,parseError:function(_,A){if(this.yy.parser)this.yy.parser.parseError(_,A);else throw new Error(_)},setInput:function(b,_){return this.yy=_||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 _=b.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),b},unput:function(b){var _=b.length,A=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;var N=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 B=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===N.length?this.yylloc.first_column:0)+N[N.length-A.length].length-A[0].length:this.yylloc.first_column-_},this.options.ranges&&(this.yylloc.range=[B[0],B[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(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(),_=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
-`+_+"^"},test_match:function(b,_){var A,N,B;if(this.options.backtrack_lexer&&(B={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&&(B.yylloc.range=this.yylloc.range.slice(0))),N=b[0].match(/(?:\r\n?|\n).*/g),N&&(this.yylineno+=N.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:N?N[N.length-1].length-N[N.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],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 F in B)this[F]=B[F];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,_,A,N;this._more||(this.yytext="",this.match="");for(var B=this._currentRules(),F=0;F<B.length;F++)if(A=this._input.match(this.rules[B[F]]),A&&(!_||A[0].length>_[0].length)){if(_=A,N=F,this.options.backtrack_lexer){if(b=this.test_match(A,B[F]),b!==!1)return b;if(this._backtrack){_=!1;continue}else return!1}else if(!this.options.flex)break}return _?(b=this.test_match(_,B[N]),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 _=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,N,B){switch(N){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 k}();f.lexer=p;function w(){this.yy={}}return w.prototype=f,f.Parser=w,new w}();y0e.parser=y0e;const oRt=y0e;var dBe="",gBe=!1;const cRt={setMessage:s=>{je.debug("Setting message to: "+s),dBe=s},getMessage:()=>dBe,setInfo:s=>{gBe=s},getInfo:()=>gBe,clear:tp},uRt={draw:(s,o,f)=>{try{je.debug(`Rendering info diagram
-`+s);const p=Pt().securityLevel;let w;p==="sandbox"&&(w=sr("#i"+o));const b=sr(p==="sandbox"?w.nodes()[0].contentDocument.body:"body").select("#"+o);b.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+f),b.attr("height",100),b.attr("width",400)}catch(p){je.error("Error while rendering info diagram"),je.error(p.message)}}},lRt=s=>s.match(/^\s*info/)!==null;var k0e=function(){var s=function(Me,fe,ye,re){for(ye=ye||{},re=Me.length;re--;ye[Me[re]]=fe);return ye},o=[1,4],f=[1,5],p=[1,6],w=[1,7],k=[1,9],b=[1,11,13,15,17,19,20,26,27,28,29],_=[2,5],A=[1,6,11,13,15,17,19,20,26,27,28,29],N=[26,27,28],B=[2,8],F=[1,18],H=[1,19],j=[1,20],V=[1,21],Z=[1,22],ae=[1,23],le=[1,28],ce=[6,26,27,28,29],be={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement: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,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",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",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(fe,ye,re,we,ke,he,De){var X=he.length-1;switch(ke){case 4:we.setShowData(!0);break;case 7:this.$=he[X-1];break;case 9:we.addSection(he[X-1],we.cleanupValue(he[X]));break;case 10:this.$=he[X].trim(),we.setDiagramTitle(this.$);break;case 11:this.$=he[X].trim(),we.setAccTitle(this.$);break;case 12:case 13:this.$=he[X].trim(),we.setAccDescription(this.$);break;case 14:we.addSection(he[X].substr(8)),this.$=he[X].substr(8);break;case 21:we.parseDirective("%%{","open_directive");break;case 22:we.parseDirective(he[X],"type_directive");break;case 23:he[X]=he[X].trim().replace(/'/g,'"'),we.parseDirective(he[X],"arg_directive");break;case 24:we.parseDirective("}%%","close_directive","pie");break}},table:[{3:1,4:2,5:3,6:o,21:8,26:f,27:p,28:w,29:k},{1:[3]},{3:10,4:2,5:3,6:o,21:8,26:f,27:p,28:w,29:k},{3:11,4:2,5:3,6:o,21:8,26:f,27:p,28:w,29:k},s(b,_,{7:12,8:[1,13]}),s(A,[2,18]),s(A,[2,19]),s(A,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},s(N,B,{21:8,9:16,10:17,5:24,1:[2,3],11:F,13:H,15:j,17:V,19:Z,20:ae,29:k}),s(b,_,{7:25}),{23:26,24:[1,27],32:le},s([24,32],[2,22]),s(b,[2,6]),{4:29,26:f,27:p,28:w},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},s(N,[2,13]),s(N,[2,14]),s(N,[2,15]),s(N,B,{21:8,9:16,10:17,5:24,1:[2,4],11:F,13:H,15:j,17:V,19:Z,20:ae,29:k}),s(ce,[2,16]),{25:34,31:[1,35]},s(ce,[2,24]),s(b,[2,7]),s(N,[2,9]),s(N,[2,10]),s(N,[2,11]),s(N,[2,12]),{23:36,32:le},{32:[2,23]},s(ce,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(fe,ye){if(ye.recoverable)this.trace(fe);else{var re=new Error(fe);throw re.hash=ye,re}},parse:function(fe){var ye=this,re=[0],we=[],ke=[null],he=[],De=this.table,X="",Re=0,pe=0,Ge=2,de=1,ct=he.slice.call(arguments,1),bt=Object.create(this.lexer),St={yy:{}};for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yt)&&(St.yy[yt]=this.yy[yt]);bt.setInput(fe,St.yy),St.yy.lexer=bt,St.yy.parser=this,typeof bt.yylloc>"u"&&(bt.yylloc={});var Mt=bt.yylloc;he.push(Mt);var nn=bt.options&&bt.options.ranges;typeof St.yy.parseError=="function"?this.parseError=St.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dn(){var Mn;return Mn=we.pop()||bt.lex()||de,typeof Mn!="number"&&(Mn instanceof Array&&(we=Mn,Mn=we.pop()),Mn=ye.symbols_[Mn]||Mn),Mn}for(var vt,Lr,xt,Tt,wt={},At,He,Ze,Lt;;){if(Lr=re[re.length-1],this.defaultActions[Lr]?xt=this.defaultActions[Lr]:((vt===null||typeof vt>"u")&&(vt=dn()),xt=De[Lr]&&De[Lr][vt]),typeof xt>"u"||!xt.length||!xt[0]){var Ve="";Lt=[];for(At in De[Lr])this.terminals_[At]&&At>Ge&&Lt.push("'"+this.terminals_[At]+"'");bt.showPosition?Ve="Parse error on line "+(Re+1)+`:
-`+bt.showPosition()+`
-Expecting `+Lt.join(", ")+", got '"+(this.terminals_[vt]||vt)+"'":Ve="Parse error on line "+(Re+1)+": Unexpected "+(vt==de?"end of input":"'"+(this.terminals_[vt]||vt)+"'"),this.parseError(Ve,{text:bt.match,token:this.terminals_[vt]||vt,line:bt.yylineno,loc:Mt,expected:Lt})}if(xt[0]instanceof Array&&xt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Lr+", token: "+vt);switch(xt[0]){case 1:re.push(vt),ke.push(bt.yytext),he.push(bt.yylloc),re.push(xt[1]),vt=null,pe=bt.yyleng,X=bt.yytext,Re=bt.yylineno,Mt=bt.yylloc;break;case 2:if(He=this.productions_[xt[1]][1],wt.$=ke[ke.length-He],wt._$={first_line:he[he.length-(He||1)].first_line,last_line:he[he.length-1].last_line,first_column:he[he.length-(He||1)].first_column,last_column:he[he.length-1].last_column},nn&&(wt._$.range=[he[he.length-(He||1)].range[0],he[he.length-1].range[1]]),Tt=this.performAction.apply(wt,[X,pe,Re,St.yy,xt[1],ke,he].concat(ct)),typeof Tt<"u")return Tt;He&&(re=re.slice(0,-1*He*2),ke=ke.slice(0,-1*He),he=he.slice(0,-1*He)),re.push(this.productions_[xt[1]][0]),ke.push(wt.$),he.push(wt._$),Ze=De[re[re.length-2]][re[re.length-1]],re.push(Ze);break;case 3:return!0}}return!0}},xe=function(){var Me={EOF:1,parseError:function(ye,re){if(this.yy.parser)this.yy.parser.parseError(ye,re);else throw new Error(ye)},setInput:function(fe,ye){return this.yy=ye||this.yy||{},this._input=fe,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 fe=this._input[0];this.yytext+=fe,this.yyleng++,this.offset++,this.match+=fe,this.matched+=fe;var ye=fe.match(/(?:\r\n?|\n).*/g);return ye?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),fe},unput:function(fe){var ye=fe.length,re=fe.split(/(?:\r\n?|\n)/g);this._input=fe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ye),this.offset-=ye;var we=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 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:re?(re.length===we.length?this.yylloc.first_column:0)+we[we.length-re.length].length-re[0].length:this.yylloc.first_column-ye},this.options.ranges&&(this.yylloc.range=[ke[0],ke[0]+this.yyleng-ye]),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(fe){this.unput(this.match.slice(fe))},pastInput:function(){var fe=this.matched.substr(0,this.matched.length-this.match.length);return(fe.length>20?"...":"")+fe.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var fe=this.match;return fe.length<20&&(fe+=this._input.substr(0,20-fe.length)),(fe.substr(0,20)+(fe.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var fe=this.pastInput(),ye=new Array(fe.length+1).join("-");return fe+this.upcomingInput()+`
-`+ye+"^"},test_match:function(fe,ye){var re,we,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))),we=fe[0].match(/(?:\r\n?|\n).*/g),we&&(this.yylineno+=we.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:we?we[we.length-1].length-we[we.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+fe[0].length},this.yytext+=fe[0],this.match+=fe[0],this.matches=fe,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(fe[0].length),this.matched+=fe[0],re=this.performAction.call(this,this.yy,this,ye,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),re)return re;if(this._backtrack){for(var he in ke)this[he]=ke[he];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var fe,ye,re,we;this._more||(this.yytext="",this.match="");for(var ke=this._currentRules(),he=0;he<ke.length;he++)if(re=this._input.match(this.rules[ke[he]]),re&&(!ye||re[0].length>ye[0].length)){if(ye=re,we=he,this.options.backtrack_lexer){if(fe=this.test_match(re,ke[he]),fe!==!1)return fe;if(this._backtrack){ye=!1;continue}else return!1}else if(!this.options.flex)break}return ye?(fe=this.test_match(ye,ke[we]),fe!==!1?fe:!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 ye=this.next();return ye||this.lex()},begin:function(ye){this.conditionStack.push(ye)},popState:function(){var ye=this.conditionStack.length-1;return ye>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(ye){return ye=this.conditionStack.length-1-Math.abs(ye||0),ye>=0?this.conditionStack[ye]:"INITIAL"},pushState:function(ye){this.begin(ye)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ye,re,we,ke){switch(we){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:break;case 6:break;case 7:return 26;case 8:break;case 9:break;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 20:this.popState();break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};return Me}();be.lexer=xe;function Ee(){this.yy={}}return Ee.prototype=be,be.Parser=Ee,new Ee}();k0e.parser=k0e;const hRt=k0e,fRt=s=>s.match(/^\s*pie/)!==null||s.match(/^\s*bar/)!==null;let rW={},x0e=!1;const dRt={parseDirective:function(s,o,f){Fl.parseDirective(this,s,o,f)},getConfig:()=>Pt().pie,addSection:function(s,o){s=xa.sanitizeText(s,Pt()),rW[s]===void 0&&(rW[s]=o,je.debug("Added new section :",s))},getSections:()=>rW,cleanupValue:function(s){return s.substring(0,1)===":"&&(s=s.substring(1).trim()),Number(s.trim())},clear:function(){rW={},x0e=!1,tp()},setAccTitle:np,getAccTitle:C2,setDiagramTitle:Kw,getDiagramTitle:Ww,setShowData:function(s){x0e=s},getShowData:function(){return x0e},getAccDescription:A2,setAccDescription:S2};let C5=Pt(),S5;const oP=450,gRt={draw:(s,o,f,p)=>{try{C5=Pt(),je.debug(`Rendering info diagram
-`+s);const ce=Pt().securityLevel;let be;ce==="sandbox"&&(be=sr("#i"+o));const xe=sr(ce==="sandbox"?be.nodes()[0].contentDocument.body:"body"),Ee=ce==="sandbox"?be.nodes()[0].contentDocument:document;p.db.clear(),p.parser.parse(s),je.debug("Parsed info diagram");const Me=Ee.getElementById(o);S5=Me.parentElement.offsetWidth,S5===void 0&&(S5=1200),C5.useWidth!==void 0&&(S5=C5.useWidth),C5.pie.useWidth!==void 0&&(S5=C5.pie.useWidth);const fe=xe.select("#"+o);Uw(fe,oP,S5,C5.pie.useMaxWidth),Me.setAttribute("viewBox","0 0 "+S5+" "+oP);var w=40,k=18,b=4,_=Math.min(S5,oP)/2-w,A=fe.append("g").attr("transform","translate("+S5/2+","+oP/2+")"),N=p.db.getSections(),B=0;Object.keys(N).forEach(function(re){B+=N[re]});const ye=C5.themeVariables;var F=[ye.pie1,ye.pie2,ye.pie3,ye.pie4,ye.pie5,ye.pie6,ye.pie7,ye.pie8,ye.pie9,ye.pie10,ye.pie11,ye.pie12],H=ZLe().range(F),j=Object.entries(N).map(function(re,we){return{order:we,name:re[0],value:re[1]}}),V=n7t().value(function(re){return re.value}).sort(function(re,we){return re.order-we.order}),Z=V(j),ae=gN().innerRadius(0).outerRadius(_);A.selectAll("mySlices").data(Z).enter().append("path").attr("d",ae).attr("fill",function(re){return H(re.data.name)}).attr("class","pieCircle"),A.selectAll("mySlices").data(Z).enter().append("text").text(function(re){return(re.data.value/B*100).toFixed(0)+"%"}).attr("transform",function(re){return"translate("+ae.centroid(re)+")"}).style("text-anchor","middle").attr("class","slice"),A.append("text").text(p.db.getDiagramTitle()).attr("x",0).attr("y",-(oP-50)/2).attr("class","pieTitleText");var le=A.selectAll(".legend").data(H.domain()).enter().append("g").attr("class","legend").attr("transform",function(re,we){const ke=k+b,he=ke*H.domain().length/2,De=12*k,X=we*ke-he;return"translate("+De+","+X+")"});le.append("rect").attr("width",k).attr("height",k).style("fill",H).style("stroke",H),le.data(Z).append("text").attr("x",k+b).attr("y",k-b).text(function(re){return p.db.getShowData()||C5.showData||C5.pie.showData?re.data.name+" ["+re.data.value+"]":re.data.name})}catch(ce){je.error("Error while rendering info diagram"),je.error(ce)}}};var E0e=function(){var s=function(Lr,xt,Tt,wt){for(Tt=Tt||{},wt=Lr.length;wt--;Tt[Lr[wt]]=xt);return Tt},o=[1,3],f=[1,5],p=[1,6],w=[1,7],k=[1,8],b=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],_=[1,22],A=[2,13],N=[1,26],B=[1,27],F=[1,28],H=[1,29],j=[1,30],V=[1,31],Z=[1,24],ae=[1,32],le=[1,33],ce=[1,36],be=[71,72],xe=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],Ee=[1,56],Me=[1,57],fe=[1,58],ye=[1,59],re=[1,60],we=[1,61],ke=[1,62],he=[62,63],De=[1,74],X=[1,70],Re=[1,71],pe=[1,72],Ge=[1,73],de=[1,75],ct=[1,79],bt=[1,80],St=[1,77],yt=[1,78],Mt=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],nn={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",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",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(xt,Tt,wt,At,He,Ze,Lt){var Ve=Ze.length-1;switch(He){case 6:this.$=Ze[Ve].trim(),At.setAccTitle(this.$);break;case 7:case 8:this.$=Ze[Ve].trim(),At.setAccDescription(this.$);break;case 9:At.parseDirective("%%{","open_directive");break;case 10:At.parseDirective(Ze[Ve],"type_directive");break;case 11:Ze[Ve]=Ze[Ve].trim().replace(/'/g,'"'),At.parseDirective(Ze[Ve],"arg_directive");break;case 12:At.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:At.addRequirement(Ze[Ve-3],Ze[Ve-4]);break;case 20:At.setNewReqId(Ze[Ve-2]);break;case 21:At.setNewReqText(Ze[Ve-2]);break;case 22:At.setNewReqRisk(Ze[Ve-2]);break;case 23:At.setNewReqVerifyMethod(Ze[Ve-2]);break;case 26:this.$=At.RequirementType.REQUIREMENT;break;case 27:this.$=At.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=At.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=At.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=At.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=At.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=At.RiskLevel.LOW_RISK;break;case 33:this.$=At.RiskLevel.MED_RISK;break;case 34:this.$=At.RiskLevel.HIGH_RISK;break;case 35:this.$=At.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=At.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=At.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=At.VerifyType.VERIFY_TEST;break;case 39:At.addElement(Ze[Ve-3]);break;case 40:At.setNewElementType(Ze[Ve-2]);break;case 41:At.setNewElementDocRef(Ze[Ve-2]);break;case 44:At.addRelationship(Ze[Ve-2],Ze[Ve],Ze[Ve-4]);break;case 45:At.addRelationship(Ze[Ve-2],Ze[Ve-4],Ze[Ve]);break;case 46:this.$=At.Relationships.CONTAINS;break;case 47:this.$=At.Relationships.COPIES;break;case 48:this.$=At.Relationships.DERIVES;break;case 49:this.$=At.Relationships.SATISFIES;break;case 50:this.$=At.Relationships.VERIFIES;break;case 51:this.$=At.Relationships.REFINES;break;case 52:this.$=At.Relationships.TRACES;break}},table:[{3:1,4:2,6:o,9:4,14:f,16:p,18:w,19:k},{1:[3]},{3:10,4:2,5:[1,9],6:o,9:4,14:f,16:p,18:w,19:k},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},s(b,[2,8]),{20:[2,9]},{3:16,4:2,6:o,9:4,14:f,16:p,18:w,19:k},{1:[2,2]},{4:21,5:_,7:17,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{11:34,12:[1,35],22:ce},s([12,22],[2,10]),s(b,[2,6]),s(b,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:_,7:38,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{4:21,5:_,7:39,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{4:21,5:_,7:40,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{4:21,5:_,7:41,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{4:21,5:_,7:42,8:A,9:4,14:f,16:p,18:w,19:k,23:18,24:19,25:20,26:23,32:25,40:N,41:B,42:F,43:H,44:j,45:V,53:Z,71:ae,72:le},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},s(be,[2,26]),s(be,[2,27]),s(be,[2,28]),s(be,[2,29]),s(be,[2,30]),s(be,[2,31]),s(xe,[2,55]),s(xe,[2,56]),s(b,[2,4]),{13:51,21:[1,52]},s(b,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:Ee,65:Me,66:fe,67:ye,68:re,69:we,70:ke},{61:63,64:Ee,65:Me,66:fe,67:ye,68:re,69:we,70:ke},{11:64,22:ce},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},s(he,[2,46]),s(he,[2,47]),s(he,[2,48]),s(he,[2,49]),s(he,[2,50]),s(he,[2,51]),s(he,[2,52]),{63:[1,68]},s(b,[2,5]),{5:De,29:69,30:X,33:Re,35:pe,37:Ge,39:de},{5:ct,39:bt,55:76,56:St,58:yt},{32:81,71:ae,72:le},{32:82,71:ae,72:le},s(Mt,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:De,29:87,30:X,33:Re,35:pe,37:Ge,39:de},s(Mt,[2,25]),s(Mt,[2,39]),{31:[1,88]},{31:[1,89]},{5:ct,39:bt,55:90,56:St,58:yt},s(Mt,[2,43]),s(Mt,[2,44]),s(Mt,[2,45]),{32:91,71:ae,72:le},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},s(Mt,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},s(Mt,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:De,29:116,30:X,33:Re,35:pe,37:Ge,39:de},{5:De,29:117,30:X,33:Re,35:pe,37:Ge,39:de},{5:De,29:118,30:X,33:Re,35:pe,37:Ge,39:de},{5:De,29:119,30:X,33:Re,35:pe,37:Ge,39:de},{5:ct,39:bt,55:120,56:St,58:yt},{5:ct,39:bt,55:121,56:St,58:yt},s(Mt,[2,20]),s(Mt,[2,21]),s(Mt,[2,22]),s(Mt,[2,23]),s(Mt,[2,40]),s(Mt,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(xt,Tt){if(Tt.recoverable)this.trace(xt);else{var wt=new Error(xt);throw wt.hash=Tt,wt}},parse:function(xt){var Tt=this,wt=[0],At=[],He=[null],Ze=[],Lt=this.table,Ve="",Mn=0,Oe=0,Di=2,rn=1,pi=Ze.slice.call(arguments,1),Fr=Object.create(this.lexer),tr={yy:{}};for(var Wn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wn)&&(tr.yy[Wn]=this.yy[Wn]);Fr.setInput(xt,tr.yy),tr.yy.lexer=Fr,tr.yy.parser=this,typeof Fr.yylloc>"u"&&(Fr.yylloc={});var er=Fr.yylloc;Ze.push(er);var Fn=Fr.options&&Fr.options.ranges;typeof tr.yy.parseError=="function"?this.parseError=tr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nr(){var wr;return wr=At.pop()||Fr.lex()||rn,typeof wr!="number"&&(wr instanceof Array&&(At=wr,wr=At.pop()),wr=Tt.symbols_[wr]||wr),wr}for(var ha,fa,is,Xi,da={},Cc,na,Ji,Fi;;){if(fa=wt[wt.length-1],this.defaultActions[fa]?is=this.defaultActions[fa]:((ha===null||typeof ha>"u")&&(ha=nr()),is=Lt[fa]&&Lt[fa][ha]),typeof is>"u"||!is.length||!is[0]){var vr="";Fi=[];for(Cc in Lt[fa])this.terminals_[Cc]&&Cc>Di&&Fi.push("'"+this.terminals_[Cc]+"'");Fr.showPosition?vr="Parse error on line "+(Mn+1)+`:
-`+Fr.showPosition()+`
-Expecting `+Fi.join(", ")+", got '"+(this.terminals_[ha]||ha)+"'":vr="Parse error on line "+(Mn+1)+": Unexpected "+(ha==rn?"end of input":"'"+(this.terminals_[ha]||ha)+"'"),this.parseError(vr,{text:Fr.match,token:this.terminals_[ha]||ha,line:Fr.yylineno,loc:er,expected:Fi})}if(is[0]instanceof Array&&is.length>1)throw new Error("Parse Error: multiple actions possible at state: "+fa+", token: "+ha);switch(is[0]){case 1:wt.push(ha),He.push(Fr.yytext),Ze.push(Fr.yylloc),wt.push(is[1]),ha=null,Oe=Fr.yyleng,Ve=Fr.yytext,Mn=Fr.yylineno,er=Fr.yylloc;break;case 2:if(na=this.productions_[is[1]][1],da.$=He[He.length-na],da._$={first_line:Ze[Ze.length-(na||1)].first_line,last_line:Ze[Ze.length-1].last_line,first_column:Ze[Ze.length-(na||1)].first_column,last_column:Ze[Ze.length-1].last_column},Fn&&(da._$.range=[Ze[Ze.length-(na||1)].range[0],Ze[Ze.length-1].range[1]]),Xi=this.performAction.apply(da,[Ve,Oe,Mn,tr.yy,is[1],He,Ze].concat(pi)),typeof Xi<"u")return Xi;na&&(wt=wt.slice(0,-1*na*2),He=He.slice(0,-1*na),Ze=Ze.slice(0,-1*na)),wt.push(this.productions_[is[1]][0]),He.push(da.$),Ze.push(da._$),Ji=Lt[wt[wt.length-2]][wt[wt.length-1]],wt.push(Ji);break;case 3:return!0}}return!0}},dn=function(){var Lr={EOF:1,parseError:function(Tt,wt){if(this.yy.parser)this.yy.parser.parseError(Tt,wt);else throw new Error(Tt)},setInput:function(xt,Tt){return this.yy=Tt||this.yy||{},this._input=xt,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 xt=this._input[0];this.yytext+=xt,this.yyleng++,this.offset++,this.match+=xt,this.matched+=xt;var Tt=xt.match(/(?:\r\n?|\n).*/g);return Tt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xt},unput:function(xt){var Tt=xt.length,wt=xt.split(/(?:\r\n?|\n)/g);this._input=xt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Tt),this.offset-=Tt;var At=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 He=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===At.length?this.yylloc.first_column:0)+At[At.length-wt.length].length-wt[0].length:this.yylloc.first_column-Tt},this.options.ranges&&(this.yylloc.range=[He[0],He[0]+this.yyleng-Tt]),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(xt){this.unput(this.match.slice(xt))},pastInput:function(){var xt=this.matched.substr(0,this.matched.length-this.match.length);return(xt.length>20?"...":"")+xt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var xt=this.match;return xt.length<20&&(xt+=this._input.substr(0,20-xt.length)),(xt.substr(0,20)+(xt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var xt=this.pastInput(),Tt=new Array(xt.length+1).join("-");return xt+this.upcomingInput()+`
-`+Tt+"^"},test_match:function(xt,Tt){var wt,At,He;if(this.options.backtrack_lexer&&(He={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&&(He.yylloc.range=this.yylloc.range.slice(0))),At=xt[0].match(/(?:\r\n?|\n).*/g),At&&(this.yylineno+=At.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:At?At[At.length-1].length-At[At.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+xt[0].length},this.yytext+=xt[0],this.match+=xt[0],this.matches=xt,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(xt[0].length),this.matched+=xt[0],wt=this.performAction.call(this,this.yy,this,Tt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),wt)return wt;if(this._backtrack){for(var Ze in He)this[Ze]=He[Ze];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var xt,Tt,wt,At;this._more||(this.yytext="",this.match="");for(var He=this._currentRules(),Ze=0;Ze<He.length;Ze++)if(wt=this._input.match(this.rules[He[Ze]]),wt&&(!Tt||wt[0].length>Tt[0].length)){if(Tt=wt,At=Ze,this.options.backtrack_lexer){if(xt=this.test_match(wt,He[Ze]),xt!==!1)return xt;if(this._backtrack){Tt=!1;continue}else return!1}else if(!this.options.flex)break}return Tt?(xt=this.test_match(Tt,He[At]),xt!==!1?xt:!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 Tt=this.next();return Tt||this.lex()},begin:function(Tt){this.conditionStack.push(Tt)},popState:function(){var Tt=this.conditionStack.length-1;return Tt>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(Tt){return Tt=this.conditionStack.length-1-Math.abs(Tt||0),Tt>=0?this.conditionStack[Tt]:"INITIAL"},pushState:function(Tt){this.begin(Tt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Tt,wt,At,He){switch(At){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;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 5;case 14:break;case 15:break;case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 53:this.popState();break;case 54:return"qString";case 55:return wt.yytext=wt.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:(\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,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,55],inclusive:!0}}};return Lr}();nn.lexer=dn;function vt(){this.yy={}}return vt.prototype=nn,nn.Parser=vt,new vt}();E0e.parser=E0e;const pRt=E0e,bRt=s=>s.match(/^\s*requirement(Diagram)?/)!==null;let T0e=[],sp={},cP={},n8={},uP={};const vRt={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"},parseDirective:function(s,o,f){Fl.parseDirective(this,s,o,f)},getConfig:()=>Pt().req,addRequirement:(s,o)=>(cP[s]===void 0&&(cP[s]={name:s,type:o,id:sp.id,text:sp.text,risk:sp.risk,verifyMethod:sp.verifyMethod}),sp={},cP[s]),getRequirements:()=>cP,setNewReqId:s=>{sp!==void 0&&(sp.id=s)},setNewReqText:s=>{sp!==void 0&&(sp.text=s)},setNewReqRisk:s=>{sp!==void 0&&(sp.risk=s)},setNewReqVerifyMethod:s=>{sp!==void 0&&(sp.verifyMethod=s)},setAccTitle:np,getAccTitle:C2,setAccDescription:S2,getAccDescription:A2,addElement:s=>(uP[s]===void 0&&(uP[s]={name:s,type:n8.type,docRef:n8.docRef},je.info("Added new requirement: ",s)),n8={},uP[s]),getElements:()=>uP,setNewElementType:s=>{n8!==void 0&&(n8.type=s)},setNewElementDocRef:s=>{n8!==void 0&&(n8.docRef=s)},addRelationship:(s,o,f)=>{T0e.push({type:s,src:o,dst:f})},getRelationships:()=>T0e,clear:()=>{T0e=[],sp={},cP={},n8={},uP={},tp()}},_0e={CONTAINS:"contains",ARROW:"arrow"},pBe={ReqMarkers:_0e,insertLineEndings:(s,o)=>{let f=s.append("defs").append("marker").attr("id",_0e.CONTAINS+"_line_ending").attr("refX",0).attr("refY",o.line_height/2).attr("markerWidth",o.line_height).attr("markerHeight",o.line_height).attr("orient","auto").append("g");f.append("circle").attr("cx",o.line_height/2).attr("cy",o.line_height/2).attr("r",o.line_height/2).attr("fill","none"),f.append("line").attr("x1",0).attr("x2",o.line_height).attr("y1",o.line_height/2).attr("y2",o.line_height/2).attr("stroke-width",1),f.append("line").attr("y1",0).attr("y2",o.line_height).attr("x1",o.line_height/2).attr("x2",o.line_height/2).attr("stroke-width",1),s.append("defs").append("marker").attr("id",_0e.ARROW+"_line_ending").attr("refX",o.line_height).attr("refY",.5*o.line_height).attr("markerWidth",o.line_height).attr("markerHeight",o.line_height).attr("orient","auto").append("path").attr("d",`M0,0
- L${o.line_height},${o.line_height/2}
- M${o.line_height},${o.line_height/2}
- L0,${o.line_height}`).attr("stroke-width",1)}};let Lh={},bBe=0;const vBe=(s,o)=>s.insert("rect","#"+o).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",Lh.rect_min_width+"px").attr("height",Lh.rect_min_height+"px"),wBe=(s,o,f)=>{let p=Lh.rect_min_width/2,w=s.append("text").attr("class","req reqLabel reqTitle").attr("id",o).attr("x",p).attr("y",Lh.rect_padding).attr("dominant-baseline","hanging"),k=0;f.forEach(N=>{k==0?w.append("tspan").attr("text-anchor","middle").attr("x",Lh.rect_min_width/2).attr("dy",0).text(N):w.append("tspan").attr("text-anchor","middle").attr("x",Lh.rect_min_width/2).attr("dy",Lh.line_height*.75).text(N),k++});let b=1.5*Lh.rect_padding,_=k*Lh.line_height*.75,A=b+_;return s.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",Lh.rect_min_width).attr("y1",A).attr("y2",A),{titleNode:w,y:A}},mBe=(s,o,f,p)=>{let w=s.append("text").attr("class","req reqLabel").attr("id",o).attr("x",Lh.rect_padding).attr("y",p).attr("dominant-baseline","hanging"),k=0;const b=30;let _=[];return f.forEach(A=>{let N=A.length;for(;N>b&&k<3;){let B=A.substring(0,b);A=A.substring(b,A.length),N=A.length,_[_.length]=B,k++}if(k==3){let B=_[_.length-1];_[_.length-1]=B.substring(0,B.length-4)+"..."}else _[_.length]=A;k=0}),_.forEach(A=>{w.append("tspan").attr("x",Lh.rect_padding).attr("dy",Lh.line_height).text(A)}),w},wRt=(s,o,f,p)=>{const w=o.node().getTotalLength(),k=o.node().getPointAtLength(w*.5),b="rel"+bBe;bBe++;const A=s.append("text").attr("class","req relationshipLabel").attr("id",b).attr("x",k.x).attr("y",k.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(p).node().getBBox();s.insert("rect","#"+b).attr("class","req reqLabelBox").attr("x",k.x-A.width/2).attr("y",k.y-A.height/2).attr("width",A.width).attr("height",A.height).attr("fill","white").attr("fill-opacity","85%")},mRt=function(s,o,f,p,w){const k=f.edge(VA(o.src),VA(o.dst)),b=RE().x(function(A){return A.x}).y(function(A){return A.y}),_=s.insert("path","#"+p).attr("class","er relationshipLine").attr("d",b(k.points)).attr("fill","none");o.type==w.db.Relationships.CONTAINS?_.attr("marker-start","url("+xa.getUrl(Lh.arrowMarkerAbsolute)+"#"+o.type+"_line_ending)"):(_.attr("stroke-dasharray","10,7"),_.attr("marker-end","url("+xa.getUrl(Lh.arrowMarkerAbsolute)+"#"+pBe.ReqMarkers.ARROW+"_line_ending)")),wRt(s,_,Lh,`<<${o.type}>>`)},yRt=(s,o,f)=>{Object.keys(s).forEach(p=>{let w=s[p];p=VA(p),je.info("Added new requirement: ",p);const k=f.append("g").attr("id",p),b="req-"+p,_=vBe(k,b);let A=wBe(k,p+"_title",[`<<${w.type}>>`,`${w.name}`]);mBe(k,p+"_body",[`Id: ${w.id}`,`Text: ${w.text}`,`Risk: ${w.risk}`,`Verification: ${w.verifyMethod}`],A.y);const N=_.node().getBBox();o.setNode(p,{width:N.width,height:N.height,shape:"rect",id:p})})},kRt=(s,o,f)=>{Object.keys(s).forEach(p=>{let w=s[p];const k=VA(p),b=f.append("g").attr("id",k),_="element-"+k,A=vBe(b,_);let N=wBe(b,_+"_title",["<<Element>>",`${p}`]);mBe(b,_+"_body",[`Type: ${w.type||"Not Specified"}`,`Doc Ref: ${w.docRef||"None"}`],N.y);const B=A.node().getBBox();o.setNode(k,{width:B.width,height:B.height,shape:"rect",id:k})})},xRt=(s,o)=>(s.forEach(function(f){let p=VA(f.src),w=VA(f.dst);o.setEdge(p,w,{relationship:f})}),s),ERt=function(s,o){o.nodes().forEach(function(f){f!==void 0&&o.node(f)!==void 0&&(s.select("#"+f),s.select("#"+f).attr("transform","translate("+(o.node(f).x-o.node(f).width/2)+","+(o.node(f).y-o.node(f).height/2)+" )"))})},VA=s=>s.replace(/\s/g,"").replace(/\./g,"_"),TRt={draw:(s,o,f,p)=>{Lh=Pt().requirement,p.db.clear(),p.parser.parse(s);const w=Lh.securityLevel;let k;w==="sandbox"&&(k=sr("#i"+o));const _=sr(w==="sandbox"?k.nodes()[0].contentDocument.body:"body").select(`[id='${o}']`);pBe.insertLineEndings(_,Lh);const A=new Hf({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:Lh.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let N=p.db.getRequirements(),B=p.db.getElements(),F=p.db.getRelationships();yRt(N,A,_),kRt(B,A,_),xRt(F,A),jA(A),ERt(_,A),F.forEach(function(ae){mRt(_,ae,A,o,p)});const H=Lh.rect_padding,j=_.node().getBBox(),V=j.width+H*2,Z=j.height+H*2;Uw(_,Z,V,Lh.useMaxWidth),_.attr("viewBox",`${j.x-H} ${j.y-H} ${V} ${Z}`)}};var C0e=function(){var s=function(Tt,wt,At,He){for(At=At||{},He=Tt.length;He--;At[Tt[He]]=wt);return At},o=[1,2],f=[1,3],p=[1,5],w=[1,7],k=[2,5],b=[1,15],_=[1,17],A=[1,19],N=[1,21],B=[1,22],F=[1,23],H=[1,29],j=[1,30],V=[1,31],Z=[1,32],ae=[1,33],le=[1,34],ce=[1,35],be=[1,36],xe=[1,37],Ee=[1,38],Me=[1,39],fe=[1,40],ye=[1,42],re=[1,43],we=[1,45],ke=[1,46],he=[1,47],De=[1,48],X=[1,49],Re=[1,50],pe=[1,53],Ge=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],de=[4,5,21,54,56],ct=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],bt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],St=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],yt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],Mt=[71,72,73],nn=[1,125],dn=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],vt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(wt,At,He,Ze,Lt,Ve,Mn){var Oe=Ve.length-1;switch(Lt){case 4:return Ze.apply(Ve[Oe]),Ve[Oe];case 5:case 10:this.$=[];break;case 6:case 11:Ve[Oe-1].push(Ve[Oe]),this.$=Ve[Oe-1];break;case 7:case 8:case 12:case 13:this.$=Ve[Oe];break;case 9:case 14:this.$=[];break;case 18:Ve[Oe-1].unshift({type:"boxStart",boxData:Ze.parseBoxData(Ve[Oe-2])}),Ve[Oe-1].push({type:"boxEnd",boxText:Ve[Oe-2]}),this.$=Ve[Oe-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(Ve[Oe-2]),sequenceIndexStep:Number(Ve[Oe-1]),sequenceVisible:!0,signalType:Ze.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(Ve[Oe-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:Ze.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:Ze.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:Ze.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:Ze.LINETYPE.ACTIVE_START,actor:Ve[Oe-1]};break;case 25:this.$={type:"activeEnd",signalType:Ze.LINETYPE.ACTIVE_END,actor:Ve[Oe-1]};break;case 31:Ze.setDiagramTitle(Ve[Oe].substring(6)),this.$=Ve[Oe].substring(6);break;case 32:Ze.setDiagramTitle(Ve[Oe].substring(7)),this.$=Ve[Oe].substring(7);break;case 33:this.$=Ve[Oe].trim(),Ze.setAccTitle(this.$);break;case 34:case 35:this.$=Ve[Oe].trim(),Ze.setAccDescription(this.$);break;case 36:Ve[Oe-1].unshift({type:"loopStart",loopText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.LOOP_START}),Ve[Oe-1].push({type:"loopEnd",loopText:Ve[Oe-2],signalType:Ze.LINETYPE.LOOP_END}),this.$=Ve[Oe-1];break;case 37:Ve[Oe-1].unshift({type:"rectStart",color:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.RECT_START}),Ve[Oe-1].push({type:"rectEnd",color:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.RECT_END}),this.$=Ve[Oe-1];break;case 38:Ve[Oe-1].unshift({type:"optStart",optText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.OPT_START}),Ve[Oe-1].push({type:"optEnd",optText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.OPT_END}),this.$=Ve[Oe-1];break;case 39:Ve[Oe-1].unshift({type:"altStart",altText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.ALT_START}),Ve[Oe-1].push({type:"altEnd",signalType:Ze.LINETYPE.ALT_END}),this.$=Ve[Oe-1];break;case 40:Ve[Oe-1].unshift({type:"parStart",parText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.PAR_START}),Ve[Oe-1].push({type:"parEnd",signalType:Ze.LINETYPE.PAR_END}),this.$=Ve[Oe-1];break;case 41:Ve[Oe-1].unshift({type:"criticalStart",criticalText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.CRITICAL_START}),Ve[Oe-1].push({type:"criticalEnd",signalType:Ze.LINETYPE.CRITICAL_END}),this.$=Ve[Oe-1];break;case 42:Ve[Oe-1].unshift({type:"breakStart",breakText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.BREAK_START}),Ve[Oe-1].push({type:"breakEnd",optText:Ze.parseMessage(Ve[Oe-2]),signalType:Ze.LINETYPE.BREAK_END}),this.$=Ve[Oe-1];break;case 45:this.$=Ve[Oe-3].concat([{type:"option",optionText:Ze.parseMessage(Ve[Oe-1]),signalType:Ze.LINETYPE.CRITICAL_OPTION},Ve[Oe]]);break;case 47:this.$=Ve[Oe-3].concat([{type:"and",parText:Ze.parseMessage(Ve[Oe-1]),signalType:Ze.LINETYPE.PAR_AND},Ve[Oe]]);break;case 49:this.$=Ve[Oe-3].concat([{type:"else",altText:Ze.parseMessage(Ve[Oe-1]),signalType:Ze.LINETYPE.ALT_ELSE},Ve[Oe]]);break;case 50:Ve[Oe-3].type="addParticipant",Ve[Oe-3].description=Ze.parseMessage(Ve[Oe-1]),this.$=Ve[Oe-3];break;case 51:Ve[Oe-1].type="addParticipant",this.$=Ve[Oe-1];break;case 52:Ve[Oe-3].type="addActor",Ve[Oe-3].description=Ze.parseMessage(Ve[Oe-1]),this.$=Ve[Oe-3];break;case 53:Ve[Oe-1].type="addActor",this.$=Ve[Oe-1];break;case 54:this.$=[Ve[Oe-1],{type:"addNote",placement:Ve[Oe-2],actor:Ve[Oe-1].actor,text:Ve[Oe]}];break;case 55:Ve[Oe-2]=[].concat(Ve[Oe-1],Ve[Oe-1]).slice(0,2),Ve[Oe-2][0]=Ve[Oe-2][0].actor,Ve[Oe-2][1]=Ve[Oe-2][1].actor,this.$=[Ve[Oe-1],{type:"addNote",placement:Ze.PLACEMENT.OVER,actor:Ve[Oe-2].slice(0,2),text:Ve[Oe]}];break;case 56:this.$=[Ve[Oe-1],{type:"addLinks",actor:Ve[Oe-1].actor,text:Ve[Oe]}];break;case 57:this.$=[Ve[Oe-1],{type:"addALink",actor:Ve[Oe-1].actor,text:Ve[Oe]}];break;case 58:this.$=[Ve[Oe-1],{type:"addProperties",actor:Ve[Oe-1].actor,text:Ve[Oe]}];break;case 59:this.$=[Ve[Oe-1],{type:"addDetails",actor:Ve[Oe-1].actor,text:Ve[Oe]}];break;case 62:this.$=[Ve[Oe-2],Ve[Oe]];break;case 63:this.$=Ve[Oe];break;case 64:this.$=Ze.PLACEMENT.LEFTOF;break;case 65:this.$=Ze.PLACEMENT.RIGHTOF;break;case 66:this.$=[Ve[Oe-4],Ve[Oe-1],{type:"addMessage",from:Ve[Oe-4].actor,to:Ve[Oe-1].actor,signalType:Ve[Oe-3],msg:Ve[Oe]},{type:"activeStart",signalType:Ze.LINETYPE.ACTIVE_START,actor:Ve[Oe-1]}];break;case 67:this.$=[Ve[Oe-4],Ve[Oe-1],{type:"addMessage",from:Ve[Oe-4].actor,to:Ve[Oe-1].actor,signalType:Ve[Oe-3],msg:Ve[Oe]},{type:"activeEnd",signalType:Ze.LINETYPE.ACTIVE_END,actor:Ve[Oe-4]}];break;case 68:this.$=[Ve[Oe-3],Ve[Oe-1],{type:"addMessage",from:Ve[Oe-3].actor,to:Ve[Oe-1].actor,signalType:Ve[Oe-2],msg:Ve[Oe]}];break;case 69:this.$={type:"addParticipant",actor:Ve[Oe]};break;case 70:this.$=Ze.LINETYPE.SOLID_OPEN;break;case 71:this.$=Ze.LINETYPE.DOTTED_OPEN;break;case 72:this.$=Ze.LINETYPE.SOLID;break;case 73:this.$=Ze.LINETYPE.DOTTED;break;case 74:this.$=Ze.LINETYPE.SOLID_CROSS;break;case 75:this.$=Ze.LINETYPE.DOTTED_CROSS;break;case 76:this.$=Ze.LINETYPE.SOLID_POINT;break;case 77:this.$=Ze.LINETYPE.DOTTED_POINT;break;case 78:this.$=Ze.parseMessage(Ve[Oe].trim().substring(1));break;case 79:Ze.parseDirective("%%{","open_directive");break;case 80:Ze.parseDirective(Ve[Oe],"type_directive");break;case 81:Ve[Oe]=Ve[Oe].trim().replace(/'/g,'"'),Ze.parseDirective(Ve[Oe],"arg_directive");break;case 82:Ze.parseDirective("}%%","close_directive","sequence");break}},table:[{3:1,4:o,5:f,6:4,7:p,14:6,83:w},{1:[3]},{3:8,4:o,5:f,6:4,7:p,14:6,83:w},{3:9,4:o,5:f,6:4,7:p,14:6,83:w},{3:10,4:o,5:f,6:4,7:p,14:6,83:w},s([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],k,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{16:51,17:[1,52],86:pe},s([17,86],[2,80]),s(Ge,[2,6]),{6:41,10:54,13:18,14:6,19:A,22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},s(Ge,[2,8]),s(Ge,[2,9]),s(Ge,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:Re},{27:61,73:Re},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},s(Ge,[2,31]),s(Ge,[2,32]),{37:[1,67]},{39:[1,68]},s(Ge,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},s(Ge,[2,43]),{27:76,73:Re},{27:77,73:Re},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:Re},{27:92,73:Re},{27:93,73:Re},{27:94,73:Re},s([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},s(Ge,[2,7]),s(de,[2,10],{11:98}),s(Ge,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},s(Ge,[2,23]),{5:[1,102]},{5:[1,103]},s(Ge,[2,26]),s(Ge,[2,27]),s(Ge,[2,28]),s(Ge,[2,29]),s(Ge,[2,30]),s(Ge,[2,33]),s(Ge,[2,34]),s(ct,k,{8:104}),s(ct,k,{8:105}),s(ct,k,{8:106}),s(bt,k,{45:107,8:108}),s(St,k,{47:109,8:110}),s(yt,k,{49:111,8:112}),s(ct,k,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:Re},s(Mt,[2,70]),s(Mt,[2,71]),s(Mt,[2,72]),s(Mt,[2,73]),s(Mt,[2,74]),s(Mt,[2,75]),s(Mt,[2,76]),s(Mt,[2,77]),{27:121,73:Re},{27:123,61:122,73:Re},{73:[2,64]},{73:[2,65]},{59:124,82:nn},{59:126,82:nn},{59:127,82:nn},{59:128,82:nn},s(dn,[2,15]),{16:129,86:pe},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:ye,56:re},{5:[1,135]},s(Ge,[2,21]),s(Ge,[2,22]),s(Ge,[2,24]),s(Ge,[2,25]),{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[1,136],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[1,137],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[1,138],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{21:[1,139]},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[2,48],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,53:[1,140],54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{21:[1,141]},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[2,46],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,52:[1,142],54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{21:[1,143]},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[2,44],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,51:[1,144],54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{4:b,5:_,6:41,9:14,10:16,13:18,14:6,19:A,21:[1,145],22:20,23:N,26:B,27:44,28:F,29:24,30:25,31:26,32:27,33:28,34:H,35:j,36:V,38:Z,40:ae,41:le,42:ce,43:be,44:xe,46:Ee,48:Me,50:fe,54:ye,56:re,57:we,62:ke,63:he,64:De,65:X,73:Re,83:w},{20:[1,146]},s(Ge,[2,51]),{20:[1,147]},s(Ge,[2,53]),{27:148,73:Re},{27:149,73:Re},{59:150,82:nn},{59:151,82:nn},{59:152,82:nn},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},s(Ge,[2,18]),s(de,[2,11]),{13:155,54:ye,56:re},s(de,[2,13]),s(de,[2,14]),s(Ge,[2,20]),s(Ge,[2,36]),s(Ge,[2,37]),s(Ge,[2,38]),s(Ge,[2,39]),{20:[1,156]},s(Ge,[2,40]),{20:[1,157]},s(Ge,[2,41]),{20:[1,158]},s(Ge,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:nn},{59:162,82:nn},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:Re},s(dn,[2,16]),s(de,[2,12]),s(bt,k,{8:108,45:164}),s(St,k,{8:110,47:165}),s(yt,k,{8:112,49:166}),s(Ge,[2,50]),s(Ge,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(wt,At){if(At.recoverable)this.trace(wt);else{var He=new Error(wt);throw He.hash=At,He}},parse:function(wt){var At=this,He=[0],Ze=[],Lt=[null],Ve=[],Mn=this.table,Oe="",Di=0,rn=0,pi=2,Fr=1,tr=Ve.slice.call(arguments,1),Wn=Object.create(this.lexer),er={yy:{}};for(var Fn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fn)&&(er.yy[Fn]=this.yy[Fn]);Wn.setInput(wt,er.yy),er.yy.lexer=Wn,er.yy.parser=this,typeof Wn.yylloc>"u"&&(Wn.yylloc={});var nr=Wn.yylloc;Ve.push(nr);var ha=Wn.options&&Wn.options.ranges;typeof er.yy.parseError=="function"?this.parseError=er.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fa(){var Yn;return Yn=Ze.pop()||Wn.lex()||Fr,typeof Yn!="number"&&(Yn instanceof Array&&(Ze=Yn,Yn=Ze.pop()),Yn=At.symbols_[Yn]||Yn),Yn}for(var is,Xi,da,Cc,na={},Ji,Fi,vr,wr;;){if(Xi=He[He.length-1],this.defaultActions[Xi]?da=this.defaultActions[Xi]:((is===null||typeof is>"u")&&(is=fa()),da=Mn[Xi]&&Mn[Xi][is]),typeof da>"u"||!da.length||!da[0]){var ni="";wr=[];for(Ji in Mn[Xi])this.terminals_[Ji]&&Ji>pi&&wr.push("'"+this.terminals_[Ji]+"'");Wn.showPosition?ni="Parse error on line "+(Di+1)+`:
-`+Wn.showPosition()+`
-Expecting `+wr.join(", ")+", got '"+(this.terminals_[is]||is)+"'":ni="Parse error on line "+(Di+1)+": Unexpected "+(is==Fr?"end of input":"'"+(this.terminals_[is]||is)+"'"),this.parseError(ni,{text:Wn.match,token:this.terminals_[is]||is,line:Wn.yylineno,loc:nr,expected:wr})}if(da[0]instanceof Array&&da.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Xi+", token: "+is);switch(da[0]){case 1:He.push(is),Lt.push(Wn.yytext),Ve.push(Wn.yylloc),He.push(da[1]),is=null,rn=Wn.yyleng,Oe=Wn.yytext,Di=Wn.yylineno,nr=Wn.yylloc;break;case 2:if(Fi=this.productions_[da[1]][1],na.$=Lt[Lt.length-Fi],na._$={first_line:Ve[Ve.length-(Fi||1)].first_line,last_line:Ve[Ve.length-1].last_line,first_column:Ve[Ve.length-(Fi||1)].first_column,last_column:Ve[Ve.length-1].last_column},ha&&(na._$.range=[Ve[Ve.length-(Fi||1)].range[0],Ve[Ve.length-1].range[1]]),Cc=this.performAction.apply(na,[Oe,rn,Di,er.yy,da[1],Lt,Ve].concat(tr)),typeof Cc<"u")return Cc;Fi&&(He=He.slice(0,-1*Fi*2),Lt=Lt.slice(0,-1*Fi),Ve=Ve.slice(0,-1*Fi)),He.push(this.productions_[da[1]][0]),Lt.push(na.$),Ve.push(na._$),vr=Mn[He[He.length-2]][He[He.length-1]],He.push(vr);break;case 3:return!0}}return!0}},Lr=function(){var Tt={EOF:1,parseError:function(At,He){if(this.yy.parser)this.yy.parser.parseError(At,He);else throw new Error(At)},setInput:function(wt,At){return this.yy=At||this.yy||{},this._input=wt,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 wt=this._input[0];this.yytext+=wt,this.yyleng++,this.offset++,this.match+=wt,this.matched+=wt;var At=wt.match(/(?:\r\n?|\n).*/g);return At?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),wt},unput:function(wt){var At=wt.length,He=wt.split(/(?:\r\n?|\n)/g);this._input=wt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-At),this.offset-=At;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),He.length-1&&(this.yylineno-=He.length-1);var Lt=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:He?(He.length===Ze.length?this.yylloc.first_column:0)+Ze[Ze.length-He.length].length-He[0].length:this.yylloc.first_column-At},this.options.ranges&&(this.yylloc.range=[Lt[0],Lt[0]+this.yyleng-At]),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(wt){this.unput(this.match.slice(wt))},pastInput:function(){var wt=this.matched.substr(0,this.matched.length-this.match.length);return(wt.length>20?"...":"")+wt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var wt=this.match;return wt.length<20&&(wt+=this._input.substr(0,20-wt.length)),(wt.substr(0,20)+(wt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var wt=this.pastInput(),At=new Array(wt.length+1).join("-");return wt+this.upcomingInput()+`
-`+At+"^"},test_match:function(wt,At){var He,Ze,Lt;if(this.options.backtrack_lexer&&(Lt={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&&(Lt.yylloc.range=this.yylloc.range.slice(0))),Ze=wt[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+wt[0].length},this.yytext+=wt[0],this.match+=wt[0],this.matches=wt,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(wt[0].length),this.matched+=wt[0],He=this.performAction.call(this,this.yy,this,At,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),He)return He;if(this._backtrack){for(var Ve in Lt)this[Ve]=Lt[Ve];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var wt,At,He,Ze;this._more||(this.yytext="",this.match="");for(var Lt=this._currentRules(),Ve=0;Ve<Lt.length;Ve++)if(He=this._input.match(this.rules[Lt[Ve]]),He&&(!At||He[0].length>At[0].length)){if(At=He,Ze=Ve,this.options.backtrack_lexer){if(wt=this.test_match(He,Lt[Ve]),wt!==!1)return wt;if(this._backtrack){At=!1;continue}else return!1}else if(!this.options.flex)break}return At?(wt=this.test_match(At,Lt[Ze]),wt!==!1?wt:!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 At=this.next();return At||this.lex()},begin:function(At){this.conditionStack.push(At)},popState:function(){var At=this.conditionStack.length-1;return At>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(At){return At=this.conditionStack.length-1-Math.abs(At||0),At>=0?this.conditionStack[At]:"INITIAL"},pushState:function(At){this.begin(At)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(At,He,Ze,Lt){switch(Ze){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:return 5;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return He.yytext=He.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 53:return 5;case 54:return He.yytext=He.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 66:return 5;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\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,/^(?:[^\->:\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,/^(?: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:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};return Tt}();vt.lexer=Lr;function xt(){this.yy={}}return xt.prototype=vt,vt.Parser=xt,new xt}();C0e.parser=C0e;const _Rt=C0e,CRt=s=>s.match(/^\s*sequenceDiagram/)!==null;let lP,r8={},UA=[],tm=[],iW=!1,S0e,A5;const SRt=function(s,o,f){Fl.parseDirective(this,s,o,f)},ARt=function(s){UA.push({name:s.text,wrap:s.wrap===void 0&&a9()||!!s.wrap,fill:s.color,actorKeys:[]}),A5=UA.slice(-1)[0]},A0e=function(s,o,f,p){let w=A5;const k=r8[s];if(k){if(A5&&k.box&&A5!==k.box)throw new Error("A same participant should only be defined in one Box: "+k.name+" can't be in '"+k.box.name+"' and in '"+A5.name+"' at the same time.");if(w=k.box?k.box:A5,k.box=w,k&&o===k.name&&f==null)return}(f==null||f.text==null)&&(f={text:o,wrap:null,type:p}),(p==null||f.text==null)&&(f={text:o,wrap:null,type:p}),r8[s]={box:w,name:o,description:f.text,wrap:f.wrap===void 0&&a9()||!!f.wrap,prevActor:lP,links:{},properties:{},actorCnt:null,rectData:null,type:p||"participant"},lP&&r8[lP]&&(r8[lP].nextActor=s),A5&&A5.actorKeys.push(s),lP=s},LRt=s=>{let o,f=0;for(o=0;o<tm.length;o++)tm[o].type===fP.ACTIVE_START&&tm[o].from.actor===s&&f++,tm[o].type===fP.ACTIVE_END&&tm[o].from.actor===s&&f--;return f},MRt=function(s,o,f,p){tm.push({from:s,to:o,message:f.text,wrap:f.wrap===void 0&&a9()||!!f.wrap,answer:p})},uf=function(s,o,f={text:void 0,wrap:void 0},p){if(p===fP.ACTIVE_END&&LRt(s.actor)<1){let k=new Error("Trying to inactivate an inactive participant ("+s.actor+")");throw k.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},k}return tm.push({from:s,to:o,message:f.text,wrap:f.wrap===void 0&&a9()||!!f.wrap,type:p}),!0},DRt=function(){return UA.length>0},IRt=function(){return UA.some(s=>s.name)},ORt=function(){return tm},NRt=function(){return UA},PRt=function(){return r8},hP=function(s){return r8[s]},BRt=function(){return Object.keys(r8)},FRt=function(){iW=!0},RRt=function(){iW=!1},jRt=()=>iW,$Rt=function(s){S0e=s},a9=()=>S0e!==void 0?S0e:Pt().sequence.wrap,HRt=function(){r8={},UA=[],tm=[],iW=!1,tp()},zRt=function(s){const o=s.trim(),f={text:o.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:o.match(/^:?wrap:/)!==null?!0:o.match(/^:?nowrap:/)!==null?!1:void 0};return je.debug("parseMessage:",f),f},GRt=function(s){const o=s.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let f=o!=null&&o[1]?o[1].trim():"transparent",p=o!=null&&o[2]?o[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",f)||(f="transparent",p=s.trim());else{const k=new Option().style;k.color=f,k.color!==f&&(f="transparent",p=s.trim())}return{color:f,text:p!==void 0?T2(p.replace(/^:?(?:no)?wrap:/,""),Pt()):void 0,wrap:p!==void 0?p.match(/^:?wrap:/)!==null?!0:p.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},fP={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},qRt={FILLED:0,OPEN:1},VRt={LEFTOF:0,RIGHTOF:1,OVER:2},yBe=function(s,o,f){f.text,f.wrap===void 0&&a9()||f.wrap;const p=[].concat(s,s);tm.push({from:p[0],to:p[1],message:f.text,wrap:f.wrap===void 0&&a9()||!!f.wrap,type:fP.NOTE,placement:o})},kBe=function(s,o){const f=hP(s);try{let p=T2(o.text,Pt());p=p.replace(/&amp;/g,"&"),p=p.replace(/&equals;/g,"=");const w=JSON.parse(p);L0e(f,w)}catch(p){je.error("error while parsing actor link text",p)}},URt=function(s,o){const f=hP(s);try{const b={};let _=T2(o.text,Pt());var p=_.indexOf("@");_=_.replace(/&amp;/g,"&"),_=_.replace(/&equals;/g,"=");var w=_.slice(0,p-1).trim(),k=_.slice(p+1).trim();b[w]=k,L0e(f,b)}catch(b){je.error("error while parsing actor link text",b)}};function L0e(s,o){if(s.links==null)s.links=o;else for(let f in o)s.links[f]=o[f]}const xBe=function(s,o){const f=hP(s);try{let p=T2(o.text,Pt());const w=JSON.parse(p);EBe(f,w)}catch(p){je.error("error while parsing actor properties text",p)}};function EBe(s,o){if(s.properties==null)s.properties=o;else for(let f in o)s.properties[f]=o[f]}function KRt(){A5=void 0}const TBe=function(s,o){const f=hP(s),p=document.getElementById(o.text);try{const w=p.innerHTML,k=JSON.parse(w);k.properties&&EBe(f,k.properties),k.links&&L0e(f,k.links)}catch(w){je.error("error while parsing actor details text",w)}},WRt=function(s,o){if(s!==void 0&&s.properties!==void 0)return s.properties[o]},_Be=function(s){if(Array.isArray(s))s.forEach(function(o){_Be(o)});else switch(s.type){case"sequenceIndex":tm.push({from:void 0,to:void 0,message:{start:s.sequenceIndex,step:s.sequenceIndexStep,visible:s.sequenceVisible},wrap:!1,type:s.signalType});break;case"addParticipant":A0e(s.actor,s.actor,s.description,"participant");break;case"addActor":A0e(s.actor,s.actor,s.description,"actor");break;case"activeStart":uf(s.actor,void 0,void 0,s.signalType);break;case"activeEnd":uf(s.actor,void 0,void 0,s.signalType);break;case"addNote":yBe(s.actor,s.placement,s.text);break;case"addLinks":kBe(s.actor,s.text);break;case"addALink":URt(s.actor,s.text);break;case"addProperties":xBe(s.actor,s.text);break;case"addDetails":TBe(s.actor,s.text);break;case"addMessage":uf(s.from,s.to,s.msg,s.signalType);break;case"boxStart":ARt(s.boxData);break;case"boxEnd":KRt();break;case"loopStart":uf(void 0,void 0,s.loopText,s.signalType);break;case"loopEnd":uf(void 0,void 0,void 0,s.signalType);break;case"rectStart":uf(void 0,void 0,s.color,s.signalType);break;case"rectEnd":uf(void 0,void 0,void 0,s.signalType);break;case"optStart":uf(void 0,void 0,s.optText,s.signalType);break;case"optEnd":uf(void 0,void 0,void 0,s.signalType);break;case"altStart":uf(void 0,void 0,s.altText,s.signalType);break;case"else":uf(void 0,void 0,s.altText,s.signalType);break;case"altEnd":uf(void 0,void 0,void 0,s.signalType);break;case"setAccTitle":np(s.text);break;case"parStart":uf(void 0,void 0,s.parText,s.signalType);break;case"and":uf(void 0,void 0,s.parText,s.signalType);break;case"parEnd":uf(void 0,void 0,void 0,s.signalType);break;case"criticalStart":uf(void 0,void 0,s.criticalText,s.signalType);break;case"option":uf(void 0,void 0,s.optionText,s.signalType);break;case"criticalEnd":uf(void 0,void 0,void 0,s.signalType);break;case"breakStart":uf(void 0,void 0,s.breakText,s.signalType);break;case"breakEnd":uf(void 0,void 0,void 0,s.signalType);break}},CBe={addActor:A0e,addMessage:MRt,addSignal:uf,addLinks:kBe,addDetails:TBe,addProperties:xBe,autoWrap:a9,setWrap:$Rt,enableSequenceNumbers:FRt,disableSequenceNumbers:RRt,showSequenceNumbers:jRt,getMessages:ORt,getActors:PRt,getActor:hP,getActorKeys:BRt,getActorProperty:WRt,getAccTitle:C2,getBoxes:NRt,getDiagramTitle:Ww,setDiagramTitle:Kw,parseDirective:SRt,getConfig:()=>Pt().sequence,clear:HRt,parseMessage:zRt,parseBoxData:GRt,LINETYPE:fP,ARROWTYPE:qRt,PLACEMENT:VRt,addNote:yBe,setAccTitle:np,apply:_Be,setAccDescription:S2,getAccDescription:A2,hasAtLeastOneBox:DRt,hasAtLeastOneBoxWithTitle:IRt};let M0e=[];const YRt=s=>{M0e.push(s)},SBe=()=>{M0e.forEach(s=>{s()}),M0e=[]},sW=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},ABe=(s,o)=>{YRt(()=>{const f=document.querySelectorAll(s);f.length!==0&&(f[0].addEventListener("mouseover",function(){JRt("actor"+o+"_popup")}),f[0].addEventListener("mouseout",function(){ejt("actor"+o+"_popup")}))})},XRt=function(s,o,f,p,w){if(o.links===void 0||o.links===null||Object.keys(o.links).length===0)return{height:0,width:0};const k=o.links,b=o.actorCnt,_=o.rectData;var A="none";w&&(A="block !important");const N=s.append("g");N.attr("id","actor"+b+"_popup"),N.attr("class","actorPopupMenu"),N.attr("display",A),ABe("#actor"+b+"_popup",b);var B="";_.class!==void 0&&(B=" "+_.class);let F=_.width>f?_.width:f;const H=N.append("rect");if(H.attr("class","actorPopupMenuPanel"+B),H.attr("x",_.x),H.attr("y",_.height),H.attr("fill",_.fill),H.attr("stroke",_.stroke),H.attr("width",F),H.attr("height",_.height),H.attr("rx",_.rx),H.attr("ry",_.ry),k!=null){var j=20;for(let ae in k){var V=N.append("a"),Z=a5(k[ae]);V.attr("xlink:href",Z),V.attr("target","_blank"),pjt(p)(ae,V,_.x+10,_.height+j,F,20,{class:"actor"},p),j+=30}}return H.attr("height",j),{height:_.height+j,width:F}},LBe=function(s,o,f,p){const w=s.append("image");w.attr("x",o),w.attr("y",f);var k=a5(p);w.attr("xlink:href",k)},MBe=function(s,o,f,p){const w=s.append("use");w.attr("x",o),w.attr("y",f);var k=a5(p);w.attr("xlink:href","#"+k)},QRt=function(s){return"var pu = document.getElementById('"+s+"'); if (pu != null) { pu.style.display = 'block'; }"},ZRt=function(s){return"var pu = document.getElementById('"+s+"'); if (pu != null) { pu.style.display = 'none'; }"},JRt=function(s){var o=document.getElementById(s);o!=null&&(o.style.display="block")},ejt=function(s){var o=document.getElementById(s);o!=null&&(o.style.display="none")},KA=function(s,o){let f=0,p=0;const w=o.text.split(xa.lineBreakRegex),[k,b]=TN(o.fontSize);let _=[],A=0,N=()=>o.y;if(o.valign!==void 0&&o.textMargin!==void 0&&o.textMargin>0)switch(o.valign){case"top":case"start":N=()=>Math.round(o.y+o.textMargin);break;case"middle":case"center":N=()=>Math.round(o.y+(f+p+o.textMargin)/2);break;case"bottom":case"end":N=()=>Math.round(o.y+(f+p+2*o.textMargin)-o.textMargin);break}if(o.anchor!==void 0&&o.textMargin!==void 0&&o.width!==void 0)switch(o.anchor){case"left":case"start":o.x=Math.round(o.x+o.textMargin),o.anchor="start",o.dominantBaseline="middle",o.alignmentBaseline="middle";break;case"middle":case"center":o.x=Math.round(o.x+o.width/2),o.anchor="middle",o.dominantBaseline="middle",o.alignmentBaseline="middle";break;case"right":case"end":o.x=Math.round(o.x+o.width-o.textMargin),o.anchor="end",o.dominantBaseline="middle",o.alignmentBaseline="middle";break}for(let[B,F]of w.entries()){o.textMargin!==void 0&&o.textMargin===0&&k!==void 0&&(A=B*k);const H=s.append("text");if(H.attr("x",o.x),H.attr("y",N()),o.anchor!==void 0&&H.attr("text-anchor",o.anchor).attr("dominant-baseline",o.dominantBaseline).attr("alignment-baseline",o.alignmentBaseline),o.fontFamily!==void 0&&H.style("font-family",o.fontFamily),b!==void 0&&H.style("font-size",b),o.fontWeight!==void 0&&H.style("font-weight",o.fontWeight),o.fill!==void 0&&H.attr("fill",o.fill),o.class!==void 0&&H.attr("class",o.class),o.dy!==void 0?H.attr("dy",o.dy):A!==0&&H.attr("dy",A),o.tspan){const j=H.append("tspan");j.attr("x",o.x),o.fill!==void 0&&j.attr("fill",o.fill),j.text(F)}else H.text(F);o.valign!==void 0&&o.textMargin!==void 0&&o.textMargin>0&&(p+=(H._groups||H)[0][0].getBBox().height,f=p),_.push(H)}return _},DBe=function(s,o){function f(w,k,b,_,A){return w+","+k+" "+(w+b)+","+k+" "+(w+b)+","+(k+_-A)+" "+(w+b-A*1.2)+","+(k+_)+" "+w+","+(k+_)}const p=s.append("polygon");return p.attr("points",f(o.x,o.y,o.width,o.height,7)),p.attr("class","labelBox"),o.y=o.y+o.height/2,KA(s,o),p};let l3=-1;const IBe=(s,o)=>{s.selectAll&&s.selectAll(".actor-line").attr("class","200").attr("y2",o-55)},tjt=function(s,o,f,p){const w=o.x+o.width/2,k=o.y+5,b=s.append("g");var _=b;p||(l3++,_.append("line").attr("id","actor"+l3).attr("x1",w).attr("y1",k).attr("x2",w).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),_=b.append("g"),o.actorCnt=l3,o.links!=null&&(_.attr("id","root-"+l3),ABe("#root-"+l3,l3)));const A=aW();var N="actor";o.properties!=null&&o.properties.class?N=o.properties.class:A.fill="#eaeaea",A.x=o.x,A.y=o.y,A.width=o.width,A.height=o.height,A.class=N,A.rx=3,A.ry=3;const B=sW(_,A);if(o.rectData=A,o.properties!=null&&o.properties.icon){const H=o.properties.icon.trim();H.charAt(0)==="@"?MBe(_,A.x+A.width-20,A.y+10,H.substr(1)):LBe(_,A.x+A.width-20,A.y+10,H)}I0e(f)(o.description,_,A.x,A.y,A.width,A.height,{class:"actor"},f);let F=o.height;if(B.node){const H=B.node().getBBox();o.height=H.height,F=H.height}return F},njt=function(s,o,f,p){const w=o.x+o.width/2,k=o.y+80;p||(l3++,s.append("line").attr("id","actor"+l3).attr("x1",w).attr("y1",k).attr("x2",w).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const b=s.append("g");b.attr("class","actor-man");const _=aW();_.x=o.x,_.y=o.y,_.fill="#eaeaea",_.width=o.width,_.height=o.height,_.class="actor",_.rx=3,_.ry=3,b.append("line").attr("id","actor-man-torso"+l3).attr("x1",w).attr("y1",o.y+25).attr("x2",w).attr("y2",o.y+45),b.append("line").attr("id","actor-man-arms"+l3).attr("x1",w-18).attr("y1",o.y+33).attr("x2",w+18).attr("y2",o.y+33),b.append("line").attr("x1",w-18).attr("y1",o.y+60).attr("x2",w).attr("y2",o.y+45),b.append("line").attr("x1",w).attr("y1",o.y+45).attr("x2",w+16).attr("y2",o.y+60);const A=b.append("circle");A.attr("cx",o.x+o.width/2),A.attr("cy",o.y+10),A.attr("r",15),A.attr("width",o.width),A.attr("height",o.height);const N=b.node().getBBox();return o.height=N.height,I0e(f)(o.description,b,_.x,_.y+35,_.width,_.height,{class:"actor"},f),o.height},rjt=function(s,o,f,p){switch(o.type){case"actor":return njt(s,o,f,p);case"participant":return tjt(s,o,f,p)}},ijt=function(s,o,f){const w=s.append("g");OBe(w,o),o.name&&I0e(f)(o.name,w,o.x,o.y+(o.textMaxHeight||0)/2,o.width,0,{class:"text"},f),w.lower()},sjt=function(s){return s.append("g")},ajt=function(s,o,f,p,w){const k=aW(),b=o.anchored;k.x=o.startx,k.y=o.starty,k.class="activation"+w%3,k.width=o.stopx-o.startx,k.height=f-o.starty,sW(b,k)},ojt=function(s,o,f,p){const{boxMargin:w,boxTextMargin:k,labelBoxHeight:b,labelBoxWidth:_,messageFontFamily:A,messageFontSize:N,messageFontWeight:B}=p,F=s.append("g"),H=function(Z,ae,le,ce){return F.append("line").attr("x1",Z).attr("y1",ae).attr("x2",le).attr("y2",ce).attr("class","loopLine")};H(o.startx,o.starty,o.stopx,o.starty),H(o.stopx,o.starty,o.stopx,o.stopy),H(o.startx,o.stopy,o.stopx,o.stopy),H(o.startx,o.starty,o.startx,o.stopy),o.sections!==void 0&&o.sections.forEach(function(Z){H(o.startx,Z.y,o.stopx,Z.y).style("stroke-dasharray","3, 3")});let j=D0e();j.text=f,j.x=o.startx,j.y=o.starty,j.fontFamily=A,j.fontSize=N,j.fontWeight=B,j.anchor="middle",j.valign="middle",j.tspan=!1,j.width=_||50,j.height=b||20,j.textMargin=k,j.class="labelText",DBe(F,j),j=D0e(),j.text=o.title,j.x=o.startx+_/2+(o.stopx-o.startx)/2,j.y=o.starty+w+k,j.anchor="middle",j.valign="middle",j.textMargin=k,j.class="loopText",j.fontFamily=A,j.fontSize=N,j.fontWeight=B,j.wrap=!0;let V=KA(F,j);return o.sectionTitles!==void 0&&o.sectionTitles.forEach(function(Z,ae){if(Z.message){j.text=Z.message,j.x=o.startx+(o.stopx-o.startx)/2,j.y=o.sections[ae].y+w+k,j.class="loopText",j.anchor="middle",j.valign="middle",j.tspan=!1,j.fontFamily=A,j.fontSize=N,j.fontWeight=B,j.wrap=o.wrap,V=KA(F,j);let le=Math.round(V.map(ce=>(ce._groups||ce)[0][0].getBBox().height).reduce((ce,be)=>ce+be));o.sections[ae].height+=le-(w+k)}}),o.height=Math.round(o.stopy-o.starty),F},OBe=function(s,o){sW(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,stroke:o.stroke,class:"rect"}).lower()},cjt=function(s){s.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")},ujt=function(s){s.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")},ljt=function(s){s.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")},hjt=function(s){s.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")},fjt=function(s){s.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")},djt=function(s){s.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)},gjt=function(s){s.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",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")},D0e=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}},aW=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},I0e=function(){function s(w,k,b,_,A,N,B){const F=k.append("text").attr("x",b+A/2).attr("y",_+N/2+5).style("text-anchor","middle").text(w);p(F,B)}function o(w,k,b,_,A,N,B,F){const{actorFontSize:H,actorFontFamily:j,actorFontWeight:V}=F,[Z,ae]=TN(H),le=w.split(xa.lineBreakRegex);for(let ce=0;ce<le.length;ce++){const be=ce*Z-Z*(le.length-1)/2,xe=k.append("text").attr("x",b+A/2).attr("y",_).style("text-anchor","middle").style("font-size",ae).style("font-weight",V).style("font-family",j);xe.append("tspan").attr("x",b+A/2).attr("dy",be).text(le[ce]),xe.attr("y",_+N/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(xe,B)}}function f(w,k,b,_,A,N,B,F){const H=k.append("switch"),V=H.append("foreignObject").attr("x",b).attr("y",_).attr("width",A).attr("height",N).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),o(w,H,b,_,A,N,B,F),p(V,B)}function p(w,k){for(const b in k)k.hasOwnProperty(b)&&w.attr(b,k[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?s:o}}(),pjt=function(){function s(w,k,b,_,A,N,B){const F=k.append("text").attr("x",b).attr("y",_).style("text-anchor","start").text(w);p(F,B)}function o(w,k,b,_,A,N,B,F){const{actorFontSize:H,actorFontFamily:j,actorFontWeight:V}=F,Z=w.split(xa.lineBreakRegex);for(let ae=0;ae<Z.length;ae++){const le=ae*H-H*(Z.length-1)/2,ce=k.append("text").attr("x",b).attr("y",_).style("text-anchor","start").style("font-size",H).style("font-weight",V).style("font-family",j);ce.append("tspan").attr("x",b).attr("dy",le).text(Z[ae]),ce.attr("y",_+N/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(ce,B)}}function f(w,k,b,_,A,N,B,F){const H=k.append("switch"),V=H.append("foreignObject").attr("x",b).attr("y",_).attr("width",A).attr("height",N).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),o(w,H,b,_,A,N,B,F),p(V,B)}function p(w,k){for(const b in k)k.hasOwnProperty(b)&&w.attr(b,k[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?s:o}}(),sh={drawRect:sW,drawText:KA,drawLabel:DBe,drawActor:rjt,drawBox:ijt,drawPopup:XRt,drawImage:LBe,drawEmbeddedImage:MBe,anchorElement:sjt,drawActivation:ajt,drawLoop:ojt,drawBackgroundRect:OBe,insertArrowHead:hjt,insertArrowFilledHead:fjt,insertSequenceNumber:djt,insertArrowCrossHead:gjt,insertDatabaseIcon:cjt,insertComputerIcon:ujt,insertClockIcon:ljt,getTextObj:D0e,getNoteRect:aW,popupMenu:QRt,popdownMenu:ZRt,fixLifeLineHeights:IBe,sanitizeUrl:a5};let hn={};const ai={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(s=>s.height||0))+(this.loops.length===0?0:this.loops.map(s=>s.height||0).reduce((s,o)=>s+o))+(this.messages.length===0?0:this.messages.map(s=>s.height||0).reduce((s,o)=>s+o))+(this.notes.length===0?0:this.notes.map(s=>s.height||0).reduce((s,o)=>s+o))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(s){this.boxes.push(s)},addActor:function(s){this.actors.push(s)},addLoop:function(s){this.loops.push(s)},addMessage:function(s){this.messages.push(s)},addNote:function(s){this.notes.push(s)},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,PBe(Pt())},updateVal:function(s,o,f,p){s[o]===void 0?s[o]=f:s[o]=p(f,s[o])},updateBounds:function(s,o,f,p){const w=this;let k=0;function b(_){return function(N){k++;const B=w.sequenceItems.length-k+1;w.updateVal(N,"starty",o-B*hn.boxMargin,Math.min),w.updateVal(N,"stopy",p+B*hn.boxMargin,Math.max),w.updateVal(ai.data,"startx",s-B*hn.boxMargin,Math.min),w.updateVal(ai.data,"stopx",f+B*hn.boxMargin,Math.max),_!=="activation"&&(w.updateVal(N,"startx",s-B*hn.boxMargin,Math.min),w.updateVal(N,"stopx",f+B*hn.boxMargin,Math.max),w.updateVal(ai.data,"starty",o-B*hn.boxMargin,Math.min),w.updateVal(ai.data,"stopy",p+B*hn.boxMargin,Math.max))}}this.sequenceItems.forEach(b()),this.activations.forEach(b("activation"))},insert:function(s,o,f,p){const w=Math.min(s,f),k=Math.max(s,f),b=Math.min(o,p),_=Math.max(o,p);this.updateVal(ai.data,"startx",w,Math.min),this.updateVal(ai.data,"starty",b,Math.min),this.updateVal(ai.data,"stopx",k,Math.max),this.updateVal(ai.data,"stopy",_,Math.max),this.updateBounds(w,b,k,_)},newActivation:function(s,o,f){const p=f[s.from.actor],w=oW(s.from.actor).length||0,k=p.x+p.width/2+(w-1)*hn.activationWidth/2;this.activations.push({startx:k,starty:this.verticalPos+2,stopx:k+hn.activationWidth,stopy:void 0,actor:s.from.actor,anchored:sh.anchorElement(o)})},endActivation:function(s){const o=this.activations.map(function(f){return f.actor}).lastIndexOf(s.from.actor);return this.activations.splice(o,1)[0]},createLoop:function(s={message:void 0,wrap:!1,width:void 0},o){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:s.message,wrap:s.wrap,width:s.width,height:0,fill:o}},newLoop:function(s={message:void 0,wrap:!1,width:void 0},o){this.sequenceItems.push(this.createLoop(s,o))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(s){const o=this.sequenceItems.pop();o.sections=o.sections||[],o.sectionTitles=o.sectionTitles||[],o.sections.push({y:ai.getVerticalPos(),height:0}),o.sectionTitles.push(s),this.sequenceItems.push(o)},bumpVerticalPos:function(s){this.verticalPos=this.verticalPos+s,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},bjt=function(s,o){ai.bumpVerticalPos(hn.boxMargin),o.height=hn.boxMargin,o.starty=ai.getVerticalPos();const f=sh.getNoteRect();f.x=o.startx,f.y=o.starty,f.width=o.width||hn.width,f.class="note";const p=s.append("g"),w=sh.drawRect(p,f),k=sh.getTextObj();k.x=o.startx,k.y=o.starty,k.width=f.width,k.dy="1em",k.text=o.message,k.class="noteText",k.fontFamily=hn.noteFontFamily,k.fontSize=hn.noteFontSize,k.fontWeight=hn.noteFontWeight,k.anchor=hn.noteAlign,k.textMargin=hn.noteMargin,k.valign="center";const b=KA(p,k),_=Math.round(b.map(A=>(A._groups||A)[0][0].getBBox().height).reduce((A,N)=>A+N));w.attr("height",_+2*hn.noteMargin),o.height+=_+2*hn.noteMargin,ai.bumpVerticalPos(_+2*hn.noteMargin),o.stopy=o.starty+_+2*hn.noteMargin,o.stopx=o.startx+f.width,ai.insert(o.startx,o.starty,o.stopx,o.stopy),ai.models.addNote(o)},o9=s=>({fontFamily:s.messageFontFamily,fontSize:s.messageFontSize,fontWeight:s.messageFontWeight}),WA=s=>({fontFamily:s.noteFontFamily,fontSize:s.noteFontSize,fontWeight:s.noteFontWeight}),O0e=s=>({fontFamily:s.actorFontFamily,fontSize:s.actorFontSize,fontWeight:s.actorFontWeight});function vjt(s,o){ai.bumpVerticalPos(10);const{startx:f,stopx:p,message:w}=o,k=xa.splitBreaks(w).length,b=Pa.calculateTextDimensions(w,o9(hn)),_=b.height/k;o.height+=_,ai.bumpVerticalPos(_);let A,N=b.height-10;const B=b.width;if(f===p){A=ai.getVerticalPos()+N,hn.rightAngles||(N+=hn.boxMargin,A=ai.getVerticalPos()+N),N+=30;const F=Math.max(B/2,hn.width/2);ai.insert(f-F,ai.getVerticalPos()-10+N,p+F,ai.getVerticalPos()+30+N)}else N+=hn.boxMargin,A=ai.getVerticalPos()+N,ai.insert(f,A-10,p,A);return ai.bumpVerticalPos(N),o.height+=N,o.stopy=o.starty+o.height,ai.insert(o.fromBounds,o.starty,o.toBounds,o.stopy),A}const wjt=function(s,o,f,p){const{startx:w,stopx:k,starty:b,message:_,type:A,sequenceIndex:N,sequenceVisible:B}=o,F=Pa.calculateTextDimensions(_,o9(hn)),H=sh.getTextObj();H.x=w,H.y=b+10,H.width=k-w,H.class="messageText",H.dy="1em",H.text=_,H.fontFamily=hn.messageFontFamily,H.fontSize=hn.messageFontSize,H.fontWeight=hn.messageFontWeight,H.anchor=hn.messageAlign,H.valign="center",H.textMargin=hn.wrapPadding,H.tspan=!1,KA(s,H);const j=F.width;let V;w===k?hn.rightAngles?V=s.append("path").attr("d",`M ${w},${f} H ${w+Math.max(hn.width/2,j/2)} V ${f+25} H ${w}`):V=s.append("path").attr("d","M "+w+","+f+" C "+(w+60)+","+(f-10)+" "+(w+60)+","+(f+30)+" "+w+","+(f+20)):(V=s.append("line"),V.attr("x1",w),V.attr("y1",f),V.attr("x2",k),V.attr("y2",f)),A===p.db.LINETYPE.DOTTED||A===p.db.LINETYPE.DOTTED_CROSS||A===p.db.LINETYPE.DOTTED_POINT||A===p.db.LINETYPE.DOTTED_OPEN?(V.style("stroke-dasharray","3, 3"),V.attr("class","messageLine1")):V.attr("class","messageLine0");let Z="";hn.arrowMarkerAbsolute&&(Z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Z=Z.replace(/\(/g,"\\("),Z=Z.replace(/\)/g,"\\)")),V.attr("stroke-width",2),V.attr("stroke","none"),V.style("fill","none"),(A===p.db.LINETYPE.SOLID||A===p.db.LINETYPE.DOTTED)&&V.attr("marker-end","url("+Z+"#arrowhead)"),(A===p.db.LINETYPE.SOLID_POINT||A===p.db.LINETYPE.DOTTED_POINT)&&V.attr("marker-end","url("+Z+"#filled-head)"),(A===p.db.LINETYPE.SOLID_CROSS||A===p.db.LINETYPE.DOTTED_CROSS)&&V.attr("marker-end","url("+Z+"#crosshead)"),(B||hn.showSequenceNumbers)&&(V.attr("marker-start","url("+Z+"#sequencenumber)"),s.append("text").attr("x",w).attr("y",f+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(N))},N0e=function(s,o,f,p,w,k,b){if(w.hideUnusedParticipants===!0){const F=new Set;k.forEach(H=>{F.add(H.from),F.add(H.to)}),f=f.filter(H=>F.has(H))}let _=0,A=0,N=0,B;for(const F of f){const H=o[F],j=H.box;B&&B!=j&&(b||ai.models.addBox(B),A+=hn.boxMargin+B.margin),j&&j!=B&&(b||(j.x=_+A,j.y=p),A+=j.margin),H.width=H.width||hn.width,H.height=Math.max(H.height||hn.height,hn.height),H.margin=H.margin||hn.actorMargin,H.x=_+A,H.y=ai.getVerticalPos();const V=sh.drawActor(s,H,hn,b);N=Math.max(N,V),ai.insert(H.x,p,H.x+H.width,H.height),_+=H.width+A,H.box&&(H.box.width=_+j.margin-H.box.x),A=H.margin,B=H.box,ai.models.addActor(H)}B&&!b&&ai.models.addBox(B),ai.bumpVerticalPos(N)},NBe=function(s,o,f,p){let w=0,k=0;for(const b of f){const _=o[b],A=kjt(_),N=sh.drawPopup(s,_,A,hn,hn.forceMenus,p);N.height>w&&(w=N.height),N.width+_.x>k&&(k=N.width+_.x)}return{maxHeight:w,maxWidth:k}},PBe=function(s){nd(hn,s),s.fontFamily&&(hn.actorFontFamily=hn.noteFontFamily=hn.messageFontFamily=s.fontFamily),s.fontSize&&(hn.actorFontSize=hn.noteFontSize=hn.messageFontSize=s.fontSize),s.fontWeight&&(hn.actorFontWeight=hn.noteFontWeight=hn.messageFontWeight=s.fontWeight)},oW=function(s){return ai.activations.filter(function(o){return o.actor===s})},BBe=function(s,o){const f=o[s],p=oW(s),w=p.reduce(function(b,_){return Math.min(b,_.startx)},f.x+f.width/2),k=p.reduce(function(b,_){return Math.max(b,_.stopx)},f.x+f.width/2);return[w,k]};function h3(s,o,f,p,w){ai.bumpVerticalPos(f);let k=p;if(o.id&&o.message&&s[o.id]){const b=s[o.id].width,_=o9(hn);o.message=Pa.wrapLabel(`[${o.message}]`,b-2*hn.wrapPadding,_),o.width=b,o.wrap=!0;const A=Pa.calculateTextDimensions(o.message,_),N=Math.max(A.height,hn.labelBoxHeight);k=p+N,je.debug(`${N} - ${o.message}`)}w(o),ai.bumpVerticalPos(k)}const mjt=function(s,o,f,p){const{securityLevel:w,sequence:k}=Pt();hn=k,p.db.clear(),p.parser.parse(s);let b;w==="sandbox"&&(b=sr("#i"+o));const _=sr(w==="sandbox"?b.nodes()[0].contentDocument.body:"body"),A=w==="sandbox"?b.nodes()[0].contentDocument:document;ai.init(),je.debug(p.db);const N=w==="sandbox"?_.select(`[id="${o}"]`):sr(`[id="${o}"]`),B=p.db.getActors(),F=p.db.getBoxes(),H=p.db.getActorKeys(),j=p.db.getMessages(),V=p.db.getDiagramTitle(),Z=p.db.hasAtLeastOneBox(),ae=p.db.hasAtLeastOneBoxWithTitle(),le=yjt(B,j,p);hn.height=xjt(B,le,F),sh.insertComputerIcon(N),sh.insertDatabaseIcon(N),sh.insertClockIcon(N),Z&&(ai.bumpVerticalPos(hn.boxMargin),ae&&ai.bumpVerticalPos(F[0].textMaxHeight)),N0e(N,B,H,0,hn,j,!1);const ce=_jt(j,B,le,p);sh.insertArrowHead(N),sh.insertArrowCrossHead(N),sh.insertArrowFilledHead(N),sh.insertSequenceNumber(N);function be(Re,pe){const Ge=ai.endActivation(Re);Ge.starty+18>pe&&(Ge.starty=pe-6,pe+=12),sh.drawActivation(N,Ge,pe,hn,oW(Re.from.actor).length),ai.insert(Ge.startx,pe-10,Ge.stopx,pe)}let xe=1,Ee=1;const Me=[];j.forEach(function(Re){let pe,Ge,de;switch(Re.type){case p.db.LINETYPE.NOTE:Ge=Re.noteModel,bjt(N,Ge);break;case p.db.LINETYPE.ACTIVE_START:ai.newActivation(Re,N,B);break;case p.db.LINETYPE.ACTIVE_END:be(Re,ai.getVerticalPos());break;case p.db.LINETYPE.LOOP_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.LOOP_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"loop",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;case p.db.LINETYPE.RECT_START:h3(ce,Re,hn.boxMargin,hn.boxMargin,ct=>ai.newLoop(void 0,ct.message));break;case p.db.LINETYPE.RECT_END:pe=ai.endLoop(),sh.drawBackgroundRect(N,pe),ai.models.addLoop(pe),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos());break;case p.db.LINETYPE.OPT_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.OPT_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"opt",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;case p.db.LINETYPE.ALT_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.ALT_ELSE:h3(ce,Re,hn.boxMargin+hn.boxTextMargin,hn.boxMargin,ct=>ai.addSectionToLoop(ct));break;case p.db.LINETYPE.ALT_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"alt",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;case p.db.LINETYPE.PAR_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.PAR_AND:h3(ce,Re,hn.boxMargin+hn.boxTextMargin,hn.boxMargin,ct=>ai.addSectionToLoop(ct));break;case p.db.LINETYPE.PAR_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"par",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;case p.db.LINETYPE.AUTONUMBER:xe=Re.message.start||xe,Ee=Re.message.step||Ee,Re.message.visible?p.db.enableSequenceNumbers():p.db.disableSequenceNumbers();break;case p.db.LINETYPE.CRITICAL_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.CRITICAL_OPTION:h3(ce,Re,hn.boxMargin+hn.boxTextMargin,hn.boxMargin,ct=>ai.addSectionToLoop(ct));break;case p.db.LINETYPE.CRITICAL_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"critical",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;case p.db.LINETYPE.BREAK_START:h3(ce,Re,hn.boxMargin,hn.boxMargin+hn.boxTextMargin,ct=>ai.newLoop(ct));break;case p.db.LINETYPE.BREAK_END:pe=ai.endLoop(),sh.drawLoop(N,pe,"break",hn),ai.bumpVerticalPos(pe.stopy-ai.getVerticalPos()),ai.models.addLoop(pe);break;default:try{de=Re.msgModel,de.starty=ai.getVerticalPos(),de.sequenceIndex=xe,de.sequenceVisible=p.db.showSequenceNumbers();const ct=vjt(N,de);Me.push({messageModel:de,lineStartY:ct}),ai.models.addMessage(de)}catch(ct){je.error("error while drawing message",ct)}}[p.db.LINETYPE.SOLID_OPEN,p.db.LINETYPE.DOTTED_OPEN,p.db.LINETYPE.SOLID,p.db.LINETYPE.DOTTED,p.db.LINETYPE.SOLID_CROSS,p.db.LINETYPE.DOTTED_CROSS,p.db.LINETYPE.SOLID_POINT,p.db.LINETYPE.DOTTED_POINT].includes(Re.type)&&(xe=xe+Ee)}),Me.forEach(Re=>wjt(N,Re.messageModel,Re.lineStartY,p)),hn.mirrorActors&&(ai.bumpVerticalPos(hn.boxMargin*2),N0e(N,B,H,ai.getVerticalPos(),hn,j,!0),ai.bumpVerticalPos(hn.boxMargin),IBe(N,ai.getVerticalPos())),ai.models.boxes.forEach(function(Re){Re.height=ai.getVerticalPos()-Re.y,ai.insert(Re.x,Re.y,Re.x+Re.width,Re.height),Re.startx=Re.x,Re.starty=Re.y,Re.stopx=Re.startx+Re.width,Re.stopy=Re.starty+Re.height,Re.stroke="rgb(0,0,0, 0.5)",sh.drawBox(N,Re,hn)}),Z&&ai.bumpVerticalPos(hn.boxMargin);const fe=NBe(N,B,H,A),{bounds:ye}=ai.getBounds();je.debug("For line height fix Querying: #"+o+" .actor-line"),_fe("#"+o+" .actor-line").attr("y2",ye.stopy);let we=ye.stopy-ye.starty;we<fe.maxHeight&&(we=fe.maxHeight);let ke=we+2*hn.diagramMarginY;hn.mirrorActors&&(ke=ke-hn.boxMargin+hn.bottomMarginAdj);let he=ye.stopx-ye.startx;he<fe.maxWidth&&(he=fe.maxWidth);const De=he+2*hn.diagramMarginX;V&&N.append("text").text(V).attr("x",(ye.stopx-ye.startx)/2-2*hn.diagramMarginX).attr("y",-25),Uw(N,ke,De,hn.useMaxWidth);const X=V?40:0;N.attr("viewBox",ye.startx-hn.diagramMarginX+" -"+(hn.diagramMarginY+X)+" "+De+" "+(ke+X)),je.debug("models:",ai.models)};function yjt(s,o,f){const p={};return o.forEach(function(w){if(s[w.to]&&s[w.from]){const k=s[w.to];if(w.placement===f.db.PLACEMENT.LEFTOF&&!k.prevActor||w.placement===f.db.PLACEMENT.RIGHTOF&&!k.nextActor)return;const b=w.placement!==void 0,_=!b,A=b?WA(hn):o9(hn),N=w.wrap?Pa.wrapLabel(w.message,hn.width-2*hn.wrapPadding,A):w.message,F=Pa.calculateTextDimensions(N,A).width+2*hn.wrapPadding;_&&w.from===k.nextActor?p[w.to]=Math.max(p[w.to]||0,F):_&&w.from===k.prevActor?p[w.from]=Math.max(p[w.from]||0,F):_&&w.from===w.to?(p[w.from]=Math.max(p[w.from]||0,F/2),p[w.to]=Math.max(p[w.to]||0,F/2)):w.placement===f.db.PLACEMENT.RIGHTOF?p[w.from]=Math.max(p[w.from]||0,F):w.placement===f.db.PLACEMENT.LEFTOF?p[k.prevActor]=Math.max(p[k.prevActor]||0,F):w.placement===f.db.PLACEMENT.OVER&&(k.prevActor&&(p[k.prevActor]=Math.max(p[k.prevActor]||0,F/2)),k.nextActor&&(p[w.from]=Math.max(p[w.from]||0,F/2)))}}),je.debug("maxMessageWidthPerActor:",p),p}const kjt=function(s){let o=0;const f=O0e(hn);for(const p in s.links){const k=Pa.calculateTextDimensions(p,f).width+2*hn.wrapPadding+2*hn.boxMargin;o<k&&(o=k)}return o};function xjt(s,o,f){let p=0;Object.keys(s).forEach(k=>{const b=s[k];b.wrap&&(b.description=Pa.wrapLabel(b.description,hn.width-2*hn.wrapPadding,O0e(hn)));const _=Pa.calculateTextDimensions(b.description,O0e(hn));b.width=b.wrap?hn.width:Math.max(hn.width,_.width+2*hn.wrapPadding),b.height=b.wrap?Math.max(_.height,hn.height):hn.height,p=Math.max(p,b.height)});for(const k in o){const b=s[k];if(!b)continue;const _=s[b.nextActor];if(!_){const F=o[k]+hn.actorMargin-b.width/2;b.margin=Math.max(F,hn.actorMargin);continue}const N=o[k]+hn.actorMargin-b.width/2-_.width/2;b.margin=Math.max(N,hn.actorMargin)}let w=0;return f.forEach(k=>{const b=o9(hn);let _=k.actorKeys.reduce((B,F)=>B+=s[F].width+(s[F].margin||0),0);_-=2*hn.boxTextMargin,k.wrap&&(k.name=Pa.wrapLabel(k.name,_-2*hn.wrapPadding,b));const A=Pa.calculateTextDimensions(k.name,b);w=Math.max(A.height,w);const N=Math.max(_,A.width+2*hn.wrapPadding);if(k.margin=hn.boxTextMargin,_<N){const B=(N-_)/2;k.margin+=B}}),f.forEach(k=>k.textMaxHeight=w),Math.max(p,hn.height)}const Ejt=function(s,o,f){const p=o[s.from].x,w=o[s.to].x,k=s.wrap&&s.message;let b=Pa.calculateTextDimensions(k?Pa.wrapLabel(s.message,hn.width,WA(hn)):s.message,WA(hn));const _={width:k?hn.width:Math.max(hn.width,b.width+2*hn.noteMargin),height:0,startx:o[s.from].x,stopx:0,starty:0,stopy:0,message:s.message};return s.placement===f.db.PLACEMENT.RIGHTOF?(_.width=k?Math.max(hn.width,b.width):Math.max(o[s.from].width/2+o[s.to].width/2,b.width+2*hn.noteMargin),_.startx=p+(o[s.from].width+hn.actorMargin)/2):s.placement===f.db.PLACEMENT.LEFTOF?(_.width=Math.max(k?hn.width:o[s.from].width/2+o[s.to].width/2,b.width+2*hn.noteMargin),_.startx=p-_.width+(o[s.from].width-hn.actorMargin)/2):s.to===s.from?(b=Pa.calculateTextDimensions(k?Pa.wrapLabel(s.message,Math.max(hn.width,o[s.from].width),WA(hn)):s.message,WA(hn)),_.width=k?Math.max(hn.width,o[s.from].width):Math.max(o[s.from].width,hn.width,b.width+2*hn.noteMargin),_.startx=p+(o[s.from].width-_.width)/2):(_.width=Math.abs(p+o[s.from].width/2-(w+o[s.to].width/2))+hn.actorMargin,_.startx=p<w?p+o[s.from].width/2-hn.actorMargin/2:w+o[s.to].width/2-hn.actorMargin/2),k&&(_.message=Pa.wrapLabel(s.message,_.width-2*hn.wrapPadding,WA(hn))),je.debug(`NM:[${_.startx},${_.stopx},${_.starty},${_.stopy}:${_.width},${_.height}=${s.message}]`),_},Tjt=function(s,o,f){let p=!1;if([f.db.LINETYPE.SOLID_OPEN,f.db.LINETYPE.DOTTED_OPEN,f.db.LINETYPE.SOLID,f.db.LINETYPE.DOTTED,f.db.LINETYPE.SOLID_CROSS,f.db.LINETYPE.DOTTED_CROSS,f.db.LINETYPE.SOLID_POINT,f.db.LINETYPE.DOTTED_POINT].includes(s.type)&&(p=!0),!p)return{};const w=BBe(s.from,o),k=BBe(s.to,o),b=w[0]<=k[0]?1:0,_=w[0]<k[0]?0:1,A=[...w,...k],N=Math.abs(k[_]-w[b]);s.wrap&&s.message&&(s.message=Pa.wrapLabel(s.message,Math.max(N+2*hn.wrapPadding,hn.width),o9(hn)));const B=Pa.calculateTextDimensions(s.message,o9(hn));return{width:Math.max(s.wrap?0:B.width+2*hn.wrapPadding,N+2*hn.wrapPadding,hn.width),height:0,startx:w[b],stopx:k[_],starty:0,stopy:0,message:s.message,type:s.type,wrap:s.wrap,fromBounds:Math.min.apply(null,A),toBounds:Math.max.apply(null,A)}},_jt=function(s,o,f,p){const w={},k=[];let b,_,A;return s.forEach(function(N){switch(N.id=Pa.random({length:10}),N.type){case p.db.LINETYPE.LOOP_START:case p.db.LINETYPE.ALT_START:case p.db.LINETYPE.OPT_START:case p.db.LINETYPE.PAR_START:case p.db.LINETYPE.CRITICAL_START:case p.db.LINETYPE.BREAK_START:k.push({id:N.id,msg:N.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case p.db.LINETYPE.ALT_ELSE:case p.db.LINETYPE.PAR_AND:case p.db.LINETYPE.CRITICAL_OPTION:N.message&&(b=k.pop(),w[b.id]=b,w[N.id]=b,k.push(b));break;case p.db.LINETYPE.LOOP_END:case p.db.LINETYPE.ALT_END:case p.db.LINETYPE.OPT_END:case p.db.LINETYPE.PAR_END:case p.db.LINETYPE.CRITICAL_END:case p.db.LINETYPE.BREAK_END:b=k.pop(),w[b.id]=b;break;case p.db.LINETYPE.ACTIVE_START:{const F=o[N.from?N.from.actor:N.to.actor],H=oW(N.from?N.from.actor:N.to.actor).length,j=F.x+F.width/2+(H-1)*hn.activationWidth/2,V={startx:j,stopx:j+hn.activationWidth,actor:N.from.actor,enabled:!0};ai.activations.push(V)}break;case p.db.LINETYPE.ACTIVE_END:{const F=ai.activations.map(H=>H.actor).lastIndexOf(N.from.actor);delete ai.activations.splice(F,1)[0]}break}N.placement!==void 0?(_=Ejt(N,o,p),N.noteModel=_,k.forEach(F=>{b=F,b.from=Math.min(b.from,_.startx),b.to=Math.max(b.to,_.startx+_.width),b.width=Math.max(b.width,Math.abs(b.from-b.to))-hn.labelBoxWidth})):(A=Tjt(N,o,p),N.msgModel=A,A.startx&&A.stopx&&k.length>0&&k.forEach(F=>{if(b=F,A.startx===A.stopx){const H=o[N.from],j=o[N.to];b.from=Math.min(H.x-A.width/2,H.x-H.width/2,b.from),b.to=Math.max(j.x+A.width/2,j.x+H.width/2,b.to),b.width=Math.max(b.width,Math.abs(b.to-b.from))-hn.labelBoxWidth}else b.from=Math.min(A.startx,b.from),b.to=Math.max(A.stopx,b.to),b.width=Math.max(b.width,A.width)-hn.labelBoxWidth}))}),ai.activations=[],je.debug("Loop type widths:",w),w},FBe={bounds:ai,drawActors:N0e,drawActorsPopup:NBe,setConf:PBe,draw:mjt};var P0e=function(){var s=function(bt,St,yt,Mt){for(yt=yt||{},Mt=bt.length;Mt--;yt[bt[Mt]]=St);return yt},o=[1,2],f=[1,3],p=[1,5],w=[1,7],k=[2,5],b=[1,15],_=[1,17],A=[1,21],N=[1,22],B=[1,23],F=[1,24],H=[1,37],j=[1,25],V=[1,26],Z=[1,27],ae=[1,28],le=[1,29],ce=[1,32],be=[1,33],xe=[1,34],Ee=[1,35],Me=[1,36],fe=[1,39],ye=[1,40],re=[1,41],we=[1,42],ke=[1,38],he=[1,45],De=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],X=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Re=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],pe=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Ge={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement: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,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"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:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(St,yt,Mt,nn,dn,vt,Lr){var xt=vt.length-1;switch(dn){case 4:return nn.setRootDoc(vt[xt]),vt[xt];case 5:this.$=[];break;case 6:vt[xt]!="nl"&&(vt[xt-1].push(vt[xt]),this.$=vt[xt-1]);break;case 7:case 8:this.$=vt[xt];break;case 9:this.$="nl";break;case 12:this.$=vt[xt];break;case 13:const He=vt[xt-1];He.description=nn.trimColon(vt[xt]),this.$=He;break;case 14:this.$={stmt:"relation",state1:vt[xt-2],state2:vt[xt]};break;case 15:const Ze=nn.trimColon(vt[xt]);this.$={stmt:"relation",state1:vt[xt-3],state2:vt[xt-1],description:Ze};break;case 19:this.$={stmt:"state",id:vt[xt-3],type:"default",description:"",doc:vt[xt-1]};break;case 20:var Tt=vt[xt],wt=vt[xt-2].trim();if(vt[xt].match(":")){var At=vt[xt].split(":");Tt=At[0],wt=[wt,At[1]]}this.$={stmt:"state",id:Tt,type:"default",description:wt};break;case 21:this.$={stmt:"state",id:vt[xt-3],type:"default",description:vt[xt-5],doc:vt[xt-1]};break;case 22:this.$={stmt:"state",id:vt[xt],type:"fork"};break;case 23:this.$={stmt:"state",id:vt[xt],type:"join"};break;case 24:this.$={stmt:"state",id:vt[xt],type:"choice"};break;case 25:this.$={stmt:"state",id:nn.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:vt[xt-1].trim(),note:{position:vt[xt-2].trim(),text:vt[xt].trim()}};break;case 30:this.$=vt[xt].trim(),nn.setAccTitle(this.$);break;case 31:case 32:this.$=vt[xt].trim(),nn.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:vt[xt-1].trim(),classes:vt[xt].trim()};break;case 35:this.$={stmt:"applyClass",id:vt[xt-1].trim(),styleClass:vt[xt].trim()};break;case 38:nn.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:nn.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:nn.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:nn.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:vt[xt].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:vt[xt-2].trim(),classes:[vt[xt].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:vt[xt-2].trim(),classes:[vt[xt].trim()],type:"default",description:""};break;case 50:nn.parseDirective("%%{","open_directive");break;case 51:nn.parseDirective(vt[xt],"type_directive");break;case 52:vt[xt]=vt[xt].trim().replace(/'/g,'"'),nn.parseDirective(vt[xt],"arg_directive");break;case 53:nn.parseDirective("}%%","close_directive","state");break}},table:[{3:1,4:o,5:f,6:4,7:p,45:6,60:w},{1:[3]},{3:8,4:o,5:f,6:4,7:p,45:6,60:w},{3:9,4:o,5:f,6:4,7:p,45:6,60:w},{3:10,4:o,5:f,6:4,7:p,45:6,60:w},s([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],k,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:b,5:_,6:30,9:14,10:16,11:18,12:19,13:20,16:A,17:N,19:B,22:F,24:H,25:j,26:V,27:Z,28:ae,29:le,32:31,33:ce,35:be,37:xe,38:Ee,42:Me,45:6,50:fe,51:ye,52:re,53:we,56:ke,60:w},{47:43,48:[1,44],63:he},s([48,63],[2,51]),s(De,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:A,17:N,19:B,22:F,24:H,25:j,26:V,27:Z,28:ae,29:le,32:31,33:ce,35:be,37:xe,38:Ee,42:Me,45:6,50:fe,51:ye,52:re,53:we,56:ke,60:w},s(De,[2,8]),s(De,[2,9]),s(De,[2,10]),s(De,[2,11]),s(De,[2,12],{14:[1,47],15:[1,48]}),s(De,[2,16]),{18:[1,49]},s(De,[2,18],{20:[1,50]}),{23:[1,51]},s(De,[2,22]),s(De,[2,23]),s(De,[2,24]),s(De,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},s(De,[2,28]),s(De,[2,29]),{34:[1,56]},{36:[1,57]},s(De,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},s(X,[2,44],{57:[1,61]}),s(X,[2,45],{57:[1,62]}),s(De,[2,38]),s(De,[2,39]),s(De,[2,40]),s(De,[2,41]),s(Re,[2,36]),{49:63,62:[1,64]},s(Re,[2,53]),s(De,[2,7]),s(De,[2,13]),{13:65,24:H,56:ke},s(De,[2,17]),s(pe,k,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},s(De,[2,30]),s(De,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:he},{63:[2,52]},s(De,[2,14],{14:[1,76]}),{4:b,5:_,6:30,9:14,10:16,11:18,12:19,13:20,16:A,17:N,19:B,21:[1,77],22:F,24:H,25:j,26:V,27:Z,28:ae,29:le,32:31,33:ce,35:be,37:xe,38:Ee,42:Me,45:6,50:fe,51:ye,52:re,53:we,56:ke,60:w},s(De,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},s(De,[2,33]),s(De,[2,34]),s(De,[2,35]),s(X,[2,46]),s(X,[2,47]),s(Re,[2,37]),s(De,[2,15]),s(De,[2,19]),s(pe,k,{8:81}),s(De,[2,26]),s(De,[2,27]),{4:b,5:_,6:30,9:14,10:16,11:18,12:19,13:20,16:A,17:N,19:B,21:[1,82],22:F,24:H,25:j,26:V,27:Z,28:ae,29:le,32:31,33:ce,35:be,37:xe,38:Ee,42:Me,45:6,50:fe,51:ye,52:re,53:we,56:ke,60:w},s(De,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(St,yt){if(yt.recoverable)this.trace(St);else{var Mt=new Error(St);throw Mt.hash=yt,Mt}},parse:function(St){var yt=this,Mt=[0],nn=[],dn=[null],vt=[],Lr=this.table,xt="",Tt=0,wt=0,At=2,He=1,Ze=vt.slice.call(arguments,1),Lt=Object.create(this.lexer),Ve={yy:{}};for(var Mn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Mn)&&(Ve.yy[Mn]=this.yy[Mn]);Lt.setInput(St,Ve.yy),Ve.yy.lexer=Lt,Ve.yy.parser=this,typeof Lt.yylloc>"u"&&(Lt.yylloc={});var Oe=Lt.yylloc;vt.push(Oe);var Di=Lt.options&&Lt.options.ranges;typeof Ve.yy.parseError=="function"?this.parseError=Ve.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rn(){var Xi;return Xi=nn.pop()||Lt.lex()||He,typeof Xi!="number"&&(Xi instanceof Array&&(nn=Xi,Xi=nn.pop()),Xi=yt.symbols_[Xi]||Xi),Xi}for(var pi,Fr,tr,Wn,er={},Fn,nr,ha,fa;;){if(Fr=Mt[Mt.length-1],this.defaultActions[Fr]?tr=this.defaultActions[Fr]:((pi===null||typeof pi>"u")&&(pi=rn()),tr=Lr[Fr]&&Lr[Fr][pi]),typeof tr>"u"||!tr.length||!tr[0]){var is="";fa=[];for(Fn in Lr[Fr])this.terminals_[Fn]&&Fn>At&&fa.push("'"+this.terminals_[Fn]+"'");Lt.showPosition?is="Parse error on line "+(Tt+1)+`:
-`+Lt.showPosition()+`
-Expecting `+fa.join(", ")+", got '"+(this.terminals_[pi]||pi)+"'":is="Parse error on line "+(Tt+1)+": Unexpected "+(pi==He?"end of input":"'"+(this.terminals_[pi]||pi)+"'"),this.parseError(is,{text:Lt.match,token:this.terminals_[pi]||pi,line:Lt.yylineno,loc:Oe,expected:fa})}if(tr[0]instanceof Array&&tr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Fr+", token: "+pi);switch(tr[0]){case 1:Mt.push(pi),dn.push(Lt.yytext),vt.push(Lt.yylloc),Mt.push(tr[1]),pi=null,wt=Lt.yyleng,xt=Lt.yytext,Tt=Lt.yylineno,Oe=Lt.yylloc;break;case 2:if(nr=this.productions_[tr[1]][1],er.$=dn[dn.length-nr],er._$={first_line:vt[vt.length-(nr||1)].first_line,last_line:vt[vt.length-1].last_line,first_column:vt[vt.length-(nr||1)].first_column,last_column:vt[vt.length-1].last_column},Di&&(er._$.range=[vt[vt.length-(nr||1)].range[0],vt[vt.length-1].range[1]]),Wn=this.performAction.apply(er,[xt,wt,Tt,Ve.yy,tr[1],dn,vt].concat(Ze)),typeof Wn<"u")return Wn;nr&&(Mt=Mt.slice(0,-1*nr*2),dn=dn.slice(0,-1*nr),vt=vt.slice(0,-1*nr)),Mt.push(this.productions_[tr[1]][0]),dn.push(er.$),vt.push(er._$),ha=Lr[Mt[Mt.length-2]][Mt[Mt.length-1]],Mt.push(ha);break;case 3:return!0}}return!0}},de=function(){var bt={EOF:1,parseError:function(yt,Mt){if(this.yy.parser)this.yy.parser.parseError(yt,Mt);else throw new Error(yt)},setInput:function(St,yt){return this.yy=yt||this.yy||{},this._input=St,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 St=this._input[0];this.yytext+=St,this.yyleng++,this.offset++,this.match+=St,this.matched+=St;var yt=St.match(/(?:\r\n?|\n).*/g);return yt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),St},unput:function(St){var yt=St.length,Mt=St.split(/(?:\r\n?|\n)/g);this._input=St+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-yt),this.offset-=yt;var nn=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),Mt.length-1&&(this.yylineno-=Mt.length-1);var dn=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:Mt?(Mt.length===nn.length?this.yylloc.first_column:0)+nn[nn.length-Mt.length].length-Mt[0].length:this.yylloc.first_column-yt},this.options.ranges&&(this.yylloc.range=[dn[0],dn[0]+this.yyleng-yt]),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(St){this.unput(this.match.slice(St))},pastInput:function(){var St=this.matched.substr(0,this.matched.length-this.match.length);return(St.length>20?"...":"")+St.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var St=this.match;return St.length<20&&(St+=this._input.substr(0,20-St.length)),(St.substr(0,20)+(St.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var St=this.pastInput(),yt=new Array(St.length+1).join("-");return St+this.upcomingInput()+`
-`+yt+"^"},test_match:function(St,yt){var Mt,nn,dn;if(this.options.backtrack_lexer&&(dn={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&&(dn.yylloc.range=this.yylloc.range.slice(0))),nn=St[0].match(/(?:\r\n?|\n).*/g),nn&&(this.yylineno+=nn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:nn?nn[nn.length-1].length-nn[nn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+St[0].length},this.yytext+=St[0],this.match+=St[0],this.matches=St,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(St[0].length),this.matched+=St[0],Mt=this.performAction.call(this,this.yy,this,yt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Mt)return Mt;if(this._backtrack){for(var vt in dn)this[vt]=dn[vt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var St,yt,Mt,nn;this._more||(this.yytext="",this.match="");for(var dn=this._currentRules(),vt=0;vt<dn.length;vt++)if(Mt=this._input.match(this.rules[dn[vt]]),Mt&&(!yt||Mt[0].length>yt[0].length)){if(yt=Mt,nn=vt,this.options.backtrack_lexer){if(St=this.test_match(Mt,dn[vt]),St!==!1)return St;if(this._backtrack){yt=!1;continue}else return!1}else if(!this.options.flex)break}return yt?(St=this.test_match(yt,dn[nn]),St!==!1?St:!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 yt=this.next();return yt||this.lex()},begin:function(yt){this.conditionStack.push(yt)},popState:function(){var yt=this.conditionStack.length-1;return yt>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(yt){return yt=this.conditionStack.length-1-Math.abs(yt||0),yt>=0?this.conditionStack[yt]:"INITIAL"},pushState:function(yt){this.begin(yt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(yt,Mt,nn,dn){switch(nn){case 0:return 41;case 1:return 50;case 2:return 51;case 3:return 52;case 4:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:break;case 11:break;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:break;case 17:return this.pushState("SCALE"),17;case 18:return 18;case 19:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 25:this.popState();break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 34:return this.pushState("SCALE"),17;case 35:return 18;case 36:this.popState();break;case 37:this.pushState("STATE");break;case 38:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-8).trim(),25;case 39:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-8).trim(),26;case 40:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-10).trim(),27;case 41:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-8).trim(),25;case 42:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-8).trim(),26;case 43:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-10).trim(),27;case 44:return 50;case 45:return 51;case 46:return 52;case 47:return 53;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:return this.popState(),"ID";case 51:this.popState();break;case 52:return"STATE_DESCR";case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;case 56:break;case 57:return this.popState(),21;case 58:break;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 64:break;case 65:return"NOTE_TEXT";case 66:return this.popState(),"ID";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),Mt.yytext=Mt.yytext.substr(2).trim(),31;case 69:return this.popState(),Mt.yytext=Mt.yytext.slice(0,-8).trim(),31;case 70:return 7;case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return Mt.yytext=Mt.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 79:return 5;case 80: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,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/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:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};return bt}();Ge.lexer=de;function ct(){this.yy={}}return ct.prototype=Ge,Ge.Parser=ct,new ct}();P0e.parser=P0e;const RBe=P0e,Cjt=(s,o)=>{var f;return((f=o==null?void 0:o.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:s.match(/^\s*stateDiagram/)!==null},Sjt=(s,o)=>{var f;return!!(s.match(/^\s*stateDiagram-v2/)!==null||s.match(/^\s*stateDiagram/)&&((f=o==null?void 0:o.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper")},jBe="LR",Ajt="TB",cW="state",B0e="relation",Ljt="classDef",Mjt="applyClass",dP="default",$Be="divider",F0e="[*]",HBe="start",zBe=F0e,GBe="end",qBe="color",VBe="fill",Djt="bgFill",Ijt=",";function UBe(){return{}}let KBe=jBe,uW=[],gP=UBe();const WBe=()=>({relations:[],states:{},documents:{}});let lW={root:WBe()},k0=lW.root,pP=0,YBe=0;const Ojt={LINE:0,DOTTED_LINE:1},Njt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},hW=s=>JSON.parse(JSON.stringify(s)),Pjt=function(s,o,f){Fl.parseDirective(this,s,o,f)},Bjt=s=>{je.info("Setting root doc",s),uW=s},Fjt=()=>uW,fW=(s,o,f)=>{if(o.stmt===B0e)fW(s,o.state1,!0),fW(s,o.state2,!1);else if(o.stmt===cW&&(o.id==="[*]"?(o.id=f?s.id+"_start":s.id+"_end",o.start=f):o.id=o.id.trim()),o.doc){const p=[];let w=[],k;for(k=0;k<o.doc.length;k++)if(o.doc[k].type===$Be){const b=hW(o.doc[k]);b.doc=hW(w),p.push(b),w=[]}else w.push(o.doc[k]);if(p.length>0&&w.length>0){const b={stmt:cW,id:HDe(),type:"divider",doc:hW(w)};p.push(hW(b)),o.doc=p}o.doc.forEach(b=>fW(o,b,!0))}},Rjt=()=>(fW({id:"root"},{id:"root",doc:uW},!0),{id:"root",doc:uW}),jjt=s=>{let o;s.doc?o=s.doc:o=s,je.info(o),XBe(!0),je.info("Extract",o),o.forEach(f=>{switch(f.stmt){case cW:c9(f.id.trim(),f.type,f.doc,f.description,f.note,f.classes,f.styles,f.textStyles);break;case B0e:QBe(f.state1,f.state2,f.description);break;case Ljt:ZBe(f.id.trim(),f.classes);break;case Mjt:H0e(f.id.trim(),f.styleClass);break}})},c9=function(s,o=dP,f=null,p=null,w=null,k=null,b=null,_=null){const A=s==null?void 0:s.trim();k0.states[A]===void 0?(je.info("Adding state ",A,p),k0.states[A]={id:A,descriptions:[],type:o,doc:f,note:w,classes:[],styles:[],textStyles:[]}):(k0.states[A].doc||(k0.states[A].doc=f),k0.states[A].type||(k0.states[A].type=o)),p&&(je.info("Setting state description",A,p),typeof p=="string"&&$0e(A,p.trim()),typeof p=="object"&&p.forEach(N=>$0e(A,N.trim()))),w&&(k0.states[A].note=w,k0.states[A].note.text=xa.sanitizeText(k0.states[A].note.text,Pt())),k&&(je.info("Setting state classes",A,k),(typeof k=="string"?[k]:k).forEach(B=>H0e(A,B.trim()))),b&&(je.info("Setting state styles",A,b),(typeof b=="string"?[b]:b).forEach(B=>Yjt(A,B.trim()))),_&&(je.info("Setting state styles",A,b),(typeof _=="string"?[_]:_).forEach(B=>Xjt(A,B.trim())))},XBe=function(s){lW={root:WBe()},k0=lW.root,pP=0,gP=UBe(),s||tp()},bP=function(s){return k0.states[s]},$jt=function(){return k0.states},Hjt=function(){je.info("Documents = ",lW)},zjt=function(){return k0.relations};function R0e(s=""){let o=s;return s===F0e&&(pP++,o=`${HBe}${pP}`),o}function j0e(s="",o=dP){return s===F0e?HBe:o}function Gjt(s=""){let o=s;return s===zBe&&(pP++,o=`${GBe}${pP}`),o}function qjt(s="",o=dP){return s===zBe?GBe:o}function Vjt(s,o,f){let p=R0e(s.id.trim()),w=j0e(s.id.trim(),s.type),k=R0e(o.id.trim()),b=j0e(o.id.trim(),o.type);c9(p,w,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),c9(k,b,o.doc,o.description,o.note,o.classes,o.styles,o.textStyles),k0.relations.push({id1:p,id2:k,relationTitle:xa.sanitizeText(f,Pt())})}const QBe=function(s,o,f){if(typeof s=="object")Vjt(s,o,f);else{const p=R0e(s.trim()),w=j0e(s),k=Gjt(o.trim()),b=qjt(o);c9(p,w),c9(k,b),k0.relations.push({id1:p,id2:k,title:xa.sanitizeText(f,Pt())})}},$0e=function(s,o){const f=k0.states[s],p=o.startsWith(":")?o.replace(":","").trim():o;f.descriptions.push(xa.sanitizeText(p,Pt()))},Ujt=function(s){return s.substring(0,1)===":"?s.substr(2).trim():s.trim()},Kjt=()=>(YBe++,"divider-id-"+YBe),ZBe=function(s,o=""){gP[s]===void 0&&(gP[s]={id:s,styles:[],textStyles:[]});const f=gP[s];o!=null&&o.split(Ijt).forEach(p=>{const w=p.replace(/([^;]*);/,"$1").trim();if(p.match(qBe)){const b=w.replace(VBe,Djt).replace(qBe,VBe);f.textStyles.push(b)}f.styles.push(w)})},Wjt=function(){return gP},H0e=function(s,o){s.split(",").forEach(function(f){let p=bP(f);if(p===void 0){const w=f.trim();c9(w),p=bP(w)}p.classes.push(o)})},Yjt=function(s,o){const f=bP(s);f!==void 0&&f.textStyles.push(o)},Xjt=function(s,o){const f=bP(s);f!==void 0&&f.textStyles.push(o)},L5={parseDirective:Pjt,getConfig:()=>Pt().state,addState:c9,clear:XBe,getState:bP,getStates:$jt,getRelations:zjt,getClasses:Wjt,getDirection:()=>KBe,addRelation:QBe,getDividerId:Kjt,setDirection:s=>{KBe=s},cleanupLabel:Ujt,lineType:Ojt,relationType:Njt,logDocuments:Hjt,getRootDoc:Fjt,setRootDoc:Bjt,getRootDocV2:Rjt,extract:jjt,trimColon:s=>s&&s[0]===":"?s.substr(1).trim():s.trim(),getAccTitle:C2,setAccTitle:np,getAccDescription:A2,setAccDescription:S2,addStyleClass:ZBe,setCssClass:H0e,addDescription:$0e,setDiagramTitle:Kw,getDiagramTitle:Ww},z0e={},Qjt=(s,o)=>{z0e[s]=o},Zjt=s=>z0e[s],JBe=()=>Object.keys(z0e),Jjt={get:Zjt,set:Qjt,keys:JBe,size:()=>JBe().length},e$t=s=>s.append("circle").attr("class","start-state").attr("r",Pt().state.sizeUnit).attr("cx",Pt().state.padding+Pt().state.sizeUnit).attr("cy",Pt().state.padding+Pt().state.sizeUnit),t$t=s=>s.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",Pt().state.textHeight).attr("class","divider").attr("x2",Pt().state.textHeight*2).attr("y1",0).attr("y2",0),n$t=(s,o)=>{const f=s.append("text").attr("x",2*Pt().state.padding).attr("y",Pt().state.textHeight+2*Pt().state.padding).attr("font-size",Pt().state.fontSize).attr("class","state-title").text(o.id),p=f.node().getBBox();return s.insert("rect",":first-child").attr("x",Pt().state.padding).attr("y",Pt().state.padding).attr("width",p.width+2*Pt().state.padding).attr("height",p.height+2*Pt().state.padding).attr("rx",Pt().state.radius),f},r$t=(s,o)=>{const f=function(H,j,V){const Z=H.append("tspan").attr("x",2*Pt().state.padding).text(j);V||Z.attr("dy",Pt().state.textHeight)},w=s.append("text").attr("x",2*Pt().state.padding).attr("y",Pt().state.textHeight+1.3*Pt().state.padding).attr("font-size",Pt().state.fontSize).attr("class","state-title").text(o.descriptions[0]).node().getBBox(),k=w.height,b=s.append("text").attr("x",Pt().state.padding).attr("y",k+Pt().state.padding*.4+Pt().state.dividerMargin+Pt().state.textHeight).attr("class","state-description");let _=!0,A=!0;o.descriptions.forEach(function(H){_||(f(b,H,A),A=!1),_=!1});const N=s.append("line").attr("x1",Pt().state.padding).attr("y1",Pt().state.padding+k+Pt().state.dividerMargin/2).attr("y2",Pt().state.padding+k+Pt().state.dividerMargin/2).attr("class","descr-divider"),B=b.node().getBBox(),F=Math.max(B.width,w.width);return N.attr("x2",F+3*Pt().state.padding),s.insert("rect",":first-child").attr("x",Pt().state.padding).attr("y",Pt().state.padding).attr("width",F+2*Pt().state.padding).attr("height",B.height+k+2*Pt().state.padding).attr("rx",Pt().state.radius),s},i$t=(s,o,f)=>{const p=Pt().state.padding,w=2*Pt().state.padding,k=s.node().getBBox(),b=k.width,_=k.x,A=s.append("text").attr("x",0).attr("y",Pt().state.titleShift).attr("font-size",Pt().state.fontSize).attr("class","state-title").text(o.id),B=A.node().getBBox().width+w;let F=Math.max(B,b);F===b&&(F=F+w);let H;const j=s.node().getBBox();o.doc,H=_-p,B>b&&(H=(b-F)/2+p),Math.abs(_-j.x)<p&&B>b&&(H=_-(B-b)/2);const V=1-Pt().state.textHeight;return s.insert("rect",":first-child").attr("x",H).attr("y",V).attr("class",f?"alt-composit":"composit").attr("width",F).attr("height",j.height+Pt().state.textHeight+Pt().state.titleShift+1).attr("rx","0"),A.attr("x",H+p),B<=b&&A.attr("x",_+(F-w)/2-B/2+p),s.insert("rect",":first-child").attr("x",H).attr("y",Pt().state.titleShift-Pt().state.textHeight-Pt().state.padding).attr("width",F).attr("height",Pt().state.textHeight*3).attr("rx",Pt().state.radius),s.insert("rect",":first-child").attr("x",H).attr("y",Pt().state.titleShift-Pt().state.textHeight-Pt().state.padding).attr("width",F).attr("height",j.height+3+2*Pt().state.textHeight).attr("rx",Pt().state.radius),s},s$t=s=>(s.append("circle").attr("class","end-state-outer").attr("r",Pt().state.sizeUnit+Pt().state.miniPadding).attr("cx",Pt().state.padding+Pt().state.sizeUnit+Pt().state.miniPadding).attr("cy",Pt().state.padding+Pt().state.sizeUnit+Pt().state.miniPadding),s.append("circle").attr("class","end-state-inner").attr("r",Pt().state.sizeUnit).attr("cx",Pt().state.padding+Pt().state.sizeUnit+2).attr("cy",Pt().state.padding+Pt().state.sizeUnit+2)),a$t=(s,o)=>{let f=Pt().state.forkWidth,p=Pt().state.forkHeight;if(o.parentId){let w=f;f=p,p=w}return s.append("rect").style("stroke","black").style("fill","black").attr("width",f).attr("height",p).attr("x",Pt().state.padding).attr("y",Pt().state.padding)},o$t=(s,o,f,p)=>{let w=0;const k=p.append("text");k.style("text-anchor","start"),k.attr("class","noteText");let b=s.replace(/\r\n/g,"<br/>");b=b.replace(/\n/g,"<br/>");const _=b.split(xa.lineBreakRegex);let A=1.25*Pt().state.noteMargin;for(const N of _){const B=N.trim();if(B.length>0){const F=k.append("tspan");if(F.text(B),A===0){const H=F.node().getBBox();A+=H.height}w+=A,F.attr("x",o+Pt().state.noteMargin),F.attr("y",f+w+1.25*Pt().state.noteMargin)}}return{textWidth:k.node().getBBox().width,textHeight:w}},c$t=(s,o)=>{o.attr("class","state-note");const f=o.append("rect").attr("x",0).attr("y",Pt().state.padding),p=o.append("g"),{textWidth:w,textHeight:k}=o$t(s,0,0,p);return f.attr("height",k+2*Pt().state.noteMargin),f.attr("width",w+Pt().state.noteMargin*2),f},eFe=function(s,o){const f=o.id,p={id:f,label:o.id,width:0,height:0},w=s.append("g").attr("id",f).attr("class","stateGroup");o.type==="start"&&e$t(w),o.type==="end"&&s$t(w),(o.type==="fork"||o.type==="join")&&a$t(w,o),o.type==="note"&&c$t(o.note.text,w),o.type==="divider"&&t$t(w),o.type==="default"&&o.descriptions.length===0&&n$t(w,o),o.type==="default"&&o.descriptions.length>0&&r$t(w,o);const k=w.node().getBBox();return p.width=k.width+2*Pt().state.padding,p.height=k.height+2*Pt().state.padding,Jjt.set(f,p),p};let tFe=0;const u$t=function(s,o,f){const p=function(A){switch(A){case L5.relationType.AGGREGATION:return"aggregation";case L5.relationType.EXTENSION:return"extension";case L5.relationType.COMPOSITION:return"composition";case L5.relationType.DEPENDENCY:return"dependency"}};o.points=o.points.filter(A=>!Number.isNaN(A.y));const w=o.points,k=RE().x(function(A){return A.x}).y(function(A){return A.y}).curve(pA),b=s.append("path").attr("d",k(w)).attr("id","edge"+tFe).attr("class","transition");let _="";if(Pt().state.arrowMarkerAbsolute&&(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,_=_.replace(/\(/g,"\\("),_=_.replace(/\)/g,"\\)")),b.attr("marker-end","url("+_+"#"+p(L5.relationType.DEPENDENCY)+"End)"),f.title!==void 0){const A=s.append("g").attr("class","stateLabel"),{x:N,y:B}=Pa.calcLabelPosition(o.points),F=xa.getRows(f.title);let H=0;const j=[];let V=0,Z=0;for(let ce=0;ce<=F.length;ce++){const be=A.append("text").attr("text-anchor","middle").text(F[ce]).attr("x",N).attr("y",B+H),xe=be.node().getBBox();V=Math.max(V,xe.width),Z=Math.min(Z,xe.x),je.info(xe.x,N,B+H),H===0&&(H=be.node().getBBox().height,je.info("Title height",H,B)),j.push(be)}let ae=H*F.length;if(F.length>1){const ce=(F.length-1)*H*.5;j.forEach((be,xe)=>be.attr("y",B+xe*H-ce)),ae=H*F.length}const le=A.node().getBBox();A.insert("rect",":first-child").attr("class","box").attr("x",N-V/2-Pt().state.padding/2).attr("y",B-ae/2-Pt().state.padding/2-3.5).attr("width",V+Pt().state.padding).attr("height",ae+Pt().state.padding),je.info(le)}tFe++};let D2;const G0e={},l$t=function(){},h$t=function(s){s.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")},f$t=function(s,o,f,p){D2=Pt().state;const w=Pt().securityLevel;let k;w==="sandbox"&&(k=sr("#i"+o));const b=sr(w==="sandbox"?k.nodes()[0].contentDocument.body:"body"),_=w==="sandbox"?k.nodes()[0].contentDocument:document;je.debug("Rendering diagram "+s);const A=b.select(`[id='${o}']`);h$t(A),new Hf({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const B=p.db.getRootDoc();nFe(B,A,void 0,!1,b,_,p);const F=D2.padding,H=A.node().getBBox(),j=H.width+F*2,V=H.height+F*2,Z=j*1.75;Uw(A,V,Z,D2.useMaxWidth),A.attr("viewBox",`${H.x-D2.padding} ${H.y-D2.padding} `+j+" "+V)},d$t=s=>s?s.length*D2.fontSizeFactor:1,nFe=(s,o,f,p,w,k,b)=>{const _=new Hf({compound:!0,multigraph:!0});let A,N=!0;for(A=0;A<s.length;A++)if(s[A].stmt==="relation"){N=!1;break}f?_.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:N?1:D2.edgeLengthFactor,nodeSep:N?1:50,isMultiGraph:!0}):_.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:N?1:D2.edgeLengthFactor,nodeSep:N?1:50,ranker:"tight-tree",isMultiGraph:!0}),_.setDefaultEdgeLabel(function(){return{}}),b.db.extract(s);const B=b.db.getStates(),F=b.db.getRelations(),H=Object.keys(B);for(const le of H){const ce=B[le];f&&(ce.parentId=f);let be;if(ce.doc){let xe=o.append("g").attr("id",ce.id).attr("class","stateGroup");be=nFe(ce.doc,xe,ce.id,!p,w,k,b);{xe=i$t(xe,ce,p);let Ee=xe.node().getBBox();be.width=Ee.width,be.height=Ee.height+D2.padding/2,G0e[ce.id]={y:D2.compositTitleSize}}}else be=eFe(o,ce);if(ce.note){const xe={descriptions:[],id:ce.id+"-note",note:ce.note,type:"note"},Ee=eFe(o,xe);ce.note.position==="left of"?(_.setNode(be.id+"-note",Ee),_.setNode(be.id,be)):(_.setNode(be.id,be),_.setNode(be.id+"-note",Ee)),_.setParent(be.id,be.id+"-group"),_.setParent(be.id+"-note",be.id+"-group")}else _.setNode(be.id,be)}je.debug("Count=",_.nodeCount(),_);let j=0;F.forEach(function(le){j++,je.debug("Setting edge",le),_.setEdge(le.id1,le.id2,{relation:le,width:d$t(le.title),height:D2.labelHeight*xa.getRows(le.title).length,labelpos:"c"},"id"+j)}),jA(_),je.debug("Graph after layout",_.nodes());const V=o.node();_.nodes().forEach(function(le){le!==void 0&&_.node(le)!==void 0?(je.warn("Node "+le+": "+JSON.stringify(_.node(le))),w.select("#"+V.id+" #"+le).attr("transform","translate("+(_.node(le).x-_.node(le).width/2)+","+(_.node(le).y+(G0e[le]?G0e[le].y:0)-_.node(le).height/2)+" )"),w.select("#"+V.id+" #"+le).attr("data-x-shift",_.node(le).x-_.node(le).width/2),k.querySelectorAll("#"+V.id+" #"+le+" .divider").forEach(be=>{const xe=be.parentElement;let Ee=0,Me=0;xe&&(xe.parentElement&&(Ee=xe.parentElement.getBBox().width),Me=parseInt(xe.getAttribute("data-x-shift"),10),Number.isNaN(Me)&&(Me=0)),be.setAttribute("x1",0-Me+8),be.setAttribute("x2",Ee-Me-8)})):je.debug("No Node "+le+": "+JSON.stringify(_.node(le)))});let Z=V.getBBox();_.edges().forEach(function(le){le!==void 0&&_.edge(le)!==void 0&&(je.debug("Edge "+le.v+" -> "+le.w+": "+JSON.stringify(_.edge(le))),u$t(o,_.edge(le),_.edge(le).relation))}),Z=V.getBBox();const ae={id:f||"root",label:f||"root",width:0,height:0};return ae.width=Z.width+2*D2.padding,ae.height=Z.height+2*D2.padding,je.debug("Doc rendered",ae,_),ae},g$t={setConf:l$t,draw:f$t},dW="rect",q0e="rectWithTitle",p$t="start",b$t="end",v$t="divider",w$t="roundedWithTitle",m$t="note",y$t="noteGroup",YA="statediagram",k$t=`${YA}-state`,rFe="transition",x$t="note",E$t=`${rFe} note-edge`,T$t=`${YA}-${x$t}`,_$t=`${YA}-cluster`,C$t=`${YA}-cluster-alt`,iFe="parent",sFe="note",S$t="state",V0e="----",A$t=`${V0e}${sFe}`,aFe=`${V0e}${iFe}`,oFe="fill:none",cFe="fill: #333",uFe="c",lFe="text",hFe="normal";let gW={},i8=0;const L$t=function(s){const o=Object.keys(s);for(const f of o)s[f]},M$t=function(s,o){je.trace("Extracting classes"),o.db.clear();try{return o.parser.parse(s),o.db.extract(o.db.getRootDocV2()),o.db.getClasses()}catch(f){return f}};function D$t(s){return s==null?"":s.classes?s.classes.join(" "):""}function U0e(s="",o=0,f="",p=V0e){const w=f!==null&&f.length>0?`${p}${f}`:"";return`${S$t}-${s}${w}-${o}`}const vP=(s,o,f,p,w,k)=>{const b=f.id,_=D$t(p[b]);if(b!=="root"){let A=dW;f.start===!0&&(A=p$t),f.start===!1&&(A=b$t),f.type!==dP&&(A=f.type),gW[b]||(gW[b]={id:b,shape:A,description:xa.sanitizeText(b,Pt()),classes:`${_} ${k$t}`});const N=gW[b];f.description&&(Array.isArray(N.description)?(N.shape=q0e,N.description.push(f.description)):N.description.length>0?(N.shape=q0e,N.description===b?N.description=[f.description]:N.description=[N.description,f.description]):(N.shape=dW,N.description=f.description),N.description=xa.sanitizeTextOrArray(N.description,Pt())),N.description.length===1&&N.shape===q0e&&(N.shape=dW),!N.type&&f.doc&&(je.info("Setting cluster for ",b,K0e(f)),N.type="group",N.dir=K0e(f),N.shape=f.type===$Be?v$t:w$t,N.classes=N.classes+" "+_$t+" "+(k?C$t:""));const B={labelStyle:"",shape:N.shape,labelText:N.description,classes:N.classes,style:"",id:b,dir:N.dir,domId:U0e(b,i8),type:N.type,padding:15};if(f.note){const F={labelStyle:"",shape:m$t,labelText:f.note.text,classes:T$t,style:"",id:b+A$t+"-"+i8,domId:U0e(b,i8,sFe),type:N.type,padding:15},H={labelStyle:"",shape:y$t,labelText:f.note.text,classes:N.classes,style:"",id:b+aFe,domId:U0e(b,i8,iFe),type:"group",padding:0};i8++;const j=b+aFe;s.setNode(j,H),s.setNode(F.id,F),s.setNode(b,B),s.setParent(b,j),s.setParent(F.id,j);let V=b,Z=F.id;f.note.position==="left of"&&(V=F.id,Z=b),s.setEdge(V,Z,{arrowhead:"none",arrowType:"",style:oFe,labelStyle:"",classes:E$t,arrowheadStyle:cFe,labelpos:uFe,labelType:lFe,thickness:hFe})}else s.setNode(b,B)}o&&o.id!=="root"&&(je.trace("Setting node ",b," to be child of its parent ",o.id),s.setParent(b,o.id)),f.doc&&(je.trace("Adding nodes children "),I$t(s,f,f.doc,p,w,!k))},I$t=(s,o,f,p,w,k)=>{je.trace("items",f),f.forEach(b=>{switch(b.stmt){case cW:vP(s,o,b,p,w,k);break;case dP:vP(s,o,b,p,w,k);break;case B0e:{vP(s,o,b.state1,p,w,k),vP(s,o,b.state2,p,w,k);const _={id:"edge"+i8,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:oFe,labelStyle:"",label:xa.sanitizeText(b.description,Pt()),arrowheadStyle:cFe,labelpos:uFe,labelType:lFe,thickness:hFe,classes:rFe};s.setEdge(b.state1.id,b.state2.id,_,i8),i8++}break}})},K0e=(s,o=Ajt)=>{let f=o;if(s.doc)for(let p=0;p<s.doc.length;p++){const w=s.doc[p];w.stmt==="dir"&&(f=w.value)}return f},O$t={setConf:L$t,getClasses:M$t,draw:function(s,o,f,p){je.info("Drawing state diagram (v2)",o),gW={};let w=p.db.getDirection();w===void 0&&(w=jBe);const{securityLevel:k,state:b}=Pt(),_=b.nodeSpacing||50,A=b.rankSpacing||50;je.info(p.db.getRootDocV2()),p.db.extract(p.db.getRootDocV2()),je.info(p.db.getRootDocV2());const N=p.db.getStates(),B=new Hf({multigraph:!0,compound:!0}).setGraph({rankdir:K0e(p.db.getRootDocV2()),nodesep:_,ranksep:A,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});vP(B,void 0,p.db.getRootDocV2(),N,p.db,!0);let F;k==="sandbox"&&(F=sr("#i"+o));const H=sr(k==="sandbox"?F.nodes()[0].contentDocument.body:"body"),j=H.select(`[id="${o}"]`),V=H.select("#"+o+" g");$de(V,B,["barb"],YA,o);const Z=8;Pa.insertTitle(j,"statediagramTitleText",b.titleTopMargin,p.db.getDiagramTitle());const ae=j.node().getBBox(),le=ae.width+Z*2,ce=ae.height+Z*2;j.attr("class",YA);const be=j.node().getBBox();Uw(j,ce,le,b.useMaxWidth);const xe=`${be.x-Z} ${be.y-Z} ${le} ${ce}`;je.debug(`viewBox ${xe}`),j.attr("viewBox",xe);const Ee=document.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const Me of Ee){const fe=Me.getBBox(),ye=document.createElementNS("http://www.w3.org/2000/svg",dW);ye.setAttribute("rx",0),ye.setAttribute("ry",0),ye.setAttribute("width",fe.width),ye.setAttribute("height",fe.height),Me.insertBefore(ye,Me.firstChild)}}};var W0e=function(){var s=function(Z,ae,le,ce){for(le=le||{},ce=Z.length;ce--;le[Z[ce]]=ae);return le},o=[1,2],f=[1,5],p=[6,9,11,17,18,20,22,23,24,26],w=[1,15],k=[1,16],b=[1,17],_=[1,18],A=[1,19],N=[1,20],B=[1,24],F=[4,6,9,11,17,18,20,22,23,24,26],H={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(ae,le,ce,be,xe,Ee,Me){var fe=Ee.length-1;switch(xe){case 1:return Ee[fe-1];case 3:this.$=[];break;case 4:Ee[fe-1].push(Ee[fe]),this.$=Ee[fe-1];break;case 5:case 6:this.$=Ee[fe];break;case 7:case 8:this.$=[];break;case 11:be.setDiagramTitle(Ee[fe].substr(6)),this.$=Ee[fe].substr(6);break;case 12:this.$=Ee[fe].trim(),be.setAccTitle(this.$);break;case 13:case 14:this.$=Ee[fe].trim(),be.setAccDescription(this.$);break;case 15:be.addSection(Ee[fe].substr(8)),this.$=Ee[fe].substr(8);break;case 16:be.addTask(Ee[fe-1],Ee[fe]),this.$="task";break;case 18:be.parseDirective("%%{","open_directive");break;case 19:be.parseDirective(Ee[fe],"type_directive");break;case 20:Ee[fe]=Ee[fe].trim().replace(/'/g,'"'),be.parseDirective(Ee[fe],"arg_directive");break;case 21:be.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:o,7:3,12:4,26:f},{1:[3]},s(p,[2,3],{5:6}),{3:7,4:o,7:3,12:4,26:f},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:w,18:k,20:b,22:_,23:A,24:N,26:f},{1:[2,2]},{14:22,15:[1,23],29:B},s([15,29],[2,19]),s(p,[2,8],{1:[2,1]}),s(p,[2,4]),{7:21,10:25,12:4,17:w,18:k,20:b,22:_,23:A,24:N,26:f},s(p,[2,6]),s(p,[2,7]),s(p,[2,11]),{19:[1,26]},{21:[1,27]},s(p,[2,14]),s(p,[2,15]),{25:[1,28]},s(p,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},s(p,[2,5]),s(p,[2,12]),s(p,[2,13]),s(p,[2,16]),s(F,[2,9]),{14:32,29:B},{29:[2,20]},{11:[1,33]},s(F,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(ae,le){if(le.recoverable)this.trace(ae);else{var ce=new Error(ae);throw ce.hash=le,ce}},parse:function(ae){var le=this,ce=[0],be=[],xe=[null],Ee=[],Me=this.table,fe="",ye=0,re=0,we=2,ke=1,he=Ee.slice.call(arguments,1),De=Object.create(this.lexer),X={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(X.yy[Re]=this.yy[Re]);De.setInput(ae,X.yy),X.yy.lexer=De,X.yy.parser=this,typeof De.yylloc>"u"&&(De.yylloc={});var pe=De.yylloc;Ee.push(pe);var Ge=De.options&&De.options.ranges;typeof X.yy.parseError=="function"?this.parseError=X.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function de(){var Tt;return Tt=be.pop()||De.lex()||ke,typeof Tt!="number"&&(Tt instanceof Array&&(be=Tt,Tt=be.pop()),Tt=le.symbols_[Tt]||Tt),Tt}for(var ct,bt,St,yt,Mt={},nn,dn,vt,Lr;;){if(bt=ce[ce.length-1],this.defaultActions[bt]?St=this.defaultActions[bt]:((ct===null||typeof ct>"u")&&(ct=de()),St=Me[bt]&&Me[bt][ct]),typeof St>"u"||!St.length||!St[0]){var xt="";Lr=[];for(nn in Me[bt])this.terminals_[nn]&&nn>we&&Lr.push("'"+this.terminals_[nn]+"'");De.showPosition?xt="Parse error on line "+(ye+1)+`:
-`+De.showPosition()+`
-Expecting `+Lr.join(", ")+", got '"+(this.terminals_[ct]||ct)+"'":xt="Parse error on line "+(ye+1)+": Unexpected "+(ct==ke?"end of input":"'"+(this.terminals_[ct]||ct)+"'"),this.parseError(xt,{text:De.match,token:this.terminals_[ct]||ct,line:De.yylineno,loc:pe,expected:Lr})}if(St[0]instanceof Array&&St.length>1)throw new Error("Parse Error: multiple actions possible at state: "+bt+", token: "+ct);switch(St[0]){case 1:ce.push(ct),xe.push(De.yytext),Ee.push(De.yylloc),ce.push(St[1]),ct=null,re=De.yyleng,fe=De.yytext,ye=De.yylineno,pe=De.yylloc;break;case 2:if(dn=this.productions_[St[1]][1],Mt.$=xe[xe.length-dn],Mt._$={first_line:Ee[Ee.length-(dn||1)].first_line,last_line:Ee[Ee.length-1].last_line,first_column:Ee[Ee.length-(dn||1)].first_column,last_column:Ee[Ee.length-1].last_column},Ge&&(Mt._$.range=[Ee[Ee.length-(dn||1)].range[0],Ee[Ee.length-1].range[1]]),yt=this.performAction.apply(Mt,[fe,re,ye,X.yy,St[1],xe,Ee].concat(he)),typeof yt<"u")return yt;dn&&(ce=ce.slice(0,-1*dn*2),xe=xe.slice(0,-1*dn),Ee=Ee.slice(0,-1*dn)),ce.push(this.productions_[St[1]][0]),xe.push(Mt.$),Ee.push(Mt._$),vt=Me[ce[ce.length-2]][ce[ce.length-1]],ce.push(vt);break;case 3:return!0}}return!0}},j=function(){var Z={EOF:1,parseError:function(le,ce){if(this.yy.parser)this.yy.parser.parseError(le,ce);else throw new Error(le)},setInput:function(ae,le){return this.yy=le||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 le=ae.match(/(?:\r\n?|\n).*/g);return le?(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 le=ae.length,ce=ae.split(/(?:\r\n?|\n)/g);this._input=ae+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-le),this.offset-=le;var be=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),ce.length-1&&(this.yylineno-=ce.length-1);var xe=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:ce?(ce.length===be.length?this.yylloc.first_column:0)+be[be.length-ce.length].length-ce[0].length:this.yylloc.first_column-le},this.options.ranges&&(this.yylloc.range=[xe[0],xe[0]+this.yyleng-le]),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(),le=new Array(ae.length+1).join("-");return ae+this.upcomingInput()+`
-`+le+"^"},test_match:function(ae,le){var ce,be,xe;if(this.options.backtrack_lexer&&(xe={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&&(xe.yylloc.range=this.yylloc.range.slice(0))),be=ae[0].match(/(?:\r\n?|\n).*/g),be&&(this.yylineno+=be.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:be?be[be.length-1].length-be[be.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],ce=this.performAction.call(this,this.yy,this,le,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ce)return ce;if(this._backtrack){for(var Ee in xe)this[Ee]=xe[Ee];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ae,le,ce,be;this._more||(this.yytext="",this.match="");for(var xe=this._currentRules(),Ee=0;Ee<xe.length;Ee++)if(ce=this._input.match(this.rules[xe[Ee]]),ce&&(!le||ce[0].length>le[0].length)){if(le=ce,be=Ee,this.options.backtrack_lexer){if(ae=this.test_match(ce,xe[Ee]),ae!==!1)return ae;if(this._backtrack){le=!1;continue}else return!1}else if(!this.options.flex)break}return le?(ae=this.test_match(le,xe[be]),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 le=this.next();return le||this.lex()},begin:function(le){this.conditionStack.push(le)},popState:function(){var le=this.conditionStack.length-1;return le>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(le){return le=this.conditionStack.length-1-Math.abs(le||0),le>=0?this.conditionStack[le]:"INITIAL"},pushState:function(le){this.begin(le)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(le,ce,be,xe){switch(be){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};return Z}();H.lexer=j;function V(){this.yy={}}return V.prototype=H,H.Parser=V,new V}();W0e.parser=W0e;const N$t=W0e,P$t=s=>s.match(/^\s*journey/)!==null;let XA="";const Y0e=[],wP=[],mP=[],B$t=function(s,o,f){Fl.parseDirective(this,s,o,f)},F$t=function(){Y0e.length=0,wP.length=0,XA="",mP.length=0,tp()},R$t=function(s){XA=s,Y0e.push(s)},j$t=function(){return Y0e},$$t=function(){let s=fFe();const o=100;let f=0;for(;!s&&f<o;)s=fFe(),f++;return wP.push(...mP),wP},H$t=function(){const s=[];return wP.forEach(f=>{f.people&&s.push(...f.people)}),[...new Set(s)].sort()},z$t=function(s,o){const f=o.substr(1).split(":");let p=0,w=[];f.length===1?(p=Number(f[0]),w=[]):(p=Number(f[0]),w=f[1].split(","));const k=w.map(_=>_.trim()),b={section:XA,type:XA,people:k,task:s,score:p};mP.push(b)},G$t=function(s){const o={section:XA,type:XA,description:s,task:s,classes:[]};wP.push(o)},fFe=function(){const s=function(f){return mP[f].processed};let o=!0;for(const[f,p]of mP.entries())s(f),o=o&&p.processed;return o},dFe={parseDirective:B$t,getConfig:()=>Pt().journey,clear:F$t,setDiagramTitle:Kw,getDiagramTitle:Ww,setAccTitle:np,getAccTitle:C2,setAccDescription:S2,getAccDescription:A2,addSection:R$t,getSections:j$t,getTasks:$$t,addTask:z$t,addTaskOrg:G$t,getActors:function(){return H$t()}},pW=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},q$t=function(s,o){const p=s.append("circle").attr("cx",o.cx).attr("cy",o.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),w=s.append("g");w.append("circle").attr("cx",o.cx-15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),w.append("circle").attr("cx",o.cx+15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function k(A){const N=gN().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+2)+")")}function b(A){const N=gN().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+7)+")")}function _(A){A.append("line").attr("class","mouth").attr("stroke",2).attr("x1",o.cx-5).attr("y1",o.cy+7).attr("x2",o.cx+5).attr("y2",o.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o.score>3?k(w):o.score<3?b(w):_(w),p},gFe=function(s,o){const f=s.append("circle");return f.attr("cx",o.cx),f.attr("cy",o.cy),f.attr("class","actor-"+o.pos),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("r",o.r),f.class!==void 0&&f.attr("class",f.class),o.title!==void 0&&f.append("title").text(o.title),f},pFe=function(s,o){const f=o.text.replace(/<br\s*\/?>/gi," "),p=s.append("text");p.attr("x",o.x),p.attr("y",o.y),p.attr("class","legend"),p.style("text-anchor",o.anchor),o.class!==void 0&&p.attr("class",o.class);const w=p.append("tspan");return w.attr("x",o.x+o.textMargin*2),w.text(f),p},V$t=function(s,o){function f(w,k,b,_,A){return w+","+k+" "+(w+b)+","+k+" "+(w+b)+","+(k+_-A)+" "+(w+b-A*1.2)+","+(k+_)+" "+w+","+(k+_)}const p=s.append("polygon");p.attr("points",f(o.x,o.y,50,20,7)),p.attr("class","labelBox"),o.y=o.y+o.labelMargin,o.x=o.x+.5*o.labelMargin,pFe(s,o)},U$t=function(s,o,f){const p=s.append("g"),w=X0e();w.x=o.x,w.y=o.y,w.fill=o.fill,w.width=f.width,w.height=f.height,w.class="journey-section section-type-"+o.num,w.rx=3,w.ry=3,pW(p,w),vFe(f)(o.text,p,w.x,w.y,w.width,w.height,{class:"journey-section section-type-"+o.num},f,o.colour)};let bFe=-1;const K$t=function(s,o,f){const p=o.x+f.width/2,w=s.append("g");bFe++;const k=300+5*30;w.append("line").attr("id","task"+bFe).attr("x1",p).attr("y1",o.y).attr("x2",p).attr("y2",k).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),q$t(w,{cx:p,cy:300+(5-o.score)*30,score:o.score});const b=X0e();b.x=o.x,b.y=o.y,b.fill=o.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+o.num,b.rx=3,b.ry=3,pW(w,b);let _=o.x+14;o.people.forEach(A=>{const N=o.actors[A].color,B={cx:_,cy:o.y,r:7,fill:N,stroke:"#000",title:A,pos:o.actors[A].position};gFe(w,B),_+=10}),vFe(f)(o.task,w,b.x,b.y,b.width,b.height,{class:"task"},f,o.colour)},W$t=function(s,o){pW(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,class:"rect"}).lower()},Y$t=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},X0e=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},vFe=function(){function s(w,k,b,_,A,N,B,F){const H=k.append("text").attr("x",b+A/2).attr("y",_+N/2+5).style("font-color",F).style("text-anchor","middle").text(w);p(H,B)}function o(w,k,b,_,A,N,B,F,H){const{taskFontSize:j,taskFontFamily:V}=F,Z=w.split(/<br\s*\/?>/gi);for(let ae=0;ae<Z.length;ae++){const le=ae*j-j*(Z.length-1)/2,ce=k.append("text").attr("x",b+A/2).attr("y",_).attr("fill",H).style("text-anchor","middle").style("font-size",j).style("font-family",V);ce.append("tspan").attr("x",b+A/2).attr("dy",le).text(Z[ae]),ce.attr("y",_+N/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(ce,B)}}function f(w,k,b,_,A,N,B,F){const H=k.append("switch"),V=H.append("foreignObject").attr("x",b).attr("y",_).attr("width",A).attr("height",N).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),o(w,H,b,_,A,N,B,F),p(V,B)}function p(w,k){for(const b in k)b in k&&w.attr(b,k[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?s:o}}(),yP={drawRect:pW,drawCircle:gFe,drawSection:U$t,drawText:pFe,drawLabel:V$t,drawTask:K$t,drawBackgroundRect:W$t,getTextObj:Y$t,getNoteRect:X0e,initGraphics:function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},X$t=function(s){Object.keys(s).forEach(function(f){bW[f]=s[f]})},M5={};function Q$t(s){const o=Pt().journey;let f=60;Object.keys(M5).forEach(p=>{const w=M5[p].color,k={cx:20,cy:f,r:7,fill:w,stroke:"#000",pos:M5[p].position};yP.drawCircle(s,k);const b={x:40,y:f+7,fill:"#666",text:p,textMargin:o.boxTextMargin|5};yP.drawText(s,b),f+=20})}const bW=Pt().journey,u9=bW.leftMargin,Z$t=function(s,o,f,p){const w=Pt().journey;p.db.clear(),p.parser.parse(s+`
-`);const k=Pt().securityLevel;let b;k==="sandbox"&&(b=sr("#i"+o));const _=sr(k==="sandbox"?b.nodes()[0].contentDocument.body:"body");Kb.init();const A=_.select("#"+o);yP.initGraphics(A);const N=p.db.getTasks(),B=p.db.getDiagramTitle(),F=p.db.getActors();for(const le in M5)delete M5[le];let H=0;F.forEach(le=>{M5[le]={color:w.actorColours[H%w.actorColours.length],position:H},H++}),Q$t(A),Kb.insert(0,0,u9,Object.keys(M5).length*50),J$t(A,N,0);const j=Kb.getBounds();B&&A.append("text").text(B).attr("x",u9).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const V=j.stopy-j.starty+2*w.diagramMarginY,Z=u9+j.stopx+2*w.diagramMarginX;Uw(A,V,Z,w.useMaxWidth),A.append("line").attr("x1",u9).attr("y1",w.height*4).attr("x2",Z-u9-4).attr("y2",w.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const ae=B?70:0;A.attr("viewBox",`${j.startx} -25 ${Z} ${V+ae}`),A.attr("preserveAspectRatio","xMinYMin meet"),A.attr("height",V+ae+25)},Kb={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(s,o,f,p){s[o]===void 0?s[o]=f:s[o]=p(f,s[o])},updateBounds:function(s,o,f,p){const w=Pt().journey,k=this;let b=0;function _(A){return function(B){b++;const F=k.sequenceItems.length-b+1;k.updateVal(B,"starty",o-F*w.boxMargin,Math.min),k.updateVal(B,"stopy",p+F*w.boxMargin,Math.max),k.updateVal(Kb.data,"startx",s-F*w.boxMargin,Math.min),k.updateVal(Kb.data,"stopx",f+F*w.boxMargin,Math.max),A!=="activation"&&(k.updateVal(B,"startx",s-F*w.boxMargin,Math.min),k.updateVal(B,"stopx",f+F*w.boxMargin,Math.max),k.updateVal(Kb.data,"starty",o-F*w.boxMargin,Math.min),k.updateVal(Kb.data,"stopy",p+F*w.boxMargin,Math.max))}}this.sequenceItems.forEach(_())},insert:function(s,o,f,p){const w=Math.min(s,f),k=Math.max(s,f),b=Math.min(o,p),_=Math.max(o,p);this.updateVal(Kb.data,"startx",w,Math.min),this.updateVal(Kb.data,"starty",b,Math.min),this.updateVal(Kb.data,"stopx",k,Math.max),this.updateVal(Kb.data,"stopy",_,Math.max),this.updateBounds(w,b,k,_)},bumpVerticalPos:function(s){this.verticalPos=this.verticalPos+s,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Q0e=bW.sectionFills,wFe=bW.sectionColours,J$t=function(s,o,f){const p=Pt().journey;let w="";const k=p.height*2+p.diagramMarginY,b=f+k;let _=0,A="#CCC",N="black",B=0;for(const[F,H]of o.entries()){if(w!==H.section){A=Q0e[_%Q0e.length],B=_%Q0e.length,N=wFe[_%wFe.length];const V={x:F*p.taskMargin+F*p.width+u9,y:50,text:H.section,fill:A,num:B,colour:N};yP.drawSection(s,V,p),w=H.section,_++}const j=H.people.reduce((V,Z)=>(M5[Z]&&(V[Z]=M5[Z]),V),{});H.x=F*p.taskMargin+F*p.width+u9,H.y=b,H.width=p.diagramMarginX,H.height=p.diagramMarginY,H.colour=N,H.fill=A,H.num=B,H.actors=j,yP.drawTask(s,H,p),Kb.insert(H.x,H.y,H.x+H.width+p.taskMargin,300+5*30)}},mFe={setConf:X$t,draw:Z$t};let yFe={};const vW={setConf:function(s){yFe={...yFe,...s}},draw:(s,o,f)=>{try{je.debug(`Renering svg for syntax error
-`);const p=sr("#"+o),w=p.append("g");w.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"),w.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"),w.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"),w.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"),w.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"),w.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"),w.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),w.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+f),p.attr("height",100),p.attr("width",500),p.attr("viewBox","768 0 912 512")}catch(p){je.error("Error while rendering info diagram"),je.error(M_t(p))}}},kFe="flowchart-elk",eHt={id:kFe,detector:(s,o)=>{var f;return!!(s.match(/^\s*flowchart-elk/)||s.match(/^\s*flowchart|graph/)&&((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="elk")},loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>GHt);return{id:kFe,diagram:s}}},xFe="timeline",tHt={id:xFe,detector:s=>s.match(/^\s*timeline/)!==null,loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>uzt);return{id:xFe,diagram:s}}},EFe="mindmap",nHt={id:EFe,detector:s=>s.match(/^\s*mindmap/)!==null,loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>zzt);return{id:EFe,diagram:s}}};let TFe=!1;const kP=()=>{TFe||(TFe=!0,ODe(eHt,tHt,nHt),h1("error",{db:{clear:()=>{}},styles:G1e,renderer:vW,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},s=>s.toLowerCase().trim()==="error"),h1("---",{db:{clear:()=>{}},styles:G1e,renderer:vW,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 unindented `---` blocks")}},init:()=>null},s=>s.toLowerCase().trimStart().startsWith("---")),h1("c4",{parser:FCt,db:_Ie,renderer:NIe,styles:fIe,init:s=>{NIe.setConf(s.c4)}},RCt),h1("class",{parser:PIe,db:SA,renderer:sPt,styles:AN,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,SA.clear()}},TSt),h1("classDiagram",{parser:PIe,db:SA,renderer:JPt,styles:AN,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,SA.clear()}},_St),h1("er",{parser:eBt,db:sBt,renderer:SBt,styles:sIe},tBt),h1("gantt",{parser:xFt,db:m0e,renderer:aRt,styles:aIe},EFt),h1("info",{parser:oRt,db:cRt,renderer:uRt,styles:oIe},lRt),h1("pie",{parser:hRt,db:dRt,renderer:gRt,styles:cIe},fRt),h1("requirement",{parser:pRt,db:vRt,renderer:TRt,styles:uIe},bRt),h1("sequence",{parser:_Rt,db:CBe,renderer:FBe,styles:lIe,init:s=>{if(s.sequence||(s.sequence={}),s.sequence.arrowMarkerAbsolute=s.arrowMarkerAbsolute,"sequenceDiagram"in s)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");CBe.setWrap(s.wrap),FBe.setConf(s.sequence)}},CRt),h1("state",{parser:RBe,db:L5,renderer:g$t,styles:aK,init:s=>{s.state||(s.state={}),s.state.arrowMarkerAbsolute=s.arrowMarkerAbsolute,L5.clear()}},Cjt),h1("stateDiagram",{parser:RBe,db:L5,renderer:O$t,styles:aK,init:s=>{s.state||(s.state={}),s.state.arrowMarkerAbsolute=s.arrowMarkerAbsolute,L5.clear()}},Sjt),h1("journey",{parser:N$t,db:dFe,renderer:mFe,styles:hIe,init:s=>{mFe.setConf(s.journey),dFe.clear()}},P$t),h1("flowchart",{parser:Vde,db:a3,renderer:i0e,styles:sK,init:s=>{s.flowchart||(s.flowchart={}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,yFt.setConf(s.flowchart),a3.clear(),a3.setGen("gen-1")}},ABt),h1("flowchart-v2",{parser:Vde,db:a3,renderer:i0e,styles:sK,init:s=>{s.flowchart||(s.flowchart={}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,eIe({flowchart:{arrowMarkerAbsolute:s.arrowMarkerAbsolute}}),i0e.setConf(s.flowchart),a3.clear(),a3.setGen("gen-2")}},LBt),h1("gitGraph",{parser:cCt,db:ACt,renderer:PCt,styles:BCt},uCt))};class Z0e{constructor(o,f){var b,_;this.txt=o,this.type="graph",this.detectTypeFailed=!1;const p=Pt();this.txt=o;try{this.type=A1e(o,p)}catch(A){this.handleError(A,f),this.type="error",this.detectTypeFailed=!0}const w=pIe(this.type);je.debug("Type "+this.type),this.db=w.db,(_=(b=this.db).clear)==null||_.call(b),this.renderer=w.renderer,this.parser=w.parser;const k=this.parser.parse.bind(this.parser);this.parser.parse=A=>k(cTt(A,this.db)),this.parser.parser.yy=this.db,w.init&&(w.init(p),je.info("Initialized diagram "+this.type,p)),this.txt+=`
-`,this.parse(this.txt,f)}parse(o,f){var p,w;if(this.detectTypeFailed)return!1;try{return o=o+`
-`,(w=(p=this.db).clear)==null||w.call(p),this.parser.parse(o),!0}catch(k){this.handleError(k,f)}return!1}handleError(o,f){if(f===void 0)throw o;if(N1e(o)){f(o.str,o.hash);return}f(o)}getParser(){return this.parser}getType(){return this.type}}const J0e=(s,o)=>{const f=A1e(s,Pt());try{pIe(f)}catch{const w=hTt(f);if(!w)throw new Error(`Diagram ${f} not found.`);return w().then(({diagram:k})=>(h1(f,k,void 0),new Z0e(s,o)))}return new Z0e(s,o)},ege=Z0e,rHt="graphics-document document";function iHt(s,o){s.attr("role",rHt),FA(o)||s.attr("aria-roledescription",o)}function sHt(s,o,f,p){if(s.insert!==void 0)if(o||f){if(f){const w="chart-desc-"+p;s.attr("aria-describedby",w),s.insert("desc",":first-child").attr("id",w).text(f)}if(o){const w="chart-title-"+p;s.attr("aria-labelledby",w),s.insert("title",":first-child").attr("id",w).text(o)}}else return}const tge=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],_Fe="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",CFe="sandbox",SFe="loose",aHt="http://www.w3.org/2000/svg",AFe="http://www.w3.org/1999/xlink",LFe="http://www.w3.org/1999/xhtml",oHt="100%",cHt="100%",uHt="border:0;margin:0;",lHt="margin:0",hHt="allow-top-navigation-by-user-activation allow-popups",fHt='The "iframe" tag is not supported by your browser.',MFe=["foreignobject"],DFe=["dominant-baseline"];function dHt(s,o){return kP(),new ege(s,o).parse(s,o)}async function gHt(s,o){return kP(),(await J0e(s,o)).parse(s,o)}const IFe=function(s){let o=s;return o=o.replace(/style.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),o=o.replace(/classDef.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),o=o.replace(/#\w+;/g,function(f){const p=f.substring(1,f.length-1);return/^\+?\d+$/.test(p)?"fl°°"+p+"¶ß":"fl°"+p+"¶ß"}),o},nge=function(s){let o=s;return o=o.replace(/fl°°/g,"&#"),o=o.replace(/fl°/g,"&"),o=o.replace(/¶ß/g,";"),o},OFe=(s,o,f=[])=>`
-.${s} ${o} { ${f.join(" !important; ")} !important; }`,pHt=(s,o,f={})=>{var w;let p="";if(s.themeCSS!==void 0&&(p+=`
-${s.themeCSS}`),s.fontFamily!==void 0&&(p+=`
-:root { --mermaid-font-family: ${s.fontFamily}}`),s.altFontFamily!==void 0&&(p+=`
-:root { --mermaid-alt-font-family: ${s.altFontFamily}}`),!FA(f)&&tge.includes(o)){const A=s.htmlLabels||((w=s.flowchart)==null?void 0:w.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const N in f){const B=f[N];FA(B.styles)||A.forEach(F=>{p+=OFe(B.id,F,B.styles)}),FA(B.textStyles)||(p+=OFe(B.id,"tspan",B.textStyles))}}return p},NFe=(s,o,f,p)=>{const w=pHt(s,o,f),k=tCt(o,w,s.themeVariables);return H1e(q_t(`${p}{${k}}`),U_t)},PFe=(s="",o,f)=>{let p=s;return!f&&!o&&(p=p.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),p=nge(p),p=p.replace(/<br>/g,"<br/>"),p},BFe=(s="",o)=>{const f=o?o.viewBox.baseVal.height+"px":cHt,p=btoa('<body style="'+lHt+'">'+s+"</body>");return`<iframe style="width:${oHt};height:${f};${uHt}" src="data:text/html;base64,${p}" sandbox="${hHt}">
- ${fHt}
-</iframe>`},wW=(s,o,f,p,w)=>{const k=s.append("div");k.attr("id",f),p&&k.attr("style",p);const b=k.append("svg").attr("id",o).attr("width","100%").attr("xmlns",aHt);return w&&b.attr("xmlns:xlink",w),b.append("g"),s};function mW(s,o){return s.append("iframe").attr("id",o).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const FFe=(s,o,f,p)=>{var w,k,b;(w=s.getElementById(o))==null||w.remove(),(k=s.getElementById(f))==null||k.remove(),(b=s.getElementById(p))==null||b.remove()},bHt=function(s,o,f,p){var X,Re,pe,Ge;kP(),SN();const w=Pa.detectInit(o);w&&(VE(w),z1e(w));const k=Pt();je.debug(k),o.length>((k==null?void 0:k.maxTextSize)??5e4)&&(o=_Fe),o=o.replace(/\r\n?/g,`
-`);const b="#"+s,_="i"+s,A="#"+_,N="d"+s,B="#"+N;let F=sr("body");const H=k.securityLevel===CFe,j=k.securityLevel===SFe,V=k.fontFamily;if(p!==void 0){if(p&&(p.innerHTML=""),H){const de=mW(sr(p),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr(p);wW(F,s,N,`font-family: ${V}`,AFe)}else{if(FFe(document,s,N,_),H){const de=mW(sr("body"),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr("body");wW(F,s,N)}o=IFe(o);let Z,ae;try{if(Z=J0e(o),"then"in Z)throw new Error("Diagram is a promise. Use renderAsync.")}catch(de){Z=new ege("error"),ae=de}const le=F.select(B).node(),ce=Z.type,be=le.firstChild,xe=be.firstChild,Ee=tge.includes(ce)?Z.renderer.getClasses(o,Z):{},Me=NFe(k,ce,Ee,b),fe=document.createElement("style");fe.innerHTML=Me,be.insertBefore(fe,xe);try{Z.renderer.draw(o,s,rK,Z)}catch(de){throw vW.draw(o,s,rK),de}const ye=F.select(`${B} svg`),re=(Re=(X=Z.db).getAccTitle)==null?void 0:Re.call(X),we=(Ge=(pe=Z.db).getAccDescription)==null?void 0:Ge.call(pe);RFe(ce,ye,re,we),F.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",LFe);let ke=F.select(B).node().innerHTML;if(je.debug("config.arrowMarkerAbsolute",k.arrowMarkerAbsolute),ke=PFe(ke,H,l1(k.arrowMarkerAbsolute)),H){const de=F.select(B+" svg").node();ke=BFe(ke,de)}else j||(ke=vN.sanitize(ke,{ADD_TAGS:MFe,ADD_ATTR:DFe}));if(f!==void 0)switch(ce){case"flowchart":case"flowchart-v2":f(ke,a3.bindFunctions);break;case"gantt":f(ke,m0e.bindFunctions);break;case"class":case"classDiagram":f(ke,SA.bindFunctions);break;default:f(ke)}else je.debug("CB = undefined!");SBe();const De=sr(H?A:B).node();if(De&&"remove"in De&&De.remove(),ae)throw ae;return ke},vHt=async function(s,o,f,p){var X,Re,pe,Ge;kP(),SN();const w=Pa.detectInit(o);w&&(VE(w),z1e(w));const k=Pt();je.debug(k),o.length>((k==null?void 0:k.maxTextSize)??5e4)&&(o=_Fe),o=o.replace(/\r\n?/g,`
-`);const b="#"+s,_="i"+s,A="#"+_,N="d"+s,B="#"+N;let F=sr("body");const H=k.securityLevel===CFe,j=k.securityLevel===SFe,V=k.fontFamily;if(p!==void 0){if(p&&(p.innerHTML=""),H){const de=mW(sr(p),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr(p);wW(F,s,N,`font-family: ${V}`,AFe)}else{if(FFe(document,s,N,_),H){const de=mW(sr("body"),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr("body");wW(F,s,N)}o=IFe(o);let Z,ae;try{Z=await J0e(o)}catch(de){Z=new ege("error"),ae=de}const le=F.select(B).node(),ce=Z.type,be=le.firstChild,xe=be.firstChild,Ee=tge.includes(ce)?Z.renderer.getClasses(o,Z):{},Me=NFe(k,ce,Ee,b),fe=document.createElement("style");fe.innerHTML=Me,be.insertBefore(fe,xe);try{await Z.renderer.draw(o,s,rK,Z)}catch(de){throw vW.draw(o,s,rK),de}const ye=F.select(`${B} svg`),re=(Re=(X=Z.db).getAccTitle)==null?void 0:Re.call(X),we=(Ge=(pe=Z.db).getAccDescription)==null?void 0:Ge.call(pe);RFe(ce,ye,re,we),F.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",LFe);let ke=F.select(B).node().innerHTML;if(je.debug("config.arrowMarkerAbsolute",k.arrowMarkerAbsolute),ke=PFe(ke,H,l1(k.arrowMarkerAbsolute)),H){const de=F.select(B+" svg").node();ke=BFe(ke,de)}else j||(ke=vN.sanitize(ke,{ADD_TAGS:MFe,ADD_ATTR:DFe}));if(f!==void 0)switch(ce){case"flowchart":case"flowchart-v2":f(ke,a3.bindFunctions);break;case"gantt":f(ke,m0e.bindFunctions);break;case"class":case"classDiagram":f(ke,SA.bindFunctions);break;default:f(ke)}else je.debug("CB = undefined!");SBe();const De=sr(H?A:B).node();if(De&&"remove"in De&&De.remove(),ae)throw ae;return ke};function wHt(s={}){var f;s!=null&&s.fontFamily&&!((f=s.themeVariables)!=null&&f.fontFamily)&&(s.themeVariables={fontFamily:s.fontFamily}),W_t(s),s!=null&&s.theme&&s.theme in f5?s.themeVariables=f5[s.theme].getThemeVariables(s.themeVariables):s&&(s.themeVariables=f5.default.getThemeVariables(s.themeVariables));const o=typeof s=="object"?K_t(s):JDe();ffe(o.logLevel),kP()}function RFe(s,o,f,p){iHt(o,s),sHt(o,f,p,o.attr("id"))}const Fl=Object.freeze({render:bHt,renderAsync:vHt,parse:dHt,parseAsync:gHt,parseDirective:K1e,initialize:wHt,getConfig:Pt,setConfig:eIe,getSiteConfig:JDe,updateSiteConfig:Y_t,reset:()=>{SN()},globalReset:()=>{SN(_A)},defaultConfig:_A});ffe(Pt().logLevel),SN(Pt());const mHt=async function(s,o,f){try{await $Fe(s,o,f)}catch(p){je.warn("Syntax Error rendering"),N1e(p)&&je.warn(p.str),Wb.parseError&&Wb.parseError(p)}},jFe=(s,o,f)=>{je.warn(s),N1e(s)?(f&&f(s.str,s.hash),o.push({...s,message:s.str,error:s})):(f&&f(s),s instanceof Error&&o.push({str:s.message,message:s.message,hash:s.name,error:s}))},yHt=function(s,o,f){const p=Fl.getConfig();s&&(Wb.sequenceConfig=s),je.debug(`${f?"":"No "}Callback function found`);let w;if(o===void 0)w=document.querySelectorAll(".mermaid");else if(typeof o=="string")w=document.querySelectorAll(o);else if(o instanceof HTMLElement)w=[o];else if(o instanceof NodeList)w=o;else throw new Error("Invalid argument nodes for mermaid.init");je.debug(`Found ${w.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(je.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Fl.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Pa.initIdGenerator(p.deterministicIds,p.deterministicIDSeed);let b;const _=[];for(const A of Array.from(w)){je.info("Rendering diagram: "+A.id);/*! Check if previously processed */if(A.getAttribute("data-processed"))continue;A.setAttribute("data-processed","true");const N=`mermaid-${k.next()}`;b=A.innerHTML,b=tA(Pa.entityDecode(b)).trim().replace(/<br\s*\/?>/gi,"<br/>");const B=Pa.detectInit(b);B&&je.debug("Detected early reinit: ",B);try{Fl.render(N,b,(F,H)=>{A.innerHTML=F,f!==void 0&&f(N),H&&H(A)},A)}catch(F){jFe(F,_,Wb.parseError)}}if(_.length>0)throw _[0]},kHt=async(...s)=>{je.debug(`Loading ${s.length} external diagrams`);const f=(await Promise.allSettled(s.map(async({id:p,detector:w,loader:k})=>{const{diagram:b}=await k();h1(p,b,w)}))).filter(p=>p.status==="rejected");if(f.length>0){je.error(`Failed to load ${f.length} external diagrams`);for(const p of f)je.error(p);throw new Error(`Failed to load ${f.length} external diagrams`)}},$Fe=async function(s,o,f){const p=Fl.getConfig();s&&(Wb.sequenceConfig=s),je.debug(`${f?"":"No "}Callback function found`);let w;if(o===void 0)w=document.querySelectorAll(".mermaid");else if(typeof o=="string")w=document.querySelectorAll(o);else if(o instanceof HTMLElement)w=[o];else if(o instanceof NodeList)w=o;else throw new Error("Invalid argument nodes for mermaid.init");je.debug(`Found ${w.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(je.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Fl.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Pa.initIdGenerator(p.deterministicIds,p.deterministicIDSeed);let b;const _=[];for(const A of Array.from(w)){je.info("Rendering diagram: "+A.id);/*! Check if previously processed */if(A.getAttribute("data-processed"))continue;A.setAttribute("data-processed","true");const N=`mermaid-${k.next()}`;b=A.innerHTML,b=tA(Pa.entityDecode(b)).trim().replace(/<br\s*\/?>/gi,"<br/>");const B=Pa.detectInit(b);B&&je.debug("Detected early reinit: ",B);try{await Fl.renderAsync(N,b,(F,H)=>{A.innerHTML=F,f!==void 0&&f(N),H&&H(A)},A)}catch(F){jFe(F,_,Wb.parseError)}}if(_.length>0)throw _[0]},xHt=function(s){Fl.initialize(s)},EHt=async(s,{lazyLoad:o=!0}={})=>{o?ODe(...s):await kHt(...s)},HFe=function(){if(Wb.startOnLoad){const{startOnLoad:s}=Fl.getConfig();s&&Wb.init().catch(o=>je.error("Mermaid failed to initialize",o))}};if(typeof document<"u"){/*!
- * Wait for document loaded before starting the execution
- */window.addEventListener("load",HFe,!1)}const THt=function(s){Wb.parseError=s},_Ht=s=>Fl.parse(s,Wb.parseError),yW=[];let rge=!1;const zFe=async()=>{if(!rge){for(rge=!0;yW.length>0;){const s=yW.shift();if(s)try{await s()}catch(o){je.error("Error executing queue",o)}}rge=!1}},CHt=s=>new Promise((o,f)=>{const p=()=>new Promise((w,k)=>{Fl.parseAsync(s,Wb.parseError).then(b=>{w(b),o(b)},b=>{je.error("Error parsing",b),k(b),f(b)})});yW.push(p),zFe().catch(f)}),SHt=(s,o,f,p)=>new Promise((w,k)=>{const b=()=>new Promise((_,A)=>{Fl.renderAsync(s,o,f,p).then(N=>{_(N),w(N)},N=>{je.error("Error parsing",N),A(N),k(N)})});yW.push(b),zFe().catch(k)}),Wb={startOnLoad:!0,diagrams:{},mermaidAPI:Fl,parse:_Ht,parseAsync:CHt,render:Fl.render,renderAsync:SHt,init:mHt,initThrowsErrors:yHt,initThrowsErrorsAsync:$Fe,registerExternalDiagrams:EHt,initialize:xHt,parseError:void 0,contentLoaded:HFe,setParseErrorHandler:THt},AHt=(s,o,f)=>{const{parentById:p}=f,w=new Set;let k=s;for(;k;){if(w.add(k),k===o)return k;k=p[k]}for(k=o;k;){if(w.has(k))return k;k=p[k]}return"root"};function kW(s){throw new Error('Could not dynamically require "'+s+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ige={},LHt={get exports(){return ige},set exports(s){ige=s}};(function(s,o){(function(f){s.exports=f()})(function(){return function(){function f(p,w,k){function b(N,B){if(!w[N]){if(!p[N]){var F=typeof kW=="function"&&kW;if(!B&&F)return F(N,!0);if(_)return _(N,!0);var H=new Error("Cannot find module '"+N+"'");throw H.code="MODULE_NOT_FOUND",H}var j=w[N]={exports:{}};p[N][0].call(j.exports,function(V){var Z=p[N][1][V];return b(Z||V)},j,j.exports,f,p,w,k)}return w[N].exports}for(var _=typeof kW=="function"&&kW,A=0;A<k.length;A++)b(k[A]);return b}return f}()({1:[function(f,p,w){Object.defineProperty(w,"__esModule",{value:!0});var k=function(){function N(B,F){for(var H=0;H<F.length;H++){var j=F[H];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(B,j.key,j)}}return function(B,F,H){return F&&N(B.prototype,F),H&&N(B,H),B}}();function b(N,B){if(!(N instanceof B))throw new TypeError("Cannot call a class as a function")}var _=function(){function N(){var B=this,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=F.defaultLayoutOptions,j=H===void 0?{}:H,V=F.algorithms,Z=V===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:V,ae=F.workerFactory,le=F.workerUrl;if(b(this,N),this.defaultLayoutOptions=j,this.initialized=!1,typeof le>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ce=ae;typeof le<"u"&&typeof ae>"u"&&(ce=function(Ee){return new Worker(Ee)});var be=ce(le);if(typeof be.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new A(be),this.worker.postMessage({cmd:"register",algorithms:Z}).then(function(xe){return B.initialized=!0}).catch(console.err)}return k(N,[{key:"layout",value:function(F){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=H.layoutOptions,V=j===void 0?this.defaultLayoutOptions:j,Z=H.logging,ae=Z===void 0?!1:Z,le=H.measureExecutionTime,ce=le===void 0?!1:le;return F?this.worker.postMessage({cmd:"layout",graph:F,layoutOptions:V,options:{logging:ae,measureExecutionTime:ce}}):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()}}]),N}();w.default=_;var A=function(){function N(B){var F=this;if(b(this,N),B===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=B,this.worker.onmessage=function(H){setTimeout(function(){F.receive(F,H)},0)}}return k(N,[{key:"postMessage",value:function(F){var H=this.id||0;this.id=H+1,F.id=H;var j=this;return new Promise(function(V,Z){j.resolvers[H]=function(ae,le){ae?(j.convertGwtStyleError(ae),Z(ae)):V(le)},j.worker.postMessage(F)})}},{key:"receive",value:function(F,H){var j=H.data,V=F.resolvers[j.id];V&&(delete F.resolvers[j.id],j.error?V(j.error):V(null,j.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(F){if(F){var H=F.__java$exception;H&&(H.cause&&H.cause.backingJsObject&&(F.cause=H.cause.backingJsObject,this.convertGwtStyleError(F.cause)),delete F.__java$exception)}}}]),N}()},{}],2:[function(f,p,w){(function(k){(function(){var b;typeof window<"u"?b=window:typeof k<"u"?b=k:typeof self<"u"&&(b=self);var _;function A(){}function N(){}function B(){}function F(){}function H(){}function j(){}function V(){}function Z(){}function ae(){}function le(){}function ce(){}function be(){}function xe(){}function Ee(){}function Me(){}function fe(){}function ye(){}function re(){}function we(){}function ke(){}function he(){}function De(){}function X(){}function Re(){}function pe(){}function Ge(){}function de(){}function ct(){}function bt(){}function St(){}function yt(){}function Mt(){}function nn(){}function dn(){}function vt(){}function Lr(){}function xt(){}function Tt(){}function wt(){}function At(){}function He(){}function Ze(){}function Lt(){}function Ve(){}function Mn(){}function Oe(){}function Di(){}function rn(){}function pi(){}function Fr(){}function tr(){}function Wn(){}function er(){}function Fn(){}function nr(){}function ha(){}function fa(){}function is(){}function Xi(){}function da(){}function Cc(){}function na(){}function Ji(){}function Fi(){}function vr(){}function wr(){}function ni(){}function Yn(){}function Gi(){}function un(){}function Ks(){}function Hn(){}function Ms(){}function Ea(){}function Va(){}function Ba(){}function Ta(){}function ss(){}function Zs(){}function Fa(){}function $s(){}function ap(){}function Xb(){}function bu(){}function ra(){}function Ju(){}function lf(){}function el(){}function Rl(){}function vu(){}function Mh(){}function ah(){}function Ai(){}function $t(){}function Mr(){}function bi(){}function Aa(){}function Nc(){}function $c(){}function wu(){}function oh(){}function tl(){}function Qb(){}function rm(){}function Rd(){}function cs(){}function Es(){}function Ya(){}function Ei(){}function uc(){}function Ot(){}function im(){}function Kt(){}function id(){}function sm(){}function f3(){}function s8(){}function I2(){}function fl(){}function Zb(){}function op(){}function I5(){}function f9(){}function d9(){}function p1(){}function Jb(){}function b1(){}function O5(){}function cp(){}function d3(){}function x0(){}function Fu(){}function g3(){}function Jo(){}function up(){}function O2(){}function CW(){}function g9(){}function SW(){}function EP(){}function zf(){}function am(){}function JA(){}function TP(){}function lp(){}function om(){}function AW(){}function N2(){}function LW(){}function MW(){}function N5(){}function p9(){}function _P(){}function a8(){}function DW(){}function o8(){}function IW(){}function OW(){}function NW(){}function PW(){}function BW(){}function FW(){}function RW(){}function jW(){}function $W(){}function HW(){}function zW(){}function eL(){}function GW(){}function qW(){}function b9(){}function CP(){}function P5(){}function VW(){}function UW(){}function KW(){}function WW(){}function YW(){}function v9(){}function tL(){}function SP(){}function p3(){}function b3(){}function XW(){}function hf(){}function B5(){}function QW(){}function c8(){}function jd(){}function ZW(){}function JW(){}function eY(){}function tY(){}function w9(){}function nL(){}function AP(){}function rL(){}function F5(){}function nY(){}function LP(){}function MP(){}function rY(){}function iY(){}function sY(){}function aY(){}function oY(){}function cY(){}function $d(){}function ev(){}function uY(){}function DP(){}function IP(){}function lY(){}function v3(){}function u8(){}function iL(){}function cm(){}function l8(){}function hY(){}function m9(){}function sd(){}function OP(){}function sL(){}function h8(){}function aL(){}function NP(){}function fY(){}function oL(){}function dY(){}function gY(){}function PP(){}function R5(){}function BP(){}function j5(){}function pY(){}function cL(){}function bY(){}function vY(){}function wY(){}function mY(){}function FP(){}function yY(){}function kY(){}function xY(){}function RP(){}function EY(){}function TY(){}function _Y(){}function jP(){}function CY(){}function SY(){}function $P(){}function HP(){}function zP(){}function AY(){}function LY(){}function f8(){}function $5(){}function y9(){}function MY(){}function uL(){}function k9(){}function lL(){}function GP(){}function qP(){}function DY(){}function IY(){}function OY(){}function VP(){}function UP(){}function NY(){}function PY(){}function BY(){}function FY(){}function RY(){}function KP(){}function jY(){}function $Y(){}function HY(){}function zY(){}function WP(){}function x9(){}function GY(){}function qY(){}function YP(){}function VY(){}function UY(){}function KY(){}function WY(){}function YY(){}function XY(){}function XP(){}function QY(){}function QP(){}function ZY(){}function JY(){}function eX(){}function E9(){}function tX(){}function T9(){}function nX(){}function ZP(){}function JP(){}function eB(){}function tB(){}function tv(){}function nB(){}function rB(){}function iB(){}function sB(){}function rX(){}function H5(){}function _9(){}function w3(){}function iX(){}function sX(){}function C9(){}function aX(){}function oX(){}function cX(){}function uX(){}function lX(){}function hX(){}function fX(){}function dX(){}function gX(){}function pX(){}function bX(){}function hL(){}function aB(){}function vX(){}function wX(){}function mX(){}function oB(){}function yX(){}function kX(){}function xX(){}function EX(){}function TX(){}function _X(){}function cB(){}function uB(){}function CX(){}function lB(){}function hB(){}function SX(){}function AX(){}function LX(){}function fL(){}function MX(){}function d8(){}function DX(){}function IX(){}function OX(){}function fB(){}function NX(){}function PX(){}function BX(){}function FX(){}function RX(){}function jX(){}function $X(){}function HX(){}function zX(){}function GX(){}function qX(){}function VX(){}function z5(){}function dB(){}function UX(){}function KX(){}function WX(){}function gB(){}function YX(){}function S9(){}function XX(){}function QX(){}function ZX(){}function JX(){}function eQ(){}function tQ(){}function nQ(){}function rQ(){}function iQ(){}function sQ(){}function G5(){}function aQ(){}function oQ(){}function cQ(){}function uQ(){}function lQ(){}function hQ(){}function fQ(){}function dQ(){}function A9(){}function gQ(){}function pQ(){}function bQ(){}function vQ(){}function wQ(){}function mQ(){}function yQ(){}function kQ(){}function q5(){}function pB(){}function xQ(){}function dL(){}function EQ(){}function TQ(){}function _Q(){}function CQ(){}function SQ(){}function AQ(){}function LQ(){}function bB(){}function MQ(){}function vB(){}function DQ(){}function wB(){}function mB(){}function yB(){}function IQ(){}function OQ(){}function L9(){}function gL(){}function M9(){}function NQ(){}function PQ(){}function pL(){}function BQ(){}function FQ(){}function kB(){}function RQ(){}function jQ(){}function $Q(){}function HQ(){}function zQ(){}function GQ(){}function qQ(){}function VQ(){}function UQ(){}function KQ(){}function og(){}function WQ(){}function um(){}function xB(){}function YQ(){}function XQ(){}function QQ(){}function ZQ(){}function JQ(){}function eZ(){}function tZ(){}function nZ(){}function rZ(){}function Pc(){}function iZ(){}function D9(){}function lc(){}function eu(){}function Ki(){}function bL(){}function sZ(){}function aZ(){}function oZ(){}function V5(){}function lm(){}function zt(){}function cZ(){}function uZ(){}function lZ(){}function hZ(){}function fZ(){}function EB(){}function dZ(){}function gZ(){}function vL(){}function pZ(){}function nl(){}function Ru(){}function bZ(){}function vZ(){}function wZ(){}function hm(){}function nv(){}function hp(){}function ad(){}function U5(){}function I9(){}function g8(){}function TB(){}function mZ(){}function p8(){}function _B(){}function yZ(){}function O9(){}function K5(){}function W5(){}function fp(){}function CB(){}function b8(){}function SB(){}function AB(){}function Y5(){}function P2(){}function E0(){}function dp(){}function m3(){}function v8(){}function N9(){}function LB(){}function kZ(){}function MB(){}function DB(){}function IB(){}function w8(){}function OB(){}function NB(){}function xZ(){}function m8(){}function y8(){}function fm(){}function wL(){}function EZ(){}function TZ(){}function _Z(){}function CZ(){}function SZ(){}function AZ(){}function LZ(){}function MZ(){}function PB(){}function DZ(){}function IZ(){}function OZ(){}function BB(){}function k8(){}function P9(){}function FB(){}function NZ(){}function RB(){}function jB(){}function PZ(){}function B9(){}function dm(){}function $B(){}function HB(){}function BZ(){}function FZ(){}function F9(){}function zB(){}function GB(){}function mc(){}function RZ(){}function qB(){}function R9(){}function jZ(){}function $Z(){}function j9(){}function VB(){}function $9(){}function H9(){}function Gf(){}function mL(){}function yL(){}function X5(){}function HZ(){}function zZ(){}function GZ(){}function qZ(){}function gm(){}function UB(){}function Q5(){}function v1(){}function KB(){}function WB(){}function YB(){}function XB(){}function QB(){}function ZB(){}function qf(){}function mu(){}function VZ(){}function UZ(){}function KZ(){}function yu(){}function z9(){}function JB(){}function eF(){}function Z5(){}function WZ(){}function x8(){}function YZ(){}function tF(){}function XZ(){}function QZ(){}function G9(){}function nF(){}function kL(){}function q9(){}function ZZ(){}function JZ(){}function xL(){}function V9(){}function w1(){}function E8(){}function eJ(){}function T8(){}function EL(){}function B2(){}function U9(){}function TL(){}function Vf(){}function K9(){}function m1(){}function y1(){}function tJ(){}function nJ(){}function y3(){}function _8(){}function C8(){}function W9(){}function rJ(){}function J5(){}function _L(){}function rF(){}function iJ(){}function Y9(){gT()}function sJ(){Jre()}function iF(){H_()}function CL(){EH()}function aJ(){K3e()}function X9(){r1()}function oJ(){i3e()}function cJ(){OD()}function uJ(){ZL()}function lJ(){QL()}function hJ(){TM()}function sF(){Mze()}function fJ(){G6()}function dJ(){iR()}function gJ(){HQe()}function aF(){eet()}function pJ(){mZe()}function bJ(){BYe()}function Q9(){Gx()}function vJ(){Up()}function wJ(){tet()}function mJ(){LXe()}function yJ(){$5e()}function kJ(){qrt()}function xJ(){FYe()}function oF(){mt()}function EJ(){PYe()}function cF(){net()}function TJ(){ott()}function SL(){jYe()}function _J(){TZe()}function uF(){Dze()}function CJ(){A4e()}function lF(){Qm()}function SJ(){Det()}function hF(){FD()}function fF(){Ase()}function dF(){Pie()}function AL(){tw()}function k3(){Tme()}function Z9(){RYe()}function od(){Zot()}function gF(){_4e()}function S8(){yse()}function LL(){c$()}function AJ(){MH()}function gp(){di()}function pF(){V$()}function bF(){Iye()}function vF(){YH()}function ch(){_Ue()}function ML(){Fre()}function wF(){f5e()}function A8(e){An(e)}function J9(e){this.a=e}function L8(e){this.a=e}function mF(e){this.a=e}function e6(e){this.a=e}function rv(e){this.a=e}function M8(e){this.a=e}function yF(e){this.a=e}function LJ(e){this.a=e}function DL(e){this.a=e}function x3(e){this.a=e}function IL(e){this.a=e}function eT(e){this.a=e}function MJ(e){this.a=e}function tT(e){this.a=e}function nT(e){this.a=e}function t6(e){this.a=e}function OL(e){this.a=e}function NL(e){this.a=e}function DJ(e){this.a=e}function IJ(e){this.a=e}function OJ(e){this.a=e}function kF(e){this.b=e}function NJ(e){this.c=e}function PJ(e){this.a=e}function BJ(e){this.a=e}function FJ(e){this.a=e}function RJ(e){this.a=e}function jJ(e){this.a=e}function $J(e){this.a=e}function HJ(e){this.a=e}function zJ(e){this.a=e}function n6(e){this.a=e}function GJ(e){this.a=e}function D8(e){this.a=e}function Dh(e){this.a=e}function qJ(e){this.a=e}function r6(e){this.a=e}function I8(e){this.a=e}function rT(e){this.a=e}function O8(e){this.a=e}function cg(){this.a=[]}function VJ(e,t){e.a=t}function dge(e,t){e.a=t}function gge(e,t){e.b=t}function pge(e,t){e.b=t}function bge(e,t){e.b=t}function PL(e,t){e.j=t}function vge(e,t){e.g=t}function wge(e,t){e.i=t}function UJ(e,t){e.c=t}function k1(e,t){e.d=t}function KJ(e,t){e.d=t}function mge(e,t){e.c=t}function T0(e,t){e.k=t}function WJ(e,t){e.c=t}function xF(e,t){e.c=t}function EF(e,t){e.a=t}function YJ(e,t){e.a=t}function yge(e,t){e.f=t}function kge(e,t){e.a=t}function iv(e,t){e.b=t}function BL(e,t){e.d=t}function iT(e,t){e.i=t}function TF(e,t){e.o=t}function xge(e,t){e.r=t}function Ege(e,t){e.a=t}function _F(e,t){e.b=t}function sv(e,t){e.e=t}function XJ(e,t){e.f=t}function sT(e,t){e.g=t}function i6(e,t){e.e=t}function Tge(e,t){e.f=t}function N8(e,t){e.f=t}function QJ(e,t){e.n=t}function ug(e,t){e.a=t}function _ge(e,t){e.a=t}function E3(e,t){e.c=t}function ZJ(e,t){e.c=t}function JJ(e,t){e.d=t}function CF(e,t){e.e=t}function SF(e,t){e.g=t}function eee(e,t){e.a=t}function P8(e,t){e.c=t}function aT(e,t){e.d=t}function Cge(e,t){e.e=t}function tee(e,t){e.f=t}function nee(e,t){e.j=t}function ree(e,t){e.a=t}function Sge(e,t){e.b=t}function Sc(e,t){e.a=t}function AF(e){e.b=e.a}function iee(e){e.c=e.d.d}function s6(e){this.d=e}function lg(e){this.a=e}function pm(e){this.a=e}function FL(e){this.a=e}function x1(e){this.a=e}function a6(e){this.a=e}function see(e){this.a=e}function LF(e){this.a=e}function T3(e){this.a=e}function RL(e){this.a=e}function bm(e){this.a=e}function MF(e){this.a=e}function E1(e){this.a=e}function m(e){this.a=e}function g(e){this.a=e}function y(e){this.b=e}function E(e){this.b=e}function S(e){this.b=e}function D(e){this.a=e}function I(e){this.a=e}function R(e){this.a=e}function $(e){this.c=e}function C(e){this.c=e}function G(e){this.c=e}function U(e){this.a=e}function J(e){this.a=e}function te(e){this.a=e}function se(e){this.a=e}function oe(e){this.a=e}function Ce(e){this.a=e}function ve(e){this.a=e}function Ae(e){this.a=e}function Le(e){this.a=e}function Be(e){this.a=e}function Xe(e){this.a=e}function Ue(e){this.a=e}function Fe(e){this.a=e}function et(e){this.a=e}function ze(e){this.a=e}function ut(e){this.a=e}function ht(e){this.a=e}function tt(e){this.a=e}function Dt(e){this.a=e}function ft(e){this.a=e}function ln(e){this.a=e}function Rt(e){this.a=e}function Ht(e){this.a=e}function wn(e){this.a=e}function Sn(e){this.a=e}function Kn(e){this.a=e}function xn(e){this.a=e}function Un(e){this.a=e}function ar(e){this.a=e}function xr(e){this.a=e}function fr(e){this.a=e}function rr(e){this.a=e}function gn(e){this.a=e}function mr(e){this.a=e}function pr(e){this.a=e}function ri(e){this.a=e}function Ti(e){this.a=e}function ia(e){this.a=e}function Ra(e){this.a=e}function Li(e){this.a=e}function vi(e){this.a=e}function Ts(e){this.a=e}function Wi(e){this.a=e}function Ii(e){this.a=e}function es(e){this.a=e}function to(e){this.e=e}function sa(e){this.a=e}function Ws(e){this.a=e}function Cr(e){this.a=e}function Ye(e){this.a=e}function Pn(e){this.a=e}function Dr(e){this.a=e}function or(e){this.a=e}function cr(e){this.a=e}function Ua(e){this.a=e}function qr(e){this.a=e}function ns(e){this.a=e}function qo(e){this.a=e}function Hc(e){this.a=e}function uo(e){this.a=e}function Ac(e){this.a=e}function ja(e){this.a=e}function lo(e){this.a=e}function _l(e){this.a=e}function Uf(e){this.a=e}function pp(e){this.a=e}function bp(e){this.a=e}function Kf(e){this.a=e}function hg(e){this.a=e}function cd(e){this.a=e}function av(e){this.a=e}function vm(e){this.a=e}function o6(e){this.a=e}function _3(e){this.a=e}function c6(e){this.a=e}function oT(e){this.a=e}function C3(e){this.a=e}function Hd(e){this.a=e}function T1(e){this.a=e}function zd(e){this.a=e}function cT(e){this.a=e}function F2(e){this.a=e}function DF(e){this.a=e}function aee(e){this.a=e}function oee(e){this.a=e}function cee(e){this.a=e}function uee(e){this.a=e}function lee(e){this.a=e}function hee(e){this.a=e}function fee(e){this.a=e}function B8(e){this.a=e}function jL(e){this.a=e}function uT(e){this.a=e}function IF(e){this.a=e}function OF(e){this.a=e}function dee(e){this.a=e}function vp(e){this.a=e}function $L(e){this.a=e}function NF(e){this.a=e}function F8(e){this.c=e}function wp(e){this.b=e}function gee(e){this.a=e}function yRe(e){this.a=e}function kRe(e){this.a=e}function xRe(e){this.a=e}function ERe(e){this.a=e}function TRe(e){this.a=e}function _Re(e){this.a=e}function CRe(e){this.a=e}function SRe(e){this.a=e}function ARe(e){this.a=e}function LRe(e){this.a=e}function MRe(e){this.a=e}function DRe(e){this.a=e}function IRe(e){this.a=e}function ORe(e){this.a=e}function NRe(e){this.a=e}function PRe(e){this.a=e}function BRe(e){this.a=e}function FRe(e){this.a=e}function RRe(e){this.a=e}function jRe(e){this.a=e}function $Re(e){this.a=e}function HRe(e){this.a=e}function zRe(e){this.a=e}function mp(e){this.a=e}function u6(e){this.a=e}function GRe(e){this.a=e}function qRe(e){this.a=e}function VRe(e){this.a=e}function URe(e){this.a=e}function KRe(e){this.a=e}function WRe(e){this.a=e}function YRe(e){this.a=e}function XRe(e){this.a=e}function QRe(e){this.a=e}function ZRe(e){this.a=e}function JRe(e){this.a=e}function eje(e){this.a=e}function tje(e){this.a=e}function nje(e){this.a=e}function rje(e){this.a=e}function ije(e){this.a=e}function PF(e){this.a=e}function sje(e){this.a=e}function aje(e){this.a=e}function oje(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function fje(e){this.a=e}function dje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function bje(e){this.a=e}function vje(e){this.a=e}function wje(e){this.a=e}function mje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function xje(e){this.a=e}function Eje(e){this.a=e}function Tje(e){this.a=e}function _je(e){this.a=e}function Cje(e){this.a=e}function Sje(e){this.a=e}function Aje(e){this.a=e}function Lje(e){this.a=e}function Mje(e){this.a=e}function Dje(e){this.a=e}function Ije(e){this.a=e}function Age(e){this.a=e}function Qi(e){this.b=e}function Oje(e){this.f=e}function Lge(e){this.a=e}function Nje(e){this.a=e}function Pje(e){this.a=e}function Bje(e){this.a=e}function Fje(e){this.a=e}function Rje(e){this.a=e}function jje(e){this.a=e}function $je(e){this.a=e}function Hje(e){this.a=e}function HL(e){this.a=e}function zje(e){this.a=e}function Gje(e){this.b=e}function Mge(e){this.c=e}function BF(e){this.e=e}function qje(e){this.a=e}function FF(e){this.a=e}function RF(e){this.a=e}function pee(e){this.a=e}function Vje(e){this.a=e}function Uje(e){this.d=e}function Dge(e){this.a=e}function Ige(e){this.a=e}function ov(e){this.e=e}function Gzt(){this.a=0}function S3(){_qe(this)}function at(){kte(this)}function Ar(){il(this)}function bee(){LWe(this)}function Kje(){}function cv(){this.c=fAe}function qzt(e,t){t.Wb(e)}function Wje(e,t){e.b+=t}function Yje(e){e.b=new Oee}function ee(e){return e.e}function Vzt(e){return e.a}function Uzt(e){return e.a}function Kzt(e){return e.a}function Wzt(e){return e.a}function Yzt(e){return e.a}function Xzt(){return null}function Qzt(){return null}function Zzt(){wpe(),uwn()}function Jzt(e){e.b.tf(e.e)}function lT(e,t){e.b=t-e.b}function hT(e,t){e.a=t-e.a}function Xje(e,t){t.ad(e.a)}function eGt(e,t){qs(t,e)}function tGt(e,t,n){e.Od(n,t)}function zL(e,t){e.e=t,t.b=e}function Oge(e){gd(),this.a=e}function Qje(e){gd(),this.a=e}function Zje(e){gd(),this.a=e}function Nge(e){Pm(),this.a=e}function Jje(e){gx(),Wce.be(e)}function R2(){cVe.call(this)}function Pge(){cVe.call(this)}function Bge(){R2.call(this)}function vee(){R2.call(this)}function e$e(){R2.call(this)}function GL(){R2.call(this)}function ju(){R2.call(this)}function fT(){R2.call(this)}function Rr(){R2.call(this)}function uh(){R2.call(this)}function t$e(){R2.call(this)}function yc(){R2.call(this)}function n$e(){R2.call(this)}function r$e(){this.a=this}function jF(){this.Bb|=256}function i$e(){this.b=new aqe}function Fge(){Fge=de,new Ar}function Rge(){Bge.call(this)}function s$e(e,t){e.length=t}function $F(e,t){st(e.a,t)}function nGt(e,t){Y3e(e.c,t)}function rGt(e,t){zs(e.b,t)}function iGt(e,t){vH(e.a,t)}function sGt(e,t){cie(e.a,t)}function R8(e,t){_i(e.e,t)}function l6(e){OH(e.c,e.b)}function aGt(e,t){e.kc().Nb(t)}function jge(e){this.a=isn(e)}function Ys(){this.a=new Ar}function a$e(){this.a=new Ar}function HF(){this.a=new at}function wee(){this.a=new at}function $ge(){this.a=new at}function Ih(){this.a=new Ks}function j2(){this.a=new FQe}function Hge(){this.a=new s8}function zge(){this.a=new xze}function o$e(){this.a=new lXe}function Gge(){this.a=new CYe}function qge(){this.a=new XVe}function c$e(){this.a=new at}function Vge(){this.a=new at}function u$e(){this.a=new at}function l$e(){this.a=new at}function h$e(){this.d=new at}function f$e(){this.a=new Ys}function d$e(){this.a=new Ar}function g$e(){this.b=new Ar}function p$e(){this.b=new at}function Uge(){this.e=new at}function b$e(){this.d=new at}function v$e(){this.a=new vJ}function w$e(){at.call(this)}function Kge(){HF.call(this)}function m$e(){XR.call(this)}function y$e(){Vge.call(this)}function mee(){dT.call(this)}function dT(){Kje.call(this)}function h6(){Kje.call(this)}function Wge(){h6.call(this)}function k$e(){rYe.call(this)}function x$e(){rYe.call(this)}function E$e(){tpe.call(this)}function T$e(){tpe.call(this)}function _$e(){tpe.call(this)}function C$e(){npe.call(this)}function $u(){as.call(this)}function Yge(){hm.call(this)}function Xge(){hm.call(this)}function S$e(){G$e.call(this)}function A$e(){G$e.call(this)}function L$e(){Ar.call(this)}function M$e(){Ar.call(this)}function D$e(){Ar.call(this)}function I$e(){Ys.call(this)}function yee(){QJe.call(this)}function O$e(){jF.call(this)}function kee(){C2e.call(this)}function xee(){C2e.call(this)}function Qge(){Ar.call(this)}function Eee(){Ar.call(this)}function N$e(){Ar.call(this)}function Zge(){b8.call(this)}function P$e(){b8.call(this)}function B$e(){Zge.call(this)}function F$e(){_L.call(this)}function R$e(e){xJe.call(this,e)}function j$e(e){xJe.call(this,e)}function Jge(e){DL.call(this,e)}function epe(e){fze.call(this,e)}function oGt(e){epe.call(this,e)}function cGt(e){fze.call(this,e)}function j8(){this.a=new as}function tpe(){this.a=new Ys}function npe(){this.a=new Ar}function $$e(){this.a=new at}function H$e(){this.j=new at}function rpe(){this.a=new yB}function z$e(){this.a=new FHe}function G$e(){this.a=new CB}function Tee(){Tee=de,zce=new oHe}function _ee(){_ee=de,Hce=new aHe}function gT(){gT=de,$ce=new N}function zF(){zF=de,Vce=new aVe}function uGt(e){epe.call(this,e)}function lGt(e){epe.call(this,e)}function q$e(e){tre.call(this,e)}function V$e(e){tre.call(this,e)}function U$e(e){wUe.call(this,e)}function Cee(e){Mln.call(this,e)}function uv(e){km.call(this,e)}function pT(e){eR.call(this,e)}function ipe(e){eR.call(this,e)}function K$e(e){eR.call(this,e)}function ec(e){IKe.call(this,e)}function W$e(e){ec.call(this,e)}function f6(){O8.call(this,{})}function GF(e){J8(),this.a=e}function bT(e){e.b=null,e.c=0}function hGt(e,t){e.e=t,Qat(e,t)}function fGt(e,t){e.a=t,bhn(e)}function See(e,t,n){e.a[t.g]=n}function dGt(e,t,n){Icn(n,e,t)}function gGt(e,t){jUt(t.i,e.n)}function Y$e(e,t){$rn(e).td(t)}function pGt(e,t){return e*e/t}function X$e(e,t){return e.g-t.g}function bGt(e){return new rT(e)}function vGt(e){return new Nm(e)}function qF(e){ec.call(this,e)}function Mo(e){ec.call(this,e)}function Q$e(e){ec.call(this,e)}function Aee(e){IKe.call(this,e)}function Lee(e){xme(),this.a=e}function Z$e(e){TUe(),this.a=e}function wm(e){sne(),this.f=e}function Mee(e){sne(),this.f=e}function $8(e){ec.call(this,e)}function Dn(e){ec.call(this,e)}function Vo(e){ec.call(this,e)}function J$e(e){ec.call(this,e)}function d6(e){ec.call(this,e)}function Bt(e){return An(e),e}function We(e){return An(e),e}function qL(e){return An(e),e}function spe(e){return An(e),e}function wGt(e){return An(e),e}function vT(e){return e.b==e.c}function mm(e){return!!e&&e.b}function mGt(e){return!!e&&e.k}function yGt(e){return!!e&&e.j}function Cl(e){An(e),this.a=e}function ape(e){return rb(e),e}function wT(e){wve(e,e.length)}function fg(e){ec.call(this,e)}function ud(e){ec.call(this,e)}function Dee(e){ec.call(this,e)}function A3(e){ec.call(this,e)}function mT(e){ec.call(this,e)}function $r(e){ec.call(this,e)}function Iee(e){q2e.call(this,e,0)}function Oee(){Zve.call(this,12,3)}function ope(){ope=de,cxe=new we}function eHe(){eHe=de,oxe=new A}function VF(){VF=de,zC=new xe}function tHe(){tHe=de,Idt=new Me}function nHe(){throw ee(new Rr)}function cpe(){throw ee(new Rr)}function rHe(){throw ee(new Rr)}function kGt(){throw ee(new Rr)}function xGt(){throw ee(new Rr)}function EGt(){throw ee(new Rr)}function Nee(){this.a=Hr(Or(so))}function g6(e){gd(),this.a=Or(e)}function iHe(e,t){e.Td(t),t.Sd(e)}function TGt(e,t){e.a.ec().Mc(t)}function _Gt(e,t,n){e.c.lf(t,n)}function upe(e){Mo.call(this,e)}function ld(e){Dn.call(this,e)}function dg(){a6.call(this,"")}function yT(){a6.call(this,"")}function yp(){a6.call(this,"")}function ym(){a6.call(this,"")}function lpe(e){Mo.call(this,e)}function H8(e){E.call(this,e)}function Pee(e){HR.call(this,e)}function sHe(e){H8.call(this,e)}function aHe(){tT.call(this,null)}function oHe(){tT.call(this,null)}function UF(){UF=de,gx()}function cHe(){cHe=de,zdt=sun()}function uHe(e){return e.a?e.b:0}function CGt(e){return e.a?e.b:0}function SGt(e,t){return e.a-t.a}function AGt(e,t){return e.a-t.a}function LGt(e,t){return e.a-t.a}function KF(e,t){return zwe(e,t)}function ne(e,t){return LYe(e,t)}function MGt(e,t){return t in e.a}function lHe(e,t){return e.f=t,e}function DGt(e,t){return e.b=t,e}function hHe(e,t){return e.c=t,e}function IGt(e,t){return e.g=t,e}function hpe(e,t){return e.a=t,e}function fpe(e,t){return e.f=t,e}function OGt(e,t){return e.k=t,e}function dpe(e,t){return e.a=t,e}function NGt(e,t){return e.e=t,e}function gpe(e,t){return e.e=t,e}function PGt(e,t){return e.f=t,e}function BGt(e,t){e.b=!0,e.d=t}function FGt(e,t){e.b=new Do(t)}function RGt(e,t,n){t.td(e.a[n])}function jGt(e,t,n){t.we(e.a[n])}function $Gt(e,t){return e.b-t.b}function HGt(e,t){return e.g-t.g}function zGt(e,t){return e.s-t.s}function GGt(e,t){return e?0:t-1}function fHe(e,t){return e?0:t-1}function qGt(e,t){return e?t-1:0}function VGt(e,t){return t.Yf(e)}function lv(e,t){return e.b=t,e}function WF(e,t){return e.a=t,e}function hv(e,t){return e.c=t,e}function fv(e,t){return e.d=t,e}function dv(e,t){return e.e=t,e}function ppe(e,t){return e.f=t,e}function kT(e,t){return e.a=t,e}function z8(e,t){return e.b=t,e}function G8(e,t){return e.c=t,e}function Wt(e,t){return e.c=t,e}function vn(e,t){return e.b=t,e}function Yt(e,t){return e.d=t,e}function Xt(e,t){return e.e=t,e}function UGt(e,t){return e.f=t,e}function Qt(e,t){return e.g=t,e}function Zt(e,t){return e.a=t,e}function Jt(e,t){return e.i=t,e}function en(e,t){return e.j=t,e}function dHe(e,t){return e.k=t,e}function KGt(e,t){return e.j=t,e}function WGt(e,t){Up(),nc(t,e)}function YGt(e,t,n){GYt(e.a,t,n)}function gHe(e){DWe.call(this,e)}function bpe(e){DWe.call(this,e)}function YF(e){zte.call(this,e)}function pHe(e){fsn.call(this,e)}function kp(e){Rv.call(this,e)}function bHe(e){Mne.call(this,e)}function vHe(e){Mne.call(this,e)}function wHe(){k2e.call(this,"")}function $a(){this.a=0,this.b=0}function mHe(){this.b=0,this.a=0}function yHe(e,t){e.b=0,Vm(e,t)}function XGt(e,t){e.c=t,e.b=!0}function kHe(e,t){return e.c._b(t)}function Wf(e){return e.e&&e.e()}function Bee(e){return e?e.d:null}function xHe(e,t){return Xtt(e.b,t)}function QGt(e){return e?e.g:null}function ZGt(e){return e?e.i:null}function xp(e){return S0(e),e.o}function gv(){gv=de,$yt=bcn()}function EHe(){EHe=de,la=Aun()}function q8(){q8=de,hAe=wcn()}function THe(){THe=de,T3t=vcn()}function vpe(){vpe=de,_c=dhn()}function wpe(){wpe=de,w2=Dx()}function _He(){throw ee(new Rr)}function CHe(){throw ee(new Rr)}function SHe(){throw ee(new Rr)}function AHe(){throw ee(new Rr)}function LHe(){throw ee(new Rr)}function MHe(){throw ee(new Rr)}function XF(e){this.a=new p6(e)}function mpe(e){Sut(),xwn(this,e)}function Ep(e){this.a=new une(e)}function L3(e,t){for(;e.ye(t););}function ype(e,t){for(;e.sd(t););}function M3(e,t){return e.a+=t,e}function Fee(e,t){return e.a+=t,e}function gg(e,t){return e.a+=t,e}function pv(e,t){return e.a+=t,e}function xT(e){return Np(e),e.a}function QF(e){return e.b!=e.d.c}function DHe(e){return e.l|e.m<<22}function kpe(e,t){return e.d[t.p]}function IHe(e,t){return n0n(e,t)}function xpe(e,t,n){e.splice(t,n)}function OHe(e){e.c?wot(e):mot(e)}function ZF(e){this.a=0,this.b=e}function NHe(){this.a=new KD(T_e)}function PHe(){this.b=new KD(l_e)}function BHe(){this.b=new KD(dhe)}function FHe(){this.b=new KD(dhe)}function RHe(){throw ee(new Rr)}function jHe(){throw ee(new Rr)}function $He(){throw ee(new Rr)}function HHe(){throw ee(new Rr)}function zHe(){throw ee(new Rr)}function GHe(){throw ee(new Rr)}function qHe(){throw ee(new Rr)}function VHe(){throw ee(new Rr)}function UHe(){throw ee(new Rr)}function KHe(){throw ee(new Rr)}function JGt(){throw ee(new yc)}function eqt(){throw ee(new yc)}function VL(e){this.a=new WHe(e)}function WHe(e){hnn(this,e,hun())}function UL(e){return!e||pWe(e)}function KL(e){return Z1[e]!=-1}function tqt(){bG!=0&&(bG=0),vG=-1}function YHe(){jce==null&&(jce=[])}function nqt(e,t){pse(qe(e.a),t)}function rqt(e,t){pse(qe(e.a),t)}function WL(e,t){j3.call(this,e,t)}function V8(e,t){WL.call(this,e,t)}function Epe(e,t){this.b=e,this.c=t}function XHe(e,t){this.b=e,this.a=t}function QHe(e,t){this.a=e,this.b=t}function ZHe(e,t){this.a=e,this.b=t}function JHe(e,t){this.a=e,this.b=t}function eze(e,t){this.a=e,this.b=t}function tze(e,t){this.a=e,this.b=t}function nze(e,t){this.a=e,this.b=t}function rze(e,t){this.a=e,this.b=t}function ize(e,t){this.a=e,this.b=t}function sze(e,t){this.b=e,this.a=t}function aze(e,t){this.b=e,this.a=t}function oze(e,t){this.b=e,this.a=t}function cze(e,t){this.b=e,this.a=t}function Wr(e,t){this.f=e,this.g=t}function U8(e,t){this.e=e,this.d=t}function bv(e,t){this.g=e,this.i=t}function Ree(e,t){this.a=e,this.b=t}function uze(e,t){this.a=e,this.f=t}function lze(e,t){this.b=e,this.c=t}function iqt(e,t){this.a=e,this.b=t}function hze(e,t){this.a=e,this.b=t}function jee(e,t){this.a=e,this.b=t}function fze(e){O2e(e.dc()),this.c=e}function JF(e){this.b=u(Or(e),83)}function dze(e){this.a=u(Or(e),83)}function km(e){this.a=u(Or(e),15)}function gze(e){this.a=u(Or(e),15)}function eR(e){this.b=u(Or(e),47)}function tR(){this.q=new b.Date}function Gd(){Gd=de,Exe=new ct}function K8(){K8=de,z7=new Re}function ET(e){return e.f.c+e.g.c}function YL(e,t){return e.b.Hc(t)}function pze(e,t){return e.b.Ic(t)}function bze(e,t){return e.b.Qc(t)}function vze(e,t){return e.b.Hc(t)}function wze(e,t){return e.c.uc(t)}function _0(e,t){return e.a._b(t)}function mze(e,t){return Ci(e.c,t)}function yze(e,t){return Ml(e.b,t)}function kze(e,t){return e>t&&t<hC}function sqt(e,t){return e.Gc(t),e}function aqt(e,t){return ro(e,t),e}function oqt(e){return lWe(),e?Ddt:Mdt}function p6(e){ctt.call(this,e,0)}function xze(){une.call(this,null)}function Tpe(){hre.call(this,null)}function b6(e){this.c=e,tJe(this)}function as(){Oqe(this),Ph(this)}function ms(e,t){Np(e),e.a.Nb(t)}function Eze(e,t){return e.Gc(t),e}function cqt(e,t){return e.a.f=t,e}function Tze(e,t){return e.a.d=t,e}function _ze(e,t){return e.a.g=t,e}function Cze(e,t){return e.a.j=t,e}function ff(e,t){return e.a.a=t,e}function df(e,t){return e.a.d=t,e}function gf(e,t){return e.a.e=t,e}function pf(e,t){return e.a.g=t,e}function XL(e,t){return e.a.f=t,e}function uqt(e){return e.b=!1,e}function W8(){W8=de,Pxe=new oqe}function nR(){nR=de,qdt=new cqe}function Y8(){Y8=de,Hxe=new Lt}function Sze(){Sze=de,qgt=new am}function rR(){rR=de,lue=new mVe}function $2(){$2=de,G7=new da}function TT(){TT=de,Ugt=new JA}function Aze(){Aze=de,e0t=new vr}function _pe(){_pe=de,Ogt=new d9}function QL(){QL=de,Ygt=new $a}function Lze(){Lze=de,Ngt=new x0}function Cpe(){Cpe=de,Pgt=new TKe}function Spe(){Spe=de,R7e=new cp}function ZL(){ZL=de,Xgt=new b9}function Mze(){Mze=de,ept=new ev}function _T(){_T=de,apt=new tX}function iR(){iR=de,O4=new fX}function Dze(){Dze=de,Awt=new Xs}function sR(){sR=de,ghe=new Oze}function aR(){aR=de,phe=new OVe}function CT(){CT=de,mO=new EWe}function oR(){oR=de,Xbt=new gZ}function Ize(){JJe(),this.c=new Oee}function Oze(){Wr.call(this,Eht,0)}function vv(e,t){cb(e.c.b,t.c,t)}function ST(e,t){cb(e.c.c,t.b,t)}function lqt(e,t,n){Io(e.d,t.f,n)}function hqt(e,t,n,r){Han(e,r,t,n)}function fqt(e,t,n,r){udn(r,e,t,n)}function dqt(e,t,n,r){Cvn(r,e,t,n)}function cR(e,t){return e.a=t.g,e}function Nze(e,t){return Xon(e.a,t)}function gqt(e){return e.b?e.b:e.a}function pqt(e){return(e.c+e.a)/2}function xm(){xm=de,Ryt=new wZ}function Pze(){Pze=de,Uyt=new mZ}function Bze(){Bze=de,s3t=new M$e}function Fze(){Fze=de,a3t=new D$e}function Tp(){Tp=de,tf=new Qge}function Ape(){Ape=de,lAe=new N$e}function AT(){AT=de,Jhe=new jqe}function pg(){pg=de,VO=new $qe}function $ee(){$ee=de,y3t=new GZ}function ho(){ho=de,x3t=new qZ}function uR(){uR=de,DV=new Ar}function Lpe(){Lpe=de,kAe=new at}function _p(){_p=de,x2=new iJ}function bqt(e){b.clearTimeout(e)}function Mpe(e){this.a=u(Or(e),224)}function lR(e){return u(e,42).cd()}function JL(e){return e.b<e.d.gc()}function Rze(e,t){return nne(e.a,t)}function jze(e,t){return Lc(e,t)>0}function Hee(e,t){return Lc(e,t)<0}function LT(e,t){return e.a.get(t)}function vqt(e,t){return t.split(e)}function $ze(e,t){return Ml(e.e,t)}function Dpe(e){return An(e),!1}function hR(e){kn.call(this,e,21)}function wqt(e,t){vYe.call(this,e,t)}function fR(e,t){Wr.call(this,e,t)}function zee(e,t){Wr.call(this,e,t)}function Ipe(e){xne(),wUe.call(this,e)}function Ope(e,t){kKe(e,e.length,t)}function eM(e,t){XKe(e,e.length,t)}function mqt(e,t,n){t.ud(e.a.Ge(n))}function yqt(e,t,n){t.we(e.a.Fe(n))}function kqt(e,t,n){t.td(e.a.Kb(n))}function xqt(e,t,n){e.Mb(n)&&t.td(n)}function MT(e,t,n){e.splice(t,0,n)}function Eqt(e,t){return zu(e.e,t)}function dR(e,t){this.d=e,this.e=t}function Hze(e,t){this.b=e,this.a=t}function zze(e,t){this.b=e,this.a=t}function Npe(e,t){this.b=e,this.a=t}function Gze(e,t){this.a=e,this.b=t}function qze(e,t){this.a=e,this.b=t}function Vze(e,t){this.a=e,this.b=t}function Uze(e,t){this.a=e,this.b=t}function v6(e,t){this.a=e,this.b=t}function Ppe(e,t){this.b=e,this.a=t}function Bpe(e,t){this.b=e,this.a=t}function gR(e,t){Wr.call(this,e,t)}function pR(e,t){Wr.call(this,e,t)}function Fpe(e,t){Wr.call(this,e,t)}function Rpe(e,t){Wr.call(this,e,t)}function D3(e,t){Wr.call(this,e,t)}function Gee(e,t){Wr.call(this,e,t)}function qee(e,t){Wr.call(this,e,t)}function Vee(e,t){Wr.call(this,e,t)}function bR(e,t){Wr.call(this,e,t)}function jpe(e,t){Wr.call(this,e,t)}function Uee(e,t){Wr.call(this,e,t)}function tM(e,t){Wr.call(this,e,t)}function vR(e,t){Wr.call(this,e,t)}function Kee(e,t){Wr.call(this,e,t)}function DT(e,t){Wr.call(this,e,t)}function $pe(e,t){Wr.call(this,e,t)}function Cs(e,t){Wr.call(this,e,t)}function wR(e,t){Wr.call(this,e,t)}function Kze(e,t){this.a=e,this.b=t}function Wze(e,t){this.a=e,this.b=t}function Yze(e,t){this.a=e,this.b=t}function Xze(e,t){this.a=e,this.b=t}function Qze(e,t){this.a=e,this.b=t}function Zze(e,t){this.a=e,this.b=t}function Jze(e,t){this.a=e,this.b=t}function eGe(e,t){this.a=e,this.b=t}function tGe(e,t){this.a=e,this.b=t}function Hpe(e,t){this.b=e,this.a=t}function nGe(e,t){this.b=e,this.a=t}function rGe(e,t){this.b=e,this.a=t}function iGe(e,t){this.b=e,this.a=t}function X8(e,t){this.c=e,this.d=t}function sGe(e,t){this.e=e,this.d=t}function aGe(e,t){this.a=e,this.b=t}function oGe(e,t){this.b=t,this.c=e}function mR(e,t){Wr.call(this,e,t)}function nM(e,t){Wr.call(this,e,t)}function Wee(e,t){Wr.call(this,e,t)}function IT(e,t){Wr.call(this,e,t)}function zpe(e,t){Wr.call(this,e,t)}function Yee(e,t){Wr.call(this,e,t)}function Xee(e,t){Wr.call(this,e,t)}function rM(e,t){Wr.call(this,e,t)}function Gpe(e,t){Wr.call(this,e,t)}function Qee(e,t){Wr.call(this,e,t)}function OT(e,t){Wr.call(this,e,t)}function qpe(e,t){Wr.call(this,e,t)}function NT(e,t){Wr.call(this,e,t)}function PT(e,t){Wr.call(this,e,t)}function Em(e,t){Wr.call(this,e,t)}function Zee(e,t){Wr.call(this,e,t)}function Jee(e,t){Wr.call(this,e,t)}function Vpe(e,t){Wr.call(this,e,t)}function BT(e,t){Wr.call(this,e,t)}function ete(e,t){Wr.call(this,e,t)}function yR(e,t){Wr.call(this,e,t)}function iM(e,t){Wr.call(this,e,t)}function sM(e,t){Wr.call(this,e,t)}function w6(e,t){Wr.call(this,e,t)}function tte(e,t){Wr.call(this,e,t)}function Upe(e,t){Wr.call(this,e,t)}function nte(e,t){Wr.call(this,e,t)}function rte(e,t){Wr.call(this,e,t)}function Kpe(e,t){Wr.call(this,e,t)}function ite(e,t){Wr.call(this,e,t)}function ste(e,t){Wr.call(this,e,t)}function ate(e,t){Wr.call(this,e,t)}function ote(e,t){Wr.call(this,e,t)}function Wpe(e,t){Wr.call(this,e,t)}function cGe(e,t){this.b=e,this.a=t}function uGe(e,t){this.a=e,this.b=t}function lGe(e,t){this.a=e,this.b=t}function hGe(e,t){this.a=e,this.b=t}function fGe(e,t){this.a=e,this.b=t}function Ype(e,t){Wr.call(this,e,t)}function Xpe(e,t){Wr.call(this,e,t)}function dGe(e,t){this.b=e,this.d=t}function Qpe(e,t){Wr.call(this,e,t)}function Zpe(e,t){Wr.call(this,e,t)}function gGe(e,t){this.a=e,this.b=t}function pGe(e,t){this.a=e,this.b=t}function kR(e,t){Wr.call(this,e,t)}function FT(e,t){Wr.call(this,e,t)}function Jpe(e,t){Wr.call(this,e,t)}function e2e(e,t){Wr.call(this,e,t)}function t2e(e,t){Wr.call(this,e,t)}function cte(e,t){Wr.call(this,e,t)}function n2e(e,t){Wr.call(this,e,t)}function ute(e,t){Wr.call(this,e,t)}function xR(e,t){Wr.call(this,e,t)}function lte(e,t){Wr.call(this,e,t)}function hte(e,t){Wr.call(this,e,t)}function aM(e,t){Wr.call(this,e,t)}function fte(e,t){Wr.call(this,e,t)}function r2e(e,t){Wr.call(this,e,t)}function oM(e,t){Wr.call(this,e,t)}function i2e(e,t){Wr.call(this,e,t)}function Tqt(e,t){return zu(e.c,t)}function _qt(e,t){return zu(t.b,e)}function Cqt(e,t){return-e.b.Je(t)}function s2e(e,t){return zu(e.g,t)}function cM(e,t){Wr.call(this,e,t)}function m6(e,t){Wr.call(this,e,t)}function bGe(e,t){this.a=e,this.b=t}function vGe(e,t){this.a=e,this.b=t}function Ft(e,t){this.a=e,this.b=t}function RT(e,t){Wr.call(this,e,t)}function jT(e,t){Wr.call(this,e,t)}function uM(e,t){Wr.call(this,e,t)}function dte(e,t){Wr.call(this,e,t)}function ER(e,t){Wr.call(this,e,t)}function $T(e,t){Wr.call(this,e,t)}function gte(e,t){Wr.call(this,e,t)}function TR(e,t){Wr.call(this,e,t)}function I3(e,t){Wr.call(this,e,t)}function lM(e,t){Wr.call(this,e,t)}function HT(e,t){Wr.call(this,e,t)}function zT(e,t){Wr.call(this,e,t)}function hM(e,t){Wr.call(this,e,t)}function _R(e,t){Wr.call(this,e,t)}function O3(e,t){Wr.call(this,e,t)}function CR(e,t){Wr.call(this,e,t)}function wGe(e,t){this.a=e,this.b=t}function mGe(e,t){this.a=e,this.b=t}function yGe(e,t){this.a=e,this.b=t}function kGe(e,t){this.a=e,this.b=t}function xGe(e,t){this.a=e,this.b=t}function EGe(e,t){this.a=e,this.b=t}function _a(e,t){this.a=e,this.b=t}function SR(e,t){Wr.call(this,e,t)}function TGe(e,t){this.a=e,this.b=t}function _Ge(e,t){this.a=e,this.b=t}function CGe(e,t){this.a=e,this.b=t}function SGe(e,t){this.a=e,this.b=t}function AGe(e,t){this.a=e,this.b=t}function LGe(e,t){this.a=e,this.b=t}function MGe(e,t){this.b=e,this.a=t}function DGe(e,t){this.b=e,this.a=t}function IGe(e,t){this.b=e,this.a=t}function OGe(e,t){this.b=e,this.a=t}function NGe(e,t){this.a=e,this.b=t}function PGe(e,t){this.a=e,this.b=t}function Sqt(e,t){rdn(e.a,u(t,56))}function BGe(e,t){ptn(e.a,u(t,11))}function Aqt(e,t){return ix(),t!=e}function FGe(){return cHe(),new zdt}function RGe(){Hne(),this.b=new Ys}function jGe(){$H(),this.a=new Ys}function $Ge(){Qve(),ave.call(this)}function y6(e,t){Wr.call(this,e,t)}function HGe(e,t){this.a=e,this.b=t}function zGe(e,t){this.a=e,this.b=t}function AR(e,t){this.a=e,this.b=t}function GGe(e,t){this.a=e,this.b=t}function qGe(e,t){this.a=e,this.b=t}function VGe(e,t){this.a=e,this.b=t}function UGe(e,t){this.d=e,this.b=t}function a2e(e,t){this.d=e,this.e=t}function KGe(e,t){this.f=e,this.c=t}function fM(e,t){this.b=e,this.c=t}function o2e(e,t){this.i=e,this.g=t}function WGe(e,t){this.e=e,this.a=t}function YGe(e,t){this.a=e,this.b=t}function c2e(e,t){e.i=null,M$(e,t)}function Lqt(e,t){e&&Si(zO,e,t)}function XGe(e,t){return mie(e.a,t)}function LR(e){return _D(e.c,e.b)}function hc(e){return e?e.dd():null}function $e(e){return e??null}function Tm(e){return typeof e===nk}function _m(e){return typeof e===H5e}function ga(e){return typeof e===sae}function Cp(e,t){return e.Hd().Xb(t)}function MR(e,t){return Vnn(e.Kc(),t)}function wv(e,t){return Lc(e,t)==0}function Mqt(e,t){return Lc(e,t)>=0}function GT(e,t){return Lc(e,t)!=0}function Dqt(e){return""+(An(e),e)}function dM(e,t){return e.substr(t)}function QGe(e){return bl(e),e.d.gc()}function pte(e){return Sfn(e,e.c),e}function DR(e){return n_(e==null),e}function qT(e,t){return e.a+=""+t,e}function To(e,t){return e.a+=""+t,e}function VT(e,t){return e.a+=""+t,e}function kc(e,t){return e.a+=""+t,e}function Yr(e,t){return e.a+=""+t,e}function u2e(e,t){return e.a+=""+t,e}function ZGe(e,t){ks(e,t,e.a,e.a.a)}function H2(e,t){ks(e,t,e.c.b,e.c)}function Iqt(e,t,n){uit(t,cse(e,n))}function Oqt(e,t,n){uit(t,cse(e,n))}function Nqt(e,t){Ctn(new ir(e),t)}function JGe(e,t){e.q.setTime(Pv(t))}function eqe(e,t){pve.call(this,e,t)}function tqe(e,t){pve.call(this,e,t)}function bte(e,t){pve.call(this,e,t)}function nqe(e){il(this),A_(this,e)}function l2e(e){return En(e,0),null}function Yf(e){return e.a=0,e.b=0,e}function rqe(e,t){return e.a=t.g+1,e}function Pqt(e,t){return e.j[t.p]==2}function h2e(e){return vXt(u(e,79))}function iqe(){iqe=de,B0t=Qr(_ie())}function sqe(){sqe=de,Jgt=Qr(Gat())}function aqe(){this.b=new p6(zm(12))}function oqe(){this.b=0,this.a=!1}function cqe(){this.b=0,this.a=!1}function UT(e){this.a=e,Y9.call(this)}function uqe(e){this.a=e,Y9.call(this)}function pn(e,t){Hs.call(this,e,t)}function vte(e,t){Mm.call(this,e,t)}function N3(e,t){o2e.call(this,e,t)}function wte(e,t){Bx.call(this,e,t)}function lqe(e,t){gM.call(this,e,t)}function ci(e,t){uR(),Si(DV,e,t)}function mte(e,t){return $l(e.a,0,t)}function hqe(e,t){return e.a.a.a.cc(t)}function fqe(e,t){return $e(e)===$e(t)}function Bqt(e,t){return Bs(e.a,t.a)}function Fqt(e,t){return ku(e.a,t.a)}function Rqt(e,t){return KKe(e.a,t.a)}function hd(e,t){return e.indexOf(t)}function mv(e,t){return e==t?0:e?1:-1}function IR(e){return e<10?"0"+e:""+e}function jqt(e){return Or(e),new UT(e)}function dqe(e){return cu(e.l,e.m,e.h)}function Q8(e){return _s((An(e),e))}function $qt(e){return _s((An(e),e))}function gqe(e,t){return ku(e.g,t.g)}function Uo(e){return typeof e===H5e}function Hqt(e){return e==bw||e==Ey}function zqt(e){return e==bw||e==xy}function f2e(e){return Ko(e.b.b,e,0)}function pqe(e){this.a=FGe(),this.b=e}function bqe(e){this.a=FGe(),this.b=e}function Gqt(e,t){return st(e.a,t),t}function qqt(e,t){return st(e.c,t),e}function vqe(e,t){return Ul(e.a,t),e}function Vqt(e,t){return vf(),t.a+=e}function Uqt(e,t){return vf(),t.a+=e}function Kqt(e,t){return vf(),t.c+=e}function d2e(e,t){xx(e,0,e.length,t)}function C0(){ve.call(this,new Y2)}function wqe(){hj.call(this,0,0,0,0)}function k6(){fh.call(this,0,0,0,0)}function Do(e){this.a=e.a,this.b=e.b}function Sp(e){return e==Wh||e==Lf}function Z8(e){return e==X0||e==Y0}function mqe(e){return e==U4||e==V4}function P3(e){return e!=Y1&&e!=g2}function Sl(e){return e.Lg()&&e.Mg()}function yqe(e){return Sj(u(e,118))}function OR(e){return Ul(new Xs,e)}function kqe(e,t){return new Bx(t,e)}function Wqt(e,t){return new Bx(t,e)}function g2e(e,t,n){x$(e,t),E$(e,n)}function NR(e,t,n){Hv(e,t),$v(e,n)}function _1(e,t,n){Au(e,t),Lu(e,n)}function PR(e,t,n){Cx(e,t),Ax(e,n)}function BR(e,t,n){Sx(e,t),Lx(e,n)}function yte(e,t){zx(e,t),Mx(e,e.D)}function p2e(e){KGe.call(this,e,!0)}function xqe(e,t,n){ibe.call(this,e,t,n)}function Ap(e){Kp(),Ynn.call(this,e)}function Eqe(){fR.call(this,"Head",1)}function Tqe(){fR.call(this,"Tail",3)}function kte(e){e.c=Ie(Xn,_t,1,0,5,1)}function _qe(e){e.a=Ie(Xn,_t,1,8,5,1)}function Cqe(e){Su(e.xf(),new fr(e))}function B3(e){return e!=null?Yi(e):0}function Yqt(e,t){return Gm(t,A1(e))}function Xqt(e,t){return Gm(t,A1(e))}function Qqt(e,t){return e[e.length]=t}function Zqt(e,t){return e[e.length]=t}function b2e(e){return QWt(e.b.Kc(),e.a)}function Jqt(e,t){return L$(yne(e.d),t)}function eVt(e,t){return L$(yne(e.g),t)}function tVt(e,t){return L$(yne(e.j),t)}function fo(e,t){Hs.call(this,e.b,t)}function yv(e){hj.call(this,e,e,e,e)}function v2e(e){return e.b&&zse(e),e.a}function w2e(e){return e.b&&zse(e),e.c}function nVt(e,t){q1||(e.b=t)}function xte(e,t,n){return us(e,t,n),n}function Sqe(e,t,n){us(e.c[t.g],t.g,n)}function rVt(e,t,n){u(e.c,69).Xh(t,n)}function iVt(e,t,n){_1(n,n.i+e,n.j+t)}function sVt(e,t){Pr(Bc(e.a),HYe(t))}function aVt(e,t){Pr(gl(e.a),zYe(t))}function KT(e){mi(),ov.call(this,e)}function oVt(e){return e==null?0:Yi(e)}function Aqe(){Aqe=de,Ule=new R_(Hhe)}function jr(){jr=de,new Lqe,new at}function Lqe(){new Ar,new Ar,new Ar}function m2e(){m2e=de,Fge(),uxe=new Ar}function C1(){C1=de,b.Math.log(2)}function lh(){lh=de,d0=(Pze(),Uyt)}function cVt(){throw ee(new fg(vdt))}function uVt(){throw ee(new fg(vdt))}function lVt(){throw ee(new fg(wdt))}function hVt(){throw ee(new fg(wdt))}function Mqe(e){this.a=e,Fbe.call(this,e)}function Ete(e){this.a=e,JF.call(this,e)}function Tte(e){this.a=e,JF.call(this,e)}function aa(e,t){tne(e.c,e.c.length,t)}function tc(e){return e.a<e.c.c.length}function y2e(e){return e.a<e.c.a.length}function Dqe(e,t){return e.a?e.b:t.De()}function ku(e,t){return e<t?-1:e>t?1:0}function Iqe(e,t){return Lc(e,t)>0?e:t}function cu(e,t,n){return{l:e,m:t,h:n}}function fVt(e,t){e.a!=null&&BGe(t,e.a)}function Oqe(e){e.a=new bt,e.c=new bt}function FR(e){this.b=e,this.a=new at}function Nqe(e){this.b=new cs,this.a=e}function k2e(e){dbe.call(this),this.a=e}function Pqe(){fR.call(this,"Range",2)}function Bqe(){p3e(),this.a=new KD(F7e)}function dVt(e,t){Or(t),H3(e).Jc(new le)}function gVt(e,t){return Hl(),t.n.b+=e}function pVt(e,t,n){return Si(e.g,n,t)}function bVt(e,t,n){return Si(e.k,n,t)}function vVt(e,t){return Si(e.a,t.a,t)}function F3(e,t,n){return Pye(t,n,e.c)}function x2e(e){return new Ft(e.c,e.d)}function wVt(e){return new Ft(e.c,e.d)}function fc(e){return new Ft(e.a,e.b)}function Fqe(e,t){return Hbn(e.a,t,null)}function mVt(e){Ka(e,null),wa(e,null)}function Rqe(e){Gne(e,null),qne(e,null)}function jqe(){gM.call(this,null,null)}function $qe(){VR.call(this,null,null)}function E2e(e){this.a=e,Ar.call(this)}function yVt(e){this.b=(fn(),new $(e))}function RR(e){e.j=Ie(xxe,Je,310,0,0,1)}function kVt(e,t,n){e.c.Vc(t,u(n,133))}function xVt(e,t,n){e.c.ji(t,u(n,133))}function Hqe(e,t){_r(e),e.Gc(u(t,15))}function WT(e,t){return rbn(e.c,e.b,t)}function EVt(e,t){return new uVe(e.Kc(),t)}function _te(e,t){return xrn(e.Kc(),t)!=-1}function T2e(e,t){return e.a.Bc(t)!=null}function jR(e){return e.Ob()?e.Pb():null}function zqe(e){return Fh(e,0,e.length)}function me(e,t){return e!=null&&Lie(e,t)}function TVt(e,t){e.q.setHours(t),rC(e,t)}function Gqe(e,t){e.c&&(Wbe(t),pYe(t))}function _Vt(e,t,n){u(e.Kb(n),164).Nb(t)}function CVt(e,t,n){return Nbn(e,t,n),n}function qqe(e,t,n){e.a=t^1502,e.b=n^Rae}function Cte(e,t,n){return e.a[t.g][n.g]}function S1(e,t){return e.a[t.c.p][t.p]}function SVt(e,t){return e.e[t.c.p][t.p]}function AVt(e,t){return e.c[t.c.p][t.p]}function LVt(e,t){return e.j[t.p]=R1n(t)}function MVt(e,t){return Swe(e.f,t.tg())}function DVt(e,t){return Swe(e.b,t.tg())}function IVt(e,t){return e.a<Tbe(t)?-1:1}function OVt(e,t,n){return n?t!=0:t!=e-1}function NVt(e,t,n){return e.a=t,e.b=n,e}function fd(e,t){return e.a*=t,e.b*=t,e}function YT(e,t,n){return us(e.g,t,n),n}function PVt(e,t,n,r){us(e.a[t.g],n.g,r)}function BVt(e,t){Sm(t,e.a.a.a,e.a.a.b)}function Vqe(e){e.a=u(Cn(e.b.a,4),126)}function Uqe(e){e.a=u(Cn(e.b.a,4),126)}function FVt(e){NM(e,Vft),xse(e,Rvn(e))}function J8(){J8=de,xG=new GF(null)}function _2e(){_2e=de,_2e(),Vdt=new Ze}function C2e(){this.Bb|=256,this.Bb|=512}function ir(e){this.i=e,this.f=this.i.j}function Ns(e,t,n){SM.call(this,e,t,n)}function $R(e,t,n){Ns.call(this,e,t,n)}function Hu(e,t,n){Ns.call(this,e,t,n)}function Kqe(e,t,n){$R.call(this,e,t,n)}function S2e(e,t,n){SM.call(this,e,t,n)}function R3(e,t,n){SM.call(this,e,t,n)}function A2e(e,t,n){nj.call(this,e,t,n)}function Wqe(e,t,n){nj.call(this,e,t,n)}function Yqe(e,t,n){A2e.call(this,e,t,n)}function Xqe(e,t,n){S2e.call(this,e,t,n)}function j3(e,t){this.a=e,JF.call(this,t)}function Qqe(e,t){this.a=e,Iee.call(this,t)}function Zqe(e,t){this.a=e,Iee.call(this,t)}function Jqe(e,t){this.a=e,Iee.call(this,t)}function L2e(e){this.a=e,NJ.call(this,e.d)}function Lp(e){this.c=e,this.a=this.c.a}function M2e(e,t){this.a=t,Iee.call(this,e)}function eVe(e,t){this.a=t,tre.call(this,e)}function tVe(e,t){this.a=e,tre.call(this,t)}function RVt(e,t){return dve(ane(e.c)).Xb(t)}function D2e(e,t){return Jin(e,new yp,t).a}function dr(e,t){return Or(t),new nVe(e,t)}function nVe(e,t){this.a=t,eR.call(this,e)}function I2e(e){this.b=e,this.a=this.b.a.e}function rVe(e){e.b.Qb(),--e.d.f.d,dj(e.d)}function iVe(e){tT.call(this,u(Or(e),35))}function sVe(e){tT.call(this,u(Or(e),35))}function aVe(){Wr.call(this,"INSTANCE",0)}function O2e(e){if(!e)throw ee(new GL)}function N2e(e){if(!e)throw ee(new ju)}function P2e(e){if(!e)throw ee(new yc)}function oVe(){oVe=de,$ee(),k3t=new wF}function In(){In=de,Tb=!1,j7=!0}function Oh(e){a6.call(this,(An(e),e))}function jl(e){a6.call(this,(An(e),e))}function HR(e){E.call(this,e),this.a=e}function B2e(e){S.call(this,e),this.a=e}function F2e(e){H8.call(this,e),this.a=e}function cVe(){RR(this),Dj(this),this._d()}function uVe(e,t){this.a=t,eR.call(this,e)}function lVe(e,t){return new ast(e.a,e.b,t)}function zR(e,t){return e.lastIndexOf(t)}function R2e(e,t,n){return e.indexOf(t,n)}function XT(e){return e==null?Iu:Yo(e)}function jVt(e){return e==null?null:e.name}function j2e(e){return e.a!=null?e.a:null}function $Vt(e){return QF(e.a)?UYe(e):null}function Ste(e,t){return g_(e.a,t)!=null}function zu(e,t){return!!t&&e.b[t.g]==t}function kv(e){return e.$H||(e.$H=++Jwn)}function HVt(e){return e.l+e.m*sk+e.h*gb}function hVe(e,t){return st(t.a,e.a),e.a}function fVe(e,t){return st(t.b,e.a),e.a}function xv(e,t){return st(t.a,e.a),e.a}function Ev(e){return Qn(e.a!=null),e.a}function Ate(e){ve.call(this,new Pwe(e))}function $2e(e,t){Hye.call(this,e,t,null)}function QT(e){this.a=e,y.call(this,e)}function GR(){GR=de,SG=new Hs(Vlt,0)}function qR(e,t){return++e.b,st(e.a,t)}function H2e(e,t){return++e.b,_u(e.a,t)}function zVt(e,t){return Bs(e.n.a,t.n.a)}function GVt(e,t){return Bs(e.c.d,t.c.d)}function qVt(e,t){return Bs(e.c.c,t.c.c)}function xu(e,t){return u(Oi(e.b,t),15)}function VVt(e,t){return e.n.b=(An(t),t)}function UVt(e,t){return e.n.b=(An(t),t)}function ZT(e){return tc(e.a)||tc(e.b)}function KVt(e,t,n){return jXe(e,t,n,e.b)}function z2e(e,t,n){return jXe(e,t,n,e.c)}function G2e(e,t,n){u(ZM(e,t),21).Fc(n)}function WVt(e,t,n){cie(e.a,n),vH(e.a,t)}function gM(e,t){AT(),this.a=e,this.b=t}function VR(e,t){pg(),this.b=e,this.c=t}function Lte(e,t){sne(),this.f=t,this.d=e}function q2e(e,t){Awe(t,e),this.d=e,this.c=t}function bg(e){var t;t=e.a,e.a=e.b,e.b=t}function YVt(e){return vf(),!!e&&!e.dc()}function XVt(e){return new Rm(3,e)}function V2e(e,t){return new uUe(e,e.gc(),t)}function QVt(e){return zF(),Xr((NYe(),Cdt),e)}function x6(e){this.d=e,ir.call(this,e)}function E6(e){this.c=e,ir.call(this,e)}function pM(e){this.c=e,x6.call(this,e)}function dVe(){_T(),this.b=new T1(this)}function qd(e){return Vl(e,ly),new tu(e)}function gVe(e){return gx(),parseInt(e)||-1}function $l(e,t,n){return e.substr(t,n-t)}function ex(e,t,n){return R2e(e,Du(t),n)}function Mte(e){return _ve(e.c,e.c.length)}function ZVt(e){return e.f!=null?e.f:""+e.g}function Dte(e){return e.f!=null?e.f:""+e.g}function Ite(e){return Qn(e.b!=0),e.a.a.c}function UR(e){return Qn(e.b!=0),e.c.b.c}function bM(e){me(e,150)&&u(e,150).Gh()}function KR(e){return e.b=u(VWe(e.a),42)}function U2e(e){W8(),this.b=e,this.a=!0}function pVe(e){nR(),this.b=e,this.a=!0}function bVe(e){e.d=new wVe(e),e.e=new Ar}function vVe(e){if(!e)throw ee(new uh)}function K2e(e){if(!e)throw ee(new GL)}function Cm(e){if(!e)throw ee(new ju)}function JVt(e){if(!e)throw ee(new vee)}function Qn(e){if(!e)throw ee(new yc)}function wVe(e){Rbe.call(this,e,null,null)}function mVe(){Wr.call(this,"POLYOMINO",0)}function yVe(e,t,n,r){fve.call(this,e,t,n,r)}function eUt(e,t){return Up(),an(e,t.e,t)}function tUt(e,t,n){return oR(),n.qg(e,t)}function Js(e,t){return!!e.q&&Ml(e.q,t)}function nUt(e,t){return e>0?t*t/e:t*t*100}function rUt(e,t){return e>0?t/(e*e):t*100}function iUt(e,t,n){return st(t,pnt(e,n))}function sUt(e,t,n){c$(),e.Xe(t)&&n.td(e)}function tx(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function Sm(e,t,n){return e.a+=t,e.b+=n,e}function aUt(e,t,n){return e.a*=t,e.b*=n,e}function vM(e,t,n){return e.a-=t,e.b-=n,e}function W2e(e,t){return e.a=t.a,e.b=t.b,e}function WR(e){return e.a=-e.a,e.b=-e.b,e}function kVe(e){this.c=e,this.a=1,this.b=1}function xVe(e){this.c=e,Au(e,0),Lu(e,0)}function EVe(e){as.call(this),T_(this,e)}function TVe(e){rae(),Yje(this),this.mf(e)}function _Ve(e,t){AT(),gM.call(this,e,t)}function Y2e(e,t){pg(),VR.call(this,e,t)}function CVe(e,t){pg(),VR.call(this,e,t)}function SVe(e,t){pg(),Y2e.call(this,e,t)}function Al(e,t,n){Il.call(this,e,t,n,2)}function Ote(e,t){lh(),lj.call(this,e,t)}function AVe(e,t){lh(),Ote.call(this,e,t)}function X2e(e,t){lh(),Ote.call(this,e,t)}function LVe(e,t){lh(),X2e.call(this,e,t)}function Q2e(e,t){lh(),lj.call(this,e,t)}function MVe(e,t){lh(),Q2e.call(this,e,t)}function DVe(e,t){lh(),lj.call(this,e,t)}function oUt(e,t){return e.c.Fc(u(t,133))}function Z2e(e,t,n){return ZH(JM(e,t),n)}function cUt(e,t,n){return t.Qk(e.e,e.c,n)}function uUt(e,t,n){return t.Rk(e.e,e.c,n)}function Nte(e,t){return zp(e.e,u(t,49))}function lUt(e,t,n){B_(gl(e.a),t,zYe(n))}function hUt(e,t,n){B_(Bc(e.a),t,HYe(n))}function J2e(e,t){t.$modCount=e.$modCount}function JT(){JT=de,ES=new Qi("root")}function nx(){nx=de,qO=new S$e,new A$e}function IVe(){this.a=new Ov,this.b=new Ov}function ebe(){QJe.call(this),this.Bb|=ao}function OVe(){Wr.call(this,"GROW_TREE",0)}function fUt(e){return e==null?null:Mvn(e)}function dUt(e){return e==null?null:Rln(e)}function gUt(e){return e==null?null:Yo(e)}function pUt(e){return e==null?null:Yo(e)}function S0(e){e.o==null&&f1n(e)}function Nt(e){return n_(e==null||Tm(e)),e}function gt(e){return n_(e==null||_m(e)),e}function Hr(e){return n_(e==null||ga(e)),e}function tbe(e){this.q=new b.Date(Pv(e))}function wM(e,t){this.c=e,U8.call(this,e,t)}function YR(e,t){this.a=e,wM.call(this,e,t)}function bUt(e,t){this.d=e,iee(this),this.b=t}function nbe(e,t){hre.call(this,e),this.a=t}function rbe(e,t){hre.call(this,e),this.a=t}function vUt(e){Mye.call(this,0,0),this.f=e}function ibe(e,t,n){a$.call(this,e,t,n,null)}function NVe(e,t,n){a$.call(this,e,t,n,null)}function wUt(e,t,n){return e.ue(t,n)<=0?n:t}function mUt(e,t,n){return e.ue(t,n)<=0?t:n}function yUt(e,t){return u(Fv(e.b,t),149)}function kUt(e,t){return u(Fv(e.c,t),229)}function Pte(e){return u(It(e.a,e.b),287)}function PVe(e){return new Ft(e.c,e.d+e.a)}function BVe(e){return Hl(),mqe(u(e,197))}function Am(){Am=de,f7e=sn((Nl(),Rb))}function xUt(e,t){t.a?o0n(e,t):Ste(e.a,t.b)}function FVe(e,t){q1||st(e.a,t)}function EUt(e,t){return QL(),Px(t.d.i,e)}function TUt(e,t){return G6(),new Hot(t,e)}function dd(e,t){return NM(t,o6e),e.f=t,e}function sbe(e,t,n){return n=Yl(e,t,3,n),n}function abe(e,t,n){return n=Yl(e,t,6,n),n}function obe(e,t,n){return n=Yl(e,t,9,n),n}function mM(e,t,n){++e.j,e.Ki(),ure(e,t,n)}function RVe(e,t,n){++e.j,e.Hi(t,e.oi(t,n))}function jVe(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function $Ve(e,t,n){return k5e(e.c,e.b,t,n)}function cbe(e,t){return(t&xi)%e.d.length}function Hs(e,t){Qi.call(this,e),this.a=t}function ube(e,t){Mge.call(this,e),this.a=t}function Bte(e,t){Mge.call(this,e),this.a=t}function HVe(e,t){this.c=e,Rv.call(this,t)}function zVe(e,t){this.a=e,Gje.call(this,t)}function yM(e,t){this.a=e,Gje.call(this,t)}function GVe(e){this.a=(Vl(e,ly),new tu(e))}function qVe(e){this.a=(Vl(e,ly),new tu(e))}function kM(e){return!e.a&&(e.a=new ce),e.a}function VVe(e){return e>8?0:e+1}function _Ut(e,t){return In(),e==t?0:e?1:-1}function lbe(e,t,n){return S6(e,u(t,22),n)}function CUt(e,t,n){return e.apply(t,n)}function UVe(e,t,n){return e.a+=Fh(t,0,n),e}function hbe(e,t){var n;return n=e.e,e.e=t,n}function SUt(e,t){var n;n=e[Fae],n.call(e,t)}function AUt(e,t){var n;n=e[Fae],n.call(e,t)}function Lm(e,t){e.a.Vc(e.b,t),++e.b,e.c=-1}function KVe(e){il(e.e),e.d.b=e.d,e.d.a=e.d}function xM(e){e.b?xM(e.b):e.f.c.zc(e.e,e.d)}function LUt(e,t,n){$2(),VJ(e,t.Ce(e.a,n))}function MUt(e,t){return Bee(Dnt(e.a,t,!0))}function DUt(e,t){return Bee(Int(e.a,t,!0))}function bf(e,t){return KF(new Array(t),e)}function Fte(e){return String.fromCharCode(e)}function IUt(e){return e==null?null:e.message}function WVe(){this.a=new at,this.b=new at}function YVe(){this.a=new s8,this.b=new i$e}function XVe(){this.b=new $a,this.c=new at}function fbe(){this.d=new $a,this.e=new $a}function dbe(){this.n=new $a,this.o=new $a}function XR(){this.n=new h6,this.i=new k6}function QVe(){this.a=new dJ,this.b=new pX}function ZVe(){this.a=new at,this.d=new at}function JVe(){this.b=new Ys,this.a=new Ys}function eUe(){this.b=new Ar,this.a=new Ar}function tUe(){this.b=new PHe,this.a=new cQ}function nUe(){XR.call(this),this.a=new $a}function e_(e){rrn.call(this,e,(l$(),eue))}function gbe(e,t,n,r){hj.call(this,e,t,n,r)}function OUt(e,t,n){n!=null&&S$(t,$ie(e,n))}function NUt(e,t,n){n!=null&&A$(t,$ie(e,n))}function pbe(e,t,n){return n=Yl(e,t,11,n),n}function Ni(e,t){return e.a+=t.a,e.b+=t.b,e}function pa(e,t){return e.a-=t.a,e.b-=t.b,e}function PUt(e,t){return e.n.a=(An(t),t+10)}function BUt(e,t){return e.n.a=(An(t),t+10)}function FUt(e,t){return t==e||n7(FH(t),e)}function rUe(e,t){return Si(e.a,t,"")==null}function RUt(e,t){return QL(),!Px(t.d.i,e)}function jUt(e,t){Sp(e.f)?n1n(e,t):$un(e,t)}function $Ut(e,t){var n;return n=t.Hh(e.a),n}function Mm(e,t){Mo.call(this,OC+e+yb+t)}function T6(e,t,n,r){ot.call(this,e,t,n,r)}function bbe(e,t,n,r){ot.call(this,e,t,n,r)}function iUe(e,t,n,r){bbe.call(this,e,t,n,r)}function sUe(e,t,n,r){kj.call(this,e,t,n,r)}function Rte(e,t,n,r){kj.call(this,e,t,n,r)}function vbe(e,t,n,r){kj.call(this,e,t,n,r)}function aUe(e,t,n,r){Rte.call(this,e,t,n,r)}function wbe(e,t,n,r){Rte.call(this,e,t,n,r)}function yn(e,t,n,r){vbe.call(this,e,t,n,r)}function oUe(e,t,n,r){wbe.call(this,e,t,n,r)}function cUe(e,t,n,r){bve.call(this,e,t,n,r)}function uUe(e,t,n){this.a=e,q2e.call(this,t,n)}function lUe(e,t,n){this.c=t,this.b=n,this.a=e}function HUt(e,t,n){return e.d=u(t.Kb(n),164)}function mbe(e,t){return e.Aj().Nh().Kh(e,t)}function ybe(e,t){return e.Aj().Nh().Ih(e,t)}function hUe(e,t){return An(e),$e(e)===$e(t)}function on(e,t){return An(e),$e(e)===$e(t)}function jte(e,t){return Bee(Dnt(e.a,t,!1))}function $te(e,t){return Bee(Int(e.a,t,!1))}function zUt(e,t){return e.b.sd(new qze(e,t))}function GUt(e,t){return e.b.sd(new Vze(e,t))}function fUe(e,t){return e.b.sd(new Uze(e,t))}function kbe(e,t,n){return e.lastIndexOf(t,n)}function qUt(e,t,n){return Bs(e[t.b],e[n.b])}function VUt(e,t){return Qe(t,(mt(),aO),e)}function UUt(e,t){return ku(t.a.d.p,e.a.d.p)}function KUt(e,t){return ku(e.a.d.p,t.a.d.p)}function WUt(e,t){return Bs(e.c-e.s,t.c-t.s)}function dUe(e){return e.c?Ko(e.c.a,e,0):-1}function YUt(e){return e<100?null:new kp(e)}function _6(e){return e==Fb||e==f0||e==Zc}function gUe(e,t){return me(t,15)&&xot(e.c,t)}function XUt(e,t){q1||t&&(e.d=t)}function Hte(e,t){var n;return n=t,!!qme(e,n)}function xbe(e,t){this.c=e,gne.call(this,e,t)}function pUe(e){this.c=e,bte.call(this,az,0)}function bUe(e,t){tYt.call(this,e,e.length,t)}function QUt(e,t,n){return u(e.c,69).lk(t,n)}function QR(e,t,n){return u(e.c,69).mk(t,n)}function ZUt(e,t,n){return cUt(e,u(t,332),n)}function Ebe(e,t,n){return uUt(e,u(t,332),n)}function JUt(e,t,n){return bit(e,u(t,332),n)}function vUe(e,t,n){return Qun(e,u(t,332),n)}function t_(e,t){return t==null?null:Km(e.b,t)}function Tbe(e){return _m(e)?(An(e),e):e.ke()}function ZR(e){return!isNaN(e)&&!isFinite(e)}function wUe(e){gd(),this.a=(fn(),new H8(e))}function EM(e){ix(),this.d=e,this.a=new S3}function hh(e,t,n){this.a=e,this.b=t,this.c=n}function mUe(e,t,n){this.a=e,this.b=t,this.c=n}function yUe(e,t,n){this.d=e,this.b=n,this.a=t}function zte(e){Oqe(this),Ph(this),ro(this,e)}function Gu(e){kte(this),jbe(this.c,0,e.Pc())}function kUe(e){Dl(e.a),wZe(e.c,e.b),e.b=null}function xUe(e){this.a=e,Gd(),Mu(Date.now())}function EUe(){EUe=de,Gxe=new A,TG=new A}function Gte(){Gte=de,Nxe=new St,Gdt=new yt}function TUe(){TUe=de,Qyt=Ie(Xn,_t,1,0,5,1)}function _Ue(){_Ue=de,p3t=Ie(Xn,_t,1,0,5,1)}function _be(){_be=de,b3t=Ie(Xn,_t,1,0,5,1)}function gd(){gd=de,new Oge((fn(),fn(),bo))}function eKt(e){return l$(),Xr((LZe(),Udt),e)}function tKt(e){return F1(),Xr((WQe(),Zdt),e)}function nKt(e){return uH(),Xr((tQe(),i0t),e)}function rKt(e){return p$(),Xr((nQe(),s0t),e)}function iKt(e){return GH(),Xr((qet(),a0t),e)}function sKt(e){return Jf(),Xr((VQe(),u0t),e)}function aKt(e){return sl(),Xr((UQe(),h0t),e)}function oKt(e){return Cu(),Xr((KQe(),d0t),e)}function cKt(e){return iz(),Xr((iqe(),B0t),e)}function uKt(e){return qv(),Xr((DZe(),R0t),e)}function lKt(e){return Y6(),Xr((IZe(),$0t),e)}function hKt(e){return z_(),Xr((OZe(),G0t),e)}function fKt(e){return rR(),Xr((OXe(),q0t),e)}function dKt(e){return b$(),Xr((rQe(),ogt),e)}function gKt(e){return x_(),Xr((YQe(),Agt),e)}function pKt(e){return io(),Xr((uJe(),Igt),e)}function bKt(e){return Rx(),Xr((MZe(),Fgt),e)}function vKt(e){return Vv(),Xr((XQe(),Ggt),e)}function Cbe(e,t){if(!e)throw ee(new Dn(t))}function wKt(e){return zn(),Xr((MJe(),Kgt),e)}function Sbe(e){hj.call(this,e.d,e.c,e.a,e.b)}function qte(e){hj.call(this,e.d,e.c,e.a,e.b)}function Abe(e,t,n){this.b=e,this.c=t,this.a=n}function JR(e,t,n){this.b=e,this.a=t,this.c=n}function CUe(e,t,n){this.a=e,this.b=t,this.c=n}function Lbe(e,t,n){this.a=e,this.b=t,this.c=n}function SUe(e,t,n){this.a=e,this.b=t,this.c=n}function Mbe(e,t,n){this.a=e,this.b=t,this.c=n}function AUe(e,t,n){this.b=e,this.a=t,this.c=n}function ej(e,t,n){this.e=t,this.b=e,this.d=n}function mKt(e,t,n){return $2(),e.a.Od(t,n),t}function Vte(e){var t;return t=new Hn,t.e=e,t}function Dbe(e){var t;return t=new h$e,t.b=e,t}function TM(){TM=de,FG=new eY,RG=new tY}function vf(){vf=de,opt=new qY,cpt=new YP}function yKt(e){return z$(),Xr((PZe(),npt),e)}function kKt(e){return B1(),Xr((FZe(),hpt),e)}function xKt(e){return HH(),Xr((Oet(),mpt),e)}function EKt(e){return Q6(),Xr((OJe(),ypt),e)}function TKt(e){return o$(),Xr((uQe(),kpt),e)}function _Kt(e){return z6(),Xr((QQe(),xpt),e)}function CKt(e){return a4(),Xr((iJe(),dpt),e)}function SKt(e){return Gv(),Xr((eZe(),wpt),e)}function AKt(e){return _$(),Xr((ZQe(),Ept),e)}function LKt(e){return lb(),Xr((nJe(),Tpt),e)}function MKt(e){return iD(),Xr((sQe(),_pt),e)}function DKt(e){return nb(),Xr((JQe(),Spt),e)}function IKt(e){return DH(),Xr((FJe(),Apt),e)}function OKt(e){return XM(),Xr((aQe(),Lpt),e)}function NKt(e){return BD(),Xr((PJe(),Mpt),e)}function PKt(e){return i7(),Xr((NJe(),Dpt),e)}function BKt(e){return mo(),Xr((stt(),Ipt),e)}function FKt(e){return Fx(),Xr((nZe(),Opt),e)}function RKt(e){return P0(),Xr((tZe(),Ppt),e)}function jKt(e){return Xj(),Xr((lQe(),Bpt),e)}function $Kt(e){return mh(),Xr((sJe(),Fpt),e)}function HKt(e){return SH(),Xr((BJe(),Zbt),e)}function zKt(e){return I_(),Xr((rZe(),Jbt),e)}function GKt(e){return Xm(),Xr((RZe(),evt),e)}function qKt(e){return vo(),Xr((aZe(),avt),e)}function VKt(e){return l4(),Xr((Iet(),nvt),e)}function UKt(e){return F0(),Xr((sZe(),rvt),e)}function KKt(e){return eD(),Xr((cQe(),ivt),e)}function WKt(e){return R$(),Xr((iZe(),ovt),e)}function YKt(e){return G_(),Xr((rJe(),tvt),e)}function XKt(e){return qM(),Xr((oQe(),cvt),e)}function QKt(e){return qx(),Xr((cZe(),uvt),e)}function ZKt(e){return B$(),Xr((uZe(),lvt),e)}function JKt(e){return G$(),Xr((oZe(),hvt),e)}function eWt(e){return zv(),Xr((lZe(),Tvt),e)}function tWt(e){return y_(),Xr((fQe(),Lvt),e)}function nWt(e){return bd(),Xr((dQe(),Bvt),e)}function rWt(e){return L1(),Xr((gQe(),Rvt),e)}function iWt(e){return Xf(),Xr((hQe(),Jvt),e)}function sWt(e){return Iv(),Xr((pQe(),awt),e)}function aWt(e){return Jx(),Xr((NZe(),owt),e)}function oWt(e){return Y_(),Xr((RJe(),uwt),e)}function cWt(e){return zj(),Xr((wQe(),Ewt),e)}function uWt(e){return O$(),Xr((vQe(),Lwt),e)}function lWt(e){return Uj(),Xr((bQe(),Twt),e)}function hWt(e){return eH(),Xr((hZe(),Dwt),e)}function fWt(e){return u$(),Xr((mQe(),Iwt),e)}function dWt(e){return wD(),Xr((fZe(),Owt),e)}function gWt(e){return mH(),Xr((BZe(),Wwt),e)}function pWt(e){return F$(),Xr((gZe(),Ywt),e)}function bWt(e){return J$(),Xr((dZe(),Xwt),e)}function vWt(e){return l7(),Xr((cJe(),bmt),e)}function wWt(e){return TD(),Xr((pZe(),vmt),e)}function mWt(e){return sR(),Xr((DXe(),wmt),e)}function yWt(e){return aR(),Xr((MXe(),ymt),e)}function kWt(e){return VM(),Xr((kQe(),kmt),e)}function xWt(e){return RD(),Xr((aJe(),xmt),e)}function EWt(e){return CT(),Xr((IXe(),Rmt),e)}function TWt(e){return gD(),Xr((yQe(),jmt),e)}function _Wt(e){return t1(),Xr((oJe(),Vmt),e)}function CWt(e){return Dg(),Xr((Net(),Kmt),e)}function SWt(e){return Zd(),Xr((IJe(),Wmt),e)}function AWt(e){return Jm(),Xr((DJe(),eyt),e)}function LWt(e){return po(),Xr((sqe(),Jgt),e)}function MWt(e){return Ix(),Xr((iQe(),Zgt),e)}function DWt(e){return wo(),Xr((lJe(),pyt),e)}function IWt(e){return N1(),Xr((vZe(),byt),e)}function OWt(e){return $0(),Xr((HZe(),vyt),e)}function NWt(e){return LH(),Xr(($Je(),wyt),e)}function PWt(e){return R0(),Xr((bZe(),yyt),e)}function BWt(e){return Kl(),Xr(($Ze(),xyt),e)}function FWt(e){return ry(),Xr((Get(),Eyt),e)}function RWt(e){return e4(),Xr((hJe(),Tyt),e)}function jWt(e){return ya(),Xr((CJe(),_yt),e)}function $Wt(e){return al(),Xr((jJe(),Cyt),e)}function HWt(e){return Nl(),Xr((GZe(),Iyt),e)}function zWt(e){return wl(),Xr((att(),Oyt),e)}function GWt(e){return dt(),Xr((fJe(),Syt),e)}function qWt(e){return rH(),Xr((zZe(),Nyt),e)}function VWt(e){return Ol(),Xr((jZe(),Fyt),e)}function UWt(e){return o7(),Xr((Pet(),Xyt),e)}function KWt(e,t){return An(e),e+(An(t),t)}function WWt(e,t){return Gd(),Pr(qe(e.a),t)}function YWt(e,t){return Gd(),Pr(qe(e.a),t)}function Ute(e,t){this.c=e,this.a=t,this.b=t-e}function LUe(e,t,n){this.a=e,this.b=t,this.c=n}function Ibe(e,t,n){this.a=e,this.b=t,this.c=n}function Obe(e,t,n){this.a=e,this.b=t,this.c=n}function MUe(e,t,n){this.a=e,this.b=t,this.c=n}function DUe(e,t,n){this.a=e,this.b=t,this.c=n}function vg(e,t,n){this.e=e,this.a=t,this.c=n}function IUe(e,t,n){lh(),Vve.call(this,e,t,n)}function Kte(e,t,n){lh(),Lve.call(this,e,t,n)}function Nbe(e,t,n){lh(),Lve.call(this,e,t,n)}function Pbe(e,t,n){lh(),Lve.call(this,e,t,n)}function OUe(e,t,n){lh(),Kte.call(this,e,t,n)}function Bbe(e,t,n){lh(),Kte.call(this,e,t,n)}function NUe(e,t,n){lh(),Bbe.call(this,e,t,n)}function PUe(e,t,n){lh(),Nbe.call(this,e,t,n)}function BUe(e,t,n){lh(),Pbe.call(this,e,t,n)}function _M(e,t){return Or(e),Or(t),new rze(e,t)}function C6(e,t){return Or(e),Or(t),new YUe(e,t)}function XWt(e,t){return Or(e),Or(t),new XUe(e,t)}function QWt(e,t){return Or(e),Or(t),new sze(e,t)}function u(e,t){return n_(e==null||Lie(e,t)),e}function rx(e){var t;return t=new at,xre(t,e),t}function ZWt(e){var t;return t=new Ys,xre(t,e),t}function FUe(e){var t;return t=new zge,Bre(t,e),t}function CM(e){var t;return t=new as,Bre(t,e),t}function JWt(e){return!e.e&&(e.e=new at),e.e}function eYt(e){return!e.c&&(e.c=new fm),e.c}function st(e,t){return e.c[e.c.length]=t,!0}function RUe(e,t){this.c=e,this.b=t,this.a=!1}function Fbe(e){this.d=e,iee(this),this.b=UYt(e.d)}function jUe(){this.a=";,;",this.b="",this.c=""}function tYt(e,t,n){$Ke.call(this,t,n),this.a=e}function $Ue(e,t,n){this.b=e,eqe.call(this,t,n)}function Rbe(e,t,n){this.c=e,dR.call(this,t,n)}function jbe(e,t,n){o4e(n,0,e,t,n.length,!1)}function Vd(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function nYt(e,t){t&&(e.b=t,e.a=(Np(t),t.a))}function $be(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function Hbe(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function zbe(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function Gbe(e){return jp(cXt(Uo(e)?Bh(e):e))}function rYt(e,t){return ku(nKe(e.d),nKe(t.d))}function iYt(e,t){return t==(dt(),On)?e.c:e.d}function ix(){ix=de,c_e=(dt(),On),Gq=$n}function HUe(){this.b=We(gt(Ct((r1(),vue))))}function zUe(e){return $2(),Ie(Xn,_t,1,e,5,1)}function sYt(e){return new Ft(e.c+e.b,e.d+e.a)}function aYt(e,t){return iR(),ku(e.d.p,t.d.p)}function Wte(e){return Qn(e.b!=0),bh(e,e.a.a)}function oYt(e){return Qn(e.b!=0),bh(e,e.c.b)}function qbe(e,t){if(!e)throw ee(new Q$e(t))}function tj(e,t){if(!e)throw ee(new Dn(t))}function Vbe(e,t,n){X8.call(this,e,t),this.b=n}function SM(e,t,n){a2e.call(this,e,t),this.c=n}function GUe(e,t,n){yJe.call(this,t,n),this.d=e}function Ube(e){_be(),b8.call(this),this.th(e)}function qUe(e,t,n){this.a=e,N3.call(this,t,n)}function VUe(e,t,n){this.a=e,N3.call(this,t,n)}function nj(e,t,n){a2e.call(this,e,t),this.c=n}function UUe(){mx(),CXt.call(this,(Tp(),tf))}function KUe(e){return e!=null&&!pie(e,HS,zS)}function cYt(e,t){return(int(e)<<4|int(t))&Ss}function uYt(e,t){return Cj(),Fie(e,t),new yWe(e,t)}function z2(e,t){var n;e.n&&(n=t,st(e.f,n))}function sx(e,t,n){var r;r=new Nm(n),Zf(e,t,r)}function lYt(e,t){var n;return n=e.c,lme(e,t),n}function Kbe(e,t){return t<0?e.g=-1:e.g=t,e}function rj(e,t){return Wtn(e),e.a*=t,e.b*=t,e}function WUe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function oi(e,t){return ks(e,t,e.c.b,e.c),!0}function Wbe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Yte(e){this.b=e,this.a=_v(this.b.a).Ed()}function YUe(e,t){this.b=e,this.a=t,Y9.call(this)}function XUe(e,t){this.a=e,this.b=t,Y9.call(this)}function QUe(e,t){$Ke.call(this,t,1040),this.a=e}function AM(e){return e==0||isNaN(e)?e:e<0?-1:1}function hYt(e){return I6(),Jd(e)==ls(qp(e))}function fYt(e){return I6(),qp(e)==ls(Jd(e))}function Tv(e,t){return K_(e,new X8(t.a,t.b))}function dYt(e){return!no(e)&&e.c.i.c==e.d.i.c}function ij(e){var t;return t=e.n,e.a.b+t.d+t.a}function ZUe(e){var t;return t=e.n,e.e.b+t.d+t.a}function Ybe(e){var t;return t=e.n,e.e.a+t.b+t.c}function JUe(e){return mi(),new Ud(0,e)}function gYt(e){return e.a?e.a:Lne(e)}function n_(e){if(!e)throw ee(new $8(null))}function eKe(){eKe=de,tfe=(fn(),new D(Mce))}function sj(){sj=de,new Uye((Tee(),zce),(_ee(),Hce))}function tKe(){tKe=de,vxe=Ie(Ja,Je,19,256,0,1)}function Xte(e,t,n,r){kye.call(this,e,t,n,r,0,0)}function pYt(e,t,n){return Si(e.b,u(n.b,17),t)}function bYt(e,t,n){return Si(e.b,u(n.b,17),t)}function vYt(e,t){return st(e,new Ft(t.a,t.b))}function wYt(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function Qte(e){return e.e.c.length+e.g.c.length}function nKe(e){return e.e.c.length-e.g.c.length}function rKe(e){return e.b.c.length-e.e.c.length}function mYt(e){return Hl(),(dt(),gu).Hc(e.j)}function iKe(e){_be(),Ube.call(this,e),this.a=-1}function aj(e,t){fM.call(this,e,t),this.a=this}function rs(e,t){var n;return n=wne(e,t),n.i=2,n}function oj(e,t){var n;return++e.j,n=e.Ti(t),n}function ki(e,t,n){return e.a=-1,G2e(e,t.g,n),e}function yYt(e,t,n){hvn(e.a,e.b,e.c,u(t,202),n)}function kYt(e,t){fme(e,t==null?null:(An(t),t))}function xYt(e,t){ume(e,t==null?null:(An(t),t))}function EYt(e,t){ume(e,t==null?null:(An(t),t))}function Zte(e,t,n){return new lUe(SXt(e).Ie(),n,t)}function G2(e,t,n,r,i,a){return lit(e,t,n,r,i,0,a)}function sKe(){sKe=de,gxe=Ie(bk,Je,217,256,0,1)}function aKe(){aKe=de,wxe=Ie(gw,Je,162,256,0,1)}function oKe(){oKe=de,kxe=Ie(pw,Je,184,256,0,1)}function cKe(){cKe=de,bxe=Ie(GC,Je,172,128,0,1)}function Xbe(){Vd(this,!1,!1,!1,!1)}function Jte(e){Pm(),this.a=(fn(),new D(Or(e)))}function cj(e){for(Or(e);e.Ob();)e.Pb(),e.Qb()}function TYt(e){e.a.cd(),u(e.a.dd(),14).gc(),cpe()}function Qbe(e){this.c=e,this.b=this.c.d.vc().Kc()}function uKe(e){this.c=e,this.a=new b6(this.c.a)}function r_(e){this.a=new p6(e.gc()),ro(this,e)}function Zbe(e){ve.call(this,new Y2),ro(this,e)}function lKe(e,t){return e.a+=Fh(t,0,t.length),e}function It(e,t){return En(t,e.c.length),e.c[t]}function hKe(e,t){return En(t,e.a.length),e.a[t]}function mn(e,t){$2(),hre.call(this,e),this.a=t}function _Yt(e,t){return ob(Wa(ob(e.a).a,t.a))}function CYt(e,t){return An(e),oD(e,(An(t),t))}function SYt(e,t){return An(t),oD(t,(An(e),e))}function AYt(e,t){return us(t,0,Jbe(t[0],ob(1)))}function Jbe(e,t){return _Yt(u(e,162),u(t,162))}function fKe(e){return e.c-u(It(e.a,e.b),287).b}function dKe(e){return e.q?e.q:(fn(),fn(),o0)}function gKe(e){return e.e.Hd().gc()*e.c.Hd().gc()}function LYt(e,t,n){return ku(t.d[e.g],n.d[e.g])}function MYt(e,t,n){return ku(e.d[t.p],e.d[n.p])}function DYt(e,t,n){return ku(e.d[t.p],e.d[n.p])}function IYt(e,t,n){return ku(e.d[t.p],e.d[n.p])}function OYt(e,t,n){return ku(e.d[t.p],e.d[n.p])}function eve(e,t,n){return b.Math.min(n/e,1/t)}function pKe(e,t){return e?0:b.Math.max(0,t-1)}function NYt(e,t){var n;for(n=0;n<t;++n)e[n]=-1}function bKe(e){var t;return t=fit(e),t?bKe(t):e}function PYt(e,t){return e.a==null&&Sot(e),e.a[t]}function Ll(e){return e.c?e.c.f:e.e.b}function qu(e){return e.c?e.c.g:e.e.a}function uj(e){Rv.call(this,e.gc()),ds(this,e)}function lj(e,t){lh(),BF.call(this,t),this.a=e}function i_(e,t,n){this.a=e,Ns.call(this,t,n,2)}function hj(e,t,n,r){$be(this,e,t,n,r)}function Ud(e,t){mi(),ov.call(this,e),this.a=t}function vKe(e){this.b=new as,this.a=e,this.c=-1}function wKe(){this.d=new Ft(0,0),this.e=new Ys}function mKe(e){q2e.call(this,0,0),this.a=e,this.b=0}function yKe(e){this.a=e,this.c=new Ar,Crn(this)}function tve(e){if(e.e.c!=e.b)throw ee(new uh)}function nve(e){if(e.c.e!=e.a)throw ee(new uh)}function Ir(e){return Uo(e)?e|0:DHe(e)}function fj(e,t){return mi(),new Tve(e,t)}function ene(e,t){return e==null?t==null:on(e,t)}function BYt(e,t){return e==null?t==null:cH(e,t)}function S6(e,t,n){return xf(e.a,t),yve(e,t.g,n)}function tne(e,t,n){Itt(0,t,e.length),xx(e,0,t,n)}function Dm(e,t,n){Fm(t,e.c.length),MT(e.c,t,n)}function kKe(e,t,n){var r;for(r=0;r<t;++r)e[r]=n}function Vi(e,t){var n;return n=sn(e),Rme(n,t),n}function FYt(e,t){return!e&&(e=[]),e[e.length]=t,e}function RYt(e,t){return e.a.get(t)!==void 0}function xKe(e,t){return fnn(new tr,new Ue(e),t)}function jYt(e){return e==null?xG:new GF(An(e))}function nne(e,t){return me(t,22)&&zu(e,u(t,22))}function EKe(e,t){return me(t,22)&&ztn(e,u(t,22))}function rve(e){return vl(e,26)*fC+vl(e,27)*dC}function ive(e){return Array.isArray(e)&&e.im===Ge}function dj(e){e.b?dj(e.b):e.d.dc()&&e.f.c.Bc(e.e)}function rne(e,t){Ni(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function $Yt(e,t){rne(e,pa(new Ft(t.a,t.b),e.c))}function ine(e,t){this.b=new as,this.a=e,this.c=t}function TKe(){this.b=new Jo,this.c=new tYe(this)}function sve(){this.d=new Gi,this.e=new eYe(this)}function ave(){Qve(),this.f=new as,this.e=new as}function _Ke(){Hl(),this.k=new Ar,this.d=new Ys}function sne(){sne=de,jyt=new fo((di(),kl),0)}function CKe(){CKe=de,Tdt=new mKe(Ie(Xn,_t,1,0,5,1))}function HYt(e,t,n){yat(n,e,1),st(t,new Xze(n,e))}function zYt(e,t,n){V_(n,e,1),st(t,new rGe(n,e))}function GYt(e,t,n){return zs(e,new v6(t.a,n.a))}function qYt(e,t,n){return-ku(e.f[t.p],e.f[n.p])}function gj(e,t,n){var r;e&&(r=e.i,r.c=t,r.b=n)}function pj(e,t,n){var r;e&&(r=e.i,r.d=t,r.a=n)}function rl(e,t,n){return e.a=-1,G2e(e,t.g+1,n),e}function ove(e,t,n){return n=Yl(e,u(t,49),7,n),n}function cve(e,t,n){return n=Yl(e,u(t,49),3,n),n}function SKe(e,t,n){this.a=e,$R.call(this,t,n,22)}function AKe(e,t,n){this.a=e,$R.call(this,t,n,14)}function LKe(e,t,n,r){lh(),uXe.call(this,e,t,n,r)}function MKe(e,t,n,r){lh(),uXe.call(this,e,t,n,r)}function VYt(e,t){t.Bb&Ec&&!e.a.o&&(e.a.o=t)}function DKe(e){return e!=null&&dne(e)&&e.im!==Ge}function uve(e){return!Array.isArray(e)&&e.im===Ge}function UYt(e){return me(e,15)?u(e,15).Yc():e.Kc()}function lve(e){return e.Qc(Ie(Xn,_t,1,e.gc(),5,1))}function s_(e,t){return aan(JM(e,t))?t.Qh():null}function hve(e){e?t3e(e,(Gd(),Exe)):Gd()}function ur(e){this.a=(CKe(),Tdt),this.d=u(Or(e),47)}function fve(e,t,n,r){this.a=e,a$.call(this,e,t,n,r)}function q2(e){_p(),this.a=0,this.b=e-1,this.c=1}function IKe(e){RR(this),this.g=e,Dj(this),this._d()}function _v(e){return e.c?e.c:e.c=e.Id()}function ane(e){return e.d?e.d:e.d=e.Jd()}function dve(e){var t;return t=e.c,t||(e.c=e.Dd())}function OKe(e){var t;return t=e.f,t||(e.f=e.Dc())}function A6(e){var t;return t=e.i,t||(e.i=e.bc())}function NKe(e){return mi(),new Fne(10,e,0)}function a_(e){return Uo(e)?""+e:kot(e)}function bj(e){if(e.e.j!=e.d)throw ee(new uh)}function A0(e,t){return jp(zit(Uo(e)?Bh(e):e,t))}function Mp(e,t){return jp(E4e(Uo(e)?Bh(e):e,t))}function Im(e,t){return jp(Wln(Uo(e)?Bh(e):e,t))}function KYt(e,t){return _Ut((An(e),e),(An(t),t))}function one(e,t){return Bs((An(e),e),(An(t),t))}function PKe(e,t){return Or(t),e.a.Ad(t)&&!e.b.Ad(t)}function WYt(e,t){return cu(e.l&t.l,e.m&t.m,e.h&t.h)}function YYt(e,t){return cu(e.l|t.l,e.m|t.m,e.h|t.h)}function XYt(e,t){return cu(e.l^t.l,e.m^t.m,e.h^t.h)}function vj(e,t){return xD(e,(An(t),new Le(t)))}function wj(e,t){return xD(e,(An(t),new Be(t)))}function BKe(e){return Vu(),u(e,11).e.c.length!=0}function FKe(e){return Vu(),u(e,11).g.c.length!=0}function QYt(e,t){return G6(),Bs(t.a.o.a,e.a.o.a)}function RKe(e,t,n){return Nvn(e,u(t,11),u(n,11))}function ZYt(e){return e.e?Mwe(e.e):null}function gve(e){e.d||(e.d=e.b.Kc(),e.c=e.b.gc())}function JYt(e,t,n){e.a.Mb(n)&&(e.b=!0,t.td(n))}function ax(e,t){if(e<0||e>=t)throw ee(new Rge)}function eXt(e,t,n){return us(t,0,Jbe(t[0],n[0])),t}function tXt(e,t,n){t.Ye(n,We(gt(Jn(e.b,n)))*e.a)}function jKe(e,t,n){return f4(),Ox(e,t)&&Ox(e,n)}function o_(e){return al(),!e.Hc(Z0)&&!e.Hc(p2)}function mj(e){return new Ft(e.c+e.b/2,e.d+e.a/2)}function cne(e,t){return t.kh()?zp(e.b,u(t,49)):t}function pve(e,t){this.e=e,this.d=t&64?t|md:t}function $Ke(e,t){this.c=0,this.d=e,this.b=t|64|md}function yj(e){this.b=new tu(11),this.a=(z3(),e)}function une(e){this.b=null,this.a=(z3(),e||Dxe)}function HKe(e){this.a=frt(e.a),this.b=new Gu(e.b)}function zKe(e){this.b=e,x6.call(this,e),Vqe(this)}function GKe(e){this.b=e,pM.call(this,e),Uqe(this)}function Om(e,t,n){this.a=e,T6.call(this,t,n,5,6)}function bve(e,t,n,r){this.b=e,Ns.call(this,t,n,r)}function oa(e,t,n,r,i){gre.call(this,e,t,n,r,i,-1)}function c_(e,t,n,r,i){WM.call(this,e,t,n,r,i,-1)}function ot(e,t,n,r){Ns.call(this,e,t,n),this.b=r}function kj(e,t,n,r){SM.call(this,e,t,n),this.b=r}function qKe(e){KGe.call(this,e,!1),this.a=!1}function VKe(e,t){this.b=e,NJ.call(this,e.b),this.a=t}function UKe(e,t){Pm(),iqt.call(this,e,Y$(new Cl(t)))}function xj(e,t){return mi(),new Mve(e,t,0)}function lne(e,t){return mi(),new Mve(6,e,t)}function nXt(e,t){return on(e.substr(0,t.length),t)}function Ml(e,t){return ga(t)?Ine(e,t):!!jo(e.f,t)}function La(e,t){for(An(t);e.Ob();)t.td(e.Pb())}function $3(e,t,n){Kp(),this.e=e,this.d=t,this.a=n}function wg(e,t,n,r){var i;i=e.i,i.i=t,i.a=n,i.b=r}function vve(e){var t;for(t=e;t.f;)t=t.f;return t}function L6(e){var t;return t=D_(e),Qn(t!=null),t}function rXt(e){var t;return t=zin(e),Qn(t!=null),t}function ox(e,t){var n;return n=e.a.gc(),Awe(t,n),n-t}function wve(e,t){var n;for(n=0;n<t;++n)e[n]=!1}function iXt(e,t,n,r){var i;for(i=t;i<n;++i)e[i]=r}function Pe(e,t,n,r){Itt(t,n,e.length),iXt(e,t,n,r)}function sXt(e,t,n){ax(n,e.a.c.length),gh(e.a,n,t)}function mve(e,t,n){this.c=e,this.a=t,fn(),this.b=n}function yve(e,t,n){var r;return r=e.b[t],e.b[t]=n,r}function zs(e,t){var n;return n=e.a.zc(t,e),n==null}function aXt(e){if(!e)throw ee(new yc);return e.d}function kve(e,t){if(e==null)throw ee(new d6(t))}function xve(e,t){return t?ro(e,t):!1}function Kd(e,t,n){return ein(e,t.g,n),xf(e.c,t),e}function oXt(e){return b4(e,(wo(),Wh)),e.d=!0,e}function hne(e){return!e.j&&nee(e,Cgn(e.g,e.b)),e.j}function u_(e){Cm(e.b!=-1),yg(e.c,e.a=e.b),e.b=-1}function il(e){e.f=new pqe(e),e.g=new bqe(e),Pj(e)}function fne(e){return new mn(null,fXt(e,e.length))}function Dp(e){return new ur(new M2e(e.a.length,e.a))}function cXt(e){return cu(~e.l&ml,~e.m&ml,~e.h&V0)}function dne(e){return typeof e===sI||typeof e===aae}function uXt(e){return e==ps?BI:e==Ds?"-INF":""+e}function lXt(e){return e==ps?BI:e==Ds?"-INF":""+e}function hXt(e,t){return e>0?b.Math.log(e/t):-100}function KKe(e,t){return Lc(e,t)<0?-1:Lc(e,t)>0?1:0}function Eve(e,t,n){return $ct(e,u(t,46),u(n,167))}function WKe(e,t){return u(dve(_v(e.a)).Xb(t),42).cd()}function fXt(e,t){return Ptn(t,e.length),new QUe(e,t)}function gne(e,t){this.d=e,ir.call(this,e),this.e=t}function Cv(e){this.d=(An(e),e),this.a=0,this.c=az}function Tve(e,t){ov.call(this,1),this.a=e,this.b=t}function YKe(e,t){return e.c?YKe(e.c,t):st(e.b,t),e}function dXt(e,t,n){var r;return r=Hm(e,t),Zne(e,t,n),r}function _ve(e,t){var n;return n=e.slice(0,t),zwe(n,e)}function XKe(e,t,n){var r;for(r=0;r<t;++r)us(e,r,n)}function QKe(e,t,n,r,i){for(;t<n;)r[i++]=Ma(e,t++)}function gXt(e,t){return Bs(e.c.c+e.c.b,t.c.c+t.c.b)}function LM(e,t){return q$(e.a,t,(In(),Tb))==null}function MM(e,t){ks(e.d,t,e.b.b,e.b),++e.a,e.c=null}function DM(e,t){Hqe(e,me(t,153)?t:u(t,1937).gl())}function Sv(e,t){ms(Eu(e.Oc(),new C9),new lee(t))}function cx(e,t,n,r,i){Qie(e,u(Oi(t.k,n),15),n,r,i)}function Ej(e){e.s=NaN,e.c=NaN,aat(e,e.e),aat(e,e.j)}function ZKe(e){e.a=null,e.e=null,il(e.b),e.d=0,++e.c}function pne(e){return b.Math.abs(e.d.e-e.e.e)-e.a}function pXt(e,t,n){return u(e.c._c(t,u(n,133)),42)}function bXt(){return zF(),ie(ne(_dt,1),rt,538,0,[Vce])}function vXt(e){return I6(),ls(Jd(e))==ls(qp(e))}function JKe(e){fbe.call(this),this.a=e,st(e.a,this)}function bne(e,t){this.d=Gin(e),this.c=t,this.a=.5*t}function eWe(){Y2.call(this),this.a=!0,this.b=!0}function Zn(e){return(e.i==null&&wd(e),e.i).length}function tWe(e){return me(e,99)&&(u(e,18).Bb&Ec)!=0}function wXt(e,t){++e.j,Jie(e,e.i,t),afn(e,u(t,332))}function vne(e,t){return t=e.nk(null,t),Tit(e,null,t)}function ds(e,t){return e.hi()&&(t=TYe(e,t)),e.Wh(t)}function O(e,t,n){var r;return r=wne(e,t),qJe(n,r),r}function wne(e,t){var n;return n=new Nme,n.j=e,n.d=t,n}function Or(e){if(e==null)throw ee(new fT);return e}function mne(e){var t;return t=e.j,t||(e.j=new RJ(e))}function nWe(e){var t;return t=e.f,t||(e.f=new L2e(e))}function Cve(e){var t;return t=e.k,t||(e.k=new x3(e))}function Tj(e){var t;return t=e.k,t||(e.k=new x3(e))}function l_(e){var t;return t=e.g,t||(e.g=new DL(e))}function mXt(e){var t;return t=e.i,t||(e.i=new MJ(e))}function yne(e){var t;return t=e.d,t||(e.d=new t6(e))}function rWe(e){return Or(e),me(e,475)?u(e,475):Yo(e)}function Sve(e){return me(e,607)?e:new fYe(e)}function iWe(e,t){return HM(t,e.c.b.c.gc()),new nze(e,t)}function sWe(e,t,n){return mi(),new eXe(e,t,n)}function us(e,t,n){return JVt(n==null||cpn(e,n)),e[t]=n}function Ave(e,t){var n;return n=e.a.gc(),HM(t,n),n-1-t}function ux(e,t){return e.a+=String.fromCharCode(t),e}function Ip(e,t){return e.a+=String.fromCharCode(t),e}function kne(e,t){for(An(t);e.c<e.d;)e.ze(t,e.c++)}function Jn(e,t){return ga(t)?Gc(e,t):hc(jo(e.f,t))}function yXt(e,t){return I6(),e==Jd(t)?qp(t):Jd(t)}function kXt(e,t){M6(e,new Nm(t.f!=null?t.f:""+t.g))}function xXt(e,t){M6(e,new Nm(t.f!=null?t.f:""+t.g))}function aWe(e){this.b=new at,this.a=new at,this.c=e}function Nh(e){this.c=new $a,this.a=new at,this.b=e}function oWe(e){fbe.call(this),this.a=new $a,this.c=e}function Nm(e){if(e==null)throw ee(new fT);this.a=e}function cWe(e){Fge(),this.b=new at,this.a=e,mbn(this,e)}function uWe(e){this.c=e,this.a=new as,this.b=new as}function lWe(){lWe=de,Mdt=new I8(!1),Ddt=new I8(!0)}function Pm(){Pm=de,gd(),Gce=new One((fn(),fn(),bo))}function xne(){xne=de,gd(),axe=new Ipe((fn(),fn(),kG))}function Op(){Op=de,Tn=sfn(),cn(),Vy&&fcn()}function EXt(e,t){return G6(),u(_o(e,t.d),15).Fc(t)}function TXt(e,t,n,r){return n==0||(n-r)/n<e.e||t>=e.g}function Ene(e,t,n){var r;return r=Nre(e,t,n),J4e(e,r)}function M6(e,t){var n;n=e.a.length,Hm(e,n),Zne(e,n,t)}function hWe(e,t){var n;n=console[e],n.call(console,t)}function fWe(e,t){var n;++e.j,n=e.Vi(),e.Ii(e.oi(n,t))}function _Xt(e,t,n){u(t.b,65),Su(t.a,new Ibe(e,n,t))}function Lve(e,t,n){BF.call(this,t),this.a=e,this.b=n}function Mve(e,t,n){ov.call(this,e),this.a=t,this.b=n}function Dve(e,t,n){this.a=e,Mge.call(this,t),this.b=n}function dWe(e,t,n){this.a=e,owe.call(this,8,t,null,n)}function CXt(e){this.a=(An(Zr),Zr),this.b=e,new Qge}function gWe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function Ive(e){this.c=e,this.b=e.a.d.a,J2e(e.a.e,this)}function Dl(e){Cm(e.c!=-1),e.d.$c(e.c),e.b=e.c,e.c=-1}function h_(e){return b.Math.sqrt(e.a*e.a+e.b*e.b)}function Av(e,t){return ax(t,e.a.c.length),It(e.a,t)}function pd(e,t){return $e(e)===$e(t)||e!=null&&Ci(e,t)}function SXt(e){return 0>=e?new Tpe:dnn(e-1)}function AXt(e){return Ky?Ine(Ky,e):!1}function pWe(e){return e?e.dc():!e.Kc().Ob()}function Xa(e){return!e.a&&e.c?e.c.b:e.a}function LXt(e){return!e.a&&(e.a=new Ns(b2,e,4)),e.a}function Lv(e){return!e.d&&(e.d=new Ns(Eo,e,1)),e.d}function An(e){if(e==null)throw ee(new fT);return e}function f_(e){e.c?e.c.He():(e.d=!0,Ndn(e))}function Np(e){e.c?Np(e.c):(ab(e),e.d=!0)}function bWe(e){Bve(e.a),e.b=Ie(Xn,_t,1,e.b.length,5,1)}function MXt(e,t){return ku(t.j.c.length,e.j.c.length)}function DXt(e,t){e.c<0||e.b.b<e.c?H2(e.b,t):e.a._e(t)}function IXt(e,t){var n;n=e.Yg(t),n>=0?e.Bh(n):u4e(e,t)}function vWe(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function OXt(e){if(e.p!=4)throw ee(new ju);return e.e}function NXt(e){if(e.p!=3)throw ee(new ju);return e.e}function PXt(e){if(e.p!=6)throw ee(new ju);return e.f}function BXt(e){if(e.p!=6)throw ee(new ju);return e.k}function FXt(e){if(e.p!=3)throw ee(new ju);return e.j}function RXt(e){if(e.p!=4)throw ee(new ju);return e.j}function Ove(e){return!e.b&&(e.b=new FF(new Eee)),e.b}function Mv(e){return e.c==-2&&P8(e,nln(e.g,e.b)),e.c}function lx(e,t){var n;return n=wne("",e),n.n=t,n.i=1,n}function jXt(e,t){rne(u(t.b,65),e),Su(t.a,new ri(e))}function $Xt(e,t){Pr((!e.a&&(e.a=new yM(e,e)),e.a),t)}function wWe(e,t){this.b=e,gne.call(this,e,t),Vqe(this)}function mWe(e,t){this.b=e,xbe.call(this,e,t),Uqe(this)}function Nve(e,t,n,r){bv.call(this,e,t),this.d=n,this.a=r}function _j(e,t,n,r){bv.call(this,e,n),this.a=t,this.f=r}function yWe(e,t){yVt.call(this,gnn(Or(e),Or(t))),this.a=t}function kWe(){H3e.call(this,xb,(THe(),T3t)),cbn(this)}function xWe(){H3e.call(this,qh,(q8(),hAe)),v2n(this)}function EWe(){Wr.call(this,"DELAUNAY_TRIANGULATION",0)}function HXt(e){return String.fromCharCode.apply(null,e)}function Si(e,t,n){return ga(t)?Io(e,t,n):lu(e.f,t,n)}function Pve(e){return fn(),e?e.ve():(z3(),z3(),Oxe)}function zXt(e,t,n){return q6(),n.pg(e,u(t.cd(),146))}function TWe(e,t){return sj(),new Uye(new sVe(e),new iVe(t))}function GXt(e){return Vl(e,uae),v$(Wa(Wa(5,e),e/10|0))}function Cj(){Cj=de,Edt=new Cee(ie(ne(Eb,1),oz,42,0,[]))}function _We(e){return!e.d&&(e.d=new E(e.c.Cc())),e.d}function hx(e){return!e.a&&(e.a=new sHe(e.c.vc())),e.a}function CWe(e){return!e.b&&(e.b=new H8(e.c.ec())),e.b}function Wd(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function zc(e,t){return $e(e)===$e(t)||e!=null&&Ci(e,t)}function qXt(e,t){return In(),u(t.b,19).a<e}function VXt(e,t){return In(),u(t.a,19).a<e}function _o(e,t){return nne(e.a,t)?e.b[u(t,22).g]:null}function UXt(e,t,n,r){e.a=$l(e.a,0,t)+(""+r)+dM(e.a,n)}function SWe(e,t){e.u.Hc((al(),Z0))&&Xhn(e,t),Ien(e,t)}function Ma(e,t){return zr(t,e.length),e.charCodeAt(t)}function AWe(){ec.call(this,"There is no more element.")}function d_(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function LWe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function li(e,t,n,r){return Met(e,t,n,!1),X$(e,r),e}function KXt(e){return e.j.c=Ie(Xn,_t,1,0,5,1),e.a=-1,e}function WXt(e){return!e.c&&(e.c=new yn(kr,e,5,8)),e.c}function YXt(e){return!e.b&&(e.b=new yn(kr,e,4,7)),e.b}function Sj(e){return!e.n&&(e.n=new ot(Qo,e,1,7)),e.n}function Tne(e){return!e.c&&(e.c=new ot(xl,e,9,9)),e.c}function fx(e){return e.e==B7&&Cge(e,dan(e.g,e.b)),e.e}function IM(e){return e.f==B7&&tee(e,ecn(e.g,e.b)),e.f}function H3(e){var t;return t=e.b,!t&&(e.b=t=new IL(e)),t}function Bve(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function dx(e){if(bl(e.d),e.d.d!=e.c)throw ee(new uh)}function Fve(e,t){this.b=e,this.c=t,this.a=new b6(this.b)}function _ne(e,t,n){this.a=U5e,this.d=e,this.b=t,this.c=n}function MWe(e,t){this.d=(An(e),e),this.a=16449,this.c=t}function XXt(e,t){lnt(e,We(B0(t,"x")),We(B0(t,"y")))}function QXt(e,t){lnt(e,We(B0(t,"x")),We(B0(t,"y")))}function qi(e,t){return ab(e),new mn(e,new Hwe(t,e.a))}function Eu(e,t){return ab(e),new mn(e,new Lwe(t,e.a))}function Aj(e,t){return ab(e),new nbe(e,new jQe(t,e.a))}function Lj(e,t){return ab(e),new rbe(e,new $Qe(t,e.a))}function ZXt(e,t){return new iYe(u(Or(e),62),u(Or(t),62))}function JXt(e,t){return Spe(),Bs((An(e),e),(An(t),t))}function eQt(){return rR(),ie(ne(p7e,1),rt,481,0,[lue])}function tQt(){return sR(),ie(ne(aCe,1),rt,482,0,[ghe])}function nQt(){return aR(),ie(ne(mmt,1),rt,551,0,[phe])}function rQt(){return CT(),ie(ne(SCe,1),rt,530,0,[mO])}function DWe(e){this.a=new at,this.e=Ie(Sr,Je,48,e,0,2)}function Cne(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function Mj(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function Rve(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function IWe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function fh(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function OWe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function D6(e,t,n,r){Wr.call(this,e,t),this.a=n,this.b=r}function NWe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function iQt(e,t,n){g2n(e.a,n),hrn(n),Hfn(e.b,n),I2n(t,n)}function Sne(e,t,n){var r,i;return r=P5e(e),i=t.Kh(n,r),i}function PWe(e,t){var n,r;return n=e/t,r=_s(n),n>r&&++r,r}function L0(e){var t,n;return n=(t=new cv,t),_x(n,e),n}function Ane(e){var t,n;return n=(t=new cv,t),q3e(n,e),n}function sQt(e,t){var n;return n=Jn(e.f,t),kme(t,n),null}function Lne(e){var t;return t=bnn(e),t||null}function BWe(e){return!e.b&&(e.b=new ot(ta,e,12,3)),e.b}function aQt(e){return e!=null&&YL(IV,e.toLowerCase())}function oQt(e,t){return Bs(qu(e)*Ll(e),qu(t)*Ll(t))}function cQt(e,t){return Bs(qu(e)*Ll(e),qu(t)*Ll(t))}function uQt(e,t){return Bs(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function lQt(e,t){return Bs(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function FWe(e,t,n){n.a?Lu(e,t.b-e.f/2):Au(e,t.a-e.g/2)}function RWe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function jWe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function V2(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function $We(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function HWe(e,t,n,r){lh(),OQe.call(this,t,n,r),this.a=e}function zWe(e,t,n,r){lh(),OQe.call(this,t,n,r),this.a=e}function GWe(e,t){this.a=e,bUt.call(this,e,u(e.d,15).Zc(t))}function Mne(e){this.f=e,this.c=this.f.e,e.f>0&&rit(this)}function qWe(e,t,n,r){this.b=e,this.c=r,bte.call(this,t,n)}function VWe(e){return Qn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function Ph(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function jve(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function Dj(e){return e.n&&(e.e!==dlt&&e._d(),e.j=null),e}function UWe(e){return n_(e==null||dne(e)&&e.im!==Ge),e}function KWe(e){this.b=new at,Ps(this.b,this.b),this.a=e}function I6(){I6=de,DG=new at,gue=new Ar,due=new at}function fn(){fn=de,bo=new X,o0=new pe,kG=new De}function z3(){z3=de,Dxe=new dn,Ixe=new dn,Oxe=new vt}function $ve(){$ve=de,t0t=new wr,r0t=new sve,n0t=new ni}function hQt(){qxe==256&&(Gxe=TG,TG=new A,qxe=0),++qxe}function O6(e){var t;return t=e.f,t||(e.f=new U8(e,e.c))}function fQt(e){return Jv(e)&&Bt(Nt(jt(e,(mt(),Ab))))}function dQt(e,t){return an(e,u(W(t,(mt(),aE)),19),t)}function WWe(e,t){return Z3(e.j,t.s,t.c)+Z3(t.e,e.s,e.c)}function YWe(e,t){e.e&&!e.e.a&&(Wje(e.e,t),YWe(e.e,t))}function XWe(e,t){e.d&&!e.d.a&&(Wje(e.d,t),XWe(e.d,t))}function gQt(e,t){return-Bs(qu(e)*Ll(e),qu(t)*Ll(t))}function pQt(e){return u(e.cd(),146).tg()+":"+Yo(e.dd())}function bQt(e){vf();var t;t=u(e.g,10),t.n.a=e.d.c+t.d.b}function vQt(e,t,n){return _T(),csn(u(Jn(e.e,t),522),n)}function wQt(e,t){return pl(e),pl(t),X$e(u(e,22),u(t,22))}function mQt(e,t,n){e.i=0,e.e=0,t!=n&&mtt(e,t,n)}function yQt(e,t,n){e.i=0,e.e=0,t!=n&&ytt(e,t,n)}function U2(e,t,n){var r,i;r=Tbe(n),i=new rT(r),Zf(e,t,i)}function Dne(e,t,n,r,i,a){WM.call(this,e,t,n,r,i,a?-2:-1)}function QWe(e,t,n,r){a2e.call(this,t,n),this.b=e,this.a=r}function Hve(e,t){new as,this.a=new $u,this.b=e,this.c=t}function kQt(e,t){return u(W(e,(nt(),Tk)),15).Fc(t),t}function Ij(e,t){if(e==null)throw ee(new d6(t));return e}function Pi(e){return!e.q&&(e.q=new ot(ef,e,11,10)),e.q}function qe(e){return!e.s&&(e.s=new ot(Bu,e,21,17)),e.s}function Oj(e){return!e.a&&(e.a=new ot(fs,e,10,11)),e.a}function Nj(e){return me(e,14)?new r_(u(e,14)):ZWt(e.Kc())}function xQt(e){return new Qqe(e,e.e.Hd().gc()*e.c.Hd().gc())}function EQt(e){return new Zqe(e,e.e.Hd().gc()*e.c.Hd().gc())}function zve(e){return e&&e.hashCode?e.hashCode():kv(e)}function Ine(e,t){return t==null?!!jo(e.f,null):RYt(e.g,t)}function TQt(e){return Or(e),krt(new ur(dr(e.a.Kc(),new V)))}function OM(e){return fn(),me(e,54)?new Pee(e):new HR(e)}function ZWe(e,t,n){return e.f?e.f.Ne(t,n):!1}function _Qt(e,t){return e.a=$l(e.a,0,t)+""+dM(e.a,t+1),e}function CQt(e,t){var n;return n=T2e(e.a,t),n&&(t.d=null),n}function Pj(e){var t,n;n=e,t=n.$modCount|0,n.$modCount=t+1}function Gve(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function JWe(e){this.b=e,this.a=new Ep(u(Or(new Rd),62))}function eYe(e){this.c=e,this.b=new Ep(u(Or(new Yn),62))}function tYe(e){this.c=e,this.b=new Ep(u(Or(new g3),62))}function nYe(){this.a=new Vge,this.b=new y$e,this.d=new EP}function Dv(){this.a=new $u,this.b=(Vl(3,ly),new tu(3))}function rYe(){this.b=new Ys,this.d=new as,this.e=new Kge}function Bj(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function iYe(e,t){oGt.call(this,new une(e)),this.a=e,this.b=t}function sYe(){ise(this,new vF),this.wb=(Op(),Tn),q8()}function SQt(e){Er(e,"No crossing minimization",1),lr(e)}function AQt(e){UF(),b.setTimeout(function(){throw e},0)}function Ro(e){return e.u||(dl(e),e.u=new zVe(e,e)),e.u}function Tu(e){var t;return t=u(Cn(e,16),26),t||e.zh()}function aYe(e,t){return me(t,146)&&on(e.b,u(t,146).tg())}function LQt(e,t){return e.a?t.Wg().Kc():u(t.Wg(),69).Zh()}function MQt(e){return e.k==(zn(),js)&&Js(e,(nt(),nS))}function One(e){this.a=(fn(),me(e,54)?new Pee(e):new HR(e))}function gx(){gx=de;var e,t;t=!Qsn(),e=new be,Wce=t?new ke:e}function Nne(e,t){var n;return n=xp(e.gm),t==null?n:n+": "+t}function oYe(e,t){var n;return n=e.b.Qc(t),ZXe(n,e.b.gc()),n}function NM(e,t){if(e==null)throw ee(new d6(t));return e}function jo(e,t){return Ntt(e,t,fZt(e,t==null?0:e.b.se(t)))}function DQt(e,t,n){return n>=0&&on(e.substr(n,t.length),t)}function Pp(e,t,n,r,i,a,h){return new ere(e.e,t,n,r,i,a,h)}function cYe(e,t,n,r,i,a){this.a=e,Sre.call(this,t,n,r,i,a)}function uYe(e,t,n,r,i,a){this.a=e,Sre.call(this,t,n,r,i,a)}function lYe(e,t){this.g=e,this.d=ie(ne(c0,1),Og,10,0,[t])}function mg(e,t){this.e=e,this.a=Xn,this.b=Pot(t),this.c=t}function hYe(e,t){XR.call(this),Xwe(this),this.a=e,this.c=t}function PM(e,t,n,r){us(e.c[t.g],n.g,r),us(e.c[n.g],t.g,r)}function Pne(e,t,n,r){us(e.c[t.g],t.g,n),us(e.b[t.g],t.g,r)}function IQt(){return qM(),ie(ne(JTe,1),rt,376,0,[zle,fO])}function OQt(){return XM(),ie(ne(VEe,1),rt,479,0,[qEe,hq])}function NQt(){return iD(),ie(ne(zEe,1),rt,419,0,[uq,HEe])}function PQt(){return o$(),ie(ne(NEe,1),rt,422,0,[OEe,Gue])}function BQt(){return Xj(),ie(ne(i9e,1),rt,420,0,[ile,r9e])}function FQt(){return eD(),ie(ne(YTe,1),rt,421,0,[jle,$le])}function RQt(){return y_(),ie(ne(Avt,1),rt,523,0,[vS,bS])}function jQt(){return Xf(),ie(ne(Zvt,1),rt,520,0,[Fy,u2])}function $Qt(){return bd(),ie(ne(Pvt,1),rt,516,0,[Aw,$g])}function HQt(){return L1(),ie(ne(Fvt,1),rt,515,0,[Ib,K1])}function zQt(){return Iv(),ie(ne(swt,1),rt,455,0,[l2,K4])}function GQt(){return Uj(),ie(ne(E_e,1),rt,425,0,[rhe,x_e])}function qQt(){return zj(),ie(ne(k_e,1),rt,480,0,[nhe,y_e])}function VQt(){return O$(),ie(ne(T_e,1),rt,495,0,[Jq,dE])}function UQt(){return u$(),ie(ne(C_e,1),rt,426,0,[__e,ohe])}function KQt(){return gD(),ie(ne(LCe,1),rt,429,0,[cV,ACe])}function WQt(){return VM(),ie(ne(oCe,1),rt,430,0,[bhe,aV])}function YQt(){return uH(),ie(ne(Uxe,1),rt,428,0,[rue,Vxe])}function XQt(){return p$(),ie(ne(Wxe,1),rt,427,0,[Kxe,iue])}function QQt(){return b$(),ie(ne(x7e,1),rt,424,0,[pue,IG])}function ZQt(){return Ix(),ie(ne(Qgt,1),rt,511,0,[YI,Aue])}function Fj(e,t,n,r){return n>=0?e.jh(t,n,r):e.Sg(null,n,r)}function Bne(e){return e.b.b==0?e.a.$e():Wte(e.b)}function JQt(e){if(e.p!=5)throw ee(new ju);return Ir(e.f)}function eZt(e){if(e.p!=5)throw ee(new ju);return Ir(e.k)}function qve(e){return $e(e.a)===$e((Fre(),Zhe))&&tbn(e),e.a}function fYe(e){this.a=u(Or(e),271),this.b=(fn(),new F2e(e))}function dYe(e,t){Ege(this,new Ft(e.a,e.b)),_F(this,CM(t))}function Iv(){Iv=de,l2=new Zpe(ak,0),K4=new Zpe(ok,1)}function bd(){bd=de,Aw=new Xpe(ok,0),$g=new Xpe(ak,1)}function Ov(){lGt.call(this,new p6(zm(12))),O2e(!0),this.a=2}function Fne(e,t,n){mi(),ov.call(this,e),this.b=t,this.a=n}function Vve(e,t,n){lh(),BF.call(this,t),this.a=e,this.b=n}function gYe(e){XR.call(this),Xwe(this),this.a=e,this.c=!0}function pYe(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Rj(e){var t;onn(e.a),Cqe(e.a),t=new rr(e.a),yye(t)}function tZt(e,t){Cot(e,!0),Su(e.e.wf(),new Abe(e,!0,t))}function jj(e,t){return WXe(t),inn(e,Ie(Sr,Jr,25,t,15,1),t)}function nZt(e,t){return I6(),e==ls(Jd(t))||e==ls(qp(t))}function Gc(e,t){return t==null?hc(jo(e.f,null)):LT(e.g,t)}function rZt(e){return e.b==0?null:(Qn(e.b!=0),bh(e,e.a.a))}function _s(e){return Math.max(Math.min(e,xi),-2147483648)|0}function iZt(e,t){var n=Kce[e.charCodeAt(0)];return n??e}function $j(e,t){return Ij(e,"set1"),Ij(t,"set2"),new hze(e,t)}function sZt(e,t){var n;return n=Jtn(e.f,t),Ni(WR(n),e.f.d)}function g_(e,t){var n,r;return n=t,r=new At,gut(e,n,r),r.d}function Rne(e,t,n,r){var i;i=new nUe,t.a[n.g]=i,S6(e.b,r,i)}function Uve(e,t,n){var r;r=e.Yg(t),r>=0?e.sh(r,n):P4e(e,t,n)}function G3(e,t,n){Gj(),e&&Si(Yhe,e,t),e&&Si(zO,e,n)}function bYe(e,t,n){this.i=new at,this.b=e,this.g=t,this.a=n}function Hj(e,t,n){this.c=new at,this.e=e,this.f=t,this.b=n}function Kve(e,t,n){this.a=new at,this.e=e,this.f=t,this.c=n}function vYe(e,t){RR(this),this.f=t,this.g=e,Dj(this),this._d()}function BM(e,t){var n;n=e.q.getHours(),e.q.setDate(t),rC(e,n)}function wYe(e,t){var n;for(Or(t),n=e.a;n;n=n.c)t.Od(n.g,n.i)}function mYe(e){var t;return t=new XF(zm(e.length)),Rme(t,e),t}function aZt(e){function t(){}return t.prototype=e||{},new t}function oZt(e,t){return Xet(e,t)?(UJe(e),!0):!1}function M0(e,t){if(t==null)throw ee(new fT);return ian(e,t)}function cZt(e){if(e.qe())return null;var t=e.n;return pG[t]}function FM(e){return e.Db>>16!=3?null:u(e.Cb,33)}function A1(e){return e.Db>>16!=9?null:u(e.Cb,33)}function yYe(e){return e.Db>>16!=6?null:u(e.Cb,79)}function kYe(e){return e.Db>>16!=7?null:u(e.Cb,235)}function xYe(e){return e.Db>>16!=7?null:u(e.Cb,160)}function ls(e){return e.Db>>16!=11?null:u(e.Cb,33)}function EYe(e,t){var n;return n=e.Yg(t),n>=0?e.lh(n):dse(e,t)}function TYe(e,t){var n;return n=new Zbe(t),Sit(n,e),new Gu(n)}function Wve(e){var t;return t=e.d,t=e.si(e.f),Pr(e,t),t.Ob()}function _Ye(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function jne(e,t){return b.Math.abs(e)<b.Math.abs(t)?e:t}function uZt(e){return!e.a&&(e.a=new ot(fs,e,10,11)),e.a.i>0}function CYe(){this.a=new C0,this.e=new Ys,this.g=0,this.i=0}function SYe(e){this.a=e,this.b=Ie(_vt,Je,1944,e.e.length,0,2)}function $ne(e,t,n){var r;r=btt(e,t,n),e.b=new I$(r.c.length)}function L1(){L1=de,Ib=new Ype(Uae,0),K1=new Ype("UP",1)}function zj(){zj=de,nhe=new Jpe(Ght,0),y_e=new Jpe("FAN",1)}function Gj(){Gj=de,Yhe=new Ar,zO=new Ar,Lqt(Hdt,new O9)}function lZt(e){if(e.p!=0)throw ee(new ju);return GT(e.f,0)}function hZt(e){if(e.p!=0)throw ee(new ju);return GT(e.k,0)}function AYe(e){return e.Db>>16!=3?null:u(e.Cb,147)}function px(e){return e.Db>>16!=6?null:u(e.Cb,235)}function Bm(e){return e.Db>>16!=17?null:u(e.Cb,26)}function LYe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.le(t))}function fZt(e,t){var n;return n=e.a.get(t),n??new Array}function dZt(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),rC(e,n)}function Io(e,t,n){return t==null?lu(e.f,null,n):Uv(e.g,t,n)}function p_(e,t,n,r,i,a){return new N0(e.e,t,e.aj(),n,r,i,a)}function RM(e,t,n){return e.a=$l(e.a,0,t)+(""+n)+dM(e.a,t),e}function gZt(e,t,n){return st(e.a,(Cj(),Fie(t,n),new bv(t,n))),e}function Yve(e){return P2e(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function MYe(e){return P2e(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function wa(e,t){e.d&&_u(e.d.e,e),e.d=t,e.d&&st(e.d.e,e)}function Ka(e,t){e.c&&_u(e.c.g,e),e.c=t,e.c&&st(e.c.g,e)}function Oo(e,t){e.c&&_u(e.c.a,e),e.c=t,e.c&&st(e.c.a,e)}function nc(e,t){e.i&&_u(e.i.j,e),e.i=t,e.i&&st(e.i.j,e)}function DYe(e,t,n){this.a=t,this.c=e,this.b=(Or(n),new Gu(n))}function IYe(e,t,n){this.a=t,this.c=e,this.b=(Or(n),new Gu(n))}function OYe(e,t){this.a=e,this.c=fc(this.a),this.b=new Bj(t)}function pZt(e){var t;return ab(e),t=new Ys,qi(e,new Ht(t))}function Fm(e,t){if(e<0||e>t)throw ee(new Mo(e6e+e+t6e+t))}function Xve(e,t){return EKe(e.a,t)?yve(e,u(t,22).g,null):null}function bZt(e){return rie(),In(),u(e.a,81).d.e!=0}function NYe(){NYe=de,Cdt=Qr((zF(),ie(ne(_dt,1),rt,538,0,[Vce])))}function PYe(){PYe=de,fvt=rl(new Xs,(io(),zo),(po(),XI))}function Qve(){Qve=de,dvt=rl(new Xs,(io(),zo),(po(),XI))}function BYe(){BYe=de,pvt=rl(new Xs,(io(),zo),(po(),XI))}function FYe(){FYe=de,Mvt=ki(new Xs,(io(),zo),(po(),YC))}function Hl(){Hl=de,Ovt=ki(new Xs,(io(),zo),(po(),YC))}function RYe(){RYe=de,Nvt=ki(new Xs,(io(),zo),(po(),YC))}function Hne(){Hne=de,jvt=ki(new Xs,(io(),zo),(po(),YC))}function jYe(){jYe=de,_wt=rl(new Xs,(Jx(),mS),(Y_(),Kle))}function K2(e,t,n,r){this.c=e,this.d=r,Gne(this,t),qne(this,n)}function N6(e){this.c=new as,this.b=e.b,this.d=e.c,this.a=e.a}function zne(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function Gne(e,t){e.a&&_u(e.a.k,e),e.a=t,e.a&&st(e.a.k,e)}function qne(e,t){e.b&&_u(e.b.f,e),e.b=t,e.b&&st(e.b.f,e)}function $Ye(e,t){_Xt(e,e.b,e.c),u(e.b.b,65),t&&u(t.b,65).b}function vZt(e,t){dye(e,t),me(e.Cb,88)&&ny(dl(u(e.Cb,88)),2)}function Vne(e,t){me(e.Cb,88)&&ny(dl(u(e.Cb,88)),4),nu(e,t)}function qj(e,t){me(e.Cb,179)&&(u(e.Cb,179).tb=null),nu(e,t)}function qc(e,t){return ho(),kre(t)?new aj(t,e):new fM(t,e)}function wZt(e,t){var n,r;n=t.c,r=n!=null,r&&M6(e,new Nm(t.c))}function HYe(e){var t,n;return n=(q8(),t=new cv,t),_x(n,e),n}function zYe(e){var t,n;return n=(q8(),t=new cv,t),_x(n,e),n}function GYe(e,t){var n;return n=new Nh(e),t.c[t.c.length]=n,n}function qYe(e,t){var n;return n=u(Km(O6(e.a),t),14),n?n.gc():0}function VYe(e){var t;return ab(e),t=(z3(),z3(),Ixe),m$(e,t)}function UYe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function Zve(e,t){cGt.call(this,new p6(zm(e))),Vl(t,olt),this.a=t}function Yd(e,t,n){tnt(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function KYe(e,t,n){var r;tnt(t,n,e.c.length),r=n-t,xpe(e.c,t,r)}function mZt(e,t){qqe(e,Ir(Gs(Mp(t,24),lz)),Ir(Gs(t,lz)))}function En(e,t){if(e<0||e>=t)throw ee(new Mo(e6e+e+t6e+t))}function zr(e,t){if(e<0||e>=t)throw ee(new lpe(e6e+e+t6e+t))}function kn(e,t){this.b=(An(e),e),this.a=t&hy?t:t|64|md}function WYe(e){_qe(this),s$e(this.a,Bme(b.Math.max(8,e))<<1)}function M1(e){return ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a]))}function yZt(){return F1(),ie(ne(yl,1),rt,132,0,[zxe,Zl,yy])}function kZt(){return Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])}function xZt(){return sl(),ie(ne(l0t,1),rt,461,0,[Md,n2,Cf])}function EZt(){return Cu(),ie(ne(f0t,1),rt,462,0,[a1,r2,Sf])}function TZt(){return Vv(),ie(ne($7e,1),rt,423,0,[I4,j7e,_ue])}function _Zt(){return x_(),ie(ne(B7e,1),rt,379,0,[mue,wue,yue])}function CZt(){return I_(),ie(ne(jTe,1),rt,378,0,[Ole,RTe,Rq])}function SZt(){return z6(),ie(ne(BEe,1),rt,314,0,[yk,ZI,PEe])}function AZt(){return _$(),ie(ne(REe,1),rt,337,0,[FEe,cq,que])}function LZt(){return nb(),ie(ne(Cpt,1),rt,450,0,[Kue,J7,B4])}function MZt(){return Gv(),ie(ne(Nue,1),rt,361,0,[ww,s2,vw])}function DZt(){return P0(),ie(ne(Npt,1),rt,303,0,[eO,R4,kk])}function IZt(){return Fx(),ie(ne(rle,1),rt,292,0,[tle,nle,JI])}function OZt(){return vo(),ie(ne(svt,1),rt,452,0,[dS,cl,ou])}function NZt(){return F0(),ie(ne(WTe,1),rt,339,0,[c2,KTe,Rle])}function PZt(){return R$(),ie(ne(ZTe,1),rt,375,0,[XTe,Hle,QTe])}function BZt(){return G$(),ie(ne(s_e,1),rt,377,0,[Vle,hE,By])}function FZt(){return qx(),ie(ne(t_e,1),rt,336,0,[Gle,e_e,gS])}function RZt(){return B$(),ie(ne(i_e,1),rt,338,0,[r_e,qle,n_e])}function jZt(){return zv(),ie(ne(Evt,1),rt,454,0,[dO,pS,zq])}function $Zt(){return eH(),ie(ne(Mwt,1),rt,442,0,[ahe,ihe,she])}function HZt(){return wD(),ie(ne(L_e,1),rt,380,0,[eV,S_e,A_e])}function zZt(){return J$(),ie(ne(K_e,1),rt,381,0,[U_e,fhe,V_e])}function GZt(){return F$(),ie(ne(G_e,1),rt,293,0,[hhe,z_e,H_e])}function qZt(){return TD(),ie(ne(dhe,1),rt,437,0,[rV,iV,sV])}function VZt(){return R0(),ie(ne(BSe,1),rt,334,0,[wV,qg,IS])}function UZt(){return N1(),ie(ne(TSe,1),rt,272,0,[bE,$y,vE])}function KZt(e,t){return g1n(e,t,me(t,99)&&(u(t,18).Bb&ao)!=0)}function WZt(e,t,n){var r;return r=aC(e,t,!1),r.b<=t&&r.a<=n}function YYe(e,t,n){var r;r=new JX,r.b=t,r.a=n,++t.b,st(e.d,r)}function YZt(e,t){var n;return n=(An(e),e).g,K2e(!!n),An(t),n(t)}function Jve(e,t){var n,r;return r=ox(e,t),n=e.a.Zc(r),new lze(e,n)}function XZt(e){return e.Db>>16!=6?null:u(bse(e),235)}function QZt(e){if(e.p!=2)throw ee(new ju);return Ir(e.f)&Ss}function ZZt(e){if(e.p!=2)throw ee(new ju);return Ir(e.k)&Ss}function JZt(e){return e.a==(mx(),BV)&&eee(e,M1n(e.g,e.b)),e.a}function P6(e){return e.d==(mx(),BV)&&aT(e,Egn(e.g,e.b)),e.d}function Y(e){return Qn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function eJt(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function Gs(e,t){return jp(WYt(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function D1(e,t){return jp(YYt(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function Une(e,t){return jp(XYt(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function tJt(e){return Wa(A0(Mu(vl(e,32)),32),Mu(vl(e,32)))}function Nv(e){return Or(e),me(e,14)?new Gu(u(e,14)):rx(e.Kc())}function nJt(e,t){return E_(),e.c==t.c?Bs(t.d,e.d):Bs(e.c,t.c)}function rJt(e,t){return E_(),e.c==t.c?Bs(e.d,t.d):Bs(e.c,t.c)}function iJt(e,t){return E_(),e.c==t.c?Bs(e.d,t.d):Bs(t.c,e.c)}function sJt(e,t){return E_(),e.c==t.c?Bs(t.d,e.d):Bs(t.c,e.c)}function aJt(e,t){var n;n=We(gt(e.a.We((di(),vV)))),jut(e,t,n)}function oJt(e,t){var n;n=u(Jn(e.g,t),57),Su(t.d,new Jze(e,n))}function cJt(e,t){var n,r;return n=Frt(e),r=Frt(t),n<r?-1:n>r?1:0}function XYe(e,t){var n,r;return n=bre(t),r=n,u(Jn(e.c,r),19).a}function QYe(e,t){var n;for(n=e+"";n.length<t;)n="0"+n;return n}function Vj(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function ewe(e){return e.c==null||e.c.length==0?"n_"+e.b:"n_"+e.c}function twe(e,t){return e&&e.equals?e.equals(t):$e(e)===$e(t)}function nwe(e,t){return t==0?!!e.o&&e.o.f!=0:Sie(e,t)}function wf(e,t,n){var r;e.n&&t&&n&&(r=new bZ,st(e.e,r))}function Kne(e,t,n){var r;r=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=r}function ZYe(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function JYe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function eXe(e,t,n){ov.call(this,25),this.b=e,this.a=t,this.c=n}function zl(e){mi(),ov.call(this,e),this.c=!1,this.a=!1}function tXe(e,t,n,r,i,a){Jwe.call(this,e,t,n,r,i),a&&(this.o=-2)}function nXe(e,t,n,r,i,a){eme.call(this,e,t,n,r,i),a&&(this.o=-2)}function rXe(e,t,n,r,i,a){Twe.call(this,e,t,n,r,i),a&&(this.o=-2)}function iXe(e,t,n,r,i,a){rme.call(this,e,t,n,r,i),a&&(this.o=-2)}function sXe(e,t,n,r,i,a){_we.call(this,e,t,n,r,i),a&&(this.o=-2)}function aXe(e,t,n,r,i,a){tme.call(this,e,t,n,r,i),a&&(this.o=-2)}function oXe(e,t,n,r,i,a){nme.call(this,e,t,n,r,i),a&&(this.o=-2)}function cXe(e,t,n,r,i,a){Cwe.call(this,e,t,n,r,i),a&&(this.o=-2)}function uXe(e,t,n,r){BF.call(this,n),this.b=e,this.c=t,this.d=r}function rwe(e,t){this.a=new at,this.d=new at,this.f=e,this.c=t}function lXe(){this.c=new Bqe,this.a=new nYe,this.b=new g$e,Sze()}function hXe(){q6(),this.b=new Ar,this.a=new Ar,this.c=new at}function fXe(e,t){this.g=e,this.d=(mx(),BV),this.a=BV,this.b=t}function dXe(e,t){this.f=e,this.a=(mx(),PV),this.c=PV,this.b=t}function iwe(e,t){!e.c&&(e.c=new gs(e,0)),QH(e.c,(Bi(),qS),t)}function Uj(){Uj=de,rhe=new e2e("DFS",0),x_e=new e2e("BFS",1)}function uJt(e,t,n){var r;return r=u(e.Zb().xc(t),14),!!r&&r.Hc(n)}function gXe(e,t,n){var r;return r=u(e.Zb().xc(t),14),!!r&&r.Mc(n)}function pXe(e,t,n,r){return e.a+=""+$l(t==null?Iu:Yo(t),n,r),e}function dc(e,t,n,r,i,a){return Met(e,t,n,a),cye(e,r),uye(e,i),e}function Wne(e){return Qn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function b_(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function bXe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function lJt(e){return!!e.a&&gl(e.a.a).i!=0&&!(e.b&&Nie(e.b))}function hJt(e){return!!e.u&&Bc(e.u.a).i!=0&&!(e.n&&Oie(e.n))}function vXe(e){return Zte(e.e.Hd().gc()*e.c.Hd().gc(),16,new e6(e))}function fJt(e,t){return KKe(Mu(e.q.getTime()),Mu(t.q.getTime()))}function vd(e){return u(R1(e,Ie(Cue,coe,17,e.c.length,0,1)),474)}function jM(e){return u(R1(e,Ie(c0,Og,10,e.c.length,0,1)),193)}function dJt(e){return Hl(),!no(e)&&!(!no(e)&&e.c.i.c==e.d.i.c)}function wXe(e,t,n){var r;r=(Or(e),new Gu(e)),Gon(new DYe(r,t,n))}function $M(e,t,n){var r;r=(Or(e),new Gu(e)),qon(new IYe(r,t,n))}function mXe(e,t){var n;return n=1-t,e.a[n]=D$(e.a[n],n),D$(e,t)}function yXe(e,t){var n;e.e=new rpe,n=sy(t),aa(n,e.c),pot(e,n,0)}function ma(e,t,n,r){var i;i=new xB,i.a=t,i.b=n,i.c=r,oi(e.a,i)}function pt(e,t,n,r){var i;i=new xB,i.a=t,i.b=n,i.c=r,oi(e.b,i)}function mf(e){var t,n,r;return t=new eWe,n=Pse(t,e),Zbn(t),r=n,r}function swe(){var e,t,n;return t=(n=(e=new cv,e),n),st(kAe,t),t}function Kj(e){return e.j.c=Ie(Xn,_t,1,0,5,1),Bve(e.c),KXt(e.a),e}function q3(e){return _T(),me(e.g,10)?u(e.g,10):null}function gJt(e){return H3(e).dc()?!1:(dVt(e,new fe),!0)}function pJt(e){if(!("stack"in e))try{throw e}catch{}return e}function HM(e,t){if(e<0||e>=t)throw ee(new Mo(Ahn(e,t)));return e}function kXe(e,t,n){if(e<0||t<e||t>n)throw ee(new Mo(Jln(e,t,n)))}function Yne(e,t){if(zs(e.a,t),t.d)throw ee(new ec(Llt));t.d=e}function Xne(e,t){if(t.$modCount!=e.$modCount)throw ee(new uh)}function xXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function EXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function TXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function bJt(e,t){return e.a<=e.b?(t.ud(e.a++),!0):!1}function Pv(e){var t;return Uo(e)?(t=e,t==-0?0:t):_tn(e)}function Wj(e){var t;return Np(e),t=new xt,L3(e.a,new ln(t)),t}function _Xe(e){var t;return Np(e),t=new Lr,L3(e.a,new ft(t)),t}function Ca(e,t){this.a=e,s6.call(this,e),Fm(t,e.gc()),this.b=t}function awe(e){this.e=e,this.b=this.e.a.entries(),this.a=new Array}function vJt(e){return Zte(e.e.Hd().gc()*e.c.Hd().gc(),273,new mF(e))}function Yj(e){return new tu((Vl(e,uae),v$(Wa(Wa(5,e),e/10|0))))}function CXe(e){return u(R1(e,Ie(Wgt,aht,11,e.c.length,0,1)),1943)}function wJt(e,t,n){return n.f.c.length>0?Eve(e.a,t,n):Eve(e.b,t,n)}function mJt(e,t,n){e.d&&_u(e.d.e,e),e.d=t,e.d&&Dm(e.d.e,n,e)}function Qne(e,t){fwn(t,e),zbe(e.d),zbe(u(W(e,(mt(),Dq)),207))}function v_(e,t){hwn(t,e),Hbe(e.d),Hbe(u(W(e,(mt(),Dq)),207))}function Bv(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=n.fe()),r}function bx(e,t){var n,r;return n=Hm(e,t),r=null,n&&(r=n.ie()),r}function w_(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=n.ie()),r}function D0(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=Q3e(n)),r}function yJt(e,t,n){var r;return r=Qx(n),UH(e.g,r,t),UH(e.i,t,n),t}function kJt(e,t,n){var r;r=Ysn();try{return CUt(e,t,n)}finally{IJt(r)}}function SXe(e){var t;t=e.Wg(),this.a=me(t,69)?u(t,69).Zh():t.Kc()}function Xs(){H$e.call(this),this.j.c=Ie(Xn,_t,1,0,5,1),this.a=-1}function owe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function AXe(e,t,n,r){this.e=r,this.d=null,this.c=e,this.a=t,this.b=n}function cwe(e,t,n){this.d=new NF(this),this.e=e,this.i=t,this.f=n}function Xj(){Xj=de,ile=new Vpe(T7,0),r9e=new Vpe("TOP_LEFT",1)}function LXe(){LXe=de,o_e=TWe(lt(1),lt(4)),a_e=TWe(lt(1),lt(2))}function MXe(){MXe=de,ymt=Qr((aR(),ie(ne(mmt,1),rt,551,0,[phe])))}function DXe(){DXe=de,wmt=Qr((sR(),ie(ne(aCe,1),rt,482,0,[ghe])))}function IXe(){IXe=de,Rmt=Qr((CT(),ie(ne(SCe,1),rt,530,0,[mO])))}function OXe(){OXe=de,q0t=Qr((rR(),ie(ne(p7e,1),rt,481,0,[lue])))}function xJt(){return qv(),ie(ne(F0t,1),rt,406,0,[$I,jI,cue,uue])}function EJt(){return l$(),ie(ne(EG,1),rt,297,0,[eue,Rxe,jxe,$xe])}function TJt(){return z_(),ie(ne(z0t,1),rt,394,0,[VI,AG,LG,UI])}function _Jt(){return Y6(),ie(ne(j0t,1),rt,323,0,[zI,HI,GI,qI])}function CJt(){return Rx(),ie(ne(Bgt,1),rt,405,0,[bw,Ey,xy,D4])}function SJt(){return z$(),ie(ne(tpt,1),rt,360,0,[Iue,tq,nq,QI])}function NXe(e,t,n,r){return me(n,54)?new yVe(e,t,n,r):new fve(e,t,n,r)}function AJt(){return B1(),ie(ne(lpt,1),rt,411,0,[mk,W7,Y7,Oue])}function LJt(e){var t;return e.j==(dt(),Tr)&&(t=iat(e),zu(t,$n))}function MJt(e,t){var n;n=t.a,Ka(n,t.c.d),wa(n,t.d.d),qm(n.a,e.n)}function PXe(e,t){return u(Ev(vj(u(Oi(e.k,t),15).Oc(),O4)),113)}function BXe(e,t){return u(Ev(wj(u(Oi(e.k,t),15).Oc(),O4)),113)}function DJt(e){return new kn(Ann(u(e.a.dd(),14).gc(),e.a.cd()),16)}function vx(e){return me(e,14)?u(e,14).dc():!e.Kc().Ob()}function B6(e){return _T(),me(e.g,145)?u(e.g,145):null}function FXe(e){if(e.e.g!=e.b)throw ee(new uh);return!!e.c&&e.d>0}function ii(e){return Qn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function uwe(e,t){An(t),us(e.a,e.c,t),e.c=e.c+1&e.a.length-1,$rt(e)}function Bp(e,t){An(t),e.b=e.b-1&e.a.length-1,us(e.a,e.b,t),$rt(e)}function RXe(e,t){var n;for(n=e.j.c.length;n<t;n++)st(e.j,e.rg())}function jXe(e,t,n,r){var i;return i=r[t.g][n.g],We(gt(W(e.a,i)))}function lwe(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function $Xe(e,t,n,r,i){this.a=e,this.e=t,this.f=n,this.b=r,this.g=i}function IJt(e){e&&Atn((ope(),cxe)),--bG,e&&vG!=-1&&(bqt(vG),vG=-1)}function OJt(){return Xm(),ie(ne(Ple,1),rt,197,0,[jq,Nle,U4,V4])}function NJt(){return Jx(),ie(ne(l_e,1),rt,393,0,[Uq,wS,pO,mS])}function PJt(){return mH(),ie(ne($_e,1),rt,340,0,[lhe,R_e,j_e,F_e])}function BJt(){return Nl(),ie(ne(FS,1),rt,374,0,[BO,Rb,PO,Hy])}function FJt(){return Kl(),ie(ne(kyt,1),rt,285,0,[IO,l0,f2,DO])}function RJt(){return $0(),ie(ne(Hhe,1),rt,218,0,[$he,MO,wE,Bk])}function jJt(){return rH(),ie(ne(VSe,1),rt,311,0,[qhe,zSe,qSe,GSe])}function $Jt(){return Ol(),ie(ne(Byt,1),rt,396,0,[rh,KSe,USe,WSe])}function HJt(e){return Gj(),Ml(Yhe,e)?u(Jn(Yhe,e),331).ug():null}function dh(e,t,n){return t<0?dse(e,n):u(n,66).Nj().Sj(e,e.yh(),t)}function zJt(e,t,n){var r;return r=Qx(n),UH(e.d,r,t),Si(e.e,t,n),t}function GJt(e,t,n){var r;return r=Qx(n),UH(e.j,r,t),Si(e.k,t,n),t}function HXe(e){var t,n;return t=(gv(),n=new nv,n),e&&xse(t,e),t}function hwe(e){var t;return t=e.ri(e.i),e.i>0&&Rc(e.g,0,t,0,e.i),t}function zXe(e,t){uR();var n;return n=u(Jn(DV,e),55),!n||n.wj(t)}function qJt(e){if(e.p!=1)throw ee(new ju);return Ir(e.f)<<24>>24}function VJt(e){if(e.p!=1)throw ee(new ju);return Ir(e.k)<<24>>24}function UJt(e){if(e.p!=7)throw ee(new ju);return Ir(e.k)<<16>>16}function KJt(e){if(e.p!=7)throw ee(new ju);return Ir(e.f)<<16>>16}function I0(e){var t;for(t=0;e.Ob();)e.Pb(),t=Wa(t,1);return v$(t)}function GXe(e,t){var n;return n=new ym,e.xd(n),n.a+="..",t.yd(n),n.a}function WJt(e,t,n){var r;r=u(Jn(e.g,n),57),st(e.a.c,new _a(t,r))}function YJt(e,t,n){return one(gt(hc(jo(e.f,t))),gt(hc(jo(e.f,n))))}function Qj(e,t,n){return WH(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function XJt(e,t,n){return d7(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function QJt(e,t,n){return y1n(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function fwe(e,t){return e==(zn(),js)&&t==js?4:e==js||t==js?8:32}function qXe(e,t){return $e(t)===$e(e)?"(this Map)":t==null?Iu:Yo(t)}function ZJt(e,t){return u(t==null?hc(jo(e.f,null)):LT(e.g,t),281)}function VXe(e,t,n){var r;return r=Qx(n),Si(e.b,r,t),Si(e.c,t,n),t}function UXe(e,t){var n;for(n=t;n;)Sm(e,n.i,n.j),n=ls(n);return e}function dwe(e,t){var n;return n=OM(rx(new vre(e,t))),cj(new vre(e,t)),n}function Xd(e,t){ho();var n;return n=u(e,66).Mj(),Iln(n,t),n.Ok(t)}function JJt(e,t,n,r,i){var a;a=_1n(i,n,r),st(t,Ehn(i,a)),gln(e,i,t)}function KXe(e,t,n){e.i=0,e.e=0,t!=n&&(ytt(e,t,n),mtt(e,t,n))}function gwe(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+Xp),rC(e,n)}function een(e,t,n){if(n){var r=n.ee();e.a[t]=r(n)}else delete e.a[t]}function Zne(e,t,n){if(n){var r=n.ee();n=r(n)}else n=void 0;e.a[t]=n}function WXe(e){if(e<0)throw ee(new J$e("Negative array size: "+e))}function Bc(e){return e.n||(dl(e),e.n=new SKe(e,Eo,e),Ro(e)),e.n}function m_(e){return Qn(e.a<e.c.a.length),e.b=e.a,tJe(e),e.c.b[e.b]}function pwe(e){e.b!=e.c&&(e.a=Ie(Xn,_t,1,8,5,1),e.b=0,e.c=0)}function YXe(e){this.b=new Ar,this.c=new Ar,this.d=new Ar,this.a=e}function Rm(e,t){mi(),ov.call(this,e),this.a=t,this.c=-1,this.b=-1}function jm(e,t,n,r){ZYe.call(this,1,n,r),this.c=e,this.b=t}function Jne(e,t,n,r){JYe.call(this,1,n,r),this.c=e,this.b=t}function ere(e,t,n,r,i,a,h){Sre.call(this,t,r,i,a,h),this.c=e,this.a=n}function W2(e,t,n){this.e=e,this.a=Xn,this.b=Pot(t),this.c=t,this.d=n}function tre(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function XXe(e){this.c=e,this.a=u(Rh(e),148),this.b=this.a.Aj().Nh()}function bwe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function Y2(){Ar.call(this),bVe(this),this.d.b=this.d,this.d.a=this.d}function QXe(e,t){fbe.call(this),this.a=e,this.b=t,st(this.a.b,this)}function ten(e,t){var n;return n=t!=null?Gc(e,t):hc(jo(e.f,t)),DR(n)}function nen(e,t){var n;return n=t!=null?Gc(e,t):hc(jo(e.f,t)),DR(n)}function ZXe(e,t){var n;for(n=0;n<t;++n)us(e,n,new R(u(e[n],42)))}function ren(e,t){var n;for(n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}function JXe(e,t){Gx();var n;return n=e.j.g-t.j.g,n!=0?n:0}function eQe(e,t){return An(t),e.a!=null?jYt(t.Kb(e.a)):xG}function Zj(e){var t;return e?new Zbe(e):(t=new C0,Bre(t,e),t)}function Gl(e,t){var n;return t.b.Kb(UZe(e,t.c.Ee(),(n=new Sn(t),n)))}function Jj(e){P3e(),qqe(this,Ir(Gs(Mp(e,24),lz)),Ir(Gs(e,lz)))}function tQe(){tQe=de,i0t=Qr((uH(),ie(ne(Uxe,1),rt,428,0,[rue,Vxe])))}function nQe(){nQe=de,s0t=Qr((p$(),ie(ne(Wxe,1),rt,427,0,[Kxe,iue])))}function rQe(){rQe=de,ogt=Qr((b$(),ie(ne(x7e,1),rt,424,0,[pue,IG])))}function iQe(){iQe=de,Zgt=Qr((Ix(),ie(ne(Qgt,1),rt,511,0,[YI,Aue])))}function sQe(){sQe=de,_pt=Qr((iD(),ie(ne(zEe,1),rt,419,0,[uq,HEe])))}function aQe(){aQe=de,Lpt=Qr((XM(),ie(ne(VEe,1),rt,479,0,[qEe,hq])))}function oQe(){oQe=de,cvt=Qr((qM(),ie(ne(JTe,1),rt,376,0,[zle,fO])))}function cQe(){cQe=de,ivt=Qr((eD(),ie(ne(YTe,1),rt,421,0,[jle,$le])))}function uQe(){uQe=de,kpt=Qr((o$(),ie(ne(NEe,1),rt,422,0,[OEe,Gue])))}function lQe(){lQe=de,Bpt=Qr((Xj(),ie(ne(i9e,1),rt,420,0,[ile,r9e])))}function hQe(){hQe=de,Jvt=Qr((Xf(),ie(ne(Zvt,1),rt,520,0,[Fy,u2])))}function fQe(){fQe=de,Lvt=Qr((y_(),ie(ne(Avt,1),rt,523,0,[vS,bS])))}function dQe(){dQe=de,Bvt=Qr((bd(),ie(ne(Pvt,1),rt,516,0,[Aw,$g])))}function gQe(){gQe=de,Rvt=Qr((L1(),ie(ne(Fvt,1),rt,515,0,[Ib,K1])))}function pQe(){pQe=de,awt=Qr((Iv(),ie(ne(swt,1),rt,455,0,[l2,K4])))}function bQe(){bQe=de,Twt=Qr((Uj(),ie(ne(E_e,1),rt,425,0,[rhe,x_e])))}function vQe(){vQe=de,Lwt=Qr((O$(),ie(ne(T_e,1),rt,495,0,[Jq,dE])))}function wQe(){wQe=de,Ewt=Qr((zj(),ie(ne(k_e,1),rt,480,0,[nhe,y_e])))}function mQe(){mQe=de,Iwt=Qr((u$(),ie(ne(C_e,1),rt,426,0,[__e,ohe])))}function yQe(){yQe=de,jmt=Qr((gD(),ie(ne(LCe,1),rt,429,0,[cV,ACe])))}function kQe(){kQe=de,kmt=Qr((VM(),ie(ne(oCe,1),rt,430,0,[bhe,aV])))}function y_(){y_=de,vS=new Wpe("UPPER",0),bS=new Wpe("LOWER",1)}function ien(e,t){var n;n=new f6,U2(n,"x",t.a),U2(n,"y",t.b),M6(e,n)}function sen(e,t){var n;n=new f6,U2(n,"x",t.a),U2(n,"y",t.b),M6(e,n)}function aen(e,t){var n,r;r=!1;do n=htt(e,t),r=r|n;while(n);return r}function vwe(e,t){var n,r;for(n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function xQe(e,t){var n;for(n=t;n;)Sm(e,-n.i,-n.j),n=ls(n);return e}function Da(e,t){var n,r;for(An(t),r=e.Kc();r.Ob();)n=r.Pb(),t.td(n)}function EQe(e,t){var n;return n=t.cd(),new bv(n,e.e.pc(n,u(t.dd(),14)))}function ks(e,t,n,r){var i;i=new bt,i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function gh(e,t,n){var r;return r=(En(t,e.c.length),e.c[t]),e.c[t]=n,r}function oen(e,t,n){return u(t==null?lu(e.f,null,n):Uv(e.g,t,n),281)}function nre(e){return e.c&&e.d?ewe(e.c)+"->"+ewe(e.d):"e_"+kv(e)}function wx(e,t){return(ab(e),xT(new mn(e,new Hwe(t,e.a)))).sd(G7)}function cen(){return io(),ie(ne(F7e,1),rt,356,0,[Dd,i2,fu,Yc,zo])}function uen(){return dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])}function len(e){return UF(),function(){return kJt(e,this,arguments)}}function hen(){return Date.now?Date.now():new Date().getTime()}function no(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function TQe(e){if(!e.c.Sb())throw ee(new yc);return e.a=!0,e.c.Ub()}function zM(e){e.i=0,eM(e.b,null),eM(e.c,null),e.a=null,e.e=null,++e.g}function wwe(e){wqt.call(this,e==null?Iu:Yo(e),me(e,78)?u(e,78):null)}function _Qe(e){Zut(),Yje(this),this.a=new as,Vme(this,e),oi(this.a,e)}function CQe(){kte(this),this.b=new Ft(ps,ps),this.a=new Ft(Ds,Ds)}function SQe(e,t){this.c=0,this.b=t,tqe.call(this,e,17493),this.a=this.c}function rre(e){e$(),!q1&&(this.c=e,this.e=!0,this.a=new at)}function e$(){e$=de,q1=!0,Wdt=!1,Ydt=!1,Qdt=!1,Xdt=!1}function mwe(e,t){return me(t,149)?on(e.c,u(t,149).c):!1}function ywe(e,t){var n;return n=0,e&&(n+=e.f.a/2),t&&(n+=t.f.a/2),n}function ire(e,t){var n;return n=u(Fv(e.d,t),23),n||u(Fv(e.e,t),23)}function AQe(e){this.b=e,ir.call(this,e),this.a=u(Cn(this.b.a,4),126)}function LQe(e){this.b=e,E6.call(this,e),this.a=u(Cn(this.b.a,4),126)}function dl(e){return e.t||(e.t=new jje(e),B_(new Z$e(e),0,e.t)),e.t}function fen(){return wo(),ie(ne(MS,1),rt,103,0,[u0,Lf,Wh,Y0,X0])}function den(){return e4(),ie(ne(NS,1),rt,249,0,[d2,OO,FSe,OS,RSe])}function gen(){return t1(),ie(ne(Gg,1),rt,175,0,[jn,ua,Nd,Ob,zg])}function pen(){return RD(),ie(ne(hCe,1),rt,316,0,[cCe,vhe,lCe,whe,uCe])}function ben(){return G_(),ie(ne(HTe,1),rt,315,0,[$Te,Ble,Fle,hS,fS])}function ven(){return lb(),ie(ne($Ee,1),rt,335,0,[Vue,jEe,Uue,ZC,QC])}function wen(){return l7(),ie(ne(pmt,1),rt,355,0,[W4,Dk,_S,TS,CS])}function men(){return a4(),ie(ne(fpt,1),rt,363,0,[iq,aq,oq,sq,rq])}function yen(){return mh(),ie(ne(v9e,1),rt,163,0,[sO,rS,a2,iS,Sy])}function mx(){mx=de;var e,t;PV=(q8(),t=new jF,t),BV=(e=new yee,e)}function MQe(e){var t;return e.c||(t=e.r,me(t,88)&&(e.c=u(t,26))),e.c}function ken(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function sre(e){var t,n,r;return t=e&ml,n=e>>22&ml,r=e<0?V0:0,cu(t,n,r)}function xen(e){var t,n,r,i;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],f_(t)}function Een(e,t){var n,r;n=u(min(e.c,t),14),n&&(r=n.gc(),n.$b(),e.d-=r)}function DQe(e,t){var n,r;return n=t.cd(),r=qme(e,n),!!r&&zc(r.e,t.dd())}function F6(e,t){return t==0||e.e==0?e:t>0?Mnt(e,t):Zat(e,-t)}function kwe(e,t){return t==0||e.e==0?e:t>0?Zat(e,t):Mnt(e,-t)}function Nr(e){if(Vr(e))return e.c=e.a,e.a.Pb();throw ee(new yc)}function IQe(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(zn(),Ls)&&n.k==Ls}function are(e){var t;return t=new Dv,$o(t,e),Qe(t,(mt(),Fo),null),t}function ore(e,t,n){var r;return r=e.Yg(t),r>=0?e._g(r,n,!0):ew(e,t,n)}function xwe(e,t,n,r){var i;for(i=0;i<aue;i++)pj(e.a[t.g][i],n,r[t.g])}function Ewe(e,t,n,r){var i;for(i=0;i<CG;i++)gj(e.a[i][t.g],n,r[t.g])}function Twe(e,t,n,r,i){ZYe.call(this,t,r,i),this.c=e,this.a=n}function _we(e,t,n,r,i){JYe.call(this,t,r,i),this.c=e,this.a=n}function Cwe(e,t,n,r,i){NQe.call(this,t,r,i),this.c=e,this.a=n}function yf(e,t,n,r,i){NQe.call(this,t,r,i),this.c=e,this.b=n}function OQe(e,t,n){BF.call(this,n),this.b=e,this.c=t,this.d=(wie(),efe)}function NQe(e,t,n){this.d=e,this.k=t?1:0,this.f=n?1:0,this.o=-1,this.p=0}function PQe(e,t,n){var r;r=new E2e(e.a),A_(r,e.a.a),lu(r.f,t,n),e.a.a=r}function GM(e,t){e.qi(e.i+1),YT(e,e.i,e.oi(e.i,t)),e.bi(e.i++,t),e.ci()}function k_(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.di(n,t),e.ci()}function I1(e){var t,n;return Or(e),t=GXt(e.length),n=new tu(t),Rme(n,e),n}function R6(e){var t;return t=(Or(e),e?new Gu(e):rx(e.Kc())),use(t),Y$(t)}function yg(e,t){var n;return n=(En(t,e.c.length),e.c[t]),xpe(e.c,t,1),n}function Oi(e,t){var n;return n=u(e.c.xc(t),14),!n&&(n=e.ic(t)),e.pc(t,n)}function Swe(e,t){var n,r;return n=(An(e),e),r=(An(t),t),n==r?0:n<r?-1:1}function BQe(e){var t;return t=e.e+e.f,isNaN(t)&&ZR(e.d)?e.d:t}function O0(e,t){return e.a?Yr(e.a,e.b):e.a=new jl(e.d),VT(e.a,t),e}function Awe(e,t){if(e<0||e>t)throw ee(new Mo(i4e(e,t,"index")));return e}function cre(e,t,n,r){var i;return i=Ie(Sr,Jr,25,t,15,1),Pun(i,e,t,n,r),i}function Ten(e,t){var n;n=e.q.getHours()+(t/60|0),e.q.setMinutes(t),rC(e,n)}function _en(e,t){return b.Math.min(Fp(t.a,e.d.d.c),Fp(t.b,e.d.d.c))}function j6(e,t){return ga(t)?t==null?k4e(e.f,null):Ket(e.g,t):k4e(e.f,t)}function O1(e){this.c=e,this.a=new C(this.c.a),this.b=new C(this.c.b)}function t$(){this.e=new at,this.c=new at,this.d=new at,this.b=new at}function FQe(){this.g=new $ge,this.b=new $ge,this.a=new at,this.k=new at}function RQe(e,t,n){this.a=e,this.c=t,this.d=n,st(t.e,this),st(n.b,this)}function jQe(e,t){eqe.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function $Qe(e,t){tqe.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function Lwe(e,t){bte.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function n$(e,t,n){this.a=e,this.b=t,this.c=n,st(e.t,this),st(t.i,this)}function r$(){this.b=new as,this.a=new as,this.b=new as,this.a=new as}function i$(){i$=de,SS=new Qi("org.eclipse.elk.labels.labelManager")}function HQe(){HQe=de,AEe=new Hs("separateLayerConnections",(z$(),Iue))}function Xf(){Xf=de,Fy=new Qpe("REGULAR",0),u2=new Qpe("CRITICAL",1)}function qM(){qM=de,zle=new Kpe("STACKED",0),fO=new Kpe("SEQUENCED",1)}function VM(){VM=de,bhe=new r2e("FIXED",0),aV=new r2e("CENTER_NODE",1)}function Cen(e,t){var n;return n=Mbn(e,t),e.b=new I$(n.c.length),z2n(e,n)}function Sen(e,t,n){var r;return++e.e,--e.f,r=u(e.d[t].$c(n),133),r.dd()}function zQe(e){var t;return e.a||(t=e.r,me(t,148)&&(e.a=u(t,148))),e.a}function Mwe(e){if(e.a){if(e.e)return Mwe(e.e)}else return e;return null}function Aen(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function s$(e,t){return An(t),e.c<e.d?(e.ze(t,e.c++),!0):!1}function GQe(e,t){return Ml(e.a,t)?(j6(e.a,t),!0):!1}function Len(e){var t,n;return t=e.cd(),n=u(e.dd(),14),_M(n.Nc(),new LJ(t))}function Men(e){var t;return t=u(_ve(e.b,e.b.length),9),new hh(e.a,t,e.c)}function Den(e){var t;return ab(e),t=new $Ue(e,e.a.e,e.a.d|4),new nbe(e,t)}function qQe(e){var t;for(Np(e),t=0;e.a.sd(new Cc);)t=Wa(t,1);return t}function Dwe(e,t,n){var r,i;for(r=0,i=0;i<t.length;i++)r+=e.$f(t[i],r,n)}function Ien(e,t){var n;e.C&&(n=u(_o(e.b,t),124).n,n.d=e.C.d,n.a=e.C.a)}function $6(e,t,n){return HM(t,e.e.Hd().gc()),HM(n,e.c.Hd().gc()),e.a[t][n]}function kg(e,t){Kp(),this.e=e,this.d=1,this.a=ie(ne(Sr,1),Jr,25,15,[t])}function a$(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function Iwe(e){var t,n,r,i;i=e.d,t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function Oen(e,t,n,r){wct(e,t,n,d7(e,t,r,me(t,99)&&(u(t,18).Bb&ao)!=0))}function Nen(e,t){Er(t,"Label management",1),DR(W(e,(i$(),SS))),lr(t)}function tu(e){kte(this),tj(e>=0,"Initial capacity must not be negative")}function VQe(){VQe=de,u0t=Qr((Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])))}function UQe(){UQe=de,h0t=Qr((sl(),ie(ne(l0t,1),rt,461,0,[Md,n2,Cf])))}function KQe(){KQe=de,d0t=Qr((Cu(),ie(ne(f0t,1),rt,462,0,[a1,r2,Sf])))}function WQe(){WQe=de,Zdt=Qr((F1(),ie(ne(yl,1),rt,132,0,[zxe,Zl,yy])))}function YQe(){YQe=de,Agt=Qr((x_(),ie(ne(B7e,1),rt,379,0,[mue,wue,yue])))}function XQe(){XQe=de,Ggt=Qr((Vv(),ie(ne($7e,1),rt,423,0,[I4,j7e,_ue])))}function QQe(){QQe=de,xpt=Qr((z6(),ie(ne(BEe,1),rt,314,0,[yk,ZI,PEe])))}function ZQe(){ZQe=de,Ept=Qr((_$(),ie(ne(REe,1),rt,337,0,[FEe,cq,que])))}function JQe(){JQe=de,Spt=Qr((nb(),ie(ne(Cpt,1),rt,450,0,[Kue,J7,B4])))}function eZe(){eZe=de,wpt=Qr((Gv(),ie(ne(Nue,1),rt,361,0,[ww,s2,vw])))}function tZe(){tZe=de,Ppt=Qr((P0(),ie(ne(Npt,1),rt,303,0,[eO,R4,kk])))}function nZe(){nZe=de,Opt=Qr((Fx(),ie(ne(rle,1),rt,292,0,[tle,nle,JI])))}function rZe(){rZe=de,Jbt=Qr((I_(),ie(ne(jTe,1),rt,378,0,[Ole,RTe,Rq])))}function iZe(){iZe=de,ovt=Qr((R$(),ie(ne(ZTe,1),rt,375,0,[XTe,Hle,QTe])))}function sZe(){sZe=de,rvt=Qr((F0(),ie(ne(WTe,1),rt,339,0,[c2,KTe,Rle])))}function aZe(){aZe=de,avt=Qr((vo(),ie(ne(svt,1),rt,452,0,[dS,cl,ou])))}function oZe(){oZe=de,hvt=Qr((G$(),ie(ne(s_e,1),rt,377,0,[Vle,hE,By])))}function cZe(){cZe=de,uvt=Qr((qx(),ie(ne(t_e,1),rt,336,0,[Gle,e_e,gS])))}function uZe(){uZe=de,lvt=Qr((B$(),ie(ne(i_e,1),rt,338,0,[r_e,qle,n_e])))}function lZe(){lZe=de,Tvt=Qr((zv(),ie(ne(Evt,1),rt,454,0,[dO,pS,zq])))}function hZe(){hZe=de,Dwt=Qr((eH(),ie(ne(Mwt,1),rt,442,0,[ahe,ihe,she])))}function fZe(){fZe=de,Owt=Qr((wD(),ie(ne(L_e,1),rt,380,0,[eV,S_e,A_e])))}function dZe(){dZe=de,Xwt=Qr((J$(),ie(ne(K_e,1),rt,381,0,[U_e,fhe,V_e])))}function gZe(){gZe=de,Ywt=Qr((F$(),ie(ne(G_e,1),rt,293,0,[hhe,z_e,H_e])))}function pZe(){pZe=de,vmt=Qr((TD(),ie(ne(dhe,1),rt,437,0,[rV,iV,sV])))}function bZe(){bZe=de,yyt=Qr((R0(),ie(ne(BSe,1),rt,334,0,[wV,qg,IS])))}function vZe(){vZe=de,byt=Qr((N1(),ie(ne(TSe,1),rt,272,0,[bE,$y,vE])))}function Pen(){return ya(),ie(ne(jSe,1),rt,98,0,[g2,Y1,mE,Fb,f0,Zc])}function X2(e,t){return!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),mie(e.o,t)}function Ben(e){return!e.g&&(e.g=new g8),!e.g.d&&(e.g.d=new Bje(e)),e.g.d}function Fen(e){return!e.g&&(e.g=new g8),!e.g.a&&(e.g.a=new Fje(e)),e.g.a}function Ren(e){return!e.g&&(e.g=new g8),!e.g.b&&(e.g.b=new Pje(e)),e.g.b}function UM(e){return!e.g&&(e.g=new g8),!e.g.c&&(e.g.c=new Rje(e)),e.g.c}function jen(e,t,n){var r,i;for(i=new Bx(t,e),r=0;r<n;++r)pH(i);return i}function ure(e,t,n){var r,i;if(n!=null)for(r=0;r<t;++r)i=n[r],e.fi(r,i)}function lre(e,t,n,r){var i;return i=Ie(Sr,Jr,25,t+1,15,1),kpn(i,e,t,n,r),i}function Ie(e,t,n,r,i,a){var h;return h=Drt(i,r),i!=10&&ie(ne(e,a),t,n,i,h),h}function $en(e,t,n,r){return n&&(r=n.gh(t,Zi(n.Tg(),e.c.Lj()),null,r)),r}function Hen(e,t,n,r){return n&&(r=n.ih(t,Zi(n.Tg(),e.c.Lj()),null,r)),r}function Owe(e,t,n){u(e.b,65),u(e.b,65),u(e.b,65),Su(e.a,new CUe(n,t,e))}function Nwe(e,t,n){if(e<0||t>n||t<e)throw ee(new lpe(hz+e+J5e+t+Q5e+n))}function yx(e){if(!e)throw ee(new Vo("Unable to add element to queue"))}function hre(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new at)}function fre(e,t){dR.call(this,e,t),this.a=Ie(Xwn,oz,436,2,0,1),this.b=!0}function Pwe(e){ctt.call(this,e,0),bVe(this),this.d.b=this.d,this.d.a=this.d}function dre(e){var t;return t=e.b,t.b==0?null:u(n1(t,0),188).b}function wZe(e,t){var n;return n=new At,n.c=!0,n.d=t.dd(),gut(e,t.cd(),n)}function zen(e,t){var n;n=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),rC(e,n)}function Bwe(e,t,n){var r;r=e.b[n.c.p][n.p],r.b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function Fp(e,t){var n,r;return n=e.a-t.a,r=e.b-t.b,b.Math.sqrt(n*n+r*r)}function o$(){o$=de,OEe=new zpe("QUADRATIC",0),Gue=new zpe("SCANLINE",1)}function mZe(){mZe=de,gvt=rl(ki(new Xs,(io(),Dd),(po(),Lue)),zo,XI)}function Gen(){return Jm(),ie(ne(Ahe,1),rt,291,0,[She,_O,TO,Che,xO,EO])}function qen(){return Zd(),ie(ne(NCe,1),rt,248,0,[The,yO,kO,hV,uV,lV])}function Ven(){return Q6(),ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4])}function Uen(){return i7(),ie(ne(n9e,1),rt,275,0,[JC,ZEe,t9e,e9e,JEe,QEe])}function Ken(){return BD(),ie(ne(XEe,1),rt,274,0,[fq,KEe,YEe,UEe,WEe,Jue])}function Wen(){return SH(),ie(ne(FTe,1),rt,313,0,[Ile,PTe,Dle,NTe,BTe,Fq])}function Yen(){return DH(),ie(ne(GEe,1),rt,276,0,[Yue,Wue,Que,Xue,Zue,lq])}function Xen(){return Y_(),ie(ne(cwt,1),rt,327,0,[Kq,Wle,Xle,Yle,Qle,Kle])}function Qen(){return al(),ie(ne(mV,1),rt,273,0,[p2,Z0,NO,BS,PS,Fk])}function Zen(){return LH(),ie(ne(MSe,1),rt,312,0,[zhe,SSe,LSe,_Se,ASe,CSe])}function Jen(){return zn(),ie(ne(Sue,1),rt,267,0,[js,ca,Ls,Xc,Pl,V1])}function yZe(e){Cm(!!e.c),Xne(e.e,e),e.c.Qb(),e.c=null,e.b=Cme(e),J2e(e.e,e)}function kZe(e){return Xne(e.c.a.e,e),Qn(e.b!=e.c.a.d),e.a=e.b,e.b=e.b.a,e.a}function Fwe(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Tg(),e.a=bn(t,e.b)),e.a}function Pr(e,t){return e.hi()&&e.Hc(t)?!1:(e.Yh(t),!0)}function Qf(e,t){return NM(t,"Horizontal alignment cannot be null"),e.b=t,e}function xZe(e,t,n){mi();var r;return r=Wp(e,t),n&&r&&AXt(e)&&(r=null),r}function xg(e,t,n){var r,i;for(i=e.Kc();i.Ob();)r=u(i.Pb(),37),tC(r,t,n)}function Rwe(e,t){var n,r;for(r=t.Kc();r.Ob();)n=u(r.Pb(),37),Uot(e,n,0,0)}function jwe(e,t,n){var r;e.d[t.g]=n,r=e.g.c,r[t.g]=b.Math.max(r[t.g],n+1)}function KM(e,t){var n,r,i;return i=e.r,r=e.d,n=aC(e,t,!0),n.b!=i||n.a!=r}function EZe(e,t){return $ze(e.e,t)||cb(e.e,t,new nrt(t)),u(Fv(e.e,t),113)}function Q2(e,t,n,r){return An(e),An(t),An(n),An(r),new mve(e,t,new He)}function Il(e,t,n,r){this.rj(),this.a=t,this.b=e,this.c=new bve(this,t,n,r)}function gre(e,t,n,r,i,a){owe.call(this,t,r,i,a),this.c=e,this.b=n}function WM(e,t,n,r,i,a){owe.call(this,t,r,i,a),this.c=e,this.a=n}function etn(e,t,n){var r,i,a;r=M0(e,n),i=null,r&&(i=Q3e(r)),a=i,Jnt(t,n,a)}function ttn(e,t,n){var r,i,a;r=M0(e,n),i=null,r&&(i=Q3e(r)),a=i,Jnt(t,n,a)}function YM(e,t,n){var r,i;return i=(r=c7(e.b,t),r),i?ZH(JM(e,i),n):null}function kx(e,t){var n;return n=e.Yg(t),n>=0?e._g(n,!0,!0):ew(e,t,!0)}function ntn(e,t){return Bs(We(gt(W(e,(nt(),xw)))),We(gt(W(t,xw))))}function TZe(){TZe=de,Cwt=Xv(Xv(cR(new Xs,(Jx(),wS)),(Y_(),Kq)),Wle)}function rtn(e,t,n){var r;return r=btt(e,t,n),e.b=new I$(r.c.length),U4e(e,r)}function itn(e){if(e.b<=0)throw ee(new yc);return--e.b,e.a-=e.c.c,lt(e.a)}function stn(e){var t;if(!e.a)throw ee(new AWe);return t=e.a,e.a=ls(e.a),t}function atn(e){for(;!e.a;)if(!fUe(e.c,new Rt(e)))return!1;return!0}function H6(e){var t;return Or(e),me(e,198)?(t=u(e,198),t):new OJ(e)}function otn(e){c$(),u(e.We((di(),jy)),174).Fc((al(),NO)),e.Ye(Fhe,null)}function c$(){c$=de,zmt=new UQ,qmt=new KQ,Gmt=Vrn((di(),Fhe),zmt,h2,qmt)}function u$(){u$=de,__e=new n2e("LEAF_NUMBER",0),ohe=new n2e("NODE_SIZE",1)}function ctn(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Ph(e.d),e.e.a.c=Ie(Xn,_t,1,0,5,1)}function pre(e){e.a=Ie(Sr,Jr,25,e.b+1,15,1),e.c=Ie(Sr,Jr,25,e.b,15,1),e.d=0}function utn(e,t){e.a.ue(t.d,e.b)>0&&(st(e.c,new Vbe(t.c,t.d,e.d)),e.b=t.d)}function $we(e,t){if(e.g==null||t>=e.i)throw ee(new vte(t,e.i));return e.g[t]}function _Ze(e,t,n){if(Hx(e,n),n!=null&&!e.wj(n))throw ee(new vee);return n}function CZe(e){var t;if(e.Ek())for(t=e.i-1;t>=0;--t)_e(e,t);return hwe(e)}function ltn(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function htn(e,t){var n,r;return WXe(t),n=(r=e.slice(0,t),zwe(r,e)),n.length=t,n}function xx(e,t,n,r){var i;r=(z3(),r||Dxe),i=e.slice(t,n),s4e(i,e,t,n,-t,r)}function ph(e,t,n,r,i){return t<0?ew(e,n,r):u(n,66).Nj().Pj(e,e.yh(),t,r,i)}function ftn(e){return me(e,172)?""+u(e,172).a:e==null?null:Yo(e)}function dtn(e){return me(e,172)?""+u(e,172).a:e==null?null:Yo(e)}function SZe(e,t){if(t.a)throw ee(new ec(Llt));zs(e.a,t),t.a=e,!e.j&&(e.j=t)}function Hwe(e,t){bte.call(this,t.rd(),t.qd()&-16449),An(e),this.a=e,this.c=t}function AZe(e,t){var n,r;return r=t/e.c.Hd().gc()|0,n=t%e.c.Hd().gc(),$6(e,r,n)}function sl(){sl=de,Md=new qee(ak,0),n2=new qee(T7,1),Cf=new qee(ok,2)}function l$(){l$=de,eue=new fR("All",0),Rxe=new Eqe,jxe=new Pqe,$xe=new Tqe}function LZe(){LZe=de,Udt=Qr((l$(),ie(ne(EG,1),rt,297,0,[eue,Rxe,jxe,$xe])))}function MZe(){MZe=de,Fgt=Qr((Rx(),ie(ne(Bgt,1),rt,405,0,[bw,Ey,xy,D4])))}function DZe(){DZe=de,R0t=Qr((qv(),ie(ne(F0t,1),rt,406,0,[$I,jI,cue,uue])))}function IZe(){IZe=de,$0t=Qr((Y6(),ie(ne(j0t,1),rt,323,0,[zI,HI,GI,qI])))}function OZe(){OZe=de,G0t=Qr((z_(),ie(ne(z0t,1),rt,394,0,[VI,AG,LG,UI])))}function NZe(){NZe=de,owt=Qr((Jx(),ie(ne(l_e,1),rt,393,0,[Uq,wS,pO,mS])))}function PZe(){PZe=de,npt=Qr((z$(),ie(ne(tpt,1),rt,360,0,[Iue,tq,nq,QI])))}function BZe(){BZe=de,Wwt=Qr((mH(),ie(ne($_e,1),rt,340,0,[lhe,R_e,j_e,F_e])))}function FZe(){FZe=de,hpt=Qr((B1(),ie(ne(lpt,1),rt,411,0,[mk,W7,Y7,Oue])))}function RZe(){RZe=de,evt=Qr((Xm(),ie(ne(Ple,1),rt,197,0,[jq,Nle,U4,V4])))}function jZe(){jZe=de,Fyt=Qr((Ol(),ie(ne(Byt,1),rt,396,0,[rh,KSe,USe,WSe])))}function $Ze(){$Ze=de,xyt=Qr((Kl(),ie(ne(kyt,1),rt,285,0,[IO,l0,f2,DO])))}function HZe(){HZe=de,vyt=Qr(($0(),ie(ne(Hhe,1),rt,218,0,[$he,MO,wE,Bk])))}function zZe(){zZe=de,Nyt=Qr((rH(),ie(ne(VSe,1),rt,311,0,[qhe,zSe,qSe,GSe])))}function GZe(){GZe=de,Iyt=Qr((Nl(),ie(ne(FS,1),rt,374,0,[BO,Rb,PO,Hy])))}function qZe(){qZe=de,YH(),LAe=ps,j3t=Ds,MAe=new T3(ps),$3t=new T3(Ds)}function XM(){XM=de,qEe=new qpe(U0,0),hq=new qpe("IMPROVE_STRAIGHTNESS",1)}function gtn(e,t){return ix(),st(e,new _a(t,lt(t.e.c.length+t.g.c.length)))}function ptn(e,t){return ix(),st(e,new _a(t,lt(t.e.c.length+t.g.c.length)))}function zwe(e,t){return tD(t)!=10&&ie(pl(t),t.hm,t.__elementTypeId$,tD(t),e),e}function _u(e,t){var n;return n=Ko(e,t,0),n==-1?!1:(yg(e,n),!0)}function VZe(e,t){var n;return n=u(j6(e.e,t),387),n?(Wbe(n),n.e):null}function Ex(e){var t;return Uo(e)&&(t=0-e,!isNaN(t))?t:jp(jx(e))}function Ko(e,t,n){for(;n<e.c.length;++n)if(zc(t,e.c[n]))return n;return-1}function UZe(e,t,n){var r;return Np(e),r=new Xi,r.a=t,e.a.Nb(new zze(r,n)),r.a}function btn(e){var t;return Np(e),t=Ie(va,Ao,25,0,15,1),L3(e.a,new Dt(t)),t}function bre(e){var t,n;return n=u(It(e.j,0),11),t=u(W(n,(nt(),Mi)),11),t}function Gwe(e){var t;if(!Dre(e))throw ee(new yc);return e.e=1,t=e.d,e.d=null,t}function vre(e,t){var n;this.f=e,this.b=t,n=u(Jn(e.b,t),283),this.c=n?n.b:null}function KZe(){vf(),this.b=new Ar,this.f=new Ar,this.g=new Ar,this.e=new Ar}function WZe(e,t){this.a=Ie(c0,Og,10,e.a.c.length,0,1),R1(e.a,this.a),this.b=t}function QM(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--u(It(e.c.a,t),10).p}function wre(e){var t;t=e.Ai(),t!=null&&e.d!=-1&&u(t,92).Ng(e),e.i&&e.i.Fi()}function h$(e){RR(this),this.g=e?Nne(e,e.$d()):null,this.f=e,Dj(this),this._d()}function N0(e,t,n,r,i,a,h){Sre.call(this,t,r,i,a,h),this.c=e,this.b=n}function $m(e,t,n,r,i){return An(e),An(t),An(n),An(r),An(i),new mve(e,t,r)}function ZM(e,t){if(t<0)throw ee(new Mo(eft+t));return RXe(e,t+1),It(e.j,t)}function YZe(e,t,n,r){if(!e)throw ee(new Dn(eC(t,ie(ne(Xn,1),_t,1,5,[n,r]))))}function f$(e,t){return zc(t,It(e.f,0))||zc(t,It(e.f,1))||zc(t,It(e.f,2))}function vtn(e,t){_6(u(u(e.f,33).We((di(),LS)),98))&&vsn(Tne(u(e.f,33)),t)}function JM(e,t){var n,r;return n=u(t,675),r=n.Oh(),!r&&n.Rh(r=new WGe(e,t)),r}function No(e,t){var n,r;return n=u(t,677),r=n.pk(),!r&&n.tk(r=new fXe(e,t)),r}function gl(e){return e.b||(e.b=new AKe(e,Eo,e),!e.a&&(e.a=new yM(e,e))),e.b}function x_(){x_=de,mue=new Uee("XY",0),wue=new Uee("X",1),yue=new Uee("Y",2)}function Cu(){Cu=de,a1=new Vee("TOP",0),r2=new Vee(T7,1),Sf=new Vee(c6e,2)}function P0(){P0=de,eO=new Jee(U0,0),R4=new Jee("TOP",1),kk=new Jee(c6e,2)}function eD(){eD=de,jle=new Upe("INPUT_ORDER",0),$le=new Upe("PORT_DEGREE",1)}function Tx(){Tx=de,lxe=cu(ml,ml,524287),Odt=cu(0,0,hI),hxe=sre(1),sre(2),fxe=sre(0)}function qwe(e,t,n){e.a.c=Ie(Xn,_t,1,0,5,1),obn(e,t,n),e.a.c.length==0||jgn(e,t)}function d$(e){var t,n;return n=e.length,t=Ie(Sh,yd,25,n,15,1),QKe(e,0,n,t,0),t}function Vwe(e){var t;return e.dh()||(t=Zn(e.Tg())-e.Ah(),e.ph().bk(t)),e.Pg()}function Uwe(e){var t;return t=Z2(Cn(e,32)),t==null&&(uu(e),t=Z2(Cn(e,32))),t}function mre(e,t){var n;return n=Zi(e.d,t),n>=0?gH(e,n,!0,!0):ew(e,t,!0)}function Kwe(e,t){_T();var n,r;return n=B6(e),r=B6(t),!!n&&!!r&&!urt(n.k,r.k)}function wtn(e,t){Au(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function mtn(e,t){Lu(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function ytn(e,t){Hv(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function ktn(e,t){$v(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function XZe(e){(this.q?this.q:(fn(),fn(),o0)).Ac(e.q?e.q:(fn(),fn(),o0))}function xtn(e,t){return me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e)}function Etn(e,t){return me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e)}function QZe(e,t){d7e=new Es,H0t=t,VC=e,u(VC.b,65),Owe(VC,d7e,null),Uct(VC)}function yre(e,t,n){var r;return r=e.g[t],YT(e,t,e.oi(t,n)),e.gi(t,n,r),e.ci(),r}function g$(e,t){var n;return n=e.Xc(t),n>=0?(e.$c(n),!0):!1}function kre(e){var t;return e.d!=e.r&&(t=Rh(e),e.e=!!t&&t.Cj()==N1t,e.d=t),e.e}function xre(e,t){var n;for(Or(e),Or(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function Fv(e,t){var n;return n=u(Jn(e.e,t),387),n?(Gqe(e,n),n.e):null}function ZZe(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function rc(e,t){var n,r;return ab(e),r=new Lwe(t,e.a),n=new pUe(r),new mn(e,n)}function Hm(e,t){var n=e.a[t],r=(Hre(),Yce)[typeof n];return r?r(n):Qme(typeof n)}function Ttn(e){switch(e.g){case 0:return xi;case 1:return-1;default:return 0}}function _tn(e){return g3e(e,(Tx(),fxe))<0?-HVt(jx(e)):e.l+e.m*sk+e.h*gb}function tD(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function Ere(e){var t;return t=e.b.c.length==0?null:It(e.b,0),t!=null&&Ore(e,0),t}function JZe(e,t){for(;t[0]<e.length&&hd(` \r
-`,Du(Ma(e,t[0])))>=0;)++t[0]}function nD(e,t){this.e=t,this.a=Wet(e),this.a<54?this.f=Pv(e):this.c=AD(e)}function eJe(e,t,n,r){mi(),ov.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function Qd(e,t,n){var r,i;for(r=10,i=0;i<n-1;i++)t<r&&(e.a+="0"),r*=10;e.a+=t}function Ctn(e,t){var n;for(n=0;e.e!=e.i.gc();)yYt(t,br(e),lt(n)),n!=xi&&++n}function Wwe(e,t){var n;for(++e.d,++e.c[t],n=t+1;n<e.a.length;)++e.a[n],n+=n&-n}function Stn(e,t){var n,r,i;i=t.c.i,n=u(Jn(e.f,i),57),r=n.d.c-n.e.c,wme(t.a,r,0)}function rD(e){var t,n;return t=e+128,n=(sKe(),gxe)[t],!n&&(n=gxe[t]=new see(e)),n}function Xr(e,t){var n;return An(t),n=e[":"+t],Itn(!!n,ie(ne(Xn,1),_t,1,5,[t])),n}function Atn(e){var t,n;if(e.b){n=null;do t=e.b,e.b=null,n=Jit(t,n);while(e.b);e.b=n}}function Ltn(e){var t,n;if(e.a){n=null;do t=e.a,e.a=null,n=Jit(t,n);while(e.a);e.a=n}}function tJe(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function Mtn(e,t){var n,r;for(r=t.c,n=r+1;n<=t.f;n++)e.a[n]>e.a[r]&&(r=n);return r}function Dtn(e,t){var n;return n=Kv(e.e.c,t.e.c),n==0?Bs(e.e.d,t.e.d):n}function V3(e,t){return t.e==0||e.e==0?H7:(a7(),Tse(e,t))}function Itn(e,t){if(!e)throw ee(new Dn(Pdn("Enum constant undefined: %s",t)))}function E_(){E_=de,$gt=new d3,Hgt=new O5,Rgt=new up,jgt=new O2,zgt=new CW}function p$(){p$=de,Kxe=new Rpe("BY_SIZE",0),iue=new Rpe("BY_SIZE_AND_SHAPE",1)}function b$(){b$=de,pue=new jpe("EADES",0),IG=new jpe("FRUCHTERMAN_REINGOLD",1)}function iD(){iD=de,uq=new Gpe("READING_DIRECTION",0),HEe=new Gpe("ROTATION",1)}function nJe(){nJe=de,Tpt=Qr((lb(),ie(ne($Ee,1),rt,335,0,[Vue,jEe,Uue,ZC,QC])))}function rJe(){rJe=de,tvt=Qr((G_(),ie(ne(HTe,1),rt,315,0,[$Te,Ble,Fle,hS,fS])))}function iJe(){iJe=de,dpt=Qr((a4(),ie(ne(fpt,1),rt,363,0,[iq,aq,oq,sq,rq])))}function sJe(){sJe=de,Fpt=Qr((mh(),ie(ne(v9e,1),rt,163,0,[sO,rS,a2,iS,Sy])))}function aJe(){aJe=de,xmt=Qr((RD(),ie(ne(hCe,1),rt,316,0,[cCe,vhe,lCe,whe,uCe])))}function oJe(){oJe=de,Vmt=Qr((t1(),ie(ne(Gg,1),rt,175,0,[jn,ua,Nd,Ob,zg])))}function cJe(){cJe=de,bmt=Qr((l7(),ie(ne(pmt,1),rt,355,0,[W4,Dk,_S,TS,CS])))}function uJe(){uJe=de,Igt=Qr((io(),ie(ne(F7e,1),rt,356,0,[Dd,i2,fu,Yc,zo])))}function lJe(){lJe=de,pyt=Qr((wo(),ie(ne(MS,1),rt,103,0,[u0,Lf,Wh,Y0,X0])))}function hJe(){hJe=de,Tyt=Qr((e4(),ie(ne(NS,1),rt,249,0,[d2,OO,FSe,OS,RSe])))}function fJe(){fJe=de,Syt=Qr((dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])))}function Tre(e,t){var n;return n=u(Jn(e.a,t),134),n||(n=new Qb,Si(e.a,t,n)),n}function dJe(e){var t;return t=u(W(e,(nt(),mw)),305),t?t.a==e:!1}function gJe(e){var t;return t=u(W(e,(nt(),mw)),305),t?t.i==e:!1}function pJe(e,t){return An(t),gve(e),e.d.Ob()?(t.td(e.d.Pb()),!0):!1}function v$(e){return Lc(e,xi)>0?xi:Lc(e,za)<0?za:Ir(e)}function zm(e){return e<3?(Vl(e,hlt),e+1):e<hC?_s(e/.75+1):xi}function bn(e,t){var n;return n=(e.i==null&&wd(e),e.i),t>=0&&t<n.length?n[t]:null}function Zf(e,t,n){var r;if(t==null)throw ee(new fT);return r=M0(e,t),een(e,t,n),r}function bJe(e){return e.a>=-.01&&e.a<=H1&&(e.a=0),e.b>=-.01&&e.b<=H1&&(e.b=0),e}function vJe(e,t){return t==(Gte(),Gte(),Gdt)?e.toLocaleLowerCase():e.toLowerCase()}function Ywe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(S0(e),e.o)}function Po(e){var t,n;n=(t=new kee,t),Pr((!e.q&&(e.q=new ot(ef,e,11,10)),e.q),n)}function Otn(e,t){var n;return n=t>0?t-1:t,dHe(KGt(zJe(Kbe(new j8,n),e.n),e.j),e.k)}function Ntn(e,t,n,r){var i;e.j=-1,w4e(e,Z3e(e,t,n),(ho(),i=u(t,66).Mj(),i.Ok(r)))}function wJe(e){this.g=e,this.f=new at,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function mJe(e){this.b=new at,this.a=new at,this.c=new at,this.d=new at,this.e=e}function yJe(e,t){this.a=new Ar,this.e=new Ar,this.b=(I_(),Rq),this.c=e,this.b=t}function kJe(e,t,n){XR.call(this),Xwe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function xJe(e){this.d=e,this.c=e.c.vc().Kc(),this.b=null,this.a=null,this.e=(zF(),Vce)}function Rv(e){if(e<0)throw ee(new Dn("Illegal Capacity: "+e));this.g=this.ri(e)}function Ptn(e,t){if(0>e||e>t)throw ee(new upe("fromIndex: 0, toIndex: "+e+Q5e+t))}function Btn(e){var t;if(e.a==e.b.a)throw ee(new yc);return t=e.a,e.c=t,e.a=e.a.e,t}function w$(e){var t;Cm(!!e.c),t=e.c.a,bh(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function m$(e,t){var n;return ab(e),n=new qWe(e,e.a.rd(),e.a.qd()|4,t),new mn(e,n)}function Ftn(e,t){var n,r;return n=u(Km(e.d,t),14),n?(r=t,e.e.pc(r,n)):null}function y$(e,t){var n,r;for(r=e.Kc();r.Ob();)n=u(r.Pb(),70),Qe(n,(nt(),_k),t)}function Rtn(e){var t;return t=We(gt(W(e,(mt(),Rg)))),t<0&&(t=0,Qe(e,Rg,t)),t}function jtn(e,t,n){var r;r=b.Math.max(0,e.b/2-.5),V_(n,r,1),st(t,new Wze(n,r))}function $tn(e,t,n){var r;return r=e.a.e[u(t.a,10).p]-e.a.e[u(n.a,10).p],_s(AM(r))}function EJe(e,t,n,r,i,a){var h;h=are(r),Ka(h,i),wa(h,a),an(e.a,r,new JR(h,t,n.f))}function TJe(e,t){var n;if(n=WD(e.Tg(),t),!n)throw ee(new Dn(e2+t+cce));return n}function Gm(e,t){var n;for(n=e;ls(n);)if(n=ls(n),n==t)return!0;return!1}function Htn(e,t){var n,r,i;for(r=t.a.cd(),n=u(t.a.dd(),14).gc(),i=0;i<n;i++)e.td(r)}function Su(e,t){var n,r,i,a;for(An(t),r=e.c,i=0,a=r.length;i<a;++i)n=r[i],t.td(n)}function bh(e,t){var n;return n=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function ztn(e,t){return t&&e.b[t.g]==t?(us(e.b,t.g,null),--e.c,!0):!1}function _Je(e,t){return!!S_(e,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))))}function Gtn(e,t){_6(u(W(u(e.e,10),(mt(),vs)),98))&&(fn(),aa(u(e.e,10).j,t))}function Xwe(e){e.b=(sl(),n2),e.f=(Cu(),r2),e.d=(Vl(2,ly),new tu(2)),e.e=new $a}function Jf(){Jf=de,pc=new Gee("BEGIN",0),au=new Gee(T7,1),bc=new Gee("END",2)}function N1(){N1=de,bE=new dte(T7,0),$y=new dte("HEAD",1),vE=new dte("TAIL",2)}function qtn(){return o7(),ie(ne(MV,1),rt,237,0,[Whe,AV,LV,SV,Khe,CV,_V,Uhe])}function Vtn(){return Dg(),ie(ne(Umt,1),rt,277,0,[DCe,qa,Tc,gE,Go,ws,Ik,W1])}function Utn(){return HH(),ie(ne(IEe,1),rt,270,0,[Bue,jue,Pue,zue,Rue,Fue,Hue,$ue])}function Ktn(){return l4(),ie(ne(UTe,1),rt,260,0,[$q,lO,hO,GTe,qTe,zTe,VTe,Hq])}function CJe(){CJe=de,_yt=Qr((ya(),ie(ne(jSe,1),rt,98,0,[g2,Y1,mE,Fb,f0,Zc])))}function SJe(){SJe=de,CG=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])).length,aue=CG}function k$(e){this.b=(Or(e),new Gu(e)),this.a=new at,this.d=new at,this.e=new $a}function Wtn(e){var t;return t=b.Math.sqrt(e.a*e.a+e.b*e.b),t>0&&(e.a/=t,e.b/=t),e}function ql(e){var t;return e.w?e.w:(t=XZt(e),t&&!t.kh()&&(e.w=t),t)}function Ytn(e){var t;return e==null?null:(t=u(e,190),Xun(t,t.length))}function _e(e,t){if(e.g==null||t>=e.i)throw ee(new vte(t,e.i));return e.li(t,e.g[t])}function Xtn(e){var t,n;for(t=e.a.d.j,n=e.c.d.j;t!=n;)xf(e.b,t),t=Q$(t);xf(e.b,t)}function Qtn(e){var t;for(t=0;t<e.c.length;t++)(En(t,e.c.length),u(e.c[t],11)).p=t}function Ztn(e,t,n){var r,i,a;for(i=t[n],r=0;r<i.length;r++)a=i[r],e.e[a.c.p][a.p]=r}function _re(e,t){var n,r,i,a;for(r=e.d,i=0,a=r.length;i<a;++i)n=r[i],S1(e.g,n).a=t}function qm(e,t){var n,r;for(r=si(e,0);r.b!=r.d.c;)n=u(ii(r),8),Ni(n,t);return e}function Jtn(e,t){var n;return n=pa(fc(u(Jn(e.g,t),8)),x2e(u(Jn(e.f,t),460).b)),n}function jv(e){var t;return Xne(e.e,e),Qn(e.b),e.c=e.a,t=u(e.a.Pb(),42),e.b=Cme(e),t}function Z2(e){var t;return n_(e==null||Array.isArray(e)&&(t=tD(e),!(t>=14&&t<=16))),e}function AJe(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function LJe(e,t,n){var r,i;r=t;do i=We(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function _x(e,t){var n,r;r=e.a,n=Din(e,t,null),r!=t&&!e.e&&(n=b7(e,t,n)),n&&n.Fi()}function Qwe(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)}function Zwe(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)}function enn(e,t){return Up(),ku(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function U3(e,t){return ZGt(C_(e,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))))}function MJe(){MJe=de,Kgt=Qr((zn(),ie(ne(Sue,1),rt,267,0,[js,ca,Ls,Xc,Pl,V1])))}function DJe(){DJe=de,eyt=Qr((Jm(),ie(ne(Ahe,1),rt,291,0,[She,_O,TO,Che,xO,EO])))}function IJe(){IJe=de,Wmt=Qr((Zd(),ie(ne(NCe,1),rt,248,0,[The,yO,kO,hV,uV,lV])))}function OJe(){OJe=de,ypt=Qr((Q6(),ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4])))}function NJe(){NJe=de,Dpt=Qr((i7(),ie(ne(n9e,1),rt,275,0,[JC,ZEe,t9e,e9e,JEe,QEe])))}function PJe(){PJe=de,Mpt=Qr((BD(),ie(ne(XEe,1),rt,274,0,[fq,KEe,YEe,UEe,WEe,Jue])))}function BJe(){BJe=de,Zbt=Qr((SH(),ie(ne(FTe,1),rt,313,0,[Ile,PTe,Dle,NTe,BTe,Fq])))}function FJe(){FJe=de,Apt=Qr((DH(),ie(ne(GEe,1),rt,276,0,[Yue,Wue,Que,Xue,Zue,lq])))}function RJe(){RJe=de,uwt=Qr((Y_(),ie(ne(cwt,1),rt,327,0,[Kq,Wle,Xle,Yle,Qle,Kle])))}function jJe(){jJe=de,Cyt=Qr((al(),ie(ne(mV,1),rt,273,0,[p2,Z0,NO,BS,PS,Fk])))}function $Je(){$Je=de,wyt=Qr((LH(),ie(ne(MSe,1),rt,312,0,[zhe,SSe,LSe,_Se,ASe,CSe])))}function tnn(){return ry(),ie(ne(xo,1),rt,93,0,[Mf,Q0,Df,Of,h0,Xh,eh,If,Yh])}function x$(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,0,n,e.a))}function E$(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,1,n,e.b))}function Cx(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,3,n,e.b))}function $v(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,3,n,e.f))}function Hv(e,t){var n;n=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,4,n,e.g))}function Au(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,5,n,e.i))}function Lu(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,6,n,e.j))}function Sx(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,1,n,e.j))}function Ax(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,4,n,e.c))}function Lx(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,2,n,e.k))}function Cre(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,2,n,e.d))}function Eg(e,t){var n;n=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,4,n,e.s))}function Vm(e,t){var n;n=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,5,n,e.t))}function Mx(e,t){var n;n=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,5,n,t))}function sD(e,t){var n;return n=u(Jn((uR(),DV),e),55),n?n.xj(t):Ie(Xn,_t,1,t,5,1)}function B0(e,t){var n,r;return n=t in e.a,n&&(r=M0(e,t).he(),r)?r.a:null}function nnn(e,t){var n,r,i;return n=(r=(gv(),i=new I9,i),t&&$4e(r,t),r),ome(n,e),n}function HJe(e,t,n){if(Hx(e,n),!e.Bk()&&n!=null&&!e.wj(n))throw ee(new vee);return n}function zJe(e,t){return e.n=t,e.n?(e.f=new at,e.e=new at):(e.f=null,e.e=null),e}function Gr(e,t,n,r,i,a){var h;return h=wne(e,t),qJe(n,h),h.i=i?8:0,h.f=r,h.e=i,h.g=a,h}function Jwe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function eme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function tme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function nme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function rme(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function GJe(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],SZe(e.a,n);return e}function P1(e){var t,n,r,i;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],Or(t);return new uqe(e)}function rnn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,n=t.exec(e);return n&&n[1]||lae}function qJe(e,t){if(e){t.n=e;var n=cZt(t);if(!n){pG[e]=[t];return}n.gm=t}}function inn(e,t,n){var r,i;return i=e.length,r=b.Math.min(n,i),o4e(e,0,t,0,r,!0),t}function VJe(e,t,n){var r,i;for(i=t.Kc();i.Ob();)r=u(i.Pb(),79),zs(e,u(n.Kb(r),33))}function snn(){YHe();for(var e=jce,t=0;t<arguments.length;t++)e.push(arguments[t])}function T_(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],ks(e,n,e.c.b,e.c)}function T$(e,t){e.b=b.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),st(e.a,t)}function UJe(e){Cm(e.c>=0),nan(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ime(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=mD(e.f)),e.c).e}function kf(e){if(!(e>=0))throw ee(new Dn("tolerance ("+e+") must be >= 0"));return e}function Dx(){return xhe||(xhe=new Not,Q3(xhe,ie(ne(M4,1),_t,130,0,[new gp]))),xhe}function vo(){vo=de,dS=new nte(bC,0),cl=new nte("INPUT",1),ou=new nte("OUTPUT",2)}function _$(){_$=de,FEe=new Xee("ARD",0),cq=new Xee("MSD",1),que=new Xee("MANUAL",2)}function zv(){zv=de,dO=new ote("BARYCENTER",0),pS=new ote(wht,1),zq=new ote(mht,2)}function aD(e,t){var n;if(n=e.gc(),t<0||t>n)throw ee(new Mm(t,n));return new xbe(e,t)}function KJe(e,t){var n;return me(t,42)?e.c.Mc(t):(n=mie(e,t),aH(e,t),n)}function Co(e,t,n){return sb(e,t),nu(e,n),Eg(e,0),Vm(e,1),Sg(e,!0),Cg(e,!0),e}function Vl(e,t){if(e<0)throw ee(new Dn(t+" cannot be negative but was: "+e));return e}function WJe(e,t){var n,r;for(n=0,r=e.gc();n<r;++n)if(zc(t,e.Xb(n)))return n;return-1}function C$(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=u(n.Pb(),14),t.$b();e.c.$b(),e.d=0}function ann(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],XKe(t,t.length,null)}function sme(e){var t,n;if(e==0)return 32;for(n=0,t=1;!(t&e);t<<=1)++n;return n}function onn(e){var t,n;for(n=new C(Brt(e));n.a<n.c.c.length;)t=u(Y(n),680),t.Gf()}function YJe(e){_pe(),this.g=new Ar,this.f=new Ar,this.b=new Ar,this.c=new Ov,this.i=e}function ame(){this.f=new $a,this.d=new Wge,this.c=new $a,this.a=new at,this.b=new at}function XJe(e,t,n,r){this.rj(),this.a=t,this.b=e,this.c=null,this.c=new cUe(this,t,n,r)}function Sre(e,t,n,r,i){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function QJe(){C2e.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=_f}function cnn(){return wl(),ie(ne(HSe,1),rt,259,0,[yE,RO,yV,RS,kV,EV,xV,Ghe,FO])}function unn(){return GH(),ie(ne(l7e,1),rt,250,0,[u7e,s7e,a7e,i7e,sue,c7e,o7e,r7e,n7e])}function ZJe(){ZJe=de,Ndt=ie(ne(Sr,1),Jr,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function JJe(){JJe=de,bvt=ki(ki(ki(new Xs,(io(),Dd),(po(),WC)),i2,K7),fu,U7)}function eet(){eet=de,vvt=ki(ki(ki(new Xs,(io(),Dd),(po(),WC)),i2,K7),fu,U7)}function tet(){tet=de,wvt=ki(ki(ki(new Xs,(io(),Dd),(po(),WC)),i2,K7),fu,U7)}function net(){net=de,kvt=rl(ki(ki(new Xs,(io(),fu),(po(),KG)),Yc,zG),zo,UG)}function z6(){z6=de,yk=new Yee("LAYER_SWEEP",0),ZI=new Yee(hoe,1),PEe=new Yee(U0,2)}function lnn(e,t){var n,r;return n=e.c,r=t.e[e.p],r>0?u(It(n.a,r-1),10):null}function __(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,2,n,e.k))}function S$(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,8,n,e.f))}function A$(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,7,n,e.i))}function ome(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,8,n,e.a))}function cme(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,n,e.b))}function ume(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,n,e.b))}function lme(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.c))}function hme(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.c))}function Are(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,4,n,e.c))}function fme(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.d))}function Lre(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,2,n,e.D))}function Mre(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&Mre(e.i,t/e.r*e.i.d))}function hnn(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new F$e:new _L,e.c=S0n(r,e.b,e.a)}function ret(e,t){return G0(e.e,t)?(ho(),kre(t)?new aj(t,e):new fM(t,e)):new YGe(t,e)}function L$(e,t){return QGt(S_(e.a,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))))}function fnn(e,t,n){return $m(e,new ut(t),new fa,new ht(n),ie(ne(yl,1),rt,132,0,[]))}function dnn(e){var t,n;return 0>e?new Tpe:(t=e+1,n=new SQe(t,e),new rbe(null,n))}function gnn(e,t){fn();var n;return n=new p6(1),ga(e)?Io(n,e,t):lu(n.f,e,t),new $(n)}function pnn(e,t){var n,r;return n=e.o+e.p,r=t.o+t.p,n<r?-1:n==r?0:1}function bnn(e){var t;return t=W(e,(nt(),Mi)),me(t,160)?wnt(u(t,160)):null}function iet(e){var t;return e=b.Math.max(e,2),t=Bme(e),e>t?(t<<=1,t>0?t:hC):t}function Dre(e){switch(N2e(e.e!=3),e.e){case 2:return!1;case 0:return!0}return ken(e)}function set(e,t){var n;return me(t,8)?(n=u(t,8),e.a==n.a&&e.b==n.b):!1}function Ire(e,t,n){var r,i,a;return a=t>>5,i=t&31,r=Gs(Im(e.n[n][a],Ir(A0(i,1))),3),r}function vnn(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),TH(e,n.cd(),n.dd())}function wnn(e,t){var n;n=new Es,u(t.b,65),u(t.b,65),u(t.b,65),Su(t.a,new Obe(e,n,t))}function dme(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,21,n,e.b))}function gme(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,11,n,e.d))}function M$(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,13,n,e.j))}function aet(e,t,n){var r,i,a;for(a=e.a.length-1,i=e.b,r=0;r<n;i=i+1&a,++r)us(t,r,e.a[i])}function xf(e,t){var n;return An(t),n=t.g,e.b[n]?!1:(us(e.b,n,t),++e.c,!0)}function oet(e,t){var n;return n=t==null?-1:Ko(e.b,t,0),n<0?!1:(Ore(e,n),!0)}function Ore(e,t){var n;n=yg(e.b,e.b.c.length-1),t<e.b.c.length&&(gh(e.b,t,n),Est(e,t))}function mnn(e,t){(e$(),q1?null:t.c).length==0&&FVe(t,new Ve),Io(e.a,q1?null:t.c,t)}function ynn(e,t){Er(t,"Hierarchical port constraint processing",1),Aan(e),Lwn(e),lr(t)}function knn(e,t){var n,r;for(r=t.Kc();r.Ob();)n=u(r.Pb(),266),e.b=!0,zs(e.e,n),n.b=e}function D$(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 xnn(e,t){var n,r;return n=u(W(e,(mt(),Ny)),8),r=u(W(t,Ny),8),Bs(n.b,r.b)}function cet(e){sve.call(this),this.b=We(gt(W(e,(mt(),Af)))),this.a=u(W(e,W0),218)}function uet(e,t,n){cwe.call(this,e,t,n),this.a=new Ar,this.b=new Ar,this.d=new TRe(this)}function het(e){this.e=e,this.d=new XF(zm(A6(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function I$(e){this.b=e,this.a=Ie(Sr,Jr,25,e+1,15,1),this.c=Ie(Sr,Jr,25,e,15,1),this.d=0}function Nre(e,t,n){var r;return r=new at,G4e(e,t,r,n,!0,!0),e.b=new I$(r.c.length),r}function fet(e,t){var n;return n=u(Jn(e.c,t),458),n||(n=new b$e,n.c=t,Si(e.c,n.c,n)),n}function Pre(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function pme(e){var t;return e.b==null?(pg(),pg(),VO):(t=e.Lk()?e.Kk():e.Jk(),t)}function det(e){var t,n;for(n=new ir(e);n.e!=n.i.gc();)t=u(br(n),33),Au(t,0),Lu(t,0)}function Rp(){Rp=de,wk=new Qi(x6e),PG=new Qi(Jlt),KC=new Qi(eht),KI=new Qi(tht)}function Ix(){Ix=de,YI=new $pe("TO_INTERNAL_LTR",0),Aue=new $pe("TO_INPUT_DIRECTION",1)}function O$(){O$=de,Jq=new t2e("P1_NODE_PLACEMENT",0),dE=new t2e("P2_EDGE_ROUTING",1)}function Gv(){Gv=de,ww=new Wee("START",0),s2=new Wee("MIDDLE",1),vw=new Wee("END",2)}function G6(){G6=de,Due=new Hs("edgelabelcenterednessanalysis.includelabel",(In(),Tb))}function Enn(e,t){ms(qi(new mn(null,new kn(new pm(e.b),1)),new wGe(e,t)),new yGe(e,t))}function get(){this.c=new ZF(0),this.b=new ZF(Hht),this.d=new ZF($ht),this.a=new ZF(noe)}function bme(e){var t,n;for(n=e.c.a.ec().Kc();n.Ob();)t=u(n.Pb(),214),yge(t,new Fit(t.e))}function pet(e){var t,n;for(n=e.c.a.ec().Kc();n.Ob();)t=u(n.Pb(),214),YJ(t,new HKe(t.f))}function nu(e,t){var n;n=e.zb,e.zb=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.zb))}function N$(e,t){var n;n=e.xb,e.xb=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,n,e.xb))}function P$(e,t){var n;n=e.yb,e.yb=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,2,n,e.yb))}function hs(e,t){var n,r;n=(r=new yee,r),n.n=t,Pr((!e.s&&(e.s=new ot(Bu,e,21,17)),e.s),n)}function Hi(e,t){var n,r;r=(n=new ebe,n),r.n=t,Pr((!e.s&&(e.s=new ot(Bu,e,21,17)),e.s),r)}function K3(e,t){var n,r;for(n=e.Pc(),xx(n,0,n.length,t),r=0;r<n.length;r++)e._c(r,n[r])}function ro(e,t){var n,r,i;for(An(t),n=!1,i=t.Kc();i.Ob();)r=i.Pb(),n=n|e.Fc(r);return n}function bet(e){var t,n,r;for(t=0,r=e.Kc();r.Ob();)n=r.Pb(),t+=n!=null?Yi(n):0,t=~~t;return t}function vet(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+ZZe(e))}function Bre(e,t){var n;return me(t,14)?(n=u(t,14),e.Gc(n)):xre(e,u(Or(t),20).Kc())}function wet(e,t,n){yJe.call(this,t,n),this.d=Ie(c0,Og,10,e.a.c.length,0,1),R1(e.a,this.d)}function Tnn(e){e.a=null,e.e=null,e.b.c=Ie(Xn,_t,1,0,5,1),e.f.c=Ie(Xn,_t,1,0,5,1),e.c=null}function met(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function yet(e,t){return We(gt(Ev(xD(Eu(new mn(null,new kn(e.c.b,16)),new IF(e)),t))))}function vme(e,t){return We(gt(Ev(xD(Eu(new mn(null,new kn(e.c.b,16)),new uT(e)),t))))}function _nn(e,t){Er(t,vht,1),ms(rc(new mn(null,new kn(e.b,16)),new IW),new OW),lr(t)}function Cnn(e,t){var n,r;return n=u(jt(e,(Qm(),tV)),19),r=u(jt(t,tV),19),ku(n.a,r.a)}function wme(e,t,n){var r,i;for(i=si(e,0);i.b!=i.d.c;)r=u(ii(i),8),r.a+=t,r.b+=n;return e}function C_(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&pd(t,r.g))return r;return null}function S_(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&pd(t,r.i))return r;return null}function Snn(e,t,n){var r,i,a;for(r=0,i=0;i<n;i++)a=t[i],e[i]=a<<1|r,r=a>>>31;r!=0&&(e[n]=r)}function Ann(e,t){fn();var n,r;for(r=new at,n=0;n<e;++n)r.c[r.c.length]=t;return new Pee(r)}function ket(e){var t;return t=_Xe(e),wv(t.a,0)?(W8(),W8(),Pxe):(W8(),new U2e(t.b))}function xet(e){var t;return t=_Xe(e),wv(t.a,0)?(W8(),W8(),Pxe):(W8(),new U2e(t.c))}function Lnn(e){var t;return t=Wj(e),wv(t.a,0)?(nR(),nR(),qdt):(nR(),new pVe(t.b))}function Mnn(e){return e.b.c.i.k==(zn(),Ls)?u(W(e.b.c.i,(nt(),Mi)),11):e.b.c}function Eet(e){return e.b.d.i.k==(zn(),Ls)?u(W(e.b.d.i,(nt(),Mi)),11):e.b.d}function ys(e,t,n,r,i,a,h,d,v,x,T,L,P){return bst(e,t,n,r,i,a,h,d,v,x,T,L,P),lie(e,!1),e}function vh(e,t,n,r,i,a,h){Wr.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=I1(h)}function Dnn(e,t){typeof window===sI&&typeof window.$gwt===sI&&(window.$gwt[e]=t)}function Inn(e,t){return Rx(),e==bw&&t==Ey||e==Ey&&t==bw||e==D4&&t==xy||e==xy&&t==D4}function Onn(e,t){return Rx(),e==bw&&t==xy||e==bw&&t==D4||e==Ey&&t==D4||e==Ey&&t==xy}function Tet(e,t){return C1(),kf(H1),b.Math.abs(0-t)<=H1||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Nnn(){return mo(),ie(ne(ele,1),rt,256,0,[dq,Th,eS,gq,nE,F4,tS,eE,tE,pq])}function Fre(){Fre=de,GS=new I$e,Zhe=ie(ne(Bu,1),S4,170,0,[]),v3t=ie(ne(ef,1),V8e,59,0,[])}function B$(){B$=de,r_e=new ste("NO",0),qle=new ste("GREEDY",1),n_e=new ste("LOOK_BACK",2)}function Vu(){Vu=de,U7e=new om,q7e=new lp,V7e=new AW,G7e=new N2,K7e=new LW,W7e=new MW}function Pnn(e){var t,n,r;for(r=0,n=new C(e.b);n.a<n.c.c.length;)t=u(Y(n),29),t.p=r,++r}function Bnn(e,t){var n;return n=F3e(e),f4e(new Ft(n.c,n.d),new Ft(n.b,n.a),e.rf(),t,e.Hf())}function Vc(e,t){var n;return e.b?null:(n=Otn(e,e.g),oi(e.a,n),n.i=e,e.d=t,n)}function Fnn(e,t,n){Er(n,"DFS Treeifying phase",1),Usn(e,t),zdn(e,t),e.a=null,e.b=null,lr(n)}function _et(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new at,Phn(this),fn(),aa(this.a,null)}function mme(e){this.i=e.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),e.Qc(this.g))}function gs(e,t){nj.call(this,w3t,e,t),this.b=this,this.a=hu(e.Tg(),bn(this.e.Tg(),this.c))}function A_(e,t){var n,r;for(An(t),r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),e.zc(n.cd(),n.dd())}function Rnn(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!Qj(e,t,r.Pb()))return!1;return!0}function jnn(e,t,n,r,i){var a;return n&&(a=Zi(t.Tg(),e.c),i=n.gh(t,-1-(a==-1?r:a),null,i)),i}function $nn(e,t,n,r,i){var a;return n&&(a=Zi(t.Tg(),e.c),i=n.ih(t,-1-(a==-1?r:a),null,i)),i}function Cet(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 Aet(e){switch(e.g){case 2:return dt(),On;case 4:return dt(),$n;default:return e}}function Let(e){switch(e.g){case 1:return dt(),Tr;case 3:return dt(),Ln;default:return e}}function Hnn(e){var t,n,r;return e.j==(dt(),Ln)&&(t=iat(e),n=zu(t,$n),r=zu(t,On),r||r&&n)}function znn(e){var t,n;return t=u(e.e&&e.e(),9),n=u(_ve(t,t.length),9),new hh(t,n,t.length)}function Gnn(e,t){Er(t,vht,1),yye(uqt(new rr((TT(),new Cne(e,!1,!1,new TP))))),lr(t)}function oD(e,t){return In(),ga(e)?Swe(e,Hr(t)):_m(e)?one(e,gt(t)):Tm(e)?KYt(e,Nt(t)):e.wd(t)}function yme(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),st(e.a,t)}function Ox(e,t){var n,r,i,a;return i=e.c,n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.a<n&&t.b>a&&t.b<r}function Met(e,t,n,r){me(e.Cb,179)&&(u(e.Cb,179).tb=null),nu(e,n),t&&rfn(e,t),r&&e.xk(!0)}function kme(e,t){var n;n=u(t,183),U2(n,"x",e.i),U2(n,"y",e.j),U2(n,dce,e.g),U2(n,fce,e.f)}function xme(){xme=de,xvt=Xv(rqe(ki(ki(new Xs,(io(),fu),(po(),KG)),Yc,zG),zo),UG)}function Det(){Det=de,Cvt=Xv(rqe(ki(ki(new Xs,(io(),fu),(po(),KG)),Yc,zG),zo),UG)}function F$(){F$=de,hhe=new lte(U0,0),z_e=new lte("POLAR_COORDINATE",1),H_e=new lte("ID",2)}function R$(){R$=de,XTe=new rte("EQUALLY",0),Hle=new rte(dz,1),QTe=new rte("NORTH_SOUTH",2)}function Iet(){Iet=de,nvt=Qr((l4(),ie(ne(UTe,1),rt,260,0,[$q,lO,hO,GTe,qTe,zTe,VTe,Hq])))}function Oet(){Oet=de,mpt=Qr((HH(),ie(ne(IEe,1),rt,270,0,[Bue,jue,Pue,zue,Rue,Fue,Hue,$ue])))}function Net(){Net=de,Kmt=Qr((Dg(),ie(ne(Umt,1),rt,277,0,[DCe,qa,Tc,gE,Go,ws,Ik,W1])))}function Pet(){Pet=de,Xyt=Qr((o7(),ie(ne(MV,1),rt,237,0,[Whe,AV,LV,SV,Khe,CV,_V,Uhe])))}function Nx(){Nx=de,UC=new Hs("debugSVG",(In(),!1)),g7e=new Hs("overlapsExisted",!0)}function Bet(e,t){return $m(new Fe(e),new et(t),new ze(t),new Wn,ie(ne(yl,1),rt,132,0,[]))}function qnn(){var e;return tue||(tue=new a$e,e=new rre(""),nVt(e,(Y8(),Hxe)),mnn(tue,e)),tue}function Vnn(e,t){var n;for(Or(t);e.Ob();)if(n=e.Pb(),!_me(u(n,10)))return!1;return!0}function Fet(e,t){var n;return n=Dse(Dx(),e),n?(So(t,(di(),pE),n),!0):!1}function Ul(e,t){var n;for(n=0;n<t.j.c.length;n++)u(ZM(e,n),21).Gc(u(ZM(t,n),14));return e}function Unn(e,t){var n,r;for(r=new C(t.b);r.a<r.c.c.length;)n=u(Y(r),29),e.a[n.p]=bln(n)}function L_(e,t){var n,r;for(An(t),r=e.vc().Kc();r.Ob();)n=u(r.Pb(),42),t.Od(n.cd(),n.dd())}function j$(e,t){var n;me(t,83)?(u(e.c,76).Xj(),n=u(t,83),vnn(e,n)):u(e.c,76).Wb(t)}function J2(e){return me(e,152)?R6(u(e,152)):me(e,131)?u(e,131).a:me(e,54)?new uv(e):new km(e)}function Knn(e,t){return t<e.b.gc()?u(e.b.Xb(t),10):t==e.b.gc()?e.a:u(It(e.e,t-e.b.gc()-1),10)}function Ret(e,t){e.a=Wa(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d=Wa(e.d,t)}function Wnn(e,t){var n;Er(t,"Edge and layer constraint edge reversal",1),n=Q0n(e),dvn(n),lr(t)}function jet(e){var t;e.d==null?(++e.e,e.f=0,Wtt(null)):(++e.e,t=e.d,e.d=null,e.f=0,Wtt(t))}function jp(e){var t;return t=e.h,t==0?e.l+e.m*sk:t==V0?e.l+e.m*sk-gb:e}function $et(e){return Am(),e.A.Hc((Nl(),Hy))&&!e.B.Hc((wl(),RO))?xnt(e):null}function Ynn(e){if(An(e),e.length==0)throw ee(new ld("Zero length BigInteger"));cgn(this,e)}function W3(e){if(!e)throw ee(new Vo("no calls to next() since the last call to remove()"))}function Mu(e){return fI<e&&e<gb?e<0?b.Math.ceil(e):b.Math.floor(e):jp(pdn(e))}function Xnn(e,t){var n,r,i;for(n=e.c.Ee(),i=t.Kc();i.Ob();)r=i.Pb(),e.a.Od(n,r);return e.b.Kb(n)}function _i(e,t){var n,r,i;if(n=e.Jg(),n!=null&&e.Mg())for(r=0,i=n.length;r<i;++r)n[r].ui(t)}function Px(e,t){var n,r;for(n=e,r=Xa(n).e;r;){if(n=r,n==t)return!0;r=Xa(n).e}return!1}function Qnn(e,t,n){var r,i;return r=e.a.f[t.p],i=e.a.f[n.p],r<i?-1:r==i?0:1}function eb(e,t,n){var r,i;return i=u(t_(e.d,t),19),r=u(t_(e.b,n),19),!i||!r?null:$6(e,i.a,r.a)}function Znn(e,t){var n,r;for(r=new ir(e);r.e!=r.i.gc();)n=u(br(r),33),_1(n,n.i+t.b,n.j+t.d)}function Jnn(e,t){var n,r;for(r=new C(t);r.a<r.c.c.length;)n=u(Y(r),70),st(e.d,n),uln(e,n)}function ern(e,t){var n,r;r=new at,n=t;do r.c[r.c.length]=n,n=u(Jn(e.k,n),17);while(n);return r}function Cn(e,t){var n;return e.Db&t?(n=zie(e,t),n==-1?e.Eb:Z2(e.Eb)[n]):null}function gc(e,t){var n,r;return n=(r=new ML,r),n.G=t,!e.rb&&(e.rb=new Om(e,u1,e)),Pr(e.rb,n),n}function hi(e,t){var n,r;return n=(r=new jF,r),n.G=t,!e.rb&&(e.rb=new Om(e,u1,e)),Pr(e.rb,n),n}function Eme(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return nwe(e,t)}function Het(e){switch(e.a.g){case 1:return new jGe;case 3:return new jrt;default:return new od}}function $$(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw ee(new yc)}function trn(e){Aqe();var t;return Rze(Ule,e)||(t=new tQ,t.a=e,lbe(Ule,e,t)),u(_o(Ule,e),635)}function Bh(e){var t,n,r,i;return i=e,r=0,i<0&&(i+=gb,r=V0),n=_s(i/sk),t=_s(i-n*sk),cu(t,n,r)}function cD(e){var t,n,r;for(r=0,n=new b6(e.a);n.a<n.c.a.length;)t=m_(n),e.b.Hc(t)&&++r;return r}function nrn(e){var t,n,r;for(t=1,r=e.Kc();r.Ob();)n=r.Pb(),t=31*t+(n==null?0:Yi(n)),t=~~t;return t}function rrn(e,t){var n;this.c=e,n=new at,Jye(e,n,t,e.b,null,!1,null,!1),this.a=new Ca(n,0)}function Bx(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(ho(),u(e,66).Oj()),this.k=hu(t.e.Tg(),e)}function tb(e,t,n){this.b=(An(e),e),this.d=(An(t),t),this.e=(An(n),n),this.c=this.d+(""+this.e)}function zet(){this.a=u(Ct((r1(),OG)),19).a,this.c=We(gt(Ct(NG))),this.b=We(gt(Ct(bue)))}function Get(){Get=de,Eyt=Qr((ry(),ie(ne(xo,1),rt,93,0,[Mf,Q0,Df,Of,h0,Xh,eh,If,Yh])))}function qet(){qet=de,a0t=Qr((GH(),ie(ne(l7e,1),rt,250,0,[u7e,s7e,a7e,i7e,sue,c7e,o7e,r7e,n7e])))}function qv(){qv=de,$I=new bR("UP",0),jI=new bR(Uae,1),cue=new bR(ak,2),uue=new bR(ok,3)}function Tme(){Tme=de,g_e=(zj(),nhe),dwt=new pn(Wke,g_e),d_e=(Uj(),rhe),fwt=new pn(Yke,d_e)}function Fx(){Fx=de,tle=new Zee("ONE_SIDED",0),nle=new Zee("TWO_SIDED",1),JI=new Zee("OFF",2)}function Vet(e){e.r=new Ys,e.w=new Ys,e.t=new at,e.i=new at,e.d=new Ys,e.a=new k6,e.c=new Ar}function uD(e){this.n=new at,this.e=new as,this.j=new as,this.k=new at,this.f=new at,this.p=e}function Uet(e,t){e.c&&(Yot(e,t,!0),ms(new mn(null,new kn(t,16)),new gee(e))),Yot(e,t,!1)}function irn(e,t,n){return e==(zv(),zq)?new AX:vl(t,1)!=0?new bpe(n.length):new gHe(n.length)}function $o(e,t){var n;return t&&(n=t.Ve(),n.dc()||(e.q?A_(e.q,n):e.q=new nqe(n))),e}function Ket(e,t){var n;return n=e.a.get(t),n===void 0?++e.d:(AUt(e.a,t),--e.c,Pj(e.b)),n}function srn(e,t){var n,r,i;return n=t.p-e.p,n==0?(r=e.f.a*e.f.b,i=t.f.a*t.f.b,Bs(r,i)):n}function arn(e,t){var n,r;return n=e.f.c.length,r=t.f.c.length,n<r?-1:n==r?0:1}function orn(e){return e.b.c.length!=0&&u(It(e.b,0),70).a?u(It(e.b,0),70).a:Lne(e)}function crn(e){var t;if(e){if(t=e,t.dc())throw ee(new yc);return t.Xb(t.gc()-1)}return UYe(e.Kc())}function Wet(e){var t;return Lc(e,0)<0&&(e=Gbe(e)),t=Ir(Mp(e,32)),64-(t!=0?qD(t):qD(Ir(e))+32)}function _me(e){var t;return t=u(W(e,(nt(),vc)),61),e.k==(zn(),Ls)&&(t==(dt(),On)||t==$n)}function urn(e,t,n){var r,i;i=u(W(e,(mt(),Fo)),74),i&&(r=new $u,eie(r,0,i),qm(r,n),ro(t,r))}function H$(e,t,n){var r,i,a,h;h=Xa(e),r=h.d,i=h.c,a=e.n,t&&(a.a=a.a-r.b-i.a),n&&(a.b=a.b-r.d-i.b)}function lrn(e,t){var n,r;return n=e.j,r=t.j,n!=r?n.g-r.g:e.p==t.p?0:n==(dt(),Ln)?e.p-t.p:t.p-e.p}function hrn(e){var t,n;for(Bvn(e),n=new C(e.d);n.a<n.c.c.length;)t=u(Y(n),101),t.i&&Vln(t)}function M_(e,t,n,r,i){us(e.c[t.g],n.g,r),us(e.c[n.g],t.g,r),us(e.b[t.g],n.g,i),us(e.b[n.g],t.g,i)}function frn(e,t,n,r){u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65),u(r.b,65),Su(r.a,new Ibe(e,t,r))}function drn(e,t){e.d==(wo(),Wh)||e.d==X0?u(t.a,57).c.Fc(u(t.b,57)):u(t.b,57).c.Fc(u(t.a,57))}function Rre(e,t,n,r){return n==1?(!e.n&&(e.n=new ot(Qo,e,1,7)),Qa(e.n,t,r)):V3e(e,t,n,r)}function lD(e,t){var n,r;return r=(n=new wL,n),nu(r,t),Pr((!e.A&&(e.A=new Hu(pu,e,7)),e.A),r),r}function grn(e,t,n){var r,i,a,h;return a=null,h=t,i=Bv(h,bce),r=new TGe(e,n),a=(Ocn(r.a,r.b,i),i),a}function jre(e){var t;return(!e.a||!(e.Bb&1)&&e.a.kh())&&(t=Rh(e),me(t,148)&&(e.a=u(t,148))),e.a}function hD(e,t){var n,r;for(An(t),r=t.Kc();r.Ob();)if(n=r.Pb(),!e.Hc(n))return!1;return!0}function prn(e,t){var n,r,i;return n=e.l+t.l,r=e.m+t.m+(n>>22),i=e.h+t.h+(r>>22),cu(n&ml,r&ml,i&V0)}function Yet(e,t){var n,r,i;return n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22),cu(n&ml,r&ml,i&V0)}function fD(e){var t;return e<128?(t=(cKe(),bxe)[e],!t&&(t=bxe[e]=new LF(e)),t):new LF(e)}function ts(e){var t;return me(e,78)?e:(t=e&&e.__java$exception,t||(t=new Rtt(e),Jje(t)),t)}function dD(e){if(me(e,186))return u(e,118);if(e)return null;throw ee(new d6(qft))}function Xet(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(Ci(t,W$(e)))return!0;return!1}function Cme(e){return e.a.Ob()?!0:e.a!=e.d?!1:(e.a=new awe(e.e.f),e.a.Ob())}function Ps(e,t){var n,r;return n=t.Pc(),r=n.length,r==0?!1:(jbe(e.c,e.c.length,n),!0)}function brn(e,t,n){var r,i;for(i=t.vc().Kc();i.Ob();)r=u(i.Pb(),42),e.yc(r.cd(),r.dd(),n);return e}function Qet(e,t){var n,r;for(r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),70),Qe(n,(nt(),_k),t)}function vrn(e,t,n){var r,i;for(i=new C(e.b);i.a<i.c.c.length;)r=u(Y(i),33),_1(r,r.i+t,r.j+n)}function Zet(e,t){if(!e)throw ee(new Dn(eC("value already present: %s",ie(ne(Xn,1),_t,1,5,[t]))))}function Jet(e,t){return!e||!t||e==t?!1:Pnt(e.d.c,t.d.c+t.d.b)&&Pnt(t.d.c,e.d.c+e.d.b)}function wrn(){return e$(),q1?new rre(null):nat(qnn(),"com.google.common.base.Strings")}function ett(e,t){var n;return n=qd(t.a.gc()),ms(m$(new mn(null,new kn(t,1)),e.i),new vGe(e,n)),n}function ttt(e){var t,n;return n=(t=new wL,t),nu(n,"T"),Pr((!e.d&&(e.d=new Hu(pu,e,11)),e.d),n),n}function Sme(e){var t,n,r,i;for(t=1,n=0,i=e.gc();n<i;++n)r=e.ki(n),t=31*t+(r==null?0:Yi(r));return t}function ntt(e,t,n,r){var i;return HM(t,e.e.Hd().gc()),HM(n,e.c.Hd().gc()),i=e.a[t][n],us(e.a[t],n,r),i}function ie(e,t,n,r,i){return i.gm=e,i.hm=t,i.im=Ge,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function mrn(e,t,n,r,i){return f4(),b.Math.min(fut(e,t,n,r,i),fut(n,r,e,t,WR(new Ft(i.a,i.b))))}function z$(){z$=de,Iue=new wR(U0,0),tq=new wR(yht,1),nq=new wR(kht,2),QI=new wR("BOTH",3)}function B1(){B1=de,mk=new mR(T7,0),W7=new mR(ak,1),Y7=new mR(ok,2),Oue=new mR("TOP",3)}function Rx(){Rx=de,bw=new vR("Q1",0),Ey=new vR("Q4",1),xy=new vR("Q2",2),D4=new vR("Q3",3)}function G$(){G$=de,Vle=new ate("OFF",0),hE=new ate("SINGLE_EDGE",1),By=new ate("MULTI_EDGE",2)}function gD(){gD=de,cV=new i2e("MINIMUM_SPANNING_TREE",0),ACe=new i2e("MAXIMUM_SPANNING_TREE",1)}function q6(){q6=de,Hmt=new HQ,$mt=new jQ}function Ame(e){var t,n,r;for(t=new as,r=si(e.d,0);r.b!=r.d.c;)n=u(ii(r),188),oi(t,n.c);return t}function $re(e){var t,n,r,i;for(i=new at,r=e.Kc();r.Ob();)n=u(r.Pb(),33),t=sy(n),Ps(i,t);return i}function yrn(e){var t;rw(e,!0),t=Ig,Js(e,(mt(),cE))&&(t+=u(W(e,cE),19).a),Qe(e,cE,lt(t))}function rtt(e,t,n){var r;il(e.a),Su(n.i,new XRe(e)),r=new FR(u(Jn(e.a,t.b),65)),qnt(e,r,t),n.f=r}function krn(e,t){var n,r;return n=e.c,r=t.e[e.p],r<n.a.c.length-1?u(It(n.a,r+1),10):null}function xrn(e,t){var n,r;for(Ij(t,"predicate"),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}function V6(e,t){var n,r;if(r=0,e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=D1(r,A0(1,n));return r}function Lme(e){fn();var t,n,r;for(r=0,n=e.Kc();n.Ob();)t=n.Pb(),r=r+(t!=null?Yi(t):0),r=r|0;return r}function Mme(e){var t,n;return n=(gv(),t=new ad,t),e&&Pr((!e.a&&(e.a=new ot(os,e,6,6)),e.a),n),n}function Ern(e){var t;return t=new Ee,t.a=e,t.b=Mrn(e),t.c=Ie(Et,Je,2,2,6,1),t.c[0]=vet(e),t.c[1]=vet(e),t}function Dme(e,t){switch(t){case 0:!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),e.o.c.$b();return}ase(e,t)}function pD(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function itt(e){switch(e.g){case 1:return f2;case 2:return l0;case 3:return DO;default:return IO}}function Trn(e){switch(u(W(e,(mt(),du)),163).g){case 2:case 4:return!0;default:return!1}}function stt(){stt=de,Ipt=Qr((mo(),ie(ne(ele,1),rt,256,0,[dq,Th,eS,gq,nE,F4,tS,eE,tE,pq])))}function att(){att=de,Oyt=Qr((wl(),ie(ne(HSe,1),rt,259,0,[yE,RO,yV,RS,kV,EV,xV,Ghe,FO])))}function ott(){ott=de,Swt=ki(Xv(Xv(cR(ki(new Xs,(Jx(),wS),(Y_(),Kq)),pO),Yle),Xle),mS,Qle)}function nb(){nb=de,Kue=new Qee(U0,0),J7=new Qee("INCOMING_ONLY",1),B4=new Qee("OUTGOING_ONLY",2)}function Hre(){Hre=de,Yce={boolean:oqt,number:bGt,string:vGt,object:yst,function:yst,undefined:Xzt}}function ctt(e,t){tj(e>=0,"Negative initial capacity"),tj(t>=0,"Non-positive load factor"),il(this)}function zre(e,t,n){return e>=128?!1:e<64?GT(Gs(A0(1,e),n),0):GT(Gs(A0(1,e-64),t),0)}function _rn(e,t){return!e||!t||e==t?!1:Kv(e.b.c,t.b.c+t.b.b)<0&&Kv(t.b.c,e.b.c+e.b.b)<0}function utt(e){var t,n,r;return n=e.n,r=e.o,t=e.d,new fh(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function Crn(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],ptt(e,t,(dt(),Tr)),ptt(e,t,Ln)}function Srn(e){var t,n,r,i;for(t=(e.j==null&&(e.j=(gx(),i=Wce.ce(e),jcn(i))),e.j),n=0,r=t.length;n<r;++n);}function jx(e){var t,n,r;return t=~e.l+1&ml,n=~e.m+(t==0?1:0)&ml,r=~e.h+(t==0&&n==0?1:0)&V0,cu(t,n,r)}function Arn(e,t){var n,r;return n=u(u(Jn(e.g,t.a),46).a,65),r=u(u(Jn(e.g,t.b),46).a,65),kct(n,r)}function Ime(e,t,n){var r;if(r=e.gc(),t>r)throw ee(new Mm(t,r));return e.hi()&&(n=TYe(e,n)),e.Vh(t,n)}function bD(e,t,n){return n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n)),e}function Qe(e,t,n){return n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n)),e}function ltt(e){var t,n;return n=new t$,$o(n,e),Qe(n,(Rp(),wk),e),t=new Ar,Mpn(e,n,t),nvn(e,n,t),n}function Lrn(e){f4();var t,n,r;for(n=Ie(ea,Je,8,2,0,1),r=0,t=0;t<2;t++)r+=.5,n[t]=lon(r,e);return n}function htt(e,t){var n,r,i,a;for(n=!1,r=e.a[t].length,a=0;a<r-1;a++)i=a+1,n=n|Ksn(e,t,a,i);return n}function $x(e,t,n,r,i){var a,h;for(h=n;h<=i;h++)for(a=t;a<=r;a++)n4(e,a,h)||VH(e,a,h,!0,!1)}function ftt(e,t){this.b=e,N3.call(this,(u(_e(qe((Op(),Tn).o),10),18),t.i),t.g),this.a=(Fre(),Zhe)}function Ome(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function Nme(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function Pme(e,t,n){this.q=new b.Date,this.q.setFullYear(e+Xp,t,n),this.q.setHours(0,0,0,0),rC(this,0)}function F0(){F0=de,c2=new tte(U0,0),KTe=new tte("NODES_AND_EDGES",1),Rle=new tte("PREFER_EDGES",2)}function Mrn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+ZZe(e))}function Bme(e){var t;if(e<0)return za;if(e==0)return 0;for(t=hC;!(t&e);t>>=1);return t}function dtt(e){var t,n;return n=qD(e.h),n==32?(t=qD(e.m),t==32?qD(e.l)+32:t+20-10):n-12}function D_(e){var t;return t=e.a[e.b],t==null?null:(us(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function gtt(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 q$(e,t,n){var r,i;return r=new fre(t,n),i=new At,e.b=sot(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function ptt(e,t,n){var r,i,a,h;for(h=N_(t,n),a=0,i=h.Kc();i.Ob();)r=u(i.Pb(),11),Si(e.c,r,lt(a++))}function $p(e){var t,n;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),81),t.g.c=-t.g.c-t.g.b;RH(e)}function Hp(e){var t,n;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),57),t.d.c=-t.d.c-t.d.b;j4e(e)}function Fme(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=Rh(e),me(t,88)&&(e.c=u(t,26))),e.c}function Gre(e){var t,n,r;t=~e.l+1&ml,n=~e.m+(t==0?1:0)&ml,r=~e.h+(t==0&&n==0?1:0)&V0,e.l=t,e.m=n,e.h=r}function ic(e){var t,n,r,i,a;for(t=new $a,r=e,i=0,a=r.length;i<a;++i)n=r[i],t.a+=n.a,t.b+=n.b;return t}function Rme(e,t){fn();var n,r,i,a,h;for(h=!1,r=t,i=0,a=r.length;i<a;++i)n=r[i],h=h|e.Fc(n);return h}function Y3(e){f4();var t,n;for(n=-17976931348623157e292,t=0;t<e.length;t++)e[t]>n&&(n=e[t]);return n}function btt(e,t,n){var r;return r=new at,G4e(e,t,r,(dt(),$n),!0,!1),G4e(e,n,r,On,!1,!1),r}function qre(e,t,n){var r,i,a,h;return a=null,h=t,i=Bv(h,"labels"),r=new NGe(e,n),a=(Wfn(r.a,r.b,i),i),a}function Drn(e,t,n,r){var i;return i=M4e(e,t,n,r),!i&&(i=Iin(e,n,r),i&&!p4(e,t,i))?null:i}function Irn(e,t,n,r){var i;return i=D4e(e,t,n,r),!i&&(i=oie(e,n,r),i&&!p4(e,t,i))?null:i}function vtt(e,t){var n;for(n=0;n<e.a.a.length;n++)if(!u(hKe(e.a,n),169).Lb(t))return!1;return!0}function Orn(e,t,n){if(Or(t),n.Ob())for(u2e(t,rWe(n.Pb()));n.Ob();)u2e(t,e.a),u2e(t,rWe(n.Pb()));return t}function jme(e){fn();var t,n,r;for(r=1,n=e.Kc();n.Ob();)t=n.Pb(),r=31*r+(t!=null?Yi(t):0),r=r|0;return r}function Nrn(e,t,n,r,i){var a;return a=E4e(e,t),n&&Gre(a),i&&(e=bon(e,t),r?t2=jx(e):t2=cu(e.l,e.m,e.h)),a}function Prn(e,t){var n;try{t.Vd()}catch(r){if(r=ts(r),me(r,78))n=r,e.c[e.c.length]=n;else throw ee(r)}}function wtt(e,t,n){var r,i;return me(t,144)&&n?(r=u(t,144),i=n,e.a[r.b][i.b]+e.a[i.b][r.b]):0}function $me(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Tye(e,t)}function Brn(e,t){switch(t.g){case 0:me(e.b,631)||(e.b=new zet);break;case 1:me(e.b,632)||(e.b=new HUe)}}function Frn(e,t){for(;e.g==null&&!e.c?Wve(e):e.g==null||e.i!=0&&u(e.g[e.i-1],47).Ob();)Sqt(t,PH(e))}function mtt(e,t,n){e.g=ose(e,t,(dt(),$n),e.b),e.d=ose(e,n,$n,e.b),!(e.g.c==0||e.d.c==0)&&Rit(e)}function ytt(e,t,n){e.g=ose(e,t,(dt(),On),e.j),e.d=ose(e,n,On,e.j),!(e.g.c==0||e.d.c==0)&&Rit(e)}function Rrn(e,t,n){return!xT(qi(new mn(null,new kn(e.c,16)),new Xe(new mGe(t,n)))).sd(($2(),G7))}function Vre(e){var t;return Np(e),t=new Xi,e.a.sd(t)?(J8(),new GF(An(t.a))):(J8(),J8(),xG)}function Hme(e){var t;return e.b<=0?!1:(t=hd("MLydhHmsSDkK",Du(Ma(e.c,0))),t>1||t>=0&&e.b<3)}function vD(e){var t,n,r;for(t=new $u,r=si(e,0);r.b!=r.d.c;)n=u(ii(r),8),tx(t,0,new Do(n));return t}function rb(e){var t,n;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),81),t.f.$b();fGt(e.b,e),Uat(e)}function Yi(e){return ga(e)?Lg(e):_m(e)?Q8(e):Tm(e)?(An(e),e?1231:1237):uve(e)?e.Hb():ive(e)?kv(e):zve(e)}function pl(e){return ga(e)?Et:_m(e)?ka:Tm(e)?Vs:uve(e)||ive(e)?e.gm:e.gm||Array.isArray(e)&&ne(Adt,1)||Adt}function ktt(e){switch(e.g){case 0:return new RQ;default:throw ee(new Dn(qz+(e.f!=null?e.f:""+e.g)))}}function xtt(e){switch(e.g){case 0:return new FQ;default:throw ee(new Dn(qz+(e.f!=null?e.f:""+e.g)))}}function zme(e,t,n){switch(t){case 0:!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),j$(e.o,n);return}hse(e,t,n)}function Ure(e,t,n){this.g=e,this.e=new $a,this.f=new $a,this.d=new as,this.b=new as,this.a=t,this.c=n}function Kre(e,t,n,r){this.b=new at,this.n=new at,this.i=r,this.j=n,this.s=e,this.t=t,this.r=0,this.d=0}function ib(e){this.e=e,this.d=new bwe(this.e.g),this.a=this.d,this.b=Cme(this),this.$modCount=e.$modCount}function jrn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!vT(e.b))e.d=u(L6(e.b),47);else return null;return e.d}function $rn(e){return st(e.c,(q6(),Hmt)),Zwe(e.a,We(gt(Ct((vie(),Bq)))))?new lZ:new nje(e)}function Gme(e){switch(e.g){case 1:return $ht;default:case 2:return 0;case 3:return noe;case 4:return Hht}}function Hrn(){mi();var e;return ife||(e=XVt(Wp("M",!0)),e=fj(Wp("M",!1),e),ife=e,ife)}function qme(e,t){var n,r,i;for(i=e.b;i;){if(n=e.a.ue(t,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function zrn(e,t,n){var r,i;r=(In(),!!h2e(n)),i=u(t.xc(r),15),i||(i=new at,t.zc(r,i)),i.Fc(n)}function Grn(e,t){var n,r;return n=u(jt(e,(yse(),wO)),19).a,r=u(jt(t,wO),19).a,n==r||n<r?-1:n>r?1:0}function Vme(e,t){return Hat(e,t)?(an(e.b,u(W(t,(nt(),_y)),21),t),oi(e.a,t),!0):!1}function qrn(e){var t,n;t=u(W(e,(nt(),ol)),10),t&&(n=t.c,_u(n.a,t),n.a.c.length==0&&_u(Xa(t).b,n))}function Ett(e){return q1?Ie(Kdt,_lt,572,0,0,1):u(R1(e.a,Ie(Kdt,_lt,572,e.a.c.length,0,1)),842)}function Vrn(e,t,n,r){return Cj(),new Cee(ie(ne(Eb,1),oz,42,0,[(Fie(e,t),new bv(e,t)),(Fie(n,r),new bv(n,r))]))}function X3(e,t,n){var r,i;return i=(r=new kee,r),Co(i,t,n),Pr((!e.q&&(e.q=new ot(ef,e,11,10)),e.q),i),i}function Wre(e){var t,n,r,i;for(i=vqt(Kyt,e),n=i.length,r=Ie(Et,Je,2,n,6,1),t=0;t<n;++t)r[t]=i[t];return r}function Q3(e,t){var n,r,i,a,h;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],h=new uWe(e),n.Qe(h),Ypn(h);il(e.f)}function Yre(e,t){var n;return t===e?!0:me(t,224)?(n=u(t,224),Ci(e.Zb(),n.Zb())):!1}function Ume(e,t){var n;t*2+1>=e.b.c.length||(Ume(e,2*t+1),n=2*t+2,n<e.b.c.length&&Ume(e,n),Est(e,t))}function Ttt(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=iet(n),r=Ie(Sdt,uI,330,i,0,1),this.b=r}function Kme(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:Hee(Gs(e[r],yo),Gs(t[r],yo))?-1:1}function Urn(e,t){var n,r;for(r=si(e,0);r.b!=r.d.c;)n=u(ii(r),214),n.e.length>0&&(t.td(n),n.i&&$in(n))}function Xre(e,t){var n,r;return r=u(Cn(e.a,4),126),n=Ie(Xhe,_ce,415,t,0,1),r!=null&&Rc(r,0,n,0,r.length),n}function _tt(e,t){var n;return n=new Sse((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 Krn(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=u(r.Pb(),14),n.Hc(t))return!0;return!1}function Qre(e,t,n,r,i){var a,h;for(h=n;h<=i;h++)for(a=t;a<=r;a++)if(n4(e,a,h))return!0;return!1}function Ctt(e,t,n){var r,i,a,h;for(An(n),h=!1,a=e.Zc(t),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),h=!0;return h}function Wrn(e,t){var n;return e===t?!0:me(t,83)?(n=u(t,83),W3e(_v(e),n.vc())):!1}function Stt(e,t,n){var r,i;for(i=n.Kc();i.Ob();)if(r=u(i.Pb(),42),e.re(t,r.dd()))return!0;return!1}function Att(e,t,n){return e.d[t.p][n.p]||(qan(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function Hx(e,t){if(!e.ai()&&t==null)throw ee(new Dn("The 'no null' constraint is violated"));return t}function zx(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),Lre(e,t==null?null:(An(t),t)),e.C&&e.yk(null)}function Yrn(e,t){var n;return!e||e==t||!Js(t,(nt(),kw))?!1:(n=u(W(t,(nt(),kw)),10),n!=e)}function Zre(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.pl()}}function Ltt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.ql()}}function Mtt(e){vYe.call(this,"The given string does not match the expected format for individual spacings.",e)}function Ol(){Ol=de,rh=new SR("ELK",0),KSe=new SR("JSON",1),USe=new SR("DOT",2),WSe=new SR("SVG",3)}function wD(){wD=de,eV=new ute(U0,0),S_e=new ute("RADIAL_COMPACTION",1),A_e=new ute("WEDGE_COMPACTION",2)}function F1(){F1=de,zxe=new zee("CONCURRENT",0),Zl=new zee("IDENTITY_FINISH",1),yy=new zee("UNORDERED",2)}function Jre(){Jre=de,v7e=(rR(),lue),b7e=new pn(f6e,v7e),V0t=new Qi(d6e),U0t=new Qi(g6e),K0t=new Qi(p6e)}function Gx(){Gx=de,MEe=new j5,DEe=new pY,spt=new cL,ipt=new bY,rpt=new vY,LEe=(An(rpt),new nn)}function qx(){qx=de,Gle=new ite("CONSERVATIVE",0),e_e=new ite("CONSERVATIVE_SOFT",1),gS=new ite("SLOPPY",2)}function V$(){V$=de,PSe=new yv(15),myt=new fo((di(),Pb),PSe),DS=Nk,DSe=nyt,ISe=Nb,NSe=Z4,OSe=gV}function eie(e,t,n){var r,i,a;for(r=new as,a=si(n,0);a.b!=a.d.c;)i=u(ii(a),8),oi(r,new Do(i));Ctt(e,t,r)}function Xrn(e){var t,n,r;for(t=0,r=Ie(ea,Je,8,e.b,0,1),n=si(e,0);n.b!=n.d.c;)r[t++]=u(ii(n),8);return r}function Wme(e){var t;return t=(!e.a&&(e.a=new ot(J0,e,9,5)),e.a),t.i!=0?gqt(u(_e(t,0),678)):null}function Qrn(e,t){var n;return n=Wa(e,t),Hee(Une(e,t),0)|Mqt(Une(e,n),0)?n:Wa(az,Une(Im(n,63),1))}function Zrn(e,t){var n;n=Ct((vie(),Bq))!=null&&t.wg()!=null?We(gt(t.wg()))/We(gt(Ct(Bq))):1,Si(e.b,t,n)}function Jrn(e,t){var n,r;return n=u(e.d.Bc(t),14),n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function Yme(e,t){var n,r;if(r=e.c[t],r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n<e.a.length;)e.a[n]-=r,n+=n&-n}function Dtt(e){var t;if(t=e.a.c.length,t>0)return ax(t-1,e.a.c.length),yg(e.a,t-1);throw ee(new t$e)}function ein(e,t,n){if(t<0)throw ee(new Mo(eft+t));t<e.j.c.length?gh(e.j,t,n):(RXe(e,t),st(e.j,n))}function Itt(e,t,n){if(e>t)throw ee(new Dn(hz+e+Clt+t));if(e<0||t>n)throw ee(new upe(hz+e+J5e+t+Q5e+n))}function Ott(e){if(!e.a||!(e.a.i&8))throw ee(new Vo("Enumeration class expected for layout option "+e.f))}function Um(e){var t;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.ri(e.i),Rc(t,0,e.g,0,e.i))}function tin(e,t){var n,r;for(n=e.a.length-1,e.c=e.c-1&n;t!=e.c;)r=t+1&n,us(e.a,t,e.a[r]),t=r;us(e.a,e.c,null)}function nin(e,t){var n,r;for(n=e.a.length-1;t!=e.b;)r=t-1&n,us(e.a,t,e.a[r]),t=r;us(e.a,e.b,null),e.b=e.b+1&n}function Xme(e,t,n){var r,i;return Fm(t,e.c.length),r=n.Pc(),i=r.length,i==0?!1:(jbe(e.c,t,r),!0)}function rin(e){var t,n;if(e==null)return null;for(t=0,n=e.length;t<n;t++)if(!KUe(e[t]))return e[t];return null}function Ntt(e,t,n){var r,i,a,h;for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],e.b.re(t,r.cd()))return r;return null}function U$(e){var t,n,r,i,a;for(a=1,n=e,r=0,i=n.length;r<i;++r)t=n[r],a=31*a+(t!=null?Yi(t):0),a=a|0;return a}function Qr(e){var t,n,r,i,a;for(t={},r=e,i=0,a=r.length;i<a;++i)n=r[i],t[":"+(n.f!=null?n.f:""+n.g)]=n;return t}function iin(e){var t;for(Or(e),Cbe(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&Vr(e);t++)Nr(e);return t}function Ptt(e){var t,n,r;for(r=0,n=new ur(dr(e.a.Kc(),new V));Vr(n);)t=u(Nr(n),17),t.c.i==t.d.i||++r;return r}function Btt(e,t){var n,r,i;n=e,i=0;do{if(n==t)return i;if(r=n.e,!r)throw ee(new GL);n=Xa(r),++i}while(!0)}function Ftt(e,t){var n,r,i;for(i=t-e.f,r=new C(e.d);r.a<r.c.c.length;)n=u(Y(r),443),Lnt(n,n.e,n.f+i);e.f=t}function tie(e,t,n){return b.Math.abs(t-e)<$z||b.Math.abs(n-e)<$z?!0:t-e>$z?e-n>$z:n-e>$z}function nie(e,t){return!e||t&&!e.j||me(e,124)&&u(e,124).a.b==0?0:e.Re()}function K$(e,t){return!e||t&&!e.k||me(e,124)&&u(e,124).a.a==0?0:e.Se()}function mD(e){return Kp(),e<0?e!=-1?new qye(-1,-e):Zce:e<=10?Mxe[_s(e)]:new qye(1,e)}function Qme(e){throw Hre(),ee(new W$e("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function Rtt(e){eHe(),RR(this),Dj(this),this.e=e,Qat(this,e),this.g=e==null?Iu:Yo(e),this.a="",this.b=e,this.a=""}function Zme(){this.a=new PQ,this.f=new GRe(this),this.b=new qRe(this),this.i=new VRe(this),this.e=new URe(this)}function jtt(){uGt.call(this,new Pwe(zm(16))),Vl(2,olt),this.b=2,this.a=new Nve(null,null,0,null),zL(this.a,this.a)}function I_(){I_=de,Ole=new ete("DUMMY_NODE_OVER",0),RTe=new ete("DUMMY_NODE_UNDER",1),Rq=new ete("EQUAL",2)}function rie(){rie=de,xue=mYe(ie(ne(MS,1),rt,103,0,[(wo(),Wh),Lf])),Eue=mYe(ie(ne(MS,1),rt,103,0,[X0,Y0]))}function iie(e){return(dt(),Nu).Hc(e.j)?We(gt(W(e,(nt(),iE)))):ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a])).b}function sin(e){var t,n,r,i;for(r=e.b.a,n=r.a.ec().Kc();n.Ob();)t=u(n.Pb(),561),i=new Dat(t,e.e,e.f),st(e.g,i)}function sb(e,t){var n,r,i;r=e.nk(t,null),i=null,t&&(i=(q8(),n=new cv,n),_x(i,e.r)),r=j1(e,i,r),r&&r.Fi()}function ain(e,t){var n,r;for(r=vl(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.Tf(t.e,r),n=n|YD(e,t,r,!1),r=!r;bme(e)}function Jme(e,t){var n,r,i;return r=!1,n=t.q.d,t.d<e.b&&(i=zat(t.q,e.b),t.q.d>i&&(hit(t.q,i),r=n!=t.q.d)),r}function $tt(e,t){var n,r,i,a,h,d,v,x;return v=t.i,x=t.j,r=e.f,i=r.i,a=r.j,h=v-i,d=x-a,n=b.Math.sqrt(h*h+d*d),n}function eye(e,t){var n,r;return r=oH(e),r||(n=(Xse(),fst(t)),r=new Uje(n),Pr(r.Vk(),e)),r}function yD(e,t){var n,r;return n=u(e.c.Bc(t),14),n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function Htt(e,t){var n;for(n=0;n<t.length;n++)if(e==(zr(n,t.length),t.charCodeAt(n)))return!0;return!1}function ztt(e,t){var n;for(n=0;n<t.length;n++)if(e==(zr(n,t.length),t.charCodeAt(n)))return!0;return!1}function oin(e){var t,n;if(e==null)return!1;for(t=0,n=e.length;t<n;t++)if(!KUe(e[t]))return!1;return!0}function Gtt(e){var t;if(e.c!=0)return e.c;for(t=0;t<e.a.length;t++)e.c=e.c*33+(e.a[t]&-1);return e.c=e.c*e.e,e.c}function W$(e){var t;return Qn(e.a!=e.b),t=e.d.a[e.a],vVe(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function cin(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw ee(new yc);return t=e.a,e.a+=e.c.c,++e.b,lt(t)}function uin(e){var t;return t=new wJe(e),$M(e.a,zgt,new Cl(ie(ne(WI,1),_t,369,0,[t]))),t.d&&st(t.f,t.d),t.f}function sie(e){var t;return t=new k2e(e.a),$o(t,e),Qe(t,(nt(),Mi),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function lin(e,t,n,r){var i,a;for(a=e.Kc();a.Ob();)i=u(a.Pb(),70),i.n.a=t.a+(r.a-i.o.a)/2,i.n.b=t.b,t.b+=i.o.b+n}function hin(e,t,n){var r,i;for(i=t.a.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),57),ZWe(e,r,n))return!0;return!1}function fin(e){var t,n;for(n=new C(e.r);n.a<n.c.c.length;)if(t=u(Y(n),10),e.n[t.p]<=0)return t;return null}function qtt(e){var t,n,r,i;for(i=new Ys,r=new C(e);r.a<r.c.c.length;)n=u(Y(r),33),t=k0n(n),ro(i,t);return i}function din(e){var t;return t=OR(kvt),u(W(e,(nt(),Qc)),21).Hc((mo(),nE))&&ki(t,(io(),fu),(po(),XG)),t}function gin(e,t,n){var r;r=new Yst(e,t),an(e.r,t.Hf(),r),n&&!o_(e.u)&&(r.c=new gYe(e.d),Su(t.wf(),new gn(r)))}function Lc(e,t){var n;return Uo(e)&&Uo(t)&&(n=e-t,!isNaN(n))?n:g3e(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t)}function pin(e,t){return t<e.length&&(zr(t,e.length),e.charCodeAt(t)!=63)&&(zr(t,e.length),e.charCodeAt(t)!=35)}function Vtt(e,t,n,r){var i,a;e.a=t,a=r?0:1,e.f=(i=new Wit(e.c,e.a,n,a),new _ot(n,e.a,i,e.e,e.b,e.c==(zv(),pS)))}function tye(e,t,n){var r,i;return i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,1,i,t),n?n.Ei(r):n=r),n}function Utt(e,t,n){var r,i;return i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,3,i,t),n?n.Ei(r):n=r),n}function Ktt(e,t,n){var r,i;return i=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,0,i,t),n?n.Ei(r):n=r),n}function zp(e,t){var n,r,i,a;return a=(i=e?oH(e):null,wst((r=t,i&&i.Xk(),r))),a==t&&(n=oH(e),n&&n.Xk()),a}function nye(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function bin(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function Wtt(e){var t,n;if(e!=null)for(n=0;n<e.length;++n)t=e[n],t&&(u(t.g,367),t.i)}function vin(e){var t,n,r;for(r=0,n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),187),r=b.Math.max(r,t.g);return r}function win(e){var t,n,r;for(r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),214),t=n.c.Rf()?n.f:n.a,t&&F2n(t,n.j)}function R0(){R0=de,wV=new gte("INHERIT",0),qg=new gte("INCLUDE_CHILDREN",1),IS=new gte("SEPARATE_CHILDREN",2)}function rye(e,t){switch(t){case 1:!e.n&&(e.n=new ot(Qo,e,1,7)),_r(e.n);return;case 2:__(e,null);return}Dme(e,t)}function Y$(e){var t;switch(e.gc()){case 0:return Gce;case 1:return new Jte(Or(e.Xb(0)));default:return t=e,new One(t)}}function Ytt(e){switch(gd(),e.gc()){case 0:return xne(),axe;case 1:return new g6(e.Kc().Pb());default:return new Ipe(e)}}function Tg(e){switch(gd(),e.c){case 0:return xne(),axe;case 1:return new g6(Sst(new b6(e)));default:return new U$e(e)}}function Km(e,t){Or(e);try{return e.xc(t)}catch(n){if(n=ts(n),me(n,205)||me(n,173))return null;throw ee(n)}}function min(e,t){Or(e);try{return e.Bc(t)}catch(n){if(n=ts(n),me(n,205)||me(n,173))return null;throw ee(n)}}function iye(e,t){Or(e);try{return e.Hc(t)}catch(n){if(n=ts(n),me(n,205)||me(n,173))return!1;throw ee(n)}}function yin(e,t){Or(e);try{return e.Mc(t)}catch(n){if(n=ts(n),me(n,205)||me(n,173))return!1;throw ee(n)}}function Xtt(e,t){Or(e);try{return e._b(t)}catch(n){if(n=ts(n),me(n,205)||me(n,173))return!1;throw ee(n)}}function Qtt(e,t){var n;e.a.c.length>0&&(n=u(It(e.a,e.a.c.length-1),570),Vme(n,t))||st(e.a,new _Qe(t))}function kin(e){vf();var t,n;t=e.d.c-e.e.c,n=u(e.g,145),Su(n.b,new cT(t)),Su(n.c,new F2(t)),Da(n.i,new DF(t))}function Ztt(e){var t;return t=new yp,t.a+="VerticalSegment ",kc(t,e.e),t.a+=" ",Yr(t,D2e(new Nee,new C(e.k))),t.a}function xin(e){var t;return t=u(Fv(e.c.c,""),229),t||(t=new N6(G8(z8(new um,""),"Other")),cb(e.c.c,"",t)),t}function O_(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (name: ",To(t,e.zb),t.a+=")",t.a)}function sye(e,t,n){var r,i;return i=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,4,i,t),n?n.Ei(r):n=r),n}function aie(e,t){var n,r,i;for(n=0,i=sc(e,t).Kc();i.Ob();)r=u(i.Pb(),11),n+=W(r,(nt(),ol))!=null?1:0;return n}function Z3(e,t,n){var r,i,a;for(r=0,a=si(e,0);a.b!=a.d.c&&(i=We(gt(ii(a))),!(i>n));)i>=t&&++r;return r}function Ein(e,t,n){var r,i;return r=new N0(e.e,3,13,null,(i=t.c,i||(cn(),Q1)),Ag(e,t),!1),n?n.Ei(r):n=r,n}function Tin(e,t,n){var r,i;return r=new N0(e.e,4,13,(i=t.c,i||(cn(),Q1)),null,Ag(e,t),!1),n?n.Ei(r):n=r,n}function aye(e,t,n){var r,i;return i=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,8,i,e.r),n?n.Ei(r):n=r),n}function _g(e,t){var n,r;return n=u(t,676),r=n.vk(),!r&&n.wk(r=me(t,88)?new UGe(e,u(t,26)):new dXe(e,u(t,148))),r}function kD(e,t,n){var r;e.qi(e.i+1),r=e.oi(t,n),t!=e.i&&Rc(e.g,t,e.g,t+1,e.i-t),us(e.g,t,r),++e.i,e.bi(t,n),e.ci()}function _in(e,t){var n;return t.a&&(n=t.a.a.length,e.a?Yr(e.a,e.b):e.a=new jl(e.d),pXe(e.a,t.a,t.d.length,n)),e}function Cin(e,t){var n,r,i,a;if(t.vi(e.a),a=u(Cn(e.a,8),1936),a!=null)for(n=a,r=0,i=n.length;r<i;++r)null.jm()}function xD(e,t){var n;return n=new Xi,e.a.sd(n)?(J8(),new GF(An(UZe(e,n.a,t)))):(Np(e),J8(),J8(),xG)}function N_(e,t){switch(t.g){case 2:case 1:return sc(e,t);case 3:case 4:return J2(sc(e,t))}return fn(),fn(),bo}function Ci(e,t){return ga(e)?on(e,t):_m(e)?hUe(e,t):Tm(e)?(An(e),$e(e)===$e(t)):uve(e)?e.Fb(t):ive(e)?fqe(e,t):twe(e,t)}function Sin(e){return e?e.i&1?e==El?Vs:e==Sr?Ja:e==Wy?$7:e==va?ka:e==E2?gw:e==i5?pw:e==Qu?bk:GC:e:null}function Ain(e,t,n,r,i){t==0||r==0||(t==1?i[r]=Kye(i,n,r,e[0]):r==1?i[t]=Kye(i,e,t,n[0]):Mfn(e,n,i,t,r))}function Jtt(e,t){var n;e.c.length!=0&&(n=u(R1(e,Ie(c0,Og,10,e.c.length,0,1)),193),d2e(n,new c8),$st(n,t))}function ent(e,t){var n;e.c.length!=0&&(n=u(R1(e,Ie(c0,Og,10,e.c.length,0,1)),193),d2e(n,new jd),$st(n,t))}function oye(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new ot(Qo,e,1,7)),e.n;case 2:return e.k}return r3e(e,t,n,r)}function wo(){wo=de,u0=new uM(bC,0),Lf=new uM(ok,1),Wh=new uM(ak,2),Y0=new uM(Uae,3),X0=new uM("UP",4)}function Vv(){Vv=de,I4=new Kee(U0,0),j7e=new Kee("INSIDE_PORT_SIDE_GROUPS",1),_ue=new Kee("FORCE_MODEL_ORDER",2)}function tnt(e,t,n){if(e<0||t>n)throw ee(new Mo(hz+e+J5e+t+", size: "+n));if(e>t)throw ee(new Dn(hz+e+Clt+t))}function wh(e,t,n){if(t<0)u4e(e,n);else{if(!n.Ij())throw ee(new Dn(e2+n.ne()+MC));u(n,66).Nj().Vj(e,e.yh(),t)}}function Lin(e,t,n,r,i,a,h,d){var v;for(v=n;a<h;)v>=r||t<n&&d.ue(e[t],e[v])<=0?us(i,a++,e[t++]):us(i,a++,e[v++])}function nnt(e,t,n,r,i,a){this.e=new at,this.f=(vo(),dS),st(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function rnt(e,t){var n,r;for(r=new ir(e);r.e!=r.i.gc();)if(n=u(br(r),26),$e(t)===$e(n))return!0;return!1}function Min(e){iz();var t,n,r,i;for(n=_ie(),r=0,i=n.length;r<i;++r)if(t=n[r],Ko(t.a,e,0)!=-1)return t;return oue}function int(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function snt(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (source: ",To(t,e.d),t.a+=")",t.a)}function Din(e,t,n){var r,i;return i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,5,i,e.a),n?L3e(n,r):n=r),n}function Cg(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,2,n,t))}function cye(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,8,n,t))}function X$(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,8,n,t))}function Sg(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,3,n,t))}function uye(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,9,n,t))}function P_(e,t){var n;return e.b==-1&&e.a&&(n=e.a.Gj(),e.b=n?e.c.Xg(e.a.aj(),n):Zi(e.c.Tg(),e.a)),e.c.Og(e.b,t)}function lt(e){var t,n;return e>-129&&e<128?(t=e+128,n=(tKe(),vxe)[t],!n&&(n=vxe[t]=new RL(e)),n):new RL(e)}function Vx(e){var t,n;return e>-129&&e<128?(t=e+128,n=(oKe(),kxe)[t],!n&&(n=kxe[t]=new MF(e)),n):new MF(e)}function lye(e){var t,n;return t=e.k,t==(zn(),Ls)?(n=u(W(e,(nt(),vc)),61),n==(dt(),Ln)||n==Tr):!1}function Iin(e,t,n){var r,i,a;return a=(i=c7(e.b,t),i),a&&(r=u(ZH(JM(e,a),""),26),r)?M4e(e,r,t,n):null}function oie(e,t,n){var r,i,a;return a=(i=c7(e.b,t),i),a&&(r=u(ZH(JM(e,a),""),26),r)?D4e(e,r,t,n):null}function ant(e,t){var n,r;for(r=new ir(e);r.e!=r.i.gc();)if(n=u(br(r),138),$e(t)===$e(n))return!0;return!1}function B_(e,t,n){var r;if(r=e.gc(),t>r)throw ee(new Mm(t,r));if(e.hi()&&e.Hc(n))throw ee(new Dn(MI));e.Xh(t,n)}function Oin(e,t){var n;if(n=U3(e.i,t),n==null)throw ee(new ud("Node did not exist in input."));return kme(t,n),null}function Nin(e,t){var n;if(n=WD(e,t),me(n,322))return u(n,34);throw ee(new Dn(e2+t+"' is not a valid attribute"))}function Pin(e,t,n){var r,i;for(i=me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e),r=0;r<n;++r)pH(i);return i}function Bin(e){var t,n,r;for(r=0,n=e.length,t=0;t<n;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[r++]=e[t]);return r}function Fin(e){var t,n,r;for(t=new at,r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),594),Ps(t,u(n.jf(),14));return t}function Rin(e){var t,n,r;for(t=u(W(e,(xc(),h_e)),15),r=t.Kc();r.Ob();)n=u(r.Pb(),188),oi(n.b.d,n),oi(n.c.b,n)}function jin(e){switch(u(W(e,(nt(),Cb)),303).g){case 1:Qe(e,Cb,(P0(),kk));break;case 2:Qe(e,Cb,(P0(),R4))}}function $in(e){var t;e.g&&(t=e.c.Rf()?e.f:e.a,q4e(t.a,e.o,!0),q4e(t.a,e.o,!1),Qe(e.o,(mt(),vs),(ya(),Fb)))}function Hin(e){var t;if(!e.a)throw ee(new Vo("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,XWe(e,t),YWe(e,t)}function zin(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,us(e.a,e.c,null),t)}function ont(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=u(n.Pb(),213),t.f&&e.b[t.c]<-1e-10)return t;return null}function hye(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new fh(t.d,0,t.a,t.b);default:return null}}function cnt(e){switch(e.g){case 2:return Lf;case 1:return Wh;case 4:return Y0;case 3:return X0;default:return u0}}function fye(e){switch(e.g){case 1:return On;case 2:return Ln;case 3:return $n;case 4:return Tr;default:return cc}}function ED(e){switch(e.g){case 1:return Tr;case 2:return On;case 3:return Ln;case 4:return $n;default:return cc}}function Q$(e){switch(e.g){case 1:return $n;case 2:return Tr;case 3:return On;case 4:return Ln;default:return cc}}function Gin(e){switch(e){case 0:return new _$e;case 1:return new E$e;case 2:return new T$e;default:throw ee(new GL)}}function Bs(e,t){return e<t?-1:e>t?1:e==t?e==0?Bs(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function qin(e,t){Er(t,"Sort end labels",1),ms(qi(rc(new mn(null,new kn(e.b,16)),new CP),new P5),new VW),lr(t)}function F_(e,t,n){var r,i;return e.ej()?(i=e.fj(),r=gse(e,t,n),e.$i(e.Zi(7,lt(n),r,t,i)),r):gse(e,t,n)}function cie(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.cd(),n=t.Sh(),r=(n&xi)%e.d.length,Sen(e,r,Tat(e,r,n,i)))}function Ux(e,t){var n;n=(e.Bb&_f)!=0,t?e.Bb|=_f:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,10,n,t))}function Kx(e,t){var n;n=(e.Bb&hy)!=0,t?e.Bb|=hy:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,12,n,t))}function Wx(e,t){var n;n=(e.Bb&Yu)!=0,t?e.Bb|=Yu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,15,n,t))}function Yx(e,t){var n;n=(e.Bb&my)!=0,t?e.Bb|=my:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,11,n,t))}function Vin(e,t){var n;return n=Bs(e.b.c,t.b.c),n!=0||(n=Bs(e.a.a,t.a.a),n!=0)?n:Bs(e.a.b,t.a.b)}function Uin(e,t){var n;if(n=Jn(e.k,t),n==null)throw ee(new ud("Port did not exist in input."));return kme(t,n),null}function Kin(e){var t,n;for(n=Lat(ql(e)).Kc();n.Ob();)if(t=Hr(n.Pb()),nC(e,t))return ten((Bze(),s3t),t);return null}function Win(e,t){var n,r,i,a,h;for(h=hu(e.e.Tg(),t),a=0,n=u(e.g,119),i=0;i<e.i;++i)r=n[i],h.rl(r.ak())&&++a;return a}function Yin(e,t,n){var r,i;return r=u(t.We(e.a),35),i=u(n.We(e.a),35),r!=null&&i!=null?oD(r,i):r!=null?-1:i!=null?1:0}function unt(e,t,n){var r,i;if(e.c)$3e(e.c,t,n);else for(i=new C(e.b);i.a<i.c.c.length;)r=u(Y(i),157),unt(r,t,n)}function uie(e,t){var n,r;for(r=new C(t);r.a<r.c.c.length;)n=u(Y(r),46),_u(e.b.b,n.b),CQt(u(n.a,189),u(n.b,81))}function Xin(e){var t,n;for(n=Ip(new yp,91),t=!0;e.Ob();)t||(n.a+=so),t=!1,kc(n,e.Pb());return(n.a+="]",n).a}function Xx(e,t){var n;n=(e.Bb&md)!=0,t?e.Bb|=md:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,16,n,t))}function lie(e,t){var n;n=(e.Bb&Ec)!=0,t?e.Bb|=Ec:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,18,n,t))}function dye(e,t){var n;n=(e.Bb&Ec)!=0,t?e.Bb|=Ec:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,18,n,t))}function gye(e,t){var n;n=(e.Bb&ao)!=0,t?e.Bb|=ao:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,20,n,t))}function pye(e){var t;return t=Ie(Sh,yd,25,2,15,1),e-=ao,t[0]=(e>>10)+dI&Ss,t[1]=(e&1023)+56320&Ss,Fh(t,0,t.length)}function Z$(e){var t,n;return n=u(W(e,(mt(),Jl)),103),n==(wo(),u0)?(t=We(gt(W(e,kq))),t>=1?Lf:Y0):n}function Qin(e){switch(u(W(e,(mt(),W0)),218).g){case 1:return new hX;case 3:return new bX;default:return new lX}}function ab(e){if(e.c)ab(e.c);else if(e.d)throw ee(new Vo("Stream already terminated, can't be modified or used"))}function hie(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (identifier: ",To(t,e.k),t.a+=")",t.a)}function lnt(e,t,n){var r,i;return r=(gv(),i=new hp,i),x$(r,t),E$(r,n),e&&Pr((!e.a&&(e.a=new Ns(Zh,e,5)),e.a),r),r}function fie(e,t,n,r){var i,a;return An(r),An(n),i=e.xc(t),a=i==null?n:Eze(u(i,15),u(n,14)),a==null?e.Bc(t):e.zc(t,a),a}function sn(e){var t,n,r,i;return n=(t=u(Wf((r=e.gm,i=r.f,i==Kr?r:i)),9),new hh(t,u(bf(t,t.length),9),0)),xf(n,e),n}function Zin(e,t,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),10),hD(n,u(It(t,r.p),14)))return r;return null}function Jin(e,t,n){var r;try{Orn(e,t,n)}catch(i){throw i=ts(i),me(i,597)?(r=i,ee(new wwe(r))):ee(i)}return t}function Gp(e,t){var n;return Uo(e)&&Uo(t)&&(n=e-t,fI<n&&n<gb)?n:jp(Yet(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function Wa(e,t){var n;return Uo(e)&&Uo(t)&&(n=e+t,fI<n&&n<gb)?n:jp(prn(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function Ha(e,t){var n;return Uo(e)&&Uo(t)&&(n=e*t,fI<n&&n<gb)?n:jp(B2n(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t))}function sc(e,t){var n;return e.i||c4e(e),n=u(_o(e.g,t),46),n?new Yd(e.j,u(n.a,19).a,u(n.b,19).a):(fn(),fn(),bo)}function Uv(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,Pj(e.b)):++e.d,r}function esn(e,t,n){e.n=G2(E2,[Je,Iae],[364,25],14,[n,_s(b.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function die(){P3e();var e,t,n;n=Ywn+++Date.now(),e=_s(b.Math.floor(n*pI))&lz,t=_s(n-e*X5e),this.a=e^1502,this.b=t^Rae}function j0(e){var t,n,r;for(t=new at,r=new C(e.j);r.a<r.c.c.length;)n=u(Y(r),11),st(t,n.b);return Or(t),new UT(t)}function Wo(e){var t,n,r;for(t=new at,r=new C(e.j);r.a<r.c.c.length;)n=u(Y(r),11),st(t,n.e);return Or(t),new UT(t)}function Fs(e){var t,n,r;for(t=new at,r=new C(e.j);r.a<r.c.c.length;)n=u(Y(r),11),st(t,n.g);return Or(t),new UT(t)}function tsn(e){var t,n;for(n=Zfn(ql(Bm(e))).Kc();n.Ob();)if(t=Hr(n.Pb()),nC(e,t))return nen((Fze(),a3t),t);return null}function nsn(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(e[n]==null)throw ee(new d6("at index "+n));return t=e,new Cl(t)}function rsn(e,t){var n;if(n=WD(e.Tg(),t),me(n,99))return u(n,18);throw ee(new Dn(e2+t+"' is not a valid reference"))}function isn(e){var t;return t=ty(e),t>34028234663852886e22?ps:t<-34028234663852886e22?Ds:t}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}function fnt(e){var t,n,r,i;for(t=new qVe(e.Hd().gc()),i=0,r=H6(e.Hd().Kc());r.Ob();)n=r.Pb(),gZt(t,n,lt(i++));return jln(t.a)}function ssn(e,t){var n,r,i;for(i=new Ar,r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),Si(i,n.cd(),Xnn(e,u(n.dd(),15)));return i}function bye(e,t){e.n.c.length==0&&st(e.n,new Hj(e.s,e.t,e.i)),st(e.b,t),Zye(u(It(e.n,e.n.c.length-1),211),t),xct(e,t)}function J3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(e.a.c=Ie(Xn,_t,1,0,5,1),Ps(e.a,e.b),Ps(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function gie(e,t){var n,r,i;for(i=0,r=u(t.Kb(e),20).Kc();r.Ob();)n=u(r.Pb(),17),Bt(Nt(W(n,(nt(),U1))))||++i;return i}function asn(e,t){var n,r,i;r=q3(t),i=We(gt(Ym(r,(mt(),Af)))),n=b.Math.max(0,i/2-.5),V_(t,n,1),st(e,new nGe(t,n))}function mh(){mh=de,sO=new sM(U0,0),rS=new sM("FIRST",1),a2=new sM(yht,2),iS=new sM("LAST",3),Sy=new sM(kht,4)}function $0(){$0=de,$he=new ER(bC,0),MO=new ER("POLYLINE",1),wE=new ER("ORTHOGONAL",2),Bk=new ER("SPLINES",3)}function J$(){J$=de,U_e=new hte("ASPECT_RATIO_DRIVEN",0),fhe=new hte("MAX_SCALE_DRIVEN",1),V_e=new hte("AREA_DRIVEN",2)}function TD(){TD=de,rV=new fte("P1_STRUCTURE",0),iV=new fte("P2_PROCESSING_ORDER",1),sV=new fte("P3_EXECUTION",2)}function eH(){eH=de,ahe=new cte("OVERLAP_REMOVAL",0),ihe=new cte("COMPACTION",1),she=new cte("GRAPH_SIZE_CALCULATION",2)}function Kv(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mv(isNaN(e),isNaN(t))}function dnt(e,t){var n,r;for(n=si(e,0);n.b!=n.d.c;){if(r=qL(gt(ii(n))),r==t)return;if(r>t){Wne(n);break}}MM(n,t)}function tn(e,t){var n,r,i,a,h;if(n=t.f,cb(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,h=i.length;a<h;++a)r=i[a],cb(e.c.e,r,t)}function osn(e,t,n,r){var i,a,h;for(i=t+1;i<n;++i)for(a=i;a>t&&r.ue(e[a-1],e[a])>0;--a)h=e[a],us(e,a,e[a-1]),us(e,a-1,h)}function yh(e,t,n,r){if(t<0)P4e(e,n,r);else{if(!n.Ij())throw ee(new Dn(e2+n.ne()+MC));u(n,66).Nj().Tj(e,e.yh(),t,r)}}function tH(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw ee(new Dn("Node "+t+" not part of edge "+e))}function csn(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 gnt(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 vye(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 oye(e,t,n,r)}function usn(e){return e.k!=(zn(),js)?!1:wx(new mn(null,new Cv(new ur(dr(Fs(e).a.Kc(),new V)))),new iB)}function lsn(e){return e.e==null?e:(!e.c&&(e.c=new Sse((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function hsn(e,t){return e.h==hI&&e.m==0&&e.l==0?(t&&(t2=cu(0,0,0)),dqe((Tx(),hxe))):(t&&(t2=cu(e.l,e.m,e.h)),cu(0,0,0))}function Yo(e){var t;return Array.isArray(e)&&e.im===Ge?xp(pl(e))+"@"+(t=Yi(e)>>>0,t.toString(16)):e.toString()}function R_(e){var t;this.a=(t=u(e.e&&e.e(),9),new hh(t,u(bf(t,t.length),9),0)),this.b=Ie(Xn,_t,1,this.a.a.length,5,1)}function fsn(e){var t,n,r;for(this.a=new C0,r=new C(e);r.a<r.c.c.length;)n=u(Y(r),14),t=new wKe,knn(t,n),zs(this.a,t)}function dsn(e){Am();var t,n,r,i;for(t=e.o.b,r=u(u(Oi(e.r,(dt(),Tr)),21),84).Kc();r.Ob();)n=u(r.Pb(),111),i=n.e,i.b+=t}function bl(e){var t;if(e.b){if(bl(e.b),e.b.d!=e.c)throw ee(new uh)}else e.d.dc()&&(t=u(e.f.c.xc(e.e),14),t&&(e.d=t))}function gsn(e){var t;return e==null?!0:(t=e.length,t>0&&(zr(t-1,e.length),e.charCodeAt(t-1)==58)&&!pie(e,HS,zS))}function pie(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(zre((zr(r,e.length),e.charCodeAt(r)),t,n))return!0;return!1}function psn(e,t){var n,r;for(r=e.e.a.ec().Kc();r.Ob();)if(n=u(r.Pb(),266),mln(t,n.d)||Chn(t,n.d))return!0;return!1}function bsn(e,t){var n,r,i;for(r=tgn(e,t),i=r[r.length-1]/2,n=0;n<r.length;n++)if(r[n]>=i)return t.c+n;return t.c+t.b.gc()}function vsn(e,t){nx();var n,r,i,a;for(r=CZe(e),i=t,xx(r,0,r.length,i),n=0;n<r.length;n++)a=Jon(e,r[n],n),n!=a&&F_(e,n,a)}function wye(e,t){var n,r,i,a,h,d;for(r=0,n=0,a=t,h=0,d=a.length;h<d;++h)i=a[h],i>0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function mye(e){var t,n,r;for(r=new dg,r.a+="[",t=0,n=e.gc();t<n;)To(r,XT(e.ki(t))),++t<n&&(r.a+=so);return r.a+="]",r.a}function wsn(e){var t,n,r,i,a;return a=B3e(e),n=UL(e.c),r=!n,r&&(i=new cg,Zf(a,"knownLayouters",i),t=new Dje(i),Da(e.c,t)),a}function msn(e,t){var n,r,i;for(An(t),n=!1,r=new C(e);r.a<r.c.c.length;)i=Y(r),Wm(t,i,!1)&&(u_(r),n=!0);return n}function yye(e){var t,n,r;for(r=We(gt(e.a.We((di(),vV)))),n=new C(e.a.xf());n.a<n.c.c.length;)t=u(Y(n),680),jut(e,t,r)}function bie(e,t){var n,r;for(r=new C(t);r.a<r.c.c.length;)n=u(Y(r),46),st(e.b.b,u(n.b,81)),Yne(u(n.a,189),u(n.b,81))}function ysn(e,t,n){var r,i;for(i=e.a.b,r=i.c.length;r<n;r++)Dm(i,0,new Nh(e.a));Oo(t,u(It(i,i.c.length-n),29)),e.b[t.p]=n}function ksn(e,t,n){var r;r=n,!r&&(r=Kbe(new j8,0)),Er(r,rht,2),prt(e.b,t,Vc(r,1)),nbn(e,t,Vc(r,1)),Wvn(t,Vc(r,1)),lr(r)}function xsn(e,t,n,r,i){Hl(),Tf(gf(df(ff(pf(new Ih,0),i.d.e-e),t),i.d)),Tf(gf(df(ff(pf(new Ih,0),n-i.a.e),i.a),r))}function kye(e,t,n,r,i,a){this.a=e,this.c=t,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&eve(this.c,this.b,this.a)}function xye(e){vie(),this.c=I1(ie(ne(dmn,1),_t,831,0,[Xbt])),this.b=new Ar,this.a=e,Si(this.b,Bq,1),Su(Qbt,new tje(this))}function pnt(e,t){var n;return e.d?Ml(e.b,t)?u(Jn(e.b,t),51):(n=t.Kf(),Si(e.b,t,n),n):t.Kf()}function Eye(e,t){var n;return $e(e)===$e(t)?!0:me(t,91)?(n=u(t,91),e.e==n.e&&e.d==n.d&&ren(e,n.a)):!1}function U6(e){switch(dt(),e.g){case 4:return Ln;case 1:return $n;case 3:return Tr;case 2:return On;default:return cc}}function Tye(e,t){switch(t){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return Eme(e,t)}function Esn(e){switch(e.g){case 0:return new DQ;case 1:return new wB;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function bnt(e){switch(e.g){case 0:return new vB;case 1:return new mB;default:throw ee(new Dn(uoe+(e.f!=null?e.f:""+e.g)))}}function vnt(e){switch(e.g){case 0:return new npe;case 1:return new C$e;default:throw ee(new Dn(qz+(e.f!=null?e.f:""+e.g)))}}function Tsn(e){switch(e.g){case 1:return new CQ;case 2:return new IVe;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function _sn(e){var t,n;if(e.b)return e.b;for(n=q1?null:e.d;n;){if(t=q1?null:n.b,t)return t;n=q1?null:n.d}return Y8(),Hxe}function Csn(e){var t,n,r;return e.e==0?0:(t=e.d<<5,n=e.a[e.d-1],e.e<0&&(r=Cet(e),r==e.d-1&&(--n,n=n|0)),t-=qD(n),t)}function Ssn(e){var t,n,r;return e<yG.length?yG[e]:(n=e>>5,t=e&31,r=Ie(Sr,Jr,25,n+1,15,1),r[n]=1<<t,new $3(1,n+1,r))}function wnt(e){var t,n,r;return n=e.zg(),n?(t=e.Ug(),me(t,160)&&(r=wnt(u(t,160)),r!=null)?r+"."+n:n):null}function Wm(e,t,n){var r,i;for(i=e.Kc();i.Ob();)if(r=i.Pb(),$e(t)===$e(r)||t!=null&&Ci(t,r))return n&&i.Qb(),!0;return!1}function _ye(e,t,n){var r,i;if(++e.j,n.dc())return!1;for(i=n.Kc();i.Ob();)r=i.Pb(),e.Hi(t,e.oi(t,r)),++t;return!0}function Asn(e,t,n,r){var i,a;if(a=n-t,a<3)for(;a<3;)e*=10,++a;else{for(i=1;a>3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function Lsn(e){return rie(),In(),!!(gnt(u(e.a,81).j,u(e.b,103))||u(e.a,81).d.e!=0&&gnt(u(e.a,81).j,u(e.b,103)))}function Msn(e){c$(),u(e.We((di(),h2)),174).Hc((wl(),xV))&&(u(e.We(jy),174).Fc((al(),Fk)),u(e.We(h2),174).Mc(xV))}function mnt(e,t){var n,r;if(t){for(n=0;n<e.i;++n)if(r=u(e.g[n],366),r.Di(t))return!1;return Pr(e,t)}else return!1}function Cye(e){var t,n,r,i;for(t=new cg,i=new S(e.b.Kc());i.b.Ob();)r=u(i.b.Pb(),686),n=Uln(r),dXt(t,t.a.length,n);return t.a}function Sye(e){var t;return!e.c&&(e.c=new bu),aa(e.d,new Ju),Ign(e),t=y0n(e),ms(new mn(null,new kn(e.d,16)),new mr(e)),t}function nH(e){var t;return e.Db&64?O_(e):(t=new Oh(O_(e)),t.a+=" (instanceClassName: ",To(t,e.D),t.a+=")",t.a)}function Dsn(e,t){var n,r,i,a;t&&(i=B0(t,"x"),n=new Cje(e),Cx(n.a,(An(i),i)),a=B0(t,"y"),r=new Sje(e),Ax(r.a,(An(a),a)))}function Isn(e,t){var n,r,i,a;t&&(i=B0(t,"x"),n=new xje(e),Sx(n.a,(An(i),i)),a=B0(t,"y"),r=new Tje(e),Lx(r.a,(An(a),a)))}function Zi(e,t){var n,r,i;if(n=(e.i==null&&wd(e),e.i),r=t.aj(),r!=-1){for(i=n.length;r<i;++r)if(n[r]==t)return r}return-1}function Osn(e){var t,n,r,i,a;for(n=u(e.g,674),r=e.i-1;r>=0;--r)for(t=n[r],i=0;i<r;++i)if(a=n[i],vct(e,t,a)){X6(e,r);break}}function Nsn(e){var t=e.e;function n(r){return!r||r.length==0?"":" "+r.join(`
- `)}return t&&(t.stack||n(e[hae]))}function Aye(e){Pm();var t;switch(t=e.Pc(),t.length){case 0:return Gce;case 1:return new Jte(Or(t[0]));default:return new One(nsn(t))}}function Wv(e,t){switch(t.g){case 1:return C6(e.j,(Vu(),q7e));case 2:return C6(e.j,(Vu(),U7e));default:return fn(),fn(),bo}}function Lye(e,t){switch(t){case 3:$v(e,0);return;case 4:Hv(e,0);return;case 5:Au(e,0);return;case 6:Lu(e,0);return}rye(e,t)}function vie(){vie=de,oR(),Bq=(mt(),Sw),Qbt=I1(ie(ne(Ehe,1),Uke,146,0,[cO,Af,Mk,Cw,Py,Cle,uE,lE,Sle,uS,G4,Db,q4]))}function ynt(e){var t,n;t=e.d==(Q6(),X7),n=A3e(e),t&&!n||!t&&n?Qe(e.a,(mt(),Id),(Zd(),kO)):Qe(e.a,(mt(),Id),(Zd(),yO))}function Psn(e,t){var n;return n=u(Gl(e,Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),n.Qc(zUe(n.gc()))}function rH(){rH=de,qhe=new CR("SIMPLE",0),zSe=new CR("GROUP_DEC",1),qSe=new CR("GROUP_MIXED",2),GSe=new CR("GROUP_INC",3)}function wie(){wie=de,efe=new MB,dAe=new DB,gAe=new IB,pAe=new w8,bAe=new OB,vAe=new NB,wAe=new xZ,mAe=new m8,yAe=new y8}function knt(e,t,n){SJe(),m$e.call(this),this.a=G2(c0t,[Je,a6e],[595,212],0,[CG,aue],2),this.c=new k6,this.g=e,this.f=t,this.d=n}function Mye(e,t){this.n=G2(E2,[Je,Iae],[364,25],14,[t,_s(b.Math.ceil(e/32))],2),this.o=e,this.p=t,this.j=e-1>>1,this.k=t-1>>1}function Bsn(e,t){Er(t,"End label post-processing",1),ms(qi(rc(new mn(null,new kn(e.b,16)),new jW),new $W),new HW),lr(t)}function Fsn(e,t,n){var r,i;return r=We(e.p[t.i.p])+We(e.d[t.i.p])+t.n.b+t.a.b,i=We(e.p[n.i.p])+We(e.d[n.i.p])+n.n.b+n.a.b,i-r}function Rsn(e,t,n){var r,i;for(r=Gs(n,yo),i=0;Lc(r,0)!=0&&i<t;i++)r=Wa(r,Gs(e[i],yo)),e[i]=Ir(r),r=Mp(r,32);return Ir(r)}function iH(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)t=(zr(n,e.length),e.charCodeAt(n)),t<64&&(i=D1(i,A0(1,t)));return i}function jsn(e){var t;return e==null?null:new Ap((t=Kc(e,!0),t.length>0&&(zr(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function $sn(e){var t;return e==null?null:new Ap((t=Kc(e,!0),t.length>0&&(zr(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function Dye(e,t){var n;return e.i>0&&(t.length<e.i&&(n=sD(pl(t).c,e.i),t=n),Rc(e.g,0,t,0,e.i)),t.length>e.i&&us(t,e.i,null),t}function ru(e,t,n){var r,i,a;return e.ej()?(r=e.i,a=e.fj(),kD(e,r,t),i=e.Zi(3,null,t,r,a),n?n.Ei(i):n=i):kD(e,e.i,t),n}function Hsn(e,t,n){var r,i;return r=new N0(e.e,4,10,(i=t.c,me(i,88)?u(i,26):(cn(),nf)),null,Ag(e,t),!1),n?n.Ei(r):n=r,n}function zsn(e,t,n){var r,i;return r=new N0(e.e,3,10,null,(i=t.c,me(i,88)?u(i,26):(cn(),nf)),Ag(e,t),!1),n?n.Ei(r):n=r,n}function xnt(e){Am();var t;return t=new Do(u(e.e.We((di(),Z4)),8)),e.B.Hc((wl(),yE))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Ent(e){Xm();var t;return(e.q?e.q:(fn(),fn(),o0))._b((mt(),Tw))?t=u(W(e,Tw),197):t=u(W(Xa(e),cS),197),t}function Ym(e,t){var n,r;return r=null,Js(e,(mt(),Nq))&&(n=u(W(e,Nq),94),n.Xe(t)&&(r=n.We(t))),r==null&&(r=W(Xa(e),t)),r}function Tnt(e,t){var n,r,i;return me(t,42)?(n=u(t,42),r=n.cd(),i=Km(e.Rc(),r),pd(i,n.dd())&&(i!=null||e.Rc()._b(r))):!1}function mie(e,t){var n,r,i;return e.f>0?(e.qj(),r=t==null?0:Yi(t),i=(r&xi)%e.d.length,n=Tat(e,i,r,t),n!=-1):!1}function e1(e,t){var n,r,i;return e.f>0&&(e.qj(),r=t==null?0:Yi(t),i=(r&xi)%e.d.length,n=p4e(e,i,r,t),n)?n.dd():null}function _D(e,t){var n,r,i,a;for(a=hu(e.e.Tg(),t),n=u(e.g,119),i=0;i<e.i;++i)if(r=n[i],a.rl(r.ak()))return!1;return!0}function _nt(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!u(e.b,49).Zg())return!0;return e.b=null,!1}else return!0}function Cnt(e,t){e.mj();try{e.d.Vc(e.e++,t),e.f=e.d.j,e.g=-1}catch(n){throw n=ts(n),me(n,73)?ee(new uh):ee(n)}}function sH(e,t){m2e();var n,r;return n=kM((VF(),VF(),zC)),r=null,t==n&&(r=u(Gc(uxe,e),615)),r||(r=new cWe(e),t==n&&Io(uxe,e,r)),r}function Snt(e,t){var n,r;e.a=Wa(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 Gsn(e,t){var n;e.c=t,e.a=Csn(t),e.a<54&&(e.f=(n=t.d>1?D1(A0(t.a[1],32),Gs(t.a[0],yo)):Gs(t.a[0],yo),Pv(Ha(t.e,n))))}function CD(e,t){var n;return Uo(e)&&Uo(t)&&(n=e%t,fI<n&&n<gb)?n:jp((_5e(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t,!0),t2))}function j_(e,t){var n;uvn(t),n=u(W(e,(mt(),Sq)),276),n&&Qe(e,Sq,zon(n)),bg(e.c),bg(e.f),Iwe(e.d),Iwe(u(W(e,Dq),207))}function Ant(e){this.e=Ie(Sr,Jr,25,e.length,15,1),this.c=Ie(El,s0,25,e.length,16,1),this.b=Ie(El,s0,25,e.length,16,1),this.f=0}function qsn(e){var t,n;for(e.j=Ie(va,Ao,25,e.p.c.length,15,1),n=new C(e.p);n.a<n.c.c.length;)t=u(Y(n),10),e.j[t.p]=t.o.b/e.i}function yie(e){var t;e.c!=0&&(t=u(It(e.a,e.b),287),t.b==1?(++e.b,e.b<e.a.c.length&&AF(u(It(e.a,e.b),287))):--t.b,--e.c)}function Vsn(e){var t;t=e.a;do t=u(Nr(new ur(dr(Fs(t).a.Kc(),new V))),17).d.i,t.k==(zn(),ca)&&st(e.e,t);while(t.k==(zn(),ca))}function Iye(){Iye=de,$Se=new yv(15),Lyt=new fo((di(),Pb),$Se),Dyt=new fo(Bb,15),Myt=new fo(Rhe,lt(0)),Ayt=new fo(Ok,S7)}function Nl(){Nl=de,BO=new _R("PORTS",0),Rb=new _R("PORT_LABELS",1),PO=new _R("NODE_LABELS",2),Hy=new _R("MINIMUM_SIZE",3)}function SD(e,t){var n,r;for(r=t.length,n=0;n<r;n+=2)Uc(e,(zr(n,t.length),t.charCodeAt(n)),(zr(n+1,t.length),t.charCodeAt(n+1)))}function Lnt(e,t,n){var r,i,a,h;for(a=t-e.e,h=n-e.f,i=new C(e.a);i.a<i.c.c.length;)r=u(Y(i),187),LD(r,r.s+a,r.t+h);e.e=t,e.f=n}function Usn(e,t){var n,r,i,a;for(a=t.b.b,e.a=new as,e.b=Ie(Sr,Jr,25,a,15,1),n=0,i=si(t.b,0);i.b!=i.d.c;)r=u(ii(i),86),r.g=n++}function Mnt(e,t){var n,r,i,a;return n=t>>5,t&=31,i=e.d+n+(t==0?0:1),r=Ie(Sr,Jr,25,i,15,1),Gun(r,e.a,n,t),a=new $3(e.e,i,r),b_(a),a}function Oye(e,t,n){var r,i;r=u(Gc(EE,t),117),i=u(Gc(WS,t),117),n?(Io(EE,e,r),Io(WS,e,i)):(Io(WS,e,r),Io(EE,e,i))}function Dnt(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function Int(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function Ksn(e,t,n,r){var i,a,h;return i=!1,Abn(e.f,n,r)&&(wan(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],h=a[r],a[r]=a[n],a[n]=h,i=!0),i}function Nye(e,t,n,r,i){var a,h,d;for(h=i;t.b!=t.c;)a=u(L6(t),10),d=u(sc(a,r).Xb(0),11),e.d[d.p]=h++,n.c[n.c.length]=d;return h}function Pye(e,t,n){var r,i,a,h,d;return h=e.k,d=t.k,r=n[h.g][d.g],i=gt(Ym(e,r)),a=gt(Ym(t,r)),b.Math.max((An(i),i),(An(a),a))}function Wsn(e,t,n){var r,i,a,h;for(r=n/e.c.length,i=0,h=new C(e);h.a<h.c.c.length;)a=u(Y(h),200),Ftt(a,a.f+r*i),Scn(a,t,r),++i}function Ont(e,t,n){var r,i,a,h;for(i=u(Jn(e.b,n),177),r=0,h=new C(t.j);h.a<h.c.c.length;)a=u(Y(h),113),i[a.d.p]&&++r;return r}function Nnt(e){var t,n;return t=u(Cn(e.a,4),126),t!=null?(n=Ie(Xhe,_ce,415,t.length,0,1),Rc(t,0,n,0,t.length),n):Qyt}function Ysn(){var e;return bG!=0&&(e=hen(),e-Ldt>2e3&&(Ldt=e,vG=b.setTimeout(tqt,10))),bG++==0?(Ltn((ope(),cxe)),!0):!1}function Xsn(e,t){var n,r,i;for(r=new ur(dr(Fs(e).a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),i=n.d.i,i.c==t)return!1;return!0}function Bye(e,t){var n,r;if(me(t,245)){r=u(t,245);try{return n=e.vd(r),n==0}catch(i){if(i=ts(i),!me(i,205))throw ee(i)}}return!1}function Qsn(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Zsn(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mv(isNaN(e),isNaN(t)))>0}function Fye(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mv(isNaN(e),isNaN(t)))<0}function Pnt(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mv(isNaN(e),isNaN(t)))<=0}function kie(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var r=t[n++];n<t.length;n++)!t[n]||t[n]==""||(r+=e+t[n]);return r}function Fh(e,t,n){var r,i,a,h;for(a=t+n,Nwe(t,a,e.length),h="",i=t;i<a;)r=b.Math.min(i+1e4,a),h+=HXt(e.slice(i,r)),i=r;return h}function Bnt(e){var t,n,r,i,a;if(e==null)return null;for(a=new at,n=Wre(e),r=0,i=n.length;r<i;++r)t=n[r],st(a,Kc(t,!0));return a}function Fnt(e){var t,n,r,i,a;if(e==null)return null;for(a=new at,n=Wre(e),r=0,i=n.length;r<i;++r)t=n[r],st(a,Kc(t,!0));return a}function Rnt(e){var t,n,r,i,a;if(e==null)return null;for(a=new at,n=Wre(e),r=0,i=n.length;r<i;++r)t=n[r],st(a,Kc(t,!0));return a}function jnt(e,t){var n,r,i;if(e.c)Hv(e.c,t);else for(n=t-qu(e),i=new C(e.d);i.a<i.c.c.length;)r=u(Y(i),157),jnt(r,qu(r)+n)}function $nt(e,t){var n,r,i;if(e.c)$v(e.c,t);else for(n=t-Ll(e),i=new C(e.a);i.a<i.c.c.length;)r=u(Y(i),157),$nt(r,Ll(r)+n)}function Jsn(e,t){var n,r,i,a;for(i=new tu(t.gc()),r=t.Kc();r.Ob();)n=r.Pb(),a=Pse(e,u(n,56)),a&&(i.c[i.c.length]=a);return i}function aH(e,t){var n,r,i;return e.qj(),r=t==null?0:Yi(t),i=(r&xi)%e.d.length,n=p4e(e,i,r,t),n?(KJe(e,n),n.dd()):null}function Yv(e){var t,n;for(n=Zit(e),t=null;e.c==2;)wi(e),t||(t=(mi(),mi(),new KT(2)),fb(t,n),n=t),n.$l(Zit(e));return n}function Qx(e){var t,n,r;if(r=null,t=Ad in e.a,n=!t,n)throw ee(new ud("Every element must have an id."));return r=Z6(M0(e,Ad)),r}function oH(e){var t,n,r;if(r=e.Zg(),!r)for(t=0,n=e.eh();n;n=n.eh()){if(++t>Oae)return n.fh();if(r=n.Zg(),r||n==e)break}return r}function Rye(e){return Gj(),me(e,156)?u(Jn(zO,Hdt),288).vg(e):Ml(zO,pl(e))?u(Jn(zO,pl(e)),288).vg(e):null}function ean(e){if(cH(I7,e))return In(),j7;if(cH(sce,e))return In(),Tb;throw ee(new Dn("Expecting true or false"))}function tan(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw ee(new Dn("Input edge is not connected to the input port."))}function Hnt(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*Kme(e.a,t.a,e.d)}function znt(e){return e>=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 Gnt(e,t){var n;return $e(t)===$e(e)?!0:!me(t,21)||(n=u(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function nan(e,t){var n,r,i,a;return r=e.a.length-1,n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,vVe(n<i),n>=a?(tin(e,t),-1):(nin(e,t),1)}function ran(e,t){var n,r;for(n=(zr(t,e.length),e.charCodeAt(t)),r=t+1;r<e.length&&(zr(r,e.length),e.charCodeAt(r)==n);)++r;return r-t}function jye(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function ian(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(Hre(),Yce)[typeof r],a=i?i(r):Qme(typeof r);return a}function Xv(e,t){if(e.a<0)throw ee(new Vo("Did not call before(...) or after(...) before calling add(...)."));return G2e(e,e.a,t),e}function san(e,t,n,r){var i,a;t.c.length!=0&&(i=G1n(n,r),a=zhn(t),ms(m$(new mn(null,new kn(a,1)),new gQ),new OWe(e,n,i,r)))}function K6(e,t,n){var r;e.Db&t?n==null?Afn(e,t):(r=zie(e,t),r==-1?e.Eb=n:us(Z2(e.Eb),r,n)):n!=null&&Jdn(e,t,n)}function uu(e){var t,n;return e.Db&32||(n=(t=u(Cn(e,16),26),Zn(t||e.zh())-Zn(e.zh())),n!=0&&K6(e,32,Ie(Xn,_t,1,n,5,1))),e}function aan(e){var t;return e.b||XGt(e,(t=$Ut(e.e,e.a),!t||!on(sce,e1((!t.b&&(t.b=new Al((cn(),co),wc,t)),t.b),"qualified")))),e.c}function oan(e,t,n){var r,i,a;return r=u(_e(gl(e.a),t),87),a=(i=r.c,i||(cn(),Q1)),(a.kh()?zp(e.b,u(a,49)):a)==n?KH(r):_x(r,n),a}function can(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function uan(e,t,n,r){r==e,u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65).c.b,Owe(r,t,e)}function lan(e){var t,n;for(t=new C(e.g);t.a<t.c.c.length;)u(Y(t),562);n=new Wat(e.g,We(e.a),e.c),vvn(n),e.g=n.b,e.d=n.a}function $ye(e,t,n){t.b=b.Math.max(t.b,-n.a),t.c=b.Math.max(t.c,n.a-e.a),t.d=b.Math.max(t.d,-n.b),t.a=b.Math.max(t.a,n.b-e.b)}function han(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Yi(e)-Yi(t)}function cH(e,t){return An(e),t==null?!1:on(e,t)?!0:e.length==t.length&&on(e.toLowerCase(),t.toLowerCase())}function fan(e,t){var n,r,i,a;for(r=0,i=t.gc();r<i;++r)n=t.il(r),me(n,99)&&u(n,18).Bb&Ec&&(a=t.jl(r),a!=null&&Pse(e,u(a,56)))}function qnt(e,t,n){var r,i,a;for(a=new C(n.a);a.a<a.c.c.length;)i=u(Y(a),221),r=new FR(u(Jn(e.a,i.b),65)),st(t.a,r),qnt(e,r,i)}function ob(e){var t,n;return Lc(e,-129)>0&&Lc(e,128)<0?(t=Ir(e)+128,n=(aKe(),wxe)[t],!n&&(n=wxe[t]=new bm(e)),n):new bm(e)}function Vnt(e,t){var n,r;return n=t.Hh(e.a),n&&(r=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),fi)),r!=null)?r:t.ne()}function dan(e,t){var n,r;return n=t.Hh(e.a),n&&(r=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),fi)),r!=null)?r:t.ne()}function gan(e,t){Hne();var n,r;for(r=new ur(dr(j0(e).a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),n.d.i==t||n.c.i==t)return n;return null}function Hye(e,t,n){this.c=e,this.f=new at,this.e=new $a,this.j=new Xbe,this.n=new Xbe,this.b=t,this.g=new fh(t.c,t.d,t.b,t.a),this.a=n}function xie(e){var t,n,r,i;for(this.a=new C0,this.d=new Ys,this.e=0,n=e,r=0,i=n.length;r<i;++r)t=n[r],!this.f&&(this.f=t),Yne(this,t)}function Unt(e){Kp(),e.length==0?(this.e=0,this.d=1,this.a=ie(ne(Sr,1),Jr,25,15,[0])):(this.e=1,this.d=e.length,this.a=e,b_(this))}function $_(e,t,n){m$e.call(this),this.a=Ie(c0t,a6e,212,(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])).length,0,1),this.b=e,this.d=t,this.c=n}function Knt(e){this.d=new at,this.e=new Y2,this.c=Ie(Sr,Jr,25,(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,15,1),this.b=e}function pan(e){var t,n,r,i,a,h;for(h=u(W(e,(nt(),Mi)),11),Qe(h,iE,e.i.n.b),t=vd(e.e),r=t,i=0,a=r.length;i<a;++i)n=r[i],wa(n,h)}function ban(e){var t,n,r,i,a,h;for(n=u(W(e,(nt(),Mi)),11),Qe(n,iE,e.i.n.b),t=vd(e.g),i=t,a=0,h=i.length;a<h;++a)r=i[a],Ka(r,n)}function van(e){var t,n;return Js(e.d.i,(mt(),aE))?(t=u(W(e.c.i,aE),19),n=u(W(e.d.i,aE),19),ku(t.a,n.a)>0):!1}function Wnt(e){var t;$e(jt(e,(di(),Y4)))===$e((R0(),wV))&&(ls(e)?(t=u(jt(ls(e),Y4),334),So(e,Y4,t)):So(e,Y4,IS))}function wan(e,t,n){var r,i;rse(e.e,t,n,(dt(),On)),rse(e.i,t,n,$n),e.a&&(i=u(W(t,(nt(),Mi)),11),r=u(W(n,Mi),11),Kne(e.g,i,r))}function Ynt(e,t,n){var r,i,a;r=t.c.p,a=t.p,e.b[r][a]=new lYe(e,t),n&&(e.a[r][a]=new F8(t),i=u(W(t,(nt(),kw)),10),i&&an(e.d,i,t))}function Xnt(e,t){var n,r,i;if(st(DG,e),t.Fc(e),n=u(Jn(gue,e),21),n)for(i=n.Kc();i.Ob();)r=u(i.Pb(),33),Ko(DG,r,0)!=-1||Xnt(r,t)}function man(e,t,n){var r;(Wdt?(_sn(e),!0):Ydt||Qdt?(Y8(),!0):Xdt&&(Y8(),!1))&&(r=new xUe(t),r.b=n,xln(e,r))}function Eie(e,t){var n;n=!e.A.Hc((Nl(),Rb))||e.q==(ya(),Zc),e.u.Hc((al(),Z0))?n?Hvn(e,t):Cut(e,t):e.u.Hc(p2)&&(n?avn(e,t):$ut(e,t))}function Zx(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,me(r,97)?u(r,97).Jg():null),gfn(t,n))){K6(e.a,4,n);return}K6(e.a,4,u(t,126))}function Qnt(e,t,n){return new fh(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 yan(e,t){var n,r;return n=ku(e.a.c.p,t.a.c.p),n!=0?n:(r=ku(e.a.d.i.p,t.a.d.i.p),r!=0?r:ku(t.a.d.p,e.a.d.p))}function kan(e,t,n){var r,i,a,h;return a=t.j,h=n.j,a!=h?a.g-h.g:(r=e.f[t.p],i=e.f[n.p],r==0&&i==0?0:r==0?-1:i==0?1:Bs(r,i))}function Znt(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new C(J3(t));i.a<i.c.c.length;)r=u(Y(i),213),a=tH(r,t),Znt(e,a,n)}function zye(e,t,n){var r;switch(r=n[e.g][t],e.g){case 1:case 3:return new Ft(0,r);case 2:case 4:return new Ft(r,0);default:return null}}function xan(e,t,n){var r,i;i=u(Bne(t.f),209);try{i.Ze(e,n),DXt(t.f,i)}catch(a){throw a=ts(a),me(a,102)?(r=a,ee(r)):ee(a)}}function Jnt(e,t,n){var r,i,a,h,d,v;return r=null,d=A5e(Dx(),t),a=null,d&&(i=null,v=C5e(d,n),h=null,v!=null&&(h=e.Ye(d,v)),i=h,a=i),r=a,r}function Ean(e,t,n,r){var i,a,h;return i=new N0(e.e,1,13,(h=t.c,h||(cn(),Q1)),(a=n.c,a||(cn(),Q1)),Ag(e,t),!1),r?r.Ei(i):r=i,r}function Tie(e,t,n,r){var i;if(i=e.length,t>=i)return i;for(t=t>0?t:0;t<i&&!zre((zr(t,e.length),e.charCodeAt(t)),n,r);t++);return t}function R1(e,t){var n,r;for(r=e.c.length,t.length<r&&(t=KF(new Array(r),t)),n=0;n<r;++n)us(t,n,e.c[n]);return t.length>r&&us(t,r,null),t}function ert(e,t){var n,r;for(r=e.a.length,t.length<r&&(t=KF(new Array(r),t)),n=0;n<r;++n)us(t,n,e.a[n]);return t.length>r&&us(t,r,null),t}function cb(e,t,n){var r,i,a;return i=u(Jn(e.e,t),387),i?(a=hbe(i,n),Gqe(e,i),a):(r=new Rbe(e,t,n),Si(e.e,t,r),pYe(r),null)}function Tan(e){var t;if(e==null)return null;if(t=w1n(Kc(e,!0)),t==null)throw ee(new Dee("Invalid hexBinary value: '"+e+"'"));return t}function AD(e){return Kp(),Lc(e,0)<0?Lc(e,-1)!=0?new C3e(-1,Ex(e)):Zce:Lc(e,10)<=0?Mxe[Ir(e)]:new C3e(1,e)}function _ie(){return iz(),ie(ne(P0t,1),rt,159,0,[O0t,I0t,N0t,T0t,E0t,_0t,A0t,S0t,C0t,D0t,M0t,L0t,k0t,y0t,x0t,w0t,v0t,m0t,p0t,g0t,b0t,oue])}function trt(e){var t;this.d=new at,this.j=new $a,this.g=new $a,t=e.g.b,this.f=u(W(Xa(t),(mt(),Jl)),103),this.e=We(gt(hH(t,Py)))}function nrt(e){this.b=new at,this.e=new at,this.d=e,this.a=!xT(qi(new mn(null,new Cv(new O1(e.b))),new Xe(new sB))).sd(($2(),G7))}function t1(){t1=de,jn=new cM("PARENTS",0),ua=new cM("NODES",1),Nd=new cM("EDGES",2),Ob=new cM("PORTS",3),zg=new cM("LABELS",4)}function e4(){e4=de,d2=new lM("DISTRIBUTED",0),OO=new lM("JUSTIFIED",1),FSe=new lM("BEGIN",2),OS=new lM(T7,3),RSe=new lM("END",4)}function _an(e){var t;switch(t=e.yi(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function Cie(e){switch(e.g){case 1:return wo(),X0;case 4:return wo(),Wh;case 2:return wo(),Lf;case 3:return wo(),Y0}return wo(),u0}function Can(e,t,n){var r;switch(r=n.q.getFullYear()-Xp+Xp,r<0&&(r=-r),t){case 1:e.a+=r;break;case 2:Qd(e,r%100,2);break;default:Qd(e,r,t)}}function si(e,t){var n,r;if(Fm(t,e.b),t>=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<t;++n)r=r.a;return new yUe(e,t,r)}function uH(){uH=de,rue=new Fpe("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),Vxe=new Fpe("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function San(e){var t,n,r,i;for(r=vhn(e),aa(r,Xgt),i=e.d,i.c=Ie(Xn,_t,1,0,5,1),n=new C(r);n.a<n.c.c.length;)t=u(Y(n),456),Ps(i,t.b)}function rrt(e){var t,n,r;for(r=(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),e.o),n=r.c.Kc();n.e!=n.i.gc();)t=u(n.nj(),42),t.dd();return UM(r)}function Aan(e){var t;_6(u(W(e,(mt(),vs)),98))&&(t=e.b,zst((En(0,t.c.length),u(t.c[0],29))),zst(u(It(t,t.c.length-1),29)))}function irt(e,t){var n,r,i,a;for(n=0,i=new C(t.a);i.a<i.c.c.length;)r=u(Y(i),10),a=r.o.a+r.d.c+r.d.b+e.j,n=b.Math.max(n,a);return n}function lH(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)t=(zr(n,e.length),e.charCodeAt(n)),t>=64&&t<128&&(i=D1(i,A0(1,t-64)));return i}function hH(e,t){var n,r;return r=null,Js(e,(di(),Pk))&&(n=u(W(e,Pk),94),n.Xe(t)&&(r=n.We(t))),r==null&&Xa(e)&&(r=W(Xa(e),t)),r}function srt(e,t){var n,r,i;i=t.d.i,r=i.k,!(r==(zn(),js)||r==V1)&&(n=new ur(dr(Fs(i).a.Kc(),new V)),Vr(n)&&Si(e.k,t,u(Nr(n),17)))}function Sie(e,t){var n,r,i;return r=bn(e.Tg(),t),n=t-e.Ah(),n<0?(i=e.Yg(r),i>=0?e.lh(i):dse(e,r)):n<0?dse(e,r):u(r,66).Nj().Sj(e,e.yh(),n)}function Ct(e){var t;if(me(e.a,4)){if(t=Rye(e.a),t==null)throw ee(new Vo(nft+e.b+"'. "+tft+(S0(GO),GO.k)+w8e));return t}else return e.a}function Lan(e){var t;if(e==null)return null;if(t=Yvn(Kc(e,!0)),t==null)throw ee(new Dee("Invalid base64Binary value: '"+e+"'"));return t}function br(e){var t;try{return t=e.i.Xb(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ts(n),me(n,73)?(e.mj(),ee(new yc)):ee(n)}}function Aie(e){var t;try{return t=e.c.ki(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ts(n),me(n,73)?(e.mj(),ee(new yc)):ee(n)}}function H_(){H_=de,y7e=(di(),bSe),fue=WCe,W0t=Ok,m7e=Pb,Z0t=(EH(),Zxe),Q0t=Xxe,J0t=e7e,X0t=Yxe,Y0t=(Jre(),b7e),hue=V0t,w7e=U0t,MG=K0t}function fH(e){switch(Spe(),this.c=new at,this.d=e,e.g){case 0:case 2:this.a=Pve(R7e),this.b=ps;break;case 3:case 1:this.a=R7e,this.b=Ds}}function art(e,t,n){var r,i;if(e.c)Au(e.c,e.c.i+t),Lu(e.c,e.c.j+n);else for(i=new C(e.b);i.a<i.c.c.length;)r=u(Y(i),157),art(r,t,n)}function Man(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n<r;n++)if(!on(e.j[n],t.j[n]))return!1;return!0}function dH(e,t,n){var r;t.a.length>0&&(st(e.b,new RUe(t.a,n)),r=t.a.length,0<r?t.a=t.a.substr(0,0):0>r&&(t.a+=zqe(Ie(Sh,yd,25,-r,15,1))))}function ort(e,t){var n,r,i;for(n=e.o,i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),r.e.a=Ion(r,n.a),r.e.b=n.b*We(gt(r.b.We(SG)))}function Dan(e,t){var n,r,i,a;return i=e.k,n=We(gt(W(e,(nt(),xw)))),a=t.k,r=We(gt(W(t,xw))),a!=(zn(),Ls)?-1:i!=Ls?1:n==r?0:n<r?-1:1}function Ian(e,t){var n,r;return n=u(u(Jn(e.g,t.a),46).a,65),r=u(u(Jn(e.g,t.b),46).a,65),Fp(t.a,t.b)-Fp(t.a,x2e(n.b))-Fp(t.b,x2e(r.b))}function Oan(e,t){var n;return n=u(W(e,(mt(),Fo)),74),_te(t,qgt)?n?Ph(n):(n=new $u,Qe(e,Fo,n)):n&&Qe(e,Fo,null),n}function crt(e){var t;return t=new yp,t.a+="n",e.k!=(zn(),js)&&Yr(Yr((t.a+="(",t),Dte(e.k).toLowerCase()),")"),Yr((t.a+="_",t),ID(e)),t.a}function Nan(e,t){Er(t,"Self-Loop post-processing",1),ms(qi(qi(rc(new mn(null,new kn(e.b,16)),new TY),new _Y),new jP),new CY),lr(t)}function W6(e,t,n,r){var i;return n>=0?e.hh(t,n,r):(e.eh()&&(r=(i=e.Vg(),i>=0?e.Qg(r):e.eh().ih(e,-1-i,null,r))),e.Sg(t,n,r))}function Gye(e,t){switch(t){case 7:!e.e&&(e.e=new yn(ta,e,7,4)),_r(e.e);return;case 8:!e.d&&(e.d=new yn(ta,e,8,5)),_r(e.d);return}Lye(e,t)}function n1(e,t){var n;n=e.Zc(t);try{return n.Pb()}catch(r){throw r=ts(r),me(r,109)?ee(new Mo("Can't get element "+t)):ee(r)}}function qye(e,t){this.e=e,t<Nae?(this.d=1,this.a=ie(ne(Sr,1),Jr,25,15,[t|0])):(this.d=2,this.a=ie(ne(Sr,1),Jr,25,15,[t%Nae|0,t/Nae|0]))}function urt(e,t){fn();var n,r,i,a;for(n=e,a=t,me(e,21)&&!me(t,21)&&(n=t,a=e),i=n.Kc();i.Ob();)if(r=i.Pb(),a.Hc(r))return!1;return!0}function Qa(e,t,n){var r,i,a,h;return r=e.Xc(t),r!=-1&&(e.ej()?(a=e.fj(),h=X6(e,r),i=e.Zi(4,h,null,r,a),n?n.Ei(i):n=i):X6(e,r)),n}function Pan(e,t,n){var r,i,a,h;return r=e.Xc(t),r!=-1&&(e.ej()?(a=e.fj(),h=oj(e,r),i=e.Zi(4,h,null,r,a),n?n.Ei(i):n=i):oj(e,r)),n}function lrt(e,t){var n;switch(n=u(_o(e.b,t),124).n,t.g){case 1:e.t>=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 Y6(){Y6=de,zI=new pR(dz,0),HI=new pR(Kae,1),GI=new pR(Wae,2),qI=new pR(Yae,3),zI.a=!1,HI.a=!0,GI.a=!1,qI.a=!0}function z_(){z_=de,VI=new gR(dz,0),AG=new gR(Kae,1),LG=new gR(Wae,2),UI=new gR(Yae,3),VI.a=!1,AG.a=!0,LG.a=!1,UI.a=!0}function Ban(e){var t;t=e.a;do t=u(Nr(new ur(dr(Wo(t).a.Kc(),new V))),17).c.i,t.k==(zn(),ca)&&e.b.Fc(t);while(t.k==(zn(),ca));e.b=J2(e.b)}function Fan(e){var t,n,r;for(r=e.c.a,e.p=(Or(r),new Gu(r)),n=new C(r);n.a<n.c.c.length;)t=u(Y(n),10),t.p=yhn(t).a;fn(),aa(e.p,new MX)}function hrt(e){var t,n,r,i;if(r=0,i=sy(e),i.c.length==0)return 1;for(n=new C(i);n.a<n.c.c.length;)t=u(Y(n),33),r+=hrt(t);return r}function Ran(e,t){var n,r,i;for(i=0,r=u(u(Oi(e.r,t),21),84).Kc();r.Ob();)n=u(r.Pb(),111),i+=n.d.b+n.b.rf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function jan(e,t){var n,r,i;for(i=0,r=u(u(Oi(e.r,t),21),84).Kc();r.Ob();)n=u(r.Pb(),111),i+=n.d.d+n.b.rf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function $an(e,t,n,r){if(t.a<r.a)return!0;if(t.a==r.a){if(t.b<r.b)return!0;if(t.b==r.b&&e.b>n.b)return!0}return!1}function Lie(e,t){return ga(e)?!!xdt[t]:e.hm?!!e.hm[t]:_m(e)?!!kdt[t]:Tm(e)?!!ydt[t]:!1}function So(e,t,n){return n==null?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),aH(e.o,t)):(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),TH(e.o,t,n)),e}function Han(e,t,n,r){var i,a;a=t.Xe((di(),Q4))?u(t.We(Q4),21):e.j,i=Min(a),i!=(iz(),oue)&&(n&&!jye(i)||Y3e(m1n(e,i,r),t))}function gH(e,t,n,r){var i,a,h;return a=bn(e.Tg(),t),i=t-e.Ah(),i<0?(h=e.Yg(a),h>=0?e._g(h,n,!0):ew(e,a,n)):u(a,66).Nj().Pj(e,e.yh(),i,n,r)}function zan(e,t,n,r){var i,a,h;n.mh(t)&&(ho(),kre(t)?(i=u(n.ah(t),153),fan(e,i)):(a=(h=t,h?u(r,49).xh(h):null),a&&qzt(n.ah(t),a)))}function Gan(e){switch(e.g){case 1:return qv(),$I;case 3:return qv(),jI;case 2:return qv(),uue;case 4:return qv(),cue;default:return null}}function Vye(e){switch(typeof e){case sae:return Lg(e);case H5e:return _s(e);case nk:return In(),e?1231:1237;default:return e==null?0:kv(e)}}function qan(e,t,n){if(e.e)switch(e.b){case 1:mQt(e.c,t,n);break;case 0:yQt(e.c,t,n)}else KXe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function frt(e){var t,n;if(e==null)return null;for(n=Ie(c0,Je,193,e.length,0,2),t=0;t<n.length;t++)n[t]=u(htn(e[t],e[t].length),193);return n}function pH(e){var t;if(Zre(e))return bj(e),e.Lk()&&(t=X_(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw ee(new yc)}function Van(e,t){var n,r,i,a;return a=e.o,n=e.p,a<n?a*=a:n*=n,r=a+n,a=t.o,n=t.p,a<n?a*=a:n*=n,i=a+n,r<i?-1:r==i?0:1}function Ag(e,t){var n,r,i;if(i=Vrt(e,t),i>=0)return i;if(e.Fk()){for(r=0;r<e.i;++r)if(n=e.Gk(u(e.g[r],56)),$e(n)===$e(t))return r}return-1}function t4(e,t,n){var r,i;if(i=e.gc(),t>=i)throw ee(new Mm(t,i));if(e.hi()&&(r=e.Xc(n),r>=0&&r!=t))throw ee(new Dn(MI));return e.mi(t,n)}function Uye(e,t){if(this.a=u(Or(e),245),this.b=u(Or(t),245),e.vd(t)>0||e==(_ee(),Hce)||t==(Tee(),zce))throw ee(new Dn("Invalid range: "+GXe(e,t)))}function drt(e){var t,n;for(this.b=new at,this.c=e,this.a=!1,n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),10),this.a=this.a|t.k==(zn(),js)}function Uan(e,t){var n,r,i;for(n=xv(new j2,e),i=new C(t);i.a<i.c.c.length;)r=u(Y(i),121),Tf(gf(df(pf(ff(new Ih,0),0),n),r));return n}function grt(e,t,n){var r,i,a;for(i=new ur(dr((t?Wo(e):Fs(e)).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),a=t?r.c.i:r.d.i,a.k==(zn(),Pl)&&Oo(a,n)}function Xm(){Xm=de,jq=new yR(U0,0),Nle=new yR("PORT_POSITION",1),U4=new yR("NODE_SIZE_WHERE_SPACE_PERMITS",2),V4=new yR("NODE_SIZE",3)}function Zd(){Zd=de,The=new RT("AUTOMATIC",0),yO=new RT(ak,1),kO=new RT(ok,2),hV=new RT("TOP",3),uV=new RT(c6e,4),lV=new RT(T7,5)}function Kye(e,t,n,r){a7();var i,a;for(i=0,a=0;a<n;a++)i=Wa(Ha(Gs(t[a],yo),Gs(r,yo)),Gs(Ir(i),yo)),e[a]=Ir(i),i=Im(i,32);return Ir(i)}function Wye(e,t,n){var r,i;for(i=0,r=0;r<aue;r++)i=b.Math.max(i,nie(e.a[t.g][r],n));return t==(Jf(),au)&&e.b&&(i=b.Math.max(i,e.b.b)),i}function bH(e,t){var n,r;if(K2e(t>0),(t&-t)==t)return _s(t*vl(e,31)*4656612873077393e-25);do n=vl(e,31),r=n%t;while(n-r+(t-1)<0);return _s(r)}function Lg(e){EUe();var t,n,r;return n=":"+e,r=TG[n],r!=null?_s((An(r),r)):(r=Gxe[n],t=r==null?Bdn(e):_s((An(r),r)),hQt(),TG[n]=t,t)}function prt(e,t,n){Er(n,"Compound graph preprocessor",1),e.a=new Ov,kut(e,t,null),E2n(e,t),sdn(e),Qe(t,(nt(),c9e),e.a),e.a=null,il(e.b),lr(n)}function Kan(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 Wan(e){var t,n,r;for(r=u(Oi(e.a,(a4(),aq)),15).Kc();r.Ob();)n=u(r.Pb(),101),t=s3e(n),cx(e,n,t[0],(Gv(),vw),0),cx(e,n,t[1],ww,1)}function Yan(e){var t,n,r;for(r=u(Oi(e.a,(a4(),oq)),15).Kc();r.Ob();)n=u(r.Pb(),101),t=s3e(n),cx(e,n,t[0],(Gv(),vw),0),cx(e,n,t[1],ww,1)}function Mie(e){switch(e.g){case 0:return null;case 1:return new get;case 2:return new rpe;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function LD(e,t,n){var r,i;for(vrn(e,t-e.s,n-e.t),i=new C(e.n);i.a<i.c.c.length;)r=u(Y(i),211),i6(r,r.e+t-e.s),Tge(r,r.f+n-e.t);e.s=t,e.t=n}function Xan(e){var t,n,r,i,a;for(n=0,i=new C(e.a);i.a<i.c.c.length;)r=u(Y(i),121),r.d=n++;return t=Sln(e),a=null,t.c.length>1&&(a=Uan(e,t)),a}function Die(e){var t;return e.f&&e.f.kh()&&(t=u(e.f,49),e.f=u(zp(e,t),82),e.f!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,8,t,e.f))),e.f}function Iie(e){var t;return e.i&&e.i.kh()&&(t=u(e.i,49),e.i=u(zp(e,t),82),e.i!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,7,t,e.i))),e.i}function go(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=u(zp(e,t),18),e.b!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,21,t,e.b))),e.b}function vH(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.Sh(),fdn(e,e.f+1),i=(r&xi)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.uj()),n.Fc(t),++e.f)}function Yye(e,t,n){var r;return t.Kj()?!1:t.Zj()!=-2?(r=t.zj(),r==null?n==null:Ci(r,n)):t.Hj()==e.e.Tg()&&n==null}function wH(){var e;Vl(16,hlt),e=iet(16),this.b=Ie(qce,uI,317,e,0,1),this.c=Ie(qce,uI,317,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function H0(e){dbe.call(this),this.k=(zn(),js),this.j=(Vl(6,ly),new tu(6)),this.b=(Vl(2,ly),new tu(2)),this.d=new mee,this.f=new Wge,this.a=e}function Qan(e){var t,n;e.c.length<=1||(t=dot(e,(dt(),Tr)),tst(e,u(t.a,19).a,u(t.b,19).a),n=dot(e,On),tst(e,u(n.a,19).a,u(n.b,19).a))}function G_(){G_=de,$Te=new iM("SIMPLE",0),Ble=new iM(hoe,1),Fle=new iM("LINEAR_SEGMENTS",2),hS=new iM("BRANDES_KOEPF",3),fS=new iM(Fht,4)}function Xye(e,t,n){_6(u(W(t,(mt(),vs)),98))||(qwe(e,t,Mg(t,n)),qwe(e,t,Mg(t,(dt(),Tr))),qwe(e,t,Mg(t,Ln)),fn(),aa(t.j,new $L(e)))}function brt(e,t,n,r){var i,a,h;for(i=u(Oi(r?e.a:e.b,t),21),h=i.Kc();h.Ob();)if(a=u(h.Pb(),33),zH(e,n,a))return!0;return!1}function Oie(e){var t,n;for(n=new ir(e);n.e!=n.i.gc();)if(t=u(br(n),87),t.e||(!t.d&&(t.d=new Ns(Eo,t,1)),t.d).i!=0)return!0;return!1}function Nie(e){var t,n;for(n=new ir(e);n.e!=n.i.gc();)if(t=u(br(n),87),t.e||(!t.d&&(t.d=new Ns(Eo,t,1)),t.d).i!=0)return!0;return!1}function Zan(e){var t,n,r;for(t=0,r=new C(e.c.a);r.a<r.c.c.length;)n=u(Y(r),10),t+=I0(new ur(dr(Fs(n).a.Kc(),new V)));return t/e.c.a.c.length}function vrt(e){var t,n;for(e.c||abn(e),n=new $u,t=new C(e.a),Y(t);t.a<t.c.c.length;)oi(n,u(Y(t),407).a);return Qn(n.b!=0),bh(n,n.c.b),n}function Pie(){Pie=de,CCe=(Ase(),xCe),_Ce=new yv(8),new fo((di(),Pb),_Ce),new fo(Bb,8),Fmt=yCe,ECe=Lmt,TCe=Mmt,Bmt=new fo(CO,(In(),!1))}function Qye(e,t,n,r){switch(t){case 7:return!e.e&&(e.e=new yn(ta,e,7,4)),e.e;case 8:return!e.d&&(e.d=new yn(ta,e,8,5)),e.d}return vye(e,t,n,r)}function Bie(e){var t;return e.a&&e.a.kh()&&(t=u(e.a,49),e.a=u(zp(e,t),138),e.a!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,5,t,e.a))),e.a}function ub(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function Fie(e,t){if(e==null)throw ee(new d6("null key in entry: null="+t));if(t==null)throw ee(new d6("null value in entry: "+e+"=null"))}function Jan(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!($e(n)===$e(r)||n!=null&&Ci(n,r))))return!1;return!t.Ob()}function wrt(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[nie(e.a[0],t),nie(e.a[1],t),nie(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function mrt(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[K$(e.a[0],t),K$(e.a[1],t),K$(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function lb(){lb=de,Vue=new rM("GREEDY",0),jEe=new rM(Eht,1),Uue=new rM(hoe,2),ZC=new rM("MODEL_ORDER",3),QC=new rM("GREEDY_MODEL_ORDER",4)}function yrt(e,t){var n,r,i;for(e.b[t.g]=1,r=si(t.d,0);r.b!=r.d.c;)n=u(ii(r),188),i=n.c,e.b[i.g]==1?oi(e.a,n):e.b[i.g]==2?e.b[i.g]=1:yrt(e,i)}function eon(e,t){var n,r,i;for(i=new tu(t.gc()),r=t.Kc();r.Ob();)n=u(r.Pb(),286),n.c==n.f?s7(e,n,n.c):Zln(e,n)||(i.c[i.c.length]=n);return i}function ton(e,t,n){var r,i,a,h,d;for(d=e.r+t,e.r+=t,e.d+=n,r=n/e.n.c.length,i=0,h=new C(e.n);h.a<h.c.c.length;)a=u(Y(h),211),l1n(a,d,r,i),++i}function non(e){var t,n,r;for(bT(e.b.a),e.a=Ie(_G,_t,57,e.c.c.a.b.c.length,0,1),t=0,r=new C(e.c.c.a.b);r.a<r.c.c.length;)n=u(Y(r),57),n.f=t++}function ron(e){var t,n,r;for(bT(e.b.a),e.a=Ie(kue,_t,81,e.c.a.a.b.c.length,0,1),t=0,r=new C(e.c.a.a.b);r.a<r.c.c.length;)n=u(Y(r),81),n.i=t++}function ion(e,t,n){var r;Er(n,"Shrinking tree compaction",1),Bt(Nt(W(t,(Nx(),UC))))?(wnn(e,t.f),QZe(t.f,(r=t.c,r))):QZe(t.f,t.c),lr(n)}function krt(e){var t;if(t=iin(e),!Vr(e))throw ee(new Mo("position (0) must be less than the number of elements that remained ("+t+")"));return Nr(e)}function xrt(e,t,n){var r;try{return n4(e,t+e.j,n+e.k)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function son(e,t,n){var r;try{return _rt(e,t+e.j,n+e.k)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function aon(e,t,n){var r;try{return Crt(e,t+e.j,n+e.k)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function Ert(e){switch(e.g){case 1:return dt(),On;case 4:return dt(),Ln;case 3:return dt(),$n;case 2:return dt(),Tr;default:return dt(),cc}}function oon(e,t,n){t.k==(zn(),js)&&n.k==ca&&(e.d=aie(t,(dt(),Tr)),e.b=aie(t,Ln)),n.k==js&&t.k==ca&&(e.d=aie(n,(dt(),Ln)),e.b=aie(n,Tr))}function Rie(e,t){var n,r,i;for(i=sc(e,t),r=i.Kc();r.Ob();)if(n=u(r.Pb(),11),W(n,(nt(),ol))!=null||ZT(new O1(n.b)))return!0;return!1}function Zye(e,t){return Au(t,e.e+e.d+(e.c.c.length==0?0:e.b)),Lu(t,e.f),e.a=b.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),st(e.c,t),!0}function con(e,t,n){var r,i,a,h;for(h=0,r=n/e.a.c.length,a=new C(e.a);a.a<a.c.c.length;)i=u(Y(a),187),LD(i,i.s,i.t+h*r),ton(i,e.d-i.r+t,r),++h}function uon(e){var t,n,r,i,a;for(r=new C(e.b);r.a<r.c.c.length;)for(n=u(Y(r),29),t=0,a=new C(n.a);a.a<a.c.c.length;)i=u(Y(a),10),i.p=t++}function lon(e,t){var n,r,i,a,h,d;for(i=t.length-1,h=0,d=0,r=0;r<=i;r++)a=t[r],n=Lln(i,r)*nye(1-e,i-r)*nye(e,r),h+=a.a*n,d+=a.b*n;return new Ft(h,d)}function Trt(e,t){var n,r,i,a,h;for(n=t.gc(),e.qi(e.i+n),a=t.Kc(),h=e.i,e.i+=n,r=h;r<e.i;++r)i=a.Pb(),YT(e,r,e.oi(r,i)),e.bi(r,i),e.ci();return n!=0}function hon(e,t,n){var r,i,a;return e.ej()?(r=e.Vi(),a=e.fj(),++e.j,e.Hi(r,e.oi(r,t)),i=e.Zi(3,null,t,r,a),n?n.Ei(i):n=i):RVe(e,e.Vi(),t),n}function fon(e,t,n){var r,i,a;return r=u(_e(Bc(e.a),t),87),a=(i=r.c,me(i,88)?u(i,26):(cn(),nf)),(a.Db&64?zp(e.b,a):a)==n?KH(r):_x(r,n),a}function Jye(e,t,n,r,i,a,h,d){var v,x;r&&(v=r.a[0],v&&Jye(e,t,n,v,i,a,h,d),$on(e,n,r.d,i,a,h,d)&&t.Fc(r),x=r.a[1],x&&Jye(e,t,n,x,i,a,h,d))}function don(e,t){var n;return e.a||(n=Ie(va,Ao,25,0,15,1),L3(e.b.a,new tt(n)),n.sort(AJe(he.prototype.te,he,[])),e.a=new bUe(n,e.d)),s$(e.a,t)}function n4(e,t,n){try{return wv(Ire(e,t,n),1)}catch(r){throw r=ts(r),me(r,320)?ee(new Mo(Xae+e.o+"*"+e.p+Qae+t+so+n+Zae)):ee(r)}}function _rt(e,t,n){try{return wv(Ire(e,t,n),0)}catch(r){throw r=ts(r),me(r,320)?ee(new Mo(Xae+e.o+"*"+e.p+Qae+t+so+n+Zae)):ee(r)}}function Crt(e,t,n){try{return wv(Ire(e,t,n),2)}catch(r){throw r=ts(r),me(r,320)?ee(new Mo(Xae+e.o+"*"+e.p+Qae+t+so+n+Zae)):ee(r)}}function Srt(e,t){if(e.g==-1)throw ee(new ju);e.mj();try{e.d._c(e.g,t),e.f=e.d.j}catch(n){throw n=ts(n),me(n,73)?ee(new uh):ee(n)}}function gon(e,t,n){Er(n,"Linear segments node placement",1),e.b=u(W(t,(nt(),H4)),304),Awn(e,t),h2n(e,t),S2n(e,t),own(e),e.a=null,e.b=null,lr(n)}function MD(e,t){var n,r,i,a;for(a=e.gc(),t.length<a&&(t=KF(new Array(a),t)),i=t,r=e.Kc(),n=0;n<a;++n)us(i,n,r.Pb());return t.length>a&&us(t,a,null),t}function pon(e,t){var n,r;if(r=e.gc(),t==null){for(n=0;n<r;n++)if(e.Xb(n)==null)return n}else for(n=0;n<r;n++)if(Ci(t,e.Xb(n)))return n;return-1}function jie(e,t){var n,r,i;return n=t.cd(),i=t.dd(),r=e.xc(n),!(!($e(i)===$e(r)||i!=null&&Ci(i,r))||r==null&&!e._b(n))}function bon(e,t){var n,r,i;return t<=22?(n=e.l&(1<<t)-1,r=i=0):t<=44?(n=e.l,r=e.m&(1<<t-22)-1,i=0):(n=e.l,r=e.m,i=e.h&(1<<t-44)-1),cu(n,r,i)}function von(e,t){switch(t.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function won(e,t){var n,r;switch(r=t.c,n=t.a,e.b.g){case 0:n.d=e.e-r.a-r.d;break;case 1:n.d+=e.e;break;case 2:n.c=e.e-r.a-r.d;break;case 3:n.c=e.e+r.d}}function e3e(e,t,n,r){var i,a;this.a=t,this.c=r,i=e.a,pge(this,new Ft(-i.c,-i.d)),Ni(this.b,n),a=r/2,t.a?vM(this.b,0,a):vM(this.b,a,0),st(e.c,this)}function mH(){mH=de,lhe=new xR(U0,0),R_e=new xR(Tht,1),j_e=new xR("EDGE_LENGTH_BY_POSITION",2),F_e=new xR("CROSSING_MINIMIZATION_BY_POSITION",3)}function $ie(e,t){var n,r;if(n=u(U3(e.g,t),33),n)return n;if(r=u(U3(e.j,t),118),r)return r;throw ee(new ud("Referenced shape does not exist: "+t))}function mon(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw ee(new Dn("Node 'one' must be either source or target of edge 'edge'."))}function yon(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw ee(new Dn("Node "+t+" is neither source nor target of edge "+e))}function kon(e,t){var n;switch(t.g){case 2:case 4:n=e.a,e.c.d.n.b<n.d.n.b&&(n=e.c),wg(e,t,(B1(),Oue),n);break;case 1:case 3:wg(e,t,(B1(),mk),null)}}function Hie(e,t,n,r,i,a){var h,d,v,x,T;for(h=Tcn(t,n,a),d=n==(dt(),Ln)||n==On?-1:1,x=e[n.g],T=0;T<x.length;T++)v=x[T],v>0&&(v+=i),x[T]=h,h+=d*(v+r)}function Art(e){var t,n,r;for(r=e.f,e.n=Ie(va,Ao,25,r,15,1),e.d=Ie(va,Ao,25,r,15,1),t=0;t<r;t++)n=u(It(e.c.b,t),29),e.n[t]=irt(e,n),e.d[t]=jat(e,n)}function zie(e,t){var n,r,i;for(i=0,r=2;r<t;r<<=1)e.Db&r&&++i;if(i==0){for(n=t<<=1;n<=128;n<<=1)if(e.Db&n)return 0;return-1}else return i}function Lrt(e,t){var n,r,i,a,h;for(h=hu(e.e.Tg(),t),a=null,n=u(e.g,119),i=0;i<e.i;++i)r=n[i],h.rl(r.ak())&&(!a&&(a=new K5),Pr(a,r));a&&Hut(e,a)}function Mrt(e){var t,n,r;if(!e)return null;if(e.dc())return"";for(r=new dg,n=e.Kc();n.Ob();)t=n.Pb(),To(r,Hr(t)),r.a+=" ";return mte(r,r.a.length-1)}function t3e(e,t,n){var r,i,a,h,d;for(Srn(e),i=(e.k==null&&(e.k=Ie(Uce,Je,78,0,0,1)),e.k),a=0,h=i.length;a<h;++a)r=i[a],t3e(r);d=e.f,d&&t3e(d)}function Drt(e,t){var n=new Array(t),r;switch(e){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var i=0;i<t;++i)n[i]=r;return n}function Qv(e){var t,n,r;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),57),t.c.$b();Sp(e.d)?r=e.a.c:r=e.a.d,Su(r,new xr(e)),e.c.Me(e),not(e)}function Irt(e){var t,n,r,i;for(n=new C(e.e.c);n.a<n.c.c.length;){for(t=u(Y(n),282),i=new C(t.b);i.a<i.c.c.length;)r=u(Y(i),447),w5e(r);Tst(t)}}function yH(e){var t,n,r,i,a;for(r=0,a=0,i=0,n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),187),a=b.Math.max(a,t.r),r+=t.d+(i>0?e.c:0),++i;e.b=r,e.d=a}function xon(e,t){var n,r,i,a,h;for(r=0,i=0,n=0,h=new C(t);h.a<h.c.c.length;)a=u(Y(h),200),r=b.Math.max(r,a.e),i+=a.b+(n>0?e.g:0),++n;e.c=i,e.d=r}function Ort(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[Wye(e,(Jf(),pc),t),Wye(e,au,t),Wye(e,bc,t)]),e.f&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function Eon(e,t,n){var r;try{VH(e,t+e.j,n+e.k,!1,!0)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function Ton(e,t,n){var r;try{VH(e,t+e.j,n+e.k,!0,!1)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function Nrt(e){var t;Js(e,(mt(),Ew))&&(t=u(W(e,Ew),21),t.Hc((ry(),Mf))?(t.Mc(Mf),t.Fc(Df)):t.Hc(Df)&&(t.Mc(Df),t.Fc(Mf)))}function Prt(e){var t;Js(e,(mt(),Ew))&&(t=u(W(e,Ew),21),t.Hc((ry(),Of))?(t.Mc(Of),t.Fc(Xh)):t.Hc(Xh)&&(t.Mc(Xh),t.Fc(Of)))}function _on(e,t,n){Er(n,"Self-Loop ordering",1),ms(Eu(qi(qi(rc(new mn(null,new kn(t.b,16)),new FP),new yY),new kY),new xY),new vm(e)),lr(n)}function DD(e,t,n,r){var i,a;for(i=t;i<e.c.length;i++)if(a=(En(i,e.c.length),u(e.c[i],11)),n.Mb(a))r.c[r.c.length]=a;else return i;return e.c.length}function Gie(e,t,n,r){var i,a,h,d;return e.a==null&&Aln(e,t),h=t.b.j.c.length,a=n.d.p,d=r.d.p,i=d-1,i<0&&(i=h-1),a<=i?e.a[i]-e.a[a]:e.a[h-1]-e.a[a]+e.a[i]}function Con(e){var t,n;if(!e.b)for(e.b=Yj(u(e.f,33).Ag().i),n=new ir(u(e.f,33).Ag());n.e!=n.i.gc();)t=u(br(n),137),st(e.b,new Mee(t));return e.b}function Son(e){var t,n;if(!e.e)for(e.e=Yj(Tne(u(e.f,33)).i),n=new ir(Tne(u(e.f,33)));n.e!=n.i.gc();)t=u(br(n),118),st(e.e,new Oje(t));return e.e}function Brt(e){var t,n;if(!e.a)for(e.a=Yj(Oj(u(e.f,33)).i),n=new ir(Oj(u(e.f,33)));n.e!=n.i.gc();)t=u(br(n),33),st(e.a,new Lte(e,t));return e.a}function Zv(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=Wbn(e),t)e.yk(t);else try{e.yk(null)}catch(n){if(n=ts(n),!me(n,60))throw ee(n)}return e.C}function Aon(e){switch(e.q.g){case 5:ait(e,(dt(),Ln)),ait(e,Tr);break;case 4:Zct(e,(dt(),Ln)),Zct(e,Tr);break;default:ost(e,(dt(),Ln)),ost(e,Tr)}}function Lon(e){switch(e.q.g){case 5:oit(e,(dt(),$n)),oit(e,On);break;case 4:Jct(e,(dt(),$n)),Jct(e,On);break;default:cst(e,(dt(),$n)),cst(e,On)}}function r4(e,t){var n,r,i;for(i=new $a,r=e.Kc();r.Ob();)n=u(r.Pb(),37),tC(n,i.a,0),i.a+=n.f.a+t,i.b=b.Math.max(i.b,n.f.b);return i.b>0&&(i.b+=t),i}function kH(e,t){var n,r,i;for(i=new $a,r=e.Kc();r.Ob();)n=u(r.Pb(),37),tC(n,0,i.b),i.b+=n.f.b+t,i.a=b.Math.max(i.a,n.f.a);return i.a>0&&(i.a+=t),i}function Frt(e){var t,n,r;for(r=xi,n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),10),Js(t,(nt(),Oc))&&(r=b.Math.min(r,u(W(t,Oc),19).a));return r}function Rrt(e,t){var n,r;if(t.length==0)return 0;for(n=Ene(e.a,t[0],(dt(),On)),n+=Ene(e.a,t[t.length-1],$n),r=0;r<t.length;r++)n+=fln(e,r,t);return n}function jrt(){J_(),this.c=new at,this.i=new at,this.e=new C0,this.f=new C0,this.g=new C0,this.j=new at,this.a=new at,this.b=new Ar,this.k=new Ar}function qie(e,t){var n,r;return e.Db>>16==6?e.Cb.ih(e,5,c1,t):(r=go(u(bn((n=u(Cn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Mon(e){gx();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+`
+`,Pgt=function(i,a){return zW(i,a)},UGe=function(i,a){const p=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),v=i.append("g");v.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"),v.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 m(C){const A=LA().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);C.append("path").attr("class","mouth").attr("d",A).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(C){const A=LA().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);C.append("path").attr("class","mouth").attr("d",A).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function E(C){C.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?m(v):a.score<3?b(v):E(v),p},ujt=function(i,a){const f=i.append("circle");return f.attr("cx",a.cx),f.attr("cy",a.cy),f.attr("class","actor-"+a.pos),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("r",a.r),f.class!==void 0&&f.attr("class",f.class),a.title!==void 0&&f.append("title").text(a.title),f},ljt=function(i,a){return pMe(i,a)},WGe=function(i,a){function f(v,m,b,E,C){return v+","+m+" "+(v+b)+","+m+" "+(v+b)+","+(m+E-C)+" "+(v+b-C*1.2)+","+(m+E)+" "+v+","+(m+E)}const p=i.append("polygon");p.attr("points",f(a.x,a.y,50,20,7)),p.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,ljt(i,a)},KGe=function(i,a,f){const p=i.append("g"),v=lE();v.x=a.x,v.y=a.y,v.fill=a.fill,v.width=f.width*a.taskCount+f.diagramMarginX*(a.taskCount-1),v.height=f.height,v.class="journey-section section-type-"+a.num,v.rx=3,v.ry=3,Pgt(p,v),fjt(f)(a.text,p,v.x,v.y,v.width,v.height,{class:"journey-section section-type-"+a.num},f,a.colour)};let hjt=-1;const YGe=function(i,a,f){const p=a.x+f.width/2,v=i.append("g");hjt++;const m=300+5*30;v.append("line").attr("id","task"+hjt).attr("x1",p).attr("y1",a.y).attr("x2",p).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),UGe(v,{cx:p,cy:300+(5-a.score)*30,score:a.score});const b=lE();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,Pgt(v,b);let E=a.x+14;a.people.forEach(C=>{const A=a.actors[C].color,N={cx:E,cy:a.y,r:7,fill:A,stroke:"#000",title:C,pos:a.actors[C].position};ujt(v,N),E+=10}),fjt(f)(a.task,v,b.x,b.y,b.width,b.height,{class:"task"},f,a.colour)},XGe=function(i,a){XOt(i,a)},fjt=function(){function i(v,m,b,E,C,A,N,F){const j=m.append("text").attr("x",b+C/2).attr("y",E+A/2+5).style("font-color",F).style("text-anchor","middle").text(v);p(j,N)}function a(v,m,b,E,C,A,N,F,j){const{taskFontSize:R,taskFontFamily:H}=F,Y=v.split(/<br\s*\/?>/gi);for(let rt=0;rt<Y.length;rt++){const J=rt*R-R*(Y.length-1)/2,it=m.append("text").attr("x",b+C/2).attr("y",E).attr("fill",j).style("text-anchor","middle").style("font-size",R).style("font-family",H);it.append("tspan").attr("x",b+C/2).attr("dy",J).text(Y[rt]),it.attr("y",E+A/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(it,N)}}function f(v,m,b,E,C,A,N,F){const j=m.append("switch"),H=j.append("foreignObject").attr("x",b).attr("y",E).attr("width",C).attr("height",A).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");H.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(v),a(v,j,b,E,C,A,N,F),p(H,N)}function p(v,m){for(const b in m)b in m&&v.attr(b,m[b])}return function(v){return v.textPlacement==="fo"?f:v.textPlacement==="old"?i:a}}(),KN={drawRect:Pgt,drawCircle:ujt,drawSection:KGe,drawText:ljt,drawLabel:WGe,drawTask:YGe,drawBackgroundRect:XGe,initGraphics:function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},QGe=function(i){Object.keys(i).forEach(function(f){HK[f]=i[f]})},B5={};function ZGe(i){const a=Me().journey;let f=60;Object.keys(B5).forEach(p=>{const v=B5[p].color,m={cx:20,cy:f,r:7,fill:v,stroke:"#000",pos:B5[p].position};KN.drawCircle(i,m);const b={x:40,y:f+7,fill:"#666",text:p,textMargin:a.boxTextMargin|5};KN.drawText(i,b),f+=20})}const HK=Me().journey,_E=HK.leftMargin,JGe=function(i,a,f,p){const v=Me().journey,m=Me().securityLevel;let b;m==="sandbox"&&(b=wr("#i"+a));const E=wr(m==="sandbox"?b.nodes()[0].contentDocument.body:"body");iv.init();const C=E.select("#"+a);KN.initGraphics(C);const A=p.db.getTasks(),N=p.db.getDiagramTitle(),F=p.db.getActors();for(const J in B5)delete B5[J];let j=0;F.forEach(J=>{B5[J]={color:v.actorColours[j%v.actorColours.length],position:j},j++}),ZGe(C),iv.insert(0,0,_E,Object.keys(B5).length*50),tUe(C,A,0);const R=iv.getBounds();N&&C.append("text").text(N).attr("x",_E).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const H=R.stopy-R.starty+2*v.diagramMarginY,Y=_E+R.stopx+2*v.diagramMarginX;N2(C,H,Y,v.useMaxWidth),C.append("line").attr("x1",_E).attr("y1",v.height*4).attr("x2",Y-_E-4).attr("y2",v.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const rt=N?70:0;C.attr("viewBox",`${R.startx} -25 ${Y} ${H+rt}`),C.attr("preserveAspectRatio","xMinYMin meet"),C.attr("height",H+rt+25)},iv={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,f,p){i[a]===void 0?i[a]=f:i[a]=p(f,i[a])},updateBounds:function(i,a,f,p){const v=Me().journey,m=this;let b=0;function E(C){return function(N){b++;const F=m.sequenceItems.length-b+1;m.updateVal(N,"starty",a-F*v.boxMargin,Math.min),m.updateVal(N,"stopy",p+F*v.boxMargin,Math.max),m.updateVal(iv.data,"startx",i-F*v.boxMargin,Math.min),m.updateVal(iv.data,"stopx",f+F*v.boxMargin,Math.max),C!=="activation"&&(m.updateVal(N,"startx",i-F*v.boxMargin,Math.min),m.updateVal(N,"stopx",f+F*v.boxMargin,Math.max),m.updateVal(iv.data,"starty",a-F*v.boxMargin,Math.min),m.updateVal(iv.data,"stopy",p+F*v.boxMargin,Math.max))}}this.sequenceItems.forEach(E())},insert:function(i,a,f,p){const v=Math.min(i,f),m=Math.max(i,f),b=Math.min(a,p),E=Math.max(a,p);this.updateVal(iv.data,"startx",v,Math.min),this.updateVal(iv.data,"starty",b,Math.min),this.updateVal(iv.data,"stopx",m,Math.max),this.updateVal(iv.data,"stopy",E,Math.max),this.updateBounds(v,b,m,E)},bumpVerticalPos:function(i){this.verticalPos=this.verticalPos+i,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Ngt=HK.sectionFills,djt=HK.sectionColours,tUe=function(i,a,f){const p=Me().journey;let v="";const m=p.height*2+p.diagramMarginY,b=f+m;let E=0,C="#CCC",A="black",N=0;for(const[F,j]of a.entries()){if(v!==j.section){C=Ngt[E%Ngt.length],N=E%Ngt.length,A=djt[E%djt.length];let H=0;const Y=j.section;for(let J=F;J<a.length&&a[J].section==Y;J++)H=H+1;const rt={x:F*p.taskMargin+F*p.width+_E,y:50,text:j.section,fill:C,num:N,colour:A,taskCount:H};KN.drawSection(i,rt,p),v=j.section,E++}const R=j.people.reduce((H,Y)=>(B5[Y]&&(H[Y]=B5[Y]),H),{});j.x=F*p.taskMargin+F*p.width+_E,j.y=b,j.width=p.diagramMarginX,j.height=p.diagramMarginY,j.colour=A,j.fill=C,j.num=N,j.actors=R,KN.drawTask(i,j,p),iv.insert(j.x,j.y,j.x+j.width+p.taskMargin,300+5*30)}},gjt={setConf:QGe,draw:JGe},eUe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:FGe,db:cjt,renderer:gjt,styles:GGe,init:i=>{gjt.setConf(i.journey),cjt.clear()}}},Symbol.toStringTag,{value:"Module"})),nUe=(i,a,f)=>{const{parentById:p}=f,v=new Set;let m=i;for(;m;){if(v.add(m),m===a)return m;m=p[m]}for(m=a;m;){if(v.has(m))return m;m=p[m]}return"root"};function VK(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 pjt={exports:{}};(function(i,a){(function(f){i.exports=f()})(function(){return function(){function f(p,v,m){function b(A,N){if(!v[A]){if(!p[A]){var F=typeof VK=="function"&&VK;if(!N&&F)return F(A,!0);if(E)return E(A,!0);var j=new Error("Cannot find module '"+A+"'");throw j.code="MODULE_NOT_FOUND",j}var R=v[A]={exports:{}};p[A][0].call(R.exports,function(H){var Y=p[A][1][H];return b(Y||H)},R,R.exports,f,p,v,m)}return v[A].exports}for(var E=typeof VK=="function"&&VK,C=0;C<m.length;C++)b(m[C]);return b}return f}()({1:[function(f,p,v){Object.defineProperty(v,"__esModule",{value:!0});var m=function(){function A(N,F){for(var j=0;j<F.length;j++){var R=F[j];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(N,R.key,R)}}return function(N,F,j){return F&&A(N.prototype,F),j&&A(N,j),N}}();function b(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")}var E=function(){function A(){var N=this,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=F.defaultLayoutOptions,R=j===void 0?{}:j,H=F.algorithms,Y=H===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:H,rt=F.workerFactory,J=F.workerUrl;if(b(this,A),this.defaultLayoutOptions=R,this.initialized=!1,typeof J>"u"&&typeof rt>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var it=rt;typeof J<"u"&&typeof rt>"u"&&(it=function(yt){return new Worker(yt)});var ht=it(J);if(typeof ht.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new C(ht),this.worker.postMessage({cmd:"register",algorithms:Y}).then(function(Tt){return N.initialized=!0}).catch(console.err)}return m(A,[{key:"layout",value:function(F){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=j.layoutOptions,H=R===void 0?this.defaultLayoutOptions:R,Y=j.logging,rt=Y===void 0?!1:Y,J=j.measureExecutionTime,it=J===void 0?!1:J;return F?this.worker.postMessage({cmd:"layout",graph:F,layoutOptions:H,options:{logging:rt,measureExecutionTime:it}}):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()}}]),A}();v.default=E;var C=function(){function A(N){var F=this;if(b(this,A),N===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=N,this.worker.onmessage=function(j){setTimeout(function(){F.receive(F,j)},0)}}return m(A,[{key:"postMessage",value:function(F){var j=this.id||0;this.id=j+1,F.id=j;var R=this;return new Promise(function(H,Y){R.resolvers[j]=function(rt,J){rt?(R.convertGwtStyleError(rt),Y(rt)):H(J)},R.worker.postMessage(F)})}},{key:"receive",value:function(F,j){var R=j.data,H=F.resolvers[R.id];H&&(delete F.resolvers[R.id],R.error?H(R.error):H(null,R.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(F){if(F){var j=F.__java$exception;j&&(j.cause&&j.cause.backingJsObject&&(F.cause=j.cause.backingJsObject,this.convertGwtStyleError(F.cause)),delete F.__java$exception)}}}]),A}()},{}],2:[function(f,p,v){(function(m){(function(){var b;typeof window<"u"?b=window:typeof m<"u"?b=m:typeof self<"u"&&(b=self);var E;function C(){}function A(){}function N(){}function F(){}function j(){}function R(){}function H(){}function Y(){}function rt(){}function J(){}function it(){}function ht(){}function Tt(){}function yt(){}function vt(){}function ut(){}function xt(){}function st(){}function Et(){}function gt(){}function pt(){}function Ct(){}function nt(){}function Nt(){}function dt(){}function Ft(){}function X(){}function Bt(){}function Rt(){}function mt(){}function Ot(){}function Gt(){}function Ve(){}function Cn(){}function xe(){}function Kn(){}function Se(){}function ee(){}function _e(){}function qe(){}function ce(){}function Ce(){}function he(){}function Re(){}function se(){}function Pe(){}function Qt(){}function vr(){}function $t(){}function ur(){}function le(){}function rr(){}function ar(){}function Qn(){}function Zn(){}function dn(){}function kn(){}function _r(){}function Rr(){}function os(){}function As(){}function ma(){}function Zr(){}function Hi(){}function Gn(){}function Jn(){}function Or(){}function Fn(){}function Li(){}function Dn(){}function Ba(){}function zn(){}function is(){}function La(){}function Xa(){}function Ta(){}function ga(){}function Es(){}function Bs(){}function _a(){}function Ma(){}function Ga(){}function ov(){}function rl(){}function mu(){}function Ls(){}function bp(){}function ad(){}function Rl(){}function $u(){}function Gi(){}function Ue(){}function Cr(){}function ci(){}function Qa(){}function kc(){}function yu(){}function yo(){}function xu(){}function uf(){}function k3(){}function v1(){}function E3(){}function yL(){}function hm(){}function wg(){}function cs(){}function zs(){}function Da(){}function ki(){}function Rc(){}function Oe(){}function vp(){}function Ye(){}function lf(){}function fm(){}function LE(){}function wp(){}function j5(){}function ah(){}function od(){}function $5(){}function z5(){}function ME(){}function xL(){}function w1(){}function mp(){}function cd(){}function dm(){}function cv(){}function gm(){}function Ec(){}function pk(){}function Ko(){}function bk(){}function oh(){}function ZK(){}function DE(){}function JK(){}function XN(){}function qf(){}function pm(){}function kL(){}function QN(){}function yp(){}function bm(){}function tY(){}function H2(){}function eY(){}function nY(){}function q5(){}function IE(){}function ZN(){}function vk(){}function rY(){}function wk(){}function iY(){}function sY(){}function aY(){}function oY(){}function cY(){}function uY(){}function lY(){}function hY(){}function fY(){}function dY(){}function gY(){}function EL(){}function pY(){}function bY(){}function OE(){}function JN(){}function H5(){}function vY(){}function wY(){}function mY(){}function yY(){}function xY(){}function PE(){}function TL(){}function tF(){}function T3(){}function _3(){}function kY(){}function hf(){}function V5(){}function EY(){}function mk(){}function qd(){}function TY(){}function _Y(){}function CY(){}function SY(){}function NE(){}function _L(){}function eF(){}function CL(){}function G5(){}function AY(){}function nF(){}function rF(){}function LY(){}function MY(){}function DY(){}function IY(){}function OY(){}function PY(){}function Hd(){}function uv(){}function NY(){}function iF(){}function sF(){}function FY(){}function C3(){}function yk(){}function SL(){}function vm(){}function xk(){}function BY(){}function FE(){}function ud(){}function aF(){}function AL(){}function kk(){}function LL(){}function oF(){}function RY(){}function ML(){}function jY(){}function $Y(){}function cF(){}function U5(){}function uF(){}function W5(){}function zY(){}function DL(){}function qY(){}function HY(){}function VY(){}function GY(){}function lF(){}function UY(){}function WY(){}function KY(){}function hF(){}function YY(){}function XY(){}function QY(){}function fF(){}function ZY(){}function JY(){}function dF(){}function gF(){}function pF(){}function tX(){}function eX(){}function Ek(){}function K5(){}function BE(){}function nX(){}function IL(){}function RE(){}function OL(){}function bF(){}function vF(){}function rX(){}function iX(){}function sX(){}function wF(){}function mF(){}function aX(){}function oX(){}function cX(){}function uX(){}function lX(){}function yF(){}function hX(){}function fX(){}function dX(){}function gX(){}function xF(){}function jE(){}function pX(){}function bX(){}function kF(){}function vX(){}function wX(){}function mX(){}function yX(){}function xX(){}function kX(){}function EF(){}function EX(){}function TF(){}function TX(){}function _X(){}function CX(){}function $E(){}function SX(){}function zE(){}function AX(){}function _F(){}function CF(){}function SF(){}function AF(){}function lv(){}function LF(){}function MF(){}function DF(){}function IF(){}function LX(){}function Y5(){}function qE(){}function S3(){}function MX(){}function DX(){}function HE(){}function IX(){}function OX(){}function PX(){}function NX(){}function FX(){}function BX(){}function RX(){}function jX(){}function $X(){}function zX(){}function qX(){}function PL(){}function OF(){}function HX(){}function VX(){}function GX(){}function PF(){}function UX(){}function WX(){}function KX(){}function YX(){}function XX(){}function QX(){}function NF(){}function FF(){}function ZX(){}function BF(){}function RF(){}function JX(){}function tQ(){}function eQ(){}function NL(){}function nQ(){}function Tk(){}function rQ(){}function iQ(){}function sQ(){}function jF(){}function aQ(){}function oQ(){}function cQ(){}function uQ(){}function lQ(){}function hQ(){}function fQ(){}function dQ(){}function gQ(){}function pQ(){}function bQ(){}function vQ(){}function X5(){}function $F(){}function wQ(){}function mQ(){}function yQ(){}function zF(){}function xQ(){}function VE(){}function kQ(){}function EQ(){}function TQ(){}function _Q(){}function CQ(){}function SQ(){}function AQ(){}function LQ(){}function MQ(){}function DQ(){}function Q5(){}function IQ(){}function OQ(){}function PQ(){}function NQ(){}function FQ(){}function BQ(){}function RQ(){}function jQ(){}function GE(){}function $Q(){}function zQ(){}function qQ(){}function HQ(){}function VQ(){}function GQ(){}function UQ(){}function WQ(){}function Z5(){}function qF(){}function KQ(){}function FL(){}function YQ(){}function XQ(){}function QQ(){}function ZQ(){}function JQ(){}function tZ(){}function eZ(){}function HF(){}function nZ(){}function VF(){}function rZ(){}function GF(){}function UF(){}function WF(){}function iZ(){}function sZ(){}function UE(){}function BL(){}function WE(){}function aZ(){}function oZ(){}function RL(){}function cZ(){}function uZ(){}function KF(){}function lZ(){}function hZ(){}function fZ(){}function dZ(){}function gZ(){}function pZ(){}function bZ(){}function vZ(){}function wZ(){}function mZ(){}function mg(){}function yZ(){}function wm(){}function YF(){}function xZ(){}function kZ(){}function EZ(){}function TZ(){}function _Z(){}function CZ(){}function SZ(){}function AZ(){}function LZ(){}function jc(){}function MZ(){}function KE(){}function dc(){}function ru(){}function Ji(){}function jL(){}function DZ(){}function IZ(){}function OZ(){}function J5(){}function mm(){}function We(){}function PZ(){}function NZ(){}function FZ(){}function BZ(){}function RZ(){}function XF(){}function jZ(){}function $Z(){}function $L(){}function zZ(){}function il(){}function zu(){}function qZ(){}function HZ(){}function VZ(){}function ym(){}function hv(){}function xp(){}function ld(){}function t6(){}function YE(){}function _k(){}function QF(){}function GZ(){}function Ck(){}function ZF(){}function UZ(){}function XE(){}function e6(){}function n6(){}function kp(){}function JF(){}function Sk(){}function tB(){}function eB(){}function r6(){}function V2(){}function S0(){}function Ep(){}function A3(){}function Ak(){}function QE(){}function nB(){}function WZ(){}function rB(){}function iB(){}function sB(){}function Lk(){}function aB(){}function oB(){}function KZ(){}function Mk(){}function Dk(){}function xm(){}function zL(){}function YZ(){}function XZ(){}function QZ(){}function ZZ(){}function JZ(){}function tJ(){}function eJ(){}function nJ(){}function cB(){}function rJ(){}function iJ(){}function sJ(){}function uB(){}function Ik(){}function ZE(){}function lB(){}function aJ(){}function hB(){}function fB(){}function oJ(){}function JE(){}function km(){}function dB(){}function gB(){}function cJ(){}function uJ(){}function tT(){}function pB(){}function bB(){}function Tc(){}function lJ(){}function vB(){}function eT(){}function hJ(){}function fJ(){}function nT(){}function wB(){}function rT(){}function iT(){}function Hf(){}function qL(){}function HL(){}function i6(){}function dJ(){}function gJ(){}function pJ(){}function bJ(){}function Em(){}function mB(){}function s6(){}function m1(){}function yB(){}function xB(){}function kB(){}function EB(){}function TB(){}function _B(){}function Vf(){}function ku(){}function vJ(){}function wJ(){}function mJ(){}function Eu(){}function sT(){}function CB(){}function SB(){}function a6(){}function yJ(){}function Ok(){}function xJ(){}function AB(){}function kJ(){}function EJ(){}function aT(){}function LB(){}function VL(){}function oT(){}function TJ(){}function _J(){}function GL(){}function cT(){}function y1(){}function Pk(){}function CJ(){}function Nk(){}function UL(){}function G2(){}function uT(){}function WL(){}function Gf(){}function lT(){}function x1(){}function k1(){}function SJ(){}function AJ(){}function L3(){}function Fk(){}function Bk(){}function hT(){}function LJ(){}function o6(){}function KL(){}function MB(){}function MJ(){}function fT(){DT()}function DJ(){Sit()}function DB(){iC()}function YL(){Xz()}function IJ(){I4t()}function dT(){r1()}function OJ(){H3t()}function PJ(){nI()}function NJ(){xM()}function FJ(){yM()}function BJ(){WM()}function IB(){gVt()}function RJ(){Q6()}function jJ(){DR()}function $J(){_Jt()}function OB(){Ree()}function zJ(){rte()}function qJ(){yQt()}function gT(){t7()}function HJ(){n2()}function VJ(){jee()}function GJ(){dZt()}function UJ(){_6t()}function WJ(){Cse()}function KJ(){xQt()}function PB(){Te()}function YJ(){mQt()}function NB(){$ee()}function XJ(){Hne()}function XL(){EQt()}function QJ(){cte()}function FB(){pVt()}function ZJ(){d5t()}function BB(){ay()}function JJ(){dne()}function RB(){aI()}function jB(){nat()}function $B(){ust()}function QL(){lw()}function M3(){uyt()}function pT(){kQt()}function hd(){Pue()}function zB(){l5t()}function Rk(){Kst()}function ZL(){N$()}function ttt(){rq()}function Tp(){Ei()}function qB(){wz()}function HB(){v3t()}function VB(){kq()}function ch(){uKt()}function JL(){hit()}function GB(){Q5t()}function jk(t){Pn(t)}function bT(t){this.a=t}function $k(t){this.a=t}function UB(t){this.a=t}function c6(t){this.a=t}function fv(t){this.a=t}function zk(t){this.a=t}function WB(t){this.a=t}function ett(t){this.a=t}function tM(t){this.a=t}function D3(t){this.a=t}function eM(t){this.a=t}function vT(t){this.a=t}function ntt(t){this.a=t}function wT(t){this.a=t}function mT(t){this.a=t}function u6(t){this.a=t}function nM(t){this.a=t}function rM(t){this.a=t}function rtt(t){this.a=t}function itt(t){this.a=t}function stt(t){this.a=t}function KB(t){this.b=t}function att(t){this.c=t}function ott(t){this.a=t}function ctt(t){this.a=t}function utt(t){this.a=t}function ltt(t){this.a=t}function htt(t){this.a=t}function ftt(t){this.a=t}function dtt(t){this.a=t}function gtt(t){this.a=t}function l6(t){this.a=t}function ptt(t){this.a=t}function qk(t){this.a=t}function Mh(t){this.a=t}function btt(t){this.a=t}function h6(t){this.a=t}function Hk(t){this.a=t}function yT(t){this.a=t}function Vk(t){this.a=t}function yg(){this.a=[]}function vtt(t,e){t.a=e}function Zgt(t,e){t.a=e}function Jgt(t,e){t.b=e}function tpt(t,e){t.b=e}function ept(t,e){t.b=e}function iM(t,e){t.j=e}function npt(t,e){t.g=e}function rpt(t,e){t.i=e}function wtt(t,e){t.c=e}function E1(t,e){t.d=e}function mtt(t,e){t.d=e}function ipt(t,e){t.c=e}function A0(t,e){t.k=e}function ytt(t,e){t.c=e}function YB(t,e){t.c=e}function XB(t,e){t.a=e}function xtt(t,e){t.a=e}function spt(t,e){t.f=e}function apt(t,e){t.a=e}function dv(t,e){t.b=e}function sM(t,e){t.d=e}function xT(t,e){t.i=e}function QB(t,e){t.o=e}function opt(t,e){t.r=e}function cpt(t,e){t.a=e}function ZB(t,e){t.b=e}function gv(t,e){t.e=e}function ktt(t,e){t.f=e}function kT(t,e){t.g=e}function f6(t,e){t.e=e}function upt(t,e){t.f=e}function Gk(t,e){t.f=e}function Ett(t,e){t.n=e}function xg(t,e){t.a=e}function lpt(t,e){t.a=e}function I3(t,e){t.c=e}function Ttt(t,e){t.c=e}function _tt(t,e){t.d=e}function JB(t,e){t.e=e}function tR(t,e){t.g=e}function Ctt(t,e){t.a=e}function Uk(t,e){t.c=e}function ET(t,e){t.d=e}function hpt(t,e){t.e=e}function Stt(t,e){t.f=e}function Att(t,e){t.j=e}function Ltt(t,e){t.a=e}function fpt(t,e){t.b=e}function Dc(t,e){t.a=e}function eR(t){t.b=t.a}function Mtt(t){t.c=t.d.d}function d6(t){this.d=t}function kg(t){this.a=t}function Tm(t){this.a=t}function aM(t){this.a=t}function T1(t){this.a=t}function g6(t){this.a=t}function Dtt(t){this.a=t}function nR(t){this.a=t}function O3(t){this.a=t}function oM(t){this.a=t}function _m(t){this.a=t}function rR(t){this.a=t}function _1(t){this.a=t}function y(t){this.a=t}function g(t){this.a=t}function x(t){this.b=t}function T(t){this.b=t}function L(t){this.b=t}function I(t){this.a=t}function O(t){this.a=t}function $(t){this.a=t}function z(t){this.c=t}function S(t){this.c=t}function V(t){this.c=t}function U(t){this.a=t}function tt(t){this.a=t}function at(t){this.a=t}function lt(t){this.a=t}function ft(t){this.a=t}function Lt(t){this.a=t}function kt(t){this.a=t}function Dt(t){this.a=t}function It(t){this.a=t}function qt(t){this.a=t}function te(t){this.a=t}function Yt(t){this.a=t}function Ht(t){this.a=t}function ie(t){this.a=t}function Wt(t){this.a=t}function be(t){this.a=t}function we(t){this.a=t}function ae(t){this.a=t}function Ne(t){this.a=t}function me(t){this.a=t}function gn(t){this.a=t}function ze(t){this.a=t}function Ge(t){this.a=t}function xn(t){this.a=t}function On(t){this.a=t}function nr(t){this.a=t}function Sn(t){this.a=t}function er(t){this.a=t}function fr(t){this.a=t}function Mr(t){this.a=t}function yr(t){this.a=t}function lr(t){this.a=t}function bn(t){this.a=t}function Sr(t){this.a=t}function Er(t){this.a=t}function fi(t){this.a=t}function Ii(t){this.a=t}function oa(t){this.a=t}function Ra(t){this.a=t}function Fi(t){this.a=t}function _i(t){this.a=t}function Ms(t){this.a=t}function ts(t){this.a=t}function Ri(t){this.a=t}function ss(t){this.a=t}function ro(t){this.e=t}function ca(t){this.a=t}function ea(t){this.a=t}function Nr(t){this.a=t}function Jt(t){this.a=t}function qn(t){this.a=t}function jr(t){this.a=t}function dr(t){this.a=t}function gr(t){this.a=t}function Ua(t){this.a=t}function Jr(t){this.a=t}function us(t){this.a=t}function Yo(t){this.a=t}function Vc(t){this.a=t}function fo(t){this.a=t}function Ic(t){this.a=t}function ja(t){this.a=t}function go(t){this.a=t}function Sl(t){this.a=t}function Uf(t){this.a=t}function _p(t){this.a=t}function Cp(t){this.a=t}function Wf(t){this.a=t}function Eg(t){this.a=t}function fd(t){this.a=t}function pv(t){this.a=t}function Cm(t){this.a=t}function p6(t){this.a=t}function P3(t){this.a=t}function b6(t){this.a=t}function TT(t){this.a=t}function N3(t){this.a=t}function Vd(t){this.a=t}function C1(t){this.a=t}function Gd(t){this.a=t}function _T(t){this.a=t}function U2(t){this.a=t}function iR(t){this.a=t}function Itt(t){this.a=t}function Ott(t){this.a=t}function Ptt(t){this.a=t}function Ntt(t){this.a=t}function Ftt(t){this.a=t}function Btt(t){this.a=t}function Rtt(t){this.a=t}function Wk(t){this.a=t}function cM(t){this.a=t}function CT(t){this.a=t}function sR(t){this.a=t}function aR(t){this.a=t}function jtt(t){this.a=t}function Sp(t){this.a=t}function uM(t){this.a=t}function oR(t){this.a=t}function Kk(t){this.c=t}function Ap(t){this.b=t}function $tt(t){this.a=t}function i$t(t){this.a=t}function s$t(t){this.a=t}function a$t(t){this.a=t}function o$t(t){this.a=t}function c$t(t){this.a=t}function u$t(t){this.a=t}function l$t(t){this.a=t}function h$t(t){this.a=t}function f$t(t){this.a=t}function d$t(t){this.a=t}function g$t(t){this.a=t}function p$t(t){this.a=t}function b$t(t){this.a=t}function v$t(t){this.a=t}function w$t(t){this.a=t}function m$t(t){this.a=t}function y$t(t){this.a=t}function x$t(t){this.a=t}function k$t(t){this.a=t}function E$t(t){this.a=t}function T$t(t){this.a=t}function _$t(t){this.a=t}function C$t(t){this.a=t}function Lp(t){this.a=t}function v6(t){this.a=t}function S$t(t){this.a=t}function A$t(t){this.a=t}function L$t(t){this.a=t}function M$t(t){this.a=t}function D$t(t){this.a=t}function I$t(t){this.a=t}function O$t(t){this.a=t}function P$t(t){this.a=t}function N$t(t){this.a=t}function F$t(t){this.a=t}function B$t(t){this.a=t}function R$t(t){this.a=t}function j$t(t){this.a=t}function $$t(t){this.a=t}function z$t(t){this.a=t}function q$t(t){this.a=t}function cR(t){this.a=t}function H$t(t){this.a=t}function V$t(t){this.a=t}function G$t(t){this.a=t}function U$t(t){this.a=t}function W$t(t){this.a=t}function K$t(t){this.a=t}function Y$t(t){this.a=t}function X$t(t){this.a=t}function Q$t(t){this.a=t}function Z$t(t){this.a=t}function J$t(t){this.a=t}function tzt(t){this.a=t}function ezt(t){this.a=t}function nzt(t){this.a=t}function rzt(t){this.a=t}function izt(t){this.a=t}function szt(t){this.a=t}function azt(t){this.a=t}function ozt(t){this.a=t}function czt(t){this.a=t}function uzt(t){this.a=t}function lzt(t){this.a=t}function hzt(t){this.a=t}function fzt(t){this.a=t}function dzt(t){this.a=t}function gzt(t){this.a=t}function pzt(t){this.a=t}function bzt(t){this.a=t}function dpt(t){this.a=t}function ns(t){this.b=t}function vzt(t){this.f=t}function gpt(t){this.a=t}function wzt(t){this.a=t}function mzt(t){this.a=t}function yzt(t){this.a=t}function xzt(t){this.a=t}function kzt(t){this.a=t}function Ezt(t){this.a=t}function Tzt(t){this.a=t}function _zt(t){this.a=t}function lM(t){this.a=t}function Czt(t){this.a=t}function Szt(t){this.b=t}function ppt(t){this.c=t}function uR(t){this.e=t}function Azt(t){this.a=t}function lR(t){this.a=t}function hR(t){this.a=t}function ztt(t){this.a=t}function Lzt(t){this.a=t}function Mzt(t){this.d=t}function bpt(t){this.a=t}function vpt(t){this.a=t}function bv(t){this.e=t}function HWe(){this.a=0}function F3(){uUt(this)}function ge(){Yet(this)}function Br(){al(this)}function qtt(){dXt(this)}function Dzt(){}function vv(){this.c=QAt}function VWe(t,e){e.Wb(t)}function Izt(t,e){t.b+=e}function Ozt(t){t.b=new set}function et(t){return t.e}function GWe(t){return t.a}function UWe(t){return t.a}function WWe(t){return t.a}function KWe(t){return t.a}function YWe(t){return t.a}function XWe(){return null}function QWe(){return null}function ZWe(){r2t(),u5n()}function JWe(t){t.b.tf(t.e)}function ST(t,e){t.b=e-t.b}function AT(t,e){t.a=e-t.a}function Pzt(t,e){e.ad(t.a)}function tKe(t,e){Qs(e,t)}function eKe(t,e,n){t.Od(n,e)}function hM(t,e){t.e=e,e.b=t}function wpt(t){wd(),this.a=t}function Nzt(t){wd(),this.a=t}function Fzt(t){wd(),this.a=t}function mpt(t){Vm(),this.a=t}function Bzt(t){_8(),kut.be(t)}function W2(){UUt.call(this)}function ypt(){UUt.call(this)}function xpt(){W2.call(this)}function Htt(){W2.call(this)}function Rzt(){W2.call(this)}function fM(){W2.call(this)}function qu(){W2.call(this)}function LT(){W2.call(this)}function Gr(){W2.call(this)}function uh(){W2.call(this)}function jzt(){W2.call(this)}function _c(){W2.call(this)}function $zt(){W2.call(this)}function zzt(){this.a=this}function fR(){this.Bb|=256}function qzt(){this.b=new VGt}function kpt(){kpt=X,new Br}function Ept(){xpt.call(this)}function Hzt(t,e){t.length=e}function dR(t,e){de(t.a,e)}function nKe(t,e){P4t(t.c,e)}function rKe(t,e){Ys(t.b,e)}function iKe(t,e){Vz(t.a,e)}function sKe(t,e){Fit(t.a,e)}function Yk(t,e){Oi(t.e,e)}function w6(t){aq(t.c,t.b)}function aKe(t,e){t.kc().Nb(e)}function Tpt(t){this.a=iln(t)}function na(){this.a=new Br}function Vzt(){this.a=new Br}function gR(){this.a=new ge}function Vtt(){this.a=new ge}function _pt(){this.a=new ge}function Dh(){this.a=new Ba}function K2(){this.a=new xJt}function Cpt(){this.a=new LE}function Spt(){this.a=new aVt}function Gzt(){this.a=new KQt}function Apt(){this.a=new lQt}function Lpt(){this.a=new PWt}function Uzt(){this.a=new ge}function Mpt(){this.a=new ge}function Wzt(){this.a=new ge}function Kzt(){this.a=new ge}function Yzt(){this.d=new ge}function Xzt(){this.a=new na}function Qzt(){this.a=new Br}function Zzt(){this.b=new Br}function Jzt(){this.b=new ge}function Dpt(){this.e=new ge}function tqt(){this.d=new ge}function eqt(){this.a=new HJ}function nqt(){ge.call(this)}function Ipt(){gR.call(this)}function rqt(){Ej.call(this)}function iqt(){Mpt.call(this)}function Gtt(){MT.call(this)}function MT(){Dzt.call(this)}function m6(){Dzt.call(this)}function Opt(){m6.call(this)}function sqt(){zXt.call(this)}function aqt(){zXt.call(this)}function oqt(){$pt.call(this)}function cqt(){$pt.call(this)}function uqt(){$pt.call(this)}function lqt(){zpt.call(this)}function Hu(){hs.call(this)}function Ppt(){ym.call(this)}function Npt(){ym.call(this)}function hqt(){Sqt.call(this)}function fqt(){Sqt.call(this)}function dqt(){Br.call(this)}function gqt(){Br.call(this)}function pqt(){Br.call(this)}function bqt(){na.call(this)}function Utt(){Nee.call(this)}function vqt(){fR.call(this)}function Wtt(){hbt.call(this)}function Ktt(){hbt.call(this)}function Fpt(){Br.call(this)}function Ytt(){Br.call(this)}function wqt(){Br.call(this)}function Bpt(){Sk.call(this)}function mqt(){Sk.call(this)}function yqt(){Bpt.call(this)}function xqt(){KL.call(this)}function kqt(t){aee.call(this,t)}function Eqt(t){aee.call(this,t)}function Rpt(t){tM.call(this,t)}function jpt(t){XHt.call(this,t)}function oKe(t){jpt.call(this,t)}function cKe(t){XHt.call(this,t)}function Xk(){this.a=new hs}function $pt(){this.a=new na}function zpt(){this.a=new Br}function Tqt(){this.a=new ge}function _qt(){this.j=new ge}function qpt(){this.a=new WF}function Cqt(){this.a=new xHt}function Sqt(){this.a=new JF}function Xtt(){Xtt=X,but=new Gqt}function Qtt(){Qtt=X,put=new Vqt}function DT(){DT=X,gut=new A}function pR(){pR=X,mut=new VUt}function uKe(t){jpt.call(this,t)}function lKe(t){jpt.call(this,t)}function Aqt(t){Lrt.call(this,t)}function Lqt(t){Lrt.call(this,t)}function Mqt(t){nKt.call(this,t)}function Ztt(t){M0n.call(this,t)}function wv(t){Mm.call(this,t)}function IT(t){SR.call(this,t)}function Hpt(t){SR.call(this,t)}function Dqt(t){SR.call(this,t)}function ic(t){bYt.call(this,t)}function Iqt(t){ic.call(this,t)}function y6(){Vk.call(this,{})}function bR(t){l8(),this.a=t}function OT(t){t.b=null,t.c=0}function hKe(t,e){t.e=e,Oce(t,e)}function fKe(t,e){t.a=e,bgn(t)}function Jtt(t,e,n){t.a[e.g]=n}function dKe(t,e,n){I1n(n,t,e)}function gKe(t,e){jQe(e.i,t.n)}function Oqt(t,e){$cn(t).td(e)}function pKe(t,e){return t*t/e}function Pqt(t,e){return t.g-e.g}function bKe(t){return new yT(t)}function vKe(t){return new Hm(t)}function vR(t){ic.call(this,t)}function Po(t){ic.call(this,t)}function Nqt(t){ic.call(this,t)}function tet(t){bYt.call(this,t)}function eet(t){oyt(),this.a=t}function Fqt(t){cKt(),this.a=t}function Sm(t){Ont(),this.f=t}function net(t){Ont(),this.f=t}function Qk(t){ic.call(this,t)}function Bn(t){ic.call(this,t)}function Xo(t){ic.call(this,t)}function Bqt(t){ic.call(this,t)}function x6(t){ic.call(this,t)}function je(t){return Pn(t),t}function Zt(t){return Pn(t),t}function dM(t){return Pn(t),t}function Vpt(t){return Pn(t),t}function wKe(t){return Pn(t),t}function PT(t){return t.b==t.c}function Am(t){return!!t&&t.b}function mKe(t){return!!t&&t.k}function yKe(t){return!!t&&t.j}function Al(t){Pn(t),this.a=t}function Gpt(t){return fb(t),t}function NT(t){rwt(t,t.length)}function Tg(t){ic.call(this,t)}function dd(t){ic.call(this,t)}function ret(t){ic.call(this,t)}function B3(t){ic.call(this,t)}function FT(t){ic.call(this,t)}function Kr(t){ic.call(this,t)}function iet(t){Lbt.call(this,t,0)}function set(){Bwt.call(this,12,3)}function Upt(){Upt=X,W8t=new Et}function Rqt(){Rqt=X,U8t=new C}function wR(){wR=X,sS=new Tt}function jqt(){jqt=X,gge=new vt}function $qt(){throw et(new Gr)}function Wpt(){throw et(new Gr)}function zqt(){throw et(new Gr)}function xKe(){throw et(new Gr)}function kKe(){throw et(new Gr)}function EKe(){throw et(new Gr)}function aet(){this.a=Yr(zr(oo))}function k6(t){wd(),this.a=zr(t)}function qqt(t,e){t.Td(e),e.Sd(t)}function TKe(t,e){t.a.ec().Mc(e)}function _Ke(t,e,n){t.c.lf(e,n)}function Kpt(t){Po.call(this,t)}function gd(t){Bn.call(this,t)}function _g(){g6.call(this,"")}function BT(){g6.call(this,"")}function Mp(){g6.call(this,"")}function Lm(){g6.call(this,"")}function Ypt(t){Po.call(this,t)}function Zk(t){T.call(this,t)}function oet(t){gj.call(this,t)}function Hqt(t){Zk.call(this,t)}function Vqt(){wT.call(this,null)}function Gqt(){wT.call(this,null)}function mR(){mR=X,_8()}function Uqt(){Uqt=X,Tge=sdn()}function Wqt(t){return t.a?t.b:0}function CKe(t){return t.a?t.b:0}function SKe(t,e){return t.a-e.a}function AKe(t,e){return t.a-e.a}function LKe(t,e){return t.a-e.a}function yR(t,e){return Smt(t,e)}function ot(t,e){return dQt(t,e)}function MKe(t,e){return e in t.a}function Kqt(t,e){return t.f=e,t}function DKe(t,e){return t.b=e,t}function Yqt(t,e){return t.c=e,t}function IKe(t,e){return t.g=e,t}function Xpt(t,e){return t.a=e,t}function Qpt(t,e){return t.f=e,t}function OKe(t,e){return t.k=e,t}function Zpt(t,e){return t.a=e,t}function PKe(t,e){return t.e=e,t}function Jpt(t,e){return t.e=e,t}function NKe(t,e){return t.f=e,t}function FKe(t,e){t.b=!0,t.d=e}function BKe(t,e){t.b=new No(e)}function RKe(t,e,n){e.td(t.a[n])}function jKe(t,e,n){e.we(t.a[n])}function $Ke(t,e){return t.b-e.b}function zKe(t,e){return t.g-e.g}function qKe(t,e){return t.s-e.s}function HKe(t,e){return t?0:e-1}function Xqt(t,e){return t?0:e-1}function VKe(t,e){return t?e-1:0}function GKe(t,e){return e.Yf(t)}function mv(t,e){return t.b=e,t}function xR(t,e){return t.a=e,t}function yv(t,e){return t.c=e,t}function xv(t,e){return t.d=e,t}function kv(t,e){return t.e=e,t}function t2t(t,e){return t.f=e,t}function RT(t,e){return t.a=e,t}function Jk(t,e){return t.b=e,t}function t8(t,e){return t.c=e,t}function Je(t,e){return t.c=e,t}function yn(t,e){return t.b=e,t}function tn(t,e){return t.d=e,t}function en(t,e){return t.e=e,t}function UKe(t,e){return t.f=e,t}function nn(t,e){return t.g=e,t}function rn(t,e){return t.a=e,t}function sn(t,e){return t.i=e,t}function an(t,e){return t.j=e,t}function Qqt(t,e){return t.k=e,t}function WKe(t,e){return t.j=e,t}function KKe(t,e){n2(),ac(e,t)}function YKe(t,e,n){Htn(t.a,e,n)}function Zqt(t){pXt.call(this,t)}function e2t(t){pXt.call(this,t)}function kR(t){bnt.call(this,t)}function Jqt(t){fln.call(this,t)}function Dp(t){Wv.call(this,t)}function tHt(t){irt.call(this,t)}function eHt(t){irt.call(this,t)}function nHt(){abt.call(this,"")}function $a(){this.a=0,this.b=0}function rHt(){this.b=0,this.a=0}function iHt(t,e){t.b=0,ty(t,e)}function XKe(t,e){t.c=e,t.b=!0}function sHt(t,e){return t.c._b(e)}function Kf(t){return t.e&&t.e()}function cet(t){return t?t.d:null}function aHt(t,e){return Ire(t.b,e)}function QKe(t){return t?t.g:null}function ZKe(t){return t?t.i:null}function Ip(t){return D0(t),t.o}function Ev(){Ev=X,k4e=b1n()}function oHt(){oHt=X,da=Adn()}function e8(){e8=X,XAt=w1n()}function cHt(){cHt=X,a5e=v1n()}function n2t(){n2t=X,Mc=dgn()}function r2t(){r2t=X,A2=q8()}function uHt(){throw et(new Gr)}function lHt(){throw et(new Gr)}function hHt(){throw et(new Gr)}function fHt(){throw et(new Gr)}function dHt(){throw et(new Gr)}function gHt(){throw et(new Gr)}function ER(t){this.a=new E6(t)}function i2t(t){uhe(),k5n(this,t)}function Op(t){this.a=new Bnt(t)}function R3(t,e){for(;t.ye(e););}function s2t(t,e){for(;t.sd(e););}function j3(t,e){return t.a+=e,t}function uet(t,e){return t.a+=e,t}function Cg(t,e){return t.a+=e,t}function Tv(t,e){return t.a+=e,t}function jT(t){return Vp(t),t.a}function TR(t){return t.b!=t.d.c}function pHt(t){return t.l|t.m<<22}function a2t(t,e){return t.d[e.p]}function bHt(t,e){return nvn(t,e)}function o2t(t,e,n){t.splice(e,n)}function vHt(t){t.c?tue(t):eue(t)}function _R(t){this.a=0,this.b=t}function wHt(){this.a=new bI(uCt)}function mHt(){this.b=new bI(Y_t)}function yHt(){this.b=new bI(zht)}function xHt(){this.b=new bI(zht)}function kHt(){throw et(new Gr)}function EHt(){throw et(new Gr)}function THt(){throw et(new Gr)}function _Ht(){throw et(new Gr)}function CHt(){throw et(new Gr)}function SHt(){throw et(new Gr)}function AHt(){throw et(new Gr)}function LHt(){throw et(new Gr)}function MHt(){throw et(new Gr)}function DHt(){throw et(new Gr)}function JKe(){throw et(new _c)}function tYe(){throw et(new _c)}function gM(t){this.a=new IHt(t)}function IHt(t){hon(this,t,hdn())}function pM(t){return!t||JYt(t)}function bM(t){return td[t]!=-1}function eYe(){HH!=0&&(HH=0),VH=-1}function OHt(){dut==null&&(dut=[])}function nYe(t,e){Hst(Kt(t.a),e)}function rYe(t,e){Hst(Kt(t.a),e)}function vM(t,e){K3.call(this,t,e)}function n8(t,e){vM.call(this,t,e)}function c2t(t,e){this.b=t,this.c=e}function PHt(t,e){this.b=t,this.a=e}function NHt(t,e){this.a=t,this.b=e}function FHt(t,e){this.a=t,this.b=e}function BHt(t,e){this.a=t,this.b=e}function RHt(t,e){this.a=t,this.b=e}function jHt(t,e){this.a=t,this.b=e}function $Ht(t,e){this.a=t,this.b=e}function zHt(t,e){this.a=t,this.b=e}function qHt(t,e){this.a=t,this.b=e}function HHt(t,e){this.b=t,this.a=e}function VHt(t,e){this.b=t,this.a=e}function GHt(t,e){this.b=t,this.a=e}function UHt(t,e){this.b=t,this.a=e}function ri(t,e){this.f=t,this.g=e}function r8(t,e){this.e=t,this.d=e}function _v(t,e){this.g=t,this.i=e}function het(t,e){this.a=t,this.b=e}function WHt(t,e){this.a=t,this.f=e}function KHt(t,e){this.b=t,this.c=e}function iYe(t,e){this.a=t,this.b=e}function YHt(t,e){this.a=t,this.b=e}function fet(t,e){this.a=t,this.b=e}function XHt(t){wbt(t.dc()),this.c=t}function CR(t){this.b=u(zr(t),83)}function QHt(t){this.a=u(zr(t),83)}function Mm(t){this.a=u(zr(t),15)}function ZHt(t){this.a=u(zr(t),15)}function SR(t){this.b=u(zr(t),47)}function AR(){this.q=new b.Date}function Ud(){Ud=X,c7t=new Bt}function i8(){i8=X,J7=new Nt}function $T(t){return t.f.c+t.g.c}function wM(t,e){return t.b.Hc(e)}function JHt(t,e){return t.b.Ic(e)}function tVt(t,e){return t.b.Qc(e)}function eVt(t,e){return t.b.Hc(e)}function nVt(t,e){return t.c.uc(e)}function L0(t,e){return t.a._b(e)}function rVt(t,e){return Pi(t.c,e)}function iVt(t,e){return Il(t.b,e)}function sVt(t,e){return t>e&&e<AC}function sYe(t,e){return t.Gc(e),t}function aYe(t,e){return so(t,e),t}function oYe(t){return KYt(),t?dge:fge}function E6(t){Vne.call(this,t,0)}function aVt(){Bnt.call(this,null)}function u2t(){jrt.call(this,null)}function T6(t){this.c=t,jte(this)}function hs(){vUt(this),Ph(this)}function Ts(t,e){Vp(t),t.a.Nb(e)}function oVt(t,e){return t.Gc(e),t}function cYe(t,e){return t.a.f=e,t}function cVt(t,e){return t.a.d=e,t}function uVt(t,e){return t.a.g=e,t}function lVt(t,e){return t.a.j=e,t}function ff(t,e){return t.a.a=e,t}function df(t,e){return t.a.d=e,t}function gf(t,e){return t.a.e=e,t}function pf(t,e){return t.a.g=e,t}function mM(t,e){return t.a.f=e,t}function uYe(t){return t.b=!1,t}function s8(){s8=X,y7t=new GGt}function LR(){LR=X,Cge=new UGt}function a8(){a8=X,C7t=new he}function hVt(){hVt=X,C2e=new pm}function MR(){MR=X,Rut=new rWt}function Y2(){Y2=X,t9=new os}function zT(){zT=X,A2e=new kL}function fVt(){fVt=X,Fge=new Gn}function l2t(){l2t=X,p2e=new ME}function yM(){yM=X,D2e=new $a}function dVt(){dVt=X,b2e=new gm}function h2t(){h2t=X,v2e=new cYt}function f2t(){f2t=X,E9t=new dm}function xM(){xM=X,I2e=new OE}function gVt(){gVt=X,F2e=new uv}function qT(){qT=X,q2e=new SX}function DR(){DR=X,q4=new RX}function pVt(){pVt=X,lye=new ra}function IR(){IR=X,qht=new vVt}function OR(){OR=X,Hht=new vWt}function HT(){HT=X,qO=new oXt}function PR(){PR=X,Iwe=new $Z}function bVt(){Bee(),this.c=new set}function vVt(){ri.call(this,s1e,0)}function Cv(t,e){vb(t.c.b,e.c,e)}function VT(t,e){vb(t.c.c,e.b,e)}function lYe(t,e,n){Fo(t.d,e.f,n)}function hYe(t,e,n,r){zhn(t,r,e,n)}function fYe(t,e,n,r){ubn(r,t,e,n)}function dYe(t,e,n,r){C4n(r,t,e,n)}function NR(t,e){return t.a=e.g,t}function wVt(t,e){return Xfn(t.a,e)}function gYe(t){return t.b?t.b:t.a}function pYe(t){return(t.c+t.a)/2}function Dm(){Dm=X,y4e=new VZ}function mVt(){mVt=X,A4e=new GZ}function yVt(){yVt=X,z4e=new gqt}function xVt(){xVt=X,q4e=new pqt}function Pp(){Pp=X,tf=new Fpt}function d2t(){d2t=X,YAt=new wqt}function GT(){GT=X,Sft=new EUt}function Sg(){Sg=X,gP=new TUt}function det(){det=X,n5e=new pJ}function po(){po=X,i5e=new bJ}function FR(){FR=X,iU=new Br}function g2t(){g2t=X,aLt=new ge}function Np(){Np=X,I2=new MJ}function bYe(t){b.clearTimeout(t)}function p2t(t){this.a=u(zr(t),224)}function BR(t){return u(t,42).cd()}function kM(t){return t.b<t.d.gc()}function kVt(t,e){return Mnt(t.a,e)}function EVt(t,e){return Oc(t,e)>0}function get(t,e){return Oc(t,e)<0}function UT(t,e){return t.a.get(e)}function vYe(t,e){return e.split(t)}function TVt(t,e){return Il(t.e,e)}function b2t(t){return Pn(t),!1}function RR(t){_n.call(this,t,21)}function wYe(t,e){eQt.call(this,t,e)}function jR(t,e){ri.call(this,t,e)}function pet(t,e){ri.call(this,t,e)}function v2t(t){Xnt(),nKt.call(this,t)}function w2t(t,e){sYt(t,t.length,e)}function EM(t,e){PYt(t,t.length,e)}function mYe(t,e,n){e.ud(t.a.Ge(n))}function yYe(t,e,n){e.we(t.a.Fe(n))}function xYe(t,e,n){e.td(t.a.Kb(n))}function kYe(t,e,n){t.Mb(n)&&e.td(n)}function WT(t,e,n){t.splice(e,0,n)}function EYe(t,e){return Gu(t.e,e)}function $R(t,e){this.d=t,this.e=e}function _Vt(t,e){this.b=t,this.a=e}function CVt(t,e){this.b=t,this.a=e}function m2t(t,e){this.b=t,this.a=e}function SVt(t,e){this.a=t,this.b=e}function AVt(t,e){this.a=t,this.b=e}function LVt(t,e){this.a=t,this.b=e}function MVt(t,e){this.a=t,this.b=e}function _6(t,e){this.a=t,this.b=e}function y2t(t,e){this.b=t,this.a=e}function x2t(t,e){this.b=t,this.a=e}function zR(t,e){ri.call(this,t,e)}function qR(t,e){ri.call(this,t,e)}function k2t(t,e){ri.call(this,t,e)}function E2t(t,e){ri.call(this,t,e)}function $3(t,e){ri.call(this,t,e)}function bet(t,e){ri.call(this,t,e)}function vet(t,e){ri.call(this,t,e)}function wet(t,e){ri.call(this,t,e)}function HR(t,e){ri.call(this,t,e)}function T2t(t,e){ri.call(this,t,e)}function met(t,e){ri.call(this,t,e)}function TM(t,e){ri.call(this,t,e)}function VR(t,e){ri.call(this,t,e)}function yet(t,e){ri.call(this,t,e)}function KT(t,e){ri.call(this,t,e)}function _2t(t,e){ri.call(this,t,e)}function Os(t,e){ri.call(this,t,e)}function GR(t,e){ri.call(this,t,e)}function DVt(t,e){this.a=t,this.b=e}function IVt(t,e){this.a=t,this.b=e}function OVt(t,e){this.a=t,this.b=e}function PVt(t,e){this.a=t,this.b=e}function NVt(t,e){this.a=t,this.b=e}function FVt(t,e){this.a=t,this.b=e}function BVt(t,e){this.a=t,this.b=e}function RVt(t,e){this.a=t,this.b=e}function jVt(t,e){this.a=t,this.b=e}function C2t(t,e){this.b=t,this.a=e}function $Vt(t,e){this.b=t,this.a=e}function zVt(t,e){this.b=t,this.a=e}function qVt(t,e){this.b=t,this.a=e}function o8(t,e){this.c=t,this.d=e}function HVt(t,e){this.e=t,this.d=e}function VVt(t,e){this.a=t,this.b=e}function GVt(t,e){this.b=e,this.c=t}function UR(t,e){ri.call(this,t,e)}function _M(t,e){ri.call(this,t,e)}function xet(t,e){ri.call(this,t,e)}function YT(t,e){ri.call(this,t,e)}function S2t(t,e){ri.call(this,t,e)}function ket(t,e){ri.call(this,t,e)}function Eet(t,e){ri.call(this,t,e)}function CM(t,e){ri.call(this,t,e)}function A2t(t,e){ri.call(this,t,e)}function Tet(t,e){ri.call(this,t,e)}function XT(t,e){ri.call(this,t,e)}function L2t(t,e){ri.call(this,t,e)}function QT(t,e){ri.call(this,t,e)}function ZT(t,e){ri.call(this,t,e)}function Im(t,e){ri.call(this,t,e)}function _et(t,e){ri.call(this,t,e)}function Cet(t,e){ri.call(this,t,e)}function M2t(t,e){ri.call(this,t,e)}function JT(t,e){ri.call(this,t,e)}function Aet(t,e){ri.call(this,t,e)}function WR(t,e){ri.call(this,t,e)}function SM(t,e){ri.call(this,t,e)}function AM(t,e){ri.call(this,t,e)}function C6(t,e){ri.call(this,t,e)}function Let(t,e){ri.call(this,t,e)}function D2t(t,e){ri.call(this,t,e)}function Met(t,e){ri.call(this,t,e)}function Det(t,e){ri.call(this,t,e)}function I2t(t,e){ri.call(this,t,e)}function Iet(t,e){ri.call(this,t,e)}function Oet(t,e){ri.call(this,t,e)}function Pet(t,e){ri.call(this,t,e)}function Net(t,e){ri.call(this,t,e)}function O2t(t,e){ri.call(this,t,e)}function UVt(t,e){this.b=t,this.a=e}function WVt(t,e){this.a=t,this.b=e}function KVt(t,e){this.a=t,this.b=e}function YVt(t,e){this.a=t,this.b=e}function XVt(t,e){this.a=t,this.b=e}function P2t(t,e){ri.call(this,t,e)}function N2t(t,e){ri.call(this,t,e)}function QVt(t,e){this.b=t,this.d=e}function F2t(t,e){ri.call(this,t,e)}function B2t(t,e){ri.call(this,t,e)}function ZVt(t,e){this.a=t,this.b=e}function JVt(t,e){this.a=t,this.b=e}function KR(t,e){ri.call(this,t,e)}function t_(t,e){ri.call(this,t,e)}function R2t(t,e){ri.call(this,t,e)}function j2t(t,e){ri.call(this,t,e)}function $2t(t,e){ri.call(this,t,e)}function Fet(t,e){ri.call(this,t,e)}function z2t(t,e){ri.call(this,t,e)}function Bet(t,e){ri.call(this,t,e)}function YR(t,e){ri.call(this,t,e)}function Ret(t,e){ri.call(this,t,e)}function jet(t,e){ri.call(this,t,e)}function LM(t,e){ri.call(this,t,e)}function $et(t,e){ri.call(this,t,e)}function q2t(t,e){ri.call(this,t,e)}function MM(t,e){ri.call(this,t,e)}function H2t(t,e){ri.call(this,t,e)}function TYe(t,e){return Gu(t.c,e)}function _Ye(t,e){return Gu(e.b,t)}function CYe(t,e){return-t.b.Je(e)}function V2t(t,e){return Gu(t.g,e)}function DM(t,e){ri.call(this,t,e)}function S6(t,e){ri.call(this,t,e)}function tGt(t,e){this.a=t,this.b=e}function eGt(t,e){this.a=t,this.b=e}function $e(t,e){this.a=t,this.b=e}function e_(t,e){ri.call(this,t,e)}function n_(t,e){ri.call(this,t,e)}function IM(t,e){ri.call(this,t,e)}function zet(t,e){ri.call(this,t,e)}function XR(t,e){ri.call(this,t,e)}function r_(t,e){ri.call(this,t,e)}function qet(t,e){ri.call(this,t,e)}function QR(t,e){ri.call(this,t,e)}function z3(t,e){ri.call(this,t,e)}function OM(t,e){ri.call(this,t,e)}function i_(t,e){ri.call(this,t,e)}function s_(t,e){ri.call(this,t,e)}function PM(t,e){ri.call(this,t,e)}function ZR(t,e){ri.call(this,t,e)}function q3(t,e){ri.call(this,t,e)}function JR(t,e){ri.call(this,t,e)}function nGt(t,e){this.a=t,this.b=e}function rGt(t,e){this.a=t,this.b=e}function iGt(t,e){this.a=t,this.b=e}function sGt(t,e){this.a=t,this.b=e}function aGt(t,e){this.a=t,this.b=e}function oGt(t,e){this.a=t,this.b=e}function Ca(t,e){this.a=t,this.b=e}function tj(t,e){ri.call(this,t,e)}function cGt(t,e){this.a=t,this.b=e}function uGt(t,e){this.a=t,this.b=e}function lGt(t,e){this.a=t,this.b=e}function hGt(t,e){this.a=t,this.b=e}function fGt(t,e){this.a=t,this.b=e}function dGt(t,e){this.a=t,this.b=e}function gGt(t,e){this.b=t,this.a=e}function pGt(t,e){this.b=t,this.a=e}function bGt(t,e){this.b=t,this.a=e}function vGt(t,e){this.b=t,this.a=e}function wGt(t,e){this.a=t,this.b=e}function mGt(t,e){this.a=t,this.b=e}function SYe(t,e){rbn(t.a,u(e,56))}function yGt(t,e){pan(t.a,u(e,11))}function AYe(t,e){return p8(),e!=t}function xGt(){return Uqt(),new Tge}function kGt(){prt(),this.b=new na}function EGt(){dq(),this.a=new na}function TGt(){Fwt(),Gvt.call(this)}function A6(t,e){ri.call(this,t,e)}function _Gt(t,e){this.a=t,this.b=e}function CGt(t,e){this.a=t,this.b=e}function ej(t,e){this.a=t,this.b=e}function SGt(t,e){this.a=t,this.b=e}function AGt(t,e){this.a=t,this.b=e}function LGt(t,e){this.a=t,this.b=e}function MGt(t,e){this.d=t,this.b=e}function G2t(t,e){this.d=t,this.e=e}function DGt(t,e){this.f=t,this.c=e}function NM(t,e){this.b=t,this.c=e}function U2t(t,e){this.i=t,this.g=e}function IGt(t,e){this.e=t,this.a=e}function OGt(t,e){this.a=t,this.b=e}function W2t(t,e){t.i=null,rz(t,e)}function LYe(t,e){t&&Ni(hP,t,e)}function PGt(t,e){return Wit(t.a,e)}function nj(t){return KD(t.c,t.b)}function gc(t){return t?t.dd():null}function Ut(t){return t??null}function Om(t){return typeof t===lx}function Pm(t){return typeof t===C6t}function pa(t){return typeof t===Oat}function Fp(t,e){return t.Hd().Xb(e)}function rj(t,e){return Gon(t.Kc(),e)}function Sv(t,e){return Oc(t,e)==0}function MYe(t,e){return Oc(t,e)>=0}function a_(t,e){return Oc(t,e)!=0}function DYe(t){return""+(Pn(t),t)}function FM(t,e){return t.substr(e)}function NGt(t){return vl(t),t.d.gc()}function Het(t){return Spn(t,t.c),t}function ij(t){return m_(t==null),t}function o_(t,e){return t.a+=""+e,t}function Ao(t,e){return t.a+=""+e,t}function c_(t,e){return t.a+=""+e,t}function Cc(t,e){return t.a+=""+e,t}function ii(t,e){return t.a+=""+e,t}function K2t(t,e){return t.a+=""+e,t}function FGt(t,e){Cs(t,e,t.a,t.a.a)}function X2(t,e){Cs(t,e,t.c.b,t.c)}function IYe(t,e,n){Gse(e,Fst(t,n))}function OYe(t,e,n){Gse(e,Fst(t,n))}function PYe(t,e){Can(new hr(t),e)}function BGt(t,e){t.q.setTime(Vv(e))}function RGt(t,e){twt.call(this,t,e)}function jGt(t,e){twt.call(this,t,e)}function Vet(t,e){twt.call(this,t,e)}function $Gt(t){al(this),G_(this,t)}function Y2t(t){return An(t,0),null}function Yf(t){return t.a=0,t.b=0,t}function zGt(t,e){return t.a=e.g+1,t}function NYe(t,e){return t.j[e.p]==2}function X2t(t){return ven(u(t,79))}function qGt(){qGt=X,wpe=ai(Jit())}function HGt(){HGt=X,N2e=ai(_ce())}function VGt(){this.b=new E6(Qm(12))}function GGt(){this.b=0,this.a=!1}function UGt(){this.b=0,this.a=!1}function u_(t){this.a=t,fT.call(this)}function WGt(t){this.a=t,fT.call(this)}function vn(t,e){Ks.call(this,t,e)}function Get(t,e){jm.call(this,t,e)}function H3(t,e){U2t.call(this,t,e)}function Uet(t,e){W8.call(this,t,e)}function KGt(t,e){BM.call(this,t,e)}function vi(t,e){FR(),Ni(iU,t,e)}function Wet(t,e){return $l(t.a,0,e)}function YGt(t,e){return t.a.a.a.cc(e)}function XGt(t,e){return Ut(t)===Ut(e)}function FYe(t,e){return Vs(t.a,e.a)}function BYe(t,e){return Tu(t.a,e.a)}function RYe(t,e){return DYt(t.a,e.a)}function pd(t,e){return t.indexOf(e)}function Av(t,e){return t==e?0:t?1:-1}function sj(t){return t<10?"0"+t:""+t}function jYe(t){return zr(t),new u_(t)}function QGt(t){return hu(t.l,t.m,t.h)}function c8(t){return Ds((Pn(t),t))}function $Ye(t){return Ds((Pn(t),t))}function ZGt(t,e){return Tu(t.g,e.g)}function Qo(t){return typeof t===C6t}function zYe(t){return t==_w||t==Iy}function qYe(t){return t==_w||t==Dy}function Q2t(t){return Zo(t.b.b,t,0)}function JGt(t){this.a=xGt(),this.b=t}function tUt(t){this.a=xGt(),this.b=t}function HYe(t,e){return de(t.a,e),e}function VYe(t,e){return de(t.c,e),t}function eUt(t,e){return Ul(t.a,e),t}function GYe(t,e){return vf(),e.a+=t}function UYe(t,e){return vf(),e.a+=t}function WYe(t,e){return vf(),e.c+=t}function Z2t(t,e){O8(t,0,t.length,e)}function M0(){kt.call(this,new ib)}function nUt(){Rj.call(this,0,0,0,0)}function L6(){fh.call(this,0,0,0,0)}function No(t){this.a=t.a,this.b=t.b}function Bp(t){return t==Wh||t==Lf}function u8(t){return t==tg||t==J0}function rUt(t){return t==e5||t==t5}function V3(t){return t!=Q1&&t!=T2}function Ll(t){return t.Lg()&&t.Mg()}function iUt(t){return t$(u(t,118))}function aj(t){return Ul(new ra,t)}function sUt(t,e){return new W8(e,t)}function KYe(t,e){return new W8(e,t)}function J2t(t,e,n){Y$(t,e),X$(t,n)}function oj(t,e,n){Xv(t,e),Yv(t,n)}function S1(t,e,n){Du(t,e),Iu(t,n)}function cj(t,e,n){B8(t,e),j8(t,n)}function uj(t,e,n){R8(t,e),$8(t,n)}function Ket(t,e){J8(t,e),z8(t,t.D)}function tbt(t){DGt.call(this,t,!0)}function aUt(t,e,n){Hbt.call(this,t,e,n)}function Rp(t){r2(),Yon.call(this,t)}function oUt(){jR.call(this,"Head",1)}function cUt(){jR.call(this,"Tail",3)}function Yet(t){t.c=Pt(ir,De,1,0,5,1)}function uUt(t){t.a=Pt(ir,De,1,8,5,1)}function lUt(t){Mu(t.xf(),new yr(t))}function G3(t){return t!=null?es(t):0}function YYe(t,e){return Zm(e,M1(t))}function XYe(t,e){return Zm(e,M1(t))}function QYe(t,e){return t[t.length]=e}function ZYe(t,e){return t[t.length]=e}function ebt(t){return QJe(t.b.Kc(),t.a)}function JYe(t,e){return nz(Knt(t.d),e)}function tXe(t,e){return nz(Knt(t.g),e)}function eXe(t,e){return nz(Knt(t.j),e)}function bo(t,e){Ks.call(this,t.b,e)}function Lv(t){Rj.call(this,t,t,t,t)}function nbt(t){return t.b&&bat(t),t.a}function rbt(t){return t.b&&bat(t),t.c}function nXe(t,e){U1||(t.b=e)}function Xet(t,e,n){return ds(t,e,n),n}function hUt(t,e,n){ds(t.c[e.g],e.g,n)}function rXe(t,e,n){u(t.c,69).Xh(e,n)}function iXe(t,e,n){S1(n,n.i+t,n.j+e)}function sXe(t,e){Hr($c(t.a),_Qt(e))}function aXe(t,e){Hr(pl(t.a),CQt(e))}function l_(t){Si(),bv.call(this,t)}function oXe(t){return t==null?0:es(t)}function fUt(){fUt=X,yht=new eC(pft)}function Ur(){Ur=X,new dUt,new ge}function dUt(){new Br,new Br,new Br}function ibt(){ibt=X,kpt(),K8t=new Br}function A1(){A1=X,b.Math.log(2)}function lh(){lh=X,b0=(mVt(),A4e)}function cXe(){throw et(new Tg(J0e))}function uXe(){throw et(new Tg(J0e))}function lXe(){throw et(new Tg(tge))}function hXe(){throw et(new Tg(tge))}function gUt(t){this.a=t,kvt.call(this,t)}function Qet(t){this.a=t,CR.call(this,t)}function Zet(t){this.a=t,CR.call(this,t)}function ua(t,e){Lnt(t.c,t.c.length,e)}function sc(t){return t.a<t.c.c.length}function sbt(t){return t.a<t.c.a.length}function pUt(t,e){return t.a?t.b:e.De()}function Tu(t,e){return t<e?-1:t>e?1:0}function bUt(t,e){return Oc(t,e)>0?t:e}function hu(t,e,n){return{l:t,m:e,h:n}}function fXe(t,e){t.a!=null&&yGt(e,t.a)}function vUt(t){t.a=new Rt,t.c=new Rt}function lj(t){this.b=t,this.a=new ge}function wUt(t){this.b=new wg,this.a=t}function abt(t){Zbt.call(this),this.a=t}function mUt(){jR.call(this,"Range",2)}function yUt(){t4t(),this.a=new bI(k9t)}function dXe(t,e){zr(e),X3(t).Jc(new J)}function gXe(t,e){return zl(),e.n.b+=t}function pXe(t,e,n){return Ni(t.g,n,e)}function bXe(t,e,n){return Ni(t.k,n,e)}function vXe(t,e){return Ni(t.a,e.a,e)}function U3(t,e,n){return y3t(e,n,t.c)}function obt(t){return new $e(t.c,t.d)}function wXe(t){return new $e(t.c,t.d)}function pc(t){return new $e(t.a,t.b)}function xUt(t,e){return z3n(t.a,e,null)}function mXe(t){Wa(t,null),ya(t,null)}function kUt(t){vrt(t,null),wrt(t,null)}function EUt(){BM.call(this,null,null)}function TUt(){wj.call(this,null,null)}function cbt(t){this.a=t,Br.call(this)}function yXe(t){this.b=(pn(),new z(t))}function hj(t){t.j=Pt(o7t,re,310,0,0,1)}function xXe(t,e,n){t.c.Vc(e,u(n,133))}function kXe(t,e,n){t.c.ji(e,u(n,133))}function _Ut(t,e){Pr(t),t.Gc(u(e,15))}function h_(t,e){return r3n(t.c,t.b,e)}function EXe(t,e){return new WUt(t.Kc(),e)}function Jet(t,e){return kcn(t.Kc(),e)!=-1}function ubt(t,e){return t.a.Bc(e)!=null}function fj(t){return t.Ob()?t.Pb():null}function CUt(t){return Fh(t,0,t.length)}function _t(t,e){return t!=null&&rst(t,e)}function TXe(t,e){t.q.setHours(e),yC(t,e)}function SUt(t,e){t.c&&(Ovt(e),JXt(e))}function _Xe(t,e,n){u(t.Kb(n),164).Nb(e)}function CXe(t,e,n){return P3n(t,e,n),n}function AUt(t,e,n){t.a=e^1502,t.b=n^fot}function tnt(t,e,n){return t.a[e.g][n.g]}function L1(t,e){return t.a[e.c.p][e.p]}function SXe(t,e){return t.e[e.c.p][e.p]}function AXe(t,e){return t.c[e.c.p][e.p]}function LXe(t,e){return t.j[e.p]=R2n(e)}function MXe(t,e){return fmt(t.f,e.tg())}function DXe(t,e){return fmt(t.b,e.tg())}function IXe(t,e){return t.a<uvt(e)?-1:1}function OXe(t,e,n){return n?e!=0:e!=t-1}function PXe(t,e,n){return t.a=e,t.b=n,t}function bd(t,e){return t.a*=e,t.b*=e,t}function f_(t,e,n){return ds(t.g,e,n),n}function NXe(t,e,n,r){ds(t.a[e.g],n.g,r)}function FXe(t,e){Fm(e,t.a.a.a,t.a.a.b)}function LUt(t){t.a=u(In(t.b.a,4),126)}function MUt(t){t.a=u(In(t.b.a,4),126)}function BXe(t){rD(t,Sde),Xst(t,R4n(t))}function l8(){l8=X,YH=new bR(null)}function lbt(){lbt=X,lbt(),Sge=new Ce}function hbt(){this.Bb|=256,this.Bb|=512}function hr(t){this.i=t,this.f=this.i.j}function qs(t,e,n){XM.call(this,t,e,n)}function dj(t,e,n){qs.call(this,t,e,n)}function Vu(t,e,n){qs.call(this,t,e,n)}function DUt(t,e,n){dj.call(this,t,e,n)}function fbt(t,e,n){XM.call(this,t,e,n)}function W3(t,e,n){XM.call(this,t,e,n)}function dbt(t,e,n){Lj.call(this,t,e,n)}function IUt(t,e,n){Lj.call(this,t,e,n)}function OUt(t,e,n){dbt.call(this,t,e,n)}function PUt(t,e,n){fbt.call(this,t,e,n)}function K3(t,e){this.a=t,CR.call(this,e)}function NUt(t,e){this.a=t,iet.call(this,e)}function FUt(t,e){this.a=t,iet.call(this,e)}function BUt(t,e){this.a=t,iet.call(this,e)}function gbt(t){this.a=t,att.call(this,t.d)}function jp(t){this.c=t,this.a=this.c.a}function pbt(t,e){this.a=e,iet.call(this,t)}function RUt(t,e){this.a=e,Lrt.call(this,t)}function jUt(t,e){this.a=t,Lrt.call(this,e)}function RXe(t,e){return Zvt(Pnt(t.c)).Xb(e)}function bbt(t,e){return Jun(t,new Mp,e).a}function xr(t,e){return zr(e),new $Ut(t,e)}function $Ut(t,e){this.a=e,SR.call(this,t)}function vbt(t){this.b=t,this.a=this.b.a.e}function zUt(t){t.b.Qb(),--t.d.f.d,$j(t.d)}function qUt(t){wT.call(this,u(zr(t),35))}function HUt(t){wT.call(this,u(zr(t),35))}function VUt(){ri.call(this,"INSTANCE",0)}function wbt(t){if(!t)throw et(new fM)}function mbt(t){if(!t)throw et(new qu)}function ybt(t){if(!t)throw et(new _c)}function GUt(){GUt=X,det(),r5e=new GB}function Rn(){Rn=X,Ob=!1,X7=!0}function Ih(t){g6.call(this,(Pn(t),t))}function jl(t){g6.call(this,(Pn(t),t))}function gj(t){T.call(this,t),this.a=t}function xbt(t){L.call(this,t),this.a=t}function kbt(t){Zk.call(this,t),this.a=t}function UUt(){hj(this),i$(this),this._d()}function WUt(t,e){this.a=e,SR.call(this,t)}function KUt(t,e){return new qae(t.a,t.b,e)}function pj(t,e){return t.lastIndexOf(e)}function Ebt(t,e,n){return t.indexOf(e,n)}function d_(t){return t==null?Nu:tc(t)}function jXe(t){return t==null?null:t.name}function Tbt(t){return t.a!=null?t.a:null}function $Xe(t){return TR(t.a)?MQt(t):null}function ent(t,e){return D_(t.a,e)!=null}function Gu(t,e){return!!e&&t.b[e.g]==e}function Mv(t){return t.$H||(t.$H=++J5n)}function zXe(t){return t.l+t.m*dx+t.h*Eb}function YUt(t,e){return de(e.a,t.a),t.a}function XUt(t,e){return de(e.b,t.a),t.a}function Dv(t,e){return de(e.a,t.a),t.a}function Iv(t){return sr(t.a!=null),t.a}function nnt(t){kt.call(this,new ymt(t))}function _bt(t,e){C3t.call(this,t,e,null)}function g_(t){this.a=t,x.call(this,t)}function bj(){bj=X,tV=new Ks(Sfe,0)}function vj(t,e){return++t.b,de(t.a,e)}function Cbt(t,e){return++t.b,Au(t.a,e)}function qXe(t,e){return Vs(t.n.a,e.n.a)}function HXe(t,e){return Vs(t.c.d,e.c.d)}function VXe(t,e){return Vs(t.c.c,e.c.c)}function _u(t,e){return u(ji(t.b,e),15)}function GXe(t,e){return t.n.b=(Pn(e),e)}function UXe(t,e){return t.n.b=(Pn(e),e)}function p_(t){return sc(t.a)||sc(t.b)}function WXe(t,e,n){return EZt(t,e,n,t.b)}function Sbt(t,e,n){return EZt(t,e,n,t.c)}function Abt(t,e,n){u(xD(t,e),21).Fc(n)}function KXe(t,e,n){Fit(t.a,n),Vz(t.a,e)}function BM(t,e){GT(),this.a=t,this.b=e}function wj(t,e){Sg(),this.b=t,this.c=e}function rnt(t,e){Ont(),this.f=e,this.d=t}function Lbt(t,e){dmt(e,t),this.d=t,this.c=e}function Ag(t){var e;e=t.a,t.a=t.b,t.b=e}function YXe(t){return vf(),!!t&&!t.dc()}function XXe(t){return new Wm(3,t)}function Mbt(t,e){return new WWt(t,t.gc(),e)}function QXe(t){return pR(),si((wQt(),cge),t)}function M6(t){this.d=t,hr.call(this,t)}function D6(t){this.c=t,hr.call(this,t)}function RM(t){this.c=t,M6.call(this,t)}function QUt(){qT(),this.b=new C1(this)}function Wd(t){return Gl(t,my),new iu(t)}function ZUt(t){return _8(),parseInt(t)||-1}function $l(t,e,n){return t.substr(e,n-e)}function h8(t,e,n){return Ebt(t,Pu(e),n)}function int(t){return lwt(t.c,t.c.length)}function ZXe(t){return t.f!=null?t.f:""+t.g}function snt(t){return t.f!=null?t.f:""+t.g}function ant(t){return sr(t.b!=0),t.a.a.c}function mj(t){return sr(t.b!=0),t.c.b.c}function jM(t){_t(t,150)&&u(t,150).Gh()}function yj(t){return t.b=u(LXt(t.a),42)}function Dbt(t){s8(),this.b=t,this.a=!0}function JUt(t){LR(),this.b=t,this.a=!0}function tWt(t){t.d=new nWt(t),t.e=new Br}function eWt(t){if(!t)throw et(new uh)}function Ibt(t){if(!t)throw et(new fM)}function Nm(t){if(!t)throw et(new qu)}function JXe(t){if(!t)throw et(new Htt)}function sr(t){if(!t)throw et(new _c)}function nWt(t){Evt.call(this,t,null,null)}function rWt(){ri.call(this,"POLYOMINO",0)}function iWt(t,e,n,r){Qvt.call(this,t,e,n,r)}function tQe(t,e){return n2(),un(t,e.e,e)}function eQe(t,e,n){return PR(),n.qg(t,e)}function ia(t,e){return!!t.q&&Il(t.q,e)}function nQe(t,e){return t>0?e*e/t:e*e*100}function rQe(t,e){return t>0?e/(t*t):e*100}function iQe(t,e,n){return de(e,Qre(t,n))}function sQe(t,e,n){N$(),t.Xe(e)&&n.td(t)}function f8(t,e,n){var r;r=t.Zc(e),r.Rb(n)}function Fm(t,e,n){return t.a+=e,t.b+=n,t}function aQe(t,e,n){return t.a*=e,t.b*=n,t}function $M(t,e,n){return t.a-=e,t.b-=n,t}function Obt(t,e){return t.a=e.a,t.b=e.b,t}function xj(t){return t.a=-t.a,t.b=-t.b,t}function sWt(t){this.c=t,this.a=1,this.b=1}function aWt(t){this.c=t,Du(t,0),Iu(t,0)}function oWt(t){hs.call(this),z_(this,t)}function cWt(t){Dat(),Ozt(this),this.mf(t)}function uWt(t,e){GT(),BM.call(this,t,e)}function Pbt(t,e){Sg(),wj.call(this,t,e)}function lWt(t,e){Sg(),wj.call(this,t,e)}function hWt(t,e){Sg(),Pbt.call(this,t,e)}function Ml(t,e,n){Pl.call(this,t,e,n,2)}function ont(t,e){lh(),Bj.call(this,t,e)}function fWt(t,e){lh(),ont.call(this,t,e)}function Nbt(t,e){lh(),ont.call(this,t,e)}function dWt(t,e){lh(),Nbt.call(this,t,e)}function Fbt(t,e){lh(),Bj.call(this,t,e)}function gWt(t,e){lh(),Fbt.call(this,t,e)}function pWt(t,e){lh(),Bj.call(this,t,e)}function oQe(t,e){return t.c.Fc(u(e,133))}function Bbt(t,e,n){return _q(kD(t,e),n)}function cQe(t,e,n){return e.Qk(t.e,t.c,n)}function uQe(t,e,n){return e.Rk(t.e,t.c,n)}function cnt(t,e){return Zp(t.e,u(e,49))}function lQe(t,e,n){J_(pl(t.a),e,CQt(n))}function hQe(t,e,n){J_($c(t.a),e,_Qt(n))}function Rbt(t,e){e.$modCount=t.$modCount}function b_(){b_=X,$S=new ns("root")}function d8(){d8=X,dP=new hqt,new fqt}function bWt(){this.a=new qv,this.b=new qv}function jbt(){Nee.call(this),this.Bb|=co}function vWt(){ri.call(this,"GROW_TREE",0)}function fQe(t){return t==null?null:M4n(t)}function dQe(t){return t==null?null:R0n(t)}function gQe(t){return t==null?null:tc(t)}function pQe(t){return t==null?null:tc(t)}function D0(t){t.o==null&&f2n(t)}function Be(t){return m_(t==null||Om(t)),t}function ke(t){return m_(t==null||Pm(t)),t}function Yr(t){return m_(t==null||pa(t)),t}function $bt(t){this.q=new b.Date(Vv(t))}function zM(t,e){this.c=t,r8.call(this,t,e)}function kj(t,e){this.a=t,zM.call(this,t,e)}function bQe(t,e){this.d=t,Mtt(this),this.b=e}function zbt(t,e){jrt.call(this,t),this.a=e}function qbt(t,e){jrt.call(this,t),this.a=e}function vQe(t){p3t.call(this,0,0),this.f=t}function Hbt(t,e,n){O$.call(this,t,e,n,null)}function wWt(t,e,n){O$.call(this,t,e,n,null)}function wQe(t,e,n){return t.ue(e,n)<=0?n:e}function mQe(t,e,n){return t.ue(e,n)<=0?e:n}function yQe(t,e){return u(Uv(t.b,e),149)}function xQe(t,e){return u(Uv(t.c,e),229)}function unt(t){return u(Fe(t.a,t.b),287)}function mWt(t){return new $e(t.c,t.d+t.a)}function yWt(t){return zl(),rUt(u(t,197))}function Bm(){Bm=X,Q7t=cn((Fl(),Wb))}function kQe(t,e){e.a?ovn(t,e):ent(t.a,e.b)}function xWt(t,e){U1||de(t.a,e)}function EQe(t,e){return yM(),U8(e.d.i,t)}function TQe(t,e){return Q6(),new Eue(e,t)}function vd(t,e){return rD(e,U6t),t.f=e,t}function Vbt(t,e,n){return n=Yl(t,e,3,n),n}function Gbt(t,e,n){return n=Yl(t,e,6,n),n}function Ubt(t,e,n){return n=Yl(t,e,9,n),n}function qM(t,e,n){++t.j,t.Ki(),Brt(t,e,n)}function kWt(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function EWt(t,e,n){var r;r=t.Zc(e),r.Rb(n)}function TWt(t,e,n){return a6t(t.c,t.b,e,n)}function Wbt(t,e){return(e&Di)%t.d.length}function Ks(t,e){ns.call(this,t),this.a=e}function Kbt(t,e){ppt.call(this,t),this.a=e}function lnt(t,e){ppt.call(this,t),this.a=e}function _Wt(t,e){this.c=t,Wv.call(this,e)}function CWt(t,e){this.a=t,Szt.call(this,e)}function HM(t,e){this.a=t,Szt.call(this,e)}function SWt(t){this.a=(Gl(t,my),new iu(t))}function AWt(t){this.a=(Gl(t,my),new iu(t))}function VM(t){return!t.a&&(t.a=new it),t.a}function LWt(t){return t>8?0:t+1}function _Qe(t,e){return Rn(),t==e?0:t?1:-1}function Ybt(t,e,n){return N6(t,u(e,22),n)}function CQe(t,e,n){return t.apply(e,n)}function MWt(t,e,n){return t.a+=Fh(e,0,n),t}function Xbt(t,e){var n;return n=t.e,t.e=e,n}function SQe(t,e){var n;n=t[hot],n.call(t,e)}function AQe(t,e){var n;n=t[hot],n.call(t,e)}function Rm(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function DWt(t){al(t.e),t.d.b=t.d,t.d.a=t.d}function GM(t){t.b?GM(t.b):t.f.c.zc(t.e,t.d)}function LQe(t,e,n){Y2(),vtt(t,e.Ce(t.a,n))}function MQe(t,e){return cet(die(t.a,e,!0))}function DQe(t,e){return cet(gie(t.a,e,!0))}function bf(t,e){return yR(new Array(e),t)}function hnt(t){return String.fromCharCode(t)}function IQe(t){return t==null?null:t.message}function IWt(){this.a=new ge,this.b=new ge}function OWt(){this.a=new LE,this.b=new qzt}function PWt(){this.b=new $a,this.c=new ge}function Qbt(){this.d=new $a,this.e=new $a}function Zbt(){this.n=new $a,this.o=new $a}function Ej(){this.n=new m6,this.i=new L6}function NWt(){this.a=new jJ,this.b=new zX}function FWt(){this.a=new ge,this.d=new ge}function BWt(){this.b=new na,this.a=new na}function RWt(){this.b=new Br,this.a=new Br}function jWt(){this.b=new mHt,this.a=new PQ}function $Wt(){Ej.call(this),this.a=new $a}function v_(t){rcn.call(this,t,(B$(),Aut))}function Jbt(t,e,n,r){Rj.call(this,t,e,n,r)}function OQe(t,e,n){n!=null&&tz(e,gst(t,n))}function PQe(t,e,n){n!=null&&ez(e,gst(t,n))}function tvt(t,e,n){return n=Yl(t,e,11,n),n}function $i(t,e){return t.a+=e.a,t.b+=e.b,t}function ba(t,e){return t.a-=e.a,t.b-=e.b,t}function NQe(t,e){return t.n.a=(Pn(e),e+10)}function FQe(t,e){return t.n.a=(Pn(e),e+10)}function BQe(t,e){return e==t||d7(lq(e),t)}function zWt(t,e){return Ni(t.a,e,"")==null}function RQe(t,e){return yM(),!U8(e.d.i,t)}function jQe(t,e){Bp(t.f)?n2n(t,e):$dn(t,e)}function $Qe(t,e){var n;return n=e.Hh(t.a),n}function jm(t,e){Po.call(this,XC+t+Lb+e)}function I6(t,e,n,r){pe.call(this,t,e,n,r)}function evt(t,e,n,r){pe.call(this,t,e,n,r)}function qWt(t,e,n,r){evt.call(this,t,e,n,r)}function HWt(t,e,n,r){Kj.call(this,t,e,n,r)}function fnt(t,e,n,r){Kj.call(this,t,e,n,r)}function nvt(t,e,n,r){Kj.call(this,t,e,n,r)}function VWt(t,e,n,r){fnt.call(this,t,e,n,r)}function rvt(t,e,n,r){fnt.call(this,t,e,n,r)}function Tn(t,e,n,r){nvt.call(this,t,e,n,r)}function GWt(t,e,n,r){rvt.call(this,t,e,n,r)}function UWt(t,e,n,r){ewt.call(this,t,e,n,r)}function WWt(t,e,n){this.a=t,Lbt.call(this,e,n)}function KWt(t,e,n){this.c=e,this.b=n,this.a=t}function zQe(t,e,n){return t.d=u(e.Kb(n),164)}function ivt(t,e){return t.Aj().Nh().Kh(t,e)}function svt(t,e){return t.Aj().Nh().Ih(t,e)}function YWt(t,e){return Pn(t),Ut(t)===Ut(e)}function ln(t,e){return Pn(t),Ut(t)===Ut(e)}function dnt(t,e){return cet(die(t.a,e,!1))}function gnt(t,e){return cet(gie(t.a,e,!1))}function qQe(t,e){return t.b.sd(new AVt(t,e))}function HQe(t,e){return t.b.sd(new LVt(t,e))}function XWt(t,e){return t.b.sd(new MVt(t,e))}function avt(t,e,n){return t.lastIndexOf(e,n)}function VQe(t,e,n){return Vs(t[e.b],t[n.b])}function GQe(t,e){return ne(e,(Te(),LO),t)}function UQe(t,e){return Tu(e.a.d.p,t.a.d.p)}function WQe(t,e){return Tu(t.a.d.p,e.a.d.p)}function KQe(t,e){return Vs(t.c-t.s,e.c-e.s)}function QWt(t){return t.c?Zo(t.c.a,t,0):-1}function YQe(t){return t<100?null:new Dp(t)}function O6(t){return t==Ub||t==p0||t==eu}function ZWt(t,e){return _t(e,15)&&iue(t.c,e)}function XQe(t,e){U1||e&&(t.d=e)}function pnt(t,e){var n;return n=e,!!Lyt(t,n)}function ovt(t,e){this.c=t,qnt.call(this,t,e)}function JWt(t){this.c=t,Vet.call(this,Oq,0)}function tKt(t,e){etn.call(this,t,t.length,e)}function QQe(t,e,n){return u(t.c,69).lk(e,n)}function Tj(t,e,n){return u(t.c,69).mk(e,n)}function ZQe(t,e,n){return cQe(t,u(e,332),n)}function cvt(t,e,n){return uQe(t,u(e,332),n)}function JQe(t,e,n){return Zse(t,u(e,332),n)}function eKt(t,e,n){return Qdn(t,u(e,332),n)}function w_(t,e){return e==null?null:ny(t.b,e)}function uvt(t){return Pm(t)?(Pn(t),t):t.ke()}function _j(t){return!isNaN(t)&&!isFinite(t)}function nKt(t){wd(),this.a=(pn(),new Zk(t))}function UM(t){p8(),this.d=t,this.a=new F3}function hh(t,e,n){this.a=t,this.b=e,this.c=n}function rKt(t,e,n){this.a=t,this.b=e,this.c=n}function iKt(t,e,n){this.d=t,this.b=n,this.a=e}function bnt(t){vUt(this),Ph(this),so(this,t)}function Uu(t){Yet(this),Tvt(this.c,0,t.Pc())}function sKt(t){Ol(t.a),nte(t.c,t.b),t.b=null}function aKt(t){this.a=t,Ud(),Ou(Date.now())}function oKt(){oKt=X,A7t=new C,QH=new C}function vnt(){vnt=X,m7t=new mt,_ge=new Ot}function cKt(){cKt=X,O4e=Pt(ir,De,1,0,5,1)}function uKt(){uKt=X,Q4e=Pt(ir,De,1,0,5,1)}function lvt(){lvt=X,Z4e=Pt(ir,De,1,0,5,1)}function wd(){wd=X,new wpt((pn(),pn(),mo))}function tZe(t){return B$(),si((dte(),Age),t)}function eZe(t){return j1(),si((IJt(),Pge),t)}function nZe(t){return Fz(),si((jZt(),$ge),t)}function rZe(t){return q$(),si(($Zt(),zge),t)}function iZe(t){return bq(),si((Cne(),qge),t)}function sZe(t){return Jf(),si((LJt(),Gge),t)}function aZe(t){return ol(),si((MJt(),Wge),t)}function oZe(t){return Lu(),si((DJt(),Yge),t)}function cZe(t){return Dq(),si((qGt(),wpe),t)}function uZe(t){return Jv(),si((pte(),ype),t)}function lZe(t){return rx(),si((bte(),kpe),t)}function hZe(t){return sC(),si((vte(),_pe),t)}function fZe(t){return MR(),si((vZt(),Cpe),t)}function dZe(t){return H$(),si((zZt(),Hpe),t)}function gZe(t){return j_(),si((OJt(),l2e),t)}function pZe(t){return ao(),si((Wte(),g2e),t)}function bZe(t){return Y8(),si((gte(),m2e),t)}function vZe(t){return tw(),si((PJt(),_2e),t)}function hvt(t,e){if(!t)throw et(new Bn(e))}function wZe(t){return Yn(),si((gee(),L2e),t)}function fvt(t){Rj.call(this,t.d,t.c,t.a,t.b)}function wnt(t){Rj.call(this,t.d,t.c,t.a,t.b)}function dvt(t,e,n){this.b=t,this.c=e,this.a=n}function Cj(t,e,n){this.b=t,this.a=e,this.c=n}function lKt(t,e,n){this.a=t,this.b=e,this.c=n}function gvt(t,e,n){this.a=t,this.b=e,this.c=n}function hKt(t,e,n){this.a=t,this.b=e,this.c=n}function pvt(t,e,n){this.a=t,this.b=e,this.c=n}function fKt(t,e,n){this.b=t,this.a=e,this.c=n}function Sj(t,e,n){this.e=e,this.b=t,this.d=n}function mZe(t,e,n){return Y2(),t.a.Od(e,n),e}function mnt(t){var e;return e=new zn,e.e=t,e}function bvt(t){var e;return e=new Yzt,e.b=t,e}function WM(){WM=X,lV=new CY,hV=new SY}function vf(){vf=X,H2e=new bX,V2e=new kF}function yZe(t){return pz(),si((mte(),R2e),t)}function xZe(t){return R1(),si((xte(),W2e),t)}function kZe(t){return gq(),si((pne(),ebe),t)}function EZe(t){return sx(),si((vee(),nbe),t)}function TZe(t){return P$(),si((WZt(),rbe),t)}function _Ze(t){return X6(),si((NJt(),ibe),t)}function CZe(t){return p4(),si((qte(),Y2e),t)}function SZe(t){return Zv(),si((RJt(),tbe),t)}function AZe(t){return Z$(),si((FJt(),sbe),t)}function LZe(t){return mb(),si(($te(),abe),t)}function MZe(t){return SD(),si((HZt(),obe),t)}function DZe(t){return hb(),si((BJt(),ube),t)}function IZe(t){return iq(),si((xee(),lbe),t)}function OZe(t){return mD(),si((VZt(),hbe),t)}function PZe(t){return sI(),si((mee(),fbe),t)}function NZe(t){return p7(),si((wee(),dbe),t)}function FZe(t){return Eo(),si((zne(),gbe),t)}function BZe(t){return K8(),si(($Jt(),pbe),t)}function RZe(t){return j0(),si((jJt(),vbe),t)}function jZe(t){return E$(),si((KZt(),wbe),t)}function $Ze(t){return mh(),si((Hte(),mbe),t)}function zZe(t){return tq(),si((yee(),Pwe),t)}function qZe(t){return Y_(),si((zJt(),Nwe),t)}function HZe(t){return sy(),si((kte(),Fwe),t)}function VZe(t){return xo(),si((VJt(),qwe),t)}function GZe(t){return m4(),si((gne(),Rwe),t)}function UZe(t){return z0(),si((HJt(),jwe),t)}function WZe(t){return ED(),si((UZt(),$we),t)}function KZe(t){return hz(),si((qJt(),Hwe),t)}function YZe(t){return aC(),si((zte(),Bwe),t)}function XZe(t){return dD(),si((GZt(),Vwe),t)}function QZe(t){return e7(),si((UJt(),Gwe),t)}function ZZe(t){return uz(),si((WJt(),Uwe),t)}function JZe(t){return bz(),si((GJt(),Wwe),t)}function tJe(t){return Qv(),si((KJt(),ame),t)}function eJe(t){return B_(),si((XZt(),hme),t)}function nJe(t){return yd(),si((QZt(),wme),t)}function rJe(t){return D1(),si((ZZt(),yme),t)}function iJe(t){return Xf(),si((YZt(),Nme),t)}function sJe(t){return zv(),si((JZt(),qme),t)}function aJe(t){return l7(),si((wte(),Hme),t)}function oJe(t){return fC(),si((kee(),Gme),t)}function cJe(t){return p$(),si((nJt(),sye),t)}function uJe(t){return az(),si((eJt(),hye),t)}function lJe(t){return m$(),si((tJt(),aye),t)}function hJe(t){return Sz(),si((YJt(),dye),t)}function fJe(t){return F$(),si((rJt(),gye),t)}function dJe(t){return zD(),si((XJt(),pye),t)}function gJe(t){return Uz(),si((yte(),Mye),t)}function pJe(t){return lz(),si((ZJt(),Dye),t)}function bJe(t){return Cz(),si((QJt(),Iye),t)}function vJe(t){return x7(),si((Ute(),Zye),t)}function wJe(t){return WD(),si((JJt(),Jye),t)}function mJe(t){return IR(),si((pZt(),t3e),t)}function yJe(t){return OR(),si((gZt(),n3e),t)}function xJe(t){return gD(),si((sJt(),r3e),t)}function kJe(t){return oI(),si((Vte(),i3e),t)}function EJe(t){return HT(),si((bZt(),y3e),t)}function TJe(t){return BD(),si((iJt(),x3e),t)}function _Je(t){return e1(),si((Gte(),S3e),t)}function CJe(t){return Hg(),si((bne(),L3e),t)}function SJe(t){return e0(),si((bee(),M3e),t)}function AJe(t){return cy(),si((pee(),F3e),t)}function LJe(t){return wo(),si((HGt(),N2e),t)}function MJe(t){return H8(),si((qZt(),P2e),t)}function DJe(t){return ko(),si((Kte(),Q3e),t)}function IJe(t){return F1(),si((ete(),Z3e),t)}function OJe(t){return V0(),si((_te(),J3e),t)}function PJe(t){return nq(),si((Tee(),t4e),t)}function NJe(t){return q0(),si((tte(),n4e),t)}function FJe(t){return Wl(),si((Tte(),i4e),t)}function BJe(t){return fy(),si((_ne(),s4e),t)}function RJe(t){return u4(),si((Yte(),a4e),t)}function jJe(t){return ka(),si((lee(),o4e),t)}function $Je(t){return cl(),si((Eee(),c4e),t)}function zJe(t){return Fl(),si((Ste(),g4e),t)}function qJe(t){return ml(),si((qne(),p4e),t)}function HJe(t){return ye(),si((Xte(),u4e),t)}function VJe(t){return Mz(),si((Cte(),b4e),t)}function GJe(t){return Nl(),si((Ete(),m4e),t)}function UJe(t){return w7(),si((vne(),I4e),t)}function WJe(t,e){return Pn(t),t+(Pn(e),e)}function KJe(t,e){return Ud(),Hr(Kt(t.a),e)}function YJe(t,e){return Ud(),Hr(Kt(t.a),e)}function ynt(t,e){this.c=t,this.a=e,this.b=e-t}function dKt(t,e,n){this.a=t,this.b=e,this.c=n}function vvt(t,e,n){this.a=t,this.b=e,this.c=n}function wvt(t,e,n){this.a=t,this.b=e,this.c=n}function gKt(t,e,n){this.a=t,this.b=e,this.c=n}function pKt(t,e,n){this.a=t,this.b=e,this.c=n}function Lg(t,e,n){this.e=t,this.a=e,this.c=n}function bKt(t,e,n){lh(),Mwt.call(this,t,e,n)}function xnt(t,e,n){lh(),gwt.call(this,t,e,n)}function mvt(t,e,n){lh(),gwt.call(this,t,e,n)}function yvt(t,e,n){lh(),gwt.call(this,t,e,n)}function vKt(t,e,n){lh(),xnt.call(this,t,e,n)}function xvt(t,e,n){lh(),xnt.call(this,t,e,n)}function wKt(t,e,n){lh(),xvt.call(this,t,e,n)}function mKt(t,e,n){lh(),mvt.call(this,t,e,n)}function yKt(t,e,n){lh(),yvt.call(this,t,e,n)}function KM(t,e){return zr(t),zr(e),new zHt(t,e)}function P6(t,e){return zr(t),zr(e),new OKt(t,e)}function XJe(t,e){return zr(t),zr(e),new PKt(t,e)}function QJe(t,e){return zr(t),zr(e),new HHt(t,e)}function u(t,e){return m_(t==null||rst(t,e)),t}function g8(t){var e;return e=new ge,Xrt(e,t),e}function ZJe(t){var e;return e=new na,Xrt(e,t),e}function xKt(t){var e;return e=new Spt,lit(e,t),e}function YM(t){var e;return e=new hs,lit(e,t),e}function JJe(t){return!t.e&&(t.e=new ge),t.e}function ttn(t){return!t.c&&(t.c=new xm),t.c}function de(t,e){return t.c[t.c.length]=e,!0}function kKt(t,e){this.c=t,this.b=e,this.a=!1}function kvt(t){this.d=t,Mtt(this),this.b=Utn(t.d)}function EKt(){this.a=";,;",this.b="",this.c=""}function etn(t,e,n){TYt.call(this,e,n),this.a=t}function TKt(t,e,n){this.b=t,RGt.call(this,e,n)}function Evt(t,e,n){this.c=t,$R.call(this,e,n)}function Tvt(t,e,n){U4t(n,0,t,e,n.length,!1)}function Kd(t,e,n,r,s){t.b=e,t.c=n,t.d=r,t.a=s}function ntn(t,e){e&&(t.b=e,t.a=(Vp(e),e.a))}function _vt(t,e,n,r,s){t.d=e,t.c=n,t.a=r,t.b=s}function Cvt(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function Svt(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function Avt(t){return Yp(cen(Qo(t)?Nh(t):t))}function rtn(t,e){return Tu($Kt(t.d),$Kt(e.d))}function itn(t,e){return e==(ye(),jn)?t.c:t.d}function p8(){p8=X,W_t=(ye(),jn),bG=Wn}function _Kt(){this.b=Zt(ke(Ie((r1(),Gut))))}function CKt(t){return Y2(),Pt(ir,De,1,t,5,1)}function stn(t){return new $e(t.c+t.b,t.d+t.a)}function atn(t,e){return DR(),Tu(t.d.p,e.d.p)}function knt(t){return sr(t.b!=0),bh(t,t.a.a)}function otn(t){return sr(t.b!=0),bh(t,t.c.b)}function Lvt(t,e){if(!t)throw et(new Nqt(e))}function Aj(t,e){if(!t)throw et(new Bn(e))}function Mvt(t,e,n){o8.call(this,t,e),this.b=n}function XM(t,e,n){G2t.call(this,t,e),this.c=n}function SKt(t,e,n){iee.call(this,e,n),this.d=t}function Dvt(t){lvt(),Sk.call(this),this.th(t)}function AKt(t,e,n){this.a=t,H3.call(this,e,n)}function LKt(t,e,n){this.a=t,H3.call(this,e,n)}function Lj(t,e,n){G2t.call(this,t,e),this.c=n}function MKt(){M8(),Cen.call(this,(Pp(),tf))}function DKt(t){return t!=null&&!Hit(t,iA,sA)}function ctn(t,e){return($re(t)<<4|$re(e))&Ps}function utn(t,e){return Jj(),hst(t,e),new iXt(t,e)}function Q2(t,e){var n;t.n&&(n=e,de(t.f,n))}function b8(t,e,n){var r;r=new Hm(n),Zf(t,e,r)}function ltn(t,e){var n;return n=t.c,Ymt(t,e),n}function Ivt(t,e){return e<0?t.g=-1:t.g=e,t}function Mj(t,e){return Kan(t),t.a*=e,t.b*=e,t}function IKt(t,e,n,r,s){t.c=e,t.d=n,t.b=r,t.a=s}function pi(t,e){return Cs(t,e,t.c.b,t.c),!0}function Ovt(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function Ent(t){this.b=t,this.a=Pv(this.b.a).Ed()}function OKt(t,e){this.b=t,this.a=e,fT.call(this)}function PKt(t,e){this.a=t,this.b=e,fT.call(this)}function NKt(t,e){TYt.call(this,e,1040),this.a=t}function QM(t){return t==0||isNaN(t)?t:t<0?-1:1}function htn(t){return $6(),n0(t)==gs(t2(t))}function ftn(t){return $6(),t2(t)==gs(n0(t))}function Ov(t,e){return lC(t,new o8(e.a,e.b))}function dtn(t){return!io(t)&&t.c.i.c==t.d.i.c}function Dj(t){var e;return e=t.n,t.a.b+e.d+e.a}function FKt(t){var e;return e=t.n,t.e.b+e.d+e.a}function Pvt(t){var e;return e=t.n,t.e.a+e.b+e.c}function BKt(t){return Si(),new Yd(0,t)}function gtn(t){return t.a?t.a:rrt(t)}function m_(t){if(!t)throw et(new Qk(null))}function RKt(){RKt=X,Lft=(pn(),new I(iut))}function Ij(){Ij=X,new D3t((Xtt(),but),(Qtt(),put))}function jKt(){jKt=X,n7t=Pt(eo,re,19,256,0,1)}function Tnt(t,e,n,r){a3t.call(this,t,e,n,r,0,0)}function ptn(t,e,n){return Ni(t.b,u(n.b,17),e)}function btn(t,e,n){return Ni(t.b,u(n.b,17),e)}function vtn(t,e){return de(t,new $e(e.a,e.b))}function wtn(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function _nt(t){return t.e.c.length+t.g.c.length}function $Kt(t){return t.e.c.length-t.g.c.length}function zKt(t){return t.b.c.length-t.e.c.length}function mtn(t){return zl(),(ye(),vu).Hc(t.j)}function qKt(t){lvt(),Dvt.call(this,t),this.a=-1}function Oj(t,e){NM.call(this,t,e),this.a=this}function ls(t,e){var n;return n=Unt(t,e),n.i=2,n}function Pj(t,e){var n;return++t.j,n=t.Ti(e),n}function Mi(t,e,n){return t.a=-1,Abt(t,e.g,n),t}function ytn(t,e,n){h4n(t.a,t.b,t.c,u(e,202),n)}function xtn(t,e){Qmt(t,e==null?null:(Pn(e),e))}function ktn(t,e){Kmt(t,e==null?null:(Pn(e),e))}function Etn(t,e){Kmt(t,e==null?null:(Pn(e),e))}function Cnt(t,e,n){return new KWt(Sen(t).Ie(),n,e)}function Z2(t,e,n,r,s,o){return Use(t,e,n,r,s,0,o)}function HKt(){HKt=X,J8t=Pt(Tx,re,217,256,0,1)}function VKt(){VKt=X,r7t=Pt(Ew,re,162,256,0,1)}function GKt(){GKt=X,a7t=Pt(Tw,re,184,256,0,1)}function UKt(){UKt=X,e7t=Pt(aS,re,172,128,0,1)}function Nvt(){Kd(this,!1,!1,!1,!1)}function Snt(t){Vm(),this.a=(pn(),new I(zr(t)))}function Nj(t){for(zr(t);t.Ob();)t.Pb(),t.Qb()}function Ttn(t){t.a.cd(),u(t.a.dd(),14).gc(),Wpt()}function Fvt(t){this.c=t,this.b=this.c.d.vc().Kc()}function WKt(t){this.c=t,this.a=new T6(this.c.a)}function y_(t){this.a=new E6(t.gc()),so(this,t)}function Bvt(t){kt.call(this,new ib),so(this,t)}function KKt(t,e){return t.a+=Fh(e,0,e.length),t}function Fe(t,e){return An(e,t.c.length),t.c[e]}function YKt(t,e){return An(e,t.a.length),t.a[e]}function En(t,e){Y2(),jrt.call(this,t),this.a=e}function _tn(t,e){return bb(Ka(bb(t.a).a,e.a))}function Ctn(t,e){return Pn(t),MD(t,(Pn(e),e))}function Stn(t,e){return Pn(e),MD(e,(Pn(t),t))}function Atn(t,e){return ds(e,0,Rvt(e[0],bb(1)))}function Rvt(t,e){return _tn(u(t,162),u(e,162))}function XKt(t){return t.c-u(Fe(t.a,t.b),287).b}function QKt(t){return t.q?t.q:(pn(),pn(),l0)}function ZKt(t){return t.e.Hd().gc()*t.c.Hd().gc()}function Ltn(t,e,n){return Tu(e.d[t.g],n.d[t.g])}function Mtn(t,e,n){return Tu(t.d[e.p],t.d[n.p])}function Dtn(t,e,n){return Tu(t.d[e.p],t.d[n.p])}function Itn(t,e,n){return Tu(t.d[e.p],t.d[n.p])}function Otn(t,e,n){return Tu(t.d[e.p],t.d[n.p])}function jvt(t,e,n){return b.Math.min(n/t,1/e)}function JKt(t,e){return t?0:b.Math.max(0,e-1)}function Ptn(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function tYt(t){var e;return e=Kse(t),e?tYt(e):t}function Ntn(t,e){return t.a==null&&uue(t),t.a[e]}function Dl(t){return t.c?t.c.f:t.e.b}function Wu(t){return t.c?t.c.g:t.e.a}function Fj(t){Wv.call(this,t.gc()),vs(this,t)}function Bj(t,e){lh(),uR.call(this,e),this.a=t}function x_(t,e,n){this.a=t,qs.call(this,e,n,2)}function Rj(t,e,n,r){_vt(this,t,e,n,r)}function Yd(t,e){Si(),bv.call(this,t),this.a=e}function eYt(t){this.b=new hs,this.a=t,this.c=-1}function nYt(){this.d=new $e(0,0),this.e=new na}function rYt(t){Lbt.call(this,0,0),this.a=t,this.b=0}function iYt(t){this.a=t,this.c=new Br,Ccn(this)}function $vt(t){if(t.e.c!=t.b)throw et(new uh)}function zvt(t){if(t.c.e!=t.a)throw et(new uh)}function $r(t){return Qo(t)?t|0:pHt(t)}function jj(t,e){return Si(),new uwt(t,e)}function Ant(t,e){return t==null?e==null:ln(t,e)}function Ftn(t,e){return t==null?e==null:Nz(t,e)}function N6(t,e,n){return kf(t.a,e),swt(t,e.g,n)}function Lnt(t,e,n){gre(0,e,t.length),O8(t,0,e,n)}function $m(t,e,n){Um(e,t.c.length),WT(t.c,e,n)}function sYt(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function Qi(t,e){var n;return n=cn(t),Eyt(n,e),n}function Btn(t,e){return!t&&(t=[]),t[t.length]=e,t}function Rtn(t,e){return t.a.get(e)!==void 0}function aYt(t,e){return fon(new le,new Yt(t),e)}function jtn(t){return t==null?YH:new bR(Pn(t))}function Mnt(t,e){return _t(e,22)&&Gu(t,u(e,22))}function oYt(t,e){return _t(e,22)&&qan(t,u(e,22))}function qvt(t){return wl(t,26)*LC+wl(t,27)*MC}function Hvt(t){return Array.isArray(t)&&t.im===Ft}function $j(t){t.b?$j(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function Dnt(t,e){$i(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function $tn(t,e){Dnt(t,ba(new $e(e.a,e.b),t.c))}function Int(t,e){this.b=new hs,this.a=t,this.c=e}function cYt(){this.b=new Ko,this.c=new jXt(this)}function Vvt(){this.d=new Li,this.e=new RXt(this)}function Gvt(){Fwt(),this.f=new hs,this.e=new hs}function uYt(){zl(),this.k=new Br,this.d=new na}function Ont(){Ont=X,x4e=new bo((Ei(),kl),0)}function lYt(){lYt=X,age=new rYt(Pt(ir,De,1,0,5,1))}function ztn(t,e,n){nce(n,t,1),de(e,new PVt(n,t))}function qtn(t,e,n){cC(n,t,1),de(e,new zVt(n,t))}function Htn(t,e,n){return Ys(t,new _6(e.a,n.a))}function Vtn(t,e,n){return-Tu(t.f[e.p],t.f[n.p])}function zj(t,e,n){var r;t&&(r=t.i,r.c=e,r.b=n)}function qj(t,e,n){var r;t&&(r=t.i,r.d=e,r.a=n)}function sl(t,e,n){return t.a=-1,Abt(t,e.g+1,n),t}function Uvt(t,e,n){return n=Yl(t,u(e,49),7,n),n}function Wvt(t,e,n){return n=Yl(t,u(e,49),3,n),n}function hYt(t,e,n){this.a=t,dj.call(this,e,n,22)}function fYt(t,e,n){this.a=t,dj.call(this,e,n,14)}function dYt(t,e,n,r){lh(),WQt.call(this,t,e,n,r)}function gYt(t,e,n,r){lh(),WQt.call(this,t,e,n,r)}function Gtn(t,e){e.Bb&Ac&&!t.a.o&&(t.a.o=e)}function pYt(t){return t!=null&&znt(t)&&t.im!==Ft}function Kvt(t){return!Array.isArray(t)&&t.im===Ft}function Utn(t){return _t(t,15)?u(t,15).Yc():t.Kc()}function Yvt(t){return t.Qc(Pt(ir,De,1,t.gc(),5,1))}function k_(t,e){return ahn(kD(t,e))?e.Qh():null}function Xvt(t){t?$3t(t,(Ud(),c7t)):Ud()}function pr(t){this.a=(lYt(),age),this.d=u(zr(t),47)}function Qvt(t,e,n,r){this.a=t,O$.call(this,t,e,n,r)}function J2(t){Np(),this.a=0,this.b=t-1,this.c=1}function bYt(t){hj(this),this.g=t,i$(this),this._d()}function Pv(t){return t.c?t.c:t.c=t.Id()}function Pnt(t){return t.d?t.d:t.d=t.Jd()}function Zvt(t){var e;return e=t.c,e||(t.c=t.Dd())}function vYt(t){var e;return e=t.f,e||(t.f=t.Dc())}function F6(t){var e;return e=t.i,e||(t.i=t.bc())}function wYt(t){return Si(),new hrt(10,t,0)}function E_(t){return Qo(t)?""+t:rue(t)}function Hj(t){if(t.e.j!=t.d)throw et(new uh)}function I0(t,e){return Yp(Tae(Qo(t)?Nh(t):t,e))}function $p(t,e){return Yp(c5t(Qo(t)?Nh(t):t,e))}function zm(t,e){return Yp(K0n(Qo(t)?Nh(t):t,e))}function Wtn(t,e){return _Qe((Pn(t),t),(Pn(e),e))}function Nnt(t,e){return Vs((Pn(t),t),(Pn(e),e))}function mYt(t,e){return zr(e),t.a.Ad(e)&&!t.b.Ad(e)}function Ktn(t,e){return hu(t.l&e.l,t.m&e.m,t.h&e.h)}function Ytn(t,e){return hu(t.l|e.l,t.m|e.m,t.h|e.h)}function Xtn(t,e){return hu(t.l^e.l,t.m^e.m,t.h^e.h)}function Vj(t,e){return GD(t,(Pn(e),new It(e)))}function Gj(t,e){return GD(t,(Pn(e),new qt(e)))}function yYt(t){return Ku(),u(t,11).e.c.length!=0}function xYt(t){return Ku(),u(t,11).g.c.length!=0}function Qtn(t,e){return Q6(),Vs(e.a.o.a,t.a.o.a)}function kYt(t,e,n){return P4n(t,u(e,11),u(n,11))}function Ztn(t){return t.e?pmt(t.e):null}function Jvt(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function Jtn(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}function v8(t,e){if(t<0||t>=e)throw et(new Ept)}function ten(t,e,n){return ds(e,0,Rvt(e[0],n[0])),e}function een(t,e,n){e.Ye(n,Zt(ke(cr(t.b,n)))*t.a)}function EYt(t,e,n){return x4(),V8(t,e)&&V8(t,n)}function T_(t){return cl(),!t.Hc(ng)&&!t.Hc(_2)}function Uj(t){return new $e(t.c+t.b/2,t.d+t.a/2)}function Fnt(t,e){return e.kh()?Zp(t.b,u(e,49)):e}function twt(t,e){this.e=t,this.d=e&64?e|Ed:e}function TYt(t,e){this.c=0,this.d=t,this.b=e|64|Ed}function Wj(t){this.b=new iu(11),this.a=(Q3(),t)}function Bnt(t){this.b=null,this.a=(Q3(),t||b7t)}function _Yt(t){this.a=Kie(t.a),this.b=new Uu(t.b)}function CYt(t){this.b=t,M6.call(this,t),LUt(this)}function SYt(t){this.b=t,RM.call(this,t),MUt(this)}function qm(t,e,n){this.a=t,I6.call(this,e,n,5,6)}function ewt(t,e,n,r){this.b=t,qs.call(this,e,n,r)}function la(t,e,n,r,s){qrt.call(this,t,e,n,r,s,-1)}function __(t,e,n,r,s){vD.call(this,t,e,n,r,s,-1)}function pe(t,e,n,r){qs.call(this,t,e,n),this.b=r}function Kj(t,e,n,r){XM.call(this,t,e,n),this.b=r}function AYt(t){DGt.call(this,t,!1),this.a=!1}function LYt(t,e){this.b=t,att.call(this,t.b),this.a=e}function MYt(t,e){Vm(),iYe.call(this,t,kz(new Al(e)))}function Yj(t,e){return Si(),new pwt(t,e,0)}function Rnt(t,e){return Si(),new pwt(6,t,e)}function nen(t,e){return ln(t.substr(0,e.length),e)}function Il(t,e){return pa(e)?art(t,e):!!Ho(t.f,e)}function Ia(t,e){for(Pn(e);t.Ob();)e.td(t.Pb())}function Y3(t,e,n){r2(),this.e=t,this.d=e,this.a=n}function Mg(t,e,n,r){var s;s=t.i,s.i=e,s.a=n,s.b=r}function nwt(t){var e;for(e=t;e.f;)e=e.f;return e}function B6(t){var e;return e=K_(t),sr(e!=null),e}function ren(t){var e;return e=qun(t),sr(e!=null),e}function w8(t,e){var n;return n=t.a.gc(),dmt(e,n),n-e}function rwt(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function ien(t,e,n,r){var s;for(s=e;s<n;++s)t[s]=r}function zt(t,e,n,r){gre(e,n,t.length),ien(t,e,n,r)}function sen(t,e,n){v8(n,t.a.c.length),gh(t.a,n,e)}function iwt(t,e,n){this.c=t,this.a=e,pn(),this.b=n}function swt(t,e,n){var r;return r=t.b[e],t.b[e]=n,r}function Ys(t,e){var n;return n=t.a.zc(e,t),n==null}function aen(t){if(!t)throw et(new _c);return t.d}function awt(t,e){if(t==null)throw et(new x6(e))}function owt(t,e){return e?so(t,e):!1}function Xd(t,e,n){return tun(t,e.g,n),kf(t.c,e),t}function oen(t){return _4(t,(ko(),Wh)),t.d=!0,t}function jnt(t){return!t.j&&Att(t,Cwn(t.g,t.b)),t.j}function C_(t){Nm(t.b!=-1),Ig(t.c,t.a=t.b),t.b=-1}function al(t){t.f=new JGt(t),t.g=new tUt(t),c$(t)}function $nt(t){return new En(null,fen(t,t.length))}function zp(t){return new pr(new pbt(t.a.length,t.a))}function cen(t){return hu(~t.l&yl,~t.m&yl,~t.h&Y0)}function znt(t){return typeof t===AI||typeof t===Pat}function uen(t){return t==ms?sO:t==Rs?"-INF":""+t}function len(t){return t==ms?sO:t==Rs?"-INF":""+t}function hen(t,e){return t>0?b.Math.log(t/e):-100}function DYt(t,e){return Oc(t,e)<0?-1:Oc(t,e)>0?1:0}function cwt(t,e,n){return kle(t,u(e,46),u(n,167))}function IYt(t,e){return u(Zvt(Pv(t.a)).Xb(e),42).cd()}function fen(t,e){return Nan(e,t.length),new NKt(t,e)}function qnt(t,e){this.d=t,hr.call(this,t),this.e=e}function Nv(t){this.d=(Pn(t),t),this.a=0,this.c=Oq}function uwt(t,e){bv.call(this,1),this.a=t,this.b=e}function OYt(t,e){return t.c?OYt(t.c,e):de(t.b,e),t}function den(t,e,n){var r;return r=Xm(t,e),Crt(t,e,n),r}function lwt(t,e){var n;return n=t.slice(0,e),Smt(n,t)}function PYt(t,e,n){var r;for(r=0;r<e;++r)ds(t,r,n)}function NYt(t,e,n,r,s){for(;e<n;)r[s++]=Oa(t,e++)}function gen(t,e){return Vs(t.c.c+t.c.b,e.c.c+e.c.b)}function ZM(t,e){return vz(t.a,e,(Rn(),Ob))==null}function JM(t,e){Cs(t.d,e,t.b.b,t.b),++t.a,t.c=null}function tD(t,e){_Ut(t,_t(e,153)?e:u(e,1937).gl())}function Fv(t,e){Ts(Cu(t.Oc(),new HE),new Ftt(e))}function m8(t,e,n,r,s){_st(t,u(ji(e.k,n),15),n,r,s)}function Xj(t){t.s=NaN,t.c=NaN,qoe(t,t.e),qoe(t,t.j)}function FYt(t){t.a=null,t.e=null,al(t.b),t.d=0,++t.c}function Hnt(t){return b.Math.abs(t.d.e-t.e.e)-t.a}function pen(t,e,n){return u(t.c._c(e,u(n,133)),42)}function ben(){return pR(),ct(ot(oge,1),ue,538,0,[mut])}function ven(t){return $6(),gs(n0(t))==gs(t2(t))}function BYt(t){Qbt.call(this),this.a=t,de(t.a,this)}function Vnt(t,e){this.d=Hun(t),this.c=e,this.a=.5*e}function RYt(){ib.call(this),this.a=!0,this.b=!0}function or(t){return(t.i==null&&kd(t),t.i).length}function jYt(t){return _t(t,99)&&(u(t,18).Bb&Ac)!=0}function wen(t,e){++t.j,Sst(t,t.i,e),apn(t,u(e,332))}function Gnt(t,e){return e=t.nk(null,e),aae(t,null,e)}function vs(t,e){return t.hi()&&(e=cQt(t,e)),t.Wh(e)}function P(t,e,n){var r;return r=Unt(t,e),Aee(n,r),r}function Unt(t,e){var n;return n=new myt,n.j=t,n.d=e,n}function zr(t){if(t==null)throw et(new LT);return t}function Wnt(t){var e;return e=t.j,e||(t.j=new ltt(t))}function $Yt(t){var e;return e=t.f,e||(t.f=new gbt(t))}function hwt(t){var e;return e=t.k,e||(t.k=new D3(t))}function Qj(t){var e;return e=t.k,e||(t.k=new D3(t))}function S_(t){var e;return e=t.g,e||(t.g=new tM(t))}function men(t){var e;return e=t.i,e||(t.i=new ntt(t))}function Knt(t){var e;return e=t.d,e||(t.d=new u6(t))}function zYt(t){return zr(t),_t(t,475)?u(t,475):tc(t)}function fwt(t){return _t(t,607)?t:new XXt(t)}function qYt(t,e){return lD(e,t.c.b.c.gc()),new $Ht(t,e)}function HYt(t,e,n){return Si(),new RQt(t,e,n)}function ds(t,e,n){return JXe(n==null||cmn(t,n)),t[e]=n}function dwt(t,e){var n;return n=t.a.gc(),lD(e,n),n-1-e}function y8(t,e){return t.a+=String.fromCharCode(e),t}function qp(t,e){return t.a+=String.fromCharCode(e),t}function Ynt(t,e){for(Pn(e);t.c<t.d;)t.ze(e,t.c++)}function cr(t,e){return pa(e)?Uc(t,e):gc(Ho(t.f,e))}function yen(t,e){return $6(),t==n0(e)?t2(e):n0(e)}function xen(t,e){R6(t,new Hm(e.f!=null?e.f:""+e.g))}function ken(t,e){R6(t,new Hm(e.f!=null?e.f:""+e.g))}function VYt(t){this.b=new ge,this.a=new ge,this.c=t}function Oh(t){this.c=new $a,this.a=new ge,this.b=t}function GYt(t){Qbt.call(this),this.a=new $a,this.c=t}function Hm(t){if(t==null)throw et(new LT);this.a=t}function UYt(t){kpt(),this.b=new ge,this.a=t,m3n(this,t)}function WYt(t){this.c=t,this.a=new hs,this.b=new hs}function KYt(){KYt=X,fge=new Hk(!1),dge=new Hk(!0)}function Vm(){Vm=X,wd(),vut=new ort((pn(),pn(),mo))}function Xnt(){Xnt=X,wd(),G8t=new v2t((pn(),pn(),KH))}function Hp(){Hp=X,Ln=spn(),hn(),t3&&f1n()}function Een(t,e){return Q6(),u(Lo(t,e.d),15).Fc(e)}function Ten(t,e,n,r){return n==0||(n-r)/n<t.e||e>=t.g}function Qnt(t,e,n){var r;return r=cit(t,e,n),R5t(t,r)}function R6(t,e){var n;n=t.a.length,Xm(t,n),Crt(t,n,e)}function YYt(t,e){var n;n=console[t],n.call(console,e)}function XYt(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function _en(t,e,n){u(e.b,65),Mu(e.a,new vvt(t,n,e))}function gwt(t,e,n){uR.call(this,e),this.a=t,this.b=n}function pwt(t,e,n){bv.call(this,t),this.a=e,this.b=n}function bwt(t,e,n){this.a=t,ppt.call(this,e),this.b=n}function QYt(t,e,n){this.a=t,Uwt.call(this,8,e,null,n)}function Cen(t){this.a=(Pn(oi),oi),this.b=t,new Fpt}function ZYt(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function vwt(t){this.c=t,this.b=t.a.d.a,Rbt(t.a.e,this)}function Ol(t){Nm(t.c!=-1),t.d.$c(t.c),t.b=t.c,t.c=-1}function A_(t){return b.Math.sqrt(t.a*t.a+t.b*t.b)}function Bv(t,e){return v8(e,t.a.c.length),Fe(t.a,e)}function md(t,e){return Ut(t)===Ut(e)||t!=null&&Pi(t,e)}function Sen(t){return 0>=t?new u2t:don(t-1)}function Aen(t){return n3?art(n3,t):!1}function JYt(t){return t?t.dc():!t.Kc().Ob()}function Za(t){return!t.a&&t.c?t.c.b:t.a}function Len(t){return!t.a&&(t.a=new qs(C2,t,4)),t.a}function Rv(t){return!t.d&&(t.d=new qs(So,t,1)),t.d}function Pn(t){if(t==null)throw et(new LT);return t}function L_(t){t.c?t.c.He():(t.d=!0,Pbn(t))}function Vp(t){t.c?Vp(t.c):(pb(t),t.d=!0)}function tXt(t){xwt(t.a),t.b=Pt(ir,De,1,t.b.length,5,1)}function Men(t,e){return Tu(e.j.c.length,t.j.c.length)}function Den(t,e){t.c<0||t.b.b<t.c?X2(t.b,e):t.a._e(e)}function Ien(t,e){var n;n=t.Yg(e),n>=0?t.Bh(n):K4t(t,e)}function eXt(t){var e,n;return e=t.c.i.c,n=t.d.i.c,e==n}function Oen(t){if(t.p!=4)throw et(new qu);return t.e}function Pen(t){if(t.p!=3)throw et(new qu);return t.e}function Nen(t){if(t.p!=6)throw et(new qu);return t.f}function Fen(t){if(t.p!=6)throw et(new qu);return t.k}function Ben(t){if(t.p!=3)throw et(new qu);return t.j}function Ren(t){if(t.p!=4)throw et(new qu);return t.j}function wwt(t){return!t.b&&(t.b=new lR(new Ytt)),t.b}function jv(t){return t.c==-2&&Uk(t,n0n(t.g,t.b)),t.c}function x8(t,e){var n;return n=Unt("",t),n.n=e,n.i=1,n}function jen(t,e){Dnt(u(e.b,65),t),Mu(e.a,new fi(t))}function $en(t,e){Hr((!t.a&&(t.a=new HM(t,t)),t.a),e)}function nXt(t,e){this.b=t,qnt.call(this,t,e),LUt(this)}function rXt(t,e){this.b=t,ovt.call(this,t,e),MUt(this)}function mwt(t,e,n,r){_v.call(this,t,e),this.d=n,this.a=r}function Zj(t,e,n,r){_v.call(this,t,n),this.a=e,this.f=r}function iXt(t,e){yXe.call(this,gon(zr(t),zr(e))),this.a=e}function sXt(){C4t.call(this,Db,(cHt(),a5e)),c3n(this)}function aXt(){C4t.call(this,Hh,(e8(),XAt)),vyn(this)}function oXt(){ri.call(this,"DELAUNAY_TRIANGULATION",0)}function zen(t){return String.fromCharCode.apply(null,t)}function Ni(t,e,n){return pa(e)?Fo(t,e,n):du(t.f,e,n)}function ywt(t){return pn(),t?t.ve():(Q3(),Q3(),w7t)}function qen(t,e,n){return Z6(),n.pg(t,u(e.cd(),146))}function cXt(t,e){return Ij(),new D3t(new HUt(t),new qUt(e))}function Hen(t){return Gl(t,Bat),V$(Ka(Ka(5,t),t/10|0))}function Jj(){Jj=X,sge=new Ztt(ct(ot(Ib,1),Pq,42,0,[]))}function uXt(t){return!t.d&&(t.d=new T(t.c.Cc())),t.d}function k8(t){return!t.a&&(t.a=new Hqt(t.c.vc())),t.a}function lXt(t){return!t.b&&(t.b=new Zk(t.c.ec())),t.b}function Qd(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function Gc(t,e){return Ut(t)===Ut(e)||t!=null&&Pi(t,e)}function Ven(t,e){return Rn(),u(e.b,19).a<t}function Gen(t,e){return Rn(),u(e.a,19).a<t}function Lo(t,e){return Mnt(t.a,e)?t.b[u(e,22).g]:null}function Uen(t,e,n,r){t.a=$l(t.a,0,e)+(""+r)+FM(t.a,n)}function hXt(t,e){t.u.Hc((cl(),ng))&&Xgn(t,e),Isn(t,e)}function Oa(t,e){return Xr(e,t.length),t.charCodeAt(e)}function fXt(){ic.call(this,"There is no more element.")}function M_(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function dXt(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function mi(t,e,n,r){return fne(t,e,n,!1),Ez(t,r),t}function Wen(t){return t.j.c=Pt(ir,De,1,0,5,1),t.a=-1,t}function Ken(t){return!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c}function Yen(t){return!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b}function t$(t){return!t.n&&(t.n=new pe(nc,t,1,7)),t.n}function Znt(t){return!t.c&&(t.c=new pe(El,t,9,9)),t.c}function E8(t){return t.e==W7&&hpt(t,dhn(t.g,t.b)),t.e}function eD(t){return t.f==W7&&Stt(t,t1n(t.g,t.b)),t.f}function X3(t){var e;return e=t.b,!e&&(t.b=e=new eM(t)),e}function xwt(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function T8(t){if(vl(t.d),t.d.d!=t.c)throw et(new uh)}function kwt(t,e){this.b=t,this.c=e,this.a=new T6(this.b)}function Jnt(t,e,n){this.a=D6t,this.d=t,this.b=e,this.c=n}function gXt(t,e){this.d=(Pn(t),t),this.a=16449,this.c=e}function Xen(t,e){Ure(t,Zt($0(e,"x")),Zt($0(e,"y")))}function Qen(t,e){Ure(t,Zt($0(e,"x")),Zt($0(e,"y")))}function Xi(t,e){return pb(t),new En(t,new Cmt(e,t.a))}function Cu(t,e){return pb(t),new En(t,new gmt(e,t.a))}function e$(t,e){return pb(t),new zbt(t,new EJt(e,t.a))}function n$(t,e){return pb(t),new qbt(t,new TJt(e,t.a))}function Zen(t,e){return new qXt(u(zr(t),62),u(zr(e),62))}function Jen(t,e){return f2t(),Vs((Pn(t),t),(Pn(e),e))}function tnn(){return MR(),ct(ot(t9t,1),ue,481,0,[Rut])}function enn(){return IR(),ct(ot(GCt,1),ue,482,0,[qht])}function nnn(){return OR(),ct(ot(e3e,1),ue,551,0,[Hht])}function rnn(){return HT(),ct(ot(fSt,1),ue,530,0,[qO])}function pXt(t){this.a=new ge,this.e=Pt(Fr,re,48,t,0,2)}function trt(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function r$(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function Ewt(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function bXt(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function fh(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function vXt(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function j6(t,e,n,r){ri.call(this,t,e),this.a=n,this.b=r}function wXt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function inn(t,e,n){gyn(t.a,n),hcn(n),zpn(t.b,n),Iyn(e,n)}function ert(t,e,n){var r,s;return r=y6t(t),s=e.Kh(n,r),s}function mXt(t,e){var n,r;return n=t/e,r=Ds(n),n>r&&++r,r}function O0(t){var e,n;return n=(e=new vv,e),F8(n,t),n}function nrt(t){var e,n;return n=(e=new vv,e),L4t(n,t),n}function snn(t,e){var n;return n=cr(t.f,e),ayt(e,n),null}function rrt(t){var e;return e=bon(t),e||null}function yXt(t){return!t.b&&(t.b=new pe(aa,t,12,3)),t.b}function ann(t){return t!=null&&wM(sU,t.toLowerCase())}function onn(t,e){return Vs(Wu(t)*Dl(t),Wu(e)*Dl(e))}function cnn(t,e){return Vs(Wu(t)*Dl(t),Wu(e)*Dl(e))}function unn(t,e){return Vs(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function lnn(t,e){return Vs(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function xXt(t,e,n){n.a?Iu(t,e.b-t.f/2):Du(t,e.a-t.g/2)}function kXt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function EXt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function tb(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function TXt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function _Xt(t,e,n,r){lh(),vJt.call(this,e,n,r),this.a=t}function CXt(t,e,n,r){lh(),vJt.call(this,e,n,r),this.a=t}function SXt(t,e){this.a=t,bQe.call(this,t,u(t.d,15).Zc(e))}function irt(t){this.f=t,this.c=this.f.e,t.f>0&&jse(this)}function AXt(t,e,n,r){this.b=t,this.c=r,Vet.call(this,e,n)}function LXt(t){return sr(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function Ph(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function Twt(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function i$(t){return t.n&&(t.e!==Yhe&&t._d(),t.j=null),t}function MXt(t){return m_(t==null||znt(t)&&t.im!==Ft),t}function DXt(t){this.b=new ge,Hs(this.b,this.b),this.a=t}function $6(){$6=X,iV=new ge,qut=new Br,zut=new ge}function pn(){pn=X,mo=new nt,l0=new dt,KH=new Ct}function Q3(){Q3=X,b7t=new Cn,v7t=new Cn,w7t=new xe}function _wt(){_wt=X,Bge=new Jn,jge=new Vvt,Rge=new Or}function hnn(){L7t==256&&(A7t=QH,QH=new C,L7t=0),++L7t}function z6(t){var e;return e=t.f,e||(t.f=new r8(t,t.c))}function fnn(t){return cw(t)&&je(Be(He(t,(Te(),Bb))))}function dnn(t,e){return un(t,u(K(e,(Te(),v9)),19),e)}function IXt(t,e){return o4(t.j,e.s,e.c)+o4(e.e,t.s,t.c)}function OXt(t,e){t.e&&!t.e.a&&(Izt(t.e,e),OXt(t.e,e))}function PXt(t,e){t.d&&!t.d.a&&(Izt(t.d,e),PXt(t.d,e))}function gnn(t,e){return-Vs(Wu(t)*Dl(t),Wu(e)*Dl(e))}function pnn(t){return u(t.cd(),146).tg()+":"+tc(t.dd())}function bnn(t){vf();var e;e=u(t.g,10),e.n.a=t.d.c+e.d.b}function vnn(t,e,n){return qT(),cln(u(cr(t.e,e),522),n)}function wnn(t,e){return bl(t),bl(e),Pqt(u(t,22),u(e,22))}function mnn(t,e,n){t.i=0,t.e=0,e!=n&&ere(t,e,n)}function ynn(t,e,n){t.i=0,t.e=0,e!=n&&nre(t,e,n)}function eb(t,e,n){var r,s;r=uvt(n),s=new yT(r),Zf(t,e,s)}function srt(t,e,n,r,s,o){vD.call(this,t,e,n,r,s,o?-2:-1)}function NXt(t,e,n,r){G2t.call(this,e,n),this.b=t,this.a=r}function Cwt(t,e){new hs,this.a=new Hu,this.b=t,this.c=e}function xnn(t,e){return u(K(t,(oe(),Ix)),15).Fc(e),e}function s$(t,e){if(t==null)throw et(new x6(e));return t}function zi(t){return!t.q&&(t.q=new pe(Jh,t,11,10)),t.q}function Kt(t){return!t.s&&(t.s=new pe(ju,t,21,17)),t.s}function a$(t){return!t.a&&(t.a=new pe(bs,t,10,11)),t.a}function o$(t){return _t(t,14)?new y_(u(t,14)):ZJe(t.Kc())}function knn(t){return new NUt(t,t.e.Hd().gc()*t.c.Hd().gc())}function Enn(t){return new FUt(t,t.e.Hd().gc()*t.c.Hd().gc())}function Swt(t){return t&&t.hashCode?t.hashCode():Mv(t)}function art(t,e){return e==null?!!Ho(t.f,null):Rtn(t.g,e)}function Tnn(t){return zr(t),rse(new pr(xr(t.a.Kc(),new H)))}function nD(t){return pn(),_t(t,54)?new oet(t):new gj(t)}function FXt(t,e,n){return t.f?t.f.Ne(e,n):!1}function _nn(t,e){return t.a=$l(t.a,0,e)+""+FM(t.a,e+1),t}function Cnn(t,e){var n;return n=ubt(t.a,e),n&&(e.d=null),n}function c$(t){var e,n;n=t,e=n.$modCount|0,n.$modCount=e+1}function Awt(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function BXt(t){this.b=t,this.a=new Op(u(zr(new hm),62))}function RXt(t){this.c=t,this.b=new Op(u(zr(new Fn),62))}function jXt(t){this.c=t,this.b=new Op(u(zr(new pk),62))}function $Xt(){this.a=new Mpt,this.b=new iqt,this.d=new XN}function $v(){this.a=new Hu,this.b=(Gl(3,my),new iu(3))}function zXt(){this.b=new na,this.d=new hs,this.e=new Ipt}function u$(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function qXt(t,e){oKe.call(this,new Bnt(t)),this.a=t,this.b=e}function HXt(){Ist(this,new VB),this.wb=(Hp(),Ln),e8()}function Snn(t){Dr(t,"No crossing minimization",1),br(t)}function Ann(t){mR(),b.setTimeout(function(){throw t},0)}function qo(t){return t.u||(gl(t),t.u=new CWt(t,t)),t.u}function Su(t){var e;return e=u(In(t,16),26),e||t.zh()}function VXt(t,e){return _t(e,146)&&ln(t.b,u(e,146).tg())}function Lnn(t,e){return t.a?e.Wg().Kc():u(e.Wg(),69).Zh()}function Mnn(t){return t.k==(Yn(),Ws)&&ia(t,(oe(),mS))}function ort(t){this.a=(pn(),_t(t,54)?new oet(t):new gj(t))}function _8(){_8=X;var t,e;e=!Qln(),t=new ht,kut=e?new gt:t}function crt(t,e){var n;return n=Ip(t.gm),e==null?n:n+": "+e}function GXt(t,e){var n;return n=t.b.Qc(e),FZt(n,t.b.gc()),n}function rD(t,e){if(t==null)throw et(new x6(e));return t}function Ho(t,e){return bre(t,e,frn(t,e==null?0:t.b.se(e)))}function Dnn(t,e,n){return n>=0&&ln(t.substr(n,e.length),e)}function Gp(t,e,n,r,s,o,h){return new Art(t.e,e,n,r,s,o,h)}function UXt(t,e,n,r,s,o){this.a=t,eit.call(this,e,n,r,s,o)}function WXt(t,e,n,r,s,o){this.a=t,eit.call(this,e,n,r,s,o)}function KXt(t,e){this.g=t,this.d=ct(ot(h0,1),Gg,10,0,[e])}function Dg(t,e){this.e=t,this.a=ir,this.b=vue(e),this.c=e}function YXt(t,e){Ej.call(this),Nmt(this),this.a=t,this.c=e}function iD(t,e,n,r){ds(t.c[e.g],n.g,r),ds(t.c[n.g],e.g,r)}function urt(t,e,n,r){ds(t.c[e.g],e.g,n),ds(t.b[e.g],e.g,r)}function Inn(){return dD(),ct(ot(R_t,1),ue,376,0,[bht,NO])}function Onn(){return mD(),ct(ot(MEt,1),ue,479,0,[LEt,RV])}function Pnn(){return SD(),ct(ot(SEt,1),ue,419,0,[FV,CEt])}function Nnn(){return P$(),ct(ot(mEt,1),ue,422,0,[wEt,vlt])}function Fnn(){return E$(),ct(ot(HEt,1),ue,420,0,[Ilt,qEt])}function Bnn(){return ED(),ct(ot(P_t,1),ue,421,0,[dht,ght])}function Rnn(){return B_(),ct(ot(lme,1),ue,523,0,[PS,OS])}function jnn(){return Xf(),ct(ot(Pme,1),ue,520,0,[Uy,m2])}function $nn(){return yd(),ct(ot(vme,1),ue,516,0,[Bw,Zg])}function znn(){return D1(),ct(ot(mme,1),ue,515,0,[zb,Y1])}function qnn(){return zv(),ct(ot(zme,1),ue,455,0,[y2,n5])}function Hnn(){return m$(),ct(ot(cCt,1),ue,425,0,[Dht,oCt])}function Vnn(){return p$(),ct(ot(aCt,1),ue,480,0,[Mht,sCt])}function Gnn(){return az(),ct(ot(uCt,1),ue,495,0,[CG,T9])}function Unn(){return F$(),ct(ot(hCt,1),ue,426,0,[lCt,Nht])}function Wnn(){return BD(),ct(ot(gSt,1),ue,429,0,[NG,dSt])}function Knn(){return gD(),ct(ot(UCt,1),ue,430,0,[Vht,OG])}function Ynn(){return Fz(),ct(ot(D7t,1),ue,428,0,[Dut,M7t])}function Xnn(){return q$(),ct(ot(O7t,1),ue,427,0,[I7t,Iut])}function Qnn(){return H$(),ct(ot(o9t,1),ue,424,0,[Hut,sV])}function Znn(){return H8(),ct(ot(O2e,1),ue,511,0,[wO,nlt])}function l$(t,e,n,r){return n>=0?t.jh(e,n,r):t.Sg(null,n,r)}function lrt(t){return t.b.b==0?t.a.$e():knt(t.b)}function Jnn(t){if(t.p!=5)throw et(new qu);return $r(t.f)}function trn(t){if(t.p!=5)throw et(new qu);return $r(t.k)}function Lwt(t){return Ut(t.a)===Ut((hit(),Cft))&&e3n(t),t.a}function XXt(t){this.a=u(zr(t),271),this.b=(pn(),new kbt(t))}function QXt(t,e){cpt(this,new $e(t.a,t.b)),ZB(this,YM(e))}function zv(){zv=X,y2=new B2t(gx,0),n5=new B2t(px,1)}function yd(){yd=X,Bw=new N2t(px,0),Zg=new N2t(gx,1)}function qv(){lKe.call(this,new E6(Qm(12))),wbt(!0),this.a=2}function hrt(t,e,n){Si(),bv.call(this,t),this.b=e,this.a=n}function Mwt(t,e,n){lh(),uR.call(this,e),this.a=t,this.b=n}function ZXt(t){Ej.call(this),Nmt(this),this.a=t,this.c=!0}function JXt(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function h$(t){var e;oon(t.a),lUt(t.a),e=new lr(t.a),s3t(e)}function ern(t,e){cue(t,!0),Mu(t.e.wf(),new dvt(t,!0,e))}function f$(t,e){return IZt(e),ion(t,Pt(Fr,ui,25,e,15,1),e)}function nrn(t,e){return $6(),t==gs(n0(e))||t==gs(t2(e))}function Uc(t,e){return e==null?gc(Ho(t.f,null)):UT(t.g,e)}function rrn(t){return t.b==0?null:(sr(t.b!=0),bh(t,t.a.a))}function Ds(t){return Math.max(Math.min(t,Di),-2147483648)|0}function irn(t,e){var n=xut[t.charCodeAt(0)];return n??t}function d$(t,e){return s$(t,"set1"),s$(e,"set2"),new YHt(t,e)}function srn(t,e){var n;return n=Jan(t.f,e),$i(xj(n),t.f.d)}function D_(t,e){var n,r;return n=e,r=new qe,Xle(t,n,r),r.d}function frt(t,e,n,r){var s;s=new $Wt,e.a[n.g]=s,N6(t.b,r,s)}function Dwt(t,e,n){var r;r=t.Yg(e),r>=0?t.sh(r,n):y5t(t,e,n)}function Z3(t,e,n){b$(),t&&Ni(Eft,t,e),t&&Ni(hP,t,n)}function tQt(t,e,n){this.i=new ge,this.b=t,this.g=e,this.a=n}function g$(t,e,n){this.c=new ge,this.e=t,this.f=e,this.b=n}function Iwt(t,e,n){this.a=new ge,this.e=t,this.f=e,this.c=n}function eQt(t,e){hj(this),this.f=e,this.g=t,i$(this),this._d()}function sD(t,e){var n;n=t.q.getHours(),t.q.setDate(e),yC(t,n)}function nQt(t,e){var n;for(zr(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function rQt(t){var e;return e=new ER(Qm(t.length)),Eyt(e,t),e}function arn(t){function e(){}return e.prototype=t||{},new e}function orn(t,e){return Ine(t,e)?(Mee(t),!0):!1}function P0(t,e){if(e==null)throw et(new LT);return ihn(t,e)}function crn(t){if(t.qe())return null;var e=t.n;return qH[e]}function aD(t){return t.Db>>16!=3?null:u(t.Cb,33)}function M1(t){return t.Db>>16!=9?null:u(t.Cb,33)}function iQt(t){return t.Db>>16!=6?null:u(t.Cb,79)}function sQt(t){return t.Db>>16!=7?null:u(t.Cb,235)}function aQt(t){return t.Db>>16!=7?null:u(t.Cb,160)}function gs(t){return t.Db>>16!=11?null:u(t.Cb,33)}function oQt(t,e){var n;return n=t.Yg(e),n>=0?t.lh(n):zst(t,e)}function cQt(t,e){var n;return n=new Bvt(e),uae(n,t),new Uu(n)}function Owt(t){var e;return e=t.d,e=t.si(t.f),Hr(t,e),e.Ob()}function uQt(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function drt(t,e){return b.Math.abs(t)<b.Math.abs(e)?t:e}function urn(t){return!t.a&&(t.a=new pe(bs,t,10,11)),t.a.i>0}function lQt(){this.a=new M0,this.e=new na,this.g=0,this.i=0}function hQt(t){this.a=t,this.b=Pt(ome,re,1944,t.e.length,0,2)}function grt(t,e,n){var r;r=Zne(t,e,n),t.b=new sz(r.c.length)}function D1(){D1=X,zb=new P2t(yot,0),Y1=new P2t("UP",1)}function p$(){p$=X,Mht=new R2t(_1e,0),sCt=new R2t("FAN",1)}function b$(){b$=X,Eft=new Br,hP=new Br,LYe(Ege,new XE)}function lrn(t){if(t.p!=0)throw et(new qu);return a_(t.f,0)}function hrn(t){if(t.p!=0)throw et(new qu);return a_(t.k,0)}function fQt(t){return t.Db>>16!=3?null:u(t.Cb,147)}function C8(t){return t.Db>>16!=6?null:u(t.Cb,235)}function Gm(t){return t.Db>>16!=17?null:u(t.Cb,26)}function dQt(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function frn(t,e){var n;return n=t.a.get(e),n??new Array}function drn(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),yC(t,n)}function Fo(t,e,n){return e==null?du(t.f,null,n):ew(t.g,e,n)}function I_(t,e,n,r,s,o){return new R0(t.e,e,t.aj(),n,r,s,o)}function oD(t,e,n){return t.a=$l(t.a,0,e)+(""+n)+FM(t.a,e),t}function grn(t,e,n){return de(t.a,(Jj(),hst(e,n),new _v(e,n))),t}function Pwt(t){return ybt(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function gQt(t){return ybt(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function ya(t,e){t.d&&Au(t.d.e,t),t.d=e,t.d&&de(t.d.e,t)}function Wa(t,e){t.c&&Au(t.c.g,t),t.c=e,t.c&&de(t.c.g,t)}function Bo(t,e){t.c&&Au(t.c.a,t),t.c=e,t.c&&de(t.c.a,t)}function ac(t,e){t.i&&Au(t.i.j,t),t.i=e,t.i&&de(t.i.j,t)}function pQt(t,e,n){this.a=e,this.c=t,this.b=(zr(n),new Uu(n))}function bQt(t,e,n){this.a=e,this.c=t,this.b=(zr(n),new Uu(n))}function vQt(t,e){this.a=t,this.c=pc(this.a),this.b=new u$(e)}function prn(t){var e;return pb(t),e=new na,Xi(t,new Ge(e))}function Um(t,e){if(t<0||t>e)throw et(new Po(j6t+t+$6t+e))}function Nwt(t,e){return oYt(t.a,e)?swt(t,u(e,22).g,null):null}function brn(t){return Dit(),Rn(),u(t.a,81).d.e!=0}function wQt(){wQt=X,cge=ai((pR(),ct(ot(oge,1),ue,538,0,[mut])))}function mQt(){mQt=X,Kwe=sl(new ra,(ao(),Uo),(wo(),mO))}function Fwt(){Fwt=X,Ywe=sl(new ra,(ao(),Uo),(wo(),mO))}function yQt(){yQt=X,Qwe=sl(new ra,(ao(),Uo),(wo(),mO))}function xQt(){xQt=X,fme=Mi(new ra,(ao(),Uo),(wo(),fS))}function zl(){zl=X,pme=Mi(new ra,(ao(),Uo),(wo(),fS))}function kQt(){kQt=X,bme=Mi(new ra,(ao(),Uo),(wo(),fS))}function prt(){prt=X,xme=Mi(new ra,(ao(),Uo),(wo(),fS))}function EQt(){EQt=X,oye=sl(new ra,(l7(),FS),(fC(),xht))}function nb(t,e,n,r){this.c=t,this.d=r,vrt(this,e),wrt(this,n)}function q6(t){this.c=new hs,this.b=t.b,this.d=t.c,this.a=t.a}function brt(t){this.a=b.Math.cos(t),this.b=b.Math.sin(t)}function vrt(t,e){t.a&&Au(t.a.k,t),t.a=e,t.a&&de(t.a.k,t)}function wrt(t,e){t.b&&Au(t.b.f,t),t.b=e,t.b&&de(t.b.f,t)}function TQt(t,e){_en(t,t.b,t.c),u(t.b.b,65),e&&u(e.b,65).b}function vrn(t,e){Zyt(t,e),_t(t.Cb,88)&&hy(gl(u(t.Cb,88)),2)}function mrt(t,e){_t(t.Cb,88)&&hy(gl(u(t.Cb,88)),4),su(t,e)}function v$(t,e){_t(t.Cb,179)&&(u(t.Cb,179).tb=null),su(t,e)}function Wc(t,e){return po(),Yrt(e)?new Oj(e,t):new NM(e,t)}function wrn(t,e){var n,r;n=e.c,r=n!=null,r&&R6(t,new Hm(e.c))}function _Qt(t){var e,n;return n=(e8(),e=new vv,e),F8(n,t),n}function CQt(t){var e,n;return n=(e8(),e=new vv,e),F8(n,t),n}function SQt(t,e){var n;return n=new Oh(t),e.c[e.c.length]=n,n}function AQt(t,e){var n;return n=u(ny(z6(t.a),e),14),n?n.gc():0}function LQt(t){var e;return pb(t),e=(Q3(),Q3(),v7t),U$(t,e)}function MQt(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function Bwt(t,e){cKe.call(this,new E6(Qm(t))),Gl(e,Hhe),this.a=e}function Zd(t,e,n){Bre(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function DQt(t,e,n){var r;Bre(e,n,t.c.length),r=n-e,o2t(t.c,e,r)}function mrn(t,e){AUt(t,$r(Xs($p(e,24),Bq)),$r(Xs(e,Bq)))}function An(t,e){if(t<0||t>=e)throw et(new Po(j6t+t+$6t+e))}function Xr(t,e){if(t<0||t>=e)throw et(new Ypt(j6t+t+$6t+e))}function _n(t,e){this.b=(Pn(t),t),this.a=e&yy?e:e|64|Ed}function IQt(t){uUt(this),Hzt(this.a,xyt(b.Math.max(8,t))<<1)}function I1(t){return cc(ct(ot(sa,1),re,8,0,[t.i.n,t.n,t.a]))}function yrn(){return j1(),ct(ot(xl,1),ue,132,0,[S7t,Zl,Ly])}function xrn(){return Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])}function krn(){return ol(),ct(ot(Uge,1),ue,461,0,[Pd,f2,Cf])}function Ern(){return Lu(),ct(ot(Kge,1),ue,462,0,[a1,d2,Sf])}function Trn(){return tw(),ct(ot(_9t,1),ue,423,0,[z4,T9t,Jut])}function _rn(){return j_(),ct(ot(x9t,1),ue,379,0,[Wut,Uut,Kut])}function Crn(){return Y_(),ct(ot(T_t,1),ue,378,0,[oht,E_t,hG])}function Srn(){return X6(),ct(ot(xEt,1),ue,314,0,[Ax,xO,yEt])}function Arn(){return Z$(),ct(ot(EEt,1),ue,337,0,[kEt,NV,wlt])}function Lrn(){return hb(),ct(ot(cbe,1),ue,450,0,[xlt,l9,G4])}function Mrn(){return Zv(),ct(ot(clt,1),ue,361,0,[Sw,p2,Cw])}function Drn(){return j0(),ct(ot(bbe,1),ue,303,0,[EO,W4,Lx])}function Irn(){return K8(),ct(ot(Dlt,1),ue,292,0,[Llt,Mlt,kO])}function Orn(){return xo(),ct(ot(zwe,1),ue,452,0,[MS,ll,lu])}function Prn(){return z0(),ct(ot(O_t,1),ue,339,0,[w2,I_t,fht])}function Nrn(){return hz(),ct(ot(B_t,1),ue,375,0,[N_t,pht,F_t])}function Frn(){return bz(),ct(ot(V_t,1),ue,377,0,[mht,k9,Gy])}function Brn(){return e7(),ct(ot($_t,1),ue,336,0,[vht,j_t,DS])}function Rrn(){return uz(),ct(ot(H_t,1),ue,338,0,[q_t,wht,z_t])}function jrn(){return Qv(),ct(ot(sme,1),ue,454,0,[FO,IS,pG])}function $rn(){return Sz(),ct(ot(fye,1),ue,442,0,[Pht,Iht,Oht])}function zrn(){return zD(),ct(ot(gCt,1),ue,380,0,[SG,fCt,dCt])}function qrn(){return Cz(),ct(ot(ICt,1),ue,381,0,[DCt,$ht,MCt])}function Hrn(){return lz(),ct(ot(ACt,1),ue,293,0,[jht,SCt,CCt])}function Vrn(){return WD(),ct(ot(zht,1),ue,437,0,[MG,DG,IG])}function Grn(){return q0(),ct(ot(xAt,1),ue,334,0,[GG,np,YS])}function Urn(){return F1(),ct(ot(uAt,1),ue,272,0,[S9,Yy,A9])}function Wrn(t,e){return g2n(t,e,_t(e,99)&&(u(e,18).Bb&co)!=0)}function Krn(t,e,n){var r;return r=EC(t,e,!1),r.b<=e&&r.a<=n}function OQt(t,e,n){var r;r=new _Q,r.b=e,r.a=n,++e.b,de(t.d,r)}function Yrn(t,e){var n;return n=(Pn(t),t).g,Ibt(!!n),Pn(e),n(e)}function Rwt(t,e){var n,r;return r=w8(t,e),n=t.a.Zc(r),new KHt(t,n)}function Xrn(t){return t.Db>>16!=6?null:u(Vst(t),235)}function Qrn(t){if(t.p!=2)throw et(new qu);return $r(t.f)&Ps}function Zrn(t){if(t.p!=2)throw et(new qu);return $r(t.k)&Ps}function Jrn(t){return t.a==(M8(),uU)&&Ctt(t,M2n(t.g,t.b)),t.a}function H6(t){return t.d==(M8(),uU)&&ET(t,Ewn(t.g,t.b)),t.d}function Q(t){return sr(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function tin(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function Xs(t,e){return Yp(Ktn(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function O1(t,e){return Yp(Ytn(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function yrt(t,e){return Yp(Xtn(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function ein(t){return Ka(I0(Ou(wl(t,32)),32),Ou(wl(t,32)))}function Hv(t){return zr(t),_t(t,14)?new Uu(u(t,14)):g8(t.Kc())}function nin(t,e){return $_(),t.c==e.c?Vs(e.d,t.d):Vs(t.c,e.c)}function rin(t,e){return $_(),t.c==e.c?Vs(t.d,e.d):Vs(t.c,e.c)}function iin(t,e){return $_(),t.c==e.c?Vs(t.d,e.d):Vs(e.c,t.c)}function sin(t,e){return $_(),t.c==e.c?Vs(e.d,t.d):Vs(e.c,t.c)}function ain(t,e){var n;n=Zt(ke(t.a.We((Ei(),VG)))),xhe(t,e,n)}function oin(t,e){var n;n=u(cr(t.g,e),57),Mu(e.d,new BVt(t,n))}function cin(t,e){var n,r;return n=mse(t),r=mse(e),n<r?-1:n>r?1:0}function PQt(t,e){var n,r;return n=Vrt(e),r=n,u(cr(t.c,r),19).a}function NQt(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function w$(t){return t.c==null||t.c.length==0?"n_"+t.g:"n_"+t.c}function jwt(t){return t.c==null||t.c.length==0?"n_"+t.b:"n_"+t.c}function $wt(t,e){return t&&t.equals?t.equals(e):Ut(t)===Ut(e)}function zwt(t,e){return e==0?!!t.o&&t.o.f!=0:est(t,e)}function wf(t,e,n){var r;t.n&&e&&n&&(r=new qZ,de(t.e,r))}function xrt(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function FQt(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function BQt(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function RQt(t,e,n){bv.call(this,25),this.b=t,this.a=e,this.c=n}function ql(t){Si(),bv.call(this,t),this.c=!1,this.a=!1}function jQt(t,e,n,r,s,o){Rmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function $Qt(t,e,n,r,s,o){jmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function zQt(t,e,n,r,s,o){umt.call(this,t,e,n,r,s),o&&(this.o=-2)}function qQt(t,e,n,r,s,o){qmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function HQt(t,e,n,r,s,o){lmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function VQt(t,e,n,r,s,o){$mt.call(this,t,e,n,r,s),o&&(this.o=-2)}function GQt(t,e,n,r,s,o){zmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function UQt(t,e,n,r,s,o){hmt.call(this,t,e,n,r,s),o&&(this.o=-2)}function WQt(t,e,n,r){uR.call(this,n),this.b=t,this.c=e,this.d=r}function qwt(t,e){this.a=new ge,this.d=new ge,this.f=t,this.c=e}function KQt(){this.c=new yUt,this.a=new $Xt,this.b=new Zzt,hVt()}function YQt(){Z6(),this.b=new Br,this.a=new Br,this.c=new ge}function XQt(t,e){this.g=t,this.d=(M8(),uU),this.a=uU,this.b=e}function QQt(t,e){this.f=t,this.a=(M8(),cU),this.c=cU,this.b=e}function Hwt(t,e){!t.c&&(t.c=new ws(t,0)),Tq(t.c,(Vi(),oA),e)}function m$(){m$=X,Dht=new j2t("DFS",0),oCt=new j2t("BFS",1)}function uin(t,e,n){var r;return r=u(t.Zb().xc(e),14),!!r&&r.Hc(n)}function ZQt(t,e,n){var r;return r=u(t.Zb().xc(e),14),!!r&&r.Mc(n)}function JQt(t,e,n,r){return t.a+=""+$l(e==null?Nu:tc(e),n,r),t}function bc(t,e,n,r,s,o){return fne(t,e,n,o),Wyt(t,r),Kyt(t,s),t}function krt(t){return sr(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function O_(t){for(;t.d>0&&t.a[--t.d]==0;);t.a[t.d++]==0&&(t.e=0)}function tZt(t){return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function lin(t){return!!t.a&&pl(t.a.a).i!=0&&!(t.b&&cst(t.b))}function hin(t){return!!t.u&&$c(t.u.a).i!=0&&!(t.n&&ost(t.n))}function eZt(t){return Cnt(t.e.Hd().gc()*t.c.Hd().gc(),16,new c6(t))}function fin(t,e){return DYt(Ou(t.q.getTime()),Ou(e.q.getTime()))}function xd(t){return u($1(t,Pt(tlt,Fot,17,t.c.length,0,1)),474)}function cD(t){return u($1(t,Pt(h0,Gg,10,t.c.length,0,1)),193)}function din(t){return zl(),!io(t)&&!(!io(t)&&t.c.i.c==t.d.i.c)}function nZt(t,e,n){var r;r=(zr(t),new Uu(t)),Hfn(new pQt(r,e,n))}function uD(t,e,n){var r;r=(zr(t),new Uu(t)),Vfn(new bQt(r,e,n))}function rZt(t,e){var n;return n=1-e,t.a[n]=iz(t.a[n],n),iz(t,e)}function iZt(t,e){var n;t.e=new qpt,n=gy(e),ua(n,t.c),Qce(t,n,0)}function xa(t,e,n,r){var s;s=new YF,s.a=e,s.b=n,s.c=r,pi(t.a,s)}function Ee(t,e,n,r){var s;s=new YF,s.a=e,s.b=n,s.c=r,pi(t.b,s)}function mf(t){var e,n,r;return e=new RYt,n=uat(e,t),Z3n(e),r=n,r}function Vwt(){var t,e,n;return e=(n=(t=new vv,t),n),de(aLt,e),e}function y$(t){return t.j.c=Pt(ir,De,1,0,5,1),xwt(t.c),Wen(t.a),t}function J3(t){return qT(),_t(t.g,10)?u(t.g,10):null}function gin(t){return X3(t).dc()?!1:(dXe(t,new ut),!0)}function pin(t){if(!("stack"in t))try{throw t}catch{}return t}function lD(t,e){if(t<0||t>=e)throw et(new Po(Agn(t,e)));return t}function sZt(t,e,n){if(t<0||e<t||e>n)throw et(new Po(J0n(t,e,n)))}function Ert(t,e){if(Ys(t.a,e),e.d)throw et(new ic(hfe));e.d=t}function Trt(t,e){if(e.$modCount!=t.$modCount)throw et(new uh)}function aZt(t,e){return _t(e,42)?dst(t.a,u(e,42)):!1}function oZt(t,e){return _t(e,42)?dst(t.a,u(e,42)):!1}function cZt(t,e){return _t(e,42)?dst(t.a,u(e,42)):!1}function bin(t,e){return t.a<=t.b?(e.ud(t.a++),!0):!1}function Vv(t){var e;return Qo(t)?(e=t,e==-0?0:e):_an(t)}function x$(t){var e;return Vp(t),e=new Se,R3(t.a,new gn(e)),e}function uZt(t){var e;return Vp(t),e=new Kn,R3(t.a,new me(e)),e}function Sa(t,e){this.a=t,d6.call(this,t),Um(e,t.gc()),this.b=e}function Gwt(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function vin(t){return Cnt(t.e.Hd().gc()*t.c.Hd().gc(),273,new UB(t))}function k$(t){return new iu((Gl(t,Bat),V$(Ka(Ka(5,t),t/10|0))))}function lZt(t){return u($1(t,Pt(M2e,qfe,11,t.c.length,0,1)),1943)}function win(t,e,n){return n.f.c.length>0?cwt(t.a,e,n):cwt(t.b,e,n)}function min(t,e,n){t.d&&Au(t.d.e,t),t.d=e,t.d&&$m(t.d.e,n,t)}function _rt(t,e){f5n(e,t),Svt(t.d),Svt(u(K(t,(Te(),iG)),207))}function P_(t,e){h5n(e,t),Cvt(t.d),Cvt(u(K(t,(Te(),iG)),207))}function Gv(t,e){var n,r;return n=P0(t,e),r=null,n&&(r=n.fe()),r}function S8(t,e){var n,r;return n=Xm(t,e),r=null,n&&(r=n.ie()),r}function N_(t,e){var n,r;return n=P0(t,e),r=null,n&&(r=n.ie()),r}function N0(t,e){var n,r;return n=P0(t,e),r=null,n&&(r=F4t(n)),r}function yin(t,e,n){var r;return r=c7(n),mq(t.g,r,e),mq(t.i,e,n),e}function xin(t,e,n){var r;r=Yln();try{return CQe(t,e,n)}finally{Iin(r)}}function hZt(t){var e;e=t.Wg(),this.a=_t(e,69)?u(e,69).Zh():e.Kc()}function ra(){_qt.call(this),this.j.c=Pt(ir,De,1,0,5,1),this.a=-1}function Uwt(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function fZt(t,e,n,r){this.e=r,this.d=null,this.c=t,this.a=e,this.b=n}function Wwt(t,e,n){this.d=new oR(this),this.e=t,this.i=e,this.f=n}function E$(){E$=X,Ilt=new M2t(N7,0),qEt=new M2t("TOP_LEFT",1)}function dZt(){dZt=X,U_t=cXt(ve(1),ve(4)),G_t=cXt(ve(1),ve(2))}function gZt(){gZt=X,n3e=ai((OR(),ct(ot(e3e,1),ue,551,0,[Hht])))}function pZt(){pZt=X,t3e=ai((IR(),ct(ot(GCt,1),ue,482,0,[qht])))}function bZt(){bZt=X,y3e=ai((HT(),ct(ot(fSt,1),ue,530,0,[qO])))}function vZt(){vZt=X,Cpe=ai((MR(),ct(ot(t9t,1),ue,481,0,[Rut])))}function kin(){return Jv(),ct(ot(mpe,1),ue,406,0,[uO,cO,Fut,But])}function Ein(){return B$(),ct(ot(XH,1),ue,297,0,[Aut,E7t,T7t,_7t])}function Tin(){return sC(),ct(ot(Tpe,1),ue,394,0,[gO,eV,nV,pO])}function _in(){return rx(),ct(ot(xpe,1),ue,323,0,[hO,lO,fO,dO])}function Cin(){return Y8(),ct(ot(w2e,1),ue,405,0,[_w,Iy,Dy,$4])}function Sin(){return pz(),ct(ot(B2e,1),ue,360,0,[alt,AV,LV,yO])}function wZt(t,e,n,r){return _t(n,54)?new iWt(t,e,n,r):new Qvt(t,e,n,r)}function Ain(){return R1(),ct(ot(U2e,1),ue,411,0,[Sx,s9,a9,olt])}function Lin(t){var e;return t.j==(ye(),Ir)&&(e=$oe(t),Gu(e,Wn))}function Min(t,e){var n;n=e.a,Wa(n,e.c.d),ya(n,e.d.d),Jm(n.a,t.n)}function mZt(t,e){return u(Iv(Vj(u(ji(t.k,e),15).Oc(),q4)),113)}function yZt(t,e){return u(Iv(Gj(u(ji(t.k,e),15).Oc(),q4)),113)}function Din(t){return new _n(Aon(u(t.a.dd(),14).gc(),t.a.cd()),16)}function A8(t){return _t(t,14)?u(t,14).dc():!t.Kc().Ob()}function V6(t){return qT(),_t(t.g,145)?u(t.g,145):null}function xZt(t){if(t.e.g!=t.b)throw et(new uh);return!!t.c&&t.d>0}function di(t){return sr(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function Kwt(t,e){Pn(e),ds(t.a,t.c,e),t.c=t.c+1&t.a.length-1,kse(t)}function Up(t,e){Pn(e),t.b=t.b-1&t.a.length-1,ds(t.a,t.b,e),kse(t)}function kZt(t,e){var n;for(n=t.j.c.length;n<e;n++)de(t.j,t.rg())}function EZt(t,e,n,r){var s;return s=r[e.g][n.g],Zt(ke(K(t.a,s)))}function Ywt(t,e,n,r,s){this.i=t,this.a=e,this.e=n,this.j=r,this.f=s}function TZt(t,e,n,r,s){this.a=t,this.e=e,this.f=n,this.b=r,this.g=s}function Iin(t){t&&Aan((Upt(),W8t)),--HH,t&&VH!=-1&&(bYe(VH),VH=-1)}function Oin(){return sy(),ct(ot(uht,1),ue,197,0,[fG,cht,e5,t5])}function Pin(){return l7(),ct(ot(Y_t,1),ue,393,0,[mG,NS,RO,FS])}function Nin(){return Uz(),ct(ot(_Ct,1),ue,340,0,[Rht,ECt,TCt,kCt])}function Fin(){return Fl(),ct(ot(tA,1),ue,374,0,[sP,Wb,iP,Xy])}function Bin(){return Wl(),ct(ot(r4e,1),ue,285,0,[eP,d0,k2,tP])}function Rin(){return V0(),ct(ot(pft,1),ue,218,0,[gft,JO,L9,Vx])}function jin(){return Mz(),ct(ot(MAt,1),ue,311,0,[wft,SAt,LAt,AAt])}function $in(){return Nl(),ct(ot(w4e,1),ue,396,0,[rh,IAt,DAt,OAt])}function zin(t){return b$(),Il(Eft,t)?u(cr(Eft,t),331).ug():null}function dh(t,e,n){return e<0?zst(t,n):u(n,66).Nj().Sj(t,t.yh(),e)}function qin(t,e,n){var r;return r=c7(n),mq(t.d,r,e),Ni(t.e,e,n),e}function Hin(t,e,n){var r;return r=c7(n),mq(t.j,r,e),Ni(t.k,e,n),e}function _Zt(t){var e,n;return e=(Ev(),n=new hv,n),t&&Xst(e,t),e}function Xwt(t){var e;return e=t.ri(t.i),t.i>0&&qc(t.g,0,e,0,t.i),e}function CZt(t,e){FR();var n;return n=u(cr(iU,t),55),!n||n.wj(e)}function Vin(t){if(t.p!=1)throw et(new qu);return $r(t.f)<<24>>24}function Gin(t){if(t.p!=1)throw et(new qu);return $r(t.k)<<24>>24}function Uin(t){if(t.p!=7)throw et(new qu);return $r(t.k)<<16>>16}function Win(t){if(t.p!=7)throw et(new qu);return $r(t.f)<<16>>16}function F0(t){var e;for(e=0;t.Ob();)t.Pb(),e=Ka(e,1);return V$(e)}function SZt(t,e){var n;return n=new Lm,t.xd(n),n.a+="..",e.yd(n),n.a}function Kin(t,e,n){var r;r=u(cr(t.g,n),57),de(t.a.c,new Ca(e,r))}function Yin(t,e,n){return Nnt(ke(gc(Ho(t.f,e))),ke(gc(Ho(t.f,n))))}function T$(t,e,n){return xq(t,e,n,_t(e,99)&&(u(e,18).Bb&co)!=0)}function Xin(t,e,n){return T7(t,e,n,_t(e,99)&&(u(e,18).Bb&co)!=0)}function Qin(t,e,n){return y2n(t,e,n,_t(e,99)&&(u(e,18).Bb&co)!=0)}function Qwt(t,e){return t==(Yn(),Ws)&&e==Ws?4:t==Ws||e==Ws?8:32}function AZt(t,e){return Ut(e)===Ut(t)?"(this Map)":e==null?Nu:tc(e)}function Zin(t,e){return u(e==null?gc(Ho(t.f,null)):UT(t.g,e),281)}function LZt(t,e,n){var r;return r=c7(n),Ni(t.b,r,e),Ni(t.c,e,n),e}function MZt(t,e){var n;for(n=e;n;)Fm(t,n.i,n.j),n=gs(n);return t}function Zwt(t,e){var n;return n=nD(g8(new Grt(t,e))),Nj(new Grt(t,e)),n}function Jd(t,e){po();var n;return n=u(t,66).Mj(),I0n(n,e),n.Ok(e)}function Jin(t,e,n,r,s){var o;o=_2n(s,n,r),de(e,Egn(s,o)),g0n(t,s,e)}function DZt(t,e,n){t.i=0,t.e=0,e!=n&&(nre(t,e,n),ere(t,e,n))}function Jwt(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+a2),yC(t,n)}function tsn(t,e,n){if(n){var r=n.ee();t.a[e]=r(n)}else delete t.a[e]}function Crt(t,e,n){if(n){var r=n.ee();n=r(n)}else n=void 0;t.a[e]=n}function IZt(t){if(t<0)throw et(new Bqt("Negative array size: "+t))}function $c(t){return t.n||(gl(t),t.n=new hYt(t,So,t),qo(t)),t.n}function F_(t){return sr(t.a<t.c.a.length),t.b=t.a,jte(t),t.c.b[t.b]}function tmt(t){t.b!=t.c&&(t.a=Pt(ir,De,1,8,5,1),t.b=0,t.c=0)}function OZt(t){this.b=new Br,this.c=new Br,this.d=new Br,this.a=t}function Wm(t,e){Si(),bv.call(this,t),this.a=e,this.c=-1,this.b=-1}function Km(t,e,n,r){FQt.call(this,1,n,r),this.c=t,this.b=e}function Srt(t,e,n,r){BQt.call(this,1,n,r),this.c=t,this.b=e}function Art(t,e,n,r,s,o,h){eit.call(this,e,r,s,o,h),this.c=t,this.a=n}function rb(t,e,n){this.e=t,this.a=ir,this.b=vue(e),this.c=e,this.d=n}function Lrt(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function PZt(t){this.c=t,this.a=u(Bh(t),148),this.b=this.a.Aj().Nh()}function emt(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function ib(){Br.call(this),tWt(this),this.d.b=this.d,this.d.a=this.d}function NZt(t,e){Qbt.call(this),this.a=t,this.b=e,de(this.a.b,this)}function esn(t,e){var n;return n=e!=null?Uc(t,e):gc(Ho(t.f,e)),ij(n)}function nsn(t,e){var n;return n=e!=null?Uc(t,e):gc(Ho(t.f,e)),ij(n)}function FZt(t,e){var n;for(n=0;n<e;++n)ds(t,n,new $(u(t[n],42)))}function rsn(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function BZt(t,e){t7();var n;return n=t.j.g-e.j.g,n!=0?n:0}function RZt(t,e){return Pn(e),t.a!=null?jtn(e.Kb(t.a)):YH}function _$(t){var e;return t?new Bvt(t):(e=new M0,lit(e,t),e)}function Hl(t,e){var n;return e.b.Kb(Mte(t,e.c.Ee(),(n=new On(e),n)))}function C$(t){y4t(),AUt(this,$r(Xs($p(t,24),Bq)),$r(Xs(t,Bq)))}function jZt(){jZt=X,$ge=ai((Fz(),ct(ot(D7t,1),ue,428,0,[Dut,M7t])))}function $Zt(){$Zt=X,zge=ai((q$(),ct(ot(O7t,1),ue,427,0,[I7t,Iut])))}function zZt(){zZt=X,Hpe=ai((H$(),ct(ot(o9t,1),ue,424,0,[Hut,sV])))}function qZt(){qZt=X,P2e=ai((H8(),ct(ot(O2e,1),ue,511,0,[wO,nlt])))}function HZt(){HZt=X,obe=ai((SD(),ct(ot(SEt,1),ue,419,0,[FV,CEt])))}function VZt(){VZt=X,hbe=ai((mD(),ct(ot(MEt,1),ue,479,0,[LEt,RV])))}function GZt(){GZt=X,Vwe=ai((dD(),ct(ot(R_t,1),ue,376,0,[bht,NO])))}function UZt(){UZt=X,$we=ai((ED(),ct(ot(P_t,1),ue,421,0,[dht,ght])))}function WZt(){WZt=X,rbe=ai((P$(),ct(ot(mEt,1),ue,422,0,[wEt,vlt])))}function KZt(){KZt=X,wbe=ai((E$(),ct(ot(HEt,1),ue,420,0,[Ilt,qEt])))}function YZt(){YZt=X,Nme=ai((Xf(),ct(ot(Pme,1),ue,520,0,[Uy,m2])))}function XZt(){XZt=X,hme=ai((B_(),ct(ot(lme,1),ue,523,0,[PS,OS])))}function QZt(){QZt=X,wme=ai((yd(),ct(ot(vme,1),ue,516,0,[Bw,Zg])))}function ZZt(){ZZt=X,yme=ai((D1(),ct(ot(mme,1),ue,515,0,[zb,Y1])))}function JZt(){JZt=X,qme=ai((zv(),ct(ot(zme,1),ue,455,0,[y2,n5])))}function tJt(){tJt=X,aye=ai((m$(),ct(ot(cCt,1),ue,425,0,[Dht,oCt])))}function eJt(){eJt=X,hye=ai((az(),ct(ot(uCt,1),ue,495,0,[CG,T9])))}function nJt(){nJt=X,sye=ai((p$(),ct(ot(aCt,1),ue,480,0,[Mht,sCt])))}function rJt(){rJt=X,gye=ai((F$(),ct(ot(hCt,1),ue,426,0,[lCt,Nht])))}function iJt(){iJt=X,x3e=ai((BD(),ct(ot(gSt,1),ue,429,0,[NG,dSt])))}function sJt(){sJt=X,r3e=ai((gD(),ct(ot(UCt,1),ue,430,0,[Vht,OG])))}function B_(){B_=X,PS=new O2t("UPPER",0),OS=new O2t("LOWER",1)}function isn(t,e){var n;n=new y6,eb(n,"x",e.a),eb(n,"y",e.b),R6(t,n)}function ssn(t,e){var n;n=new y6,eb(n,"x",e.a),eb(n,"y",e.b),R6(t,n)}function asn(t,e){var n,r;r=!1;do n=Wne(t,e),r=r|n;while(n);return r}function nmt(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function aJt(t,e){var n;for(n=e;n;)Fm(t,-n.i,-n.j),n=gs(n);return t}function Pa(t,e){var n,r;for(Pn(e),r=t.Kc();r.Ob();)n=r.Pb(),e.td(n)}function oJt(t,e){var n;return n=e.cd(),new _v(n,t.e.pc(n,u(e.dd(),14)))}function Cs(t,e,n,r){var s;s=new Rt,s.c=e,s.b=n,s.a=r,r.b=n.a=s,++t.b}function gh(t,e,n){var r;return r=(An(e,t.c.length),t.c[e]),t.c[e]=n,r}function osn(t,e,n){return u(e==null?du(t.f,null,n):ew(t.g,e,n),281)}function Mrt(t){return t.c&&t.d?jwt(t.c)+"->"+jwt(t.d):"e_"+Mv(t)}function L8(t,e){return(pb(t),jT(new En(t,new Cmt(e,t.a)))).sd(t9)}function csn(){return ao(),ct(ot(k9t,1),ue,356,0,[Nd,g2,pu,Zc,Uo])}function usn(){return ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])}function lsn(t){return mR(),function(){return xin(t,this,arguments)}}function hsn(){return Date.now?Date.now():new Date().getTime()}function io(t){return!t.c||!t.d?!1:!!t.c.i&&t.c.i==t.d.i}function cJt(t){if(!t.c.Sb())throw et(new _c);return t.a=!0,t.c.Ub()}function hD(t){t.i=0,EM(t.b,null),EM(t.c,null),t.a=null,t.e=null,++t.g}function rmt(t){wYe.call(this,t==null?Nu:tc(t),_t(t,78)?u(t,78):null)}function uJt(t){Phe(),Ozt(this),this.a=new hs,Myt(this,t),pi(this.a,t)}function lJt(){Yet(this),this.b=new $e(ms,ms),this.a=new $e(Rs,Rs)}function hJt(t,e){this.c=0,this.b=e,jGt.call(this,t,17493),this.a=this.c}function Drt(t){S$(),!U1&&(this.c=t,this.e=!0,this.a=new ge)}function S$(){S$=X,U1=!0,Mge=!1,Dge=!1,Oge=!1,Ige=!1}function imt(t,e){return _t(e,149)?ln(t.c,u(e,149).c):!1}function smt(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function Irt(t,e){var n;return n=u(Uv(t.d,e),23),n||u(Uv(t.e,e),23)}function fJt(t){this.b=t,hr.call(this,t),this.a=u(In(this.b.a,4),126)}function dJt(t){this.b=t,D6.call(this,t),this.a=u(In(this.b.a,4),126)}function gl(t){return t.t||(t.t=new Ezt(t),J_(new Fqt(t),0,t.t)),t.t}function fsn(){return ko(),ct(ot(WS,1),ue,103,0,[f0,Lf,Wh,J0,tg])}function dsn(){return u4(),ct(ot(QS,1),ue,249,0,[E2,nP,kAt,XS,EAt])}function gsn(){return e1(),ct(ot(ep,1),ue,175,0,[Un,fa,Rd,qb,tp])}function psn(){return oI(),ct(ot(XCt,1),ue,316,0,[WCt,Ght,YCt,Uht,KCt])}function bsn(){return aC(),ct(ot(C_t,1),ue,315,0,[__t,lht,hht,AS,LS])}function vsn(){return mb(),ct(ot(_Et,1),ue,335,0,[mlt,TEt,ylt,pS,gS])}function wsn(){return x7(),ct(ot(Qye,1),ue,355,0,[r5,jx,qS,zS,HS])}function msn(){return p4(),ct(ot(K2e,1),ue,363,0,[DV,OV,PV,IV,MV])}function ysn(){return mh(),ct(ot(nTt,1),ue,163,0,[AO,yS,b2,xS,Fy])}function M8(){M8=X;var t,e;cU=(e8(),e=new fR,e),uU=(t=new Utt,t)}function gJt(t){var e;return t.c||(e=t.r,_t(e,88)&&(t.c=u(e,26))),t.c}function xsn(t){return t.e=3,t.d=t.Yb(),t.e!=2?(t.e=0,!0):!1}function Ort(t){var e,n,r;return e=t&yl,n=t>>22&yl,r=t<0?Y0:0,hu(e,n,r)}function ksn(t){var e,n,r,s;for(n=t,r=0,s=n.length;r<s;++r)e=n[r],L_(e)}function Esn(t,e){var n,r;n=u(mun(t.c,e),14),n&&(r=n.gc(),n.$b(),t.d-=r)}function pJt(t,e){var n,r;return n=e.cd(),r=Lyt(t,n),!!r&&Gc(r.e,e.dd())}function G6(t,e){return e==0||t.e==0?t:e>0?fie(t,e):Pce(t,-e)}function amt(t,e){return e==0||t.e==0?t:e>0?Pce(t,e):fie(t,-e)}function qr(t){if(ti(t))return t.c=t.a,t.a.Pb();throw et(new _c)}function bJt(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(Yn(),Fs)&&n.k==Fs}function Prt(t){var e;return e=new $v,Vo(e,t),ne(e,(Te(),zo),null),e}function Nrt(t,e,n){var r;return r=t.Yg(e),r>=0?t._g(r,n,!0):uw(t,e,n)}function omt(t,e,n,r){var s;for(s=0;s<Put;s++)qj(t.a[e.g][s],n,r[e.g])}function cmt(t,e,n,r){var s;for(s=0;s<JH;s++)zj(t.a[s][e.g],n,r[e.g])}function umt(t,e,n,r,s){FQt.call(this,e,r,s),this.c=t,this.a=n}function lmt(t,e,n,r,s){BQt.call(this,e,r,s),this.c=t,this.a=n}function hmt(t,e,n,r,s){wJt.call(this,e,r,s),this.c=t,this.a=n}function yf(t,e,n,r,s){wJt.call(this,e,r,s),this.c=t,this.b=n}function vJt(t,e,n){uR.call(this,n),this.b=t,this.c=e,this.d=(Uit(),Aft)}function wJt(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function mJt(t,e,n){var r;r=new cbt(t.a),G_(r,t.a.a),du(r.f,e,n),t.a.a=r}function fD(t,e){t.qi(t.i+1),f_(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci()}function R_(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci()}function P1(t){var e,n;return zr(t),e=Hen(t.length),n=new iu(e),Eyt(n,t),n}function U6(t){var e;return e=(zr(t),t?new Uu(t):g8(t.Kc())),Bst(e),kz(e)}function Ig(t,e){var n;return n=(An(e,t.c.length),t.c[e]),o2t(t.c,e,1),n}function ji(t,e){var n;return n=u(t.c.xc(e),14),!n&&(n=t.ic(e)),t.pc(e,n)}function fmt(t,e){var n,r;return n=(Pn(t),t),r=(Pn(e),e),n==r?0:n<r?-1:1}function yJt(t){var e;return e=t.e+t.f,isNaN(e)&&_j(t.d)?t.d:e}function B0(t,e){return t.a?ii(t.a,t.b):t.a=new jl(t.d),c_(t.a,e),t}function dmt(t,e){if(t<0||t>e)throw et(new Po(H4t(t,e,"index")));return t}function Frt(t,e,n,r){var s;return s=Pt(Fr,ui,25,e,15,1),Ndn(s,t,e,n,r),s}function Tsn(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),yC(t,n)}function _sn(t,e){return b.Math.min(Wp(e.a,t.d.d.c),Wp(e.b,t.d.d.c))}function W6(t,e){return pa(e)?e==null?a5t(t.f,null):Lne(t.g,e):a5t(t.f,e)}function N1(t){this.c=t,this.a=new S(this.c.a),this.b=new S(this.c.b)}function A$(){this.e=new ge,this.c=new ge,this.d=new ge,this.b=new ge}function xJt(){this.g=new _pt,this.b=new _pt,this.a=new ge,this.k=new ge}function kJt(t,e,n){this.a=t,this.c=e,this.d=n,de(e.e,this),de(n.b,this)}function EJt(t,e){RGt.call(this,e.rd(),e.qd()&-6),Pn(t),this.a=t,this.b=e}function TJt(t,e){jGt.call(this,e.rd(),e.qd()&-6),Pn(t),this.a=t,this.b=e}function gmt(t,e){Vet.call(this,e.rd(),e.qd()&-6),Pn(t),this.a=t,this.b=e}function L$(t,e,n){this.a=t,this.b=e,this.c=n,de(t.t,this),de(e.i,this)}function M$(){this.b=new hs,this.a=new hs,this.b=new hs,this.a=new hs}function D$(){D$=X,VS=new ns("org.eclipse.elk.labels.labelManager")}function _Jt(){_Jt=X,dEt=new Ks("separateLayerConnections",(pz(),alt))}function Xf(){Xf=X,Uy=new F2t("REGULAR",0),m2=new F2t("CRITICAL",1)}function dD(){dD=X,bht=new I2t("STACKED",0),NO=new I2t("SEQUENCED",1)}function gD(){gD=X,Vht=new q2t("FIXED",0),OG=new q2t("CENTER_NODE",1)}function Csn(t,e){var n;return n=M3n(t,e),t.b=new sz(n.c.length),qyn(t,n)}function Ssn(t,e,n){var r;return++t.e,--t.f,r=u(t.d[e].$c(n),133),r.dd()}function CJt(t){var e;return t.a||(e=t.r,_t(e,148)&&(t.a=u(e,148))),t.a}function pmt(t){if(t.a){if(t.e)return pmt(t.e)}else return t;return null}function Asn(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function I$(t,e){return Pn(e),t.c<t.d?(t.ze(e,t.c++),!0):!1}function SJt(t,e){return Il(t.a,e)?(W6(t.a,e),!0):!1}function Lsn(t){var e,n;return e=t.cd(),n=u(t.dd(),14),KM(n.Nc(),new ett(e))}function Msn(t){var e;return e=u(lwt(t.b,t.b.length),9),new hh(t.a,e,t.c)}function Dsn(t){var e;return pb(t),e=new TKt(t,t.a.e,t.a.d|4),new zbt(t,e)}function AJt(t){var e;for(Vp(t),e=0;t.a.sd(new As);)e=Ka(e,1);return e}function bmt(t,e,n){var r,s;for(r=0,s=0;s<e.length;s++)r+=t.$f(e[s],r,n)}function Isn(t,e){var n;t.C&&(n=u(Lo(t.b,e),124).n,n.d=t.C.d,n.a=t.C.a)}function K6(t,e,n){return lD(e,t.e.Hd().gc()),lD(n,t.c.Hd().gc()),t.a[e][n]}function Og(t,e){r2(),this.e=t,this.d=1,this.a=ct(ot(Fr,1),ui,25,15,[e])}function O$(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function vmt(t){var e,n,r,s;s=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=s,t.c=e}function Osn(t,e,n,r){tle(t,e,n,T7(t,e,r,_t(e,99)&&(u(e,18).Bb&co)!=0))}function Psn(t,e){Dr(e,"Label management",1),ij(K(t,(D$(),VS))),br(e)}function iu(t){Yet(this),Aj(t>=0,"Initial capacity must not be negative")}function LJt(){LJt=X,Gge=ai((Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])))}function MJt(){MJt=X,Wge=ai((ol(),ct(ot(Uge,1),ue,461,0,[Pd,f2,Cf])))}function DJt(){DJt=X,Yge=ai((Lu(),ct(ot(Kge,1),ue,462,0,[a1,d2,Sf])))}function IJt(){IJt=X,Pge=ai((j1(),ct(ot(xl,1),ue,132,0,[S7t,Zl,Ly])))}function OJt(){OJt=X,l2e=ai((j_(),ct(ot(x9t,1),ue,379,0,[Wut,Uut,Kut])))}function PJt(){PJt=X,_2e=ai((tw(),ct(ot(_9t,1),ue,423,0,[z4,T9t,Jut])))}function NJt(){NJt=X,ibe=ai((X6(),ct(ot(xEt,1),ue,314,0,[Ax,xO,yEt])))}function FJt(){FJt=X,sbe=ai((Z$(),ct(ot(EEt,1),ue,337,0,[kEt,NV,wlt])))}function BJt(){BJt=X,ube=ai((hb(),ct(ot(cbe,1),ue,450,0,[xlt,l9,G4])))}function RJt(){RJt=X,tbe=ai((Zv(),ct(ot(clt,1),ue,361,0,[Sw,p2,Cw])))}function jJt(){jJt=X,vbe=ai((j0(),ct(ot(bbe,1),ue,303,0,[EO,W4,Lx])))}function $Jt(){$Jt=X,pbe=ai((K8(),ct(ot(Dlt,1),ue,292,0,[Llt,Mlt,kO])))}function zJt(){zJt=X,Nwe=ai((Y_(),ct(ot(T_t,1),ue,378,0,[oht,E_t,hG])))}function qJt(){qJt=X,Hwe=ai((hz(),ct(ot(B_t,1),ue,375,0,[N_t,pht,F_t])))}function HJt(){HJt=X,jwe=ai((z0(),ct(ot(O_t,1),ue,339,0,[w2,I_t,fht])))}function VJt(){VJt=X,qwe=ai((xo(),ct(ot(zwe,1),ue,452,0,[MS,ll,lu])))}function GJt(){GJt=X,Wwe=ai((bz(),ct(ot(V_t,1),ue,377,0,[mht,k9,Gy])))}function UJt(){UJt=X,Gwe=ai((e7(),ct(ot($_t,1),ue,336,0,[vht,j_t,DS])))}function WJt(){WJt=X,Uwe=ai((uz(),ct(ot(H_t,1),ue,338,0,[q_t,wht,z_t])))}function KJt(){KJt=X,ame=ai((Qv(),ct(ot(sme,1),ue,454,0,[FO,IS,pG])))}function YJt(){YJt=X,dye=ai((Sz(),ct(ot(fye,1),ue,442,0,[Pht,Iht,Oht])))}function XJt(){XJt=X,pye=ai((zD(),ct(ot(gCt,1),ue,380,0,[SG,fCt,dCt])))}function QJt(){QJt=X,Iye=ai((Cz(),ct(ot(ICt,1),ue,381,0,[DCt,$ht,MCt])))}function ZJt(){ZJt=X,Dye=ai((lz(),ct(ot(ACt,1),ue,293,0,[jht,SCt,CCt])))}function JJt(){JJt=X,Jye=ai((WD(),ct(ot(zht,1),ue,437,0,[MG,DG,IG])))}function tte(){tte=X,n4e=ai((q0(),ct(ot(xAt,1),ue,334,0,[GG,np,YS])))}function ete(){ete=X,Z3e=ai((F1(),ct(ot(uAt,1),ue,272,0,[S9,Yy,A9])))}function Nsn(){return ka(),ct(ot(TAt,1),ue,98,0,[T2,Q1,M9,Ub,p0,eu])}function sb(t,e){return!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Wit(t.o,e)}function Fsn(t){return!t.g&&(t.g=new _k),!t.g.d&&(t.g.d=new yzt(t)),t.g.d}function Bsn(t){return!t.g&&(t.g=new _k),!t.g.a&&(t.g.a=new xzt(t)),t.g.a}function Rsn(t){return!t.g&&(t.g=new _k),!t.g.b&&(t.g.b=new mzt(t)),t.g.b}function pD(t){return!t.g&&(t.g=new _k),!t.g.c&&(t.g.c=new kzt(t)),t.g.c}function jsn(t,e,n){var r,s;for(s=new W8(e,t),r=0;r<n;++r)qz(s);return s}function Brt(t,e,n){var r,s;if(n!=null)for(r=0;r<e;++r)s=n[r],t.fi(r,s)}function Rrt(t,e,n,r){var s;return s=Pt(Fr,ui,25,e+1,15,1),xmn(s,t,e,n,r),s}function Pt(t,e,n,r,s,o){var h;return h=dse(s,r),s!=10&&ct(ot(t,o),e,n,s,h),h}function $sn(t,e,n,r){return n&&(r=n.gh(e,rs(n.Tg(),t.c.Lj()),null,r)),r}function zsn(t,e,n,r){return n&&(r=n.ih(e,rs(n.Tg(),t.c.Lj()),null,r)),r}function wmt(t,e,n){u(t.b,65),u(t.b,65),u(t.b,65),Mu(t.a,new lKt(n,e,t))}function mmt(t,e,n){if(t<0||e>n||e<t)throw et(new Ypt(Rq+t+R6t+e+F6t+n))}function D8(t){if(!t)throw et(new Xo("Unable to add element to queue"))}function jrt(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new ge)}function $rt(t,e){$R.call(this,t,e),this.a=Pt(X5n,Pq,436,2,0,1),this.b=!0}function ymt(t){Vne.call(this,t,0),tWt(this),this.d.b=this.d,this.d.a=this.d}function zrt(t){var e;return e=t.b,e.b==0?null:u(n1(e,0),188).b}function nte(t,e){var n;return n=new qe,n.c=!0,n.d=e.dd(),Xle(t,e.cd(),n)}function qsn(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),yC(t,n)}function xmt(t,e,n){var r;r=t.b[n.c.p][n.p],r.b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function Wp(t,e){var n,r;return n=t.a-e.a,r=t.b-e.b,b.Math.sqrt(n*n+r*r)}function P$(){P$=X,wEt=new S2t("QUADRATIC",0),vlt=new S2t("SCANLINE",1)}function rte(){rte=X,Xwe=sl(Mi(new ra,(ao(),Nd),(wo(),rlt)),Uo,mO)}function Hsn(){return cy(),ct(ot(nft,1),ue,291,0,[eft,KO,WO,tft,GO,UO])}function Vsn(){return e0(),ct(ot(mSt,1),ue,248,0,[Zht,HO,VO,RG,FG,BG])}function Gsn(){return sx(),ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4])}function Usn(){return p7(),ct(ot(zEt,1),ue,275,0,[bS,BEt,$Et,jEt,REt,FEt])}function Wsn(){return sI(),ct(ot(NEt,1),ue,274,0,[jV,IEt,PEt,DEt,OEt,Slt])}function Ksn(){return tq(),ct(ot(k_t,1),ue,313,0,[aht,y_t,sht,m_t,x_t,lG])}function Ysn(){return iq(),ct(ot(AEt,1),ue,276,0,[Elt,klt,_lt,Tlt,Clt,BV])}function Xsn(){return fC(),ct(ot(Vme,1),ue,327,0,[yG,kht,Tht,Eht,_ht,xht])}function Qsn(){return cl(),ct(ot(UG,1),ue,273,0,[_2,ng,rP,JS,ZS,Gx])}function Zsn(){return nq(),ct(ot(pAt,1),ue,312,0,[bft,fAt,gAt,lAt,dAt,hAt])}function Jsn(){return Yn(),ct(ot(elt,1),ue,267,0,[Ws,ha,Fs,Jc,Bl,W1])}function ite(t){Nm(!!t.c),Trt(t.e,t),t.c.Qb(),t.c=null,t.b=hyt(t),Rbt(t.e,t)}function ste(t){return Trt(t.c.a.e,t),sr(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function kmt(t){var e;return!t.a&&t.b!=-1&&(e=t.c.Tg(),t.a=wn(e,t.b)),t.a}function Hr(t,e){return t.hi()&&t.Hc(e)?!1:(t.Yh(e),!0)}function Qf(t,e){return rD(e,"Horizontal alignment cannot be null"),t.b=e,t}function ate(t,e,n){Si();var r;return r=i2(t,e),n&&r&&Aen(t)&&(r=null),r}function Pg(t,e,n){var r,s;for(s=t.Kc();s.Ob();)r=u(s.Pb(),37),wC(r,e,n)}function Emt(t,e){var n,r;for(r=e.Kc();r.Ob();)n=u(r.Pb(),37),Aue(t,n,0,0)}function Tmt(t,e,n){var r;t.d[e.g]=n,r=t.g.c,r[e.g]=b.Math.max(r[e.g],n+1)}function bD(t,e){var n,r,s;return s=t.r,r=t.d,n=EC(t,e,!0),n.b!=s||n.a!=r}function ote(t,e){return TVt(t.e,e)||vb(t.e,e,new Rie(e)),u(Uv(t.e,e),113)}function ab(t,e,n,r){return Pn(t),Pn(e),Pn(n),Pn(r),new iwt(t,e,new ce)}function Pl(t,e,n,r){this.rj(),this.a=e,this.b=t,this.c=new ewt(this,e,n,r)}function qrt(t,e,n,r,s,o){Uwt.call(this,e,r,s,o),this.c=t,this.b=n}function vD(t,e,n,r,s,o){Uwt.call(this,e,r,s,o),this.c=t,this.a=n}function tan(t,e,n){var r,s,o;r=P0(t,n),s=null,r&&(s=F4t(r)),o=s,Nie(e,n,o)}function ean(t,e,n){var r,s,o;r=P0(t,n),s=null,r&&(s=F4t(r)),o=s,Nie(e,n,o)}function wD(t,e,n){var r,s;return s=(r=m7(t.b,e),r),s?_q(kD(t,s),n):null}function I8(t,e){var n;return n=t.Yg(e),n>=0?t._g(n,!0,!0):uw(t,e,!0)}function nan(t,e){return Vs(Zt(ke(K(t,(oe(),Dw)))),Zt(ke(K(e,Dw))))}function cte(){cte=X,cye=sw(sw(NR(new ra,(l7(),NS)),(fC(),yG)),kht)}function ran(t,e,n){var r;return r=Zne(t,e,n),t.b=new sz(r.c.length),D5t(t,r)}function ian(t){if(t.b<=0)throw et(new _c);return--t.b,t.a-=t.c.c,ve(t.a)}function san(t){var e;if(!t.a)throw et(new fXt);return e=t.a,t.a=gs(t.a),e}function aan(t){for(;!t.a;)if(!XWt(t.c,new ze(t)))return!1;return!0}function Y6(t){var e;return zr(t),_t(t,198)?(e=u(t,198),e):new stt(t)}function oan(t){N$(),u(t.We((Ei(),Ky)),174).Fc((cl(),rP)),t.Ye(hft,null)}function N$(){N$=X,T3e=new wZ,C3e=new mZ,_3e=Gcn((Ei(),hft),T3e,x2,C3e)}function F$(){F$=X,lCt=new z2t("LEAF_NUMBER",0),Nht=new z2t("NODE_SIZE",1)}function can(t,e,n){t.a=e,t.c=n,t.b.a.$b(),Ph(t.d),t.e.a.c=Pt(ir,De,1,0,5,1)}function Hrt(t){t.a=Pt(Fr,ui,25,t.b+1,15,1),t.c=Pt(Fr,ui,25,t.b,15,1),t.d=0}function uan(t,e){t.a.ue(e.d,t.b)>0&&(de(t.c,new Mvt(e.c,e.d,t.d)),t.b=e.d)}function _mt(t,e){if(t.g==null||e>=t.i)throw et(new Get(e,t.i));return t.g[e]}function ute(t,e,n){if(Z8(t,n),n!=null&&!t.wj(n))throw et(new Htt);return n}function lte(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)At(t,e);return Xwt(t)}function lan(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function han(t,e){var n,r;return IZt(e),n=(r=t.slice(0,e),Smt(r,t)),n.length=e,n}function O8(t,e,n,r){var s;r=(Q3(),r||b7t),s=t.slice(e,n),V4t(s,t,e,n,-e,r)}function ph(t,e,n,r,s){return e<0?uw(t,n,r):u(n,66).Nj().Pj(t,t.yh(),e,r,s)}function fan(t){return _t(t,172)?""+u(t,172).a:t==null?null:tc(t)}function dan(t){return _t(t,172)?""+u(t,172).a:t==null?null:tc(t)}function hte(t,e){if(e.a)throw et(new ic(hfe));Ys(t.a,e),e.a=t,!t.j&&(t.j=e)}function Cmt(t,e){Vet.call(this,e.rd(),e.qd()&-16449),Pn(t),this.a=t,this.c=e}function fte(t,e){var n,r;return r=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),K6(t,r,n)}function ol(){ol=X,Pd=new vet(gx,0),f2=new vet(N7,1),Cf=new vet(px,2)}function B$(){B$=X,Aut=new jR("All",0),E7t=new oUt,T7t=new mUt,_7t=new cUt}function dte(){dte=X,Age=ai((B$(),ct(ot(XH,1),ue,297,0,[Aut,E7t,T7t,_7t])))}function gte(){gte=X,m2e=ai((Y8(),ct(ot(w2e,1),ue,405,0,[_w,Iy,Dy,$4])))}function pte(){pte=X,ype=ai((Jv(),ct(ot(mpe,1),ue,406,0,[uO,cO,Fut,But])))}function bte(){bte=X,kpe=ai((rx(),ct(ot(xpe,1),ue,323,0,[hO,lO,fO,dO])))}function vte(){vte=X,_pe=ai((sC(),ct(ot(Tpe,1),ue,394,0,[gO,eV,nV,pO])))}function wte(){wte=X,Hme=ai((l7(),ct(ot(Y_t,1),ue,393,0,[mG,NS,RO,FS])))}function mte(){mte=X,R2e=ai((pz(),ct(ot(B2e,1),ue,360,0,[alt,AV,LV,yO])))}function yte(){yte=X,Mye=ai((Uz(),ct(ot(_Ct,1),ue,340,0,[Rht,ECt,TCt,kCt])))}function xte(){xte=X,W2e=ai((R1(),ct(ot(U2e,1),ue,411,0,[Sx,s9,a9,olt])))}function kte(){kte=X,Fwe=ai((sy(),ct(ot(uht,1),ue,197,0,[fG,cht,e5,t5])))}function Ete(){Ete=X,m4e=ai((Nl(),ct(ot(w4e,1),ue,396,0,[rh,IAt,DAt,OAt])))}function Tte(){Tte=X,i4e=ai((Wl(),ct(ot(r4e,1),ue,285,0,[eP,d0,k2,tP])))}function _te(){_te=X,J3e=ai((V0(),ct(ot(pft,1),ue,218,0,[gft,JO,L9,Vx])))}function Cte(){Cte=X,b4e=ai((Mz(),ct(ot(MAt,1),ue,311,0,[wft,SAt,LAt,AAt])))}function Ste(){Ste=X,g4e=ai((Fl(),ct(ot(tA,1),ue,374,0,[sP,Wb,iP,Xy])))}function Ate(){Ate=X,kq(),gLt=ms,x5e=Rs,pLt=new O3(ms),k5e=new O3(Rs)}function mD(){mD=X,LEt=new L2t(X0,0),RV=new L2t("IMPROVE_STRAIGHTNESS",1)}function gan(t,e){return p8(),de(t,new Ca(e,ve(e.e.c.length+e.g.c.length)))}function pan(t,e){return p8(),de(t,new Ca(e,ve(e.e.c.length+e.g.c.length)))}function Smt(t,e){return TD(e)!=10&&ct(bl(e),e.hm,e.__elementTypeId$,TD(e),t),t}function Au(t,e){var n;return n=Zo(t,e,0),n==-1?!1:(Ig(t,n),!0)}function Lte(t,e){var n;return n=u(W6(t.e,e),387),n?(Ovt(n),n.e):null}function P8(t){var e;return Qo(t)&&(e=0-t,!isNaN(e))?e:Yp(X8(t))}function Zo(t,e,n){for(;n<t.c.length;++n)if(Gc(e,t.c[n]))return n;return-1}function Mte(t,e,n){var r;return Vp(t),r=new Rr,r.a=e,t.a.Nb(new CVt(r,n)),r.a}function ban(t){var e;return Vp(t),e=Pt(wa,Io,25,0,15,1),R3(t.a,new Ne(e)),e}function Vrt(t){var e,n;return n=u(Fe(t.j,0),11),e=u(K(n,(oe(),Bi)),11),e}function Amt(t){var e;if(!sit(t))throw et(new _c);return t.e=1,e=t.d,t.d=null,e}function Grt(t,e){var n;this.f=t,this.b=e,n=u(cr(t.b,e),283),this.c=n?n.b:null}function Dte(){vf(),this.b=new Br,this.f=new Br,this.g=new Br,this.e=new Br}function Ite(t,e){this.a=Pt(h0,Gg,10,t.a.c.length,0,1),$1(t.a,this.a),this.b=e}function yD(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--u(Fe(t.c.a,e),10).p}function Urt(t){var e;e=t.Ai(),e!=null&&t.d!=-1&&u(e,92).Ng(t),t.i&&t.i.Fi()}function R$(t){hj(this),this.g=t?crt(t,t.$d()):null,this.f=t,i$(this),this._d()}function R0(t,e,n,r,s,o,h){eit.call(this,e,r,s,o,h),this.c=t,this.b=n}function Ym(t,e,n,r,s){return Pn(t),Pn(e),Pn(n),Pn(r),Pn(s),new iwt(t,e,r)}function xD(t,e){if(e<0)throw et(new Po(F1e+e));return kZt(t,e+1),Fe(t.j,e)}function Ote(t,e,n,r){if(!t)throw et(new Bn(vC(e,ct(ot(ir,1),De,1,5,[n,r]))))}function j$(t,e){return Gc(e,Fe(t.f,0))||Gc(e,Fe(t.f,1))||Gc(e,Fe(t.f,2))}function van(t,e){O6(u(u(t.f,33).We((Ei(),US)),98))&&vln(Znt(u(t.f,33)),e)}function kD(t,e){var n,r;return n=u(e,675),r=n.Oh(),!r&&n.Rh(r=new IGt(t,e)),r}function Ro(t,e){var n,r;return n=u(e,677),r=n.pk(),!r&&n.tk(r=new XQt(t,e)),r}function pl(t){return t.b||(t.b=new fYt(t,So,t),!t.a&&(t.a=new HM(t,t))),t.b}function j_(){j_=X,Wut=new met("XY",0),Uut=new met("X",1),Kut=new met("Y",2)}function Lu(){Lu=X,a1=new wet("TOP",0),d2=new wet(N7,1),Sf=new wet(W6t,2)}function j0(){j0=X,EO=new Cet(X0,0),W4=new Cet("TOP",1),Lx=new Cet(W6t,2)}function ED(){ED=X,dht=new D2t("INPUT_ORDER",0),ght=new D2t("PORT_DEGREE",1)}function N8(){N8=X,Y8t=hu(yl,yl,524287),pge=hu(0,0,PI),X8t=Ort(1),Ort(2),Q8t=Ort(0)}function Lmt(t,e,n){t.a.c=Pt(ir,De,1,0,5,1),o3n(t,e,n),t.a.c.length==0||jwn(t,e)}function $$(t){var e,n;return n=t.length,e=Pt(Sh,Td,25,n,15,1),NYt(t,0,n,e,0),e}function Mmt(t){var e;return t.dh()||(e=or(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function Dmt(t){var e;return e=ob(In(t,32)),e==null&&(fu(t),e=ob(In(t,32))),e}function Wrt(t,e){var n;return n=rs(t.d,e),n>=0?zz(t,n,!0,!0):uw(t,e,!0)}function Imt(t,e){qT();var n,r;return n=V6(t),r=V6(e),!!n&&!!r&&!Gie(n.k,r.k)}function wan(t,e){Du(t,e==null||_j((Pn(e),e))||isNaN((Pn(e),e))?0:(Pn(e),e))}function man(t,e){Iu(t,e==null||_j((Pn(e),e))||isNaN((Pn(e),e))?0:(Pn(e),e))}function yan(t,e){Xv(t,e==null||_j((Pn(e),e))||isNaN((Pn(e),e))?0:(Pn(e),e))}function xan(t,e){Yv(t,e==null||_j((Pn(e),e))||isNaN((Pn(e),e))?0:(Pn(e),e))}function Pte(t){(this.q?this.q:(pn(),pn(),l0)).Ac(t.q?t.q:(pn(),pn(),l0))}function kan(t,e){return _t(e,99)&&u(e,18).Bb&co?new Uet(e,t):new W8(e,t)}function Ean(t,e){return _t(e,99)&&u(e,18).Bb&co?new Uet(e,t):new W8(e,t)}function Nte(t,e){Z7t=new cs,Epe=e,cS=t,u(cS.b,65),wmt(cS,Z7t,null),Ale(cS)}function Krt(t,e,n){var r;return r=t.g[e],f_(t,e,t.oi(e,n)),t.gi(e,n,r),t.ci(),r}function z$(t,e){var n;return n=t.Xc(e),n>=0?(t.$c(n),!0):!1}function Yrt(t){var e;return t.d!=t.r&&(e=Bh(t),t.e=!!e&&e.Cj()==b0e,t.d=e),t.e}function Xrt(t,e){var n;for(zr(t),zr(e),n=!1;e.Ob();)n=n|t.Fc(e.Pb());return n}function Uv(t,e){var n;return n=u(cr(t.e,e),387),n?(SUt(t,n),n.e):null}function Fte(t){var e,n;return e=t/60|0,n=t%60,n==0?""+e:""+e+":"+(""+n)}function oc(t,e){var n,r;return pb(t),r=new gmt(e,t.a),n=new JWt(r),new En(t,n)}function Xm(t,e){var n=t.a[e],r=(pit(),Eut)[typeof n];return r?r(n):Fyt(typeof n)}function Tan(t){switch(t.g){case 0:return Di;case 1:return-1;default:return 0}}function _an(t){return J3t(t,(N8(),Q8t))<0?-zXe(X8(t)):t.l+t.m*dx+t.h*Eb}function TD(t){return t.__elementTypeCategory$==null?10:t.__elementTypeCategory$}function Qrt(t){var e;return e=t.b.c.length==0?null:Fe(t.b,0),e!=null&&oit(t,0),e}function Bte(t,e){for(;e[0]<t.length&&pd(` \r
+`,Pu(Oa(t,e[0])))>=0;)++e[0]}function _D(t,e){this.e=e,this.a=Mne(t),this.a<54?this.f=Vv(t):this.c=QD(t)}function Rte(t,e,n,r){Si(),bv.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function t0(t,e,n){var r,s;for(r=10,s=0;s<n-1;s++)e<r&&(t.a+="0"),r*=10;t.a+=e}function Can(t,e){var n;for(n=0;t.e!=t.i.gc();)ytn(e,Tr(t),ve(n)),n!=Di&&++n}function Omt(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function San(t,e){var n,r,s;s=e.c.i,n=u(cr(t.f,s),57),r=n.d.c-n.e.c,ryt(e.a,r,0)}function CD(t){var e,n;return e=t+128,n=(HKt(),J8t)[e],!n&&(n=J8t[e]=new Dtt(t)),n}function si(t,e){var n;return Pn(e),n=t[":"+e],Ian(!!n,ct(ot(ir,1),De,1,5,[e])),n}function Aan(t){var e,n;if(t.b){n=null;do e=t.b,t.b=null,n=Nae(e,n);while(t.b);t.b=n}}function Lan(t){var e,n;if(t.a){n=null;do e=t.a,t.a=null,n=Nae(e,n);while(t.a);t.a=n}}function jte(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function Man(t,e){var n,r;for(r=e.c,n=r+1;n<=e.f;n++)t.a[n]>t.a[r]&&(r=n);return r}function Dan(t,e){var n;return n=nw(t.e.c,e.e.c),n==0?Vs(t.e.d,e.e.d):n}function t4(t,e){return e.e==0||t.e==0?Z7:(v7(),Zst(t,e))}function Ian(t,e){if(!t)throw et(new Bn(Nbn("Enum constant undefined: %s",e)))}function $_(){$_=X,k2e=new cv,E2e=new cd,y2e=new bk,x2e=new oh,T2e=new ZK}function q$(){q$=X,I7t=new E2t("BY_SIZE",0),Iut=new E2t("BY_SIZE_AND_SHAPE",1)}function H$(){H$=X,Hut=new T2t("EADES",0),sV=new T2t("FRUCHTERMAN_REINGOLD",1)}function SD(){SD=X,FV=new A2t("READING_DIRECTION",0),CEt=new A2t("ROTATION",1)}function $te(){$te=X,abe=ai((mb(),ct(ot(_Et,1),ue,335,0,[mlt,TEt,ylt,pS,gS])))}function zte(){zte=X,Bwe=ai((aC(),ct(ot(C_t,1),ue,315,0,[__t,lht,hht,AS,LS])))}function qte(){qte=X,Y2e=ai((p4(),ct(ot(K2e,1),ue,363,0,[DV,OV,PV,IV,MV])))}function Hte(){Hte=X,mbe=ai((mh(),ct(ot(nTt,1),ue,163,0,[AO,yS,b2,xS,Fy])))}function Vte(){Vte=X,i3e=ai((oI(),ct(ot(XCt,1),ue,316,0,[WCt,Ght,YCt,Uht,KCt])))}function Gte(){Gte=X,S3e=ai((e1(),ct(ot(ep,1),ue,175,0,[Un,fa,Rd,qb,tp])))}function Ute(){Ute=X,Zye=ai((x7(),ct(ot(Qye,1),ue,355,0,[r5,jx,qS,zS,HS])))}function Wte(){Wte=X,g2e=ai((ao(),ct(ot(k9t,1),ue,356,0,[Nd,g2,pu,Zc,Uo])))}function Kte(){Kte=X,Q3e=ai((ko(),ct(ot(WS,1),ue,103,0,[f0,Lf,Wh,J0,tg])))}function Yte(){Yte=X,a4e=ai((u4(),ct(ot(QS,1),ue,249,0,[E2,nP,kAt,XS,EAt])))}function Xte(){Xte=X,u4e=ai((ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])))}function Zrt(t,e){var n;return n=u(cr(t.a,e),134),n||(n=new E3,Ni(t.a,e,n)),n}function Qte(t){var e;return e=u(K(t,(oe(),Aw)),305),e?e.a==t:!1}function Zte(t){var e;return e=u(K(t,(oe(),Aw)),305),e?e.i==t:!1}function Jte(t,e){return Pn(e),Jvt(t),t.d.Ob()?(e.td(t.d.Pb()),!0):!1}function V$(t){return Oc(t,Di)>0?Di:Oc(t,qa)<0?qa:$r(t)}function Qm(t){return t<3?(Gl(t,Whe),t+1):t<AC?Ds(t/.75+1):Di}function wn(t,e){var n;return n=(t.i==null&&kd(t),t.i),e>=0&&e<n.length?n[e]:null}function Zf(t,e,n){var r;if(e==null)throw et(new LT);return r=P0(t,e),tsn(t,e,n),r}function tee(t){return t.a>=-.01&&t.a<=H1&&(t.a=0),t.b>=-.01&&t.b<=H1&&(t.b=0),t}function eee(t,e){return e==(vnt(),vnt(),_ge)?t.toLocaleLowerCase():t.toLowerCase()}function Pmt(t){return(t.i&2?"interface ":t.i&1?"":"class ")+(D0(t),t.o)}function jo(t){var e,n;n=(e=new Wtt,e),Hr((!t.q&&(t.q=new pe(Jh,t,11,10)),t.q),n)}function Oan(t,e){var n;return n=e>0?e-1:e,Qqt(WKe(Cee(Ivt(new Xk,n),t.n),t.j),t.k)}function Pan(t,e,n,r){var s;t.j=-1,r5t(t,B4t(t,e,n),(po(),s=u(e,66).Mj(),s.Ok(r)))}function nee(t){this.g=t,this.f=new ge,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function ree(t){this.b=new ge,this.a=new ge,this.c=new ge,this.d=new ge,this.e=t}function iee(t,e){this.a=new Br,this.e=new Br,this.b=(Y_(),hG),this.c=t,this.b=e}function see(t,e,n){Ej.call(this),Nmt(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function aee(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(pR(),mut)}function Wv(t){if(t<0)throw et(new Bn("Illegal Capacity: "+t));this.g=this.ri(t)}function Nan(t,e){if(0>t||t>e)throw et(new Kpt("fromIndex: 0, toIndex: "+t+F6t+e))}function Fan(t){var e;if(t.a==t.b.a)throw et(new _c);return e=t.a,t.c=e,t.a=t.a.e,e}function G$(t){var e;Nm(!!t.c),e=t.c.a,bh(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function U$(t,e){var n;return pb(t),n=new AXt(t,t.a.rd(),t.a.qd()|4,e),new En(t,n)}function Ban(t,e){var n,r;return n=u(ny(t.d,e),14),n?(r=e,t.e.pc(r,n)):null}function W$(t,e){var n,r;for(r=t.Kc();r.Ob();)n=u(r.Pb(),70),ne(n,(oe(),Ox),e)}function Ran(t){var e;return e=Zt(ke(K(t,(Te(),Xg)))),e<0&&(e=0,ne(t,Xg,e)),e}function jan(t,e,n){var r;r=b.Math.max(0,t.b/2-.5),cC(n,r,1),de(e,new IVt(n,r))}function $an(t,e,n){var r;return r=t.a.e[u(e.a,10).p]-t.a.e[u(n.a,10).p],Ds(QM(r))}function oee(t,e,n,r,s,o){var h;h=Prt(r),Wa(h,s),ya(h,o),un(t.a,r,new Cj(h,e,n.f))}function cee(t,e){var n;if(n=vI(t.Tg(),e),!n)throw et(new Bn(l2+e+Fct));return n}function Zm(t,e){var n;for(n=t;gs(n);)if(n=gs(n),n==e)return!0;return!1}function zan(t,e){var n,r,s;for(r=e.a.cd(),n=u(e.a.dd(),14).gc(),s=0;s<n;s++)t.td(r)}function Mu(t,e){var n,r,s,o;for(Pn(e),r=t.c,s=0,o=r.length;s<o;++s)n=r[s],e.td(n)}function bh(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function qan(t,e){return e&&t.b[e.g]==e?(ds(t.b,e.g,null),--t.c,!0):!1}function uee(t,e){return!!V_(t,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))))}function Han(t,e){O6(u(K(u(t.e,10),(Te(),xs)),98))&&(pn(),ua(u(t.e,10).j,e))}function Nmt(t){t.b=(ol(),f2),t.f=(Lu(),d2),t.d=(Gl(2,my),new iu(2)),t.e=new $a}function Jf(){Jf=X,wc=new bet("BEGIN",0),uu=new bet(N7,1),mc=new bet("END",2)}function F1(){F1=X,S9=new zet(N7,0),Yy=new zet("HEAD",1),A9=new zet("TAIL",2)}function Van(){return w7(),ct(ot(rU,1),ue,237,0,[kft,eU,nU,tU,xft,JG,ZG,yft])}function Gan(){return Hg(),ct(ot(A3e,1),ue,277,0,[bSt,Va,Lc,_9,Wo,ks,$x,X1])}function Uan(){return gq(),ct(ot(vEt,1),ue,270,0,[llt,dlt,ult,blt,flt,hlt,plt,glt])}function Wan(){return m4(),ct(ot(D_t,1),ue,260,0,[dG,OO,PO,A_t,L_t,S_t,M_t,gG])}function lee(){lee=X,o4e=ai((ka(),ct(ot(TAt,1),ue,98,0,[T2,Q1,M9,Ub,p0,eu])))}function hee(){hee=X,JH=(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])).length,Put=JH}function K$(t){this.b=(zr(t),new Uu(t)),this.a=new ge,this.d=new ge,this.e=new $a}function Kan(t){var e;return e=b.Math.sqrt(t.a*t.a+t.b*t.b),e>0&&(t.a/=e,t.b/=e),t}function Vl(t){var e;return t.w?t.w:(e=Xrn(t),e&&!e.kh()&&(t.w=e),e)}function Yan(t){var e;return t==null?null:(e=u(t,190),Xdn(e,e.length))}function At(t,e){if(t.g==null||e>=t.i)throw et(new Get(e,t.i));return t.li(e,t.g[e])}function Xan(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)kf(t.b,e),e=Tz(e);kf(t.b,e)}function Qan(t){var e;for(e=0;e<t.c.length;e++)(An(e,t.c.length),u(t.c[e],11)).p=e}function Zan(t,e,n){var r,s,o;for(s=e[n],r=0;r<s.length;r++)o=s[r],t.e[o.c.p][o.p]=r}function Jrt(t,e){var n,r,s,o;for(r=t.d,s=0,o=r.length;s<o;++s)n=r[s],L1(t.g,n).a=e}function Jm(t,e){var n,r;for(r=gi(t,0);r.b!=r.d.c;)n=u(di(r),8),$i(n,e);return t}function Jan(t,e){var n;return n=ba(pc(u(cr(t.g,e),8)),obt(u(cr(t.f,e),460).b)),n}function Kv(t){var e;return Trt(t.e,t),sr(t.b),t.c=t.a,e=u(t.a.Pb(),42),t.b=hyt(t),e}function ob(t){var e;return m_(t==null||Array.isArray(t)&&(e=TD(t),!(e>=14&&e<=16))),t}function fee(t,e,n){var r=function(){return t.apply(r,arguments)};return e.apply(r,n),r}function dee(t,e,n){var r,s;r=e;do s=Zt(t.p[r.p])+n,t.p[r.p]=s,r=t.a[r.p];while(r!=e)}function F8(t,e){var n,r;r=t.a,n=Dun(t,e,null),r!=e&&!t.e&&(n=S7(t,e,n)),n&&n.Fi()}function Fmt(t,e){return A1(),xf(s2),b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)}function Bmt(t,e){return A1(),xf(s2),b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)}function ton(t,e){return n2(),Tu(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function e4(t,e){return ZKe(H_(t,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))))}function gee(){gee=X,L2e=ai((Yn(),ct(ot(elt,1),ue,267,0,[Ws,ha,Fs,Jc,Bl,W1])))}function pee(){pee=X,F3e=ai((cy(),ct(ot(nft,1),ue,291,0,[eft,KO,WO,tft,GO,UO])))}function bee(){bee=X,M3e=ai((e0(),ct(ot(mSt,1),ue,248,0,[Zht,HO,VO,RG,FG,BG])))}function vee(){vee=X,nbe=ai((sx(),ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4])))}function wee(){wee=X,dbe=ai((p7(),ct(ot(zEt,1),ue,275,0,[bS,BEt,$Et,jEt,REt,FEt])))}function mee(){mee=X,fbe=ai((sI(),ct(ot(NEt,1),ue,274,0,[jV,IEt,PEt,DEt,OEt,Slt])))}function yee(){yee=X,Pwe=ai((tq(),ct(ot(k_t,1),ue,313,0,[aht,y_t,sht,m_t,x_t,lG])))}function xee(){xee=X,lbe=ai((iq(),ct(ot(AEt,1),ue,276,0,[Elt,klt,_lt,Tlt,Clt,BV])))}function kee(){kee=X,Gme=ai((fC(),ct(ot(Vme,1),ue,327,0,[yG,kht,Tht,Eht,_ht,xht])))}function Eee(){Eee=X,c4e=ai((cl(),ct(ot(UG,1),ue,273,0,[_2,ng,rP,JS,ZS,Gx])))}function Tee(){Tee=X,t4e=ai((nq(),ct(ot(pAt,1),ue,312,0,[bft,fAt,gAt,lAt,dAt,hAt])))}function eon(){return fy(),ct(ot(Co,1),ue,93,0,[Mf,eg,Df,Of,g0,Yh,th,If,Kh])}function Y$(t,e){var n;n=t.a,t.a=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,0,n,t.a))}function X$(t,e){var n;n=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,1,n,t.b))}function B8(t,e){var n;n=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,3,n,t.b))}function Yv(t,e){var n;n=t.f,t.f=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,3,n,t.f))}function Xv(t,e){var n;n=t.g,t.g=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,4,n,t.g))}function Du(t,e){var n;n=t.i,t.i=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,5,n,t.i))}function Iu(t,e){var n;n=t.j,t.j=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,6,n,t.j))}function R8(t,e){var n;n=t.j,t.j=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,1,n,t.j))}function j8(t,e){var n;n=t.c,t.c=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,4,n,t.c))}function $8(t,e){var n;n=t.k,t.k=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Km(t,2,n,t.k))}function tit(t,e){var n;n=t.d,t.d=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Srt(t,2,n,t.d))}function Ng(t,e){var n;n=t.s,t.s=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Srt(t,4,n,t.s))}function ty(t,e){var n;n=t.t,t.t=e,t.Db&4&&!(t.Db&1)&&Oi(t,new Srt(t,5,n,t.t))}function z8(t,e){var n;n=t.F,t.F=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,5,n,e))}function AD(t,e){var n;return n=u(cr((FR(),iU),t),55),n?n.xj(e):Pt(ir,De,1,e,5,1)}function $0(t,e){var n,r;return n=e in t.a,n&&(r=P0(t,e).he(),r)?r.a:null}function non(t,e){var n,r,s;return n=(r=(Ev(),s=new YE,s),e&&_5t(r,e),r),Umt(n,t),n}function _ee(t,e,n){if(Z8(t,n),!t.Bk()&&n!=null&&!t.wj(n))throw et(new Htt);return n}function Cee(t,e){return t.n=e,t.n?(t.f=new ge,t.e=new ge):(t.f=null,t.e=null),t}function Qr(t,e,n,r,s,o){var h;return h=Unt(t,e),Aee(n,h),h.i=s?8:0,h.f=r,h.e=s,h.g=o,h}function Rmt(t,e,n,r,s){this.d=e,this.k=r,this.f=s,this.o=-1,this.p=1,this.c=t,this.a=n}function jmt(t,e,n,r,s){this.d=e,this.k=r,this.f=s,this.o=-1,this.p=2,this.c=t,this.a=n}function $mt(t,e,n,r,s){this.d=e,this.k=r,this.f=s,this.o=-1,this.p=6,this.c=t,this.a=n}function zmt(t,e,n,r,s){this.d=e,this.k=r,this.f=s,this.o=-1,this.p=7,this.c=t,this.a=n}function qmt(t,e,n,r,s){this.d=e,this.j=r,this.e=s,this.o=-1,this.p=4,this.c=t,this.a=n}function See(t,e){var n,r,s,o;for(r=e,s=0,o=r.length;s<o;++s)n=r[s],hte(t.a,n);return t}function B1(t){var e,n,r,s;for(n=t,r=0,s=n.length;r<s;++r)e=n[r],zr(e);return new WGt(t)}function ron(t){var e=/function(?:\s+([\w$]+))?\s*\(/,n=e.exec(t);return n&&n[1]||Rat}function Aee(t,e){if(t){e.n=t;var n=crn(e);if(!n){qH[t]=[e];return}n.gm=e}}function ion(t,e,n){var r,s;return s=t.length,r=b.Math.min(n,s),U4t(t,0,e,0,r,!0),e}function Lee(t,e,n){var r,s;for(s=e.Kc();s.Ob();)r=u(s.Pb(),79),Ys(t,u(n.Kb(r),33))}function son(){OHt();for(var t=dut,e=0;e<arguments.length;e++)t.push(arguments[e])}function z_(t,e){var n,r,s,o;for(r=e,s=0,o=r.length;s<o;++s)n=r[s],Cs(t,n,t.c.b,t.c)}function Q$(t,e){t.b=b.Math.max(t.b,e.d),t.e+=e.r+(t.a.c.length==0?0:t.c),de(t.a,e)}function Mee(t){Nm(t.c>=0),nhn(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function Hmt(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=qD(t.f)),t.c).e}function xf(t){if(!(t>=0))throw et(new Bn("tolerance ("+t+") must be >= 0"));return t}function q8(){return Xht||(Xht=new bue,a4(Xht,ct(ot(j4,1),De,130,0,[new Tp]))),Xht}function xo(){xo=X,MS=new Met(OC,0),ll=new Met("INPUT",1),lu=new Met("OUTPUT",2)}function Z$(){Z$=X,kEt=new Eet("ARD",0),NV=new Eet("MSD",1),wlt=new Eet("MANUAL",2)}function Qv(){Qv=X,FO=new Net("BARYCENTER",0),IS=new Net(t1e,1),pG=new Net(e1e,2)}function LD(t,e){var n;if(n=t.gc(),e<0||e>n)throw et(new jm(e,n));return new ovt(t,e)}function Dee(t,e){var n;return _t(e,42)?t.c.Mc(e):(n=Wit(t,e),Oz(t,e),n)}function Mo(t,e,n){return gb(t,e),su(t,n),Ng(t,0),ty(t,1),jg(t,!0),Rg(t,!0),t}function Gl(t,e){if(t<0)throw et(new Bn(e+" cannot be negative but was: "+t));return t}function Iee(t,e){var n,r;for(n=0,r=t.gc();n<r;++n)if(Gc(e,t.Xb(n)))return n;return-1}function J$(t){var e,n;for(n=t.c.Cc().Kc();n.Ob();)e=u(n.Pb(),14),e.$b();t.c.$b(),t.d=0}function aon(t){var e,n,r,s;for(n=t.a,r=0,s=n.length;r<s;++r)e=n[r],PYt(e,e.length,null)}function Vmt(t){var e,n;if(t==0)return 32;for(n=0,e=1;!(e&t);e<<=1)++n;return n}function oon(t){var e,n;for(n=new S(wse(t));n.a<n.c.c.length;)e=u(Q(n),680),e.Gf()}function Oee(t){l2t(),this.g=new Br,this.f=new Br,this.b=new Br,this.c=new qv,this.i=t}function Gmt(){this.f=new $a,this.d=new Opt,this.c=new $a,this.a=new ge,this.b=new ge}function Pee(t,e,n,r){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new UWt(this,e,n,r)}function eit(t,e,n,r,s){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1,s||(this.o=-2-r-1)}function Nee(){hbt.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=_f}function con(){return ml(),ct(ot(CAt,1),ue,259,0,[D9,oP,WG,eA,KG,XG,YG,vft,aP])}function uon(){return bq(),ct(ot(Y7t,1),ue,250,0,[K7t,V7t,G7t,H7t,Out,W7t,U7t,q7t,z7t])}function Fee(){Fee=X,bge=ct(ot(Fr,1),ui,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Bee(){Bee=X,Zwe=Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),hS)),g2,i9),pu,r9)}function Ree(){Ree=X,Jwe=Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),hS)),g2,i9),pu,r9)}function jee(){jee=X,tme=Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),hS)),g2,i9),pu,r9)}function $ee(){$ee=X,rme=sl(Mi(Mi(new ra,(ao(),pu),(wo(),yV)),Zc,pV),Uo,mV)}function X6(){X6=X,Ax=new ket("LAYER_SWEEP",0),xO=new ket(jot,1),yEt=new ket(X0,2)}function lon(t,e){var n,r;return n=t.c,r=e.e[t.p],r>0?u(Fe(n.a,r-1),10):null}function q_(t,e){var n;n=t.k,t.k=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,2,n,t.k))}function tz(t,e){var n;n=t.f,t.f=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,8,n,t.f))}function ez(t,e){var n;n=t.i,t.i=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,7,n,t.i))}function Umt(t,e){var n;n=t.a,t.a=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,8,n,t.a))}function Wmt(t,e){var n;n=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,0,n,t.b))}function Kmt(t,e){var n;n=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,0,n,t.b))}function Ymt(t,e){var n;n=t.c,t.c=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,1,n,t.c))}function Xmt(t,e){var n;n=t.c,t.c=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,1,n,t.c))}function nit(t,e){var n;n=t.c,t.c=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,4,n,t.c))}function Qmt(t,e){var n;n=t.d,t.d=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,1,n,t.d))}function rit(t,e){var n;n=t.D,t.D=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,2,n,t.D))}function iit(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&t.g!=0&&iit(t.i,e/t.r*t.i.d))}function hon(t,e,n){var r;t.b=e,t.a=n,r=(t.a&512)==512?new xqt:new KL,t.c=Svn(r,t.b,t.a)}function zee(t,e){return W0(t.e,e)?(po(),Yrt(e)?new Oj(e,t):new NM(e,t)):new OGt(e,t)}function nz(t,e){return QKe(V_(t.a,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))))}function fon(t,e,n){return Ym(t,new be(e),new kn,new we(n),ct(ot(xl,1),ue,132,0,[]))}function don(t){var e,n;return 0>t?new u2t:(e=t+1,n=new hJt(e,t),new qbt(null,n))}function gon(t,e){pn();var n;return n=new E6(1),pa(t)?Fo(n,t,e):du(n.f,t,e),new z(n)}function pon(t,e){var n,r;return n=t.o+t.p,r=e.o+e.p,n<r?-1:n==r?0:1}function bon(t){var e;return e=K(t,(oe(),Bi)),_t(e,160)?tie(u(e,160)):null}function qee(t){var e;return t=b.Math.max(t,2),e=xyt(t),t>e?(e<<=1,e>0?e:AC):e}function sit(t){switch(mbt(t.e!=3),t.e){case 2:return!1;case 0:return!0}return xsn(t)}function Hee(t,e){var n;return _t(e,8)?(n=u(e,8),t.a==n.a&&t.b==n.b):!1}function ait(t,e,n){var r,s,o;return o=e>>5,s=e&31,r=Xs(zm(t.n[n][o],$r(I0(s,1))),3),r}function von(t,e){var n,r;for(r=e.vc().Kc();r.Ob();)n=u(r.Pb(),42),Qz(t,n.cd(),n.dd())}function won(t,e){var n;n=new cs,u(e.b,65),u(e.b,65),u(e.b,65),Mu(e.a,new wvt(t,n,e))}function Zmt(t,e){var n;n=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,21,n,t.b))}function Jmt(t,e){var n;n=t.d,t.d=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,11,n,t.d))}function rz(t,e){var n;n=t.j,t.j=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,13,n,t.j))}function Vee(t,e,n){var r,s,o;for(o=t.a.length-1,s=t.b,r=0;r<n;s=s+1&o,++r)ds(e,r,t.a[s])}function kf(t,e){var n;return Pn(e),n=e.g,t.b[n]?!1:(ds(t.b,n,e),++t.c,!0)}function Gee(t,e){var n;return n=e==null?-1:Zo(t.b,e,0),n<0?!1:(oit(t,n),!0)}function oit(t,e){var n;n=Ig(t.b,t.b.c.length-1),e<t.b.c.length&&(gh(t.b,e,n),soe(t,e))}function mon(t,e){(S$(),U1?null:e.c).length==0&&xWt(e,new Re),Fo(t.a,U1?null:e.c,e)}function yon(t,e){Dr(e,"Hierarchical port constraint processing",1),Ahn(t),L5n(t),br(e)}function xon(t,e){var n,r;for(r=e.Kc();r.Ob();)n=u(r.Pb(),266),t.b=!0,Ys(t.e,n),n.b=t}function iz(t,e){var n,r;return n=1-e,r=t.a[n],t.a[n]=r.a[e],r.a[e]=t,t.b=!0,r.b=!1,r}function kon(t,e){var n,r;return n=u(K(t,(Te(),Hy)),8),r=u(K(e,Hy),8),Vs(n.b,r.b)}function Uee(t){Vvt.call(this),this.b=Zt(ke(K(t,(Te(),Af)))),this.a=u(K(t,Z0),218)}function Wee(t,e,n){Wwt.call(this,t,e,n),this.a=new Br,this.b=new Br,this.d=new c$t(this)}function Kee(t){this.e=t,this.d=new ER(Qm(F6(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function sz(t){this.b=t,this.a=Pt(Fr,ui,25,t+1,15,1),this.c=Pt(Fr,ui,25,t,15,1),this.d=0}function cit(t,e,n){var r;return r=new ge,A5t(t,e,r,n,!0,!0),t.b=new sz(r.c.length),r}function Yee(t,e){var n;return n=u(cr(t.c,e),458),n||(n=new tqt,n.c=e,Ni(t.c,n.c,n)),n}function uit(t,e){var n=t.a,r=0;for(var s in n)n.hasOwnProperty(s)&&(e[r++]=s);return e}function tyt(t){var e;return t.b==null?(Sg(),Sg(),gP):(e=t.Lk()?t.Kk():t.Jk(),e)}function Xee(t){var e,n;for(n=new hr(t);n.e!=n.i.gc();)e=u(Tr(n),33),Du(e,0),Iu(e,0)}function Kp(){Kp=X,Cx=new ns(oxt),cV=new ns(Nfe),lS=new ns(Ffe),bO=new ns(Bfe)}function H8(){H8=X,wO=new _2t("TO_INTERNAL_LTR",0),nlt=new _2t("TO_INPUT_DIRECTION",1)}function az(){az=X,CG=new $2t("P1_NODE_PLACEMENT",0),T9=new $2t("P2_EDGE_ROUTING",1)}function Zv(){Zv=X,Sw=new xet("START",0),p2=new xet("MIDDLE",1),Cw=new xet("END",2)}function Q6(){Q6=X,slt=new Ks("edgelabelcenterednessanalysis.includelabel",(Rn(),Ob))}function Eon(t,e){Ts(Xi(new En(null,new _n(new Tm(t.b),1)),new nGt(t,e)),new iGt(t,e))}function Qee(){this.c=new _R(0),this.b=new _R(E1e),this.d=new _R(k1e),this.a=new _R(Mot)}function eyt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)e=u(n.Pb(),214),spt(e,new mae(e.e))}function Zee(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)e=u(n.Pb(),214),xtt(e,new _Yt(e.f))}function su(t,e){var n;n=t.zb,t.zb=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,1,n,t.zb))}function oz(t,e){var n;n=t.xb,t.xb=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,3,n,t.xb))}function cz(t,e){var n;n=t.yb,t.yb=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,2,n,t.yb))}function ps(t,e){var n,r;n=(r=new Utt,r),n.n=e,Hr((!t.s&&(t.s=new pe(ju,t,21,17)),t.s),n)}function Ki(t,e){var n,r;r=(n=new jbt,n),r.n=e,Hr((!t.s&&(t.s=new pe(ju,t,21,17)),t.s),r)}function n4(t,e){var n,r;for(n=t.Pc(),O8(n,0,n.length,e),r=0;r<n.length;r++)t._c(r,n[r])}function so(t,e){var n,r,s;for(Pn(e),n=!1,s=e.Kc();s.Ob();)r=s.Pb(),n=n|t.Fc(r);return n}function Jee(t){var e,n,r;for(e=0,r=t.Kc();r.Ob();)n=r.Pb(),e+=n!=null?es(n):0,e=~~e;return e}function tne(t){var e;return t==0?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+Fte(t))}function lit(t,e){var n;return _t(e,14)?(n=u(e,14),t.Gc(n)):Xrt(t,u(zr(e),20).Kc())}function ene(t,e,n){iee.call(this,e,n),this.d=Pt(h0,Gg,10,t.a.c.length,0,1),$1(t.a,this.d)}function Ton(t){t.a=null,t.e=null,t.b.c=Pt(ir,De,1,0,5,1),t.f.c=Pt(ir,De,1,0,5,1),t.c=null}function nne(t,e){e?t.B==null&&(t.B=t.D,t.D=null):t.B!=null&&(t.D=t.B,t.B=null)}function rne(t,e){return Zt(ke(Iv(GD(Cu(new En(null,new _n(t.c.b,16)),new sR(t)),e))))}function nyt(t,e){return Zt(ke(Iv(GD(Cu(new En(null,new _n(t.c.b,16)),new CT(t)),e))))}function _on(t,e){Dr(e,Jfe,1),Ts(oc(new En(null,new _n(t.b,16)),new iY),new sY),br(e)}function Con(t,e){var n,r;return n=u(He(t,(ay(),AG)),19),r=u(He(e,AG),19),Tu(n.a,r.a)}function ryt(t,e,n){var r,s;for(s=gi(t,0);s.b!=s.d.c;)r=u(di(s),8),r.a+=e,r.b+=n;return t}function H_(t,e,n){var r;for(r=t.b[n&t.f];r;r=r.b)if(n==r.a&&md(e,r.g))return r;return null}function V_(t,e,n){var r;for(r=t.c[n&t.f];r;r=r.d)if(n==r.f&&md(e,r.i))return r;return null}function Son(t,e,n){var r,s,o;for(r=0,s=0;s<n;s++)o=e[s],t[s]=o<<1|r,r=o>>>31;r!=0&&(t[n]=r)}function Aon(t,e){pn();var n,r;for(r=new ge,n=0;n<t;++n)r.c[r.c.length]=e;return new oet(r)}function ine(t){var e;return e=uZt(t),Sv(e.a,0)?(s8(),s8(),y7t):(s8(),new Dbt(e.b))}function sne(t){var e;return e=uZt(t),Sv(e.a,0)?(s8(),s8(),y7t):(s8(),new Dbt(e.c))}function Lon(t){var e;return e=x$(t),Sv(e.a,0)?(LR(),LR(),Cge):(LR(),new JUt(e.b))}function Mon(t){return t.b.c.i.k==(Yn(),Fs)?u(K(t.b.c.i,(oe(),Bi)),11):t.b.c}function ane(t){return t.b.d.i.k==(Yn(),Fs)?u(K(t.b.d.i,(oe(),Bi)),11):t.b.d}function _s(t,e,n,r,s,o,h,d,w,k,_,M,B){return Zae(t,e,n,r,s,o,h,d,w,k,_,M,B),Rit(t,!1),t}function vh(t,e,n,r,s,o,h){ri.call(this,t,e),this.d=n,this.e=r,this.c=s,this.b=o,this.a=P1(h)}function Don(t,e){typeof window===AI&&typeof window.$gwt===AI&&(window.$gwt[t]=e)}function Ion(t,e){return Y8(),t==_w&&e==Iy||t==Iy&&e==_w||t==$4&&e==Dy||t==Dy&&e==$4}function Oon(t,e){return Y8(),t==_w&&e==Dy||t==_w&&e==$4||t==Iy&&e==$4||t==Iy&&e==Dy}function one(t,e){return A1(),xf(H1),b.Math.abs(0-e)<=H1||e==0||isNaN(0)&&isNaN(e)?0:t/e}function Pon(){return Eo(),ct(ot(Alt,1),ue,256,0,[$V,Th,vS,zV,d9,U4,wS,h9,f9,qV])}function hit(){hit=X,aA=new bqt,Cft=ct(ot(ju,1),F4,170,0,[]),J4e=ct(ot(Jh,1),M8t,59,0,[])}function uz(){uz=X,q_t=new Oet("NO",0),wht=new Oet("GREEDY",1),z_t=new Oet("LOOK_BACK",2)}function Ku(){Ku=X,D9t=new bm,L9t=new yp,M9t=new tY,A9t=new H2,I9t=new eY,O9t=new nY}function Non(t){var e,n,r;for(r=0,n=new S(t.b);n.a<n.c.c.length;)e=u(Q(n),29),e.p=r,++r}function Fon(t,e){var n;return n=k4t(t),Q4t(new $e(n.c,n.d),new $e(n.b,n.a),t.rf(),e,t.Hf())}function Kc(t,e){var n;return t.b?null:(n=Oan(t,t.g),pi(t.a,n),n.i=t,t.d=e,n)}function Bon(t,e,n){Dr(n,"DFS Treeifying phase",1),Uln(t,e),qbn(t,e),t.a=null,t.b=null,br(n)}function cne(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new ge,Ngn(this),pn(),ua(this.a,null)}function iyt(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function ws(t,e){Lj.call(this,t5e,t,e),this.b=this,this.a=gu(t.Tg(),wn(this.e.Tg(),this.c))}function G_(t,e){var n,r;for(Pn(e),r=e.vc().Kc();r.Ob();)n=u(r.Pb(),42),t.zc(n.cd(),n.dd())}function Ron(t,e,n){var r;for(r=n.Kc();r.Ob();)if(!T$(t,e,r.Pb()))return!1;return!0}function jon(t,e,n,r,s){var o;return n&&(o=rs(e.Tg(),t.c),s=n.gh(e,-1-(o==-1?r:o),null,s)),s}function $on(t,e,n,r,s){var o;return n&&(o=rs(e.Tg(),t.c),s=n.ih(e,-1-(o==-1?r:o),null,s)),s}function une(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}function lne(t){switch(t.g){case 2:return ye(),jn;case 4:return ye(),Wn;default:return t}}function hne(t){switch(t.g){case 1:return ye(),Ir;case 3:return ye(),Nn;default:return t}}function zon(t){var e,n,r;return t.j==(ye(),Nn)&&(e=$oe(t),n=Gu(e,Wn),r=Gu(e,jn),r||r&&n)}function qon(t){var e,n;return e=u(t.e&&t.e(),9),n=u(lwt(e,e.length),9),new hh(e,n,e.length)}function Hon(t,e){Dr(e,Jfe,1),s3t(uYe(new lr((zT(),new trt(t,!1,!1,new QN))))),br(e)}function MD(t,e){return Rn(),pa(t)?fmt(t,Yr(e)):Pm(t)?Nnt(t,ke(e)):Om(t)?Wtn(t,Be(e)):t.wd(e)}function syt(t,e){e.q=t,t.d=b.Math.max(t.d,e.r),t.b+=e.d+(t.a.c.length==0?0:t.c),de(t.a,e)}function V8(t,e){var n,r,s,o;return s=t.c,n=t.c+t.b,o=t.d,r=t.d+t.a,e.a>s&&e.a<n&&e.b>o&&e.b<r}function fne(t,e,n,r){_t(t.Cb,179)&&(u(t.Cb,179).tb=null),su(t,n),e&&rpn(t,e),r&&t.xk(!0)}function ayt(t,e){var n;n=u(e,183),eb(n,"x",t.i),eb(n,"y",t.j),eb(n,zct,t.g),eb(n,$ct,t.f)}function oyt(){oyt=X,ime=sw(zGt(Mi(Mi(new ra,(ao(),pu),(wo(),yV)),Zc,pV),Uo),mV)}function dne(){dne=X,cme=sw(zGt(Mi(Mi(new ra,(ao(),pu),(wo(),yV)),Zc,pV),Uo),mV)}function lz(){lz=X,jht=new Ret(X0,0),SCt=new Ret("POLAR_COORDINATE",1),CCt=new Ret("ID",2)}function hz(){hz=X,N_t=new Det("EQUALLY",0),pht=new Det($q,1),F_t=new Det("NORTH_SOUTH",2)}function gne(){gne=X,Rwe=ai((m4(),ct(ot(D_t,1),ue,260,0,[dG,OO,PO,A_t,L_t,S_t,M_t,gG])))}function pne(){pne=X,ebe=ai((gq(),ct(ot(vEt,1),ue,270,0,[llt,dlt,ult,blt,flt,hlt,plt,glt])))}function bne(){bne=X,L3e=ai((Hg(),ct(ot(A3e,1),ue,277,0,[bSt,Va,Lc,_9,Wo,ks,$x,X1])))}function vne(){vne=X,I4e=ai((w7(),ct(ot(rU,1),ue,237,0,[kft,eU,nU,tU,xft,JG,ZG,yft])))}function G8(){G8=X,uS=new Ks("debugSVG",(Rn(),!1)),J7t=new Ks("overlapsExisted",!0)}function wne(t,e){return Ym(new Ht(t),new ie(e),new Wt(e),new rr,ct(ot(xl,1),ue,132,0,[]))}function Von(){var t;return Lut||(Lut=new Vzt,t=new Drt(""),nXe(t,(a8(),C7t)),mon(Lut,t)),Lut}function Gon(t,e){var n;for(zr(e);t.Ob();)if(n=t.Pb(),!lyt(u(n,10)))return!1;return!0}function mne(t,e){var n;return n=sat(q8(),t),n?(Do(e,(Ei(),C9),n),!0):!1}function Ul(t,e){var n;for(n=0;n<e.j.c.length;n++)u(xD(t,n),21).Gc(u(xD(e,n),14));return t}function Uon(t,e){var n,r;for(r=new S(e.b);r.a<r.c.c.length;)n=u(Q(r),29),t.a[n.p]=b0n(n)}function U_(t,e){var n,r;for(Pn(e),r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),e.Od(n.cd(),n.dd())}function fz(t,e){var n;_t(e,83)?(u(t.c,76).Xj(),n=u(e,83),von(t,n)):u(t.c,76).Wb(e)}function cb(t){return _t(t,152)?U6(u(t,152)):_t(t,131)?u(t,131).a:_t(t,54)?new wv(t):new Mm(t)}function Won(t,e){return e<t.b.gc()?u(t.b.Xb(e),10):e==t.b.gc()?t.a:u(Fe(t.e,e-t.b.gc()-1),10)}function yne(t,e){t.a=Ka(t.a,1),t.c=b.Math.min(t.c,e),t.b=b.Math.max(t.b,e),t.d=Ka(t.d,e)}function Kon(t,e){var n;Dr(e,"Edge and layer constraint edge reversal",1),n=Qvn(t),d4n(n),br(e)}function xne(t){var e;t.d==null?(++t.e,t.f=0,Mre(null)):(++t.e,e=t.d,t.d=null,t.f=0,Mre(e))}function Yp(t){var e;return e=t.h,e==0?t.l+t.m*dx:e==Y0?t.l+t.m*dx-Eb:t}function kne(t){return Bm(),t.A.Hc((Fl(),Xy))&&!t.B.Hc((ml(),oP))?iie(t):null}function Yon(t){if(Pn(t),t.length==0)throw et(new gd("Zero length BigInteger"));cwn(this,t)}function r4(t){if(!t)throw et(new Xo("no calls to next() since the last call to remove()"))}function Ou(t){return NI<t&&t<Eb?t<0?b.Math.ceil(t):b.Math.floor(t):Yp(pbn(t))}function Xon(t,e){var n,r,s;for(n=t.c.Ee(),s=e.Kc();s.Ob();)r=s.Pb(),t.a.Od(n,r);return t.b.Kb(n)}function Oi(t,e){var n,r,s;if(n=t.Jg(),n!=null&&t.Mg())for(r=0,s=n.length;r<s;++r)n[r].ui(e)}function U8(t,e){var n,r;for(n=t,r=Za(n).e;r;){if(n=r,n==e)return!0;r=Za(n).e}return!1}function Qon(t,e,n){var r,s;return r=t.a.f[e.p],s=t.a.f[n.p],r<s?-1:r==s?0:1}function ub(t,e,n){var r,s;return s=u(w_(t.d,e),19),r=u(w_(t.b,n),19),!s||!r?null:K6(t,s.a,r.a)}function Zon(t,e){var n,r;for(r=new hr(t);r.e!=r.i.gc();)n=u(Tr(r),33),S1(n,n.i+e.b,n.j+e.d)}function Jon(t,e){var n,r;for(r=new S(e);r.a<r.c.c.length;)n=u(Q(r),70),de(t.d,n),u0n(t,n)}function tcn(t,e){var n,r;r=new ge,n=e;do r.c[r.c.length]=n,n=u(cr(t.k,n),17);while(n);return r}function In(t,e){var n;return t.Db&e?(n=bst(t,e),n==-1?t.Eb:ob(t.Eb)[n]):null}function vc(t,e){var n,r;return n=(r=new JL,r),n.G=e,!t.rb&&(t.rb=new qm(t,u1,t)),Hr(t.rb,n),n}function yi(t,e){var n,r;return n=(r=new fR,r),n.G=e,!t.rb&&(t.rb=new qm(t,u1,t)),Hr(t.rb,n),n}function cyt(t,e){switch(e){case 1:return!!t.n&&t.n.i!=0;case 2:return t.k!=null}return zwt(t,e)}function Ene(t){switch(t.a.g){case 1:return new EGt;case 3:return new xse;default:return new hd}}function dz(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw et(new _c)}function ecn(t){fUt();var e;return kVt(yht,t)||(e=new SQ,e.a=t,Ybt(yht,t,e)),u(Lo(yht,t),635)}function Nh(t){var e,n,r,s;return s=t,r=0,s<0&&(s+=Eb,r=Y0),n=Ds(s/dx),e=Ds(s-n*dx),hu(e,n,r)}function DD(t){var e,n,r;for(r=0,n=new T6(t.a);n.a<n.c.a.length;)e=F_(n),t.b.Hc(e)&&++r;return r}function ncn(t){var e,n,r;for(e=1,r=t.Kc();r.Ob();)n=r.Pb(),e=31*e+(n==null?0:es(n)),e=~~e;return e}function rcn(t,e){var n;this.c=t,n=new ge,R3t(t,n,e,t.b,null,!1,null,!1),this.a=new Sa(n,0)}function W8(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(po(),u(t,66).Oj()),this.k=gu(e.e.Tg(),t)}function lb(t,e,n){this.b=(Pn(t),t),this.d=(Pn(e),e),this.e=(Pn(n),n),this.c=this.d+(""+this.e)}function Tne(){this.a=u(Ie((r1(),aV)),19).a,this.c=Zt(ke(Ie(oV))),this.b=Zt(ke(Ie(Vut)))}function _ne(){_ne=X,s4e=ai((fy(),ct(ot(Co,1),ue,93,0,[Mf,eg,Df,Of,g0,Yh,th,If,Kh])))}function Cne(){Cne=X,qge=ai((bq(),ct(ot(Y7t,1),ue,250,0,[K7t,V7t,G7t,H7t,Out,W7t,U7t,q7t,z7t])))}function Jv(){Jv=X,uO=new HR("UP",0),cO=new HR(yot,1),Fut=new HR(gx,2),But=new HR(px,3)}function uyt(){uyt=X,J_t=(p$(),Mht),Yme=new vn(Okt,J_t),Z_t=(m$(),Dht),Kme=new vn(Pkt,Z_t)}function K8(){K8=X,Llt=new _et("ONE_SIDED",0),Mlt=new _et("TWO_SIDED",1),kO=new _et("OFF",2)}function Sne(t){t.r=new na,t.w=new na,t.t=new ge,t.i=new ge,t.d=new na,t.a=new L6,t.c=new Br}function ID(t){this.n=new ge,this.e=new hs,this.j=new hs,this.k=new ge,this.f=new ge,this.p=t}function Ane(t,e){t.c&&(Due(t,e,!0),Ts(new En(null,new _n(e,16)),new $tt(t))),Due(t,e,!1)}function icn(t,e,n){return t==(Qv(),pG)?new tQ:wl(e,1)!=0?new e2t(n.length):new Zqt(n.length)}function Vo(t,e){var n;return e&&(n=e.Ve(),n.dc()||(t.q?G_(t.q,n):t.q=new $Gt(n))),t}function Lne(t,e){var n;return n=t.a.get(e),n===void 0?++t.d:(AQe(t.a,e),--t.c,c$(t.b)),n}function scn(t,e){var n,r,s;return n=e.p-t.p,n==0?(r=t.f.a*t.f.b,s=e.f.a*e.f.b,Vs(r,s)):n}function acn(t,e){var n,r;return n=t.f.c.length,r=e.f.c.length,n<r?-1:n==r?0:1}function ocn(t){return t.b.c.length!=0&&u(Fe(t.b,0),70).a?u(Fe(t.b,0),70).a:rrt(t)}function ccn(t){var e;if(t){if(e=t,e.dc())throw et(new _c);return e.Xb(e.gc()-1)}return MQt(t.Kc())}function Mne(t){var e;return Oc(t,0)<0&&(t=Avt(t)),e=$r($p(t,32)),64-(e!=0?dI(e):dI($r(t))+32)}function lyt(t){var e;return e=u(K(t,(oe(),yc)),61),t.k==(Yn(),Fs)&&(e==(ye(),jn)||e==Wn)}function ucn(t,e,n){var r,s;s=u(K(t,(Te(),zo)),74),s&&(r=new Hu,Ait(r,0,s),Jm(r,n),so(e,r))}function gz(t,e,n){var r,s,o,h;h=Za(t),r=h.d,s=h.c,o=t.n,e&&(o.a=o.a-r.b-s.a),n&&(o.b=o.b-r.d-s.b)}function lcn(t,e){var n,r;return n=t.j,r=e.j,n!=r?n.g-r.g:t.p==e.p?0:n==(ye(),Nn)?t.p-e.p:e.p-t.p}function hcn(t){var e,n;for(F4n(t),n=new S(t.d);n.a<n.c.c.length;)e=u(Q(n),101),e.i&&G0n(e)}function W_(t,e,n,r,s){ds(t.c[e.g],n.g,r),ds(t.c[n.g],e.g,r),ds(t.b[e.g],n.g,s),ds(t.b[n.g],e.g,s)}function fcn(t,e,n,r){u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65),u(r.b,65),Mu(r.a,new vvt(t,e,r))}function dcn(t,e){t.d==(ko(),Wh)||t.d==tg?u(e.a,57).c.Fc(u(e.b,57)):u(e.b,57).c.Fc(u(e.a,57))}function fit(t,e,n,r){return n==1?(!t.n&&(t.n=new pe(nc,t,1,7)),Ja(t.n,e,r)):M4t(t,e,n,r)}function OD(t,e){var n,r;return r=(n=new zL,n),su(r,e),Hr((!t.A&&(t.A=new Vu(wu,t,7)),t.A),r),r}function gcn(t,e,n){var r,s,o,h;return o=null,h=e,s=Gv(h,Vct),r=new cGt(t,n),o=(O1n(r.a,r.b,s),s),o}function dit(t){var e;return(!t.a||!(t.Bb&1)&&t.a.kh())&&(e=Bh(t),_t(e,148)&&(t.a=u(e,148))),t.a}function PD(t,e){var n,r;for(Pn(e),r=e.Kc();r.Ob();)if(n=r.Pb(),!t.Hc(n))return!1;return!0}function pcn(t,e){var n,r,s;return n=t.l+e.l,r=t.m+e.m+(n>>22),s=t.h+e.h+(r>>22),hu(n&yl,r&yl,s&Y0)}function Dne(t,e){var n,r,s;return n=t.l-e.l,r=t.m-e.m+(n>>22),s=t.h-e.h+(r>>22),hu(n&yl,r&yl,s&Y0)}function ND(t){var e;return t<128?(e=(UKt(),e7t)[t],!e&&(e=e7t[t]=new nR(t)),e):new nR(t)}function as(t){var e;return _t(t,78)?t:(e=t&&t.__java$exception,e||(e=new yre(t),Bzt(e)),e)}function FD(t){if(_t(t,186))return u(t,118);if(t)return null;throw et(new x6(Cde))}function Ine(t,e){if(e==null)return!1;for(;t.a!=t.b;)if(Pi(e,xz(t)))return!0;return!1}function hyt(t){return t.a.Ob()?!0:t.a!=t.d?!1:(t.a=new Gwt(t.e.f),t.a.Ob())}function Hs(t,e){var n,r;return n=e.Pc(),r=n.length,r==0?!1:(Tvt(t.c,t.c.length,n),!0)}function bcn(t,e,n){var r,s;for(s=e.vc().Kc();s.Ob();)r=u(s.Pb(),42),t.yc(r.cd(),r.dd(),n);return t}function One(t,e){var n,r;for(r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),70),ne(n,(oe(),Ox),e)}function vcn(t,e,n){var r,s;for(s=new S(t.b);s.a<s.c.c.length;)r=u(Q(s),33),S1(r,r.i+e,r.j+n)}function Pne(t,e){if(!t)throw et(new Bn(vC("value already present: %s",ct(ot(ir,1),De,1,5,[e]))))}function Nne(t,e){return!t||!e||t==e?!1:vie(t.d.c,e.d.c+e.d.b)&&vie(e.d.c,t.d.c+t.d.b)}function wcn(){return S$(),U1?new Drt(null):Roe(Von(),"com.google.common.base.Strings")}function Fne(t,e){var n;return n=Wd(e.a.gc()),Ts(U$(new En(null,new _n(e,1)),t.i),new eGt(t,n)),n}function Bne(t){var e,n;return n=(e=new zL,e),su(n,"T"),Hr((!t.d&&(t.d=new Vu(wu,t,11)),t.d),n),n}function fyt(t){var e,n,r,s;for(e=1,n=0,s=t.gc();n<s;++n)r=t.ki(n),e=31*e+(r==null?0:es(r));return e}function Rne(t,e,n,r){var s;return lD(e,t.e.Hd().gc()),lD(n,t.c.Hd().gc()),s=t.a[e][n],ds(t.a[e],n,r),s}function ct(t,e,n,r,s){return s.gm=t,s.hm=e,s.im=Ft,s.__elementTypeId$=n,s.__elementTypeCategory$=r,s}function mcn(t,e,n,r,s){return x4(),b.Math.min(Kle(t,e,n,r,s),Kle(n,r,t,e,xj(new $e(s.a,s.b))))}function pz(){pz=X,alt=new GR(X0,0),AV=new GR(n1e,1),LV=new GR(r1e,2),yO=new GR("BOTH",3)}function R1(){R1=X,Sx=new UR(N7,0),s9=new UR(gx,1),a9=new UR(px,2),olt=new UR("TOP",3)}function Y8(){Y8=X,_w=new VR("Q1",0),Iy=new VR("Q4",1),Dy=new VR("Q2",2),$4=new VR("Q3",3)}function bz(){bz=X,mht=new Pet("OFF",0),k9=new Pet("SINGLE_EDGE",1),Gy=new Pet("MULTI_EDGE",2)}function BD(){BD=X,NG=new H2t("MINIMUM_SPANNING_TREE",0),dSt=new H2t("MAXIMUM_SPANNING_TREE",1)}function Z6(){Z6=X,E3e=new dZ,k3e=new hZ}function dyt(t){var e,n,r;for(e=new hs,r=gi(t.d,0);r.b!=r.d.c;)n=u(di(r),188),pi(e,n.c);return e}function git(t){var e,n,r,s;for(s=new ge,r=t.Kc();r.Ob();)n=u(r.Pb(),33),e=gy(n),Hs(s,e);return s}function ycn(t){var e;fw(t,!0),e=Vg,ia(t,(Te(),m9))&&(e+=u(K(t,m9),19).a),ne(t,m9,ve(e))}function jne(t,e,n){var r;al(t.a),Mu(n.i,new P$t(t)),r=new lj(u(cr(t.a,e.b),65)),Cie(t,r,e),n.f=r}function xcn(t,e){var n,r;return n=t.c,r=e.e[t.p],r<n.a.c.length-1?u(Fe(n.a,r+1),10):null}function kcn(t,e){var n,r;for(s$(e,"predicate"),r=0;t.Ob();r++)if(n=t.Pb(),e.Lb(n))return r;return-1}function J6(t,e){var n,r;if(r=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)r=O1(r,I0(1,n));return r}function gyt(t){pn();var e,n,r;for(r=0,n=t.Kc();n.Ob();)e=n.Pb(),r=r+(e!=null?es(e):0),r=r|0;return r}function pyt(t){var e,n;return n=(Ev(),e=new ld,e),t&&Hr((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),n),n}function Ecn(t){var e;return e=new yt,e.a=t,e.b=Mcn(t),e.c=Pt(Le,re,2,2,6,1),e.c[0]=tne(t),e.c[1]=tne(t),e}function byt(t,e){switch(e){case 0:!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),t.o.c.$b();return}Pst(t,e)}function RD(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function $ne(t){switch(t.g){case 1:return k2;case 2:return d0;case 3:return tP;default:return eP}}function Tcn(t){switch(u(K(t,(Te(),bu)),163).g){case 2:case 4:return!0;default:return!1}}function zne(){zne=X,gbe=ai((Eo(),ct(ot(Alt,1),ue,256,0,[$V,Th,vS,zV,d9,U4,wS,h9,f9,qV])))}function qne(){qne=X,p4e=ai((ml(),ct(ot(CAt,1),ue,259,0,[D9,oP,WG,eA,KG,XG,YG,vft,aP])))}function Hne(){Hne=X,uye=Mi(sw(sw(NR(Mi(new ra,(l7(),NS),(fC(),yG)),RO),Eht),Tht),FS,_ht)}function hb(){hb=X,xlt=new Tet(X0,0),l9=new Tet("INCOMING_ONLY",1),G4=new Tet("OUTGOING_ONLY",2)}function pit(){pit=X,Eut={boolean:oYe,number:bKe,string:vKe,object:noe,function:noe,undefined:XWe}}function Vne(t,e){Aj(t>=0,"Negative initial capacity"),Aj(e>=0,"Non-positive load factor"),al(this)}function bit(t,e,n){return t>=128?!1:t<64?a_(Xs(I0(1,t),n),0):a_(Xs(I0(1,t-64),e),0)}function _cn(t,e){return!t||!e||t==e?!1:nw(t.b.c,e.b.c+e.b.b)<0&&nw(e.b.c,t.b.c+t.b.b)<0}function Gne(t){var e,n,r;return n=t.n,r=t.o,e=t.d,new fh(n.a-e.b,n.b-e.d,r.a+(e.b+e.c),r.b+(e.d+e.a))}function Ccn(t){var e,n,r,s;for(n=t.a,r=0,s=n.length;r<s;++r)e=n[r],Qne(t,e,(ye(),Ir)),Qne(t,e,Nn)}function Scn(t){var e,n,r,s;for(e=(t.j==null&&(t.j=(_8(),s=kut.ce(t),j1n(s))),t.j),n=0,r=e.length;n<r;++n);}function X8(t){var e,n,r;return e=~t.l+1&yl,n=~t.m+(e==0?1:0)&yl,r=~t.h+(e==0&&n==0?1:0)&Y0,hu(e,n,r)}function Acn(t,e){var n,r;return n=u(u(cr(t.g,e.a),46).a,65),r=u(u(cr(t.g,e.b),46).a,65),rle(n,r)}function vyt(t,e,n){var r;if(r=t.gc(),e>r)throw et(new jm(e,r));return t.hi()&&(n=cQt(t,n)),t.Vh(e,n)}function jD(t,e,n){return n==null?(!t.q&&(t.q=new Br),W6(t.q,e)):(!t.q&&(t.q=new Br),Ni(t.q,e,n)),t}function ne(t,e,n){return n==null?(!t.q&&(t.q=new Br),W6(t.q,e)):(!t.q&&(t.q=new Br),Ni(t.q,e,n)),t}function Une(t){var e,n;return n=new A$,Vo(n,t),ne(n,(Kp(),Cx),t),e=new Br,Mmn(t,n,e),n4n(t,n,e),n}function Lcn(t){x4();var e,n,r;for(n=Pt(sa,re,8,2,0,1),r=0,e=0;e<2;e++)r+=.5,n[e]=lfn(r,t);return n}function Wne(t,e){var n,r,s,o;for(n=!1,r=t.a[e].length,o=0;o<r-1;o++)s=o+1,n=n|Wln(t,e,o,s);return n}function Q8(t,e,n,r,s){var o,h;for(h=n;h<=s;h++)for(o=e;o<=r;o++)h4(t,o,h)||wq(t,o,h,!0,!1)}function Kne(t,e){this.b=t,H3.call(this,(u(At(Kt((Hp(),Ln).o),10),18),e.i),e.g),this.a=(hit(),Cft)}function wyt(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function myt(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function yyt(t,e,n){this.q=new b.Date,this.q.setFullYear(t+a2,e,n),this.q.setHours(0,0,0,0),yC(this,0)}function z0(){z0=X,w2=new Let(X0,0),I_t=new Let("NODES_AND_EDGES",1),fht=new Let("PREFER_EDGES",2)}function Mcn(t){var e;return t==0?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+Fte(t))}function xyt(t){var e;if(t<0)return qa;if(t==0)return 0;for(e=AC;!(e&t);e>>=1);return e}function Yne(t){var e,n;return n=dI(t.h),n==32?(e=dI(t.m),e==32?dI(t.l)+32:e+20-10):n-12}function K_(t){var e;return e=t.a[t.b],e==null?null:(ds(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function Xne(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function vz(t,e,n){var r,s;return r=new $rt(e,n),s=new qe,t.b=zce(t,t.b,r,s),s.b||++t.c,t.b.b=!1,s.d}function Qne(t,e,n){var r,s,o,h;for(h=Q_(e,n),o=0,s=h.Kc();s.Ob();)r=u(s.Pb(),11),Ni(t.c,r,ve(o++))}function Xp(t){var e,n;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),81),e.g.c=-e.g.c-e.g.b;hq(t)}function Qp(t){var e,n;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),57),e.d.c=-e.d.c-e.d.b;T5t(t)}function kyt(t){var e;return(!t.c||!(t.Bb&1)&&t.c.Db&64)&&(e=Bh(t),_t(e,88)&&(t.c=u(e,26))),t.c}function vit(t){var e,n,r;e=~t.l+1&yl,n=~t.m+(e==0?1:0)&yl,r=~t.h+(e==0&&n==0?1:0)&Y0,t.l=e,t.m=n,t.h=r}function cc(t){var e,n,r,s,o;for(e=new $a,r=t,s=0,o=r.length;s<o;++s)n=r[s],e.a+=n.a,e.b+=n.b;return e}function Eyt(t,e){pn();var n,r,s,o,h;for(h=!1,r=e,s=0,o=r.length;s<o;++s)n=r[s],h=h|t.Fc(n);return h}function i4(t){x4();var e,n;for(n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function Zne(t,e,n){var r;return r=new ge,A5t(t,e,r,(ye(),Wn),!0,!1),A5t(t,n,r,jn,!1,!1),r}function wit(t,e,n){var r,s,o,h;return o=null,h=e,s=Gv(h,"labels"),r=new wGt(t,n),o=(Kpn(r.a,r.b,s),s),o}function Dcn(t,e,n,r){var s;return s=p5t(t,e,n,r),!s&&(s=Iun(t,n,r),s&&!T4(t,e,s))?null:s}function Icn(t,e,n,r){var s;return s=b5t(t,e,n,r),!s&&(s=Nit(t,n,r),s&&!T4(t,e,s))?null:s}function Jne(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!u(YKt(t.a,n),169).Lb(e))return!1;return!0}function Ocn(t,e,n){if(zr(e),n.Ob())for(K2t(e,zYt(n.Pb()));n.Ob();)K2t(e,t.a),K2t(e,zYt(n.Pb()));return e}function Tyt(t){pn();var e,n,r;for(r=1,n=t.Kc();n.Ob();)e=n.Pb(),r=31*r+(e!=null?es(e):0),r=r|0;return r}function Pcn(t,e,n,r,s){var o;return o=c5t(t,e),n&&vit(o),s&&(t=bfn(t,e),r?h2=X8(t):h2=hu(t.l,t.m,t.h)),o}function Ncn(t,e){var n;try{e.Vd()}catch(r){if(r=as(r),_t(r,78))n=r,t.c[t.c.length]=n;else throw et(r)}}function tre(t,e,n){var r,s;return _t(e,144)&&n?(r=u(e,144),s=n,t.a[r.b][s.b]+t.a[s.b][r.b]):0}function _yt(t,e){switch(e){case 7:return!!t.e&&t.e.i!=0;case 8:return!!t.d&&t.d.i!=0}return u3t(t,e)}function Fcn(t,e){switch(e.g){case 0:_t(t.b,631)||(t.b=new Tne);break;case 1:_t(t.b,632)||(t.b=new _Kt)}}function Bcn(t,e){for(;t.g==null&&!t.c?Owt(t):t.g==null||t.i!=0&&u(t.g[t.i-1],47).Ob();)SYe(e,cq(t))}function ere(t,e,n){t.g=Nst(t,e,(ye(),Wn),t.b),t.d=Nst(t,n,Wn,t.b),!(t.g.c==0||t.d.c==0)&&yae(t)}function nre(t,e,n){t.g=Nst(t,e,(ye(),jn),t.j),t.d=Nst(t,n,jn,t.j),!(t.g.c==0||t.d.c==0)&&yae(t)}function Rcn(t,e,n){return!jT(Xi(new En(null,new _n(t.c,16)),new te(new rGt(e,n)))).sd((Y2(),t9))}function mit(t){var e;return Vp(t),e=new Rr,t.a.sd(e)?(l8(),new bR(Pn(e.a))):(l8(),l8(),YH)}function Cyt(t){var e;return t.b<=0?!1:(e=pd("MLydhHmsSDkK",Pu(Oa(t.c,0))),e>1||e>=0&&t.b<3)}function $D(t){var e,n,r;for(e=new Hu,r=gi(t,0);r.b!=r.d.c;)n=u(di(r),8),f8(e,0,new No(n));return e}function fb(t){var e,n;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),81),e.f.$b();fKe(t.b,t),Ace(t)}function es(t){return pa(t)?zg(t):Pm(t)?c8(t):Om(t)?(Pn(t),t?1231:1237):Kvt(t)?t.Hb():Hvt(t)?Mv(t):Swt(t)}function bl(t){return pa(t)?Le:Pm(t)?Ea:Om(t)?Zs:Kvt(t)||Hvt(t)?t.gm:t.gm||Array.isArray(t)&&ot(lge,1)||lge}function rre(t){switch(t.g){case 0:return new lZ;default:throw et(new Bn(vH+(t.f!=null?t.f:""+t.g)))}}function ire(t){switch(t.g){case 0:return new uZ;default:throw et(new Bn(vH+(t.f!=null?t.f:""+t.g)))}}function Syt(t,e,n){switch(e){case 0:!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),fz(t.o,n);return}jst(t,e,n)}function yit(t,e,n){this.g=t,this.e=new $a,this.f=new $a,this.d=new hs,this.b=new hs,this.a=e,this.c=n}function xit(t,e,n,r){this.b=new ge,this.n=new ge,this.i=r,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function db(t){this.e=t,this.d=new emt(this.e.g),this.a=this.d,this.b=hyt(this),this.$modCount=t.$modCount}function jcn(t){for(;!t.d||!t.d.Ob();)if(t.b&&!PT(t.b))t.d=u(B6(t.b),47);else return null;return t.d}function $cn(t){return de(t.c,(Z6(),E3e)),Bmt(t.a,Zt(ke(Ie((Git(),uG)))))?new FZ:new $$t(t)}function Ayt(t){switch(t.g){case 1:return k1e;default:case 2:return 0;case 3:return Mot;case 4:return E1e}}function zcn(){Si();var t;return Ift||(t=XXe(i2("M",!0)),t=jj(i2("M",!1),t),Ift=t,Ift)}function Lyt(t,e){var n,r,s;for(s=t.b;s;){if(n=t.a.ue(e,s.d),n==0)return s;r=n<0?0:1,s=s.a[r]}return null}function qcn(t,e,n){var r,s;r=(Rn(),!!X2t(n)),s=u(e.xc(r),15),s||(s=new ge,e.zc(r,s)),s.Fc(n)}function Hcn(t,e){var n,r;return n=u(He(t,(Kst(),zO)),19).a,r=u(He(e,zO),19).a,n==r||n<r?-1:n>r?1:0}function Myt(t,e){return Ece(t,e)?(un(t.b,u(K(e,(oe(),Py)),21),e),pi(t.a,e),!0):!1}function Vcn(t){var e,n;e=u(K(t,(oe(),ul)),10),e&&(n=e.c,Au(n.a,e),n.a.c.length==0&&Au(Za(e).b,n))}function sre(t){return U1?Pt(Lge,ofe,572,0,0,1):u($1(t.a,Pt(Lge,ofe,572,t.a.c.length,0,1)),842)}function Gcn(t,e,n,r){return Jj(),new Ztt(ct(ot(Ib,1),Pq,42,0,[(hst(t,e),new _v(t,e)),(hst(n,r),new _v(n,r))]))}function s4(t,e,n){var r,s;return s=(r=new Wtt,r),Mo(s,e,n),Hr((!t.q&&(t.q=new pe(Jh,t,11,10)),t.q),s),s}function kit(t){var e,n,r,s;for(s=vYe(L4e,t),n=s.length,r=Pt(Le,re,2,n,6,1),e=0;e<n;++e)r[e]=s[e];return r}function a4(t,e){var n,r,s,o,h;for(r=e,s=0,o=r.length;s<o;++s)n=r[s],h=new WYt(t),n.Qe(h),Ymn(h);al(t.f)}function Eit(t,e){var n;return e===t?!0:_t(e,224)?(n=u(e,224),Pi(t.Zb(),n.Zb())):!1}function Dyt(t,e){var n;e*2+1>=t.b.c.length||(Dyt(t,2*e+1),n=2*e+2,n<t.b.c.length&&Dyt(t,n),soe(t,e))}function are(t,e,n){var r,s;this.g=t,this.c=e,this.a=this,this.d=this,s=qee(n),r=Pt(uge,II,330,s,0,1),this.b=r}function Iyt(t,e,n){var r;for(r=n-1;r>=0&&t[r]===e[r];r--);return r<0?0:get(Xs(t[r],To),Xs(e[r],To))?-1:1}function Ucn(t,e){var n,r;for(r=gi(t,0);r.b!=r.d.c;)n=u(di(r),214),n.e.length>0&&(e.td(n),n.i&&$un(n))}function Tit(t,e){var n,r;return r=u(In(t.a,4),126),n=Pt(Tft,Jct,415,e,0,1),r!=null&&qc(r,0,n,0,r.length),n}function ore(t,e){var n;return n=new eat((t.f&256)!=0,t.i,t.a,t.d,(t.f&16)!=0,t.j,t.g,e),t.e!=null||(n.c=t),n}function Wcn(t,e){var n,r;for(r=t.Zb().Cc().Kc();r.Ob();)if(n=u(r.Pb(),14),n.Hc(e))return!0;return!1}function _it(t,e,n,r,s){var o,h;for(h=n;h<=s;h++)for(o=e;o<=r;o++)if(h4(t,o,h))return!0;return!1}function cre(t,e,n){var r,s,o,h;for(Pn(n),h=!1,o=t.Zc(e),s=n.Kc();s.Ob();)r=s.Pb(),o.Rb(r),h=!0;return h}function Kcn(t,e){var n;return t===e?!0:_t(e,83)?(n=u(e,83),O4t(Pv(t),n.vc())):!1}function ure(t,e,n){var r,s;for(s=n.Kc();s.Ob();)if(r=u(s.Pb(),42),t.re(e,r.dd()))return!0;return!1}function lre(t,e,n){return t.d[e.p][n.p]||(Vhn(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function Z8(t,e){if(!t.ai()&&e==null)throw et(new Bn("The 'no null' constraint is violated"));return e}function J8(t,e){t.D==null&&t.B!=null&&(t.D=t.B,t.B=null),rit(t,e==null?null:(Pn(e),e)),t.C&&t.yk(null)}function Ycn(t,e){var n;return!t||t==e||!ia(e,(oe(),Mw))?!1:(n=u(K(e,(oe(),Mw)),10),n!=t)}function Cit(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function hre(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function fre(t){eQt.call(this,"The given string does not match the expected format for individual spacings.",t)}function Nl(){Nl=X,rh=new tj("ELK",0),IAt=new tj("JSON",1),DAt=new tj("DOT",2),OAt=new tj("SVG",3)}function zD(){zD=X,SG=new Bet(X0,0),fCt=new Bet("RADIAL_COMPACTION",1),dCt=new Bet("WEDGE_COMPACTION",2)}function j1(){j1=X,S7t=new pet("CONCURRENT",0),Zl=new pet("IDENTITY_FINISH",1),Ly=new pet("UNORDERED",2)}function Sit(){Sit=X,n9t=(MR(),Rut),e9t=new vn(Q6t,n9t),Spe=new ns(Z6t),Ape=new ns(J6t),Lpe=new ns(txt)}function t7(){t7=X,pEt=new W5,bEt=new zY,z2e=new DL,$2e=new qY,j2e=new HY,gEt=(Pn(j2e),new Ve)}function e7(){e7=X,vht=new Iet("CONSERVATIVE",0),j_t=new Iet("CONSERVATIVE_SOFT",1),DS=new Iet("SLOPPY",2)}function wz(){wz=X,yAt=new Lv(15),e4e=new bo((Ei(),Vb),yAt),KS=qx,bAt=R3e,vAt=Hb,mAt=o5,wAt=zG}function Ait(t,e,n){var r,s,o;for(r=new hs,o=gi(n,0);o.b!=o.d.c;)s=u(di(o),8),pi(r,new No(s));cre(t,e,r)}function Xcn(t){var e,n,r;for(e=0,r=Pt(sa,re,8,t.b,0,1),n=gi(t,0);n.b!=n.d.c;)r[e++]=u(di(n),8);return r}function Oyt(t){var e;return e=(!t.a&&(t.a=new pe(rg,t,9,5)),t.a),e.i!=0?gYe(u(At(e,0),678)):null}function Qcn(t,e){var n;return n=Ka(t,e),get(yrt(t,e),0)|MYe(yrt(t,n),0)?n:Ka(Oq,yrt(zm(n,63),1))}function Zcn(t,e){var n;n=Ie((Git(),uG))!=null&&e.wg()!=null?Zt(ke(e.wg()))/Zt(ke(Ie(uG))):1,Ni(t.b,e,n)}function Jcn(t,e){var n,r;return n=u(t.d.Bc(e),14),n?(r=t.e.hc(),r.Gc(n),t.e.d-=n.gc(),n.$b(),r):null}function Pyt(t,e){var n,r;if(r=t.c[e],r!=0)for(t.c[e]=0,t.d-=r,n=e+1;n<t.a.length;)t.a[n]-=r,n+=n&-n}function dre(t){var e;if(e=t.a.c.length,e>0)return v8(e-1,t.a.c.length),Ig(t.a,e-1);throw et(new jzt)}function tun(t,e,n){if(e<0)throw et(new Po(F1e+e));e<t.j.c.length?gh(t.j,e,n):(kZt(t,e),de(t.j,n))}function gre(t,e,n){if(t>e)throw et(new Bn(Rq+t+cfe+e));if(t<0||e>n)throw et(new Kpt(Rq+t+R6t+e+F6t+n))}function pre(t){if(!t.a||!(t.a.i&8))throw et(new Xo("Enumeration class expected for layout option "+t.f))}function ey(t){var e;++t.j,t.i==0?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),qc(e,0,t.g,0,t.i))}function eun(t,e){var n,r;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)r=e+1&n,ds(t.a,e,t.a[r]),e=r;ds(t.a,t.c,null)}function nun(t,e){var n,r;for(n=t.a.length-1;e!=t.b;)r=e-1&n,ds(t.a,e,t.a[r]),e=r;ds(t.a,t.b,null),t.b=t.b+1&n}function Nyt(t,e,n){var r,s;return Um(e,t.c.length),r=n.Pc(),s=r.length,s==0?!1:(Tvt(t.c,e,r),!0)}function run(t){var e,n;if(t==null)return null;for(e=0,n=t.length;e<n;e++)if(!DKt(t[e]))return t[e];return null}function bre(t,e,n){var r,s,o,h;for(s=n,o=0,h=s.length;o<h;++o)if(r=s[o],t.b.re(e,r.cd()))return r;return null}function mz(t){var e,n,r,s,o;for(o=1,n=t,r=0,s=n.length;r<s;++r)e=n[r],o=31*o+(e!=null?es(e):0),o=o|0;return o}function ai(t){var e,n,r,s,o;for(e={},r=t,s=0,o=r.length;s<o;++s)n=r[s],e[":"+(n.f!=null?n.f:""+n.g)]=n;return e}function iun(t){var e;for(zr(t),hvt(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&ti(t);e++)qr(t);return e}function vre(t){var e,n,r;for(r=0,n=new pr(xr(t.a.Kc(),new H));ti(n);)e=u(qr(n),17),e.c.i==e.d.i||++r;return r}function wre(t,e){var n,r,s;n=t,s=0;do{if(n==e)return s;if(r=n.e,!r)throw et(new fM);n=Za(r),++s}while(!0)}function mre(t,e){var n,r,s;for(s=e-t.f,r=new S(t.d);r.a<r.c.c.length;)n=u(Q(r),443),hie(n,n.e,n.f+s);t.f=e}function Lit(t,e,n){return b.Math.abs(e-t)<dH||b.Math.abs(n-t)<dH?!0:e-t>dH?t-n>dH:n-t>dH}function Mit(t,e){return!t||e&&!t.j||_t(t,124)&&u(t,124).a.b==0?0:t.Re()}function yz(t,e){return!t||e&&!t.k||_t(t,124)&&u(t,124).a.a==0?0:t.Se()}function qD(t){return r2(),t<0?t!=-1?new L3t(-1,-t):Cut:t<=10?p7t[Ds(t)]:new L3t(1,t)}function Fyt(t){throw pit(),et(new Iqt("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function yre(t){Rqt(),hj(this),i$(this),this.e=t,Oce(this,t),this.g=t==null?Nu:tc(t),this.a="",this.b=t,this.a=""}function Byt(){this.a=new oZ,this.f=new S$t(this),this.b=new A$t(this),this.i=new L$t(this),this.e=new M$t(this)}function xre(){uKe.call(this,new ymt(Qm(16))),Gl(2,Hhe),this.b=2,this.a=new mwt(null,null,0,null),hM(this.a,this.a)}function Y_(){Y_=X,oht=new Aet("DUMMY_NODE_OVER",0),E_t=new Aet("DUMMY_NODE_UNDER",1),hG=new Aet("EQUAL",2)}function Dit(){Dit=X,Xut=rQt(ct(ot(WS,1),ue,103,0,[(ko(),Wh),Lf])),Qut=rQt(ct(ot(WS,1),ue,103,0,[tg,J0]))}function Iit(t){return(ye(),Bu).Hc(t.j)?Zt(ke(K(t,(oe(),p9)))):cc(ct(ot(sa,1),re,8,0,[t.i.n,t.n,t.a])).b}function sun(t){var e,n,r,s;for(r=t.b.a,n=r.a.ec().Kc();n.Ob();)e=u(n.Pb(),561),s=new dce(e,t.e,t.f),de(t.g,s)}function gb(t,e){var n,r,s;r=t.nk(e,null),s=null,e&&(s=(e8(),n=new vv,n),F8(s,t.r)),r=z1(t,s,r),r&&r.Fi()}function aun(t,e){var n,r;for(r=wl(t.d,1)!=0,n=!0;n;)n=!1,n=e.c.Tf(e.e,r),n=n|wI(t,e,r,!1),r=!r;eyt(t)}function Ryt(t,e){var n,r,s;return r=!1,n=e.q.d,e.d<t.b&&(s=Tce(e.q,t.b),e.q.d>s&&(Wse(e.q,s),r=n!=e.q.d)),r}function kre(t,e){var n,r,s,o,h,d,w,k;return w=e.i,k=e.j,r=t.f,s=r.i,o=r.j,h=w-s,d=k-o,n=b.Math.sqrt(h*h+d*d),n}function jyt(t,e){var n,r;return r=Pz(t),r||(n=(Tat(),Kae(e)),r=new Mzt(n),Hr(r.Vk(),t)),r}function HD(t,e){var n,r;return n=u(t.c.Bc(e),14),n?(r=t.hc(),r.Gc(n),t.d-=n.gc(),n.$b(),t.mc(r)):t.jc()}function Ere(t,e){var n;for(n=0;n<e.length;n++)if(t==(Xr(n,e.length),e.charCodeAt(n)))return!0;return!1}function Tre(t,e){var n;for(n=0;n<e.length;n++)if(t==(Xr(n,e.length),e.charCodeAt(n)))return!0;return!1}function oun(t){var e,n;if(t==null)return!1;for(e=0,n=t.length;e<n;e++)if(!DKt(t[e]))return!1;return!0}function _re(t){var e;if(t.c!=0)return t.c;for(e=0;e<t.a.length;e++)t.c=t.c*33+(t.a[e]&-1);return t.c=t.c*t.e,t.c}function xz(t){var e;return sr(t.a!=t.b),e=t.d.a[t.a],eWt(t.b==t.d.c&&e!=null),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function cun(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw et(new _c);return e=t.a,t.a+=t.c.c,++t.b,ve(e)}function uun(t){var e;return e=new nee(t),uD(t.a,T2e,new Al(ct(ot(vO,1),De,369,0,[e]))),e.d&&de(e.f,e.d),e.f}function Oit(t){var e;return e=new abt(t.a),Vo(e,t),ne(e,(oe(),Bi),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function lun(t,e,n,r){var s,o;for(o=t.Kc();o.Ob();)s=u(o.Pb(),70),s.n.a=e.a+(r.a-s.o.a)/2,s.n.b=e.b,e.b+=s.o.b+n}function hun(t,e,n){var r,s;for(s=e.a.a.ec().Kc();s.Ob();)if(r=u(s.Pb(),57),FXt(t,r,n))return!0;return!1}function fun(t){var e,n;for(n=new S(t.r);n.a<n.c.c.length;)if(e=u(Q(n),10),t.n[e.p]<=0)return e;return null}function Cre(t){var e,n,r,s;for(s=new na,r=new S(t);r.a<r.c.c.length;)n=u(Q(r),33),e=xvn(n),so(s,e);return s}function dun(t){var e;return e=aj(rme),u(K(t,(oe(),tu)),21).Hc((Eo(),d9))&&Mi(e,(ao(),pu),(wo(),EV)),e}function gun(t,e,n){var r;r=new Doe(t,e),un(t.r,e.Hf(),r),n&&!T_(t.u)&&(r.c=new ZXt(t.d),Mu(e.wf(),new bn(r)))}function Oc(t,e){var n;return Qo(t)&&Qo(e)&&(n=t-e,!isNaN(n))?n:J3t(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e)}function pun(t,e){return e<t.length&&(Xr(e,t.length),t.charCodeAt(e)!=63)&&(Xr(e,t.length),t.charCodeAt(e)!=35)}function Sre(t,e,n,r){var s,o;t.a=e,o=r?0:1,t.f=(s=new Mae(t.c,t.a,n,o),new oue(n,t.a,s,t.e,t.b,t.c==(Qv(),IS)))}function $yt(t,e,n){var r,s;return s=t.a,t.a=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,1,s,e),n?n.Ei(r):n=r),n}function Are(t,e,n){var r,s;return s=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,3,s,e),n?n.Ei(r):n=r),n}function Lre(t,e,n){var r,s;return s=t.f,t.f=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,0,s,e),n?n.Ei(r):n=r),n}function Zp(t,e){var n,r,s,o;return o=(s=t?Pz(t):null,toe((r=e,s&&s.Xk(),r))),o==e&&(n=Pz(t),n&&n.Xk()),o}function zyt(t,e){var n,r,s;for(s=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(s*=n,r-=1);return e<0?1/s:s}function bun(t,e){var n,r,s;for(s=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(s*=n,r-=1);return e<0?1/s:s}function Mre(t){var e,n;if(t!=null)for(n=0;n<t.length;++n)e=t[n],e&&(u(e.g,367),e.i)}function vun(t){var e,n,r;for(r=0,n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),187),r=b.Math.max(r,e.g);return r}function wun(t){var e,n,r;for(r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),214),e=n.c.Rf()?n.f:n.a,e&&Byn(e,n.j)}function q0(){q0=X,GG=new qet("INHERIT",0),np=new qet("INCLUDE_CHILDREN",1),YS=new qet("SEPARATE_CHILDREN",2)}function qyt(t,e){switch(e){case 1:!t.n&&(t.n=new pe(nc,t,1,7)),Pr(t.n);return;case 2:q_(t,null);return}byt(t,e)}function kz(t){var e;switch(t.gc()){case 0:return vut;case 1:return new Snt(zr(t.Xb(0)));default:return e=t,new ort(e)}}function Dre(t){switch(wd(),t.gc()){case 0:return Xnt(),G8t;case 1:return new k6(t.Kc().Pb());default:return new v2t(t)}}function Fg(t){switch(wd(),t.c){case 0:return Xnt(),G8t;case 1:return new k6(uoe(new T6(t)));default:return new Mqt(t)}}function ny(t,e){zr(t);try{return t.xc(e)}catch(n){if(n=as(n),_t(n,205)||_t(n,173))return null;throw et(n)}}function mun(t,e){zr(t);try{return t.Bc(e)}catch(n){if(n=as(n),_t(n,205)||_t(n,173))return null;throw et(n)}}function Hyt(t,e){zr(t);try{return t.Hc(e)}catch(n){if(n=as(n),_t(n,205)||_t(n,173))return!1;throw et(n)}}function yun(t,e){zr(t);try{return t.Mc(e)}catch(n){if(n=as(n),_t(n,205)||_t(n,173))return!1;throw et(n)}}function Ire(t,e){zr(t);try{return t._b(e)}catch(n){if(n=as(n),_t(n,205)||_t(n,173))return!1;throw et(n)}}function Ore(t,e){var n;t.a.c.length>0&&(n=u(Fe(t.a,t.a.c.length-1),570),Myt(n,e))||de(t.a,new uJt(e))}function xun(t){vf();var e,n;e=t.d.c-t.e.c,n=u(t.g,145),Mu(n.b,new _T(e)),Mu(n.c,new U2(e)),Pa(n.i,new iR(e))}function Pre(t){var e;return e=new Mp,e.a+="VerticalSegment ",Cc(e,t.e),e.a+=" ",ii(e,bbt(new aet,new S(t.k))),e.a}function kun(t){var e;return e=u(Uv(t.c.c,""),229),e||(e=new q6(t8(Jk(new wm,""),"Other")),vb(t.c.c,"",e)),e}function X_(t){var e;return t.Db&64?Ef(t):(e=new Ih(Ef(t)),e.a+=" (name: ",Ao(e,t.zb),e.a+=")",e.a)}function Vyt(t,e,n){var r,s;return s=t.sb,t.sb=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,4,s,e),n?n.Ei(r):n=r),n}function Pit(t,e){var n,r,s;for(n=0,s=uc(t,e).Kc();s.Ob();)r=u(s.Pb(),11),n+=K(r,(oe(),ul))!=null?1:0;return n}function o4(t,e,n){var r,s,o;for(r=0,o=gi(t,0);o.b!=o.d.c&&(s=Zt(ke(di(o))),!(s>n));)s>=e&&++r;return r}function Eun(t,e,n){var r,s;return r=new R0(t.e,3,13,null,(s=e.c,s||(hn(),J1)),$g(t,e),!1),n?n.Ei(r):n=r,n}function Tun(t,e,n){var r,s;return r=new R0(t.e,4,13,(s=e.c,s||(hn(),J1)),null,$g(t,e),!1),n?n.Ei(r):n=r,n}function Gyt(t,e,n){var r,s;return s=t.r,t.r=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,8,s,t.r),n?n.Ei(r):n=r),n}function Bg(t,e){var n,r;return n=u(e,676),r=n.vk(),!r&&n.wk(r=_t(e,88)?new MGt(t,u(e,26)):new QQt(t,u(e,148))),r}function VD(t,e,n){var r;t.qi(t.i+1),r=t.oi(e,n),e!=t.i&&qc(t.g,e,t.g,e+1,t.i-e),ds(t.g,e,r),++t.i,t.bi(e,n),t.ci()}function _un(t,e){var n;return e.a&&(n=e.a.a.length,t.a?ii(t.a,t.b):t.a=new jl(t.d),JQt(t.a,e.a,e.d.length,n)),t}function Cun(t,e){var n,r,s,o;if(e.vi(t.a),o=u(In(t.a,8),1936),o!=null)for(n=o,r=0,s=n.length;r<s;++r)null.jm()}function GD(t,e){var n;return n=new Rr,t.a.sd(n)?(l8(),new bR(Pn(Mte(t,n.a,e)))):(Vp(t),l8(),l8(),YH)}function Q_(t,e){switch(e.g){case 2:case 1:return uc(t,e);case 3:case 4:return cb(uc(t,e))}return pn(),pn(),mo}function Pi(t,e){return pa(t)?ln(t,e):Pm(t)?YWt(t,e):Om(t)?(Pn(t),Ut(t)===Ut(e)):Kvt(t)?t.Fb(e):Hvt(t)?XGt(t,e):$wt(t,e)}function Sun(t){return t?t.i&1?t==Tl?Zs:t==Fr?eo:t==r3?Q7:t==wa?Ea:t==O2?Ew:t==d5?Tw:t==tl?Tx:aS:t:null}function Aun(t,e,n,r,s){e==0||r==0||(e==1?s[r]=I3t(s,n,r,t[0]):r==1?s[e]=I3t(s,t,e,n[0]):Mpn(t,n,s,e,r))}function Nre(t,e){var n;t.c.length!=0&&(n=u($1(t,Pt(h0,Gg,10,t.c.length,0,1)),193),Z2t(n,new mk),koe(n,e))}function Fre(t,e){var n;t.c.length!=0&&(n=u($1(t,Pt(h0,Gg,10,t.c.length,0,1)),193),Z2t(n,new qd),koe(n,e))}function Uyt(t,e,n,r){switch(e){case 1:return!t.n&&(t.n=new pe(nc,t,1,7)),t.n;case 2:return t.k}return q3t(t,e,n,r)}function ko(){ko=X,f0=new IM(OC,0),Lf=new IM(px,1),Wh=new IM(gx,2),J0=new IM(yot,3),tg=new IM("UP",4)}function tw(){tw=X,z4=new yet(X0,0),T9t=new yet("INSIDE_PORT_SIDE_GROUPS",1),Jut=new yet("FORCE_MODEL_ORDER",2)}function Bre(t,e,n){if(t<0||e>n)throw et(new Po(Rq+t+R6t+e+", size: "+n));if(t>e)throw et(new Bn(Rq+t+cfe+e))}function wh(t,e,n){if(e<0)K4t(t,n);else{if(!n.Ij())throw et(new Bn(l2+n.ne()+WC));u(n,66).Nj().Vj(t,t.yh(),e)}}function Lun(t,e,n,r,s,o,h,d){var w;for(w=n;o<h;)w>=r||e<n&&d.ue(t[e],t[w])<=0?ds(s,o++,t[e++]):ds(s,o++,t[w++])}function Rre(t,e,n,r,s,o){this.e=new ge,this.f=(xo(),MS),de(this.e,t),this.d=e,this.a=n,this.b=r,this.f=s,this.c=o}function jre(t,e){var n,r;for(r=new hr(t);r.e!=r.i.gc();)if(n=u(Tr(r),26),Ut(e)===Ut(n))return!0;return!1}function Mun(t){Dq();var e,n,r,s;for(n=Jit(),r=0,s=n.length;r<s;++r)if(e=n[r],Zo(e.a,t,0)!=-1)return e;return Nut}function $re(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function zre(t){var e;return t.Db&64?Ef(t):(e=new Ih(Ef(t)),e.a+=" (source: ",Ao(e,t.d),e.a+=")",e.a)}function Dun(t,e,n){var r,s;return s=t.a,t.a=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,5,s,t.a),n?g4t(n,r):n=r),n}function Rg(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,2,n,e))}function Wyt(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,8,n,e))}function Ez(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,8,n,e))}function jg(t,e){var n;n=(t.Bb&512)!=0,e?t.Bb|=512:t.Bb&=-513,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,3,n,e))}function Kyt(t,e){var n;n=(t.Bb&512)!=0,e?t.Bb|=512:t.Bb&=-513,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,9,n,e))}function Z_(t,e){var n;return t.b==-1&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):rs(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function ve(t){var e,n;return t>-129&&t<128?(e=t+128,n=(jKt(),n7t)[e],!n&&(n=n7t[e]=new oM(t)),n):new oM(t)}function n7(t){var e,n;return t>-129&&t<128?(e=t+128,n=(GKt(),a7t)[e],!n&&(n=a7t[e]=new rR(t)),n):new rR(t)}function Yyt(t){var e,n;return e=t.k,e==(Yn(),Fs)?(n=u(K(t,(oe(),yc)),61),n==(ye(),Nn)||n==Ir):!1}function Iun(t,e,n){var r,s,o;return o=(s=m7(t.b,e),s),o&&(r=u(_q(kD(t,o),""),26),r)?p5t(t,r,e,n):null}function Nit(t,e,n){var r,s,o;return o=(s=m7(t.b,e),s),o&&(r=u(_q(kD(t,o),""),26),r)?b5t(t,r,e,n):null}function qre(t,e){var n,r;for(r=new hr(t);r.e!=r.i.gc();)if(n=u(Tr(r),138),Ut(e)===Ut(n))return!0;return!1}function J_(t,e,n){var r;if(r=t.gc(),e>r)throw et(new jm(e,r));if(t.hi()&&t.Hc(n))throw et(new Bn(JI));t.Xh(e,n)}function Oun(t,e){var n;if(n=e4(t.i,e),n==null)throw et(new dd("Node did not exist in input."));return ayt(e,n),null}function Pun(t,e){var n;if(n=vI(t,e),_t(n,322))return u(n,34);throw et(new Bn(l2+e+"' is not a valid attribute"))}function Nun(t,e,n){var r,s;for(s=_t(e,99)&&u(e,18).Bb&co?new Uet(e,t):new W8(e,t),r=0;r<n;++r)qz(s);return s}function Fun(t){var e,n,r;for(r=0,n=t.length,e=0;e<n;e++)t[e]==32||t[e]==13||t[e]==10||t[e]==9||(t[r++]=t[e]);return r}function Bun(t){var e,n,r;for(e=new ge,r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),594),Hs(e,u(n.jf(),14));return e}function Run(t){var e,n,r;for(e=u(K(t,(Sc(),X_t)),15),r=e.Kc();r.Ob();)n=u(r.Pb(),188),pi(n.b.d,n),pi(n.c.b,n)}function jun(t){switch(u(K(t,(oe(),Nb)),303).g){case 1:ne(t,Nb,(j0(),Lx));break;case 2:ne(t,Nb,(j0(),W4))}}function $un(t){var e;t.g&&(e=t.c.Rf()?t.f:t.a,L5t(e.a,t.o,!0),L5t(e.a,t.o,!1),ne(t.o,(Te(),xs),(ka(),Ub)))}function zun(t){var e;if(!t.a)throw et(new Xo("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,PXt(t,e),OXt(t,e)}function qun(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,ds(t.a,t.c,null),e)}function Hre(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if(e=u(n.Pb(),213),e.f&&t.b[e.c]<-1e-10)return e;return null}function Xyt(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new fh(e.d,0,e.a,e.b);default:return null}}function Vre(t){switch(t.g){case 2:return Lf;case 1:return Wh;case 4:return J0;case 3:return tg;default:return f0}}function Qyt(t){switch(t.g){case 1:return jn;case 2:return Nn;case 3:return Wn;case 4:return Ir;default:return fc}}function UD(t){switch(t.g){case 1:return Ir;case 2:return jn;case 3:return Nn;case 4:return Wn;default:return fc}}function Tz(t){switch(t.g){case 1:return Wn;case 2:return Ir;case 3:return jn;case 4:return Nn;default:return fc}}function Hun(t){switch(t){case 0:return new uqt;case 1:return new oqt;case 2:return new cqt;default:throw et(new fM)}}function Vs(t,e){return t<e?-1:t>e?1:t==e?t==0?Vs(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function Vun(t,e){Dr(e,"Sort end labels",1),Ts(Xi(oc(new En(null,new _n(t.b,16)),new JN),new H5),new vY),br(e)}function tC(t,e,n){var r,s;return t.ej()?(s=t.fj(),r=qst(t,e,n),t.$i(t.Zi(7,ve(n),r,e,s)),r):qst(t,e,n)}function Fit(t,e){var n,r,s;t.d==null?(++t.e,--t.f):(s=e.cd(),n=e.Sh(),r=(n&Di)%t.d.length,Ssn(t,r,ace(t,r,n,s)))}function r7(t,e){var n;n=(t.Bb&_f)!=0,e?t.Bb|=_f:t.Bb&=-1025,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,10,n,e))}function i7(t,e){var n;n=(t.Bb&yy)!=0,e?t.Bb|=yy:t.Bb&=-4097,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,12,n,e))}function s7(t,e){var n;n=(t.Bb&Zu)!=0,e?t.Bb|=Zu:t.Bb&=-8193,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,15,n,e))}function a7(t,e){var n;n=(t.Bb&Ay)!=0,e?t.Bb|=Ay:t.Bb&=-2049,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,11,n,e))}function Gun(t,e){var n;return n=Vs(t.b.c,e.b.c),n!=0||(n=Vs(t.a.a,e.a.a),n!=0)?n:Vs(t.a.b,e.a.b)}function Uun(t,e){var n;if(n=cr(t.k,e),n==null)throw et(new dd("Port did not exist in input."));return ayt(e,n),null}function Wun(t){var e,n;for(n=hce(Vl(t)).Kc();n.Ob();)if(e=Yr(n.Pb()),mC(t,e))return esn((yVt(),z4e),e);return null}function Kun(t,e){var n,r,s,o,h;for(h=gu(t.e.Tg(),e),o=0,n=u(t.g,119),s=0;s<t.i;++s)r=n[s],h.rl(r.ak())&&++o;return o}function Yun(t,e,n){var r,s;return r=u(e.We(t.a),35),s=u(n.We(t.a),35),r!=null&&s!=null?MD(r,s):r!=null?-1:s!=null?1:0}function Gre(t,e,n){var r,s;if(t.c)_4t(t.c,e,n);else for(s=new S(t.b);s.a<s.c.c.length;)r=u(Q(s),157),Gre(r,e,n)}function Bit(t,e){var n,r;for(r=new S(e);r.a<r.c.c.length;)n=u(Q(r),46),Au(t.b.b,n.b),Cnn(u(n.a,189),u(n.b,81))}function Xun(t){var e,n;for(n=qp(new Mp,91),e=!0;t.Ob();)e||(n.a+=oo),e=!1,Cc(n,t.Pb());return(n.a+="]",n).a}function o7(t,e){var n;n=(t.Bb&Ed)!=0,e?t.Bb|=Ed:t.Bb&=-16385,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,16,n,e))}function Rit(t,e){var n;n=(t.Bb&Ac)!=0,e?t.Bb|=Ac:t.Bb&=-32769,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,18,n,e))}function Zyt(t,e){var n;n=(t.Bb&Ac)!=0,e?t.Bb|=Ac:t.Bb&=-32769,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,18,n,e))}function Jyt(t,e){var n;n=(t.Bb&co)!=0,e?t.Bb|=co:t.Bb&=-65537,t.Db&4&&!(t.Db&1)&&Oi(t,new yf(t,1,20,n,e))}function t3t(t){var e;return e=Pt(Sh,Td,25,2,15,1),t-=co,e[0]=(t>>10)+FI&Ps,e[1]=(t&1023)+56320&Ps,Fh(e,0,e.length)}function _z(t){var e,n;return n=u(K(t,(Te(),Jl)),103),n==(ko(),f0)?(e=Zt(ke(K(t,KV))),e>=1?Lf:J0):n}function Qun(t){switch(u(K(t,(Te(),Z0)),218).g){case 1:return new BX;case 3:return new qX;default:return new FX}}function pb(t){if(t.c)pb(t.c);else if(t.d)throw et(new Xo("Stream already terminated, can't be modified or used"))}function jit(t){var e;return t.Db&64?Ef(t):(e=new Ih(Ef(t)),e.a+=" (identifier: ",Ao(e,t.k),e.a+=")",e.a)}function Ure(t,e,n){var r,s;return r=(Ev(),s=new xp,s),Y$(r,e),X$(r,n),t&&Hr((!t.a&&(t.a=new qs(Qh,t,5)),t.a),r),r}function $it(t,e,n,r){var s,o;return Pn(r),Pn(n),s=t.xc(e),o=s==null?n:oVt(u(s,15),u(n,14)),o==null?t.Bc(e):t.zc(e,o),o}function cn(t){var e,n,r,s;return n=(e=u(Kf((r=t.gm,s=r.f,s==ni?r:s)),9),new hh(e,u(bf(e,e.length),9),0)),kf(n,t),n}function Zun(t,e,n){var r,s;for(s=t.a.ec().Kc();s.Ob();)if(r=u(s.Pb(),10),PD(n,u(Fe(e,r.p),14)))return r;return null}function Jun(t,e,n){var r;try{Ocn(t,e,n)}catch(s){throw s=as(s),_t(s,597)?(r=s,et(new rmt(r))):et(s)}return e}function Jp(t,e){var n;return Qo(t)&&Qo(e)&&(n=t-e,NI<n&&n<Eb)?n:Yp(Dne(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function Ka(t,e){var n;return Qo(t)&&Qo(e)&&(n=t+e,NI<n&&n<Eb)?n:Yp(pcn(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function za(t,e){var n;return Qo(t)&&Qo(e)&&(n=t*e,NI<n&&n<Eb)?n:Yp(Fyn(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e))}function uc(t,e){var n;return t.i||W4t(t),n=u(Lo(t.g,e),46),n?new Zd(t.j,u(n.a,19).a,u(n.b,19).a):(pn(),pn(),mo)}function ew(t,e,n){var r;return r=t.a.get(e),t.a.set(e,n===void 0?null:n),r===void 0?(++t.c,c$(t.b)):++t.d,r}function tln(t,e,n){t.n=Z2(O2,[re,aot],[364,25],14,[n,Ds(b.Math.ceil(e/32))],2),t.o=e,t.p=n,t.j=e-1>>1,t.k=n-1>>1}function zit(){y4t();var t,e,n;n=Y5n+++Date.now(),t=Ds(b.Math.floor(n*RI))&Bq,e=Ds(n-t*N6t),this.a=t^1502,this.b=e^fot}function H0(t){var e,n,r;for(e=new ge,r=new S(t.j);r.a<r.c.c.length;)n=u(Q(r),11),de(e,n.b);return zr(e),new u_(e)}function Jo(t){var e,n,r;for(e=new ge,r=new S(t.j);r.a<r.c.c.length;)n=u(Q(r),11),de(e,n.e);return zr(e),new u_(e)}function Gs(t){var e,n,r;for(e=new ge,r=new S(t.j);r.a<r.c.c.length;)n=u(Q(r),11),de(e,n.g);return zr(e),new u_(e)}function eln(t){var e,n;for(n=Zpn(Vl(Gm(t))).Kc();n.Ob();)if(e=Yr(n.Pb()),mC(t,e))return nsn((xVt(),q4e),e);return null}function nln(t){var e,n,r;for(n=0,r=t.length;n<r;n++)if(t[n]==null)throw et(new x6("at index "+n));return e=t,new Al(e)}function rln(t,e){var n;if(n=vI(t.Tg(),e),_t(n,99))return u(n,18);throw et(new Bn(l2+e+"' is not a valid reference"))}function iln(t){var e;return e=ly(t),e>34028234663852886e22?ms:e<-34028234663852886e22?Rs:e}function Wre(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}function Kre(t){var e,n,r,s;for(e=new AWt(t.Hd().gc()),s=0,r=Y6(t.Hd().Kc());r.Ob();)n=r.Pb(),grn(e,n,ve(s++));return j0n(e.a)}function sln(t,e){var n,r,s;for(s=new Br,r=e.vc().Kc();r.Ob();)n=u(r.Pb(),42),Ni(s,n.cd(),Xon(t,u(n.dd(),15)));return s}function e3t(t,e){t.n.c.length==0&&de(t.n,new g$(t.s,t.t,t.i)),de(t.b,e),B3t(u(Fe(t.n,t.n.c.length-1),211),e),ile(t,e)}function c4(t){return(t.c!=t.b.b||t.i!=t.g.b)&&(t.a.c=Pt(ir,De,1,0,5,1),Hs(t.a,t.b),Hs(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function qit(t,e){var n,r,s;for(s=0,r=u(e.Kb(t),20).Kc();r.Ob();)n=u(r.Pb(),17),je(Be(K(n,(oe(),K1))))||++s;return s}function aln(t,e){var n,r,s;r=J3(e),s=Zt(ke(iy(r,(Te(),Af)))),n=b.Math.max(0,s/2-.5),cC(e,n,1),de(t,new $Vt(e,n))}function mh(){mh=X,AO=new AM(X0,0),yS=new AM("FIRST",1),b2=new AM(n1e,2),xS=new AM("LAST",3),Fy=new AM(r1e,4)}function V0(){V0=X,gft=new XR(OC,0),JO=new XR("POLYLINE",1),L9=new XR("ORTHOGONAL",2),Vx=new XR("SPLINES",3)}function Cz(){Cz=X,DCt=new jet("ASPECT_RATIO_DRIVEN",0),$ht=new jet("MAX_SCALE_DRIVEN",1),MCt=new jet("AREA_DRIVEN",2)}function WD(){WD=X,MG=new $et("P1_STRUCTURE",0),DG=new $et("P2_PROCESSING_ORDER",1),IG=new $et("P3_EXECUTION",2)}function Sz(){Sz=X,Pht=new Fet("OVERLAP_REMOVAL",0),Iht=new Fet("COMPACTION",1),Oht=new Fet("GRAPH_SIZE_CALCULATION",2)}function nw(t,e){return A1(),xf(s2),b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Av(isNaN(t),isNaN(e))}function Yre(t,e){var n,r;for(n=gi(t,0);n.b!=n.d.c;){if(r=dM(ke(di(n))),r==e)return;if(r>e){krt(n);break}}JM(n,e)}function on(t,e){var n,r,s,o,h;if(n=e.f,vb(t.c.d,n,e),e.g!=null)for(s=e.g,o=0,h=s.length;o<h;++o)r=s[o],vb(t.c.e,r,e)}function oln(t,e,n,r){var s,o,h;for(s=e+1;s<n;++s)for(o=s;o>e&&r.ue(t[o-1],t[o])>0;--o)h=t[o],ds(t,o,t[o-1]),ds(t,o-1,h)}function yh(t,e,n,r){if(e<0)y5t(t,n,r);else{if(!n.Ij())throw et(new Bn(l2+n.ne()+WC));u(n,66).Nj().Tj(t,t.yh(),e,r)}}function Az(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw et(new Bn("Node "+e+" not part of edge "+t))}function cln(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}}function Xre(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}}function n3t(t,e,n,r){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return Uyt(t,e,n,r)}function uln(t){return t.k!=(Yn(),Ws)?!1:L8(new En(null,new Nv(new pr(xr(Gs(t).a.Kc(),new H)))),new DF)}function lln(t){return t.e==null?t:(!t.c&&(t.c=new eat((t.f&256)!=0,t.i,t.a,t.d,(t.f&16)!=0,t.j,t.g,null)),t.c)}function hln(t,e){return t.h==PI&&t.m==0&&t.l==0?(e&&(h2=hu(0,0,0)),QGt((N8(),X8t))):(e&&(h2=hu(t.l,t.m,t.h)),hu(0,0,0))}function tc(t){var e;return Array.isArray(t)&&t.im===Ft?Ip(bl(t))+"@"+(e=es(t)>>>0,e.toString(16)):t.toString()}function eC(t){var e;this.a=(e=u(t.e&&t.e(),9),new hh(e,u(bf(e,e.length),9),0)),this.b=Pt(ir,De,1,this.a.a.length,5,1)}function fln(t){var e,n,r;for(this.a=new M0,r=new S(t);r.a<r.c.c.length;)n=u(Q(r),14),e=new nYt,xon(e,n),Ys(this.a,e)}function dln(t){Bm();var e,n,r,s;for(e=t.o.b,r=u(u(ji(t.r,(ye(),Ir)),21),84).Kc();r.Ob();)n=u(r.Pb(),111),s=n.e,s.b+=e}function vl(t){var e;if(t.b){if(vl(t.b),t.b.d!=t.c)throw et(new uh)}else t.d.dc()&&(e=u(t.f.c.xc(t.e),14),e&&(t.d=e))}function gln(t){var e;return t==null?!0:(e=t.length,e>0&&(Xr(e-1,t.length),t.charCodeAt(e-1)==58)&&!Hit(t,iA,sA))}function Hit(t,e,n){var r,s;for(r=0,s=t.length;r<s;r++)if(bit((Xr(r,t.length),t.charCodeAt(r)),e,n))return!0;return!1}function pln(t,e){var n,r;for(r=t.e.a.ec().Kc();r.Ob();)if(n=u(r.Pb(),266),m0n(e,n.d)||Cgn(e,n.d))return!0;return!1}function bln(t,e){var n,r,s;for(r=ewn(t,e),s=r[r.length-1]/2,n=0;n<r.length;n++)if(r[n]>=s)return e.c+n;return e.c+e.b.gc()}function vln(t,e){d8();var n,r,s,o;for(r=lte(t),s=e,O8(r,0,r.length,s),n=0;n<r.length;n++)o=Jfn(t,r[n],n),n!=o&&tC(t,n,o)}function r3t(t,e){var n,r,s,o,h,d;for(r=0,n=0,o=e,h=0,d=o.length;h<d;++h)s=o[h],s>0&&(r+=s,++n);return n>1&&(r+=t.d*(n-1)),r}function i3t(t){var e,n,r;for(r=new _g,r.a+="[",e=0,n=t.gc();e<n;)Ao(r,d_(t.ki(e))),++e<n&&(r.a+=oo);return r.a+="]",r.a}function wln(t){var e,n,r,s,o;return o=x4t(t),n=pM(t.c),r=!n,r&&(s=new yg,Zf(o,"knownLayouters",s),e=new pzt(s),Pa(t.c,e)),o}function mln(t,e){var n,r,s;for(Pn(e),n=!1,r=new S(t);r.a<r.c.c.length;)s=Q(r),ry(e,s,!1)&&(C_(r),n=!0);return n}function s3t(t){var e,n,r;for(r=Zt(ke(t.a.We((Ei(),VG)))),n=new S(t.a.xf());n.a<n.c.c.length;)e=u(Q(n),680),xhe(t,e,r)}function Vit(t,e){var n,r;for(r=new S(e);r.a<r.c.c.length;)n=u(Q(r),46),de(t.b.b,u(n.b,81)),Ert(u(n.a,189),u(n.b,81))}function yln(t,e,n){var r,s;for(s=t.a.b,r=s.c.length;r<n;r++)$m(s,0,new Oh(t.a));Bo(e,u(Fe(s,s.c.length-n),29)),t.b[e.p]=n}function xln(t,e,n){var r;r=n,!r&&(r=Ivt(new Xk,0)),Dr(r,jfe,2),Qie(t.b,e,Kc(r,1)),n3n(t,e,Kc(r,1)),K4n(e,Kc(r,1)),br(r)}function kln(t,e,n,r,s){zl(),Tf(gf(df(ff(pf(new Dh,0),s.d.e-t),e),s.d)),Tf(gf(df(ff(pf(new Dh,0),n-s.a.e),s.a),r))}function a3t(t,e,n,r,s,o){this.a=t,this.c=e,this.b=n,this.f=r,this.d=s,this.e=o,this.c>0&&this.b>0&&jvt(this.c,this.b,this.a)}function o3t(t){Git(),this.c=P1(ct(ot(d6n,1),De,831,0,[Iwe])),this.b=new Br,this.a=t,Ni(this.b,uG,1),Mu(Owe,new j$t(this))}function Qre(t,e){var n;return t.d?Il(t.b,e)?u(cr(t.b,e),51):(n=e.Kf(),Ni(t.b,e,n),n):e.Kf()}function c3t(t,e){var n;return Ut(t)===Ut(e)?!0:_t(e,91)?(n=u(e,91),t.e==n.e&&t.d==n.d&&rsn(t,n.a)):!1}function tx(t){switch(ye(),t.g){case 4:return Nn;case 1:return Wn;case 3:return Ir;case 2:return jn;default:return fc}}function u3t(t,e){switch(e){case 3:return t.f!=0;case 4:return t.g!=0;case 5:return t.i!=0;case 6:return t.j!=0}return cyt(t,e)}function Eln(t){switch(t.g){case 0:return new rZ;case 1:return new GF;default:throw et(new Bn(xct+(t.f!=null?t.f:""+t.g)))}}function Zre(t){switch(t.g){case 0:return new VF;case 1:return new UF;default:throw et(new Bn(Bot+(t.f!=null?t.f:""+t.g)))}}function Jre(t){switch(t.g){case 0:return new zpt;case 1:return new lqt;default:throw et(new Bn(vH+(t.f!=null?t.f:""+t.g)))}}function Tln(t){switch(t.g){case 1:return new ZQ;case 2:return new bWt;default:throw et(new Bn(xct+(t.f!=null?t.f:""+t.g)))}}function _ln(t){var e,n;if(t.b)return t.b;for(n=U1?null:t.d;n;){if(e=U1?null:n.b,e)return e;n=U1?null:n.d}return a8(),C7t}function Cln(t){var e,n,r;return t.e==0?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&(r=une(t),r==t.d-1&&(--n,n=n|0)),e-=dI(n),e)}function Sln(t){var e,n,r;return t<WH.length?WH[t]:(n=t>>5,e=t&31,r=Pt(Fr,ui,25,n+1,15,1),r[n]=1<<e,new Y3(1,n+1,r))}function tie(t){var e,n,r;return n=t.zg(),n?(e=t.Ug(),_t(e,160)&&(r=tie(u(e,160)),r!=null)?r+"."+n:n):null}function ry(t,e,n){var r,s;for(s=t.Kc();s.Ob();)if(r=s.Pb(),Ut(e)===Ut(r)||e!=null&&Pi(e,r))return n&&s.Qb(),!0;return!1}function l3t(t,e,n){var r,s;if(++t.j,n.dc())return!1;for(s=n.Kc();s.Ob();)r=s.Pb(),t.Hi(e,t.oi(e,r)),++e;return!0}function Aln(t,e,n,r){var s,o;if(o=n-e,o<3)for(;o<3;)t*=10,++o;else{for(s=1;o>3;)s*=10,--o;t=(t+(s>>1))/s|0}return r.i=t,!0}function Lln(t){return Dit(),Rn(),!!(Xre(u(t.a,81).j,u(t.b,103))||u(t.a,81).d.e!=0&&Xre(u(t.a,81).j,u(t.b,103)))}function Mln(t){N$(),u(t.We((Ei(),x2)),174).Hc((ml(),YG))&&(u(t.We(Ky),174).Fc((cl(),Gx)),u(t.We(x2),174).Mc(YG))}function eie(t,e){var n,r;if(e){for(n=0;n<t.i;++n)if(r=u(t.g[n],366),r.Di(e))return!1;return Hr(t,e)}else return!1}function h3t(t){var e,n,r,s;for(e=new yg,s=new L(t.b.Kc());s.b.Ob();)r=u(s.b.Pb(),686),n=U0n(r),den(e,e.a.length,n);return e.a}function f3t(t){var e;return!t.c&&(t.c=new rl),ua(t.d,new Ls),Iwn(t),e=yvn(t),Ts(new En(null,new _n(t.d,16)),new Sr(t)),e}function Lz(t){var e;return t.Db&64?X_(t):(e=new Ih(X_(t)),e.a+=" (instanceClassName: ",Ao(e,t.D),e.a+=")",e.a)}function Dln(t,e){var n,r,s,o;e&&(s=$0(e,"x"),n=new lzt(t),B8(n.a,(Pn(s),s)),o=$0(e,"y"),r=new hzt(t),j8(r.a,(Pn(o),o)))}function Iln(t,e){var n,r,s,o;e&&(s=$0(e,"x"),n=new azt(t),R8(n.a,(Pn(s),s)),o=$0(e,"y"),r=new czt(t),$8(r.a,(Pn(o),o)))}function rs(t,e){var n,r,s;if(n=(t.i==null&&kd(t),t.i),r=e.aj(),r!=-1){for(s=n.length;r<s;++r)if(n[r]==e)return r}return-1}function Oln(t){var e,n,r,s,o;for(n=u(t.g,674),r=t.i-1;r>=0;--r)for(e=n[r],s=0;s<r;++s)if(o=n[s],Jue(t,e,o)){ix(t,r);break}}function Pln(t){var e=t.e;function n(r){return!r||r.length==0?"":" "+r.join(`
+ `)}return e&&(e.stack||n(t[jat]))}function d3t(t){Vm();var e;switch(e=t.Pc(),e.length){case 0:return vut;case 1:return new Snt(zr(e[0]));default:return new ort(nln(e))}}function rw(t,e){switch(e.g){case 1:return P6(t.j,(Ku(),L9t));case 2:return P6(t.j,(Ku(),D9t));default:return pn(),pn(),mo}}function g3t(t,e){switch(e){case 3:Yv(t,0);return;case 4:Xv(t,0);return;case 5:Du(t,0);return;case 6:Iu(t,0);return}qyt(t,e)}function Git(){Git=X,PR(),uG=(Te(),Fw),Owe=P1(ct(ot(Qht,1),Dkt,146,0,[DO,Af,Rx,Nw,Vy,tht,y9,x9,eht,CS,Z4,$b,J4]))}function nie(t){var e,n;e=t.d==(sx(),o9),n=d4t(t),e&&!n||!e&&n?ne(t.a,(Te(),Fd),(e0(),VO)):ne(t.a,(Te(),Fd),(e0(),HO))}function Nln(t,e){var n;return n=u(Hl(t,ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),n.Qc(CKt(n.gc()))}function Mz(){Mz=X,wft=new JR("SIMPLE",0),SAt=new JR("GROUP_DEC",1),LAt=new JR("GROUP_MIXED",2),AAt=new JR("GROUP_INC",3)}function Uit(){Uit=X,Aft=new rB,ZAt=new iB,JAt=new sB,tLt=new Lk,eLt=new aB,nLt=new oB,rLt=new KZ,iLt=new Mk,sLt=new Dk}function rie(t,e,n){hee(),rqt.call(this),this.a=Z2(Vge,[re,G6t],[595,212],0,[JH,Put],2),this.c=new L6,this.g=t,this.f=e,this.d=n}function p3t(t,e){this.n=Z2(O2,[re,aot],[364,25],14,[e,Ds(b.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function Fln(t,e){Dr(e,"End label post-processing",1),Ts(Xi(oc(new En(null,new _n(t.b,16)),new hY),new fY),new dY),br(e)}function Bln(t,e,n){var r,s;return r=Zt(t.p[e.i.p])+Zt(t.d[e.i.p])+e.n.b+e.a.b,s=Zt(t.p[n.i.p])+Zt(t.d[n.i.p])+n.n.b+n.a.b,s-r}function Rln(t,e,n){var r,s;for(r=Xs(n,To),s=0;Oc(r,0)!=0&&s<e;s++)r=Ka(r,Xs(t[s],To)),t[s]=$r(r),r=$p(r,32);return $r(r)}function Dz(t){var e,n,r,s;for(s=0,n=0,r=t.length;n<r;n++)e=(Xr(n,t.length),t.charCodeAt(n)),e<64&&(s=O1(s,I0(1,e)));return s}function jln(t){var e;return t==null?null:new Rp((e=Xc(t,!0),e.length>0&&(Xr(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function $ln(t){var e;return t==null?null:new Rp((e=Xc(t,!0),e.length>0&&(Xr(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function b3t(t,e){var n;return t.i>0&&(e.length<t.i&&(n=AD(bl(e).c,t.i),e=n),qc(t.g,0,e,0,t.i)),e.length>t.i&&ds(e,t.i,null),e}function au(t,e,n){var r,s,o;return t.ej()?(r=t.i,o=t.fj(),VD(t,r,e),s=t.Zi(3,null,e,r,o),n?n.Ei(s):n=s):VD(t,t.i,e),n}function zln(t,e,n){var r,s;return r=new R0(t.e,4,10,(s=e.c,_t(s,88)?u(s,26):(hn(),ef)),null,$g(t,e),!1),n?n.Ei(r):n=r,n}function qln(t,e,n){var r,s;return r=new R0(t.e,3,10,null,(s=e.c,_t(s,88)?u(s,26):(hn(),ef)),$g(t,e),!1),n?n.Ei(r):n=r,n}function iie(t){Bm();var e;return e=new No(u(t.e.We((Ei(),o5)),8)),t.B.Hc((ml(),D9))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function sie(t){sy();var e;return(t.q?t.q:(pn(),pn(),l0))._b((Te(),Ow))?e=u(K(t,Ow),197):e=u(K(Za(t),_S),197),e}function iy(t,e){var n,r;return r=null,ia(t,(Te(),oG))&&(n=u(K(t,oG),94),n.Xe(e)&&(r=n.We(e))),r==null&&(r=K(Za(t),e)),r}function aie(t,e){var n,r,s;return _t(e,42)?(n=u(e,42),r=n.cd(),s=ny(t.Rc(),r),md(s,n.dd())&&(s!=null||t.Rc()._b(r))):!1}function Wit(t,e){var n,r,s;return t.f>0?(t.qj(),r=e==null?0:es(e),s=(r&Di)%t.d.length,n=ace(t,s,r,e),n!=-1):!1}function t1(t,e){var n,r,s;return t.f>0&&(t.qj(),r=e==null?0:es(e),s=(r&Di)%t.d.length,n=t5t(t,s,r,e),n)?n.dd():null}function KD(t,e){var n,r,s,o;for(o=gu(t.e.Tg(),e),n=u(t.g,119),s=0;s<t.i;++s)if(r=n[s],o.rl(r.ak()))return!1;return!0}function oie(t){if(t.b==null){for(;t.a.Ob();)if(t.b=t.a.Pb(),!u(t.b,49).Zg())return!0;return t.b=null,!1}else return!0}function cie(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1}catch(n){throw n=as(n),_t(n,73)?et(new uh):et(n)}}function Iz(t,e){ibt();var n,r;return n=VM((wR(),wR(),sS)),r=null,e==n&&(r=u(Uc(K8t,t),615)),r||(r=new UYt(t),e==n&&Fo(K8t,t,r)),r}function uie(t,e){var n,r;t.a=Ka(t.a,1),t.c=b.Math.min(t.c,e),t.b=b.Math.max(t.b,e),t.d+=e,n=e-t.f,r=t.e+n,t.f=r-t.e-n,t.e=r}function Hln(t,e){var n;t.c=e,t.a=Cln(e),t.a<54&&(t.f=(n=e.d>1?O1(I0(e.a[1],32),Xs(e.a[0],To)):Xs(e.a[0],To),Vv(za(e.e,n))))}function YD(t,e){var n;return Qo(t)&&Qo(e)&&(n=t%e,NI<n&&n<Eb)?n:Yp((l6t(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e,!0),h2))}function nC(t,e){var n;u4n(e),n=u(K(t,(Te(),tG)),276),n&&ne(t,tG,qfn(n)),Ag(t.c),Ag(t.f),vmt(t.d),vmt(u(K(t,iG),207))}function lie(t){this.e=Pt(Fr,ui,25,t.length,15,1),this.c=Pt(Tl,c0,25,t.length,16,1),this.b=Pt(Tl,c0,25,t.length,16,1),this.f=0}function Vln(t){var e,n;for(t.j=Pt(wa,Io,25,t.p.c.length,15,1),n=new S(t.p);n.a<n.c.c.length;)e=u(Q(n),10),t.j[e.p]=e.o.b/t.i}function Kit(t){var e;t.c!=0&&(e=u(Fe(t.a,t.b),287),e.b==1?(++t.b,t.b<t.a.c.length&&eR(u(Fe(t.a,t.b),287))):--e.b,--t.c)}function Gln(t){var e;e=t.a;do e=u(qr(new pr(xr(Gs(e).a.Kc(),new H))),17).d.i,e.k==(Yn(),ha)&&de(t.e,e);while(e.k==(Yn(),ha))}function v3t(){v3t=X,_At=new Lv(15),h4e=new bo((Ei(),Vb),_At),d4e=new bo(Gb,15),f4e=new bo(fft,ve(0)),l4e=new bo(zx,R7)}function Fl(){Fl=X,sP=new ZR("PORTS",0),Wb=new ZR("PORT_LABELS",1),iP=new ZR("NODE_LABELS",2),Xy=new ZR("MINIMUM_SIZE",3)}function XD(t,e){var n,r;for(r=e.length,n=0;n<r;n+=2)Yc(t,(Xr(n,e.length),e.charCodeAt(n)),(Xr(n+1,e.length),e.charCodeAt(n+1)))}function hie(t,e,n){var r,s,o,h;for(o=e-t.e,h=n-t.f,s=new S(t.a);s.a<s.c.c.length;)r=u(Q(s),187),ZD(r,r.s+o,r.t+h);t.e=e,t.f=n}function Uln(t,e){var n,r,s,o;for(o=e.b.b,t.a=new hs,t.b=Pt(Fr,ui,25,o,15,1),n=0,s=gi(e.b,0);s.b!=s.d.c;)r=u(di(s),86),r.g=n++}function fie(t,e){var n,r,s,o;return n=e>>5,e&=31,s=t.d+n+(e==0?0:1),r=Pt(Fr,ui,25,s,15,1),Hdn(r,t.a,n,e),o=new Y3(t.e,s,r),O_(o),o}function w3t(t,e,n){var r,s;r=u(Uc(P9,e),117),s=u(Uc(hA,e),117),n?(Fo(P9,t,r),Fo(hA,t,s)):(Fo(hA,t,r),Fo(P9,t,s))}function die(t,e,n){var r,s,o;for(s=null,o=t.b;o;){if(r=t.a.ue(e,o.d),n&&r==0)return o;r>=0?o=o.a[1]:(s=o,o=o.a[0])}return s}function gie(t,e,n){var r,s,o;for(s=null,o=t.b;o;){if(r=t.a.ue(e,o.d),n&&r==0)return o;r<=0?o=o.a[0]:(s=o,o=o.a[1])}return s}function Wln(t,e,n,r){var s,o,h;return s=!1,A3n(t.f,n,r)&&(whn(t.f,t.a[e][n],t.a[e][r]),o=t.a[e],h=o[r],o[r]=o[n],o[n]=h,s=!0),s}function m3t(t,e,n,r,s){var o,h,d;for(h=s;e.b!=e.c;)o=u(B6(e),10),d=u(uc(o,r).Xb(0),11),t.d[d.p]=h++,n.c[n.c.length]=d;return h}function y3t(t,e,n){var r,s,o,h,d;return h=t.k,d=e.k,r=n[h.g][d.g],s=ke(iy(t,r)),o=ke(iy(e,r)),b.Math.max((Pn(s),s),(Pn(o),o))}function Kln(t,e,n){var r,s,o,h;for(r=n/t.c.length,s=0,h=new S(t);h.a<h.c.c.length;)o=u(Q(h),200),mre(o,o.f+r*s),S1n(o,e,r),++s}function pie(t,e,n){var r,s,o,h;for(s=u(cr(t.b,n),177),r=0,h=new S(e.j);h.a<h.c.c.length;)o=u(Q(h),113),s[o.d.p]&&++r;return r}function bie(t){var e,n;return e=u(In(t.a,4),126),e!=null?(n=Pt(Tft,Jct,415,e.length,0,1),qc(e,0,n,0,e.length),n):O4e}function Yln(){var t;return HH!=0&&(t=hsn(),t-hge>2e3&&(hge=t,VH=b.setTimeout(eYe,10))),HH++==0?(Lan((Upt(),W8t)),!0):!1}function Xln(t,e){var n,r,s;for(r=new pr(xr(Gs(t).a.Kc(),new H));ti(r);)if(n=u(qr(r),17),s=n.d.i,s.c==e)return!1;return!0}function x3t(t,e){var n,r;if(_t(e,245)){r=u(e,245);try{return n=t.vd(r),n==0}catch(s){if(s=as(s),!_t(s,205))throw et(s)}}return!1}function Qln(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Zln(t,e){return A1(),A1(),xf(s2),(b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Av(isNaN(t),isNaN(e)))>0}function k3t(t,e){return A1(),A1(),xf(s2),(b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Av(isNaN(t),isNaN(e)))<0}function vie(t,e){return A1(),A1(),xf(s2),(b.Math.abs(t-e)<=s2||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Av(isNaN(t),isNaN(e)))<=0}function Yit(t,e){for(var n=0;!e[n]||e[n]=="";)n++;for(var r=e[n++];n<e.length;n++)!e[n]||e[n]==""||(r+=t+e[n]);return r}function Fh(t,e,n){var r,s,o,h;for(o=e+n,mmt(e,o,t.length),h="",s=e;s<o;)r=b.Math.min(s+1e4,o),h+=zen(t.slice(s,r)),s=r;return h}function wie(t){var e,n,r,s,o;if(t==null)return null;for(o=new ge,n=kit(t),r=0,s=n.length;r<s;++r)e=n[r],de(o,Xc(e,!0));return o}function mie(t){var e,n,r,s,o;if(t==null)return null;for(o=new ge,n=kit(t),r=0,s=n.length;r<s;++r)e=n[r],de(o,Xc(e,!0));return o}function yie(t){var e,n,r,s,o;if(t==null)return null;for(o=new ge,n=kit(t),r=0,s=n.length;r<s;++r)e=n[r],de(o,Xc(e,!0));return o}function xie(t,e){var n,r,s;if(t.c)Xv(t.c,e);else for(n=e-Wu(t),s=new S(t.d);s.a<s.c.c.length;)r=u(Q(s),157),xie(r,Wu(r)+n)}function kie(t,e){var n,r,s;if(t.c)Yv(t.c,e);else for(n=e-Dl(t),s=new S(t.a);s.a<s.c.c.length;)r=u(Q(s),157),kie(r,Dl(r)+n)}function Jln(t,e){var n,r,s,o;for(s=new iu(e.gc()),r=e.Kc();r.Ob();)n=r.Pb(),o=uat(t,u(n,56)),o&&(s.c[s.c.length]=o);return s}function Oz(t,e){var n,r,s;return t.qj(),r=e==null?0:es(e),s=(r&Di)%t.d.length,n=t5t(t,s,r,e),n?(Dee(t,n),n.dd()):null}function iw(t){var e,n;for(n=Pae(t),e=null;t.c==2;)Ci(t),e||(e=(Si(),Si(),new l_(2)),xb(e,n),n=e),n.$l(Pae(t));return n}function c7(t){var e,n,r;if(r=null,e=Id in t.a,n=!e,n)throw et(new dd("Every element must have an id."));return r=ax(P0(t,Id)),r}function Pz(t){var e,n,r;if(r=t.Zg(),!r)for(e=0,n=t.eh();n;n=n.eh()){if(++e>oot)return n.fh();if(r=n.Zg(),r||n==t)break}return r}function E3t(t){return b$(),_t(t,156)?u(cr(hP,Ege),288).vg(t):Il(hP,bl(t))?u(cr(hP,bl(t)),288).vg(t):null}function thn(t){if(Nz(H7,t))return Rn(),X7;if(Nz(Oct,t))return Rn(),Ob;throw et(new Bn("Expecting true or false"))}function ehn(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw et(new Bn("Input edge is not connected to the input port."))}function Eie(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*Iyt(t.a,e.a,t.d)}function Tie(t){return t>=48&&t<48+b.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function _ie(t,e){var n;return Ut(e)===Ut(t)?!0:!_t(e,21)||(n=u(e,21),n.gc()!=t.gc())?!1:t.Ic(n)}function nhn(t,e){var n,r,s,o;return r=t.a.length-1,n=e-t.b&r,o=t.c-e&r,s=t.c-t.b&r,eWt(n<s),n>=o?(eun(t,e),-1):(nun(t,e),1)}function rhn(t,e){var n,r;for(n=(Xr(e,t.length),t.charCodeAt(e)),r=e+1;r<t.length&&(Xr(r,t.length),t.charCodeAt(r)==n);)++r;return r-e}function T3t(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function ihn(t,e){var n=t.a,r;e=String(e),n.hasOwnProperty(e)&&(r=n[e]);var s=(pit(),Eut)[typeof r],o=s?s(r):Fyt(typeof r);return o}function sw(t,e){if(t.a<0)throw et(new Xo("Did not call before(...) or after(...) before calling add(...)."));return Abt(t,t.a,e),t}function shn(t,e,n,r){var s,o;e.c.length!=0&&(s=H2n(n,r),o=qgn(e),Ts(U$(new En(null,new _n(o,1)),new $Q),new vXt(t,n,s,r)))}function ex(t,e,n){var r;t.Db&e?n==null?Apn(t,e):(r=bst(t,e),r==-1?t.Eb=n:ds(ob(t.Eb),r,n)):n!=null&&Jbn(t,e,n)}function fu(t){var e,n;return t.Db&32||(n=(e=u(In(t,16),26),or(e||t.zh())-or(t.zh())),n!=0&&ex(t,32,Pt(ir,De,1,n,5,1))),t}function ahn(t){var e;return t.b||XKe(t,(e=$Qe(t.e,t.a),!e||!ln(Oct,t1((!e.b&&(e.b=new Ml((hn(),lo),xc,e)),e.b),"qualified")))),t.c}function ohn(t,e,n){var r,s,o;return r=u(At(pl(t.a),e),87),o=(s=r.c,s||(hn(),J1)),(o.kh()?Zp(t.b,u(o,49)):o)==n?yq(r):F8(r,n),o}function chn(t,e){(!e&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,t)}function uhn(t,e,n,r){r==t,u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65).c.b,wmt(r,e,t)}function lhn(t){var e,n;for(e=new S(t.g);e.a<e.c.c.length;)u(Q(e),562);n=new Mce(t.g,Zt(t.a),t.c),v4n(n),t.g=n.b,t.d=n.a}function _3t(t,e,n){e.b=b.Math.max(e.b,-n.a),e.c=b.Math.max(e.c,n.a-t.a),e.d=b.Math.max(e.d,-n.b),e.a=b.Math.max(e.a,n.b-t.b)}function hhn(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:es(t)-es(e)}function Nz(t,e){return Pn(t),e==null?!1:ln(t,e)?!0:t.length==e.length&&ln(t.toLowerCase(),e.toLowerCase())}function fhn(t,e){var n,r,s,o;for(r=0,s=e.gc();r<s;++r)n=e.il(r),_t(n,99)&&u(n,18).Bb&Ac&&(o=e.jl(r),o!=null&&uat(t,u(o,56)))}function Cie(t,e,n){var r,s,o;for(o=new S(n.a);o.a<o.c.c.length;)s=u(Q(o),221),r=new lj(u(cr(t.a,s.b),65)),de(e.a,r),Cie(t,r,s)}function bb(t){var e,n;return Oc(t,-129)>0&&Oc(t,128)<0?(e=$r(t)+128,n=(VKt(),r7t)[e],!n&&(n=r7t[e]=new _m(t)),n):new _m(t)}function Sie(t,e){var n,r;return n=e.Hh(t.a),n&&(r=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),xi)),r!=null)?r:e.ne()}function dhn(t,e){var n,r;return n=e.Hh(t.a),n&&(r=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),xi)),r!=null)?r:e.ne()}function ghn(t,e){prt();var n,r;for(r=new pr(xr(H0(t).a.Kc(),new H));ti(r);)if(n=u(qr(r),17),n.d.i==e||n.c.i==e)return n;return null}function C3t(t,e,n){this.c=t,this.f=new ge,this.e=new $a,this.j=new Nvt,this.n=new Nvt,this.b=e,this.g=new fh(e.c,e.d,e.b,e.a),this.a=n}function Xit(t){var e,n,r,s;for(this.a=new M0,this.d=new na,this.e=0,n=t,r=0,s=n.length;r<s;++r)e=n[r],!this.f&&(this.f=e),Ert(this,e)}function Aie(t){r2(),t.length==0?(this.e=0,this.d=1,this.a=ct(ot(Fr,1),ui,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,O_(this))}function rC(t,e,n){rqt.call(this),this.a=Pt(Vge,G6t,212,(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])).length,0,1),this.b=t,this.d=e,this.c=n}function Lie(t){this.d=new ge,this.e=new ib,this.c=Pt(Fr,ui,25,(ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])).length,15,1),this.b=t}function phn(t){var e,n,r,s,o,h;for(h=u(K(t,(oe(),Bi)),11),ne(h,p9,t.i.n.b),e=xd(t.e),r=e,s=0,o=r.length;s<o;++s)n=r[s],ya(n,h)}function bhn(t){var e,n,r,s,o,h;for(n=u(K(t,(oe(),Bi)),11),ne(n,p9,t.i.n.b),e=xd(t.g),s=e,o=0,h=s.length;o<h;++o)r=s[o],Wa(r,n)}function vhn(t){var e,n;return ia(t.d.i,(Te(),v9))?(e=u(K(t.c.i,v9),19),n=u(K(t.d.i,v9),19),Tu(e.a,n.a)>0):!1}function Mie(t){var e;Ut(He(t,(Ei(),i5)))===Ut((q0(),GG))&&(gs(t)?(e=u(He(gs(t),i5),334),Do(t,i5,e)):Do(t,i5,YS))}function whn(t,e,n){var r,s;Dst(t.e,e,n,(ye(),jn)),Dst(t.i,e,n,Wn),t.a&&(s=u(K(e,(oe(),Bi)),11),r=u(K(n,Bi),11),xrt(t.g,s,r))}function Die(t,e,n){var r,s,o;r=e.c.p,o=e.p,t.b[r][o]=new KXt(t,e),n&&(t.a[r][o]=new Kk(e),s=u(K(e,(oe(),Mw)),10),s&&un(t.d,s,e))}function Iie(t,e){var n,r,s;if(de(iV,t),e.Fc(t),n=u(cr(qut,t),21),n)for(s=n.Kc();s.Ob();)r=u(s.Pb(),33),Zo(iV,r,0)!=-1||Iie(r,e)}function mhn(t,e,n){var r;(Mge?(_ln(t),!0):Dge||Oge?(a8(),!0):Ige&&(a8(),!1))&&(r=new aKt(e),r.b=n,k0n(t,r))}function Qit(t,e){var n;n=!t.A.Hc((Fl(),Wb))||t.q==(ka(),eu),t.u.Hc((cl(),ng))?n?z4n(t,e):che(t,e):t.u.Hc(_2)&&(n?a4n(t,e):khe(t,e))}function u7(t,e){var n,r;if(++t.j,e!=null&&(n=(r=t.a.Cb,_t(r,97)?u(r,97).Jg():null),gpn(e,n))){ex(t.a,4,n);return}ex(t.a,4,u(e,126))}function Oie(t,e,n){return new fh(b.Math.min(t.a,e.a)-n/2,b.Math.min(t.b,e.b)-n/2,b.Math.abs(t.a-e.a)+n,b.Math.abs(t.b-e.b)+n)}function yhn(t,e){var n,r;return n=Tu(t.a.c.p,e.a.c.p),n!=0?n:(r=Tu(t.a.d.i.p,e.a.d.i.p),r!=0?r:Tu(e.a.d.p,t.a.d.p))}function xhn(t,e,n){var r,s,o,h;return o=e.j,h=n.j,o!=h?o.g-h.g:(r=t.f[e.p],s=t.f[n.p],r==0&&s==0?0:r==0?-1:s==0?1:Vs(r,s))}function Pie(t,e,n){var r,s,o;if(!n[e.d])for(n[e.d]=!0,s=new S(c4(e));s.a<s.c.c.length;)r=u(Q(s),213),o=Az(r,e),Pie(t,o,n)}function S3t(t,e,n){var r;switch(r=n[t.g][e],t.g){case 1:case 3:return new $e(0,r);case 2:case 4:return new $e(r,0);default:return null}}function khn(t,e,n){var r,s;s=u(lrt(e.f),209);try{s.Ze(t,n),Den(e.f,s)}catch(o){throw o=as(o),_t(o,102)?(r=o,et(r)):et(o)}}function Nie(t,e,n){var r,s,o,h,d,w;return r=null,d=d6t(q8(),e),o=null,d&&(s=null,w=h6t(d,n),h=null,w!=null&&(h=t.Ye(d,w)),s=h,o=s),r=o,r}function Ehn(t,e,n,r){var s,o,h;return s=new R0(t.e,1,13,(h=e.c,h||(hn(),J1)),(o=n.c,o||(hn(),J1)),$g(t,e),!1),r?r.Ei(s):r=s,r}function Zit(t,e,n,r){var s;if(s=t.length,e>=s)return s;for(e=e>0?e:0;e<s&&!bit((Xr(e,t.length),t.charCodeAt(e)),n,r);e++);return e}function $1(t,e){var n,r;for(r=t.c.length,e.length<r&&(e=yR(new Array(r),e)),n=0;n<r;++n)ds(e,n,t.c[n]);return e.length>r&&ds(e,r,null),e}function Fie(t,e){var n,r;for(r=t.a.length,e.length<r&&(e=yR(new Array(r),e)),n=0;n<r;++n)ds(e,n,t.a[n]);return e.length>r&&ds(e,r,null),e}function vb(t,e,n){var r,s,o;return s=u(cr(t.e,e),387),s?(o=Xbt(s,n),SUt(t,s),o):(r=new Evt(t,e,n),Ni(t.e,e,r),JXt(r),null)}function Thn(t){var e;if(t==null)return null;if(e=w2n(Xc(t,!0)),e==null)throw et(new ret("Invalid hexBinary value: '"+t+"'"));return e}function QD(t){return r2(),Oc(t,0)<0?Oc(t,-1)!=0?new h4t(-1,P8(t)):Cut:Oc(t,10)<=0?p7t[$r(t)]:new h4t(1,t)}function Jit(){return Dq(),ct(ot(vpe,1),ue,159,0,[ppe,gpe,bpe,ape,spe,ope,lpe,upe,cpe,dpe,fpe,hpe,rpe,npe,ipe,tpe,Jge,epe,Qge,Xge,Zge,Nut])}function Bie(t){var e;this.d=new ge,this.j=new $a,this.g=new $a,e=t.g.b,this.f=u(K(Za(e),(Te(),Jl)),103),this.e=Zt(ke(Rz(e,Vy)))}function Rie(t){this.b=new ge,this.e=new ge,this.d=t,this.a=!jT(Xi(new En(null,new Nv(new N1(t.b))),new te(new IF))).sd((Y2(),t9))}function e1(){e1=X,Un=new DM("PARENTS",0),fa=new DM("NODES",1),Rd=new DM("EDGES",2),qb=new DM("PORTS",3),tp=new DM("LABELS",4)}function u4(){u4=X,E2=new OM("DISTRIBUTED",0),nP=new OM("JUSTIFIED",1),kAt=new OM("BEGIN",2),XS=new OM(N7,3),EAt=new OM("END",4)}function _hn(t){var e;switch(e=t.yi(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function tst(t){switch(t.g){case 1:return ko(),tg;case 4:return ko(),Wh;case 2:return ko(),Lf;case 3:return ko(),J0}return ko(),f0}function Chn(t,e,n){var r;switch(r=n.q.getFullYear()-a2+a2,r<0&&(r=-r),e){case 1:t.a+=r;break;case 2:t0(t,r%100,2);break;default:t0(t,r,e)}}function gi(t,e){var n,r;if(Um(e,t.b),e>=t.b>>1)for(r=t.c,n=t.b;n>e;--n)r=r.b;else for(r=t.a.a,n=0;n<e;++n)r=r.a;return new iKt(t,e,r)}function Fz(){Fz=X,Dut=new k2t("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),M7t=new k2t("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function Shn(t){var e,n,r,s;for(r=vgn(t),ua(r,I2e),s=t.d,s.c=Pt(ir,De,1,0,5,1),n=new S(r);n.a<n.c.c.length;)e=u(Q(n),456),Hs(s,e.b)}function jie(t){var e,n,r;for(r=(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),t.o),n=r.c.Kc();n.e!=n.i.gc();)e=u(n.nj(),42),e.dd();return pD(r)}function Ahn(t){var e;O6(u(K(t,(Te(),xs)),98))&&(e=t.b,Toe((An(0,e.c.length),u(e.c[0],29))),Toe(u(Fe(e,e.c.length-1),29)))}function $ie(t,e){var n,r,s,o;for(n=0,s=new S(e.a);s.a<s.c.c.length;)r=u(Q(s),10),o=r.o.a+r.d.c+r.d.b+t.j,n=b.Math.max(n,o);return n}function Bz(t){var e,n,r,s;for(s=0,n=0,r=t.length;n<r;n++)e=(Xr(n,t.length),t.charCodeAt(n)),e>=64&&e<128&&(s=O1(s,I0(1,e-64)));return s}function Rz(t,e){var n,r;return r=null,ia(t,(Ei(),Hx))&&(n=u(K(t,Hx),94),n.Xe(e)&&(r=n.We(e))),r==null&&Za(t)&&(r=K(Za(t),e)),r}function zie(t,e){var n,r,s;s=e.d.i,r=s.k,!(r==(Yn(),Ws)||r==W1)&&(n=new pr(xr(Gs(s).a.Kc(),new H)),ti(n)&&Ni(t.k,e,u(qr(n),17)))}function est(t,e){var n,r,s;return r=wn(t.Tg(),e),n=e-t.Ah(),n<0?(s=t.Yg(r),s>=0?t.lh(s):zst(t,r)):n<0?zst(t,r):u(r,66).Nj().Sj(t,t.yh(),n)}function Ie(t){var e;if(_t(t.a,4)){if(e=E3t(t.a),e==null)throw et(new Xo(R1e+t.b+"'. "+B1e+(D0(fP),fP.k)+r8t));return e}else return t.a}function Lhn(t){var e;if(t==null)return null;if(e=Y4n(Xc(t,!0)),e==null)throw et(new ret("Invalid base64Binary value: '"+t+"'"));return e}function Tr(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(n){throw n=as(n),_t(n,73)?(t.mj(),et(new _c)):et(n)}}function nst(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(n){throw n=as(n),_t(n,73)?(t.mj(),et(new _c)):et(n)}}function iC(){iC=X,s9t=(Ei(),eAt),$ut=OSt,Mpe=zx,i9t=Vb,Ppe=(Xz(),B7t),Ope=N7t,Npe=j7t,Ipe=P7t,Dpe=(Sit(),e9t),jut=Spe,r9t=Ape,rV=Lpe}function jz(t){switch(f2t(),this.c=new ge,this.d=t,t.g){case 0:case 2:this.a=ywt(E9t),this.b=ms;break;case 3:case 1:this.a=E9t,this.b=Rs}}function qie(t,e,n){var r,s;if(t.c)Du(t.c,t.c.i+e),Iu(t.c,t.c.j+n);else for(s=new S(t.b);s.a<s.c.c.length;)r=u(Q(s),157),qie(r,e,n)}function Mhn(t,e){var n,r;if(t.j.length!=e.j.length)return!1;for(n=0,r=t.j.length;n<r;n++)if(!ln(t.j[n],e.j[n]))return!1;return!0}function $z(t,e,n){var r;e.a.length>0&&(de(t.b,new kKt(e.a,n)),r=e.a.length,0<r?e.a=e.a.substr(0,0):0>r&&(e.a+=CUt(Pt(Sh,Td,25,-r,15,1))))}function Hie(t,e){var n,r,s;for(n=t.o,s=u(u(ji(t.r,e),21),84).Kc();s.Ob();)r=u(s.Pb(),111),r.e.a=Ifn(r,n.a),r.e.b=n.b*Zt(ke(r.b.We(tV)))}function Dhn(t,e){var n,r,s,o;return s=t.k,n=Zt(ke(K(t,(oe(),Dw)))),o=e.k,r=Zt(ke(K(e,Dw))),o!=(Yn(),Fs)?-1:s!=Fs?1:n==r?0:n<r?-1:1}function Ihn(t,e){var n,r;return n=u(u(cr(t.g,e.a),46).a,65),r=u(u(cr(t.g,e.b),46).a,65),Wp(e.a,e.b)-Wp(e.a,obt(n.b))-Wp(e.b,obt(r.b))}function Ohn(t,e){var n;return n=u(K(t,(Te(),zo)),74),Jet(e,C2e)?n?Ph(n):(n=new Hu,ne(t,zo,n)):n&&ne(t,zo,null),n}function Vie(t){var e;return e=new Mp,e.a+="n",t.k!=(Yn(),Ws)&&ii(ii((e.a+="(",e),snt(t.k).toLowerCase()),")"),ii((e.a+="_",e),eI(t)),e.a}function Phn(t,e){Dr(e,"Self-Loop post-processing",1),Ts(Xi(Xi(oc(new En(null,new _n(t.b,16)),new XY),new QY),new fF),new ZY),br(e)}function nx(t,e,n,r){var s;return n>=0?t.hh(e,n,r):(t.eh()&&(r=(s=t.Vg(),s>=0?t.Qg(r):t.eh().ih(t,-1-s,null,r))),t.Sg(e,n,r))}function A3t(t,e){switch(e){case 7:!t.e&&(t.e=new Tn(aa,t,7,4)),Pr(t.e);return;case 8:!t.d&&(t.d=new Tn(aa,t,8,5)),Pr(t.d);return}g3t(t,e)}function n1(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(r){throw r=as(r),_t(r,109)?et(new Po("Can't get element "+e)):et(r)}}function L3t(t,e){this.e=t,e<cot?(this.d=1,this.a=ct(ot(Fr,1),ui,25,15,[e|0])):(this.d=2,this.a=ct(ot(Fr,1),ui,25,15,[e%cot|0,e/cot|0]))}function Gie(t,e){pn();var n,r,s,o;for(n=t,o=e,_t(t,21)&&!_t(e,21)&&(n=e,o=t),s=n.Kc();s.Ob();)if(r=s.Pb(),o.Hc(r))return!1;return!0}function Ja(t,e,n){var r,s,o,h;return r=t.Xc(e),r!=-1&&(t.ej()?(o=t.fj(),h=ix(t,r),s=t.Zi(4,h,null,r,o),n?n.Ei(s):n=s):ix(t,r)),n}function Nhn(t,e,n){var r,s,o,h;return r=t.Xc(e),r!=-1&&(t.ej()?(o=t.fj(),h=Pj(t,r),s=t.Zi(4,h,null,r,o),n?n.Ei(s):n=s):Pj(t,r)),n}function Uie(t,e){var n;switch(n=u(Lo(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function rx(){rx=X,hO=new qR($q,0),lO=new qR(xot,1),fO=new qR(kot,2),dO=new qR(Eot,3),hO.a=!1,lO.a=!0,fO.a=!1,dO.a=!0}function sC(){sC=X,gO=new zR($q,0),eV=new zR(xot,1),nV=new zR(kot,2),pO=new zR(Eot,3),gO.a=!1,eV.a=!0,nV.a=!1,pO.a=!0}function Fhn(t){var e;e=t.a;do e=u(qr(new pr(xr(Jo(e).a.Kc(),new H))),17).c.i,e.k==(Yn(),ha)&&t.b.Fc(e);while(e.k==(Yn(),ha));t.b=cb(t.b)}function Bhn(t){var e,n,r;for(r=t.c.a,t.p=(zr(r),new Uu(r)),n=new S(r);n.a<n.c.c.length;)e=u(Q(n),10),e.p=ygn(e).a;pn(),ua(t.p,new nQ)}function Wie(t){var e,n,r,s;if(r=0,s=gy(t),s.c.length==0)return 1;for(n=new S(s);n.a<n.c.c.length;)e=u(Q(n),33),r+=Wie(e);return r}function Rhn(t,e){var n,r,s;for(s=0,r=u(u(ji(t.r,e),21),84).Kc();r.Ob();)n=u(r.Pb(),111),s+=n.d.b+n.b.rf().a+n.d.c,r.Ob()&&(s+=t.w);return s}function jhn(t,e){var n,r,s;for(s=0,r=u(u(ji(t.r,e),21),84).Kc();r.Ob();)n=u(r.Pb(),111),s+=n.d.d+n.b.rf().b+n.d.a,r.Ob()&&(s+=t.w);return s}function $hn(t,e,n,r){if(e.a<r.a)return!0;if(e.a==r.a){if(e.b<r.b)return!0;if(e.b==r.b&&t.b>n.b)return!0}return!1}function rst(t,e){return pa(t)?!!ige[e]:t.hm?!!t.hm[e]:Pm(t)?!!rge[e]:Om(t)?!!nge[e]:!1}function Do(t,e,n){return n==null?(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Oz(t.o,e)):(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Qz(t.o,e,n)),t}function zhn(t,e,n,r){var s,o;o=e.Xe((Ei(),a5))?u(e.We(a5),21):t.j,s=Mun(o),s!=(Dq(),Nut)&&(n&&!T3t(s)||P4t(m2n(t,s,r),e))}function zz(t,e,n,r){var s,o,h;return o=wn(t.Tg(),e),s=e-t.Ah(),s<0?(h=t.Yg(o),h>=0?t._g(h,n,!0):uw(t,o,n)):u(o,66).Nj().Pj(t,t.yh(),s,n,r)}function qhn(t,e,n,r){var s,o,h;n.mh(e)&&(po(),Yrt(e)?(s=u(n.ah(e),153),fhn(t,s)):(o=(h=e,h?u(r,49).xh(h):null),o&&VWe(n.ah(e),o)))}function Hhn(t){switch(t.g){case 1:return Jv(),uO;case 3:return Jv(),cO;case 2:return Jv(),But;case 4:return Jv(),Fut;default:return null}}function M3t(t){switch(typeof t){case Oat:return zg(t);case C6t:return Ds(t);case lx:return Rn(),t?1231:1237;default:return t==null?0:Mv(t)}}function Vhn(t,e,n){if(t.e)switch(t.b){case 1:mnn(t.c,e,n);break;case 0:ynn(t.c,e,n)}else DZt(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function Kie(t){var e,n;if(t==null)return null;for(n=Pt(h0,re,193,t.length,0,2),e=0;e<n.length;e++)n[e]=u(han(t[e],t[e].length),193);return n}function qz(t){var e;if(Cit(t))return Hj(t),t.Lk()&&(e=dC(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw et(new _c)}function Ghn(t,e){var n,r,s,o;return o=t.o,n=t.p,o<n?o*=o:n*=n,r=o+n,o=e.o,n=e.p,o<n?o*=o:n*=n,s=o+n,r<s?-1:r==s?0:1}function $g(t,e){var n,r,s;if(s=Sse(t,e),s>=0)return s;if(t.Fk()){for(r=0;r<t.i;++r)if(n=t.Gk(u(t.g[r],56)),Ut(n)===Ut(e))return r}return-1}function l4(t,e,n){var r,s;if(s=t.gc(),e>=s)throw et(new jm(e,s));if(t.hi()&&(r=t.Xc(n),r>=0&&r!=e))throw et(new Bn(JI));return t.mi(e,n)}function D3t(t,e){if(this.a=u(zr(t),245),this.b=u(zr(e),245),t.vd(e)>0||t==(Qtt(),put)||e==(Xtt(),but))throw et(new Bn("Invalid range: "+SZt(t,e)))}function Yie(t){var e,n;for(this.b=new ge,this.c=t,this.a=!1,n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),10),this.a=this.a|e.k==(Yn(),Ws)}function Uhn(t,e){var n,r,s;for(n=Dv(new K2,t),s=new S(e);s.a<s.c.c.length;)r=u(Q(s),121),Tf(gf(df(pf(ff(new Dh,0),0),n),r));return n}function Xie(t,e,n){var r,s,o;for(s=new pr(xr((e?Jo(t):Gs(t)).a.Kc(),new H));ti(s);)r=u(qr(s),17),o=e?r.c.i:r.d.i,o.k==(Yn(),Bl)&&Bo(o,n)}function sy(){sy=X,fG=new WR(X0,0),cht=new WR("PORT_POSITION",1),e5=new WR("NODE_SIZE_WHERE_SPACE_PERMITS",2),t5=new WR("NODE_SIZE",3)}function e0(){e0=X,Zht=new e_("AUTOMATIC",0),HO=new e_(gx,1),VO=new e_(px,2),RG=new e_("TOP",3),FG=new e_(W6t,4),BG=new e_(N7,5)}function I3t(t,e,n,r){v7();var s,o;for(s=0,o=0;o<n;o++)s=Ka(za(Xs(e[o],To),Xs(r,To)),Xs($r(s),To)),t[o]=$r(s),s=zm(s,32);return $r(s)}function O3t(t,e,n){var r,s;for(s=0,r=0;r<Put;r++)s=b.Math.max(s,Mit(t.a[e.g][r],n));return e==(Jf(),uu)&&t.b&&(s=b.Math.max(s,t.b.b)),s}function Hz(t,e){var n,r;if(Ibt(e>0),(e&-e)==e)return Ds(e*wl(t,31)*4656612873077393e-25);do n=wl(t,31),r=n%e;while(n-r+(e-1)<0);return Ds(r)}function zg(t){oKt();var e,n,r;return n=":"+t,r=QH[n],r!=null?Ds((Pn(r),r)):(r=A7t[n],e=r==null?Fbn(t):Ds((Pn(r),r)),hnn(),QH[n]=e,e)}function Qie(t,e,n){Dr(n,"Compound graph preprocessor",1),t.a=new qv,rhe(t,e,null),Eyn(t,e),sbn(t),ne(e,(oe(),WEt),t.a),t.a=null,al(t.b),br(n)}function Whn(t,e,n){switch(n.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}}function Khn(t){var e,n,r;for(r=u(ji(t.a,(p4(),OV)),15).Kc();r.Ob();)n=u(r.Pb(),101),e=V3t(n),m8(t,n,e[0],(Zv(),Cw),0),m8(t,n,e[1],Sw,1)}function Yhn(t){var e,n,r;for(r=u(ji(t.a,(p4(),PV)),15).Kc();r.Ob();)n=u(r.Pb(),101),e=V3t(n),m8(t,n,e[0],(Zv(),Cw),0),m8(t,n,e[1],Sw,1)}function ist(t){switch(t.g){case 0:return null;case 1:return new Qee;case 2:return new qpt;default:throw et(new Bn(xct+(t.f!=null?t.f:""+t.g)))}}function ZD(t,e,n){var r,s;for(vcn(t,e-t.s,n-t.t),s=new S(t.n);s.a<s.c.c.length;)r=u(Q(s),211),f6(r,r.e+e-t.s),upt(r,r.f+n-t.t);t.s=e,t.t=n}function Xhn(t){var e,n,r,s,o;for(n=0,s=new S(t.a);s.a<s.c.c.length;)r=u(Q(s),121),r.d=n++;return e=S0n(t),o=null,e.c.length>1&&(o=Uhn(t,e)),o}function sst(t){var e;return t.f&&t.f.kh()&&(e=u(t.f,49),t.f=u(Zp(t,e),82),t.f!=e&&t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,8,e,t.f))),t.f}function ast(t){var e;return t.i&&t.i.kh()&&(e=u(t.i,49),t.i=u(Zp(t,e),82),t.i!=e&&t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,7,e,t.i))),t.i}function vo(t){var e;return t.b&&t.b.Db&64&&(e=t.b,t.b=u(Zp(t,e),18),t.b!=e&&t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,21,e,t.b))),t.b}function Vz(t,e){var n,r,s;t.d==null?(++t.e,++t.f):(r=e.Sh(),fbn(t,t.f+1),s=(r&Di)%t.d.length,n=t.d[s],!n&&(n=t.d[s]=t.uj()),n.Fc(e),++t.f)}function P3t(t,e,n){var r;return e.Kj()?!1:e.Zj()!=-2?(r=e.zj(),r==null?n==null:Pi(r,n)):e.Hj()==t.e.Tg()&&n==null}function Gz(){var t;Gl(16,Whe),t=qee(16),this.b=Pt(wut,II,317,t,0,1),this.c=Pt(wut,II,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function G0(t){Zbt.call(this),this.k=(Yn(),Ws),this.j=(Gl(6,my),new iu(6)),this.b=(Gl(2,my),new iu(2)),this.d=new Gtt,this.f=new Opt,this.a=t}function Qhn(t){var e,n;t.c.length<=1||(e=Yce(t,(ye(),Ir)),Bae(t,u(e.a,19).a,u(e.b,19).a),n=Yce(t,jn),Bae(t,u(n.a,19).a,u(n.b,19).a))}function aC(){aC=X,__t=new SM("SIMPLE",0),lht=new SM(jot,1),hht=new SM("LINEAR_SEGMENTS",2),AS=new SM("BRANDES_KOEPF",3),LS=new SM(m1e,4)}function N3t(t,e,n){O6(u(K(e,(Te(),xs)),98))||(Lmt(t,e,qg(e,n)),Lmt(t,e,qg(e,(ye(),Ir))),Lmt(t,e,qg(e,Nn)),pn(),ua(e.j,new uM(t)))}function Zie(t,e,n,r){var s,o,h;for(s=u(ji(r?t.a:t.b,e),21),h=s.Kc();h.Ob();)if(o=u(h.Pb(),33),pq(t,n,o))return!0;return!1}function ost(t){var e,n;for(n=new hr(t);n.e!=n.i.gc();)if(e=u(Tr(n),87),e.e||(!e.d&&(e.d=new qs(So,e,1)),e.d).i!=0)return!0;return!1}function cst(t){var e,n;for(n=new hr(t);n.e!=n.i.gc();)if(e=u(Tr(n),87),e.e||(!e.d&&(e.d=new qs(So,e,1)),e.d).i!=0)return!0;return!1}function Zhn(t){var e,n,r;for(e=0,r=new S(t.c.a);r.a<r.c.c.length;)n=u(Q(r),10),e+=F0(new pr(xr(Gs(n).a.Kc(),new H)));return e/t.c.a.c.length}function Jie(t){var e,n;for(t.c||a3n(t),n=new Hu,e=new S(t.a),Q(e);e.a<e.c.c.length;)pi(n,u(Q(e),407).a);return sr(n.b!=0),bh(n,n.c.b),n}function ust(){ust=X,hSt=(nat(),oSt),lSt=new Lv(8),new bo((Ei(),Vb),lSt),new bo(Gb,8),m3e=sSt,cSt=h3e,uSt=f3e,w3e=new bo(YO,(Rn(),!1))}function F3t(t,e,n,r){switch(e){case 7:return!t.e&&(t.e=new Tn(aa,t,7,4)),t.e;case 8:return!t.d&&(t.d=new Tn(aa,t,8,5)),t.d}return n3t(t,e,n,r)}function lst(t){var e;return t.a&&t.a.kh()&&(e=u(t.a,49),t.a=u(Zp(t,e),138),t.a!=e&&t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,5,e,t.a))),t.a}function wb(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function hst(t,e){if(t==null)throw et(new x6("null key in entry: null="+e));if(e==null)throw et(new x6("null value in entry: "+t+"=null"))}function Jhn(t,e){for(var n,r;t.Ob();)if(!e.Ob()||(n=t.Pb(),r=e.Pb(),!(Ut(n)===Ut(r)||n!=null&&Pi(n,r))))return!1;return!e.Ob()}function tse(t,e){var n;return n=ct(ot(wa,1),Io,25,15,[Mit(t.a[0],e),Mit(t.a[1],e),Mit(t.a[2],e)]),t.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function ese(t,e){var n;return n=ct(ot(wa,1),Io,25,15,[yz(t.a[0],e),yz(t.a[1],e),yz(t.a[2],e)]),t.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function mb(){mb=X,mlt=new CM("GREEDY",0),TEt=new CM(s1e,1),ylt=new CM(jot,2),pS=new CM("MODEL_ORDER",3),gS=new CM("GREEDY_MODEL_ORDER",4)}function nse(t,e){var n,r,s;for(t.b[e.g]=1,r=gi(e.d,0);r.b!=r.d.c;)n=u(di(r),188),s=n.c,t.b[s.g]==1?pi(t.a,n):t.b[s.g]==2?t.b[s.g]=1:nse(t,s)}function tfn(t,e){var n,r,s;for(s=new iu(e.gc()),r=e.Kc();r.Ob();)n=u(r.Pb(),286),n.c==n.f?b7(t,n,n.c):Z0n(t,n)||(s.c[s.c.length]=n);return s}function efn(t,e,n){var r,s,o,h,d;for(d=t.r+e,t.r+=e,t.d+=n,r=n/t.n.c.length,s=0,h=new S(t.n);h.a<h.c.c.length;)o=u(Q(h),211),l2n(o,d,r,s),++s}function nfn(t){var e,n,r;for(OT(t.b.a),t.a=Pt(ZH,De,57,t.c.c.a.b.c.length,0,1),e=0,r=new S(t.c.c.a.b);r.a<r.c.c.length;)n=u(Q(r),57),n.f=e++}function rfn(t){var e,n,r;for(OT(t.b.a),t.a=Pt(Yut,De,81,t.c.a.a.b.c.length,0,1),e=0,r=new S(t.c.a.a.b);r.a<r.c.c.length;)n=u(Q(r),81),n.i=e++}function ifn(t,e,n){var r;Dr(n,"Shrinking tree compaction",1),je(Be(K(e,(G8(),uS))))?(won(t,e.f),Nte(e.f,(r=e.c,r))):Nte(e.f,e.c),br(n)}function rse(t){var e;if(e=iun(t),!ti(t))throw et(new Po("position (0) must be less than the number of elements that remained ("+e+")"));return qr(t)}function ise(t,e,n){var r;try{return h4(t,e+t.j,n+t.k)}catch(s){throw s=as(s),_t(s,73)?(r=s,et(new Po(r.g+qq+e+oo+n+")."))):et(s)}}function sfn(t,e,n){var r;try{return ose(t,e+t.j,n+t.k)}catch(s){throw s=as(s),_t(s,73)?(r=s,et(new Po(r.g+qq+e+oo+n+")."))):et(s)}}function afn(t,e,n){var r;try{return cse(t,e+t.j,n+t.k)}catch(s){throw s=as(s),_t(s,73)?(r=s,et(new Po(r.g+qq+e+oo+n+")."))):et(s)}}function sse(t){switch(t.g){case 1:return ye(),jn;case 4:return ye(),Nn;case 3:return ye(),Wn;case 2:return ye(),Ir;default:return ye(),fc}}function ofn(t,e,n){e.k==(Yn(),Ws)&&n.k==ha&&(t.d=Pit(e,(ye(),Ir)),t.b=Pit(e,Nn)),n.k==Ws&&e.k==ha&&(t.d=Pit(n,(ye(),Nn)),t.b=Pit(n,Ir))}function fst(t,e){var n,r,s;for(s=uc(t,e),r=s.Kc();r.Ob();)if(n=u(r.Pb(),11),K(n,(oe(),ul))!=null||p_(new N1(n.b)))return!0;return!1}function B3t(t,e){return Du(e,t.e+t.d+(t.c.c.length==0?0:t.b)),Iu(e,t.f),t.a=b.Math.max(t.a,e.f),t.d+=e.g+(t.c.c.length==0?0:t.b),de(t.c,e),!0}function cfn(t,e,n){var r,s,o,h;for(h=0,r=n/t.a.c.length,o=new S(t.a);o.a<o.c.c.length;)s=u(Q(o),187),ZD(s,s.s,s.t+h*r),efn(s,t.d-s.r+e,r),++h}function ufn(t){var e,n,r,s,o;for(r=new S(t.b);r.a<r.c.c.length;)for(n=u(Q(r),29),e=0,o=new S(n.a);o.a<o.c.c.length;)s=u(Q(o),10),s.p=e++}function lfn(t,e){var n,r,s,o,h,d;for(s=e.length-1,h=0,d=0,r=0;r<=s;r++)o=e[r],n=L0n(s,r)*zyt(1-t,s-r)*zyt(t,r),h+=o.a*n,d+=o.b*n;return new $e(h,d)}function ase(t,e){var n,r,s,o,h;for(n=e.gc(),t.qi(t.i+n),o=e.Kc(),h=t.i,t.i+=n,r=h;r<t.i;++r)s=o.Pb(),f_(t,r,t.oi(r,s)),t.bi(r,s),t.ci();return n!=0}function hfn(t,e,n){var r,s,o;return t.ej()?(r=t.Vi(),o=t.fj(),++t.j,t.Hi(r,t.oi(r,e)),s=t.Zi(3,null,e,r,o),n?n.Ei(s):n=s):kWt(t,t.Vi(),e),n}function ffn(t,e,n){var r,s,o;return r=u(At($c(t.a),e),87),o=(s=r.c,_t(s,88)?u(s,26):(hn(),ef)),(o.Db&64?Zp(t.b,o):o)==n?yq(r):F8(r,n),o}function R3t(t,e,n,r,s,o,h,d){var w,k;r&&(w=r.a[0],w&&R3t(t,e,n,w,s,o,h,d),$fn(t,n,r.d,s,o,h,d)&&e.Fc(r),k=r.a[1],k&&R3t(t,e,n,k,s,o,h,d))}function dfn(t,e){var n;return t.a||(n=Pt(wa,Io,25,0,15,1),R3(t.b.a,new ae(n)),n.sort(fee(pt.prototype.te,pt,[])),t.a=new tKt(n,t.d)),I$(t.a,e)}function h4(t,e,n){try{return Sv(ait(t,e,n),1)}catch(r){throw r=as(r),_t(r,320)?et(new Po(Tot+t.o+"*"+t.p+_ot+e+oo+n+Cot)):et(r)}}function ose(t,e,n){try{return Sv(ait(t,e,n),0)}catch(r){throw r=as(r),_t(r,320)?et(new Po(Tot+t.o+"*"+t.p+_ot+e+oo+n+Cot)):et(r)}}function cse(t,e,n){try{return Sv(ait(t,e,n),2)}catch(r){throw r=as(r),_t(r,320)?et(new Po(Tot+t.o+"*"+t.p+_ot+e+oo+n+Cot)):et(r)}}function use(t,e){if(t.g==-1)throw et(new qu);t.mj();try{t.d._c(t.g,e),t.f=t.d.j}catch(n){throw n=as(n),_t(n,73)?et(new uh):et(n)}}function gfn(t,e,n){Dr(n,"Linear segments node placement",1),t.b=u(K(e,(oe(),X4)),304),A5n(t,e),hyn(t,e),Syn(t,e),o5n(t),t.a=null,t.b=null,br(n)}function JD(t,e){var n,r,s,o;for(o=t.gc(),e.length<o&&(e=yR(new Array(o),e)),s=e,r=t.Kc(),n=0;n<o;++n)ds(s,n,r.Pb());return e.length>o&&ds(e,o,null),e}function pfn(t,e){var n,r;if(r=t.gc(),e==null){for(n=0;n<r;n++)if(t.Xb(n)==null)return n}else for(n=0;n<r;n++)if(Pi(e,t.Xb(n)))return n;return-1}function dst(t,e){var n,r,s;return n=e.cd(),s=e.dd(),r=t.xc(n),!(!(Ut(s)===Ut(r)||s!=null&&Pi(s,r))||r==null&&!t._b(n))}function bfn(t,e){var n,r,s;return e<=22?(n=t.l&(1<<e)-1,r=s=0):e<=44?(n=t.l,r=t.m&(1<<e-22)-1,s=0):(n=t.l,r=t.m,s=t.h&(1<<e-44)-1),hu(n,r,s)}function vfn(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function wfn(t,e){var n,r;switch(r=e.c,n=e.a,t.b.g){case 0:n.d=t.e-r.a-r.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-r.a-r.d;break;case 3:n.c=t.e+r.d}}function j3t(t,e,n,r){var s,o;this.a=e,this.c=r,s=t.a,tpt(this,new $e(-s.c,-s.d)),$i(this.b,n),o=r/2,e.a?$M(this.b,0,o):$M(this.b,o,0),de(t.c,this)}function Uz(){Uz=X,Rht=new YR(X0,0),ECt=new YR(a1e,1),TCt=new YR("EDGE_LENGTH_BY_POSITION",2),kCt=new YR("CROSSING_MINIMIZATION_BY_POSITION",3)}function gst(t,e){var n,r;if(n=u(e4(t.g,e),33),n)return n;if(r=u(e4(t.j,e),118),r)return r;throw et(new dd("Referenced shape does not exist: "+e))}function mfn(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw et(new Bn("Node 'one' must be either source or target of edge 'edge'."))}function yfn(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw et(new Bn("Node "+e+" is neither source nor target of edge "+t))}function xfn(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),Mg(t,e,(R1(),olt),n);break;case 1:case 3:Mg(t,e,(R1(),Sx),null)}}function pst(t,e,n,r,s,o){var h,d,w,k,_;for(h=T1n(e,n,o),d=n==(ye(),Nn)||n==jn?-1:1,k=t[n.g],_=0;_<k.length;_++)w=k[_],w>0&&(w+=s),k[_]=h,h+=d*(w+r)}function lse(t){var e,n,r;for(r=t.f,t.n=Pt(wa,Io,25,r,15,1),t.d=Pt(wa,Io,25,r,15,1),e=0;e<r;e++)n=u(Fe(t.c.b,e),29),t.n[e]=$ie(t,n),t.d[e]=xce(t,n)}function bst(t,e){var n,r,s;for(s=0,r=2;r<e;r<<=1)t.Db&r&&++s;if(s==0){for(n=e<<=1;n<=128;n<<=1)if(t.Db&n)return 0;return-1}else return s}function hse(t,e){var n,r,s,o,h;for(h=gu(t.e.Tg(),e),o=null,n=u(t.g,119),s=0;s<t.i;++s)r=n[s],h.rl(r.ak())&&(!o&&(o=new e6),Hr(o,r));o&&Ehe(t,o)}function fse(t){var e,n,r;if(!t)return null;if(t.dc())return"";for(r=new _g,n=t.Kc();n.Ob();)e=n.Pb(),Ao(r,Yr(e)),r.a+=" ";return Wet(r,r.a.length-1)}function $3t(t,e,n){var r,s,o,h,d;for(Scn(t),s=(t.k==null&&(t.k=Pt(yut,re,78,0,0,1)),t.k),o=0,h=s.length;o<h;++o)r=s[o],$3t(r);d=t.f,d&&$3t(d)}function dse(t,e){var n=new Array(e),r;switch(t){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var s=0;s<e;++s)n[s]=r;return n}function aw(t){var e,n,r;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),57),e.c.$b();Bp(t.d)?r=t.a.c:r=t.a.d,Mu(r,new Mr(t)),t.c.Me(t),Rce(t)}function gse(t){var e,n,r,s;for(n=new S(t.e.c);n.a<n.c.c.length;){for(e=u(Q(n),282),s=new S(e.b);s.a<s.c.c.length;)r=u(Q(s),447),r6t(r);aoe(e)}}function Wz(t){var e,n,r,s,o;for(r=0,o=0,s=0,n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),187),o=b.Math.max(o,e.r),r+=e.d+(s>0?t.c:0),++s;t.b=r,t.d=o}function kfn(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new S(e);h.a<h.c.c.length;)o=u(Q(h),200),r=b.Math.max(r,o.e),s+=o.b+(n>0?t.g:0),++n;t.c=s,t.d=r}function pse(t,e){var n;return n=ct(ot(wa,1),Io,25,15,[O3t(t,(Jf(),wc),e),O3t(t,uu,e),O3t(t,mc,e)]),t.f&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function Efn(t,e,n){var r;try{wq(t,e+t.j,n+t.k,!1,!0)}catch(s){throw s=as(s),_t(s,73)?(r=s,et(new Po(r.g+qq+e+oo+n+")."))):et(s)}}function Tfn(t,e,n){var r;try{wq(t,e+t.j,n+t.k,!0,!1)}catch(s){throw s=as(s),_t(s,73)?(r=s,et(new Po(r.g+qq+e+oo+n+")."))):et(s)}}function bse(t){var e;ia(t,(Te(),Iw))&&(e=u(K(t,Iw),21),e.Hc((fy(),Mf))?(e.Mc(Mf),e.Fc(Df)):e.Hc(Df)&&(e.Mc(Df),e.Fc(Mf)))}function vse(t){var e;ia(t,(Te(),Iw))&&(e=u(K(t,Iw),21),e.Hc((fy(),Of))?(e.Mc(Of),e.Fc(Yh)):e.Hc(Yh)&&(e.Mc(Yh),e.Fc(Of)))}function _fn(t,e,n){Dr(n,"Self-Loop ordering",1),Ts(Cu(Xi(Xi(oc(new En(null,new _n(e.b,16)),new lF),new UY),new WY),new KY),new Cm(t)),br(n)}function tI(t,e,n,r){var s,o;for(s=e;s<t.c.length;s++)if(o=(An(s,t.c.length),u(t.c[s],11)),n.Mb(o))r.c[r.c.length]=o;else return s;return t.c.length}function vst(t,e,n,r){var s,o,h,d;return t.a==null&&A0n(t,e),h=e.b.j.c.length,o=n.d.p,d=r.d.p,s=d-1,s<0&&(s=h-1),o<=s?t.a[s]-t.a[o]:t.a[h-1]-t.a[o]+t.a[s]}function Cfn(t){var e,n;if(!t.b)for(t.b=k$(u(t.f,33).Ag().i),n=new hr(u(t.f,33).Ag());n.e!=n.i.gc();)e=u(Tr(n),137),de(t.b,new net(e));return t.b}function Sfn(t){var e,n;if(!t.e)for(t.e=k$(Znt(u(t.f,33)).i),n=new hr(Znt(u(t.f,33)));n.e!=n.i.gc();)e=u(Tr(n),118),de(t.e,new vzt(e));return t.e}function wse(t){var e,n;if(!t.a)for(t.a=k$(a$(u(t.f,33)).i),n=new hr(a$(u(t.f,33)));n.e!=n.i.gc();)e=u(Tr(n),33),de(t.a,new rnt(t,e));return t.a}function ow(t){var e;if(!t.C&&(t.D!=null||t.B!=null))if(e=K3n(t),e)t.yk(e);else try{t.yk(null)}catch(n){if(n=as(n),!_t(n,60))throw et(n)}return t.C}function Afn(t){switch(t.q.g){case 5:qse(t,(ye(),Nn)),qse(t,Ir);break;case 4:Ple(t,(ye(),Nn)),Ple(t,Ir);break;default:Hae(t,(ye(),Nn)),Hae(t,Ir)}}function Lfn(t){switch(t.q.g){case 5:Hse(t,(ye(),Wn)),Hse(t,jn);break;case 4:Nle(t,(ye(),Wn)),Nle(t,jn);break;default:Vae(t,(ye(),Wn)),Vae(t,jn)}}function f4(t,e){var n,r,s;for(s=new $a,r=t.Kc();r.Ob();)n=u(r.Pb(),37),wC(n,s.a,0),s.a+=n.f.a+e,s.b=b.Math.max(s.b,n.f.b);return s.b>0&&(s.b+=e),s}function Kz(t,e){var n,r,s;for(s=new $a,r=t.Kc();r.Ob();)n=u(r.Pb(),37),wC(n,0,s.b),s.b+=n.f.b+e,s.a=b.Math.max(s.a,n.f.a);return s.a>0&&(s.a+=e),s}function mse(t){var e,n,r;for(r=Di,n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),10),ia(e,(oe(),Bc))&&(r=b.Math.min(r,u(K(e,Bc),19).a));return r}function yse(t,e){var n,r;if(e.length==0)return 0;for(n=Qnt(t.a,e[0],(ye(),jn)),n+=Qnt(t.a,e[e.length-1],Wn),r=0;r<e.length;r++)n+=f0n(t,r,e);return n}function xse(){bC(),this.c=new ge,this.i=new ge,this.e=new M0,this.f=new M0,this.g=new M0,this.j=new ge,this.a=new ge,this.b=new Br,this.k=new Br}function wst(t,e){var n,r;return t.Db>>16==6?t.Cb.ih(t,5,c1,e):(r=vo(u(wn((n=u(In(t,16),26),n||t.zh()),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Mfn(t){_8();var e=t.e;if(e&&e.stack){var n=e.stack,r=e+`
`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(`
-`)}return[]}function Don(e){var t;return t=(ZJe(),Ndt),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 $rt(e){var t,n,r;e.b==e.c&&(r=e.a.length,n=Bme(b.Math.max(8,r))<<1,e.b!=0?(t=bf(e.a,n),aet(e,t,r),e.a=t,e.b=0):s$e(e.a,n),e.c=r)}function Ion(e,t){var n;return n=e.b,n.Xe((di(),kl))?n.Hf()==(dt(),On)?-n.rf().a-We(gt(n.We(kl))):t+We(gt(n.We(kl))):n.Hf()==(dt(),On)?-n.rf().a:t}function ID(e){var t;return e.b.c.length!=0&&u(It(e.b,0),70).a?u(It(e.b,0),70).a:(t=Lne(e),t??""+(e.c?Ko(e.c.a,e,0):-1))}function xH(e){var t;return e.f.c.length!=0&&u(It(e.f,0),70).a?u(It(e.f,0),70).a:(t=Lne(e),t??""+(e.i?Ko(e.i.j,e,0):-1))}function Oon(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n<e.gc();++n)if(r=u(e.Xb(n),128),n==e.gc()-1||!r.o)return new _a(lt(n),r);return null}function Non(e,t,n){var r,i,a,h,d;for(a=e.c,d=n?t:e,r=n?e:t,i=d.p+1;i<r.p;++i)if(h=u(It(a.a,i),10),!(h.k==(zn(),V1)||ccn(h)))return!1;return!0}function n3e(e){var t,n,r,i,a;for(a=0,i=Ds,r=0,n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),187),a+=t.r+(r>0?e.c:0),i=b.Math.max(i,t.d),++r;e.e=a,e.b=i}function Pon(e){var t,n;if(!e.b)for(e.b=Yj(u(e.f,118).Ag().i),n=new ir(u(e.f,118).Ag());n.e!=n.i.gc();)t=u(br(n),137),st(e.b,new Mee(t));return e.b}function Bon(e,t){var n,r,i;if(t.dc())return nx(),nx(),qO;for(n=new HVe(e,t.gc()),i=new ir(e);i.e!=i.i.gc();)r=br(i),t.Hc(r)&&Pr(n,r);return n}function r3e(e,t,n,r){return t==0?r?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),e.o):(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),UM(e.o)):gH(e,t,n,r)}function Vie(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t<n;++t)bM(_e(e.rb,t));if(e.vb)for(t=0,n=e.vb.i;t<n;++t)bM(_e(e.vb,t));s_((Uu(),Oa),e),e.Bb|=1}function zi(e,t,n,r,i,a,h,d,v,x,T,L,P,z){return bst(e,t,r,null,i,a,h,d,v,x,P,!0,z),dye(e,T),me(e.Cb,88)&&ny(dl(u(e.Cb,88)),2),n&&dme(e,n),gye(e,L),e}function Fon(e){var t,n;if(e==null)return null;n=0;try{n=Wl(e,za,xi)&Ss}catch(r){if(r=ts(r),me(r,127))t=d$(e),n=t[0];else throw ee(r)}return fD(n)}function Ron(e){var t,n;if(e==null)return null;n=0;try{n=Wl(e,za,xi)&Ss}catch(r){if(r=ts(r),me(r,127))t=d$(e),n=t[0];else throw ee(r)}return fD(n)}function jon(e,t){var n,r,i;return i=e.h-t.h,i<0||(n=e.l-t.l,r=e.m-t.m+(n>>22),i+=r>>22,i<0)?!1:(e.l=n&ml,e.m=r&ml,e.h=i&V0,!0)}function $on(e,t,n,r,i,a,h){var d,v;return!(t.Ae()&&(v=e.a.ue(n,r),v<0||!i&&v==0)||t.Be()&&(d=e.a.ue(n,a),d>0||!h&&d==0))}function Hon(e,t){Gx();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return gie(t,DEe)-gie(e,DEe);case 4:return gie(e,MEe)-gie(t,MEe)}return 0}function zon(e){switch(e.g){case 0:return Wue;case 1:return Yue;case 2:return Xue;case 3:return Que;case 4:return lq;case 5:return Zue;default:return null}}function Bo(e,t,n){var r,i;return r=(i=new xee,sb(i,t),nu(i,n),Pr((!e.c&&(e.c=new ot(Dw,e,12,10)),e.c),i),i),Eg(r,0),Vm(r,1),Sg(r,!0),Cg(r,!0),r}function X6(e,t){var n,r;if(t>=e.i)throw ee(new vte(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&Rc(e.g,t+1,e.g,t,r),us(e.g,--e.i,null),e.fi(t,n),e.ci(),n}function Hrt(e,t){var n,r;return e.Db>>16==17?e.Cb.ih(e,21,Jh,t):(r=go(u(bn((n=u(Cn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Gon(e){var t,n,r,i;for(fn(),aa(e.c,e.a),i=new C(e.c);i.a<i.c.c.length;)for(r=Y(i),n=new C(e.b);n.a<n.c.c.length;)t=u(Y(n),679),t.Ke(r)}function qon(e){var t,n,r,i;for(fn(),aa(e.c,e.a),i=new C(e.c);i.a<i.c.c.length;)for(r=Y(i),n=new C(e.b);n.a<n.c.c.length;)t=u(Y(n),369),t.Ke(r)}function Von(e){var t,n,r,i,a;for(i=xi,a=null,r=new C(e.d);r.a<r.c.c.length;)n=u(Y(r),213),n.d.j^n.e.j&&(t=n.e.e-n.d.e-n.a,t<i&&(i=t,a=n));return a}function i3e(){i3e=de,kgt=new pn(E6e,(In(),!1)),wgt=new pn(T6e,100),L7e=(x_(),mue),mgt=new pn(_6e,L7e),ygt=new pn(C6e,Ed),xgt=new pn(S6e,lt(xi))}function zrt(e,t,n){var r,i,a,h,d,v,x,T;for(x=0,i=e.a[t],a=0,h=i.length;a<h;++a)for(r=i[a],T=N_(r,n),v=T.Kc();v.Ob();)d=u(v.Pb(),11),Si(e.f,d,lt(x++))}function Uon(e,t,n){var r,i,a,h;if(n)for(i=n.a.length,r=new q2(i),h=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);h.Ob();)a=u(h.Pb(),19),an(e,t,Z6(Hm(n,a.a)))}function Kon(e,t,n){var r,i,a,h;if(n)for(i=n.a.length,r=new q2(i),h=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);h.Ob();)a=u(h.Pb(),19),an(e,t,Z6(Hm(n,a.a)))}function s3e(e){Up();var t;return t=u(MD(A6(e.k),Ie(oo,Mc,61,2,0,1)),122),xx(t,0,t.length,null),t[0]==(dt(),Ln)&&t[1]==On&&(us(t,0,On),us(t,1,Ln)),t}function Grt(e,t,n){var r,i,a;return i=Idn(e,t,n),a=U4e(e,i),pre(e.b),Kne(e,t,n),fn(),aa(i,new _Re(e)),r=U4e(e,i),pre(e.b),Kne(e,n,t),new _a(lt(a),lt(r))}function qrt(){qrt=de,Dvt=ki(new Xs,(io(),zo),(po(),YC)),qq=new Hs("linearSegments.inputPrio",lt(0)),Vq=new Hs("linearSegments.outputPrio",lt(0))}function Jx(){Jx=de,Uq=new kR("P1_TREEIFICATION",0),wS=new kR("P2_NODE_ORDERING",1),pO=new kR("P3_NODE_PLACEMENT",2),mS=new kR("P4_EDGE_ROUTING",3)}function Qm(){Qm=de,Uwt=(di(),Nk),Kwt=Bb,zwt=Nb,Gwt=Z4,qwt=h2,Hwt=Q4,N_e=LO,Vwt=jy,che=(A4e(),Nwt),uhe=Pwt,P_e=Bwt,tV=Fwt,nV=Rwt,vO=jwt,B_e=$wt}function Kl(){Kl=de,IO=new TR("UNKNOWN",0),l0=new TR("ABOVE",1),f2=new TR("BELOW",2),DO=new TR("INLINE",3),new Hs("org.eclipse.elk.labelSide",IO)}function Vrt(e,t){var n;if(e.ni()&&t!=null){for(n=0;n<e.i;++n)if(Ci(t,e.g[n]))return n}else for(n=0;n<e.i;++n)if($e(e.g[n])===$e(t))return n;return-1}function Won(e,t,n){var r,i;return t.c==(vo(),ou)&&n.c==cl?-1:t.c==cl&&n.c==ou?1:(r=Btt(t.a,e.a),i=Btt(n.a,e.a),t.c==ou?i-r:r-i)}function Zm(e,t,n){if(n&&(t<0||t>n.a.c.length))throw ee(new Dn("index must be >= 0 and <= layer node count"));e.c&&_u(e.c.a,e),e.c=n,n&&Dm(n.a,t,e)}function Urt(e,t){var n,r,i;for(r=new ur(dr(j0(e).a.Kc(),new V));Vr(r);)return n=u(Nr(r),17),i=u(t.Kb(n),10),new L8(Or(i.n.b+i.o.b/2));return gT(),gT(),$ce}function Krt(e,t){this.c=new Ar,this.a=e,this.b=t,this.d=u(W(e,(nt(),H4)),304),$e(W(e,(mt(),bTe)))===$e((XM(),hq))?this.e=new x$e:this.e=new k$e}function Yon(e,t){var n,r,i,a;for(a=0,r=new C(e);r.a<r.c.c.length;)n=u(Y(r),33),a+=b.Math.pow(n.g*n.f-t,2);return i=b.Math.sqrt(a/(e.c.length-1)),i}function q_(e,t){var n,r;return r=null,e.Xe((di(),Pk))&&(n=u(e.We(Pk),94),n.Xe(t)&&(r=n.We(t))),r==null&&e.yf()&&(r=e.yf().We(t)),r==null&&(r=Ct(t)),r}function Uie(e,t){var n,r;n=e.Zc(t);try{return r=n.Pb(),n.Qb(),r}catch(i){throw i=ts(i),me(i,109)?ee(new Mo("Can't remove element "+t)):ee(i)}}function Xon(e,t){var n,r,i;if(r=new tR,i=new Pme(r.q.getFullYear()-Xp,r.q.getMonth(),r.q.getDate()),n=Qpn(e,t,i),n==0||n<t.length)throw ee(new Dn(t));return i}function a3e(e,t){var n,r,i;for(An(t),K2e(t!=e),i=e.b.c.length,r=t.Kc();r.Ob();)n=r.Pb(),st(e.b,An(n));return i!=e.b.c.length?(Ume(e,0),!0):!1}function OD(){OD=de,O7e=(di(),dV),new fo(Lhe,(In(),!0)),Tgt=Nb,_gt=Z4,Cgt=h2,Egt=Q4,P7e=LO,Sgt=jy,I7e=(i3e(),kgt),M7e=mgt,D7e=ygt,N7e=xgt,BG=wgt}function Qon(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw ee(new Dn("'port' must be either the source port or target port of the edge."))}function Zon(e,t,n){var r,i;switch(i=e.o,r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function o3e(e,t,n,r){var i,a,h,d;for(Oo(t,u(r.Xb(0),29)),d=r.bd(1,r.gc()),a=u(n.Kb(t),20).Kc();a.Ob();)i=u(a.Pb(),17),h=i.c.i==t?i.d.i:i.c.i,o3e(e,h,n,d)}function Wrt(e){var t;return t=new Ar,Js(e,(nt(),hle))?u(W(e,hle),83):(ms(qi(new mn(null,new kn(e.j,16)),new IY),new c6(t)),Qe(e,hle,t),t)}function c3e(e,t){var n,r;return e.Db>>16==6?e.Cb.ih(e,6,ta,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),TV)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function u3e(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,1,jO,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),XSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function l3e(e,t){var n,r;return e.Db>>16==9?e.Cb.ih(e,9,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),ZSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Yrt(e,t){var n,r;return e.Db>>16==5?e.Cb.ih(e,9,OV,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Ug)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function h3e(e,t){var n,r;return e.Db>>16==3?e.Cb.ih(e,0,HO,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Vg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Xrt(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,6,c1,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Wg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Qrt(){this.a=new _B,this.g=new wH,this.j=new wH,this.b=new Ar,this.d=new wH,this.i=new wH,this.k=new Ar,this.c=new Ar,this.e=new Ar,this.f=new Ar}function Jon(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;i<a;i++)if(r=_e(e,i),t==null){if(r==null)return i}else if($e(t)===$e(r)||Ci(t,r))return i;return-1}function ecn(e,t){var n,r;return n=t.Hh(e.a),n?(r=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),cG)),on(NI,r)?s_(e,ql(t.Hj())):r):null}function e7(e,t){var n,r;if(t){if(t==e)return!0;for(n=0,r=u(t,49).eh();r&&r!=t;r=r.eh()){if(++n>Oae)return e7(e,r);if(r==e)return!0}}return!1}function tcn(e){switch(GR(),e.q.g){case 5:Pst(e,(dt(),Ln)),Pst(e,Tr);break;case 4:Mat(e,(dt(),Ln)),Mat(e,Tr);break;default:Mut(e,(dt(),Ln)),Mut(e,Tr)}}function ncn(e){switch(GR(),e.q.g){case 5:Xst(e,(dt(),$n)),Xst(e,On);break;case 4:ort(e,(dt(),$n)),ort(e,On);break;default:Dut(e,(dt(),$n)),Dut(e,On)}}function rcn(e){var t,n;t=u(W(e,(r1(),pgt)),19),t?(n=t.a,n==0?Qe(e,(Rp(),PG),new die):Qe(e,(Rp(),PG),new Jj(n))):Qe(e,(Rp(),PG),new Jj(1))}function icn(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 scn(e,t){switch(e.g){case 0:return t==(mh(),a2)?tq:nq;case 1:return t==(mh(),a2)?tq:QI;case 2:return t==(mh(),a2)?QI:nq;default:return QI}}function ND(e,t){var n,r,i;for(_u(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),i=Qke,r=new C(e.a);r.a<r.c.c.length;)n=u(Y(r),187),i=b.Math.max(i,n.d);e.b=i}function f3e(e,t){var n,r;return e.Db>>16==3?e.Cb.ih(e,12,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),YSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function d3e(e,t){var n,r;return e.Db>>16==11?e.Cb.ih(e,10,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),QSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Zrt(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,11,Jh,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Kg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Jrt(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,12,ef,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Uy)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Rh(e){var t;return!(e.Bb&1)&&e.r&&e.r.kh()&&(t=u(e.r,49),e.r=u(zp(e,t),138),e.r!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,8,t,e.r))),e.r}function Kie(e,t,n){var r;return r=ie(ne(va,1),Ao,25,15,[R3e(e,(Jf(),pc),t,n),R3e(e,au,t,n),R3e(e,bc,t,n)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function acn(e,t){var n,r,i;if(i=eon(e,t),i.c.length!=0)for(aa(i,new lY),n=i.c.length,r=0;r<n;r++)s7(e,(En(r,i.c.length),u(i.c[r],286)),C0n(e,i,r))}function ocn(e){var t,n,r,i;for(i=u(Oi(e.a,(a4(),rq)),15).Kc();i.Ob();)for(r=u(i.Pb(),101),n=A6(r.k).Kc();n.Ob();)t=u(n.Pb(),61),cx(e,r,t,(Gv(),s2),1)}function ccn(e){var t,n;if(e.k==(zn(),ca)){for(n=new ur(dr(j0(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),!no(t)&&e.c==y3e(t,e).c)return!0}return!1}function ucn(e){var t,n;if(e.k==(zn(),ca)){for(n=new ur(dr(j0(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),!no(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function lcn(e,t){var n,r,i,a;for(Er(t,"Dull edge routing",1),a=si(e.b,0);a.b!=a.d.c;)for(i=u(ii(a),86),r=si(i.d,0);r.b!=r.d.c;)n=u(ii(r),188),Ph(n.a)}function hcn(e,t){var n,r,i,a,h;if(t)for(i=t.a.length,n=new q2(i),h=(n.b-n.a)*n.c<0?(_p(),x2):new Lp(n);h.Ob();)a=u(h.Pb(),19),r=bx(t,a.a),r&&Eat(e,r)}function fcn(){Lpe();var e,t;for(Dwn((Op(),Tn)),Ewn(Tn),Vie(Tn),fAe=(cn(),Q1),t=new C(kAe);t.a<t.c.c.length;)e=u(Y(t),241),b7(e,Q1,null);return!0}function g3e(e,t){var n,r,i,a,h,d,v,x;return v=e.h>>19,x=t.h>>19,v!=x?x-v:(i=e.h,d=t.h,i!=d?i-d:(r=e.m,h=t.m,r!=h?r-h:(n=e.l,a=t.l,n-a)))}function EH(){EH=de,t7e=(GH(),sue),e7e=new pn(n6e,t7e),Jxe=(p$(),iue),Zxe=new pn(r6e,Jxe),Qxe=(uH(),rue),Xxe=new pn(i6e,Qxe),Yxe=new pn(s6e,(In(),!0))}function V_(e,t,n){var r,i;r=t*n,me(e.g,145)?(i=B6(e),i.f.d?i.f.a||(e.d.a+=r+H1):(e.d.d-=r+H1,e.d.a+=r+H1)):me(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function eit(e,t,n){var r,i,a,h,d;for(i=e[n.g],d=new C(t.d);d.a<d.c.c.length;)h=u(Y(d),101),a=h.i,a&&a.i==n&&(r=h.d[n.g],i[r]=b.Math.max(i[r],a.j.b))}function dcn(e,t){var n,r,i,a,h;for(r=0,i=0,n=0,h=new C(t.d);h.a<h.c.c.length;)a=u(Y(h),443),yH(a),r=b.Math.max(r,a.b),i+=a.d+(n>0?e.g:0),++n;t.b=r,t.e=i}function tit(e){var t,n,r;if(r=e.b,kze(e.i,r.length)){for(n=r.length*2,e.b=Ie(qce,uI,317,n,0,1),e.c=Ie(qce,uI,317,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)HD(e,t,t);++e.g}}function gcn(e,t,n,r){var i,a,h,d;for(i=0;i<t.o;i++)for(a=i-t.j+n,h=0;h<t.p;h++)d=h-t.k+r,n4(t,i,h)?aon(e,a,d)||Eon(e,a,d):Crt(t,i,h)&&(xrt(e,a,d)||Ton(e,a,d))}function pcn(e,t,n){var r;r=t.c.i,r.k==(zn(),ca)?(Qe(e,(nt(),o1),u(W(r,o1),11)),Qe(e,Kh,u(W(r,Kh),11))):(Qe(e,(nt(),o1),t.c),Qe(e,Kh,n.d))}function t7(e,t,n){f4();var r,i,a,h,d,v;return h=t/2,a=n/2,r=b.Math.abs(e.a),i=b.Math.abs(e.b),d=1,v=1,r>h&&(d=h/r),i>a&&(v=a/i),fd(e,b.Math.min(d,v)),e}function bcn(){YH();var e,t;try{if(t=u(T3e((Tp(),tf),N7),2014),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new U5}function vcn(){qZe();var e,t;try{if(t=u(T3e((Tp(),tf),xb),2024),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new gm}function wcn(){YH();var e,t;try{if(t=u(T3e((Tp(),tf),qh),1941),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new EZ}function mcn(e,t,n){var r,i;return i=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,4,i,t),n?n.Ei(r):n=r),i!=t&&(t?n=b7(e,BH(e,t),n):n=b7(e,e.a,n)),n}function nit(){tR.call(this),this.e=-1,this.a=!1,this.p=za,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=za}function ycn(e,t){var n,r,i;if(r=e.b.d.d,e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function kcn(e,t){var n,r,i;if(r=e.b.b.d,e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function xcn(e,t){var n,r,i;if(r=e.b.g.d,e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function p3e(){p3e=de,Lgt=rl(ki(ki(ki(new Xs,(io(),Yc),(po(),bEe)),Yc,vEe),zo,wEe),zo,sEe),Dgt=ki(ki(new Xs,Yc,Z7e),Yc,aEe),Mgt=rl(new Xs,zo,cEe)}function Ecn(e){var t,n,r,i,a;for(t=u(W(e,(nt(),nS)),83),a=e.n,r=t.Cc().Kc();r.Ob();)n=u(r.Pb(),306),i=n.i,i.c+=a.a,i.d+=a.b,n.c?wot(n):mot(n);Qe(e,nS,null)}function Tcn(e,t,n){var r,i;switch(i=e.b,r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function _cn(e){var t,n,r,i,a;if(r=0,i=C7,e.b)for(t=0;t<360;t++)n=t*.017453292519943295,s5e(e,e.d,0,0,E4,n),a=e.b.ig(e.d),a<i&&(r=n,i=a);s5e(e,e.d,0,0,E4,r)}function Ccn(e,t){var n,r,i,a;for(a=new Ar,t.e=null,t.f=null,r=new C(t.i);r.a<r.c.c.length;)n=u(Y(r),65),i=u(Jn(e.g,n.a),46),n.a=mj(n.b),Si(a,n.a,i);e.g=a}function Scn(e,t,n){var r,i,a,h,d,v;for(i=t-e.e,a=i/e.d.c.length,h=0,v=new C(e.d);v.a<v.c.c.length;)d=u(Y(v),443),r=e.b-d.b+n,Lnt(d,d.e+h*a,d.f),con(d,a,r),++h}function rit(e){var t;if(e.f.qj(),e.b!=-1){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if(t=e.f.d[e.a],t&&t.i!=0){e.b=0;return}e.b=-1}function Acn(e,t){var n,r,i;for(i=t.c.length,n=Shn(e,i==0?"":(En(0,t.c.length),Hr(t.c[0]))),r=1;r<i&&n;++r)n=u(n,49).oh((En(r,t.c.length),Hr(t.c[r])));return n}function iit(e,t){var n,r;for(r=new C(t);r.a<r.c.c.length;)n=u(Y(r),10),e.c[n.c.p][n.p].a=rve(e.i),e.c[n.c.p][n.p].d=We(e.c[n.c.p][n.p].a),e.c[n.c.p][n.p].b=1}function Lcn(e,t){var n,r,i,a;for(a=0,r=new C(e);r.a<r.c.c.length;)n=u(Y(r),157),a+=b.Math.pow(qu(n)*Ll(n)-t,2);return i=b.Math.sqrt(a/(e.c.length-1)),i}function sit(e,t,n,r){var i,a,h;return a=ngn(e,t,n,r),h=J4e(e,a),rse(e,t,n,r),pre(e.b),fn(),aa(a,new CRe(e)),i=J4e(e,a),rse(e,n,t,r),pre(e.b),new _a(lt(h),lt(i))}function Mcn(e,t,n){var r,i;for(Er(n,"Interactive node placement",1),e.a=u(W(t,(nt(),H4)),304),i=new C(t.b);i.a<i.c.c.length;)r=u(Y(i),29),g0n(e,r);lr(n)}function Dcn(e,t){var n;Er(t,"General Compactor",1),t.n&&e&&wf(t,mf(e),(Ol(),rh)),n=Tsn(u(jt(e,(Qm(),uhe)),380)),n.hg(e),t.n&&e&&wf(t,mf(e),(Ol(),rh))}function Icn(e,t,n){var r,i;for(BR(e,e.j+t,e.k+n),i=new ir((!e.a&&(e.a=new Ns(Zh,e,5)),e.a));i.e!=i.i.gc();)r=u(br(i),469),g2e(r,r.a+t,r.b+n);PR(e,e.b+t,e.c+n)}function b3e(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new yn(ta,e,7,4)),ru(e.e,t,r);case 8:return!e.d&&(e.d=new yn(ta,e,8,5)),ru(e.d,t,r)}return ese(e,t,n,r)}function v3e(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new yn(ta,e,7,4)),Qa(e.e,t,r);case 8:return!e.d&&(e.d=new yn(ta,e,8,5)),Qa(e.d,t,r)}return Rre(e,t,n,r)}function Ocn(e,t,n){var r,i,a,h,d;if(n)for(a=n.a.length,r=new q2(a),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),i=bx(n,h.a),i&&Nst(e,i,t)}function TH(e,t,n){var r,i,a,h,d;return e.qj(),a=t==null?0:Yi(t),e.f>0&&(h=(a&xi)%e.d.length,i=p4e(e,h,a,t),i)?(d=i.ed(n),d):(r=e.tj(a,t,n),e.c.Fc(r),null)}function w3e(e,t){var n,r,i,a;switch(_g(e,t)._k()){case 3:case 2:{for(n=g4(t),i=0,a=n.i;i<a;++i)if(r=u(_e(n,i),34),Mv(No(e,r))==5)return r;break}}return null}function Ncn(e){var t,n,r,i,a;if(kze(e.f,e.b.length))for(r=Ie(Sdt,uI,330,e.b.length*2,0,1),e.b=r,i=r.length-1,n=e.a;n!=e;n=n.Rd())a=u(n,330),t=a.d&i,a.a=r[t],r[t]=a}function ait(e,t){var n,r,i,a;for(a=0,i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),a=b.Math.max(a,r.e.a+r.b.rf().a);n=u(_o(e.b,t),124),n.n.b=0,n.a.a=a}function oit(e,t){var n,r,i,a;for(n=0,a=u(u(Oi(e.r,t),21),84).Kc();a.Ob();)i=u(a.Pb(),111),n=b.Math.max(n,i.e.b+i.b.rf().b);r=u(_o(e.b,t),124),r.n.d=0,r.a.b=n}function Pcn(e){var t,n;return n=u(W(e,(nt(),Qc)),21),t=OR(Kvt),n.Hc((mo(),F4))&&Ul(t,Xvt),n.Hc(tS)&&Ul(t,Qvt),n.Hc(eE)&&Ul(t,Wvt),n.Hc(tE)&&Ul(t,Yvt),t}function Bcn(e,t){var n;Er(t,"Delaunay triangulation",1),n=new at,Su(e.i,new WRe(n)),Bt(Nt(W(e,(Nx(),UC)))),e.e?ro(e.e,Uut(n)):e.e=Uut(n),lr(t)}function m3e(e){if(e<0)throw ee(new Dn("The input must be positive"));return e<ICe.length?Pv(ICe[e]):b.Math.sqrt(E4*e)*(bin(e,e)/nye(2.718281828459045,e))}function n7(e,t){var n;if(e.ni()&&t!=null){for(n=0;n<e.i;++n)if(Ci(t,e.g[n]))return!0}else for(n=0;n<e.i;++n)if($e(e.g[n])===$e(t))return!0;return!1}function Fcn(e,t){if(t==null){for(;e.a.Ob();)if(u(e.a.Pb(),42).dd()==null)return!0}else for(;e.a.Ob();)if(Ci(t,u(e.a.Pb(),42).dd()))return!0;return!1}function Rcn(e,t){var n,r,i;return t===e?!0:me(t,664)?(i=u(t,1947),Gnt((r=e.g,r||(e.g=new eT(e))),(n=i.g,n||(i.g=new eT(i))))):!1}function jcn(e){var t,n,r,i;for(t="Sz",n="ez",i=b.Math.min(e.length,5),r=i-1;r>=0;r--)if(on(e[r].d,t)||on(e[r].d,n)){e.length>=r+1&&e.splice(0,r+1);break}return e}function PD(e,t){var n;return Uo(e)&&Uo(t)&&(n=e/t,fI<n&&n<gb)?n<0?b.Math.ceil(n):b.Math.floor(n):jp(_5e(Uo(e)?Bh(e):e,Uo(t)?Bh(t):t,!1))}function y3e(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw ee(new Dn("'node' must either be the source node or target node of the edge."))}function $cn(e){var t,n,r,i;if(i=u(W(e,(nt(),o9e)),37),i){for(r=new $a,t=Xa(e.c.i);t!=i;)n=t.e,t=Xa(n),Sm(Ni(Ni(r,n.n),t.c),t.d.b,t.d.d);return r}return Ygt}function Hcn(e){var t;t=u(W(e,(nt(),rE)),403),ms(rc(new mn(null,new kn(t.d,16)),new SY),new o6(e)),ms(qi(new mn(null,new kn(t.d,16)),new $P),new _3(e))}function Wie(e,t){var n,r,i,a;for(i=t?Fs(e):Wo(e),r=new ur(dr(i.a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),a=y3e(n,e),a.k==(zn(),ca)&&a.c!=e.c)return a;return null}function zcn(e){var t,n,r;for(n=new C(e.p);n.a<n.c.c.length;)t=u(Y(n),10),t.k==(zn(),js)&&(r=t.o.b,e.i=b.Math.min(e.i,r),e.g=b.Math.max(e.g,r))}function cit(e,t,n){var r,i,a;for(a=new C(t);a.a<a.c.c.length;)r=u(Y(a),10),e.c[r.c.p][r.p].e=!1;for(i=new C(t);i.a<i.c.c.length;)r=u(Y(i),10),D5e(e,r,n)}function Yie(e,t,n){var r,i;r=Z3(t.j,n.s,n.c)+Z3(n.e,t.s,t.c),i=Z3(n.j,t.s,t.c)+Z3(t.e,n.s,n.c),r==i?r>0&&(e.b+=2,e.a+=r):(e.b+=1,e.a+=b.Math.min(r,i))}function uit(e,t){var n,r;if(r=!1,ga(t)&&(r=!0,M6(e,new Nm(Hr(t)))),r||me(t,236)&&(r=!0,M6(e,(n=Tbe(u(t,236)),new rT(n)))),!r)throw ee(new Aee(O8e))}function Gcn(e,t,n,r){var i,a,h;return i=new N0(e.e,1,10,(h=t.c,me(h,88)?u(h,26):(cn(),nf)),(a=n.c,me(a,88)?u(a,26):(cn(),nf)),Ag(e,t),!1),r?r.Ei(i):r=i,r}function k3e(e){var t,n;switch(u(W(Xa(e),(mt(),cTe)),420).g){case 0:return t=e.n,n=e.o,new Ft(t.a+n.a/2,t.b+n.b/2);case 1:return new Do(e.n);default:return null}}function BD(){BD=de,fq=new NT(U0,0),KEe=new NT("LEFTUP",1),YEe=new NT("RIGHTUP",2),UEe=new NT("LEFTDOWN",3),WEe=new NT("RIGHTDOWN",4),Jue=new NT("BALANCED",5)}function qcn(e,t,n){var r,i,a;if(r=Bs(e.a[t.p],e.a[n.p]),r==0){if(i=u(W(t,(nt(),Tk)),15),a=u(W(n,Tk),15),i.Hc(n))return-1;if(a.Hc(t))return 1}return r}function Vcn(e){switch(e.g){case 1:return new AQ;case 2:return new LQ;case 3:return new SQ;case 0:return null;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function x3e(e,t,n){switch(t){case 1:!e.n&&(e.n=new ot(Qo,e,1,7)),_r(e.n),!e.n&&(e.n=new ot(Qo,e,1,7)),ds(e.n,u(n,14));return;case 2:__(e,Hr(n));return}zme(e,t,n)}function E3e(e,t,n){switch(t){case 3:$v(e,We(gt(n)));return;case 4:Hv(e,We(gt(n)));return;case 5:Au(e,We(gt(n)));return;case 6:Lu(e,We(gt(n)));return}x3e(e,t,n)}function _H(e,t,n){var r,i,a;a=(r=new xee,r),i=j1(a,t,null),i&&i.Fi(),nu(a,n),Pr((!e.c&&(e.c=new ot(Dw,e,12,10)),e.c),a),Eg(a,0),Vm(a,1),Sg(a,!0),Cg(a,!0)}function T3e(e,t){var n,r,i;return n=LT(e.g,t),me(n,235)?(i=u(n,235),i.Qh()==null,i.Nh()):me(n,498)?(r=u(n,1938),i=r.b,i):null}function Ucn(e,t,n,r){var i,a;return Or(t),Or(n),a=u(t_(e.d,t),19),YZe(!!a,"Row %s not in %s",t,e.e),i=u(t_(e.b,n),19),YZe(!!i,"Column %s not in %s",n,e.c),ntt(e,a.a,i.a,r)}function lit(e,t,n,r,i,a,h){var d,v,x,T,L;if(T=i[a],x=a==h-1,d=x?r:0,L=Drt(d,T),r!=10&&ie(ne(e,h-a),t[a],n[a],d,L),!x)for(++a,v=0;v<T;++v)L[v]=lit(e,t,n,r,i,a,h);return L}function U_(e){if(e.g==-1)throw ee(new ju);e.mj();try{e.i.$c(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(t){throw t=ts(t),me(t,73)?ee(new uh):ee(t)}}function K_(e,t){return e.b.a=b.Math.min(e.b.a,t.c),e.b.b=b.Math.min(e.b.b,t.d),e.a.a=b.Math.max(e.a.a,t.c),e.a.b=b.Math.max(e.a.b,t.d),e.c[e.c.length]=t,!0}function Kcn(e){var t,n,r,i;for(i=-1,r=0,n=new C(e);n.a<n.c.c.length;){if(t=u(Y(n),243),t.c==(vo(),cl)){i=r==0?0:r-1;break}else r==e.c.length-1&&(i=r);r+=1}return i}function Wcn(e){var t,n,r,i;for(i=0,t=0,r=new C(e.c);r.a<r.c.c.length;)n=u(Y(r),33),Au(n,e.e+i),Lu(n,e.f),i+=n.g+e.b,t=b.Math.max(t,n.f+e.b);e.d=i-e.b,e.a=t-e.b}function i4(e){var t,n,r;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),57),r=t.d.c,t.d.c=t.d.d,t.d.d=r,r=t.d.b,t.d.b=t.d.a,t.d.a=r,r=t.b.a,t.b.a=t.b.b,t.b.b=r;j4e(e)}function s4(e){var t,n,r;for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),81),r=t.g.c,t.g.c=t.g.d,t.g.d=r,r=t.g.b,t.g.b=t.g.a,t.g.a=r,r=t.e.a,t.e.a=t.e.b,t.e.b=r;RH(e)}function Ycn(e){var t,n,r,i,a;for(a=A6(e.k),n=(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])),r=0,i=n.length;r<i;++r)if(t=n[r],t!=cc&&!a.Hc(t))return t;return null}function Xie(e,t){var n,r;return r=u(j2e(Vre(qi(new mn(null,new kn(t.j,16)),new mX))),11),r&&(n=u(It(r.e,0),17),n)?u(W(n,(nt(),Oc)),19).a:Ttn(e.b)}function Xcn(e,t){var n,r,i,a;for(a=new C(t.a);a.a<a.c.c.length;)for(i=u(Y(a),10),wT(e.d),r=new ur(dr(Fs(i).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),sat(e,i,n.d.i)}function Qcn(e,t){var n,r;for(_u(e.b,t),r=new C(e.n);r.a<r.c.c.length;)if(n=u(Y(r),211),Ko(n.c,t,0)!=-1){_u(n.c,t),Wcn(n),n.c.c.length==0&&_u(e.n,n);break}u2n(e)}function hit(e,t){var n,r,i,a,h;for(h=e.f,i=0,a=0,r=new C(e.a);r.a<r.c.c.length;)n=u(Y(r),187),LD(n,e.e,h),KM(n,t),a=b.Math.max(a,n.r),h+=n.d+e.c,i=h;e.d=a,e.b=i}function fit(e){var t,n;return n=UD(e),vx(n)?null:(t=(Or(n),u(krt(new ur(dr(n.a.Kc(),new V))),79)),Ho(u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82)))}function CH(e){var t;return e.o||(t=e.Lj(),t?e.o=new Dve(e,e,null):e.rk()?e.o=new ube(e,null):Mv(No((Uu(),Oa),e))==1?e.o=new XXe(e):e.o=new Bte(e,null)),e.o}function Zcn(e,t,n,r){var i,a,h,d,v;n.mh(t)&&(i=(h=t,h?u(r,49).xh(h):null),i&&(v=n.ah(t),d=t.t,d>1||d==-1?(a=u(v,15),i.Wb(Jsn(e,a))):i.Wb(Pse(e,u(v,56)))))}function Jcn(e,t,n,r){YHe();var i=jce;function a(){for(var h=0;h<i.length;h++)i[h]()}if(e)try{Q3t(a)()}catch(h){e(t,h)}else Q3t(a)()}function eun(e){var t,n,r,i,a;for(r=new ib(new lg(e.b).a);r.b;)n=jv(r),t=u(n.cd(),10),a=u(u(n.dd(),46).a,10),i=u(u(n.dd(),46).b,8),Ni(Yf(t.n),Ni(fc(a.n),i))}function tun(e){switch(u(W(e.b,(mt(),tTe)),375).g){case 1:ms(Eu(rc(new mn(null,new kn(e.d,16)),new tB),new tv),new nB);break;case 2:q0n(e);break;case 0:_hn(e)}}function nun(e,t,n){var r;Er(n,"Straight Line Edge Routing",1),n.n&&t&&wf(n,mf(t),(Ol(),rh)),r=u(jt(t,(JT(),ES)),33),Rct(e,r),n.n&&t&&wf(n,mf(t),(Ol(),rh))}function Jm(){Jm=de,She=new jT("V_TOP",0),_O=new jT("V_CENTER",1),TO=new jT("V_BOTTOM",2),Che=new jT("H_LEFT",3),xO=new jT("H_CENTER",4),EO=new jT("H_RIGHT",5)}function _3e(e){var t;return e.Db&64?nH(e):(t=new Oh(nH(e)),t.a+=" (abstract: ",gg(t,(e.Bb&256)!=0),t.a+=", interface: ",gg(t,(e.Bb&512)!=0),t.a+=")",t.a)}function run(e,t,n,r){var i,a,h,d;return Sl(e.e)&&(i=t.ak(),d=t.dd(),a=n.dd(),h=Pp(e,1,i,d,a,i.$j()?d7(e,i,a,me(i,99)&&(u(i,18).Bb&ao)!=0):-1,!0),r?r.Ei(h):r=h),r}function iun(e){var t;e.c==null&&(t=$e(e.b)===$e(oxe)?null:e.b,e.d=t==null?Iu:DKe(t)?jVt(UWe(t)):ga(t)?q5e:xp(pl(t)),e.a=e.a+": "+(DKe(t)?IUt(UWe(t)):t+""),e.c="("+e.d+") "+e.a)}function C3e(e,t){this.e=e,wv(Gs(t,-4294967296),0)?(this.d=1,this.a=ie(ne(Sr,1),Jr,25,15,[Ir(t)])):(this.d=2,this.a=ie(ne(Sr,1),Jr,25,15,[Ir(t),Ir(Mp(t,32))]))}function sun(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===aae&&Map.prototype.entries&&e()?Map:Lvn()}function aun(e,t){var n,r,i,a;for(a=new Ca(e.e,0),n=0;a.b<a.d.gc();){if(r=We((Qn(a.b<a.d.gc()),gt(a.d.Xb(a.c=a.b++)))),i=r-t,i>qoe)return n;i>-1e-6&&++n}return n}function S3e(e,t){var n;t!=e.b?(n=null,e.b&&(n=Fj(e.b,e,-4,n)),t&&(n=W6(t,e,-4,n)),n=Utt(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function dit(e,t){var n;t!=e.f?(n=null,e.f&&(n=Fj(e.f,e,-1,n)),t&&(n=W6(t,e,-1,n)),n=Ktt(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,t,t))}function git(e){var t,n,r;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(r=new dg,t=n.Kc();t.Ob();)To(r,(Bi(),Hr(t.Pb()))),r.a+=" ";return mte(r,r.a.length-1)}function pit(e){var t,n,r;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(r=new dg,t=n.Kc();t.Ob();)To(r,(Bi(),Hr(t.Pb()))),r.a+=" ";return mte(r,r.a.length-1)}function oun(e,t,n){var r,i;return r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],r.a!=null&&i.a!=null?one(r.a,i.a):r.a!=null?-1:i.a!=null?1:0}function cun(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new q2(a),d=(n.b-n.a)*n.c<0?(_p(),x2):new Lp(n);d.Ob();)h=u(d.Pb(),19),i=bx(t,h.a),r=new gje(e),QXt(r.a,i)}function uun(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new q2(a),d=(n.b-n.a)*n.c<0?(_p(),x2):new Lp(n);d.Ob();)h=u(d.Pb(),19),i=bx(t,h.a),r=new sje(e),XXt(r.a,i)}function lun(e){var t;if(e!=null&&e.length>0&&Ma(e,e.length-1)==33)try{return t=fst($l(e,0,e.length-1)),t.e==null}catch(n){if(n=ts(n),!me(n,32))throw ee(n)}return!1}function bit(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Pp(e,3,r,null,a,d7(e,r,a,me(r,99)&&(u(r,18).Bb&ao)!=0),!0):Pp(e,1,r,r.zj(),a,-1,!0),n?n.Ei(i):n=i,n}function hun(){var e,t,n;for(t=0,e=0;e<1;e++){if(n=m4e((zr(e,1),"X".charCodeAt(e))),n==0)throw ee(new $r("Unknown Option: "+"X".substr(e)));t|=n}return t}function fun(e,t,n){var r,i,a;switch(r=Xa(t),i=Z$(r),a=new Fc,nc(a,t),n.g){case 1:qs(a,ED(U6(i)));break;case 2:qs(a,U6(i))}return Qe(a,(mt(),Iy),gt(W(e,Iy))),a}function A3e(e){var t,n;return t=u(Nr(new ur(dr(Wo(e.a).a.Kc(),new V))),17),n=u(Nr(new ur(dr(Fs(e.a).a.Kc(),new V))),17),Bt(Nt(W(t,(nt(),U1))))||Bt(Nt(W(n,U1)))}function a4(){a4=de,iq=new nM("ONE_SIDE",0),aq=new nM("TWO_SIDES_CORNER",1),oq=new nM("TWO_SIDES_OPPOSING",2),sq=new nM("THREE_SIDES",3),rq=new nM("FOUR_SIDES",4)}function Qie(e,t,n,r,i){var a,h;a=u(Gl(qi(t.Oc(),new oX),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),h=u(eb(e.b,n,r),15),i==0?h.Wc(0,a):h.Gc(a)}function dun(e,t){var n,r,i,a,h;for(a=new C(t.a);a.a<a.c.c.length;)for(i=u(Y(a),10),r=new ur(dr(Wo(i).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),h=n.c.i.p,e.n[h]=e.n[h]-1}function gun(e,t){var n,r,i,a,h;for(a=new C(t.d);a.a<a.c.c.length;)for(i=u(Y(a),101),h=u(Jn(e.c,i),112).o,r=new b6(i.b);r.a<r.c.a.length;)n=u(m_(r),61),jwe(i,n,h)}function pun(e){var t,n;for(n=new C(e.e.b);n.a<n.c.c.length;)t=u(Y(n),29),Vbn(e,t);ms(qi(rc(rc(new mn(null,new kn(e.e.b,16)),new VX),new gB),new YX),new $Re(e))}function L3e(e,t){return t?e.Di(t)?!1:e.i?e.i.Ei(t):me(t,143)?(e.i=u(t,143),!0):(e.i=new W5,e.i.Ei(t)):!1}function bun(e){if(e=Kc(e,!0),on(I7,e)||on("1",e))return In(),j7;if(on(sce,e)||on("0",e))return In(),Tb;throw ee(new Dee("Invalid boolean value: '"+e+"'"))}function M3e(e,t,n){var r,i,a;for(i=e.vc().Kc();i.Ob();)if(r=u(i.Pb(),42),a=r.cd(),$e(t)===$e(a)||t!=null&&Ci(t,a))return n&&(r=new dR(r.cd(),r.dd()),i.Qb()),r;return null}function vun(e){Am();var t,n,r;e.B.Hc((wl(),yV))&&(r=e.f.i,t=new Bj(e.a.c),n=new h6,n.b=t.c-r.c,n.d=t.d-r.d,n.c=r.c+r.b-(t.c+t.b),n.a=r.d+r.a-(t.d+t.a),e.e.Ff(n))}function vit(e,t,n,r){var i,a,h;for(h=b.Math.min(n,_ct(u(e.b,65),t,n,r)),a=new C(e.a);a.a<a.c.c.length;)i=u(Y(a),221),i!=t&&(h=b.Math.min(h,vit(i,t,h,r)));return h}function D3e(e){var t,n,r,i;for(i=Ie(c0,Je,193,e.b.c.length,0,2),r=new Ca(e.b,0);r.b<r.d.gc();)t=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),29)),n=r.b-1,i[n]=jM(t.a);return i}function Zie(e,t,n,r,i){var a,h,d,v;for(h=NGt(dpe(Dbe(Gan(n)),r),Zon(e,n,i)),v=Mg(e,n).Kc();v.Ob();)d=u(v.Pb(),11),t[d.p]&&(a=t[d.p].i,st(h.d,new ine(a,hye(h,a))));Sye(h)}function I3e(e,t){this.f=new Ar,this.b=new Ar,this.j=new Ar,this.a=e,this.c=t,this.c>0&&zrt(this,this.c-1,(dt(),$n)),this.c<this.a.length-1&&zrt(this,this.c+1,(dt(),On))}function O3e(e){e.length>0&&e[0].length>0&&(this.c=Bt(Nt(W(Xa(e[0][0]),(nt(),l9e))))),this.a=Ie(mvt,Je,2018,e.length,0,2),this.b=Ie(yvt,Je,2019,e.length,0,2),this.d=new jtt}function wun(e){return e.c.length==0?!1:(En(0,e.c.length),u(e.c[0],17)).c.i.k==(zn(),ca)?!0:wx(Eu(new mn(null,new kn(e,16)),new BX),new FX)}function mun(e,t,n){return Er(n,"Tree layout",1),Kj(e.b),Kd(e.b,(Jx(),Uq),Uq),Kd(e.b,wS,wS),Kd(e.b,pO,pO),Kd(e.b,mS,mS),e.a=JH(e.b,t),Wdn(e,t,Vc(n,1)),lr(n),t}function wit(e,t){var n,r,i,a,h,d,v;for(d=sy(t),a=t.f,v=t.g,h=b.Math.sqrt(a*a+v*v),i=0,r=new C(d);r.a<r.c.c.length;)n=u(Y(r),33),i+=wit(e,n);return b.Math.max(i,h)}function ya(){ya=de,g2=new HT(bC,0),Y1=new HT("FREE",1),mE=new HT("FIXED_SIDE",2),Fb=new HT("FIXED_ORDER",3),f0=new HT("FIXED_RATIO",4),Zc=new HT("FIXED_POS",5)}function yun(e,t){var n,r,i;if(n=t.Hh(e.a),n){for(i=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Vh)),r=1;r<(Uu(),_Ae).length;++r)if(on(_Ae[r],i))return r}return 0}function kun(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],O0(a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function xun(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],O0(a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function mit(e){var t,n,r;for(r=new tb(so,"{","}"),n=e.vc().Kc();n.Ob();)t=u(n.Pb(),42),O0(r,qXe(e,t.cd())+"="+qXe(e,t.dd()));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function Eun(e){for(var t,n,r,i;!vT(e.o);)n=u(L6(e.o),46),r=u(n.a,121),t=u(n.b,213),i=tH(t,r),t.e==r?(qR(i.g,t),r.e=i.e+t.a):(qR(i.b,t),r.e=i.e-t.a),st(e.e.a,r)}function N3e(e,t){var n,r,i;for(n=null,i=u(t.Kb(e),20).Kc();i.Ob();)if(r=u(i.Pb(),17),!n)n=r.c.i==e?r.d.i:r.c.i;else if((r.c.i==e?r.d.i:r.c.i)!=n)return!1;return!0}function yit(e,t){var n,r,i,a,h;for(n=$at(e,!1,t),i=new C(n);i.a<i.c.c.length;)r=u(Y(i),129),r.d==0?(Gne(r,null),qne(r,null)):(a=r.a,h=r.b,Gne(r,h),qne(r,a))}function Tun(e){var t,n;return t=new Xs,Ul(t,ewt),n=u(W(e,(nt(),Qc)),21),n.Hc((mo(),tS))&&Ul(t,iwt),n.Hc(eE)&&Ul(t,twt),n.Hc(F4)&&Ul(t,rwt),n.Hc(tE)&&Ul(t,nwt),t}function _un(e){var t,n,r,i;for(K2n(e),n=new ur(dr(j0(e).a.Kc(),new V));Vr(n);)t=u(Nr(n),17),r=t.c.i==e,i=r?t.d:t.c,r?wa(t,null):Ka(t,null),Qe(t,(nt(),g9e),i),Nfn(e,i.i)}function Cun(e,t,n,r){var i,a;switch(a=t.i,i=n[a.g][e.d[a.g]],a.g){case 1:i-=r+t.j.b,t.g.b=i;break;case 3:i+=r,t.g.b=i;break;case 4:i-=r+t.j.a,t.g.a=i;break;case 2:i+=r,t.g.a=i}}function Sun(e){var t,n,r;for(n=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));n.e!=n.i.gc();)if(t=u(br(n),33),r=UD(t),!Vr(new ur(dr(r.a.Kc(),new V))))return t;return null}function Aun(){var e;return Wyt?u(c7((Tp(),tf),N7),2016):(e=u(me(Gc((Tp(),tf),N7),555)?Gc(tf,N7):new uat,555),Wyt=!0,Ibn(e),$wn(e),Vie(e),Io(tf,N7,e),e)}function Jie(e,t,n){var r,i;if(e.j==0)return n;if(i=u(HJe(e,t,n),72),r=n.ak(),!r.Ij()||!e.a.rl(r))throw ee(new ec("Invalid entry feature '"+r.Hj().zb+"."+r.ne()+"'"));return i}function Lun(e,t){var n,r,i,a,h,d,v,x;for(d=e.a,v=0,x=d.length;v<x;++v)for(h=d[v],r=h,i=0,a=r.length;i<a;++i)if(n=r[i],$e(t)===$e(n)||t!=null&&Ci(t,n))return!0;return!1}function Mun(e){var t,n,r;return Lc(e,0)>=0?(n=PD(e,uz),r=CD(e,uz)):(t=Im(e,1),n=PD(t,5e8),r=CD(t,5e8),r=Wa(A0(r,1),Gs(e,1))),D1(A0(r,32),Gs(n,yo))}function kit(e,t,n){var r,i;switch(r=(Qn(t.b!=0),u(bh(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 i=si(t,0),MM(i,r),t}function xit(e,t,n,r){var i,a,h,d,v;switch(v=e.b,a=t.d,h=a.j,d=zye(h,v.d[h.g],n),i=Ni(fc(a.n),a.a),a.j.g){case 1:case 3:d.a+=i.a;break;case 2:case 4:d.b+=i.b}ks(r,d,r.c.b,r.c)}function Dun(e,t,n){var r,i,a,h;for(h=Ko(e.e,t,0),a=new Uge,a.b=n,r=new Ca(e.e,h);r.b<r.d.gc();)i=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),10)),i.p=n,st(a.e,i),Dl(r);return a}function Iun(e,t,n,r){var i,a,h,d,v;for(i=null,a=0,d=new C(t);d.a<d.c.c.length;)h=u(Y(d),33),v=h.i+h.g,e<h.j+h.f+r&&(i?n.i-v<n.i-a&&(i=h):i=h,a=i.i+i.g);return i?a+r:0}function Oun(e,t,n,r){var i,a,h,d,v;for(a=null,i=0,d=new C(t);d.a<d.c.c.length;)h=u(Y(d),33),v=h.j+h.f,e<h.i+h.g+r&&(a?n.j-v<n.j-i&&(a=h):a=h,i=a.j+a.f);return a?i+r:0}function Nun(e){var t,n,r;for(t=!1,r=e.b.c.length,n=0;n<r;n++)Hme(u(It(e.b,n),434))?!t&&n+1<r&&Hme(u(It(e.b,n+1),434))&&(t=!0,u(It(e.b,n),434).a=!0):t=!1}function Pun(e,t,n,r,i){var a,h;for(a=0,h=0;h<i;h++)a=Wa(a,Gp(Gs(t[h],yo),Gs(r[h],yo))),e[h]=Ir(a),a=Mp(a,32);for(;h<n;h++)a=Wa(a,Gs(t[h],yo)),e[h]=Ir(a),a=Mp(a,32)}function Bun(e,t){a7();var n,r;for(r=(Kp(),mG),n=e;t>1;t>>=1)t&1&&(r=V3(r,n)),n.d==1?n=V3(n,n):n=new Unt(tct(n.a,n.d,Ie(Sr,Jr,25,n.d<<1,15,1)));return r=V3(r,n),r}function P3e(){P3e=de;var e,t,n,r;for(Bxe=Ie(va,Ao,25,25,15,1),Fxe=Ie(va,Ao,25,33,15,1),r=152587890625e-16,t=32;t>=0;t--)Fxe[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)Bxe[e]=n,n*=.5}function Fun(e){var t,n;if(Bt(Nt(jt(e,(mt(),Dy))))){for(n=new ur(dr(z0(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),79),Jv(t)&&Bt(Nt(jt(t,Ab))))return!0}return!1}function Eit(e,t){var n,r,i;zs(e.f,t)&&(t.b=e,r=t.c,Ko(e.j,r,0)!=-1||st(e.j,r),i=t.d,Ko(e.j,i,0)!=-1||st(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new trt(e)),Jnn(e.i,n)))}function Run(e){var t,n,r,i,a;return n=e.c.d,r=n.j,i=e.d.d,a=i.j,r==a?n.p<i.p?0:1:Q$(r)==a?0:fye(r)==a?1:(t=e.b,zu(t.b,Q$(r))?0:1)}function SH(){SH=de,Ile=new BT(Fht,0),PTe=new BT("LONGEST_PATH",1),Dle=new BT("COFFMAN_GRAHAM",2),NTe=new BT(hoe,3),BTe=new BT("STRETCH_WIDTH",4),Fq=new BT("MIN_WIDTH",5)}function hb(e){var t;this.d=new Ar,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new vKe(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=u(Wf(MV),9),new hh(t,u(bf(t,t.length),9),0))}function AH(e,t){var n,r,i,a,h,d;i=e,h=w_(i,"layoutOptions"),!h&&(h=w_(i,Pft)),h&&(d=h,r=null,d&&(r=(a=Pre(d,Ie(Et,Je,2,0,6,1)),new jee(d,a))),r&&(n=new IGe(d,t),Da(r,n)))}function Ho(e){if(me(e,239))return u(e,33);if(me(e,186))return A1(u(e,118));throw ee(e?new fg("Only support nodes and ports."):new d6(qft))}function jun(e,t,n,r){return(t>=0&&on(e.substr(t,3),"GMT")||t>=0&&on(e.substr(t,3),"UTC"))&&(n[0]=t+3),c5e(e,n,r)}function $un(e,t){var n,r,i,a,h;for(a=e.g.a,h=e.g.b,r=new C(e.d);r.a<r.c.c.length;)n=u(Y(r),70),i=n.n,i.a=a,e.i==(dt(),Ln)?i.b=h+e.j.b-n.o.b:i.b=h,Ni(i,t),a+=n.o.a+e.e}function Er(e,t,n){if(e.b)throw ee(new Vo("The task is already done."));return e.p!=null?!1:(e.p=t,e.r=n,e.k&&(e.o=(Gd(),Ha(Mu(Date.now()),Ig))),!0)}function B3e(e){var t,n,r,i,a,h,d;return d=new f6,n=e.tg(),i=n!=null,i&&sx(d,Ad,e.tg()),r=e.ne(),a=r!=null,a&&sx(d,fi,e.ne()),t=e.sg(),h=t!=null,h&&sx(d,"description",e.sg()),d}function Tit(e,t,n){var r,i,a;return a=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(i=new oa(e,1,9,a,t),n?n.Ei(i):n=i),t?(r=t.c,r!=e.r&&(n=e.nk(r,n))):e.r&&(n=e.nk(null,n)),n}function Hun(e,t,n){var r,i,a,h,d;for(n=(d=t,W6(d,e.e,-1-e.c,n)),h=Ove(e.a),a=(r=new ib(new lg(h.a).a),new RF(r));a.a.b;)i=u(jv(a.a).cd(),87),n=b7(i,BH(i,e.a),n);return n}function zun(e,t,n){var r,i,a,h,d;for(n=(d=t,Fj(d,e.e,-1-e.c,n)),h=Ove(e.a),a=(r=new ib(new lg(h.a).a),new RF(r));a.a.b;)i=u(jv(a.a).cd(),87),n=b7(i,BH(i,e.a),n);return n}function Gun(e,t,n,r){var i,a,h;if(r==0)Rc(t,0,e,n,e.length-n);else for(h=32-r,e[e.length-1]=0,a=e.length-1;a>n;a--)e[a]|=t[a-n-1]>>>h,e[a-1]=t[a-n-1]<<r;for(i=0;i<n;i++)e[i]=0}function qun(e){var t,n,r,i,a;for(t=0,n=0,a=e.Kc();a.Ob();)r=u(a.Pb(),111),t=b.Math.max(t,r.d.b),n=b.Math.max(n,r.d.c);for(i=e.Kc();i.Ob();)r=u(i.Pb(),111),r.d.b=t,r.d.c=n}function Vun(e){var t,n,r,i,a;for(n=0,t=0,a=e.Kc();a.Ob();)r=u(a.Pb(),111),n=b.Math.max(n,r.d.d),t=b.Math.max(t,r.d.a);for(i=e.Kc();i.Ob();)r=u(i.Pb(),111),r.d.d=n,r.d.a=t}function _it(e,t){var n,r,i,a;for(a=new at,i=0,r=t.Kc();r.Ob();){for(n=lt(u(r.Pb(),19).a+i);n.a<e.f&&!PYt(e,n.a);)n=lt(n.a+1),++i;if(n.a>=e.f)break;a.c[a.c.length]=n}return a}function F3e(e){var t,n,r,i;for(t=null,i=new C(e.wf());i.a<i.c.c.length;)r=u(Y(i),181),n=new fh(r.qf().a,r.qf().b,r.rf().a,r.rf().b),t?W_(t,n):t=n;return!t&&(t=new k6),t}function ese(e,t,n,r){var i,a;return n==1?(!e.n&&(e.n=new ot(Qo,e,1,7)),ru(e.n,t,r)):(a=u(bn((i=u(Cn(e,16),26),i||e.zh()),n),66),a.Nj().Qj(e,uu(e),n-Zn(e.zh()),t,r))}function tse(e,t,n){var r,i,a,h,d;for(r=n.gc(),e.qi(e.i+r),d=e.i-t,d>0&&Rc(e.g,t,e.g,t+r,d),h=n.Kc(),e.i+=r,i=0;i<r;++i)a=h.Pb(),YT(e,t,e.oi(t,a)),e.bi(t,a),e.ci(),++t;return r!=0}function j1(e,t,n){var r;return t!=e.q?(e.q&&(n=Fj(e.q,e,-10,n)),t&&(n=W6(t,e,-10,n)),n=Tit(e,t,n)):e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,9,t,t),n?n.Ei(r):n=r),n}function nse(e,t,n,r){return Cbe((n&md)==0,"flatMap does not support SUBSIZED characteristic"),Cbe((n&4)==0,"flatMap does not support SORTED characteristic"),Or(e),Or(t),new AXe(e,n,r,t)}function Uun(e,t){kve(t,"Cannot suppress a null exception."),tj(t!=e,"Exception can not suppress itself."),!e.i&&(e.k==null?e.k=ie(ne(Uce,1),Je,78,0,[t]):e.k[e.k.length]=t)}function o4(e,t,n,r){var i,a,h,d,v,x;for(h=n.length,a=0,i=-1,x=vJe(e.substr(t),(Gte(),Nxe)),d=0;d<h;++d)v=n[d].length,v>a&&nXt(x,vJe(n[d],Nxe))&&(i=d,a=v);return i>=0&&(r[0]=t+a),i}function Kun(e,t){var n;if(n=gqe(e.b.Hf(),t.b.Hf()),n!=0)return n;switch(e.b.Hf().g){case 1:case 2:return ku(e.b.sf(),t.b.sf());case 3:case 4:return ku(t.b.sf(),e.b.sf())}return 0}function Wun(e){var t,n,r;for(r=e.e.c.length,e.a=G2(Sr,[Je,Jr],[48,25],15,[r,r],2),n=new C(e.c);n.a<n.c.c.length;)t=u(Y(n),282),e.a[t.c.b][t.d.b]+=u(W(t,(r1(),q7)),19).a}function Yun(e,t,n){Er(n,"Grow Tree",1),e.b=t.f,Bt(Nt(W(t,(Nx(),UC))))?(e.c=new Es,$Ye(e,null)):e.c=new Es,e.a=!1,Vat(e,t.f),Qe(t,g7e,(In(),!!e.a)),lr(n)}function Xun(e,t){var n,r,i,a,h;if(e==null)return null;for(h=Ie(Sh,yd,25,2*t,15,1),r=0,i=0;r<t;++r)n=e[r]>>4&15,a=e[r]&15,h[i++]=JSe[n],h[i++]=JSe[a];return Fh(h,0,h.length)}function Qun(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Pp(e,4,r,a,null,d7(e,r,a,me(r,99)&&(u(r,18).Bb&ao)!=0),!0):Pp(e,r.Kj()?2:1,r,a,r.zj(),-1,!0),n?n.Ei(i):n=i,n}function Du(e){var t,n;return e>=ao?(t=dI+(e-ao>>10&1023)&Ss,n=56320+(e-ao&1023)&Ss,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&Ss)}function Zun(e,t){Am();var n,r,i,a;return i=u(u(Oi(e.r,t),21),84),i.gc()>=2?(r=u(i.Kc().Pb(),111),n=e.u.Hc((al(),BS)),a=e.u.Hc(Fk),!r.a&&!n&&(i.gc()==2||a)):!1}function Cit(e,t,n,r,i){var a,h,d;for(a=uot(e,t,n,r,i),d=!1;!a;)NH(e,i,!0),d=!0,a=uot(e,t,n,r,i);d&&NH(e,i,!1),h=$re(i),h.c.length!=0&&(e.d&&e.d.lg(h),Cit(e,i,n,r,h))}function LH(){LH=de,zhe=new $T(U0,0),SSe=new $T("DIRECTED",1),LSe=new $T("UNDIRECTED",2),_Se=new $T("ASSOCIATION",3),ASe=new $T("GENERALIZATION",4),CSe=new $T("DEPENDENCY",5)}function Jun(e,t){var n;if(!A1(e))throw ee(new Vo(kft));switch(n=A1(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 r7(e,t){var n,r;for(An(t),r=e.b.c.length,st(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.ue(It(e.b,r),t)<=0)return gh(e.b,n,t),!0;gh(e.b,n,It(e.b,r))}return gh(e.b,r,t),!0}function R3e(e,t,n,r){var i,a;if(i=0,n)i=K$(e.a[n.g][t.g],r);else for(a=0;a<CG;a++)i=b.Math.max(i,K$(e.a[a][t.g],r));return t==(Jf(),au)&&e.b&&(i=b.Math.max(i,e.b.a)),i}function eln(e,t){var n,r,i,a,h,d;return i=e.i,a=t.i,!i||!a||i.i!=a.i||i.i==(dt(),$n)||i.i==(dt(),On)?!1:(h=i.g.a,n=h+i.j.a,d=a.g.a,r=d+a.j.a,h<=r&&n>=d)}function j3e(e,t,n,r){var i;if(i=!1,ga(r)&&(i=!0,sx(t,n,Hr(r))),i||Tm(r)&&(i=!0,j3e(e,t,n,r)),i||me(r,236)&&(i=!0,U2(t,n,u(r,236))),!i)throw ee(new Aee(O8e))}function tln(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Gh),i!=null)){for(r=1;r<(Uu(),EAe).length;++r)if(on(EAe[r],i))return r}return 0}function nln(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Gh),i!=null)){for(r=1;r<(Uu(),TAe).length;++r)if(on(TAe[r],i))return r}return 0}function Sit(e,t){var n,r,i,a;if(An(t),a=e.a.gc(),a<t.gc())for(n=e.a.ec().Kc();n.Ob();)r=n.Pb(),t.Hc(r)&&n.Qb();else for(i=t.Kc();i.Ob();)r=i.Pb(),e.a.Bc(r)!=null;return a!=e.a.gc()}function Ait(e){var t,n;switch(n=fc(ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:n.b-=t.d;break;case 2:n.a+=t.c;break;case 3:n.b+=t.a;break;case 4:n.a-=t.b}return n}function rln(e){var t;for(t=(G6(),u(Nr(new ur(dr(Wo(e).a.Kc(),new V))),17).c.i);t.k==(zn(),ca);)Qe(t,(nt(),rO),(In(),!0)),t=u(Nr(new ur(dr(Wo(t).a.Kc(),new V))),17).c.i}function rse(e,t,n,r){var i,a,h,d;for(d=N_(t,r),h=d.Kc();h.Ob();)i=u(h.Pb(),11),e.d[i.p]=e.d[i.p]+e.c[n.p];for(d=N_(n,r),a=d.Kc();a.Ob();)i=u(a.Pb(),11),e.d[i.p]=e.d[i.p]-e.c[t.p]}function $3e(e,t,n){var r,i;for(i=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));i.e!=i.i.gc();)r=u(br(i),33),_1(r,r.i+t,r.j+n);Da((!e.b&&(e.b=new ot(ta,e,12,3)),e.b),new kGe(t,n))}function iln(e,t,n,r){var i,a;for(a=t,i=a.d==null||e.a.ue(n.d,a.d)>0?1:0;a.a[i]!=n;)a=a.a[i],i=e.a.ue(n.d,a.d)>0?1:0;a.a[i]=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 sln(e){al();var t,n;return t=Vi(Z0,ie(ne(mV,1),rt,273,0,[p2])),!(cD($j(t,e))>1||(n=Vi(BS,ie(ne(mV,1),rt,273,0,[PS,Fk])),cD($j(n,e))>1))}function H3e(e,t){var n;n=Gc((Tp(),tf),e),me(n,498)?Io(tf,e,new qGe(this,t)):Io(tf,e,this),ise(this,t),t==(q8(),hAe)?(this.wb=u(this,1939),u(t,1941)):this.wb=(Op(),Tn)}function aln(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n<$S.length;++n)try{return Nze($S[n],e)}catch(i){if(i=ts(i),me(i,32))r=i,t=r;else throw ee(i)}throw ee(new h$(t))}function Lit(){Lit=de,jdt=ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),$dt=ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Mit(e){var t,n,r;t=on(typeof t,Hae)?null:new na,t&&(Y8(),n=(r=900,r>=Ig?"error":r>=900?"warn":r>=800?"info":"log"),hWe(n,e.a),e.b&&H4e(t,n,e.b,"Exception: ",!0))}function W(e,t){var n,r;return r=(!e.q&&(e.q=new Ar),Jn(e.q,t)),r??(n=t.wg(),me(n,4)&&(n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n))),n)}function io(){io=de,Dd=new tM("P1_CYCLE_BREAKING",0),i2=new tM("P2_LAYERING",1),fu=new tM("P3_NODE_ORDERING",2),Yc=new tM("P4_NODE_PLACEMENT",3),zo=new tM("P5_EDGE_ROUTING",4)}function Dit(e,t){var n,r,i,a,h;for(i=t==1?Eue:xue,r=i.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),103),h=u(Oi(e.f.c,n),21).Kc();h.Ob();)a=u(h.Pb(),46),_u(e.b.b,a.b),_u(e.b.a,u(a.b,81).d)}function oln(e,t){E_();var n;if(e.c==t.c){if(e.b==t.b||Inn(e.b,t.b)){if(n=Hqt(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return ku(e.b.g,t.b.g)}else return Bs(e.c,t.c)}function cln(e,t){var n;Er(t,"Hierarchical port position processing",1),n=e.b,n.c.length>0&&Xot((En(0,n.c.length),u(n.c[0],29)),e),n.c.length>1&&Xot(u(It(n,n.c.length-1),29),e),lr(t)}function Iit(e,t){var n,r,i;if(G3e(e,t))return!0;for(r=new C(t);r.a<r.c.c.length;)if(n=u(Y(r),33),i=fit(n),zH(e,n,i)||$tt(e,n)-e.g<=e.a)return!0;return!1}function FD(){FD=de,oV=(Ase(),xCe),khe=Pmt,yhe=Nmt,pCe=Dmt,mhe=Omt,gCe=new yv(8),Tmt=new fo((di(),Pb),gCe),_mt=new fo(Bb,8),Cmt=yCe,fCe=Smt,dCe=Amt,Emt=new fo(CO,(In(),!1))}function MH(){MH=de,jCe=new yv(15),Zmt=new fo((di(),Pb),jCe),Jmt=new fo(Bb,15),$Ce=new fo(bV,lt(0)),BCe=XCe,Xmt=Nb,Qmt=h2,PCe=new fo(Ok,rft),FCe=dV,RCe=Z4,_he=ryt,Ymt=fV}function Jd(e){if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i!=1)throw ee(new Dn(wce));return Ho(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))}function Oit(e){if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i!=1)throw ee(new Dn(wce));return dD(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))}function Nit(e){if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i!=1)throw ee(new Dn(wce));return dD(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))}function qp(e){if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i!=1)throw ee(new Dn(wce));return Ho(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))}function z3e(e,t,n){var r,i,a;if(++e.j,i=e.Vi(),t>=i||t<0)throw ee(new Mo(mce+t+yb+i));if(n>=i||n<0)throw ee(new Mo(yce+n+yb+i));return t!=n?r=(a=e.Ti(n),e.Hi(t,a),a):r=e.Oi(n),r}function Pit(e){var t,n,r;if(r=e,e)for(t=0,n=e.Ug();n;n=n.Ug()){if(++t>Oae)return Pit(n);if(r=n,n==e)throw ee(new Vo("There is a cycle in the containment hierarchy of "+e))}return r}function Vp(e){var t,n,r;for(r=new tb(so,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),O0(r,$e(t)===$e(e)?"(this Collection)":t==null?Iu:Yo(t));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function G3e(e,t){var n,r;if(r=!1,t.gc()<2)return!1;for(n=0;n<t.gc();n++)n<t.gc()-1?r=r|zH(e,u(t.Xb(n),33),u(t.Xb(n+1),33)):r=r|zH(e,u(t.Xb(n),33),u(t.Xb(0),33));return r}function Bit(e,t){var n;t!=e.a?(n=null,e.a&&(n=u(e.a,49).ih(e,4,c1,n)),t&&(n=u(t,49).gh(e,4,c1,n)),n=tye(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,t,t))}function q3e(e,t){var n;t!=e.e?(e.e&&GQe(Ove(e.e),e),t&&(!t.b&&(t.b=new FF(new Eee)),rUe(t.b,e)),n=mcn(e,t,null),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,4,t,t))}function ey(e){var t,n,r;for(n=e.length,r=0;r<n&&(zr(r,e.length),e.charCodeAt(r)<=32);)++r;for(t=n;t>r&&(zr(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||t<n?e.substr(r,t-r):e}function uln(e,t){var n;n=t.o,Sp(e.f)?(e.j.a=b.Math.max(e.j.a,n.a),e.j.b+=n.b,e.d.c.length>1&&(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 Up(){Up=de,ppt=ie(ne(oo,1),Mc,61,0,[(dt(),Ln),$n,Tr]),gpt=ie(ne(oo,1),Mc,61,0,[$n,Tr,On]),bpt=ie(ne(oo,1),Mc,61,0,[Tr,On,Ln]),vpt=ie(ne(oo,1),Mc,61,0,[On,Ln,$n])}function lln(e,t,n,r){var i,a,h,d,v,x,T;if(h=e.c.d,d=e.d.d,h.j!=d.j)for(T=e.b,i=h.j,v=null;i!=d.j;)v=t==0?Q$(i):fye(i),a=zye(i,T.d[i.g],n),x=zye(v,T.d[v.g],n),oi(r,Ni(a,x)),i=v}function hln(e,t,n,r){var i,a,h,d,v;return h=Grt(e.a,t,n),d=u(h.a,19).a,a=u(h.b,19).a,r&&(v=u(W(t,(nt(),ol)),10),i=u(W(n,ol),10),v&&i&&(KXe(e.b,v,i),d+=e.b.i,a+=e.b.e)),d>a}function Fit(e){var t,n,r,i,a,h,d,v,x;for(this.a=frt(e),this.b=new at,n=e,r=0,i=n.length;r<i;++r)for(t=n[r],a=new at,st(this.b,a),d=t,v=0,x=d.length;v<x;++v)h=d[v],st(a,new Gu(h.j))}function fln(e,t,n){var r,i,a;return a=0,r=n[t],t<n.length-1&&(i=n[t+1],e.b[t]?(a=Fwn(e.d,r,i),a+=Ene(e.a,r,(dt(),$n)),a+=Ene(e.a,i,On)):a=rtn(e.a,r,i)),e.c[t]&&(a+=Cen(e.a,r)),a}function dln(e,t,n,r,i){var a,h,d,v;for(v=null,d=new C(r);d.a<d.c.c.length;)if(h=u(Y(d),441),h!=n&&Ko(h.e,i,0)!=-1){v=h;break}a=are(i),Ka(a,n.b),wa(a,v.b),an(e.a,i,new JR(a,t,n.f))}function Rit(e){for(;e.g.c!=0&&e.d.c!=0;)Pte(e.g).c>Pte(e.d).c?(e.i+=e.g.c,yie(e.d)):Pte(e.d).c>Pte(e.g).c?(e.e+=e.d.c,yie(e.g)):(e.i+=fKe(e.g),e.e+=fKe(e.d),yie(e.g),yie(e.d))}function gln(e,t,n){var r,i,a,h;for(a=t.q,h=t.r,new K2((Xf(),u2),t,a,1),new K2(u2,a,h,1),i=new C(n);i.a<i.c.c.length;)r=u(Y(i),112),r!=a&&r!=t&&r!=h&&(x5e(e.a,r,t),x5e(e.a,r,h))}function jit(e,t,n,r){e.a.d=b.Math.min(t,n),e.a.a=b.Math.max(t,r)-e.a.d,t<n?(e.b=.5*(t+n),e.g=Voe*e.b+.9*t,e.f=Voe*e.b+.9*n):(e.b=.5*(t+r),e.g=Voe*e.b+.9*r,e.f=Voe*e.b+.9*t)}function pln(){pG={},!Array.isArray&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"});function e(){return new Date().getTime()}!Date.now&&(Date.now=e)}function $it(e,t){var n,r;r=u(W(t,(mt(),vs)),98),Qe(t,(nt(),p9e),r),n=t.e,n&&(ms(new mn(null,new kn(n.a,16)),new Ts(e)),ms(rc(new mn(null,new kn(n.b,16)),new f9),new Wi(e)))}function bln(e){var t,n,r,i;if(Z8(u(W(e.b,(mt(),Jl)),103)))return 0;for(t=0,r=new C(e.a);r.a<r.c.c.length;)n=u(Y(r),10),n.k==(zn(),js)&&(i=n.o.a,t=b.Math.max(t,i));return t}function vln(e){switch(u(W(e,(mt(),du)),163).g){case 1:Qe(e,du,(mh(),iS));break;case 2:Qe(e,du,(mh(),Sy));break;case 3:Qe(e,du,(mh(),rS));break;case 4:Qe(e,du,(mh(),a2))}}function i7(){i7=de,JC=new PT(U0,0),ZEe=new PT(ak,1),t9e=new PT(ok,2),e9e=new PT("LEFT_RIGHT_CONSTRAINT_LOCKING",3),JEe=new PT("LEFT_RIGHT_CONNECTION_LOCKING",4),QEe=new PT(Tht,5)}function Hit(e,t,n){var r,i,a,h,d,v,x;d=n.a/2,a=n.b/2,r=b.Math.abs(t.a-e.a),i=b.Math.abs(t.b-e.b),v=1,x=1,r>d&&(v=d/r),i>a&&(x=a/i),h=b.Math.min(v,x),e.a+=h*(t.a-e.a),e.b+=h*(t.b-e.b)}function wln(e,t,n,r,i){var a,h;for(h=!1,a=u(It(n.b,0),33);Opn(e,t,a,r,i)&&(h=!0,Qcn(n,a),n.b.c.length!=0);)a=u(It(n.b,0),33);return n.b.c.length==0&&ND(n.j,n),h&&yH(t.q),h}function mln(e,t){f4();var n,r,i,a;if(t.b<2)return!1;for(a=si(t,0),n=u(ii(a),8),r=n;a.b!=a.d.c;){if(i=u(ii(a),8),Ese(e,r,i))return!0;r=i}return!!Ese(e,r,n)}function V3e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),QR(e.o,t,r)):(a=u(bn((i=u(Cn(e,16),26),i||e.zh()),n),66),a.Nj().Rj(e,uu(e),n-Zn(e.zh()),t,r))}function ise(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=u(e.sb,49).ih(e,1,jS,n)),t&&(n=u(t,49).gh(e,1,jS,n)),n=sye(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,4,t,t))}function yln(e,t){var n,r,i,a;if(t)i=B0(t,"x"),n=new hje(e),Cx(n.a,(An(i),i)),a=B0(t,"y"),r=new fje(e),Ax(r.a,(An(a),a));else throw ee(new ud("All edge sections need an end point."))}function kln(e,t){var n,r,i,a;if(t)i=B0(t,"x"),n=new cje(e),Sx(n.a,(An(i),i)),a=B0(t,"y"),r=new uje(e),Lx(r.a,(An(a),a));else throw ee(new ud("All edge sections need a start point."))}function xln(e,t){var n,r,i,a,h,d,v;for(r=Ett(e),a=0,d=r.length;a<d;++a)Mit(t);for(v=!q1&&e.e?q1?null:e.d:null;v;){for(n=Ett(v),i=0,h=n.length;i<h;++i)Mit(t);v=!q1&&v.e?q1?null:v.d:null}}function zn(){zn=de,js=new DT("NORMAL",0),ca=new DT("LONG_EDGE",1),Ls=new DT("EXTERNAL_PORT",2),Xc=new DT("NORTH_SOUTH_PORT",3),Pl=new DT("LABEL",4),V1=new DT("BREAKING_POINT",5)}function Eln(e){var t,n,r,i;if(t=!1,Js(e,(nt(),nS)))for(n=u(W(e,nS),83),i=new C(e.j);i.a<i.c.c.length;)r=u(Y(i),11),C1n(r)&&(t||(Hhn(Xa(e)),t=!0),San(u(n.xc(r),306)))}function Tln(e,t,n){var r;Er(n,"Self-Loop routing",1),r=Qin(t),DR(W(t,(i$(),SS))),ms(Eu(qi(qi(rc(new mn(null,new kn(t.b,16)),new f8),new $5),new y9),new MY),new Kze(e,r)),lr(n)}function _ln(e){var t,n,r,i,a,h,d,v,x;return x=B3e(e),n=e.e,a=n!=null,a&&sx(x,Wz,e.e),d=e.k,h=!!d,h&&sx(x,"type",Dte(e.k)),r=UL(e.j),i=!r,i&&(v=new cg,Zf(x,vce,v),t=new Ije(v),Da(e.j,t)),x}function Cln(e){var t,n,r,i;for(i=Ip((Vl(e.gc(),"size"),new ym),123),r=!0,n=_v(e).Kc();n.Ob();)t=u(n.Pb(),42),r||(i.a+=so),r=!1,kc(Ip(kc(i,t.cd()),61),t.dd());return(i.a+="}",i).a}function zit(e,t){var n,r,i;return t&=63,t<22?(n=e.l<<t,r=e.m<<t|e.l>>22-t,i=e.h<<t|e.m>>22-t):t<44?(n=0,r=e.l<<t-22,i=e.m<<t-22|e.l>>44-t):(n=0,r=0,i=e.l<<t-44),cu(n&ml,r&ml,i&V0)}function ty(e){if(dxe==null&&(dxe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!dxe.test(e))throw ee(new ld(ow+e+'"'));return parseFloat(e)}function Sln(e){var t,n,r,i;for(t=new at,n=Ie(El,s0,25,e.a.c.length,16,1),wve(n,n.length),i=new C(e.a);i.a<i.c.c.length;)r=u(Y(i),121),n[r.d]||(t.c[t.c.length]=r,Znt(e,r,n));return t}function Aln(e,t){var n,r,i,a;for(a=t.b.j,e.a=Ie(Sr,Jr,25,a.c.length,15,1),i=0,r=0;r<a.c.length;r++)n=(En(r,a.c.length),u(a.c[r],11)),n.e.c.length==0&&n.g.c.length==0?i+=1:i+=3,e.a[r]=i}function DH(){DH=de,Yue=new OT("ALWAYS_UP",0),Wue=new OT("ALWAYS_DOWN",1),Que=new OT("DIRECTION_UP",2),Xue=new OT("DIRECTION_DOWN",3),Zue=new OT("SMART_UP",4),lq=new OT("SMART_DOWN",5)}function Lln(e,t){if(e<0||t<0)throw ee(new Dn("k and n must be positive"));if(t>e)throw ee(new Dn("k must be smaller than n"));return t==0||t==e?1:e==0?0:m3e(e)/(m3e(t)*m3e(e-t))}function U3e(e,t){var n,r,i,a;for(n=new p2e(e);n.g==null&&!n.c?Wve(n):n.g==null||n.i!=0&&u(n.g[n.i-1],47).Ob();)if(a=u(PH(n),56),me(a,160))for(r=u(a,160),i=0;i<t.length;i++)t[i].og(r)}function sse(e){var t;return e.Db&64?hie(e):(t=new Oh(hie(e)),t.a+=" (height: ",M3(t,e.f),t.a+=", width: ",M3(t,e.g),t.a+=", x: ",M3(t,e.i),t.a+=", y: ",M3(t,e.j),t.a+=")",t.a)}function Mln(e){var t,n,r,i,a,h,d;for(t=new Y2,r=e,i=0,a=r.length;i<a;++i)if(n=r[i],h=Or(n.cd()),d=cb(t,h,Or(n.dd())),d!=null)throw ee(new Dn("duplicate key: "+h));this.b=(fn(),new $(t))}function Dln(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],O0(a,String.fromCharCode(t));return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function K3e(){K3e=de,k7e=(b$(),IG),tgt=new pn(vz,k7e),lt(1),egt=new pn(y6e,lt(300)),lt(0),igt=new pn(k6e,lt(0)),sgt=new pn(roe,Ed),ngt=new pn(ioe,5),agt=IG,rgt=pue}function Git(e,t){var n,r,i,a,h;for(i=t==1?Eue:xue,r=i.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),103),h=u(Oi(e.f.c,n),21).Kc();h.Ob();)a=u(h.Pb(),46),st(e.b.b,u(a.b,81)),st(e.b.a,u(a.b,81).d)}function Iln(e,t){var n;if(t!=null&&!e.c.Yj().wj(t))throw n=me(t,56)?u(t,56).Tg().zb:xp(pl(t)),ee(new $8(e2+e.c.ne()+"'s type '"+e.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function Oln(e,t,n){var r,i;for(i=new Ca(e.b,0);i.b<i.d.gc();)r=(Qn(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),70)),$e(W(r,(nt(),d9e)))===$e(t)&&(J3e(r.n,Xa(e.c.i),n),Dl(i),st(t.b,r))}function Nln(e,t){if(t.a)switch(u(W(t.b,(nt(),p9e)),98).g){case 0:case 1:tun(t);case 2:ms(new mn(null,new kn(t.d,16)),new RP),Pfn(e.a,t)}else ms(new mn(null,new kn(t.d,16)),new RP)}function qit(e){var t,n;return n=b.Math.sqrt((e.k==null&&(e.k=vme(e,new CX)),We(e.k)/(e.b*(e.g==null&&(e.g=yet(e,new uB)),We(e.g))))),t=Ir(Mu(b.Math.round(n))),t=b.Math.min(t,e.f),t}function Fc(){Vu(),dbe.call(this),this.j=(dt(),cc),this.a=new $a,new mee,this.f=(Vl(2,ly),new tu(2)),this.e=(Vl(4,ly),new tu(4)),this.g=(Vl(4,ly),new tu(4)),this.b=new tGe(this.e,this.g)}function Pln(e,t){var n,r;return!(Bt(Nt(W(t,(nt(),U1))))||(r=t.c.i,e==(mh(),rS)&&r.k==(zn(),Pl))||(n=u(W(r,(mt(),du)),163),n==a2))}function Bln(e,t){var n,r;return!(Bt(Nt(W(t,(nt(),U1))))||(r=t.d.i,e==(mh(),iS)&&r.k==(zn(),Pl))||(n=u(W(r,(mt(),du)),163),n==Sy))}function Fln(e,t){var n,r,i,a,h,d,v;for(h=e.d,v=e.o,d=new fh(-h.b,-h.d,h.b+v.a+h.c,h.d+v.b+h.a),r=t,i=0,a=r.length;i<a;++i)n=r[i],n&&W_(d,n.i);h.b=-d.c,h.d=-d.d,h.c=d.b-h.b-v.a,h.a=d.a-h.d-v.b}function RD(){RD=de,cCe=new oM("CENTER_DISTANCE",0),vhe=new oM("CIRCLE_UNDERLAP",1),lCe=new oM("RECTANGLE_UNDERLAP",2),whe=new oM("INVERTED_OVERLAP",3),uCe=new oM("MINIMUM_ROOT_DISTANCE",4)}function Rln(e){K4e();var t,n,r,i,a;if(e==null)return null;for(r=e.length,i=r*2,t=Ie(Sh,yd,25,i,15,1),n=0;n<r;n++)a=e[n],a<0&&(a+=256),t[n*2]=RV[a>>4],t[n*2+1]=RV[a&15];return Fh(t,0,t.length)}function jln(e){Cj();var t,n,r;switch(r=e.c.length,r){case 0:return Edt;case 1:return t=u(Sst(new C(e)),42),uYt(t.cd(),t.dd());default:return n=u(R1(e,Ie(Eb,oz,42,e.c.length,0,1)),165),new Cee(n)}}function $ln(e){var t,n,r,i,a,h;for(t=new S3,n=new S3,Bp(t,e),Bp(n,e);n.b!=n.c;)for(i=u(L6(n),37),h=new C(i.a);h.a<h.c.c.length;)a=u(Y(h),10),a.e&&(r=a.e,Bp(t,r),Bp(n,r));return t}function Mg(e,t){switch(t.g){case 1:return C6(e.j,(Vu(),V7e));case 2:return C6(e.j,(Vu(),G7e));case 3:return C6(e.j,(Vu(),K7e));case 4:return C6(e.j,(Vu(),W7e));default:return fn(),fn(),bo}}function Hln(e,t){var n,r,i;n=iYt(t,e.e),r=u(Jn(e.g.f,n),19).a,i=e.a.c.length-1,e.a.c.length!=0&&u(It(e.a,i),287).c==r?(++u(It(e.a,i),287).a,++u(It(e.a,i),287).b):st(e.a,new kVe(r))}function zln(e,t,n){var r,i;return r=W0n(e,t,n),r!=0?r:Js(t,(nt(),Oc))&&Js(n,Oc)?(i=ku(u(W(t,Oc),19).a,u(W(n,Oc),19).a),i<0?QD(e,t,n):i>0&&QD(e,n,t),i):xfn(e,t,n)}function Vit(e,t,n){var r,i,a,h;if(t.b!=0){for(r=new as,h=si(t,0);h.b!=h.d.c;)a=u(ii(h),86),ro(r,Ame(a)),i=a.e,i.a=u(W(a,(xc(),the)),19).a,i.b=u(W(a,f_e),19).a;Vit(e,r,Vc(n,r.b/e.a|0))}}function Uit(e,t){var n,r,i,a,h;if(e.e<=t||WZt(e,e.g,t))return e.g;for(a=e.r,r=e.g,h=e.r,i=(a-r)/2+r;r+1<a;)n=aC(e,i,!1),n.b<=i&&n.a<=t?(h=i,a=i):r=i,i=(a-r)/2+r;return h}function Gln(e,t,n){var r;r=hot(e,t,!0),Er(n,"Recursive Graph Layout",r),U3e(t,ie(ne(MCe,1),_t,527,0,[new LL])),X2(t,(di(),pE))||U3e(t,ie(ne(MCe,1),_t,527,0,[new WQ])),B5e(e,t,null,n),lr(n)}function lr(e){var t;if(e.p==null)throw ee(new Vo("The task has not begun yet."));e.b||(e.k&&(t=(Gd(),Ha(Mu(Date.now()),Ig)),e.q=Pv(Gp(t,e.o))*1e-9),e.c<e.r&&Mre(e,e.r-e.c),e.b=!0)}function jD(e){var t,n,r;for(r=new $u,oi(r,new Ft(e.j,e.k)),n=new ir((!e.a&&(e.a=new Ns(Zh,e,5)),e.a));n.e!=n.i.gc();)t=u(br(n),469),oi(r,new Ft(t.a,t.b));return oi(r,new Ft(e.b,e.c)),r}function qln(e,t,n,r,i){var a,h,d,v,x,T;if(i)for(v=i.a.length,a=new q2(v),T=(a.b-a.a)*a.c<0?(_p(),x2):new Lp(a);T.Ob();)x=u(T.Pb(),19),d=bx(i,x.a),h=new RWe(e,t,n,r),epn(h.a,h.b,h.c,h.d,d)}function W3e(e,t){var n;if($e(e)===$e(t))return!0;if(me(t,21)){n=u(t,21);try{return e.gc()==n.gc()&&e.Ic(n)}catch(r){if(r=ts(r),me(r,173)||me(r,205))return!1;throw ee(r)}}return!1}function Y3e(e,t){var n;st(e.d,t),n=t.rf(),e.c?(e.e.a=b.Math.max(e.e.a,n.a),e.e.b+=n.b,e.d.c.length>1&&(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 Vln(e){var t,n,r,i;switch(i=e.i,t=i.b,r=i.j,n=i.g,i.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 Kit(e,t,n,r,i){if(r<t||i<n)throw ee(new Dn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>r&&(e.a=r),e.b<n?e.b=n:e.b>i&&(e.b=i),e}function Uln(e){if(me(e,149))return kdn(u(e,149));if(me(e,229))return wsn(u(e,229));if(me(e,23))return _ln(u(e,23));throw ee(new Dn(N8e+Vp(new Cl(ie(ne(Xn,1),_t,1,5,[e])))))}function Kln(e,t,n,r,i){var a,h,d;for(a=!0,h=0;h<r;h++)a=a&n[h]==0;if(i==0)Rc(n,r,e,0,t),h=t;else{for(d=32-i,a=a&n[h]<<d==0,h=0;h<t-1;h++)e[h]=n[h+r]>>>i|n[h+r+1]<<d;e[h]=n[h+r]>>>i,++h}return a}function X3e(e,t,n,r){var i,a,h;if(t.k==(zn(),ca)){for(a=new ur(dr(Wo(t).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),h=i.c.i.k,h==ca&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function Wln(e,t){var n,r,i,a;return t&=63,n=e.h&V0,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),cu(r&ml,i&ml,a&V0)}function Wit(e,t,n,r){var i;this.b=r,this.e=e==(zv(),pS),i=t[n],this.d=G2(El,[Je,s0],[177,25],16,[i.length,i.length],2),this.a=G2(Sr,[Je,Jr],[48,25],15,[i.length,i.length],2),this.c=new I3e(t,n)}function Yln(e){var t,n,r;for(e.k=new Zve((dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,e.j.c.length),r=new C(e.j);r.a<r.c.c.length;)n=u(Y(r),113),t=n.d.j,an(e.k,t,n);e.e=odn(A6(e.k))}function Yit(e,t){var n,r,i;zs(e.d,t),n=new A9,Si(e.c,t,n),n.f=iie(t.c),n.a=iie(t.d),n.d=(J_(),i=t.c.i.k,i==(zn(),js)||i==V1),n.e=(r=t.d.i.k,r==js||r==V1),n.b=t.c.j==(dt(),On),n.c=t.d.j==$n}function Xln(e){var t,n,r,i,a;for(a=xi,i=xi,r=new C(J3(e));r.a<r.c.c.length;)n=u(Y(r),213),t=n.e.e-n.d.e,n.e==e&&t<i?i=t:t<a&&(a=t);return i==xi&&(i=-1),a==xi&&(a=-1),new _a(lt(i),lt(a))}function Qln(e,t){var n,r,i;return i=C7,r=(z_(),VI),i=b.Math.abs(e.b),n=b.Math.abs(t.f-e.b),n<i&&(i=n,r=LG),n=b.Math.abs(e.a),n<i&&(i=n,r=UI),n=b.Math.abs(t.g-e.a),n<i&&(i=n,r=AG),r}function Zln(e,t){var n,r,i,a;for(n=t.a.o.a,a=new Yd(Xa(t.a).b,t.c,t.f+1),i=new s6(a);i.b<i.d.gc();)if(r=(Qn(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),29)),r.c.a>=n)return s7(e,t,r.p),!0;return!1}function Xit(e){var t;return e.Db&64?sse(e):(t=new jl(E8e),!e.a||Yr(Yr((t.a+=' "',t),e.a),'"'),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Qit(e,t,n){var r,i,a,h,d;for(d=hu(e.e.Tg(),t),i=u(e.g,119),r=0,h=0;h<e.i;++h)if(a=i[h],d.rl(a.ak())){if(r==n)return iy(e,h),ho(),u(t,66).Oj()?a:a.dd();++r}throw ee(new Mo(OC+n+yb+r))}function Zit(e){var t,n,r;if(t=e.c,t==2||t==7||t==1)return mi(),mi(),YS;for(r=F5e(e),n=null;(t=e.c)!=2&&t!=7&&t!=1;)n||(n=(mi(),mi(),new KT(1)),fb(n,r),r=n),fb(n,F5e(e));return r}function Jln(e,t,n){return e<0||e>n?i4e(e,n,"start index"):t<0||t>n?i4e(t,n,"end index"):eC("end index (%s) must not be less than start index (%s)",ie(ne(Xn,1),_t,1,5,[lt(t),lt(e)]))}function Jit(e,t){var n,r,i,a;for(r=0,i=e.length;r<i;r++){a=e[r];try{a[1]?a[0].jm()&&(t=FYt(t,a)):a[0].jm()}catch(h){if(h=ts(h),me(h,78))n=h,UF(),AQt(me(n,477)?u(n,477).ae():n);else throw ee(h)}}return t}function s7(e,t,n){var r,i,a;for(n!=t.c+t.b.gc()&&l2n(t.a,Knn(t,n-t.c)),a=t.a.c.p,e.a[a]=b.Math.max(e.a[a],t.a.o.a),i=u(W(t.a,(nt(),iO)),15).Kc();i.Ob();)r=u(i.Pb(),70),Qe(r,Due,(In(),!0))}function ehn(e,t){var n,r,i;i=Ldn(t),Qe(t,(nt(),cle),i),i&&(r=xi,jo(e.f,i)&&(r=u(hc(jo(e.f,i)),19).a),n=u(It(t.g,0),17),Bt(Nt(W(n,U1)))||Si(e,i,lt(b.Math.min(u(W(n,Oc),19).a,r))))}function est(e,t,n){var r,i,a,h,d;for(t.p=-1,d=Wv(t,(vo(),ou)).Kc();d.Ob();)for(h=u(d.Pb(),11),i=new C(h.g);i.a<i.c.c.length;)r=u(Y(i),17),a=r.d.i,t!=a&&(a.p<0?n.Fc(r):a.p>0&&est(e,a,n));t.p=0}function Vt(e){var t;this.c=new as,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=u(Wf(Gg),9),new hh(t,u(bf(t,t.length),9),0)),this.g=e.f}function thn(e){var t,n,r,i;for(t=Ip(Yr(new jl("Predicates."),"and"),40),n=!0,i=new s6(e);i.b<i.d.gc();)r=(Qn(i.b<i.d.gc()),i.d.Xb(i.c=i.b++)),n||(t.a+=","),t.a+=""+r,n=!1;return(t.a+=")",t).a}function tst(e,t,n){var r,i,a;if(!(n<=t+2))for(i=(n-t)/2|0,r=0;r<i;++r)a=(En(t+r,e.c.length),u(e.c[t+r],11)),gh(e,t+r,(En(n-r-1,e.c.length),u(e.c[n-r-1],11))),En(n-r-1,e.c.length),e.c[n-r-1]=a}function nhn(e,t,n){var r,i,a,h,d,v,x,T;a=e.d.p,d=a.e,v=a.r,e.g=new EM(v),h=e.d.o.c.p,r=h>0?d[h-1]:Ie(c0,Og,10,0,0,1),i=d[h],x=h<d.length-1?d[h+1]:Ie(c0,Og,10,0,0,1),T=t==n-1,T?$ne(e.g,i,x):$ne(e.g,r,i)}function nst(e){var t;this.j=new at,this.f=new Ys,this.b=(t=u(Wf(oo),9),new hh(t,u(bf(t,t.length),9),0)),this.d=Ie(Sr,Jr,25,(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,15,1),this.g=e}function rst(e,t){var n,r,i;if(t.c.length!=0){for(n=Iit(e,t),i=!1;!n;)NH(e,t,!0),i=!0,n=Iit(e,t);i&&NH(e,t,!1),r=$re(t),e.b&&e.b.lg(r),e.a=$tt(e,(En(0,t.c.length),u(t.c[0],33))),rst(e,r)}}function ase(e,t){var n,r,i;if(r=bn(e.Tg(),t),n=t-e.Ah(),n<0)if(r)if(r.Ij())i=e.Yg(r),i>=0?e.Bh(i):u4e(e,r);else throw ee(new Dn(e2+r.ne()+MC));else throw ee(new Dn(Ift+t+Oft));else wh(e,n,r)}function Q3e(e){var t,n;if(n=null,t=!1,me(e,204)&&(t=!0,n=u(e,204).a),t||me(e,258)&&(t=!0,n=""+u(e,258).a),t||me(e,483)&&(t=!0,n=""+u(e,483).a),!t)throw ee(new Aee(O8e));return n}function ist(e,t){var n,r;if(e.f){for(;t.Ob();)if(n=u(t.Pb(),72),r=n.ak(),me(r,99)&&u(r,18).Bb&Ec&&(!e.e||r.Gj()!=kE||r.aj()!=0)&&n.dd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function sst(e,t){var n,r;if(e.f){for(;t.Sb();)if(n=u(t.Ub(),72),r=n.ak(),me(r,99)&&u(r,18).Bb&Ec&&(!e.e||r.Gj()!=kE||r.aj()!=0)&&n.dd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function Z3e(e,t,n){var r,i,a,h,d,v;for(v=hu(e.e.Tg(),t),r=0,d=e.i,i=u(e.g,119),h=0;h<e.i;++h)if(a=i[h],v.rl(a.ak())){if(n==r)return h;++r,d=h+1}if(n==r)return d;throw ee(new Mo(OC+n+yb+r))}function rhn(e,t){var n,r,i,a;if(e.f.c.length==0)return null;for(a=new k6,r=new C(e.f);r.a<r.c.c.length;)n=u(Y(r),70),i=n.o,a.b=b.Math.max(a.b,i.a),a.a+=i.b;return a.a+=(e.f.c.length-1)*t,a}function ihn(e,t,n){var r,i,a;for(i=new ur(dr(j0(n).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),!no(r)&&!(!no(r)&&r.c.i.c==r.d.i.c)&&(a=Rat(e,r,n,new w$e),a.c.length>1&&(t.c[t.c.length]=a))}function shn(e){var t,n,r,i;for(n=new as,ro(n,e.o),r=new Kge;n.b!=0;)t=u(n.b==0?null:(Qn(n.b!=0),bh(n,n.a.a)),508),i=Rut(e,t,!0),i&&st(r.a,t);for(;r.a.c.length!=0;)t=u(Dtt(r),508),Rut(e,t,!1)}function Dg(){Dg=de,DCe=new m6(bC,0),qa=new m6("BOOLEAN",1),Tc=new m6("INT",2),gE=new m6("STRING",3),Go=new m6("DOUBLE",4),ws=new m6("ENUM",5),Ik=new m6("ENUMSET",6),W1=new m6("OBJECT",7)}function W_(e,t){var n,r,i,a,h;r=b.Math.min(e.c,t.c),a=b.Math.min(e.d,t.d),i=b.Math.max(e.c+e.b,t.c+t.b),h=b.Math.max(e.d+e.a,t.d+t.a),i<r&&(n=r,r=i,i=n),h<a&&(n=a,a=h,h=n),WUe(e,r,a,i-r,h-a)}function Uu(){Uu=de,TAe=ie(ne(Et,1),Je,2,6,[W8e,OI,aG,Y1t,oG,Ace,Wz]),EAe=ie(ne(Et,1),Je,2,6,[W8e,"empty",OI,II,"elementOnly"]),_Ae=ie(ne(Et,1),Je,2,6,[W8e,"preserve","replace",s1]),Oa=new UUe}function J3e(e,t,n){var r,i,a;if(t!=n){r=t;do Ni(e,r.c),i=r.e,i&&(a=r.d,Sm(e,a.b,a.d),Ni(e,i.n),r=Xa(i));while(i);r=n;do pa(e,r.c),i=r.e,i&&(a=r.d,vM(e,a.b,a.d),pa(e,i.n),r=Xa(i));while(i)}}function ose(e,t,n,r){var i,a,h,d,v;if(r.f.c+r.g.c==0)for(h=e.a[e.c],d=0,v=h.length;d<v;++d)a=h[d],Si(r,a,new _et(e,a,n));return i=u(hc(jo(r.f,t)),663),i.b=0,i.c=i.f,i.c==0||AF(u(It(i.a,i.b),287)),i}function Q6(){Q6=de,Q7=new IT("MEDIAN_LAYER",0),XC=new IT("TAIL_LAYER",1),X7=new IT("HEAD_LAYER",2),Ty=new IT("SPACE_EFFICIENT_LAYER",3),P4=new IT("WIDEST_LAYER",4),N4=new IT("CENTER_LAYER",5)}function ahn(e){switch(e.g){case 0:case 1:case 2:return dt(),Ln;case 3:case 4:case 5:return dt(),Tr;case 6:case 7:case 8:return dt(),On;case 9:case 10:case 11:return dt(),$n;default:return dt(),cc}}function ohn(e,t){var n;return e.c.length==0?!1:(n=Ent((En(0,e.c.length),u(e.c[0],17)).c.i),Hl(),n==(Xm(),U4)||n==V4?!0:wx(Eu(new mn(null,new kn(e,16)),new RX),new ORe(t)))}function e4e(e,t,n){var r,i,a;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new r$),oi(r.b,t),a=e.a[t.g].Kc();a.Ob();)i=u(a.Pb(),188),i.b!=t&&e4e(e,i.b,r),i.c!=t&&e4e(e,i.c,r),oi(r.a,i);return r}return null}function Y_(){Y_=de,Kq=new FT("ROOT_PROC",0),Wle=new FT("FAN_PROC",1),Xle=new FT("NEIGHBORS_PROC",2),Yle=new FT("LEVEL_HEIGHT",3),Qle=new FT("NODE_POSITION_PROC",4),Kle=new FT("DETREEIFYING_PROC",5)}function cse(e,t){if(me(t,239))return eVt(e,u(t,33));if(me(t,186))return tVt(e,u(t,118));if(me(t,439))return Jqt(e,u(t,202));throw ee(new Dn(N8e+Vp(new Cl(ie(ne(Xn,1),_t,1,5,[t])))))}function ast(e,t,n){var r,i;if(this.f=e,r=u(Jn(e.b,t),283),i=r?r.a:0,Awe(n,i),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)MYe(this);else for(this.c=r?r.b:null;n-- >0;)Yve(this);this.b=t,this.a=null}function chn(e,t){var n,r;t.a?Ddn(e,t):(n=u($te(e.b,t.b),57),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=u(jte(e.b,t.b),57),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),Ste(e.b,t.b))}function ost(e,t){var n,r;if(n=u(_o(e.b,t),124),u(u(Oi(e.r,t),21),84).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((Nl(),Rb))&&Dot(e,t),r=Ran(e,t),_se(e,t)==(e4(),d2)&&(r+=2*e.w),n.a.a=r}function cst(e,t){var n,r;if(n=u(_o(e.b,t),124),u(u(Oi(e.r,t),21),84).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((Nl(),Rb))&&Iot(e,t),r=jan(e,t),_se(e,t)==(e4(),d2)&&(r+=2*e.w),n.a.b=r}function uhn(e,t){var n,r,i,a;for(a=new at,r=new C(t);r.a<r.c.c.length;)n=u(Y(r),65),st(a,new Bpe(n,!0)),st(a,new Bpe(n,!1));i=new JWe(e),bT(i.a.a),wXe(a,e.b,new Cl(ie(ne(Jdt,1),_t,679,0,[i])))}function ust(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;return v=e.a,z=e.b,x=t.a,q=t.b,T=n.a,K=n.b,L=r.a,Q=r.b,a=v*q-z*x,h=T*Q-K*L,i=(v-x)*(K-Q)-(z-q)*(T-L),d=(a*(T-L)-h*(v-x))/i,P=(a*(K-Q)-h*(z-q))/i,new Ft(d,P)}function t4e(e,t){var n,r,i;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,r=new ur(dr(Fs(t).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),!no(n)&&(i=n.d.i,e.a[i.p]?st(e.b,n):t4e(e,i));e.a[t.p]=!1}}function lst(e,t,n){var r;switch(r=0,u(W(t,(mt(),du)),163).g){case 2:r=2*-n+e.a,++e.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+e.b,++e.b}return Js(t,(nt(),Oc))&&(r+=u(W(t,Oc),19).a),r}function hst(e,t,n){var r,i,a;for(n.zc(t,e),st(e.n,t),a=e.p.eg(t),t.j==e.p.fg()?dnt(e.e,a):dnt(e.j,a),Ej(e),i=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(t),new Cr(t)])));Vr(i);)r=u(Nr(i),11),n._b(r)||hst(e,r,n)}function n4e(e){var t,n,r;return n=u(jt(e,(di(),Nb)),21),n.Hc((Nl(),Hy))?(r=u(jt(e,h2),21),t=new Do(u(jt(e,Z4),8)),r.Hc((wl(),yE))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new $a}function r4e(e){var t,n,r;if(!e.b){for(r=new v8,n=new E6(sC(e));n.e!=n.i.gc();)t=u(Aie(n),18),t.Bb&Ec&&Pr(r,t);Um(r),e.b=new N3((u(_e(qe((Op(),Tn).o),8),18),r.i),r.g),dl(e).b&=-9}return e.b}function lhn(e,t){var n,r,i,a,h,d,v,x;v=u(MD(A6(t.k),Ie(oo,Mc,61,2,0,1)),122),x=t.g,n=BXe(t,v[0]),i=PXe(t,v[1]),r=Gie(e,x,n,i),a=BXe(t,v[1]),d=PXe(t,v[0]),h=Gie(e,x,a,d),r<=h?(t.a=n,t.c=i):(t.a=a,t.c=d)}function hhn(e,t,n){var r,i,a;for(Er(n,"Processor set neighbors",1),e.a=t.b.b==0?1:t.b.b,i=null,r=si(t.b,0);!i&&r.b!=r.d.c;)a=u(ii(r),86),Bt(Nt(W(a,(xc(),Ry))))&&(i=a);i&&vot(e,new mp(i),n),lr(n)}function fst(e){Xse();var t,n,r,i;return r=hd(e,Du(35)),t=r==-1?e:e.substr(0,r),n=r==-1?null:e.substr(r+1),i=ZJt(uAe,t),i?n!=null&&(i=_tt(i,(An(n),n))):(i=Swn(t),oen(uAe,t,i),n!=null&&(i=_tt(i,n))),i}function use(e){var t;fn();var n,r,i,a,h,d;if(me(e,54))for(a=0,i=e.gc()-1;a<i;++a,--i)t=e.Xb(a),e._c(a,e.Xb(i)),e._c(i,t);else for(n=e.Yc(),h=e.Zc(e.gc());n.Tb()<h.Vb();)r=n.Pb(),d=h.Ub(),n.Wb(d),h.Wb(r)}function fhn(e,t){var n,r,i;Er(t,"End label pre-processing",1),n=We(gt(W(e,(mt(),Mk)))),r=We(gt(W(e,Py))),i=Z8(u(W(e,Jl),103)),ms(rc(new mn(null,new kn(e.b,16)),new eL),new SUe(n,r,i)),lr(t)}function lse(e,t){var n,r,i,a,h,d;for(d=0,a=new S3,Bp(a,t);a.b!=a.c;)for(h=u(L6(a),214),d+=Rrt(h.d,h.e),i=new C(h.b);i.a<i.c.c.length;)r=u(Y(i),37),n=u(It(e.b,r.p),214),n.s||(d+=lse(e,n));return d}function dst(e,t,n){var r,i;Vet(this),t==(Iv(),l2)?zs(this.r,e.c):zs(this.w,e.c),n==l2?zs(this.r,e.d):zs(this.w,e.d),Yit(this,e),r=iie(e.c),i=iie(e.d),jit(this,r,i,i),this.o=(J_(),b.Math.abs(r-i)<.2)}function gst(e,t,n){var r,i,a,h,d,v;if(d=u(Cn(e.a,8),1936),d!=null)for(i=d,a=0,h=i.length;a<h;++a)null.jm();r=n,e.a.Db&1||(v=new dWe(e,n,t),r.ui(v)),me(r,672)?u(r,672).wi(e.a):r.ti()==e.a&&r.vi(null)}function dhn(){var e;return H3t?u(c7((Tp(),tf),xb),1945):(Svn(),e=u(me(Gc((Tp(),tf),xb),586)?Gc(tf,xb):new kWe,586),H3t=!0,lwn(e),Rwn(e),Si((Ape(),lAe),e,new Q5),Vie(e),Io(tf,xb,e),e)}function ghn(e,t,n,r){var i;return i=o4(e,n,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae]),t),i<0&&(i=o4(e,n,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),i<0?!1:(r.d=i,!0)}function phn(e,t,n,r){var i;return i=o4(e,n,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae]),t),i<0&&(i=o4(e,n,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),i<0?!1:(r.d=i,!0)}function bhn(e){var t,n,r;for(x1n(e),r=new at,n=new C(e.a.a.b);n.a<n.c.c.length;)t=u(Y(n),81),st(r,new Hpe(t,!0)),st(r,new Hpe(t,!1));ron(e.c),$M(r,e.b,new Cl(ie(ne(WI,1),_t,369,0,[e.c]))),Ffn(e)}function vhn(e){var t,n,r,i;for(n=new Ar,i=new C(e.d);i.a<i.c.c.length;)r=u(Y(i),181),t=u(r.We((nt(),Ek)),17),jo(n.f,t)||Si(n,t,new KWe(t)),st(u(hc(jo(n.f,t)),456).b,r);return new Gu(new x1(n))}function whn(e,t){var n,r,i,a,h;for(r=new WYe(e.j.c.length),n=null,a=new C(e.j);a.a<a.c.c.length;)i=u(Y(a),11),i.j!=n&&(r.b==r.c||Sat(r,n,t),pwe(r),n=i.j),h=hat(i),h&&uwe(r,h);r.b==r.c||Sat(r,n,t)}function mhn(e,t){var n,r,i;for(r=new Ca(e.b,0);r.b<r.d.gc();)n=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),70)),i=u(W(n,(mt(),Od)),272),i==(N1(),$y)&&(Dl(r),st(t.b,n),Js(n,(nt(),Ek))||Qe(n,Ek,e))}function yhn(e){var t,n,r,i,a;for(t=I0(new ur(dr(Fs(e).a.Kc(),new V))),i=new ur(dr(Wo(e).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),n=r.c.i,a=I0(new ur(dr(Fs(n).a.Kc(),new V))),t=b.Math.max(t,a);return lt(t)}function khn(e,t,n){var r,i,a,h;for(Er(n,"Processor arrange node",1),i=null,a=new as,r=si(t.b,0);!i&&r.b!=r.d.c;)h=u(ii(r),86),Bt(Nt(W(h,(xc(),Ry))))&&(i=h);ks(a,i,a.c.b,a.c),Tut(e,a,Vc(n,1)),lr(n)}function pst(e,t,n){var r,i,a;r=u(jt(e,(di(),fV)),21),i=0,a=0,t.a>n.a&&(r.Hc((Jm(),xO))?i=(t.a-n.a)/2:r.Hc(EO)&&(i=t.a-n.a)),t.b>n.b&&(r.Hc((Jm(),_O))?a=(t.b-n.b)/2:r.Hc(TO)&&(a=t.b-n.b)),$3e(e,i,a)}function bst(e,t,n,r,i,a,h,d,v,x,T,L,P){me(e.Cb,88)&&ny(dl(u(e.Cb,88)),4),nu(e,n),e.f=h,Kx(e,d),Yx(e,v),Ux(e,x),Wx(e,T),Sg(e,L),Xx(e,P),Cg(e,!0),Eg(e,i),e.ok(a),sb(e,t),r!=null&&(e.i=null,M$(e,r))}function vst(e){var t,n;if(e.f){for(;e.n>0;){if(t=u(e.k.Xb(e.n-1),72),n=t.ak(),me(n,99)&&u(n,18).Bb&Ec&&(!e.e||n.Gj()!=kE||n.aj()!=0)&&t.dd()!=null)return!0;--e.n}return!1}else return e.n>0}function i4e(e,t,n){if(e<0)return eC(tlt,ie(ne(Xn,1),_t,1,5,[n,lt(e)]));if(t<0)throw ee(new Dn(nlt+t));return eC("%s (%s) must not be greater than size (%s)",ie(ne(Xn,1),_t,1,5,[n,lt(e),lt(t)]))}function s4e(e,t,n,r,i,a){var h,d,v,x;if(h=r-n,h<7){osn(t,n,r,a);return}if(v=n+i,d=r+i,x=v+(d-v>>1),s4e(t,e,v,x,-i,a),s4e(t,e,x,d,-i,a),a.ue(e[x-1],e[x])<=0){for(;n<r;)us(t,n++,e[v++]);return}Lin(e,v,x,d,t,n,r,a)}function $D(e,t){var n,r,i;for(i=new at,r=new C(e.c.a.b);r.a<r.c.c.length;)n=u(Y(r),57),t.Lb(n)&&(st(i,new Npe(n,!0)),st(i,new Npe(n,!1)));non(e.e),wXe(i,e.d,new Cl(ie(ne(Jdt,1),_t,679,0,[e.e])))}function xhn(e,t){var n,r,i,a,h,d,v;for(v=t.d,i=t.b.j,d=new C(v);d.a<d.c.c.length;)for(h=u(Y(d),101),a=Ie(El,s0,25,i.c.length,16,1),Si(e.b,h,a),n=h.a.d.p-1,r=h.c.d.p;n!=r;)n=(n+1)%i.c.length,a[n]=!0}function Ehn(e,t){for(e.r=new uD(e.p),xge(e.r,e),ro(e.r.j,e.j),Ph(e.j),oi(e.j,t),oi(e.r.e,t),Ej(e),Ej(e.r);e.f.c.length!=0;)Rqe(u(It(e.f,0),129));for(;e.k.c.length!=0;)Rqe(u(It(e.k,0),129));return e.r}function hse(e,t,n){var r,i,a;if(i=bn(e.Tg(),t),r=t-e.Ah(),r<0)if(i)if(i.Ij())a=e.Yg(i),a>=0?e.sh(a,n):P4e(e,i,n);else throw ee(new Dn(e2+i.ne()+MC));else throw ee(new Dn(Ift+t+Oft));else yh(e,r,i,n)}function wst(e){var t,n,r,i;if(n=u(e,49).qh(),n)try{if(r=null,t=c7((Tp(),tf),ect(lsn(n))),t&&(i=t.rh(),i&&(r=i.Wk(wGt(n.e)))),r&&r!=e)return wst(r)}catch(a){if(a=ts(a),!me(a,60))throw ee(a)}return e}function lu(e,t,n){var r,i,a,h;if(h=t==null?0:e.b.se(t),i=(r=e.a.get(h),r??new Array),i.length==0)e.a.set(h,i);else if(a=Ntt(e,t,i),a)return a.ed(n);return us(i,i.length,new dR(t,n)),++e.c,Pj(e.b),null}function mst(e,t){var n,r;return Kj(e.a),Kd(e.a,(O$(),Jq),Jq),Kd(e.a,dE,dE),r=new Xs,ki(r,dE,(eH(),ahe)),$e(jt(t,(Qm(),uhe)))!==$e((wD(),eV))&&ki(r,dE,ihe),ki(r,dE,she),vqe(e.a,r),n=JH(e.a,t),n}function yst(e){if(!e)return tHe(),Idt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=Yce[typeof t];return n?n(t):Qme(typeof t)}else return e instanceof Array||e instanceof b.Array?new r6(e):new O8(e)}function kst(e,t,n){var r,i,a;switch(a=e.o,r=u(_o(e.p,n),244),i=r.i,i.b=GD(r),i.a=zD(r),i.b=b.Math.max(i.b,a.a),i.b>a.a&&!t&&(i.b=a.a),i.c=-(i.b-a.a)/2,n.g){case 1:i.d=-i.a;break;case 3:i.d=a.b}Rse(r),jse(r)}function xst(e,t,n){var r,i,a;switch(a=e.o,r=u(_o(e.p,n),244),i=r.i,i.b=GD(r),i.a=zD(r),i.a=b.Math.max(i.a,a.b),i.a>a.b&&!t&&(i.a=a.b),i.d=-(i.a-a.b)/2,n.g){case 4:i.c=-i.b;break;case 2:i.c=a.a}Rse(r),jse(r)}function Thn(e,t){var n,r,i,a,h;if(!t.dc()){if(i=u(t.Xb(0),128),t.gc()==1){Yat(e,i,i,1,0,t);return}for(n=1;n<t.gc();)(i.j||!i.o)&&(a=Oon(t,n),a&&(r=u(a.a,19).a,h=u(a.b,128),Yat(e,i,h,n,r,t),n=r+1,i=h))}}function _hn(e){var t,n,r,i,a,h;for(h=new Gu(e.d),aa(h,new rX),t=(HH(),ie(ne(IEe,1),rt,270,0,[Bue,jue,Pue,zue,Rue,Fue,Hue,$ue])),n=0,a=new C(h);a.a<a.c.c.length;)i=u(Y(a),101),r=t[n%t.length],kfn(i,r),++n}function Chn(e,t){f4();var n,r,i,a;if(t.b<2)return!1;for(a=si(t,0),n=u(ii(a),8),r=n;a.b!=a.d.c;){if(i=u(ii(a),8),!(Ox(e,r)&&Ox(e,i)))return!1;r=i}return!!(Ox(e,r)&&Ox(e,n))}function a4e(e,t){var n,r,i,a,h,d,v,x,T,L;return T=null,L=e,h=B0(L,"x"),n=new bje(t),wtn(n.a,h),d=B0(L,"y"),r=new vje(t),mtn(r.a,d),v=B0(L,dce),i=new wje(t),ytn(i.a,v),x=B0(L,fce),a=new mje(t),T=(ktn(a.a,x),x),T}function ny(e,t){Aot(e,t),e.b&1&&(e.a.a=null),e.b&2&&(e.a.f=null),e.b&4&&(e.a.g=null,e.a.i=null),e.b&16&&(e.a.d=null,e.a.e=null),e.b&8&&(e.a.b=null),e.b&32&&(e.a.j=null,e.a.c=null)}function Shn(e,t){var n,r,i;if(i=0,t.length>0)try{i=Wl(t,za,xi)}catch(a){throw a=ts(a),me(a,127)?(r=a,ee(new h$(r))):ee(a)}return n=(!e.a&&(e.a=new pee(e)),e.a),i<n.i&&i>=0?u(_e(n,i),56):null}function Ahn(e,t){if(e<0)return eC(tlt,ie(ne(Xn,1),_t,1,5,["index",lt(e)]));if(t<0)throw ee(new Dn(nlt+t));return eC("%s (%s) must be less than size (%s)",ie(ne(Xn,1),_t,1,5,["index",lt(e),lt(t)]))}function Lhn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Yr(a.a,a.b):a.a=new jl(a.d),VT(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function Mhn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Yr(a.a,a.b):a.a=new jl(a.d),VT(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function Dhn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Yr(a.a,a.b):a.a=new jl(a.d),VT(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function Ihn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Yr(a.a,a.b):a.a=new jl(a.d),VT(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function Est(e,t){var n,r,i,a,h,d;for(n=e.b.c.length,i=It(e.b,t);t*2+1<n&&(r=(a=2*t+1,h=a+1,d=a,h<n&&e.a.ue(It(e.b,h),It(e.b,a))<0&&(d=h),d),!(e.a.ue(i,It(e.b,r))<0));)gh(e.b,t,It(e.b,r)),t=r;gh(e.b,t,i)}function o4e(e,t,n,r,i,a){var h,d,v,x,T;for($e(e)===$e(n)&&(e=e.slice(t,t+i),t=0),v=n,d=t,x=t+i;d<x;)h=b.Math.min(d+1e4,x),i=h-d,T=e.slice(d,h),T.splice(0,0,r,a?i:0),Array.prototype.splice.apply(v,T),d=h,r+=i}function fse(e,t,n){var r,i;return r=n.d,i=n.e,e.g[r.d]<=e.i[t.d]&&e.i[t.d]<=e.i[r.d]&&e.g[i.d]<=e.i[t.d]&&e.i[t.d]<=e.i[i.d]?!(e.i[r.d]<e.i[i.d]):e.i[r.d]<e.i[i.d]}function Tst(e){var t,n,r,i,a,h,d;if(r=e.a.c.length,r>0)for(h=e.c.d,d=e.d.d,i=fd(pa(new Ft(d.a,d.b),h),1/(r+1)),a=new Ft(h.a,h.b),n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),559),t.d.a=a.a,t.d.b=a.b,Ni(a,i)}function _st(e,t,n){var r,i,a,h,d,v;for(v=ps,a=new C(Fat(e.b));a.a<a.c.c.length;)for(i=u(Y(a),168),d=new C(Fat(t.b));d.a<d.c.c.length;)h=u(Y(d),168),r=mrn(i.a,i.b,h.a,h.b,n),v=b.Math.min(v,r);return v}function qs(e,t){if(!t)throw ee(new fT);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function Ohn(e,t){var n,r,i;return me(t.g,10)&&u(t.g,10).k==(zn(),Ls)?ps:(i=B6(t),i?b.Math.max(0,e.b/2-.5):(n=q3(t),n?(r=We(gt(Ym(n,(mt(),Sw)))),b.Math.max(0,r/2-.5)):ps))}function Nhn(e,t){var n,r,i;return me(t.g,10)&&u(t.g,10).k==(zn(),Ls)?ps:(i=B6(t),i?b.Math.max(0,e.b/2-.5):(n=q3(t),n?(r=We(gt(Ym(n,(mt(),Sw)))),b.Math.max(0,r/2-.5)):ps))}function Phn(e){var t,n,r,i,a,h;for(h=N_(e.d,e.e),a=h.Kc();a.Ob();)for(i=u(a.Pb(),11),r=e.e==(dt(),On)?i.e:i.g,n=new C(r);n.a<n.c.c.length;)t=u(Y(n),17),!no(t)&&t.c.i.c!=t.d.i.c&&(Hln(e,t),++e.f,++e.c)}function Cst(e,t){var n,r;if(t.dc())return fn(),fn(),bo;for(r=new at,st(r,lt(za)),n=1;n<e.f;++n)e.a==null&&Sot(e),e.a[n]&&st(r,lt(n));return r.c.length==1?(fn(),fn(),bo):(st(r,lt(xi)),Bpn(t,r))}function Bhn(e,t){var n,r,i,a,h,d,v;h=t.c.i.k!=(zn(),js),v=h?t.d:t.c,n=Qon(t,v).i,i=u(Jn(e.k,v),121),r=e.i[n.p].a,dUe(v.i)<(n.c?Ko(n.c.a,n,0):-1)?(a=i,d=r):(a=r,d=i),Tf(gf(df(pf(ff(new Ih,0),4),a),d))}function Fhn(e,t,n){var r,i,a,h,d,v;if(n)for(i=n.a.length,r=new q2(i),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),v=$ie(e,Z6(Hm(n,h.a))),v&&(a=(!t.b&&(t.b=new yn(kr,t,4,7)),t.b),Pr(a,v))}function Rhn(e,t,n){var r,i,a,h,d,v;if(n)for(i=n.a.length,r=new q2(i),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),v=$ie(e,Z6(Hm(n,h.a))),v&&(a=(!t.c&&(t.c=new yn(kr,t,5,8)),t.c),Pr(a,v))}function HD(e,t,n){var r,i;r=t.a&e.f,t.b=e.b[r],e.b[r]=t,i=t.f&e.f,t.d=e.c[i],e.c[i]=t,n?(t.e=n.e,t.e?t.e.c=t:e.a=t,t.c=n.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function Sst(e){var t,n,r;if(t=e.Pb(),!e.Ob())return t;for(r=kc(Yr(new yp,"expected one element but was: <"),t),n=0;n<4&&e.Ob();n++)kc((r.a+=so,r),e.Pb());throw e.Ob()&&(r.a+=", ..."),r.a+=">",ee(new Dn(r.a))}function jhn(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=u(j6(e.b,t.a),283),n.a=0,++e.c):(n=u(Jn(e.b,t.a),283),--n.a,t.e?t.e.c=t.c:n.b=t.c,t.c?t.c.e=t.e:n.c=t.e),--e.d}function $hn(e){var t,n;return n=-e.a,t=ie(ne(Sh,1),yd,25,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&Ss,t[2]=t[2]+(n/60|0)%10&Ss,t[3]=t[3]+(n%60/10|0)&Ss,t[4]=t[4]+n%10&Ss,Fh(t,0,t.length)}function Ast(e,t,n){var r,i;for(r=t.d,i=n.d;r.a-i.a==0&&r.b-i.b==0;)r.a+=vl(e,26)*fC+vl(e,27)*dC-.5,r.b+=vl(e,26)*fC+vl(e,27)*dC-.5,i.a+=vl(e,26)*fC+vl(e,27)*dC-.5,i.b+=vl(e,26)*fC+vl(e,27)*dC-.5}function c4e(e){var t,n,r,i;for(e.g=new R_(u(Or(oo),290)),r=0,n=(dt(),Ln),t=0;t<e.j.c.length;t++)i=u(It(e.j,t),11),i.j!=n&&(r!=t&&S6(e.g,n,new _a(lt(r),lt(t))),n=i.j,r=t);S6(e.g,n,new _a(lt(r),lt(t)))}function Hhn(e){var t,n,r,i,a,h,d;for(r=0,n=new C(e.b);n.a<n.c.c.length;)for(t=u(Y(n),29),a=new C(t.a);a.a<a.c.c.length;)for(i=u(Y(a),10),i.p=r++,d=new C(i.j);d.a<d.c.c.length;)h=u(Y(d),11),h.p=r++}function Lst(e,t,n,r,i){var a,h,d,v,x;if(t)for(d=t.Kc();d.Ob();)for(h=u(d.Pb(),10),x=Q4e(h,(vo(),ou),n).Kc();x.Ob();)v=u(x.Pb(),11),a=u(hc(jo(i.f,v)),112),a||(a=new uD(e.d),r.c[r.c.length]=a,hst(a,v,i))}function u4e(e,t){var n,r,i;if(i=p4((Uu(),Oa),e.Tg(),t),i)ho(),u(i,66).Oj()||(i=P6(No(Oa,i))),r=(n=e.Yg(i),u(n>=0?e._g(n,!0,!0):ew(e,i,!0),153)),u(r,215).ol(t);else throw ee(new Dn(e2+t.ne()+MC))}function l4e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=_s(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,n))&&++n,n):Wet(Mu(e))}function zhn(e){var t,n,r,i,a,h,d;for(a=new C0,n=new C(e);n.a<n.c.c.length;)t=u(Y(n),129),h=t.a,d=t.b,!(a.a._b(h)||a.a._b(d))&&(i=h,r=d,h.e.b+h.j.b>2&&d.e.b+d.j.b<=2&&(i=d,r=h),a.a.zc(i,a),i.q=r);return a}function Mst(e,t){var n,r,i;return r=new H0(e),$o(r,t),Qe(r,(nt(),mq),t),Qe(r,(mt(),vs),(ya(),Zc)),Qe(r,Id,(Zd(),lV)),T0(r,(zn(),Ls)),n=new Fc,nc(n,r),qs(n,(dt(),On)),i=new Fc,nc(i,r),qs(i,$n),r}function Dst(e){switch(e.g){case 0:return new Lee((zv(),dO));case 1:return new cF;case 2:return new SJ;default:throw ee(new Dn("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function Ist(e,t){var n,r,i,a,h;for(e.c[t.p]=!0,st(e.a,t),h=new C(t.j);h.a<h.c.c.length;)for(a=u(Y(h),11),r=new O1(a.b);tc(r.a)||tc(r.b);)n=u(tc(r.a)?Y(r.a):Y(r.b),17),i=tan(a,n).i,e.c[i.p]||Ist(e,i)}function Ost(e){var t,n,r,i,a,h,d;for(h=0,n=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));n.e!=n.i.gc();)t=u(br(n),33),d=t.g,i=t.f,r=b.Math.sqrt(d*d+i*i),h=b.Math.max(r,h),a=Ost(t),h=b.Math.max(a,h);return h}function al(){al=de,p2=new zT("OUTSIDE",0),Z0=new zT("INSIDE",1),NO=new zT("NEXT_TO_PORT_IF_POSSIBLE",2),BS=new zT("ALWAYS_SAME_SIDE",3),PS=new zT("ALWAYS_OTHER_SAME_SIDE",4),Fk=new zT("SPACE_EFFICIENT",5)}function Nst(e,t,n){var r,i,a,h,d,v;return r=yJt(e,(i=(gv(),a=new Yge,a),n&&F4e(i,n),i),t),__(r,D0(t,Ad)),AH(t,r),s1n(t,r),a4e(t,r),h=t,d=Bv(h,"ports"),v=new PGe(e,r),V1n(v.a,v.b,d),qre(e,t,r),grn(e,t,r),r}function Ghn(e){var t,n;return n=-e.a,t=ie(ne(Sh,1),yd,25,15,[43,48,48,58,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&Ss,t[2]=t[2]+(n/60|0)%10&Ss,t[4]=t[4]+(n%60/10|0)&Ss,t[5]=t[5]+n%10&Ss,Fh(t,0,t.length)}function qhn(e){var t;return t=ie(ne(Sh,1),yd,25,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&Ss,t[5]=t[5]+(e/60|0)%10&Ss,t[7]=t[7]+(e%60/10|0)&Ss,t[8]=t[8]+e%10&Ss,Fh(t,0,t.length)}function Vhn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Yr(a.a,a.b):a.a=new jl(a.d),VT(a.a,""+a_(t));return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function h4e(e,t){var n,r,i;for(i=xi,r=new C(J3(t));r.a<r.c.c.length;)n=u(Y(r),213),n.f&&!e.c[n.c]&&(e.c[n.c]=!0,i=b.Math.min(i,h4e(e,tH(n,t))));return e.i[t.d]=e.j,e.g[t.d]=b.Math.min(i,e.j++),e.g[t.d]}function Pst(e,t){var n,r,i;for(i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),r.e.b=(n=r.b,n.Xe((di(),kl))?n.Hf()==(dt(),Ln)?-n.rf().b-We(gt(n.We(kl))):We(gt(n.We(kl))):n.Hf()==(dt(),Ln)?-n.rf().b:0)}function Uhn(e){var t,n,r,i,a,h,d;for(n=w2e(e.e),a=fd(vM(fc(v2e(e.e)),e.d*e.a,e.c*e.b),-.5),t=n.a-a.a,i=n.b-a.b,d=0;d<e.c;d++){for(r=t,h=0;h<e.d;h++)psn(e.e,new fh(r,i,e.a,e.b))&&VH(e,h,d,!1,!0),r+=e.a;i+=e.b}}function Khn(e){var t,n,r;if(Bt(Nt(jt(e,(di(),SO))))){for(r=new at,n=new ur(dr(z0(e).a.Kc(),new V));Vr(n);)t=u(Nr(n),79),Jv(t)&&Bt(Nt(jt(t,Dhe)))&&(r.c[r.c.length]=t);return r}else return fn(),fn(),bo}function Z6(e){var t,n;if(n=!1,me(e,204))return n=!0,u(e,204).a;if(!n&&me(e,258)&&(t=u(e,258).a%1==0,t))return n=!0,lt($qt(u(e,258).a));throw ee(new ud("Id must be a string or an integer: '"+e+"'."))}function Whn(e,t){var n,r,i,a,h,d;for(a=null,i=new qKe((!e.a&&(e.a=new pee(e)),e.a));b4e(i);)if(n=u(PH(i),56),r=(h=n.Tg(),d=(g4(h),h.o),!d||!n.mh(d)?null:ybe(jre(d),n.ah(d))),r!=null&&on(r,t)){a=n;break}return a}function Bst(e,t,n){var r,i,a,h,d;if(Vl(n,"occurrences"),n==0)return d=u(Km(O6(e.a),t),14),d?d.gc():0;if(h=u(Km(O6(e.a),t),14),!h)return 0;if(a=h.gc(),n>=a)h.$b();else for(i=h.Kc(),r=0;r<n;r++)i.Pb(),i.Qb();return a}function Yhn(e,t,n){var r,i,a,h;return Vl(n,"oldCount"),Vl(0,"newCount"),r=u(Km(O6(e.a),t),14),(r?r.gc():0)==n?(Vl(0,"count"),i=(a=u(Km(O6(e.a),t),14),a?a.gc():0),h=-i,h>0?cpe():h<0&&Bst(e,t,-h),!0):!1}function zD(e){var t,n,r,i,a,h,d;if(d=0,e.b==0){for(h=wrt(e,!0),t=0,r=h,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}else d=uHe(ket(Aj(qi(fne(e.a),new Va),new Ba)));return d>0?d+e.n.d+e.n.a:0}function GD(e){var t,n,r,i,a,h,d;if(d=0,e.b==0)d=uHe(ket(Aj(qi(fne(e.a),new Ms),new Ea)));else{for(h=mrt(e,!0),t=0,r=h,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}return d>0?d+e.n.b+e.n.c:0}function Xhn(e,t){var n,r,i,a;for(a=u(_o(e.b,t),124),n=a.a,i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),r.c&&(n.a=b.Math.max(n.a,Ybe(r.c)));if(n.a>0)switch(t.g){case 2:a.n.c=e.s;break;case 4:a.n.b=e.s}}function Qhn(e,t){var n,r,i;return n=u(W(t,(r1(),q7)),19).a-u(W(e,q7),19).a,n==0?(r=pa(fc(u(W(e,(Rp(),KI)),8)),u(W(e,KC),8)),i=pa(fc(u(W(t,KI),8)),u(W(t,KC),8)),Bs(r.a*r.b,i.a*i.b)):n}function Zhn(e,t){var n,r,i;return n=u(W(t,(tw(),Zq)),19).a-u(W(e,Zq),19).a,n==0?(r=pa(fc(u(W(e,(xc(),bO)),8)),u(W(e,yS),8)),i=pa(fc(u(W(t,bO),8)),u(W(t,yS),8)),Bs(r.a*r.b,i.a*i.b)):n}function Fst(e){var t,n;return n=new yp,n.a+="e_",t=orn(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(Yr((n.a+=" ",n),xH(e.c)),Yr(kc((n.a+="[",n),e.c.i),"]"),Yr((n.a+=ooe,n),xH(e.d)),Yr(kc((n.a+="[",n),e.d.i),"]")),n.a}function Rst(e){switch(e.g){case 0:return new SL;case 1:return new _J;case 2:return new TJ;case 3:return new uF;default:throw ee(new Dn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function f4e(e,t,n,r,i){var a;switch(a=0,i.g){case 1:a=b.Math.max(0,t.b+e.b-(n.b+r));break;case 3:a=b.Math.max(0,-e.b-r);break;case 2:a=b.Math.max(0,-e.a-r);break;case 4:a=b.Math.max(0,t.a+e.a-(n.a+r))}return a}function Jhn(e,t,n){var r,i,a,h,d;if(n)for(i=n.a.length,r=new q2(i),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),a=bx(n,h.a),S8e in a.a||vce in a.a?lgn(e,a,t):bwn(e,a,t),FVt(u(Jn(e.b,Qx(a)),79))}function d4e(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=Rh(e),t&&(ho(),t.Cj()==N1t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function efn(e,t){var n,r,i,a,h;for(r=(!t.s&&(t.s=new ot(Bu,t,21,17)),t.s),a=null,i=0,h=r.i;i<h;++i)switch(n=u(_e(r,i),170),Mv(No(e,n))){case 2:case 3:!a&&(a=new at),a.c[a.c.length]=n}return a||(fn(),fn(),bo)}function g4e(e,t){var n,r,i,a;if(wi(e),e.c!=0||e.a!=123)throw ee(new $r(Ur((jr(),n1t))));if(a=t==112,r=e.d,n=ex(e.i,125,r),n<0)throw ee(new $r(Ur((jr(),r1t))));return i=$l(e.i,r,n),e.d=n+1,xZe(i,a,(e.e&512)==512)}function tfn(e){var t;if(t=u(W(e,(mt(),aS)),314),t==(z6(),yk))throw ee(new mT("The hierarchy aware processor "+t+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}function nfn(e,t){vf();var n,r,i,a,h,d;for(n=null,h=t.Kc();h.Ob();)a=u(h.Pb(),128),!a.o&&(r=wVt(a.a),i=sYt(a.a),d=new iC(r,i,null,u(a.d.a.ec().Kc().Pb(),17)),st(d.c,a.a),e.c[e.c.length]=d,n&&st(n.d,d),n=d)}function rfn(e,t){var n,r,i;if(!t)Lre(e,null),Mx(e,null);else if(t.i&4)for(r="[]",n=t.c;;n=n.c){if(!(n.i&4)){i=spe((S0(n),n.o+r)),Lre(e,i),Mx(e,i);break}r+="[]"}else i=spe((S0(t),t.o)),Lre(e,i),Mx(e,i);e.yk(t)}function X_(e,t,n,r,i){var a,h,d,v;return v=Nte(e,u(i,56)),$e(v)!==$e(i)?(d=u(e.g[n],72),a=Xd(t,v),YT(e,n,Jie(e,n,a)),Sl(e.e)&&(h=Pp(e,9,a.ak(),i,v,r,!1),L3e(h,new N0(e.e,9,e.c,d,a,r,!1)),wre(h)),v):i}function ifn(e,t,n){var r,i,a,h,d,v;for(r=u(Oi(e.c,t),15),i=u(Oi(e.c,n),15),a=r.Zc(r.gc()),h=i.Zc(i.gc());a.Sb()&&h.Sb();)if(d=u(a.Ub(),19),v=u(h.Ub(),19),d!=v)return ku(d.a,v.a);return!a.Ob()&&!h.Ob()?0:a.Ob()?1:-1}function jst(e,t){var n,r,i;try{return i=YZt(e.a,t),i}catch(a){if(a=ts(a),me(a,32)){try{if(r=Wl(t,za,xi),n=Wf(e.a),r>=0&&r<n.length)return n[r]}catch(h){if(h=ts(h),!me(h,127))throw ee(h)}return null}else throw ee(a)}}function dse(e,t){var n,r,i;if(i=p4((Uu(),Oa),e.Tg(),t),i)return ho(),u(i,66).Oj()||(i=P6(No(Oa,i))),r=(n=e.Yg(i),u(n>=0?e._g(n,!0,!0):ew(e,i,!0),153)),u(r,215).ll(t);throw ee(new Dn(e2+t.ne()+cce))}function sfn(){Lpe();var e;return m3t?u(c7((Tp(),tf),qh),1939):(ci(Eb,new Gf),$bn(),e=u(me(Gc((Tp(),tf),qh),547)?Gc(tf,qh):new xWe,547),m3t=!0,Bwn(e),Hwn(e),Si((Ape(),lAe),e,new TZ),Io(tf,qh,e),e)}function afn(e,t){var n,r,i,a;e.j=-1,Sl(e.e)?(n=e.i,a=e.i!=0,GM(e,t),r=new N0(e.e,3,e.c,null,t,n,a),i=t.Qk(e.e,e.c,null),i=bit(e,t,i),i?(i.Ei(r),i.Fi()):_i(e.e,r)):(GM(e,t),i=t.Qk(e.e,e.c,null),i&&i.Fi())}function IH(e,t){var n,r,i;if(i=0,r=t[0],r>=e.length)return-1;for(n=(zr(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(zr(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function ofn(e){var t,n,r,i,a;return i=u(e.a,19).a,a=u(e.b,19).a,n=i,r=a,t=b.Math.max(b.Math.abs(i),b.Math.abs(a)),i<=0&&i==a?(n=0,r=a-1):i==-t&&a!=t?(n=a,r=i,a>=0&&++n):(n=-a,r=i),new _a(lt(n),lt(r))}function cfn(e,t,n,r){var i,a,h,d,v,x;for(i=0;i<t.o;i++)for(a=i-t.j+n,h=0;h<t.p;h++)if(d=h-t.k+r,v=a,x=d,v+=e.j,x+=e.k,v>=0&&x>=0&&v<e.o&&x<e.p&&(!_rt(t,i,h)&&xrt(e,a,d)||n4(t,i,h)&&!son(e,a,d)))return!0;return!1}function ufn(e,t,n){var r,i,a,h,d;h=e.c,d=e.d,a=ic(ie(ne(ea,1),Je,8,0,[h.i.n,h.n,h.a])).b,i=(a+ic(ie(ne(ea,1),Je,8,0,[d.i.n,d.n,d.a])).b)/2,r=null,h.j==(dt(),$n)?r=new Ft(t+h.i.c.c.a+n,i):r=new Ft(t-n,i),tx(e.a,0,r)}function Jv(e){var t,n,r,i;for(t=null,r=Dp(P1(ie(ne(G1,1),_t,20,0,[(!e.b&&(e.b=new yn(kr,e,4,7)),e.b),(!e.c&&(e.c=new yn(kr,e,5,8)),e.c)])));Vr(r);)if(n=u(Nr(r),82),i=Ho(n),!t)t=i;else if(t!=i)return!1;return!0}function gse(e,t,n){var r;if(++e.j,t>=e.i)throw ee(new Mo(mce+t+yb+e.i));if(n>=e.i)throw ee(new Mo(yce+n+yb+e.i));return r=e.g[n],t!=n&&(t<n?Rc(e.g,t,e.g,t+1,n-t):Rc(e.g,n+1,e.g,n,t-n),us(e.g,t,r),e.ei(t,r,n),e.ci()),r}function an(e,t,n){var r;if(r=u(e.c.xc(t),14),r)return r.Fc(n)?(++e.d,!0):!1;if(r=e.ic(t),r.Fc(n))return++e.d,e.c.zc(t,r),!0;throw ee(new wwe("New Collection violated the Collection spec"))}function qD(e){var t,n,r;return e<0?0:e==0?32:(r=-(e>>16),t=r>>16&16,n=16-t,e=e>>t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-hy,t=r>>16&4,n+=t,e<<=t,r=e-md,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function lfn(e){I6();var t,n,r,i;for(DG=new at,gue=new Ar,due=new at,t=(!e.a&&(e.a=new ot(fs,e,10,11)),e.a),zvn(t),i=new ir(t);i.e!=i.i.gc();)r=u(br(i),33),Ko(DG,r,0)==-1&&(n=new at,st(due,n),Xnt(r,n));return due}function hfn(e,t,n){var r,i,a,h;e.a=n.b.d,me(t,352)?(i=h4(u(t,79),!1,!1),a=jD(i),r=new Ra(e),Da(a,r),eI(a,i),t.We((di(),X4))!=null&&Da(u(t.We(X4),74),r)):(h=u(t,470),h.Hg(h.Dg()+e.a.a),h.Ig(h.Eg()+e.a.b))}function $st(e,t){var n,r,i,a,h,d,v,x;for(x=We(gt(W(t,(mt(),uS)))),v=e[0].n.a+e[0].o.a+e[0].d.c+x,d=1;d<e.length;d++)r=e[d].n,i=e[d].o,n=e[d].d,a=r.a-n.b-v,a<0&&(r.a-=a),h=t.f,h.a=b.Math.max(h.a,r.a+i.a),v=r.a+i.a+n.c+x}function ffn(e,t){var n,r,i,a,h,d;return r=u(u(Jn(e.g,t.a),46).a,65),i=u(u(Jn(e.g,t.b),46).a,65),a=r.b,h=i.b,n=M2n(a,h),n>=0?n:(d=h_(pa(new Ft(h.c+h.b/2,h.d+h.a/2),new Ft(a.c+a.b/2,a.d+a.a/2))),-(cct(a,h)-1)*d)}function dfn(e,t,n){var r;ms(new mn(null,(!n.a&&(n.a=new ot(os,n,6,6)),new kn(n.a,16))),new xGe(e,t)),ms(new mn(null,(!n.n&&(n.n=new ot(Qo,n,1,7)),new kn(n.n,16))),new EGe(e,t)),r=u(jt(n,(di(),X4)),74),r&&wme(r,e,t)}function ew(e,t,n){var r,i,a;if(a=p4((Uu(),Oa),e.Tg(),t),a)return ho(),u(a,66).Oj()||(a=P6(No(Oa,a))),i=(r=e.Yg(a),u(r>=0?e._g(r,!0,!0):ew(e,a,!0),153)),u(i,215).hl(t,n);throw ee(new Dn(e2+t.ne()+cce))}function p4e(e,t,n,r){var i,a,h,d,v;if(i=e.d[t],i){if(a=i.g,v=i.i,r!=null){for(d=0;d<v;++d)if(h=u(a[d],133),h.Sh()==n&&Ci(r,h.cd()))return h}else for(d=0;d<v;++d)if(h=u(a[d],133),$e(h.cd())===$e(r))return h}return null}function VD(e,t){var n;if(t<0)throw ee(new qF("Negative exponent"));if(t==0)return mG;if(t==1||Eye(e,mG)||Eye(e,H7))return e;if(!lat(e,0)){for(n=1;!lat(e,n);)++n;return V3(Ssn(n*t),VD(kwe(e,n),t))}return Bun(e,t)}function gfn(e,t){var n,r,i;if($e(e)===$e(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(n=0;n<e.length;++n)if(r=e[n],i=t[n],!($e(r)===$e(i)||r!=null&&Ci(r,i)))return!1;return!0}function Hst(e){Cpe();var t,n,r;for(this.b=Pgt,this.c=(wo(),u0),this.f=(Lze(),Ngt),this.a=e,gpe(this,new Fu),RH(this),r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),81),n.d||(t=new xie(ie(ne(kue,1),_t,81,0,[n])),st(e.a,t))}function pfn(e,t,n){var r,i,a,h,d,v;if(!e||e.c.length==0)return null;for(a=new hYe(t,!n),i=new C(e);i.a<i.c.c.length;)r=u(Y(i),70),Y3e(a,(TT(),new to(r)));return h=a.i,h.a=(v=a.n,a.e.b+v.d+v.a),h.b=(d=a.n,a.e.a+d.b+d.c),a}function zst(e){var t,n,r,i,a,h,d;for(d=jM(e.a),d2e(d,new hf),n=null,i=d,a=0,h=i.length;a<h&&(r=i[a],r.k==(zn(),Ls));++a)t=u(W(r,(nt(),vc)),61),!(t!=(dt(),On)&&t!=$n)&&(n&&u(W(n,Tk),15).Fc(r),n=r)}function bfn(e,t,n){var r,i,a,h,d,v,x;v=(En(t,e.c.length),u(e.c[t],329)),yg(e,t),v.b/2>=n&&(r=t,x=(v.c+v.a)/2,h=x-n,v.c<=x-n&&(i=new Ute(v.c,h),Dm(e,r++,i)),d=x+n,d<=v.a&&(a=new Ute(d,v.a),Fm(r,e.c.length),MT(e.c,r,a)))}function b4e(e){var t;if(!e.c&&e.g==null)e.d=e.si(e.f),Pr(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=u(e.g[e.i-1],47)}return t==e.b&&null.km>=null.jm()?(PH(e),b4e(e)):t.Ob()}function vfn(e,t,n){var r,i,a,h,d;if(d=n,!d&&(d=Kbe(new j8,0)),Er(d,rht,1),cut(e.c,t),h=Dbn(e.a,t),h.gc()==1)qct(u(h.Xb(0),37),d);else for(a=1/h.gc(),i=h.Kc();i.Ob();)r=u(i.Pb(),37),qct(r,Vc(d,a));_Gt(e.a,h,t),D0n(t),lr(d)}function Gst(e){if(this.a=e,e.c.i.k==(zn(),Ls))this.c=e.c,this.d=u(W(e.c.i,(nt(),vc)),61);else if(e.d.i.k==Ls)this.c=e.d,this.d=u(W(e.d.i,(nt(),vc)),61);else throw ee(new Dn("Edge "+e+" is not an external edge."))}function qst(e,t){var n,r,i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,i,e.b)),t?t!=e&&(nu(e,t.zb),Cre(e,t.d),n=(r=t.c,r??t.zb),Are(e,n==null||on(n,t.zb)?null:n)):(nu(e,null),Cre(e,0),Are(e,null))}function Vst(e){var t,n;if(e.f){for(;e.n<e.o;){if(t=u(e.j?e.j.pi(e.n):e.k.Xb(e.n),72),n=t.ak(),me(n,99)&&u(n,18).Bb&Ec&&(!e.e||n.Gj()!=kE||n.aj()!=0)&&t.dd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function Ust(e,t){var n;this.e=(Pm(),Or(e),Pm(),Aye(e)),this.c=(Or(t),Aye(t)),O2e(this.e.Hd().dc()==this.c.Hd().dc()),this.d=fnt(this.e),this.b=fnt(this.c),n=G2(Xn,[Je,_t],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,ann(this)}function Kst(e){!Kce&&(Kce=Qvn());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 iZt(n)});return'"'+t+'"'}function Wst(e){$ve();var t,n;for(this.b=t0t,this.c=r0t,this.g=(Aze(),e0t),this.d=(wo(),u0),this.a=e,j4e(this),n=new C(e.b);n.a<n.c.c.length;)t=u(Y(n),57),!t.a&&hVe(GJe(new Gge,ie(ne(_G,1),_t,57,0,[t])),e),t.e=new Bj(t.d)}function wfn(e){var t,n,r,i,a,h;for(i=e.e.c.length,r=Ie(Eh,fy,15,i,0,1),h=new C(e.e);h.a<h.c.c.length;)a=u(Y(h),144),r[a.b]=new as;for(n=new C(e.c);n.a<n.c.c.length;)t=u(Y(n),282),r[t.c.b].Fc(t),r[t.d.b].Fc(t);return r}function mfn(e){var t,n,r,i,a,h,d;for(d=qd(e.c.length),i=new C(e);i.a<i.c.c.length;){for(r=u(Y(i),10),h=new Ys,a=Fs(r),n=new ur(dr(a.a.Kc(),new V));Vr(n);)t=u(Nr(n),17),t.c.i==t.d.i||zs(h,t.d.i);d.c[d.c.length]=h}return d}function yfn(e,t){var n,r,i,a,h;if(n=u(Cn(e.a,4),126),h=n==null?0:n.length,t>=h)throw ee(new Mm(t,h));return i=n[t],h==1?r=null:(r=Ie(Xhe,_ce,415,h-1,0,1),Rc(n,0,r,0,t),a=h-t-1,a>0&&Rc(n,t+1,r,t,a)),Zx(e,r),gst(e,t,i),i}function J6(){J6=de,$k=u(_e(qe((vpe(),_c).qb),6),34),jk=u(_e(qe(_c.qb),3),34),nfe=u(_e(qe(_c.qb),4),34),rfe=u(_e(qe(_c.qb),5),18),CH($k),CH(jk),CH(nfe),CH(rfe),E3t=new Cl(ie(ne(Bu,1),S4,170,0,[$k,jk]))}function Yst(e,t){var n;this.d=new dT,this.b=t,this.e=new Do(t.qf()),n=e.u.Hc((al(),NO)),e.u.Hc(Z0)?e.D?this.a=n&&!t.If():this.a=!0:e.u.Hc(p2)?n?this.a=!(t.zf().Kc().Ob()||t.Bf().Kc().Ob()):this.a=!1:this.a=!1}function Xst(e,t){var n,r,i,a;for(n=e.o.a,a=u(u(Oi(e.r,t),21),84).Kc();a.Ob();)i=u(a.Pb(),111),i.e.a=(r=i.b,r.Xe((di(),kl))?r.Hf()==(dt(),On)?-r.rf().a-We(gt(r.We(kl))):n+We(gt(r.We(kl))):r.Hf()==(dt(),On)?-r.rf().a:n)}function Qst(e,t){var n,r,i,a;n=u(W(e,(mt(),Jl)),103),a=u(jt(t,oE),61),i=u(W(e,vs),98),i!=(ya(),Y1)&&i!=g2?a==(dt(),cc)&&(a=g5e(t,n),a==cc&&(a=U6(n))):(r=Gct(t),r>0?a=U6(n):a=ED(U6(n))),So(t,oE,a)}function kfn(e,t){var n,r,i,a,h;for(h=e.j,t.a!=t.b&&aa(h,new H5),i=h.c.length/2|0,r=0;r<i;r++)a=(En(r,h.c.length),u(h.c[r],113)),a.c&&qs(a.d,t.a);for(n=i;n<h.c.length;n++)a=(En(n,h.c.length),u(h.c[n],113)),a.c&&qs(a.d,t.b)}function xfn(e,t,n){var r,i,a;return r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],r.a!=null&&i.a!=null?(a=one(r.a,i.a),a<0?QD(e,t,n):a>0&&QD(e,n,t),a):r.a!=null?(QD(e,t,n),-1):i.a!=null?(QD(e,n,t),1):0}function Zst(e,t){var n,r,i,a;e.ej()?(n=e.Vi(),a=e.fj(),++e.j,e.Hi(n,e.oi(n,t)),r=e.Zi(3,null,t,n,a),e.bj()?(i=e.cj(t,null),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(fWe(e,t),e.bj()&&(i=e.cj(t,null),i&&i.Fi()))}function OH(e,t){var n,r,i,a,h;for(h=hu(e.e.Tg(),t),i=new K5,n=u(e.g,119),a=e.i;--a>=0;)r=n[a],h.rl(r.ak())&&Pr(i,r);!Hut(e,i)&&Sl(e.e)&&R8(e,t.$j()?Pp(e,6,t,(fn(),bo),null,-1,!1):Pp(e,t.Kj()?2:1,t,null,null,-1,!1))}function a7(){a7=de;var e,t;for(vk=Ie(L4,Je,91,32,0,1),qC=Ie(L4,Je,91,32,0,1),e=1,t=0;t<=18;t++)vk[t]=AD(e),qC[t]=AD(A0(e,t)),e=Ha(e,5);for(;t<qC.length;t++)vk[t]=V3(vk[t-1],vk[1]),qC[t]=V3(qC[t-1],(Kp(),Jce))}function Efn(e,t){var n,r,i,a,h;return e.a==(i7(),JC)?!0:(a=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,h=r.c.c.a-r.o.a/2,i=a-(r.n.a+r.o.a),i>h)||t.q&&(r=t.C,h=r.c.c.a-r.o.a/2,i=r.n.a-n,i>h)))}function Tfn(e,t){var n;Er(t,"Partition preprocessing",1),n=u(Gl(qi(rc(qi(new mn(null,new kn(e.a,16)),new gY),new PP),new R5),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),ms(n.Oc(),new BP),lr(t)}function Jst(e){Hne();var t,n,r,i,a,h,d;for(n=new Y2,i=new C(e.e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),h=new C(r.a);h.a<h.c.c.length;)a=u(Y(h),10),d=e.g[a.p],t=u(Fv(n,d),15),t||(t=new at,cb(n,d,t)),t.Fc(a);return n}function _fn(e,t){var n,r,i,a,h;for(i=t.b.b,e.a=Ie(Eh,fy,15,i,0,1),e.b=Ie(El,s0,25,i,16,1),h=si(t.b,0);h.b!=h.d.c;)a=u(ii(h),86),e.a[a.g]=new as;for(r=si(t.a,0);r.b!=r.d.c;)n=u(ii(r),188),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function eat(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (startX: ",M3(t,e.j),t.a+=", startY: ",M3(t,e.k),t.a+=", endX: ",M3(t,e.b),t.a+=", endY: ",M3(t,e.c),t.a+=", identifier: ",To(t,e.d),t.a+=")",t.a)}function v4e(e){var t;return e.Db&64?O_(e):(t=new Oh(O_(e)),t.a+=" (ordered: ",gg(t,(e.Bb&256)!=0),t.a+=", unique: ",gg(t,(e.Bb&512)!=0),t.a+=", lowerBound: ",Fee(t,e.s),t.a+=", upperBound: ",Fee(t,e.t),t.a+=")",t.a)}function tat(e,t,n,r,i,a,h,d){var v;return me(e.Cb,88)&&ny(dl(u(e.Cb,88)),4),nu(e,n),e.f=r,Kx(e,i),Yx(e,a),Ux(e,h),Wx(e,!1),Sg(e,!0),Xx(e,d),Cg(e,!0),Eg(e,0),e.b=0,Vm(e,1),v=j1(e,t,null),v&&v.Fi(),lie(e,!1),e}function nat(e,t){var n,r,i,a;return n=u(Gc(e.a,t),512),n||(r=new rre(t),i=(e$(),q1?null:r.c),a=$l(i,0,b.Math.max(0,zR(i,Du(46)))),XUt(r,nat(e,a)),(q1?null:r.c).length==0&&FVe(r,new Ve),Io(e.a,q1?null:r.c,r),r)}function Cfn(e,t){var n;e.b=t,e.g=new at,n=Dfn(e.b),e.e=n,e.f=n,e.c=Bt(Nt(W(e.b,(EH(),Yxe)))),e.a=gt(W(e.b,(di(),Ok))),e.a==null&&(e.a=1),We(e.a)>1?e.e*=We(e.a):e.f/=We(e.a),sin(e),lan(e),U0n(e),Qe(e.b,(H_(),MG),e.g)}function rat(e,t,n){var r,i,a,h,d,v;for(r=0,v=n,t||(r=n*(e.c.length-1),v*=-1),a=new C(e);a.a<a.c.c.length;){for(i=u(Y(a),10),Qe(i,(mt(),Id),(Zd(),lV)),i.o.a=r,d=Mg(i,(dt(),$n)).Kc();d.Ob();)h=u(d.Pb(),11),h.n.a=r;r+=v}}function w4e(e,t,n){var r,i,a;e.ej()?(a=e.fj(),kD(e,t,n),r=e.Zi(3,null,n,t,a),e.bj()?(i=e.cj(n,null),e.ij()&&(i=e.jj(n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(kD(e,t,n),e.bj()&&(i=e.cj(n,null),i&&i.Fi()))}function ek(e,t,n){var r,i,a,h,d,v;return d=e.Gk(n),d!=n?(h=e.g[t],v=d,YT(e,t,e.oi(t,v)),a=h,e.gi(t,v,a),e.rk()&&(r=n,i=e.dj(r,null),!u(d,49).eh()&&(i=e.cj(v,i)),i&&i.Fi()),Sl(e.e)&&R8(e,e.Zi(9,n,d,t,!1)),d):n}function Sfn(e,t){var n,r,i,a;for(r=new C(e.a.a);r.a<r.c.c.length;)n=u(Y(r),189),n.g=!0;for(a=new C(e.a.b);a.a<a.c.c.length;)i=u(Y(a),81),i.k=Bt(Nt(e.e.Kb(new _a(i,t)))),i.d.g=i.d.g&Bt(Nt(e.e.Kb(new _a(i,t))));return e}function iat(e){var t,n,r,i,a;if(n=(t=u(Wf(oo),9),new hh(t,u(bf(t,t.length),9),0)),a=u(W(e,(nt(),ol)),10),a)for(i=new C(a.j);i.a<i.c.c.length;)r=u(Y(i),11),$e(W(r,Mi))===$e(e)&&ZT(new O1(r.b))&&xf(n,r.j);return n}function sat(e,t,n){var r,i,a,h,d;if(!e.d[n.p]){for(i=new ur(dr(Fs(n).a.Kc(),new V));Vr(i);){for(r=u(Nr(i),17),d=r.d.i,h=new ur(dr(Wo(d).a.Kc(),new V));Vr(h);)a=u(Nr(h),17),a.c.i==t&&(e.a[a.p]=!0);sat(e,t,d)}e.d[n.p]=!0}}function Afn(e,t){var n,r,i,a,h,d,v;if(r=hnt(e.Db&254),r==1)e.Eb=null;else if(a=Z2(e.Eb),r==2)i=zie(e,t),e.Eb=a[i==0?1:0];else{for(h=Ie(Xn,_t,1,r-1,5,1),n=2,d=0,v=0;n<=128;n<<=1)n==t?++d:e.Db&n&&(h[v++]=a[d++]);e.Eb=h}e.Db&=~t}function Lfn(e,t){var n,r,i,a,h;for(r=(!t.s&&(t.s=new ot(Bu,t,21,17)),t.s),a=null,i=0,h=r.i;i<h;++i)switch(n=u(_e(r,i),170),Mv(No(e,n))){case 4:case 5:case 6:{!a&&(a=new at),a.c[a.c.length]=n;break}}return a||(fn(),fn(),bo)}function m4e(e){var t;switch(t=0,e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=_f}return t}function Mfn(e,t,n,r,i){var a,h,d,v;if($e(e)===$e(t)&&r==i){tct(e,r,n);return}for(d=0;d<r;d++){for(h=0,a=e[d],v=0;v<i;v++)h=Wa(Wa(Ha(Gs(a,yo),Gs(t[v],yo)),Gs(n[d+v],yo)),Gs(Ir(h),yo)),n[d+v]=Ir(h),h=Im(h,32);n[d+i]=Ir(h)}}function Dfn(e){var t,n,r,i,a,h,d,v,x,T,L;for(T=0,x=0,i=e.a,d=i.a.gc(),r=i.a.ec().Kc();r.Ob();)n=u(r.Pb(),561),t=(n.b&&zse(n),n.a),L=t.a,h=t.b,T+=L+h,x+=L*h;return v=b.Math.sqrt(400*d*x-4*x+T*T)+T,a=2*(100*d-1),a==0?v:v/a}function aat(e,t){t.b!=0&&(isNaN(e.s)?e.s=We((Qn(t.b!=0),gt(t.a.a.c))):e.s=b.Math.min(e.s,We((Qn(t.b!=0),gt(t.a.a.c)))),isNaN(e.c)?e.c=We((Qn(t.b!=0),gt(t.c.b.c))):e.c=b.Math.max(e.c,We((Qn(t.b!=0),gt(t.c.b.c)))))}function Q_(e){var t,n,r,i;for(t=null,r=Dp(P1(ie(ne(G1,1),_t,20,0,[(!e.b&&(e.b=new yn(kr,e,4,7)),e.b),(!e.c&&(e.c=new yn(kr,e,5,8)),e.c)])));Vr(r);)if(n=u(Nr(r),82),i=Ho(n),!t)t=ls(i);else if(t!=ls(i))return!0;return!1}function pse(e,t){var n,r,i,a;e.ej()?(n=e.i,a=e.fj(),GM(e,t),r=e.Zi(3,null,t,n,a),e.bj()?(i=e.cj(t,null),e.ij()&&(i=e.jj(t,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(GM(e,t),e.bj()&&(i=e.cj(t,null),i&&i.Fi()))}function oat(e,t,n){var r,i,a;e.ej()?(a=e.fj(),++e.j,e.Hi(t,e.oi(t,n)),r=e.Zi(3,null,n,t,a),e.bj()?(i=e.cj(n,null),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(++e.j,e.Hi(t,e.oi(t,n)),e.bj()&&(i=e.cj(n,null),i&&i.Fi()))}function Ifn(e){var t,n,r,i;for(i=e.length,t=null,r=0;r<i;r++)n=(zr(r,e.length),e.charCodeAt(r)),hd(".*+?{[()|\\^$",Du(n))>=0?(t||(t=new yT,r>0&&To(t,e.substr(0,r))),t.a+="\\",ux(t,n&Ss)):t&&ux(t,n&Ss);return t?t.a:e}function Ofn(e){var t;if(!e.a)throw ee(new Vo("IDataType class expected for layout option "+e.f));if(t=HJt(e.a),t==null)throw ee(new Vo("Couldn't create new instance of property '"+e.f+"'. "+tft+(S0(GO),GO.k)+w8e));return u(t,414)}function bse(e){var t,n,r,i,a;return a=e.eh(),a&&a.kh()&&(i=zp(e,a),i!=a)?(n=e.Vg(),r=(t=e.Vg(),t>=0?e.Qg(null):e.eh().ih(e,-1-t,null,null)),e.Rg(u(i,49),n),r&&r.Fi(),e.Lg()&&e.Mg()&&n>-1&&_i(e,new oa(e,9,n,a,i)),i):a}function cat(e){var t,n,r,i,a,h,d,v;for(h=0,a=e.f.e,r=0;r<a.c.length;++r)for(d=(En(r,a.c.length),u(a.c[r],144)),i=r+1;i<a.c.length;++i)v=(En(i,a.c.length),u(a.c[i],144)),n=Fp(d.d,v.d),t=n-e.a[d.b][v.b],h+=e.i[d.b][v.b]*t*t;return h}function Nfn(e,t){var n;if(!Js(t,(mt(),du))&&(n=scn(u(W(t,AEe),360),u(W(e,du),163)),Qe(t,AEe,n),!Vr(new ur(dr(j0(t).a.Kc(),new V)))))switch(n.g){case 1:Qe(t,du,(mh(),rS));break;case 2:Qe(t,du,(mh(),iS))}}function Pfn(e,t){var n;V0n(e),e.a=(n=new Oee,ms(new mn(null,new kn(t.d,16)),new hee(n)),n),t0n(e,u(W(t.b,(mt(),mle)),376)),Wan(e),$fn(e),ocn(e),Yan(e),q2n(e,t),ms(rc(new mn(null,vXe(mXt(e.b).a)),new w3),new iX),t.a=!1,e.a=null}function uat(){H3e.call(this,N7,(gv(),$yt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function o7(){o7=de,Whe=new y6(_ht,0),AV=new y6("INSIDE_SELF_LOOPS",1),LV=new y6("MULTI_EDGES",2),SV=new y6("EDGE_LABELS",3),Khe=new y6("PORTS",4),CV=new y6("COMPOUND",5),_V=new y6("CLUSTERS",6),Uhe=new y6("DISCONNECTED",7)}function lat(e,t){var n,r,i;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw ee(new qF("Negative bit address"));if(i=t>>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=Cet(e),i<r)return!1;r==i?n=-n:n=~n}return(n&t)!=0}function Bfn(e,t,n,r){var i;u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65),i=pa(fc(u(n.b,65).c),u(r.b,65).c),rj(i,_st(u(n.b,65),u(r.b,65),i)),u(r.b,65),u(r.b,65),u(r.b,65).c.a+i.a,u(r.b,65).c.b+i.b,u(r.b,65),Su(r.a,new Obe(e,t,r))}function y4e(e,t){var n,r,i,a,h,d,v;if(a=t.e,a){for(n=bse(a),r=u(e.g,674),h=0;h<e.i;++h)if(v=r[h],Bie(v)==n&&(i=(!v.d&&(v.d=new Ns(Eo,v,1)),v.d),d=u(n.ah(Ise(a,a.Cb,a.Db>>16)),15).Xc(a),d<i.i))return y4e(e,u(_e(i,d),87))}return t}function M(e,t,n){var r=pG,i,a=r[e],h=a instanceof Array?a[0]:null;a&&!h?l=a:(l=(i=t&&t.prototype,!i&&(i=pG[t]),aZt(i)),l.hm=n,!t&&(l.im=Ge),r[e]=l);for(var d=3;d<arguments.length;++d)arguments[d].prototype=l;h&&(l.gm=h)}function Vr(e){for(var t;!u(Or(e.a),47).Ob();){if(e.d=jrn(e),!e.d)return!1;if(e.a=u(e.d.Pb(),47),me(e.a,39)){if(t=u(e.a,39),e.a=t.a,!e.b&&(e.b=new S3),Bp(e.b,e.d),t.b)for(;!vT(t.b);)Bp(e.b,u(rXt(t.b),47));e.d=t.d}}return!0}function k4e(e,t){var n,r,i,a,h;for(a=t==null?0:e.b.se(t),r=(n=e.a.get(a),n??new Array),h=0;h<r.length;h++)if(i=r[h],e.b.re(t,i.cd()))return r.length==1?(r.length=0,SUt(e.a,a)):r.splice(h,1),--e.c,Pj(e.b),i.dd();return null}function x4e(e,t){var n,r,i,a;for(i=1,t.j=!0,a=null,r=new C(J3(t));r.a<r.c.c.length;)n=u(Y(r),213),e.c[n.c]||(e.c[n.c]=!0,a=tH(n,t),n.f?i+=x4e(e,a):!a.j&&n.a==n.e.e-n.d.e&&(n.f=!0,zs(e.p,n),i+=x4e(e,a)));return i}function Ffn(e){var t,n,r;for(n=new C(e.a.a.b);n.a<n.c.c.length;)t=u(Y(n),81),r=(An(0),0),r>0&&(!(Sp(e.a.c)&&t.n.d)&&!(Z8(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,r/2-.5)),!(Sp(e.a.c)&&t.n.a)&&!(Z8(e.a.c)&&t.n.c)&&(t.g.a-=r-1))}function hat(e){var t,n,r,i,a;if(i=new at,a=ict(e,i),t=u(W(e,(nt(),ol)),10),t)for(r=new C(t.j);r.a<r.c.c.length;)n=u(Y(r),11),$e(W(n,Mi))===$e(e)&&(a=b.Math.max(a,ict(n,i)));return i.c.length==0||Qe(e,j4,a),a!=-1?i:null}function fat(e,t,n){var r,i,a,h,d,v;a=u(It(t.e,0),17).c,r=a.i,i=r.k,v=u(It(n.g,0),17).d,h=v.i,d=h.k,i==(zn(),ca)?Qe(e,(nt(),o1),u(W(r,o1),11)):Qe(e,(nt(),o1),a),d==ca?Qe(e,(nt(),Kh),u(W(h,Kh),11)):Qe(e,(nt(),Kh),v)}function dat(e,t){var n,r,i,a;for(a=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&pd(r.i,t))return i?i.a=r.a:e.b[n]=r.a,iHe(r.c,r.f),zL(r.b,r.e),--e.f,++e.e,!0;return!1}function E4e(e,t){var n,r,i,a,h;return t&=63,n=e.h,r=(n&hI)!=0,r&&(n|=-1048576),t<22?(h=n>>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(h=r?V0:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(h=r?V0:0,a=r?ml:0,i=n>>t-44),cu(i&ml,a&ml,h&V0)}function vse(e){var t,n,r,i,a,h;for(this.c=new at,this.d=e,r=ps,i=ps,t=Ds,n=Ds,h=si(e,0);h.b!=h.d.c;)a=u(ii(h),8),r=b.Math.min(r,a.a),i=b.Math.min(i,a.b),t=b.Math.max(t,a.a),n=b.Math.max(n,a.b);this.a=new fh(r,i,t-r,n-i)}function gat(e,t){var n,r,i,a,h,d;for(a=new C(e.b);a.a<a.c.c.length;)for(i=u(Y(a),29),d=new C(i.a);d.a<d.c.c.length;)for(h=u(Y(d),10),h.k==(zn(),Pl)&&tk(h,t),r=new ur(dr(Fs(h).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),Qet(n,t)}function T4e(e){var t,n,r;this.c=e,r=u(W(e,(mt(),Jl)),103),t=We(gt(W(e,kq))),n=We(gt(W(e,STe))),r==(wo(),Wh)||r==Lf||r==u0?this.b=t*n:this.b=1/(t*n),this.j=We(gt(W(e,q4))),this.e=We(gt(W(e,Sw))),this.f=e.b.c.length}function Rfn(e){var t,n;for(e.e=Ie(Sr,Jr,25,e.p.c.length,15,1),e.k=Ie(Sr,Jr,25,e.p.c.length,15,1),n=new C(e.p);n.a<n.c.c.length;)t=u(Y(n),10),e.e[t.p]=I0(new ur(dr(Wo(t).a.Kc(),new V))),e.k[t.p]=I0(new ur(dr(Fs(t).a.Kc(),new V)))}function jfn(e){var t,n,r,i,a,h;for(i=0,e.q=new at,t=new Ys,h=new C(e.p);h.a<h.c.c.length;){for(a=u(Y(h),10),a.p=i,r=new ur(dr(Fs(a).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),zs(t,n.d.i);t.a.Bc(a)!=null,st(e.q,new r_(t)),t.a.$b(),++i}}function tw(){tw=de,v_e=new yv(20),mwt=new fo((di(),Pb),v_e),m_e=new fo(Bb,20),gwt=new fo(Ok,S7),Zq=new fo(bV,lt(1)),kwt=new fo(jhe,(In(),!0)),p_e=CO,bwt=Nb,vwt=Z4,wwt=h2,pwt=Q4,b_e=LO,ywt=jy,xwt=(Tme(),dwt),w_e=fwt}function pat(e,t){var n,r,i,a,h,d,v,x,T;if(e.a.f>0&&me(t,42)&&(e.a.qj(),x=u(t,42),v=x.cd(),a=v==null?0:Yi(v),h=cbe(e.a,a),n=e.a.d[h],n)){for(r=u(n.g,367),T=n.i,d=0;d<T;++d)if(i=r[d],i.Sh()==a&&i.Fb(x))return pat(e,x),!0}return!1}function $fn(e){var t,n,r,i;for(i=u(Oi(e.a,(a4(),sq)),15).Kc();i.Ob();)r=u(i.Pb(),101),n=(t=A6(r.k),t.Hc((dt(),Ln))?t.Hc($n)?t.Hc(Tr)?t.Hc(On)?null:ppt:vpt:bpt:gpt),cx(e,r,n[0],(Gv(),vw),0),cx(e,r,n[1],s2,1),cx(e,r,n[2],ww,1)}function Hfn(e,t){var n,r;n=pgn(t),d0n(e,t,n),yit(e.a,u(W(Xa(t.b),(nt(),Ck)),230)),$gn(e),gun(e,t),r=Ie(Sr,Jr,25,t.b.j.c.length,15,1),Jse(e,t,(dt(),Ln),r,n),Jse(e,t,$n,r,n),Jse(e,t,Tr,r,n),Jse(e,t,On,r,n),e.a=null,e.c=null,e.b=null}function _4e(){_4e=de,W_e=(J$(),fhe),nmt=new pn(s8e,W_e),emt=new pn(a8e,(In(),!0)),lt(-1),Qwt=new pn(o8e,lt(-1)),lt(-1),Zwt=new pn(c8e,lt(-1)),tmt=new pn(u8e,!1),rmt=new pn(l8e,!0),Jwt=new pn(Qoe,!1),imt=new pn(h8e,-1)}function C4e(e,t,n){switch(t){case 7:!e.e&&(e.e=new yn(ta,e,7,4)),_r(e.e),!e.e&&(e.e=new yn(ta,e,7,4)),ds(e.e,u(n,14));return;case 8:!e.d&&(e.d=new yn(ta,e,8,5)),_r(e.d),!e.d&&(e.d=new yn(ta,e,8,5)),ds(e.d,u(n,14));return}E3e(e,t,n)}function S4e(e,t){var n,r,i,a,h;if($e(t)===$e(e))return!0;if(!me(t,15)||(h=u(t,15),e.gc()!=h.gc()))return!1;for(a=h.Kc(),r=e.Kc();r.Ob();)if(n=r.Pb(),i=a.Pb(),!($e(n)===$e(i)||n!=null&&Ci(n,i)))return!1;return!0}function zfn(e,t){var n,r,i,a;for(a=u(Gl(rc(rc(new mn(null,new kn(t.b,16)),new nL),new AP),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),a.Jc(new rL),n=0,i=a.Kc();i.Ob();)r=u(i.Pb(),11),r.p==-1&&L4e(e,r,n++)}function bat(e){switch(e.g){case 0:return new Z9;case 1:return new xJ;case 2:return new kJ;case 3:return new RGe;case 4:return new _Ke;default:throw ee(new Dn("No implementation is available for the node placer "+(e.f!=null?e.f:""+e.g)))}}function vat(e){switch(e.g){case 0:return new ave;case 1:return new EJ;case 2:return new pJ;case 3:return new bJ;case 4:return new $Ge;default:throw ee(new Dn("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function A4e(){A4e=de,Fwt=new pn(Jke,lt(0)),Rwt=new pn(e8e,0),M_e=(wD(),eV),Pwt=new pn(Woe,M_e),lt(0),Nwt=new pn(Yoe,lt(1)),I_e=(F$(),hhe),jwt=new pn(t8e,I_e),O_e=(u$(),ohe),$wt=new pn(n8e,O_e),D_e=(mH(),lhe),Bwt=new pn(r8e,D_e)}function Gfn(e,t,n){var r;r=null,t&&(r=t.d),K_(e,new X8(t.n.a-r.b+n.a,t.n.b-r.d+n.b)),K_(e,new X8(t.n.a-r.b+n.a,t.n.b+t.o.b+r.a+n.b)),K_(e,new X8(t.n.a+t.o.a+r.c+n.a,t.n.b-r.d+n.b)),K_(e,new X8(t.n.a+t.o.a+r.c+n.a,t.n.b+t.o.b+r.a+n.b))}function L4e(e,t,n){var r,i,a;for(t.p=n,a=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(t),new Cr(t)])));Vr(a);)r=u(Nr(a),11),r.p==-1&&L4e(e,r,n);if(t.i.k==(zn(),ca))for(i=new C(t.i.j);i.a<i.c.c.length;)r=u(Y(i),11),r!=t&&r.p==-1&&L4e(e,r,n)}function wat(e){var t,n,r,i,a;if(i=u(Gl(pZt(VYe(e)),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),r=C7,i.gc()>=2)for(n=i.Kc(),t=gt(n.Pb());n.Ob();)a=t,t=gt(n.Pb()),r=b.Math.min(r,(An(t),t-(An(a),a)));return r}function qfn(e,t){var n,r,i,a,h;r=new as,ks(r,t,r.c.b,r.c);do for(n=(Qn(r.b!=0),u(bh(r,r.a.a),86)),e.b[n.g]=1,a=si(n.d,0);a.b!=a.d.c;)i=u(ii(a),188),h=i.c,e.b[h.g]==1?oi(e.a,i):e.b[h.g]==2?e.b[h.g]=1:ks(r,h,r.c.b,r.c);while(r.b!=0)}function Vfn(e,t){var n,r,i;if($e(t)===$e(Or(e)))return!0;if(!me(t,15)||(r=u(t,15),i=e.gc(),i!=r.gc()))return!1;if(me(r,54)){for(n=0;n<i;n++)if(!pd(e.Xb(n),r.Xb(n)))return!1;return!0}else return Jan(e.Kc(),r.Kc())}function mat(e,t){var n,r;if(e.c.length!=0){if(e.c.length==2)tk((En(0,e.c.length),u(e.c[0],10)),(Kl(),l0)),tk((En(1,e.c.length),u(e.c[1],10)),f2);else for(r=new C(e);r.a<r.c.c.length;)n=u(Y(r),10),tk(n,t);e.c=Ie(Xn,_t,1,0,5,1)}}function Ufn(e){var t,n;if(e.c.length!=2)throw ee(new Vo("Order only allowed for two paths."));t=(En(0,e.c.length),u(e.c[0],17)),n=(En(1,e.c.length),u(e.c[1],17)),t.d.i!=n.c.i&&(e.c=Ie(Xn,_t,1,0,5,1),e.c[e.c.length]=n,e.c[e.c.length]=t)}function Kfn(e,t){var n,r,i,a,h,d;for(r=new Y2,h=Zj(new Cl(e.g)),a=h.a.ec().Kc();a.Ob();){if(i=u(a.Pb(),10),!i){z2(t,"There are no classes in a balanced layout.");break}d=e.j[i.p],n=u(Fv(r,d),15),n||(n=new at,cb(r,d,n)),n.Fc(i)}return r}function Wfn(e,t,n){var r,i,a,h,d,v,x;if(n)for(a=n.a.length,r=new q2(a),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),v=bx(n,h.a),v&&(x=nnn(D0(v,pce),t),Si(e.f,x,v),i=Ad in v.a,i&&__(x,D0(v,Ad)),AH(v,x),a4e(v,x))}function Yfn(e,t){var n,r,i,a,h;for(Er(t,"Port side processing",1),h=new C(e.a);h.a<h.c.c.length;)i=u(Y(h),10),Act(i);for(r=new C(e.b);r.a<r.c.c.length;)for(n=u(Y(r),29),a=new C(n.a);a.a<a.c.c.length;)i=u(Y(a),10),Act(i);lr(t)}function yat(e,t,n){var r,i,a,h,d;if(i=e.f,!i&&(i=u(e.a.a.ec().Kc().Pb(),57)),V_(i,t,n),e.a.a.gc()!=1)for(r=t*n,h=e.a.a.ec().Kc();h.Ob();)a=u(h.Pb(),57),a!=i&&(d=B6(a),d.f.d?(a.d.d+=r+H1,a.d.a-=r+H1):d.f.a&&(a.d.a-=r+H1))}function wse(e,t,n,r,i){var a,h,d,v,x,T,L,P,z;return h=n-e,d=r-t,a=b.Math.atan2(h,d),v=a+noe,x=a-noe,T=i*b.Math.sin(v)+e,P=i*b.Math.cos(v)+t,L=i*b.Math.sin(x)+e,z=i*b.Math.cos(x)+t,I1(ie(ne(ea,1),Je,8,0,[new Ft(T,P),new Ft(L,z)]))}function Xfn(e,t,n,r){var i,a,h,d,v,x,T,L;i=n,T=t,a=T;do a=e.a[a.p],d=(L=e.g[a.p],We(e.p[L.p])+We(e.d[a.p])-a.d.d),v=lnn(a,r),v&&(h=(x=e.g[v.p],We(e.p[x.p])+We(e.d[v.p])+v.o.b+v.d.a),i=b.Math.min(i,d-(h+F3(e.k,a,v))));while(T!=a);return i}function Qfn(e,t,n,r){var i,a,h,d,v,x,T,L;i=n,T=t,a=T;do a=e.a[a.p],h=(L=e.g[a.p],We(e.p[L.p])+We(e.d[a.p])+a.o.b+a.d.a),v=krn(a,r),v&&(d=(x=e.g[v.p],We(e.p[x.p])+We(e.d[v.p])-v.d.d),i=b.Math.min(i,d-(h+F3(e.k,a,v))));while(T!=a);return i}function jt(e,t){var n,r;return r=(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),e1(e.o,t)),r??(n=t.wg(),me(n,4)&&(n==null?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),aH(e.o,t)):(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),TH(e.o,t,n))),n)}function ry(){ry=de,Mf=new I3("H_LEFT",0),Q0=new I3("H_CENTER",1),Df=new I3("H_RIGHT",2),Of=new I3("V_TOP",3),h0=new I3("V_CENTER",4),Xh=new I3("V_BOTTOM",5),eh=new I3("INSIDE",6),If=new I3("OUTSIDE",7),Yh=new I3("H_PRIORITY",8)}function Zfn(e){var t,n,r,i,a,h,d;if(t=e.Hh(qh),t&&(d=Hr(e1((!t.b&&(t.b=new Al((cn(),co),wc,t)),t.b),"settingDelegates")),d!=null)){for(n=new at,i=ay(d,"\\w+"),a=0,h=i.length;a<h;++a)r=i[a],n.c[n.c.length]=r;return n}return fn(),fn(),bo}function Jfn(e,t){var n,r,i,a,h,d,v;if(!t.f)throw ee(new Dn("The input edge is not a tree edge."));for(a=null,i=xi,r=new C(e.d);r.a<r.c.c.length;)n=u(Y(r),213),d=n.d,v=n.e,fse(e,d,t)&&!fse(e,v,t)&&(h=v.e-d.e-n.a,h<i&&(i=h,a=n));return a}function e1n(e){var t,n,r,i,a,h;if(!(e.f.e.c.length<=1)){t=0,i=cat(e),n=ps;do{for(t>0&&(i=n),h=new C(e.f.e);h.a<h.c.c.length;)a=u(Y(h),144),!Bt(Nt(W(a,(OD(),I7e))))&&(r=upn(e,a),Ni(Yf(a.d),r));n=cat(e)}while(!TXt(e,t++,i,n))}}function t1n(e,t){var n,r,i;for(Er(t,"Layer constraint preprocessing",1),n=new at,i=new Ca(e.a,0);i.b<i.d.gc();)r=(Qn(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),10)),Trn(r)&&(_un(r),n.c[n.c.length]=r,Dl(i));n.c.length==0||Qe(e,(nt(),ale),n),lr(t)}function n1n(e,t){var n,r,i,a,h;for(a=e.g.a,h=e.g.b,r=new C(e.d);r.a<r.c.c.length;)n=u(Y(r),70),i=n.n,e.a==(B1(),W7)||e.i==(dt(),$n)?i.a=a:e.a==Y7||e.i==(dt(),On)?i.a=a+e.j.a-n.o.a:i.a=a+(e.j.a-n.o.a)/2,i.b=h,Ni(i,t),h+=n.o.b+e.e}function r1n(e,t,n){var r,i,a,h;for(Er(n,"Processor set coordinates",1),e.a=t.b.b==0?1:t.b.b,a=null,r=si(t.b,0);!a&&r.b!=r.d.c;)h=u(ii(r),86),Bt(Nt(W(h,(xc(),Ry))))&&(a=h,i=h.e,i.a=u(W(h,the),19).a,i.b=0);Vit(e,Ame(a),Vc(n,1)),lr(n)}function i1n(e,t,n){var r,i,a;for(Er(n,"Processor determine the height for each level",1),e.a=t.b.b==0?1:t.b.b,i=null,r=si(t.b,0);!i&&r.b!=r.d.c;)a=u(ii(r),86),Bt(Nt(W(a,(xc(),Ry))))&&(i=a);i&&cot(e,I1(ie(ne(hmn,1),b6e,86,0,[i])),n),lr(n)}function s1n(e,t){var n,r,i,a,h,d,v,x,T,L;x=e,v=w_(x,"individualSpacings"),v&&(r=X2(t,(di(),Pk)),h=!r,h&&(i=new nl,So(t,Pk,i)),d=u(jt(t,Pk),373),L=v,a=null,L&&(a=(T=Pre(L,Ie(Et,Je,2,0,6,1)),new jee(L,T))),a&&(n=new OGe(L,d),Da(a,n)))}function a1n(e,t){var n,r,i,a,h,d,v,x,T,L,P;return v=null,L=e,T=null,(zft in L.a||Gft in L.a||Kz in L.a)&&(x=null,P=Mme(t),h=w_(L,zft),n=new pje(P),Isn(n.a,h),d=w_(L,Gft),r=new _je(P),Dsn(r.a,d),a=Bv(L,Kz),i=new Aje(P),x=(uun(i.a,a),a),T=x),v=T,v}function o1n(e,t){var n,r,i;if(t===e)return!0;if(me(t,543)){if(i=u(t,835),e.a.d!=i.a.d||H3(e).gc()!=H3(i).gc())return!1;for(r=H3(i).Kc();r.Ob();)if(n=u(r.Pb(),416),qYe(e,n.a.cd())!=u(n.a.dd(),14).gc())return!1;return!0}return!1}function c1n(e){var t,n,r,i;return r=u(e.a,19).a,i=u(e.b,19).a,t=r,n=i,r==0&&i==0?n-=1:r==-1&&i<=0?(t=0,n-=2):r<=0&&i>0?(t-=1,n-=1):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(t-=1,n+=1):(t+=1,n-=1),new _a(lt(t),lt(n))}function u1n(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a!=t.a?Yi(e.a)-Yi(t.a):e.d==(y_(),vS)&&t.d==bS?-1:e.d==bS&&t.d==vS?1:0}function kat(e,t){var n,r,i,a,h;return a=t.a,a.c.i==t.b?h=a.d:h=a.c,a.c.i==t.b?r=a.c:r=a.d,i=Fsn(e.a,h,r),i>0&&i<C7?(n=Xfn(e.a,r.i,i,e.c),LJe(e.a,r.i,-n),n>0):i<0&&-i<C7?(n=Qfn(e.a,r.i,-i,e.c),LJe(e.a,r.i,n),n>0):!1}function l1n(e,t,n,r){var i,a,h,d,v,x,T,L;for(i=(t-e.d)/e.c.c.length,a=0,e.a+=n,e.d=t,L=new C(e.c);L.a<L.c.c.length;)T=u(Y(L),33),x=T.g,v=T.f,Au(T,T.i+a*i),Lu(T,T.j+r*n),Hv(T,T.g+i),$v(T,e.a),++a,d=T.g,h=T.f,pst(T,new Ft(d,h),new Ft(x,v))}function h1n(e){var t,n,r,i,a,h,d;if(e==null)return null;for(d=e.length,i=(d+1)/2|0,h=Ie(Qu,C4,25,i,15,1),d%2!=0&&(h[--i]=X4e((zr(d-1,e.length),e.charCodeAt(d-1)))),n=0,r=0;n<i;++n)t=X4e(Ma(e,r++)),a=X4e(Ma(e,r++)),h[n]=(t<<4|a)<<24>>24;return h}function f1n(e){if(e.pe()){var t=e.c;t.qe()?e.o="["+t.n:t.pe()?e.o="["+t.ne():e.o="[L"+t.ne()+";",e.b=t.me()+"[]",e.k=t.oe()+"[]";return}var n=e.j,r=e.d;r=r.split("/"),e.o=kie(".",[n,kie("$",r)]),e.b=kie(".",[n,kie(".",r)]),e.k=r[r.length-1]}function d1n(e,t){var n,r,i,a,h;for(h=null,a=new C(e.e.a);a.a<a.c.c.length;)if(i=u(Y(a),121),i.b.a.c.length==i.g.a.c.length){for(r=i.e,h=Xln(i),n=i.e-u(h.a,19).a+1;n<i.e+u(h.b,19).a;n++)t[n]<t[r]&&(r=n);t[r]<t[i.e]&&(--t[i.e],++t[r],i.e=r)}}function mse(e){var t,n,r,i,a,h,d,v;for(i=ps,r=Ds,n=new C(e.e.b);n.a<n.c.c.length;)for(t=u(Y(n),29),h=new C(t.a);h.a<h.c.c.length;)a=u(Y(h),10),v=We(e.p[a.p]),d=v+We(e.b[e.g[a.p].p]),i=b.Math.min(i,v),r=b.Math.max(r,d);return r-i}function M4e(e,t,n,r){var i,a,h,d,v;for(i=r5e(e,t),d=0,v=i.gc();d<v;++d)if(a=u(i.Xb(d),170),on(r,fx(No(e,a)))){if(h=IM(No(e,a)),n==null){if(h==null)return a}else if(on(n,h))return a}return null}function D4e(e,t,n,r){var i,a,h,d,v;for(i=Ose(e,t),d=0,v=i.gc();d<v;++d)if(a=u(i.Xb(d),170),on(r,fx(No(e,a)))){if(h=IM(No(e,a)),n==null){if(h==null)return a}else if(on(n,h))return a}return null}function g1n(e,t,n){var r,i,a,h,d,v;if(h=new K5,d=hu(e.e.Tg(),t),r=u(e.g,119),ho(),u(t,66).Oj())for(a=0;a<e.i;++a)i=r[a],d.rl(i.ak())&&Pr(h,i);else for(a=0;a<e.i;++a)i=r[a],d.rl(i.ak())&&(v=i.dd(),Pr(h,n?X_(e,t,a,h.i,v):v));return hwe(h)}function p1n(e,t){var n,r,i,a,h;for(n=new R_(Z7),i=(Q6(),ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4])),a=0,h=i.length;a<h;++a)r=i[a],lbe(n,r,new at);return ms(Eu(qi(rc(new mn(null,new kn(e.b,16)),new DP),new IP),new hg(t)),new cd(n)),n}function NH(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(a=t.Kc();a.Ob();)i=u(a.Pb(),33),T=i.i+i.g/2,P=i.j+i.f/2,v=e.f,h=v.i+v.g/2,d=v.j+v.f/2,x=T-h,L=P-d,r=b.Math.sqrt(x*x+L*L),x*=e.e/r,L*=e.e/r,n?(T-=x,P-=L):(T+=x,P+=L),Au(i,T-i.g/2),Lu(i,P-i.f/2)}function c4(e){var t,n,r;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=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 xat(e,t){var n,r,i,a,h,d,v,x;for(h=t==1?Eue:xue,a=h.a.ec().Kc();a.Ob();)for(i=u(a.Pb(),103),v=u(Oi(e.f.c,i),21).Kc();v.Ob();)switch(d=u(v.Pb(),46),r=u(d.b,81),x=u(d.a,189),n=x.c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function b1n(e,t){var n,r,i,a,h,d,v,x,T;for(x=-1,T=0,h=e,d=0,v=h.length;d<v;++d){for(a=h[d],n=new GUe(x==-1?e[0]:e[x],t,(I_(),Rq)),r=0;r<a.length;r++)for(i=r+1;i<a.length;i++)Js(a[r],(nt(),Oc))&&Js(a[i],Oc)&&Gut(n,a[r],a[i])>0&&++T;++x}return T}function Ef(e){var t,n;return n=new jl(xp(e.gm)),n.a+="@",Yr(n,(t=Yi(e)>>>0,t.toString(16))),e.kh()?(n.a+=" (eProxyURI: ",kc(n,e.qh()),e.$g()&&(n.a+=" eClass: ",kc(n,e.$g())),n.a+=")"):e.$g()&&(n.a+=" (eClass: ",kc(n,e.$g()),n.a+=")"),n.a}function Z_(e){var t,n,r,i;if(e.e)throw ee(new Vo((S0(nue),zae+nue.k+Gae)));for(e.d==(wo(),u0)&&tz(e,Wh),n=new C(e.a.a);n.a<n.c.c.length;)t=u(Y(n),307),t.g=t.i;for(i=new C(e.a.b);i.a<i.c.c.length;)r=u(Y(i),57),r.i=Ds;return e.b.Le(e),e}function v1n(e,t){var n,r,i,a,h;if(t<2*e.b)throw ee(new Dn("The knot vector must have at least two time the dimension elements."));for(e.f=1,i=0;i<e.b;i++)st(e.e,0);for(h=t+1-2*e.b,n=h,a=1;a<h;a++)st(e.e,a/n);if(e.d)for(r=0;r<e.b;r++)st(e.e,1)}function Eat(e,t){var n,r,i,a,h,d,v,x,T;if(x=t,T=u(L$(yne(e.i),x),33),!T)throw i=D0(x,Ad),d="Unable to find elk node for json object '"+i,v=d+"' Panic!",ee(new ud(v));a=Bv(x,"edges"),n=new _Ge(e,T),Jhn(n.a,n.b,a),h=Bv(x,bce),r=new oje(e),hcn(r.a,h)}function Tat(e,t,n,r){var i,a,h,d,v;if(r!=null){if(i=e.d[t],i){for(a=i.g,v=i.i,d=0;d<v;++d)if(h=u(a[d],133),h.Sh()==n&&Ci(r,h.cd()))return d}}else if(i=e.d[t],i){for(a=i.g,v=i.i,d=0;d<v;++d)if(h=u(a[d],133),$e(h.cd())===$e(r))return d}return-1}function c7(e,t){var n,r,i;return n=t==null?hc(jo(e.f,null)):LT(e.g,t),me(n,235)?(i=u(n,235),i.Qh()==null,i):me(n,498)?(r=u(n,1938),i=r.a,i&&(i.yb==null||(t==null?lu(e.f,null,i):Uv(e.g,t,i))),i):null}function w1n(e){K4e();var t,n,r,i,a,h,d;if(e==null||(i=e.length,i%2!=0))return null;for(t=d$(e),a=i/2|0,n=Ie(Qu,C4,25,a,15,1),r=0;r<a;r++){if(h=KS[t[r*2]],h==-1||(d=KS[t[r*2+1]],d==-1))return null;n[r]=(h<<4|d)<<24>>24}return n}function m1n(e,t,n){var r,i,a;if(i=u(_o(e.i,t),306),!i)if(i=new kJe(e.d,t,n),S6(e.i,t,i),jye(t))PVt(e.a,t.c,t.b,i);else switch(a=ahn(t),r=u(_o(e.p,a),244),a.g){case 1:case 3:i.j=!0,See(r,t.b,i);break;case 4:case 2:i.k=!0,See(r,t.c,i)}return i}function y1n(e,t,n,r){var i,a,h,d,v,x;if(d=new K5,v=hu(e.e.Tg(),t),i=u(e.g,119),ho(),u(t,66).Oj())for(h=0;h<e.i;++h)a=i[h],v.rl(a.ak())&&Pr(d,a);else for(h=0;h<e.i;++h)a=i[h],v.rl(a.ak())&&(x=a.dd(),Pr(d,r?X_(e,t,h,d.i,x):x));return Dye(d,n)}function _at(e,t){var n,r,i,a,h,d,v,x;if(i=e.b[t.p],i>=0)return i;for(a=1,d=new C(t.j);d.a<d.c.c.length;)for(h=u(Y(d),11),r=new C(h.g);r.a<r.c.c.length;)n=u(Y(r),17),x=n.d.i,t!=x&&(v=_at(e,x),a=b.Math.max(a,v+1));return ysn(e,t,a),a}function Cat(e,t,n){var r,i,a;for(r=1;r<e.c.length;r++){for(a=(En(r,e.c.length),u(e.c[r],10)),i=r;i>0&&t.ue((En(i-1,e.c.length),u(e.c[i-1],10)),a)>0;)gh(e,i,(En(i-1,e.c.length),u(e.c[i-1],10))),--i;En(i,e.c.length),e.c[i]=a}n.a=new Ar,n.b=new Ar}function k1n(e,t,n){var r,i,a,h,d,v,x,T;for(T=(r=u(t.e&&t.e(),9),new hh(r,u(bf(r,r.length),9),0)),v=ay(n,"[\\[\\]\\s,]+"),a=v,h=0,d=a.length;h<d;++h)if(i=a[h],ey(i).length!=0){if(x=jst(e,i),x==null)return null;xf(T,u(x,22))}return T}function x1n(e){var t,n,r;for(n=new C(e.a.a.b);n.a<n.c.c.length;)t=u(Y(n),81),r=(An(0),0),r>0&&(!(Sp(e.a.c)&&t.n.d)&&!(Z8(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,r/2-.5)),!(Sp(e.a.c)&&t.n.a)&&!(Z8(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,r-1)))}function Sat(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(dt(),Ln)||t==$n?(y$(u(D_(e),15),(Kl(),l0)),y$(u(D_(e),15),f2)):(y$(u(D_(e),15),(Kl(),f2)),y$(u(D_(e),15),l0));else for(i=new d_(e);i.a!=i.b;)r=u(W$(i),15),y$(r,n)}function E1n(e,t){var n,r,i,a,h,d,v;for(i=rx(new Lge(e)),d=new Ca(i,i.c.length),a=rx(new Lge(t)),v=new Ca(a,a.c.length),h=null;d.b>0&&v.b>0&&(n=(Qn(d.b>0),u(d.a.Xb(d.c=--d.b),33)),r=(Qn(v.b>0),u(v.a.Xb(v.c=--v.b),33)),n==r);)h=n;return h}function vl(e,t){var n,r,i,a,h,d;return a=e.a*Rae+e.b*1502,d=e.b*Rae+11,n=b.Math.floor(d*pI),a+=n,d-=n*X5e,a%=X5e,e.a=a,e.b=d,t<=24?b.Math.floor(e.a*Bxe[t]):(i=e.a*(1<<t-24),h=b.Math.floor(e.b*Fxe[t]),r=i+h,r>=2147483648&&(r-=Nae),r)}function Aat(e,t,n){var r,i,a,h;XYe(e,t)>XYe(e,n)?(r=sc(n,(dt(),$n)),e.d=r.dc()?0:Qte(u(r.Xb(0),11)),h=sc(t,On),e.b=h.dc()?0:Qte(u(h.Xb(0),11))):(i=sc(n,(dt(),On)),e.d=i.dc()?0:Qte(u(i.Xb(0),11)),a=sc(t,$n),e.b=a.dc()?0:Qte(u(a.Xb(0),11)))}function Lat(e){var t,n,r,i,a,h,d;if(e&&(t=e.Hh(qh),t&&(h=Hr(e1((!t.b&&(t.b=new Al((cn(),co),wc,t)),t.b),"conversionDelegates")),h!=null))){for(d=new at,r=ay(h,"\\w+"),i=0,a=r.length;i<a;++i)n=r[i],d.c[d.c.length]=n;return d}return fn(),fn(),bo}function Mat(e,t){var n,r,i,a;for(n=e.o.a,a=u(u(Oi(e.r,t),21),84).Kc();a.Ob();)i=u(a.Pb(),111),i.e.a=n*We(gt(i.b.We(SG))),i.e.b=(r=i.b,r.Xe((di(),kl))?r.Hf()==(dt(),Ln)?-r.rf().b-We(gt(r.We(kl))):We(gt(r.We(kl))):r.Hf()==(dt(),Ln)?-r.rf().b:0)}function T1n(e){var t,n,r,i,a,h,d,v;t=!0,i=null,a=null;e:for(v=new C(e.a);v.a<v.c.c.length;)for(d=u(Y(v),10),r=new ur(dr(Wo(d).a.Kc(),new V));Vr(r);){if(n=u(Nr(r),17),i&&i!=d){t=!1;break e}if(i=d,h=n.c.i,a&&a!=h){t=!1;break e}a=h}return t}function _1n(e,t,n){var r,i,a,h,d,v;for(a=-1,d=-1,h=0;h<t.c.length&&(i=(En(h,t.c.length),u(t.c[h],329)),!(i.c>e.c));h++)i.a>=e.s&&(a<0&&(a=h),d=h);return v=(e.s+e.c)/2,a>=0&&(r=agn(e,t,a,d),v=pqt((En(r,t.c.length),u(t.c[r],329))),bfn(t,r,n)),v}function yse(){yse=de,smt=new fo((di(),Ok),1.3),X_e=XCe,rCe=new yv(15),fmt=new fo(Pb,rCe),gmt=new fo(Bb,15),amt=fV,umt=Nb,lmt=Z4,hmt=h2,cmt=Q4,eCe=LO,dmt=jy,nCe=(_4e(),nmt),J_e=emt,tCe=tmt,iCe=rmt,Q_e=Jwt,Z_e=dV,omt=ZCe,wO=Zwt,Y_e=Qwt,sCe=imt}function Br(e,t,n){var r,i,a,h,d,v,x;for(h=(a=new AB,a),fme(h,(An(t),t)),x=(!h.b&&(h.b=new Al((cn(),co),wc,h)),h.b),v=1;v<n.length;v+=2)TH(x,n[v-1],n[v]);for(r=(!e.Ab&&(e.Ab=new ot(ti,e,0,3)),e.Ab),d=0;d<0;++d)i=LXt(u(_e(r,r.i-1),590)),r=i;Pr(r,h)}function Dat(e,t,n){var r,i,a;for(vUt.call(this,new at),this.a=t,this.b=n,this.e=e,r=(e.b&&zse(e),e.a),this.d=PWe(r.a,this.a),this.c=PWe(r.b,this.b),esn(this,this.d,this.c),Uhn(this),a=this.e.e.a.ec().Kc();a.Ob();)i=u(a.Pb(),266),i.c.c.length>0&&J2n(this,i)}function I4e(e,t,n,r,i,a){var h,d,v;if(!i[t.b]){for(i[t.b]=!0,h=r,!h&&(h=new t$),st(h.e,t),v=a[t.b].Kc();v.Ob();)d=u(v.Pb(),282),!(d.d==n||d.c==n)&&(d.c!=t&&I4e(e,d.c,t,h,i,a),d.d!=t&&I4e(e,d.d,t,h,i,a),st(h.c,d),Ps(h.d,d.b));return h}return null}function C1n(e){var t,n,r,i,a,h,d;for(t=0,i=new C(e.e);i.a<i.c.c.length;)r=u(Y(i),17),n=wx(new mn(null,new kn(r.b,16)),new UW),n&&++t;for(h=new C(e.g);h.a<h.c.c.length;)a=u(Y(h),17),d=wx(new mn(null,new kn(a.b,16)),new KW),d&&++t;return t>=2}function S1n(e,t){var n,r,i,a;for(Er(t,"Self-Loop pre-processing",1),r=new C(e.a);r.a<r.c.c.length;)n=u(Y(r),10),usn(n)&&(i=(a=new Knt(n),Qe(n,(nt(),rE),a),Vgn(a),a),ms(Eu(rc(new mn(null,new kn(i.d,16)),new zP),new AY),new LY),$dn(i));lr(t)}function A1n(e,t,n,r,i){var a,h,d,v,x,T;for(a=e.c.d.j,h=u(n1(n,0),8),T=1;T<n.b;T++)x=u(n1(n,T),8),ks(r,h,r.c.b,r.c),d=fd(Ni(new Do(h),x),.5),v=fd(new zne(Gme(a)),i),Ni(d,v),ks(r,d,r.c.b,r.c),h=x,a=t==0?Q$(a):fye(a);oi(r,(Qn(n.b!=0),u(n.c.b.c,8)))}function L1n(e){ry();var t,n,r;return n=Vi(eh,ie(ne(xo,1),rt,93,0,[If])),!(cD($j(n,e))>1||(t=Vi(Mf,ie(ne(xo,1),rt,93,0,[Q0,Df])),cD($j(t,e))>1)||(r=Vi(Of,ie(ne(xo,1),rt,93,0,[h0,Xh])),cD($j(r,e))>1))}function M1n(e,t){var n,r,i;return n=t.Hh(e.a),n&&(i=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),"affiliation")),i!=null)?(r=zR(i,Du(35)),r==-1?oie(e,s_(e,ql(t.Hj())),i):r==0?oie(e,null,i.substr(1)):oie(e,i.substr(0,r),i.substr(r+1))):null}function D1n(e){var t,n,r;try{return e==null?Iu:Yo(e)}catch(i){if(i=ts(i),me(i,102))return t=i,r=xp(pl(e))+"@"+(n=(Gd(),Vye(e)>>>0),n.toString(16)),man(wrn(),(Y8(),"Exception during lenientFormat for "+r),t),"<"+r+" threw "+xp(t.gm)+">";throw ee(i)}}function Iat(e){switch(e.g){case 0:return new wJ;case 1:return new aF;case 2:return new Ize;case 3:return new fL;case 4:return new JVe;case 5:return new mJ;default:throw ee(new Dn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function O4e(e,t,n){var r,i,a;for(a=new C(e.t);a.a<a.c.c.length;)r=u(Y(a),268),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&oi(t,r.b));for(i=new C(e.i);i.a<i.c.c.length;)r=u(Y(i),268),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&oi(n,r.a))}function PH(e){var t,n,r,i,a;if(e.g==null&&(e.d=e.si(e.f),Pr(e,e.d),e.c))return a=e.f,a;if(t=u(e.g[e.i-1],47),i=t.Pb(),e.e=t,n=e.si(i),n.Ob())e.d=n,Pr(e,n);else for(e.d=null;!t.Ob()&&(us(e.g,--e.i,null),e.i!=0);)r=u(e.g[e.i-1],47),t=r;return i}function I1n(e,t){var n,r,i,a,h,d;if(r=t,i=r.ak(),G0(e.e,i)){if(i.hi()&&Qj(e,i,r.dd()))return!1}else for(d=hu(e.e.Tg(),i),n=u(e.g,119),a=0;a<e.i;++a)if(h=n[a],d.rl(h.ak()))return Ci(h,r)?!1:(u(t4(e,a,t),72),!0);return Pr(e,t)}function O1n(e,t,n,r){var i,a,h,d;for(i=new H0(e),T0(i,(zn(),Pl)),Qe(i,(nt(),Mi),t),Qe(i,iO,r),Qe(i,(mt(),vs),(ya(),Zc)),Qe(i,o1,t.c),Qe(i,Kh,t.d),iot(t,i),d=b.Math.floor(n/2),h=new C(i.j);h.a<h.c.c.length;)a=u(Y(h),11),a.n.b=d;return i}function N1n(e,t){var n,r,i,a,h,d,v,x,T;for(v=qd(e.c-e.b&e.a.length-1),x=null,T=null,a=new d_(e);a.a!=a.b;)i=u(W$(a),10),n=(d=u(W(i,(nt(),o1)),11),d?d.i:null),r=(h=u(W(i,Kh),11),h?h.i:null),(x!=n||T!=r)&&(mat(v,t),x=n,T=r),v.c[v.c.length]=i;mat(v,t)}function Oat(e){var t,n,r,i,a,h,d;for(t=0,r=new C(e.a);r.a<r.c.c.length;)for(n=u(Y(r),10),a=new ur(dr(Fs(n).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),e==i.d.i.c&&i.c.j==(dt(),On)&&(h=M1(i.c).b,d=M1(i.d).b,t=b.Math.max(t,b.Math.abs(d-h)));return t}function P1n(e,t,n){var r,i,a;Er(n,"Remove overlaps",1),n.n&&t&&wf(n,mf(t),(Ol(),rh)),r=u(jt(t,(JT(),ES)),33),e.f=r,e.a=Mie(u(jt(t,(Qm(),vO)),293)),i=gt(jt(t,(di(),Bb))),sT(e,(An(i),i)),a=sy(r),Eut(e,t,a,n),n.n&&t&&wf(n,mf(t),(Ol(),rh))}function N4e(e,t,n){switch(n.g){case 1:return new Ft(t.a,b.Math.min(e.d.b,t.b));case 2:return new Ft(b.Math.max(e.c.a,t.a),t.b);case 3:return new Ft(t.a,b.Math.max(e.c.b,t.b));case 4:return new Ft(b.Math.min(t.a,e.d.a),t.b)}return new Ft(t.a,t.b)}function B1n(e,t,n,r){var i,a,h,d,v,x,T,L,P;for(L=r?(dt(),On):(dt(),$n),i=!1,v=t[n],x=0,T=v.length;x<T;++x)d=v[x],!_6(u(W(d,(mt(),vs)),98))&&(h=d.e,P=!sc(d,L).dc()&&!!h,P&&(a=D3e(h),e.b=new I3e(a,r?0:a.length-1)),i=i|Ngn(e,d,L,P));return i}function UD(e){var t,n,r;for(t=qd(1+(!e.c&&(e.c=new ot(xl,e,9,9)),e.c).i),st(t,(!e.d&&(e.d=new yn(ta,e,8,5)),e.d)),r=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));r.e!=r.i.gc();)n=u(br(r),118),st(t,(!n.d&&(n.d=new yn(ta,n,8,5)),n.d));return Or(t),new UT(t)}function z0(e){var t,n,r;for(t=qd(1+(!e.c&&(e.c=new ot(xl,e,9,9)),e.c).i),st(t,(!e.e&&(e.e=new yn(ta,e,7,4)),e.e)),r=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));r.e!=r.i.gc();)n=u(br(r),118),st(t,(!n.e&&(n.e=new yn(ta,n,7,4)),n.e));return Or(t),new UT(t)}function F1n(e){var t,n,r,i;if(e==null)return null;if(r=Kc(e,!0),i=BI.length,on(r.substr(r.length-i,i),BI)){if(n=r.length,n==4){if(t=(zr(0,r.length),r.charCodeAt(0)),t==43)return LAe;if(t==45)return j3t}else if(n==3)return LAe}return ty(r)}function R1n(e){var t,n,r,i;for(t=0,n=0,i=new C(e.j);i.a<i.c.c.length;)if(r=u(Y(i),11),t=Ir(Wa(t,qQe(qi(new mn(null,new kn(r.e,16)),new KX)))),n=Ir(Wa(n,qQe(qi(new mn(null,new kn(r.g,16)),new WX)))),t>1||n>1)return 2;return t+n==1?2:0}function Nat(e,t,n){var r,i,a,h,d;for(Er(n,"ELK Force",1),Bt(Nt(jt(t,(r1(),_7e))))||Rj((r=new ar((xm(),new wm(t))),r)),d=ltt(t),rcn(d),Brn(e,u(W(d,T7e),424)),h=Ect(e.a,d),a=h.Kc();a.Ob();)i=u(a.Pb(),231),wgn(e.b,i,Vc(n,1/h.gc()));d=But(h),Out(d),lr(n)}function j1n(e,t){var n,r,i,a,h;if(Er(t,"Breaking Point Processor",1),svn(e),Bt(Nt(W(e,(mt(),ITe))))){for(i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),n=0,h=new C(r.a);h.a<h.c.c.length;)a=u(Y(h),10),a.p=n++;o2n(e),rot(e,!0),rot(e,!1)}lr(t)}function $1n(e,t,n){var r,i,a,h,d,v;for(d=e.c,h=(n.q?n.q:(fn(),fn(),o0)).vc().Kc();h.Ob();)a=u(h.Pb(),42),r=!xT(qi(new mn(null,new kn(d,16)),new Xe(new bGe(t,a)))).sd(($2(),G7)),r&&(v=a.dd(),me(v,4)&&(i=Rye(v),i!=null&&(v=i)),t.Ye(u(a.cd(),146),v))}function BH(e,t){var n,r,i,a,h;if(t){for(a=me(e.Cb,88)||me(e.Cb,99),h=!a&&me(e.Cb,322),r=new ir((!t.a&&(t.a=new i_(t,Eo,t)),t.a));r.e!=r.i.gc();)if(n=u(br(r),87),i=KH(n),a?me(i,88):h?me(i,148):i)return i;return a?(cn(),nf):(cn(),Q1)}else return null}function H1n(e,t){var n,r,i,a,h,d;for(Er(t,"Constraints Postprocessor",1),h=0,a=new C(e.b);a.a<a.c.c.length;){for(i=u(Y(a),29),d=0,r=new C(i.a);r.a<r.c.c.length;)n=u(Y(r),10),n.k==(zn(),js)&&(Qe(n,(mt(),Lq),lt(h)),Qe(n,_q,lt(d)),++d);++h}lr(t)}function z1n(e,t,n,r){var i,a,h,d,v,x,T;for(v=new Ft(n,r),pa(v,u(W(t,(xc(),yS)),8)),T=si(t.b,0);T.b!=T.d.c;)x=u(ii(T),86),Ni(x.e,v),oi(e.b,x);for(d=si(t.a,0);d.b!=d.d.c;){for(h=u(ii(d),188),a=si(h.a,0);a.b!=a.d.c;)i=u(ii(a),8),Ni(i,v);oi(e.a,h)}}function P4e(e,t,n){var r,i,a;if(a=p4((Uu(),Oa),e.Tg(),t),a){if(ho(),!u(a,66).Oj()&&(a=P6(No(Oa,a)),!a))throw ee(new Dn(e2+t.ne()+MC));i=(r=e.Yg(a),u(r>=0?e._g(r,!0,!0):ew(e,a,!0),153)),u(i,215).ml(t,n)}else throw ee(new Dn(e2+t.ne()+MC))}function G1n(e,t){var n,r,i,a,h;for(n=new at,i=rc(new mn(null,new kn(e,16)),new pQ),a=rc(new mn(null,new kn(e,16)),new bQ),h=btn(Den(Aj(xdn(ie(ne(Zwn,1),_t,833,0,[i,a])),new vQ))),r=1;r<h.length;r++)h[r]-h[r-1]>=2*t&&st(n,new Ute(h[r-1]+t,h[r]-t));return n}function q1n(e,t,n){Er(n,"Eades radial",1),n.n&&t&&wf(n,mf(t),(Ol(),rh)),e.d=u(jt(t,(JT(),ES)),33),e.c=We(gt(jt(t,(Qm(),nV)))),e.e=Mie(u(jt(t,vO),293)),e.a=Esn(u(jt(t,B_e),426)),e.b=Vcn(u(jt(t,P_e),340)),_cn(e),n.n&&t&&wf(n,mf(t),(Ol(),rh))}function V1n(e,t,n){var r,i,a,h,d,v,x,T;if(n)for(a=n.a.length,r=new q2(a),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),i=bx(n,h.a),i&&(v=GJt(e,(x=(gv(),T=new Xge,T),t&&B4e(x,t),x),i),__(v,D0(i,Ad)),AH(i,v),a4e(i,v),qre(e,i,v))}function FH(e){var t,n,r,i,a,h;if(!e.j){if(h=new N9,t=GS,a=t.a.zc(e,t),a==null){for(r=new ir(Ro(e));r.e!=r.i.gc();)n=u(br(r),26),i=FH(n),ds(h,i),Pr(h,n);t.a.Bc(e)!=null}Um(h),e.j=new N3((u(_e(qe((Op(),Tn).o),11),18),h.i),h.g),dl(e).b&=-33}return e.j}function U1n(e){var t,n,r,i;if(e==null)return null;if(r=Kc(e,!0),i=BI.length,on(r.substr(r.length-i,i),BI)){if(n=r.length,n==4){if(t=(zr(0,r.length),r.charCodeAt(0)),t==43)return MAe;if(t==45)return $3t}else if(n==3)return MAe}return new jge(r)}function K1n(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?sme(n):t==0&&r!=0&&n==0?sme(r)+22:t!=0&&r==0&&n==0?sme(t)+44:-1}function W1n(e,t){var n,r,i,a,h;for(Er(t,"Edge joining",1),n=Bt(Nt(W(e,(mt(),Ale)))),i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),h=new Ca(r.a,0);h.b<h.d.gc();)a=(Qn(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),10)),a.k==(zn(),ca)&&(Zse(a,n),Dl(h));lr(t)}function Y1n(e,t,n){var r,i;if(Kj(e.b),Kd(e.b,(TD(),rV),(CT(),mO)),Kd(e.b,iV,t.g),Kd(e.b,sV,t.a),e.a=JH(e.b,t),Er(n,"Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(i=new C(e.a);i.a<i.c.c.length;)r=u(Y(i),51),r.pf(t,Vc(n,1));lr(n)}function u4(e,t){var n,r,i,a,h;for(i=t.a&e.f,a=null,r=e.b[i];;r=r.b){if(r==t){a?a.b=t.b:e.b[i]=t.b;break}a=r}for(h=t.f&e.f,a=null,n=e.c[h];;n=n.d){if(n==t){a?a.d=t.d:e.c[h]=t.d;break}a=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 X1n(e){var t,n,r,i,a,h,d,v,x,T;for(n=e.o,t=e.p,h=xi,i=za,d=xi,a=za,x=0;x<n;++x)for(T=0;T<t;++T)n4(e,x,T)&&(h=b.Math.min(h,x),i=b.Math.max(i,x),d=b.Math.min(d,T),a=b.Math.max(a,T));return v=i-h+1,r=a-d+1,new NWe(lt(h),lt(d),lt(v),lt(r))}function kse(e,t){var n,r,i,a;for(a=new Ca(e,0),n=(Qn(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),140));a.b<a.d.gc();)r=(Qn(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),140)),i=new Vbe(r.c,n.d,t),Qn(a.b>0),a.a.Xb(a.c=--a.b),Lm(a,i),Qn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),i.a=!1,n=r}function Pat(e){var t,n,r,i,a,h;for(i=u(W(e,(nt(),bq)),11),h=new C(e.j);h.a<h.c.c.length;){for(a=u(Y(h),11),r=new C(a.g);r.a<r.c.c.length;)return t=u(Y(r),17),wa(t,i),a;for(n=new C(a.e);n.a<n.c.c.length;)return t=u(Y(n),17),Ka(t,i),a}return null}function Q1n(e,t,n){var r,i;r=Mu(n.q.getTime()),Lc(r,0)<0?(i=Ig-Ir(CD(Ex(r),Ig)),i==Ig&&(i=0)):i=Ir(CD(r,Ig)),t==1?(i=b.Math.min((i+50)/100|0,9),Ip(e,48+i&Ss)):t==2?(i=b.Math.min((i+5)/10|0,99),Qd(e,i,2)):(Qd(e,i,3),t>3&&Qd(e,0,t-3))}function Z1n(e){var t,n,r,i;return $e(W(e,(mt(),My)))===$e((R0(),qg))?!e.e&&$e(W(e,aO))!==$e((Fx(),JI)):(r=u(W(e,ble),292),i=Bt(Nt(W(e,vle)))||$e(W(e,aS))===$e((z6(),ZI)),t=u(W(e,Y9e),19).a,n=e.a.c.length,!i&&r!=(Fx(),JI)&&(t==0||t>n))}function J1n(e){var t,n;for(n=0;n<e.c.length&&!(rKe((En(n,e.c.length),u(e.c[n],113)))>0);n++);if(n>0&&n<e.c.length-1)return n;for(t=0;t<e.c.length&&!(rKe((En(t,e.c.length),u(e.c[t],113)))>0);t++);return t>0&&n<e.c.length-1?t:e.c.length/2|0}function Bat(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=6&&t){if(e7(e,t))throw ee(new Dn(DC+eat(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?c3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,6,r)),r=abe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,6,t,t))}function B4e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(e7(e,t))throw ee(new Dn(DC+Bot(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?l3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,9,r)),r=obe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,9,t,t))}function xse(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(e7(e,t))throw ee(new Dn(DC+Pct(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?f3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,12,r)),r=sbe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function u7(e){var t,n,r,i,a;if(r=Rh(e),a=e.j,a==null&&r)return e.$j()?null:r.zj();if(me(r,148)){if(n=r.Aj(),n&&(i=n.Nh(),i!=e.i)){if(t=u(r,148),t.Ej())try{e.g=i.Kh(t,a)}catch(h){if(h=ts(h),me(h,78))e.g=null;else throw ee(h)}e.i=i}return e.g}return null}function Fat(e){var t;return t=new at,st(t,new v6(new Ft(e.c,e.d),new Ft(e.c+e.b,e.d))),st(t,new v6(new Ft(e.c,e.d),new Ft(e.c,e.d+e.a))),st(t,new v6(new Ft(e.c+e.b,e.d+e.a),new Ft(e.c+e.b,e.d))),st(t,new v6(new Ft(e.c+e.b,e.d+e.a),new Ft(e.c,e.d+e.a))),t}function Rat(e,t,n,r){var i,a,h;if(h=y3e(t,n),r.c[r.c.length]=t,e.j[h.p]==-1||e.j[h.p]==2||e.a[t.p])return r;for(e.j[h.p]=-1,a=new ur(dr(j0(h).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),!(!(!no(i)&&!(!no(i)&&i.c.i.c==i.d.i.c))||i==t))return Rat(e,i,h,r);return r}function edn(e,t,n){var r,i,a;for(a=t.a.ec().Kc();a.Ob();)i=u(a.Pb(),79),r=u(Jn(e.b,i),266),!r&&(ls(Jd(i))==ls(qp(i))?p0n(e,i,n):Jd(i)==ls(qp(i))?Jn(e.c,i)==null&&Jn(e.b,qp(i))!=null&&vut(e,i,n,!1):Jn(e.d,i)==null&&Jn(e.b,Jd(i))!=null&&vut(e,i,n,!0))}function tdn(e,t){var n,r,i,a,h,d,v;for(i=e.Kc();i.Ob();)for(r=u(i.Pb(),10),d=new Fc,nc(d,r),qs(d,(dt(),$n)),Qe(d,(nt(),yq),(In(),!0)),h=t.Kc();h.Ob();)a=u(h.Pb(),10),v=new Fc,nc(v,a),qs(v,On),Qe(v,yq,!0),n=new Dv,Qe(n,yq,!0),Ka(n,d),wa(n,v)}function ndn(e,t,n,r){var i,a,h,d;i=Ont(e,t,n),a=Ont(e,n,t),h=u(Jn(e.c,t),112),d=u(Jn(e.c,n),112),i<a?new K2((Xf(),Fy),h,d,a-i):a<i?new K2((Xf(),Fy),d,h,i-a):(i!=0||!(!t.i||!n.i)&&r[t.i.c][n.i.c])&&(new K2((Xf(),Fy),h,d,0),new K2(Fy,d,h,0))}function jat(e,t){var n,r,i,a,h,d,v;for(i=0,h=new C(t.a);h.a<h.c.c.length;)for(a=u(Y(h),10),i+=a.o.b+a.d.a+a.d.d+e.e,r=new ur(dr(Wo(a).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),n.c.i.k==(zn(),Xc)&&(v=n.c.i,d=u(W(v,(nt(),Mi)),10),i+=d.o.b+d.d.a+d.d.d);return i}function $at(e,t,n){var r,i,a,h,d,v,x;for(a=new at,x=new as,h=new as,Vpn(e,x,h,t),tvn(e,x,h,t,n),v=new C(e);v.a<v.c.c.length;)for(d=u(Y(v),112),i=new C(d.k);i.a<i.c.c.length;)r=u(Y(i),129),(!t||r.c==(Xf(),u2))&&d.g>r.b.g&&(a.c[a.c.length]=r);return a}function l7(){l7=de,W4=new aM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Dk=new aM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),_S=new aM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),TS=new aM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),CS=new aM("WHOLE_DRAWING",4)}function rdn(e,t){if(me(t,239))return Oin(e,u(t,33));if(me(t,186))return Uin(e,u(t,118));if(me(t,354))return sQt(e,u(t,137));if(me(t,352))return Lpn(e,u(t,79));if(t)return null;throw ee(new Dn(N8e+Vp(new Cl(ie(ne(Xn,1),_t,1,5,[t])))))}function idn(e){var t,n,r,i,a,h,d;for(a=new as,i=new C(e.d.a);i.a<i.c.c.length;)r=u(Y(i),121),r.b.a.c.length==0&&ks(a,r,a.c.b,a.c);if(a.b>1)for(t=xv((n=new j2,++e.b,n),e.d),d=si(a,0);d.b!=d.d.c;)h=u(ii(d),121),Tf(gf(df(pf(ff(new Ih,1),0),t),h))}function F4e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(e7(e,t))throw ee(new Dn(DC+t5e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?d3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,10,r)),r=pbe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,11,t,t))}function sdn(e){var t,n,r,i;for(r=new ib(new lg(e.b).a);r.b;)n=jv(r),i=u(n.cd(),11),t=u(n.dd(),10),Qe(t,(nt(),Mi),i),Qe(i,ol,t),Qe(i,nO,(In(),!0)),qs(i,u(W(t,vc),61)),W(t,vc),Qe(i.i,(mt(),vs),(ya(),mE)),u(W(Xa(i.i),Qc),21).Fc((mo(),nE))}function adn(e,t,n){var r,i,a,h,d,v;if(a=0,h=0,e.c)for(v=new C(e.d.i.j);v.a<v.c.c.length;)d=u(Y(v),11),a+=d.e.c.length;else a=1;if(e.d)for(v=new C(e.c.i.j);v.a<v.c.c.length;)d=u(Y(v),11),h+=d.g.c.length;else h=1;return i=_s(AM(h-a)),r=(n+t)/2+(n-t)*(.4*i),r}function odn(e){a4();var t,n;if(e.Hc((dt(),cc)))throw ee(new Dn("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return iq;case 2:return t=e.Hc($n)&&e.Hc(On),n=e.Hc(Ln)&&e.Hc(Tr),t||n?oq:aq;case 3:return sq;case 4:return rq;default:return null}}function cdn(e,t,n){var r,i,a,h,d;for(Er(n,"Breaking Point Removing",1),e.a=u(W(t,(mt(),W0)),218),a=new C(t.b);a.a<a.c.c.length;)for(i=u(Y(a),29),d=new C(Nv(i.a));d.a<d.c.c.length;)h=u(Y(d),10),dJe(h)&&(r=u(W(h,(nt(),mw)),305),!r.d&&Fut(e,r));lr(n)}function Ese(e,t,n){return f4(),Ox(e,t)&&Ox(e,n)?!1:eae(new Ft(e.c,e.d),new Ft(e.c+e.b,e.d),t,n)||eae(new Ft(e.c+e.b,e.d),new Ft(e.c+e.b,e.d+e.a),t,n)||eae(new Ft(e.c+e.b,e.d+e.a),new Ft(e.c,e.d+e.a),t,n)||eae(new Ft(e.c,e.d+e.a),new Ft(e.c,e.d),t,n)}function R4e(e,t){var n,r,i,a;if(!e.dc()){for(n=0,r=e.gc();n<r;++n)if(a=Hr(e.Xb(n)),a==null?t==null:on(a.substr(0,3),"!##")?t!=null&&(i=t.length,!on(a.substr(a.length-i,i),t)||a.length!=t.length+3)&&!on(xb,t):on(a,Mce)&&!on(xb,t)||on(a,t))return!0}return!1}function udn(e,t,n,r){var i,a,h,d,v,x;for(h=e.j.c.length,v=Ie(tmn,a6e,306,h,0,1),d=0;d<h;d++)a=u(It(e.j,d),11),a.p=d,v[d]=pfn(hat(a),n,r);for(Odn(e,v,n,t,r),x=new Ar,i=0;i<v.length;i++)v[i]&&Si(x,u(It(e.j,i),11),v[i]);x.f.c+x.g.c!=0&&(Qe(e,(nt(),nS),x),Fln(e,v))}function ldn(e,t,n){var r,i,a;for(i=new C(e.a.b);i.a<i.c.c.length;)if(r=u(Y(i),57),a=q3(r),a&&a.k==(zn(),Ls))switch(u(W(a,(nt(),vc)),61).g){case 4:a.n.a=t.a;break;case 2:a.n.a=n.a-(a.o.a+a.d.c);break;case 1:a.n.b=t.b;break;case 3:a.n.b=n.b-(a.o.b+a.d.a)}}function l4(){l4=de,$q=new w6(U0,0),lO=new w6("NIKOLOV",1),hO=new w6("NIKOLOV_PIXEL",2),GTe=new w6("NIKOLOV_IMPROVED",3),qTe=new w6("NIKOLOV_IMPROVED_PIXEL",4),zTe=new w6("DUMMYNODE_PERCENTAGE",5),VTe=new w6("NODECOUNT_PERCENTAGE",6),Hq=new w6("NO_BOUNDARY",7)}function hdn(e,t,n){var r,i,a,h,d;return i=u(jt(t,(MH(),$Ce)),19),!i&&(i=lt(0)),a=u(jt(n,$Ce),19),!a&&(a=lt(0)),i.a>a.a?-1:i.a<a.a?1:e.a&&(r=Bs(t.j,n.j),r!=0||(r=Bs(t.i,n.i),r!=0))?r:(h=t.g*t.f,d=n.g*n.f,Bs(h,d))}function fdn(e,t){var n,r,i,a,h,d,v,x,T,L;if(++e.e,v=e.d==null?0:e.d.length,t>v){for(T=e.d,e.d=Ie(tAe,G8e,63,2*v+4,0,1),a=0;a<v;++a)if(x=T[a],x)for(r=x.g,L=x.i,d=0;d<L;++d)i=u(r[d],133),h=cbe(e,i.Sh()),n=e.d[h],!n&&(n=e.d[h]=e.uj()),n.Fc(i);return!0}else return!1}function ddn(e,t,n){var r,i,a,h,d,v;if(i=n,a=i.ak(),G0(e.e,a)){if(a.hi()){for(r=u(e.g,119),h=0;h<e.i;++h)if(d=r[h],Ci(d,i)&&h!=t)throw ee(new Dn(MI))}}else for(v=hu(e.e.Tg(),a),r=u(e.g,119),h=0;h<e.i;++h)if(d=r[h],v.rl(d.ak()))throw ee(new Dn(PI));B_(e,t,n)}function Hat(e,t){var n,r,i,a,h,d;for(n=u(W(t,(nt(),_y)),21),h=u(Oi((rae(),ji),n),21),d=u(Oi(ei,n),21),a=h.Kc();a.Ob();)if(r=u(a.Pb(),21),!u(Oi(e.b,r),15).dc())return!1;for(i=d.Kc();i.Ob();)if(r=u(i.Pb(),21),!u(Oi(e.b,r),15).dc())return!1;return!0}function gdn(e,t){var n,r,i,a,h,d;for(Er(t,"Partition postprocessing",1),r=new C(e.b);r.a<r.c.c.length;)for(n=u(Y(r),29),a=new C(n.a);a.a<a.c.c.length;)for(i=u(Y(a),10),d=new C(i.j);d.a<d.c.c.length;)h=u(Y(d),11),Bt(Nt(W(h,(nt(),yq))))&&u_(d);lr(t)}function zat(e,t){var n,r,i,a,h,d,v,x,T;if(e.a.c.length==1)return Uit(u(It(e.a,0),187),t);for(h=vin(e),v=0,x=e.d,a=h,T=e.d,d=(x-a)/2+a;a+1<x;){for(v=0,r=new C(e.a);r.a<r.c.c.length;)n=u(Y(r),187),v+=(i=aC(n,d,!1),i.a);v<t?(T=d,x=d):a=d,d=(x-a)/2+a}return T}function pdn(e){var t,n,r,i,a;return isNaN(e)?(Tx(),fxe):e<-9223372036854776e3?(Tx(),Odt):e>=9223372036854776e3?(Tx(),lxe):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=gb&&(r=_s(e/gb),e-=r*gb),n=0,e>=sk&&(n=_s(e/sk),e-=n*sk),t=_s(e),a=cu(t,n,r),i&&Gre(a),a)}function bdn(e,t){var n,r,i,a;for(n=!t||!e.u.Hc((al(),Z0)),a=0,i=new C(e.e.Cf());i.a<i.c.c.length;){if(r=u(Y(i),838),r.Hf()==(dt(),cc))throw ee(new Dn("Label and node size calculator can only be used with ports that have port sides assigned."));r.vf(a++),gin(e,r,n)}}function vdn(e,t){var n,r,i,a,h;return i=t.Hh(e.a),i&&(r=(!i.b&&(i.b=new Al((cn(),co),wc,i)),i.b),n=Hr(e1(r,Ga)),n!=null&&(a=n.lastIndexOf("#"),h=a==-1?Z2e(e,t.Aj(),n):a==0?YM(e,null,n.substr(1)):YM(e,n.substr(0,a),n.substr(a+1)),me(h,148)))?u(h,148):null}function wdn(e,t){var n,r,i,a,h;return r=t.Hh(e.a),r&&(n=(!r.b&&(r.b=new Al((cn(),co),wc,r)),r.b),a=Hr(e1(n,Lce)),a!=null&&(i=a.lastIndexOf("#"),h=i==-1?Z2e(e,t.Aj(),a):i==0?YM(e,null,a.substr(1)):YM(e,a.substr(0,i),a.substr(i+1)),me(h,148)))?u(h,148):null}function j4e(e){var t,n,r,i,a;for(n=new C(e.a.a);n.a<n.c.c.length;){for(t=u(Y(n),307),t.j=null,a=t.a.a.ec().Kc();a.Ob();)r=u(a.Pb(),57),Yf(r.b),(!t.j||r.d.c<t.j.d.c)&&(t.j=r);for(i=t.a.a.ec().Kc();i.Ob();)r=u(i.Pb(),57),r.b.a=r.d.c-t.j.d.c,r.b.b=r.d.d-t.j.d.d}return e}function RH(e){var t,n,r,i,a;for(n=new C(e.a.a);n.a<n.c.c.length;){for(t=u(Y(n),189),t.f=null,a=t.a.a.ec().Kc();a.Ob();)r=u(a.Pb(),81),Yf(r.e),(!t.f||r.g.c<t.f.g.c)&&(t.f=r);for(i=t.a.a.ec().Kc();i.Ob();)r=u(i.Pb(),81),r.e.a=r.g.c-t.f.g.c,r.e.b=r.g.d-t.f.g.d}return e}function mdn(e){var t,n,r;return n=u(e.a,19).a,r=u(e.b,19).a,t=b.Math.max(b.Math.abs(n),b.Math.abs(r)),n<t&&r==-t?new _a(lt(n+1),lt(r)):n==t&&r<t?new _a(lt(n),lt(r+1)):n>=-t&&r==t?new _a(lt(n-1),lt(r)):new _a(lt(n),lt(r-1))}function Gat(){return po(),ie(ne(amn,1),rt,77,0,[iEe,tEe,WC,Lue,EEe,GG,JG,K7,kEe,fEe,mEe,U7,xEe,uEe,TEe,Y7e,KG,Mue,HG,XG,CEe,YG,X7e,yEe,SEe,QG,_Ee,zG,aEe,vEe,bEe,eq,J7e,$G,VG,Z7e,V7,gEe,lEe,wEe,YC,nEe,eEe,pEe,hEe,UG,ZG,Q7e,WG,dEe,qG,oEe,sEe,XI,jG,cEe,rEe])}function ydn(e,t,n){e.d=0,e.b=0,t.k==(zn(),Xc)&&n.k==Xc&&u(W(t,(nt(),Mi)),10)==u(W(n,Mi),10)&&(bre(t).j==(dt(),Ln)?Aat(e,t,n):Aat(e,n,t)),t.k==Xc&&n.k==ca?bre(t).j==(dt(),Ln)?e.d=1:e.b=1:n.k==Xc&&t.k==ca&&(bre(n).j==(dt(),Ln)?e.b=1:e.d=1),oon(e,t,n)}function kdn(e){var t,n,r,i,a,h,d,v,x,T,L;return L=B3e(e),t=e.a,v=t!=null,v&&sx(L,"category",e.a),i=UL(new pm(e.d)),h=!i,h&&(x=new cg,Zf(L,"knownOptions",x),n=new Lje(x),Da(new pm(e.d),n)),a=UL(e.g),d=!a,d&&(T=new cg,Zf(L,"supportedFeatures",T),r=new Mje(T),Da(e.g,r)),L}function xdn(e){var t,n,r,i,a,h,d,v,x;for(r=!1,t=336,n=0,a=new GVe(e.length),d=e,v=0,x=d.length;v<x;++v)h=d[v],r=r|(ab(h),!1),i=(Np(h),h.a),st(a.a,Or(i)),t&=i.qd(),n=Qrn(n,i.rd());return u(u(YKe(new mn(null,nse(new kn((Pm(),Aye(a.a)),16),new re,t,n)),new qJ(e)),670),833)}function Edn(e,t){var n;e.d&&(t.c!=e.e.c||Onn(e.e.b,t.b))&&(st(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),zqt(t.b)?e.c=t:e.b=t,(t.b==(Rx(),bw)&&!t.a||t.b==xy&&t.a||t.b==D4&&t.a||t.b==Ey&&!t.a)&&e.c&&e.b&&(n=new fh(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=n,e.e=t)}function KD(e){var t;if(H$e.call(this),this.i=new VQ,this.g=e,this.f=u(e.e&&e.e(),9).length,this.f==0)throw ee(new Dn("There must be at least one phase in the phase enumeration."));this.c=(t=u(Wf(this.g),9),new hh(t,u(bf(t,t.length),9),0)),this.a=new Xs,this.b=new Ar}function $4e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=7&&t){if(e7(e,t))throw ee(new Dn(DC+Xit(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?u3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=u(t,49).gh(e,1,jO,r)),r=ove(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,7,t,t))}function qat(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(e7(e,t))throw ee(new Dn(DC+snt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?h3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=u(t,49).gh(e,0,HO,r)),r=cve(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function Tse(e,t){a7();var n,r,i,a,h,d,v,x,T;return t.d>e.d&&(d=e,e=t,t=d),t.d<63?f0n(e,t):(h=(e.d&-2)<<4,x=kwe(e,h),T=kwe(t,h),r=$se(e,F6(x,h)),i=$se(t,F6(T,h)),v=Tse(x,T),n=Tse(r,i),a=Tse($se(x,r),$se(i,T)),a=Wse(Wse(a,v),n),a=F6(a,h),v=F6(v,h<<1),Wse(Wse(v,a),n))}function Tdn(e,t,n){var r,i,a,h,d;for(h=N_(e,n),d=Ie(c0,Og,10,t.length,0,1),r=0,a=h.Kc();a.Ob();)i=u(a.Pb(),11),Bt(Nt(W(i,(nt(),nO))))&&(d[r++]=u(W(i,ol),10));if(r<t.length)throw ee(new Vo("Expected "+t.length+" hierarchical ports, but found only "+r+"."));return d}function _dn(e,t){var n,r,i,a,h,d;if(!e.tb){for(a=(!e.rb&&(e.rb=new Om(e,u1,e)),e.rb),d=new p6(a.i),i=new ir(a);i.e!=i.i.gc();)r=u(br(i),138),h=r.ne(),n=u(h==null?lu(d.f,null,r):Uv(d.g,h,r),138),n&&(h==null?lu(d.f,null,n):Uv(d.g,h,n));e.tb=d}return u(Gc(e.tb,t),138)}function WD(e,t){var n,r,i,a,h;if((e.i==null&&wd(e),e.i).length,!e.p){for(h=new p6((3*e.g.i/2|0)+1),i=new E6(e.g);i.e!=i.i.gc();)r=u(Aie(i),170),a=r.ne(),n=u(a==null?lu(h.f,null,r):Uv(h.g,a,r),170),n&&(a==null?lu(h.f,null,n):Uv(h.g,a,n));e.p=h}return u(Gc(e.p,t),170)}function H4e(e,t,n,r,i){var a,h,d,v,x;for(can(r+Nne(n,n.$d()),i),hWe(t,Nsn(n)),a=n.f,a&&H4e(e,t,a,"Caused by: ",!1),d=(n.k==null&&(n.k=Ie(Uce,Je,78,0,0,1)),n.k),v=0,x=d.length;v<x;++v)h=d[v],H4e(e,t,h,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function YD(e,t,n,r){var i,a,h,d,v;for(v=t.e,d=v.length,h=t.q._f(v,n?0:d-1,n),i=v[n?0:d-1],h=h|Lot(e,i,n,r),a=n?1:d-2;n?a<d:a>=0;a+=n?1:-1)h=h|t.c.Sf(v,a,n,r&&!Bt(Nt(W(t.j,(nt(),yw))))&&!Bt(Nt(W(t.j,(nt(),$4))))),h=h|t.q._f(v,a,n),h=h|Lot(e,v[a],n,r);return zs(e.c,t),h}function jH(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(T=CXe(e.j),L=0,P=T.length;L<P;++L){if(x=T[L],n==(vo(),cl)||n==dS)for(v=vd(x.g),i=v,a=0,h=i.length;a<h;++a)r=i[a],Bln(t,r)&&rw(r,!0);if(n==ou||n==dS)for(d=vd(x.e),i=d,a=0,h=i.length;a<h;++a)r=i[a],Pln(t,r)&&rw(r,!0)}}function Cdn(e){var t,n;switch(t=null,n=null,Ycn(e).g){case 1:t=(dt(),$n),n=On;break;case 2:t=(dt(),Tr),n=Ln;break;case 3:t=(dt(),On),n=$n;break;case 4:t=(dt(),Ln),n=Tr}EF(e,u(Ev(wj(u(Oi(e.k,t),15).Oc(),O4)),113)),xF(e,u(Ev(vj(u(Oi(e.k,n),15).Oc(),O4)),113))}function Sdn(e){var t,n,r,i,a,h;if(i=u(It(e.j,0),11),i.e.c.length+i.g.c.length==0)e.n.a=0;else{for(h=0,r=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(i),new Cr(i)])));Vr(r);)n=u(Nr(r),11),h+=n.i.n.a+n.n.a+n.a.a;t=u(W(e,(mt(),_w)),8),a=t?t.a:0,e.n.a=h/(i.e.c.length+i.g.c.length)-a}}function Vat(e,t){var n,r,i;for(r=new C(t.a);r.a<r.c.c.length;)n=u(Y(r),221),rne(u(n.b,65),pa(fc(u(t.b,65).c),u(t.b,65).a)),i=cct(u(t.b,65).b,u(n.b,65).b),i>1&&(e.a=!0),$Yt(u(n.b,65),Ni(fc(u(t.b,65).c),fd(pa(fc(u(n.b,65).a),u(t.b,65).a),i))),$Ye(e,t),Vat(e,n)}function Uat(e){var t,n,r,i,a,h,d;for(a=new C(e.a.a);a.a<a.c.c.length;)r=u(Y(a),189),r.e=0,r.d.a.$b();for(i=new C(e.a.a);i.a<i.c.c.length;)for(r=u(Y(i),189),n=r.a.a.ec().Kc();n.Ob();)for(t=u(n.Pb(),81),d=t.f.Kc();d.Ob();)h=u(d.Pb(),81),h.d!=r&&(zs(r.d,h),++h.d.e)}function Adn(e){var t,n,r,i,a,h,d,v;for(v=e.j.c.length,n=0,t=v,i=2*v,d=new C(e.j);d.a<d.c.c.length;)switch(h=u(Y(d),11),h.j.g){case 2:case 4:h.p=-1;break;case 1:case 3:r=h.e.c.length,a=h.g.c.length,r>0&&a>0?h.p=t++:r>0?h.p=n++:a>0?h.p=i++:h.p=n++}fn(),aa(e.j,new aL)}function Ldn(e){var t,n;n=null,t=u(It(e.g,0),17);do{if(n=t.d.i,Js(n,(nt(),Kh)))return u(W(n,Kh),11).i;if(n.k!=(zn(),js)&&Vr(new ur(dr(Fs(n).a.Kc(),new V))))t=u(Nr(new ur(dr(Fs(n).a.Kc(),new V))),17);else if(n.k!=js)return null}while(n&&n.k!=(zn(),js));return n}function Mdn(e,t){var n,r,i,a,h,d,v,x,T;for(d=t.j,h=t.g,v=u(It(d,d.c.length-1),113),T=(En(0,d.c.length),u(d.c[0],113)),x=Gie(e,h,v,T),a=1;a<d.c.length;a++)n=(En(a-1,d.c.length),u(d.c[a-1],113)),i=(En(a,d.c.length),u(d.c[a],113)),r=Gie(e,h,n,i),r>x&&(v=n,T=i,x=r);t.a=T,t.c=v}function Ddn(e,t){var n,r;if(r=LM(e.b,t.b),!r)throw ee(new Vo("Invalid hitboxes for scanline constraint calculation."));(Jet(t.b,u(DUt(e.b,t.b),57))||Jet(t.b,u(MUt(e.b,t.b),57)))&&(Gd(),t.b+""),e.a[t.b.f]=u($te(e.b,t.b),57),n=u(jte(e.b,t.b),57),n&&(e.a[n.f]=t.b)}function Tf(e){if(!e.a.d||!e.a.e)throw ee(new Vo((S0(o0t),o0t.k+" must have a source and target "+(S0(h7e),h7e.k)+" specified.")));if(e.a.d==e.a.e)throw ee(new Vo("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return qR(e.a.d.g,e.a),qR(e.a.e.b,e.a),e.a}function Idn(e,t,n){var r,i,a,h,d,v,x;for(x=new Ep(new ARe(e)),h=ie(ne(Wgt,1),aht,11,0,[t,n]),d=0,v=h.length;d<v;++d)for(a=h[d],q$(x.a,a,(In(),Tb))==null,i=new O1(a.b);tc(i.a)||tc(i.b);)r=u(tc(i.a)?Y(i.a):Y(i.b),17),r.c==r.d||LM(x,a==r.c?r.d:r.c);return Or(x),new Gu(x)}function Kat(e,t,n){var r,i,a,h,d,v;if(r=0,t.b!=0&&n.b!=0){a=si(t,0),h=si(n,0),d=We(gt(ii(a))),v=We(gt(ii(h))),i=!0;do{if(d>v-e.b&&d<v+e.b)return-1;d>v-e.a&&d<v+e.a&&++r,d<=v&&a.b!=a.d.c?d=We(gt(ii(a))):v<=d&&h.b!=h.d.c?v=We(gt(ii(h))):i=!1}while(i)}return r}function Odn(e,t,n,r,i){var a,h,d,v;for(v=(a=u(Wf(oo),9),new hh(a,u(bf(a,a.length),9),0)),d=new C(e.j);d.a<d.c.c.length;)h=u(Y(d),11),t[h.p]&&(Uvn(h,t[h.p],r),xf(v,h.j));i?(Zie(e,t,(dt(),$n),2*n,r),Zie(e,t,On,2*n,r)):(Zie(e,t,(dt(),Ln),2*n,r),Zie(e,t,Tr,2*n,r))}function Ndn(e){var t,n,r,i,a;if(a=new at,Su(e.b,new Kn(a)),e.b.c=Ie(Xn,_t,1,0,5,1),a.c.length!=0){for(t=(En(0,a.c.length),u(a.c[0],78)),n=1,r=a.c.length;n<r;++n)i=(En(n,a.c.length),u(a.c[n],78)),i!=t&&Uun(t,i);if(me(t,60))throw ee(u(t,60));if(me(t,289))throw ee(u(t,289))}}function Pdn(e,t){var n,r,i,a;for(e=e==null?Iu:(An(e),e),n=new ym,a=0,r=0;r<t.length&&(i=e.indexOf("%s",a),i!=-1);)Yr(n,e.substr(a,i-a)),kc(n,t[r++]),a=i+2;if(Yr(n,e.substr(a)),r<t.length){for(n.a+=" [",kc(n,t[r++]);r<t.length;)n.a+=so,kc(n,t[r++]);n.a+="]"}return n.a}function Bdn(e){var t,n,r,i;for(t=0,r=e.length,i=r-4,n=0;n<i;)t=(zr(n+3,e.length),e.charCodeAt(n+3)+(zr(n+2,e.length),31*(e.charCodeAt(n+2)+(zr(n+1,e.length),31*(e.charCodeAt(n+1)+(zr(n,e.length),31*(e.charCodeAt(n)+31*t))))))),t=t|0,n+=4;for(;n<r;)t=t*31+Ma(e,n++);return t=t|0,t}function Fdn(e){var t,n;for(n=new ur(dr(Fs(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),t.d.i.k!=(zn(),Pl))throw ee(new A3(loe+ID(e)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function Rdn(e,t,n,r){var i,a,h,d,v,x,T,L,P;for(v=0,T=new C(e.a);T.a<T.c.c.length;){for(x=u(Y(T),10),d=0,a=new ur(dr(Wo(x).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),L=M1(i.c).b,P=M1(i.d).b,d=b.Math.max(d,b.Math.abs(P-L));v=b.Math.max(v,d)}return h=r*b.Math.min(1,t/n)*v,h}function z4e(e){var t;return t=new yT,e&256&&(t.a+="F"),e&128&&(t.a+="H"),e&512&&(t.a+="X"),e&2&&(t.a+="i"),e&8&&(t.a+="m"),e&4&&(t.a+="s"),e&32&&(t.a+="u"),e&64&&(t.a+="w"),e&16&&(t.a+="x"),e&_f&&(t.a+=","),spe(t.a)}function jdn(e,t){var n,r,i,a;for(Er(t,"Resize child graph to fit parent.",1),r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),29),Ps(e.a,n.a),n.a.c=Ie(Xn,_t,1,0,5,1);for(a=new C(e.a);a.a<a.c.c.length;)i=u(Y(a),10),Oo(i,null);e.b.c=Ie(Xn,_t,1,0,5,1),c0n(e),e.e&&Wgn(e.e,e),lr(t)}function $dn(e){var t,n,r,i,a,h,d,v,x;if(r=e.b,a=r.e,h=_6(u(W(r,(mt(),vs)),98)),n=!!a&&u(W(a,(nt(),Qc)),21).Hc((mo(),Th)),!(h||n))for(x=(d=new x1(e.e).a.vc().Kc(),new E1(d));x.a.Ob();)v=(t=u(x.a.Pb(),42),u(t.dd(),113)),v.a&&(i=v.d,nc(i,null),v.c=!0,e.a=!0)}function Hdn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;for(P=-1,z=0,x=e,T=0,L=x.length;T<L;++T){for(v=x[T],a=v,h=0,d=a.length;h<d;++h)for(i=a[h],t=new aGe(P==-1?e[0]:e[P],Wrt(i)),n=0;n<i.j.c.length;n++)for(r=n+1;r<i.j.c.length;r++)RKe(t,u(It(i.j,n),11),u(It(i.j,r),11))>0&&++z;++P}return z}function zdn(e,t){var n,r,i,a,h;for(h=u(W(t,(tw(),w_e)),425),a=si(t.b,0);a.b!=a.d.c;)if(i=u(ii(a),86),e.b[i.g]==0){switch(h.g){case 0:yrt(e,i);break;case 1:qfn(e,i)}e.b[i.g]=2}for(r=si(e.a,0);r.b!=r.d.c;)n=u(ii(r),188),Wm(n.b.d,n,!0),Wm(n.c.b,n,!0);Qe(t,(xc(),h_e),e.a)}function hu(e,t){ho();var n,r,i,a;return t?t==(Bi(),R3t)||(t==C3t||t==jb||t==_3t)&&e!=AAe?new O5e(e,t):(r=u(t,677),n=r.pk(),n||(fx(No((Uu(),Oa),t)),n=r.pk()),a=(!n.i&&(n.i=new Ar),n.i),i=u(hc(jo(a.f,e)),1942),!i&&Si(a,e,i=new O5e(e,t)),i):x3t}function Gdn(e,t){var n,r,i,a,h,d,v,x,T;for(v=u(W(e,(nt(),Mi)),11),x=ic(ie(ne(ea,1),Je,8,0,[v.i.n,v.n,v.a])).a,T=e.i.n.b,n=vd(e.e),i=n,a=0,h=i.length;a<h;++a)r=i[a],wa(r,v),H2(r.a,new Ft(x,T)),t&&(d=u(W(r,(mt(),Fo)),74),d||(d=new $u,Qe(r,Fo,d)),oi(d,new Ft(x,T)))}function qdn(e,t){var n,r,i,a,h,d,v,x,T;for(i=u(W(e,(nt(),Mi)),11),x=ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).a,T=e.i.n.b,n=vd(e.g),h=n,d=0,v=h.length;d<v;++d)a=h[d],Ka(a,i),ZGe(a.a,new Ft(x,T)),t&&(r=u(W(a,(mt(),Fo)),74),r||(r=new $u,Qe(a,Fo,r)),oi(r,new Ft(x,T)))}function Vdn(e,t){var n,r,i,a,h,d;for(e.b=new at,e.d=u(W(t,(nt(),Ck)),230),e.e=tJt(e.d),a=new as,i=I1(ie(ne(Vgt,1),iht,37,0,[t])),h=0;h<i.c.length;)r=(En(h,i.c.length),u(i.c[h],37)),r.p=h++,n=new aut(r,e.a,e.b),Ps(i,n.b),st(e.b,n),n.s&&(d=si(a,0),MM(d,n));return e.c=new Ys,a}function Udn(e,t){var n,r,i,a,h,d;for(h=u(u(Oi(e.r,t),21),84).Kc();h.Ob();)a=u(h.Pb(),111),n=a.c?Ybe(a.c):0,n>0?a.a?(d=a.b.rf().a,n>d&&(i=(n-d)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:o_(e.u)&&(r=F3e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.rf().a&&(a.d.c=r.c+r.b-a.b.rf().a))}function Kdn(e,t){var n,r,i,a;for(Er(t,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new C(e.b);i.a<i.c.c.length;)r=u(Y(i),29),a=xD(m$(qi(qi(new mn(null,new kn(r.a,16)),new k9),new lL),new GP),new qP),n=n|a.a!=null;n&&Qe(e,(nt(),l9e),(In(),!0)),lr(t)}function Wdn(e,t,n){var r,i,a,h,d;if(i=n,!i&&(i=new j8),Er(i,"Layout",e.a.c.length),Bt(Nt(W(t,(tw(),p_e)))))for(Gd(),r=0;r<e.a.c.length;r++)d=(r<10?"0":"")+r++,""+d+xp(pl(u(It(e.a,r),51)));for(h=new C(e.a);h.a<h.c.c.length;)a=u(Y(h),51),a.pf(t,Vc(i,1));lr(i)}function Ydn(e){var t,n;if(t=u(e.a,19).a,n=u(e.b,19).a,t>=0){if(t==n)return new _a(lt(-t-1),lt(-t-1));if(t==-n)return new _a(lt(-t),lt(n+1))}return b.Math.abs(t)>b.Math.abs(n)?t<0?new _a(lt(-t),lt(n)):new _a(lt(-t),lt(n+1)):new _a(lt(t+1),lt(n))}function Xdn(e){var t,n;n=u(W(e,(mt(),du)),163),t=u(W(e,(nt(),Cb)),303),n==(mh(),a2)?(Qe(e,du,sO),Qe(e,Cb,(P0(),R4))):n==Sy?(Qe(e,du,sO),Qe(e,Cb,(P0(),kk))):t==(P0(),R4)?(Qe(e,du,a2),Qe(e,Cb,eO)):t==kk&&(Qe(e,du,Sy),Qe(e,Cb,eO))}function $H(){$H=de,gO=new nQ,Kvt=ki(new Xs,(io(),fu),(po(),HG)),Xvt=rl(ki(new Xs,fu,YG),zo,WG),Qvt=Xv(Xv(cR(rl(ki(new Xs,Dd,JG),zo,ZG),Yc),QG),eq),Wvt=rl(ki(ki(ki(new Xs,i2,GG),Yc,VG),Yc,V7),zo,qG),Yvt=rl(ki(ki(new Xs,Yc,V7),Yc,$G),zo,jG)}function J_(){J_=de,ewt=ki(rl(new Xs,(io(),zo),(po(),oEe)),fu,HG),iwt=Xv(Xv(cR(rl(ki(new Xs,Dd,JG),zo,ZG),Yc),QG),eq),twt=rl(ki(ki(ki(new Xs,i2,GG),Yc,VG),Yc,V7),zo,qG),rwt=ki(ki(new Xs,fu,YG),zo,WG),nwt=rl(ki(ki(new Xs,Yc,V7),Yc,$G),zo,jG)}function Qdn(e,t,n,r,i){var a,h;(!no(t)&&t.c.i.c==t.d.i.c||!set(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])),n))&&!no(t)&&(t.c==i?tx(t.a,0,new Do(n)):oi(t.a,new Do(n)),r&&!_0(e.a,n)&&(h=u(W(t,(mt(),Fo)),74),h||(h=new $u,Qe(t,Fo,h)),a=new Do(n),ks(h,a,h.c.b,h.c),zs(e.a,a)))}function Zdn(e){var t,n;for(n=new ur(dr(Wo(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),t.c.i.k!=(zn(),Pl))throw ee(new A3(loe+ID(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 Jdn(e,t,n){var r,i,a,h,d,v,x;if(i=hnt(e.Db&254),i==0)e.Eb=n;else{if(i==1)d=Ie(Xn,_t,1,2,5,1),a=zie(e,t),a==0?(d[0]=n,d[1]=e.Eb):(d[0]=e.Eb,d[1]=n);else for(d=Ie(Xn,_t,1,i+1,5,1),h=Z2(e.Eb),r=2,v=0,x=0;r<=128;r<<=1)r==t?d[x++]=n:e.Db&r&&(d[x++]=h[v++]);e.Eb=d}e.Db|=t}function Wat(e,t,n){var r,i,a,h;for(this.b=new at,i=0,r=0,h=new C(e);h.a<h.c.c.length;)a=u(Y(h),167),n&&Zpn(a),st(this.b,a),i+=a.o,r+=a.p;this.b.c.length>0&&(a=u(It(this.b,0),167),i+=a.o,r+=a.p),i*=2,r*=2,t>1?i=_s(b.Math.ceil(i*t)):r=_s(b.Math.ceil(r/t)),this.a=new Mye(i,r)}function Yat(e,t,n,r,i,a){var h,d,v,x,T,L,P,z,q,K,Q,ue;for(T=r,t.j&&t.o?(z=u(Jn(e.f,t.A),57),K=z.d.c+z.d.b,--T):K=t.a.c+t.a.b,L=i,n.q&&n.o?(z=u(Jn(e.f,n.C),57),x=z.d.c,++L):x=n.a.c,Q=x-K,v=b.Math.max(2,L-T),d=Q/v,q=K+d,P=T;P<L;++P)h=u(a.Xb(P),128),ue=h.a.b,h.a.c=q-ue/2,q+=d}function G4e(e,t,n,r,i,a){var h,d,v,x,T,L;for(x=n.c.length,a&&(e.c=Ie(Sr,Jr,25,t.length,15,1)),h=i?0:t.length-1;i?h<t.length:h>=0;h+=i?1:-1){for(d=t[h],v=r==(dt(),$n)?i?sc(d,r):J2(sc(d,r)):i?J2(sc(d,r)):sc(d,r),a&&(e.c[d.p]=v.gc()),L=v.Kc();L.Ob();)T=u(L.Pb(),11),e.d[T.p]=x++;Ps(n,v)}}function Xat(e,t,n){var r,i,a,h,d,v,x,T;for(a=We(gt(e.b.Kc().Pb())),x=We(gt(crn(t.b))),r=fd(fc(e.a),x-n),i=fd(fc(t.a),n-a),T=Ni(r,i),fd(T,1/(x-a)),this.a=T,this.b=new at,d=!0,h=e.b.Kc(),h.Pb();h.Ob();)v=We(gt(h.Pb())),d&&v-n>qoe&&(this.b.Fc(n),d=!1),this.b.Fc(v);d&&this.b.Fc(n)}function e0n(e){var t,n,r,i;if(hgn(e,e.n),e.d.c.length>0){for(wT(e.c);x4e(e,u(Y(new C(e.e.a)),121))<e.e.a.c.length;){for(t=Von(e),i=t.e.e-t.d.e-t.a,t.e.j&&(i=-i),r=new C(e.e.a);r.a<r.c.c.length;)n=u(Y(r),121),n.j&&(n.e+=i);wT(e.c)}wT(e.c),h4e(e,u(Y(new C(e.e.a)),121)),rut(e)}}function t0n(e,t){var n,r,i,a,h;for(i=u(Oi(e.a,(a4(),iq)),15).Kc();i.Ob();)switch(r=u(i.Pb(),101),n=u(It(r.j,0),113).d.j,a=new Gu(r.j),aa(a,new aX),t.g){case 1:Qie(e,a,n,(Gv(),s2),1);break;case 0:h=J1n(a),Qie(e,new Yd(a,0,h),n,(Gv(),s2),0),Qie(e,new Yd(a,h,a.c.length),n,s2,1)}}function n0n(e,t){q6();var n,r;if(n=ire(Dx(),t.tg()),n){if(r=n.j,me(e,239))return uZt(u(e,33))?zu(r,(t1(),ua))||zu(r,jn):zu(r,(t1(),ua));if(me(e,352))return zu(r,(t1(),Nd));if(me(e,186))return zu(r,(t1(),Ob));if(me(e,354))return zu(r,(t1(),zg))}return!0}function r0n(e,t,n){var r,i,a,h,d,v;if(i=n,a=i.ak(),G0(e.e,a)){if(a.hi()){for(r=u(e.g,119),h=0;h<e.i;++h)if(d=r[h],Ci(d,i)&&h!=t)throw ee(new Dn(MI))}}else for(v=hu(e.e.Tg(),a),r=u(e.g,119),h=0;h<e.i;++h)if(d=r[h],v.rl(d.ak())&&h!=t)throw ee(new Dn(PI));return u(t4(e,t,n),72)}function Qat(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var n=e;Object.defineProperties(t,{cause:{get:function(){var r=n.Zd();return r&&r.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch{}}function Zat(e,t){var n,r,i,a,h;if(r=t>>5,t&=31,r>=e.d)return e.e<0?(Kp(),Zce):(Kp(),H7);if(a=e.d-r,i=Ie(Sr,Jr,25,a+1,15,1),Kln(i,a,e.a,r,t),e.e<0){for(n=0;n<r&&e.a[n]==0;n++);if(n<r||t>0&&e.a[n]<<32-t){for(n=0;n<a&&i[n]==-1;n++)i[n]=0;n==a&&++a,++i[n]}}return h=new $3(e.e,a,i),b_(h),h}function Jat(e){var t,n,r,i;return i=A1(e),n=new Ti(i),r=new ia(i),t=new at,Ps(t,(!e.d&&(e.d=new yn(ta,e,8,5)),e.d)),Ps(t,(!e.e&&(e.e=new yn(ta,e,7,4)),e.e)),u(Gl(Eu(qi(new mn(null,new kn(t,16)),n),r),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21)}function eot(e,t,n,r){var i,a,h,d,v;if(d=(ho(),u(t,66).Oj()),G0(e.e,t)){if(t.hi()&&WH(e,t,r,me(t,99)&&(u(t,18).Bb&ao)!=0))throw ee(new Dn(MI))}else for(v=hu(e.e.Tg(),t),i=u(e.g,119),h=0;h<e.i;++h)if(a=i[h],v.rl(a.ak()))throw ee(new Dn(PI));B_(e,Z3e(e,t,n),d?u(r,72):Xd(t,r))}function G0(e,t){ho();var n,r,i;return t.$j()?!0:t.Zj()==-2?t==(J6(),$k)||t==jk||t==nfe||t==rfe?!0:(i=e.Tg(),Zi(i,t)>=0?!1:(n=p4((Uu(),Oa),i,t),n?(r=n.Zj(),(r>1||r==-1)&&Mv(No(Oa,n))!=3):!0)):!1}function i0n(e,t,n,r){var i,a,h,d,v;return d=Ho(u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82)),v=Ho(u(_e((!t.c&&(t.c=new yn(kr,t,5,8)),t.c),0),82)),ls(d)==ls(v)||Gm(v,d)?null:(h=FM(t),h==n?r:(a=u(Jn(e.a,h),10),a&&(i=a.e,i)?i:null))}function s0n(e,t){var n;switch(n=u(W(e,(mt(),Sq)),276),Er(t,"Label side selection ("+n+")",1),n.g){case 0:gat(e,(Kl(),l0));break;case 1:gat(e,(Kl(),f2));break;case 2:Lct(e,(Kl(),l0));break;case 3:Lct(e,(Kl(),f2));break;case 4:lot(e,(Kl(),l0));break;case 5:lot(e,(Kl(),f2))}lr(t)}function q4e(e,t,n){var r,i,a,h,d,v;if(r=qGt(n,e.length),h=e[r],h[0].k==(zn(),Ls))for(a=fHe(n,h.length),v=t.j,i=0;i<v.c.length;i++)d=(En(i,v.c.length),u(v.c[i],11)),(n?d.j==(dt(),$n):d.j==(dt(),On))&&Bt(Nt(W(d,(nt(),nO))))&&(gh(v,i,u(W(h[a],(nt(),Mi)),11)),a+=n?1:-1)}function a0n(e,t){var n,r,i,a,h;h=new at,n=t;do a=u(Jn(e.b,n),128),a.B=n.c,a.D=n.d,h.c[h.c.length]=a,n=u(Jn(e.k,n),17);while(n);return r=(En(0,h.c.length),u(h.c[0],128)),r.j=!0,r.A=u(r.d.a.ec().Kc().Pb(),17).c.i,i=u(It(h,h.c.length-1),128),i.q=!0,i.C=u(i.d.a.ec().Kc().Pb(),17).d.i,h}function tot(e){if(e.g==null)switch(e.p){case 0:e.g=lZt(e)?(In(),j7):(In(),Tb);break;case 1:e.g=rD(qJt(e));break;case 2:e.g=fD(QZt(e));break;case 3:e.g=NXt(e);break;case 4:e.g=new T3(OXt(e));break;case 6:e.g=ob(PXt(e));break;case 5:e.g=lt(JQt(e));break;case 7:e.g=Vx(KJt(e))}return e.g}function V4e(e){if(e.n==null)switch(e.p){case 0:e.n=hZt(e)?(In(),j7):(In(),Tb);break;case 1:e.n=rD(VJt(e));break;case 2:e.n=fD(ZZt(e));break;case 3:e.n=FXt(e);break;case 4:e.n=new T3(RXt(e));break;case 6:e.n=ob(BXt(e));break;case 5:e.n=lt(eZt(e));break;case 7:e.n=Vx(UJt(e))}return e.n}function not(e){var t,n,r,i,a,h,d;for(a=new C(e.a.a);a.a<a.c.c.length;)r=u(Y(a),307),r.g=0,r.i=0,r.e.a.$b();for(i=new C(e.a.a);i.a<i.c.c.length;)for(r=u(Y(i),307),n=r.a.a.ec().Kc();n.Ob();)for(t=u(n.Pb(),57),d=t.c.Kc();d.Ob();)h=u(d.Pb(),57),h.a!=r&&(zs(r.e,h),++h.a.g,++h.a.i)}function o0n(e,t){var n,r,i,a,h,d;if(d=LM(e.a,t.b),!d)throw ee(new Vo("Invalid hitboxes for scanline overlap calculation."));for(h=!1,a=(r=new e_(new QT(new m(e.a.a).a).b),new g(r));JL(a.a.a);)if(i=(n=KR(a.a),u(n.cd(),65)),_rn(t.b,i))YGt(e.b.a,t.b,i),h=!0;else if(h)break}function c0n(e){var t,n,r,i,a;i=u(W(e,(mt(),Lb)),21),a=u(W(e,Oq),21),n=new Ft(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Do(n),i.Hc((Nl(),Hy))&&(r=u(W(e,sE),8),a.Hc((wl(),yE))&&(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)),t2n(e,n,t)}function rot(e,t){var n,r,i,a,h,d,v,x,T,L,P;i=t?new xX:new EX,a=!1;do for(a=!1,x=t?J2(e.b):e.b,v=x.Kc();v.Ob();)for(d=u(v.Pb(),29),P=Nv(d.a),t||new uv(P),L=new C(P);L.a<L.c.c.length;)T=u(Y(L),10),i.Mb(T)&&(r=T,n=u(W(T,(nt(),mw)),305),h=t?n.b:n.k,a=Tot(r,h,t,!1));while(a)}function u0n(e,t,n){var r,i,a,h,d;for(Er(n,"Longest path layering",1),e.a=t,d=e.a.a,e.b=Ie(Sr,Jr,25,d.c.length,15,1),r=0,h=new C(d);h.a<h.c.c.length;)i=u(Y(h),10),i.p=r,e.b[r]=-1,++r;for(a=new C(d);a.a<a.c.c.length;)i=u(Y(a),10),_at(e,i);d.c=Ie(Xn,_t,1,0,5,1),e.a=null,e.b=null,lr(n)}function l0n(e,t){var n,r,i;t.a?(LM(e.b,t.b),e.a[t.b.i]=u($te(e.b,t.b),81),n=u(jte(e.b,t.b),81),n&&(e.a[n.i]=t.b)):(r=u($te(e.b,t.b),81),r&&r==e.a[t.b.i]&&r.d&&r.d!=t.b.d&&r.f.Fc(t.b),i=u(jte(e.b,t.b),81),i&&e.a[i.i]==t.b&&i.d&&i.d!=t.b.d&&t.b.f.Fc(i),Ste(e.b,t.b))}function iot(e,t){var n,r,i,a,h,d;return a=e.d,d=We(gt(W(e,(mt(),Rg)))),d<0&&(d=0,Qe(e,Rg,d)),t.o.b=d,h=b.Math.floor(d/2),r=new Fc,qs(r,(dt(),On)),nc(r,t),r.n.b=h,i=new Fc,qs(i,$n),nc(i,t),i.n.b=h,wa(e,r),n=new Dv,$o(n,e),Qe(n,Fo,null),Ka(n,i),wa(n,a),bpn(t,e,n),mhn(e,n),n}function h0n(e){var t,n;return n=u(W(e,(nt(),Qc)),21),t=new Xs,n.Hc((mo(),eS))&&(Ul(t,Gvt),Ul(t,u_e)),(n.Hc(nE)||Bt(Nt(W(e,(mt(),kle)))))&&(Ul(t,u_e),n.Hc(F4)&&Ul(t,Vvt)),n.Hc(Th)&&Ul(t,zvt),n.Hc(tS)&&Ul(t,Uvt),n.Hc(gq)&&Ul(t,qvt),n.Hc(eE)&&Ul(t,$vt),n.Hc(tE)&&Ul(t,Hvt),t}function f0n(e,t){var n,r,i,a,h,d,v,x,T,L,P;return r=e.d,a=t.d,d=r+a,v=e.e!=t.e?-1:1,d==2?(T=Ha(Gs(e.a[0],yo),Gs(t.a[0],yo)),P=Ir(T),L=Ir(Im(T,32)),L==0?new kg(v,P):new $3(v,2,ie(ne(Sr,1),Jr,25,15,[P,L]))):(n=e.a,i=t.a,h=Ie(Sr,Jr,25,d,15,1),Ain(n,r,i,a,h),x=new $3(v,d,h),b_(x),x)}function sot(e,t,n,r){var i,a;if(t){if(i=e.a.ue(n.d,t.d),i==0)return r.d=hbe(t,n.e),r.b=!0,t;a=i<0?0:1,t.a[a]=sot(e,t.a[a],n,r),mm(t.a[a])&&(mm(t.a[1-a])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):mm(t.a[a].a[a])?t=D$(t,1-a):mm(t.a[a].a[1-a])&&(t=mXe(t,1-a)))}else return n;return t}function aot(e,t,n){var r,i,a,h;i=e.i,r=e.n,Ewe(e,(Jf(),pc),i.c+r.b,n),Ewe(e,bc,i.c+i.b-r.c-n[2],n),h=i.b-r.b-r.c,n[0]>0&&(n[0]+=e.d,h-=n[0]),n[2]>0&&(n[2]+=e.d,h-=n[2]),a=b.Math.max(0,h),n[1]=b.Math.max(n[1],h),Ewe(e,au,i.c+r.b+n[0]-(n[1]-h)/2,n),t==au&&(e.c.b=a,e.c.c=i.c+r.b+(a-h)/2)}function oot(){this.c=Ie(va,Ao,25,(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,15,1),this.b=Ie(va,Ao,25,ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]).length,15,1),this.a=Ie(va,Ao,25,ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]).length,15,1),Ope(this.c,ps),Ope(this.b,Ds),Ope(this.a,Ds)}function Uc(e,t,n){var r,i,a,h;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=Ie(Sr,Jr,25,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}h=Ie(Sr,Jr,25,r+2,15,1),Rc(e.b,0,h,0,r),e.b=h,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||c4(e)}}function d0n(e,t,n){var r,i,a,h,d,v,x;for(x=t.d,e.a=new tu(x.c.length),e.c=new Ar,d=new C(x);d.a<d.c.c.length;)h=u(Y(d),101),a=new uD(null),st(e.a,a),Si(e.c,h,a);for(e.b=new Ar,xhn(e,t),r=0;r<x.c.length-1;r++)for(v=u(It(t.d,r),101),i=r+1;i<x.c.length;i++)ndn(e,v,u(It(t.d,i),101),n)}function cot(e,t,n){var r,i,a,h,d,v;if(!vx(t)){for(v=Vc(n,(me(t,14)?u(t,14).gc():I0(t.Kc()))/e.a|0),Er(v,zht,1),d=new kQ,h=0,a=t.Kc();a.Ob();)r=u(a.Pb(),86),d=P1(ie(ne(G1,1),_t,20,0,[d,new mp(r)])),h<r.f.b&&(h=r.f.b);for(i=t.Kc();i.Ob();)r=u(i.Pb(),86),Qe(r,(xc(),Xq),h);lr(v),cot(e,d,n)}}function g0n(e,t){var n,r,i,a,h,d,v;for(n=Ds,d=(zn(),js),i=new C(t.a);i.a<i.c.c.length;)r=u(Y(i),10),a=r.k,a!=js&&(h=gt(W(r,(nt(),f9e))),h==null?(n=b.Math.max(n,0),r.n.b=n+z2e(e.a,a,d)):r.n.b=(An(h),h)),v=z2e(e.a,a,d),r.n.b<n+v+r.d.d&&(r.n.b=n+v+r.d.d),n=r.n.b+r.o.b+r.d.a,d=a}function p0n(e,t,n){var r,i,a,h,d,v,x,T,L;for(a=h4(t,!1,!1),x=jD(a),L=We(gt(jt(t,(H_(),fue)))),i=Xut(x,L+e.a),T=new vse(i),$o(T,t),Si(e.b,t,T),n.c[n.c.length]=T,v=(!t.n&&(t.n=new ot(Qo,t,1,7)),t.n),d=new ir(v);d.e!=d.i.gc();)h=u(br(d),137),r=XD(e,h,!0,0,0),n.c[n.c.length]=r;return T}function uot(e,t,n,r,i){var a,h,d,v,x,T;if(e.d&&e.d.lg(i),a=u(i.Xb(0),33),brt(e,n,a,!1)||(h=u(i.Xb(i.gc()-1),33),brt(e,r,h,!0))||G3e(e,i))return!0;for(T=i.Kc();T.Ob();)for(x=u(T.Pb(),33),v=t.Kc();v.Ob();)if(d=u(v.Pb(),33),zH(e,x,d))return!0;return!1}function b0n(e,t,n){var r,i,a,h,d,v,x,T,L,P;P=t.c.length,L=(x=e.Yg(n),u(x>=0?e._g(x,!1,!0):ew(e,n,!1),58));e:for(a=L.Kc();a.Ob();){for(i=u(a.Pb(),56),T=0;T<P;++T)if(h=(En(T,t.c.length),u(t.c[T],72)),v=h.dd(),d=h.ak(),r=i.bh(d,!1),v==null?r!=null:!Ci(v,r))continue e;return i}return null}function v0n(e,t,n,r){var i,a,h,d;for(i=u(Mg(t,(dt(),On)).Kc().Pb(),11),a=u(Mg(t,$n).Kc().Pb(),11),d=new C(e.j);d.a<d.c.c.length;){for(h=u(Y(d),11);h.e.c.length!=0;)wa(u(It(h.e,0),17),i);for(;h.g.c.length!=0;)Ka(u(It(h.g,0),17),a)}n||Qe(t,(nt(),o1),null),r||Qe(t,(nt(),Kh),null)}function h4(e,t,n){var r,i;if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i==0)return Mme(e);if(r=u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202),t&&(_r((!r.a&&(r.a=new Ns(Zh,r,5)),r.a)),Sx(r,0),Lx(r,0),Cx(r,0),Ax(r,0)),n)for(i=(!e.a&&(e.a=new ot(os,e,6,6)),e.a);i.i>1;)iy(i,i.i-1);return r}function w0n(e,t){var n,r,i,a,h,d,v;for(Er(t,"Comment post-processing",1),a=new C(e.b);a.a<a.c.c.length;){for(i=u(Y(a),29),r=new at,d=new C(i.a);d.a<d.c.c.length;)h=u(Y(d),10),v=u(W(h,(nt(),Sk)),15),n=u(W(h,xk),15),(v||n)&&(mvn(h,v,n),v&&Ps(r,v),n&&Ps(r,n));Ps(i.a,r)}lr(t)}function lot(e,t){var n,r,i,a,h,d,v;for(n=new S3,a=new C(e.b);a.a<a.c.c.length;){for(i=u(Y(a),29),v=!0,r=0,d=new C(i.a);d.a<d.c.c.length;)switch(h=u(Y(d),10),h.k.g){case 4:++r;case 1:uwe(n,h);break;case 0:whn(h,t);default:n.b==n.c||Jot(n,r,v,!1,t),v=!1,r=0}n.b==n.c||Jot(n,r,v,!0,t)}}function m0n(e,t){var n,r,i,a,h,d,v;for(i=new at,n=0;n<=e.i;n++)r=new Nh(t),r.p=e.i-n,i.c[i.c.length]=r;for(d=new C(e.o);d.a<d.c.c.length;)h=u(Y(d),10),Oo(h,u(It(i,e.i-e.f[h.p]),29));for(a=new C(i);a.a<a.c.c.length;)v=u(Y(a),29),v.a.c.length==0&&u_(a);t.b.c=Ie(Xn,_t,1,0,5,1),Ps(t.b,i)}function U4e(e,t){var n,r,i,a,h,d;for(n=0,d=new C(t);d.a<d.c.c.length;){for(h=u(Y(d),11),Yme(e.b,e.d[h.p]),i=new O1(h.b);tc(i.a)||tc(i.b);)r=u(tc(i.a)?Y(i.a):Y(i.b),17),a=kpe(e,h==r.c?r.d:r.c),a>e.d[h.p]&&(n+=vwe(e.b,a),Bp(e.a,lt(a)));for(;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function hot(e,t,n){var r,i,a,h;for(a=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i,i=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));i.e!=i.i.gc();)r=u(br(i),33),(!r.a&&(r.a=new ot(fs,r,10,11)),r.a).i==0||(a+=hot(e,r,!1));if(n)for(h=ls(t);h;)a+=(!h.a&&(h.a=new ot(fs,h,10,11)),h.a).i,h=ls(h);return a}function iy(e,t){var n,r,i,a;return e.ej()?(r=null,i=e.fj(),e.ij()&&(r=e.kj(e.pi(t),null)),n=e.Zi(4,a=X6(e,t),null,t,i),e.bj()&&a!=null&&(r=e.dj(a,r)),r?(r.Ei(n),r.Fi()):e.$i(n),a):(a=X6(e,t),e.bj()&&a!=null&&(r=e.dj(a,null),r&&r.Fi()),a)}function y0n(e){var t,n,r,i,a,h,d,v,x,T;for(x=e.a,t=new Ys,v=0,r=new C(e.d);r.a<r.c.c.length;){for(n=u(Y(r),222),T=0,K3(n.b,new ap),h=si(n.b,0);h.b!=h.d.c;)a=u(ii(h),222),t.a._b(a)&&(i=n.c,d=a.c,T<d.d+d.a+x&&T+i.a+x>d.d&&(T=d.d+d.a+x));n.c.d=T,t.a.zc(n,t),v=b.Math.max(v,n.c.d+n.c.a)}return v}function mo(){mo=de,dq=new Em("COMMENTS",0),Th=new Em("EXTERNAL_PORTS",1),eS=new Em("HYPEREDGES",2),gq=new Em("HYPERNODES",3),nE=new Em("NON_FREE_PORTS",4),F4=new Em("NORTH_SOUTH_PORTS",5),tS=new Em(_ht,6),eE=new Em("CENTER_LABELS",7),tE=new Em("END_LABELS",8),pq=new Em("PARTITIONS",9)}function sy(e){var t,n,r,i,a;for(i=new at,t=new r_((!e.a&&(e.a=new ot(fs,e,10,11)),e.a)),r=new ur(dr(z0(e).a.Kc(),new V));Vr(r);)n=u(Nr(r),79),me(_e((!n.b&&(n.b=new yn(kr,n,4,7)),n.b),0),186)||(a=Ho(u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82)),t.a._b(a)||(i.c[i.c.length]=a));return i}function k0n(e){var t,n,r,i,a,h;for(a=new Ys,t=new r_((!e.a&&(e.a=new ot(fs,e,10,11)),e.a)),i=new ur(dr(z0(e).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),me(_e((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),0),186)||(h=Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82)),t.a._b(h)||(n=a.a.zc(h,a),n==null));return a}function x0n(e,t,n,r,i){return r<0?(r=o4(e,i,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae]),t),r<0&&(r=o4(e,i,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function E0n(e,t,n,r,i){return r<0?(r=o4(e,i,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae]),t),r<0&&(r=o4(e,i,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function T0n(e,t,n,r,i,a){var h,d,v,x;if(d=32,r<0){if(t[0]>=e.length||(d=Ma(e,t[0]),d!=43&&d!=45)||(++t[0],r=IH(e,t),r<0))return!1;d==45&&(r=-r)}return d==32&&t[0]-n==2&&i.b==2&&(v=new tR,x=v.q.getFullYear()-Xp+Xp-80,h=x%100,a.a=r==h,r+=(x/100|0)*100+(r<h?100:0)),a.p=r,!0}function fot(e,t){var n,r,i,a,h;ls(e)&&(h=u(W(t,(mt(),Lb)),174),$e(jt(e,vs))===$e((ya(),g2))&&So(e,vs,Y1),r=(xm(),new wm(ls(e))),a=new Lte(ls(e)?new wm(ls(e)):null,e),i=xut(r,a,!1,!0),xf(h,(Nl(),Hy)),n=u(W(t,sE),8),n.a=b.Math.max(i.a,n.a),n.b=b.Math.max(i.b,n.b))}function _0n(e,t,n){var r,i,a,h,d,v;for(h=u(W(e,(nt(),ale)),15).Kc();h.Ob();){switch(a=u(h.Pb(),10),u(W(a,(mt(),du)),163).g){case 2:Oo(a,t);break;case 4:Oo(a,n)}for(i=new ur(dr(j0(a).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),!(r.c&&r.d)&&(d=!r.d,v=u(W(r,g9e),11),d?wa(r,v):Ka(r,v))}}function HH(){HH=de,Bue=new D6(dz,0,(dt(),Ln),Ln),jue=new D6(Wae,1,Tr,Tr),Pue=new D6(Kae,2,$n,$n),zue=new D6(Yae,3,On,On),Rue=new D6("NORTH_WEST_CORNER",4,On,Ln),Fue=new D6("NORTH_EAST_CORNER",5,Ln,$n),Hue=new D6("SOUTH_WEST_CORNER",6,Tr,On),$ue=new D6("SOUTH_EAST_CORNER",7,$n,Tr)}function f4(){f4=de,ICe=ie(ne(E2,1),Iae,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function dot(e,t){var n,r,i,a,h;if(e.c.length==0)return new _a(lt(0),lt(0));for(n=(En(0,e.c.length),u(e.c[0],11)).j,h=0,a=t.g,r=t.g+1;h<e.c.length-1&&n.g<a;)++h,n=(En(h,e.c.length),u(e.c[h],11)).j;for(i=h;i<e.c.length-1&&n.g<r;)++i,n=(En(h,e.c.length),u(e.c[h],11)).j;return new _a(lt(h),lt(i))}function C0n(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(a=t.c.length,h=(En(n,t.c.length),u(t.c[n],286)),d=h.a.o.a,L=h.c,P=0,x=h.c;x<=h.f;x++){if(d<=e.a[x])return x;for(T=e.a[x],v=null,i=n+1;i<a;i++)r=(En(i,t.c.length),u(t.c[i],286)),r.c<=x&&r.f>=x&&(v=r);v&&(T=b.Math.max(T,v.a.o.a)),T>P&&(L=x,P=T)}return L}function S0n(e,t,n){var r,i,a;if(e.e=n,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=dgn(e.i)),e.j=e.i.length,wi(e),a=Yv(e),e.d!=e.j)throw ee(new $r(Ur((jr(),Kft))));if(e.g){for(r=0;r<e.g.a.c.length;r++)if(i=u(Av(e.g,r),584),e.f<=i.a)throw ee(new $r(Ur((jr(),Wft))));e.g.a.c=Ie(Xn,_t,1,0,5,1)}return a}function A0n(e,t){var n,r,i;if(t==null){for(r=(!e.a&&(e.a=new ot(J0,e,9,5)),new ir(e.a));r.e!=r.i.gc();)if(n=u(br(r),678),i=n.c,(i??n.zb)==null)return n}else for(r=(!e.a&&(e.a=new ot(J0,e,9,5)),new ir(e.a));r.e!=r.i.gc();)if(n=u(br(r),678),on(t,(i=n.c,i??n.zb)))return n;return null}function _se(e,t){var n;switch(n=null,t.g){case 1:e.e.Xe((di(),Ohe))&&(n=u(e.e.We(Ohe),249));break;case 3:e.e.Xe((di(),Nhe))&&(n=u(e.e.We(Nhe),249));break;case 2:e.e.Xe((di(),Ihe))&&(n=u(e.e.We(Ihe),249));break;case 4:e.e.Xe((di(),Phe))&&(n=u(e.e.We(Phe),249))}return!n&&(n=u(e.e.We((di(),uSe)),249)),n}function got(e,t,n){var r,i,a,h,d,v,x,T,L;for(t.p=1,a=t.c,L=Wv(t,(vo(),ou)).Kc();L.Ob();)for(T=u(L.Pb(),11),i=new C(T.g);i.a<i.c.c.length;)r=u(Y(i),17),x=r.d.i,t!=x&&(h=x.c,h.p<=a.p&&(d=a.p+1,d==n.b.c.length?(v=new Nh(n),v.p=d,st(n.b,v),Oo(x,v)):(v=u(It(n.b,d),29),Oo(x,v)),got(e,x,n)))}function pot(e,t,n){var r,i,a,h,d,v;for(i=n,a=0,d=new C(t);d.a<d.c.c.length;)h=u(Y(d),33),So(h,(Qm(),tV),lt(i++)),v=sy(h),r=b.Math.atan2(h.j+h.f/2,h.i+h.g/2),r+=r<0?E4:0,r<.7853981633974483||r>Wht?aa(v,e.b):r<=Wht&&r>Yht?aa(v,e.d):r<=Yht&&r>Xht?aa(v,e.c):r<=Xht&&aa(v,e.a),a=pot(e,v,a);return i}function Kp(){Kp=de;var e;for(mG=new kg(1,1),Jce=new kg(1,10),H7=new kg(0,0),Zce=new kg(-1,1),Mxe=ie(ne(L4,1),Je,91,0,[H7,mG,new kg(1,2),new kg(1,3),new kg(1,4),new kg(1,5),new kg(1,6),new kg(1,7),new kg(1,8),new kg(1,9),Jce]),yG=Ie(L4,Je,91,32,0,1),e=0;e<yG.length;e++)yG[e]=AD(A0(1,e))}function L0n(e,t,n,r,i,a){var h,d,v,x;for(d=!xT(qi(e.Oc(),new Xe(new uY))).sd(($2(),G7)),h=e,a==(wo(),X0)&&(h=me(h,152)?R6(u(h,152)):me(h,131)?u(h,131).a:me(h,54)?new uv(h):new km(h)),x=h.Kc();x.Ob();)v=u(x.Pb(),70),v.n.a=t.a,d?v.n.b=t.b+(r.b-v.o.b)/2:i?v.n.b=t.b:v.n.b=t.b+r.b-v.o.b,t.a+=v.o.a+n}function bot(e,t,n,r){var i,a,h,d,v,x;for(i=(r.c+r.a)/2,Ph(t.j),oi(t.j,i),Ph(n.e),oi(n.e,i),x=new mHe,d=new C(e.f);d.a<d.c.c.length;)a=u(Y(d),129),v=a.a,Yie(x,t,v),Yie(x,n,v);for(h=new C(e.k);h.a<h.c.c.length;)a=u(Y(h),129),v=a.b,Yie(x,t,v),Yie(x,n,v);return x.b+=2,x.a+=WWe(t,e.q),x.a+=WWe(e.q,n),x}function vot(e,t,n){var r,i,a,h,d;if(!vx(t)){for(d=Vc(n,(me(t,14)?u(t,14).gc():I0(t.Kc()))/e.a|0),Er(d,zht,1),h=new pB,a=null,i=t.Kc();i.Ob();)r=u(i.Pb(),86),h=P1(ie(ne(G1,1),_t,20,0,[h,new mp(r)])),a&&(Qe(a,(xc(),hwt),r),Qe(r,Jle,a),dre(r)==dre(a)&&(Qe(a,ehe,r),Qe(r,Yq,a))),a=r;lr(d),vot(e,h,n)}}function wot(e){var t,n,r,i,a,h,d;for(n=e.i,t=e.n,d=n.d,e.f==(Cu(),r2)?d+=(n.a-e.e.b)/2:e.f==Sf&&(d+=n.a-e.e.b),i=new C(e.d);i.a<i.c.c.length;){switch(r=u(Y(i),181),h=r.rf(),a=new $a,a.b=d,d+=h.b+e.a,e.b.g){case 0:a.a=n.c+t.b;break;case 1:a.a=n.c+t.b+(n.b-h.a)/2;break;case 2:a.a=n.c+n.b-t.c-h.a}r.tf(a)}}function mot(e){var t,n,r,i,a,h,d;for(n=e.i,t=e.n,d=n.c,e.b==(sl(),n2)?d+=(n.b-e.e.a)/2:e.b==Cf&&(d+=n.b-e.e.a),i=new C(e.d);i.a<i.c.c.length;){switch(r=u(Y(i),181),h=r.rf(),a=new $a,a.a=d,d+=h.a+e.a,e.f.g){case 0:a.b=n.d+t.d;break;case 1:a.b=n.d+t.d+(n.a-h.b)/2;break;case 2:a.b=n.d+n.a-t.a-h.b}r.tf(a)}}function M0n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;T=n.a.c,h=n.a.c+n.a.b,a=u(Jn(n.c,t),459),z=a.f,q=a.a,v=new Ft(T,z),L=new Ft(h,q),i=T,n.p||(i+=e.c),i+=n.F+n.v*e.b,x=new Ft(i,z),P=new Ft(i,q),T_(t.a,ie(ne(ea,1),Je,8,0,[v,x])),d=n.d.a.gc()>1,d&&(r=new Ft(i,n.b),oi(t.a,r)),T_(t.a,ie(ne(ea,1),Je,8,0,[P,L]))}function yot(e){vv(e,new hb(dv(lv(fv(hv(new og,Uz),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new pZ))),pt(e,Uz,cw,$Se),pt(e,Uz,dy,15),pt(e,Uz,wz,lt(0)),pt(e,Uz,uk,S7)}function K4e(){K4e=de;var e,t,n,r,i,a;for(KS=Ie(Qu,C4,25,255,15,1),RV=Ie(Sh,yd,25,16,15,1),t=0;t<255;t++)KS[t]=-1;for(n=57;n>=48;n--)KS[n]=n-48<<24>>24;for(r=70;r>=65;r--)KS[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)KS[i]=i-97+10<<24>>24;for(a=0;a<10;a++)RV[a]=48+a&Ss;for(e=10;e<=15;e++)RV[e]=65+e-10&Ss}function zH(e,t,n){var r,i,a,h,d,v,x,T;return d=t.i-e.g/2,v=n.i-e.g/2,x=t.j-e.g/2,T=n.j-e.g/2,a=t.g+e.g/2,h=n.g+e.g/2,r=t.f+e.g/2,i=n.f+e.g/2,d<v+h&&v<d&&x<T+i&&T<x||v<d+a&&d<v&&T<x+r&&x<T||d<v+h&&v<d&&x<T&&T<x+r?!0:v<d+a&&d<v&&x<T+i&&T<x}function D0n(e){var t,n,r,i,a;i=u(W(e,(mt(),Lb)),21),a=u(W(e,Oq),21),n=new Ft(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Do(n),i.Hc((Nl(),Hy))&&(r=u(W(e,sE),8),a.Hc((wl(),yE))&&(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)),Bt(Nt(W(e,Tle)))||e2n(e,n,t)}function I0n(e,t){var n,r,i,a;for(a=sc(t,(dt(),Tr)).Kc();a.Ob();)r=u(a.Pb(),11),n=u(W(r,(nt(),ol)),10),n&&Tf(gf(df(pf(ff(new Ih,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=sc(t,Ln).Kc();i.Ob();)r=u(i.Pb(),11),n=u(W(r,(nt(),ol)),10),n&&Tf(gf(df(pf(ff(new Ih,0),.1),e.i[n.p].d),e.i[t.p].a))}function Cse(e){var t,n,r,i,a,h;if(!e.c){if(h=new Y5,t=GS,a=t.a.zc(e,t),a==null){for(r=new ir(Bc(e));r.e!=r.i.gc();)n=u(br(r),87),i=KH(n),me(i,88)&&ds(h,Cse(u(i,26))),Pr(h,n);t.a.Bc(e)!=null,t.a.gc()==0}Osn(h),Um(h),e.c=new N3((u(_e(qe((Op(),Tn).o),15),18),h.i),h.g),dl(e).b&=-33}return e.c}function W4e(e){var t;if(e.c!=10)throw ee(new $r(Ur((jr(),Qz))));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 ee(new $r(Ur((jr(),xh))))}return t}function kot(e){var t,n,r,i,a;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==hI&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+kot(jx(e));for(n=e,r="";!(n.l==0&&n.m==0&&n.h==0);){if(i=sre(uz),n=_5e(n,i,!0),t=""+DHe(t2),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t="0"+t;r=t+r}return r}function O0n(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var n=Object.getOwnPropertyNames(t);return!(n.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function N0n(e){var t,n,r,i,a,h,d;for(t=!1,n=0,i=new C(e.d.b);i.a<i.c.c.length;)for(r=u(Y(i),29),r.p=n++,h=new C(r.a);h.a<h.c.c.length;)a=u(Y(h),10),!t&&!vx(j0(a))&&(t=!0);d=Vi((wo(),u0),ie(ne(MS,1),rt,103,0,[Wh,Lf])),t||(xf(d,X0),xf(d,Y0)),e.a=new mJe(d),il(e.f),il(e.b),il(e.e),il(e.g)}function P0n(e,t,n){var r,i,a,h,d,v,x,T,L;for(r=n.c,i=n.d,d=M1(t.c),v=M1(t.d),r==t.c?(d=N4e(e,d,i),v=Ait(t.d)):(d=Ait(t.c),v=N4e(e,v,i)),x=new YF(t.a),ks(x,d,x.a,x.a.a),ks(x,v,x.c.b,x.c),h=t.c==r,L=new l$e,a=0;a<x.b-1;++a)T=new _a(u(n1(x,a),8),u(n1(x,a+1),8)),h&&a==0||!h&&a==x.b-2?L.b=T:st(L.a,T);return L}function B0n(e,t){var n,r,i,a;if(a=e.j.g-t.j.g,a!=0)return a;if(n=u(W(e,(mt(),jg)),19),r=u(W(t,jg),19),n&&r&&(i=n.a-r.a,i!=0))return i;switch(e.j.g){case 1:return Bs(e.n.a,t.n.a);case 2:return Bs(e.n.b,t.n.b);case 3:return Bs(t.n.a,e.n.a);case 4:return Bs(t.n.b,e.n.b);default:throw ee(new Vo(A6e))}}function Y4e(e,t,n,r){var i,a,h,d,v;if(I0((TM(),new ur(dr(j0(t).a.Kc(),new V))))>=e.a||!N3e(t,n))return-1;if(vx(u(r.Kb(t),20)))return 1;for(i=0,h=u(r.Kb(t),20).Kc();h.Ob();)if(a=u(h.Pb(),17),v=a.c.i==t?a.d.i:a.c.i,d=Y4e(e,v,n,r),d==-1||(i=b.Math.max(i,d),i>e.c-1))return-1;return i+1}function xot(e,t){var n,r,i,a,h,d;if($e(t)===$e(e))return!0;if(!me(t,15)||(r=u(t,15),d=e.gc(),r.gc()!=d))return!1;if(h=r.Kc(),e.ni()){for(n=0;n<d;++n)if(i=e.ki(n),a=h.Pb(),i==null?a!=null:!Ci(i,a))return!1}else for(n=0;n<d;++n)if(i=e.ki(n),a=h.Pb(),$e(i)!==$e(a))return!1;return!0}function Eot(e,t){var n,r,i,a,h,d;if(e.f>0){if(e.qj(),t!=null){for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=u(n.g,367),d=n.i,h=0;h<d;++h)if(i=r[h],Ci(t,i.dd()))return!0}}else for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=u(n.g,367),d=n.i,h=0;h<d;++h)if(i=r[h],$e(t)===$e(i.dd()))return!0}}return!1}function F0n(e,t,n){var r,i,a,h;Er(n,"Orthogonally routing hierarchical port edges",1),e.a=0,r=_2n(t),Lbn(t,r),lbn(e,t,r),Avn(t),i=u(W(t,(mt(),vs)),98),a=t.b,yut((En(0,a.c.length),u(a.c[0],29)),i,t),yut(u(It(a,a.c.length-1),29),i,t),h=t.b,Ict((En(0,h.c.length),u(h.c[0],29))),Ict(u(It(h,h.c.length-1),29)),lr(n)}function X4e(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>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 ee(new ld("Invalid hexadecimal"))}}function R0n(e,t,n){var r,i,a,h;for(Er(n,"Processor order nodes",2),e.a=We(gt(W(t,(tw(),m_e)))),i=new as,h=si(t.b,0);h.b!=h.d.c;)a=u(ii(h),86),Bt(Nt(W(a,(xc(),Ry))))&&ks(i,a,i.c.b,i.c);r=(Qn(i.b!=0),u(i.a.a.c,86)),zct(e,r),!n.b&&Mre(n,1),e5e(e,r,0-We(gt(W(r,(xc(),Xq))))/2,0),!n.b&&Mre(n,1),lr(n)}function GH(){GH=de,u7e=new D3("SPIRAL",0),s7e=new D3("LINE_BY_LINE",1),a7e=new D3("MANHATTAN",2),i7e=new D3("JITTER",3),sue=new D3("QUADRANTS_LINE_BY_LINE",4),c7e=new D3("QUADRANTS_MANHATTAN",5),o7e=new D3("QUADRANTS_JITTER",6),r7e=new D3("COMBINE_LINE_BY_LINE_MANHATTAN",7),n7e=new D3("COMBINE_JITTER_MANHATTAN",8)}function Tot(e,t,n,r){var i,a,h,d,v,x;for(v=Wie(e,n),x=Wie(t,n),i=!1;v&&x&&(r||Non(v,x,n));)h=Wie(v,n),d=Wie(x,n),QM(t),QM(e),a=v.c,Zse(v,!1),Zse(x,!1),n?(Zm(t,x.p,a),t.p=x.p,Zm(e,v.p+1,a),e.p=v.p):(Zm(e,v.p,a),e.p=v.p,Zm(t,x.p+1,a),t.p=x.p),Oo(v,null),Oo(x,null),v=h,x=d,i=!0;return i}function j0n(e,t,n,r){var i,a,h,d,v;for(i=!1,a=!1,d=new C(r.j);d.a<d.c.c.length;)h=u(Y(d),11),$e(W(h,(nt(),Mi)))===$e(n)&&(h.g.c.length==0?h.e.c.length==0||(i=!0):a=!0);return v=0,i&&i^a?v=n.j==(dt(),Ln)?-e.e[r.c.p][r.p]:t-e.e[r.c.p][r.p]:a&&i^a?v=e.e[r.c.p][r.p]+1:i&&a&&(v=n.j==(dt(),Ln)?0:t/2),v}function Sse(e,t,n,r,i,a,h,d){var v,x,T;for(v=0,t!=null&&(v^=Lg(t.toLowerCase())),n!=null&&(v^=Lg(n)),r!=null&&(v^=Lg(r)),h!=null&&(v^=Lg(h)),d!=null&&(v^=Lg(d)),x=0,T=a.length;x<T;x++)v^=Lg(a[x]);e?v|=256:v&=-257,i?v|=16:v&=-17,this.f=v,this.i=t==null?null:(An(t),t),this.a=n,this.d=r,this.j=a,this.g=h,this.e=d}function Q4e(e,t,n){var r,i;switch(i=null,t.g){case 1:i=(Vu(),q7e);break;case 2:i=(Vu(),U7e)}switch(r=null,n.g){case 1:r=(Vu(),V7e);break;case 2:r=(Vu(),G7e);break;case 3:r=(Vu(),K7e);break;case 4:r=(Vu(),W7e)}return i&&r?C6(e.j,new J9(new Cl(ie(ne(qwn,1),_t,169,0,[u(Or(i),169),u(Or(r),169)])))):(fn(),fn(),bo)}function $0n(e){var t,n,r;switch(t=u(W(e,(mt(),sE)),8),Qe(e,sE,new Ft(t.b,t.a)),u(W(e,Id),248).g){case 1:Qe(e,Id,(Zd(),hV));break;case 2:Qe(e,Id,(Zd(),uV));break;case 3:Qe(e,Id,(Zd(),yO));break;case 4:Qe(e,Id,(Zd(),kO))}(e.q?e.q:(fn(),fn(),o0))._b(Ny)&&(n=u(W(e,Ny),8),r=n.a,n.a=n.b,n.b=r)}function _ot(e,t,n,r,i,a){if(this.b=n,this.d=i,e>=t.length)throw ee(new Mo("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new EM(r),Nre(this.e,this.c,(dt(),On)),this.i=new EM(r),Nre(this.i,this.c,$n),this.f=new yKe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(zn(),Ls),this.a&&nhn(this,e,t.length)}function Cot(e,t){var n,r,i,a,h,d;a=!e.B.Hc((wl(),FO)),h=e.B.Hc(Ghe),e.a=new knt(h,a,e.c),e.n&&jve(e.a.n,e.n),See(e.g,(Jf(),au),e.a),t||(r=new $_(1,a,e.c),r.n.a=e.k,S6(e.p,(dt(),Ln),r),i=new $_(1,a,e.c),i.n.d=e.k,S6(e.p,Tr,i),d=new $_(0,a,e.c),d.n.c=e.k,S6(e.p,On,d),n=new $_(0,a,e.c),n.n.b=e.k,S6(e.p,$n,n))}function H0n(e){var t,n,r;switch(t=u(W(e.d,(mt(),W0)),218),t.g){case 2:n=vwn(e);break;case 3:n=(r=new at,ms(qi(Eu(rc(rc(new mn(null,new kn(e.d.b,16)),new JY),new eX),new E9),new GY),new uee(r)),r);break;default:throw ee(new Vo("Compaction not supported for "+t+" edges."))}j2n(e,n),Da(new pm(e.g),new oee(e))}function z0n(e,t){var n;return n=new Qb,t&&$o(n,u(Jn(e.a,jO),94)),me(t,470)&&$o(n,u(Jn(e.a,$O),94)),me(t,354)?($o(n,u(Jn(e.a,Qo),94)),n):(me(t,82)&&$o(n,u(Jn(e.a,kr),94)),me(t,239)?($o(n,u(Jn(e.a,fs),94)),n):me(t,186)?($o(n,u(Jn(e.a,xl),94)),n):(me(t,352)&&$o(n,u(Jn(e.a,ta),94)),n))}function r1(){r1=de,q7=new fo((di(),bV),lt(1)),NG=new fo(Bb,80),vgt=new fo(vSe,5),cgt=new fo(Ok,S7),pgt=new fo(Rhe,lt(1)),bgt=new fo(jhe,(In(),!0)),C7e=new yv(50),dgt=new fo(Pb,C7e),E7e=dV,S7e=LS,ugt=new fo(Lhe,!1),_7e=LO,fgt=h2,hgt=Nb,lgt=Q4,ggt=jy,T7e=(K3e(),tgt),vue=sgt,OG=egt,bue=ngt,A7e=igt}function G0n(e){var t,n,r,i,a,h,d,v;for(v=new CQe,d=new C(e.a);d.a<d.c.c.length;)if(h=u(Y(d),10),h.k!=(zn(),Ls)){for(Gfn(v,h,new $a),a=new ur(dr(Fs(h).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),!(i.c.i.k==Ls||i.d.i.k==Ls))for(r=si(i.a,0);r.b!=r.d.c;)n=u(ii(r),8),t=n,K_(v,new X8(t.a,t.b))}return v}function Ase(){Ase=de,xCe=new Qi(Zoe),kCe=(CT(),mO),yCe=new pn(tce,kCe),mCe=(gD(),cV),Pmt=new pn(f8e,mCe),wCe=(RD(),vhe),Nmt=new pn(d8e,wCe),Dmt=new pn(Joe,null),vCe=(VM(),aV),Omt=new pn(ece,vCe),bCe=(sR(),ghe),Smt=new pn(g8e,bCe),Amt=new pn(p8e,(In(),!1)),Lmt=new pn(b8e,lt(64)),Mmt=new pn(v8e,!0),Imt=bhe}function Sot(e){var t,n,r,i,a,h;if(e.a==null)if(e.a=Ie(El,s0,25,e.c.b.c.length,16,1),e.a[0]=!1,Js(e.c,(mt(),Mle)))for(r=u(W(e.c,Mle),15),n=r.Kc();n.Ob();)t=u(n.Pb(),19).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(h=new C(e.c.b),h.a<h.c.c.length&&Y(h),i=1;h.a<h.c.c.length;)a=u(Y(h),29),e.a[i++]=T1n(a)}function Aot(e,t){var n,r,i,a;switch(i=e.b,t){case 1:{e.b|=1,e.b|=4,e.b|=8;break}case 2:{e.b|=2,e.b|=4,e.b|=8;break}case 4:{e.b|=1,e.b|=2,e.b|=4,e.b|=8;break}case 3:{e.b|=16,e.b|=8;break}case 0:{e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4;break}}if(e.b!=i&&e.c)for(r=new ir(e.c);r.e!=r.i.gc();)a=u(br(r),473),n=dl(a),ny(n,t)}function Lot(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;for(i=!1,h=t,d=0,v=h.length;d<v;++d)a=h[d],Bt((In(),!!a.e))&&!u(It(e.b,a.e.p),214).s&&(i=i|(x=a.e,T=u(It(e.b,x.p),214),L=T.e,P=fHe(n,L.length),z=L[P][0],z.k==(zn(),Ls)?L[P]=Tdn(a,L[P],n?(dt(),On):(dt(),$n)):T.c.Tf(L,n),q=YD(e,T,n,r),q4e(T.e,T.o,n),q));return i}function Mot(e,t){var n,r,i,a,h;for(a=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i,i=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));i.e!=i.i.gc();)r=u(br(i),33),$e(jt(r,(di(),Y4)))!==$e((R0(),IS))&&(h=u(jt(t,pE),149),n=u(jt(r,pE),149),(h==n||h&&mwe(h,n))&&(!r.a&&(r.a=new ot(fs,r,10,11)),r.a).i!=0&&(a+=Mot(e,r)));return a}function q0n(e){var t,n,r,i,a,h,d;for(r=0,d=0,h=new C(e.d);h.a<h.c.c.length;)a=u(Y(h),101),i=u(Gl(qi(new mn(null,new kn(a.j,16)),new _9),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),n=null,r<=d?(n=(dt(),Ln),r+=i.gc()):d<r&&(n=(dt(),Tr),d+=i.gc()),t=n,ms(Eu(i.Oc(),new rB),new fee(t))}function V0n(e){var t,n,r,i,a,h,d,v;for(e.b=new Ust(new Cl((dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]))),new Cl((Gv(),ie(ne(Nue,1),rt,361,0,[ww,s2,vw])))),h=ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]),d=0,v=h.length;d<v;++d)for(a=h[d],n=ie(ne(Nue,1),rt,361,0,[ww,s2,vw]),r=0,i=n.length;r<i;++r)t=n[r],Ucn(e.b,a,t,new at)}function Dot(e,t){var n,r,i,a,h,d,v,x,T,L;if(h=u(u(Oi(e.r,t),21),84),d=e.u.Hc((al(),p2)),n=e.u.Hc(BS),r=e.u.Hc(PS),x=e.u.Hc(Fk),L=e.B.Hc((wl(),EV)),T=!n&&!r&&(x||h.gc()==2),Udn(e,t),i=null,v=null,d){for(a=h.Kc(),i=u(a.Pb(),111),v=i;a.Ob();)v=u(a.Pb(),111);i.d.b=0,v.d.c=0,T&&!i.a&&(i.d.c=0)}L&&(qun(h),d&&(i.d.b=0,v.d.c=0))}function Iot(e,t){var n,r,i,a,h,d,v,x,T,L;if(h=u(u(Oi(e.r,t),21),84),d=e.u.Hc((al(),p2)),n=e.u.Hc(BS),r=e.u.Hc(PS),v=e.u.Hc(Fk),L=e.B.Hc((wl(),EV)),x=!n&&!r&&(v||h.gc()==2),opn(e,t),T=null,i=null,d){for(a=h.Kc(),T=u(a.Pb(),111),i=T;a.Ob();)i=u(a.Pb(),111);T.d.d=0,i.d.a=0,x&&!T.a&&(T.d.a=0)}L&&(Vun(h),d&&(T.d.d=0,i.d.a=0))}function Oot(e,t,n){var r,i,a,h,d,v,x,T;if(i=t.k,t.p>=0)return!1;if(t.p=n.b,st(n.e,t),i==(zn(),ca)||i==Xc){for(h=new C(t.j);h.a<h.c.c.length;)for(a=u(Y(h),11),T=(r=new C(new Cr(a).a.g),new Ye(r));tc(T.a);)if(x=u(Y(T.a),17).d,d=x.i,v=d.k,t.c!=d.c&&(v==ca||v==Xc)&&Oot(e,d,n))return!0}return!0}function qH(e){var t;return e.Db&64?v4e(e):(t=new Oh(v4e(e)),t.a+=" (changeable: ",gg(t,(e.Bb&_f)!=0),t.a+=", volatile: ",gg(t,(e.Bb&my)!=0),t.a+=", transient: ",gg(t,(e.Bb&hy)!=0),t.a+=", defaultValueLiteral: ",To(t,e.j),t.a+=", unsettable: ",gg(t,(e.Bb&Yu)!=0),t.a+=", derived: ",gg(t,(e.Bb&md)!=0),t.a+=")",t.a)}function U0n(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(i=X1n(e.d),h=u(W(e.b,(H_(),m7e)),116),d=h.b+h.c,v=h.d+h.a,T=i.d.a*e.e+d,x=i.b.a*e.f+v,bge(e.b,new Ft(T,x)),P=new C(e.g);P.a<P.c.c.length;)L=u(Y(P),562),t=L.g-i.a.a,n=L.i-i.c.a,r=Ni(aUt(new Ft(t,n),L.a,L.b),fd(vM(fc(v2e(L.e)),L.d*L.a,L.c*L.b),-.5)),a=w2e(L.e),BGt(L.e,pa(r,a))}function K0n(e,t,n,r){var i,a,h,d,v;for(v=Ie(va,Je,104,(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,0,2),a=ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]),h=0,d=a.length;h<d;++h)i=a[h],v[i.g]=Ie(va,Ao,25,e.c[i.g],15,1);return eit(v,e,Ln),eit(v,e,Tr),Hie(v,e,Ln,t,n,r),Hie(v,e,$n,t,n,r),Hie(v,e,Tr,t,n,r),Hie(v,e,On,t,n,r),v}function W0n(e,t,n){if(Ml(e.a,t)){if(_0(u(Jn(e.a,t),53),n))return 1}else Si(e.a,t,new Ys);if(Ml(e.a,n)){if(_0(u(Jn(e.a,n),53),t))return-1}else Si(e.a,n,new Ys);if(Ml(e.b,t)){if(_0(u(Jn(e.b,t),53),n))return-1}else Si(e.b,t,new Ys);if(Ml(e.b,n)){if(_0(u(Jn(e.b,n),53),t))return 1}else Si(e.b,n,new Ys);return 0}function Z4e(e,t,n,r){var i,a,h,d,v,x;if(n==null){for(i=u(e.g,119),d=0;d<e.i;++d)if(h=i[d],h.ak()==t)return Qa(e,h,r)}return a=(ho(),u(t,66).Oj()?u(n,72):Xd(t,n)),Sl(e.e)?(x=!_D(e,t),r=ru(e,a,r),v=t.$j()?Pp(e,3,t,null,n,d7(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0),x):Pp(e,1,t,t.zj(),n,-1,x),r?r.Ei(v):r=v):r=ru(e,a,r),r}function Y0n(e){var t,n,r,i,a,h;e.q==(ya(),f0)||e.q==Zc||(i=e.f.n.d+ij(u(_o(e.b,(dt(),Ln)),124))+e.c,t=e.f.n.a+ij(u(_o(e.b,Tr),124))+e.c,r=u(_o(e.b,$n),124),h=u(_o(e.b,On),124),a=b.Math.max(0,r.n.d-i),a=b.Math.max(a,h.n.d-i),n=b.Math.max(0,r.n.a-t),n=b.Math.max(n,h.n.a-t),r.n.d=a,h.n.d=a,r.n.a=n,h.n.a=n)}function X0n(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(Er(t,"Restoring reversed edges",1),v=new C(e.b);v.a<v.c.c.length;)for(d=u(Y(v),29),T=new C(d.a);T.a<T.c.c.length;)for(x=u(Y(T),10),P=new C(x.j);P.a<P.c.c.length;)for(L=u(Y(P),11),h=vd(L.g),r=h,i=0,a=r.length;i<a;++i)n=r[i],Bt(Nt(W(n,(nt(),U1))))&&rw(n,!1);lr(t)}function Not(){this.b=new Y2,this.d=new Y2,this.e=new Y2,this.c=new Y2,this.a=new Ar,this.f=new Ar,G3(ea,new YQ,new XQ),G3(OCe,new lc,new eu),G3(H7e,new Ki,new bL),G3(z7e,new aZ,new oZ),G3(Pyt,new V5,new lm),G3(Vwn,new QQ,new ZQ),G3(Wwn,new JQ,new eZ),G3(Uwn,new tZ,new nZ),G3(Kwn,new rZ,new Pc),G3(Qwn,new iZ,new D9)}function Pot(e){var t,n,r,i,a,h;return a=0,t=Rh(e),t.Bj()&&(a|=4),e.Bb&Yu&&(a|=2),me(e,99)?(n=u(e,18),i=go(n),n.Bb&Ec&&(a|=32),i&&(Zn(Bm(i)),a|=8,h=i.t,(h>1||h==-1)&&(a|=16),i.Bb&Ec&&(a|=64)),n.Bb&ao&&(a|=my),a|=_f):me(t,457)?a|=512:(r=t.Bj(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function eC(e,t){var n,r,i,a,h;for(e=e==null?Iu:(An(e),e),i=0;i<t.length;i++)t[i]=D1n(t[i]);for(n=new ym,h=0,r=0;r<t.length&&(a=e.indexOf("%s",h),a!=-1);)n.a+=""+$l(e==null?Iu:(An(e),e),h,a),kc(n,t[r++]),h=a+2;if(pXe(n,e,h,e.length),r<t.length){for(n.a+=" [",kc(n,t[r++]);r<t.length;)n.a+=so,kc(n,t[r++]);n.a+="]"}return n.a}function Q0n(e){var t,n,r,i,a;for(a=new tu(e.a.c.length),i=new C(e.a);i.a<i.c.c.length;){switch(r=u(Y(i),10),n=u(W(r,(mt(),du)),163),t=null,n.g){case 1:case 2:t=(nb(),B4);break;case 3:case 4:t=(nb(),J7)}t?(Qe(r,(nt(),wq),(nb(),B4)),t==J7?jH(r,n,(vo(),cl)):t==B4&&jH(r,n,(vo(),ou))):a.c[a.c.length]=r}return a}function J4e(e,t){var n,r,i,a,h,d,v;for(n=0,v=new C(t);v.a<v.c.c.length;){for(d=u(Y(v),11),Yme(e.b,e.d[d.p]),h=0,i=new O1(d.b);tc(i.a)||tc(i.b);)r=u(tc(i.a)?Y(i.a):Y(i.b),17),vWe(r)?(a=kpe(e,d==r.c?r.d:r.c),a>e.d[d.p]&&(n+=vwe(e.b,a),Bp(e.a,lt(a)))):++h;for(n+=e.b.d*h;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function Z0n(e,t){var n;return e.f==tfe?(n=Mv(No((Uu(),Oa),t)),e.e?n==4&&t!=(J6(),$k)&&t!=(J6(),jk)&&t!=(J6(),nfe)&&t!=(J6(),rfe):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(P6(No((Uu(),Oa),t)))||e.d.Hc(p4((Uu(),Oa),e.b,t)))?!0:e.f&&R4e((Uu(),e.f),IM(No(Oa,t)))?(n=Mv(No(Oa,t)),e.e?n==4:n==2):!1}function J0n(e,t,n,r){var i,a,h,d,v,x,T,L;return h=u(jt(n,(di(),Nk)),8),v=h.a,T=h.b+e,i=b.Math.atan2(T,v),i<0&&(i+=E4),i+=t,i>E4&&(i-=E4),d=u(jt(r,Nk),8),x=d.a,L=d.b+e,a=b.Math.atan2(L,x),a<0&&(a+=E4),a+=t,a>E4&&(a-=E4),C1(),kf(1e-10),b.Math.abs(i-a)<=1e-10||i==a||isNaN(i)&&isNaN(a)?0:i<a?-1:i>a?1:mv(isNaN(i),isNaN(a))}function Lse(e){var t,n,r,i,a,h,d;for(d=new Ar,r=new C(e.a.b);r.a<r.c.c.length;)t=u(Y(r),57),Si(d,t,new at);for(i=new C(e.a.b);i.a<i.c.c.length;)for(t=u(Y(i),57),t.i=Ds,h=t.c.Kc();h.Ob();)a=u(h.Pb(),57),u(hc(jo(d.f,a)),15).Fc(t);for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),57),t.c.$b(),t.c=u(hc(jo(d.f,t)),15);not(e)}function Mse(e){var t,n,r,i,a,h,d;for(d=new Ar,r=new C(e.a.b);r.a<r.c.c.length;)t=u(Y(r),81),Si(d,t,new at);for(i=new C(e.a.b);i.a<i.c.c.length;)for(t=u(Y(i),81),t.o=Ds,h=t.f.Kc();h.Ob();)a=u(h.Pb(),81),u(hc(jo(d.f,a)),15).Fc(t);for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),81),t.f.$b(),t.f=u(hc(jo(d.f,t)),15);Uat(e)}function egn(e,t,n,r){var i,a;for(gcn(e,t,n,r),vge(t,e.j-t.j+n),wge(t,e.k-t.k+r),a=new C(t.f);a.a<a.c.c.length;)switch(i=u(Y(a),324),i.a.g){case 0:$x(e,t.g+i.b.a,0,t.g+i.c.a,t.i-1);break;case 1:$x(e,t.g+t.o,t.i+i.b.a,e.o-1,t.i+i.c.a);break;case 2:$x(e,t.g+i.b.a,t.i+t.p,t.g+i.c.a,e.p-1);break;default:$x(e,0,t.i+i.b.a,t.g-1,t.i+i.c.a)}}function VH(e,t,n,r,i){var a,h,d;try{if(t>=e.o)throw ee(new Rge);d=t>>5,h=t&31,a=A0(1,Ir(A0(h,1))),i?e.n[n][d]=D1(e.n[n][d],a):e.n[n][d]=Gs(e.n[n][d],Gbe(a)),a=A0(a,1),r?e.n[n][d]=D1(e.n[n][d],a):e.n[n][d]=Gs(e.n[n][d],Gbe(a))}catch(v){throw v=ts(v),me(v,320)?ee(new Mo(Xae+e.o+"*"+e.p+Qae+t+so+n+Zae)):ee(v)}}function e5e(e,t,n,r){var i,a,h;t&&(a=We(gt(W(t,(xc(),Hg))))+r,h=n+We(gt(W(t,Xq)))/2,Qe(t,the,lt(Ir(Mu(b.Math.round(a))))),Qe(t,f_e,lt(Ir(Mu(b.Math.round(h))))),t.d.b==0||e5e(e,u(jR((i=si(new mp(t).a.d,0),new u6(i))),86),n+We(gt(W(t,Xq)))+e.a,r+We(gt(W(t,fE)))),W(t,ehe)!=null&&e5e(e,u(W(t,ehe),86),n,r))}function tgn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(v=Xa(t.a),i=We(gt(W(v,(mt(),Db))))*2,T=We(gt(W(v,q4))),x=b.Math.max(i,T),a=Ie(va,Ao,25,t.f-t.c+1,15,1),r=-x,n=0,d=t.b.Kc();d.Ob();)h=u(d.Pb(),10),r+=e.a[h.c.p]+x,a[n++]=r;for(r+=e.a[t.a.c.p]+x,a[n++]=r,P=new C(t.e);P.a<P.c.c.length;)L=u(Y(P),10),r+=e.a[L.c.p]+x,a[n++]=r;return a}function ngn(e,t,n,r){var i,a,h,d,v,x,T,L,P;for(P=new Ep(new SRe(e)),d=ie(ne(c0,1),Og,10,0,[t,n]),v=0,x=d.length;v<x;++v)for(h=d[v],L=N_(h,r).Kc();L.Ob();)for(T=u(L.Pb(),11),a=new O1(T.b);tc(a.a)||tc(a.b);)i=u(tc(a.a)?Y(a.a):Y(a.b),17),no(i)||(q$(P.a,T,(In(),Tb))==null,vWe(i)&&LM(P,T==i.c?i.d:i.c));return Or(P),new Gu(P)}function rgn(e,t){var n,r,i,a;if(a=u(jt(e,(di(),J4)),61).g-u(jt(t,J4),61).g,a!=0)return a;if(n=u(jt(e,Bhe),19),r=u(jt(t,Bhe),19),n&&r&&(i=n.a-r.a,i!=0))return i;switch(u(jt(e,J4),61).g){case 1:return Bs(e.i,t.i);case 2:return Bs(e.j,t.j);case 3:return Bs(t.i,e.i);case 4:return Bs(t.j,e.j);default:throw ee(new Vo(A6e))}}function t5e(e){var t,n,r;return e.Db&64?sse(e):(t=new jl(T8e),n=e.k,n?Yr(Yr((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new ot(Qo,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!r||Yr(Yr((t.a+=' "',t),r),'"'))),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Bot(e){var t,n,r;return e.Db&64?sse(e):(t=new jl(_8e),n=e.k,n?Yr(Yr((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new ot(Qo,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!r||Yr(Yr((t.a+=' "',t),r),'"'))),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Dse(e,t){var n,r,i,a,h,d,v;if(t==null||t.length==0)return null;if(i=u(Gc(e.a,t),149),!i){for(r=(d=new x1(e.b).a.vc().Kc(),new E1(d));r.a.Ob();)if(n=(a=u(r.a.Pb(),42),u(a.dd(),149)),h=n.c,v=t.length,on(h.substr(h.length-v,v),t)&&(t.length==h.length||Ma(h,h.length-t.length-1)==46)){if(i)return null;i=n}i&&Io(e.a,t,i)}return i}function ign(e,t){var n,r,i,a;return n=new ra,r=u(Gl(Eu(new mn(null,new kn(e.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21),i=r.gc(),r=u(Gl(Eu(new mn(null,new kn(t.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[yy,Zl]))),21),a=r.gc(),i<a?-1:i==a?0:1}function Fot(e){var t,n,r;Js(e,(mt(),Ew))&&(r=u(W(e,Ew),21),!r.dc()&&(n=(t=u(Wf(xo),9),new hh(t,u(bf(t,t.length),9),0)),r.Hc((ry(),eh))?xf(n,eh):xf(n,If),r.Hc(Yh)||xf(n,Yh),r.Hc(Mf)?xf(n,Of):r.Hc(Q0)?xf(n,h0):r.Hc(Df)&&xf(n,Xh),r.Hc(Of)?xf(n,Mf):r.Hc(h0)?xf(n,Q0):r.Hc(Xh)&&xf(n,Df),Qe(e,Ew,n)))}function sgn(e){var t,n,r,i,a,h,d;for(i=u(W(e,(nt(),kw)),10),r=e.j,n=(En(0,r.c.length),u(r.c[0],11)),h=new C(i.j);h.a<h.c.c.length;)if(a=u(Y(h),11),$e(a)===$e(W(n,Mi))){a.j==(dt(),Ln)&&e.p>i.p?(qs(a,Tr),a.d&&(d=a.o.b,t=a.a.b,a.a.b=d-t)):a.j==Tr&&i.p>e.p&&(qs(a,Ln),a.d&&(d=a.o.b,t=a.a.b,a.a.b=-(d-t)));break}return i}function agn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;if(a=n,n<r)for(P=(z=new uD(e.p),q=new uD(e.p),ro(z.e,e.e),z.q=e.q,z.r=q,Ej(z),ro(q.j,e.j),q.r=z,Ej(q),new _a(z,q)),L=u(P.a,112),T=u(P.b,112),i=(En(a,t.c.length),u(t.c[a],329)),h=bot(e,L,T,i),x=n+1;x<=r;x++)d=(En(x,t.c.length),u(t.c[x],329)),v=bot(e,L,T,d),$an(d,v,i,h)&&(i=d,h=v);return a}function XD(e,t,n,r,i){var a,h,d,v,x,T,L;if(!(me(t,239)||me(t,354)||me(t,186)))throw ee(new Dn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return h=e.a/2,v=t.i+r-h,T=t.j+i-h,x=v+t.g+e.a,L=T+t.f+e.a,a=new $u,oi(a,new Ft(v,T)),oi(a,new Ft(v,L)),oi(a,new Ft(x,L)),oi(a,new Ft(x,T)),d=new vse(a),$o(d,t),n&&Si(e.b,t,d),d}function tC(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(a=new Ft(t,n),T=new C(e.a);T.a<T.c.c.length;)for(x=u(Y(T),10),Ni(x.n,a),P=new C(x.j);P.a<P.c.c.length;)for(L=u(Y(P),11),i=new C(L.g);i.a<i.c.c.length;)for(r=u(Y(i),17),qm(r.a,a),h=u(W(r,(mt(),Fo)),74),h&&qm(h,a),v=new C(r.b);v.a<v.c.c.length;)d=u(Y(v),70),Ni(d.n,a)}function ogn(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(a=new Ft(t,n),T=new C(e.a);T.a<T.c.c.length;)for(x=u(Y(T),10),Ni(x.n,a),P=new C(x.j);P.a<P.c.c.length;)for(L=u(Y(P),11),i=new C(L.g);i.a<i.c.c.length;)for(r=u(Y(i),17),qm(r.a,a),h=u(W(r,(mt(),Fo)),74),h&&qm(h,a),v=new C(r.b);v.a<v.c.c.length;)d=u(Y(v),70),Ni(d.n,a)}function Rot(e){if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i==0)throw ee(new mT("Edges must have a source."));if((!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i==0)throw ee(new mT("Edges must have a target."));if(!e.b&&(e.b=new yn(kr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new yn(kr,e,5,8)),e.c.i<=1)))throw ee(new mT("Hyperedges are not supported."))}function jot(e,t){var n,r,i,a,h,d,v,x,T,L;for(L=0,a=new S3,Bp(a,t);a.b!=a.c;)for(v=u(L6(a),214),x=0,T=u(W(t.j,(mt(),o2)),339),h=We(gt(W(t.j,Tq))),d=We(gt(W(t.j,K9e))),T!=(F0(),c2)&&(x+=h*b1n(v.e,T),x+=d*Hdn(v.e)),L+=Rrt(v.d,v.e)+x,i=new C(v.b);i.a<i.c.c.length;)r=u(Y(i),37),n=u(It(e.b,r.p),214),n.s||(L+=lse(e,n));return L}function cgn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(z=t.length,v=z,zr(0,t.length),t.charCodeAt(0)==45?(L=-1,P=1,--z):(L=1,P=0),a=(qse(),Rdt)[10],i=z/a|0,Q=z%a,Q!=0&&++i,d=Ie(Sr,Jr,25,i,15,1),n=Fdt[8],h=0,q=P+(Q==0?a:Q),K=P;K<v;K=q,q=K+a)r=Wl(t.substr(K,q-K),za,xi),x=(a7(),Kye(d,d,h,n)),x+=Rsn(d,h,r),d[h++]=x;T=h,e.e=L,e.d=T,e.a=d,b_(e)}function $ot(e,t,n,r,i,a,h){if(e.c=r.qf().a,e.d=r.qf().b,i&&(e.c+=i.qf().a,e.d+=i.qf().b),e.b=t.rf().a,e.a=t.rf().b,!i)n?e.c-=h+t.rf().a:e.c+=r.rf().a+h;else switch(i.Hf().g){case 0:case 2:e.c+=i.rf().a+h+a.a+h;break;case 4:e.c-=h+a.a+h+t.rf().a;break;case 1:e.c+=i.rf().a+h,e.d-=h+a.b+h+t.rf().b;break;case 3:e.c+=i.rf().a+h,e.d+=i.rf().b+h+a.b+h}}function Hot(e,t){var n,r;for(this.b=new at,this.e=new at,this.a=e,this.d=t,Ban(this),Vsn(this),this.b.dc()?this.c=e.c.p:this.c=u(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=e.c.p:this.f=u(It(this.e,this.e.c.length-1),10).c.p,r=u(W(e,(nt(),iO)),15).Kc();r.Ob();)if(n=u(r.Pb(),70),Js(n,(mt(),Cq))){this.d=u(W(n,Cq),227);break}}function h7(e,t,n){var r,i,a,h,d,v,x,T;for(r=u(Jn(e.a,t),53),a=u(Jn(e.a,n),53),i=u(Jn(e.e,t),53),h=u(Jn(e.e,n),53),r.a.zc(n,r),h.a.zc(t,h),T=a.a.ec().Kc();T.Ob();)x=u(T.Pb(),10),r.a.zc(x,r),zs(u(Jn(e.e,x),53),t),ro(u(Jn(e.e,x),53),i);for(v=i.a.ec().Kc();v.Ob();)d=u(v.Pb(),10),h.a.zc(d,h),zs(u(Jn(e.a,d),53),n),ro(u(Jn(e.a,d),53),a)}function QD(e,t,n){var r,i,a,h,d,v,x,T;for(r=u(Jn(e.a,t),53),a=u(Jn(e.a,n),53),i=u(Jn(e.b,t),53),h=u(Jn(e.b,n),53),r.a.zc(n,r),h.a.zc(t,h),T=a.a.ec().Kc();T.Ob();)x=u(T.Pb(),10),r.a.zc(x,r),zs(u(Jn(e.b,x),53),t),ro(u(Jn(e.b,x),53),i);for(v=i.a.ec().Kc();v.Ob();)d=u(v.Pb(),10),h.a.zc(d,h),zs(u(Jn(e.a,d),53),n),ro(u(Jn(e.a,d),53),a)}function ugn(e,t){var n,r,i;switch(Er(t,"Breaking Point Insertion",1),r=new T4e(e),u(W(e,(mt(),Lle)),337).g){case 2:i=new lB;case 0:i=new oB;break;default:i=new hB}if(n=i.Vf(e,r),Bt(Nt(W(e,DTe)))&&(n=ebn(e,n)),!i.Wf()&&Js(e,Pq))switch(u(W(e,Pq),338).g){case 2:n=Cst(r,n);break;case 1:n=_it(r,n)}if(n.dc()){lr(t);return}ewn(e,n),lr(t)}function lgn(e,t,n){var r,i,a,h,d,v,x,T,L,P;if(T=null,P=t,L=VXe(e,HXe(n),P),__(L,D0(P,Ad)),h=Bv(P,S8e),r=new CGe(e,L),Fhn(r.a,r.b,h),d=Bv(P,vce),i=new SGe(e,L),Rhn(i.a,i.b,d),(!L.b&&(L.b=new yn(kr,L,4,7)),L.b).i==0||(!L.c&&(L.c=new yn(kr,L,5,8)),L.c).i==0)throw a=D0(P,Ad),v=jft+a,x=v+P7,ee(new ud(x));return AH(P,L),awn(e,P,L),T=qre(e,P,L),T}function hgn(e,t){var n,r,i,a,h,d,v;for(i=Ie(Sr,Jr,25,e.e.a.c.length,15,1),h=new C(e.e.a);h.a<h.c.c.length;)a=u(Y(h),121),i[a.d]+=a.b.a.c.length;for(d=CM(t);d.b!=0;)for(a=u(d.b==0?null:(Qn(d.b!=0),bh(d,d.a.a)),121),r=H6(new C(a.g.a));r.Ob();)n=u(r.Pb(),213),v=n.e,v.e=b.Math.max(v.e,a.e+n.a),--i[v.d],i[v.d]==0&&ks(d,v,d.c.b,d.c)}function zot(e){var t,n,r,i,a,h,d,v,x,T,L;for(n=za,i=xi,d=new C(e.e.a);d.a<d.c.c.length;)a=u(Y(d),121),i=b.Math.min(i,a.e),n=b.Math.max(n,a.e);for(t=Ie(Sr,Jr,25,n-i+1,15,1),h=new C(e.e.a);h.a<h.c.c.length;)a=u(Y(h),121),a.e-=i,++t[a.e];if(r=0,e.k!=null)for(x=e.k,T=0,L=x.length;T<L&&(v=x[T],t[r++]+=v,t.length!=r);++T);return t}function Got(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(V4e(e),19).a==e.o;case 1:case 2:{if(e.o==-2)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return wv(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:Ci(e.n,e.g)}}default:return!1}}function qot(e){vv(e,new hb(dv(lv(fv(hv(new og,AC),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new vL))),pt(e,AC,cw,PSe),pt(e,AC,Rz,Ct(DS)),pt(e,AC,y8e,Ct(DSe)),pt(e,AC,k4,Ct(ISe)),pt(e,AC,hk,Ct(NSe)),pt(e,AC,Roe,Ct(OSe))}function UH(e,t,n){var r,i,a,h,d;if(r=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),d=Ir(Ha(n0,Wd(Ir(Ha(n==null?0:Yi(n),r0)),15))),a=C_(e,t,r),a&&d==a.f&&pd(n,a.i))return n;if(h=S_(e,n,d),h)throw ee(new Dn("value already present: "+n));return i=new _j(t,r,n,d),a?(u4(e,a),HD(e,i,a),a.e=null,a.c=null,a.i):(HD(e,i,null),tit(e),null)}function fgn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;T=n.a.c,h=n.a.c+n.a.b,a=u(Jn(n.c,t),459),z=a.f,q=a.a,a.b?v=new Ft(h,z):v=new Ft(T,z),a.c?L=new Ft(T,q):L=new Ft(h,q),i=T,n.p||(i+=e.c),i+=n.F+n.v*e.b,x=new Ft(i,z),P=new Ft(i,q),T_(t.a,ie(ne(ea,1),Je,8,0,[v,x])),d=n.d.a.gc()>1,d&&(r=new Ft(i,n.b),oi(t.a,r)),T_(t.a,ie(ne(ea,1),Je,8,0,[P,L]))}function Ise(e,t,n){var r,i,a,h,d,v;if(t)if(n<=-1){if(r=bn(t.Tg(),-1-n),me(r,99))return u(r,18);for(h=u(t.ah(r),153),d=0,v=h.gc();d<v;++d)if($e(h.jl(d))===$e(e)&&(i=h.il(d),me(i,99)&&(a=u(i,18),a.Bb&Ec)))return a;throw ee(new Vo("The containment feature could not be located"))}else return go(u(bn(e.Tg(),n),18));else return null}function dgn(e){var t,n,r,i,a;for(r=e.length,t=new yT,a=0;a<r;)if(n=Ma(e,a++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;a<r&&(n=Ma(e,a++),!(n==13||n==10)););continue}n==92&&a<r?(i=(zr(a,e.length),e.charCodeAt(a)))==35||i==9||i==10||i==12||i==13||i==32?(ux(t,i&Ss),++a):(t.a+="\\",ux(t,i&Ss),++a):ux(t,n&Ss)}return t.a}function ggn(e,t){var n,r,i;for(r=new C(t);r.a<r.c.c.length;)if(n=u(Y(r),33),an(e.a,n,n),an(e.b,n,n),i=sy(n),i.c.length!=0)for(e.d&&e.d.lg(i),an(e.a,n,(En(0,i.c.length),u(i.c[0],33))),an(e.b,n,u(It(i,i.c.length-1),33));$re(i).c.length!=0;)i=$re(i),e.d&&e.d.lg(i),an(e.a,n,(En(0,i.c.length),u(i.c[0],33))),an(e.b,n,u(It(i,i.c.length-1),33))}function pgn(e){var t,n,r,i,a,h,d,v,x,T;for(n=0,d=new C(e.d);d.a<d.c.c.length;)h=u(Y(d),101),h.i&&(h.i.c=n++);for(t=G2(El,[Je,s0],[177,25],16,[n,n],2),T=e.d,i=0;i<T.c.length;i++)if(v=(En(i,T.c.length),u(T.c[i],101)),v.i)for(a=i+1;a<T.c.length;a++)x=(En(a,T.c.length),u(T.c[a],101)),x.i&&(r=eln(v,x),t[v.i.c][x.i.c]=r,t[x.i.c][v.i.c]=r);return t}function n5e(e,t,n,r){var i,a,h;return h=new uze(t,n),e.a?r?(i=u(Jn(e.b,t),283),++i.a,h.d=r.d,h.e=r.e,h.b=r,h.c=r,r.e?r.e.c=h:u(Jn(e.b,t),283).b=h,r.d?r.d.b=h:e.a=h,r.d=h,r.e=h):(e.e.b=h,h.d=e.e,e.e=h,i=u(Jn(e.b,t),283),i?(++i.a,a=i.c,a.c=h,h.e=a,i.c=h):(Si(e.b,t,i=new Gve(h)),++e.c)):(e.a=e.e=h,Si(e.b,t,new Gve(h)),++e.c),++e.d,h}function ay(e,t){var n,r,i,a,h,d,v,x;for(n=new RegExp(t,"g"),v=Ie(Et,Je,2,0,6,1),r=0,x=e,a=null;;)if(d=n.exec(x),d==null||x==""){v[r]=x;break}else h=d.index,v[r]=x.substr(0,h),x=$l(x,h+d[0].length,x.length),n.lastIndex=0,a==x&&(v[r]=x.substr(0,1),x=x.substr(1)),a=x,++r;if(e.length>0){for(i=v.length;i>0&&v[i-1]=="";)--i;i<v.length&&(v.length=i)}return v}function r5e(e,t){var n,r,i,a,h,d,v,x,T,L;for(L=Ro(t),x=null,i=!1,d=0,T=Bc(L.a).i;d<T;++d)h=u(rI(L,d,(a=u(_e(Bc(L.a),d),87),v=a.c,me(v,88)?u(v,26):(cn(),nf))),26),n=r5e(e,h),n.dc()||(x?(i||(i=!0,x=new uj(x)),x.Gc(n)):x=n);return r=efn(e,t),r.dc()?x||(fn(),fn(),bo):x?(i||(x=new uj(x)),x.Gc(r),x):r}function Ose(e,t){var n,r,i,a,h,d,v,x,T,L;for(L=Ro(t),x=null,r=!1,d=0,T=Bc(L.a).i;d<T;++d)a=u(rI(L,d,(i=u(_e(Bc(L.a),d),87),v=i.c,me(v,88)?u(v,26):(cn(),nf))),26),n=Ose(e,a),n.dc()||(x?(r||(r=!0,x=new uj(x)),x.Gc(n)):x=n);return h=Lfn(e,t),h.dc()?x||(fn(),fn(),bo):x?(r||(x=new uj(x)),x.Gc(h),x):h}function ZD(e,t,n){var r,i,a,h,d,v;if(me(t,72))return Qa(e,t,n);for(d=null,a=null,r=u(e.g,119),h=0;h<e.i;++h)if(i=r[h],Ci(t,i.dd())&&(a=i.ak(),me(a,99)&&u(a,18).Bb&Ec)){d=i;break}return d&&(Sl(e.e)&&(v=a.$j()?Pp(e,4,a,t,null,d7(e,a,t,me(a,99)&&(u(a,18).Bb&ao)!=0),!0):Pp(e,a.Kj()?2:1,a,t,a.zj(),-1,!0),n?n.Ei(v):n=v),n=ZD(e,d,n)),n}function bgn(e){var t,n,r,i;r=e.o,Am(),e.A.dc()||Ci(e.A,f7e)?i=r.a:(i=GD(e.f),e.A.Hc((Nl(),PO))&&!e.B.Hc((wl(),RS))&&(i=b.Math.max(i,GD(u(_o(e.p,(dt(),Ln)),244))),i=b.Math.max(i,GD(u(_o(e.p,Tr),244)))),t=$et(e),t&&(i=b.Math.max(i,t.a))),Bt(Nt(e.e.yf().We((di(),gV))))?r.a=b.Math.max(r.a,i):r.a=i,n=e.f.i,n.c=0,n.b=i,Rse(e.f)}function vgn(e,t){var n,r,i,a,h,d,v,x,T;if(n=t.Hh(e.a),n&&(v=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),"memberTypes")),v!=null)){for(x=new at,a=ay(v,"\\w"),h=0,d=a.length;h<d;++h)i=a[h],r=i.lastIndexOf("#"),T=r==-1?Z2e(e,t.Aj(),i):r==0?YM(e,null,i.substr(1)):YM(e,i.substr(0,r),i.substr(r+1)),me(T,148)&&st(x,u(T,148));return x}return fn(),fn(),bo}function wgn(e,t,n){var r,i,a,h,d,v,x,T;for(Er(n,Zlt,1),e.bf(t),a=0;e.df(a);){for(T=new C(t.e);T.a<T.c.c.length;)for(v=u(Y(T),144),d=Dp(P1(ie(ne(G1,1),_t,20,0,[t.e,t.d,t.b])));Vr(d);)h=u(Nr(d),357),h!=v&&(i=e.af(h,v),i&&Ni(v.a,i));for(x=new C(t.e);x.a<x.c.c.length;)v=u(Y(x),144),r=v.a,Kit(r,-e.d,-e.d,e.d,e.d),Ni(v.d,r),Yf(r);e.cf(),++a}lr(n)}function mgn(e,t,n){var r,i,a,h;if(h=hu(e.e.Tg(),t),r=u(e.g,119),ho(),u(t,66).Oj()){for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&Ci(i,n))return iy(e,a),!0}else if(n!=null){for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&Ci(n,i.dd()))return iy(e,a),!0}else for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&i.dd()==null)return iy(e,a),!0;return!1}function ygn(e,t){var n,r,i,a,h;for(e.c==null||e.c.length<t.c.length?e.c=Ie(El,s0,25,t.c.length,16,1):wT(e.c),e.a=new at,r=0,h=new C(t);h.a<h.c.c.length;)i=u(Y(h),10),i.p=r++;for(n=new as,a=new C(t);a.a<a.c.c.length;)i=u(Y(a),10),e.c[i.p]||(Ist(e,i),n.b==0||(Qn(n.b!=0),u(n.a.a.c,15)).gc()<e.a.c.length?ZGe(n,e.a):H2(n,e.a),e.a=new at);return n}function kgn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;for(h=u(_e(t,0),33),Au(h,0),Lu(h,0),P=new at,P.c[P.c.length]=h,d=h,a=new Xte(e.a,h.g,h.f,(l7(),CS)),z=1;z<t.i;z++)q=u(_e(t,z),33),v=Gse(e,W4,q,d,a,P,n),x=Gse(e,Dk,q,d,a,P,n),T=Gse(e,_S,q,d,a,P,n),L=Gse(e,TS,q,d,a,P,n),i=N2n(e,v,x,T,L,q,d,r),Au(q,i.d),Lu(q,i.e),N8(i,CS),a=i,d=q,P.c[P.c.length]=q;return a}function Vot(e){vv(e,new hb(dv(lv(fv(hv(new og,M7),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new BQ))),pt(e,M7,Zoe,Ct(CCe)),pt(e,M7,cw,_Ce),pt(e,M7,dy,8),pt(e,M7,tce,Ct(Fmt)),pt(e,M7,b8e,Ct(ECe)),pt(e,M7,v8e,Ct(TCe)),pt(e,M7,AI,(In(),!1))}function Uot(e,t,n,r){var i,a,h,d,v,x,T,L,P,z;for(h=Sm(t.c,n,r),L=new C(t.a);L.a<L.c.c.length;){for(T=u(Y(L),10),Ni(T.n,h),z=new C(T.j);z.a<z.c.c.length;)for(P=u(Y(z),11),a=new C(P.g);a.a<a.c.c.length;)for(i=u(Y(a),17),qm(i.a,h),d=u(W(i,(mt(),Fo)),74),d&&qm(d,h),x=new C(i.b);x.a<x.c.c.length;)v=u(Y(x),70),Ni(v.n,h);st(e.a,T),T.a=e}}function xgn(e,t){var n,r,i,a,h;if(Er(t,"Node and Port Label Placement and Node Sizing",1),Cqe((TT(),new Cne(e,!0,!0,new cY))),u(W(e,(nt(),Qc)),21).Hc((mo(),Th)))for(a=u(W(e,(mt(),Oy)),21),i=a.Hc((al(),NO)),h=Bt(Nt(W(e,xTe))),r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),29),ms(qi(new mn(null,new kn(n.a,16)),new $d),new AUe(a,i,h));lr(t)}function Egn(e,t){var n,r,i,a,h,d;if(n=t.Hh(e.a),n&&(d=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Wz)),d!=null))switch(i=zR(d,Du(35)),r=t.Hj(),i==-1?(h=s_(e,ql(r)),a=d):i==0?(h=null,a=d.substr(1)):(h=d.substr(0,i),a=d.substr(i+1)),Mv(No(e,t))){case 2:case 3:return Drn(e,r,h,a);case 0:case 4:case 5:case 6:return Irn(e,r,h,a)}return null}function i5e(e,t,n){var r,i,a,h,d;if(h=(ho(),u(t,66).Oj()),G0(e.e,t)){if(t.hi()&&WH(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0))return!1}else for(d=hu(e.e.Tg(),t),r=u(e.g,119),a=0;a<e.i;++a)if(i=r[a],d.rl(i.ak()))return(h?Ci(i,n):n==null?i.dd()==null:Ci(n,i.dd()))?!1:(u(t4(e,a,h?u(n,72):Xd(t,n)),72),!0);return Pr(e,h?u(n,72):Xd(t,n))}function JD(e){var t,n,r,i,a,h,d,v;if(e.d)throw ee(new Vo((S0(Tue),zae+Tue.k+Gae)));for(e.c==(wo(),u0)&&b4(e,Wh),n=new C(e.a.a);n.a<n.c.c.length;)t=u(Y(n),189),t.e=0;for(h=new C(e.a.b);h.a<h.c.c.length;)for(a=u(Y(h),81),a.o=Ds,i=a.f.Kc();i.Ob();)r=u(i.Pb(),81),++r.d.e;for(bvn(e),v=new C(e.a.b);v.a<v.c.c.length;)d=u(Y(v),81),d.k=!0;return e}function Tgn(e,t){var n,r,i,a,h,d,v,x;for(d=new nst(e),n=new as,ks(n,t,n.c.b,n.c);n.b!=0;){for(r=u(n.b==0?null:(Qn(n.b!=0),bh(n,n.a.a)),113),r.d.p=1,h=new C(r.e);h.a<h.c.c.length;)i=u(Y(h),409),Eit(d,i),x=i.d,x.d.p==0&&ks(n,x,n.c.b,n.c);for(a=new C(r.b);a.a<a.c.c.length;)i=u(Y(a),409),Eit(d,i),v=i.c,v.d.p==0&&ks(n,v,n.c.b,n.c)}return d}function Kot(e){var t,n,r,i,a;if(r=We(gt(jt(e,(di(),uyt)))),r!=1)for(NR(e,r*e.g,r*e.f),n=jqt(XWt((!e.c&&(e.c=new ot(xl,e,9,9)),e.c),new cZ)),a=Dp(P1(ie(ne(G1,1),_t,20,0,[(!e.n&&(e.n=new ot(Qo,e,1,7)),e.n),(!e.c&&(e.c=new ot(xl,e,9,9)),e.c),n])));Vr(a);)i=u(Nr(a),470),i.Gg(r*i.Dg(),r*i.Eg()),i.Fg(r*i.Cg(),r*i.Bg()),t=u(i.We(hSe),8),t&&(t.a*=r,t.b*=r)}function _gn(e,t,n,r,i){var a,h,d,v,x,T,L,P;for(h=new C(e.b);h.a<h.c.c.length;)for(a=u(Y(h),29),P=jM(a.a),x=P,T=0,L=x.length;T<L;++T)switch(v=x[T],u(W(v,(mt(),du)),163).g){case 1:Zdn(v),Oo(v,t),grt(v,!0,r);break;case 3:Fdn(v),Oo(v,n),grt(v,!1,i)}for(d=new Ca(e.b,0);d.b<d.d.gc();)(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)).a.c.length==0&&Dl(d)}function Cgn(e,t){var n,r,i,a,h,d,v;if(n=t.Hh(e.a),n&&(v=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Y8e)),v!=null)){for(r=new at,a=ay(v,"\\w"),h=0,d=a.length;h<d;++h)i=a[h],on(i,"##other")?st(r,"!##"+s_(e,ql(t.Hj()))):on(i,"##local")?r.c[r.c.length]=null:on(i,NI)?st(r,s_(e,ql(t.Hj()))):r.c[r.c.length]=i;return r}return fn(),fn(),bo}function Sgn(e,t){var n,r,i,a;return n=new Aa,r=u(Gl(Eu(new mn(null,new kn(e.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21),i=r.gc(),r=u(Gl(Eu(new mn(null,new kn(t.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[yy,Zl]))),21),a=r.gc(),i=i==1?1:0,a=a==1?1:0,i<a?-1:i==a?0:1}function Agn(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(d=e.i,i=Bt(Nt(W(d,(mt(),Dy)))),T=0,r=0,x=new C(e.g);x.a<x.c.c.length;)v=u(Y(x),17),h=no(v),a=h&&i&&Bt(Nt(W(v,Ab))),P=v.d.i,h&&a?++r:h&&!a?++T:Xa(P).e==d?++r:++T;for(n=new C(e.e);n.a<n.c.c.length;)t=u(Y(n),17),h=no(t),a=h&&i&&Bt(Nt(W(t,Ab))),L=t.c.i,h&&a?++T:h&&!a?++r:Xa(L).e==d?++T:++r;return T-r}function d4(e,t,n,r){this.e=e,this.k=u(W(e,(nt(),H4)),304),this.g=Ie(c0,Og,10,t,0,1),this.b=Ie(ka,Je,333,t,7,1),this.a=Ie(c0,Og,10,t,0,1),this.d=Ie(ka,Je,333,t,7,1),this.j=Ie(c0,Og,10,t,0,1),this.i=Ie(ka,Je,333,t,7,1),this.p=Ie(ka,Je,333,t,7,1),this.n=Ie(Vs,Je,476,t,8,1),eM(this.n,(In(),!1)),this.f=Ie(Vs,Je,476,t,8,1),eM(this.f,!0),this.o=n,this.c=r}function Wot(e,t){var n,r,i,a,h,d;if(!t.dc())if(u(t.Xb(0),286).d==(Q6(),Ty))acn(e,t);else for(r=t.Kc();r.Ob();){switch(n=u(r.Pb(),286),n.d.g){case 5:s7(e,n,bsn(e,n));break;case 0:s7(e,n,(h=n.f-n.c+1,d=(h-1)/2|0,n.c+d));break;case 4:s7(e,n,Mtn(e,n));break;case 2:ynt(n),s7(e,n,(a=A3e(n),a?n.c:n.f));break;case 1:ynt(n),s7(e,n,(i=A3e(n),i?n.f:n.c))}rln(n.a)}}function Lgn(e,t){var n,r,i,a,h,d,v;if(!t.e){for(t.e=!0,r=t.d.a.ec().Kc();r.Ob();){if(n=u(r.Pb(),17),t.o&&t.d.a.gc()<=1){h=t.a.c,d=t.a.c+t.a.b,v=new Ft(h+(d-h)/2,t.b),oi(u(t.d.a.ec().Kc().Pb(),17).a,v);continue}if(i=u(Jn(t.c,n),459),i.b||i.c){fgn(e,n,t);continue}a=e.d==(qx(),gS)&&(i.d||i.e)&&Efn(e,t)&&t.d.a.gc()<=1,a?Ybn(n,t):M0n(e,n,t)}t.k&&Da(t.d,new p3)}}function s5e(e,t,n,r,i,a){var h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(P=a,d=(r+i)/2+P,Q=n*b.Math.cos(d),ue=n*b.Math.sin(d),Se=Q-t.g/2,Te=ue-t.f/2,Au(t,Se),Lu(t,Te),L=e.a.jg(t),K=2*b.Math.acos(n/n+e.c),K<i-r?(z=K/L,h=(r+i-K)/2):(z=(i-r)/L,h=r),q=sy(t),e.e&&(e.e.kg(e.d),e.e.lg(q)),x=new C(q);x.a<x.c.c.length;)v=u(Y(x),33),T=e.a.jg(v),s5e(e,v,n+e.c,h,h+z*T,a),h+=z*T}function Mgn(e,t,n){var r;switch(r=n.q.getMonth(),t){case 5:Yr(e,ie(ne(Et,1),Je,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:Yr(e,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae])[r]);break;case 3:Yr(e,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:Qd(e,r+1,t)}}function Nse(e,t){var n,r,i,a,h;if(Er(t,"Network simplex",1),e.e.a.c.length<1){lr(t);return}for(a=new C(e.e.a);a.a<a.c.c.length;)i=u(Y(a),121),i.e=0;for(h=e.e.a.c.length>=40,h&&vpn(e),k2n(e),e0n(e),n=ont(e),r=0;n&&r<e.f;)Ogn(e,n,Jfn(e,n)),n=ont(e),++r;h&&Eun(e),e.a?d1n(e,zot(e)):zot(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,lr(t)}function Dgn(e,t,n,r){var i,a,h,d,v,x,T,L,P;for(v=new Ft(n,r),pa(v,u(W(t,(Rp(),KC)),8)),P=new C(t.e);P.a<P.c.c.length;)L=u(Y(P),144),Ni(L.d,v),st(e.e,L);for(d=new C(t.c);d.a<d.c.c.length;){for(h=u(Y(d),282),a=new C(h.a);a.a<a.c.c.length;)i=u(Y(a),559),Ni(i.d,v);st(e.c,h)}for(T=new C(t.d);T.a<T.c.c.length;)x=u(Y(T),447),Ni(x.d,v),st(e.d,x)}function a5e(e,t){var n,r,i,a,h,d,v,x;for(v=new C(t.j);v.a<v.c.c.length;)for(d=u(Y(v),11),i=new O1(d.b);tc(i.a)||tc(i.b);)r=u(tc(i.a)?Y(i.a):Y(i.b),17),n=r.c==d?r.d:r.c,a=n.i,t!=a&&(x=u(W(r,(mt(),cE)),19).a,x<0&&(x=0),h=a.p,e.b[h]==0&&(r.d==n?(e.a[h]-=x+1,e.a[h]<=0&&e.c[h]>0&&oi(e.f,a)):(e.c[h]-=x+1,e.c[h]<=0&&e.a[h]>0&&oi(e.e,a))))}function Ign(e){var t,n,r,i,a,h,d,v,x;for(d=new Ep(u(Or(new lf),62)),x=Ds,n=new C(e.d);n.a<n.c.c.length;){for(t=u(Y(n),222),x=t.c.c;d.a.c!=0&&(v=u(aXt(ltn(d.a)),222),v.c.c+v.c.b<x);)g_(d.a,v)!=null;for(h=(i=new e_(new QT(new m(d.a).a).b),new g(i));JL(h.a.a);)a=(r=KR(h.a),u(r.cd(),222)),oi(a.b,t),oi(t.b,a);q$(d.a,t,(In(),Tb))==null}}function Yot(e,t,n){var r,i,a,h,d,v,x,T,L;for(a=new tu(t.c.length),x=new C(t);x.a<x.c.c.length;)h=u(Y(x),10),st(a,e.b[h.c.p][h.p]);for(H2n(e,a,n),L=null;L=zbn(a);)Ipn(e,u(L.a,233),u(L.b,233),a);for(t.c=Ie(Xn,_t,1,0,5,1),i=new C(a);i.a<i.c.c.length;)for(r=u(Y(i),233),d=r.d,v=0,T=d.length;v<T;++v)h=d[v],t.c[t.c.length]=h,e.a[h.c.p][h.p].a=S1(r.g,r.d[0]).a}function o5e(e,t){var n,r,i,a;if(0<(me(e,14)?u(e,14).gc():I0(e.Kc()))){if(i=t,1<i){for(--i,a=new lQ,r=e.Kc();r.Ob();)n=u(r.Pb(),86),a=P1(ie(ne(G1,1),_t,20,0,[a,new mp(n)]));return o5e(a,i)}if(i<0){for(a=new hQ,r=e.Kc();r.Ob();)n=u(r.Pb(),86),a=P1(ie(ne(G1,1),_t,20,0,[a,new mp(n)]));if(0<(me(a,14)?u(a,14).gc():I0(a.Kc())))return o5e(a,i)}}return u(jR(e.Kc()),86)}function wl(){wl=de,yE=new O3("DEFAULT_MINIMUM_SIZE",0),RO=new O3("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),yV=new O3("COMPUTE_PADDING",2),RS=new O3("OUTSIDE_NODE_LABELS_OVERHANG",3),kV=new O3("PORTS_OVERHANG",4),EV=new O3("UNIFORM_PORT_SPACING",5),xV=new O3("SPACE_EFFICIENT_PORT_LABELS",6),Ghe=new O3("FORCE_TABULAR_NODE_LABELS",7),FO=new O3("ASYMMETRICAL",8)}function Pse(e,t){var n,r,i,a,h,d,v,x;if(t){if(n=(a=t.Tg(),a?ql(a).Nh().Jh(a):null),n){for(cb(e,t,n),i=t.Tg(),v=0,x=(i.i==null&&wd(i),i.i).length;v<x;++v)d=(r=(i.i==null&&wd(i),i.i),v>=0&&v<r.length?r[v]:null),d.Ij()&&!d.Jj()&&(me(d,322)?zan(e,u(d,34),t,n):(h=u(d,18),h.Bb&Ec&&Zcn(e,h,t,n)));t.kh()&&u(n,49).vh(u(t,49).qh())}return n}else return null}function Ogn(e,t,n){var r,i,a;if(!t.f)throw ee(new Dn("Given leave edge is no tree edge."));if(n.f)throw ee(new Dn("Given enter edge is a tree edge already."));for(t.f=!1,T2e(e.p,t),n.f=!0,zs(e.p,n),r=n.e.e-n.d.e-n.a,fse(e,n.e,t)||(r=-r),a=new C(e.e.a);a.a<a.c.c.length;)i=u(Y(a),121),fse(e,i,t)||(i.e+=r);e.j=1,wT(e.c),h4e(e,u(Y(new C(e.e.a)),121)),rut(e)}function Xot(e,t){var n,r,i,a,h,d;if(d=u(W(t,(mt(),vs)),98),d==(ya(),f0)||d==Zc)for(i=new Ft(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,h=new C(e.a);h.a<h.c.c.length;)a=u(Y(h),10),a.k==(zn(),Ls)&&(n=u(W(a,(nt(),vc)),61),!(n!=(dt(),$n)&&n!=On)&&(r=We(gt(W(a,xw))),d==f0&&(r*=i),a.n.b=r-u(W(a,_w),8).b,H$(a,!1,!0)))}function Qot(e,t,n,r){var i,a,h,d,v,x,T,L,P,z;if(Ztn(e,t,n),a=t[n],z=r?(dt(),On):(dt(),$n),OVt(t.length,n,r)){for(i=t[r?n-1:n+1],Dwe(e,i,r?(vo(),ou):(vo(),cl)),v=a,T=0,P=v.length;T<P;++T)h=v[T],Xye(e,h,z);for(Dwe(e,a,r?(vo(),cl):(vo(),ou)),d=i,x=0,L=d.length;x<L;++x)h=d[x],h.e||Xye(e,h,ED(z))}else for(d=a,x=0,L=d.length;x<L;++x)h=d[x],Xye(e,h,z);return!1}function Ngn(e,t,n,r){var i,a,h,d,v,x,T;v=sc(t,n),(n==(dt(),Tr)||n==On)&&(v=me(v,152)?R6(u(v,152)):me(v,131)?u(v,131).a:me(v,54)?new uv(v):new km(v)),h=!1;do for(i=!1,a=0;a<v.gc()-1;a++)x=u(v.Xb(a),11),d=u(v.Xb(a+1),11),hln(e,x,d,r)&&(h=!0,Kne(e.a,u(v.Xb(a),11),u(v.Xb(a+1),11)),T=u(v.Xb(a+1),11),v._c(a+1,u(v.Xb(a),11)),v._c(a,T),i=!0);while(i);return h}function Pgn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;if(Sl(e.e)){if(t!=n&&(i=u(e.g,119),z=i[n],h=z.ak(),G0(e.e,h))){for(q=hu(e.e.Tg(),h),v=-1,d=-1,r=0,x=0,L=t>n?t:n;x<=L;++x)x==n?d=r++:(a=i[x],T=q.rl(a.ak()),x==t&&(v=x==L&&!T?r-1:r),T&&++r);return P=u(F_(e,t,n),72),d!=v&&R8(e,new WM(e.e,7,h,lt(d),z.dd(),v)),P}}else return u(gse(e,t,n),72);return u(F_(e,t,n),72)}function Bgn(e,t){var n,r,i,a,h,d,v;for(Er(t,"Port order processing",1),v=u(W(e,(mt(),ETe)),421),r=new C(e.b);r.a<r.c.c.length;)for(n=u(Y(r),29),a=new C(n.a);a.a<a.c.c.length;)i=u(Y(a),10),h=u(W(i,vs),98),d=i.j,h==(ya(),Fb)||h==f0||h==Zc?(fn(),aa(d,LEe)):h!=Y1&&h!=g2&&(fn(),aa(d,spt),Qan(d),v==(eD(),$le)&&aa(d,ipt)),i.i=!0,c4e(i);lr(t)}function Fgn(e){var t,n,r,i,a,h,d,v;for(v=new Ar,t=new wee,h=e.Kc();h.Ob();)i=u(h.Pb(),10),d=xv(XL(new j2,i),t),lu(v.f,i,d);for(a=e.Kc();a.Ob();)for(i=u(a.Pb(),10),r=new ur(dr(Fs(i).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),!no(n)&&Tf(gf(df(ff(pf(new Ih,b.Math.max(1,u(W(n,(mt(),TTe)),19).a)),1),u(Jn(v,n.c.i),121)),u(Jn(v,n.d.i),121)));return t}function Zot(){Zot=de,Gvt=ki(new Xs,(io(),Yc),(po(),gEe)),u_e=ki(new Xs,fu,HG),Vvt=rl(ki(new Xs,fu,YG),zo,WG),zvt=rl(ki(ki(new Xs,fu,uEe),Yc,lEe),zo,hEe),Uvt=Xv(Xv(cR(rl(ki(new Xs,Dd,JG),zo,ZG),Yc),QG),eq),qvt=rl(new Xs,zo,pEe),$vt=rl(ki(ki(ki(new Xs,i2,GG),Yc,VG),Yc,V7),zo,qG),Hvt=rl(ki(ki(new Xs,Yc,V7),Yc,$G),zo,jG)}function Rgn(e,t,n,r,i,a){var h,d,v,x,T,L,P;for(x=dtt(t)-dtt(e),h=zit(t,x),v=cu(0,0,0);x>=0&&(d=jon(e,h),!(d&&(x<22?v.l|=1<<x:x<44?v.m|=1<<x-22:v.h|=1<<x-44,e.l==0&&e.m==0&&e.h==0)));)T=h.m,L=h.h,P=h.l,h.h=L>>>1,h.m=T>>>1|(L&1)<<21,h.l=P>>>1|(T&1)<<21,--x;return n&&Gre(v),a&&(r?(t2=jx(e),i&&(t2=Yet(t2,(Tx(),hxe)))):t2=cu(e.l,e.m,e.h)),v}function jgn(e,t){var n,r,i,a,h,d,v,x,T,L;for(x=e.e[t.c.p][t.p]+1,v=t.c.a.c.length+1,d=new C(e.a);d.a<d.c.c.length;){for(h=u(Y(d),11),L=0,a=0,i=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(h),new Cr(h)])));Vr(i);)r=u(Nr(i),11),r.i.c==t.c&&(L+=SVt(e,r.i)+1,++a);n=L/a,T=h.j,T==(dt(),$n)?n<x?e.f[h.p]=e.c-n:e.f[h.p]=e.b+(v-n):T==On&&(n<x?e.f[h.p]=e.b+n:e.f[h.p]=e.c-(v-n))}}function Wl(e,t,n){var r,i,a,h,d;if(e==null)throw ee(new ld(Iu));for(a=e.length,h=a>0&&(zr(0,e.length),e.charCodeAt(0)==45||(zr(0,e.length),e.charCodeAt(0)==43))?1:0,r=h;r<a;r++)if(znt((zr(r,e.length),e.charCodeAt(r)))==-1)throw ee(new ld(ow+e+'"'));if(d=parseInt(e,10),i=d<t,isNaN(d))throw ee(new ld(ow+e+'"'));if(i||d>n)throw ee(new ld(ow+e+'"'));return d}function $gn(e){var t,n,r,i,a,h,d;for(h=new as,a=new C(e.a);a.a<a.c.c.length;)i=u(Y(a),112),BL(i,i.f.c.length),iT(i,i.k.c.length),i.i==0&&(i.o=0,ks(h,i,h.c.b,h.c));for(;h.b!=0;)for(i=u(h.b==0?null:(Qn(h.b!=0),bh(h,h.a.a)),112),r=i.o+1,n=new C(i.f);n.a<n.c.c.length;)t=u(Y(n),129),d=t.a,TF(d,b.Math.max(d.o,r)),iT(d,d.i-1),d.i==0&&ks(h,d,h.c.b,h.c)}function Hgn(e){var t,n,r,i,a,h,d,v;for(h=new C(e);h.a<h.c.c.length;){for(a=u(Y(h),79),r=Ho(u(_e((!a.b&&(a.b=new yn(kr,a,4,7)),a.b),0),82)),d=r.i,v=r.j,i=u(_e((!a.a&&(a.a=new ot(os,a,6,6)),a.a),0),202),BR(i,i.j+d,i.k+v),PR(i,i.b+d,i.c+v),n=new ir((!i.a&&(i.a=new Ns(Zh,i,5)),i.a));n.e!=n.i.gc();)t=u(br(n),469),g2e(t,t.a+d,t.b+v);wme(u(jt(a,(di(),X4)),74),d,v)}}function f7(e){var t;switch(e){case 100:return v4(HC,!0);case 68:return v4(HC,!1);case 119:return v4(Oce,!0);case 87:return v4(Oce,!1);case 115:return v4(Nce,!0);case 83:return v4(Nce,!1);case 99:return v4(Pce,!0);case 67:return v4(Pce,!1);case 105:return v4(Bce,!0);case 73:return v4(Bce,!1);default:throw ee(new ec((t=e,fdt+t.toString(16))))}}function zgn(e){var t,n,r,i,a;switch(i=u(It(e.a,0),10),t=new H0(e),st(e.a,t),t.o.a=b.Math.max(1,i.o.a),t.o.b=b.Math.max(1,i.o.b),t.n.a=i.n.a,t.n.b=i.n.b,u(W(i,(nt(),vc)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return r=new Fc,nc(r,t),n=new Dv,a=u(It(i.j,0),11),Ka(n,a),wa(n,r),Ni(Yf(r.n),a.n),Ni(Yf(r.a),a.a),t}function Jot(e,t,n,r,i){n&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.b],10).k==(zn(),Pl)?tk(u(e.a[e.b],10),(Kl(),l0)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.c-1&e.a.length-1],10).k==(zn(),Pl)?tk(u(e.a[e.c-1&e.a.length-1],10),(Kl(),f2)):(e.c-e.b&e.a.length-1)==2?(tk(u(D_(e),10),(Kl(),l0)),tk(u(D_(e),10),f2)):N1n(e,i),pwe(e)}function Ggn(e,t,n){var r,i,a,h,d;for(a=0,i=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));i.e!=i.i.gc();)r=u(br(i),33),h="",(!r.n&&(r.n=new ot(Qo,r,1,7)),r.n).i==0||(h=u(_e((!r.n&&(r.n=new ot(Qo,r,1,7)),r.n),0),137).a),d=new Ure(a++,t,h),$o(d,r),Qe(d,(xc(),xS),r),d.e.b=r.j+r.f/2,d.f.a=b.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=b.Math.max(r.f,1),oi(t.b,d),lu(n.f,r,d)}function qgn(e){var t,n,r,i,a;r=u(W(e,(nt(),Mi)),33),a=u(jt(r,(mt(),Lb)),174).Hc((Nl(),Rb)),e.e||(i=u(W(e,Qc),21),t=new Ft(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Hc((mo(),Th))?(So(r,vs,(ya(),Zc)),iw(r,t.a,t.b,!1,!0)):Bt(Nt(jt(r,Tle)))||iw(r,t.a,t.b,!0,!0)),a?So(r,Lb,sn(Rb)):So(r,Lb,(n=u(Wf(FS),9),new hh(n,u(bf(n,n.length),9),0)))}function c5e(e,t,n){var r,i,a,h;if(t[0]>=e.length)return n.o=0,!0;switch(Ma(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],h=IH(e,t),h==0&&t[0]==a)return!1;if(t[0]<e.length&&Ma(e,t[0])==58){if(r=h*60,++t[0],a=t[0],h=IH(e,t),h==0&&t[0]==a)return!1;r+=h}else r=h,r<24&&t[0]-a<=2?r*=60:r=r%100+(r/100|0)*60;return r*=i,n.o=-r,!0}function Vgn(e){var t,n,r,i,a,h,d,v,x;for(h=new at,r=new ur(dr(Fs(e.b).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),no(n)&&st(h,new RQe(n,EZe(e,n.c),EZe(e,n.d)));for(x=(a=new x1(e.e).a.vc().Kc(),new E1(a));x.a.Ob();)d=(t=u(x.a.Pb(),42),u(t.dd(),113)),d.d.p=0;for(v=(i=new x1(e.e).a.vc().Kc(),new E1(i));v.a.Ob();)d=(t=u(v.a.Pb(),42),u(t.dd(),113)),d.d.p==0&&st(e.d,Tgn(e,d))}function Ugn(e){var t,n,r,i,a,h,d;for(a=A1(e),i=new ir((!e.e&&(e.e=new yn(ta,e,7,4)),e.e));i.e!=i.i.gc();)if(r=u(br(i),79),d=Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82)),!Gm(d,a))return!0;for(n=new ir((!e.d&&(e.d=new yn(ta,e,8,5)),e.d));n.e!=n.i.gc();)if(t=u(br(n),79),h=Ho(u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82)),!Gm(h,a))return!0;return!1}function Kgn(e){var t,n,r,i,a,h,d,v;for(v=new $u,t=si(e,0),d=null,n=u(ii(t),8),i=u(ii(t),8);t.b!=t.d.c;)d=n,n=i,i=u(ii(t),8),a=bJe(pa(new Ft(d.a,d.b),n)),h=bJe(pa(new Ft(i.a,i.b),n)),r=10,r=b.Math.min(r,b.Math.abs(a.a+a.b)/2),r=b.Math.min(r,b.Math.abs(h.a+h.b)/2),a.a=AM(a.a)*r,a.b=AM(a.b)*r,h.a=AM(h.a)*r,h.b=AM(h.b)*r,oi(v,Ni(a,n)),oi(v,Ni(h,n));return v}function Yl(e,t,n,r){var i,a,h,d,v;return h=e.eh(),v=e.Zg(),i=null,v?t&&!(Ise(e,t,n).Bb&ao)?(r=Qa(v.Vk(),e,r),e.uh(null),i=t.fh()):v=null:(h&&(v=h.fh()),t&&(i=t.fh())),v!=i&&v&&v.Zk(e),d=e.Vg(),e.Rg(t,n),v!=i&&i&&i.Yk(e),e.Lg()&&e.Mg()&&(h&&d>=0&&d!=n&&(a=new oa(e,1,d,h,null),r?r.Ei(a):r=a),n>=0&&(a=new oa(e,1,n,d==n?h:null,t),r?r.Ei(a):r=a)),r}function ect(e){var t,n,r;if(e.b==null){if(r=new dg,e.i!=null&&(To(r,e.i),r.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(aQt(e.i)||(r.a+="//"),To(r,e.a)),e.d!=null&&(r.a+="/",To(r,e.d)),e.f&16&&(r.a+="/"),t=0,n=e.j.length;t<n;t++)t!=0&&(r.a+="/"),To(r,e.j[t]);e.g!=null&&(r.a+="?",To(r,e.g))}else To(r,e.a);e.e!=null&&(r.a+="#",To(r,e.e)),e.b=r.a}return e.b}function Wgn(e,t){var n,r,i,a,h,d;for(i=new C(t.a);i.a<i.c.c.length;)r=u(Y(i),10),a=W(r,(nt(),Mi)),me(a,11)&&(h=u(a,11),d=mct(t,r,h.o.a,h.o.b),h.n.a=d.a,h.n.b=d.b,qs(h,u(W(r,vc),61)));n=new Ft(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),u(W(t,(nt(),Qc)),21).Hc((mo(),Th))?(Qe(e,(mt(),vs),(ya(),Zc)),u(W(Xa(e),Qc),21).Fc(nE),nut(e,n,!1)):nut(e,n,!0)}function Ygn(e,t,n){var r,i,a,h,d,v;if(Er(n,"Minimize Crossings "+e.a,1),r=t.b.c.length==0||!xT(qi(new mn(null,new kn(t.b,16)),new Xe(new d8))).sd(($2(),G7)),v=t.b.c.length==1&&u(It(t.b,0),29).a.c.length==1,a=$e(W(t,(mt(),My)))===$e((R0(),qg)),r||v&&!a){lr(n);return}i=Vdn(e,t),h=(d=u(n1(i,0),214),d.c.Rf()?d.c.Lf()?new xRe(e):new ERe(e):new kRe(e)),Urn(i,h),win(e),lr(n)}function Xgn(e,t,n,r){var i,a,h,d,v;if(v=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),i=Ir(Ha(n0,Wd(Ir(Ha(n==null?0:Yi(n),r0)),15))),d=S_(e,t,v),h=C_(e,n,i),d&&i==d.a&&pd(n,d.g))return n;if(h&&!r)throw ee(new Dn("key already present: "+n));return d&&u4(e,d),h&&u4(e,h),a=new _j(n,i,t,v),HD(e,a,h),h&&(h.e=null,h.c=null),d&&(d.e=null,d.c=null),tit(e),d?d.g:null}function tct(e,t,n){var r,i,a,h,d;for(a=0;a<t;a++){for(r=0,d=a+1;d<t;d++)r=Wa(Wa(Ha(Gs(e[a],yo),Gs(e[d],yo)),Gs(n[a+d],yo)),Gs(Ir(r),yo)),n[a+d]=Ir(r),r=Im(r,32);n[a+t]=Ir(r)}for(Snn(n,n,t<<1),r=0,i=0,h=0;i<t;++i,h++)r=Wa(Wa(Ha(Gs(e[i],yo),Gs(e[i],yo)),Gs(n[h],yo)),Gs(Ir(r),yo)),n[h]=Ir(r),r=Im(r,32),++h,r=Wa(r,Gs(n[h],yo)),n[h]=Ir(r),r=Im(r,32);return n}function nct(e,t,n){var r,i,a,h,d,v,x,T;if(!vx(t)){for(v=We(gt(Ym(n.c,(mt(),uS)))),x=u(Ym(n.c,uO),142),!x&&(x=new dT),r=n.a,i=null,d=t.Kc();d.Ob();)h=u(d.Pb(),11),T=0,i?(T=v,T+=i.o.b):T=x.d,a=xv(XL(new j2,h),e.f),Si(e.k,h,a),Tf(gf(df(ff(pf(new Ih,0),_s(b.Math.ceil(T))),r),a)),i=h,r=a;Tf(gf(df(ff(pf(new Ih,0),_s(b.Math.ceil(x.a+i.o.b))),r),n.d))}}function Qgn(e,t,n,r,i,a,h,d){var v,x,T,L,P,z;return z=!1,P=a-n.s,T=n.t-t.f+(x=aC(n,P,!1),x.a),r.g+d>P?!1:(L=(v=aC(r,P,!1),v.a),T+d+L<=t.b&&(KM(n,a-n.s),n.c=!0,KM(r,a-n.s),LD(r,n.s,n.t+n.d+d),r.k=!0,yme(n.q,r),z=!0,i&&(T$(t,r),r.j=t,e.c.length>h&&(ND((En(h,e.c.length),u(e.c[h],200)),r),(En(h,e.c.length),u(e.c[h],200)).a.c.length==0&&yg(e,h)))),z)}function Zgn(e,t){var n,r,i,a,h,d;if(Er(t,"Partition midprocessing",1),i=new Ov,ms(qi(new mn(null,new kn(e.a,16)),new fY),new av(i)),i.d!=0){for(d=u(Gl(VYe((a=i.i,new mn(null,(a||(i.i=new j3(i,i.c))).Nc()))),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),r=d.Kc(),n=u(r.Pb(),19);r.Ob();)h=u(r.Pb(),19),tdn(u(Oi(i,n),21),u(Oi(i,h),21)),n=h;lr(t)}}function rct(e,t,n){var r,i,a,h,d,v,x,T;if(t.p==0){for(t.p=1,h=n,h||(i=new at,a=(r=u(Wf(oo),9),new hh(r,u(bf(r,r.length),9),0)),h=new _a(i,a)),u(h.a,15).Fc(t),t.k==(zn(),Ls)&&u(h.b,21).Fc(u(W(t,(nt(),vc)),61)),v=new C(t.j);v.a<v.c.c.length;)for(d=u(Y(v),11),T=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(d),new Cr(d)])));Vr(T);)x=u(Nr(T),11),rct(e,x.i,h);return h}return null}function nC(e,t){var n,r,i,a,h;if(e.Ab){if(e.Ab){if(h=e.Ab.i,h>0){if(i=u(e.Ab.g,1934),t==null){for(a=0;a<h;++a)if(n=i[a],n.d==null)return n}else for(a=0;a<h;++a)if(n=i[a],on(t,n.d))return n}}else if(t==null){for(r=new ir(e.Ab);r.e!=r.i.gc();)if(n=u(br(r),590),n.d==null)return n}else for(r=new ir(e.Ab);r.e!=r.i.gc();)if(n=u(br(r),590),on(t,n.d))return n}return null}function Jgn(e,t){var n,r,i,a,h,d,v,x;if(x=Nt(W(t,(tw(),kwt))),x==null||(An(x),x)){for(_fn(e,t),i=new at,v=si(t.b,0);v.b!=v.d.c;)h=u(ii(v),86),n=e4e(e,h,null),n&&($o(n,t),i.c[i.c.length]=n);if(e.a=null,e.b=null,i.c.length>1)for(r=new C(i);r.a<r.c.c.length;)for(n=u(Y(r),135),a=0,d=si(n.b,0);d.b!=d.d.c;)h=u(ii(d),86),h.g=a++;return i}return I1(ie(ne(lmn,1),b6e,135,0,[t]))}function epn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;z=zJt(e,Mme(t),i),gme(z,D0(i,Ad)),_=null,q=i,K=w_(q,Rft),Q=new aje(z),kln(Q.a,K),ue=w_(q,"endPoint"),Se=new lje(z),yln(Se.a,ue),Te=Bv(q,Kz),Ne=new dje(z),cun(Ne.a,Te),L=D0(i,M8e),a=new AGe(e,z),OUt(a.a,a.b,L),P=D0(i,L8e),h=new LGe(e,z),NUt(h.a,h.b,P),x=Bv(i,I8e),d=new MGe(n,z),Uon(d.b,d.a,x),T=Bv(i,D8e),v=new DGe(r,z),Kon(v.b,v.a,T)}function u5e(e,t,n){var r,i,a,h,d;switch(d=null,t.g){case 1:for(i=new C(e.j);i.a<i.c.c.length;)if(r=u(Y(i),11),Bt(Nt(W(r,(nt(),ole)))))return r;d=new Fc,Qe(d,(nt(),ole),(In(),!0));break;case 2:for(h=new C(e.j);h.a<h.c.c.length;)if(a=u(Y(h),11),Bt(Nt(W(a,(nt(),ule)))))return a;d=new Fc,Qe(d,(nt(),ule),(In(),!0))}return d&&(nc(d,e),qs(d,n),Kan(d.n,e.o,n)),d}function ict(e,t){var n,r,i,a,h,d;for(d=-1,h=new as,r=new O1(e.b);tc(r.a)||tc(r.b);){for(n=u(tc(r.a)?Y(r.a):Y(r.b),17),d=b.Math.max(d,We(gt(W(n,(mt(),Rg))))),n.c==e?ms(qi(new mn(null,new kn(n.b,16)),new GW),new Hc(h)):ms(qi(new mn(null,new kn(n.b,16)),new qW),new uo(h)),a=si(h,0);a.b!=a.d.c;)i=u(ii(a),70),Js(i,(nt(),Ek))||Qe(i,Ek,n);Ps(t,h),Ph(h)}return d}function tpn(e,t,n,r,i){var a,h,d,v;a=new H0(e),T0(a,(zn(),Xc)),Qe(a,(mt(),vs),(ya(),Zc)),Qe(a,(nt(),Mi),t.c.i),h=new Fc,Qe(h,Mi,t.c),qs(h,i),nc(h,a),Qe(t.c,ol,a),d=new H0(e),T0(d,Xc),Qe(d,vs,Zc),Qe(d,Mi,t.d.i),v=new Fc,Qe(v,Mi,t.d),qs(v,i),nc(v,d),Qe(t.d,ol,d),Ka(t,h),wa(t,v),Fm(0,n.c.length),MT(n.c,0,a),r.c[r.c.length]=d,Qe(a,vq,lt(1)),Qe(d,vq,lt(1))}function nw(e,t,n,r,i){var a,h,d,v,x;d=i?r.b:r.a,!_0(e.a,r)&&(x=d>n.s&&d<n.c,v=!1,n.e.b!=0&&n.j.b!=0&&(v=v|(b.Math.abs(d-We(gt(Ite(n.e))))<Ed&&b.Math.abs(d-We(gt(Ite(n.j))))<Ed),v=v|(b.Math.abs(d-We(gt(UR(n.e))))<Ed&&b.Math.abs(d-We(gt(UR(n.j))))<Ed)),(x||v)&&(h=u(W(t,(mt(),Fo)),74),h||(h=new $u,Qe(t,Fo,h)),a=new Do(r),ks(h,a,h.c.b,h.c),zs(e.a,a)))}function npn(e,t,n,r){var i,a,h,d,v,x,T;if(cfn(e,t,n,r))return!0;for(h=new C(t.f);h.a<h.c.c.length;){switch(a=u(Y(h),324),d=!1,v=e.j-t.j+n,x=v+t.o,T=e.k-t.k+r,i=T+t.p,a.a.g){case 0:d=Qre(e,v+a.b.a,0,v+a.c.a,T-1);break;case 1:d=Qre(e,x,T+a.b.a,e.o-1,T+a.c.a);break;case 2:d=Qre(e,v+a.b.a,i,v+a.c.a,e.p-1);break;default:d=Qre(e,0,T+a.b.a,v-1,T+a.c.a)}if(d)return!0}return!1}function rpn(e,t){var n,r,i,a,h,d,v,x,T;for(h=new C(t.b);h.a<h.c.c.length;)for(a=u(Y(h),29),x=new C(a.a);x.a<x.c.c.length;){for(v=u(Y(x),10),T=new at,d=0,r=new ur(dr(Wo(v).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),!(no(n)||!no(n)&&n.c.i.c==n.d.i.c)&&(i=u(W(n,(mt(),Lk)),19).a,i>d&&(d=i,T.c=Ie(Xn,_t,1,0,5,1)),i==d&&st(T,new _a(n.c.i,n)));fn(),aa(T,e.c),Dm(e.b,v.p,T)}}function ipn(e,t){var n,r,i,a,h,d,v,x,T;for(h=new C(t.b);h.a<h.c.c.length;)for(a=u(Y(h),29),x=new C(a.a);x.a<x.c.c.length;){for(v=u(Y(x),10),T=new at,d=0,r=new ur(dr(Fs(v).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),!(no(n)||!no(n)&&n.c.i.c==n.d.i.c)&&(i=u(W(n,(mt(),Lk)),19).a,i>d&&(d=i,T.c=Ie(Xn,_t,1,0,5,1)),i==d&&st(T,new _a(n.d.i,n)));fn(),aa(T,e.c),Dm(e.f,v.p,T)}}function sct(e){vv(e,new hb(dv(lv(fv(hv(new og,hw),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new sZ))),pt(e,hw,cw,jCe),pt(e,hw,dy,15),pt(e,hw,mI,lt(0)),pt(e,hw,Gz,Ct(BCe)),pt(e,hw,k4,Ct(Xmt)),pt(e,hw,lk,Ct(Qmt)),pt(e,hw,uk,rft),pt(e,hw,yI,Ct(FCe)),pt(e,hw,hk,Ct(RCe)),pt(e,hw,m8e,Ct(_he)),pt(e,hw,Fz,Ct(Ymt))}function act(e,t){var n,r,i,a,h,d,v,x,T;if(i=e.i,h=i.o.a,a=i.o.b,h<=0&&a<=0)return dt(),cc;switch(x=e.n.a,T=e.n.b,d=e.o.a,n=e.o.b,t.g){case 2:case 1:if(x<0)return dt(),On;if(x+d>h)return dt(),$n;break;case 4:case 3:if(T<0)return dt(),Ln;if(T+n>a)return dt(),Tr}return v=(x+d/2)/h,r=(T+n/2)/a,v+r<=1&&v-r<=0?(dt(),On):v+r>=1&&v-r>=0?(dt(),$n):r<.5?(dt(),Ln):(dt(),Tr)}function spn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(n=!1,T=We(gt(W(t,(mt(),Sw)))),q=Yp*T,i=new C(t.b);i.a<i.c.c.length;)for(r=u(Y(i),29),x=new C(r.a),a=u(Y(x),10),L=vve(e.a[a.p]);x.a<x.c.c.length;)d=u(Y(x),10),P=vve(e.a[d.p]),L!=P&&(z=F3(e.b,a,d),h=a.n.b+a.o.b+a.d.a+L.a+z,v=d.n.b-d.d.d+P.a,h>v+q&&(K=L.g+P.g,P.a=(P.g*P.a+L.g*L.a)/K,P.g=K,L.f=P,n=!0)),a=d,L=P;return n}function oct(e,t,n,r,i,a,h){var d,v,x,T,L,P;for(P=new k6,x=t.Kc();x.Ob();)for(d=u(x.Pb(),839),L=new C(d.wf());L.a<L.c.c.length;)T=u(Y(L),181),$e(T.We((di(),Mhe)))===$e((N1(),vE))&&($ot(P,T,!1,r,i,a,h),W_(e,P));for(v=n.Kc();v.Ob();)for(d=u(v.Pb(),839),L=new C(d.wf());L.a<L.c.c.length;)T=u(Y(L),181),$e(T.We((di(),Mhe)))===$e((N1(),$y))&&($ot(P,T,!0,r,i,a,h),W_(e,P))}function apn(e,t,n){var r,i,a,h,d,v,x;for(h=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));h.e!=h.i.gc();)for(a=u(br(h),33),i=new ur(dr(z0(a).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),!Q_(r)&&!Q_(r)&&!Jv(r)&&(v=u(hc(jo(n.f,a)),86),x=u(Jn(n,Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82))),86),v&&x&&(d=new Hve(v,x),Qe(d,(xc(),xS),r),$o(d,r),oi(v.d,d),oi(x.b,d),oi(t.a,d)))}function opn(e,t){var n,r,i,a,h,d,v,x;for(v=u(u(Oi(e.r,t),21),84).Kc();v.Ob();)d=u(v.Pb(),111),i=d.c?ZUe(d.c):0,i>0?d.a?(x=d.b.rf().b,i>x&&(e.v||d.c.d.c.length==1?(h=(i-x)/2,d.d.d=h,d.d.a=h):(n=u(It(d.c.d,0),181).rf().b,r=(n-x)/2,d.d.d=b.Math.max(0,r),d.d.a=i-r-x))):d.d.a=e.t+i:o_(e.u)&&(a=F3e(d.b),a.d<0&&(d.d.d=-a.d),a.d+a.a>d.b.rf().b&&(d.d.a=a.d+a.a-d.b.rf().b))}function cpn(e,t){var n;switch(tD(e)){case 6:return ga(t);case 7:return _m(t);case 8:return Tm(t);case 3:return Array.isArray(t)&&(n=tD(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===aae;case 12:return t!=null&&(typeof t===sI||typeof t==aae);case 0:return Lie(t,e.__elementTypeId$);case 2:return dne(t)&&t.im!==Ge;case 1:return dne(t)&&t.im!==Ge||Lie(t,e.__elementTypeId$);default:return!0}}function cct(e,t){var n,r,i,a;return r=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),a=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||(i=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),i>e.a/2+t.a/2)?1:n==0&&i==0?0:n==0?a/i+1:i==0?r/n+1:b.Math.min(r/n,a/i)+1}function uct(e,t){var n,r,i,a,h,d;return i=ime(e),d=ime(t),i==d?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(r=e.e-t.e,n=(e.d>0?e.d:b.Math.floor((e.a-1)*ylt)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*ylt)+1),n>r+1?i:n<r-1?-i:(a=(!e.c&&(e.c=mD(e.f)),e.c),h=(!t.c&&(t.c=mD(t.f)),t.c),r<0?a=V3(a,Dct(-r)):r>0&&(h=V3(h,Dct(r))),Hnt(a,h))):i<d?-1:1}function upn(e,t){var n,r,i,a,h,d,v;for(a=0,d=0,v=0,i=new C(e.f.e);i.a<i.c.c.length;)r=u(Y(i),144),t!=r&&(h=e.i[t.b][r.b],a+=h,n=Fp(t.d,r.d),n>0&&e.d!=(x_(),yue)&&(d+=h*(r.d.a+e.a[t.b][r.b]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(x_(),wue)&&(v+=h*(r.d.b+e.a[t.b][r.b]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new Ft(d/a,t.d.b);case 2:return new Ft(t.d.a,v/a);default:return new Ft(d/a,v/a)}}function lct(e,t){Gx();var n,r,i,a,h;if(h=u(W(e.i,(mt(),vs)),98),a=e.j.g-t.j.g,a!=0||!(h==(ya(),Fb)||h==f0||h==Zc))return 0;if(h==(ya(),Fb)&&(n=u(W(e,jg),19),r=u(W(t,jg),19),n&&r&&(i=n.a-r.a,i!=0)))return i;switch(e.j.g){case 1:return Bs(e.n.a,t.n.a);case 2:return Bs(e.n.b,t.n.b);case 3:return Bs(t.n.a,e.n.a);case 4:return Bs(t.n.b,e.n.b);default:throw ee(new Vo(A6e))}}function hct(e){var t,n,r,i,a,h;for(n=(!e.a&&(e.a=new Ns(Zh,e,5)),e.a).i+2,h=new tu(n),st(h,new Ft(e.j,e.k)),ms(new mn(null,(!e.a&&(e.a=new Ns(Zh,e,5)),new kn(e.a,16))),new rje(h)),st(h,new Ft(e.b,e.c)),t=1;t<h.c.length-1;)r=(En(t-1,h.c.length),u(h.c[t-1],8)),i=(En(t,h.c.length),u(h.c[t],8)),a=(En(t+1,h.c.length),u(h.c[t+1],8)),r.a==i.a&&i.a==a.a||r.b==i.b&&i.b==a.b?yg(h,t):++t;return h}function fct(e,t){var n,r,i,a,h,d,v;for(n=fVe(Cze(Tze(_ze(new qge,t),new Bj(t.e)),cpt),e.a),t.j.c.length==0||SZe(u(It(t.j,0),57).a,n),v=new bee,Si(e.e,n,v),h=new Ys,d=new Ys,a=new C(t.k);a.a<a.c.c.length;)i=u(Y(a),17),zs(h,i.c),zs(d,i.d);r=h.a.gc()-d.a.gc(),r<0?(pD(v,!0,(wo(),Wh)),pD(v,!1,Lf)):r>0&&(pD(v,!1,(wo(),Wh)),pD(v,!0,Lf)),Su(t.g,new eGe(e,n)),Si(e.g,t,n)}function dct(){dct=de;var e;for(mxe=ie(ne(Sr,1),Jr,25,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]),Xce=Ie(Sr,Jr,25,37,15,1),Pdt=ie(ne(Sr,1),Jr,25,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]),yxe=Ie(E2,Iae,25,37,14,1),e=2;e<=36;e++)Xce[e]=_s(b.Math.pow(e,mxe[e])),yxe[e]=PD(az,Xce[e])}function lpn(e){var t;if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i!=1)throw ee(new Dn(xft+(!e.a&&(e.a=new ot(os,e,6,6)),e.a).i));return t=new $u,dD(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))&&ro(t,Yut(e,dD(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82)),!1)),dD(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))&&ro(t,Yut(e,dD(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82)),!0)),t}function gct(e,t){var n,r,i,a,h;for(t.d?i=e.a.c==(bd(),Aw)?Wo(t.b):Fs(t.b):i=e.a.c==(bd(),$g)?Wo(t.b):Fs(t.b),a=!1,r=new ur(dr(i.a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),h=Bt(e.a.f[e.a.g[t.b.p].p]),!(!h&&!no(n)&&n.c.i.c==n.d.i.c)&&!(Bt(e.a.n[e.a.g[t.b.p].p])||Bt(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,_0(e.b,e.a.g[yon(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function hpn(e,t,n,r,i){var a,h,d,v,x,T,L;for(fn(),aa(e,new dZ),d=new Ca(e,0),L=new at,a=0;d.b<d.d.gc();)h=(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),157)),L.c.length!=0&&qu(h)*Ll(h)>a*2?(T=new k$(L),x=qu(h)/Ll(h),v=nae(T,t,new h6,n,r,i,x),Ni(Yf(T.e),v),L.c=Ie(Xn,_t,1,0,5,1),a=0,L.c[L.c.length]=T,L.c[L.c.length]=h,a=qu(T)*Ll(T)+qu(h)*Ll(h)):(L.c[L.c.length]=h,a+=qu(h)*Ll(h));return L}function l5e(e,t,n){var r,i,a,h,d,v,x;if(r=n.gc(),r==0)return!1;if(e.ej())if(v=e.fj(),_ye(e,t,n),h=r==1?e.Zi(3,null,n.Kc().Pb(),t,v):e.Zi(5,null,n,t,v),e.bj()){for(d=r<100?null:new kp(r),a=t+r,i=t;i<a;++i)x=e.Oi(i),d=e.cj(x,d),d=d;d?(d.Ei(h),d.Fi()):e.$i(h)}else e.$i(h);else if(_ye(e,t,n),e.bj()){for(d=r<100?null:new kp(r),a=t+r,i=t;i<a;++i)d=e.cj(e.Oi(i),d);d&&d.Fi()}return!0}function pct(e,t,n){var r,i,a,h,d;return e.ej()?(i=null,a=e.fj(),r=e.Zi(1,d=(h=e.Ui(t,e.oi(t,n)),h),n,t,a),e.bj()&&!(e.ni()&&d?Ci(d,n):$e(d)===$e(n))&&(d&&(i=e.dj(d,i)),i=e.cj(n,i)),i?(i.Ei(r),i.Fi()):e.$i(r),d):(d=(h=e.Ui(t,e.oi(t,n)),h),e.bj()&&!(e.ni()&&d?Ci(d,n):$e(d)===$e(n))&&(i=null,d&&(i=e.dj(d,null)),i=e.cj(n,i),i&&i.Fi()),d)}function h5e(e,t){var n,r,i,a,h,d,v,x,T;if(e.e=t,e.f=u(W(t,(Rp(),PG)),230),Wun(t),e.d=b.Math.max(t.e.c.length*16+t.c.c.length,256),!Bt(Nt(W(t,(r1(),E7e)))))for(T=e.e.e.c.length,v=new C(t.e);v.a<v.c.c.length;)d=u(Y(v),144),x=d.d,x.a=rve(e.f)*T,x.b=rve(e.f)*T;for(n=t.b,a=new C(t.c);a.a<a.c.c.length;)if(i=u(Y(a),282),r=u(W(i,A7e),19).a,r>0){for(h=0;h<r;h++)st(n,new JKe(i));Tst(i)}}function tk(e,t){var n,r,i,a,h,d;if(e.k==(zn(),Pl)&&(n=xT(qi(u(W(e,(nt(),iO)),15).Oc(),new Xe(new iL))).sd(($2(),G7))?t:(Kl(),DO),Qe(e,_k,n),n!=(Kl(),f2)))for(r=u(W(e,Mi),17),d=We(gt(W(r,(mt(),Rg)))),h=0,n==l0?h=e.o.b-b.Math.ceil(d/2):n==DO&&(e.o.b-=We(gt(W(Xa(e),Mk))),h=(e.o.b-b.Math.ceil(d))/2),a=new C(e.j);a.a<a.c.c.length;)i=u(Y(a),11),i.n.b=h}function f5e(){f5e=de,$ee(),X3t=new rF,ie(ne(Rk,2),Je,368,0,[ie(ne(Rk,1),hG,592,0,[new VL(ndt)])]),ie(ne(Rk,2),Je,368,0,[ie(ne(Rk,1),hG,592,0,[new VL(J8e)])]),ie(ne(Rk,2),Je,368,0,[ie(ne(Rk,1),hG,592,0,[new VL(rdt)]),ie(ne(Rk,1),hG,592,0,[new VL(J8e)])]),new Ap("-1"),ie(ne(Rk,2),Je,368,0,[ie(ne(Rk,1),hG,592,0,[new VL("\\c+")])]),new Ap("0"),new Ap("0"),new Ap("1"),new Ap("0"),new Ap(udt)}function KH(e){var t,n;return e.c&&e.c.kh()&&(n=u(e.c,49),e.c=u(zp(e,n),138),e.c!=n&&(e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,2,n,e.c)),me(e.Cb,399)?e.Db>>16==-15&&e.Cb.nh()&&wre(new gre(e.Cb,9,13,n,e.c,Ag(gl(u(e.Cb,59)),e))):me(e.Cb,88)&&e.Db>>16==-23&&e.Cb.nh()&&(t=e.c,me(t,88)||(t=(cn(),nf)),me(n,88)||(n=(cn(),nf)),wre(new gre(e.Cb,9,10,n,t,Ag(Bc(u(e.Cb,26)),e)))))),e.c}function fpn(e,t){var n,r,i,a,h,d,v,x,T,L;for(Er(t,"Hypernodes processing",1),i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),d=new C(r.a);d.a<d.c.c.length;)if(h=u(Y(d),10),Bt(Nt(W(h,(mt(),Aq))))&&h.j.c.length<=2){for(L=0,T=0,n=0,a=0,x=new C(h.j);x.a<x.c.c.length;)switch(v=u(Y(x),11),v.j.g){case 1:++L;break;case 2:++T;break;case 3:++n;break;case 4:++a}L==0&&n==0&&pwn(e,h,a<=T)}lr(t)}function dpn(e,t){var n,r,i,a,h,d,v,x,T;for(Er(t,"Layer constraint edge reversal",1),h=new C(e.b);h.a<h.c.c.length;){for(a=u(Y(h),29),T=-1,n=new at,x=jM(a.a),i=0;i<x.length;i++)r=u(W(x[i],(nt(),Cb)),303),T==-1?r!=(P0(),R4)&&(T=i):r==(P0(),R4)&&(Oo(x[i],null),Zm(x[i],T++,a)),r==(P0(),kk)&&st(n,x[i]);for(v=new C(n);v.a<v.c.c.length;)d=u(Y(v),10),Oo(d,null),Oo(d,a)}lr(t)}function gpn(e,t,n){var r,i,a,h,d,v,x,T,L;for(Er(n,"Hyperedge merging",1),zfn(e,t),v=new Ca(t.b,0);v.b<v.d.gc();)if(d=(Qn(v.b<v.d.gc()),u(v.d.Xb(v.c=v.b++),29)),T=d.a,T.c.length!=0)for(r=null,i=null,a=null,h=null,x=0;x<T.c.length;x++)r=(En(x,T.c.length),u(T.c[x],10)),i=r.k,i==(zn(),ca)&&h==ca&&(L=c2n(r,a),L.a&&(v0n(r,a,L.b,L.c),En(x,T.c.length),xpe(T.c,x,1),--x,r=a,i=h)),a=r,h=i;lr(n)}function ppn(e,t){var n,r,i;r=vl(e.d,1)!=0,!Bt(Nt(W(t.j,(nt(),yw))))&&!Bt(Nt(W(t.j,$4)))||$e(W(t.j,(mt(),o2)))===$e((F0(),c2))?t.c.Tf(t.e,r):r=Bt(Nt(W(t.j,yw))),YD(e,t,r,!0),Bt(Nt(W(t.j,$4)))&&Qe(t.j,$4,(In(),!1)),Bt(Nt(W(t.j,yw)))&&(Qe(t.j,yw,(In(),!1)),Qe(t.j,$4,!0)),n=jot(e,t);do{if(bme(e),n==0)return 0;r=!r,i=n,YD(e,t,r,!1),n=jot(e,t)}while(i>n);return i}function bct(e,t){var n,r,i;r=vl(e.d,1)!=0,!Bt(Nt(W(t.j,(nt(),yw))))&&!Bt(Nt(W(t.j,$4)))||$e(W(t.j,(mt(),o2)))===$e((F0(),c2))?t.c.Tf(t.e,r):r=Bt(Nt(W(t.j,yw))),YD(e,t,r,!0),Bt(Nt(W(t.j,$4)))&&Qe(t.j,$4,(In(),!1)),Bt(Nt(W(t.j,yw)))&&(Qe(t.j,yw,(In(),!1)),Qe(t.j,$4,!0)),n=lse(e,t);do{if(bme(e),n==0)return 0;r=!r,i=n,YD(e,t,r,!1),n=lse(e,t)}while(i>n);return i}function vct(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;if(t==n)return!0;if(t=y4e(e,t),n=y4e(e,n),r=Bie(t),r){if(T=Bie(n),T!=r)return T?(v=r.Dj(),q=T.Dj(),v==q&&v!=null):!1;if(h=(!t.d&&(t.d=new Ns(Eo,t,1)),t.d),a=h.i,P=(!n.d&&(n.d=new Ns(Eo,n,1)),n.d),a==P.i){for(x=0;x<a;++x)if(i=u(_e(h,x),87),L=u(_e(P,x),87),!vct(e,i,L))return!1}return!0}else return d=t.e,z=n.e,d==z}function wct(e,t,n,r){var i,a,h,d,v,x,T,L;if(G0(e.e,t)){for(L=hu(e.e.Tg(),t),a=u(e.g,119),T=null,v=-1,d=-1,i=0,x=0;x<e.i;++x)h=a[x],L.rl(h.ak())&&(i==n&&(v=x),i==r&&(d=x,T=h.dd()),++i);if(v==-1)throw ee(new Mo(mce+n+yb+i));if(d==-1)throw ee(new Mo(yce+r+yb+i));return F_(e,v,d),Sl(e.e)&&R8(e,Pp(e,7,t,lt(r),T,n,!0)),T}else throw ee(new Dn("The feature must be many-valued to support move"))}function mct(e,t,n,r){var i,a,h,d,v;switch(v=new Do(t.n),v.a+=t.o.a/2,v.b+=t.o.b/2,d=We(gt(W(t,(mt(),Iy)))),a=e.f,h=e.d,i=e.c,u(W(t,(nt(),vc)),61).g){case 1:v.a+=h.b+i.a-n/2,v.b=-r-d,t.n.b=-(h.d+d+i.b);break;case 2:v.a=a.a+h.b+h.c+d,v.b+=h.d+i.b-r/2,t.n.a=a.a+h.c+d-i.a;break;case 3:v.a+=h.b+i.a-n/2,v.b=a.b+h.d+h.a+d,t.n.b=a.b+h.a+d-i.b;break;case 4:v.a=-n-d,v.b+=h.d+i.b-r/2,t.n.a=-(h.b+d+i.a)}return v}function yct(e){var t,n,r,i,a,h;return r=new ame,$o(r,e),$e(W(r,(mt(),Jl)))===$e((wo(),u0))&&Qe(r,Jl,Z$(r)),W(r,(i$(),SS))==null&&(h=u(Pit(e),160),Qe(r,SS,DR(h.We(SS)))),Qe(r,(nt(),Mi),e),Qe(r,Qc,(t=u(Wf(ele),9),new hh(t,u(bf(t,t.length),9),0))),i=rvn((ls(e)&&(xm(),new wm(ls(e))),xm(),new Lte(ls(e)?new wm(ls(e)):null,e)),Lf),a=u(W(r,wTe),116),n=r.d,_Ye(n,a),_Ye(n,i),r}function bpn(e,t,n){var r,i;r=t.c.i,i=n.d.i,r.k==(zn(),ca)?(Qe(e,(nt(),o1),u(W(r,o1),11)),Qe(e,Kh,u(W(r,Kh),11)),Qe(e,Cy,Nt(W(r,Cy)))):r.k==Pl?(Qe(e,(nt(),o1),u(W(r,o1),11)),Qe(e,Kh,u(W(r,Kh),11)),Qe(e,Cy,(In(),!0))):i.k==Pl?(Qe(e,(nt(),o1),u(W(i,o1),11)),Qe(e,Kh,u(W(i,Kh),11)),Qe(e,Cy,(In(),!0))):(Qe(e,(nt(),o1),t.c),Qe(e,Kh,n.d))}function vpn(e){var t,n,r,i,a,h,d;for(e.o=new S3,r=new as,h=new C(e.e.a);h.a<h.c.c.length;)a=u(Y(h),121),J3(a).c.length==1&&ks(r,a,r.c.b,r.c);for(;r.b!=0;)a=u(r.b==0?null:(Qn(r.b!=0),bh(r,r.a.a)),121),J3(a).c.length!=0&&(t=u(It(J3(a),0),213),n=a.g.a.c.length>0,d=tH(t,a),H2e(n?d.b:d.g,t),J3(d).c.length==1&&ks(r,d,r.c.b,r.c),i=new _a(a,t),Bp(e.o,i),_u(e.e.a,a))}function kct(e,t){var n,r,i,a,h,d,v;return r=b.Math.abs(mj(e.b).a-mj(t.b).a),d=b.Math.abs(mj(e.b).b-mj(t.b).b),i=0,v=0,n=1,h=1,r>e.b.b/2+t.b.b/2&&(i=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-i/r),d>e.b.a/2+t.b.a/2&&(v=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)),h=1-v/d),a=b.Math.min(n,h),(1-a)*b.Math.sqrt(r*r+d*d)}function wpn(e){var t,n,r,i;for(tae(e,e.e,e.f,(Iv(),l2),!0,e.c,e.i),tae(e,e.e,e.f,l2,!1,e.c,e.i),tae(e,e.e,e.f,K4,!0,e.c,e.i),tae(e,e.e,e.f,K4,!1,e.c,e.i),ypn(e,e.c,e.e,e.f,e.i),r=new Ca(e.i,0);r.b<r.d.gc();)for(t=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),128)),i=new Ca(e.i,r.b);i.b<i.d.gc();)n=(Qn(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),128)),Z2n(t,n);ywn(e.i,u(W(e.d,(nt(),Ck)),230)),Pbn(e.i)}function Bse(e,t){var n,r;if(t!=null){if(r=Zv(e),r)if(r.i&1){if(r==El)return Tm(t);if(r==Sr)return me(t,19);if(r==Wy)return me(t,155);if(r==Qu)return me(t,217);if(r==Sh)return me(t,172);if(r==va)return _m(t);if(r==i5)return me(t,184);if(r==E2)return me(t,162)}else return uR(),n=u(Jn(DV,r),55),!n||n.wj(t);else if(me(t,56))return e.uk(u(t,56))}return!1}function d5e(){d5e=de;var e,t,n,r,i,a,h,d,v;for(Z1=Ie(Qu,C4,25,255,15,1),Yg=Ie(Sh,yd,25,64,15,1),t=0;t<255;t++)Z1[t]=-1;for(n=90;n>=65;n--)Z1[n]=n-65<<24>>24;for(r=122;r>=97;r--)Z1[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)Z1[i]=i-48+52<<24>>24;for(Z1[43]=62,Z1[47]=63,a=0;a<=25;a++)Yg[a]=65+a&Ss;for(h=26,v=0;h<=51;++h,v++)Yg[h]=97+v&Ss;for(e=52,d=0;e<=61;++e,d++)Yg[e]=48+d&Ss;Yg[62]=43,Yg[63]=47}function mpn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(e.dc())return new $a;for(x=0,L=0,i=e.Kc();i.Ob();)r=u(i.Pb(),37),a=r.f,x=b.Math.max(x,a.a),L+=a.a*a.b;for(x=b.Math.max(x,b.Math.sqrt(L)*We(gt(W(u(e.Kc().Pb(),37),(mt(),kq))))),P=0,z=0,v=0,n=t,d=e.Kc();d.Ob();)h=u(d.Pb(),37),T=h.f,P+T.a>x&&(P=0,z+=v+t,v=0),tC(h,P,z),n=b.Math.max(n,P+T.a),v=b.Math.max(v,T.b),P+=T.a+t;return new Ft(n+t,z+v+t)}function ypn(e,t,n,r,i){var a,h,d,v,x,T,L;for(h=new C(t);h.a<h.c.c.length;){if(a=u(Y(h),17),v=a.c,n.a._b(v))x=(Iv(),l2);else if(r.a._b(v))x=(Iv(),K4);else throw ee(new Dn("Source port must be in one of the port sets."));if(T=a.d,n.a._b(T))L=(Iv(),l2);else if(r.a._b(T))L=(Iv(),K4);else throw ee(new Dn("Target port must be in one of the port sets."));d=new dst(a,x,L),Si(e.b,a,d),i.c[i.c.length]=d}}function g5e(e,t){var n,r,i,a,h,d,v;if(!A1(e))throw ee(new Vo(kft));if(r=A1(e),a=r.g,i=r.f,a<=0&&i<=0)return dt(),cc;switch(d=e.i,v=e.j,t.g){case 2:case 1:if(d<0)return dt(),On;if(d+e.g>a)return dt(),$n;break;case 4:case 3:if(v<0)return dt(),Ln;if(v+e.f>i)return dt(),Tr}return h=(d+e.g/2)/a,n=(v+e.f/2)/i,h+n<=1&&h-n<=0?(dt(),On):h+n>=1&&h-n>=0?(dt(),$n):n<.5?(dt(),Ln):(dt(),Tr)}function kpn(e,t,n,r,i){var a,h;if(a=Wa(Gs(t[0],yo),Gs(r[0],yo)),e[0]=Ir(a),a=Mp(a,32),n>=i){for(h=1;h<i;h++)a=Wa(a,Wa(Gs(t[h],yo),Gs(r[h],yo))),e[h]=Ir(a),a=Mp(a,32);for(;h<n;h++)a=Wa(a,Gs(t[h],yo)),e[h]=Ir(a),a=Mp(a,32)}else{for(h=1;h<n;h++)a=Wa(a,Wa(Gs(t[h],yo),Gs(r[h],yo))),e[h]=Ir(a),a=Mp(a,32);for(;h<i;h++)a=Wa(a,Gs(r[h],yo)),e[h]=Ir(a),a=Mp(a,32)}Lc(a,0)!=0&&(e[h]=Ir(a))}function oy(e){mi();var t,n,r,i,a,h;if(e.e!=4&&e.e!=5)throw ee(new Dn("Token#complementRanges(): must be RANGE: "+e.e));for(a=e,c4(a),oC(a),r=a.b.length+2,a.b[0]==0&&(r-=2),n=a.b[a.b.length-1],n==F7&&(r-=2),i=new zl(4),i.b=Ie(Sr,Jr,25,r,15,1),h=0,a.b[0]>0&&(i.b[h++]=0,i.b[h++]=a.b[0]-1),t=1;t<a.b.length-2;t+=2)i.b[h++]=a.b[t]+1,i.b[h++]=a.b[t+1]-1;return n!=F7&&(i.b[h++]=n+1,i.b[h]=F7),i.a=!0,i}function Fse(e,t,n){var r,i,a,h,d,v,x,T;if(r=n.gc(),r==0)return!1;if(e.ej())if(x=e.fj(),tse(e,t,n),h=r==1?e.Zi(3,null,n.Kc().Pb(),t,x):e.Zi(5,null,n,t,x),e.bj()){for(d=r<100?null:new kp(r),a=t+r,i=t;i<a;++i)T=e.g[i],d=e.cj(T,d),d=e.jj(T,d);d?(d.Ei(h),d.Fi()):e.$i(h)}else e.$i(h);else if(tse(e,t,n),e.bj()){for(d=r<100?null:new kp(r),a=t+r,i=t;i<a;++i)v=e.g[i],d=e.cj(v,d);d&&d.Fi()}return!0}function p5e(e,t,n,r){var i,a,h,d,v;for(h=new C(e.k);h.a<h.c.c.length;)i=u(Y(h),129),(!r||i.c==(Xf(),u2))&&(v=i.b,v.g<0&&i.d>0&&(BL(v,v.d-i.d),i.c==(Xf(),u2)&&kge(v,v.a-i.d),v.d<=0&&v.i>0&&ks(t,v,t.c.b,t.c)));for(a=new C(e.f);a.a<a.c.c.length;)i=u(Y(a),129),(!r||i.c==(Xf(),u2))&&(d=i.a,d.g<0&&i.d>0&&(iT(d,d.i-i.d),i.c==(Xf(),u2)&&iv(d,d.b-i.d),d.i<=0&&d.d>0&&ks(n,d,n.c.b,n.c)))}function xpn(e,t,n){var r,i,a,h,d,v,x,T;for(Er(n,"Processor compute fanout",1),il(e.b),il(e.a),d=null,a=si(t.b,0);!d&&a.b!=a.d.c;)x=u(ii(a),86),Bt(Nt(W(x,(xc(),Ry))))&&(d=x);for(v=new as,ks(v,d,v.c.b,v.c),Iut(e,v),T=si(t.b,0);T.b!=T.d.c;)x=u(ii(T),86),h=Hr(W(x,(xc(),kS))),i=Gc(e.b,h)!=null?u(Gc(e.b,h),19).a:0,Qe(x,Wq,lt(i)),r=1+(Gc(e.a,h)!=null?u(Gc(e.a,h),19).a:0),Qe(x,lwt,lt(r));lr(n)}function Epn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q;for(P=aun(e,n),v=0;v<t;v++){for(Lm(i,n),z=new at,q=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),407)),T=P+v;T<e.b;T++)d=q,q=(Qn(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),407)),st(z,new Xat(d,q,n));for(L=P+v;L<e.b;L++)Qn(r.b>0),r.a.Xb(r.c=--r.b),L>P+v&&Dl(r);for(h=new C(z);h.a<h.c.c.length;)a=u(Y(h),407),Lm(r,a);if(v<t-1)for(x=P+v;x<e.b;x++)Qn(r.b>0),r.a.Xb(r.c=--r.b)}}function Tpn(){mi();var e,t,n,r,i,a;if(sfe)return sfe;for(e=new zl(4),cy(e,Wp(Fce,!0)),uC(e,Wp("M",!0)),uC(e,Wp("C",!0)),a=new zl(4),r=0;r<11;r++)Uc(a,r,r);return t=new zl(4),cy(t,Wp("M",!0)),Uc(t,4448,4607),Uc(t,65438,65439),i=new KT(2),fb(i,e),fb(i,YS),n=new KT(2),n.$l(fj(a,Wp("L",!0))),n.$l(t),n=new Rm(3,n),n=new Tve(i,n),sfe=n,sfe}function _pn(e){var t,n;if(t=Hr(jt(e,(di(),AS))),!Fet(t,e)&&!X2(e,pE)&&((!e.a&&(e.a=new ot(fs,e,10,11)),e.a).i!=0||Bt(Nt(jt(e,SO)))))if(t==null||ey(t).length==0){if(!Fet(qn,e))throw n=Yr(Yr(new jl("Unable to load default layout algorithm "),qn)," for unconfigured node "),ez(e,n),ee(new A3(n.a))}else throw n=Yr(Yr(new jl("Layout algorithm '"),t),"' not found for "),ez(e,n),ee(new A3(n.a))}function Rse(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;if(n=e.i,t=e.n,e.b==0)for(z=n.c+t.b,P=n.b-t.b-t.c,h=e.a,v=0,T=h.length;v<T;++v)i=h[v],gj(i,z,P);else r=mrt(e,!1),gj(e.a[0],n.c+t.b,r[0]),gj(e.a[2],n.c+n.b-t.c-r[2],r[2]),L=n.b-t.b-t.c,r[0]>0&&(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),gj(e.a[1],n.c+t.b+r[0]-(r[1]-L)/2,r[1]);for(a=e.a,d=0,x=a.length;d<x;++d)i=a[d],me(i,326)&&u(i,326).Te()}function Cpn(e){var t,n,r,i,a,h,d,v,x,T,L;for(L=new eQ,L.d=0,h=new C(e.b);h.a<h.c.c.length;)a=u(Y(h),29),L.d+=a.a.c.length;for(r=0,i=0,L.a=Ie(Sr,Jr,25,e.b.c.length,15,1),x=0,T=0,L.e=Ie(Sr,Jr,25,L.d,15,1),n=new C(e.b);n.a<n.c.c.length;)for(t=u(Y(n),29),t.p=r++,L.a[t.p]=i++,T=0,v=new C(t.a);v.a<v.c.c.length;)d=u(Y(v),10),d.p=x++,L.e[d.p]=T++;return L.c=new HRe(L),L.b=qd(L.d),rpn(L,e),L.f=qd(L.d),ipn(L,e),L}function xct(e,t){var n,r,i,a;for(a=u(It(e.n,e.n.c.length-1),211).d,e.p=b.Math.min(e.p,t.g),e.r=b.Math.max(e.r,a),e.g=b.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=b.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=b.Math.max(e.f,t.f),i=e.n.c.length>0?(e.n.c.length-1)*e.i:0,r=new C(e.n);r.a<r.c.c.length;)n=u(Y(r),211),i+=n.a;e.d=i,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),n3e(e.j)}function Ect(e,t){var n,r,i,a,h,d,v,x,T,L;if(T=Nt(W(t,(r1(),bgt))),T==null||(An(T),T)){for(L=Ie(El,s0,25,t.e.c.length,16,1),h=wfn(t),i=new as,x=new C(t.e);x.a<x.c.c.length;)d=u(Y(x),144),n=I4e(e,d,null,null,L,h),n&&($o(n,t),ks(i,n,i.c.b,i.c));if(i.b>1)for(r=si(i,0);r.b!=r.d.c;)for(n=u(ii(r),231),a=0,v=new C(n.e);v.a<v.c.c.length;)d=u(Y(v),144),d.b=a++;return i}return I1(ie(ne(rmn,1),b6e,231,0,[t]))}function wd(e){var t,n,r,i,a,h,d;if(!e.g){if(d=new P2,t=GS,h=t.a.zc(e,t),h==null){for(r=new ir(Ro(e));r.e!=r.i.gc();)n=u(br(r),26),ds(d,wd(n));t.a.Bc(e)!=null,t.a.gc()==0}for(i=d.i,a=(!e.s&&(e.s=new ot(Bu,e,21,17)),new ir(e.s));a.e!=a.i.gc();++i)QJ(u(br(a),449),i);ds(d,(!e.s&&(e.s=new ot(Bu,e,21,17)),e.s)),Um(d),e.g=new ftt(e,d),e.i=u(d.g,247),e.i==null&&(e.i=Zhe),e.p=null,dl(e).b&=-5}return e.g}function jse(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;if(r=e.i,n=e.n,e.b==0)t=wrt(e,!1),pj(e.a[0],r.d+n.d,t[0]),pj(e.a[2],r.d+r.a-n.a-t[2],t[2]),P=r.a-n.d-n.a,L=P,t[0]>0&&(t[0]+=e.c,L-=t[0]),t[2]>0&&(L-=t[2]+e.c),t[1]=b.Math.max(t[1],L),pj(e.a[1],r.d+n.d+t[0]-(t[1]-L)/2,t[1]);else for(q=r.d+n.d,z=r.a-n.d-n.a,h=e.a,v=0,T=h.length;v<T;++v)i=h[v],pj(i,q,z);for(a=e.a,d=0,x=a.length;d<x;++d)i=a[d],me(i,326)&&u(i,326).Ue()}function Spn(e){var t,n,r,i,a,h,d,v,x,T;for(T=Ie(Sr,Jr,25,e.b.c.length+1,15,1),x=new Ys,r=0,a=new C(e.b);a.a<a.c.c.length;){for(i=u(Y(a),29),T[r++]=x.a.gc(),v=new C(i.a);v.a<v.c.c.length;)for(h=u(Y(v),10),n=new ur(dr(Fs(h).a.Kc(),new V));Vr(n);)t=u(Nr(n),17),x.a.zc(t,x);for(d=new C(i.a);d.a<d.c.c.length;)for(h=u(Y(d),10),n=new ur(dr(Wo(h).a.Kc(),new V));Vr(n);)t=u(Nr(n),17),x.a.Bc(t)!=null}return T}function WH(e,t,n,r){var i,a,h,d,v;if(v=hu(e.e.Tg(),t),i=u(e.g,119),ho(),u(t,66).Oj()){for(h=0;h<e.i;++h)if(a=i[h],v.rl(a.ak())&&Ci(a,n))return!0}else if(n!=null){for(d=0;d<e.i;++d)if(a=i[d],v.rl(a.ak())&&Ci(n,a.dd()))return!0;if(r){for(h=0;h<e.i;++h)if(a=i[h],v.rl(a.ak())&&$e(n)===$e(Nte(e,u(a.dd(),56))))return!0}}else for(h=0;h<e.i;++h)if(a=i[h],v.rl(a.ak())&&a.dd()==null)return!1;return!1}function Tct(e,t,n,r){var i,a,h,d,v,x;if(x=hu(e.e.Tg(),t),h=u(e.g,119),G0(e.e,t)){if(t.hi()&&(a=d7(e,t,r,me(t,99)&&(u(t,18).Bb&ao)!=0),a>=0&&a!=n))throw ee(new Dn(MI));for(i=0,v=0;v<e.i;++v)if(d=h[v],x.rl(d.ak())){if(i==n)return u(t4(e,v,(ho(),u(t,66).Oj()?u(r,72):Xd(t,r))),72);++i}throw ee(new Mo(OC+n+yb+i))}else{for(v=0;v<e.i;++v)if(d=h[v],x.rl(d.ak()))return ho(),u(t,66).Oj()?d:d.dd();return null}}function _ct(e,t,n,r){var i,a,h,d;for(d=n,h=new C(t.a);h.a<h.c.c.length;){if(a=u(Y(h),221),i=u(a.b,65),Kv(e.b.c,i.b.c+i.b.b)<=0&&Kv(i.b.c,e.b.c+e.b.b)<=0&&Kv(e.b.d,i.b.d+i.b.a)<=0&&Kv(i.b.d,e.b.d+e.b.a)<=0){if(Kv(i.b.c,e.b.c+e.b.b)==0&&r.a<0||Kv(i.b.c+i.b.b,e.b.c)==0&&r.a>0||Kv(i.b.d,e.b.d+e.b.a)==0&&r.b<0||Kv(i.b.d+i.b.a,e.b.d)==0&&r.b>0){d=0;break}}else d=b.Math.min(d,_st(e,i,r));d=b.Math.min(d,_ct(e,a,d,r))}return d}function eI(e,t){var n,r,i,a,h,d,v;if(e.b<2)throw ee(new Dn("The vector chain must contain at least a source and a target point."));for(i=(Qn(e.b!=0),u(e.a.a.c,8)),BR(t,i.a,i.b),v=new x6((!t.a&&(t.a=new Ns(Zh,t,5)),t.a)),h=si(e,1);h.a<e.b-1;)d=u(ii(h),8),v.e!=v.i.gc()?n=u(br(v),469):(n=(gv(),r=new hp,r),Cnt(v,n)),g2e(n,d.a,d.b);for(;v.e!=v.i.gc();)br(v),U_(v);a=(Qn(e.b!=0),u(e.c.b.c,8)),PR(t,a.a,a.b)}function Cct(e,t){var n,r,i,a,h,d,v,x,T;for(n=0,i=new C((En(0,e.c.length),u(e.c[0],101)).g.b.j);i.a<i.c.c.length;)r=u(Y(i),11),r.p=n++;for(t==(dt(),Ln)?aa(e,new cX):aa(e,new uX),d=0,T=e.c.length-1;d<T;)h=(En(d,e.c.length),u(e.c[d],101)),x=(En(T,e.c.length),u(e.c[T],101)),a=t==Ln?h.c:h.a,v=t==Ln?x.a:x.c,wg(h,t,(B1(),Y7),a),wg(x,t,W7,v),++d,--T;d==T&&wg((En(d,e.c.length),u(e.c[d],101)),t,(B1(),mk),null)}function Apn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;return L=e.a.i+e.a.g/2,P=e.a.i+e.a.g/2,q=t.i+t.g/2,Q=t.j+t.f/2,d=new Ft(q,Q),x=u(jt(t,(di(),Nk)),8),x.a=x.a+L,x.b=x.b+P,a=(d.b-x.b)/(d.a-x.a),r=d.b-a*d.a,K=n.i+n.g/2,ue=n.j+n.f/2,v=new Ft(K,ue),T=u(jt(n,Nk),8),T.a=T.a+L,T.b=T.b+P,h=(v.b-T.b)/(v.a-T.a),i=v.b-h*v.a,z=(r-i)/(h-a),x.a<z&&d.a<z||z<x.a&&z<d.a?!1:!(T.a<z&&v.a<z||z<T.a&&z<v.a)}function Lpn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(P=u(Jn(e.c,t),183),!P)throw ee(new ud("Edge did not exist in input."));return x=Qx(P),a=UL((!t.a&&(t.a=new ot(os,t,6,6)),t.a)),d=!a,d&&(z=new cg,n=new MUe(e,x,z),Nqt((!t.a&&(t.a=new ot(os,t,6,6)),t.a),n),Zf(P,A8e,z)),i=X2(t,(di(),X4)),i&&(T=u(jt(t,X4),74),h=!T||pWe(T),v=!h,v&&(L=new cg,r=new Eje(L),Da(T,r),Zf(P,"junctionPoints",L))),sx(P,"container",FM(t).k),null}function b5e(e,t,n){var r,i,a,h,d,v,x,T;this.a=e,this.b=t,this.c=n,this.e=I1(ie(ne(emn,1),_t,168,0,[new v6(e,t),new v6(t,n),new v6(n,e)])),this.f=I1(ie(ne(ea,1),Je,8,0,[e,t,n])),this.d=(r=pa(fc(this.b),this.a),i=pa(fc(this.c),this.a),a=pa(fc(this.c),this.b),h=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),d=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),v=2*(r.a*a.b-r.b*a.a),x=(i.b*h-r.b*d)/v,T=(r.a*d-i.a*h)/v,new Ft(x,T))}function Sct(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;if(P=new Nm(e.p),Zf(t,fi,P),n&&!(e.f?OM(e.f):null).a.dc())for(T=new cg,Zf(t,"logs",T),d=0,q=new S((e.f?OM(e.f):null).b.Kc());q.b.Ob();)z=Hr(q.b.Pb()),L=new Nm(z),Hm(T,d),Zne(T,d,L),++d;if(r&&(x=new rT(e.q),Zf(t,"executionTime",x)),!OM(e.a).a.dc())for(h=new cg,Zf(t,bce,h),d=0,a=new S(OM(e.a).b.Kc());a.b.Ob();)i=u(a.b.Pb(),1949),v=new f6,Hm(h,d),Zne(h,d,v),Sct(i,v,n,r),++d}function rw(e,t){var n,r,i,a,h,d;for(a=e.c,h=e.d,Ka(e,null),wa(e,null),t&&Bt(Nt(W(h,(nt(),ole))))?Ka(e,u5e(h.i,(vo(),ou),(dt(),$n))):Ka(e,h),t&&Bt(Nt(W(a,(nt(),ule))))?wa(e,u5e(a.i,(vo(),cl),(dt(),On))):wa(e,a),r=new C(e.b);r.a<r.c.c.length;)n=u(Y(r),70),i=u(W(n,(mt(),Od)),272),i==(N1(),vE)?Qe(n,Od,$y):i==$y&&Qe(n,Od,vE);d=Bt(Nt(W(e,(nt(),U1)))),Qe(e,U1,(In(),!d)),e.a=vD(e.a)}function Mpn(e,t,n){var r,i,a,h,d,v;for(r=0,a=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));a.e!=a.i.gc();)i=u(br(a),33),h="",(!i.n&&(i.n=new ot(Qo,i,1,7)),i.n).i==0||(h=u(_e((!i.n&&(i.n=new ot(Qo,i,1,7)),i.n),0),137).a),d=new oWe(h),$o(d,i),Qe(d,(Rp(),wk),i),d.b=r++,d.d.a=i.i+i.g/2,d.d.b=i.j+i.f/2,d.e.a=b.Math.max(i.g,1),d.e.b=b.Math.max(i.f,1),st(t.e,d),lu(n.f,i,d),v=u(jt(i,(r1(),S7e)),98),v==(ya(),g2)&&(v=Y1)}function Dpn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;n=xv(new j2,e.f),x=e.i[t.c.i.p],z=e.i[t.d.i.p],v=t.c,P=t.d,d=v.a.b,L=P.a.b,x.b||(d+=v.n.b),z.b||(L+=P.n.b),T=_s(b.Math.max(0,d-L)),h=_s(b.Math.max(0,L-d)),q=(K=b.Math.max(1,u(W(t,(mt(),Lk)),19).a),Q=fwe(t.c.i.k,t.d.i.k),K*Q),i=Tf(gf(df(ff(pf(new Ih,q),h),n),u(Jn(e.k,t.c),121))),a=Tf(gf(df(ff(pf(new Ih,q),T),n),u(Jn(e.k,t.d),121))),r=new uGe(i,a),e.c[t.p]=r}function Ipn(e,t,n,r){var i,a,h,d,v,x;for(h=new eut(e,t,n),v=new Ca(r,0),i=!1;v.b<v.d.gc();)d=(Qn(v.b<v.d.gc()),u(v.d.Xb(v.c=v.b++),233)),d==t||d==n?Dl(v):!i&&We(S1(d.g,d.d[0]).a)>We(S1(h.g,h.d[0]).a)?(Qn(v.b>0),v.a.Xb(v.c=--v.b),Lm(v,h),i=!0):d.e&&d.e.gc()>0&&(a=(!d.e&&(d.e=new at),d.e).Mc(t),x=(!d.e&&(d.e=new at),d.e).Mc(n),(a||x)&&((!d.e&&(d.e=new at),d.e).Fc(h),++h.c));i||(r.c[r.c.length]=h)}function Act(e){var t,n,r;if(P3(u(W(e,(mt(),vs)),98)))for(n=new C(e.j);n.a<n.c.c.length;)t=u(Y(n),11),t.j==(dt(),cc)&&(r=u(W(t,(nt(),ol)),10),r?qs(t,u(W(r,vc),61)):t.e.c.length-t.g.c.length<0?qs(t,$n):qs(t,On));else{for(n=new C(e.j);n.a<n.c.c.length;)t=u(Y(n),11),r=u(W(t,(nt(),ol)),10),r?qs(t,u(W(r,vc),61)):t.e.c.length-t.g.c.length<0?qs(t,(dt(),$n)):qs(t,(dt(),On));Qe(e,vs,(ya(),mE))}}function tI(e){var t,n,r;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:r="\\"+String.fromCharCode(e&Ss);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:e<32?(n=(t=e>>>0,"0"+t.toString(16)),r="\\x"+$l(n,n.length-2,n.length)):e>=ao?(n=(t=e>>>0,"0"+t.toString(16)),r="\\v"+$l(n,n.length-6,n.length)):r=""+String.fromCharCode(e&Ss)}return r}function $se(e,t){var n,r,i,a,h,d,v,x,T,L;if(h=e.e,v=t.e,v==0)return e;if(h==0)return t.e==0?t:new $3(-t.e,t.d,t.a);if(a=e.d,d=t.d,a+d==2)return n=Gs(e.a[0],yo),r=Gs(t.a[0],yo),h<0&&(n=Ex(n)),v<0&&(r=Ex(r)),AD(Gp(n,r));if(i=a!=d?a>d?1:-1:Kme(e.a,t.a,a),i==-1)L=-v,T=h==v?cre(t.a,d,e.a,a):lre(t.a,d,e.a,a);else if(L=h,h==v){if(i==0)return Kp(),H7;T=cre(e.a,a,t.a,d)}else T=lre(e.a,a,t.a,d);return x=new $3(L,T.length,T),b_(x),x}function v5e(e){var t,n,r,i,a,h;for(this.e=new at,this.a=new at,n=e.b-1;n<3;n++)tx(e,0,u(n1(e,0),8));if(e.b<4)throw ee(new Dn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,v1n(this,e.b+this.b-1),h=new at,a=new C(this.e),t=0;t<this.b-1;t++)st(h,gt(Y(a)));for(i=si(e,0);i.b!=i.d.c;)r=u(ii(i),8),st(h,gt(Y(a))),st(this.a,new dYe(r,h)),En(0,h.c.length),h.c.splice(0,1)}function Lct(e,t){var n,r,i,a,h,d,v,x,T;for(a=new C(e.b);a.a<a.c.c.length;)for(i=u(Y(a),29),d=new C(i.a);d.a<d.c.c.length;)for(h=u(Y(d),10),h.k==(zn(),Pl)&&(v=(x=u(Nr(new ur(dr(Wo(h).a.Kc(),new V))),17),T=u(Nr(new ur(dr(Fs(h).a.Kc(),new V))),17),!Bt(Nt(W(x,(nt(),U1))))||!Bt(Nt(W(T,U1)))?t:itt(t)),tk(h,v)),r=new ur(dr(Fs(h).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),v=Bt(Nt(W(n,(nt(),U1))))?itt(t):t,Qet(n,v)}function Opn(e,t,n,r,i){var a,h,d;if(n.f>=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(h=u(It(t.n,t.n.c.length-1),211),h.e+h.d+n.g+i<=r&&(a=u(It(t.n,t.n.c.length-1),211),a.f-e.f+n.f<=e.b||e.a.c.length==1))return bye(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+i<=e.b||e.a.c.length==1))return st(t.b,n),d=u(It(t.n,t.n.c.length-1),211),st(t.n,new Hj(t.s,d.f+d.a+t.i,t.i)),Zye(u(It(t.n,t.n.c.length-1),211),n),xct(t,n),!0}return!1}function Mct(e,t,n){var r,i,a,h;return e.ej()?(i=null,a=e.fj(),r=e.Zi(1,h=yre(e,t,n),n,t,a),e.bj()&&!(e.ni()&&h!=null?Ci(h,n):$e(h)===$e(n))?(h!=null&&(i=e.dj(h,i)),i=e.cj(n,i),e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):(e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)),h):(h=yre(e,t,n),e.bj()&&!(e.ni()&&h!=null?Ci(h,n):$e(h)===$e(n))&&(i=null,h!=null&&(i=e.dj(h,null)),i=e.cj(n,i),i&&i.Fi()),h)}function rC(e,t){var n,r,i,a,h,d,v,x;t%=24,e.q.getHours()!=t&&(r=new b.Date(e.q.getTime()),r.setDate(r.getDate()+1),d=e.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(v=d/60|0,x=d%60,i=e.q.getDate(),n=e.q.getHours(),n+v>=24&&++i,a=new b.Date(e.q.getFullYear(),e.q.getMonth(),i,t+v,e.q.getMinutes()+x,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(a.getTime()))),h=e.q.getTime(),e.q.setTime(h+36e5),e.q.getHours()!=t&&e.q.setTime(h)}function Npn(e,t){var n,r,i,a,h;if(Er(t,"Path-Like Graph Wrapping",1),e.b.c.length==0){lr(t);return}if(i=new T4e(e),h=(i.i==null&&(i.i=vme(i,new cB)),We(i.i)*i.f),n=h/(i.i==null&&(i.i=vme(i,new cB)),We(i.i)),i.b>n){lr(t);return}switch(u(W(e,(mt(),Lle)),337).g){case 2:a=new lB;break;case 0:a=new oB;break;default:a=new hB}if(r=a.Vf(e,i),!a.Wf())switch(u(W(e,Pq),338).g){case 2:r=Cst(i,r);break;case 1:r=_it(i,r)}D2n(e,i,r),lr(t)}function Ppn(e,t){var n,r,i,a;if(mZt(e.d,e.e),e.c.a.$b(),We(gt(W(t.j,(mt(),Tq))))!=0||We(gt(W(t.j,Tq)))!=0)for(n=C7,$e(W(t.j,o2))!==$e((F0(),c2))&&Qe(t.j,(nt(),yw),(In(),!0)),a=u(W(t.j,lS),19).a,i=0;i<a&&(r=ppn(e,t),!(r<n&&(n=r,pet(e),n==0)));i++);else for(n=xi,$e(W(t.j,o2))!==$e((F0(),c2))&&Qe(t.j,(nt(),yw),(In(),!0)),a=u(W(t.j,lS),19).a,i=0;i<a&&(r=bct(e,t),!(r<n&&(n=r,pet(e),n==0)));i++);}function Bpn(e,t){var n,r,i,a,h,d,v,x;for(h=new at,d=0,n=0,v=0;d<t.c.length-1&&n<e.gc();){for(r=u(e.Xb(n),19).a+v;(En(d+1,t.c.length),u(t.c[d+1],19)).a<r;)++d;for(x=0,a=r-(En(d,t.c.length),u(t.c[d],19)).a,i=(En(d+1,t.c.length),u(t.c[d+1],19)).a-r,a>i&&++x,st(h,(En(d+x,t.c.length),u(t.c[d+x],19))),v+=(En(d+x,t.c.length),u(t.c[d+x],19)).a-r,++n;n<e.gc()&&u(e.Xb(n),19).a+v<=(En(d+x,t.c.length),u(t.c[d+x],19)).a;)++n;d+=1+x}return h}function Hse(e){var t,n,r,i,a,h,d;if(!e.d){if(d=new m3,t=GS,a=t.a.zc(e,t),a==null){for(r=new ir(Ro(e));r.e!=r.i.gc();)n=u(br(r),26),ds(d,Hse(n));t.a.Bc(e)!=null,t.a.gc()==0}for(h=d.i,i=(!e.q&&(e.q=new ot(ef,e,11,10)),new ir(e.q));i.e!=i.i.gc();++h)u(br(i),399);ds(d,(!e.q&&(e.q=new ot(ef,e,11,10)),e.q)),Um(d),e.d=new N3((u(_e(qe((Op(),Tn).o),9),18),d.i),d.g),e.e=u(d.g,673),e.e==null&&(e.e=v3t),dl(e).b&=-17}return e.d}function d7(e,t,n,r){var i,a,h,d,v,x;if(x=hu(e.e.Tg(),t),v=0,i=u(e.g,119),ho(),u(t,66).Oj()){for(h=0;h<e.i;++h)if(a=i[h],x.rl(a.ak())){if(Ci(a,n))return v;++v}}else if(n!=null){for(d=0;d<e.i;++d)if(a=i[d],x.rl(a.ak())){if(Ci(n,a.dd()))return v;++v}if(r){for(v=0,h=0;h<e.i;++h)if(a=i[h],x.rl(a.ak())){if($e(n)===$e(Nte(e,u(a.dd(),56))))return v;++v}}}else for(h=0;h<e.i;++h)if(a=i[h],x.rl(a.ak())){if(a.dd()==null)return v;++v}return-1}function Fpn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z;for(fn(),aa(e,new fZ),h=CM(e),z=new at,P=new at,d=null,v=0;h.b!=0;)a=u(h.b==0?null:(Qn(h.b!=0),bh(h,h.a.a)),157),!d||qu(d)*Ll(d)/2<qu(a)*Ll(a)?(d=a,z.c[z.c.length]=a):(v+=qu(a)*Ll(a),P.c[P.c.length]=a,P.c.length>1&&(v>qu(d)*Ll(d)/2||h.b==0)&&(L=new k$(P),T=qu(d)/Ll(d),x=nae(L,t,new h6,n,r,i,T),Ni(Yf(L.e),x),d=L,z.c[z.c.length]=L,v=0,P.c=Ie(Xn,_t,1,0,5,1)));return Ps(z,P),z}function Rpn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K;if(n.mh(t)&&(T=(z=t,z?u(r,49).xh(z):null),T))if(K=n.bh(t,e.a),q=t.t,q>1||q==-1)if(L=u(K,69),P=u(T,69),L.dc())P.$b();else for(h=!!go(t),a=0,d=e.a?L.Kc():L.Zh();d.Ob();)x=u(d.Pb(),56),i=u(Fv(e,x),56),i?(h?(v=P.Xc(i),v==-1?P.Xh(a,i):a!=v&&P.ji(a,i)):P.Xh(a,i),++a):e.b&&!h&&(P.Xh(a,x),++a);else K==null?T.Wb(null):(i=Fv(e,K),i==null?e.b&&!go(t)&&T.Wb(K):T.Wb(i))}function jpn(e,t){var n,r,i,a,h,d,v,x;for(n=new JW,i=new ur(dr(Wo(t).a.Kc(),new V));Vr(i);)if(r=u(Nr(i),17),!no(r)&&(d=r.c.i,N3e(d,RG))){if(x=Y4e(e,d,RG,FG),x==-1)continue;n.b=b.Math.max(n.b,x),!n.a&&(n.a=new at),st(n.a,d)}for(h=new ur(dr(Fs(t).a.Kc(),new V));Vr(h);)if(a=u(Nr(h),17),!no(a)&&(v=a.d.i,N3e(v,FG))){if(x=Y4e(e,v,FG,RG),x==-1)continue;n.d=b.Math.max(n.d,x),!n.c&&(n.c=new at),st(n.c,v)}return n}function Dct(e){a7();var t,n,r,i;if(t=_s(e),e<qC.length)return qC[t];if(e<=50)return VD((Kp(),Jce),t);if(e<=Ig)return F6(VD(vk[1],t),t);if(e>1e6)throw ee(new qF("power of ten too big"));if(e<=xi)return F6(VD(vk[1],t),t);for(r=VD(vk[1],xi),i=r,n=Mu(e-xi),t=_s(e%xi);Lc(n,xi)>0;)i=V3(i,r),n=Gp(n,xi);for(i=V3(i,VD(vk[1],t)),i=F6(i,xi),n=Mu(e-xi);Lc(n,xi)>0;)i=F6(i,xi),n=Gp(n,xi);return i=F6(i,t),i}function $pn(e,t){var n,r,i,a,h,d,v,x,T;for(Er(t,"Hierarchical port dummy size processing",1),v=new at,T=new at,r=We(gt(W(e,(mt(),G4)))),n=r*2,a=new C(e.b);a.a<a.c.c.length;){for(i=u(Y(a),29),v.c=Ie(Xn,_t,1,0,5,1),T.c=Ie(Xn,_t,1,0,5,1),d=new C(i.a);d.a<d.c.c.length;)h=u(Y(d),10),h.k==(zn(),Ls)&&(x=u(W(h,(nt(),vc)),61),x==(dt(),Ln)?v.c[v.c.length]=h:x==Tr&&(T.c[T.c.length]=h));rat(v,!0,n),rat(T,!1,n)}lr(t)}function Hpn(e,t){var n,r,i,a,h,d,v;Er(t,"Layer constraint postprocessing",1),v=e.b,v.c.length!=0&&(r=(En(0,v.c.length),u(v.c[0],29)),h=u(It(v,v.c.length-1),29),n=new Nh(e),a=new Nh(e),_gn(e,r,h,n,a),n.a.c.length==0||(Fm(0,v.c.length),MT(v.c,0,n)),a.a.c.length==0||(v.c[v.c.length]=a)),Js(e,(nt(),ale))&&(i=new Nh(e),d=new Nh(e),_0n(e,i,d),i.a.c.length==0||(Fm(0,v.c.length),MT(v.c,0,i)),d.a.c.length==0||(v.c[v.c.length]=d)),lr(t)}function Ict(e){var t,n,r,i,a,h,d,v,x,T;for(v=new C(e.a);v.a<v.c.c.length;)if(d=u(Y(v),10),d.k==(zn(),Ls)&&(i=u(W(d,(nt(),vc)),61),i==(dt(),$n)||i==On))for(r=new ur(dr(j0(d).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),t=n.a,t.b!=0&&(x=n.c,x.i==d&&(a=(Qn(t.b!=0),u(t.a.a.c,8)),a.b=ic(ie(ne(ea,1),Je,8,0,[x.i.n,x.n,x.a])).b),T=n.d,T.i==d&&(h=(Qn(t.b!=0),u(t.c.b.c,8)),h.b=ic(ie(ne(ea,1),Je,8,0,[T.i.n,T.n,T.a])).b))}function zpn(e,t){var n,r,i,a,h,d,v;for(Er(t,"Sort By Input Model "+W(e,(mt(),o2)),1),i=0,r=new C(e.b);r.a<r.c.c.length;){for(n=u(Y(r),29),v=i==0?0:i-1,d=u(It(e.b,v),29),h=new C(n.a);h.a<h.c.c.length;)a=u(Y(h),10),$e(W(a,vs))!==$e((ya(),Fb))&&$e(W(a,vs))!==$e(Zc)&&(fn(),aa(a.j,new WZe(d,Wrt(a))),z2(t,"Node "+a+" ports: "+a.j));fn(),aa(n.a,new wet(d,u(W(e,o2),339),u(W(e,W9e),378))),z2(t,"Layer "+i+": "+n),++i}lr(t)}function Gpn(e,t){var n,r,i,a;if(a=yct(t),ms(new mn(null,(!t.c&&(t.c=new ot(xl,t,9,9)),new kn(t.c,16))),new Pn(a)),i=u(W(a,(nt(),Qc)),21),qbn(t,i),i.Hc((mo(),Th)))for(r=new ir((!t.c&&(t.c=new ot(xl,t,9,9)),t.c));r.e!=r.i.gc();)n=u(br(r),118),kvn(e,t,a,n);return u(jt(t,(mt(),Lb)),174).gc()!=0&&fot(t,a),Bt(Nt(W(a,yTe)))&&i.Fc(pq),Js(a,oO)&&Y$e(new xye(We(gt(W(a,oO)))),a),$e(jt(t,My))===$e((R0(),qg))?Nwn(e,t,a):twn(e,t,a),a}function iC(e,t,n,r){var i,a,h;if(this.j=new at,this.k=new at,this.b=new at,this.c=new at,this.e=new k6,this.i=new $u,this.f=new bee,this.d=new at,this.g=new at,st(this.b,e),st(this.b,t),this.e.c=b.Math.min(e.a,t.a),this.e.d=b.Math.min(e.b,t.b),this.e.b=b.Math.abs(e.a-t.a),this.e.a=b.Math.abs(e.b-t.b),i=u(W(r,(mt(),Fo)),74),i)for(h=si(i,0);h.b!=h.d.c;)a=u(ii(h),8),Qwe(a.a,e.a)&&oi(this.i,a);n&&st(this.j,n),st(this.k,r)}function qpn(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(T=new yj(new Li(n)),d=Ie(El,s0,25,e.f.e.c.length,16,1),wve(d,d.length),n[t.b]=0,x=new C(e.f.e);x.a<x.c.c.length;)v=u(Y(x),144),v.b!=t.b&&(n[v.b]=xi),yx(r7(T,v));for(;T.b.c.length!=0;)for(L=u(Ere(T),144),d[L.b]=!0,a=lVe(new Ree(e.b,L),0);a.c;)i=u(Yve(a),282),P=mon(i,L),!d[P.b]&&(Js(i,(OD(),BG))?h=We(gt(W(i,BG))):h=e.c,r=n[L.b]+h,r<n[P.b]&&(n[P.b]=r,oet(T,P),yx(r7(T,P))))}function Oct(e,t,n){var r,i,a,h,d,v,x,T,L;for(i=!0,h=new C(e.b);h.a<h.c.c.length;){for(a=u(Y(h),29),x=Ds,T=null,v=new C(a.a);v.a<v.c.c.length;)if(d=u(Y(v),10),L=We(t.p[d.p])+We(t.d[d.p])-d.d.d,r=We(t.p[d.p])+We(t.d[d.p])+d.o.b+d.d.a,L>x&&r>x)T=d,x=We(t.p[d.p])+We(t.d[d.p])+d.o.b+d.d.a;else{i=!1,n.n&&z2(n,"bk node placement breaks on "+d+" which should have been after "+T);break}if(!i)break}return n.n&&z2(n,t+" is feasible: "+i),i}function Vpn(e,t,n,r){var i,a,h,d,v,x,T;for(d=-1,T=new C(e);T.a<T.c.c.length;)x=u(Y(T),112),x.g=d--,i=Ir(Wj(Lj(qi(new mn(null,new kn(x.f,16)),new rQ),new iQ)).d),a=Ir(Wj(Lj(qi(new mn(null,new kn(x.k,16)),new sQ),new G5)).d),h=i,v=a,r||(h=Ir(Wj(Lj(new mn(null,new kn(x.f,16)),new aQ)).d),v=Ir(Wj(Lj(new mn(null,new kn(x.k,16)),new oQ)).d)),x.d=h,x.a=i,x.i=v,x.b=a,v==0?ks(n,x,n.c.b,n.c):h==0&&ks(t,x,t.c.b,t.c)}function Upn(e,t,n,r){var i,a,h,d,v,x,T;if(n.d.i!=t.i){for(i=new H0(e),T0(i,(zn(),ca)),Qe(i,(nt(),Mi),n),Qe(i,(mt(),vs),(ya(),Zc)),r.c[r.c.length]=i,h=new Fc,nc(h,i),qs(h,(dt(),On)),d=new Fc,nc(d,i),qs(d,$n),T=n.d,wa(n,h),a=new Dv,$o(a,n),Qe(a,Fo,null),Ka(a,d),wa(a,T),x=new Ca(n.b,0);x.b<x.d.gc();)v=(Qn(x.b<x.d.gc()),u(x.d.Xb(x.c=x.b++),70)),$e(W(v,Od))===$e((N1(),$y))&&(Qe(v,Ek,n),Dl(x),st(a.b,v));fat(i,h,d)}}function Kpn(e,t,n,r){var i,a,h,d,v,x,T;if(n.c.i!=t.i)for(i=new H0(e),T0(i,(zn(),ca)),Qe(i,(nt(),Mi),n),Qe(i,(mt(),vs),(ya(),Zc)),r.c[r.c.length]=i,h=new Fc,nc(h,i),qs(h,(dt(),On)),d=new Fc,nc(d,i),qs(d,$n),wa(n,h),a=new Dv,$o(a,n),Qe(a,Fo,null),Ka(a,d),wa(a,t),fat(i,h,d),x=new Ca(n.b,0);x.b<x.d.gc();)v=(Qn(x.b<x.d.gc()),u(x.d.Xb(x.c=x.b++),70)),T=u(W(v,Od),272),T==(N1(),$y)&&(Js(v,Ek)||Qe(v,Ek,n),Dl(x),st(a.b,v))}function Wpn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(P=new at,ue=Zj(r),Q=t*e.a,L=0,q=0,a=new Ys,h=new Ys,d=new at,Se=0,Te=0,z=0,K=0,x=0,T=0;ue.a.gc()!=0;)v=Zin(ue,i,h),v&&(ue.a.Bc(v)!=null,d.c[d.c.length]=v,a.a.zc(v,a),q=e.f[v.p],Se+=e.e[v.p]-q*e.b,L=e.c[v.p],Te+=L*e.b,T+=q*e.b,K+=e.e[v.p]),(!v||ue.a.gc()==0||Se>=Q&&e.e[v.p]>q*e.b||Te>=n*Q)&&(P.c[P.c.length]=d,d=new at,ro(h,a),a.a.$b(),x-=T,z=b.Math.max(z,x*e.b+K),x+=Te,Se=Te,Te=0,T=0,K=0);return new _a(z,P)}function Ypn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;for(n=(x=new x1(e.c.b).a.vc().Kc(),new E1(x));n.a.Ob();)t=(d=u(n.a.Pb(),42),u(d.dd(),149)),i=t.a,i==null&&(i=""),r=kUt(e.c,i),!r&&i.length==0&&(r=xin(e)),r&&!Wm(r.c,t,!1)&&oi(r.c,t);for(h=si(e.a,0);h.b!=h.d.c;)a=u(ii(h),478),T=ire(e.c,a.a),z=ire(e.c,a.b),T&&z&&oi(T.c,new _a(z,a.c));for(Ph(e.a),P=si(e.b,0);P.b!=P.d.c;)L=u(ii(P),478),t=yUt(e.c,L.a),v=ire(e.c,L.b),t&&v&&lqt(t,v,L.c);Ph(e.b)}function Xpn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;a=new O8(e),h=new Qrt,i=(zM(h.g),zM(h.j),il(h.b),zM(h.d),zM(h.i),il(h.k),il(h.c),il(h.e),z=Nst(h,a,null),Eat(h,a),z),t&&(x=new O8(t),d=a2n(x),U3e(i,ie(ne(MCe,1),_t,527,0,[d]))),P=!1,L=!1,n&&(x=new O8(n),Xz in x.a&&(P=M0(x,Xz).ge().a),Uft in x.a&&(L=M0(x,Uft).ge().a)),T=dHe(zJe(new j8,P),L),Gln(new zQ,i,T),Xz in a.a&&Zf(a,Xz,null),(P||L)&&(v=new f6,Sct(T,v,P,L),Zf(a,Xz,v)),r=new yje(h),Frn(new p2e(i),r)}function Qpn(e,t,n){var r,i,a,h,d,v,x,T,L;for(h=new nit,x=ie(ne(Sr,1),Jr,25,15,[0]),i=-1,a=0,r=0,v=0;v<e.b.c.length;++v)if(T=u(It(e.b,v),434),T.b>0){if(i<0&&T.a&&(i=v,a=x[0],r=0),i>=0){if(d=T.b,v==i&&(d-=r++,d==0))return 0;if(!Nut(t,x,T,d,h)){v=i-1,x[0]=a;continue}}else if(i=-1,!Nut(t,x,T,0,h))return 0}else{if(i=-1,Ma(T.c,0)==32){if(L=x[0],JZe(t,x),x[0]>L)continue}else if(DQt(t,T.c,x[0])){x[0]+=T.c.length;continue}return 0}return Dvn(h,n)?x[0]:0}function sC(e){var t,n,r,i,a,h,d,v;if(!e.f){if(v=new E0,d=new E0,t=GS,h=t.a.zc(e,t),h==null){for(a=new ir(Ro(e));a.e!=a.i.gc();)i=u(br(a),26),ds(v,sC(i));t.a.Bc(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new ot(Bu,e,21,17)),new ir(e.s));r.e!=r.i.gc();)n=u(br(r),170),me(n,99)&&Pr(d,u(n,18));Um(d),e.r=new VUe(e,(u(_e(qe((Op(),Tn).o),6),18),d.i),d.g),ds(v,e.r),Um(v),e.f=new N3((u(_e(qe(Tn.o),5),18),v.i),v.g),dl(e).b&=-3}return e.f}function Zpn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;for(h=e.o,r=Ie(Sr,Jr,25,h,15,1),i=Ie(Sr,Jr,25,h,15,1),n=e.p,t=Ie(Sr,Jr,25,n,15,1),a=Ie(Sr,Jr,25,n,15,1),x=0;x<h;x++){for(L=0;L<n&&!n4(e,x,L);)++L;r[x]=L}for(T=0;T<h;T++){for(L=n-1;L>=0&&!n4(e,T,L);)--L;i[T]=L}for(z=0;z<n;z++){for(d=0;d<h&&!n4(e,d,z);)++d;t[z]=d}for(q=0;q<n;q++){for(d=h-1;d>=0&&!n4(e,d,q);)--d;a[q]=d}for(v=0;v<h;v++)for(P=0;P<n;P++)v<a[P]&&v>t[P]&&P<i[v]&&P>r[v]&&VH(e,v,P,!1,!0)}function w5e(e){var t,n,r,i,a,h,d,v;n=Bt(Nt(W(e,(r1(),ugt)))),a=e.a.c.d,d=e.a.d.d,n?(h=fd(pa(new Ft(d.a,d.b),a),.5),v=fd(fc(e.e),.5),t=pa(Ni(new Ft(a.a,a.b),h),v),W2e(e.d,t)):(i=We(gt(W(e.a,vgt))),r=e.d,a.a>=d.a?a.b>=d.b?(r.a=d.a+(a.a-d.a)/2+i,r.b=d.b+(a.b-d.b)/2-i-e.e.b):(r.a=d.a+(a.a-d.a)/2+i,r.b=a.b+(d.b-a.b)/2+i):a.b>=d.b?(r.a=a.a+(d.a-a.a)/2+i,r.b=d.b+(a.b-d.b)/2+i):(r.a=a.a+(d.a-a.a)/2+i,r.b=a.b+(d.b-a.b)/2-i-e.e.b))}function Kc(e,t){var n,r,i,a,h,d,v;if(e==null)return null;if(a=e.length,a==0)return"";for(v=Ie(Sh,yd,25,a,15,1),Nwe(0,a,e.length),Nwe(0,a,v.length),QKe(e,0,a,v,0),n=null,d=t,i=0,h=0;i<a;i++)r=v[i],elt(),r<=32&&ge[r]&2?d?(!n&&(n=new Oh(e)),_Qt(n,i-h++)):(d=t,r!=32&&(!n&&(n=new Oh(e)),UXt(n,i-h,i-h+1,String.fromCharCode(32)))):d=!1;return d?n?(a=n.a.length,a>0?$l(n.a,0,a-1):""):e.substr(0,a-1):n?n.a:e}function Nct(e){vv(e,new hb(dv(lv(fv(hv(new og,vb),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new uc))),pt(e,vb,eoe,Ct(y7e)),pt(e,vb,toe,Ct(fue)),pt(e,vb,uk,Ct(W0t)),pt(e,vb,cw,Ct(m7e)),pt(e,vb,r6e,Ct(Z0t)),pt(e,vb,i6e,Ct(Q0t)),pt(e,vb,n6e,Ct(J0t)),pt(e,vb,s6e,Ct(X0t)),pt(e,vb,f6e,Ct(Y0t)),pt(e,vb,d6e,Ct(hue)),pt(e,vb,g6e,Ct(w7e)),pt(e,vb,p6e,Ct(MG))}function m5e(e,t,n,r){var i,a,h,d,v,x,T,L,P;if(a=new H0(e),T0(a,(zn(),Xc)),Qe(a,(mt(),vs),(ya(),Zc)),i=0,t){for(h=new Fc,Qe(h,(nt(),Mi),t),Qe(a,Mi,t.i),qs(h,(dt(),On)),nc(h,a),P=vd(t.e),x=P,T=0,L=x.length;T<L;++T)v=x[T],wa(v,h);Qe(t,ol,a),++i}if(n){for(d=new Fc,Qe(a,(nt(),Mi),n.i),Qe(d,Mi,n),qs(d,(dt(),$n)),nc(d,a),P=vd(n.g),x=P,T=0,L=x.length;T<L;++T)v=x[T],Ka(v,d);Qe(n,ol,a),++i}return Qe(a,(nt(),vq),lt(i)),r.c[r.c.length]=a,a}function YH(){YH=de,JSe=ie(ne(Sh,1),yd,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Kyt=new RegExp(`[
-\r\f]+`);try{$S=ie(ne(vmn,1),_t,2015,0,[new HL((m2e(),sH("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",kM((VF(),VF(),zC))))),new HL(sH("yyyy-MM-dd'T'HH:mm:ss'.'SSS",kM(zC))),new HL(sH("yyyy-MM-dd'T'HH:mm:ss",kM(zC))),new HL(sH("yyyy-MM-dd'T'HH:mm",kM(zC))),new HL(sH("yyyy-MM-dd",kM(zC)))])}catch(e){if(e=ts(e),!me(e,78))throw ee(e)}}function Jpn(e){var t,n,r,i;if(r=iae((!e.c&&(e.c=mD(e.f)),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return r;if(t=ime(e)<0?1:0,n=e.e,i=(r.length+1+b.Math.abs(_s(e.e)),new ym),t==1&&(i.a+="-"),e.e>0)if(n-=r.length-t,n>=0){for(i.a+="0.";n>_b.length;n-=_b.length)lKe(i,_b);UVe(i,_b,_s(n)),Yr(i,r.substr(t))}else n=t-n,Yr(i,$l(r,t,_s(n))),i.a+=".",Yr(i,dM(r,_s(n)));else{for(Yr(i,r.substr(t));n<-_b.length;n+=_b.length)lKe(i,_b);UVe(i,_b,_s(-n))}return i.a}function y5e(e,t,n,r){var i,a,h,d,v,x,T,L,P;return v=pa(new Ft(n.a,n.b),e),x=v.a*t.b-v.b*t.a,T=t.a*r.b-t.b*r.a,L=(v.a*r.b-v.b*r.a)/T,P=x/T,T==0?x==0?(i=Ni(new Ft(n.a,n.b),fd(new Ft(r.a,r.b),.5)),a=Fp(e,i),h=Fp(Ni(new Ft(e.a,e.b),t),i),d=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,a<h&&a<=d?new Ft(e.a,e.b):h<=d?Ni(new Ft(e.a,e.b),t):null):null:L>=0&&L<=1&&P>=0&&P<=1?Ni(new Ft(e.a,e.b),fd(new Ft(t.a,t.b),L)):null}function e2n(e,t,n){var r,i,a,h,d;if(r=u(W(e,(mt(),ple)),21),n.a>t.a&&(r.Hc((Jm(),xO))?e.c.a+=(n.a-t.a)/2:r.Hc(EO)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((Jm(),_O))?e.c.b+=(n.b-t.b)/2:r.Hc(TO)&&(e.c.b+=n.b-t.b)),u(W(e,(nt(),Qc)),21).Hc((mo(),Th))&&(n.a>t.a||n.b>t.b))for(d=new C(e.a);d.a<d.c.c.length;)h=u(Y(d),10),h.k==(zn(),Ls)&&(i=u(W(h,vc),61),i==(dt(),$n)?h.n.a+=n.a-t.a:i==Tr&&(h.n.b+=n.b-t.b));a=e.d,e.f.a=n.a-a.b-a.c,e.f.b=n.b-a.d-a.a}function t2n(e,t,n){var r,i,a,h,d;if(r=u(W(e,(mt(),ple)),21),n.a>t.a&&(r.Hc((Jm(),xO))?e.c.a+=(n.a-t.a)/2:r.Hc(EO)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((Jm(),_O))?e.c.b+=(n.b-t.b)/2:r.Hc(TO)&&(e.c.b+=n.b-t.b)),u(W(e,(nt(),Qc)),21).Hc((mo(),Th))&&(n.a>t.a||n.b>t.b))for(h=new C(e.a);h.a<h.c.c.length;)a=u(Y(h),10),a.k==(zn(),Ls)&&(i=u(W(a,vc),61),i==(dt(),$n)?a.n.a+=n.a-t.a:i==Tr&&(a.n.b+=n.b-t.b));d=e.d,e.f.a=n.a-d.b-d.c,e.f.b=n.b-d.d-d.a}function n2n(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(t=Jst(e),T=(d=new pm(t).a.vc().Kc(),new FL(d));T.a.Ob();){for(x=(i=u(T.a.Pb(),42),u(i.cd(),10)),L=0,P=0,L=x.d.d,P=x.o.b+x.d.a,e.d[x.p]=0,n=x;(a=e.a[n.p])!=x;)r=gan(n,a),v=0,e.c==(bd(),$g)?v=r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:v=r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,h=We(e.d[n.p])+v,e.d[a.p]=h,L=b.Math.max(L,a.d.d-h),P=b.Math.max(P,h+a.o.b+a.d.a),n=a;n=x;do e.d[n.p]=We(e.d[n.p])+L,n=e.a[n.p];while(n!=x);e.b[x.p]=L+P}}function zse(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(e.b=!1,L=ps,v=Ds,P=ps,x=Ds,r=e.e.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),266),i=n.a,L=b.Math.min(L,i.c),v=b.Math.max(v,i.c+i.b),P=b.Math.min(P,i.d),x=b.Math.max(x,i.d+i.a),h=new C(n.c);h.a<h.c.c.length;)a=u(Y(h),395),t=a.a,t.a?(T=i.d+a.b.b,d=T+a.c,P=b.Math.min(P,T),x=b.Math.max(x,d)):(T=i.c+a.b.a,d=T+a.c,L=b.Math.min(L,T),v=b.Math.max(v,d));e.a=new Ft(v-L,x-P),e.c=new Ft(L+e.d.a,P+e.d.b)}function r2n(e,t,n){var r,i,a,h,d,v,x,T,L;for(L=new at,T=new rwe(0,n),a=0,T$(T,new Kre(0,0,T,n)),i=0,x=new ir(e);x.e!=x.i.gc();)v=u(br(x),33),r=u(It(T.a,T.a.c.length-1),187),d=i+v.g+(u(It(T.a,0),187).b.c.length==0?0:n),d>t&&(i=0,a+=T.b+n,L.c[L.c.length]=T,T=new rwe(a,n),r=new Kre(0,T.f,T,n),T$(T,r),i=0),r.b.c.length==0||v.f>=r.o&&v.f<=r.f||r.a*.5<=v.f&&r.a*1.5>=v.f?bye(r,v):(h=new Kre(r.s+r.r+n,T.f,T,n),T$(T,h),bye(h,v)),i=v.i+v.g;return L.c[L.c.length]=T,L}function g4(e){var t,n,r,i,a,h,d,v;if(!e.a){if(e.o=null,v=new $je(e),t=new dp,n=GS,d=n.a.zc(e,n),d==null){for(h=new ir(Ro(e));h.e!=h.i.gc();)a=u(br(h),26),ds(v,g4(a));n.a.Bc(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new ot(Bu,e,21,17)),new ir(e.s));i.e!=i.i.gc();)r=u(br(i),170),me(r,322)&&Pr(t,u(r,34));Um(t),e.k=new qUe(e,(u(_e(qe((Op(),Tn).o),7),18),t.i),t.g),ds(v,e.k),Um(v),e.a=new N3((u(_e(qe(Tn.o),4),18),v.i),v.g),dl(e).b&=-2}return e.a}function i2n(e,t,n,r,i,a,h){var d,v,x,T,L,P;return L=!1,v=zat(n.q,t.f+t.b-n.q.f),P=i-(n.q.e+v-h),P<r.g||(x=a==e.c.length-1&&P>=(En(a,e.c.length),u(e.c[a],200)).e,T=(d=aC(r,P,!1),d.a),T>t.b&&!x)?!1:((x||T<=t.b)&&(x&&T>t.b?(n.d=T,KM(n,Uit(n,T))):(hit(n.q,v),n.c=!0),KM(r,i-(n.s+n.r)),LD(r,n.q.e+n.q.d,t.f),T$(t,r),e.c.length>a&&(ND((En(a,e.c.length),u(e.c[a],200)),r),(En(a,e.c.length),u(e.c[a],200)).a.c.length==0&&yg(e,a)),L=!0),L)}function k5e(e,t,n,r){var i,a,h,d,v,x,T;if(T=hu(e.e.Tg(),t),i=0,a=u(e.g,119),v=null,ho(),u(t,66).Oj()){for(d=0;d<e.i;++d)if(h=a[d],T.rl(h.ak())){if(Ci(h,n)){v=h;break}++i}}else if(n!=null){for(d=0;d<e.i;++d)if(h=a[d],T.rl(h.ak())){if(Ci(n,h.dd())){v=h;break}++i}}else for(d=0;d<e.i;++d)if(h=a[d],T.rl(h.ak())){if(h.dd()==null){v=h;break}++i}return v&&(Sl(e.e)&&(x=t.$j()?new ere(e.e,4,t,n,null,i,!0):Pp(e,t.Kj()?2:1,t,n,t.zj(),-1,!0),r?r.Ei(x):r=x),r=ZD(e,v,r)),r}function Gse(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K;switch(q=0,K=0,v=i.c,d=i.b,T=n.f,z=n.g,t.g){case 0:q=r.i+r.g+h,e.c?K=Oun(q,a,r,h):K=r.j,P=b.Math.max(v,q+z),x=b.Math.max(d,K+T);break;case 1:K=r.j+r.f+h,e.c?q=Iun(K,a,r,h):q=r.i,P=b.Math.max(v,q+z),x=b.Math.max(d,K+T);break;case 2:q=v+h,K=0,P=v+h+z,x=b.Math.max(d,T);break;case 3:q=0,K=d+h,P=b.Math.max(v,z),x=d+h+T;break;default:throw ee(new Dn("IllegalPlacementOption."))}return L=new kye(e.a,P,x,t,q,K),L}function s2n(e){var t,n,r,i,a,h,d,v,x,T,L,P;if(d=e.d,L=u(W(e,(nt(),Sk)),15),t=u(W(e,xk),15),!(!L&&!t)){if(a=We(gt(Ym(e,(mt(),_le)))),h=We(gt(Ym(e,_Te))),P=0,L){for(x=0,i=L.Kc();i.Ob();)r=u(i.Pb(),10),x=b.Math.max(x,r.o.b),P+=r.o.a;P+=a*(L.gc()-1),d.d+=x+h}if(n=0,t){for(x=0,i=t.Kc();i.Ob();)r=u(i.Pb(),10),x=b.Math.max(x,r.o.b),n+=r.o.a;n+=a*(t.gc()-1),d.a+=x+h}v=b.Math.max(P,n),v>e.o.a&&(T=(v-e.o.a)/2,d.b=b.Math.max(d.b,T),d.c=b.Math.max(d.c,T))}}function a2n(e){var t,n,r,i,a,h,d,v;for(a=new hXe,qqt(a,(q6(),$mt)),r=(i=Pre(e,Ie(Et,Je,2,0,6,1)),new s6(new Cl(new jee(e,i).b)));r.b<r.d.gc();)n=(Qn(r.b<r.d.gc()),Hr(r.d.Xb(r.c=r.b++))),h=A5e(w2,n),h&&(t=M0(e,n),t.je()?d=t.je().a:t.ge()?d=""+t.ge().a:t.he()?d=""+t.he().a:d=t.Ib(),v=C5e(h,d),v!=null&&((zu(h.j,(t1(),ua))||zu(h.j,jn))&&bD(Tre(a,fs),h,v),zu(h.j,Nd)&&bD(Tre(a,ta),h,v),zu(h.j,Ob)&&bD(Tre(a,xl),h,v),zu(h.j,zg)&&bD(Tre(a,Qo),h,v)));return a}function XH(e,t,n,r){var i,a,h,d,v,x;if(v=hu(e.e.Tg(),t),a=u(e.g,119),G0(e.e,t)){for(i=0,d=0;d<e.i;++d)if(h=a[d],v.rl(h.ak())){if(i==n)return ho(),u(t,66).Oj()?h:(x=h.dd(),x!=null&&r&&me(t,99)&&u(t,18).Bb&ao&&(x=X_(e,t,d,i,x)),x);++i}throw ee(new Mo(OC+n+yb+i))}else{for(i=0,d=0;d<e.i;++d){if(h=a[d],v.rl(h.ak()))return ho(),u(t,66).Oj()?h:(x=h.dd(),x!=null&&r&&me(t,99)&&u(t,18).Bb&ao&&(x=X_(e,t,d,i,x)),x);++i}return t.zj()}}function nI(e,t,n){var r,i,a,h,d,v,x,T;if(i=u(e.g,119),G0(e.e,t))return ho(),u(t,66).Oj()?new aj(t,e):new fM(t,e);for(x=hu(e.e.Tg(),t),r=0,d=0;d<e.i;++d){if(a=i[d],h=a.ak(),x.rl(h)){if(ho(),u(t,66).Oj())return a;if(h==(J6(),$k)||h==jk){for(v=new jl(Yo(a.dd()));++d<e.i;)a=i[d],h=a.ak(),(h==$k||h==jk)&&Yr(v,Yo(a.dd()));return mbe(u(t.Yj(),148),v.a)}else return T=a.dd(),T!=null&&n&&me(t,99)&&u(t,18).Bb&ao&&(T=X_(e,t,d,r,T)),T}++r}return t.zj()}function aC(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(a=0,h=e.t,i=0,r=0,v=0,P=0,L=0,n&&(e.n.c=Ie(Xn,_t,1,0,5,1),st(e.n,new Hj(e.s,e.t,e.i))),d=0,T=new C(e.b);T.a<T.c.c.length;)x=u(Y(T),33),a+x.g+(d>0?e.i:0)>t&&v>0&&(a=0,h+=v+e.i,i=b.Math.max(i,P),r+=v+e.i,v=0,P=0,n&&(++L,st(e.n,new Hj(e.s,h,e.i))),d=0),P+=x.g+(d>0?e.i:0),v=b.Math.max(v,x.f),n&&Zye(u(It(e.n,L),211),x),a+=x.g+(d>0?e.i:0),++d;return i=b.Math.max(i,P),r+=v,n&&(e.r=i,e.d=r,n3e(e.j)),new fh(e.s,e.t,i,r)}function Rc(e,t,n,r,i){Gd();var a,h,d,v,x,T,L,P,z;if(kve(e,"src"),kve(n,"dest"),P=pl(e),v=pl(n),qbe((P.i&4)!=0,"srcType is not an array"),qbe((v.i&4)!=0,"destType is not an array"),L=P.c,h=v.c,qbe(L.i&1?L==h:(h.i&1)==0,"Array types don't match"),z=e.length,x=n.length,t<0||r<0||i<0||t+i>z||r+i>x)throw ee(new Bge);if(!(L.i&1)&&P!=v)if(T=Z2(e),a=Z2(n),$e(e)===$e(n)&&t<r)for(t+=i,d=r+i;d-- >r;)us(a,d,T[--t]);else for(d=r+i;r<d;)us(a,r++,T[t++]);else i>0&&o4e(e,t,n,r,i,!0)}function qse(){qse=de,Fdt=ie(ne(Sr,1),Jr,25,15,[za,1162261467,hC,1220703125,362797056,1977326743,hC,387420489,uz,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,hC,1291467969,1544804416,1838265625,60466176]),Rdt=ie(ne(Sr,1),Jr,25,15,[-1,-1,31,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])}function o2n(e){var t,n,r,i,a,h,d,v;for(i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),h=new C(Nv(r.a));h.a<h.c.c.length;)if(a=u(Y(h),10),gJe(a)&&(n=u(W(a,(nt(),mw)),305),!n.g&&n.d))for(t=n,v=n.d;v;)Tot(v.i,v.k,!1,!0),QM(t.a),QM(v.i),QM(v.k),QM(v.b),wa(v.c,t.c.d),wa(t.c,null),Oo(t.a,null),Oo(v.i,null),Oo(v.k,null),Oo(v.b,null),d=new lwe(t.i,v.a,t.e,v.j,v.f),d.k=t.k,d.n=t.n,d.b=t.b,d.c=v.c,d.g=t.g,d.d=v.d,Qe(t.i,mw,d),Qe(v.a,mw,d),v=v.d,t=d}function cy(e,t){var n,r,i,a,h;if(h=u(t,136),c4(e),c4(h),h.b!=null){if(e.c=!0,e.b==null){e.b=Ie(Sr,Jr,25,h.b.length,15,1),Rc(h.b,0,e.b,0,h.b.length);return}for(a=Ie(Sr,Jr,25,e.b.length+h.b.length,15,1),n=0,r=0,i=0;n<e.b.length||r<h.b.length;)n>=e.b.length?(a[i++]=h.b[r++],a[i++]=h.b[r++]):r>=h.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):h.b[r]<e.b[n]||h.b[r]===e.b[n]&&h.b[r+1]<e.b[n+1]?(a[i++]=h.b[r++],a[i++]=h.b[r++]):(a[i++]=e.b[n++],a[i++]=e.b[n++]);e.b=a}}function c2n(e,t){var n,r,i,a,h,d,v,x,T,L;return n=Bt(Nt(W(e,(nt(),Cy)))),d=Bt(Nt(W(t,Cy))),r=u(W(e,o1),11),v=u(W(t,o1),11),i=u(W(e,Kh),11),x=u(W(t,Kh),11),T=!!r&&r==v,L=!!i&&i==x,!n&&!d?new Mbe(u(Y(new C(e.j)),11).p==u(Y(new C(t.j)),11).p,T,L):(a=(!Bt(Nt(W(e,Cy)))||Bt(Nt(W(e,rO))))&&(!Bt(Nt(W(t,Cy)))||Bt(Nt(W(t,rO)))),h=(!Bt(Nt(W(e,Cy)))||!Bt(Nt(W(e,rO))))&&(!Bt(Nt(W(t,Cy)))||!Bt(Nt(W(t,rO)))),new Mbe(T&&a||L&&h,T,L))}function u2n(e){var t,n,r,i,a,h,d,v;for(r=0,n=0,v=new as,t=0,d=new C(e.n);d.a<d.c.c.length;)h=u(Y(d),211),h.c.c.length==0?ks(v,h,v.c.b,v.c):(r=b.Math.max(r,h.d),n+=h.a+(t>0?e.i:0)),++t;for(msn(e.n,v),e.d=n,e.r=r,e.g=0,e.f=0,e.e=0,e.o=ps,e.p=ps,a=new C(e.b);a.a<a.c.c.length;)i=u(Y(a),33),e.p=b.Math.min(e.p,i.g),e.g=b.Math.max(e.g,i.g),e.f=b.Math.max(e.f,i.f),e.o=b.Math.min(e.o,i.f),e.e+=i.f+e.i;e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),n3e(e.j)}function Pct(e){var t,n,r,i;return e.Db&64?hie(e):(t=new jl(x8e),r=e.k,r?Yr(Yr((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new ot(Qo,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!i||Yr(Yr((t.a+=' "',t),i),'"'))),n=(!e.b&&(e.b=new yn(kr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new yn(kr,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",Yr(t,D2e(new Nee,new ir(e.b))),n&&(t.a+="]"),t.a+=ooe,n&&(t.a+="["),Yr(t,D2e(new Nee,new ir(e.c))),n&&(t.a+="]"),t.a)}function Vse(e,t){var n,r,i,a,h,d,v;if(e.a){if(d=e.a.ne(),v=null,d!=null?t.a+=""+d:(h=e.a.Dj(),h!=null&&(a=hd(h,Du(91)),a!=-1?(v=h.substr(a),t.a+=""+$l(h==null?Iu:(An(h),h),0,a)):t.a+=""+h)),e.d&&e.d.i!=0){for(i=!0,t.a+="<",r=new ir(e.d);r.e!=r.i.gc();)n=u(br(r),87),i?i=!1:t.a+=so,Vse(n,t);t.a+=">"}v!=null&&(t.a+=""+v)}else e.e?(d=e.e.zb,d!=null&&(t.a+=""+d)):(t.a+="?",e.b?(t.a+=" super ",Vse(e.b,t)):e.f&&(t.a+=" extends ",Vse(e.f,t)))}function l2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Ke=e.c,it=t.c,n=Ko(Ke.a,e,0),r=Ko(it.a,t,0),Te=u(Wv(e,(vo(),cl)).Kc().Pb(),11),Ut=u(Wv(e,ou).Kc().Pb(),11),Ne=u(Wv(t,cl).Kc().Pb(),11),Nn=u(Wv(t,ou).Kc().Pb(),11),ue=vd(Te.e),kt=vd(Ut.g),Se=vd(Ne.e),Gt=vd(Nn.g),Zm(e,r,it),h=Se,T=0,q=h.length;T<q;++T)i=h[T],wa(i,Te);for(d=Gt,L=0,K=d.length;L<K;++L)i=d[L],Ka(i,Ut);for(Zm(t,n,Ke),v=ue,P=0,Q=v.length;P<Q;++P)i=v[P],wa(i,Ne);for(a=kt,x=0,z=a.length;x<z;++x)i=a[x],Ka(i,Nn)}function Bct(e,t,n,r){var i,a,h,d,v,x,T;if(a=Z$(r),d=Bt(Nt(W(r,(mt(),gTe)))),(d||Bt(Nt(W(e,Aq))))&&!P3(u(W(e,vs),98)))i=U6(a),v=u5e(e,n,n==(vo(),ou)?i:ED(i));else switch(v=new Fc,nc(v,e),t?(T=v.n,T.a=t.a-e.n.a,T.b=t.b-e.n.b,Kit(T,0,0,e.o.a,e.o.b),qs(v,act(v,a))):(i=U6(a),qs(v,n==(vo(),ou)?i:ED(i))),h=u(W(r,(nt(),Qc)),21),x=v.j,a.g){case 2:case 1:(x==(dt(),Ln)||x==Tr)&&h.Fc((mo(),F4));break;case 4:case 3:(x==(dt(),$n)||x==On)&&h.Fc((mo(),F4))}return v}function x5e(e,t,n){var r,i,a,h,d,v,x,T;return b.Math.abs(t.s-t.c)<Ed||b.Math.abs(n.s-n.c)<Ed?0:(r=Kat(e,t.j,n.e),i=Kat(e,n.j,t.e),a=r==-1||i==-1,h=0,a?(r==-1&&(new K2((Xf(),u2),n,t,1),++h),i==-1&&(new K2((Xf(),u2),t,n,1),++h)):(d=Z3(t.j,n.s,n.c),d+=Z3(n.e,t.s,t.c),v=Z3(n.j,t.s,t.c),v+=Z3(t.e,n.s,n.c),x=r+16*d,T=i+16*v,x<T?new K2((Xf(),Fy),t,n,T-x):x>T?new K2((Xf(),Fy),n,t,x-T):x>0&&T>0&&(new K2((Xf(),Fy),t,n,0),new K2(Fy,n,t,0))),h)}function Fct(e,t){var n,r,i,a,h,d;for(h=new ib(new lg(e.f.b).a);h.b;){if(a=jv(h),i=u(a.cd(),594),t==1){if(i.gf()!=(wo(),X0)&&i.gf()!=Y0)continue}else if(i.gf()!=(wo(),Wh)&&i.gf()!=Lf)continue;switch(r=u(u(a.dd(),46).b,81),d=u(u(a.dd(),46).a,189),n=d.c,i.gf().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 h2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(d=Ie(Sr,Jr,25,t.b.c.length,15,1),x=Ie(Sue,rt,267,t.b.c.length,0,1),v=Ie(c0,Og,10,t.b.c.length,0,1),L=e.a,P=0,z=L.length;P<z;++P){for(T=L[P],K=0,h=new C(T.e);h.a<h.c.c.length;)i=u(Y(h),10),r=f2e(i.c),++d[r],q=We(gt(W(t,(mt(),Af)))),d[r]>0&&v[r]&&(q=F3(e.b,v[r],i)),K=b.Math.max(K,i.c.c.b+q);for(a=new C(T.e);a.a<a.c.c.length;)i=u(Y(a),10),i.n.b=K+i.d.d,n=i.c,n.c.b=K+i.d.d+i.o.b+i.d.a,x[Ko(n.b.b,n,0)]=i.k,v[Ko(n.b.b,n,0)]=i}}function Rct(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(r=new ur(dr(z0(t).a.Kc(),new V));Vr(r);)n=u(Nr(r),79),me(_e((!n.b&&(n.b=new yn(kr,n,4,7)),n.b),0),186)||(v=Ho(u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82)),Q_(n)||(h=t.i+t.g/2,d=t.j+t.f/2,T=v.i+v.g/2,L=v.j+v.f/2,P=new $a,P.a=T-h,P.b=L-d,a=new Ft(P.a,P.b),t7(a,t.g,t.f),P.a-=a.a,P.b-=a.b,h=T-P.a,d=L-P.b,x=new Ft(P.a,P.b),t7(x,v.g,v.f),P.a-=x.a,P.b-=x.b,T=h+P.a,L=d+P.b,i=h4(n,!0,!0),Sx(i,h),Lx(i,d),Cx(i,T),Ax(i,L),Rct(e,v)))}function jct(e){vv(e,new hb(dv(lv(fv(hv(new og,uw),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new pL))),pt(e,uw,Zoe,Ct(oV)),pt(e,uw,f8e,Ct(khe)),pt(e,uw,d8e,Ct(yhe)),pt(e,uw,Joe,Ct(pCe)),pt(e,uw,ece,Ct(mhe)),pt(e,uw,cw,gCe),pt(e,uw,dy,8),pt(e,uw,tce,Ct(Cmt)),pt(e,uw,g8e,Ct(fCe)),pt(e,uw,p8e,Ct(dCe)),pt(e,uw,AI,(In(),!1))}function f2n(e,t){var n,r,i,a,h,d,v,x,T,L;for(Er(t,"Simple node placement",1),L=u(W(e,(nt(),H4)),304),d=0,a=new C(e.b);a.a<a.c.c.length;){for(r=u(Y(a),29),h=r.c,h.b=0,n=null,x=new C(r.a);x.a<x.c.c.length;)v=u(Y(x),10),n&&(h.b+=Pye(v,n,L.c)),h.b+=v.d.d+v.o.b+v.d.a,n=v;d=b.Math.max(d,h.b)}for(i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),h=r.c,T=(d-h.b)/2,n=null,x=new C(r.a);x.a<x.c.c.length;)v=u(Y(x),10),n&&(T+=Pye(v,n,L.c)),T+=v.d.d,v.n.b=T,T+=v.o.b+v.d.a,n=v;lr(t)}function d2n(e,t,n,r){var i,a,h,d,v,x,T,L;if(r.gc()==0)return!1;if(v=(ho(),u(t,66).Oj()),h=v?r:new Rv(r.gc()),G0(e.e,t)){if(t.hi())for(T=r.Kc();T.Ob();)x=T.Pb(),WH(e,t,x,me(t,99)&&(u(t,18).Bb&ao)!=0)||(a=Xd(t,x),h.Fc(a));else if(!v)for(T=r.Kc();T.Ob();)x=T.Pb(),a=Xd(t,x),h.Fc(a)}else{for(L=hu(e.e.Tg(),t),i=u(e.g,119),d=0;d<e.i;++d)if(a=i[d],L.rl(a.ak()))throw ee(new Dn(PI));if(r.gc()>1)throw ee(new Dn(PI));v||(a=Xd(t,r.Kc().Pb()),h.Fc(a))}return Ime(e,Z3e(e,t,n),h)}function g2n(e,t){var n,r,i,a;for(Qtn(t.b.j),ms(Eu(new mn(null,new kn(t.d,16)),new dX),new gX),a=new C(t.d);a.a<a.c.c.length;){switch(i=u(Y(a),101),i.e.g){case 0:n=u(It(i.j,0),113).d.j,EF(i,u(Ev(wj(u(Oi(i.k,n),15).Oc(),O4)),113)),xF(i,u(Ev(vj(u(Oi(i.k,n),15).Oc(),O4)),113));break;case 1:r=s3e(i),EF(i,u(Ev(wj(u(Oi(i.k,r[0]),15).Oc(),O4)),113)),xF(i,u(Ev(vj(u(Oi(i.k,r[1]),15).Oc(),O4)),113));break;case 2:lhn(e,i);break;case 3:Cdn(i);break;case 4:Mdn(e,i)}Xtn(i)}e.a=null}function Use(e,t,n){var r,i,a,h,d,v,x,T;return r=e.a.o==(L1(),K1)?ps:Ds,d=gct(e,new dGe(t,n)),!d.a&&d.c?(oi(e.d,d),r):d.a?(i=d.a.c,v=d.a.d,n?(x=e.a.c==(bd(),Aw)?v:i,a=e.a.c==Aw?i:v,h=e.a.g[a.i.p],T=We(e.a.p[h.p])+We(e.a.d[a.i.p])+a.n.b+a.a.b-We(e.a.d[x.i.p])-x.n.b-x.a.b):(x=e.a.c==(bd(),$g)?v:i,a=e.a.c==$g?i:v,T=We(e.a.p[e.a.g[a.i.p].p])+We(e.a.d[a.i.p])+a.n.b+a.a.b-We(e.a.d[x.i.p])-x.n.b-x.a.b),e.a.n[e.a.g[i.i.p].p]=(In(),!0),e.a.n[e.a.g[v.i.p].p]=!0,T):r}function QH(e,t,n){var r,i,a,h,d,v,x,T;if(G0(e.e,t))v=(ho(),u(t,66).Oj()?new aj(t,e):new fM(t,e)),OH(v.c,v.b),WT(v,u(n,14));else{for(T=hu(e.e.Tg(),t),r=u(e.g,119),h=0;h<e.i;++h)if(i=r[h],a=i.ak(),T.rl(a)){if(a==(J6(),$k)||a==jk){for(x=Yye(e,t,n),d=h,x?iy(e,h):++h;h<e.i;)i=r[h],a=i.ak(),a==$k||a==jk?iy(e,h):++h;x||u(t4(e,d,Xd(t,n)),72)}else Yye(e,t,n)?iy(e,h):u(t4(e,h,(ho(),u(t,66).Oj()?u(n,72):Xd(t,n))),72);return}Yye(e,t,n)||Pr(e,(ho(),u(t,66).Oj()?u(n,72):Xd(t,n)))}}function $ct(e,t,n){var r,i,a,h,d,v,x,T;return Ci(n,e.b)||(e.b=n,a=new tl,h=u(Gl(Eu(new mn(null,new kn(n.f,16)),a),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21),e.e=!0,e.f=!0,e.c=!0,e.d=!0,i=h.Hc((Y6(),zI)),r=h.Hc(GI),i&&!r&&(e.f=!1),!i&&r&&(e.d=!1),i=h.Hc(HI),r=h.Hc(qI),i&&!r&&(e.c=!1),!i&&r&&(e.e=!1)),T=u(e.a.Ce(t,n),46),v=u(T.a,19).a,x=u(T.b,19).a,d=!1,v<0?e.c||(d=!0):e.e||(d=!0),x<0?e.d||(d=!0):e.f||(d=!0),d?$ct(e,T,n):T}function p2n(e){var t,n,r,i;i=e.o,Am(),e.A.dc()||Ci(e.A,f7e)?t=i.b:(t=zD(e.f),e.A.Hc((Nl(),PO))&&!e.B.Hc((wl(),RS))&&(t=b.Math.max(t,zD(u(_o(e.p,(dt(),$n)),244))),t=b.Math.max(t,zD(u(_o(e.p,On),244)))),n=$et(e),n&&(t=b.Math.max(t,n.b)),e.A.Hc(BO)&&(e.q==(ya(),f0)||e.q==Zc)&&(t=b.Math.max(t,ij(u(_o(e.b,(dt(),$n)),124))),t=b.Math.max(t,ij(u(_o(e.b,On),124))))),Bt(Nt(e.e.yf().We((di(),gV))))?i.b=b.Math.max(i.b,t):i.b=t,r=e.f.i,r.d=0,r.a=t,jse(e.f)}function Hct(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(L=0;L<t.length;L++){for(d=e.Kc();d.Ob();)a=u(d.Pb(),225),a.Of(L,t);for(P=0;P<t[L].length;P++){for(v=e.Kc();v.Ob();)a=u(v.Pb(),225),a.Pf(L,P,t);for(K=t[L][P].j,z=0;z<K.c.length;z++){for(x=e.Kc();x.Ob();)a=u(x.Pb(),225),a.Qf(L,P,z,t);for(q=(En(z,K.c.length),u(K.c[z],11)),n=0,i=new O1(q.b);tc(i.a)||tc(i.b);)for(r=u(tc(i.a)?Y(i.a):Y(i.b),17),T=e.Kc();T.Ob();)a=u(T.Pb(),225),a.Nf(L,P,z,n++,r,t)}}}for(h=e.Kc();h.Ob();)a=u(h.Pb(),225),a.Mf()}function b2n(e,t){var n,r,i,a,h,d,v;for(e.b=We(gt(W(t,(mt(),G4)))),e.c=We(gt(W(t,Db))),e.d=u(W(t,yle),336),e.a=u(W(t,Eq),275),uon(t),d=u(Gl(qi(qi(rc(rc(new mn(null,new kn(t.b,16)),new YW),new v9),new tL),new SP),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),i=d.Kc();i.Ob();)n=u(i.Pb(),17),h=u(W(n,(nt(),Sb)),15),h.Jc(new Ac(e)),Qe(n,Sb,null);for(r=d.Kc();r.Ob();)n=u(r.Pb(),17),v=u(W(n,(nt(),b9e)),17),a=u(W(n,z4),15),Twn(e,a,v),Qe(n,z4,null)}function v2n(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 Kse(e){var t,n,r,i,a,h,d,v,x;return!(e.k!=(zn(),js)||e.j.c.length<=1||(a=u(W(e,(mt(),vs)),98),a==(ya(),Zc))||(i=(Xm(),(e.q?e.q:(fn(),fn(),o0))._b(Tw)?r=u(W(e,Tw),197):r=u(W(Xa(e),cS),197),r),i==jq)||!(i==U4||i==V4)&&(h=We(gt(Ym(e,uS))),t=u(W(e,uO),142),!t&&(t=new gbe(h,h,h,h)),x=sc(e,(dt(),On)),v=t.d+t.a+(x.gc()-1)*h,v>e.o.b||(n=sc(e,$n),d=t.d+t.a+(n.gc()-1)*h,d>e.o.b)))}function Wse(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(h=e.e,v=t.e,h==0)return t;if(v==0)return e;if(a=e.d,d=t.d,a+d==2)return n=Gs(e.a[0],yo),r=Gs(t.a[0],yo),h==v?(T=Wa(n,r),q=Ir(T),z=Ir(Im(T,32)),z==0?new kg(h,q):new $3(h,2,ie(ne(Sr,1),Jr,25,15,[q,z]))):AD(h<0?Gp(r,n):Gp(n,r));if(h==v)P=h,L=a>=d?lre(e.a,a,t.a,d):lre(t.a,d,e.a,a);else{if(i=a!=d?a>d?1:-1:Kme(e.a,t.a,a),i==0)return Kp(),H7;i==1?(P=h,L=cre(e.a,a,t.a,d)):(P=v,L=cre(t.a,d,e.a,a))}return x=new $3(P,L.length,L),b_(x),x}function Yse(e,t,n,r,i,a,h){var d,v,x,T,L,P,z;return L=Bt(Nt(W(t,(mt(),pTe)))),P=null,a==(vo(),cl)&&r.c.i==n?P=r.c:a==ou&&r.d.i==n&&(P=r.d),x=h,!x||!L||P?(T=(dt(),cc),P?T=P.j:P3(u(W(n,vs),98))&&(T=a==cl?On:$n),v=w2n(e,t,n,a,T,r),d=are((Xa(n),r)),a==cl?(Ka(d,u(It(v.j,0),11)),wa(d,i)):(Ka(d,i),wa(d,u(It(v.j,0),11))),x=new nnt(r,d,v,u(W(v,(nt(),Mi)),11),a,!P)):(st(x.e,r),z=b.Math.max(We(gt(W(x.d,Rg))),We(gt(W(r,Rg)))),Qe(x.d,Rg,z)),an(e.a,r,new JR(x.d,t,a)),x}function ZH(e,t){var n,r,i,a,h,d,v,x,T,L;if(T=null,e.d&&(T=u(Gc(e.d,t),138)),!T){if(a=e.a.Mh(),L=a.i,!e.d||ET(e.d)!=L){for(v=new Ar,e.d&&A_(v,e.d),x=v.f.c+v.g.c,d=x;d<L;++d)r=u(_e(a,d),138),i=_g(e.e,r).ne(),n=u(i==null?lu(v.f,null,r):Uv(v.g,i,r),138),n&&n!=r&&(i==null?lu(v.f,null,n):Uv(v.g,i,n));if(v.f.c+v.g.c!=L)for(h=0;h<x;++h)r=u(_e(a,h),138),i=_g(e.e,r).ne(),n=u(i==null?lu(v.f,null,r):Uv(v.g,i,r),138),n&&n!=r&&(i==null?lu(v.f,null,n):Uv(v.g,i,n));e.d=v}T=u(Gc(e.d,t),138)}return T}function w2n(e,t,n,r,i,a){var h,d,v,x,T,L;return h=null,x=r==(vo(),cl)?a.c:a.d,v=Z$(t),x.i==n?(h=u(Jn(e.b,x),10),h||(h=iI(x,u(W(n,(mt(),vs)),98),i,Agn(x),null,x.n,x.o,v,t),Qe(h,(nt(),Mi),x),Si(e.b,x,h))):(h=iI((T=new Qb,L=We(gt(W(t,(mt(),Af))))/2,bD(T,Iy,L),T),u(W(n,vs),98),i,r==cl?-1:1,null,new $a,new Ft(0,0),v,t),d=fun(h,n,r),Qe(h,(nt(),Mi),d),Si(e.b,d,h)),u(W(t,(nt(),Qc)),21).Fc((mo(),Th)),P3(u(W(t,(mt(),vs)),98))?Qe(t,vs,(ya(),mE)):Qe(t,vs,(ya(),Y1)),h}function m2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;Er(t,"Orthogonal edge routing",1),x=We(gt(W(e,(mt(),q4)))),n=We(gt(W(e,G4))),r=We(gt(W(e,Db))),P=new bne(0,n),Q=0,h=new Ca(e.b,0),d=null,T=null,v=null,L=null;do T=h.b<h.d.gc()?(Qn(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),29)):null,L=T?T.a:null,d&&(T5e(d,Q),Q+=d.c.a),K=d?Q+r:Q,q=L5e(P,e,v,L,K),i=!d||MR(v,($H(),gO)),a=!T||MR(L,($H(),gO)),q>0?(z=(q-1)*n,d&&(z+=r),T&&(z+=r),z<x&&!i&&!a&&(z=x),Q+=z):!i&&!a&&(Q+=x),d=T,v=L;while(T);e.f.a=Q,lr(t)}function Xse(){Xse=de;var e;uAe=new L$e,n3t=Ie(Et,Je,2,0,6,1),e3t=D1(V6(33,58),V6(1,26)),t3t=D1(V6(97,122),V6(65,90)),iAe=V6(48,57),Zyt=D1(e3t,0),Jyt=D1(t3t,iAe),sAe=D1(D1(0,V6(1,6)),V6(33,38)),aAe=D1(D1(iAe,V6(65,70)),V6(97,102)),r3t=D1(Zyt,lH("-_.!~*'()")),i3t=D1(Jyt,iH("-_.!~*'()")),lH(k1t),iH(k1t),D1(r3t,lH(";:@&=+$,")),D1(i3t,iH(";:@&=+$,")),oAe=lH(":/?#"),cAe=iH(":/?#"),HS=lH("/?#"),zS=iH("/?#"),e=new Ys,e.a.zc("jar",e),e.a.zc("zip",e),e.a.zc("archive",e),IV=(fn(),new H8(e))}function zct(e,t){var n,r,i,a,h,d,v,x,T,L;if(Qe(t,(xc(),fE),0),v=u(W(t,Yq),86),t.d.b==0)v?(T=We(gt(W(v,Hg)))+e.a+ywe(v,t),Qe(t,Hg,T)):Qe(t,Hg,0);else{for(r=(a=si(new mp(t).a.d,0),new u6(a));QF(r.a);)n=u(ii(r.a),188).c,zct(e,n);d=u(jR((h=si(new mp(t).a.d,0),new u6(h))),86),L=u($Vt((i=si(new mp(t).a.d,0),new u6(i))),86),x=(We(gt(W(L,Hg)))+We(gt(W(d,Hg))))/2,v?(T=We(gt(W(v,Hg)))+e.a+ywe(v,t),Qe(t,Hg,T),Qe(t,fE,We(gt(W(t,Hg)))-x),Sbn(e,t)):Qe(t,Hg,x)}}function g7(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;d=0,q=0,v=jj(e.f,e.f.length),a=e.d,h=e.i,r=e.a,i=e.b;do{for(z=0,T=new C(e.p);T.a<T.c.c.length;)x=u(Y(T),10),P=out(e,x),n=!0,(e.q==(l4(),lO)||e.q==hO)&&(n=Bt(Nt(P.b))),u(P.a,19).a<0&&n?(++z,v=jj(e.f,e.f.length),e.d=e.d+u(P.a,19).a,q+=a-e.d,a=e.d+u(P.a,19).a,h=e.i,r=Nv(e.a),i=Nv(e.b)):(e.f=jj(v,v.length),e.d=a,e.a=(Or(r),r?new Gu(r):rx(new C(r))),e.b=(Or(i),i?new Gu(i):rx(new C(i))),e.i=h);++d,L=z!=0&&Bt(Nt(t.Kb(new _a(lt(q),lt(d)))))}while(L)}function y2n(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;return h=e.f,P=t.f,d=h==(l7(),Dk)||h==TS,z=P==Dk||P==TS,v=h==W4||h==_S,q=P==W4||P==_S,x=h==W4||h==Dk,K=P==W4||P==Dk,d&&z?e.f==TS?e:t:v&&q?e.f==_S?e:t:x&&K?(h==W4?(L=e,T=t):(L=t,T=e),a=(Q=n.j+n.f,ue=L.e+r.f,Se=b.Math.max(Q,ue),Te=Se-b.Math.min(n.j,L.e),Ne=L.d+r.g-n.i,Ne*Te),i=(Ke=n.i+n.g,it=T.d+r.g,kt=b.Math.max(Ke,it),Gt=kt-b.Math.min(n.i,T.d),Ut=T.e+r.f-n.j,Gt*Ut),a<=i?e.f==W4?e:t:e.f==Dk?e:t):e}function k2n(e){var t,n,r,i,a,h,d,v,x,T,L;for(T=e.e.a.c.length,h=new C(e.e.a);h.a<h.c.c.length;)a=u(Y(h),121),a.j=!1;for(e.i=Ie(Sr,Jr,25,T,15,1),e.g=Ie(Sr,Jr,25,T,15,1),e.n=new at,i=0,L=new at,v=new C(e.e.a);v.a<v.c.c.length;)d=u(Y(v),121),d.d=i++,d.b.a.c.length==0&&st(e.n,d),Ps(L,d.g);for(t=0,r=new C(L);r.a<r.c.c.length;)n=u(Y(r),213),n.c=t++,n.f=!1;x=L.c.length,e.b==null||e.b.length<x?(e.b=Ie(va,Ao,25,x,15,1),e.c=Ie(El,s0,25,x,16,1)):wT(e.c),e.d=L,e.p=new Ate(zm(e.d.c.length)),e.j=1}function x2n(e,t){var n,r,i,a,h,d,v,x,T;if(!(t.e.c.length<=1)){for(e.f=t,e.d=u(W(e.f,(OD(),M7e)),379),e.g=u(W(e.f,N7e),19).a,e.e=We(gt(W(e.f,D7e))),e.c=We(gt(W(e.f,BG))),ZKe(e.b),i=new C(e.f.c);i.a<i.c.c.length;)r=u(Y(i),282),n5e(e.b,r.c,r,null),n5e(e.b,r.d,r,null);for(d=e.f.e.c.length,e.a=G2(va,[Je,Ao],[104,25],15,[d,d],2),x=new C(e.f.e);x.a<x.c.c.length;)v=u(Y(x),144),qpn(e,v,e.a[v.b]);for(e.i=G2(va,[Je,Ao],[104,25],15,[d,d],2),a=0;a<d;++a)for(h=0;h<d;++h)n=e.a[a][h],T=1/(n*n),e.i[a][h]=T}}function oC(e){var t,n,r,i;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,i=0;i<e.b.length;){for(t!=i?(e.b[t]=e.b[i++],e.b[t+1]=e.b[i++]):i+=2,n=e.b[t+1];i<e.b.length&&!(n+1<e.b[i]);)if(n+1==e.b[i])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else if(n>=e.b[i+1])i+=2;else if(n<e.b[i+1])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else throw ee(new ec("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[i]+","+e.b[i+1]+"]"));t+=2}t!=e.b.length&&(r=Ie(Sr,Jr,25,t,15,1),Rc(e.b,0,r,0,t),e.b=r),e.a=!0}}function E2n(e,t){var n,r,i,a,h,d,v;for(h=A6(e.a).Kc();h.Ob();){if(a=u(h.Pb(),17),a.b.c.length>0)for(r=new Gu(u(Oi(e.a,a),21)),fn(),aa(r,new Ii(t)),i=new Ca(a.b,0);i.b<i.d.gc();){switch(n=(Qn(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),70)),d=-1,u(W(n,(mt(),Od)),272).g){case 1:d=r.c.length-1;break;case 0:d=Kcn(r);break;case 2:d=0}d!=-1&&(v=(En(d,r.c.length),u(r.c[d],243)),st(v.b.b,n),u(W(Xa(v.b.c.i),(nt(),Qc)),21).Fc((mo(),tE)),u(W(Xa(v.b.c.i),Qc),21).Fc(eE),Dl(i),Qe(n,d9e,a))}Ka(a,null),wa(a,null)}}function T2n(e,t){var n,r,i,a;return n=new Rl,r=u(Gl(Eu(new mn(null,new kn(e.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21),i=r.gc(),i=i==2?1:0,i==1&&wv(CD(u(Gl(qi(r.Lc(),new vu),Bet(ob(0),new er)),162).a,2),0)&&(i=0),r=u(Gl(Eu(new mn(null,new kn(t.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[yy,Zl]))),21),a=r.gc(),a=a==2?1:0,a==1&&wv(CD(u(Gl(qi(r.Lc(),new Mh),Bet(ob(0),new er)),162).a,2),0)&&(a=0),i<a?-1:i==a?0:1}function _2n(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;if(x=new at,!Js(e,(nt(),sle)))return x;for(r=u(W(e,sle),15).Kc();r.Ob();)t=u(r.Pb(),10),R2n(t,e),x.c[x.c.length]=t;for(a=new C(e.b);a.a<a.c.c.length;)for(i=u(Y(a),29),d=new C(i.a);d.a<d.c.c.length;)h=u(Y(d),10),h.k==(zn(),Ls)&&(v=u(W(h,mq),10),v&&(T=new Fc,nc(T,h),L=u(W(h,vc),61),qs(T,L),P=u(It(v.j,0),11),z=new Dv,Ka(z,T),wa(z,P)));for(n=new C(x);n.a<n.c.c.length;)t=u(Y(n),10),Oo(t,u(It(e.b,e.b.c.length-1),29));return x}function Gct(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(t=A1(e),a=Bt(Nt(jt(t,(mt(),Dy)))),T=0,i=0,x=new ir((!e.e&&(e.e=new yn(ta,e,7,4)),e.e));x.e!=x.i.gc();)v=u(br(x),79),d=Jv(v),h=d&&a&&Bt(Nt(jt(v,Ab))),P=Ho(u(_e((!v.c&&(v.c=new yn(kr,v,5,8)),v.c),0),82)),d&&h?++i:d&&!h?++T:ls(P)==t||P==t?++i:++T;for(r=new ir((!e.d&&(e.d=new yn(ta,e,8,5)),e.d));r.e!=r.i.gc();)n=u(br(r),79),d=Jv(n),h=d&&a&&Bt(Nt(jt(n,Ab))),L=Ho(u(_e((!n.b&&(n.b=new yn(kr,n,4,7)),n.b),0),82)),d&&h?++T:d&&!h?++i:ls(L)==t||L==t?++T:++i;return T-i}function C2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(Er(t,"Edge splitting",1),e.b.c.length<=2){lr(t);return}for(a=new Ca(e.b,0),h=(Qn(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),29));a.b<a.d.gc();)for(i=h,h=(Qn(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),29)),v=new C(i.a);v.a<v.c.c.length;)for(d=u(Y(v),10),T=new C(d.j);T.a<T.c.c.length;)for(x=u(Y(T),11),r=new C(x.g);r.a<r.c.c.length;)n=u(Y(r),17),P=n.d,L=P.i.c,L!=i&&L!=h&&iot(n,(z=new H0(e),T0(z,(zn(),ca)),Qe(z,(nt(),Mi),n),Qe(z,(mt(),vs),(ya(),Zc)),Oo(z,h),z));lr(t)}function qct(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(d=t.p!=null&&!t.b,d||Er(t,Zlt,1),n=u(W(e,(nt(),lle)),15),h=1/n.gc(),t.n)for(z2(t,"ELK Layered uses the following "+n.gc()+" modules:"),z=0,P=n.Kc();P.Ob();)T=u(P.Pb(),51),r=(z<10?"0":"")+z++,z2(t," Slot "+r+": "+xp(pl(T)));for(L=n.Kc();L.Ob();)T=u(L.Pb(),51),T.pf(e,Vc(t,h));for(a=new C(e.b);a.a<a.c.c.length;)i=u(Y(a),29),Ps(e.a,i.a),i.a.c=Ie(Xn,_t,1,0,5,1);for(x=new C(e.a);x.a<x.c.c.length;)v=u(Y(x),10),Oo(v,null);e.b.c=Ie(Xn,_t,1,0,5,1),d||lr(t)}function S2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;r=We(gt(W(t,(mt(),vTe)))),Ke=u(W(t,lS),19).a,P=4,i=3,it=20/Ke,z=!1,v=0,h=xi;do{for(a=v!=1,L=v!=0,kt=0,Q=e.a,Se=0,Ne=Q.length;Se<Ne;++Se)q=Q[Se],q.f=null,gvn(e,q,a,L,r),kt+=b.Math.abs(q.a);do d=spn(e,t);while(d);for(K=e.a,ue=0,Te=K.length;ue<Te;++ue)if(q=K[ue],n=vve(q).a,n!=0)for(T=new C(q.e);T.a<T.c.c.length;)x=u(Y(T),10),x.n.b+=n;v==0||v==1?(--P,P<=0&&(kt<h||-P>Ke)?(v=2,h=xi):v==0?(v=1,h=kt):(v=0,h=kt)):(z=kt>=h||h-kt<it,h=kt,z&&--i)}while(!(z&&i<=0))}function Qse(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;for(q=new Ar,a=e.a.ec().Kc();a.Ob();)r=u(a.Pb(),168),Si(q,r,n.Je(r));for(h=(Or(e),e?new Gu(e):rx(e.a.ec().Kc())),aa(h,new Un(q)),d=Zj(h),v=new FR(t),z=new Ar,lu(z.f,t,v);d.a.gc()!=0;){for(x=null,T=null,L=null,i=d.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),168),We(gt(hc(jo(q.f,r))))<=ps){if(Ml(z,r.a)&&!Ml(z,r.b)){T=r.b,L=r.a,x=r;break}if(Ml(z,r.b)&&!Ml(z,r.a)){T=r.a,L=r.b,x=r;break}}if(!x)break;P=new FR(T),st(u(hc(jo(z.f,L)),221).a,P),lu(z.f,T,P),d.a.Bc(x)!=null}return v}function A2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;for(Er(n,"Depth-first cycle removal",1),L=t.a,T=L.c.length,e.c=new at,e.d=Ie(El,s0,25,T,16,1),e.a=Ie(El,s0,25,T,16,1),e.b=new at,h=0,x=new C(L);x.a<x.c.c.length;)v=u(Y(x),10),v.p=h,vx(Wo(v))&&st(e.c,v),++h;for(z=new C(e.c);z.a<z.c.c.length;)P=u(Y(z),10),t4e(e,P);for(a=0;a<T;a++)e.d[a]||(d=(En(a,L.c.length),u(L.c[a],10)),t4e(e,d));for(i=new C(e.b);i.a<i.c.c.length;)r=u(Y(i),17),rw(r,!0),Qe(t,(nt(),tO),(In(),!0));e.c=null,e.d=null,e.a=null,e.b=null,lr(n)}function L2n(e,t){var n,r,i,a,h,d,v;for(e.a.c=Ie(Xn,_t,1,0,5,1),r=si(t.b,0);r.b!=r.d.c;)n=u(ii(r),86),n.b.b==0&&(Qe(n,(xc(),Ry),(In(),!0)),st(e.a,n));switch(e.a.c.length){case 0:i=new Ure(0,t,"DUMMY_ROOT"),Qe(i,(xc(),Ry),(In(),!0)),Qe(i,Zle,!0),oi(t.b,i);break;case 1:break;default:for(a=new Ure(0,t,"SUPER_ROOT"),d=new C(e.a);d.a<d.c.c.length;)h=u(Y(d),86),v=new Hve(a,h),Qe(v,(xc(),Zle),(In(),!0)),oi(a.a.a,v),oi(a.d,v),oi(h.b,v),Qe(h,Ry,!1);Qe(a,(xc(),Ry),(In(),!0)),Qe(a,Zle,!0),oi(t.b,a)}}function M2n(e,t){f4();var n,r,i,a,h,d;return a=t.c-(e.c+e.b),i=e.c-(t.c+t.b),h=e.d-(t.d+t.a),n=t.d-(e.d+e.a),r=b.Math.max(i,a),d=b.Math.max(h,n),C1(),kf(Cd),(b.Math.abs(r)<=Cd||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:mv(isNaN(r),isNaN(0)))>=0^(kf(Cd),(b.Math.abs(d)<=Cd||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:mv(isNaN(d),isNaN(0)))>=0)?b.Math.max(d,r):(kf(Cd),(b.Math.abs(r)<=Cd||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:mv(isNaN(r),isNaN(0)))>0?b.Math.sqrt(d*d+r*r):-b.Math.sqrt(d*d+r*r))}function fb(e,t){var n,r,i,a,h,d;if(t){if(!e.a&&(e.a=new HF),e.e==2){$F(e.a,t);return}if(t.e==1){for(i=0;i<t.em();i++)fb(e,t.am(i));return}if(d=e.a.a.c.length,d==0){$F(e.a,t);return}if(h=u(Av(e.a,d-1),117),!((h.e==0||h.e==10)&&(t.e==0||t.e==10))){$F(e.a,t);return}a=t.e==0?2:t.bm().length,h.e==0?(n=new yT,r=h._l(),r>=ao?To(n,pye(r)):ux(n,r&Ss),h=new Fne(10,null,0),sXt(e.a,h,d-1)):(n=(h.bm().length+a,new yT),To(n,h.bm())),t.e==0?(r=t._l(),r>=ao?To(n,pye(r)):ux(n,r&Ss)):To(n,t.bm()),u(h,521).b=n.a}}function Vct(e){var t,n,r,i,a;return e.g!=null?e.g:e.a<32?(e.g=Gvn(Mu(e.f),_s(e.e)),e.g):(i=iae((!e.c&&(e.c=mD(e.f)),e.c),0),e.e==0?i:(t=(!e.c&&(e.c=mD(e.f)),e.c).e<0?2:1,n=i.length,r=-e.e+n-t,a=new yp,a.a+=""+i,e.e>0&&r>=-6?r>=0?RM(a,n-_s(e.e),String.fromCharCode(46)):(a.a=$l(a.a,0,t-1)+"0."+dM(a.a,t-1),RM(a,t+1,Fh(_b,0,-_s(r)-1))):(n-t>=1&&(RM(a,t,String.fromCharCode(46)),++n),RM(a,n,String.fromCharCode(69)),r>0&&RM(a,++n,String.fromCharCode(43)),RM(a,++n,""+a_(Mu(r)))),e.g=a.a,e.g))}function D2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!n.dc()){for(d=0,P=0,r=n.Kc(),q=u(r.Pb(),19).a;d<t.f;){if(d==q&&(P=0,r.Ob()?q=u(r.Pb(),19).a:q=t.f+1),d!=P){for(Q=u(It(e.b,d),29),z=u(It(e.b,P),29),K=Nv(Q.a),L=new C(K);L.a<L.c.c.length;)if(T=u(Y(L),10),Zm(T,z.a.c.length,z),P==0)for(h=Nv(Wo(T)),a=new C(h);a.a<a.c.c.length;)i=u(Y(a),17),rw(i,!0),Qe(e,(nt(),tO),(In(),!0)),Qct(e,i,1)}++P,++d}for(v=new Ca(e.b,0);v.b<v.d.gc();)x=(Qn(v.b<v.d.gc()),u(v.d.Xb(v.c=v.b++),29)),x.a.c.length==0&&Dl(v)}}function I2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(h=t.b,T=h.o,v=h.d,r=We(gt(hH(h,(mt(),Af)))),i=We(gt(hH(h,Mk))),x=We(gt(hH(h,Sle))),d=new mee,$be(d,v.d,v.c,v.a,v.b),P=K0n(t,r,i,x),ue=new C(t.d);ue.a<ue.c.c.length;){for(Q=u(Y(ue),101),q=Q.f.a.ec().Kc();q.Ob();)z=u(q.Pb(),409),a=z.a,L=Run(z),n=(Se=new $u,xit(z,z.c,P,Se),lln(z,L,P,Se),xit(z,z.d,P,Se),Se),n=e.Uf(z,L,n),Ph(a.a),ro(a.a,n),ms(new mn(null,new kn(n,16)),new iGe(T,d));K=Q.i,K&&(Cun(Q,K,P,i),Te=new Do(K.g),$ye(T,d,Te),Ni(Te,K.j),$ye(T,d,Te))}$be(v,d.d,d.c,d.a,d.b)}function O2n(e,t,n){var r,i,a;if(i=u(W(t,(mt(),Eq)),275),i!=(i7(),JC)){switch(Er(n,"Horizontal Compaction",1),e.a=t,a=new KZe,r=new Wst((a.d=t,a.c=u(W(a.d,W0),218),N0n(a),_bn(a),H0n(a),a.a)),IGt(r,e.b),u(W(t,U9e),422).g){case 1:hHe(r,new cet(e.a));break;default:hHe(r,($ve(),n0t))}switch(i.g){case 1:Z_(r);break;case 2:Z_(tz(r,(wo(),Lf)));break;case 3:Z_(lHe(tz(Z_(r),(wo(),Lf)),new x9));break;case 4:Z_(lHe(tz(Z_(r),(wo(),Lf)),new zd(a)));break;case 5:Z_(DGt(r,apt))}tz(r,(wo(),Wh)),r.e=!0,cvn(a),lr(n)}}function N2n(e,t,n,r,i,a,h,d){var v,x,T,L;switch(v=I1(ie(ne(fmn,1),_t,220,0,[t,n,r,i])),L=null,e.b.g){case 1:L=I1(ie(ne(q_e,1),_t,526,0,[new M9,new L9,new gL]));break;case 0:L=I1(ie(ne(q_e,1),_t,526,0,[new gL,new L9,new M9]));break;case 2:L=I1(ie(ne(q_e,1),_t,526,0,[new L9,new M9,new gL]))}for(T=new C(L);T.a<T.c.c.length;)x=u(Y(T),526),v.c.length>1&&(v=x.mg(v,e.a,d));return v.c.length==1?u(It(v,v.c.length-1),220):v.c.length==2?y2n((En(0,v.c.length),u(v.c[0],220)),(En(1,v.c.length),u(v.c[1],220)),h,a):null}function Uct(e){var t,n,r,i,a,h;for(Su(e.a,new rm),n=new C(e.a);n.a<n.c.c.length;)t=u(Y(n),221),r=pa(fc(u(e.b,65).c),u(t.b,65).c),H0t?(h=u(e.b,65).b,a=u(t.b,65).b,b.Math.abs(r.a)>=b.Math.abs(r.b)?(r.b=0,a.d+a.a>h.d&&a.d<h.d+h.a&&rj(r,b.Math.max(h.c-(a.c+a.b),a.c-(h.c+h.b)))):(r.a=0,a.c+a.b>h.c&&a.c<h.c+h.b&&rj(r,b.Math.max(h.d-(a.d+a.a),a.d-(h.d+h.a))))):rj(r,kct(u(e.b,65),u(t.b,65))),i=b.Math.sqrt(r.a*r.a+r.b*r.b),i=vit(VC,t,i,r),rj(r,i),rne(u(t.b,65),r),Su(t.a,new ri(r)),u(VC.b,65),Owe(VC,d7e,t)}function P2n(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;for(e.f=new wee,x=0,i=0,h=new C(e.e.b);h.a<h.c.c.length;)for(a=u(Y(h),29),v=new C(a.a);v.a<v.c.c.length;){for(d=u(Y(v),10),d.p=x++,r=new ur(dr(Fs(d).a.Kc(),new V));Vr(r);)n=u(Nr(r),17),n.p=i++;for(t=Kse(d),P=new C(d.j);P.a<P.c.c.length;)L=u(Y(P),11),t&&(q=L.a.b,q!=b.Math.floor(q)&&(T=q-Pv(Mu(b.Math.round(q))),L.a.b-=T)),z=L.n.b+L.a.b,z!=b.Math.floor(z)&&(T=z-Pv(Mu(b.Math.round(z))),L.n.b-=T)}e.g=x,e.b=i,e.i=Ie(umn,_t,401,x,0,1),e.c=Ie(cmn,_t,649,i,0,1),e.d.a.$b()}function _r(e){var t,n,r,i,a,h,d,v,x;if(e.ej())if(v=e.fj(),e.i>0){if(t=new o2e(e.i,e.g),n=e.i,a=n<100?null:new kp(n),e.ij())for(r=0;r<e.i;++r)h=e.g[r],a=e.kj(h,a);if(k_(e),i=n==1?e.Zi(4,_e(t,0),null,0,v):e.Zi(6,t,null,-1,v),e.bj()){for(r=new E6(t);r.e!=r.i.gc();)a=e.dj(Aie(r),a);a?(a.Ei(i),a.Fi()):e.$i(i)}else a?(a.Ei(i),a.Fi()):e.$i(i)}else k_(e),e.$i(e.Zi(6,(fn(),bo),null,-1,v));else if(e.bj())if(e.i>0){for(d=e.g,x=e.i,k_(e),a=x<100?null:new kp(x),r=0;r<x;++r)h=d[r],a=e.dj(h,a);a&&a.Fi()}else k_(e);else k_(e)}function E5e(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(Vet(this),n==(Iv(),l2)?zs(this.r,e):zs(this.w,e),T=ps,x=Ds,h=t.a.ec().Kc();h.Ob();)i=u(h.Pb(),46),d=u(i.a,455),r=u(i.b,17),v=r.c,v==e&&(v=r.d),d==l2?zs(this.r,v):zs(this.w,v),P=(dt(),Nu).Hc(v.j)?We(gt(W(v,(nt(),iE)))):ic(ie(ne(ea,1),Je,8,0,[v.i.n,v.n,v.a])).b,T=b.Math.min(T,P),x=b.Math.max(x,P);for(L=(dt(),Nu).Hc(e.j)?We(gt(W(e,(nt(),iE)))):ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a])).b,jit(this,L,T,x),a=t.a.ec().Kc();a.Ob();)i=u(a.Pb(),46),Yit(this,u(i.b,17));this.o=!1}function B2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;return n=e.l&8191,r=e.l>>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,h=(e.h&1048320)>>8,d=t.l&8191,v=t.l>>13|(t.m&15)<<9,x=t.m>>4&8191,T=t.m>>17|(t.h&255)<<5,L=(t.h&1048320)>>8,Gt=n*d,Ut=r*d,Nn=i*d,Rn=a*d,gr=h*d,v!=0&&(Ut+=n*v,Nn+=r*v,Rn+=i*v,gr+=a*v),x!=0&&(Nn+=n*x,Rn+=r*x,gr+=i*x),T!=0&&(Rn+=n*T,gr+=r*T),L!=0&&(gr+=n*L),z=Gt&ml,q=(Ut&511)<<13,P=z+q,Q=Gt>>22,ue=Ut>>9,Se=(Nn&262143)<<4,Te=(Rn&31)<<17,K=Q+ue+Se+Te,Ke=Nn>>18,it=Rn>>5,kt=(gr&4095)<<8,Ne=Ke+it+kt,K+=P>>22,P&=ml,Ne+=K>>22,K&=ml,Ne&=V0,cu(P,K,Ne)}function Kct(e){var t,n,r,i,a,h,d;if(d=u(It(e.j,0),11),d.g.c.length!=0&&d.e.c.length!=0)throw ee(new Vo("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(a=ps,n=new C(d.g);n.a<n.c.c.length;)t=u(Y(n),17),h=t.d.i,r=u(W(h,(mt(),Mq)),142),a=b.Math.min(a,h.n.a-r.b);return new L8(Or(a))}if(d.e.c.length!=0){for(i=Ds,n=new C(d.e);n.a<n.c.c.length;)t=u(Y(n),17),h=t.c.i,r=u(W(h,(mt(),Mq)),142),i=b.Math.max(i,h.n.a+h.o.a+r.c);return new L8(Or(i))}return gT(),gT(),$ce}function Wct(e,t){var n,r,i,a,h,d,v;if(e.Fk()){if(e.i>4)if(e.wj(t)){if(e.rk()){if(i=u(t,49),r=i.Ug(),v=r==e.e&&(e.Dk()?i.Og(i.Vg(),e.zk())==e.Ak():-1-i.Vg()==e.aj()),e.Ek()&&!v&&!r&&i.Zg()){for(a=0;a<e.i;++a)if(n=e.Gk(u(e.g[a],56)),$e(n)===$e(t))return!0}return v}else if(e.Dk()&&!e.Ck()){if(h=u(t,56).ah(go(u(e.ak(),18))),$e(h)===$e(e.e))return!0;if(h==null||!u(h,56).kh())return!1}}else return!1;if(d=n7(e,t),e.Ek()&&!d){for(a=0;a<e.i;++a)if(i=e.Gk(u(e.g[a],56)),$e(i)===$e(t))return!0}return d}else return n7(e,t)}function F2n(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(T=new at,P=new Ys,h=t.b,i=0;i<h.c.length;i++){for(x=(En(i,h.c.length),u(h.c[i],29)).a,T.c=Ie(Xn,_t,1,0,5,1),a=0;a<x.c.length;a++)d=e.a[i][a],d.p=a,d.k==(zn(),Xc)&&(T.c[T.c.length]=d),gh(u(It(t.b,i),29).a,a,d),d.j.c=Ie(Xn,_t,1,0,5,1),Ps(d.j,u(u(It(e.b,i),15).Xb(a),14)),_6(u(W(d,(mt(),vs)),98))||Qe(d,vs,(ya(),Fb));for(r=new C(T);r.a<r.c.c.length;)n=u(Y(r),10),L=sgn(n),P.a.zc(L,P),P.a.zc(n,P)}for(v=P.a.ec().Kc();v.Ob();)d=u(v.Pb(),10),fn(),aa(d.j,(Gx(),LEe)),d.i=!0,c4e(d)}function R2n(e,t){var n,r,i,a,h,d,v,x,T,L;if(T=u(W(e,(nt(),vc)),61),r=u(It(e.j,0),11),T==(dt(),Ln)?qs(r,Tr):T==Tr&&qs(r,Ln),u(W(t,(mt(),Lb)),174).Hc((Nl(),Rb))){if(v=We(gt(W(e,uE))),x=We(gt(W(e,lE))),h=We(gt(W(e,Py))),d=u(W(t,Oy),21),d.Hc((al(),Z0)))for(n=x,L=e.o.a/2-r.n.a,a=new C(r.f);a.a<a.c.c.length;)i=u(Y(a),70),i.n.b=n,i.n.a=L-i.o.a/2,n+=i.o.b+h;else if(d.Hc(p2))for(a=new C(r.f);a.a<a.c.c.length;)i=u(Y(a),70),i.n.a=v+e.o.a-r.n.a;aJt(new rr((TT(),new Cne(t,!1,!1,new TP))),new ej(null,e,!1))}}function j2n(e,t){var n,r,i,a,h,d,v,x,T;if(t.c.length!=0){for(fn(),tne(t.c,t.c.length,null),i=new C(t),r=u(Y(i),145);i.a<i.c.c.length;)n=u(Y(i),145),Qwe(r.e.c,n.e.c)&&!(Fye(PVe(r.e).b,n.e.d)||Fye(PVe(n.e).b,r.e.d))?r=(Ps(r.k,n.k),Ps(r.b,n.b),Ps(r.c,n.c),ro(r.i,n.i),Ps(r.d,n.d),Ps(r.j,n.j),a=b.Math.min(r.e.c,n.e.c),h=b.Math.min(r.e.d,n.e.d),d=b.Math.max(r.e.c+r.e.b,n.e.c+n.e.b),v=d-a,x=b.Math.max(r.e.d+r.e.a,n.e.d+n.e.a),T=x-h,WUe(r.e,a,h,v,T),eJt(r.f,n.f),!r.a&&(r.a=n.a),Ps(r.g,n.g),st(r.g,n),r):(fct(e,r),r=n);fct(e,r)}}function $2n(e,t,n,r){var i,a,h,d,v,x;if(d=e.j,d==(dt(),cc)&&t!=(ya(),Y1)&&t!=(ya(),g2)&&(d=act(e,n),qs(e,d),!(e.q?e.q:(fn(),fn(),o0))._b((mt(),Iy))&&d!=cc&&(e.n.a!=0||e.n.b!=0)&&Qe(e,Iy,icn(e,d))),t==(ya(),f0)){switch(x=0,d.g){case 1:case 3:a=e.i.o.a,a>0&&(x=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(x=e.n.b/i)}Qe(e,(nt(),xw),x)}if(v=e.o,h=e.a,r)h.a=r.a,h.b=r.b,e.d=!0;else if(t!=Y1&&t!=g2&&d!=cc)switch(d.g){case 1:h.a=v.a/2;break;case 2:h.a=v.a,h.b=v.b/2;break;case 3:h.a=v.a/2,h.b=v.b;break;case 4:h.b=v.b/2}else h.a=v.a/2,h.b=v.b/2}function cC(e){var t,n,r,i,a,h,d,v,x,T;if(e.ej())if(T=e.Vi(),v=e.fj(),T>0)if(t=new mme(e.Gi()),n=T,a=n<100?null:new kp(n),mM(e,n,t.g),i=n==1?e.Zi(4,_e(t,0),null,0,v):e.Zi(6,t,null,-1,v),e.bj()){for(r=new ir(t);r.e!=r.i.gc();)a=e.dj(br(r),a);a?(a.Ei(i),a.Fi()):e.$i(i)}else a?(a.Ei(i),a.Fi()):e.$i(i);else mM(e,e.Vi(),e.Wi()),e.$i(e.Zi(6,(fn(),bo),null,-1,v));else if(e.bj())if(T=e.Vi(),T>0){for(d=e.Wi(),x=T,mM(e,T,d),a=x<100?null:new kp(x),r=0;r<x;++r)h=d[r],a=e.dj(h,a);a&&a.Fi()}else mM(e,e.Vi(),e.Wi());else mM(e,e.Vi(),e.Wi())}function H2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;for(d=new C(t);d.a<d.c.c.length;)a=u(Y(d),233),a.e=null,a.c=0;for(v=null,h=new C(t);h.a<h.c.c.length;)if(a=u(Y(h),233),L=a.d[0],!(n&&L.k!=(zn(),js))){for(z=u(W(L,(nt(),Tk)),15).Kc();z.Ob();)P=u(z.Pb(),10),(!n||P.k==(zn(),js))&&((!a.e&&(a.e=new at),a.e).Fc(e.b[P.c.p][P.p]),++e.b[P.c.p][P.p].c);if(!n&&L.k==(zn(),js)){if(v)for(T=u(Oi(e.d,v),21).Kc();T.Ob();)for(x=u(T.Pb(),10),i=u(Oi(e.d,L),21).Kc();i.Ob();)r=u(i.Pb(),10),JWt(e.b[x.c.p][x.p]).Fc(e.b[r.c.p][r.p]),++e.b[r.c.p][r.p].c;v=L}}}function z2n(e,t){var n,r,i,a,h,d,v,x,T;for(n=0,T=new at,d=new C(t);d.a<d.c.c.length;){switch(h=u(Y(d),11),Yme(e.b,e.d[h.p]),T.c=Ie(Xn,_t,1,0,5,1),h.i.k.g){case 0:r=u(W(h,(nt(),ol)),10),Su(r.j,new LRe(T));break;case 1:fVt(Vre(qi(new mn(null,new kn(h.i.j,16)),new MRe(h))),new DRe(T));break;case 3:i=u(W(h,(nt(),Mi)),11),st(T,new _a(i,lt(h.e.c.length+h.g.c.length)))}for(x=new C(T);x.a<x.c.c.length;)v=u(Y(x),46),a=kpe(e,u(v.a,11)),a>e.d[h.p]&&(n+=vwe(e.b,a)*u(v.b,19).a,Bp(e.a,lt(a)));for(;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function G2n(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;for(L=new Do(u(jt(e,(MH(),RCe)),8)),L.a=b.Math.max(L.a-n.b-n.c,0),L.b=b.Math.max(L.b-n.d-n.a,0),i=gt(jt(e,PCe)),(i==null||(An(i),i<=0))&&(i=1.3),d=new at,q=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));q.e!=q.i.gc();)z=u(br(q),33),h=new xVe(z),d.c[d.c.length]=h;switch(P=u(jt(e,_he),311),P.g){case 3:Q=hpn(d,t,L.a,L.b,(x=r,An(i),x));break;case 1:Q=Fpn(d,t,L.a,L.b,(T=r,An(i),T));break;default:Q=U2n(d,t,L.a,L.b,(v=r,An(i),v))}a=new k$(Q),K=nae(a,t,n,L.a,L.b,r,(An(i),i)),iw(e,K.a,K.b,!1,!0)}function q2n(e,t){var n,r,i,a;n=t.b,a=new Gu(n.j),i=0,r=n.j,r.c=Ie(Xn,_t,1,0,5,1),Sv(u(eb(e.b,(dt(),Ln),(Gv(),ww)),15),n),i=DD(a,i,new nX,r),Sv(u(eb(e.b,Ln,s2),15),n),i=DD(a,i,new T9,r),Sv(u(eb(e.b,Ln,vw),15),n),Sv(u(eb(e.b,$n,ww),15),n),Sv(u(eb(e.b,$n,s2),15),n),i=DD(a,i,new ZP,r),Sv(u(eb(e.b,$n,vw),15),n),Sv(u(eb(e.b,Tr,ww),15),n),i=DD(a,i,new JP,r),Sv(u(eb(e.b,Tr,s2),15),n),i=DD(a,i,new eB,r),Sv(u(eb(e.b,Tr,vw),15),n),Sv(u(eb(e.b,On,ww),15),n),i=DD(a,i,new sX,r),Sv(u(eb(e.b,On,s2),15),n),Sv(u(eb(e.b,On,vw),15),n)}function V2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(Er(t,"Layer size calculation",1),T=ps,x=Ds,i=!1,d=new C(e.b);d.a<d.c.c.length;)if(h=u(Y(d),29),v=h.c,v.a=0,v.b=0,h.a.c.length!=0){for(i=!0,P=new C(h.a);P.a<P.c.c.length;)L=u(Y(P),10),q=L.o,z=L.d,v.a=b.Math.max(v.a,q.a+z.b+z.c);r=u(It(h.a,0),10),K=r.n.b-r.d.d,r.k==(zn(),Ls)&&(K-=u(W(e,(mt(),uO)),142).d),a=u(It(h.a,h.a.c.length-1),10),n=a.n.b+a.o.b+a.d.a,a.k==Ls&&(n+=u(W(e,(mt(),uO)),142).a),v.b=n-K,T=b.Math.min(T,K),x=b.Math.max(x,n)}i||(T=0,x=0),e.f.b=x-T,e.c.b-=T,lr(t)}function T5e(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(a=0,h=0,x=new C(e.a);x.a<x.c.c.length;)d=u(Y(x),10),a=b.Math.max(a,d.d.b),h=b.Math.max(h,d.d.c);for(v=new C(e.a);v.a<v.c.c.length;){switch(d=u(Y(v),10),n=u(W(d,(mt(),Id)),248),n.g){case 1:q=0;break;case 2:q=1;break;case 5:q=.5;break;default:for(r=0,L=0,z=new C(d.j);z.a<z.c.c.length;)P=u(Y(z),11),P.e.c.length==0||++r,P.g.c.length==0||++L;r+L==0?q=.5:q=L/(r+L)}Q=e.c,T=d.o.a,ue=(Q.a-T)*q,q>.5?ue-=h*2*(q-.5):q<.5&&(ue+=a*2*(.5-q)),i=d.d.b,ue<i&&(ue=i),K=d.d.c,ue>Q.a-K-T&&(ue=Q.a-K-T),d.n.a=t+ue}}function U2n(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q;for(d=Ie(va,Ao,25,e.c.length,15,1),P=new yj(new EB),a3e(P,e),x=0,K=new at;P.b.c.length!=0;)if(h=u(P.b.c.length==0?null:It(P.b,0),157),x>1&&qu(h)*Ll(h)/2>d[0]){for(a=0;a<K.c.length-1&&qu(h)*Ll(h)/2>d[a];)++a;q=new Yd(K,0,a+1),L=new k$(q),T=qu(h)/Ll(h),v=nae(L,t,new h6,n,r,i,T),Ni(Yf(L.e),v),yx(r7(P,L)),z=new Yd(K,a+1,K.c.length),a3e(P,z),K.c=Ie(Xn,_t,1,0,5,1),x=0,kKe(d,d.length,0)}else Q=P.b.c.length==0?null:It(P.b,0),Q!=null&&Ore(P,0),x>0&&(d[x]=d[x-1]),d[x]+=qu(h)*Ll(h),++x,K.c[K.c.length]=h;return K}function K2n(e){var t,n,r,i,a;if(r=u(W(e,(mt(),du)),163),r==(mh(),a2)){for(n=new ur(dr(Wo(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),!IQe(t))throw ee(new A3(loe+ID(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==Sy){for(a=new ur(dr(Fs(e).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),!IQe(i))throw ee(new A3(loe+ID(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 W2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;for(Er(t,"Label dummy removal",1),r=We(gt(W(e,(mt(),Mk)))),i=We(gt(W(e,Py))),x=u(W(e,Jl),103),v=new C(e.b);v.a<v.c.c.length;)for(d=u(Y(v),29),L=new Ca(d.a,0);L.b<L.d.gc();)T=(Qn(L.b<L.d.gc()),u(L.d.Xb(L.c=L.b++),10)),T.k==(zn(),Pl)&&(P=u(W(T,(nt(),Mi)),17),q=We(gt(W(P,Rg))),h=$e(W(T,_k))===$e((Kl(),f2)),n=new Do(T.n),h&&(n.b+=q+r),a=new Ft(T.o.a,T.o.b-q-r),z=u(W(T,iO),15),x==(wo(),X0)||x==Y0?L0n(z,n,i,a,h,x):lin(z,n,i,a),Ps(P.b,z),Zse(T,$e(W(e,W0))===$e(($0(),MO))),Dl(L));lr(t)}function Y2n(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(v=new at,a=new C(t.a);a.a<a.c.c.length;)for(i=u(Y(a),10),d=new C(i.j);d.a<d.c.c.length;){for(h=u(Y(d),11),T=null,Te=vd(h.g),Ne=0,Ke=Te.length;Ne<Ke;++Ne)Se=Te[Ne],Px(Se.d.i,n)||(ue=Yse(e,t,n,Se,Se.c,(vo(),ou),T),ue!=T&&(v.c[v.c.length]=ue),ue.c&&(T=ue));for(x=null,q=vd(h.e),K=0,Q=q.length;K<Q;++K)z=q[K],Px(z.c.i,n)||(ue=Yse(e,t,n,z,z.d,(vo(),cl),x),ue!=x&&(v.c[v.c.length]=ue),ue.c&&(x=ue))}for(P=new C(v);P.a<P.c.c.length;)L=u(Y(P),441),Ko(t.a,L.a,0)!=-1||st(t.a,L.a),L.c&&(r.c[r.c.length]=L)}function X2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(Er(n,"Interactive cycle breaking",1),L=new at,z=new C(t.a);z.a<z.c.c.length;)for(P=u(Y(z),10),P.p=1,q=k3e(P).a,T=Wv(P,(vo(),ou)).Kc();T.Ob();)for(x=u(T.Pb(),11),a=new C(x.g);a.a<a.c.c.length;)r=u(Y(a),17),K=r.d.i,K!=P&&(Q=k3e(K).a,Q<q&&(L.c[L.c.length]=r));for(h=new C(L);h.a<h.c.c.length;)r=u(Y(h),17),rw(r,!0);for(L.c=Ie(Xn,_t,1,0,5,1),v=new C(t.a);v.a<v.c.c.length;)d=u(Y(v),10),d.p>0&&est(e,d,L);for(i=new C(L);i.a<i.c.c.length;)r=u(Y(i),17),rw(r,!0);L.c=Ie(Xn,_t,1,0,5,1),lr(n)}function Yct(e,t){var n,r,i,a,h,d,v,x,T;return x="",t.length==0?e.de(U5e,lae,-1,-1):(T=ey(t),on(T.substr(0,3),"at ")&&(T=T.substr(3)),T=T.replace(/\[.*?\]/g,""),h=T.indexOf("("),h==-1?(h=T.indexOf("@"),h==-1?(x=T,T=""):(x=ey(T.substr(h+1)),T=ey(T.substr(0,h)))):(n=T.indexOf(")",h),x=T.substr(h+1,n-(h+1)),T=ey(T.substr(0,h))),h=hd(T,Du(46)),h!=-1&&(T=T.substr(h+1)),(T.length==0||on(T,"Anonymous function"))&&(T=lae),d=zR(x,Du(58)),i=kbe(x,Du(58),d-1),v=-1,r=-1,a=U5e,d!=-1&&i!=-1&&(a=x.substr(0,i),v=gVe(x.substr(i+1,d-(i+1))),r=gVe(x.substr(d+1))),e.de(a,T,v,r))}function _5e(e,t,n){var r,i,a,h,d,v;if(t.l==0&&t.m==0&&t.h==0)throw ee(new qF("divide by zero"));if(e.l==0&&e.m==0&&e.h==0)return n&&(t2=cu(0,0,0)),cu(0,0,0);if(t.h==hI&&t.m==0&&t.l==0)return hsn(e,n);if(v=!1,t.h>>19&&(t=jx(t),v=!v),h=K1n(t),a=!1,i=!1,r=!1,e.h==hI&&e.m==0&&e.l==0)if(i=!0,a=!0,h==-1)e=dqe((Tx(),lxe)),r=!0,v=!v;else return d=E4e(e,h),v&&Gre(d),n&&(t2=cu(0,0,0)),d;else e.h>>19&&(a=!0,e=jx(e),r=!0,v=!v);return h!=-1?Nrn(e,h,v,a,n):g3e(e,t)<0?(n&&(a?t2=jx(e):t2=cu(e.l,e.m,e.h)),cu(0,0,0)):Rgn(r?e:cu(e.l,e.m,e.h),t,v,a,i,n)}function JH(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(e.e&&e.c.c<e.f)throw ee(new Vo("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(T=u(Wf(e.g),9),z=qd(e.f),a=T,d=0,x=a.length;d<x;++d)r=a[d],L=u(ZM(e,r.g),246),L?st(z,u(pnt(e,L),123)):z.c[z.c.length]=null;for(q=new Xs,ms(qi(Eu(qi(new mn(null,new kn(z,16)),new GQ),new QRe(t)),new qQ),new ZRe(q)),Ul(q,e.a),n=new at,i=T,h=0,v=i.length;h<v;++h)r=i[h],Ps(n,ett(e,Nj(u(ZM(q,r.g),20)))),P=u(It(z,r.g),123),P&&(n.c[n.c.length]=P);return Ps(n,ett(e,Nj(u(ZM(q,T[T.length-1].g+1),20)))),n}function Q2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(Er(n,"Model order cycle breaking",1),e.a=0,e.b=0,z=new at,T=t.a.c.length,x=new C(t.a);x.a<x.c.c.length;)v=u(Y(x),10),Js(v,(nt(),Oc))&&(T=b.Math.max(T,u(W(v,Oc),19).a+1));for(K=new C(t.a);K.a<K.c.c.length;)for(q=u(Y(K),10),h=lst(e,q,T),P=Wv(q,(vo(),ou)).Kc();P.Ob();)for(L=u(P.Pb(),11),a=new C(L.g);a.a<a.c.c.length;)r=u(Y(a),17),Q=r.d.i,d=lst(e,Q,T),d<h&&(z.c[z.c.length]=r);for(i=new C(z);i.a<i.c.c.length;)r=u(Y(i),17),rw(r,!0),Qe(t,(nt(),tO),(In(),!0));z.c=Ie(Xn,_t,1,0,5,1),lr(n)}function Z2n(e,t){var n,r,i,a,h,d,v;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,h=e.w.a.ec().Kc();h.Ob();)i=u(h.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(d=e.r.a.ec().Kc();d.Ob();)i=u(d.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(v=t.w.a.ec().Kc();v.Ob();)i=u(v.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Kc();a.Ob();)i=u(a.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n<r?new n$(e,t,r-n):r<n?new n$(t,e,n-r):(new n$(t,e,0),new n$(e,t,0))}}function J2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;for(x=t.c,i=w2e(e.e),L=fd(vM(fc(v2e(e.e)),e.d*e.a,e.c*e.b),-.5),n=i.a-L.a,r=i.b-L.b,h=t.a,n=h.c-n,r=h.d-r,v=new C(x);v.a<v.c.c.length;){switch(d=u(Y(v),395),P=d.b,z=n+P.a,Q=r+P.b,q=_s(z/e.a),ue=_s(Q/e.b),a=d.a,a.g){case 0:T=(Y6(),zI);break;case 1:T=(Y6(),HI);break;case 2:T=(Y6(),GI);break;default:T=(Y6(),qI)}a.a?(Se=_s((Q+d.c)/e.b),st(e.f,new Lbe(T,lt(ue),lt(Se))),a==(z_(),UI)?$x(e,0,ue,q,Se):$x(e,q,ue,e.d-1,Se)):(K=_s((z+d.c)/e.a),st(e.f,new Lbe(T,lt(q),lt(K))),a==(z_(),VI)?$x(e,q,0,K,ue):$x(e,q,ue,K,e.c-1))}}function ebn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(P=new at,i=new at,K=null,d=t.Kc();d.Ob();)h=u(d.Pb(),19),a=new wp(h.a),i.c[i.c.length]=a,K&&(a.d=K,K.e=a),K=a;for(Te=Spn(e),T=0;T<i.c.length;++T){for(z=null,Q=Mwe((En(0,i.c.length),u(i.c[0],652))),n=null,r=ps,L=1;L<e.b.c.length;++L)ue=Q?b.Math.abs(Q.b-L):b.Math.abs(L-z.b)+1,q=z?b.Math.abs(L-z.b):ue+1,q<ue?(x=z,v=q):(x=Q,v=ue),Se=(Ne=We(gt(W(e,(mt(),MTe)))),Te[L]+b.Math.pow(v,Ne)),Se<r&&(r=Se,n=x,n.c=L),Q&&L==Q.b&&(z=Q,Q=ZYt(Q));n&&(st(P,lt(n.c)),n.a=!0,Hin(n))}return fn(),tne(P.c,P.c.length,null),P}function tbn(e){var t,n,r,i,a,h,d,v,x,T;for(t=new P2,n=new P2,x=on(II,(i=nC(e.b,Zr),i?Hr(e1((!i.b&&(i.b=new Al((cn(),co),wc,i)),i.b),Gh)):null)),v=0;v<e.i;++v)d=u(e.g[v],170),me(d,99)?(h=u(d,18),h.Bb&Ec?(!(h.Bb&md)||!x&&(a=nC(h,Zr),(a?Hr(e1((!a.b&&(a.b=new Al((cn(),co),wc,a)),a.b),Wz)):null)==null))&&Pr(t,h):(T=go(h),T&&T.Bb&Ec||(!(h.Bb&md)||!x&&(r=nC(h,Zr),(r?Hr(e1((!r.b&&(r.b=new Al((cn(),co),wc,r)),r.b),Wz)):null)==null))&&Pr(n,h))):(ho(),u(d,66).Oj()&&(d.Jj()||(Pr(t,d),Pr(n,d))));Um(t),Um(n),e.a=u(t.g,247),u(n.g,247)}function nbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(x=$ln(t),K=u(W(t,(mt(),aS)),314),K!=(z6(),yk)&&Da(x,new I5),Q=u(W(t,aO),292),Da(x,new vi(Q)),q=0,T=new at,a=new d_(x);a.a!=a.b;)i=u(W$(a),37),cut(e.c,i),P=u(W(i,(nt(),lle)),15),q+=P.gc(),r=P.Kc(),st(T,new _a(i,r));for(Er(n,"Recursive hierarchical layout",q),z=u(u(It(T,T.c.length-1),46).b,47);z.Ob();)for(v=new C(T);v.a<v.c.c.length;)for(d=u(Y(v),46),P=u(d.b,47),h=u(d.a,37);P.Ob();)if(L=u(P.Pb(),51),me(L,507)){if(h.e)break;L.pf(h,Vc(n,1));break}else L.pf(h,Vc(n,1));lr(n)}function Xct(e,t){var n,r,i,a,h,d,v,x,T,L;if(v=t.length-1,d=(zr(v,t.length),t.charCodeAt(v)),d==93){if(h=hd(t,Du(91)),h>=0)return i=rsn(e,t.substr(1,h-1)),T=t.substr(h+1,v-(h+1)),Zvn(e,T,i)}else{if(n=-1,pxe==null&&(pxe=new RegExp("\\d")),pxe.test(String.fromCharCode(d))&&(n=kbe(t,Du(46),v-1),n>=0)){r=u(ore(e,TJe(e,t.substr(1,n-1)),!1),58),x=0;try{x=Wl(t.substr(n+1),za,xi)}catch(P){throw P=ts(P),me(P,127)?(a=P,ee(new h$(a))):ee(P)}if(x<r.gc())return L=r.Xb(x),me(L,72)&&(L=u(L,72).dd()),u(L,56)}if(n<0)return u(ore(e,TJe(e,t.substr(1)),!1),56)}return null}function p4(e,t,n){var r,i,a,h,d,v,x,T,L;if(Zi(t,n)>=0)return n;switch(Mv(No(e,n))){case 2:{if(on("",_g(e,n.Hj()).ne())){if(v=IM(No(e,n)),d=fx(No(e,n)),T=M4e(e,t,v,d),T)return T;for(i=r5e(e,t),h=0,L=i.gc();h<L;++h)if(T=u(i.Xb(h),170),R4e(hne(No(e,T)),v))return T}return null}case 4:{if(on("",_g(e,n.Hj()).ne())){for(r=n;r;r=JZt(No(e,r)))if(x=IM(No(e,r)),d=fx(No(e,r)),T=D4e(e,t,x,d),T)return T;if(v=IM(No(e,n)),on(xb,v))return w3e(e,t);for(a=Ose(e,t),h=0,L=a.gc();h<L;++h)if(T=u(a.Xb(h),170),R4e(hne(No(e,T)),v))return T}return null}default:return null}}function rbn(e,t,n){var r,i,a,h,d,v,x,T;if(n.gc()==0)return!1;if(d=(ho(),u(t,66).Oj()),a=d?n:new Rv(n.gc()),G0(e.e,t)){if(t.hi())for(x=n.Kc();x.Ob();)v=x.Pb(),WH(e,t,v,me(t,99)&&(u(t,18).Bb&ao)!=0)||(i=Xd(t,v),a.Hc(i)||a.Fc(i));else if(!d)for(x=n.Kc();x.Ob();)v=x.Pb(),i=Xd(t,v),a.Fc(i)}else{if(n.gc()>1)throw ee(new Dn(PI));for(T=hu(e.e.Tg(),t),r=u(e.g,119),h=0;h<e.i;++h)if(i=r[h],T.rl(i.ak())){if(n.Hc(d?i:i.dd()))return!1;for(x=n.Kc();x.Ob();)v=x.Pb(),u(t4(e,h,d?u(v,72):Xd(t,v)),72);return!0}d||(i=Xd(t,n.Kc().Pb()),a.Fc(i))}return ds(e,a)}function ibn(e,t){var n,r,i,a,h,d,v,x,T;for(T=new as,d=(x=new x1(e.c).a.vc().Kc(),new E1(x));d.a.Ob();)a=(i=u(d.a.Pb(),42),u(i.dd(),458)),a.b==0&&ks(T,a,T.c.b,T.c);for(;T.b!=0;)for(a=u(T.b==0?null:(Qn(T.b!=0),bh(T,T.a.a)),458),a.a==null&&(a.a=0),r=new C(a.d);r.a<r.c.c.length;)n=u(Y(r),654),n.b.a==null?n.b.a=We(a.a)+n.a:t.o==(L1(),Ib)?n.b.a=b.Math.min(We(n.b.a),We(a.a)+n.a):n.b.a=b.Math.max(We(n.b.a),We(a.a)+n.a),--n.b.b,n.b.b==0&&oi(T,n.b);for(h=(v=new x1(e.c).a.vc().Kc(),new E1(v));h.a.Ob();)a=(i=u(h.a.Pb(),42),u(i.dd(),458)),t.i[a.c.p]=a.a}function xc(){xc=de,xS=new Qi(x6e),new Hs("DEPTH",lt(0)),Wq=new Hs("FAN",lt(0)),lwt=new Hs(Ght,lt(0)),Ry=new Hs("ROOT",(In(),!1)),Jle=new Hs("LEFTNEIGHBOR",null),hwt=new Hs("RIGHTNEIGHBOR",null),Yq=new Hs("LEFTSIBLING",null),ehe=new Hs("RIGHTSIBLING",null),Zle=new Hs("DUMMY",!1),new Hs("LEVEL",lt(0)),h_e=new Hs("REMOVABLE_EDGES",new as),the=new Hs("XCOOR",lt(0)),f_e=new Hs("YCOOR",lt(0)),Xq=new Hs("LEVELHEIGHT",0),kS=new Hs("ID",""),Qq=new Hs("POSITION",lt(0)),Hg=new Hs("PRELIM",0),fE=new Hs("MODIFIER",0),yS=new Qi(eht),bO=new Qi(tht)}function sbn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;for(T=n+t.c.c.a,z=new C(t.j);z.a<z.c.c.length;){if(P=u(Y(z),11),i=ic(ie(ne(ea,1),Je,8,0,[P.i.n,P.n,P.a])),t.k==(zn(),Xc)&&(d=u(W(P,(nt(),Mi)),11),i.a=ic(ie(ne(ea,1),Je,8,0,[d.i.n,d.n,d.a])).a,t.n.a=i.a),h=new Ft(0,i.b),P.j==(dt(),$n))h.a=T;else if(P.j==On)h.a=n;else continue;if(q=b.Math.abs(i.a-h.a),!(q<=r&&!ucn(t)))for(a=P.g.c.length+P.e.c.length>1,x=new O1(P.b);tc(x.a)||tc(x.b);)v=u(tc(x.a)?Y(x.a):Y(x.b),17),L=v.c==P?v.d:v.c,b.Math.abs(ic(ie(ne(ea,1),Je,8,0,[L.i.n,L.n,L.a])).b-h.b)>1&&Qdn(e,v,h,a,P)}}function abn(e){var t,n,r,i,a,h;if(i=new Ca(e.e,0),r=new Ca(e.a,0),e.d)for(n=0;n<e.b;n++)Qn(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);else for(n=0;n<e.b-1;n++)Qn(i.b<i.d.gc()),i.d.Xb(i.c=i.b++),Dl(i);for(t=We((Qn(i.b<i.d.gc()),gt(i.d.Xb(i.c=i.b++))));e.f-t>qoe;){for(a=t,h=0;b.Math.abs(t-a)<qoe;)++h,t=We((Qn(i.b<i.d.gc()),gt(i.d.Xb(i.c=i.b++)))),Qn(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);h<e.b&&(Qn(i.b>0),i.a.Xb(i.c=--i.b),Epn(e,e.b-h,a,r,i),Qn(i.b<i.d.gc()),i.d.Xb(i.c=i.b++)),Qn(r.b>0),r.a.Xb(r.c=--r.b)}if(!e.d)for(n=0;n<e.b-1;n++)Qn(i.b<i.d.gc()),i.d.Xb(i.c=i.b++),Dl(i);e.d=!0,e.c=!0}function Bi(){Bi=de,AAe=(vpe(),_c).b,C3t=u(_e(qe(_c.b),0),34),jb=u(_e(qe(_c.b),1),34),_3t=u(_e(qe(_c.b),2),34),t5=_c.bb,u(_e(qe(_c.bb),0),34),u(_e(qe(_c.bb),1),34),n5=_c.fb,qS=u(_e(qe(_c.fb),0),34),u(_e(qe(_c.fb),1),34),u(_e(qe(_c.fb),2),18),Nw=_c.qb,R3t=u(_e(qe(_c.qb),0),34),u(_e(qe(_c.qb),1),18),u(_e(qe(_c.qb),2),18),WO=u(_e(qe(_c.qb),3),34),YO=u(_e(qe(_c.qb),4),34),US=u(_e(qe(_c.qb),6),34),VS=u(_e(qe(_c.qb),5),18),S3t=_c.j,A3t=_c.k,L3t=_c.q,M3t=_c.w,D3t=_c.B,I3t=_c.A,O3t=_c.C,N3t=_c.D,P3t=_c._,B3t=_c.cb,F3t=_c.hb}function obn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;e.c=0,e.b=0,r=2*t.c.a.c.length+1;e:for(L=n.Kc();L.Ob();){if(T=u(L.Pb(),11),d=T.j==(dt(),Ln)||T.j==Tr,z=0,d){if(P=u(W(T,(nt(),ol)),10),!P)continue;z+=j0n(e,r,T,P)}else{for(x=new C(T.g);x.a<x.c.c.length;)if(v=u(Y(x),17),i=v.d,i.i.c==t.c){st(e.a,T);continue e}else z+=e.g[i.p];for(h=new C(T.e);h.a<h.c.c.length;)if(a=u(Y(h),17),i=a.c,i.i.c==t.c){st(e.a,T);continue e}else z-=e.g[i.p]}T.e.c.length+T.g.c.length>0?(e.f[T.p]=z/(T.e.c.length+T.g.c.length),e.c=b.Math.min(e.c,e.f[T.p]),e.b=b.Math.max(e.b,e.f[T.p])):d&&(e.f[T.p]=z)}}function cbn(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 ubn(e,t,n){var r,i,a,h;for(Er(n,"Graph transformation ("+e.a+")",1),h=Nv(t.a),a=new C(t.b);a.a<a.c.c.length;)i=u(Y(a),29),Ps(h,i.a);if(r=u(W(t,(mt(),Q9e)),419),r==(iD(),uq))switch(u(W(t,Jl),103).g){case 2:v_(t,h);break;case 3:j_(t,h);break;case 4:e.a==(Ix(),YI)?(j_(t,h),Qne(t,h)):(Qne(t,h),j_(t,h))}else if(e.a==(Ix(),YI))switch(u(W(t,Jl),103).g){case 2:v_(t,h),Qne(t,h);break;case 3:j_(t,h),v_(t,h);break;case 4:v_(t,h),j_(t,h)}else switch(u(W(t,Jl),103).g){case 2:v_(t,h),Qne(t,h);break;case 3:v_(t,h),j_(t,h);break;case 4:j_(t,h),v_(t,h)}lr(n)}function lbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K;for(x=new C0,T=new C0,q=new C0,K=new C0,v=We(gt(W(t,(mt(),Sw)))),a=We(gt(W(t,Af))),d=new C(n);d.a<d.c.c.length;)if(h=u(Y(d),10),L=u(W(h,(nt(),vc)),61),L==(dt(),Ln))for(T.a.zc(h,T),i=new ur(dr(Wo(h).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),zs(x,r.c.i);else if(L==Tr)for(K.a.zc(h,K),i=new ur(dr(Wo(h).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),zs(q,r.c.i);x.a.gc()!=0&&(P=new bne(2,a),z=L5e(P,t,x,T,-v-t.c.b),z>0&&(e.a=v+(z-1)*a,t.c.b+=e.a,t.f.b+=e.a)),q.a.gc()!=0&&(P=new bne(1,a),z=L5e(P,t,q,K,t.f.b+v-t.c.b),z>0&&(t.f.b+=v+(z-1)*a))}function p7(e,t){var n,r,i,a;a=e.F,t==null?(e.F=null,zx(e,null)):(e.F=(An(t),t),r=hd(t,Du(60)),r!=-1?(i=t.substr(0,r),hd(t,Du(46))==-1&&!on(i,nk)&&!on(i,NC)&&!on(i,Jz)&&!on(i,PC)&&!on(i,BC)&&!on(i,FC)&&!on(i,RC)&&!on(i,jC)&&(i=P1t),n=zR(t,Du(62)),n!=-1&&(i+=""+t.substr(n+1)),zx(e,i)):(i=t,hd(t,Du(46))==-1&&(r=hd(t,Du(91)),r!=-1&&(i=t.substr(0,r)),!on(i,nk)&&!on(i,NC)&&!on(i,Jz)&&!on(i,PC)&&!on(i,BC)&&!on(i,FC)&&!on(i,RC)&&!on(i,jC)?(i=P1t,r!=-1&&(i+=""+t.substr(r))):i=t),zx(e,i),i==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,5,a,t))}function hbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(K=t.b.c.length,!(K<3)){for(z=Ie(Sr,Jr,25,K,15,1),L=0,T=new C(t.b);T.a<T.c.c.length;)x=u(Y(T),29),z[L++]=x.a.c.length;for(P=new Ca(t.b,2),r=1;r<K-1;r++)for(n=(Qn(P.b<P.d.gc()),u(P.d.Xb(P.c=P.b++),29)),q=new C(n.a),a=0,d=0,v=0;v<z[r+1];v++)if(Te=u(Y(q),10),v==z[r+1]-1||X3e(e,Te,r+1,r)){for(h=z[r]-1,X3e(e,Te,r+1,r)&&(h=e.c.e[u(u(u(It(e.c.b,Te.p),15).Xb(0),46).a,10).p]);d<=v;){if(Se=u(It(n.a,d),10),!X3e(e,Se,r+1,r))for(ue=u(It(e.c.b,Se.p),15).Kc();ue.Ob();)Q=u(ue.Pb(),46),i=e.c.e[u(Q.a,10).p],(i<a||i>h)&&zs(e.b,u(Q.b,17));++d}a=h}}}function C5e(e,t){var n;if(t==null||on(t,Iu)||t.length==0&&e.k!=(Dg(),Ik))return null;switch(e.k.g){case 1:return cH(t,I7)?(In(),j7):cH(t,sce)?(In(),Tb):null;case 2:try{return lt(Wl(t,za,xi))}catch(r){if(r=ts(r),me(r,127))return null;throw ee(r)}case 4:try{return ty(t)}catch(r){if(r=ts(r),me(r,127))return null;throw ee(r)}case 3:return t;case 5:return Ott(e),jst(e,t);case 6:return Ott(e),k1n(e,e.a,t);case 7:try{return n=Ofn(e),n.Jf(t),n}catch(r){if(r=ts(r),me(r,32))return null;throw ee(r)}default:throw ee(new Vo("Invalid type set for this layout option."))}}function fbn(e){E_();var t,n,r,i,a,h,d;for(d=new c$e,n=new C(e);n.a<n.c.c.length;)t=u(Y(n),140),(!d.b||t.c>=d.b.c)&&(d.b=t),(!d.c||t.c<=d.c.c)&&(d.d=d.c,d.c=t),(!d.e||t.d>=d.e.d)&&(d.e=t),(!d.f||t.d<=d.f.d)&&(d.f=t);return r=new fH((Rx(),bw)),$M(e,Hgt,new Cl(ie(ne(WI,1),_t,369,0,[r]))),h=new fH(Ey),$M(e,$gt,new Cl(ie(ne(WI,1),_t,369,0,[h]))),i=new fH(xy),$M(e,jgt,new Cl(ie(ne(WI,1),_t,369,0,[i]))),a=new fH(D4),$M(e,Rgt,new Cl(ie(ne(WI,1),_t,369,0,[a]))),kse(r.c,bw),kse(i.c,xy),kse(a.c,D4),kse(h.c,Ey),d.a.c=Ie(Xn,_t,1,0,5,1),Ps(d.a,r.c),Ps(d.a,J2(i.c)),Ps(d.a,a.c),Ps(d.a,J2(h.c)),d}function S5e(e){var t;switch(e.d){case 1:{if(e.hj())return e.o!=-2;break}case 2:{if(e.hj())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.gj(),e.p){case 0:return t!=null&&Bt(Nt(t))!=GT(e.k,0);case 1:return t!=null&&u(t,217).a!=Ir(e.k)<<24>>24;case 2:return t!=null&&u(t,172).a!=(Ir(e.k)&Ss);case 6:return t!=null&&GT(u(t,162).a,e.k);case 5:return t!=null&&u(t,19).a!=Ir(e.k);case 7:return t!=null&&u(t,184).a!=Ir(e.k)<<16>>16;case 3:return t!=null&&We(gt(t))!=e.j;case 4:return t!=null&&u(t,155).a!=e.j;default:return t==null?e.n!=null:!Ci(t,e.n)}}function rI(e,t,n){var r,i,a,h;return e.Fk()&&e.Ek()&&(h=cne(e,u(n,56)),$e(h)!==$e(n))?(e.Oi(t),e.Ui(t,_Ze(e,t,h)),e.rk()&&(a=(i=u(n,49),e.Dk()?e.Bk()?i.ih(e.b,go(u(bn(Tu(e.b),e.aj()),18)).n,u(bn(Tu(e.b),e.aj()).Yj(),26).Bj(),null):i.ih(e.b,Zi(i.Tg(),go(u(bn(Tu(e.b),e.aj()),18))),null,null):i.ih(e.b,-1-e.aj(),null,null)),!u(h,49).eh()&&(a=(r=u(h,49),e.Dk()?e.Bk()?r.gh(e.b,go(u(bn(Tu(e.b),e.aj()),18)).n,u(bn(Tu(e.b),e.aj()).Yj(),26).Bj(),a):r.gh(e.b,Zi(r.Tg(),go(u(bn(Tu(e.b),e.aj()),18))),null,a):r.gh(e.b,-1-e.aj(),null,a))),a&&a.Fi()),Sl(e.b)&&e.$i(e.Zi(9,n,h,t,!1)),h):n}function Qct(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(T=We(gt(W(e,(mt(),Cw)))),r=We(gt(W(e,CTe))),P=new nl,Qe(P,Cw,T+r),x=t,ue=x.d,K=x.c.i,Se=x.d.i,Q=f2e(K.c),Te=f2e(Se.c),i=new at,L=Q;L<=Te;L++)d=new H0(e),T0(d,(zn(),ca)),Qe(d,(nt(),Mi),x),Qe(d,vs,(ya(),Zc)),Qe(d,Nq,P),z=u(It(e.b,L),29),L==Q?Zm(d,z.a.c.length-n,z):Oo(d,z),Ne=We(gt(W(x,Rg))),Ne<0&&(Ne=0,Qe(x,Rg,Ne)),d.o.b=Ne,q=b.Math.floor(Ne/2),h=new Fc,qs(h,(dt(),On)),nc(h,d),h.n.b=q,v=new Fc,qs(v,$n),nc(v,d),v.n.b=q,wa(x,h),a=new Dv,$o(a,x),Qe(a,Fo,null),Ka(a,v),wa(a,ue),pcn(d,x,a),i.c[i.c.length]=a,x=a;return i}function Zse(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(v=u(Mg(e,(dt(),On)).Kc().Pb(),11).e,z=u(Mg(e,$n).Kc().Pb(),11).g,d=v.c.length,Te=M1(u(It(e.j,0),11));d-- >0;){for(K=(En(0,v.c.length),u(v.c[0],17)),i=(En(0,z.c.length),u(z.c[0],17)),Se=i.d.e,a=Ko(Se,i,0),mJt(K,i.d,a),Ka(i,null),wa(i,null),q=K.a,t&&oi(q,new Do(Te)),r=si(i.a,0);r.b!=r.d.c;)n=u(ii(r),8),oi(q,new Do(n));for(ue=K.b,P=new C(i.b);P.a<P.c.c.length;)L=u(Y(P),70),ue.c[ue.c.length]=L;if(Q=u(W(K,(mt(),Fo)),74),h=u(W(i,Fo),74),h)for(Q||(Q=new $u,Qe(K,Fo,Q)),T=si(h,0);T.b!=T.d.c;)x=u(ii(T),8),oi(Q,new Do(x))}}function Zct(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(n=u(_o(e.b,t),124),v=u(u(Oi(e.r,t),21),84),v.dc()){n.n.b=0,n.n.c=0;return}for(x=e.u.Hc((al(),Z0)),h=0,d=v.Kc(),T=null,L=0,P=0;d.Ob();)r=u(d.Pb(),111),i=We(gt(r.b.We((GR(),SG)))),a=r.b.rf().a,e.A.Hc((Nl(),Rb))&&Dot(e,t),T?(z=P+T.d.c+e.w+r.d.b,h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(L-i)<=H1||L==i||isNaN(L)&&isNaN(i)?0:z/(i-L)))):e.C&&e.C.b>0&&(h=b.Math.max(h,Tet(e.C.b+r.d.b,i))),T=r,L=i,P=a;e.C&&e.C.c>0&&(z=P+e.C.c,x&&(z+=T.d.c),h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(L-1)<=H1||L==1||isNaN(L)&&isNaN(1)?0:z/(1-L)))),n.n.b=0,n.a.a=h}function Jct(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(n=u(_o(e.b,t),124),v=u(u(Oi(e.r,t),21),84),v.dc()){n.n.d=0,n.n.a=0;return}for(x=e.u.Hc((al(),Z0)),h=0,e.A.Hc((Nl(),Rb))&&Iot(e,t),d=v.Kc(),T=null,P=0,L=0;d.Ob();)r=u(d.Pb(),111),a=We(gt(r.b.We((GR(),SG)))),i=r.b.rf().b,T?(z=L+T.d.a+e.w+r.d.d,h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(P-a)<=H1||P==a||isNaN(P)&&isNaN(a)?0:z/(a-P)))):e.C&&e.C.d>0&&(h=b.Math.max(h,Tet(e.C.d+r.d.d,a))),T=r,P=a,L=i;e.C&&e.C.a>0&&(z=L+e.C.a,x&&(z+=T.d.a),h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(P-1)<=H1||P==1||isNaN(P)&&isNaN(1)?0:z/(1-P)))),n.n.d=0,n.a.b=h}function eut(e,t,n){var r,i,a,h,d,v;for(this.g=e,d=t.d.length,v=n.d.length,this.d=Ie(c0,Og,10,d+v,0,1),h=0;h<d;h++)this.d[h]=t.d[h];for(a=0;a<v;a++)this.d[d+a]=n.d[a];if(t.e){if(this.e=CM(t.e),this.e.Mc(n),n.e)for(i=n.e.Kc();i.Ob();)r=u(i.Pb(),233),r!=t&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=CM(n.e),this.e.Mc(t));this.f=t.f+n.f,this.a=t.a+n.a,this.a>0?_re(this,this.f/this.a):S1(t.g,t.d[0]).a!=null&&S1(n.g,n.d[0]).a!=null?_re(this,(We(S1(t.g,t.d[0]).a)+We(S1(n.g,n.d[0]).a))/2):S1(t.g,t.d[0]).a!=null?_re(this,S1(t.g,t.d[0]).a):S1(n.g,n.d[0]).a!=null&&_re(this,S1(n.g,n.d[0]).a)}function dbn(e,t){var n,r,i,a,h,d,v,x,T,L;for(e.a=new aWe(znn(MS)),r=new C(t.a);r.a<r.c.c.length;){for(n=u(Y(r),841),d=new xie(ie(ne(kue,1),_t,81,0,[])),st(e.a.a,d),x=new C(n.d);x.a<x.c.c.length;)v=u(Y(x),110),T=new $2e(e,v),M5e(T,u(W(n.c,(nt(),_y)),21)),Ml(e.g,n)||(Si(e.g,n,new Ft(v.c,v.d)),Si(e.f,n,T)),st(e.a.b,T),Yne(d,T);for(h=new C(n.b);h.a<h.c.c.length;)a=u(Y(h),594),T=new $2e(e,a.kf()),Si(e.b,a,new _a(d,T)),M5e(T,u(W(n.c,(nt(),_y)),21)),a.hf()&&(L=new Hye(e,a.hf(),1),M5e(L,u(W(n.c,_y),21)),i=new xie(ie(ne(kue,1),_t,81,0,[])),Yne(i,L),an(e.c,a.gf(),new _a(d,L)))}return e.a}function tut(e){var t;this.a=e,t=(zn(),ie(ne(Sue,1),rt,267,0,[js,ca,Ls,Xc,Pl,V1])).length,this.b=G2(Ehe,[Je,Uke],[593,146],0,[t,t],2),this.c=G2(Ehe,[Je,Uke],[593,146],0,[t,t],2),Pne(this,js,(mt(),Sw),q4),M_(this,js,ca,Cw,Db),PM(this,js,Xc,Cw),PM(this,js,Ls,Cw),M_(this,js,Pl,Sw,q4),Pne(this,ca,Af,G4),PM(this,ca,Xc,Af),PM(this,ca,Ls,Af),M_(this,ca,Pl,Cw,Db),Sqe(this,Xc,Af),PM(this,Xc,Ls,Af),PM(this,Xc,Pl,Cle),Sqe(this,Ls,uS),M_(this,Ls,Pl,lE,uE),Pne(this,Pl,Af,Af),Pne(this,V1,Af,G4),M_(this,V1,js,Cw,Db),M_(this,V1,Pl,Cw,Db),M_(this,V1,ca,Cw,Db)}function gbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(h=n.ak(),me(h,99)&&u(h,18).Bb&ao&&(P=u(n.dd(),49),K=zp(e.e,P),K!=P)){if(T=Xd(h,K),YT(e,t,Jie(e,t,T)),L=null,Sl(e.e)&&(r=p4((Uu(),Oa),e.e.Tg(),h),r!=bn(e.e.Tg(),e.c))){for(Q=hu(e.e.Tg(),h),d=0,a=u(e.g,119),v=0;v<t;++v)i=a[v],Q.rl(i.ak())&&++d;L=new ere(e.e,9,r,P,K,d,!1),L.Ei(new N0(e.e,9,e.c,n,T,t,!1))}return q=u(h,18),z=go(q),z?(L=P.ih(e.e,Zi(P.Tg(),z),null,L),L=u(K,49).gh(e.e,Zi(K.Tg(),z),null,L)):q.Bb&Ec&&(x=-1-Zi(e.e.Tg(),q),L=P.ih(e.e,x,null,null),!u(K,49).eh()&&(L=u(K,49).gh(e.e,x,null,L))),L&&L.Fi(),T}return n}function pbn(e){var t,n,r,i,a,h,d,v;for(a=new C(e.a.b);a.a<a.c.c.length;)i=u(Y(a),81),i.b.c=i.g.c,i.b.d=i.g.d;for(v=new Ft(ps,ps),t=new Ft(Ds,Ds),r=new C(e.a.b);r.a<r.c.c.length;)n=u(Y(r),81),v.a=b.Math.min(v.a,n.g.c),v.b=b.Math.min(v.b,n.g.d),t.a=b.Math.max(t.a,n.g.c+n.g.b),t.b=b.Math.max(t.b,n.g.d+n.g.a);for(d=Tj(e.c).a.nc();d.Ob();)h=u(d.Pb(),46),n=u(h.b,81),v.a=b.Math.min(v.a,n.g.c),v.b=b.Math.min(v.b,n.g.d),t.a=b.Math.max(t.a,n.g.c+n.g.b),t.b=b.Math.max(t.b,n.g.d+n.g.a);e.d=WR(new Ft(v.a,v.b)),e.e=pa(new Ft(t.a,t.b),v),e.a.a.c=Ie(Xn,_t,1,0,5,1),e.a.b.c=Ie(Xn,_t,1,0,5,1)}function bbn(e){var t,n,r;for(Q3(w2,ie(ne(M4,1),_t,130,0,[new gp])),n=new r6(e),r=0;r<n.a.length;++r)t=Hm(n,r).je().a,on(t,"layered")?Q3(w2,ie(ne(M4,1),_t,130,0,[new yJ])):on(t,"force")?Q3(w2,ie(ne(M4,1),_t,130,0,[new aJ])):on(t,"stress")?Q3(w2,ie(ne(M4,1),_t,130,0,[new oJ])):on(t,"mrtree")?Q3(w2,ie(ne(M4,1),_t,130,0,[new k3])):on(t,"radial")?Q3(w2,ie(ne(M4,1),_t,130,0,[new CJ])):on(t,"disco")?Q3(w2,ie(ne(M4,1),_t,130,0,[new CL,new sJ])):on(t,"sporeOverlap")||on(t,"sporeCompaction")?Q3(w2,ie(ne(M4,1),_t,130,0,[new fF])):on(t,"rectpacking")&&Q3(w2,ie(ne(M4,1),_t,130,0,[new gF]))}function nut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;if(P=new Do(e.o),ue=t.a/P.a,d=t.b/P.b,K=t.a-P.a,a=t.b-P.b,n)for(i=$e(W(e,(mt(),vs)))===$e((ya(),Zc)),q=new C(e.j);q.a<q.c.c.length;)switch(z=u(Y(q),11),z.j.g){case 1:i||(z.n.a*=ue);break;case 2:z.n.a+=K,i||(z.n.b*=d);break;case 3:i||(z.n.a*=ue),z.n.b+=a;break;case 4:i||(z.n.b*=d)}for(x=new C(e.b);x.a<x.c.c.length;)v=u(Y(x),70),T=v.n.a+v.o.a/2,L=v.n.b+v.o.b/2,Q=T/P.a,h=L/P.b,Q+h>=1&&(Q-h>0&&L>=0?(v.n.a+=K,v.n.b+=a*h):Q-h<0&&T>=0&&(v.n.a+=K*Q,v.n.b+=a));e.o.a=t.a,e.o.b=t.b,Qe(e,(mt(),Lb),(Nl(),r=u(Wf(FS),9),new hh(r,u(bf(r,r.length),9),0)))}function vbn(e,t,n,r,i,a){var h;if(!(t==null||!pie(t,oAe,cAe)))throw ee(new Dn("invalid scheme: "+t));if(!e&&!(n!=null&&hd(n,Du(35))==-1&&n.length>0&&(zr(0,n.length),n.charCodeAt(0)!=47)))throw ee(new Dn("invalid opaquePart: "+n));if(e&&!(t!=null&&YL(IV,t.toLowerCase()))&&!(n==null||!pie(n,HS,zS)))throw ee(new Dn(x1t+n));if(e&&t!=null&&YL(IV,t.toLowerCase())&&!lun(n))throw ee(new Dn(x1t+n));if(!gsn(r))throw ee(new Dn("invalid device: "+r));if(!oin(i))throw h=i==null?"invalid segments: null":"invalid segment: "+rin(i),ee(new Dn(h));if(!(a==null||hd(a,Du(35))==-1))throw ee(new Dn("invalid query: "+a))}function wbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(t,"Calculate Graph Size",1),t.n&&e&&wf(t,mf(e),(Ol(),rh)),d=C7,v=C7,a=Qke,h=Qke,L=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));L.e!=L.i.gc();)x=u(br(L),33),q=x.i,K=x.j,ue=x.g,r=x.f,i=u(jt(x,(di(),AO)),142),d=b.Math.min(d,q-i.b),v=b.Math.min(v,K-i.d),a=b.Math.max(a,q+ue+i.c),h=b.Math.max(h,K+r+i.a);for(z=u(jt(e,(di(),Pb)),116),P=new Ft(d-z.b,v-z.d),T=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));T.e!=T.i.gc();)x=u(br(T),33),Au(x,x.i-P.a),Lu(x,x.j-P.b);Q=a-d+(z.b+z.c),n=h-v+(z.d+z.a),Hv(e,Q),$v(e,n),t.n&&e&&wf(t,mf(e),(Ol(),rh))}function rut(e){var t,n,r,i,a,h,d,v,x,T;for(r=new at,h=new C(e.e.a);h.a<h.c.c.length;){for(i=u(Y(h),121),T=0,i.k.c=Ie(Xn,_t,1,0,5,1),n=new C(J3(i));n.a<n.c.c.length;)t=u(Y(n),213),t.f&&(st(i.k,t),++T);T==1&&(r.c[r.c.length]=i)}for(a=new C(r);a.a<a.c.c.length;)for(i=u(Y(a),121);i.k.c.length==1;){for(x=u(Y(new C(i.k)),213),e.b[x.c]=x.g,d=x.d,v=x.e,n=new C(J3(i));n.a<n.c.c.length;)t=u(Y(n),213),Ci(t,x)||(t.f?d==t.d||v==t.e?e.b[x.c]-=e.b[t.c]-t.g:e.b[x.c]+=e.b[t.c]-t.g:i==d?t.d==i?e.b[x.c]+=t.g:e.b[x.c]-=t.g:t.d==i?e.b[x.c]-=t.g:e.b[x.c]+=t.g);_u(d.k,x),_u(v.k,x),d==i?i=x.e:i=x.d}}function A5e(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(t==null||t.length==0)return null;if(a=u(Gc(e.f,t),23),!a){for(i=(z=new x1(e.d).a.vc().Kc(),new E1(z));i.a.Ob();)if(n=(h=u(i.a.Pb(),42),u(h.dd(),23)),d=n.f,q=t.length,on(d.substr(d.length-q,q),t)&&(t.length==d.length||Ma(d,d.length-t.length-1)==46)){if(a)return null;a=n}if(!a){for(r=(P=new x1(e.d).a.vc().Kc(),new E1(P));r.a.Ob();)if(n=(h=u(r.a.Pb(),42),u(h.dd(),23)),L=n.g,L!=null){for(v=L,x=0,T=v.length;x<T;++x)if(d=v[x],q=t.length,on(d.substr(d.length-q,q),t)&&(t.length==d.length||Ma(d,d.length-t.length-1)==46)){if(a)return null;a=n}}}a&&Io(e.f,t,a)}return a}function mbn(e,t){var n,r,i,a,h;for(n=new ym,h=!1,a=0;a<t.length;a++){if(r=(zr(a,t.length),t.charCodeAt(a)),r==32){for(dH(e,n,0),n.a+=" ",dH(e,n,0);a+1<t.length&&(zr(a+1,t.length),t.charCodeAt(a+1)==32);)++a;continue}if(h){r==39?a+1<t.length&&(zr(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+=String.fromCharCode(r),++a):h=!1:n.a+=String.fromCharCode(r);continue}if(hd("GyMLdkHmsSEcDahKzZv",Du(r))>0){dH(e,n,0),n.a+=String.fromCharCode(r),i=ran(t,a),dH(e,n,i),a+=i-1;continue}r==39?a+1<t.length&&(zr(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+="'",++a):h=!0:n.a+=String.fromCharCode(r)}dH(e,n,0),Nun(e)}function ybn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;if(Er(n,"Network simplex layering",1),e.b=t,ue=u(W(t,(mt(),lS)),19).a*4,Q=e.b.a,Q.c.length<1){lr(n);return}for(a=ygn(e,Q),K=null,i=si(a,0);i.b!=i.d.c;){for(r=u(ii(i),15),d=ue*_s(b.Math.sqrt(r.gc())),h=Fgn(r),Nse(hpe(OGt(fpe(Vte(h),d),K),!0),Vc(n,1)),P=e.b.b,q=new C(h.a);q.a<q.c.c.length;){for(z=u(Y(q),121);P.c.length<=z.e;)Dm(P,P.c.length,new Nh(e.b));T=u(z.f,10),Oo(T,u(It(P,z.e),29))}if(a.b>1)for(K=Ie(Sr,Jr,25,e.b.b.c.length,15,1),L=0,x=new C(e.b.b);x.a<x.c.c.length;)v=u(Y(x),29),K[L++]=v.a.c.length}Q.c=Ie(Xn,_t,1,0,5,1),e.a=null,e.b=null,e.c=null,lr(n)}function iut(e){var t,n,r,i,a,h,d;for(t=0,a=new C(e.b.a);a.a<a.c.c.length;)r=u(Y(a),189),r.b=0,r.c=0;for(Git(e,0),bie(e,e.g),RH(e.c),ape(e.c),n=(wo(),Wh),JD(pte(b4(JD(pte(b4(JD(b4(e.c,n)),cnt(n)))),n))),b4(e.c,Wh),uie(e,e.g),Dit(e,0),Fct(e,0),xat(e,1),Git(e,1),bie(e,e.d),RH(e.c),h=new C(e.b.a);h.a<h.c.c.length;)r=u(Y(h),189),t+=b.Math.abs(r.c);for(d=new C(e.b.a);d.a<d.c.c.length;)r=u(Y(d),189),r.b=0,r.c=0;for(n=X0,JD(pte(b4(JD(pte(b4(JD(ape(b4(e.c,n))),cnt(n)))),n))),b4(e.c,Wh),uie(e,e.d),Dit(e,1),Fct(e,1),xat(e,0),ape(e.c),i=new C(e.b.a);i.a<i.c.c.length;)r=u(Y(i),189),t+=b.Math.abs(r.c);return t}function sut(e,t){var n,r,i,a,h,d,v,x,T;if(x=t,!(x.b==null||e.b==null)){for(c4(e),oC(e),c4(x),oC(x),n=Ie(Sr,Jr,25,e.b.length+x.b.length,15,1),T=0,r=0,h=0;r<e.b.length&&h<x.b.length;)if(i=e.b[r],a=e.b[r+1],d=x.b[h],v=x.b[h+1],a<d)r+=2;else if(a>=d&&i<=v)d<=i&&a<=v?(n[T++]=i,n[T++]=a,r+=2):d<=i?(n[T++]=i,n[T++]=v,e.b[r]=v+1,h+=2):a<=v?(n[T++]=d,n[T++]=a,r+=2):(n[T++]=d,n[T++]=v,e.b[r]=v+1);else if(v<i)h+=2;else throw ee(new ec("Token#intersectRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] & ["+x.b[h]+","+x.b[h+1]+"]"));for(;r<e.b.length;)n[T++]=e.b[r++],n[T++]=e.b[r++];e.b=Ie(Sr,Jr,25,T,15,1),Rc(n,0,e.b,0,T)}}function kbn(e){var t,n,r,i,a,h,d;for(t=new at,e.g=new at,e.d=new at,h=new ib(new lg(e.f.b).a);h.b;)a=jv(h),st(t,u(u(a.dd(),46).b,81)),Sp(u(a.cd(),594).gf())?st(e.d,u(a.dd(),46)):st(e.g,u(a.dd(),46));for(bie(e,e.d),bie(e,e.g),e.c=new Hst(e.b),PGt(e.c,(_pe(),Ogt)),uie(e,e.d),uie(e,e.g),Ps(t,e.c.a.b),e.e=new Ft(ps,ps),e.a=new Ft(Ds,Ds),r=new C(t);r.a<r.c.c.length;)n=u(Y(r),81),e.e.a=b.Math.min(e.e.a,n.g.c),e.e.b=b.Math.min(e.e.b,n.g.d),e.a.a=b.Math.max(e.a.a,n.g.c+n.g.b),e.a.b=b.Math.max(e.a.b,n.g.d+n.g.a);gpe(e.c,new Jb),d=0;do i=iut(e),++d;while((d<2||i>Yp)&&d<10);gpe(e.c,new b1),iut(e),oXt(e.c),pbn(e.f)}function xbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(Bt(Nt(W(n,(mt(),Dy)))))for(d=new C(n.j);d.a<d.c.c.length;)for(h=u(Y(d),11),P=vd(h.g),x=P,T=0,L=x.length;T<L;++T)v=x[T],a=v.d.i==n,i=a&&Bt(Nt(W(v,Ab))),i&&(q=v.c,z=u(Jn(e.b,q),10),z||(z=iI(q,(ya(),Y1),q.j,-1,null,null,q.o,u(W(t,Jl),103),t),Qe(z,(nt(),Mi),q),Si(e.b,q,z),st(t.a,z)),Q=v.d,K=u(Jn(e.b,Q),10),K||(K=iI(Q,(ya(),Y1),Q.j,1,null,null,Q.o,u(W(t,Jl),103),t),Qe(K,(nt(),Mi),Q),Si(e.b,Q,K),st(t.a,K)),r=are(v),Ka(r,u(It(z.j,0),11)),wa(r,u(It(K.j,0),11)),an(e.a,v,new JR(r,t,(vo(),ou))),u(W(t,(nt(),Qc)),21).Fc((mo(),Th)))}function Ebn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;for(Er(n,"Label dummy switching",1),r=u(W(t,(mt(),Cq)),227),Pnn(t),i=p1n(t,r),e.a=Ie(va,Ao,25,t.b.c.length,15,1),d=(Q6(),ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4])),T=0,z=d.length;T<z;++T)if(a=d[T],(a==P4||a==N4||a==Ty)&&!u(zu(i.a,a)?i.b[a.g]:null,15).dc()){Unn(e,t);break}for(v=ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4]),L=0,q=v.length;L<q;++L)a=v[L],a==P4||a==N4||a==Ty||Wot(e,u(zu(i.a,a)?i.b[a.g]:null,15));for(h=ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4]),x=0,P=h.length;x<P;++x)a=h[x],(a==P4||a==N4||a==Ty)&&Wot(e,u(zu(i.a,a)?i.b[a.g]:null,15));e.a=null,lr(n)}function Tbn(e,t){var n,r,i,a,h,d,v,x,T,L,P;switch(e.k.g){case 1:if(r=u(W(e,(nt(),Mi)),17),n=u(W(r,h9e),74),n?Bt(Nt(W(r,U1)))&&(n=vD(n)):n=new $u,x=u(W(e,o1),11),x){if(T=ic(ie(ne(ea,1),Je,8,0,[x.i.n,x.n,x.a])),t<=T.a)return T.b;ks(n,T,n.a,n.a.a)}if(L=u(W(e,Kh),11),L){if(P=ic(ie(ne(ea,1),Je,8,0,[L.i.n,L.n,L.a])),P.a<=t)return P.b;ks(n,P,n.c.b,n.c)}if(n.b>=2){for(v=si(n,0),h=u(ii(v),8),d=u(ii(v),8);d.a<t&&v.b!=v.d.c;)h=d,d=u(ii(v),8);return h.b+(t-h.a)/(d.a-h.a)*(d.b-h.b)}break;case 3:switch(a=u(W(u(It(e.j,0),11),(nt(),Mi)),11),i=a.i,a.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return k3e(e).b}function _bn(e){var t,n,r,i,a,h,d,v,x,T,L;for(h=new C(e.d.b);h.a<h.c.c.length;)for(a=u(Y(h),29),v=new C(a.a);v.a<v.c.c.length;){if(d=u(Y(v),10),Bt(Nt(W(d,(mt(),sS))))&&!vx(j0(d))){r=u(TQt(j0(d)),17),T=r.c.i,T==d&&(T=r.d.i),L=new _a(T,pa(fc(d.n),T.n)),Si(e.b,d,L);continue}i=new fh(d.n.a-d.d.b,d.n.b-d.d.d,d.o.a+d.d.b+d.d.c,d.o.b+d.d.d+d.d.a),t=fVe(Cze(Tze(_ze(new qge,d),i),opt),e.a),hVe(cqt(GJe(new Gge,ie(ne(_G,1),_t,57,0,[t])),t),e.a),x=new bee,Si(e.e,t,x),n=I0(new ur(dr(Wo(d).a.Kc(),new V)))-I0(new ur(dr(Fs(d).a.Kc(),new V))),n<0?pD(x,!0,(wo(),Wh)):n>0&&pD(x,!0,(wo(),Lf)),d.k==(zn(),Ls)&&LWe(x),Si(e.f,d,t)}}function Cbn(e,t,n){var r,i,a,h,d,v,x,T,L,P;switch(Er(n,"Node promotion heuristic",1),e.g=t,Ivn(e),e.q=u(W(t,(mt(),xle)),260),T=u(W(e.g,fTe),19).a,a=new OP,e.q.g){case 2:case 1:g7(e,a);break;case 3:for(e.q=(l4(),Hq),g7(e,a),v=0,d=new C(e.a);d.a<d.c.c.length;)h=u(Y(d),19),v=b.Math.max(v,h.a);v>e.j&&(e.q=lO,g7(e,a));break;case 4:for(e.q=(l4(),Hq),g7(e,a),x=0,i=new C(e.b);i.a<i.c.c.length;)r=gt(Y(i)),x=b.Math.max(x,(An(r),r));x>e.k&&(e.q=hO,g7(e,a));break;case 6:P=_s(b.Math.ceil(e.f.length*T/100)),g7(e,new bp(P));break;case 5:L=_s(b.Math.ceil(e.d*T/100)),g7(e,new Kf(L));break;default:g7(e,a)}m0n(e,t),lr(n)}function aut(e,t,n){var r,i,a,h;this.j=e,this.e=D3e(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(It(n,Xa(this.o).p),214):null,i=u(W(e,(nt(),Qc)),21),this.g=i.Hc((mo(),Th)),this.b=new at,this.d=new Ant(this.e),h=u(W(this.j,Ck),230),this.q=irn(t,h,this.e),this.k=new SYe(this),a=I1(ie(ne(upt,1),_t,225,0,[this,this.d,this.k,this.q])),t==(zv(),dO)&&!Bt(Nt(W(e,(mt(),Ay))))?(r=new O3e(this.e),a.c[a.c.length]=r,this.c=new cwe(r,h,u(this.q,402))):t==dO&&Bt(Nt(W(e,(mt(),Ay))))?(r=new O3e(this.e),a.c[a.c.length]=r,this.c=new uet(r,h,u(this.q,402))):this.c=new oGe(t,this),st(a,this.c),Hct(a,this.e),this.s=cwn(this.k)}function Sbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(L=u(jR((h=si(new mp(t).a.d,0),new u6(h))),86),q=L?u(W(L,(xc(),Jle)),86):null,i=1;L&&q;){for(v=0,Ne=0,n=L,r=q,d=0;d<i;d++)n=dre(n),r=dre(r),Ne+=We(gt(W(n,(xc(),fE)))),v+=We(gt(W(r,fE)));if(Te=We(gt(W(q,(xc(),Hg)))),Se=We(gt(W(L,Hg))),P=ywe(L,q),z=Te+v+e.a+P-Se-Ne,0<z){for(x=t,T=0;x&&x!=r;)++T,x=u(W(x,Yq),86);if(x)for(ue=z/T,x=t;x!=r;)Q=We(gt(W(x,Hg)))+z,Qe(x,Hg,Q),K=We(gt(W(x,fE)))+z,Qe(x,fE,K),z-=ue,x=u(W(x,Yq),86);else return}++i,L.d.b==0?L=o5e(new mp(t),i):L=u(jR((a=si(new mp(L).a.d,0),new u6(a))),86),q=L?u(W(L,Jle),86):null}}function out(e,t){var n,r,i,a,h,d,v,x,T,L;for(v=!0,i=0,x=e.f[t.p],T=t.o.b+e.n,n=e.c[t.p][2],gh(e.a,x,lt(u(It(e.a,x),19).a-1+n)),gh(e.b,x,We(gt(It(e.b,x)))-T+n*e.e),++x,x>=e.i?(++e.i,st(e.a,lt(1)),st(e.b,T)):(r=e.c[t.p][1],gh(e.a,x,lt(u(It(e.a,x),19).a+1-r)),gh(e.b,x,We(gt(It(e.b,x)))+T-r*e.e)),(e.q==(l4(),lO)&&(u(It(e.a,x),19).a>e.j||u(It(e.a,x-1),19).a>e.j)||e.q==hO&&(We(gt(It(e.b,x)))>e.k||We(gt(It(e.b,x-1)))>e.k))&&(v=!1),h=new ur(dr(Wo(t).a.Kc(),new V));Vr(h);)a=u(Nr(h),17),d=a.c.i,e.f[d.p]==x&&(L=out(e,d),i=i+u(L.a,19).a,v=v&&Bt(Nt(L.b)));return e.f[t.p]=x,i=i+e.c[t.p][0],new _a(lt(i),(In(),!!v))}function L5e(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(L=new Ar,h=new at,Lst(e,n,e.d.fg(),h,L),Lst(e,r,e.d.gg(),h,L),e.b=.2*(K=wat(rc(new mn(null,new kn(h,16)),new wQ)),Q=wat(rc(new mn(null,new kn(h,16)),new mQ)),b.Math.min(K,Q)),a=0,d=0;d<h.c.length-1;d++)for(v=(En(d,h.c.length),u(h.c[d],112)),q=d+1;q<h.c.length;q++)a+=x5e(e,v,(En(q,h.c.length),u(h.c[q],112)));for(P=u(W(t,(nt(),Ck)),230),a>=2&&(ue=$at(h,!0,P),!e.e&&(e.e=new zRe(e)),san(e.e,ue,h,e.b)),yit(h,P),Gbn(h),z=-1,T=new C(h);T.a<T.c.c.length;)x=u(Y(T),112),!(b.Math.abs(x.s-x.c)<Ed)&&(z=b.Math.max(z,x.o),e.d.dg(x,i,e.c));return e.d.a.a.$b(),z+1}function cut(e,t){var n,r,i,a,h;n=We(gt(W(t,(mt(),Af)))),n<2&&Qe(t,Af,2),r=u(W(t,Jl),103),r==(wo(),u0)&&Qe(t,Jl,Z$(t)),i=u(W(t,Wbt),19),i.a==0?Qe(t,(nt(),Ck),new die):Qe(t,(nt(),Ck),new Jj(i.a)),a=Nt(W(t,oS)),a==null&&Qe(t,oS,(In(),$e(W(t,W0))===$e(($0(),wE)))),ms(new mn(null,new kn(t.a,16)),new Ts(e)),ms(rc(new mn(null,new kn(t.b,16)),new f9),new Wi(e)),h=new tut(t),Qe(t,(nt(),H4),h),Kj(e.a),Kd(e.a,(io(),Dd),u(W(t,Ly),246)),Kd(e.a,i2,u(W(t,dTe),246)),Kd(e.a,fu,u(W(t,aS),246)),Kd(e.a,Yc,u(W(t,Iq),246)),Kd(e.a,zo,trn(u(W(t,W0),218))),vqe(e.a,kwn(t)),Qe(t,lle,JH(e.a,t))}function Abn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;return P=e.c[t],z=e.c[n],q=u(W(P,(nt(),Tk)),15),!!q&&q.gc()!=0&&q.Hc(z)||(K=P.k!=(zn(),ca)&&z.k!=ca,Q=u(W(P,kw),10),ue=u(W(z,kw),10),Se=Q!=ue,Te=!!Q&&Q!=P||!!ue&&ue!=z,Ne=Rie(P,(dt(),Ln)),Ke=Rie(z,Tr),Te=Te|(Rie(P,Tr)||Rie(z,Ln)),it=Te&&Se||Ne||Ke,K&&it)||P.k==(zn(),Xc)&&z.k==js||z.k==(zn(),Xc)&&P.k==js?!1:(T=e.c[t],a=e.c[n],i=sit(e.e,T,a,(dt(),On)),v=sit(e.i,T,a,$n),ydn(e.f,T,a),x=Att(e.b,T,a)+u(i.a,19).a+u(v.a,19).a+e.f.d,d=Att(e.b,a,T)+u(i.b,19).a+u(v.b,19).a+e.f.b,e.a&&(L=u(W(T,Mi),11),h=u(W(a,Mi),11),r=Grt(e.g,L,h),x+=u(r.a,19).a,d+=u(r.b,19).a),x>d)}function Lbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(n=u(W(e,(mt(),vs)),98),h=e.f,a=e.d,d=h.a+a.b+a.c,v=0-a.d-e.c.b,T=h.b+a.d+a.a-e.c.b,x=new at,L=new at,i=new C(t);i.a<i.c.c.length;){switch(r=u(Y(i),10),n.g){case 1:case 2:case 3:Sdn(r);break;case 4:P=u(W(r,_w),8),z=P?P.a:0,r.n.a=d*We(gt(W(r,(nt(),xw))))-z,H$(r,!0,!1);break;case 5:q=u(W(r,_w),8),K=q?q.a:0,r.n.a=We(gt(W(r,(nt(),xw))))-K,H$(r,!0,!1),h.a=b.Math.max(h.a,r.n.a+r.o.a/2)}switch(u(W(r,(nt(),vc)),61).g){case 1:r.n.b=v,x.c[x.c.length]=r;break;case 3:r.n.b=T,L.c[L.c.length]=r}}switch(n.g){case 1:case 2:Jtt(x,e),Jtt(L,e);break;case 3:ent(x,e),ent(L,e)}}function Mbn(e,t){var n,r,i,a,h,d,v,x,T,L;for(T=new at,L=new S3,a=null,i=0,r=0;r<t.length;++r)switch(n=t[r],Yrn(a,n)&&(i=Nye(e,L,T,Gq,i)),Js(n,(nt(),kw))&&(a=u(W(n,kw),10)),n.k.g){case 0:for(v=b2e(C6(sc(n,(dt(),Ln)),new fB));Dre(v);)h=u(Gwe(v),11),e.d[h.p]=i++,T.c[T.c.length]=h;for(i=Nye(e,L,T,Gq,i),x=b2e(C6(sc(n,Tr),new fB));Dre(x);)h=u(Gwe(x),11),e.d[h.p]=i++,T.c[T.c.length]=h;break;case 3:sc(n,c_e).dc()||(h=u(sc(n,c_e).Xb(0),11),e.d[h.p]=i++,T.c[T.c.length]=h),sc(n,Gq).dc()||Bp(L,n);break;case 1:for(d=sc(n,(dt(),On)).Kc();d.Ob();)h=u(d.Pb(),11),e.d[h.p]=i++,T.c[T.c.length]=h;sc(n,$n).Jc(new cGe(L,n))}return Nye(e,L,T,Gq,i),T}function uut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;for(x=ps,T=ps,d=Ds,v=Ds,P=new C(t.i);P.a<P.c.c.length;)L=u(Y(P),65),i=u(u(Jn(e.g,L.a),46).b,33),_1(i,L.b.c,L.b.d),x=b.Math.min(x,i.i),T=b.Math.min(T,i.j),d=b.Math.max(d,i.i+i.g),v=b.Math.max(v,i.j+i.f);for(z=u(jt(e.c,(FD(),Tmt)),116),iw(e.c,d-x+(z.b+z.c),v-T+(z.d+z.a),!0,!0),$3e(e.c,-x+z.b,-T+z.d),r=new ir(BWe(e.c));r.e!=r.i.gc();)n=u(br(r),79),h=h4(n,!0,!0),q=Jd(n),Q=qp(n),K=new Ft(q.i+q.g/2,q.j+q.f/2),a=new Ft(Q.i+Q.g/2,Q.j+Q.f/2),ue=pa(new Ft(a.a,a.b),K),t7(ue,q.g,q.f),Ni(K,ue),Se=pa(new Ft(K.a,K.b),a),t7(Se,Q.g,Q.f),Ni(a,Se),BR(h,K.a,K.b),PR(h,a.a,a.b)}function Dbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(e.c=e.d,q=Nt(W(t,(mt(),Ybt))),z=q==null||(An(q),q),a=u(W(t,(nt(),Qc)),21).Hc((mo(),Th)),i=u(W(t,vs),98),n=!(i==(ya(),Fb)||i==f0||i==Zc),z&&(n||!a)){for(L=new C(t.a);L.a<L.c.c.length;)x=u(Y(L),10),x.p=0;for(P=new at,T=new C(t.a);T.a<T.c.c.length;)if(x=u(Y(T),10),r=rct(e,x,null),r){for(v=new ame,$o(v,t),Qe(v,_y,u(r.b,21)),jve(v.d,t.d),Qe(v,sE,null),d=u(r.a,15).Kc();d.Ob();)h=u(d.Pb(),10),st(v.a,h),h.a=v;P.Fc(v)}a&&($e(W(t,Ak))===$e((Vv(),_ue))?e.c=e.b:e.c=e.a)}else P=new Cl(ie(ne(Vgt,1),iht,37,0,[t]));return $e(W(t,Ak))!==$e((Vv(),I4))&&(fn(),P.ad(new SW)),P}function lut(e){vv(e,new hb(ppe(WF(dv(lv(fv(hv(new og,Pg),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new EQ),qht),sn((o7(),Uhe))))),pt(e,Pg,cw,v_e),pt(e,Pg,dy,20),pt(e,Pg,uk,S7),pt(e,Pg,mI,lt(1)),pt(e,Pg,wC,(In(),!0)),pt(e,Pg,AI,Ct(p_e)),pt(e,Pg,k4,Ct(bwt)),pt(e,Pg,hk,Ct(vwt)),pt(e,Pg,lk,Ct(wwt)),pt(e,Pg,A7,Ct(pwt)),pt(e,Pg,mC,Ct(b_e)),pt(e,Pg,L7,Ct(ywt)),pt(e,Pg,Wke,Ct(xwt)),pt(e,Pg,Yke,Ct(w_e))}function Ibn(e){e.q||(e.q=!0,e.p=gc(e,0),e.a=gc(e,1),Hi(e.a,0),e.f=gc(e,2),Hi(e.f,1),hs(e.f,2),e.n=gc(e,3),hs(e.n,3),hs(e.n,4),hs(e.n,5),hs(e.n,6),e.g=gc(e,4),Hi(e.g,7),hs(e.g,8),e.c=gc(e,5),Hi(e.c,7),Hi(e.c,8),e.i=gc(e,6),Hi(e.i,9),Hi(e.i,10),Hi(e.i,11),Hi(e.i,12),hs(e.i,13),e.j=gc(e,7),Hi(e.j,9),e.d=gc(e,8),Hi(e.d,3),Hi(e.d,4),Hi(e.d,5),Hi(e.d,6),hs(e.d,7),hs(e.d,8),hs(e.d,9),hs(e.d,10),e.b=gc(e,9),hs(e.b,0),hs(e.b,1),e.e=gc(e,10),hs(e.e,1),hs(e.e,2),hs(e.e,3),hs(e.e,4),Hi(e.e,5),Hi(e.e,6),Hi(e.e,7),Hi(e.e,8),Hi(e.e,9),Hi(e.e,10),hs(e.e,11),e.k=gc(e,11),hs(e.k,0),hs(e.k,1),e.o=hi(e,12),e.s=hi(e,13))}function M5e(e,t){t.dc()&&Vd(e.j,!0,!0,!0,!0),Ci(t,(dt(),Nf))&&Vd(e.j,!0,!0,!0,!1),Ci(t,_h)&&Vd(e.j,!1,!0,!0,!0),Ci(t,th)&&Vd(e.j,!0,!0,!1,!0),Ci(t,Qh)&&Vd(e.j,!0,!1,!0,!0),Ci(t,ul)&&Vd(e.j,!1,!0,!0,!1),Ci(t,Ch)&&Vd(e.j,!1,!0,!1,!0),Ci(t,nh)&&Vd(e.j,!0,!1,!1,!0),Ci(t,Pf)&&Vd(e.j,!0,!1,!0,!1),Ci(t,Nu)&&Vd(e.j,!0,!0,!0,!0),Ci(t,gu)&&Vd(e.j,!0,!0,!0,!0),Ci(t,Nu)&&Vd(e.j,!0,!0,!0,!0),Ci(t,Ou)&&Vd(e.j,!0,!0,!0,!0),Ci(t,Pu)&&Vd(e.j,!0,!0,!0,!0),Ci(t,ll)&&Vd(e.j,!0,!0,!0,!0),Ci(t,Jc)&&Vd(e.j,!0,!0,!0,!0)}function Obn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q;for(a=new at,x=new C(r);x.a<x.c.c.length;)if(d=u(Y(x),441),h=null,d.f==(vo(),ou))for(q=new C(d.e);q.a<q.c.c.length;)z=u(Y(q),17),Q=z.d.i,Xa(Q)==t?EJe(e,t,d,z,d.b,z.d):!n||Px(Q,n)?dln(e,t,d,r,z):(P=Yse(e,t,n,z,d.b,ou,h),P!=h&&(a.c[a.c.length]=P),P.c&&(h=P));else for(L=new C(d.e);L.a<L.c.c.length;)if(T=u(Y(L),17),K=T.c.i,Xa(K)==t)EJe(e,t,d,T,T.c,d.b);else{if(!n||Px(K,n))continue;P=Yse(e,t,n,T,d.b,cl,h),P!=h&&(a.c[a.c.length]=P),P.c&&(h=P)}for(v=new C(a);v.a<v.c.c.length;)d=u(Y(v),441),Ko(t.a,d.a,0)!=-1||st(t.a,d.a),d.c&&(i.c[i.c.length]=d)}function Nbn(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(x=new at,v=new C(t.a);v.a<v.c.c.length;)for(h=u(Y(v),10),P=sc(h,(dt(),$n)).Kc();P.Ob();)for(L=u(P.Pb(),11),i=new C(L.g);i.a<i.c.c.length;)r=u(Y(i),17),!(!no(r)&&r.c.i.c==r.d.i.c||no(r)||r.d.i.c!=n)&&(x.c[x.c.length]=r);for(d=J2(n.a).Kc();d.Ob();)for(h=u(d.Pb(),10),P=sc(h,(dt(),On)).Kc();P.Ob();)for(L=u(P.Pb(),11),i=new C(L.e);i.a<i.c.c.length;)if(r=u(Y(i),17),!(!no(r)&&r.c.i.c==r.d.i.c||no(r)||r.c.i.c!=t)){for(T=new Ca(x,x.c.length),a=(Qn(T.b>0),u(T.a.Xb(T.c=--T.b),17));a!=r&&T.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(Qn(T.b>0),u(T.a.Xb(T.c=--T.b),17));T.b>0&&Dl(T)}}function hut(e,t,n){var r,i,a,h,d,v,x,T,L;if(e.a!=t.Aj())throw ee(new Dn(O7+t.ne()+fw));if(r=_g((Uu(),Oa),t).$k(),r)return r.Aj().Nh().Ih(r,n);if(h=_g(Oa,t).al(),h){if(n==null)return null;if(d=u(n,15),d.dc())return"";for(L=new dg,a=d.Kc();a.Ob();)i=a.Pb(),To(L,h.Aj().Nh().Ih(h,i)),L.a+=" ";return mte(L,L.a.length-1)}if(T=_g(Oa,t).bl(),!T.dc()){for(x=T.Kc();x.Ob();)if(v=u(x.Pb(),148),v.wj(n))try{if(L=v.Aj().Nh().Ih(v,n),L!=null)return L}catch(P){if(P=ts(P),!me(P,102))throw ee(P)}throw ee(new Dn("Invalid value: '"+n+"' for datatype :"+t.ne()))}return u(t,834).Fj(),n==null?null:me(n,172)?""+u(n,172).a:pl(n)==wG?Fqe($S[0],u(n,199)):Yo(n)}function Pbn(e){var t,n,r,i,a,h,d,v,x,T;for(x=new as,d=new as,a=new C(e);a.a<a.c.c.length;)r=u(Y(a),128),r.v=0,r.n=r.i.c.length,r.u=r.t.c.length,r.n==0&&ks(x,r,x.c.b,x.c),r.u==0&&r.r.a.gc()==0&&ks(d,r,d.c.b,d.c);for(h=-1;x.b!=0;)for(r=u(Uie(x,0),128),n=new C(r.t);n.a<n.c.c.length;)t=u(Y(n),268),T=t.b,T.v=b.Math.max(T.v,r.v+1),h=b.Math.max(h,T.v),--T.n,T.n==0&&ks(x,T,x.c.b,x.c);if(h>-1){for(i=si(d,0);i.b!=i.d.c;)r=u(ii(i),128),r.v=h;for(;d.b!=0;)for(r=u(Uie(d,0),128),n=new C(r.i);n.a<n.c.c.length;)t=u(Y(n),268),v=t.a,v.r.a.gc()==0&&(v.v=b.Math.min(v.v,r.v-1),--v.u,v.u==0&&ks(d,v,d.c.b,d.c))}}function fut(e,t,n,r,i){var a,h,d,v;return v=ps,h=!1,d=y5e(e,pa(new Ft(t.a,t.b),e),Ni(new Ft(n.a,n.b),i),pa(new Ft(r.a,r.b),n)),a=!!d&&!(b.Math.abs(d.a-e.a)<=lw&&b.Math.abs(d.b-e.b)<=lw||b.Math.abs(d.a-t.a)<=lw&&b.Math.abs(d.b-t.b)<=lw),d=y5e(e,pa(new Ft(t.a,t.b),e),n,i),d&&((b.Math.abs(d.a-e.a)<=lw&&b.Math.abs(d.b-e.b)<=lw)==(b.Math.abs(d.a-t.a)<=lw&&b.Math.abs(d.b-t.b)<=lw)||a?v=b.Math.min(v,h_(pa(d,n))):h=!0),d=y5e(e,pa(new Ft(t.a,t.b),e),r,i),d&&(h||(b.Math.abs(d.a-e.a)<=lw&&b.Math.abs(d.b-e.b)<=lw)==(b.Math.abs(d.a-t.a)<=lw&&b.Math.abs(d.b-t.b)<=lw)||a)&&(v=b.Math.min(v,h_(pa(d,r)))),v}function dut(e){vv(e,new hb(WF(dv(lv(fv(hv(new og,Qp),nht),"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 Zb),Xl))),pt(e,Qp,yI,Ct(O7e)),pt(e,Qp,mz,(In(),!0)),pt(e,Qp,k4,Ct(Tgt)),pt(e,Qp,hk,Ct(_gt)),pt(e,Qp,lk,Ct(Cgt)),pt(e,Qp,A7,Ct(Egt)),pt(e,Qp,mC,Ct(P7e)),pt(e,Qp,L7,Ct(Sgt)),pt(e,Qp,E6e,Ct(I7e)),pt(e,Qp,_6e,Ct(M7e)),pt(e,Qp,C6e,Ct(D7e)),pt(e,Qp,S6e,Ct(N7e)),pt(e,Qp,T6e,Ct(BG))}function Bbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(t,"Interactive crossing minimization",1),h=0,a=new C(e.b);a.a<a.c.c.length;)r=u(Y(a),29),r.p=h++;for(P=D3e(e),Q=new bpe(P.length),Hct(new Cl(ie(ne(upt,1),_t,225,0,[Q])),P),K=0,h=0,i=new C(e.b);i.a<i.c.c.length;){for(r=u(Y(i),29),n=0,L=0,T=new C(r.a);T.a<T.c.c.length;)for(v=u(Y(T),10),v.n.a>0&&(n+=v.n.a+v.o.a/2,++L),q=new C(v.j);q.a<q.c.c.length;)z=u(Y(q),11),z.p=K++;for(L>0&&(n/=L),ue=Ie(va,Ao,25,r.a.c.length,15,1),d=0,x=new C(r.a);x.a<x.c.c.length;)v=u(Y(x),10),v.p=d++,ue[v.p]=Tbn(v,n),v.k==(zn(),ca)&&Qe(v,(nt(),f9e),ue[v.p]);fn(),aa(r.a,new yRe(ue)),Qot(Q,P,h,!0),++h}lr(t)}function uC(e,t){var n,r,i,a,h,d,v,x,T;if(t.e==5){sut(e,t);return}if(x=t,!(x.b==null||e.b==null)){for(c4(e),oC(e),c4(x),oC(x),n=Ie(Sr,Jr,25,e.b.length+x.b.length,15,1),T=0,r=0,h=0;r<e.b.length&&h<x.b.length;)if(i=e.b[r],a=e.b[r+1],d=x.b[h],v=x.b[h+1],a<d)n[T++]=e.b[r++],n[T++]=e.b[r++];else if(a>=d&&i<=v)d<=i&&a<=v?r+=2:d<=i?(e.b[r]=v+1,h+=2):a<=v?(n[T++]=i,n[T++]=d-1,r+=2):(n[T++]=i,n[T++]=d-1,e.b[r]=v+1,h+=2);else if(v<i)h+=2;else throw ee(new ec("Token#subtractRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] - ["+x.b[h]+","+x.b[h+1]+"]"));for(;r<e.b.length;)n[T++]=e.b[r++],n[T++]=e.b[r++];e.b=Ie(Sr,Jr,25,T,15,1),Rc(n,0,e.b,0,T)}}function Fbn(e){var t,n,r,i,a,h,d;if(!e.A.dc()){if(e.A.Hc((Nl(),BO))&&(u(_o(e.b,(dt(),Ln)),124).k=!0,u(_o(e.b,Tr),124).k=!0,t=e.q!=(ya(),f0)&&e.q!=Zc,PL(u(_o(e.b,$n),124),t),PL(u(_o(e.b,On),124),t),PL(e.g,t),e.A.Hc(Rb)&&(u(_o(e.b,Ln),124).j=!0,u(_o(e.b,Tr),124).j=!0,u(_o(e.b,$n),124).k=!0,u(_o(e.b,On),124).k=!0,e.g.k=!0)),e.A.Hc(PO))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,d=e.B.Hc((wl(),RS)),i=_ie(),a=0,h=i.length;a<h;++a)r=i[a],n=u(_o(e.i,r),306),n&&(jye(r)?(n.j=!0,n.k=!0):(n.j=!d,n.k=!d));e.A.Hc(Hy)&&e.B.Hc((wl(),RO))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function Rbn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(r=new C(e.e.b);r.a<r.c.c.length;)for(n=u(Y(r),29),a=new C(n.a);a.a<a.c.c.length;)if(i=u(Y(a),10),z=e.i[i.p],x=z.a.e,v=z.d.e,i.n.b=x,ue=v-x-i.o.b,t=Kse(i),P=(Xm(),(i.q?i.q:(fn(),fn(),o0))._b((mt(),Tw))?L=u(W(i,Tw),197):L=u(W(Xa(i),cS),197),L),t&&(P==U4||P==V4)&&(i.o.b+=ue),t&&(P==Nle||P==U4||P==V4)){for(K=new C(i.j);K.a<K.c.c.length;)q=u(Y(K),11),(dt(),gu).Hc(q.j)&&(T=u(Jn(e.k,q),121),q.n.b=T.e-x);for(d=new C(i.b);d.a<d.c.c.length;)h=u(Y(d),70),Q=u(W(i,Ew),21),Q.Hc((ry(),Xh))?h.n.b+=ue:Q.Hc(h0)&&(h.n.b+=ue/2);(P==U4||P==V4)&&sc(i,(dt(),Tr)).Jc(new BRe(ue))}}function gut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;if(!e.b)return!1;for(h=null,P=null,v=new fre(null,null),i=1,v.a[1]=e.b,L=v;L.a[i];)x=i,d=P,P=L,L=L.a[i],r=e.a.ue(t,L.d),i=r<0?0:1,r==0&&(!n.c||zc(L.e,n.d))&&(h=L),!(L&&L.b)&&!mm(L.a[i])&&(mm(L.a[1-i])?P=P.a[x]=D$(L,i):mm(L.a[1-i])||(z=P.a[1-x],z&&(!mm(z.a[1-x])&&!mm(z.a[x])?(P.b=!1,z.b=!0,L.b=!0):(a=d.a[1]==P?1:0,mm(z.a[x])?d.a[a]=mXe(P,x):mm(z.a[1-x])&&(d.a[a]=D$(P,x)),L.b=d.a[a].b=!0,d.a[a].a[0].b=!1,d.a[a].a[1].b=!1))));return h&&(n.b=!0,n.d=h.e,L!=h&&(T=new fre(L.d,L.e),iln(e,v,h,T),P==h&&(P=T)),P.a[P.a[1]==L?1:0]=L.a[L.a[0]?0:1],--e.c),e.b=v.a[1],e.b&&(e.b.b=!1),n.b}function jbn(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(i=new C(e.a.a.b);i.a<i.c.c.length;)for(r=u(Y(i),57),v=r.c.Kc();v.Ob();)d=u(v.Pb(),57),r.a!=d.a&&(Sp(e.a.d)?L=e.a.g.Oe(r,d):L=e.a.g.Pe(r,d),a=r.b.a+r.d.b+L-d.b.a,a=b.Math.ceil(a),a=b.Math.max(0,a),Kwe(r,d)?(h=xv(new j2,e.d),x=_s(b.Math.ceil(d.b.a-r.b.a)),t=x-(d.b.a-r.b.a),T=B6(r).a,n=r,T||(T=B6(d).a,t=-t,n=d),T&&(n.b.a-=t,T.n.a-=t),Tf(gf(df(pf(ff(new Ih,b.Math.max(0,x)),1),h),e.c[r.a.d])),Tf(gf(df(pf(ff(new Ih,b.Math.max(0,-x)),1),h),e.c[d.a.d]))):(P=1,(me(r.g,145)&&me(d.g,10)||me(d.g,145)&&me(r.g,10))&&(P=2),Tf(gf(df(pf(ff(new Ih,_s(a)),P),e.c[r.a.d]),e.c[d.a.d]))))}function put(e,t,n){var r,i,a,h,d,v,x,T,L,P;if(n)for(r=-1,T=new Ca(t,0);T.b<T.d.gc();){if(d=(Qn(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),10)),L=e.c[d.c.p][d.p].a,L==null){for(h=r+1,a=new Ca(t,T.b);a.b<a.d.gc();)if(P=AVt(e,(Qn(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),10))).a,P!=null){h=(An(P),P);break}L=(r+h)/2,e.c[d.c.p][d.p].a=L,e.c[d.c.p][d.p].d=(An(L),L),e.c[d.c.p][d.p].b=1}r=(An(L),L)}else{for(i=0,x=new C(t);x.a<x.c.c.length;)d=u(Y(x),10),e.c[d.c.p][d.p].a!=null&&(i=b.Math.max(i,We(e.c[d.c.p][d.p].a)));for(i+=2,v=new C(t);v.a<v.c.c.length;)d=u(Y(v),10),e.c[d.c.p][d.p].a==null&&(L=vl(e.i,24)*pI*i-1,e.c[d.c.p][d.p].a=L,e.c[d.c.p][d.p].d=L,e.c[d.c.p][d.p].b=1)}}function $bn(){ci(Gy,new BB),ci(ti,new HB),ci(Jh,new $Z),ci(u1,new mL),ci(Qhe,new yL),ci(OV,new X5),ci(J0,new HZ),ci(jS,new zZ),ci(HO,new _Z),ci(Vhe,new CZ),ci(b2,new SZ),ci(ef,new AZ),ci(c1,new LZ),ci(Dw,new MZ),ci(qy,new PB),ci(Bu,new DZ),ci(zy,new IZ),ci(wc,new OZ),ci(Eo,new k8),ci(pu,new P9),ci(Vs,new FB),ci(ne(Qu,1),new NZ),ci(bk,new RB),ci(GC,new jB),ci(wG,new PZ),ci(jAe,new B9),ci(ka,new dm),ci(eAe,new $B),ci(rAe,new BZ),ci(CAe,new FZ),ci(NV,new F9),ci($7,new zB),ci(Ja,new GB),ci(ixe,new mc),ci(gw,new RZ),ci(sxe,new qB),ci(xAe,new R9),ci($Ae,new jZ),ci(pw,new j9),ci(Et,new VB),ci(nAe,new $9),ci(HAe,new H9)}function Hbn(e,t,n){var r,i,a,h,d,v,x,T,L;for(!n&&(n=Ern(t.q.getTimezoneOffset())),i=(t.q.getTimezoneOffset()-n.a)*6e4,d=new tbe(Wa(Mu(t.q.getTime()),i)),v=d,d.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,v=new tbe(Wa(Mu(t.q.getTime()),i))),T=new ym,x=e.a.length,a=0;a<x;)if(r=Ma(e.a,a),r>=97&&r<=122||r>=65&&r<=90){for(h=a+1;h<x&&Ma(e.a,h)==r;++h);Pwn(T,r,h-a,d,v,n),a=h}else if(r==39){if(++a,a<x&&Ma(e.a,a)==39){T.a+="'",++a;continue}for(L=!1;!L;){for(h=a;h<x&&Ma(e.a,h)!=39;)++h;if(h>=x)throw ee(new Dn("Missing trailing '"));h+1<x&&Ma(e.a,h+1)==39?++h:L=!0,Yr(T,$l(e.a,a,h)),a=h+1}}else T.a+=String.fromCharCode(r),++a;return T.a}function zbn(e){var t,n,r,i,a,h,d,v;for(t=null,r=new C(e);r.a<r.c.c.length;)n=u(Y(r),233),We(S1(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!t&&(t=new at),t.c[t.c.length]=n);if(t)for(;t.c.length!=0;){if(n=u(yg(t,0),233),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new at),new C(n.b));a.a<a.c.c.length;)if(i=u(Y(a),233),qL(S1(i.g,i.d[0]).a)==qL(S1(n.g,n.d[0]).a)){if(Ko(e,i,0)>Ko(e,n,0))return new _a(i,n)}else if(We(S1(i.g,i.d[0]).a)>We(S1(n.g,n.d[0]).a))return new _a(i,n)}for(d=(!n.e&&(n.e=new at),n.e).Kc();d.Ob();)h=u(d.Pb(),233),v=(!h.b&&(h.b=new at),h.b),Fm(0,v.c.length),MT(v.c,0,n),h.c==v.c.length&&(t.c[t.c.length]=h)}return null}function but(e,t){var n,r,i,a,h,d,v,x,T;if(e==null)return Iu;if(v=t.a.zc(e,t),v!=null)return"[...]";for(n=new tb(so,"[","]"),i=e,a=0,h=i.length;a<h;++a)r=i[a],r!=null&&pl(r).i&4?Array.isArray(r)&&(T=tD(r),!(T>=14&&T<=16))?t.a._b(r)?(n.a?Yr(n.a,n.b):n.a=new jl(n.d),VT(n.a,"[...]")):(d=Z2(r),x=new r_(t),O0(n,but(d,x))):me(r,177)?O0(n,Ihn(u(r,177))):me(r,190)?O0(n,kun(u(r,190))):me(r,195)?O0(n,Dln(u(r,195))):me(r,2012)?O0(n,xun(u(r,2012))):me(r,48)?O0(n,Dhn(u(r,48))):me(r,364)?O0(n,Vhn(u(r,364))):me(r,832)?O0(n,Mhn(u(r,832))):me(r,104)&&O0(n,Lhn(u(r,104))):O0(n,r==null?Iu:Yo(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function vut(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(d=h4(t,!1,!1),ue=jD(d),r&&(ue=vD(ue)),Te=We(gt(jt(t,(H_(),fue)))),Q=(Qn(ue.b!=0),u(ue.a.a.c,8)),L=u(n1(ue,1),8),ue.b>2?(T=new at,Ps(T,new Yd(ue,1,ue.b)),a=Xut(T,Te+e.a),Se=new vse(a),$o(Se,t),n.c[n.c.length]=Se):r?Se=u(Jn(e.b,Jd(t)),266):Se=u(Jn(e.b,qp(t)),266),v=Jd(t),r&&(v=qp(t)),h=Qln(Q,v),x=Te+e.a,h.a?(x+=b.Math.abs(Q.b-L.b),K=new Ft(L.a,(L.b+Q.b)/2)):(x+=b.Math.abs(Q.a-L.a),K=new Ft((L.a+Q.a)/2,L.b)),r?Si(e.d,t,new e3e(Se,h,K,x)):Si(e.c,t,new e3e(Se,h,K,x)),Si(e.b,t,Se),q=(!t.n&&(t.n=new ot(Qo,t,1,7)),t.n),z=new ir(q);z.e!=z.i.gc();)P=u(br(z),137),i=XD(e,P,!0,0,0),n.c[n.c.length]=i}function Gbn(e){var t,n,r,i,a,h,d,v,x,T;for(x=new at,d=new at,h=new C(e);h.a<h.c.c.length;)i=u(Y(h),112),BL(i,i.f.c.length),iT(i,i.k.c.length),i.d==0&&(x.c[x.c.length]=i),i.i==0&&i.e.b==0&&(d.c[d.c.length]=i);for(r=-1;x.c.length!=0;)for(i=u(yg(x,0),112),n=new C(i.k);n.a<n.c.c.length;)t=u(Y(n),129),T=t.b,TF(T,b.Math.max(T.o,i.o+1)),r=b.Math.max(r,T.o),BL(T,T.d-1),T.d==0&&(x.c[x.c.length]=T);if(r>-1){for(a=new C(d);a.a<a.c.c.length;)i=u(Y(a),112),i.o=r;for(;d.c.length!=0;)for(i=u(yg(d,0),112),n=new C(i.f);n.a<n.c.c.length;)t=u(Y(n),129),v=t.a,!(v.e.b>0)&&(TF(v,b.Math.min(v.o,i.o-1)),iT(v,v.i-1),v.i==0&&(d.c[d.c.length]=v))}}function b7(e,t,n){var r,i,a,h,d,v,x;if(x=e.c,!t&&(t=fAe),e.c=t,e.Db&4&&!(e.Db&1)&&(v=new oa(e,1,2,x,e.c),n?n.Ei(v):n=v),x!=t){if(me(e.Cb,284))e.Db>>16==-10?n=u(e.Cb,284).nk(t,n):e.Db>>16==-15&&(!t&&(t=(cn(),Q1)),!x&&(x=(cn(),Q1)),e.Cb.nh()&&(v=new N0(e.Cb,1,13,x,t,Ag(gl(u(e.Cb,59)),e),!1),n?n.Ei(v):n=v));else if(me(e.Cb,88))e.Db>>16==-23&&(me(t,88)||(t=(cn(),nf)),me(x,88)||(x=(cn(),nf)),e.Cb.nh()&&(v=new N0(e.Cb,1,10,x,t,Ag(Bc(u(e.Cb,26)),e),!1),n?n.Ei(v):n=v));else if(me(e.Cb,444))for(d=u(e.Cb,836),h=(!d.b&&(d.b=new FF(new Eee)),d.b),a=(r=new ib(new lg(h.a).a),new RF(r));a.a.b;)i=u(jv(a.a).cd(),87),n=b7(i,BH(i,d),n)}return n}function qbn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(h=Bt(Nt(jt(e,(mt(),Dy)))),P=u(jt(e,Oy),21),v=!1,x=!1,L=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));L.e!=L.i.gc()&&(!v||!x);){for(a=u(br(L),118),d=0,i=Dp(P1(ie(ne(G1,1),_t,20,0,[(!a.d&&(a.d=new yn(ta,a,8,5)),a.d),(!a.e&&(a.e=new yn(ta,a,7,4)),a.e)])));Vr(i)&&(r=u(Nr(i),79),T=h&&Jv(r)&&Bt(Nt(jt(r,Ab))),n=Wct((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),a)?e==ls(Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82))):e==ls(Ho(u(_e((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),0),82))),!((T||n)&&(++d,d>1))););(d>0||P.Hc((al(),Z0))&&(!a.n&&(a.n=new ot(Qo,a,1,7)),a.n).i>0)&&(v=!0),d>1&&(x=!0)}v&&t.Fc((mo(),Th)),x&&t.Fc((mo(),eS))}function wut(e){var t,n,r,i,a,h,d,v,x,T,L,P;if(P=u(jt(e,(di(),Nb)),21),P.dc())return null;if(d=0,h=0,P.Hc((Nl(),BO))){for(T=u(jt(e,LS),98),r=2,n=2,i=2,a=2,t=ls(e)?u(jt(ls(e),Lw),103):u(jt(e,Lw),103),x=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));x.e!=x.i.gc();)if(v=u(br(x),118),L=u(jt(v,J4),61),L==(dt(),cc)&&(L=g5e(v,t),So(v,J4,L)),T==(ya(),Zc))switch(L.g){case 1:r=b.Math.max(r,v.i+v.g);break;case 2:n=b.Math.max(n,v.j+v.f);break;case 3:i=b.Math.max(i,v.i+v.g);break;case 4:a=b.Math.max(a,v.j+v.f)}else switch(L.g){case 1:r+=v.g+2;break;case 2:n+=v.f+2;break;case 3:i+=v.g+2;break;case 4:a+=v.f+2}d=b.Math.max(r,i),h=b.Math.max(n,a)}return iw(e,d,h,!0,!0)}function Jse(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(Se=u(Gl(m$(qi(new mn(null,new kn(t.d,16)),new B8(n)),new jL(n)),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),L=xi,T=za,v=new C(t.b.j);v.a<v.c.c.length;)d=u(Y(v),11),d.j==n&&(L=b.Math.min(L,d.p),T=b.Math.max(T,d.p));if(L==xi)for(h=0;h<Se.gc();h++)jwe(u(Se.Xb(h),101),n,h);else for(Te=Ie(Sr,Jr,25,i.length,15,1),NYt(Te,Te.length),ue=Se.Kc();ue.Ob();){for(Q=u(ue.Pb(),101),a=u(Jn(e.b,Q),177),x=0,K=L;K<=T;K++)a[K]&&(x=b.Math.max(x,r[K]));if(Q.i){for(z=Q.i.c,Ne=new Ys,P=0;P<i.length;P++)i[z][P]&&zs(Ne,lt(Te[P]));for(;_0(Ne,lt(x));)++x}for(jwe(Q,n,x),q=L;q<=T;q++)a[q]&&(r[q]=x+1);Q.i&&(Te[Q.i.c]=x)}}function Vbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(i=null,r=new C(t.a);r.a<r.c.c.length;)n=u(Y(r),10),Kse(n)?a=(d=xv(XL(new j2,n),e.f),v=xv(XL(new j2,n),e.f),x=new Rve(n,!0,d,v),T=n.o.b,L=(Xm(),(n.q?n.q:(fn(),fn(),o0))._b((mt(),Tw))?P=u(W(n,Tw),197):P=u(W(Xa(n),cS),197),P),z=1e4,L==V4&&(z=1),q=Tf(gf(df(ff(pf(new Ih,z),_s(b.Math.ceil(T))),d),v)),L==U4&&zs(e.d,q),nct(e,J2(sc(n,(dt(),On))),x),nct(e,sc(n,$n),x),x):a=(K=xv(XL(new j2,n),e.f),ms(qi(new mn(null,new kn(n.j,16)),new jX),new lGe(e,K)),new Rve(n,!1,K,K)),e.i[n.p]=a,i&&(h=i.c.d.a+F3(e.n,i.c,n)+n.d.d,i.b||(h+=i.c.o.b),Tf(gf(df(pf(ff(new Ih,_s(b.Math.ceil(h))),0),i.d),a.a))),i=a}function Ubn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(Er(t,"Label dummy insertions",1),L=new at,h=We(gt(W(e,(mt(),Mk)))),x=We(gt(W(e,Py))),T=u(W(e,Jl),103),z=new C(e.a);z.a<z.c.c.length;)for(P=u(Y(z),10),a=new ur(dr(Fs(P).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),i.c.i!=i.d.i&&_te(i.b,ept)){for(K=Rtn(i),q=qd(i.b.c.length),n=O1n(e,i,K,q),L.c[L.c.length]=n,r=n.o,d=new Ca(i.b,0);d.b<d.d.gc();)v=(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),70)),$e(W(v,Od))===$e((N1(),bE))&&(T==(wo(),X0)||T==Y0?(r.a+=v.o.a+x,r.b=b.Math.max(r.b,v.o.b)):(r.a=b.Math.max(r.a,v.o.a),r.b+=v.o.b+x),q.c[q.c.length]=v,Dl(d));T==(wo(),X0)||T==Y0?(r.a-=x,r.b+=h+K):r.b+=h-x+K}Ps(e.a,L),lr(t)}function Kbn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z;for(a=new Gst(t),L=P0n(e,t,a),z=b.Math.max(We(gt(W(t,(mt(),Rg)))),1),T=new C(L.a);T.a<T.c.c.length;)x=u(Y(T),46),v=Qnt(u(x.a,8),u(x.b,8),z),_=!0,_=_&Tv(n,new Ft(v.c,v.d)),_=_&Tv(n,Sm(new Ft(v.c,v.d),v.b,0)),_=_&Tv(n,Sm(new Ft(v.c,v.d),0,v.a)),_&Tv(n,Sm(new Ft(v.c,v.d),v.b,v.a));switch(P=a.d,d=Qnt(u(L.b.a,8),u(L.b.b,8),z),P==(dt(),On)||P==$n?(r.c[P.g]=b.Math.min(r.c[P.g],d.d),r.b[P.g]=b.Math.max(r.b[P.g],d.d+d.a)):(r.c[P.g]=b.Math.min(r.c[P.g],d.c),r.b[P.g]=b.Math.max(r.b[P.g],d.c+d.b)),i=Ds,h=a.c.i.d,P.g){case 4:i=h.c;break;case 2:i=h.b;break;case 1:i=h.a;break;case 3:i=h.d}return r.a[P.g]=b.Math.max(r.a[P.g],i),a}function Wbn(e){var t,n,r,i;if(n=e.D!=null?e.D:e.B,t=hd(n,Du(91)),t!=-1){r=n.substr(0,t),i=new dg;do i.a+="[";while((t=ex(n,91,++t))!=-1);on(r,nk)?i.a+="Z":on(r,NC)?i.a+="B":on(r,Jz)?i.a+="C":on(r,PC)?i.a+="D":on(r,BC)?i.a+="F":on(r,FC)?i.a+="I":on(r,RC)?i.a+="J":on(r,jC)?i.a+="S":(i.a+="L",i.a+=""+r,i.a+=";");try{return null}catch(a){if(a=ts(a),!me(a,60))throw ee(a)}}else if(hd(n,Du(46))==-1){if(on(n,nk))return El;if(on(n,NC))return Qu;if(on(n,Jz))return Sh;if(on(n,PC))return va;if(on(n,BC))return Wy;if(on(n,FC))return Sr;if(on(n,RC))return E2;if(on(n,jC))return i5}return null}function mut(e,t,n){var r,i,a,h,d,v,x,T;for(x=new H0(n),$o(x,t),Qe(x,(nt(),Mi),t),x.o.a=t.g,x.o.b=t.f,x.n.a=t.i,x.n.b=t.j,st(n.a,x),Si(e.a,t,x),((!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i!=0||Bt(Nt(jt(t,(mt(),Dy)))))&&Qe(x,a9e,(In(),!0)),v=u(W(n,Qc),21),T=u(W(x,(mt(),vs)),98),T==(ya(),g2)?Qe(x,vs,Y1):T!=Y1&&v.Fc((mo(),nE)),r=u(W(n,Jl),103),d=new ir((!t.c&&(t.c=new ot(xl,t,9,9)),t.c));d.e!=d.i.gc();)h=u(br(d),118),Bt(Nt(jt(h,Mb)))||Evn(e,h,x,v,r,T);for(a=new ir((!t.n&&(t.n=new ot(Qo,t,1,7)),t.n));a.e!=a.i.gc();)i=u(br(a),137),!Bt(Nt(jt(i,Mb)))&&i.a&&st(x.b,sie(i));return Bt(Nt(W(x,sS)))&&v.Fc((mo(),dq)),Bt(Nt(W(x,Aq)))&&(v.Fc((mo(),gq)),v.Fc(eS),Qe(x,vs,Y1)),x}function Ybn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;d=u(Jn(t.c,e),459),Se=t.a.c,v=t.a.c+t.a.b,Ut=d.f,Nn=d.a,h=Ut<Nn,K=new Ft(Se,Ut),Te=new Ft(v,Nn),i=(Se+v)/2,Q=new Ft(i,Ut),Ne=new Ft(i,Nn),a=adn(e,Ut,Nn),it=M1(t.B),kt=new Ft(i,a),Gt=M1(t.D),n=Lrn(ie(ne(ea,1),Je,8,0,[it,kt,Gt])),z=!1,ue=t.B.i,ue&&ue.c&&d.d&&(x=h&&ue.p<ue.c.a.c.length-1||!h&&ue.p>0,x?x&&(P=ue.p,h?++P:--P,L=u(It(ue.c.a,P),10),r=utt(L),z=!(Ese(r,it,n[0])||jKe(r,it,n[0]))):z=!0),q=!1,Ke=t.D.i,Ke&&Ke.c&&d.e&&(T=h&&Ke.p>0||!h&&Ke.p<Ke.c.a.c.length-1,T?(P=Ke.p,h?--P:++P,L=u(It(Ke.c.a,P),10),r=utt(L),q=!(Ese(r,n[0],Gt)||jKe(r,n[0],Gt))):q=!0),z&&q&&oi(e.a,kt),z||T_(e.a,ie(ne(ea,1),Je,8,0,[K,Q])),q||T_(e.a,ie(ne(ea,1),Je,8,0,[Ne,Te]))}function ez(e,t){var n,r,i,a,h,d,v,x;if(me(e.Ug(),160)?(ez(u(e.Ug(),160),t),t.a+=" > "):t.a+="Root ",n=e.Tg().zb,on(n.substr(0,3),"Elk")?Yr(t,n.substr(3)):t.a+=""+n,i=e.zg(),i){Yr((t.a+=" ",t),i);return}if(me(e,354)&&(x=u(e,137).a,x)){Yr((t.a+=" ",t),x);return}for(h=new ir(e.Ag());h.e!=h.i.gc();)if(a=u(br(h),137),x=a.a,x){Yr((t.a+=" ",t),x);return}if(me(e,352)&&(r=u(e,79),!r.b&&(r.b=new yn(kr,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new yn(kr,r,5,8)),r.c.i!=0))){for(t.a+=" (",d=new x6((!r.b&&(r.b=new yn(kr,r,4,7)),r.b));d.e!=d.i.gc();)d.e>0&&(t.a+=so),ez(u(br(d),160),t);for(t.a+=ooe,v=new x6((!r.c&&(r.c=new yn(kr,r,5,8)),r.c));v.e!=v.i.gc();)v.e>0&&(t.a+=so),ez(u(br(v),160),t);t.a+=")"}}function Xbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;if(a=u(W(e,(nt(),Mi)),79),!!a){for(r=e.a,i=new Do(n),Ni(i,$cn(e)),Px(e.d.i,e.c.i)?(P=e.c,L=ic(ie(ne(ea,1),Je,8,0,[P.n,P.a])),pa(L,n)):L=M1(e.c),ks(r,L,r.a,r.a.a),z=M1(e.d),W(e,fle)!=null&&Ni(z,u(W(e,fle),8)),ks(r,z,r.c.b,r.c),qm(r,i),h=h4(a,!0,!0),S$(h,u(_e((!a.b&&(a.b=new yn(kr,a,4,7)),a.b),0),82)),A$(h,u(_e((!a.c&&(a.c=new yn(kr,a,5,8)),a.c),0),82)),eI(r,h),T=new C(e.b);T.a<T.c.c.length;)x=u(Y(T),70),d=u(W(x,Mi),137),Hv(d,x.o.a),$v(d,x.o.b),_1(d,x.n.a+i.a,x.n.b+i.b),So(d,(G6(),Due),Nt(W(x,Due)));v=u(W(e,(mt(),Fo)),74),v?(qm(v,i),So(a,Fo,v)):So(a,Fo,null),t==($0(),Bk)?So(a,W0,Bk):So(a,W0,null)}}function Qbn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;for(z=t.c.length,P=0,L=new C(e.b);L.a<L.c.c.length;)if(T=u(Y(L),29),ue=T.a,ue.c.length!=0){for(Q=new C(ue),x=0,Se=null,i=u(Y(Q),10),a=null;i;){if(a=u(It(t,i.p),257),a.c>=0){for(v=null,d=new Ca(T.a,x+1);d.b<d.d.gc()&&(h=(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),10)),v=u(It(t,h.p),257),!(v.d==a.d&&v.c<a.c));)v=null;v&&(Se&&(gh(r,i.p,lt(u(It(r,i.p),19).a-1)),u(It(n,Se.p),15).Mc(a)),a=Dun(a,i,z++),t.c[t.c.length]=a,st(n,new at),Se?(u(It(n,Se.p),15).Fc(a),st(r,lt(1))):st(r,lt(0)))}q=null,Q.a<Q.c.c.length&&(q=u(Y(Q),10),K=u(It(t,q.p),257),u(It(n,i.p),15).Fc(K),gh(r,q.p,lt(u(It(r,q.p),19).a+1))),a.d=P,a.c=x++,Se=i,i=q}++P}}function eae(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;return v=e,T=pa(new Ft(t.a,t.b),e),x=n,L=pa(new Ft(r.a,r.b),n),P=v.a,Q=v.b,q=x.a,Se=x.b,z=T.a,ue=T.b,K=L.a,Te=L.b,i=K*ue-z*Te,C1(),kf(Cd),b.Math.abs(0-i)<=Cd||i==0||isNaN(0)&&isNaN(i)?!1:(h=1/i*((P-q)*ue-(Q-Se)*z),d=1/i*-(-(P-q)*Te+(Q-Se)*K),a=(kf(Cd),(b.Math.abs(0-h)<=Cd||h==0||isNaN(0)&&isNaN(h)?0:0<h?-1:0>h?1:mv(isNaN(0),isNaN(h)))<0&&(kf(Cd),(b.Math.abs(h-1)<=Cd||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:mv(isNaN(h),isNaN(1)))<0)&&(kf(Cd),(b.Math.abs(0-d)<=Cd||d==0||isNaN(0)&&isNaN(d)?0:0<d?-1:0>d?1:mv(isNaN(0),isNaN(d)))<0)&&(kf(Cd),(b.Math.abs(d-1)<=Cd||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:mv(isNaN(d),isNaN(1)))<0)),a)}function Zbn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;for(L=new Ive(new Ae(e));L.b!=L.c.a.d;)for(T=kZe(L),d=u(T.d,56),t=u(T.e,56),h=d.Tg(),K=0,Ne=(h.i==null&&wd(h),h.i).length;K<Ne;++K)if(x=(a=(h.i==null&&wd(h),h.i),K>=0&&K<a.length?a[K]:null),x.Ij()&&!x.Jj()){if(me(x,99))v=u(x,18),!(v.Bb&Ec)&&(it=go(v),!(it&&it.Bb&Ec))&&Rpn(e,v,d,t);else if(ho(),u(x,66).Oj()&&(n=(Ke=x,u(Ke?u(t,49).xh(Ke):null,153)),n))for(z=u(d.ah(x),153),r=n.gc(),Q=0,q=z.gc();Q<q;++Q)if(P=z.il(Q),me(P,99)){if(Te=z.jl(Q),i=Fv(e,Te),i==null&&Te!=null){if(Se=u(P,18),!e.b||Se.Bb&Ec||go(Se))continue;i=Te}if(!n.dl(P,i)){for(ue=0;ue<r;++ue)if(n.il(ue)==P&&$e(n.jl(ue))===$e(i)){n.ii(n.gc()-1,ue),--r;break}}}else n.dl(z.il(Q),z.jl(Q))}}function Jbn(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(ue=r2n(t,n,e.g),i.n&&i.n&&a&&wf(i,mf(a),(Ol(),rh)),e.b)for(Q=0;Q<ue.c.length;Q++)L=(En(Q,ue.c.length),u(ue.c[Q],200)),Q!=0&&(z=(En(Q-1,ue.c.length),u(ue.c[Q-1],200)),Ftt(L,z.f+z.b+e.g)),dwn(Q,ue,n,e.g),dcn(e,L),i.n&&a&&wf(i,mf(a),(Ol(),rh));else for(K=new C(ue);K.a<K.c.c.length;)for(q=u(Y(K),200),T=new C(q.a);T.a<T.c.c.length;)x=u(Y(T),187),Se=new Kve(x.s,x.t,e.g),yme(Se,x),st(q.d,Se);return xon(e,ue),i.n&&i.n&&a&&wf(i,mf(a),(Ol(),rh)),Te=b.Math.max(e.d,r.a-(h.b+h.c)),P=b.Math.max(e.c,r.b-(h.d+h.a)),d=P-e.c,e.e&&e.f&&(v=Te/P,v<e.a?Te=P*e.a:d+=Te/e.a-P),e.e&&Wsn(ue,Te,d),i.n&&i.n&&a&&wf(i,mf(a),(Ol(),rh)),new Xte(e.a,Te,e.c+d,(l7(),CS))}function evn(e){var t,n,r,i,a,h,d,v,x,T,L;for(e.j=Ie(Sr,Jr,25,e.g,15,1),e.o=new at,ms(rc(new mn(null,new kn(e.e.b,16)),new z5),new FRe(e)),e.a=Ie(El,s0,25,e.b,16,1),xD(new mn(null,new kn(e.e.b,16)),new jRe(e)),r=(L=new at,ms(qi(rc(new mn(null,new kn(e.e.b,16)),new UX),new RRe(e)),new hGe(e,L)),L),v=new C(r);v.a<v.c.c.length;)if(d=u(Y(v),508),!(d.c.length<=1)){if(d.c.length==2){Ufn(d),Kse((En(0,d.c.length),u(d.c[0],17)).d.i)||st(e.o,d);continue}if(!(wun(d)||ohn(d,new dB)))for(x=new C(d),i=null;x.a<x.c.c.length;)t=u(Y(x),17),n=e.c[t.p],!i||x.a>=x.c.c.length?T=fwe((zn(),js),ca):T=fwe((zn(),ca),ca),T*=2,a=n.a.g,n.a.g=b.Math.max(a,a+(T-a)),h=n.b.g,n.b.g=b.Math.max(h,h+(T-h)),i=t}}function tvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Ke=FUe(e),T=new at,d=e.c.length,L=d-1,P=d+1;Ke.a.c!=0;){for(;n.b!=0;)Te=(Qn(n.b!=0),u(bh(n,n.a.a),112)),g_(Ke.a,Te)!=null,Te.g=L--,p5e(Te,t,n,r);for(;t.b!=0;)Ne=(Qn(t.b!=0),u(bh(t,t.a.a),112)),g_(Ke.a,Ne)!=null,Ne.g=P++,p5e(Ne,t,n,r);for(x=za,ue=(h=new e_(new QT(new m(Ke.a).a).b),new g(h));JL(ue.a.a);){if(Q=(a=KR(ue.a),u(a.cd(),112)),!r&&Q.b>0&&Q.a<=0){T.c=Ie(Xn,_t,1,0,5,1),T.c[T.c.length]=Q;break}K=Q.i-Q.d,K>=x&&(K>x&&(T.c=Ie(Xn,_t,1,0,5,1),x=K),T.c[T.c.length]=Q)}T.c.length!=0&&(v=u(It(T,bH(i,T.c.length)),112),g_(Ke.a,v)!=null,v.g=P++,p5e(v,t,n,r),T.c=Ie(Xn,_t,1,0,5,1))}for(Se=e.c.length+1,q=new C(e);q.a<q.c.c.length;)z=u(Y(q),112),z.g<d&&(z.g=z.g+Se)}function tz(e,t){var n;if(e.e)throw ee(new Vo((S0(nue),zae+nue.k+Gae)));if(!Eqt(e.a,t))throw ee(new ec(Dlt+t+Ilt));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:Qv(e);break;case 1:Hp(e),Qv(e);break;case 4:i4(e),Qv(e);break;case 3:i4(e),Hp(e),Qv(e)}break;case 2:switch(t.g){case 1:Hp(e),Lse(e);break;case 4:i4(e),Qv(e);break;case 3:i4(e),Hp(e),Qv(e)}break;case 1:switch(t.g){case 2:Hp(e),Lse(e);break;case 4:Hp(e),i4(e),Qv(e);break;case 3:Hp(e),i4(e),Hp(e),Qv(e)}break;case 4:switch(t.g){case 2:i4(e),Qv(e);break;case 1:i4(e),Hp(e),Qv(e);break;case 3:Hp(e),Lse(e)}break;case 3:switch(t.g){case 2:Hp(e),i4(e),Qv(e);break;case 1:Hp(e),i4(e),Hp(e),Qv(e);break;case 4:Hp(e),Lse(e)}}return e}function b4(e,t){var n;if(e.d)throw ee(new Vo((S0(Tue),zae+Tue.k+Gae)));if(!Tqt(e.a,t))throw ee(new ec(Dlt+t+Ilt));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:rb(e);break;case 1:$p(e),rb(e);break;case 4:s4(e),rb(e);break;case 3:s4(e),$p(e),rb(e)}break;case 2:switch(t.g){case 1:$p(e),Mse(e);break;case 4:s4(e),rb(e);break;case 3:s4(e),$p(e),rb(e)}break;case 1:switch(t.g){case 2:$p(e),Mse(e);break;case 4:$p(e),s4(e),rb(e);break;case 3:$p(e),s4(e),$p(e),rb(e)}break;case 4:switch(t.g){case 2:s4(e),rb(e);break;case 1:s4(e),$p(e),rb(e);break;case 3:$p(e),Mse(e)}break;case 3:switch(t.g){case 2:$p(e),s4(e),rb(e);break;case 1:$p(e),s4(e),$p(e),rb(e);break;case 4:$p(e),Mse(e)}}return e}function nvn(e,t,n){var r,i,a,h,d,v,x,T;for(v=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));v.e!=v.i.gc();)for(d=u(br(v),33),i=new ur(dr(z0(d).a.Kc(),new V));Vr(i);){if(r=u(Nr(i),79),!r.b&&(r.b=new yn(kr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new yn(kr,r,5,8)),r.c.i<=1)))throw ee(new mT("Graph must not contain hyperedges."));if(!Q_(r)&&d!=Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82)))for(x=new WVe,$o(x,r),Qe(x,(Rp(),wk),r),UJ(x,u(hc(jo(n.f,d)),144)),k1(x,u(Jn(n,Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82))),144)),st(t.c,x),h=new ir((!r.n&&(r.n=new ot(Qo,r,1,7)),r.n));h.e!=h.i.gc();)a=u(br(h),137),T=new QXe(x,a.a),$o(T,a),Qe(T,wk,a),T.e.a=b.Math.max(a.g,1),T.e.b=b.Math.max(a.f,1),w5e(T),st(t.d,T)}}function rvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(L=new I5e(e),tZt(L,!(t==(wo(),X0)||t==Y0)),T=L.a,P=new h6,i=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),h=0,v=i.length;h<v;++h)n=i[h],x=Cte(T,pc,n),x&&(P.d=b.Math.max(P.d,x.Re()));for(r=ie(ne(ky,1),rt,232,0,[pc,au,bc]),a=0,d=r.length;a<d;++a)n=r[a],x=Cte(T,bc,n),x&&(P.a=b.Math.max(P.a,x.Re()));for(K=ie(ne(ky,1),rt,232,0,[pc,au,bc]),ue=0,Te=K.length;ue<Te;++ue)z=K[ue],x=Cte(T,z,pc),x&&(P.b=b.Math.max(P.b,x.Se()));for(q=ie(ne(ky,1),rt,232,0,[pc,au,bc]),Q=0,Se=q.length;Q<Se;++Q)z=q[Q],x=Cte(T,z,bc),x&&(P.c=b.Math.max(P.c,x.Se()));return P.d>0&&(P.d+=T.n.d,P.d+=T.d),P.a>0&&(P.a+=T.n.a,P.a+=T.d),P.b>0&&(P.b+=T.n.b,P.b+=T.d),P.c>0&&(P.c+=T.n.c,P.c+=T.d),P}function yut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;for(P=n.d,L=n.c,a=new Ft(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=a.b,x=new C(e.a);x.a<x.c.c.length;)if(d=u(Y(x),10),d.k==(zn(),Ls)){switch(r=u(W(d,(nt(),vc)),61),i=u(W(d,u9e),8),T=d.n,r.g){case 2:T.a=n.f.a+P.c-L.a;break;case 4:T.a=-L.a-P.b}switch(q=0,r.g){case 2:case 4:t==(ya(),f0)?(z=We(gt(W(d,xw))),T.b=a.b*z-u(W(d,(mt(),_w)),8).b,q=T.b+i.b,H$(d,!1,!0)):t==Zc&&(T.b=We(gt(W(d,xw)))-u(W(d,(mt(),_w)),8).b,q=T.b+i.b,H$(d,!1,!0))}h=b.Math.max(h,q)}for(n.f.b+=h-a.b,v=new C(e.a);v.a<v.c.c.length;)if(d=u(Y(v),10),d.k==(zn(),Ls))switch(r=u(W(d,(nt(),vc)),61),T=d.n,r.g){case 1:T.b=-L.b-P.d;break;case 3:T.b=n.f.b+P.a-L.b}}function ivn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt;for(i=u(W(e,(xc(),xS)),33),x=xi,T=xi,d=za,v=za,it=si(e.b,0);it.b!=it.d.c;)Ne=u(ii(it),86),K=Ne.e,Q=Ne.f,x=b.Math.min(x,K.a-Q.a/2),T=b.Math.min(T,K.b-Q.b/2),d=b.Math.max(d,K.a+Q.a/2),v=b.Math.max(v,K.b+Q.b/2);for(q=u(jt(i,(tw(),mwt)),116),z=new Ft(q.b-x,q.d-T),Ke=si(e.b,0);Ke.b!=Ke.d.c;)Ne=u(ii(Ke),86),P=W(Ne,xS),me(P,239)&&(a=u(P,33),L=Ni(Ne.e,z),_1(a,L.a-a.g/2,L.b-a.f/2));for(Te=si(e.a,0);Te.b!=Te.d.c;)Se=u(ii(Te),188),r=u(W(Se,xS),79),r&&(t=Se.a,ue=new Do(Se.b.e),ks(t,ue,t.a,t.a.a),kt=new Do(Se.c.e),ks(t,kt,t.c.b,t.c),Hit(ue,u(n1(t,1),8),Se.b.f),Hit(kt,u(n1(t,t.b-2),8),Se.c.f),n=h4(r,!0,!0),eI(t,n));Gt=d-x+(q.b+q.c),h=v-T+(q.d+q.a),iw(i,Gt,h,!1,!1)}function svn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(L=e.b,T=new Ca(L,0),Lm(T,new Nh(e)),Se=!1,h=1;T.b<T.d.gc();){for(x=(Qn(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),29)),K=(En(h,L.c.length),u(L.c[h],29)),Q=Nv(x.a),ue=Q.c.length,q=new C(Q);q.a<q.c.c.length;)P=u(Y(q),10),Oo(P,K);if(Se){for(z=Jve(new uv(Q),0);z.c.Sb();)for(P=u(TQe(z),10),a=new C(Nv(Wo(P)));a.a<a.c.c.length;)i=u(Y(a),17),rw(i,!0),Qe(e,(nt(),tO),(In(),!0)),r=Qct(e,i,ue),n=u(W(P,mw),305),Te=u(It(r,r.c.length-1),17),n.k=Te.c.i,n.n=Te,n.b=i.d.i,n.c=i;Se=!1}else Q.c.length!=0&&(t=(En(0,Q.c.length),u(Q.c[0],10)),t.k==(zn(),V1)&&(Se=!0,h=-1));++h}for(d=new Ca(e.b,0);d.b<d.d.gc();)v=(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)),v.a.c.length==0&&Dl(d)}function avn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;if(T=u(u(Oi(e.r,t),21),84),T.gc()<=2||t==(dt(),$n)||t==(dt(),On)){$ut(e,t);return}for(K=e.u.Hc((al(),Fk)),n=t==(dt(),Ln)?(qv(),$I):(qv(),jI),ue=t==Ln?(Cu(),Sf):(Cu(),a1),r=dpe(Dbe(n),e.s),Q=t==Ln?ps:Ds,x=T.Kc();x.Ob();)d=u(x.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&(q=d.b.rf(),z=d.e,L=d.c,P=L.i,P.b=(a=L.n,L.e.a+a.b+a.c),P.a=(h=L.n,L.e.b+h.d+h.a),K?(P.c=z.a-(i=L.n,L.e.a+i.b+i.c)-e.s,K=!1):P.c=z.a+q.a+e.s,NM(ue,o6e),L.f=ue,Qf(L,(sl(),Cf)),st(r.d,new ine(P,hye(r,P))),Q=t==Ln?b.Math.min(Q,z.b):b.Math.max(Q,z.b+d.b.rf().b));for(Q+=t==Ln?-e.t:e.t,Sye((r.e=Q,r)),v=T.Kc();v.Ob();)d=u(v.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&(P=d.c.i,P.c-=d.e.a,P.d-=d.e.b)}function ovn(e,t,n){var r;if(Er(n,"StretchWidth layering",1),t.a.c.length==0){lr(n);return}for(e.c=t,e.t=0,e.u=0,e.i=ps,e.g=Ds,e.d=We(gt(W(t,(mt(),Af)))),Fan(e),jfn(e),Rfn(e),zcn(e),qsn(e),e.i=b.Math.max(1,e.i),e.g=b.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=Zan(e),r=new Nh(e.c),st(e.c.b,r),e.r=Nv(e.p),e.n=jj(e.k,e.k.length);e.r.c.length!=0;)e.o=fin(e),!e.o||gtt(e)&&e.b.a.gc()!=0?(dun(e,r),r=new Nh(e.c),st(e.c.b,r),ro(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):gtt(e)?(e.c.b.c=Ie(Xn,_t,1,0,5,1),r=new Nh(e.c),st(e.c.b,r),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=Nv(e.p),e.n=jj(e.k,e.k.length)):(Oo(e.o,r),_u(e.r,e.o),zs(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c=Ie(Xn,_t,1,0,5,1),use(t.b),lr(n)}function cvn(e){var t,n,r,i;for(ms(qi(new mn(null,new kn(e.a.b,16)),new VY),new UY),eun(e),ms(qi(new mn(null,new kn(e.a.b,16)),new KY),new WY),e.c==($0(),Bk)&&(ms(qi(rc(new mn(null,new kn(new pm(e.f),1)),new YY),new XY),new aee(e)),ms(qi(Eu(rc(rc(new mn(null,new kn(e.d.b,16)),new XP),new QY),new QP),new ZY),new cee(e))),i=new Ft(ps,ps),t=new Ft(Ds,Ds),r=new C(e.a.b);r.a<r.c.c.length;)n=u(Y(r),57),i.a=b.Math.min(i.a,n.d.c),i.b=b.Math.min(i.b,n.d.d),t.a=b.Math.max(t.a,n.d.c+n.d.b),t.b=b.Math.max(t.b,n.d.d+n.d.a);Ni(Yf(e.d.c),WR(new Ft(i.a,i.b))),Ni(Yf(e.d.f),pa(new Ft(t.a,t.b),i)),ldn(e,i,t),il(e.f),il(e.b),il(e.g),il(e.e),e.a.a.c=Ie(Xn,_t,1,0,5,1),e.a.b.c=Ie(Xn,_t,1,0,5,1),e.a=null,e.d=null}function kut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(i=new at,K=new C(t.a);K.a<K.c.c.length;)if(q=u(Y(K),10),z=q.e,z&&(r=kut(e,z,q),Ps(i,r),xbn(e,z,q),u(W(z,(nt(),Qc)),21).Hc((mo(),Th))))for(Se=u(W(q,(mt(),vs)),98),P=u(W(q,Oy),174).Hc((al(),Z0)),ue=new C(q.j);ue.a<ue.c.c.length;)for(Q=u(Y(ue),11),a=u(Jn(e.b,Q),10),a||(a=iI(Q,Se,Q.j,-(Q.e.c.length-Q.g.c.length),null,new $a,Q.o,u(W(z,Jl),103),z),Qe(a,Mi,Q),Si(e.b,Q,a),st(z.a,a)),h=u(It(a.j,0),11),T=new C(Q.f);T.a<T.c.c.length;)x=u(Y(T),70),d=new wHe,d.o.a=x.o.a,d.o.b=x.o.b,st(h.f,d),P||(Te=Q.j,L=0,o_(u(W(q,Oy),21))&&(L=f4e(x.n,x.o,Q.o,0,Te)),Se==(ya(),Y1)||(dt(),gu).Hc(Te)?d.o.a=L:d.o.b=L);return v=new at,Obn(e,t,n,i,v),n&&Y2n(e,t,n,v),v}function D5e(e,t,n){var r,i,a,h,d,v,x,T,L;if(!e.c[t.c.p][t.p].e){for(e.c[t.c.p][t.p].e=!0,e.c[t.c.p][t.p].b=0,e.c[t.c.p][t.p].d=0,e.c[t.c.p][t.p].a=null,T=new C(t.j);T.a<T.c.c.length;)for(x=u(Y(T),11),L=n?new sa(x):new Cr(x),v=L.Kc();v.Ob();)d=u(v.Pb(),11),h=d.i,h.c==t.c?h!=t&&(D5e(e,h,n),e.c[t.c.p][t.p].b+=e.c[h.c.p][h.p].b,e.c[t.c.p][t.p].d+=e.c[h.c.p][h.p].d):(e.c[t.c.p][t.p].d+=e.g[d.p],++e.c[t.c.p][t.p].b);if(a=u(W(t,(nt(),s9e)),15),a)for(i=a.Kc();i.Ob();)r=u(i.Pb(),10),t.c==r.c&&(D5e(e,r,n),e.c[t.c.p][t.p].b+=e.c[r.c.p][r.p].b,e.c[t.c.p][t.p].d+=e.c[r.c.p][r.p].d);e.c[t.c.p][t.p].b>0&&(e.c[t.c.p][t.p].d+=vl(e.i,24)*pI*.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 uvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(q=new C(e);q.a<q.c.c.length;){for(z=u(Y(q),10),bg(z.n),bg(z.o),Iwe(z.f),Fot(z),$0n(z),Q=new C(z.j);Q.a<Q.c.c.length;){for(K=u(Y(Q),11),bg(K.n),bg(K.a),bg(K.o),qs(K,Ert(K.j)),a=u(W(K,(mt(),jg)),19),a&&Qe(K,jg,lt(-a.a)),i=new C(K.g);i.a<i.c.c.length;){for(r=u(Y(i),17),n=si(r.a,0);n.b!=n.d.c;)t=u(ii(n),8),bg(t);if(v=u(W(r,Fo),74),v)for(d=si(v,0);d.b!=d.d.c;)h=u(ii(d),8),bg(h);for(L=new C(r.b);L.a<L.c.c.length;)x=u(Y(L),70),bg(x.n),bg(x.o)}for(P=new C(K.f);P.a<P.c.c.length;)x=u(Y(P),70),bg(x.n),bg(x.o)}for(z.k==(zn(),Ls)&&(Qe(z,(nt(),vc),Ert(u(W(z,vc),61))),Xdn(z)),T=new C(z.b);T.a<T.c.c.length;)x=u(Y(T),70),Fot(x),bg(x.o),bg(x.n)}}function lvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;for(e.e=t,d=lfn(t),it=new at,r=new C(d);r.a<r.c.c.length;){for(n=u(Y(r),15),kt=new at,it.c[it.c.length]=kt,v=new Ys,q=n.Kc();q.Ob();){for(z=u(q.Pb(),33),a=XD(e,z,!0,0,0),kt.c[kt.c.length]=a,K=z.i,Q=z.j,P=(!z.n&&(z.n=new ot(Qo,z,1,7)),z.n),L=new ir(P);L.e!=L.i.gc();)x=u(br(L),137),i=XD(e,x,!1,K,Q),kt.c[kt.c.length]=i;for(Ke=(!z.c&&(z.c=new ot(xl,z,9,9)),z.c),Se=new ir(Ke);Se.e!=Se.i.gc();)for(ue=u(br(Se),118),h=XD(e,ue,!1,K,Q),kt.c[kt.c.length]=h,Te=ue.i+K,Ne=ue.j+Q,P=(!ue.n&&(ue.n=new ot(Qo,ue,1,7)),ue.n),T=new ir(P);T.e!=T.i.gc();)x=u(br(T),137),i=XD(e,x,!1,Te,Ne),kt.c[kt.c.length]=i;ro(v,Nj(P1(ie(ne(G1,1),_t,20,0,[z0(z),UD(z)]))))}edn(e,v,kt)}return e.f=new pHe(it),$o(e.f,t),e.f}function hvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;Nn=Jn(e.e,r),Nn==null&&(Nn=new f6,z=u(Nn,183),Se=t+"_s",Te=Se+i,P=new Nm(Te),Zf(z,Ad,P)),Ut=u(Nn,183),M6(n,Ut),gr=new f6,U2(gr,"x",r.j),U2(gr,"y",r.k),Zf(Ut,Rft,gr),kt=new f6,U2(kt,"x",r.b),U2(kt,"y",r.c),Zf(Ut,"endPoint",kt),L=UL((!r.a&&(r.a=new Ns(Zh,r,5)),r.a)),q=!L,q&&(it=new cg,a=new kje(it),Da((!r.a&&(r.a=new Ns(Zh,r,5)),r.a),a),Zf(Ut,Kz,it)),v=Die(r),Ne=!!v,Ne&&j3e(e.a,Ut,M8e,cse(e,Die(r))),ue=Iie(r),Ke=!!ue,Ke&&j3e(e.a,Ut,L8e,cse(e,Iie(r))),x=(!r.e&&(r.e=new yn(os,r,10,9)),r.e).i==0,K=!x,K&&(Gt=new cg,h=new HGe(e,Gt),Da((!r.e&&(r.e=new yn(os,r,10,9)),r.e),h),Zf(Ut,I8e,Gt)),T=(!r.g&&(r.g=new yn(os,r,9,10)),r.g).i==0,Q=!T,Q&&(Rn=new cg,d=new zGe(e,Rn),Da((!r.g&&(r.g=new yn(os,r,9,10)),r.g),d),Zf(Ut,D8e,Rn))}function fvn(e){Am();var t,n,r,i,a,h,d;for(r=e.f.n,h=Cve(e.r).a.nc();h.Ob();){if(a=u(h.Pb(),111),i=0,a.b.Xe((di(),kl))&&(i=We(gt(a.b.We(kl))),i<0))switch(a.b.Hf().g){case 1:r.d=b.Math.max(r.d,-i);break;case 3:r.a=b.Math.max(r.a,-i);break;case 2:r.c=b.Math.max(r.c,-i);break;case 4:r.b=b.Math.max(r.b,-i)}if(o_(e.u))switch(t=Bnn(a.b,i),d=!u(e.e.We(h2),174).Hc((wl(),FO)),n=!1,a.b.Hf().g){case 1:n=t>r.d,r.d=b.Math.max(r.d,t),d&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+i);break;case 3:n=t>r.a,r.a=b.Math.max(r.a,t),d&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+i);break;case 2:n=t>r.c,r.c=b.Math.max(r.c,t),d&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+i);break;case 4:n=t>r.b,r.b=b.Math.max(r.b,t),d&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+i)}}}function dvn(e){var t,n,r,i,a,h,d,v,x,T,L;for(x=new C(e);x.a<x.c.c.length;){switch(v=u(Y(x),10),h=u(W(v,(mt(),du)),163),a=null,h.g){case 1:case 2:a=(nb(),B4);break;case 3:case 4:a=(nb(),J7)}if(a)Qe(v,(nt(),wq),(nb(),B4)),a==J7?jH(v,h,(vo(),cl)):a==B4&&jH(v,h,(vo(),ou));else if(P3(u(W(v,vs),98))&&v.j.c.length!=0){for(t=!0,L=new C(v.j);L.a<L.c.c.length;){if(T=u(Y(L),11),!(T.j==(dt(),$n)&&T.e.c.length-T.g.c.length>0||T.j==On&&T.e.c.length-T.g.c.length<0)){t=!1;break}for(i=new C(T.g);i.a<i.c.c.length;)if(n=u(Y(i),17),d=u(W(n.d.i,du),163),d==(mh(),iS)||d==Sy){t=!1;break}for(r=new C(T.e);r.a<r.c.c.length;)if(n=u(Y(r),17),d=u(W(n.c.i,du),163),d==(mh(),rS)||d==a2){t=!1;break}}t&&jH(v,h,(vo(),dS))}}}function gvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;for(it=0,z=0,L=new C(t.e);L.a<L.c.c.length;){for(T=u(Y(L),10),P=0,d=0,v=n?u(W(T,qq),19).a:za,ue=r?u(W(T,Vq),19).a:za,x=b.Math.max(v,ue),Te=new C(T.j);Te.a<Te.c.c.length;){if(Se=u(Y(Te),11),Ne=T.n.b+Se.n.b+Se.a.b,r)for(h=new C(Se.g);h.a<h.c.c.length;)a=u(Y(h),17),K=a.d,q=K.i,t!=e.a[q.p]&&(Q=b.Math.max(u(W(q,qq),19).a,u(W(q,Vq),19).a),Ke=u(W(a,(mt(),Lk)),19).a,Ke>=x&&Ke>=Q&&(P+=q.n.b+K.n.b+K.a.b-Ne,++d));if(n)for(h=new C(Se.e);h.a<h.c.c.length;)a=u(Y(h),17),K=a.c,q=K.i,t!=e.a[q.p]&&(Q=b.Math.max(u(W(q,qq),19).a,u(W(q,Vq),19).a),Ke=u(W(a,(mt(),Lk)),19).a,Ke>=x&&Ke>=Q&&(P+=q.n.b+K.n.b+K.a.b-Ne,++d))}d>0&&(it+=P/d,++z)}z>0?(t.a=i*it/z,t.g=z):(t.a=0,t.g=0)}function pvn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(i=new C(e.a.b);i.a<i.c.c.length;)for(n=u(Y(i),29),v=new C(n.a);v.a<v.c.c.length;)d=u(Y(v),10),t.j[d.p]=d,t.i[d.p]=t.o==(L1(),K1)?Ds:ps;for(il(e.c),h=e.a.b,t.c==(bd(),$g)&&(h=me(h,152)?R6(u(h,152)):me(h,131)?u(h,131).a:me(h,54)?new uv(h):new km(h)),ctn(e.e,t,e.b),eM(t.p,null),a=h.Kc();a.Ob();)for(n=u(a.Pb(),29),x=n.a,t.o==(L1(),K1)&&(x=me(x,152)?R6(u(x,152)):me(x,131)?u(x,131).a:me(x,54)?new uv(x):new km(x)),P=x.Kc();P.Ob();)L=u(P.Pb(),10),t.g[L.p]==L&&zut(e,L,t);for(ibn(e,t),r=h.Kc();r.Ob();)for(n=u(r.Pb(),29),P=new C(n.a);P.a<P.c.c.length;)L=u(Y(P),10),t.p[L.p]=t.p[t.g[L.p].p],L==t.g[L.p]&&(T=We(t.i[t.j[L.p].p]),(t.o==(L1(),K1)&&T>Ds||t.o==Ib&&T<ps)&&(t.p[L.p]=We(t.p[L.p])+T));e.e.cg()}function xut(e,t,n,r){var i,a,h,d,v;return d=new I5e(t),bdn(d,r),i=!0,e&&e.Xe((di(),Lw))&&(a=u(e.We((di(),Lw)),103),i=a==(wo(),u0)||a==Wh||a==Lf),Cot(d,!1),Su(d.e.wf(),new Abe(d,!1,i)),Rne(d,d.f,(Jf(),pc),(dt(),Ln)),Rne(d,d.f,bc,Tr),Rne(d,d.g,pc,On),Rne(d,d.g,bc,$n),lrt(d,Ln),lrt(d,Tr),SWe(d,$n),SWe(d,On),Am(),h=d.A.Hc((Nl(),Hy))&&d.B.Hc((wl(),RO))?xnt(d):null,h&&FGt(d.a,h),fvn(d),Aon(d),Lon(d),Fbn(d),bgn(d),tcn(d),Eie(d,Ln),Eie(d,Tr),Y0n(d),p2n(d),n&&(dsn(d),ncn(d),Eie(d,$n),Eie(d,On),v=d.B.Hc((wl(),RS)),kst(d,v,Ln),kst(d,v,Tr),xst(d,v,$n),xst(d,v,On),ms(new mn(null,new kn(new x1(d.i),0)),new Zs),ms(qi(new mn(null,Cve(d.r).a.oc()),new Fa),new $s),vun(d),d.e.uf(d.o),ms(new mn(null,Cve(d.r).a.oc()),new Xb)),d.o}function bvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(x=ps,r=new C(e.a.b);r.a<r.c.c.length;)t=u(Y(r),81),x=b.Math.min(x,t.d.f.g.c+t.e.a);for(z=new as,h=new C(e.a.a);h.a<h.c.c.length;)a=u(Y(h),189),a.i=x,a.e==0&&ks(z,a,z.c.b,z.c);for(;z.b!=0;){for(a=u(z.b==0?null:(Qn(z.b!=0),bh(z,z.a.a)),189),i=a.f.g.c,P=a.a.a.ec().Kc();P.Ob();)T=u(P.Pb(),81),K=a.i+T.e.a,T.d.g||T.g.c<K?T.o=K:T.o=T.g.c;for(i-=a.f.o,a.b+=i,e.c==(wo(),Lf)||e.c==Y0?a.c+=i:a.c-=i,L=a.a.a.ec().Kc();L.Ob();)for(T=u(L.Pb(),81),v=T.f.Kc();v.Ob();)d=u(v.Pb(),81),Sp(e.c)?q=e.f.ef(T,d):q=e.f.ff(T,d),d.d.i=b.Math.max(d.d.i,T.o+T.g.b+q-d.e.a),d.k||(d.d.i=b.Math.max(d.d.i,d.g.c-d.e.a)),--d.d.e,d.d.e==0&&oi(z,d.d)}for(n=new C(e.a.b);n.a<n.c.c.length;)t=u(Y(n),81),t.g.c=t.o}function vvn(e){var t,n,r,i,a,h,d,v;switch(d=e.b,t=e.a,u(W(e,(EH(),Zxe)),427).g){case 0:aa(d,new oe(new $t));break;case 1:default:aa(d,new oe(new Mr))}switch(u(W(e,Xxe),428).g){case 1:aa(d,new Ai),aa(d,new bi),aa(d,new el);break;case 0:default:aa(d,new Ai),aa(d,new ah)}switch(u(W(e,e7e),250).g){case 0:v=new oh;break;case 1:v=new $c;break;case 2:v=new wu;break;case 3:v=new Nc;break;case 5:v=new pr(new wu);break;case 4:v=new pr(new $c);break;case 7:v=new Ppe(new pr(new $c),new pr(new wu));break;case 8:v=new Ppe(new pr(new Nc),new pr(new wu));break;case 6:default:v=new pr(new Nc)}for(h=new C(d);h.a<h.c.c.length;){for(a=u(Y(h),167),r=0,i=0,n=new _a(lt(r),lt(i));npn(t,a,r,i);)n=u(v.Ce(n,a),46),r=u(n.a,19).a,i=u(n.b,19).a;egn(t,a,r,i)}}function wvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;for(a=e.f.b,P=a.a,T=a.b,q=e.e.g,z=e.e.f,NR(e.e,a.a,a.b),it=P/q,kt=T/z,x=new ir(Sj(e.e));x.e!=x.i.gc();)v=u(br(x),137),Au(v,v.i*it),Lu(v,v.j*kt);for(Se=new ir(Tne(e.e));Se.e!=Se.i.gc();)ue=u(br(Se),118),Ne=ue.i,Ke=ue.j,Ne>0&&Au(ue,Ne*it),Ke>0&&Lu(ue,Ke*kt);for(L_(e.b,new f3),t=new at,d=new ib(new lg(e.c).a);d.b;)h=jv(d),r=u(h.cd(),79),n=u(h.dd(),395).a,i=h4(r,!1,!1),L=kit(Jd(r),jD(i),n),eI(L,i),Te=Oit(r),Te&&Ko(t,Te,0)==-1&&(t.c[t.c.length]=Te,FWe(Te,(Qn(L.b!=0),u(L.a.a.c,8)),n));for(Q=new ib(new lg(e.d).a);Q.b;)K=jv(Q),r=u(K.cd(),79),n=u(K.dd(),395).a,i=h4(r,!1,!1),L=kit(qp(r),vD(jD(i)),n),L=vD(L),eI(L,i),Te=Nit(r),Te&&Ko(t,Te,0)==-1&&(t.c[t.c.length]=Te,FWe(Te,(Qn(L.b!=0),u(L.c.b.c,8)),n))}function Eut(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;if(n.c.length!=0){for(z=new at,P=new C(n);P.a<P.c.c.length;)L=u(Y(P),33),st(z,new Ft(L.i,L.j));for(r.n&&t&&wf(r,mf(t),(Ol(),rh));G3e(e,n);)NH(e,n,!1);for(r.n&&t&&wf(r,mf(t),(Ol(),rh)),h=0,d=0,i=null,n.c.length!=0&&(i=(En(0,n.c.length),u(n.c[0],33)),h=i.i-(En(0,z.c.length),u(z.c[0],8)).a,d=i.j-(En(0,z.c.length),u(z.c[0],8)).b),a=b.Math.sqrt(h*h+d*d),T=qtt(n);T.a.gc()!=0;){for(x=T.a.ec().Kc();x.Ob();)v=u(x.Pb(),33),q=e.f,K=q.i+q.g/2,Q=q.j+q.f/2,ue=v.i+v.g/2,Se=v.j+v.f/2,Te=ue-K,Ne=Se-Q,Ke=b.Math.sqrt(Te*Te+Ne*Ne),it=Te/Ke,kt=Ne/Ke,Au(v,v.i+it*a),Lu(v,v.j+kt*a);r.n&&t&&wf(r,mf(t),(Ol(),rh)),T=qtt(new Gu(T))}e.a&&e.a.lg(new Gu(T)),r.n&&t&&wf(r,mf(t),(Ol(),rh)),Eut(e,t,new Gu(T),r)}}function mvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;if(K=e.n,Q=e.o,P=e.d,L=We(gt(Ym(e,(mt(),_le)))),t){for(T=L*(t.gc()-1),z=0,v=t.Kc();v.Ob();)h=u(v.Pb(),10),T+=h.o.a,z=b.Math.max(z,h.o.b);for(ue=K.a-(T-Q.a)/2,a=K.b-P.d+z,r=Q.a/(t.gc()+1),i=r,d=t.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ue,h.n.b=a-h.o.b,ue+=h.o.a+L,x=Pat(h),x.n.a=h.o.a/2-x.a.a,x.n.b=h.o.b,q=u(W(h,(nt(),bq)),11),q.e.c.length+q.g.c.length==1&&(q.n.a=i-q.a.a,q.n.b=0,nc(q,e)),i+=r}if(n){for(T=L*(n.gc()-1),z=0,v=n.Kc();v.Ob();)h=u(v.Pb(),10),T+=h.o.a,z=b.Math.max(z,h.o.b);for(ue=K.a-(T-Q.a)/2,a=K.b+Q.b+P.a-z,r=Q.a/(n.gc()+1),i=r,d=n.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ue,h.n.b=a,ue+=h.o.a+L,x=Pat(h),x.n.a=h.o.a/2-x.a.a,x.n.b=0,q=u(W(h,(nt(),bq)),11),q.e.c.length+q.g.c.length==1&&(q.n.a=i-q.a.a,q.n.b=Q.b,nc(q,e)),i+=r}}function yvn(e,t){var n,r,i,a,h,d;if(u(W(t,(nt(),Qc)),21).Hc((mo(),Th))){for(d=new C(t.a);d.a<d.c.c.length;)a=u(Y(d),10),a.k==(zn(),js)&&(i=u(W(a,(mt(),Mq)),142),e.c=b.Math.min(e.c,a.n.a-i.b),e.a=b.Math.max(e.a,a.n.a+a.o.a+i.c),e.d=b.Math.min(e.d,a.n.b-i.d),e.b=b.Math.max(e.b,a.n.b+a.o.b+i.a));for(h=new C(t.a);h.a<h.c.c.length;)if(a=u(Y(h),10),a.k!=(zn(),js))switch(a.k.g){case 2:if(r=u(W(a,(mt(),du)),163),r==(mh(),a2)){a.n.a=e.c-10,Urt(a,new rY).Jb(new lo(a));break}if(r==Sy){a.n.a=e.a+10,Urt(a,new iY).Jb(new _l(a));break}if(n=u(W(a,Cb),303),n==(P0(),R4)){Kct(a).Jb(new Uf(a)),a.n.b=e.d-10;break}if(n==kk){Kct(a).Jb(new pp(a)),a.n.b=e.b+10;break}break;default:throw ee(new Dn("The node type "+a.k+" is not supported by the "+smn))}}}function kvn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;for(v=new Ft(r.i+r.g/2,r.j+r.f/2),z=Gct(r),q=u(jt(t,(mt(),vs)),98),Q=u(jt(r,oE),61),XGe(rrt(r),Iy)||(r.i==0&&r.j==0?K=0:K=Jun(r,Q),So(r,Iy,K)),x=new Ft(t.g,t.f),i=iI(r,q,Q,z,x,v,new Ft(r.g,r.f),u(W(n,Jl),103),n),Qe(i,(nt(),Mi),r),a=u(It(i.j,0),11),WJ(a,Ugn(r)),Qe(i,Oy,(al(),sn(p2))),L=u(jt(t,Oy),174).Hc(Z0),d=new ir((!r.n&&(r.n=new ot(Qo,r,1,7)),r.n));d.e!=d.i.gc();)if(h=u(br(d),137),!Bt(Nt(jt(h,Mb)))&&h.a&&(P=sie(h),st(a.f,P),!L))switch(T=0,o_(u(jt(t,Oy),21))&&(T=f4e(new Ft(h.i,h.j),new Ft(h.g,h.f),new Ft(r.g,r.f),0,Q)),Q.g){case 2:case 4:P.o.a=T;break;case 1:case 3:P.o.b=T}Qe(i,uE,gt(jt(ls(t),uE))),Qe(i,lE,gt(jt(ls(t),lE))),Qe(i,Py,gt(jt(ls(t),Py))),st(n.a,i),Si(e.a,r,i)}function Tut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Er(n,"Processor arrange level",1),T=0,fn(),K3(t,new Age((xc(),Wq))),a=t.b,d=si(t,t.b),x=!0;x&&d.b.b!=d.d.a;)ue=u(Wne(d),86),u(W(ue,Wq),19).a==0?--a:x=!1;if(Ke=new Yd(t,0,a),h=new zte(Ke),Ke=new Yd(t,a,t.b),v=new zte(Ke),h.b==0)for(q=si(v,0);q.b!=q.d.c;)z=u(ii(q),86),Qe(z,Qq,lt(T++));else for(L=h.b,Ne=si(h,0);Ne.b!=Ne.d.c;){for(Te=u(ii(Ne),86),Qe(Te,Qq,lt(T++)),r=Ame(Te),Tut(e,r,Vc(n,1/L|0)),K3(r,Pve(new Age(Qq))),P=new as,Se=si(r,0);Se.b!=Se.d.c;)for(ue=u(ii(Se),86),Q=si(Te.d,0);Q.b!=Q.d.c;)K=u(ii(Q),188),K.c==ue&&ks(P,K,P.c.b,P.c);for(Ph(Te.d),ro(Te.d,P),d=si(v,v.b),i=Te.d.b,x=!0;0<i&&x&&d.b.b!=d.d.a;)ue=u(Wne(d),86),u(W(ue,Wq),19).a==0?(Qe(ue,Qq,lt(T++)),--i,w$(d)):x=!1}lr(n)}function xvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(Er(t,"Inverted port preprocessing",1),T=e.b,x=new Ca(T,0),n=null,Te=new at;x.b<x.d.gc();){for(Se=n,n=(Qn(x.b<x.d.gc()),u(x.d.Xb(x.c=x.b++),29)),z=new C(Te);z.a<z.c.c.length;)L=u(Y(z),10),Oo(L,Se);for(Te.c=Ie(Xn,_t,1,0,5,1),q=new C(n.a);q.a<q.c.c.length;)if(L=u(Y(q),10),L.k==(zn(),js)&&P3(u(W(L,(mt(),vs)),98))){for(ue=Q4e(L,(vo(),cl),(dt(),$n)).Kc();ue.Ob();)for(K=u(ue.Pb(),11),v=K.e,d=u(R1(v,Ie(Cue,coe,17,v.c.length,0,1)),474),i=d,a=0,h=i.length;a<h;++a)r=i[a],Kpn(e,K,r,Te);for(Q=Q4e(L,ou,On).Kc();Q.Ob();)for(K=u(Q.Pb(),11),v=K.g,d=u(R1(v,Ie(Cue,coe,17,v.c.length,0,1)),474),i=d,a=0,h=i.length;a<h;++a)r=i[a],Upn(e,K,r,Te)}}for(P=new C(Te);P.a<P.c.c.length;)L=u(Y(P),10),Oo(L,n);lr(t)}function Evn(e,t,n,r,i,a){var h,d,v,x,T,L;for(x=new Fc,$o(x,t),qs(x,u(jt(t,(mt(),oE)),61)),Qe(x,(nt(),Mi),t),nc(x,n),L=x.o,L.a=t.g,L.b=t.f,T=x.n,T.a=t.i,T.b=t.j,Si(e.a,t,x),h=wx(Eu(rc(new mn(null,(!t.e&&(t.e=new yn(ta,t,7,4)),new kn(t.e,16))),new _P),new N5),new or(t)),h||(h=wx(Eu(rc(new mn(null,(!t.d&&(t.d=new yn(ta,t,8,5)),new kn(t.d,16))),new a8),new p9),new cr(t))),h||(h=wx(new mn(null,(!t.e&&(t.e=new yn(ta,t,7,4)),new kn(t.e,16))),new DW)),Qe(x,nO,(In(),!!h)),$2n(x,a,i,u(jt(t,_w),8)),v=new ir((!t.n&&(t.n=new ot(Qo,t,1,7)),t.n));v.e!=v.i.gc();)d=u(br(v),137),!Bt(Nt(jt(d,Mb)))&&d.a&&st(x.f,sie(d));switch(i.g){case 2:case 1:(x.j==(dt(),Ln)||x.j==Tr)&&r.Fc((mo(),F4));break;case 4:case 3:(x.j==(dt(),$n)||x.j==On)&&r.Fc((mo(),F4))}return x}function tae(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(P=null,r==(Iv(),l2)?P=t:r==K4&&(P=n),K=P.a.ec().Kc();K.Ob();){for(q=u(K.Pb(),11),Q=ic(ie(ne(ea,1),Je,8,0,[q.i.n,q.n,q.a])).b,Te=new Ys,d=new Ys,x=new O1(q.b);tc(x.a)||tc(x.b);)if(v=u(tc(x.a)?Y(x.a):Y(x.b),17),Bt(Nt(W(v,(nt(),U1))))==i&&Ko(a,v,0)!=-1){if(v.d==q?ue=v.c:ue=v.d,Se=ic(ie(ne(ea,1),Je,8,0,[ue.i.n,ue.n,ue.a])).b,b.Math.abs(Se-Q)<.2)continue;Se<Q?t.a._b(ue)?zs(Te,new _a(l2,v)):zs(Te,new _a(K4,v)):t.a._b(ue)?zs(d,new _a(l2,v)):zs(d,new _a(K4,v))}if(Te.a.gc()>1)for(z=new E5e(q,Te,r),Da(Te,new gGe(e,z)),h.c[h.c.length]=z,L=Te.a.ec().Kc();L.Ob();)T=u(L.Pb(),46),_u(a,T.b);if(d.a.gc()>1)for(z=new E5e(q,d,r),Da(d,new pGe(e,z)),h.c[h.c.length]=z,L=d.a.ec().Kc();L.Ob();)T=u(L.Pb(),46),_u(a,T.b)}}function _ut(e){vv(e,new hb(WF(dv(lv(fv(hv(new og,Sd),"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 MQ),Sd))),pt(e,Sd,Rz,Ct(Uwt)),pt(e,Sd,dy,Ct(Kwt)),pt(e,Sd,k4,Ct(zwt)),pt(e,Sd,hk,Ct(Gwt)),pt(e,Sd,lk,Ct(qwt)),pt(e,Sd,A7,Ct(Hwt)),pt(e,Sd,mC,Ct(N_e)),pt(e,Sd,L7,Ct(Vwt)),pt(e,Sd,Yoe,Ct(che)),pt(e,Sd,Woe,Ct(uhe)),pt(e,Sd,r8e,Ct(P_e)),pt(e,Sd,Jke,Ct(tV)),pt(e,Sd,e8e,Ct(nV)),pt(e,Sd,t8e,Ct(vO)),pt(e,Sd,n8e,Ct(B_e))}function I5e(e){var t;if(this.r=ZXt(new Ta,new ss),this.b=new R_(u(Or(oo),290)),this.p=new R_(u(Or(oo),290)),this.i=new R_(u(Or(P0t),290)),this.e=e,this.o=new Do(e.rf()),this.D=e.Df()||Bt(Nt(e.We((di(),SO)))),this.A=u(e.We((di(),Nb)),21),this.B=u(e.We(h2),21),this.q=u(e.We(LS),98),this.u=u(e.We(jy),21),!sln(this.u))throw ee(new A3("Invalid port label placement: "+this.u));if(this.v=Bt(Nt(e.We(gSe))),this.j=u(e.We(Q4),21),!L1n(this.j))throw ee(new A3("Invalid node label placement: "+this.j));this.n=u(q_(e,tSe),116),this.k=We(gt(q_(e,vV))),this.d=We(gt(q_(e,wSe))),this.w=We(gt(q_(e,ESe))),this.s=We(gt(q_(e,mSe))),this.t=We(gt(q_(e,ySe))),this.C=u(q_(e,kSe),142),this.c=2*this.d,t=!this.B.Hc((wl(),FO)),this.f=new $_(0,t,0),this.g=new $_(1,t,0),See(this.f,(Jf(),au),this.g)}function Tvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Te=0,q=0,z=0,P=1,Se=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));Se.e!=Se.i.gc();)Q=u(br(Se),33),P+=I0(new ur(dr(z0(Q).a.Kc(),new V))),Gt=Q.g,q=b.Math.max(q,Gt),L=Q.f,z=b.Math.max(z,L),Te+=Gt*L;for(K=(!e.a&&(e.a=new ot(fs,e,10,11)),e.a).i,h=Te+2*r*r*P*K,a=b.Math.sqrt(h),v=b.Math.max(a*n,q),d=b.Math.max(a/n,z),ue=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));ue.e!=ue.i.gc();)Q=u(br(ue),33),Ut=i.b+(vl(t,26)*fC+vl(t,27)*dC)*(v-Q.g),Nn=i.b+(vl(t,26)*fC+vl(t,27)*dC)*(d-Q.f),Au(Q,Ut),Lu(Q,Nn);for(kt=v+(i.b+i.c),it=d+(i.d+i.a),Ke=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));Ke.e!=Ke.i.gc();)for(Ne=u(br(Ke),33),T=new ur(dr(z0(Ne).a.Kc(),new V));Vr(T);)x=u(Nr(T),79),Q_(x)||_wn(x,t,kt,it);kt+=i.b+i.c,it+=i.d+i.a,iw(e,kt,it,!1,!0)}function nz(e){var t,n,r,i,a,h,d,v,x,T,L;if(e==null)throw ee(new ld(Iu));if(x=e,a=e.length,v=!1,a>0&&(t=(zr(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=e.substr(1),--a,v=t==45)),a==0)throw ee(new ld(ow+x+'"'));for(;e.length>0&&(zr(0,e.length),e.charCodeAt(0)==48);)e=e.substr(1),--a;if(a>(dct(),Pdt)[10])throw ee(new ld(ow+x+'"'));for(i=0;i<a;i++)if(znt((zr(i,e.length),e.charCodeAt(i)))==-1)throw ee(new ld(ow+x+'"'));for(L=0,h=mxe[10],T=Xce[10],d=Ex(yxe[10]),n=!0,r=a%h,r>0&&(L=-parseInt(e.substr(0,r),10),e=e.substr(r),a-=r,n=!1);a>=h;){if(r=parseInt(e.substr(0,h),10),e=e.substr(h),a-=h,n)n=!1;else{if(Lc(L,d)<0)throw ee(new ld(ow+x+'"'));L=Ha(L,T)}L=Gp(L,r)}if(Lc(L,0)>0)throw ee(new ld(ow+x+'"'));if(!v&&(L=Ex(L),Lc(L,0)<0))throw ee(new ld(ow+x+'"'));return L}function O5e(e,t){eKe();var n,r,i,a,h,d,v;if(this.a=new E2e(this),this.b=e,this.c=t,this.f=hne(No((Uu(),Oa),t)),this.f.dc())if((d=w3e(Oa,e))==t)for(this.e=!0,this.d=new at,this.f=new p8,this.f.Fc(xb),u(ZH(JM(Oa,ql(e)),""),26)==e&&this.f.Fc(s_(Oa,ql(e))),i=Ose(Oa,e).Kc();i.Ob();)switch(r=u(i.Pb(),170),Mv(No(Oa,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(hne(No(Oa,r)));break}}else if(ho(),u(t,66).Oj())for(this.e=!0,this.f=null,this.d=new at,h=0,v=(e.i==null&&wd(e),e.i).length;h<v;++h)for(r=(n=(e.i==null&&wd(e),e.i),h>=0&&h<n.length?n[h]:null),a=P6(No(Oa,r));a;a=P6(No(Oa,a)))a==t&&this.d.Fc(r);else Mv(No(Oa,t))==1&&d?(this.f=null,this.d=(J6(),E3t)):(this.f=null,this.e=!0,this.d=(fn(),new D(t)));else this.e=Mv(No(Oa,t))==5,this.f.Fb(tfe)&&(this.f=tfe)}function Cut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;for(n=0,r=von(e,t),P=e.s,z=e.t,x=u(u(Oi(e.r,t),21),84).Kc();x.Ob();)if(v=u(x.Pb(),111),!(!v.c||v.c.d.c.length<=0)){switch(q=v.b.rf(),d=v.b.Xe((di(),kl))?We(gt(v.b.We(kl))):0,T=v.c,L=T.i,L.b=(h=T.n,T.e.a+h.b+h.c),L.a=(a=T.n,T.e.b+a.d+a.a),t.g){case 1:L.c=v.a?(q.a-L.b)/2:q.a+P,L.d=q.b+d+r,Qf(T,(sl(),n2)),dd(T,(Cu(),a1));break;case 3:L.c=v.a?(q.a-L.b)/2:q.a+P,L.d=-d-r-L.a,Qf(T,(sl(),n2)),dd(T,(Cu(),Sf));break;case 2:L.c=-d-r-L.b,v.a?(i=e.v?L.a:u(It(T.d,0),181).rf().b,L.d=(q.b-i)/2):L.d=q.b+z,Qf(T,(sl(),Cf)),dd(T,(Cu(),r2));break;case 4:L.c=q.a+d+r,v.a?(i=e.v?L.a:u(It(T.d,0),181).rf().b,L.d=(q.b-i)/2):L.d=q.b+z,Qf(T,(sl(),Md)),dd(T,(Cu(),r2))}(t==(dt(),Ln)||t==Tr)&&(n=b.Math.max(n,L.a))}n>0&&(u(_o(e.b,t),124).a.b=n)}function _vn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(t,"Comment pre-processing",1),n=0,v=new C(e.a);v.a<v.c.c.length;)if(d=u(Y(v),10),Bt(Nt(W(d,(mt(),sS))))){for(++n,i=0,r=null,x=null,q=new C(d.j);q.a<q.c.c.length;)P=u(Y(q),11),i+=P.e.c.length+P.g.c.length,P.e.c.length==1&&(r=u(It(P.e,0),17),x=r.c),P.g.c.length==1&&(r=u(It(P.g,0),17),x=r.d);if(i==1&&x.e.c.length+x.g.c.length==1&&!Bt(Nt(W(x.i,sS))))Jvn(d,r,x,x.i),u_(v);else{for(ue=new at,z=new C(d.j);z.a<z.c.c.length;){for(P=u(Y(z),11),L=new C(P.g);L.a<L.c.c.length;)T=u(Y(L),17),T.d.g.c.length==0||(ue.c[ue.c.length]=T);for(h=new C(P.e);h.a<h.c.c.length;)a=u(Y(h),17),a.c.e.c.length==0||(ue.c[ue.c.length]=a)}for(Q=new C(ue);Q.a<Q.c.c.length;)K=u(Y(Q),17),rw(K,!0)}}t.n&&z2(t,"Found "+n+" comment boxes"),lr(t)}function Cvn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K;if(P=We(gt(W(e,(mt(),uE)))),z=We(gt(W(e,lE))),L=We(gt(W(e,Py))),d=e.o,a=u(It(e.j,0),11),h=a.n,K=rhn(a,L),!!K){if(t.Hc((al(),Z0)))switch(u(W(e,(nt(),vc)),61).g){case 1:K.c=(d.a-K.b)/2-h.a,K.d=z;break;case 3:K.c=(d.a-K.b)/2-h.a,K.d=-z-K.a;break;case 2:n&&a.e.c.length==0&&a.g.c.length==0?(T=r?K.a:u(It(a.f,0),70).o.b,K.d=(d.b-T)/2-h.b):K.d=d.b+z-h.b,K.c=-P-K.b;break;case 4:n&&a.e.c.length==0&&a.g.c.length==0?(T=r?K.a:u(It(a.f,0),70).o.b,K.d=(d.b-T)/2-h.b):K.d=d.b+z-h.b,K.c=P}else if(t.Hc(p2))switch(u(W(e,(nt(),vc)),61).g){case 1:case 3:K.c=h.a+P;break;case 2:case 4:n&&!a.c?(T=r?K.a:u(It(a.f,0),70).o.b,K.d=(d.b-T)/2-h.b):K.d=h.b+z}for(i=K.d,x=new C(a.f);x.a<x.c.c.length;)v=u(Y(x),70),q=v.n,q.a=K.c,q.b=i,i+=v.o.b+L}}function Svn(){ci(UO,new UZ),ci(FV,new XZ),ci(KO,new E8),ci(SAe,new tJ),ci(Et,new C8),ci(ne(Qu,1),new W9),ci(Vs,new rJ),ci(bk,new J5),ci(Et,new v1),ci(Et,new KB),ci(Et,new WB),ci(ka,new YB),ci(Et,new XB),ci(Eh,new QB),ci(Eh,new ZB),ci(Et,new qf),ci($7,new mu),ci(Et,new VZ),ci(Et,new KZ),ci(Et,new yu),ci(Et,new z9),ci(Et,new JB),ci(ne(Qu,1),new eF),ci(Et,new Z5),ci(Et,new WZ),ci(Eh,new x8),ci(Eh,new YZ),ci(Et,new tF),ci(Ja,new QZ),ci(Et,new G9),ci(gw,new nF),ci(Et,new kL),ci(Et,new q9),ci(Et,new ZZ),ci(Et,new JZ),ci(Eh,new xL),ci(Eh,new V9),ci(Et,new w1),ci(Et,new eJ),ci(Et,new T8),ci(Et,new EL),ci(Et,new B2),ci(Et,new U9),ci(pw,new TL),ci(Et,new Vf),ci(Et,new K9),ci(Et,new m1),ci(pw,new y1),ci(gw,new nJ),ci(Et,new y3),ci(Ja,new _8)}function N5e(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(P=t.length,P>0&&(v=(zr(0,t.length),t.charCodeAt(0)),v!=64)){if(v==37&&(L=t.lastIndexOf("%"),x=!1,L!=0&&(L==P-1||(x=(zr(L+1,t.length),t.charCodeAt(L+1)==46))))){if(h=t.substr(1,L-1),Te=on("%",h)?null:P5e(h),r=0,x)try{r=Wl(t.substr(L+2),za,xi)}catch(Ne){throw Ne=ts(Ne),me(Ne,127)?(d=Ne,ee(new h$(d))):ee(Ne)}for(Q=pme(e.Wg());Q.Ob();)if(q=$$(Q),me(q,510)&&(i=u(q,590),Se=i.d,(Te==null?Se==null:on(Te,Se))&&r--==0))return i;return null}if(T=t.lastIndexOf("."),z=T==-1?t:t.substr(0,T),n=0,T!=-1)try{n=Wl(t.substr(T+1),za,xi)}catch(Ne){if(Ne=ts(Ne),me(Ne,127))z=t;else throw ee(Ne)}for(z=on("%",z)?null:P5e(z),K=pme(e.Wg());K.Ob();)if(q=$$(K),me(q,191)&&(a=u(q,191),ue=a.ne(),(z==null?ue==null:on(z,ue))&&n--==0))return a;return null}return Xct(e,t)}function Avn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(it=new at,q=new C(e.b);q.a<q.c.c.length;)for(z=u(Y(q),29),ue=new C(z.a);ue.a<ue.c.c.length;)if(K=u(Y(ue),10),K.k==(zn(),Ls)&&Js(K,(nt(),mq))){for(Se=null,Ne=null,Te=null,Ut=new C(K.j);Ut.a<Ut.c.c.length;)switch(Gt=u(Y(Ut),11),Gt.j.g){case 4:Se=Gt;break;case 2:Ne=Gt;break;default:Te=Gt}for(Ke=u(It(Te.g,0),17),T=new YF(Ke.a),x=new Do(Te.n),Ni(x,K.n),L=si(T,0),MM(L,x),kt=vD(Ke.a),P=new Do(Te.n),Ni(P,K.n),ks(kt,P,kt.c.b,kt.c),Nn=u(W(K,mq),10),Rn=u(It(Nn.j,0),11),v=u(R1(Se.e,Ie(Cue,coe,17,0,0,1)),474),r=v,a=0,d=r.length;a<d;++a)t=r[a],wa(t,Rn),eie(t.a,t.a.b,T);for(v=vd(Ne.g),n=v,i=0,h=n.length;i<h;++i)t=n[i],Ka(t,Rn),eie(t.a,0,kt);Ka(Ke,null),wa(Ke,null),it.c[it.c.length]=K}for(Q=new C(it);Q.a<Q.c.c.length;)K=u(Y(Q),10),Oo(K,null)}function Sut(){Sut=de;var e,t,n;for(new nD(1,0),new nD(10,0),new nD(0,0),Bdt=Ie(Qce,Je,240,11,0,1),_b=Ie(Sh,yd,25,100,15,1),Txe=ie(ne(va,1),Ao,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),_xe=Ie(Sr,Jr,25,Txe.length,15,1),Cxe=ie(ne(va,1),Ao,25,15,[1,10,100,Ig,1e4,Oae,1e6,1e7,1e8,uz,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Sxe=Ie(Sr,Jr,25,Cxe.length,15,1),Axe=Ie(Qce,Je,240,11,0,1),e=0;e<Axe.length;e++)Bdt[e]=new nD(e,0),Axe[e]=new nD(0,e),_b[e]=48;for(;e<_b.length;e++)_b[e]=48;for(n=0;n<_xe.length;n++)_xe[n]=l4e(Txe[n]);for(t=0;t<Sxe.length;t++)Sxe[t]=l4e(Cxe[t]);a7()}function Lvn(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(t){return Object.create(null)},e.prototype.get=function(t){return this.obj[t]},e.prototype.set=function(t,n){this.obj[t]=n},e.prototype[Fae]=function(t){delete this.obj[t]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var t=this.keys(),n=this,r=0;return{next:function(){if(r>=t.length)return{done:!0};var i=t[r++];return{value:[i,n.get(i)],done:!1}}}},O0n()||(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[Fae]=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 Mvn(e){d5e();var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(e==null)return null;if(L=e.length*8,L==0)return"";for(d=L%24,z=L/24|0,P=d!=0?z+1:z,a=null,a=Ie(Sh,yd,25,P*4,15,1),x=0,T=0,t=0,n=0,r=0,h=0,i=0,v=0;v<z;v++)t=e[i++],n=e[i++],r=e[i++],T=(n&15)<<24>>24,x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,K=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,Q=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[h++]=Yg[q],a[h++]=Yg[K|x<<4],a[h++]=Yg[T<<2|Q],a[h++]=Yg[r&63];return d==8?(t=e[i],x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[h++]=Yg[q],a[h++]=Yg[x<<4],a[h++]=61,a[h++]=61):d==16&&(t=e[i],n=e[i+1],T=(n&15)<<24>>24,x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,K=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[h++]=Yg[q],a[h++]=Yg[K|x<<4],a[h++]=Yg[T<<2],a[h++]=61),Fh(a,0,a.length)}function Dvn(e,t){var n,r,i,a,h,d,v;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>za&&gwe(t,e.p-Xp),h=t.q.getDate(),BM(t,1),e.k>=0&&dZt(t,e.k),e.c>=0?BM(t,e.c):e.k>=0?(v=new Pme(t.q.getFullYear()-Xp,t.q.getMonth(),35),r=35-v.q.getDate(),BM(t,b.Math.min(r,h))):BM(t,h),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),TVt(t,e.f==24&&e.g?0:e.f),e.j>=0&&Ten(t,e.j),e.n>=0&&zen(t,e.n),e.i>=0&&JGe(t,Wa(Ha(PD(Mu(t.q.getTime()),Ig),Ig),e.i)),e.a&&(i=new tR,gwe(i,i.q.getFullYear()-Xp-80),Hee(Mu(t.q.getTime()),Mu(i.q.getTime()))&&gwe(t,i.q.getFullYear()-Xp+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),d=t.q.getMonth(),BM(t,t.q.getDate()+n),t.q.getMonth()!=d&&BM(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>za&&(a=t.q.getTimezoneOffset(),JGe(t,Wa(Mu(t.q.getTime()),(e.o-a)*60*Ig))),!0}function Aut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(i=W(t,(nt(),Mi)),!!me(i,239)){for(q=u(i,33),K=t.e,P=new Do(t.c),a=t.d,P.a+=a.b,P.b+=a.d,Ne=u(jt(q,(mt(),Oq)),174),zu(Ne,(wl(),yV))&&(z=u(jt(q,wTe),116),dge(z,a.a),KJ(z,a.d),gge(z,a.b),mge(z,a.c)),n=new at,T=new C(t.a);T.a<T.c.c.length;)for(v=u(Y(T),10),me(W(v,Mi),239)?Fvn(v,P):me(W(v,Mi),186)&&!K&&(r=u(W(v,Mi),118),Se=mct(t,v,r.g,r.f),_1(r,Se.a,Se.b)),ue=new C(v.j);ue.a<ue.c.c.length;)Q=u(Y(ue),11),ms(qi(new mn(null,new kn(Q.g,16)),new Ua(v)),new qr(n));if(K)for(ue=new C(K.j);ue.a<ue.c.c.length;)Q=u(Y(ue),11),ms(qi(new mn(null,new kn(Q.g,16)),new ns(K)),new qo(n));for(Te=u(jt(q,W0),218),d=new C(n);d.a<d.c.c.length;)h=u(Y(d),17),Xbn(h,Te,P);for(qgn(t),x=new C(t.a);x.a<x.c.c.length;)v=u(Y(x),10),L=v.e,L&&Aut(e,L)}}function Lut(e){vv(e,new hb(ppe(WF(dv(lv(fv(hv(new og,Xl),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new fl),Xl),Vi((o7(),LV),ie(ne(MV,1),rt,237,0,[SV]))))),pt(e,Xl,mI,lt(1)),pt(e,Xl,dy,80),pt(e,Xl,soe,5),pt(e,Xl,uk,S7),pt(e,Xl,wz,lt(1)),pt(e,Xl,wC,(In(),!0)),pt(e,Xl,cw,C7e),pt(e,Xl,yI,Ct(E7e)),pt(e,Xl,aoe,Ct(S7e)),pt(e,Xl,mz,!1),pt(e,Xl,mC,Ct(_7e)),pt(e,Xl,lk,Ct(fgt)),pt(e,Xl,k4,Ct(hgt)),pt(e,Xl,A7,Ct(lgt)),pt(e,Xl,L7,Ct(ggt)),pt(e,Xl,vz,Ct(T7e)),pt(e,Xl,roe,Ct(vue)),pt(e,Xl,y6e,Ct(OG)),pt(e,Xl,ioe,Ct(bue)),pt(e,Xl,k6e,Ct(A7e))}function Mut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(!u(u(Oi(e.r,t),21),84).dc()){if(h=u(_o(e.b,t),124),v=h.i,d=h.n,T=_se(e,t),r=v.b-d.b-d.c,i=h.a.a,a=v.c+d.b,z=e.w,(T==(e4(),d2)||T==OO)&&u(u(Oi(e.r,t),21),84).gc()==1&&(i=T==d2?i-2*e.w:i,T=OS),r<i&&!e.B.Hc((wl(),kV)))T==d2?(z+=(r-i)/(u(u(Oi(e.r,t),21),84).gc()+1),a+=z):z+=(r-i)/(u(u(Oi(e.r,t),21),84).gc()-1);else switch(r<i&&(i=T==d2?i-2*e.w:i,T=OS),T.g){case 3:a+=(r-i)/2;break;case 4:a+=r-i;break;case 0:n=(r-i)/(u(u(Oi(e.r,t),21),84).gc()+1),z+=b.Math.max(0,n),a+=z;break;case 1:n=(r-i)/(u(u(Oi(e.r,t),21),84).gc()-1),z+=b.Math.max(0,n)}for(P=u(u(Oi(e.r,t),21),84).Kc();P.Ob();)L=u(P.Pb(),111),L.e.a=a+L.d.b,L.e.b=(x=L.b,x.Xe((di(),kl))?x.Hf()==(dt(),Ln)?-x.rf().b-We(gt(x.We(kl))):We(gt(x.We(kl))):x.Hf()==(dt(),Ln)?-x.rf().b:0),a+=L.d.b+L.b.rf().a+L.d.c+z}}function Dut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(!u(u(Oi(e.r,t),21),84).dc()){if(h=u(_o(e.b,t),124),v=h.i,d=h.n,L=_se(e,t),r=v.a-d.d-d.a,i=h.a.b,a=v.d+d.d,q=e.w,x=e.o.a,(L==(e4(),d2)||L==OO)&&u(u(Oi(e.r,t),21),84).gc()==1&&(i=L==d2?i-2*e.w:i,L=OS),r<i&&!e.B.Hc((wl(),kV)))L==d2?(q+=(r-i)/(u(u(Oi(e.r,t),21),84).gc()+1),a+=q):q+=(r-i)/(u(u(Oi(e.r,t),21),84).gc()-1);else switch(r<i&&(i=L==d2?i-2*e.w:i,L=OS),L.g){case 3:a+=(r-i)/2;break;case 4:a+=r-i;break;case 0:n=(r-i)/(u(u(Oi(e.r,t),21),84).gc()+1),q+=b.Math.max(0,n),a+=q;break;case 1:n=(r-i)/(u(u(Oi(e.r,t),21),84).gc()-1),q+=b.Math.max(0,n)}for(z=u(u(Oi(e.r,t),21),84).Kc();z.Ob();)P=u(z.Pb(),111),P.e.a=(T=P.b,T.Xe((di(),kl))?T.Hf()==(dt(),On)?-T.rf().a-We(gt(T.We(kl))):x+We(gt(T.We(kl))):T.Hf()==(dt(),On)?-T.rf().a:x),P.e.b=a+P.d.d,a+=P.d.d+P.b.rf().b+P.d.a+q}}function Ivn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(e.n=We(gt(W(e.g,(mt(),Sw)))),e.e=We(gt(W(e.g,Db))),e.i=e.g.b.c.length,d=e.i-1,P=0,e.j=0,e.k=0,e.a=I1(Ie(Ja,Je,19,e.i,0,1)),e.b=I1(Ie(ka,Je,333,e.i,7,1)),h=new C(e.g.b);h.a<h.c.c.length;){for(i=u(Y(h),29),i.p=d,L=new C(i.a);L.a<L.c.c.length;)T=u(Y(L),10),T.p=P,++P;--d}for(e.f=Ie(Sr,Jr,25,P,15,1),e.c=G2(Sr,[Je,Jr],[48,25],15,[P,3],2),e.o=new at,e.p=new at,t=0,e.d=0,a=new C(e.g.b);a.a<a.c.c.length;){for(i=u(Y(a),29),d=i.p,r=0,K=0,v=i.a.c.length,x=0,L=new C(i.a);L.a<L.c.c.length;)T=u(Y(L),10),P=T.p,e.f[P]=T.c.p,x+=T.o.b+e.n,n=I0(new ur(dr(Wo(T).a.Kc(),new V))),q=I0(new ur(dr(Fs(T).a.Kc(),new V))),e.c[P][0]=q-n,e.c[P][1]=n,e.c[P][2]=q,r+=n,K+=q,n>0&&st(e.p,T),st(e.o,T);t-=r,z=v+t,x+=t*e.e,gh(e.a,d,lt(z)),gh(e.b,d,x),e.j=b.Math.max(e.j,z),e.k=b.Math.max(e.k,x),e.d+=t,t+=K}}function dt(){dt=de;var e;cc=new hM(bC,0),Ln=new hM(dz,1),$n=new hM(Kae,2),Tr=new hM(Wae,3),On=new hM(Yae,4),X1=(fn(),new H8((e=u(Wf(oo),9),new hh(e,u(bf(e,e.length),9),0)))),Nf=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[]))),_h=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[]))),th=Tg(Vi(Tr,ie(ne(oo,1),Mc,61,0,[]))),Qh=Tg(Vi(On,ie(ne(oo,1),Mc,61,0,[]))),Nu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[Tr]))),gu=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[On]))),Pf=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[On]))),ul=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n]))),nh=Tg(Vi(Tr,ie(ne(oo,1),Mc,61,0,[On]))),Ch=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[Tr]))),ll=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,On]))),Ou=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[Tr,On]))),Pu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[Tr,On]))),Xu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,Tr]))),Jc=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,Tr,On])))}function Iut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(t.b!=0){for(z=new as,d=null,q=null,r=_s(b.Math.floor(b.Math.log(t.b)*b.Math.LOG10E)+1),v=0,Te=si(t,0);Te.b!=Te.d.c;)for(ue=u(ii(Te),86),$e(q)!==$e(W(ue,(xc(),kS)))&&(q=Hr(W(ue,kS)),v=0),q!=null?d=q+QYe(v++,r):d=QYe(v++,r),Qe(ue,kS,d),Q=(i=si(new mp(ue).a.d,0),new u6(i));QF(Q.a);)K=u(ii(Q.a),188).c,ks(z,K,z.c.b,z.c),Qe(K,kS,d);for(P=new Ar,h=0;h<d.length-r;h++)for(Se=si(t,0);Se.b!=Se.d.c;)ue=u(ii(Se),86),x=$l(Hr(W(ue,(xc(),kS))),0,h+1),n=(x==null?hc(jo(P.f,null)):LT(P.g,x))!=null?u(x==null?hc(jo(P.f,null)):LT(P.g,x),19).a+1:1,Io(P,x,lt(n));for(L=new ib(new lg(P).a);L.b;)T=jv(L),a=lt(Jn(e.a,T.cd())!=null?u(Jn(e.a,T.cd()),19).a:0),Io(e.a,Hr(T.cd()),lt(u(T.dd(),19).a+a.a)),a=u(Jn(e.b,T.cd()),19),(!a||a.a<u(T.dd(),19).a)&&Io(e.b,Hr(T.cd()),u(T.dd(),19));Iut(e,z)}}function Ovn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(n,"Interactive node layering",1),r=new at,z=new C(t.a);z.a<z.c.c.length;){for(L=u(Y(z),10),x=L.n.a,v=x+L.o.a,v=b.Math.max(x+1,v),ue=new Ca(r,0),i=null;ue.b<ue.d.gc();)if(K=(Qn(ue.b<ue.d.gc()),u(ue.d.Xb(ue.c=ue.b++),569)),K.c>=v){Qn(ue.b>0),ue.a.Xb(ue.c=--ue.b);break}else K.a>x&&(i?(Ps(i.b,K.b),i.a=b.Math.max(i.a,K.a),Dl(ue)):(st(K.b,L),K.c=b.Math.min(K.c,x),K.a=b.Math.max(K.a,v),i=K));i||(i=new p$e,i.c=x,i.a=v,Lm(ue,i),st(i.b,L))}for(d=t.b,T=0,Q=new C(r);Q.a<Q.c.c.length;)for(K=u(Y(Q),569),a=new Nh(t),a.p=T++,d.c[d.c.length]=a,q=new C(K.b);q.a<q.c.c.length;)L=u(Y(q),10),Oo(L,a),L.p=0;for(P=new C(t.a);P.a<P.c.c.length;)L=u(Y(P),10),L.p==0&&got(e,L,t);for(h=new Ca(d,0);h.b<h.d.gc();)(Qn(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),29)).a.c.length==0&&Dl(h);t.a.c=Ie(Xn,_t,1,0,5,1),lr(n)}function Nvn(e,t,n){var r,i,a,h,d,v,x,T,L,P;if(t.e.c.length!=0&&n.e.c.length!=0){if(r=u(It(t.e,0),17).c.i,h=u(It(n.e,0),17).c.i,r==h)return ku(u(W(u(It(t.e,0),17),(nt(),Oc)),19).a,u(W(u(It(n.e,0),17),Oc),19).a);for(T=e.a,L=0,P=T.length;L<P;++L){if(x=T[L],x==r)return 1;if(x==h)return-1}}return t.g.c.length!=0&&n.g.c.length!=0?(a=u(W(t,(nt(),cle)),10),v=u(W(n,cle),10),i=0,d=0,Js(u(It(t.g,0),17),Oc)&&(i=u(W(u(It(t.g,0),17),Oc),19).a),Js(u(It(n.g,0),17),Oc)&&(d=u(W(u(It(t.g,0),17),Oc),19).a),a&&a==v?Bt(Nt(W(u(It(t.g,0),17),U1)))&&!Bt(Nt(W(u(It(n.g,0),17),U1)))?1:!Bt(Nt(W(u(It(t.g,0),17),U1)))&&Bt(Nt(W(u(It(n.g,0),17),U1)))||i<d?-1:i>d?1:0:(e.b&&(e.b._b(a)&&(i=u(e.b.xc(a),19).a),e.b._b(v)&&(d=u(e.b.xc(v),19).a)),i<d?-1:i>d?1:0)):t.e.c.length!=0&&n.g.c.length!=0?1:-1}function Pvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;for(Er(t,xht,1),K=new at,it=new at,x=new C(e.b);x.a<x.c.c.length;)for(v=u(Y(x),29),ue=-1,q=jM(v.a),L=q,P=0,z=L.length;P<z;++P)if(T=L[P],++ue,!!(T.k==(zn(),js)&&P3(u(W(T,(mt(),vs)),98)))){for(_6(u(W(T,(mt(),vs)),98))||Adn(T),Qe(T,(nt(),kw),T),K.c=Ie(Xn,_t,1,0,5,1),it.c=Ie(Xn,_t,1,0,5,1),n=new at,Ne=new as,Bre(Ne,Mg(T,(dt(),Ln))),Vut(e,Ne,K,it,n),d=ue,kt=T,a=new C(K);a.a<a.c.c.length;)r=u(Y(a),10),Zm(r,d,v),++ue,Qe(r,kw,T),h=u(It(r.j,0),11),Q=u(W(h,Mi),11),Bt(Nt(W(Q,dle)))||u(W(r,Tk),15).Fc(kt);for(Ph(Ne),Te=Mg(T,Tr).Kc();Te.Ob();)Se=u(Te.Pb(),11),ks(Ne,Se,Ne.a,Ne.a.a);for(Vut(e,Ne,it,null,n),Ke=T,i=new C(it);i.a<i.c.c.length;)r=u(Y(i),10),Zm(r,++ue,v),Qe(r,kw,T),h=u(It(r.j,0),11),Q=u(W(h,Mi),11),Bt(Nt(W(Q,dle)))||u(W(Ke,Tk),15).Fc(r);n.c.length==0||Qe(T,s9e,n)}lr(t)}function Out(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us;for(L=u(W(e,(Rp(),wk)),33),ue=xi,Se=xi,K=za,Q=za,Ne=new C(e.e);Ne.a<Ne.c.c.length;)Te=u(Y(Ne),144),Ut=Te.d,Nn=Te.e,ue=b.Math.min(ue,Ut.a-Nn.a/2),Se=b.Math.min(Se,Ut.b-Nn.b/2),K=b.Math.max(K,Ut.a+Nn.a/2),Q=b.Math.max(Q,Ut.b+Nn.b/2);for(Gt=u(jt(L,(r1(),dgt)),116),kt=new Ft(Gt.b-ue,Gt.d-Se),d=new C(e.e);d.a<d.c.c.length;)h=u(Y(d),144),it=W(h,wk),me(it,239)&&(z=u(it,33),Ke=Ni(h.d,kt),_1(z,Ke.a-z.g/2,Ke.b-z.f/2));for(r=new C(e.c);r.a<r.c.c.length;)n=u(Y(r),282),x=u(W(n,wk),79),T=h4(x,!0,!0),Rn=(yi=pa(fc(n.d.d),n.c.d),t7(yi,n.c.e.a,n.c.e.b),Ni(yi,n.c.d)),BR(T,Rn.a,Rn.b),t=(Us=pa(fc(n.c.d),n.d.d),t7(Us,n.d.e.a,n.d.e.b),Ni(Us,n.d.d)),PR(T,t.a,t.b);for(a=new C(e.d);a.a<a.c.c.length;)i=u(Y(a),447),P=u(W(i,wk),137),q=Ni(i.d,kt),_1(P,q.a,q.b);gr=K-ue+(Gt.b+Gt.c),v=Q-Se+(Gt.d+Gt.a),iw(L,gr,v,!1,!0)}function Bvn(e){var t,n,r,i,a,h,d,v,x,T,L,P;for(n=null,v=null,i=u(W(e.b,(mt(),mle)),376),i==(qM(),fO)&&(n=new at,v=new at),d=new C(e.d);d.a<d.c.c.length;)if(h=u(Y(d),101),a=h.i,!!a)switch(h.e.g){case 0:t=u(m_(new b6(h.b)),61),i==fO&&t==(dt(),Ln)?n.c[n.c.length]=h:i==fO&&t==(dt(),Tr)?v.c[v.c.length]=h:kon(h,t);break;case 1:x=h.a.d.j,T=h.c.d.j,x==(dt(),Ln)?wg(h,Ln,(B1(),W7),h.a):T==Ln?wg(h,Ln,(B1(),Y7),h.c):x==Tr?wg(h,Tr,(B1(),Y7),h.a):T==Tr&&wg(h,Tr,(B1(),W7),h.c);break;case 2:case 3:r=h.b,zu(r,(dt(),Ln))?zu(r,Tr)?zu(r,On)?zu(r,$n)||wg(h,Ln,(B1(),Y7),h.c):wg(h,Ln,(B1(),W7),h.a):wg(h,Ln,(B1(),mk),null):wg(h,Tr,(B1(),mk),null);break;case 4:L=h.a.d.j,P=h.a.d.j,L==(dt(),Ln)||P==Ln?wg(h,Tr,(B1(),mk),null):wg(h,Ln,(B1(),mk),null)}n&&(n.c.length==0||Cct(n,(dt(),Ln)),v.c.length==0||Cct(v,(dt(),Tr)))}function Fvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(r=u(W(e,(nt(),Mi)),33),q=u(W(e,(mt(),_q)),19).a,a=u(W(e,Lq),19).a,So(r,_q,lt(q)),So(r,Lq,lt(a)),Au(r,e.n.a+t.a),Lu(r,e.n.b+t.b),(u(jt(r,Lb),174).gc()!=0||e.e||$e(W(Xa(e),Iq))===$e((G_(),fS))&&mqe((Xm(),(e.q?e.q:(fn(),fn(),o0))._b(Tw)?P=u(W(e,Tw),197):P=u(W(Xa(e),cS),197),P)))&&(Hv(r,e.o.a),$v(r,e.o.b)),L=new C(e.j);L.a<L.c.c.length;)x=u(Y(L),11),K=W(x,Mi),me(K,186)&&(i=u(K,118),_1(i,x.n.a,x.n.b),So(i,oE,x.j));for(z=u(W(e,Ew),174).gc()!=0,v=new C(e.b);v.a<v.c.c.length;)h=u(Y(v),70),(z||u(W(h,Ew),174).gc()!=0)&&(n=u(W(h,Mi),137),NR(n,h.o.a,h.o.b),_1(n,h.n.a,h.n.b));if(!o_(u(W(e,Oy),21)))for(T=new C(e.j);T.a<T.c.c.length;)for(x=u(Y(T),11),d=new C(x.f);d.a<d.c.c.length;)h=u(Y(d),70),n=u(W(h,Mi),137),Hv(n,h.o.a),$v(n,h.o.b),_1(n,h.n.a,h.n.b)}function Rvn(e){var t,n,r,i,a;switch(NM(e,Vft),(!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i+(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i){case 0:throw ee(new Dn("The edge must have at least one source or target."));case 1:return(!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i==0?ls(Ho(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))):ls(Ho(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82)))}if((!e.b&&(e.b=new yn(kr,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new yn(kr,e,5,8)),e.c).i==1){if(i=Ho(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82)),a=Ho(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82)),ls(i)==ls(a))return ls(i);if(i==ls(a))return i;if(a==ls(i))return a}for(r=Dp(P1(ie(ne(G1,1),_t,20,0,[(!e.b&&(e.b=new yn(kr,e,4,7)),e.b),(!e.c&&(e.c=new yn(kr,e,5,8)),e.c)]))),t=Ho(u(Nr(r),82));Vr(r);)if(n=Ho(u(Nr(r),82)),n!=t&&!Gm(n,t)){if(ls(n)==ls(t))t=ls(n);else if(t=E1n(t,n),!t)return null}return t}function jvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(Er(n,"Polyline edge routing",1),Q=We(gt(W(t,(mt(),eTe)))),z=We(gt(W(t,q4))),i=We(gt(W(t,G4))),r=b.Math.min(1,i/z),Te=0,v=0,t.b.c.length!=0&&(Ne=Oat(u(It(t.b,0),29)),Te=.4*r*Ne),d=new Ca(t.b,0);d.b<d.d.gc();){for(h=(Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)),a=MR(h,gO),a&&Te>0&&(Te-=z),T5e(h,Te),T=0,P=new C(h.a);P.a<P.c.c.length;){for(L=u(Y(P),10),x=0,K=new ur(dr(Fs(L).a.Kc(),new V));Vr(K);)q=u(Nr(K),17),ue=M1(q.c).b,Se=M1(q.d).b,h==q.d.i.c&&!no(q)&&(ufn(q,Te,.4*r*b.Math.abs(ue-Se)),q.c.j==(dt(),On)&&(ue=0,Se=0)),x=b.Math.max(x,b.Math.abs(Se-ue));switch(L.k.g){case 0:case 4:case 1:case 3:case 5:sbn(e,L,Te,Q)}T=b.Math.max(T,x)}d.b<d.d.gc()&&(Ne=Oat((Qn(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29))),T=b.Math.max(T,Ne),Qn(d.b>0),d.a.Xb(d.c=--d.b)),v=.4*r*T,!a&&d.b<d.d.gc()&&(v+=z),Te+=h.c.a+v}e.a.a.$b(),t.f.a=Te,lr(n)}function $vn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;for(T=new Ar,v=new Ov,r=new C(e.a.a.b);r.a<r.c.c.length;)if(t=u(Y(r),57),x=q3(t),x)lu(T.f,x,t);else if(Se=B6(t),Se)for(a=new C(Se.k);a.a<a.c.c.length;)i=u(Y(a),17),an(v,i,t);for(n=new C(e.a.a.b);n.a<n.c.c.length;)if(t=u(Y(n),57),x=q3(t),x){for(d=new ur(dr(Fs(x).a.Kc(),new V));Vr(d);)if(h=u(Nr(d),17),!no(h)&&(q=h.c,ue=h.d,!((dt(),Nu).Hc(h.c.j)&&Nu.Hc(h.d.j)))){if(K=u(Jn(T,h.d.i),57),Tf(gf(df(pf(ff(new Ih,0),100),e.c[t.a.d]),e.c[K.a.d])),q.j==On&&FKe((Vu(),q))){for(P=u(Oi(v,h),21).Kc();P.Ob();)if(L=u(P.Pb(),57),L.d.c<t.d.c){if(z=e.c[L.a.d],Q=e.c[t.a.d],z==Q)continue;Tf(gf(df(pf(ff(new Ih,1),100),z),Q))}}if(ue.j==$n&&BKe((Vu(),ue))){for(P=u(Oi(v,h),21).Kc();P.Ob();)if(L=u(P.Pb(),57),L.d.c>t.d.c){if(z=e.c[t.a.d],Q=e.c[L.a.d],z==Q)continue;Tf(gf(df(pf(ff(new Ih,1),100),z),Q))}}}}}function P5e(e){Xse();var t,n,r,i,a,h,d,v;if(e==null)return null;if(i=hd(e,Du(37)),i<0)return e;for(v=new jl(e.substr(0,i)),t=Ie(Qu,C4,25,4,15,1),d=0,r=0,h=e.length;i<h;i++)if(zr(i,e.length),e.charCodeAt(i)==37&&e.length>i+2&&zre((zr(i+1,e.length),e.charCodeAt(i+1)),sAe,aAe)&&zre((zr(i+2,e.length),e.charCodeAt(i+2)),sAe,aAe))if(n=cYt((zr(i+1,e.length),e.charCodeAt(i+1)),(zr(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[d++]=n<<24>>24,r=2):(n&240)==224?(t[d++]=n<<24>>24,r=3):(n&248)==240&&(t[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{Ip(v,((t[0]&31)<<6|t[1]&63)&Ss);break}case 3:{Ip(v,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ss);break}}d=0,r=0}}else{for(a=0;a<d;++a)Ip(v,t[a]&Ss);d=0,v.a+=String.fromCharCode(n)}else{for(a=0;a<d;++a)Ip(v,t[a]&Ss);d=0,Ip(v,(zr(i,e.length),e.charCodeAt(i)))}return v.a}function Nut(e,t,n,r,i){var a,h,d;if(JZe(e,t),h=t[0],a=Ma(n.c,0),d=-1,Hme(n))if(r>0){if(h+r>e.length)return!1;d=IH(e.substr(0,h+r),t)}else d=IH(e,t);switch(a){case 71:return d=o4(e,h,ie(ne(Et,1),Je,2,6,[glt,plt]),t),i.e=d,!0;case 77:return x0n(e,t,i,d,h);case 76:return E0n(e,t,i,d,h);case 69:return ghn(e,t,h,i);case 99:return phn(e,t,h,i);case 97:return d=o4(e,h,ie(ne(Et,1),Je,2,6,["AM","PM"]),t),i.b=d,!0;case 121:return T0n(e,t,h,d,n,i);case 100:return d<=0?!1:(i.c=d,!0);case 83:return d<0?!1:Asn(d,h,t[0],i);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(i.f=d,i.g=!1,!0);case 107:return d<0?!1:(i.f=d,i.g=!0,!0);case 109:return d<0?!1:(i.j=d,!0);case 115:return d<0?!1:(i.n=d,!0);case 90:if(h<e.length&&(zr(h,e.length),e.charCodeAt(h)==90))return++t[0],i.o=0,!0;case 122:case 118:return jun(e,h,t,i);default:return!1}}function Hvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;if(P=u(u(Oi(e.r,t),21),84),t==(dt(),$n)||t==On){Cut(e,t);return}for(a=t==Ln?(qv(),jI):(qv(),$I),Ne=t==Ln?(Cu(),a1):(Cu(),Sf),n=u(_o(e.b,t),124),r=n.i,i=r.c+Y3(ie(ne(va,1),Ao,25,15,[n.n.b,e.C.b,e.k])),ue=r.c+r.b-Y3(ie(ne(va,1),Ao,25,15,[n.n.c,e.C.c,e.k])),h=dpe(Dbe(a),e.t),Se=t==Ln?Ds:ps,L=P.Kc();L.Ob();)x=u(L.Pb(),111),!(!x.c||x.c.d.c.length<=0)&&(Q=x.b.rf(),K=x.e,z=x.c,q=z.i,q.b=(v=z.n,z.e.a+v.b+v.c),q.a=(d=z.n,z.e.b+d.d+d.a),NM(Ne,o6e),z.f=Ne,Qf(z,(sl(),Cf)),q.c=K.a-(q.b-Q.a)/2,Ke=b.Math.min(i,K.a),it=b.Math.max(ue,K.a+Q.a),q.c<Ke?q.c=Ke:q.c+q.b>it&&(q.c=it-q.b),st(h.d,new ine(q,hye(h,q))),Se=t==Ln?b.Math.max(Se,K.b+x.b.rf().b):b.Math.min(Se,K.b));for(Se+=t==Ln?e.t:-e.t,Te=Sye((h.e=Se,h)),Te>0&&(u(_o(e.b,t),124).a.b=Te),T=P.Kc();T.Ob();)x=u(T.Pb(),111),!(!x.c||x.c.d.c.length<=0)&&(q=x.c.i,q.c-=x.e.a,q.d-=x.e.b)}function zvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;for(t=new Ar,v=new ir(e);v.e!=v.i.gc();){for(d=u(br(v),33),n=new Ys,Si(gue,d,n),z=new Ot,i=u(Gl(new mn(null,new Cv(new ur(dr(UD(d).a.Kc(),new V)))),xKe(z,Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)])))),83),VJe(n,u(i.xc((In(),!0)),14),new im),r=u(Gl(qi(u(i.xc(!1),15).Lc(),new Kt),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl]))),15),h=r.Kc();h.Ob();)a=u(h.Pb(),79),P=Oit(a),P&&(x=u(hc(jo(t.f,P)),21),x||(x=Jat(P),lu(t.f,P,x)),ro(n,x));for(i=u(Gl(new mn(null,new Cv(new ur(dr(z0(d).a.Kc(),new V)))),xKe(z,Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl])))),83),VJe(n,u(i.xc(!0),14),new id),r=u(Gl(qi(u(i.xc(!1),15).Lc(),new sm),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl]))),15),L=r.Kc();L.Ob();)T=u(L.Pb(),79),P=Nit(T),P&&(x=u(hc(jo(t.f,P)),21),x||(x=Jat(P),lu(t.f,P,x)),ro(n,x))}}function Gvn(e,t){qse();var n,r,i,a,h,d,v,x,T,L,P,z,q,K;if(v=Lc(e,0)<0,v&&(e=Ex(e)),Lc(e,0)==0)switch(t){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 z=new yp,t<0?z.a+="0E+":z.a+="0E",z.a+=t==za?"2147483648":""+-t,z.a}T=18,L=Ie(Sh,yd,25,T+1,15,1),n=T,K=e;do x=K,K=PD(K,10),L[--n]=Ir(Wa(48,Gp(x,Ha(K,10))))&Ss;while(Lc(K,0)!=0);if(i=Gp(Gp(Gp(T,n),t),1),t==0)return v&&(L[--n]=45),Fh(L,n,T-n);if(t>0&&Lc(i,-6)>=0){if(Lc(i,0)>=0){for(a=n+Ir(i),d=T-1;d>=a;d--)L[d+1]=L[d];return L[++a]=46,v&&(L[--n]=45),Fh(L,n,T-n+1)}for(h=2;Hee(h,Wa(Ex(i),1));h++)L[--n]=48;return L[--n]=46,L[--n]=48,v&&(L[--n]=45),Fh(L,n,T-n)}return q=n+1,r=T,P=new ym,v&&(P.a+="-"),r-q>=1?(Ip(P,L[n]),P.a+=".",P.a+=Fh(L,n+1,T-n-1)):P.a+=Fh(L,n,T-n),P.a+="E",Lc(i,0)>0&&(P.a+="+"),P.a+=""+a_(i),P.a}function qvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;if(e.e.a.$b(),e.f.a.$b(),e.c.c=Ie(Xn,_t,1,0,5,1),e.i.c=Ie(Xn,_t,1,0,5,1),e.g.a.$b(),t)for(h=new C(t.a);h.a<h.c.c.length;)for(a=u(Y(h),10),L=Mg(a,(dt(),$n)).Kc();L.Ob();)for(T=u(L.Pb(),11),zs(e.e,T),i=new C(T.g);i.a<i.c.c.length;)r=u(Y(i),17),!no(r)&&(st(e.c,r),srt(e,r),d=r.c.i.k,(d==(zn(),js)||d==Xc||d==Ls||d==V1)&&st(e.j,r),z=r.d,P=z.i.c,P==n?zs(e.f,z):P==t?zs(e.e,z):_u(e.c,r));if(n)for(h=new C(n.a);h.a<h.c.c.length;){for(a=u(Y(h),10),x=new C(a.j);x.a<x.c.c.length;)for(v=u(Y(x),11),i=new C(v.g);i.a<i.c.c.length;)r=u(Y(i),17),no(r)&&zs(e.g,r);for(L=Mg(a,(dt(),On)).Kc();L.Ob();)for(T=u(L.Pb(),11),zs(e.f,T),i=new C(T.g);i.a<i.c.c.length;)r=u(Y(i),17),!no(r)&&(st(e.c,r),srt(e,r),d=r.c.i.k,(d==(zn(),js)||d==Xc||d==Ls||d==V1)&&st(e.j,r),z=r.d,P=z.i.c,P==n?zs(e.f,z):P==t?zs(e.e,z):_u(e.c,r))}}function iw(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;if(Q=new Ft(e.g,e.f),K=n4e(e),K.a=b.Math.max(K.a,t),K.b=b.Math.max(K.b,n),it=K.a/Q.a,T=K.b/Q.b,Ne=K.a-Q.a,v=K.b-Q.b,r)for(h=ls(e)?u(jt(ls(e),(di(),Lw)),103):u(jt(e,(di(),Lw)),103),d=$e(jt(e,(di(),LS)))===$e((ya(),Zc)),Se=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));Se.e!=Se.i.gc();)switch(ue=u(br(Se),118),Te=u(jt(ue,J4),61),Te==(dt(),cc)&&(Te=g5e(ue,h),So(ue,J4,Te)),Te.g){case 1:d||Au(ue,ue.i*it);break;case 2:Au(ue,ue.i+Ne),d||Lu(ue,ue.j*T);break;case 3:d||Au(ue,ue.i*it),Lu(ue,ue.j+v);break;case 4:d||Lu(ue,ue.j*T)}if(NR(e,K.a,K.b),i)for(P=new ir((!e.n&&(e.n=new ot(Qo,e,1,7)),e.n));P.e!=P.i.gc();)L=u(br(P),137),z=L.i+L.g/2,q=L.j+L.f/2,Ke=z/Q.a,x=q/Q.b,Ke+x>=1&&(Ke-x>0&&q>=0?(Au(L,L.i+Ne),Lu(L,L.j+v*x)):Ke-x<0&&z>=0&&(Au(L,L.i+Ne*Ke),Lu(L,L.j+v)));return So(e,(di(),Nb),(Nl(),a=u(Wf(FS),9),new hh(a,u(bf(a,a.length),9),0))),new Ft(it,T)}function Put(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;if(z=ls(Ho(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))),q=ls(Ho(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))),L=z==q,d=new $a,t=u(jt(e,(V$(),DSe)),74),t&&t.b>=2){if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i==0)n=(gv(),i=new ad,i),Pr((!e.a&&(e.a=new ot(os,e,6,6)),e.a),n);else if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i>1)for(P=new x6((!e.a&&(e.a=new ot(os,e,6,6)),e.a));P.e!=P.i.gc();)U_(P);eI(t,u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202))}if(L)for(r=new ir((!e.a&&(e.a=new ot(os,e,6,6)),e.a));r.e!=r.i.gc();)for(n=u(br(r),202),x=new ir((!n.a&&(n.a=new Ns(Zh,n,5)),n.a));x.e!=x.i.gc();)v=u(br(x),469),d.a=b.Math.max(d.a,v.a),d.b=b.Math.max(d.b,v.b);for(h=new ir((!e.n&&(e.n=new ot(Qo,e,1,7)),e.n));h.e!=h.i.gc();)a=u(br(h),137),T=u(jt(a,DS),8),T&&_1(a,T.a,T.b),L&&(d.a=b.Math.max(d.a,a.i+a.g),d.b=b.Math.max(d.b,a.j+a.f));return d}function Vvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt;for(Te=t.c.length,i=new d4(e.a,n,null,null),Gt=Ie(va,Ao,25,Te,15,1),K=Ie(va,Ao,25,Te,15,1),q=Ie(va,Ao,25,Te,15,1),Q=0,d=0;d<Te;d++)K[d]=xi,q[d]=za;for(v=0;v<Te;v++)for(r=(En(v,t.c.length),u(t.c[v],180)),Gt[v]=mse(r),Gt[Q]>Gt[v]&&(Q=v),L=new C(e.a.b);L.a<L.c.c.length;)for(T=u(Y(L),29),Se=new C(T.a);Se.a<Se.c.c.length;)ue=u(Y(Se),10),it=We(r.p[ue.p])+We(r.d[ue.p]),K[v]=b.Math.min(K[v],it),q[v]=b.Math.max(q[v],it+ue.o.b);for(kt=Ie(va,Ao,25,Te,15,1),x=0;x<Te;x++)(En(x,t.c.length),u(t.c[x],180)).o==(L1(),Ib)?kt[x]=K[Q]-K[x]:kt[x]=q[Q]-q[x];for(a=Ie(va,Ao,25,Te,15,1),z=new C(e.a.b);z.a<z.c.c.length;)for(P=u(Y(z),29),Ke=new C(P.a);Ke.a<Ke.c.c.length;){for(Ne=u(Y(Ke),10),h=0;h<Te;h++)a[h]=We((En(h,t.c.length),u(t.c[h],180)).p[Ne.p])+We((En(h,t.c.length),u(t.c[h],180)).d[Ne.p])+kt[h];a.sort(AJe(he.prototype.te,he,[])),i.p[Ne.p]=(a[1]+a[2])/2,i.d[Ne.p]=0}return i}function Uvn(e,t,n){var r,i,a,h,d;switch(r=t.i,a=e.i.o,i=e.i.d,d=e.n,h=ic(ie(ne(ea,1),Je,8,0,[d,e.a])),e.j.g){case 1:dd(t,(Cu(),Sf)),r.d=-i.d-n-r.a,u(u(It(t.d,0),181).We((nt(),_k)),285)==(Kl(),l0)?(Qf(t,(sl(),Cf)),r.c=h.a-We(gt(W(e,j4)))-n-r.b):(Qf(t,(sl(),Md)),r.c=h.a+We(gt(W(e,j4)))+n);break;case 2:Qf(t,(sl(),Md)),r.c=a.a+i.c+n,u(u(It(t.d,0),181).We((nt(),_k)),285)==(Kl(),l0)?(dd(t,(Cu(),Sf)),r.d=h.b-We(gt(W(e,j4)))-n-r.a):(dd(t,(Cu(),a1)),r.d=h.b+We(gt(W(e,j4)))+n);break;case 3:dd(t,(Cu(),a1)),r.d=a.b+i.a+n,u(u(It(t.d,0),181).We((nt(),_k)),285)==(Kl(),l0)?(Qf(t,(sl(),Cf)),r.c=h.a-We(gt(W(e,j4)))-n-r.b):(Qf(t,(sl(),Md)),r.c=h.a+We(gt(W(e,j4)))+n);break;case 4:Qf(t,(sl(),Cf)),r.c=-i.b-n-r.b,u(u(It(t.d,0),181).We((nt(),_k)),285)==(Kl(),l0)?(dd(t,(Cu(),Sf)),r.d=h.b-We(gt(W(e,j4)))-n-r.a):(dd(t,(Cu(),a1)),r.d=h.b+We(gt(W(e,j4)))+n)}}function Kvn(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us;for(z=0,Nn=0,v=new C(e);v.a<v.c.c.length;)d=u(Y(v),33),wut(d),z=b.Math.max(z,d.g),Nn+=d.g*d.f;for(q=Nn/e.c.length,Ut=Yon(e,q),Nn+=e.c.length*Ut,z=b.Math.max(z,b.Math.sqrt(Nn*h))+n.b,yi=n.b,Us=n.d,P=0,T=n.b+n.c,Gt=new as,oi(Gt,lt(0)),it=new as,x=new Ca(e,0);x.b<x.d.gc();)d=(Qn(x.b<x.d.gc()),u(x.d.Xb(x.c=x.b++),33)),gr=d.g,L=d.f,yi+gr>z&&(a&&(H2(it,P),H2(Gt,lt(x.b-1))),yi=n.b,Us+=P+t,P=0,T=b.Math.max(T,n.b+n.c+gr)),Au(d,yi),Lu(d,Us),T=b.Math.max(T,yi+gr+n.c),P=b.Math.max(P,L),yi+=gr+t;if(T=b.Math.max(T,r),Rn=Us+P+n.a,Rn<i&&(P+=i-Rn,Rn=i),a)for(yi=n.b,x=new Ca(e,0),H2(Gt,lt(e.c.length)),kt=si(Gt,0),ue=u(ii(kt),19).a,H2(it,P),Ke=si(it,0),Ne=0;x.b<x.d.gc();)x.b==ue&&(yi=n.b,Ne=We(gt(ii(Ke))),ue=u(ii(kt),19).a),d=(Qn(x.b<x.d.gc()),u(x.d.Xb(x.c=x.b++),33)),Se=d.f,$v(d,Ne),K=Ne,x.b==ue&&(Q=T-yi-n.c,Te=d.g,Hv(d,Q),pst(d,new Ft(Q,K),new Ft(Te,Se))),yi+=d.g+t;return new Ft(T,Rn)}function Wvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;for(Er(t,"Compound graph postprocessor",1),n=Bt(Nt(W(e,(mt(),Ale)))),d=u(W(e,(nt(),c9e)),224),T=new Ys,ue=d.ec().Kc();ue.Ob();){for(Q=u(ue.Pb(),17),h=new Gu(d.cc(Q)),fn(),aa(h,new Ii(e)),Ke=Mnn((En(0,h.c.length),u(h.c[0],243))),kt=Eet(u(It(h,h.c.length-1),243)),Te=Ke.i,Px(kt.i,Te)?Se=Te.e:Se=Xa(Te),L=Oan(Q,h),Ph(Q.a),P=null,a=new C(h);a.a<a.c.c.length;)i=u(Y(a),243),K=new $a,J3e(K,i.a,Se),z=i.b,r=new $u,eie(r,0,z.a),qm(r,K),Ne=new Do(M1(z.c)),it=new Do(M1(z.d)),Ni(Ne,K),Ni(it,K),P&&(r.b==0?q=it:q=(Qn(r.b!=0),u(r.a.a.c,8)),Gt=b.Math.abs(P.a-q.a)>Ed,Ut=b.Math.abs(P.b-q.b)>Ed,(!n&&Gt&&Ut||n&&(Gt||Ut))&&oi(Q.a,Ne)),ro(Q.a,r),r.b==0?P=Ne:P=(Qn(r.b!=0),u(r.c.b.c,8)),urn(z,L,K),Eet(i)==kt&&(Xa(kt.i)!=i.a&&(K=new $a,J3e(K,Xa(kt.i),Se)),Qe(Q,fle,K)),Oln(z,Q,Se),T.a.zc(z,T);Ka(Q,Ke),wa(Q,kt)}for(x=T.a.ec().Kc();x.Ob();)v=u(x.Pb(),17),Ka(v,null),wa(v,null);lr(t)}function But(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(e.gc()==1)return u(e.Xb(0),231);if(e.gc()<=0)return new t$;for(i=e.Kc();i.Ob();){for(n=u(i.Pb(),231),q=0,T=xi,L=xi,v=za,x=za,z=new C(n.e);z.a<z.c.c.length;)P=u(Y(z),144),q+=u(W(P,(r1(),q7)),19).a,T=b.Math.min(T,P.d.a-P.e.a/2),L=b.Math.min(L,P.d.b-P.e.b/2),v=b.Math.max(v,P.d.a+P.e.a/2),x=b.Math.max(x,P.d.b+P.e.b/2);Qe(n,(r1(),q7),lt(q)),Qe(n,(Rp(),KC),new Ft(T,L)),Qe(n,KI,new Ft(v,x))}for(fn(),e.ad(new I2),K=new t$,$o(K,u(e.Xb(0),94)),d=0,Se=0,a=e.Kc();a.Ob();)n=u(a.Pb(),231),Q=pa(fc(u(W(n,(Rp(),KI)),8)),u(W(n,KC),8)),d=b.Math.max(d,Q.a),Se+=Q.a*Q.b;for(d=b.Math.max(d,b.Math.sqrt(Se)*We(gt(W(K,(r1(),cgt))))),ue=We(gt(W(K,NG))),Te=0,Ne=0,h=0,t=ue,r=e.Kc();r.Ob();)n=u(r.Pb(),231),Q=pa(fc(u(W(n,(Rp(),KI)),8)),u(W(n,KC),8)),Te+Q.a>d&&(Te=0,Ne+=h+ue,h=0),Dgn(K,n,Te,Ne),t=b.Math.max(t,Te+Q.a),h=b.Math.max(h,Q.b),Te+=Q.a+ue;return K}function Fut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;switch(T=new $u,e.a.g){case 3:P=u(W(t.e,(nt(),Sb)),15),z=u(W(t.j,Sb),15),q=u(W(t.f,Sb),15),n=u(W(t.e,z4),15),r=u(W(t.j,z4),15),i=u(W(t.f,z4),15),h=new at,Ps(h,P),z.Jc(new _X),Ps(h,me(z,152)?R6(u(z,152)):me(z,131)?u(z,131).a:me(z,54)?new uv(z):new km(z)),Ps(h,q),a=new at,Ps(a,n),Ps(a,me(r,152)?R6(u(r,152)):me(r,131)?u(r,131).a:me(r,54)?new uv(r):new km(r)),Ps(a,i),Qe(t.f,Sb,h),Qe(t.f,z4,a),Qe(t.f,b9e,t.f),Qe(t.e,Sb,null),Qe(t.e,z4,null),Qe(t.j,Sb,null),Qe(t.j,z4,null);break;case 1:ro(T,t.e.a),oi(T,t.i.n),ro(T,J2(t.j.a)),oi(T,t.a.n),ro(T,t.f.a);break;default:ro(T,t.e.a),ro(T,J2(t.j.a)),ro(T,t.f.a)}Ph(t.f.a),ro(t.f.a,T),Ka(t.f,t.e.c),d=u(W(t.e,(mt(),Fo)),74),x=u(W(t.j,Fo),74),v=u(W(t.f,Fo),74),(d||x||v)&&(L=new $u,xve(L,v),xve(L,x),xve(L,d),Qe(t.f,Fo,L)),Ka(t.j,null),wa(t.j,null),Ka(t.e,null),wa(t.e,null),Oo(t.a,null),Oo(t.i,null),t.g&&Fut(e,t.g)}function Yvn(e){d5e();var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(e==null||(a=d$(e),q=Bin(a),q%4!=0))return null;if(K=q/4|0,K==0)return Ie(Qu,C4,25,0,15,1);for(L=null,t=0,n=0,r=0,i=0,h=0,d=0,v=0,x=0,z=0,P=0,T=0,L=Ie(Qu,C4,25,K*3,15,1);z<K-1;z++){if(!KL(h=a[T++])||!KL(d=a[T++])||!KL(v=a[T++])||!KL(x=a[T++]))return null;t=Z1[h],n=Z1[d],r=Z1[v],i=Z1[x],L[P++]=(t<<2|n>>4)<<24>>24,L[P++]=((n&15)<<4|r>>2&15)<<24>>24,L[P++]=(r<<6|i)<<24>>24}return!KL(h=a[T++])||!KL(d=a[T++])?null:(t=Z1[h],n=Z1[d],v=a[T++],x=a[T++],Z1[v]==-1||Z1[x]==-1?v==61&&x==61?n&15?null:(Q=Ie(Qu,C4,25,z*3+1,15,1),Rc(L,0,Q,0,z*3),Q[P]=(t<<2|n>>4)<<24>>24,Q):v!=61&&x==61?(r=Z1[v],r&3?null:(Q=Ie(Qu,C4,25,z*3+2,15,1),Rc(L,0,Q,0,z*3),Q[P++]=(t<<2|n>>4)<<24>>24,Q[P]=((n&15)<<4|r>>2&15)<<24>>24,Q)):null:(r=Z1[v],i=Z1[x],L[P++]=(t<<2|n>>4)<<24>>24,L[P++]=((n&15)<<4|r>>2&15)<<24>>24,L[P++]=(r<<6|i)<<24>>24,L))}function Xvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Er(t,xht,1),q=u(W(e,(mt(),W0)),218),i=new C(e.b);i.a<i.c.c.length;)for(r=u(Y(i),29),x=jM(r.a),h=x,d=0,v=h.length;d<v;++d)if(a=h[d],a.k==(zn(),Xc)){if(q==($0(),Bk))for(L=new C(a.j);L.a<L.c.c.length;)T=u(Y(L),11),T.e.c.length==0||pan(T),T.g.c.length==0||ban(T);else if(me(W(a,(nt(),Mi)),17))Q=u(W(a,Mi),17),ue=u(Mg(a,(dt(),On)).Kc().Pb(),11),Se=u(Mg(a,$n).Kc().Pb(),11),Te=u(W(ue,Mi),11),Ne=u(W(Se,Mi),11),Ka(Q,Ne),wa(Q,Te),Ke=new Do(Se.i.n),Ke.a=ic(ie(ne(ea,1),Je,8,0,[Ne.i.n,Ne.n,Ne.a])).a,oi(Q.a,Ke),Ke=new Do(ue.i.n),Ke.a=ic(ie(ne(ea,1),Je,8,0,[Te.i.n,Te.n,Te.a])).a,oi(Q.a,Ke);else{if(a.j.c.length>=2){for(K=!0,P=new C(a.j),n=u(Y(P),11),z=null;P.a<P.c.c.length;)if(z=n,n=u(Y(P),11),!Ci(W(z,Mi),W(n,Mi))){K=!1;break}}else K=!1;for(L=new C(a.j);L.a<L.c.c.length;)T=u(Y(L),11),T.e.c.length==0||Gdn(T,K),T.g.c.length==0||qdn(T,K)}Oo(a,null)}lr(t)}function Rut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt;return Te=e.c[(En(0,t.c.length),u(t.c[0],17)).p],kt=e.c[(En(1,t.c.length),u(t.c[1],17)).p],Te.a.e.e-Te.a.a-(Te.b.e.e-Te.b.a)==0&&kt.a.e.e-kt.a.a-(kt.b.e.e-kt.b.a)==0||(ue=Te.b.e.f,!me(ue,10))?!1:(Q=u(ue,10),Ke=e.i[Q.p],it=Q.c?Ko(Q.c.a,Q,0):-1,a=ps,it>0&&(i=u(It(Q.c.a,it-1),10),h=e.i[i.p],Gt=b.Math.ceil(F3(e.n,i,Q)),a=Ke.a.e-Q.d.d-(h.a.e+i.o.b+i.d.a)-Gt),x=ps,it<Q.c.a.c.length-1&&(v=u(It(Q.c.a,it+1),10),T=e.i[v.p],Gt=b.Math.ceil(F3(e.n,v,Q)),x=T.a.e-v.d.d-(Ke.a.e+Q.o.b+Q.d.a)-Gt),n&&(C1(),kf(Cd),b.Math.abs(a-x)<=Cd||a==x||isNaN(a)&&isNaN(x))?!0:(r=pne(Te.a),d=-pne(Te.b),L=-pne(kt.a),Se=pne(kt.b),K=Te.a.e.e-Te.a.a-(Te.b.e.e-Te.b.a)>0&&kt.a.e.e-kt.a.a-(kt.b.e.e-kt.b.a)<0,q=Te.a.e.e-Te.a.a-(Te.b.e.e-Te.b.a)<0&&kt.a.e.e-kt.a.a-(kt.b.e.e-kt.b.a)>0,z=Te.a.e.e+Te.b.a<kt.b.e.e+kt.a.a,P=Te.a.e.e+Te.b.a>kt.b.e.e+kt.a.a,Ne=0,!K&&!q&&(P?a+L>0?Ne=L:x-r>0&&(Ne=r):z&&(a+d>0?Ne=d:x-Se>0&&(Ne=Se))),Ke.a.e+=Ne,Ke.b&&(Ke.d.e+=Ne),!1))}function jut(e,t,n){var r,i,a,h,d,v,x,T,L,P;if(r=new fh(t.qf().a,t.qf().b,t.rf().a,t.rf().b),i=new k6,e.c)for(h=new C(t.wf());h.a<h.c.c.length;)a=u(Y(h),181),i.c=a.qf().a+t.qf().a,i.d=a.qf().b+t.qf().b,i.b=a.rf().a,i.a=a.rf().b,W_(r,i);for(x=new C(t.Cf());x.a<x.c.c.length;){if(v=u(Y(x),838),T=v.qf().a+t.qf().a,L=v.qf().b+t.qf().b,e.e&&(i.c=T,i.d=L,i.b=v.rf().a,i.a=v.rf().b,W_(r,i)),e.d)for(h=new C(v.wf());h.a<h.c.c.length;)a=u(Y(h),181),i.c=a.qf().a+T,i.d=a.qf().b+L,i.b=a.rf().a,i.a=a.rf().b,W_(r,i);if(e.b){if(P=new Ft(-n,-n),u(t.We((di(),jy)),174).Hc((al(),p2)))for(h=new C(v.wf());h.a<h.c.c.length;)a=u(Y(h),181),P.a+=a.rf().a+n,P.b+=a.rf().b+n;P.a=b.Math.max(P.a,0),P.b=b.Math.max(P.b,0),oct(r,v.Bf(),v.zf(),t,v,P,n)}}e.b&&oct(r,t.Bf(),t.zf(),t,null,null,n),d=new qte(t.Af()),d.d=b.Math.max(0,t.qf().b-r.d),d.a=b.Math.max(0,r.d+r.a-(t.qf().b+t.rf().b)),d.b=b.Math.max(0,t.qf().a-r.c),d.c=b.Math.max(0,r.c+r.b-(t.qf().a+t.rf().a)),t.Ef(d)}function Qvn(){var e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return e[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",e}function Zvn(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(v=new at,L=t.length,h=Fme(n),x=0;x<L;++x){switch(T=R2e(t,Du(61),x),r=Nin(h,t.substr(x,T-x)),i=jre(r),a=i.Aj().Nh(),Ma(t,++T)){case 39:{d=ex(t,39,++T),st(v,new AR(r,Sne(t.substr(T,d-T),a,i))),x=d+1;break}case 34:{d=ex(t,34,++T),st(v,new AR(r,Sne(t.substr(T,d-T),a,i))),x=d+1;break}case 91:{P=new at,st(v,new AR(r,P));e:for(;;){switch(Ma(t,++T)){case 39:{d=ex(t,39,++T),st(P,Sne(t.substr(T,d-T),a,i)),T=d+1;break}case 34:{d=ex(t,34,++T),st(P,Sne(t.substr(T,d-T),a,i)),T=d+1;break}case 110:{if(++T,t.indexOf("ull",T)==T)P.c[P.c.length]=null;else throw ee(new ec(Dft));T+=3;break}}if(T<L)switch(zr(T,t.length),t.charCodeAt(T)){case 44:break;case 93:break e;default:throw ee(new ec("Expecting , or ]"))}else break}x=T+1;break}case 110:{if(++T,t.indexOf("ull",T)==T)st(v,new AR(r,null));else throw ee(new ec(Dft));x=T+3;break}}if(x<L){if(zr(x,t.length),t.charCodeAt(x)!=44)throw ee(new ec("Expecting ,"))}else break}return b0n(e,v,n)}function $ut(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(x=u(u(Oi(e.r,t),21),84),h=Zun(e,t),n=e.u.Hc((al(),PS)),v=x.Kc();v.Ob();)if(d=u(v.Pb(),111),!(!d.c||d.c.d.c.length<=0)){switch(P=d.b.rf(),T=d.c,L=T.i,L.b=(a=T.n,T.e.a+a.b+a.c),L.a=(i=T.n,T.e.b+i.d+i.a),t.g){case 1:d.a?(L.c=(P.a-L.b)/2,Qf(T,(sl(),n2))):h||n?(L.c=-L.b-e.s,Qf(T,(sl(),Cf))):(L.c=P.a+e.s,Qf(T,(sl(),Md))),L.d=-L.a-e.t,dd(T,(Cu(),Sf));break;case 3:d.a?(L.c=(P.a-L.b)/2,Qf(T,(sl(),n2))):h||n?(L.c=-L.b-e.s,Qf(T,(sl(),Cf))):(L.c=P.a+e.s,Qf(T,(sl(),Md))),L.d=P.b+e.t,dd(T,(Cu(),a1));break;case 2:d.a?(r=e.v?L.a:u(It(T.d,0),181).rf().b,L.d=(P.b-r)/2,dd(T,(Cu(),r2))):h||n?(L.d=-L.a-e.t,dd(T,(Cu(),Sf))):(L.d=P.b+e.t,dd(T,(Cu(),a1))),L.c=P.a+e.s,Qf(T,(sl(),Md));break;case 4:d.a?(r=e.v?L.a:u(It(T.d,0),181).rf().b,L.d=(P.b-r)/2,dd(T,(Cu(),r2))):h||n?(L.d=-L.a-e.t,dd(T,(Cu(),Sf))):(L.d=P.b+e.t,dd(T,(Cu(),a1))),L.c=-L.b-e.s,Qf(T,(sl(),Cf))}h=!1}}function Wp(e,t){mi();var n,r,i,a,h,d,v,x,T,L,P,z,q;if(ET(EE)==0){for(L=Ie(wmn,Je,117,z3t.length,0,1),h=0;h<L.length;h++)L[h]=new zl(4);for(r=new yT,a=0;a<DAe.length;a++){if(T=new zl(4),a<84?(d=a*2,z=(zr(d,Rce.length),Rce.charCodeAt(d)),P=(zr(d+1,Rce.length),Rce.charCodeAt(d+1)),Uc(T,z,P)):(d=(a-84)*2,Uc(T,IAe[d],IAe[d+1])),v=DAe[a],on(v,"Specials")&&Uc(T,65520,65533),on(v,pdt)&&(Uc(T,983040,1048573),Uc(T,1048576,1114109)),Io(EE,v,T),Io(WS,v,oy(T)),x=r.a.length,0<x?r.a=r.a.substr(0,0):0>x&&(r.a+=zqe(Ie(Sh,yd,25,-x,15,1))),r.a+="Is",hd(v,Du(32))>=0)for(i=0;i<v.length;i++)zr(i,v.length),v.charCodeAt(i)!=32&&ux(r,(zr(i,v.length),v.charCodeAt(i)));else r.a+=""+v;Oye(r.a,v,!0)}Oye(Fce,"Cn",!1),Oye(nxe,"Cn",!0),n=new zl(4),Uc(n,0,F7),Io(EE,"ALL",n),Io(WS,"ALL",oy(n)),!Ky&&(Ky=new Ar),Io(Ky,Fce,Fce),!Ky&&(Ky=new Ar),Io(Ky,nxe,nxe),!Ky&&(Ky=new Ar),Io(Ky,"ALL","ALL")}return q=u(Gc(t?EE:WS,e),136),q}function Jvn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;if(P=!1,L=!1,P3(u(W(r,(mt(),vs)),98))){h=!1,d=!1;e:for(q=new C(r.j);q.a<q.c.c.length;)for(z=u(Y(q),11),Q=Dp(P1(ie(ne(G1,1),_t,20,0,[new sa(z),new Cr(z)])));Vr(Q);)if(K=u(Nr(Q),11),!Bt(Nt(W(K.i,sS)))){if(z.j==(dt(),Ln)){h=!0;break e}if(z.j==Tr){d=!0;break e}}P=d&&!h,L=h&&!d}if(!P&&!L&&r.b.c.length!=0){for(T=0,x=new C(r.b);x.a<x.c.c.length;)v=u(Y(x),70),T+=v.n.b+v.o.b/2;T/=r.b.c.length,Se=T>=r.o.b/2}else Se=!L;Se?(ue=u(W(r,(nt(),Sk)),15),ue?P?a=ue:(i=u(W(r,xk),15),i?ue.gc()<=i.gc()?a=ue:a=i:(a=new at,Qe(r,xk,a))):(a=new at,Qe(r,Sk,a))):(i=u(W(r,(nt(),xk)),15),i?L?a=i:(ue=u(W(r,Sk),15),ue?i.gc()<=ue.gc()?a=i:a=ue:(a=new at,Qe(r,Sk,a))):(a=new at,Qe(r,xk,a))),a.Fc(e),Qe(e,(nt(),bq),n),t.d==n?(wa(t,null),n.e.c.length+n.g.c.length==0&&nc(n,null),qrn(n)):(Ka(t,null),n.e.c.length+n.g.c.length==0&&nc(n,null)),Ph(t.a)}function ewn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;for(Se=new Ca(e.b,0),T=t.Kc(),q=0,x=u(T.Pb(),19).a,Ke=0,n=new Ys,kt=new C0;Se.b<Se.d.gc();){for(ue=(Qn(Se.b<Se.d.gc()),u(Se.d.Xb(Se.c=Se.b++),29)),Ne=new C(ue.a);Ne.a<Ne.c.c.length;){for(Te=u(Y(Ne),10),z=new ur(dr(Fs(Te).a.Kc(),new V));Vr(z);)L=u(Nr(z),17),kt.a.zc(L,kt);for(P=new ur(dr(Wo(Te).a.Kc(),new V));Vr(P);)L=u(Nr(P),17),kt.a.Bc(L)!=null}if(q+1==x){for(i=new Nh(e),Lm(Se,i),a=new Nh(e),Lm(Se,a),Ut=kt.a.ec().Kc();Ut.Ob();)Gt=u(Ut.Pb(),17),n.a._b(Gt)||(++Ke,n.a.zc(Gt,n)),h=new H0(e),Qe(h,(mt(),vs),(ya(),mE)),Oo(h,i),T0(h,(zn(),V1)),K=new Fc,nc(K,h),qs(K,(dt(),On)),Nn=new Fc,nc(Nn,h),qs(Nn,$n),r=new H0(e),Qe(r,vs,mE),Oo(r,a),T0(r,V1),Q=new Fc,nc(Q,r),qs(Q,On),Rn=new Fc,nc(Rn,r),qs(Rn,$n),it=new Dv,Ka(it,Gt.c),wa(it,K),yi=new Dv,Ka(yi,Nn),wa(yi,Q),Ka(Gt,Rn),d=new lwe(h,r,it,yi,Gt),Qe(h,(nt(),mw),d),Qe(r,mw,d),gr=it.c.i,gr.k==V1&&(v=u(W(gr,mw),305),v.d=d,d.g=v);if(T.Ob())x=u(T.Pb(),19).a;else break}++q}return lt(Ke)}function twn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K;for(L=0,i=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));i.e!=i.i.gc();)r=u(br(i),33),Bt(Nt(jt(r,(mt(),Mb))))||(($e(jt(t,o2))!==$e((F0(),c2))||$e(jt(t,Ly))===$e((lb(),ZC))||$e(jt(t,Ly))===$e((lb(),QC))||Bt(Nt(jt(t,Ay)))||$e(jt(t,Ak))!==$e((Vv(),I4)))&&!Bt(Nt(jt(r,gle)))&&(So(r,(nt(),Oc),lt(L)),++L),mut(e,r,n));for(L=0,x=new ir((!t.b&&(t.b=new ot(ta,t,12,3)),t.b));x.e!=x.i.gc();)d=u(br(x),79),($e(jt(t,(mt(),o2)))!==$e((F0(),c2))||$e(jt(t,Ly))===$e((lb(),ZC))||$e(jt(t,Ly))===$e((lb(),QC))||Bt(Nt(jt(t,Ay)))||$e(jt(t,Ak))!==$e((Vv(),I4)))&&(So(d,(nt(),Oc),lt(L)),++L),q=Jd(d),K=qp(d),T=Bt(Nt(jt(q,Dy))),z=!Bt(Nt(jt(d,Mb))),P=T&&Jv(d)&&Bt(Nt(jt(d,Ab))),a=ls(q)==t&&ls(q)==ls(K),h=(ls(q)==t&&K==t)^(ls(K)==t&&q==t),z&&!P&&(h||a)&&j5e(e,d,t,n);if(ls(t))for(v=new ir(BWe(ls(t)));v.e!=v.i.gc();)d=u(br(v),79),q=Jd(d),q==t&&Jv(d)&&(P=Bt(Nt(jt(q,(mt(),Dy))))&&Bt(Nt(jt(d,Ab))),P&&j5e(e,d,t,n))}function nwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us;for(Er(n,"MinWidth layering",1),z=t.b,kt=t.a,Us=u(W(t,(mt(),lTe)),19).a,d=u(W(t,hTe),19).a,e.b=We(gt(W(t,Af))),e.d=ps,Ne=new C(kt);Ne.a<Ne.c.c.length;)Se=u(Y(Ne),10),Se.k==(zn(),js)&&(Nn=Se.o.b,e.d=b.Math.min(e.d,Nn));for(e.d=b.Math.max(1,e.d),Gt=kt.c.length,e.c=Ie(Sr,Jr,25,Gt,15,1),e.f=Ie(Sr,Jr,25,Gt,15,1),e.e=Ie(va,Ao,25,Gt,15,1),x=0,e.a=0,Ke=new C(kt);Ke.a<Ke.c.c.length;)Se=u(Y(Ke),10),Se.p=x++,e.c[Se.p]=Ptt(Wo(Se)),e.f[Se.p]=Ptt(Fs(Se)),e.e[Se.p]=Se.o.b/e.d,e.a+=e.e[Se.p];for(e.b/=e.d,e.a/=Gt,it=mfn(kt),aa(kt,Pve(new vp(e))),K=ps,q=xi,h=null,yi=Us,gr=Us,a=d,i=d,Us<0&&(yi=u(o_e.a.zd(),19).a,gr=u(o_e.b.zd(),19).a),d<0&&(a=u(a_e.a.zd(),19).a,i=u(a_e.b.zd(),19).a),Rn=yi;Rn<=gr;Rn++)for(r=a;r<=i;r++)Ut=Wpn(e,Rn,r,kt,it),ue=We(gt(Ut.a)),P=u(Ut.b,15),Q=P.gc(),(ue<K||ue==K&&Q<q)&&(K=ue,q=Q,h=P);for(L=h.Kc();L.Ob();){for(T=u(L.Pb(),15),v=new Nh(t),Te=T.Kc();Te.Ob();)Se=u(Te.Pb(),10),Oo(Se,v);z.c[z.c.length]=v}use(z),kt.c=Ie(Xn,_t,1,0,5,1),lr(n)}function rwn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(e.b=t,e.a=u(W(t,(mt(),iTe)),19).a,e.c=u(W(t,aTe),19).a,e.c==0&&(e.c=xi),Q=new Ca(t.b,0);Q.b<Q.d.gc();){for(K=(Qn(Q.b<Q.d.gc()),u(Q.d.Xb(Q.c=Q.b++),29)),d=new at,T=-1,Ne=-1,Te=new C(K.a);Te.a<Te.c.c.length;)Se=u(Y(Te),10),I0((TM(),new ur(dr(j0(Se).a.Kc(),new V))))>=e.a&&(r=jpn(e,Se),T=b.Math.max(T,r.b),Ne=b.Math.max(Ne,r.d),st(d,new _a(Se,r)));for(Gt=new at,x=0;x<T;++x)Dm(Gt,0,(Qn(Q.b>0),Q.a.Xb(Q.c=--Q.b),Ut=new Nh(e.b),Lm(Q,Ut),Qn(Q.b<Q.d.gc()),Q.d.Xb(Q.c=Q.b++),Ut));for(h=new C(d);h.a<h.c.c.length;)if(i=u(Y(h),46),z=u(i.b,571).a,!!z)for(P=new C(z);P.a<P.c.c.length;)L=u(Y(P),10),o3e(e,L,FG,Gt);for(n=new at,v=0;v<Ne;++v)st(n,(Nn=new Nh(e.b),Lm(Q,Nn),Nn));for(a=new C(d);a.a<a.c.c.length;)if(i=u(Y(a),46),kt=u(i.b,571).c,!!kt)for(it=new C(kt);it.a<it.c.c.length;)Ke=u(Y(it),10),o3e(e,Ke,RG,n)}for(ue=new Ca(t.b,0);ue.b<ue.d.gc();)q=(Qn(ue.b<ue.d.gc()),u(ue.d.Xb(ue.c=ue.b++),29)),q.a.c.length==0&&Dl(ue)}function iwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(Er(n,"Spline edge routing",1),t.b.c.length==0){t.f.a=0,lr(n);return}Se=We(gt(W(t,(mt(),q4)))),d=We(gt(W(t,Db))),h=We(gt(W(t,G4))),ue=u(W(t,yle),336),Gt=ue==(qx(),gS),kt=We(gt(W(t,nTe))),e.d=t,e.j.c=Ie(Xn,_t,1,0,5,1),e.a.c=Ie(Xn,_t,1,0,5,1),il(e.k),v=u(It(t.b,0),29),T=MR(v.a,($H(),gO)),q=u(It(t.b,t.b.c.length-1),29),L=MR(q.a,gO),K=new C(t.b),Q=null,gr=0;do{for(Te=K.a<K.c.c.length?u(Y(K),29):null,qvn(e,Q,Te),wpn(e),Ut=CGt(Lnn(Lj(qi(new mn(null,new kn(e.i,16)),new dQ),new fQ))),Rn=0,Ne=gr,P=!Q||T&&Q==v,z=!Te||L&&Te==q,Ut>0?(x=0,Q&&(x+=d),x+=(Ut-1)*h,Te&&(x+=d),Gt&&Te&&(x=b.Math.max(x,Rdn(Te,h,Se,kt))),x<Se&&!P&&!z&&(Rn=(Se-x)/2,x=Se),Ne+=x):!P&&!z&&(Ne+=Se),Te&&T5e(Te,Ne),it=new C(e.i);it.a<it.c.c.length;)Ke=u(Y(it),128),Ke.a.c=gr,Ke.a.b=Ne-gr,Ke.F=Rn,Ke.p=!Q;Ps(e.a,e.i),gr=Ne,Te&&(gr+=Te.c.a),Q=Te,P=z}while(Te);for(i=new C(e.j);i.a<i.c.c.length;)r=u(Y(i),17),a=ern(e,r),Qe(r,(nt(),z4),a),Nn=a0n(e,r),Qe(r,Sb,Nn);t.f.a=gr,e.d=null,lr(n)}function Hut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(K=e.i!=0,Te=!1,ue=null,Sl(e.e)){if(T=t.gc(),T>0){for(P=T<100?null:new kp(T),x=new mme(t),q=x.g,ue=Ie(Sr,Jr,25,T,15,1),r=0,Ne=new Rv(T),i=0;i<e.i;++i){d=e.g[i],z=d;e:for(Se=0;Se<2;++Se){for(v=T;--v>=0;)if(z!=null?Ci(z,q[v]):$e(z)===$e(q[v])){ue.length<=r&&(Q=ue,ue=Ie(Sr,Jr,25,2*ue.length,15,1),Rc(Q,0,ue,0,r)),ue[r++]=i,Pr(Ne,q[v]);break e}if(z=z,$e(z)===$e(d))break}}if(x=Ne,q=Ne.g,T=r,r>ue.length&&(Q=ue,ue=Ie(Sr,Jr,25,r,15,1),Rc(Q,0,ue,0,r)),r>0){for(Te=!0,a=0;a<r;++a)z=q[a],P=vUe(e,u(z,72),P);for(h=r;--h>=0;)X6(e,ue[h]);if(r!=T){for(i=T;--i>=r;)X6(x,i);Q=ue,ue=Ie(Sr,Jr,25,r,15,1),Rc(Q,0,ue,0,r)}t=x}}}else for(t=Bon(e,t),i=e.i;--i>=0;)t.Hc(e.g[i])&&(X6(e,i),Te=!0);if(Te){if(ue!=null){for(n=t.gc(),L=n==1?p_(e,4,t.Kc().Pb(),null,ue[0],K):p_(e,6,t,ue,ue[0],K),P=n<100?null:new kp(n),i=t.Kc();i.Ob();)z=i.Pb(),P=Ebe(e,u(z,72),P);P?(P.Ei(L),P.Fi()):_i(e.e,L)}else{for(P=YUt(t.gc()),i=t.Kc();i.Ob();)z=i.Pb(),P=Ebe(e,u(z,72),P);P&&P.Fi()}return!0}else return!1}function swn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(n=new drt(t),n.a||zgn(t),x=G0n(t),v=new Ov,Q=new oot,K=new C(t.a);K.a<K.c.c.length;)for(q=u(Y(K),10),i=new ur(dr(Fs(q).a.Kc(),new V));Vr(i);)r=u(Nr(i),17),(r.c.i.k==(zn(),Ls)||r.d.i.k==Ls)&&(T=Kbn(e,r,x,Q),an(v,Cie(T.d),T.a));for(h=new at,Te=u(W(n.c,(nt(),_y)),21).Kc();Te.Ob();){switch(Se=u(Te.Pb(),61),z=Q.c[Se.g],P=Q.b[Se.g],d=Q.a[Se.g],a=null,ue=null,Se.g){case 4:a=new fh(e.d.a,z,x.b.a-e.d.a,P-z),ue=new fh(e.d.a,z,d,P-z),Tv(x,new Ft(a.c+a.b,a.d)),Tv(x,new Ft(a.c+a.b,a.d+a.a));break;case 2:a=new fh(x.a.a,z,e.c.a-x.a.a,P-z),ue=new fh(e.c.a-d,z,d,P-z),Tv(x,new Ft(a.c,a.d)),Tv(x,new Ft(a.c,a.d+a.a));break;case 1:a=new fh(z,e.d.b,P-z,x.b.b-e.d.b),ue=new fh(z,e.d.b,P-z,d),Tv(x,new Ft(a.c,a.d+a.a)),Tv(x,new Ft(a.c+a.b,a.d+a.a));break;case 3:a=new fh(z,x.a.b,P-z,e.c.b-x.a.b),ue=new fh(z,e.c.b-d,P-z,d),Tv(x,new Ft(a.c,a.d)),Tv(x,new Ft(a.c+a.b,a.d))}a&&(L=new f$e,L.d=Se,L.b=a,L.c=ue,L.a=Nj(u(Oi(v,Cie(Se)),21)),h.c[h.c.length]=L)}return Ps(n.b,h),n.d=uin(fbn(x)),n}function zut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K;if(n.p[t.p]==null){d=!0,n.p[t.p]=0,h=t,K=n.o==(L1(),Ib)?Ds:ps;do i=e.b.e[h.p],a=h.c.a.c.length,n.o==Ib&&i>0||n.o==K1&&i<a-1?(v=null,x=null,n.o==K1?v=u(It(h.c.a,i+1),10):v=u(It(h.c.a,i-1),10),x=n.g[v.p],zut(e,x,n),K=e.e.bg(K,t,h),n.j[t.p]==t&&(n.j[t.p]=n.j[x.p]),n.j[t.p]==n.j[x.p]?(q=F3(e.d,h,v),n.o==K1?(r=We(n.p[t.p]),L=We(n.p[x.p])+We(n.d[v.p])-v.d.d-q-h.d.a-h.o.b-We(n.d[h.p]),d?(d=!1,n.p[t.p]=b.Math.min(L,K)):n.p[t.p]=b.Math.min(r,b.Math.min(L,K))):(r=We(n.p[t.p]),L=We(n.p[x.p])+We(n.d[v.p])+v.o.b+v.d.a+q+h.d.d-We(n.d[h.p]),d?(d=!1,n.p[t.p]=b.Math.max(L,K)):n.p[t.p]=b.Math.max(r,b.Math.max(L,K)))):(q=We(gt(W(e.a,(mt(),Sw)))),z=fet(e,n.j[t.p]),T=fet(e,n.j[x.p]),n.o==K1?(P=We(n.p[t.p])+We(n.d[h.p])+h.o.b+h.d.a+q-(We(n.p[x.p])+We(n.d[v.p])-v.d.d),YYe(z,T,P)):(P=We(n.p[t.p])+We(n.d[h.p])-h.d.d-We(n.p[x.p])-We(n.d[v.p])-v.o.b-v.d.a-q,YYe(z,T,P)))):K=e.e.bg(K,t,h),h=n.a[h.p];while(h!=t);rGt(e.e,t)}}function awn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;for(Te=t,Se=new Ov,Ne=new Ov,T=Bv(Te,A8e),r=new jWe(e,n,Se,Ne),qln(r.a,r.b,r.c,r.d,T),v=(kt=Se.i,kt||(Se.i=new j3(Se,Se.c))),Ut=v.Kc();Ut.Ob();)for(Gt=u(Ut.Pb(),202),i=u(Oi(Se,Gt),21),K=i.Kc();K.Ob();)if(q=K.Pb(),Ke=u(U3(e.d,q),202),Ke)d=(!Gt.e&&(Gt.e=new yn(os,Gt,10,9)),Gt.e),Pr(d,Ke);else throw h=D0(Te,Ad),P=$ft+q+Hft+h,z=P+P7,ee(new ud(z));for(x=(it=Ne.i,it||(Ne.i=new j3(Ne,Ne.c))),Rn=x.Kc();Rn.Ob();)for(Nn=u(Rn.Pb(),202),a=u(Oi(Ne,Nn),21),ue=a.Kc();ue.Ob();)if(Q=ue.Pb(),Ke=u(U3(e.d,Q),202),Ke)L=(!Nn.g&&(Nn.g=new yn(os,Nn,9,10)),Nn.g),Pr(L,Ke);else throw h=D0(Te,Ad),P=$ft+Q+Hft+h,z=P+P7,ee(new ud(z));!n.b&&(n.b=new yn(kr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new yn(kr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new yn(kr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new yn(kr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new ot(os,n,6,6)),n.a).i==1&&(gr=u(_e((!n.a&&(n.a=new ot(os,n,6,6)),n.a),0),202),!Die(gr)&&!Iie(gr)&&(S$(gr,u(_e((!n.b&&(n.b=new yn(kr,n,4,7)),n.b),0),82)),A$(gr,u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82))))}function own(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Te=e.a,Ne=0,Ke=Te.length;Ne<Ke;++Ne){for(Se=Te[Ne],x=xi,T=xi,q=new C(Se.e);q.a<q.c.c.length;)P=u(Y(q),10),h=P.c?Ko(P.c.a,P,0):-1,h>0?(L=u(It(P.c.a,h-1),10),Gt=F3(e.b,P,L),Q=P.n.b-P.d.d-(L.n.b+L.o.b+L.d.a+Gt)):Q=P.n.b-P.d.d,x=b.Math.min(Q,x),h<P.c.a.c.length-1?(L=u(It(P.c.a,h+1),10),Gt=F3(e.b,P,L),ue=L.n.b-L.d.d-(P.n.b+P.o.b+P.d.a+Gt)):ue=2*P.n.b,T=b.Math.min(ue,T);for(v=xi,a=!1,i=u(It(Se.e,0),10),Nn=new C(i.j);Nn.a<Nn.c.c.length;)for(Ut=u(Y(Nn),11),K=i.n.b+Ut.n.b+Ut.a.b,r=new C(Ut.e);r.a<r.c.c.length;)n=u(Y(r),17),it=n.c,t=it.i.n.b+it.n.b+it.a.b-K,b.Math.abs(t)<b.Math.abs(v)&&b.Math.abs(t)<(t<0?x:T)&&(v=t,a=!0);for(d=u(It(Se.e,Se.e.c.length-1),10),kt=new C(d.j);kt.a<kt.c.c.length;)for(it=u(Y(kt),11),K=d.n.b+it.n.b+it.a.b,r=new C(it.g);r.a<r.c.c.length;)n=u(Y(r),17),Ut=n.d,t=Ut.i.n.b+Ut.n.b+Ut.a.b-K,b.Math.abs(t)<b.Math.abs(v)&&b.Math.abs(t)<(t<0?x:T)&&(v=t,a=!0);if(a&&v!=0)for(z=new C(Se.e);z.a<z.c.c.length;)P=u(Y(z),10),P.n.b+=v}}function Gut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(Ml(e.a,t)){if(_0(u(Jn(e.a,t),53),n))return 1}else Si(e.a,t,new Ys);if(Ml(e.a,n)){if(_0(u(Jn(e.a,n),53),t))return-1}else Si(e.a,n,new Ys);if(Ml(e.e,t)){if(_0(u(Jn(e.e,t),53),n))return-1}else Si(e.e,t,new Ys);if(Ml(e.e,n)){if(_0(u(Jn(e.a,n),53),t))return 1}else Si(e.e,n,new Ys);if(e.c==(F0(),Rle)||!Js(t,(nt(),Oc))||!Js(n,(nt(),Oc))){if(v=u(j2e(eQe(Vre(qi(new mn(null,new kn(t.j,16)),new hL)),new aB)),11),T=u(j2e(eQe(Vre(qi(new mn(null,new kn(n.j,16)),new vX)),new wX)),11),v&&T){if(d=v.i,x=T.i,d&&d==x){for(P=new C(d.j);P.a<P.c.c.length;){if(L=u(Y(P),11),L==v)return h7(e,n,t),-1;if(L==T)return h7(e,t,n),1}return ku(Xie(e,t),Xie(e,n))}for(q=e.d,K=0,Q=q.length;K<Q;++K){if(z=q[K],z==d)return h7(e,n,t),-1;if(z==x)return h7(e,t,n),1}}if(!Js(t,(nt(),Oc))||!Js(n,Oc))return i=Xie(e,t),h=Xie(e,n),i>h?h7(e,t,n):h7(e,n,t),i<h?-1:i>h?1:0}return r=u(W(t,(nt(),Oc)),19).a,a=u(W(n,Oc),19).a,r>a?h7(e,t,n):h7(e,n,t),r<a?-1:r>a?1:0}function B5e(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;if(Bt(Nt(jt(t,(di(),pV)))))return fn(),fn(),bo;if(x=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i!=0,L=Khn(t),T=!L.dc(),x||T){if(i=u(jt(t,pE),149),!i)throw ee(new A3("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Se=s2e(i,(o7(),AV)),Wnt(t),!x&&T&&!Se)return fn(),fn(),bo;if(v=new at,$e(jt(t,Y4))===$e((R0(),qg))&&(s2e(i,CV)||s2e(i,_V)))for(z=Mot(e,t),q=new as,ro(q,(!t.a&&(t.a=new ot(fs,t,10,11)),t.a));q.b!=0;)P=u(q.b==0?null:(Qn(q.b!=0),bh(q,q.a.a)),33),Wnt(P),ue=$e(jt(P,Y4))===$e(IS),ue||X2(P,AS)&&!mwe(i,jt(P,pE))?(d=B5e(e,P,n,r),Ps(v,d),So(P,Y4,IS),Kot(P)):ro(q,(!P.a&&(P.a=new ot(fs,P,10,11)),P.a));else for(z=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i,h=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));h.e!=h.i.gc();)a=u(br(h),33),d=B5e(e,a,n,r),Ps(v,d),Kot(a);for(Q=new C(v);Q.a<Q.c.c.length;)K=u(Y(Q),79),So(K,pV,(In(),!0));return xan(t,i,Vc(r,z)),Hgn(v),T&&Se?L:(fn(),fn(),bo)}else return fn(),fn(),bo}function iI(e,t,n,r,i,a,h,d,v){var x,T,L,P,z,q,K;switch(z=n,T=new H0(v),T0(T,(zn(),Ls)),Qe(T,(nt(),u9e),h),Qe(T,(mt(),vs),(ya(),Zc)),K=We(gt(e.We(Iy))),Qe(T,Iy,K),L=new Fc,nc(L,T),t!=Y1&&t!=g2||(r>=0?z=U6(d):z=ED(U6(d)),e.Ye(oE,z)),x=new $a,P=!1,e.Xe(_w)?(W2e(x,u(e.We(_w),8)),P=!0):NVt(x,h.a/2,h.b/2),z.g){case 4:Qe(T,du,(mh(),a2)),Qe(T,wq,(nb(),B4)),T.o.b=h.b,K<0&&(T.o.a=-K),qs(L,(dt(),$n)),P||(x.a=h.a),x.a-=h.a;break;case 2:Qe(T,du,(mh(),Sy)),Qe(T,wq,(nb(),J7)),T.o.b=h.b,K<0&&(T.o.a=-K),qs(L,(dt(),On)),P||(x.a=0);break;case 1:Qe(T,Cb,(P0(),R4)),T.o.a=h.a,K<0&&(T.o.b=-K),qs(L,(dt(),Tr)),P||(x.b=h.b),x.b-=h.b;break;case 3:Qe(T,Cb,(P0(),kk)),T.o.a=h.a,K<0&&(T.o.b=-K),qs(L,(dt(),Ln)),P||(x.b=0)}if(W2e(L.n,x),Qe(T,_w,x),t==Fb||t==f0||t==Zc){if(q=0,t==Fb&&e.Xe(jg))switch(z.g){case 1:case 2:q=u(e.We(jg),19).a;break;case 3:case 4:q=-u(e.We(jg),19).a}else switch(z.g){case 4:case 2:q=a.b,t==f0&&(q/=i.b);break;case 1:case 3:q=a.a,t==f0&&(q/=i.a)}Qe(T,xw,q)}return Qe(T,vc,z),T}function cwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;if(n=We(gt(W(e.a.j,(mt(),X9e)))),n<-1||!e.a.i||_6(u(W(e.a.o,vs),98))||sc(e.a.o,(dt(),$n)).gc()<2&&sc(e.a.o,On).gc()<2)return!0;if(e.a.c.Rf())return!1;for(Ke=0,Ne=0,Te=new at,v=e.a.e,x=0,T=v.length;x<T;++x){for(d=v[x],P=d,z=0,K=P.length;z<K;++z){if(L=P[z],L.k==(zn(),Xc)){Te.c[Te.c.length]=L;continue}for(r=e.b[L.c.p][L.p],L.k==Ls?(r.b=1,u(W(L,(nt(),Mi)),11).j==(dt(),$n)&&(Ne+=r.a)):(Ut=sc(L,(dt(),On)),Ut.dc()||!_te(Ut,new OX)?r.c=1:(i=sc(L,$n),(i.dc()||!_te(i,new IX))&&(Ke+=r.a))),h=new ur(dr(Fs(L).a.Kc(),new V));Vr(h);)a=u(Nr(h),17),Ke+=r.c,Ne+=r.b,Gt=a.d.i,Bwe(e,r,Gt);for(ue=P1(ie(ne(G1,1),_t,20,0,[sc(L,(dt(),Ln)),sc(L,Tr)])),kt=new ur(new M2e(ue.a.length,ue.a));Vr(kt);)it=u(Nr(kt),11),Se=u(W(it,(nt(),ol)),10),Se&&(Ke+=r.c,Ne+=r.b,Bwe(e,r,Se))}for(q=new C(Te);q.a<q.c.c.length;)for(L=u(Y(q),10),r=e.b[L.c.p][L.p],h=new ur(dr(Fs(L).a.Kc(),new V));Vr(h);)a=u(Nr(h),17),Ke+=r.c,Ne+=r.b,Gt=a.d.i,Bwe(e,r,Gt);Te.c=Ie(Xn,_t,1,0,5,1)}return t=Ke+Ne,Q=t==0?ps:(Ke-Ne)/t,Q>=n}function uwn(){wpe();function e(r){var i=this;this.dispatch=function(a){var h=a.data;switch(h.cmd){case"algorithms":var d=Cye((fn(),new E(new x1(w2.b))));r.postMessage({id:h.id,data:d});break;case"categories":var v=Cye((fn(),new E(new x1(w2.c))));r.postMessage({id:h.id,data:v});break;case"options":var x=Cye((fn(),new E(new x1(w2.d))));r.postMessage({id:h.id,data:x});break;case"register":bbn(h.algorithms),r.postMessage({id:h.id});break;case"layout":Xpn(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(a){try{i.dispatch(a)}catch(h){r.postMessage({id:a.data.id,error:h})}}}function t(r){var i=this;this.dispatcher=new e({postMessage:function(a){i.onmessage({data:a})}}),this.postMessage=function(a){setTimeout(function(){i.dispatcher.saveDispatch({data:a})},0)}}if(typeof document===Hae&&typeof self!==Hae){var n=new e(self);self.onmessage=n.saveDispatch}else typeof p!==Hae&&p.exports&&(Object.defineProperty(w,"__esModule",{value:!0}),p.exports={default:t,Worker:t})}function lwn(e){e.N||(e.N=!0,e.b=gc(e,0),hs(e.b,0),hs(e.b,1),hs(e.b,2),e.bb=gc(e,1),hs(e.bb,0),hs(e.bb,1),e.fb=gc(e,2),hs(e.fb,3),hs(e.fb,4),Hi(e.fb,5),e.qb=gc(e,3),hs(e.qb,0),Hi(e.qb,1),Hi(e.qb,2),hs(e.qb,3),hs(e.qb,4),Hi(e.qb,5),hs(e.qb,6),e.a=hi(e,4),e.c=hi(e,5),e.d=hi(e,6),e.e=hi(e,7),e.f=hi(e,8),e.g=hi(e,9),e.i=hi(e,10),e.j=hi(e,11),e.k=hi(e,12),e.n=hi(e,13),e.o=hi(e,14),e.p=hi(e,15),e.q=hi(e,16),e.s=hi(e,17),e.r=hi(e,18),e.t=hi(e,19),e.u=hi(e,20),e.v=hi(e,21),e.w=hi(e,22),e.B=hi(e,23),e.A=hi(e,24),e.C=hi(e,25),e.D=hi(e,26),e.F=hi(e,27),e.G=hi(e,28),e.H=hi(e,29),e.J=hi(e,30),e.I=hi(e,31),e.K=hi(e,32),e.M=hi(e,33),e.L=hi(e,34),e.P=hi(e,35),e.Q=hi(e,36),e.R=hi(e,37),e.S=hi(e,38),e.T=hi(e,39),e.U=hi(e,40),e.V=hi(e,41),e.X=hi(e,42),e.W=hi(e,43),e.Y=hi(e,44),e.Z=hi(e,45),e.$=hi(e,46),e._=hi(e,47),e.ab=hi(e,48),e.cb=hi(e,49),e.db=hi(e,50),e.eb=hi(e,51),e.gb=hi(e,52),e.hb=hi(e,53),e.ib=hi(e,54),e.jb=hi(e,55),e.kb=hi(e,56),e.lb=hi(e,57),e.mb=hi(e,58),e.nb=hi(e,59),e.ob=hi(e,60),e.pb=hi(e,61))}function hwn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(Se=0,t.f.a==0)for(Q=new C(e);Q.a<Q.c.c.length;)q=u(Y(Q),10),Se=b.Math.max(Se,q.n.a+q.o.a+q.d.c);else Se=t.f.a-t.c.a;for(Se-=t.c.a,K=new C(e);K.a<K.c.c.length;){switch(q=u(Y(K),10),hT(q.n,Se-q.o.a),Hbe(q.f),Nrt(q),(q.q?q.q:(fn(),fn(),o0))._b((mt(),Ny))&&hT(u(W(q,Ny),8),Se-q.o.a),u(W(q,Id),248).g){case 1:Qe(q,Id,(Zd(),kO));break;case 2:Qe(q,Id,(Zd(),yO))}for(ue=q.o,Ne=new C(q.j);Ne.a<Ne.c.c.length;){for(Te=u(Y(Ne),11),hT(Te.n,ue.a-Te.o.a),hT(Te.a,Te.o.a),qs(Te,Aet(Te.j)),h=u(W(Te,jg),19),h&&Qe(Te,jg,lt(-h.a)),a=new C(Te.g);a.a<a.c.c.length;){for(i=u(Y(a),17),r=si(i.a,0);r.b!=r.d.c;)n=u(ii(r),8),n.a=Se-n.a;if(x=u(W(i,Fo),74),x)for(v=si(x,0);v.b!=v.d.c;)d=u(ii(v),8),d.a=Se-d.a;for(P=new C(i.b);P.a<P.c.c.length;)T=u(Y(P),70),hT(T.n,Se-T.o.a)}for(z=new C(Te.f);z.a<z.c.c.length;)T=u(Y(z),70),hT(T.n,Te.o.a-T.o.a)}for(q.k==(zn(),Ls)&&(Qe(q,(nt(),vc),Aet(u(W(q,vc),61))),vln(q)),L=new C(q.b);L.a<L.c.c.length;)T=u(Y(L),70),Nrt(T),hT(T.n,ue.a-T.o.a)}}function fwn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(Se=0,t.f.b==0)for(Q=new C(e);Q.a<Q.c.c.length;)q=u(Y(Q),10),Se=b.Math.max(Se,q.n.b+q.o.b+q.d.a);else Se=t.f.b-t.c.b;for(Se-=t.c.b,K=new C(e);K.a<K.c.c.length;){switch(q=u(Y(K),10),lT(q.n,Se-q.o.b),zbe(q.f),Prt(q),(q.q?q.q:(fn(),fn(),o0))._b((mt(),Ny))&&lT(u(W(q,Ny),8),Se-q.o.b),u(W(q,Id),248).g){case 3:Qe(q,Id,(Zd(),uV));break;case 4:Qe(q,Id,(Zd(),hV))}for(ue=q.o,Ne=new C(q.j);Ne.a<Ne.c.c.length;){for(Te=u(Y(Ne),11),lT(Te.n,ue.b-Te.o.b),lT(Te.a,Te.o.b),qs(Te,Let(Te.j)),h=u(W(Te,jg),19),h&&Qe(Te,jg,lt(-h.a)),a=new C(Te.g);a.a<a.c.c.length;){for(i=u(Y(a),17),r=si(i.a,0);r.b!=r.d.c;)n=u(ii(r),8),n.b=Se-n.b;if(x=u(W(i,Fo),74),x)for(v=si(x,0);v.b!=v.d.c;)d=u(ii(v),8),d.b=Se-d.b;for(P=new C(i.b);P.a<P.c.c.length;)T=u(Y(P),70),lT(T.n,Se-T.o.b)}for(z=new C(Te.f);z.a<z.c.c.length;)T=u(Y(z),70),lT(T.n,Te.o.b-T.o.b)}for(q.k==(zn(),Ls)&&(Qe(q,(nt(),vc),Let(u(W(q,vc),61))),jin(q)),L=new C(q.b);L.a<L.c.c.length;)T=u(Y(L),70),Prt(T),lT(T.n,ue.b-T.o.b)}}function dwn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z;for(L=!1,x=e+1,T=(En(e,t.c.length),u(t.c[e],200)),h=T.a,d=null,a=0;a<T.a.c.length;a++)if(i=(En(a,h.c.length),u(h.c[a],187)),!i.c){if(i.b.c.length==0){Gd(),ND(T,i),--a,L=!0;continue}if(i.k||(d&&yH(d),d=new Kve(d?d.e+d.d+r:0,T.f,r),LD(i,d.e+d.d,T.f),st(T.d,d),yme(d,i),i.k=!0),v=null,v=(z=null,a<T.a.c.length-1?z=u(It(T.a,a+1),187):x<t.c.length&&(En(x,t.c.length),u(t.c[x],200)).a.c.length!=0&&(z=u(It((En(x,t.c.length),u(t.c[x],200)).a,0),187)),z),P=!1,v&&(P=!Ci(v.j,T)),v){if(v.b.c.length==0){ND(T,v);break}else KM(i,n-i.s),yH(i.q),L=L|wln(T,i,v,n,r);if(v.b.c.length==0)for(ND((En(x,t.c.length),u(t.c[x],200)),v),v=null;t.c.length>x&&(En(x,t.c.length),u(t.c[x],200)).a.c.length==0;)_u(t,(En(x,t.c.length),t.c[x]));if(!v){--a;continue}if(Qgn(t,T,i,v,P,n,x,r)){L=!0;continue}if(P){if(i2n(t,T,i,v,n,x,r)){L=!0;continue}else if(Jme(T,i)){i.c=!0,L=!0;continue}}else if(Jme(T,i)){i.c=!0,L=!0;continue}if(L)continue}if(Jme(T,i)){i.c=!0,L=!0,v&&(v.k=!1);continue}else yH(i.q)}return L}function nae(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us;for(K=0,Nn=0,x=new C(e.b);x.a<x.c.c.length;)v=u(Y(x),157),v.c&&wut(v.c),K=b.Math.max(K,qu(v)),Nn+=qu(v)*Ll(v);for(Q=Nn/e.b.c.length,Ut=Lcn(e.b,Q),Nn+=e.b.c.length*Ut,K=b.Math.max(K,b.Math.sqrt(Nn*h))+n.b,yi=n.b,Us=n.d,z=0,L=n.b+n.c,Gt=new as,oi(Gt,lt(0)),it=new as,T=new Ca(e.b,0),q=null,d=new at;T.b<T.d.gc();)v=(Qn(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),157)),gr=qu(v),P=Ll(v),yi+gr>K&&(a&&(H2(it,z),H2(Gt,lt(T.b-1)),st(e.d,q),d.c=Ie(Xn,_t,1,0,5,1)),yi=n.b,Us+=z+t,z=0,L=b.Math.max(L,n.b+n.c+gr)),d.c[d.c.length]=v,art(v,yi,Us),L=b.Math.max(L,yi+gr+n.c),z=b.Math.max(z,P),yi+=gr+t,q=v;if(Ps(e.a,d),st(e.d,u(It(d,d.c.length-1),157)),L=b.Math.max(L,r),Rn=Us+z+n.a,Rn<i&&(z+=i-Rn,Rn=i),a)for(yi=n.b,T=new Ca(e.b,0),H2(Gt,lt(e.b.c.length)),kt=si(Gt,0),Se=u(ii(kt),19).a,H2(it,z),Ke=si(it,0),Ne=0;T.b<T.d.gc();)T.b==Se&&(yi=n.b,Ne=We(gt(ii(Ke))),Se=u(ii(kt),19).a),v=(Qn(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),157)),$nt(v,Ne),T.b==Se&&(ue=L-yi-n.c,Te=qu(v),jnt(v,ue),unt(v,(ue-Te)/2,0)),yi+=qu(v)+t;return new Ft(L,Rn)}function gwn(e){var t,n,r,i,a;switch(t=e.c,a=null,t){case 6:return e.Vl();case 13:return e.Wl();case 23:return e.Nl();case 22:return e.Sl();case 18:return e.Pl();case 8:wi(e),a=(mi(),OAe);break;case 9:return e.vl(!0);case 19:return e.wl();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return a=e.ul(e.a),wi(e),a;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=e.tl(),n<ao?a=(mi(),mi(),new Ud(0,n)):a=NKe(pye(n));break;case 99:return e.Fl();case 67:return e.Al();case 105:return e.Il();case 73:return e.Bl();case 103:return e.Gl();case 88:return e.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.xl();case 80:case 112:if(a=g4e(e,e.a),!a)throw ee(new $r(Ur((jr(),Ece))));break;default:a=JUe(e.a)}wi(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw ee(new $r(Ur((jr(),F8e))));a=JUe(e.a),r=e.a,wi(e),(r&64512)==dI&&e.c==0&&(e.a&64512)==56320&&(i=Ie(Sh,yd,25,2,15,1),i[0]=r&Ss,i[1]=e.a&Ss,a=lne(NKe(Fh(i,0,i.length)),0),wi(e));break;default:throw ee(new $r(Ur((jr(),F8e))))}return a}function pwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;if(r=new at,i=xi,a=xi,h=xi,n)for(i=e.f.a,K=new C(t.j);K.a<K.c.c.length;)for(q=u(Y(K),11),v=new C(q.g);v.a<v.c.c.length;)d=u(Y(v),17),d.a.b!=0&&(T=u(Ite(d.a),8),T.a<i&&(a=i-T.a,h=xi,r.c=Ie(Xn,_t,1,0,5,1),i=T.a),T.a<=i&&(r.c[r.c.length]=d,d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,1),8).b-T.b)))));else for(K=new C(t.j);K.a<K.c.c.length;)for(q=u(Y(K),11),v=new C(q.e);v.a<v.c.c.length;)d=u(Y(v),17),d.a.b!=0&&(P=u(UR(d.a),8),P.a>i&&(a=P.a-i,h=xi,r.c=Ie(Xn,_t,1,0,5,1),i=P.a),P.a>=i&&(r.c[r.c.length]=d,d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,d.a.b-2),8).b-P.b)))));if(r.c.length!=0&&a>t.o.a/2&&h>t.o.b/2){for(z=new Fc,nc(z,t),qs(z,(dt(),Ln)),z.n.a=t.o.a/2,ue=new Fc,nc(ue,t),qs(ue,Tr),ue.n.a=t.o.a/2,ue.n.b=t.o.b,v=new C(r);v.a<v.c.c.length;)d=u(Y(v),17),n?(x=u(Wte(d.a),8),Q=d.a.b==0?M1(d.d):u(Ite(d.a),8),Q.b>=x.b?Ka(d,ue):Ka(d,z)):(x=u(oYt(d.a),8),Q=d.a.b==0?M1(d.c):u(UR(d.a),8),Q.b>=x.b?wa(d,ue):wa(d,z)),L=u(W(d,(mt(),Fo)),74),L&&Wm(L,x,!0);t.n.a=i-t.o.a/2}}function bwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf;if(Nn=null,gr=t,Rn=VXe(e,HXe(n),gr),__(Rn,D0(gr,Ad)),yi=u(U3(e.g,Z6(M0(gr,hce))),33),P=M0(gr,"sourcePort"),r=null,P&&(r=Z6(P)),Us=u(U3(e.j,r),118),!yi)throw d=Qx(gr),q="An edge must have a source node (edge id: '"+d,K=q+P7,ee(new ud(K));if(Us&&!pd(A1(Us),yi))throw v=D0(gr,Ad),Q="The source port of an edge must be a port of the edge's source node (edge id: '"+v,ue=Q+P7,ee(new ud(ue));if(Gt=(!Rn.b&&(Rn.b=new yn(kr,Rn,4,7)),Rn.b),a=null,Us?a=Us:a=yi,Pr(Gt,a),ih=u(U3(e.g,Z6(M0(gr,P8e))),33),z=M0(gr,"targetPort"),i=null,z&&(i=Z6(z)),rf=u(U3(e.j,i),118),!ih)throw L=Qx(gr),Se="An edge must have a target node (edge id: '"+L,Te=Se+P7,ee(new ud(Te));if(rf&&!pd(A1(rf),ih))throw x=D0(gr,Ad),Ne="The target port of an edge must be a port of the edge's target node (edge id: '"+x,Ke=Ne+P7,ee(new ud(Ke));if(Ut=(!Rn.c&&(Rn.c=new yn(kr,Rn,5,8)),Rn.c),h=null,rf?h=rf:h=ih,Pr(Ut,h),(!Rn.b&&(Rn.b=new yn(kr,Rn,4,7)),Rn.b).i==0||(!Rn.c&&(Rn.c=new yn(kr,Rn,5,8)),Rn.c).i==0)throw T=D0(gr,Ad),it=jft+T,kt=it+P7,ee(new ud(kt));return AH(gr,Rn),a1n(gr,Rn),Nn=qre(e,gr,Rn),Nn}function qut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;return L=mpn(xu(e,(dt(),X1)),t),q=r4(xu(e,Nf),t),Ne=r4(xu(e,th),t),Gt=kH(xu(e,Qh),t),P=kH(xu(e,_h),t),Se=r4(xu(e,Pf),t),K=r4(xu(e,ul),t),it=r4(xu(e,nh),t),Ke=r4(xu(e,Ch),t),Ut=kH(xu(e,gu),t),ue=r4(xu(e,Nu),t),Te=r4(xu(e,ll),t),kt=r4(xu(e,Ou),t),Nn=kH(xu(e,Pu),t),z=kH(xu(e,Xu),t),Q=r4(xu(e,Jc),t),n=Y3(ie(ne(va,1),Ao,25,15,[Se.a,Gt.a,it.a,Nn.a])),r=Y3(ie(ne(va,1),Ao,25,15,[q.a,L.a,Ne.a,Q.a])),i=ue.a,a=Y3(ie(ne(va,1),Ao,25,15,[K.a,P.a,Ke.a,z.a])),x=Y3(ie(ne(va,1),Ao,25,15,[Se.b,q.b,K.b,Te.b])),v=Y3(ie(ne(va,1),Ao,25,15,[Gt.b,L.b,P.b,Q.b])),T=Ut.b,d=Y3(ie(ne(va,1),Ao,25,15,[it.b,Ne.b,Ke.b,kt.b])),xg(xu(e,X1),n+i,x+T),xg(xu(e,Jc),n+i,x+T),xg(xu(e,Nf),n+i,0),xg(xu(e,th),n+i,x+T+v),xg(xu(e,Qh),0,x+T),xg(xu(e,_h),n+i+r,x+T),xg(xu(e,ul),n+i+r,0),xg(xu(e,nh),0,x+T+v),xg(xu(e,Ch),n+i+r,x+T+v),xg(xu(e,gu),0,x),xg(xu(e,Nu),n,0),xg(xu(e,Ou),0,x+T+v),xg(xu(e,Xu),n+i+r,0),h=new $a,h.a=Y3(ie(ne(va,1),Ao,25,15,[n+r+i+a,Ut.a,Te.a,kt.a])),h.b=Y3(ie(ne(va,1),Ao,25,15,[x+v+T+d,ue.b,Nn.b,z.b])),h}function vwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(K=new at,P=new C(e.d.b);P.a<P.c.c.length;)for(L=u(Y(P),29),q=new C(L.a);q.a<q.c.c.length;){for(z=u(Y(q),10),i=u(Jn(e.f,z),57),v=new ur(dr(Fs(z).a.Kc(),new V));Vr(v);)if(h=u(Nr(v),17),r=si(h.a,0),x=!0,T=null,r.b!=r.d.c){for(t=u(ii(r),8),n=null,h.c.j==(dt(),Ln)&&(Q=new iC(t,new Ft(t.a,i.d.d),i,h),Q.f.a=!0,Q.a=h.c,K.c[K.c.length]=Q),h.c.j==Tr&&(Q=new iC(t,new Ft(t.a,i.d.d+i.d.a),i,h),Q.f.d=!0,Q.a=h.c,K.c[K.c.length]=Q);r.b!=r.d.c;)n=u(ii(r),8),Qwe(t.b,n.b)||(T=new iC(t,n,null,h),K.c[K.c.length]=T,x&&(x=!1,n.b<i.d.d?T.f.a=!0:n.b>i.d.d+i.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))),r.b!=r.d.c&&(t=n);T&&(a=u(Jn(e.f,h.d.i),57),t.b<a.d.d?T.f.a=!0:t.b>a.d.d+a.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))}for(d=new ur(dr(Wo(z).a.Kc(),new V));Vr(d);)h=u(Nr(d),17),h.a.b!=0&&(t=u(UR(h.a),8),h.d.j==(dt(),Ln)&&(Q=new iC(t,new Ft(t.a,i.d.d),i,h),Q.f.a=!0,Q.a=h.d,K.c[K.c.length]=Q),h.d.j==Tr&&(Q=new iC(t,new Ft(t.a,i.d.d+i.d.a),i,h),Q.f.d=!0,Q.a=h.d,K.c[K.c.length]=Q))}return K}function wwn(e,t,n){var r,i,a,h,d,v,x,T,L;if(Er(n,"Network simplex node placement",1),e.e=t,e.n=u(W(t,(nt(),H4)),304),P2n(e),pun(e),ms(rc(new mn(null,new kn(e.e.b,16)),new $X),new PRe(e)),ms(qi(rc(qi(rc(new mn(null,new kn(e.e.b,16)),new S9),new XX),new QX),new ZX),new NRe(e)),Bt(Nt(W(e.e,(mt(),oS))))&&(h=Vc(n,1),Er(h,"Straight Edges Pre-Processing",1),evn(e),lr(h)),Xan(e.f),a=u(W(t,lS),19).a*e.f.a.c.length,Nse(hpe(fpe(Vte(e.f),a),!1),Vc(n,1)),e.d.a.gc()!=0){for(h=Vc(n,1),Er(h,"Flexible Where Space Processing",1),d=u(Ev(wj(Eu(new mn(null,new kn(e.f.a,16)),new HX),new NX)),19).a,v=u(Ev(vj(Eu(new mn(null,new kn(e.f.a,16)),new zX),new PX)),19).a,x=v-d,T=xv(new j2,e.f),L=xv(new j2,e.f),Tf(gf(df(ff(pf(new Ih,2e4),x),T),L)),ms(qi(qi(fne(e.i),new GX),new qX),new IWe(d,T,x,L)),i=e.d.a.ec().Kc();i.Ob();)r=u(i.Pb(),213),r.g=1;Nse(hpe(fpe(Vte(e.f),a),!1),Vc(h,1)),lr(h)}Bt(Nt(W(t,oS)))&&(h=Vc(n,1),Er(h,"Straight Edges Post-Processing",1),shn(e),lr(h)),Rbn(e),e.e=null,e.f=null,e.i=null,e.c=null,il(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),lr(n)}function mwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(d=new C(e.a.b);d.a<d.c.c.length;)for(a=u(Y(d),29),Te=new C(a.a);Te.a<Te.c.c.length;)Se=u(Y(Te),10),t.g[Se.p]=Se,t.a[Se.p]=Se,t.d[Se.p]=0;for(v=e.a.b,t.c==(bd(),$g)&&(v=me(v,152)?R6(u(v,152)):me(v,131)?u(v,131).a:me(v,54)?new uv(v):new km(v)),h=v.Kc();h.Ob();)for(a=u(h.Pb(),29),z=-1,P=a.a,t.o==(L1(),K1)&&(z=xi,P=me(P,152)?R6(u(P,152)):me(P,131)?u(P,131).a:me(P,54)?new uv(P):new km(P)),Ke=P.Kc();Ke.Ob();)if(Ne=u(Ke.Pb(),10),L=null,t.c==$g?L=u(It(e.b.f,Ne.p),15):L=u(It(e.b.b,Ne.p),15),L.gc()>0)if(r=L.gc(),x=_s(b.Math.floor((r+1)/2))-1,i=_s(b.Math.ceil((r+1)/2))-1,t.o==K1)for(T=i;T>=x;T--)t.a[Ne.p]==Ne&&(K=u(L.Xb(T),46),q=u(K.a,10),!_0(n,K.b)&&z>e.b.e[q.p]&&(t.a[q.p]=Ne,t.g[Ne.p]=t.g[q.p],t.a[Ne.p]=t.g[Ne.p],t.f[t.g[Ne.p].p]=(In(),!!(Bt(t.f[t.g[Ne.p].p])&Ne.k==(zn(),ca))),z=e.b.e[q.p]));else for(T=x;T<=i;T++)t.a[Ne.p]==Ne&&(ue=u(L.Xb(T),46),Q=u(ue.a,10),!_0(n,ue.b)&&z<e.b.e[Q.p]&&(t.a[Q.p]=Ne,t.g[Ne.p]=t.g[Q.p],t.a[Ne.p]=t.g[Ne.p],t.f[t.g[Ne.p].p]=(In(),!!(Bt(t.f[t.g[Ne.p].p])&Ne.k==(zn(),ca))),z=e.b.e[Q.p]))}function iu(){iu=de,EHe(),Vyt=la.a,u(_e(qe(la.a),0),18),Gyt=la.f,u(_e(qe(la.f),0),18),u(_e(qe(la.f),1),34),qyt=la.n,u(_e(qe(la.n),0),34),u(_e(qe(la.n),1),34),u(_e(qe(la.n),2),34),u(_e(qe(la.n),3),34),XSe=la.g,u(_e(qe(la.g),0),18),u(_e(qe(la.g),1),34),zyt=la.c,u(_e(qe(la.c),0),18),u(_e(qe(la.c),1),18),QSe=la.i,u(_e(qe(la.i),0),18),u(_e(qe(la.i),1),18),u(_e(qe(la.i),2),18),u(_e(qe(la.i),3),18),u(_e(qe(la.i),4),34),ZSe=la.j,u(_e(qe(la.j),0),18),YSe=la.d,u(_e(qe(la.d),0),18),u(_e(qe(la.d),1),18),u(_e(qe(la.d),2),18),u(_e(qe(la.d),3),18),u(_e(qe(la.d),4),34),u(_e(qe(la.d),5),34),u(_e(qe(la.d),6),34),u(_e(qe(la.d),7),34),Hyt=la.b,u(_e(qe(la.b),0),34),u(_e(qe(la.b),1),34),TV=la.e,u(_e(qe(la.e),0),34),u(_e(qe(la.e),1),34),u(_e(qe(la.e),2),34),u(_e(qe(la.e),3),34),u(_e(qe(la.e),4),18),u(_e(qe(la.e),5),18),u(_e(qe(la.e),6),18),u(_e(qe(la.e),7),18),u(_e(qe(la.e),8),18),u(_e(qe(la.e),9),18),u(_e(qe(la.e),10),34),v2=la.k,u(_e(qe(la.k),0),34),u(_e(qe(la.k),1),34)}function ywn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(Ut=new as,it=new as,Q=-1,v=new C(e);v.a<v.c.c.length;){for(h=u(Y(v),128),h.s=Q--,T=0,Te=0,a=new C(h.t);a.a<a.c.c.length;)r=u(Y(a),268),Te+=r.c;for(i=new C(h.i);i.a<i.c.c.length;)r=u(Y(i),268),T+=r.c;h.n=T,h.u=Te,Te==0?ks(it,h,it.c.b,it.c):T==0&&ks(Ut,h,Ut.c.b,Ut.c)}for(Rn=Zj(e),L=e.c.length,K=L+1,ue=L-1,z=new at;Rn.a.gc()!=0;){for(;it.b!=0;)Ke=(Qn(it.b!=0),u(bh(it,it.a.a),128)),Rn.a.Bc(Ke)!=null,Ke.s=ue--,O4e(Ke,Ut,it);for(;Ut.b!=0;)kt=(Qn(Ut.b!=0),u(bh(Ut,Ut.a.a),128)),Rn.a.Bc(kt)!=null,kt.s=K++,O4e(kt,Ut,it);for(q=za,x=Rn.a.ec().Kc();x.Ob();)h=u(x.Pb(),128),Se=h.u-h.n,Se>=q&&(Se>q&&(z.c=Ie(Xn,_t,1,0,5,1),q=Se),z.c[z.c.length]=h);z.c.length!=0&&(P=u(It(z,bH(t,z.c.length)),128),Rn.a.Bc(P)!=null,P.s=K++,O4e(P,Ut,it),z.c=Ie(Xn,_t,1,0,5,1))}for(Ne=e.c.length+1,d=new C(e);d.a<d.c.c.length;)h=u(Y(d),128),h.s<L&&(h.s+=Ne);for(Gt=new C(e);Gt.a<Gt.c.c.length;)for(kt=u(Y(Gt),128),n=new Ca(kt.t,0);n.b<n.d.gc();)r=(Qn(n.b<n.d.gc()),u(n.d.Xb(n.c=n.b++),268)),Nn=r.b,kt.s>Nn.s&&(Dl(n),_u(Nn.i,r),r.c>0&&(r.a=Nn,st(Nn.t,r),r.b=kt,st(kt.i,r)))}function F5e(e){var t,n,r,i,a;switch(t=e.c,t){case 11:return e.Ml();case 12:return e.Ol();case 14:return e.Ql();case 15:return e.Tl();case 16:return e.Rl();case 17:return e.Ul();case 21:return wi(e),mi(),mi(),YS;case 10:switch(e.a){case 65:return e.yl();case 90:return e.Dl();case 122:return e.Kl();case 98:return e.El();case 66:return e.zl();case 60:return e.Jl();case 62:return e.Hl()}}switch(a=gwn(e),t=e.c,t){case 3:return e.Zl(a);case 4:return e.Xl(a);case 5:return e.Yl(a);case 0:if(e.a==123&&e.d<e.j){if(i=e.d,r=0,n=-1,(t=Ma(e.i,i++))>=48&&t<=57){for(r=t-48;i<e.j&&(t=Ma(e.i,i++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw ee(new $r(Ur((jr(),H8e))))}else throw ee(new $r(Ur((jr(),d1t))));if(n=r,t==44){if(i>=e.j)throw ee(new $r(Ur((jr(),p1t))));if((t=Ma(e.i,i++))>=48&&t<=57){for(n=t-48;i<e.j&&(t=Ma(e.i,i++))>=48&&t<=57;)if(n=n*10+t-48,n<0)throw ee(new $r(Ur((jr(),H8e))));if(r>n)throw ee(new $r(Ur((jr(),b1t))))}else n=-1}if(t!=125)throw ee(new $r(Ur((jr(),g1t))));e.sl(i)?(a=(mi(),mi(),new Rm(9,a)),e.d=i+1):(a=(mi(),mi(),new Rm(3,a)),e.d=i),a.dm(r),a.cm(n),wi(e)}}return a}function Vut(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(K=new tu(t.b),Ne=new tu(t.b),P=new tu(t.b),Gt=new tu(t.b),Q=new tu(t.b),kt=si(t,0);kt.b!=kt.d.c;)for(Ke=u(ii(kt),11),d=new C(Ke.g);d.a<d.c.c.length;)if(a=u(Y(d),17),a.c.i==a.d.i){if(Ke.j==a.d.j){Gt.c[Gt.c.length]=a;continue}else if(Ke.j==(dt(),Ln)&&a.d.j==Tr){Q.c[Q.c.length]=a;continue}}for(v=new C(Q);v.a<v.c.c.length;)a=u(Y(v),17),tpn(e,a,n,r,(dt(),$n));for(h=new C(Gt);h.a<h.c.c.length;)a=u(Y(h),17),Ut=new H0(e),T0(Ut,(zn(),Xc)),Qe(Ut,(mt(),vs),(ya(),Zc)),Qe(Ut,(nt(),Mi),a),Nn=new Fc,Qe(Nn,Mi,a.d),qs(Nn,(dt(),On)),nc(Nn,Ut),Rn=new Fc,Qe(Rn,Mi,a.c),qs(Rn,$n),nc(Rn,Ut),Qe(a.c,ol,Ut),Qe(a.d,ol,Ut),Ka(a,null),wa(a,null),n.c[n.c.length]=Ut,Qe(Ut,vq,lt(2));for(it=si(t,0);it.b!=it.d.c;)Ke=u(ii(it),11),x=Ke.e.c.length>0,ue=Ke.g.c.length>0,x&&ue?P.c[P.c.length]=Ke:x?K.c[K.c.length]=Ke:ue&&(Ne.c[Ne.c.length]=Ke);for(q=new C(K);q.a<q.c.c.length;)z=u(Y(q),11),st(i,m5e(e,z,null,n));for(Te=new C(Ne);Te.a<Te.c.c.length;)Se=u(Y(Te),11),st(i,m5e(e,null,Se,n));for(L=new C(P);L.a<L.c.c.length;)T=u(Y(L),11),st(i,m5e(e,T,T,n))}function Uut(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Se=new Ft(ps,ps),t=new Ft(Ds,Ds),Gt=new C(e);Gt.a<Gt.c.c.length;)kt=u(Y(Gt),8),Se.a=b.Math.min(Se.a,kt.a),Se.b=b.Math.min(Se.b,kt.b),t.a=b.Math.max(t.a,kt.a),t.b=b.Math.max(t.b,kt.b);for(P=new Ft(t.a-Se.a,t.b-Se.b),x=new Ft(Se.a-50,Se.b-P.a-50),T=new Ft(Se.a-50,t.b+P.a+50),L=new Ft(t.a+P.b/2+50,Se.b+P.b/2),z=new b5e(x,T,L),it=new Ys,a=new at,n=new at,it.a.zc(z,it),Nn=new C(e);Nn.a<Nn.c.c.length;){for(Ut=u(Y(Nn),8),a.c=Ie(Xn,_t,1,0,5,1),Ke=it.a.ec().Kc();Ke.Ob();)Te=u(Ke.Pb(),308),r=Te.d,Fp(r,Te.a),Kv(Fp(Te.d,Ut),Fp(Te.d,Te.a))<0&&(a.c[a.c.length]=Te);for(n.c=Ie(Xn,_t,1,0,5,1),Ne=new C(a);Ne.a<Ne.c.c.length;)for(Te=u(Y(Ne),308),Q=new C(Te.e);Q.a<Q.c.c.length;){for(q=u(Y(Q),168),h=!0,v=new C(a);v.a<v.c.c.length;)d=u(Y(v),308),d!=Te&&(zc(q,It(d.e,0))||zc(q,It(d.e,1))||zc(q,It(d.e,2)))&&(h=!1);h&&(n.c[n.c.length]=q)}for(Sit(it,a),Da(it,new Ji),K=new C(n);K.a<K.c.c.length;)q=u(Y(K),168),zs(it,new b5e(Ut,q.a,q.b))}for(ue=new Ys,Da(it,new xn(ue)),i=ue.a.ec().Kc();i.Ob();)q=u(i.Pb(),168),(f$(z,q.a)||f$(z,q.b))&&i.Qb();return Da(ue,new Fi),ue}function kwn(e){var t,n,r,i,a;switch(n=u(W(e,(nt(),Qc)),21),t=OR(Lgt),i=u(W(e,(mt(),My)),334),i==(R0(),qg)&&Ul(t,Mgt),Bt(Nt(W(e,kle)))?ki(t,(io(),Dd),(po(),Mue)):ki(t,(io(),fu),(po(),Mue)),W(e,(i$(),SS))!=null&&Ul(t,Dgt),(Bt(Nt(W(e,oTe)))||Bt(Nt(W(e,rTe))))&&rl(t,(io(),zo),(po(),nEe)),u(W(e,Jl),103).g){case 2:case 3:case 4:rl(ki(t,(io(),Dd),(po(),iEe)),zo,rEe)}switch(n.Hc((mo(),dq))&&rl(ki(ki(t,(io(),Dd),(po(),tEe)),Yc,J7e),zo,eEe),$e(W(e,xle))!==$e((l4(),$q))&&ki(t,(io(),fu),(po(),mEe)),n.Hc(pq)&&(ki(t,(io(),Dd),(po(),EEe)),ki(t,i2,kEe),ki(t,fu,xEe)),$e(W(e,Eq))!==$e((i7(),JC))&&$e(W(e,W0))!==$e(($0(),MO))&&rl(t,(io(),zo),(po(),dEe)),Bt(Nt(W(e,sTe)))&&ki(t,(io(),fu),(po(),fEe)),Bt(Nt(W(e,vle)))&&ki(t,(io(),fu),(po(),TEe)),Z1n(e)&&($e(W(e,My))===$e(qg)?r=u(W(e,aO),292):r=u(W(e,ble),292),a=r==(Fx(),tle)?(po(),yEe):(po(),SEe),ki(t,(io(),Yc),a)),u(W(e,OTe),377).g){case 1:ki(t,(io(),Yc),(po(),_Ee));break;case 2:rl(ki(ki(t,(io(),fu),(po(),Y7e)),Yc,X7e),zo,Q7e)}return $e(W(e,o2))!==$e((F0(),c2))&&ki(t,(io(),fu),(po(),CEe)),t}function Kut(e){vv(e,new hb(dv(lv(fv(hv(new og,Hh),"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 NQ))),pt(e,Hh,uk,1.3),pt(e,Hh,Gz,Ct(X_e)),pt(e,Hh,cw,rCe),pt(e,Hh,dy,15),pt(e,Hh,Fz,Ct(amt)),pt(e,Hh,k4,Ct(umt)),pt(e,Hh,hk,Ct(lmt)),pt(e,Hh,lk,Ct(hmt)),pt(e,Hh,A7,Ct(cmt)),pt(e,Hh,mC,Ct(eCe)),pt(e,Hh,L7,Ct(dmt)),pt(e,Hh,s8e,Ct(nCe)),pt(e,Hh,a8e,Ct(J_e)),pt(e,Hh,u8e,Ct(tCe)),pt(e,Hh,l8e,Ct(iCe)),pt(e,Hh,Qoe,Ct(Q_e)),pt(e,Hh,yI,Ct(Z_e)),pt(e,Hh,Hoe,Ct(omt)),pt(e,Hh,c8e,Ct(wO)),pt(e,Hh,o8e,Ct(Y_e)),pt(e,Hh,h8e,Ct(sCe))}function sw(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(n==null)return null;if(e.a!=t.Aj())throw ee(new Dn(O7+t.ne()+fw));if(me(t,457)){if(Q=A0n(u(t,671),n),!Q)throw ee(new Dn(uce+n+"' is not a valid enumerator of '"+t.ne()+"'"));return Q}switch(_g((Uu(),Oa),t).cl()){case 2:{n=Kc(n,!1);break}case 3:{n=Kc(n,!0);break}}if(r=_g(Oa,t).$k(),r)return r.Aj().Nh().Kh(r,n);if(P=_g(Oa,t).al(),P){for(Q=new at,x=Wre(n),T=0,L=x.length;T<L;++T)v=x[T],st(Q,P.Aj().Nh().Kh(P,v));return Q}if(K=_g(Oa,t).bl(),!K.dc()){for(q=K.Kc();q.Ob();){z=u(q.Pb(),148);try{if(Q=z.Aj().Nh().Kh(z,n),Q!=null)return Q}catch(ue){if(ue=ts(ue),!me(ue,60))throw ee(ue)}}throw ee(new Dn(uce+n+"' does not match any member types of the union datatype '"+t.ne()+"'"))}if(u(t,834).Fj(),i=Sin(t.Bj()),!i)return null;if(i==GC){h=0;try{h=Wl(n,za,xi)&Ss}catch(ue){if(ue=ts(ue),me(ue,127))a=d$(n),h=a[0];else throw ee(ue)}return fD(h)}if(i==wG){for(d=0;d<$S.length;++d)try{return Nze($S[d],n)}catch(ue){if(ue=ts(ue),!me(ue,32))throw ee(ue)}throw ee(new Dn(uce+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw ee(new Dn(uce+n+"' is invalid. "))}function xwn(e,t){var n,r,i,a,h,d,v,x;if(n=0,h=0,a=t.length,d=null,x=new ym,h<a&&(zr(h,t.length),t.charCodeAt(h)==43)&&(++h,++n,h<a&&(zr(h,t.length),t.charCodeAt(h)==43||(zr(h,t.length),t.charCodeAt(h)==45))))throw ee(new ld(ow+t+'"'));for(;h<a&&(zr(h,t.length),t.charCodeAt(h)!=46)&&(zr(h,t.length),t.charCodeAt(h)!=101)&&(zr(h,t.length),t.charCodeAt(h)!=69);)++h;if(x.a+=""+$l(t==null?Iu:(An(t),t),n,h),h<a&&(zr(h,t.length),t.charCodeAt(h)==46)){for(++h,n=h;h<a&&(zr(h,t.length),t.charCodeAt(h)!=101)&&(zr(h,t.length),t.charCodeAt(h)!=69);)++h;e.e=h-n,x.a+=""+$l(t==null?Iu:(An(t),t),n,h)}else e.e=0;if(h<a&&(zr(h,t.length),t.charCodeAt(h)==101||(zr(h,t.length),t.charCodeAt(h)==69))&&(++h,n=h,h<a&&(zr(h,t.length),t.charCodeAt(h)==43)&&(++h,h<a&&(zr(h,t.length),t.charCodeAt(h)!=45)&&++n),d=t.substr(n,a-n),e.e=e.e-Wl(d,za,xi),e.e!=_s(e.e)))throw ee(new ld("Scale out of range."));if(v=x.a,v.length<16){if(e.f=(Lxe==null&&(Lxe=new RegExp("^[+-]?\\d*$","i")),Lxe.test(v)?parseInt(v,10):NaN),isNaN(e.f))throw ee(new ld(ow+t+'"'));e.a=l4e(e.f)}else Gsn(e,new Ap(v));for(e.d=x.a.length,i=0;i<x.a.length&&(r=Ma(x.a,i),!(r!=45&&r!=48));++i)--e.d;e.d==0&&(e.d=1)}function rae(){rae=de,ji=new Ov,an(ji,(dt(),X1),Jc),an(ji,Qh,Jc),an(ji,Qh,Pu),an(ji,_h,Xu),an(ji,_h,Jc),an(ji,Nf,Jc),an(ji,Nf,ll),an(ji,th,Ou),an(ji,th,Jc),an(ji,Nu,gu),an(ji,Nu,Jc),an(ji,Nu,ll),an(ji,Nu,Ou),an(ji,gu,Nu),an(ji,gu,Pu),an(ji,gu,Xu),an(ji,gu,Jc),an(ji,Pf,Pf),an(ji,Pf,ll),an(ji,Pf,Pu),an(ji,ul,ul),an(ji,ul,ll),an(ji,ul,Xu),an(ji,nh,nh),an(ji,nh,Ou),an(ji,nh,Pu),an(ji,Ch,Ch),an(ji,Ch,Ou),an(ji,Ch,Xu),an(ji,ll,Nf),an(ji,ll,Nu),an(ji,ll,Pf),an(ji,ll,ul),an(ji,ll,Jc),an(ji,ll,ll),an(ji,ll,Pu),an(ji,ll,Xu),an(ji,Ou,th),an(ji,Ou,Nu),an(ji,Ou,nh),an(ji,Ou,Ch),an(ji,Ou,Ou),an(ji,Ou,Pu),an(ji,Ou,Xu),an(ji,Ou,Jc),an(ji,Pu,Qh),an(ji,Pu,gu),an(ji,Pu,Pf),an(ji,Pu,nh),an(ji,Pu,ll),an(ji,Pu,Ou),an(ji,Pu,Pu),an(ji,Pu,Jc),an(ji,Xu,_h),an(ji,Xu,gu),an(ji,Xu,ul),an(ji,Xu,Ch),an(ji,Xu,ll),an(ji,Xu,Ou),an(ji,Xu,Xu),an(ji,Xu,Jc),an(ji,Jc,X1),an(ji,Jc,Qh),an(ji,Jc,_h),an(ji,Jc,Nf),an(ji,Jc,th),an(ji,Jc,Nu),an(ji,Jc,gu),an(ji,Jc,ll),an(ji,Jc,Ou),an(ji,Jc,Pu),an(ji,Jc,Xu),an(ji,Jc,Jc)}function R5e(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt;for(e.d=new Ft(ps,ps),e.c=new Ft(Ds,Ds),P=t.Kc();P.Ob();)for(T=u(P.Pb(),37),Te=new C(T.a);Te.a<Te.c.c.length;)Se=u(Y(Te),10),e.d.a=b.Math.min(e.d.a,Se.n.a-Se.d.b),e.d.b=b.Math.min(e.d.b,Se.n.b-Se.d.d),e.c.a=b.Math.max(e.c.a,Se.n.a+Se.o.a+Se.d.c),e.c.b=b.Math.max(e.c.b,Se.n.b+Se.o.b+Se.d.a);for(d=new u$e,L=t.Kc();L.Ob();)T=u(L.Pb(),37),r=swn(e,T),st(d.a,r),r.a=r.a|!u(W(r.c,(nt(),_y)),21).dc();for(e.b=(rie(),Gt=new p1,Gt.f=new YJe(n),Gt.b=dbn(Gt.f,d),Gt),kbn((q=e.b,new j8,q)),e.e=new $a,e.a=e.b.f.e,h=new C(d.a);h.a<h.c.c.length;)for(i=u(Y(h),841),Ne=sZt(e.b,i),ogn(i.c,Ne.a,Ne.b),Q=new C(i.c.a);Q.a<Q.c.c.length;)K=u(Y(Q),10),K.k==(zn(),Ls)&&(ue=N4e(e,K.n,u(W(K,(nt(),vc)),61)),Ni(Yf(K.n),ue));for(a=new C(d.a);a.a<a.c.c.length;)for(i=u(Y(a),841),x=new C(Fin(i));x.a<x.c.c.length;)for(v=u(Y(x),17),kt=new YF(v.a),tx(kt,0,M1(v.c)),oi(kt,M1(v.d)),z=null,it=si(kt,0);it.b!=it.d.c;){if(Ke=u(ii(it),8),!z){z=Ke;continue}Zwe(z.a,Ke.a)?(e.e.a=b.Math.min(e.e.a,z.a),e.a.a=b.Math.max(e.a.a,z.a)):Zwe(z.b,Ke.b)&&(e.e.b=b.Math.min(e.e.b,z.b),e.a.b=b.Math.max(e.a.b,z.b)),z=Ke}WR(e.e),Ni(e.a,e.e)}function Ewn(e){Br(e.b,qh,ie(ne(Et,1),Je,2,6,[dw,"ConsistentTransient"])),Br(e.a,qh,ie(ne(Et,1),Je,2,6,[dw,"WellFormedSourceURI"])),Br(e.o,qh,ie(ne(Et,1),Je,2,6,[dw,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),Br(e.p,qh,ie(ne(Et,1),Je,2,6,[dw,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),Br(e.v,qh,ie(ne(Et,1),Je,2,6,[dw,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),Br(e.R,qh,ie(ne(Et,1),Je,2,6,[dw,"WellFormedName"])),Br(e.T,qh,ie(ne(Et,1),Je,2,6,[dw,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),Br(e.U,qh,ie(ne(Et,1),Je,2,6,[dw,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),Br(e.W,qh,ie(ne(Et,1),Je,2,6,[dw,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),Br(e.bb,qh,ie(ne(Et,1),Je,2,6,[dw,"ValidDefaultValueLiteral"])),Br(e.eb,qh,ie(ne(Et,1),Je,2,6,[dw,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),Br(e.H,qh,ie(ne(Et,1),Je,2,6,[dw,"ConsistentType ConsistentBounds ConsistentArguments"]))}function Twn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;if(!t.dc()){if(i=new $u,d=n||u(t.Xb(0),17),q=d.c,J_(),P=q.i.k,!(P==(zn(),js)||P==Xc||P==Ls||P==V1))throw ee(new Dn("The target node of the edge must be a normal node or a northSouthPort."));for(H2(i,ic(ie(ne(ea,1),Je,8,0,[q.i.n,q.n,q.a]))),(dt(),Nu).Hc(q.j)&&(Q=We(gt(W(q,(nt(),iE)))),L=new Ft(ic(ie(ne(ea,1),Je,8,0,[q.i.n,q.n,q.a])).a,Q),ks(i,L,i.c.b,i.c)),T=null,r=!1,v=t.Kc();v.Ob();)h=u(v.Pb(),17),a=h.a,a.b!=0&&(r?(x=fd(Ni(T,(Qn(a.b!=0),u(a.a.a.c,8))),.5),ks(i,x,i.c.b,i.c),r=!1):r=!0,T=fc((Qn(a.b!=0),u(a.c.b.c,8))),ro(i,a),Ph(a));K=d.d,Nu.Hc(K.j)&&(Q=We(gt(W(K,(nt(),iE)))),L=new Ft(ic(ie(ne(ea,1),Je,8,0,[K.i.n,K.n,K.a])).a,Q),ks(i,L,i.c.b,i.c)),H2(i,ic(ie(ne(ea,1),Je,8,0,[K.i.n,K.n,K.a]))),e.d==(qx(),Gle)&&(ue=(Qn(i.b!=0),u(i.a.a.c,8)),Se=u(n1(i,1),8),Te=new zne(Gme(q.j)),Te.a*=5,Te.b*=5,Ne=pa(new Ft(Se.a,Se.b),ue),Ke=new Ft(jne(Te.a,Ne.a),jne(Te.b,Ne.b)),Ni(Ke,ue),it=si(i,1),MM(it,Ke),kt=(Qn(i.b!=0),u(i.c.b.c,8)),Gt=u(n1(i,i.b-2),8),Te=new zne(Gme(K.j)),Te.a*=5,Te.b*=5,Ne=pa(new Ft(Gt.a,Gt.b),kt),Ut=new Ft(jne(Te.a,Ne.a),jne(Te.b,Ne.b)),Ni(Ut,kt),tx(i,i.b-1,Ut)),z=new v5e(i),ro(d.a,vrt(z))}}function _wn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf,J1,$V,XO,XS,QO;if(Te=u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82),Ke=Te.Dg(),it=Te.Eg(),Ne=Te.Cg()/2,K=Te.Bg()/2,me(Te,186)&&(Se=u(Te,118),Ke+=A1(Se).i,Ke+=A1(Se).i),Ke+=Ne,it+=K,Rn=u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82),yi=Rn.Dg(),Us=Rn.Eg(),gr=Rn.Cg()/2,kt=Rn.Bg()/2,me(Rn,186)&&(Nn=u(Rn,118),yi+=A1(Nn).i,yi+=A1(Nn).i),yi+=gr,Us+=kt,(!e.a&&(e.a=new ot(os,e,6,6)),e.a).i==0)d=(gv(),x=new ad,x),Pr((!e.a&&(e.a=new ot(os,e,6,6)),e.a),d);else if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i>1)for(q=new x6((!e.a&&(e.a=new ot(os,e,6,6)),e.a));q.e!=q.i.gc();)U_(q);for(h=u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202),Q=yi,yi>Ke+Ne?Q=Ke+Ne:yi<Ke-Ne&&(Q=Ke-Ne),ue=Us,Us>it+K?ue=it+K:Us<it-K&&(ue=it-K),Q>Ke-Ne&&Q<Ke+Ne&&ue>it-K&&ue<it+K&&(Q=Ke+Ne),Sx(h,Q),Lx(h,ue),Gt=Ke,Ke>yi+gr?Gt=yi+gr:Ke<yi-gr&&(Gt=yi-gr),Ut=it,it>Us+kt?Ut=Us+kt:it<Us-kt&&(Ut=Us-kt),Gt>yi-gr&&Gt<yi+gr&&Ut>Us-kt&&Ut<Us+kt&&(Ut=Us+kt),Cx(h,Gt),Ax(h,Ut),_r((!h.a&&(h.a=new Ns(Zh,h,5)),h.a)),a=bH(t,5),Te==Rn&&++a,J1=Gt-Q,XS=Ut-ue,ih=b.Math.sqrt(J1*J1+XS*XS),L=ih*.20000000298023224,$V=J1/(a+1),QO=XS/(a+1),rf=Q,XO=ue,T=0;T<a;T++)rf+=$V,XO+=QO,P=rf+vl(t,24)*pI*L-L/2,P<0?P=1:P>n&&(P=n-1),z=XO+vl(t,24)*pI*L-L/2,z<0?z=1:z>r&&(z=r-1),i=(gv(),v=new hp,v),x$(i,P),E$(i,z),Pr((!h.a&&(h.a=new Ns(Zh,h,5)),h.a),i)}function mt(){mt=de,_le=(di(),lyt),_Te=hyt,cO=bSe,Af=fyt,Mk=vSe,Cw=dyt,Py=wSe,uE=mSe,lE=ySe,Cle=vV,Sw=Bb,Sle=gyt,uS=ESe,Nq=Pk,oO=($5e(),obt),G4=cbt,Db=ubt,q4=lbt,Kbt=new fo(bV,lt(0)),cE=ibt,TTe=sbt,Lk=abt,OTe=Ibt,CTe=dbt,STe=bbt,Lle=Ebt,ATe=mbt,LTe=kbt,Pq=Bbt,Mle=Obt,DTe=Abt,MTe=Cbt,ITe=Mbt,Tw=Z2t,cS=J2t,yle=b2t,nTe=w2t,mTe=new yv(12),wTe=new fo(Pb,mTe),J9e=($0(),wE),W0=new fo(UCe,J9e),Iy=new fo(kl,0),Wbt=new fo(Rhe,lt(1)),kq=new fo(Ok,S7),Mb=pV,vs=LS,oE=J4,$bt=CO,Id=tyt,My=Y4,Ybt=new fo(jhe,(In(),!0)),Dy=SO,Ab=Dhe,Lb=Nb,Oq=h2,Tle=gV,Z9e=(wo(),u0),Jl=new fo(Lw,Z9e),Ew=Q4,Dq=tSe,Oy=jy,Ubt=Fhe,xTe=gSe,kTe=(e4(),OO),new fo(uSe,kTe),Gbt=Ohe,qbt=Nhe,Vbt=Phe,zbt=Ihe,Ale=fbt,dTe=$2t,xle=j2t,lS=hbt,du=I2t,Ly=c2t,aS=o2t,Ay=Wpt,Y9e=Ypt,ble=Jpt,aO=Xpt,vle=s2t,gTe=H2t,pTe=z2t,cTe=C2t,Iq=nbt,Ele=V2t,kle=k2t,vTe=X2t,tTe=g2t,mle=p2t,ple=fV,bTe=G2t,Eq=Hpt,U9e=$pt,xq=jpt,sTe=T2t,iTe=E2t,aTe=_2t,sE=Z4,Fo=X4,Rg=WCe,Od=Mhe,wle=Lhe,X9e=t2t,jg=Bhe,sS=iyt,Aq=syt,_w=hSe,yTe=ayt,aE=oyt,lTe=N2t,hTe=B2t,Ny=Nk,dle=Rpt,fTe=R2t,Sq=h2t,Cq=l2t,Mq=AO,uTe=L2t,oS=K2t,uO=kSe,Q9e=u2t,ETe=rbt,eTe=f2t,Hbt=D2t,jbt=r2t,oTe=ZCe,Lq=O2t,_q=i2t,o2=Kpt,W9e=Vpt,Tq=Gpt,K9e=qpt,gle=Upt,Ak=zpt,rTe=x2t}function iae(e,t){qse();var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;if(Gt=e.e,q=e.d,i=e.a,Gt==0)switch(t){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 it=new yp,t<0?it.a+="0E+":it.a+="0E",it.a+=-t,it.a}if(Te=q*10+1+7,Ne=Ie(Sh,yd,25,Te+1,15,1),n=Te,q==1)if(d=i[0],d<0){yi=Gs(d,yo);do K=yi,yi=PD(yi,10),Ne[--n]=48+Ir(Gp(K,Ha(yi,10)))&Ss;while(Lc(yi,0)!=0)}else{yi=d;do K=yi,yi=yi/10|0,Ne[--n]=48+(K-yi*10)&Ss;while(yi!=0)}else{Nn=Ie(Sr,Jr,25,q,15,1),gr=q,Rc(i,0,Nn,0,gr);e:for(;;){for(kt=0,x=gr-1;x>=0;x--)Rn=Wa(A0(kt,32),Gs(Nn[x],yo)),ue=Mun(Rn),Nn[x]=Ir(ue),kt=Ir(Mp(ue,32));Se=Ir(kt),Q=n;do Ne[--n]=48+Se%10&Ss;while((Se=Se/10|0)!=0&&n!=0);for(r=9-Q+n,v=0;v<r&&n>0;v++)Ne[--n]=48;for(L=gr-1;Nn[L]==0;L--)if(L==0)break e;gr=L+1}for(;Ne[n]==48;)++n}if(z=Gt<0,h=Te-n-t-1,t==0)return z&&(Ne[--n]=45),Fh(Ne,n,Te-n);if(t>0&&h>=-6){if(h>=0){for(T=n+h,P=Te-1;P>=T;P--)Ne[P+1]=Ne[P];return Ne[++T]=46,z&&(Ne[--n]=45),Fh(Ne,n,Te-n+1)}for(L=2;L<-h+1;L++)Ne[--n]=48;return Ne[--n]=46,Ne[--n]=48,z&&(Ne[--n]=45),Fh(Ne,n,Te-n)}return Ut=n+1,a=Te,Ke=new ym,z&&(Ke.a+="-"),a-Ut>=1?(Ip(Ke,Ne[n]),Ke.a+=".",Ke.a+=Fh(Ne,n+1,Te-n-1)):Ke.a+=Fh(Ne,n,Te-n),Ke.a+="E",h>0&&(Ke.a+="+"),Ke.a+=""+h,Ke.a}function Wut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;switch(e.c=t,e.g=new Ar,n=(xm(),new wm(e.c)),r=new rr(n),yye(r),Te=Hr(jt(e.c,(FD(),pCe))),v=u(jt(e.c,yhe),316),Ke=u(jt(e.c,khe),429),h=u(jt(e.c,fCe),482),Ne=u(jt(e.c,mhe),430),e.j=We(gt(jt(e.c,_mt))),d=e.a,v.g){case 0:d=e.a;break;case 1:d=e.b;break;case 2:d=e.i;break;case 3:d=e.e;break;case 4:d=e.f;break;default:throw ee(new Dn(qz+(v.f!=null?v.f:""+v.g)))}if(e.d=new bYe(d,Ke,h),Qe(e.d,(Nx(),UC),Nt(jt(e.c,Emt))),e.d.c=Bt(Nt(jt(e.c,dCe))),Oj(e.c).i==0)return e.d;for(L=new ir(Oj(e.c));L.e!=L.i.gc();){for(T=u(br(L),33),z=T.g/2,P=T.f/2,it=new Ft(T.i+z,T.j+P);Ml(e.g,it);)Sm(it,(b.Math.random()-.5)*Ed,(b.Math.random()-.5)*Ed);K=u(jt(T,(di(),AO)),142),Q=new OYe(it,new fh(it.a-z-e.j/2-K.b,it.b-P-e.j/2-K.d,T.g+e.j+(K.b+K.c),T.f+e.j+(K.d+K.a))),st(e.d.i,Q),Si(e.g,it,new _a(Q,T))}switch(Ne.g){case 0:if(Te==null)e.d.d=u(It(e.d.i,0),65);else for(Se=new C(e.d.i);Se.a<Se.c.c.length;)Q=u(Y(Se),65),q=u(u(Jn(e.g,Q.a),46).b,33).zg(),q!=null&&on(q,Te)&&(e.d.d=Q);break;case 1:for(i=new Ft(e.c.g,e.c.f),i.a*=.5,i.b*=.5,Sm(i,e.c.i,e.c.j),a=ps,ue=new C(e.d.i);ue.a<ue.c.c.length;)Q=u(Y(ue),65),x=Fp(Q.a,i),x<a&&(a=x,e.d.d=Q);break;default:throw ee(new Dn(qz+(Ne.f!=null?Ne.f:""+Ne.g)))}return e.d}function Yut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;for(Ke=u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202),T=new $u,Ne=new Ar,it=hct(Ke),lu(Ne.f,Ke,it),P=new Ar,r=new as,q=Dp(P1(ie(ne(G1,1),_t,20,0,[(!t.d&&(t.d=new yn(ta,t,8,5)),t.d),(!t.e&&(t.e=new yn(ta,t,7,4)),t.e)])));Vr(q);){if(z=u(Nr(q),79),(!e.a&&(e.a=new ot(os,e,6,6)),e.a).i!=1)throw ee(new Dn(xft+(!e.a&&(e.a=new ot(os,e,6,6)),e.a).i));z!=e&&(Q=u(_e((!z.a&&(z.a=new ot(os,z,6,6)),z.a),0),202),ks(r,Q,r.c.b,r.c),K=u(hc(jo(Ne.f,Q)),12),K||(K=hct(Q),lu(Ne.f,Q,K)),L=n?pa(new Do(u(It(it,it.c.length-1),8)),u(It(K,K.c.length-1),8)):pa(new Do((En(0,it.c.length),u(it.c[0],8))),(En(0,K.c.length),u(K.c[0],8))),lu(P.f,Q,L))}if(r.b!=0)for(ue=u(It(it,n?it.c.length-1:0),8),x=1;x<it.c.length;x++){for(Se=u(It(it,n?it.c.length-1-x:x),8),i=si(r,0);i.b!=i.d.c;)Q=u(ii(i),202),K=u(hc(jo(Ne.f,Q)),12),K.c.length<=x?w$(i):(Te=Ni(new Do(u(It(K,n?K.c.length-1-x:x),8)),u(hc(jo(P.f,Q)),8)),(Se.a!=Te.a||Se.b!=Te.b)&&(a=Se.a-ue.a,d=Se.b-ue.b,h=Te.a-ue.a,v=Te.b-ue.b,h*d==v*a&&(a==0||isNaN(a)?a:a<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)&&(d==0||isNaN(d)?d:d<0?-1:1)==(v==0||isNaN(v)?v:v<0?-1:1)?(b.Math.abs(a)<b.Math.abs(h)||b.Math.abs(d)<b.Math.abs(v))&&ks(T,Se,T.c.b,T.c):x>1&&ks(T,ue,T.c.b,T.c),w$(i)));ue=Se}return T}function Cwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf,J1;for(Er(n,"Greedy cycle removal",1),Te=t.a,J1=Te.c.length,e.a=Ie(Sr,Jr,25,J1,15,1),e.c=Ie(Sr,Jr,25,J1,15,1),e.b=Ie(Sr,Jr,25,J1,15,1),x=0,ue=new C(Te);ue.a<ue.c.c.length;){for(K=u(Y(ue),10),K.p=x,Ut=new C(K.j);Ut.a<Ut.c.c.length;){for(it=u(Y(Ut),11),d=new C(it.e);d.a<d.c.c.length;)r=u(Y(d),17),r.c.i!=K&&(gr=u(W(r,(mt(),cE)),19).a,e.a[x]+=gr>0?gr+1:1);for(h=new C(it.g);h.a<h.c.c.length;)r=u(Y(h),17),r.d.i!=K&&(gr=u(W(r,(mt(),cE)),19).a,e.c[x]+=gr>0?gr+1:1)}e.c[x]==0?oi(e.e,K):e.a[x]==0&&oi(e.f,K),++x}for(q=-1,z=1,L=new at,e.d=u(W(t,(nt(),Ck)),230);J1>0;){for(;e.e.b!=0;)Us=u(Wte(e.e),10),e.b[Us.p]=q--,a5e(e,Us),--J1;for(;e.f.b!=0;)ih=u(Wte(e.f),10),e.b[ih.p]=z++,a5e(e,ih),--J1;if(J1>0){for(P=za,Se=new C(Te);Se.a<Se.c.c.length;)K=u(Y(Se),10),e.b[K.p]==0&&(Ne=e.c[K.p]-e.a[K.p],Ne>=P&&(Ne>P&&(L.c=Ie(Xn,_t,1,0,5,1),P=Ne),L.c[L.c.length]=K));T=e.Zf(L),e.b[T.p]=z++,a5e(e,T),--J1}}for(yi=Te.c.length+1,x=0;x<Te.c.length;x++)e.b[x]<0&&(e.b[x]+=yi);for(Q=new C(Te);Q.a<Q.c.c.length;)for(K=u(Y(Q),10),Rn=CXe(K.j),kt=Rn,Gt=0,Nn=kt.length;Gt<Nn;++Gt)for(it=kt[Gt],Ke=vd(it.g),i=Ke,a=0,v=i.length;a<v;++a)r=i[a],rf=r.d.i.p,e.b[K.p]>e.b[rf]&&(rw(r,!0),Qe(t,tO,(In(),!0)));e.a=null,e.c=null,e.b=null,Ph(e.f),Ph(e.e),lr(n)}function Xut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(r=new at,d=new at,Q=t/2,z=e.gc(),i=u(e.Xb(0),8),ue=u(e.Xb(1),8),q=wse(i.a,i.b,ue.a,ue.b,Q),st(r,(En(0,q.c.length),u(q.c[0],8))),st(d,(En(1,q.c.length),u(q.c[1],8))),x=2;x<z;x++)K=i,i=ue,ue=u(e.Xb(x),8),q=wse(i.a,i.b,K.a,K.b,Q),st(r,(En(1,q.c.length),u(q.c[1],8))),st(d,(En(0,q.c.length),u(q.c[0],8))),q=wse(i.a,i.b,ue.a,ue.b,Q),st(r,(En(0,q.c.length),u(q.c[0],8))),st(d,(En(1,q.c.length),u(q.c[1],8)));for(q=wse(ue.a,ue.b,i.a,i.b,Q),st(r,(En(1,q.c.length),u(q.c[1],8))),st(d,(En(0,q.c.length),u(q.c[0],8))),n=new $u,h=new at,oi(n,(En(0,r.c.length),u(r.c[0],8))),T=1;T<r.c.length-2;T+=2)a=(En(T,r.c.length),u(r.c[T],8)),P=ust((En(T-1,r.c.length),u(r.c[T-1],8)),a,(En(T+1,r.c.length),u(r.c[T+1],8)),(En(T+2,r.c.length),u(r.c[T+2],8))),!isFinite(P.a)||!isFinite(P.b)?ks(n,a,n.c.b,n.c):ks(n,P,n.c.b,n.c);for(oi(n,u(It(r,r.c.length-1),8)),st(h,(En(0,d.c.length),u(d.c[0],8))),L=1;L<d.c.length-2;L+=2)a=(En(L,d.c.length),u(d.c[L],8)),P=ust((En(L-1,d.c.length),u(d.c[L-1],8)),a,(En(L+1,d.c.length),u(d.c[L+1],8)),(En(L+2,d.c.length),u(d.c[L+2],8))),!isFinite(P.a)||!isFinite(P.b)?h.c[h.c.length]=a:h.c[h.c.length]=P;for(st(h,u(It(d,d.c.length-1),8)),v=h.c.length-1;v>=0;v--)oi(n,(En(v,h.c.length),u(h.c[v],8)));return n}function Swn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;if(h=!0,L=null,r=null,i=null,t=!1,z=n3t,x=null,a=null,d=0,v=Tie(e,d,oAe,cAe),v<e.length&&(zr(v,e.length),e.charCodeAt(v)==58)&&(L=e.substr(d,v-d),d=v+1),n=L!=null&&YL(IV,L.toLowerCase()),n){if(v=e.lastIndexOf("!/"),v==-1)throw ee(new Dn("no archive separator"));h=!0,r=$l(e,d,++v),d=v}else d>=0&&on(e.substr(d,2),"//")?(d+=2,v=Tie(e,d,HS,zS),r=e.substr(d,v-d),d=v):L!=null&&(d==e.length||(zr(d,e.length),e.charCodeAt(d)!=47))&&(h=!1,v=R2e(e,Du(35),d),v==-1&&(v=e.length),r=e.substr(d,v-d),d=v);if(!n&&d<e.length&&(zr(d,e.length),e.charCodeAt(d)==47)&&(v=Tie(e,d+1,HS,zS),T=e.substr(d+1,v-(d+1)),T.length>0&&Ma(T,T.length-1)==58&&(i=T,d=v)),d<e.length&&(zr(d,e.length),e.charCodeAt(d)==47)&&(++d,t=!0),d<e.length&&(zr(d,e.length),e.charCodeAt(d)!=63)&&(zr(d,e.length),e.charCodeAt(d)!=35)){for(P=new at;d<e.length&&(zr(d,e.length),e.charCodeAt(d)!=63)&&(zr(d,e.length),e.charCodeAt(d)!=35);)v=Tie(e,d,HS,zS),st(P,e.substr(d,v-d)),d=v,d<e.length&&(zr(d,e.length),e.charCodeAt(d)==47)&&(pin(e,++d)||(P.c[P.c.length]=""));z=Ie(Et,Je,2,P.c.length,6,1),R1(P,z)}return d<e.length&&(zr(d,e.length),e.charCodeAt(d)==63)&&(v=ex(e,35,++d),v==-1&&(v=e.length),x=e.substr(d,v-d),d=v),d<e.length&&(a=dM(e,++d)),vbn(h,L,r,i,z,x),new Sse(h,L,r,i,t,z,x,a)}function Awn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf;for(Us=new at,q=new C(t.b);q.a<q.c.c.length;)for(P=u(Y(q),29),Ke=new C(P.a);Ke.a<Ke.c.c.length;){for(Ne=u(Y(Ke),10),Ne.p=-1,L=za,Gt=za,Nn=new C(Ne.j);Nn.a<Nn.c.c.length;){for(Ut=u(Y(Nn),11),i=new C(Ut.e);i.a<i.c.c.length;)n=u(Y(i),17),Rn=u(W(n,(mt(),Lk)),19).a,L=b.Math.max(L,Rn);for(r=new C(Ut.g);r.a<r.c.c.length;)n=u(Y(r),17),Rn=u(W(n,(mt(),Lk)),19).a,Gt=b.Math.max(Gt,Rn)}Qe(Ne,qq,lt(L)),Qe(Ne,Vq,lt(Gt))}for(ue=0,z=new C(t.b);z.a<z.c.c.length;)for(P=u(Y(z),29),Ke=new C(P.a);Ke.a<Ke.c.c.length;)Ne=u(Y(Ke),10),Ne.p<0&&(yi=new Uge,yi.b=ue++,Oot(e,Ne,yi),Us.c[Us.c.length]=yi);for(kt=qd(Us.c.length),T=qd(Us.c.length),h=0;h<Us.c.length;h++)st(kt,new at),st(T,lt(0));for(Qbn(t,Us,kt,T),ih=u(R1(Us,Ie(Ivt,jht,257,Us.c.length,0,1)),840),it=u(R1(kt,Ie(Eh,fy,15,kt.c.length,0,1)),192),x=Ie(Sr,Jr,25,T.c.length,15,1),d=0;d<x.length;d++)x[d]=(En(d,T.c.length),u(T.c[d],19)).a;for(Se=0,Te=new at,v=0;v<ih.length;v++)x[v]==0&&st(Te,ih[v]);for(Q=Ie(Sr,Jr,25,ih.length,15,1);Te.c.length!=0;)for(yi=u(yg(Te,0),257),Q[yi.b]=Se++;!it[yi.b].dc();)rf=u(it[yi.b].$c(0),257),--x[rf.b],x[rf.b]==0&&(Te.c[Te.c.length]=rf);for(e.a=Ie(Ivt,jht,257,ih.length,0,1),a=0;a<ih.length;a++)for(K=ih[a],gr=Q[a],e.a[gr]=K,K.b=gr,Ke=new C(K.e);Ke.a<Ke.c.c.length;)Ne=u(Y(Ke),10),Ne.p=gr;return e.a}function wi(e){var t,n,r;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=Ma(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw ee(new $r(Ur((jr(),Qz))));e.a=Ma(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&Ma(e.i,e.d)==91?(++e.d,r=24):r=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&Ma(e.i,e.d)==58){++e.d,r=20;break}default:(t&64512)==dI&&e.d<e.j&&(n=Ma(e.i,e.d),(n&64512)==56320&&(e.a=ao+(t-dI<<10)+n-56320,++e.d)),r=0}e.c=r;return}switch(t){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,e.d>=e.j||Ma(e.i,e.d)!=63)break;if(++e.d>=e.j)throw ee(new $r(Ur((jr(),xce))));switch(t=Ma(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 ee(new $r(Ur((jr(),xce))));if(t=Ma(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw ee(new $r(Ur((jr(),Yft))));break;case 35:for(;e.d<e.j&&(t=Ma(e.i,e.d++),t!=41););if(t!=41)throw ee(new $r(Ur((jr(),Xft))));r=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,r=22;break}else if(t==40){r=23;break}throw ee(new $r(Ur((jr(),xce))))}break;case 92:if(r=10,e.d>=e.j)throw ee(new $r(Ur((jr(),Qz))));e.a=Ma(e.i,e.d++);break;default:r=0}e.c=r}function Lwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(kt=u(W(e,(mt(),vs)),98),kt!=(ya(),Y1)&&kt!=g2){for(q=e.b,z=q.c.length,T=new tu((Vl(z+2,uae),v$(Wa(Wa(5,z+2),(z+2)/10|0)))),K=new tu((Vl(z+2,uae),v$(Wa(Wa(5,z+2),(z+2)/10|0)))),st(T,new Ar),st(T,new Ar),st(K,new at),st(K,new at),it=new at,t=0;t<z;t++)for(n=(En(t,q.c.length),u(q.c[t],29)),Gt=(En(t,T.c.length),u(T.c[t],83)),Q=new Ar,T.c[T.c.length]=Q,Nn=(En(t,K.c.length),u(K.c[t],15)),Se=new at,K.c[K.c.length]=Se,i=new C(n.a);i.a<i.c.c.length;){if(r=u(Y(i),10),lye(r)){it.c[it.c.length]=r;continue}for(x=new ur(dr(Wo(r).a.Kc(),new V));Vr(x);)d=u(Nr(x),17),Rn=d.c.i,lye(Rn)&&(Ut=u(Gt.xc(W(Rn,(nt(),Mi))),10),Ut||(Ut=Mst(e,Rn),Gt.zc(W(Rn,Mi),Ut),Nn.Fc(Ut)),Ka(d,u(It(Ut.j,1),11)));for(v=new ur(dr(Fs(r).a.Kc(),new V));Vr(v);)d=u(Nr(v),17),gr=d.d.i,lye(gr)&&(ue=u(Jn(Q,W(gr,(nt(),Mi))),10),ue||(ue=Mst(e,gr),Si(Q,W(gr,Mi),ue),Se.c[Se.c.length]=ue),wa(d,u(It(ue.j,0),11)))}for(L=0;L<K.c.length;L++)if(Te=(En(L,K.c.length),u(K.c[L],15)),!Te.dc())for(P=null,L==0?(P=new Nh(e),Fm(0,q.c.length),MT(q.c,0,P)):L==T.c.length-1?(P=new Nh(e),q.c[q.c.length]=P):P=(En(L-1,q.c.length),u(q.c[L-1],29)),h=Te.Kc();h.Ob();)a=u(h.Pb(),10),Oo(a,P);for(Ke=new C(it);Ke.a<Ke.c.c.length;)Ne=u(Y(Ke),10),Oo(Ne,null);Qe(e,(nt(),sle),it)}}function Mwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;if(Er(n,"Coffman-Graham Layering",1),t.a.c.length==0){lr(n);return}for(Ke=u(W(t,(mt(),uTe)),19).a,v=0,h=0,P=new C(t.a);P.a<P.c.c.length;)for(L=u(Y(P),10),L.p=v++,a=new ur(dr(Fs(L).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),i.p=h++;for(e.d=Ie(El,s0,25,v,16,1),e.a=Ie(El,s0,25,h,16,1),e.b=Ie(Sr,Jr,25,v,15,1),e.e=Ie(Sr,Jr,25,v,15,1),e.f=Ie(Sr,Jr,25,v,15,1),C$(e.c),Xcn(e,t),q=new yj(new OF(e)),Ne=new C(t.a);Ne.a<Ne.c.c.length;){for(Se=u(Y(Ne),10),a=new ur(dr(Wo(Se).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),e.a[i.p]||++e.b[Se.p];e.b[Se.p]==0&&yx(r7(q,Se))}for(d=0;q.b.c.length!=0;)for(Se=u(Ere(q),10),e.f[Se.p]=d++,a=new ur(dr(Fs(Se).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),!e.a[i.p]&&(Q=i.d.i,--e.b[Q.p],an(e.c,Q,lt(e.f[Se.p])),e.b[Q.p]==0&&yx(r7(q,Q)));for(z=new yj(new dee(e)),Te=new C(t.a);Te.a<Te.c.c.length;){for(Se=u(Y(Te),10),a=new ur(dr(Fs(Se).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),e.a[i.p]||++e.e[Se.p];e.e[Se.p]==0&&yx(r7(z,Se))}for(T=new at,r=GYe(t,T);z.b.c.length!=0;)for(ue=u(Ere(z),10),(r.a.c.length>=Ke||!Xsn(ue,r))&&(r=GYe(t,T)),Oo(ue,r),a=new ur(dr(Wo(ue).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),!e.a[i.p]&&(K=i.c.i,--e.e[K.p],e.e[K.p]==0&&yx(r7(z,K)));for(x=T.c.length-1;x>=0;--x)st(t.b,(En(x,T.c.length),u(T.c[x],29)));t.a.c=Ie(Xn,_t,1,0,5,1),lr(n)}function Qut(e){var t,n,r,i,a,h,d,v,x;for(e.b=1,wi(e),t=null,e.c==0&&e.a==94?(wi(e),t=(mi(),mi(),new zl(4)),Uc(t,0,F7),d=new zl(4)):d=(mi(),mi(),new zl(4)),i=!0;(x=e.c)!=1;){if(x==0&&e.a==93&&!i){t&&(uC(t,d),d=t);break}if(n=e.a,r=!1,x==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cy(d,f7(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(cy(d,f7(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(v=g4e(e,n),!v)throw ee(new $r(Ur((jr(),Ece))));cy(d,v),r=!0;break;default:n=W4e(e)}else if(x==24&&!i){if(t&&(uC(t,d),d=t),a=Qut(e),uC(d,a),e.c!=0||e.a!=93)throw ee(new $r(Ur((jr(),s1t))));break}if(wi(e),!r){if(x==0){if(n==91)throw ee(new $r(Ur((jr(),j8e))));if(n==93)throw ee(new $r(Ur((jr(),$8e))));if(n==45&&!i&&e.a!=93)throw ee(new $r(Ur((jr(),Tce))))}if(e.c!=0||e.a!=45||n==45&&i)Uc(d,n,n);else{if(wi(e),(x=e.c)==1)throw ee(new $r(Ur((jr(),Zz))));if(x==0&&e.a==93)Uc(d,n,n),Uc(d,45,45);else{if(x==0&&e.a==93||x==24)throw ee(new $r(Ur((jr(),Tce))));if(h=e.a,x==0){if(h==91)throw ee(new $r(Ur((jr(),j8e))));if(h==93)throw ee(new $r(Ur((jr(),$8e))));if(h==45)throw ee(new $r(Ur((jr(),Tce))))}else x==10&&(h=W4e(e));if(wi(e),n>h)throw ee(new $r(Ur((jr(),c1t))));Uc(d,n,h)}}}i=!1}if(e.c==1)throw ee(new $r(Ur((jr(),Zz))));return c4(d),oC(d),e.b=0,wi(e),d}function Dwn(e){Br(e.c,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#decimal"])),Br(e.d,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#integer"])),Br(e.e,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#boolean"])),Br(e.f,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EBoolean",fi,"EBoolean:Object"])),Br(e.i,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#byte"])),Br(e.g,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Br(e.j,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EByte",fi,"EByte:Object"])),Br(e.n,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EChar",fi,"EChar:Object"])),Br(e.t,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#double"])),Br(e.u,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EDouble",fi,"EDouble:Object"])),Br(e.F,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#float"])),Br(e.G,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EFloat",fi,"EFloat:Object"])),Br(e.I,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#int"])),Br(e.J,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EInt",fi,"EInt:Object"])),Br(e.N,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#long"])),Br(e.O,Zr,ie(ne(Et,1),Je,2,6,[Ga,"ELong",fi,"ELong:Object"])),Br(e.Z,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#short"])),Br(e.$,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EShort",fi,"EShort:Object"])),Br(e._,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#string"]))}function Iwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(e.c.length==1)return En(0,e.c.length),u(e.c[0],135);if(e.c.length<=0)return new r$;for(v=new C(e);v.a<v.c.c.length;){for(h=u(Y(v),135),Se=0,q=xi,K=xi,P=za,z=za,ue=si(h.b,0);ue.b!=ue.d.c;)Q=u(ii(ue),86),Se+=u(W(Q,(tw(),Zq)),19).a,q=b.Math.min(q,Q.e.a),K=b.Math.min(K,Q.e.b),P=b.Math.max(P,Q.e.a+Q.f.a),z=b.Math.max(z,Q.e.b+Q.f.b);Qe(h,(tw(),Zq),lt(Se)),Qe(h,(xc(),yS),new Ft(q,K)),Qe(h,bO,new Ft(P,z))}for(fn(),aa(e,new uQ),Ke=new r$,$o(Ke,(En(0,e.c.length),u(e.c[0],94))),L=0,Nn=0,x=new C(e);x.a<x.c.c.length;)h=u(Y(x),135),it=pa(fc(u(W(h,(xc(),bO)),8)),u(W(h,yS),8)),L=b.Math.max(L,it.a),Nn+=it.a*it.b;for(L=b.Math.max(L,b.Math.sqrt(Nn)*We(gt(W(Ke,(tw(),gwt))))),kt=We(gt(W(Ke,m_e))),Rn=0,gr=0,T=0,t=kt,d=new C(e);d.a<d.c.c.length;)h=u(Y(d),135),it=pa(fc(u(W(h,(xc(),bO)),8)),u(W(h,yS),8)),Rn+it.a>L&&(Rn=0,gr+=T+kt,T=0),z1n(Ke,h,Rn,gr),t=b.Math.max(t,Rn+it.a),T=b.Math.max(T,it.b),Rn+=it.a+kt;for(Ne=new Ar,n=new Ar,Ut=new C(e);Ut.a<Ut.c.c.length;)for(Gt=u(Y(Ut),135),r=Bt(Nt(W(Gt,(di(),CO)))),Te=Gt.q?Gt.q:o0,a=Te.vc().Kc();a.Ob();)i=u(a.Pb(),42),Ml(Ne,i.cd())?$e(u(i.cd(),146).wg())!==$e(i.dd())&&(r&&Ml(n,i.cd())?(Gd(),""+u(i.cd(),146).tg()):(Si(Ne,u(i.cd(),146),i.dd()),Qe(Ke,u(i.cd(),146),i.dd()),r&&Si(n,u(i.cd(),146),i.dd()))):(Si(Ne,u(i.cd(),146),i.dd()),Qe(Ke,u(i.cd(),146),i.dd()));return Ke}function Zut(){Zut=de,rae(),ei=new Ov,an(ei,(dt(),Nf),X1),an(ei,Qh,X1),an(ei,ul,X1),an(ei,Pf,X1),an(ei,Pu,X1),an(ei,ll,X1),an(ei,Pf,Nf),an(ei,X1,_h),an(ei,Nf,_h),an(ei,Qh,_h),an(ei,ul,_h),an(ei,Nu,_h),an(ei,Pf,_h),an(ei,Pu,_h),an(ei,ll,_h),an(ei,gu,_h),an(ei,X1,th),an(ei,Nf,th),an(ei,_h,th),an(ei,Qh,th),an(ei,ul,th),an(ei,Nu,th),an(ei,Pf,th),an(ei,gu,th),an(ei,nh,th),an(ei,Pu,th),an(ei,Xu,th),an(ei,ll,th),an(ei,Nf,Qh),an(ei,ul,Qh),an(ei,Pf,Qh),an(ei,ll,Qh),an(ei,Nf,ul),an(ei,Qh,ul),an(ei,Pf,ul),an(ei,ul,ul),an(ei,Pu,ul),an(ei,X1,Ch),an(ei,Nf,Ch),an(ei,_h,Ch),an(ei,th,Ch),an(ei,Qh,Ch),an(ei,ul,Ch),an(ei,Nu,Ch),an(ei,Pf,Ch),an(ei,nh,Ch),an(ei,gu,Ch),an(ei,ll,Ch),an(ei,Pu,Ch),an(ei,Jc,Ch),an(ei,X1,nh),an(ei,Nf,nh),an(ei,_h,nh),an(ei,Qh,nh),an(ei,ul,nh),an(ei,Nu,nh),an(ei,Pf,nh),an(ei,gu,nh),an(ei,ll,nh),an(ei,Xu,nh),an(ei,Jc,nh),an(ei,Nf,gu),an(ei,Qh,gu),an(ei,ul,gu),an(ei,Pf,gu),an(ei,nh,gu),an(ei,ll,gu),an(ei,Pu,gu),an(ei,X1,Ou),an(ei,Nf,Ou),an(ei,_h,Ou),an(ei,Qh,Ou),an(ei,ul,Ou),an(ei,Nu,Ou),an(ei,Pf,Ou),an(ei,gu,Ou),an(ei,ll,Ou),an(ei,Nf,Pu),an(ei,_h,Pu),an(ei,th,Pu),an(ei,ul,Pu),an(ei,X1,Xu),an(ei,Nf,Xu),an(ei,th,Xu),an(ei,Qh,Xu),an(ei,ul,Xu),an(ei,Nu,Xu),an(ei,Pf,Xu),an(ei,Pf,Jc),an(ei,ul,Jc),an(ei,gu,X1),an(ei,gu,Qh),an(ei,gu,_h),an(ei,Nu,X1),an(ei,Nu,Nf),an(ei,Nu,th)}function rz(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new QWe(e.b,e.a,t,e.c);case 1:return new $R(e.a,t,Zi(t.Tg(),e.c));case 43:return new Kqe(e.a,t,Zi(t.Tg(),e.c));case 3:return new Ns(e.a,t,Zi(t.Tg(),e.c));case 45:return new Hu(e.a,t,Zi(t.Tg(),e.c));case 41:return new Il(u(Rh(e.c),26),e.a,t,Zi(t.Tg(),e.c));case 50:return new XJe(u(Rh(e.c),26),e.a,t,Zi(t.Tg(),e.c));case 5:return new bbe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 47:return new iUe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 7:return new ot(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 49:return new T6(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 9:return new Yqe(e.a,t,Zi(t.Tg(),e.c));case 11:return new Wqe(e.a,t,Zi(t.Tg(),e.c));case 13:return new A2e(e.a,t,Zi(t.Tg(),e.c));case 15:return new nj(e.a,t,Zi(t.Tg(),e.c));case 17:return new Xqe(e.a,t,Zi(t.Tg(),e.c));case 19:return new R3(e.a,t,Zi(t.Tg(),e.c));case 21:return new S2e(e.a,t,Zi(t.Tg(),e.c));case 23:return new SM(e.a,t,Zi(t.Tg(),e.c));case 25:return new oUe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 27:return new yn(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 29:return new aUe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 31:return new sUe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 33:return new wbe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 35:return new vbe(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 37:return new Rte(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 39:return new kj(e.a,t,Zi(t.Tg(),e.c),e.d.n);case 40:return new gs(t,Zi(t.Tg(),e.c));default:throw ee(new ec("Unknown feature style: "+e.e))}}function Own(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;switch(Er(n,"Brandes & Koepf node placement",1),e.a=t,e.c=Cpn(t),r=u(W(t,(mt(),Ele)),274),z=Bt(Nt(W(t,oS))),e.d=r==(BD(),fq)&&!z||r==Jue,hbn(e,t),Ke=null,it=null,ue=null,Se=null,Q=(Vl(4,ly),new tu(4)),u(W(t,Ele),274).g){case 3:ue=new d4(t,e.c.d,(L1(),Ib),(bd(),$g)),Q.c[Q.c.length]=ue;break;case 1:Se=new d4(t,e.c.d,(L1(),K1),(bd(),$g)),Q.c[Q.c.length]=Se;break;case 4:Ke=new d4(t,e.c.d,(L1(),Ib),(bd(),Aw)),Q.c[Q.c.length]=Ke;break;case 2:it=new d4(t,e.c.d,(L1(),K1),(bd(),Aw)),Q.c[Q.c.length]=it;break;default:ue=new d4(t,e.c.d,(L1(),Ib),(bd(),$g)),Se=new d4(t,e.c.d,K1,$g),Ke=new d4(t,e.c.d,Ib,Aw),it=new d4(t,e.c.d,K1,Aw),Q.c[Q.c.length]=Ke,Q.c[Q.c.length]=it,Q.c[Q.c.length]=ue,Q.c[Q.c.length]=Se}for(i=new fGe(t,e.c),d=new C(Q);d.a<d.c.c.length;)a=u(Y(d),180),mwn(i,a,e.b),n2n(a);for(P=new Krt(t,e.c),v=new C(Q);v.a<v.c.c.length;)a=u(Y(v),180),pvn(P,a);if(n.n)for(x=new C(Q);x.a<x.c.c.length;)a=u(Y(x),180),z2(n,a+" size is "+mse(a));if(L=null,e.d&&(T=Vvn(e,Q,e.c.d),Oct(t,T,n)&&(L=T)),!L)for(x=new C(Q);x.a<x.c.c.length;)a=u(Y(x),180),Oct(t,a,n)&&(!L||mse(L)>mse(a))&&(L=a);for(!L&&(L=(En(0,Q.c.length),u(Q.c[0],180))),K=new C(t.b);K.a<K.c.c.length;)for(q=u(Y(K),29),Ne=new C(q.a);Ne.a<Ne.c.c.length;)Te=u(Y(Ne),10),Te.n.b=We(L.p[Te.p])+We(L.d[Te.p]);for(n.n&&(z2(n,"Chosen node placement: "+L),z2(n,"Blocks: "+Jst(L)),z2(n,"Classes: "+Kfn(L,n)),z2(n,"Marked edges: "+e.b)),h=new C(Q);h.a<h.c.c.length;)a=u(Y(h),180),a.g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Tnn(e.c),e.b.a.$b(),lr(n)}function Nwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(h=new as,Ke=u(W(n,(mt(),Jl)),103),q=0,ro(h,(!t.a&&(t.a=new ot(fs,t,10,11)),t.a));h.b!=0;)x=u(h.b==0?null:(Qn(h.b!=0),bh(h,h.a.a)),33),($e(jt(t,o2))!==$e((F0(),c2))||$e(jt(t,Ly))===$e((lb(),ZC))||$e(jt(t,Ly))===$e((lb(),QC))||Bt(Nt(jt(t,Ay)))||$e(jt(t,Ak))!==$e((Vv(),I4)))&&!Bt(Nt(jt(x,gle)))&&So(x,(nt(),Oc),lt(q++)),Q=!Bt(Nt(jt(x,Mb))),Q&&(L=(!x.a&&(x.a=new ot(fs,x,10,11)),x.a).i!=0,z=Fun(x),P=$e(jt(x,My))===$e((R0(),qg)),Rn=!X2(x,(di(),AS))||on(Hr(jt(x,AS)),qn),Te=null,Rn&&P&&(L||z)&&(Te=yct(x),Qe(Te,Jl,Ke),Js(Te,oO)&&Y$e(new xye(We(gt(W(Te,oO)))),Te),u(jt(x,Lb),174).gc()!=0&&(T=Te,ms(new mn(null,(!x.c&&(x.c=new ot(xl,x,9,9)),new kn(x.c,16))),new Dr(T)),fot(x,Te))),it=n,kt=u(Jn(e.a,ls(x)),10),kt&&(it=kt.e),Se=mut(e,x,it),Te&&(Se.e=Te,Te.e=Se,ro(h,(!x.a&&(x.a=new ot(fs,x,10,11)),x.a))));for(q=0,ks(h,t,h.c.b,h.c);h.b!=0;){for(a=u(h.b==0?null:(Qn(h.b!=0),bh(h,h.a.a)),33),v=new ir((!a.b&&(a.b=new ot(ta,a,12,3)),a.b));v.e!=v.i.gc();)d=u(br(v),79),Rot(d),($e(jt(t,o2))!==$e((F0(),c2))||$e(jt(t,Ly))===$e((lb(),ZC))||$e(jt(t,Ly))===$e((lb(),QC))||Bt(Nt(jt(t,Ay)))||$e(jt(t,Ak))!==$e((Vv(),I4)))&&So(d,(nt(),Oc),lt(q++)),Ut=Ho(u(_e((!d.b&&(d.b=new yn(kr,d,4,7)),d.b),0),82)),Nn=Ho(u(_e((!d.c&&(d.c=new yn(kr,d,5,8)),d.c),0),82)),!(Bt(Nt(jt(d,Mb)))||Bt(Nt(jt(Ut,Mb)))||Bt(Nt(jt(Nn,Mb))))&&(K=Jv(d)&&Bt(Nt(jt(Ut,Dy)))&&Bt(Nt(jt(d,Ab))),Ne=a,K||Gm(Nn,Ut)?Ne=Ut:Gm(Ut,Nn)&&(Ne=Nn),it=n,kt=u(Jn(e.a,Ne),10),kt&&(it=kt.e),ue=j5e(e,d,Ne,it),Qe(ue,(nt(),o9e),i0n(e,d,t,n)));if(P=$e(jt(a,My))===$e((R0(),qg)),P)for(i=new ir((!a.a&&(a.a=new ot(fs,a,10,11)),a.a));i.e!=i.i.gc();)r=u(br(i),33),Rn=!X2(r,(di(),AS))||on(Hr(jt(r,AS)),qn),Gt=$e(jt(r,My))===$e(qg),Rn&&Gt&&ks(h,r,h.c.b,h.c)}}function Pwn(e,t,n,r,i,a){var h,d,v,x,T,L,P,z,q,K,Q,ue;switch(t){case 71:d=r.q.getFullYear()-Xp>=-1900?1:0,n>=4?Yr(e,ie(ne(Et,1),Je,2,6,[glt,plt])[d]):Yr(e,ie(ne(Et,1),Je,2,6,["BC","AD"])[d]);break;case 121:Can(e,n,r);break;case 77:Mgn(e,n,r);break;case 107:v=i.q.getHours(),v==0?Qd(e,24,n):Qd(e,v,n);break;case 83:Q1n(e,n,i);break;case 69:T=r.q.getDay(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["S","M","T","W","T","F","S"])[T]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae])[T]):Yr(e,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Yr(e,ie(ne(Et,1),Je,2,6,["AM","PM"])[1]):Yr(e,ie(ne(Et,1),Je,2,6,["AM","PM"])[0]);break;case 104:L=i.q.getHours()%12,L==0?Qd(e,12,n):Qd(e,L,n);break;case 75:P=i.q.getHours()%12,Qd(e,P,n);break;case 72:z=i.q.getHours(),Qd(e,z,n);break;case 99:q=r.q.getDay(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["S","M","T","W","T","F","S"])[q]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae])[q]):n==3?Yr(e,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[q]):Qd(e,q,1);break;case 76:K=r.q.getMonth(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[K]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae])[K]):n==3?Yr(e,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[K]):Qd(e,K+1,n);break;case 81:Q=r.q.getMonth()/3|0,n<4?Yr(e,ie(ne(Et,1),Je,2,6,["Q1","Q2","Q3","Q4"])[Q]):Yr(e,ie(ne(Et,1),Je,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[Q]);break;case 100:ue=r.q.getDate(),Qd(e,ue,n);break;case 109:x=i.q.getMinutes(),Qd(e,x,n);break;case 115:h=i.q.getSeconds(),Qd(e,h,n);break;case 122:n<4?Yr(e,a.c[0]):Yr(e,a.c[1]);break;case 118:Yr(e,a.b);break;case 90:n<3?Yr(e,$hn(a)):n==3?Yr(e,Ghn(a)):Yr(e,qhn(a.a));break;default:return!1}return!0}function j5e(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;if(Rot(t),v=u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82),T=u(_e((!t.c&&(t.c=new yn(kr,t,5,8)),t.c),0),82),d=Ho(v),x=Ho(T),h=(!t.a&&(t.a=new ot(os,t,6,6)),t.a).i==0?null:u(_e((!t.a&&(t.a=new ot(os,t,6,6)),t.a),0),202),kt=u(Jn(e.a,d),10),Rn=u(Jn(e.a,x),10),Gt=null,gr=null,me(v,186)&&(it=u(Jn(e.a,v),299),me(it,11)?Gt=u(it,11):me(it,10)&&(kt=u(it,10),Gt=u(It(kt.j,0),11))),me(T,186)&&(Nn=u(Jn(e.a,T),299),me(Nn,11)?gr=u(Nn,11):me(Nn,10)&&(Rn=u(Nn,10),gr=u(It(Rn.j,0),11))),!kt||!Rn)throw ee(new mT("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(K=new Dv,$o(K,t),Qe(K,(nt(),Mi),t),Qe(K,(mt(),Fo),null),z=u(W(r,Qc),21),kt==Rn&&z.Fc((mo(),tS)),Gt||(Ke=(vo(),ou),Ut=null,h&&P3(u(W(kt,vs),98))&&(Ut=new Ft(h.j,h.k),UXe(Ut,FM(t)),xQe(Ut,n),Gm(x,d)&&(Ke=cl,Ni(Ut,kt.n))),Gt=Bct(kt,Ut,Ke,r)),gr||(Ke=(vo(),cl),yi=null,h&&P3(u(W(Rn,vs),98))&&(yi=new Ft(h.b,h.c),UXe(yi,FM(t)),xQe(yi,n)),gr=Bct(Rn,yi,Ke,Xa(Rn))),Ka(K,Gt),wa(K,gr),(Gt.e.c.length>1||Gt.g.c.length>1||gr.e.c.length>1||gr.g.c.length>1)&&z.Fc((mo(),eS)),P=new ir((!t.n&&(t.n=new ot(Qo,t,1,7)),t.n));P.e!=P.i.gc();)if(L=u(br(P),137),!Bt(Nt(jt(L,Mb)))&&L.a)switch(Q=sie(L),st(K.b,Q),u(W(Q,Od),272).g){case 1:case 2:z.Fc((mo(),tE));break;case 0:z.Fc((mo(),eE)),Qe(Q,Od,(N1(),bE))}if(a=u(W(r,aS),314),ue=u(W(r,Iq),315),i=a==(z6(),ZI)||ue==(G_(),Ble),h&&(!h.a&&(h.a=new Ns(Zh,h,5)),h.a).i!=0&&i){for(Se=jD(h),q=new $u,Ne=si(Se,0);Ne.b!=Ne.d.c;)Te=u(ii(Ne),8),oi(q,new Do(Te));Qe(K,h9e,q)}return K}function Bwn(e){e.gb||(e.gb=!0,e.b=gc(e,0),hs(e.b,18),Hi(e.b,19),e.a=gc(e,1),hs(e.a,1),Hi(e.a,2),Hi(e.a,3),Hi(e.a,4),Hi(e.a,5),e.o=gc(e,2),hs(e.o,8),hs(e.o,9),Hi(e.o,10),Hi(e.o,11),Hi(e.o,12),Hi(e.o,13),Hi(e.o,14),Hi(e.o,15),Hi(e.o,16),Hi(e.o,17),Hi(e.o,18),Hi(e.o,19),Hi(e.o,20),Hi(e.o,21),Hi(e.o,22),Hi(e.o,23),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),e.p=gc(e,3),hs(e.p,2),hs(e.p,3),hs(e.p,4),hs(e.p,5),Hi(e.p,6),Hi(e.p,7),Po(e.p),Po(e.p),e.q=gc(e,4),hs(e.q,8),e.v=gc(e,5),Hi(e.v,9),Po(e.v),Po(e.v),Po(e.v),e.w=gc(e,6),hs(e.w,2),hs(e.w,3),hs(e.w,4),Hi(e.w,5),e.B=gc(e,7),Hi(e.B,1),Po(e.B),Po(e.B),Po(e.B),e.Q=gc(e,8),Hi(e.Q,0),Po(e.Q),e.R=gc(e,9),hs(e.R,1),e.S=gc(e,10),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),e.T=gc(e,11),Hi(e.T,10),Hi(e.T,11),Hi(e.T,12),Hi(e.T,13),Hi(e.T,14),Po(e.T),Po(e.T),e.U=gc(e,12),hs(e.U,2),hs(e.U,3),Hi(e.U,4),Hi(e.U,5),Hi(e.U,6),Hi(e.U,7),Po(e.U),e.V=gc(e,13),Hi(e.V,10),e.W=gc(e,14),hs(e.W,18),hs(e.W,19),hs(e.W,20),Hi(e.W,21),Hi(e.W,22),Hi(e.W,23),e.bb=gc(e,15),hs(e.bb,10),hs(e.bb,11),hs(e.bb,12),hs(e.bb,13),hs(e.bb,14),hs(e.bb,15),hs(e.bb,16),Hi(e.bb,17),Po(e.bb),Po(e.bb),e.eb=gc(e,16),hs(e.eb,2),hs(e.eb,3),hs(e.eb,4),hs(e.eb,5),hs(e.eb,6),hs(e.eb,7),Hi(e.eb,8),Hi(e.eb,9),e.ab=gc(e,17),hs(e.ab,0),hs(e.ab,1),e.H=gc(e,18),Hi(e.H,0),Hi(e.H,1),Hi(e.H,2),Hi(e.H,3),Hi(e.H,4),Hi(e.H,5),Po(e.H),e.db=gc(e,19),Hi(e.db,2),e.c=hi(e,20),e.d=hi(e,21),e.e=hi(e,22),e.f=hi(e,23),e.i=hi(e,24),e.g=hi(e,25),e.j=hi(e,26),e.k=hi(e,27),e.n=hi(e,28),e.r=hi(e,29),e.s=hi(e,30),e.t=hi(e,31),e.u=hi(e,32),e.fb=hi(e,33),e.A=hi(e,34),e.C=hi(e,35),e.D=hi(e,36),e.F=hi(e,37),e.G=hi(e,38),e.I=hi(e,39),e.J=hi(e,40),e.L=hi(e,41),e.M=hi(e,42),e.N=hi(e,43),e.O=hi(e,44),e.P=hi(e,45),e.X=hi(e,46),e.Y=hi(e,47),e.Z=hi(e,48),e.$=hi(e,49),e._=hi(e,50),e.cb=hi(e,51),e.K=hi(e,52))}function di(){di=de;var e,t;AS=new Qi(ift),pE=new Qi(sft),HCe=(Zd(),The),tyt=new pn(Cke,HCe),Ok=new pn(uk,null),nyt=new Qi(y8e),GCe=(Jm(),Vi(She,ie(ne(Ahe,1),rt,291,0,[Che]))),fV=new pn(Fz,GCe),CO=new pn(AI,(In(),!1)),qCe=(wo(),u0),Lw=new pn(Lke,qCe),KCe=($0(),$he),UCe=new pn(CI,KCe),XCe=new pn(Gz,!1),QCe=(R0(),wV),Y4=new pn(Bz,QCe),oSe=new yv(12),Pb=new pn(cw,oSe),dV=new pn(yI,!1),ZCe=new pn(Hoe,!1),LO=new pn(mC,!1),fSe=(ya(),g2),LS=new pn(aoe,fSe),Nk=new Qi(Rz),bV=new Qi(mI),Rhe=new Qi(wz),jhe=new Qi(wC),JCe=new $u,X4=new pn(Rke,JCe),iyt=new pn(Hke,!1),syt=new pn(zke,!1),eSe=new dT,AO=new pn(qke,eSe),pV=new pn(Tke,!1),uyt=new pn(aft,1),new pn(oft,!0),lt(0),new pn(cft,lt(100)),new pn(uft,!1),lt(0),new pn(lft,lt(4e3)),lt(0),new pn(hft,lt(400)),new pn(fft,!1),new pn(dft,!1),new pn(gft,!0),new pn(pft,!1),zCe=(rH(),qhe),ryt=new pn(m8e,zCe),lyt=new pn(fke,10),hyt=new pn(dke,10),bSe=new pn(eoe,20),fyt=new pn(gke,10),vSe=new pn(soe,2),dyt=new pn(pke,10),wSe=new pn(bke,0),vV=new pn(mke,5),mSe=new pn(vke,1),ySe=new pn(wke,1),Bb=new pn(dy,20),gyt=new pn(yke,10),ESe=new pn(kke,10),Pk=new Qi(xke),xSe=new wqe,kSe=new pn(Vke,xSe),oyt=new Qi($oe),cSe=!1,ayt=new pn(joe,cSe),nSe=new yv(5),tSe=new pn(Mke,nSe),rSe=(ry(),t=u(Wf(xo),9),new hh(t,u(bf(t,t.length),9),0)),Q4=new pn(A7,rSe),lSe=(e4(),d2),uSe=new pn(Oke,lSe),Ohe=new Qi(Nke),Nhe=new Qi(Pke),Phe=new Qi(Bke),Ihe=new Qi(Fke),iSe=(e=u(Wf(FS),9),new hh(e,u(bf(e,e.length),9),0)),Nb=new pn(k4,iSe),aSe=sn((wl(),yE)),h2=new pn(lk,aSe),sSe=new Ft(0,0),Z4=new pn(hk,sSe),gV=new pn(Roe,!1),VCe=(N1(),bE),Mhe=new pn(jke,VCe),Lhe=new pn(mz,!1),lt(1),new pn(bft,null),hSe=new Qi(Gke),Bhe=new Qi($ke),pSe=(dt(),cc),J4=new pn(_ke,pSe),kl=new Qi(Eke),dSe=(al(),sn(p2)),jy=new pn(L7,dSe),Fhe=new pn(Dke,!1),gSe=new pn(Ike,!0),SO=new pn(Ske,!1),Dhe=new pn(Ake,!1),WCe=new pn(toe,1),YCe=(LH(),zhe),new pn(vft,YCe),cyt=!0}function nt(){nt=de;var e,t;Mi=new Qi(x6e),o9e=new Qi("coordinateOrigin"),lle=new Qi("processors"),a9e=new Hs("compoundNode",(In(),!1)),nO=new Hs("insideConnections",!1),h9e=new Qi("originalBendpoints"),f9e=new Qi("originalDummyNodePosition"),d9e=new Qi("originalLabelEdge"),iO=new Qi("representedLabels"),nS=new Qi("endLabels"),Ek=new Qi("endLabel.origin"),_k=new Hs("labelSide",(Kl(),IO)),j4=new Hs("maxEdgeThickness",0),U1=new Hs("reversed",!1),Ck=new Qi(Jlt),o1=new Hs("longEdgeSource",null),Kh=new Hs("longEdgeTarget",null),Cy=new Hs("longEdgeHasLabelDummies",!1),rO=new Hs("longEdgeBeforeLabelDummy",!1),wq=new Hs("edgeConstraint",(nb(),Kue)),kw=new Qi("inLayerLayoutUnit"),Cb=new Hs("inLayerConstraint",(P0(),eO)),Tk=new Hs("inLayerSuccessorConstraint",new at),l9e=new Hs("inLayerSuccessorConstraintBetweenNonDummies",!1),ol=new Qi("portDummy"),vq=new Hs("crossingHint",lt(0)),Qc=new Hs("graphProperties",(t=u(Wf(ele),9),new hh(t,u(bf(t,t.length),9),0))),vc=new Hs("externalPortSide",(dt(),cc)),u9e=new Hs("externalPortSize",new $a),sle=new Qi("externalPortReplacedDummies"),mq=new Qi("externalPortReplacedDummy"),_y=new Hs("externalPortConnections",(e=u(Wf(oo),9),new hh(e,u(bf(e,e.length),9),0))),xw=new Hs(Vlt,0),s9e=new Qi("barycenterAssociates"),Sk=new Qi("TopSideComments"),xk=new Qi("BottomSideComments"),bq=new Qi("CommentConnectionPort"),ole=new Hs("inputCollect",!1),ule=new Hs("outputCollect",!1),tO=new Hs("cyclic",!1),c9e=new Qi("crossHierarchyMap"),fle=new Qi("targetOffset"),new Hs("splineLabelSize",new $a),H4=new Qi("spacings"),yq=new Hs("partitionConstraint",!1),mw=new Qi("breakingPoint.info"),b9e=new Qi("splines.survivingEdge"),Sb=new Qi("splines.route.start"),z4=new Qi("splines.edgeChain"),p9e=new Qi("originalPortConstraints"),rE=new Qi("selfLoopHolder"),iE=new Qi("splines.nsPortY"),Oc=new Qi("modelOrder"),cle=new Qi("longEdgeTargetNode"),yw=new Hs(Cht,!1),$4=new Hs(Cht,!1),ale=new Qi("layerConstraints.hiddenNodes"),g9e=new Qi("layerConstraints.opposidePort"),hle=new Qi("targetNode.modelOrder")}function $5e(){$5e=de,S9e=(iD(),uq),u2t=new pn(M6e,S9e),k2t=new pn(D6e,(In(),!1)),O9e=(Xj(),ile),C2t=new pn(Ez,O9e),H2t=new pn(I6e,!1),z2t=new pn(O6e,!0),Rpt=new pn(N6e,!1),H9e=(eD(),jle),rbt=new pn(P6e,H9e),lt(1),hbt=new pn(B6e,lt(7)),fbt=new pn(F6e,!1),x2t=new pn(R6e,!1),C9e=(lb(),Vue),c2t=new pn(foe,C9e),B9e=(SH(),Ile),$2t=new pn(TI,B9e),N9e=(mh(),sO),I2t=new pn(j6e,N9e),lt(-1),D2t=new pn($6e,lt(-1)),lt(-1),O2t=new pn(H6e,lt(-1)),lt(-1),N2t=new pn(doe,lt(4)),lt(-1),B2t=new pn(goe,lt(2)),P9e=(l4(),$q),j2t=new pn(poe,P9e),lt(0),R2t=new pn(boe,lt(0)),L2t=new pn(voe,lt(xi)),_9e=(z6(),yk),o2t=new pn(EC,_9e),Wpt=new pn(z6e,!1),t2t=new pn(woe,.1),s2t=new pn(moe,!1),lt(-1),r2t=new pn(G6e,lt(-1)),lt(-1),i2t=new pn(q6e,lt(-1)),lt(0),Ypt=new pn(V6e,lt(40)),T9e=(Fx(),nle),Jpt=new pn(yoe,T9e),E9e=JI,Xpt=new pn(Tz,E9e),$9e=(G_(),hS),nbt=new pn(x4,$9e),K2t=new Qi(_z),F9e=(XM(),hq),G2t=new pn(koe,F9e),R9e=(BD(),fq),V2t=new pn(xoe,R9e),X2t=new pn(Eoe,.3),Z2t=new Qi(Toe),j9e=(Xm(),jq),J2t=new pn(_oe,j9e),M9e=(R$(),Hle),g2t=new pn(U6e,M9e),D9e=(qM(),zle),p2t=new pn(K6e,D9e),I9e=(qx(),gS),b2t=new pn(Cz,I9e),w2t=new pn(Sz,.2),f2t=new pn(Coe,2),obt=new pn(W6e,null),ubt=new pn(Y6e,10),cbt=new pn(X6e,10),lbt=new pn(Q6e,20),lt(0),ibt=new pn(Z6e,lt(0)),lt(0),sbt=new pn(J6e,lt(0)),lt(0),abt=new pn(eke,lt(0)),jpt=new pn(Soe,!1),m9e=(i7(),JC),Hpt=new pn(tke,m9e),w9e=(o$(),Gue),$pt=new pn(nke,w9e),T2t=new pn(Az,!1),lt(0),E2t=new pn(Aoe,lt(16)),lt(0),_2t=new pn(Loe,lt(5)),q9e=(G$(),Vle),Ibt=new pn(K0,q9e),dbt=new pn(Lz,10),bbt=new pn(Mz,1),G9e=(_$(),cq),Ebt=new pn(TC,G9e),mbt=new Qi(Moe),z9e=lt(1),lt(0),kbt=new pn(Doe,z9e),V9e=(B$(),qle),Bbt=new pn(Dz,V9e),Obt=new Qi(Iz),Abt=new pn(Oz,!0),Cbt=new pn(Nz,2),Mbt=new pn(Ioe,!0),L9e=(DH(),lq),h2t=new pn(rke,L9e),A9e=(Q6(),Q7),l2t=new pn(ike,A9e),x9e=(F0(),c2),Kpt=new pn(Pz,x9e),Upt=new pn(ske,!1),y9e=(Vv(),I4),zpt=new pn(Ooe,y9e),k9e=(I_(),Ole),Vpt=new pn(ake,k9e),Gpt=new pn(Noe,0),qpt=new pn(Poe,0),A2t=Uue,S2t=ZI,P2t=Fq,F2t=Fq,M2t=Dle,n2t=(R0(),qg),a2t=yk,e2t=yk,Qpt=yk,Zpt=qg,W2t=fS,Y2t=hS,q2t=hS,U2t=hS,Q2t=Fle,tbt=fS,ebt=fS,v2t=($0(),Bk),m2t=Bk,y2t=gS,d2t=MO,gbt=hE,pbt=By,vbt=hE,wbt=By,Tbt=hE,_bt=By,ybt=que,xbt=cq,Fbt=hE,Rbt=By,Nbt=hE,Pbt=By,Lbt=By,Sbt=By,Dbt=By}function po(){po=de,iEe=new Cs("DIRECTION_PREPROCESSOR",0),tEe=new Cs("COMMENT_PREPROCESSOR",1),WC=new Cs("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),Lue=new Cs("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),EEe=new Cs("PARTITION_PREPROCESSOR",4),GG=new Cs("LABEL_DUMMY_INSERTER",5),JG=new Cs("SELF_LOOP_PREPROCESSOR",6),K7=new Cs("LAYER_CONSTRAINT_PREPROCESSOR",7),kEe=new Cs("PARTITION_MIDPROCESSOR",8),fEe=new Cs("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),mEe=new Cs("NODE_PROMOTION",10),U7=new Cs("LAYER_CONSTRAINT_POSTPROCESSOR",11),xEe=new Cs("PARTITION_POSTPROCESSOR",12),uEe=new Cs("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),TEe=new Cs("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Y7e=new Cs("BREAKING_POINT_INSERTER",15),KG=new Cs("LONG_EDGE_SPLITTER",16),Mue=new Cs("PORT_SIDE_PROCESSOR",17),HG=new Cs("INVERTED_PORT_PROCESSOR",18),XG=new Cs("PORT_LIST_SORTER",19),CEe=new Cs("SORT_BY_INPUT_ORDER_OF_MODEL",20),YG=new Cs("NORTH_SOUTH_PORT_PREPROCESSOR",21),X7e=new Cs("BREAKING_POINT_PROCESSOR",22),yEe=new Cs(wht,23),SEe=new Cs(mht,24),QG=new Cs("SELF_LOOP_PORT_RESTORER",25),_Ee=new Cs("SINGLE_EDGE_GRAPH_WRAPPER",26),zG=new Cs("IN_LAYER_CONSTRAINT_PROCESSOR",27),aEe=new Cs("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),vEe=new Cs("LABEL_AND_NODE_SIZE_PROCESSOR",29),bEe=new Cs("INNERMOST_NODE_MARGIN_CALCULATOR",30),eq=new Cs("SELF_LOOP_ROUTER",31),J7e=new Cs("COMMENT_NODE_MARGIN_CALCULATOR",32),$G=new Cs("END_LABEL_PREPROCESSOR",33),VG=new Cs("LABEL_DUMMY_SWITCHER",34),Z7e=new Cs("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),V7=new Cs("LABEL_SIDE_SELECTOR",36),gEe=new Cs("HYPEREDGE_DUMMY_MERGER",37),lEe=new Cs("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),wEe=new Cs("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),YC=new Cs("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),nEe=new Cs("CONSTRAINTS_POSTPROCESSOR",41),eEe=new Cs("COMMENT_POSTPROCESSOR",42),pEe=new Cs("HYPERNODE_PROCESSOR",43),hEe=new Cs("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),UG=new Cs("LONG_EDGE_JOINER",45),ZG=new Cs("SELF_LOOP_POSTPROCESSOR",46),Q7e=new Cs("BREAKING_POINT_REMOVER",47),WG=new Cs("NORTH_SOUTH_PORT_POSTPROCESSOR",48),dEe=new Cs("HORIZONTAL_COMPACTOR",49),qG=new Cs("LABEL_DUMMY_REMOVER",50),oEe=new Cs("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),sEe=new Cs("END_LABEL_SORTER",52),XI=new Cs("REVERSED_EDGE_RESTORER",53),jG=new Cs("END_LABEL_POSTPROCESSOR",54),cEe=new Cs("HIERARCHICAL_NODE_RESIZER",55),rEe=new Cs("DIRECTION_POSTPROCESSOR",56)}function Fwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf,J1,$V,XO,XS,QO,_E,afe,J3t,ofe,Xg,Pw,CE,ZO,JO,zk,cfe,QS,e4t,zAe,Bw,ZS,ufe,Gk,JS,Yy,eA,lfe,t4t;for(zAe=0,yi=t,rf=0,XO=yi.length;rf<XO;++rf)for(Rn=yi[rf],Pw=new C(Rn.j);Pw.a<Pw.c.c.length;){for(Xg=u(Y(Pw),11),ZO=0,d=new C(Xg.g);d.a<d.c.c.length;)h=u(Y(d),17),Rn.c!=h.d.i.c&&++ZO;ZO>0&&(e.a[Xg.p]=zAe++)}for(JS=0,Us=n,J1=0,XS=Us.length;J1<XS;++J1){for(Rn=Us[J1],QO=0,Pw=new C(Rn.j);Pw.a<Pw.c.c.length&&(Xg=u(Y(Pw),11),Xg.j==(dt(),Ln));)for(d=new C(Xg.e);d.a<d.c.c.length;)if(h=u(Y(d),17),Rn.c!=h.c.i.c){++QO;break}for(afe=0,JO=new Ca(Rn.j,Rn.j.c.length);JO.b>0;){for(Xg=(Qn(JO.b>0),u(JO.a.Xb(JO.c=--JO.b),11)),ZO=0,d=new C(Xg.e);d.a<d.c.c.length;)h=u(Y(d),17),Rn.c!=h.c.i.c&&++ZO;ZO>0&&(Xg.j==(dt(),Ln)?(e.a[Xg.p]=JS,++JS):(e.a[Xg.p]=JS+QO+afe,++afe))}JS+=afe}for(CE=new Ar,q=new C0,gr=t,ih=0,$V=gr.length;ih<$V;++ih)for(Rn=gr[ih],ufe=new C(Rn.j);ufe.a<ufe.c.c.length;)for(ZS=u(Y(ufe),11),d=new C(ZS.g);d.a<d.c.c.length;)if(h=u(Y(d),17),eA=h.d,Rn.c!=eA.i.c)if(Bw=u(hc(jo(CE.f,ZS)),467),Yy=u(hc(jo(CE.f,eA)),467),!Bw&&!Yy)z=new ZVe,q.a.zc(z,q),st(z.a,h),st(z.d,ZS),lu(CE.f,ZS,z),st(z.d,eA),lu(CE.f,eA,z);else if(!Bw)st(Yy.a,h),st(Yy.d,ZS),lu(CE.f,ZS,Yy);else if(!Yy)st(Bw.a,h),st(Bw.d,eA),lu(CE.f,eA,Bw);else if(Bw==Yy)st(Bw.a,h);else{for(st(Bw.a,h),ofe=new C(Yy.d);ofe.a<ofe.c.c.length;)J3t=u(Y(ofe),11),lu(CE.f,J3t,Bw);Ps(Bw.a,Yy.a),Ps(Bw.d,Yy.d),q.a.Bc(Yy)!=null}for(K=u(MD(q,Ie(omn,{3:1,4:1,5:1,1946:1},467,q.a.gc(),0,1)),1946),Nn=t[0].c,e4t=n[0].c,T=K,L=0,P=T.length;L<P;++L)for(x=T[L],x.e=zAe,x.f=JS,Pw=new C(x.d);Pw.a<Pw.c.c.length;)Xg=u(Y(Pw),11),zk=e.a[Xg.p],Xg.i.c==Nn?(zk<x.e&&(x.e=zk),zk>x.b&&(x.b=zk)):Xg.i.c==e4t&&(zk<x.f&&(x.f=zk),zk>x.c&&(x.c=zk));for(xx(K,0,K.length,null),Gk=Ie(Sr,Jr,25,K.length,15,1),r=Ie(Sr,Jr,25,JS+1,15,1),ue=0;ue<K.length;ue++)Gk[ue]=K[ue].f,r[Gk[ue]]=1;for(a=0,Se=0;Se<r.length;Se++)r[Se]==1?r[Se]=a:--a;for(cfe=0,Te=0;Te<Gk.length;Te++)Gk[Te]+=r[Gk[Te]],cfe=b.Math.max(cfe,Gk[Te]+1);for(v=1;v<cfe;)v*=2;for(t4t=2*v-1,v-=1,lfe=Ie(Sr,Jr,25,t4t,15,1),i=0,Gt=0;Gt<Gk.length;Gt++)for(kt=Gk[Gt]+v,++lfe[kt];kt>0;)kt%2>0&&(i+=lfe[kt+1]),kt=(kt-1)/2|0,++lfe[kt];for(Ut=Ie(Svt,_t,362,K.length*2,0,1),Ne=0;Ne<K.length;Ne++)Ut[2*Ne]=new Mj(K[Ne],K[Ne].e,K[Ne].b,(y_(),vS)),Ut[2*Ne+1]=new Mj(K[Ne],K[Ne].b,K[Ne].e,bS);for(xx(Ut,0,Ut.length,null),_E=0,Ke=0;Ke<Ut.length;Ke++)switch(Ut[Ke].d.g){case 0:++_E;break;case 1:--_E,i+=_E}for(QS=Ie(Svt,_t,362,K.length*2,0,1),it=0;it<K.length;it++)QS[2*it]=new Mj(K[it],K[it].f,K[it].c,(y_(),vS)),QS[2*it+1]=new Mj(K[it],K[it].c,K[it].f,bS);for(xx(QS,0,QS.length,null),_E=0,Q=0;Q<QS.length;Q++)switch(QS[Q].d.g){case 0:++_E;break;case 1:--_E,i+=_E}return i}function mi(){mi=de,YS=new ov(7),NAe=new Ud(8,94),new Ud(8,64),PAe=new Ud(8,36),q3t=new Ud(8,65),V3t=new Ud(8,122),U3t=new Ud(8,90),W3t=new Ud(8,98),G3t=new Ud(8,66),K3t=new Ud(8,60),Y3t=new Ud(8,62),OAe=new ov(11),jV=new zl(4),Uc(jV,48,57),TE=new zl(4),Uc(TE,48,57),Uc(TE,65,90),Uc(TE,95,95),Uc(TE,97,122),Hk=new zl(4),Uc(Hk,9,9),Uc(Hk,10,10),Uc(Hk,12,12),Uc(Hk,13,13),Uc(Hk,32,32),BAe=oy(jV),RAe=oy(TE),FAe=oy(Hk),EE=new Ar,WS=new Ar,z3t=ie(ne(Et,1),Je,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),DAe=ie(ne(Et,1),Je,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",pdt,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),IAe=ie(ne(Sr,1),Jr,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function iz(){iz=de,O0t=new vh("OUT_T_L",0,(sl(),Md),(Cu(),Sf),(Jf(),pc),pc,ie(ne(Uh,1),_t,21,0,[Vi((ry(),If),ie(ne(xo,1),rt,93,0,[Of,Mf]))])),I0t=new vh("OUT_T_C",1,n2,Sf,pc,au,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Of,Q0])),Vi(If,ie(ne(xo,1),rt,93,0,[Of,Q0,Yh]))])),N0t=new vh("OUT_T_R",2,Cf,Sf,pc,bc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Of,Df]))])),T0t=new vh("OUT_B_L",3,Md,a1,bc,pc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Xh,Mf]))])),E0t=new vh("OUT_B_C",4,n2,a1,bc,au,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Xh,Q0])),Vi(If,ie(ne(xo,1),rt,93,0,[Xh,Q0,Yh]))])),_0t=new vh("OUT_B_R",5,Cf,a1,bc,bc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Xh,Df]))])),A0t=new vh("OUT_L_T",6,Cf,a1,pc,pc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Mf,Of,Yh]))])),S0t=new vh("OUT_L_C",7,Cf,r2,au,pc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Mf,h0])),Vi(If,ie(ne(xo,1),rt,93,0,[Mf,h0,Yh]))])),C0t=new vh("OUT_L_B",8,Cf,Sf,bc,pc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Mf,Xh,Yh]))])),D0t=new vh("OUT_R_T",9,Md,a1,pc,bc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Df,Of,Yh]))])),M0t=new vh("OUT_R_C",10,Md,r2,au,bc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Df,h0])),Vi(If,ie(ne(xo,1),rt,93,0,[Df,h0,Yh]))])),L0t=new vh("OUT_R_B",11,Md,Sf,bc,bc,ie(ne(Uh,1),_t,21,0,[Vi(If,ie(ne(xo,1),rt,93,0,[Df,Xh,Yh]))])),k0t=new vh("IN_T_L",12,Md,a1,pc,pc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Mf])),Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Mf,Yh]))])),y0t=new vh("IN_T_C",13,n2,a1,pc,au,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Q0])),Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Q0,Yh]))])),x0t=new vh("IN_T_R",14,Cf,a1,pc,bc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Df])),Vi(eh,ie(ne(xo,1),rt,93,0,[Of,Df,Yh]))])),w0t=new vh("IN_C_L",15,Md,r2,au,pc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Mf])),Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Mf,Yh]))])),v0t=new vh("IN_C_C",16,n2,r2,au,au,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Q0])),Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Q0,Yh]))])),m0t=new vh("IN_C_R",17,Cf,r2,au,bc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Df])),Vi(eh,ie(ne(xo,1),rt,93,0,[h0,Df,Yh]))])),p0t=new vh("IN_B_L",18,Md,Sf,bc,pc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Mf])),Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Mf,Yh]))])),g0t=new vh("IN_B_C",19,n2,Sf,bc,au,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Q0])),Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Q0,Yh]))])),b0t=new vh("IN_B_R",20,Cf,Sf,bc,bc,ie(ne(Uh,1),_t,21,0,[Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Df])),Vi(eh,ie(ne(xo,1),rt,93,0,[Xh,Df,Yh]))])),oue=new vh(bC,21,null,null,null,null,ie(ne(Uh,1),_t,21,0,[]))}function cn(){cn=de,Vy=(Op(),Tn).b,u(_e(qe(Tn.b),0),34),u(_e(qe(Tn.b),1),18),Vg=Tn.a,u(_e(qe(Tn.a),0),34),u(_e(qe(Tn.a),1),18),u(_e(qe(Tn.a),2),18),u(_e(qe(Tn.a),3),18),u(_e(qe(Tn.a),4),18),m2=Tn.o,u(_e(qe(Tn.o),0),34),u(_e(qe(Tn.o),1),34),c3t=u(_e(qe(Tn.o),2),18),u(_e(qe(Tn.o),3),18),u(_e(qe(Tn.o),4),18),u(_e(qe(Tn.o),5),18),u(_e(qe(Tn.o),6),18),u(_e(qe(Tn.o),7),18),u(_e(qe(Tn.o),8),18),u(_e(qe(Tn.o),9),18),u(_e(qe(Tn.o),10),18),u(_e(qe(Tn.o),11),18),u(_e(qe(Tn.o),12),18),u(_e(qe(Tn.o),13),18),u(_e(qe(Tn.o),14),18),u(_e(qe(Tn.o),15),18),u(_e(Pi(Tn.o),0),59),u(_e(Pi(Tn.o),1),59),u(_e(Pi(Tn.o),2),59),u(_e(Pi(Tn.o),3),59),u(_e(Pi(Tn.o),4),59),u(_e(Pi(Tn.o),5),59),u(_e(Pi(Tn.o),6),59),u(_e(Pi(Tn.o),7),59),u(_e(Pi(Tn.o),8),59),u(_e(Pi(Tn.o),9),59),o3t=Tn.p,u(_e(qe(Tn.p),0),34),u(_e(qe(Tn.p),1),34),u(_e(qe(Tn.p),2),34),u(_e(qe(Tn.p),3),34),u(_e(qe(Tn.p),4),18),u(_e(qe(Tn.p),5),18),u(_e(Pi(Tn.p),0),59),u(_e(Pi(Tn.p),1),59),u3t=Tn.q,u(_e(qe(Tn.q),0),34),y2=Tn.v,u(_e(qe(Tn.v),0),18),u(_e(Pi(Tn.v),0),59),u(_e(Pi(Tn.v),1),59),u(_e(Pi(Tn.v),2),59),Ug=Tn.w,u(_e(qe(Tn.w),0),34),u(_e(qe(Tn.w),1),34),u(_e(qe(Tn.w),2),34),u(_e(qe(Tn.w),3),18),k2=Tn.B,u(_e(qe(Tn.B),0),18),u(_e(Pi(Tn.B),0),59),u(_e(Pi(Tn.B),1),59),u(_e(Pi(Tn.B),2),59),l3t=Tn.Q,u(_e(qe(Tn.Q),0),18),u(_e(Pi(Tn.Q),0),59),h3t=Tn.R,u(_e(qe(Tn.R),0),34),nf=Tn.S,u(_e(Pi(Tn.S),0),59),u(_e(Pi(Tn.S),1),59),u(_e(Pi(Tn.S),2),59),u(_e(Pi(Tn.S),3),59),u(_e(Pi(Tn.S),4),59),u(_e(Pi(Tn.S),5),59),u(_e(Pi(Tn.S),6),59),u(_e(Pi(Tn.S),7),59),u(_e(Pi(Tn.S),8),59),u(_e(Pi(Tn.S),9),59),u(_e(Pi(Tn.S),10),59),u(_e(Pi(Tn.S),11),59),u(_e(Pi(Tn.S),12),59),u(_e(Pi(Tn.S),13),59),u(_e(Pi(Tn.S),14),59),Kg=Tn.T,u(_e(qe(Tn.T),0),18),u(_e(qe(Tn.T),2),18),f3t=u(_e(qe(Tn.T),3),18),u(_e(qe(Tn.T),4),18),u(_e(Pi(Tn.T),0),59),u(_e(Pi(Tn.T),1),59),u(_e(qe(Tn.T),1),18),Wg=Tn.U,u(_e(qe(Tn.U),0),34),u(_e(qe(Tn.U),1),34),u(_e(qe(Tn.U),2),18),u(_e(qe(Tn.U),3),18),u(_e(qe(Tn.U),4),18),u(_e(qe(Tn.U),5),18),u(_e(Pi(Tn.U),0),59),Uy=Tn.V,u(_e(qe(Tn.V),0),18),e5=Tn.W,u(_e(qe(Tn.W),0),34),u(_e(qe(Tn.W),1),34),u(_e(qe(Tn.W),2),34),u(_e(qe(Tn.W),3),18),u(_e(qe(Tn.W),4),18),u(_e(qe(Tn.W),5),18),d3t=Tn.bb,u(_e(qe(Tn.bb),0),34),u(_e(qe(Tn.bb),1),34),u(_e(qe(Tn.bb),2),34),u(_e(qe(Tn.bb),3),34),u(_e(qe(Tn.bb),4),34),u(_e(qe(Tn.bb),5),34),u(_e(qe(Tn.bb),6),34),u(_e(qe(Tn.bb),7),18),u(_e(Pi(Tn.bb),0),59),u(_e(Pi(Tn.bb),1),59),g3t=Tn.eb,u(_e(qe(Tn.eb),0),34),u(_e(qe(Tn.eb),1),34),u(_e(qe(Tn.eb),2),34),u(_e(qe(Tn.eb),3),34),u(_e(qe(Tn.eb),4),34),u(_e(qe(Tn.eb),5),34),u(_e(qe(Tn.eb),6),18),u(_e(qe(Tn.eb),7),18),co=Tn.ab,u(_e(qe(Tn.ab),0),34),u(_e(qe(Tn.ab),1),34),Iw=Tn.H,u(_e(qe(Tn.H),0),18),u(_e(qe(Tn.H),1),18),u(_e(qe(Tn.H),2),18),u(_e(qe(Tn.H),3),18),u(_e(qe(Tn.H),4),18),u(_e(qe(Tn.H),5),18),u(_e(Pi(Tn.H),0),59),Ow=Tn.db,u(_e(qe(Tn.db),0),18),Q1=Tn.M}function Rwn(e){var t;e.O||(e.O=!0,nu(e,"type"),N$(e,"ecore.xml.type"),P$(e,xb),t=u(c7((Tp(),tf),xb),1945),Pr(Ro(e.fb),e.b),dc(e.b,UO,"AnyType",!1,!1,!0),ys(u(_e(qe(e.b),0),34),e.wb.D,II,null,0,-1,UO,!1,!1,!0,!1,!1,!1),ys(u(_e(qe(e.b),1),34),e.wb.D,"any",null,0,-1,UO,!0,!0,!0,!1,!1,!0),ys(u(_e(qe(e.b),2),34),e.wb.D,"anyAttribute",null,0,-1,UO,!1,!1,!0,!1,!1,!1),dc(e.bb,FV,X1t,!1,!1,!0),ys(u(_e(qe(e.bb),0),34),e.gb,"data",null,0,1,FV,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),1),34),e.gb,P8e,null,1,1,FV,!1,!1,!0,!1,!0,!1),dc(e.fb,KO,Q1t,!1,!1,!0),ys(u(_e(qe(e.fb),0),34),t.gb,"rawValue",null,0,1,KO,!0,!0,!0,!1,!0,!0),ys(u(_e(qe(e.fb),1),34),t.a,IC,null,0,1,KO,!0,!0,!0,!1,!0,!0),zi(u(_e(qe(e.fb),2),18),e.wb.q,null,"instanceType",1,1,KO,!1,!1,!0,!1,!1,!1,!1),dc(e.qb,SAe,Z1t,!1,!1,!0),ys(u(_e(qe(e.qb),0),34),e.wb.D,II,null,0,-1,null,!1,!1,!0,!1,!1,!1),zi(u(_e(qe(e.qb),1),18),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.qb),2),18),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),ys(u(_e(qe(e.qb),3),34),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),ys(u(_e(qe(e.qb),4),34),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),zi(u(_e(qe(e.qb),5),18),e.bb,null,hdt,0,-2,null,!0,!0,!0,!0,!1,!1,!0),ys(u(_e(qe(e.qb),6),34),e.gb,pce,null,0,-2,null,!0,!0,!0,!1,!1,!0),li(e.a,Xn,"AnySimpleType",!0),li(e.c,Et,"AnyURI",!0),li(e.d,ne(Qu,1),"Base64Binary",!0),li(e.e,El,"Boolean",!0),li(e.f,Vs,"BooleanObject",!0),li(e.g,Qu,"Byte",!0),li(e.i,bk,"ByteObject",!0),li(e.j,Et,"Date",!0),li(e.k,Et,"DateTime",!0),li(e.n,Qce,"Decimal",!0),li(e.o,va,"Double",!0),li(e.p,ka,"DoubleObject",!0),li(e.q,Et,"Duration",!0),li(e.s,Eh,"ENTITIES",!0),li(e.r,Eh,"ENTITIESBase",!0),li(e.t,Et,Q8e,!0),li(e.u,Wy,"Float",!0),li(e.v,$7,"FloatObject",!0),li(e.w,Et,"GDay",!0),li(e.B,Et,"GMonth",!0),li(e.A,Et,"GMonthDay",!0),li(e.C,Et,"GYear",!0),li(e.D,Et,"GYearMonth",!0),li(e.F,ne(Qu,1),"HexBinary",!0),li(e.G,Et,"ID",!0),li(e.H,Et,"IDREF",!0),li(e.J,Eh,"IDREFS",!0),li(e.I,Eh,"IDREFSBase",!0),li(e.K,Sr,"Int",!0),li(e.M,L4,"Integer",!0),li(e.L,Ja,"IntObject",!0),li(e.P,Et,"Language",!0),li(e.Q,E2,"Long",!0),li(e.R,gw,"LongObject",!0),li(e.S,Et,"Name",!0),li(e.T,Et,lG,!0),li(e.U,L4,"NegativeInteger",!0),li(e.V,Et,exe,!0),li(e.X,Eh,"NMTOKENS",!0),li(e.W,Eh,"NMTOKENSBase",!0),li(e.Y,L4,"NonNegativeInteger",!0),li(e.Z,L4,"NonPositiveInteger",!0),li(e.$,Et,"NormalizedString",!0),li(e._,Et,"NOTATION",!0),li(e.ab,Et,"PositiveInteger",!0),li(e.cb,Et,"QName",!0),li(e.db,i5,"Short",!0),li(e.eb,pw,"ShortObject",!0),li(e.gb,Et,q5e,!0),li(e.hb,Et,"Time",!0),li(e.ib,Et,"Token",!0),li(e.jb,i5,"UnsignedByte",!0),li(e.kb,pw,"UnsignedByteObject",!0),li(e.lb,E2,"UnsignedInt",!0),li(e.mb,gw,"UnsignedIntObject",!0),li(e.nb,L4,"UnsignedLong",!0),li(e.ob,Sr,"UnsignedShort",!0),li(e.pb,Ja,"UnsignedShortObject",!0),eye(e,xb),jwn(e))}function Jut(e){vv(e,new hb(ppe(WF(dv(lv(fv(hv(new og,qn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new LX),qn),Vi((o7(),Whe),ie(ne(MV,1),rt,237,0,[AV,LV,SV,Khe,CV,_V]))))),pt(e,qn,fke,Ct(_le)),pt(e,qn,dke,Ct(_Te)),pt(e,qn,eoe,Ct(cO)),pt(e,qn,gke,Ct(Af)),pt(e,qn,soe,Ct(Mk)),pt(e,qn,pke,Ct(Cw)),pt(e,qn,bke,Ct(Py)),pt(e,qn,vke,Ct(uE)),pt(e,qn,wke,Ct(lE)),pt(e,qn,mke,Ct(Cle)),pt(e,qn,dy,Ct(Sw)),pt(e,qn,yke,Ct(Sle)),pt(e,qn,kke,Ct(uS)),pt(e,qn,xke,Ct(Nq)),pt(e,qn,W6e,Ct(oO)),pt(e,qn,X6e,Ct(G4)),pt(e,qn,Y6e,Ct(Db)),pt(e,qn,Q6e,Ct(q4)),pt(e,qn,mI,lt(0)),pt(e,qn,Z6e,Ct(cE)),pt(e,qn,J6e,Ct(TTe)),pt(e,qn,eke,Ct(Lk)),pt(e,qn,K0,Ct(OTe)),pt(e,qn,Lz,Ct(CTe)),pt(e,qn,Mz,Ct(STe)),pt(e,qn,TC,Ct(Lle)),pt(e,qn,Moe,Ct(ATe)),pt(e,qn,Doe,Ct(LTe)),pt(e,qn,Dz,Ct(Pq)),pt(e,qn,Iz,Ct(Mle)),pt(e,qn,Oz,Ct(DTe)),pt(e,qn,Nz,Ct(MTe)),pt(e,qn,Ioe,Ct(ITe)),pt(e,qn,Toe,Ct(Tw)),pt(e,qn,_oe,Ct(cS)),pt(e,qn,Cz,Ct(yle)),pt(e,qn,Sz,Ct(nTe)),pt(e,qn,cw,mTe),pt(e,qn,CI,J9e),pt(e,qn,Eke,0),pt(e,qn,wz,lt(1)),pt(e,qn,uk,S7),pt(e,qn,Tke,Ct(Mb)),pt(e,qn,aoe,Ct(vs)),pt(e,qn,_ke,Ct(oE)),pt(e,qn,AI,Ct($bt)),pt(e,qn,Cke,Ct(Id)),pt(e,qn,Bz,Ct(My)),pt(e,qn,wC,(In(),!0)),pt(e,qn,Ske,Ct(Dy)),pt(e,qn,Ake,Ct(Ab)),pt(e,qn,k4,Ct(Lb)),pt(e,qn,lk,Ct(Oq)),pt(e,qn,Roe,Ct(Tle)),pt(e,qn,Lke,Z9e),pt(e,qn,A7,Ct(Ew)),pt(e,qn,Mke,Ct(Dq)),pt(e,qn,L7,Ct(Oy)),pt(e,qn,Dke,Ct(Ubt)),pt(e,qn,Ike,Ct(xTe)),pt(e,qn,Oke,kTe),pt(e,qn,Nke,Ct(Gbt)),pt(e,qn,Pke,Ct(qbt)),pt(e,qn,Bke,Ct(Vbt)),pt(e,qn,Fke,Ct(zbt)),pt(e,qn,F6e,Ct(Ale)),pt(e,qn,TI,Ct(dTe)),pt(e,qn,poe,Ct(xle)),pt(e,qn,B6e,Ct(lS)),pt(e,qn,j6e,Ct(du)),pt(e,qn,foe,Ct(Ly)),pt(e,qn,EC,Ct(aS)),pt(e,qn,z6e,Ct(Ay)),pt(e,qn,V6e,Ct(Y9e)),pt(e,qn,yoe,Ct(ble)),pt(e,qn,Tz,Ct(aO)),pt(e,qn,moe,Ct(vle)),pt(e,qn,I6e,Ct(gTe)),pt(e,qn,O6e,Ct(pTe)),pt(e,qn,Ez,Ct(cTe)),pt(e,qn,x4,Ct(Iq)),pt(e,qn,xoe,Ct(Ele)),pt(e,qn,D6e,Ct(kle)),pt(e,qn,Eoe,Ct(vTe)),pt(e,qn,U6e,Ct(tTe)),pt(e,qn,K6e,Ct(mle)),pt(e,qn,Fz,Ct(ple)),pt(e,qn,koe,Ct(bTe)),pt(e,qn,tke,Ct(Eq)),pt(e,qn,nke,Ct(U9e)),pt(e,qn,Soe,Ct(xq)),pt(e,qn,Az,Ct(sTe)),pt(e,qn,Aoe,Ct(iTe)),pt(e,qn,Loe,Ct(aTe)),pt(e,qn,hk,Ct(sE)),pt(e,qn,Rke,Ct(Fo)),pt(e,qn,toe,Ct(Rg)),pt(e,qn,jke,Ct(Od)),pt(e,qn,mz,Ct(wle)),pt(e,qn,woe,Ct(X9e)),pt(e,qn,$ke,Ct(jg)),pt(e,qn,Hke,Ct(sS)),pt(e,qn,zke,Ct(Aq)),pt(e,qn,Gke,Ct(_w)),pt(e,qn,joe,Ct(yTe)),pt(e,qn,$oe,Ct(aE)),pt(e,qn,doe,Ct(lTe)),pt(e,qn,goe,Ct(hTe)),pt(e,qn,Rz,Ct(Ny)),pt(e,qn,N6e,Ct(dle)),pt(e,qn,boe,Ct(fTe)),pt(e,qn,rke,Ct(Sq)),pt(e,qn,ike,Ct(Cq)),pt(e,qn,qke,Ct(Mq)),pt(e,qn,voe,Ct(uTe)),pt(e,qn,_z,Ct(oS)),pt(e,qn,Vke,Ct(uO)),pt(e,qn,M6e,Ct(Q9e)),pt(e,qn,P6e,Ct(ETe)),pt(e,qn,Coe,Ct(eTe)),pt(e,qn,$6e,Ct(Hbt)),pt(e,qn,G6e,Ct(jbt)),pt(e,qn,Hoe,Ct(oTe)),pt(e,qn,H6e,Ct(Lq)),pt(e,qn,q6e,Ct(_q)),pt(e,qn,Pz,Ct(o2)),pt(e,qn,ake,Ct(W9e)),pt(e,qn,Noe,Ct(Tq)),pt(e,qn,Poe,Ct(K9e)),pt(e,qn,ske,Ct(gle)),pt(e,qn,Ooe,Ct(Ak)),pt(e,qn,R6e,Ct(rTe))}function v4(e,t){var n,r;return r5||(r5=new Ar,xE=new Ar,r=(mi(),mi(),new zl(4)),SD(r,`
-\r\r `),Io(r5,Nce,r),Io(xE,Nce,oy(r)),r=new zl(4),SD(r,ddt),Io(r5,HC,r),Io(xE,HC,oy(r)),r=new zl(4),SD(r,ddt),Io(r5,HC,r),Io(xE,HC,oy(r)),r=new zl(4),SD(r,gdt),cy(r,u(Gc(r5,HC),117)),Io(r5,Oce,r),Io(xE,Oce,oy(r)),r=new zl(4),SD(r,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Io(r5,Pce,r),Io(xE,Pce,oy(r)),r=new zl(4),SD(r,gdt),Uc(r,95,95),Uc(r,58,58),Io(r5,Bce,r),Io(xE,Bce,oy(r))),n=u(Gc(t?r5:xE,e),136),n}function jwn(e){Br(e.a,Zr,ie(ne(Et,1),Je,2,6,[fi,"anySimpleType"])),Br(e.b,Zr,ie(ne(Et,1),Je,2,6,[fi,"anyType",Gh,II])),Br(u(_e(qe(e.b),0),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,Ace,fi,":mixed"])),Br(u(_e(qe(e.b),1),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,Ace,Y8e,Mce,fi,":1",J1t,"lax"])),Br(u(_e(qe(e.b),2),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,Y1t,Y8e,Mce,fi,":2",J1t,"lax"])),Br(e.c,Zr,ie(ne(Et,1),Je,2,6,[fi,"anyURI",Vh,s1])),Br(e.d,Zr,ie(ne(Et,1),Je,2,6,[fi,"base64Binary",Vh,s1])),Br(e.e,Zr,ie(ne(Et,1),Je,2,6,[fi,nk,Vh,s1])),Br(e.f,Zr,ie(ne(Et,1),Je,2,6,[fi,"boolean:Object",Ga,nk])),Br(e.g,Zr,ie(ne(Et,1),Je,2,6,[fi,NC])),Br(e.i,Zr,ie(ne(Et,1),Je,2,6,[fi,"byte:Object",Ga,NC])),Br(e.j,Zr,ie(ne(Et,1),Je,2,6,[fi,"date",Vh,s1])),Br(e.k,Zr,ie(ne(Et,1),Je,2,6,[fi,"dateTime",Vh,s1])),Br(e.n,Zr,ie(ne(Et,1),Je,2,6,[fi,"decimal",Vh,s1])),Br(e.o,Zr,ie(ne(Et,1),Je,2,6,[fi,PC,Vh,s1])),Br(e.p,Zr,ie(ne(Et,1),Je,2,6,[fi,"double:Object",Ga,PC])),Br(e.q,Zr,ie(ne(Et,1),Je,2,6,[fi,"duration",Vh,s1])),Br(e.s,Zr,ie(ne(Et,1),Je,2,6,[fi,"ENTITIES",Ga,edt,X8e,"1"])),Br(e.r,Zr,ie(ne(Et,1),Je,2,6,[fi,edt,Lce,Q8e])),Br(e.t,Zr,ie(ne(Et,1),Je,2,6,[fi,Q8e,Ga,lG])),Br(e.u,Zr,ie(ne(Et,1),Je,2,6,[fi,BC,Vh,s1])),Br(e.v,Zr,ie(ne(Et,1),Je,2,6,[fi,"float:Object",Ga,BC])),Br(e.w,Zr,ie(ne(Et,1),Je,2,6,[fi,"gDay",Vh,s1])),Br(e.B,Zr,ie(ne(Et,1),Je,2,6,[fi,"gMonth",Vh,s1])),Br(e.A,Zr,ie(ne(Et,1),Je,2,6,[fi,"gMonthDay",Vh,s1])),Br(e.C,Zr,ie(ne(Et,1),Je,2,6,[fi,"gYear",Vh,s1])),Br(e.D,Zr,ie(ne(Et,1),Je,2,6,[fi,"gYearMonth",Vh,s1])),Br(e.F,Zr,ie(ne(Et,1),Je,2,6,[fi,"hexBinary",Vh,s1])),Br(e.G,Zr,ie(ne(Et,1),Je,2,6,[fi,"ID",Ga,lG])),Br(e.H,Zr,ie(ne(Et,1),Je,2,6,[fi,"IDREF",Ga,lG])),Br(e.J,Zr,ie(ne(Et,1),Je,2,6,[fi,"IDREFS",Ga,tdt,X8e,"1"])),Br(e.I,Zr,ie(ne(Et,1),Je,2,6,[fi,tdt,Lce,"IDREF"])),Br(e.K,Zr,ie(ne(Et,1),Je,2,6,[fi,FC])),Br(e.M,Zr,ie(ne(Et,1),Je,2,6,[fi,Z8e])),Br(e.L,Zr,ie(ne(Et,1),Je,2,6,[fi,"int:Object",Ga,FC])),Br(e.P,Zr,ie(ne(Et,1),Je,2,6,[fi,"language",Ga,Dce,Ice,ndt])),Br(e.Q,Zr,ie(ne(Et,1),Je,2,6,[fi,RC])),Br(e.R,Zr,ie(ne(Et,1),Je,2,6,[fi,"long:Object",Ga,RC])),Br(e.S,Zr,ie(ne(Et,1),Je,2,6,[fi,"Name",Ga,Dce,Ice,J8e])),Br(e.T,Zr,ie(ne(Et,1),Je,2,6,[fi,lG,Ga,"Name",Ice,rdt])),Br(e.U,Zr,ie(ne(Et,1),Je,2,6,[fi,"negativeInteger",Ga,idt,FI,"-1"])),Br(e.V,Zr,ie(ne(Et,1),Je,2,6,[fi,exe,Ga,Dce,Ice,"\\c+"])),Br(e.X,Zr,ie(ne(Et,1),Je,2,6,[fi,"NMTOKENS",Ga,sdt,X8e,"1"])),Br(e.W,Zr,ie(ne(Et,1),Je,2,6,[fi,sdt,Lce,exe])),Br(e.Y,Zr,ie(ne(Et,1),Je,2,6,[fi,txe,Ga,Z8e,RI,"0"])),Br(e.Z,Zr,ie(ne(Et,1),Je,2,6,[fi,idt,Ga,Z8e,FI,"0"])),Br(e.$,Zr,ie(ne(Et,1),Je,2,6,[fi,adt,Ga,sae,Vh,"replace"])),Br(e._,Zr,ie(ne(Et,1),Je,2,6,[fi,"NOTATION",Vh,s1])),Br(e.ab,Zr,ie(ne(Et,1),Je,2,6,[fi,"positiveInteger",Ga,txe,RI,"1"])),Br(e.bb,Zr,ie(ne(Et,1),Je,2,6,[fi,"processingInstruction_._type",Gh,"empty"])),Br(u(_e(qe(e.bb),0),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,aG,fi,"data"])),Br(u(_e(qe(e.bb),1),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,aG,fi,P8e])),Br(e.cb,Zr,ie(ne(Et,1),Je,2,6,[fi,"QName",Vh,s1])),Br(e.db,Zr,ie(ne(Et,1),Je,2,6,[fi,jC])),Br(e.eb,Zr,ie(ne(Et,1),Je,2,6,[fi,"short:Object",Ga,jC])),Br(e.fb,Zr,ie(ne(Et,1),Je,2,6,[fi,"simpleAnyType",Gh,OI])),Br(u(_e(qe(e.fb),0),34),Zr,ie(ne(Et,1),Je,2,6,[fi,":3",Gh,OI])),Br(u(_e(qe(e.fb),1),34),Zr,ie(ne(Et,1),Je,2,6,[fi,":4",Gh,OI])),Br(u(_e(qe(e.fb),2),18),Zr,ie(ne(Et,1),Je,2,6,[fi,":5",Gh,OI])),Br(e.gb,Zr,ie(ne(Et,1),Je,2,6,[fi,sae,Vh,"preserve"])),Br(e.hb,Zr,ie(ne(Et,1),Je,2,6,[fi,"time",Vh,s1])),Br(e.ib,Zr,ie(ne(Et,1),Je,2,6,[fi,Dce,Ga,adt,Vh,s1])),Br(e.jb,Zr,ie(ne(Et,1),Je,2,6,[fi,odt,FI,"255",RI,"0"])),Br(e.kb,Zr,ie(ne(Et,1),Je,2,6,[fi,"unsignedByte:Object",Ga,odt])),Br(e.lb,Zr,ie(ne(Et,1),Je,2,6,[fi,cdt,FI,"4294967295",RI,"0"])),Br(e.mb,Zr,ie(ne(Et,1),Je,2,6,[fi,"unsignedInt:Object",Ga,cdt])),Br(e.nb,Zr,ie(ne(Et,1),Je,2,6,[fi,"unsignedLong",Ga,txe,FI,udt,RI,"0"])),Br(e.ob,Zr,ie(ne(Et,1),Je,2,6,[fi,ldt,FI,"65535",RI,"0"])),Br(e.pb,Zr,ie(ne(Et,1),Je,2,6,[fi,"unsignedShort:Object",Ga,ldt])),Br(e.qb,Zr,ie(ne(Et,1),Je,2,6,[fi,"",Gh,II])),Br(u(_e(qe(e.qb),0),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,Ace,fi,":mixed"])),Br(u(_e(qe(e.qb),1),18),Zr,ie(ne(Et,1),Je,2,6,[Gh,aG,fi,"xmlns:prefix"])),Br(u(_e(qe(e.qb),2),18),Zr,ie(ne(Et,1),Je,2,6,[Gh,aG,fi,"xsi:schemaLocation"])),Br(u(_e(qe(e.qb),3),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,oG,fi,"cDATA",cG,NI])),Br(u(_e(qe(e.qb),4),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,oG,fi,"comment",cG,NI])),Br(u(_e(qe(e.qb),5),18),Zr,ie(ne(Et,1),Je,2,6,[Gh,oG,fi,hdt,cG,NI])),Br(u(_e(qe(e.qb),6),34),Zr,ie(ne(Et,1),Je,2,6,[Gh,oG,fi,pce,cG,NI]))}function Ur(e){return on("_UI_EMFDiagnostic_marker",e)?"EMF Problem":on("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":on(Kft,e)?"Wrong character.":on(Wft,e)?"Invalid reference number.":on(Qz,e)?"A character is required after \\.":on(xce,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":on(Yft,e)?"'(?<' or '(?<!' is expected.":on(Xft,e)?"A comment is not terminated.":on(kb,e)?"')' is expected.":on(B8e,e)?"Unexpected end of the pattern in a modifier group.":on(Qft,e)?"':' is expected.":on(Zft,e)?"Unexpected end of the pattern in a conditional group.":on(Jft,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":on(e1t,e)?"There are more than three choices in a conditional group.":on(t1t,e)?"A character in U+0040-U+005f must follow \\c.":on(n1t,e)?"A '{' is required before a character category.":on(r1t,e)?"A property name is not closed by '}'.":on(F8e,e)?"Unexpected meta character.":on(Ece,e)?"Unknown property.":on(R8e,e)?"A POSIX character class must be closed by ':]'.":on(Zz,e)?"Unexpected end of the pattern in a character class.":on(i1t,e)?"Unknown name for a POSIX character class.":on("parser.cc.4",e)?"'-' is invalid here.":on(s1t,e)?"']' is expected.":on(j8e,e)?"'[' is invalid in a character class. Write '\\['.":on($8e,e)?"']' is invalid in a character class. Write '\\]'.":on(Tce,e)?"'-' is an invalid character range. Write '\\-'.":on(a1t,e)?"'[' is expected.":on(o1t,e)?"')' or '-[' or '+[' or '&[' is expected.":on(c1t,e)?"The range end code point is less than the start code point.":on(Bg,e)?"Invalid Unicode hex notation.":on(u1t,e)?"Overflow in a hex notation.":on(l1t,e)?"'\\x{' must be closed by '}'.":on(h1t,e)?"Invalid Unicode code point.":on(f1t,e)?"An anchor must not be here.":on(xh,e)?"This expression is not supported in the current option setting.":on(d1t,e)?"Invalid quantifier. A digit is expected.":on(g1t,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":on(p1t,e)?"Invalid quantifier. A digit or '}' is expected.":on(b1t,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":on(H8e,e)?"Invalid quantifier. A quantity value overflow.":on("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":on("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":on("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":on("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":on("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":on("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":on("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":on("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":on("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":on("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":on("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":on("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":on("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":on("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":on("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":on("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":on("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":on("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":on("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":on("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":on("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":on("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":on("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":on("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":on("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":on("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":on("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":on("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":on("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":on("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":on("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function $wn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K;e.r||(e.r=!0,nu(e,"graph"),N$(e,"graph"),P$(e,N7),lD(e.o,"T"),Pr(Ro(e.a),e.p),Pr(Ro(e.f),e.a),Pr(Ro(e.n),e.f),Pr(Ro(e.g),e.n),Pr(Ro(e.c),e.n),Pr(Ro(e.i),e.c),Pr(Ro(e.j),e.c),Pr(Ro(e.d),e.f),Pr(Ro(e.e),e.a),dc(e.p,nmn,Ult,!0,!0,!1),q=X3(e.p,e.p,"setProperty"),K=ttt(q),x=L0(e.o),T=(n=(r=new cv,r),n),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),L=Ane(K),S3e(T,L),_H(q,x,C8e),x=Ane(K),_H(q,x,IC),q=X3(e.p,null,"getProperty"),K=ttt(q),x=L0(e.o),T=Ane(K),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),_H(q,x,C8e),x=Ane(K),z=j1(q,x,null),z&&z.Fi(),q=X3(e.p,e.wb.e,"hasProperty"),x=L0(e.o),T=(i=(a=new cv,a),i),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),_H(q,x,C8e),q=X3(e.p,e.p,"copyProperties"),Bo(q,e.p,hce),q=X3(e.p,null,"getAllProperties"),x=L0(e.wb.P),T=L0(e.o),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),L=(h=(d=new cv,d),h),Pr((!T.d&&(T.d=new Ns(Eo,T,1)),T.d),L),T=L0(e.wb.M),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),P=j1(q,x,null),P&&P.Fi(),dc(e.a,kE,Eft,!0,!1,!0),zi(u(_e(qe(e.a),0),18),e.k,null,Pft,0,-1,kE,!1,!1,!0,!0,!1,!1,!1),dc(e.f,jO,_ft,!0,!1,!0),zi(u(_e(qe(e.f),0),18),e.g,u(_e(qe(e.g),0),18),"labels",0,-1,jO,!1,!1,!0,!0,!1,!1,!1),ys(u(_e(qe(e.f),1),34),e.wb._,Bft,null,0,1,jO,!1,!1,!0,!1,!0,!1),dc(e.n,$O,"ElkShape",!0,!1,!0),ys(u(_e(qe(e.n),0),34),e.wb.t,fce,x7,1,1,$O,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.n),1),34),e.wb.t,dce,x7,1,1,$O,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.n),2),34),e.wb.t,"x",x7,1,1,$O,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.n),3),34),e.wb.t,"y",x7,1,1,$O,!1,!1,!0,!1,!0,!1),q=X3(e.n,null,"setDimensions"),Bo(q,e.wb.t,dce),Bo(q,e.wb.t,fce),q=X3(e.n,null,"setLocation"),Bo(q,e.wb.t,"x"),Bo(q,e.wb.t,"y"),dc(e.g,Qo,E8e,!1,!1,!0),zi(u(_e(qe(e.g),0),18),e.f,u(_e(qe(e.f),0),18),gce,0,1,Qo,!1,!1,!0,!1,!1,!1,!1),ys(u(_e(qe(e.g),1),34),e.wb._,pce,"",0,1,Qo,!1,!1,!0,!1,!0,!1),dc(e.c,kr,Cft,!0,!1,!0),zi(u(_e(qe(e.c),0),18),e.d,u(_e(qe(e.d),1),18),"outgoingEdges",0,-1,kr,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.c),1),18),e.d,u(_e(qe(e.d),2),18),"incomingEdges",0,-1,kr,!1,!1,!0,!1,!0,!1,!1),dc(e.i,fs,T8e,!1,!1,!0),zi(u(_e(qe(e.i),0),18),e.j,u(_e(qe(e.j),0),18),"ports",0,-1,fs,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.i),1),18),e.i,u(_e(qe(e.i),2),18),bce,0,-1,fs,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.i),2),18),e.i,u(_e(qe(e.i),1),18),gce,0,1,fs,!1,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.i),3),18),e.d,u(_e(qe(e.d),0),18),"containedEdges",0,-1,fs,!1,!1,!0,!0,!1,!1,!1),ys(u(_e(qe(e.i),4),34),e.wb.e,Fft,null,0,1,fs,!0,!0,!1,!1,!0,!0),dc(e.j,xl,_8e,!1,!1,!0),zi(u(_e(qe(e.j),0),18),e.i,u(_e(qe(e.i),0),18),gce,0,1,xl,!1,!1,!0,!1,!1,!1,!1),dc(e.d,ta,x8e,!1,!1,!0),zi(u(_e(qe(e.d),0),18),e.i,u(_e(qe(e.i),3),18),"containingNode",0,1,ta,!1,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.d),1),18),e.c,u(_e(qe(e.c),0),18),S8e,0,-1,ta,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.d),2),18),e.c,u(_e(qe(e.c),1),18),vce,0,-1,ta,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.d),3),18),e.e,u(_e(qe(e.e),5),18),A8e,0,-1,ta,!1,!1,!0,!0,!1,!1,!1),ys(u(_e(qe(e.d),4),34),e.wb.e,"hyperedge",null,0,1,ta,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.d),5),34),e.wb.e,Fft,null,0,1,ta,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.d),6),34),e.wb.e,"selfloop",null,0,1,ta,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.d),7),34),e.wb.e,"connected",null,0,1,ta,!0,!0,!1,!1,!0,!0),dc(e.b,Zh,Tft,!1,!1,!0),ys(u(_e(qe(e.b),0),34),e.wb.t,"x",x7,1,1,Zh,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.b),1),34),e.wb.t,"y",x7,1,1,Zh,!1,!1,!0,!1,!0,!1),q=X3(e.b,null,"set"),Bo(q,e.wb.t,"x"),Bo(q,e.wb.t,"y"),dc(e.e,os,Sft,!1,!1,!0),ys(u(_e(qe(e.e),0),34),e.wb.t,"startX",null,0,1,os,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.e),1),34),e.wb.t,"startY",null,0,1,os,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.e),2),34),e.wb.t,"endX",null,0,1,os,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.e),3),34),e.wb.t,"endY",null,0,1,os,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.e),4),18),e.b,null,Kz,0,-1,os,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.e),5),18),e.d,u(_e(qe(e.d),3),18),gce,0,1,os,!1,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.e),6),18),e.c,null,L8e,0,1,os,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.e),7),18),e.c,null,M8e,0,1,os,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.e),8),18),e.e,u(_e(qe(e.e),9),18),D8e,0,-1,os,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.e),9),18),e.e,u(_e(qe(e.e),8),18),I8e,0,-1,os,!1,!1,!0,!1,!0,!1,!1),ys(u(_e(qe(e.e),10),34),e.wb._,Bft,null,0,1,os,!1,!1,!0,!1,!0,!1),q=X3(e.e,null,"setStartLocation"),Bo(q,e.wb.t,"x"),Bo(q,e.wb.t,"y"),q=X3(e.e,null,"setEndLocation"),Bo(q,e.wb.t,"x"),Bo(q,e.wb.t,"y"),dc(e.k,Eb,"ElkPropertyToValueMapEntry",!1,!1,!1),x=L0(e.o),T=(v=(t=new cv,t),v),Pr((!x.d&&(x.d=new Ns(Eo,x,1)),x.d),T),tat(u(_e(qe(e.k),0),34),x,"key",Eb,!1,!1,!0,!1),ys(u(_e(qe(e.k),1),34),e.s,IC,null,0,1,Eb,!1,!1,!0,!1,!0,!1),li(e.o,Ehe,"IProperty",!0),li(e.s,Xn,"PropertyValue",!0),eye(e,N7))}function elt(){elt=de,ge=Ie(Qu,C4,25,ao,15,1),ge[9]=35,ge[10]=19,ge[13]=19,ge[32]=51,ge[33]=49,ge[34]=33,Pe(ge,35,38,49),ge[38]=1,Pe(ge,39,45,49),Pe(ge,45,47,-71),ge[47]=49,Pe(ge,48,58,-71),ge[58]=61,ge[59]=49,ge[60]=1,ge[61]=49,ge[62]=33,Pe(ge,63,65,49),Pe(ge,65,91,-3),Pe(ge,91,93,33),ge[93]=1,ge[94]=33,ge[95]=-3,ge[96]=33,Pe(ge,97,123,-3),Pe(ge,123,183,33),ge[183]=-87,Pe(ge,184,192,33),Pe(ge,192,215,-19),ge[215]=33,Pe(ge,216,247,-19),ge[247]=33,Pe(ge,248,306,-19),Pe(ge,306,308,33),Pe(ge,308,319,-19),Pe(ge,319,321,33),Pe(ge,321,329,-19),ge[329]=33,Pe(ge,330,383,-19),ge[383]=33,Pe(ge,384,452,-19),Pe(ge,452,461,33),Pe(ge,461,497,-19),Pe(ge,497,500,33),Pe(ge,500,502,-19),Pe(ge,502,506,33),Pe(ge,506,536,-19),Pe(ge,536,592,33),Pe(ge,592,681,-19),Pe(ge,681,699,33),Pe(ge,699,706,-19),Pe(ge,706,720,33),Pe(ge,720,722,-87),Pe(ge,722,768,33),Pe(ge,768,838,-87),Pe(ge,838,864,33),Pe(ge,864,866,-87),Pe(ge,866,902,33),ge[902]=-19,ge[903]=-87,Pe(ge,904,907,-19),ge[907]=33,ge[908]=-19,ge[909]=33,Pe(ge,910,930,-19),ge[930]=33,Pe(ge,931,975,-19),ge[975]=33,Pe(ge,976,983,-19),Pe(ge,983,986,33),ge[986]=-19,ge[987]=33,ge[988]=-19,ge[989]=33,ge[990]=-19,ge[991]=33,ge[992]=-19,ge[993]=33,Pe(ge,994,1012,-19),Pe(ge,1012,1025,33),Pe(ge,1025,1037,-19),ge[1037]=33,Pe(ge,1038,1104,-19),ge[1104]=33,Pe(ge,1105,1117,-19),ge[1117]=33,Pe(ge,1118,1154,-19),ge[1154]=33,Pe(ge,1155,1159,-87),Pe(ge,1159,1168,33),Pe(ge,1168,1221,-19),Pe(ge,1221,1223,33),Pe(ge,1223,1225,-19),Pe(ge,1225,1227,33),Pe(ge,1227,1229,-19),Pe(ge,1229,1232,33),Pe(ge,1232,1260,-19),Pe(ge,1260,1262,33),Pe(ge,1262,1270,-19),Pe(ge,1270,1272,33),Pe(ge,1272,1274,-19),Pe(ge,1274,1329,33),Pe(ge,1329,1367,-19),Pe(ge,1367,1369,33),ge[1369]=-19,Pe(ge,1370,1377,33),Pe(ge,1377,1415,-19),Pe(ge,1415,1425,33),Pe(ge,1425,1442,-87),ge[1442]=33,Pe(ge,1443,1466,-87),ge[1466]=33,Pe(ge,1467,1470,-87),ge[1470]=33,ge[1471]=-87,ge[1472]=33,Pe(ge,1473,1475,-87),ge[1475]=33,ge[1476]=-87,Pe(ge,1477,1488,33),Pe(ge,1488,1515,-19),Pe(ge,1515,1520,33),Pe(ge,1520,1523,-19),Pe(ge,1523,1569,33),Pe(ge,1569,1595,-19),Pe(ge,1595,1600,33),ge[1600]=-87,Pe(ge,1601,1611,-19),Pe(ge,1611,1619,-87),Pe(ge,1619,1632,33),Pe(ge,1632,1642,-87),Pe(ge,1642,1648,33),ge[1648]=-87,Pe(ge,1649,1720,-19),Pe(ge,1720,1722,33),Pe(ge,1722,1727,-19),ge[1727]=33,Pe(ge,1728,1743,-19),ge[1743]=33,Pe(ge,1744,1748,-19),ge[1748]=33,ge[1749]=-19,Pe(ge,1750,1765,-87),Pe(ge,1765,1767,-19),Pe(ge,1767,1769,-87),ge[1769]=33,Pe(ge,1770,1774,-87),Pe(ge,1774,1776,33),Pe(ge,1776,1786,-87),Pe(ge,1786,2305,33),Pe(ge,2305,2308,-87),ge[2308]=33,Pe(ge,2309,2362,-19),Pe(ge,2362,2364,33),ge[2364]=-87,ge[2365]=-19,Pe(ge,2366,2382,-87),Pe(ge,2382,2385,33),Pe(ge,2385,2389,-87),Pe(ge,2389,2392,33),Pe(ge,2392,2402,-19),Pe(ge,2402,2404,-87),Pe(ge,2404,2406,33),Pe(ge,2406,2416,-87),Pe(ge,2416,2433,33),Pe(ge,2433,2436,-87),ge[2436]=33,Pe(ge,2437,2445,-19),Pe(ge,2445,2447,33),Pe(ge,2447,2449,-19),Pe(ge,2449,2451,33),Pe(ge,2451,2473,-19),ge[2473]=33,Pe(ge,2474,2481,-19),ge[2481]=33,ge[2482]=-19,Pe(ge,2483,2486,33),Pe(ge,2486,2490,-19),Pe(ge,2490,2492,33),ge[2492]=-87,ge[2493]=33,Pe(ge,2494,2501,-87),Pe(ge,2501,2503,33),Pe(ge,2503,2505,-87),Pe(ge,2505,2507,33),Pe(ge,2507,2510,-87),Pe(ge,2510,2519,33),ge[2519]=-87,Pe(ge,2520,2524,33),Pe(ge,2524,2526,-19),ge[2526]=33,Pe(ge,2527,2530,-19),Pe(ge,2530,2532,-87),Pe(ge,2532,2534,33),Pe(ge,2534,2544,-87),Pe(ge,2544,2546,-19),Pe(ge,2546,2562,33),ge[2562]=-87,Pe(ge,2563,2565,33),Pe(ge,2565,2571,-19),Pe(ge,2571,2575,33),Pe(ge,2575,2577,-19),Pe(ge,2577,2579,33),Pe(ge,2579,2601,-19),ge[2601]=33,Pe(ge,2602,2609,-19),ge[2609]=33,Pe(ge,2610,2612,-19),ge[2612]=33,Pe(ge,2613,2615,-19),ge[2615]=33,Pe(ge,2616,2618,-19),Pe(ge,2618,2620,33),ge[2620]=-87,ge[2621]=33,Pe(ge,2622,2627,-87),Pe(ge,2627,2631,33),Pe(ge,2631,2633,-87),Pe(ge,2633,2635,33),Pe(ge,2635,2638,-87),Pe(ge,2638,2649,33),Pe(ge,2649,2653,-19),ge[2653]=33,ge[2654]=-19,Pe(ge,2655,2662,33),Pe(ge,2662,2674,-87),Pe(ge,2674,2677,-19),Pe(ge,2677,2689,33),Pe(ge,2689,2692,-87),ge[2692]=33,Pe(ge,2693,2700,-19),ge[2700]=33,ge[2701]=-19,ge[2702]=33,Pe(ge,2703,2706,-19),ge[2706]=33,Pe(ge,2707,2729,-19),ge[2729]=33,Pe(ge,2730,2737,-19),ge[2737]=33,Pe(ge,2738,2740,-19),ge[2740]=33,Pe(ge,2741,2746,-19),Pe(ge,2746,2748,33),ge[2748]=-87,ge[2749]=-19,Pe(ge,2750,2758,-87),ge[2758]=33,Pe(ge,2759,2762,-87),ge[2762]=33,Pe(ge,2763,2766,-87),Pe(ge,2766,2784,33),ge[2784]=-19,Pe(ge,2785,2790,33),Pe(ge,2790,2800,-87),Pe(ge,2800,2817,33),Pe(ge,2817,2820,-87),ge[2820]=33,Pe(ge,2821,2829,-19),Pe(ge,2829,2831,33),Pe(ge,2831,2833,-19),Pe(ge,2833,2835,33),Pe(ge,2835,2857,-19),ge[2857]=33,Pe(ge,2858,2865,-19),ge[2865]=33,Pe(ge,2866,2868,-19),Pe(ge,2868,2870,33),Pe(ge,2870,2874,-19),Pe(ge,2874,2876,33),ge[2876]=-87,ge[2877]=-19,Pe(ge,2878,2884,-87),Pe(ge,2884,2887,33),Pe(ge,2887,2889,-87),Pe(ge,2889,2891,33),Pe(ge,2891,2894,-87),Pe(ge,2894,2902,33),Pe(ge,2902,2904,-87),Pe(ge,2904,2908,33),Pe(ge,2908,2910,-19),ge[2910]=33,Pe(ge,2911,2914,-19),Pe(ge,2914,2918,33),Pe(ge,2918,2928,-87),Pe(ge,2928,2946,33),Pe(ge,2946,2948,-87),ge[2948]=33,Pe(ge,2949,2955,-19),Pe(ge,2955,2958,33),Pe(ge,2958,2961,-19),ge[2961]=33,Pe(ge,2962,2966,-19),Pe(ge,2966,2969,33),Pe(ge,2969,2971,-19),ge[2971]=33,ge[2972]=-19,ge[2973]=33,Pe(ge,2974,2976,-19),Pe(ge,2976,2979,33),Pe(ge,2979,2981,-19),Pe(ge,2981,2984,33),Pe(ge,2984,2987,-19),Pe(ge,2987,2990,33),Pe(ge,2990,2998,-19),ge[2998]=33,Pe(ge,2999,3002,-19),Pe(ge,3002,3006,33),Pe(ge,3006,3011,-87),Pe(ge,3011,3014,33),Pe(ge,3014,3017,-87),ge[3017]=33,Pe(ge,3018,3022,-87),Pe(ge,3022,3031,33),ge[3031]=-87,Pe(ge,3032,3047,33),Pe(ge,3047,3056,-87),Pe(ge,3056,3073,33),Pe(ge,3073,3076,-87),ge[3076]=33,Pe(ge,3077,3085,-19),ge[3085]=33,Pe(ge,3086,3089,-19),ge[3089]=33,Pe(ge,3090,3113,-19),ge[3113]=33,Pe(ge,3114,3124,-19),ge[3124]=33,Pe(ge,3125,3130,-19),Pe(ge,3130,3134,33),Pe(ge,3134,3141,-87),ge[3141]=33,Pe(ge,3142,3145,-87),ge[3145]=33,Pe(ge,3146,3150,-87),Pe(ge,3150,3157,33),Pe(ge,3157,3159,-87),Pe(ge,3159,3168,33),Pe(ge,3168,3170,-19),Pe(ge,3170,3174,33),Pe(ge,3174,3184,-87),Pe(ge,3184,3202,33),Pe(ge,3202,3204,-87),ge[3204]=33,Pe(ge,3205,3213,-19),ge[3213]=33,Pe(ge,3214,3217,-19),ge[3217]=33,Pe(ge,3218,3241,-19),ge[3241]=33,Pe(ge,3242,3252,-19),ge[3252]=33,Pe(ge,3253,3258,-19),Pe(ge,3258,3262,33),Pe(ge,3262,3269,-87),ge[3269]=33,Pe(ge,3270,3273,-87),ge[3273]=33,Pe(ge,3274,3278,-87),Pe(ge,3278,3285,33),Pe(ge,3285,3287,-87),Pe(ge,3287,3294,33),ge[3294]=-19,ge[3295]=33,Pe(ge,3296,3298,-19),Pe(ge,3298,3302,33),Pe(ge,3302,3312,-87),Pe(ge,3312,3330,33),Pe(ge,3330,3332,-87),ge[3332]=33,Pe(ge,3333,3341,-19),ge[3341]=33,Pe(ge,3342,3345,-19),ge[3345]=33,Pe(ge,3346,3369,-19),ge[3369]=33,Pe(ge,3370,3386,-19),Pe(ge,3386,3390,33),Pe(ge,3390,3396,-87),Pe(ge,3396,3398,33),Pe(ge,3398,3401,-87),ge[3401]=33,Pe(ge,3402,3406,-87),Pe(ge,3406,3415,33),ge[3415]=-87,Pe(ge,3416,3424,33),Pe(ge,3424,3426,-19),Pe(ge,3426,3430,33),Pe(ge,3430,3440,-87),Pe(ge,3440,3585,33),Pe(ge,3585,3631,-19),ge[3631]=33,ge[3632]=-19,ge[3633]=-87,Pe(ge,3634,3636,-19),Pe(ge,3636,3643,-87),Pe(ge,3643,3648,33),Pe(ge,3648,3654,-19),Pe(ge,3654,3663,-87),ge[3663]=33,Pe(ge,3664,3674,-87),Pe(ge,3674,3713,33),Pe(ge,3713,3715,-19),ge[3715]=33,ge[3716]=-19,Pe(ge,3717,3719,33),Pe(ge,3719,3721,-19),ge[3721]=33,ge[3722]=-19,Pe(ge,3723,3725,33),ge[3725]=-19,Pe(ge,3726,3732,33),Pe(ge,3732,3736,-19),ge[3736]=33,Pe(ge,3737,3744,-19),ge[3744]=33,Pe(ge,3745,3748,-19),ge[3748]=33,ge[3749]=-19,ge[3750]=33,ge[3751]=-19,Pe(ge,3752,3754,33),Pe(ge,3754,3756,-19),ge[3756]=33,Pe(ge,3757,3759,-19),ge[3759]=33,ge[3760]=-19,ge[3761]=-87,Pe(ge,3762,3764,-19),Pe(ge,3764,3770,-87),ge[3770]=33,Pe(ge,3771,3773,-87),ge[3773]=-19,Pe(ge,3774,3776,33),Pe(ge,3776,3781,-19),ge[3781]=33,ge[3782]=-87,ge[3783]=33,Pe(ge,3784,3790,-87),Pe(ge,3790,3792,33),Pe(ge,3792,3802,-87),Pe(ge,3802,3864,33),Pe(ge,3864,3866,-87),Pe(ge,3866,3872,33),Pe(ge,3872,3882,-87),Pe(ge,3882,3893,33),ge[3893]=-87,ge[3894]=33,ge[3895]=-87,ge[3896]=33,ge[3897]=-87,Pe(ge,3898,3902,33),Pe(ge,3902,3904,-87),Pe(ge,3904,3912,-19),ge[3912]=33,Pe(ge,3913,3946,-19),Pe(ge,3946,3953,33),Pe(ge,3953,3973,-87),ge[3973]=33,Pe(ge,3974,3980,-87),Pe(ge,3980,3984,33),Pe(ge,3984,3990,-87),ge[3990]=33,ge[3991]=-87,ge[3992]=33,Pe(ge,3993,4014,-87),Pe(ge,4014,4017,33),Pe(ge,4017,4024,-87),ge[4024]=33,ge[4025]=-87,Pe(ge,4026,4256,33),Pe(ge,4256,4294,-19),Pe(ge,4294,4304,33),Pe(ge,4304,4343,-19),Pe(ge,4343,4352,33),ge[4352]=-19,ge[4353]=33,Pe(ge,4354,4356,-19),ge[4356]=33,Pe(ge,4357,4360,-19),ge[4360]=33,ge[4361]=-19,ge[4362]=33,Pe(ge,4363,4365,-19),ge[4365]=33,Pe(ge,4366,4371,-19),Pe(ge,4371,4412,33),ge[4412]=-19,ge[4413]=33,ge[4414]=-19,ge[4415]=33,ge[4416]=-19,Pe(ge,4417,4428,33),ge[4428]=-19,ge[4429]=33,ge[4430]=-19,ge[4431]=33,ge[4432]=-19,Pe(ge,4433,4436,33),Pe(ge,4436,4438,-19),Pe(ge,4438,4441,33),ge[4441]=-19,Pe(ge,4442,4447,33),Pe(ge,4447,4450,-19),ge[4450]=33,ge[4451]=-19,ge[4452]=33,ge[4453]=-19,ge[4454]=33,ge[4455]=-19,ge[4456]=33,ge[4457]=-19,Pe(ge,4458,4461,33),Pe(ge,4461,4463,-19),Pe(ge,4463,4466,33),Pe(ge,4466,4468,-19),ge[4468]=33,ge[4469]=-19,Pe(ge,4470,4510,33),ge[4510]=-19,Pe(ge,4511,4520,33),ge[4520]=-19,Pe(ge,4521,4523,33),ge[4523]=-19,Pe(ge,4524,4526,33),Pe(ge,4526,4528,-19),Pe(ge,4528,4535,33),Pe(ge,4535,4537,-19),ge[4537]=33,ge[4538]=-19,ge[4539]=33,Pe(ge,4540,4547,-19),Pe(ge,4547,4587,33),ge[4587]=-19,Pe(ge,4588,4592,33),ge[4592]=-19,Pe(ge,4593,4601,33),ge[4601]=-19,Pe(ge,4602,7680,33),Pe(ge,7680,7836,-19),Pe(ge,7836,7840,33),Pe(ge,7840,7930,-19),Pe(ge,7930,7936,33),Pe(ge,7936,7958,-19),Pe(ge,7958,7960,33),Pe(ge,7960,7966,-19),Pe(ge,7966,7968,33),Pe(ge,7968,8006,-19),Pe(ge,8006,8008,33),Pe(ge,8008,8014,-19),Pe(ge,8014,8016,33),Pe(ge,8016,8024,-19),ge[8024]=33,ge[8025]=-19,ge[8026]=33,ge[8027]=-19,ge[8028]=33,ge[8029]=-19,ge[8030]=33,Pe(ge,8031,8062,-19),Pe(ge,8062,8064,33),Pe(ge,8064,8117,-19),ge[8117]=33,Pe(ge,8118,8125,-19),ge[8125]=33,ge[8126]=-19,Pe(ge,8127,8130,33),Pe(ge,8130,8133,-19),ge[8133]=33,Pe(ge,8134,8141,-19),Pe(ge,8141,8144,33),Pe(ge,8144,8148,-19),Pe(ge,8148,8150,33),Pe(ge,8150,8156,-19),Pe(ge,8156,8160,33),Pe(ge,8160,8173,-19),Pe(ge,8173,8178,33),Pe(ge,8178,8181,-19),ge[8181]=33,Pe(ge,8182,8189,-19),Pe(ge,8189,8400,33),Pe(ge,8400,8413,-87),Pe(ge,8413,8417,33),ge[8417]=-87,Pe(ge,8418,8486,33),ge[8486]=-19,Pe(ge,8487,8490,33),Pe(ge,8490,8492,-19),Pe(ge,8492,8494,33),ge[8494]=-19,Pe(ge,8495,8576,33),Pe(ge,8576,8579,-19),Pe(ge,8579,12293,33),ge[12293]=-87,ge[12294]=33,ge[12295]=-19,Pe(ge,12296,12321,33),Pe(ge,12321,12330,-19),Pe(ge,12330,12336,-87),ge[12336]=33,Pe(ge,12337,12342,-87),Pe(ge,12342,12353,33),Pe(ge,12353,12437,-19),Pe(ge,12437,12441,33),Pe(ge,12441,12443,-87),Pe(ge,12443,12445,33),Pe(ge,12445,12447,-87),Pe(ge,12447,12449,33),Pe(ge,12449,12539,-19),ge[12539]=33,Pe(ge,12540,12543,-87),Pe(ge,12543,12549,33),Pe(ge,12549,12589,-19),Pe(ge,12589,19968,33),Pe(ge,19968,40870,-19),Pe(ge,40870,44032,33),Pe(ge,44032,55204,-19),Pe(ge,55204,dI,33),Pe(ge,57344,65534,33)}function Hwn(e){var t,n,r,i,a,h,d;e.hb||(e.hb=!0,nu(e,"ecore"),N$(e,"ecore"),P$(e,qh),lD(e.fb,"E"),lD(e.L,"T"),lD(e.P,"K"),lD(e.P,"V"),lD(e.cb,"E"),Pr(Ro(e.b),e.bb),Pr(Ro(e.a),e.Q),Pr(Ro(e.o),e.p),Pr(Ro(e.p),e.R),Pr(Ro(e.q),e.p),Pr(Ro(e.v),e.q),Pr(Ro(e.w),e.R),Pr(Ro(e.B),e.Q),Pr(Ro(e.R),e.Q),Pr(Ro(e.T),e.eb),Pr(Ro(e.U),e.R),Pr(Ro(e.V),e.eb),Pr(Ro(e.W),e.bb),Pr(Ro(e.bb),e.eb),Pr(Ro(e.eb),e.R),Pr(Ro(e.db),e.R),dc(e.b,Gy,C1t,!1,!1,!0),ys(u(_e(qe(e.b),0),34),e.e,"iD",null,0,1,Gy,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.b),1),18),e.q,null,"eAttributeType",1,1,Gy,!0,!0,!1,!1,!0,!1,!0),dc(e.a,ti,E1t,!1,!1,!0),ys(u(_e(qe(e.a),0),34),e._,hce,null,0,1,ti,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.a),1),18),e.ab,null,"details",0,-1,ti,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.a),2),18),e.Q,u(_e(qe(e.Q),0),18),"eModelElement",0,1,ti,!0,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.a),3),18),e.S,null,"contents",0,-1,ti,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.a),4),18),e.S,null,"references",0,-1,ti,!1,!1,!0,!1,!0,!1,!1),dc(e.o,Jh,"EClass",!1,!1,!0),ys(u(_e(qe(e.o),0),34),e.e,"abstract",null,0,1,Jh,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.o),1),34),e.e,"interface",null,0,1,Jh,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.o),2),18),e.o,null,"eSuperTypes",0,-1,Jh,!1,!1,!0,!1,!0,!0,!1),zi(u(_e(qe(e.o),3),18),e.T,u(_e(qe(e.T),0),18),"eOperations",0,-1,Jh,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.o),4),18),e.b,null,"eAllAttributes",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),5),18),e.W,null,"eAllReferences",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),6),18),e.W,null,"eReferences",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),7),18),e.b,null,"eAttributes",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),8),18),e.W,null,"eAllContainments",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),9),18),e.T,null,"eAllOperations",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),10),18),e.bb,null,"eAllStructuralFeatures",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),11),18),e.o,null,"eAllSuperTypes",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.o),12),18),e.b,null,"eIDAttribute",0,1,Jh,!0,!0,!1,!1,!1,!1,!0),zi(u(_e(qe(e.o),13),18),e.bb,u(_e(qe(e.bb),7),18),"eStructuralFeatures",0,-1,Jh,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.o),14),18),e.H,null,"eGenericSuperTypes",0,-1,Jh,!1,!1,!0,!0,!1,!0,!1),zi(u(_e(qe(e.o),15),18),e.H,null,"eAllGenericSuperTypes",0,-1,Jh,!0,!0,!1,!1,!0,!1,!0),d=Co(u(_e(Pi(e.o),0),59),e.e,"isSuperTypeOf"),Bo(d,e.o,"someClass"),Co(u(_e(Pi(e.o),1),59),e.I,"getFeatureCount"),d=Co(u(_e(Pi(e.o),2),59),e.bb,R1t),Bo(d,e.I,"featureID"),d=Co(u(_e(Pi(e.o),3),59),e.I,j1t),Bo(d,e.bb,$C),d=Co(u(_e(Pi(e.o),4),59),e.bb,R1t),Bo(d,e._,"featureName"),Co(u(_e(Pi(e.o),5),59),e.I,"getOperationCount"),d=Co(u(_e(Pi(e.o),6),59),e.T,"getEOperation"),Bo(d,e.I,"operationID"),d=Co(u(_e(Pi(e.o),7),59),e.I,$1t),Bo(d,e.T,K8e),d=Co(u(_e(Pi(e.o),8),59),e.T,"getOverride"),Bo(d,e.T,K8e),d=Co(u(_e(Pi(e.o),9),59),e.H,"getFeatureType"),Bo(d,e.bb,$C),dc(e.p,u1,S1t,!0,!1,!0),ys(u(_e(qe(e.p),0),34),e._,"instanceClassName",null,0,1,u1,!1,!0,!0,!0,!0,!1),t=L0(e.L),n=swe(),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),tat(u(_e(qe(e.p),1),34),t,"instanceClass",u1,!0,!0,!1,!0),ys(u(_e(qe(e.p),2),34),e.M,H1t,null,0,1,u1,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.p),3),34),e._,"instanceTypeName",null,0,1,u1,!1,!0,!0,!0,!0,!1),zi(u(_e(qe(e.p),4),18),e.U,u(_e(qe(e.U),3),18),"ePackage",0,1,u1,!0,!1,!1,!1,!0,!1,!1),zi(u(_e(qe(e.p),5),18),e.db,null,z1t,0,-1,u1,!1,!1,!0,!0,!0,!1,!1),d=Co(u(_e(Pi(e.p),0),59),e.e,G1t),Bo(d,e.M,sI),Co(u(_e(Pi(e.p),1),59),e.I,"getClassifierID"),dc(e.q,Qhe,"EDataType",!1,!1,!0),ys(u(_e(qe(e.q),0),34),e.e,"serializable",I7,0,1,Qhe,!1,!1,!0,!1,!0,!1),dc(e.v,OV,"EEnum",!1,!1,!0),zi(u(_e(qe(e.v),0),18),e.w,u(_e(qe(e.w),3),18),"eLiterals",0,-1,OV,!1,!1,!0,!0,!1,!1,!1),d=Co(u(_e(Pi(e.v),0),59),e.w,q1t),Bo(d,e._,fi),d=Co(u(_e(Pi(e.v),1),59),e.w,q1t),Bo(d,e.I,IC),d=Co(u(_e(Pi(e.v),2),59),e.w,"getEEnumLiteralByLiteral"),Bo(d,e._,"literal"),dc(e.w,J0,A1t,!1,!1,!0),ys(u(_e(qe(e.w),0),34),e.I,IC,null,0,1,J0,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.w),1),34),e.A,"instance",null,0,1,J0,!0,!1,!0,!1,!0,!1),ys(u(_e(qe(e.w),2),34),e._,"literal",null,0,1,J0,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.w),3),18),e.v,u(_e(qe(e.v),0),18),"eEnum",0,1,J0,!0,!1,!1,!1,!1,!1,!1),dc(e.B,jS,"EFactory",!1,!1,!0),zi(u(_e(qe(e.B),0),18),e.U,u(_e(qe(e.U),2),18),"ePackage",1,1,jS,!0,!1,!0,!1,!1,!1,!1),d=Co(u(_e(Pi(e.B),0),59),e.S,"create"),Bo(d,e.o,"eClass"),d=Co(u(_e(Pi(e.B),1),59),e.M,"createFromString"),Bo(d,e.q,"eDataType"),Bo(d,e._,"literalValue"),d=Co(u(_e(Pi(e.B),2),59),e._,"convertToString"),Bo(d,e.q,"eDataType"),Bo(d,e.M,"instanceValue"),dc(e.Q,HO,Aft,!0,!1,!0),zi(u(_e(qe(e.Q),0),18),e.a,u(_e(qe(e.a),2),18),"eAnnotations",0,-1,HO,!1,!1,!0,!0,!1,!1,!1),d=Co(u(_e(Pi(e.Q),0),59),e.a,"getEAnnotation"),Bo(d,e._,hce),dc(e.R,Vhe,Lft,!0,!1,!0),ys(u(_e(qe(e.R),0),34),e._,fi,null,0,1,Vhe,!1,!1,!0,!1,!0,!1),dc(e.S,b2,"EObject",!1,!1,!0),Co(u(_e(Pi(e.S),0),59),e.o,"eClass"),Co(u(_e(Pi(e.S),1),59),e.e,"eIsProxy"),Co(u(_e(Pi(e.S),2),59),e.X,"eResource"),Co(u(_e(Pi(e.S),3),59),e.S,"eContainer"),Co(u(_e(Pi(e.S),4),59),e.bb,"eContainingFeature"),Co(u(_e(Pi(e.S),5),59),e.W,"eContainmentFeature"),d=Co(u(_e(Pi(e.S),6),59),null,"eContents"),t=L0(e.fb),n=L0(e.S),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),i=j1(d,t,null),i&&i.Fi(),d=Co(u(_e(Pi(e.S),7),59),null,"eAllContents"),t=L0(e.cb),n=L0(e.S),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),a=j1(d,t,null),a&&a.Fi(),d=Co(u(_e(Pi(e.S),8),59),null,"eCrossReferences"),t=L0(e.fb),n=L0(e.S),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),h=j1(d,t,null),h&&h.Fi(),d=Co(u(_e(Pi(e.S),9),59),e.M,"eGet"),Bo(d,e.bb,$C),d=Co(u(_e(Pi(e.S),10),59),e.M,"eGet"),Bo(d,e.bb,$C),Bo(d,e.e,"resolve"),d=Co(u(_e(Pi(e.S),11),59),null,"eSet"),Bo(d,e.bb,$C),Bo(d,e.M,"newValue"),d=Co(u(_e(Pi(e.S),12),59),e.e,"eIsSet"),Bo(d,e.bb,$C),d=Co(u(_e(Pi(e.S),13),59),null,"eUnset"),Bo(d,e.bb,$C),d=Co(u(_e(Pi(e.S),14),59),e.M,"eInvoke"),Bo(d,e.T,K8e),t=L0(e.fb),n=swe(),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),_H(d,t,"arguments"),$Xt(d,e.K),dc(e.T,ef,M1t,!1,!1,!0),zi(u(_e(qe(e.T),0),18),e.o,u(_e(qe(e.o),3),18),V1t,0,1,ef,!0,!1,!1,!1,!1,!1,!1),zi(u(_e(qe(e.T),1),18),e.db,null,z1t,0,-1,ef,!1,!1,!0,!0,!0,!1,!1),zi(u(_e(qe(e.T),2),18),e.V,u(_e(qe(e.V),0),18),"eParameters",0,-1,ef,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.T),3),18),e.p,null,"eExceptions",0,-1,ef,!1,!1,!0,!1,!0,!0,!1),zi(u(_e(qe(e.T),4),18),e.H,null,"eGenericExceptions",0,-1,ef,!1,!1,!0,!0,!1,!0,!1),Co(u(_e(Pi(e.T),0),59),e.I,$1t),d=Co(u(_e(Pi(e.T),1),59),e.e,"isOverrideOf"),Bo(d,e.T,"someOperation"),dc(e.U,c1,"EPackage",!1,!1,!0),ys(u(_e(qe(e.U),0),34),e._,"nsURI",null,0,1,c1,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.U),1),34),e._,"nsPrefix",null,0,1,c1,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.U),2),18),e.B,u(_e(qe(e.B),0),18),"eFactoryInstance",1,1,c1,!0,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.U),3),18),e.p,u(_e(qe(e.p),4),18),"eClassifiers",0,-1,c1,!1,!1,!0,!0,!0,!1,!1),zi(u(_e(qe(e.U),4),18),e.U,u(_e(qe(e.U),5),18),"eSubpackages",0,-1,c1,!1,!1,!0,!0,!0,!1,!1),zi(u(_e(qe(e.U),5),18),e.U,u(_e(qe(e.U),4),18),"eSuperPackage",0,1,c1,!0,!1,!1,!1,!0,!1,!1),d=Co(u(_e(Pi(e.U),0),59),e.p,"getEClassifier"),Bo(d,e._,fi),dc(e.V,Dw,D1t,!1,!1,!0),zi(u(_e(qe(e.V),0),18),e.T,u(_e(qe(e.T),2),18),"eOperation",0,1,Dw,!0,!1,!1,!1,!1,!1,!1),dc(e.W,qy,I1t,!1,!1,!0),ys(u(_e(qe(e.W),0),34),e.e,"containment",null,0,1,qy,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.W),1),34),e.e,"container",null,0,1,qy,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.W),2),34),e.e,"resolveProxies",I7,0,1,qy,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.W),3),18),e.W,null,"eOpposite",0,1,qy,!1,!1,!0,!1,!0,!1,!1),zi(u(_e(qe(e.W),4),18),e.o,null,"eReferenceType",1,1,qy,!0,!0,!1,!1,!0,!1,!0),zi(u(_e(qe(e.W),5),18),e.b,null,"eKeys",0,-1,qy,!1,!1,!0,!1,!0,!1,!1),dc(e.bb,Bu,_1t,!0,!1,!0),ys(u(_e(qe(e.bb),0),34),e.e,"changeable",I7,0,1,Bu,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),1),34),e.e,"volatile",null,0,1,Bu,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),2),34),e.e,"transient",null,0,1,Bu,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),3),34),e._,"defaultValueLiteral",null,0,1,Bu,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),4),34),e.M,H1t,null,0,1,Bu,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.bb),5),34),e.e,"unsettable",null,0,1,Bu,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.bb),6),34),e.e,"derived",null,0,1,Bu,!1,!1,!0,!1,!0,!1),zi(u(_e(qe(e.bb),7),18),e.o,u(_e(qe(e.o),13),18),V1t,0,1,Bu,!0,!1,!1,!1,!1,!1,!1),Co(u(_e(Pi(e.bb),0),59),e.I,j1t),d=Co(u(_e(Pi(e.bb),1),59),null,"getContainerClass"),t=L0(e.L),n=swe(),Pr((!t.d&&(t.d=new Ns(Eo,t,1)),t.d),n),r=j1(d,t,null),r&&r.Fi(),dc(e.eb,zy,T1t,!0,!1,!0),ys(u(_e(qe(e.eb),0),34),e.e,"ordered",I7,0,1,zy,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.eb),1),34),e.e,"unique",I7,0,1,zy,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.eb),2),34),e.I,"lowerBound",null,0,1,zy,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.eb),3),34),e.I,"upperBound","1",0,1,zy,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.eb),4),34),e.e,"many",null,0,1,zy,!0,!0,!1,!1,!0,!0),ys(u(_e(qe(e.eb),5),34),e.e,"required",null,0,1,zy,!0,!0,!1,!1,!0,!0),zi(u(_e(qe(e.eb),6),18),e.p,null,"eType",0,1,zy,!1,!0,!0,!1,!0,!0,!1),zi(u(_e(qe(e.eb),7),18),e.H,null,"eGenericType",0,1,zy,!1,!0,!0,!0,!1,!0,!1),dc(e.ab,Eb,"EStringToStringMapEntry",!1,!1,!1),ys(u(_e(qe(e.ab),0),34),e._,"key",null,0,1,Eb,!1,!1,!0,!1,!0,!1),ys(u(_e(qe(e.ab),1),34),e._,IC,null,0,1,Eb,!1,!1,!0,!1,!0,!1),dc(e.H,Eo,L1t,!1,!1,!0),zi(u(_e(qe(e.H),0),18),e.H,null,"eUpperBound",0,1,Eo,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.H),1),18),e.H,null,"eTypeArguments",0,-1,Eo,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.H),2),18),e.p,null,"eRawType",1,1,Eo,!0,!1,!1,!1,!0,!1,!0),zi(u(_e(qe(e.H),3),18),e.H,null,"eLowerBound",0,1,Eo,!1,!1,!0,!0,!1,!1,!1),zi(u(_e(qe(e.H),4),18),e.db,null,"eTypeParameter",0,1,Eo,!1,!1,!0,!1,!1,!1,!1),zi(u(_e(qe(e.H),5),18),e.p,null,"eClassifier",0,1,Eo,!1,!1,!0,!1,!0,!1,!1),d=Co(u(_e(Pi(e.H),0),59),e.e,G1t),Bo(d,e.M,sI),dc(e.db,pu,O1t,!1,!1,!0),zi(u(_e(qe(e.db),0),18),e.H,null,"eBounds",0,-1,pu,!1,!1,!0,!0,!1,!1,!1),li(e.c,Qce,"EBigDecimal",!0),li(e.d,L4,"EBigInteger",!0),li(e.e,El,"EBoolean",!0),li(e.f,Vs,"EBooleanObject",!0),li(e.i,Qu,"EByte",!0),li(e.g,ne(Qu,1),"EByteArray",!0),li(e.j,bk,"EByteObject",!0),li(e.k,Sh,"EChar",!0),li(e.n,GC,"ECharacterObject",!0),li(e.r,wG,"EDate",!0),li(e.s,jAe,"EDiagnosticChain",!1),li(e.t,va,"EDouble",!0),li(e.u,ka,"EDoubleObject",!0),li(e.fb,eAe,"EEList",!1),li(e.A,rAe,"EEnumerator",!1),li(e.C,CAe,"EFeatureMap",!1),li(e.D,NV,"EFeatureMapEntry",!1),li(e.F,Wy,"EFloat",!0),li(e.G,$7,"EFloatObject",!0),li(e.I,Sr,"EInt",!0),li(e.J,Ja,"EIntegerObject",!0),li(e.L,ixe,"EJavaClass",!0),li(e.M,Xn,"EJavaObject",!0),li(e.N,E2,"ELong",!0),li(e.O,gw,"ELongObject",!0),li(e.P,sxe,"EMap",!1),li(e.X,xAe,"EResource",!1),li(e.Y,$Ae,"EResourceSet",!1),li(e.Z,i5,"EShort",!0),li(e.$,pw,"EShortObject",!0),li(e._,Et,"EString",!0),li(e.cb,nAe,"ETreeIterator",!1),li(e.K,HAe,"EInvocationTargetException",!1),eye(e,qh))}var sI="object",nk="boolean",H5e="number",sae="string",aae="function",xi=2147483647,ac="java.lang",aI={3:1},oI="com.google.common.base",so=", ",tlt="%s (%s) must not be negative",_t={3:1,4:1,5:1},nlt="negative size: ",rlt="Optional.of(",Iu="null",v7={198:1,47:1},qt="com.google.common.collect",w7={198:1,47:1,125:1},db={224:1,3:1},ba={47:1},yr="java.util",aw={83:1},uy={20:1,28:1,14:1},$1=1965,Ku={20:1,28:1,14:1,21:1},ilt={83:1,171:1,161:1},slt={20:1,28:1,14:1,21:1,84:1},z5e={20:1,28:1,14:1,271:1,21:1,84:1},e0={47:1,125:1},sz={345:1,42:1},alt="AbstractMapEntry",olt="expectedValuesPerKey",Je={3:1,6:1,4:1,5:1},md=16384,jh={164:1},Vn={38:1},az={l:4194303,m:4194303,h:524287},cI={196:1},oae={245:1,3:1,35:1},clt="range unbounded on this side",t0={20:1},ult={20:1,14:1},G5e={3:1,20:1,28:1,14:1},lC={152:1,3:1,20:1,28:1,14:1,15:1,54:1},oz={3:1,4:1,5:1,165:1},m7={3:1,83:1},cae={20:1,14:1,21:1},y7={3:1,20:1,28:1,14:1,21:1},llt={20:1,14:1,21:1,84:1},n0=461845907,r0=-862048943,uI={3:1,6:1,4:1,5:1,165:1},hlt="expectedSize",hC=1073741824,ly="initialArraySize",rt={3:1,6:1,4:1,9:1,5:1},k7={20:1,28:1,52:1,14:1,15:1},uae="arraySize",flt={20:1,28:1,52:1,14:1,15:1,54:1},gi={45:1},cz={365:1},Yp=1e-4,za=-2147483648,dlt="__noinit__",q0={3:1,102:1,60:1,78:1},lI="com.google.gwt.core.client.impl",q5e="String",V5e="com.google.gwt.core.client",lae="anonymous",hae="fnStack",U5e="Unknown",yd={195:1,3:1,4:1},Ig=1e3,Ss=65535,fae="January",dae="February",gae="March",pae="April",rk="May",bae="June",vae="July",wae="August",mae="September",yae="October",kae="November",xae="December",Xp=1900,Jr={48:1,3:1,4:1},glt="Before Christ",plt="Anno Domini",Eae="Sunday",Tae="Monday",_ae="Tuesday",Cae="Wednesday",Sae="Thursday",Aae="Friday",Lae="Saturday",K5e="com.google.gwt.i18n.shared",blt="DateTimeFormat",Mae="com.google.gwt.i18n.client",vlt="DefaultDateTimeFormatInfo",wlt={3:1,4:1,35:1,199:1},ik="com.google.gwt.json.client",ml=4194303,V0=1048575,hI=524288,sk=4194304,gb=17592186044416,uz=1e9,fI=-17592186044416,W5e="java.io",Dae={3:1,102:1,73:1,60:1,78:1},mlt={3:1,289:1,78:1},ow='For input string: "',ps=1/0,Ds=-1/0,hy=4096,Iae={3:1,4:1,364:1},ao=65536,dI=55296,Ao={104:1,3:1,4:1},Oae=1e5,ylt=.3010299956639812,yo=4294967295,Nae=4294967296,x7="0.0",Pae={42:1},klt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},xlt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},Elt={20:1,14:1,15:1},Bae={3:1,62:1},gI={182:1},w4={3:1,4:1,83:1},Y5e={3:1,4:1,20:1,28:1,14:1,53:1,21:1},Fae="delete",fC=14901161193847656e-24,dC=11102230246251565e-32,Rae=15525485,pI=5960464477539063e-23,X5e=16777216,lz=16777215,Q5e=", length: ",Tlt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},jae={3:1,35:1,22:1,297:1},$ae="java.util.function",gC="java.util.logging",_lt={3:1,4:1,5:1,842:1},Hae="undefined",Rs="java.util.stream",Z5e={525:1,670:1},hz="fromIndex: ",Clt=" > toIndex: ",J5e=", toIndex: ",e6e="Index: ",t6e=", Size: ",E7="org.eclipse.elk.alg.common",Ri={62:1},Slt="org.eclipse.elk.alg.common.compaction",Alt="Scanline/EventHandler",i0="org.eclipse.elk.alg.common.compaction.oned",Llt="CNode belongs to another CGroup.",Mlt="ISpacingsHandler/1",zae="The ",Gae=" instance has been finished already.",Dlt="The direction ",Ilt=" is not supported by the CGraph instance.",Olt="OneDimensionalCompactor",Nlt="OneDimensionalCompactor/lambda$0$Type",Plt="Quadruplet",Blt="ScanlineConstraintCalculator",Flt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Rlt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",jlt="ScanlineConstraintCalculator/Timestamp",$lt="ScanlineConstraintCalculator/lambda$0$Type",kd={169:1,45:1},qae="org.eclipse.elk.alg.common.compaction.options",oc="org.eclipse.elk.core.data",n6e="org.eclipse.elk.polyomino.traversalStrategy",r6e="org.eclipse.elk.polyomino.lowLevelSort",i6e="org.eclipse.elk.polyomino.highLevelSort",s6e="org.eclipse.elk.polyomino.fill",$h={130:1},Vae="polyomino",pC="org.eclipse.elk.alg.common.networksimplex",s0={177:1,3:1,4:1},Hlt="org.eclipse.elk.alg.common.nodespacing",pb="org.eclipse.elk.alg.common.nodespacing.cellsystem",T7="CENTER",zlt={212:1,326:1},a6e={3:1,4:1,5:1,595:1},ak="LEFT",ok="RIGHT",o6e="Vertical alignment cannot be null",c6e="BOTTOM",fz="org.eclipse.elk.alg.common.nodespacing.internal",bC="UNDEFINED",H1=.01,bI="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",Glt="LabelPlacer/lambda$0$Type",qlt="LabelPlacer/lambda$1$Type",Vlt="portRatioOrPosition",_7="org.eclipse.elk.alg.common.overlaps",Uae="DOWN",xd="org.eclipse.elk.alg.common.polyomino",dz="NORTH",Kae="EAST",Wae="SOUTH",Yae="WEST",gz="org.eclipse.elk.alg.common.polyomino.structures",u6e="Direction",Xae="Grid is only of size ",Qae=". Requested point (",Zae=") is out of bounds.",pz=" Given center based coordinates were (",vI="org.eclipse.elk.graph.properties",Ult="IPropertyHolder",l6e={3:1,94:1,134:1},ck="org.eclipse.elk.alg.common.spore",Klt="org.eclipse.elk.alg.common.utils",bb={209:1},m4="org.eclipse.elk.core",Wlt="Connected Components Compaction",Ylt="org.eclipse.elk.alg.disco",bz="org.eclipse.elk.alg.disco.graph",Jae="org.eclipse.elk.alg.disco.options",h6e="CompactionStrategy",f6e="org.eclipse.elk.disco.componentCompaction.strategy",d6e="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",g6e="org.eclipse.elk.disco.debug.discoGraph",p6e="org.eclipse.elk.disco.debug.discoPolys",Xlt="componentCompaction",vb="org.eclipse.elk.disco",eoe="org.eclipse.elk.spacing.componentComponent",toe="org.eclipse.elk.edge.thickness",uk="org.eclipse.elk.aspectRatio",cw="org.eclipse.elk.padding",y4="org.eclipse.elk.alg.disco.transform",noe=1.5707963267948966,C7=17976931348623157e292,fy={3:1,4:1,5:1,192:1},b6e={3:1,6:1,4:1,5:1,106:1,120:1},v6e="org.eclipse.elk.alg.force",w6e="ComponentsProcessor",Qlt="ComponentsProcessor/1",wI="org.eclipse.elk.alg.force.graph",Zlt="Component Layout",m6e="org.eclipse.elk.alg.force.model",vz="org.eclipse.elk.force.model",y6e="org.eclipse.elk.force.iterations",k6e="org.eclipse.elk.force.repulsivePower",roe="org.eclipse.elk.force.temperature",Ed=.001,ioe="org.eclipse.elk.force.repulsion",vC="org.eclipse.elk.alg.force.options",S7=1.600000023841858,Xl="org.eclipse.elk.force",mI="org.eclipse.elk.priority",dy="org.eclipse.elk.spacing.nodeNode",soe="org.eclipse.elk.spacing.edgeLabel",wz="org.eclipse.elk.randomSeed",wC="org.eclipse.elk.separateConnectedComponents",yI="org.eclipse.elk.interactive",aoe="org.eclipse.elk.portConstraints",mz="org.eclipse.elk.edgeLabels.inline",mC="org.eclipse.elk.omitNodeMicroLayout",lk="org.eclipse.elk.nodeSize.options",k4="org.eclipse.elk.nodeSize.constraints",A7="org.eclipse.elk.nodeLabels.placement",L7="org.eclipse.elk.portLabels.placement",x6e="origin",Jlt="random",eht="boundingBox.upLeft",tht="boundingBox.lowRight",E6e="org.eclipse.elk.stress.fixed",T6e="org.eclipse.elk.stress.desiredEdgeLength",_6e="org.eclipse.elk.stress.dimension",C6e="org.eclipse.elk.stress.epsilon",S6e="org.eclipse.elk.stress.iterationLimit",Qp="org.eclipse.elk.stress",nht="ELK Stress",hk="org.eclipse.elk.nodeSize.minimum",yz="org.eclipse.elk.alg.force.stress",rht="Layered layout",fk="org.eclipse.elk.alg.layered",kI="org.eclipse.elk.alg.layered.compaction.components",yC="org.eclipse.elk.alg.layered.compaction.oned",kz="org.eclipse.elk.alg.layered.compaction.oned.algs",wb="org.eclipse.elk.alg.layered.compaction.recthull",Td="org.eclipse.elk.alg.layered.components",U0="NONE",Mc={3:1,6:1,4:1,9:1,5:1,122:1},iht={3:1,6:1,4:1,5:1,141:1,106:1,120:1},xz="org.eclipse.elk.alg.layered.compound",bs={51:1},su="org.eclipse.elk.alg.layered.graph",ooe=" -> ",sht="Not supported by LGraph",A6e="Port side is undefined",coe={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},Og={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},aht={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},oht=`([{"' \r
-`,cht=`)]}"' \r
-`,uht="The given string contains parts that cannot be parsed as numbers.",xI="org.eclipse.elk.core.math",lht={3:1,4:1,142:1,207:1,414:1},hht={3:1,4:1,116:1,207:1,414:1},qn="org.eclipse.elk.layered",Ng="org.eclipse.elk.alg.layered.graph.transform",fht="ElkGraphImporter",dht="ElkGraphImporter/lambda$0$Type",ght="ElkGraphImporter/lambda$1$Type",pht="ElkGraphImporter/lambda$2$Type",bht="ElkGraphImporter/lambda$4$Type",vht="Node margin calculation",Bn="org.eclipse.elk.alg.layered.intermediate",wht="ONE_SIDED_GREEDY_SWITCH",mht="TWO_SIDED_GREEDY_SWITCH",uoe="No implementation is available for the layout processor ",L6e="IntermediateProcessorStrategy",loe="Node '",yht="FIRST_SEPARATE",kht="LAST_SEPARATE",xht="Odd port side processing",Is="org.eclipse.elk.alg.layered.intermediate.compaction",kC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",a0="org.eclipse.elk.alg.layered.p3order.counting",EI={225:1},dk="org.eclipse.elk.alg.layered.intermediate.loops",Ql="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Zp="org.eclipse.elk.alg.layered.intermediate.loops.routing",xC="org.eclipse.elk.alg.layered.intermediate.preserveorder",_d="org.eclipse.elk.alg.layered.intermediate.wrapping",Dc="org.eclipse.elk.alg.layered.options",hoe="INTERACTIVE",Eht="DEPTH_FIRST",Tht="EDGE_LENGTH",_ht="SELF_LOOPS",Cht="firstTryWithInitialOrder",M6e="org.eclipse.elk.layered.directionCongruency",D6e="org.eclipse.elk.layered.feedbackEdges",Ez="org.eclipse.elk.layered.interactiveReferencePoint",I6e="org.eclipse.elk.layered.mergeEdges",O6e="org.eclipse.elk.layered.mergeHierarchyEdges",N6e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",P6e="org.eclipse.elk.layered.portSortingStrategy",B6e="org.eclipse.elk.layered.thoroughness",F6e="org.eclipse.elk.layered.unnecessaryBendpoints",R6e="org.eclipse.elk.layered.generatePositionAndLayerIds",foe="org.eclipse.elk.layered.cycleBreaking.strategy",TI="org.eclipse.elk.layered.layering.strategy",j6e="org.eclipse.elk.layered.layering.layerConstraint",$6e="org.eclipse.elk.layered.layering.layerChoiceConstraint",H6e="org.eclipse.elk.layered.layering.layerId",doe="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",goe="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",poe="org.eclipse.elk.layered.layering.nodePromotion.strategy",boe="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",voe="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",EC="org.eclipse.elk.layered.crossingMinimization.strategy",z6e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",woe="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",moe="org.eclipse.elk.layered.crossingMinimization.semiInteractive",G6e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",q6e="org.eclipse.elk.layered.crossingMinimization.positionId",V6e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",yoe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",Tz="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",x4="org.eclipse.elk.layered.nodePlacement.strategy",_z="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",koe="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",xoe="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",Eoe="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",Toe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",_oe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",U6e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",K6e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",Cz="org.eclipse.elk.layered.edgeRouting.splines.mode",Sz="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",Coe="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",W6e="org.eclipse.elk.layered.spacing.baseValue",Y6e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",X6e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Q6e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Z6e="org.eclipse.elk.layered.priority.direction",J6e="org.eclipse.elk.layered.priority.shortness",eke="org.eclipse.elk.layered.priority.straightness",Soe="org.eclipse.elk.layered.compaction.connectedComponents",tke="org.eclipse.elk.layered.compaction.postCompaction.strategy",nke="org.eclipse.elk.layered.compaction.postCompaction.constraints",Az="org.eclipse.elk.layered.highDegreeNodes.treatment",Aoe="org.eclipse.elk.layered.highDegreeNodes.threshold",Loe="org.eclipse.elk.layered.highDegreeNodes.treeHeight",K0="org.eclipse.elk.layered.wrapping.strategy",Lz="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",Mz="org.eclipse.elk.layered.wrapping.correctionFactor",TC="org.eclipse.elk.layered.wrapping.cutting.strategy",Moe="org.eclipse.elk.layered.wrapping.cutting.cuts",Doe="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Dz="org.eclipse.elk.layered.wrapping.validify.strategy",Iz="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",Oz="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",Nz="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",Ioe="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",rke="org.eclipse.elk.layered.edgeLabels.sideSelection",ike="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",Pz="org.eclipse.elk.layered.considerModelOrder.strategy",ske="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Ooe="org.eclipse.elk.layered.considerModelOrder.components",ake="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Noe="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Poe="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Boe="layering",Sht="layering.minWidth",Aht="layering.nodePromotion",_I="crossingMinimization",Bz="org.eclipse.elk.hierarchyHandling",Lht="crossingMinimization.greedySwitch",Mht="nodePlacement",Dht="nodePlacement.bk",Iht="edgeRouting",CI="org.eclipse.elk.edgeRouting",z1="spacing",oke="priority",cke="compaction",Oht="compaction.postCompaction",Nht="Specifies whether and how post-process compaction is applied.",uke="highDegreeNodes",lke="wrapping",Pht="wrapping.cutting",Bht="wrapping.validify",hke="wrapping.multiEdge",Foe="edgeLabels",SI="considerModelOrder",fke="org.eclipse.elk.spacing.commentComment",dke="org.eclipse.elk.spacing.commentNode",gke="org.eclipse.elk.spacing.edgeEdge",pke="org.eclipse.elk.spacing.edgeNode",bke="org.eclipse.elk.spacing.labelLabel",vke="org.eclipse.elk.spacing.labelPortHorizontal",wke="org.eclipse.elk.spacing.labelPortVertical",mke="org.eclipse.elk.spacing.labelNode",yke="org.eclipse.elk.spacing.nodeSelfLoop",kke="org.eclipse.elk.spacing.portPort",xke="org.eclipse.elk.spacing.individual",Eke="org.eclipse.elk.port.borderOffset",Tke="org.eclipse.elk.noLayout",_ke="org.eclipse.elk.port.side",AI="org.eclipse.elk.debugMode",Cke="org.eclipse.elk.alignment",Ske="org.eclipse.elk.insideSelfLoops.activate",Ake="org.eclipse.elk.insideSelfLoops.yo",Roe="org.eclipse.elk.nodeSize.fixedGraphSize",Lke="org.eclipse.elk.direction",Mke="org.eclipse.elk.nodeLabels.padding",Dke="org.eclipse.elk.portLabels.nextToPortIfPossible",Ike="org.eclipse.elk.portLabels.treatAsGroup",Oke="org.eclipse.elk.portAlignment.default",Nke="org.eclipse.elk.portAlignment.north",Pke="org.eclipse.elk.portAlignment.south",Bke="org.eclipse.elk.portAlignment.west",Fke="org.eclipse.elk.portAlignment.east",Fz="org.eclipse.elk.contentAlignment",Rke="org.eclipse.elk.junctionPoints",jke="org.eclipse.elk.edgeLabels.placement",$ke="org.eclipse.elk.port.index",Hke="org.eclipse.elk.commentBox",zke="org.eclipse.elk.hypernode",Gke="org.eclipse.elk.port.anchor",joe="org.eclipse.elk.partitioning.activate",$oe="org.eclipse.elk.partitioning.partition",Rz="org.eclipse.elk.position",qke="org.eclipse.elk.margins",Vke="org.eclipse.elk.spacing.portsSurrounding",Hoe="org.eclipse.elk.interactiveLayout",Ic="org.eclipse.elk.core.util",Uke={3:1,4:1,5:1,593:1},Fht="NETWORK_SIMPLEX",Wc={123:1,51:1},jz="org.eclipse.elk.alg.layered.p1cycles",gy="org.eclipse.elk.alg.layered.p2layers",Kke={402:1,225:1},Rht={832:1,3:1,4:1},Wu="org.eclipse.elk.alg.layered.p3order",ko="org.eclipse.elk.alg.layered.p4nodes",jht={3:1,4:1,5:1,840:1},Cd=1e-5,Jp="org.eclipse.elk.alg.layered.p4nodes.bk",zoe="org.eclipse.elk.alg.layered.p5edges",i1="org.eclipse.elk.alg.layered.p5edges.orthogonal",Goe="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",qoe=1e-6,py="org.eclipse.elk.alg.layered.p5edges.splines",Voe=.09999999999999998,$z=1e-8,$ht=4.71238898038469,Hht=3.141592653589793,_C="org.eclipse.elk.alg.mrtree",CC="org.eclipse.elk.alg.mrtree.graph",gk="org.eclipse.elk.alg.mrtree.intermediate",zht="Set neighbors in level",Ght="DESCENDANTS",Wke="org.eclipse.elk.mrtree.weighting",Yke="org.eclipse.elk.mrtree.searchOrder",Hz="org.eclipse.elk.alg.mrtree.options",Pg="org.eclipse.elk.mrtree",qht="org.eclipse.elk.tree",Xke="org.eclipse.elk.alg.radial",E4=6.283185307179586,Qke=5e-324,Vht="org.eclipse.elk.alg.radial.intermediate",Uoe="org.eclipse.elk.alg.radial.intermediate.compaction",Uht={3:1,4:1,5:1,106:1},Zke="org.eclipse.elk.alg.radial.intermediate.optimization",Koe="No implementation is available for the layout option ",SC="org.eclipse.elk.alg.radial.options",Jke="org.eclipse.elk.radial.orderId",e8e="org.eclipse.elk.radial.radius",Woe="org.eclipse.elk.radial.compactor",Yoe="org.eclipse.elk.radial.compactionStepSize",t8e="org.eclipse.elk.radial.sorter",n8e="org.eclipse.elk.radial.wedgeCriteria",r8e="org.eclipse.elk.radial.optimizationCriteria",Sd="org.eclipse.elk.radial",Kht="org.eclipse.elk.alg.radial.p1position.wedge",i8e="org.eclipse.elk.alg.radial.sorting",Wht=5.497787143782138,Yht=3.9269908169872414,Xht=2.356194490192345,Qht="org.eclipse.elk.alg.rectpacking",zz="org.eclipse.elk.alg.rectpacking.firstiteration",Xoe="org.eclipse.elk.alg.rectpacking.options",s8e="org.eclipse.elk.rectpacking.optimizationGoal",a8e="org.eclipse.elk.rectpacking.lastPlaceShift",o8e="org.eclipse.elk.rectpacking.currentPosition",c8e="org.eclipse.elk.rectpacking.desiredPosition",u8e="org.eclipse.elk.rectpacking.onlyFirstIteration",l8e="org.eclipse.elk.rectpacking.rowCompaction",Qoe="org.eclipse.elk.rectpacking.expandToAspectRatio",h8e="org.eclipse.elk.rectpacking.targetWidth",Gz="org.eclipse.elk.expandNodes",Hh="org.eclipse.elk.rectpacking",LI="org.eclipse.elk.alg.rectpacking.util",qz="No implementation available for ",by="org.eclipse.elk.alg.spore",vy="org.eclipse.elk.alg.spore.options",uw="org.eclipse.elk.sporeCompaction",Zoe="org.eclipse.elk.underlyingLayoutAlgorithm",f8e="org.eclipse.elk.processingOrder.treeConstruction",d8e="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Joe="org.eclipse.elk.processingOrder.preferredRoot",ece="org.eclipse.elk.processingOrder.rootSelection",tce="org.eclipse.elk.structure.structureExtractionStrategy",g8e="org.eclipse.elk.compaction.compactionStrategy",p8e="org.eclipse.elk.compaction.orthogonal",b8e="org.eclipse.elk.overlapRemoval.maxIterations",v8e="org.eclipse.elk.overlapRemoval.runScanline",nce="processingOrder",Zht="overlapRemoval",M7="org.eclipse.elk.sporeOverlap",Jht="org.eclipse.elk.alg.spore.p1structure",rce="org.eclipse.elk.alg.spore.p2processingorder",ice="org.eclipse.elk.alg.spore.p3execution",eft="Invalid index: ",D7="org.eclipse.elk.core.alg",T4={331:1},wy={288:1},tft="Make sure its type is registered with the ",w8e=" utility class.",I7="true",sce="false",nft="Couldn't clone property '",lw=.05,zh="org.eclipse.elk.core.options",rft=1.2999999523162842,hw="org.eclipse.elk.box",m8e="org.eclipse.elk.box.packingMode",ift="org.eclipse.elk.algorithm",sft="org.eclipse.elk.resolvedAlgorithm",y8e="org.eclipse.elk.bendPoints",zwn="org.eclipse.elk.labelManager",aft="org.eclipse.elk.scaleFactor",oft="org.eclipse.elk.animate",cft="org.eclipse.elk.animTimeFactor",uft="org.eclipse.elk.layoutAncestors",lft="org.eclipse.elk.maxAnimTime",hft="org.eclipse.elk.minAnimTime",fft="org.eclipse.elk.progressBar",dft="org.eclipse.elk.validateGraph",gft="org.eclipse.elk.validateOptions",pft="org.eclipse.elk.zoomToFit",Gwn="org.eclipse.elk.font.name",bft="org.eclipse.elk.font.size",vft="org.eclipse.elk.edge.type",wft="partitioning",mft="nodeLabels",Vz="portAlignment",ace="nodeSize",oce="port",k8e="portLabels",yft="insideSelfLoops",AC="org.eclipse.elk.fixed",Uz="org.eclipse.elk.random",kft="port must have a parent node to calculate the port side",xft="The edge needs to have exactly one edge section. Found: ",LC="org.eclipse.elk.core.util.adapters",kh="org.eclipse.emf.ecore",_4="org.eclipse.elk.graph",Eft="EMapPropertyHolder",Tft="ElkBendPoint",_ft="ElkGraphElement",Cft="ElkConnectableShape",x8e="ElkEdge",Sft="ElkEdgeSection",Aft="EModelElement",Lft="ENamedElement",E8e="ElkLabel",T8e="ElkNode",_8e="ElkPort",Mft={92:1,90:1},pk="org.eclipse.emf.common.notify.impl",e2="The feature '",MC="' is not a valid changeable feature",Dft="Expecting null",cce="' is not a valid feature",Ift="The feature ID",Oft=" is not a valid feature ID",Ec=32768,Nft={105:1,92:1,90:1,56:1,49:1,97:1},_n="org.eclipse.emf.ecore.impl",mb="org.eclipse.elk.graph.impl",DC="Recursive containment not allowed for ",O7="The datatype '",fw="' is not a valid classifier",uce="The value '",C4={190:1,3:1,4:1},lce="The class '",N7="http://www.eclipse.org/elk/ElkGraph",_f=1024,C8e="property",IC="value",hce="source",Pft="properties",Bft="identifier",fce="height",dce="width",gce="parent",pce="text",bce="children",Fft="hierarchical",S8e="sources",vce="targets",A8e="sections",Kz="bendPoints",L8e="outgoingShape",M8e="incomingShape",D8e="outgoingSections",I8e="incomingSections",Za="org.eclipse.emf.common.util",O8e="Severe implementation error in the Json to ElkGraph importer.",Ad="id",Ia="org.eclipse.elk.graph.json",N8e="Unhandled parameter types: ",Rft="startPoint",jft="An edge must have at least one source and one target (edge id: '",P7="').",$ft="Referenced edge section does not exist: ",Hft=" (edge id: '",P8e="target",zft="sourcePoint",Gft="targetPoint",Wz="group",fi="name",qft="connectableShape cannot be null",Vft="edge cannot be null",wce="Passed edge is not 'simple'.",Yz="org.eclipse.elk.graph.util",MI="The 'no duplicates' constraint is violated",mce="targetIndex=",yb=", size=",yce="sourceIndex=",Ld={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},kce={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},Xz="logging",Uft="measureExecutionTime",Kft="parser.parse.1",Wft="parser.parse.2",Qz="parser.next.1",xce="parser.next.2",Yft="parser.next.3",Xft="parser.next.4",kb="parser.factor.1",B8e="parser.factor.2",Qft="parser.factor.3",Zft="parser.factor.4",Jft="parser.factor.5",e1t="parser.factor.6",t1t="parser.atom.1",n1t="parser.atom.2",r1t="parser.atom.3",F8e="parser.atom.4",Ece="parser.atom.5",R8e="parser.cc.1",Zz="parser.cc.2",i1t="parser.cc.3",s1t="parser.cc.5",j8e="parser.cc.6",$8e="parser.cc.7",Tce="parser.cc.8",a1t="parser.ope.1",o1t="parser.ope.2",c1t="parser.ope.3",Bg="parser.descape.1",u1t="parser.descape.2",l1t="parser.descape.3",h1t="parser.descape.4",f1t="parser.descape.5",xh="parser.process.1",d1t="parser.quantifier.1",g1t="parser.quantifier.2",p1t="parser.quantifier.3",b1t="parser.quantifier.4",H8e="parser.quantifier.5",v1t="org.eclipse.emf.common.notify",z8e={415:1,672:1},w1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},DI={366:1,143:1},OC="index=",_ce={3:1,4:1,5:1,126:1},m1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},G8e={3:1,6:1,4:1,5:1,192:1},y1t={3:1,4:1,5:1,165:1,367:1},k1t=";/?:@&=+$,",x1t="invalid authority: ",E1t="EAnnotation",T1t="ETypedElement",_1t="EStructuralFeature",C1t="EAttribute",S1t="EClassifier",A1t="EEnumLiteral",L1t="EGenericType",M1t="EOperation",D1t="EParameter",I1t="EReference",O1t="ETypeParameter",Ui="org.eclipse.emf.ecore.util",Cce={76:1},q8e={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},N1t="org.eclipse.emf.ecore.util.FeatureMap$Entry",Yu=8192,my=2048,NC="byte",Jz="char",PC="double",BC="float",FC="int",RC="long",jC="short",P1t="java.lang.Object",S4={3:1,4:1,5:1,247:1},V8e={3:1,4:1,5:1,673:1},B1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},Xo={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},II="mixed",Zr="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Gh="kind",F1t={3:1,4:1,5:1,674:1},U8e={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},eG={20:1,28:1,52:1,14:1,15:1,58:1,69:1},tG={47:1,125:1,279:1},nG={72:1,332:1},rG="The value of type '",iG="' must be of type '",A4=1316,qh="http://www.eclipse.org/emf/2002/Ecore",sG=-32768,dw="constraints",Ga="baseType",R1t="getEStructuralFeature",j1t="getFeatureID",$C="feature",$1t="getOperationID",K8e="operation",H1t="defaultValue",z1t="eTypeParameters",G1t="isInstance",q1t="getEEnumLiteral",V1t="eContainingClass",ui={55:1},U1t={3:1,4:1,5:1,119:1},K1t="org.eclipse.emf.ecore.resource",W1t={92:1,90:1,591:1,1935:1},Sce="org.eclipse.emf.ecore.resource.impl",W8e="unspecified",OI="simple",aG="attribute",Y1t="attributeWildcard",oG="element",Ace="elementWildcard",s1="collapse",Lce="itemType",cG="namespace",NI="##targetNamespace",Vh="whiteSpace",Y8e="wildcards",xb="http://www.eclipse.org/emf/2003/XMLType",Mce="##any",B7="uninitialized",PI="The multiplicity constraint is violated",uG="org.eclipse.emf.ecore.xml.type",X1t="ProcessingInstruction",Q1t="SimpleAnyType",Z1t="XMLTypeDocumentRoot",As="org.eclipse.emf.ecore.xml.type.impl",BI="INF",J1t="processing",edt="ENTITIES_._base",X8e="minLength",Q8e="ENTITY",lG="NCName",tdt="IDREFS_._base",Z8e="integer",Dce="token",Ice="pattern",ndt="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",J8e="\\i\\c*",rdt="[\\i-[:]][\\c-[:]]*",idt="nonPositiveInteger",FI="maxInclusive",exe="NMTOKEN",sdt="NMTOKENS_._base",txe="nonNegativeInteger",RI="minInclusive",adt="normalizedString",odt="unsignedByte",cdt="unsignedInt",udt="18446744073709551615",ldt="unsignedShort",hdt="processingInstruction",Fg="org.eclipse.emf.ecore.xml.type.internal",F7=1114111,fdt="Internal Error: shorthands: \\u",HC="xml:isDigit",Oce="xml:isWord",Nce="xml:isSpace",Pce="xml:isNameChar",Bce="xml:isInitialNameChar",ddt="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",gdt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",pdt="Private Use",Fce="ASSIGNED",Rce="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",nxe="UNASSIGNED",R7={3:1,117:1},bdt="org.eclipse.emf.ecore.xml.type.util",hG={3:1,4:1,5:1,368:1},rxe="org.eclipse.xtext.xbase.lib",vdt="Cannot add elements to a Range",wdt="Cannot set elements in a Range",mdt="Cannot remove elements from a Range",fG="locale",dG="default",gG="user.agent",l,pG,jce;b.goog=b.goog||{},b.goog.global=b.goog.global||b,pln(),M(1,null,{},A),l.Fb=function(t){return fqe(this,t)},l.Gb=function(){return this.gm},l.Hb=function(){return kv(this)},l.Ib=function(){var t;return xp(pl(this))+"@"+(t=Yi(this)>>>0,t.toString(16))},l.equals=function(e){return this.Fb(e)},l.hashCode=function(){return this.Hb()},l.toString=function(){return this.Ib()};var ydt,kdt,xdt;M(290,1,{290:1,2026:1},Nme),l.le=function(t){var n;return n=new Nme,n.i=4,t>1?n.c=LYe(this,t-1):n.c=this,n},l.me=function(){return S0(this),this.b},l.ne=function(){return xp(this)},l.oe=function(){return S0(this),this.k},l.pe=function(){return(this.i&4)!=0},l.qe=function(){return(this.i&1)!=0},l.Ib=function(){return Ywe(this)},l.i=0;var Xn=O(ac,"Object",1),ixe=O(ac,"Class",290);M(1998,1,aI),O(oI,"Optional",1998),M(1170,1998,aI,N),l.Fb=function(t){return t===this},l.Hb=function(){return 2040732332},l.Ib=function(){return"Optional.absent()"},l.Jb=function(t){return Or(t),gT(),$ce};var $ce;O(oI,"Absent",1170),M(628,1,{},Nee),O(oI,"Joiner",628);var qwn=rs(oI,"Predicate");M(582,1,{169:1,582:1,3:1,45:1},J9),l.Mb=function(t){return vtt(this,t)},l.Lb=function(t){return vtt(this,t)},l.Fb=function(t){var n;return me(t,582)?(n=u(t,582),S4e(this.a,n.a)):!1},l.Hb=function(){return jme(this.a)+306654252},l.Ib=function(){return thn(this.a)},O(oI,"Predicates/AndPredicate",582),M(408,1998,{408:1,3:1},L8),l.Fb=function(t){var n;return me(t,408)?(n=u(t,408),Ci(this.a,n.a)):!1},l.Hb=function(){return 1502476572+Yi(this.a)},l.Ib=function(){return rlt+this.a+")"},l.Jb=function(t){return new L8(Ij(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},O(oI,"Present",408),M(198,1,v7),l.Nb=function(t){La(this,t)},l.Qb=function(){nHe()},O(qt,"UnmodifiableIterator",198),M(1978,198,w7),l.Qb=function(){nHe()},l.Rb=function(t){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(qt,"UnmodifiableListIterator",1978),M(386,1978,w7),l.Ob=function(){return this.c<this.d},l.Sb=function(){return this.c>0},l.Pb=function(){if(this.c>=this.d)throw ee(new yc);return this.Xb(this.c++)},l.Tb=function(){return this.c},l.Ub=function(){if(this.c<=0)throw ee(new yc);return this.Xb(--this.c)},l.Vb=function(){return this.c-1},l.c=0,l.d=0,O(qt,"AbstractIndexedListIterator",386),M(699,198,v7),l.Ob=function(){return Dre(this)},l.Pb=function(){return Gwe(this)},l.e=1,O(qt,"AbstractIterator",699),M(1986,1,{224:1}),l.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},l.Fb=function(t){return Yre(this,t)},l.Hb=function(){return Yi(this.Zb())},l.dc=function(){return this.gc()==0},l.ec=function(){return A6(this)},l.Ib=function(){return Yo(this.Zb())},O(qt,"AbstractMultimap",1986),M(726,1986,db),l.$b=function(){C$(this)},l._b=function(t){return kHe(this,t)},l.ac=function(){return new U8(this,this.c)},l.ic=function(t){return this.hc()},l.bc=function(){return new j3(this,this.c)},l.jc=function(){return this.mc(this.hc())},l.kc=function(){return new j$e(this)},l.lc=function(){return nse(this.c.vc().Nc(),new F,64,this.d)},l.cc=function(t){return Oi(this,t)},l.fc=function(t){return yD(this,t)},l.gc=function(){return this.d},l.mc=function(t){return fn(),new E(t)},l.nc=function(){return new R$e(this)},l.oc=function(){return nse(this.c.Cc().Nc(),new B,64,this.d)},l.pc=function(t,n){return new a$(this,t,n,null)},l.d=0,O(qt,"AbstractMapBasedMultimap",726),M(1631,726,db),l.hc=function(){return new tu(this.a)},l.jc=function(){return fn(),fn(),bo},l.cc=function(t){return u(Oi(this,t),15)},l.fc=function(t){return u(yD(this,t),15)},l.Zb=function(){return O6(this)},l.Fb=function(t){return Yre(this,t)},l.qc=function(t){return u(Oi(this,t),15)},l.rc=function(t){return u(yD(this,t),15)},l.mc=function(t){return OM(u(t,15))},l.pc=function(t,n){return NXe(this,t,u(n,15),null)},O(qt,"AbstractListMultimap",1631),M(732,1,ba),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.c.Ob()||this.e.Ob()},l.Pb=function(){var t;return this.e.Ob()||(t=u(this.c.Pb(),42),this.b=t.cd(),this.a=u(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},l.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},O(qt,"AbstractMapBasedMultimap/Itr",732),M(1099,732,ba,R$e),l.sc=function(t,n){return n},O(qt,"AbstractMapBasedMultimap/1",1099),M(1100,1,{},B),l.Kb=function(t){return u(t,14).Nc()},O(qt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),M(1101,732,ba,j$e),l.sc=function(t,n){return new bv(t,n)},O(qt,"AbstractMapBasedMultimap/2",1101);var sxe=rs(yr,"Map");M(1967,1,aw),l.wc=function(t){L_(this,t)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.$b=function(){this.vc().$b()},l.tc=function(t){return jie(this,t)},l._b=function(t){return!!M3e(this,t,!1)},l.uc=function(t){var n,r,i;for(r=this.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),i=n.dd(),$e(t)===$e(i)||t!=null&&Ci(t,i))return!0;return!1},l.Fb=function(t){var n,r,i;if(t===this)return!0;if(!me(t,83)||(i=u(t,83),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),!this.tc(n))return!1;return!0},l.xc=function(t){return hc(M3e(this,t,!1))},l.Hb=function(){return Lme(this.vc())},l.dc=function(){return this.gc()==0},l.ec=function(){return new pm(this)},l.zc=function(t,n){throw ee(new fg("Put not supported on this map"))},l.Ac=function(t){A_(this,t)},l.Bc=function(t){return hc(M3e(this,t,!0))},l.gc=function(){return this.vc().gc()},l.Ib=function(){return mit(this)},l.Cc=function(){return new x1(this)},O(yr,"AbstractMap",1967),M(1987,1967,aw),l.bc=function(){return new JF(this)},l.vc=function(){return OKe(this)},l.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},l.Cc=function(){var t;return t=this.i,t||(this.i=new dze(this))},O(qt,"Maps/ViewCachingAbstractMap",1987),M(389,1987,aw,U8),l.xc=function(t){return Ftn(this,t)},l.Bc=function(t){return Jrn(this,t)},l.$b=function(){this.d==this.e.c?this.e.$b():cj(new Qbe(this))},l._b=function(t){return Xtt(this.d,t)},l.Ec=function(){return new M8(this)},l.Dc=function(){return this.Ec()},l.Fb=function(t){return this===t||Ci(this.d,t)},l.Hb=function(){return Yi(this.d)},l.ec=function(){return this.e.ec()},l.gc=function(){return this.d.gc()},l.Ib=function(){return Yo(this.d)},O(qt,"AbstractMapBasedMultimap/AsMap",389);var G1=rs(ac,"Iterable");M(28,1,uy),l.Jc=function(t){Da(this,t)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new kn(this,0)},l.Oc=function(){return new mn(null,this.Nc())},l.Fc=function(t){throw ee(new fg("Add not supported on this collection"))},l.Gc=function(t){return ro(this,t)},l.$b=function(){Bve(this)},l.Hc=function(t){return Wm(this,t,!1)},l.Ic=function(t){return hD(this,t)},l.dc=function(){return this.gc()==0},l.Mc=function(t){return Wm(this,t,!0)},l.Pc=function(){return lve(this)},l.Qc=function(t){return MD(this,t)},l.Ib=function(){return Vp(this)},O(yr,"AbstractCollection",28);var Uh=rs(yr,"Set");M($1,28,Ku),l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return Gnt(this,t)},l.Hb=function(){return Lme(this)},O(yr,"AbstractSet",$1),M(1970,$1,Ku),O(qt,"Sets/ImprovedAbstractSet",1970),M(1971,1970,Ku),l.$b=function(){this.Rc().$b()},l.Hc=function(t){return Tnt(this,t)},l.dc=function(){return this.Rc().dc()},l.Mc=function(t){var n;return this.Hc(t)?(n=u(t,42),this.Rc().ec().Mc(n.cd())):!1},l.gc=function(){return this.Rc().gc()},O(qt,"Maps/EntrySet",1971),M(1097,1971,Ku,M8),l.Hc=function(t){return iye(this.a.d.vc(),t)},l.Kc=function(){return new Qbe(this.a)},l.Rc=function(){return this.a},l.Mc=function(t){var n;return iye(this.a.d.vc(),t)?(n=u(t,42),Een(this.a.e,n.cd()),!0):!1},l.Nc=function(){return _M(this.a.d.vc().Nc(),new yF(this.a))},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),M(1098,1,{},yF),l.Kb=function(t){return EQe(this.a,u(t,42))},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),M(730,1,ba,Qbe),l.Nb=function(t){La(this,t)},l.Pb=function(){var t;return t=u(this.b.Pb(),42),this.a=u(t.dd(),14),EQe(this.c,t)},l.Ob=function(){return this.b.Ob()},l.Qb=function(){W3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),M(532,1970,Ku,JF),l.$b=function(){this.b.$b()},l.Hc=function(t){return this.b._b(t)},l.Jc=function(t){Or(t),this.b.wc(new zJ(t))},l.dc=function(){return this.b.dc()},l.Kc=function(){return new pT(this.b.vc().Kc())},l.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},l.gc=function(){return this.b.gc()},O(qt,"Maps/KeySet",532),M(318,532,Ku,j3),l.$b=function(){var t;cj((t=this.b.vc().Kc(),new Epe(this,t)))},l.Ic=function(t){return this.b.ec().Ic(t)},l.Fb=function(t){return this===t||Ci(this.b.ec(),t)},l.Hb=function(){return Yi(this.b.ec())},l.Kc=function(){var t;return t=this.b.vc().Kc(),new Epe(this,t)},l.Mc=function(t){var n,r;return r=0,n=u(this.b.Bc(t),14),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},l.Nc=function(){return this.b.ec().Nc()},O(qt,"AbstractMapBasedMultimap/KeySet",318),M(731,1,ba,Epe),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.c.Ob()},l.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},l.Qb=function(){var t;W3(!!this.a),t=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},O(qt,"AbstractMapBasedMultimap/KeySet/1",731),M(491,389,{83:1,161:1},wM),l.bc=function(){return this.Sc()},l.ec=function(){return this.Tc()},l.Sc=function(){return new WL(this.c,this.Uc())},l.Tc=function(){var t;return t=this.b,t||(this.b=this.Sc())},l.Uc=function(){return u(this.d,161)},O(qt,"AbstractMapBasedMultimap/SortedAsMap",491),M(542,491,ilt,YR),l.bc=function(){return new V8(this.a,u(u(this.d,161),171))},l.Sc=function(){return new V8(this.a,u(u(this.d,161),171))},l.ec=function(){var t;return t=this.b,u(t||(this.b=new V8(this.a,u(u(this.d,161),171))),271)},l.Tc=function(){var t;return t=this.b,u(t||(this.b=new V8(this.a,u(u(this.d,161),171))),271)},l.Uc=function(){return u(u(this.d,161),171)},O(qt,"AbstractMapBasedMultimap/NavigableAsMap",542),M(490,318,slt,WL),l.Nc=function(){return this.b.ec().Nc()},O(qt,"AbstractMapBasedMultimap/SortedKeySet",490),M(388,490,z5e,V8),O(qt,"AbstractMapBasedMultimap/NavigableKeySet",388),M(541,28,uy,a$),l.Fc=function(t){var n,r;return bl(this),r=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,r&&xM(this)),n},l.Gc=function(t){var n,r,i;return t.dc()?!1:(i=(bl(this),this.d.gc()),n=this.d.Gc(t),n&&(r=this.d.gc(),this.f.d+=r-i,i==0&&xM(this)),n)},l.$b=function(){var t;t=(bl(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,dj(this))},l.Hc=function(t){return bl(this),this.d.Hc(t)},l.Ic=function(t){return bl(this),this.d.Ic(t)},l.Fb=function(t){return t===this?!0:(bl(this),Ci(this.d,t))},l.Hb=function(){return bl(this),Yi(this.d)},l.Kc=function(){return bl(this),new Fbe(this)},l.Mc=function(t){var n;return bl(this),n=this.d.Mc(t),n&&(--this.f.d,dj(this)),n},l.gc=function(){return QGe(this)},l.Nc=function(){return bl(this),this.d.Nc()},l.Ib=function(){return bl(this),Yo(this.d)},O(qt,"AbstractMapBasedMultimap/WrappedCollection",541);var Eh=rs(yr,"List");M(728,541,{20:1,28:1,14:1,15:1},fve),l.ad=function(t){K3(this,t)},l.Nc=function(){return bl(this),this.d.Nc()},l.Vc=function(t,n){var r;bl(this),r=this.d.dc(),u(this.d,15).Vc(t,n),++this.a.d,r&&xM(this)},l.Wc=function(t,n){var r,i,a;return n.dc()?!1:(a=(bl(this),this.d.gc()),r=u(this.d,15).Wc(t,n),r&&(i=this.d.gc(),this.a.d+=i-a,a==0&&xM(this)),r)},l.Xb=function(t){return bl(this),u(this.d,15).Xb(t)},l.Xc=function(t){return bl(this),u(this.d,15).Xc(t)},l.Yc=function(){return bl(this),new Mqe(this)},l.Zc=function(t){return bl(this),new GWe(this,t)},l.$c=function(t){var n;return bl(this),n=u(this.d,15).$c(t),--this.a.d,dj(this),n},l._c=function(t,n){return bl(this),u(this.d,15)._c(t,n)},l.bd=function(t,n){return bl(this),NXe(this.a,this.e,u(this.d,15).bd(t,n),this.b?this.b:this)},O(qt,"AbstractMapBasedMultimap/WrappedList",728),M(1096,728,{20:1,28:1,14:1,15:1,54:1},yVe),O(qt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),M(620,1,ba,Fbe),l.Nb=function(t){La(this,t)},l.Ob=function(){return dx(this),this.b.Ob()},l.Pb=function(){return dx(this),this.b.Pb()},l.Qb=function(){rVe(this)},O(qt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),M(729,620,e0,Mqe,GWe),l.Qb=function(){rVe(this)},l.Rb=function(t){var n;n=QGe(this.a)==0,(dx(this),u(this.b,125)).Rb(t),++this.a.a.d,n&&xM(this.a)},l.Sb=function(){return(dx(this),u(this.b,125)).Sb()},l.Tb=function(){return(dx(this),u(this.b,125)).Tb()},l.Ub=function(){return(dx(this),u(this.b,125)).Ub()},l.Vb=function(){return(dx(this),u(this.b,125)).Vb()},l.Wb=function(t){(dx(this),u(this.b,125)).Wb(t)},O(qt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),M(727,541,slt,ibe),l.Nc=function(){return bl(this),this.d.Nc()},O(qt,"AbstractMapBasedMultimap/WrappedSortedSet",727),M(1095,727,z5e,xqe),O(qt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),M(1094,541,Ku,NVe),l.Nc=function(){return bl(this),this.d.Nc()},O(qt,"AbstractMapBasedMultimap/WrappedSet",1094),M(1103,1,{},F),l.Kb=function(t){return Len(u(t,42))},O(qt,"AbstractMapBasedMultimap/lambda$1$Type",1103),M(1102,1,{},LJ),l.Kb=function(t){return new bv(this.a,t)},O(qt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Eb=rs(yr,"Map/Entry");M(345,1,sz),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),pd(this.cd(),n.cd())&&pd(this.dd(),n.dd())):!1},l.Hb=function(){var t,n;return t=this.cd(),n=this.dd(),(t==null?0:Yi(t))^(n==null?0:Yi(n))},l.ed=function(t){throw ee(new Rr)},l.Ib=function(){return this.cd()+"="+this.dd()},O(qt,alt,345),M(1988,28,uy),l.$b=function(){this.fd().$b()},l.Hc=function(t){var n;return me(t,42)?(n=u(t,42),uJt(this.fd(),n.cd(),n.dd())):!1},l.Mc=function(t){var n;return me(t,42)?(n=u(t,42),gXe(this.fd(),n.cd(),n.dd())):!1},l.gc=function(){return this.fd().d},O(qt,"Multimaps/Entries",1988),M(733,1988,uy,DL),l.Kc=function(){return this.a.kc()},l.fd=function(){return this.a},l.Nc=function(){return this.a.lc()},O(qt,"AbstractMultimap/Entries",733),M(734,733,Ku,Jge),l.Nc=function(){return this.a.lc()},l.Fb=function(t){return W3e(this,t)},l.Hb=function(){return bet(this)},O(qt,"AbstractMultimap/EntrySet",734),M(735,28,uy,x3),l.$b=function(){this.a.$b()},l.Hc=function(t){return Krn(this.a,t)},l.Kc=function(){return this.a.nc()},l.gc=function(){return this.a.d},l.Nc=function(){return this.a.oc()},O(qt,"AbstractMultimap/Values",735),M(1989,28,{835:1,20:1,28:1,14:1}),l.Jc=function(t){Or(t),H3(this).Jc(new HJ(t))},l.Nc=function(){var t;return t=H3(this).Nc(),nse(t,new ye,64|t.qd()&1296,this.a.d)},l.Fc=function(t){return cpe(),!0},l.Gc=function(t){return Or(this),Or(t),me(t,543)?gJt(u(t,835)):!t.dc()&&xre(this,t.Kc())},l.Hc=function(t){var n;return n=u(Km(O6(this.a),t),14),(n?n.gc():0)>0},l.Fb=function(t){return o1n(this,t)},l.Hb=function(){return Yi(H3(this))},l.dc=function(){return H3(this).dc()},l.Mc=function(t){return Bst(this,t,1)>0},l.Ib=function(){return Yo(H3(this))},O(qt,"AbstractMultiset",1989),M(1991,1970,Ku),l.$b=function(){C$(this.a.a)},l.Hc=function(t){var n,r;return me(t,492)?(r=u(t,416),u(r.a.dd(),14).gc()<=0?!1:(n=qYe(this.a,r.a.cd()),n==u(r.a.dd(),14).gc())):!1},l.Mc=function(t){var n,r,i,a;return me(t,492)&&(r=u(t,416),n=r.a.cd(),i=u(r.a.dd(),14).gc(),i!=0)?(a=this.a,Yhn(a,n,i)):!1},O(qt,"Multisets/EntrySet",1991),M(1109,1991,Ku,IL),l.Kc=function(){return new K$e(OKe(O6(this.a.a)).Kc())},l.gc=function(){return O6(this.a.a).gc()},O(qt,"AbstractMultiset/EntrySet",1109),M(619,726,db),l.hc=function(){return this.gd()},l.jc=function(){return this.hd()},l.cc=function(t){return this.jd(t)},l.fc=function(t){return this.kd(t)},l.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},l.hd=function(){return fn(),fn(),kG},l.Fb=function(t){return Yre(this,t)},l.jd=function(t){return u(Oi(this,t),21)},l.kd=function(t){return u(yD(this,t),21)},l.mc=function(t){return fn(),new H8(u(t,21))},l.pc=function(t,n){return new NVe(this,t,u(n,21))},O(qt,"AbstractSetMultimap",619),M(1657,619,db),l.hc=function(){return new Ep(this.b)},l.gd=function(){return new Ep(this.b)},l.jc=function(){return Sve(new Ep(this.b))},l.hd=function(){return Sve(new Ep(this.b))},l.cc=function(t){return u(u(Oi(this,t),21),84)},l.jd=function(t){return u(u(Oi(this,t),21),84)},l.fc=function(t){return u(u(yD(this,t),21),84)},l.kd=function(t){return u(u(yD(this,t),21),84)},l.mc=function(t){return me(t,271)?Sve(u(t,271)):(fn(),new F2e(u(t,84)))},l.Zb=function(){var t;return t=this.f,t||(this.f=me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c))},l.pc=function(t,n){return me(n,271)?new xqe(this,t,u(n,271)):new ibe(this,t,u(n,84))},O(qt,"AbstractSortedSetMultimap",1657),M(1658,1657,db),l.Zb=function(){var t;return t=this.f,u(u(t||(this.f=me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c)),161),171)},l.ec=function(){var t;return t=this.i,u(u(t||(this.i=me(this.c,171)?new V8(this,u(this.c,171)):me(this.c,161)?new WL(this,u(this.c,161)):new j3(this,this.c)),84),271)},l.bc=function(){return me(this.c,171)?new V8(this,u(this.c,171)):me(this.c,161)?new WL(this,u(this.c,161)):new j3(this,this.c)},O(qt,"AbstractSortedKeySortedSetMultimap",1658),M(2010,1,{1947:1}),l.Fb=function(t){return Rcn(this,t)},l.Hb=function(){var t;return Lme((t=this.g,t||(this.g=new eT(this))))},l.Ib=function(){var t;return mit((t=this.f,t||(this.f=new L2e(this))))},O(qt,"AbstractTable",2010),M(665,$1,Ku,eT),l.$b=function(){rHe()},l.Hc=function(t){var n,r;return me(t,468)?(n=u(t,682),r=u(Km(nWe(this.a),Cp(n.c.e,n.b)),83),!!r&&iye(r.vc(),new bv(Cp(n.c.c,n.a),$6(n.c,n.b,n.a)))):!1},l.Kc=function(){return xQt(this.a)},l.Mc=function(t){var n,r;return me(t,468)?(n=u(t,682),r=u(Km(nWe(this.a),Cp(n.c.e,n.b)),83),!!r&&yin(r.vc(),new bv(Cp(n.c.c,n.a),$6(n.c,n.b,n.a)))):!1},l.gc=function(){return gKe(this.a)},l.Nc=function(){return vJt(this.a)},O(qt,"AbstractTable/CellSet",665),M(1928,28,uy,MJ),l.$b=function(){rHe()},l.Hc=function(t){return Lun(this.a,t)},l.Kc=function(){return EQt(this.a)},l.gc=function(){return gKe(this.a)},l.Nc=function(){return vXe(this.a)},O(qt,"AbstractTable/Values",1928),M(1632,1631,db),O(qt,"ArrayListMultimapGwtSerializationDependencies",1632),M(513,1632,db,Oee,Zve),l.hc=function(){return new tu(this.a)},l.a=0,O(qt,"ArrayListMultimap",513),M(664,2010,{664:1,1947:1,3:1},Ust),O(qt,"ArrayTable",664),M(1924,386,w7,Qqe),l.Xb=function(t){return new Ome(this.a,t)},O(qt,"ArrayTable/1",1924),M(1925,1,{},mF),l.ld=function(t){return new Ome(this.a,t)},O(qt,"ArrayTable/1methodref$getCell$Type",1925),M(2011,1,{682:1}),l.Fb=function(t){var n;return t===this?!0:me(t,468)?(n=u(t,682),pd(Cp(this.c.e,this.b),Cp(n.c.e,n.b))&&pd(Cp(this.c.c,this.a),Cp(n.c.c,n.a))&&pd($6(this.c,this.b,this.a),$6(n.c,n.b,n.a))):!1},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[Cp(this.c.e,this.b),Cp(this.c.c,this.a),$6(this.c,this.b,this.a)]))},l.Ib=function(){return"("+Cp(this.c.e,this.b)+","+Cp(this.c.c,this.a)+")="+$6(this.c,this.b,this.a)},O(qt,"Tables/AbstractCell",2011),M(468,2011,{468:1,682:1},Ome),l.a=0,l.b=0,l.d=0,O(qt,"ArrayTable/2",468),M(1927,1,{},e6),l.ld=function(t){return AZe(this.a,t)},O(qt,"ArrayTable/2methodref$getValue$Type",1927),M(1926,386,w7,Zqe),l.Xb=function(t){return AZe(this.a,t)},O(qt,"ArrayTable/3",1926),M(1979,1967,aw),l.$b=function(){cj(this.kc())},l.vc=function(){return new n6(this)},l.lc=function(){return new MWe(this.kc(),this.gc())},O(qt,"Maps/IteratorBasedAbstractMap",1979),M(828,1979,aw),l.$b=function(){throw ee(new Rr)},l._b=function(t){return xHe(this.c,t)},l.kc=function(){return new Jqe(this,this.c.b.c.gc())},l.lc=function(){return Zte(this.c.b.c.gc(),16,new rv(this))},l.xc=function(t){var n;return n=u(t_(this.c,t),19),n?this.nd(n.a):null},l.dc=function(){return this.c.b.c.dc()},l.ec=function(){return ane(this.c)},l.zc=function(t,n){var r;if(r=u(t_(this.c,t),19),!r)throw ee(new Dn(this.md()+" "+t+" not in "+ane(this.c)));return this.od(r.a,n)},l.Bc=function(t){throw ee(new Rr)},l.gc=function(){return this.c.b.c.gc()},O(qt,"ArrayTable/ArrayMap",828),M(1923,1,{},rv),l.ld=function(t){return iWe(this.a,t)},O(qt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),M(1921,345,sz,nze),l.cd=function(){return RVt(this.a,this.b)},l.dd=function(){return this.a.nd(this.b)},l.ed=function(t){return this.a.od(this.b,t)},l.b=0,O(qt,"ArrayTable/ArrayMap/1",1921),M(1922,386,w7,Jqe),l.Xb=function(t){return iWe(this.a,t)},O(qt,"ArrayTable/ArrayMap/2",1922),M(1920,828,aw,VKe),l.md=function(){return"Column"},l.nd=function(t){return $6(this.b,this.a,t)},l.od=function(t,n){return ntt(this.b,this.a,t,n)},l.a=0,O(qt,"ArrayTable/Row",1920),M(829,828,aw,L2e),l.nd=function(t){return new VKe(this.a,t)},l.zc=function(t,n){return u(n,83),kGt()},l.od=function(t,n){return u(n,83),xGt()},l.md=function(){return"Row"},O(qt,"ArrayTable/RowMap",829),M(1120,1,jh,rze),l.qd=function(){return this.a.qd()&-262},l.rd=function(){return this.a.rd()},l.Nb=function(t){this.a.Nb(new ZHe(t,this.b))},l.sd=function(t){return this.a.sd(new QHe(t,this.b))},O(qt,"CollectSpliterators/1",1120),M(1121,1,Vn,QHe),l.td=function(t){this.a.td(this.b.Kb(t))},O(qt,"CollectSpliterators/1/lambda$0$Type",1121),M(1122,1,Vn,ZHe),l.td=function(t){this.a.td(this.b.Kb(t))},O(qt,"CollectSpliterators/1/lambda$1$Type",1122),M(1123,1,jh,AXe),l.qd=function(){return this.a},l.rd=function(){return this.d&&(this.b=Iqe(this.b,this.d.rd())),Iqe(this.b,0)},l.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new XHe(this.e,t)),this.b=0},l.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return GT(this.b,az)&&(this.b=Gp(this.b,1)),!0;if(this.d=null,!this.c.sd(new JHe(this,this.e)))return!1}},l.a=0,l.b=0,O(qt,"CollectSpliterators/1FlatMapSpliterator",1123),M(1124,1,Vn,JHe),l.td=function(t){HUt(this.a,this.b,t)},O(qt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),M(1125,1,Vn,XHe),l.td=function(t){_Vt(this.b,this.a,t)},O(qt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),M(1117,1,jh,lUe),l.qd=function(){return 16464|this.b},l.rd=function(){return this.a.rd()},l.Nb=function(t){this.a.xe(new tze(t,this.c))},l.sd=function(t){return this.a.ye(new eze(t,this.c))},l.b=0,O(qt,"CollectSpliterators/1WithCharacteristics",1117),M(1118,1,cI,eze),l.ud=function(t){this.a.td(this.b.ld(t))},O(qt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),M(1119,1,cI,tze),l.ud=function(t){this.a.td(this.b.ld(t))},O(qt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),M(245,1,oae),l.wd=function(t){return this.vd(u(t,245))},l.vd=function(t){var n;return t==(Tee(),zce)?1:t==(_ee(),Hce)?-1:(n=(sj(),oD(this.a,t.a)),n!=0?n:me(this,519)==me(t,519)?0:me(this,519)?1:-1)},l.zd=function(){return this.a},l.Fb=function(t){return Bye(this,t)},O(qt,"Cut",245),M(1761,245,oae,aHe),l.vd=function(t){return t==this?0:1},l.xd=function(t){throw ee(new Pge)},l.yd=function(t){t.a+="+∞)"},l.zd=function(){throw ee(new Vo(clt))},l.Hb=function(){return Gd(),Vye(this)},l.Ad=function(t){return!1},l.Ib=function(){return"+∞"};var Hce;O(qt,"Cut/AboveAll",1761),M(519,245,{245:1,519:1,3:1,35:1},iVe),l.xd=function(t){kc((t.a+="(",t),this.a)},l.yd=function(t){Ip(kc(t,this.a),93)},l.Hb=function(){return~Yi(this.a)},l.Ad=function(t){return sj(),oD(this.a,t)<0},l.Ib=function(){return"/"+this.a+"\\"},O(qt,"Cut/AboveValue",519),M(1760,245,oae,oHe),l.vd=function(t){return t==this?0:-1},l.xd=function(t){t.a+="(-∞"},l.yd=function(t){throw ee(new Pge)},l.zd=function(){throw ee(new Vo(clt))},l.Hb=function(){return Gd(),Vye(this)},l.Ad=function(t){return!0},l.Ib=function(){return"-∞"};var zce;O(qt,"Cut/BelowAll",1760),M(1762,245,oae,sVe),l.xd=function(t){kc((t.a+="[",t),this.a)},l.yd=function(t){Ip(kc(t,this.a),41)},l.Hb=function(){return Yi(this.a)},l.Ad=function(t){return sj(),oD(this.a,t)<=0},l.Ib=function(){return"\\"+this.a+"/"},O(qt,"Cut/BelowValue",1762),M(537,1,t0),l.Jc=function(t){Da(this,t)},l.Ib=function(){return Xin(u(Ij(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},O(qt,"FluentIterable",537),M(433,537,t0,UT),l.Kc=function(){return new ur(dr(this.a.Kc(),new V))},O(qt,"FluentIterable/2",433),M(1046,537,t0,uqe),l.Kc=function(){return Dp(this)},O(qt,"FluentIterable/3",1046),M(708,386,w7,M2e),l.Xb=function(t){return this.a[t].Kc()},O(qt,"FluentIterable/3/1",708),M(1972,1,{}),l.Ib=function(){return Yo(this.Bd().b)},O(qt,"ForwardingObject",1972),M(1973,1972,ult),l.Bd=function(){return this.Cd()},l.Jc=function(t){Da(this,t)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new kn(this,0)},l.Oc=function(){return new mn(null,this.Nc())},l.Fc=function(t){return this.Cd(),CHe()},l.Gc=function(t){return this.Cd(),SHe()},l.$b=function(){this.Cd(),AHe()},l.Hc=function(t){return this.Cd().Hc(t)},l.Ic=function(t){return this.Cd().Ic(t)},l.dc=function(){return this.Cd().b.dc()},l.Kc=function(){return this.Cd().Kc()},l.Mc=function(t){return this.Cd(),LHe()},l.gc=function(){return this.Cd().b.gc()},l.Pc=function(){return this.Cd().Pc()},l.Qc=function(t){return this.Cd().Qc(t)},O(qt,"ForwardingCollection",1973),M(1980,28,G5e),l.Kc=function(){return this.Ed()},l.Fc=function(t){throw ee(new Rr)},l.Gc=function(t){throw ee(new Rr)},l.$b=function(){throw ee(new Rr)},l.Hc=function(t){return t!=null&&Wm(this,t,!1)},l.Dd=function(){switch(this.gc()){case 0:return Pm(),Pm(),Gce;case 1:return Pm(),new Jte(Or(this.Ed().Pb()));default:return new UKe(this,this.Pc())}},l.Mc=function(t){throw ee(new Rr)},O(qt,"ImmutableCollection",1980),M(712,1980,G5e,Oge),l.Kc=function(){return H6(this.a.Kc())},l.Hc=function(t){return t!=null&&this.a.Hc(t)},l.Ic=function(t){return this.a.Ic(t)},l.dc=function(){return this.a.dc()},l.Ed=function(){return H6(this.a.Kc())},l.gc=function(){return this.a.gc()},l.Pc=function(){return this.a.Pc()},l.Qc=function(t){return this.a.Qc(t)},l.Ib=function(){return Yo(this.a)},O(qt,"ForwardingImmutableCollection",712),M(152,1980,lC),l.Kc=function(){return this.Ed()},l.Yc=function(){return this.Fd(0)},l.Zc=function(t){return this.Fd(t)},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.bd=function(t,n){return this.Gd(t,n)},l.Vc=function(t,n){throw ee(new Rr)},l.Wc=function(t,n){throw ee(new Rr)},l.Fb=function(t){return Vfn(this,t)},l.Hb=function(){return nrn(this)},l.Xc=function(t){return t==null?-1:pon(this,t)},l.Ed=function(){return this.Fd(0)},l.Fd=function(t){return V2e(this,t)},l.$c=function(t){throw ee(new Rr)},l._c=function(t,n){throw ee(new Rr)},l.Gd=function(t,n){var r;return Y$((r=new gze(this),new Yd(r,t,n)))};var Gce;O(qt,"ImmutableList",152),M(2006,152,lC),l.Kc=function(){return H6(this.Hd().Kc())},l.bd=function(t,n){return Y$(this.Hd().bd(t,n))},l.Hc=function(t){return t!=null&&this.Hd().Hc(t)},l.Ic=function(t){return this.Hd().Ic(t)},l.Fb=function(t){return Ci(this.Hd(),t)},l.Xb=function(t){return Cp(this,t)},l.Hb=function(){return Yi(this.Hd())},l.Xc=function(t){return this.Hd().Xc(t)},l.dc=function(){return this.Hd().dc()},l.Ed=function(){return H6(this.Hd().Kc())},l.gc=function(){return this.Hd().gc()},l.Gd=function(t,n){return Y$(this.Hd().bd(t,n))},l.Pc=function(){return this.Hd().Qc(Ie(Xn,_t,1,this.Hd().gc(),5,1))},l.Qc=function(t){return this.Hd().Qc(t)},l.Ib=function(){return Yo(this.Hd())},O(qt,"ForwardingImmutableList",2006),M(714,1,m7),l.vc=function(){return _v(this)},l.wc=function(t){L_(this,t)},l.ec=function(){return ane(this)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.Cc=function(){return this.Ld()},l.$b=function(){throw ee(new Rr)},l._b=function(t){return this.xc(t)!=null},l.uc=function(t){return this.Ld().Hc(t)},l.Jd=function(){return new Qje(this)},l.Kd=function(){return new Zje(this)},l.Fb=function(t){return Wrn(this,t)},l.Hb=function(){return _v(this).Hb()},l.dc=function(){return this.gc()==0},l.zc=function(t,n){return EGt()},l.Bc=function(t){throw ee(new Rr)},l.Ib=function(){return Cln(this)},l.Ld=function(){return this.e?this.e:this.e=this.Kd()},l.c=null,l.d=null,l.e=null;var Edt;O(qt,"ImmutableMap",714),M(715,714,m7),l._b=function(t){return xHe(this,t)},l.uc=function(t){return wze(this.b,t)},l.Id=function(){return Ytt(new nT(this))},l.Jd=function(){return Ytt(CWe(this.b))},l.Kd=function(){return gd(),new Oge(_We(this.b))},l.Fb=function(t){return mze(this.b,t)},l.xc=function(t){return t_(this,t)},l.Hb=function(){return Yi(this.b.c)},l.dc=function(){return this.b.c.dc()},l.gc=function(){return this.b.c.gc()},l.Ib=function(){return Yo(this.b.c)},O(qt,"ForwardingImmutableMap",715),M(1974,1973,cae),l.Bd=function(){return this.Md()},l.Cd=function(){return this.Md()},l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return t===this||this.Md().Fb(t)},l.Hb=function(){return this.Md().Hb()},O(qt,"ForwardingSet",1974),M(1069,1974,cae,nT),l.Bd=function(){return hx(this.a.b)},l.Cd=function(){return hx(this.a.b)},l.Hc=function(t){if(me(t,42)&&u(t,42).cd()==null)return!1;try{return vze(hx(this.a.b),t)}catch(n){if(n=ts(n),me(n,205))return!1;throw ee(n)}},l.Md=function(){return hx(this.a.b)},l.Qc=function(t){var n;return n=oYe(hx(this.a.b),t),hx(this.a.b).b.gc()<n.length&&us(n,hx(this.a.b).b.gc(),null),n},O(qt,"ForwardingImmutableMap/1",1069),M(1981,1980,y7),l.Kc=function(){return this.Ed()},l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return W3e(this,t)},l.Hb=function(){return bet(this)},O(qt,"ImmutableSet",1981),M(703,1981,y7),l.Kc=function(){return H6(new S(this.a.b.Kc()))},l.Hc=function(t){return t!=null&&YL(this.a,t)},l.Ic=function(t){return pze(this.a,t)},l.Hb=function(){return Yi(this.a.b)},l.dc=function(){return this.a.b.dc()},l.Ed=function(){return H6(new S(this.a.b.Kc()))},l.gc=function(){return this.a.b.gc()},l.Pc=function(){return this.a.b.Pc()},l.Qc=function(t){return bze(this.a,t)},l.Ib=function(){return Yo(this.a.b)},O(qt,"ForwardingImmutableSet",703),M(1975,1974,llt),l.Bd=function(){return this.b},l.Cd=function(){return this.b},l.Md=function(){return this.b},l.Nc=function(){return new hR(this)},O(qt,"ForwardingSortedSet",1975),M(533,1979,m7,wH),l.Ac=function(t){A_(this,t)},l.Cc=function(){var t;return t=this.d,new Ete(t||(this.d=new t6(this)))},l.$b=function(){zM(this)},l._b=function(t){return!!C_(this,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))))},l.uc=function(t){return _Je(this,t)},l.kc=function(){return new eVe(this,this)},l.wc=function(t){wYe(this,t)},l.xc=function(t){return U3(this,t)},l.ec=function(){return new Tte(this)},l.zc=function(t,n){return UH(this,t,n)},l.Bc=function(t){var n;return n=C_(this,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))),n?(u4(this,n),n.e=null,n.c=null,n.i):null},l.gc=function(){return this.i},l.pd=function(){var t;return t=this.d,new Ete(t||(this.d=new t6(this)))},l.f=0,l.g=0,l.i=0,O(qt,"HashBiMap",533),M(534,1,ba),l.Nb=function(t){La(this,t)},l.Ob=function(){return FXe(this)},l.Pb=function(){var t;if(!FXe(this))throw ee(new yc);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},l.Qb=function(){if(this.e.g!=this.b)throw ee(new uh);W3(!!this.f),u4(this.e,this.f),this.b=this.e.g,this.f=null},l.b=0,l.d=0,l.f=null,O(qt,"HashBiMap/Itr",534),M(1011,534,ba,eVe),l.Nd=function(t){return new aze(this,t)},O(qt,"HashBiMap/1",1011),M(1012,345,sz,aze),l.cd=function(){return this.a.g},l.dd=function(){return this.a.i},l.ed=function(t){var n,r,i;return r=this.a.i,i=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),i==this.a.f&&($e(t)===$e(r)||t!=null&&Ci(t,r))?t:(Zet(!S_(this.b.a,t,i),t),u4(this.b.a,this.a),n=new _j(this.a.g,this.a.a,t,i),HD(this.b.a,n,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=n),this.a=n,r)},O(qt,"HashBiMap/1/MapEntry",1012),M(238,345,{345:1,238:1,3:1,42:1},bv),l.cd=function(){return this.g},l.dd=function(){return this.i},l.ed=function(t){throw ee(new Rr)},O(qt,"ImmutableEntry",238),M(317,238,{345:1,317:1,238:1,3:1,42:1},_j),l.a=0,l.f=0;var qce=O(qt,"HashBiMap/BiEntry",317);M(610,1979,m7,t6),l.Ac=function(t){A_(this,t)},l.Cc=function(){return new Tte(this.a)},l.$b=function(){zM(this.a)},l._b=function(t){return _Je(this.a,t)},l.kc=function(){return new tVe(this,this.a)},l.wc=function(t){Or(t),wYe(this.a,new OL(t))},l.xc=function(t){return L$(this,t)},l.ec=function(){return new Ete(this)},l.zc=function(t,n){return Xgn(this.a,t,n,!1)},l.Bc=function(t){var n;return n=S_(this.a,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))),n?(u4(this.a,n),n.e=null,n.c=null,n.g):null},l.gc=function(){return this.a.i},l.pd=function(){return new Tte(this.a)},O(qt,"HashBiMap/Inverse",610),M(1008,534,ba,tVe),l.Nd=function(t){return new oze(this,t)},O(qt,"HashBiMap/Inverse/1",1008),M(1009,345,sz,oze),l.cd=function(){return this.a.i},l.dd=function(){return this.a.g},l.ed=function(t){var n,r,i;return i=this.a.g,n=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),n==this.a.a&&($e(t)===$e(i)||t!=null&&Ci(t,i))?t:(Zet(!C_(this.b.a.a,t,n),t),u4(this.b.a.a,this.a),r=new _j(t,n,this.a.i,this.a.f),this.a=r,HD(this.b.a.a,r,null),this.b.b=this.b.a.a.g,i)},O(qt,"HashBiMap/Inverse/1/InverseEntry",1009),M(611,532,Ku,Ete),l.Kc=function(){return new q$e(this.a.a)},l.Mc=function(t){var n;return n=S_(this.a.a,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))),n?(u4(this.a.a,n),!0):!1},O(qt,"HashBiMap/Inverse/InverseKeySet",611),M(1007,534,ba,q$e),l.Nd=function(t){return t.i},O(qt,"HashBiMap/Inverse/InverseKeySet/1",1007),M(1010,1,{},OL),l.Od=function(t,n){tGt(this.a,t,n)},O(qt,"HashBiMap/Inverse/lambda$0$Type",1010),M(609,532,Ku,Tte),l.Kc=function(){return new V$e(this.a)},l.Mc=function(t){var n;return n=C_(this.a,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))),n?(u4(this.a,n),n.e=null,n.c=null,!0):!1},O(qt,"HashBiMap/KeySet",609),M(1006,534,ba,V$e),l.Nd=function(t){return t.g},O(qt,"HashBiMap/KeySet/1",1006),M(1093,619,db),O(qt,"HashMultimapGwtSerializationDependencies",1093),M(265,1093,db,Ov),l.hc=function(){return new XF(zm(this.a))},l.gd=function(){return new XF(zm(this.a))},l.a=2,O(qt,"HashMultimap",265),M(1999,152,lC),l.Hc=function(t){return this.Pd().Hc(t)},l.dc=function(){return this.Pd().dc()},l.gc=function(){return this.Pd().gc()},O(qt,"ImmutableAsList",1999),M(1931,715,m7),l.Ld=function(){return gd(),new g6(this.a)},l.Cc=function(){return gd(),new g6(this.a)},l.pd=function(){return gd(),new g6(this.a)},O(qt,"ImmutableBiMap",1931),M(1977,1,{}),O(qt,"ImmutableCollection/Builder",1977),M(1022,703,y7,U$e),O(qt,"ImmutableEnumSet",1022),M(969,386,w7,uUe),l.Xb=function(t){return this.a.Xb(t)},O(qt,"ImmutableList/1",969),M(968,1977,{},GVe),O(qt,"ImmutableList/Builder",968),M(614,198,v7,NL),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),42).cd()},O(qt,"ImmutableMap/1",614),M(1041,1,{},H),l.Kb=function(t){return u(t,42).cd()},O(qt,"ImmutableMap/2methodref$getKey$Type",1041),M(1040,1,{},qVe),O(qt,"ImmutableMap/Builder",1040),M(2e3,1981,y7),l.Kc=function(){var t;return t=_v(this.a).Ed(),new NL(t)},l.Dd=function(){return new Nge(this)},l.Jc=function(t){var n,r;for(Or(t),r=this.gc(),n=0;n<r;n++)t.td(u(dve(_v(this.a)).Xb(n),42).cd())},l.Ed=function(){var t;return(t=this.c,t||(this.c=new Nge(this))).Ed()},l.Nc=function(){return Zte(this.gc(),1296,new IJ(this))},O(qt,"IndexedImmutableSet",2e3),M(1180,2e3,y7,Qje),l.Kc=function(){var t;return t=_v(this.a).Ed(),new NL(t)},l.Hc=function(t){return this.a._b(t)},l.Jc=function(t){Or(t),L_(this.a,new DJ(t))},l.Ed=function(){var t;return t=_v(this.a).Ed(),new NL(t)},l.gc=function(){return this.a.gc()},l.Nc=function(){return _M(_v(this.a).Nc(),new H)},O(qt,"ImmutableMapKeySet",1180),M(1181,1,{},DJ),l.Od=function(t,n){gd(),this.a.td(t)},O(qt,"ImmutableMapKeySet/lambda$0$Type",1181),M(1178,1980,G5e,Zje),l.Kc=function(){return new Yte(this)},l.Hc=function(t){return t!=null&&Fcn(new Yte(this),t)},l.Ed=function(){return new Yte(this)},l.gc=function(){return this.a.gc()},l.Nc=function(){return _M(_v(this.a).Nc(),new j)},O(qt,"ImmutableMapValues",1178),M(1179,1,{},j),l.Kb=function(t){return u(t,42).dd()},O(qt,"ImmutableMapValues/0methodref$getValue$Type",1179),M(626,198,v7,Yte),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),42).dd()},O(qt,"ImmutableMapValues/1",626),M(1182,1,{},IJ),l.ld=function(t){return WKe(this.a,t)},O(qt,"IndexedImmutableSet/0methodref$get$Type",1182),M(752,1999,lC,Nge),l.Pd=function(){return this.a},l.Xb=function(t){return WKe(this.a,t)},l.gc=function(){return this.a.a.gc()},O(qt,"IndexedImmutableSet/1",752),M(44,1,{},V),l.Kb=function(t){return u(t,20).Kc()},l.Fb=function(t){return this===t},O(qt,"Iterables/10",44),M(1042,537,t0,YUe),l.Jc=function(t){Or(t),this.b.Jc(new cze(this.a,t))},l.Kc=function(){return b2e(this)},O(qt,"Iterables/4",1042),M(1043,1,Vn,cze),l.td=function(t){xqt(this.b,this.a,t)},O(qt,"Iterables/4/lambda$0$Type",1043),M(1044,537,t0,XUe),l.Jc=function(t){Or(t),Da(this.a,new ize(t,this.b))},l.Kc=function(){return dr(new ir(this.a),this.b)},O(qt,"Iterables/5",1044),M(1045,1,Vn,ize),l.td=function(t){this.a.td(yqe(t))},O(qt,"Iterables/5/lambda$0$Type",1045),M(1071,198,v7,OJ),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return this.a.Pb()},O(qt,"Iterators/1",1071),M(1072,699,v7,sze),l.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},O(qt,"Iterators/5",1072),M(487,1,ba),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.Qd(this.b.Pb())},l.Qb=function(){this.b.Qb()},O(qt,"TransformedIterator",487),M(1073,487,ba,nVe),l.Qd=function(t){return this.a.Kb(t)},O(qt,"Iterators/6",1073),M(717,198,v7,kF),l.Ob=function(){return!this.a},l.Pb=function(){if(this.a)throw ee(new yc);return this.a=!0,this.b},l.a=!1,O(qt,"Iterators/9",717),M(1070,386,w7,mKe),l.Xb=function(t){return this.a[this.b+t]},l.b=0;var Tdt;O(qt,"Iterators/ArrayItr",1070),M(39,1,{39:1,47:1},ur),l.Nb=function(t){La(this,t)},l.Ob=function(){return Vr(this)},l.Pb=function(){return Nr(this)},l.Qb=function(){W3(!!this.c),this.c.Qb(),this.c=null},O(qt,"Iterators/ConcatenatedIterator",39),M(22,1,{3:1,35:1,22:1}),l.wd=function(t){return X$e(this,u(t,22))},l.Fb=function(t){return this===t},l.Hb=function(){return kv(this)},l.Ib=function(){return Dte(this)},l.g=0;var Kr=O(ac,"Enum",22);M(538,22,{538:1,3:1,35:1,22:1,47:1},aVe),l.Nb=function(t){La(this,t)},l.Ob=function(){return!1},l.Pb=function(){throw ee(new yc)},l.Qb=function(){W3(!1)};var Vce,_dt=Gr(qt,"Iterators/EmptyModifiableIterator",538,Kr,bXt,QVt),Cdt;M(1834,619,db),O(qt,"LinkedHashMultimapGwtSerializationDependencies",1834),M(1835,1834,db,jtt),l.hc=function(){return new Ate(zm(this.b))},l.$b=function(){C$(this),zL(this.a,this.a)},l.gd=function(){return new Ate(zm(this.b))},l.ic=function(t){return new Ttt(this,t,this.b)},l.kc=function(){return new I2e(this)},l.lc=function(){var t;return new kn((t=this.g,u(t||(this.g=new Jge(this)),21)),17)},l.ec=function(){var t;return t=this.i,t||(this.i=new j3(this,this.c))},l.nc=function(){return new ipe(new I2e(this))},l.oc=function(){var t;return _M(new kn((t=this.g,u(t||(this.g=new Jge(this)),21)),17),new Z)},l.b=2,O(qt,"LinkedHashMultimap",1835),M(1838,1,{},Z),l.Kb=function(t){return u(t,42).dd()},O(qt,"LinkedHashMultimap/0methodref$getValue$Type",1838),M(824,1,ba,I2e),l.Nb=function(t){La(this,t)},l.Pb=function(){return Btn(this)},l.Ob=function(){return this.a!=this.b.a},l.Qb=function(){W3(!!this.c),gXe(this.b,this.c.g,this.c.i),this.c=null},O(qt,"LinkedHashMultimap/1",824),M(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},Nve),l.Rd=function(){return this.f},l.Sd=function(t){this.c=t},l.Td=function(t){this.f=t},l.d=0;var Sdt=O(qt,"LinkedHashMultimap/ValueEntry",330);M(1836,1970,{2020:1,20:1,28:1,14:1,21:1},Ttt),l.Fc=function(t){var n,r,i,a,h;for(h=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),n=h&this.b.length-1,a=this.b[n],r=a;r;r=r.a)if(r.d==h&&pd(r.i,t))return!1;return i=new Nve(this.c,t,h,a),iHe(this.d,i),i.f=this,this.d=i,zL(this.g.a.b,i),zL(i,this.g.a),this.b[n]=i,++this.f,++this.e,Ncn(this),!0},l.$b=function(){var t,n;for(eM(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())n=u(t,330),zL(n.b,n.e);this.a=this,this.d=this,++this.e},l.Hc=function(t){var n,r;for(r=Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15))),n=this.b[r&this.b.length-1];n;n=n.a)if(n.d==r&&pd(n.i,t))return!0;return!1},l.Jc=function(t){var n;for(Or(t),n=this.a;n!=this;n=n.Rd())t.td(u(n,330).i)},l.Rd=function(){return this.a},l.Kc=function(){return new gWe(this)},l.Mc=function(t){return dat(this,t)},l.Sd=function(t){this.d=t},l.Td=function(t){this.a=t},l.gc=function(){return this.f},l.e=0,l.f=0,O(qt,"LinkedHashMultimap/ValueSet",1836),M(1837,1,ba,gWe),l.Nb=function(t){La(this,t)},l.Ob=function(){return nve(this),this.b!=this.c},l.Pb=function(){var t,n;if(nve(this),this.b==this.c)throw ee(new yc);return t=u(this.b,330),n=t.i,this.d=t,this.b=t.f,n},l.Qb=function(){nve(this),W3(!!this.d),dat(this.c,this.d.i),this.a=this.c.e,this.d=null},l.a=0,O(qt,"LinkedHashMultimap/ValueSet/1",1837),M(766,1986,db,aqe),l.Zb=function(){var t;return t=this.f,t||(this.f=new Mpe(this))},l.Fb=function(t){return Yre(this,t)},l.cc=function(t){return new Ree(this,t)},l.fc=function(t){return dwe(this,t)},l.$b=function(){ZKe(this)},l._b=function(t){return yze(this,t)},l.ac=function(){return new Mpe(this)},l.bc=function(){return new GJ(this)},l.qc=function(t){return new Ree(this,t)},l.dc=function(){return!this.a},l.rc=function(t){return dwe(this,t)},l.gc=function(){return this.d},l.c=0,l.d=0,O(qt,"LinkedListMultimap",766),M(52,28,k7),l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Vc=function(t,n){throw ee(new fg("Add not supported on this list"))},l.Fc=function(t){return this.Vc(this.gc(),t),!0},l.Wc=function(t,n){var r,i,a;for(An(n),r=!1,a=n.Kc();a.Ob();)i=a.Pb(),this.Vc(t++,i),r=!0;return r},l.$b=function(){this.Ud(0,this.gc())},l.Fb=function(t){return S4e(this,t)},l.Hb=function(){return jme(this)},l.Xc=function(t){return WJe(this,t)},l.Kc=function(){return new s6(this)},l.Yc=function(){return this.Zc(0)},l.Zc=function(t){return new Ca(this,t)},l.$c=function(t){throw ee(new fg("Remove not supported on this list"))},l.Ud=function(t,n){var r,i;for(i=this.Zc(t),r=t;r<n;++r)i.Pb(),i.Qb()},l._c=function(t,n){throw ee(new fg("Set not supported on this list"))},l.bd=function(t,n){return new Yd(this,t,n)},l.j=0,O(yr,"AbstractList",52),M(1964,52,k7),l.Vc=function(t,n){tx(this,t,n)},l.Wc=function(t,n){return Ctt(this,t,n)},l.Xb=function(t){return n1(this,t)},l.Kc=function(){return this.Zc(0)},l.$c=function(t){return Uie(this,t)},l._c=function(t,n){var r,i;r=this.Zc(t);try{return i=r.Pb(),r.Wb(n),i}catch(a){throw a=ts(a),me(a,109)?ee(new Mo("Can't set element "+t)):ee(a)}},O(yr,"AbstractSequentialList",1964),M(636,1964,k7,Ree),l.Zc=function(t){return lVe(this,t)},l.gc=function(){var t;return t=u(Jn(this.a.b,this.b),283),t?t.a:0},O(qt,"LinkedListMultimap/1",636),M(1297,1970,Ku,GJ),l.Hc=function(t){return yze(this.a,t)},l.Kc=function(){return new het(this.a)},l.Mc=function(t){return!dwe(this.a,t).a.dc()},l.gc=function(){return ET(this.a.b)},O(qt,"LinkedListMultimap/1KeySetImpl",1297),M(1296,1,ba,het),l.Nb=function(t){La(this,t)},l.Ob=function(){return tve(this),!!this.c},l.Pb=function(){tve(this),P2e(this.c),this.a=this.c,zs(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!zs(this.d,this.c.a));return this.a.a},l.Qb=function(){tve(this),W3(!!this.a),cj(new vre(this.e,this.a.a)),this.a=null,this.b=this.e.c},l.b=0,O(qt,"LinkedListMultimap/DistinctKeyIterator",1296),M(283,1,{283:1},Gve),l.a=0,O(qt,"LinkedListMultimap/KeyList",283),M(1295,345,sz,uze),l.cd=function(){return this.a},l.dd=function(){return this.f},l.ed=function(t){var n;return n=this.f,this.f=t,n},O(qt,"LinkedListMultimap/Node",1295),M(560,1,e0,vre,ast),l.Nb=function(t){La(this,t)},l.Rb=function(t){this.e=n5e(this.f,this.b,t,this.c),++this.d,this.a=null},l.Ob=function(){return!!this.c},l.Sb=function(){return!!this.e},l.Pb=function(){return Yve(this)},l.Tb=function(){return this.d},l.Ub=function(){return MYe(this)},l.Vb=function(){return this.d-1},l.Qb=function(){W3(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,jhn(this.f,this.a),this.a=null},l.Wb=function(t){N2e(!!this.a),this.a.f=t},l.d=0,O(qt,"LinkedListMultimap/ValueForKeyIterator",560),M(1018,52,k7),l.Vc=function(t,n){this.a.Vc(t,n)},l.Wc=function(t,n){return this.a.Wc(t,n)},l.Hc=function(t){return this.a.Hc(t)},l.Xb=function(t){return this.a.Xb(t)},l.$c=function(t){return this.a.$c(t)},l._c=function(t,n){return this.a._c(t,n)},l.gc=function(){return this.a.gc()},O(qt,"Lists/AbstractListWrapper",1018),M(1019,1018,flt),O(qt,"Lists/RandomAccessListWrapper",1019),M(1021,1019,flt,gze),l.Zc=function(t){return this.a.Zc(t)},O(qt,"Lists/1",1021),M(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},km),l.Vc=function(t,n){this.a.Vc(ox(this,t),n)},l.$b=function(){this.a.$b()},l.Xb=function(t){return this.a.Xb(Ave(this,t))},l.Kc=function(){return Jve(this,0)},l.Zc=function(t){return Jve(this,t)},l.$c=function(t){return this.a.$c(Ave(this,t))},l.Ud=function(t,n){(kXe(t,n,this.a.gc()),J2(this.a.bd(ox(this,n),ox(this,t)))).$b()},l._c=function(t,n){return this.a._c(Ave(this,t),n)},l.gc=function(){return this.a.gc()},l.bd=function(t,n){return kXe(t,n,this.a.gc()),J2(this.a.bd(ox(this,n),ox(this,t)))},O(qt,"Lists/ReverseList",131),M(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},uv),O(qt,"Lists/RandomAccessReverseList",280),M(1020,1,e0,lze),l.Nb=function(t){La(this,t)},l.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},l.Ob=function(){return this.c.Sb()},l.Sb=function(){return this.c.Ob()},l.Pb=function(){return TQe(this)},l.Tb=function(){return ox(this.b,this.c.Tb())},l.Ub=function(){if(!this.c.Ob())throw ee(new yc);return this.a=!0,this.c.Pb()},l.Vb=function(){return ox(this.b,this.c.Tb())-1},l.Qb=function(){W3(this.a),this.c.Qb(),this.a=!1},l.Wb=function(t){N2e(this.a),this.c.Wb(t)},l.a=!1,O(qt,"Lists/ReverseList/1",1020),M(432,487,ba,pT),l.Qd=function(t){return lR(t)},O(qt,"Maps/1",432),M(698,487,ba,ipe),l.Qd=function(t){return u(t,42).dd()},O(qt,"Maps/2",698),M(962,487,ba,uVe),l.Qd=function(t){return new bv(t,hqe(this.a,t))},O(qt,"Maps/3",962),M(959,1971,Ku,n6),l.Jc=function(t){aGt(this.a,t)},l.Kc=function(){return this.a.kc()},l.Rc=function(){return this.a},l.Nc=function(){return this.a.lc()},O(qt,"Maps/IteratorBasedAbstractMap/1",959),M(960,1,{},zJ),l.Od=function(t,n){this.a.td(t)},O(qt,"Maps/KeySet/lambda$0$Type",960),M(958,28,uy,dze),l.$b=function(){this.a.$b()},l.Hc=function(t){return this.a.uc(t)},l.Jc=function(t){Or(t),this.a.wc(new BJ(t))},l.dc=function(){return this.a.dc()},l.Kc=function(){return new ipe(this.a.vc().Kc())},l.Mc=function(t){var n,r;try{return Wm(this,t,!0)}catch(i){if(i=ts(i),me(i,41)){for(r=this.a.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),pd(t,n.dd()))return this.a.Bc(n.cd()),!0;return!1}else throw ee(i)}},l.gc=function(){return this.a.gc()},O(qt,"Maps/Values",958),M(961,1,{},BJ),l.Od=function(t,n){this.a.td(n)},O(qt,"Maps/Values/lambda$0$Type",961),M(736,1987,aw,Mpe),l.xc=function(t){return this.a._b(t)?this.a.cc(t):null},l.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},l.$b=function(){this.a.$b()},l._b=function(t){return this.a._b(t)},l.Ec=function(){return new PJ(this)},l.Dc=function(){return this.Ec()},l.dc=function(){return this.a.dc()},l.ec=function(){return this.a.ec()},l.gc=function(){return this.a.ec().gc()},O(qt,"Multimaps/AsMap",736),M(1104,1971,Ku,PJ),l.Kc=function(){return EVt(this.a.a.ec(),new FJ(this))},l.Rc=function(){return this.a},l.Mc=function(t){var n;return Tnt(this,t)?(n=u(t,42),TGt(this.a,n.cd()),!0):!1},O(qt,"Multimaps/AsMap/EntrySet",1104),M(1108,1,{},FJ),l.Kb=function(t){return hqe(this,t)},l.Fb=function(t){return this===t},O(qt,"Multimaps/AsMap/EntrySet/1",1108),M(543,1989,{543:1,835:1,20:1,28:1,14:1},RJ),l.$b=function(){C$(this.a)},l.Hc=function(t){return kHe(this.a,t)},l.Jc=function(t){Or(t),Da(l_(this.a),new $J(t))},l.Kc=function(){return new pT(l_(this.a).a.kc())},l.gc=function(){return this.a.d},l.Nc=function(){return _M(l_(this.a).Nc(),new ae)},O(qt,"Multimaps/Keys",543),M(1106,1,{},ae),l.Kb=function(t){return u(t,42).cd()},O(qt,"Multimaps/Keys/0methodref$getKey$Type",1106),M(1105,487,ba,K$e),l.Qd=function(t){return new jJ(u(t,42))},O(qt,"Multimaps/Keys/1",1105),M(1990,1,{416:1}),l.Fb=function(t){var n;return me(t,492)?(n=u(t,416),u(this.a.dd(),14).gc()==u(n.a.dd(),14).gc()&&pd(this.a.cd(),n.a.cd())):!1},l.Hb=function(){var t;return t=this.a.cd(),(t==null?0:Yi(t))^u(this.a.dd(),14).gc()},l.Ib=function(){var t,n;return n=XT(this.a.cd()),t=u(this.a.dd(),14).gc(),t==1?n:n+" x "+t},O(qt,"Multisets/AbstractEntry",1990),M(492,1990,{492:1,416:1},jJ),O(qt,"Multimaps/Keys/1/1",492),M(1107,1,Vn,$J),l.td=function(t){this.a.td(u(t,42).cd())},O(qt,"Multimaps/Keys/lambda$1$Type",1107),M(1110,1,Vn,le),l.td=function(t){TYt(u(t,416))},O(qt,"Multiset/lambda$0$Type",1110),M(737,1,Vn,HJ),l.td=function(t){Htn(this.a,u(t,416))},O(qt,"Multiset/lambda$1$Type",737),M(1111,1,{},fe),O(qt,"Multisets/0methodref$add$Type",1111),M(738,1,{},ye),l.Kb=function(t){return DJt(u(t,416))},O(qt,"Multisets/lambda$3$Type",738),M(2008,1,aI),O(qt,"RangeGwtSerializationDependencies",2008),M(514,2008,{169:1,514:1,3:1,45:1},Uye),l.Lb=function(t){return PKe(this,u(t,35))},l.Mb=function(t){return PKe(this,u(t,35))},l.Fb=function(t){var n;return me(t,514)?(n=u(t,514),Bye(this.a,n.a)&&Bye(this.b,n.b)):!1},l.Hb=function(){return this.a.Hb()*31+this.b.Hb()},l.Ib=function(){return GXe(this.a,this.b)},O(qt,"Range",514),M(778,1999,lC,UKe),l.Zc=function(t){return V2e(this.b,t)},l.Pd=function(){return this.a},l.Xb=function(t){return Cp(this.b,t)},l.Fd=function(t){return V2e(this.b,t)},O(qt,"RegularImmutableAsList",778),M(646,2006,lC,One),l.Hd=function(){return this.a},O(qt,"RegularImmutableList",646),M(616,715,m7,Cee),O(qt,"RegularImmutableMap",616),M(716,703,y7,Ipe);var axe;O(qt,"RegularImmutableSet",716),M(1976,$1,Ku),l.Kc=function(){return new Fve(this.a,this.b)},l.Fc=function(t){throw ee(new Rr)},l.Gc=function(t){throw ee(new Rr)},l.$b=function(){throw ee(new Rr)},l.Mc=function(t){throw ee(new Rr)},O(qt,"Sets/SetView",1976),M(963,1976,Ku,hze),l.Kc=function(){return new Fve(this.a,this.b)},l.Hc=function(t){return nne(this.a,t)&&this.b.Hc(t)},l.Ic=function(t){return hD(this.a,t)&&this.b.Ic(t)},l.dc=function(){return urt(this.b,this.a)},l.Lc=function(){return qi(new mn(null,new kn(this.a,1)),new Dh(this.b))},l.gc=function(){return cD(this)},l.Oc=function(){return qi(new mn(null,new kn(this.a,1)),new D8(this.b))},O(qt,"Sets/2",963),M(700,699,v7,Fve),l.Yb=function(){for(var t;y2e(this.a);)if(t=m_(this.a),this.c.Hc(t))return t;return this.e=2,null},O(qt,"Sets/2/1",700),M(964,1,gi,D8),l.Mb=function(t){return this.a.Hc(t)},O(qt,"Sets/2/4methodref$contains$Type",964),M(965,1,gi,Dh),l.Mb=function(t){return this.a.Hc(t)},O(qt,"Sets/2/5methodref$contains$Type",965),M(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},fYe),l.Bd=function(){return this.b},l.Cd=function(){return this.b},l.Md=function(){return this.b},l.Jc=function(t){this.a.Jc(t)},l.Lc=function(){return this.a.Lc()},l.Oc=function(){return this.a.Oc()},O(qt,"Sets/UnmodifiableNavigableSet",607),M(1932,1931,m7,yWe),l.Ld=function(){return gd(),new g6(this.a)},l.Cc=function(){return gd(),new g6(this.a)},l.pd=function(){return gd(),new g6(this.a)},O(qt,"SingletonImmutableBiMap",1932),M(647,2006,lC,Jte),l.Hd=function(){return this.a},O(qt,"SingletonImmutableList",647),M(350,1981,y7,g6),l.Kc=function(){return new kF(this.a)},l.Hc=function(t){return Ci(this.a,t)},l.Ed=function(){return new kF(this.a)},l.gc=function(){return 1},O(qt,"SingletonImmutableSet",350),M(1115,1,{},re),l.Kb=function(t){return u(t,164)},O(qt,"Streams/lambda$0$Type",1115),M(1116,1,cz,qJ),l.Vd=function(){xen(this.a)},O(qt,"Streams/lambda$1$Type",1116),M(1659,1658,db,iYe),l.Zb=function(){var t;return t=this.f,u(u(t||(this.f=me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c)),161),171)},l.hc=function(){return new Ep(this.b)},l.gd=function(){return new Ep(this.b)},l.ec=function(){var t;return t=this.i,u(u(t||(this.i=me(this.c,171)?new V8(this,u(this.c,171)):me(this.c,161)?new WL(this,u(this.c,161)):new j3(this,this.c)),84),271)},l.ac=function(){return me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c)},l.ic=function(t){return t==null&&this.a.ue(t,t),new Ep(this.b)},O(qt,"TreeMultimap",1659),M(78,1,{3:1,78:1}),l.Wd=function(t){return new Error(t)},l.Xd=function(){return this.e},l.Yd=function(){return Psn(Eu(fne((this.k==null&&(this.k=Ie(Uce,Je,78,0,0,1)),this.k)),new Mt))},l.Zd=function(){return this.f},l.$d=function(){return this.g},l._d=function(){hGt(this,pJt(this.Wd(Nne(this,this.g)))),Jje(this)},l.Ib=function(){return Nne(this,this.$d())},l.e=dlt,l.i=!1,l.n=!0;var Uce=O(ac,"Throwable",78);M(102,78,{3:1,102:1,78:1}),O(ac,"Exception",102),M(60,102,q0,R2,ec),O(ac,"RuntimeException",60),M(598,60,q0),O(ac,"JsException",598),M(863,598,q0),O(lI,"JavaScriptExceptionBase",863),M(477,863,{477:1,3:1,102:1,60:1,78:1},Rtt),l.$d=function(){return iun(this),this.c},l.ae=function(){return $e(this.b)===$e(oxe)?null:this.b};var oxe;O(V5e,"JavaScriptException",477);var Adt=O(V5e,"JavaScriptObject$",0),Kce;M(1948,1,{}),O(V5e,"Scheduler",1948);var bG=0,Ldt=0,vG=-1;M(890,1948,{},we);var cxe;O(lI,"SchedulerImpl",890);var Wce;M(1960,1,{}),O(lI,"StackTraceCreator/Collector",1960),M(864,1960,{},ke),l.be=function(t){var n={},r=[];t[hae]=r;for(var i=arguments.callee.caller;i;){var a=(gx(),i.name||(i.name=rnn(i.toString())));r.push(a);var h=":"+a,d=n[h];if(d){var v,x;for(v=0,x=d.length;v<x;v++)if(d[v]===i)return}(d||(n[h]=[])).push(i),i=i.caller}},l.ce=function(t){var n,r,i,a;for(i=(gx(),t&&t[hae]?t[hae]:[]),r=i.length,a=Ie(xxe,Je,310,r,0,1),n=0;n<r;n++)a[n]=new _ne(i[n],null,-1);return a},O(lI,"StackTraceCreator/CollectorLegacy",864),M(1961,1960,{}),l.be=function(t){},l.de=function(t,n,r,i){return new _ne(n,t+"@"+i,r<0?-1:r)},l.ce=function(t){var n,r,i,a,h,d;if(a=Mon(t),h=Ie(xxe,Je,310,0,0,1),n=0,i=a.length,i==0)return h;for(d=Yct(this,a[0]),on(d.d,lae)||(h[n++]=d),r=1;r<i;r++)h[n++]=Yct(this,a[r]);return h},O(lI,"StackTraceCreator/CollectorModern",1961),M(865,1961,{},be),l.de=function(t,n,r,i){return new _ne(n,t,-1)},O(lI,"StackTraceCreator/CollectorModernNoSourceMap",865),M(1050,1,{}),O(K5e,blt,1050),M(615,1050,{615:1},cWe);var uxe;O(Mae,blt,615),M(2001,1,{}),O(K5e,vlt,2001),M(2002,2001,{}),O(Mae,vlt,2002),M(1090,1,{},xe);var zC;O(Mae,"LocaleInfo",1090),M(1918,1,{},Ee),l.a=0,O(Mae,"TimeZone",1918),M(1258,2002,{},ce),O("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),M(434,1,{434:1},RUe),l.a=!1,l.b=0,O(K5e,"DateTimeFormat/PatternPart",434),M(199,1,wlt,tR,Pme,tbe),l.wd=function(t){return fJt(this,u(t,199))},l.Fb=function(t){return me(t,199)&&wv(Mu(this.q.getTime()),Mu(u(t,199).q.getTime()))},l.Hb=function(){var t;return t=Mu(this.q.getTime()),Ir(Une(t,Im(t,32)))},l.Ib=function(){var t,n,r;return r=-this.q.getTimezoneOffset(),t=(r>=0?"+":"")+(r/60|0),n=IR(b.Math.abs(r)%60),(Lit(),jdt)[this.q.getDay()]+" "+$dt[this.q.getMonth()]+" "+IR(this.q.getDate())+" "+IR(this.q.getHours())+":"+IR(this.q.getMinutes())+":"+IR(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var wG=O(yr,"Date",199);M(1915,199,wlt,nit),l.a=!1,l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,l.g=!1,l.i=0,l.j=0,l.k=0,l.n=0,l.o=0,l.p=0,O("com.google.gwt.i18n.shared.impl","DateRecord",1915),M(1966,1,{}),l.fe=function(){return null},l.ge=function(){return null},l.he=function(){return null},l.ie=function(){return null},l.je=function(){return null},O(ik,"JSONValue",1966),M(216,1966,{216:1},cg,r6),l.Fb=function(t){return me(t,216)?twe(this.a,u(t,216).a):!1},l.ee=function(){return Vzt},l.Hb=function(){return zve(this.a)},l.fe=function(){return this},l.Ib=function(){var t,n,r;for(r=new jl("["),n=0,t=this.a.length;n<t;n++)n>0&&(r.a+=","),kc(r,Hm(this,n));return r.a+="]",r.a},O(ik,"JSONArray",216),M(483,1966,{483:1},I8),l.ee=function(){return Uzt},l.ge=function(){return this},l.Ib=function(){return In(),""+this.a},l.a=!1;var Mdt,Ddt;O(ik,"JSONBoolean",483),M(985,60,q0,W$e),O(ik,"JSONException",985),M(1023,1966,{},Me),l.ee=function(){return Qzt},l.Ib=function(){return Iu};var Idt;O(ik,"JSONNull",1023),M(258,1966,{258:1},rT),l.Fb=function(t){return me(t,258)?this.a==u(t,258).a:!1},l.ee=function(){return Kzt},l.Hb=function(){return Q8(this.a)},l.he=function(){return this},l.Ib=function(){return this.a+""},l.a=0,O(ik,"JSONNumber",258),M(183,1966,{183:1},f6,O8),l.Fb=function(t){return me(t,183)?twe(this.a,u(t,183).a):!1},l.ee=function(){return Wzt},l.Hb=function(){return zve(this.a)},l.ie=function(){return this},l.Ib=function(){var t,n,r,i,a,h,d;for(d=new jl("{"),t=!0,h=Pre(this,Ie(Et,Je,2,0,6,1)),r=h,i=0,a=r.length;i<a;++i)n=r[i],t?t=!1:d.a+=so,Yr(d,Kst(n)),d.a+=":",kc(d,M0(this,n));return d.a+="}",d.a},O(ik,"JSONObject",183),M(596,$1,Ku,jee),l.Hc=function(t){return ga(t)&&MGt(this.a,Hr(t))},l.Kc=function(){return new s6(new Cl(this.b))},l.gc=function(){return this.b.length},O(ik,"JSONObject/1",596);var Yce;M(204,1966,{204:1},Nm),l.Fb=function(t){return me(t,204)?on(this.a,u(t,204).a):!1},l.ee=function(){return Yzt},l.Hb=function(){return Lg(this.a)},l.je=function(){return this},l.Ib=function(){return Kst(this.a)},O(ik,"JSONString",204);var t2,lxe,Odt,hxe,fxe;M(1962,1,{525:1}),O(W5e,"OutputStream",1962),M(1963,1962,{525:1}),O(W5e,"FilterOutputStream",1963),M(866,1963,{525:1},ct),O(W5e,"PrintStream",866),M(418,1,{475:1}),l.Ib=function(){return this.a},O(ac,"AbstractStringBuilder",418),M(529,60,q0,qF),O(ac,"ArithmeticException",529),M(73,60,Dae,Bge,Mo),O(ac,"IndexOutOfBoundsException",73),M(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Rge,upe),O(ac,"ArrayIndexOutOfBoundsException",320),M(528,60,q0,vee,Q$e),O(ac,"ArrayStoreException",528),M(289,78,mlt,Aee),O(ac,"Error",289),M(194,289,mlt,Pge,wwe),O(ac,"AssertionError",194),ydt={3:1,476:1,35:1};var Tb,j7,Vs=O(ac,"Boolean",476);M(236,1,{3:1,236:1});var dxe;O(ac,"Number",236),M(217,236,{3:1,217:1,35:1,236:1},see),l.wd=function(t){return SGt(this,u(t,217))},l.ke=function(){return this.a},l.Fb=function(t){return me(t,217)&&u(t,217).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var bk=O(ac,"Byte",217),gxe;M(172,1,{3:1,172:1,35:1},LF),l.wd=function(t){return AGt(this,u(t,172))},l.Fb=function(t){return me(t,172)&&u(t,172).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return String.fromCharCode(this.a)},l.a=0;var pxe,GC=O(ac,"Character",172),bxe;M(205,60,{3:1,205:1,102:1,60:1,78:1},e$e,$8),O(ac,"ClassCastException",205),kdt={3:1,35:1,333:1,236:1};var ka=O(ac,"Double",333);M(155,236,{3:1,35:1,155:1,236:1},T3,jge),l.wd=function(t){return Bqt(this,u(t,155))},l.ke=function(){return this.a},l.Fb=function(t){return me(t,155)&&hUe(this.a,u(t,155).a)},l.Hb=function(){return _s(this.a)},l.Ib=function(){return""+this.a},l.a=0;var $7=O(ac,"Float",155);M(32,60,{3:1,102:1,32:1,60:1,78:1},GL,Dn,Mtt),O(ac,"IllegalArgumentException",32),M(71,60,q0,ju,Vo),O(ac,"IllegalStateException",71),M(19,236,{3:1,35:1,19:1,236:1},RL),l.wd=function(t){return Fqt(this,u(t,19))},l.ke=function(){return this.a},l.Fb=function(t){return me(t,19)&&u(t,19).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var Ja=O(ac,"Integer",19),vxe,Ndt;M(162,236,{3:1,35:1,162:1,236:1},bm),l.wd=function(t){return Rqt(this,u(t,162))},l.ke=function(){return Pv(this.a)},l.Fb=function(t){return me(t,162)&&wv(u(t,162).a,this.a)},l.Hb=function(){return Ir(this.a)},l.Ib=function(){return""+a_(this.a)},l.a=0;var gw=O(ac,"Long",162),wxe;M(2039,1,{}),M(1831,60,q0,J$e),O(ac,"NegativeArraySizeException",1831),M(173,598,{3:1,102:1,173:1,60:1,78:1},fT,d6),l.Wd=function(t){return new TypeError(t)},O(ac,"NullPointerException",173);var mxe,Xce,Pdt,yxe;M(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},ld),O(ac,"NumberFormatException",127),M(184,236,{3:1,35:1,236:1,184:1},MF),l.wd=function(t){return LGt(this,u(t,184))},l.ke=function(){return this.a},l.Fb=function(t){return me(t,184)&&u(t,184).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var pw=O(ac,"Short",184),kxe;M(310,1,{3:1,310:1},_ne),l.Fb=function(t){var n;return me(t,310)?(n=u(t,310),this.c==n.c&&this.d==n.d&&this.a==n.a&&this.b==n.b):!1},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[lt(this.c),this.a,this.d,this.b]))},l.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},l.c=0;var xxe=O(ac,"StackTraceElement",310);xdt={3:1,475:1,35:1,2:1};var Et=O(ac,q5e,2);M(107,418,{475:1},dg,yT,Oh),O(ac,"StringBuffer",107),M(100,418,{475:1},yp,ym,jl),O(ac,"StringBuilder",100),M(687,73,Dae,lpe),O(ac,"StringIndexOutOfBoundsException",687),M(2043,1,{});var Exe;M(844,1,{},Mt),l.Kb=function(t){return u(t,78).e},O(ac,"Throwable/lambda$0$Type",844),M(41,60,{3:1,102:1,60:1,78:1,41:1},Rr,fg),O(ac,"UnsupportedOperationException",41),M(240,236,{3:1,35:1,236:1,240:1},nD,mpe),l.wd=function(t){return uct(this,u(t,240))},l.ke=function(){return ty(Vct(this))},l.Fb=function(t){var n;return this===t?!0:me(t,240)?(n=u(t,240),this.e==n.e&&uct(this,n)==0):!1},l.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Mu(this.f),this.b=Ir(Gs(t,-1)),this.b=33*this.b+Ir(Gs(Mp(t,32),-1)),this.b=17*this.b+_s(this.e),this.b):(this.b=17*Gtt(this.c)+_s(this.e),this.b)},l.Ib=function(){return Vct(this)},l.a=0,l.b=0,l.d=0,l.e=0,l.f=0;var Bdt,_b,Txe,_xe,Cxe,Sxe,Axe,Lxe,Qce=O("java.math","BigDecimal",240);M(91,236,{3:1,35:1,236:1,91:1},qye,kg,$3,C3e,Unt,Ap),l.wd=function(t){return Hnt(this,u(t,91))},l.ke=function(){return ty(iae(this,0))},l.Fb=function(t){return Eye(this,t)},l.Hb=function(){return Gtt(this)},l.Ib=function(){return iae(this,0)},l.b=-2,l.c=0,l.d=0,l.e=0;var Zce,mG,Mxe,Jce,yG,H7,L4=O("java.math","BigInteger",91),Fdt,Rdt,vk,qC;M(488,1967,aw),l.$b=function(){il(this)},l._b=function(t){return Ml(this,t)},l.uc=function(t){return Stt(this,t,this.g)||Stt(this,t,this.f)},l.vc=function(){return new lg(this)},l.xc=function(t){return Jn(this,t)},l.zc=function(t,n){return Si(this,t,n)},l.Bc=function(t){return j6(this,t)},l.gc=function(){return ET(this)},O(yr,"AbstractHashMap",488),M(261,$1,Ku,lg),l.$b=function(){this.a.$b()},l.Hc=function(t){return EXe(this,t)},l.Kc=function(){return new ib(this.a)},l.Mc=function(t){var n;return EXe(this,t)?(n=u(t,42).cd(),this.a.Bc(n),!0):!1},l.gc=function(){return this.a.gc()},O(yr,"AbstractHashMap/EntrySet",261),M(262,1,ba,ib),l.Nb=function(t){La(this,t)},l.Pb=function(){return jv(this)},l.Ob=function(){return this.b},l.Qb=function(){yZe(this)},l.b=!1,O(yr,"AbstractHashMap/EntrySetIterator",262),M(417,1,ba,s6),l.Nb=function(t){La(this,t)},l.Ob=function(){return JL(this)},l.Pb=function(){return VWe(this)},l.Qb=function(){Dl(this)},l.b=0,l.c=-1,O(yr,"AbstractList/IteratorImpl",417),M(96,417,e0,Ca),l.Qb=function(){Dl(this)},l.Rb=function(t){Lm(this,t)},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Ub=function(){return Qn(this.b>0),this.a.Xb(this.c=--this.b)},l.Vb=function(){return this.b-1},l.Wb=function(t){Cm(this.c!=-1),this.a._c(this.c,t)},O(yr,"AbstractList/ListIteratorImpl",96),M(219,52,k7,Yd),l.Vc=function(t,n){Fm(t,this.b),this.c.Vc(this.a+t,n),++this.b},l.Xb=function(t){return En(t,this.b),this.c.Xb(this.a+t)},l.$c=function(t){var n;return En(t,this.b),n=this.c.$c(this.a+t),--this.b,n},l._c=function(t,n){return En(t,this.b),this.c._c(this.a+t,n)},l.gc=function(){return this.b},l.a=0,l.b=0,O(yr,"AbstractList/SubList",219),M(384,$1,Ku,pm),l.$b=function(){this.a.$b()},l.Hc=function(t){return this.a._b(t)},l.Kc=function(){var t;return t=this.a.vc().Kc(),new FL(t)},l.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},l.gc=function(){return this.a.gc()},O(yr,"AbstractMap/1",384),M(691,1,ba,FL),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var t;return t=u(this.a.Pb(),42),t.cd()},l.Qb=function(){this.a.Qb()},O(yr,"AbstractMap/1/1",691),M(226,28,uy,x1),l.$b=function(){this.a.$b()},l.Hc=function(t){return this.a.uc(t)},l.Kc=function(){var t;return t=this.a.vc().Kc(),new E1(t)},l.gc=function(){return this.a.gc()},O(yr,"AbstractMap/2",226),M(294,1,ba,E1),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var t;return t=u(this.a.Pb(),42),t.dd()},l.Qb=function(){this.a.Qb()},O(yr,"AbstractMap/2/1",294),M(484,1,{484:1,42:1}),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),zc(this.d,n.cd())&&zc(this.e,n.dd())):!1},l.cd=function(){return this.d},l.dd=function(){return this.e},l.Hb=function(){return B3(this.d)^B3(this.e)},l.ed=function(t){return hbe(this,t)},l.Ib=function(){return this.d+"="+this.e},O(yr,"AbstractMap/AbstractEntry",484),M(383,484,{484:1,383:1,42:1},dR),O(yr,"AbstractMap/SimpleEntry",383),M(1984,1,Pae),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),zc(this.cd(),n.cd())&&zc(this.dd(),n.dd())):!1},l.Hb=function(){return B3(this.cd())^B3(this.dd())},l.Ib=function(){return this.cd()+"="+this.dd()},O(yr,alt,1984),M(1992,1967,ilt),l.tc=function(t){return DQe(this,t)},l._b=function(t){return Hte(this,t)},l.vc=function(){return new y(this)},l.xc=function(t){var n;return n=t,hc(qme(this,n))},l.ec=function(){return new m(this)},O(yr,"AbstractNavigableMap",1992),M(739,$1,Ku,y),l.Hc=function(t){return me(t,42)&&DQe(this.b,u(t,42))},l.Kc=function(){return new e_(this.b)},l.Mc=function(t){var n;return me(t,42)?(n=u(t,42),wZe(this.b,n)):!1},l.gc=function(){return this.b.c},O(yr,"AbstractNavigableMap/EntrySet",739),M(493,$1,z5e,m),l.Nc=function(){return new hR(this)},l.$b=function(){bT(this.a)},l.Hc=function(t){return Hte(this.a,t)},l.Kc=function(){var t;return t=new e_(new QT(this.a).b),new g(t)},l.Mc=function(t){return Hte(this.a,t)?(g_(this.a,t),!0):!1},l.gc=function(){return this.a.c},O(yr,"AbstractNavigableMap/NavigableKeySet",493),M(494,1,ba,g),l.Nb=function(t){La(this,t)},l.Ob=function(){return JL(this.a.a)},l.Pb=function(){var t;return t=KR(this.a),t.cd()},l.Qb=function(){kUe(this.a)},O(yr,"AbstractNavigableMap/NavigableKeySet/1",494),M(2004,28,uy),l.Fc=function(t){return yx(r7(this,t)),!0},l.Gc=function(t){return An(t),tj(t!=this,"Can't add a queue to itself"),ro(this,t)},l.$b=function(){for(;Ere(this)!=null;);},O(yr,"AbstractQueue",2004),M(302,28,{4:1,20:1,28:1,14:1},S3,WYe),l.Fc=function(t){return uwe(this,t),!0},l.$b=function(){pwe(this)},l.Hc=function(t){return Xet(new d_(this),t)},l.dc=function(){return vT(this)},l.Kc=function(){return new d_(this)},l.Mc=function(t){return oZt(new d_(this),t)},l.gc=function(){return this.c-this.b&this.a.length-1},l.Nc=function(){return new kn(this,272)},l.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.length<n&&(t=KF(new Array(n),t)),aet(this,t,n),t.length>n&&us(t,n,null),t},l.b=0,l.c=0,O(yr,"ArrayDeque",302),M(446,1,ba,d_),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a!=this.b},l.Pb=function(){return W$(this)},l.Qb=function(){UJe(this)},l.a=0,l.b=0,l.c=-1,O(yr,"ArrayDeque/IteratorImpl",446),M(12,52,klt,at,tu,Gu),l.Vc=function(t,n){Dm(this,t,n)},l.Fc=function(t){return st(this,t)},l.Wc=function(t,n){return Xme(this,t,n)},l.Gc=function(t){return Ps(this,t)},l.$b=function(){this.c=Ie(Xn,_t,1,0,5,1)},l.Hc=function(t){return Ko(this,t,0)!=-1},l.Jc=function(t){Su(this,t)},l.Xb=function(t){return It(this,t)},l.Xc=function(t){return Ko(this,t,0)},l.dc=function(){return this.c.length==0},l.Kc=function(){return new C(this)},l.$c=function(t){return yg(this,t)},l.Mc=function(t){return _u(this,t)},l.Ud=function(t,n){KYe(this,t,n)},l._c=function(t,n){return gh(this,t,n)},l.gc=function(){return this.c.length},l.ad=function(t){aa(this,t)},l.Pc=function(){return Mte(this)},l.Qc=function(t){return R1(this,t)};var Vwn=O(yr,"ArrayList",12);M(7,1,ba,C),l.Nb=function(t){La(this,t)},l.Ob=function(){return tc(this)},l.Pb=function(){return Y(this)},l.Qb=function(){u_(this)},l.a=0,l.b=-1,O(yr,"ArrayList/1",7),M(2013,b.Function,{},he),l.te=function(t,n){return Bs(t,n)},M(154,52,xlt,Cl),l.Hc=function(t){return WJe(this,t)!=-1},l.Jc=function(t){var n,r,i,a;for(An(t),r=this.a,i=0,a=r.length;i<a;++i)n=r[i],t.td(n)},l.Xb=function(t){return hKe(this,t)},l._c=function(t,n){var r;return r=(En(t,this.a.length),this.a[t]),us(this.a,t,n),r},l.gc=function(){return this.a.length},l.ad=function(t){tne(this.a,this.a.length,t)},l.Pc=function(){return ert(this,Ie(Xn,_t,1,this.a.length,5,1))},l.Qc=function(t){return ert(this,t)},O(yr,"Arrays/ArrayList",154);var bo,o0,kG;M(940,52,xlt,X),l.Hc=function(t){return!1},l.Xb=function(t){return l2e(t)},l.Kc=function(){return fn(),K8(),z7},l.Yc=function(){return fn(),K8(),z7},l.gc=function(){return 0},O(yr,"Collections/EmptyList",940),M(941,1,e0,Re),l.Nb=function(t){La(this,t)},l.Rb=function(t){throw ee(new Rr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw ee(new yc)},l.Tb=function(){return 0},l.Ub=function(){throw ee(new yc)},l.Vb=function(){return-1},l.Qb=function(){throw ee(new ju)},l.Wb=function(t){throw ee(new ju)};var z7;O(yr,"Collections/EmptyListIterator",941),M(943,1967,m7,pe),l._b=function(t){return!1},l.uc=function(t){return!1},l.vc=function(){return fn(),kG},l.xc=function(t){return null},l.ec=function(){return fn(),kG},l.gc=function(){return 0},l.Cc=function(){return fn(),bo},O(yr,"Collections/EmptyMap",943),M(942,$1,y7,De),l.Hc=function(t){return!1},l.Kc=function(){return fn(),K8(),z7},l.gc=function(){return 0},O(yr,"Collections/EmptySet",942),M(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},D),l.Hc=function(t){return zc(this.a,t)},l.Xb=function(t){return En(t,1),this.a},l.gc=function(){return 1},O(yr,"Collections/SingletonList",599),M(372,1,ult,E),l.Jc=function(t){Da(this,t)},l.Lc=function(){return new mn(null,this.Nc())},l.Nc=function(){return new kn(this,0)},l.Oc=function(){return new mn(null,this.Nc())},l.Fc=function(t){return CHe()},l.Gc=function(t){return SHe()},l.$b=function(){AHe()},l.Hc=function(t){return YL(this,t)},l.Ic=function(t){return pze(this,t)},l.dc=function(){return this.b.dc()},l.Kc=function(){return new S(this.b.Kc())},l.Mc=function(t){return LHe()},l.gc=function(){return this.b.gc()},l.Pc=function(){return this.b.Pc()},l.Qc=function(t){return bze(this,t)},l.Ib=function(){return Yo(this.b)},O(yr,"Collections/UnmodifiableCollection",372),M(371,1,ba,S),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.b.Pb()},l.Qb=function(){MHe()},O(yr,"Collections/UnmodifiableCollectionIterator",371),M(531,372,Elt,HR),l.Nc=function(){return new kn(this,16)},l.Vc=function(t,n){throw ee(new Rr)},l.Wc=function(t,n){throw ee(new Rr)},l.Fb=function(t){return Ci(this.a,t)},l.Xb=function(t){return this.a.Xb(t)},l.Hb=function(){return Yi(this.a)},l.Xc=function(t){return this.a.Xc(t)},l.dc=function(){return this.a.dc()},l.Yc=function(){return new B2e(this.a.Zc(0))},l.Zc=function(t){return new B2e(this.a.Zc(t))},l.$c=function(t){throw ee(new Rr)},l._c=function(t,n){throw ee(new Rr)},l.ad=function(t){throw ee(new Rr)},l.bd=function(t,n){return new HR(this.a.bd(t,n))},O(yr,"Collections/UnmodifiableList",531),M(690,371,e0,B2e),l.Qb=function(){MHe()},l.Rb=function(t){throw ee(new Rr)},l.Sb=function(){return this.a.Sb()},l.Tb=function(){return this.a.Tb()},l.Ub=function(){return this.a.Ub()},l.Vb=function(){return this.a.Vb()},l.Wb=function(t){throw ee(new Rr)},O(yr,"Collections/UnmodifiableListIterator",690),M(600,1,aw,$),l.wc=function(t){L_(this,t)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.$b=function(){throw ee(new Rr)},l._b=function(t){return this.c._b(t)},l.uc=function(t){return wze(this,t)},l.vc=function(){return hx(this)},l.Fb=function(t){return mze(this,t)},l.xc=function(t){return this.c.xc(t)},l.Hb=function(){return Yi(this.c)},l.dc=function(){return this.c.dc()},l.ec=function(){return CWe(this)},l.zc=function(t,n){throw ee(new Rr)},l.Bc=function(t){throw ee(new Rr)},l.gc=function(){return this.c.gc()},l.Ib=function(){return Yo(this.c)},l.Cc=function(){return _We(this)},O(yr,"Collections/UnmodifiableMap",600),M(382,372,cae,H8),l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return Ci(this.b,t)},l.Hb=function(){return Yi(this.b)},O(yr,"Collections/UnmodifiableSet",382),M(944,382,cae,sHe),l.Hc=function(t){return vze(this,t)},l.Ic=function(t){return this.b.Ic(t)},l.Kc=function(){var t;return t=this.b.Kc(),new I(t)},l.Pc=function(){var t;return t=this.b.Pc(),ZXe(t,t.length),t},l.Qc=function(t){return oYe(this,t)},O(yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),M(945,1,ba,I),l.Nb=function(t){La(this,t)},l.Pb=function(){return new R(u(this.a.Pb(),42))},l.Ob=function(){return this.a.Ob()},l.Qb=function(){throw ee(new Rr)},O(yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),M(688,1,Pae,R),l.Fb=function(t){return this.a.Fb(t)},l.cd=function(){return this.a.cd()},l.dd=function(){return this.a.dd()},l.Hb=function(){return this.a.Hb()},l.ed=function(t){throw ee(new Rr)},l.Ib=function(){return Yo(this.a)},O(yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),M(601,531,{20:1,14:1,15:1,54:1},Pee),O(yr,"Collections/UnmodifiableRandomAccessList",601),M(689,382,llt,F2e),l.Nc=function(){return new hR(this)},l.Fb=function(t){return Ci(this.a,t)},l.Hb=function(){return Yi(this.a)},O(yr,"Collections/UnmodifiableSortedSet",689),M(847,1,Bae,nn),l.ue=function(t,n){var r;return r=JXe(u(t,11),u(n,11)),r!=0?r:lct(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(yr,"Comparator/lambda$0$Type",847);var Dxe,Ixe,Oxe;M(751,1,Bae,dn),l.ue=function(t,n){return CYt(u(t,35),u(n,35))},l.Fb=function(t){return this===t},l.ve=function(){return z3(),Oxe},O(yr,"Comparators/NaturalOrderComparator",751),M(1177,1,Bae,vt),l.ue=function(t,n){return SYt(u(t,35),u(n,35))},l.Fb=function(t){return this===t},l.ve=function(){return z3(),Ixe},O(yr,"Comparators/ReverseNaturalOrderComparator",1177),M(64,1,Bae,oe),l.Fb=function(t){return this===t},l.ue=function(t,n){return this.a.ue(n,t)},l.ve=function(){return this.a},O(yr,"Comparators/ReversedComparator",64),M(166,60,q0,uh),O(yr,"ConcurrentModificationException",166);var jdt,$dt;M(1904,1,gI,Lr),l.we=function(t){Snt(this,t)},l.Ib=function(){return"DoubleSummaryStatistics[count = "+a_(this.a)+", avg = "+(jze(this.a,0)?BQe(this)/Pv(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+BQe(this)+"]"},l.a=0,l.b=Ds,l.c=ps,l.d=0,l.e=0,l.f=0,O(yr,"DoubleSummaryStatistics",1904),M(1805,60,q0,t$e),O(yr,"EmptyStackException",1805),M(451,1967,aw,R_),l.zc=function(t,n){return lbe(this,t,n)},l.$b=function(){bWe(this)},l._b=function(t){return Rze(this,t)},l.uc=function(t){var n,r;for(r=new b6(this.a);r.a<r.c.a.length;)if(n=m_(r),zc(t,this.b[n.g]))return!0;return!1},l.vc=function(){return new Ce(this)},l.xc=function(t){return _o(this,t)},l.Bc=function(t){return Xve(this,t)},l.gc=function(){return this.a.c},O(yr,"EnumMap",451),M(1352,$1,Ku,Ce),l.$b=function(){bWe(this.a)},l.Hc=function(t){return xXe(this,t)},l.Kc=function(){return new uKe(this.a)},l.Mc=function(t){var n;return xXe(this,t)?(n=u(t,42).cd(),Xve(this.a,n),!0):!1},l.gc=function(){return this.a.a.c},O(yr,"EnumMap/EntrySet",1352),M(1353,1,ba,uKe),l.Nb=function(t){La(this,t)},l.Pb=function(){return this.b=m_(this.a),new Hze(this.c,this.b)},l.Ob=function(){return y2e(this.a)},l.Qb=function(){Cm(!!this.b),Xve(this.c,this.b),this.b=null},O(yr,"EnumMap/EntrySetIterator",1353),M(1354,1984,Pae,Hze),l.cd=function(){return this.a},l.dd=function(){return this.b.b[this.a.g]},l.ed=function(t){return yve(this.b,this.a.g,t)},O(yr,"EnumMap/MapEntry",1354),M(174,$1,{20:1,28:1,14:1,174:1,21:1});var Hdt=O(yr,"EnumSet",174);M(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},hh),l.Fc=function(t){return xf(this,u(t,22))},l.Hc=function(t){return nne(this,t)},l.Kc=function(){return new b6(this)},l.Mc=function(t){return EKe(this,t)},l.gc=function(){return this.c},l.c=0,O(yr,"EnumSet/EnumSetImpl",156),M(343,1,ba,b6),l.Nb=function(t){La(this,t)},l.Pb=function(){return m_(this)},l.Ob=function(){return y2e(this)},l.Qb=function(){Cm(this.b!=-1),us(this.c.b,this.b,null),--this.c.c,this.b=-1},l.a=-1,l.b=-1,O(yr,"EnumSet/EnumSetImpl/IteratorImpl",343),M(43,488,w4,Ar,p6,nqe),l.re=function(t,n){return $e(t)===$e(n)||t!=null&&Ci(t,n)},l.se=function(t){var n;return n=Yi(t),n|0},O(yr,"HashMap",43),M(53,$1,Y5e,Ys,XF,r_),l.Fc=function(t){return zs(this,t)},l.$b=function(){this.a.$b()},l.Hc=function(t){return _0(this,t)},l.dc=function(){return this.a.gc()==0},l.Kc=function(){return this.a.ec().Kc()},l.Mc=function(t){return T2e(this,t)},l.gc=function(){return this.a.gc()};var Uwn=O(yr,"HashSet",53);M(1781,1,cI,xt),l.ud=function(t){Ret(this,t)},l.Ib=function(){return"IntSummaryStatistics[count = "+a_(this.a)+", avg = "+(jze(this.a,0)?Pv(this.d)/Pv(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+a_(this.d)+"]"},l.a=0,l.b=za,l.c=xi,l.d=0,O(yr,"IntSummaryStatistics",1781),M(1049,1,t0,pqe),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new awe(this)},l.c=0,O(yr,"InternalHashCodeMap",1049),M(711,1,ba,awe),l.Nb=function(t){La(this,t)},l.Pb=function(){return this.d=this.a[this.c++],this.d},l.Ob=function(){var t;return this.c<this.a.length?!0:(t=this.b.next(),t.done?!1:(this.a=t.value[1],this.c=0,!0))},l.Qb=function(){k4e(this.e,this.d.cd()),this.c!=0&&--this.c},l.c=0,l.d=null,O(yr,"InternalHashCodeMap/1",711);var zdt;M(1047,1,t0,bqe),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new bwe(this)},l.c=0,l.d=0,O(yr,"InternalStringMap",1047),M(710,1,ba,bwe),l.Nb=function(t){La(this,t)},l.Pb=function(){return this.c=this.a,this.a=this.b.next(),new mUe(this.d,this.c,this.d.d)},l.Ob=function(){return!this.a.done},l.Qb=function(){Ket(this.d,this.c.value[0])},O(yr,"InternalStringMap/1",710),M(1048,1984,Pae,mUe),l.cd=function(){return this.b.value[0]},l.dd=function(){return this.a.d!=this.c?LT(this.a,this.b.value[0]):this.b.value[1]},l.ed=function(t){return Uv(this.a,this.b.value[0],t)},l.c=0,O(yr,"InternalStringMap/2",1048),M(228,43,w4,Y2,Pwe),l.$b=function(){KVe(this)},l._b=function(t){return $ze(this,t)},l.uc=function(t){var n;for(n=this.d.a;n!=this.d;){if(zc(n.e,t))return!0;n=n.a}return!1},l.vc=function(){return new Ae(this)},l.xc=function(t){return Fv(this,t)},l.zc=function(t,n){return cb(this,t,n)},l.Bc=function(t){return VZe(this,t)},l.gc=function(){return ET(this.e)},l.c=!1,O(yr,"LinkedHashMap",228),M(387,383,{484:1,383:1,387:1,42:1},wVe,Rbe),O(yr,"LinkedHashMap/ChainEntry",387),M(701,$1,Ku,Ae),l.$b=function(){KVe(this.a)},l.Hc=function(t){return TXe(this,t)},l.Kc=function(){return new Ive(this)},l.Mc=function(t){var n;return TXe(this,t)?(n=u(t,42).cd(),VZe(this.a,n),!0):!1},l.gc=function(){return ET(this.a.e)},O(yr,"LinkedHashMap/EntrySet",701),M(702,1,ba,Ive),l.Nb=function(t){La(this,t)},l.Pb=function(){return kZe(this)},l.Ob=function(){return this.b!=this.c.a.d},l.Qb=function(){Cm(!!this.a),Xne(this.c.a.e,this),Wbe(this.a),j6(this.c.a.e,this.a.d),J2e(this.c.a.e,this),this.a=null},O(yr,"LinkedHashMap/EntrySet/EntryIterator",702),M(178,53,Y5e,C0,Ate,Zbe);var Kwn=O(yr,"LinkedHashSet",178);M(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},as,zte),l.Fc=function(t){return oi(this,t)},l.$b=function(){Ph(this)},l.Zc=function(t){return si(this,t)},l.gc=function(){return this.b},l.b=0;var Wwn=O(yr,"LinkedList",68);M(970,1,e0,yUe),l.Nb=function(t){La(this,t)},l.Rb=function(t){MM(this,t)},l.Ob=function(){return QF(this)},l.Sb=function(){return this.b.b!=this.d.a},l.Pb=function(){return ii(this)},l.Tb=function(){return this.a},l.Ub=function(){return Wne(this)},l.Vb=function(){return this.a-1},l.Qb=function(){w$(this)},l.Wb=function(t){Cm(!!this.c),this.c.c=t},l.a=0,l.c=null,O(yr,"LinkedList/ListIteratorImpl",970),M(608,1,{},bt),O(yr,"LinkedList/Node",608),M(1959,1,{});var Nxe,Gdt;O(yr,"Locale",1959),M(861,1959,{},St),l.Ib=function(){return""},O(yr,"Locale/1",861),M(862,1959,{},yt),l.Ib=function(){return"unknown"},O(yr,"Locale/4",862),M(109,60,{3:1,102:1,60:1,78:1,109:1},yc,AWe),O(yr,"NoSuchElementException",109),M(404,1,{404:1},GF),l.Fb=function(t){var n;return t===this?!0:me(t,404)?(n=u(t,404),zc(this.a,n.a)):!1},l.Hb=function(){return B3(this.a)},l.Ib=function(){return this.a!=null?rlt+XT(this.a)+")":"Optional.empty()"};var xG;O(yr,"Optional",404),M(463,1,{463:1},oqe,U2e),l.Fb=function(t){var n;return t===this?!0:me(t,463)?(n=u(t,463),this.a==n.a&&Bs(this.b,n.b)==0):!1},l.Hb=function(){return this.a?_s(this.b):0},l.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},l.a=!1,l.b=0;var Pxe;O(yr,"OptionalDouble",463),M(517,1,{517:1},cqe,pVe),l.Fb=function(t){var n;return t===this?!0:me(t,517)?(n=u(t,517),this.a==n.a&&ku(this.b,n.b)==0):!1},l.Hb=function(){return this.a?this.b:0},l.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},l.a=!1,l.b=0;var qdt;O(yr,"OptionalInt",517),M(503,2004,uy,yj),l.Gc=function(t){return a3e(this,t)},l.$b=function(){this.b.c=Ie(Xn,_t,1,0,5,1)},l.Hc=function(t){return(t==null?-1:Ko(this.b,t,0))!=-1},l.Kc=function(){return new G(this)},l.Mc=function(t){return oet(this,t)},l.gc=function(){return this.b.c.length},l.Nc=function(){return new kn(this,256)},l.Pc=function(){return Mte(this.b)},l.Qc=function(t){return R1(this.b,t)},O(yr,"PriorityQueue",503),M(1277,1,ba,G),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a<this.c.b.c.length},l.Pb=function(){return Qn(this.a<this.c.b.c.length),this.b=this.a++,It(this.c.b,this.b)},l.Qb=function(){Cm(this.b!=-1),Ore(this.c,this.a=this.b),this.b=-1},l.a=0,l.b=-1,O(yr,"PriorityQueue/1",1277),M(230,1,{230:1},die,Jj),l.a=0,l.b=0;var Bxe,Fxe,Ywn=0;O(yr,"Random",230),M(27,1,jh,kn,Cv,MWe),l.qd=function(){return this.a},l.rd=function(){return gve(this),this.c},l.Nb=function(t){gve(this),this.d.Nb(t)},l.sd=function(t){return pJe(this,t)},l.a=0,l.c=0,O(yr,"Spliterators/IteratorSpliterator",27),M(485,27,jh,hR),O(yr,"SortedSet/1",485),M(602,1,gI,U),l.we=function(t){this.a.td(t)},O(yr,"Spliterator/OfDouble/0methodref$accept$Type",602),M(603,1,gI,J),l.we=function(t){this.a.td(t)},O(yr,"Spliterator/OfDouble/1methodref$accept$Type",603),M(604,1,cI,te),l.ud=function(t){this.a.td(lt(t))},O(yr,"Spliterator/OfInt/2methodref$accept$Type",604),M(605,1,cI,se),l.ud=function(t){this.a.td(lt(t))},O(yr,"Spliterator/OfInt/3methodref$accept$Type",605),M(617,1,jh),l.Nb=function(t){ype(this,t)},l.qd=function(){return this.d},l.rd=function(){return this.e},l.d=0,l.e=0,O(yr,"Spliterators/BaseSpliterator",617),M(721,617,jh),l.xe=function(t){L3(this,t)},l.Nb=function(t){me(t,182)?L3(this,u(t,182)):L3(this,new J(t))},l.sd=function(t){return me(t,182)?this.ye(u(t,182)):this.ye(new U(t))},O(yr,"Spliterators/AbstractDoubleSpliterator",721),M(720,617,jh),l.xe=function(t){L3(this,t)},l.Nb=function(t){me(t,196)?L3(this,u(t,196)):L3(this,new se(t))},l.sd=function(t){return me(t,196)?this.ye(u(t,196)):this.ye(new te(t))},O(yr,"Spliterators/AbstractIntSpliterator",720),M(540,617,jh),O(yr,"Spliterators/AbstractSpliterator",540),M(692,1,jh),l.Nb=function(t){ype(this,t)},l.qd=function(){return this.b},l.rd=function(){return this.d-this.c},l.b=0,l.c=0,l.d=0,O(yr,"Spliterators/BaseArraySpliterator",692),M(947,692,jh,QUe),l.ze=function(t,n){RGt(this,u(t,38),n)},l.Nb=function(t){kne(this,t)},l.sd=function(t){return s$(this,t)},O(yr,"Spliterators/ArraySpliterator",947),M(693,692,jh,bUe),l.ze=function(t,n){jGt(this,u(t,182),n)},l.xe=function(t){kne(this,t)},l.Nb=function(t){me(t,182)?kne(this,u(t,182)):kne(this,new J(t))},l.ye=function(t){return s$(this,t)},l.sd=function(t){return me(t,182)?s$(this,u(t,182)):s$(this,new U(t))},O(yr,"Spliterators/DoubleArraySpliterator",693),M(1968,1,jh),l.Nb=function(t){ype(this,t)},l.qd=function(){return 16448},l.rd=function(){return 0};var Vdt;O(yr,"Spliterators/EmptySpliterator",1968),M(946,1968,jh,Ze),l.xe=function(t){A8(t)},l.Nb=function(t){me(t,196)?A8(u(t,196)):A8(new se(t))},l.ye=function(t){return Dpe(t)},l.sd=function(t){return me(t,196)?Dpe(u(t,196)):Dpe(new te(t))},O(yr,"Spliterators/EmptySpliterator/OfInt",946),M(580,52,Tlt,HF),l.Vc=function(t,n){ax(t,this.a.c.length+1),Dm(this.a,t,n)},l.Fc=function(t){return st(this.a,t)},l.Wc=function(t,n){return ax(t,this.a.c.length+1),Xme(this.a,t,n)},l.Gc=function(t){return Ps(this.a,t)},l.$b=function(){this.a.c=Ie(Xn,_t,1,0,5,1)},l.Hc=function(t){return Ko(this.a,t,0)!=-1},l.Ic=function(t){return hD(this.a,t)},l.Jc=function(t){Su(this.a,t)},l.Xb=function(t){return ax(t,this.a.c.length),It(this.a,t)},l.Xc=function(t){return Ko(this.a,t,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return new C(this.a)},l.$c=function(t){return ax(t,this.a.c.length),yg(this.a,t)},l.Ud=function(t,n){KYe(this.a,t,n)},l._c=function(t,n){return ax(t,this.a.c.length),gh(this.a,t,n)},l.gc=function(){return this.a.c.length},l.ad=function(t){aa(this.a,t)},l.bd=function(t,n){return new Yd(this.a,t,n)},l.Pc=function(){return Mte(this.a)},l.Qc=function(t){return R1(this.a,t)},l.Ib=function(){return Vp(this.a)},O(yr,"Vector",580),M(809,580,Tlt,Kge),O(yr,"Stack",809),M(206,1,{206:1},tb),l.Ib=function(){return bXe(this)},O(yr,"StringJoiner",206),M(544,1992,{3:1,83:1,171:1,161:1},xze,une),l.$b=function(){bT(this)},l.vc=function(){return new QT(this)},l.zc=function(t,n){return q$(this,t,n)},l.Bc=function(t){return g_(this,t)},l.gc=function(){return this.c},l.c=0,O(yr,"TreeMap",544),M(390,1,ba,e_),l.Nb=function(t){La(this,t)},l.Pb=function(){return KR(this)},l.Ob=function(){return JL(this.a)},l.Qb=function(){kUe(this)},O(yr,"TreeMap/EntryIterator",390),M(435,739,Ku,QT),l.$b=function(){bT(this.a)},O(yr,"TreeMap/EntrySet",435),M(436,383,{484:1,383:1,42:1,436:1},fre),l.b=!1;var Xwn=O(yr,"TreeMap/Node",436);M(621,1,{},At),l.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},l.a=!1,l.b=!1,l.c=!1,O(yr,"TreeMap/State",621),M(297,22,jae,fR),l.Ae=function(){return!1},l.Be=function(){return!1};var eue,Rxe,jxe,$xe,EG=Gr(yr,"TreeMap/SubMapType",297,Kr,EJt,eKt);M(1112,297,jae,Eqe),l.Be=function(){return!0},Gr(yr,"TreeMap/SubMapType/1",1112,EG,null,null),M(1113,297,jae,Pqe),l.Ae=function(){return!0},l.Be=function(){return!0},Gr(yr,"TreeMap/SubMapType/2",1113,EG,null,null),M(1114,297,jae,Tqe),l.Ae=function(){return!0},Gr(yr,"TreeMap/SubMapType/3",1114,EG,null,null);var Udt;M(208,$1,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},zge,Ep),l.Nc=function(){return new hR(this)},l.Fc=function(t){return LM(this,t)},l.$b=function(){bT(this.a)},l.Hc=function(t){return Hte(this.a,t)},l.Kc=function(){var t;return t=new e_(new QT(new m(this.a).a).b),new g(t)},l.Mc=function(t){return Ste(this,t)},l.gc=function(){return this.a.c};var Qwn=O(yr,"TreeSet",208);M(966,1,{},Le),l.Ce=function(t,n){return wUt(this.a,t,n)},O($ae,"BinaryOperator/lambda$0$Type",966),M(967,1,{},Be),l.Ce=function(t,n){return mUt(this.a,t,n)},O($ae,"BinaryOperator/lambda$1$Type",967),M(846,1,{},He),l.Kb=function(t){return t},O($ae,"Function/lambda$0$Type",846),M(431,1,gi,Xe),l.Mb=function(t){return!this.a.Mb(t)},O($ae,"Predicate/lambda$2$Type",431),M(572,1,{572:1});var Kdt=O(gC,"Handler",572);M(2007,1,aI),l.ne=function(){return"DUMMY"},l.Ib=function(){return this.ne()};var Hxe;O(gC,"Level",2007),M(1621,2007,aI,Lt),l.ne=function(){return"INFO"},O(gC,"Level/LevelInfo",1621),M(1640,1,{},a$e);var tue;O(gC,"LogManager",1640),M(1780,1,aI,xUe),l.b=null,O(gC,"LogRecord",1780),M(512,1,{512:1},rre),l.e=!1;var Wdt=!1,Ydt=!1,q1=!1,Xdt=!1,Qdt=!1;O(gC,"Logger",512),M(819,572,{572:1},Ve),O(gC,"SimpleConsoleLogHandler",819),M(132,22,{3:1,35:1,22:1,132:1},zee);var zxe,Zl,yy,yl=Gr(Rs,"Collector/Characteristics",132,Kr,yZt,tKt),Zdt;M(744,1,{},mve),O(Rs,"CollectorImpl",744),M(1060,1,{},Mn),l.Ce=function(t,n){return _in(u(t,206),u(n,206))},O(Rs,"Collectors/10methodref$merge$Type",1060),M(1061,1,{},Oe),l.Kb=function(t){return bXe(u(t,206))},O(Rs,"Collectors/11methodref$toString$Type",1061),M(1062,1,{},Ue),l.Kb=function(t){return In(),!!h2e(t)},O(Rs,"Collectors/12methodref$test$Type",1062),M(251,1,{},Tt),l.Od=function(t,n){u(t,14).Fc(n)},O(Rs,"Collectors/20methodref$add$Type",251),M(253,1,{},wt),l.Ee=function(){return new at},O(Rs,"Collectors/21methodref$ctor$Type",253),M(346,1,{},Di),l.Ee=function(){return new Ys},O(Rs,"Collectors/23methodref$ctor$Type",346),M(347,1,{},rn),l.Od=function(t,n){zs(u(t,53),n)},O(Rs,"Collectors/24methodref$add$Type",347),M(1055,1,{},pi),l.Ce=function(t,n){return Eze(u(t,15),u(n,14))},O(Rs,"Collectors/4methodref$addAll$Type",1055),M(1059,1,{},Fr),l.Od=function(t,n){O0(u(t,206),u(n,475))},O(Rs,"Collectors/9methodref$add$Type",1059),M(1058,1,{},jUe),l.Ee=function(){return new tb(this.a,this.b,this.c)},O(Rs,"Collectors/lambda$15$Type",1058),M(1063,1,{},tr),l.Ee=function(){var t;return t=new Y2,cb(t,(In(),!1),new at),cb(t,!0,new at),t},O(Rs,"Collectors/lambda$22$Type",1063),M(1064,1,{},Fe),l.Ee=function(){return ie(ne(Xn,1),_t,1,5,[this.a])},O(Rs,"Collectors/lambda$25$Type",1064),M(1065,1,{},et),l.Od=function(t,n){AYt(this.a,Z2(t))},O(Rs,"Collectors/lambda$26$Type",1065),M(1066,1,{},ze),l.Ce=function(t,n){return eXt(this.a,Z2(t),Z2(n))},O(Rs,"Collectors/lambda$27$Type",1066),M(1067,1,{},Wn),l.Kb=function(t){return Z2(t)[0]},O(Rs,"Collectors/lambda$28$Type",1067),M(713,1,{},er),l.Ce=function(t,n){return Jbe(t,n)},O(Rs,"Collectors/lambda$4$Type",713),M(252,1,{},Fn),l.Ce=function(t,n){return sqt(u(t,14),u(n,14))},O(Rs,"Collectors/lambda$42$Type",252),M(348,1,{},nr),l.Ce=function(t,n){return aqt(u(t,53),u(n,53))},O(Rs,"Collectors/lambda$50$Type",348),M(349,1,{},ha),l.Kb=function(t){return u(t,53)},O(Rs,"Collectors/lambda$51$Type",349),M(1054,1,{},ut),l.Od=function(t,n){zrn(this.a,u(t,83),n)},O(Rs,"Collectors/lambda$7$Type",1054),M(1056,1,{},fa),l.Ce=function(t,n){return brn(u(t,83),u(n,83),new pi)},O(Rs,"Collectors/lambda$8$Type",1056),M(1057,1,{},ht),l.Kb=function(t){return ssn(this.a,u(t,83))},O(Rs,"Collectors/lambda$9$Type",1057),M(539,1,{}),l.He=function(){f_(this)},l.d=!1,O(Rs,"TerminatableStream",539),M(812,539,Z5e,nbe),l.He=function(){f_(this)},O(Rs,"DoubleStreamImpl",812),M(1784,721,jh,$Ue),l.ye=function(t){return don(this,u(t,182))},l.a=null,O(Rs,"DoubleStreamImpl/2",1784),M(1785,1,gI,tt),l.we=function(t){Zqt(this.a,t)},O(Rs,"DoubleStreamImpl/2/lambda$0$Type",1785),M(1782,1,gI,Dt),l.we=function(t){Qqt(this.a,t)},O(Rs,"DoubleStreamImpl/lambda$0$Type",1782),M(1783,1,gI,ft),l.we=function(t){Snt(this.a,t)},O(Rs,"DoubleStreamImpl/lambda$2$Type",1783),M(1358,720,jh,SQe),l.ye=function(t){return bJt(this,u(t,196))},l.a=0,l.b=0,l.c=0,O(Rs,"IntStream/5",1358),M(787,539,Z5e,rbe),l.He=function(){f_(this)},l.Ie=function(){return Np(this),this.a},O(Rs,"IntStreamImpl",787),M(788,539,Z5e,Tpe),l.He=function(){f_(this)},l.Ie=function(){return Np(this),_2e(),Vdt},O(Rs,"IntStreamImpl/Empty",788),M(1463,1,cI,ln),l.ud=function(t){Ret(this.a,t)},O(Rs,"IntStreamImpl/lambda$4$Type",1463);var Zwn=rs(Rs,"Stream");M(30,539,{525:1,670:1,833:1},mn),l.He=function(){f_(this)};var G7;O(Rs,"StreamImpl",30),M(845,1,{},is),l.ld=function(t){return zUe(t)},O(Rs,"StreamImpl/0methodref$lambda$2$Type",845),M(1084,540,jh,pUe),l.sd=function(t){for(;atn(this);){if(this.a.sd(t))return!0;f_(this.b),this.b=null,this.a=null}return!1},O(Rs,"StreamImpl/1",1084),M(1085,1,Vn,Rt),l.td=function(t){nYt(this.a,u(t,833))},O(Rs,"StreamImpl/1/lambda$0$Type",1085),M(1086,1,gi,Ht),l.Mb=function(t){return zs(this.a,t)},O(Rs,"StreamImpl/1methodref$add$Type",1086),M(1087,540,jh,qWe),l.sd=function(t){var n;return this.a||(n=new at,this.b.a.Nb(new wn(n)),fn(),aa(n,this.c),this.a=new kn(n,16)),pJe(this.a,t)},l.a=null,O(Rs,"StreamImpl/5",1087),M(1088,1,Vn,wn),l.td=function(t){st(this.a,t)},O(Rs,"StreamImpl/5/2methodref$add$Type",1088),M(722,540,jh,Hwe),l.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new Gze(this,t)););return this.b},l.b=!1,O(Rs,"StreamImpl/FilterSpliterator",722),M(1079,1,Vn,Gze),l.td=function(t){JYt(this.a,this.b,t)},O(Rs,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),M(1075,721,jh,jQe),l.ye=function(t){return zUt(this,u(t,182))},O(Rs,"StreamImpl/MapToDoubleSpliterator",1075),M(1078,1,Vn,qze),l.td=function(t){yqt(this.a,this.b,t)},O(Rs,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),M(1074,720,jh,$Qe),l.ye=function(t){return GUt(this,u(t,196))},O(Rs,"StreamImpl/MapToIntSpliterator",1074),M(1077,1,Vn,Vze),l.td=function(t){mqt(this.a,this.b,t)},O(Rs,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),M(719,540,jh,Lwe),l.sd=function(t){return fUe(this,t)},O(Rs,"StreamImpl/MapToObjSpliterator",719),M(1076,1,Vn,Uze),l.td=function(t){kqt(this.a,this.b,t)},O(Rs,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),M(618,1,Vn,Xi),l.td=function(t){VJ(this,t)},O(Rs,"StreamImpl/ValueConsumer",618),M(1080,1,Vn,da),l.td=function(t){$2()},O(Rs,"StreamImpl/lambda$0$Type",1080),M(1081,1,Vn,Cc),l.td=function(t){$2()},O(Rs,"StreamImpl/lambda$1$Type",1081),M(1082,1,{},Sn),l.Ce=function(t,n){return mKt(this.a,t,n)},O(Rs,"StreamImpl/lambda$4$Type",1082),M(1083,1,Vn,zze),l.td=function(t){LUt(this.b,this.a,t)},O(Rs,"StreamImpl/lambda$5$Type",1083),M(1089,1,Vn,Kn),l.td=function(t){Prn(this.a,u(t,365))},O(Rs,"TerminatableStream/lambda$0$Type",1089),M(2041,1,{}),M(1914,1,{},na),O("javaemul.internal","ConsoleLogger",1914),M(2038,1,{});var Jwn=0,Gxe,qxe=0,TG;M(1768,1,Vn,Ji),l.td=function(t){u(t,308)},O(E7,"BowyerWatsonTriangulation/lambda$0$Type",1768),M(1769,1,Vn,xn),l.td=function(t){ro(this.a,u(t,308).e)},O(E7,"BowyerWatsonTriangulation/lambda$1$Type",1769),M(1770,1,Vn,Fi),l.td=function(t){u(t,168)},O(E7,"BowyerWatsonTriangulation/lambda$2$Type",1770),M(1765,1,Ri,Un),l.ue=function(t,n){return YJt(this.a,u(t,168),u(n,168))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(E7,"NaiveMinST/lambda$0$Type",1765),M(499,1,{},ar),O(E7,"NodeMicroLayout",499),M(168,1,{168:1},v6),l.Fb=function(t){var n;return me(t,168)?(n=u(t,168),zc(this.a,n.a)&&zc(this.b,n.b)||zc(this.a,n.b)&&zc(this.b,n.a)):!1},l.Hb=function(){return B3(this.a)+B3(this.b)};var emn=O(E7,"TEdge",168);M(308,1,{308:1},b5e),l.Fb=function(t){var n;return me(t,308)?(n=u(t,308),f$(this,n.a)&&f$(this,n.b)&&f$(this,n.c)):!1},l.Hb=function(){return B3(this.a)+B3(this.b)+B3(this.c)},O(E7,"TTriangle",308),M(221,1,{221:1},FR),O(E7,"Tree",221),M(1254,1,{},DYe),O(Slt,"Scanline",1254);var Jdt=rs(Slt,Alt);M(1692,1,{},mJe),O(i0,"CGraph",1692),M(307,1,{307:1},CYe),l.b=0,l.c=0,l.d=0,l.g=0,l.i=0,l.k=Ds,O(i0,"CGroup",307),M(815,1,{},Gge),O(i0,"CGroup/CGroupBuilder",815),M(57,1,{57:1},XVe),l.Ib=function(){var t;return this.j?Hr(this.j.Kb(this)):(S0(_G),_G.o+"@"+(t=kv(this)>>>0,t.toString(16)))},l.f=0,l.i=Ds;var _G=O(i0,"CNode",57);M(814,1,{},qge),O(i0,"CNode/CNodeBuilder",814);var e0t;M(1525,1,{},vr),l.Oe=function(t,n){return 0},l.Pe=function(t,n){return 0},O(i0,Mlt,1525),M(1790,1,{},wr),l.Le=function(t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(T=ps,i=new C(t.a.b);i.a<i.c.c.length;)n=u(Y(i),57),T=b.Math.min(T,n.a.j.d.c+n.b.a);for(q=new as,d=new C(t.a.a);d.a<d.c.c.length;)h=u(Y(d),307),h.k=T,h.g==0&&ks(q,h,q.c.b,q.c);for(;q.b!=0;){for(h=u(q.b==0?null:(Qn(q.b!=0),bh(q,q.a.a)),307),a=h.j.d.c,z=h.a.a.ec().Kc();z.Ob();)L=u(z.Pb(),57),Q=h.k+L.b.a,!hin(t,h,t.d)||L.d.c<Q?L.i=Q:L.i=L.d.c;for(a-=h.j.i,h.b+=a,t.d==(wo(),Lf)||t.d==Y0?h.c+=a:h.c-=a,P=h.a.a.ec().Kc();P.Ob();)for(L=u(P.Pb(),57),x=L.c.Kc();x.Ob();)v=u(x.Pb(),57),Sp(t.d)?K=t.g.Oe(L,v):K=t.g.Pe(L,v),v.a.k=b.Math.max(v.a.k,L.i+L.d.b+K-v.b.a),ZWe(t,v,t.d)&&(v.a.k=b.Math.max(v.a.k,v.d.c-v.b.a)),--v.a.g,v.a.g==0&&oi(q,v.a)}for(r=new C(t.a.b);r.a<r.c.c.length;)n=u(Y(r),57),n.d.c=n.i},O(i0,"LongestPathCompaction",1790),M(1690,1,{},Wst),l.e=!1;var t0t,n0t,r0t,nue=O(i0,Olt,1690);M(1691,1,Vn,xr),l.td=function(t){drn(this.a,u(t,46))},O(i0,Nlt,1691),M(1791,1,{},ni),l.Me=function(t){var n,r,i,a,h,d,v;for(r=new C(t.a.b);r.a<r.c.c.length;)n=u(Y(r),57),n.c.$b();for(a=new C(t.a.b);a.a<a.c.c.length;)for(i=u(Y(a),57),d=new C(t.a.b);d.a<d.c.c.length;)h=u(Y(d),57),i!=h&&(i.a&&i.a==h.a||(Sp(t.d)?v=t.g.Pe(i,h):v=t.g.Oe(i,h),(h.d.c>i.d.c||i.d.c==h.d.c&&i.d.b<h.d.b)&&Zsn(h.d.d+h.d.a+v,i.d.d)&&Fye(h.d.d,i.d.d+i.d.a+v)&&i.c.Fc(h)))},O(i0,"QuadraticConstraintCalculation",1791),M(522,1,{522:1},bee),l.a=!1,l.b=!1,l.c=!1,l.d=!1,O(i0,Plt,522),M(803,1,{},sve),l.Me=function(t){this.c=t,$D(this,new un)},O(i0,Blt,803),M(1718,1,{679:1},eYe),l.Ke=function(t){chn(this,u(t,464))},O(i0,Flt,1718),M(1719,1,Ri,Yn),l.ue=function(t,n){return uQt(u(t,57),u(n,57))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(i0,Rlt,1719),M(464,1,{464:1},Npe),l.a=!1,O(i0,jlt,464),M(1720,1,Ri,Gi),l.ue=function(t,n){return ycn(u(t,464),u(n,464))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(i0,$lt,1720),M(1721,1,kd,un),l.Lb=function(t){return u(t,57),!0},l.Fb=function(t){return this===t},l.Mb=function(t){return u(t,57),!0},O(i0,"ScanlineConstraintCalculator/lambda$1$Type",1721),M(428,22,{3:1,35:1,22:1,428:1},Fpe);var Vxe,rue,Uxe=Gr(qae,"HighLevelSortingCriterion",428,Kr,YQt,nKt),i0t;M(427,22,{3:1,35:1,22:1,427:1},Rpe);var Kxe,iue,Wxe=Gr(qae,"LowLevelSortingCriterion",427,Kr,XQt,rKt),s0t,M4=rs(oc,"ILayoutMetaDataProvider");M(853,1,$h,CL),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,n6e),Vae),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),t7e),(Dg(),ws)),l7e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,r6e),Vae),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),Jxe),ws),Wxe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,i6e),Vae),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),Qxe),ws),Uxe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,s6e),Vae),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(In(),!0)),qa),Vs),sn(jn))))};var Yxe,Xxe,Qxe,Zxe,Jxe,e7e,t7e;O(qae,"PolyominoOptions",853),M(250,22,{3:1,35:1,22:1,250:1},D3);var n7e,r7e,i7e,s7e,a7e,o7e,sue,c7e,u7e,l7e=Gr(qae,"TraversalStrategy",250,Kr,unn,iKt),a0t;M(213,1,{213:1},Ks),l.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},l.a=1,l.b=0,l.c=0,l.f=!1,l.g=0;var o0t=O(pC,"NEdge",213);M(176,1,{},Ih),O(pC,"NEdge/NEdgeBuilder",176),M(653,1,{},wee),O(pC,"NGraph",653),M(121,1,{121:1},FQe),l.c=-1,l.d=0,l.e=0,l.i=-1,l.j=!1;var h7e=O(pC,"NNode",121);M(795,1,Elt,$ge),l.Jc=function(t){Da(this,t)},l.Lc=function(){return new mn(null,new kn(this,16))},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.Vc=function(t,n){++this.b,Dm(this.a,t,n)},l.Fc=function(t){return qR(this,t)},l.Wc=function(t,n){return++this.b,Xme(this.a,t,n)},l.Gc=function(t){return++this.b,Ps(this.a,t)},l.$b=function(){++this.b,this.a.c=Ie(Xn,_t,1,0,5,1)},l.Hc=function(t){return Ko(this.a,t,0)!=-1},l.Ic=function(t){return hD(this.a,t)},l.Xb=function(t){return It(this.a,t)},l.Xc=function(t){return Ko(this.a,t,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return H6(new C(this.a))},l.Yc=function(){throw ee(new Rr)},l.Zc=function(t){throw ee(new Rr)},l.$c=function(t){return++this.b,yg(this.a,t)},l.Mc=function(t){return H2e(this,t)},l._c=function(t,n){return++this.b,gh(this.a,t,n)},l.gc=function(){return this.a.c.length},l.bd=function(t,n){return new Yd(this.a,t,n)},l.Pc=function(){return Mte(this.a)},l.Qc=function(t){return R1(this.a,t)},l.b=0,O(pC,"NNode/ChangeAwareArrayList",795),M(269,1,{},j2),O(pC,"NNode/NNodeBuilder",269),M(1630,1,{},Hn),l.a=!1,l.f=xi,l.j=0,O(pC,"NetworkSimplex",1630),M(1294,1,Vn,fr),l.td=function(t){xut(this.a,u(t,680),!0,!1)},O(Hlt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),M(558,1,{},rr),l.b=!0,l.c=!0,l.d=!0,l.e=!0,O(Hlt,"NodeMarginCalculator",558),M(212,1,{212:1}),l.j=!1,l.k=!1;var c0t=O(pb,"Cell",212);M(124,212,{124:1,212:1},nUe),l.Re=function(){return ij(this)},l.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},O(pb,"AtomicCell",124),M(232,22,{3:1,35:1,22:1,232:1},Gee);var pc,au,bc,ky=Gr(pb,"ContainerArea",232,Kr,kZt,sKt),u0t;M(326,212,zlt),O(pb,"ContainerCell",326),M(1473,326,zlt,knt),l.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=wye(this,Ort(this,!0)),t>0?t+this.n.d+this.n.a:0},l.Se=function(){var t,n,r,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=wye(this,Kie(this,null,!0));else for(n=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),r=0,i=n.length;r<i;++r)t=n[r],a=b.Math.max(a,wye(this,Kie(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},l.Te=function(){var t,n,r,i,a;if(this.g)for(t=Kie(this,null,!1),r=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),i=0,a=r.length;i<a;++i)n=r[i],aot(this,n,t);else for(r=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),i=0,a=r.length;i<a;++i)n=r[i],t=Kie(this,n,!1),aot(this,n,t)},l.Ue=function(){var t,n,r,i;n=this.i,t=this.n,i=Ort(this,!1),xwe(this,(Jf(),pc),n.d+t.d,i),xwe(this,bc,n.d+n.a-t.a-i[2],i),r=n.a-t.d-t.a,i[0]>0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=b.Math.max(0,r),this.c.d=n.d+t.d+(this.c.a-r)/2,i[1]=b.Math.max(i[1],r),xwe(this,au,n.d+t.d+i[0]-(i[1]-r)/2,i)},l.b=null,l.d=0,l.e=!1,l.f=!1,l.g=!1;var aue=0,CG=0;O(pb,"GridContainerCell",1473),M(461,22,{3:1,35:1,22:1,461:1},qee);var n2,Md,Cf,l0t=Gr(pb,"HorizontalLabelAlignment",461,Kr,xZt,aKt),h0t;M(306,212,{212:1,306:1},gYe,kJe,hYe),l.Re=function(){return ZUe(this)},l.Se=function(){return Ybe(this)},l.a=0,l.c=!1;var tmn=O(pb,"LabelCell",306);M(244,326,{212:1,326:1,244:1},$_),l.Re=function(){return zD(this)},l.Se=function(){return GD(this)},l.Te=function(){Rse(this)},l.Ue=function(){jse(this)},l.b=0,l.c=0,l.d=!1,O(pb,"StripContainerCell",244),M(1626,1,gi,Ms),l.Mb=function(t){return mGt(u(t,212))},O(pb,"StripContainerCell/lambda$0$Type",1626),M(1627,1,{},Ea),l.Fe=function(t){return u(t,212).Se()},O(pb,"StripContainerCell/lambda$1$Type",1627),M(1628,1,gi,Va),l.Mb=function(t){return yGt(u(t,212))},O(pb,"StripContainerCell/lambda$2$Type",1628),M(1629,1,{},Ba),l.Fe=function(t){return u(t,212).Re()},O(pb,"StripContainerCell/lambda$3$Type",1629),M(462,22,{3:1,35:1,22:1,462:1},Vee);var Sf,r2,a1,f0t=Gr(pb,"VerticalLabelAlignment",462,Kr,EZt,oKt),d0t;M(789,1,{},I5e),l.c=0,l.d=0,l.k=0,l.s=0,l.t=0,l.v=!1,l.w=0,l.D=!1,O(fz,"NodeContext",789),M(1471,1,Ri,Ta),l.ue=function(t,n){return gqe(u(t,61),u(n,61))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(fz,"NodeContext/0methodref$comparePortSides$Type",1471),M(1472,1,Ri,ss),l.ue=function(t,n){return Kun(u(t,111),u(n,111))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(fz,"NodeContext/1methodref$comparePortContexts$Type",1472),M(159,22,{3:1,35:1,22:1,159:1},vh);var g0t,p0t,b0t,v0t,w0t,m0t,y0t,k0t,x0t,E0t,T0t,_0t,C0t,S0t,A0t,L0t,M0t,D0t,I0t,O0t,N0t,oue,P0t=Gr(fz,"NodeLabelLocation",159,Kr,_ie,cKt),B0t;M(111,1,{111:1},Yst),l.a=!1,O(fz,"PortContext",111),M(1476,1,Vn,Zs),l.td=function(t){OHe(u(t,306))},O(bI,Glt,1476),M(1477,1,gi,Fa),l.Mb=function(t){return!!u(t,111).c},O(bI,qlt,1477),M(1478,1,Vn,$s),l.td=function(t){OHe(u(t,111).c)},O(bI,"LabelPlacer/lambda$2$Type",1478);var f7e;M(1475,1,Vn,Xb),l.td=function(t){Am(),Jzt(u(t,111))},O(bI,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),M(790,1,Vn,Abe),l.td=function(t){hqt(this.b,this.c,this.a,u(t,181))},l.a=!1,l.c=!1,O(bI,"NodeLabelCellCreator/lambda$0$Type",790),M(1474,1,Vn,gn),l.td=function(t){nGt(this.a,u(t,181))},O(bI,"PortContextCreator/lambda$0$Type",1474);var SG;M(1829,1,{},bu),O(_7,"GreedyRectangleStripOverlapRemover",1829),M(1830,1,Ri,ap),l.ue=function(t,n){return GVt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),M(1786,1,{},h$e),l.a=5,l.e=0,O(_7,"RectangleStripOverlapRemover",1786),M(1787,1,Ri,Ju),l.ue=function(t,n){return qVt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),M(1789,1,Ri,lf),l.ue=function(t,n){return gXt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),M(406,22,{3:1,35:1,22:1,406:1},bR);var jI,cue,uue,$I,F0t=Gr(_7,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Kr,xJt,uKt),R0t;M(222,1,{222:1},ine),O(_7,"RectangleStripOverlapRemover/RectangleNode",222),M(1788,1,Vn,mr),l.td=function(t){won(this.a,u(t,222))},O(_7,"RectangleStripOverlapRemover/lambda$1$Type",1788),M(1304,1,Ri,el),l.ue=function(t,n){return T2n(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),M(1307,1,{},Rl),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),M(1308,1,gi,vu),l.Mb=function(t){return u(t,323).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),M(1309,1,gi,Mh),l.Mb=function(t){return u(t,323).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),M(1302,1,Ri,ah),l.ue=function(t,n){return ign(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),M(1305,1,{},ra),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),M(767,1,Ri,Ai),l.ue=function(t,n){return arn(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinNumOfExtensionsComparator",767),M(1300,1,Ri,$t),l.ue=function(t,n){return pnn(u(t,321),u(n,321))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinPerimeterComparator",1300),M(1301,1,Ri,Mr),l.ue=function(t,n){return Van(u(t,321),u(n,321))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),M(1303,1,Ri,bi),l.ue=function(t,n){return Sgn(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),M(1306,1,{},Aa),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),M(777,1,{},Ppe),l.Ce=function(t,n){return wJt(this,u(t,46),u(n,167))},O(xd,"SuccessorCombination",777),M(644,1,{},Nc),l.Ce=function(t,n){var r;return ofn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorJitter",644),M(643,1,{},$c),l.Ce=function(t,n){var r;return Ydn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorLineByLine",643),M(568,1,{},wu),l.Ce=function(t,n){var r;return c1n((r=u(t,46),u(n,167),r))},O(xd,"SuccessorManhattan",568),M(1356,1,{},oh),l.Ce=function(t,n){var r;return mdn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorMaxNormWindingInMathPosSense",1356),M(400,1,{},pr),l.Ce=function(t,n){return Eve(this,t,n)},l.c=!1,l.d=!1,l.e=!1,l.f=!1,O(xd,"SuccessorQuadrantsGeneric",400),M(1357,1,{},tl),l.Kb=function(t){return u(t,324).a},O(xd,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),M(323,22,{3:1,35:1,22:1,323:1},pR),l.a=!1;var HI,zI,GI,qI,j0t=Gr(gz,u6e,323,Kr,_Jt,lKt),$0t;M(1298,1,{}),l.Ib=function(){var t,n,r,i,a,h;for(r=" ",t=lt(0),a=0;a<this.o;a++)r+=""+t.a,t=lt(VVe(t.a));for(r+=`
-`,t=lt(0),h=0;h<this.p;h++){for(r+=""+t.a,t=lt(VVe(t.a)),i=0;i<this.o;i++)n=Ire(this,i,h),Lc(n,0)==0?r+="_":Lc(n,1)==0?r+="X":r+="0";r+=`
-`}return $l(r,0,r.length-1)},l.o=0,l.p=0,O(gz,"TwoBitGrid",1298),M(321,1298,{321:1},Mye),l.j=0,l.k=0,O(gz,"PlanarGrid",321),M(167,321,{321:1,167:1}),l.g=0,l.i=0,O(gz,"Polyomino",167);var nmn=rs(vI,Ult);M(134,1,l6e,Qb),l.Ye=function(t,n){return bD(this,t,n)},l.Ve=function(){return dKe(this)},l.We=function(t){return W(this,t)},l.Xe=function(t){return Js(this,t)},O(vI,"MapPropertyHolder",134),M(1299,134,l6e,Wat),O(gz,"Polyominoes",1299);var H0t=!1,VC,d7e;M(1766,1,Vn,rm),l.td=function(t){Uct(u(t,221))},O(ck,"DepthFirstCompaction/0methodref$compactTree$Type",1766),M(810,1,Vn,ri),l.td=function(t){jXt(this.a,u(t,221))},O(ck,"DepthFirstCompaction/lambda$1$Type",810),M(1767,1,Vn,CUe),l.td=function(t){uan(this.a,this.b,this.c,u(t,221))},O(ck,"DepthFirstCompaction/lambda$2$Type",1767);var UC,g7e;M(65,1,{65:1},OYe),O(ck,"Node",65),M(1250,1,{},Nqe),O(ck,"ScanlineOverlapCheck",1250),M(1251,1,{679:1},JWe),l.Ke=function(t){xUt(this,u(t,440))},O(ck,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),M(1252,1,Ri,Rd),l.ue=function(t,n){return Vin(u(t,65),u(n,65))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ck,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),M(440,1,{440:1},Bpe),l.a=!1,O(ck,"ScanlineOverlapCheck/Timestamp",440),M(1253,1,Ri,cs),l.ue=function(t,n){return kcn(u(t,440),u(n,440))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ck,"ScanlineOverlapCheck/lambda$0$Type",1253),M(550,1,{},Es),O(Klt,"SVGImage",550),M(324,1,{324:1},Lbe),l.Ib=function(){return"("+this.a+so+this.b+so+this.c+")"},O(Klt,"UniqueTriple",324),M(209,1,bb),O(m4,"AbstractLayoutProvider",209),M(1132,209,bb,Ya),l.Ze=function(t,n){var r,i,a,h;switch(Er(n,Wlt,1),this.a=We(gt(jt(t,(H_(),y7e)))),X2(t,hue)&&(a=Hr(jt(t,hue)),r=Dse(Dx(),a),r&&(i=u(Bne(r.f),209),i.Ze(t,Vc(n,1)))),h=new YXe(this.a),this.b=lvn(h,t),u(jt(t,(Jre(),b7e)),481).g){case 0:Cfn(new Ei,this.b),So(t,MG,W(this.b,MG));break;default:Gd()}wvn(h),So(t,w7e,this.b),lr(n)},l.a=0,O(Ylt,"DisCoLayoutProvider",1132),M(1244,1,{},Ei),l.c=!1,l.e=0,l.f=0,O(Ylt,"DisCoPolyominoCompactor",1244),M(561,1,{561:1},wKe),l.b=!0,O(bz,"DCComponent",561),M(394,22,{3:1,35:1,22:1,394:1},gR),l.a=!1;var AG,VI,LG,UI,z0t=Gr(bz,"DCDirection",394,Kr,TJt,hKt),G0t;M(266,134,{3:1,266:1,94:1,134:1},vse),O(bz,"DCElement",266),M(395,1,{395:1},e3e),l.c=0,O(bz,"DCExtension",395),M(755,134,l6e,pHe),O(bz,"DCGraph",755),M(481,22,{3:1,35:1,22:1,481:1},mVe);var lue,p7e=Gr(Jae,h6e,481,Kr,eQt,fKt),q0t;M(854,1,$h,sJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,f6e),Xlt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),v7e),(Dg(),ws)),p7e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,d6e),Xlt),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),gE),Et),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,g6e),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),W1),Xn),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,p6e),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),W1),Xn),sn(jn)))),Nct((new iF,t))};var V0t,b7e,v7e,U0t,K0t;O(Jae,"DisCoMetaDataProvider",854),M(998,1,$h,iF),l.Qe=function(t){Nct(t)};var W0t,hue,Y0t,w7e,MG,fue,m7e,X0t,Q0t,Z0t,J0t,y7e;O(Jae,"DisCoOptions",998),M(999,1,{},uc),l.$e=function(){var t;return t=new Ya,t},l._e=function(t){},O(Jae,"DisCoOptions/DiscoFactory",999),M(562,167,{321:1,167:1,562:1},Dat),l.a=0,l.b=0,l.c=0,l.d=0,O("org.eclipse.elk.alg.disco.structures","DCPolyomino",562);var due,gue,DG;M(1268,1,gi,Ot),l.Mb=function(t){return h2e(t)},O(y4,"ElkGraphComponentsProcessor/lambda$0$Type",1268),M(1269,1,{},im),l.Kb=function(t){return I6(),Jd(u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$1$Type",1269),M(1270,1,gi,Kt),l.Mb=function(t){return hYt(u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$2$Type",1270),M(1271,1,{},id),l.Kb=function(t){return I6(),qp(u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$3$Type",1271),M(1272,1,gi,sm),l.Mb=function(t){return fYt(u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$4$Type",1272),M(1273,1,gi,Ti),l.Mb=function(t){return nZt(this.a,u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$5$Type",1273),M(1274,1,{},ia),l.Kb=function(t){return yXt(this.a,u(t,79))},O(y4,"ElkGraphComponentsProcessor/lambda$6$Type",1274),M(1241,1,{},YXe),l.a=0,O(y4,"ElkGraphTransformer",1241),M(1242,1,{},f3),l.Od=function(t,n){hfn(this,u(t,160),u(n,266))},O(y4,"ElkGraphTransformer/OffsetApplier",1242),M(1243,1,Vn,Ra),l.td=function(t){BVt(this,u(t,8))},O(y4,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),M(753,1,{},s8),O(v6e,w6e,753),M(1232,1,Ri,I2),l.ue=function(t,n){return Qhn(u(t,231),u(n,231))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(v6e,Qlt,1232),M(740,209,bb,Hge),l.Ze=function(t,n){Nat(this,t,n)},O(v6e,"ForceLayoutProvider",740),M(357,134,{3:1,357:1,94:1,134:1}),O(wI,"FParticle",357),M(559,357,{3:1,559:1,357:1,94:1,134:1},JKe),l.Ib=function(){var t;return this.a?(t=Ko(this.a.a,this,0),t>=0?"b"+t+"["+nre(this.a)+"]":"b["+nre(this.a)+"]"):"b_"+kv(this)},O(wI,"FBendpoint",559),M(282,134,{3:1,282:1,94:1,134:1},WVe),l.Ib=function(){return nre(this)},O(wI,"FEdge",282),M(231,134,{3:1,231:1,94:1,134:1},t$);var rmn=O(wI,"FGraph",231);M(447,357,{3:1,447:1,357:1,94:1,134:1},QXe),l.Ib=function(){return this.b==null||this.b.length==0?"l["+nre(this.a)+"]":"l_"+this.b},O(wI,"FLabel",447),M(144,357,{3:1,144:1,357:1,94:1,134:1},oWe),l.Ib=function(){return ewe(this)},l.b=0,O(wI,"FNode",144),M(2003,1,{}),l.bf=function(t){h5e(this,t)},l.cf=function(){Irt(this)},l.d=0,O(m6e,"AbstractForceModel",2003),M(631,2003,{631:1},zet),l.af=function(t,n){var r,i,a,h,d;return Ast(this.f,t,n),a=pa(fc(n.d),t.d),d=b.Math.sqrt(a.a*a.a+a.b*a.b),i=b.Math.max(0,d-h_(t.e)/2-h_(n.e)/2),r=wtt(this.e,t,n),r>0?h=-hXt(i,this.c)*r:h=rUt(i,this.b)*u(W(t,(r1(),q7)),19).a,fd(a,h/d),a},l.bf=function(t){h5e(this,t),this.a=u(W(t,(r1(),OG)),19).a,this.c=We(gt(W(t,NG))),this.b=We(gt(W(t,bue)))},l.df=function(t){return t<this.a},l.a=0,l.b=0,l.c=0,O(m6e,"EadesModel",631),M(632,2003,{632:1},HUe),l.af=function(t,n){var r,i,a,h,d;return Ast(this.f,t,n),a=pa(fc(n.d),t.d),d=b.Math.sqrt(a.a*a.a+a.b*a.b),i=b.Math.max(0,d-h_(t.e)/2-h_(n.e)/2),h=nUt(i,this.a)*u(W(t,(r1(),q7)),19).a,r=wtt(this.e,t,n),r>0&&(h-=pGt(i,this.a)*r),fd(a,h*this.b/d),a},l.bf=function(t){var n,r,i,a,h,d,v;for(h5e(this,t),this.b=We(gt(W(t,(r1(),vue)))),this.c=this.b/u(W(t,OG),19).a,i=t.e.c.length,h=0,a=0,v=new C(t.e);v.a<v.c.c.length;)d=u(Y(v),144),h+=d.e.a,a+=d.e.b;n=h*a,r=We(gt(W(t,NG)))*H1,this.a=b.Math.sqrt(n/(2*i))*r},l.cf=function(){Irt(this),this.b-=this.c},l.df=function(t){return this.b>0},l.a=0,l.b=0,l.c=0,O(m6e,"FruchtermanReingoldModel",632),M(849,1,$h,aJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vz),""),"Force Model"),"Determines the model for force calculation."),k7e),(Dg(),ws)),x7e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,y6e),""),"Iterations"),"The number of iterations on the force model."),lt(300)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,k6e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,roe),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Ed),Go),ka),sn(jn)))),ma(t,roe,vz,agt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ioe),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Go),ka),sn(jn)))),ma(t,ioe,vz,rgt),Lut((new X9,t))};var egt,tgt,k7e,ngt,rgt,igt,sgt,agt;O(vC,"ForceMetaDataProvider",849),M(424,22,{3:1,35:1,22:1,424:1},jpe);var pue,IG,x7e=Gr(vC,"ForceModelStrategy",424,Kr,QQt,dKt),ogt;M(988,1,$h,X9),l.Qe=function(t){Lut(t)};var cgt,ugt,E7e,OG,T7e,lgt,hgt,fgt,_7e,dgt,C7e,S7e,ggt,q7,pgt,bue,A7e,bgt,vgt,NG,vue;O(vC,"ForceOptions",988),M(989,1,{},fl),l.$e=function(){var t;return t=new Hge,t},l._e=function(t){},O(vC,"ForceOptions/ForceFactory",989);var KI,KC,wk,PG;M(850,1,$h,oJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,E6e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(In(),!1)),(Dg(),qa)),Vs),sn((t1(),ua))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,T6e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Go),ka),Vi(jn,ie(ne(Gg,1),rt,175,0,[Nd]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_6e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),L7e),ws),B7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,C6e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Ed),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,S6e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),lt(xi)),Tc),Ja),sn(jn)))),dut((new cJ,t))};var wgt,mgt,L7e,ygt,kgt,xgt;O(vC,"StressMetaDataProvider",850),M(992,1,$h,cJ),l.Qe=function(t){dut(t)};var BG,M7e,D7e,I7e,O7e,N7e,Egt,Tgt,_gt,Cgt,P7e,Sgt;O(vC,"StressOptions",992),M(993,1,{},Zb),l.$e=function(){var t;return t=new YVe,t},l._e=function(t){},O(vC,"StressOptions/StressFactory",993),M(1128,209,bb,YVe),l.Ze=function(t,n){var r,i,a,h,d;for(Er(n,nht,1),Bt(Nt(jt(t,(OD(),O7e))))?Bt(Nt(jt(t,P7e)))||Rj((r=new ar((xm(),new wm(t))),r)):Nat(new Hge,t,Vc(n,1)),a=ltt(t),i=Ect(this.a,a),d=i.Kc();d.Ob();)h=u(d.Pb(),231),!(h.e.c.length<=1)&&(x2n(this.b,h),e1n(this.b),Su(h.d,new op));a=But(i),Out(a),lr(n)},O(yz,"StressLayoutProvider",1128),M(1129,1,Vn,op),l.td=function(t){w5e(u(t,447))},O(yz,"StressLayoutProvider/lambda$0$Type",1129),M(990,1,{},i$e),l.c=0,l.e=0,l.g=0,O(yz,"StressMajorization",990),M(379,22,{3:1,35:1,22:1,379:1},Uee);var wue,mue,yue,B7e=Gr(yz,"StressMajorization/Dimension",379,Kr,_Zt,gKt),Agt;M(991,1,Ri,Li),l.ue=function(t,n){return qUt(this.a,u(t,144),u(n,144))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(yz,"StressMajorization/lambda$0$Type",991),M(1229,1,{},lXe),O(fk,"ElkLayered",1229),M(1230,1,Vn,I5),l.td=function(t){tfn(u(t,37))},O(fk,"ElkLayered/lambda$0$Type",1230),M(1231,1,Vn,vi),l.td=function(t){VUt(this.a,u(t,37))},O(fk,"ElkLayered/lambda$1$Type",1231),M(1263,1,{},Bqe);var Lgt,Mgt,Dgt;O(fk,"GraphConfigurator",1263),M(759,1,Vn,Ts),l.td=function(t){$it(this.a,u(t,10))},O(fk,"GraphConfigurator/lambda$0$Type",759),M(760,1,{},f9),l.Kb=function(t){return p3e(),new mn(null,new kn(u(t,29).a,16))},O(fk,"GraphConfigurator/lambda$1$Type",760),M(761,1,Vn,Wi),l.td=function(t){$it(this.a,u(t,10))},O(fk,"GraphConfigurator/lambda$2$Type",761),M(1127,209,bb,o$e),l.Ze=function(t,n){var r;r=Gpn(new d$e,t),$e(jt(t,(mt(),My)))===$e((R0(),qg))?ksn(this.a,r,n):vfn(this.a,r,n),Aut(new lJ,r)},O(fk,"LayeredLayoutProvider",1127),M(356,22,{3:1,35:1,22:1,356:1},tM);var Dd,i2,fu,Yc,zo,F7e=Gr(fk,"LayeredPhases",356,Kr,cen,pKt),Igt;M(1651,1,{},YJe),l.i=0;var Ogt;O(kI,"ComponentsToCGraphTransformer",1651);var Ngt;M(1652,1,{},d9),l.ef=function(t,n){return b.Math.min(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},l.ff=function(t,n){return b.Math.min(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},O(kI,"ComponentsToCGraphTransformer/1",1652),M(81,1,{81:1}),l.i=0,l.k=!0,l.o=Ds;var kue=O(yC,"CNode",81);M(460,81,{460:1,81:1},$2e,Hye),l.Ib=function(){return""},O(kI,"ComponentsToCGraphTransformer/CRectNode",460),M(1623,1,{},p1);var xue,Eue;O(kI,"OneDimensionalComponentsCompaction",1623),M(1624,1,{},Jb),l.Kb=function(t){return bZt(u(t,46))},l.Fb=function(t){return this===t},O(kI,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),M(1625,1,{},b1),l.Kb=function(t){return Lsn(u(t,46))},l.Fb=function(t){return this===t},O(kI,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),M(1654,1,{},aWe),O(yC,"CGraph",1654),M(189,1,{189:1},xie),l.b=0,l.c=0,l.e=0,l.g=!0,l.i=Ds,O(yC,"CGroup",189),M(1653,1,{},x0),l.ef=function(t,n){return b.Math.max(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},l.ff=function(t,n){return b.Math.max(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},O(yC,Mlt,1653),M(1655,1,{},Hst),l.d=!1;var Pgt,Tue=O(yC,Olt,1655);M(1656,1,{},Fu),l.Kb=function(t){return Cpe(),In(),u(u(t,46).a,81).d.e!=0},l.Fb=function(t){return this===t},O(yC,Nlt,1656),M(823,1,{},Xbe),l.a=!1,l.b=!1,l.c=!1,l.d=!1,O(yC,Plt,823),M(1825,1,{},TKe),O(kz,Blt,1825);var WI=rs(wb,Alt);M(1826,1,{369:1},tYe),l.Ke=function(t){l0n(this,u(t,466))},O(kz,Flt,1826),M(1827,1,Ri,g3),l.ue=function(t,n){return lQt(u(t,81),u(n,81))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(kz,Rlt,1827),M(466,1,{466:1},Hpe),l.a=!1,O(kz,jlt,466),M(1828,1,Ri,Jo),l.ue=function(t,n){return xcn(u(t,466),u(n,466))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(kz,$lt,1828),M(140,1,{140:1},X8,Vbe),l.Fb=function(t){var n;return t==null||imn!=pl(t)?!1:(n=u(t,140),zc(this.c,n.c)&&zc(this.d,n.d))},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[this.c,this.d]))},l.Ib=function(){return"("+this.c+so+this.d+(this.a?"cx":"")+this.b+")"},l.a=!0,l.c=0,l.d=0;var imn=O(wb,"Point",140);M(405,22,{3:1,35:1,22:1,405:1},vR);var bw,xy,D4,Ey,Bgt=Gr(wb,"Point/Quadrant",405,Kr,CJt,bKt),Fgt;M(1642,1,{},c$e),l.b=null,l.c=null,l.d=null,l.e=null,l.f=null;var Rgt,jgt,$gt,Hgt,zgt;O(wb,"RectilinearConvexHull",1642),M(574,1,{369:1},fH),l.Ke=function(t){utn(this,u(t,140))},l.b=0;var R7e;O(wb,"RectilinearConvexHull/MaximalElementsEventHandler",574),M(1644,1,Ri,cp),l.ue=function(t,n){return JXt(gt(t),gt(n))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),M(1643,1,{369:1},wJe),l.Ke=function(t){Edn(this,u(t,140))},l.a=0,l.b=null,l.c=null,l.d=null,l.e=null,O(wb,"RectilinearConvexHull/RectangleEventHandler",1643),M(1645,1,Ri,d3),l.ue=function(t,n){return nJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$0$Type",1645),M(1646,1,Ri,O5),l.ue=function(t,n){return rJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$1$Type",1646),M(1647,1,Ri,up),l.ue=function(t,n){return sJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$2$Type",1647),M(1648,1,Ri,O2),l.ue=function(t,n){return iJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$3$Type",1648),M(1649,1,Ri,CW),l.ue=function(t,n){return oln(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$4$Type",1649),M(1650,1,{},IYe),O(wb,"Scanline",1650),M(2005,1,{}),O(Td,"AbstractGraphPlacer",2005),M(325,1,{325:1},TVe),l.mf=function(t){return this.nf(t)?(an(this.b,u(W(t,(nt(),_y)),21),t),!0):!1},l.nf=function(t){var n,r,i,a;for(n=u(W(t,(nt(),_y)),21),a=u(Oi(ji,n),21),i=a.Kc();i.Ob();)if(r=u(i.Pb(),21),!u(Oi(this.b,r),15).dc())return!1;return!0};var ji;O(Td,"ComponentGroup",325),M(765,2005,{},Vge),l.of=function(t){var n,r;for(r=new C(this.a);r.a<r.c.c.length;)if(n=u(Y(r),325),n.mf(t))return;st(this.a,new TVe(t))},l.lf=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K;if(this.a.c=Ie(Xn,_t,1,0,5,1),n.a.c=Ie(Xn,_t,1,0,5,1),t.dc()){n.f.a=0,n.f.b=0;return}for(d=u(t.Xb(0),37),$o(n,d),a=t.Kc();a.Ob();)i=u(a.Pb(),37),this.of(i);for(K=new $a,h=We(gt(W(d,(mt(),cO)))),T=new C(this.a);T.a<T.c.c.length;)v=u(Y(T),325),L=qut(v,h),xg(Tj(v.b),K.a,K.b),K.a+=L.a,K.b+=L.b;if(n.f.a=K.a-h,n.f.b=K.b-h,Bt(Nt(W(d,xq)))&&$e(W(d,W0))===$e(($0(),wE))){for(q=t.Kc();q.Ob();)P=u(q.Pb(),37),tC(P,P.c.a,P.c.b);for(r=new g9,R5e(r,t,h),z=t.Kc();z.Ob();)P=u(z.Pb(),37),Ni(Yf(P.c),r.e);Ni(Yf(n.f),r.a)}for(x=new C(this.a);x.a<x.c.c.length;)v=u(Y(x),325),Rwe(n,Tj(v.b))},O(Td,"ComponentGroupGraphPlacer",765),M(1293,765,{},y$e),l.of=function(t){Qtt(this,t)},l.lf=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(this.a.c=Ie(Xn,_t,1,0,5,1),n.a.c=Ie(Xn,_t,1,0,5,1),t.dc()){n.f.a=0,n.f.b=0;return}for(d=u(t.Xb(0),37),$o(n,d),a=t.Kc();a.Ob();)i=u(a.Pb(),37),Qtt(this,i);for(Ne=new $a,Te=new $a,Q=new $a,K=new $a,h=We(gt(W(d,(mt(),cO)))),T=new C(this.a);T.a<T.c.c.length;){if(v=u(Y(T),325),Sp(u(W(n,(di(),Lw)),103))){for(Q.a=Ne.a,Se=new pT(l_(mne(v.b).a).a.kc());Se.b.Ob();)if(ue=u(lR(Se.b.Pb()),21),ue.Hc((dt(),Ln))){Q.a=Te.a;break}}else if(Z8(u(W(n,Lw),103))){for(Q.b=Ne.b,Se=new pT(l_(mne(v.b).a).a.kc());Se.b.Ob();)if(ue=u(lR(Se.b.Pb()),21),ue.Hc((dt(),On))){Q.b=Te.b;break}}if(L=qut(u(v,570),h),xg(Tj(v.b),Q.a,Q.b),Sp(u(W(n,Lw),103))){for(Te.a=Q.a+L.a,K.a=b.Math.max(K.a,Te.a),Se=new pT(l_(mne(v.b).a).a.kc());Se.b.Ob();)if(ue=u(lR(Se.b.Pb()),21),ue.Hc((dt(),Tr))){Ne.a=Q.a+L.a;break}Te.b=Q.b+L.b,Q.b=Te.b,K.b=b.Math.max(K.b,Q.b)}else if(Z8(u(W(n,Lw),103))){for(Te.b=Q.b+L.b,K.b=b.Math.max(K.b,Te.b),Se=new pT(l_(mne(v.b).a).a.kc());Se.b.Ob();)if(ue=u(lR(Se.b.Pb()),21),ue.Hc((dt(),$n))){Ne.b=Q.b+L.b;break}Te.a=Q.a+L.a,Q.a=Te.a,K.a=b.Math.max(K.a,Q.a)}}if(n.f.a=K.a-h,n.f.b=K.b-h,Bt(Nt(W(d,xq)))&&$e(W(d,W0))===$e(($0(),wE))){for(q=t.Kc();q.Ob();)P=u(q.Pb(),37),tC(P,P.c.a,P.c.b);for(r=new g9,R5e(r,t,h),z=t.Kc();z.Ob();)P=u(z.Pb(),37),Ni(Yf(P.c),r.e);Ni(Yf(n.f),r.a)}for(x=new C(this.a);x.a<x.c.c.length;)v=u(Y(x),325),Rwe(n,Tj(v.b))},O(Td,"ComponentGroupModelOrderGraphPlacer",1293),M(423,22,{3:1,35:1,22:1,423:1},Kee);var _ue,j7e,I4,$7e=Gr(Td,"ComponentOrderingStrategy",423,Kr,TZt,vKt),Ggt;M(650,1,{},g9),O(Td,"ComponentsCompactor",650),M(1468,12,klt,CQe),l.Fc=function(t){return K_(this,u(t,140))},O(Td,"ComponentsCompactor/Hullpoints",1468),M(1465,1,{841:1},drt),l.a=!1,O(Td,"ComponentsCompactor/InternalComponent",1465),M(1464,1,t0,u$e),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new C(this.a)},O(Td,"ComponentsCompactor/InternalConnectedComponents",1464),M(1467,1,{594:1},Gst),l.hf=function(){return null},l.jf=function(){return this.a},l.gf=function(){return Cie(this.d)},l.kf=function(){return this.b},O(Td,"ComponentsCompactor/InternalExternalExtension",1467),M(1466,1,{594:1},f$e),l.jf=function(){return this.a},l.gf=function(){return Cie(this.d)},l.hf=function(){return this.c},l.kf=function(){return this.b},O(Td,"ComponentsCompactor/InternalUnionExternalExtension",1466),M(1470,1,{},oot),O(Td,"ComponentsCompactor/OuterSegments",1470),M(1469,1,{},l$e),O(Td,"ComponentsCompactor/Segments",1469),M(1264,1,{},nYe),O(Td,w6e,1264),M(1265,1,Ri,SW),l.ue=function(t,n){return cJt(u(t,37),u(n,37))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Td,"ComponentsProcessor/lambda$0$Type",1265),M(570,325,{325:1,570:1},_Qe),l.mf=function(t){return Vme(this,t)},l.nf=function(t){return Hat(this,t)};var ei;O(Td,"ModelOrderComponentGroup",570),M(1291,2005,{},EP),l.lf=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;if(t.gc()==1){Ne=u(t.Xb(0),37),Ne!=n&&(n.a.c=Ie(Xn,_t,1,0,5,1),Uot(n,Ne,0,0),$o(n,Ne),jve(n.d,Ne.d),n.f.a=Ne.f.a,n.f.b=Ne.f.b);return}else if(t.dc()){n.a.c=Ie(Xn,_t,1,0,5,1),n.f.a=0,n.f.b=0;return}if($e(W(n,(mt(),Ak)))===$e((Vv(),I4))){for(x=t.Kc();x.Ob();){for(d=u(x.Pb(),37),Se=0,Q=new C(d.a);Q.a<Q.c.c.length;)K=u(Y(Q),10),Se+=u(W(K,Kbt),19).a;d.p=Se}fn(),t.ad(new zf)}for(h=u(t.Xb(0),37),n.a.c=Ie(Xn,_t,1,0,5,1),$o(n,h),q=0,Ke=0,T=t.Kc();T.Ob();)d=u(T.Pb(),37),Te=d.f,q=b.Math.max(q,Te.a),Ke+=Te.a*Te.b;for(q=b.Math.max(q,b.Math.sqrt(Ke)*We(gt(W(n,kq)))),a=We(gt(W(n,cO))),it=0,kt=0,z=0,r=a,v=t.Kc();v.Ob();)d=u(v.Pb(),37),Te=d.f,it+Te.a>q&&(it=0,kt+=z+a,z=0),ue=d.c,tC(d,it+ue.a,kt+ue.b),Yf(ue),r=b.Math.max(r,it+Te.a),z=b.Math.max(z,Te.b),it+=Te.a+a;if(n.f.a=r,n.f.b=kt+z,Bt(Nt(W(h,xq)))){for(i=new g9,R5e(i,t,a),P=t.Kc();P.Ob();)L=u(P.Pb(),37),Ni(Yf(L.c),i.e);Ni(Yf(n.f),i.a)}Rwe(n,t)},O(Td,"SimpleRowGraphPlacer",1291),M(1292,1,Ri,zf),l.ue=function(t,n){return srn(u(t,37),u(n,37))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Td,"SimpleRowGraphPlacer/1",1292);var qgt;M(1262,1,kd,am),l.Lb=function(t){var n;return n=u(W(u(t,243).b,(mt(),Fo)),74),!!n&&n.b!=0},l.Fb=function(t){return this===t},l.Mb=function(t){var n;return n=u(W(u(t,243).b,(mt(),Fo)),74),!!n&&n.b!=0},O(xz,"CompoundGraphPostprocessor/1",1262),M(1261,1,bs,g$e),l.pf=function(t,n){prt(this,u(t,37),n)},O(xz,"CompoundGraphPreprocessor",1261),M(441,1,{441:1},nnt),l.c=!1,O(xz,"CompoundGraphPreprocessor/ExternalPort",441),M(243,1,{243:1},JR),l.Ib=function(){return Dte(this.c)+":"+Fst(this.b)},O(xz,"CrossHierarchyEdge",243),M(763,1,Ri,Ii),l.ue=function(t,n){return Won(this,u(t,243),u(n,243))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xz,"CrossHierarchyEdgeComparator",763),M(299,134,{3:1,299:1,94:1,134:1}),l.p=0,O(su,"LGraphElement",299),M(17,299,{3:1,17:1,299:1,94:1,134:1},Dv),l.Ib=function(){return Fst(this)};var Cue=O(su,"LEdge",17);M(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},ame),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new C(this.b)},l.Ib=function(){return this.b.c.length==0?"G-unlayered"+Vp(this.a):this.a.c.length==0?"G-layered"+Vp(this.b):"G[layerless"+Vp(this.a)+", layers"+Vp(this.b)+"]"};var Vgt=O(su,"LGraph",37),Ugt;M(657,1,{}),l.qf=function(){return this.e.n},l.We=function(t){return W(this.e,t)},l.rf=function(){return this.e.o},l.sf=function(){return this.e.p},l.Xe=function(t){return Js(this.e,t)},l.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},l.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},l.vf=function(t){this.e.p=t},O(su,"LGraphAdapters/AbstractLShapeAdapter",657),M(577,1,{839:1},es),l.wf=function(){var t,n;if(!this.b)for(this.b=qd(this.a.b.c.length),n=new C(this.a.b);n.a<n.c.c.length;)t=u(Y(n),70),st(this.b,new to(t));return this.b},l.b=null,O(su,"LGraphAdapters/LEdgeAdapter",577),M(656,1,{},Cne),l.xf=function(){var t,n,r,i,a,h;if(!this.b){for(this.b=new at,i=new C(this.a.b);i.a<i.c.c.length;)for(r=u(Y(i),29),h=new C(r.a);h.a<h.c.c.length;)if(a=u(Y(h),10),this.c.Mb(a)&&(st(this.b,new ej(this,a,this.e)),this.d)){if(Js(a,(nt(),Sk)))for(n=u(W(a,Sk),15).Kc();n.Ob();)t=u(n.Pb(),10),st(this.b,new ej(this,t,!1));if(Js(a,xk))for(n=u(W(a,xk),15).Kc();n.Ob();)t=u(n.Pb(),10),st(this.b,new ej(this,t,!1))}}return this.b},l.qf=function(){throw ee(new fg(sht))},l.We=function(t){return W(this.a,t)},l.rf=function(){return this.a.f},l.sf=function(){return this.a.p},l.Xe=function(t){return Js(this.a,t)},l.tf=function(t){throw ee(new fg(sht))},l.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},l.vf=function(t){this.a.p=t},l.b=null,l.d=!1,l.e=!1,O(su,"LGraphAdapters/LGraphAdapter",656),M(576,657,{181:1},to),O(su,"LGraphAdapters/LLabelAdapter",576),M(575,657,{680:1},ej),l.yf=function(){return this.b},l.zf=function(){return fn(),fn(),bo},l.wf=function(){var t,n;if(!this.a)for(this.a=qd(u(this.e,10).b.c.length),n=new C(u(this.e,10).b);n.a<n.c.c.length;)t=u(Y(n),70),st(this.a,new to(t));return this.a},l.Af=function(){var t;return t=u(this.e,10).d,new gbe(t.d,t.c,t.a,t.b)},l.Bf=function(){return fn(),fn(),bo},l.Cf=function(){var t,n;if(!this.c)for(this.c=qd(u(this.e,10).j.c.length),n=new C(u(this.e,10).j);n.a<n.c.c.length;)t=u(Y(n),11),st(this.c,new sGe(t,this.d));return this.c},l.Df=function(){return Bt(Nt(W(u(this.e,10),(nt(),a9e))))},l.Ef=function(t){u(this.e,10).d.b=t.b,u(this.e,10).d.d=t.d,u(this.e,10).d.c=t.c,u(this.e,10).d.a=t.a},l.Ff=function(t){u(this.e,10).f.b=t.b,u(this.e,10).f.d=t.d,u(this.e,10).f.c=t.c,u(this.e,10).f.a=t.a},l.Gf=function(){Gtn(this,(TT(),Ugt))},l.a=null,l.b=null,l.c=null,l.d=!1,O(su,"LGraphAdapters/LNodeAdapter",575),M(1722,657,{838:1},sGe),l.zf=function(){var t,n,r,i;if(this.d&&u(this.e,11).i.k==(zn(),Xc))return fn(),fn(),bo;if(!this.a){for(this.a=new at,r=new C(u(this.e,11).e);r.a<r.c.c.length;)t=u(Y(r),17),st(this.a,new es(t));if(this.d&&(i=u(W(u(this.e,11),(nt(),ol)),10),i))for(n=new ur(dr(Wo(i).a.Kc(),new V));Vr(n);)t=u(Nr(n),17),st(this.a,new es(t))}return this.a},l.wf=function(){var t,n;if(!this.b)for(this.b=qd(u(this.e,11).f.c.length),n=new C(u(this.e,11).f);n.a<n.c.c.length;)t=u(Y(n),70),st(this.b,new to(t));return this.b},l.Bf=function(){var t,n,r,i;if(this.d&&u(this.e,11).i.k==(zn(),Xc))return fn(),fn(),bo;if(!this.c){for(this.c=new at,r=new C(u(this.e,11).g);r.a<r.c.c.length;)t=u(Y(r),17),st(this.c,new es(t));if(this.d&&(i=u(W(u(this.e,11),(nt(),ol)),10),i))for(n=new ur(dr(Fs(i).a.Kc(),new V));Vr(n);)t=u(Nr(n),17),st(this.c,new es(t))}return this.c},l.Hf=function(){return u(this.e,11).j},l.If=function(){return Bt(Nt(W(u(this.e,11),(nt(),nO))))},l.a=null,l.b=null,l.c=null,l.d=!1,O(su,"LGraphAdapters/LPortAdapter",1722),M(1723,1,Ri,JA),l.ue=function(t,n){return B0n(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(su,"LGraphAdapters/PortComparator",1723),M(804,1,gi,TP),l.Mb=function(t){return u(t,10),TT(),!0},O(su,"LGraphAdapters/lambda$0$Type",804),M(392,299,{3:1,299:1,392:1,94:1,134:1}),O(su,"LShape",392),M(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},wHe,k2e),l.Ib=function(){var t;return t=gYt(this),t==null?"label":"l_"+t},O(su,"LLabel",70),M(207,1,{3:1,4:1,207:1,414:1}),l.Fb=function(t){var n;return me(t,207)?(n=u(t,207),this.d==n.d&&this.a==n.a&&this.b==n.b&&this.c==n.c):!1},l.Hb=function(){var t,n;return t=Q8(this.b)<<16,t|=Q8(this.a)&Ss,n=Q8(this.c)<<16,n|=Q8(this.d)&Ss,t^n},l.Jf=function(t){var n,r,i,a,h,d,v,x,T,L,P;for(h=0;h<t.length&&ztt((zr(h,t.length),t.charCodeAt(h)),oht);)++h;for(n=t.length;n>0&&ztt((zr(n-1,t.length),t.charCodeAt(n-1)),cht);)--n;if(h<n){L=ay(t.substr(h,n-h),",|;");try{for(v=L,x=0,T=v.length;x<T;++x){if(d=v[x],a=ay(d,"="),a.length!=2)throw ee(new Dn("Expecting a list of key-value pairs."));i=ey(a[0]),P=ty(ey(a[1])),on(i,"top")?this.d=P:on(i,"left")?this.b=P:on(i,"bottom")?this.a=P:on(i,"right")&&(this.c=P)}}catch(z){throw z=ts(z),me(z,127)?(r=z,ee(new Dn(uht+r))):ee(z)}}},l.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},l.a=0,l.b=0,l.c=0,l.d=0,O(xI,"Spacing",207),M(142,207,lht,dT,wqe,gbe,qte);var H7e=O(xI,"ElkMargin",142);M(651,142,lht,mee),O(su,"LMargin",651),M(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},H0),l.Ib=function(){return crt(this)},l.i=!1;var c0=O(su,"LNode",10);M(267,22,{3:1,35:1,22:1,267:1},DT);var V1,Ls,Pl,ca,js,Xc,Sue=Gr(su,"LNode/NodeType",267,Kr,Jen,wKt),Kgt;M(116,207,hht,h6,yv,Sbe);var z7e=O(xI,"ElkPadding",116);M(764,116,hht,Wge),O(su,"LPadding",764),M(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},Fc),l.Ib=function(){var t,n,r;return t=new yp,Yr((t.a+="p_",t),xH(this)),this.i&&Yr(kc((t.a+="[",t),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&u(It(this.e,0),17).c!=this&&(n=u(It(this.e,0),17).c,Yr((t.a+=" << ",t),xH(n)),Yr(kc((t.a+="[",t),n.i),"]")),this.e.c.length==0&&this.g.c.length==1&&u(It(this.g,0),17).d!=this&&(r=u(It(this.g,0),17).d,Yr((t.a+=" >> ",t),xH(r)),Yr(kc((t.a+="[",t),r.i),"]")),t.a},l.c=!0,l.d=!1;var G7e,q7e,V7e,U7e,K7e,W7e,Wgt=O(su,"LPort",11);M(397,1,t0,sa),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=new C(this.a.e),new Ws(t)},O(su,"LPort/1",397),M(1290,1,ba,Ws),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(Y(this.a),17).c},l.Ob=function(){return tc(this.a)},l.Qb=function(){u_(this.a)},O(su,"LPort/1/1",1290),M(359,1,t0,Cr),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=new C(this.a.g),new Ye(t)},O(su,"LPort/2",359),M(762,1,ba,Ye),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(Y(this.a),17).d},l.Ob=function(){return tc(this.a)},l.Qb=function(){u_(this.a)},O(su,"LPort/2/1",762),M(1283,1,t0,tGe),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new O1(this)},O(su,"LPort/CombineIter",1283),M(201,1,ba,O1),l.Nb=function(t){La(this,t)},l.Qb=function(){_He()},l.Ob=function(){return ZT(this)},l.Pb=function(){return tc(this.a)?Y(this.a):Y(this.b)},O(su,"LPort/CombineIter/1",201),M(1285,1,kd,lp),l.Lb=function(t){return BKe(t)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).e.c.length!=0},O(su,"LPort/lambda$0$Type",1285),M(1284,1,kd,om),l.Lb=function(t){return FKe(t)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).g.c.length!=0},O(su,"LPort/lambda$1$Type",1284),M(1286,1,kd,AW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),Ln)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),Ln)},O(su,"LPort/lambda$2$Type",1286),M(1287,1,kd,N2),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),$n)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),$n)},O(su,"LPort/lambda$3$Type",1287),M(1288,1,kd,LW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),Tr)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),Tr)},O(su,"LPort/lambda$4$Type",1288),M(1289,1,kd,MW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),On)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),On)},O(su,"LPort/lambda$5$Type",1289),M(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Nh),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new C(this.a)},l.Ib=function(){return"L_"+Ko(this.b.b,this,0)+Vp(this.a)},O(su,"Layer",29),M(1342,1,{},d$e),O(Ng,fht,1342),M(1346,1,{},N5),l.Kb=function(t){return Ho(u(t,82))},O(Ng,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),M(1349,1,{},p9),l.Kb=function(t){return Ho(u(t,82))},O(Ng,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),M(1343,1,Vn,Pn),l.td=function(t){Qst(this.a,u(t,118))},O(Ng,dht,1343),M(1344,1,Vn,Dr),l.td=function(t){Qst(this.a,u(t,118))},O(Ng,ght,1344),M(1345,1,{},_P),l.Kb=function(t){return new mn(null,new kn(WXt(u(t,79)),16))},O(Ng,pht,1345),M(1347,1,gi,or),l.Mb=function(t){return Yqt(this.a,u(t,33))},O(Ng,bht,1347),M(1348,1,{},a8),l.Kb=function(t){return new mn(null,new kn(YXt(u(t,79)),16))},O(Ng,"ElkGraphImporter/lambda$5$Type",1348),M(1350,1,gi,cr),l.Mb=function(t){return Xqt(this.a,u(t,33))},O(Ng,"ElkGraphImporter/lambda$7$Type",1350),M(1351,1,gi,DW),l.Mb=function(t){return fQt(u(t,79))},O(Ng,"ElkGraphImporter/lambda$8$Type",1351),M(1278,1,{},lJ);var Ygt;O(Ng,"ElkGraphLayoutTransferrer",1278),M(1279,1,gi,Ua),l.Mb=function(t){return RUt(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),M(1280,1,Vn,qr),l.td=function(t){QL(),st(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),M(1281,1,gi,ns),l.Mb=function(t){return EUt(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),M(1282,1,Vn,qo),l.td=function(t){QL(),st(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),M(1485,1,bs,o8),l.pf=function(t,n){_nn(u(t,37),n)},O(Bn,"CommentNodeMarginCalculator",1485),M(1486,1,{},IW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"CommentNodeMarginCalculator/lambda$0$Type",1486),M(1487,1,Vn,OW),l.td=function(t){s2n(u(t,10))},O(Bn,"CommentNodeMarginCalculator/lambda$1$Type",1487),M(1488,1,bs,NW),l.pf=function(t,n){w0n(u(t,37),n)},O(Bn,"CommentPostprocessor",1488),M(1489,1,bs,PW),l.pf=function(t,n){_vn(u(t,37),n)},O(Bn,"CommentPreprocessor",1489),M(1490,1,bs,BW),l.pf=function(t,n){H1n(u(t,37),n)},O(Bn,"ConstraintsPostprocessor",1490),M(1491,1,bs,FW),l.pf=function(t,n){Wnn(u(t,37),n)},O(Bn,"EdgeAndLayerConstraintEdgeReverser",1491),M(1492,1,bs,RW),l.pf=function(t,n){Bsn(u(t,37),n)},O(Bn,"EndLabelPostprocessor",1492),M(1493,1,{},jW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelPostprocessor/lambda$0$Type",1493),M(1494,1,gi,$W),l.Mb=function(t){return MQt(u(t,10))},O(Bn,"EndLabelPostprocessor/lambda$1$Type",1494),M(1495,1,Vn,HW),l.td=function(t){Ecn(u(t,10))},O(Bn,"EndLabelPostprocessor/lambda$2$Type",1495),M(1496,1,bs,zW),l.pf=function(t,n){fhn(u(t,37),n)},O(Bn,"EndLabelPreprocessor",1496),M(1497,1,{},eL),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelPreprocessor/lambda$0$Type",1497),M(1498,1,Vn,SUe),l.td=function(t){fqt(this.a,this.b,this.c,u(t,10))},l.a=0,l.b=0,l.c=!1,O(Bn,"EndLabelPreprocessor/lambda$1$Type",1498),M(1499,1,gi,GW),l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),vE))},O(Bn,"EndLabelPreprocessor/lambda$2$Type",1499),M(1500,1,Vn,Hc),l.td=function(t){oi(this.a,u(t,70))},O(Bn,"EndLabelPreprocessor/lambda$3$Type",1500),M(1501,1,gi,qW),l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),$y))},O(Bn,"EndLabelPreprocessor/lambda$4$Type",1501),M(1502,1,Vn,uo),l.td=function(t){oi(this.a,u(t,70))},O(Bn,"EndLabelPreprocessor/lambda$5$Type",1502),M(1551,1,bs,uJ),l.pf=function(t,n){qin(u(t,37),n)};var Xgt;O(Bn,"EndLabelSorter",1551),M(1552,1,Ri,b9),l.ue=function(t,n){return yan(u(t,456),u(n,456))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"EndLabelSorter/1",1552),M(456,1,{456:1},KWe),O(Bn,"EndLabelSorter/LabelGroup",456),M(1553,1,{},CP),l.Kb=function(t){return ZL(),new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelSorter/lambda$0$Type",1553),M(1554,1,gi,P5),l.Mb=function(t){return ZL(),u(t,10).k==(zn(),js)},O(Bn,"EndLabelSorter/lambda$1$Type",1554),M(1555,1,Vn,VW),l.td=function(t){Eln(u(t,10))},O(Bn,"EndLabelSorter/lambda$2$Type",1555),M(1556,1,gi,UW),l.Mb=function(t){return ZL(),$e(W(u(t,70),(mt(),Od)))===$e((N1(),$y))},O(Bn,"EndLabelSorter/lambda$3$Type",1556),M(1557,1,gi,KW),l.Mb=function(t){return ZL(),$e(W(u(t,70),(mt(),Od)))===$e((N1(),vE))},O(Bn,"EndLabelSorter/lambda$4$Type",1557),M(1503,1,bs,WW),l.pf=function(t,n){b2n(this,u(t,37))},l.b=0,l.c=0,O(Bn,"FinalSplineBendpointsCalculator",1503),M(1504,1,{},YW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),M(1505,1,{},v9),l.Kb=function(t){return new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Bn,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),M(1506,1,gi,tL),l.Mb=function(t){return!no(u(t,17))},O(Bn,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),M(1507,1,gi,SP),l.Mb=function(t){return Js(u(t,17),(nt(),Sb))},O(Bn,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),M(1508,1,Vn,Ac),l.td=function(t){Lgn(this.a,u(t,128))},O(Bn,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),M(1509,1,Vn,p3),l.td=function(t){use(u(t,17).a)},O(Bn,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),M(792,1,bs,ja),l.pf=function(t,n){ubn(this,u(t,37),n)},O(Bn,"GraphTransformer",792),M(511,22,{3:1,35:1,22:1,511:1},$pe);var Aue,YI,Qgt=Gr(Bn,"GraphTransformer/Mode",511,Kr,ZQt,MWt),Zgt;M(1510,1,bs,b3),l.pf=function(t,n){jdn(u(t,37),n)},O(Bn,"HierarchicalNodeResizingProcessor",1510),M(1511,1,bs,XW),l.pf=function(t,n){ynn(u(t,37),n)},O(Bn,"HierarchicalPortConstraintProcessor",1511),M(1512,1,Ri,hf),l.ue=function(t,n){return Dan(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortConstraintProcessor/NodeComparator",1512),M(1513,1,bs,B5),l.pf=function(t,n){$pn(u(t,37),n)},O(Bn,"HierarchicalPortDummySizeProcessor",1513),M(1514,1,bs,QW),l.pf=function(t,n){F0n(this,u(t,37),n)},l.a=0,O(Bn,"HierarchicalPortOrthogonalEdgeRouter",1514),M(1515,1,Ri,c8),l.ue=function(t,n){return zVt(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortOrthogonalEdgeRouter/1",1515),M(1516,1,Ri,jd),l.ue=function(t,n){return ntn(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortOrthogonalEdgeRouter/2",1516),M(1517,1,bs,ZW),l.pf=function(t,n){cln(u(t,37),n)},O(Bn,"HierarchicalPortPositionProcessor",1517),M(1518,1,bs,hJ),l.pf=function(t,n){rwn(this,u(t,37))},l.a=0,l.c=0;var FG,RG;O(Bn,"HighDegreeNodeLayeringProcessor",1518),M(571,1,{571:1},JW),l.b=-1,l.d=-1,O(Bn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),M(1519,1,{},eY),l.Kb=function(t){return TM(),Wo(u(t,10))},l.Fb=function(t){return this===t},O(Bn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),M(1520,1,{},tY),l.Kb=function(t){return TM(),Fs(u(t,10))},l.Fb=function(t){return this===t},O(Bn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),M(1526,1,bs,w9),l.pf=function(t,n){gpn(this,u(t,37),n)},O(Bn,"HyperedgeDummyMerger",1526),M(793,1,{},Mbe),l.a=!1,l.b=!1,l.c=!1,O(Bn,"HyperedgeDummyMerger/MergeState",793),M(1527,1,{},nL),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"HyperedgeDummyMerger/lambda$0$Type",1527),M(1528,1,{},AP),l.Kb=function(t){return new mn(null,new kn(u(t,10).j,16))},O(Bn,"HyperedgeDummyMerger/lambda$1$Type",1528),M(1529,1,Vn,rL),l.td=function(t){u(t,11).p=-1},O(Bn,"HyperedgeDummyMerger/lambda$2$Type",1529),M(1530,1,bs,F5),l.pf=function(t,n){fpn(u(t,37),n)},O(Bn,"HypernodesProcessor",1530),M(1531,1,bs,nY),l.pf=function(t,n){dpn(u(t,37),n)},O(Bn,"InLayerConstraintProcessor",1531),M(1532,1,bs,LP),l.pf=function(t,n){Gnn(u(t,37),n)},O(Bn,"InnermostNodeMarginCalculator",1532),M(1533,1,bs,MP),l.pf=function(t,n){yvn(this,u(t,37))},l.a=Ds,l.b=Ds,l.c=ps,l.d=ps;var smn=O(Bn,"InteractiveExternalPortPositioner",1533);M(1534,1,{},rY),l.Kb=function(t){return u(t,17).d.i},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$0$Type",1534),M(1535,1,{},lo),l.Kb=function(t){return VVt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$1$Type",1535),M(1536,1,{},iY),l.Kb=function(t){return u(t,17).c.i},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$2$Type",1536),M(1537,1,{},_l),l.Kb=function(t){return UVt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$3$Type",1537),M(1538,1,{},Uf),l.Kb=function(t){return PUt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$4$Type",1538),M(1539,1,{},pp),l.Kb=function(t){return BUt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$5$Type",1539),M(77,22,{3:1,35:1,22:1,77:1,234:1},Cs),l.Kf=function(){switch(this.g){case 15:return new yX;case 22:return new kX;case 47:return new TX;case 28:case 35:return new v3;case 32:return new o8;case 42:return new NW;case 1:return new PW;case 41:return new BW;case 56:return new ja((Ix(),YI));case 0:return new ja((Ix(),Aue));case 2:return new FW;case 54:return new RW;case 33:return new zW;case 51:return new WW;case 55:return new b3;case 13:return new XW;case 38:return new B5;case 44:return new QW;case 40:return new ZW;case 9:return new hJ;case 49:return new dVe;case 37:return new w9;case 43:return new F5;case 27:return new nY;case 30:return new LP;case 3:return new MP;case 18:return new aY;case 29:return new oY;case 5:return new sF;case 50:return new sY;case 34:return new fJ;case 36:return new u8;case 52:return new uJ;case 11:return new cm;case 7:return new gJ;case 39:return new l8;case 45:return new hY;case 16:return new m9;case 10:return new sd;case 48:return new sL;case 21:return new h8;case 23:return new Lee((zv(),pS));case 8:return new NP;case 12:return new oL;case 4:return new dY;case 19:return new Q9;case 17:return new wY;case 53:return new mY;case 6:return new HP;case 25:return new v$e;case 46:return new EY;case 31:return new QVe;case 14:return new uL;case 26:return new SX;case 20:return new DY;case 24:return new Lee((zv(),zq));default:throw ee(new Dn(uoe+(this.f!=null?this.f:""+this.g)))}};var Y7e,X7e,Q7e,Z7e,J7e,eEe,tEe,nEe,rEe,iEe,WC,jG,$G,sEe,aEe,oEe,cEe,uEe,lEe,hEe,YC,fEe,dEe,gEe,pEe,bEe,Lue,HG,zG,vEe,GG,qG,VG,V7,U7,K7,wEe,UG,KG,mEe,WG,YG,yEe,kEe,xEe,EEe,XG,Mue,XI,QG,ZG,JG,eq,TEe,_Ee,CEe,SEe,amn=Gr(Bn,L6e,77,Kr,Gat,LWt),Jgt;M(1540,1,bs,aY),l.pf=function(t,n){xvn(u(t,37),n)},O(Bn,"InvertedPortProcessor",1540),M(1541,1,bs,oY),l.pf=function(t,n){xgn(u(t,37),n)},O(Bn,"LabelAndNodeSizeProcessor",1541),M(1542,1,gi,cY),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),M(1543,1,gi,$d),l.Mb=function(t){return u(t,10).k==(zn(),Ls)},O(Bn,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),M(1544,1,Vn,AUe),l.td=function(t){dqt(this.b,this.a,this.c,u(t,10))},l.a=!1,l.c=!1,O(Bn,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),M(1545,1,bs,sF),l.pf=function(t,n){Ubn(u(t,37),n)};var ept;O(Bn,"LabelDummyInserter",1545),M(1546,1,kd,ev),l.Lb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),bE))},l.Fb=function(t){return this===t},l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),bE))},O(Bn,"LabelDummyInserter/1",1546),M(1547,1,bs,sY),l.pf=function(t,n){W2n(u(t,37),n)},O(Bn,"LabelDummyRemover",1547),M(1548,1,gi,uY),l.Mb=function(t){return Bt(Nt(W(u(t,70),(mt(),wle))))},O(Bn,"LabelDummyRemover/lambda$0$Type",1548),M(1359,1,bs,fJ),l.pf=function(t,n){Ebn(this,u(t,37),n)},l.a=null;var Due;O(Bn,"LabelDummySwitcher",1359),M(286,1,{286:1},Hot),l.c=0,l.d=null,l.f=0,O(Bn,"LabelDummySwitcher/LabelDummyInfo",286),M(1360,1,{},DP),l.Kb=function(t){return G6(),new mn(null,new kn(u(t,29).a,16))},O(Bn,"LabelDummySwitcher/lambda$0$Type",1360),M(1361,1,gi,IP),l.Mb=function(t){return G6(),u(t,10).k==(zn(),Pl)},O(Bn,"LabelDummySwitcher/lambda$1$Type",1361),M(1362,1,{},hg),l.Kb=function(t){return TUt(this.a,u(t,10))},O(Bn,"LabelDummySwitcher/lambda$2$Type",1362),M(1363,1,Vn,cd),l.td=function(t){EXt(this.a,u(t,286))},O(Bn,"LabelDummySwitcher/lambda$3$Type",1363),M(1364,1,Ri,lY),l.ue=function(t,n){return QYt(u(t,286),u(n,286))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"LabelDummySwitcher/lambda$4$Type",1364),M(791,1,bs,v3),l.pf=function(t,n){Nen(u(t,37),n)},O(Bn,"LabelManagementProcessor",791),M(1549,1,bs,u8),l.pf=function(t,n){s0n(u(t,37),n)},O(Bn,"LabelSideSelector",1549),M(1550,1,gi,iL),l.Mb=function(t){return Bt(Nt(W(u(t,70),(mt(),wle))))},O(Bn,"LabelSideSelector/lambda$0$Type",1550),M(1558,1,bs,cm),l.pf=function(t,n){Hpn(u(t,37),n)},O(Bn,"LayerConstraintPostprocessor",1558),M(1559,1,bs,gJ),l.pf=function(t,n){t1n(u(t,37),n)};var AEe;O(Bn,"LayerConstraintPreprocessor",1559),M(360,22,{3:1,35:1,22:1,360:1},wR);var QI,tq,nq,Iue,tpt=Gr(Bn,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Kr,SJt,yKt),npt;M(1560,1,bs,l8),l.pf=function(t,n){V2n(u(t,37),n)},O(Bn,"LayerSizeAndGraphHeightCalculator",1560),M(1561,1,bs,hY),l.pf=function(t,n){W1n(u(t,37),n)},O(Bn,"LongEdgeJoiner",1561),M(1562,1,bs,m9),l.pf=function(t,n){C2n(u(t,37),n)},O(Bn,"LongEdgeSplitter",1562),M(1563,1,bs,sd),l.pf=function(t,n){Cbn(this,u(t,37),n)},l.d=0,l.e=0,l.i=0,l.j=0,l.k=0,l.n=0,O(Bn,"NodePromotion",1563),M(1564,1,{},OP),l.Kb=function(t){return u(t,46),In(),!0},l.Fb=function(t){return this===t},O(Bn,"NodePromotion/lambda$0$Type",1564),M(1565,1,{},bp),l.Kb=function(t){return qXt(this.a,u(t,46))},l.Fb=function(t){return this===t},l.a=0,O(Bn,"NodePromotion/lambda$1$Type",1565),M(1566,1,{},Kf),l.Kb=function(t){return VXt(this.a,u(t,46))},l.Fb=function(t){return this===t},l.a=0,O(Bn,"NodePromotion/lambda$2$Type",1566),M(1567,1,bs,sL),l.pf=function(t,n){Xvn(u(t,37),n)},O(Bn,"NorthSouthPortPostprocessor",1567),M(1568,1,bs,h8),l.pf=function(t,n){Pvn(u(t,37),n)},O(Bn,"NorthSouthPortPreprocessor",1568),M(1569,1,Ri,aL),l.ue=function(t,n){return lrn(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"NorthSouthPortPreprocessor/lambda$0$Type",1569),M(1570,1,bs,NP),l.pf=function(t,n){Zgn(u(t,37),n)},O(Bn,"PartitionMidprocessor",1570),M(1571,1,gi,fY),l.Mb=function(t){return Js(u(t,10),(mt(),aE))},O(Bn,"PartitionMidprocessor/lambda$0$Type",1571),M(1572,1,Vn,av),l.td=function(t){dQt(this.a,u(t,10))},O(Bn,"PartitionMidprocessor/lambda$1$Type",1572),M(1573,1,bs,oL),l.pf=function(t,n){gdn(u(t,37),n)},O(Bn,"PartitionPostprocessor",1573),M(1574,1,bs,dY),l.pf=function(t,n){Tfn(u(t,37),n)},O(Bn,"PartitionPreprocessor",1574),M(1575,1,gi,gY),l.Mb=function(t){return Js(u(t,10),(mt(),aE))},O(Bn,"PartitionPreprocessor/lambda$0$Type",1575),M(1576,1,{},PP),l.Kb=function(t){return new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Bn,"PartitionPreprocessor/lambda$1$Type",1576),M(1577,1,gi,R5),l.Mb=function(t){return van(u(t,17))},O(Bn,"PartitionPreprocessor/lambda$2$Type",1577),M(1578,1,Vn,BP),l.td=function(t){yrn(u(t,17))},O(Bn,"PartitionPreprocessor/lambda$3$Type",1578),M(1579,1,bs,Q9),l.pf=function(t,n){Bgn(u(t,37),n)};var LEe,rpt,ipt,spt,MEe,DEe;O(Bn,"PortListSorter",1579),M(1580,1,{},j5),l.Kb=function(t){return Gx(),u(t,11).e},O(Bn,"PortListSorter/lambda$0$Type",1580),M(1581,1,{},pY),l.Kb=function(t){return Gx(),u(t,11).g},O(Bn,"PortListSorter/lambda$1$Type",1581),M(1582,1,Ri,cL),l.ue=function(t,n){return JXe(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$2$Type",1582),M(1583,1,Ri,bY),l.ue=function(t,n){return Hon(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$3$Type",1583),M(1584,1,Ri,vY),l.ue=function(t,n){return lct(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$4$Type",1584),M(1585,1,bs,wY),l.pf=function(t,n){Yfn(u(t,37),n)},O(Bn,"PortSideProcessor",1585),M(1586,1,bs,mY),l.pf=function(t,n){X0n(u(t,37),n)},O(Bn,"ReversedEdgeRestorer",1586),M(1591,1,bs,v$e),l.pf=function(t,n){_on(this,u(t,37),n)},O(Bn,"SelfLoopPortRestorer",1591),M(1592,1,{},FP),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopPortRestorer/lambda$0$Type",1592),M(1593,1,gi,yY),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopPortRestorer/lambda$1$Type",1593),M(1594,1,gi,kY),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopPortRestorer/lambda$2$Type",1594),M(1595,1,{},xY),l.Kb=function(t){return u(W(u(t,10),(nt(),rE)),403)},O(Bn,"SelfLoopPortRestorer/lambda$3$Type",1595),M(1596,1,Vn,vm),l.td=function(t){Nln(this.a,u(t,403))},O(Bn,"SelfLoopPortRestorer/lambda$4$Type",1596),M(794,1,Vn,RP),l.td=function(t){Yln(u(t,101))},O(Bn,"SelfLoopPortRestorer/lambda$5$Type",794),M(1597,1,bs,EY),l.pf=function(t,n){Nan(u(t,37),n)},O(Bn,"SelfLoopPostProcessor",1597),M(1598,1,{},TY),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopPostProcessor/lambda$0$Type",1598),M(1599,1,gi,_Y),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopPostProcessor/lambda$1$Type",1599),M(1600,1,gi,jP),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopPostProcessor/lambda$2$Type",1600),M(1601,1,Vn,CY),l.td=function(t){Hcn(u(t,10))},O(Bn,"SelfLoopPostProcessor/lambda$3$Type",1601),M(1602,1,{},SY),l.Kb=function(t){return new mn(null,new kn(u(t,101).f,1))},O(Bn,"SelfLoopPostProcessor/lambda$4$Type",1602),M(1603,1,Vn,o6),l.td=function(t){MJt(this.a,u(t,409))},O(Bn,"SelfLoopPostProcessor/lambda$5$Type",1603),M(1604,1,gi,$P),l.Mb=function(t){return!!u(t,101).i},O(Bn,"SelfLoopPostProcessor/lambda$6$Type",1604),M(1605,1,Vn,_3),l.td=function(t){gGt(this.a,u(t,101))},O(Bn,"SelfLoopPostProcessor/lambda$7$Type",1605),M(1587,1,bs,HP),l.pf=function(t,n){S1n(u(t,37),n)},O(Bn,"SelfLoopPreProcessor",1587),M(1588,1,{},zP),l.Kb=function(t){return new mn(null,new kn(u(t,101).f,1))},O(Bn,"SelfLoopPreProcessor/lambda$0$Type",1588),M(1589,1,{},AY),l.Kb=function(t){return u(t,409).a},O(Bn,"SelfLoopPreProcessor/lambda$1$Type",1589),M(1590,1,Vn,LY),l.td=function(t){mVt(u(t,17))},O(Bn,"SelfLoopPreProcessor/lambda$2$Type",1590),M(1606,1,bs,QVe),l.pf=function(t,n){Tln(this,u(t,37),n)},O(Bn,"SelfLoopRouter",1606),M(1607,1,{},f8),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopRouter/lambda$0$Type",1607),M(1608,1,gi,$5),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopRouter/lambda$1$Type",1608),M(1609,1,gi,y9),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopRouter/lambda$2$Type",1609),M(1610,1,{},MY),l.Kb=function(t){return u(W(u(t,10),(nt(),rE)),403)},O(Bn,"SelfLoopRouter/lambda$3$Type",1610),M(1611,1,Vn,Kze),l.td=function(t){iQt(this.a,this.b,u(t,403))},O(Bn,"SelfLoopRouter/lambda$4$Type",1611),M(1612,1,bs,uL),l.pf=function(t,n){Kdn(u(t,37),n)},O(Bn,"SemiInteractiveCrossMinProcessor",1612),M(1613,1,gi,k9),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),M(1614,1,gi,lL),l.Mb=function(t){return dKe(u(t,10))._b((mt(),Ny))},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),M(1615,1,Ri,GP),l.ue=function(t,n){return xnn(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),M(1616,1,{},qP),l.Ce=function(t,n){return kQt(u(t,10),u(n,10))},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),M(1618,1,bs,DY),l.pf=function(t,n){zpn(u(t,37),n)},O(Bn,"SortByInputModelProcessor",1618),M(1619,1,gi,IY),l.Mb=function(t){return u(t,11).g.c.length!=0},O(Bn,"SortByInputModelProcessor/lambda$0$Type",1619),M(1620,1,Vn,c6),l.td=function(t){ehn(this.a,u(t,11))},O(Bn,"SortByInputModelProcessor/lambda$1$Type",1620),M(1693,803,{},cet),l.Me=function(t){var n,r,i,a;switch(this.c=t,this.a.g){case 2:n=new at,ms(qi(new mn(null,new kn(this.c.a.b,16)),new WP),new Zze(this,n)),$D(this,new UP),Su(n,new NY),n.c=Ie(Xn,_t,1,0,5,1),ms(qi(new mn(null,new kn(this.c.a.b,16)),new PY),new C3(n)),$D(this,new BY),Su(n,new FY),n.c=Ie(Xn,_t,1,0,5,1),r=Dqe(xet(Aj(new mn(null,new kn(this.c.a.b,16)),new Hd(this))),new RY),ms(new mn(null,new kn(this.c.a.a,16)),new Yze(r,n)),$D(this,new jY),Su(n,new OY),n.c=Ie(Xn,_t,1,0,5,1);break;case 3:i=new at,$D(this,new VP),a=Dqe(xet(Aj(new mn(null,new kn(this.c.a.b,16)),new oT(this))),new KP),ms(qi(new mn(null,new kn(this.c.a.b,16)),new $Y),new Qze(a,i)),$D(this,new HY),Su(i,new zY),i.c=Ie(Xn,_t,1,0,5,1);break;default:throw ee(new n$e)}},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation",1693),M(1694,1,kd,VP),l.Lb=function(t){return me(u(t,57).g,145)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),M(1695,1,{},oT),l.Fe=function(t){return Ohn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),M(1703,1,cz,Wze),l.Vd=function(){V_(this.a,this.b,-1)},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),M(1705,1,kd,UP),l.Lb=function(t){return me(u(t,57).g,145)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),M(1706,1,Vn,NY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),M(1707,1,gi,PY),l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),M(1709,1,Vn,C3),l.td=function(t){asn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),M(1708,1,cz,nGe),l.Vd=function(){V_(this.b,this.a,-1)},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),M(1710,1,kd,BY),l.Lb=function(t){return me(u(t,57).g,10)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),M(1711,1,Vn,FY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),M(1712,1,{},Hd),l.Fe=function(t){return Nhn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),M(1713,1,{},RY),l.De=function(){return 0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),M(1696,1,{},KP),l.De=function(){return 0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),M(1715,1,Vn,Yze),l.td=function(t){HYt(this.a,this.b,u(t,307))},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),M(1714,1,cz,Xze),l.Vd=function(){yat(this.a,this.b,-1)},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),M(1716,1,kd,jY),l.Lb=function(t){return u(t,57),!0},l.Fb=function(t){return this===t},l.Mb=function(t){return u(t,57),!0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),M(1717,1,Vn,OY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),M(1697,1,gi,$Y),l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),M(1699,1,Vn,Qze),l.td=function(t){zYt(this.a,this.b,u(t,57))},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),M(1698,1,cz,rGe),l.Vd=function(){V_(this.b,this.a,-1)},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),M(1700,1,kd,HY),l.Lb=function(t){return u(t,57),!0},l.Fb=function(t){return this===t},l.Mb=function(t){return u(t,57),!0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),M(1701,1,Vn,zY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),M(1702,1,gi,WP),l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),M(1704,1,Vn,Zze),l.td=function(t){jtn(this.a,this.b,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),M(1521,1,bs,dVe),l.pf=function(t,n){O2n(this,u(t,37),n)};var apt;O(Is,"HorizontalGraphCompactor",1521),M(1522,1,{},T1),l.Oe=function(t,n){var r,i,a;return Kwe(t,n)||(r=q3(t),i=q3(n),r&&r.k==(zn(),Ls)||i&&i.k==(zn(),Ls))?0:(a=u(W(this.a.a,(nt(),H4)),304),KVt(a,r?r.k:(zn(),ca),i?i.k:(zn(),ca)))},l.Pe=function(t,n){var r,i,a;return Kwe(t,n)?1:(r=q3(t),i=q3(n),a=u(W(this.a.a,(nt(),H4)),304),z2e(a,r?r.k:(zn(),ca),i?i.k:(zn(),ca)))},O(Is,"HorizontalGraphCompactor/1",1522),M(1523,1,{},x9),l.Ne=function(t,n){return _T(),t.a.i==0},O(Is,"HorizontalGraphCompactor/lambda$0$Type",1523),M(1524,1,{},zd),l.Ne=function(t,n){return vQt(this.a,t,n)},O(Is,"HorizontalGraphCompactor/lambda$1$Type",1524),M(1664,1,{},KZe);var opt,cpt;O(Is,"LGraphToCGraphTransformer",1664),M(1672,1,gi,GY),l.Mb=function(t){return t!=null},O(Is,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),M(1665,1,{},qY),l.Kb=function(t){return vf(),Yo(W(u(u(t,57).g,10),(nt(),Mi)))},O(Is,"LGraphToCGraphTransformer/lambda$0$Type",1665),M(1666,1,{},YP),l.Kb=function(t){return vf(),Ztt(u(u(t,57).g,145))},O(Is,"LGraphToCGraphTransformer/lambda$1$Type",1666),M(1675,1,gi,VY),l.Mb=function(t){return vf(),me(u(t,57).g,10)},O(Is,"LGraphToCGraphTransformer/lambda$10$Type",1675),M(1676,1,Vn,UY),l.td=function(t){bQt(u(t,57))},O(Is,"LGraphToCGraphTransformer/lambda$11$Type",1676),M(1677,1,gi,KY),l.Mb=function(t){return vf(),me(u(t,57).g,145)},O(Is,"LGraphToCGraphTransformer/lambda$12$Type",1677),M(1681,1,Vn,WY),l.td=function(t){kin(u(t,57))},O(Is,"LGraphToCGraphTransformer/lambda$13$Type",1681),M(1678,1,Vn,cT),l.td=function(t){Vqt(this.a,u(t,8))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$14$Type",1678),M(1679,1,Vn,F2),l.td=function(t){Kqt(this.a,u(t,110))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$15$Type",1679),M(1680,1,Vn,DF),l.td=function(t){Uqt(this.a,u(t,8))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$16$Type",1680),M(1682,1,{},YY),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$17$Type",1682),M(1683,1,gi,XY),l.Mb=function(t){return vf(),no(u(t,17))},O(Is,"LGraphToCGraphTransformer/lambda$18$Type",1683),M(1684,1,Vn,aee),l.td=function(t){Stn(this.a,u(t,17))},O(Is,"LGraphToCGraphTransformer/lambda$19$Type",1684),M(1668,1,Vn,oee),l.td=function(t){oJt(this.a,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$2$Type",1668),M(1685,1,{},XP),l.Kb=function(t){return vf(),new mn(null,new kn(u(t,29).a,16))},O(Is,"LGraphToCGraphTransformer/lambda$20$Type",1685),M(1686,1,{},QY),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$21$Type",1686),M(1687,1,{},QP),l.Kb=function(t){return vf(),u(W(u(t,17),(nt(),Sb)),15)},O(Is,"LGraphToCGraphTransformer/lambda$22$Type",1687),M(1688,1,gi,ZY),l.Mb=function(t){return YVt(u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$23$Type",1688),M(1689,1,Vn,cee),l.td=function(t){Thn(this.a,u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$24$Type",1689),M(1667,1,Vn,Jze),l.td=function(t){WJt(this.a,this.b,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$3$Type",1667),M(1669,1,{},JY),l.Kb=function(t){return vf(),new mn(null,new kn(u(t,29).a,16))},O(Is,"LGraphToCGraphTransformer/lambda$4$Type",1669),M(1670,1,{},eX),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$5$Type",1670),M(1671,1,{},E9),l.Kb=function(t){return vf(),u(W(u(t,17),(nt(),Sb)),15)},O(Is,"LGraphToCGraphTransformer/lambda$6$Type",1671),M(1673,1,Vn,uee),l.td=function(t){nfn(this.a,u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$8$Type",1673),M(1674,1,Vn,eGe),l.td=function(t){pVt(this.a,this.b,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$9$Type",1674),M(1663,1,{},tX),l.Le=function(t){var n,r,i,a,h;for(this.a=t,this.d=new wee,this.c=Ie(h7e,_t,121,this.a.a.a.c.length,0,1),this.b=0,r=new C(this.a.a.a);r.a<r.c.c.length;)n=u(Y(r),307),n.d=this.b,h=xv(XL(new j2,n),this.d),this.c[this.b]=h,++this.b;for(jbn(this),$vn(this),idn(this),Nse(Vte(this.d),new j8),a=new C(this.a.a.b);a.a<a.c.c.length;)i=u(Y(a),57),i.d.c=this.c[i.a.d].e+i.b.a},l.b=0,O(Is,"NetworkSimplexCompaction",1663),M(145,1,{35:1,145:1},iC),l.wd=function(t){return Dtn(this,u(t,145))},l.Ib=function(){return Ztt(this)},O(Is,"VerticalSegment",145),M(827,1,{},I3e),l.c=0,l.e=0,l.i=0,O(kC,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),M(663,1,{663:1},_et),l.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},l.b=0,l.c=0,l.f=0,O(kC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),M(287,1,{35:1,287:1},kVe),l.wd=function(t){return wYt(this,u(t,287))},l.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},l.a=0,l.b=0,l.c=0,O(kC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),M(1929,1,{},Wit),l.b=0,l.e=!1,O(kC,"CrossingMatrixFiller",1929);var upt=rs(a0,"IInitializable");M(1804,1,EI,oGe),l.Nf=function(t,n,r,i,a,h){},l.Pf=function(t,n,r){},l.Lf=function(){return this.c!=(zv(),pS)},l.Mf=function(){this.e=Ie(Sr,Jr,25,this.d,15,1)},l.Of=function(t,n){n[t][0].c.p=t},l.Qf=function(t,n,r,i){++this.d},l.Rf=function(){return!0},l.Sf=function(t,n,r,i){return Vtt(this,t,n,r),aen(this,n)},l.Tf=function(t,n){var r;return r=GGt(n,t.length),Vtt(this,t,r,n),htt(this,r)},l.d=0,O(kC,"GreedySwitchHeuristic",1804),M(1930,1,{},yKe),l.b=0,l.d=0,O(kC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),M(1917,1,{},_ot),l.a=!1,O(kC,"SwitchDecider",1917),M(101,1,{101:1},nst),l.a=null,l.c=null,l.i=null,O(dk,"SelfHyperLoop",101),M(1916,1,{},trt),l.c=0,l.e=0,O(dk,"SelfHyperLoopLabels",1916),M(411,22,{3:1,35:1,22:1,411:1},mR);var mk,W7,Y7,Oue,lpt=Gr(dk,"SelfHyperLoopLabels/Alignment",411,Kr,AJt,kKt),hpt;M(409,1,{409:1},RQe),O(dk,"SelfLoopEdge",409),M(403,1,{403:1},Knt),l.a=!1,O(dk,"SelfLoopHolder",403),M(1724,1,gi,iB),l.Mb=function(t){return no(u(t,17))},O(dk,"SelfLoopHolder/lambda$0$Type",1724),M(113,1,{113:1},nrt),l.a=!1,l.c=!1,O(dk,"SelfLoopPort",113),M(1792,1,gi,sB),l.Mb=function(t){return no(u(t,17))},O(dk,"SelfLoopPort/lambda$0$Type",1792),M(363,22,{3:1,35:1,22:1,363:1},nM);var rq,iq,sq,aq,oq,fpt=Gr(dk,"SelfLoopType",363,Kr,men,CKt),dpt;M(1732,1,{},vJ);var gpt,ppt,bpt,vpt;O(Ql,"PortRestorer",1732),M(361,22,{3:1,35:1,22:1,361:1},Wee);var vw,s2,ww,Nue=Gr(Ql,"PortRestorer/PortSideArea",361,Kr,MZt,SKt),wpt;M(1733,1,{},w3),l.Kb=function(t){return Up(),u(t,15).Oc()},O(Ql,"PortRestorer/lambda$0$Type",1733),M(1734,1,Vn,iX),l.td=function(t){Up(),u(t,113).c=!1},O(Ql,"PortRestorer/lambda$1$Type",1734),M(1743,1,gi,sX),l.Mb=function(t){return Up(),u(t,11).j==(dt(),On)},O(Ql,"PortRestorer/lambda$10$Type",1743),M(1744,1,{},C9),l.Kb=function(t){return Up(),u(t,113).d},O(Ql,"PortRestorer/lambda$11$Type",1744),M(1745,1,Vn,lee),l.td=function(t){WGt(this.a,u(t,11))},O(Ql,"PortRestorer/lambda$12$Type",1745),M(1735,1,Vn,hee),l.td=function(t){eUt(this.a,u(t,101))},O(Ql,"PortRestorer/lambda$2$Type",1735),M(1736,1,Ri,aX),l.ue=function(t,n){return enn(u(t,113),u(n,113))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ql,"PortRestorer/lambda$3$Type",1736),M(1737,1,gi,oX),l.Mb=function(t){return Up(),u(t,113).c},O(Ql,"PortRestorer/lambda$4$Type",1737),M(1738,1,gi,nX),l.Mb=function(t){return Hnn(u(t,11))},O(Ql,"PortRestorer/lambda$5$Type",1738),M(1739,1,gi,T9),l.Mb=function(t){return Up(),u(t,11).j==(dt(),Ln)},O(Ql,"PortRestorer/lambda$6$Type",1739),M(1740,1,gi,ZP),l.Mb=function(t){return Up(),u(t,11).j==(dt(),$n)},O(Ql,"PortRestorer/lambda$7$Type",1740),M(1741,1,gi,JP),l.Mb=function(t){return LJt(u(t,11))},O(Ql,"PortRestorer/lambda$8$Type",1741),M(1742,1,gi,eB),l.Mb=function(t){return Up(),u(t,11).j==(dt(),Tr)},O(Ql,"PortRestorer/lambda$9$Type",1742),M(270,22,{3:1,35:1,22:1,270:1},D6);var Pue,Bue,Fue,Rue,jue,$ue,Hue,zue,IEe=Gr(Ql,"PortSideAssigner/Target",270,Kr,Utn,xKt),mpt;M(1725,1,{},tB),l.Kb=function(t){return qi(new mn(null,new kn(u(t,101).j,16)),new _9)},O(Ql,"PortSideAssigner/lambda$1$Type",1725),M(1726,1,{},tv),l.Kb=function(t){return u(t,113).d},O(Ql,"PortSideAssigner/lambda$2$Type",1726),M(1727,1,Vn,nB),l.td=function(t){qs(u(t,11),(dt(),Ln))},O(Ql,"PortSideAssigner/lambda$3$Type",1727),M(1728,1,{},rB),l.Kb=function(t){return u(t,113).d},O(Ql,"PortSideAssigner/lambda$4$Type",1728),M(1729,1,Vn,fee),l.td=function(t){eGt(this.a,u(t,11))},O(Ql,"PortSideAssigner/lambda$5$Type",1729),M(1730,1,Ri,rX),l.ue=function(t,n){return MXt(u(t,101),u(n,101))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ql,"PortSideAssigner/lambda$6$Type",1730),M(1731,1,Ri,H5),l.ue=function(t,n){return rYt(u(t,113),u(n,113))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ql,"PortSideAssigner/lambda$7$Type",1731),M(805,1,gi,_9),l.Mb=function(t){return u(t,113).c},O(Ql,"PortSideAssigner/lambda$8$Type",805),M(2009,1,{}),O(Zp,"AbstractSelfLoopRouter",2009),M(1750,1,Ri,cX),l.ue=function(t,n){return KUt(u(t,101),u(n,101))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Zp,Glt,1750),M(1751,1,Ri,uX),l.ue=function(t,n){return UUt(u(t,101),u(n,101))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Zp,qlt,1751),M(1793,2009,{},lX),l.Uf=function(t,n,r){return r},O(Zp,"OrthogonalSelfLoopRouter",1793),M(1795,1,Vn,iGe),l.td=function(t){$ye(this.b,this.a,u(t,8))},O(Zp,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),M(1794,1793,{},hX),l.Uf=function(t,n,r){var i,a;return i=t.c.d,tx(r,0,Ni(fc(i.n),i.a)),a=t.d.d,oi(r,Ni(fc(a.n),a.a)),Kgn(r)},O(Zp,"PolylineSelfLoopRouter",1794),M(1746,1,{},dJ),l.a=null;var O4;O(Zp,"RoutingDirector",1746),M(1747,1,Ri,fX),l.ue=function(t,n){return aYt(u(t,113),u(n,113))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Zp,"RoutingDirector/lambda$0$Type",1747),M(1748,1,{},dX),l.Kb=function(t){return iR(),u(t,101).j},O(Zp,"RoutingDirector/lambda$1$Type",1748),M(1749,1,Vn,gX),l.td=function(t){iR(),u(t,15).ad(O4)},O(Zp,"RoutingDirector/lambda$2$Type",1749),M(1752,1,{},pX),O(Zp,"RoutingSlotAssigner",1752),M(1753,1,gi,B8),l.Mb=function(t){return _qt(this.a,u(t,101))},O(Zp,"RoutingSlotAssigner/lambda$0$Type",1753),M(1754,1,Ri,jL),l.ue=function(t,n){return LYt(this.a,u(t,101),u(n,101))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Zp,"RoutingSlotAssigner/lambda$1$Type",1754),M(1796,1793,{},bX),l.Uf=function(t,n,r){var i,a,h,d;return i=We(gt(hH(t.b.g.b,(mt(),Mk)))),d=new EVe(ie(ne(ea,1),Je,8,0,[(h=t.c.d,Ni(new Do(h.n),h.a))])),A1n(t,n,r,d,i),oi(d,(a=t.d.d,Ni(new Do(a.n),a.a))),vrt(new v5e(d))},O(Zp,"SplineSelfLoopRouter",1796),M(578,1,Ri,wet,GUe),l.ue=function(t,n){return Gut(this,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xC,"ModelOrderNodeComparator",578),M(1755,1,gi,hL),l.Mb=function(t){return u(t,11).e.c.length!=0},O(xC,"ModelOrderNodeComparator/lambda$0$Type",1755),M(1756,1,{},aB),l.Kb=function(t){return u(It(u(t,11).e,0),17).c},O(xC,"ModelOrderNodeComparator/lambda$1$Type",1756),M(1757,1,gi,vX),l.Mb=function(t){return u(t,11).e.c.length!=0},O(xC,"ModelOrderNodeComparator/lambda$2$Type",1757),M(1758,1,{},wX),l.Kb=function(t){return u(It(u(t,11).e,0),17).c},O(xC,"ModelOrderNodeComparator/lambda$3$Type",1758),M(1759,1,gi,mX),l.Mb=function(t){return u(t,11).e.c.length!=0},O(xC,"ModelOrderNodeComparator/lambda$4$Type",1759),M(806,1,Ri,WZe,aGe),l.ue=function(t,n){return RKe(this,t,n)},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xC,"ModelOrderPortComparator",806),M(801,1,{},oB),l.Vf=function(t,n){var r,i,a,h;for(a=qit(n),r=new at,h=n.f/a,i=1;i<a;++i)st(r,lt(Ir(Mu(b.Math.round(i*h)))));return r},l.Wf=function(){return!1},O(_d,"ARDCutIndexHeuristic",801),M(1479,1,bs,yX),l.pf=function(t,n){ugn(u(t,37),n)},O(_d,"BreakingPointInserter",1479),M(305,1,{305:1},lwe),l.Ib=function(){var t;return t=new yp,t.a+="BPInfo[",t.a+=`
- start=`,kc(t,this.i),t.a+=`
- end=`,kc(t,this.a),t.a+=`
- nodeStartEdge=`,kc(t,this.e),t.a+=`
- startEndEdge=`,kc(t,this.j),t.a+=`
- originalEdge=`,kc(t,this.f),t.a+=`
- startInLayerDummy=`,kc(t,this.k),t.a+=`
- startInLayerEdge=`,kc(t,this.n),t.a+=`
- endInLayerDummy=`,kc(t,this.b),t.a+=`
- endInLayerEdge=`,kc(t,this.c),t.a},O(_d,"BreakingPointInserter/BPInfo",305),M(652,1,{652:1},wp),l.a=!1,l.b=0,l.c=0,O(_d,"BreakingPointInserter/Cut",652),M(1480,1,bs,kX),l.pf=function(t,n){j1n(u(t,37),n)},O(_d,"BreakingPointProcessor",1480),M(1481,1,gi,xX),l.Mb=function(t){return dJe(u(t,10))},O(_d,"BreakingPointProcessor/0methodref$isEnd$Type",1481),M(1482,1,gi,EX),l.Mb=function(t){return gJe(u(t,10))},O(_d,"BreakingPointProcessor/1methodref$isStart$Type",1482),M(1483,1,bs,TX),l.pf=function(t,n){cdn(this,u(t,37),n)},O(_d,"BreakingPointRemover",1483),M(1484,1,Vn,_X),l.td=function(t){u(t,128).k=!0},O(_d,"BreakingPointRemover/lambda$0$Type",1484),M(797,1,{},T4e),l.b=0,l.e=0,l.f=0,l.j=0,O(_d,"GraphStats",797),M(798,1,{},cB),l.Ce=function(t,n){return b.Math.max(We(gt(t)),We(gt(n)))},O(_d,"GraphStats/0methodref$max$Type",798),M(799,1,{},uB),l.Ce=function(t,n){return b.Math.max(We(gt(t)),We(gt(n)))},O(_d,"GraphStats/2methodref$max$Type",799),M(1660,1,{},CX),l.Ce=function(t,n){return KWt(gt(t),gt(n))},O(_d,"GraphStats/lambda$1$Type",1660),M(1661,1,{},uT),l.Kb=function(t){return irt(this.a,u(t,29))},O(_d,"GraphStats/lambda$2$Type",1661),M(1662,1,{},IF),l.Kb=function(t){return jat(this.a,u(t,29))},O(_d,"GraphStats/lambda$6$Type",1662),M(800,1,{},lB),l.Vf=function(t,n){var r;return r=u(W(t,(mt(),ATe)),15),r||(fn(),fn(),bo)},l.Wf=function(){return!1},O(_d,"ICutIndexCalculator/ManualCutIndexCalculator",800),M(802,1,{},hB),l.Vf=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Ke=(n.n==null&&Art(n),n.n),x=(n.d==null&&Art(n),n.d),Ne=Ie(va,Ao,25,Ke.length,15,1),Ne[0]=Ke[0],Se=Ke[0],T=1;T<Ke.length;T++)Ne[T]=Ne[T-1]+Ke[T],Se+=Ke[T];for(a=qit(n)-1,d=u(W(t,(mt(),LTe)),19).a,i=Ds,r=new at,z=b.Math.max(0,a-d);z<=b.Math.min(n.f-1,a+d);z++){if(Q=Se/(z+1),ue=0,L=1,h=new at,Te=Ds,P=0,v=0,K=x[0],z==0)Te=Se,v=(n.g==null&&(n.g=yet(n,new uB)),We(n.g));else{for(;L<n.f;)Ne[L-1]-ue>=Q&&(st(h,lt(L)),Te=b.Math.max(Te,Ne[L-1]-P),v+=K,ue+=Ne[L-1]-ue,P=Ne[L-1],K=x[L]),K=b.Math.max(K,x[L]),++L;v+=K}q=b.Math.min(1/Te,1/n.b/v),q>i&&(i=q,r=h)}return r},l.Wf=function(){return!1},O(_d,"MSDCutIndexHeuristic",802),M(1617,1,bs,SX),l.pf=function(t,n){Npn(u(t,37),n)},O(_d,"SingleEdgeGraphWrapper",1617),M(227,22,{3:1,35:1,22:1,227:1},IT);var N4,X7,Q7,Ty,XC,P4,Z7=Gr(Dc,"CenterEdgeLabelPlacementStrategy",227,Kr,Ven,EKt),ypt;M(422,22,{3:1,35:1,22:1,422:1},zpe);var OEe,Gue,NEe=Gr(Dc,"ConstraintCalculationStrategy",422,Kr,PQt,TKt),kpt;M(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},Yee),l.Kf=function(){return Dst(this)},l.Xf=function(){return Dst(this)};var ZI,yk,PEe,BEe=Gr(Dc,"CrossingMinimizationStrategy",314,Kr,SZt,_Kt),xpt;M(337,22,{3:1,35:1,22:1,337:1},Xee);var FEe,que,cq,REe=Gr(Dc,"CuttingStrategy",337,Kr,AZt,AKt),Ept;M(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},rM),l.Kf=function(){return vat(this)},l.Xf=function(){return vat(this)};var jEe,Vue,QC,Uue,ZC,$Ee=Gr(Dc,"CycleBreakingStrategy",335,Kr,ven,LKt),Tpt;M(419,22,{3:1,35:1,22:1,419:1},Gpe);var uq,HEe,zEe=Gr(Dc,"DirectionCongruency",419,Kr,NQt,MKt),_pt;M(450,22,{3:1,35:1,22:1,450:1},Qee);var J7,Kue,B4,Cpt=Gr(Dc,"EdgeConstraint",450,Kr,LZt,DKt),Spt;M(276,22,{3:1,35:1,22:1,276:1},OT);var Wue,Yue,Xue,Que,lq,Zue,GEe=Gr(Dc,"EdgeLabelSideSelection",276,Kr,Yen,IKt),Apt;M(479,22,{3:1,35:1,22:1,479:1},qpe);var hq,qEe,VEe=Gr(Dc,"EdgeStraighteningStrategy",479,Kr,OQt,OKt),Lpt;M(274,22,{3:1,35:1,22:1,274:1},NT);var Jue,UEe,KEe,fq,WEe,YEe,XEe=Gr(Dc,"FixedAlignment",274,Kr,Ken,NKt),Mpt;M(275,22,{3:1,35:1,22:1,275:1},PT);var QEe,ZEe,JEe,e9e,JC,t9e,n9e=Gr(Dc,"GraphCompactionStrategy",275,Kr,Uen,PKt),Dpt;M(256,22,{3:1,35:1,22:1,256:1},Em);var eE,dq,tE,Th,eS,gq,nE,F4,pq,tS,ele=Gr(Dc,"GraphProperties",256,Kr,Nnn,BKt),Ipt;M(292,22,{3:1,35:1,22:1,292:1},Zee);var JI,tle,nle,rle=Gr(Dc,"GreedySwitchType",292,Kr,IZt,FKt),Opt;M(303,22,{3:1,35:1,22:1,303:1},Jee);var kk,eO,R4,Npt=Gr(Dc,"InLayerConstraint",303,Kr,DZt,RKt),Ppt;M(420,22,{3:1,35:1,22:1,420:1},Vpe);var ile,r9e,i9e=Gr(Dc,"InteractiveReferencePoint",420,Kr,BQt,jKt),Bpt,s9e,xk,mw,bq,a9e,o9e,vq,c9e,tO,wq,nS,Ek,_y,sle,mq,vc,u9e,yw,Qc,ale,ole,nO,Cb,kw,Tk,l9e,_k,rO,Cy,o1,Kh,cle,j4,Oc,Mi,h9e,f9e,d9e,g9e,p9e,ule,yq,ol,xw,lle,Ck,iO,U1,$4,rE,H4,z4,iE,Sb,b9e,hle,fle,Sk;M(163,22,{3:1,35:1,22:1,163:1},sM);var rS,a2,iS,Sy,sO,v9e=Gr(Dc,"LayerConstraint",163,Kr,yen,$Kt),Fpt;M(848,1,$h,yJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,M6e),""),"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."),S9e),(Dg(),ws)),zEe),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,D6e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(In(),!1)),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ez),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),O9e),ws),i9e),sn(jn)))),ma(t,Ez,foe,A2t),ma(t,Ez,EC,S2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,I6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,O6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(UGt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,N6e),""),"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),qa),Vs),sn(Ob)),ie(ne(Et,1),Je,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,P6e),""),"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."),H9e),ws),YTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,B6e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),lt(7)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,F6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,R6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,foe),"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)."),C9e),ws),$Ee),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,TI),Boe),"Node Layering Strategy"),"Strategy for node layering."),B9e),ws),FTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,j6e),Boe),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),N9e),ws),v9e),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,$6e),Boe),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,H6e),Boe),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,doe),Sht),"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."),lt(4)),Tc),Ja),sn(jn)))),ma(t,doe,TI,P2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,goe),Sht),"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."),lt(2)),Tc),Ja),sn(jn)))),ma(t,goe,TI,F2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,poe),Aht),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),P9e),ws),UTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,boe),Aht),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),lt(0)),Tc),Ja),sn(jn)))),ma(t,boe,poe,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,voe),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),lt(xi)),Tc),Ja),sn(jn)))),ma(t,voe,TI,M2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,EC),_I),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),_9e),ws),BEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,z6e),_I),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,woe),_I),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Go),ka),sn(jn)))),ma(t,woe,Bz,n2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,moe),_I),"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),qa),Vs),sn(jn)))),ma(t,moe,EC,a2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,G6e),_I),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,q6e),_I),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,V6e),Lht),"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."),lt(40)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yoe),Lht),"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."),T9e),ws),rle),sn(jn)))),ma(t,yoe,EC,e2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Tz),"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."),E9e),ws),rle),sn(jn)))),ma(t,Tz,EC,Qpt),ma(t,Tz,Bz,Zpt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,x4),Mht),"Node Placement Strategy"),"Strategy for node placement."),$9e),ws),HTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,_z),Mht),"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."),qa),Vs),sn(jn)))),ma(t,_z,x4,W2t),ma(t,_z,x4,Y2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,koe),Dht),"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."),F9e),ws),VEe),sn(jn)))),ma(t,koe,x4,q2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,xoe),Dht),"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."),R9e),ws),XEe),sn(jn)))),ma(t,xoe,x4,U2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Eoe),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Go),ka),sn(jn)))),ma(t,Eoe,x4,Q2t),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Toe),"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."),ws),Ple),sn(ua)))),ma(t,Toe,x4,tbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_oe),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),j9e),ws),Ple),sn(jn)))),ma(t,_oe,x4,ebt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,U6e),Iht),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),M9e),ws),ZTe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,K6e),Iht),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),D9e),ws),JTe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Cz),"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."),I9e),ws),t_e),sn(jn)))),ma(t,Cz,CI,v2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Sz),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Go),ka),sn(jn)))),ma(t,Sz,CI,m2t),ma(t,Sz,Cz,y2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Coe),"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),Go),ka),sn(jn)))),ma(t,Coe,CI,d2t),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,W6e),z1),"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."),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Y6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,X6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Q6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Z6e),oke),"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."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,J6e),oke),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,eke),oke),"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."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Soe),cke),Wlt),"Tries to further compact components (disconnected sub-graphs)."),!1),qa),Vs),sn(jn)))),ma(t,Soe,wC,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,tke),Oht),"Post Compaction Strategy"),Nht),m9e),ws),n9e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,nke),Oht),"Post Compaction Constraint Calculation"),Nht),w9e),ws),NEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Az),uke),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Aoe),uke),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),lt(16)),Tc),Ja),sn(jn)))),ma(t,Aoe,Az,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Loe),uke),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),lt(5)),Tc),Ja),sn(jn)))),ma(t,Loe,Az,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,K0),lke),"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'."),q9e),ws),s_e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Lz),lke),"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),Go),ka),sn(jn)))),ma(t,Lz,K0,gbt),ma(t,Lz,K0,pbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Mz),lke),"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),Go),ka),sn(jn)))),ma(t,Mz,K0,vbt),ma(t,Mz,K0,wbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,TC),Pht),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),G9e),ws),REe),sn(jn)))),ma(t,TC,K0,Tbt),ma(t,TC,K0,_bt),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Moe),Pht),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),W1),Eh),sn(jn)))),ma(t,Moe,TC,ybt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Doe),"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."),z9e),Tc),Ja),sn(jn)))),ma(t,Doe,TC,xbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Dz),Bht),"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."),V9e),ws),i_e),sn(jn)))),ma(t,Dz,K0,Fbt),ma(t,Dz,K0,Rbt),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Iz),Bht),"Valid Indices for Wrapping"),null),W1),Eh),sn(jn)))),ma(t,Iz,K0,Nbt),ma(t,Iz,K0,Pbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Oz),hke),"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),qa),Vs),sn(jn)))),ma(t,Oz,K0,Lbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Nz),hke),"Distance Penalty When Improving Cuts"),null),2),Go),ka),sn(jn)))),ma(t,Nz,K0,Sbt),ma(t,Nz,Oz,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ioe),hke),"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),qa),Vs),sn(jn)))),ma(t,Ioe,K0,Dbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,rke),Foe),"Edge Label Side Selection"),"Method to decide on edge label sides."),L9e),ws),GEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ike),Foe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),A9e),ws),Z7),Vi(jn,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Pz),SI),"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."),x9e),ws),WTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ske),SI),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ooe),SI),"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."),y9e),ws),$7e),sn(jn)))),ma(t,Ooe,wC,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ake),SI),"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."),k9e),ws),jTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Noe),SI),"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),Go),ka),sn(jn)))),ma(t,Noe,Pz,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Poe),SI),"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),Go),ka),sn(jn)))),ma(t,Poe,Pz,null),Jut((new oF,t))};var Rpt,jpt,$pt,w9e,Hpt,m9e,zpt,y9e,Gpt,qpt,Vpt,k9e,Upt,Kpt,x9e,Wpt,Ypt,Xpt,E9e,Qpt,Zpt,Jpt,T9e,e2t,t2t,n2t,r2t,i2t,s2t,a2t,o2t,_9e,c2t,C9e,u2t,S9e,l2t,A9e,h2t,L9e,f2t,d2t,g2t,M9e,p2t,D9e,b2t,I9e,v2t,w2t,m2t,y2t,k2t,x2t,E2t,T2t,_2t,C2t,O9e,S2t,A2t,L2t,M2t,D2t,I2t,N9e,O2t,N2t,P2t,B2t,F2t,R2t,j2t,P9e,$2t,B9e,H2t,z2t,G2t,F9e,q2t,V2t,R9e,U2t,K2t,W2t,Y2t,X2t,Q2t,Z2t,J2t,j9e,ebt,tbt,nbt,$9e,rbt,H9e,ibt,sbt,abt,obt,cbt,ubt,lbt,hbt,fbt,dbt,gbt,pbt,bbt,vbt,wbt,mbt,ybt,kbt,z9e,xbt,Ebt,G9e,Tbt,_bt,Cbt,Sbt,Abt,Lbt,Mbt,Dbt,Ibt,q9e,Obt,Nbt,Pbt,Bbt,V9e,Fbt,Rbt;O(Dc,"LayeredMetaDataProvider",848),M(986,1,$h,oF),l.Qe=function(t){Jut(t)};var Id,dle,kq,sS,xq,U9e,Eq,Ak,Tq,K9e,W9e,gle,o2,ple,Ay,Y9e,aO,ble,X9e,jbt,_q,vle,aS,Ly,$bt,Jl,Q9e,Z9e,Cq,wle,Od,Sq,W0,J9e,eTe,tTe,mle,yle,nTe,Rg,kle,rTe,My,iTe,sTe,aTe,Aq,Dy,Ab,oTe,cTe,Fo,uTe,Hbt,du,Lq,lTe,hTe,fTe,xle,dTe,Mq,gTe,pTe,Dq,Ew,bTe,Ele,oS,vTe,Tw,cS,Iq,Lb,Tle,sE,Oq,Mb,wTe,mTe,yTe,aE,kTe,zbt,Gbt,qbt,Vbt,_w,Iy,vs,jg,Ubt,Oy,xTe,oE,ETe,Ny,Kbt,cE,TTe,Lk,Wbt,Ybt,oO,_le,_Te,cO,Af,G4,Mk,Cw,Db,Nq,Py,Cle,uE,lE,Sw,q4,Sle,uO,uS,lS,Ale,CTe,STe,ATe,LTe,Lle,MTe,DTe,ITe,OTe,Mle,Pq;O(Dc,"LayeredOptions",986),M(987,1,{},LX),l.$e=function(){var t;return t=new o$e,t},l._e=function(t){},O(Dc,"LayeredOptions/LayeredFactory",987),M(1372,1,{}),l.a=0;var Xbt;O(Ic,"ElkSpacings/AbstractSpacingsBuilder",1372),M(779,1372,{},xye);var Bq,Qbt;O(Dc,"LayeredSpacings/LayeredSpacingsBuilder",779),M(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},BT),l.Kf=function(){return Iat(this)},l.Xf=function(){return Iat(this)};var Dle,NTe,PTe,Fq,Ile,BTe,FTe=Gr(Dc,"LayeringStrategy",313,Kr,Wen,HKt),Zbt;M(378,22,{3:1,35:1,22:1,378:1},ete);var Ole,RTe,Rq,jTe=Gr(Dc,"LongEdgeOrderingStrategy",378,Kr,CZt,zKt),Jbt;M(197,22,{3:1,35:1,22:1,197:1},yR);var V4,U4,jq,Nle,Ple=Gr(Dc,"NodeFlexibility",197,Kr,OJt,GKt),evt;M(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},iM),l.Kf=function(){return bat(this)},l.Xf=function(){return bat(this)};var hS,Ble,Fle,fS,$Te,HTe=Gr(Dc,"NodePlacementStrategy",315,Kr,ben,YKt),tvt;M(260,22,{3:1,35:1,22:1,260:1},w6);var zTe,lO,GTe,qTe,hO,VTe,$q,Hq,UTe=Gr(Dc,"NodePromotionStrategy",260,Kr,Ktn,VKt),nvt;M(339,22,{3:1,35:1,22:1,339:1},tte);var KTe,c2,Rle,WTe=Gr(Dc,"OrderingStrategy",339,Kr,NZt,UKt),rvt;M(421,22,{3:1,35:1,22:1,421:1},Upe);var jle,$le,YTe=Gr(Dc,"PortSortingStrategy",421,Kr,FQt,KKt),ivt;M(452,22,{3:1,35:1,22:1,452:1},nte);var cl,ou,dS,svt=Gr(Dc,"PortType",452,Kr,OZt,qKt),avt;M(375,22,{3:1,35:1,22:1,375:1},rte);var XTe,Hle,QTe,ZTe=Gr(Dc,"SelfLoopDistributionStrategy",375,Kr,PZt,WKt),ovt;M(376,22,{3:1,35:1,22:1,376:1},Kpe);var fO,zle,JTe=Gr(Dc,"SelfLoopOrderingStrategy",376,Kr,IQt,XKt),cvt;M(304,1,{304:1},tut),O(Dc,"Spacings",304),M(336,22,{3:1,35:1,22:1,336:1},ite);var Gle,e_e,gS,t_e=Gr(Dc,"SplineRoutingMode",336,Kr,FZt,QKt),uvt;M(338,22,{3:1,35:1,22:1,338:1},ste);var qle,n_e,r_e,i_e=Gr(Dc,"ValidifyStrategy",338,Kr,RZt,ZKt),lvt;M(377,22,{3:1,35:1,22:1,377:1},ate);var By,Vle,hE,s_e=Gr(Dc,"WrappingStrategy",377,Kr,BZt,JKt),hvt;M(1383,1,Wc,EJ),l.Yf=function(t){return u(t,37),fvt},l.pf=function(t,n){A2n(this,u(t,37),n)};var fvt;O(jz,"DepthFirstCycleBreaker",1383),M(782,1,Wc,ave),l.Yf=function(t){return u(t,37),dvt},l.pf=function(t,n){Cwn(this,u(t,37),n)},l.Zf=function(t){return u(It(t,bH(this.d,t.c.length)),10)};var dvt;O(jz,"GreedyCycleBreaker",782),M(1386,782,Wc,$Ge),l.Zf=function(t){var n,r,i,a;for(a=null,n=xi,i=new C(t);i.a<i.c.c.length;)r=u(Y(i),10),Js(r,(nt(),Oc))&&u(W(r,Oc),19).a<n&&(n=u(W(r,Oc),19).a,a=r);return a||u(It(t,bH(this.d,t.c.length)),10)},O(jz,"GreedyModelOrderCycleBreaker",1386),M(1384,1,Wc,pJ),l.Yf=function(t){return u(t,37),gvt},l.pf=function(t,n){X2n(this,u(t,37),n)};var gvt;O(jz,"InteractiveCycleBreaker",1384),M(1385,1,Wc,bJ),l.Yf=function(t){return u(t,37),pvt},l.pf=function(t,n){Q2n(this,u(t,37),n)},l.a=0,l.b=0;var pvt;O(jz,"ModelOrderCycleBreaker",1385),M(1389,1,Wc,Ize),l.Yf=function(t){return u(t,37),bvt},l.pf=function(t,n){Mwn(this,u(t,37),n)};var bvt;O(gy,"CoffmanGrahamLayerer",1389),M(1390,1,Ri,OF),l.ue=function(t,n){return ifn(this.a,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(gy,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),M(1391,1,Ri,dee),l.ue=function(t,n){return qYt(this.a,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(gy,"CoffmanGrahamLayerer/lambda$1$Type",1391),M(1392,1,Wc,fL),l.Yf=function(t){return u(t,37),ki(ki(ki(new Xs,(io(),Dd),(po(),Lue)),i2,K7),fu,U7)},l.pf=function(t,n){Ovn(this,u(t,37),n)},O(gy,"InteractiveLayerer",1392),M(569,1,{569:1},p$e),l.a=0,l.c=0,O(gy,"InteractiveLayerer/LayerSpan",569),M(1388,1,Wc,aF),l.Yf=function(t){return u(t,37),vvt},l.pf=function(t,n){u0n(this,u(t,37),n)};var vvt;O(gy,"LongestPathLayerer",1388),M(1395,1,Wc,mJ),l.Yf=function(t){return u(t,37),ki(ki(ki(new Xs,(io(),Dd),(po(),WC)),i2,K7),fu,U7)},l.pf=function(t,n){nwn(this,u(t,37),n)},l.a=0,l.b=0,l.d=0;var a_e,o_e;O(gy,"MinWidthLayerer",1395),M(1396,1,Ri,vp),l.ue=function(t,n){return Qnn(this,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(gy,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),M(1387,1,Wc,wJ),l.Yf=function(t){return u(t,37),wvt},l.pf=function(t,n){ybn(this,u(t,37),n)};var wvt;O(gy,"NetworkSimplexLayerer",1387),M(1393,1,Wc,JVe),l.Yf=function(t){return u(t,37),ki(ki(ki(new Xs,(io(),Dd),(po(),WC)),i2,K7),fu,U7)},l.pf=function(t,n){ovn(this,u(t,37),n)},l.d=0,l.f=0,l.g=0,l.i=0,l.s=0,l.t=0,l.u=0,O(gy,"StretchWidthLayerer",1393),M(1394,1,Ri,MX),l.ue=function(t,n){return Aen(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(gy,"StretchWidthLayerer/1",1394),M(402,1,Kke),l.Nf=function(t,n,r,i,a,h){},l._f=function(t,n,r){return Qot(this,t,n,r)},l.Mf=function(){this.g=Ie(Wy,Rht,25,this.d,15,1),this.f=Ie(Wy,Rht,25,this.d,15,1)},l.Of=function(t,n){this.e[t]=Ie(Sr,Jr,25,n[t].length,15,1)},l.Pf=function(t,n,r){var i;i=r[t][n],i.p=n,this.e[t][n]=n},l.Qf=function(t,n,r,i){u(It(i[t][n].j,r),11).p=this.d++},l.b=0,l.c=0,l.d=0,O(Wu,"AbstractBarycenterPortDistributor",402),M(1633,1,Ri,$L),l.ue=function(t,n){return kan(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Wu,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),M(817,1,EI,cwe),l.Nf=function(t,n,r,i,a,h){},l.Pf=function(t,n,r){},l.Qf=function(t,n,r,i){},l.Lf=function(){return!1},l.Mf=function(){this.c=this.e.a,this.g=this.f.g},l.Of=function(t,n){n[t][0].c.p=t},l.Rf=function(){return!1},l.ag=function(t,n,r,i){r?iit(this,t):(cit(this,t,i),put(this,t,n)),t.c.length>1&&(Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),(mt(),Ay))))?Cat(t,this.d,u(this,660)):(fn(),aa(t,this.d)),Uet(this.e,t))},l.Sf=function(t,n,r,i){var a,h,d,v,x,T,L;for(n!=pKe(r,t.length)&&(h=t[n-(r?1:-1)],Dwe(this.f,h,r?(vo(),ou):(vo(),cl))),a=t[n][0],L=!i||a.k==(zn(),Ls),T=I1(t[n]),this.ag(T,L,!1,r),d=0,x=new C(T);x.a<x.c.c.length;)v=u(Y(x),10),t[n][d++]=v;return!1},l.Tf=function(t,n){var r,i,a,h,d;for(d=pKe(n,t.length),h=I1(t[d]),this.ag(h,!1,!0,n),r=0,a=new C(h);a.a<a.c.c.length;)i=u(Y(a),10),t[d][r++]=i;return!1},O(Wu,"BarycenterHeuristic",817),M(658,1,{658:1},F8),l.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},l.b=0,l.d=0,l.e=!1;var mvt=O(Wu,"BarycenterHeuristic/BarycenterState",658);M(1802,1,Ri,NF),l.ue=function(t,n){return oun(this.a,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Wu,"BarycenterHeuristic/lambda$0$Type",1802),M(816,1,EI,O3e),l.Mf=function(){},l.Nf=function(t,n,r,i,a,h){},l.Qf=function(t,n,r,i){},l.Of=function(t,n){this.a[t]=Ie(mvt,{3:1,4:1,5:1,2018:1},658,n[t].length,0,1),this.b[t]=Ie(yvt,{3:1,4:1,5:1,2019:1},233,n[t].length,0,1)},l.Pf=function(t,n,r){Ynt(this,r[t][n],!0)},l.c=!1,O(Wu,"ForsterConstraintResolver",816),M(233,1,{233:1},lYe,eut),l.Ib=function(){var t,n;for(n=new yp,n.a+="[",t=0;t<this.d.length;t++)Yr(n,crt(this.d[t])),S1(this.g,this.d[0]).a!=null&&Yr(Yr((n.a+="<",n),Dqt(S1(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(n.a+=so);return(n.a+="]",n).a},l.a=0,l.c=0,l.f=0;var yvt=O(Wu,"ForsterConstraintResolver/ConstraintGroup",233);M(1797,1,Vn,gee),l.td=function(t){Ynt(this.a,u(t,10),!1)},O(Wu,"ForsterConstraintResolver/lambda$0$Type",1797),M(214,1,{214:1,225:1},aut),l.Nf=function(t,n,r,i,a,h){},l.Of=function(t,n){},l.Mf=function(){this.r=Ie(Sr,Jr,25,this.n,15,1)},l.Pf=function(t,n,r){var i,a;a=r[t][n],i=a.e,i&&st(this.b,i)},l.Qf=function(t,n,r,i){++this.n},l.Ib=function(){return but(this.e,new Ys)},l.g=!1,l.i=!1,l.n=0,l.s=!1,O(Wu,"GraphInfoHolder",214),M(1832,1,EI,AX),l.Nf=function(t,n,r,i,a,h){},l.Of=function(t,n){},l.Qf=function(t,n,r,i){},l._f=function(t,n,r){return r&&n>0?$ne(this.a,t[n-1],t[n]):!r&&n<t.length-1?$ne(this.a,t[n],t[n+1]):Nre(this.a,t[n],r?(dt(),On):(dt(),$n)),B1n(this,t,n,r)},l.Mf=function(){this.d=Ie(Sr,Jr,25,this.c,15,1),this.a=new EM(this.d)},l.Pf=function(t,n,r){var i;i=r[t][n],this.c+=i.j.c.length},l.c=0,O(Wu,"GreedyPortDistributor",1832),M(1401,1,Wc,cF),l.Yf=function(t){return din(u(t,37))},l.pf=function(t,n){Bbn(u(t,37),n)};var kvt;O(Wu,"InteractiveCrossingMinimizer",1401),M(1402,1,Ri,yRe),l.ue=function(t,n){return qcn(this,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Wu,"InteractiveCrossingMinimizer/1",1402),M(507,1,{507:1,123:1,51:1},Lee),l.Yf=function(t){var n;return u(t,37),n=OR(xvt),ki(n,(io(),fu),(po(),XG)),n},l.pf=function(t,n){Ygn(this,u(t,37),n)},l.e=0;var xvt;O(Wu,"LayerSweepCrossingMinimizer",507),M(1398,1,Vn,kRe),l.td=function(t){Ppn(this.a,u(t,214))},O(Wu,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),M(1399,1,Vn,xRe),l.td=function(t){ain(this.a,u(t,214))},O(Wu,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),M(1400,1,Vn,ERe),l.td=function(t){bct(this.a,u(t,214))},O(Wu,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),M(454,22,{3:1,35:1,22:1,454:1},ote);var dO,pS,zq,Evt=Gr(Wu,"LayerSweepCrossingMinimizer/CrossMinType",454,Kr,jZt,eWt),Tvt;M(1397,1,gi,d8),l.Mb=function(t){return xme(),u(t,29).a.c.length==0},O(Wu,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),M(1799,1,EI,SYe),l.Mf=function(){},l.Nf=function(t,n,r,i,a,h){},l.Qf=function(t,n,r,i){},l.Of=function(t,n){n[t][0].c.p=t,this.b[t]=Ie(_vt,{3:1,4:1,5:1,1944:1},659,n[t].length,0,1)},l.Pf=function(t,n,r){var i;i=r[t][n],i.p=n,us(this.b[t],n,new DX)},O(Wu,"LayerSweepTypeDecider",1799),M(659,1,{659:1},DX),l.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},l.a=0,l.b=0,l.c=0;var _vt=O(Wu,"LayerSweepTypeDecider/NodeInfo",659);M(1800,1,kd,IX),l.Lb=function(t){return ZT(new O1(u(t,11).b))},l.Fb=function(t){return this===t},l.Mb=function(t){return ZT(new O1(u(t,11).b))},O(Wu,"LayerSweepTypeDecider/lambda$0$Type",1800),M(1801,1,kd,OX),l.Lb=function(t){return ZT(new O1(u(t,11).b))},l.Fb=function(t){return this===t},l.Mb=function(t){return ZT(new O1(u(t,11).b))},O(Wu,"LayerSweepTypeDecider/lambda$1$Type",1801),M(1833,402,Kke,gHe),l.$f=function(t,n,r){var i,a,h,d,v,x,T,L,P;switch(T=this.g,r.g){case 1:{for(i=0,a=0,x=new C(t.j);x.a<x.c.c.length;)d=u(Y(x),11),d.e.c.length!=0&&(++i,d.j==(dt(),Ln)&&++a);for(h=n+a,P=n+i,v=Wv(t,(vo(),cl)).Kc();v.Ob();)d=u(v.Pb(),11),d.j==(dt(),Ln)?(T[d.p]=h,--h):(T[d.p]=P,--P);return i}case 2:{for(L=0,v=Wv(t,(vo(),ou)).Kc();v.Ob();)d=u(v.Pb(),11),++L,T[d.p]=n+L;return L}default:throw ee(new GL)}},O(Wu,"LayerTotalPortDistributor",1833),M(660,817,{660:1,225:1},uet),l.ag=function(t,n,r,i){r?iit(this,t):(cit(this,t,i),put(this,t,n)),t.c.length>1&&(Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),(mt(),Ay))))?Cat(t,this.d,this):(fn(),aa(t,this.d)),Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),Ay)))||Uet(this.e,t))},O(Wu,"ModelOrderBarycenterHeuristic",660),M(1803,1,Ri,TRe),l.ue=function(t,n){return zln(this.a,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Wu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),M(1403,1,Wc,SJ),l.Yf=function(t){var n;return u(t,37),n=OR(Cvt),ki(n,(io(),fu),(po(),XG)),n},l.pf=function(t,n){SQt((u(t,37),n))};var Cvt;O(Wu,"NoCrossingMinimizer",1403),M(796,402,Kke,bpe),l.$f=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q;switch(P=this.g,r.g){case 1:{for(a=0,h=0,L=new C(t.j);L.a<L.c.c.length;)x=u(Y(L),11),x.e.c.length!=0&&(++a,x.j==(dt(),Ln)&&++h);for(i=1/(a+1),d=n+h*i,q=n+1-i,T=Wv(t,(vo(),cl)).Kc();T.Ob();)x=u(T.Pb(),11),x.j==(dt(),Ln)?(P[x.p]=d,d-=i):(P[x.p]=q,q-=i);break}case 2:{for(v=0,L=new C(t.j);L.a<L.c.c.length;)x=u(Y(L),11),x.g.c.length==0||++v;for(i=1/(v+1),z=n+i,T=Wv(t,(vo(),ou)).Kc();T.Ob();)x=u(T.Pb(),11),P[x.p]=z,z+=i;break}default:throw ee(new Dn("Port type is undefined"))}return 1},O(Wu,"NodeRelativePortDistributor",796),M(807,1,{},HKe,Fit),O(Wu,"SweepCopy",807),M(1798,1,EI,Ant),l.Of=function(t,n){},l.Mf=function(){var t;t=Ie(Sr,Jr,25,this.f,15,1),this.d=new IRe(t),this.a=new EM(t)},l.Nf=function(t,n,r,i,a,h){var d;d=u(It(h[t][n].j,r),11),a.c==d&&a.c.i.c==a.d.i.c&&++this.e[t]},l.Pf=function(t,n,r){var i;i=r[t][n],this.c[t]=this.c[t]|i.k==(zn(),Xc)},l.Qf=function(t,n,r,i){var a;a=u(It(i[t][n].j,r),11),a.p=this.f++,a.g.c.length+a.e.c.length>1&&(a.j==(dt(),$n)?this.b[t]=!0:a.j==On&&t>0&&(this.b[t-1]=!0))},l.f=0,O(a0,"AllCrossingsCounter",1798),M(587,1,{},I$),l.b=0,l.d=0,O(a0,"BinaryIndexedTree",587),M(524,1,{},EM);var c_e,Gq;O(a0,"CrossingsCounter",524),M(1906,1,Ri,_Re),l.ue=function(t,n){return MYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$0$Type",1906),M(1907,1,Ri,CRe),l.ue=function(t,n){return DYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$1$Type",1907),M(1908,1,Ri,SRe),l.ue=function(t,n){return IYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$2$Type",1908),M(1909,1,Ri,ARe),l.ue=function(t,n){return OYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$3$Type",1909),M(1910,1,Vn,LRe),l.td=function(t){gtn(this.a,u(t,11))},O(a0,"CrossingsCounter/lambda$4$Type",1910),M(1911,1,gi,MRe),l.Mb=function(t){return Aqt(this.a,u(t,11))},O(a0,"CrossingsCounter/lambda$5$Type",1911),M(1912,1,Vn,DRe),l.td=function(t){BGe(this,t)},O(a0,"CrossingsCounter/lambda$6$Type",1912),M(1913,1,Vn,cGe),l.td=function(t){var n;ix(),Bp(this.b,(n=this.a,u(t,11),n))},O(a0,"CrossingsCounter/lambda$7$Type",1913),M(826,1,kd,fB),l.Lb=function(t){return ix(),Js(u(t,11),(nt(),ol))},l.Fb=function(t){return this===t},l.Mb=function(t){return ix(),Js(u(t,11),(nt(),ol))},O(a0,"CrossingsCounter/lambda$8$Type",826),M(1905,1,{},IRe),O(a0,"HyperedgeCrossingsCounter",1905),M(467,1,{35:1,467:1},ZVe),l.wd=function(t){return han(this,u(t,467))},l.b=0,l.c=0,l.e=0,l.f=0;var omn=O(a0,"HyperedgeCrossingsCounter/Hyperedge",467);M(362,1,{35:1,362:1},Mj),l.wd=function(t){return u1n(this,u(t,362))},l.b=0,l.c=0;var Svt=O(a0,"HyperedgeCrossingsCounter/HyperedgeCorner",362);M(523,22,{3:1,35:1,22:1,523:1},Wpe);var bS,vS,Avt=Gr(a0,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Kr,RQt,tWt),Lvt;M(1405,1,Wc,xJ),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Mvt:null},l.pf=function(t,n){Mcn(this,u(t,37),n)};var Mvt;O(ko,"InteractiveNodePlacer",1405),M(1406,1,Wc,kJ),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Dvt:null},l.pf=function(t,n){gon(this,u(t,37),n)};var Dvt,qq,Vq;O(ko,"LinearSegmentsNodePlacer",1406),M(257,1,{35:1,257:1},Uge),l.wd=function(t){return $Gt(this,u(t,257))},l.Fb=function(t){var n;return me(t,257)?(n=u(t,257),this.b==n.b):!1},l.Hb=function(){return this.b},l.Ib=function(){return"ls"+Vp(this.e)},l.a=0,l.b=0,l.c=-1,l.d=-1,l.g=0;var Ivt=O(ko,"LinearSegmentsNodePlacer/LinearSegment",257);M(1408,1,Wc,_Ke),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Ovt:null},l.pf=function(t,n){wwn(this,u(t,37),n)},l.b=0,l.g=0;var Ovt;O(ko,"NetworkSimplexPlacer",1408),M(1427,1,Ri,NX),l.ue=function(t,n){return ku(u(t,19).a,u(n,19).a)},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ko,"NetworkSimplexPlacer/0methodref$compare$Type",1427),M(1429,1,Ri,PX),l.ue=function(t,n){return ku(u(t,19).a,u(n,19).a)},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ko,"NetworkSimplexPlacer/1methodref$compare$Type",1429),M(649,1,{649:1},uGe);var cmn=O(ko,"NetworkSimplexPlacer/EdgeRep",649);M(401,1,{401:1},Rve),l.b=!1;var umn=O(ko,"NetworkSimplexPlacer/NodeRep",401);M(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},w$e),O(ko,"NetworkSimplexPlacer/Path",508),M(1409,1,{},BX),l.Kb=function(t){return u(t,17).d.i.k},O(ko,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),M(1410,1,gi,FX),l.Mb=function(t){return u(t,267)==(zn(),ca)},O(ko,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),M(1411,1,{},RX),l.Kb=function(t){return u(t,17).d.i},O(ko,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),M(1412,1,gi,ORe),l.Mb=function(t){return BVe(Ent(u(t,10)))},O(ko,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),M(1413,1,gi,jX),l.Mb=function(t){return mYt(u(t,11))},O(ko,"NetworkSimplexPlacer/lambda$0$Type",1413),M(1414,1,Vn,lGe),l.td=function(t){bVt(this.a,this.b,u(t,11))},O(ko,"NetworkSimplexPlacer/lambda$1$Type",1414),M(1423,1,Vn,NRe),l.td=function(t){Bhn(this.a,u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$10$Type",1423),M(1424,1,{},$X),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$11$Type",1424),M(1425,1,Vn,PRe),l.td=function(t){I0n(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$12$Type",1425),M(1426,1,{},HX),l.Kb=function(t){return Hl(),lt(u(t,121).e)},O(ko,"NetworkSimplexPlacer/lambda$13$Type",1426),M(1428,1,{},zX),l.Kb=function(t){return Hl(),lt(u(t,121).e)},O(ko,"NetworkSimplexPlacer/lambda$15$Type",1428),M(1430,1,gi,GX),l.Mb=function(t){return Hl(),u(t,401).c.k==(zn(),js)},O(ko,"NetworkSimplexPlacer/lambda$17$Type",1430),M(1431,1,gi,qX),l.Mb=function(t){return Hl(),u(t,401).c.j.c.length>1},O(ko,"NetworkSimplexPlacer/lambda$18$Type",1431),M(1432,1,Vn,IWe),l.td=function(t){xsn(this.c,this.b,this.d,this.a,u(t,401))},l.c=0,l.d=0,O(ko,"NetworkSimplexPlacer/lambda$19$Type",1432),M(1415,1,{},VX),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$2$Type",1415),M(1433,1,Vn,BRe),l.td=function(t){gVt(this.a,u(t,11))},l.a=0,O(ko,"NetworkSimplexPlacer/lambda$20$Type",1433),M(1434,1,{},z5),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$21$Type",1434),M(1435,1,Vn,FRe),l.td=function(t){LVt(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$22$Type",1435),M(1436,1,gi,dB),l.Mb=function(t){return BVe(t)},O(ko,"NetworkSimplexPlacer/lambda$23$Type",1436),M(1437,1,{},UX),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$24$Type",1437),M(1438,1,gi,RRe),l.Mb=function(t){return Pqt(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$25$Type",1438),M(1439,1,Vn,hGe),l.td=function(t){ihn(this.a,this.b,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$26$Type",1439),M(1440,1,gi,KX),l.Mb=function(t){return Hl(),!no(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$27$Type",1440),M(1441,1,gi,WX),l.Mb=function(t){return Hl(),!no(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$28$Type",1441),M(1442,1,{},jRe),l.Ce=function(t,n){return CVt(this.a,u(t,29),u(n,29))},O(ko,"NetworkSimplexPlacer/lambda$29$Type",1442),M(1416,1,{},gB),l.Kb=function(t){return Hl(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(ko,"NetworkSimplexPlacer/lambda$3$Type",1416),M(1417,1,gi,YX),l.Mb=function(t){return Hl(),dJt(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$4$Type",1417),M(1418,1,Vn,$Re),l.td=function(t){Dpn(this.a,u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$5$Type",1418),M(1419,1,{},S9),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$6$Type",1419),M(1420,1,gi,XX),l.Mb=function(t){return Hl(),u(t,10).k==(zn(),js)},O(ko,"NetworkSimplexPlacer/lambda$7$Type",1420),M(1421,1,{},QX),l.Kb=function(t){return Hl(),new mn(null,new Cv(new ur(dr(j0(u(t,10)).a.Kc(),new V))))},O(ko,"NetworkSimplexPlacer/lambda$8$Type",1421),M(1422,1,gi,ZX),l.Mb=function(t){return Hl(),dYt(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$9$Type",1422),M(1404,1,Wc,Z9),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Nvt:null},l.pf=function(t,n){f2n(u(t,37),n)};var Nvt;O(ko,"SimpleNodePlacer",1404),M(180,1,{180:1},d4),l.Ib=function(){var t;return t="",this.c==(bd(),Aw)?t+=ok:this.c==$g&&(t+=ak),this.o==(L1(),Ib)?t+=Uae:this.o==K1?t+="UP":t+="BALANCED",t},O(Jp,"BKAlignedLayout",180),M(516,22,{3:1,35:1,22:1,516:1},Xpe);var $g,Aw,Pvt=Gr(Jp,"BKAlignedLayout/HDirection",516,Kr,$Qt,nWt),Bvt;M(515,22,{3:1,35:1,22:1,515:1},Ype);var Ib,K1,Fvt=Gr(Jp,"BKAlignedLayout/VDirection",515,Kr,HQt,rWt),Rvt;M(1634,1,{},fGe),O(Jp,"BKAligner",1634),M(1637,1,{},Krt),O(Jp,"BKCompactor",1637),M(654,1,{654:1},JX),l.a=0,O(Jp,"BKCompactor/ClassEdge",654),M(458,1,{458:1},b$e),l.a=null,l.b=0,O(Jp,"BKCompactor/ClassNode",458),M(1407,1,Wc,RGe),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?jvt:null},l.pf=function(t,n){Own(this,u(t,37),n)},l.d=!1;var jvt;O(Jp,"BKNodePlacer",1407),M(1635,1,{},eQ),l.d=0,O(Jp,"NeighborhoodInformation",1635),M(1636,1,Ri,HRe),l.ue=function(t,n){return $tn(this,u(t,46),u(n,46))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Jp,"NeighborhoodInformation/NeighborComparator",1636),M(808,1,{}),O(Jp,"ThresholdStrategy",808),M(1763,808,{},k$e),l.bg=function(t,n,r){return this.a.o==(L1(),K1)?ps:Ds},l.cg=function(){},O(Jp,"ThresholdStrategy/NullThresholdStrategy",1763),M(579,1,{579:1},dGe),l.c=!1,l.d=!1,O(Jp,"ThresholdStrategy/Postprocessable",579),M(1764,808,{},x$e),l.bg=function(t,n,r){var i,a,h;return a=n==r,i=this.a.a[r.p]==n,a||i?(h=t,this.a.c==(bd(),Aw)?(a&&(h=Use(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Use(this,r,!1))):(a&&(h=Use(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Use(this,r,!1))),h):t},l.cg=function(){for(var t,n,r,i,a;this.d.b!=0;)a=u(rZt(this.d),579),i=gct(this,a),i.a&&(t=i.a,r=Bt(this.a.f[this.a.g[a.b.p].p]),!(!r&&!no(t)&&t.c.i.c==t.d.i.c)&&(n=kat(this,a),n||Gqt(this.e,a)));for(;this.e.a.c.length!=0;)kat(this,u(Dtt(this.e),579))},O(Jp,"ThresholdStrategy/SimpleThresholdStrategy",1764),M(635,1,{635:1,246:1,234:1},tQ),l.Kf=function(){return Het(this)},l.Xf=function(){return Het(this)};var Ule;O(zoe,"EdgeRouterFactory",635),M(1458,1,Wc,od),l.Yf=function(t){return h0n(u(t,37))},l.pf=function(t,n){m2n(u(t,37),n)};var $vt,Hvt,zvt,Gvt,qvt,u_e,Vvt,Uvt;O(zoe,"OrthogonalEdgeRouter",1458),M(1451,1,Wc,jGe),l.Yf=function(t){return Pcn(u(t,37))},l.pf=function(t,n){jvn(this,u(t,37),n)};var Kvt,Wvt,Yvt,Xvt,gO,Qvt;O(zoe,"PolylineEdgeRouter",1451),M(1452,1,kd,nQ),l.Lb=function(t){return _me(u(t,10))},l.Fb=function(t){return this===t},l.Mb=function(t){return _me(u(t,10))},O(zoe,"PolylineEdgeRouter/1",1452),M(1809,1,gi,rQ),l.Mb=function(t){return u(t,129).c==(Xf(),u2)},O(i1,"HyperEdgeCycleDetector/lambda$0$Type",1809),M(1810,1,{},iQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$1$Type",1810),M(1811,1,gi,sQ),l.Mb=function(t){return u(t,129).c==(Xf(),u2)},O(i1,"HyperEdgeCycleDetector/lambda$2$Type",1811),M(1812,1,{},G5),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$3$Type",1812),M(1813,1,{},aQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$4$Type",1813),M(1814,1,{},oQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$5$Type",1814),M(112,1,{35:1,112:1},uD),l.wd=function(t){return HGt(this,u(t,112))},l.Fb=function(t){var n;return me(t,112)?(n=u(t,112),this.g==n.g):!1},l.Hb=function(){return this.g},l.Ib=function(){var t,n,r,i;for(t=new jl("{"),i=new C(this.n);i.a<i.c.c.length;)r=u(Y(i),11),n=ID(r.i),n==null&&(n="n"+dUe(r.i)),t.a+=""+n,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},l.a=0,l.b=0,l.c=NaN,l.d=0,l.g=0,l.i=0,l.o=0,l.s=NaN,O(i1,"HyperEdgeSegment",112),M(129,1,{129:1},K2),l.Ib=function(){return this.a+"->"+this.b+" ("+ZVt(this.c)+")"},l.d=0,O(i1,"HyperEdgeSegmentDependency",129),M(520,22,{3:1,35:1,22:1,520:1},Qpe);var u2,Fy,Zvt=Gr(i1,"HyperEdgeSegmentDependency/DependencyType",520,Kr,jQt,iWt),Jvt;M(1815,1,{},zRe),O(i1,"HyperEdgeSegmentSplitter",1815),M(1816,1,{},mHe),l.a=0,l.b=0,O(i1,"HyperEdgeSegmentSplitter/AreaRating",1816),M(329,1,{329:1},Ute),l.a=0,l.b=0,l.c=0,O(i1,"HyperEdgeSegmentSplitter/FreeArea",329),M(1817,1,Ri,gQ),l.ue=function(t,n){return WUt(u(t,112),u(n,112))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(i1,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),M(1818,1,Vn,OWe),l.td=function(t){JJt(this.a,this.d,this.c,this.b,u(t,112))},l.b=0,O(i1,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),M(1819,1,{},pQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).e,16))},O(i1,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),M(1820,1,{},bQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).j,16))},O(i1,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),M(1821,1,{},vQ),l.Fe=function(t){return We(gt(t))},O(i1,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),M(655,1,{},bne),l.a=0,l.b=0,l.c=0,O(i1,"OrthogonalRoutingGenerator",655),M(1638,1,{},wQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).e,16))},O(i1,"OrthogonalRoutingGenerator/lambda$0$Type",1638),M(1639,1,{},mQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).j,16))},O(i1,"OrthogonalRoutingGenerator/lambda$1$Type",1639),M(661,1,{}),O(Goe,"BaseRoutingDirectionStrategy",661),M(1807,661,{},E$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n+t.o*r,T=new C(t.n);T.a<T.c.c.length;)for(x=u(Y(T),11),P=ic(ie(ne(ea,1),Je,8,0,[x.i.n,x.n,x.a])).a,v=new C(x.g);v.a<v.c.c.length;)d=u(Y(v),17),no(d)||(K=d.d,Q=ic(ie(ne(ea,1),Je,8,0,[K.i.n,K.n,K.a])).a,b.Math.abs(P-Q)>Ed&&(h=L,a=t,i=new Ft(P,h),oi(d.a,i),nw(this,d,a,i,!1),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1),h=n+z.o*r,a=z,i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1)),i=new Ft(Q,h),oi(d.a,i),nw(this,d,a,i,!1)))},l.eg=function(t){return t.i.n.a+t.n.a+t.a.a},l.fg=function(){return dt(),Tr},l.gg=function(){return dt(),Ln},O(Goe,"NorthToSouthRoutingStrategy",1807),M(1808,661,{},T$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n-t.o*r,T=new C(t.n);T.a<T.c.c.length;)for(x=u(Y(T),11),P=ic(ie(ne(ea,1),Je,8,0,[x.i.n,x.n,x.a])).a,v=new C(x.g);v.a<v.c.c.length;)d=u(Y(v),17),no(d)||(K=d.d,Q=ic(ie(ne(ea,1),Je,8,0,[K.i.n,K.n,K.a])).a,b.Math.abs(P-Q)>Ed&&(h=L,a=t,i=new Ft(P,h),oi(d.a,i),nw(this,d,a,i,!1),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1),h=n-z.o*r,a=z,i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1)),i=new Ft(Q,h),oi(d.a,i),nw(this,d,a,i,!1)))},l.eg=function(t){return t.i.n.a+t.n.a+t.a.a},l.fg=function(){return dt(),Ln},l.gg=function(){return dt(),Tr},O(Goe,"SouthToNorthRoutingStrategy",1808),M(1806,661,{},_$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n+t.o*r,T=new C(t.n);T.a<T.c.c.length;)for(x=u(Y(T),11),P=ic(ie(ne(ea,1),Je,8,0,[x.i.n,x.n,x.a])).b,v=new C(x.g);v.a<v.c.c.length;)d=u(Y(v),17),no(d)||(K=d.d,Q=ic(ie(ne(ea,1),Je,8,0,[K.i.n,K.n,K.a])).b,b.Math.abs(P-Q)>Ed&&(h=L,a=t,i=new Ft(h,P),oi(d.a,i),nw(this,d,a,i,!0),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(h,q),oi(d.a,i),nw(this,d,a,i,!0),h=n+z.o*r,a=z,i=new Ft(h,q),oi(d.a,i),nw(this,d,a,i,!0)),i=new Ft(h,Q),oi(d.a,i),nw(this,d,a,i,!0)))},l.eg=function(t){return t.i.n.b+t.n.b+t.a.b},l.fg=function(){return dt(),$n},l.gg=function(){return dt(),On},O(Goe,"WestToEastRoutingStrategy",1806),M(813,1,{},v5e),l.Ib=function(){return Vp(this.a)},l.b=0,l.c=!1,l.d=!1,l.f=0,O(py,"NubSpline",813),M(407,1,{407:1},Xat,dYe),O(py,"NubSpline/PolarCP",407),M(1453,1,Wc,jrt),l.Yf=function(t){return Tun(u(t,37))},l.pf=function(t,n){iwn(this,u(t,37),n)};var ewt,twt,nwt,rwt,iwt;O(py,"SplineEdgeRouter",1453),M(268,1,{268:1},n$),l.Ib=function(){return this.a+" ->("+this.c+") "+this.b},l.c=0,O(py,"SplineEdgeRouter/Dependency",268),M(455,22,{3:1,35:1,22:1,455:1},Zpe);var l2,K4,swt=Gr(py,"SplineEdgeRouter/SideToProcess",455,Kr,zQt,sWt),awt;M(1454,1,gi,dQ),l.Mb=function(t){return J_(),!u(t,128).o},O(py,"SplineEdgeRouter/lambda$0$Type",1454),M(1455,1,{},fQ),l.Ge=function(t){return J_(),u(t,128).v+1},O(py,"SplineEdgeRouter/lambda$1$Type",1455),M(1456,1,Vn,gGe),l.td=function(t){pYt(this.a,this.b,u(t,46))},O(py,"SplineEdgeRouter/lambda$2$Type",1456),M(1457,1,Vn,pGe),l.td=function(t){bYt(this.a,this.b,u(t,46))},O(py,"SplineEdgeRouter/lambda$3$Type",1457),M(128,1,{35:1,128:1},dst,E5e),l.wd=function(t){return zGt(this,u(t,128))},l.b=0,l.e=!1,l.f=0,l.g=0,l.j=!1,l.k=!1,l.n=0,l.o=!1,l.p=!1,l.q=!1,l.s=0,l.u=0,l.v=0,l.F=0,O(py,"SplineSegment",128),M(459,1,{459:1},A9),l.a=0,l.b=!1,l.c=!1,l.d=!1,l.e=!1,l.f=0,O(py,"SplineSegment/EdgeInformation",459),M(1234,1,{},cQ),O(_C,w6e,1234),M(1235,1,Ri,uQ),l.ue=function(t,n){return Zhn(u(t,135),u(n,135))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_C,Qlt,1235),M(1233,1,{},PHe),O(_C,"MrTree",1233),M(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},kR),l.Kf=function(){return Rst(this)},l.Xf=function(){return Rst(this)};var Uq,wS,pO,mS,l_e=Gr(_C,"TreeLayoutPhases",393,Kr,NJt,aWt),owt;M(1130,209,bb,tUe),l.Ze=function(t,n){var r,i,a,h,d,v,x;for(Bt(Nt(jt(t,(tw(),b_e))))||Rj((r=new ar((xm(),new wm(t))),r)),d=(v=new r$,$o(v,t),Qe(v,(xc(),xS),t),x=new Ar,Ggn(t,v,x),apn(t,v,x),v),h=Jgn(this.a,d),a=new C(h);a.a<a.c.c.length;)i=u(Y(a),135),mun(this.b,i,Vc(n,1/h.c.length));d=Iwn(h),ivn(d)},O(_C,"TreeLayoutProvider",1130),M(1847,1,t0,lQ),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(_C,"TreeUtil/1",1847),M(1848,1,t0,hQ),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(_C,"TreeUtil/2",1848),M(502,134,{3:1,502:1,94:1,134:1}),l.g=0,O(CC,"TGraphElement",502),M(188,502,{3:1,188:1,502:1,94:1,134:1},Hve),l.Ib=function(){return this.b&&this.c?Vj(this.b)+"->"+Vj(this.c):"e_"+Yi(this)},O(CC,"TEdge",188),M(135,134,{3:1,135:1,94:1,134:1},r$),l.Ib=function(){var t,n,r,i,a;for(a=null,i=si(this.b,0);i.b!=i.d.c;)r=u(ii(i),86),a+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+`
-`;for(n=si(this.a,0);n.b!=n.d.c;)t=u(ii(n),188),a+=(t.b&&t.c?Vj(t.b)+"->"+Vj(t.c):"e_"+Yi(t))+`
-`;return a};var lmn=O(CC,"TGraph",135);M(633,502,{3:1,502:1,633:1,94:1,134:1}),O(CC,"TShape",633),M(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Ure),l.Ib=function(){return Vj(this)};var hmn=O(CC,"TNode",86);M(255,1,t0,mp),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=si(this.a.d,0),new u6(t)},O(CC,"TNode/2",255),M(358,1,ba,u6),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(ii(this.a),188).c},l.Ob=function(){return QF(this.a)},l.Qb=function(){w$(this.a)},O(CC,"TNode/2/1",358),M(1840,1,bs,eUe),l.pf=function(t,n){xpn(this,u(t,135),n)},O(gk,"FanProcessor",1840),M(327,22,{3:1,35:1,22:1,327:1,234:1},FT),l.Kf=function(){switch(this.g){case 0:return new $$e;case 1:return new eUe;case 2:return new q5;case 3:return new yQ;case 4:return new xQ;case 5:return new dL;default:throw ee(new Dn(uoe+(this.f!=null?this.f:""+this.g)))}};var Kle,Wle,Yle,Xle,Qle,Kq,cwt=Gr(gk,L6e,327,Kr,Xen,oWt),uwt;M(1843,1,bs,yQ),l.pf=function(t,n){i1n(this,u(t,135),n)},l.a=0,O(gk,"LevelHeightProcessor",1843),M(1844,1,t0,kQ),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(gk,"LevelHeightProcessor/1",1844),M(1841,1,bs,q5),l.pf=function(t,n){hhn(this,u(t,135),n)},l.a=0,O(gk,"NeighborsProcessor",1841),M(1842,1,t0,pB),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(gk,"NeighborsProcessor/1",1842),M(1845,1,bs,xQ),l.pf=function(t,n){r1n(this,u(t,135),n)},l.a=0,O(gk,"NodePositionProcessor",1845),M(1839,1,bs,$$e),l.pf=function(t,n){L2n(this,u(t,135))},O(gk,"RootProcessor",1839),M(1846,1,bs,dL),l.pf=function(t,n){Rin(u(t,135))},O(gk,"Untreeifyer",1846);var bO,yS,lwt,Zle,Wq,kS,Jle,Yq,Xq,fE,xS,Qq,Hg,h_e,hwt,ehe,Ry,the,f_e;M(851,1,$h,k3),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Wke),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),g_e),(Dg(),ws)),k_e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Yke),""),"Search Order"),"Which search order to use when computing a spanning tree."),d_e),ws),E_e),sn(jn)))),lut((new AL,t))};var fwt,d_e,dwt,g_e;O(Hz,"MrTreeMetaDataProvider",851),M(994,1,$h,AL),l.Qe=function(t){lut(t)};var gwt,p_e,pwt,bwt,vwt,wwt,b_e,mwt,v_e,ywt,Zq,w_e,kwt,m_e,xwt;O(Hz,"MrTreeOptions",994),M(995,1,{},EQ),l.$e=function(){var t;return t=new tUe,t},l._e=function(t){},O(Hz,"MrTreeOptions/MrtreeFactory",995),M(480,22,{3:1,35:1,22:1,480:1},Jpe);var nhe,y_e,k_e=Gr(Hz,"OrderWeighting",480,Kr,qQt,cWt),Ewt;M(425,22,{3:1,35:1,22:1,425:1},e2e);var x_e,rhe,E_e=Gr(Hz,"TreeifyingOrder",425,Kr,GQt,lWt),Twt;M(1459,1,Wc,SL),l.Yf=function(t){return u(t,135),_wt},l.pf=function(t,n){Fnn(this,u(t,135),n)};var _wt;O("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),M(1460,1,Wc,_J),l.Yf=function(t){return u(t,135),Cwt},l.pf=function(t,n){khn(this,u(t,135),n)};var Cwt;O("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),M(1461,1,Wc,TJ),l.Yf=function(t){return u(t,135),Swt},l.pf=function(t,n){R0n(this,u(t,135),n)},l.a=0;var Swt;O("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),M(1462,1,Wc,uF),l.Yf=function(t){return u(t,135),Awt},l.pf=function(t,n){lcn(u(t,135),n)};var Awt;O("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var ES;M(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},t2e),l.Kf=function(){return bnt(this)},l.Xf=function(){return bnt(this)};var Jq,dE,T_e=Gr(Xke,"RadialLayoutPhases",495,Kr,VQt,uWt),Lwt;M(1131,209,bb,NHe),l.Ze=function(t,n){var r,i,a,h,d,v;if(r=mst(this,t),Er(n,"Radial layout",r.c.length),Bt(Nt(jt(t,(Qm(),N_e))))||Rj((i=new ar((xm(),new wm(t))),i)),v=Sun(t),So(t,(JT(),ES),v),!v)throw ee(new Dn("The given graph is not a tree!"));for(a=We(gt(jt(t,nV))),a==0&&(a=Ost(t)),So(t,nV,a),d=new C(mst(this,t));d.a<d.c.c.length;)h=u(Y(d),51),h.pf(t,Vc(n,1));lr(n)},O(Xke,"RadialLayoutProvider",1131),M(549,1,Ri,ZF),l.ue=function(t,n){return J0n(this.a,this.b,u(t,33),u(n,33))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},l.a=0,l.b=0,O(Xke,"RadialUtil/lambda$0$Type",549),M(1375,1,bs,_Q),l.pf=function(t,n){wbn(u(t,33),n)},O(Vht,"CalculateGraphSize",1375),M(442,22,{3:1,35:1,22:1,442:1,234:1},cte),l.Kf=function(){switch(this.g){case 0:return new bB;case 1:return new TQ;case 2:return new _Q;default:throw ee(new Dn(uoe+(this.f!=null?this.f:""+this.g)))}};var ihe,she,ahe,Mwt=Gr(Vht,L6e,442,Kr,$Zt,hWt),Dwt;M(645,1,{}),l.e=1,l.g=0,O(Uoe,"AbstractRadiusExtensionCompaction",645),M(1772,645,{},IVe),l.hg=function(t){var n,r,i,a,h,d,v,x,T;for(this.c=u(jt(t,(JT(),ES)),33),XJ(this,this.c),this.d=Mie(u(jt(t,(Qm(),vO)),293)),x=u(jt(t,che),19),x&&sv(this,x.a),v=gt(jt(t,(di(),Bb))),sT(this,(An(v),v)),T=sy(this.c),this.d&&this.d.lg(T),ggn(this,T),d=new Cl(ie(ne(fs,1),Uht,33,0,[this.c])),r=0;r<2;r++)for(n=0;n<T.c.length;n++)a=new Cl(ie(ne(fs,1),Uht,33,0,[(En(n,T.c.length),u(T.c[n],33))])),h=n<T.c.length-1?(En(n+1,T.c.length),u(T.c[n+1],33)):(En(0,T.c.length),u(T.c[0],33)),i=n==0?u(It(T,T.c.length-1),33):(En(n-1,T.c.length),u(T.c[n-1],33)),Cit(this,(En(n,T.c.length),u(T.c[n],33),d),i,h,a)},O(Uoe,"AnnulusWedgeCompaction",1772),M(1374,1,bs,TQ),l.pf=function(t,n){Dcn(u(t,33),n)},O(Uoe,"GeneralCompactor",1374),M(1771,645,{},CQ),l.hg=function(t){var n,r,i,a;r=u(jt(t,(JT(),ES)),33),this.f=r,this.b=Mie(u(jt(t,(Qm(),vO)),293)),a=u(jt(t,che),19),a&&sv(this,a.a),i=gt(jt(t,(di(),Bb))),sT(this,(An(i),i)),n=sy(r),this.b&&this.b.lg(n),rst(this,n)},l.a=0,O(Uoe,"RadialCompaction",1771),M(1779,1,{},SQ),l.ig=function(t){var n,r,i,a,h,d;for(this.a=t,n=0,d=sy(t),i=0,h=new C(d);h.a<h.c.c.length;)for(a=u(Y(h),33),++i,r=i;r<d.c.length;r++)Apn(this,a,(En(r,d.c.length),u(d.c[r],33)))&&(n+=1);return n},O(Zke,"CrossingMinimizationPosition",1779),M(1777,1,{},AQ),l.ig=function(t){var n,r,i,a,h,d,v,x,T,L,P,z,q;for(i=0,r=new ur(dr(z0(t).a.Kc(),new V));Vr(r);)n=u(Nr(r),79),v=Ho(u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82)),T=v.i+v.g/2,L=v.j+v.f/2,a=t.i+t.g/2,h=t.j+t.f/2,P=new $a,P.a=T-a,P.b=L-h,d=new Ft(P.a,P.b),t7(d,t.g,t.f),P.a-=d.a,P.b-=d.b,a=T-P.a,h=L-P.b,x=new Ft(P.a,P.b),t7(x,v.g,v.f),P.a-=x.a,P.b-=x.b,T=a+P.a,L=h+P.b,z=T-a,q=L-h,i+=b.Math.sqrt(z*z+q*q);return i},O(Zke,"EdgeLengthOptimization",1777),M(1778,1,{},LQ),l.ig=function(t){var n,r,i,a,h,d,v,x,T,L,P;for(i=0,r=new ur(dr(z0(t).a.Kc(),new V));Vr(r);)n=u(Nr(r),79),v=Ho(u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82)),x=v.i+v.g/2,T=v.j+v.f/2,a=u(jt(v,(di(),Nk)),8),h=t.i+a.a+t.g/2,d=t.j+a.b+t.f,L=x-h,P=T-d,i+=b.Math.sqrt(L*L+P*P);return i},O(Zke,"EdgeLengthPositionOptimization",1778),M(1373,645,bs,bB),l.pf=function(t,n){P1n(this,u(t,33),n)},O("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),M(426,22,{3:1,35:1,22:1,426:1},n2e);var __e,ohe,C_e=Gr(SC,"AnnulusWedgeCriteria",426,Kr,UQt,fWt),Iwt;M(380,22,{3:1,35:1,22:1,380:1},ute);var eV,S_e,A_e,L_e=Gr(SC,h6e,380,Kr,HZt,dWt),Owt;M(852,1,$h,CJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Jke),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),lt(0)),(Dg(),Tc)),Ja),sn((t1(),ua))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,e8e),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Woe),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),M_e),ws),L_e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Yoe),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),lt(1)),Tc),Ja),sn(jn)))),ma(t,Yoe,Woe,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,t8e),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),I_e),ws),G_e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,n8e),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),O_e),ws),C_e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,r8e),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),D_e),ws),$_e),sn(jn)))),_ut((new lF,t))};var Nwt,Pwt,M_e,Bwt,D_e,Fwt,Rwt,jwt,I_e,$wt,O_e;O(SC,"RadialMetaDataProvider",852),M(996,1,$h,lF),l.Qe=function(t){_ut(t)};var che,uhe,Hwt,zwt,Gwt,qwt,N_e,P_e,tV,Vwt,Uwt,nV,vO,Kwt,B_e;O(SC,"RadialOptions",996),M(997,1,{},MQ),l.$e=function(){var t;return t=new NHe,t},l._e=function(t){},O(SC,"RadialOptions/RadialFactory",997),M(340,22,{3:1,35:1,22:1,340:1},xR);var F_e,R_e,j_e,lhe,$_e=Gr(SC,"RadialTranslationStrategy",340,Kr,PJt,gWt),Wwt;M(293,22,{3:1,35:1,22:1,293:1},lte);var H_e,hhe,z_e,G_e=Gr(SC,"SortingStrategy",293,Kr,GZt,pWt),Ywt;M(1449,1,Wc,vB),l.Yf=function(t){return u(t,33),null},l.pf=function(t,n){q1n(this,u(t,33),n)},l.c=0,O("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),M(1775,1,{},DQ),l.jg=function(t){return hrt(t)},O(Kht,"AnnulusWedgeByLeafs",1775),M(1776,1,{},wB),l.jg=function(t){return wit(this,t)},O(Kht,"AnnulusWedgeByNodeSpace",1776),M(1450,1,Wc,mB),l.Yf=function(t){return u(t,33),null},l.pf=function(t,n){nun(this,u(t,33),n)},O("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),M(811,1,{},rpe),l.kg=function(t){},l.lg=function(t){Xje(this,t)},O(i8e,"IDSorter",811),M(1774,1,Ri,yB),l.ue=function(t,n){return Cnn(u(t,33),u(n,33))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(i8e,"IDSorter/lambda$0$Type",1774),M(1773,1,{},get),l.kg=function(t){yXe(this,t)},l.lg=function(t){var n;t.dc()||(this.e||(n=bKe(u(t.Xb(0),33)),yXe(this,n)),Xje(this.e,t))},O(i8e,"PolarCoordinateSorter",1773),M(1136,209,bb,IQ),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(Er(n,"Rectangle Packing",1),n.n&&n.n&&t&&wf(n,mf(t),(Ol(),rh)),r=We(gt(jt(t,(yse(),smt)))),Q=u(jt(t,nCe),381),Te=Bt(Nt(jt(t,J_e))),kt=Bt(Nt(jt(t,tCe))),P=Bt(Nt(jt(t,X_e))),Gt=u(jt(t,fmt),116),it=We(gt(jt(t,gmt))),a=Bt(Nt(jt(t,iCe))),z=Bt(Nt(jt(t,Q_e))),Se=Bt(Nt(jt(t,Z_e))),gr=We(gt(jt(t,sCe))),Nn=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a),det(Nn),Se){for(K=new at,x=new ir(Nn);x.e!=x.i.gc();)d=u(br(x),33),X2(d,wO)&&(K.c[K.c.length]=d);for(T=new C(K);T.a<T.c.c.length;)d=u(Y(T),33),g$(Nn,d);for(fn(),aa(K,new OQ),L=new C(K);L.a<L.c.c.length;)d=u(Y(L),33),Ut=u(jt(d,wO),19).a,Ut=b.Math.min(Ut,Nn.i),B_(Nn,Ut,d);for(ue=0,v=new ir(Nn);v.e!=v.i.gc();)d=u(br(v),33),So(d,Y_e,lt(ue)),++ue}Ke=n4e(t),Ke.a-=Gt.b+Gt.c,Ke.b-=Gt.d+Gt.a,Ne=Ke.a,gr<0||gr<Ke.a?(q=new LUe(r,Q,Te),h=kgn(q,Nn,it,Gt),n.n&&n.n&&t&&wf(n,mf(t),(Ol(),rh))):h=new Xte(r,gr,0,(l7(),CS)),Ke.a+=Gt.b+Gt.c,Ke.b+=Gt.d+Gt.a,kt||(det(Nn),Rn=new $Xe(r,P,z,a,it),Ne=b.Math.max(Ke.a,h.c),h=Jbn(Rn,Nn,Ne,Ke,n,t,Gt)),Znn(Nn,Gt),iw(t,h.c+(Gt.b+Gt.c),h.b+(Gt.d+Gt.a),!1,!0),Bt(Nt(jt(t,eCe)))||Rj((i=new ar((xm(),new wm(t))),i)),n.n&&n.n&&t&&wf(n,mf(t),(Ol(),rh)),lr(n)},O(Qht,"RectPackingLayoutProvider",1136),M(1137,1,Ri,OQ),l.ue=function(t,n){return Grn(u(t,33),u(n,33))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Qht,"RectPackingLayoutProvider/lambda$0$Type",1137),M(1256,1,{},LUe),l.a=0,l.c=!1,O(zz,"AreaApproximation",1256);var q_e=rs(zz,"BestCandidateFilter");M(638,1,{526:1},L9),l.mg=function(t,n,r){var i,a,h,d,v,x;for(x=new at,h=ps,v=new C(t);v.a<v.c.c.length;)d=u(Y(v),220),h=b.Math.min(h,(d.c+(r.b+r.c))*(d.b+(r.d+r.a)));for(a=new C(t);a.a<a.c.c.length;)i=u(Y(a),220),(i.c+(r.b+r.c))*(i.b+(r.d+r.a))==h&&(x.c[x.c.length]=i);return x},O(zz,"AreaFilter",638),M(639,1,{526:1},gL),l.mg=function(t,n,r){var i,a,h,d,v,x;for(v=new at,x=ps,d=new C(t);d.a<d.c.c.length;)h=u(Y(d),220),x=b.Math.min(x,b.Math.abs((h.c+(r.b+r.c))/(h.b+(r.d+r.a))-n));for(a=new C(t);a.a<a.c.c.length;)i=u(Y(a),220),b.Math.abs((i.c+(r.b+r.c))/(i.b+(r.d+r.a))-n)==x&&(v.c[v.c.length]=i);return v},O(zz,"AspectRatioFilter",639),M(637,1,{526:1},M9),l.mg=function(t,n,r){var i,a,h,d,v,x;for(x=new at,h=Ds,v=new C(t);v.a<v.c.c.length;)d=u(Y(v),220),h=b.Math.max(h,eve(d.c+(r.b+r.c),d.b+(r.d+r.a),d.a));for(a=new C(t);a.a<a.c.c.length;)i=u(Y(a),220),eve(i.c+(r.b+r.c),i.b+(r.d+r.a),i.a)==h&&(x.c[x.c.length]=i);return x},O(zz,"ScaleMeasureFilter",637),M(381,22,{3:1,35:1,22:1,381:1},hte);var V_e,U_e,fhe,K_e=Gr(Xoe,"OptimizationGoal",381,Kr,zZt,bWt),Xwt;M(856,1,$h,gF),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,s8e),""),"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."),W_e),(Dg(),ws)),K_e),sn((t1(),ua))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,a8e),""),"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."),(In(),!0)),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,o8e),""),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,c8e),""),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,u8e),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,l8e),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Qoe),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),qa),Vs),sn(ua)))),ma(t,Qoe,Gz,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,h8e),""),"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),Go),ka),sn(ua)))),Kut((new S8,t))};var Qwt,Zwt,Jwt,emt,tmt,nmt,W_e,rmt,imt;O(Xoe,"RectPackingMetaDataProvider",856),M(1004,1,$h,S8),l.Qe=function(t){Kut(t)};var smt,amt,Y_e,wO,X_e,Q_e,Z_e,omt,J_e,cmt,umt,lmt,hmt,eCe,tCe,nCe,fmt,rCe,dmt,iCe,gmt,sCe;O(Xoe,"RectPackingOptions",1004),M(1005,1,{},NQ),l.$e=function(){var t;return t=new IQ,t},l._e=function(t){},O(Xoe,"RectPackingOptions/RectpackingFactory",1005),M(1257,1,{},$Xe),l.a=0,l.b=!1,l.c=0,l.d=0,l.e=!1,l.f=!1,l.g=0,O("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),M(187,1,{187:1},Kre),l.a=0,l.c=!1,l.d=0,l.e=0,l.f=0,l.g=0,l.i=0,l.k=!1,l.o=ps,l.p=ps,l.r=0,l.s=0,l.t=0,O(LI,"Block",187),M(211,1,{211:1},Hj),l.a=0,l.b=0,l.d=0,l.e=0,l.f=0,O(LI,"BlockRow",211),M(443,1,{443:1},Kve),l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,O(LI,"BlockStack",443),M(220,1,{220:1},Xte,kye),l.a=0,l.b=0,l.c=0,l.d=0,l.e=0;var fmn=O(LI,"DrawingData",220);M(355,22,{3:1,35:1,22:1,355:1},aM);var Dk,W4,TS,_S,CS,pmt=Gr(LI,"DrawingDataDescriptor",355,Kr,wen,vWt),bmt;M(200,1,{200:1},rwe),l.b=0,l.c=0,l.e=0,l.f=0,O(LI,"RectRow",200),M(756,1,{},Zme),l.j=0,O(by,fht,756),M(1245,1,{},PQ),l.Je=function(t){return Fp(t.a,t.b)},O(by,dht,1245),M(1246,1,{},GRe),l.Je=function(t){return _en(this.a,t)},O(by,ght,1246),M(1247,1,{},qRe),l.Je=function(t){return Ian(this.a,t)},O(by,pht,1247),M(1248,1,{},VRe),l.Je=function(t){return Arn(this.a,t)},O(by,"ElkGraphImporter/lambda$3$Type",1248),M(1249,1,{},URe),l.Je=function(t){return ffn(this.a,t)},O(by,bht,1249),M(1133,209,bb,BHe),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q;for(X2(t,(FD(),oV))&&(q=Hr(jt(t,(Pie(),CCe))),h=Dse(Dx(),q),h&&(d=u(Bne(h.f),209),d.Ze(t,Vc(n,1)))),So(t,mhe,(VM(),aV)),So(t,yhe,(RD(),whe)),So(t,khe,(gD(),cV)),v=u(jt(t,(Pie(),ECe)),19).a,Er(n,"Overlap removal",1),Bt(Nt(jt(t,Bmt))),x=new Ys,T=new KRe(x),i=new Zme,r=Wut(i,t),L=!0,a=0;a<v&&L;){if(Bt(Nt(jt(t,TCe)))){if(x.a.$b(),uhn(new Nqe(T),r.i),x.a.gc()==0)break;r.e=x}for(Kj(this.b),Kd(this.b,(TD(),rV),(CT(),mO)),Kd(this.b,iV,r.g),Kd(this.b,sV,(aR(),phe)),this.a=JH(this.b,r),z=new C(this.a);z.a<z.c.c.length;)P=u(Y(z),51),P.pf(r,Vc(n,1));Ccn(i,r),L=Bt(Nt(W(r,(Nx(),g7e)))),++a}uut(i,r),lr(n)},O(by,"OverlapRemovalLayoutProvider",1133),M(1134,1,{},KRe),O(by,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),M(437,22,{3:1,35:1,22:1,437:1},fte);var rV,iV,sV,dhe=Gr(by,"SPOrEPhases",437,Kr,qZt,wWt),vmt;M(1255,1,{},FHe),O(by,"ShrinkTree",1255),M(1135,209,bb,z$e),l.Ze=function(t,n){var r,i,a,h,d;X2(t,(FD(),oV))&&(d=Hr(jt(t,oV)),a=Dse(Dx(),d),a&&(h=u(Bne(a.f),209),h.Ze(t,Vc(n,1)))),i=new Zme,r=Wut(i,t),Y1n(this.a,r,Vc(n,1)),uut(i,r)},O(by,"ShrinkTreeLayoutProvider",1135),M(300,134,{3:1,300:1,94:1,134:1},bYe),l.c=!1,O("org.eclipse.elk.alg.spore.graph","Graph",300),M(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},Oze),l.Kf=function(){return ktt(this)},l.Xf=function(){return ktt(this)};var ghe,aCe=Gr(vy,h6e,482,Kr,tQt,mWt),wmt;M(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},OVe),l.Kf=function(){return new kB},l.Xf=function(){return new kB};var phe,mmt=Gr(vy,"OverlapRemovalStrategy",551,Kr,nQt,yWt),ymt;M(430,22,{3:1,35:1,22:1,430:1},r2e);var aV,bhe,oCe=Gr(vy,"RootSelection",430,Kr,WQt,kWt),kmt;M(316,22,{3:1,35:1,22:1,316:1},oM);var cCe,vhe,whe,uCe,lCe,hCe=Gr(vy,"SpanningTreeCostFunction",316,Kr,pen,xWt),xmt;M(1002,1,$h,hF),l.Qe=function(t){jct(t)};var fCe,dCe,Emt,Tmt,gCe,pCe,mhe,yhe,khe,_mt,Cmt,oV;O(vy,"SporeCompactionOptions",1002),M(1003,1,{},pL),l.$e=function(){var t;return t=new z$e,t},l._e=function(t){},O(vy,"SporeCompactionOptions/SporeCompactionFactory",1003),M(855,1,$h,fF),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Zoe),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(Dg(),gE)),Et),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,tce),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),kCe),ws),SCe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,f8e),nce),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),mCe),ws),LCe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,d8e),nce),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),wCe),ws),hCe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Joe),nce),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),gE),Et),sn(jn)))),ma(t,Joe,ece,Imt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ece),nce),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),vCe),ws),oCe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,g8e),cke),"Compaction Strategy"),"This option defines how the compaction is applied."),bCe),ws),aCe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,p8e),cke),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(In(),!1)),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,b8e),Zht),"Upper limit for iterations of overlap removal"),null),lt(64)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,v8e),Zht),"Whether to run a supplementary scanline overlap check."),null),!0),qa),Vs),sn(jn)))),Vot((new dF,t)),jct((new hF,t))};var Smt,bCe,Amt,Lmt,Mmt,Dmt,Imt,Omt,vCe,Nmt,wCe,Pmt,mCe,yCe,kCe,xCe;O(vy,"SporeMetaDataProvider",855),M(Ig,1,$h,dF),l.Qe=function(t){Vot(t)};var Bmt,ECe,TCe,_Ce,Fmt,CCe;O(vy,"SporeOverlapRemovalOptions",Ig),M(1001,1,{},BQ),l.$e=function(){var t;return t=new BHe,t},l._e=function(t){},O(vy,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),M(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},EWe),l.Kf=function(){return xtt(this)},l.Xf=function(){return xtt(this)};var mO,SCe=Gr(vy,"StructureExtractionStrategy",530,Kr,rQt,EWt),Rmt;M(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},i2e),l.Kf=function(){return vnt(this)},l.Xf=function(){return vnt(this)};var ACe,cV,LCe=Gr(vy,"TreeConstructionStrategy",429,Kr,KQt,TWt),jmt;M(1443,1,Wc,FQ),l.Yf=function(t){return u(t,300),new Xs},l.pf=function(t,n){Bcn(u(t,300),n)},O(Jht,"DelaunayTriangulationPhase",1443),M(1444,1,Vn,WRe),l.td=function(t){st(this.a,u(t,65).a)},O(Jht,"DelaunayTriangulationPhase/lambda$0$Type",1444),M(783,1,Wc,npe),l.Yf=function(t){return u(t,300),new Xs},l.pf=function(t,n){this.ng(u(t,300),n)},l.ng=function(t,n){var r,i,a;Er(n,"Minimum spanning tree construction",1),t.d?i=t.d.a:i=u(It(t.i,0),65).a,Bt(Nt(W(t,(Nx(),UC))))?a=Qse(t.e,i,(r=t.b,r)):a=Qse(t.e,i,t.b),rtt(this,a,t),lr(n)},O(rce,"MinSTPhase",783),M(1446,783,Wc,C$e),l.ng=function(t,n){var r,i,a,h;Er(n,"Maximum spanning tree construction",1),r=new YRe(t),t.d?a=t.d.c:a=u(It(t.i,0),65).c,Bt(Nt(W(t,(Nx(),UC))))?h=Qse(t.e,a,(i=r,i)):h=Qse(t.e,a,r),rtt(this,h,t),lr(n)},O(rce,"MaxSTPhase",1446),M(1447,1,{},YRe),l.Je=function(t){return Cqt(this.a,t)},O(rce,"MaxSTPhase/lambda$0$Type",1447),M(1445,1,Vn,XRe),l.td=function(t){vVt(this.a,u(t,65))},O(rce,"MinSTPhase/lambda$0$Type",1445),M(785,1,Wc,kB),l.Yf=function(t){return u(t,300),new Xs},l.pf=function(t,n){Yun(this,u(t,300),n)},l.a=!1,O(ice,"GrowTreePhase",785),M(786,1,Vn,Ibe),l.td=function(t){frn(this.a,this.b,this.c,u(t,221))},O(ice,"GrowTreePhase/lambda$0$Type",786),M(1448,1,Wc,RQ),l.Yf=function(t){return u(t,300),new Xs},l.pf=function(t,n){ion(this,u(t,300),n)},O(ice,"ShrinkTreeCompactionPhase",1448),M(784,1,Vn,Obe),l.td=function(t){Bfn(this.a,this.b,this.c,u(t,221))},O(ice,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var MCe=rs(Ic,"IGraphElementVisitor");M(860,1,{527:1},hXe),l.og=function(t){var n;n=z0n(this,t),$o(n,u(Jn(this.b,t),94)),$1n(this,t,n)};var $mt,Hmt;O(m4,"LayoutConfigurator",860);var dmn=rs(m4,"LayoutConfigurator/IPropertyHolderOptionFilter");M(932,1,{1933:1},jQ),l.pg=function(t,n){return q6(),!t.Xe(n)},O(m4,"LayoutConfigurator/lambda$0$Type",932),M(933,1,{1933:1},$Q),l.pg=function(t,n){return IHe(t,n)},O(m4,"LayoutConfigurator/lambda$1$Type",933),M(931,1,{831:1},HQ),l.qg=function(t,n){return q6(),!t.Xe(n)},O(m4,"LayoutConfigurator/lambda$2$Type",931),M(934,1,gi,bGe),l.Mb=function(t){return zXt(this.a,this.b,u(t,1933))},O(m4,"LayoutConfigurator/lambda$3$Type",934),M(858,1,{},zQ),O(m4,"RecursiveGraphLayoutEngine",858),M(296,60,q0,n$e,A3),O(m4,"UnsupportedConfigurationException",296),M(453,60,q0,mT),O(m4,"UnsupportedGraphException",453),M(754,1,{}),O(Ic,"AbstractRandomListAccessor",754),M(500,754,{},KD),l.rg=function(){return null},l.d=!0,l.e=!0,l.f=0,O(D7,"AlgorithmAssembler",500),M(1236,1,gi,GQ),l.Mb=function(t){return!!u(t,123)},O(D7,"AlgorithmAssembler/lambda$0$Type",1236),M(1237,1,{},QRe),l.Kb=function(t){return VGt(this.a,u(t,123))},O(D7,"AlgorithmAssembler/lambda$1$Type",1237),M(1238,1,gi,qQ),l.Mb=function(t){return!!u(t,80)},O(D7,"AlgorithmAssembler/lambda$2$Type",1238),M(1239,1,Vn,ZRe),l.td=function(t){Ul(this.a,u(t,80))},O(D7,"AlgorithmAssembler/lambda$3$Type",1239),M(1240,1,Vn,vGe),l.td=function(t){iUt(this.a,this.b,u(t,234))},O(D7,"AlgorithmAssembler/lambda$4$Type",1240),M(1355,1,Ri,VQ),l.ue=function(t,n){return wQt(u(t,234),u(n,234))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(D7,"EnumBasedFactoryComparator",1355),M(80,754,{80:1},Xs),l.rg=function(){return new Ys},l.a=0,O(D7,"LayoutProcessorConfiguration",80),M(1013,1,{527:1},LL),l.og=function(t){L_(Gmt,new JRe(t))};var zmt,Gmt,qmt;O(oc,"DeprecatedLayoutOptionReplacer",1013),M(1014,1,Vn,UQ),l.td=function(t){otn(u(t,160))},O(oc,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),M(1015,1,Vn,KQ),l.td=function(t){Msn(u(t,160))},O(oc,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),M(1016,1,{},JRe),l.Od=function(t,n){sUt(this.a,u(t,146),u(n,38))},O(oc,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),M(149,1,{686:1,149:1},hb),l.Fb=function(t){return mwe(this,t)},l.sg=function(){return this.b},l.tg=function(){return this.c},l.ne=function(){return this.e},l.Hb=function(){return Lg(this.c)},l.Ib=function(){return"Layout Algorithm: "+this.c};var gmn=O(oc,"LayoutAlgorithmData",149);M(263,1,{},og),O(oc,"LayoutAlgorithmData/Builder",263),M(1017,1,{527:1},WQ),l.og=function(t){me(t,239)&&!Bt(Nt(t.We((di(),pV))))&&_pn(u(t,33))},O(oc,"LayoutAlgorithmResolver",1017),M(229,1,{686:1,229:1},N6),l.Fb=function(t){return me(t,229)?on(this.b,u(t,229).b):!1},l.sg=function(){return this.a},l.tg=function(){return this.b},l.ne=function(){return this.d},l.Hb=function(){return Lg(this.b)},l.Ib=function(){return"Layout Type: "+this.b},O(oc,"LayoutCategoryData",229),M(344,1,{},um),O(oc,"LayoutCategoryData/Builder",344),M(867,1,{},Not);var xhe;O(oc,"LayoutMetaDataService",867),M(868,1,{},uWe),O(oc,"LayoutMetaDataService/Registry",868),M(478,1,{478:1},xB),O(oc,"LayoutMetaDataService/Registry/Triple",478),M(869,1,T4,YQ),l.ug=function(){return new $a},O(oc,"LayoutMetaDataService/lambda$0$Type",869),M(870,1,wy,XQ),l.vg=function(t){return fc(u(t,8))},O(oc,"LayoutMetaDataService/lambda$1$Type",870),M(879,1,T4,QQ),l.ug=function(){return new at},O(oc,"LayoutMetaDataService/lambda$10$Type",879),M(880,1,wy,ZQ),l.vg=function(t){return new Gu(u(t,12))},O(oc,"LayoutMetaDataService/lambda$11$Type",880),M(881,1,T4,JQ),l.ug=function(){return new as},O(oc,"LayoutMetaDataService/lambda$12$Type",881),M(882,1,wy,eZ),l.vg=function(t){return CM(u(t,68))},O(oc,"LayoutMetaDataService/lambda$13$Type",882),M(883,1,T4,tZ),l.ug=function(){return new Ys},O(oc,"LayoutMetaDataService/lambda$14$Type",883),M(884,1,wy,nZ),l.vg=function(t){return Nj(u(t,53))},O(oc,"LayoutMetaDataService/lambda$15$Type",884),M(885,1,T4,rZ),l.ug=function(){return new C0},O(oc,"LayoutMetaDataService/lambda$16$Type",885),M(886,1,wy,Pc),l.vg=function(t){return Zj(u(t,53))},O(oc,"LayoutMetaDataService/lambda$17$Type",886),M(887,1,T4,iZ),l.ug=function(){return new zge},O(oc,"LayoutMetaDataService/lambda$18$Type",887),M(888,1,wy,D9),l.vg=function(t){return FUe(u(t,208))},O(oc,"LayoutMetaDataService/lambda$19$Type",888),M(871,1,T4,lc),l.ug=function(){return new $u},O(oc,"LayoutMetaDataService/lambda$2$Type",871),M(872,1,wy,eu),l.vg=function(t){return new YF(u(t,74))},O(oc,"LayoutMetaDataService/lambda$3$Type",872),M(873,1,T4,Ki),l.ug=function(){return new dT},O(oc,"LayoutMetaDataService/lambda$4$Type",873),M(874,1,wy,bL),l.vg=function(t){return new qte(u(t,142))},O(oc,"LayoutMetaDataService/lambda$5$Type",874),M(875,1,T4,aZ),l.ug=function(){return new h6},O(oc,"LayoutMetaDataService/lambda$6$Type",875),M(876,1,wy,oZ),l.vg=function(t){return new Sbe(u(t,116))},O(oc,"LayoutMetaDataService/lambda$7$Type",876),M(877,1,T4,V5),l.ug=function(){return new nl},O(oc,"LayoutMetaDataService/lambda$8$Type",877),M(878,1,wy,lm),l.vg=function(t){return new XZe(u(t,373))},O(oc,"LayoutMetaDataService/lambda$9$Type",878);var Ehe=rs(vI,"IProperty");M(23,1,{35:1,686:1,23:1,146:1},Vt),l.wd=function(t){return MVt(this,u(t,146))},l.Fb=function(t){return me(t,23)?on(this.f,u(t,23).f):me(t,146)&&on(this.f,u(t,146).tg())},l.wg=function(){var t;if(me(this.b,4)){if(t=Rye(this.b),t==null)throw ee(new Vo(nft+this.f+"'. Make sure it's type is registered with the "+(S0(GO),GO.k)+w8e));return t}else return this.b},l.sg=function(){return this.d},l.tg=function(){return this.f},l.ne=function(){return this.i},l.Hb=function(){return Lg(this.f)},l.Ib=function(){return"Layout Option: "+this.f},O(oc,"LayoutOptionData",23),M(24,1,{},zt),O(oc,"LayoutOptionData/Builder",24),M(175,22,{3:1,35:1,22:1,175:1},cM);var Nd,zg,ua,jn,Ob,Gg=Gr(oc,"LayoutOptionData/Target",175,Kr,gen,_Wt),Vmt;M(277,22,{3:1,35:1,22:1,277:1},m6);var qa,Go,ws,Ik,Tc,W1,gE,DCe,Umt=Gr(oc,"LayoutOptionData/Type",277,Kr,Vtn,CWt),Kmt,SS,ICe;M(110,1,{110:1},k6,fh,Bj),l.Fb=function(t){var n;return t==null||!me(t,110)?!1:(n=u(t,110),zc(this.c,n.c)&&zc(this.d,n.d)&&zc(this.b,n.b)&&zc(this.a,n.a))},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[this.c,this.d,this.b,this.a]))},l.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},l.a=0,l.b=0,l.c=0,l.d=0,O(xI,"ElkRectangle",110),M(8,1,{3:1,4:1,8:1,414:1},$a,zne,Ft,Do),l.Fb=function(t){return set(this,t)},l.Hb=function(){return Q8(this.a)+Don(Q8(this.b))},l.Jf=function(t){var n,r,i,a;for(i=0;i<t.length&&Htt((zr(i,t.length),t.charCodeAt(i)),oht);)++i;for(n=t.length;n>0&&Htt((zr(n-1,t.length),t.charCodeAt(n-1)),cht);)--n;if(i>=n)throw ee(new Dn("The given string does not contain any numbers."));if(a=ay(t.substr(i,n-i),`,|;|\r|
-`),a.length!=2)throw ee(new Dn("Exactly two numbers are expected, "+a.length+" were found."));try{this.a=ty(ey(a[0])),this.b=ty(ey(a[1]))}catch(h){throw h=ts(h),me(h,127)?(r=h,ee(new Dn(uht+r))):ee(h)}},l.Ib=function(){return"("+this.a+","+this.b+")"},l.a=0,l.b=0;var ea=O(xI,"KVector",8);M(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},$u,YF,EVe),l.Pc=function(){return Xrn(this)},l.Jf=function(t){var n,r,i,a,h,d;i=ay(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
-`),Ph(this);try{for(r=0,h=0,a=0,d=0;r<i.length;)i[r]!=null&&ey(i[r]).length>0&&(h%2==0?a=ty(i[r]):d=ty(i[r]),h>0&&h%2!=0&&oi(this,new Ft(a,d)),++h),++r}catch(v){throw v=ts(v),me(v,127)?(n=v,ee(new Dn("The given string does not match the expected format for vectors."+n))):ee(v)}},l.Ib=function(){var t,n,r;for(t=new jl("("),n=si(this,0);n.b!=n.d.c;)r=u(ii(n),8),Yr(t,r.a+","+r.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var OCe=O(xI,"KVectorChain",74);M(248,22,{3:1,35:1,22:1,248:1},RT);var The,uV,lV,yO,kO,hV,NCe=Gr(zh,"Alignment",248,Kr,qen,SWt),Wmt;M(979,1,$h,AJ),l.Qe=function(t){sct(t)};var PCe,_he,Ymt,BCe,FCe,Xmt,RCe,Qmt,Zmt,jCe,$Ce,Jmt;O(zh,"BoxLayouterOptions",979),M(980,1,{},sZ),l.$e=function(){var t;return t=new hZ,t},l._e=function(t){},O(zh,"BoxLayouterOptions/BoxFactory",980),M(291,22,{3:1,35:1,22:1,291:1},jT);var xO,Che,EO,TO,_O,She,Ahe=Gr(zh,"ContentAlignment",291,Kr,Gen,AWt),eyt;M(684,1,$h,gp),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,ift),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Dg(),gE)),Et),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,sft),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),W1),gmn),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Cke),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),HCe),ws),NCe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,uk),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,y8e),""),"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."),W1),OCe),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Fz),""),"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."),GCe),Ik),Ahe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,AI),""),"Debug Mode"),"Whether additional debug information shall be generated."),(In(),!1)),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Lke),""),u6e),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),qCe),ws),MS),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,CI),""),"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."),KCe),ws),Hhe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Gz),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Bz),""),"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`."),QCe),ws),BSe),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,cw),""),"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."),oSe),W1),z7e),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yI),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Hoe),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mC),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,aoe),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),fSe),ws),jSe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Rz),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),W1),ea),Vi(ua,ie(ne(Gg,1),rt,175,0,[Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,mI),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Tc),Ja),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,wz),""),"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)."),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,wC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Rke),""),"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."),JCe),W1),OCe),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Hke),""),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,zke),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,zwn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),W1),mmn),Vi(jn,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,qke),""),"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."),eSe),W1),H7e),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Tke),""),"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),qa),Vs),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd,Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,aft),""),"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),Go),ka),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,oft),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,cft),""),"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'."),lt(100)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,uft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,lft),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),lt(4e3)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,hft),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),lt(400)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,fft),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,gft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,pft),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,m8e),"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."),zCe),ws),VSe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,fke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,eoe),z1),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,gke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,soe),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,pke),z1),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,bke),z1),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,wke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dy),z1),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yke),z1),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,kke),z1),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Go),ka),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,xke),z1),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),W1),Pyt),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd,Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Vke),z1),"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."),xSe),W1),H7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,$oe),wft),"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)."),Tc),Ja),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),ma(t,$oe,joe,cyt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,joe),wft),"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."),cSe),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Mke),mft),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),nSe),W1),z7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,A7),mft),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),rSe),Ik),xo),Vi(ua,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Oke),Vz),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),lSe),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Nke),Vz),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Pke),Vz),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Bke),Vz),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Fke),Vz),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,k4),ace),"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."),iSe),Ik),FS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,lk),ace),"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."),aSe),Ik),HSe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,hk),ace),"Node Size Minimum"),"The minimal size to which a node can be reduced."),sSe),W1),ea),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Roe),ace),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,jke),Foe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),VCe),ws),TSe),sn(zg)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mz),Foe),"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),qa),Vs),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Gwn),"font"),"Font Name"),"Font name used for a label."),gE),Et),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,bft),"font"),"Font Size"),"Font size used for a label."),Tc),Ja),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Gke),oce),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),W1),ea),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,$ke),oce),"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."),Tc),Ja),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_ke),oce),"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."),pSe),ws),oo),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Eke),oce),"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."),Go),ka),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,L7),k8e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),dSe),Ik),mV),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Dke),k8e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ike),k8e),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ske),yft),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ake),yft),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),qa),Vs),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,toe),"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),Go),ka),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vft),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),YCe),ws),MSe),sn(Nd)))),ST(t,new N6(kT(G8(z8(new um,qn),"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.'))),ST(t,new N6(kT(G8(z8(new um,"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.`))),ST(t,new N6(kT(G8(z8(new um,Xl),"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."))),ST(t,new N6(kT(G8(z8(new um,"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."))),ST(t,new N6(kT(G8(z8(new um,qht),"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."))),ST(t,new N6(kT(G8(z8(new um,"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."))),ST(t,new N6(kT(G8(z8(new um,Sd),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),qot((new pF,t)),sct((new AJ,t)),yot((new bF,t))};var AS,tyt,HCe,Ok,nyt,ryt,zCe,iyt,fV,GCe,CO,Lw,qCe,Lhe,Mhe,VCe,UCe,KCe,WCe,YCe,XCe,Y4,QCe,syt,SO,Dhe,dV,ZCe,X4,JCe,AO,eSe,tSe,nSe,Q4,rSe,Nb,iSe,gV,Z4,sSe,h2,aSe,pV,LO,Pb,oSe,ayt,cSe,oyt,cyt,uSe,lSe,Ihe,Ohe,Nhe,Phe,hSe,kl,LS,fSe,Bhe,Fhe,jy,dSe,gSe,J4,pSe,Nk,bV,Rhe,pE,uyt,jhe,lyt,hyt,bSe,fyt,vSe,dyt,Pk,wSe,vV,mSe,ySe,Bb,gyt,kSe,xSe,ESe;O(zh,"CoreOptions",684),M(103,22,{3:1,35:1,22:1,103:1},uM);var Y0,Wh,Lf,u0,X0,MS=Gr(zh,u6e,103,Kr,fen,DWt),pyt;M(272,22,{3:1,35:1,22:1,272:1},dte);var bE,$y,vE,TSe=Gr(zh,"EdgeLabelPlacement",272,Kr,UZt,IWt),byt;M(218,22,{3:1,35:1,22:1,218:1},ER);var wE,MO,Bk,$he,Hhe=Gr(zh,"EdgeRouting",218,Kr,RJt,OWt),vyt;M(312,22,{3:1,35:1,22:1,312:1},$T);var _Se,CSe,SSe,ASe,zhe,LSe,MSe=Gr(zh,"EdgeType",312,Kr,Zen,NWt),wyt;M(977,1,$h,pF),l.Qe=function(t){qot(t)};var DSe,ISe,OSe,NSe,myt,PSe,DS;O(zh,"FixedLayouterOptions",977),M(978,1,{},vL),l.$e=function(){var t;return t=new uZ,t},l._e=function(t){},O(zh,"FixedLayouterOptions/FixedFactory",978),M(334,22,{3:1,35:1,22:1,334:1},gte);var qg,wV,IS,BSe=Gr(zh,"HierarchyHandling",334,Kr,VZt,PWt),yyt;M(285,22,{3:1,35:1,22:1,285:1},TR);var l0,f2,DO,IO,kyt=Gr(zh,"LabelSide",285,Kr,FJt,BWt),xyt;M(93,22,{3:1,35:1,22:1,93:1},I3);var Q0,Mf,Yh,Df,eh,If,Xh,h0,Of,xo=Gr(zh,"NodeLabelPlacement",93,Kr,tnn,FWt),Eyt;M(249,22,{3:1,35:1,22:1,249:1},lM);var FSe,OS,d2,RSe,OO,NS=Gr(zh,"PortAlignment",249,Kr,den,RWt),Tyt;M(98,22,{3:1,35:1,22:1,98:1},HT);var Fb,Zc,f0,mE,Y1,g2,jSe=Gr(zh,"PortConstraints",98,Kr,Pen,jWt),_yt;M(273,22,{3:1,35:1,22:1,273:1},zT);var PS,BS,Z0,NO,p2,Fk,mV=Gr(zh,"PortLabelPlacement",273,Kr,Qen,$Wt),Cyt;M(61,22,{3:1,35:1,22:1,61:1},hM);var $n,Ln,_h,Ch,Ou,gu,X1,Nf,ul,Xu,Jc,ll,Nu,Pu,Pf,th,nh,Qh,Tr,cc,On,oo=Gr(zh,"PortSide",61,Kr,uen,GWt),Syt;M(981,1,$h,bF),l.Qe=function(t){yot(t)};var Ayt,Lyt,$Se,Myt,Dyt;O(zh,"RandomLayouterOptions",981),M(982,1,{},pZ),l.$e=function(){var t;return t=new vZ,t},l._e=function(t){},O(zh,"RandomLayouterOptions/RandomFactory",982),M(374,22,{3:1,35:1,22:1,374:1},_R);var Hy,PO,BO,Rb,FS=Gr(zh,"SizeConstraint",374,Kr,BJt,HWt),Iyt;M(259,22,{3:1,35:1,22:1,259:1},O3);var FO,yV,yE,Ghe,RO,RS,kV,xV,EV,HSe=Gr(zh,"SizeOptions",259,Kr,cnn,zWt),Oyt;M(370,1,{1949:1},j8),l.b=!1,l.c=0,l.d=-1,l.e=null,l.f=null,l.g=-1,l.j=!1,l.k=!1,l.n=!1,l.o=0,l.q=0,l.r=0,O(Ic,"BasicProgressMonitor",370),M(972,209,bb,hZ),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L;switch(Er(n,"Box layout",2),a=qL(gt(jt(t,(MH(),Jmt)))),h=u(jt(t,Zmt),116),r=Bt(Nt(jt(t,BCe))),i=Bt(Nt(jt(t,FCe))),u(jt(t,_he),311).g){case 0:d=(v=new Gu((!t.a&&(t.a=new ot(fs,t,10,11)),t.a)),fn(),aa(v,new eje(i)),v),x=n4e(t),T=gt(jt(t,PCe)),(T==null||(An(T),T<=0))&&(T=1.3),L=Kvn(d,a,h,x.a,x.b,r,(An(T),T)),iw(t,L.a,L.b,!1,!0);break;default:G2n(t,a,h,r)}lr(n)},O(Ic,"BoxLayoutProvider",972),M(973,1,Ri,eje),l.ue=function(t,n){return hdn(this,u(t,33),u(n,33))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},l.a=!1,O(Ic,"BoxLayoutProvider/1",973),M(157,1,{157:1},k$,xVe),l.Ib=function(){return this.c?t5e(this.c):Vp(this.b)},O(Ic,"BoxLayoutProvider/Group",157),M(311,22,{3:1,35:1,22:1,311:1},CR);var zSe,GSe,qSe,qhe,VSe=Gr(Ic,"BoxLayoutProvider/PackingMode",311,Kr,jJt,qWt),Nyt;M(974,1,Ri,fZ),l.ue=function(t,n){return gQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$0$Type",974),M(975,1,Ri,EB),l.ue=function(t,n){return oQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$1$Type",975),M(976,1,Ri,dZ),l.ue=function(t,n){return cQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$2$Type",976),M(1365,1,{831:1},gZ),l.qg=function(t,n){return oR(),!me(n,160)||IHe((q6(),u(t,160)),n)},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),M(1366,1,Vn,tje),l.td=function(t){Zrn(this.a,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),M(1367,1,Vn,lZ),l.td=function(t){u(t,94),oR()},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),M(1371,1,Vn,nje),l.td=function(t){Enn(this.a,u(t,94))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),M(1369,1,gi,wGe),l.Mb=function(t){return Rrn(this.a,this.b,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),M(1368,1,gi,mGe),l.Mb=function(t){return tUt(this.a,this.b,u(t,831))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),M(1370,1,Vn,yGe),l.td=function(t){tXt(this.a,this.b,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),M(935,1,{},cZ),l.Kb=function(t){return yqe(t)},l.Fb=function(t){return this===t},O(Ic,"ElkUtil/lambda$0$Type",935),M(936,1,Vn,kGe),l.td=function(t){dfn(this.a,this.b,u(t,79))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$1$Type",936),M(937,1,Vn,xGe),l.td=function(t){dGt(this.a,this.b,u(t,202))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$2$Type",937),M(938,1,Vn,EGe),l.td=function(t){iVt(this.a,this.b,u(t,137))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$3$Type",938),M(939,1,Vn,rje),l.td=function(t){vYt(this.a,u(t,469))},O(Ic,"ElkUtil/lambda$4$Type",939),M(342,1,{35:1,342:1},Gzt),l.wd=function(t){return IVt(this,u(t,236))},l.Fb=function(t){var n;return me(t,342)?(n=u(t,342),this.a==n.a):!1},l.Hb=function(){return _s(this.a)},l.Ib=function(){return this.a+" (exclusive)"},l.a=0,O(Ic,"ExclusiveBounds/ExclusiveLowerBound",342),M(1138,209,bb,uZ),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;for(Er(n,"Fixed Layout",1),h=u(jt(t,(di(),UCe)),218),P=0,z=0,Te=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));Te.e!=Te.i.gc();){for(ue=u(br(Te),33),Ut=u(jt(ue,(V$(),DS)),8),Ut&&(_1(ue,Ut.a,Ut.b),u(jt(ue,ISe),174).Hc((Nl(),Hy))&&(q=u(jt(ue,NSe),8),q.a>0&&q.b>0&&iw(ue,q.a,q.b,!0,!0))),P=b.Math.max(P,ue.i+ue.g),z=b.Math.max(z,ue.j+ue.f),T=new ir((!ue.n&&(ue.n=new ot(Qo,ue,1,7)),ue.n));T.e!=T.i.gc();)v=u(br(T),137),Ut=u(jt(v,DS),8),Ut&&_1(v,Ut.a,Ut.b),P=b.Math.max(P,ue.i+v.i+v.g),z=b.Math.max(z,ue.j+v.j+v.f);for(it=new ir((!ue.c&&(ue.c=new ot(xl,ue,9,9)),ue.c));it.e!=it.i.gc();)for(Ke=u(br(it),118),Ut=u(jt(Ke,DS),8),Ut&&_1(Ke,Ut.a,Ut.b),kt=ue.i+Ke.i,Gt=ue.j+Ke.j,P=b.Math.max(P,kt+Ke.g),z=b.Math.max(z,Gt+Ke.f),x=new ir((!Ke.n&&(Ke.n=new ot(Qo,Ke,1,7)),Ke.n));x.e!=x.i.gc();)v=u(br(x),137),Ut=u(jt(v,DS),8),Ut&&_1(v,Ut.a,Ut.b),P=b.Math.max(P,kt+v.i+v.g),z=b.Math.max(z,Gt+v.j+v.f);for(a=new ur(dr(z0(ue).a.Kc(),new V));Vr(a);)r=u(Nr(a),79),L=Put(r),P=b.Math.max(P,L.a),z=b.Math.max(z,L.b);for(i=new ur(dr(UD(ue).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),ls(Jd(r))!=t&&(L=Put(r),P=b.Math.max(P,L.a),z=b.Math.max(z,L.b))}if(h==($0(),wE))for(Se=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));Se.e!=Se.i.gc();)for(ue=u(br(Se),33),i=new ur(dr(z0(ue).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),d=lpn(r),d.b==0?So(r,X4,null):So(r,X4,d);Bt(Nt(jt(t,(V$(),OSe))))||(Ne=u(jt(t,myt),116),Q=P+Ne.b+Ne.c,K=z+Ne.d+Ne.a,iw(t,Q,K,!0,!0)),lr(n)},O(Ic,"FixedLayoutProvider",1138),M(373,134,{3:1,414:1,373:1,94:1,134:1},nl,XZe),l.Jf=function(t){var n,r,i,a,h,d,v,x,T;if(t)try{for(x=ay(t,";,;"),h=x,d=0,v=h.length;d<v;++d){if(a=h[d],r=ay(a,"\\:"),i=A5e(Dx(),r[0]),!i)throw ee(new Dn("Invalid option id: "+r[0]));if(T=C5e(i,r[1]),T==null)throw ee(new Dn("Invalid option value: "+r[1]));T==null?(!this.q&&(this.q=new Ar),j6(this.q,i)):(!this.q&&(this.q=new Ar),Si(this.q,i,T))}}catch(L){throw L=ts(L),me(L,102)?(n=L,ee(new Mtt(n))):ee(L)}},l.Ib=function(){var t;return t=Hr(Gl(Eu((this.q?this.q:(fn(),fn(),o0)).vc().Oc(),new Ru),$m(new jUe,new Fr,new Mn,new Oe,ie(ne(yl,1),rt,132,0,[])))),t};var Pyt=O(Ic,"IndividualSpacings",373);M(971,1,{},Ru),l.Kb=function(t){return pQt(u(t,42))},O(Ic,"IndividualSpacings/lambda$0$Type",971),M(709,1,{},vKe),l.c=0,O(Ic,"InstancePool",709),M(1275,1,{},bZ),O(Ic,"LoggedGraph",1275),M(396,22,{3:1,35:1,22:1,396:1},SR);var USe,rh,KSe,WSe,Byt=Gr(Ic,"LoggedGraph/Type",396,Kr,$Jt,VWt),Fyt;M(46,1,{20:1,46:1},_a),l.Jc=function(t){Da(this,t)},l.Fb=function(t){var n,r,i;return me(t,46)?(r=u(t,46),n=this.a==null?r.a==null:Ci(this.a,r.a),i=this.b==null?r.b==null:Ci(this.b,r.b),n&&i):!1},l.Hb=function(){var t,n,r,i,a,h;return r=this.a==null?0:Yi(this.a),t=r&Ss,n=r&-65536,h=this.b==null?0:Yi(this.b),i=h&Ss,a=h&-65536,t^a>>16&Ss|n^i<<16},l.Kc=function(){return new ije(this)},l.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Yo(this.b)+")":this.b==null?"pair("+Yo(this.a)+",null)":"pair("+Yo(this.a)+","+Yo(this.b)+")"},O(Ic,"Pair",46),M(983,1,ba,ije),l.Nb=function(t){La(this,t)},l.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},l.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 ee(new yc)},l.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),ee(new ju)},l.b=!1,l.c=!1,O(Ic,"Pair/1",983),M(448,1,{448:1},NWe),l.Fb=function(t){return zc(this.a,u(t,448).a)&&zc(this.c,u(t,448).c)&&zc(this.d,u(t,448).d)&&zc(this.b,u(t,448).b)},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[this.a,this.c,this.d,this.b]))},l.Ib=function(){return"("+this.a+so+this.c+so+this.d+so+this.b+")"},O(Ic,"Quadruple",448),M(1126,209,bb,vZ),l.Ze=function(t,n){var r,i,a,h,d;if(Er(n,"Random Layout",1),(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i==0){lr(n);return}h=u(jt(t,(Iye(),Myt)),19),h&&h.a!=0?a=new Jj(h.a):a=new die,r=qL(gt(jt(t,Ayt))),d=qL(gt(jt(t,Dyt))),i=u(jt(t,Lyt),116),Tvn(t,a,r,d,i),lr(n)},O(Ic,"RandomLayoutProvider",1126);var Ryt;M(553,1,{}),l.qf=function(){return new Ft(this.f.i,this.f.j)},l.We=function(t){return aYe(t,(di(),kl))?jt(this.f,jyt):jt(this.f,t)},l.rf=function(){return new Ft(this.f.g,this.f.f)},l.sf=function(){return this.g},l.Xe=function(t){return X2(this.f,t)},l.tf=function(t){Au(this.f,t.a),Lu(this.f,t.b)},l.uf=function(t){Hv(this.f,t.a),$v(this.f,t.b)},l.vf=function(t){this.g=t},l.g=0;var jyt;O(LC,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),M(554,1,{839:1},PF),l.wf=function(){var t,n;if(!this.b)for(this.b=Yj(Sj(this.a).i),n=new ir(Sj(this.a));n.e!=n.i.gc();)t=u(br(n),137),st(this.b,new Mee(t));return this.b},l.b=null,O(LC,"ElkGraphAdapters/ElkEdgeAdapter",554),M(301,553,{},wm),l.xf=function(){return Brt(this)},l.a=null,O(LC,"ElkGraphAdapters/ElkGraphAdapter",301),M(630,553,{181:1},Mee),O(LC,"ElkGraphAdapters/ElkLabelAdapter",630),M(629,553,{680:1},Lte),l.wf=function(){return Con(this)},l.Af=function(){var t;return t=u(jt(this.f,(di(),AO)),142),!t&&(t=new dT),t},l.Cf=function(){return Son(this)},l.Ef=function(t){var n;n=new qte(t),So(this.f,(di(),AO),n)},l.Ff=function(t){So(this.f,(di(),Pb),new Sbe(t))},l.yf=function(){return this.d},l.zf=function(){var t,n;if(!this.a)for(this.a=new at,n=new ur(dr(UD(u(this.f,33)).a.Kc(),new V));Vr(n);)t=u(Nr(n),79),st(this.a,new PF(t));return this.a},l.Bf=function(){var t,n;if(!this.c)for(this.c=new at,n=new ur(dr(z0(u(this.f,33)).a.Kc(),new V));Vr(n);)t=u(Nr(n),79),st(this.c,new PF(t));return this.c},l.Df=function(){return Oj(u(this.f,33)).i!=0||Bt(Nt(u(this.f,33).We((di(),SO))))},l.Gf=function(){vtn(this,(xm(),Ryt))},l.a=null,l.b=null,l.c=null,l.d=null,l.e=null,O(LC,"ElkGraphAdapters/ElkNodeAdapter",629),M(1266,553,{838:1},Oje),l.wf=function(){return Pon(this)},l.zf=function(){var t,n;if(!this.a)for(this.a=qd(u(this.f,118).xg().i),n=new ir(u(this.f,118).xg());n.e!=n.i.gc();)t=u(br(n),79),st(this.a,new PF(t));return this.a},l.Bf=function(){var t,n;if(!this.c)for(this.c=qd(u(this.f,118).yg().i),n=new ir(u(this.f,118).yg());n.e!=n.i.gc();)t=u(br(n),79),st(this.c,new PF(t));return this.c},l.Hf=function(){return u(u(this.f,118).We((di(),J4)),61)},l.If=function(){var t,n,r,i,a,h,d,v;for(i=A1(u(this.f,118)),r=new ir(u(this.f,118).yg());r.e!=r.i.gc();)for(t=u(br(r),79),v=new ir((!t.c&&(t.c=new yn(kr,t,5,8)),t.c));v.e!=v.i.gc();){if(d=u(br(v),82),Gm(Ho(d),i))return!0;if(Ho(d)==i&&Bt(Nt(jt(t,(di(),Dhe)))))return!0}for(n=new ir(u(this.f,118).xg());n.e!=n.i.gc();)for(t=u(br(n),79),h=new ir((!t.b&&(t.b=new yn(kr,t,4,7)),t.b));h.e!=h.i.gc();)if(a=u(br(h),82),Gm(Ho(a),i))return!0;return!1},l.a=null,l.b=null,l.c=null,O(LC,"ElkGraphAdapters/ElkPortAdapter",1266),M(1267,1,Ri,wZ),l.ue=function(t,n){return rgn(u(t,118),u(n,118))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(LC,"ElkGraphAdapters/PortComparator",1267);var b2=rs(kh,"EObject"),kE=rs(_4,Eft),Zh=rs(_4,Tft),jO=rs(_4,_ft),$O=rs(_4,"ElkShape"),kr=rs(_4,Cft),ta=rs(_4,x8e),os=rs(_4,Sft),HO=rs(kh,Aft),jS=rs(kh,"EFactory"),$yt,Vhe=rs(kh,Lft),c1=rs(kh,"EPackage"),la,Hyt,zyt,YSe,TV,Gyt,XSe,QSe,ZSe,v2,qyt,Vyt,Qo=rs(_4,E8e),fs=rs(_4,T8e),xl=rs(_4,_8e);M(90,1,Mft),l.Jg=function(){return this.Kg(),null},l.Kg=function(){return null},l.Lg=function(){return this.Kg(),!1},l.Mg=function(){return!1},l.Ng=function(t){_i(this,t)},O(pk,"BasicNotifierImpl",90),M(97,90,Nft),l.nh=function(){return Sl(this)},l.Og=function(t,n){return t},l.Pg=function(){throw ee(new Rr)},l.Qg=function(t){var n;return n=go(u(bn(this.Tg(),this.Vg()),18)),this.eh().ih(this,n.n,n.f,t)},l.Rg=function(t,n){throw ee(new Rr)},l.Sg=function(t,n,r){return Yl(this,t,n,r)},l.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck(),t)?t:this.zh()},l.Ug=function(){return bse(this)},l.Vg=function(){throw ee(new Rr)},l.Wg=function(){var t,n;return n=this.ph().dk(),!n&&this.Pg().ik(n=(AT(),t=qve(wd(this.Tg())),t==null?Jhe:new gM(this,t))),n},l.Xg=function(t,n){return t},l.Yg=function(t){var n;return n=t.Gj(),n?t.aj():Zi(this.Tg(),t)},l.Zg=function(){var t;return t=this.Pg(),t?t.fk():null},l.$g=function(){return this.Pg()?this.Pg().ck():null},l._g=function(t,n,r){return gH(this,t,n,r)},l.ah=function(t){return kx(this,t)},l.bh=function(t,n){return ore(this,t,n)},l.dh=function(){var t;return t=this.Pg(),!!t&&t.gk()},l.eh=function(){throw ee(new Rr)},l.fh=function(){return oH(this)},l.gh=function(t,n,r,i){return W6(this,t,n,i)},l.hh=function(t,n,r){var i;return i=u(bn(this.Tg(),n),66),i.Nj().Qj(this,this.yh(),n-this.Ah(),t,r)},l.ih=function(t,n,r,i){return Fj(this,t,n,i)},l.jh=function(t,n,r){var i;return i=u(bn(this.Tg(),n),66),i.Nj().Rj(this,this.yh(),n-this.Ah(),t,r)},l.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},l.lh=function(t){return Sie(this,t)},l.mh=function(t){return EYe(this,t)},l.oh=function(t){return Xct(this,t)},l.ph=function(){throw ee(new Rr)},l.qh=function(){return this.Pg()?this.Pg().ek():null},l.rh=function(){return oH(this)},l.sh=function(t,n){hse(this,t,n)},l.th=function(t){this.ph().hk(t)},l.uh=function(t){this.ph().kk(t)},l.vh=function(t){this.ph().jk(t)},l.wh=function(t,n){var r,i,a,h;return h=this.Zg(),h&&t&&(n=Qa(h.Vk(),this,n),h.Zk(this)),i=this.eh(),i&&(Ise(this,this.eh(),this.Vg()).Bb&ao?(a=i.fh(),a&&(t?!h&&a.Zk(this):a.Yk(this))):(n=(r=this.Vg(),r>=0?this.Qg(n):this.eh().ih(this,-1-r,null,n)),n=this.Sg(null,-1,n))),this.uh(t),n},l.xh=function(t){var n,r,i,a,h,d,v,x;if(r=this.Tg(),h=Zi(r,t),n=this.Ah(),h>=n)return u(t,66).Nj().Uj(this,this.yh(),h-n);if(h<=-1)if(d=p4((Uu(),Oa),r,t),d){if(ho(),u(d,66).Oj()||(d=P6(No(Oa,d))),a=(i=this.Yg(d),u(i>=0?this._g(i,!0,!0):ew(this,d,!0),153)),x=d.Zj(),x>1||x==-1)return u(u(a,215).hl(t,!1),76)}else throw ee(new Dn(e2+t.ne()+cce));else if(t.$j())return i=this.Yg(t),u(i>=0?this._g(i,!1,!0):ew(this,t,!1),76);return v=new GGe(this,t),v},l.yh=function(){return Vwe(this)},l.zh=function(){return(Op(),Tn).S},l.Ah=function(){return Zn(this.zh())},l.Bh=function(t){ase(this,t)},l.Ib=function(){return Ef(this)},O(_n,"BasicEObjectImpl",97);var Uyt;M(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),l.Ch=function(t){var n;return n=Uwe(this),n[t]},l.Dh=function(t,n){var r;r=Uwe(this),us(r,t,n)},l.Eh=function(t){var n;n=Uwe(this),us(n,t,null)},l.Jg=function(){return u(Cn(this,4),126)},l.Kg=function(){throw ee(new Rr)},l.Lg=function(){return(this.Db&4)!=0},l.Pg=function(){throw ee(new Rr)},l.Fh=function(t){K6(this,2,t)},l.Rg=function(t,n){this.Db=n<<16|this.Db&255,this.Fh(t)},l.Tg=function(){return Tu(this)},l.Vg=function(){return this.Db>>16},l.Wg=function(){var t,n;return AT(),n=qve(wd((t=u(Cn(this,16),26),t||this.zh()))),n==null?Jhe:new gM(this,n)},l.Mg=function(){return(this.Db&1)==0},l.Zg=function(){return u(Cn(this,128),1935)},l.$g=function(){return u(Cn(this,16),26)},l.dh=function(){return(this.Db&32)!=0},l.eh=function(){return u(Cn(this,2),49)},l.kh=function(){return(this.Db&64)!=0},l.ph=function(){throw ee(new Rr)},l.qh=function(){return u(Cn(this,64),281)},l.th=function(t){K6(this,16,t)},l.uh=function(t){K6(this,128,t)},l.vh=function(t){K6(this,64,t)},l.yh=function(){return uu(this)},l.Db=0,O(_n,"MinimalEObjectImpl",114),M(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l.Fh=function(t){this.Cb=t},l.eh=function(){return this.Cb},O(_n,"MinimalEObjectImpl/Container",115),M(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return r3e(this,t,n,r)},l.jh=function(t,n,r){return V3e(this,t,n,r)},l.lh=function(t){return nwe(this,t)},l.sh=function(t,n){zme(this,t,n)},l.zh=function(){return iu(),Vyt},l.Bh=function(t){Dme(this,t)},l.Ve=function(){return rrt(this)},l.We=function(t){return jt(this,t)},l.Xe=function(t){return X2(this,t)},l.Ye=function(t,n){return So(this,t,n)},O(mb,"EMapPropertyHolderImpl",1985),M(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},hp),l._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return gH(this,t,n,r)},l.lh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return Sie(this,t)},l.sh=function(t,n){switch(t){case 0:x$(this,We(gt(n)));return;case 1:E$(this,We(gt(n)));return}hse(this,t,n)},l.zh=function(){return iu(),Hyt},l.Bh=function(t){switch(t){case 0:x$(this,0);return;case 1:E$(this,0);return}ase(this,t)},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new Oh(Ef(this)),t.a+=" (x: ",M3(t,this.a),t.a+=", y: ",M3(t,this.b),t.a+=")",t.a)},l.a=0,l.b=0,O(mb,"ElkBendPointImpl",567),M(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return oye(this,t,n,r)},l.hh=function(t,n,r){return ese(this,t,n,r)},l.jh=function(t,n,r){return Rre(this,t,n,r)},l.lh=function(t){return Eme(this,t)},l.sh=function(t,n){x3e(this,t,n)},l.zh=function(){return iu(),Gyt},l.Bh=function(t){rye(this,t)},l.zg=function(){return this.k},l.Ag=function(){return Sj(this)},l.Ib=function(){return hie(this)},l.k=null,O(mb,"ElkGraphElementImpl",723),M(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return vye(this,t,n,r)},l.lh=function(t){return Tye(this,t)},l.sh=function(t,n){E3e(this,t,n)},l.zh=function(){return iu(),qyt},l.Bh=function(t){Lye(this,t)},l.Bg=function(){return this.f},l.Cg=function(){return this.g},l.Dg=function(){return this.i},l.Eg=function(){return this.j},l.Fg=function(t,n){NR(this,t,n)},l.Gg=function(t,n){_1(this,t,n)},l.Hg=function(t){Au(this,t)},l.Ig=function(t){Lu(this,t)},l.Ib=function(){return sse(this)},l.f=0,l.g=0,l.i=0,l.j=0,O(mb,"ElkShapeImpl",724),M(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return Qye(this,t,n,r)},l.hh=function(t,n,r){return b3e(this,t,n,r)},l.jh=function(t,n,r){return v3e(this,t,n,r)},l.lh=function(t){return $me(this,t)},l.sh=function(t,n){C4e(this,t,n)},l.zh=function(){return iu(),zyt},l.Bh=function(t){Gye(this,t)},l.xg=function(){return!this.d&&(this.d=new yn(ta,this,8,5)),this.d},l.yg=function(){return!this.e&&(this.e=new yn(ta,this,7,4)),this.e},O(mb,"ElkConnectableShapeImpl",725),M(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},nv),l.Qg=function(t){return f3e(this,t)},l._g=function(t,n,r){switch(t){case 3:return FM(this);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),this.b;case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),this.c;case 6:return!this.a&&(this.a=new ot(os,this,6,6)),this.a;case 7:return In(),!this.b&&(this.b=new yn(kr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i<=1));case 8:return In(),!!Q_(this);case 9:return In(),!!Jv(this);case 10:return In(),!this.b&&(this.b=new yn(kr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i!=0)}return oye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 3:return this.Cb&&(r=(i=this.Db>>16,i>=0?f3e(this,r):this.Cb.ih(this,-1-i,null,r))),sbe(this,u(t,33),r);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),ru(this.b,t,r);case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),ru(this.c,t,r);case 6:return!this.a&&(this.a=new ot(os,this,6,6)),ru(this.a,t,r)}return ese(this,t,n,r)},l.jh=function(t,n,r){switch(n){case 3:return sbe(this,null,r);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),Qa(this.b,t,r);case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),Qa(this.c,t,r);case 6:return!this.a&&(this.a=new ot(os,this,6,6)),Qa(this.a,t,r)}return Rre(this,t,n,r)},l.lh=function(t){switch(t){case 3:return!!FM(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 yn(kr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i<=1));case 8:return Q_(this);case 9:return Jv(this);case 10:return!this.b&&(this.b=new yn(kr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i!=0)}return Eme(this,t)},l.sh=function(t,n){switch(t){case 3:xse(this,u(n,33));return;case 4:!this.b&&(this.b=new yn(kr,this,4,7)),_r(this.b),!this.b&&(this.b=new yn(kr,this,4,7)),ds(this.b,u(n,14));return;case 5:!this.c&&(this.c=new yn(kr,this,5,8)),_r(this.c),!this.c&&(this.c=new yn(kr,this,5,8)),ds(this.c,u(n,14));return;case 6:!this.a&&(this.a=new ot(os,this,6,6)),_r(this.a),!this.a&&(this.a=new ot(os,this,6,6)),ds(this.a,u(n,14));return}x3e(this,t,n)},l.zh=function(){return iu(),YSe},l.Bh=function(t){switch(t){case 3:xse(this,null);return;case 4:!this.b&&(this.b=new yn(kr,this,4,7)),_r(this.b);return;case 5:!this.c&&(this.c=new yn(kr,this,5,8)),_r(this.c);return;case 6:!this.a&&(this.a=new ot(os,this,6,6)),_r(this.a);return}rye(this,t)},l.Ib=function(){return Pct(this)},O(mb,"ElkEdgeImpl",352),M(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ad),l.Qg=function(t){return c3e(this,t)},l._g=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 Ns(Zh,this,5)),this.a;case 6:return yYe(this);case 7:return n?Iie(this):this.i;case 8:return n?Die(this):this.f;case 9:return!this.g&&(this.g=new yn(os,this,9,10)),this.g;case 10:return!this.e&&(this.e=new yn(os,this,10,9)),this.e;case 11:return this.d}return r3e(this,t,n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?c3e(this,r):this.Cb.ih(this,-1-a,null,r))),abe(this,u(t,79),r);case 9:return!this.g&&(this.g=new yn(os,this,9,10)),ru(this.g,t,r);case 10:return!this.e&&(this.e=new yn(os,this,10,9)),ru(this.e,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(iu(),TV)),n),66),h.Nj().Qj(this,uu(this),n-Zn((iu(),TV)),t,r)},l.jh=function(t,n,r){switch(n){case 5:return!this.a&&(this.a=new Ns(Zh,this,5)),Qa(this.a,t,r);case 6:return abe(this,null,r);case 9:return!this.g&&(this.g=new yn(os,this,9,10)),Qa(this.g,t,r);case 10:return!this.e&&(this.e=new yn(os,this,10,9)),Qa(this.e,t,r)}return V3e(this,t,n,r)},l.lh=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!!yYe(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 nwe(this,t)},l.sh=function(t,n){switch(t){case 1:Sx(this,We(gt(n)));return;case 2:Lx(this,We(gt(n)));return;case 3:Cx(this,We(gt(n)));return;case 4:Ax(this,We(gt(n)));return;case 5:!this.a&&(this.a=new Ns(Zh,this,5)),_r(this.a),!this.a&&(this.a=new Ns(Zh,this,5)),ds(this.a,u(n,14));return;case 6:Bat(this,u(n,79));return;case 7:A$(this,u(n,82));return;case 8:S$(this,u(n,82));return;case 9:!this.g&&(this.g=new yn(os,this,9,10)),_r(this.g),!this.g&&(this.g=new yn(os,this,9,10)),ds(this.g,u(n,14));return;case 10:!this.e&&(this.e=new yn(os,this,10,9)),_r(this.e),!this.e&&(this.e=new yn(os,this,10,9)),ds(this.e,u(n,14));return;case 11:gme(this,Hr(n));return}zme(this,t,n)},l.zh=function(){return iu(),TV},l.Bh=function(t){switch(t){case 1:Sx(this,0);return;case 2:Lx(this,0);return;case 3:Cx(this,0);return;case 4:Ax(this,0);return;case 5:!this.a&&(this.a=new Ns(Zh,this,5)),_r(this.a);return;case 6:Bat(this,null);return;case 7:A$(this,null);return;case 8:S$(this,null);return;case 9:!this.g&&(this.g=new yn(os,this,9,10)),_r(this.g);return;case 10:!this.e&&(this.e=new yn(os,this,10,9)),_r(this.e);return;case 11:gme(this,null);return}Dme(this,t)},l.Ib=function(){return eat(this)},l.b=0,l.c=0,l.d=null,l.j=0,l.k=0,O(mb,"ElkEdgeSectionImpl",439),M(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l._g=function(t,n,r){var i;return t==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab):ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r)):(a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r))},l.jh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r)):(a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r))},l.lh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.oh=function(t){return N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.uh=function(t){K6(this,128,t)},l.zh=function(){return cn(),l3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){this.Bb|=1},l.Hh=function(t){return nC(this,t)},l.Bb=0,O(_n,"EModelElementImpl",150),M(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},vF),l.Ih=function(t,n){return hut(this,t,n)},l.Jh=function(t){var n,r,i,a,h;if(this.a!=ql(t)||t.Bb&256)throw ee(new Dn(lce+t.zb+fw));for(i=Ro(t);Bc(i.a).i!=0;){if(r=u(rI(i,0,(n=u(_e(Bc(i.a),0),87),h=n.c,me(h,88)?u(h,26):(cn(),nf))),26),Zv(r))return a=ql(r).Nh().Jh(r),u(a,49).th(t),a;i=Ro(r)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new iKe(t):new Ube(t)},l.Kh=function(t,n){return sw(this,t,n)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.a}return ph(this,t-Zn((cn(),k2)),bn((i=u(Cn(this,16),26),i||k2),t),n,r)},l.hh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 1:return this.a&&(r=u(this.a,49).ih(this,4,c1,r)),tye(this,u(t,235),r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),k2)),n),66),a.Nj().Qj(this,uu(this),n-Zn((cn(),k2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 1:return tye(this,null,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),k2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),k2)),t,r)},l.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return dh(this,t-Zn((cn(),k2)),bn((n=u(Cn(this,16),26),n||k2),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Bit(this,u(n,235));return}yh(this,t-Zn((cn(),k2)),bn((r=u(Cn(this,16),26),r||k2),t),n)},l.zh=function(){return cn(),k2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:Bit(this,null);return}wh(this,t-Zn((cn(),k2)),bn((n=u(Cn(this,16),26),n||k2),t))};var $S,JSe,Kyt;O(_n,"EFactoryImpl",704),M(_f,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},U5),l.Ih=function(t,n){switch(t.yj()){case 12:return u(n,146).tg();case 13:return Yo(n);default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h,d,v,x;switch(t.G==-1&&(t.G=(n=ql(t),n?Ag(n.Mh(),t):-1)),t.G){case 4:return h=new I9,h;case 6:return d=new Yge,d;case 7:return v=new Xge,v;case 8:return i=new nv,i;case 9:return r=new hp,r;case 10:return a=new ad,a;case 11:return x=new TB,x;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){switch(t.yj()){case 13:case 12:return null;default:throw ee(new Dn(O7+t.ne()+fw))}},O(mb,"ElkGraphFactoryImpl",_f),M(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l.Wg=function(){var t,n;return n=(t=u(Cn(this,16),26),qve(wd(t||this.zh()))),n==null?(AT(),AT(),Jhe):new _Ve(this,n)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.ne()}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:this.Lh(Hr(n));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),h3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:this.Lh(null);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.ne=function(){return this.zb},l.Lh=function(t){nu(this,t)},l.Ib=function(){return O_(this)},l.zb=null,O(_n,"ENamedElementImpl",438),M(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},sYe),l.Qg=function(t){return Xrt(this,t)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,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 Om(this,u1,this)),this.rb;case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?u(this.Cb,235):null:kYe(this)}return ph(this,t-Zn((cn(),Wg)),bn((i=u(Cn(this,16),26),i||Wg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 4:return this.sb&&(r=u(this.sb,49).ih(this,1,jS,r)),sye(this,u(t,471),r);case 5:return!this.rb&&(this.rb=new Om(this,u1,this)),ru(this.rb,t,r);case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),ru(this.vb,t,r);case 7:return this.Cb&&(r=(a=this.Db>>16,a>=0?Xrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,7,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Wg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Wg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 4:return sye(this,null,r);case 5:return!this.rb&&(this.rb=new Om(this,u1,this)),Qa(this.rb,t,r);case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),Qa(this.vb,t,r);case 7:return Yl(this,null,7,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Wg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Wg)),t,r)},l.lh=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!!kYe(this)}return dh(this,t-Zn((cn(),Wg)),bn((n=u(Cn(this,16),26),n||Wg),t))},l.oh=function(t){var n;return n=_dn(this,t),n||N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:P$(this,Hr(n));return;case 3:N$(this,Hr(n));return;case 4:ise(this,u(n,471));return;case 5:!this.rb&&(this.rb=new Om(this,u1,this)),_r(this.rb),!this.rb&&(this.rb=new Om(this,u1,this)),ds(this.rb,u(n,14));return;case 6:!this.vb&&(this.vb=new T6(c1,this,6,7)),_r(this.vb),!this.vb&&(this.vb=new T6(c1,this,6,7)),ds(this.vb,u(n,14));return}yh(this,t-Zn((cn(),Wg)),bn((r=u(Cn(this,16),26),r||Wg),t),n)},l.vh=function(t){var n,r;if(t&&this.rb)for(r=new ir(this.rb);r.e!=r.i.gc();)n=br(r),me(n,351)&&(u(n,351).w=null);K6(this,64,t)},l.zh=function(){return cn(),Wg},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:P$(this,null);return;case 3:N$(this,null);return;case 4:ise(this,null);return;case 5:!this.rb&&(this.rb=new Om(this,u1,this)),_r(this.rb);return;case 6:!this.vb&&(this.vb=new T6(c1,this,6,7)),_r(this.vb);return}wh(this,t-Zn((cn(),Wg)),bn((n=u(Cn(this,16),26),n||Wg),t))},l.Gh=function(){Vie(this)},l.Mh=function(){return!this.rb&&(this.rb=new Om(this,u1,this)),this.rb},l.Nh=function(){return this.sb},l.Oh=function(){return this.ub},l.Ph=function(){return this.xb},l.Qh=function(){return this.yb},l.Rh=function(t){this.ub=t},l.Ib=function(){var t;return this.Db&64?O_(this):(t=new Oh(O_(this)),t.a+=" (nsURI: ",To(t,this.yb),t.a+=", nsPrefix: ",To(t,this.xb),t.a+=")",t.a)},l.xb=null,l.yb=null,O(_n,"EPackageImpl",179),M(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},uat),l.q=!1,l.r=!1;var Wyt=!1;O(mb,"ElkGraphPackageImpl",555),M(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},I9),l.Qg=function(t){return u3e(this,t)},l._g=function(t,n,r){switch(t){case 7:return xYe(this);case 8:return this.a}return vye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 7:return this.Cb&&(r=(i=this.Db>>16,i>=0?u3e(this,r):this.Cb.ih(this,-1-i,null,r))),ove(this,u(t,160),r)}return ese(this,t,n,r)},l.jh=function(t,n,r){return n==7?ove(this,null,r):Rre(this,t,n,r)},l.lh=function(t){switch(t){case 7:return!!xYe(this);case 8:return!on("",this.a)}return Tye(this,t)},l.sh=function(t,n){switch(t){case 7:$4e(this,u(n,160));return;case 8:ome(this,Hr(n));return}E3e(this,t,n)},l.zh=function(){return iu(),XSe},l.Bh=function(t){switch(t){case 7:$4e(this,null);return;case 8:ome(this,"");return}Lye(this,t)},l.Ib=function(){return Xit(this)},l.a="",O(mb,"ElkLabelImpl",354),M(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Yge),l.Qg=function(t){return d3e(this,t)},l._g=function(t,n,r){switch(t){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),this.c;case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),this.a;case 11:return ls(this);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),this.b;case 13:return In(),!this.a&&(this.a=new ot(fs,this,10,11)),this.a.i>0}return Qye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),ru(this.c,t,r);case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),ru(this.a,t,r);case 11:return this.Cb&&(r=(i=this.Db>>16,i>=0?d3e(this,r):this.Cb.ih(this,-1-i,null,r))),pbe(this,u(t,33),r);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),ru(this.b,t,r)}return b3e(this,t,n,r)},l.jh=function(t,n,r){switch(n){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),Qa(this.c,t,r);case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),Qa(this.a,t,r);case 11:return pbe(this,null,r);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),Qa(this.b,t,r)}return v3e(this,t,n,r)},l.lh=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!!ls(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new ot(fs,this,10,11)),this.a.i>0}return $me(this,t)},l.sh=function(t,n){switch(t){case 9:!this.c&&(this.c=new ot(xl,this,9,9)),_r(this.c),!this.c&&(this.c=new ot(xl,this,9,9)),ds(this.c,u(n,14));return;case 10:!this.a&&(this.a=new ot(fs,this,10,11)),_r(this.a),!this.a&&(this.a=new ot(fs,this,10,11)),ds(this.a,u(n,14));return;case 11:F4e(this,u(n,33));return;case 12:!this.b&&(this.b=new ot(ta,this,12,3)),_r(this.b),!this.b&&(this.b=new ot(ta,this,12,3)),ds(this.b,u(n,14));return}C4e(this,t,n)},l.zh=function(){return iu(),QSe},l.Bh=function(t){switch(t){case 9:!this.c&&(this.c=new ot(xl,this,9,9)),_r(this.c);return;case 10:!this.a&&(this.a=new ot(fs,this,10,11)),_r(this.a);return;case 11:F4e(this,null);return;case 12:!this.b&&(this.b=new ot(ta,this,12,3)),_r(this.b);return}Gye(this,t)},l.Ib=function(){return t5e(this)},O(mb,"ElkNodeImpl",239),M(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Xge),l.Qg=function(t){return l3e(this,t)},l._g=function(t,n,r){return t==9?A1(this):Qye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 9:return this.Cb&&(r=(i=this.Db>>16,i>=0?l3e(this,r):this.Cb.ih(this,-1-i,null,r))),obe(this,u(t,33),r)}return b3e(this,t,n,r)},l.jh=function(t,n,r){return n==9?obe(this,null,r):v3e(this,t,n,r)},l.lh=function(t){return t==9?!!A1(this):$me(this,t)},l.sh=function(t,n){switch(t){case 9:B4e(this,u(n,33));return}C4e(this,t,n)},l.zh=function(){return iu(),ZSe},l.Bh=function(t){switch(t){case 9:B4e(this,null);return}Gye(this,t)},l.Ib=function(){return Bot(this)},O(mb,"ElkPortImpl",186);var Yyt=rs(Za,"BasicEMap/Entry");M(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},TB),l.Fb=function(t){return this===t},l.cd=function(){return this.b},l.Hb=function(){return kv(this)},l.Uh=function(t){cme(this,u(t,146))},l._g=function(t,n,r){switch(t){case 0:return this.b;case 1:return this.c}return gH(this,t,n,r)},l.lh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return Sie(this,t)},l.sh=function(t,n){switch(t){case 0:cme(this,u(n,146));return;case 1:hme(this,n);return}hse(this,t,n)},l.zh=function(){return iu(),v2},l.Bh=function(t){switch(t){case 0:cme(this,null);return;case 1:hme(this,null);return}ase(this,t)},l.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Yi(t):0),this.a},l.dd=function(){return this.c},l.Th=function(t){this.a=t},l.ed=function(t){var n;return n=this.c,hme(this,t),n},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new yp,Yr(Yr(Yr(t,this.b?this.b.tg():Iu),ooe),XT(this.c)),t.a)},l.a=-1,l.c=null;var Mw=O(mb,"ElkPropertyToValueMapEntryImpl",1092);M(984,1,{},_B),O(Ia,"JsonAdapter",984),M(210,60,q0,ud),O(Ia,"JsonImportException",210),M(857,1,{},Qrt),O(Ia,"JsonImporter",857),M(891,1,{},TGe),O(Ia,"JsonImporter/lambda$0$Type",891),M(892,1,{},_Ge),O(Ia,"JsonImporter/lambda$1$Type",892),M(900,1,{},sje),O(Ia,"JsonImporter/lambda$10$Type",900),M(902,1,{},CGe),O(Ia,"JsonImporter/lambda$11$Type",902),M(903,1,{},SGe),O(Ia,"JsonImporter/lambda$12$Type",903),M(909,1,{},jWe),O(Ia,"JsonImporter/lambda$13$Type",909),M(908,1,{},RWe),O(Ia,"JsonImporter/lambda$14$Type",908),M(904,1,{},AGe),O(Ia,"JsonImporter/lambda$15$Type",904),M(905,1,{},LGe),O(Ia,"JsonImporter/lambda$16$Type",905),M(906,1,{},MGe),O(Ia,"JsonImporter/lambda$17$Type",906),M(907,1,{},DGe),O(Ia,"JsonImporter/lambda$18$Type",907),M(912,1,{},aje),O(Ia,"JsonImporter/lambda$19$Type",912),M(893,1,{},oje),O(Ia,"JsonImporter/lambda$2$Type",893),M(910,1,{},cje),O(Ia,"JsonImporter/lambda$20$Type",910),M(911,1,{},uje),O(Ia,"JsonImporter/lambda$21$Type",911),M(915,1,{},lje),O(Ia,"JsonImporter/lambda$22$Type",915),M(913,1,{},hje),O(Ia,"JsonImporter/lambda$23$Type",913),M(914,1,{},fje),O(Ia,"JsonImporter/lambda$24$Type",914),M(917,1,{},dje),O(Ia,"JsonImporter/lambda$25$Type",917),M(916,1,{},gje),O(Ia,"JsonImporter/lambda$26$Type",916),M(918,1,Vn,IGe),l.td=function(t){etn(this.b,this.a,Hr(t))},O(Ia,"JsonImporter/lambda$27$Type",918),M(919,1,Vn,OGe),l.td=function(t){ttn(this.b,this.a,Hr(t))},O(Ia,"JsonImporter/lambda$28$Type",919),M(920,1,{},NGe),O(Ia,"JsonImporter/lambda$29$Type",920),M(896,1,{},pje),O(Ia,"JsonImporter/lambda$3$Type",896),M(921,1,{},PGe),O(Ia,"JsonImporter/lambda$30$Type",921),M(922,1,{},bje),O(Ia,"JsonImporter/lambda$31$Type",922),M(923,1,{},vje),O(Ia,"JsonImporter/lambda$32$Type",923),M(924,1,{},wje),O(Ia,"JsonImporter/lambda$33$Type",924),M(925,1,{},mje),O(Ia,"JsonImporter/lambda$34$Type",925),M(859,1,{},yje),O(Ia,"JsonImporter/lambda$35$Type",859),M(929,1,{},MUe),O(Ia,"JsonImporter/lambda$36$Type",929),M(926,1,Vn,kje),l.td=function(t){ien(this.a,u(t,469))},O(Ia,"JsonImporter/lambda$37$Type",926),M(927,1,Vn,HGe),l.td=function(t){Iqt(this.a,this.b,u(t,202))},O(Ia,"JsonImporter/lambda$38$Type",927),M(928,1,Vn,zGe),l.td=function(t){Oqt(this.a,this.b,u(t,202))},O(Ia,"JsonImporter/lambda$39$Type",928),M(894,1,{},xje),O(Ia,"JsonImporter/lambda$4$Type",894),M(930,1,Vn,Eje),l.td=function(t){sen(this.a,u(t,8))},O(Ia,"JsonImporter/lambda$40$Type",930),M(895,1,{},Tje),O(Ia,"JsonImporter/lambda$5$Type",895),M(899,1,{},_je),O(Ia,"JsonImporter/lambda$6$Type",899),M(897,1,{},Cje),O(Ia,"JsonImporter/lambda$7$Type",897),M(898,1,{},Sje),O(Ia,"JsonImporter/lambda$8$Type",898),M(901,1,{},Aje),O(Ia,"JsonImporter/lambda$9$Type",901),M(948,1,Vn,Lje),l.td=function(t){M6(this.a,new Nm(Hr(t)))},O(Ia,"JsonMetaDataConverter/lambda$0$Type",948),M(949,1,Vn,Mje),l.td=function(t){kXt(this.a,u(t,237))},O(Ia,"JsonMetaDataConverter/lambda$1$Type",949),M(950,1,Vn,Dje),l.td=function(t){wZt(this.a,u(t,149))},O(Ia,"JsonMetaDataConverter/lambda$2$Type",950),M(951,1,Vn,Ije),l.td=function(t){xXt(this.a,u(t,175))},O(Ia,"JsonMetaDataConverter/lambda$3$Type",951),M(237,22,{3:1,35:1,22:1,237:1},y6);var _V,CV,Uhe,SV,AV,LV,Khe,Whe,MV=Gr(vI,"GraphFeature",237,Kr,qtn,UWt),Xyt;M(13,1,{35:1,146:1},Qi,Hs,pn,fo),l.wd=function(t){return DVt(this,u(t,146))},l.Fb=function(t){return aYe(this,t)},l.wg=function(){return Ct(this)},l.tg=function(){return this.b},l.Hb=function(){return Lg(this.b)},l.Ib=function(){return this.b},O(vI,"Property",13),M(818,1,Ri,Age),l.ue=function(t,n){return Yin(this,u(t,94),u(n,94))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(vI,"PropertyHolderComparator",818),M(695,1,ba,Lge),l.Nb=function(t){La(this,t)},l.Pb=function(){return stn(this)},l.Qb=function(){_He()},l.Ob=function(){return!!this.a},O(Yz,"ElkGraphUtil/AncestorIterator",695);var eAe=rs(Za,"EList");M(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),l.Vc=function(t,n){B_(this,t,n)},l.Fc=function(t){return Pr(this,t)},l.Wc=function(t,n){return Ime(this,t,n)},l.Gc=function(t){return ds(this,t)},l.Zh=function(){return new E6(this)},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},l.ai=function(){return!0},l.bi=function(t,n){},l.ci=function(){},l.di=function(t,n){ure(this,t,n)},l.ei=function(t,n,r){},l.fi=function(t,n){},l.gi=function(t,n,r){},l.Fb=function(t){return xot(this,t)},l.Hb=function(){return Sme(this)},l.hi=function(){return!1},l.Kc=function(){return new ir(this)},l.Yc=function(){return new x6(this)},l.Zc=function(t){var n;if(n=this.gc(),t<0||t>n)throw ee(new Mm(t,n));return new gne(this,t)},l.ji=function(t,n){this.ii(t,this.Xc(n))},l.Mc=function(t){return g$(this,t)},l.li=function(t,n){return n},l._c=function(t,n){return t4(this,t,n)},l.Ib=function(){return mye(this)},l.ni=function(){return!0},l.oi=function(t,n){return Hx(this,n)},O(Za,"AbstractEList",67),M(63,67,Ld,K5,Rv,mme),l.Vh=function(t,n){return tse(this,t,n)},l.Wh=function(t){return Trt(this,t)},l.Xh=function(t,n){kD(this,t,n)},l.Yh=function(t){GM(this,t)},l.pi=function(t){return $we(this,t)},l.$b=function(){k_(this)},l.Hc=function(t){return n7(this,t)},l.Xb=function(t){return _e(this,t)},l.qi=function(t){var n,r,i;++this.j,r=this.g==null?0:this.g.length,t>r&&(i=this.g,n=r+(r/2|0)+4,n<t&&(n=t),this.g=this.ri(n),i!=null&&Rc(i,0,this.g,0,this.i))},l.Xc=function(t){return Vrt(this,t)},l.dc=function(){return this.i==0},l.ii=function(t,n){return gse(this,t,n)},l.ri=function(t){return Ie(Xn,_t,1,t,5,1)},l.ki=function(t){return this.g[t]},l.$c=function(t){return X6(this,t)},l.mi=function(t,n){return yre(this,t,n)},l.gc=function(){return this.i},l.Pc=function(){return hwe(this)},l.Qc=function(t){return Dye(this,t)},l.i=0;var tAe=O(Za,"BasicEList",63),nAe=rs(Za,"TreeIterator");M(694,63,kce),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.g==null&&!this.c?Wve(this):this.g==null||this.i!=0&&u(this.g[this.i-1],47).Ob()},l.Pb=function(){return PH(this)},l.Qb=function(){if(!this.e)throw ee(new Vo("There is no valid object to remove."));this.e.Qb()},l.c=!1,O(Za,"AbstractTreeIterator",694),M(685,694,kce,p2e),l.si=function(t){var n;return n=u(t,56).Wg().Kc(),me(n,279)&&u(n,279).Nk(new yZ),n},O(Yz,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),M(952,1,{},yZ),O(Yz,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var zO,Yhe,GO=O(Yz,"ElkReflect",null);M(889,1,wy,O9),l.vg=function(t){return Gj(),Men(u(t,174))},O(Yz,"ElkReflect/lambda$0$Type",889);var w2;rs(Za,"ResourceLocator"),M(1051,1,{}),O(Za,"DelegatingResourceLocator",1051),M(1052,1051,{}),O("org.eclipse.emf.common","EMFPlugin",1052);var Xhe=rs(v1t,"Adapter"),pmn=rs(v1t,"Notification");M(1153,1,z8e),l.ti=function(){return this.d},l.ui=function(t){},l.vi=function(t){this.d=t},l.wi=function(t){this.d==t&&(this.d=null)},l.d=null,O(pk,"AdapterImpl",1153),M(1995,67,w1t),l.Vh=function(t,n){return _ye(this,t,n)},l.Wh=function(t){var n,r,i;if(++this.j,t.dc())return!1;for(n=this.Vi(),i=t.Kc();i.Ob();)r=i.Pb(),this.Ii(this.oi(n,r)),++n;return!0},l.Xh=function(t,n){RVe(this,t,n)},l.Yh=function(t){fWe(this,t)},l.Gi=function(){return this.Ji()},l.$b=function(){mM(this,this.Vi(),this.Wi())},l.Hc=function(t){return this.Li(t)},l.Ic=function(t){return this.Mi(t)},l.Hi=function(t,n){this.Si().jm()},l.Ii=function(t){this.Si().jm()},l.Ji=function(){return this.Si()},l.Ki=function(){this.Si().jm()},l.Li=function(t){return this.Si().jm()},l.Mi=function(t){return this.Si().jm()},l.Ni=function(t){return this.Si().jm()},l.Oi=function(t){return this.Si().jm()},l.Pi=function(){return this.Si().jm()},l.Qi=function(t){return this.Si().jm()},l.Ri=function(){return this.Si().jm()},l.Ti=function(t){return this.Si().jm()},l.Ui=function(t,n){return this.Si().jm()},l.Vi=function(){return this.Si().jm()},l.Wi=function(){return this.Si().jm()},l.Xi=function(t){return this.Si().jm()},l.Yi=function(){return this.Si().jm()},l.Fb=function(t){return this.Ni(t)},l.Xb=function(t){return this.li(t,this.Oi(t))},l.Hb=function(){return this.Pi()},l.Xc=function(t){return this.Qi(t)},l.dc=function(){return this.Ri()},l.ii=function(t,n){return z3e(this,t,n)},l.ki=function(t){return this.Oi(t)},l.$c=function(t){return oj(this,t)},l.Mc=function(t){var n;return n=this.Xc(t),n>=0?(this.$c(n),!0):!1},l.mi=function(t,n){return this.Ui(t,this.oi(t,n))},l.gc=function(){return this.Vi()},l.Pc=function(){return this.Wi()},l.Qc=function(t){return this.Xi(t)},l.Ib=function(){return this.Yi()},O(Za,"DelegatingEList",1995),M(1996,1995,w1t),l.Vh=function(t,n){return l5e(this,t,n)},l.Wh=function(t){return this.Vh(this.Vi(),t)},l.Xh=function(t,n){oat(this,t,n)},l.Yh=function(t){Zst(this,t)},l.ai=function(){return!this.bj()},l.$b=function(){cC(this)},l.Zi=function(t,n,r,i,a){return new cYe(this,t,n,r,i,a)},l.$i=function(t){_i(this.Ai(),t)},l._i=function(){return null},l.aj=function(){return-1},l.Ai=function(){return null},l.bj=function(){return!1},l.cj=function(t,n){return n},l.dj=function(t,n){return n},l.ej=function(){return!1},l.fj=function(){return!this.Ri()},l.ii=function(t,n){var r,i;return this.ej()?(i=this.fj(),r=z3e(this,t,n),this.$i(this.Zi(7,lt(n),r,t,i)),r):z3e(this,t,n)},l.$c=function(t){var n,r,i,a;return this.ej()?(r=null,i=this.fj(),n=this.Zi(4,a=oj(this,t),null,t,i),this.bj()&&a?(r=this.dj(a,r),r?(r.Ei(n),r.Fi()):this.$i(n)):r?(r.Ei(n),r.Fi()):this.$i(n),a):(a=oj(this,t),this.bj()&&a&&(r=this.dj(a,null),r&&r.Fi()),a)},l.mi=function(t,n){return pct(this,t,n)},O(pk,"DelegatingNotifyingListImpl",1996),M(143,1,DI),l.Ei=function(t){return L3e(this,t)},l.Fi=function(){wre(this)},l.xi=function(){return this.d},l._i=function(){return null},l.gj=function(){return null},l.yi=function(t){return-1},l.zi=function(){return tot(this)},l.Ai=function(){return null},l.Bi=function(){return V4e(this)},l.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},l.hj=function(){return!1},l.Di=function(t){var n,r,i,a,h,d,v,x,T,L,P;switch(this.d){case 1:case 2:switch(a=t.xi(),a){case 1:case 2:if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0}case 4:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null))return T=S5e(this),x=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,d=t.Ci(),this.d=6,P=new Rv(2),x<=d?(Pr(P,this.n),Pr(P,t.Bi()),this.g=ie(ne(Sr,1),Jr,25,15,[this.o=x,d+1])):(Pr(P,t.Bi()),Pr(P,this.n),this.g=ie(ne(Sr,1),Jr,25,15,[this.o=d,x])),this.n=P,T||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null)){for(T=S5e(this),d=t.Ci(),L=u(this.g,48),i=Ie(Sr,Jr,25,L.length+1,15,1),n=0;n<L.length&&(v=L[n],v<=d);)i[n++]=v,++d;for(r=u(this.n,15),r.Vc(n,t.Bi()),i[n]=d;++n<i.length;)i[n]=L[n-1];return this.g=i,T||(this.o=-2-i[0]),!0}break}}break}}return!1},l.Ib=function(){var t,n,r,i;switch(i=new Oh(xp(this.gm)+"@"+(n=Yi(this)>>>0,n.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:{Fee(i,this.d);break}}if(Got(this)&&(i.a+=", touch: true"),i.a+=", position: ",Fee(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",qT(i,this.Ai()),i.a+=", feature: ",qT(i,this._i()),i.a+=", oldValue: ",qT(i,V4e(this)),i.a+=", newValue: ",this.d==6&&me(this.g,48)){for(r=u(this.g,48),i.a+="[",t=0;t<r.length;)i.a+=r[t],++t<r.length&&(i.a+=so);i.a+="]"}else qT(i,tot(this));return i.a+=", isTouch: ",gg(i,Got(this)),i.a+=", wasSet: ",gg(i,S5e(this)),i.a+=")",i.a},l.d=0,l.e=0,l.f=0,l.j=0,l.k=0,l.o=0,l.p=0,O(pk,"NotificationImpl",143),M(1167,143,DI,cYe),l._i=function(){return this.a._i()},l.yi=function(t){return this.a.aj()},l.Ai=function(){return this.a.Ai()},O(pk,"DelegatingNotifyingListImpl/1",1167),M(242,63,Ld,W5,kp),l.Fc=function(t){return mnt(this,u(t,366))},l.Ei=function(t){return mnt(this,t)},l.Fi=function(){var t,n,r;for(t=0;t<this.i;++t)n=u(this.g[t],366),r=n.Ai(),r!=null&&n.xi()!=-1&&u(r,92).Ng(n)},l.ri=function(t){return Ie(pmn,_t,366,t,0,1)},O(pk,"NotificationChainImpl",242),M(1378,90,Mft),l.Kg=function(){return this.e},l.Mg=function(){return(this.f&1)!=0},l.f=1,O(pk,"NotifierImpl",1378),M(1993,63,Ld),l.Vh=function(t,n){return Fse(this,t,n)},l.Wh=function(t){return this.Vh(this.i,t)},l.Xh=function(t,n){w4e(this,t,n)},l.Yh=function(t){pse(this,t)},l.ai=function(){return!this.bj()},l.$b=function(){_r(this)},l.Zi=function(t,n,r,i,a){return new uYe(this,t,n,r,i,a)},l.$i=function(t){_i(this.Ai(),t)},l._i=function(){return null},l.aj=function(){return-1},l.Ai=function(){return null},l.bj=function(){return!1},l.ij=function(){return!1},l.cj=function(t,n){return n},l.dj=function(t,n){return n},l.ej=function(){return!1},l.fj=function(){return this.i!=0},l.ii=function(t,n){return F_(this,t,n)},l.$c=function(t){return iy(this,t)},l.mi=function(t,n){return Mct(this,t,n)},l.jj=function(t,n){return n},l.kj=function(t,n){return n},l.lj=function(t,n,r){return r},O(pk,"NotifyingListImpl",1993),M(1166,143,DI,uYe),l._i=function(){return this.a._i()},l.yi=function(t){return this.a.aj()},l.Ai=function(){return this.a.Ai()},O(pk,"NotifyingListImpl/1",1166),M(953,63,Ld,HVe),l.Hc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new r_(this),this.a=this.j),_0(this.b,t)):n7(this,t)},l.ni=function(){return!0},l.a=0,O(Za,"AbstractEList/1",953),M(295,73,Dae,Mm),O(Za,"AbstractEList/BasicIndexOutOfBoundsException",295),M(40,1,ba,ir),l.Nb=function(t){La(this,t)},l.mj=function(){if(this.i.j!=this.f)throw ee(new uh)},l.nj=function(){return br(this)},l.Ob=function(){return this.e!=this.i.gc()},l.Pb=function(){return this.nj()},l.Qb=function(){U_(this)},l.e=0,l.f=0,l.g=-1,O(Za,"AbstractEList/EIterator",40),M(278,40,e0,x6,gne),l.Qb=function(){U_(this)},l.Rb=function(t){Cnt(this,t)},l.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.pj=function(t){Srt(this,t)},l.Sb=function(){return this.e!=0},l.Tb=function(){return this.e},l.Ub=function(){return this.oj()},l.Vb=function(){return this.e-1},l.Wb=function(t){this.pj(t)},O(Za,"AbstractEList/EListIterator",278),M(341,40,ba,E6),l.nj=function(){return Aie(this)},l.Qb=function(){throw ee(new Rr)},O(Za,"AbstractEList/NonResolvingEIterator",341),M(385,278,e0,pM,xbe),l.Rb=function(t){throw ee(new Rr)},l.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.Qb=function(){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(Za,"AbstractEList/NonResolvingEListIterator",385),M(1982,67,m1t),l.Vh=function(t,n){var r,i,a,h,d,v,x,T,L,P,z;if(a=n.gc(),a!=0){for(T=u(Cn(this.a,4),126),L=T==null?0:T.length,z=L+a,i=Xre(this,z),P=L-t,P>0&&Rc(T,t,i,t+a,P),x=n.Kc(),d=0;d<a;++d)v=x.Pb(),r=t+d,xte(i,r,Hx(this,v));for(Zx(this,i),h=0;h<a;++h)v=i[t],this.bi(t,v),++t;return!0}else return++this.j,!1},l.Wh=function(t){var n,r,i,a,h,d,v,x,T;if(i=t.gc(),i!=0){for(x=(r=u(Cn(this.a,4),126),r==null?0:r.length),T=x+i,n=Xre(this,T),v=t.Kc(),h=x;h<T;++h)d=v.Pb(),xte(n,h,Hx(this,d));for(Zx(this,n),a=x;a<T;++a)d=n[a],this.bi(a,d);return!0}else return++this.j,!1},l.Xh=function(t,n){var r,i,a,h;i=u(Cn(this.a,4),126),a=i==null?0:i.length,r=Xre(this,a+1),h=Hx(this,n),t!=a&&Rc(i,t,r,t+1,a-t),us(r,t,h),Zx(this,r),this.bi(t,n)},l.Yh=function(t){var n,r,i;i=(r=u(Cn(this.a,4),126),r==null?0:r.length),n=Xre(this,i+1),xte(n,i,Hx(this,t)),Zx(this,n),this.bi(i,t)},l.Zh=function(){return new LQe(this)},l.$h=function(){return new GKe(this)},l._h=function(t){var n,r;if(r=(n=u(Cn(this.a,4),126),n==null?0:n.length),t<0||t>r)throw ee(new Mm(t,r));return new mWe(this,t)},l.$b=function(){var t,n;++this.j,t=u(Cn(this.a,4),126),n=t==null?0:t.length,Zx(this,null),ure(this,n,t)},l.Hc=function(t){var n,r,i,a,h;if(n=u(Cn(this.a,4),126),n!=null){if(t!=null){for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],Ci(t,r))return!0}else for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],$e(r)===$e(t))return!0}return!1},l.Xb=function(t){var n,r;if(n=u(Cn(this.a,4),126),r=n==null?0:n.length,t>=r)throw ee(new Mm(t,r));return n[t]},l.Xc=function(t){var n,r,i;if(n=u(Cn(this.a,4),126),n!=null){if(t!=null){for(r=0,i=n.length;r<i;++r)if(Ci(t,n[r]))return r}else for(r=0,i=n.length;r<i;++r)if($e(n[r])===$e(t))return r}return-1},l.dc=function(){return u(Cn(this.a,4),126)==null},l.Kc=function(){return new AQe(this)},l.Yc=function(){return new zKe(this)},l.Zc=function(t){var n,r;if(r=(n=u(Cn(this.a,4),126),n==null?0:n.length),t<0||t>r)throw ee(new Mm(t,r));return new wWe(this,t)},l.ii=function(t,n){var r,i,a;if(r=Nnt(this),a=r==null?0:r.length,t>=a)throw ee(new Mo(mce+t+yb+a));if(n>=a)throw ee(new Mo(yce+n+yb+a));return i=r[n],t!=n&&(t<n?Rc(r,t,r,t+1,n-t):Rc(r,n+1,r,n,t-n),us(r,t,i),Zx(this,r)),i},l.ki=function(t){return u(Cn(this.a,4),126)[t]},l.$c=function(t){return yfn(this,t)},l.mi=function(t,n){var r,i;return r=Nnt(this),i=r[t],xte(r,t,Hx(this,n)),Zx(this,r),i},l.gc=function(){var t;return t=u(Cn(this.a,4),126),t==null?0:t.length},l.Pc=function(){var t,n,r;return t=u(Cn(this.a,4),126),r=t==null?0:t.length,n=Ie(Xhe,_ce,415,r,0,1),r>0&&Rc(t,0,n,0,r),n},l.Qc=function(t){var n,r,i;return n=u(Cn(this.a,4),126),i=n==null?0:n.length,i>0&&(t.length<i&&(r=sD(pl(t).c,i),t=r),Rc(n,0,t,0,i)),t.length>i&&us(t,i,null),t};var Qyt;O(Za,"ArrayDelegatingEList",1982),M(1038,40,ba,AQe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},l.Qb=function(){U_(this),this.a=u(Cn(this.b.a,4),126)},O(Za,"ArrayDelegatingEList/EIterator",1038),M(706,278,e0,zKe,wWe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},l.pj=function(t){Srt(this,t),this.a=u(Cn(this.b.a,4),126)},l.Qb=function(){U_(this),this.a=u(Cn(this.b.a,4),126)},O(Za,"ArrayDelegatingEList/EListIterator",706),M(1039,341,ba,LQe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},O(Za,"ArrayDelegatingEList/NonResolvingEIterator",1039),M(707,385,e0,GKe,mWe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},O(Za,"ArrayDelegatingEList/NonResolvingEListIterator",707),M(606,295,Dae,vte),O(Za,"BasicEList/BasicIndexOutOfBoundsException",606),M(696,63,Ld,o2e),l.Vc=function(t,n){throw ee(new Rr)},l.Fc=function(t){throw ee(new Rr)},l.Wc=function(t,n){throw ee(new Rr)},l.Gc=function(t){throw ee(new Rr)},l.$b=function(){throw ee(new Rr)},l.qi=function(t){throw ee(new Rr)},l.Kc=function(){return this.Zh()},l.Yc=function(){return this.$h()},l.Zc=function(t){return this._h(t)},l.ii=function(t,n){throw ee(new Rr)},l.ji=function(t,n){throw ee(new Rr)},l.$c=function(t){throw ee(new Rr)},l.Mc=function(t){throw ee(new Rr)},l._c=function(t,n){throw ee(new Rr)},O(Za,"BasicEList/UnmodifiableEList",696),M(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),l.Vc=function(t,n){kVt(this,t,u(n,42))},l.Fc=function(t){return oUt(this,u(t,42))},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return u(_e(this.c,t),133)},l.ii=function(t,n){return u(this.c.ii(t,n),42)},l.ji=function(t,n){xVt(this,t,u(n,42))},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return u(this.c.$c(t),42)},l._c=function(t,n){return pXt(this,t,u(n,42))},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.Wc=function(t,n){return this.c.Wc(t,n)},l.Gc=function(t){return this.c.Gc(t)},l.$b=function(){this.c.$b()},l.Hc=function(t){return this.c.Hc(t)},l.Ic=function(t){return hD(this.c,t)},l.qj=function(){var t,n,r;if(this.d==null){for(this.d=Ie(tAe,G8e,63,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=u(n.nj(),133),vH(this,t);this.e=r}},l.Fb=function(t){return gUe(this,t)},l.Hb=function(){return Sme(this.c)},l.Xc=function(t){return this.c.Xc(t)},l.rj=function(){this.c=new Nje(this)},l.dc=function(){return this.f==0},l.Kc=function(){return this.c.Kc()},l.Yc=function(){return this.c.Yc()},l.Zc=function(t){return this.c.Zc(t)},l.sj=function(){return UM(this)},l.tj=function(t,n,r){return new DUe(t,n,r)},l.uj=function(){return new fp},l.Mc=function(t){return KJe(this,t)},l.gc=function(){return this.f},l.bd=function(t,n){return new Yd(this.c,t,n)},l.Pc=function(){return this.c.Pc()},l.Qc=function(t){return this.c.Qc(t)},l.Ib=function(){return mye(this.c)},l.e=0,l.f=0,O(Za,"BasicEMap",705),M(1033,63,Ld,Nje),l.bi=function(t,n){iGt(this,u(n,133))},l.ei=function(t,n,r){var i;++(i=this,u(n,133),i).a.e},l.fi=function(t,n){sGt(this,u(n,133))},l.gi=function(t,n,r){WVt(this,u(n,133),u(r,133))},l.di=function(t,n){jet(this.a)},O(Za,"BasicEMap/1",1033),M(1034,63,Ld,fp),l.ri=function(t){return Ie(bmn,y1t,612,t,0,1)},O(Za,"BasicEMap/2",1034),M(1035,$1,Ku,Pje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){return mie(this.a,t)},l.Kc=function(){return this.a.f==0?(nx(),qO.a):new bHe(this.a)},l.Mc=function(t){var n;return n=this.a.f,aH(this.a,t),this.a.f!=n},l.gc=function(){return this.a.f},O(Za,"BasicEMap/3",1035),M(1036,28,uy,Bje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){return Eot(this.a,t)},l.Kc=function(){return this.a.f==0?(nx(),qO.a):new vHe(this.a)},l.gc=function(){return this.a.f},O(Za,"BasicEMap/4",1036),M(1037,$1,Ku,Fje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){var n,r,i,a,h,d,v,x,T;if(this.a.f>0&&me(t,42)&&(this.a.qj(),x=u(t,42),v=x.cd(),a=v==null?0:Yi(v),h=cbe(this.a,a),n=this.a.d[h],n)){for(r=u(n.g,367),T=n.i,d=0;d<T;++d)if(i=r[d],i.Sh()==a&&i.Fb(x))return!0}return!1},l.Kc=function(){return this.a.f==0?(nx(),qO.a):new Mne(this.a)},l.Mc=function(t){return pat(this,t)},l.gc=function(){return this.a.f},O(Za,"BasicEMap/5",1037),M(613,1,ba,Mne),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.b!=-1},l.Pb=function(){var t;if(this.f.e!=this.c)throw ee(new uh);if(this.b==-1)throw ee(new yc);return this.d=this.a,this.e=this.b,rit(this),t=u(this.f.d[this.d].g[this.e],133),this.vj(t)},l.Qb=function(){if(this.f.e!=this.c)throw ee(new uh);if(this.e==-1)throw ee(new ju);this.f.c.Mc(_e(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},l.vj=function(t){return t},l.a=0,l.b=-1,l.c=0,l.d=0,l.e=0,O(Za,"BasicEMap/BasicEMapIterator",613),M(1031,613,ba,bHe),l.vj=function(t){return t.cd()},O(Za,"BasicEMap/BasicEMapKeyIterator",1031),M(1032,613,ba,vHe),l.vj=function(t){return t.dd()},O(Za,"BasicEMap/BasicEMapValueIterator",1032),M(1030,1,aw,Rje),l.wc=function(t){L_(this,t)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.$b=function(){this.a.c.$b()},l._b=function(t){return XGe(this,t)},l.uc=function(t){return Eot(this.a,t)},l.vc=function(){return Fen(this.a)},l.Fb=function(t){return gUe(this.a,t)},l.xc=function(t){return e1(this.a,t)},l.Hb=function(){return Sme(this.a.c)},l.dc=function(){return this.a.f==0},l.ec=function(){return Ren(this.a)},l.zc=function(t,n){return TH(this.a,t,n)},l.Bc=function(t){return aH(this.a,t)},l.gc=function(){return this.a.f},l.Ib=function(){return mye(this.a.c)},l.Cc=function(){return Ben(this.a)},O(Za,"BasicEMap/DelegatingMap",1030),M(612,1,{42:1,133:1,612:1},DUe),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),(this.b!=null?Ci(this.b,n.cd()):$e(this.b)===$e(n.cd()))&&(this.c!=null?Ci(this.c,n.dd()):$e(this.c)===$e(n.dd()))):!1},l.Sh=function(){return this.a},l.cd=function(){return this.b},l.dd=function(){return this.c},l.Hb=function(){return this.a^(this.c==null?0:Yi(this.c))},l.Th=function(t){this.a=t},l.Uh=function(t){throw ee(new R2)},l.ed=function(t){var n;return n=this.c,this.c=t,n},l.Ib=function(){return this.b+"->"+this.c},l.a=0;var bmn=O(Za,"BasicEMap/EntryImpl",612);M(536,1,{},g8),O(Za,"BasicEMap/View",536);var qO;M(768,1,{}),l.Fb=function(t){return S4e((fn(),bo),t)},l.Hb=function(){return jme((fn(),bo))},l.Ib=function(){return Vp((fn(),bo))},O(Za,"ECollections/BasicEmptyUnmodifiableEList",768),M(1312,1,e0,CB),l.Nb=function(t){La(this,t)},l.Rb=function(t){throw ee(new Rr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw ee(new yc)},l.Tb=function(){return 0},l.Ub=function(){throw ee(new yc)},l.Vb=function(){return-1},l.Qb=function(){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(Za,"ECollections/BasicEmptyUnmodifiableEList/1",1312),M(1310,768,{20:1,14:1,15:1,58:1},S$e),l.Vc=function(t,n){RHe()},l.Fc=function(t){return jHe()},l.Wc=function(t,n){return $He()},l.Gc=function(t){return HHe()},l.$b=function(){zHe()},l.Hc=function(t){return!1},l.Ic=function(t){return!1},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return l2e((fn(),t)),null},l.Xc=function(t){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(t){return this.a},l.ii=function(t,n){return GHe()},l.ji=function(t,n){qHe()},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return VHe()},l.Mc=function(t){return UHe()},l._c=function(t,n){return KHe()},l.gc=function(){return 0},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.bd=function(t,n){return fn(),new Yd(bo,t,n)},l.Pc=function(){return lve((fn(),bo))},l.Qc=function(t){return fn(),MD(bo,t)},O(Za,"ECollections/EmptyUnmodifiableEList",1310),M(1311,768,{20:1,14:1,15:1,58:1,589:1},A$e),l.Vc=function(t,n){RHe()},l.Fc=function(t){return jHe()},l.Wc=function(t,n){return $He()},l.Gc=function(t){return HHe()},l.$b=function(){zHe()},l.Hc=function(t){return!1},l.Ic=function(t){return!1},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return l2e((fn(),t)),null},l.Xc=function(t){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(t){return this.a},l.ii=function(t,n){return GHe()},l.ji=function(t,n){qHe()},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return VHe()},l.Mc=function(t){return UHe()},l._c=function(t,n){return KHe()},l.gc=function(){return 0},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.bd=function(t,n){return fn(),new Yd(bo,t,n)},l.Pc=function(){return lve((fn(),bo))},l.Qc=function(t){return fn(),MD(bo,t)},l.sj=function(){return fn(),fn(),o0},O(Za,"ECollections/EmptyUnmodifiableEMap",1311);var rAe=rs(Za,"Enumerator"),DV;M(281,1,{281:1},Sse),l.Fb=function(t){var n;return this===t?!0:me(t,281)?(n=u(t,281),this.f==n.f&&BYt(this.i,n.i)&&ene(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&ene(this.d,n.d)&&ene(this.g,n.g)&&ene(this.e,n.e)&&Man(this,n)):!1},l.Hb=function(){return this.f},l.Ib=function(){return ect(this)},l.f=0;var Zyt=0,Jyt=0,e3t=0,t3t=0,iAe=0,sAe=0,aAe=0,oAe=0,cAe=0,n3t,HS=0,zS=0,r3t=0,i3t=0,IV,uAe;O(Za,"URI",281),M(1091,43,w4,L$e),l.zc=function(t,n){return u(Io(this,Hr(t),u(n,281)),281)},O(Za,"URI/URICache",1091),M(497,63,Ld,p8,uj),l.hi=function(){return!0},O(Za,"UniqueEList",497),M(581,60,q0,h$),O(Za,"WrappedException",581);var ti=rs(kh,E1t),zy=rs(kh,T1t),Bu=rs(kh,_1t),Gy=rs(kh,C1t),u1=rs(kh,S1t),Jh=rs(kh,"EClass"),Qhe=rs(kh,"EDataType"),s3t;M(1183,43,w4,M$e),l.xc=function(t){return ga(t)?Gc(this,t):hc(jo(this.f,t))},O(kh,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var OV=rs(kh,"EEnum"),J0=rs(kh,A1t),Eo=rs(kh,L1t),ef=rs(kh,M1t),tf,Dw=rs(kh,D1t),qy=rs(kh,I1t);M(1029,1,{},mZ),l.Ib=function(){return"NIL"},O(kh,"EStructuralFeature/Internal/DynamicValueHolder/1",1029);var a3t;M(1028,43,w4,D$e),l.xc=function(t){return ga(t)?Gc(this,t):hc(jo(this.f,t))},O(kh,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var pu=rs(kh,O1t),Rk=rs(kh,"EValidator/PatternMatcher"),lAe,hAe,Tn,Vg,Vy,m2,o3t,c3t,u3t,y2,Ug,k2,Iw,Q1,l3t,h3t,nf,Kg,f3t,Wg,Uy,e5,co,d3t,g3t,Ow,NV=rs(Ui,"FeatureMap/Entry");M(535,1,{72:1},AR),l.ak=function(){return this.a},l.dd=function(){return this.b},O(_n,"BasicEObjectImpl/1",535),M(1027,1,Cce,GGe),l.Wj=function(t){return ore(this.a,this.b,t)},l.fj=function(){return EYe(this.a,this.b)},l.Wb=function(t){Uve(this.a,this.b,t)},l.Xj=function(){IXt(this.a,this.b)},O(_n,"BasicEObjectImpl/4",1027),M(1983,1,{108:1}),l.bk=function(t){this.e=t==0?p3t:Ie(Xn,_t,1,t,5,1)},l.Ch=function(t){return this.e[t]},l.Dh=function(t,n){this.e[t]=n},l.Eh=function(t){this.e[t]=null},l.ck=function(){return this.c},l.dk=function(){throw ee(new Rr)},l.ek=function(){throw ee(new Rr)},l.fk=function(){return this.d},l.gk=function(){return this.e!=null},l.hk=function(t){this.c=t},l.ik=function(t){throw ee(new Rr)},l.jk=function(t){throw ee(new Rr)},l.kk=function(t){this.d=t};var p3t;O(_n,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),M(185,1983,{108:1},ch),l.dk=function(){return this.a},l.ek=function(){return this.b},l.ik=function(t){this.a=t},l.jk=function(t){this.b=t},O(_n,"BasicEObjectImpl/EPropertiesHolderImpl",185),M(506,97,Nft,b8),l.Kg=function(){return this.f},l.Pg=function(){return this.k},l.Rg=function(t,n){this.g=t,this.i=n},l.Tg=function(){return this.j&2?this.ph().ck():this.zh()},l.Vg=function(){return this.i},l.Mg=function(){return(this.j&1)!=0},l.eh=function(){return this.g},l.kh=function(){return(this.j&4)!=0},l.ph=function(){return!this.k&&(this.k=new ch),this.k},l.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},l.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},l.zh=function(){return(Op(),Tn).S},l.i=0,l.j=1,O(_n,"EObjectImpl",506),M(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},Ube),l.Ch=function(t){return this.e[t]},l.Dh=function(t,n){this.e[t]=n},l.Eh=function(t){this.e[t]=null},l.Tg=function(){return this.d},l.Yg=function(t){return Zi(this.d,t)},l.$g=function(){return this.d},l.dh=function(){return this.e!=null},l.ph=function(){return!this.k&&(this.k=new SB),this.k},l.th=function(t){this.d=t},l.yh=function(){var t;return this.e==null&&(t=Zn(this.d),this.e=t==0?b3t:Ie(Xn,_t,1,t,5,1)),this},l.Ah=function(){return 0};var b3t;O(_n,"DynamicEObjectImpl",780),M(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},iKe),l.Fb=function(t){return this===t},l.Hb=function(){return kv(this)},l.th=function(t){this.d=t,this.b=WD(t,"key"),this.c=WD(t,IC)},l.Sh=function(){var t;return this.a==-1&&(t=mre(this,this.b),this.a=t==null?0:Yi(t)),this.a},l.cd=function(){return mre(this,this.b)},l.dd=function(){return mre(this,this.c)},l.Th=function(t){this.a=t},l.Uh=function(t){Uve(this,this.b,t)},l.ed=function(t){var n;return n=mre(this,this.c),Uve(this,this.c,t),n},l.a=0,O(_n,"DynamicEObjectImpl/BasicEMapEntry",1376),M(1377,1,{108:1},SB),l.bk=function(t){throw ee(new Rr)},l.Ch=function(t){throw ee(new Rr)},l.Dh=function(t,n){throw ee(new Rr)},l.Eh=function(t){throw ee(new Rr)},l.ck=function(){throw ee(new Rr)},l.dk=function(){return this.a},l.ek=function(){return this.b},l.fk=function(){return this.c},l.gk=function(){throw ee(new Rr)},l.hk=function(t){throw ee(new Rr)},l.ik=function(t){this.a=t},l.jk=function(t){this.b=t},l.kk=function(t){this.c=t},O(_n,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),M(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},AB),l.Qg=function(t){return h3e(this,t)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Al((cn(),co),wc,this)),this.b):(!this.b&&(this.b=new Al((cn(),co),wc,this)),UM(this.b));case 3:return AYe(this);case 4:return!this.a&&(this.a=new Ns(b2,this,4)),this.a;case 5:return!this.c&&(this.c=new R3(b2,this,5)),this.c}return ph(this,t-Zn((cn(),Vg)),bn((i=u(Cn(this,16),26),i||Vg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 3:return this.Cb&&(r=(a=this.Db>>16,a>=0?h3e(this,r):this.Cb.ih(this,-1-a,null,r))),cve(this,u(t,147),r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Vg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Vg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 2:return!this.b&&(this.b=new Al((cn(),co),wc,this)),QR(this.b,t,r);case 3:return cve(this,null,r);case 4:return!this.a&&(this.a=new Ns(b2,this,4)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Vg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Vg)),t,r)},l.lh=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!!AYe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return dh(this,t-Zn((cn(),Vg)),bn((n=u(Cn(this,16),26),n||Vg),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:kYt(this,Hr(n));return;case 2:!this.b&&(this.b=new Al((cn(),co),wc,this)),j$(this.b,n);return;case 3:qat(this,u(n,147));return;case 4:!this.a&&(this.a=new Ns(b2,this,4)),_r(this.a),!this.a&&(this.a=new Ns(b2,this,4)),ds(this.a,u(n,14));return;case 5:!this.c&&(this.c=new R3(b2,this,5)),_r(this.c),!this.c&&(this.c=new R3(b2,this,5)),ds(this.c,u(n,14));return}yh(this,t-Zn((cn(),Vg)),bn((r=u(Cn(this,16),26),r||Vg),t),n)},l.zh=function(){return cn(),Vg},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:fme(this,null);return;case 2:!this.b&&(this.b=new Al((cn(),co),wc,this)),this.b.c.$b();return;case 3:qat(this,null);return;case 4:!this.a&&(this.a=new Ns(b2,this,4)),_r(this.a);return;case 5:!this.c&&(this.c=new R3(b2,this,5)),_r(this.c);return}wh(this,t-Zn((cn(),Vg)),bn((n=u(Cn(this,16),26),n||Vg),t))},l.Ib=function(){return snt(this)},l.d=null,O(_n,"EAnnotationImpl",510),M(151,705,q8e,Il),l.Xh=function(t,n){rVt(this,t,u(n,42))},l.lk=function(t,n){return QUt(this,u(t,42),n)},l.pi=function(t){return u(u(this.c,69).pi(t),133)},l.Zh=function(){return u(this.c,69).Zh()},l.$h=function(){return u(this.c,69).$h()},l._h=function(t){return u(this.c,69)._h(t)},l.mk=function(t,n){return QR(this,t,n)},l.Wj=function(t){return u(this.c,76).Wj(t)},l.rj=function(){},l.fj=function(){return u(this.c,76).fj()},l.tj=function(t,n,r){var i;return i=u(ql(this.b).Nh().Jh(this.b),133),i.Th(t),i.Uh(n),i.ed(r),i},l.uj=function(){return new Dge(this)},l.Wb=function(t){j$(this,t)},l.Xj=function(){u(this.c,76).Xj()},O(Ui,"EcoreEMap",151),M(158,151,q8e,Al),l.qj=function(){var t,n,r,i,a,h;if(this.d==null){for(h=Ie(tAe,G8e,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=u(r.nj(),133),i=n.Sh(),a=(i&xi)%h.length,t=h[a],!t&&(t=h[a]=new Dge(this)),t.Fc(n);this.d=h}},O(_n,"EAnnotationImpl/1",158),M(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!this.$j();case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0)}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:this.Lh(Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),g3t},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:this.Lh(null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.ok(1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){Rh(this),this.Bb|=1},l.Yj=function(){return Rh(this)},l.Zj=function(){return this.t},l.$j=function(){var t;return t=this.t,t>1||t==-1},l.hi=function(){return(this.Bb&512)!=0},l.nk=function(t,n){return aye(this,t,n)},l.ok=function(t){Vm(this,t)},l.Ib=function(){return v4e(this)},l.s=0,l.t=1,O(_n,"ETypedElementImpl",284),M(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),l.Qg=function(t){return Hrt(this,t)},l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!this.$j();case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this)}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 17:return this.Cb&&(r=(a=this.Db>>16,a>=0?Hrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,17,r)}return h=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 17:return Yl(this,null,17,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this)}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),d3t},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.ok(1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.Gj=function(){return this.f},l.zj=function(){return u7(this)},l.Hj=function(){return Bm(this)},l.Lj=function(){return null},l.pk=function(){return this.k},l.aj=function(){return this.n},l.Mj=function(){return CH(this)},l.Nj=function(){var t,n,r,i,a,h,d,v,x;return this.p||(r=Bm(this),(r.i==null&&wd(r),r.i).length,i=this.Lj(),i&&Zn(Bm(i)),a=Rh(this),d=a.Bj(),t=d?d.i&1?d==El?Vs:d==Sr?Ja:d==Wy?$7:d==va?ka:d==E2?gw:d==i5?pw:d==Qu?bk:GC:d:null,n=u7(this),v=a.zj(),tsn(this),this.Bb&md&&((h=w3e((Uu(),Oa),r))&&h!=this||(h=P6(No(Oa,this))))?this.p=new VGe(this,h):this.$j()?this.rk()?i?this.Bb&Yu?t?this.sk()?this.p=new V2(47,t,this,i):this.p=new V2(5,t,this,i):this.sk()?this.p=new W2(46,this,i):this.p=new W2(4,this,i):t?this.sk()?this.p=new V2(49,t,this,i):this.p=new V2(7,t,this,i):this.sk()?this.p=new W2(48,this,i):this.p=new W2(6,this,i):this.Bb&Yu?t?t==Eb?this.p=new vg(50,Yyt,this):this.sk()?this.p=new vg(43,t,this):this.p=new vg(1,t,this):this.sk()?this.p=new mg(42,this):this.p=new mg(0,this):t?t==Eb?this.p=new vg(41,Yyt,this):this.sk()?this.p=new vg(45,t,this):this.p=new vg(3,t,this):this.sk()?this.p=new mg(44,this):this.p=new mg(2,this):me(a,148)?t==NV?this.p=new mg(40,this):this.Bb&512?this.Bb&Yu?t?this.p=new vg(9,t,this):this.p=new mg(8,this):t?this.p=new vg(11,t,this):this.p=new mg(10,this):this.Bb&Yu?t?this.p=new vg(13,t,this):this.p=new mg(12,this):t?this.p=new vg(15,t,this):this.p=new mg(14,this):i?(x=i.t,x>1||x==-1?this.sk()?this.Bb&Yu?t?this.p=new V2(25,t,this,i):this.p=new W2(24,this,i):t?this.p=new V2(27,t,this,i):this.p=new W2(26,this,i):this.Bb&Yu?t?this.p=new V2(29,t,this,i):this.p=new W2(28,this,i):t?this.p=new V2(31,t,this,i):this.p=new W2(30,this,i):this.sk()?this.Bb&Yu?t?this.p=new V2(33,t,this,i):this.p=new W2(32,this,i):t?this.p=new V2(35,t,this,i):this.p=new W2(34,this,i):this.Bb&Yu?t?this.p=new V2(37,t,this,i):this.p=new W2(36,this,i):t?this.p=new V2(39,t,this,i):this.p=new W2(38,this,i)):this.sk()?this.Bb&Yu?t?this.p=new vg(17,t,this):this.p=new mg(16,this):t?this.p=new vg(19,t,this):this.p=new mg(18,this):this.Bb&Yu?t?this.p=new vg(21,t,this):this.p=new mg(20,this):t?this.p=new vg(23,t,this):this.p=new mg(22,this):this.qk()?this.sk()?this.p=new IUe(u(a,26),this,i):this.p=new Vve(u(a,26),this,i):me(a,148)?t==NV?this.p=new mg(40,this):this.Bb&Yu?t?this.p=new MKe(n,v,this,(wie(),d==Sr?wAe:d==El?dAe:d==E2?mAe:d==Wy?vAe:d==va?bAe:d==i5?yAe:d==Qu?gAe:d==Sh?pAe:efe)):this.p=new zWe(u(a,148),n,v,this):t?this.p=new LKe(n,v,this,(wie(),d==Sr?wAe:d==El?dAe:d==E2?mAe:d==Wy?vAe:d==va?bAe:d==i5?yAe:d==Qu?gAe:d==Sh?pAe:efe)):this.p=new HWe(u(a,148),n,v,this):this.rk()?i?this.Bb&Yu?this.sk()?this.p=new NUe(u(a,26),this,i):this.p=new Bbe(u(a,26),this,i):this.sk()?this.p=new OUe(u(a,26),this,i):this.p=new Kte(u(a,26),this,i):this.Bb&Yu?this.sk()?this.p=new LVe(u(a,26),this):this.p=new X2e(u(a,26),this):this.sk()?this.p=new AVe(u(a,26),this):this.p=new Ote(u(a,26),this):this.sk()?i?this.Bb&Yu?this.p=new PUe(u(a,26),this,i):this.p=new Nbe(u(a,26),this,i):this.Bb&Yu?this.p=new MVe(u(a,26),this):this.p=new Q2e(u(a,26),this):i?this.Bb&Yu?this.p=new BUe(u(a,26),this,i):this.p=new Pbe(u(a,26),this,i):this.Bb&Yu?this.p=new DVe(u(a,26),this):this.p=new lj(u(a,26),this)),this.p},l.Ij=function(){return(this.Bb&_f)!=0},l.qk=function(){return!1},l.rk=function(){return!1},l.Jj=function(){return(this.Bb&md)!=0},l.Oj=function(){return kre(this)},l.sk=function(){return!1},l.Kj=function(){return(this.Bb&Yu)!=0},l.tk=function(t){this.k=t},l.Lh=function(t){Vne(this,t)},l.Ib=function(){return qH(this)},l.e=!1,l.n=0,O(_n,"EStructuralFeatureImpl",449),M(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},yee),l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!d4e(this);case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this);case 18:return In(),!!(this.Bb&Ec);case 19:return n?jre(this):zQe(this)}return ph(this,t-Zn((cn(),Vy)),bn((i=u(Cn(this,16),26),i||Vy),t),n,r)},l.lh=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 d4e(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this);case 18:return(this.Bb&Ec)!=0;case 19:return!!zQe(this)}return dh(this,t-Zn((cn(),Vy)),bn((n=u(Cn(this,16),26),n||Vy),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:yHe(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return;case 18:lie(this,Bt(Nt(n)));return}yh(this,t-Zn((cn(),Vy)),bn((r=u(Cn(this,16),26),r||Vy),t),n)},l.zh=function(){return cn(),Vy},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.b=0,Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return;case 18:lie(this,!1);return}wh(this,t-Zn((cn(),Vy)),bn((n=u(Cn(this,16),26),n||Vy),t))},l.Gh=function(){jre(this),fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.$j=function(){return d4e(this)},l.nk=function(t,n){return this.b=0,this.a=null,aye(this,t,n)},l.ok=function(t){yHe(this,t)},l.Ib=function(){var t;return this.Db&64?qH(this):(t=new Oh(qH(this)),t.a+=" (iD: ",gg(t,(this.Bb&Ec)!=0),t.a+=")",t.a)},l.b=0,O(_n,"EAttributeImpl",322),M(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),l.uk=function(t){return t.Tg()==this},l.Qg=function(t){return qie(this,t)},l.Rg=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return this.zj();case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r)}return h=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=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!!Zv(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(this);case 7:return!!this.A&&this.A.i!=0}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),o3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.yj=function(){var t;return this.G==-1&&(this.G=(t=ql(this),t?Ag(t.Mh(),this):-1)),this.G},l.zj=function(){return null},l.Aj=function(){return ql(this)},l.vk=function(){return this.v},l.Bj=function(){return Zv(this)},l.Cj=function(){return this.D!=null?this.D:this.B},l.Dj=function(){return this.F},l.wj=function(t){return Bse(this,t)},l.wk=function(t){this.v=t},l.xk=function(t){met(this,t)},l.yk=function(t){this.C=t},l.Lh=function(t){qj(this,t)},l.Ib=function(){return nH(this)},l.C=null,l.D=null,l.G=-1,O(_n,"EClassifierImpl",351),M(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},ML),l.uk=function(t){return FUt(this,t.Tg())},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return null;case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A;case 8:return In(),!!(this.Bb&256);case 9:return In(),!!(this.Bb&512);case 10:return Ro(this);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),this.q;case 12:return g4(this);case 13:return sC(this);case 14:return sC(this),this.r;case 15:return g4(this),this.k;case 16:return r4e(this);case 17:return Hse(this);case 18:return wd(this);case 19:return FH(this);case 20:return g4(this),this.o;case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),this.s;case 22:return Bc(this);case 23:return Cse(this)}return ph(this,t-Zn((cn(),m2)),bn((i=u(Cn(this,16),26),i||m2),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),ru(this.q,t,r);case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),ru(this.s,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),m2)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),m2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),Qa(this.q,t,r);case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),Qa(this.s,t,r);case 22:return Qa(Bc(this),t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),m2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),m2)),t,r)},l.lh=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!!Zv(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(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&&Bc(this.u.a).i!=0&&!(this.n&&Oie(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return g4(this).i!=0;case 13:return sC(this).i!=0;case 14:return sC(this),this.r.i!=0;case 15:return g4(this),this.k.i!=0;case 16:return r4e(this).i!=0;case 17:return Hse(this).i!=0;case 18:return wd(this).i!=0;case 19:return FH(this).i!=0;case 20:return g4(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&Oie(this.n);case 23:return Cse(this).i!=0}return dh(this,t-Zn((cn(),m2)),bn((n=u(Cn(this,16),26),n||m2),t))},l.oh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:WD(this,t),n||N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return;case 8:cye(this,Bt(Nt(n)));return;case 9:uye(this,Bt(Nt(n)));return;case 10:cC(Ro(this)),ds(Ro(this),u(n,14));return;case 11:!this.q&&(this.q=new ot(ef,this,11,10)),_r(this.q),!this.q&&(this.q=new ot(ef,this,11,10)),ds(this.q,u(n,14));return;case 21:!this.s&&(this.s=new ot(Bu,this,21,17)),_r(this.s),!this.s&&(this.s=new ot(Bu,this,21,17)),ds(this.s,u(n,14));return;case 22:_r(Bc(this)),ds(Bc(this),u(n,14));return}yh(this,t-Zn((cn(),m2)),bn((r=u(Cn(this,16),26),r||m2),t),n)},l.zh=function(){return cn(),m2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return;case 8:cye(this,!1);return;case 9:uye(this,!1);return;case 10:this.u&&cC(this.u);return;case 11:!this.q&&(this.q=new ot(ef,this,11,10)),_r(this.q);return;case 21:!this.s&&(this.s=new ot(Bu,this,21,17)),_r(this.s);return;case 22:this.n&&_r(this.n);return}wh(this,t-Zn((cn(),m2)),bn((n=u(Cn(this,16),26),n||m2),t))},l.Gh=function(){var t,n;if(g4(this),sC(this),r4e(this),Hse(this),wd(this),FH(this),Cse(this),k_(eYt(dl(this))),this.s)for(t=0,n=this.s.i;t<n;++t)bM(_e(this.s,t));if(this.q)for(t=0,n=this.q.i;t<n;++t)bM(_e(this.q,t));_g((Uu(),Oa),this).ne(),this.Bb|=1},l.Ib=function(){return _3e(this)},l.k=null,l.r=null;var GS,v3t,Zhe;O(_n,"EClassImpl",88),M(1994,1993,B1t),l.Vh=function(t,n){return Fse(this,t,n)},l.Wh=function(t){return Fse(this,this.i,t)},l.Xh=function(t,n){w4e(this,t,n)},l.Yh=function(t){pse(this,t)},l.lk=function(t,n){return ru(this,t,n)},l.pi=function(t){return $we(this,t)},l.mk=function(t,n){return Qa(this,t,n)},l.mi=function(t,n){return Mct(this,t,n)},l.Zh=function(){return new E6(this)},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},O(Ui,"NotifyingInternalEListImpl",1994),M(622,1994,Xo),l.Hc=function(t){return Wct(this,t)},l.Zi=function(t,n,r,i,a){return p_(this,t,n,r,i,a)},l.$i=function(t){R8(this,t)},l.Wj=function(t){return this},l.ak=function(){return bn(this.e.Tg(),this.aj())},l._i=function(){return this.ak()},l.aj=function(){return Zi(this.e.Tg(),this.ak())},l.zk=function(){return u(this.ak().Yj(),26).Bj()},l.Ak=function(){return go(u(this.ak(),18)).n},l.Ai=function(){return this.e},l.Bk=function(){return!0},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!1},l.Xc=function(t){return Ag(this,t)},l.cj=function(t,n){var r;return r=u(t,49),this.Dk()?this.Bk()?r.gh(this.e,this.Ak(),this.zk(),n):r.gh(this.e,Zi(r.Tg(),go(u(this.ak(),18))),null,n):r.gh(this.e,-1-this.aj(),null,n)},l.dj=function(t,n){var r;return r=u(t,49),this.Dk()?this.Bk()?r.ih(this.e,this.Ak(),this.zk(),n):r.ih(this.e,Zi(r.Tg(),go(u(this.ak(),18))),null,n):r.ih(this.e,-1-this.aj(),null,n)},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(t){return zXe(this.d,t)},l.ej=function(){return Sl(this.e)},l.fj=function(){return this.i!=0},l.ri=function(t){return sD(this.d,t)},l.li=function(t,n){return this.Fk()&&this.Ek()?ek(this,t,u(n,56)):n},l.Gk=function(t){return t.kh()?zp(this.e,u(t,49)):t},l.Wb=function(t){Hqe(this,t)},l.Pc=function(){return CZe(this)},l.Qc=function(t){var n;if(this.Ek())for(n=this.i-1;n>=0;--n)_e(this,n);return Dye(this,t)},l.Xj=function(){_r(this)},l.oi=function(t,n){return HJe(this,t,n)},O(Ui,"EcoreEList",622),M(496,622,Xo,SM),l.ai=function(){return!1},l.aj=function(){return this.c},l.bj=function(){return!1},l.Fk=function(){return!0},l.hi=function(){return!0},l.li=function(t,n){return n},l.ni=function(){return!1},l.c=0,O(Ui,"EObjectEList",496),M(85,496,Xo,Ns),l.bj=function(){return!0},l.Dk=function(){return!1},l.rk=function(){return!0},O(Ui,"EObjectContainmentEList",85),M(545,85,Xo,$R),l.ci=function(){this.b=!0},l.fj=function(){return this.b},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.b,this.b=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.b=!1},l.b=!1,O(Ui,"EObjectContainmentEList/Unsettable",545),M(1140,545,Xo,SKe),l.ii=function(t,n){var r,i;return r=u(F_(this,t,n),87),Sl(this.e)&&R8(this,new WM(this.a,7,(cn(),c3t),lt(n),(i=r.c,me(i,88)?u(i,26):nf),t)),r},l.jj=function(t,n){return zsn(this,u(t,87),n)},l.kj=function(t,n){return Hsn(this,u(t,87),n)},l.lj=function(t,n,r){return Gcn(this,u(t,87),u(n,87),r)},l.Zi=function(t,n,r,i,a){switch(t){case 3:return p_(this,t,n,r,i,this.i>1);case 5:return p_(this,t,n,r,i,this.i-u(r,15).gc()>0);default:return new N0(this.e,t,this.c,n,r,i,!0)}},l.ij=function(){return!0},l.fj=function(){return Oie(this)},l.Xj=function(){_r(this)},O(_n,"EClassImpl/1",1140),M(1154,1153,z8e),l.ui=function(t){var n,r,i,a,h,d,v;if(r=t.xi(),r!=8){if(i=_an(t),i==0)switch(r){case 1:case 9:{v=t.Bi(),v!=null&&(n=dl(u(v,473)),!n.c&&(n.c=new fm),g$(n.c,t.Ai())),d=t.zi(),d!=null&&(a=u(d,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26))));break}case 3:{d=t.zi(),d!=null&&(a=u(d,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26))));break}case 5:{if(d=t.zi(),d!=null)for(h=u(d,14).Kc();h.Ob();)a=u(h.Pb(),473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26)));break}case 4:{v=t.Bi(),v!=null&&(a=u(v,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),g$(n.c,t.Ai())));break}case 6:{if(v=t.Bi(),v!=null)for(h=u(v,14).Kc();h.Ob();)a=u(h.Pb(),473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),g$(n.c,t.Ai()));break}}this.Hk(i)}},l.Hk=function(t){Aot(this,t)},l.b=63,O(_n,"ESuperAdapter",1154),M(1155,1154,z8e,jje),l.Hk=function(t){ny(this,t)},O(_n,"EClassImpl/10",1155),M(1144,696,Xo),l.Vh=function(t,n){return tse(this,t,n)},l.Wh=function(t){return Trt(this,t)},l.Xh=function(t,n){kD(this,t,n)},l.Yh=function(t){GM(this,t)},l.pi=function(t){return $we(this,t)},l.mi=function(t,n){return yre(this,t,n)},l.lk=function(t,n){throw ee(new Rr)},l.Zh=function(){return new E6(this)},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},l.mk=function(t,n){throw ee(new Rr)},l.Wj=function(t){return this},l.fj=function(){return this.i!=0},l.Wb=function(t){throw ee(new Rr)},l.Xj=function(){throw ee(new Rr)},O(Ui,"EcoreEList/UnmodifiableEList",1144),M(319,1144,Xo,N3),l.ni=function(){return!1},O(Ui,"EcoreEList/UnmodifiableEList/FastCompare",319),M(1147,319,Xo,ftt),l.Xc=function(t){var n,r,i;if(me(t,170)&&(n=u(t,170),r=n.aj(),r!=-1)){for(i=this.i;r<i;++r)if($e(this.g[r])===$e(t))return r}return-1},O(_n,"EClassImpl/1EAllStructuralFeaturesList",1147),M(1141,497,Ld,Y5),l.ri=function(t){return Ie(Eo,F1t,87,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/1EGenericSuperTypeEList",1141),M(623,497,Ld,P2),l.ri=function(t){return Ie(Bu,S4,170,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/1EStructuralFeatureUniqueEList",623),M(741,497,Ld,E0),l.ri=function(t){return Ie(qy,S4,18,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/1ReferenceList",741),M(1142,497,Ld,$je),l.bi=function(t,n){VYt(this,u(n,34))},l.ri=function(t){return Ie(Gy,S4,34,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/2",1142),M(1143,497,Ld,dp),l.ri=function(t){return Ie(Gy,S4,34,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/3",1143),M(1145,319,Xo,qUe),l.Fc=function(t){return WWt(this,u(t,34))},l.Yh=function(t){nqt(this,u(t,34))},O(_n,"EClassImpl/4",1145),M(1146,319,Xo,VUe),l.Fc=function(t){return YWt(this,u(t,18))},l.Yh=function(t){rqt(this,u(t,18))},O(_n,"EClassImpl/5",1146),M(1148,497,Ld,m3),l.ri=function(t){return Ie(ef,V8e,59,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/6",1148),M(1149,497,Ld,v8),l.ri=function(t){return Ie(qy,S4,18,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/7",1149),M(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),l.Vh=function(t,n){return l5e(this,t,n)},l.Wh=function(t){return l5e(this,this.Vi(),t)},l.Xh=function(t,n){oat(this,t,n)},l.Yh=function(t){Zst(this,t)},l.lk=function(t,n){return hon(this,t,n)},l.mk=function(t,n){return Pan(this,t,n)},l.mi=function(t,n){return pct(this,t,n)},l.pi=function(t){return this.Oi(t)},l.Zh=function(){return new E6(this)},l.Gi=function(){return this.Ji()},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},O(Ui,"DelegatingNotifyingInternalEListImpl",1997),M(742,1997,U8e),l.ai=function(){var t;return t=bn(Tu(this.b),this.aj()).Yj(),me(t,148)&&!me(t,457)&&(t.Bj().i&1)==0},l.Hc=function(t){var n,r,i,a,h,d,v,x;if(this.Fk()){if(x=this.Vi(),x>4)if(this.wj(t)){if(this.rk()){if(i=u(t,49),r=i.Ug(),v=r==this.b&&(this.Dk()?i.Og(i.Vg(),u(bn(Tu(this.b),this.aj()).Yj(),26).Bj())==go(u(bn(Tu(this.b),this.aj()),18)).n:-1-i.Vg()==this.aj()),this.Ek()&&!v&&!r&&i.Zg()){for(a=0;a<x;++a)if(n=cne(this,this.Oi(a)),$e(n)===$e(t))return!0}return v}else if(this.Dk()&&!this.Ck()){if(h=u(t,56).ah(go(u(bn(Tu(this.b),this.aj()),18))),$e(h)===$e(this.b))return!0;if(h==null||!u(h,56).kh())return!1}}else return!1;if(d=this.Li(t),this.Ek()&&!d){for(a=0;a<x;++a)if(i=cne(this,this.Oi(a)),$e(i)===$e(t))return!0}return d}else return this.Li(t)},l.Zi=function(t,n,r,i,a){return new N0(this.b,t,this.aj(),n,r,i,a)},l.$i=function(t){_i(this.b,t)},l.Wj=function(t){return this},l._i=function(){return bn(Tu(this.b),this.aj())},l.aj=function(){return Zi(Tu(this.b),bn(Tu(this.b),this.aj()))},l.Ai=function(){return this.b},l.Bk=function(){return!!bn(Tu(this.b),this.aj()).Yj().Bj()},l.bj=function(){var t,n;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),(t.Bb&Ec)!=0||!!go(u(n,18))):!1},l.Ck=function(){var t,n,r,i;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),r=go(t),!!r&&(i=r.t,i>1||i==-1)):!1},l.Dk=function(){var t,n,r;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),r=go(t),!!r):!1},l.Ek=function(){var t,n;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),(t.Bb&ao)!=0):!1},l.Xc=function(t){var n,r,i,a;if(i=this.Qi(t),i>=0)return i;if(this.Fk()){for(r=0,a=this.Vi();r<a;++r)if(n=cne(this,this.Oi(r)),$e(n)===$e(t))return r}return-1},l.cj=function(t,n){var r;return r=u(t,49),this.Dk()?this.Bk()?r.gh(this.b,go(u(bn(Tu(this.b),this.aj()),18)).n,u(bn(Tu(this.b),this.aj()).Yj(),26).Bj(),n):r.gh(this.b,Zi(r.Tg(),go(u(bn(Tu(this.b),this.aj()),18))),null,n):r.gh(this.b,-1-this.aj(),null,n)},l.dj=function(t,n){var r;return r=u(t,49),this.Dk()?this.Bk()?r.ih(this.b,go(u(bn(Tu(this.b),this.aj()),18)).n,u(bn(Tu(this.b),this.aj()).Yj(),26).Bj(),n):r.ih(this.b,Zi(r.Tg(),go(u(bn(Tu(this.b),this.aj()),18))),null,n):r.ih(this.b,-1-this.aj(),null,n)},l.rk=function(){var t,n;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),(t.Bb&Ec)!=0):!1},l.Fk=function(){return me(bn(Tu(this.b),this.aj()).Yj(),88)},l.wj=function(t){return bn(Tu(this.b),this.aj()).Yj().wj(t)},l.ej=function(){return Sl(this.b)},l.fj=function(){return!this.Ri()},l.hi=function(){return bn(Tu(this.b),this.aj()).hi()},l.li=function(t,n){return rI(this,t,n)},l.Wb=function(t){cC(this),ds(this,u(t,15))},l.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)rI(this,t,this.Oi(t));return this.Wi()},l.Qc=function(t){var n;if(this.Ek())for(n=this.Vi()-1;n>=0;--n)rI(this,n,this.Oi(n));return this.Xi(t)},l.Xj=function(){cC(this)},l.oi=function(t,n){return _Ze(this,t,n)},O(Ui,"DelegatingEcoreEList",742),M(1150,742,U8e,zVe),l.Hi=function(t,n){hUt(this,t,u(n,26))},l.Ii=function(t){sVt(this,u(t,26))},l.Oi=function(t){var n,r;return n=u(_e(Bc(this.a),t),87),r=n.c,me(r,88)?u(r,26):(cn(),nf)},l.Ti=function(t){var n,r;return n=u(iy(Bc(this.a),t),87),r=n.c,me(r,88)?u(r,26):(cn(),nf)},l.Ui=function(t,n){return fon(this,t,u(n,26))},l.ai=function(){return!1},l.Zi=function(t,n,r,i,a){return null},l.Ji=function(){return new Hje(this)},l.Ki=function(){_r(Bc(this.a))},l.Li=function(t){return rnt(this,t)},l.Mi=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!rnt(this,n))return!1;return!0},l.Ni=function(t){var n,r,i;if(me(t,15)&&(i=u(t,15),i.gc()==Bc(this.a).i)){for(n=i.Kc(),r=new ir(this);n.Ob();)if($e(n.Pb())!==$e(br(r)))return!1;return!0}return!1},l.Pi=function(){var t,n,r,i,a;for(r=1,n=new ir(Bc(this.a));n.e!=n.i.gc();)t=u(br(n),87),i=(a=t.c,me(a,88)?u(a,26):(cn(),nf)),r=31*r+(i?kv(i):0);return r},l.Qi=function(t){var n,r,i,a;for(i=0,r=new ir(Bc(this.a));r.e!=r.i.gc();){if(n=u(br(r),87),$e(t)===$e((a=n.c,me(a,88)?u(a,26):(cn(),nf))))return i;++i}return-1},l.Ri=function(){return Bc(this.a).i==0},l.Si=function(){return null},l.Vi=function(){return Bc(this.a).i},l.Wi=function(){var t,n,r,i,a,h;for(h=Bc(this.a).i,a=Ie(Xn,_t,1,h,5,1),r=0,n=new ir(Bc(this.a));n.e!=n.i.gc();)t=u(br(n),87),a[r++]=(i=t.c,me(i,88)?u(i,26):(cn(),nf));return a},l.Xi=function(t){var n,r,i,a,h,d,v;for(v=Bc(this.a).i,t.length<v&&(a=sD(pl(t).c,v),t=a),t.length>v&&us(t,v,null),i=0,r=new ir(Bc(this.a));r.e!=r.i.gc();)n=u(br(r),87),h=(d=n.c,me(d,88)?u(d,26):(cn(),nf)),us(t,i++,h);return t},l.Yi=function(){var t,n,r,i,a;for(a=new dg,a.a+="[",t=Bc(this.a),n=0,i=Bc(this.a).i;n<i;)To(a,XT((r=u(_e(t,n),87).c,me(r,88)?u(r,26):(cn(),nf)))),++n<i&&(a.a+=so);return a.a+="]",a.a},l.$i=function(t){},l.aj=function(){return 10},l.Bk=function(){return!0},l.bj=function(){return!1},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!0},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(t){return me(t,88)},l.fj=function(){return hJt(this.a)},l.hi=function(){return!0},l.ni=function(){return!0},O(_n,"EClassImpl/8",1150),M(1151,1964,k7,Hje),l.Zc=function(t){return aD(this.a,t)},l.gc=function(){return Bc(this.a.a).i},O(_n,"EClassImpl/8/1",1151),M(1152,497,Ld,N9),l.ri=function(t){return Ie(u1,_t,138,t,0,1)},l.ni=function(){return!1},O(_n,"EClassImpl/9",1152),M(1139,53,Y5e,I$e),O(_n,"EClassImpl/MyHashSet",1139),M(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},jF),l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return this.zj();case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A;case 8:return In(),!!(this.Bb&256)}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.lh=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!!Zv(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return;case 8:X$(this,Bt(Nt(n)));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),u3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return;case 8:X$(this,!0);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){_g((Uu(),Oa),this).ne(),this.Bb|=1},l.Fj=function(){var t,n,r;if(!this.c&&(t=Lat(ql(this)),!t.dc()))for(r=t.Kc();r.Ob();)n=Hr(r.Pb()),nC(this,n)&&Kin(this);return this.b},l.zj=function(){var t;if(!this.e){t=null;try{t=Zv(this)}catch(n){if(n=ts(n),!me(n,102))throw ee(n)}this.d=null,t&&t.i&1&&(t==El?this.d=(In(),Tb):t==Sr?this.d=lt(0):t==Wy?this.d=new T3(0):t==va?this.d=0:t==E2?this.d=ob(0):t==i5?this.d=Vx(0):t==Qu?this.d=rD(0):this.d=fD(0)),this.e=!0}return this.d},l.Ej=function(){return(this.Bb&256)!=0},l.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},l.xk=function(t){met(this,t),this.Ik(t)},l.yk=function(t){this.C=t,this.e=!1},l.Ib=function(){var t;return this.Db&64?nH(this):(t=new Oh(nH(this)),t.a+=" (serializable: ",gg(t,(this.Bb&256)!=0),t.a+=")",t.a)},l.c=!1,l.d=null,l.e=!1,O(_n,"EDataTypeImpl",566),M(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},O$e),l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return Wme(this);case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A;case 8:return In(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new ot(J0,this,9,5)),this.a}return ph(this,t-Zn((cn(),y2)),bn((i=u(Cn(this,16),26),i||y2),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r);case 9:return!this.a&&(this.a=new ot(J0,this,9,5)),ru(this.a,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),y2)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),y2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r);case 9:return!this.a&&(this.a=new ot(J0,this,9,5)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),y2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),y2)),t,r)},l.lh=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!!Zv(this);case 4:return!!Wme(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(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 dh(this,t-Zn((cn(),y2)),bn((n=u(Cn(this,16),26),n||y2),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return;case 8:X$(this,Bt(Nt(n)));return;case 9:!this.a&&(this.a=new ot(J0,this,9,5)),_r(this.a),!this.a&&(this.a=new ot(J0,this,9,5)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),y2)),bn((r=u(Cn(this,16),26),r||y2),t),n)},l.zh=function(){return cn(),y2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return;case 8:X$(this,!0);return;case 9:!this.a&&(this.a=new ot(J0,this,9,5)),_r(this.a);return}wh(this,t-Zn((cn(),y2)),bn((n=u(Cn(this,16),26),n||y2),t))},l.Gh=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t<n;++t)bM(_e(this.a,t));_g((Uu(),Oa),this).ne(),this.Bb|=1},l.zj=function(){return Wme(this)},l.wj=function(t){return t!=null},l.Ik=function(t){},O(_n,"EEnumImpl",457),M(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},r$e),l.ne=function(){return this.zb},l.Qg=function(t){return Yrt(this,t)},l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lt(this.d);case 3:return this.b?this.b:this.a;case 4:return a=this.c,a??this.zb;case 5:return this.Db>>16==5?u(this.Cb,671):null}return ph(this,t-Zn((cn(),Ug)),bn((i=u(Cn(this,16),26),i||Ug),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 5:return this.Cb&&(r=(a=this.Db>>16,a>=0?Yrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,5,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Ug)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Ug)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 5:return Yl(this,null,5,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Ug)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Ug)),t,r)},l.lh=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&&u(this.Cb,671))}return dh(this,t-Zn((cn(),Ug)),bn((n=u(Cn(this,16),26),n||Ug),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:Cre(this,u(n,19).a);return;case 3:qst(this,u(n,1940));return;case 4:Are(this,Hr(n));return}yh(this,t-Zn((cn(),Ug)),bn((r=u(Cn(this,16),26),r||Ug),t),n)},l.zh=function(){return cn(),Ug},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:Cre(this,0);return;case 3:qst(this,null);return;case 4:Are(this,null);return}wh(this,t-Zn((cn(),Ug)),bn((n=u(Cn(this,16),26),n||Ug),t))},l.Ib=function(){var t;return t=this.c,t??this.zb},l.b=null,l.c=null,l.d=0,O(_n,"EEnumLiteralImpl",573);var vmn=rs(_n,"EFactoryImpl/InternalEDateTimeFormat");M(489,1,{2015:1},HL),O(_n,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),M(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},cv),l.Sg=function(t,n,r){var i;return r=Yl(this,t,n,r),this.e&&me(t,170)&&(i=BH(this,this.e),i!=this.c&&(r=b7(this,i,r))),r},l._g=function(t,n,r){var i;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ns(Eo,this,1)),this.d;case 2:return n?KH(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?Bie(this):this.a}return ph(this,t-Zn((cn(),Iw)),bn((i=u(Cn(this,16),26),i||Iw),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return Ktt(this,null,r);case 1:return!this.d&&(this.d=new Ns(Eo,this,1)),Qa(this.d,t,r);case 3:return Utt(this,null,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Iw)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Iw)),t,r)},l.lh=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 dh(this,t-Zn((cn(),Iw)),bn((n=u(Cn(this,16),26),n||Iw),t))},l.sh=function(t,n){var r;switch(t){case 0:dit(this,u(n,87));return;case 1:!this.d&&(this.d=new Ns(Eo,this,1)),_r(this.d),!this.d&&(this.d=new Ns(Eo,this,1)),ds(this.d,u(n,14));return;case 3:S3e(this,u(n,87));return;case 4:q3e(this,u(n,836));return;case 5:_x(this,u(n,138));return}yh(this,t-Zn((cn(),Iw)),bn((r=u(Cn(this,16),26),r||Iw),t),n)},l.zh=function(){return cn(),Iw},l.Bh=function(t){var n;switch(t){case 0:dit(this,null);return;case 1:!this.d&&(this.d=new Ns(Eo,this,1)),_r(this.d);return;case 3:S3e(this,null);return;case 4:q3e(this,null);return;case 5:_x(this,null);return}wh(this,t-Zn((cn(),Iw)),bn((n=u(Cn(this,16),26),n||Iw),t))},l.Ib=function(){var t;return t=new jl(Ef(this)),t.a+=" (expression: ",Vse(this,t),t.a+=")",t.a};var fAe;O(_n,"EGenericTypeImpl",241),M(1969,1964,eG),l.Xh=function(t,n){jVe(this,t,n)},l.lk=function(t,n){return jVe(this,this.gc(),t),n},l.pi=function(t){return n1(this.Gi(),t)},l.Zh=function(){return this.$h()},l.Gi=function(){return new Vje(this)},l.$h=function(){return this._h(0)},l._h=function(t){return this.Gi().Zc(t)},l.mk=function(t,n){return Wm(this,t,!0),n},l.ii=function(t,n){var r,i;return i=Uie(this,n),r=this.Zc(t),r.Rb(i),i},l.ji=function(t,n){var r;Wm(this,n,!0),r=this.Zc(t),r.Rb(n)},O(Ui,"AbstractSequentialInternalEList",1969),M(486,1969,eG,gM),l.pi=function(t){return n1(this.Gi(),t)},l.Zh=function(){return this.b==null?(pg(),pg(),VO):this.Jk()},l.Gi=function(){return new lqe(this.a,this.b)},l.$h=function(){return this.b==null?(pg(),pg(),VO):this.Jk()},l._h=function(t){var n,r;if(this.b==null){if(t<0||t>1)throw ee(new Mo(OC+t+", size=0"));return pg(),pg(),VO}for(r=this.Jk(),n=0;n<t;++n)$$(r);return r},l.dc=function(){var t,n,r,i,a,h;if(this.b!=null){for(r=0;r<this.b.length;++r)if(t=this.b[r],!this.Mk()||this.a.mh(t)){if(h=this.a.bh(t,!1),ho(),u(t,66).Oj()){for(n=u(h,153),i=0,a=n.gc();i<a;++i)if(tWe(n.il(i))&&n.jl(i)!=null)return!1}else if(t.$j()){if(!u(h,14).dc())return!1}else if(h!=null)return!1}}return!0},l.Kc=function(){return pme(this)},l.Zc=function(t){var n,r;if(this.b==null){if(t!=0)throw ee(new Mo(OC+t+", size=0"));return pg(),pg(),VO}for(r=this.Lk()?this.Kk():this.Jk(),n=0;n<t;++n)$$(r);return r},l.ii=function(t,n){throw ee(new Rr)},l.ji=function(t,n){throw ee(new Rr)},l.Jk=function(){return new VR(this.a,this.b)},l.Kk=function(){return new Y2e(this.a,this.b)},l.Lk=function(){return!0},l.gc=function(){var t,n,r,i,a,h,d;if(a=0,this.b!=null){for(r=0;r<this.b.length;++r)if(t=this.b[r],!this.Mk()||this.a.mh(t))if(d=this.a.bh(t,!1),ho(),u(t,66).Oj())for(n=u(d,153),i=0,h=n.gc();i<h;++i)tWe(n.il(i))&&n.jl(i)!=null&&++a;else t.$j()?a+=u(d,14).gc():d!=null&&++a}return a},l.Mk=function(){return!0};var Jhe;O(Ui,"EContentsEList",486),M(1156,486,eG,_Ve),l.Jk=function(){return new CVe(this.a,this.b)},l.Kk=function(){return new SVe(this.a,this.b)},l.Mk=function(){return!1},O(_n,"ENamedElementImpl/1",1156),M(279,1,tG,VR),l.Nb=function(t){La(this,t)},l.Rb=function(t){throw ee(new Rr)},l.Nk=function(t){if(this.g!=0||this.e)throw ee(new Vo("Iterator already in use or already filtered"));this.e=t},l.Ob=function(){var t,n,r,i,a,h;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!ist(this,this.p):!Vst(this))){for(;this.d<this.c.length;)if(n=this.c[this.d++],(!this.e||n.Gj()!=kE||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(ho(),u(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(i=u(h,15),this.k=i):(i=u(h,69),this.k=this.j=i),me(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?ist(this,this.p):Vst(this))return a=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,this.i=r,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return a=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=3,!0}},l.Sb=function(){var t,n,r,i,a,h;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!sst(this,this.p):!vst(this))){for(;this.d>0;)if(n=this.c[--this.d],(!this.e||n.Gj()!=kE||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(ho(),u(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(i=u(h,15),this.k=i):(i=u(h,69),this.k=this.j=i),me(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?sst(this,this.p):vst(this))return a=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,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.pi(--this.n):this.k.Xb(--this.n),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}},l.Pb=function(){return $$(this)},l.Tb=function(){return this.a},l.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw ee(new yc)},l.Vb=function(){return this.a-1},l.Qb=function(){throw ee(new Rr)},l.Lk=function(){return!1},l.Wb=function(t){throw ee(new Rr)},l.Mk=function(){return!0},l.a=0,l.d=0,l.f=!1,l.g=0,l.n=0,l.o=0;var VO;O(Ui,"EContentsEList/FeatureIteratorImpl",279),M(697,279,tG,Y2e),l.Lk=function(){return!0},O(Ui,"EContentsEList/ResolvingFeatureIteratorImpl",697),M(1157,697,tG,SVe),l.Mk=function(){return!1},O(_n,"ENamedElementImpl/1/1",1157),M(1158,279,tG,CVe),l.Mk=function(){return!1},O(_n,"ENamedElementImpl/1/2",1158),M(36,143,DI,jm,Jne,oa,gre,N0,yf,Jwe,tXe,eme,nXe,Twe,rXe,rme,iXe,_we,sXe,tme,aXe,c_,WM,Dne,nme,oXe,Cwe,cXe),l._i=function(){return Fwe(this)},l.gj=function(){var t;return t=Fwe(this),t?t.zj():null},l.yi=function(t){return this.b==-1&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},l.Ai=function(){return this.c},l.hj=function(){var t;return t=Fwe(this),t?t.Kj():!1},l.b=-1,O(_n,"ENotificationImpl",36),M(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},kee),l.Qg=function(t){return Zrt(this,t)},l._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),h=this.t,h>1||h==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new Hu(pu,this,11)),this.d;case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new yM(this,this)),this.a;case 14:return gl(this)}return ph(this,t-Zn((cn(),Kg)),bn((i=u(Cn(this,16),26),i||Kg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Zrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,10,r);case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),ru(this.c,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Kg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Kg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 10:return Yl(this,null,10,r);case 11:return!this.d&&(this.d=new Hu(pu,this,11)),Qa(this.d,t,r);case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),Qa(this.c,t,r);case 14:return Qa(gl(this),t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Kg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Kg)),t,r)},l.lh=function(t){var n,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&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,26));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&gl(this.a.a).i!=0&&!(this.b&&Nie(this.b));case 14:return!!this.b&&Nie(this.b)}return dh(this,t-Zn((cn(),Kg)),bn((n=u(Cn(this,16),26),n||Kg),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:Vm(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 11:!this.d&&(this.d=new Hu(pu,this,11)),_r(this.d),!this.d&&(this.d=new Hu(pu,this,11)),ds(this.d,u(n,14));return;case 12:!this.c&&(this.c=new ot(Dw,this,12,10)),_r(this.c),!this.c&&(this.c=new ot(Dw,this,12,10)),ds(this.c,u(n,14));return;case 13:!this.a&&(this.a=new yM(this,this)),cC(this.a),!this.a&&(this.a=new yM(this,this)),ds(this.a,u(n,14));return;case 14:_r(gl(this)),ds(gl(this),u(n,14));return}yh(this,t-Zn((cn(),Kg)),bn((r=u(Cn(this,16),26),r||Kg),t),n)},l.zh=function(){return cn(),Kg},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 11:!this.d&&(this.d=new Hu(pu,this,11)),_r(this.d);return;case 12:!this.c&&(this.c=new ot(Dw,this,12,10)),_r(this.c);return;case 13:this.a&&cC(this.a);return;case 14:this.b&&_r(this.b);return}wh(this,t-Zn((cn(),Kg)),bn((n=u(Cn(this,16),26),n||Kg),t))},l.Gh=function(){var t,n;if(this.c)for(t=0,n=this.c.i;t<n;++t)bM(_e(this.c,t));Rh(this),this.Bb|=1},O(_n,"EOperationImpl",399),M(505,742,U8e,yM),l.Hi=function(t,n){lUt(this,t,u(n,138))},l.Ii=function(t){aVt(this,u(t,138))},l.Oi=function(t){var n,r;return n=u(_e(gl(this.a),t),87),r=n.c,r||(cn(),Q1)},l.Ti=function(t){var n,r;return n=u(iy(gl(this.a),t),87),r=n.c,r||(cn(),Q1)},l.Ui=function(t,n){return oan(this,t,u(n,138))},l.ai=function(){return!1},l.Zi=function(t,n,r,i,a){return null},l.Ji=function(){return new zje(this)},l.Ki=function(){_r(gl(this.a))},l.Li=function(t){return ant(this,t)},l.Mi=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!ant(this,n))return!1;return!0},l.Ni=function(t){var n,r,i;if(me(t,15)&&(i=u(t,15),i.gc()==gl(this.a).i)){for(n=i.Kc(),r=new ir(this);n.Ob();)if($e(n.Pb())!==$e(br(r)))return!1;return!0}return!1},l.Pi=function(){var t,n,r,i,a;for(r=1,n=new ir(gl(this.a));n.e!=n.i.gc();)t=u(br(n),87),i=(a=t.c,a||(cn(),Q1)),r=31*r+(i?Yi(i):0);return r},l.Qi=function(t){var n,r,i,a;for(i=0,r=new ir(gl(this.a));r.e!=r.i.gc();){if(n=u(br(r),87),$e(t)===$e((a=n.c,a||(cn(),Q1))))return i;++i}return-1},l.Ri=function(){return gl(this.a).i==0},l.Si=function(){return null},l.Vi=function(){return gl(this.a).i},l.Wi=function(){var t,n,r,i,a,h;for(h=gl(this.a).i,a=Ie(Xn,_t,1,h,5,1),r=0,n=new ir(gl(this.a));n.e!=n.i.gc();)t=u(br(n),87),a[r++]=(i=t.c,i||(cn(),Q1));return a},l.Xi=function(t){var n,r,i,a,h,d,v;for(v=gl(this.a).i,t.length<v&&(a=sD(pl(t).c,v),t=a),t.length>v&&us(t,v,null),i=0,r=new ir(gl(this.a));r.e!=r.i.gc();)n=u(br(r),87),h=(d=n.c,d||(cn(),Q1)),us(t,i++,h);return t},l.Yi=function(){var t,n,r,i,a;for(a=new dg,a.a+="[",t=gl(this.a),n=0,i=gl(this.a).i;n<i;)To(a,XT((r=u(_e(t,n),87).c,r||(cn(),Q1)))),++n<i&&(a.a+=so);return a.a+="]",a.a},l.$i=function(t){},l.aj=function(){return 13},l.Bk=function(){return!0},l.bj=function(){return!1},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!0},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(t){return me(t,138)},l.fj=function(){return lJt(this.a)},l.hi=function(){return!0},l.ni=function(){return!0},O(_n,"EOperationImpl/1",505),M(1340,1964,k7,zje),l.Zc=function(t){return aD(this.a,t)},l.gc=function(){return gl(this.a.a).i},O(_n,"EOperationImpl/1/1",1340),M(1341,545,Xo,AKe),l.ii=function(t,n){var r,i;return r=u(F_(this,t,n),87),Sl(this.e)&&R8(this,new WM(this.a,7,(cn(),f3t),lt(n),(i=r.c,i||Q1),t)),r},l.jj=function(t,n){return Ein(this,u(t,87),n)},l.kj=function(t,n){return Tin(this,u(t,87),n)},l.lj=function(t,n,r){return Ean(this,u(t,87),u(n,87),r)},l.Zi=function(t,n,r,i,a){switch(t){case 3:return p_(this,t,n,r,i,this.i>1);case 5:return p_(this,t,n,r,i,this.i-u(r,15).gc()>0);default:return new N0(this.e,t,this.c,n,r,i,!0)}},l.ij=function(){return!0},l.fj=function(){return Nie(this)},l.Xj=function(){_r(this)},O(_n,"EOperationImpl/2",1341),M(498,1,{1938:1,498:1},qGe),O(_n,"EPackageImpl/1",498),M(16,85,Xo,ot),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.Dk=function(){return!0},l.b=0,O(Ui,"EObjectContainmentWithInverseEList",16),M(353,16,Xo,T6),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentWithInverseEList/Resolving",353),M(298,353,Xo,Om),l.ci=function(){this.a.tb=null},O(_n,"EPackageImpl/2",298),M(1228,1,{},LB),O(_n,"EPackageImpl/3",1228),M(718,43,w4,Qge),l._b=function(t){return ga(t)?Ine(this,t):!!jo(this.f,t)},O(_n,"EPackageRegistryImpl",718),M(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},xee),l.Qg=function(t){return Jrt(this,t)},l._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),h=this.t,h>1||h==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return ph(this,t-Zn((cn(),Uy)),bn((i=u(Cn(this,16),26),i||Uy),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Jrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,10,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Uy)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Uy)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 10:return Yl(this,null,10,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Uy)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Uy)),t,r)},l.lh=function(t){var n,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&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,59))}return dh(this,t-Zn((cn(),Uy)),bn((n=u(Cn(this,16),26),n||Uy),t))},l.zh=function(){return cn(),Uy},O(_n,"EParameterImpl",509),M(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},ebe),l._g=function(t,n,r){var i,a,h,d;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),d=this.t,d>1||d==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this);case 18:return In(),!!(this.Bb&Ec);case 19:return In(),h=go(this),!!(h&&h.Bb&Ec);case 20:return In(),!!(this.Bb&ao);case 21:return n?go(this):this.b;case 22:return n?Fme(this):MQe(this);case 23:return!this.a&&(this.a=new R3(Gy,this,23)),this.a}return ph(this,t-Zn((cn(),e5)),bn((i=u(Cn(this,16),26),i||e5),t),n,r)},l.lh=function(t){var n,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&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this);case 18:return(this.Bb&Ec)!=0;case 19:return i=go(this),!!i&&(i.Bb&Ec)!=0;case 20:return(this.Bb&ao)==0;case 21:return!!this.b;case 22:return!!MQe(this);case 23:return!!this.a&&this.a.i!=0}return dh(this,t-Zn((cn(),e5)),bn((n=u(Cn(this,16),26),n||e5),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:Vm(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return;case 18:vZt(this,Bt(Nt(n)));return;case 20:gye(this,Bt(Nt(n)));return;case 21:dme(this,u(n,18));return;case 23:!this.a&&(this.a=new R3(Gy,this,23)),_r(this.a),!this.a&&(this.a=new R3(Gy,this,23)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),e5)),bn((r=u(Cn(this,16),26),r||e5),t),n)},l.zh=function(){return cn(),e5},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return;case 18:dye(this,!1),me(this.Cb,88)&&ny(dl(u(this.Cb,88)),2);return;case 20:gye(this,!0);return;case 21:dme(this,null);return;case 23:!this.a&&(this.a=new R3(Gy,this,23)),_r(this.a);return}wh(this,t-Zn((cn(),e5)),bn((n=u(Cn(this,16),26),n||e5),t))},l.Gh=function(){Fme(this),fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.Lj=function(){return go(this)},l.qk=function(){var t;return t=go(this),!!t&&(t.Bb&Ec)!=0},l.rk=function(){return(this.Bb&Ec)!=0},l.sk=function(){return(this.Bb&ao)!=0},l.nk=function(t,n){return this.c=null,aye(this,t,n)},l.Ib=function(){var t;return this.Db&64?qH(this):(t=new Oh(qH(this)),t.a+=" (containment: ",gg(t,(this.Bb&Ec)!=0),t.a+=", resolveProxies: ",gg(t,(this.Bb&ao)!=0),t.a+=")",t.a)},O(_n,"EReferenceImpl",99),M(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},kZ),l.Fb=function(t){return this===t},l.cd=function(){return this.b},l.dd=function(){return this.c},l.Hb=function(){return kv(this)},l.Uh=function(t){xYt(this,Hr(t))},l.ed=function(t){return lYt(this,Hr(t))},l._g=function(t,n,r){var i;switch(t){case 0:return this.b;case 1:return this.c}return ph(this,t-Zn((cn(),co)),bn((i=u(Cn(this,16),26),i||co),t),n,r)},l.lh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return dh(this,t-Zn((cn(),co)),bn((n=u(Cn(this,16),26),n||co),t))},l.sh=function(t,n){var r;switch(t){case 0:EYt(this,Hr(n));return;case 1:lme(this,Hr(n));return}yh(this,t-Zn((cn(),co)),bn((r=u(Cn(this,16),26),r||co),t),n)},l.zh=function(){return cn(),co},l.Bh=function(t){var n;switch(t){case 0:ume(this,null);return;case 1:lme(this,null);return}wh(this,t-Zn((cn(),co)),bn((n=u(Cn(this,16),26),n||co),t))},l.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Lg(t)),this.a},l.Th=function(t){this.a=t},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new Oh(Ef(this)),t.a+=" (key: ",To(t,this.b),t.a+=", value: ",To(t,this.c),t.a+=")",t.a)},l.a=-1,l.b=null,l.c=null;var wc=O(_n,"EStringToStringMapEntryImpl",548),w3t=rs(Ui,"FeatureMap/Entry/Internal");M(565,1,nG),l.Ok=function(t){return this.Pk(u(t,49))},l.Pk=function(t){return this.Ok(t)},l.Fb=function(t){var n,r;return this===t?!0:me(t,72)?(n=u(t,72),n.ak()==this.c?(r=this.dd(),r==null?n.dd()==null:Ci(r,n.dd())):!1):!1},l.ak=function(){return this.c},l.Hb=function(){var t;return t=this.dd(),Yi(this.c)^(t==null?0:Yi(t))},l.Ib=function(){var t,n;return t=this.c,n=ql(t.Hj()).Ph(),t.ne(),(n!=null&&n.length!=0?n+":"+t.ne():t.ne())+"="+this.dd()},O(_n,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),M(776,565,nG,ube),l.Pk=function(t){return new ube(this.c,t)},l.dd=function(){return this.a},l.Qk=function(t,n,r){return jnn(this,t,this.a,n,r)},l.Rk=function(t,n,r){return $nn(this,t,this.a,n,r)},O(_n,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),M(1314,1,{},VGe),l.Pj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.nl(this.a).Wj(i)},l.Qj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.el(this.a,i,a)},l.Rj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.fl(this.a,i,a)},l.Sj=function(t,n,r){var i;return i=u(kx(t,this.b),215),i.nl(this.a).fj()},l.Tj=function(t,n,r,i){var a;a=u(kx(t,this.b),215),a.nl(this.a).Wb(i)},l.Uj=function(t,n,r){return u(kx(t,this.b),215).nl(this.a)},l.Vj=function(t,n,r){var i;i=u(kx(t,this.b),215),i.nl(this.a).Xj()},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),M(89,1,{},vg,V2,mg,W2),l.Pj=function(t,n,r,i,a){var h;if(h=n.Ch(r),h==null&&n.Dh(r,h=rz(this,t)),!a)switch(this.e){case 50:case 41:return u(h,589).sj();case 40:return u(h,215).kl()}return h},l.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),d==null&&n.Dh(r,d=rz(this,t)),h=u(d,69).lk(i,a),h},l.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),h!=null&&(a=u(h,69).mk(i,a)),a},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&u(i,76).fj()},l.Tj=function(t,n,r,i){var a;a=u(n.Ch(r),76),!a&&n.Dh(r,a=rz(this,t)),a.Wb(i)},l.Uj=function(t,n,r){var i,a;return a=n.Ch(r),a==null&&n.Dh(r,a=rz(this,t)),me(a,76)?u(a,76):(i=u(n.Ch(r),15),new qje(i))},l.Vj=function(t,n,r){var i;i=u(n.Ch(r),76),!i&&n.Dh(r,i=rz(this,t)),i.Xj()},l.b=0,l.e=0,O(_n,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),M(504,1,{}),l.Qj=function(t,n,r,i,a){throw ee(new Rr)},l.Rj=function(t,n,r,i,a){throw ee(new Rr)},l.Uj=function(t,n,r){return new $We(this,t,n,r)};var d0;O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),M(1331,1,Cce,$We),l.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},l.fj=function(){return this.a.Sj(this.c,this.d,this.b)},l.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},l.Xj=function(){this.a.Vj(this.c,this.d,this.b)},l.b=0,O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),M(769,504,{},Vve),l.Pj=function(t,n,r,i,a){return Ise(t,t.eh(),t.Vg())==this.b?this.sk()&&i?bse(t):t.eh():null},l.Qj=function(t,n,r,i,a){var h,d;return t.eh()&&(a=(h=t.Vg(),h>=0?t.Qg(a):t.eh().ih(t,-1-h,null,a))),d=Zi(t.Tg(),this.e),t.Sg(i,d,a)},l.Rj=function(t,n,r,i,a){var h;return h=Zi(t.Tg(),this.e),t.Sg(null,h,a)},l.Sj=function(t,n,r){var i;return i=Zi(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},l.Tj=function(t,n,r,i){var a,h,d,v,x;if(i!=null&&!Bse(this.a,i))throw ee(new $8(rG+(me(i,56)?_3e(u(i,56).Tg()):Ywe(pl(i)))+iG+this.a+"'"));if(a=t.eh(),d=Zi(t.Tg(),this.e),$e(i)!==$e(a)||t.Vg()!=d&&i!=null){if(e7(t,u(i,56)))throw ee(new Dn(DC+t.Ib()));x=null,a&&(x=(h=t.Vg(),h>=0?t.Qg(x):t.eh().ih(t,-1-h,null,x))),v=u(i,49),v&&(x=v.gh(t,Zi(v.Tg(),this.b),null,x)),x=t.Sg(v,d,x),x&&x.Fi()}else t.Lg()&&t.Mg()&&_i(t,new oa(t,1,d,i,i))},l.Vj=function(t,n,r){var i,a,h,d;i=t.eh(),i?(d=(a=t.Vg(),a>=0?t.Qg(null):t.eh().ih(t,-1-a,null,null)),h=Zi(t.Tg(),this.e),d=t.Sg(null,h,d),d&&d.Fi()):t.Lg()&&t.Mg()&&_i(t,new c_(t,1,this.e,null,null))},l.sk=function(){return!1},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),M(1315,769,{},IUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),M(563,504,{}),l.Pj=function(t,n,r,i,a){var h;return h=n.Ch(r),h==null?this.b:$e(h)===$e(d0)?null:h},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&($e(i)===$e(d0)||!Ci(i,this.b))},l.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=(h=n.Ch(r),h==null?this.b:$e(h)===$e(d0)?null:h),i==null?this.c!=null?(n.Dh(r,null),i=this.b):this.b!=null?n.Dh(r,d0):n.Dh(r,null):(this.Sk(i),n.Dh(r,i)),_i(t,this.d.Tk(t,1,this.e,a,i))):i==null?this.c!=null?n.Dh(r,null):this.b!=null?n.Dh(r,d0):n.Dh(r,null):(this.Sk(i),n.Dh(r,i))},l.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=(a=n.Ch(r),a==null?this.b:$e(a)===$e(d0)?null:a),n.Eh(r),_i(t,this.d.Tk(t,1,this.e,i,this.b))):n.Eh(r)},l.Sk=function(t){throw ee(new e$e)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),M(A4,1,{},MB),l.Tk=function(t,n,r,i,a){return new c_(t,n,r,i,a)},l.Uk=function(t,n,r,i,a,h){return new Dne(t,n,r,i,a,h)};var dAe,gAe,pAe,bAe,vAe,wAe,mAe,efe,yAe;O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",A4),M(1332,A4,{},DB),l.Tk=function(t,n,r,i,a){return new Cwe(t,n,r,Bt(Nt(i)),Bt(Nt(a)))},l.Uk=function(t,n,r,i,a,h){return new cXe(t,n,r,Bt(Nt(i)),Bt(Nt(a)),h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),M(1333,A4,{},IB),l.Tk=function(t,n,r,i,a){return new Jwe(t,n,r,u(i,217).a,u(a,217).a)},l.Uk=function(t,n,r,i,a,h){return new tXe(t,n,r,u(i,217).a,u(a,217).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),M(1334,A4,{},w8),l.Tk=function(t,n,r,i,a){return new eme(t,n,r,u(i,172).a,u(a,172).a)},l.Uk=function(t,n,r,i,a,h){return new nXe(t,n,r,u(i,172).a,u(a,172).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),M(1335,A4,{},OB),l.Tk=function(t,n,r,i,a){return new Twe(t,n,r,We(gt(i)),We(gt(a)))},l.Uk=function(t,n,r,i,a,h){return new rXe(t,n,r,We(gt(i)),We(gt(a)),h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),M(1336,A4,{},NB),l.Tk=function(t,n,r,i,a){return new rme(t,n,r,u(i,155).a,u(a,155).a)},l.Uk=function(t,n,r,i,a,h){return new iXe(t,n,r,u(i,155).a,u(a,155).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),M(1337,A4,{},xZ),l.Tk=function(t,n,r,i,a){return new _we(t,n,r,u(i,19).a,u(a,19).a)},l.Uk=function(t,n,r,i,a,h){return new sXe(t,n,r,u(i,19).a,u(a,19).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),M(1338,A4,{},m8),l.Tk=function(t,n,r,i,a){return new tme(t,n,r,u(i,162).a,u(a,162).a)},l.Uk=function(t,n,r,i,a,h){return new aXe(t,n,r,u(i,162).a,u(a,162).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),M(1339,A4,{},y8),l.Tk=function(t,n,r,i,a){return new nme(t,n,r,u(i,184).a,u(a,184).a)},l.Uk=function(t,n,r,i,a,h){return new oXe(t,n,r,u(i,184).a,u(a,184).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),M(1317,563,{},HWe),l.Sk=function(t){if(!this.a.wj(t))throw ee(new $8(rG+pl(t)+iG+this.a+"'"))},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),M(1318,563,{},LKe),l.Sk=function(t){},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),M(770,563,{}),l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},l.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=!0,h=n.Ch(r),h==null?(a=!1,h=this.b):$e(h)===$e(d0)&&(h=null),i==null?this.c!=null?(n.Dh(r,null),i=this.b):n.Dh(r,d0):(this.Sk(i),n.Dh(r,i)),_i(t,this.d.Uk(t,1,this.e,h,i,!a))):i==null?this.c!=null?n.Dh(r,null):n.Dh(r,d0):(this.Sk(i),n.Dh(r,i))},l.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=!0,a=n.Ch(r),a==null?(i=!1,a=this.b):$e(a)===$e(d0)&&(a=null),n.Eh(r),_i(t,this.d.Uk(t,2,this.e,a,this.b,i))):n.Eh(r)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),M(1319,770,{},zWe),l.Sk=function(t){if(!this.a.wj(t))throw ee(new $8(rG+pl(t)+iG+this.a+"'"))},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),M(1320,770,{},MKe),l.Sk=function(t){},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),M(398,504,{},lj),l.Pj=function(t,n,r,i,a){var h,d,v,x,T;if(T=n.Ch(r),this.Kj()&&$e(T)===$e(d0))return null;if(this.sk()&&i&&T!=null){if(v=u(T,49),v.kh()&&(x=zp(t,v),v!=x)){if(!Bse(this.a,x))throw ee(new $8(rG+pl(x)+iG+this.a+"'"));n.Dh(r,T=x),this.rk()&&(h=u(x,49),d=v.ih(t,this.b?Zi(v.Tg(),this.b):-1-Zi(t.Tg(),this.e),null,null),!h.eh()&&(d=h.gh(t,this.b?Zi(h.Tg(),this.b):-1-Zi(t.Tg(),this.e),null,d)),d&&d.Fi()),t.Lg()&&t.Mg()&&_i(t,new c_(t,9,this.e,v,x))}return T}else return T},l.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),$e(d)===$e(d0)&&(d=null),n.Dh(r,i),this.bj()?$e(d)!==$e(i)&&d!=null&&(h=u(d,49),a=h.ih(t,Zi(h.Tg(),this.b),null,a)):this.rk()&&d!=null&&(a=u(d,49).ih(t,-1-Zi(t.Tg(),this.e),null,a)),t.Lg()&&t.Mg()&&(!a&&(a=new kp(4)),a.Ei(new c_(t,1,this.e,d,i))),a},l.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),$e(h)===$e(d0)&&(h=null),n.Eh(r),t.Lg()&&t.Mg()&&(!a&&(a=new kp(4)),this.Kj()?a.Ei(new c_(t,2,this.e,h,null)):a.Ei(new c_(t,1,this.e,h,null))),a},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},l.Tj=function(t,n,r,i){var a,h,d,v,x;if(i!=null&&!Bse(this.a,i))throw ee(new $8(rG+(me(i,56)?_3e(u(i,56).Tg()):Ywe(pl(i)))+iG+this.a+"'"));x=n.Ch(r),v=x!=null,this.Kj()&&$e(x)===$e(d0)&&(x=null),d=null,this.bj()?$e(x)!==$e(i)&&(x!=null&&(a=u(x,49),d=a.ih(t,Zi(a.Tg(),this.b),null,d)),i!=null&&(a=u(i,49),d=a.gh(t,Zi(a.Tg(),this.b),null,d))):this.rk()&&$e(x)!==$e(i)&&(x!=null&&(d=u(x,49).ih(t,-1-Zi(t.Tg(),this.e),null,d)),i!=null&&(d=u(i,49).gh(t,-1-Zi(t.Tg(),this.e),null,d))),i==null&&this.Kj()?n.Dh(r,d0):n.Dh(r,i),t.Lg()&&t.Mg()?(h=new Dne(t,1,this.e,x,i,this.Kj()&&!v),d?(d.Ei(h),d.Fi()):_i(t,h)):d&&d.Fi()},l.Vj=function(t,n,r){var i,a,h,d,v;v=n.Ch(r),d=v!=null,this.Kj()&&$e(v)===$e(d0)&&(v=null),h=null,v!=null&&(this.bj()?(i=u(v,49),h=i.ih(t,Zi(i.Tg(),this.b),null,h)):this.rk()&&(h=u(v,49).ih(t,-1-Zi(t.Tg(),this.e),null,h))),n.Eh(r),t.Lg()&&t.Mg()?(a=new Dne(t,this.Kj()?2:1,this.e,v,null,d),h?(h.Ei(a),h.Fi()):_i(t,a)):h&&h.Fi()},l.bj=function(){return!1},l.rk=function(){return!1},l.sk=function(){return!1},l.Kj=function(){return!1},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),M(564,398,{},Ote),l.rk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),M(1323,564,{},AVe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),M(772,564,{},X2e),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),M(1325,772,{},LVe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),M(640,564,{},Kte),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),M(1324,640,{},OUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),M(773,640,{},Bbe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),M(1326,773,{},NUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),M(641,398,{},Q2e),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),M(1327,641,{},MVe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),M(774,641,{},Nbe),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),M(1328,774,{},PUe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),M(1321,398,{},DVe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),M(771,398,{},Pbe),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),M(1322,771,{},BUe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),M(775,565,nG,Dve),l.Pk=function(t){return new Dve(this.a,this.c,t)},l.dd=function(){return this.b},l.Qk=function(t,n,r){return $en(this,t,this.b,r)},l.Rk=function(t,n,r){return Hen(this,t,this.b,r)},O(_n,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),M(1329,1,Cce,qje),l.Wj=function(t){return this.a},l.fj=function(){return me(this.a,95)?u(this.a,95).fj():!this.a.dc()},l.Wb=function(t){this.a.$b(),this.a.Gc(u(t,15))},l.Xj=function(){me(this.a,95)?u(this.a,95).Xj():this.a.$b()},O(_n,"EStructuralFeatureImpl/SettingMany",1329),M(1330,565,nG,XXe),l.Ok=function(t){return new Bte((Bi(),US),this.b.Ih(this.a,t))},l.dd=function(){return null},l.Qk=function(t,n,r){return r},l.Rk=function(t,n,r){return r},O(_n,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),M(642,565,nG,Bte),l.Ok=function(t){return new Bte(this.c,t)},l.dd=function(){return this.a},l.Qk=function(t,n,r){return r},l.Rk=function(t,n,r){return r},O(_n,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),M(391,497,Ld,fm),l.ri=function(t){return Ie(Jh,_t,26,t,0,1)},l.ni=function(){return!1},O(_n,"ESuperAdapter/1",391),M(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},wL),l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new i_(this,Eo,this)),this.a}return ph(this,t-Zn((cn(),Ow)),bn((i=u(Cn(this,16),26),i||Ow),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 2:return!this.a&&(this.a=new i_(this,Eo,this)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Ow)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Ow)),t,r)},l.lh=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 dh(this,t-Zn((cn(),Ow)),bn((n=u(Cn(this,16),26),n||Ow),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:!this.a&&(this.a=new i_(this,Eo,this)),_r(this.a),!this.a&&(this.a=new i_(this,Eo,this)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),Ow)),bn((r=u(Cn(this,16),26),r||Ow),t),n)},l.zh=function(){return cn(),Ow},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:!this.a&&(this.a=new i_(this,Eo,this)),_r(this.a);return}wh(this,t-Zn((cn(),Ow)),bn((n=u(Cn(this,16),26),n||Ow),t))},O(_n,"ETypeParameterImpl",444),M(445,85,Xo,i_),l.cj=function(t,n){return Hun(this,u(t,87),n)},l.dj=function(t,n){return zun(this,u(t,87),n)},O(_n,"ETypeParameterImpl/1",445),M(634,43,w4,Eee),l.ec=function(){return new FF(this)},O(_n,"ETypeParameterImpl/2",634),M(556,$1,Ku,FF),l.Fc=function(t){return rUe(this,u(t,87))},l.Gc=function(t){var n,r,i;for(i=!1,r=t.Kc();r.Ob();)n=u(r.Pb(),87),Si(this.a,n,"")==null&&(i=!0);return i},l.$b=function(){il(this.a)},l.Hc=function(t){return Ml(this.a,t)},l.Kc=function(){var t;return t=new ib(new lg(this.a).a),new RF(t)},l.Mc=function(t){return GQe(this,t)},l.gc=function(){return ET(this.a)},O(_n,"ETypeParameterImpl/2/1",556),M(557,1,ba,RF),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(jv(this.a).cd(),87)},l.Ob=function(){return this.a.b},l.Qb=function(){yZe(this.a)},O(_n,"ETypeParameterImpl/2/1/1",557),M(1276,43,w4,N$e),l._b=function(t){return ga(t)?Ine(this,t):!!jo(this.f,t)},l.xc=function(t){var n,r;return n=ga(t)?Gc(this,t):hc(jo(this.f,t)),me(n,837)?(r=u(n,837),n=r._j(),Si(this,u(t,235),n),n):n??(t==null?($ee(),y3t):null)},O(_n,"EValidatorRegistryImpl",1276),M(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},EZ),l.Ih=function(t,n){switch(t.yj()){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:Yo(n);case 25:return Ytn(n);case 27:return ftn(n);case 28:return dtn(n);case 29:return n==null?null:Fqe($S[0],u(n,199));case 41:return n==null?"":xp(u(n,290));case 42:return Yo(n);case 50:return Hr(n);default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;switch(t.G==-1&&(t.G=(z=ql(t),z?Ag(z.Mh(),t):-1)),t.G){case 0:return r=new yee,r;case 1:return n=new AB,n;case 2:return i=new ML,i;case 4:return a=new jF,a;case 5:return h=new O$e,h;case 6:return d=new r$e,d;case 7:return v=new vF,v;case 10:return T=new b8,T;case 11:return L=new kee,L;case 12:return P=new sYe,P;case 13:return q=new xee,q;case 14:return K=new ebe,K;case 17:return Q=new kZ,Q;case 18:return x=new cv,x;case 19:return ue=new wL,ue;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){switch(t.yj()){case 20:return n==null?null:new mpe(n);case 21:return n==null?null:new Ap(n);case 23:case 22:return n==null?null:ean(n);case 26:case 24:return n==null?null:rD(Wl(n,-128,127)<<24>>24);case 25:return h1n(n);case 27:return Fon(n);case 28:return Ron(n);case 29:return aln(n);case 32:case 31:return n==null?null:ty(n);case 38:case 37:return n==null?null:new jge(n);case 40:case 39:return n==null?null:lt(Wl(n,za,xi));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:ob(nz(n));case 49:case 48:return n==null?null:Vx(Wl(n,sG,32767)<<16>>16);case 50:return n;default:throw ee(new Dn(O7+t.ne()+fw))}},O(_n,"EcoreFactoryImpl",1313),M(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},xWe),l.gb=!1,l.hb=!1;var kAe,m3t=!1;O(_n,"EcorePackageImpl",547),M(1184,1,{837:1},TZ),l._j=function(){return oVe(),k3t},O(_n,"EcorePackageImpl/1",1184),M(1193,1,ui,_Z),l.wj=function(t){return me(t,147)},l.xj=function(t){return Ie(HO,_t,147,t,0,1)},O(_n,"EcorePackageImpl/10",1193),M(1194,1,ui,CZ),l.wj=function(t){return me(t,191)},l.xj=function(t){return Ie(Vhe,_t,191,t,0,1)},O(_n,"EcorePackageImpl/11",1194),M(1195,1,ui,SZ),l.wj=function(t){return me(t,56)},l.xj=function(t){return Ie(b2,_t,56,t,0,1)},O(_n,"EcorePackageImpl/12",1195),M(1196,1,ui,AZ),l.wj=function(t){return me(t,399)},l.xj=function(t){return Ie(ef,V8e,59,t,0,1)},O(_n,"EcorePackageImpl/13",1196),M(1197,1,ui,LZ),l.wj=function(t){return me(t,235)},l.xj=function(t){return Ie(c1,_t,235,t,0,1)},O(_n,"EcorePackageImpl/14",1197),M(1198,1,ui,MZ),l.wj=function(t){return me(t,509)},l.xj=function(t){return Ie(Dw,_t,2017,t,0,1)},O(_n,"EcorePackageImpl/15",1198),M(1199,1,ui,PB),l.wj=function(t){return me(t,99)},l.xj=function(t){return Ie(qy,S4,18,t,0,1)},O(_n,"EcorePackageImpl/16",1199),M(1200,1,ui,DZ),l.wj=function(t){return me(t,170)},l.xj=function(t){return Ie(Bu,S4,170,t,0,1)},O(_n,"EcorePackageImpl/17",1200),M(1201,1,ui,IZ),l.wj=function(t){return me(t,472)},l.xj=function(t){return Ie(zy,_t,472,t,0,1)},O(_n,"EcorePackageImpl/18",1201),M(1202,1,ui,OZ),l.wj=function(t){return me(t,548)},l.xj=function(t){return Ie(wc,y1t,548,t,0,1)},O(_n,"EcorePackageImpl/19",1202),M(1185,1,ui,BB),l.wj=function(t){return me(t,322)},l.xj=function(t){return Ie(Gy,S4,34,t,0,1)},O(_n,"EcorePackageImpl/2",1185),M(1203,1,ui,k8),l.wj=function(t){return me(t,241)},l.xj=function(t){return Ie(Eo,F1t,87,t,0,1)},O(_n,"EcorePackageImpl/20",1203),M(1204,1,ui,P9),l.wj=function(t){return me(t,444)},l.xj=function(t){return Ie(pu,_t,836,t,0,1)},O(_n,"EcorePackageImpl/21",1204),M(1205,1,ui,FB),l.wj=function(t){return Tm(t)},l.xj=function(t){return Ie(Vs,Je,476,t,8,1)},O(_n,"EcorePackageImpl/22",1205),M(1206,1,ui,NZ),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(_n,"EcorePackageImpl/23",1206),M(1207,1,ui,RB),l.wj=function(t){return me(t,217)},l.xj=function(t){return Ie(bk,Je,217,t,0,1)},O(_n,"EcorePackageImpl/24",1207),M(1208,1,ui,jB),l.wj=function(t){return me(t,172)},l.xj=function(t){return Ie(GC,Je,172,t,0,1)},O(_n,"EcorePackageImpl/25",1208),M(1209,1,ui,PZ),l.wj=function(t){return me(t,199)},l.xj=function(t){return Ie(wG,Je,199,t,0,1)},O(_n,"EcorePackageImpl/26",1209),M(1210,1,ui,B9),l.wj=function(t){return!1},l.xj=function(t){return Ie(jAe,_t,2110,t,0,1)},O(_n,"EcorePackageImpl/27",1210),M(1211,1,ui,dm),l.wj=function(t){return _m(t)},l.xj=function(t){return Ie(ka,Je,333,t,7,1)},O(_n,"EcorePackageImpl/28",1211),M(1212,1,ui,$B),l.wj=function(t){return me(t,58)},l.xj=function(t){return Ie(eAe,fy,58,t,0,1)},O(_n,"EcorePackageImpl/29",1212),M(1186,1,ui,HB),l.wj=function(t){return me(t,510)},l.xj=function(t){return Ie(ti,{3:1,4:1,5:1,1934:1},590,t,0,1)},O(_n,"EcorePackageImpl/3",1186),M(1213,1,ui,BZ),l.wj=function(t){return me(t,573)},l.xj=function(t){return Ie(rAe,_t,1940,t,0,1)},O(_n,"EcorePackageImpl/30",1213),M(1214,1,ui,FZ),l.wj=function(t){return me(t,153)},l.xj=function(t){return Ie(CAe,fy,153,t,0,1)},O(_n,"EcorePackageImpl/31",1214),M(1215,1,ui,F9),l.wj=function(t){return me(t,72)},l.xj=function(t){return Ie(NV,U1t,72,t,0,1)},O(_n,"EcorePackageImpl/32",1215),M(1216,1,ui,zB),l.wj=function(t){return me(t,155)},l.xj=function(t){return Ie($7,Je,155,t,0,1)},O(_n,"EcorePackageImpl/33",1216),M(1217,1,ui,GB),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(_n,"EcorePackageImpl/34",1217),M(1218,1,ui,mc),l.wj=function(t){return me(t,290)},l.xj=function(t){return Ie(ixe,_t,290,t,0,1)},O(_n,"EcorePackageImpl/35",1218),M(1219,1,ui,RZ),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(_n,"EcorePackageImpl/36",1219),M(1220,1,ui,qB),l.wj=function(t){return me(t,83)},l.xj=function(t){return Ie(sxe,_t,83,t,0,1)},O(_n,"EcorePackageImpl/37",1220),M(1221,1,ui,R9),l.wj=function(t){return me(t,591)},l.xj=function(t){return Ie(xAe,_t,591,t,0,1)},O(_n,"EcorePackageImpl/38",1221),M(1222,1,ui,jZ),l.wj=function(t){return!1},l.xj=function(t){return Ie($Ae,_t,2111,t,0,1)},O(_n,"EcorePackageImpl/39",1222),M(1187,1,ui,$Z),l.wj=function(t){return me(t,88)},l.xj=function(t){return Ie(Jh,_t,26,t,0,1)},O(_n,"EcorePackageImpl/4",1187),M(1223,1,ui,j9),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(_n,"EcorePackageImpl/40",1223),M(1224,1,ui,VB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(_n,"EcorePackageImpl/41",1224),M(1225,1,ui,$9),l.wj=function(t){return me(t,588)},l.xj=function(t){return Ie(nAe,_t,588,t,0,1)},O(_n,"EcorePackageImpl/42",1225),M(1226,1,ui,H9),l.wj=function(t){return!1},l.xj=function(t){return Ie(HAe,Je,2112,t,0,1)},O(_n,"EcorePackageImpl/43",1226),M(1227,1,ui,Gf),l.wj=function(t){return me(t,42)},l.xj=function(t){return Ie(Eb,oz,42,t,0,1)},O(_n,"EcorePackageImpl/44",1227),M(1188,1,ui,mL),l.wj=function(t){return me(t,138)},l.xj=function(t){return Ie(u1,_t,138,t,0,1)},O(_n,"EcorePackageImpl/5",1188),M(1189,1,ui,yL),l.wj=function(t){return me(t,148)},l.xj=function(t){return Ie(Qhe,_t,148,t,0,1)},O(_n,"EcorePackageImpl/6",1189),M(1190,1,ui,X5),l.wj=function(t){return me(t,457)},l.xj=function(t){return Ie(OV,_t,671,t,0,1)},O(_n,"EcorePackageImpl/7",1190),M(1191,1,ui,HZ),l.wj=function(t){return me(t,573)},l.xj=function(t){return Ie(J0,_t,678,t,0,1)},O(_n,"EcorePackageImpl/8",1191),M(1192,1,ui,zZ),l.wj=function(t){return me(t,471)},l.xj=function(t){return Ie(jS,_t,471,t,0,1)},O(_n,"EcorePackageImpl/9",1192),M(1025,1982,m1t,Z$e),l.bi=function(t,n){Cin(this,u(n,415))},l.fi=function(t,n){gst(this,t,u(n,415))},O(_n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),M(1026,143,DI,dWe),l.Ai=function(){return this.a.a},O(_n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),M(1053,1052,{},Lqe),O("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var xAe=rs(K1t,"Resource");M(781,1378,W1t),l.Yk=function(t){},l.Zk=function(t){},l.Vk=function(){return!this.a&&(this.a=new pee(this)),this.a},l.Wk=function(t){var n,r,i,a,h;if(i=t.length,i>0)if(zr(0,t.length),t.charCodeAt(0)==47){for(h=new tu(4),a=1,n=1;n<i;++n)zr(n,t.length),t.charCodeAt(n)==47&&(st(h,a==n?"":t.substr(a,n-a)),a=n+1);return st(h,t.substr(a)),Acn(this,h)}else zr(i-1,t.length),t.charCodeAt(i-1)==63&&(r=kbe(t,Du(63),i-2),r>0&&(t=t.substr(0,r)));return Whn(this,t)},l.Xk=function(){return this.c},l.Ib=function(){var t;return xp(this.gm)+"@"+(t=Yi(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},l.b=!1,O(Sce,"ResourceImpl",781),M(1379,781,W1t,Uje),O(Sce,"BinaryResourceImpl",1379),M(1169,694,kce),l.si=function(t){return me(t,56)?LQt(this,u(t,56)):me(t,591)?new ir(u(t,591).Vk()):$e(t)===$e(this.f)?u(t,14).Kc():(nx(),qO.a)},l.Ob=function(){return b4e(this)},l.a=!1,O(Ui,"EcoreUtil/ContentTreeIterator",1169),M(1380,1169,kce,qKe),l.si=function(t){return $e(t)===$e(this.f)?u(t,15).Kc():new SXe(u(t,56))},O(Sce,"ResourceImpl/5",1380),M(648,1994,B1t,pee),l.Hc=function(t){return this.i<=4?n7(this,t):me(t,49)&&u(t,49).Zg()==this.a},l.bi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},l.di=function(t,n){t==0?this.a.b||(this.a.b=!0):ure(this,t,n)},l.fi=function(t,n){},l.gi=function(t,n,r){},l.aj=function(){return 2},l.Ai=function(){return this.a},l.bj=function(){return!0},l.cj=function(t,n){var r;return r=u(t,49),n=r.wh(this.a,n),n},l.dj=function(t,n){var r;return r=u(t,49),r.wh(null,n)},l.ej=function(){return!1},l.hi=function(){return!0},l.ri=function(t){return Ie(b2,_t,56,t,0,1)},l.ni=function(){return!1},O(Sce,"ResourceImpl/ContentsEList",648),M(957,1964,k7,Vje),l.Zc=function(t){return this.a._h(t)},l.gc=function(){return this.a.gc()},O(Ui,"AbstractSequentialInternalEList/1",957);var EAe,TAe,Oa,_Ae;M(624,1,{},UUe);var PV,BV;O(Ui,"BasicExtendedMetaData",624),M(1160,1,{},UGe),l.$k=function(){return null},l._k=function(){return this.a==-2&&ug(this,tln(this.d,this.b)),this.a},l.al=function(){return null},l.bl=function(){return fn(),fn(),bo},l.ne=function(){return this.c==B7&&E3(this,Vnt(this.d,this.b)),this.c},l.cl=function(){return 0},l.a=-2,l.c=B7,O(Ui,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),M(1161,1,{},dXe),l.$k=function(){return this.a==(mx(),PV)&&_ge(this,vdn(this.f,this.b)),this.a},l._k=function(){return 0},l.al=function(){return this.c==(mx(),PV)&&ZJ(this,wdn(this.f,this.b)),this.c},l.bl=function(){return!this.d&&JJ(this,vgn(this.f,this.b)),this.d},l.ne=function(){return this.e==B7&&CF(this,Vnt(this.f,this.b)),this.e},l.cl=function(){return this.g==-2&&SF(this,yun(this.f,this.b)),this.g},l.e=B7,l.g=-2,O(Ui,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),M(1159,1,{},WGe),l.b=!1,l.c=!1,O(Ui,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),M(1162,1,{},fXe),l.c=-2,l.e=B7,l.f=B7,O(Ui,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),M(585,622,Xo,nj),l.aj=function(){return this.c},l.Fk=function(){return!1},l.li=function(t,n){return n},l.c=0,O(Ui,"EDataTypeEList",585);var CAe=rs(Ui,"FeatureMap");M(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},gs),l.Vc=function(t,n){ddn(this,t,u(n,72))},l.Fc=function(t){return I1n(this,u(t,72))},l.Yh=function(t){wXt(this,u(t,72))},l.cj=function(t,n){return ZUt(this,u(t,72),n)},l.dj=function(t,n){return Ebe(this,u(t,72),n)},l.ii=function(t,n){return Pgn(this,t,n)},l.li=function(t,n){return gbn(this,t,u(n,72))},l._c=function(t,n){return r0n(this,t,u(n,72))},l.jj=function(t,n){return JUt(this,u(t,72),n)},l.kj=function(t,n){return vUe(this,u(t,72),n)},l.lj=function(t,n,r){return run(this,u(t,72),u(n,72),r)},l.oi=function(t,n){return Jie(this,t,u(n,72))},l.dl=function(t,n){return i5e(this,t,n)},l.Wc=function(t,n){var r,i,a,h,d,v,x,T,L;for(T=new Rv(n.gc()),a=n.Kc();a.Ob();)if(i=u(a.Pb(),72),h=i.ak(),G0(this.e,h))(!h.hi()||!Qj(this,h,i.dd())&&!n7(T,i))&&Pr(T,i);else{for(L=hu(this.e.Tg(),h),r=u(this.g,119),d=!0,v=0;v<this.i;++v)if(x=r[v],L.rl(x.ak())){u(t4(this,v,i),72),d=!1;break}d&&Pr(T,i)}return Ime(this,t,T)},l.Gc=function(t){var n,r,i,a,h,d,v,x,T;for(x=new Rv(t.gc()),i=t.Kc();i.Ob();)if(r=u(i.Pb(),72),a=r.ak(),G0(this.e,a))(!a.hi()||!Qj(this,a,r.dd())&&!n7(x,r))&&Pr(x,r);else{for(T=hu(this.e.Tg(),a),n=u(this.g,119),h=!0,d=0;d<this.i;++d)if(v=n[d],T.rl(v.ak())){u(t4(this,d,r),72),h=!1;break}h&&Pr(x,r)}return ds(this,x)},l.Wh=function(t){return this.j=-1,Fse(this,this.i,t)},l.el=function(t,n,r){return Z4e(this,t,n,r)},l.mk=function(t,n){return ZD(this,t,n)},l.fl=function(t,n,r){return k5e(this,t,n,r)},l.gl=function(){return this},l.hl=function(t,n){return nI(this,t,n)},l.il=function(t){return u(_e(this,t),72).ak()},l.jl=function(t){return u(_e(this,t),72).dd()},l.kl=function(){return this.b},l.bj=function(){return!0},l.ij=function(){return!0},l.ll=function(t){return!_D(this,t)},l.ri=function(t){return Ie(w3t,U1t,332,t,0,1)},l.Gk=function(t){return Nte(this,t)},l.Wb=function(t){DM(this,t)},l.ml=function(t,n){QH(this,t,n)},l.nl=function(t){return ret(this,t)},l.ol=function(t){Lrt(this,t)},O(Ui,"BasicFeatureMap",75),M(1851,1,e0),l.Nb=function(t){La(this,t)},l.Rb=function(t){if(this.g==-1)throw ee(new ju);bj(this);try{eot(this.e,this.b,this.a,t),this.d=this.e.j,pH(this)}catch(n){throw n=ts(n),me(n,73)?ee(new uh):ee(n)}},l.Ob=function(){return Zre(this)},l.Sb=function(){return Ltt(this)},l.Pb=function(){return pH(this)},l.Tb=function(){return this.a},l.Ub=function(){var t;if(Ltt(this))return bj(this),this.g=--this.a,this.Lk()&&(t=X_(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw ee(new yc)},l.Vb=function(){return this.a-1},l.Qb=function(){if(this.g==-1)throw ee(new ju);bj(this);try{Qit(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw t=ts(t),me(t,73)?ee(new uh):ee(t)}},l.Lk=function(){return!1},l.Wb=function(t){if(this.g==-1)throw ee(new ju);bj(this);try{Tct(this.e,this.b,this.g,t),this.d=this.e.j}catch(n){throw n=ts(n),me(n,73)?ee(new uh):ee(n)}},l.a=0,l.c=0,l.d=0,l.f=!1,l.g=0,l.i=0,O(Ui,"FeatureMapUtil/BasicFeatureEIterator",1851),M(410,1851,e0,Bx),l.pl=function(){var t,n,r;for(r=this.e.i,t=u(this.e.g,119);this.c<r;){if(n=t[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},l.ql=function(){var t,n;for(t=u(this.e.g,119);--this.c>=0;)if(n=t[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},O(Ui,"BasicFeatureMap/FeatureEIterator",410),M(662,410,e0,wte),l.Lk=function(){return!0},O(Ui,"BasicFeatureMap/ResolvingFeatureEIterator",662),M(955,486,eG,jqe),l.Gi=function(){return this},O(Ui,"EContentsEList/1",955),M(956,486,eG,lqe),l.Lk=function(){return!1},O(Ui,"EContentsEList/2",956),M(954,279,tG,$qe),l.Nk=function(t){},l.Ob=function(){return!1},l.Sb=function(){return!1},O(Ui,"EContentsEList/FeatureIteratorImpl/1",954),M(825,585,Xo,A2e),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EDataTypeEList/Unsettable",825),M(1849,585,Xo,Wqe),l.hi=function(){return!0},O(Ui,"EDataTypeUniqueEList",1849),M(1850,825,Xo,Yqe),l.hi=function(){return!0},O(Ui,"EDataTypeUniqueEList/Unsettable",1850),M(139,85,Xo,Hu),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentEList/Resolving",139),M(1163,545,Xo,Kqe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentEList/Unsettable/Resolving",1163),M(748,16,Xo,bbe),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectContainmentWithInverseEList/Unsettable",748),M(1173,748,Xo,iUe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),M(743,496,Xo,S2e),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectEList/Unsettable",743),M(328,496,Xo,R3),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectResolvingEList",328),M(1641,743,Xo,Xqe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectResolvingEList/Unsettable",1641),M(1381,1,{},GZ);var y3t;O(Ui,"EObjectValidator",1381),M(546,496,Xo,kj),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.bj=function(){return!0},l.Dk=function(){return!0},l.b=0,O(Ui,"EObjectWithInverseEList",546),M(1176,546,Xo,sUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseEList/ManyInverse",1176),M(625,546,Xo,Rte),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectWithInverseEList/Unsettable",625),M(1175,625,Xo,aUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),M(749,546,Xo,vbe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectWithInverseResolvingEList",749),M(31,749,Xo,yn),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseResolvingEList/ManyInverse",31),M(750,625,Xo,wbe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectWithInverseResolvingEList/Unsettable",750),M(1174,750,Xo,oUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),M(1164,622,Xo),l.ai=function(){return(this.b&1792)==0},l.ci=function(){this.b|=1},l.Bk=function(){return(this.b&4)!=0},l.bj=function(){return(this.b&40)!=0},l.Ck=function(){return(this.b&16)!=0},l.Dk=function(){return(this.b&8)!=0},l.Ek=function(){return(this.b&my)!=0},l.rk=function(){return(this.b&32)!=0},l.Fk=function(){return(this.b&_f)!=0},l.wj=function(t){return this.d?zXe(this.d,t):this.ak().Yj().wj(t)},l.fj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},l.hi=function(){return(this.b&128)!=0},l.Xj=function(){var t;_r(this),this.b&2&&(Sl(this.e)?(t=(this.b&1)!=0,this.b&=-2,R8(this,new yf(this.e,2,Zi(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},l.ni=function(){return(this.b&1536)==0},l.b=0,O(Ui,"EcoreEList/Generic",1164),M(1165,1164,Xo,QWe),l.ak=function(){return this.a},O(Ui,"EcoreEList/Dynamic",1165),M(747,63,Ld,Dge),l.ri=function(t){return sD(this.a.a,t)},O(Ui,"EcoreEMap/1",747),M(746,85,Xo,bve),l.bi=function(t,n){vH(this.b,u(n,133))},l.di=function(t,n){jet(this.b)},l.ei=function(t,n,r){var i;++(i=this.b,u(n,133),i).e},l.fi=function(t,n){cie(this.b,u(n,133))},l.gi=function(t,n,r){cie(this.b,u(r,133)),$e(r)===$e(n)&&u(r,133).Th(oVt(u(n,133).cd())),vH(this.b,u(n,133))},O(Ui,"EcoreEMap/DelegateEObjectContainmentEList",746),M(1171,151,q8e,XJe),O(Ui,"EcoreEMap/Unsettable",1171),M(1172,746,Xo,cUe),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),M(1168,228,w4,eWe),l.a=!1,l.b=!1,O(Ui,"EcoreUtil/Copier",1168),M(745,1,ba,SXe),l.Nb=function(t){La(this,t)},l.Ob=function(){return _nt(this)},l.Pb=function(){var t;return _nt(this),t=this.b,this.b=null,t},l.Qb=function(){this.a.Qb()},O(Ui,"EcoreUtil/ProperContentIterator",745),M(1382,1381,{},wF);var k3t;O(Ui,"EcoreValidator",1382);var x3t;rs(Ui,"FeatureMapUtil/Validator"),M(1260,1,{1942:1},qZ),l.rl=function(t){return!0},O(Ui,"FeatureMapUtil/1",1260),M(757,1,{1942:1},O5e),l.rl=function(t){var n;return this.c==t?!0:(n=Nt(Jn(this.a,t)),n==null?Z0n(this,t)?(PQe(this.a,t,(In(),j7)),!0):(PQe(this.a,t,(In(),Tb)),!1):n==(In(),j7))},l.e=!1;var tfe;O(Ui,"FeatureMapUtil/BasicValidator",757),M(758,43,w4,E2e),O(Ui,"FeatureMapUtil/BasicValidator/Cache",758),M(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},fM),l.Vc=function(t,n){eot(this.c,this.b,t,n)},l.Fc=function(t){return i5e(this.c,this.b,t)},l.Wc=function(t,n){return d2n(this.c,this.b,t,n)},l.Gc=function(t){return WT(this,t)},l.Xh=function(t,n){Ntn(this.c,this.b,t,n)},l.lk=function(t,n){return Z4e(this.c,this.b,t,n)},l.pi=function(t){return XH(this.c,this.b,t,!1)},l.Zh=function(){return kqe(this.c,this.b)},l.$h=function(){return Wqt(this.c,this.b)},l._h=function(t){return jen(this.c,this.b,t)},l.mk=function(t,n){return $Ve(this,t,n)},l.$b=function(){l6(this)},l.Hc=function(t){return Qj(this.c,this.b,t)},l.Ic=function(t){return Rnn(this.c,this.b,t)},l.Xb=function(t){return XH(this.c,this.b,t,!0)},l.Wj=function(t){return this},l.Xc=function(t){return XJt(this.c,this.b,t)},l.dc=function(){return LR(this)},l.fj=function(){return!_D(this.c,this.b)},l.Kc=function(){return xtn(this.c,this.b)},l.Yc=function(){return Etn(this.c,this.b)},l.Zc=function(t){return Pin(this.c,this.b,t)},l.ii=function(t,n){return wct(this.c,this.b,t,n)},l.ji=function(t,n){Oen(this.c,this.b,t,n)},l.$c=function(t){return Qit(this.c,this.b,t)},l.Mc=function(t){return mgn(this.c,this.b,t)},l._c=function(t,n){return Tct(this.c,this.b,t,n)},l.Wb=function(t){OH(this.c,this.b),WT(this,u(t,15))},l.gc=function(){return Win(this.c,this.b)},l.Pc=function(){return KZt(this.c,this.b)},l.Qc=function(t){return QJt(this.c,this.b,t)},l.Ib=function(){var t,n;for(n=new dg,n.a+="[",t=kqe(this.c,this.b);Zre(t);)To(n,XT(pH(t))),Zre(t)&&(n.a+=so);return n.a+="]",n.a},l.Xj=function(){OH(this.c,this.b)},O(Ui,"FeatureMapUtil/FeatureEList",501),M(627,36,DI,ere),l.yi=function(t){return P_(this,t)},l.Di=function(t){var n,r,i,a,h,d,v;switch(this.d){case 1:case 2:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0;break}case 3:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=5,n=new Rv(2),Pr(n,this.g),Pr(n,t.zi()),this.g=n,!0;break}}break}case 5:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return r=u(this.g,14),r.Fc(t.zi()),!0;break}}break}case 4:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break}case 4:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=6,v=new Rv(2),Pr(v,this.n),Pr(v,t.Bi()),this.n=v,d=ie(ne(Sr,1),Jr,25,15,[this.o,t.Ci()]),this.g=d,!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return r=u(this.n,14),r.Fc(t.Bi()),d=u(this.g,48),i=Ie(Sr,Jr,25,d.length+1,15,1),Rc(d,0,i,0,d.length),i[d.length]=t.Ci(),this.g=i,!0;break}}break}}return!1},O(Ui,"FeatureMapUtil/FeatureENotificationImpl",627),M(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},aj),l.dl=function(t,n){return i5e(this.c,t,n)},l.el=function(t,n,r){return Z4e(this.c,t,n,r)},l.fl=function(t,n,r){return k5e(this.c,t,n,r)},l.gl=function(){return this},l.hl=function(t,n){return nI(this.c,t,n)},l.il=function(t){return u(XH(this.c,this.b,t,!1),72).ak()},l.jl=function(t){return u(XH(this.c,this.b,t,!1),72).dd()},l.kl=function(){return this.a},l.ll=function(t){return!_D(this.c,t)},l.ml=function(t,n){QH(this.c,t,n)},l.nl=function(t){return ret(this.c,t)},l.ol=function(t){Lrt(this.c,t)},O(Ui,"FeatureMapUtil/FeatureFeatureMap",552),M(1259,1,Cce,YGe),l.Wj=function(t){return XH(this.b,this.a,-1,t)},l.fj=function(){return!_D(this.b,this.a)},l.Wb=function(t){QH(this.b,this.a,t)},l.Xj=function(){OH(this.b,this.a)},O(Ui,"FeatureMapUtil/FeatureValue",1259);var jk,nfe,rfe,$k,E3t,UO=rs(uG,"AnyType");M(666,60,q0,Dee),O(uG,"InvalidDatatypeValueException",666);var FV=rs(uG,X1t),KO=rs(uG,Q1t),SAe=rs(uG,Z1t),T3t,_c,AAe,jb,_3t,C3t,S3t,A3t,L3t,M3t,D3t,I3t,O3t,N3t,P3t,t5,B3t,n5,qS,F3t,Nw,WO,YO,R3t,VS,US;M(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Zge),l._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new gs(this,0)),this.c):(!this.c&&(this.c=new gs(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)):(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new gs(this,2)),this.b):(!this.b&&(this.b=new gs(this,2)),this.b.b)}return ph(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t),n,r)},l.jh=function(t,n,r){var i;switch(n){case 0:return!this.c&&(this.c=new gs(this,0)),ZD(this.c,t,r);case 1:return(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),69)).mk(t,r);case 2:return!this.b&&(this.b=new gs(this,2)),ZD(this.b,t,r)}return i=u(bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),n),66),i.Nj().Rj(this,Vwe(this),n-Zn(this.zh()),t,r)},l.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).dc();case 2:return!!this.b&&this.b.i!=0}return dh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t))},l.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),DM(this.c,n);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new gs(this,2)),DM(this.b,n);return}yh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t),n)},l.zh=function(){return Bi(),AAe},l.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),_r(this.c);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).$b();return;case 2:!this.b&&(this.b=new gs(this,2)),_r(this.b);return}wh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (mixed: ",qT(t,this.c),t.a+=", anyAttribute: ",qT(t,this.b),t.a+=")",t.a)},O(As,"AnyTypeImpl",830),M(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},UB),l._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return ph(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t),n,r)},l.lh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return dh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t))},l.sh=function(t,n){switch(t){case 0:ree(this,Hr(n));return;case 1:Sge(this,Hr(n));return}yh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t),n)},l.zh=function(){return Bi(),t5},l.Bh=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}wh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (data: ",To(t,this.a),t.a+=", target: ",To(t,this.b),t.a+=")",t.a)},l.a=null,l.b=null,O(As,"ProcessingInstructionImpl",667),M(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},B$e),l._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new gs(this,0)),this.c):(!this.c&&(this.c=new gs(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)):(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new gs(this,2)),this.b):(!this.b&&(this.b=new gs(this,2)),this.b.b);case 3:return!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0));case 4:return mbe(this.a,(!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))));case 5:return this.a}return ph(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t),n,r)},l.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))!=null;case 4:return mbe(this.a,(!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))))!=null;case 5:return!!this.a}return dh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t))},l.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),DM(this.c,n);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new gs(this,2)),DM(this.b,n);return;case 3:iwe(this,Hr(n));return;case 4:iwe(this,ybe(this.a,n));return;case 5:Sc(this,u(n,148));return}yh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t),n)},l.zh=function(){return Bi(),n5},l.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),_r(this.c);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).$b();return;case 2:!this.b&&(this.b=new gs(this,2)),_r(this.b);return;case 3:!this.c&&(this.c=new gs(this,0)),QH(this.c,(Bi(),qS),null);return;case 4:iwe(this,ybe(this.a,null));return;case 5:this.a=null;return}wh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t))},O(As,"SimpleAnyTypeImpl",668),M(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},P$e),l._g=function(t,n,r){switch(t){case 0:return r?(!this.a&&(this.a=new gs(this,0)),this.a):(!this.a&&(this.a=new gs(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new Il((cn(),co),wc,this,1)),this.b):(!this.b&&(this.b=new Il((cn(),co),wc,this,1)),UM(this.b));case 2:return r?(!this.c&&(this.c=new Il((cn(),co),wc,this,2)),this.c):(!this.c&&(this.c=new Il((cn(),co),wc,this,2)),UM(this.c));case 3:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),WO));case 4:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),YO));case 5:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),VS));case 6:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),US))}return ph(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t),n,r)},l.jh=function(t,n,r){var i;switch(n){case 0:return!this.a&&(this.a=new gs(this,0)),ZD(this.a,t,r);case 1:return!this.b&&(this.b=new Il((cn(),co),wc,this,1)),QR(this.b,t,r);case 2:return!this.c&&(this.c=new Il((cn(),co),wc,this,2)),QR(this.c,t,r);case 5:return!this.a&&(this.a=new gs(this,0)),$Ve(qc(this.a,(Bi(),VS)),t,r)}return i=u(bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():(Bi(),Nw),n),66),i.Nj().Rj(this,Vwe(this),n-Zn((Bi(),Nw)),t,r)},l.lh=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 gs(this,0)),!LR(qc(this.a,(Bi(),WO)));case 4:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),YO)));case 5:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),VS)));case 6:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),US)))}return dh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t))},l.sh=function(t,n){switch(t){case 0:!this.a&&(this.a=new gs(this,0)),DM(this.a,n);return;case 1:!this.b&&(this.b=new Il((cn(),co),wc,this,1)),j$(this.b,n);return;case 2:!this.c&&(this.c=new Il((cn(),co),wc,this,2)),j$(this.c,n);return;case 3:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),WO))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,WO),u(n,14));return;case 4:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),YO))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,YO),u(n,14));return;case 5:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),VS))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,VS),u(n,14));return;case 6:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),US))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,US),u(n,14));return}yh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t),n)},l.zh=function(){return Bi(),Nw},l.Bh=function(t){switch(t){case 0:!this.a&&(this.a=new gs(this,0)),_r(this.a);return;case 1:!this.b&&(this.b=new Il((cn(),co),wc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Il((cn(),co),wc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),WO)));return;case 4:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),YO)));return;case 5:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),VS)));return;case 6:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),US)));return}wh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (mixed: ",qT(t,this.a),t.a+=")",t.a)},O(As,"XMLTypeDocumentRootImpl",669),M(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},gm),l.Ih=function(t,n){switch(t.yj()){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:Yo(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Hr(n);case 6:return fUt(u(n,190));case 12:case 47:case 49:case 11:return hut(this,t,n);case 13:return n==null?null:Jpn(u(n,240));case 15:case 14:return n==null?null:uXt(We(gt(n)));case 17:return git((Bi(),n));case 18:return git(n);case 21:case 20:return n==null?null:lXt(u(n,155).a);case 27:return dUt(u(n,190));case 30:return Mrt((Bi(),u(n,15)));case 31:return Mrt(u(n,15));case 40:return pUt((Bi(),n));case 42:return pit((Bi(),n));case 43:return pit(n);case 59:case 48:return gUt((Bi(),n));default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h;switch(t.G==-1&&(t.G=(r=ql(t),r?Ag(r.Mh(),t):-1)),t.G){case 0:return n=new Zge,n;case 1:return i=new UB,i;case 2:return a=new B$e,a;case 3:return h=new P$e,h;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;switch(t.yj()){case 5:case 52:case 4:return n;case 6:return Lan(n);case 8:case 7:return n==null?null:bun(n);case 9:return n==null?null:rD(Wl((i=Kc(n,!0),i.length>0&&(zr(0,i.length),i.charCodeAt(0)==43)?i.substr(1):i),-128,127)<<24>>24);case 10:return n==null?null:rD(Wl((a=Kc(n,!0),a.length>0&&(zr(0,a.length),a.charCodeAt(0)==43)?a.substr(1):a),-128,127)<<24>>24);case 11:return Hr(sw(this,(Bi(),S3t),n));case 12:return Hr(sw(this,(Bi(),A3t),n));case 13:return n==null?null:new mpe(Kc(n,!0));case 15:case 14:return F1n(n);case 16:return Hr(sw(this,(Bi(),L3t),n));case 17:return Bnt((Bi(),n));case 18:return Bnt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Kc(n,!0);case 21:case 20:return U1n(n);case 22:return Hr(sw(this,(Bi(),M3t),n));case 23:return Hr(sw(this,(Bi(),D3t),n));case 24:return Hr(sw(this,(Bi(),I3t),n));case 25:return Hr(sw(this,(Bi(),O3t),n));case 26:return Hr(sw(this,(Bi(),N3t),n));case 27:return Tan(n);case 30:return Fnt((Bi(),n));case 31:return Fnt(n);case 32:return n==null?null:lt(Wl((L=Kc(n,!0),L.length>0&&(zr(0,L.length),L.charCodeAt(0)==43)?L.substr(1):L),za,xi));case 33:return n==null?null:new Ap((P=Kc(n,!0),P.length>0&&(zr(0,P.length),P.charCodeAt(0)==43)?P.substr(1):P));case 34:return n==null?null:lt(Wl((z=Kc(n,!0),z.length>0&&(zr(0,z.length),z.charCodeAt(0)==43)?z.substr(1):z),za,xi));case 36:return n==null?null:ob(nz((q=Kc(n,!0),q.length>0&&(zr(0,q.length),q.charCodeAt(0)==43)?q.substr(1):q)));case 37:return n==null?null:ob(nz((K=Kc(n,!0),K.length>0&&(zr(0,K.length),K.charCodeAt(0)==43)?K.substr(1):K)));case 40:return $sn((Bi(),n));case 42:return Rnt((Bi(),n));case 43:return Rnt(n);case 44:return n==null?null:new Ap((Q=Kc(n,!0),Q.length>0&&(zr(0,Q.length),Q.charCodeAt(0)==43)?Q.substr(1):Q));case 45:return n==null?null:new Ap((ue=Kc(n,!0),ue.length>0&&(zr(0,ue.length),ue.charCodeAt(0)==43)?ue.substr(1):ue));case 46:return Kc(n,!1);case 47:return Hr(sw(this,(Bi(),P3t),n));case 59:case 48:return jsn((Bi(),n));case 49:return Hr(sw(this,(Bi(),B3t),n));case 50:return n==null?null:Vx(Wl((Se=Kc(n,!0),Se.length>0&&(zr(0,Se.length),Se.charCodeAt(0)==43)?Se.substr(1):Se),sG,32767)<<16>>16);case 51:return n==null?null:Vx(Wl((h=Kc(n,!0),h.length>0&&(zr(0,h.length),h.charCodeAt(0)==43)?h.substr(1):h),sG,32767)<<16>>16);case 53:return Hr(sw(this,(Bi(),F3t),n));case 55:return n==null?null:Vx(Wl((d=Kc(n,!0),d.length>0&&(zr(0,d.length),d.charCodeAt(0)==43)?d.substr(1):d),sG,32767)<<16>>16);case 56:return n==null?null:Vx(Wl((v=Kc(n,!0),v.length>0&&(zr(0,v.length),v.charCodeAt(0)==43)?v.substr(1):v),sG,32767)<<16>>16);case 57:return n==null?null:ob(nz((x=Kc(n,!0),x.length>0&&(zr(0,x.length),x.charCodeAt(0)==43)?x.substr(1):x)));case 58:return n==null?null:ob(nz((T=Kc(n,!0),T.length>0&&(zr(0,T.length),T.charCodeAt(0)==43)?T.substr(1):T)));case 60:return n==null?null:lt(Wl((r=Kc(n,!0),r.length>0&&(zr(0,r.length),r.charCodeAt(0)==43)?r.substr(1):r),za,xi));case 61:return n==null?null:lt(Wl(Kc(n,!0),za,xi));default:throw ee(new Dn(O7+t.ne()+fw))}};var j3t,LAe,$3t,MAe;O(As,"XMLTypeFactoryImpl",1919),M(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},kWe),l.N=!1,l.O=!1;var H3t=!1;O(As,"XMLTypePackageImpl",586),M(1852,1,{837:1},Q5),l._j=function(){return f5e(),X3t},O(As,"XMLTypePackageImpl/1",1852),M(1861,1,ui,v1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/10",1861),M(1862,1,ui,KB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/11",1862),M(1863,1,ui,WB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/12",1863),M(1864,1,ui,YB),l.wj=function(t){return _m(t)},l.xj=function(t){return Ie(ka,Je,333,t,7,1)},O(As,"XMLTypePackageImpl/13",1864),M(1865,1,ui,XB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/14",1865),M(1866,1,ui,QB),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/15",1866),M(1867,1,ui,ZB),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/16",1867),M(1868,1,ui,qf),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/17",1868),M(1869,1,ui,mu),l.wj=function(t){return me(t,155)},l.xj=function(t){return Ie($7,Je,155,t,0,1)},O(As,"XMLTypePackageImpl/18",1869),M(1870,1,ui,VZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/19",1870),M(1853,1,ui,UZ),l.wj=function(t){return me(t,843)},l.xj=function(t){return Ie(UO,_t,843,t,0,1)},O(As,"XMLTypePackageImpl/2",1853),M(1871,1,ui,KZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/20",1871),M(1872,1,ui,yu),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/21",1872),M(1873,1,ui,z9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/22",1873),M(1874,1,ui,JB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/23",1874),M(1875,1,ui,eF),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(As,"XMLTypePackageImpl/24",1875),M(1876,1,ui,Z5),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/25",1876),M(1877,1,ui,WZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/26",1877),M(1878,1,ui,x8),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/27",1878),M(1879,1,ui,YZ),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/28",1879),M(1880,1,ui,tF),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/29",1880),M(1854,1,ui,XZ),l.wj=function(t){return me(t,667)},l.xj=function(t){return Ie(FV,_t,2021,t,0,1)},O(As,"XMLTypePackageImpl/3",1854),M(1881,1,ui,QZ),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(As,"XMLTypePackageImpl/30",1881),M(1882,1,ui,G9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/31",1882),M(1883,1,ui,nF),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(As,"XMLTypePackageImpl/32",1883),M(1884,1,ui,kL),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/33",1884),M(1885,1,ui,q9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/34",1885),M(1886,1,ui,ZZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/35",1886),M(1887,1,ui,JZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/36",1887),M(1888,1,ui,xL),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/37",1888),M(1889,1,ui,V9),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/38",1889),M(1890,1,ui,w1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/39",1890),M(1855,1,ui,E8),l.wj=function(t){return me(t,668)},l.xj=function(t){return Ie(KO,_t,2022,t,0,1)},O(As,"XMLTypePackageImpl/4",1855),M(1891,1,ui,eJ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/40",1891),M(1892,1,ui,T8),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/41",1892),M(1893,1,ui,EL),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/42",1893),M(1894,1,ui,B2),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/43",1894),M(1895,1,ui,U9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/44",1895),M(1896,1,ui,TL),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(As,"XMLTypePackageImpl/45",1896),M(1897,1,ui,Vf),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/46",1897),M(1898,1,ui,K9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/47",1898),M(1899,1,ui,m1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/48",1899),M(Xp,1,ui,y1),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(As,"XMLTypePackageImpl/49",Xp),M(1856,1,ui,tJ),l.wj=function(t){return me(t,669)},l.xj=function(t){return Ie(SAe,_t,2023,t,0,1)},O(As,"XMLTypePackageImpl/5",1856),M(1901,1,ui,nJ),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(As,"XMLTypePackageImpl/50",1901),M(1902,1,ui,y3),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/51",1902),M(1903,1,ui,_8),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(As,"XMLTypePackageImpl/52",1903),M(1857,1,ui,C8),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/6",1857),M(1858,1,ui,W9),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(As,"XMLTypePackageImpl/7",1858),M(1859,1,ui,rJ),l.wj=function(t){return Tm(t)},l.xj=function(t){return Ie(Vs,Je,476,t,8,1)},O(As,"XMLTypePackageImpl/8",1859),M(1860,1,ui,J5),l.wj=function(t){return me(t,217)},l.xj=function(t){return Ie(bk,Je,217,t,0,1)},O(As,"XMLTypePackageImpl/9",1860);var Z1,Yg,KS,RV,ge;M(50,60,q0,$r),O(Fg,"RegEx/ParseException",50),M(820,1,{},_L),l.sl=function(t){return t<this.j&&Ma(this.i,t)==63},l.tl=function(){var t,n,r,i,a;if(this.c!=10)throw ee(new $r(Ur((jr(),Qz))));switch(t=this.a,t){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(wi(this),this.c!=0)throw ee(new $r(Ur((jr(),Bg))));if(this.a==123){a=0,r=0;do{if(wi(this),this.c!=0)throw ee(new $r(Ur((jr(),Bg))));if((a=ub(this.a))<0)break;if(r>r*16)throw ee(new $r(Ur((jr(),u1t))));r=r*16+a}while(!0);if(this.a!=125)throw ee(new $r(Ur((jr(),l1t))));if(r>F7)throw ee(new $r(Ur((jr(),h1t))));t=r}else{if(a=0,this.c!=0||(a=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(r=a,wi(this),this.c!=0||(a=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));r=r*16+a,t=r}break;case 117:if(i=0,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));n=n*16+i,t=n;break;case 118:if(wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,n>F7)throw ee(new $r(Ur((jr(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw ee(new $r(Ur((jr(),f1t))))}return t},l.ul=function(t){var n,r;switch(t){case 100:r=(this.e&32)==32?Wp("Nd",!0):(mi(),jV);break;case 68:r=(this.e&32)==32?Wp("Nd",!1):(mi(),BAe);break;case 119:r=(this.e&32)==32?Wp("IsWord",!0):(mi(),TE);break;case 87:r=(this.e&32)==32?Wp("IsWord",!1):(mi(),RAe);break;case 115:r=(this.e&32)==32?Wp("IsSpace",!0):(mi(),Hk);break;case 83:r=(this.e&32)==32?Wp("IsSpace",!1):(mi(),FAe);break;default:throw ee(new ec((n=t,fdt+n.toString(16))))}return r},l.vl=function(t){var n,r,i,a,h,d,v,x,T,L,P,z;for(this.b=1,wi(this),n=null,this.c==0&&this.a==94?(wi(this),t?L=(mi(),mi(),new zl(5)):(n=(mi(),mi(),new zl(4)),Uc(n,0,F7),L=new zl(4))):L=(mi(),mi(),new zl(4)),a=!0;(z=this.c)!=1&&!(z==0&&this.a==93&&!a);){if(a=!1,r=this.a,i=!1,z==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:cy(L,this.ul(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.Ll(L,r),r<0&&(i=!0);break;case 112:case 80:if(P=g4e(this,r),!P)throw ee(new $r(Ur((jr(),Ece))));cy(L,P),i=!0;break;default:r=this.tl()}else if(z==20){if(d=ex(this.i,58,this.d),d<0)throw ee(new $r(Ur((jr(),R8e))));if(v=!0,Ma(this.i,this.d)==94&&(++this.d,v=!1),h=$l(this.i,this.d,d),x=xZe(h,v,(this.e&512)==512),!x)throw ee(new $r(Ur((jr(),i1t))));if(cy(L,x),i=!0,d+1>=this.j||Ma(this.i,d+1)!=93)throw ee(new $r(Ur((jr(),R8e))));this.d=d+2}if(wi(this),!i)if(this.c!=0||this.a!=45)Uc(L,r,r);else{if(wi(this),(z=this.c)==1)throw ee(new $r(Ur((jr(),Zz))));z==0&&this.a==93?(Uc(L,r,r),Uc(L,45,45)):(T=this.a,z==10&&(T=this.tl()),wi(this),Uc(L,r,T))}(this.e&_f)==_f&&this.c==0&&this.a==44&&wi(this)}if(this.c==1)throw ee(new $r(Ur((jr(),Zz))));return n&&(uC(n,L),L=n),c4(L),oC(L),this.b=0,wi(this),L},l.wl=function(){var t,n,r,i;for(r=this.vl(!1);(i=this.c)!=7;)if(t=this.a,i==0&&(t==45||t==38)||i==4){if(wi(this),this.c!=9)throw ee(new $r(Ur((jr(),a1t))));if(n=this.vl(!1),i==4)cy(r,n);else if(t==45)uC(r,n);else if(t==38)sut(r,n);else throw ee(new ec("ASSERT"))}else throw ee(new $r(Ur((jr(),o1t))));return wi(this),r},l.xl=function(){var t,n;return t=this.a-48,n=(mi(),mi(),new Fne(12,null,t)),!this.g&&(this.g=new HF),$F(this.g,new Ige(t)),wi(this),n},l.yl=function(){return wi(this),mi(),q3t},l.zl=function(){return wi(this),mi(),G3t},l.Al=function(){throw ee(new $r(Ur((jr(),xh))))},l.Bl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Cl=function(){return wi(this),Hrn()},l.Dl=function(){return wi(this),mi(),U3t},l.El=function(){return wi(this),mi(),W3t},l.Fl=function(){var t;if(this.d>=this.j||((t=Ma(this.i,this.d++))&65504)!=64)throw ee(new $r(Ur((jr(),t1t))));return wi(this),mi(),mi(),new Ud(0,t-64)},l.Gl=function(){return wi(this),Tpn()},l.Hl=function(){return wi(this),mi(),Y3t},l.Il=function(){var t;return t=(mi(),mi(),new Ud(0,105)),wi(this),t},l.Jl=function(){return wi(this),mi(),K3t},l.Kl=function(){return wi(this),mi(),V3t},l.Ll=function(t,n){return this.tl()},l.Ml=function(){return wi(this),mi(),NAe},l.Nl=function(){var t,n,r,i,a;if(this.d+1>=this.j)throw ee(new $r(Ur((jr(),Zft))));if(i=-1,n=null,t=Ma(this.i,this.d),49<=t&&t<=57){if(i=t-48,!this.g&&(this.g=new HF),$F(this.g,new Ige(i)),++this.d,Ma(this.i,this.d)!=41)throw ee(new $r(Ur((jr(),kb))));++this.d}else switch(t==63&&--this.d,wi(this),n=F5e(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw ee(new $r(Ur((jr(),kb))));break;default:throw ee(new $r(Ur((jr(),Jft))))}if(wi(this),a=Yv(this),r=null,a.e==2){if(a.em()!=2)throw ee(new $r(Ur((jr(),e1t))));r=a.am(1),a=a.am(0)}if(this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),mi(),mi(),new eJe(i,n,a,r)},l.Ol=function(){return wi(this),mi(),PAe},l.Pl=function(){var t;if(wi(this),t=xj(24,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Ql=function(){var t;if(wi(this),t=xj(20,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Rl=function(){var t;if(wi(this),t=xj(22,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Sl=function(){var t,n,r,i,a;for(t=0,r=0,n=-1;this.d<this.j&&(n=Ma(this.i,this.d),a=m4e(n),a!=0);)t|=a,++this.d;if(this.d>=this.j)throw ee(new $r(Ur((jr(),B8e))));if(n==45){for(++this.d;this.d<this.j&&(n=Ma(this.i,this.d),a=m4e(n),a!=0);)r|=a,++this.d;if(this.d>=this.j)throw ee(new $r(Ur((jr(),B8e))))}if(n==58){if(++this.d,wi(this),i=sWe(Yv(this),t,r),this.c!=7)throw ee(new $r(Ur((jr(),kb))));wi(this)}else if(n==41)++this.d,wi(this),i=sWe(Yv(this),t,r);else throw ee(new $r(Ur((jr(),Qft))));return i},l.Tl=function(){var t;if(wi(this),t=xj(21,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Ul=function(){var t;if(wi(this),t=xj(23,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Vl=function(){var t,n;if(wi(this),t=this.f++,n=lne(Yv(this),t),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),n},l.Wl=function(){var t;if(wi(this),t=lne(Yv(this),0),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Xl=function(t){return wi(this),this.c==5?(wi(this),fj(t,(mi(),mi(),new Rm(9,t)))):fj(t,(mi(),mi(),new Rm(3,t)))},l.Yl=function(t){var n;return wi(this),n=(mi(),mi(),new KT(2)),this.c==5?(wi(this),fb(n,YS),fb(n,t)):(fb(n,t),fb(n,YS)),n},l.Zl=function(t){return wi(this),this.c==5?(wi(this),mi(),mi(),new Rm(9,t)):(mi(),mi(),new Rm(3,t))},l.a=0,l.b=0,l.c=0,l.d=0,l.e=0,l.f=1,l.g=null,l.j=0,O(Fg,"RegEx/RegexParser",820),M(1824,820,{},F$e),l.sl=function(t){return!1},l.tl=function(){return W4e(this)},l.ul=function(t){return f7(t)},l.vl=function(t){return Qut(this)},l.wl=function(){throw ee(new $r(Ur((jr(),xh))))},l.xl=function(){throw ee(new $r(Ur((jr(),xh))))},l.yl=function(){throw ee(new $r(Ur((jr(),xh))))},l.zl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Al=function(){return wi(this),f7(67)},l.Bl=function(){return wi(this),f7(73)},l.Cl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Dl=function(){throw ee(new $r(Ur((jr(),xh))))},l.El=function(){throw ee(new $r(Ur((jr(),xh))))},l.Fl=function(){return wi(this),f7(99)},l.Gl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Hl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Il=function(){return wi(this),f7(105)},l.Jl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Kl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ll=function(t,n){return cy(t,f7(n)),-1},l.Ml=function(){return wi(this),mi(),mi(),new Ud(0,94)},l.Nl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ol=function(){return wi(this),mi(),mi(),new Ud(0,36)},l.Pl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ql=function(){throw ee(new $r(Ur((jr(),xh))))},l.Rl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Sl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Tl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ul=function(){throw ee(new $r(Ur((jr(),xh))))},l.Vl=function(){var t;if(wi(this),t=lne(Yv(this),0),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Wl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Xl=function(t){return wi(this),fj(t,(mi(),mi(),new Rm(3,t)))},l.Yl=function(t){var n;return wi(this),n=(mi(),mi(),new KT(2)),fb(n,t),fb(n,YS),n},l.Zl=function(t){return wi(this),mi(),mi(),new Rm(3,t)};var r5=null,xE=null;O(Fg,"RegEx/ParserForXMLSchema",1824),M(117,1,R7,ov),l.$l=function(t){throw ee(new ec("Not supported."))},l._l=function(){return-1},l.am=function(t){return null},l.bm=function(){return null},l.cm=function(t){},l.dm=function(t){},l.em=function(){return 0},l.Ib=function(){return this.fm(0)},l.fm=function(t){return this.e==11?".":""},l.e=0;var DAe,EE,WS,z3t,IAe,Ky=null,jV,ife=null,OAe,YS,sfe=null,NAe,PAe,BAe,FAe,RAe,G3t,Hk,q3t,V3t,U3t,K3t,TE,W3t,Y3t,wmn=O(Fg,"RegEx/Token",117);M(136,117,{3:1,136:1,117:1},zl),l.fm=function(t){var n,r,i;if(this.e==4)if(this==OAe)r=".";else if(this==jV)r="\\d";else if(this==TE)r="\\w";else if(this==Hk)r="\\s";else{for(i=new dg,i.a+="[",n=0;n<this.b.length;n+=2)t&_f&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?To(i,tI(this.b[n])):(To(i,tI(this.b[n])),i.a+="-",To(i,tI(this.b[n+1])));i.a+="]",r=i.a}else if(this==BAe)r="\\D";else if(this==RAe)r="\\W";else if(this==FAe)r="\\S";else{for(i=new dg,i.a+="[^",n=0;n<this.b.length;n+=2)t&_f&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?To(i,tI(this.b[n])):(To(i,tI(this.b[n])),i.a+="-",To(i,tI(this.b[n+1])));i.a+="]",r=i.a}return r},l.a=!1,l.c=!1,O(Fg,"RegEx/RangeToken",136),M(584,1,{584:1},Ige),l.a=0,O(Fg,"RegEx/RegexParser/ReferencePosition",584),M(583,1,{3:1,583:1},WHe),l.Fb=function(t){var n;return t==null||!me(t,583)?!1:(n=u(t,583),on(this.b,n.b)&&this.a==n.a)},l.Hb=function(){return Lg(this.b+"/"+z4e(this.a))},l.Ib=function(){return this.c.fm(this.a)},l.a=0,O(Fg,"RegEx/RegularExpression",583),M(223,117,R7,Ud),l._l=function(){return this.a},l.fm=function(t){var n,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="\\"+Fte(this.a&Ss);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>=ao?(r=(n=this.a>>>0,"0"+n.toString(16)),i="\\v"+$l(r,r.length-6,r.length)):i=""+Fte(this.a&Ss)}break;case 8:this==NAe||this==PAe?i=""+Fte(this.a&Ss):i="\\"+Fte(this.a&Ss);break;default:i=null}return i},l.a=0,O(Fg,"RegEx/Token/CharToken",223),M(309,117,R7,Rm),l.am=function(t){return this.a},l.cm=function(t){this.b=t},l.dm=function(t){this.c=t},l.em=function(){return 1},l.fm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.fm(t)+"*";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}";else throw ee(new ec("Token#toString(): CLOSURE "+this.c+so+this.b));else if(this.c<0&&this.b<0)n=this.a.fm(t)+"*?";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}?";else throw ee(new ec("Token#toString(): NONGREEDYCLOSURE "+this.c+so+this.b));return n},l.b=0,l.c=0,O(Fg,"RegEx/Token/ClosureToken",309),M(821,117,R7,Tve),l.am=function(t){return t==0?this.a:this.b},l.em=function(){return 2},l.fm=function(t){var n;return this.b.e==3&&this.b.am(0)==this.a?n=this.a.fm(t)+"+":this.b.e==9&&this.b.am(0)==this.a?n=this.a.fm(t)+"+?":n=this.a.fm(t)+(""+this.b.fm(t)),n},O(Fg,"RegEx/Token/ConcatToken",821),M(1822,117,R7,eJe),l.am=function(t){if(t==0)return this.d;if(t==1)return this.b;throw ee(new ec("Internal Error: "+t))},l.em=function(){return this.b?2:1},l.fm=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},l.c=0,O(Fg,"RegEx/Token/ConditionToken",1822),M(1823,117,R7,eXe),l.am=function(t){return this.b},l.em=function(){return 1},l.fm=function(t){return"(?"+(this.a==0?"":z4e(this.a))+(this.c==0?"":z4e(this.c))+":"+this.b.fm(t)+")"},l.a=0,l.c=0,O(Fg,"RegEx/Token/ModifierToken",1823),M(822,117,R7,Mve),l.am=function(t){return this.a},l.em=function(){return 1},l.fm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.fm(t)+")":n="("+this.a.fm(t)+")";break;case 20:n="(?="+this.a.fm(t)+")";break;case 21:n="(?!"+this.a.fm(t)+")";break;case 22:n="(?<="+this.a.fm(t)+")";break;case 23:n="(?<!"+this.a.fm(t)+")";break;case 24:n="(?>"+this.a.fm(t)+")"}return n},l.b=0,O(Fg,"RegEx/Token/ParenToken",822),M(521,117,{3:1,117:1,521:1},Fne),l.bm=function(){return this.b},l.fm=function(t){return this.e==12?"\\"+this.a:Ifn(this.b)},l.a=0,O(Fg,"RegEx/Token/StringToken",521),M(465,117,R7,KT),l.$l=function(t){fb(this,t)},l.am=function(t){return u(Av(this.a,t),117)},l.em=function(){return this.a?this.a.a.c.length:0},l.fm=function(t){var n,r,i,a,h;if(this.e==1){if(this.a.a.c.length==2)n=u(Av(this.a,0),117),r=u(Av(this.a,1),117),r.e==3&&r.am(0)==n?a=n.fm(t)+"+":r.e==9&&r.am(0)==n?a=n.fm(t)+"+?":a=n.fm(t)+(""+r.fm(t));else{for(h=new dg,i=0;i<this.a.a.c.length;i++)To(h,u(Av(this.a,i),117).fm(t));a=h.a}return a}if(this.a.a.c.length==2&&u(Av(this.a,1),117).e==7)a=u(Av(this.a,0),117).fm(t)+"?";else if(this.a.a.c.length==2&&u(Av(this.a,0),117).e==7)a=u(Av(this.a,1),117).fm(t)+"??";else{for(h=new dg,To(h,u(Av(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)h.a+="|",To(h,u(Av(this.a,i),117).fm(t));a=h.a}return a},O(Fg,"RegEx/Token/UnionToken",465),M(518,1,{592:1},VL),l.Ib=function(){return this.a.b},O(bdt,"XMLTypeUtil/PatternMatcherImpl",518),M(1622,1381,{},rF);var X3t;O(bdt,"XMLTypeValidator",1622),M(264,1,t0,q2),l.Jc=function(t){Da(this,t)},l.Kc=function(){return(this.b-this.a)*this.c<0?x2:new Lp(this)},l.a=0,l.b=0,l.c=0;var x2;O(rxe,"ExclusiveRange",264),M(1068,1,e0,iJ),l.Rb=function(t){u(t,19),cVt()},l.Nb=function(t){La(this,t)},l.Pb=function(){return JGt()},l.Ub=function(){return eqt()},l.Wb=function(t){u(t,19),lVt()},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Tb=function(){return-1},l.Vb=function(){return-1},l.Qb=function(){throw ee(new fg(mdt))},O(rxe,"ExclusiveRange/1",1068),M(254,1,e0,Lp),l.Rb=function(t){u(t,19),uVt()},l.Nb=function(t){La(this,t)},l.Pb=function(){return cin(this)},l.Ub=function(){return itn(this)},l.Wb=function(t){u(t,19),hVt()},l.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Vb=function(){return this.b-1},l.Qb=function(){throw ee(new fg(mdt))},l.a=0,l.b=0,O(rxe,"ExclusiveRange/RangeIterator",254);var Sh=lx(Jz,"C"),Sr=lx(FC,"I"),El=lx(nk,"Z"),E2=lx(RC,"J"),Qu=lx(NC,"B"),va=lx(PC,"D"),Wy=lx(BC,"F"),i5=lx(jC,"S"),mmn=rs("org.eclipse.elk.core.labels","ILabelManager"),jAe=rs(Za,"DiagnosticChain"),$Ae=rs(K1t,"ResourceSet"),HAe=O(Za,"InvocationTargetException",null),Q3t=(UF(),len),Z3t=Z3t=Jcn;snn(Zzt),Dnn("permProps",[[[fG,dG],[gG,"gecko1_8"]],[[fG,dG],[gG,"ie10"]],[[fG,dG],[gG,"ie8"]],[[fG,dG],[gG,"ie9"]],[[fG,dG],[gG,"safari"]]]),Z3t(null,"elk",null)}).call(this)}).call(this,typeof g0<"u"?g0:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(f,p,w){function k(B,F){if(!(B instanceof F))throw new TypeError("Cannot call a class as a function")}function b(B,F){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:B}function _(B,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);B.prototype=Object.create(F&&F.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(B,F):B.__proto__=F)}var A=f("./elk-api.js").default,N=function(B){_(F,B);function F(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,F);var j=Object.assign({},H),V=!1;try{f.resolve("web-worker"),V=!0}catch{}if(H.workerUrl)if(V){var Z=f("web-worker");j.workerFactory=function(ce){return new Z(ce)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
+`)}return[]}function Dfn(t){var e;return e=(Fee(),bge),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}function kse(t){var e,n,r;t.b==t.c&&(r=t.a.length,n=xyt(b.Math.max(8,r))<<1,t.b!=0?(e=bf(t.a,n),Vee(t,e,r),t.a=e,t.b=0):Hzt(t.a,n),t.c=r)}function Ifn(t,e){var n;return n=t.b,n.Xe((Ei(),kl))?n.Hf()==(ye(),jn)?-n.rf().a-Zt(ke(n.We(kl))):e+Zt(ke(n.We(kl))):n.Hf()==(ye(),jn)?-n.rf().a:e}function eI(t){var e;return t.b.c.length!=0&&u(Fe(t.b,0),70).a?u(Fe(t.b,0),70).a:(e=rrt(t),e??""+(t.c?Zo(t.c.a,t,0):-1))}function Yz(t){var e;return t.f.c.length!=0&&u(Fe(t.f,0),70).a?u(Fe(t.f,0),70).a:(e=rrt(t),e??""+(t.i?Zo(t.i.j,t,0):-1))}function Ofn(t,e){var n,r;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(r=u(t.Xb(n),128),n==t.gc()-1||!r.o)return new Ca(ve(n),r);return null}function Pfn(t,e,n){var r,s,o,h,d;for(o=t.c,d=n?e:t,r=n?t:e,s=d.p+1;s<r.p;++s)if(h=u(Fe(o.a,s),10),!(h.k==(Yn(),W1)||c1n(h)))return!1;return!0}function z3t(t){var e,n,r,s,o;for(o=0,s=Rs,r=0,n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),187),o+=e.r+(r>0?t.c:0),s=b.Math.max(s,e.d),++r;t.e=o,t.b=s}function Nfn(t){var e,n;if(!t.b)for(t.b=k$(u(t.f,118).Ag().i),n=new hr(u(t.f,118).Ag());n.e!=n.i.gc();)e=u(Tr(n),137),de(t.b,new net(e));return t.b}function Ffn(t,e){var n,r,s;if(e.dc())return d8(),d8(),dP;for(n=new _Wt(t,e.gc()),s=new hr(t);s.e!=s.i.gc();)r=Tr(s),e.Hc(r)&&Hr(n,r);return n}function q3t(t,e,n,r){return e==0?r?(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),t.o):(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),pD(t.o)):zz(t,e,n,r)}function mst(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)jM(At(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)jM(At(t.vb,e));k_((Yu(),Fa),t),t.Bb|=1}function Yi(t,e,n,r,s,o,h,d,w,k,_,M,B,q){return Zae(t,e,r,null,s,o,h,d,w,k,B,!0,q),Zyt(t,_),_t(t.Cb,88)&&hy(gl(u(t.Cb,88)),2),n&&Zmt(t,n),Jyt(t,M),t}function Bfn(t){var e,n;if(t==null)return null;n=0;try{n=Kl(t,qa,Di)&Ps}catch(r){if(r=as(r),_t(r,127))e=$$(t),n=e[0];else throw et(r)}return ND(n)}function Rfn(t){var e,n;if(t==null)return null;n=0;try{n=Kl(t,qa,Di)&Ps}catch(r){if(r=as(r),_t(r,127))e=$$(t),n=e[0];else throw et(r)}return ND(n)}function jfn(t,e){var n,r,s;return s=t.h-e.h,s<0||(n=t.l-e.l,r=t.m-e.m+(n>>22),s+=r>>22,s<0)?!1:(t.l=n&yl,t.m=r&yl,t.h=s&Y0,!0)}function $fn(t,e,n,r,s,o,h){var d,w;return!(e.Ae()&&(w=t.a.ue(n,r),w<0||!s&&w==0)||e.Be()&&(d=t.a.ue(n,o),d>0||!h&&d==0))}function zfn(t,e){t7();var n;if(n=t.j.g-e.j.g,n!=0)return 0;switch(t.j.g){case 2:return qit(e,bEt)-qit(t,bEt);case 4:return qit(t,pEt)-qit(e,pEt)}return 0}function qfn(t){switch(t.g){case 0:return klt;case 1:return Elt;case 2:return Tlt;case 3:return _lt;case 4:return BV;case 5:return Clt;default:return null}}function $o(t,e,n){var r,s;return r=(s=new Ktt,gb(s,e),su(s,n),Hr((!t.c&&(t.c=new pe($w,t,12,10)),t.c),s),s),Ng(r,0),ty(r,1),jg(r,!0),Rg(r,!0),r}function ix(t,e){var n,r;if(e>=t.i)throw et(new Get(e,t.i));return++t.j,n=t.g[e],r=t.i-e-1,r>0&&qc(t.g,e+1,t.g,e,r),ds(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Ese(t,e){var n,r;return t.Db>>16==17?t.Cb.ih(t,21,Zh,e):(r=vo(u(wn((n=u(In(t,16),26),n||t.zh()),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Hfn(t){var e,n,r,s;for(pn(),ua(t.c,t.a),s=new S(t.c);s.a<s.c.c.length;)for(r=Q(s),n=new S(t.b);n.a<n.c.c.length;)e=u(Q(n),679),e.Ke(r)}function Vfn(t){var e,n,r,s;for(pn(),ua(t.c,t.a),s=new S(t.c);s.a<s.c.c.length;)for(r=Q(s),n=new S(t.b);n.a<n.c.c.length;)e=u(Q(n),369),e.Ke(r)}function Gfn(t){var e,n,r,s,o;for(s=Di,o=null,r=new S(t.d);r.a<r.c.c.length;)n=u(Q(r),213),n.d.j^n.e.j&&(e=n.e.e-n.d.e-n.a,e<s&&(s=e,o=n));return o}function H3t(){H3t=X,r2e=new vn(cxt,(Rn(),!1)),t2e=new vn(uxt,100),g9t=(j_(),Wut),e2e=new vn(lxt,g9t),n2e=new vn(hxt,Sd),i2e=new vn(fxt,ve(Di))}function Tse(t,e,n){var r,s,o,h,d,w,k,_;for(k=0,s=t.a[e],o=0,h=s.length;o<h;++o)for(r=s[o],_=Q_(r,n),w=_.Kc();w.Ob();)d=u(w.Pb(),11),Ni(t.f,d,ve(k++))}function Ufn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new J2(s),h=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);h.Ob();)o=u(h.Pb(),19),un(t,e,ax(Xm(n,o.a)))}function Wfn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new J2(s),h=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);h.Ob();)o=u(h.Pb(),19),un(t,e,ax(Xm(n,o.a)))}function V3t(t){n2();var e;return e=u(JD(F6(t.k),Pt(uo,Pc,61,2,0,1)),122),O8(e,0,e.length,null),e[0]==(ye(),Nn)&&e[1]==jn&&(ds(e,0,jn),ds(e,1,Nn)),e}function _se(t,e,n){var r,s,o;return s=Ibn(t,e,n),o=D5t(t,s),Hrt(t.b),xrt(t,e,n),pn(),ua(s,new u$t(t)),r=D5t(t,s),Hrt(t.b),xrt(t,n,e),new Ca(ve(o),ve(r))}function Cse(){Cse=X,dme=Mi(new ra,(ao(),Uo),(wo(),fS)),vG=new Ks("linearSegments.inputPrio",ve(0)),wG=new Ks("linearSegments.outputPrio",ve(0))}function l7(){l7=X,mG=new KR("P1_TREEIFICATION",0),NS=new KR("P2_NODE_ORDERING",1),RO=new KR("P3_NODE_PLACEMENT",2),FS=new KR("P4_EDGE_ROUTING",3)}function ay(){ay=X,Aye=(Ei(),qx),Lye=Gb,Tye=Hb,_ye=o5,Cye=x2,Eye=a5,mCt=ZO,Sye=Ky,Fht=(d5t(),bye),Bht=vye,yCt=wye,AG=mye,LG=yye,$O=xye,xCt=kye}function Wl(){Wl=X,eP=new QR("UNKNOWN",0),d0=new QR("ABOVE",1),k2=new QR("BELOW",2),tP=new QR("INLINE",3),new Ks("org.eclipse.elk.labelSide",eP)}function Sse(t,e){var n;if(t.ni()&&e!=null){for(n=0;n<t.i;++n)if(Pi(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(Ut(t.g[n])===Ut(e))return n;return-1}function Kfn(t,e,n){var r,s;return e.c==(xo(),lu)&&n.c==ll?-1:e.c==ll&&n.c==lu?1:(r=wre(e.a,t.a),s=wre(n.a,t.a),e.c==lu?s-r:r-s)}function oy(t,e,n){if(n&&(e<0||e>n.a.c.length))throw et(new Bn("index must be >= 0 and <= layer node count"));t.c&&Au(t.c.a,t),t.c=n,n&&$m(n.a,e,t)}function Ase(t,e){var n,r,s;for(r=new pr(xr(H0(t).a.Kc(),new H));ti(r);)return n=u(qr(r),17),s=u(e.Kb(n),10),new $k(zr(s.n.b+s.o.b/2));return DT(),DT(),gut}function Lse(t,e){this.c=new Br,this.a=t,this.b=e,this.d=u(K(t,(oe(),X4)),304),Ut(K(t,(Te(),e_t)))===Ut((mD(),RV))?this.e=new aqt:this.e=new sqt}function Yfn(t,e){var n,r,s,o;for(o=0,r=new S(t);r.a<r.c.c.length;)n=u(Q(r),33),o+=b.Math.pow(n.g*n.f-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function oC(t,e){var n,r;return r=null,t.Xe((Ei(),Hx))&&(n=u(t.We(Hx),94),n.Xe(e)&&(r=n.We(e))),r==null&&t.yf()&&(r=t.yf().We(e)),r==null&&(r=Ie(e)),r}function yst(t,e){var n,r;n=t.Zc(e);try{return r=n.Pb(),n.Qb(),r}catch(s){throw s=as(s),_t(s,109)?et(new Po("Can't remove element "+e)):et(s)}}function Xfn(t,e){var n,r,s;if(r=new AR,s=new yyt(r.q.getFullYear()-a2,r.q.getMonth(),r.q.getDate()),n=Qmn(t,e,s),n==0||n<e.length)throw et(new Bn(e));return s}function G3t(t,e){var n,r,s;for(Pn(e),Ibt(e!=t),s=t.b.c.length,r=e.Kc();r.Ob();)n=r.Pb(),de(t.b,Pn(n));return s!=t.b.c.length?(Dyt(t,0),!0):!1}function nI(){nI=X,w9t=(Ei(),$G),new bo(rft,(Rn(),!0)),a2e=Hb,o2e=o5,c2e=x2,s2e=a5,y9t=ZO,u2e=Ky,v9t=(H3t(),r2e),p9t=e2e,b9t=n2e,m9t=i2e,uV=t2e}function Qfn(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw et(new Bn("'port' must be either the source port or target port of the edge."))}function Zfn(t,e,n){var r,s;switch(s=t.o,r=t.d,e.g){case 1:return-r.d-n;case 3:return s.b+r.a+n;case 2:return s.a+r.c+n;case 4:return-r.b-n;default:return 0}}function U3t(t,e,n,r){var s,o,h,d;for(Bo(e,u(r.Xb(0),29)),d=r.bd(1,r.gc()),o=u(n.Kb(e),20).Kc();o.Ob();)s=u(o.Pb(),17),h=s.c.i==e?s.d.i:s.c.i,U3t(t,h,n,d)}function Mse(t){var e;return e=new Br,ia(t,(oe(),jlt))?u(K(t,jlt),83):(Ts(Xi(new En(null,new _n(t.j,16)),new iX),new b6(e)),ne(t,jlt,e),e)}function W3t(t,e){var n,r;return t.Db>>16==6?t.Cb.ih(t,6,aa,e):(r=vo(u(wn((n=u(In(t,16),26),n||(ou(),QG)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function K3t(t,e){var n,r;return t.Db>>16==7?t.Cb.ih(t,1,cP,e):(r=vo(u(wn((n=u(In(t,16),26),n||(ou(),NAt)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Y3t(t,e){var n,r;return t.Db>>16==9?t.Cb.ih(t,9,bs,e):(r=vo(u(wn((n=u(In(t,16),26),n||(ou(),BAt)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Dse(t,e){var n,r;return t.Db>>16==5?t.Cb.ih(t,9,aU,e):(r=vo(u(wn((n=u(In(t,16),26),n||(hn(),ip)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function X3t(t,e){var n,r;return t.Db>>16==3?t.Cb.ih(t,0,lP,e):(r=vo(u(wn((n=u(In(t,16),26),n||(hn(),rp)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Ise(t,e){var n,r;return t.Db>>16==7?t.Cb.ih(t,6,c1,e):(r=vo(u(wn((n=u(In(t,16),26),n||(hn(),ap)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Ose(){this.a=new ZF,this.g=new Gz,this.j=new Gz,this.b=new Br,this.d=new Gz,this.i=new Gz,this.k=new Br,this.c=new Br,this.e=new Br,this.f=new Br}function Jfn(t,e,n){var r,s,o;for(n<0&&(n=0),o=t.i,s=n;s<o;s++)if(r=At(t,s),e==null){if(r==null)return s}else if(Ut(e)===Ut(r)||Pi(e,r))return s;return-1}function t1n(t,e){var n,r;return n=e.Hh(t.a),n?(r=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),NH)),ln(rO,r)?k_(t,Vl(e.Hj())):r):null}function h7(t,e){var n,r;if(e){if(e==t)return!0;for(n=0,r=u(e,49).eh();r&&r!=e;r=r.eh()){if(++n>oot)return h7(t,r);if(r==t)return!0}}return!1}function e1n(t){switch(bj(),t.q.g){case 5:voe(t,(ye(),Nn)),voe(t,Ir);break;case 4:fce(t,(ye(),Nn)),fce(t,Ir);break;default:fhe(t,(ye(),Nn)),fhe(t,Ir)}}function n1n(t){switch(bj(),t.q.g){case 5:Ioe(t,(ye(),Wn)),Ioe(t,jn);break;case 4:Hie(t,(ye(),Wn)),Hie(t,jn);break;default:dhe(t,(ye(),Wn)),dhe(t,jn)}}function r1n(t){var e,n;e=u(K(t,(r1(),Qpe)),19),e?(n=e.a,n==0?ne(t,(Kp(),cV),new zit):ne(t,(Kp(),cV),new C$(n))):ne(t,(Kp(),cV),new C$(1))}function i1n(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function s1n(t,e){switch(t.g){case 0:return e==(mh(),b2)?AV:LV;case 1:return e==(mh(),b2)?AV:yO;case 2:return e==(mh(),b2)?yO:LV;default:return yO}}function rI(t,e){var n,r,s;for(Au(t.a,e),t.e-=e.r+(t.a.c.length==0?0:t.c),s=Fkt,r=new S(t.a);r.a<r.c.c.length;)n=u(Q(r),187),s=b.Math.max(s,n.d);t.b=s}function Q3t(t,e){var n,r;return t.Db>>16==3?t.Cb.ih(t,12,bs,e):(r=vo(u(wn((n=u(In(t,16),26),n||(ou(),PAt)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Z3t(t,e){var n,r;return t.Db>>16==11?t.Cb.ih(t,10,bs,e):(r=vo(u(wn((n=u(In(t,16),26),n||(ou(),FAt)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Pse(t,e){var n,r;return t.Db>>16==10?t.Cb.ih(t,11,Zh,e):(r=vo(u(wn((n=u(In(t,16),26),n||(hn(),sp)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Nse(t,e){var n,r;return t.Db>>16==10?t.Cb.ih(t,12,Jh,e):(r=vo(u(wn((n=u(In(t,16),26),n||(hn(),e3)),t.Db>>16),18)),t.Cb.ih(t,r.n,r.f,e))}function Bh(t){var e;return!(t.Bb&1)&&t.r&&t.r.kh()&&(e=u(t.r,49),t.r=u(Zp(t,e),138),t.r!=e&&t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,8,e,t.r))),t.r}function xst(t,e,n){var r;return r=ct(ot(wa,1),Io,25,15,[E4t(t,(Jf(),wc),e,n),E4t(t,uu,e,n),E4t(t,mc,e,n)]),t.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function a1n(t,e){var n,r,s;if(s=tfn(t,e),s.c.length!=0)for(ua(s,new FY),n=s.c.length,r=0;r<n;r++)b7(t,(An(r,s.c.length),u(s.c[r],286)),Cvn(t,s,r))}function o1n(t){var e,n,r,s;for(s=u(ji(t.a,(p4(),MV)),15).Kc();s.Ob();)for(r=u(s.Pb(),101),n=F6(r.k).Kc();n.Ob();)e=u(n.Pb(),61),m8(t,r,e,(Zv(),p2),1)}function c1n(t){var e,n;if(t.k==(Yn(),ha)){for(n=new pr(xr(H0(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),17),!io(e)&&t.c==s4t(e,t).c)return!0}return!1}function u1n(t){var e,n;if(t.k==(Yn(),ha)){for(n=new pr(xr(H0(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),17),!io(e)&&e.c.i.c==e.d.i.c)return!0}return!1}function l1n(t,e){var n,r,s,o;for(Dr(e,"Dull edge routing",1),o=gi(t.b,0);o.b!=o.d.c;)for(s=u(di(o),86),r=gi(s.d,0);r.b!=r.d.c;)n=u(di(r),188),Ph(n.a)}function h1n(t,e){var n,r,s,o,h;if(e)for(s=e.a.length,n=new J2(s),h=(n.b-n.a)*n.c<0?(Np(),I2):new jp(n);h.Ob();)o=u(h.Pb(),19),r=S8(e,o.a),r&&sce(t,r)}function f1n(){g2t();var t,e;for(D5n((Hp(),Ln)),E5n(Ln),mst(Ln),QAt=(hn(),J1),e=new S(aLt);e.a<e.c.c.length;)t=u(Q(e),241),S7(t,J1,null);return!0}function J3t(t,e){var n,r,s,o,h,d,w,k;return w=t.h>>19,k=e.h>>19,w!=k?k-w:(s=t.h,d=e.h,s!=d?s-d:(r=t.m,h=e.m,r!=h?r-h:(n=t.l,o=e.l,n-o)))}function Xz(){Xz=X,$7t=(bq(),Out),j7t=new vn(z6t,$7t),R7t=(q$(),Iut),B7t=new vn(q6t,R7t),F7t=(Fz(),Dut),N7t=new vn(H6t,F7t),P7t=new vn(V6t,(Rn(),!0))}function cC(t,e,n){var r,s;r=e*n,_t(t.g,145)?(s=V6(t),s.f.d?s.f.a||(t.d.a+=r+H1):(t.d.d-=r+H1,t.d.a+=r+H1)):_t(t.g,10)&&(t.d.d-=r,t.d.a+=2*r)}function Fse(t,e,n){var r,s,o,h,d;for(s=t[n.g],d=new S(e.d);d.a<d.c.c.length;)h=u(Q(d),101),o=h.i,o&&o.i==n&&(r=h.d[n.g],s[r]=b.Math.max(s[r],o.j.b))}function d1n(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new S(e.d);h.a<h.c.c.length;)o=u(Q(h),443),Wz(o),r=b.Math.max(r,o.b),s+=o.d+(n>0?t.g:0),++n;e.b=r,e.e=s}function Bse(t){var e,n,r;if(r=t.b,sVt(t.i,r.length)){for(n=r.length*2,t.b=Pt(wut,II,317,n,0,1),t.c=Pt(wut,II,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)lI(t,e,e);++t.g}}function g1n(t,e,n,r){var s,o,h,d;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)d=h-e.k+r,h4(e,s,h)?afn(t,o,d)||Efn(t,o,d):cse(e,s,h)&&(ise(t,o,d)||Tfn(t,o,d))}function p1n(t,e,n){var r;r=e.c.i,r.k==(Yn(),ha)?(ne(t,(oe(),o1),u(K(r,o1),11)),ne(t,Uh,u(K(r,Uh),11))):(ne(t,(oe(),o1),e.c),ne(t,Uh,n.d))}function f7(t,e,n){x4();var r,s,o,h,d,w;return h=e/2,o=n/2,r=b.Math.abs(t.a),s=b.Math.abs(t.b),d=1,w=1,r>h&&(d=h/r),s>o&&(w=o/s),bd(t,b.Math.min(d,w)),t}function b1n(){kq();var t,e;try{if(e=u(u4t((Pp(),tf),G7),2014),e)return e}catch(n){if(n=as(n),_t(n,102))t=n,Xvt((Ur(),t));else throw et(n)}return new t6}function v1n(){Ate();var t,e;try{if(e=u(u4t((Pp(),tf),Db),2024),e)return e}catch(n){if(n=as(n),_t(n,102))t=n,Xvt((Ur(),t));else throw et(n)}return new Em}function w1n(){kq();var t,e;try{if(e=u(u4t((Pp(),tf),Hh),1941),e)return e}catch(n){if(n=as(n),_t(n,102))t=n,Xvt((Ur(),t));else throw et(n)}return new YZ}function m1n(t,e,n){var r,s;return s=t.e,t.e=e,t.Db&4&&!(t.Db&1)&&(r=new la(t,1,4,s,e),n?n.Ei(r):n=r),s!=e&&(e?n=S7(t,uq(t,e),n):n=S7(t,t.a,n)),n}function Rse(){AR.call(this),this.e=-1,this.a=!1,this.p=qa,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=qa}function y1n(t,e){var n,r,s;if(r=t.b.d.d,t.a||(r+=t.b.d.a),s=e.b.d.d,e.a||(s+=e.b.d.a),n=Vs(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function x1n(t,e){var n,r,s;if(r=t.b.b.d,t.a||(r+=t.b.b.a),s=e.b.b.d,e.a||(s+=e.b.b.a),n=Vs(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function k1n(t,e){var n,r,s;if(r=t.b.g.d,t.a||(r+=t.b.g.a),s=e.b.g.d,e.a||(s+=e.b.g.a),n=Vs(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function t4t(){t4t=X,h2e=sl(Mi(Mi(Mi(new ra,(ao(),Zc),(wo(),eEt)),Zc,nEt),Uo,rEt),Uo,V9t),d2e=Mi(Mi(new ra,Zc,B9t),Zc,G9t),f2e=sl(new ra,Uo,W9t)}function E1n(t){var e,n,r,s,o;for(e=u(K(t,(oe(),mS)),83),o=t.n,r=e.Cc().Kc();r.Ob();)n=u(r.Pb(),306),s=n.i,s.c+=o.a,s.d+=o.b,n.c?tue(n):eue(n);ne(t,mS,null)}function T1n(t,e,n){var r,s;switch(s=t.b,r=s.d,e.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 _1n(t){var e,n,r,s,o;if(r=0,s=B7,t.b)for(e=0;e<360;e++)n=e*.017453292519943295,V5t(t,t.d,0,0,I4,n),o=t.b.ig(t.d),o<s&&(r=n,s=o);V5t(t,t.d,0,0,I4,r)}function C1n(t,e){var n,r,s,o;for(o=new Br,e.e=null,e.f=null,r=new S(e.i);r.a<r.c.c.length;)n=u(Q(r),65),s=u(cr(t.g,n.a),46),n.a=Uj(n.b),Ni(o,n.a,s);t.g=o}function S1n(t,e,n){var r,s,o,h,d,w;for(s=e-t.e,o=s/t.d.c.length,h=0,w=new S(t.d);w.a<w.c.c.length;)d=u(Q(w),443),r=t.b-d.b+n,hie(d,d.e+h*o,d.f),cfn(d,o,r),++h}function jse(t){var e;if(t.f.qj(),t.b!=-1){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if(e=t.f.d[t.a],e&&e.i!=0){t.b=0;return}t.b=-1}function A1n(t,e){var n,r,s;for(s=e.c.length,n=Sgn(t,s==0?"":(An(0,e.c.length),Yr(e.c[0]))),r=1;r<s&&n;++r)n=u(n,49).oh((An(r,e.c.length),Yr(e.c[r])));return n}function $se(t,e){var n,r;for(r=new S(e);r.a<r.c.c.length;)n=u(Q(r),10),t.c[n.c.p][n.p].a=qvt(t.i),t.c[n.c.p][n.p].d=Zt(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function L1n(t,e){var n,r,s,o;for(o=0,r=new S(t);r.a<r.c.c.length;)n=u(Q(r),157),o+=b.Math.pow(Wu(n)*Dl(n)-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function zse(t,e,n,r){var s,o,h;return o=nwn(t,e,n,r),h=R5t(t,o),Dst(t,e,n,r),Hrt(t.b),pn(),ua(o,new l$t(t)),s=R5t(t,o),Dst(t,n,e,r),Hrt(t.b),new Ca(ve(h),ve(s))}function M1n(t,e,n){var r,s;for(Dr(n,"Interactive node placement",1),t.a=u(K(e,(oe(),X4)),304),s=new S(e.b);s.a<s.c.c.length;)r=u(Q(s),29),gvn(t,r);br(n)}function D1n(t,e){var n;Dr(e,"General Compactor",1),e.n&&t&&wf(e,mf(t),(Nl(),rh)),n=Tln(u(He(t,(ay(),Bht)),380)),n.hg(t),e.n&&t&&wf(e,mf(t),(Nl(),rh))}function I1n(t,e,n){var r,s;for(uj(t,t.j+e,t.k+n),s=new hr((!t.a&&(t.a=new qs(Qh,t,5)),t.a));s.e!=s.i.gc();)r=u(Tr(s),469),J2t(r,r.a+e,r.b+n);cj(t,t.b+e,t.c+n)}function e4t(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new Tn(aa,t,7,4)),au(t.e,e,r);case 8:return!t.d&&(t.d=new Tn(aa,t,8,5)),au(t.d,e,r)}return Ast(t,e,n,r)}function n4t(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new Tn(aa,t,7,4)),Ja(t.e,e,r);case 8:return!t.d&&(t.d=new Tn(aa,t,8,5)),Ja(t.d,e,r)}return fit(t,e,n,r)}function O1n(t,e,n){var r,s,o,h,d;if(n)for(o=n.a.length,r=new J2(o),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),s=S8(n,h.a),s&&boe(t,s,e)}function Qz(t,e,n){var r,s,o,h,d;return t.qj(),o=e==null?0:es(e),t.f>0&&(h=(o&Di)%t.d.length,s=t5t(t,h,o,e),s)?(d=s.ed(n),d):(r=t.tj(o,e,n),t.c.Fc(r),null)}function r4t(t,e){var n,r,s,o;switch(Bg(t,e)._k()){case 3:case 2:{for(n=E4(e),s=0,o=n.i;s<o;++s)if(r=u(At(n,s),34),jv(Ro(t,r))==5)return r;break}}return null}function P1n(t){var e,n,r,s,o;if(sVt(t.f,t.b.length))for(r=Pt(uge,II,330,t.b.length*2,0,1),t.b=r,s=r.length-1,n=t.a;n!=t;n=n.Rd())o=u(n,330),e=o.d&s,o.a=r[e],r[e]=o}function qse(t,e){var n,r,s,o;for(o=0,s=u(u(ji(t.r,e),21),84).Kc();s.Ob();)r=u(s.Pb(),111),o=b.Math.max(o,r.e.a+r.b.rf().a);n=u(Lo(t.b,e),124),n.n.b=0,n.a.a=o}function Hse(t,e){var n,r,s,o;for(n=0,o=u(u(ji(t.r,e),21),84).Kc();o.Ob();)s=u(o.Pb(),111),n=b.Math.max(n,s.e.b+s.b.rf().b);r=u(Lo(t.b,e),124),r.n.d=0,r.a.b=n}function N1n(t){var e,n;return n=u(K(t,(oe(),tu)),21),e=aj(Lme),n.Hc((Eo(),U4))&&Ul(e,Ime),n.Hc(wS)&&Ul(e,Ome),n.Hc(h9)&&Ul(e,Mme),n.Hc(f9)&&Ul(e,Dme),e}function F1n(t,e){var n;Dr(e,"Delaunay triangulation",1),n=new ge,Mu(t.i,new I$t(n)),je(Be(K(t,(G8(),uS)))),t.e?so(t.e,Ahe(n)):t.e=Ahe(n),br(e)}function i4t(t){if(t<0)throw et(new Bn("The input must be positive"));return t<vSt.length?Vv(vSt[t]):b.Math.sqrt(I4*t)*(bun(t,t)/zyt(2.718281828459045,t))}function d7(t,e){var n;if(t.ni()&&e!=null){for(n=0;n<t.i;++n)if(Pi(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(Ut(t.g[n])===Ut(e))return!0;return!1}function B1n(t,e){if(e==null){for(;t.a.Ob();)if(u(t.a.Pb(),42).dd()==null)return!0}else for(;t.a.Ob();)if(Pi(e,u(t.a.Pb(),42).dd()))return!0;return!1}function R1n(t,e){var n,r,s;return e===t?!0:_t(e,664)?(s=u(e,1947),_ie((r=t.g,r||(t.g=new vT(t))),(n=s.g,n||(s.g=new vT(s))))):!1}function j1n(t){var e,n,r,s;for(e="Sz",n="ez",s=b.Math.min(t.length,5),r=s-1;r>=0;r--)if(ln(t[r].d,e)||ln(t[r].d,n)){t.length>=r+1&&t.splice(0,r+1);break}return t}function iI(t,e){var n;return Qo(t)&&Qo(e)&&(n=t/e,NI<n&&n<Eb)?n<0?b.Math.ceil(n):b.Math.floor(n):Yp(l6t(Qo(t)?Nh(t):t,Qo(e)?Nh(e):e,!1))}function s4t(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw et(new Bn("'node' must either be the source node or target node of the edge."))}function $1n(t){var e,n,r,s;if(s=u(K(t,(oe(),UEt)),37),s){for(r=new $a,e=Za(t.c.i);e!=s;)n=e.e,e=Za(n),Fm($i($i(r,n.n),e.c),e.d.b,e.d.d);return r}return D2e}function z1n(t){var e;e=u(K(t,(oe(),g9)),403),Ts(oc(new En(null,new _n(e.d,16)),new JY),new p6(t)),Ts(Xi(new En(null,new _n(e.d,16)),new dF),new P3(t))}function kst(t,e){var n,r,s,o;for(s=e?Gs(t):Jo(t),r=new pr(xr(s.a.Kc(),new H));ti(r);)if(n=u(qr(r),17),o=s4t(n,t),o.k==(Yn(),ha)&&o.c!=t.c)return o;return null}function q1n(t){var e,n,r;for(n=new S(t.p);n.a<n.c.c.length;)e=u(Q(n),10),e.k==(Yn(),Ws)&&(r=e.o.b,t.i=b.Math.min(t.i,r),t.g=b.Math.max(t.g,r))}function Vse(t,e,n){var r,s,o;for(o=new S(e);o.a<o.c.c.length;)r=u(Q(o),10),t.c[r.c.p][r.p].e=!1;for(s=new S(e);s.a<s.c.c.length;)r=u(Q(s),10),b6t(t,r,n)}function Est(t,e,n){var r,s;r=o4(e.j,n.s,n.c)+o4(n.e,e.s,e.c),s=o4(n.j,e.s,e.c)+o4(e.e,n.s,n.c),r==s?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=b.Math.min(r,s))}function Gse(t,e){var n,r;if(r=!1,pa(e)&&(r=!0,R6(t,new Hm(Yr(e)))),r||_t(e,236)&&(r=!0,R6(t,(n=uvt(u(e,236)),new yT(n)))),!r)throw et(new tet(w8t))}function H1n(t,e,n,r){var s,o,h;return s=new R0(t.e,1,10,(h=e.c,_t(h,88)?u(h,26):(hn(),ef)),(o=n.c,_t(o,88)?u(o,26):(hn(),ef)),$g(t,e),!1),r?r.Ei(s):r=s,r}function a4t(t){var e,n;switch(u(K(Za(t),(Te(),WTt)),420).g){case 0:return e=t.n,n=t.o,new $e(e.a+n.a/2,e.b+n.b/2);case 1:return new No(t.n);default:return null}}function sI(){sI=X,jV=new QT(X0,0),IEt=new QT("LEFTUP",1),PEt=new QT("RIGHTUP",2),DEt=new QT("LEFTDOWN",3),OEt=new QT("RIGHTDOWN",4),Slt=new QT("BALANCED",5)}function V1n(t,e,n){var r,s,o;if(r=Vs(t.a[e.p],t.a[n.p]),r==0){if(s=u(K(e,(oe(),Ix)),15),o=u(K(n,Ix),15),s.Hc(n))return-1;if(o.Hc(e))return 1}return r}function G1n(t){switch(t.g){case 1:return new tZ;case 2:return new eZ;case 3:return new JQ;case 0:return null;default:throw et(new Bn(xct+(t.f!=null?t.f:""+t.g)))}}function o4t(t,e,n){switch(e){case 1:!t.n&&(t.n=new pe(nc,t,1,7)),Pr(t.n),!t.n&&(t.n=new pe(nc,t,1,7)),vs(t.n,u(n,14));return;case 2:q_(t,Yr(n));return}Syt(t,e,n)}function c4t(t,e,n){switch(e){case 3:Yv(t,Zt(ke(n)));return;case 4:Xv(t,Zt(ke(n)));return;case 5:Du(t,Zt(ke(n)));return;case 6:Iu(t,Zt(ke(n)));return}o4t(t,e,n)}function Zz(t,e,n){var r,s,o;o=(r=new Ktt,r),s=z1(o,e,null),s&&s.Fi(),su(o,n),Hr((!t.c&&(t.c=new pe($w,t,12,10)),t.c),o),Ng(o,0),ty(o,1),jg(o,!0),Rg(o,!0)}function u4t(t,e){var n,r,s;return n=UT(t.g,e),_t(n,235)?(s=u(n,235),s.Qh()==null,s.Nh()):_t(n,498)?(r=u(n,1938),s=r.b,s):null}function U1n(t,e,n,r){var s,o;return zr(e),zr(n),o=u(w_(t.d,e),19),Ote(!!o,"Row %s not in %s",e,t.e),s=u(w_(t.b,n),19),Ote(!!s,"Column %s not in %s",n,t.c),Rne(t,o.a,s.a,r)}function Use(t,e,n,r,s,o,h){var d,w,k,_,M;if(_=s[o],k=o==h-1,d=k?r:0,M=dse(d,_),r!=10&&ct(ot(t,h-o),e[o],n[o],d,M),!k)for(++o,w=0;w<_;++w)M[w]=Use(t,e,n,r,s,o,h);return M}function uC(t){if(t.g==-1)throw et(new qu);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(e){throw e=as(e),_t(e,73)?et(new uh):et(e)}}function lC(t,e){return t.b.a=b.Math.min(t.b.a,e.c),t.b.b=b.Math.min(t.b.b,e.d),t.a.a=b.Math.max(t.a.a,e.c),t.a.b=b.Math.max(t.a.b,e.d),t.c[t.c.length]=e,!0}function W1n(t){var e,n,r,s;for(s=-1,r=0,n=new S(t);n.a<n.c.c.length;){if(e=u(Q(n),243),e.c==(xo(),ll)){s=r==0?0:r-1;break}else r==t.c.length-1&&(s=r);r+=1}return s}function K1n(t){var e,n,r,s;for(s=0,e=0,r=new S(t.c);r.a<r.c.c.length;)n=u(Q(r),33),Du(n,t.e+s),Iu(n,t.f),s+=n.g+t.b,e=b.Math.max(e,n.f+t.b);t.d=s-t.b,t.a=e-t.b}function d4(t){var e,n,r;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),57),r=e.d.c,e.d.c=e.d.d,e.d.d=r,r=e.d.b,e.d.b=e.d.a,e.d.a=r,r=e.b.a,e.b.a=e.b.b,e.b.b=r;T5t(t)}function g4(t){var e,n,r;for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),81),r=e.g.c,e.g.c=e.g.d,e.g.d=r,r=e.g.b,e.g.b=e.g.a,e.g.a=r,r=e.e.a,e.e.a=e.e.b,e.e.b=r;hq(t)}function Y1n(t){var e,n,r,s,o;for(o=F6(t.k),n=(ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])),r=0,s=n.length;r<s;++r)if(e=n[r],e!=fc&&!o.Hc(e))return e;return null}function Tst(t,e){var n,r;return r=u(Tbt(mit(Xi(new En(null,new _n(e.j,16)),new GX))),11),r&&(n=u(Fe(r.e,0),17),n)?u(K(n,(oe(),Bc)),19).a:Tan(t.b)}function X1n(t,e){var n,r,s,o;for(o=new S(e.a);o.a<o.c.c.length;)for(s=u(Q(o),10),NT(t.d),r=new pr(xr(Gs(s).a.Kc(),new H));ti(r);)n=u(qr(r),17),zoe(t,s,n.d.i)}function Q1n(t,e){var n,r;for(Au(t.b,e),r=new S(t.n);r.a<r.c.c.length;)if(n=u(Q(r),211),Zo(n.c,e,0)!=-1){Au(n.c,e),K1n(n),n.c.c.length==0&&Au(t.n,n);break}uyn(t)}function Wse(t,e){var n,r,s,o,h;for(h=t.f,s=0,o=0,r=new S(t.a);r.a<r.c.c.length;)n=u(Q(r),187),ZD(n,t.e,h),bD(n,e),o=b.Math.max(o,n.r),h+=n.d+t.c,s=h;t.d=o,t.b=s}function Kse(t){var e,n;return n=pI(t),A8(n)?null:(e=(zr(n),u(rse(new pr(xr(n.a.Kc(),new H))),79)),Go(u(At((!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b),0),82)))}function Jz(t){var e;return t.o||(e=t.Lj(),e?t.o=new bwt(t,t,null):t.rk()?t.o=new Kbt(t,null):jv(Ro((Yu(),Fa),t))==1?t.o=new PZt(t):t.o=new lnt(t,null)),t.o}function Z1n(t,e,n,r){var s,o,h,d,w;n.mh(e)&&(s=(h=e,h?u(r,49).xh(h):null),s&&(w=n.ah(e),d=e.t,d>1||d==-1?(o=u(w,15),s.Wb(Jln(t,o))):s.Wb(uat(t,u(w,56)))))}function J1n(t,e,n,r){OHt();var s=dut;function o(){for(var h=0;h<s.length;h++)s[h]()}if(t)try{O5e(o)()}catch(h){t(e,h)}else O5e(o)()}function tdn(t){var e,n,r,s,o;for(r=new db(new kg(t.b).a);r.b;)n=Kv(r),e=u(n.cd(),10),o=u(u(n.dd(),46).a,10),s=u(u(n.dd(),46).b,8),$i(Yf(e.n),$i(pc(o.n),s))}function edn(t){switch(u(K(t.b,(Te(),$Tt)),375).g){case 1:Ts(Cu(oc(new En(null,new _n(t.d,16)),new AF),new lv),new LF);break;case 2:Vvn(t);break;case 0:_gn(t)}}function ndn(t,e,n){var r;Dr(n,"Straight Line Edge Routing",1),n.n&&e&&wf(n,mf(e),(Nl(),rh)),r=u(He(e,(b_(),$S)),33),yle(t,r),n.n&&e&&wf(n,mf(e),(Nl(),rh))}function cy(){cy=X,eft=new n_("V_TOP",0),KO=new n_("V_CENTER",1),WO=new n_("V_BOTTOM",2),tft=new n_("H_LEFT",3),GO=new n_("H_CENTER",4),UO=new n_("H_RIGHT",5)}function l4t(t){var e;return t.Db&64?Lz(t):(e=new Ih(Lz(t)),e.a+=" (abstract: ",Cg(e,(t.Bb&256)!=0),e.a+=", interface: ",Cg(e,(t.Bb&512)!=0),e.a+=")",e.a)}function rdn(t,e,n,r){var s,o,h,d;return Ll(t.e)&&(s=e.ak(),d=e.dd(),o=n.dd(),h=Gp(t,1,s,d,o,s.$j()?T7(t,s,o,_t(s,99)&&(u(s,18).Bb&co)!=0):-1,!0),r?r.Ei(h):r=h),r}function idn(t){var e;t.c==null&&(e=Ut(t.b)===Ut(U8t)?null:t.b,t.d=e==null?Nu:pYt(e)?jXe(MXt(e)):pa(e)?L6t:Ip(bl(e)),t.a=t.a+": "+(pYt(e)?IQe(MXt(e)):e+""),t.c="("+t.d+") "+t.a)}function h4t(t,e){this.e=t,Sv(Xs(e,-4294967296),0)?(this.d=1,this.a=ct(ot(Fr,1),ui,25,15,[$r(e)])):(this.d=2,this.a=ct(ot(Fr,1),ui,25,15,[$r(e),$r($p(e,32))]))}function sdn(){function t(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===Pat&&Map.prototype.entries&&t()?Map:L4n()}function adn(t,e){var n,r,s,o;for(o=new Sa(t.e,0),n=0;o.b<o.d.gc();){if(r=Zt((sr(o.b<o.d.gc()),ke(o.d.Xb(o.c=o.b++)))),s=r-e,s>wct)return n;s>-1e-6&&++n}return n}function f4t(t,e){var n;e!=t.b?(n=null,t.b&&(n=l$(t.b,t,-4,n)),e&&(n=nx(e,t,-4,n)),n=Are(t,e,n),n&&n.Fi()):t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,3,e,e))}function Yse(t,e){var n;e!=t.f?(n=null,t.f&&(n=l$(t.f,t,-1,n)),e&&(n=nx(e,t,-1,n)),n=Lre(t,e,n),n&&n.Fi()):t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,0,e,e))}function Xse(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new _g,e=n.Kc();e.Ob();)Ao(r,(Vi(),Yr(e.Pb()))),r.a+=" ";return Wet(r,r.a.length-1)}function Qse(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new _g,e=n.Kc();e.Ob();)Ao(r,(Vi(),Yr(e.Pb()))),r.a+=" ";return Wet(r,r.a.length-1)}function odn(t,e,n){var r,s;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?Nnt(r.a,s.a):r.a!=null?-1:s.a!=null?1:0}function cdn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new J2(o),d=(n.b-n.a)*n.c<0?(Np(),I2):new jp(n);d.Ob();)h=u(d.Pb(),19),s=S8(e,h.a),r=new Z$t(t),Qen(r.a,s)}function udn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new J2(o),d=(n.b-n.a)*n.c<0?(Np(),I2):new jp(n);d.Ob();)h=u(d.Pb(),19),s=S8(e,h.a),r=new H$t(t),Xen(r.a,s)}function ldn(t){var e;if(t!=null&&t.length>0&&Oa(t,t.length-1)==33)try{return e=Kae($l(t,0,t.length-1)),e.e==null}catch(n){if(n=as(n),!_t(n,32))throw et(n)}return!1}function Zse(t,e,n){var r,s,o;return r=e.ak(),o=e.dd(),s=r.$j()?Gp(t,3,r,null,o,T7(t,r,o,_t(r,99)&&(u(r,18).Bb&co)!=0),!0):Gp(t,1,r,r.zj(),o,-1,!0),n?n.Ei(s):n=s,n}function hdn(){var t,e,n;for(e=0,t=0;t<1;t++){if(n=i5t((Xr(t,1),"X".charCodeAt(t))),n==0)throw et(new Kr("Unknown Option: "+"X".substr(t)));e|=n}return e}function fdn(t,e,n){var r,s,o;switch(r=Za(e),s=_z(r),o=new zc,ac(o,e),n.g){case 1:Qs(o,UD(tx(s)));break;case 2:Qs(o,tx(s))}return ne(o,(Te(),zy),ke(K(t,zy))),o}function d4t(t){var e,n;return e=u(qr(new pr(xr(Jo(t.a).a.Kc(),new H))),17),n=u(qr(new pr(xr(Gs(t.a).a.Kc(),new H))),17),je(Be(K(e,(oe(),K1))))||je(Be(K(n,K1)))}function p4(){p4=X,DV=new _M("ONE_SIDE",0),OV=new _M("TWO_SIDES_CORNER",1),PV=new _M("TWO_SIDES_OPPOSING",2),IV=new _M("THREE_SIDES",3),MV=new _M("FOUR_SIDES",4)}function _st(t,e,n,r,s){var o,h;o=u(Hl(Xi(e.Oc(),new OX),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),h=u(ub(t.b,n,r),15),s==0?h.Wc(0,o):h.Gc(o)}function ddn(t,e){var n,r,s,o,h;for(o=new S(e.a);o.a<o.c.c.length;)for(s=u(Q(o),10),r=new pr(xr(Jo(s).a.Kc(),new H));ti(r);)n=u(qr(r),17),h=n.c.i.p,t.n[h]=t.n[h]-1}function gdn(t,e){var n,r,s,o,h;for(o=new S(e.d);o.a<o.c.c.length;)for(s=u(Q(o),101),h=u(cr(t.c,s),112).o,r=new T6(s.b);r.a<r.c.a.length;)n=u(F_(r),61),Tmt(s,n,h)}function pdn(t){var e,n;for(n=new S(t.e.b);n.a<n.c.c.length;)e=u(Q(n),29),G3n(t,e);Ts(Xi(oc(oc(new En(null,new _n(t.e.b,16)),new vQ),new zF),new xQ),new T$t(t))}function g4t(t,e){return e?t.Di(e)?!1:t.i?t.i.Ei(e):_t(e,143)?(t.i=u(e,143),!0):(t.i=new n6,t.i.Ei(e)):!1}function bdn(t){if(t=Xc(t,!0),ln(H7,t)||ln("1",t))return Rn(),X7;if(ln(Oct,t)||ln("0",t))return Rn(),Ob;throw et(new ret("Invalid boolean value: '"+t+"'"))}function p4t(t,e,n){var r,s,o;for(s=t.vc().Kc();s.Ob();)if(r=u(s.Pb(),42),o=r.cd(),Ut(e)===Ut(o)||e!=null&&Pi(e,o))return n&&(r=new $R(r.cd(),r.dd()),s.Qb()),r;return null}function vdn(t){Bm();var e,n,r;t.B.Hc((ml(),WG))&&(r=t.f.i,e=new u$(t.a.c),n=new m6,n.b=e.c-r.c,n.d=e.d-r.d,n.c=r.c+r.b-(e.c+e.b),n.a=r.d+r.a-(e.d+e.a),t.e.Ff(n))}function Jse(t,e,n,r){var s,o,h;for(h=b.Math.min(n,ole(u(t.b,65),e,n,r)),o=new S(t.a);o.a<o.c.c.length;)s=u(Q(o),221),s!=e&&(h=b.Math.min(h,Jse(s,e,h,r)));return h}function b4t(t){var e,n,r,s;for(s=Pt(h0,re,193,t.b.c.length,0,2),r=new Sa(t.b,0);r.b<r.d.gc();)e=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),29)),n=r.b-1,s[n]=cD(e.a);return s}function Cst(t,e,n,r,s){var o,h,d,w;for(h=PKe(Zpt(bvt(Hhn(n)),r),Zfn(t,n,s)),w=qg(t,n).Kc();w.Ob();)d=u(w.Pb(),11),e[d.p]&&(o=e[d.p].i,de(h.d,new Int(o,Xyt(h,o))));f3t(h)}function v4t(t,e){this.f=new Br,this.b=new Br,this.j=new Br,this.a=t,this.c=e,this.c>0&&Tse(this,this.c-1,(ye(),Wn)),this.c<this.a.length-1&&Tse(this,this.c+1,(ye(),jn))}function w4t(t){t.length>0&&t[0].length>0&&(this.c=je(Be(K(Za(t[0][0]),(oe(),YEt))))),this.a=Pt(eme,re,2018,t.length,0,2),this.b=Pt(nme,re,2019,t.length,0,2),this.d=new xre}function wdn(t){return t.c.length==0?!1:(An(0,t.c.length),u(t.c[0],17)).c.i.k==(Yn(),ha)?!0:L8(Cu(new En(null,new _n(t,16)),new cQ),new uQ)}function mdn(t,e,n){return Dr(n,"Tree layout",1),y$(t.b),Xd(t.b,(l7(),mG),mG),Xd(t.b,NS,NS),Xd(t.b,RO,RO),Xd(t.b,FS,FS),t.a=Cq(t.b,e),Kbn(t,e,Kc(n,1)),br(n),e}function tae(t,e){var n,r,s,o,h,d,w;for(d=gy(e),o=e.f,w=e.g,h=b.Math.sqrt(o*o+w*w),s=0,r=new S(d);r.a<r.c.c.length;)n=u(Q(r),33),s+=tae(t,n);return b.Math.max(s,h)}function ka(){ka=X,T2=new i_(OC,0),Q1=new i_("FREE",1),M9=new i_("FIXED_SIDE",2),Ub=new i_("FIXED_ORDER",3),p0=new i_("FIXED_RATIO",4),eu=new i_("FIXED_POS",5)}function ydn(t,e){var n,r,s;if(n=e.Hh(t.a),n){for(s=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),Vh)),r=1;r<(Yu(),lLt).length;++r)if(ln(lLt[r],s))return r}return 0}function xdn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],B0(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function kdn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],B0(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function eae(t){var e,n,r;for(r=new lb(oo,"{","}"),n=t.vc().Kc();n.Ob();)e=u(n.Pb(),42),B0(r,AZt(t,e.cd())+"="+AZt(t,e.dd()));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function Edn(t){for(var e,n,r,s;!PT(t.o);)n=u(B6(t.o),46),r=u(n.a,121),e=u(n.b,213),s=Az(e,r),e.e==r?(vj(s.g,e),r.e=s.e+e.a):(vj(s.b,e),r.e=s.e-e.a),de(t.e.a,r)}function m4t(t,e){var n,r,s;for(n=null,s=u(e.Kb(t),20).Kc();s.Ob();)if(r=u(s.Pb(),17),!n)n=r.c.i==t?r.d.i:r.c.i;else if((r.c.i==t?r.d.i:r.c.i)!=n)return!1;return!0}function nae(t,e){var n,r,s,o,h;for(n=kce(t,!1,e),s=new S(n);s.a<s.c.c.length;)r=u(Q(s),129),r.d==0?(vrt(r,null),wrt(r,null)):(o=r.a,h=r.b,vrt(r,h),wrt(r,o))}function Tdn(t){var e,n;return e=new ra,Ul(e,Fme),n=u(K(t,(oe(),tu)),21),n.Hc((Eo(),wS))&&Ul(e,$me),n.Hc(h9)&&Ul(e,Bme),n.Hc(U4)&&Ul(e,jme),n.Hc(f9)&&Ul(e,Rme),e}function _dn(t){var e,n,r,s;for(Wyn(t),n=new pr(xr(H0(t).a.Kc(),new H));ti(n);)e=u(qr(n),17),r=e.c.i==t,s=r?e.d:e.c,r?ya(e,null):Wa(e,null),ne(e,(oe(),JEt),s),Ppn(t,s.i)}function Cdn(t,e,n,r){var s,o;switch(o=e.i,s=n[o.g][t.d[o.g]],o.g){case 1:s-=r+e.j.b,e.g.b=s;break;case 3:s+=r,e.g.b=s;break;case 4:s-=r+e.j.a,e.g.a=s;break;case 2:s+=r,e.g.a=s}}function Sdn(t){var e,n,r;for(n=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));n.e!=n.i.gc();)if(e=u(Tr(n),33),r=pI(e),!ti(new pr(xr(r.a.Kc(),new H))))return e;return null}function Adn(){var t;return M4e?u(m7((Pp(),tf),G7),2016):(t=u(_t(Uc((Pp(),tf),G7),555)?Uc(tf,G7):new Goe,555),M4e=!0,I3n(t),$5n(t),mst(t),Fo(tf,G7,t),t)}function Sst(t,e,n){var r,s;if(t.j==0)return n;if(s=u(_ee(t,e,n),72),r=n.ak(),!r.Ij()||!t.a.rl(r))throw et(new ic("Invalid entry feature '"+r.Hj().zb+"."+r.ne()+"'"));return s}function Ldn(t,e){var n,r,s,o,h,d,w,k;for(d=t.a,w=0,k=d.length;w<k;++w)for(h=d[w],r=h,s=0,o=r.length;s<o;++s)if(n=r[s],Ut(e)===Ut(n)||e!=null&&Pi(e,n))return!0;return!1}function Mdn(t){var e,n,r;return Oc(t,0)>=0?(n=iI(t,Fq),r=YD(t,Fq)):(e=zm(t,1),n=iI(e,5e8),r=YD(e,5e8),r=Ka(I0(r,1),Xs(t,1))),O1(I0(r,32),Xs(n,To))}function rae(t,e,n){var r,s;switch(r=(sr(e.b!=0),u(bh(e,e.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=t.f;break;case 3:r.a=0;break;default:r.a=t.g}return s=gi(e,0),JM(s,r),e}function iae(t,e,n,r){var s,o,h,d,w;switch(w=t.b,o=e.d,h=o.j,d=S3t(h,w.d[h.g],n),s=$i(pc(o.n),o.a),o.j.g){case 1:case 3:d.a+=s.a;break;case 2:case 4:d.b+=s.b}Cs(r,d,r.c.b,r.c)}function Ddn(t,e,n){var r,s,o,h;for(h=Zo(t.e,e,0),o=new Dpt,o.b=n,r=new Sa(t.e,h);r.b<r.d.gc();)s=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),10)),s.p=n,de(o.e,s),Ol(r);return o}function Idn(t,e,n,r){var s,o,h,d,w;for(s=null,o=0,d=new S(e);d.a<d.c.c.length;)h=u(Q(d),33),w=h.i+h.g,t<h.j+h.f+r&&(s?n.i-w<n.i-o&&(s=h):s=h,o=s.i+s.g);return s?o+r:0}function Odn(t,e,n,r){var s,o,h,d,w;for(o=null,s=0,d=new S(e);d.a<d.c.c.length;)h=u(Q(d),33),w=h.j+h.f,t<h.i+h.g+r&&(o?n.j-w<n.j-s&&(o=h):o=h,s=o.j+o.f);return o?s+r:0}function Pdn(t){var e,n,r;for(e=!1,r=t.b.c.length,n=0;n<r;n++)Cyt(u(Fe(t.b,n),434))?!e&&n+1<r&&Cyt(u(Fe(t.b,n+1),434))&&(e=!0,u(Fe(t.b,n),434).a=!0):e=!1}function Ndn(t,e,n,r,s){var o,h;for(o=0,h=0;h<s;h++)o=Ka(o,Jp(Xs(e[h],To),Xs(r[h],To))),t[h]=$r(o),o=$p(o,32);for(;h<n;h++)o=Ka(o,Xs(e[h],To)),t[h]=$r(o),o=$p(o,32)}function Fdn(t,e){v7();var n,r;for(r=(r2(),UH),n=t;e>1;e>>=1)e&1&&(r=t4(r,n)),n.d==1?n=t4(n,n):n=new Aie(Bue(n.a,n.d,Pt(Fr,ui,25,n.d<<1,15,1)));return r=t4(r,n),r}function y4t(){y4t=X;var t,e,n,r;for(x7t=Pt(wa,Io,25,25,15,1),k7t=Pt(wa,Io,25,33,15,1),r=152587890625e-16,e=32;e>=0;e--)k7t[e]=r,r*=.5;for(n=1,t=24;t>=0;t--)x7t[t]=n,n*=.5}function Bdn(t){var e,n;if(je(Be(He(t,(Te(),$y))))){for(n=new pr(xr(U0(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),79),cw(e)&&je(Be(He(e,Bb))))return!0}return!1}function sae(t,e){var n,r,s;Ys(t.f,e)&&(e.b=t,r=e.c,Zo(t.j,r,0)!=-1||de(t.j,r),s=e.d,Zo(t.j,s,0)!=-1||de(t.j,s),n=e.a.b,n.c.length!=0&&(!t.i&&(t.i=new Bie(t)),Jon(t.i,n)))}function Rdn(t){var e,n,r,s,o;return n=t.c.d,r=n.j,s=t.d.d,o=s.j,r==o?n.p<s.p?0:1:Tz(r)==o?0:Qyt(r)==o?1:(e=t.b,Gu(e.b,Tz(r))?0:1)}function tq(){tq=X,aht=new JT(m1e,0),y_t=new JT("LONGEST_PATH",1),sht=new JT("COFFMAN_GRAHAM",2),m_t=new JT(jot,3),x_t=new JT("STRETCH_WIDTH",4),lG=new JT("MIN_WIDTH",5)}function yb(t){var e;this.d=new Br,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new eYt(t.e),this.a=t.a,t.f?this.g=t.f:this.g=(e=u(Kf(rU),9),new hh(e,u(bf(e,e.length),9),0))}function eq(t,e){var n,r,s,o,h,d;s=t,h=N_(s,"layoutOptions"),!h&&(h=N_(s,vde)),h&&(d=h,r=null,d&&(r=(o=uit(d,Pt(Le,re,2,0,6,1)),new fet(d,o))),r&&(n=new bGt(d,e),Pa(r,n)))}function Go(t){if(_t(t,239))return u(t,33);if(_t(t,186))return M1(u(t,118));throw et(t?new Tg("Only support nodes and ports."):new x6(Cde))}function jdn(t,e,n,r){return(e>=0&&ln(t.substr(e,3),"GMT")||e>=0&&ln(t.substr(e,3),"UTC"))&&(n[0]=e+3),W5t(t,n,r)}function $dn(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new S(t.d);r.a<r.c.c.length;)n=u(Q(r),70),s=n.n,s.a=o,t.i==(ye(),Nn)?s.b=h+t.j.b-n.o.b:s.b=h,$i(s,e),o+=n.o.a+t.e}function Dr(t,e,n){if(t.b)throw et(new Xo("The task is already done."));return t.p!=null?!1:(t.p=e,t.r=n,t.k&&(t.o=(Ud(),za(Ou(Date.now()),Vg))),!0)}function x4t(t){var e,n,r,s,o,h,d;return d=new y6,n=t.tg(),s=n!=null,s&&b8(d,Id,t.tg()),r=t.ne(),o=r!=null,o&&b8(d,xi,t.ne()),e=t.sg(),h=e!=null,h&&b8(d,"description",t.sg()),d}function aae(t,e,n){var r,s,o;return o=t.q,t.q=e,t.Db&4&&!(t.Db&1)&&(s=new la(t,1,9,o,e),n?n.Ei(s):n=s),e?(r=e.c,r!=t.r&&(n=t.nk(r,n))):t.r&&(n=t.nk(null,n)),n}function zdn(t,e,n){var r,s,o,h,d;for(n=(d=e,nx(d,t.e,-1-t.c,n)),h=wwt(t.a),o=(r=new db(new kg(h.a).a),new hR(r));o.a.b;)s=u(Kv(o.a).cd(),87),n=S7(s,uq(s,t.a),n);return n}function qdn(t,e,n){var r,s,o,h,d;for(n=(d=e,l$(d,t.e,-1-t.c,n)),h=wwt(t.a),o=(r=new db(new kg(h.a).a),new hR(r));o.a.b;)s=u(Kv(o.a).cd(),87),n=S7(s,uq(s,t.a),n);return n}function Hdn(t,e,n,r){var s,o,h;if(r==0)qc(e,0,t,n,t.length-n);else for(h=32-r,t[t.length-1]=0,o=t.length-1;o>n;o--)t[o]|=e[o-n-1]>>>h,t[o-1]=e[o-n-1]<<r;for(s=0;s<n;s++)t[s]=0}function Vdn(t){var e,n,r,s,o;for(e=0,n=0,o=t.Kc();o.Ob();)r=u(o.Pb(),111),e=b.Math.max(e,r.d.b),n=b.Math.max(n,r.d.c);for(s=t.Kc();s.Ob();)r=u(s.Pb(),111),r.d.b=e,r.d.c=n}function Gdn(t){var e,n,r,s,o;for(n=0,e=0,o=t.Kc();o.Ob();)r=u(o.Pb(),111),n=b.Math.max(n,r.d.d),e=b.Math.max(e,r.d.a);for(s=t.Kc();s.Ob();)r=u(s.Pb(),111),r.d.d=n,r.d.a=e}function oae(t,e){var n,r,s,o;for(o=new ge,s=0,r=e.Kc();r.Ob();){for(n=ve(u(r.Pb(),19).a+s);n.a<t.f&&!Ntn(t,n.a);)n=ve(n.a+1),++s;if(n.a>=t.f)break;o.c[o.c.length]=n}return o}function k4t(t){var e,n,r,s;for(e=null,s=new S(t.wf());s.a<s.c.c.length;)r=u(Q(s),181),n=new fh(r.qf().a,r.qf().b,r.rf().a,r.rf().b),e?hC(e,n):e=n;return!e&&(e=new L6),e}function Ast(t,e,n,r){var s,o;return n==1?(!t.n&&(t.n=new pe(nc,t,1,7)),au(t.n,e,r)):(o=u(wn((s=u(In(t,16),26),s||t.zh()),n),66),o.Nj().Qj(t,fu(t),n-or(t.zh()),e,r))}function Lst(t,e,n){var r,s,o,h,d;for(r=n.gc(),t.qi(t.i+r),d=t.i-e,d>0&&qc(t.g,e,t.g,e+r,d),h=n.Kc(),t.i+=r,s=0;s<r;++s)o=h.Pb(),f_(t,e,t.oi(e,o)),t.bi(e,o),t.ci(),++e;return r!=0}function z1(t,e,n){var r;return e!=t.q?(t.q&&(n=l$(t.q,t,-10,n)),e&&(n=nx(e,t,-10,n)),n=aae(t,e,n)):t.Db&4&&!(t.Db&1)&&(r=new la(t,1,9,e,e),n?n.Ei(r):n=r),n}function Mst(t,e,n,r){return hvt((n&Ed)==0,"flatMap does not support SUBSIZED characteristic"),hvt((n&4)==0,"flatMap does not support SORTED characteristic"),zr(t),zr(e),new fZt(t,n,r,e)}function Udn(t,e){awt(e,"Cannot suppress a null exception."),Aj(e!=t,"Exception can not suppress itself."),!t.i&&(t.k==null?t.k=ct(ot(yut,1),re,78,0,[e]):t.k[t.k.length]=e)}function b4(t,e,n,r){var s,o,h,d,w,k;for(h=n.length,o=0,s=-1,k=eee(t.substr(e),(vnt(),m7t)),d=0;d<h;++d)w=n[d].length,w>o&&nen(k,eee(n[d],m7t))&&(s=d,o=w);return s>=0&&(r[0]=e+o),s}function Wdn(t,e){var n;if(n=ZGt(t.b.Hf(),e.b.Hf()),n!=0)return n;switch(t.b.Hf().g){case 1:case 2:return Tu(t.b.sf(),e.b.sf());case 3:case 4:return Tu(e.b.sf(),t.b.sf())}return 0}function Kdn(t){var e,n,r;for(r=t.e.c.length,t.a=Z2(Fr,[re,ui],[48,25],15,[r,r],2),n=new S(t.c);n.a<n.c.c.length;)e=u(Q(n),282),t.a[e.c.b][e.d.b]+=u(K(e,(r1(),e9)),19).a}function Ydn(t,e,n){Dr(n,"Grow Tree",1),t.b=e.f,je(Be(K(e,(G8(),uS))))?(t.c=new cs,TQt(t,null)):t.c=new cs,t.a=!1,Sce(t,e.f),ne(e,J7t,(Rn(),!!t.a)),br(n)}function Xdn(t,e){var n,r,s,o,h;if(t==null)return null;for(h=Pt(Sh,Td,25,2*e,15,1),r=0,s=0;r<e;++r)n=t[r]>>4&15,o=t[r]&15,h[s++]=RAt[n],h[s++]=RAt[o];return Fh(h,0,h.length)}function Qdn(t,e,n){var r,s,o;return r=e.ak(),o=e.dd(),s=r.$j()?Gp(t,4,r,o,null,T7(t,r,o,_t(r,99)&&(u(r,18).Bb&co)!=0),!0):Gp(t,r.Kj()?2:1,r,o,r.zj(),-1,!0),n?n.Ei(s):n=s,n}function Pu(t){var e,n;return t>=co?(e=FI+(t-co>>10&1023)&Ps,n=56320+(t-co&1023)&Ps,String.fromCharCode(e)+(""+String.fromCharCode(n))):String.fromCharCode(t&Ps)}function Zdn(t,e){Bm();var n,r,s,o;return s=u(u(ji(t.r,e),21),84),s.gc()>=2?(r=u(s.Kc().Pb(),111),n=t.u.Hc((cl(),JS)),o=t.u.Hc(Gx),!r.a&&!n&&(s.gc()==2||o)):!1}function cae(t,e,n,r,s){var o,h,d;for(o=Gce(t,e,n,r,s),d=!1;!o;)oq(t,s,!0),d=!0,o=Gce(t,e,n,r,s);d&&oq(t,s,!1),h=git(s),h.c.length!=0&&(t.d&&t.d.lg(h),cae(t,s,n,r,h))}function nq(){nq=X,bft=new r_(X0,0),fAt=new r_("DIRECTED",1),gAt=new r_("UNDIRECTED",2),lAt=new r_("ASSOCIATION",3),dAt=new r_("GENERALIZATION",4),hAt=new r_("DEPENDENCY",5)}function Jdn(t,e){var n;if(!M1(t))throw et(new Xo(rde));switch(n=M1(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function g7(t,e){var n,r;for(Pn(e),r=t.b.c.length,de(t.b,e);r>0;){if(n=r,r=(r-1)/2|0,t.a.ue(Fe(t.b,r),e)<=0)return gh(t.b,n,e),!0;gh(t.b,n,Fe(t.b,r))}return gh(t.b,r,e),!0}function E4t(t,e,n,r){var s,o;if(s=0,n)s=yz(t.a[n.g][e.g],r);else for(o=0;o<JH;o++)s=b.Math.max(s,yz(t.a[o][e.g],r));return e==(Jf(),uu)&&t.b&&(s=b.Math.max(s,t.b.a)),s}function t0n(t,e){var n,r,s,o,h,d;return s=t.i,o=e.i,!s||!o||s.i!=o.i||s.i==(ye(),Wn)||s.i==(ye(),jn)?!1:(h=s.g.a,n=h+s.j.a,d=o.g.a,r=d+o.j.a,h<=r&&n>=d)}function T4t(t,e,n,r){var s;if(s=!1,pa(r)&&(s=!0,b8(e,n,Yr(r))),s||Om(r)&&(s=!0,T4t(t,e,n,r)),s||_t(r,236)&&(s=!0,eb(e,n,u(r,236))),!s)throw et(new tet(w8t))}function e0n(t,e){var n,r,s;if(n=e.Hh(t.a),n&&(s=t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),qh),s!=null)){for(r=1;r<(Yu(),cLt).length;++r)if(ln(cLt[r],s))return r}return 0}function n0n(t,e){var n,r,s;if(n=e.Hh(t.a),n&&(s=t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),qh),s!=null)){for(r=1;r<(Yu(),uLt).length;++r)if(ln(uLt[r],s))return r}return 0}function uae(t,e){var n,r,s,o;if(Pn(e),o=t.a.gc(),o<e.gc())for(n=t.a.ec().Kc();n.Ob();)r=n.Pb(),e.Hc(r)&&n.Qb();else for(s=e.Kc();s.Ob();)r=s.Pb(),t.a.Bc(r)!=null;return o!=t.a.gc()}function lae(t){var e,n;switch(n=pc(cc(ct(ot(sa,1),re,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function r0n(t){var e;for(e=(Q6(),u(qr(new pr(xr(Jo(t).a.Kc(),new H))),17).c.i);e.k==(Yn(),ha);)ne(e,(oe(),CO),(Rn(),!0)),e=u(qr(new pr(xr(Jo(e).a.Kc(),new H))),17).c.i}function Dst(t,e,n,r){var s,o,h,d;for(d=Q_(e,r),h=d.Kc();h.Ob();)s=u(h.Pb(),11),t.d[s.p]=t.d[s.p]+t.c[n.p];for(d=Q_(n,r),o=d.Kc();o.Ob();)s=u(o.Pb(),11),t.d[s.p]=t.d[s.p]-t.c[e.p]}function _4t(t,e,n){var r,s;for(s=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));s.e!=s.i.gc();)r=u(Tr(s),33),S1(r,r.i+e,r.j+n);Pa((!t.b&&(t.b=new pe(aa,t,12,3)),t.b),new sGt(e,n))}function i0n(t,e,n,r){var s,o;for(o=e,s=o.d==null||t.a.ue(n.d,o.d)>0?1:0;o.a[s]!=n;)o=o.a[s],s=t.a.ue(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 s0n(t){cl();var e,n;return e=Qi(ng,ct(ot(UG,1),ue,273,0,[_2])),!(DD(d$(e,t))>1||(n=Qi(JS,ct(ot(UG,1),ue,273,0,[ZS,Gx])),DD(d$(n,t))>1))}function C4t(t,e){var n;n=Uc((Pp(),tf),t),_t(n,498)?Fo(tf,t,new AGt(this,e)):Fo(tf,t,this),Ist(this,e),e==(e8(),XAt)?(this.wb=u(this,1939),u(e,1941)):this.wb=(Hp(),Ln)}function a0n(t){var e,n,r;if(t==null)return null;for(e=null,n=0;n<rA.length;++n)try{return wVt(rA[n],t)}catch(s){if(s=as(s),_t(s,32))r=s,e=r;else throw et(s)}throw et(new R$(e))}function hae(){hae=X,xge=ct(ot(Le,1),re,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),kge=ct(ot(Le,1),re,2,6,["Jan","Feb","Mar","Apr",hx,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function fae(t){var e,n,r;e=ln(typeof e,pot)?null:new ma,e&&(a8(),n=(r=900,r>=Vg?"error":r>=900?"warn":r>=800?"info":"log"),YYt(n,t.a),t.b&&C5t(e,n,t.b,"Exception: ",!0))}function K(t,e){var n,r;return r=(!t.q&&(t.q=new Br),cr(t.q,e)),r??(n=e.wg(),_t(n,4)&&(n==null?(!t.q&&(t.q=new Br),W6(t.q,e)):(!t.q&&(t.q=new Br),Ni(t.q,e,n))),n)}function ao(){ao=X,Nd=new TM("P1_CYCLE_BREAKING",0),g2=new TM("P2_LAYERING",1),pu=new TM("P3_NODE_ORDERING",2),Zc=new TM("P4_NODE_PLACEMENT",3),Uo=new TM("P5_EDGE_ROUTING",4)}function dae(t,e){var n,r,s,o,h;for(s=e==1?Qut:Xut,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),103),h=u(ji(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),46),Au(t.b.b,o.b),Au(t.b.a,u(o.b,81).d)}function o0n(t,e){$_();var n;if(t.c==e.c){if(t.b==e.b||Ion(t.b,e.b)){if(n=zYe(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return Tu(t.b.g,e.b.g)}else return Vs(t.c,e.c)}function c0n(t,e){var n;Dr(e,"Hierarchical port position processing",1),n=t.b,n.c.length>0&&Iue((An(0,n.c.length),u(n.c[0],29)),t),n.c.length>1&&Iue(u(Fe(n,n.c.length-1),29),t),br(e)}function gae(t,e){var n,r,s;if(A4t(t,e))return!0;for(r=new S(e);r.a<r.c.c.length;)if(n=u(Q(r),33),s=Kse(n),pq(t,n,s)||kre(t,n)-t.g<=t.a)return!0;return!1}function aI(){aI=X,PG=(nat(),oSt),Yht=v3e,Kht=b3e,tSt=d3e,Wht=p3e,JCt=new Lv(8),a3e=new bo((Ei(),Vb),JCt),o3e=new bo(Gb,8),c3e=sSt,QCt=u3e,ZCt=l3e,s3e=new bo(YO,(Rn(),!1))}function rq(){rq=X,TSt=new Lv(15),P3e=new bo((Ei(),Vb),TSt),N3e=new bo(Gb,15),_St=new bo(HG,ve(0)),xSt=NSt,I3e=Hb,O3e=x2,ySt=new bo(zx,j1e),kSt=$G,ESt=o5,Jht=j3e,D3e=jG}function n0(t){if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i!=1)throw et(new Bn(Uct));return Go(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82))}function pae(t){if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i!=1)throw et(new Bn(Uct));return FD(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82))}function bae(t){if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i!=1)throw et(new Bn(Uct));return FD(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82))}function t2(t){if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i!=1)throw et(new Bn(Uct));return Go(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82))}function S4t(t,e,n){var r,s,o;if(++t.j,s=t.Vi(),e>=s||e<0)throw et(new Po(Wct+e+Lb+s));if(n>=s||n<0)throw et(new Po(Kct+n+Lb+s));return e!=n?r=(o=t.Ti(n),t.Hi(e,o),o):r=t.Oi(n),r}function vae(t){var e,n,r;if(r=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>oot)return vae(n);if(r=n,n==t)throw et(new Xo("There is a cycle in the containment hierarchy of "+t))}return r}function e2(t){var e,n,r;for(r=new lb(oo,"[","]"),n=t.Kc();n.Ob();)e=n.Pb(),B0(r,Ut(e)===Ut(t)?"(this Collection)":e==null?Nu:tc(e));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function A4t(t,e){var n,r;if(r=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?r=r|pq(t,u(e.Xb(n),33),u(e.Xb(n+1),33)):r=r|pq(t,u(e.Xb(n),33),u(e.Xb(0),33));return r}function wae(t,e){var n;e!=t.a?(n=null,t.a&&(n=u(t.a,49).ih(t,4,c1,n)),e&&(n=u(e,49).gh(t,4,c1,n)),n=$yt(t,e,n),n&&n.Fi()):t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,1,e,e))}function L4t(t,e){var n;e!=t.e?(t.e&&SJt(wwt(t.e),t),e&&(!e.b&&(e.b=new lR(new Ytt)),zWt(e.b,t)),n=m1n(t,e,null),n&&n.Fi()):t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,4,e,e))}function uy(t){var e,n,r;for(n=t.length,r=0;r<n&&(Xr(r,t.length),t.charCodeAt(r)<=32);)++r;for(e=n;e>r&&(Xr(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return r>0||e<n?t.substr(r,e-r):t}function u0n(t,e){var n;n=e.o,Bp(t.f)?(t.j.a=b.Math.max(t.j.a,n.a),t.j.b+=n.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=n.a,t.j.b=b.Math.max(t.j.b,n.b),t.d.c.length>1&&(t.j.a+=t.e))}function n2(){n2=X,Q2e=ct(ot(uo,1),Pc,61,0,[(ye(),Nn),Wn,Ir]),X2e=ct(ot(uo,1),Pc,61,0,[Wn,Ir,jn]),Z2e=ct(ot(uo,1),Pc,61,0,[Ir,jn,Nn]),J2e=ct(ot(uo,1),Pc,61,0,[jn,Nn,Wn])}function l0n(t,e,n,r){var s,o,h,d,w,k,_;if(h=t.c.d,d=t.d.d,h.j!=d.j)for(_=t.b,s=h.j,w=null;s!=d.j;)w=e==0?Tz(s):Qyt(s),o=S3t(s,_.d[s.g],n),k=S3t(w,_.d[w.g],n),pi(r,$i(o,k)),s=w}function h0n(t,e,n,r){var s,o,h,d,w;return h=_se(t.a,e,n),d=u(h.a,19).a,o=u(h.b,19).a,r&&(w=u(K(e,(oe(),ul)),10),s=u(K(n,ul),10),w&&s&&(DZt(t.b,w,s),d+=t.b.i,o+=t.b.e)),d>o}function mae(t){var e,n,r,s,o,h,d,w,k;for(this.a=Kie(t),this.b=new ge,n=t,r=0,s=n.length;r<s;++r)for(e=n[r],o=new ge,de(this.b,o),d=e,w=0,k=d.length;w<k;++w)h=d[w],de(o,new Uu(h.j))}function f0n(t,e,n){var r,s,o;return o=0,r=n[e],e<n.length-1&&(s=n[e+1],t.b[e]?(o=B5n(t.d,r,s),o+=Qnt(t.a,r,(ye(),Wn)),o+=Qnt(t.a,s,jn)):o=ran(t.a,r,s)),t.c[e]&&(o+=Csn(t.a,r)),o}function d0n(t,e,n,r,s){var o,h,d,w;for(w=null,d=new S(r);d.a<d.c.c.length;)if(h=u(Q(d),441),h!=n&&Zo(h.e,s,0)!=-1){w=h;break}o=Prt(s),Wa(o,n.b),ya(o,w.b),un(t.a,s,new Cj(o,e,n.f))}function yae(t){for(;t.g.c!=0&&t.d.c!=0;)unt(t.g).c>unt(t.d).c?(t.i+=t.g.c,Kit(t.d)):unt(t.d).c>unt(t.g).c?(t.e+=t.d.c,Kit(t.g)):(t.i+=XKt(t.g),t.e+=XKt(t.d),Kit(t.g),Kit(t.d))}function g0n(t,e,n){var r,s,o,h;for(o=e.q,h=e.r,new nb((Xf(),m2),e,o,1),new nb(m2,o,h,1),s=new S(n);s.a<s.c.c.length;)r=u(Q(s),112),r!=o&&r!=e&&r!=h&&(o6t(t.a,r,e),o6t(t.a,r,h))}function xae(t,e,n,r){t.a.d=b.Math.min(e,n),t.a.a=b.Math.max(e,r)-t.a.d,e<n?(t.b=.5*(e+n),t.g=mct*t.b+.9*e,t.f=mct*t.b+.9*n):(t.b=.5*(e+r),t.g=mct*t.b+.9*r,t.f=mct*t.b+.9*e)}function p0n(){qH={},!Array.isArray&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});function t(){return new Date().getTime()}!Date.now&&(Date.now=t)}function kae(t,e){var n,r;r=u(K(e,(Te(),xs)),98),ne(e,(oe(),tTt),r),n=e.e,n&&(Ts(new En(null,new _n(n.a,16)),new Ms(t)),Ts(oc(new En(null,new _n(n.b,16)),new z5),new ts(t)))}function b0n(t){var e,n,r,s;if(u8(u(K(t.b,(Te(),Jl)),103)))return 0;for(e=0,r=new S(t.a);r.a<r.c.c.length;)n=u(Q(r),10),n.k==(Yn(),Ws)&&(s=n.o.a,e=b.Math.max(e,s));return e}function v0n(t){switch(u(K(t,(Te(),bu)),163).g){case 1:ne(t,bu,(mh(),xS));break;case 2:ne(t,bu,(mh(),Fy));break;case 3:ne(t,bu,(mh(),yS));break;case 4:ne(t,bu,(mh(),b2))}}function p7(){p7=X,bS=new ZT(X0,0),BEt=new ZT(gx,1),$Et=new ZT(px,2),jEt=new ZT("LEFT_RIGHT_CONSTRAINT_LOCKING",3),REt=new ZT("LEFT_RIGHT_CONNECTION_LOCKING",4),FEt=new ZT(a1e,5)}function Eae(t,e,n){var r,s,o,h,d,w,k;d=n.a/2,o=n.b/2,r=b.Math.abs(e.a-t.a),s=b.Math.abs(e.b-t.b),w=1,k=1,r>d&&(w=d/r),s>o&&(k=o/s),h=b.Math.min(w,k),t.a+=h*(e.a-t.a),t.b+=h*(e.b-t.b)}function w0n(t,e,n,r,s){var o,h;for(h=!1,o=u(Fe(n.b,0),33);Omn(t,e,o,r,s)&&(h=!0,Q1n(n,o),n.b.c.length!=0);)o=u(Fe(n.b,0),33);return n.b.c.length==0&&rI(n.j,n),h&&Wz(e.q),h}function m0n(t,e){x4();var n,r,s,o;if(e.b<2)return!1;for(o=gi(e,0),n=u(di(o),8),r=n;o.b!=o.d.c;){if(s=u(di(o),8),Qst(t,r,s))return!0;r=s}return!!Qst(t,r,n)}function M4t(t,e,n,r){var s,o;return n==0?(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Tj(t.o,e,r)):(o=u(wn((s=u(In(t,16),26),s||t.zh()),n),66),o.Nj().Rj(t,fu(t),n-or(t.zh()),e,r))}function Ist(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=u(t.sb,49).ih(t,1,nA,n)),e&&(n=u(e,49).gh(t,1,nA,n)),n=Vyt(t,e,n),n&&n.Fi()):t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,4,e,e))}function y0n(t,e){var n,r,s,o;if(e)s=$0(e,"x"),n=new Y$t(t),B8(n.a,(Pn(s),s)),o=$0(e,"y"),r=new X$t(t),j8(r.a,(Pn(o),o));else throw et(new dd("All edge sections need an end point."))}function x0n(t,e){var n,r,s,o;if(e)s=$0(e,"x"),n=new U$t(t),R8(n.a,(Pn(s),s)),o=$0(e,"y"),r=new W$t(t),$8(r.a,(Pn(o),o));else throw et(new dd("All edge sections need a start point."))}function k0n(t,e){var n,r,s,o,h,d,w;for(r=sre(t),o=0,d=r.length;o<d;++o)fae(e);for(w=!U1&&t.e?U1?null:t.d:null;w;){for(n=sre(w),s=0,h=n.length;s<h;++s)fae(e);w=!U1&&w.e?U1?null:w.d:null}}function Yn(){Yn=X,Ws=new KT("NORMAL",0),ha=new KT("LONG_EDGE",1),Fs=new KT("EXTERNAL_PORT",2),Jc=new KT("NORTH_SOUTH_PORT",3),Bl=new KT("LABEL",4),W1=new KT("BREAKING_POINT",5)}function E0n(t){var e,n,r,s;if(e=!1,ia(t,(oe(),mS)))for(n=u(K(t,mS),83),s=new S(t.j);s.a<s.c.c.length;)r=u(Q(s),11),C2n(r)&&(e||(zgn(Za(t)),e=!0),Shn(u(n.xc(r),306)))}function T0n(t,e,n){var r;Dr(n,"Self-Loop routing",1),r=Qun(e),ij(K(e,(D$(),VS))),Ts(Cu(Xi(Xi(oc(new En(null,new _n(e.b,16)),new Ek),new K5),new BE),new nX),new DVt(t,r)),br(n)}function _0n(t){var e,n,r,s,o,h,d,w,k;return k=x4t(t),n=t.e,o=n!=null,o&&b8(k,xH,t.e),d=t.k,h=!!d,h&&b8(k,"type",snt(t.k)),r=pM(t.j),s=!r,s&&(w=new yg,Zf(k,Gct,w),e=new bzt(w),Pa(t.j,e)),k}function C0n(t){var e,n,r,s;for(s=qp((Gl(t.gc(),"size"),new Lm),123),r=!0,n=Pv(t).Kc();n.Ob();)e=u(n.Pb(),42),r||(s.a+=oo),r=!1,Cc(qp(Cc(s,e.cd()),61),e.dd());return(s.a+="}",s).a}function Tae(t,e){var n,r,s;return e&=63,e<22?(n=t.l<<e,r=t.m<<e|t.l>>22-e,s=t.h<<e|t.m>>22-e):e<44?(n=0,r=t.l<<e-22,s=t.m<<e-22|t.l>>44-e):(n=0,r=0,s=t.l<<e-44),hu(n&yl,r&yl,s&Y0)}function ly(t){if(Z8t==null&&(Z8t=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!Z8t.test(t))throw et(new gd(bw+t+'"'));return parseFloat(t)}function S0n(t){var e,n,r,s;for(e=new ge,n=Pt(Tl,c0,25,t.a.c.length,16,1),rwt(n,n.length),s=new S(t.a);s.a<s.c.c.length;)r=u(Q(s),121),n[r.d]||(e.c[e.c.length]=r,Pie(t,r,n));return e}function A0n(t,e){var n,r,s,o;for(o=e.b.j,t.a=Pt(Fr,ui,25,o.c.length,15,1),s=0,r=0;r<o.c.length;r++)n=(An(r,o.c.length),u(o.c[r],11)),n.e.c.length==0&&n.g.c.length==0?s+=1:s+=3,t.a[r]=s}function iq(){iq=X,Elt=new XT("ALWAYS_UP",0),klt=new XT("ALWAYS_DOWN",1),_lt=new XT("DIRECTION_UP",2),Tlt=new XT("DIRECTION_DOWN",3),Clt=new XT("SMART_UP",4),BV=new XT("SMART_DOWN",5)}function L0n(t,e){if(t<0||e<0)throw et(new Bn("k and n must be positive"));if(e>t)throw et(new Bn("k must be smaller than n"));return e==0||e==t?1:t==0?0:i4t(t)/(i4t(e)*i4t(t-e))}function D4t(t,e){var n,r,s,o;for(n=new tbt(t);n.g==null&&!n.c?Owt(n):n.g==null||n.i!=0&&u(n.g[n.i-1],47).Ob();)if(o=u(cq(n),56),_t(o,160))for(r=u(o,160),s=0;s<e.length;s++)e[s].og(r)}function Ost(t){var e;return t.Db&64?jit(t):(e=new Ih(jit(t)),e.a+=" (height: ",j3(e,t.f),e.a+=", width: ",j3(e,t.g),e.a+=", x: ",j3(e,t.i),e.a+=", y: ",j3(e,t.j),e.a+=")",e.a)}function M0n(t){var e,n,r,s,o,h,d;for(e=new ib,r=t,s=0,o=r.length;s<o;++s)if(n=r[s],h=zr(n.cd()),d=vb(e,h,zr(n.dd())),d!=null)throw et(new Bn("duplicate key: "+h));this.b=(pn(),new z(e))}function D0n(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],B0(o,String.fromCharCode(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function I4t(){I4t=X,a9t=(H$(),sV),Bpe=new vn(Vq,a9t),ve(1),Fpe=new vn(sxt,ve(300)),ve(0),$pe=new vn(axt,ve(0)),zpe=new vn(Dot,Sd),Rpe=new vn(Iot,5),qpe=sV,jpe=Hut}function _ae(t,e){var n,r,s,o,h;for(s=e==1?Qut:Xut,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),103),h=u(ji(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),46),de(t.b.b,u(o.b,81)),de(t.b.a,u(o.b,81).d)}function I0n(t,e){var n;if(e!=null&&!t.c.Yj().wj(e))throw n=_t(e,56)?u(e,56).Tg().zb:Ip(bl(e)),et(new Qk(l2+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function O0n(t,e,n){var r,s;for(s=new Sa(t.b,0);s.b<s.d.gc();)r=(sr(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),70)),Ut(K(r,(oe(),ZEt)))===Ut(e)&&(R4t(r.n,Za(t.c.i),n),Ol(s),de(e.b,r))}function P0n(t,e){if(e.a)switch(u(K(e.b,(oe(),tTt)),98).g){case 0:case 1:edn(e);case 2:Ts(new En(null,new _n(e.d,16)),new hF),Npn(t.a,e)}else Ts(new En(null,new _n(e.d,16)),new hF)}function Cae(t){var e,n;return n=b.Math.sqrt((t.k==null&&(t.k=nyt(t,new ZX)),Zt(t.k)/(t.b*(t.g==null&&(t.g=rne(t,new FF)),Zt(t.g))))),e=$r(Ou(b.Math.round(n))),e=b.Math.min(e,t.f),e}function zc(){Ku(),Zbt.call(this),this.j=(ye(),fc),this.a=new $a,new Gtt,this.f=(Gl(2,my),new iu(2)),this.e=(Gl(4,my),new iu(4)),this.g=(Gl(4,my),new iu(4)),this.b=new jVt(this.e,this.g)}function N0n(t,e){var n,r;return!(je(Be(K(e,(oe(),K1))))||(r=e.c.i,t==(mh(),yS)&&r.k==(Yn(),Bl))||(n=u(K(r,(Te(),bu)),163),n==b2))}function F0n(t,e){var n,r;return!(je(Be(K(e,(oe(),K1))))||(r=e.d.i,t==(mh(),xS)&&r.k==(Yn(),Bl))||(n=u(K(r,(Te(),bu)),163),n==Fy))}function B0n(t,e){var n,r,s,o,h,d,w;for(h=t.d,w=t.o,d=new fh(-h.b,-h.d,h.b+w.a+h.c,h.d+w.b+h.a),r=e,s=0,o=r.length;s<o;++s)n=r[s],n&&hC(d,n.i);h.b=-d.c,h.d=-d.d,h.c=d.b-h.b-w.a,h.a=d.a-h.d-w.b}function oI(){oI=X,WCt=new MM("CENTER_DISTANCE",0),Ght=new MM("CIRCLE_UNDERLAP",1),YCt=new MM("RECTANGLE_UNDERLAP",2),Uht=new MM("INVERTED_OVERLAP",3),KCt=new MM("MINIMUM_ROOT_DISTANCE",4)}function R0n(t){I5t();var e,n,r,s,o;if(t==null)return null;for(r=t.length,s=r*2,e=Pt(Sh,Td,25,s,15,1),n=0;n<r;n++)o=t[n],o<0&&(o+=256),e[n*2]=hU[o>>4],e[n*2+1]=hU[o&15];return Fh(e,0,e.length)}function j0n(t){Jj();var e,n,r;switch(r=t.c.length,r){case 0:return sge;case 1:return e=u(uoe(new S(t)),42),utn(e.cd(),e.dd());default:return n=u($1(t,Pt(Ib,Pq,42,t.c.length,0,1)),165),new Ztt(n)}}function $0n(t){var e,n,r,s,o,h;for(e=new F3,n=new F3,Up(e,t),Up(n,t);n.b!=n.c;)for(s=u(B6(n),37),h=new S(s.a);h.a<h.c.c.length;)o=u(Q(h),10),o.e&&(r=o.e,Up(e,r),Up(n,r));return e}function qg(t,e){switch(e.g){case 1:return P6(t.j,(Ku(),M9t));case 2:return P6(t.j,(Ku(),A9t));case 3:return P6(t.j,(Ku(),I9t));case 4:return P6(t.j,(Ku(),O9t));default:return pn(),pn(),mo}}function z0n(t,e){var n,r,s;n=itn(e,t.e),r=u(cr(t.g.f,n),19).a,s=t.a.c.length-1,t.a.c.length!=0&&u(Fe(t.a,s),287).c==r?(++u(Fe(t.a,s),287).a,++u(Fe(t.a,s),287).b):de(t.a,new sWt(r))}function q0n(t,e,n){var r,s;return r=Kvn(t,e,n),r!=0?r:ia(e,(oe(),Bc))&&ia(n,Bc)?(s=Tu(u(K(e,Bc),19).a,u(K(n,Bc),19).a),s<0?yI(t,e,n):s>0&&yI(t,n,e),s):kpn(t,e,n)}function Sae(t,e,n){var r,s,o,h;if(e.b!=0){for(r=new hs,h=gi(e,0);h.b!=h.d.c;)o=u(di(h),86),so(r,dyt(o)),s=o.e,s.a=u(K(o,(Sc(),Lht)),19).a,s.b=u(K(o,Q_t),19).a;Sae(t,r,Kc(n,r.b/t.a|0))}}function Aae(t,e){var n,r,s,o,h;if(t.e<=e||Krn(t,t.g,e))return t.g;for(o=t.r,r=t.g,h=t.r,s=(o-r)/2+r;r+1<o;)n=EC(t,s,!1),n.b<=s&&n.a<=e?(h=s,o=s):r=s,s=(o-r)/2+r;return h}function H0n(t,e,n){var r;r=Wce(t,e,!0),Dr(n,"Recursive Graph Layout",r),D4t(e,ct(ot(pSt,1),De,527,0,[new ZL])),sb(e,(Ei(),C9))||D4t(e,ct(ot(pSt,1),De,527,0,[new yZ])),x6t(t,e,null,n),br(n)}function br(t){var e;if(t.p==null)throw et(new Xo("The task has not begun yet."));t.b||(t.k&&(e=(Ud(),za(Ou(Date.now()),Vg)),t.q=Vv(Jp(e,t.o))*1e-9),t.c<t.r&&iit(t,t.r-t.c),t.b=!0)}function cI(t){var e,n,r;for(r=new Hu,pi(r,new $e(t.j,t.k)),n=new hr((!t.a&&(t.a=new qs(Qh,t,5)),t.a));n.e!=n.i.gc();)e=u(Tr(n),469),pi(r,new $e(e.a,e.b));return pi(r,new $e(t.b,t.c)),r}function V0n(t,e,n,r,s){var o,h,d,w,k,_;if(s)for(w=s.a.length,o=new J2(w),_=(o.b-o.a)*o.c<0?(Np(),I2):new jp(o);_.Ob();)k=u(_.Pb(),19),d=S8(s,k.a),h=new kXt(t,e,n,r),tmn(h.a,h.b,h.c,h.d,d)}function O4t(t,e){var n;if(Ut(t)===Ut(e))return!0;if(_t(e,21)){n=u(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(r){if(r=as(r),_t(r,173)||_t(r,205))return!1;throw et(r)}}return!1}function P4t(t,e){var n;de(t.d,e),n=e.rf(),t.c?(t.e.a=b.Math.max(t.e.a,n.a),t.e.b+=n.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=n.a,t.e.b=b.Math.max(t.e.b,n.b),t.d.c.length>1&&(t.e.a+=t.a))}function G0n(t){var e,n,r,s;switch(s=t.i,e=s.b,r=s.j,n=s.g,s.a.g){case 0:n.a=(t.g.b.o.a-r.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-r.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function Lae(t,e,n,r,s){if(r<e||s<n)throw et(new Bn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>r&&(t.a=r),t.b<n?t.b=n:t.b>s&&(t.b=s),t}function U0n(t){if(_t(t,149))return xbn(u(t,149));if(_t(t,229))return wln(u(t,229));if(_t(t,23))return _0n(u(t,23));throw et(new Bn(m8t+e2(new Al(ct(ot(ir,1),De,1,5,[t])))))}function W0n(t,e,n,r,s){var o,h,d;for(o=!0,h=0;h<r;h++)o=o&n[h]==0;if(s==0)qc(n,r,t,0,e),h=e;else{for(d=32-s,o=o&n[h]<<d==0,h=0;h<e-1;h++)t[h]=n[h+r]>>>s|n[h+r+1]<<d;t[h]=n[h+r]>>>s,++h}return o}function N4t(t,e,n,r){var s,o,h;if(e.k==(Yn(),ha)){for(o=new pr(xr(Jo(e).a.Kc(),new H));ti(o);)if(s=u(qr(o),17),h=s.c.i.k,h==ha&&t.c.a[s.c.i.c.p]==r&&t.c.a[e.c.p]==n)return!0}return!1}function K0n(t,e){var n,r,s,o;return e&=63,n=t.h&Y0,e<22?(o=n>>>e,s=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=0,s=n>>>e-22,r=t.m>>e-22|t.h<<44-e):(o=0,s=0,r=n>>>e-44),hu(r&yl,s&yl,o&Y0)}function Mae(t,e,n,r){var s;this.b=r,this.e=t==(Qv(),IS),s=e[n],this.d=Z2(Tl,[re,c0],[177,25],16,[s.length,s.length],2),this.a=Z2(Fr,[re,ui],[48,25],15,[s.length,s.length],2),this.c=new v4t(e,n)}function Y0n(t){var e,n,r;for(t.k=new Bwt((ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])).length,t.j.c.length),r=new S(t.j);r.a<r.c.c.length;)n=u(Q(r),113),e=n.d.j,un(t.k,e,n);t.e=obn(F6(t.k))}function Dae(t,e){var n,r,s;Ys(t.d,e),n=new GE,Ni(t.c,e,n),n.f=Iit(e.c),n.a=Iit(e.d),n.d=(bC(),s=e.c.i.k,s==(Yn(),Ws)||s==W1),n.e=(r=e.d.i.k,r==Ws||r==W1),n.b=e.c.j==(ye(),jn),n.c=e.d.j==Wn}function X0n(t){var e,n,r,s,o;for(o=Di,s=Di,r=new S(c4(t));r.a<r.c.c.length;)n=u(Q(r),213),e=n.e.e-n.d.e,n.e==t&&e<s?s=e:e<o&&(o=e);return s==Di&&(s=-1),o==Di&&(o=-1),new Ca(ve(s),ve(o))}function Q0n(t,e){var n,r,s;return s=B7,r=(sC(),gO),s=b.Math.abs(t.b),n=b.Math.abs(e.f-t.b),n<s&&(s=n,r=nV),n=b.Math.abs(t.a),n<s&&(s=n,r=pO),n=b.Math.abs(e.g-t.a),n<s&&(s=n,r=eV),r}function Z0n(t,e){var n,r,s,o;for(n=e.a.o.a,o=new Zd(Za(e.a).b,e.c,e.f+1),s=new d6(o);s.b<s.d.gc();)if(r=(sr(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),29)),r.c.a>=n)return b7(t,e,r.p),!0;return!1}function Iae(t){var e;return t.Db&64?Ost(t):(e=new jl(c8t),!t.a||ii(ii((e.a+=' "',e),t.a),'"'),ii(Tv(ii(Tv(ii(Tv(ii(Tv((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function Oae(t,e,n){var r,s,o,h,d;for(d=gu(t.e.Tg(),e),s=u(t.g,119),r=0,h=0;h<t.i;++h)if(o=s[h],d.rl(o.ak())){if(r==n)return dy(t,h),po(),u(e,66).Oj()?o:o.dd();++r}throw et(new Po(XC+n+Lb+r))}function Pae(t){var e,n,r;if(e=t.c,e==2||e==7||e==1)return Si(),Si(),fA;for(r=k6t(t),n=null;(e=t.c)!=2&&e!=7&&e!=1;)n||(n=(Si(),Si(),new l_(1)),xb(n,r),r=n),xb(n,k6t(t));return r}function J0n(t,e,n){return t<0||t>n?H4t(t,n,"start index"):e<0||e>n?H4t(e,n,"end index"):vC("end index (%s) must not be less than start index (%s)",ct(ot(ir,1),De,1,5,[ve(e),ve(t)]))}function Nae(t,e){var n,r,s,o;for(r=0,s=t.length;r<s;r++){o=t[r];try{o[1]?o[0].jm()&&(e=Btn(e,o)):o[0].jm()}catch(h){if(h=as(h),_t(h,78))n=h,mR(),Ann(_t(n,477)?u(n,477).ae():n);else throw et(h)}}return e}function b7(t,e,n){var r,s,o;for(n!=e.c+e.b.gc()&&lyn(e.a,Won(e,n-e.c)),o=e.a.c.p,t.a[o]=b.Math.max(t.a[o],e.a.o.a),s=u(K(e.a,(oe(),SO)),15).Kc();s.Ob();)r=u(s.Pb(),70),ne(r,slt,(Rn(),!0))}function tgn(t,e){var n,r,s;s=Lbn(e),ne(e,(oe(),Flt),s),s&&(r=Di,Ho(t.f,s)&&(r=u(gc(Ho(t.f,s)),19).a),n=u(Fe(e.g,0),17),je(Be(K(n,K1)))||Ni(t,s,ve(b.Math.min(u(K(n,Bc),19).a,r))))}function Fae(t,e,n){var r,s,o,h,d;for(e.p=-1,d=rw(e,(xo(),lu)).Kc();d.Ob();)for(h=u(d.Pb(),11),s=new S(h.g);s.a<s.c.c.length;)r=u(Q(s),17),o=r.d.i,e!=o&&(o.p<0?n.Fc(r):o.p>0&&Fae(t,o,n));e.p=0}function Qe(t){var e;this.c=new hs,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=u(Kf(ep),9),new hh(e,u(bf(e,e.length),9),0)),this.g=t.f}function egn(t){var e,n,r,s;for(e=qp(ii(new jl("Predicates."),"and"),40),n=!0,s=new d6(t);s.b<s.d.gc();)r=(sr(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),n||(e.a+=","),e.a+=""+r,n=!1;return(e.a+=")",e).a}function Bae(t,e,n){var r,s,o;if(!(n<=e+2))for(s=(n-e)/2|0,r=0;r<s;++r)o=(An(e+r,t.c.length),u(t.c[e+r],11)),gh(t,e+r,(An(n-r-1,t.c.length),u(t.c[n-r-1],11))),An(n-r-1,t.c.length),t.c[n-r-1]=o}function ngn(t,e,n){var r,s,o,h,d,w,k,_;o=t.d.p,d=o.e,w=o.r,t.g=new UM(w),h=t.d.o.c.p,r=h>0?d[h-1]:Pt(h0,Gg,10,0,0,1),s=d[h],k=h<d.length-1?d[h+1]:Pt(h0,Gg,10,0,0,1),_=e==n-1,_?grt(t.g,s,k):grt(t.g,r,s)}function Rae(t){var e;this.j=new ge,this.f=new na,this.b=(e=u(Kf(uo),9),new hh(e,u(bf(e,e.length),9),0)),this.d=Pt(Fr,ui,25,(ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])).length,15,1),this.g=t}function jae(t,e){var n,r,s;if(e.c.length!=0){for(n=gae(t,e),s=!1;!n;)oq(t,e,!0),s=!0,n=gae(t,e);s&&oq(t,e,!1),r=git(e),t.b&&t.b.lg(r),t.a=kre(t,(An(0,e.c.length),u(e.c[0],33))),jae(t,r)}}function Pst(t,e){var n,r,s;if(r=wn(t.Tg(),e),n=e-t.Ah(),n<0)if(r)if(r.Ij())s=t.Yg(r),s>=0?t.Bh(s):K4t(t,r);else throw et(new Bn(l2+r.ne()+WC));else throw et(new Bn(gde+e+pde));else wh(t,n,r)}function F4t(t){var e,n;if(n=null,e=!1,_t(t,204)&&(e=!0,n=u(t,204).a),e||_t(t,258)&&(e=!0,n=""+u(t,258).a),e||_t(t,483)&&(e=!0,n=""+u(t,483).a),!e)throw et(new tet(w8t));return n}function $ae(t,e){var n,r;if(t.f){for(;e.Ob();)if(n=u(e.Pb(),72),r=n.ak(),_t(r,99)&&u(r,18).Bb&Ac&&(!t.e||r.Gj()!=I9||r.aj()!=0)&&n.dd()!=null)return e.Ub(),!0;return!1}else return e.Ob()}function zae(t,e){var n,r;if(t.f){for(;e.Sb();)if(n=u(e.Ub(),72),r=n.ak(),_t(r,99)&&u(r,18).Bb&Ac&&(!t.e||r.Gj()!=I9||r.aj()!=0)&&n.dd()!=null)return e.Pb(),!0;return!1}else return e.Sb()}function B4t(t,e,n){var r,s,o,h,d,w;for(w=gu(t.e.Tg(),e),r=0,d=t.i,s=u(t.g,119),h=0;h<t.i;++h)if(o=s[h],w.rl(o.ak())){if(n==r)return h;++r,d=h+1}if(n==r)return d;throw et(new Po(XC+n+Lb+r))}function rgn(t,e){var n,r,s,o;if(t.f.c.length==0)return null;for(o=new L6,r=new S(t.f);r.a<r.c.c.length;)n=u(Q(r),70),s=n.o,o.b=b.Math.max(o.b,s.a),o.a+=s.b;return o.a+=(t.f.c.length-1)*e,o}function ign(t,e,n){var r,s,o;for(s=new pr(xr(H0(n).a.Kc(),new H));ti(s);)r=u(qr(s),17),!io(r)&&!(!io(r)&&r.c.i.c==r.d.i.c)&&(o=yce(t,r,n,new nqt),o.c.length>1&&(e.c[e.c.length]=o))}function sgn(t){var e,n,r,s;for(n=new hs,so(n,t.o),r=new Ipt;n.b!=0;)e=u(n.b==0?null:(sr(n.b!=0),bh(n,n.a.a)),508),s=yhe(t,e,!0),s&&de(r.a,e);for(;r.a.c.length!=0;)e=u(dre(r),508),yhe(t,e,!1)}function Hg(){Hg=X,bSt=new S6(OC,0),Va=new S6("BOOLEAN",1),Lc=new S6("INT",2),_9=new S6("STRING",3),Wo=new S6("DOUBLE",4),ks=new S6("ENUM",5),$x=new S6("ENUMSET",6),X1=new S6("OBJECT",7)}function hC(t,e){var n,r,s,o,h;r=b.Math.min(t.c,e.c),o=b.Math.min(t.d,e.d),s=b.Math.max(t.c+t.b,e.c+e.b),h=b.Math.max(t.d+t.a,e.d+e.a),s<r&&(n=r,r=s,s=n),h<o&&(n=o,o=h,h=n),IKt(t,r,o,s-r,h-o)}function Yu(){Yu=X,uLt=ct(ot(Le,1),re,2,6,[O8t,nO,OH,D0e,PH,nut,xH]),cLt=ct(ot(Le,1),re,2,6,[O8t,"empty",nO,eO,"elementOnly"]),lLt=ct(ot(Le,1),re,2,6,[O8t,"preserve","replace",s1]),Fa=new MKt}function R4t(t,e,n){var r,s,o;if(e!=n){r=e;do $i(t,r.c),s=r.e,s&&(o=r.d,Fm(t,o.b,o.d),$i(t,s.n),r=Za(s));while(s);r=n;do ba(t,r.c),s=r.e,s&&(o=r.d,$M(t,o.b,o.d),ba(t,s.n),r=Za(s));while(s)}}function Nst(t,e,n,r){var s,o,h,d,w;if(r.f.c+r.g.c==0)for(h=t.a[t.c],d=0,w=h.length;d<w;++d)o=h[d],Ni(r,o,new cne(t,o,n));return s=u(gc(Ho(r.f,e)),663),s.b=0,s.c=s.f,s.c==0||eR(u(Fe(s.a,s.b),287)),s}function sx(){sx=X,c9=new YT("MEDIAN_LAYER",0),dS=new YT("TAIL_LAYER",1),o9=new YT("HEAD_LAYER",2),Oy=new YT("SPACE_EFFICIENT_LAYER",3),V4=new YT("WIDEST_LAYER",4),H4=new YT("CENTER_LAYER",5)}function agn(t){switch(t.g){case 0:case 1:case 2:return ye(),Nn;case 3:case 4:case 5:return ye(),Ir;case 6:case 7:case 8:return ye(),jn;case 9:case 10:case 11:return ye(),Wn;default:return ye(),fc}}function ogn(t,e){var n;return t.c.length==0?!1:(n=sie((An(0,t.c.length),u(t.c[0],17)).c.i),zl(),n==(sy(),e5)||n==t5?!0:L8(Cu(new En(null,new _n(t,16)),new lQ),new v$t(e)))}function j4t(t,e,n){var r,s,o;if(!t.b[e.g]){for(t.b[e.g]=!0,r=n,!r&&(r=new M$),pi(r.b,e),o=t.a[e.g].Kc();o.Ob();)s=u(o.Pb(),188),s.b!=e&&j4t(t,s.b,r),s.c!=e&&j4t(t,s.c,r),pi(r.a,s);return r}return null}function fC(){fC=X,yG=new t_("ROOT_PROC",0),kht=new t_("FAN_PROC",1),Tht=new t_("NEIGHBORS_PROC",2),Eht=new t_("LEVEL_HEIGHT",3),_ht=new t_("NODE_POSITION_PROC",4),xht=new t_("DETREEIFYING_PROC",5)}function Fst(t,e){if(_t(e,239))return tXe(t,u(e,33));if(_t(e,186))return eXe(t,u(e,118));if(_t(e,439))return JYe(t,u(e,202));throw et(new Bn(m8t+e2(new Al(ct(ot(ir,1),De,1,5,[e])))))}function qae(t,e,n){var r,s;if(this.f=t,r=u(cr(t.b,e),283),s=r?r.a:0,dmt(n,s),n>=(s/2|0))for(this.e=r?r.c:null,this.d=s;n++<s;)gQt(this);else for(this.c=r?r.b:null;n-- >0;)Pwt(this);this.b=e,this.a=null}function cgn(t,e){var n,r;e.a?Dbn(t,e):(n=u(gnt(t.b,e.b),57),n&&n==t.a[e.b.f]&&n.a&&n.a!=e.b.a&&n.c.Fc(e.b),r=u(dnt(t.b,e.b),57),r&&t.a[r.f]==e.b&&r.a&&r.a!=e.b.a&&e.b.c.Fc(r),ent(t.b,e.b))}function Hae(t,e){var n,r;if(n=u(Lo(t.b,e),124),u(u(ji(t.r,e),21),84).dc()){n.n.b=0,n.n.c=0;return}n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((Fl(),Wb))&&due(t,e),r=Rhn(t,e),Jst(t,e)==(u4(),E2)&&(r+=2*t.w),n.a.a=r}function Vae(t,e){var n,r;if(n=u(Lo(t.b,e),124),u(u(ji(t.r,e),21),84).dc()){n.n.d=0,n.n.a=0;return}n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((Fl(),Wb))&&gue(t,e),r=jhn(t,e),Jst(t,e)==(u4(),E2)&&(r+=2*t.w),n.a.b=r}function ugn(t,e){var n,r,s,o;for(o=new ge,r=new S(e);r.a<r.c.c.length;)n=u(Q(r),65),de(o,new x2t(n,!0)),de(o,new x2t(n,!1));s=new BXt(t),OT(s.a.a),nZt(o,t.b,new Al(ct(ot(Nge,1),De,679,0,[s])))}function Gae(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;return w=t.a,q=t.b,k=e.a,G=e.b,_=n.a,W=n.b,M=r.a,Z=r.b,o=w*G-q*k,h=_*Z-W*M,s=(w-k)*(W-Z)-(q-G)*(_-M),d=(o*(_-M)-h*(w-k))/s,B=(o*(W-Z)-h*(q-G))/s,new $e(d,B)}function $4t(t,e){var n,r,s;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,r=new pr(xr(Gs(e).a.Kc(),new H));ti(r);)n=u(qr(r),17),!io(n)&&(s=n.d.i,t.a[s.p]?de(t.b,n):$4t(t,s));t.a[e.p]=!1}}function Uae(t,e,n){var r;switch(r=0,u(K(e,(Te(),bu)),163).g){case 2:r=2*-n+t.a,++t.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+t.b,++t.b}return ia(e,(oe(),Bc))&&(r+=u(K(e,Bc),19).a),r}function Wae(t,e,n){var r,s,o;for(n.zc(e,t),de(t.n,e),o=t.p.eg(e),e.j==t.p.fg()?Yre(t.e,o):Yre(t.j,o),Xj(t),s=zp(B1(ct(ot(G1,1),De,20,0,[new ca(e),new Nr(e)])));ti(s);)r=u(qr(s),11),n._b(r)||Wae(t,r,n)}function z4t(t){var e,n,r;return n=u(He(t,(Ei(),Hb)),21),n.Hc((Fl(),Xy))?(r=u(He(t,x2),21),e=new No(u(He(t,o5),8)),r.Hc((ml(),D9))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new $a}function q4t(t){var e,n,r;if(!t.b){for(r=new Ak,n=new D6(kC(t));n.e!=n.i.gc();)e=u(nst(n),18),e.Bb&Ac&&Hr(r,e);ey(r),t.b=new H3((u(At(Kt((Hp(),Ln).o),8),18),r.i),r.g),gl(t).b&=-9}return t.b}function lgn(t,e){var n,r,s,o,h,d,w,k;w=u(JD(F6(e.k),Pt(uo,Pc,61,2,0,1)),122),k=e.g,n=yZt(e,w[0]),s=mZt(e,w[1]),r=vst(t,k,n,s),o=yZt(e,w[1]),d=mZt(e,w[0]),h=vst(t,k,o,d),r<=h?(e.a=n,e.c=s):(e.a=o,e.c=d)}function hgn(t,e,n){var r,s,o;for(Dr(n,"Processor set neighbors",1),t.a=e.b.b==0?1:e.b.b,s=null,r=gi(e.b,0);!s&&r.b!=r.d.c;)o=u(di(r),86),je(Be(K(o,(Sc(),Wy))))&&(s=o);s&&Jce(t,new Lp(s),n),br(n)}function Kae(t){Tat();var e,n,r,s;return r=pd(t,Pu(35)),e=r==-1?t:t.substr(0,r),n=r==-1?null:t.substr(r+1),s=Zin(KAt,e),s?n!=null&&(s=ore(s,(Pn(n),n))):(s=S5n(e),osn(KAt,e,s),n!=null&&(s=ore(s,n))),s}function Bst(t){var e;pn();var n,r,s,o,h,d;if(_t(t,54))for(o=0,s=t.gc()-1;o<s;++o,--s)e=t.Xb(o),t._c(o,t.Xb(s)),t._c(s,e);else for(n=t.Yc(),h=t.Zc(t.gc());n.Tb()<h.Vb();)r=n.Pb(),d=h.Ub(),n.Wb(d),h.Wb(r)}function fgn(t,e){var n,r,s;Dr(e,"End label pre-processing",1),n=Zt(ke(K(t,(Te(),Rx)))),r=Zt(ke(K(t,Vy))),s=u8(u(K(t,Jl),103)),Ts(oc(new En(null,new _n(t.b,16)),new EL),new hKt(n,r,s)),br(e)}function Rst(t,e){var n,r,s,o,h,d;for(d=0,o=new F3,Up(o,e);o.b!=o.c;)for(h=u(B6(o),214),d+=yse(h.d,h.e),s=new S(h.b);s.a<s.c.c.length;)r=u(Q(s),37),n=u(Fe(t.b,r.p),214),n.s||(d+=Rst(t,n));return d}function Yae(t,e,n){var r,s;Sne(this),e==(zv(),y2)?Ys(this.r,t.c):Ys(this.w,t.c),n==y2?Ys(this.r,t.d):Ys(this.w,t.d),Dae(this,t),r=Iit(t.c),s=Iit(t.d),xae(this,r,s,s),this.o=(bC(),b.Math.abs(r-s)<.2)}function Xae(t,e,n){var r,s,o,h,d,w;if(d=u(In(t.a,8),1936),d!=null)for(s=d,o=0,h=s.length;o<h;++o)null.jm();r=n,t.a.Db&1||(w=new QYt(t,n,e),r.ui(w)),_t(r,672)?u(r,672).wi(t.a):r.ti()==t.a&&r.vi(null)}function dgn(){var t;return E5e?u(m7((Pp(),tf),Db),1945):(S4n(),t=u(_t(Uc((Pp(),tf),Db),586)?Uc(tf,Db):new sXt,586),E5e=!0,l5n(t),R5n(t),Ni((d2t(),YAt),t,new s6),mst(t),Fo(tf,Db,t),t)}function ggn(t,e,n,r){var s;return s=b4(t,n,ct(ot(Le,1),re,2,6,[Qat,Zat,Jat,tot,eot,not,rot]),e),s<0&&(s=b4(t,n,ct(ot(Le,1),re,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function pgn(t,e,n,r){var s;return s=b4(t,n,ct(ot(Le,1),re,2,6,[Qat,Zat,Jat,tot,eot,not,rot]),e),s<0&&(s=b4(t,n,ct(ot(Le,1),re,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function bgn(t){var e,n,r;for(k2n(t),r=new ge,n=new S(t.a.a.b);n.a<n.c.c.length;)e=u(Q(n),81),de(r,new C2t(e,!0)),de(r,new C2t(e,!1));rfn(t.c),uD(r,t.b,new Al(ct(ot(vO,1),De,369,0,[t.c]))),Bpn(t)}function vgn(t){var e,n,r,s;for(n=new Br,s=new S(t.d);s.a<s.c.c.length;)r=u(Q(s),181),e=u(r.We((oe(),Dx)),17),Ho(n.f,e)||Ni(n,e,new DXt(e)),de(u(gc(Ho(n.f,e)),456).b,r);return new Uu(new T1(n))}function wgn(t,e){var n,r,s,o,h;for(r=new IQt(t.j.c.length),n=null,o=new S(t.j);o.a<o.c.c.length;)s=u(Q(o),11),s.j!=n&&(r.b==r.c||uce(r,n,e),tmt(r),n=s.j),h=Woe(s),h&&Kwt(r,h);r.b==r.c||uce(r,n,e)}function mgn(t,e){var n,r,s;for(r=new Sa(t.b,0);r.b<r.d.gc();)n=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),70)),s=u(K(n,(Te(),Bd)),272),s==(F1(),Yy)&&(Ol(r),de(e.b,n),ia(n,(oe(),Dx))||ne(n,Dx,t))}function ygn(t){var e,n,r,s,o;for(e=F0(new pr(xr(Gs(t).a.Kc(),new H))),s=new pr(xr(Jo(t).a.Kc(),new H));ti(s);)r=u(qr(s),17),n=r.c.i,o=F0(new pr(xr(Gs(n).a.Kc(),new H))),e=b.Math.max(e,o);return ve(e)}function xgn(t,e,n){var r,s,o,h;for(Dr(n,"Processor arrange node",1),s=null,o=new hs,r=gi(e.b,0);!s&&r.b!=r.d.c;)h=u(di(r),86),je(Be(K(h,(Sc(),Wy))))&&(s=h);Cs(o,s,o.c.b,o.c),ahe(t,o,Kc(n,1)),br(n)}function Qae(t,e,n){var r,s,o;r=u(He(t,(Ei(),jG)),21),s=0,o=0,e.a>n.a&&(r.Hc((cy(),GO))?s=(e.a-n.a)/2:r.Hc(UO)&&(s=e.a-n.a)),e.b>n.b&&(r.Hc((cy(),KO))?o=(e.b-n.b)/2:r.Hc(WO)&&(o=e.b-n.b)),_4t(t,s,o)}function Zae(t,e,n,r,s,o,h,d,w,k,_,M,B){_t(t.Cb,88)&&hy(gl(u(t.Cb,88)),4),su(t,n),t.f=h,i7(t,d),a7(t,w),r7(t,k),s7(t,_),jg(t,M),o7(t,B),Rg(t,!0),Ng(t,s),t.ok(o),gb(t,e),r!=null&&(t.i=null,rz(t,r))}function Jae(t){var e,n;if(t.f){for(;t.n>0;){if(e=u(t.k.Xb(t.n-1),72),n=e.ak(),_t(n,99)&&u(n,18).Bb&Ac&&(!t.e||n.Gj()!=I9||n.aj()!=0)&&e.dd()!=null)return!0;--t.n}return!1}else return t.n>0}function H4t(t,e,n){if(t<0)return vC(Bhe,ct(ot(ir,1),De,1,5,[n,ve(t)]));if(e<0)throw et(new Bn(Rhe+e));return vC("%s (%s) must not be greater than size (%s)",ct(ot(ir,1),De,1,5,[n,ve(t),ve(e)]))}function V4t(t,e,n,r,s,o){var h,d,w,k;if(h=r-n,h<7){oln(e,n,r,o);return}if(w=n+s,d=r+s,k=w+(d-w>>1),V4t(e,t,w,k,-s,o),V4t(e,t,k,d,-s,o),o.ue(t[k-1],t[k])<=0){for(;n<r;)ds(e,n++,t[w++]);return}Lun(t,w,k,d,e,n,r,o)}function uI(t,e){var n,r,s;for(s=new ge,r=new S(t.c.a.b);r.a<r.c.c.length;)n=u(Q(r),57),e.Lb(n)&&(de(s,new m2t(n,!0)),de(s,new m2t(n,!1)));nfn(t.e),nZt(s,t.d,new Al(ct(ot(Nge,1),De,679,0,[t.e])))}function kgn(t,e){var n,r,s,o,h,d,w;for(w=e.d,s=e.b.j,d=new S(w);d.a<d.c.c.length;)for(h=u(Q(d),101),o=Pt(Tl,c0,25,s.c.length,16,1),Ni(t.b,h,o),n=h.a.d.p-1,r=h.c.d.p;n!=r;)n=(n+1)%s.c.length,o[n]=!0}function Egn(t,e){for(t.r=new ID(t.p),opt(t.r,t),so(t.r.j,t.j),Ph(t.j),pi(t.j,e),pi(t.r.e,e),Xj(t),Xj(t.r);t.f.c.length!=0;)kUt(u(Fe(t.f,0),129));for(;t.k.c.length!=0;)kUt(u(Fe(t.k,0),129));return t.r}function jst(t,e,n){var r,s,o;if(s=wn(t.Tg(),e),r=e-t.Ah(),r<0)if(s)if(s.Ij())o=t.Yg(s),o>=0?t.sh(o,n):y5t(t,s,n);else throw et(new Bn(l2+s.ne()+WC));else throw et(new Bn(gde+e+pde));else yh(t,r,s,n)}function toe(t){var e,n,r,s;if(n=u(t,49).qh(),n)try{if(r=null,e=m7((Pp(),tf),Fue(lln(n))),e&&(s=e.rh(),s&&(r=s.Wk(wKe(n.e)))),r&&r!=t)return toe(r)}catch(o){if(o=as(o),!_t(o,60))throw et(o)}return t}function du(t,e,n){var r,s,o,h;if(h=e==null?0:t.b.se(e),s=(r=t.a.get(h),r??new Array),s.length==0)t.a.set(h,s);else if(o=bre(t,e,s),o)return o.ed(n);return ds(s,s.length,new $R(e,n)),++t.c,c$(t.b),null}function eoe(t,e){var n,r;return y$(t.a),Xd(t.a,(az(),CG),CG),Xd(t.a,T9,T9),r=new ra,Mi(r,T9,(Sz(),Pht)),Ut(He(e,(ay(),Bht)))!==Ut((zD(),SG))&&Mi(r,T9,Iht),Mi(r,T9,Oht),eUt(t.a,r),n=Cq(t.a,e),n}function noe(t){if(!t)return jqt(),gge;var e=t.valueOf?t.valueOf():t;if(e!==t){var n=Eut[typeof e];return n?n(e):Fyt(typeof e)}else return t instanceof Array||t instanceof b.Array?new h6(t):new Vk(t)}function roe(t,e,n){var r,s,o;switch(o=t.o,r=u(Lo(t.p,n),244),s=r.i,s.b=fI(r),s.a=hI(r),s.b=b.Math.max(s.b,o.a),s.b>o.a&&!e&&(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}fat(r),dat(r)}function ioe(t,e,n){var r,s,o;switch(o=t.o,r=u(Lo(t.p,n),244),s=r.i,s.b=fI(r),s.a=hI(r),s.a=b.Math.max(s.a,o.b),s.a>o.b&&!e&&(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}fat(r),dat(r)}function Tgn(t,e){var n,r,s,o,h;if(!e.dc()){if(s=u(e.Xb(0),128),e.gc()==1){Dce(t,s,s,1,0,e);return}for(n=1;n<e.gc();)(s.j||!s.o)&&(o=Ofn(e,n),o&&(r=u(o.a,19).a,h=u(o.b,128),Dce(t,s,h,n,r,e),n=r+1,s=h))}}function _gn(t){var e,n,r,s,o,h;for(h=new Uu(t.d),ua(h,new LX),e=(gq(),ct(ot(vEt,1),ue,270,0,[llt,dlt,ult,blt,flt,hlt,plt,glt])),n=0,o=new S(h);o.a<o.c.c.length;)s=u(Q(o),101),r=e[n%e.length],xpn(s,r),++n}function Cgn(t,e){x4();var n,r,s,o;if(e.b<2)return!1;for(o=gi(e,0),n=u(di(o),8),r=n;o.b!=o.d.c;){if(s=u(di(o),8),!(V8(t,r)&&V8(t,s)))return!1;r=s}return!!(V8(t,r)&&V8(t,n))}function G4t(t,e){var n,r,s,o,h,d,w,k,_,M;return _=null,M=t,h=$0(M,"x"),n=new tzt(e),wan(n.a,h),d=$0(M,"y"),r=new ezt(e),man(r.a,d),w=$0(M,zct),s=new nzt(e),yan(s.a,w),k=$0(M,$ct),o=new rzt(e),_=(xan(o.a,k),k),_}function hy(t,e){lue(t,e),t.b&1&&(t.a.a=null),t.b&2&&(t.a.f=null),t.b&4&&(t.a.g=null,t.a.i=null),t.b&16&&(t.a.d=null,t.a.e=null),t.b&8&&(t.a.b=null),t.b&32&&(t.a.j=null,t.a.c=null)}function Sgn(t,e){var n,r,s;if(s=0,e.length>0)try{s=Kl(e,qa,Di)}catch(o){throw o=as(o),_t(o,127)?(r=o,et(new R$(r))):et(o)}return n=(!t.a&&(t.a=new ztt(t)),t.a),s<n.i&&s>=0?u(At(n,s),56):null}function Agn(t,e){if(t<0)return vC(Bhe,ct(ot(ir,1),De,1,5,["index",ve(t)]));if(e<0)throw et(new Bn(Rhe+e));return vC("%s (%s) must be less than size (%s)",ct(ot(ir,1),De,1,5,["index",ve(t),ve(e)]))}function Lgn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ii(o.a,o.b):o.a=new jl(o.d),c_(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function Mgn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ii(o.a,o.b):o.a=new jl(o.d),c_(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function Dgn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ii(o.a,o.b):o.a=new jl(o.d),c_(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function Ign(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ii(o.a,o.b):o.a=new jl(o.d),c_(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function soe(t,e){var n,r,s,o,h,d;for(n=t.b.c.length,s=Fe(t.b,e);e*2+1<n&&(r=(o=2*e+1,h=o+1,d=o,h<n&&t.a.ue(Fe(t.b,h),Fe(t.b,o))<0&&(d=h),d),!(t.a.ue(s,Fe(t.b,r))<0));)gh(t.b,e,Fe(t.b,r)),e=r;gh(t.b,e,s)}function U4t(t,e,n,r,s,o){var h,d,w,k,_;for(Ut(t)===Ut(n)&&(t=t.slice(e,e+s),e=0),w=n,d=e,k=e+s;d<k;)h=b.Math.min(d+1e4,k),s=h-d,_=t.slice(d,h),_.splice(0,0,r,o?s:0),Array.prototype.splice.apply(w,_),d=h,r+=s}function $st(t,e,n){var r,s;return r=n.d,s=n.e,t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]&&t.g[s.d]<=t.i[e.d]&&t.i[e.d]<=t.i[s.d]?!(t.i[r.d]<t.i[s.d]):t.i[r.d]<t.i[s.d]}function aoe(t){var e,n,r,s,o,h,d;if(r=t.a.c.length,r>0)for(h=t.c.d,d=t.d.d,s=bd(ba(new $e(d.a,d.b),h),1/(r+1)),o=new $e(h.a,h.b),n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),559),e.d.a=o.a,e.d.b=o.b,$i(o,s)}function ooe(t,e,n){var r,s,o,h,d,w;for(w=ms,o=new S(mce(t.b));o.a<o.c.c.length;)for(s=u(Q(o),168),d=new S(mce(e.b));d.a<d.c.c.length;)h=u(Q(d),168),r=mcn(s.a,s.b,h.a,h.b,n),w=b.Math.min(w,r);return w}function Qs(t,e){if(!e)throw et(new LT);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function Ogn(t,e){var n,r,s;return _t(e.g,10)&&u(e.g,10).k==(Yn(),Fs)?ms:(s=V6(e),s?b.Math.max(0,t.b/2-.5):(n=J3(e),n?(r=Zt(ke(iy(n,(Te(),Fw)))),b.Math.max(0,r/2-.5)):ms))}function Pgn(t,e){var n,r,s;return _t(e.g,10)&&u(e.g,10).k==(Yn(),Fs)?ms:(s=V6(e),s?b.Math.max(0,t.b/2-.5):(n=J3(e),n?(r=Zt(ke(iy(n,(Te(),Fw)))),b.Math.max(0,r/2-.5)):ms))}function Ngn(t){var e,n,r,s,o,h;for(h=Q_(t.d,t.e),o=h.Kc();o.Ob();)for(s=u(o.Pb(),11),r=t.e==(ye(),jn)?s.e:s.g,n=new S(r);n.a<n.c.c.length;)e=u(Q(n),17),!io(e)&&e.c.i.c!=e.d.i.c&&(z0n(t,e),++t.f,++t.c)}function coe(t,e){var n,r;if(e.dc())return pn(),pn(),mo;for(r=new ge,de(r,ve(qa)),n=1;n<t.f;++n)t.a==null&&uue(t),t.a[n]&&de(r,ve(n));return r.c.length==1?(pn(),pn(),mo):(de(r,ve(Di)),Fmn(e,r))}function Fgn(t,e){var n,r,s,o,h,d,w;h=e.c.i.k!=(Yn(),Ws),w=h?e.d:e.c,n=Qfn(e,w).i,s=u(cr(t.k,w),121),r=t.i[n.p].a,QWt(w.i)<(n.c?Zo(n.c.a,n,0):-1)?(o=s,d=r):(o=r,d=s),Tf(gf(df(pf(ff(new Dh,0),4),o),d))}function Bgn(t,e,n){var r,s,o,h,d,w;if(n)for(s=n.a.length,r=new J2(s),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),w=gst(t,ax(Xm(n,h.a))),w&&(o=(!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b),Hr(o,w))}function Rgn(t,e,n){var r,s,o,h,d,w;if(n)for(s=n.a.length,r=new J2(s),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),w=gst(t,ax(Xm(n,h.a))),w&&(o=(!e.c&&(e.c=new Tn(Lr,e,5,8)),e.c),Hr(o,w))}function lI(t,e,n){var r,s;r=e.a&t.f,e.b=t.b[r],t.b[r]=e,s=e.f&t.f,e.d=t.c[s],t.c[s]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function uoe(t){var e,n,r;if(e=t.Pb(),!t.Ob())return e;for(r=Cc(ii(new Mp,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)Cc((r.a+=oo,r),t.Pb());throw t.Ob()&&(r.a+=", ..."),r.a+=">",et(new Bn(r.a))}function jgn(t,e){var n;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?(n=u(W6(t.b,e.a),283),n.a=0,++t.c):(n=u(cr(t.b,e.a),283),--n.a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e),--t.d}function $gn(t){var e,n;return n=-t.a,e=ct(ot(Sh,1),Td,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&Ps,e[2]=e[2]+(n/60|0)%10&Ps,e[3]=e[3]+(n%60/10|0)&Ps,e[4]=e[4]+n%10&Ps,Fh(e,0,e.length)}function loe(t,e,n){var r,s;for(r=e.d,s=n.d;r.a-s.a==0&&r.b-s.b==0;)r.a+=wl(t,26)*LC+wl(t,27)*MC-.5,r.b+=wl(t,26)*LC+wl(t,27)*MC-.5,s.a+=wl(t,26)*LC+wl(t,27)*MC-.5,s.b+=wl(t,26)*LC+wl(t,27)*MC-.5}function W4t(t){var e,n,r,s;for(t.g=new eC(u(zr(uo),290)),r=0,n=(ye(),Nn),e=0;e<t.j.c.length;e++)s=u(Fe(t.j,e),11),s.j!=n&&(r!=e&&N6(t.g,n,new Ca(ve(r),ve(e))),n=s.j,r=e);N6(t.g,n,new Ca(ve(r),ve(e)))}function zgn(t){var e,n,r,s,o,h,d;for(r=0,n=new S(t.b);n.a<n.c.c.length;)for(e=u(Q(n),29),o=new S(e.a);o.a<o.c.c.length;)for(s=u(Q(o),10),s.p=r++,d=new S(s.j);d.a<d.c.c.length;)h=u(Q(d),11),h.p=r++}function hoe(t,e,n,r,s){var o,h,d,w,k;if(e)for(d=e.Kc();d.Ob();)for(h=u(d.Pb(),10),k=F5t(h,(xo(),lu),n).Kc();k.Ob();)w=u(k.Pb(),11),o=u(gc(Ho(s.f,w)),112),o||(o=new ID(t.d),r.c[r.c.length]=o,Wae(o,w,s))}function K4t(t,e){var n,r,s;if(s=T4((Yu(),Fa),t.Tg(),e),s)po(),u(s,66).Oj()||(s=H6(Ro(Fa,s))),r=(n=t.Yg(s),u(n>=0?t._g(n,!0,!0):uw(t,s,!0),153)),u(r,215).ol(e);else throw et(new Bn(l2+e.ne()+WC))}function Y4t(t){var e,n;return t>-0x800000000000&&t<0x800000000000?t==0?0:(e=t<0,e&&(t=-t),n=Ds(b.Math.floor(b.Math.log(t)/.6931471805599453)),(!e||t!=b.Math.pow(2,n))&&++n,n):Mne(Ou(t))}function qgn(t){var e,n,r,s,o,h,d;for(o=new M0,n=new S(t);n.a<n.c.c.length;)e=u(Q(n),129),h=e.a,d=e.b,!(o.a._b(h)||o.a._b(d))&&(s=h,r=d,h.e.b+h.j.b>2&&d.e.b+d.j.b<=2&&(s=d,r=h),o.a.zc(s,o),s.q=r);return o}function foe(t,e){var n,r,s;return r=new G0(t),Vo(r,e),ne(r,(oe(),UV),e),ne(r,(Te(),xs),(ka(),eu)),ne(r,Fd,(e0(),BG)),A0(r,(Yn(),Fs)),n=new zc,ac(n,r),Qs(n,(ye(),jn)),s=new zc,ac(s,r),Qs(s,Wn),r}function doe(t){switch(t.g){case 0:return new eet((Qv(),FO));case 1:return new NB;case 2:return new JJ;default:throw et(new Bn("No implementation is available for the crossing minimizer "+(t.f!=null?t.f:""+t.g)))}}function goe(t,e){var n,r,s,o,h;for(t.c[e.p]=!0,de(t.a,e),h=new S(e.j);h.a<h.c.c.length;)for(o=u(Q(h),11),r=new N1(o.b);sc(r.a)||sc(r.b);)n=u(sc(r.a)?Q(r.a):Q(r.b),17),s=ehn(o,n).i,t.c[s.p]||goe(t,s)}function poe(t){var e,n,r,s,o,h,d;for(h=0,n=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));n.e!=n.i.gc();)e=u(Tr(n),33),d=e.g,s=e.f,r=b.Math.sqrt(d*d+s*s),h=b.Math.max(r,h),o=poe(e),h=b.Math.max(o,h);return h}function cl(){cl=X,_2=new s_("OUTSIDE",0),ng=new s_("INSIDE",1),rP=new s_("NEXT_TO_PORT_IF_POSSIBLE",2),JS=new s_("ALWAYS_SAME_SIDE",3),ZS=new s_("ALWAYS_OTHER_SAME_SIDE",4),Gx=new s_("SPACE_EFFICIENT",5)}function boe(t,e,n){var r,s,o,h,d,w;return r=yin(t,(s=(Ev(),o=new Ppt,o),n&&k5t(s,n),s),e),q_(r,N0(e,Id)),eq(e,r),s2n(e,r),G4t(e,r),h=e,d=Gv(h,"ports"),w=new mGt(t,r),G2n(w.a,w.b,d),wit(t,e,r),gcn(t,e,r),r}function Hgn(t){var e,n;return n=-t.a,e=ct(ot(Sh,1),Td,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&Ps,e[2]=e[2]+(n/60|0)%10&Ps,e[4]=e[4]+(n%60/10|0)&Ps,e[5]=e[5]+n%10&Ps,Fh(e,0,e.length)}function Vgn(t){var e;return e=ct(ot(Sh,1),Td,25,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&Ps,e[5]=e[5]+(t/60|0)%10&Ps,e[7]=e[7]+(t%60/10|0)&Ps,e[8]=e[8]+t%10&Ps,Fh(e,0,e.length)}function Ggn(t){var e,n,r,s,o;if(t==null)return Nu;for(o=new lb(oo,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ii(o.a,o.b):o.a=new jl(o.d),c_(o.a,""+E_(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function X4t(t,e){var n,r,s;for(s=Di,r=new S(c4(e));r.a<r.c.c.length;)n=u(Q(r),213),n.f&&!t.c[n.c]&&(t.c[n.c]=!0,s=b.Math.min(s,X4t(t,Az(n,e))));return t.i[e.d]=t.j,t.g[e.d]=b.Math.min(s,t.j++),t.g[e.d]}function voe(t,e){var n,r,s;for(s=u(u(ji(t.r,e),21),84).Kc();s.Ob();)r=u(s.Pb(),111),r.e.b=(n=r.b,n.Xe((Ei(),kl))?n.Hf()==(ye(),Nn)?-n.rf().b-Zt(ke(n.We(kl))):Zt(ke(n.We(kl))):n.Hf()==(ye(),Nn)?-n.rf().b:0)}function Ugn(t){var e,n,r,s,o,h,d;for(n=rbt(t.e),o=bd($M(pc(nbt(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-o.a,s=n.b-o.b,d=0;d<t.c;d++){for(r=e,h=0;h<t.d;h++)pln(t.e,new fh(r,s,t.a,t.b))&&wq(t,h,d,!1,!0),r+=t.a;s+=t.b}}function Wgn(t){var e,n,r;if(je(Be(He(t,(Ei(),XO))))){for(r=new ge,n=new pr(xr(U0(t).a.Kc(),new H));ti(n);)e=u(qr(n),79),cw(e)&&je(Be(He(e,sft)))&&(r.c[r.c.length]=e);return r}else return pn(),pn(),mo}function ax(t){var e,n;if(n=!1,_t(t,204))return n=!0,u(t,204).a;if(!n&&_t(t,258)&&(e=u(t,258).a%1==0,e))return n=!0,ve($Ye(u(t,258).a));throw et(new dd("Id must be a string or an integer: '"+t+"'."))}function Kgn(t,e){var n,r,s,o,h,d;for(o=null,s=new AYt((!t.a&&(t.a=new ztt(t)),t.a));e5t(s);)if(n=u(cq(s),56),r=(h=n.Tg(),d=(E4(h),h.o),!d||!n.mh(d)?null:svt(dit(d),n.ah(d))),r!=null&&ln(r,e)){o=n;break}return o}function woe(t,e,n){var r,s,o,h,d;if(Gl(n,"occurrences"),n==0)return d=u(ny(z6(t.a),e),14),d?d.gc():0;if(h=u(ny(z6(t.a),e),14),!h)return 0;if(o=h.gc(),n>=o)h.$b();else for(s=h.Kc(),r=0;r<n;r++)s.Pb(),s.Qb();return o}function Ygn(t,e,n){var r,s,o,h;return Gl(n,"oldCount"),Gl(0,"newCount"),r=u(ny(z6(t.a),e),14),(r?r.gc():0)==n?(Gl(0,"count"),s=(o=u(ny(z6(t.a),e),14),o?o.gc():0),h=-s,h>0?Wpt():h<0&&woe(t,e,-h),!0):!1}function hI(t){var e,n,r,s,o,h,d;if(d=0,t.b==0){for(h=tse(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}else d=Wqt(ine(e$(Xi($nt(t.a),new Xa),new Ta)));return d>0?d+t.n.d+t.n.a:0}function fI(t){var e,n,r,s,o,h,d;if(d=0,t.b==0)d=Wqt(ine(e$(Xi($nt(t.a),new is),new La)));else{for(h=ese(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}return d>0?d+t.n.b+t.n.c:0}function Xgn(t,e){var n,r,s,o;for(o=u(Lo(t.b,e),124),n=o.a,s=u(u(ji(t.r,e),21),84).Kc();s.Ob();)r=u(s.Pb(),111),r.c&&(n.a=b.Math.max(n.a,Pvt(r.c)));if(n.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function Qgn(t,e){var n,r,s;return n=u(K(e,(r1(),e9)),19).a-u(K(t,e9),19).a,n==0?(r=ba(pc(u(K(t,(Kp(),bO)),8)),u(K(t,lS),8)),s=ba(pc(u(K(e,bO),8)),u(K(e,lS),8)),Vs(r.a*r.b,s.a*s.b)):n}function Zgn(t,e){var n,r,s;return n=u(K(e,(lw(),_G)),19).a-u(K(t,_G),19).a,n==0?(r=ba(pc(u(K(t,(Sc(),jO)),8)),u(K(t,BS),8)),s=ba(pc(u(K(e,jO),8)),u(K(e,BS),8)),Vs(r.a*r.b,s.a*s.b)):n}function moe(t){var e,n;return n=new Mp,n.a+="e_",e=ocn(t),e!=null&&(n.a+=""+e),t.c&&t.d&&(ii((n.a+=" ",n),Yz(t.c)),ii(Cc((n.a+="[",n),t.c.i),"]"),ii((n.a+=Not,n),Yz(t.d)),ii(Cc((n.a+="[",n),t.d.i),"]")),n.a}function yoe(t){switch(t.g){case 0:return new XL;case 1:return new QJ;case 2:return new XJ;case 3:return new FB;default:throw et(new Bn("No implementation is available for the layout phase "+(t.f!=null?t.f:""+t.g)))}}function Q4t(t,e,n,r,s){var o;switch(o=0,s.g){case 1:o=b.Math.max(0,e.b+t.b-(n.b+r));break;case 3:o=b.Math.max(0,-t.b-r);break;case 2:o=b.Math.max(0,-t.a-r);break;case 4:o=b.Math.max(0,e.a+t.a-(n.a+r))}return o}function Jgn(t,e,n){var r,s,o,h,d;if(n)for(s=n.a.length,r=new J2(s),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),o=S8(n,h.a),f8t in o.a||Gct in o.a?lwn(t,o,e):b5n(t,o,e),BXe(u(cr(t.b,c7(o)),79))}function Z4t(t){var e,n;switch(t.b){case-1:return!0;case 0:return n=t.t,n>1||n==-1?(t.b=-1,!0):(e=Bh(t),e&&(po(),e.Cj()==b0e)?(t.b=-1,!0):(t.b=1,!1));default:case 1:return!1}}function tpn(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new pe(ju,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(At(r,s),170),jv(Ro(t,n))){case 2:case 3:!o&&(o=new ge),o.c[o.c.length]=n}return o||(pn(),pn(),mo)}function J4t(t,e){var n,r,s,o;if(Ci(t),t.c!=0||t.a!=123)throw et(new Kr(ei((Ur(),Rde))));if(o=e==112,r=t.d,n=h8(t.i,125,r),n<0)throw et(new Kr(ei((Ur(),jde))));return s=$l(t.i,r,n),t.d=n+1,ate(s,o,(t.e&512)==512)}function epn(t){var e;if(e=u(K(t,(Te(),ES)),314),e==(X6(),Ax))throw et(new FT("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function npn(t,e){vf();var n,r,s,o,h,d;for(n=null,h=e.Kc();h.Ob();)o=u(h.Pb(),128),!o.o&&(r=wXe(o.a),s=stn(o.a),d=new xC(r,s,null,u(o.d.a.ec().Kc().Pb(),17)),de(d.c,o.a),t.c[t.c.length]=d,n&&de(n.d,d),n=d)}function rpn(t,e){var n,r,s;if(!e)rit(t,null),z8(t,null);else if(e.i&4)for(r="[]",n=e.c;;n=n.c){if(!(n.i&4)){s=Vpt((D0(n),n.o+r)),rit(t,s),z8(t,s);break}r+="[]"}else s=Vpt((D0(e),e.o)),rit(t,s),z8(t,s);t.yk(e)}function dC(t,e,n,r,s){var o,h,d,w;return w=cnt(t,u(s,56)),Ut(w)!==Ut(s)?(d=u(t.g[n],72),o=Jd(e,w),f_(t,n,Sst(t,n,o)),Ll(t.e)&&(h=Gp(t,9,o.ak(),s,w,r,!1),g4t(h,new R0(t.e,9,t.c,d,o,r,!1)),Urt(h)),w):s}function ipn(t,e,n){var r,s,o,h,d,w;for(r=u(ji(t.c,e),15),s=u(ji(t.c,n),15),o=r.Zc(r.gc()),h=s.Zc(s.gc());o.Sb()&&h.Sb();)if(d=u(o.Ub(),19),w=u(h.Ub(),19),d!=w)return Tu(d.a,w.a);return!o.Ob()&&!h.Ob()?0:o.Ob()?1:-1}function xoe(t,e){var n,r,s;try{return s=Yrn(t.a,e),s}catch(o){if(o=as(o),_t(o,32)){try{if(r=Kl(e,qa,Di),n=Kf(t.a),r>=0&&r<n.length)return n[r]}catch(h){if(h=as(h),!_t(h,127))throw et(h)}return null}else throw et(o)}}function zst(t,e){var n,r,s;if(s=T4((Yu(),Fa),t.Tg(),e),s)return po(),u(s,66).Oj()||(s=H6(Ro(Fa,s))),r=(n=t.Yg(s),u(n>=0?t._g(n,!0,!0):uw(t,s,!0),153)),u(r,215).ll(e);throw et(new Bn(l2+e.ne()+Fct))}function spn(){g2t();var t;return e5e?u(m7((Pp(),tf),Hh),1939):(vi(Ib,new Hf),$3n(),t=u(_t(Uc((Pp(),tf),Hh),547)?Uc(tf,Hh):new aXt,547),e5e=!0,F5n(t),z5n(t),Ni((d2t(),YAt),t,new XZ),Fo(tf,Hh,t),t)}function apn(t,e){var n,r,s,o;t.j=-1,Ll(t.e)?(n=t.i,o=t.i!=0,fD(t,e),r=new R0(t.e,3,t.c,null,e,n,o),s=e.Qk(t.e,t.c,null),s=Zse(t,e,s),s?(s.Ei(r),s.Fi()):Oi(t.e,r)):(fD(t,e),s=e.Qk(t.e,t.c,null),s&&s.Fi())}function sq(t,e){var n,r,s;if(s=0,r=e[0],r>=t.length)return-1;for(n=(Xr(r,t.length),t.charCodeAt(r));n>=48&&n<=57&&(s=s*10+(n-48),++r,!(r>=t.length));)n=(Xr(r,t.length),t.charCodeAt(r));return r>e[0]?e[0]=r:s=-1,s}function opn(t){var e,n,r,s,o;return s=u(t.a,19).a,o=u(t.b,19).a,n=s,r=o,e=b.Math.max(b.Math.abs(s),b.Math.abs(o)),s<=0&&s==o?(n=0,r=o-1):s==-e&&o!=e?(n=o,r=s,o>=0&&++n):(n=-o,r=s),new Ca(ve(n),ve(r))}function cpn(t,e,n,r){var s,o,h,d,w,k;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)if(d=h-e.k+r,w=o,k=d,w+=t.j,k+=t.k,w>=0&&k>=0&&w<t.o&&k<t.p&&(!ose(e,s,h)&&ise(t,o,d)||h4(e,s,h)&&!sfn(t,o,d)))return!0;return!1}function upn(t,e,n){var r,s,o,h,d;h=t.c,d=t.d,o=cc(ct(ot(sa,1),re,8,0,[h.i.n,h.n,h.a])).b,s=(o+cc(ct(ot(sa,1),re,8,0,[d.i.n,d.n,d.a])).b)/2,r=null,h.j==(ye(),Wn)?r=new $e(e+h.i.c.c.a+n,s):r=new $e(e-n,s),f8(t.a,0,r)}function cw(t){var e,n,r,s;for(e=null,r=zp(B1(ct(ot(G1,1),De,20,0,[(!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c)])));ti(r);)if(n=u(qr(r),82),s=Go(n),!e)e=s;else if(e!=s)return!1;return!0}function qst(t,e,n){var r;if(++t.j,e>=t.i)throw et(new Po(Wct+e+Lb+t.i));if(n>=t.i)throw et(new Po(Kct+n+Lb+t.i));return r=t.g[n],e!=n&&(e<n?qc(t.g,e,t.g,e+1,n-e):qc(t.g,n+1,t.g,n,e-n),ds(t.g,e,r),t.ei(e,r,n),t.ci()),r}function un(t,e,n){var r;if(r=u(t.c.xc(e),14),r)return r.Fc(n)?(++t.d,!0):!1;if(r=t.ic(e),r.Fc(n))return++t.d,t.c.zc(e,r),!0;throw et(new rmt("New Collection violated the Collection spec"))}function dI(t){var e,n,r;return t<0?0:t==0?32:(r=-(t>>16),e=r>>16&16,n=16-e,t=t>>e,r=t-256,e=r>>16&8,n+=e,t<<=e,r=t-yy,e=r>>16&4,n+=e,t<<=e,r=t-Ed,e=r>>16&2,n+=e,t<<=e,r=t>>14,e=r&~(r>>1),n+2-e)}function lpn(t){$6();var e,n,r,s;for(iV=new ge,qut=new Br,zut=new ge,e=(!t.a&&(t.a=new pe(bs,t,10,11)),t.a),q4n(e),s=new hr(e);s.e!=s.i.gc();)r=u(Tr(s),33),Zo(iV,r,0)==-1&&(n=new ge,de(zut,n),Iie(r,n));return zut}function hpn(t,e,n){var r,s,o,h;t.a=n.b.d,_t(e,352)?(s=y4(u(e,79),!1,!1),o=cI(s),r=new Ra(t),Pa(o,r),EI(o,s),e.We((Ei(),s5))!=null&&Pa(u(e.We(s5),74),r)):(h=u(e,470),h.Hg(h.Dg()+t.a.a),h.Ig(h.Eg()+t.a.b))}function koe(t,e){var n,r,s,o,h,d,w,k;for(k=Zt(ke(K(e,(Te(),CS)))),w=t[0].n.a+t[0].o.a+t[0].d.c+k,d=1;d<t.length;d++)r=t[d].n,s=t[d].o,n=t[d].d,o=r.a-n.b-w,o<0&&(r.a-=o),h=e.f,h.a=b.Math.max(h.a,r.a+s.a),w=r.a+s.a+n.c+k}function fpn(t,e){var n,r,s,o,h,d;return r=u(u(cr(t.g,e.a),46).a,65),s=u(u(cr(t.g,e.b),46).a,65),o=r.b,h=s.b,n=Myn(o,h),n>=0?n:(d=A_(ba(new $e(h.c+h.b/2,h.d+h.a/2),new $e(o.c+o.b/2,o.d+o.a/2))),-(Vue(o,h)-1)*d)}function dpn(t,e,n){var r;Ts(new En(null,(!n.a&&(n.a=new pe(fs,n,6,6)),new _n(n.a,16))),new aGt(t,e)),Ts(new En(null,(!n.n&&(n.n=new pe(nc,n,1,7)),new _n(n.n,16))),new oGt(t,e)),r=u(He(n,(Ei(),s5)),74),r&&ryt(r,t,e)}function uw(t,e,n){var r,s,o;if(o=T4((Yu(),Fa),t.Tg(),e),o)return po(),u(o,66).Oj()||(o=H6(Ro(Fa,o))),s=(r=t.Yg(o),u(r>=0?t._g(r,!0,!0):uw(t,o,!0),153)),u(s,215).hl(e,n);throw et(new Bn(l2+e.ne()+Fct))}function t5t(t,e,n,r){var s,o,h,d,w;if(s=t.d[e],s){if(o=s.g,w=s.i,r!=null){for(d=0;d<w;++d)if(h=u(o[d],133),h.Sh()==n&&Pi(r,h.cd()))return h}else for(d=0;d<w;++d)if(h=u(o[d],133),Ut(h.cd())===Ut(r))return h}return null}function gI(t,e){var n;if(e<0)throw et(new vR("Negative exponent"));if(e==0)return UH;if(e==1||c3t(t,UH)||c3t(t,Z7))return t;if(!Uoe(t,0)){for(n=1;!Uoe(t,n);)++n;return t4(Sln(n*e),gI(amt(t,n),e))}return Fdn(t,e)}function gpn(t,e){var n,r,s;if(Ut(t)===Ut(e))return!0;if(t==null||e==null||t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(r=t[n],s=e[n],!(Ut(r)===Ut(s)||r!=null&&Pi(r,s)))return!1;return!0}function Eoe(t){h2t();var e,n,r;for(this.b=v2e,this.c=(ko(),f0),this.f=(dVt(),b2e),this.a=t,Jpt(this,new Ec),hq(this),r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),81),n.d||(e=new Xit(ct(ot(Yut,1),De,81,0,[n])),de(t.a,e))}function ppn(t,e,n){var r,s,o,h,d,w;if(!t||t.c.length==0)return null;for(o=new YXt(e,!n),s=new S(t);s.a<s.c.c.length;)r=u(Q(s),70),P4t(o,(zT(),new ro(r)));return h=o.i,h.a=(w=o.n,o.e.b+w.d+w.a),h.b=(d=o.n,o.e.a+d.b+d.c),o}function Toe(t){var e,n,r,s,o,h,d;for(d=cD(t.a),Z2t(d,new hf),n=null,s=d,o=0,h=s.length;o<h&&(r=s[o],r.k==(Yn(),Fs));++o)e=u(K(r,(oe(),yc)),61),!(e!=(ye(),jn)&&e!=Wn)&&(n&&u(K(n,Ix),15).Fc(r),n=r)}function bpn(t,e,n){var r,s,o,h,d,w,k;w=(An(e,t.c.length),u(t.c[e],329)),Ig(t,e),w.b/2>=n&&(r=e,k=(w.c+w.a)/2,h=k-n,w.c<=k-n&&(s=new ynt(w.c,h),$m(t,r++,s)),d=k+n,d<=w.a&&(o=new ynt(d,w.a),Um(r,t.c.length),WT(t.c,r,o)))}function e5t(t){var e;if(!t.c&&t.g==null)t.d=t.si(t.f),Hr(t,t.d),e=t.d;else{if(t.g==null)return!0;if(t.i==0)return!1;e=u(t.g[t.i-1],47)}return e==t.b&&null.km>=null.jm()?(cq(t),e5t(t)):e.Ob()}function vpn(t,e,n){var r,s,o,h,d;if(d=n,!d&&(d=Ivt(new Xk,0)),Dr(d,jfe,1),Vle(t.c,e),h=D3n(t.a,e),h.gc()==1)Cle(u(h.Xb(0),37),d);else for(o=1/h.gc(),s=h.Kc();s.Ob();)r=u(s.Pb(),37),Cle(r,Kc(d,o));_Ke(t.a,h,e),Dvn(e),br(d)}function _oe(t){if(this.a=t,t.c.i.k==(Yn(),Fs))this.c=t.c,this.d=u(K(t.c.i,(oe(),yc)),61);else if(t.d.i.k==Fs)this.c=t.d,this.d=u(K(t.d.i,(oe(),yc)),61);else throw et(new Bn("Edge "+t+" is not an external edge."))}function Coe(t,e){var n,r,s;s=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,3,s,t.b)),e?e!=t&&(su(t,e.zb),tit(t,e.d),n=(r=e.c,r??e.zb),nit(t,n==null||ln(n,e.zb)?null:n)):(su(t,null),tit(t,0),nit(t,null))}function Soe(t){var e,n;if(t.f){for(;t.n<t.o;){if(e=u(t.j?t.j.pi(t.n):t.k.Xb(t.n),72),n=e.ak(),_t(n,99)&&u(n,18).Bb&Ac&&(!t.e||n.Gj()!=I9||n.aj()!=0)&&e.dd()!=null)return!0;++t.n}return!1}else return t.n<t.o}function Aoe(t,e){var n;this.e=(Vm(),zr(t),Vm(),d3t(t)),this.c=(zr(e),d3t(e)),wbt(this.e.Hd().dc()==this.c.Hd().dc()),this.d=Kre(this.e),this.b=Kre(this.c),n=Z2(ir,[re,De],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,aon(this)}function Loe(t){!xut&&(xut=Q4n());var e=t.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 irn(n)});return'"'+e+'"'}function Moe(t){_wt();var e,n;for(this.b=Bge,this.c=jge,this.g=(fVt(),Fge),this.d=(ko(),f0),this.a=t,T5t(this),n=new S(t.b);n.a<n.c.c.length;)e=u(Q(n),57),!e.a&&YUt(See(new Apt,ct(ot(ZH,1),De,57,0,[e])),t),e.e=new u$(e.d)}function wpn(t){var e,n,r,s,o,h;for(s=t.e.c.length,r=Pt(Eh,xy,15,s,0,1),h=new S(t.e);h.a<h.c.c.length;)o=u(Q(h),144),r[o.b]=new hs;for(n=new S(t.c);n.a<n.c.c.length;)e=u(Q(n),282),r[e.c.b].Fc(e),r[e.d.b].Fc(e);return r}function mpn(t){var e,n,r,s,o,h,d;for(d=Wd(t.c.length),s=new S(t);s.a<s.c.c.length;){for(r=u(Q(s),10),h=new na,o=Gs(r),n=new pr(xr(o.a.Kc(),new H));ti(n);)e=u(qr(n),17),e.c.i==e.d.i||Ys(h,e.d.i);d.c[d.c.length]=h}return d}function ypn(t,e){var n,r,s,o,h;if(n=u(In(t.a,4),126),h=n==null?0:n.length,e>=h)throw et(new jm(e,h));return s=n[e],h==1?r=null:(r=Pt(Tft,Jct,415,h-1,0,1),qc(n,0,r,0,e),o=h-e-1,o>0&&qc(n,e+1,r,e,o)),u7(t,r),Xae(t,e,s),s}function ox(){ox=X,Kx=u(At(Kt((n2t(),Mc).qb),6),34),Wx=u(At(Kt(Mc.qb),3),34),Mft=u(At(Kt(Mc.qb),4),34),Dft=u(At(Kt(Mc.qb),5),18),Jz(Kx),Jz(Wx),Jz(Mft),Jz(Dft),s5e=new Al(ct(ot(ju,1),F4,170,0,[Kx,Wx]))}function Doe(t,e){var n;this.d=new MT,this.b=e,this.e=new No(e.qf()),n=t.u.Hc((cl(),rP)),t.u.Hc(ng)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(_2)?n?this.a=!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1:this.a=!1}function Ioe(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(ji(t.r,e),21),84).Kc();o.Ob();)s=u(o.Pb(),111),s.e.a=(r=s.b,r.Xe((Ei(),kl))?r.Hf()==(ye(),jn)?-r.rf().a-Zt(ke(r.We(kl))):n+Zt(ke(r.We(kl))):r.Hf()==(ye(),jn)?-r.rf().a:n)}function Ooe(t,e){var n,r,s,o;n=u(K(t,(Te(),Jl)),103),o=u(He(e,w9),61),s=u(K(t,xs),98),s!=(ka(),Q1)&&s!=T2?o==(ye(),fc)&&(o=J5t(e,n),o==fc&&(o=tx(n))):(r=_le(e),r>0?o=tx(n):o=UD(tx(n))),Do(e,w9,o)}function xpn(t,e){var n,r,s,o,h;for(h=t.j,e.a!=e.b&&ua(h,new Y5),s=h.c.length/2|0,r=0;r<s;r++)o=(An(r,h.c.length),u(h.c[r],113)),o.c&&Qs(o.d,e.a);for(n=s;n<h.c.length;n++)o=(An(n,h.c.length),u(h.c[n],113)),o.c&&Qs(o.d,e.b)}function kpn(t,e,n){var r,s,o;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?(o=Nnt(r.a,s.a),o<0?yI(t,e,n):o>0&&yI(t,n,e),o):r.a!=null?(yI(t,e,n),-1):s.a!=null?(yI(t,n,e),1):0}function Poe(t,e){var n,r,s,o;t.ej()?(n=t.Vi(),o=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),r=t.Zi(3,null,e,n,o),t.bj()?(s=t.cj(e,null),s?(s.Ei(r),s.Fi()):t.$i(r)):t.$i(r)):(XYt(t,e),t.bj()&&(s=t.cj(e,null),s&&s.Fi()))}function aq(t,e){var n,r,s,o,h;for(h=gu(t.e.Tg(),e),s=new e6,n=u(t.g,119),o=t.i;--o>=0;)r=n[o],h.rl(r.ak())&&Hr(s,r);!Ehe(t,s)&&Ll(t.e)&&Yk(t,e.$j()?Gp(t,6,e,(pn(),mo),null,-1,!1):Gp(t,e.Kj()?2:1,e,null,null,-1,!1))}function v7(){v7=X;var t,e;for(_x=Pt(R4,re,91,32,0,1),oS=Pt(R4,re,91,32,0,1),t=1,e=0;e<=18;e++)_x[e]=QD(t),oS[e]=QD(I0(t,e)),t=za(t,5);for(;e<oS.length;e++)_x[e]=t4(_x[e-1],_x[1]),oS[e]=t4(oS[e-1],(r2(),Sut))}function Epn(t,e){var n,r,s,o,h;return t.a==(p7(),bS)?!0:(o=e.a.c,n=e.a.c+e.a.b,!(e.j&&(r=e.A,h=r.c.c.a-r.o.a/2,s=o-(r.n.a+r.o.a),s>h)||e.q&&(r=e.C,h=r.c.c.a-r.o.a/2,s=r.n.a-n,s>h)))}function Tpn(t,e){var n;Dr(e,"Partition preprocessing",1),n=u(Hl(Xi(oc(Xi(new En(null,new _n(t.a,16)),new $Y),new cF),new U5),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),Ts(n.Oc(),new uF),br(e)}function Noe(t){prt();var e,n,r,s,o,h,d;for(n=new ib,s=new S(t.e.b);s.a<s.c.c.length;)for(r=u(Q(s),29),h=new S(r.a);h.a<h.c.c.length;)o=u(Q(h),10),d=t.g[o.p],e=u(Uv(n,d),15),e||(e=new ge,vb(n,d,e)),e.Fc(o);return n}function _pn(t,e){var n,r,s,o,h;for(s=e.b.b,t.a=Pt(Eh,xy,15,s,0,1),t.b=Pt(Tl,c0,25,s,16,1),h=gi(e.b,0);h.b!=h.d.c;)o=u(di(h),86),t.a[o.g]=new hs;for(r=gi(e.a,0);r.b!=r.d.c;)n=u(di(r),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function Foe(t){var e;return t.Db&64?Ef(t):(e=new Ih(Ef(t)),e.a+=" (startX: ",j3(e,t.j),e.a+=", startY: ",j3(e,t.k),e.a+=", endX: ",j3(e,t.b),e.a+=", endY: ",j3(e,t.c),e.a+=", identifier: ",Ao(e,t.d),e.a+=")",e.a)}function n5t(t){var e;return t.Db&64?X_(t):(e=new Ih(X_(t)),e.a+=" (ordered: ",Cg(e,(t.Bb&256)!=0),e.a+=", unique: ",Cg(e,(t.Bb&512)!=0),e.a+=", lowerBound: ",uet(e,t.s),e.a+=", upperBound: ",uet(e,t.t),e.a+=")",e.a)}function Boe(t,e,n,r,s,o,h,d){var w;return _t(t.Cb,88)&&hy(gl(u(t.Cb,88)),4),su(t,n),t.f=r,i7(t,s),a7(t,o),r7(t,h),s7(t,!1),jg(t,!0),o7(t,d),Rg(t,!0),Ng(t,0),t.b=0,ty(t,1),w=z1(t,e,null),w&&w.Fi(),Rit(t,!1),t}function Roe(t,e){var n,r,s,o;return n=u(Uc(t.a,e),512),n||(r=new Drt(e),s=(S$(),U1?null:r.c),o=$l(s,0,b.Math.max(0,pj(s,Pu(46)))),XQe(r,Roe(t,o)),(U1?null:r.c).length==0&&xWt(r,new Re),Fo(t.a,U1?null:r.c,r),r)}function Cpn(t,e){var n;t.b=e,t.g=new ge,n=Dpn(t.b),t.e=n,t.f=n,t.c=je(Be(K(t.b,(Xz(),P7t)))),t.a=ke(K(t.b,(Ei(),zx))),t.a==null&&(t.a=1),Zt(t.a)>1?t.e*=Zt(t.a):t.f/=Zt(t.a),sun(t),lhn(t),Uvn(t),ne(t.b,(iC(),rV),t.g)}function joe(t,e,n){var r,s,o,h,d,w;for(r=0,w=n,e||(r=n*(t.c.length-1),w*=-1),o=new S(t);o.a<o.c.c.length;){for(s=u(Q(o),10),ne(s,(Te(),Fd),(e0(),BG)),s.o.a=r,d=qg(s,(ye(),Wn)).Kc();d.Ob();)h=u(d.Pb(),11),h.n.a=r;r+=w}}function r5t(t,e,n){var r,s,o;t.ej()?(o=t.fj(),VD(t,e,n),r=t.Zi(3,null,n,e,o),t.bj()?(s=t.cj(n,null),t.ij()&&(s=t.jj(n,s)),s?(s.Ei(r),s.Fi()):t.$i(r)):t.$i(r)):(VD(t,e,n),t.bj()&&(s=t.cj(n,null),s&&s.Fi()))}function cx(t,e,n){var r,s,o,h,d,w;return d=t.Gk(n),d!=n?(h=t.g[e],w=d,f_(t,e,t.oi(e,w)),o=h,t.gi(e,w,o),t.rk()&&(r=n,s=t.dj(r,null),!u(d,49).eh()&&(s=t.cj(w,s)),s&&s.Fi()),Ll(t.e)&&Yk(t,t.Zi(9,n,d,e,!1)),d):n}function Spn(t,e){var n,r,s,o;for(r=new S(t.a.a);r.a<r.c.c.length;)n=u(Q(r),189),n.g=!0;for(o=new S(t.a.b);o.a<o.c.c.length;)s=u(Q(o),81),s.k=je(Be(t.e.Kb(new Ca(s,e)))),s.d.g=s.d.g&je(Be(t.e.Kb(new Ca(s,e))));return t}function $oe(t){var e,n,r,s,o;if(n=(e=u(Kf(uo),9),new hh(e,u(bf(e,e.length),9),0)),o=u(K(t,(oe(),ul)),10),o)for(s=new S(o.j);s.a<s.c.c.length;)r=u(Q(s),11),Ut(K(r,Bi))===Ut(t)&&p_(new N1(r.b))&&kf(n,r.j);return n}function zoe(t,e,n){var r,s,o,h,d;if(!t.d[n.p]){for(s=new pr(xr(Gs(n).a.Kc(),new H));ti(s);){for(r=u(qr(s),17),d=r.d.i,h=new pr(xr(Jo(d).a.Kc(),new H));ti(h);)o=u(qr(h),17),o.c.i==e&&(t.a[o.p]=!0);zoe(t,e,d)}t.d[n.p]=!0}}function Apn(t,e){var n,r,s,o,h,d,w;if(r=Wre(t.Db&254),r==1)t.Eb=null;else if(o=ob(t.Eb),r==2)s=bst(t,e),t.Eb=o[s==0?1:0];else{for(h=Pt(ir,De,1,r-1,5,1),n=2,d=0,w=0;n<=128;n<<=1)n==e?++d:t.Db&n&&(h[w++]=o[d++]);t.Eb=h}t.Db&=~e}function Lpn(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new pe(ju,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(At(r,s),170),jv(Ro(t,n))){case 4:case 5:case 6:{!o&&(o=new ge),o.c[o.c.length]=n;break}}return o||(pn(),pn(),mo)}function i5t(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=_f}return e}function Mpn(t,e,n,r,s){var o,h,d,w;if(Ut(t)===Ut(e)&&r==s){Bue(t,r,n);return}for(d=0;d<r;d++){for(h=0,o=t[d],w=0;w<s;w++)h=Ka(Ka(za(Xs(o,To),Xs(e[w],To)),Xs(n[d+w],To)),Xs($r(h),To)),n[d+w]=$r(h),h=zm(h,32);n[d+s]=$r(h)}}function Dpn(t){var e,n,r,s,o,h,d,w,k,_,M;for(_=0,k=0,s=t.a,d=s.a.gc(),r=s.a.ec().Kc();r.Ob();)n=u(r.Pb(),561),e=(n.b&&bat(n),n.a),M=e.a,h=e.b,_+=M+h,k+=M*h;return w=b.Math.sqrt(400*d*k-4*k+_*_)+_,o=2*(100*d-1),o==0?w:w/o}function qoe(t,e){e.b!=0&&(isNaN(t.s)?t.s=Zt((sr(e.b!=0),ke(e.a.a.c))):t.s=b.Math.min(t.s,Zt((sr(e.b!=0),ke(e.a.a.c)))),isNaN(t.c)?t.c=Zt((sr(e.b!=0),ke(e.c.b.c))):t.c=b.Math.max(t.c,Zt((sr(e.b!=0),ke(e.c.b.c)))))}function gC(t){var e,n,r,s;for(e=null,r=zp(B1(ct(ot(G1,1),De,20,0,[(!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c)])));ti(r);)if(n=u(qr(r),82),s=Go(n),!e)e=gs(s);else if(e!=gs(s))return!0;return!1}function Hst(t,e){var n,r,s,o;t.ej()?(n=t.i,o=t.fj(),fD(t,e),r=t.Zi(3,null,e,n,o),t.bj()?(s=t.cj(e,null),t.ij()&&(s=t.jj(e,s)),s?(s.Ei(r),s.Fi()):t.$i(r)):t.$i(r)):(fD(t,e),t.bj()&&(s=t.cj(e,null),s&&s.Fi()))}function Hoe(t,e,n){var r,s,o;t.ej()?(o=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),r=t.Zi(3,null,n,e,o),t.bj()?(s=t.cj(n,null),s?(s.Ei(r),s.Fi()):t.$i(r)):t.$i(r)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(s=t.cj(n,null),s&&s.Fi()))}function Ipn(t){var e,n,r,s;for(s=t.length,e=null,r=0;r<s;r++)n=(Xr(r,t.length),t.charCodeAt(r)),pd(".*+?{[()|\\^$",Pu(n))>=0?(e||(e=new BT,r>0&&Ao(e,t.substr(0,r))),e.a+="\\",y8(e,n&Ps)):e&&y8(e,n&Ps);return e?e.a:t}function Opn(t){var e;if(!t.a)throw et(new Xo("IDataType class expected for layout option "+t.f));if(e=zin(t.a),e==null)throw et(new Xo("Couldn't create new instance of property '"+t.f+"'. "+B1e+(D0(fP),fP.k)+r8t));return u(e,414)}function Vst(t){var e,n,r,s,o;return o=t.eh(),o&&o.kh()&&(s=Zp(t,o),s!=o)?(n=t.Vg(),r=(e=t.Vg(),e>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null)),t.Rg(u(s,49),n),r&&r.Fi(),t.Lg()&&t.Mg()&&n>-1&&Oi(t,new la(t,9,n,o,s)),s):o}function Voe(t){var e,n,r,s,o,h,d,w;for(h=0,o=t.f.e,r=0;r<o.c.length;++r)for(d=(An(r,o.c.length),u(o.c[r],144)),s=r+1;s<o.c.length;++s)w=(An(s,o.c.length),u(o.c[s],144)),n=Wp(d.d,w.d),e=n-t.a[d.b][w.b],h+=t.i[d.b][w.b]*e*e;return h}function Ppn(t,e){var n;if(!ia(e,(Te(),bu))&&(n=s1n(u(K(e,dEt),360),u(K(t,bu),163)),ne(e,dEt,n),!ti(new pr(xr(H0(e).a.Kc(),new H)))))switch(n.g){case 1:ne(e,bu,(mh(),yS));break;case 2:ne(e,bu,(mh(),xS))}}function Npn(t,e){var n;Gvn(t),t.a=(n=new set,Ts(new En(null,new _n(e.d,16)),new Btt(n)),n),evn(t,u(K(e.b,(Te(),Wlt)),376)),Khn(t),$pn(t),o1n(t),Yhn(t),Vyn(t,e),Ts(oc(new En(null,eZt(men(t.b).a)),new S3),new MX),e.a=!1,t.a=null}function Goe(){C4t.call(this,G7,(Ev(),k4e)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function w7(){w7=X,kft=new A6(o1e,0),eU=new A6("INSIDE_SELF_LOOPS",1),nU=new A6("MULTI_EDGES",2),tU=new A6("EDGE_LABELS",3),xft=new A6("PORTS",4),JG=new A6("COMPOUND",5),ZG=new A6("CLUSTERS",6),yft=new A6("DISCONNECTED",7)}function Uoe(t,e){var n,r,s;if(e==0)return(t.a[0]&1)!=0;if(e<0)throw et(new vR("Negative bit address"));if(s=e>>5,s>=t.d)return t.e<0;if(n=t.a[s],e=1<<(e&31),t.e<0){if(r=une(t),s<r)return!1;r==s?n=-n:n=~n}return(n&e)!=0}function Fpn(t,e,n,r){var s;u(n.b,65),u(n.b,65),u(r.b,65),u(r.b,65),s=ba(pc(u(n.b,65).c),u(r.b,65).c),Mj(s,ooe(u(n.b,65),u(r.b,65),s)),u(r.b,65),u(r.b,65),u(r.b,65).c.a+s.a,u(r.b,65).c.b+s.b,u(r.b,65),Mu(r.a,new wvt(t,e,r))}function s5t(t,e){var n,r,s,o,h,d,w;if(o=e.e,o){for(n=Vst(o),r=u(t.g,674),h=0;h<t.i;++h)if(w=r[h],lst(w)==n&&(s=(!w.d&&(w.d=new qs(So,w,1)),w.d),d=u(n.ah(aat(o,o.Cb,o.Db>>16)),15).Xc(o),d<s.i))return s5t(t,u(At(s,d),87))}return e}function D(t,e,n){var r=qH,s,o=r[t],h=o instanceof Array?o[0]:null;o&&!h?l=o:(l=(s=e&&e.prototype,!s&&(s=qH[e]),arn(s)),l.hm=n,!e&&(l.im=Ft),r[t]=l);for(var d=3;d<arguments.length;++d)arguments[d].prototype=l;h&&(l.gm=h)}function ti(t){for(var e;!u(zr(t.a),47).Ob();){if(t.d=jcn(t),!t.d)return!1;if(t.a=u(t.d.Pb(),47),_t(t.a,39)){if(e=u(t.a,39),t.a=e.a,!t.b&&(t.b=new F3),Up(t.b,t.d),e.b)for(;!PT(e.b);)Up(t.b,u(ren(e.b),47));t.d=e.d}}return!0}function a5t(t,e){var n,r,s,o,h;for(o=e==null?0:t.b.se(e),r=(n=t.a.get(o),n??new Array),h=0;h<r.length;h++)if(s=r[h],t.b.re(e,s.cd()))return r.length==1?(r.length=0,SQe(t.a,o)):r.splice(h,1),--t.c,c$(t.b),s.dd();return null}function o5t(t,e){var n,r,s,o;for(s=1,e.j=!0,o=null,r=new S(c4(e));r.a<r.c.c.length;)n=u(Q(r),213),t.c[n.c]||(t.c[n.c]=!0,o=Az(n,e),n.f?s+=o5t(t,o):!o.j&&n.a==n.e.e-n.d.e&&(n.f=!0,Ys(t.p,n),s+=o5t(t,o)));return s}function Bpn(t){var e,n,r;for(n=new S(t.a.a.b);n.a<n.c.c.length;)e=u(Q(n),81),r=(Pn(0),0),r>0&&(!(Bp(t.a.c)&&e.n.d)&&!(u8(t.a.c)&&e.n.b)&&(e.g.d+=b.Math.max(0,r/2-.5)),!(Bp(t.a.c)&&e.n.a)&&!(u8(t.a.c)&&e.n.c)&&(e.g.a-=r-1))}function Woe(t){var e,n,r,s,o;if(s=new ge,o=$ue(t,s),e=u(K(t,(oe(),ul)),10),e)for(r=new S(e.j);r.a<r.c.c.length;)n=u(Q(r),11),Ut(K(n,Bi))===Ut(t)&&(o=b.Math.max(o,$ue(n,s)));return s.c.length==0||ne(t,K4,o),o!=-1?s:null}function Koe(t,e,n){var r,s,o,h,d,w;o=u(Fe(e.e,0),17).c,r=o.i,s=r.k,w=u(Fe(n.g,0),17).d,h=w.i,d=h.k,s==(Yn(),ha)?ne(t,(oe(),o1),u(K(r,o1),11)):ne(t,(oe(),o1),o),d==ha?ne(t,(oe(),Uh),u(K(h,Uh),11)):ne(t,(oe(),Uh),w)}function Yoe(t,e){var n,r,s,o;for(o=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),n=o&t.b.length-1,s=null,r=t.b[n];r;s=r,r=r.a)if(r.d==o&&md(r.i,e))return s?s.a=r.a:t.b[n]=r.a,qqt(r.c,r.f),hM(r.b,r.e),--t.f,++t.e,!0;return!1}function c5t(t,e){var n,r,s,o,h;return e&=63,n=t.h,r=(n&PI)!=0,r&&(n|=-1048576),e<22?(h=n>>e,o=t.m>>e|n<<22-e,s=t.l>>e|t.m<<22-e):e<44?(h=r?Y0:0,o=n>>e-22,s=t.m>>e-22|n<<44-e):(h=r?Y0:0,o=r?yl:0,s=n>>e-44),hu(s&yl,o&yl,h&Y0)}function Gst(t){var e,n,r,s,o,h;for(this.c=new ge,this.d=t,r=ms,s=ms,e=Rs,n=Rs,h=gi(t,0);h.b!=h.d.c;)o=u(di(h),8),r=b.Math.min(r,o.a),s=b.Math.min(s,o.b),e=b.Math.max(e,o.a),n=b.Math.max(n,o.b);this.a=new fh(r,s,e-r,n-s)}function Xoe(t,e){var n,r,s,o,h,d;for(o=new S(t.b);o.a<o.c.c.length;)for(s=u(Q(o),29),d=new S(s.a);d.a<d.c.c.length;)for(h=u(Q(d),10),h.k==(Yn(),Bl)&&ux(h,e),r=new pr(xr(Gs(h).a.Kc(),new H));ti(r);)n=u(qr(r),17),One(n,e)}function u5t(t){var e,n,r;this.c=t,r=u(K(t,(Te(),Jl)),103),e=Zt(ke(K(t,KV))),n=Zt(ke(K(t,f_t))),r==(ko(),Wh)||r==Lf||r==f0?this.b=e*n:this.b=1/(e*n),this.j=Zt(ke(K(t,J4))),this.e=Zt(ke(K(t,Fw))),this.f=t.b.c.length}function Rpn(t){var e,n;for(t.e=Pt(Fr,ui,25,t.p.c.length,15,1),t.k=Pt(Fr,ui,25,t.p.c.length,15,1),n=new S(t.p);n.a<n.c.c.length;)e=u(Q(n),10),t.e[e.p]=F0(new pr(xr(Jo(e).a.Kc(),new H))),t.k[e.p]=F0(new pr(xr(Gs(e).a.Kc(),new H)))}function jpn(t){var e,n,r,s,o,h;for(s=0,t.q=new ge,e=new na,h=new S(t.p);h.a<h.c.c.length;){for(o=u(Q(h),10),o.p=s,r=new pr(xr(Gs(o).a.Kc(),new H));ti(r);)n=u(qr(r),17),Ys(e,n.d.i);e.a.Bc(o)!=null,de(t.q,new y_(e)),e.a.$b(),++s}}function lw(){lw=X,nCt=new Lv(20),eye=new bo((Ei(),Vb),nCt),iCt=new bo(Gb,20),Xme=new bo(zx,R7),_G=new bo(HG,ve(1)),rye=new bo(dft,(Rn(),!0)),tCt=YO,Zme=Hb,Jme=o5,tye=x2,Qme=a5,eCt=ZO,nye=Ky,iye=(uyt(),Yme),rCt=Kme}function Qoe(t,e){var n,r,s,o,h,d,w,k,_;if(t.a.f>0&&_t(e,42)&&(t.a.qj(),k=u(e,42),w=k.cd(),o=w==null?0:es(w),h=Wbt(t.a,o),n=t.a.d[h],n)){for(r=u(n.g,367),_=n.i,d=0;d<_;++d)if(s=r[d],s.Sh()==o&&s.Fb(k))return Qoe(t,k),!0}return!1}function $pn(t){var e,n,r,s;for(s=u(ji(t.a,(p4(),IV)),15).Kc();s.Ob();)r=u(s.Pb(),101),n=(e=F6(r.k),e.Hc((ye(),Nn))?e.Hc(Wn)?e.Hc(Ir)?e.Hc(jn)?null:Q2e:J2e:Z2e:X2e),m8(t,r,n[0],(Zv(),Cw),0),m8(t,r,n[1],p2,1),m8(t,r,n[2],Sw,1)}function zpn(t,e){var n,r;n=pwn(e),dvn(t,e,n),nae(t.a,u(K(Za(e.b),(oe(),Px)),230)),$wn(t),gdn(t,e),r=Pt(Fr,ui,25,e.b.j.c.length,15,1),Sat(t,e,(ye(),Nn),r,n),Sat(t,e,Wn,r,n),Sat(t,e,Ir,r,n),Sat(t,e,jn,r,n),t.a=null,t.c=null,t.b=null}function l5t(){l5t=X,OCt=(Cz(),$ht),Rye=new vn(Vkt,OCt),Fye=new vn(Gkt,(Rn(),!0)),ve(-1),Oye=new vn(Ukt,ve(-1)),ve(-1),Pye=new vn(Wkt,ve(-1)),Bye=new vn(Kkt,!1),jye=new vn(Ykt,!0),Nye=new vn(_ct,!1),$ye=new vn(Xkt,-1)}function h5t(t,e,n){switch(e){case 7:!t.e&&(t.e=new Tn(aa,t,7,4)),Pr(t.e),!t.e&&(t.e=new Tn(aa,t,7,4)),vs(t.e,u(n,14));return;case 8:!t.d&&(t.d=new Tn(aa,t,8,5)),Pr(t.d),!t.d&&(t.d=new Tn(aa,t,8,5)),vs(t.d,u(n,14));return}c4t(t,e,n)}function f5t(t,e){var n,r,s,o,h;if(Ut(e)===Ut(t))return!0;if(!_t(e,15)||(h=u(e,15),t.gc()!=h.gc()))return!1;for(o=h.Kc(),r=t.Kc();r.Ob();)if(n=r.Pb(),s=o.Pb(),!(Ut(n)===Ut(s)||n!=null&&Pi(n,s)))return!1;return!0}function qpn(t,e){var n,r,s,o;for(o=u(Hl(oc(oc(new En(null,new _n(e.b,16)),new _L),new eF),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),o.Jc(new CL),n=0,s=o.Kc();s.Ob();)r=u(s.Pb(),11),r.p==-1&&g5t(t,r,n++)}function Zoe(t){switch(t.g){case 0:return new pT;case 1:return new KJ;case 2:return new WJ;case 3:return new kGt;case 4:return new uYt;default:throw et(new Bn("No implementation is available for the node placer "+(t.f!=null?t.f:""+t.g)))}}function Joe(t){switch(t.g){case 0:return new Gvt;case 1:return new YJ;case 2:return new zJ;case 3:return new qJ;case 4:return new TGt;default:throw et(new Bn("No implementation is available for the cycle breaker "+(t.f!=null?t.f:""+t.g)))}}function d5t(){d5t=X,mye=new vn(Rkt,ve(0)),yye=new vn(jkt,0),pCt=(zD(),SG),vye=new vn(kct,pCt),ve(0),bye=new vn(Ect,ve(1)),vCt=(lz(),jht),xye=new vn($kt,vCt),wCt=(F$(),Nht),kye=new vn(zkt,wCt),bCt=(Uz(),Rht),wye=new vn(qkt,bCt)}function Hpn(t,e,n){var r;r=null,e&&(r=e.d),lC(t,new o8(e.n.a-r.b+n.a,e.n.b-r.d+n.b)),lC(t,new o8(e.n.a-r.b+n.a,e.n.b+e.o.b+r.a+n.b)),lC(t,new o8(e.n.a+e.o.a+r.c+n.a,e.n.b-r.d+n.b)),lC(t,new o8(e.n.a+e.o.a+r.c+n.a,e.n.b+e.o.b+r.a+n.b))}function g5t(t,e,n){var r,s,o;for(e.p=n,o=zp(B1(ct(ot(G1,1),De,20,0,[new ca(e),new Nr(e)])));ti(o);)r=u(qr(o),11),r.p==-1&&g5t(t,r,n);if(e.i.k==(Yn(),ha))for(s=new S(e.i.j);s.a<s.c.c.length;)r=u(Q(s),11),r!=e&&r.p==-1&&g5t(t,r,n)}function tce(t){var e,n,r,s,o;if(s=u(Hl(prn(LQt(t)),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),r=B7,s.gc()>=2)for(n=s.Kc(),e=ke(n.Pb());n.Ob();)o=e,e=ke(n.Pb()),r=b.Math.min(r,(Pn(e),e-(Pn(o),o)));return r}function Vpn(t,e){var n,r,s,o,h;r=new hs,Cs(r,e,r.c.b,r.c);do for(n=(sr(r.b!=0),u(bh(r,r.a.a),86)),t.b[n.g]=1,o=gi(n.d,0);o.b!=o.d.c;)s=u(di(o),188),h=s.c,t.b[h.g]==1?pi(t.a,s):t.b[h.g]==2?t.b[h.g]=1:Cs(r,h,r.c.b,r.c);while(r.b!=0)}function Gpn(t,e){var n,r,s;if(Ut(e)===Ut(zr(t)))return!0;if(!_t(e,15)||(r=u(e,15),s=t.gc(),s!=r.gc()))return!1;if(_t(r,54)){for(n=0;n<s;n++)if(!md(t.Xb(n),r.Xb(n)))return!1;return!0}else return Jhn(t.Kc(),r.Kc())}function ece(t,e){var n,r;if(t.c.length!=0){if(t.c.length==2)ux((An(0,t.c.length),u(t.c[0],10)),(Wl(),d0)),ux((An(1,t.c.length),u(t.c[1],10)),k2);else for(r=new S(t);r.a<r.c.c.length;)n=u(Q(r),10),ux(n,e);t.c=Pt(ir,De,1,0,5,1)}}function Upn(t){var e,n;if(t.c.length!=2)throw et(new Xo("Order only allowed for two paths."));e=(An(0,t.c.length),u(t.c[0],17)),n=(An(1,t.c.length),u(t.c[1],17)),e.d.i!=n.c.i&&(t.c=Pt(ir,De,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function Wpn(t,e){var n,r,s,o,h,d;for(r=new ib,h=_$(new Al(t.g)),o=h.a.ec().Kc();o.Ob();){if(s=u(o.Pb(),10),!s){Q2(e,"There are no classes in a balanced layout.");break}d=t.j[s.p],n=u(Uv(r,d),15),n||(n=new ge,vb(r,d,n)),n.Fc(s)}return r}function Kpn(t,e,n){var r,s,o,h,d,w,k;if(n)for(o=n.a.length,r=new J2(o),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),w=S8(n,h.a),w&&(k=non(N0(w,Hct),e),Ni(t.f,k,w),s=Id in w.a,s&&q_(k,N0(w,Id)),eq(w,k),G4t(w,k))}function Ypn(t,e){var n,r,s,o,h;for(Dr(e,"Port side processing",1),h=new S(t.a);h.a<h.c.c.length;)s=u(Q(h),10),lle(s);for(r=new S(t.b);r.a<r.c.c.length;)for(n=u(Q(r),29),o=new S(n.a);o.a<o.c.c.length;)s=u(Q(o),10),lle(s);br(e)}function nce(t,e,n){var r,s,o,h,d;if(s=t.f,!s&&(s=u(t.a.a.ec().Kc().Pb(),57)),cC(s,e,n),t.a.a.gc()!=1)for(r=e*n,h=t.a.a.ec().Kc();h.Ob();)o=u(h.Pb(),57),o!=s&&(d=V6(o),d.f.d?(o.d.d+=r+H1,o.d.a-=r+H1):d.f.a&&(o.d.a-=r+H1))}function Ust(t,e,n,r,s){var o,h,d,w,k,_,M,B,q;return h=n-t,d=r-e,o=b.Math.atan2(h,d),w=o+Mot,k=o-Mot,_=s*b.Math.sin(w)+t,B=s*b.Math.cos(w)+e,M=s*b.Math.sin(k)+t,q=s*b.Math.cos(k)+e,P1(ct(ot(sa,1),re,8,0,[new $e(_,B),new $e(M,q)]))}function Xpn(t,e,n,r){var s,o,h,d,w,k,_,M;s=n,_=e,o=_;do o=t.a[o.p],d=(M=t.g[o.p],Zt(t.p[M.p])+Zt(t.d[o.p])-o.d.d),w=lon(o,r),w&&(h=(k=t.g[w.p],Zt(t.p[k.p])+Zt(t.d[w.p])+w.o.b+w.d.a),s=b.Math.min(s,d-(h+U3(t.k,o,w))));while(_!=o);return s}function Qpn(t,e,n,r){var s,o,h,d,w,k,_,M;s=n,_=e,o=_;do o=t.a[o.p],h=(M=t.g[o.p],Zt(t.p[M.p])+Zt(t.d[o.p])+o.o.b+o.d.a),w=xcn(o,r),w&&(d=(k=t.g[w.p],Zt(t.p[k.p])+Zt(t.d[w.p])-w.d.d),s=b.Math.min(s,d-(h+U3(t.k,o,w))));while(_!=o);return s}function He(t,e){var n,r;return r=(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),t1(t.o,e)),r??(n=e.wg(),_t(n,4)&&(n==null?(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Oz(t.o,e)):(!t.o&&(t.o=new Pl((ou(),S2),jw,t,0)),Qz(t.o,e,n))),n)}function fy(){fy=X,Mf=new z3("H_LEFT",0),eg=new z3("H_CENTER",1),Df=new z3("H_RIGHT",2),Of=new z3("V_TOP",3),g0=new z3("V_CENTER",4),Yh=new z3("V_BOTTOM",5),th=new z3("INSIDE",6),If=new z3("OUTSIDE",7),Kh=new z3("H_PRIORITY",8)}function Zpn(t){var e,n,r,s,o,h,d;if(e=t.Hh(Hh),e&&(d=Yr(t1((!e.b&&(e.b=new Ml((hn(),lo),xc,e)),e.b),"settingDelegates")),d!=null)){for(n=new ge,s=py(d,"\\w+"),o=0,h=s.length;o<h;++o)r=s[o],n.c[n.c.length]=r;return n}return pn(),pn(),mo}function Jpn(t,e){var n,r,s,o,h,d,w;if(!e.f)throw et(new Bn("The input edge is not a tree edge."));for(o=null,s=Di,r=new S(t.d);r.a<r.c.c.length;)n=u(Q(r),213),d=n.d,w=n.e,$st(t,d,e)&&!$st(t,w,e)&&(h=w.e-d.e-n.a,h<s&&(s=h,o=n));return o}function t2n(t){var e,n,r,s,o,h;if(!(t.f.e.c.length<=1)){e=0,s=Voe(t),n=ms;do{for(e>0&&(s=n),h=new S(t.f.e);h.a<h.c.c.length;)o=u(Q(h),144),!je(Be(K(o,(nI(),v9t))))&&(r=umn(t,o),$i(Yf(o.d),r));n=Voe(t)}while(!Ten(t,e++,s,n))}}function e2n(t,e){var n,r,s;for(Dr(e,"Layer constraint preprocessing",1),n=new ge,s=new Sa(t.a,0);s.b<s.d.gc();)r=(sr(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),10)),Tcn(r)&&(_dn(r),n.c[n.c.length]=r,Ol(s));n.c.length==0||ne(t,(oe(),Plt),n),br(e)}function n2n(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new S(t.d);r.a<r.c.c.length;)n=u(Q(r),70),s=n.n,t.a==(R1(),s9)||t.i==(ye(),Wn)?s.a=o:t.a==a9||t.i==(ye(),jn)?s.a=o+t.j.a-n.o.a:s.a=o+(t.j.a-n.o.a)/2,s.b=h,$i(s,e),h+=n.o.b+t.e}function r2n(t,e,n){var r,s,o,h;for(Dr(n,"Processor set coordinates",1),t.a=e.b.b==0?1:e.b.b,o=null,r=gi(e.b,0);!o&&r.b!=r.d.c;)h=u(di(r),86),je(Be(K(h,(Sc(),Wy))))&&(o=h,s=h.e,s.a=u(K(h,Lht),19).a,s.b=0);Sae(t,dyt(o),Kc(n,1)),br(n)}function i2n(t,e,n){var r,s,o;for(Dr(n,"Processor determine the height for each level",1),t.a=e.b.b==0?1:e.b.b,s=null,r=gi(e.b,0);!s&&r.b!=r.d.c;)o=u(di(r),86),je(Be(K(o,(Sc(),Wy))))&&(s=o);s&&Vce(t,P1(ct(ot(h6n,1),ext,86,0,[s])),n),br(n)}function s2n(t,e){var n,r,s,o,h,d,w,k,_,M;k=t,w=N_(k,"individualSpacings"),w&&(r=sb(e,(Ei(),Hx)),h=!r,h&&(s=new il,Do(e,Hx,s)),d=u(He(e,Hx),373),M=w,o=null,M&&(o=(_=uit(M,Pt(Le,re,2,0,6,1)),new fet(M,_))),o&&(n=new vGt(M,d),Pa(o,n)))}function a2n(t,e){var n,r,s,o,h,d,w,k,_,M,B;return w=null,M=t,_=null,(Tde in M.a||_de in M.a||yH in M.a)&&(k=null,B=pyt(e),h=N_(M,Tde),n=new J$t(B),Iln(n.a,h),d=N_(M,_de),r=new uzt(B),Dln(r.a,d),o=Gv(M,yH),s=new fzt(B),k=(udn(s.a,o),o),_=k),w=_,w}function o2n(t,e){var n,r,s;if(e===t)return!0;if(_t(e,543)){if(s=u(e,835),t.a.d!=s.a.d||X3(t).gc()!=X3(s).gc())return!1;for(r=X3(s).Kc();r.Ob();)if(n=u(r.Pb(),416),AQt(t,n.a.cd())!=u(n.a.dd(),14).gc())return!1;return!0}return!1}function c2n(t){var e,n,r,s;return r=u(t.a,19).a,s=u(t.b,19).a,e=r,n=s,r==0&&s==0?n-=1:r==-1&&s<=0?(e=0,n-=2):r<=0&&s>0?(e-=1,n-=1):r>=0&&s<0?(e+=1,n+=1):r>0&&s>=0?(e-=1,n+=1):(e+=1,n-=1),new Ca(ve(e),ve(n))}function u2n(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?es(t.a)-es(e.a):t.d==(B_(),PS)&&e.d==OS?-1:t.d==OS&&e.d==PS?1:0}function rce(t,e){var n,r,s,o,h;return o=e.a,o.c.i==e.b?h=o.d:h=o.c,o.c.i==e.b?r=o.c:r=o.d,s=Bln(t.a,h,r),s>0&&s<B7?(n=Xpn(t.a,r.i,s,t.c),dee(t.a,r.i,-n),n>0):s<0&&-s<B7?(n=Qpn(t.a,r.i,-s,t.c),dee(t.a,r.i,n),n>0):!1}function l2n(t,e,n,r){var s,o,h,d,w,k,_,M;for(s=(e-t.d)/t.c.c.length,o=0,t.a+=n,t.d=e,M=new S(t.c);M.a<M.c.c.length;)_=u(Q(M),33),k=_.g,w=_.f,Du(_,_.i+o*s),Iu(_,_.j+r*n),Xv(_,_.g+s),Yv(_,t.a),++o,d=_.g,h=_.f,Qae(_,new $e(d,h),new $e(k,w))}function h2n(t){var e,n,r,s,o,h,d;if(t==null)return null;for(d=t.length,s=(d+1)/2|0,h=Pt(tl,N4,25,s,15,1),d%2!=0&&(h[--s]=N5t((Xr(d-1,t.length),t.charCodeAt(d-1)))),n=0,r=0;n<s;++n)e=N5t(Oa(t,r++)),o=N5t(Oa(t,r++)),h[n]=(e<<4|o)<<24>>24;return h}function f2n(t){if(t.pe()){var e=t.c;e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",t.k=e.oe()+"[]";return}var n=t.j,r=t.d;r=r.split("/"),t.o=Yit(".",[n,Yit("$",r)]),t.b=Yit(".",[n,Yit(".",r)]),t.k=r[r.length-1]}function d2n(t,e){var n,r,s,o,h;for(h=null,o=new S(t.e.a);o.a<o.c.c.length;)if(s=u(Q(o),121),s.b.a.c.length==s.g.a.c.length){for(r=s.e,h=X0n(s),n=s.e-u(h.a,19).a+1;n<s.e+u(h.b,19).a;n++)e[n]<e[r]&&(r=n);e[r]<e[s.e]&&(--e[s.e],++e[r],s.e=r)}}function Wst(t){var e,n,r,s,o,h,d,w;for(s=ms,r=Rs,n=new S(t.e.b);n.a<n.c.c.length;)for(e=u(Q(n),29),h=new S(e.a);h.a<h.c.c.length;)o=u(Q(h),10),w=Zt(t.p[o.p]),d=w+Zt(t.b[t.g[o.p].p]),s=b.Math.min(s,w),r=b.Math.max(r,d);return r-s}function p5t(t,e,n,r){var s,o,h,d,w;for(s=q5t(t,e),d=0,w=s.gc();d<w;++d)if(o=u(s.Xb(d),170),ln(r,E8(Ro(t,o)))){if(h=eD(Ro(t,o)),n==null){if(h==null)return o}else if(ln(n,h))return o}return null}function b5t(t,e,n,r){var s,o,h,d,w;for(s=oat(t,e),d=0,w=s.gc();d<w;++d)if(o=u(s.Xb(d),170),ln(r,E8(Ro(t,o)))){if(h=eD(Ro(t,o)),n==null){if(h==null)return o}else if(ln(n,h))return o}return null}function g2n(t,e,n){var r,s,o,h,d,w;if(h=new e6,d=gu(t.e.Tg(),e),r=u(t.g,119),po(),u(e,66).Oj())for(o=0;o<t.i;++o)s=r[o],d.rl(s.ak())&&Hr(h,s);else for(o=0;o<t.i;++o)s=r[o],d.rl(s.ak())&&(w=s.dd(),Hr(h,n?dC(t,e,o,h.i,w):w));return Xwt(h)}function p2n(t,e){var n,r,s,o,h;for(n=new eC(u9),s=(sx(),ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4])),o=0,h=s.length;o<h;++o)r=s[o],Ybt(n,r,new ge);return Ts(Cu(Xi(oc(new En(null,new _n(t.b,16)),new iF),new sF),new Eg(e)),new fd(n)),n}function oq(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(o=e.Kc();o.Ob();)s=u(o.Pb(),33),_=s.i+s.g/2,B=s.j+s.f/2,w=t.f,h=w.i+w.g/2,d=w.j+w.f/2,k=_-h,M=B-d,r=b.Math.sqrt(k*k+M*M),k*=t.e/r,M*=t.e/r,n?(_-=k,B-=M):(_+=k,B+=M),Du(s,_-s.g/2),Iu(s,B-s.f/2)}function v4(t){var e,n,r;if(!t.c&&t.b!=null){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(r=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=r,r=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=r);t.c=!0}}function ice(t,e){var n,r,s,o,h,d,w,k;for(h=e==1?Qut:Xut,o=h.a.ec().Kc();o.Ob();)for(s=u(o.Pb(),103),w=u(ji(t.f.c,s),21).Kc();w.Ob();)switch(d=u(w.Pb(),46),r=u(d.b,81),k=u(d.a,189),n=k.c,s.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function b2n(t,e){var n,r,s,o,h,d,w,k,_;for(k=-1,_=0,h=t,d=0,w=h.length;d<w;++d){for(o=h[d],n=new SKt(k==-1?t[0]:t[k],e,(Y_(),hG)),r=0;r<o.length;r++)for(s=r+1;s<o.length;s++)ia(o[r],(oe(),Bc))&&ia(o[s],Bc)&&_he(n,o[r],o[s])>0&&++_;++k}return _}function Ef(t){var e,n;return n=new jl(Ip(t.gm)),n.a+="@",ii(n,(e=es(t)>>>0,e.toString(16))),t.kh()?(n.a+=" (eProxyURI: ",Cc(n,t.qh()),t.$g()&&(n.a+=" eClass: ",Cc(n,t.$g())),n.a+=")"):t.$g()&&(n.a+=" (eClass: ",Cc(n,t.$g()),n.a+=")"),n.a}function pC(t){var e,n,r,s;if(t.e)throw et(new Xo((D0(Mut),bot+Mut.k+vot)));for(t.d==(ko(),f0)&&Aq(t,Wh),n=new S(t.a.a);n.a<n.c.c.length;)e=u(Q(n),307),e.g=e.i;for(s=new S(t.a.b);s.a<s.c.c.length;)r=u(Q(s),57),r.i=Rs;return t.b.Le(t),t}function v2n(t,e){var n,r,s,o,h;if(e<2*t.b)throw et(new Bn("The knot vector must have at least two time the dimension elements."));for(t.f=1,s=0;s<t.b;s++)de(t.e,0);for(h=e+1-2*t.b,n=h,o=1;o<h;o++)de(t.e,o/n);if(t.d)for(r=0;r<t.b;r++)de(t.e,1)}function sce(t,e){var n,r,s,o,h,d,w,k,_;if(k=e,_=u(nz(Knt(t.i),k),33),!_)throw s=N0(k,Id),d="Unable to find elk node for json object '"+s,w=d+"' Panic!",et(new dd(w));o=Gv(k,"edges"),n=new uGt(t,_),Jgn(n.a,n.b,o),h=Gv(k,Vct),r=new G$t(t),h1n(r.a,h)}function ace(t,e,n,r){var s,o,h,d,w;if(r!=null){if(s=t.d[e],s){for(o=s.g,w=s.i,d=0;d<w;++d)if(h=u(o[d],133),h.Sh()==n&&Pi(r,h.cd()))return d}}else if(s=t.d[e],s){for(o=s.g,w=s.i,d=0;d<w;++d)if(h=u(o[d],133),Ut(h.cd())===Ut(r))return d}return-1}function m7(t,e){var n,r,s;return n=e==null?gc(Ho(t.f,null)):UT(t.g,e),_t(n,235)?(s=u(n,235),s.Qh()==null,s):_t(n,498)?(r=u(n,1938),s=r.a,s&&(s.yb==null||(e==null?du(t.f,null,s):ew(t.g,e,s))),s):null}function w2n(t){I5t();var e,n,r,s,o,h,d;if(t==null||(s=t.length,s%2!=0))return null;for(e=$$(t),o=s/2|0,n=Pt(tl,N4,25,o,15,1),r=0;r<o;r++){if(h=lA[e[r*2]],h==-1||(d=lA[e[r*2+1]],d==-1))return null;n[r]=(h<<4|d)<<24>>24}return n}function m2n(t,e,n){var r,s,o;if(s=u(Lo(t.i,e),306),!s)if(s=new see(t.d,e,n),N6(t.i,e,s),T3t(e))NXe(t.a,e.c,e.b,s);else switch(o=agn(e),r=u(Lo(t.p,o),244),o.g){case 1:case 3:s.j=!0,Jtt(r,e.b,s);break;case 4:case 2:s.k=!0,Jtt(r,e.c,s)}return s}function y2n(t,e,n,r){var s,o,h,d,w,k;if(d=new e6,w=gu(t.e.Tg(),e),s=u(t.g,119),po(),u(e,66).Oj())for(h=0;h<t.i;++h)o=s[h],w.rl(o.ak())&&Hr(d,o);else for(h=0;h<t.i;++h)o=s[h],w.rl(o.ak())&&(k=o.dd(),Hr(d,r?dC(t,e,h,d.i,k):k));return b3t(d,n)}function oce(t,e){var n,r,s,o,h,d,w,k;if(s=t.b[e.p],s>=0)return s;for(o=1,d=new S(e.j);d.a<d.c.c.length;)for(h=u(Q(d),11),r=new S(h.g);r.a<r.c.c.length;)n=u(Q(r),17),k=n.d.i,e!=k&&(w=oce(t,k),o=b.Math.max(o,w+1));return yln(t,e,o),o}function cce(t,e,n){var r,s,o;for(r=1;r<t.c.length;r++){for(o=(An(r,t.c.length),u(t.c[r],10)),s=r;s>0&&e.ue((An(s-1,t.c.length),u(t.c[s-1],10)),o)>0;)gh(t,s,(An(s-1,t.c.length),u(t.c[s-1],10))),--s;An(s,t.c.length),t.c[s]=o}n.a=new Br,n.b=new Br}function x2n(t,e,n){var r,s,o,h,d,w,k,_;for(_=(r=u(e.e&&e.e(),9),new hh(r,u(bf(r,r.length),9),0)),w=py(n,"[\\[\\]\\s,]+"),o=w,h=0,d=o.length;h<d;++h)if(s=o[h],uy(s).length!=0){if(k=xoe(t,s),k==null)return null;kf(_,u(k,22))}return _}function k2n(t){var e,n,r;for(n=new S(t.a.a.b);n.a<n.c.c.length;)e=u(Q(n),81),r=(Pn(0),0),r>0&&(!(Bp(t.a.c)&&e.n.d)&&!(u8(t.a.c)&&e.n.b)&&(e.g.d-=b.Math.max(0,r/2-.5)),!(Bp(t.a.c)&&e.n.a)&&!(u8(t.a.c)&&e.n.c)&&(e.g.a+=b.Math.max(0,r-1)))}function uce(t,e,n){var r,s;if((t.c-t.b&t.a.length-1)==2)e==(ye(),Nn)||e==Wn?(W$(u(K_(t),15),(Wl(),d0)),W$(u(K_(t),15),k2)):(W$(u(K_(t),15),(Wl(),k2)),W$(u(K_(t),15),d0));else for(s=new M_(t);s.a!=s.b;)r=u(xz(s),15),W$(r,n)}function E2n(t,e){var n,r,s,o,h,d,w;for(s=g8(new gpt(t)),d=new Sa(s,s.c.length),o=g8(new gpt(e)),w=new Sa(o,o.c.length),h=null;d.b>0&&w.b>0&&(n=(sr(d.b>0),u(d.a.Xb(d.c=--d.b),33)),r=(sr(w.b>0),u(w.a.Xb(w.c=--w.b),33)),n==r);)h=n;return h}function wl(t,e){var n,r,s,o,h,d;return o=t.a*fot+t.b*1502,d=t.b*fot+11,n=b.Math.floor(d*RI),o+=n,d-=n*N6t,o%=N6t,t.a=o,t.b=d,e<=24?b.Math.floor(t.a*x7t[e]):(s=t.a*(1<<e-24),h=b.Math.floor(t.b*k7t[e]),r=s+h,r>=2147483648&&(r-=cot),r)}function lce(t,e,n){var r,s,o,h;PQt(t,e)>PQt(t,n)?(r=uc(n,(ye(),Wn)),t.d=r.dc()?0:_nt(u(r.Xb(0),11)),h=uc(e,jn),t.b=h.dc()?0:_nt(u(h.Xb(0),11))):(s=uc(n,(ye(),jn)),t.d=s.dc()?0:_nt(u(s.Xb(0),11)),o=uc(e,Wn),t.b=o.dc()?0:_nt(u(o.Xb(0),11)))}function hce(t){var e,n,r,s,o,h,d;if(t&&(e=t.Hh(Hh),e&&(h=Yr(t1((!e.b&&(e.b=new Ml((hn(),lo),xc,e)),e.b),"conversionDelegates")),h!=null))){for(d=new ge,r=py(h,"\\w+"),s=0,o=r.length;s<o;++s)n=r[s],d.c[d.c.length]=n;return d}return pn(),pn(),mo}function fce(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(ji(t.r,e),21),84).Kc();o.Ob();)s=u(o.Pb(),111),s.e.a=n*Zt(ke(s.b.We(tV))),s.e.b=(r=s.b,r.Xe((Ei(),kl))?r.Hf()==(ye(),Nn)?-r.rf().b-Zt(ke(r.We(kl))):Zt(ke(r.We(kl))):r.Hf()==(ye(),Nn)?-r.rf().b:0)}function T2n(t){var e,n,r,s,o,h,d,w;e=!0,s=null,o=null;t:for(w=new S(t.a);w.a<w.c.c.length;)for(d=u(Q(w),10),r=new pr(xr(Jo(d).a.Kc(),new H));ti(r);){if(n=u(qr(r),17),s&&s!=d){e=!1;break t}if(s=d,h=n.c.i,o&&o!=h){e=!1;break t}o=h}return e}function _2n(t,e,n){var r,s,o,h,d,w;for(o=-1,d=-1,h=0;h<e.c.length&&(s=(An(h,e.c.length),u(e.c[h],329)),!(s.c>t.c));h++)s.a>=t.s&&(o<0&&(o=h),d=h);return w=(t.s+t.c)/2,o>=0&&(r=awn(t,e,o,d),w=pYe((An(r,e.c.length),u(e.c[r],329))),bpn(e,r,n)),w}function Kst(){Kst=X,zye=new bo((Ei(),zx),1.3),NCt=NSt,qCt=new Lv(15),Kye=new bo(Vb,qCt),Xye=new bo(Gb,15),qye=jG,Gye=Hb,Uye=o5,Wye=x2,Vye=a5,jCt=ZO,Yye=Ky,zCt=(l5t(),Rye),RCt=Fye,$Ct=Bye,HCt=jye,FCt=Nye,BCt=$G,Hye=BSt,zO=Pye,PCt=Oye,VCt=$ye}function Vr(t,e,n){var r,s,o,h,d,w,k;for(h=(o=new eB,o),Qmt(h,(Pn(e),e)),k=(!h.b&&(h.b=new Ml((hn(),lo),xc,h)),h.b),w=1;w<n.length;w+=2)Qz(k,n[w-1],n[w]);for(r=(!t.Ab&&(t.Ab=new pe(hi,t,0,3)),t.Ab),d=0;d<0;++d)s=Len(u(At(r,r.i-1),590)),r=s;Hr(r,h)}function dce(t,e,n){var r,s,o;for(vQe.call(this,new ge),this.a=e,this.b=n,this.e=t,r=(t.b&&bat(t),t.a),this.d=mXt(r.a,this.a),this.c=mXt(r.b,this.b),tln(this,this.d,this.c),Ugn(this),o=this.e.e.a.ec().Kc();o.Ob();)s=u(o.Pb(),266),s.c.c.length>0&&Jyn(this,s)}function v5t(t,e,n,r,s,o){var h,d,w;if(!s[e.b]){for(s[e.b]=!0,h=r,!h&&(h=new A$),de(h.e,e),w=o[e.b].Kc();w.Ob();)d=u(w.Pb(),282),!(d.d==n||d.c==n)&&(d.c!=e&&v5t(t,d.c,e,h,s,o),d.d!=e&&v5t(t,d.d,e,h,s,o),de(h.c,d),Hs(h.d,d.b));return h}return null}function C2n(t){var e,n,r,s,o,h,d;for(e=0,s=new S(t.e);s.a<s.c.c.length;)r=u(Q(s),17),n=L8(new En(null,new _n(r.b,16)),new wY),n&&++e;for(h=new S(t.g);h.a<h.c.c.length;)o=u(Q(h),17),d=L8(new En(null,new _n(o.b,16)),new mY),d&&++e;return e>=2}function S2n(t,e){var n,r,s,o;for(Dr(e,"Self-Loop pre-processing",1),r=new S(t.a);r.a<r.c.c.length;)n=u(Q(r),10),uln(n)&&(s=(o=new Lie(n),ne(n,(oe(),g9),o),Gwn(o),o),Ts(Cu(oc(new En(null,new _n(s.d,16)),new pF),new tX),new eX),$bn(s));br(e)}function A2n(t,e,n,r,s){var o,h,d,w,k,_;for(o=t.c.d.j,h=u(n1(n,0),8),_=1;_<n.b;_++)k=u(n1(n,_),8),Cs(r,h,r.c.b,r.c),d=bd($i(new No(h),k),.5),w=bd(new brt(Ayt(o)),s),$i(d,w),Cs(r,d,r.c.b,r.c),h=k,o=e==0?Tz(o):Qyt(o);pi(r,(sr(n.b!=0),u(n.c.b.c,8)))}function L2n(t){fy();var e,n,r;return n=Qi(th,ct(ot(Co,1),ue,93,0,[If])),!(DD(d$(n,t))>1||(e=Qi(Mf,ct(ot(Co,1),ue,93,0,[eg,Df])),DD(d$(e,t))>1)||(r=Qi(Of,ct(ot(Co,1),ue,93,0,[g0,Yh])),DD(d$(r,t))>1))}function M2n(t,e){var n,r,s;return n=e.Hh(t.a),n&&(s=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),"affiliation")),s!=null)?(r=pj(s,Pu(35)),r==-1?Nit(t,k_(t,Vl(e.Hj())),s):r==0?Nit(t,null,s.substr(1)):Nit(t,s.substr(0,r),s.substr(r+1))):null}function D2n(t){var e,n,r;try{return t==null?Nu:tc(t)}catch(s){if(s=as(s),_t(s,102))return e=s,r=Ip(bl(t))+"@"+(n=(Ud(),M3t(t)>>>0),n.toString(16)),mhn(wcn(),(a8(),"Exception during lenientFormat for "+r),e),"<"+r+" threw "+Ip(e.gm)+">";throw et(s)}}function gce(t){switch(t.g){case 0:return new VJ;case 1:return new OB;case 2:return new bVt;case 3:return new NL;case 4:return new BWt;case 5:return new GJ;default:throw et(new Bn("No implementation is available for the layerer "+(t.f!=null?t.f:""+t.g)))}}function w5t(t,e,n){var r,s,o;for(o=new S(t.t);o.a<o.c.c.length;)r=u(Q(o),268),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&pi(e,r.b));for(s=new S(t.i);s.a<s.c.c.length;)r=u(Q(s),268),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&pi(n,r.a))}function cq(t){var e,n,r,s,o;if(t.g==null&&(t.d=t.si(t.f),Hr(t,t.d),t.c))return o=t.f,o;if(e=u(t.g[t.i-1],47),s=e.Pb(),t.e=e,n=t.si(s),n.Ob())t.d=n,Hr(t,n);else for(t.d=null;!e.Ob()&&(ds(t.g,--t.i,null),t.i!=0);)r=u(t.g[t.i-1],47),e=r;return s}function I2n(t,e){var n,r,s,o,h,d;if(r=e,s=r.ak(),W0(t.e,s)){if(s.hi()&&T$(t,s,r.dd()))return!1}else for(d=gu(t.e.Tg(),s),n=u(t.g,119),o=0;o<t.i;++o)if(h=n[o],d.rl(h.ak()))return Pi(h,r)?!1:(u(l4(t,o,e),72),!0);return Hr(t,e)}function O2n(t,e,n,r){var s,o,h,d;for(s=new G0(t),A0(s,(Yn(),Bl)),ne(s,(oe(),Bi),e),ne(s,SO,r),ne(s,(Te(),xs),(ka(),eu)),ne(s,o1,e.c),ne(s,Uh,e.d),$ce(e,s),d=b.Math.floor(n/2),h=new S(s.j);h.a<h.c.c.length;)o=u(Q(h),11),o.n.b=d;return s}function P2n(t,e){var n,r,s,o,h,d,w,k,_;for(w=Wd(t.c-t.b&t.a.length-1),k=null,_=null,o=new M_(t);o.a!=o.b;)s=u(xz(o),10),n=(d=u(K(s,(oe(),o1)),11),d?d.i:null),r=(h=u(K(s,Uh),11),h?h.i:null),(k!=n||_!=r)&&(ece(w,e),k=n,_=r),w.c[w.c.length]=s;ece(w,e)}function pce(t){var e,n,r,s,o,h,d;for(e=0,r=new S(t.a);r.a<r.c.c.length;)for(n=u(Q(r),10),o=new pr(xr(Gs(n).a.Kc(),new H));ti(o);)s=u(qr(o),17),t==s.d.i.c&&s.c.j==(ye(),jn)&&(h=I1(s.c).b,d=I1(s.d).b,e=b.Math.max(e,b.Math.abs(d-h)));return e}function N2n(t,e,n){var r,s,o;Dr(n,"Remove overlaps",1),n.n&&e&&wf(n,mf(e),(Nl(),rh)),r=u(He(e,(b_(),$S)),33),t.f=r,t.a=ist(u(He(e,(ay(),$O)),293)),s=ke(He(e,(Ei(),Gb))),kT(t,(Pn(s),s)),o=gy(r),she(t,e,o,n),n.n&&e&&wf(n,mf(e),(Nl(),rh))}function m5t(t,e,n){switch(n.g){case 1:return new $e(e.a,b.Math.min(t.d.b,e.b));case 2:return new $e(b.Math.max(t.c.a,e.a),e.b);case 3:return new $e(e.a,b.Math.max(t.c.b,e.b));case 4:return new $e(b.Math.min(e.a,t.d.a),e.b)}return new $e(e.a,e.b)}function F2n(t,e,n,r){var s,o,h,d,w,k,_,M,B;for(M=r?(ye(),jn):(ye(),Wn),s=!1,w=e[n],k=0,_=w.length;k<_;++k)d=w[k],!O6(u(K(d,(Te(),xs)),98))&&(h=d.e,B=!uc(d,M).dc()&&!!h,B&&(o=b4t(h),t.b=new v4t(o,r?0:o.length-1)),s=s|Pwn(t,d,M,B));return s}function pI(t){var e,n,r;for(e=Wd(1+(!t.c&&(t.c=new pe(El,t,9,9)),t.c).i),de(e,(!t.d&&(t.d=new Tn(aa,t,8,5)),t.d)),r=new hr((!t.c&&(t.c=new pe(El,t,9,9)),t.c));r.e!=r.i.gc();)n=u(Tr(r),118),de(e,(!n.d&&(n.d=new Tn(aa,n,8,5)),n.d));return zr(e),new u_(e)}function U0(t){var e,n,r;for(e=Wd(1+(!t.c&&(t.c=new pe(El,t,9,9)),t.c).i),de(e,(!t.e&&(t.e=new Tn(aa,t,7,4)),t.e)),r=new hr((!t.c&&(t.c=new pe(El,t,9,9)),t.c));r.e!=r.i.gc();)n=u(Tr(r),118),de(e,(!n.e&&(n.e=new Tn(aa,n,7,4)),n.e));return zr(e),new u_(e)}function B2n(t){var e,n,r,s;if(t==null)return null;if(r=Xc(t,!0),s=sO.length,ln(r.substr(r.length-s,s),sO)){if(n=r.length,n==4){if(e=(Xr(0,r.length),r.charCodeAt(0)),e==43)return gLt;if(e==45)return x5e}else if(n==3)return gLt}return ly(r)}function R2n(t){var e,n,r,s;for(e=0,n=0,s=new S(t.j);s.a<s.c.c.length;)if(r=u(Q(s),11),e=$r(Ka(e,AJt(Xi(new En(null,new _n(r.e,16)),new mQ)))),n=$r(Ka(n,AJt(Xi(new En(null,new _n(r.g,16)),new yQ)))),e>1||n>1)return 2;return e+n==1?2:0}function bce(t,e,n){var r,s,o,h,d;for(Dr(n,"ELK Force",1),je(Be(He(e,(r1(),l9t))))||h$((r=new fr((Dm(),new Sm(e))),r)),d=Une(e),r1n(d),Fcn(t,u(K(d,u9t),424)),h=sle(t.a,d),o=h.Kc();o.Ob();)s=u(o.Pb(),231),wwn(t.b,s,Kc(n,1/h.gc()));d=whe(h),phe(d),br(n)}function j2n(t,e){var n,r,s,o,h;if(Dr(e,"Breaking Point Processor",1),s4n(t),je(Be(K(t,(Te(),v_t))))){for(s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),n=0,h=new S(r.a);h.a<h.c.c.length;)o=u(Q(h),10),o.p=n++;oyn(t),jce(t,!0),jce(t,!1)}br(e)}function $2n(t,e,n){var r,s,o,h,d,w;for(d=t.c,h=(n.q?n.q:(pn(),pn(),l0)).vc().Kc();h.Ob();)o=u(h.Pb(),42),r=!jT(Xi(new En(null,new _n(d,16)),new te(new tGt(e,o)))).sd((Y2(),t9)),r&&(w=o.dd(),_t(w,4)&&(s=E3t(w),s!=null&&(w=s)),e.Ye(u(o.cd(),146),w))}function uq(t,e){var n,r,s,o,h;if(e){for(o=_t(t.Cb,88)||_t(t.Cb,99),h=!o&&_t(t.Cb,322),r=new hr((!e.a&&(e.a=new x_(e,So,e)),e.a));r.e!=r.i.gc();)if(n=u(Tr(r),87),s=yq(n),o?_t(s,88):h?_t(s,148):s)return s;return o?(hn(),ef):(hn(),J1)}else return null}function z2n(t,e){var n,r,s,o,h,d;for(Dr(e,"Constraints Postprocessor",1),h=0,o=new S(t.b);o.a<o.c.c.length;){for(s=u(Q(o),29),d=0,r=new S(s.a);r.a<r.c.c.length;)n=u(Q(r),10),n.k==(Yn(),Ws)&&(ne(n,(Te(),nG),ve(h)),ne(n,ZV,ve(d)),++d);++h}br(e)}function q2n(t,e,n,r){var s,o,h,d,w,k,_;for(w=new $e(n,r),ba(w,u(K(e,(Sc(),BS)),8)),_=gi(e.b,0);_.b!=_.d.c;)k=u(di(_),86),$i(k.e,w),pi(t.b,k);for(d=gi(e.a,0);d.b!=d.d.c;){for(h=u(di(d),188),o=gi(h.a,0);o.b!=o.d.c;)s=u(di(o),8),$i(s,w);pi(t.a,h)}}function y5t(t,e,n){var r,s,o;if(o=T4((Yu(),Fa),t.Tg(),e),o){if(po(),!u(o,66).Oj()&&(o=H6(Ro(Fa,o)),!o))throw et(new Bn(l2+e.ne()+WC));s=(r=t.Yg(o),u(r>=0?t._g(r,!0,!0):uw(t,o,!0),153)),u(s,215).ml(e,n)}else throw et(new Bn(l2+e.ne()+WC))}function H2n(t,e){var n,r,s,o,h;for(n=new ge,s=oc(new En(null,new _n(t,16)),new zQ),o=oc(new En(null,new _n(t,16)),new qQ),h=ban(Dsn(e$(kbn(ct(ot(Z5n,1),De,833,0,[s,o])),new HQ))),r=1;r<h.length;r++)h[r]-h[r-1]>=2*e&&de(n,new ynt(h[r-1]+e,h[r]-e));return n}function V2n(t,e,n){Dr(n,"Eades radial",1),n.n&&e&&wf(n,mf(e),(Nl(),rh)),t.d=u(He(e,(b_(),$S)),33),t.c=Zt(ke(He(e,(ay(),LG)))),t.e=ist(u(He(e,$O),293)),t.a=Eln(u(He(e,xCt),426)),t.b=G1n(u(He(e,yCt),340)),_1n(t),n.n&&e&&wf(n,mf(e),(Nl(),rh))}function G2n(t,e,n){var r,s,o,h,d,w,k,_;if(n)for(o=n.a.length,r=new J2(o),d=(r.b-r.a)*r.c<0?(Np(),I2):new jp(r);d.Ob();)h=u(d.Pb(),19),s=S8(n,h.a),s&&(w=Hin(t,(k=(Ev(),_=new Npt,_),e&&x5t(k,e),k),s),q_(w,N0(s,Id)),eq(s,w),G4t(s,w),wit(t,s,w))}function lq(t){var e,n,r,s,o,h;if(!t.j){if(h=new QE,e=aA,o=e.a.zc(t,e),o==null){for(r=new hr(qo(t));r.e!=r.i.gc();)n=u(Tr(r),26),s=lq(n),vs(h,s),Hr(h,n);e.a.Bc(t)!=null}ey(h),t.j=new H3((u(At(Kt((Hp(),Ln).o),11),18),h.i),h.g),gl(t).b&=-33}return t.j}function U2n(t){var e,n,r,s;if(t==null)return null;if(r=Xc(t,!0),s=sO.length,ln(r.substr(r.length-s,s),sO)){if(n=r.length,n==4){if(e=(Xr(0,r.length),r.charCodeAt(0)),e==43)return pLt;if(e==45)return k5e}else if(n==3)return pLt}return new Tpt(r)}function W2n(t){var e,n,r;return n=t.l,n&n-1||(r=t.m,r&r-1)||(e=t.h,e&e-1)||e==0&&r==0&&n==0?-1:e==0&&r==0&&n!=0?Vmt(n):e==0&&r!=0&&n==0?Vmt(r)+22:e!=0&&r==0&&n==0?Vmt(e)+44:-1}function K2n(t,e){var n,r,s,o,h;for(Dr(e,"Edge joining",1),n=je(Be(K(t,(Te(),nht)))),s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),h=new Sa(r.a,0);h.b<h.d.gc();)o=(sr(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),10)),o.k==(Yn(),ha)&&(Cat(o,n),Ol(h));br(e)}function Y2n(t,e,n){var r,s;if(y$(t.b),Xd(t.b,(WD(),MG),(HT(),qO)),Xd(t.b,DG,e.g),Xd(t.b,IG,e.a),t.a=Cq(t.b,e),Dr(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(s=new S(t.a);s.a<s.c.c.length;)r=u(Q(s),51),r.pf(e,Kc(n,1));br(n)}function w4(t,e){var n,r,s,o,h;for(s=e.a&t.f,o=null,r=t.b[s];;r=r.b){if(r==e){o?o.b=e.b:t.b[s]=e.b;break}o=r}for(h=e.f&t.f,o=null,n=t.c[h];;n=n.d){if(n==e){o?o.d=e.d:t.c[h]=e.d;break}o=n}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}function X2n(t){var e,n,r,s,o,h,d,w,k,_;for(n=t.o,e=t.p,h=Di,s=qa,d=Di,o=qa,k=0;k<n;++k)for(_=0;_<e;++_)h4(t,k,_)&&(h=b.Math.min(h,k),s=b.Math.max(s,k),d=b.Math.min(d,_),o=b.Math.max(o,_));return w=s-h+1,r=o-d+1,new wXt(ve(h),ve(d),ve(w),ve(r))}function Yst(t,e){var n,r,s,o;for(o=new Sa(t,0),n=(sr(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),140));o.b<o.d.gc();)r=(sr(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),140)),s=new Mvt(r.c,n.d,e),sr(o.b>0),o.a.Xb(o.c=--o.b),Rm(o,s),sr(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),s.a=!1,n=r}function vce(t){var e,n,r,s,o,h;for(s=u(K(t,(oe(),HV)),11),h=new S(t.j);h.a<h.c.c.length;){for(o=u(Q(h),11),r=new S(o.g);r.a<r.c.c.length;)return e=u(Q(r),17),ya(e,s),o;for(n=new S(o.e);n.a<n.c.c.length;)return e=u(Q(n),17),Wa(e,s),o}return null}function Q2n(t,e,n){var r,s;r=Ou(n.q.getTime()),Oc(r,0)<0?(s=Vg-$r(YD(P8(r),Vg)),s==Vg&&(s=0)):s=$r(YD(r,Vg)),e==1?(s=b.Math.min((s+50)/100|0,9),qp(t,48+s&Ps)):e==2?(s=b.Math.min((s+5)/10|0,99),t0(t,s,2)):(t0(t,s,3),e>3&&t0(t,0,e-3))}function Z2n(t){var e,n,r,s;return Ut(K(t,(Te(),jy)))===Ut((q0(),np))?!t.e&&Ut(K(t,LO))!==Ut((K8(),kO)):(r=u(K(t,Vlt),292),s=je(Be(K(t,Glt)))||Ut(K(t,ES))===Ut((X6(),xO)),e=u(K(t,PTt),19).a,n=t.a.c.length,!s&&r!=(K8(),kO)&&(e==0||e>n))}function J2n(t){var e,n;for(n=0;n<t.c.length&&!(zKt((An(n,t.c.length),u(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(zKt((An(e,t.c.length),u(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function wce(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=6&&e){if(h7(t,e))throw et(new Bn(KC+Foe(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?W3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=nx(e,t,6,r)),r=Gbt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,6,e,e))}function x5t(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=9&&e){if(h7(t,e))throw et(new Bn(KC+wue(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Y3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=nx(e,t,9,r)),r=Ubt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,9,e,e))}function Xst(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(h7(t,e))throw et(new Bn(KC+vle(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Q3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=nx(e,t,12,r)),r=Vbt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,3,e,e))}function y7(t){var e,n,r,s,o;if(r=Bh(t),o=t.j,o==null&&r)return t.$j()?null:r.zj();if(_t(r,148)){if(n=r.Aj(),n&&(s=n.Nh(),s!=t.i)){if(e=u(r,148),e.Ej())try{t.g=s.Kh(e,o)}catch(h){if(h=as(h),_t(h,78))t.g=null;else throw et(h)}t.i=s}return t.g}return null}function mce(t){var e;return e=new ge,de(e,new _6(new $e(t.c,t.d),new $e(t.c+t.b,t.d))),de(e,new _6(new $e(t.c,t.d),new $e(t.c,t.d+t.a))),de(e,new _6(new $e(t.c+t.b,t.d+t.a),new $e(t.c+t.b,t.d))),de(e,new _6(new $e(t.c+t.b,t.d+t.a),new $e(t.c,t.d+t.a))),e}function yce(t,e,n,r){var s,o,h;if(h=s4t(e,n),r.c[r.c.length]=e,t.j[h.p]==-1||t.j[h.p]==2||t.a[e.p])return r;for(t.j[h.p]=-1,o=new pr(xr(H0(h).a.Kc(),new H));ti(o);)if(s=u(qr(o),17),!(!(!io(s)&&!(!io(s)&&s.c.i.c==s.d.i.c))||s==e))return yce(t,s,h,r);return r}function tbn(t,e,n){var r,s,o;for(o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),79),r=u(cr(t.b,s),266),!r&&(gs(n0(s))==gs(t2(s))?pvn(t,s,n):n0(s)==gs(t2(s))?cr(t.c,s)==null&&cr(t.b,t2(s))!=null&&Jle(t,s,n,!1):cr(t.d,s)==null&&cr(t.b,n0(s))!=null&&Jle(t,s,n,!0))}function ebn(t,e){var n,r,s,o,h,d,w;for(s=t.Kc();s.Ob();)for(r=u(s.Pb(),10),d=new zc,ac(d,r),Qs(d,(ye(),Wn)),ne(d,(oe(),WV),(Rn(),!0)),h=e.Kc();h.Ob();)o=u(h.Pb(),10),w=new zc,ac(w,o),Qs(w,jn),ne(w,WV,!0),n=new $v,ne(n,WV,!0),Wa(n,d),ya(n,w)}function nbn(t,e,n,r){var s,o,h,d;s=pie(t,e,n),o=pie(t,n,e),h=u(cr(t.c,e),112),d=u(cr(t.c,n),112),s<o?new nb((Xf(),Uy),h,d,o-s):o<s?new nb((Xf(),Uy),d,h,s-o):(s!=0||!(!e.i||!n.i)&&r[e.i.c][n.i.c])&&(new nb((Xf(),Uy),h,d,0),new nb(Uy,d,h,0))}function xce(t,e){var n,r,s,o,h,d,w;for(s=0,h=new S(e.a);h.a<h.c.c.length;)for(o=u(Q(h),10),s+=o.o.b+o.d.a+o.d.d+t.e,r=new pr(xr(Jo(o).a.Kc(),new H));ti(r);)n=u(qr(r),17),n.c.i.k==(Yn(),Jc)&&(w=n.c.i,d=u(K(w,(oe(),Bi)),10),s+=d.o.b+d.d.a+d.d.d);return s}function kce(t,e,n){var r,s,o,h,d,w,k;for(o=new ge,k=new hs,h=new hs,Gmn(t,k,h,e),e4n(t,k,h,e,n),w=new S(t);w.a<w.c.c.length;)for(d=u(Q(w),112),s=new S(d.k);s.a<s.c.c.length;)r=u(Q(s),129),(!e||r.c==(Xf(),m2))&&d.g>r.b.g&&(o.c[o.c.length]=r);return o}function x7(){x7=X,r5=new LM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),jx=new LM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),qS=new LM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),zS=new LM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),HS=new LM("WHOLE_DRAWING",4)}function rbn(t,e){if(_t(e,239))return Oun(t,u(e,33));if(_t(e,186))return Uun(t,u(e,118));if(_t(e,354))return snn(t,u(e,137));if(_t(e,352))return Lmn(t,u(e,79));if(e)return null;throw et(new Bn(m8t+e2(new Al(ct(ot(ir,1),De,1,5,[e])))))}function ibn(t){var e,n,r,s,o,h,d;for(o=new hs,s=new S(t.d.a);s.a<s.c.c.length;)r=u(Q(s),121),r.b.a.c.length==0&&Cs(o,r,o.c.b,o.c);if(o.b>1)for(e=Dv((n=new K2,++t.b,n),t.d),d=gi(o,0);d.b!=d.d.c;)h=u(di(d),121),Tf(gf(df(pf(ff(new Dh,1),0),e),h))}function k5t(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=11&&e){if(h7(t,e))throw et(new Bn(KC+$5t(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Z3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=nx(e,t,10,r)),r=tvt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,11,e,e))}function sbn(t){var e,n,r,s;for(r=new db(new kg(t.b).a);r.b;)n=Kv(r),s=u(n.cd(),11),e=u(n.dd(),10),ne(e,(oe(),Bi),s),ne(s,ul,e),ne(s,_O,(Rn(),!0)),Qs(s,u(K(e,yc),61)),K(e,yc),ne(s.i,(Te(),xs),(ka(),M9)),u(K(Za(s.i),tu),21).Fc((Eo(),d9))}function abn(t,e,n){var r,s,o,h,d,w;if(o=0,h=0,t.c)for(w=new S(t.d.i.j);w.a<w.c.c.length;)d=u(Q(w),11),o+=d.e.c.length;else o=1;if(t.d)for(w=new S(t.c.i.j);w.a<w.c.c.length;)d=u(Q(w),11),h+=d.g.c.length;else h=1;return s=Ds(QM(h-o)),r=(n+e)/2+(n-e)*(.4*s),r}function obn(t){p4();var e,n;if(t.Hc((ye(),fc)))throw et(new Bn("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return DV;case 2:return e=t.Hc(Wn)&&t.Hc(jn),n=t.Hc(Nn)&&t.Hc(Ir),e||n?PV:OV;case 3:return IV;case 4:return MV;default:return null}}function cbn(t,e,n){var r,s,o,h,d;for(Dr(n,"Breaking Point Removing",1),t.a=u(K(e,(Te(),Z0)),218),o=new S(e.b);o.a<o.c.c.length;)for(s=u(Q(o),29),d=new S(Hv(s.a));d.a<d.c.c.length;)h=u(Q(d),10),Qte(h)&&(r=u(K(h,(oe(),Aw)),305),!r.d&&mhe(t,r));br(n)}function Qst(t,e,n){return x4(),V8(t,e)&&V8(t,n)?!1:Aat(new $e(t.c,t.d),new $e(t.c+t.b,t.d),e,n)||Aat(new $e(t.c+t.b,t.d),new $e(t.c+t.b,t.d+t.a),e,n)||Aat(new $e(t.c+t.b,t.d+t.a),new $e(t.c,t.d+t.a),e,n)||Aat(new $e(t.c,t.d+t.a),new $e(t.c,t.d),e,n)}function E5t(t,e){var n,r,s,o;if(!t.dc()){for(n=0,r=t.gc();n<r;++n)if(o=Yr(t.Xb(n)),o==null?e==null:ln(o.substr(0,3),"!##")?e!=null&&(s=e.length,!ln(o.substr(o.length-s,s),e)||o.length!=e.length+3)&&!ln(Db,e):ln(o,iut)&&!ln(Db,e)||ln(o,e))return!0}return!1}function ubn(t,e,n,r){var s,o,h,d,w,k;for(h=t.j.c.length,w=Pt(e6n,G6t,306,h,0,1),d=0;d<h;d++)o=u(Fe(t.j,d),11),o.p=d,w[d]=ppn(Woe(o),n,r);for(Obn(t,w,n,e,r),k=new Br,s=0;s<w.length;s++)w[s]&&Ni(k,u(Fe(t.j,s),11),w[s]);k.f.c+k.g.c!=0&&(ne(t,(oe(),mS),k),B0n(t,w))}function lbn(t,e,n){var r,s,o;for(s=new S(t.a.b);s.a<s.c.c.length;)if(r=u(Q(s),57),o=J3(r),o&&o.k==(Yn(),Fs))switch(u(K(o,(oe(),yc)),61).g){case 4:o.n.a=e.a;break;case 2:o.n.a=n.a-(o.o.a+o.d.c);break;case 1:o.n.b=e.b;break;case 3:o.n.b=n.b-(o.o.b+o.d.a)}}function m4(){m4=X,dG=new C6(X0,0),OO=new C6("NIKOLOV",1),PO=new C6("NIKOLOV_PIXEL",2),A_t=new C6("NIKOLOV_IMPROVED",3),L_t=new C6("NIKOLOV_IMPROVED_PIXEL",4),S_t=new C6("DUMMYNODE_PERCENTAGE",5),M_t=new C6("NODECOUNT_PERCENTAGE",6),gG=new C6("NO_BOUNDARY",7)}function hbn(t,e,n){var r,s,o,h,d;return s=u(He(e,(rq(),_St)),19),!s&&(s=ve(0)),o=u(He(n,_St),19),!o&&(o=ve(0)),s.a>o.a?-1:s.a<o.a?1:t.a&&(r=Vs(e.j,n.j),r!=0||(r=Vs(e.i,n.i),r!=0))?r:(h=e.g*e.f,d=n.g*n.f,Vs(h,d))}function fbn(t,e){var n,r,s,o,h,d,w,k,_,M;if(++t.e,w=t.d==null?0:t.d.length,e>w){for(_=t.d,t.d=Pt($At,A8t,63,2*w+4,0,1),o=0;o<w;++o)if(k=_[o],k)for(r=k.g,M=k.i,d=0;d<M;++d)s=u(r[d],133),h=Wbt(t,s.Sh()),n=t.d[h],!n&&(n=t.d[h]=t.uj()),n.Fc(s);return!0}else return!1}function dbn(t,e,n){var r,s,o,h,d,w;if(s=n,o=s.ak(),W0(t.e,o)){if(o.hi()){for(r=u(t.g,119),h=0;h<t.i;++h)if(d=r[h],Pi(d,s)&&h!=e)throw et(new Bn(JI))}}else for(w=gu(t.e.Tg(),o),r=u(t.g,119),h=0;h<t.i;++h)if(d=r[h],w.rl(d.ak()))throw et(new Bn(iO));J_(t,e,n)}function Ece(t,e){var n,r,s,o,h,d;for(n=u(K(e,(oe(),Py)),21),h=u(ji((Dat(),Wi),n),21),d=u(ji(li,n),21),o=h.Kc();o.Ob();)if(r=u(o.Pb(),21),!u(ji(t.b,r),15).dc())return!1;for(s=d.Kc();s.Ob();)if(r=u(s.Pb(),21),!u(ji(t.b,r),15).dc())return!1;return!0}function gbn(t,e){var n,r,s,o,h,d;for(Dr(e,"Partition postprocessing",1),r=new S(t.b);r.a<r.c.c.length;)for(n=u(Q(r),29),o=new S(n.a);o.a<o.c.c.length;)for(s=u(Q(o),10),d=new S(s.j);d.a<d.c.c.length;)h=u(Q(d),11),je(Be(K(h,(oe(),WV))))&&C_(d);br(e)}function Tce(t,e){var n,r,s,o,h,d,w,k,_;if(t.a.c.length==1)return Aae(u(Fe(t.a,0),187),e);for(h=vun(t),w=0,k=t.d,o=h,_=t.d,d=(k-o)/2+o;o+1<k;){for(w=0,r=new S(t.a);r.a<r.c.c.length;)n=u(Q(r),187),w+=(s=EC(n,d,!1),s.a);w<e?(_=d,k=d):o=d,d=(k-o)/2+o}return _}function pbn(t){var e,n,r,s,o;return isNaN(t)?(N8(),Q8t):t<-9223372036854776e3?(N8(),pge):t>=9223372036854776e3?(N8(),Y8t):(s=!1,t<0&&(s=!0,t=-t),r=0,t>=Eb&&(r=Ds(t/Eb),t-=r*Eb),n=0,t>=dx&&(n=Ds(t/dx),t-=n*dx),e=Ds(t),o=hu(e,n,r),s&&vit(o),o)}function bbn(t,e){var n,r,s,o;for(n=!e||!t.u.Hc((cl(),ng)),o=0,s=new S(t.e.Cf());s.a<s.c.c.length;){if(r=u(Q(s),838),r.Hf()==(ye(),fc))throw et(new Bn("Label and node size calculator can only be used with ports that have port sides assigned."));r.vf(o++),gun(t,r,n)}}function vbn(t,e){var n,r,s,o,h;return s=e.Hh(t.a),s&&(r=(!s.b&&(s.b=new Ml((hn(),lo),xc,s)),s.b),n=Yr(t1(r,Ha)),n!=null&&(o=n.lastIndexOf("#"),h=o==-1?Bbt(t,e.Aj(),n):o==0?wD(t,null,n.substr(1)):wD(t,n.substr(0,o),n.substr(o+1)),_t(h,148)))?u(h,148):null}function wbn(t,e){var n,r,s,o,h;return r=e.Hh(t.a),r&&(n=(!r.b&&(r.b=new Ml((hn(),lo),xc,r)),r.b),o=Yr(t1(n,rut)),o!=null&&(s=o.lastIndexOf("#"),h=s==-1?Bbt(t,e.Aj(),o):s==0?wD(t,null,o.substr(1)):wD(t,o.substr(0,s),o.substr(s+1)),_t(h,148)))?u(h,148):null}function T5t(t){var e,n,r,s,o;for(n=new S(t.a.a);n.a<n.c.c.length;){for(e=u(Q(n),307),e.j=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),57),Yf(r.b),(!e.j||r.d.c<e.j.d.c)&&(e.j=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),57),r.b.a=r.d.c-e.j.d.c,r.b.b=r.d.d-e.j.d.d}return t}function hq(t){var e,n,r,s,o;for(n=new S(t.a.a);n.a<n.c.c.length;){for(e=u(Q(n),189),e.f=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),81),Yf(r.e),(!e.f||r.g.c<e.f.g.c)&&(e.f=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),81),r.e.a=r.g.c-e.f.g.c,r.e.b=r.g.d-e.f.g.d}return t}function mbn(t){var e,n,r;return n=u(t.a,19).a,r=u(t.b,19).a,e=b.Math.max(b.Math.abs(n),b.Math.abs(r)),n<e&&r==-e?new Ca(ve(n+1),ve(r)):n==e&&r<e?new Ca(ve(n),ve(r+1)):n>=-e&&r==e?new Ca(ve(n-1),ve(r)):new Ca(ve(n),ve(r-1))}function _ce(){return wo(),ct(ot(a6n,1),ue,77,0,[H9t,$9t,hS,rlt,cEt,bV,CV,i9,aEt,Q9t,iEt,r9,oEt,K9t,uEt,P9t,yV,ilt,gV,EV,hEt,kV,N9t,sEt,fEt,TV,lEt,pV,G9t,nEt,eEt,SV,R9t,dV,wV,B9t,n9,J9t,Y9t,rEt,fS,z9t,j9t,tEt,X9t,mV,_V,F9t,xV,Z9t,vV,U9t,V9t,mO,fV,W9t,q9t])}function ybn(t,e,n){t.d=0,t.b=0,e.k==(Yn(),Jc)&&n.k==Jc&&u(K(e,(oe(),Bi)),10)==u(K(n,Bi),10)&&(Vrt(e).j==(ye(),Nn)?lce(t,e,n):lce(t,n,e)),e.k==Jc&&n.k==ha?Vrt(e).j==(ye(),Nn)?t.d=1:t.b=1:n.k==Jc&&e.k==ha&&(Vrt(n).j==(ye(),Nn)?t.b=1:t.d=1),ofn(t,e,n)}function xbn(t){var e,n,r,s,o,h,d,w,k,_,M;return M=x4t(t),e=t.a,w=e!=null,w&&b8(M,"category",t.a),s=pM(new Tm(t.d)),h=!s,h&&(k=new yg,Zf(M,"knownOptions",k),n=new dzt(k),Pa(new Tm(t.d),n)),o=pM(t.g),d=!o,d&&(_=new yg,Zf(M,"supportedFeatures",_),r=new gzt(_),Pa(t.g,r)),M}function kbn(t){var e,n,r,s,o,h,d,w,k;for(r=!1,e=336,n=0,o=new SWt(t.length),d=t,w=0,k=d.length;w<k;++w)h=d[w],r=r|(pb(h),!1),s=(Vp(h),h.a),de(o.a,zr(s)),e&=s.qd(),n=Qcn(n,s.rd());return u(u(OYt(new En(null,Mst(new _n((Vm(),d3t(o.a)),16),new st,e,n)),new btt(t)),670),833)}function Ebn(t,e){var n;t.d&&(e.c!=t.e.c||Oon(t.e.b,e.b))&&(de(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),qYe(e.b)?t.c=e:t.b=e,(e.b==(Y8(),_w)&&!e.a||e.b==Dy&&e.a||e.b==$4&&e.a||e.b==Iy&&!e.a)&&t.c&&t.b&&(n=new fh(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function bI(t){var e;if(_qt.call(this),this.i=new vZ,this.g=t,this.f=u(t.e&&t.e(),9).length,this.f==0)throw et(new Bn("There must be at least one phase in the phase enumeration."));this.c=(e=u(Kf(this.g),9),new hh(e,u(bf(e,e.length),9),0)),this.a=new ra,this.b=new Br}function _5t(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=7&&e){if(h7(t,e))throw et(new Bn(KC+Iae(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?K3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=u(e,49).gh(t,1,cP,r)),r=Uvt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,7,e,e))}function Cce(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(h7(t,e))throw et(new Bn(KC+zre(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?X3t(t,r):t.Cb.ih(t,-1-n,null,r))),e&&(r=u(e,49).gh(t,0,lP,r)),r=Wvt(t,e,r),r&&r.Fi()}else t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,3,e,e))}function Zst(t,e){v7();var n,r,s,o,h,d,w,k,_;return e.d>t.d&&(d=t,t=e,e=d),e.d<63?fvn(t,e):(h=(t.d&-2)<<4,k=amt(t,h),_=amt(e,h),r=gat(t,G6(k,h)),s=gat(e,G6(_,h)),w=Zst(k,_),n=Zst(r,s),o=Zst(gat(k,r),gat(s,_)),o=kat(kat(o,w),n),o=G6(o,h),w=G6(w,h<<1),kat(kat(w,o),n))}function Tbn(t,e,n){var r,s,o,h,d;for(h=Q_(t,n),d=Pt(h0,Gg,10,e.length,0,1),r=0,o=h.Kc();o.Ob();)s=u(o.Pb(),11),je(Be(K(s,(oe(),_O))))&&(d[r++]=u(K(s,ul),10));if(r<e.length)throw et(new Xo("Expected "+e.length+" hierarchical ports, but found only "+r+"."));return d}function _bn(t,e){var n,r,s,o,h,d;if(!t.tb){for(o=(!t.rb&&(t.rb=new qm(t,u1,t)),t.rb),d=new E6(o.i),s=new hr(o);s.e!=s.i.gc();)r=u(Tr(s),138),h=r.ne(),n=u(h==null?du(d.f,null,r):ew(d.g,h,r),138),n&&(h==null?du(d.f,null,n):ew(d.g,h,n));t.tb=d}return u(Uc(t.tb,e),138)}function vI(t,e){var n,r,s,o,h;if((t.i==null&&kd(t),t.i).length,!t.p){for(h=new E6((3*t.g.i/2|0)+1),s=new D6(t.g);s.e!=s.i.gc();)r=u(nst(s),170),o=r.ne(),n=u(o==null?du(h.f,null,r):ew(h.g,o,r),170),n&&(o==null?du(h.f,null,n):ew(h.g,o,n));t.p=h}return u(Uc(t.p,e),170)}function C5t(t,e,n,r,s){var o,h,d,w,k;for(chn(r+crt(n,n.$d()),s),YYt(e,Pln(n)),o=n.f,o&&C5t(t,e,o,"Caused by: ",!1),d=(n.k==null&&(n.k=Pt(yut,re,78,0,0,1)),n.k),w=0,k=d.length;w<k;++w)h=d[w],C5t(t,e,h,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function wI(t,e,n,r){var s,o,h,d,w;for(w=e.e,d=w.length,h=e.q._f(w,n?0:d-1,n),s=w[n?0:d-1],h=h|hue(t,s,n,r),o=n?1:d-2;n?o<d:o>=0;o+=n?1:-1)h=h|e.c.Sf(w,o,n,r&&!je(Be(K(e.j,(oe(),Lw))))&&!je(Be(K(e.j,(oe(),Y4))))),h=h|e.q._f(w,o,n),h=h|hue(t,w[o],n,r);return Ys(t.c,e),h}function fq(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(_=lZt(t.j),M=0,B=_.length;M<B;++M){if(k=_[M],n==(xo(),ll)||n==MS)for(w=xd(k.g),s=w,o=0,h=s.length;o<h;++o)r=s[o],F0n(e,r)&&fw(r,!0);if(n==lu||n==MS)for(d=xd(k.e),s=d,o=0,h=s.length;o<h;++o)r=s[o],N0n(e,r)&&fw(r,!0)}}function Cbn(t){var e,n;switch(e=null,n=null,Y1n(t).g){case 1:e=(ye(),Wn),n=jn;break;case 2:e=(ye(),Ir),n=Nn;break;case 3:e=(ye(),jn),n=Wn;break;case 4:e=(ye(),Nn),n=Ir}XB(t,u(Iv(Gj(u(ji(t.k,e),15).Oc(),q4)),113)),YB(t,u(Iv(Vj(u(ji(t.k,n),15).Oc(),q4)),113))}function Sbn(t){var e,n,r,s,o,h;if(s=u(Fe(t.j,0),11),s.e.c.length+s.g.c.length==0)t.n.a=0;else{for(h=0,r=zp(B1(ct(ot(G1,1),De,20,0,[new ca(s),new Nr(s)])));ti(r);)n=u(qr(r),11),h+=n.i.n.a+n.n.a+n.a.a;e=u(K(t,(Te(),Pw)),8),o=e?e.a:0,t.n.a=h/(s.e.c.length+s.g.c.length)-o}}function Sce(t,e){var n,r,s;for(r=new S(e.a);r.a<r.c.c.length;)n=u(Q(r),221),Dnt(u(n.b,65),ba(pc(u(e.b,65).c),u(e.b,65).a)),s=Vue(u(e.b,65).b,u(n.b,65).b),s>1&&(t.a=!0),$tn(u(n.b,65),$i(pc(u(e.b,65).c),bd(ba(pc(u(n.b,65).a),u(e.b,65).a),s))),TQt(t,e),Sce(t,n)}function Ace(t){var e,n,r,s,o,h,d;for(o=new S(t.a.a);o.a<o.c.c.length;)r=u(Q(o),189),r.e=0,r.d.a.$b();for(s=new S(t.a.a);s.a<s.c.c.length;)for(r=u(Q(s),189),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),81),d=e.f.Kc();d.Ob();)h=u(d.Pb(),81),h.d!=r&&(Ys(r.d,h),++h.d.e)}function Abn(t){var e,n,r,s,o,h,d,w;for(w=t.j.c.length,n=0,e=w,s=2*w,d=new S(t.j);d.a<d.c.c.length;)switch(h=u(Q(d),11),h.j.g){case 2:case 4:h.p=-1;break;case 1:case 3:r=h.e.c.length,o=h.g.c.length,r>0&&o>0?h.p=e++:r>0?h.p=n++:o>0?h.p=s++:h.p=n++}pn(),ua(t.j,new LL)}function Lbn(t){var e,n;n=null,e=u(Fe(t.g,0),17);do{if(n=e.d.i,ia(n,(oe(),Uh)))return u(K(n,Uh),11).i;if(n.k!=(Yn(),Ws)&&ti(new pr(xr(Gs(n).a.Kc(),new H))))e=u(qr(new pr(xr(Gs(n).a.Kc(),new H))),17);else if(n.k!=Ws)return null}while(n&&n.k!=(Yn(),Ws));return n}function Mbn(t,e){var n,r,s,o,h,d,w,k,_;for(d=e.j,h=e.g,w=u(Fe(d,d.c.length-1),113),_=(An(0,d.c.length),u(d.c[0],113)),k=vst(t,h,w,_),o=1;o<d.c.length;o++)n=(An(o-1,d.c.length),u(d.c[o-1],113)),s=(An(o,d.c.length),u(d.c[o],113)),r=vst(t,h,n,s),r>k&&(w=n,_=s,k=r);e.a=_,e.c=w}function Dbn(t,e){var n,r;if(r=ZM(t.b,e.b),!r)throw et(new Xo("Invalid hitboxes for scanline constraint calculation."));(Nne(e.b,u(DQe(t.b,e.b),57))||Nne(e.b,u(MQe(t.b,e.b),57)))&&(Ud(),e.b+""),t.a[e.b.f]=u(gnt(t.b,e.b),57),n=u(dnt(t.b,e.b),57),n&&(t.a[n.f]=e.b)}function Tf(t){if(!t.a.d||!t.a.e)throw et(new Xo((D0(Hge),Hge.k+" must have a source and target "+(D0(X7t),X7t.k)+" specified.")));if(t.a.d==t.a.e)throw et(new Xo("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return vj(t.a.d.g,t.a),vj(t.a.e.b,t.a),t.a}function Ibn(t,e,n){var r,s,o,h,d,w,k;for(k=new Op(new f$t(t)),h=ct(ot(M2e,1),qfe,11,0,[e,n]),d=0,w=h.length;d<w;++d)for(o=h[d],vz(k.a,o,(Rn(),Ob))==null,s=new N1(o.b);sc(s.a)||sc(s.b);)r=u(sc(s.a)?Q(s.a):Q(s.b),17),r.c==r.d||ZM(k,o==r.c?r.d:r.c);return zr(k),new Uu(k)}function Lce(t,e,n){var r,s,o,h,d,w;if(r=0,e.b!=0&&n.b!=0){o=gi(e,0),h=gi(n,0),d=Zt(ke(di(o))),w=Zt(ke(di(h))),s=!0;do{if(d>w-t.b&&d<w+t.b)return-1;d>w-t.a&&d<w+t.a&&++r,d<=w&&o.b!=o.d.c?d=Zt(ke(di(o))):w<=d&&h.b!=h.d.c?w=Zt(ke(di(h))):s=!1}while(s)}return r}function Obn(t,e,n,r,s){var o,h,d,w;for(w=(o=u(Kf(uo),9),new hh(o,u(bf(o,o.length),9),0)),d=new S(t.j);d.a<d.c.c.length;)h=u(Q(d),11),e[h.p]&&(U4n(h,e[h.p],r),kf(w,h.j));s?(Cst(t,e,(ye(),Wn),2*n,r),Cst(t,e,jn,2*n,r)):(Cst(t,e,(ye(),Nn),2*n,r),Cst(t,e,Ir,2*n,r))}function Pbn(t){var e,n,r,s,o;if(o=new ge,Mu(t.b,new nr(o)),t.b.c=Pt(ir,De,1,0,5,1),o.c.length!=0){for(e=(An(0,o.c.length),u(o.c[0],78)),n=1,r=o.c.length;n<r;++n)s=(An(n,o.c.length),u(o.c[n],78)),s!=e&&Udn(e,s);if(_t(e,60))throw et(u(e,60));if(_t(e,289))throw et(u(e,289))}}function Nbn(t,e){var n,r,s,o;for(t=t==null?Nu:(Pn(t),t),n=new Lm,o=0,r=0;r<e.length&&(s=t.indexOf("%s",o),s!=-1);)ii(n,t.substr(o,s-o)),Cc(n,e[r++]),o=s+2;if(ii(n,t.substr(o)),r<e.length){for(n.a+=" [",Cc(n,e[r++]);r<e.length;)n.a+=oo,Cc(n,e[r++]);n.a+="]"}return n.a}function Fbn(t){var e,n,r,s;for(e=0,r=t.length,s=r-4,n=0;n<s;)e=(Xr(n+3,t.length),t.charCodeAt(n+3)+(Xr(n+2,t.length),31*(t.charCodeAt(n+2)+(Xr(n+1,t.length),31*(t.charCodeAt(n+1)+(Xr(n,t.length),31*(t.charCodeAt(n)+31*e))))))),e=e|0,n+=4;for(;n<r;)e=e*31+Oa(t,n++);return e=e|0,e}function Bbn(t){var e,n;for(n=new pr(xr(Gs(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),17),e.d.i.k!=(Yn(),Bl))throw et(new B3(Rot+eI(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function Rbn(t,e,n,r){var s,o,h,d,w,k,_,M,B;for(w=0,_=new S(t.a);_.a<_.c.c.length;){for(k=u(Q(_),10),d=0,o=new pr(xr(Jo(k).a.Kc(),new H));ti(o);)s=u(qr(o),17),M=I1(s.c).b,B=I1(s.d).b,d=b.Math.max(d,b.Math.abs(B-M));w=b.Math.max(w,d)}return h=r*b.Math.min(1,e/n)*w,h}function S5t(t){var e;return e=new BT,t&256&&(e.a+="F"),t&128&&(e.a+="H"),t&512&&(e.a+="X"),t&2&&(e.a+="i"),t&8&&(e.a+="m"),t&4&&(e.a+="s"),t&32&&(e.a+="u"),t&64&&(e.a+="w"),t&16&&(e.a+="x"),t&_f&&(e.a+=","),Vpt(e.a)}function jbn(t,e){var n,r,s,o;for(Dr(e,"Resize child graph to fit parent.",1),r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),29),Hs(t.a,n.a),n.a.c=Pt(ir,De,1,0,5,1);for(o=new S(t.a);o.a<o.c.c.length;)s=u(Q(o),10),Bo(s,null);t.b.c=Pt(ir,De,1,0,5,1),cvn(t),t.e&&Kwn(t.e,t),br(e)}function $bn(t){var e,n,r,s,o,h,d,w,k;if(r=t.b,o=r.e,h=O6(u(K(r,(Te(),xs)),98)),n=!!o&&u(K(o,(oe(),tu)),21).Hc((Eo(),Th)),!(h||n))for(k=(d=new T1(t.e).a.vc().Kc(),new _1(d));k.a.Ob();)w=(e=u(k.a.Pb(),42),u(e.dd(),113)),w.a&&(s=w.d,ac(s,null),w.c=!0,t.a=!0)}function zbn(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;for(B=-1,q=0,k=t,_=0,M=k.length;_<M;++_){for(w=k[_],o=w,h=0,d=o.length;h<d;++h)for(s=o[h],e=new VVt(B==-1?t[0]:t[B],Mse(s)),n=0;n<s.j.c.length;n++)for(r=n+1;r<s.j.c.length;r++)kYt(e,u(Fe(s.j,n),11),u(Fe(s.j,r),11))>0&&++q;++B}return q}function qbn(t,e){var n,r,s,o,h;for(h=u(K(e,(lw(),rCt)),425),o=gi(e.b,0);o.b!=o.d.c;)if(s=u(di(o),86),t.b[s.g]==0){switch(h.g){case 0:nse(t,s);break;case 1:Vpn(t,s)}t.b[s.g]=2}for(r=gi(t.a,0);r.b!=r.d.c;)n=u(di(r),188),ry(n.b.d,n,!0),ry(n.c.b,n,!0);ne(e,(Sc(),X_t),t.a)}function gu(t,e){po();var n,r,s,o;return e?e==(Vi(),y5e)||(e==c5e||e==Kb||e==o5e)&&t!=dLt?new w6t(t,e):(r=u(e,677),n=r.pk(),n||(E8(Ro((Yu(),Fa),e)),n=r.pk()),o=(!n.i&&(n.i=new Br),n.i),s=u(gc(Ho(o.f,t)),1942),!s&&Ni(o,t,s=new w6t(t,e)),s):i5e}function Hbn(t,e){var n,r,s,o,h,d,w,k,_;for(w=u(K(t,(oe(),Bi)),11),k=cc(ct(ot(sa,1),re,8,0,[w.i.n,w.n,w.a])).a,_=t.i.n.b,n=xd(t.e),s=n,o=0,h=s.length;o<h;++o)r=s[o],ya(r,w),X2(r.a,new $e(k,_)),e&&(d=u(K(r,(Te(),zo)),74),d||(d=new Hu,ne(r,zo,d)),pi(d,new $e(k,_)))}function Vbn(t,e){var n,r,s,o,h,d,w,k,_;for(s=u(K(t,(oe(),Bi)),11),k=cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])).a,_=t.i.n.b,n=xd(t.g),h=n,d=0,w=h.length;d<w;++d)o=h[d],Wa(o,s),FGt(o.a,new $e(k,_)),e&&(r=u(K(o,(Te(),zo)),74),r||(r=new Hu,ne(o,zo,r)),pi(r,new $e(k,_)))}function Gbn(t,e){var n,r,s,o,h,d;for(t.b=new ge,t.d=u(K(e,(oe(),Px)),230),t.e=ein(t.d),o=new hs,s=P1(ct(ot(S2e,1),$fe,37,0,[e])),h=0;h<s.c.length;)r=(An(h,s.c.length),u(s.c[h],37)),r.p=h++,n=new qle(r,t.a,t.b),Hs(s,n.b),de(t.b,n),n.s&&(d=gi(o,0),JM(d,n));return t.c=new na,o}function Ubn(t,e){var n,r,s,o,h,d;for(h=u(u(ji(t.r,e),21),84).Kc();h.Ob();)o=u(h.Pb(),111),n=o.c?Pvt(o.c):0,n>0?o.a?(d=o.b.rf().a,n>d&&(s=(n-d)/2,o.d.b=s,o.d.c=s)):o.d.c=t.s+n:T_(t.u)&&(r=k4t(o.b),r.c<0&&(o.d.b=-r.c),r.c+r.b>o.b.rf().a&&(o.d.c=r.c+r.b-o.b.rf().a))}function Wbn(t,e){var n,r,s,o;for(Dr(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,s=new S(t.b);s.a<s.c.c.length;)r=u(Q(s),29),o=GD(U$(Xi(Xi(new En(null,new _n(r.a,16)),new RE),new OL),new bF),new vF),n=n|o.a!=null;n&&ne(t,(oe(),YEt),(Rn(),!0)),br(e)}function Kbn(t,e,n){var r,s,o,h,d;if(s=n,!s&&(s=new Xk),Dr(s,"Layout",t.a.c.length),je(Be(K(e,(lw(),tCt)))))for(Ud(),r=0;r<t.a.c.length;r++)d=(r<10?"0":"")+r++,""+d+Ip(bl(u(Fe(t.a,r),51)));for(h=new S(t.a);h.a<h.c.c.length;)o=u(Q(h),51),o.pf(e,Kc(s,1));br(s)}function Ybn(t){var e,n;if(e=u(t.a,19).a,n=u(t.b,19).a,e>=0){if(e==n)return new Ca(ve(-e-1),ve(-e-1));if(e==-n)return new Ca(ve(-e),ve(n+1))}return b.Math.abs(e)>b.Math.abs(n)?e<0?new Ca(ve(-e),ve(n)):new Ca(ve(-e),ve(n+1)):new Ca(ve(e+1),ve(n))}function Xbn(t){var e,n;n=u(K(t,(Te(),bu)),163),e=u(K(t,(oe(),Nb)),303),n==(mh(),b2)?(ne(t,bu,AO),ne(t,Nb,(j0(),W4))):n==Fy?(ne(t,bu,AO),ne(t,Nb,(j0(),Lx))):e==(j0(),W4)?(ne(t,bu,b2),ne(t,Nb,EO)):e==Lx&&(ne(t,bu,Fy),ne(t,Nb,EO))}function dq(){dq=X,BO=new AQ,Lme=Mi(new ra,(ao(),pu),(wo(),gV)),Ime=sl(Mi(new ra,pu,kV),Uo,xV),Ome=sw(sw(NR(sl(Mi(new ra,Nd,CV),Uo,_V),Zc),TV),SV),Mme=sl(Mi(Mi(Mi(new ra,g2,bV),Zc,wV),Zc,n9),Uo,vV),Dme=sl(Mi(Mi(new ra,Zc,n9),Zc,dV),Uo,fV)}function bC(){bC=X,Fme=Mi(sl(new ra,(ao(),Uo),(wo(),U9t)),pu,gV),$me=sw(sw(NR(sl(Mi(new ra,Nd,CV),Uo,_V),Zc),TV),SV),Bme=sl(Mi(Mi(Mi(new ra,g2,bV),Zc,wV),Zc,n9),Uo,vV),jme=Mi(Mi(new ra,pu,kV),Uo,xV),Rme=sl(Mi(Mi(new ra,Zc,n9),Zc,dV),Uo,fV)}function Qbn(t,e,n,r,s){var o,h;(!io(e)&&e.c.i.c==e.d.i.c||!Hee(cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])),n))&&!io(e)&&(e.c==s?f8(e.a,0,new No(n)):pi(e.a,new No(n)),r&&!L0(t.a,n)&&(h=u(K(e,(Te(),zo)),74),h||(h=new Hu,ne(e,zo,h)),o=new No(n),Cs(h,o,h.c.b,h.c),Ys(t.a,o)))}function Zbn(t){var e,n;for(n=new pr(xr(Jo(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),17),e.c.i.k!=(Yn(),Bl))throw et(new B3(Rot+eI(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."))}function Jbn(t,e,n){var r,s,o,h,d,w,k;if(s=Wre(t.Db&254),s==0)t.Eb=n;else{if(s==1)d=Pt(ir,De,1,2,5,1),o=bst(t,e),o==0?(d[0]=n,d[1]=t.Eb):(d[0]=t.Eb,d[1]=n);else for(d=Pt(ir,De,1,s+1,5,1),h=ob(t.Eb),r=2,w=0,k=0;r<=128;r<<=1)r==e?d[k++]=n:t.Db&r&&(d[k++]=h[w++]);t.Eb=d}t.Db|=e}function Mce(t,e,n){var r,s,o,h;for(this.b=new ge,s=0,r=0,h=new S(t);h.a<h.c.c.length;)o=u(Q(h),167),n&&Zmn(o),de(this.b,o),s+=o.o,r+=o.p;this.b.c.length>0&&(o=u(Fe(this.b,0),167),s+=o.o,r+=o.p),s*=2,r*=2,e>1?s=Ds(b.Math.ceil(s*e)):r=Ds(b.Math.ceil(r/e)),this.a=new p3t(s,r)}function Dce(t,e,n,r,s,o){var h,d,w,k,_,M,B,q,G,W,Z,bt;for(_=r,e.j&&e.o?(q=u(cr(t.f,e.A),57),W=q.d.c+q.d.b,--_):W=e.a.c+e.a.b,M=s,n.q&&n.o?(q=u(cr(t.f,n.C),57),k=q.d.c,++M):k=n.a.c,Z=k-W,w=b.Math.max(2,M-_),d=Z/w,G=W+d,B=_;B<M;++B)h=u(o.Xb(B),128),bt=h.a.b,h.a.c=G-bt/2,G+=d}function A5t(t,e,n,r,s,o){var h,d,w,k,_,M;for(k=n.c.length,o&&(t.c=Pt(Fr,ui,25,e.length,15,1)),h=s?0:e.length-1;s?h<e.length:h>=0;h+=s?1:-1){for(d=e[h],w=r==(ye(),Wn)?s?uc(d,r):cb(uc(d,r)):s?cb(uc(d,r)):uc(d,r),o&&(t.c[d.p]=w.gc()),M=w.Kc();M.Ob();)_=u(M.Pb(),11),t.d[_.p]=k++;Hs(n,w)}}function Ice(t,e,n){var r,s,o,h,d,w,k,_;for(o=Zt(ke(t.b.Kc().Pb())),k=Zt(ke(ccn(e.b))),r=bd(pc(t.a),k-n),s=bd(pc(e.a),n-o),_=$i(r,s),bd(_,1/(k-o)),this.a=_,this.b=new ge,d=!0,h=t.b.Kc(),h.Pb();h.Ob();)w=Zt(ke(h.Pb())),d&&w-n>wct&&(this.b.Fc(n),d=!1),this.b.Fc(w);d&&this.b.Fc(n)}function tvn(t){var e,n,r,s;if(hwn(t,t.n),t.d.c.length>0){for(NT(t.c);o5t(t,u(Q(new S(t.e.a)),121))<t.e.a.c.length;){for(e=Gfn(t),s=e.e.e-e.d.e-e.a,e.e.j&&(s=-s),r=new S(t.e.a);r.a<r.c.c.length;)n=u(Q(r),121),n.j&&(n.e+=s);NT(t.c)}NT(t.c),X4t(t,u(Q(new S(t.e.a)),121)),jle(t)}}function evn(t,e){var n,r,s,o,h;for(s=u(ji(t.a,(p4(),DV)),15).Kc();s.Ob();)switch(r=u(s.Pb(),101),n=u(Fe(r.j,0),113).d.j,o=new Uu(r.j),ua(o,new IX),e.g){case 1:_st(t,o,n,(Zv(),p2),1);break;case 0:h=J2n(o),_st(t,new Zd(o,0,h),n,(Zv(),p2),0),_st(t,new Zd(o,h,o.c.length),n,p2,1)}}function nvn(t,e){Z6();var n,r;if(n=Irt(q8(),e.tg()),n){if(r=n.j,_t(t,239))return urn(u(t,33))?Gu(r,(e1(),fa))||Gu(r,Un):Gu(r,(e1(),fa));if(_t(t,352))return Gu(r,(e1(),Rd));if(_t(t,186))return Gu(r,(e1(),qb));if(_t(t,354))return Gu(r,(e1(),tp))}return!0}function rvn(t,e,n){var r,s,o,h,d,w;if(s=n,o=s.ak(),W0(t.e,o)){if(o.hi()){for(r=u(t.g,119),h=0;h<t.i;++h)if(d=r[h],Pi(d,s)&&h!=e)throw et(new Bn(JI))}}else for(w=gu(t.e.Tg(),o),r=u(t.g,119),h=0;h<t.i;++h)if(d=r[h],w.rl(d.ak())&&h!=e)throw et(new Bn(iO));return u(l4(t,e,n),72)}function Oce(t,e){if(e instanceof Object)try{if(e.__java$exception=t,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var r=n.Zd();return r&&r.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch{}}function Pce(t,e){var n,r,s,o,h;if(r=e>>5,e&=31,r>=t.d)return t.e<0?(r2(),Cut):(r2(),Z7);if(o=t.d-r,s=Pt(Fr,ui,25,o+1,15,1),W0n(s,o,t.a,r,e),t.e<0){for(n=0;n<r&&t.a[n]==0;n++);if(n<r||e>0&&t.a[n]<<32-e){for(n=0;n<o&&s[n]==-1;n++)s[n]=0;n==o&&++o,++s[n]}}return h=new Y3(t.e,o,s),O_(h),h}function Nce(t){var e,n,r,s;return s=M1(t),n=new Ii(s),r=new oa(s),e=new ge,Hs(e,(!t.d&&(t.d=new Tn(aa,t,8,5)),t.d)),Hs(e,(!t.e&&(t.e=new Tn(aa,t,7,4)),t.e)),u(Hl(Cu(Xi(new En(null,new _n(e,16)),n),r),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[(j1(),Ly),Zl]))),21)}function Fce(t,e,n,r){var s,o,h,d,w;if(d=(po(),u(e,66).Oj()),W0(t.e,e)){if(e.hi()&&xq(t,e,r,_t(e,99)&&(u(e,18).Bb&co)!=0))throw et(new Bn(JI))}else for(w=gu(t.e.Tg(),e),s=u(t.g,119),h=0;h<t.i;++h)if(o=s[h],w.rl(o.ak()))throw et(new Bn(iO));J_(t,B4t(t,e,n),d?u(r,72):Jd(e,r))}function W0(t,e){po();var n,r,s;return e.$j()?!0:e.Zj()==-2?e==(ox(),Kx)||e==Wx||e==Mft||e==Dft?!0:(s=t.Tg(),rs(s,e)>=0?!1:(n=T4((Yu(),Fa),s,e),n?(r=n.Zj(),(r>1||r==-1)&&jv(Ro(Fa,n))!=3):!0)):!1}function ivn(t,e,n,r){var s,o,h,d,w;return d=Go(u(At((!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b),0),82)),w=Go(u(At((!e.c&&(e.c=new Tn(Lr,e,5,8)),e.c),0),82)),gs(d)==gs(w)||Zm(w,d)?null:(h=aD(e),h==n?r:(o=u(cr(t.a,h),10),o&&(s=o.e,s)?s:null))}function svn(t,e){var n;switch(n=u(K(t,(Te(),tG)),276),Dr(e,"Label side selection ("+n+")",1),n.g){case 0:Xoe(t,(Wl(),d0));break;case 1:Xoe(t,(Wl(),k2));break;case 2:hle(t,(Wl(),d0));break;case 3:hle(t,(Wl(),k2));break;case 4:Uce(t,(Wl(),d0));break;case 5:Uce(t,(Wl(),k2))}br(e)}function L5t(t,e,n){var r,s,o,h,d,w;if(r=VKe(n,t.length),h=t[r],h[0].k==(Yn(),Fs))for(o=Xqt(n,h.length),w=e.j,s=0;s<w.c.length;s++)d=(An(s,w.c.length),u(w.c[s],11)),(n?d.j==(ye(),Wn):d.j==(ye(),jn))&&je(Be(K(d,(oe(),_O))))&&(gh(w,s,u(K(h[o],(oe(),Bi)),11)),o+=n?1:-1)}function avn(t,e){var n,r,s,o,h;h=new ge,n=e;do o=u(cr(t.b,n),128),o.B=n.c,o.D=n.d,h.c[h.c.length]=o,n=u(cr(t.k,n),17);while(n);return r=(An(0,h.c.length),u(h.c[0],128)),r.j=!0,r.A=u(r.d.a.ec().Kc().Pb(),17).c.i,s=u(Fe(h,h.c.length-1),128),s.q=!0,s.C=u(s.d.a.ec().Kc().Pb(),17).d.i,h}function Bce(t){if(t.g==null)switch(t.p){case 0:t.g=lrn(t)?(Rn(),X7):(Rn(),Ob);break;case 1:t.g=CD(Vin(t));break;case 2:t.g=ND(Qrn(t));break;case 3:t.g=Pen(t);break;case 4:t.g=new O3(Oen(t));break;case 6:t.g=bb(Nen(t));break;case 5:t.g=ve(Jnn(t));break;case 7:t.g=n7(Win(t))}return t.g}function M5t(t){if(t.n==null)switch(t.p){case 0:t.n=hrn(t)?(Rn(),X7):(Rn(),Ob);break;case 1:t.n=CD(Gin(t));break;case 2:t.n=ND(Zrn(t));break;case 3:t.n=Ben(t);break;case 4:t.n=new O3(Ren(t));break;case 6:t.n=bb(Fen(t));break;case 5:t.n=ve(trn(t));break;case 7:t.n=n7(Uin(t))}return t.n}function Rce(t){var e,n,r,s,o,h,d;for(o=new S(t.a.a);o.a<o.c.c.length;)r=u(Q(o),307),r.g=0,r.i=0,r.e.a.$b();for(s=new S(t.a.a);s.a<s.c.c.length;)for(r=u(Q(s),307),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),57),d=e.c.Kc();d.Ob();)h=u(d.Pb(),57),h.a!=r&&(Ys(r.e,h),++h.a.g,++h.a.i)}function ovn(t,e){var n,r,s,o,h,d;if(d=ZM(t.a,e.b),!d)throw et(new Xo("Invalid hitboxes for scanline overlap calculation."));for(h=!1,o=(r=new v_(new g_(new y(t.a.a).a).b),new g(r));kM(o.a.a);)if(s=(n=yj(o.a),u(n.cd(),65)),_cn(e.b,s))YKe(t.b.a,e.b,s),h=!0;else if(h)break}function cvn(t){var e,n,r,s,o;s=u(K(t,(Te(),Rb)),21),o=u(K(t,aG),21),n=new $e(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new No(n),s.Hc((Fl(),Xy))&&(r=u(K(t,b9),8),o.Hc((ml(),D9))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),eyn(t,n,e)}function jce(t,e){var n,r,s,o,h,d,w,k,_,M,B;s=e?new KX:new YX,o=!1;do for(o=!1,k=e?cb(t.b):t.b,w=k.Kc();w.Ob();)for(d=u(w.Pb(),29),B=Hv(d.a),e||new wv(B),M=new S(B);M.a<M.c.c.length;)_=u(Q(M),10),s.Mb(_)&&(r=_,n=u(K(_,(oe(),Aw)),305),h=e?n.b:n.k,o=aue(r,h,e,!1));while(o)}function uvn(t,e,n){var r,s,o,h,d;for(Dr(n,"Longest path layering",1),t.a=e,d=t.a.a,t.b=Pt(Fr,ui,25,d.c.length,15,1),r=0,h=new S(d);h.a<h.c.c.length;)s=u(Q(h),10),s.p=r,t.b[r]=-1,++r;for(o=new S(d);o.a<o.c.c.length;)s=u(Q(o),10),oce(t,s);d.c=Pt(ir,De,1,0,5,1),t.a=null,t.b=null,br(n)}function lvn(t,e){var n,r,s;e.a?(ZM(t.b,e.b),t.a[e.b.i]=u(gnt(t.b,e.b),81),n=u(dnt(t.b,e.b),81),n&&(t.a[n.i]=e.b)):(r=u(gnt(t.b,e.b),81),r&&r==t.a[e.b.i]&&r.d&&r.d!=e.b.d&&r.f.Fc(e.b),s=u(dnt(t.b,e.b),81),s&&t.a[s.i]==e.b&&s.d&&s.d!=e.b.d&&e.b.f.Fc(s),ent(t.b,e.b))}function $ce(t,e){var n,r,s,o,h,d;return o=t.d,d=Zt(ke(K(t,(Te(),Xg)))),d<0&&(d=0,ne(t,Xg,d)),e.o.b=d,h=b.Math.floor(d/2),r=new zc,Qs(r,(ye(),jn)),ac(r,e),r.n.b=h,s=new zc,Qs(s,Wn),ac(s,e),s.n.b=h,ya(t,r),n=new $v,Vo(n,t),ne(n,zo,null),Wa(n,s),ya(n,o),bmn(e,t,n),mgn(t,n),n}function hvn(t){var e,n;return n=u(K(t,(oe(),tu)),21),e=new ra,n.Hc((Eo(),vS))&&(Ul(e,_me),Ul(e,K_t)),(n.Hc(d9)||je(Be(K(t,(Te(),Ylt)))))&&(Ul(e,K_t),n.Hc(U4)&&Ul(e,Sme)),n.Hc(Th)&&Ul(e,Tme),n.Hc(wS)&&Ul(e,Ame),n.Hc(zV)&&Ul(e,Cme),n.Hc(h9)&&Ul(e,kme),n.Hc(f9)&&Ul(e,Eme),e}function fvn(t,e){var n,r,s,o,h,d,w,k,_,M,B;return r=t.d,o=e.d,d=r+o,w=t.e!=e.e?-1:1,d==2?(_=za(Xs(t.a[0],To),Xs(e.a[0],To)),B=$r(_),M=$r(zm(_,32)),M==0?new Og(w,B):new Y3(w,2,ct(ot(Fr,1),ui,25,15,[B,M]))):(n=t.a,s=e.a,h=Pt(Fr,ui,25,d,15,1),Aun(n,r,s,o,h),k=new Y3(w,d,h),O_(k),k)}function zce(t,e,n,r){var s,o;if(e){if(s=t.a.ue(n.d,e.d),s==0)return r.d=Xbt(e,n.e),r.b=!0,e;o=s<0?0:1,e.a[o]=zce(t,e.a[o],n,r),Am(e.a[o])&&(Am(e.a[1-o])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Am(e.a[o].a[o])?e=iz(e,1-o):Am(e.a[o].a[1-o])&&(e=rZt(e,1-o)))}else return n;return e}function qce(t,e,n){var r,s,o,h;s=t.i,r=t.n,cmt(t,(Jf(),wc),s.c+r.b,n),cmt(t,mc,s.c+s.b-r.c-n[2],n),h=s.b-r.b-r.c,n[0]>0&&(n[0]+=t.d,h-=n[0]),n[2]>0&&(n[2]+=t.d,h-=n[2]),o=b.Math.max(0,h),n[1]=b.Math.max(n[1],h),cmt(t,uu,s.c+r.b+n[0]-(n[1]-h)/2,n),e==uu&&(t.c.b=o,t.c.c=s.c+r.b+(o-h)/2)}function Hce(){this.c=Pt(wa,Io,25,(ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])).length,15,1),this.b=Pt(wa,Io,25,ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn]).length,15,1),this.a=Pt(wa,Io,25,ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn]).length,15,1),w2t(this.c,ms),w2t(this.b,Rs),w2t(this.a,Rs)}function Yc(t,e,n){var r,s,o,h;if(e<=n?(s=e,o=n):(s=n,o=e),r=0,t.b==null)t.b=Pt(Fr,ui,25,2,15,1),t.b[0]=s,t.b[1]=o,t.c=!0;else{if(r=t.b.length,t.b[r-1]+1==s){t.b[r-1]=o;return}h=Pt(Fr,ui,25,r+2,15,1),qc(t.b,0,h,0,r),t.b=h,t.b[r-1]>=s&&(t.c=!1,t.a=!1),t.b[r++]=s,t.b[r]=o,t.c||v4(t)}}function dvn(t,e,n){var r,s,o,h,d,w,k;for(k=e.d,t.a=new iu(k.c.length),t.c=new Br,d=new S(k);d.a<d.c.c.length;)h=u(Q(d),101),o=new ID(null),de(t.a,o),Ni(t.c,h,o);for(t.b=new Br,kgn(t,e),r=0;r<k.c.length-1;r++)for(w=u(Fe(e.d,r),101),s=r+1;s<k.c.length;s++)nbn(t,w,u(Fe(e.d,s),101),n)}function Vce(t,e,n){var r,s,o,h,d,w;if(!A8(e)){for(w=Kc(n,(_t(e,14)?u(e,14).gc():F0(e.Kc()))/t.a|0),Dr(w,T1e,1),d=new WQ,h=0,o=e.Kc();o.Ob();)r=u(o.Pb(),86),d=B1(ct(ot(G1,1),De,20,0,[d,new Lp(r)])),h<r.f.b&&(h=r.f.b);for(s=e.Kc();s.Ob();)r=u(s.Pb(),86),ne(r,(Sc(),EG),h);br(w),Vce(t,d,n)}}function gvn(t,e){var n,r,s,o,h,d,w;for(n=Rs,d=(Yn(),Ws),s=new S(e.a);s.a<s.c.c.length;)r=u(Q(s),10),o=r.k,o!=Ws&&(h=ke(K(r,(oe(),QEt))),h==null?(n=b.Math.max(n,0),r.n.b=n+Sbt(t.a,o,d)):r.n.b=(Pn(h),h)),w=Sbt(t.a,o,d),r.n.b<n+w+r.d.d&&(r.n.b=n+w+r.d.d),n=r.n.b+r.o.b+r.d.a,d=o}function pvn(t,e,n){var r,s,o,h,d,w,k,_,M;for(o=y4(e,!1,!1),k=cI(o),M=Zt(ke(He(e,(iC(),$ut)))),s=Ihe(k,M+t.a),_=new Gst(s),Vo(_,e),Ni(t.b,e,_),n.c[n.c.length]=_,w=(!e.n&&(e.n=new pe(nc,e,1,7)),e.n),d=new hr(w);d.e!=d.i.gc();)h=u(Tr(d),137),r=mI(t,h,!0,0,0),n.c[n.c.length]=r;return _}function Gce(t,e,n,r,s){var o,h,d,w,k,_;if(t.d&&t.d.lg(s),o=u(s.Xb(0),33),Zie(t,n,o,!1)||(h=u(s.Xb(s.gc()-1),33),Zie(t,r,h,!0))||A4t(t,s))return!0;for(_=s.Kc();_.Ob();)for(k=u(_.Pb(),33),w=e.Kc();w.Ob();)if(d=u(w.Pb(),33),pq(t,k,d))return!0;return!1}function bvn(t,e,n){var r,s,o,h,d,w,k,_,M,B;B=e.c.length,M=(k=t.Yg(n),u(k>=0?t._g(k,!1,!0):uw(t,n,!1),58));t:for(o=M.Kc();o.Ob();){for(s=u(o.Pb(),56),_=0;_<B;++_)if(h=(An(_,e.c.length),u(e.c[_],72)),w=h.dd(),d=h.ak(),r=s.bh(d,!1),w==null?r!=null:!Pi(w,r))continue t;return s}return null}function vvn(t,e,n,r){var s,o,h,d;for(s=u(qg(e,(ye(),jn)).Kc().Pb(),11),o=u(qg(e,Wn).Kc().Pb(),11),d=new S(t.j);d.a<d.c.c.length;){for(h=u(Q(d),11);h.e.c.length!=0;)ya(u(Fe(h.e,0),17),s);for(;h.g.c.length!=0;)Wa(u(Fe(h.g,0),17),o)}n||ne(e,(oe(),o1),null),r||ne(e,(oe(),Uh),null)}function y4(t,e,n){var r,s;if((!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i==0)return pyt(t);if(r=u(At((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),0),202),e&&(Pr((!r.a&&(r.a=new qs(Qh,r,5)),r.a)),R8(r,0),$8(r,0),B8(r,0),j8(r,0)),n)for(s=(!t.a&&(t.a=new pe(fs,t,6,6)),t.a);s.i>1;)dy(s,s.i-1);return r}function wvn(t,e){var n,r,s,o,h,d,w;for(Dr(e,"Comment post-processing",1),o=new S(t.b);o.a<o.c.c.length;){for(s=u(Q(o),29),r=new ge,d=new S(s.a);d.a<d.c.c.length;)h=u(Q(d),10),w=u(K(h,(oe(),Nx)),15),n=u(K(h,Mx),15),(w||n)&&(m4n(h,w,n),w&&Hs(r,w),n&&Hs(r,n));Hs(s.a,r)}br(e)}function Uce(t,e){var n,r,s,o,h,d,w;for(n=new F3,o=new S(t.b);o.a<o.c.c.length;){for(s=u(Q(o),29),w=!0,r=0,d=new S(s.a);d.a<d.c.c.length;)switch(h=u(Q(d),10),h.k.g){case 4:++r;case 1:Kwt(n,h);break;case 0:wgn(h,e);default:n.b==n.c||Nue(n,r,w,!1,e),w=!1,r=0}n.b==n.c||Nue(n,r,w,!0,e)}}function mvn(t,e){var n,r,s,o,h,d,w;for(s=new ge,n=0;n<=t.i;n++)r=new Oh(e),r.p=t.i-n,s.c[s.c.length]=r;for(d=new S(t.o);d.a<d.c.c.length;)h=u(Q(d),10),Bo(h,u(Fe(s,t.i-t.f[h.p]),29));for(o=new S(s);o.a<o.c.c.length;)w=u(Q(o),29),w.a.c.length==0&&C_(o);e.b.c=Pt(ir,De,1,0,5,1),Hs(e.b,s)}function D5t(t,e){var n,r,s,o,h,d;for(n=0,d=new S(e);d.a<d.c.c.length;){for(h=u(Q(d),11),Pyt(t.b,t.d[h.p]),s=new N1(h.b);sc(s.a)||sc(s.b);)r=u(sc(s.a)?Q(s.a):Q(s.b),17),o=a2t(t,h==r.c?r.d:r.c),o>t.d[h.p]&&(n+=nmt(t.b,o),Up(t.a,ve(o)));for(;!PT(t.a);)Omt(t.b,u(B6(t.a),19).a)}return n}function Wce(t,e,n){var r,s,o,h;for(o=(!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i,s=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));s.e!=s.i.gc();)r=u(Tr(s),33),(!r.a&&(r.a=new pe(bs,r,10,11)),r.a).i==0||(o+=Wce(t,r,!1));if(n)for(h=gs(e);h;)o+=(!h.a&&(h.a=new pe(bs,h,10,11)),h.a).i,h=gs(h);return o}function dy(t,e){var n,r,s,o;return t.ej()?(r=null,s=t.fj(),t.ij()&&(r=t.kj(t.pi(e),null)),n=t.Zi(4,o=ix(t,e),null,e,s),t.bj()&&o!=null&&(r=t.dj(o,r)),r?(r.Ei(n),r.Fi()):t.$i(n),o):(o=ix(t,e),t.bj()&&o!=null&&(r=t.dj(o,null),r&&r.Fi()),o)}function yvn(t){var e,n,r,s,o,h,d,w,k,_;for(k=t.a,e=new na,w=0,r=new S(t.d);r.a<r.c.c.length;){for(n=u(Q(r),222),_=0,n4(n.b,new Ga),h=gi(n.b,0);h.b!=h.d.c;)o=u(di(h),222),e.a._b(o)&&(s=n.c,d=o.c,_<d.d+d.a+k&&_+s.a+k>d.d&&(_=d.d+d.a+k));n.c.d=_,e.a.zc(n,e),w=b.Math.max(w,n.c.d+n.c.a)}return w}function Eo(){Eo=X,$V=new Im("COMMENTS",0),Th=new Im("EXTERNAL_PORTS",1),vS=new Im("HYPEREDGES",2),zV=new Im("HYPERNODES",3),d9=new Im("NON_FREE_PORTS",4),U4=new Im("NORTH_SOUTH_PORTS",5),wS=new Im(o1e,6),h9=new Im("CENTER_LABELS",7),f9=new Im("END_LABELS",8),qV=new Im("PARTITIONS",9)}function gy(t){var e,n,r,s,o;for(s=new ge,e=new y_((!t.a&&(t.a=new pe(bs,t,10,11)),t.a)),r=new pr(xr(U0(t).a.Kc(),new H));ti(r);)n=u(qr(r),79),_t(At((!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b),0),186)||(o=Go(u(At((!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c),0),82)),e.a._b(o)||(s.c[s.c.length]=o));return s}function xvn(t){var e,n,r,s,o,h;for(o=new na,e=new y_((!t.a&&(t.a=new pe(bs,t,10,11)),t.a)),s=new pr(xr(U0(t).a.Kc(),new H));ti(s);)r=u(qr(s),79),_t(At((!r.b&&(r.b=new Tn(Lr,r,4,7)),r.b),0),186)||(h=Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82)),e.a._b(h)||(n=o.a.zc(h,o),n==null));return o}function kvn(t,e,n,r,s){return r<0?(r=b4(t,s,ct(ot(Le,1),re,2,6,[$at,zat,qat,Hat,hx,Vat,Gat,Uat,Wat,Kat,Yat,Xat]),e),r<0&&(r=b4(t,s,ct(ot(Le,1),re,2,6,["Jan","Feb","Mar","Apr",hx,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function Evn(t,e,n,r,s){return r<0?(r=b4(t,s,ct(ot(Le,1),re,2,6,[$at,zat,qat,Hat,hx,Vat,Gat,Uat,Wat,Kat,Yat,Xat]),e),r<0&&(r=b4(t,s,ct(ot(Le,1),re,2,6,["Jan","Feb","Mar","Apr",hx,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function Tvn(t,e,n,r,s,o){var h,d,w,k;if(d=32,r<0){if(e[0]>=t.length||(d=Oa(t,e[0]),d!=43&&d!=45)||(++e[0],r=sq(t,e),r<0))return!1;d==45&&(r=-r)}return d==32&&e[0]-n==2&&s.b==2&&(w=new AR,k=w.q.getFullYear()-a2+a2-80,h=k%100,o.a=r==h,r+=(k/100|0)*100+(r<h?100:0)),o.p=r,!0}function Kce(t,e){var n,r,s,o,h;gs(t)&&(h=u(K(e,(Te(),Rb)),174),Ut(He(t,xs))===Ut((ka(),T2))&&Do(t,xs,Q1),r=(Dm(),new Sm(gs(t))),o=new rnt(gs(t)?new Sm(gs(t)):null,t),s=ihe(r,o,!1,!0),kf(h,(Fl(),Xy)),n=u(K(e,b9),8),n.a=b.Math.max(s.a,n.a),n.b=b.Math.max(s.b,n.b))}function _vn(t,e,n){var r,s,o,h,d,w;for(h=u(K(t,(oe(),Plt)),15).Kc();h.Ob();){switch(o=u(h.Pb(),10),u(K(o,(Te(),bu)),163).g){case 2:Bo(o,e);break;case 4:Bo(o,n)}for(s=new pr(xr(H0(o).a.Kc(),new H));ti(s);)r=u(qr(s),17),!(r.c&&r.d)&&(d=!r.d,w=u(K(r,JEt),11),d?ya(r,w):Wa(r,w))}}function gq(){gq=X,llt=new j6($q,0,(ye(),Nn),Nn),dlt=new j6(kot,1,Ir,Ir),ult=new j6(xot,2,Wn,Wn),blt=new j6(Eot,3,jn,jn),flt=new j6("NORTH_WEST_CORNER",4,jn,Nn),hlt=new j6("NORTH_EAST_CORNER",5,Nn,Wn),plt=new j6("SOUTH_WEST_CORNER",6,Ir,jn),glt=new j6("SOUTH_EAST_CORNER",7,Wn,Ir)}function x4(){x4=X,vSt=ct(ot(O2,1),aot,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function Yce(t,e){var n,r,s,o,h;if(t.c.length==0)return new Ca(ve(0),ve(0));for(n=(An(0,t.c.length),u(t.c[0],11)).j,h=0,o=e.g,r=e.g+1;h<t.c.length-1&&n.g<o;)++h,n=(An(h,t.c.length),u(t.c[h],11)).j;for(s=h;s<t.c.length-1&&n.g<r;)++s,n=(An(h,t.c.length),u(t.c[h],11)).j;return new Ca(ve(h),ve(s))}function Cvn(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(o=e.c.length,h=(An(n,e.c.length),u(e.c[n],286)),d=h.a.o.a,M=h.c,B=0,k=h.c;k<=h.f;k++){if(d<=t.a[k])return k;for(_=t.a[k],w=null,s=n+1;s<o;s++)r=(An(s,e.c.length),u(e.c[s],286)),r.c<=k&&r.f>=k&&(w=r);w&&(_=b.Math.max(_,w.a.o.a)),_>B&&(M=k,B=_)}return M}function Svn(t,e,n){var r,s,o;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,(t.e&16)==16&&(t.i=dwn(t.i)),t.j=t.i.length,Ci(t),o=iw(t),t.d!=t.j)throw et(new Kr(ei((Ur(),Lde))));if(t.g){for(r=0;r<t.g.a.c.length;r++)if(s=u(Bv(t.g,r),584),t.f<=s.a)throw et(new Kr(ei((Ur(),Mde))));t.g.a.c=Pt(ir,De,1,0,5,1)}return o}function Avn(t,e){var n,r,s;if(e==null){for(r=(!t.a&&(t.a=new pe(rg,t,9,5)),new hr(t.a));r.e!=r.i.gc();)if(n=u(Tr(r),678),s=n.c,(s??n.zb)==null)return n}else for(r=(!t.a&&(t.a=new pe(rg,t,9,5)),new hr(t.a));r.e!=r.i.gc();)if(n=u(Tr(r),678),ln(e,(s=n.c,s??n.zb)))return n;return null}function Jst(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((Ei(),oft))&&(n=u(t.e.We(oft),249));break;case 3:t.e.Xe((Ei(),cft))&&(n=u(t.e.We(cft),249));break;case 2:t.e.Xe((Ei(),aft))&&(n=u(t.e.We(aft),249));break;case 4:t.e.Xe((Ei(),uft))&&(n=u(t.e.We(uft),249))}return!n&&(n=u(t.e.We((Ei(),KSt)),249)),n}function Xce(t,e,n){var r,s,o,h,d,w,k,_,M;for(e.p=1,o=e.c,M=rw(e,(xo(),lu)).Kc();M.Ob();)for(_=u(M.Pb(),11),s=new S(_.g);s.a<s.c.c.length;)r=u(Q(s),17),k=r.d.i,e!=k&&(h=k.c,h.p<=o.p&&(d=o.p+1,d==n.b.c.length?(w=new Oh(n),w.p=d,de(n.b,w),Bo(k,w)):(w=u(Fe(n.b,d),29),Bo(k,w)),Xce(t,k,n)))}function Qce(t,e,n){var r,s,o,h,d,w;for(s=n,o=0,d=new S(e);d.a<d.c.c.length;)h=u(Q(d),33),Do(h,(ay(),AG),ve(s++)),w=gy(h),r=b.Math.atan2(h.j+h.f/2,h.i+h.g/2),r+=r<0?I4:0,r<.7853981633974483||r>M1e?ua(w,t.b):r<=M1e&&r>D1e?ua(w,t.d):r<=D1e&&r>I1e?ua(w,t.c):r<=I1e&&ua(w,t.a),o=Qce(t,w,o);return s}function r2(){r2=X;var t;for(UH=new Og(1,1),Sut=new Og(1,10),Z7=new Og(0,0),Cut=new Og(-1,1),p7t=ct(ot(R4,1),re,91,0,[Z7,UH,new Og(1,2),new Og(1,3),new Og(1,4),new Og(1,5),new Og(1,6),new Og(1,7),new Og(1,8),new Og(1,9),Sut]),WH=Pt(R4,re,91,32,0,1),t=0;t<WH.length;t++)WH[t]=QD(I0(1,t))}function Lvn(t,e,n,r,s,o){var h,d,w,k;for(d=!jT(Xi(t.Oc(),new te(new NY))).sd((Y2(),t9)),h=t,o==(ko(),tg)&&(h=_t(h,152)?U6(u(h,152)):_t(h,131)?u(h,131).a:_t(h,54)?new wv(h):new Mm(h)),k=h.Kc();k.Ob();)w=u(k.Pb(),70),w.n.a=e.a,d?w.n.b=e.b+(r.b-w.o.b)/2:s?w.n.b=e.b:w.n.b=e.b+r.b-w.o.b,e.a+=w.o.a+n}function Zce(t,e,n,r){var s,o,h,d,w,k;for(s=(r.c+r.a)/2,Ph(e.j),pi(e.j,s),Ph(n.e),pi(n.e,s),k=new rHt,d=new S(t.f);d.a<d.c.c.length;)o=u(Q(d),129),w=o.a,Est(k,e,w),Est(k,n,w);for(h=new S(t.k);h.a<h.c.c.length;)o=u(Q(h),129),w=o.b,Est(k,e,w),Est(k,n,w);return k.b+=2,k.a+=IXt(e,t.q),k.a+=IXt(t.q,n),k}function Jce(t,e,n){var r,s,o,h,d;if(!A8(e)){for(d=Kc(n,(_t(e,14)?u(e,14).gc():F0(e.Kc()))/t.a|0),Dr(d,T1e,1),h=new qF,o=null,s=e.Kc();s.Ob();)r=u(s.Pb(),86),h=B1(ct(ot(G1,1),De,20,0,[h,new Lp(r)])),o&&(ne(o,(Sc(),Wme),r),ne(r,Sht,o),zrt(r)==zrt(o)&&(ne(o,Aht,r),ne(r,kG,o))),o=r;br(d),Jce(t,h,n)}}function tue(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.d,t.f==(Lu(),d2)?d+=(n.a-t.e.b)/2:t.f==Sf&&(d+=n.a-t.e.b),s=new S(t.d);s.a<s.c.c.length;){switch(r=u(Q(s),181),h=r.rf(),o=new $a,o.b=d,d+=h.b+t.a,t.b.g){case 0:o.a=n.c+e.b;break;case 1:o.a=n.c+e.b+(n.b-h.a)/2;break;case 2:o.a=n.c+n.b-e.c-h.a}r.tf(o)}}function eue(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.c,t.b==(ol(),f2)?d+=(n.b-t.e.a)/2:t.b==Cf&&(d+=n.b-t.e.a),s=new S(t.d);s.a<s.c.c.length;){switch(r=u(Q(s),181),h=r.rf(),o=new $a,o.a=d,d+=h.a+t.a,t.f.g){case 0:o.b=n.d+e.d;break;case 1:o.b=n.d+e.d+(n.a-h.b)/2;break;case 2:o.b=n.d+n.a-e.a-h.b}r.tf(o)}}function Mvn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;_=n.a.c,h=n.a.c+n.a.b,o=u(cr(n.c,e),459),q=o.f,G=o.a,w=new $e(_,q),M=new $e(h,G),s=_,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new $e(s,q),B=new $e(s,G),z_(e.a,ct(ot(sa,1),re,8,0,[w,k])),d=n.d.a.gc()>1,d&&(r=new $e(s,n.b),pi(e.a,r)),z_(e.a,ct(ot(sa,1),re,8,0,[B,M]))}function nue(t){Cv(t,new yb(kv(mv(xv(yv(new mg,mH),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new zZ))),Ee(t,mH,vw,_At),Ee(t,mH,ky,15),Ee(t,mH,Gq,ve(0)),Ee(t,mH,vx,R7)}function I5t(){I5t=X;var t,e,n,r,s,o;for(lA=Pt(tl,N4,25,255,15,1),hU=Pt(Sh,Td,25,16,15,1),e=0;e<255;e++)lA[e]=-1;for(n=57;n>=48;n--)lA[n]=n-48<<24>>24;for(r=70;r>=65;r--)lA[r]=r-65+10<<24>>24;for(s=102;s>=97;s--)lA[s]=s-97+10<<24>>24;for(o=0;o<10;o++)hU[o]=48+o&Ps;for(t=10;t<=15;t++)hU[t]=65+t-10&Ps}function pq(t,e,n){var r,s,o,h,d,w,k,_;return d=e.i-t.g/2,w=n.i-t.g/2,k=e.j-t.g/2,_=n.j-t.g/2,o=e.g+t.g/2,h=n.g+t.g/2,r=e.f+t.g/2,s=n.f+t.g/2,d<w+h&&w<d&&k<_+s&&_<k||w<d+o&&d<w&&_<k+r&&k<_||d<w+h&&w<d&&k<_&&_<k+r?!0:w<d+o&&d<w&&k<_+s&&_<k}function Dvn(t){var e,n,r,s,o;s=u(K(t,(Te(),Rb)),21),o=u(K(t,aG),21),n=new $e(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new No(n),s.Hc((Fl(),Xy))&&(r=u(K(t,b9),8),o.Hc((ml(),D9))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),je(Be(K(t,Zlt)))||tyn(t,n,e)}function Ivn(t,e){var n,r,s,o;for(o=uc(e,(ye(),Ir)).Kc();o.Ob();)r=u(o.Pb(),11),n=u(K(r,(oe(),ul)),10),n&&Tf(gf(df(pf(ff(new Dh,0),.1),t.i[e.p].d),t.i[n.p].a));for(s=uc(e,Nn).Kc();s.Ob();)r=u(s.Pb(),11),n=u(K(r,(oe(),ul)),10),n&&Tf(gf(df(pf(ff(new Dh,0),.1),t.i[n.p].d),t.i[e.p].a))}function tat(t){var e,n,r,s,o,h;if(!t.c){if(h=new r6,e=aA,o=e.a.zc(t,e),o==null){for(r=new hr($c(t));r.e!=r.i.gc();)n=u(Tr(r),87),s=yq(n),_t(s,88)&&vs(h,tat(u(s,26))),Hr(h,n);e.a.Bc(t)!=null,e.a.gc()==0}Oln(h),ey(h),t.c=new H3((u(At(Kt((Hp(),Ln).o),15),18),h.i),h.g),gl(t).b&=-33}return t.c}function O5t(t){var e;if(t.c!=10)throw et(new Kr(ei((Ur(),TH))));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 et(new Kr(ei((Ur(),kh))))}return e}function rue(t){var e,n,r,s,o;if(t.l==0&&t.m==0&&t.h==0)return"0";if(t.h==PI&&t.m==0&&t.l==0)return"-9223372036854775808";if(t.h>>19)return"-"+rue(X8(t));for(n=t,r="";!(n.l==0&&n.m==0&&n.h==0);){if(s=Ort(Fq),n=l6t(n,s,!0),e=""+pHt(h2),!(n.l==0&&n.m==0&&n.h==0))for(o=9-e.length;o>0;o--)e="0"+e;r=e+r}return r}function Ovn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);if(e[t]!==void 0)return!1;var n=Object.getOwnPropertyNames(e);return!(n.length!=0||(e[t]=42,e[t]!==42)||Object.getOwnPropertyNames(e).length==0)}function Pvn(t){var e,n,r,s,o,h,d;for(e=!1,n=0,s=new S(t.d.b);s.a<s.c.c.length;)for(r=u(Q(s),29),r.p=n++,h=new S(r.a);h.a<h.c.c.length;)o=u(Q(h),10),!e&&!A8(H0(o))&&(e=!0);d=Qi((ko(),f0),ct(ot(WS,1),ue,103,0,[Wh,Lf])),e||(kf(d,tg),kf(d,J0)),t.a=new ree(d),al(t.f),al(t.b),al(t.e),al(t.g)}function Nvn(t,e,n){var r,s,o,h,d,w,k,_,M;for(r=n.c,s=n.d,d=I1(e.c),w=I1(e.d),r==e.c?(d=m5t(t,d,s),w=lae(e.d)):(d=lae(e.c),w=m5t(t,w,s)),k=new kR(e.a),Cs(k,d,k.a,k.a.a),Cs(k,w,k.c.b,k.c),h=e.c==r,M=new Kzt,o=0;o<k.b-1;++o)_=new Ca(u(n1(k,o),8),u(n1(k,o+1),8)),h&&o==0||!h&&o==k.b-2?M.b=_:de(M.a,_);return M}function Fvn(t,e){var n,r,s,o;if(o=t.j.g-e.j.g,o!=0)return o;if(n=u(K(t,(Te(),Qg)),19),r=u(K(e,Qg),19),n&&r&&(s=n.a-r.a,s!=0))return s;switch(t.j.g){case 1:return Vs(t.n.a,e.n.a);case 2:return Vs(t.n.b,e.n.b);case 3:return Vs(e.n.a,t.n.a);case 4:return Vs(e.n.b,t.n.b);default:throw et(new Xo(dxt))}}function P5t(t,e,n,r){var s,o,h,d,w;if(F0((WM(),new pr(xr(H0(e).a.Kc(),new H))))>=t.a||!m4t(e,n))return-1;if(A8(u(r.Kb(e),20)))return 1;for(s=0,h=u(r.Kb(e),20).Kc();h.Ob();)if(o=u(h.Pb(),17),w=o.c.i==e?o.d.i:o.c.i,d=P5t(t,w,n,r),d==-1||(s=b.Math.max(s,d),s>t.c-1))return-1;return s+1}function iue(t,e){var n,r,s,o,h,d;if(Ut(e)===Ut(t))return!0;if(!_t(e,15)||(r=u(e,15),d=t.gc(),r.gc()!=d))return!1;if(h=r.Kc(),t.ni()){for(n=0;n<d;++n)if(s=t.ki(n),o=h.Pb(),s==null?o!=null:!Pi(s,o))return!1}else for(n=0;n<d;++n)if(s=t.ki(n),o=h.Pb(),Ut(s)!==Ut(o))return!1;return!0}function sue(t,e){var n,r,s,o,h,d;if(t.f>0){if(t.qj(),e!=null){for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,367),d=n.i,h=0;h<d;++h)if(s=r[h],Pi(e,s.dd()))return!0}}else for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,367),d=n.i,h=0;h<d;++h)if(s=r[h],Ut(e)===Ut(s.dd()))return!0}}return!1}function Bvn(t,e,n){var r,s,o,h;Dr(n,"Orthogonally routing hierarchical port edges",1),t.a=0,r=_yn(e),L3n(e,r),l3n(t,e,r),A4n(e),s=u(K(e,(Te(),xs)),98),o=e.b,nhe((An(0,o.c.length),u(o.c[0],29)),s,e),nhe(u(Fe(o,o.c.length-1),29),s,e),h=e.b,gle((An(0,h.c.length),u(h.c[0],29))),gle(u(Fe(h,h.c.length-1),29)),br(n)}function N5t(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>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 et(new gd("Invalid hexadecimal"))}}function Rvn(t,e,n){var r,s,o,h;for(Dr(n,"Processor order nodes",2),t.a=Zt(ke(K(e,(lw(),iCt)))),s=new hs,h=gi(e.b,0);h.b!=h.d.c;)o=u(di(h),86),je(Be(K(o,(Sc(),Wy))))&&Cs(s,o,s.c.b,s.c);r=(sr(s.b!=0),u(s.a.a.c,86)),Tle(t,r),!n.b&&iit(n,1),j5t(t,r,0-Zt(ke(K(r,(Sc(),EG))))/2,0),!n.b&&iit(n,1),br(n)}function bq(){bq=X,K7t=new $3("SPIRAL",0),V7t=new $3("LINE_BY_LINE",1),G7t=new $3("MANHATTAN",2),H7t=new $3("JITTER",3),Out=new $3("QUADRANTS_LINE_BY_LINE",4),W7t=new $3("QUADRANTS_MANHATTAN",5),U7t=new $3("QUADRANTS_JITTER",6),q7t=new $3("COMBINE_LINE_BY_LINE_MANHATTAN",7),z7t=new $3("COMBINE_JITTER_MANHATTAN",8)}function aue(t,e,n,r){var s,o,h,d,w,k;for(w=kst(t,n),k=kst(e,n),s=!1;w&&k&&(r||Pfn(w,k,n));)h=kst(w,n),d=kst(k,n),yD(e),yD(t),o=w.c,Cat(w,!1),Cat(k,!1),n?(oy(e,k.p,o),e.p=k.p,oy(t,w.p+1,o),t.p=w.p):(oy(t,w.p,o),t.p=w.p,oy(e,k.p+1,o),e.p=k.p),Bo(w,null),Bo(k,null),w=h,k=d,s=!0;return s}function jvn(t,e,n,r){var s,o,h,d,w;for(s=!1,o=!1,d=new S(r.j);d.a<d.c.c.length;)h=u(Q(d),11),Ut(K(h,(oe(),Bi)))===Ut(n)&&(h.g.c.length==0?h.e.c.length==0||(s=!0):o=!0);return w=0,s&&s^o?w=n.j==(ye(),Nn)?-t.e[r.c.p][r.p]:e-t.e[r.c.p][r.p]:o&&s^o?w=t.e[r.c.p][r.p]+1:s&&o&&(w=n.j==(ye(),Nn)?0:e/2),w}function eat(t,e,n,r,s,o,h,d){var w,k,_;for(w=0,e!=null&&(w^=zg(e.toLowerCase())),n!=null&&(w^=zg(n)),r!=null&&(w^=zg(r)),h!=null&&(w^=zg(h)),d!=null&&(w^=zg(d)),k=0,_=o.length;k<_;k++)w^=zg(o[k]);t?w|=256:w&=-257,s?w|=16:w&=-17,this.f=w,this.i=e==null?null:(Pn(e),e),this.a=n,this.d=r,this.j=o,this.g=h,this.e=d}function F5t(t,e,n){var r,s;switch(s=null,e.g){case 1:s=(Ku(),L9t);break;case 2:s=(Ku(),D9t)}switch(r=null,n.g){case 1:r=(Ku(),M9t);break;case 2:r=(Ku(),A9t);break;case 3:r=(Ku(),I9t);break;case 4:r=(Ku(),O9t)}return s&&r?P6(t.j,new bT(new Al(ct(ot(V5n,1),De,169,0,[u(zr(s),169),u(zr(r),169)])))):(pn(),pn(),mo)}function $vn(t){var e,n,r;switch(e=u(K(t,(Te(),b9)),8),ne(t,b9,new $e(e.b,e.a)),u(K(t,Fd),248).g){case 1:ne(t,Fd,(e0(),RG));break;case 2:ne(t,Fd,(e0(),FG));break;case 3:ne(t,Fd,(e0(),HO));break;case 4:ne(t,Fd,(e0(),VO))}(t.q?t.q:(pn(),pn(),l0))._b(Hy)&&(n=u(K(t,Hy),8),r=n.a,n.a=n.b,n.b=r)}function oue(t,e,n,r,s,o){if(this.b=n,this.d=s,t>=e.length)throw et(new Po("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new UM(r),cit(this.e,this.c,(ye(),jn)),this.i=new UM(r),cit(this.i,this.c,Wn),this.f=new iYt(this.c),this.a=!o&&s.i&&!s.s&&this.c[0].k==(Yn(),Fs),this.a&&ngn(this,t,e.length)}function cue(t,e){var n,r,s,o,h,d;o=!t.B.Hc((ml(),aP)),h=t.B.Hc(vft),t.a=new rie(h,o,t.c),t.n&&Twt(t.a.n,t.n),Jtt(t.g,(Jf(),uu),t.a),e||(r=new rC(1,o,t.c),r.n.a=t.k,N6(t.p,(ye(),Nn),r),s=new rC(1,o,t.c),s.n.d=t.k,N6(t.p,Ir,s),d=new rC(0,o,t.c),d.n.c=t.k,N6(t.p,jn,d),n=new rC(0,o,t.c),n.n.b=t.k,N6(t.p,Wn,n))}function zvn(t){var e,n,r;switch(e=u(K(t.d,(Te(),Z0)),218),e.g){case 2:n=v5n(t);break;case 3:n=(r=new ge,Ts(Xi(Cu(oc(oc(new En(null,new _n(t.d.b,16)),new _X),new CX),new $E),new pX),new Ntt(r)),r);break;default:throw et(new Xo("Compaction not supported for "+e+" edges."))}jyn(t,n),Pa(new Tm(t.g),new Ott(t))}function qvn(t,e){var n;return n=new E3,e&&Vo(n,u(cr(t.a,cP),94)),_t(e,470)&&Vo(n,u(cr(t.a,uP),94)),_t(e,354)?(Vo(n,u(cr(t.a,nc),94)),n):(_t(e,82)&&Vo(n,u(cr(t.a,Lr),94)),_t(e,239)?(Vo(n,u(cr(t.a,bs),94)),n):_t(e,186)?(Vo(n,u(cr(t.a,El),94)),n):(_t(e,352)&&Vo(n,u(cr(t.a,aa),94)),n))}function r1(){r1=X,e9=new bo((Ei(),HG),ve(1)),oV=new bo(Gb,80),Jpe=new bo(nAt,5),Vpe=new bo(zx,R7),Qpe=new bo(fft,ve(1)),Zpe=new bo(dft,(Rn(),!0)),h9t=new Lv(50),Ype=new bo(Vb,h9t),c9t=$G,f9t=US,Gpe=new bo(rft,!1),l9t=ZO,Kpe=x2,Wpe=Hb,Upe=a5,Xpe=Ky,u9t=(I4t(),Bpe),Gut=zpe,aV=Fpe,Vut=Rpe,d9t=$pe}function Hvn(t){var e,n,r,s,o,h,d,w;for(w=new lJt,d=new S(t.a);d.a<d.c.c.length;)if(h=u(Q(d),10),h.k!=(Yn(),Fs)){for(Hpn(w,h,new $a),o=new pr(xr(Gs(h).a.Kc(),new H));ti(o);)if(s=u(qr(o),17),!(s.c.i.k==Fs||s.d.i.k==Fs))for(r=gi(s.a,0);r.b!=r.d.c;)n=u(di(r),8),e=n,lC(w,new o8(e.a,e.b))}return w}function nat(){nat=X,oSt=new ns(Cct),aSt=(HT(),qO),sSt=new vn(Lct,aSt),iSt=(BD(),NG),v3e=new vn(Qkt,iSt),rSt=(oI(),Ght),b3e=new vn(Zkt,rSt),d3e=new vn(Sct,null),nSt=(gD(),OG),p3e=new vn(Act,nSt),eSt=(IR(),qht),u3e=new vn(Jkt,eSt),l3e=new vn(t8t,(Rn(),!1)),h3e=new vn(e8t,ve(64)),f3e=new vn(n8t,!0),g3e=Vht}function uue(t){var e,n,r,s,o,h;if(t.a==null)if(t.a=Pt(Tl,c0,25,t.c.b.c.length,16,1),t.a[0]=!1,ia(t.c,(Te(),iht)))for(r=u(K(t.c,iht),15),n=r.Kc();n.Ob();)e=u(n.Pb(),19).a,e>0&&e<t.a.length&&(t.a[e]=!1);else for(h=new S(t.c.b),h.a<h.c.c.length&&Q(h),s=1;h.a<h.c.c.length;)o=u(Q(h),29),t.a[s++]=T2n(o)}function lue(t,e){var n,r,s,o;switch(s=t.b,e){case 1:{t.b|=1,t.b|=4,t.b|=8;break}case 2:{t.b|=2,t.b|=4,t.b|=8;break}case 4:{t.b|=1,t.b|=2,t.b|=4,t.b|=8;break}case 3:{t.b|=16,t.b|=8;break}case 0:{t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4;break}}if(t.b!=s&&t.c)for(r=new hr(t.c);r.e!=r.i.gc();)o=u(Tr(r),473),n=gl(o),hy(n,e)}function hue(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G;for(s=!1,h=e,d=0,w=h.length;d<w;++d)o=h[d],je((Rn(),!!o.e))&&!u(Fe(t.b,o.e.p),214).s&&(s=s|(k=o.e,_=u(Fe(t.b,k.p),214),M=_.e,B=Xqt(n,M.length),q=M[B][0],q.k==(Yn(),Fs)?M[B]=Tbn(o,M[B],n?(ye(),jn):(ye(),Wn)):_.c.Tf(M,n),G=wI(t,_,n,r),L5t(_.e,_.o,n),G));return s}function fue(t,e){var n,r,s,o,h;for(o=(!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i,s=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));s.e!=s.i.gc();)r=u(Tr(s),33),Ut(He(r,(Ei(),i5)))!==Ut((q0(),YS))&&(h=u(He(e,C9),149),n=u(He(r,C9),149),(h==n||h&&imt(h,n))&&(!r.a&&(r.a=new pe(bs,r,10,11)),r.a).i!=0&&(o+=fue(t,r)));return o}function Vvn(t){var e,n,r,s,o,h,d;for(r=0,d=0,h=new S(t.d);h.a<h.c.c.length;)o=u(Q(h),101),s=u(Hl(Xi(new En(null,new _n(o.j,16)),new qE),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),n=null,r<=d?(n=(ye(),Nn),r+=s.gc()):d<r&&(n=(ye(),Ir),d+=s.gc()),e=n,Ts(Cu(s.Oc(),new MF),new Rtt(e))}function Gvn(t){var e,n,r,s,o,h,d,w;for(t.b=new Aoe(new Al((ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn]))),new Al((Zv(),ct(ot(clt,1),ue,361,0,[Sw,p2,Cw])))),h=ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn]),d=0,w=h.length;d<w;++d)for(o=h[d],n=ct(ot(clt,1),ue,361,0,[Sw,p2,Cw]),r=0,s=n.length;r<s;++r)e=n[r],U1n(t.b,o,e,new ge)}function due(t,e){var n,r,s,o,h,d,w,k,_,M;if(h=u(u(ji(t.r,e),21),84),d=t.u.Hc((cl(),_2)),n=t.u.Hc(JS),r=t.u.Hc(ZS),k=t.u.Hc(Gx),M=t.B.Hc((ml(),XG)),_=!n&&!r&&(k||h.gc()==2),Ubn(t,e),s=null,w=null,d){for(o=h.Kc(),s=u(o.Pb(),111),w=s;o.Ob();)w=u(o.Pb(),111);s.d.b=0,w.d.c=0,_&&!s.a&&(s.d.c=0)}M&&(Vdn(h),d&&(s.d.b=0,w.d.c=0))}function gue(t,e){var n,r,s,o,h,d,w,k,_,M;if(h=u(u(ji(t.r,e),21),84),d=t.u.Hc((cl(),_2)),n=t.u.Hc(JS),r=t.u.Hc(ZS),w=t.u.Hc(Gx),M=t.B.Hc((ml(),XG)),k=!n&&!r&&(w||h.gc()==2),omn(t,e),_=null,s=null,d){for(o=h.Kc(),_=u(o.Pb(),111),s=_;o.Ob();)s=u(o.Pb(),111);_.d.d=0,s.d.a=0,k&&!_.a&&(_.d.a=0)}M&&(Gdn(h),d&&(_.d.d=0,s.d.a=0))}function pue(t,e,n){var r,s,o,h,d,w,k,_;if(s=e.k,e.p>=0)return!1;if(e.p=n.b,de(n.e,e),s==(Yn(),ha)||s==Jc){for(h=new S(e.j);h.a<h.c.c.length;)for(o=u(Q(h),11),_=(r=new S(new Nr(o).a.g),new Jt(r));sc(_.a);)if(k=u(Q(_.a),17).d,d=k.i,w=d.k,e.c!=d.c&&(w==ha||w==Jc)&&pue(t,d,n))return!0}return!0}function vq(t){var e;return t.Db&64?n5t(t):(e=new Ih(n5t(t)),e.a+=" (changeable: ",Cg(e,(t.Bb&_f)!=0),e.a+=", volatile: ",Cg(e,(t.Bb&Ay)!=0),e.a+=", transient: ",Cg(e,(t.Bb&yy)!=0),e.a+=", defaultValueLiteral: ",Ao(e,t.j),e.a+=", unsettable: ",Cg(e,(t.Bb&Zu)!=0),e.a+=", derived: ",Cg(e,(t.Bb&Ed)!=0),e.a+=")",e.a)}function Uvn(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(s=X2n(t.d),h=u(K(t.b,(iC(),i9t)),116),d=h.b+h.c,w=h.d+h.a,_=s.d.a*t.e+d,k=s.b.a*t.f+w,ept(t.b,new $e(_,k)),B=new S(t.g);B.a<B.c.c.length;)M=u(Q(B),562),e=M.g-s.a.a,n=M.i-s.c.a,r=$i(aQe(new $e(e,n),M.a,M.b),bd($M(pc(nbt(M.e)),M.d*M.a,M.c*M.b),-.5)),o=rbt(M.e),FKe(M.e,ba(r,o))}function Wvn(t,e,n,r){var s,o,h,d,w;for(w=Pt(wa,re,104,(ye(),ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn])).length,0,2),o=ct(ot(uo,1),Pc,61,0,[fc,Nn,Wn,Ir,jn]),h=0,d=o.length;h<d;++h)s=o[h],w[s.g]=Pt(wa,Io,25,t.c[s.g],15,1);return Fse(w,t,Nn),Fse(w,t,Ir),pst(w,t,Nn,e,n,r),pst(w,t,Wn,e,n,r),pst(w,t,Ir,e,n,r),pst(w,t,jn,e,n,r),w}function Kvn(t,e,n){if(Il(t.a,e)){if(L0(u(cr(t.a,e),53),n))return 1}else Ni(t.a,e,new na);if(Il(t.a,n)){if(L0(u(cr(t.a,n),53),e))return-1}else Ni(t.a,n,new na);if(Il(t.b,e)){if(L0(u(cr(t.b,e),53),n))return-1}else Ni(t.b,e,new na);if(Il(t.b,n)){if(L0(u(cr(t.b,n),53),e))return 1}else Ni(t.b,n,new na);return 0}function B5t(t,e,n,r){var s,o,h,d,w,k;if(n==null){for(s=u(t.g,119),d=0;d<t.i;++d)if(h=s[d],h.ak()==e)return Ja(t,h,r)}return o=(po(),u(e,66).Oj()?u(n,72):Jd(e,n)),Ll(t.e)?(k=!KD(t,e),r=au(t,o,r),w=e.$j()?Gp(t,3,e,null,n,T7(t,e,n,_t(e,99)&&(u(e,18).Bb&co)!=0),k):Gp(t,1,e,e.zj(),n,-1,k),r?r.Ei(w):r=w):r=au(t,o,r),r}function Yvn(t){var e,n,r,s,o,h;t.q==(ka(),p0)||t.q==eu||(s=t.f.n.d+Dj(u(Lo(t.b,(ye(),Nn)),124))+t.c,e=t.f.n.a+Dj(u(Lo(t.b,Ir),124))+t.c,r=u(Lo(t.b,Wn),124),h=u(Lo(t.b,jn),124),o=b.Math.max(0,r.n.d-s),o=b.Math.max(o,h.n.d-s),n=b.Math.max(0,r.n.a-e),n=b.Math.max(n,h.n.a-e),r.n.d=o,h.n.d=o,r.n.a=n,h.n.a=n)}function Xvn(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(Dr(e,"Restoring reversed edges",1),w=new S(t.b);w.a<w.c.c.length;)for(d=u(Q(w),29),_=new S(d.a);_.a<_.c.c.length;)for(k=u(Q(_),10),B=new S(k.j);B.a<B.c.c.length;)for(M=u(Q(B),11),h=xd(M.g),r=h,s=0,o=r.length;s<o;++s)n=r[s],je(Be(K(n,(oe(),K1))))&&fw(n,!1);br(e)}function bue(){this.b=new ib,this.d=new ib,this.e=new ib,this.c=new ib,this.a=new Br,this.f=new Br,Z3(sa,new xZ,new kZ),Z3(wSt,new dc,new ru),Z3(C9t,new Ji,new jL),Z3(S9t,new IZ,new OZ),Z3(v4e,new J5,new mm),Z3(G5n,new EZ,new TZ),Z3(K5n,new _Z,new CZ),Z3(U5n,new SZ,new AZ),Z3(W5n,new LZ,new jc),Z3(Q5n,new MZ,new KE)}function vue(t){var e,n,r,s,o,h;return o=0,e=Bh(t),e.Bj()&&(o|=4),t.Bb&Zu&&(o|=2),_t(t,99)?(n=u(t,18),s=vo(n),n.Bb&Ac&&(o|=32),s&&(or(Gm(s)),o|=8,h=s.t,(h>1||h==-1)&&(o|=16),s.Bb&Ac&&(o|=64)),n.Bb&co&&(o|=Ay),o|=_f):_t(e,457)?o|=512:(r=e.Bj(),r&&r.i&1&&(o|=256)),t.Bb&512&&(o|=128),o}function vC(t,e){var n,r,s,o,h;for(t=t==null?Nu:(Pn(t),t),s=0;s<e.length;s++)e[s]=D2n(e[s]);for(n=new Lm,h=0,r=0;r<e.length&&(o=t.indexOf("%s",h),o!=-1);)n.a+=""+$l(t==null?Nu:(Pn(t),t),h,o),Cc(n,e[r++]),h=o+2;if(JQt(n,t,h,t.length),r<e.length){for(n.a+=" [",Cc(n,e[r++]);r<e.length;)n.a+=oo,Cc(n,e[r++]);n.a+="]"}return n.a}function Qvn(t){var e,n,r,s,o;for(o=new iu(t.a.c.length),s=new S(t.a);s.a<s.c.c.length;){switch(r=u(Q(s),10),n=u(K(r,(Te(),bu)),163),e=null,n.g){case 1:case 2:e=(hb(),G4);break;case 3:case 4:e=(hb(),l9)}e?(ne(r,(oe(),GV),(hb(),G4)),e==l9?fq(r,n,(xo(),ll)):e==G4&&fq(r,n,(xo(),lu))):o.c[o.c.length]=r}return o}function R5t(t,e){var n,r,s,o,h,d,w;for(n=0,w=new S(e);w.a<w.c.c.length;){for(d=u(Q(w),11),Pyt(t.b,t.d[d.p]),h=0,s=new N1(d.b);sc(s.a)||sc(s.b);)r=u(sc(s.a)?Q(s.a):Q(s.b),17),eXt(r)?(o=a2t(t,d==r.c?r.d:r.c),o>t.d[d.p]&&(n+=nmt(t.b,o),Up(t.a,ve(o)))):++h;for(n+=t.b.d*h;!PT(t.a);)Omt(t.b,u(B6(t.a),19).a)}return n}function Zvn(t,e){var n;return t.f==Lft?(n=jv(Ro((Yu(),Fa),e)),t.e?n==4&&e!=(ox(),Kx)&&e!=(ox(),Wx)&&e!=(ox(),Mft)&&e!=(ox(),Dft):n==2):t.d&&(t.d.Hc(e)||t.d.Hc(H6(Ro((Yu(),Fa),e)))||t.d.Hc(T4((Yu(),Fa),t.b,e)))?!0:t.f&&E5t((Yu(),t.f),eD(Ro(Fa,e)))?(n=jv(Ro(Fa,e)),t.e?n==4:n==2):!1}function Jvn(t,e,n,r){var s,o,h,d,w,k,_,M;return h=u(He(n,(Ei(),qx)),8),w=h.a,_=h.b+t,s=b.Math.atan2(_,w),s<0&&(s+=I4),s+=e,s>I4&&(s-=I4),d=u(He(r,qx),8),k=d.a,M=d.b+t,o=b.Math.atan2(M,k),o<0&&(o+=I4),o+=e,o>I4&&(o-=I4),A1(),xf(1e-10),b.Math.abs(s-o)<=1e-10||s==o||isNaN(s)&&isNaN(o)?0:s<o?-1:s>o?1:Av(isNaN(s),isNaN(o))}function rat(t){var e,n,r,s,o,h,d;for(d=new Br,r=new S(t.a.b);r.a<r.c.c.length;)e=u(Q(r),57),Ni(d,e,new ge);for(s=new S(t.a.b);s.a<s.c.c.length;)for(e=u(Q(s),57),e.i=Rs,h=e.c.Kc();h.Ob();)o=u(h.Pb(),57),u(gc(Ho(d.f,o)),15).Fc(e);for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),57),e.c.$b(),e.c=u(gc(Ho(d.f,e)),15);Rce(t)}function iat(t){var e,n,r,s,o,h,d;for(d=new Br,r=new S(t.a.b);r.a<r.c.c.length;)e=u(Q(r),81),Ni(d,e,new ge);for(s=new S(t.a.b);s.a<s.c.c.length;)for(e=u(Q(s),81),e.o=Rs,h=e.f.Kc();h.Ob();)o=u(h.Pb(),81),u(gc(Ho(d.f,o)),15).Fc(e);for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),81),e.f.$b(),e.f=u(gc(Ho(d.f,e)),15);Ace(t)}function twn(t,e,n,r){var s,o;for(g1n(t,e,n,r),npt(e,t.j-e.j+n),rpt(e,t.k-e.k+r),o=new S(e.f);o.a<o.c.c.length;)switch(s=u(Q(o),324),s.a.g){case 0:Q8(t,e.g+s.b.a,0,e.g+s.c.a,e.i-1);break;case 1:Q8(t,e.g+e.o,e.i+s.b.a,t.o-1,e.i+s.c.a);break;case 2:Q8(t,e.g+s.b.a,e.i+e.p,e.g+s.c.a,t.p-1);break;default:Q8(t,0,e.i+s.b.a,e.g-1,e.i+s.c.a)}}function wq(t,e,n,r,s){var o,h,d;try{if(e>=t.o)throw et(new Ept);d=e>>5,h=e&31,o=I0(1,$r(I0(h,1))),s?t.n[n][d]=O1(t.n[n][d],o):t.n[n][d]=Xs(t.n[n][d],Avt(o)),o=I0(o,1),r?t.n[n][d]=O1(t.n[n][d],o):t.n[n][d]=Xs(t.n[n][d],Avt(o))}catch(w){throw w=as(w),_t(w,320)?et(new Po(Tot+t.o+"*"+t.p+_ot+e+oo+n+Cot)):et(w)}}function j5t(t,e,n,r){var s,o,h;e&&(o=Zt(ke(K(e,(Sc(),Jg))))+r,h=n+Zt(ke(K(e,EG)))/2,ne(e,Lht,ve($r(Ou(b.Math.round(o))))),ne(e,Q_t,ve($r(Ou(b.Math.round(h))))),e.d.b==0||j5t(t,u(fj((s=gi(new Lp(e).a.d,0),new v6(s))),86),n+Zt(ke(K(e,EG)))+t.a,r+Zt(ke(K(e,E9)))),K(e,Aht)!=null&&j5t(t,u(K(e,Aht),86),n,r))}function ewn(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(w=Za(e.a),s=Zt(ke(K(w,(Te(),$b))))*2,_=Zt(ke(K(w,J4))),k=b.Math.max(s,_),o=Pt(wa,Io,25,e.f-e.c+1,15,1),r=-k,n=0,d=e.b.Kc();d.Ob();)h=u(d.Pb(),10),r+=t.a[h.c.p]+k,o[n++]=r;for(r+=t.a[e.a.c.p]+k,o[n++]=r,B=new S(e.e);B.a<B.c.c.length;)M=u(Q(B),10),r+=t.a[M.c.p]+k,o[n++]=r;return o}function nwn(t,e,n,r){var s,o,h,d,w,k,_,M,B;for(B=new Op(new h$t(t)),d=ct(ot(h0,1),Gg,10,0,[e,n]),w=0,k=d.length;w<k;++w)for(h=d[w],M=Q_(h,r).Kc();M.Ob();)for(_=u(M.Pb(),11),o=new N1(_.b);sc(o.a)||sc(o.b);)s=u(sc(o.a)?Q(o.a):Q(o.b),17),io(s)||(vz(B.a,_,(Rn(),Ob))==null,eXt(s)&&ZM(B,_==s.c?s.d:s.c));return zr(B),new Uu(B)}function rwn(t,e){var n,r,s,o;if(o=u(He(t,(Ei(),c5)),61).g-u(He(e,c5),61).g,o!=0)return o;if(n=u(He(t,lft),19),r=u(He(e,lft),19),n&&r&&(s=n.a-r.a,s!=0))return s;switch(u(He(t,c5),61).g){case 1:return Vs(t.i,e.i);case 2:return Vs(t.j,e.j);case 3:return Vs(e.i,t.i);case 4:return Vs(e.j,t.j);default:throw et(new Xo(dxt))}}function $5t(t){var e,n,r;return t.Db&64?Ost(t):(e=new jl(u8t),n=t.k,n?ii(ii((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new pe(nc,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new pe(nc,t,1,7)),u(At(t.n,0),137)).a,!r||ii(ii((e.a+=' "',e),r),'"'))),ii(Tv(ii(Tv(ii(Tv(ii(Tv((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function wue(t){var e,n,r;return t.Db&64?Ost(t):(e=new jl(l8t),n=t.k,n?ii(ii((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new pe(nc,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new pe(nc,t,1,7)),u(At(t.n,0),137)).a,!r||ii(ii((e.a+=' "',e),r),'"'))),ii(Tv(ii(Tv(ii(Tv(ii(Tv((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function sat(t,e){var n,r,s,o,h,d,w;if(e==null||e.length==0)return null;if(s=u(Uc(t.a,e),149),!s){for(r=(d=new T1(t.b).a.vc().Kc(),new _1(d));r.a.Ob();)if(n=(o=u(r.a.Pb(),42),u(o.dd(),149)),h=n.c,w=e.length,ln(h.substr(h.length-w,w),e)&&(e.length==h.length||Oa(h,h.length-e.length-1)==46)){if(s)return null;s=n}s&&Fo(t.a,e,s)}return s}function iwn(t,e){var n,r,s,o;return n=new mu,r=u(Hl(Cu(new En(null,new _n(t.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[(j1(),Ly),Zl]))),21),s=r.gc(),r=u(Hl(Cu(new En(null,new _n(e.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[Ly,Zl]))),21),o=r.gc(),s<o?-1:s==o?0:1}function mue(t){var e,n,r;ia(t,(Te(),Iw))&&(r=u(K(t,Iw),21),!r.dc()&&(n=(e=u(Kf(Co),9),new hh(e,u(bf(e,e.length),9),0)),r.Hc((fy(),th))?kf(n,th):kf(n,If),r.Hc(Kh)||kf(n,Kh),r.Hc(Mf)?kf(n,Of):r.Hc(eg)?kf(n,g0):r.Hc(Df)&&kf(n,Yh),r.Hc(Of)?kf(n,Mf):r.Hc(g0)?kf(n,eg):r.Hc(Yh)&&kf(n,Df),ne(t,Iw,n)))}function swn(t){var e,n,r,s,o,h,d;for(s=u(K(t,(oe(),Mw)),10),r=t.j,n=(An(0,r.c.length),u(r.c[0],11)),h=new S(s.j);h.a<h.c.c.length;)if(o=u(Q(h),11),Ut(o)===Ut(K(n,Bi))){o.j==(ye(),Nn)&&t.p>s.p?(Qs(o,Ir),o.d&&(d=o.o.b,e=o.a.b,o.a.b=d-e)):o.j==Ir&&s.p>t.p&&(Qs(o,Nn),o.d&&(d=o.o.b,e=o.a.b,o.a.b=-(d-e)));break}return s}function awn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G;if(o=n,n<r)for(B=(q=new ID(t.p),G=new ID(t.p),so(q.e,t.e),q.q=t.q,q.r=G,Xj(q),so(G.j,t.j),G.r=q,Xj(G),new Ca(q,G)),M=u(B.a,112),_=u(B.b,112),s=(An(o,e.c.length),u(e.c[o],329)),h=Zce(t,M,_,s),k=n+1;k<=r;k++)d=(An(k,e.c.length),u(e.c[k],329)),w=Zce(t,M,_,d),$hn(d,w,s,h)&&(s=d,h=w);return o}function mI(t,e,n,r,s){var o,h,d,w,k,_,M;if(!(_t(e,239)||_t(e,354)||_t(e,186)))throw et(new Bn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return h=t.a/2,w=e.i+r-h,_=e.j+s-h,k=w+e.g+t.a,M=_+e.f+t.a,o=new Hu,pi(o,new $e(w,_)),pi(o,new $e(w,M)),pi(o,new $e(k,M)),pi(o,new $e(k,_)),d=new Gst(o),Vo(d,e),n&&Ni(t.b,e,d),d}function wC(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(o=new $e(e,n),_=new S(t.a);_.a<_.c.c.length;)for(k=u(Q(_),10),$i(k.n,o),B=new S(k.j);B.a<B.c.c.length;)for(M=u(Q(B),11),s=new S(M.g);s.a<s.c.c.length;)for(r=u(Q(s),17),Jm(r.a,o),h=u(K(r,(Te(),zo)),74),h&&Jm(h,o),w=new S(r.b);w.a<w.c.c.length;)d=u(Q(w),70),$i(d.n,o)}function own(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(o=new $e(e,n),_=new S(t.a);_.a<_.c.c.length;)for(k=u(Q(_),10),$i(k.n,o),B=new S(k.j);B.a<B.c.c.length;)for(M=u(Q(B),11),s=new S(M.g);s.a<s.c.c.length;)for(r=u(Q(s),17),Jm(r.a,o),h=u(K(r,(Te(),zo)),74),h&&Jm(h,o),w=new S(r.b);w.a<w.c.c.length;)d=u(Q(w),70),$i(d.n,o)}function yue(t){if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i==0)throw et(new FT("Edges must have a source."));if((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i==0)throw et(new FT("Edges must have a target."));if(!t.b&&(t.b=new Tn(Lr,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c.i<=1)))throw et(new FT("Hyperedges are not supported."))}function xue(t,e){var n,r,s,o,h,d,w,k,_,M;for(M=0,o=new F3,Up(o,e);o.b!=o.c;)for(w=u(B6(o),214),k=0,_=u(K(e.j,(Te(),v2)),339),h=Zt(ke(K(e.j,QV))),d=Zt(ke(K(e.j,ITt))),_!=(z0(),w2)&&(k+=h*b2n(w.e,_),k+=d*zbn(w.e)),M+=yse(w.d,w.e)+k,s=new S(w.b);s.a<s.c.c.length;)r=u(Q(s),37),n=u(Fe(t.b,r.p),214),n.s||(M+=Rst(t,n));return M}function cwn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(q=e.length,w=q,Xr(0,e.length),e.charCodeAt(0)==45?(M=-1,B=1,--q):(M=1,B=0),o=(wat(),yge)[10],s=q/o|0,Z=q%o,Z!=0&&++s,d=Pt(Fr,ui,25,s,15,1),n=mge[8],h=0,G=B+(Z==0?o:Z),W=B;W<w;W=G,G=W+o)r=Kl(e.substr(W,G-W),qa,Di),k=(v7(),I3t(d,d,h,n)),k+=Rln(d,h,r),d[h++]=k;_=h,t.e=M,t.d=_,t.a=d,O_(t)}function kue(t,e,n,r,s,o,h){if(t.c=r.qf().a,t.d=r.qf().b,s&&(t.c+=s.qf().a,t.d+=s.qf().b),t.b=e.rf().a,t.a=e.rf().b,!s)n?t.c-=h+e.rf().a:t.c+=r.rf().a+h;else switch(s.Hf().g){case 0:case 2:t.c+=s.rf().a+h+o.a+h;break;case 4:t.c-=h+o.a+h+e.rf().a;break;case 1:t.c+=s.rf().a+h,t.d-=h+o.b+h+e.rf().b;break;case 3:t.c+=s.rf().a+h,t.d+=s.rf().b+h+o.b+h}}function Eue(t,e){var n,r;for(this.b=new ge,this.e=new ge,this.a=t,this.d=e,Fhn(this),Gln(this),this.b.dc()?this.c=t.c.p:this.c=u(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=t.c.p:this.f=u(Fe(this.e,this.e.c.length-1),10).c.p,r=u(K(t,(oe(),SO)),15).Kc();r.Ob();)if(n=u(r.Pb(),70),ia(n,(Te(),JV))){this.d=u(K(n,JV),227);break}}function k7(t,e,n){var r,s,o,h,d,w,k,_;for(r=u(cr(t.a,e),53),o=u(cr(t.a,n),53),s=u(cr(t.e,e),53),h=u(cr(t.e,n),53),r.a.zc(n,r),h.a.zc(e,h),_=o.a.ec().Kc();_.Ob();)k=u(_.Pb(),10),r.a.zc(k,r),Ys(u(cr(t.e,k),53),e),so(u(cr(t.e,k),53),s);for(w=s.a.ec().Kc();w.Ob();)d=u(w.Pb(),10),h.a.zc(d,h),Ys(u(cr(t.a,d),53),n),so(u(cr(t.a,d),53),o)}function yI(t,e,n){var r,s,o,h,d,w,k,_;for(r=u(cr(t.a,e),53),o=u(cr(t.a,n),53),s=u(cr(t.b,e),53),h=u(cr(t.b,n),53),r.a.zc(n,r),h.a.zc(e,h),_=o.a.ec().Kc();_.Ob();)k=u(_.Pb(),10),r.a.zc(k,r),Ys(u(cr(t.b,k),53),e),so(u(cr(t.b,k),53),s);for(w=s.a.ec().Kc();w.Ob();)d=u(w.Pb(),10),h.a.zc(d,h),Ys(u(cr(t.a,d),53),n),so(u(cr(t.a,d),53),o)}function uwn(t,e){var n,r,s;switch(Dr(e,"Breaking Point Insertion",1),r=new u5t(t),u(K(t,(Te(),rht)),337).g){case 2:s=new BF;case 0:s=new PF;break;default:s=new RF}if(n=s.Vf(t,r),je(Be(K(t,b_t)))&&(n=t3n(t,n)),!s.Wf()&&ia(t,cG))switch(u(K(t,cG),338).g){case 2:n=coe(r,n);break;case 1:n=oae(r,n)}if(n.dc()){br(e);return}t5n(t,n),br(e)}function lwn(t,e,n){var r,s,o,h,d,w,k,_,M,B;if(_=null,B=e,M=LZt(t,_Zt(n),B),q_(M,N0(B,Id)),h=Gv(B,f8t),r=new lGt(t,M),Bgn(r.a,r.b,h),d=Gv(B,Gct),s=new hGt(t,M),Rgn(s.a,s.b,d),(!M.b&&(M.b=new Tn(Lr,M,4,7)),M.b).i==0||(!M.c&&(M.c=new Tn(Lr,M,5,8)),M.c).i==0)throw o=N0(B,Id),w=xde+o,k=w+U7,et(new dd(k));return eq(B,M),a5n(t,B,M),_=wit(t,B,M),_}function hwn(t,e){var n,r,s,o,h,d,w;for(s=Pt(Fr,ui,25,t.e.a.c.length,15,1),h=new S(t.e.a);h.a<h.c.c.length;)o=u(Q(h),121),s[o.d]+=o.b.a.c.length;for(d=YM(e);d.b!=0;)for(o=u(d.b==0?null:(sr(d.b!=0),bh(d,d.a.a)),121),r=Y6(new S(o.g.a));r.Ob();)n=u(r.Pb(),213),w=n.e,w.e=b.Math.max(w.e,o.e+n.a),--s[w.d],s[w.d]==0&&Cs(d,w,d.c.b,d.c)}function Tue(t){var e,n,r,s,o,h,d,w,k,_,M;for(n=qa,s=Di,d=new S(t.e.a);d.a<d.c.c.length;)o=u(Q(d),121),s=b.Math.min(s,o.e),n=b.Math.max(n,o.e);for(e=Pt(Fr,ui,25,n-s+1,15,1),h=new S(t.e.a);h.a<h.c.c.length;)o=u(Q(h),121),o.e-=s,++e[o.e];if(r=0,t.k!=null)for(k=t.k,_=0,M=k.length;_<M&&(w=k[_],e[r++]+=w,e.length!=r);++_);return e}function _ue(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(M5t(t),19).a==t.o;case 1:case 2:{if(t.o==-2)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return Sv(t.k,t.f);case 3:case 4:return t.j==t.e;default:return t.n==null?t.g==null:Pi(t.n,t.g)}}default:return!1}}function Cue(t){Cv(t,new yb(kv(mv(xv(yv(new mg,GC),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new $L))),Ee(t,GC,vw,yAt),Ee(t,GC,hH,Ie(KS)),Ee(t,GC,s8t,Ie(bAt)),Ee(t,GC,M4,Ie(vAt)),Ee(t,GC,mx,Ie(mAt)),Ee(t,GC,fct,Ie(wAt))}function mq(t,e,n){var r,s,o,h,d;if(r=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),d=$r(za(s0,Qd($r(za(n==null?0:es(n),a0)),15))),o=H_(t,e,r),o&&d==o.f&&md(n,o.i))return n;if(h=V_(t,n,d),h)throw et(new Bn("value already present: "+n));return s=new Zj(e,r,n,d),o?(w4(t,o),lI(t,s,o),o.e=null,o.c=null,o.i):(lI(t,s,null),Bse(t),null)}function fwn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;_=n.a.c,h=n.a.c+n.a.b,o=u(cr(n.c,e),459),q=o.f,G=o.a,o.b?w=new $e(h,q):w=new $e(_,q),o.c?M=new $e(_,G):M=new $e(h,G),s=_,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new $e(s,q),B=new $e(s,G),z_(e.a,ct(ot(sa,1),re,8,0,[w,k])),d=n.d.a.gc()>1,d&&(r=new $e(s,n.b),pi(e.a,r)),z_(e.a,ct(ot(sa,1),re,8,0,[B,M]))}function aat(t,e,n){var r,s,o,h,d,w;if(e)if(n<=-1){if(r=wn(e.Tg(),-1-n),_t(r,99))return u(r,18);for(h=u(e.ah(r),153),d=0,w=h.gc();d<w;++d)if(Ut(h.jl(d))===Ut(t)&&(s=h.il(d),_t(s,99)&&(o=u(s,18),o.Bb&Ac)))return o;throw et(new Xo("The containment feature could not be located"))}else return vo(u(wn(t.Tg(),n),18));else return null}function dwn(t){var e,n,r,s,o;for(r=t.length,e=new BT,o=0;o<r;)if(n=Oa(t,o++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;o<r&&(n=Oa(t,o++),!(n==13||n==10)););continue}n==92&&o<r?(s=(Xr(o,t.length),t.charCodeAt(o)))==35||s==9||s==10||s==12||s==13||s==32?(y8(e,s&Ps),++o):(e.a+="\\",y8(e,s&Ps),++o):y8(e,n&Ps)}return e.a}function gwn(t,e){var n,r,s;for(r=new S(e);r.a<r.c.c.length;)if(n=u(Q(r),33),un(t.a,n,n),un(t.b,n,n),s=gy(n),s.c.length!=0)for(t.d&&t.d.lg(s),un(t.a,n,(An(0,s.c.length),u(s.c[0],33))),un(t.b,n,u(Fe(s,s.c.length-1),33));git(s).c.length!=0;)s=git(s),t.d&&t.d.lg(s),un(t.a,n,(An(0,s.c.length),u(s.c[0],33))),un(t.b,n,u(Fe(s,s.c.length-1),33))}function pwn(t){var e,n,r,s,o,h,d,w,k,_;for(n=0,d=new S(t.d);d.a<d.c.c.length;)h=u(Q(d),101),h.i&&(h.i.c=n++);for(e=Z2(Tl,[re,c0],[177,25],16,[n,n],2),_=t.d,s=0;s<_.c.length;s++)if(w=(An(s,_.c.length),u(_.c[s],101)),w.i)for(o=s+1;o<_.c.length;o++)k=(An(o,_.c.length),u(_.c[o],101)),k.i&&(r=t0n(w,k),e[w.i.c][k.i.c]=r,e[k.i.c][w.i.c]=r);return e}function z5t(t,e,n,r){var s,o,h;return h=new WHt(e,n),t.a?r?(s=u(cr(t.b,e),283),++s.a,h.d=r.d,h.e=r.e,h.b=r,h.c=r,r.e?r.e.c=h:u(cr(t.b,e),283).b=h,r.d?r.d.b=h:t.a=h,r.d=h,r.e=h):(t.e.b=h,h.d=t.e,t.e=h,s=u(cr(t.b,e),283),s?(++s.a,o=s.c,o.c=h,h.e=o,s.c=h):(Ni(t.b,e,s=new Awt(h)),++t.c)):(t.a=t.e=h,Ni(t.b,e,new Awt(h)),++t.c),++t.d,h}function py(t,e){var n,r,s,o,h,d,w,k;for(n=new RegExp(e,"g"),w=Pt(Le,re,2,0,6,1),r=0,k=t,o=null;;)if(d=n.exec(k),d==null||k==""){w[r]=k;break}else h=d.index,w[r]=k.substr(0,h),k=$l(k,h+d[0].length,k.length),n.lastIndex=0,o==k&&(w[r]=k.substr(0,1),k=k.substr(1)),o=k,++r;if(t.length>0){for(s=w.length;s>0&&w[s-1]=="";)--s;s<w.length&&(w.length=s)}return w}function q5t(t,e){var n,r,s,o,h,d,w,k,_,M;for(M=qo(e),k=null,s=!1,d=0,_=$c(M.a).i;d<_;++d)h=u(CI(M,d,(o=u(At($c(M.a),d),87),w=o.c,_t(w,88)?u(w,26):(hn(),ef))),26),n=q5t(t,h),n.dc()||(k?(s||(s=!0,k=new Fj(k)),k.Gc(n)):k=n);return r=tpn(t,e),r.dc()?k||(pn(),pn(),mo):k?(s||(k=new Fj(k)),k.Gc(r),k):r}function oat(t,e){var n,r,s,o,h,d,w,k,_,M;for(M=qo(e),k=null,r=!1,d=0,_=$c(M.a).i;d<_;++d)o=u(CI(M,d,(s=u(At($c(M.a),d),87),w=s.c,_t(w,88)?u(w,26):(hn(),ef))),26),n=oat(t,o),n.dc()||(k?(r||(r=!0,k=new Fj(k)),k.Gc(n)):k=n);return h=Lpn(t,e),h.dc()?k||(pn(),pn(),mo):k?(r||(k=new Fj(k)),k.Gc(h),k):h}function xI(t,e,n){var r,s,o,h,d,w;if(_t(e,72))return Ja(t,e,n);for(d=null,o=null,r=u(t.g,119),h=0;h<t.i;++h)if(s=r[h],Pi(e,s.dd())&&(o=s.ak(),_t(o,99)&&u(o,18).Bb&Ac)){d=s;break}return d&&(Ll(t.e)&&(w=o.$j()?Gp(t,4,o,e,null,T7(t,o,e,_t(o,99)&&(u(o,18).Bb&co)!=0),!0):Gp(t,o.Kj()?2:1,o,e,o.zj(),-1,!0),n?n.Ei(w):n=w),n=xI(t,d,n)),n}function bwn(t){var e,n,r,s;r=t.o,Bm(),t.A.dc()||Pi(t.A,Q7t)?s=r.a:(s=fI(t.f),t.A.Hc((Fl(),iP))&&!t.B.Hc((ml(),eA))&&(s=b.Math.max(s,fI(u(Lo(t.p,(ye(),Nn)),244))),s=b.Math.max(s,fI(u(Lo(t.p,Ir),244)))),e=kne(t),e&&(s=b.Math.max(s,e.a))),je(Be(t.e.yf().We((Ei(),zG))))?r.a=b.Math.max(r.a,s):r.a=s,n=t.f.i,n.c=0,n.b=s,fat(t.f)}function vwn(t,e){var n,r,s,o,h,d,w,k,_;if(n=e.Hh(t.a),n&&(w=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),"memberTypes")),w!=null)){for(k=new ge,o=py(w,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],r=s.lastIndexOf("#"),_=r==-1?Bbt(t,e.Aj(),s):r==0?wD(t,null,s.substr(1)):wD(t,s.substr(0,r),s.substr(r+1)),_t(_,148)&&de(k,u(_,148));return k}return pn(),pn(),mo}function wwn(t,e,n){var r,s,o,h,d,w,k,_;for(Dr(n,Pfe,1),t.bf(e),o=0;t.df(o);){for(_=new S(e.e);_.a<_.c.c.length;)for(w=u(Q(_),144),d=zp(B1(ct(ot(G1,1),De,20,0,[e.e,e.d,e.b])));ti(d);)h=u(qr(d),357),h!=w&&(s=t.af(h,w),s&&$i(w.a,s));for(k=new S(e.e);k.a<k.c.c.length;)w=u(Q(k),144),r=w.a,Lae(r,-t.d,-t.d,t.d,t.d),$i(w.d,r),Yf(r);t.cf(),++o}br(n)}function mwn(t,e,n){var r,s,o,h;if(h=gu(t.e.Tg(),e),r=u(t.g,119),po(),u(e,66).Oj()){for(o=0;o<t.i;++o)if(s=r[o],h.rl(s.ak())&&Pi(s,n))return dy(t,o),!0}else if(n!=null){for(o=0;o<t.i;++o)if(s=r[o],h.rl(s.ak())&&Pi(n,s.dd()))return dy(t,o),!0}else for(o=0;o<t.i;++o)if(s=r[o],h.rl(s.ak())&&s.dd()==null)return dy(t,o),!0;return!1}function ywn(t,e){var n,r,s,o,h;for(t.c==null||t.c.length<e.c.length?t.c=Pt(Tl,c0,25,e.c.length,16,1):NT(t.c),t.a=new ge,r=0,h=new S(e);h.a<h.c.c.length;)s=u(Q(h),10),s.p=r++;for(n=new hs,o=new S(e);o.a<o.c.c.length;)s=u(Q(o),10),t.c[s.p]||(goe(t,s),n.b==0||(sr(n.b!=0),u(n.a.a.c,15)).gc()<t.a.c.length?FGt(n,t.a):X2(n,t.a),t.a=new ge);return n}function xwn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G;for(h=u(At(e,0),33),Du(h,0),Iu(h,0),B=new ge,B.c[B.c.length]=h,d=h,o=new Tnt(t.a,h.g,h.f,(x7(),HS)),q=1;q<e.i;q++)G=u(At(e,q),33),w=vat(t,r5,G,d,o,B,n),k=vat(t,jx,G,d,o,B,n),_=vat(t,qS,G,d,o,B,n),M=vat(t,zS,G,d,o,B,n),s=Pyn(t,w,k,_,M,G,d,r),Du(G,s.d),Iu(G,s.e),Gk(s,HS),o=s,d=G,B.c[B.c.length]=G;return o}function Sue(t){Cv(t,new yb(kv(mv(xv(yv(new mg,z7),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new cZ))),Ee(t,z7,Cct,Ie(hSt)),Ee(t,z7,vw,lSt),Ee(t,z7,ky,8),Ee(t,z7,Lct,Ie(m3e)),Ee(t,z7,e8t,Ie(cSt)),Ee(t,z7,n8t,Ie(uSt)),Ee(t,z7,QI,(Rn(),!1))}function Aue(t,e,n,r){var s,o,h,d,w,k,_,M,B,q;for(h=Fm(e.c,n,r),M=new S(e.a);M.a<M.c.c.length;){for(_=u(Q(M),10),$i(_.n,h),q=new S(_.j);q.a<q.c.c.length;)for(B=u(Q(q),11),o=new S(B.g);o.a<o.c.c.length;)for(s=u(Q(o),17),Jm(s.a,h),d=u(K(s,(Te(),zo)),74),d&&Jm(d,h),k=new S(s.b);k.a<k.c.c.length;)w=u(Q(k),70),$i(w.n,h);de(t.a,_),_.a=t}}function kwn(t,e){var n,r,s,o,h;if(Dr(e,"Node and Port Label Placement and Node Sizing",1),lUt((zT(),new trt(t,!0,!0,new PY))),u(K(t,(oe(),tu)),21).Hc((Eo(),Th)))for(o=u(K(t,(Te(),qy)),21),s=o.Hc((cl(),rP)),h=je(Be(K(t,o_t))),r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),29),Ts(Xi(new En(null,new _n(n.a,16)),new Hd),new fKt(o,s,h));br(e)}function Ewn(t,e){var n,r,s,o,h,d;if(n=e.Hh(t.a),n&&(d=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),xH)),d!=null))switch(s=pj(d,Pu(35)),r=e.Hj(),s==-1?(h=k_(t,Vl(r)),o=d):s==0?(h=null,o=d.substr(1)):(h=d.substr(0,s),o=d.substr(s+1)),jv(Ro(t,e))){case 2:case 3:return Dcn(t,r,h,o);case 0:case 4:case 5:case 6:return Icn(t,r,h,o)}return null}function H5t(t,e,n){var r,s,o,h,d;if(h=(po(),u(e,66).Oj()),W0(t.e,e)){if(e.hi()&&xq(t,e,n,_t(e,99)&&(u(e,18).Bb&co)!=0))return!1}else for(d=gu(t.e.Tg(),e),r=u(t.g,119),o=0;o<t.i;++o)if(s=r[o],d.rl(s.ak()))return(h?Pi(s,n):n==null?s.dd()==null:Pi(n,s.dd()))?!1:(u(l4(t,o,h?u(n,72):Jd(e,n)),72),!0);return Hr(t,h?u(n,72):Jd(e,n))}function kI(t){var e,n,r,s,o,h,d,w;if(t.d)throw et(new Xo((D0(Zut),bot+Zut.k+vot)));for(t.c==(ko(),f0)&&_4(t,Wh),n=new S(t.a.a);n.a<n.c.c.length;)e=u(Q(n),189),e.e=0;for(h=new S(t.a.b);h.a<h.c.c.length;)for(o=u(Q(h),81),o.o=Rs,s=o.f.Kc();s.Ob();)r=u(s.Pb(),81),++r.d.e;for(b4n(t),w=new S(t.a.b);w.a<w.c.c.length;)d=u(Q(w),81),d.k=!0;return t}function Twn(t,e){var n,r,s,o,h,d,w,k;for(d=new Rae(t),n=new hs,Cs(n,e,n.c.b,n.c);n.b!=0;){for(r=u(n.b==0?null:(sr(n.b!=0),bh(n,n.a.a)),113),r.d.p=1,h=new S(r.e);h.a<h.c.c.length;)s=u(Q(h),409),sae(d,s),k=s.d,k.d.p==0&&Cs(n,k,n.c.b,n.c);for(o=new S(r.b);o.a<o.c.c.length;)s=u(Q(o),409),sae(d,s),w=s.c,w.d.p==0&&Cs(n,w,n.c.b,n.c)}return d}function Lue(t){var e,n,r,s,o;if(r=Zt(ke(He(t,(Ei(),G3e)))),r!=1)for(oj(t,r*t.g,r*t.f),n=jYe(XJe((!t.c&&(t.c=new pe(El,t,9,9)),t.c),new PZ)),o=zp(B1(ct(ot(G1,1),De,20,0,[(!t.n&&(t.n=new pe(nc,t,1,7)),t.n),(!t.c&&(t.c=new pe(El,t,9,9)),t.c),n])));ti(o);)s=u(qr(o),470),s.Gg(r*s.Dg(),r*s.Eg()),s.Fg(r*s.Cg(),r*s.Bg()),e=u(s.We(XSt),8),e&&(e.a*=r,e.b*=r)}function _wn(t,e,n,r,s){var o,h,d,w,k,_,M,B;for(h=new S(t.b);h.a<h.c.c.length;)for(o=u(Q(h),29),B=cD(o.a),k=B,_=0,M=k.length;_<M;++_)switch(w=k[_],u(K(w,(Te(),bu)),163).g){case 1:Zbn(w),Bo(w,e),Xie(w,!0,r);break;case 3:Bbn(w),Bo(w,n),Xie(w,!1,s)}for(d=new Sa(t.b,0);d.b<d.d.gc();)(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)).a.c.length==0&&Ol(d)}function Cwn(t,e){var n,r,s,o,h,d,w;if(n=e.Hh(t.a),n&&(w=Yr(t1((!n.b&&(n.b=new Ml((hn(),lo),xc,n)),n.b),P8t)),w!=null)){for(r=new ge,o=py(w,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],ln(s,"##other")?de(r,"!##"+k_(t,Vl(e.Hj()))):ln(s,"##local")?r.c[r.c.length]=null:ln(s,rO)?de(r,k_(t,Vl(e.Hj()))):r.c[r.c.length]=s;return r}return pn(),pn(),mo}function Swn(t,e){var n,r,s,o;return n=new yu,r=u(Hl(Cu(new En(null,new _n(t.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[(j1(),Ly),Zl]))),21),s=r.gc(),r=u(Hl(Cu(new En(null,new _n(e.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[Ly,Zl]))),21),o=r.gc(),s=s==1?1:0,o=o==1?1:0,s<o?-1:s==o?0:1}function Awn(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(d=t.i,s=je(Be(K(d,(Te(),$y)))),_=0,r=0,k=new S(t.g);k.a<k.c.c.length;)w=u(Q(k),17),h=io(w),o=h&&s&&je(Be(K(w,Bb))),B=w.d.i,h&&o?++r:h&&!o?++_:Za(B).e==d?++r:++_;for(n=new S(t.e);n.a<n.c.c.length;)e=u(Q(n),17),h=io(e),o=h&&s&&je(Be(K(e,Bb))),M=e.c.i,h&&o?++_:h&&!o?++r:Za(M).e==d?++_:++r;return _-r}function k4(t,e,n,r){this.e=t,this.k=u(K(t,(oe(),X4)),304),this.g=Pt(h0,Gg,10,e,0,1),this.b=Pt(Ea,re,333,e,7,1),this.a=Pt(h0,Gg,10,e,0,1),this.d=Pt(Ea,re,333,e,7,1),this.j=Pt(h0,Gg,10,e,0,1),this.i=Pt(Ea,re,333,e,7,1),this.p=Pt(Ea,re,333,e,7,1),this.n=Pt(Zs,re,476,e,8,1),EM(this.n,(Rn(),!1)),this.f=Pt(Zs,re,476,e,8,1),EM(this.f,!0),this.o=n,this.c=r}function Mue(t,e){var n,r,s,o,h,d;if(!e.dc())if(u(e.Xb(0),286).d==(sx(),Oy))a1n(t,e);else for(r=e.Kc();r.Ob();){switch(n=u(r.Pb(),286),n.d.g){case 5:b7(t,n,bln(t,n));break;case 0:b7(t,n,(h=n.f-n.c+1,d=(h-1)/2|0,n.c+d));break;case 4:b7(t,n,Man(t,n));break;case 2:nie(n),b7(t,n,(o=d4t(n),o?n.c:n.f));break;case 1:nie(n),b7(t,n,(s=d4t(n),s?n.f:n.c))}r0n(n.a)}}function Lwn(t,e){var n,r,s,o,h,d,w;if(!e.e){for(e.e=!0,r=e.d.a.ec().Kc();r.Ob();){if(n=u(r.Pb(),17),e.o&&e.d.a.gc()<=1){h=e.a.c,d=e.a.c+e.a.b,w=new $e(h+(d-h)/2,e.b),pi(u(e.d.a.ec().Kc().Pb(),17).a,w);continue}if(s=u(cr(e.c,n),459),s.b||s.c){fwn(t,n,e);continue}o=t.d==(e7(),DS)&&(s.d||s.e)&&Epn(t,e)&&e.d.a.gc()<=1,o?Y3n(n,e):Mvn(t,n,e)}e.k&&Pa(e.d,new T3)}}function V5t(t,e,n,r,s,o){var h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(B=o,d=(r+s)/2+B,Z=n*b.Math.cos(d),bt=n*b.Math.sin(d),Mt=Z-e.g/2,St=bt-e.f/2,Du(e,Mt),Iu(e,St),M=t.a.jg(e),W=2*b.Math.acos(n/n+t.c),W<s-r?(q=W/M,h=(r+s-W)/2):(q=(s-r)/M,h=r),G=gy(e),t.e&&(t.e.kg(t.d),t.e.lg(G)),k=new S(G);k.a<k.c.c.length;)w=u(Q(k),33),_=t.a.jg(w),V5t(t,w,n+t.c,h,h+q*_,o),h+=q*_}function Mwn(t,e,n){var r;switch(r=n.q.getMonth(),e){case 5:ii(t,ct(ot(Le,1),re,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:ii(t,ct(ot(Le,1),re,2,6,[$at,zat,qat,Hat,hx,Vat,Gat,Uat,Wat,Kat,Yat,Xat])[r]);break;case 3:ii(t,ct(ot(Le,1),re,2,6,["Jan","Feb","Mar","Apr",hx,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:t0(t,r+1,e)}}function cat(t,e){var n,r,s,o,h;if(Dr(e,"Network simplex",1),t.e.a.c.length<1){br(e);return}for(o=new S(t.e.a);o.a<o.c.c.length;)s=u(Q(o),121),s.e=0;for(h=t.e.a.c.length>=40,h&&vmn(t),xyn(t),tvn(t),n=Hre(t),r=0;n&&r<t.f;)Own(t,n,Jpn(t,n)),n=Hre(t),++r;h&&Edn(t),t.a?d2n(t,Tue(t)):Tue(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,br(e)}function Dwn(t,e,n,r){var s,o,h,d,w,k,_,M,B;for(w=new $e(n,r),ba(w,u(K(e,(Kp(),lS)),8)),B=new S(e.e);B.a<B.c.c.length;)M=u(Q(B),144),$i(M.d,w),de(t.e,M);for(d=new S(e.c);d.a<d.c.c.length;){for(h=u(Q(d),282),o=new S(h.a);o.a<o.c.c.length;)s=u(Q(o),559),$i(s.d,w);de(t.c,h)}for(_=new S(e.d);_.a<_.c.c.length;)k=u(Q(_),447),$i(k.d,w),de(t.d,k)}function G5t(t,e){var n,r,s,o,h,d,w,k;for(w=new S(e.j);w.a<w.c.c.length;)for(d=u(Q(w),11),s=new N1(d.b);sc(s.a)||sc(s.b);)r=u(sc(s.a)?Q(s.a):Q(s.b),17),n=r.c==d?r.d:r.c,o=n.i,e!=o&&(k=u(K(r,(Te(),m9)),19).a,k<0&&(k=0),h=o.p,t.b[h]==0&&(r.d==n?(t.a[h]-=k+1,t.a[h]<=0&&t.c[h]>0&&pi(t.f,o)):(t.c[h]-=k+1,t.c[h]<=0&&t.a[h]>0&&pi(t.e,o))))}function Iwn(t){var e,n,r,s,o,h,d,w,k;for(d=new Op(u(zr(new bp),62)),k=Rs,n=new S(t.d);n.a<n.c.c.length;){for(e=u(Q(n),222),k=e.c.c;d.a.c!=0&&(w=u(aen(lan(d.a)),222),w.c.c+w.c.b<k);)D_(d.a,w)!=null;for(h=(s=new v_(new g_(new y(d.a).a).b),new g(s));kM(h.a.a);)o=(r=yj(h.a),u(r.cd(),222)),pi(o.b,e),pi(e.b,o);vz(d.a,e,(Rn(),Ob))==null}}function Due(t,e,n){var r,s,o,h,d,w,k,_,M;for(o=new iu(e.c.length),k=new S(e);k.a<k.c.c.length;)h=u(Q(k),10),de(o,t.b[h.c.p][h.p]);for(zyn(t,o,n),M=null;M=q3n(o);)Imn(t,u(M.a,233),u(M.b,233),o);for(e.c=Pt(ir,De,1,0,5,1),s=new S(o);s.a<s.c.c.length;)for(r=u(Q(s),233),d=r.d,w=0,_=d.length;w<_;++w)h=d[w],e.c[e.c.length]=h,t.a[h.c.p][h.p].a=L1(r.g,r.d[0]).a}function U5t(t,e){var n,r,s,o;if(0<(_t(t,14)?u(t,14).gc():F0(t.Kc()))){if(s=e,1<s){for(--s,o=new FQ,r=t.Kc();r.Ob();)n=u(r.Pb(),86),o=B1(ct(ot(G1,1),De,20,0,[o,new Lp(n)]));return U5t(o,s)}if(s<0){for(o=new BQ,r=t.Kc();r.Ob();)n=u(r.Pb(),86),o=B1(ct(ot(G1,1),De,20,0,[o,new Lp(n)]));if(0<(_t(o,14)?u(o,14).gc():F0(o.Kc())))return U5t(o,s)}}return u(fj(t.Kc()),86)}function ml(){ml=X,D9=new q3("DEFAULT_MINIMUM_SIZE",0),oP=new q3("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),WG=new q3("COMPUTE_PADDING",2),eA=new q3("OUTSIDE_NODE_LABELS_OVERHANG",3),KG=new q3("PORTS_OVERHANG",4),XG=new q3("UNIFORM_PORT_SPACING",5),YG=new q3("SPACE_EFFICIENT_PORT_LABELS",6),vft=new q3("FORCE_TABULAR_NODE_LABELS",7),aP=new q3("ASYMMETRICAL",8)}function uat(t,e){var n,r,s,o,h,d,w,k;if(e){if(n=(o=e.Tg(),o?Vl(o).Nh().Jh(o):null),n){for(vb(t,e,n),s=e.Tg(),w=0,k=(s.i==null&&kd(s),s.i).length;w<k;++w)d=(r=(s.i==null&&kd(s),s.i),w>=0&&w<r.length?r[w]:null),d.Ij()&&!d.Jj()&&(_t(d,322)?qhn(t,u(d,34),e,n):(h=u(d,18),h.Bb&Ac&&Z1n(t,h,e,n)));e.kh()&&u(n,49).vh(u(e,49).qh())}return n}else return null}function Own(t,e,n){var r,s,o;if(!e.f)throw et(new Bn("Given leave edge is no tree edge."));if(n.f)throw et(new Bn("Given enter edge is a tree edge already."));for(e.f=!1,ubt(t.p,e),n.f=!0,Ys(t.p,n),r=n.e.e-n.d.e-n.a,$st(t,n.e,e)||(r=-r),o=new S(t.e.a);o.a<o.c.c.length;)s=u(Q(o),121),$st(t,s,e)||(s.e+=r);t.j=1,NT(t.c),X4t(t,u(Q(new S(t.e.a)),121)),jle(t)}function Iue(t,e){var n,r,s,o,h,d;if(d=u(K(e,(Te(),xs)),98),d==(ka(),p0)||d==eu)for(s=new $e(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,h=new S(t.a);h.a<h.c.c.length;)o=u(Q(h),10),o.k==(Yn(),Fs)&&(n=u(K(o,(oe(),yc)),61),!(n!=(ye(),Wn)&&n!=jn)&&(r=Zt(ke(K(o,Dw))),d==p0&&(r*=s),o.n.b=r-u(K(o,Pw),8).b,gz(o,!1,!0)))}function Oue(t,e,n,r){var s,o,h,d,w,k,_,M,B,q;if(Zan(t,e,n),o=e[n],q=r?(ye(),jn):(ye(),Wn),OXe(e.length,n,r)){for(s=e[r?n-1:n+1],bmt(t,s,r?(xo(),lu):(xo(),ll)),w=o,_=0,B=w.length;_<B;++_)h=w[_],N3t(t,h,q);for(bmt(t,o,r?(xo(),ll):(xo(),lu)),d=s,k=0,M=d.length;k<M;++k)h=d[k],h.e||N3t(t,h,UD(q))}else for(d=o,k=0,M=d.length;k<M;++k)h=d[k],N3t(t,h,q);return!1}function Pwn(t,e,n,r){var s,o,h,d,w,k,_;w=uc(e,n),(n==(ye(),Ir)||n==jn)&&(w=_t(w,152)?U6(u(w,152)):_t(w,131)?u(w,131).a:_t(w,54)?new wv(w):new Mm(w)),h=!1;do for(s=!1,o=0;o<w.gc()-1;o++)k=u(w.Xb(o),11),d=u(w.Xb(o+1),11),h0n(t,k,d,r)&&(h=!0,xrt(t.a,u(w.Xb(o),11),u(w.Xb(o+1),11)),_=u(w.Xb(o+1),11),w._c(o+1,u(w.Xb(o),11)),w._c(o,_),s=!0);while(s);return h}function Nwn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;if(Ll(t.e)){if(e!=n&&(s=u(t.g,119),q=s[n],h=q.ak(),W0(t.e,h))){for(G=gu(t.e.Tg(),h),w=-1,d=-1,r=0,k=0,M=e>n?e:n;k<=M;++k)k==n?d=r++:(o=s[k],_=G.rl(o.ak()),k==e&&(w=k==M&&!_?r-1:r),_&&++r);return B=u(tC(t,e,n),72),d!=w&&Yk(t,new vD(t.e,7,h,ve(d),q.dd(),w)),B}}else return u(qst(t,e,n),72);return u(tC(t,e,n),72)}function Fwn(t,e){var n,r,s,o,h,d,w;for(Dr(e,"Port order processing",1),w=u(K(t,(Te(),c_t)),421),r=new S(t.b);r.a<r.c.c.length;)for(n=u(Q(r),29),o=new S(n.a);o.a<o.c.c.length;)s=u(Q(o),10),h=u(K(s,xs),98),d=s.j,h==(ka(),Ub)||h==p0||h==eu?(pn(),ua(d,gEt)):h!=Q1&&h!=T2&&(pn(),ua(d,z2e),Qhn(d),w==(ED(),ght)&&ua(d,$2e)),s.i=!0,W4t(s);br(e)}function Bwn(t){var e,n,r,s,o,h,d,w;for(w=new Br,e=new Vtt,h=t.Kc();h.Ob();)s=u(h.Pb(),10),d=Dv(mM(new K2,s),e),du(w.f,s,d);for(o=t.Kc();o.Ob();)for(s=u(o.Pb(),10),r=new pr(xr(Gs(s).a.Kc(),new H));ti(r);)n=u(qr(r),17),!io(n)&&Tf(gf(df(ff(pf(new Dh,b.Math.max(1,u(K(n,(Te(),u_t)),19).a)),1),u(cr(w,n.c.i),121)),u(cr(w,n.d.i),121)));return e}function Pue(){Pue=X,_me=Mi(new ra,(ao(),Zc),(wo(),J9t)),K_t=Mi(new ra,pu,gV),Sme=sl(Mi(new ra,pu,kV),Uo,xV),Tme=sl(Mi(Mi(new ra,pu,K9t),Zc,Y9t),Uo,X9t),Ame=sw(sw(NR(sl(Mi(new ra,Nd,CV),Uo,_V),Zc),TV),SV),Cme=sl(new ra,Uo,tEt),kme=sl(Mi(Mi(Mi(new ra,g2,bV),Zc,wV),Zc,n9),Uo,vV),Eme=sl(Mi(Mi(new ra,Zc,n9),Zc,dV),Uo,fV)}function Rwn(t,e,n,r,s,o){var h,d,w,k,_,M,B;for(k=Yne(e)-Yne(t),h=Tae(e,k),w=hu(0,0,0);k>=0&&(d=jfn(t,h),!(d&&(k<22?w.l|=1<<k:k<44?w.m|=1<<k-22:w.h|=1<<k-44,t.l==0&&t.m==0&&t.h==0)));)_=h.m,M=h.h,B=h.l,h.h=M>>>1,h.m=_>>>1|(M&1)<<21,h.l=B>>>1|(_&1)<<21,--k;return n&&vit(w),o&&(r?(h2=X8(t),s&&(h2=Dne(h2,(N8(),X8t)))):h2=hu(t.l,t.m,t.h)),w}function jwn(t,e){var n,r,s,o,h,d,w,k,_,M;for(k=t.e[e.c.p][e.p]+1,w=e.c.a.c.length+1,d=new S(t.a);d.a<d.c.c.length;){for(h=u(Q(d),11),M=0,o=0,s=zp(B1(ct(ot(G1,1),De,20,0,[new ca(h),new Nr(h)])));ti(s);)r=u(qr(s),11),r.i.c==e.c&&(M+=SXe(t,r.i)+1,++o);n=M/o,_=h.j,_==(ye(),Wn)?n<k?t.f[h.p]=t.c-n:t.f[h.p]=t.b+(w-n):_==jn&&(n<k?t.f[h.p]=t.b+n:t.f[h.p]=t.c-(w-n))}}function Kl(t,e,n){var r,s,o,h,d;if(t==null)throw et(new gd(Nu));for(o=t.length,h=o>0&&(Xr(0,t.length),t.charCodeAt(0)==45||(Xr(0,t.length),t.charCodeAt(0)==43))?1:0,r=h;r<o;r++)if(Tie((Xr(r,t.length),t.charCodeAt(r)))==-1)throw et(new gd(bw+t+'"'));if(d=parseInt(t,10),s=d<e,isNaN(d))throw et(new gd(bw+t+'"'));if(s||d>n)throw et(new gd(bw+t+'"'));return d}function $wn(t){var e,n,r,s,o,h,d;for(h=new hs,o=new S(t.a);o.a<o.c.c.length;)s=u(Q(o),112),sM(s,s.f.c.length),xT(s,s.k.c.length),s.i==0&&(s.o=0,Cs(h,s,h.c.b,h.c));for(;h.b!=0;)for(s=u(h.b==0?null:(sr(h.b!=0),bh(h,h.a.a)),112),r=s.o+1,n=new S(s.f);n.a<n.c.c.length;)e=u(Q(n),129),d=e.a,QB(d,b.Math.max(d.o,r)),xT(d,d.i-1),d.i==0&&Cs(h,d,h.c.b,h.c)}function zwn(t){var e,n,r,s,o,h,d,w;for(h=new S(t);h.a<h.c.c.length;){for(o=u(Q(h),79),r=Go(u(At((!o.b&&(o.b=new Tn(Lr,o,4,7)),o.b),0),82)),d=r.i,w=r.j,s=u(At((!o.a&&(o.a=new pe(fs,o,6,6)),o.a),0),202),uj(s,s.j+d,s.k+w),cj(s,s.b+d,s.c+w),n=new hr((!s.a&&(s.a=new qs(Qh,s,5)),s.a));n.e!=n.i.gc();)e=u(Tr(n),469),J2t(e,e.a+d,e.b+w);ryt(u(He(o,(Ei(),s5)),74),d,w)}}function E7(t){var e;switch(t){case 100:return C4(iS,!0);case 68:return C4(iS,!1);case 119:return C4(out,!0);case 87:return C4(out,!1);case 115:return C4(cut,!0);case 83:return C4(cut,!1);case 99:return C4(uut,!0);case 67:return C4(uut,!1);case 105:return C4(lut,!0);case 73:return C4(lut,!1);default:throw et(new ic((e=t,K0e+e.toString(16))))}}function qwn(t){var e,n,r,s,o;switch(s=u(Fe(t.a,0),10),e=new G0(t),de(t.a,e),e.o.a=b.Math.max(1,s.o.a),e.o.b=b.Math.max(1,s.o.b),e.n.a=s.n.a,e.n.b=s.n.b,u(K(s,(oe(),yc)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return r=new zc,ac(r,e),n=new $v,o=u(Fe(s.j,0),11),Wa(n,o),ya(n,r),$i(Yf(r.n),o.n),$i(Yf(r.a),o.a),e}function Nue(t,e,n,r,s){n&&(!r||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.b],10).k==(Yn(),Bl)?ux(u(t.a[t.b],10),(Wl(),d0)):r&&(!n||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.c-1&t.a.length-1],10).k==(Yn(),Bl)?ux(u(t.a[t.c-1&t.a.length-1],10),(Wl(),k2)):(t.c-t.b&t.a.length-1)==2?(ux(u(K_(t),10),(Wl(),d0)),ux(u(K_(t),10),k2)):P2n(t,s),tmt(t)}function Hwn(t,e,n){var r,s,o,h,d;for(o=0,s=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));s.e!=s.i.gc();)r=u(Tr(s),33),h="",(!r.n&&(r.n=new pe(nc,r,1,7)),r.n).i==0||(h=u(At((!r.n&&(r.n=new pe(nc,r,1,7)),r.n),0),137).a),d=new yit(o++,e,h),Vo(d,r),ne(d,(Sc(),jS),r),d.e.b=r.j+r.f/2,d.f.a=b.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=b.Math.max(r.f,1),pi(e.b,d),du(n.f,r,d)}function Vwn(t){var e,n,r,s,o;r=u(K(t,(oe(),Bi)),33),o=u(He(r,(Te(),Rb)),174).Hc((Fl(),Wb)),t.e||(s=u(K(t,tu),21),e=new $e(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s.Hc((Eo(),Th))?(Do(r,xs,(ka(),eu)),dw(r,e.a,e.b,!1,!0)):je(Be(He(r,Zlt)))||dw(r,e.a,e.b,!0,!0)),o?Do(r,Rb,cn(Wb)):Do(r,Rb,(n=u(Kf(tA),9),new hh(n,u(bf(n,n.length),9),0)))}function W5t(t,e,n){var r,s,o,h;if(e[0]>=t.length)return n.o=0,!0;switch(Oa(t,e[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++e[0],o=e[0],h=sq(t,e),h==0&&e[0]==o)return!1;if(e[0]<t.length&&Oa(t,e[0])==58){if(r=h*60,++e[0],o=e[0],h=sq(t,e),h==0&&e[0]==o)return!1;r+=h}else r=h,r<24&&e[0]-o<=2?r*=60:r=r%100+(r/100|0)*60;return r*=s,n.o=-r,!0}function Gwn(t){var e,n,r,s,o,h,d,w,k;for(h=new ge,r=new pr(xr(Gs(t.b).a.Kc(),new H));ti(r);)n=u(qr(r),17),io(n)&&de(h,new kJt(n,ote(t,n.c),ote(t,n.d)));for(k=(o=new T1(t.e).a.vc().Kc(),new _1(o));k.a.Ob();)d=(e=u(k.a.Pb(),42),u(e.dd(),113)),d.d.p=0;for(w=(s=new T1(t.e).a.vc().Kc(),new _1(s));w.a.Ob();)d=(e=u(w.a.Pb(),42),u(e.dd(),113)),d.d.p==0&&de(t.d,Twn(t,d))}function Uwn(t){var e,n,r,s,o,h,d;for(o=M1(t),s=new hr((!t.e&&(t.e=new Tn(aa,t,7,4)),t.e));s.e!=s.i.gc();)if(r=u(Tr(s),79),d=Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82)),!Zm(d,o))return!0;for(n=new hr((!t.d&&(t.d=new Tn(aa,t,8,5)),t.d));n.e!=n.i.gc();)if(e=u(Tr(n),79),h=Go(u(At((!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b),0),82)),!Zm(h,o))return!0;return!1}function Wwn(t){var e,n,r,s,o,h,d,w;for(w=new Hu,e=gi(t,0),d=null,n=u(di(e),8),s=u(di(e),8);e.b!=e.d.c;)d=n,n=s,s=u(di(e),8),o=tee(ba(new $e(d.a,d.b),n)),h=tee(ba(new $e(s.a,s.b),n)),r=10,r=b.Math.min(r,b.Math.abs(o.a+o.b)/2),r=b.Math.min(r,b.Math.abs(h.a+h.b)/2),o.a=QM(o.a)*r,o.b=QM(o.b)*r,h.a=QM(h.a)*r,h.b=QM(h.b)*r,pi(w,$i(o,n)),pi(w,$i(h,n));return w}function Yl(t,e,n,r){var s,o,h,d,w;return h=t.eh(),w=t.Zg(),s=null,w?e&&!(aat(t,e,n).Bb&co)?(r=Ja(w.Vk(),t,r),t.uh(null),s=e.fh()):w=null:(h&&(w=h.fh()),e&&(s=e.fh())),w!=s&&w&&w.Zk(t),d=t.Vg(),t.Rg(e,n),w!=s&&s&&s.Yk(t),t.Lg()&&t.Mg()&&(h&&d>=0&&d!=n&&(o=new la(t,1,d,h,null),r?r.Ei(o):r=o),n>=0&&(o=new la(t,1,n,d==n?h:null,e),r?r.Ei(o):r=o)),r}function Fue(t){var e,n,r;if(t.b==null){if(r=new _g,t.i!=null&&(Ao(r,t.i),r.a+=":"),t.f&256){for(t.f&256&&t.a!=null&&(ann(t.i)||(r.a+="//"),Ao(r,t.a)),t.d!=null&&(r.a+="/",Ao(r,t.d)),t.f&16&&(r.a+="/"),e=0,n=t.j.length;e<n;e++)e!=0&&(r.a+="/"),Ao(r,t.j[e]);t.g!=null&&(r.a+="?",Ao(r,t.g))}else Ao(r,t.a);t.e!=null&&(r.a+="#",Ao(r,t.e)),t.b=r.a}return t.b}function Kwn(t,e){var n,r,s,o,h,d;for(s=new S(e.a);s.a<s.c.c.length;)r=u(Q(s),10),o=K(r,(oe(),Bi)),_t(o,11)&&(h=u(o,11),d=ele(e,r,h.o.a,h.o.b),h.n.a=d.a,h.n.b=d.b,Qs(h,u(K(r,yc),61)));n=new $e(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),u(K(e,(oe(),tu)),21).Hc((Eo(),Th))?(ne(t,(Te(),xs),(ka(),eu)),u(K(Za(t),tu),21).Fc(d9),Rle(t,n,!1)):Rle(t,n,!0)}function Ywn(t,e,n){var r,s,o,h,d,w;if(Dr(n,"Minimize Crossings "+t.a,1),r=e.b.c.length==0||!jT(Xi(new En(null,new _n(e.b,16)),new te(new Tk))).sd((Y2(),t9)),w=e.b.c.length==1&&u(Fe(e.b,0),29).a.c.length==1,o=Ut(K(e,(Te(),jy)))===Ut((q0(),np)),r||w&&!o){br(n);return}s=Gbn(t,e),h=(d=u(n1(s,0),214),d.c.Rf()?d.c.Lf()?new a$t(t):new o$t(t):new s$t(t)),Ucn(s,h),wun(t),br(n)}function Xwn(t,e,n,r){var s,o,h,d,w;if(w=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),s=$r(za(s0,Qd($r(za(n==null?0:es(n),a0)),15))),d=V_(t,e,w),h=H_(t,n,s),d&&s==d.a&&md(n,d.g))return n;if(h&&!r)throw et(new Bn("key already present: "+n));return d&&w4(t,d),h&&w4(t,h),o=new Zj(n,s,e,w),lI(t,o,h),h&&(h.e=null,h.c=null),d&&(d.e=null,d.c=null),Bse(t),d?d.g:null}function Bue(t,e,n){var r,s,o,h,d;for(o=0;o<e;o++){for(r=0,d=o+1;d<e;d++)r=Ka(Ka(za(Xs(t[o],To),Xs(t[d],To)),Xs(n[o+d],To)),Xs($r(r),To)),n[o+d]=$r(r),r=zm(r,32);n[o+e]=$r(r)}for(Son(n,n,e<<1),r=0,s=0,h=0;s<e;++s,h++)r=Ka(Ka(za(Xs(t[s],To),Xs(t[s],To)),Xs(n[h],To)),Xs($r(r),To)),n[h]=$r(r),r=zm(r,32),++h,r=Ka(r,Xs(n[h],To)),n[h]=$r(r),r=zm(r,32);return n}function Rue(t,e,n){var r,s,o,h,d,w,k,_;if(!A8(e)){for(w=Zt(ke(iy(n.c,(Te(),CS)))),k=u(iy(n.c,IO),142),!k&&(k=new MT),r=n.a,s=null,d=e.Kc();d.Ob();)h=u(d.Pb(),11),_=0,s?(_=w,_+=s.o.b):_=k.d,o=Dv(mM(new K2,h),t.f),Ni(t.k,h,o),Tf(gf(df(ff(pf(new Dh,0),Ds(b.Math.ceil(_))),r),o)),s=h,r=o;Tf(gf(df(ff(pf(new Dh,0),Ds(b.Math.ceil(k.a+s.o.b))),r),n.d))}}function Qwn(t,e,n,r,s,o,h,d){var w,k,_,M,B,q;return q=!1,B=o-n.s,_=n.t-e.f+(k=EC(n,B,!1),k.a),r.g+d>B?!1:(M=(w=EC(r,B,!1),w.a),_+d+M<=e.b&&(bD(n,o-n.s),n.c=!0,bD(r,o-n.s),ZD(r,n.s,n.t+n.d+d),r.k=!0,syt(n.q,r),q=!0,s&&(Q$(e,r),r.j=e,t.c.length>h&&(rI((An(h,t.c.length),u(t.c[h],200)),r),(An(h,t.c.length),u(t.c[h],200)).a.c.length==0&&Ig(t,h)))),q)}function Zwn(t,e){var n,r,s,o,h,d;if(Dr(e,"Partition midprocessing",1),s=new qv,Ts(Xi(new En(null,new _n(t.a,16)),new RY),new pv(s)),s.d!=0){for(d=u(Hl(LQt((o=s.i,new En(null,(o||(s.i=new K3(s,s.c))).Nc()))),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),r=d.Kc(),n=u(r.Pb(),19);r.Ob();)h=u(r.Pb(),19),ebn(u(ji(s,n),21),u(ji(s,h),21)),n=h;br(e)}}function jue(t,e,n){var r,s,o,h,d,w,k,_;if(e.p==0){for(e.p=1,h=n,h||(s=new ge,o=(r=u(Kf(uo),9),new hh(r,u(bf(r,r.length),9),0)),h=new Ca(s,o)),u(h.a,15).Fc(e),e.k==(Yn(),Fs)&&u(h.b,21).Fc(u(K(e,(oe(),yc)),61)),w=new S(e.j);w.a<w.c.c.length;)for(d=u(Q(w),11),_=zp(B1(ct(ot(G1,1),De,20,0,[new ca(d),new Nr(d)])));ti(_);)k=u(qr(_),11),jue(t,k.i,h);return h}return null}function mC(t,e){var n,r,s,o,h;if(t.Ab){if(t.Ab){if(h=t.Ab.i,h>0){if(s=u(t.Ab.g,1934),e==null){for(o=0;o<h;++o)if(n=s[o],n.d==null)return n}else for(o=0;o<h;++o)if(n=s[o],ln(e,n.d))return n}}else if(e==null){for(r=new hr(t.Ab);r.e!=r.i.gc();)if(n=u(Tr(r),590),n.d==null)return n}else for(r=new hr(t.Ab);r.e!=r.i.gc();)if(n=u(Tr(r),590),ln(e,n.d))return n}return null}function Jwn(t,e){var n,r,s,o,h,d,w,k;if(k=Be(K(e,(lw(),rye))),k==null||(Pn(k),k)){for(_pn(t,e),s=new ge,w=gi(e.b,0);w.b!=w.d.c;)h=u(di(w),86),n=j4t(t,h,null),n&&(Vo(n,e),s.c[s.c.length]=n);if(t.a=null,t.b=null,s.c.length>1)for(r=new S(s);r.a<r.c.c.length;)for(n=u(Q(r),135),o=0,d=gi(n.b,0);d.b!=d.d.c;)h=u(di(d),86),h.g=o++;return s}return P1(ct(ot(l6n,1),ext,135,0,[e]))}function tmn(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;q=qin(t,pyt(e),s),Jmt(q,N0(s,Id)),E=null,G=s,W=N_(G,yde),Z=new V$t(q),x0n(Z.a,W),bt=N_(G,"endPoint"),Mt=new K$t(q),y0n(Mt.a,bt),St=Gv(G,yH),jt=new Q$t(q),cdn(jt.a,St),M=N0(s,p8t),o=new fGt(t,q),OQe(o.a,o.b,M),B=N0(s,g8t),h=new dGt(t,q),PQe(h.a,h.b,B),k=Gv(s,v8t),d=new gGt(n,q),Ufn(d.b,d.a,k),_=Gv(s,b8t),w=new pGt(r,q),Wfn(w.b,w.a,_)}function K5t(t,e,n){var r,s,o,h,d;switch(d=null,e.g){case 1:for(s=new S(t.j);s.a<s.c.c.length;)if(r=u(Q(s),11),je(Be(K(r,(oe(),Nlt)))))return r;d=new zc,ne(d,(oe(),Nlt),(Rn(),!0));break;case 2:for(h=new S(t.j);h.a<h.c.c.length;)if(o=u(Q(h),11),je(Be(K(o,(oe(),Blt)))))return o;d=new zc,ne(d,(oe(),Blt),(Rn(),!0))}return d&&(ac(d,t),Qs(d,n),Whn(d.n,t.o,n)),d}function $ue(t,e){var n,r,s,o,h,d;for(d=-1,h=new hs,r=new N1(t.b);sc(r.a)||sc(r.b);){for(n=u(sc(r.a)?Q(r.a):Q(r.b),17),d=b.Math.max(d,Zt(ke(K(n,(Te(),Xg))))),n.c==t?Ts(Xi(new En(null,new _n(n.b,16)),new pY),new Vc(h)):Ts(Xi(new En(null,new _n(n.b,16)),new bY),new fo(h)),o=gi(h,0);o.b!=o.d.c;)s=u(di(o),70),ia(s,(oe(),Dx))||ne(s,Dx,n);Hs(e,h),Ph(h)}return d}function emn(t,e,n,r,s){var o,h,d,w;o=new G0(t),A0(o,(Yn(),Jc)),ne(o,(Te(),xs),(ka(),eu)),ne(o,(oe(),Bi),e.c.i),h=new zc,ne(h,Bi,e.c),Qs(h,s),ac(h,o),ne(e.c,ul,o),d=new G0(t),A0(d,Jc),ne(d,xs,eu),ne(d,Bi,e.d.i),w=new zc,ne(w,Bi,e.d),Qs(w,s),ac(w,d),ne(e.d,ul,d),Wa(e,h),ya(e,w),Um(0,n.c.length),WT(n.c,0,o),r.c[r.c.length]=d,ne(o,VV,ve(1)),ne(d,VV,ve(1))}function hw(t,e,n,r,s){var o,h,d,w,k;d=s?r.b:r.a,!L0(t.a,r)&&(k=d>n.s&&d<n.c,w=!1,n.e.b!=0&&n.j.b!=0&&(w=w|(b.Math.abs(d-Zt(ke(ant(n.e))))<Sd&&b.Math.abs(d-Zt(ke(ant(n.j))))<Sd),w=w|(b.Math.abs(d-Zt(ke(mj(n.e))))<Sd&&b.Math.abs(d-Zt(ke(mj(n.j))))<Sd)),(k||w)&&(h=u(K(e,(Te(),zo)),74),h||(h=new Hu,ne(e,zo,h)),o=new No(r),Cs(h,o,h.c.b,h.c),Ys(t.a,o)))}function nmn(t,e,n,r){var s,o,h,d,w,k,_;if(cpn(t,e,n,r))return!0;for(h=new S(e.f);h.a<h.c.c.length;){switch(o=u(Q(h),324),d=!1,w=t.j-e.j+n,k=w+e.o,_=t.k-e.k+r,s=_+e.p,o.a.g){case 0:d=_it(t,w+o.b.a,0,w+o.c.a,_-1);break;case 1:d=_it(t,k,_+o.b.a,t.o-1,_+o.c.a);break;case 2:d=_it(t,w+o.b.a,s,w+o.c.a,t.p-1);break;default:d=_it(t,0,_+o.b.a,w-1,_+o.c.a)}if(d)return!0}return!1}function rmn(t,e){var n,r,s,o,h,d,w,k,_;for(h=new S(e.b);h.a<h.c.c.length;)for(o=u(Q(h),29),k=new S(o.a);k.a<k.c.c.length;){for(w=u(Q(k),10),_=new ge,d=0,r=new pr(xr(Jo(w).a.Kc(),new H));ti(r);)n=u(qr(r),17),!(io(n)||!io(n)&&n.c.i.c==n.d.i.c)&&(s=u(K(n,(Te(),Bx)),19).a,s>d&&(d=s,_.c=Pt(ir,De,1,0,5,1)),s==d&&de(_,new Ca(n.c.i,n)));pn(),ua(_,t.c),$m(t.b,w.p,_)}}function imn(t,e){var n,r,s,o,h,d,w,k,_;for(h=new S(e.b);h.a<h.c.c.length;)for(o=u(Q(h),29),k=new S(o.a);k.a<k.c.c.length;){for(w=u(Q(k),10),_=new ge,d=0,r=new pr(xr(Gs(w).a.Kc(),new H));ti(r);)n=u(qr(r),17),!(io(n)||!io(n)&&n.c.i.c==n.d.i.c)&&(s=u(K(n,(Te(),Bx)),19).a,s>d&&(d=s,_.c=Pt(ir,De,1,0,5,1)),s==d&&de(_,new Ca(n.d.i,n)));pn(),ua(_,t.c),$m(t.f,w.p,_)}}function zue(t){Cv(t,new yb(kv(mv(xv(yv(new mg,yw),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new DZ))),Ee(t,yw,vw,TSt),Ee(t,yw,ky,15),Ee(t,yw,qI,ve(0)),Ee(t,yw,bH,Ie(xSt)),Ee(t,yw,M4,Ie(I3e)),Ee(t,yw,wx,Ie(O3e)),Ee(t,yw,vx,j1e),Ee(t,yw,HI,Ie(kSt)),Ee(t,yw,mx,Ie(ESt)),Ee(t,yw,i8t,Ie(Jht)),Ee(t,yw,lH,Ie(D3e))}function que(t,e){var n,r,s,o,h,d,w,k,_;if(s=t.i,h=s.o.a,o=s.o.b,h<=0&&o<=0)return ye(),fc;switch(k=t.n.a,_=t.n.b,d=t.o.a,n=t.o.b,e.g){case 2:case 1:if(k<0)return ye(),jn;if(k+d>h)return ye(),Wn;break;case 4:case 3:if(_<0)return ye(),Nn;if(_+n>o)return ye(),Ir}return w=(k+d/2)/h,r=(_+n/2)/o,w+r<=1&&w-r<=0?(ye(),jn):w+r>=1&&w-r>=0?(ye(),Wn):r<.5?(ye(),Nn):(ye(),Ir)}function smn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(n=!1,_=Zt(ke(K(e,(Te(),Fw)))),G=s2*_,s=new S(e.b);s.a<s.c.c.length;)for(r=u(Q(s),29),k=new S(r.a),o=u(Q(k),10),M=nwt(t.a[o.p]);k.a<k.c.c.length;)d=u(Q(k),10),B=nwt(t.a[d.p]),M!=B&&(q=U3(t.b,o,d),h=o.n.b+o.o.b+o.d.a+M.a+q,w=d.n.b-d.d.d+B.a,h>w+G&&(W=M.g+B.g,B.a=(B.g*B.a+M.g*M.a)/W,B.g=W,M.f=B,n=!0)),o=d,M=B;return n}function Hue(t,e,n,r,s,o,h){var d,w,k,_,M,B;for(B=new L6,k=e.Kc();k.Ob();)for(d=u(k.Pb(),839),M=new S(d.wf());M.a<M.c.c.length;)_=u(Q(M),181),Ut(_.We((Ei(),ift)))===Ut((F1(),A9))&&(kue(B,_,!1,r,s,o,h),hC(t,B));for(w=n.Kc();w.Ob();)for(d=u(w.Pb(),839),M=new S(d.wf());M.a<M.c.c.length;)_=u(Q(M),181),Ut(_.We((Ei(),ift)))===Ut((F1(),Yy))&&(kue(B,_,!0,r,s,o,h),hC(t,B))}function amn(t,e,n){var r,s,o,h,d,w,k;for(h=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));h.e!=h.i.gc();)for(o=u(Tr(h),33),s=new pr(xr(U0(o).a.Kc(),new H));ti(s);)r=u(qr(s),79),!gC(r)&&!gC(r)&&!cw(r)&&(w=u(gc(Ho(n.f,o)),86),k=u(cr(n,Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82))),86),w&&k&&(d=new Cwt(w,k),ne(d,(Sc(),jS),r),Vo(d,r),pi(w.d,d),pi(k.b,d),pi(e.a,d)))}function omn(t,e){var n,r,s,o,h,d,w,k;for(w=u(u(ji(t.r,e),21),84).Kc();w.Ob();)d=u(w.Pb(),111),s=d.c?FKt(d.c):0,s>0?d.a?(k=d.b.rf().b,s>k&&(t.v||d.c.d.c.length==1?(h=(s-k)/2,d.d.d=h,d.d.a=h):(n=u(Fe(d.c.d,0),181).rf().b,r=(n-k)/2,d.d.d=b.Math.max(0,r),d.d.a=s-r-k))):d.d.a=t.t+s:T_(t.u)&&(o=k4t(d.b),o.d<0&&(d.d.d=-o.d),o.d+o.a>d.b.rf().b&&(d.d.a=o.d+o.a-d.b.rf().b))}function cmn(t,e){var n;switch(TD(t)){case 6:return pa(e);case 7:return Pm(e);case 8:return Om(e);case 3:return Array.isArray(e)&&(n=TD(e),!(n>=14&&n<=16));case 11:return e!=null&&typeof e===Pat;case 12:return e!=null&&(typeof e===AI||typeof e==Pat);case 0:return rst(e,t.__elementTypeId$);case 2:return znt(e)&&e.im!==Ft;case 1:return znt(e)&&e.im!==Ft||rst(e,t.__elementTypeId$);default:return!0}}function Vue(t,e){var n,r,s,o;return r=b.Math.min(b.Math.abs(t.c-(e.c+e.b)),b.Math.abs(t.c+t.b-e.c)),o=b.Math.min(b.Math.abs(t.d-(e.d+e.a)),b.Math.abs(t.d+t.a-e.d)),n=b.Math.abs(t.c+t.b/2-(e.c+e.b/2)),n>t.b/2+e.b/2||(s=b.Math.abs(t.d+t.a/2-(e.d+e.a/2)),s>t.a/2+e.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 Gue(t,e){var n,r,s,o,h,d;return s=Hmt(t),d=Hmt(e),s==d?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,n=(t.d>0?t.d:b.Math.floor((t.a-1)*nfe)+1)-(e.d>0?e.d:b.Math.floor((e.a-1)*nfe)+1),n>r+1?s:n<r-1?-s:(o=(!t.c&&(t.c=qD(t.f)),t.c),h=(!e.c&&(e.c=qD(e.f)),e.c),r<0?o=t4(o,dle(-r)):r>0&&(h=t4(h,dle(r))),Eie(o,h))):s<d?-1:1}function umn(t,e){var n,r,s,o,h,d,w;for(o=0,d=0,w=0,s=new S(t.f.e);s.a<s.c.c.length;)r=u(Q(s),144),e!=r&&(h=t.i[e.b][r.b],o+=h,n=Wp(e.d,r.d),n>0&&t.d!=(j_(),Kut)&&(d+=h*(r.d.a+t.a[e.b][r.b]*(e.d.a-r.d.a)/n)),n>0&&t.d!=(j_(),Uut)&&(w+=h*(r.d.b+t.a[e.b][r.b]*(e.d.b-r.d.b)/n)));switch(t.d.g){case 1:return new $e(d/o,e.d.b);case 2:return new $e(e.d.a,w/o);default:return new $e(d/o,w/o)}}function Uue(t,e){t7();var n,r,s,o,h;if(h=u(K(t.i,(Te(),xs)),98),o=t.j.g-e.j.g,o!=0||!(h==(ka(),Ub)||h==p0||h==eu))return 0;if(h==(ka(),Ub)&&(n=u(K(t,Qg),19),r=u(K(e,Qg),19),n&&r&&(s=n.a-r.a,s!=0)))return s;switch(t.j.g){case 1:return Vs(t.n.a,e.n.a);case 2:return Vs(t.n.b,e.n.b);case 3:return Vs(e.n.a,t.n.a);case 4:return Vs(e.n.b,t.n.b);default:throw et(new Xo(dxt))}}function Wue(t){var e,n,r,s,o,h;for(n=(!t.a&&(t.a=new qs(Qh,t,5)),t.a).i+2,h=new iu(n),de(h,new $e(t.j,t.k)),Ts(new En(null,(!t.a&&(t.a=new qs(Qh,t,5)),new _n(t.a,16))),new z$t(h)),de(h,new $e(t.b,t.c)),e=1;e<h.c.length-1;)r=(An(e-1,h.c.length),u(h.c[e-1],8)),s=(An(e,h.c.length),u(h.c[e],8)),o=(An(e+1,h.c.length),u(h.c[e+1],8)),r.a==s.a&&s.a==o.a||r.b==s.b&&s.b==o.b?Ig(h,e):++e;return h}function Kue(t,e){var n,r,s,o,h,d,w;for(n=XUt(lVt(cVt(uVt(new Lpt,e),new u$(e.e)),V2e),t.a),e.j.c.length==0||hte(u(Fe(e.j,0),57).a,n),w=new qtt,Ni(t.e,n,w),h=new na,d=new na,o=new S(e.k);o.a<o.c.c.length;)s=u(Q(o),17),Ys(h,s.c),Ys(d,s.d);r=h.a.gc()-d.a.gc(),r<0?(RD(w,!0,(ko(),Wh)),RD(w,!1,Lf)):r>0&&(RD(w,!1,(ko(),Wh)),RD(w,!0,Lf)),Mu(e.g,new RVt(t,n)),Ni(t.g,e,n)}function Yue(){Yue=X;var t;for(i7t=ct(ot(Fr,1),ui,25,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]),Tut=Pt(Fr,ui,25,37,15,1),vge=ct(ot(Fr,1),ui,25,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]),s7t=Pt(O2,aot,25,37,14,1),t=2;t<=36;t++)Tut[t]=Ds(b.Math.pow(t,i7t[t])),s7t[t]=iI(Oq,Tut[t])}function lmn(t){var e;if((!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i!=1)throw et(new Bn(ide+(!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i));return e=new Hu,FD(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82))&&so(e,Dhe(t,FD(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82)),!1)),FD(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82))&&so(e,Dhe(t,FD(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82)),!0)),e}function Xue(t,e){var n,r,s,o,h;for(e.d?s=t.a.c==(yd(),Bw)?Jo(e.b):Gs(e.b):s=t.a.c==(yd(),Zg)?Jo(e.b):Gs(e.b),o=!1,r=new pr(xr(s.a.Kc(),new H));ti(r);)if(n=u(qr(r),17),h=je(t.a.f[t.a.g[e.b.p].p]),!(!h&&!io(n)&&n.c.i.c==n.d.i.c)&&!(je(t.a.n[t.a.g[e.b.p].p])||je(t.a.n[t.a.g[e.b.p].p]))&&(o=!0,L0(t.b,t.a.g[yfn(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=o,e.a=null,e}function hmn(t,e,n,r,s){var o,h,d,w,k,_,M;for(pn(),ua(t,new jZ),d=new Sa(t,0),M=new ge,o=0;d.b<d.d.gc();)h=(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),157)),M.c.length!=0&&Wu(h)*Dl(h)>o*2?(_=new K$(M),k=Wu(h)/Dl(h),w=Mat(_,e,new m6,n,r,s,k),$i(Yf(_.e),w),M.c=Pt(ir,De,1,0,5,1),o=0,M.c[M.c.length]=_,M.c[M.c.length]=h,o=Wu(_)*Dl(_)+Wu(h)*Dl(h)):(M.c[M.c.length]=h,o+=Wu(h)*Dl(h));return M}function Y5t(t,e,n){var r,s,o,h,d,w,k;if(r=n.gc(),r==0)return!1;if(t.ej())if(w=t.fj(),l3t(t,e,n),h=r==1?t.Zi(3,null,n.Kc().Pb(),e,w):t.Zi(5,null,n,e,w),t.bj()){for(d=r<100?null:new Dp(r),o=e+r,s=e;s<o;++s)k=t.Oi(s),d=t.cj(k,d),d=d;d?(d.Ei(h),d.Fi()):t.$i(h)}else t.$i(h);else if(l3t(t,e,n),t.bj()){for(d=r<100?null:new Dp(r),o=e+r,s=e;s<o;++s)d=t.cj(t.Oi(s),d);d&&d.Fi()}return!0}function Que(t,e,n){var r,s,o,h,d;return t.ej()?(s=null,o=t.fj(),r=t.Zi(1,d=(h=t.Ui(e,t.oi(e,n)),h),n,e,o),t.bj()&&!(t.ni()&&d?Pi(d,n):Ut(d)===Ut(n))&&(d&&(s=t.dj(d,s)),s=t.cj(n,s)),s?(s.Ei(r),s.Fi()):t.$i(r),d):(d=(h=t.Ui(e,t.oi(e,n)),h),t.bj()&&!(t.ni()&&d?Pi(d,n):Ut(d)===Ut(n))&&(s=null,d&&(s=t.dj(d,null)),s=t.cj(n,s),s&&s.Fi()),d)}function X5t(t,e){var n,r,s,o,h,d,w,k,_;if(t.e=e,t.f=u(K(e,(Kp(),cV)),230),Kdn(e),t.d=b.Math.max(e.e.c.length*16+e.c.c.length,256),!je(Be(K(e,(r1(),c9t)))))for(_=t.e.e.c.length,w=new S(e.e);w.a<w.c.c.length;)d=u(Q(w),144),k=d.d,k.a=qvt(t.f)*_,k.b=qvt(t.f)*_;for(n=e.b,o=new S(e.c);o.a<o.c.c.length;)if(s=u(Q(o),282),r=u(K(s,d9t),19).a,r>0){for(h=0;h<r;h++)de(n,new BYt(s));aoe(s)}}function ux(t,e){var n,r,s,o,h,d;if(t.k==(Yn(),Bl)&&(n=jT(Xi(u(K(t,(oe(),SO)),15).Oc(),new te(new SL))).sd((Y2(),t9))?e:(Wl(),tP),ne(t,Ox,n),n!=(Wl(),k2)))for(r=u(K(t,Bi),17),d=Zt(ke(K(r,(Te(),Xg)))),h=0,n==d0?h=t.o.b-b.Math.ceil(d/2):n==tP&&(t.o.b-=Zt(ke(K(Za(t),Rx))),h=(t.o.b-b.Math.ceil(d))/2),o=new S(t.j);o.a<o.c.c.length;)s=u(Q(o),11),s.n.b=h}function Q5t(){Q5t=X,det(),I5e=new MB,ct(ot(Ux,2),re,368,0,[ct(ot(Ux,1),RH,592,0,[new gM(R0e)])]),ct(ot(Ux,2),re,368,0,[ct(ot(Ux,1),RH,592,0,[new gM(R8t)])]),ct(ot(Ux,2),re,368,0,[ct(ot(Ux,1),RH,592,0,[new gM(j0e)]),ct(ot(Ux,1),RH,592,0,[new gM(R8t)])]),new Rp("-1"),ct(ot(Ux,2),re,368,0,[ct(ot(Ux,1),RH,592,0,[new gM("\\c+")])]),new Rp("0"),new Rp("0"),new Rp("1"),new Rp("0"),new Rp(G0e)}function yq(t){var e,n;return t.c&&t.c.kh()&&(n=u(t.c,49),t.c=u(Zp(t,n),138),t.c!=n&&(t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,9,2,n,t.c)),_t(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&Urt(new qrt(t.Cb,9,13,n,t.c,$g(pl(u(t.Cb,59)),t))):_t(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(e=t.c,_t(e,88)||(e=(hn(),ef)),_t(n,88)||(n=(hn(),ef)),Urt(new qrt(t.Cb,9,10,n,e,$g($c(u(t.Cb,26)),t)))))),t.c}function fmn(t,e){var n,r,s,o,h,d,w,k,_,M;for(Dr(e,"Hypernodes processing",1),s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),d=new S(r.a);d.a<d.c.c.length;)if(h=u(Q(d),10),je(Be(K(h,(Te(),eG))))&&h.j.c.length<=2){for(M=0,_=0,n=0,o=0,k=new S(h.j);k.a<k.c.c.length;)switch(w=u(Q(k),11),w.j.g){case 1:++M;break;case 2:++_;break;case 3:++n;break;case 4:++o}M==0&&n==0&&p5n(t,h,o<=_)}br(e)}function dmn(t,e){var n,r,s,o,h,d,w,k,_;for(Dr(e,"Layer constraint edge reversal",1),h=new S(t.b);h.a<h.c.c.length;){for(o=u(Q(h),29),_=-1,n=new ge,k=cD(o.a),s=0;s<k.length;s++)r=u(K(k[s],(oe(),Nb)),303),_==-1?r!=(j0(),W4)&&(_=s):r==(j0(),W4)&&(Bo(k[s],null),oy(k[s],_++,o)),r==(j0(),Lx)&&de(n,k[s]);for(w=new S(n);w.a<w.c.c.length;)d=u(Q(w),10),Bo(d,null),Bo(d,o)}br(e)}function gmn(t,e,n){var r,s,o,h,d,w,k,_,M;for(Dr(n,"Hyperedge merging",1),qpn(t,e),w=new Sa(e.b,0);w.b<w.d.gc();)if(d=(sr(w.b<w.d.gc()),u(w.d.Xb(w.c=w.b++),29)),_=d.a,_.c.length!=0)for(r=null,s=null,o=null,h=null,k=0;k<_.c.length;k++)r=(An(k,_.c.length),u(_.c[k],10)),s=r.k,s==(Yn(),ha)&&h==ha&&(M=cyn(r,o),M.a&&(vvn(r,o,M.b,M.c),An(k,_.c.length),o2t(_.c,k,1),--k,r=o,s=h)),o=r,h=s;br(n)}function pmn(t,e){var n,r,s;r=wl(t.d,1)!=0,!je(Be(K(e.j,(oe(),Lw))))&&!je(Be(K(e.j,Y4)))||Ut(K(e.j,(Te(),v2)))===Ut((z0(),w2))?e.c.Tf(e.e,r):r=je(Be(K(e.j,Lw))),wI(t,e,r,!0),je(Be(K(e.j,Y4)))&&ne(e.j,Y4,(Rn(),!1)),je(Be(K(e.j,Lw)))&&(ne(e.j,Lw,(Rn(),!1)),ne(e.j,Y4,!0)),n=xue(t,e);do{if(eyt(t),n==0)return 0;r=!r,s=n,wI(t,e,r,!1),n=xue(t,e)}while(s>n);return s}function Zue(t,e){var n,r,s;r=wl(t.d,1)!=0,!je(Be(K(e.j,(oe(),Lw))))&&!je(Be(K(e.j,Y4)))||Ut(K(e.j,(Te(),v2)))===Ut((z0(),w2))?e.c.Tf(e.e,r):r=je(Be(K(e.j,Lw))),wI(t,e,r,!0),je(Be(K(e.j,Y4)))&&ne(e.j,Y4,(Rn(),!1)),je(Be(K(e.j,Lw)))&&(ne(e.j,Lw,(Rn(),!1)),ne(e.j,Y4,!0)),n=Rst(t,e);do{if(eyt(t),n==0)return 0;r=!r,s=n,wI(t,e,r,!1),n=Rst(t,e)}while(s>n);return s}function Jue(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;if(e==n)return!0;if(e=s5t(t,e),n=s5t(t,n),r=lst(e),r){if(_=lst(n),_!=r)return _?(w=r.Dj(),G=_.Dj(),w==G&&w!=null):!1;if(h=(!e.d&&(e.d=new qs(So,e,1)),e.d),o=h.i,B=(!n.d&&(n.d=new qs(So,n,1)),n.d),o==B.i){for(k=0;k<o;++k)if(s=u(At(h,k),87),M=u(At(B,k),87),!Jue(t,s,M))return!1}return!0}else return d=e.e,q=n.e,d==q}function tle(t,e,n,r){var s,o,h,d,w,k,_,M;if(W0(t.e,e)){for(M=gu(t.e.Tg(),e),o=u(t.g,119),_=null,w=-1,d=-1,s=0,k=0;k<t.i;++k)h=o[k],M.rl(h.ak())&&(s==n&&(w=k),s==r&&(d=k,_=h.dd()),++s);if(w==-1)throw et(new Po(Wct+n+Lb+s));if(d==-1)throw et(new Po(Kct+r+Lb+s));return tC(t,w,d),Ll(t.e)&&Yk(t,Gp(t,7,e,ve(r),_,n,!0)),_}else throw et(new Bn("The feature must be many-valued to support move"))}function ele(t,e,n,r){var s,o,h,d,w;switch(w=new No(e.n),w.a+=e.o.a/2,w.b+=e.o.b/2,d=Zt(ke(K(e,(Te(),zy)))),o=t.f,h=t.d,s=t.c,u(K(e,(oe(),yc)),61).g){case 1:w.a+=h.b+s.a-n/2,w.b=-r-d,e.n.b=-(h.d+d+s.b);break;case 2:w.a=o.a+h.b+h.c+d,w.b+=h.d+s.b-r/2,e.n.a=o.a+h.c+d-s.a;break;case 3:w.a+=h.b+s.a-n/2,w.b=o.b+h.d+h.a+d,e.n.b=o.b+h.a+d-s.b;break;case 4:w.a=-n-d,w.b+=h.d+s.b-r/2,e.n.a=-(h.b+d+s.a)}return w}function nle(t){var e,n,r,s,o,h;return r=new Gmt,Vo(r,t),Ut(K(r,(Te(),Jl)))===Ut((ko(),f0))&&ne(r,Jl,_z(r)),K(r,(D$(),VS))==null&&(h=u(vae(t),160),ne(r,VS,ij(h.We(VS)))),ne(r,(oe(),Bi),t),ne(r,tu,(e=u(Kf(Alt),9),new hh(e,u(bf(e,e.length),9),0))),s=r4n((gs(t)&&(Dm(),new Sm(gs(t))),Dm(),new rnt(gs(t)?new Sm(gs(t)):null,t)),Lf),o=u(K(r,r_t),116),n=r.d,uQt(n,o),uQt(n,s),r}function bmn(t,e,n){var r,s;r=e.c.i,s=n.d.i,r.k==(Yn(),ha)?(ne(t,(oe(),o1),u(K(r,o1),11)),ne(t,Uh,u(K(r,Uh),11)),ne(t,Ny,Be(K(r,Ny)))):r.k==Bl?(ne(t,(oe(),o1),u(K(r,o1),11)),ne(t,Uh,u(K(r,Uh),11)),ne(t,Ny,(Rn(),!0))):s.k==Bl?(ne(t,(oe(),o1),u(K(s,o1),11)),ne(t,Uh,u(K(s,Uh),11)),ne(t,Ny,(Rn(),!0))):(ne(t,(oe(),o1),e.c),ne(t,Uh,n.d))}function vmn(t){var e,n,r,s,o,h,d;for(t.o=new F3,r=new hs,h=new S(t.e.a);h.a<h.c.c.length;)o=u(Q(h),121),c4(o).c.length==1&&Cs(r,o,r.c.b,r.c);for(;r.b!=0;)o=u(r.b==0?null:(sr(r.b!=0),bh(r,r.a.a)),121),c4(o).c.length!=0&&(e=u(Fe(c4(o),0),213),n=o.g.a.c.length>0,d=Az(e,o),Cbt(n?d.b:d.g,e),c4(d).c.length==1&&Cs(r,d,r.c.b,r.c),s=new Ca(o,e),Up(t.o,s),Au(t.e.a,o))}function rle(t,e){var n,r,s,o,h,d,w;return r=b.Math.abs(Uj(t.b).a-Uj(e.b).a),d=b.Math.abs(Uj(t.b).b-Uj(e.b).b),s=0,w=0,n=1,h=1,r>t.b.b/2+e.b.b/2&&(s=b.Math.min(b.Math.abs(t.b.c-(e.b.c+e.b.b)),b.Math.abs(t.b.c+t.b.b-e.b.c)),n=1-s/r),d>t.b.a/2+e.b.a/2&&(w=b.Math.min(b.Math.abs(t.b.d-(e.b.d+e.b.a)),b.Math.abs(t.b.d+t.b.a-e.b.d)),h=1-w/d),o=b.Math.min(n,h),(1-o)*b.Math.sqrt(r*r+d*d)}function wmn(t){var e,n,r,s;for(Lat(t,t.e,t.f,(zv(),y2),!0,t.c,t.i),Lat(t,t.e,t.f,y2,!1,t.c,t.i),Lat(t,t.e,t.f,n5,!0,t.c,t.i),Lat(t,t.e,t.f,n5,!1,t.c,t.i),ymn(t,t.c,t.e,t.f,t.i),r=new Sa(t.i,0);r.b<r.d.gc();)for(e=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),128)),s=new Sa(t.i,r.b);s.b<s.d.gc();)n=(sr(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),128)),Zyn(e,n);y5n(t.i,u(K(t.d,(oe(),Px)),230)),N3n(t.i)}function lat(t,e){var n,r;if(e!=null){if(r=ow(t),r)if(r.i&1){if(r==Tl)return Om(e);if(r==Fr)return _t(e,19);if(r==r3)return _t(e,155);if(r==tl)return _t(e,217);if(r==Sh)return _t(e,172);if(r==wa)return Pm(e);if(r==d5)return _t(e,184);if(r==O2)return _t(e,162)}else return FR(),n=u(cr(iU,r),55),!n||n.wj(e);else if(_t(e,56))return t.uk(u(e,56))}return!1}function Z5t(){Z5t=X;var t,e,n,r,s,o,h,d,w;for(td=Pt(tl,N4,25,255,15,1),op=Pt(Sh,Td,25,64,15,1),e=0;e<255;e++)td[e]=-1;for(n=90;n>=65;n--)td[n]=n-65<<24>>24;for(r=122;r>=97;r--)td[r]=r-97+26<<24>>24;for(s=57;s>=48;s--)td[s]=s-48+52<<24>>24;for(td[43]=62,td[47]=63,o=0;o<=25;o++)op[o]=65+o&Ps;for(h=26,w=0;h<=51;++h,w++)op[h]=97+w&Ps;for(t=52,d=0;t<=61;++t,d++)op[t]=48+d&Ps;op[62]=43,op[63]=47}function mmn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(t.dc())return new $a;for(k=0,M=0,s=t.Kc();s.Ob();)r=u(s.Pb(),37),o=r.f,k=b.Math.max(k,o.a),M+=o.a*o.b;for(k=b.Math.max(k,b.Math.sqrt(M)*Zt(ke(K(u(t.Kc().Pb(),37),(Te(),KV))))),B=0,q=0,w=0,n=e,d=t.Kc();d.Ob();)h=u(d.Pb(),37),_=h.f,B+_.a>k&&(B=0,q+=w+e,w=0),wC(h,B,q),n=b.Math.max(n,B+_.a),w=b.Math.max(w,_.b),B+=_.a+e;return new $e(n+e,q+w+e)}function ymn(t,e,n,r,s){var o,h,d,w,k,_,M;for(h=new S(e);h.a<h.c.c.length;){if(o=u(Q(h),17),w=o.c,n.a._b(w))k=(zv(),y2);else if(r.a._b(w))k=(zv(),n5);else throw et(new Bn("Source port must be in one of the port sets."));if(_=o.d,n.a._b(_))M=(zv(),y2);else if(r.a._b(_))M=(zv(),n5);else throw et(new Bn("Target port must be in one of the port sets."));d=new Yae(o,k,M),Ni(t.b,o,d),s.c[s.c.length]=d}}function J5t(t,e){var n,r,s,o,h,d,w;if(!M1(t))throw et(new Xo(rde));if(r=M1(t),o=r.g,s=r.f,o<=0&&s<=0)return ye(),fc;switch(d=t.i,w=t.j,e.g){case 2:case 1:if(d<0)return ye(),jn;if(d+t.g>o)return ye(),Wn;break;case 4:case 3:if(w<0)return ye(),Nn;if(w+t.f>s)return ye(),Ir}return h=(d+t.g/2)/o,n=(w+t.f/2)/s,h+n<=1&&h-n<=0?(ye(),jn):h+n>=1&&h-n>=0?(ye(),Wn):n<.5?(ye(),Nn):(ye(),Ir)}function xmn(t,e,n,r,s){var o,h;if(o=Ka(Xs(e[0],To),Xs(r[0],To)),t[0]=$r(o),o=$p(o,32),n>=s){for(h=1;h<s;h++)o=Ka(o,Ka(Xs(e[h],To),Xs(r[h],To))),t[h]=$r(o),o=$p(o,32);for(;h<n;h++)o=Ka(o,Xs(e[h],To)),t[h]=$r(o),o=$p(o,32)}else{for(h=1;h<n;h++)o=Ka(o,Ka(Xs(e[h],To),Xs(r[h],To))),t[h]=$r(o),o=$p(o,32);for(;h<s;h++)o=Ka(o,Xs(r[h],To)),t[h]=$r(o),o=$p(o,32)}Oc(o,0)!=0&&(t[h]=$r(o))}function by(t){Si();var e,n,r,s,o,h;if(t.e!=4&&t.e!=5)throw et(new Bn("Token#complementRanges(): must be RANGE: "+t.e));for(o=t,v4(o),TC(o),r=o.b.length+2,o.b[0]==0&&(r-=2),n=o.b[o.b.length-1],n==K7&&(r-=2),s=new ql(4),s.b=Pt(Fr,ui,25,r,15,1),h=0,o.b[0]>0&&(s.b[h++]=0,s.b[h++]=o.b[0]-1),e=1;e<o.b.length-2;e+=2)s.b[h++]=o.b[e]+1,s.b[h++]=o.b[e+1]-1;return n!=K7&&(s.b[h++]=n+1,s.b[h]=K7),s.a=!0,s}function hat(t,e,n){var r,s,o,h,d,w,k,_;if(r=n.gc(),r==0)return!1;if(t.ej())if(k=t.fj(),Lst(t,e,n),h=r==1?t.Zi(3,null,n.Kc().Pb(),e,k):t.Zi(5,null,n,e,k),t.bj()){for(d=r<100?null:new Dp(r),o=e+r,s=e;s<o;++s)_=t.g[s],d=t.cj(_,d),d=t.jj(_,d);d?(d.Ei(h),d.Fi()):t.$i(h)}else t.$i(h);else if(Lst(t,e,n),t.bj()){for(d=r<100?null:new Dp(r),o=e+r,s=e;s<o;++s)w=t.g[s],d=t.cj(w,d);d&&d.Fi()}return!0}function t6t(t,e,n,r){var s,o,h,d,w;for(h=new S(t.k);h.a<h.c.c.length;)s=u(Q(h),129),(!r||s.c==(Xf(),m2))&&(w=s.b,w.g<0&&s.d>0&&(sM(w,w.d-s.d),s.c==(Xf(),m2)&&apt(w,w.a-s.d),w.d<=0&&w.i>0&&Cs(e,w,e.c.b,e.c)));for(o=new S(t.f);o.a<o.c.c.length;)s=u(Q(o),129),(!r||s.c==(Xf(),m2))&&(d=s.a,d.g<0&&s.d>0&&(xT(d,d.i-s.d),s.c==(Xf(),m2)&&dv(d,d.b-s.d),d.i<=0&&d.d>0&&Cs(n,d,n.c.b,n.c)))}function kmn(t,e,n){var r,s,o,h,d,w,k,_;for(Dr(n,"Processor compute fanout",1),al(t.b),al(t.a),d=null,o=gi(e.b,0);!d&&o.b!=o.d.c;)k=u(di(o),86),je(Be(K(k,(Sc(),Wy))))&&(d=k);for(w=new hs,Cs(w,d,w.c.b,w.c),ghe(t,w),_=gi(e.b,0);_.b!=_.d.c;)k=u(di(_),86),h=Yr(K(k,(Sc(),RS))),s=Uc(t.b,h)!=null?u(Uc(t.b,h),19).a:0,ne(k,xG,ve(s)),r=1+(Uc(t.a,h)!=null?u(Uc(t.a,h),19).a:0),ne(k,Ume,ve(r));br(n)}function Emn(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G;for(B=adn(t,n),w=0;w<e;w++){for(Rm(s,n),q=new ge,G=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),407)),_=B+w;_<t.b;_++)d=G,G=(sr(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),407)),de(q,new Ice(d,G,n));for(M=B+w;M<t.b;M++)sr(r.b>0),r.a.Xb(r.c=--r.b),M>B+w&&Ol(r);for(h=new S(q);h.a<h.c.c.length;)o=u(Q(h),407),Rm(r,o);if(w<e-1)for(k=B+w;k<t.b;k++)sr(r.b>0),r.a.Xb(r.c=--r.b)}}function Tmn(){Si();var t,e,n,r,s,o;if(Oft)return Oft;for(t=new ql(4),vy(t,i2(hut,!0)),CC(t,i2("M",!0)),CC(t,i2("C",!0)),o=new ql(4),r=0;r<11;r++)Yc(o,r,r);return e=new ql(4),vy(e,i2("M",!0)),Yc(e,4448,4607),Yc(e,65438,65439),s=new l_(2),xb(s,t),xb(s,fA),n=new l_(2),n.$l(jj(o,i2("L",!0))),n.$l(e),n=new Wm(3,n),n=new uwt(s,n),Oft=n,Oft}function _mn(t){var e,n;if(e=Yr(He(t,(Ei(),GS))),!mne(e,t)&&!sb(t,C9)&&((!t.a&&(t.a=new pe(bs,t,10,11)),t.a).i!=0||je(Be(He(t,XO)))))if(e==null||uy(e).length==0){if(!mne(Xn,t))throw n=ii(ii(new jl("Unable to load default layout algorithm "),Xn)," for unconfigured node "),Sq(t,n),et(new B3(n.a))}else throw n=ii(ii(new jl("Layout algorithm '"),e),"' not found for "),Sq(t,n),et(new B3(n.a))}function fat(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;if(n=t.i,e=t.n,t.b==0)for(q=n.c+e.b,B=n.b-e.b-e.c,h=t.a,w=0,_=h.length;w<_;++w)s=h[w],zj(s,q,B);else r=ese(t,!1),zj(t.a[0],n.c+e.b,r[0]),zj(t.a[2],n.c+n.b-e.c-r[2],r[2]),M=n.b-e.b-e.c,r[0]>0&&(M-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(M-=r[2]+t.c),r[1]=b.Math.max(r[1],M),zj(t.a[1],n.c+e.b+r[0]-(r[1]-M)/2,r[1]);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],_t(s,326)&&u(s,326).Te()}function Cmn(t){var e,n,r,s,o,h,d,w,k,_,M;for(M=new CQ,M.d=0,h=new S(t.b);h.a<h.c.c.length;)o=u(Q(h),29),M.d+=o.a.c.length;for(r=0,s=0,M.a=Pt(Fr,ui,25,t.b.c.length,15,1),k=0,_=0,M.e=Pt(Fr,ui,25,M.d,15,1),n=new S(t.b);n.a<n.c.c.length;)for(e=u(Q(n),29),e.p=r++,M.a[e.p]=s++,_=0,w=new S(e.a);w.a<w.c.c.length;)d=u(Q(w),10),d.p=k++,M.e[d.p]=_++;return M.c=new _$t(M),M.b=Wd(M.d),rmn(M,t),M.f=Wd(M.d),imn(M,t),M}function ile(t,e){var n,r,s,o;for(o=u(Fe(t.n,t.n.c.length-1),211).d,t.p=b.Math.min(t.p,e.g),t.r=b.Math.max(t.r,o),t.g=b.Math.max(t.g,e.g+(t.b.c.length==1?0:t.i)),t.o=b.Math.min(t.o,e.f),t.e+=e.f+(t.b.c.length==1?0:t.i),t.f=b.Math.max(t.f,e.f),s=t.n.c.length>0?(t.n.c.length-1)*t.i:0,r=new S(t.n);r.a<r.c.c.length;)n=u(Q(r),211),s+=n.a;t.d=s,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),z3t(t.j)}function sle(t,e){var n,r,s,o,h,d,w,k,_,M;if(_=Be(K(e,(r1(),Zpe))),_==null||(Pn(_),_)){for(M=Pt(Tl,c0,25,e.e.c.length,16,1),h=wpn(e),s=new hs,k=new S(e.e);k.a<k.c.c.length;)d=u(Q(k),144),n=v5t(t,d,null,null,M,h),n&&(Vo(n,e),Cs(s,n,s.c.b,s.c));if(s.b>1)for(r=gi(s,0);r.b!=r.d.c;)for(n=u(di(r),231),o=0,w=new S(n.e);w.a<w.c.c.length;)d=u(Q(w),144),d.b=o++;return s}return P1(ct(ot(r6n,1),ext,231,0,[e]))}function kd(t){var e,n,r,s,o,h,d;if(!t.g){if(d=new V2,e=aA,h=e.a.zc(t,e),h==null){for(r=new hr(qo(t));r.e!=r.i.gc();)n=u(Tr(r),26),vs(d,kd(n));e.a.Bc(t)!=null,e.a.gc()==0}for(s=d.i,o=(!t.s&&(t.s=new pe(ju,t,21,17)),new hr(t.s));o.e!=o.i.gc();++s)Ett(u(Tr(o),449),s);vs(d,(!t.s&&(t.s=new pe(ju,t,21,17)),t.s)),ey(d),t.g=new Kne(t,d),t.i=u(d.g,247),t.i==null&&(t.i=Cft),t.p=null,gl(t).b&=-5}return t.g}function dat(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G;if(r=t.i,n=t.n,t.b==0)e=tse(t,!1),qj(t.a[0],r.d+n.d,e[0]),qj(t.a[2],r.d+r.a-n.a-e[2],e[2]),B=r.a-n.d-n.a,M=B,e[0]>0&&(e[0]+=t.c,M-=e[0]),e[2]>0&&(M-=e[2]+t.c),e[1]=b.Math.max(e[1],M),qj(t.a[1],r.d+n.d+e[0]-(e[1]-M)/2,e[1]);else for(G=r.d+n.d,q=r.a-n.d-n.a,h=t.a,w=0,_=h.length;w<_;++w)s=h[w],qj(s,G,q);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],_t(s,326)&&u(s,326).Ue()}function Smn(t){var e,n,r,s,o,h,d,w,k,_;for(_=Pt(Fr,ui,25,t.b.c.length+1,15,1),k=new na,r=0,o=new S(t.b);o.a<o.c.c.length;){for(s=u(Q(o),29),_[r++]=k.a.gc(),w=new S(s.a);w.a<w.c.c.length;)for(h=u(Q(w),10),n=new pr(xr(Gs(h).a.Kc(),new H));ti(n);)e=u(qr(n),17),k.a.zc(e,k);for(d=new S(s.a);d.a<d.c.c.length;)for(h=u(Q(d),10),n=new pr(xr(Jo(h).a.Kc(),new H));ti(n);)e=u(qr(n),17),k.a.Bc(e)!=null}return _}function xq(t,e,n,r){var s,o,h,d,w;if(w=gu(t.e.Tg(),e),s=u(t.g,119),po(),u(e,66).Oj()){for(h=0;h<t.i;++h)if(o=s[h],w.rl(o.ak())&&Pi(o,n))return!0}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],w.rl(o.ak())&&Pi(n,o.dd()))return!0;if(r){for(h=0;h<t.i;++h)if(o=s[h],w.rl(o.ak())&&Ut(n)===Ut(cnt(t,u(o.dd(),56))))return!0}}else for(h=0;h<t.i;++h)if(o=s[h],w.rl(o.ak())&&o.dd()==null)return!1;return!1}function ale(t,e,n,r){var s,o,h,d,w,k;if(k=gu(t.e.Tg(),e),h=u(t.g,119),W0(t.e,e)){if(e.hi()&&(o=T7(t,e,r,_t(e,99)&&(u(e,18).Bb&co)!=0),o>=0&&o!=n))throw et(new Bn(JI));for(s=0,w=0;w<t.i;++w)if(d=h[w],k.rl(d.ak())){if(s==n)return u(l4(t,w,(po(),u(e,66).Oj()?u(r,72):Jd(e,r))),72);++s}throw et(new Po(XC+n+Lb+s))}else{for(w=0;w<t.i;++w)if(d=h[w],k.rl(d.ak()))return po(),u(e,66).Oj()?d:d.dd();return null}}function ole(t,e,n,r){var s,o,h,d;for(d=n,h=new S(e.a);h.a<h.c.c.length;){if(o=u(Q(h),221),s=u(o.b,65),nw(t.b.c,s.b.c+s.b.b)<=0&&nw(s.b.c,t.b.c+t.b.b)<=0&&nw(t.b.d,s.b.d+s.b.a)<=0&&nw(s.b.d,t.b.d+t.b.a)<=0){if(nw(s.b.c,t.b.c+t.b.b)==0&&r.a<0||nw(s.b.c+s.b.b,t.b.c)==0&&r.a>0||nw(s.b.d,t.b.d+t.b.a)==0&&r.b<0||nw(s.b.d+s.b.a,t.b.d)==0&&r.b>0){d=0;break}}else d=b.Math.min(d,ooe(t,s,r));d=b.Math.min(d,ole(t,o,d,r))}return d}function EI(t,e){var n,r,s,o,h,d,w;if(t.b<2)throw et(new Bn("The vector chain must contain at least a source and a target point."));for(s=(sr(t.b!=0),u(t.a.a.c,8)),uj(e,s.a,s.b),w=new M6((!e.a&&(e.a=new qs(Qh,e,5)),e.a)),h=gi(t,1);h.a<t.b-1;)d=u(di(h),8),w.e!=w.i.gc()?n=u(Tr(w),469):(n=(Ev(),r=new xp,r),cie(w,n)),J2t(n,d.a,d.b);for(;w.e!=w.i.gc();)Tr(w),uC(w);o=(sr(t.b!=0),u(t.c.b.c,8)),cj(e,o.a,o.b)}function cle(t,e){var n,r,s,o,h,d,w,k,_;for(n=0,s=new S((An(0,t.c.length),u(t.c[0],101)).g.b.j);s.a<s.c.c.length;)r=u(Q(s),11),r.p=n++;for(e==(ye(),Nn)?ua(t,new PX):ua(t,new NX),d=0,_=t.c.length-1;d<_;)h=(An(d,t.c.length),u(t.c[d],101)),k=(An(_,t.c.length),u(t.c[_],101)),o=e==Nn?h.c:h.a,w=e==Nn?k.a:k.c,Mg(h,e,(R1(),a9),o),Mg(k,e,s9,w),++d,--_;d==_&&Mg((An(d,t.c.length),u(t.c[d],101)),e,(R1(),Sx),null)}function Amn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;return M=t.a.i+t.a.g/2,B=t.a.i+t.a.g/2,G=e.i+e.g/2,Z=e.j+e.f/2,d=new $e(G,Z),k=u(He(e,(Ei(),qx)),8),k.a=k.a+M,k.b=k.b+B,o=(d.b-k.b)/(d.a-k.a),r=d.b-o*d.a,W=n.i+n.g/2,bt=n.j+n.f/2,w=new $e(W,bt),_=u(He(n,qx),8),_.a=_.a+M,_.b=_.b+B,h=(w.b-_.b)/(w.a-_.a),s=w.b-h*w.a,q=(r-s)/(h-o),k.a<q&&d.a<q||q<k.a&&q<d.a?!1:!(_.a<q&&w.a<q||q<_.a&&q<w.a)}function Lmn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(B=u(cr(t.c,e),183),!B)throw et(new dd("Edge did not exist in input."));return k=c7(B),o=pM((!e.a&&(e.a=new pe(fs,e,6,6)),e.a)),d=!o,d&&(q=new yg,n=new gKt(t,k,q),PYe((!e.a&&(e.a=new pe(fs,e,6,6)),e.a),n),Zf(B,d8t,q)),s=sb(e,(Ei(),s5)),s&&(_=u(He(e,s5),74),h=!_||JYt(_),w=!h,w&&(M=new yg,r=new ozt(M),Pa(_,r),Zf(B,"junctionPoints",M))),b8(B,"container",aD(e).k),null}function e6t(t,e,n){var r,s,o,h,d,w,k,_;this.a=t,this.b=e,this.c=n,this.e=P1(ct(ot(t6n,1),De,168,0,[new _6(t,e),new _6(e,n),new _6(n,t)])),this.f=P1(ct(ot(sa,1),re,8,0,[t,e,n])),this.d=(r=ba(pc(this.b),this.a),s=ba(pc(this.c),this.a),o=ba(pc(this.c),this.b),h=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),d=s.a*(this.a.a+this.c.a)+s.b*(this.a.b+this.c.b),w=2*(r.a*o.b-r.b*o.a),k=(s.b*h-r.b*d)/w,_=(r.a*d-s.a*h)/w,new $e(k,_))}function ule(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G;if(B=new Hm(t.p),Zf(e,xi,B),n&&!(t.f?nD(t.f):null).a.dc())for(_=new yg,Zf(e,"logs",_),d=0,G=new L((t.f?nD(t.f):null).b.Kc());G.b.Ob();)q=Yr(G.b.Pb()),M=new Hm(q),Xm(_,d),Crt(_,d,M),++d;if(r&&(k=new yT(t.q),Zf(e,"executionTime",k)),!nD(t.a).a.dc())for(h=new yg,Zf(e,Vct,h),d=0,o=new L(nD(t.a).b.Kc());o.b.Ob();)s=u(o.b.Pb(),1949),w=new y6,Xm(h,d),Crt(h,d,w),ule(s,w,n,r),++d}function fw(t,e){var n,r,s,o,h,d;for(o=t.c,h=t.d,Wa(t,null),ya(t,null),e&&je(Be(K(h,(oe(),Nlt))))?Wa(t,K5t(h.i,(xo(),lu),(ye(),Wn))):Wa(t,h),e&&je(Be(K(o,(oe(),Blt))))?ya(t,K5t(o.i,(xo(),ll),(ye(),jn))):ya(t,o),r=new S(t.b);r.a<r.c.c.length;)n=u(Q(r),70),s=u(K(n,(Te(),Bd)),272),s==(F1(),A9)?ne(n,Bd,Yy):s==Yy&&ne(n,Bd,A9);d=je(Be(K(t,(oe(),K1)))),ne(t,K1,(Rn(),!d)),t.a=$D(t.a)}function Mmn(t,e,n){var r,s,o,h,d,w;for(r=0,o=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));o.e!=o.i.gc();)s=u(Tr(o),33),h="",(!s.n&&(s.n=new pe(nc,s,1,7)),s.n).i==0||(h=u(At((!s.n&&(s.n=new pe(nc,s,1,7)),s.n),0),137).a),d=new GYt(h),Vo(d,s),ne(d,(Kp(),Cx),s),d.b=r++,d.d.a=s.i+s.g/2,d.d.b=s.j+s.f/2,d.e.a=b.Math.max(s.g,1),d.e.b=b.Math.max(s.f,1),de(e.e,d),du(n.f,s,d),w=u(He(s,(r1(),f9t)),98),w==(ka(),T2)&&(w=Q1)}function Dmn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;n=Dv(new K2,t.f),k=t.i[e.c.i.p],q=t.i[e.d.i.p],w=e.c,B=e.d,d=w.a.b,M=B.a.b,k.b||(d+=w.n.b),q.b||(M+=B.n.b),_=Ds(b.Math.max(0,d-M)),h=Ds(b.Math.max(0,M-d)),G=(W=b.Math.max(1,u(K(e,(Te(),Bx)),19).a),Z=Qwt(e.c.i.k,e.d.i.k),W*Z),s=Tf(gf(df(ff(pf(new Dh,G),h),n),u(cr(t.k,e.c),121))),o=Tf(gf(df(ff(pf(new Dh,G),_),n),u(cr(t.k,e.d),121))),r=new WVt(s,o),t.c[e.p]=r}function Imn(t,e,n,r){var s,o,h,d,w,k;for(h=new Fle(t,e,n),w=new Sa(r,0),s=!1;w.b<w.d.gc();)d=(sr(w.b<w.d.gc()),u(w.d.Xb(w.c=w.b++),233)),d==e||d==n?Ol(w):!s&&Zt(L1(d.g,d.d[0]).a)>Zt(L1(h.g,h.d[0]).a)?(sr(w.b>0),w.a.Xb(w.c=--w.b),Rm(w,h),s=!0):d.e&&d.e.gc()>0&&(o=(!d.e&&(d.e=new ge),d.e).Mc(e),k=(!d.e&&(d.e=new ge),d.e).Mc(n),(o||k)&&((!d.e&&(d.e=new ge),d.e).Fc(h),++h.c));s||(r.c[r.c.length]=h)}function lle(t){var e,n,r;if(V3(u(K(t,(Te(),xs)),98)))for(n=new S(t.j);n.a<n.c.c.length;)e=u(Q(n),11),e.j==(ye(),fc)&&(r=u(K(e,(oe(),ul)),10),r?Qs(e,u(K(r,yc),61)):e.e.c.length-e.g.c.length<0?Qs(e,Wn):Qs(e,jn));else{for(n=new S(t.j);n.a<n.c.c.length;)e=u(Q(n),11),r=u(K(e,(oe(),ul)),10),r?Qs(e,u(K(r,yc),61)):e.e.c.length-e.g.c.length<0?Qs(e,(ye(),Wn)):Qs(e,(ye(),jn));ne(t,xs,(ka(),M9))}}function TI(t){var e,n,r;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:r="\\"+String.fromCharCode(t&Ps);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:t<32?(n=(e=t>>>0,"0"+e.toString(16)),r="\\x"+$l(n,n.length-2,n.length)):t>=co?(n=(e=t>>>0,"0"+e.toString(16)),r="\\v"+$l(n,n.length-6,n.length)):r=""+String.fromCharCode(t&Ps)}return r}function gat(t,e){var n,r,s,o,h,d,w,k,_,M;if(h=t.e,w=e.e,w==0)return t;if(h==0)return e.e==0?e:new Y3(-e.e,e.d,e.a);if(o=t.d,d=e.d,o+d==2)return n=Xs(t.a[0],To),r=Xs(e.a[0],To),h<0&&(n=P8(n)),w<0&&(r=P8(r)),QD(Jp(n,r));if(s=o!=d?o>d?1:-1:Iyt(t.a,e.a,o),s==-1)M=-w,_=h==w?Frt(e.a,d,t.a,o):Rrt(e.a,d,t.a,o);else if(M=h,h==w){if(s==0)return r2(),Z7;_=Frt(t.a,o,e.a,d)}else _=Rrt(t.a,o,e.a,d);return k=new Y3(M,_.length,_),O_(k),k}function n6t(t){var e,n,r,s,o,h;for(this.e=new ge,this.a=new ge,n=t.b-1;n<3;n++)f8(t,0,u(n1(t,0),8));if(t.b<4)throw et(new Bn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,v2n(this,t.b+this.b-1),h=new ge,o=new S(this.e),e=0;e<this.b-1;e++)de(h,ke(Q(o)));for(s=gi(t,0);s.b!=s.d.c;)r=u(di(s),8),de(h,ke(Q(o))),de(this.a,new QXt(r,h)),An(0,h.c.length),h.c.splice(0,1)}function hle(t,e){var n,r,s,o,h,d,w,k,_;for(o=new S(t.b);o.a<o.c.c.length;)for(s=u(Q(o),29),d=new S(s.a);d.a<d.c.c.length;)for(h=u(Q(d),10),h.k==(Yn(),Bl)&&(w=(k=u(qr(new pr(xr(Jo(h).a.Kc(),new H))),17),_=u(qr(new pr(xr(Gs(h).a.Kc(),new H))),17),!je(Be(K(k,(oe(),K1))))||!je(Be(K(_,K1)))?e:$ne(e)),ux(h,w)),r=new pr(xr(Gs(h).a.Kc(),new H));ti(r);)n=u(qr(r),17),w=je(Be(K(n,(oe(),K1))))?$ne(e):e,One(n,w)}function Omn(t,e,n,r,s){var o,h,d;if(n.f>=e.o&&n.f<=e.f||e.a*.5<=n.f&&e.a*1.5>=n.f){if(h=u(Fe(e.n,e.n.c.length-1),211),h.e+h.d+n.g+s<=r&&(o=u(Fe(e.n,e.n.c.length-1),211),o.f-t.f+n.f<=t.b||t.a.c.length==1))return e3t(e,n),!0;if(e.s+n.g<=r&&(e.t+e.d+n.f+s<=t.b||t.a.c.length==1))return de(e.b,n),d=u(Fe(e.n,e.n.c.length-1),211),de(e.n,new g$(e.s,d.f+d.a+e.i,e.i)),B3t(u(Fe(e.n,e.n.c.length-1),211),n),ile(e,n),!0}return!1}function fle(t,e,n){var r,s,o,h;return t.ej()?(s=null,o=t.fj(),r=t.Zi(1,h=Krt(t,e,n),n,e,o),t.bj()&&!(t.ni()&&h!=null?Pi(h,n):Ut(h)===Ut(n))?(h!=null&&(s=t.dj(h,s)),s=t.cj(n,s),t.ij()&&(s=t.lj(h,n,s)),s?(s.Ei(r),s.Fi()):t.$i(r)):(t.ij()&&(s=t.lj(h,n,s)),s?(s.Ei(r),s.Fi()):t.$i(r)),h):(h=Krt(t,e,n),t.bj()&&!(t.ni()&&h!=null?Pi(h,n):Ut(h)===Ut(n))&&(s=null,h!=null&&(s=t.dj(h,null)),s=t.cj(n,s),s&&s.Fi()),h)}function yC(t,e){var n,r,s,o,h,d,w,k;e%=24,t.q.getHours()!=e&&(r=new b.Date(t.q.getTime()),r.setDate(r.getDate()+1),d=t.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(w=d/60|0,k=d%60,s=t.q.getDate(),n=t.q.getHours(),n+w>=24&&++s,o=new b.Date(t.q.getFullYear(),t.q.getMonth(),s,e+w,t.q.getMinutes()+k,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(o.getTime()))),h=t.q.getTime(),t.q.setTime(h+36e5),t.q.getHours()!=e&&t.q.setTime(h)}function Pmn(t,e){var n,r,s,o,h;if(Dr(e,"Path-Like Graph Wrapping",1),t.b.c.length==0){br(e);return}if(s=new u5t(t),h=(s.i==null&&(s.i=nyt(s,new NF)),Zt(s.i)*s.f),n=h/(s.i==null&&(s.i=nyt(s,new NF)),Zt(s.i)),s.b>n){br(e);return}switch(u(K(t,(Te(),rht)),337).g){case 2:o=new BF;break;case 0:o=new PF;break;default:o=new RF}if(r=o.Vf(t,s),!o.Wf())switch(u(K(t,cG),338).g){case 2:r=coe(s,r);break;case 1:r=oae(s,r)}Dyn(t,s,r),br(e)}function Nmn(t,e){var n,r,s,o;if(mrn(t.d,t.e),t.c.a.$b(),Zt(ke(K(e.j,(Te(),QV))))!=0||Zt(ke(K(e.j,QV)))!=0)for(n=B7,Ut(K(e.j,v2))!==Ut((z0(),w2))&&ne(e.j,(oe(),Lw),(Rn(),!0)),o=u(K(e.j,SS),19).a,s=0;s<o&&(r=pmn(t,e),!(r<n&&(n=r,Zee(t),n==0)));s++);else for(n=Di,Ut(K(e.j,v2))!==Ut((z0(),w2))&&ne(e.j,(oe(),Lw),(Rn(),!0)),o=u(K(e.j,SS),19).a,s=0;s<o&&(r=Zue(t,e),!(r<n&&(n=r,Zee(t),n==0)));s++);}function Fmn(t,e){var n,r,s,o,h,d,w,k;for(h=new ge,d=0,n=0,w=0;d<e.c.length-1&&n<t.gc();){for(r=u(t.Xb(n),19).a+w;(An(d+1,e.c.length),u(e.c[d+1],19)).a<r;)++d;for(k=0,o=r-(An(d,e.c.length),u(e.c[d],19)).a,s=(An(d+1,e.c.length),u(e.c[d+1],19)).a-r,o>s&&++k,de(h,(An(d+k,e.c.length),u(e.c[d+k],19))),w+=(An(d+k,e.c.length),u(e.c[d+k],19)).a-r,++n;n<t.gc()&&u(t.Xb(n),19).a+w<=(An(d+k,e.c.length),u(e.c[d+k],19)).a;)++n;d+=1+k}return h}function pat(t){var e,n,r,s,o,h,d;if(!t.d){if(d=new A3,e=aA,o=e.a.zc(t,e),o==null){for(r=new hr(qo(t));r.e!=r.i.gc();)n=u(Tr(r),26),vs(d,pat(n));e.a.Bc(t)!=null,e.a.gc()==0}for(h=d.i,s=(!t.q&&(t.q=new pe(Jh,t,11,10)),new hr(t.q));s.e!=s.i.gc();++h)u(Tr(s),399);vs(d,(!t.q&&(t.q=new pe(Jh,t,11,10)),t.q)),ey(d),t.d=new H3((u(At(Kt((Hp(),Ln).o),9),18),d.i),d.g),t.e=u(d.g,673),t.e==null&&(t.e=J4e),gl(t).b&=-17}return t.d}function T7(t,e,n,r){var s,o,h,d,w,k;if(k=gu(t.e.Tg(),e),w=0,s=u(t.g,119),po(),u(e,66).Oj()){for(h=0;h<t.i;++h)if(o=s[h],k.rl(o.ak())){if(Pi(o,n))return w;++w}}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],k.rl(o.ak())){if(Pi(n,o.dd()))return w;++w}if(r){for(w=0,h=0;h<t.i;++h)if(o=s[h],k.rl(o.ak())){if(Ut(n)===Ut(cnt(t,u(o.dd(),56))))return w;++w}}}else for(h=0;h<t.i;++h)if(o=s[h],k.rl(o.ak())){if(o.dd()==null)return w;++w}return-1}function Bmn(t,e,n,r,s){var o,h,d,w,k,_,M,B,q;for(pn(),ua(t,new RZ),h=YM(t),q=new ge,B=new ge,d=null,w=0;h.b!=0;)o=u(h.b==0?null:(sr(h.b!=0),bh(h,h.a.a)),157),!d||Wu(d)*Dl(d)/2<Wu(o)*Dl(o)?(d=o,q.c[q.c.length]=o):(w+=Wu(o)*Dl(o),B.c[B.c.length]=o,B.c.length>1&&(w>Wu(d)*Dl(d)/2||h.b==0)&&(M=new K$(B),_=Wu(d)/Dl(d),k=Mat(M,e,new m6,n,r,s,_),$i(Yf(M.e),k),d=M,q.c[q.c.length]=M,w=0,B.c=Pt(ir,De,1,0,5,1)));return Hs(q,B),q}function Rmn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W;if(n.mh(e)&&(_=(q=e,q?u(r,49).xh(q):null),_))if(W=n.bh(e,t.a),G=e.t,G>1||G==-1)if(M=u(W,69),B=u(_,69),M.dc())B.$b();else for(h=!!vo(e),o=0,d=t.a?M.Kc():M.Zh();d.Ob();)k=u(d.Pb(),56),s=u(Uv(t,k),56),s?(h?(w=B.Xc(s),w==-1?B.Xh(o,s):o!=w&&B.ji(o,s)):B.Xh(o,s),++o):t.b&&!h&&(B.Xh(o,k),++o);else W==null?_.Wb(null):(s=Uv(t,W),s==null?t.b&&!vo(e)&&_.Wb(W):_.Wb(s))}function jmn(t,e){var n,r,s,o,h,d,w,k;for(n=new _Y,s=new pr(xr(Jo(e).a.Kc(),new H));ti(s);)if(r=u(qr(s),17),!io(r)&&(d=r.c.i,m4t(d,hV))){if(k=P5t(t,d,hV,lV),k==-1)continue;n.b=b.Math.max(n.b,k),!n.a&&(n.a=new ge),de(n.a,d)}for(h=new pr(xr(Gs(e).a.Kc(),new H));ti(h);)if(o=u(qr(h),17),!io(o)&&(w=o.d.i,m4t(w,lV))){if(k=P5t(t,w,lV,hV),k==-1)continue;n.d=b.Math.max(n.d,k),!n.c&&(n.c=new ge),de(n.c,w)}return n}function dle(t){v7();var e,n,r,s;if(e=Ds(t),t<oS.length)return oS[e];if(t<=50)return gI((r2(),Sut),e);if(t<=Vg)return G6(gI(_x[1],e),e);if(t>1e6)throw et(new vR("power of ten too big"));if(t<=Di)return G6(gI(_x[1],e),e);for(r=gI(_x[1],Di),s=r,n=Ou(t-Di),e=Ds(t%Di);Oc(n,Di)>0;)s=t4(s,r),n=Jp(n,Di);for(s=t4(s,gI(_x[1],e)),s=G6(s,Di),n=Ou(t-Di);Oc(n,Di)>0;)s=G6(s,Di),n=Jp(n,Di);return s=G6(s,e),s}function $mn(t,e){var n,r,s,o,h,d,w,k,_;for(Dr(e,"Hierarchical port dummy size processing",1),w=new ge,_=new ge,r=Zt(ke(K(t,(Te(),Z4)))),n=r*2,o=new S(t.b);o.a<o.c.c.length;){for(s=u(Q(o),29),w.c=Pt(ir,De,1,0,5,1),_.c=Pt(ir,De,1,0,5,1),d=new S(s.a);d.a<d.c.c.length;)h=u(Q(d),10),h.k==(Yn(),Fs)&&(k=u(K(h,(oe(),yc)),61),k==(ye(),Nn)?w.c[w.c.length]=h:k==Ir&&(_.c[_.c.length]=h));joe(w,!0,n),joe(_,!1,n)}br(e)}function zmn(t,e){var n,r,s,o,h,d,w;Dr(e,"Layer constraint postprocessing",1),w=t.b,w.c.length!=0&&(r=(An(0,w.c.length),u(w.c[0],29)),h=u(Fe(w,w.c.length-1),29),n=new Oh(t),o=new Oh(t),_wn(t,r,h,n,o),n.a.c.length==0||(Um(0,w.c.length),WT(w.c,0,n)),o.a.c.length==0||(w.c[w.c.length]=o)),ia(t,(oe(),Plt))&&(s=new Oh(t),d=new Oh(t),_vn(t,s,d),s.a.c.length==0||(Um(0,w.c.length),WT(w.c,0,s)),d.a.c.length==0||(w.c[w.c.length]=d)),br(e)}function gle(t){var e,n,r,s,o,h,d,w,k,_;for(w=new S(t.a);w.a<w.c.c.length;)if(d=u(Q(w),10),d.k==(Yn(),Fs)&&(s=u(K(d,(oe(),yc)),61),s==(ye(),Wn)||s==jn))for(r=new pr(xr(H0(d).a.Kc(),new H));ti(r);)n=u(qr(r),17),e=n.a,e.b!=0&&(k=n.c,k.i==d&&(o=(sr(e.b!=0),u(e.a.a.c,8)),o.b=cc(ct(ot(sa,1),re,8,0,[k.i.n,k.n,k.a])).b),_=n.d,_.i==d&&(h=(sr(e.b!=0),u(e.c.b.c,8)),h.b=cc(ct(ot(sa,1),re,8,0,[_.i.n,_.n,_.a])).b))}function qmn(t,e){var n,r,s,o,h,d,w;for(Dr(e,"Sort By Input Model "+K(t,(Te(),v2)),1),s=0,r=new S(t.b);r.a<r.c.c.length;){for(n=u(Q(r),29),w=s==0?0:s-1,d=u(Fe(t.b,w),29),h=new S(n.a);h.a<h.c.c.length;)o=u(Q(h),10),Ut(K(o,xs))!==Ut((ka(),Ub))&&Ut(K(o,xs))!==Ut(eu)&&(pn(),ua(o.j,new Ite(d,Mse(o))),Q2(e,"Node "+o+" ports: "+o.j));pn(),ua(n.a,new ene(d,u(K(t,v2),339),u(K(t,OTt),378))),Q2(e,"Layer "+s+": "+n),++s}br(e)}function Hmn(t,e){var n,r,s,o;if(o=nle(e),Ts(new En(null,(!e.c&&(e.c=new pe(El,e,9,9)),new _n(e.c,16))),new qn(o)),s=u(K(o,(oe(),tu)),21),V3n(e,s),s.Hc((Eo(),Th)))for(r=new hr((!e.c&&(e.c=new pe(El,e,9,9)),e.c));r.e!=r.i.gc();)n=u(Tr(r),118),x4n(t,e,o,n);return u(He(e,(Te(),Rb)),174).gc()!=0&&Kce(e,o),je(Be(K(o,s_t)))&&s.Fc(qV),ia(o,MO)&&Oqt(new o3t(Zt(ke(K(o,MO)))),o),Ut(He(e,jy))===Ut((q0(),np))?P5n(t,e,o):e5n(t,e,o),o}function xC(t,e,n,r){var s,o,h;if(this.j=new ge,this.k=new ge,this.b=new ge,this.c=new ge,this.e=new L6,this.i=new Hu,this.f=new qtt,this.d=new ge,this.g=new ge,de(this.b,t),de(this.b,e),this.e.c=b.Math.min(t.a,e.a),this.e.d=b.Math.min(t.b,e.b),this.e.b=b.Math.abs(t.a-e.a),this.e.a=b.Math.abs(t.b-e.b),s=u(K(r,(Te(),zo)),74),s)for(h=gi(s,0);h.b!=h.d.c;)o=u(di(h),8),Fmt(o.a,t.a)&&pi(this.i,o);n&&de(this.j,n),de(this.k,r)}function Vmn(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(_=new Wj(new Fi(n)),d=Pt(Tl,c0,25,t.f.e.c.length,16,1),rwt(d,d.length),n[e.b]=0,k=new S(t.f.e);k.a<k.c.c.length;)w=u(Q(k),144),w.b!=e.b&&(n[w.b]=Di),D8(g7(_,w));for(;_.b.c.length!=0;)for(M=u(Qrt(_),144),d[M.b]=!0,o=KUt(new het(t.b,M),0);o.c;)s=u(Pwt(o),282),B=mfn(s,M),!d[B.b]&&(ia(s,(nI(),uV))?h=Zt(ke(K(s,uV))):h=t.c,r=n[M.b]+h,r<n[B.b]&&(n[B.b]=r,Gee(_,B),D8(g7(_,B))))}function ple(t,e,n){var r,s,o,h,d,w,k,_,M;for(s=!0,h=new S(t.b);h.a<h.c.c.length;){for(o=u(Q(h),29),k=Rs,_=null,w=new S(o.a);w.a<w.c.c.length;)if(d=u(Q(w),10),M=Zt(e.p[d.p])+Zt(e.d[d.p])-d.d.d,r=Zt(e.p[d.p])+Zt(e.d[d.p])+d.o.b+d.d.a,M>k&&r>k)_=d,k=Zt(e.p[d.p])+Zt(e.d[d.p])+d.o.b+d.d.a;else{s=!1,n.n&&Q2(n,"bk node placement breaks on "+d+" which should have been after "+_);break}if(!s)break}return n.n&&Q2(n,e+" is feasible: "+s),s}function Gmn(t,e,n,r){var s,o,h,d,w,k,_;for(d=-1,_=new S(t);_.a<_.c.c.length;)k=u(Q(_),112),k.g=d--,s=$r(x$(n$(Xi(new En(null,new _n(k.f,16)),new LQ),new MQ)).d),o=$r(x$(n$(Xi(new En(null,new _n(k.k,16)),new DQ),new Q5)).d),h=s,w=o,r||(h=$r(x$(n$(new En(null,new _n(k.f,16)),new IQ)).d),w=$r(x$(n$(new En(null,new _n(k.k,16)),new OQ)).d)),k.d=h,k.a=s,k.i=w,k.b=o,w==0?Cs(n,k,n.c.b,n.c):h==0&&Cs(e,k,e.c.b,e.c)}function Umn(t,e,n,r){var s,o,h,d,w,k,_;if(n.d.i!=e.i){for(s=new G0(t),A0(s,(Yn(),ha)),ne(s,(oe(),Bi),n),ne(s,(Te(),xs),(ka(),eu)),r.c[r.c.length]=s,h=new zc,ac(h,s),Qs(h,(ye(),jn)),d=new zc,ac(d,s),Qs(d,Wn),_=n.d,ya(n,h),o=new $v,Vo(o,n),ne(o,zo,null),Wa(o,d),ya(o,_),k=new Sa(n.b,0);k.b<k.d.gc();)w=(sr(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),70)),Ut(K(w,Bd))===Ut((F1(),Yy))&&(ne(w,Dx,n),Ol(k),de(o.b,w));Koe(s,h,d)}}function Wmn(t,e,n,r){var s,o,h,d,w,k,_;if(n.c.i!=e.i)for(s=new G0(t),A0(s,(Yn(),ha)),ne(s,(oe(),Bi),n),ne(s,(Te(),xs),(ka(),eu)),r.c[r.c.length]=s,h=new zc,ac(h,s),Qs(h,(ye(),jn)),d=new zc,ac(d,s),Qs(d,Wn),ya(n,h),o=new $v,Vo(o,n),ne(o,zo,null),Wa(o,d),ya(o,e),Koe(s,h,d),k=new Sa(n.b,0);k.b<k.d.gc();)w=(sr(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),70)),_=u(K(w,Bd),272),_==(F1(),Yy)&&(ia(w,Dx)||ne(w,Dx,n),Ol(k),de(o.b,w))}function Kmn(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(B=new ge,bt=_$(r),Z=e*t.a,M=0,G=0,o=new na,h=new na,d=new ge,Mt=0,St=0,q=0,W=0,k=0,_=0;bt.a.gc()!=0;)w=Zun(bt,s,h),w&&(bt.a.Bc(w)!=null,d.c[d.c.length]=w,o.a.zc(w,o),G=t.f[w.p],Mt+=t.e[w.p]-G*t.b,M=t.c[w.p],St+=M*t.b,_+=G*t.b,W+=t.e[w.p]),(!w||bt.a.gc()==0||Mt>=Z&&t.e[w.p]>G*t.b||St>=n*Z)&&(B.c[B.c.length]=d,d=new ge,so(h,o),o.a.$b(),k-=_,q=b.Math.max(q,k*t.b+W),k+=St,Mt=St,St=0,_=0,W=0);return new Ca(q,B)}function Ymn(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;for(n=(k=new T1(t.c.b).a.vc().Kc(),new _1(k));n.a.Ob();)e=(d=u(n.a.Pb(),42),u(d.dd(),149)),s=e.a,s==null&&(s=""),r=xQe(t.c,s),!r&&s.length==0&&(r=kun(t)),r&&!ry(r.c,e,!1)&&pi(r.c,e);for(h=gi(t.a,0);h.b!=h.d.c;)o=u(di(h),478),_=Irt(t.c,o.a),q=Irt(t.c,o.b),_&&q&&pi(_.c,new Ca(q,o.c));for(Ph(t.a),B=gi(t.b,0);B.b!=B.d.c;)M=u(di(B),478),e=yQe(t.c,M.a),w=Irt(t.c,M.b),e&&w&&lYe(e,w,M.c);Ph(t.b)}function Xmn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;o=new Vk(t),h=new Ose,s=(hD(h.g),hD(h.j),al(h.b),hD(h.d),hD(h.i),al(h.k),al(h.c),al(h.e),q=boe(h,o,null),sce(h,o),q),e&&(k=new Vk(e),d=ayn(k),D4t(s,ct(ot(pSt,1),De,527,0,[d]))),B=!1,M=!1,n&&(k=new Vk(n),EH in k.a&&(B=P0(k,EH).ge().a),Ade in k.a&&(M=P0(k,Ade).ge().a)),_=Qqt(Cee(new Xk,B),M),H0n(new gZ,s,_),EH in o.a&&Zf(o,EH,null),(B||M)&&(w=new y6,ule(_,w,B,M),Zf(o,EH,w)),r=new izt(h),Bcn(new tbt(s),r)}function Qmn(t,e,n){var r,s,o,h,d,w,k,_,M;for(h=new Rse,k=ct(ot(Fr,1),ui,25,15,[0]),s=-1,o=0,r=0,w=0;w<t.b.c.length;++w)if(_=u(Fe(t.b,w),434),_.b>0){if(s<0&&_.a&&(s=w,o=k[0],r=0),s>=0){if(d=_.b,w==s&&(d-=r++,d==0))return 0;if(!bhe(e,k,_,d,h)){w=s-1,k[0]=o;continue}}else if(s=-1,!bhe(e,k,_,0,h))return 0}else{if(s=-1,Oa(_.c,0)==32){if(M=k[0],Bte(e,k),k[0]>M)continue}else if(Dnn(e,_.c,k[0])){k[0]+=_.c.length;continue}return 0}return D4n(h,n)?k[0]:0}function kC(t){var e,n,r,s,o,h,d,w;if(!t.f){if(w=new S0,d=new S0,e=aA,h=e.a.zc(t,e),h==null){for(o=new hr(qo(t));o.e!=o.i.gc();)s=u(Tr(o),26),vs(w,kC(s));e.a.Bc(t)!=null,e.a.gc()==0}for(r=(!t.s&&(t.s=new pe(ju,t,21,17)),new hr(t.s));r.e!=r.i.gc();)n=u(Tr(r),170),_t(n,99)&&Hr(d,u(n,18));ey(d),t.r=new LKt(t,(u(At(Kt((Hp(),Ln).o),6),18),d.i),d.g),vs(w,t.r),ey(w),t.f=new H3((u(At(Kt(Ln.o),5),18),w.i),w.g),gl(t).b&=-3}return t.f}function Zmn(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G;for(h=t.o,r=Pt(Fr,ui,25,h,15,1),s=Pt(Fr,ui,25,h,15,1),n=t.p,e=Pt(Fr,ui,25,n,15,1),o=Pt(Fr,ui,25,n,15,1),k=0;k<h;k++){for(M=0;M<n&&!h4(t,k,M);)++M;r[k]=M}for(_=0;_<h;_++){for(M=n-1;M>=0&&!h4(t,_,M);)--M;s[_]=M}for(q=0;q<n;q++){for(d=0;d<h&&!h4(t,d,q);)++d;e[q]=d}for(G=0;G<n;G++){for(d=h-1;d>=0&&!h4(t,d,G);)--d;o[G]=d}for(w=0;w<h;w++)for(B=0;B<n;B++)w<o[B]&&w>e[B]&&B<s[w]&&B>r[w]&&wq(t,w,B,!1,!0)}function r6t(t){var e,n,r,s,o,h,d,w;n=je(Be(K(t,(r1(),Gpe)))),o=t.a.c.d,d=t.a.d.d,n?(h=bd(ba(new $e(d.a,d.b),o),.5),w=bd(pc(t.e),.5),e=ba($i(new $e(o.a,o.b),h),w),Obt(t.d,e)):(s=Zt(ke(K(t.a,Jpe))),r=t.d,o.a>=d.a?o.b>=d.b?(r.a=d.a+(o.a-d.a)/2+s,r.b=d.b+(o.b-d.b)/2-s-t.e.b):(r.a=d.a+(o.a-d.a)/2+s,r.b=o.b+(d.b-o.b)/2+s):o.b>=d.b?(r.a=o.a+(d.a-o.a)/2+s,r.b=d.b+(o.b-d.b)/2+s):(r.a=o.a+(d.a-o.a)/2+s,r.b=o.b+(d.b-o.b)/2-s-t.e.b))}function Xc(t,e){var n,r,s,o,h,d,w;if(t==null)return null;if(o=t.length,o==0)return"";for(w=Pt(Sh,Td,25,o,15,1),mmt(0,o,t.length),mmt(0,o,w.length),NYt(t,0,o,w,0),n=null,d=e,s=0,h=0;s<o;s++)r=w[s],Fhe(),r<=32&&wt[r]&2?d?(!n&&(n=new Ih(t)),_nn(n,s-h++)):(d=e,r!=32&&(!n&&(n=new Ih(t)),Uen(n,s-h,s-h+1,String.fromCharCode(32)))):d=!1;return d?n?(o=n.a.length,o>0?$l(n.a,0,o-1):""):t.substr(0,o-1):n?n.a:t}function ble(t){Cv(t,new yb(kv(mv(xv(yv(new mg,Cb),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ki))),Ee(t,Cb,Aot,Ie(s9t)),Ee(t,Cb,Lot,Ie($ut)),Ee(t,Cb,vx,Ie(Mpe)),Ee(t,Cb,vw,Ie(i9t)),Ee(t,Cb,q6t,Ie(Ppe)),Ee(t,Cb,H6t,Ie(Ope)),Ee(t,Cb,z6t,Ie(Npe)),Ee(t,Cb,V6t,Ie(Ipe)),Ee(t,Cb,Q6t,Ie(Dpe)),Ee(t,Cb,Z6t,Ie(jut)),Ee(t,Cb,J6t,Ie(r9t)),Ee(t,Cb,txt,Ie(rV))}function i6t(t,e,n,r){var s,o,h,d,w,k,_,M,B;if(o=new G0(t),A0(o,(Yn(),Jc)),ne(o,(Te(),xs),(ka(),eu)),s=0,e){for(h=new zc,ne(h,(oe(),Bi),e),ne(o,Bi,e.i),Qs(h,(ye(),jn)),ac(h,o),B=xd(e.e),k=B,_=0,M=k.length;_<M;++_)w=k[_],ya(w,h);ne(e,ul,o),++s}if(n){for(d=new zc,ne(o,(oe(),Bi),n.i),ne(d,Bi,n),Qs(d,(ye(),Wn)),ac(d,o),B=xd(n.g),k=B,_=0,M=k.length;_<M;++_)w=k[_],Wa(w,d);ne(n,ul,o),++s}return ne(o,(oe(),VV),ve(s)),r.c[r.c.length]=o,o}function kq(){kq=X,RAt=ct(ot(Sh,1),Td,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),L4e=new RegExp(`[
+\r\f]+`);try{rA=ct(ot(v6n,1),De,2015,0,[new lM((ibt(),Iz("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",VM((wR(),wR(),sS))))),new lM(Iz("yyyy-MM-dd'T'HH:mm:ss'.'SSS",VM(sS))),new lM(Iz("yyyy-MM-dd'T'HH:mm:ss",VM(sS))),new lM(Iz("yyyy-MM-dd'T'HH:mm",VM(sS))),new lM(Iz("yyyy-MM-dd",VM(sS)))])}catch(t){if(t=as(t),!_t(t,78))throw et(t)}}function Jmn(t){var e,n,r,s;if(r=Iat((!t.c&&(t.c=qD(t.f)),t.c),0),t.e==0||t.a==0&&t.f!=-1&&t.e<0)return r;if(e=Hmt(t)<0?1:0,n=t.e,s=(r.length+1+b.Math.abs(Ds(t.e)),new Lm),e==1&&(s.a+="-"),t.e>0)if(n-=r.length-e,n>=0){for(s.a+="0.";n>Pb.length;n-=Pb.length)KKt(s,Pb);MWt(s,Pb,Ds(n)),ii(s,r.substr(e))}else n=e-n,ii(s,$l(r,e,Ds(n))),s.a+=".",ii(s,FM(r,Ds(n)));else{for(ii(s,r.substr(e));n<-Pb.length;n+=Pb.length)KKt(s,Pb);MWt(s,Pb,Ds(-n))}return s.a}function s6t(t,e,n,r){var s,o,h,d,w,k,_,M,B;return w=ba(new $e(n.a,n.b),t),k=w.a*e.b-w.b*e.a,_=e.a*r.b-e.b*r.a,M=(w.a*r.b-w.b*r.a)/_,B=k/_,_==0?k==0?(s=$i(new $e(n.a,n.b),bd(new $e(r.a,r.b),.5)),o=Wp(t,s),h=Wp($i(new $e(t.a,t.b),e),s),d=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,o<h&&o<=d?new $e(t.a,t.b):h<=d?$i(new $e(t.a,t.b),e):null):null:M>=0&&M<=1&&B>=0&&B<=1?$i(new $e(t.a,t.b),bd(new $e(e.a,e.b),M)):null}function tyn(t,e,n){var r,s,o,h,d;if(r=u(K(t,(Te(),Hlt)),21),n.a>e.a&&(r.Hc((cy(),GO))?t.c.a+=(n.a-e.a)/2:r.Hc(UO)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((cy(),KO))?t.c.b+=(n.b-e.b)/2:r.Hc(WO)&&(t.c.b+=n.b-e.b)),u(K(t,(oe(),tu)),21).Hc((Eo(),Th))&&(n.a>e.a||n.b>e.b))for(d=new S(t.a);d.a<d.c.c.length;)h=u(Q(d),10),h.k==(Yn(),Fs)&&(s=u(K(h,yc),61),s==(ye(),Wn)?h.n.a+=n.a-e.a:s==Ir&&(h.n.b+=n.b-e.b));o=t.d,t.f.a=n.a-o.b-o.c,t.f.b=n.b-o.d-o.a}function eyn(t,e,n){var r,s,o,h,d;if(r=u(K(t,(Te(),Hlt)),21),n.a>e.a&&(r.Hc((cy(),GO))?t.c.a+=(n.a-e.a)/2:r.Hc(UO)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((cy(),KO))?t.c.b+=(n.b-e.b)/2:r.Hc(WO)&&(t.c.b+=n.b-e.b)),u(K(t,(oe(),tu)),21).Hc((Eo(),Th))&&(n.a>e.a||n.b>e.b))for(h=new S(t.a);h.a<h.c.c.length;)o=u(Q(h),10),o.k==(Yn(),Fs)&&(s=u(K(o,yc),61),s==(ye(),Wn)?o.n.a+=n.a-e.a:s==Ir&&(o.n.b+=n.b-e.b));d=t.d,t.f.a=n.a-d.b-d.c,t.f.b=n.b-d.d-d.a}function nyn(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(e=Noe(t),_=(d=new Tm(e).a.vc().Kc(),new aM(d));_.a.Ob();){for(k=(s=u(_.a.Pb(),42),u(s.cd(),10)),M=0,B=0,M=k.d.d,B=k.o.b+k.d.a,t.d[k.p]=0,n=k;(o=t.a[n.p])!=k;)r=ghn(n,o),w=0,t.c==(yd(),Zg)?w=r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:w=r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,h=Zt(t.d[n.p])+w,t.d[o.p]=h,M=b.Math.max(M,o.d.d-h),B=b.Math.max(B,h+o.o.b+o.d.a),n=o;n=k;do t.d[n.p]=Zt(t.d[n.p])+M,n=t.a[n.p];while(n!=k);t.b[k.p]=M+B}}function bat(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(t.b=!1,M=ms,w=Rs,B=ms,k=Rs,r=t.e.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),266),s=n.a,M=b.Math.min(M,s.c),w=b.Math.max(w,s.c+s.b),B=b.Math.min(B,s.d),k=b.Math.max(k,s.d+s.a),h=new S(n.c);h.a<h.c.c.length;)o=u(Q(h),395),e=o.a,e.a?(_=s.d+o.b.b,d=_+o.c,B=b.Math.min(B,_),k=b.Math.max(k,d)):(_=s.c+o.b.a,d=_+o.c,M=b.Math.min(M,_),w=b.Math.max(w,d));t.a=new $e(w-M,k-B),t.c=new $e(M+t.d.a,B+t.d.b)}function ryn(t,e,n){var r,s,o,h,d,w,k,_,M;for(M=new ge,_=new qwt(0,n),o=0,Q$(_,new xit(0,0,_,n)),s=0,k=new hr(t);k.e!=k.i.gc();)w=u(Tr(k),33),r=u(Fe(_.a,_.a.c.length-1),187),d=s+w.g+(u(Fe(_.a,0),187).b.c.length==0?0:n),d>e&&(s=0,o+=_.b+n,M.c[M.c.length]=_,_=new qwt(o,n),r=new xit(0,_.f,_,n),Q$(_,r),s=0),r.b.c.length==0||w.f>=r.o&&w.f<=r.f||r.a*.5<=w.f&&r.a*1.5>=w.f?e3t(r,w):(h=new xit(r.s+r.r+n,_.f,_,n),Q$(_,h),e3t(h,w)),s=w.i+w.g;return M.c[M.c.length]=_,M}function E4(t){var e,n,r,s,o,h,d,w;if(!t.a){if(t.o=null,w=new Tzt(t),e=new Ep,n=aA,d=n.a.zc(t,n),d==null){for(h=new hr(qo(t));h.e!=h.i.gc();)o=u(Tr(h),26),vs(w,E4(o));n.a.Bc(t)!=null,n.a.gc()==0}for(s=(!t.s&&(t.s=new pe(ju,t,21,17)),new hr(t.s));s.e!=s.i.gc();)r=u(Tr(s),170),_t(r,322)&&Hr(e,u(r,34));ey(e),t.k=new AKt(t,(u(At(Kt((Hp(),Ln).o),7),18),e.i),e.g),vs(w,t.k),ey(w),t.a=new H3((u(At(Kt(Ln.o),4),18),w.i),w.g),gl(t).b&=-2}return t.a}function iyn(t,e,n,r,s,o,h){var d,w,k,_,M,B;return M=!1,w=Tce(n.q,e.f+e.b-n.q.f),B=s-(n.q.e+w-h),B<r.g||(k=o==t.c.length-1&&B>=(An(o,t.c.length),u(t.c[o],200)).e,_=(d=EC(r,B,!1),d.a),_>e.b&&!k)?!1:((k||_<=e.b)&&(k&&_>e.b?(n.d=_,bD(n,Aae(n,_))):(Wse(n.q,w),n.c=!0),bD(r,s-(n.s+n.r)),ZD(r,n.q.e+n.q.d,e.f),Q$(e,r),t.c.length>o&&(rI((An(o,t.c.length),u(t.c[o],200)),r),(An(o,t.c.length),u(t.c[o],200)).a.c.length==0&&Ig(t,o)),M=!0),M)}function a6t(t,e,n,r){var s,o,h,d,w,k,_;if(_=gu(t.e.Tg(),e),s=0,o=u(t.g,119),w=null,po(),u(e,66).Oj()){for(d=0;d<t.i;++d)if(h=o[d],_.rl(h.ak())){if(Pi(h,n)){w=h;break}++s}}else if(n!=null){for(d=0;d<t.i;++d)if(h=o[d],_.rl(h.ak())){if(Pi(n,h.dd())){w=h;break}++s}}else for(d=0;d<t.i;++d)if(h=o[d],_.rl(h.ak())){if(h.dd()==null){w=h;break}++s}return w&&(Ll(t.e)&&(k=e.$j()?new Art(t.e,4,e,n,null,s,!0):Gp(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),r?r.Ei(k):r=k),r=xI(t,w,r)),r}function vat(t,e,n,r,s,o,h){var d,w,k,_,M,B,q,G,W;switch(G=0,W=0,w=s.c,d=s.b,_=n.f,q=n.g,e.g){case 0:G=r.i+r.g+h,t.c?W=Odn(G,o,r,h):W=r.j,B=b.Math.max(w,G+q),k=b.Math.max(d,W+_);break;case 1:W=r.j+r.f+h,t.c?G=Idn(W,o,r,h):G=r.i,B=b.Math.max(w,G+q),k=b.Math.max(d,W+_);break;case 2:G=w+h,W=0,B=w+h+q,k=b.Math.max(d,_);break;case 3:G=0,W=d+h,B=b.Math.max(w,q),k=d+h+_;break;default:throw et(new Bn("IllegalPlacementOption."))}return M=new a3t(t.a,B,k,e,G,W),M}function syn(t){var e,n,r,s,o,h,d,w,k,_,M,B;if(d=t.d,M=u(K(t,(oe(),Nx)),15),e=u(K(t,Mx),15),!(!M&&!e)){if(o=Zt(ke(iy(t,(Te(),Jlt)))),h=Zt(ke(iy(t,l_t))),B=0,M){for(k=0,s=M.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),B+=r.o.a;B+=o*(M.gc()-1),d.d+=k+h}if(n=0,e){for(k=0,s=e.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),n+=r.o.a;n+=o*(e.gc()-1),d.a+=k+h}w=b.Math.max(B,n),w>t.o.a&&(_=(w-t.o.a)/2,d.b=b.Math.max(d.b,_),d.c=b.Math.max(d.c,_))}}function ayn(t){var e,n,r,s,o,h,d,w;for(o=new YQt,VYe(o,(Z6(),k3e)),r=(s=uit(t,Pt(Le,re,2,0,6,1)),new d6(new Al(new fet(t,s).b)));r.b<r.d.gc();)n=(sr(r.b<r.d.gc()),Yr(r.d.Xb(r.c=r.b++))),h=d6t(A2,n),h&&(e=P0(t,n),e.je()?d=e.je().a:e.ge()?d=""+e.ge().a:e.he()?d=""+e.he().a:d=e.Ib(),w=h6t(h,d),w!=null&&((Gu(h.j,(e1(),fa))||Gu(h.j,Un))&&jD(Zrt(o,bs),h,w),Gu(h.j,Rd)&&jD(Zrt(o,aa),h,w),Gu(h.j,qb)&&jD(Zrt(o,El),h,w),Gu(h.j,tp)&&jD(Zrt(o,nc),h,w)));return o}function Eq(t,e,n,r){var s,o,h,d,w,k;if(w=gu(t.e.Tg(),e),o=u(t.g,119),W0(t.e,e)){for(s=0,d=0;d<t.i;++d)if(h=o[d],w.rl(h.ak())){if(s==n)return po(),u(e,66).Oj()?h:(k=h.dd(),k!=null&&r&&_t(e,99)&&u(e,18).Bb&co&&(k=dC(t,e,d,s,k)),k);++s}throw et(new Po(XC+n+Lb+s))}else{for(s=0,d=0;d<t.i;++d){if(h=o[d],w.rl(h.ak()))return po(),u(e,66).Oj()?h:(k=h.dd(),k!=null&&r&&_t(e,99)&&u(e,18).Bb&co&&(k=dC(t,e,d,s,k)),k);++s}return e.zj()}}function _I(t,e,n){var r,s,o,h,d,w,k,_;if(s=u(t.g,119),W0(t.e,e))return po(),u(e,66).Oj()?new Oj(e,t):new NM(e,t);for(k=gu(t.e.Tg(),e),r=0,d=0;d<t.i;++d){if(o=s[d],h=o.ak(),k.rl(h)){if(po(),u(e,66).Oj())return o;if(h==(ox(),Kx)||h==Wx){for(w=new jl(tc(o.dd()));++d<t.i;)o=s[d],h=o.ak(),(h==Kx||h==Wx)&&ii(w,tc(o.dd()));return ivt(u(e.Yj(),148),w.a)}else return _=o.dd(),_!=null&&n&&_t(e,99)&&u(e,18).Bb&co&&(_=dC(t,e,d,r,_)),_}++r}return e.zj()}function EC(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(o=0,h=t.t,s=0,r=0,w=0,B=0,M=0,n&&(t.n.c=Pt(ir,De,1,0,5,1),de(t.n,new g$(t.s,t.t,t.i))),d=0,_=new S(t.b);_.a<_.c.c.length;)k=u(Q(_),33),o+k.g+(d>0?t.i:0)>e&&w>0&&(o=0,h+=w+t.i,s=b.Math.max(s,B),r+=w+t.i,w=0,B=0,n&&(++M,de(t.n,new g$(t.s,h,t.i))),d=0),B+=k.g+(d>0?t.i:0),w=b.Math.max(w,k.f),n&&B3t(u(Fe(t.n,M),211),k),o+=k.g+(d>0?t.i:0),++d;return s=b.Math.max(s,B),r+=w,n&&(t.r=s,t.d=r,z3t(t.j)),new fh(t.s,t.t,s,r)}function qc(t,e,n,r,s){Ud();var o,h,d,w,k,_,M,B,q;if(awt(t,"src"),awt(n,"dest"),B=bl(t),w=bl(n),Lvt((B.i&4)!=0,"srcType is not an array"),Lvt((w.i&4)!=0,"destType is not an array"),M=B.c,h=w.c,Lvt(M.i&1?M==h:(h.i&1)==0,"Array types don't match"),q=t.length,k=n.length,e<0||r<0||s<0||e+s>q||r+s>k)throw et(new xpt);if(!(M.i&1)&&B!=w)if(_=ob(t),o=ob(n),Ut(t)===Ut(n)&&e<r)for(e+=s,d=r+s;d-- >r;)ds(o,d,_[--e]);else for(d=r+s;r<d;)ds(o,r++,_[e++]);else s>0&&U4t(t,e,n,r,s,!0)}function wat(){wat=X,mge=ct(ot(Fr,1),ui,25,15,[qa,1162261467,AC,1220703125,362797056,1977326743,AC,387420489,Fq,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,AC,1291467969,1544804416,1838265625,60466176]),yge=ct(ot(Fr,1),ui,25,15,[-1,-1,31,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])}function oyn(t){var e,n,r,s,o,h,d,w;for(s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),h=new S(Hv(r.a));h.a<h.c.c.length;)if(o=u(Q(h),10),Zte(o)&&(n=u(K(o,(oe(),Aw)),305),!n.g&&n.d))for(e=n,w=n.d;w;)aue(w.i,w.k,!1,!0),yD(e.a),yD(w.i),yD(w.k),yD(w.b),ya(w.c,e.c.d),ya(e.c,null),Bo(e.a,null),Bo(w.i,null),Bo(w.k,null),Bo(w.b,null),d=new Ywt(e.i,w.a,e.e,w.j,w.f),d.k=e.k,d.n=e.n,d.b=e.b,d.c=w.c,d.g=e.g,d.d=w.d,ne(e.i,Aw,d),ne(w.a,Aw,d),w=w.d,e=d}function vy(t,e){var n,r,s,o,h;if(h=u(e,136),v4(t),v4(h),h.b!=null){if(t.c=!0,t.b==null){t.b=Pt(Fr,ui,25,h.b.length,15,1),qc(h.b,0,t.b,0,h.b.length);return}for(o=Pt(Fr,ui,25,t.b.length+h.b.length,15,1),n=0,r=0,s=0;n<t.b.length||r<h.b.length;)n>=t.b.length?(o[s++]=h.b[r++],o[s++]=h.b[r++]):r>=h.b.length?(o[s++]=t.b[n++],o[s++]=t.b[n++]):h.b[r]<t.b[n]||h.b[r]===t.b[n]&&h.b[r+1]<t.b[n+1]?(o[s++]=h.b[r++],o[s++]=h.b[r++]):(o[s++]=t.b[n++],o[s++]=t.b[n++]);t.b=o}}function cyn(t,e){var n,r,s,o,h,d,w,k,_,M;return n=je(Be(K(t,(oe(),Ny)))),d=je(Be(K(e,Ny))),r=u(K(t,o1),11),w=u(K(e,o1),11),s=u(K(t,Uh),11),k=u(K(e,Uh),11),_=!!r&&r==w,M=!!s&&s==k,!n&&!d?new pvt(u(Q(new S(t.j)),11).p==u(Q(new S(e.j)),11).p,_,M):(o=(!je(Be(K(t,Ny)))||je(Be(K(t,CO))))&&(!je(Be(K(e,Ny)))||je(Be(K(e,CO)))),h=(!je(Be(K(t,Ny)))||!je(Be(K(t,CO))))&&(!je(Be(K(e,Ny)))||!je(Be(K(e,CO)))),new pvt(_&&o||M&&h,_,M))}function uyn(t){var e,n,r,s,o,h,d,w;for(r=0,n=0,w=new hs,e=0,d=new S(t.n);d.a<d.c.c.length;)h=u(Q(d),211),h.c.c.length==0?Cs(w,h,w.c.b,w.c):(r=b.Math.max(r,h.d),n+=h.a+(e>0?t.i:0)),++e;for(mln(t.n,w),t.d=n,t.r=r,t.g=0,t.f=0,t.e=0,t.o=ms,t.p=ms,o=new S(t.b);o.a<o.c.c.length;)s=u(Q(o),33),t.p=b.Math.min(t.p,s.g),t.g=b.Math.max(t.g,s.g),t.f=b.Math.max(t.f,s.f),t.o=b.Math.min(t.o,s.f),t.e+=s.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),z3t(t.j)}function vle(t){var e,n,r,s;return t.Db&64?jit(t):(e=new jl(o8t),r=t.k,r?ii(ii((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new pe(nc,t,1,7)),t.n.i>0&&(s=(!t.n&&(t.n=new pe(nc,t,1,7)),u(At(t.n,0),137)).a,!s||ii(ii((e.a+=' "',e),s),'"'))),n=(!t.b&&(t.b=new Tn(Lr,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c.i<=1))),n?e.a+=" [":e.a+=" ",ii(e,bbt(new aet,new hr(t.b))),n&&(e.a+="]"),e.a+=Not,n&&(e.a+="["),ii(e,bbt(new aet,new hr(t.c))),n&&(e.a+="]"),e.a)}function mat(t,e){var n,r,s,o,h,d,w;if(t.a){if(d=t.a.ne(),w=null,d!=null?e.a+=""+d:(h=t.a.Dj(),h!=null&&(o=pd(h,Pu(91)),o!=-1?(w=h.substr(o),e.a+=""+$l(h==null?Nu:(Pn(h),h),0,o)):e.a+=""+h)),t.d&&t.d.i!=0){for(s=!0,e.a+="<",r=new hr(t.d);r.e!=r.i.gc();)n=u(Tr(r),87),s?s=!1:e.a+=oo,mat(n,e);e.a+=">"}w!=null&&(e.a+=""+w)}else t.e?(d=t.e.zb,d!=null&&(e.a+=""+d)):(e.a+="?",t.b?(e.a+=" super ",mat(t.b,e)):t.f&&(e.a+=" extends ",mat(t.f,e)))}function lyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;for(Xt=t.c,fe=e.c,n=Zo(Xt.a,t,0),r=Zo(fe.a,e,0),St=u(rw(t,(xo(),ll)).Kc().Pb(),11),Ze=u(rw(t,lu).Kc().Pb(),11),jt=u(rw(e,ll).Kc().Pb(),11),$n=u(rw(e,lu).Kc().Pb(),11),bt=xd(St.e),Ae=xd(Ze.g),Mt=xd(jt.e),Ke=xd($n.g),oy(t,r,fe),h=Mt,_=0,G=h.length;_<G;++_)s=h[_],ya(s,St);for(d=Ke,M=0,W=d.length;M<W;++M)s=d[M],Wa(s,Ze);for(oy(e,n,Xt),w=bt,B=0,Z=w.length;B<Z;++B)s=w[B],ya(s,jt);for(o=Ae,k=0,q=o.length;k<q;++k)s=o[k],Wa(s,$n)}function wle(t,e,n,r){var s,o,h,d,w,k,_;if(o=_z(r),d=je(Be(K(r,(Te(),JTt)))),(d||je(Be(K(t,eG))))&&!V3(u(K(t,xs),98)))s=tx(o),w=K5t(t,n,n==(xo(),lu)?s:UD(s));else switch(w=new zc,ac(w,t),e?(_=w.n,_.a=e.a-t.n.a,_.b=e.b-t.n.b,Lae(_,0,0,t.o.a,t.o.b),Qs(w,que(w,o))):(s=tx(o),Qs(w,n==(xo(),lu)?s:UD(s))),h=u(K(r,(oe(),tu)),21),k=w.j,o.g){case 2:case 1:(k==(ye(),Nn)||k==Ir)&&h.Fc((Eo(),U4));break;case 4:case 3:(k==(ye(),Wn)||k==jn)&&h.Fc((Eo(),U4))}return w}function o6t(t,e,n){var r,s,o,h,d,w,k,_;return b.Math.abs(e.s-e.c)<Sd||b.Math.abs(n.s-n.c)<Sd?0:(r=Lce(t,e.j,n.e),s=Lce(t,n.j,e.e),o=r==-1||s==-1,h=0,o?(r==-1&&(new nb((Xf(),m2),n,e,1),++h),s==-1&&(new nb((Xf(),m2),e,n,1),++h)):(d=o4(e.j,n.s,n.c),d+=o4(n.e,e.s,e.c),w=o4(n.j,e.s,e.c),w+=o4(e.e,n.s,n.c),k=r+16*d,_=s+16*w,k<_?new nb((Xf(),Uy),e,n,_-k):k>_?new nb((Xf(),Uy),n,e,k-_):k>0&&_>0&&(new nb((Xf(),Uy),e,n,0),new nb(Uy,n,e,0))),h)}function mle(t,e){var n,r,s,o,h,d;for(h=new db(new kg(t.f.b).a);h.b;){if(o=Kv(h),s=u(o.cd(),594),e==1){if(s.gf()!=(ko(),tg)&&s.gf()!=J0)continue}else if(s.gf()!=(ko(),Wh)&&s.gf()!=Lf)continue;switch(r=u(u(o.dd(),46).b,81),d=u(u(o.dd(),46).a,189),n=d.c,s.gf().g){case 2:r.g.c=t.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=t.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 hyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(d=Pt(Fr,ui,25,e.b.c.length,15,1),k=Pt(elt,ue,267,e.b.c.length,0,1),w=Pt(h0,Gg,10,e.b.c.length,0,1),M=t.a,B=0,q=M.length;B<q;++B){for(_=M[B],W=0,h=new S(_.e);h.a<h.c.c.length;)s=u(Q(h),10),r=Q2t(s.c),++d[r],G=Zt(ke(K(e,(Te(),Af)))),d[r]>0&&w[r]&&(G=U3(t.b,w[r],s)),W=b.Math.max(W,s.c.c.b+G);for(o=new S(_.e);o.a<o.c.c.length;)s=u(Q(o),10),s.n.b=W+s.d.d,n=s.c,n.c.b=W+s.d.d+s.o.b+s.d.a,k[Zo(n.b.b,n,0)]=s.k,w[Zo(n.b.b,n,0)]=s}}function yle(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(r=new pr(xr(U0(e).a.Kc(),new H));ti(r);)n=u(qr(r),79),_t(At((!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b),0),186)||(w=Go(u(At((!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c),0),82)),gC(n)||(h=e.i+e.g/2,d=e.j+e.f/2,_=w.i+w.g/2,M=w.j+w.f/2,B=new $a,B.a=_-h,B.b=M-d,o=new $e(B.a,B.b),f7(o,e.g,e.f),B.a-=o.a,B.b-=o.b,h=_-B.a,d=M-B.b,k=new $e(B.a,B.b),f7(k,w.g,w.f),B.a-=k.a,B.b-=k.b,_=h+B.a,M=d+B.b,s=y4(n,!0,!0),R8(s,h),$8(s,d),B8(s,_),j8(s,M),yle(t,w)))}function xle(t){Cv(t,new yb(kv(mv(xv(yv(new mg,ww),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new RL))),Ee(t,ww,Cct,Ie(PG)),Ee(t,ww,Qkt,Ie(Yht)),Ee(t,ww,Zkt,Ie(Kht)),Ee(t,ww,Sct,Ie(tSt)),Ee(t,ww,Act,Ie(Wht)),Ee(t,ww,vw,JCt),Ee(t,ww,ky,8),Ee(t,ww,Lct,Ie(c3e)),Ee(t,ww,Jkt,Ie(QCt)),Ee(t,ww,t8t,Ie(ZCt)),Ee(t,ww,QI,(Rn(),!1))}function fyn(t,e){var n,r,s,o,h,d,w,k,_,M;for(Dr(e,"Simple node placement",1),M=u(K(t,(oe(),X4)),304),d=0,o=new S(t.b);o.a<o.c.c.length;){for(r=u(Q(o),29),h=r.c,h.b=0,n=null,k=new S(r.a);k.a<k.c.c.length;)w=u(Q(k),10),n&&(h.b+=y3t(w,n,M.c)),h.b+=w.d.d+w.o.b+w.d.a,n=w;d=b.Math.max(d,h.b)}for(s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),h=r.c,_=(d-h.b)/2,n=null,k=new S(r.a);k.a<k.c.c.length;)w=u(Q(k),10),n&&(_+=y3t(w,n,M.c)),_+=w.d.d,w.n.b=_,_+=w.o.b+w.d.a,n=w;br(e)}function dyn(t,e,n,r){var s,o,h,d,w,k,_,M;if(r.gc()==0)return!1;if(w=(po(),u(e,66).Oj()),h=w?r:new Wv(r.gc()),W0(t.e,e)){if(e.hi())for(_=r.Kc();_.Ob();)k=_.Pb(),xq(t,e,k,_t(e,99)&&(u(e,18).Bb&co)!=0)||(o=Jd(e,k),h.Fc(o));else if(!w)for(_=r.Kc();_.Ob();)k=_.Pb(),o=Jd(e,k),h.Fc(o)}else{for(M=gu(t.e.Tg(),e),s=u(t.g,119),d=0;d<t.i;++d)if(o=s[d],M.rl(o.ak()))throw et(new Bn(iO));if(r.gc()>1)throw et(new Bn(iO));w||(o=Jd(e,r.Kc().Pb()),h.Fc(o))}return vyt(t,B4t(t,e,n),h)}function gyn(t,e){var n,r,s,o;for(Qan(e.b.j),Ts(Cu(new En(null,new _n(e.d,16)),new jX),new $X),o=new S(e.d);o.a<o.c.c.length;){switch(s=u(Q(o),101),s.e.g){case 0:n=u(Fe(s.j,0),113).d.j,XB(s,u(Iv(Gj(u(ji(s.k,n),15).Oc(),q4)),113)),YB(s,u(Iv(Vj(u(ji(s.k,n),15).Oc(),q4)),113));break;case 1:r=V3t(s),XB(s,u(Iv(Gj(u(ji(s.k,r[0]),15).Oc(),q4)),113)),YB(s,u(Iv(Vj(u(ji(s.k,r[1]),15).Oc(),q4)),113));break;case 2:lgn(t,s);break;case 3:Cbn(s);break;case 4:Mbn(t,s)}Xan(s)}t.a=null}function yat(t,e,n){var r,s,o,h,d,w,k,_;return r=t.a.o==(D1(),Y1)?ms:Rs,d=Xue(t,new QVt(e,n)),!d.a&&d.c?(pi(t.d,d),r):d.a?(s=d.a.c,w=d.a.d,n?(k=t.a.c==(yd(),Bw)?w:s,o=t.a.c==Bw?s:w,h=t.a.g[o.i.p],_=Zt(t.a.p[h.p])+Zt(t.a.d[o.i.p])+o.n.b+o.a.b-Zt(t.a.d[k.i.p])-k.n.b-k.a.b):(k=t.a.c==(yd(),Zg)?w:s,o=t.a.c==Zg?s:w,_=Zt(t.a.p[t.a.g[o.i.p].p])+Zt(t.a.d[o.i.p])+o.n.b+o.a.b-Zt(t.a.d[k.i.p])-k.n.b-k.a.b),t.a.n[t.a.g[s.i.p].p]=(Rn(),!0),t.a.n[t.a.g[w.i.p].p]=!0,_):r}function Tq(t,e,n){var r,s,o,h,d,w,k,_;if(W0(t.e,e))w=(po(),u(e,66).Oj()?new Oj(e,t):new NM(e,t)),aq(w.c,w.b),h_(w,u(n,14));else{for(_=gu(t.e.Tg(),e),r=u(t.g,119),h=0;h<t.i;++h)if(s=r[h],o=s.ak(),_.rl(o)){if(o==(ox(),Kx)||o==Wx){for(k=P3t(t,e,n),d=h,k?dy(t,h):++h;h<t.i;)s=r[h],o=s.ak(),o==Kx||o==Wx?dy(t,h):++h;k||u(l4(t,d,Jd(e,n)),72)}else P3t(t,e,n)?dy(t,h):u(l4(t,h,(po(),u(e,66).Oj()?u(n,72):Jd(e,n))),72);return}P3t(t,e,n)||Hr(t,(po(),u(e,66).Oj()?u(n,72):Jd(e,n)))}}function kle(t,e,n){var r,s,o,h,d,w,k,_;return Pi(n,t.b)||(t.b=n,o=new v1,h=u(Hl(Cu(new En(null,new _n(n.f,16)),o),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[(j1(),Ly),Zl]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,s=h.Hc((rx(),hO)),r=h.Hc(fO),s&&!r&&(t.f=!1),!s&&r&&(t.d=!1),s=h.Hc(lO),r=h.Hc(dO),s&&!r&&(t.c=!1),!s&&r&&(t.e=!1)),_=u(t.a.Ce(e,n),46),w=u(_.a,19).a,k=u(_.b,19).a,d=!1,w<0?t.c||(d=!0):t.e||(d=!0),k<0?t.d||(d=!0):t.f||(d=!0),d?kle(t,_,n):_}function pyn(t){var e,n,r,s;s=t.o,Bm(),t.A.dc()||Pi(t.A,Q7t)?e=s.b:(e=hI(t.f),t.A.Hc((Fl(),iP))&&!t.B.Hc((ml(),eA))&&(e=b.Math.max(e,hI(u(Lo(t.p,(ye(),Wn)),244))),e=b.Math.max(e,hI(u(Lo(t.p,jn),244)))),n=kne(t),n&&(e=b.Math.max(e,n.b)),t.A.Hc(sP)&&(t.q==(ka(),p0)||t.q==eu)&&(e=b.Math.max(e,Dj(u(Lo(t.b,(ye(),Wn)),124))),e=b.Math.max(e,Dj(u(Lo(t.b,jn),124))))),je(Be(t.e.yf().We((Ei(),zG))))?s.b=b.Math.max(s.b,e):s.b=e,r=t.f.i,r.d=0,r.a=e,dat(t.f)}function Ele(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(M=0;M<e.length;M++){for(d=t.Kc();d.Ob();)o=u(d.Pb(),225),o.Of(M,e);for(B=0;B<e[M].length;B++){for(w=t.Kc();w.Ob();)o=u(w.Pb(),225),o.Pf(M,B,e);for(W=e[M][B].j,q=0;q<W.c.length;q++){for(k=t.Kc();k.Ob();)o=u(k.Pb(),225),o.Qf(M,B,q,e);for(G=(An(q,W.c.length),u(W.c[q],11)),n=0,s=new N1(G.b);sc(s.a)||sc(s.b);)for(r=u(sc(s.a)?Q(s.a):Q(s.b),17),_=t.Kc();_.Ob();)o=u(_.Pb(),225),o.Nf(M,B,q,n++,r,e)}}}for(h=t.Kc();h.Ob();)o=u(h.Pb(),225),o.Mf()}function byn(t,e){var n,r,s,o,h,d,w;for(t.b=Zt(ke(K(e,(Te(),Z4)))),t.c=Zt(ke(K(e,$b))),t.d=u(K(e,Klt),336),t.a=u(K(e,XV),275),ufn(e),d=u(Hl(Xi(Xi(oc(oc(new En(null,new _n(e.b,16)),new xY),new PE),new TL),new tF),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),s=d.Kc();s.Ob();)n=u(s.Pb(),17),h=u(K(n,(oe(),Fb)),15),h.Jc(new Ic(t)),ne(n,Fb,null);for(r=d.Kc();r.Ob();)n=u(r.Pb(),17),w=u(K(n,(oe(),eTt)),17),o=u(K(n,Q4),15),T5n(t,o,w),ne(n,Q4,null)}function vyn(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}function xat(t){var e,n,r,s,o,h,d,w,k;return!(t.k!=(Yn(),Ws)||t.j.c.length<=1||(o=u(K(t,(Te(),xs)),98),o==(ka(),eu))||(s=(sy(),(t.q?t.q:(pn(),pn(),l0))._b(Ow)?r=u(K(t,Ow),197):r=u(K(Za(t),_S),197),r),s==fG)||!(s==e5||s==t5)&&(h=Zt(ke(iy(t,CS))),e=u(K(t,IO),142),!e&&(e=new Jbt(h,h,h,h)),k=uc(t,(ye(),jn)),w=e.d+e.a+(k.gc()-1)*h,w>t.o.b||(n=uc(t,Wn),d=e.d+e.a+(n.gc()-1)*h,d>t.o.b)))}function kat(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;if(h=t.e,w=e.e,h==0)return e;if(w==0)return t;if(o=t.d,d=e.d,o+d==2)return n=Xs(t.a[0],To),r=Xs(e.a[0],To),h==w?(_=Ka(n,r),G=$r(_),q=$r(zm(_,32)),q==0?new Og(h,G):new Y3(h,2,ct(ot(Fr,1),ui,25,15,[G,q]))):QD(h<0?Jp(r,n):Jp(n,r));if(h==w)B=h,M=o>=d?Rrt(t.a,o,e.a,d):Rrt(e.a,d,t.a,o);else{if(s=o!=d?o>d?1:-1:Iyt(t.a,e.a,o),s==0)return r2(),Z7;s==1?(B=h,M=Frt(t.a,o,e.a,d)):(B=w,M=Frt(e.a,d,t.a,o))}return k=new Y3(B,M.length,M),O_(k),k}function Eat(t,e,n,r,s,o,h){var d,w,k,_,M,B,q;return M=je(Be(K(e,(Te(),t_t)))),B=null,o==(xo(),ll)&&r.c.i==n?B=r.c:o==lu&&r.d.i==n&&(B=r.d),k=h,!k||!M||B?(_=(ye(),fc),B?_=B.j:V3(u(K(n,xs),98))&&(_=o==ll?jn:Wn),w=wyn(t,e,n,o,_,r),d=Prt((Za(n),r)),o==ll?(Wa(d,u(Fe(w.j,0),11)),ya(d,s)):(Wa(d,s),ya(d,u(Fe(w.j,0),11))),k=new Rre(r,d,w,u(K(w,(oe(),Bi)),11),o,!B)):(de(k.e,r),q=b.Math.max(Zt(ke(K(k.d,Xg))),Zt(ke(K(r,Xg)))),ne(k.d,Xg,q)),un(t.a,r,new Cj(k.d,e,o)),k}function _q(t,e){var n,r,s,o,h,d,w,k,_,M;if(_=null,t.d&&(_=u(Uc(t.d,e),138)),!_){if(o=t.a.Mh(),M=o.i,!t.d||$T(t.d)!=M){for(w=new Br,t.d&&G_(w,t.d),k=w.f.c+w.g.c,d=k;d<M;++d)r=u(At(o,d),138),s=Bg(t.e,r).ne(),n=u(s==null?du(w.f,null,r):ew(w.g,s,r),138),n&&n!=r&&(s==null?du(w.f,null,n):ew(w.g,s,n));if(w.f.c+w.g.c!=M)for(h=0;h<k;++h)r=u(At(o,h),138),s=Bg(t.e,r).ne(),n=u(s==null?du(w.f,null,r):ew(w.g,s,r),138),n&&n!=r&&(s==null?du(w.f,null,n):ew(w.g,s,n));t.d=w}_=u(Uc(t.d,e),138)}return _}function wyn(t,e,n,r,s,o){var h,d,w,k,_,M;return h=null,k=r==(xo(),ll)?o.c:o.d,w=_z(e),k.i==n?(h=u(cr(t.b,k),10),h||(h=SI(k,u(K(n,(Te(),xs)),98),s,Awn(k),null,k.n,k.o,w,e),ne(h,(oe(),Bi),k),Ni(t.b,k,h))):(h=SI((_=new E3,M=Zt(ke(K(e,(Te(),Af))))/2,jD(_,zy,M),_),u(K(n,xs),98),s,r==ll?-1:1,null,new $a,new $e(0,0),w,e),d=fdn(h,n,r),ne(h,(oe(),Bi),d),Ni(t.b,d,h)),u(K(e,(oe(),tu)),21).Fc((Eo(),Th)),V3(u(K(e,(Te(),xs)),98))?ne(e,xs,(ka(),M9)):ne(e,xs,(ka(),Q1)),h}function myn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;Dr(e,"Orthogonal edge routing",1),k=Zt(ke(K(t,(Te(),J4)))),n=Zt(ke(K(t,Z4))),r=Zt(ke(K(t,$b))),B=new Vnt(0,n),Z=0,h=new Sa(t.b,0),d=null,_=null,w=null,M=null;do _=h.b<h.d.gc()?(sr(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),29)):null,M=_?_.a:null,d&&(u6t(d,Z),Z+=d.c.a),W=d?Z+r:Z,G=g6t(B,t,w,M,W),s=!d||rj(w,(dq(),BO)),o=!_||rj(M,(dq(),BO)),G>0?(q=(G-1)*n,d&&(q+=r),_&&(q+=r),q<k&&!s&&!o&&(q=k),Z+=q):!s&&!o&&(Z+=k),d=_,w=M;while(_);t.f.a=Z,br(e)}function Tat(){Tat=X;var t;KAt=new dqt,R4e=Pt(Le,re,2,0,6,1),F4e=O1(J6(33,58),J6(1,26)),B4e=O1(J6(97,122),J6(65,90)),HAt=J6(48,57),P4e=O1(F4e,0),N4e=O1(B4e,HAt),VAt=O1(O1(0,J6(1,6)),J6(33,38)),GAt=O1(O1(HAt,J6(65,70)),J6(97,102)),j4e=O1(P4e,Bz("-_.!~*'()")),$4e=O1(N4e,Dz("-_.!~*'()")),Bz(r0e),Dz(r0e),O1(j4e,Bz(";:@&=+$,")),O1($4e,Dz(";:@&=+$,")),UAt=Bz(":/?#"),WAt=Dz(":/?#"),iA=Bz("/?#"),sA=Dz("/?#"),t=new na,t.a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),sU=(pn(),new Zk(t))}function Tle(t,e){var n,r,s,o,h,d,w,k,_,M;if(ne(e,(Sc(),E9),0),w=u(K(e,kG),86),e.d.b==0)w?(_=Zt(ke(K(w,Jg)))+t.a+smt(w,e),ne(e,Jg,_)):ne(e,Jg,0);else{for(r=(o=gi(new Lp(e).a.d,0),new v6(o));TR(r.a);)n=u(di(r.a),188).c,Tle(t,n);d=u(fj((h=gi(new Lp(e).a.d,0),new v6(h))),86),M=u($Xe((s=gi(new Lp(e).a.d,0),new v6(s))),86),k=(Zt(ke(K(M,Jg)))+Zt(ke(K(d,Jg))))/2,w?(_=Zt(ke(K(w,Jg)))+t.a+smt(w,e),ne(e,Jg,_),ne(e,E9,Zt(ke(K(e,Jg)))-k),S3n(t,e)):ne(e,Jg,k)}}function _7(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;d=0,G=0,w=f$(t.f,t.f.length),o=t.d,h=t.i,r=t.a,s=t.b;do{for(q=0,_=new S(t.p);_.a<_.c.c.length;)k=u(Q(_),10),B=Hle(t,k),n=!0,(t.q==(m4(),OO)||t.q==PO)&&(n=je(Be(B.b))),u(B.a,19).a<0&&n?(++q,w=f$(t.f,t.f.length),t.d=t.d+u(B.a,19).a,G+=o-t.d,o=t.d+u(B.a,19).a,h=t.i,r=Hv(t.a),s=Hv(t.b)):(t.f=f$(w,w.length),t.d=o,t.a=(zr(r),r?new Uu(r):g8(new S(r))),t.b=(zr(s),s?new Uu(s):g8(new S(s))),t.i=h);++d,M=q!=0&&je(Be(e.Kb(new Ca(ve(G),ve(d)))))}while(M)}function yyn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze;return h=t.f,B=e.f,d=h==(x7(),jx)||h==zS,q=B==jx||B==zS,w=h==r5||h==qS,G=B==r5||B==qS,k=h==r5||h==jx,W=B==r5||B==jx,d&&q?t.f==zS?t:e:w&&G?t.f==qS?t:e:k&&W?(h==r5?(M=t,_=e):(M=e,_=t),o=(Z=n.j+n.f,bt=M.e+r.f,Mt=b.Math.max(Z,bt),St=Mt-b.Math.min(n.j,M.e),jt=M.d+r.g-n.i,jt*St),s=(Xt=n.i+n.g,fe=_.d+r.g,Ae=b.Math.max(Xt,fe),Ke=Ae-b.Math.min(n.i,_.d),Ze=_.e+r.f-n.j,Ke*Ze),o<=s?t.f==r5?t:e:t.f==jx?t:e):t}function xyn(t){var e,n,r,s,o,h,d,w,k,_,M;for(_=t.e.a.c.length,h=new S(t.e.a);h.a<h.c.c.length;)o=u(Q(h),121),o.j=!1;for(t.i=Pt(Fr,ui,25,_,15,1),t.g=Pt(Fr,ui,25,_,15,1),t.n=new ge,s=0,M=new ge,w=new S(t.e.a);w.a<w.c.c.length;)d=u(Q(w),121),d.d=s++,d.b.a.c.length==0&&de(t.n,d),Hs(M,d.g);for(e=0,r=new S(M);r.a<r.c.c.length;)n=u(Q(r),213),n.c=e++,n.f=!1;k=M.c.length,t.b==null||t.b.length<k?(t.b=Pt(wa,Io,25,k,15,1),t.c=Pt(Tl,c0,25,k,16,1)):NT(t.c),t.d=M,t.p=new nnt(Qm(t.d.c.length)),t.j=1}function kyn(t,e){var n,r,s,o,h,d,w,k,_;if(!(e.e.c.length<=1)){for(t.f=e,t.d=u(K(t.f,(nI(),p9t)),379),t.g=u(K(t.f,m9t),19).a,t.e=Zt(ke(K(t.f,b9t))),t.c=Zt(ke(K(t.f,uV))),FYt(t.b),s=new S(t.f.c);s.a<s.c.c.length;)r=u(Q(s),282),z5t(t.b,r.c,r,null),z5t(t.b,r.d,r,null);for(d=t.f.e.c.length,t.a=Z2(wa,[re,Io],[104,25],15,[d,d],2),k=new S(t.f.e);k.a<k.c.c.length;)w=u(Q(k),144),Vmn(t,w,t.a[w.b]);for(t.i=Z2(wa,[re,Io],[104,25],15,[d,d],2),o=0;o<d;++o)for(h=0;h<d;++h)n=t.a[o][h],_=1/(n*n),t.i[o][h]=_}}function TC(t){var e,n,r,s;if(!(t.b==null||t.b.length<=2)&&!t.a){for(e=0,s=0;s<t.b.length;){for(e!=s?(t.b[e]=t.b[s++],t.b[e+1]=t.b[s++]):s+=2,n=t.b[e+1];s<t.b.length&&!(n+1<t.b[s]);)if(n+1==t.b[s])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else if(n>=t.b[s+1])s+=2;else if(n<t.b[s+1])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else throw et(new ic("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[s]+","+t.b[s+1]+"]"));e+=2}e!=t.b.length&&(r=Pt(Fr,ui,25,e,15,1),qc(t.b,0,r,0,e),t.b=r),t.a=!0}}function Eyn(t,e){var n,r,s,o,h,d,w;for(h=F6(t.a).Kc();h.Ob();){if(o=u(h.Pb(),17),o.b.c.length>0)for(r=new Uu(u(ji(t.a,o),21)),pn(),ua(r,new Ri(e)),s=new Sa(o.b,0);s.b<s.d.gc();){switch(n=(sr(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),70)),d=-1,u(K(n,(Te(),Bd)),272).g){case 1:d=r.c.length-1;break;case 0:d=W1n(r);break;case 2:d=0}d!=-1&&(w=(An(d,r.c.length),u(r.c[d],243)),de(w.b.b,n),u(K(Za(w.b.c.i),(oe(),tu)),21).Fc((Eo(),f9)),u(K(Za(w.b.c.i),tu),21).Fc(h9),Ol(s),ne(n,ZEt,o))}Wa(o,null),ya(o,null)}}function Tyn(t,e){var n,r,s,o;return n=new Rl,r=u(Hl(Cu(new En(null,new _n(t.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[(j1(),Ly),Zl]))),21),s=r.gc(),s=s==2?1:0,s==1&&Sv(YD(u(Hl(Xi(r.Lc(),new $u),wne(bb(0),new ar)),162).a,2),0)&&(s=0),r=u(Hl(Cu(new En(null,new _n(e.f,16)),n),Ym(new Qt,new vr,new Zn,new dn,ct(ot(xl,1),ue,132,0,[Ly,Zl]))),21),o=r.gc(),o=o==2?1:0,o==1&&Sv(YD(u(Hl(Xi(r.Lc(),new Gi),wne(bb(0),new ar)),162).a,2),0)&&(o=0),s<o?-1:s==o?0:1}function _yn(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;if(k=new ge,!ia(t,(oe(),Olt)))return k;for(r=u(K(t,Olt),15).Kc();r.Ob();)e=u(r.Pb(),10),Ryn(e,t),k.c[k.c.length]=e;for(o=new S(t.b);o.a<o.c.c.length;)for(s=u(Q(o),29),d=new S(s.a);d.a<d.c.c.length;)h=u(Q(d),10),h.k==(Yn(),Fs)&&(w=u(K(h,UV),10),w&&(_=new zc,ac(_,h),M=u(K(h,yc),61),Qs(_,M),B=u(Fe(w.j,0),11),q=new $v,Wa(q,_),ya(q,B)));for(n=new S(k);n.a<n.c.c.length;)e=u(Q(n),10),Bo(e,u(Fe(t.b,t.b.c.length-1),29));return k}function _le(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(e=M1(t),o=je(Be(He(e,(Te(),$y)))),_=0,s=0,k=new hr((!t.e&&(t.e=new Tn(aa,t,7,4)),t.e));k.e!=k.i.gc();)w=u(Tr(k),79),d=cw(w),h=d&&o&&je(Be(He(w,Bb))),B=Go(u(At((!w.c&&(w.c=new Tn(Lr,w,5,8)),w.c),0),82)),d&&h?++s:d&&!h?++_:gs(B)==e||B==e?++s:++_;for(r=new hr((!t.d&&(t.d=new Tn(aa,t,8,5)),t.d));r.e!=r.i.gc();)n=u(Tr(r),79),d=cw(n),h=d&&o&&je(Be(He(n,Bb))),M=Go(u(At((!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b),0),82)),d&&h?++_:d&&!h?++s:gs(M)==e||M==e?++_:++s;return _-s}function Cyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(Dr(e,"Edge splitting",1),t.b.c.length<=2){br(e);return}for(o=new Sa(t.b,0),h=(sr(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),29));o.b<o.d.gc();)for(s=h,h=(sr(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),29)),w=new S(s.a);w.a<w.c.c.length;)for(d=u(Q(w),10),_=new S(d.j);_.a<_.c.c.length;)for(k=u(Q(_),11),r=new S(k.g);r.a<r.c.c.length;)n=u(Q(r),17),B=n.d,M=B.i.c,M!=s&&M!=h&&$ce(n,(q=new G0(t),A0(q,(Yn(),ha)),ne(q,(oe(),Bi),n),ne(q,(Te(),xs),(ka(),eu)),Bo(q,h),q));br(e)}function Cle(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(d=e.p!=null&&!e.b,d||Dr(e,Pfe,1),n=u(K(t,(oe(),Rlt)),15),h=1/n.gc(),e.n)for(Q2(e,"ELK Layered uses the following "+n.gc()+" modules:"),q=0,B=n.Kc();B.Ob();)_=u(B.Pb(),51),r=(q<10?"0":"")+q++,Q2(e," Slot "+r+": "+Ip(bl(_)));for(M=n.Kc();M.Ob();)_=u(M.Pb(),51),_.pf(t,Kc(e,h));for(o=new S(t.b);o.a<o.c.c.length;)s=u(Q(o),29),Hs(t.a,s.a),s.a.c=Pt(ir,De,1,0,5,1);for(k=new S(t.a);k.a<k.c.c.length;)w=u(Q(k),10),Bo(w,null);t.b.c=Pt(ir,De,1,0,5,1),d||br(e)}function Syn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;r=Zt(ke(K(e,(Te(),n_t)))),Xt=u(K(e,SS),19).a,B=4,s=3,fe=20/Xt,q=!1,w=0,h=Di;do{for(o=w!=1,M=w!=0,Ae=0,Z=t.a,Mt=0,jt=Z.length;Mt<jt;++Mt)G=Z[Mt],G.f=null,g4n(t,G,o,M,r),Ae+=b.Math.abs(G.a);do d=smn(t,e);while(d);for(W=t.a,bt=0,St=W.length;bt<St;++bt)if(G=W[bt],n=nwt(G).a,n!=0)for(_=new S(G.e);_.a<_.c.c.length;)k=u(Q(_),10),k.n.b+=n;w==0||w==1?(--B,B<=0&&(Ae<h||-B>Xt)?(w=2,h=Di):w==0?(w=1,h=Ae):(w=0,h=Ae)):(q=Ae>=h||h-Ae<fe,h=Ae,q&&--s)}while(!(q&&s<=0))}function _at(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;for(G=new Br,o=t.a.ec().Kc();o.Ob();)r=u(o.Pb(),168),Ni(G,r,n.Je(r));for(h=(zr(t),t?new Uu(t):g8(t.a.ec().Kc())),ua(h,new er(G)),d=_$(h),w=new lj(e),q=new Br,du(q.f,e,w);d.a.gc()!=0;){for(k=null,_=null,M=null,s=d.a.ec().Kc();s.Ob();)if(r=u(s.Pb(),168),Zt(ke(gc(Ho(G.f,r))))<=ms){if(Il(q,r.a)&&!Il(q,r.b)){_=r.b,M=r.a,k=r;break}if(Il(q,r.b)&&!Il(q,r.a)){_=r.a,M=r.b,k=r;break}}if(!k)break;B=new lj(_),de(u(gc(Ho(q.f,M)),221).a,B),du(q.f,_,B),d.a.Bc(k)!=null}return w}function Ayn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;for(Dr(n,"Depth-first cycle removal",1),M=e.a,_=M.c.length,t.c=new ge,t.d=Pt(Tl,c0,25,_,16,1),t.a=Pt(Tl,c0,25,_,16,1),t.b=new ge,h=0,k=new S(M);k.a<k.c.c.length;)w=u(Q(k),10),w.p=h,A8(Jo(w))&&de(t.c,w),++h;for(q=new S(t.c);q.a<q.c.c.length;)B=u(Q(q),10),$4t(t,B);for(o=0;o<_;o++)t.d[o]||(d=(An(o,M.c.length),u(M.c[o],10)),$4t(t,d));for(s=new S(t.b);s.a<s.c.c.length;)r=u(Q(s),17),fw(r,!0),ne(e,(oe(),TO),(Rn(),!0));t.c=null,t.d=null,t.a=null,t.b=null,br(n)}function Lyn(t,e){var n,r,s,o,h,d,w;for(t.a.c=Pt(ir,De,1,0,5,1),r=gi(e.b,0);r.b!=r.d.c;)n=u(di(r),86),n.b.b==0&&(ne(n,(Sc(),Wy),(Rn(),!0)),de(t.a,n));switch(t.a.c.length){case 0:s=new yit(0,e,"DUMMY_ROOT"),ne(s,(Sc(),Wy),(Rn(),!0)),ne(s,Cht,!0),pi(e.b,s);break;case 1:break;default:for(o=new yit(0,e,"SUPER_ROOT"),d=new S(t.a);d.a<d.c.c.length;)h=u(Q(d),86),w=new Cwt(o,h),ne(w,(Sc(),Cht),(Rn(),!0)),pi(o.a.a,w),pi(o.d,w),pi(h.b,w),ne(h,Wy,!1);ne(o,(Sc(),Wy),(Rn(),!0)),ne(o,Cht,!0),pi(e.b,o)}}function Myn(t,e){x4();var n,r,s,o,h,d;return o=e.c-(t.c+t.b),s=t.c-(e.c+e.b),h=t.d-(e.d+e.a),n=e.d-(t.d+t.a),r=b.Math.max(s,o),d=b.Math.max(h,n),A1(),xf(Md),(b.Math.abs(r)<=Md||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:Av(isNaN(r),isNaN(0)))>=0^(xf(Md),(b.Math.abs(d)<=Md||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:Av(isNaN(d),isNaN(0)))>=0)?b.Math.max(d,r):(xf(Md),(b.Math.abs(r)<=Md||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:Av(isNaN(r),isNaN(0)))>0?b.Math.sqrt(d*d+r*r):-b.Math.sqrt(d*d+r*r))}function xb(t,e){var n,r,s,o,h,d;if(e){if(!t.a&&(t.a=new gR),t.e==2){dR(t.a,e);return}if(e.e==1){for(s=0;s<e.em();s++)xb(t,e.am(s));return}if(d=t.a.a.c.length,d==0){dR(t.a,e);return}if(h=u(Bv(t.a,d-1),117),!((h.e==0||h.e==10)&&(e.e==0||e.e==10))){dR(t.a,e);return}o=e.e==0?2:e.bm().length,h.e==0?(n=new BT,r=h._l(),r>=co?Ao(n,t3t(r)):y8(n,r&Ps),h=new hrt(10,null,0),sen(t.a,h,d-1)):(n=(h.bm().length+o,new BT),Ao(n,h.bm())),e.e==0?(r=e._l(),r>=co?Ao(n,t3t(r)):y8(n,r&Ps)):Ao(n,e.bm()),u(h,521).b=n.a}}function Sle(t){var e,n,r,s,o;return t.g!=null?t.g:t.a<32?(t.g=H4n(Ou(t.f),Ds(t.e)),t.g):(s=Iat((!t.c&&(t.c=qD(t.f)),t.c),0),t.e==0?s:(e=(!t.c&&(t.c=qD(t.f)),t.c).e<0?2:1,n=s.length,r=-t.e+n-e,o=new Mp,o.a+=""+s,t.e>0&&r>=-6?r>=0?oD(o,n-Ds(t.e),String.fromCharCode(46)):(o.a=$l(o.a,0,e-1)+"0."+FM(o.a,e-1),oD(o,e+1,Fh(Pb,0,-Ds(r)-1))):(n-e>=1&&(oD(o,e,String.fromCharCode(46)),++n),oD(o,n,String.fromCharCode(69)),r>0&&oD(o,++n,String.fromCharCode(43)),oD(o,++n,""+E_(Ou(r)))),t.g=o.a,t.g))}function Dyn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(!n.dc()){for(d=0,B=0,r=n.Kc(),G=u(r.Pb(),19).a;d<e.f;){if(d==G&&(B=0,r.Ob()?G=u(r.Pb(),19).a:G=e.f+1),d!=B){for(Z=u(Fe(t.b,d),29),q=u(Fe(t.b,B),29),W=Hv(Z.a),M=new S(W);M.a<M.c.c.length;)if(_=u(Q(M),10),oy(_,q.a.c.length,q),B==0)for(h=Hv(Jo(_)),o=new S(h);o.a<o.c.c.length;)s=u(Q(o),17),fw(s,!0),ne(t,(oe(),TO),(Rn(),!0)),Ole(t,s,1)}++B,++d}for(w=new Sa(t.b,0);w.b<w.d.gc();)k=(sr(w.b<w.d.gc()),u(w.d.Xb(w.c=w.b++),29)),k.a.c.length==0&&Ol(w)}}function Iyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(h=e.b,_=h.o,w=h.d,r=Zt(ke(Rz(h,(Te(),Af)))),s=Zt(ke(Rz(h,Rx))),k=Zt(ke(Rz(h,eht))),d=new Gtt,_vt(d,w.d,w.c,w.a,w.b),B=Wvn(e,r,s,k),bt=new S(e.d);bt.a<bt.c.c.length;){for(Z=u(Q(bt),101),G=Z.f.a.ec().Kc();G.Ob();)q=u(G.Pb(),409),o=q.a,M=Rdn(q),n=(Mt=new Hu,iae(q,q.c,B,Mt),l0n(q,M,B,Mt),iae(q,q.d,B,Mt),Mt),n=t.Uf(q,M,n),Ph(o.a),so(o.a,n),Ts(new En(null,new _n(n,16)),new qVt(_,d));W=Z.i,W&&(Cdn(Z,W,B,s),St=new No(W.g),_3t(_,d,St),$i(St,W.j),_3t(_,d,St))}_vt(w,d.d,d.c,d.a,d.b)}function Oyn(t,e,n){var r,s,o;if(s=u(K(e,(Te(),XV)),275),s!=(p7(),bS)){switch(Dr(n,"Horizontal Compaction",1),t.a=e,o=new Dte,r=new Moe((o.d=e,o.c=u(K(o.d,Z0),218),Pvn(o),_3n(o),zvn(o),o.a)),IKe(r,t.b),u(K(e,DTt),422).g){case 1:Yqt(r,new Uee(t.a));break;default:Yqt(r,(_wt(),Rge))}switch(s.g){case 1:pC(r);break;case 2:pC(Aq(r,(ko(),Lf)));break;case 3:pC(Kqt(Aq(pC(r),(ko(),Lf)),new jE));break;case 4:pC(Kqt(Aq(pC(r),(ko(),Lf)),new Gd(o)));break;case 5:pC(DKe(r,q2e))}Aq(r,(ko(),Wh)),r.e=!0,c4n(o),br(n)}}function Pyn(t,e,n,r,s,o,h,d){var w,k,_,M;switch(w=P1(ct(ot(f6n,1),De,220,0,[e,n,r,s])),M=null,t.b.g){case 1:M=P1(ct(ot(LCt,1),De,526,0,[new WE,new UE,new BL]));break;case 0:M=P1(ct(ot(LCt,1),De,526,0,[new BL,new UE,new WE]));break;case 2:M=P1(ct(ot(LCt,1),De,526,0,[new UE,new WE,new BL]))}for(_=new S(M);_.a<_.c.c.length;)k=u(Q(_),526),w.c.length>1&&(w=k.mg(w,t.a,d));return w.c.length==1?u(Fe(w,w.c.length-1),220):w.c.length==2?yyn((An(0,w.c.length),u(w.c[0],220)),(An(1,w.c.length),u(w.c[1],220)),h,o):null}function Ale(t){var e,n,r,s,o,h;for(Mu(t.a,new yL),n=new S(t.a);n.a<n.c.c.length;)e=u(Q(n),221),r=ba(pc(u(t.b,65).c),u(e.b,65).c),Epe?(h=u(t.b,65).b,o=u(e.b,65).b,b.Math.abs(r.a)>=b.Math.abs(r.b)?(r.b=0,o.d+o.a>h.d&&o.d<h.d+h.a&&Mj(r,b.Math.max(h.c-(o.c+o.b),o.c-(h.c+h.b)))):(r.a=0,o.c+o.b>h.c&&o.c<h.c+h.b&&Mj(r,b.Math.max(h.d-(o.d+o.a),o.d-(h.d+h.a))))):Mj(r,rle(u(t.b,65),u(e.b,65))),s=b.Math.sqrt(r.a*r.a+r.b*r.b),s=Jse(cS,e,s,r),Mj(r,s),Dnt(u(e.b,65),r),Mu(e.a,new fi(r)),u(cS.b,65),wmt(cS,Z7t,e)}function Nyn(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G;for(t.f=new Vtt,k=0,s=0,h=new S(t.e.b);h.a<h.c.c.length;)for(o=u(Q(h),29),w=new S(o.a);w.a<w.c.c.length;){for(d=u(Q(w),10),d.p=k++,r=new pr(xr(Gs(d).a.Kc(),new H));ti(r);)n=u(qr(r),17),n.p=s++;for(e=xat(d),B=new S(d.j);B.a<B.c.c.length;)M=u(Q(B),11),e&&(G=M.a.b,G!=b.Math.floor(G)&&(_=G-Vv(Ou(b.Math.round(G))),M.a.b-=_)),q=M.n.b+M.a.b,q!=b.Math.floor(q)&&(_=q-Vv(Ou(b.Math.round(q))),M.n.b-=_)}t.g=k,t.b=s,t.i=Pt(u6n,De,401,k,0,1),t.c=Pt(c6n,De,649,s,0,1),t.d.a.$b()}function Pr(t){var e,n,r,s,o,h,d,w,k;if(t.ej())if(w=t.fj(),t.i>0){if(e=new U2t(t.i,t.g),n=t.i,o=n<100?null:new Dp(n),t.ij())for(r=0;r<t.i;++r)h=t.g[r],o=t.kj(h,o);if(R_(t),s=n==1?t.Zi(4,At(e,0),null,0,w):t.Zi(6,e,null,-1,w),t.bj()){for(r=new D6(e);r.e!=r.i.gc();)o=t.dj(nst(r),o);o?(o.Ei(s),o.Fi()):t.$i(s)}else o?(o.Ei(s),o.Fi()):t.$i(s)}else R_(t),t.$i(t.Zi(6,(pn(),mo),null,-1,w));else if(t.bj())if(t.i>0){for(d=t.g,k=t.i,R_(t),o=k<100?null:new Dp(k),r=0;r<k;++r)h=d[r],o=t.dj(h,o);o&&o.Fi()}else R_(t);else R_(t)}function c6t(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(Sne(this),n==(zv(),y2)?Ys(this.r,t):Ys(this.w,t),_=ms,k=Rs,h=e.a.ec().Kc();h.Ob();)s=u(h.Pb(),46),d=u(s.a,455),r=u(s.b,17),w=r.c,w==t&&(w=r.d),d==y2?Ys(this.r,w):Ys(this.w,w),B=(ye(),Bu).Hc(w.j)?Zt(ke(K(w,(oe(),p9)))):cc(ct(ot(sa,1),re,8,0,[w.i.n,w.n,w.a])).b,_=b.Math.min(_,B),k=b.Math.max(k,B);for(M=(ye(),Bu).Hc(t.j)?Zt(ke(K(t,(oe(),p9)))):cc(ct(ot(sa,1),re,8,0,[t.i.n,t.n,t.a])).b,xae(this,M,_,k),o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),46),Dae(this,u(s.b,17));this.o=!1}function Fyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;return n=t.l&8191,r=t.l>>13|(t.m&15)<<9,s=t.m>>4&8191,o=t.m>>17|(t.h&255)<<5,h=(t.h&1048320)>>8,d=e.l&8191,w=e.l>>13|(e.m&15)<<9,k=e.m>>4&8191,_=e.m>>17|(e.h&255)<<5,M=(e.h&1048320)>>8,Ke=n*d,Ze=r*d,$n=s*d,Vn=o*d,kr=h*d,w!=0&&(Ze+=n*w,$n+=r*w,Vn+=s*w,kr+=o*w),k!=0&&($n+=n*k,Vn+=r*k,kr+=s*k),_!=0&&(Vn+=n*_,kr+=r*_),M!=0&&(kr+=n*M),q=Ke&yl,G=(Ze&511)<<13,B=q+G,Z=Ke>>22,bt=Ze>>9,Mt=($n&262143)<<4,St=(Vn&31)<<17,W=Z+bt+Mt+St,Xt=$n>>18,fe=Vn>>5,Ae=(kr&4095)<<8,jt=Xt+fe+Ae,W+=B>>22,B&=yl,jt+=W>>22,W&=yl,jt&=Y0,hu(B,W,jt)}function Lle(t){var e,n,r,s,o,h,d;if(d=u(Fe(t.j,0),11),d.g.c.length!=0&&d.e.c.length!=0)throw et(new Xo("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(o=ms,n=new S(d.g);n.a<n.c.c.length;)e=u(Q(n),17),h=e.d.i,r=u(K(h,(Te(),rG)),142),o=b.Math.min(o,h.n.a-r.b);return new $k(zr(o))}if(d.e.c.length!=0){for(s=Rs,n=new S(d.e);n.a<n.c.c.length;)e=u(Q(n),17),h=e.c.i,r=u(K(h,(Te(),rG)),142),s=b.Math.max(s,h.n.a+h.o.a+r.c);return new $k(zr(s))}return DT(),DT(),gut}function Mle(t,e){var n,r,s,o,h,d,w;if(t.Fk()){if(t.i>4)if(t.wj(e)){if(t.rk()){if(s=u(e,49),r=s.Ug(),w=r==t.e&&(t.Dk()?s.Og(s.Vg(),t.zk())==t.Ak():-1-s.Vg()==t.aj()),t.Ek()&&!w&&!r&&s.Zg()){for(o=0;o<t.i;++o)if(n=t.Gk(u(t.g[o],56)),Ut(n)===Ut(e))return!0}return w}else if(t.Dk()&&!t.Ck()){if(h=u(e,56).ah(vo(u(t.ak(),18))),Ut(h)===Ut(t.e))return!0;if(h==null||!u(h,56).kh())return!1}}else return!1;if(d=d7(t,e),t.Ek()&&!d){for(o=0;o<t.i;++o)if(s=t.Gk(u(t.g[o],56)),Ut(s)===Ut(e))return!0}return d}else return d7(t,e)}function Byn(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(_=new ge,B=new na,h=e.b,s=0;s<h.c.length;s++){for(k=(An(s,h.c.length),u(h.c[s],29)).a,_.c=Pt(ir,De,1,0,5,1),o=0;o<k.c.length;o++)d=t.a[s][o],d.p=o,d.k==(Yn(),Jc)&&(_.c[_.c.length]=d),gh(u(Fe(e.b,s),29).a,o,d),d.j.c=Pt(ir,De,1,0,5,1),Hs(d.j,u(u(Fe(t.b,s),15).Xb(o),14)),O6(u(K(d,(Te(),xs)),98))||ne(d,xs,(ka(),Ub));for(r=new S(_);r.a<r.c.c.length;)n=u(Q(r),10),M=swn(n),B.a.zc(M,B),B.a.zc(n,B)}for(w=B.a.ec().Kc();w.Ob();)d=u(w.Pb(),10),pn(),ua(d.j,(t7(),gEt)),d.i=!0,W4t(d)}function Ryn(t,e){var n,r,s,o,h,d,w,k,_,M;if(_=u(K(t,(oe(),yc)),61),r=u(Fe(t.j,0),11),_==(ye(),Nn)?Qs(r,Ir):_==Ir&&Qs(r,Nn),u(K(e,(Te(),Rb)),174).Hc((Fl(),Wb))){if(w=Zt(ke(K(t,y9))),k=Zt(ke(K(t,x9))),h=Zt(ke(K(t,Vy))),d=u(K(e,qy),21),d.Hc((cl(),ng)))for(n=k,M=t.o.a/2-r.n.a,o=new S(r.f);o.a<o.c.c.length;)s=u(Q(o),70),s.n.b=n,s.n.a=M-s.o.a/2,n+=s.o.b+h;else if(d.Hc(_2))for(o=new S(r.f);o.a<o.c.c.length;)s=u(Q(o),70),s.n.a=w+t.o.a-r.n.a;ain(new lr((zT(),new trt(e,!1,!1,new QN))),new Sj(null,t,!1))}}function jyn(t,e){var n,r,s,o,h,d,w,k,_;if(e.c.length!=0){for(pn(),Lnt(e.c,e.c.length,null),s=new S(e),r=u(Q(s),145);s.a<s.c.c.length;)n=u(Q(s),145),Fmt(r.e.c,n.e.c)&&!(k3t(mWt(r.e).b,n.e.d)||k3t(mWt(n.e).b,r.e.d))?r=(Hs(r.k,n.k),Hs(r.b,n.b),Hs(r.c,n.c),so(r.i,n.i),Hs(r.d,n.d),Hs(r.j,n.j),o=b.Math.min(r.e.c,n.e.c),h=b.Math.min(r.e.d,n.e.d),d=b.Math.max(r.e.c+r.e.b,n.e.c+n.e.b),w=d-o,k=b.Math.max(r.e.d+r.e.a,n.e.d+n.e.a),_=k-h,IKt(r.e,o,h,w,_),tin(r.f,n.f),!r.a&&(r.a=n.a),Hs(r.g,n.g),de(r.g,n),r):(Kue(t,r),r=n);Kue(t,r)}}function $yn(t,e,n,r){var s,o,h,d,w,k;if(d=t.j,d==(ye(),fc)&&e!=(ka(),Q1)&&e!=(ka(),T2)&&(d=que(t,n),Qs(t,d),!(t.q?t.q:(pn(),pn(),l0))._b((Te(),zy))&&d!=fc&&(t.n.a!=0||t.n.b!=0)&&ne(t,zy,i1n(t,d))),e==(ka(),p0)){switch(k=0,d.g){case 1:case 3:o=t.i.o.a,o>0&&(k=t.n.a/o);break;case 2:case 4:s=t.i.o.b,s>0&&(k=t.n.b/s)}ne(t,(oe(),Dw),k)}if(w=t.o,h=t.a,r)h.a=r.a,h.b=r.b,t.d=!0;else if(e!=Q1&&e!=T2&&d!=fc)switch(d.g){case 1:h.a=w.a/2;break;case 2:h.a=w.a,h.b=w.b/2;break;case 3:h.a=w.a/2,h.b=w.b;break;case 4:h.b=w.b/2}else h.a=w.a/2,h.b=w.b/2}function _C(t){var e,n,r,s,o,h,d,w,k,_;if(t.ej())if(_=t.Vi(),w=t.fj(),_>0)if(e=new iyt(t.Gi()),n=_,o=n<100?null:new Dp(n),qM(t,n,e.g),s=n==1?t.Zi(4,At(e,0),null,0,w):t.Zi(6,e,null,-1,w),t.bj()){for(r=new hr(e);r.e!=r.i.gc();)o=t.dj(Tr(r),o);o?(o.Ei(s),o.Fi()):t.$i(s)}else o?(o.Ei(s),o.Fi()):t.$i(s);else qM(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(pn(),mo),null,-1,w));else if(t.bj())if(_=t.Vi(),_>0){for(d=t.Wi(),k=_,qM(t,_,d),o=k<100?null:new Dp(k),r=0;r<k;++r)h=d[r],o=t.dj(h,o);o&&o.Fi()}else qM(t,t.Vi(),t.Wi());else qM(t,t.Vi(),t.Wi())}function zyn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;for(d=new S(e);d.a<d.c.c.length;)o=u(Q(d),233),o.e=null,o.c=0;for(w=null,h=new S(e);h.a<h.c.c.length;)if(o=u(Q(h),233),M=o.d[0],!(n&&M.k!=(Yn(),Ws))){for(q=u(K(M,(oe(),Ix)),15).Kc();q.Ob();)B=u(q.Pb(),10),(!n||B.k==(Yn(),Ws))&&((!o.e&&(o.e=new ge),o.e).Fc(t.b[B.c.p][B.p]),++t.b[B.c.p][B.p].c);if(!n&&M.k==(Yn(),Ws)){if(w)for(_=u(ji(t.d,w),21).Kc();_.Ob();)for(k=u(_.Pb(),10),s=u(ji(t.d,M),21).Kc();s.Ob();)r=u(s.Pb(),10),JJe(t.b[k.c.p][k.p]).Fc(t.b[r.c.p][r.p]),++t.b[r.c.p][r.p].c;w=M}}}function qyn(t,e){var n,r,s,o,h,d,w,k,_;for(n=0,_=new ge,d=new S(e);d.a<d.c.c.length;){switch(h=u(Q(d),11),Pyt(t.b,t.d[h.p]),_.c=Pt(ir,De,1,0,5,1),h.i.k.g){case 0:r=u(K(h,(oe(),ul)),10),Mu(r.j,new d$t(_));break;case 1:fXe(mit(Xi(new En(null,new _n(h.i.j,16)),new g$t(h))),new p$t(_));break;case 3:s=u(K(h,(oe(),Bi)),11),de(_,new Ca(s,ve(h.e.c.length+h.g.c.length)))}for(k=new S(_);k.a<k.c.c.length;)w=u(Q(k),46),o=a2t(t,u(w.a,11)),o>t.d[h.p]&&(n+=nmt(t.b,o)*u(w.b,19).a,Up(t.a,ve(o)));for(;!PT(t.a);)Omt(t.b,u(B6(t.a),19).a)}return n}function Hyn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;for(M=new No(u(He(t,(rq(),ESt)),8)),M.a=b.Math.max(M.a-n.b-n.c,0),M.b=b.Math.max(M.b-n.d-n.a,0),s=ke(He(t,ySt)),(s==null||(Pn(s),s<=0))&&(s=1.3),d=new ge,G=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));G.e!=G.i.gc();)q=u(Tr(G),33),h=new aWt(q),d.c[d.c.length]=h;switch(B=u(He(t,Jht),311),B.g){case 3:Z=hmn(d,e,M.a,M.b,(k=r,Pn(s),k));break;case 1:Z=Bmn(d,e,M.a,M.b,(_=r,Pn(s),_));break;default:Z=Uyn(d,e,M.a,M.b,(w=r,Pn(s),w))}o=new K$(Z),W=Mat(o,e,n,M.a,M.b,r,(Pn(s),s)),dw(t,W.a,W.b,!1,!0)}function Vyn(t,e){var n,r,s,o;n=e.b,o=new Uu(n.j),s=0,r=n.j,r.c=Pt(ir,De,1,0,5,1),Fv(u(ub(t.b,(ye(),Nn),(Zv(),Sw)),15),n),s=tI(o,s,new AX,r),Fv(u(ub(t.b,Nn,p2),15),n),s=tI(o,s,new zE,r),Fv(u(ub(t.b,Nn,Cw),15),n),Fv(u(ub(t.b,Wn,Sw),15),n),Fv(u(ub(t.b,Wn,p2),15),n),s=tI(o,s,new _F,r),Fv(u(ub(t.b,Wn,Cw),15),n),Fv(u(ub(t.b,Ir,Sw),15),n),s=tI(o,s,new CF,r),Fv(u(ub(t.b,Ir,p2),15),n),s=tI(o,s,new SF,r),Fv(u(ub(t.b,Ir,Cw),15),n),Fv(u(ub(t.b,jn,Sw),15),n),s=tI(o,s,new DX,r),Fv(u(ub(t.b,jn,p2),15),n),Fv(u(ub(t.b,jn,Cw),15),n)}function Gyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(Dr(e,"Layer size calculation",1),_=ms,k=Rs,s=!1,d=new S(t.b);d.a<d.c.c.length;)if(h=u(Q(d),29),w=h.c,w.a=0,w.b=0,h.a.c.length!=0){for(s=!0,B=new S(h.a);B.a<B.c.c.length;)M=u(Q(B),10),G=M.o,q=M.d,w.a=b.Math.max(w.a,G.a+q.b+q.c);r=u(Fe(h.a,0),10),W=r.n.b-r.d.d,r.k==(Yn(),Fs)&&(W-=u(K(t,(Te(),IO)),142).d),o=u(Fe(h.a,h.a.c.length-1),10),n=o.n.b+o.o.b+o.d.a,o.k==Fs&&(n+=u(K(t,(Te(),IO)),142).a),w.b=n-W,_=b.Math.min(_,W),k=b.Math.max(k,n)}s||(_=0,k=0),t.f.b=k-_,t.c.b-=_,br(e)}function u6t(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(o=0,h=0,k=new S(t.a);k.a<k.c.c.length;)d=u(Q(k),10),o=b.Math.max(o,d.d.b),h=b.Math.max(h,d.d.c);for(w=new S(t.a);w.a<w.c.c.length;){switch(d=u(Q(w),10),n=u(K(d,(Te(),Fd)),248),n.g){case 1:G=0;break;case 2:G=1;break;case 5:G=.5;break;default:for(r=0,M=0,q=new S(d.j);q.a<q.c.c.length;)B=u(Q(q),11),B.e.c.length==0||++r,B.g.c.length==0||++M;r+M==0?G=.5:G=M/(r+M)}Z=t.c,_=d.o.a,bt=(Z.a-_)*G,G>.5?bt-=h*2*(G-.5):G<.5&&(bt+=o*2*(.5-G)),s=d.d.b,bt<s&&(bt=s),W=d.d.c,bt>Z.a-W-_&&(bt=Z.a-W-_),d.n.a=e+bt}}function Uyn(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z;for(d=Pt(wa,Io,25,t.c.length,15,1),B=new Wj(new XF),G3t(B,t),k=0,W=new ge;B.b.c.length!=0;)if(h=u(B.b.c.length==0?null:Fe(B.b,0),157),k>1&&Wu(h)*Dl(h)/2>d[0]){for(o=0;o<W.c.length-1&&Wu(h)*Dl(h)/2>d[o];)++o;G=new Zd(W,0,o+1),M=new K$(G),_=Wu(h)/Dl(h),w=Mat(M,e,new m6,n,r,s,_),$i(Yf(M.e),w),D8(g7(B,M)),q=new Zd(W,o+1,W.c.length),G3t(B,q),W.c=Pt(ir,De,1,0,5,1),k=0,sYt(d,d.length,0)}else Z=B.b.c.length==0?null:Fe(B.b,0),Z!=null&&oit(B,0),k>0&&(d[k]=d[k-1]),d[k]+=Wu(h)*Dl(h),++k,W.c[W.c.length]=h;return W}function Wyn(t){var e,n,r,s,o;if(r=u(K(t,(Te(),bu)),163),r==(mh(),b2)){for(n=new pr(xr(Jo(t).a.Kc(),new H));ti(n);)if(e=u(qr(n),17),!bJt(e))throw et(new B3(Rot+eI(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(r==Fy){for(o=new pr(xr(Gs(t).a.Kc(),new H));ti(o);)if(s=u(qr(o),17),!bJt(s))throw et(new B3(Rot+eI(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function Kyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;for(Dr(e,"Label dummy removal",1),r=Zt(ke(K(t,(Te(),Rx)))),s=Zt(ke(K(t,Vy))),k=u(K(t,Jl),103),w=new S(t.b);w.a<w.c.c.length;)for(d=u(Q(w),29),M=new Sa(d.a,0);M.b<M.d.gc();)_=(sr(M.b<M.d.gc()),u(M.d.Xb(M.c=M.b++),10)),_.k==(Yn(),Bl)&&(B=u(K(_,(oe(),Bi)),17),G=Zt(ke(K(B,Xg))),h=Ut(K(_,Ox))===Ut((Wl(),k2)),n=new No(_.n),h&&(n.b+=G+r),o=new $e(_.o.a,_.o.b-G-r),q=u(K(_,SO),15),k==(ko(),tg)||k==J0?Lvn(q,n,s,o,h,k):lun(q,n,s,o),Hs(B.b,q),Cat(_,Ut(K(t,Z0))===Ut((V0(),JO))),Ol(M));br(e)}function Yyn(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(w=new ge,o=new S(e.a);o.a<o.c.c.length;)for(s=u(Q(o),10),d=new S(s.j);d.a<d.c.c.length;){for(h=u(Q(d),11),_=null,St=xd(h.g),jt=0,Xt=St.length;jt<Xt;++jt)Mt=St[jt],U8(Mt.d.i,n)||(bt=Eat(t,e,n,Mt,Mt.c,(xo(),lu),_),bt!=_&&(w.c[w.c.length]=bt),bt.c&&(_=bt));for(k=null,G=xd(h.e),W=0,Z=G.length;W<Z;++W)q=G[W],U8(q.c.i,n)||(bt=Eat(t,e,n,q,q.d,(xo(),ll),k),bt!=k&&(w.c[w.c.length]=bt),bt.c&&(k=bt))}for(B=new S(w);B.a<B.c.c.length;)M=u(Q(B),441),Zo(e.a,M.a,0)!=-1||de(e.a,M.a),M.c&&(r.c[r.c.length]=M)}function Xyn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(Dr(n,"Interactive cycle breaking",1),M=new ge,q=new S(e.a);q.a<q.c.c.length;)for(B=u(Q(q),10),B.p=1,G=a4t(B).a,_=rw(B,(xo(),lu)).Kc();_.Ob();)for(k=u(_.Pb(),11),o=new S(k.g);o.a<o.c.c.length;)r=u(Q(o),17),W=r.d.i,W!=B&&(Z=a4t(W).a,Z<G&&(M.c[M.c.length]=r));for(h=new S(M);h.a<h.c.c.length;)r=u(Q(h),17),fw(r,!0);for(M.c=Pt(ir,De,1,0,5,1),w=new S(e.a);w.a<w.c.c.length;)d=u(Q(w),10),d.p>0&&Fae(t,d,M);for(s=new S(M);s.a<s.c.c.length;)r=u(Q(s),17),fw(r,!0);M.c=Pt(ir,De,1,0,5,1),br(n)}function Dle(t,e){var n,r,s,o,h,d,w,k,_;return k="",e.length==0?t.de(D6t,Rat,-1,-1):(_=uy(e),ln(_.substr(0,3),"at ")&&(_=_.substr(3)),_=_.replace(/\[.*?\]/g,""),h=_.indexOf("("),h==-1?(h=_.indexOf("@"),h==-1?(k=_,_=""):(k=uy(_.substr(h+1)),_=uy(_.substr(0,h)))):(n=_.indexOf(")",h),k=_.substr(h+1,n-(h+1)),_=uy(_.substr(0,h))),h=pd(_,Pu(46)),h!=-1&&(_=_.substr(h+1)),(_.length==0||ln(_,"Anonymous function"))&&(_=Rat),d=pj(k,Pu(58)),s=avt(k,Pu(58),d-1),w=-1,r=-1,o=D6t,d!=-1&&s!=-1&&(o=k.substr(0,s),w=ZUt(k.substr(s+1,d-(s+1))),r=ZUt(k.substr(d+1))),t.de(o,_,w,r))}function l6t(t,e,n){var r,s,o,h,d,w;if(e.l==0&&e.m==0&&e.h==0)throw et(new vR("divide by zero"));if(t.l==0&&t.m==0&&t.h==0)return n&&(h2=hu(0,0,0)),hu(0,0,0);if(e.h==PI&&e.m==0&&e.l==0)return hln(t,n);if(w=!1,e.h>>19&&(e=X8(e),w=!w),h=W2n(e),o=!1,s=!1,r=!1,t.h==PI&&t.m==0&&t.l==0)if(s=!0,o=!0,h==-1)t=QGt((N8(),Y8t)),r=!0,w=!w;else return d=c5t(t,h),w&&vit(d),n&&(h2=hu(0,0,0)),d;else t.h>>19&&(o=!0,t=X8(t),r=!0,w=!w);return h!=-1?Pcn(t,h,w,o,n):J3t(t,e)<0?(n&&(o?h2=X8(t):h2=hu(t.l,t.m,t.h)),hu(0,0,0)):Rwn(r?t:hu(t.l,t.m,t.h),e,w,o,s,n)}function Cq(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;if(t.e&&t.c.c<t.f)throw et(new Xo("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(_=u(Kf(t.g),9),q=Wd(t.f),o=_,d=0,k=o.length;d<k;++d)r=o[d],M=u(xD(t,r.g),246),M?de(q,u(Qre(t,M),123)):q.c[q.c.length]=null;for(G=new ra,Ts(Xi(Cu(Xi(new En(null,new _n(q,16)),new pZ),new N$t(e)),new bZ),new F$t(G)),Ul(G,t.a),n=new ge,s=_,h=0,w=s.length;h<w;++h)r=s[h],Hs(n,Fne(t,o$(u(xD(G,r.g),20)))),B=u(Fe(q,r.g),123),B&&(n.c[n.c.length]=B);return Hs(n,Fne(t,o$(u(xD(G,_[_.length-1].g+1),20)))),n}function Qyn(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(Dr(n,"Model order cycle breaking",1),t.a=0,t.b=0,q=new ge,_=e.a.c.length,k=new S(e.a);k.a<k.c.c.length;)w=u(Q(k),10),ia(w,(oe(),Bc))&&(_=b.Math.max(_,u(K(w,Bc),19).a+1));for(W=new S(e.a);W.a<W.c.c.length;)for(G=u(Q(W),10),h=Uae(t,G,_),B=rw(G,(xo(),lu)).Kc();B.Ob();)for(M=u(B.Pb(),11),o=new S(M.g);o.a<o.c.c.length;)r=u(Q(o),17),Z=r.d.i,d=Uae(t,Z,_),d<h&&(q.c[q.c.length]=r);for(s=new S(q);s.a<s.c.c.length;)r=u(Q(s),17),fw(r,!0),ne(e,(oe(),TO),(Rn(),!0));q.c=Pt(ir,De,1,0,5,1),br(n)}function Zyn(t,e){var n,r,s,o,h,d,w;if(!(t.g>e.f||e.g>t.f)){for(n=0,r=0,h=t.w.a.ec().Kc();h.Ob();)s=u(h.Pb(),11),Lit(cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++n;for(d=t.r.a.ec().Kc();d.Ob();)s=u(d.Pb(),11),Lit(cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--n;for(w=e.w.a.ec().Kc();w.Ob();)s=u(w.Pb(),11),Lit(cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++r;for(o=e.r.a.ec().Kc();o.Ob();)s=u(o.Pb(),11),Lit(cc(ct(ot(sa,1),re,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--r;n<r?new L$(t,e,r-n):r<n?new L$(e,t,n-r):(new L$(e,t,0),new L$(t,e,0))}}function Jyn(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;for(k=e.c,s=rbt(t.e),M=bd($M(pc(nbt(t.e)),t.d*t.a,t.c*t.b),-.5),n=s.a-M.a,r=s.b-M.b,h=e.a,n=h.c-n,r=h.d-r,w=new S(k);w.a<w.c.c.length;){switch(d=u(Q(w),395),B=d.b,q=n+B.a,Z=r+B.b,G=Ds(q/t.a),bt=Ds(Z/t.b),o=d.a,o.g){case 0:_=(rx(),hO);break;case 1:_=(rx(),lO);break;case 2:_=(rx(),fO);break;default:_=(rx(),dO)}o.a?(Mt=Ds((Z+d.c)/t.b),de(t.f,new gvt(_,ve(bt),ve(Mt))),o==(sC(),pO)?Q8(t,0,bt,G,Mt):Q8(t,G,bt,t.d-1,Mt)):(W=Ds((q+d.c)/t.a),de(t.f,new gvt(_,ve(G),ve(W))),o==(sC(),gO)?Q8(t,G,0,W,bt):Q8(t,G,bt,W,t.c-1))}}function t3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;for(B=new ge,s=new ge,W=null,d=e.Kc();d.Ob();)h=u(d.Pb(),19),o=new Ap(h.a),s.c[s.c.length]=o,W&&(o.d=W,W.e=o),W=o;for(St=Smn(t),_=0;_<s.c.length;++_){for(q=null,Z=pmt((An(0,s.c.length),u(s.c[0],652))),n=null,r=ms,M=1;M<t.b.c.length;++M)bt=Z?b.Math.abs(Z.b-M):b.Math.abs(M-q.b)+1,G=q?b.Math.abs(M-q.b):bt+1,G<bt?(k=q,w=G):(k=Z,w=bt),Mt=(jt=Zt(ke(K(t,(Te(),p_t)))),St[M]+b.Math.pow(w,jt)),Mt<r&&(r=Mt,n=k,n.c=M),Z&&M==Z.b&&(q=Z,Z=Ztn(Z));n&&(de(B,ve(n.c)),n.a=!0,zun(n))}return pn(),Lnt(B.c,B.c.length,null),B}function e3n(t){var e,n,r,s,o,h,d,w,k,_;for(e=new V2,n=new V2,k=ln(eO,(s=mC(t.b,oi),s?Yr(t1((!s.b&&(s.b=new Ml((hn(),lo),xc,s)),s.b),qh)):null)),w=0;w<t.i;++w)d=u(t.g[w],170),_t(d,99)?(h=u(d,18),h.Bb&Ac?(!(h.Bb&Ed)||!k&&(o=mC(h,oi),(o?Yr(t1((!o.b&&(o.b=new Ml((hn(),lo),xc,o)),o.b),xH)):null)==null))&&Hr(e,h):(_=vo(h),_&&_.Bb&Ac||(!(h.Bb&Ed)||!k&&(r=mC(h,oi),(r?Yr(t1((!r.b&&(r.b=new Ml((hn(),lo),xc,r)),r.b),xH)):null)==null))&&Hr(n,h))):(po(),u(d,66).Oj()&&(d.Jj()||(Hr(e,d),Hr(n,d))));ey(e),ey(n),t.a=u(e.g,247),u(n.g,247)}function n3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(k=$0n(e),W=u(K(e,(Te(),ES)),314),W!=(X6(),Ax)&&Pa(k,new $5),Z=u(K(e,LO),292),Pa(k,new _i(Z)),G=0,_=new ge,o=new M_(k);o.a!=o.b;)s=u(xz(o),37),Vle(t.c,s),B=u(K(s,(oe(),Rlt)),15),G+=B.gc(),r=B.Kc(),de(_,new Ca(s,r));for(Dr(n,"Recursive hierarchical layout",G),q=u(u(Fe(_,_.c.length-1),46).b,47);q.Ob();)for(w=new S(_);w.a<w.c.c.length;)for(d=u(Q(w),46),B=u(d.b,47),h=u(d.a,37);B.Ob();)if(M=u(B.Pb(),51),_t(M,507)){if(h.e)break;M.pf(h,Kc(n,1));break}else M.pf(h,Kc(n,1));br(n)}function Ile(t,e){var n,r,s,o,h,d,w,k,_,M;if(w=e.length-1,d=(Xr(w,e.length),e.charCodeAt(w)),d==93){if(h=pd(e,Pu(91)),h>=0)return s=rln(t,e.substr(1,h-1)),_=e.substr(h+1,w-(h+1)),Z4n(t,_,s)}else{if(n=-1,t7t==null&&(t7t=new RegExp("\\d")),t7t.test(String.fromCharCode(d))&&(n=avt(e,Pu(46),w-1),n>=0)){r=u(Nrt(t,cee(t,e.substr(1,n-1)),!1),58),k=0;try{k=Kl(e.substr(n+1),qa,Di)}catch(B){throw B=as(B),_t(B,127)?(o=B,et(new R$(o))):et(B)}if(k<r.gc())return M=r.Xb(k),_t(M,72)&&(M=u(M,72).dd()),u(M,56)}if(n<0)return u(Nrt(t,cee(t,e.substr(1)),!1),56)}return null}function T4(t,e,n){var r,s,o,h,d,w,k,_,M;if(rs(e,n)>=0)return n;switch(jv(Ro(t,n))){case 2:{if(ln("",Bg(t,n.Hj()).ne())){if(w=eD(Ro(t,n)),d=E8(Ro(t,n)),_=p5t(t,e,w,d),_)return _;for(s=q5t(t,e),h=0,M=s.gc();h<M;++h)if(_=u(s.Xb(h),170),E5t(jnt(Ro(t,_)),w))return _}return null}case 4:{if(ln("",Bg(t,n.Hj()).ne())){for(r=n;r;r=Jrn(Ro(t,r)))if(k=eD(Ro(t,r)),d=E8(Ro(t,r)),_=b5t(t,e,k,d),_)return _;if(w=eD(Ro(t,n)),ln(Db,w))return r4t(t,e);for(o=oat(t,e),h=0,M=o.gc();h<M;++h)if(_=u(o.Xb(h),170),E5t(jnt(Ro(t,_)),w))return _}return null}default:return null}}function r3n(t,e,n){var r,s,o,h,d,w,k,_;if(n.gc()==0)return!1;if(d=(po(),u(e,66).Oj()),o=d?n:new Wv(n.gc()),W0(t.e,e)){if(e.hi())for(k=n.Kc();k.Ob();)w=k.Pb(),xq(t,e,w,_t(e,99)&&(u(e,18).Bb&co)!=0)||(s=Jd(e,w),o.Hc(s)||o.Fc(s));else if(!d)for(k=n.Kc();k.Ob();)w=k.Pb(),s=Jd(e,w),o.Fc(s)}else{if(n.gc()>1)throw et(new Bn(iO));for(_=gu(t.e.Tg(),e),r=u(t.g,119),h=0;h<t.i;++h)if(s=r[h],_.rl(s.ak())){if(n.Hc(d?s:s.dd()))return!1;for(k=n.Kc();k.Ob();)w=k.Pb(),u(l4(t,h,d?u(w,72):Jd(e,w)),72);return!0}d||(s=Jd(e,n.Kc().Pb()),o.Fc(s))}return vs(t,o)}function i3n(t,e){var n,r,s,o,h,d,w,k,_;for(_=new hs,d=(k=new T1(t.c).a.vc().Kc(),new _1(k));d.a.Ob();)o=(s=u(d.a.Pb(),42),u(s.dd(),458)),o.b==0&&Cs(_,o,_.c.b,_.c);for(;_.b!=0;)for(o=u(_.b==0?null:(sr(_.b!=0),bh(_,_.a.a)),458),o.a==null&&(o.a=0),r=new S(o.d);r.a<r.c.c.length;)n=u(Q(r),654),n.b.a==null?n.b.a=Zt(o.a)+n.a:e.o==(D1(),zb)?n.b.a=b.Math.min(Zt(n.b.a),Zt(o.a)+n.a):n.b.a=b.Math.max(Zt(n.b.a),Zt(o.a)+n.a),--n.b.b,n.b.b==0&&pi(_,n.b);for(h=(w=new T1(t.c).a.vc().Kc(),new _1(w));h.a.Ob();)o=(s=u(h.a.Pb(),42),u(s.dd(),458)),e.i[o.c.p]=o.a}function Sc(){Sc=X,jS=new ns(oxt),new Ks("DEPTH",ve(0)),xG=new Ks("FAN",ve(0)),Ume=new Ks(_1e,ve(0)),Wy=new Ks("ROOT",(Rn(),!1)),Sht=new Ks("LEFTNEIGHBOR",null),Wme=new Ks("RIGHTNEIGHBOR",null),kG=new Ks("LEFTSIBLING",null),Aht=new Ks("RIGHTSIBLING",null),Cht=new Ks("DUMMY",!1),new Ks("LEVEL",ve(0)),X_t=new Ks("REMOVABLE_EDGES",new hs),Lht=new Ks("XCOOR",ve(0)),Q_t=new Ks("YCOOR",ve(0)),EG=new Ks("LEVELHEIGHT",0),RS=new Ks("ID",""),TG=new Ks("POSITION",ve(0)),Jg=new Ks("PRELIM",0),E9=new Ks("MODIFIER",0),BS=new ns(Ffe),jO=new ns(Bfe)}function s3n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G;for(_=n+e.c.c.a,q=new S(e.j);q.a<q.c.c.length;){if(B=u(Q(q),11),s=cc(ct(ot(sa,1),re,8,0,[B.i.n,B.n,B.a])),e.k==(Yn(),Jc)&&(d=u(K(B,(oe(),Bi)),11),s.a=cc(ct(ot(sa,1),re,8,0,[d.i.n,d.n,d.a])).a,e.n.a=s.a),h=new $e(0,s.b),B.j==(ye(),Wn))h.a=_;else if(B.j==jn)h.a=n;else continue;if(G=b.Math.abs(s.a-h.a),!(G<=r&&!u1n(e)))for(o=B.g.c.length+B.e.c.length>1,k=new N1(B.b);sc(k.a)||sc(k.b);)w=u(sc(k.a)?Q(k.a):Q(k.b),17),M=w.c==B?w.d:w.c,b.Math.abs(cc(ct(ot(sa,1),re,8,0,[M.i.n,M.n,M.a])).b-h.b)>1&&Qbn(t,w,h,o,B)}}function a3n(t){var e,n,r,s,o,h;if(s=new Sa(t.e,0),r=new Sa(t.a,0),t.d)for(n=0;n<t.b;n++)sr(s.b<s.d.gc()),s.d.Xb(s.c=s.b++);else for(n=0;n<t.b-1;n++)sr(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Ol(s);for(e=Zt((sr(s.b<s.d.gc()),ke(s.d.Xb(s.c=s.b++))));t.f-e>wct;){for(o=e,h=0;b.Math.abs(e-o)<wct;)++h,e=Zt((sr(s.b<s.d.gc()),ke(s.d.Xb(s.c=s.b++)))),sr(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);h<t.b&&(sr(s.b>0),s.a.Xb(s.c=--s.b),Emn(t,t.b-h,o,r,s),sr(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),sr(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(n=0;n<t.b-1;n++)sr(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Ol(s);t.d=!0,t.c=!0}function Vi(){Vi=X,dLt=(n2t(),Mc).b,c5e=u(At(Kt(Mc.b),0),34),Kb=u(At(Kt(Mc.b),1),34),o5e=u(At(Kt(Mc.b),2),34),l5=Mc.bb,u(At(Kt(Mc.bb),0),34),u(At(Kt(Mc.bb),1),34),h5=Mc.fb,oA=u(At(Kt(Mc.fb),0),34),u(At(Kt(Mc.fb),1),34),u(At(Kt(Mc.fb),2),18),Hw=Mc.qb,y5e=u(At(Kt(Mc.qb),0),34),u(At(Kt(Mc.qb),1),18),u(At(Kt(Mc.qb),2),18),vP=u(At(Kt(Mc.qb),3),34),wP=u(At(Kt(Mc.qb),4),34),uA=u(At(Kt(Mc.qb),6),34),cA=u(At(Kt(Mc.qb),5),18),u5e=Mc.j,l5e=Mc.k,h5e=Mc.q,f5e=Mc.w,d5e=Mc.B,g5e=Mc.A,p5e=Mc.C,b5e=Mc.D,v5e=Mc._,w5e=Mc.cb,m5e=Mc.hb}function o3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(M=n.Kc();M.Ob();){if(_=u(M.Pb(),11),d=_.j==(ye(),Nn)||_.j==Ir,q=0,d){if(B=u(K(_,(oe(),ul)),10),!B)continue;q+=jvn(t,r,_,B)}else{for(k=new S(_.g);k.a<k.c.c.length;)if(w=u(Q(k),17),s=w.d,s.i.c==e.c){de(t.a,_);continue t}else q+=t.g[s.p];for(h=new S(_.e);h.a<h.c.c.length;)if(o=u(Q(h),17),s=o.c,s.i.c==e.c){de(t.a,_);continue t}else q-=t.g[s.p]}_.e.c.length+_.g.c.length>0?(t.f[_.p]=q/(_.e.c.length+_.g.c.length),t.c=b.Math.min(t.c,t.f[_.p]),t.b=b.Math.max(t.b,t.f[_.p])):d&&(t.f[_.p]=q)}}function c3n(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}function u3n(t,e,n){var r,s,o,h;for(Dr(n,"Graph transformation ("+t.a+")",1),h=Hv(e.a),o=new S(e.b);o.a<o.c.c.length;)s=u(Q(o),29),Hs(h,s.a);if(r=u(K(e,(Te(),FTt)),419),r==(SD(),FV))switch(u(K(e,Jl),103).g){case 2:P_(e,h);break;case 3:nC(e,h);break;case 4:t.a==(H8(),wO)?(nC(e,h),_rt(e,h)):(_rt(e,h),nC(e,h))}else if(t.a==(H8(),wO))switch(u(K(e,Jl),103).g){case 2:P_(e,h),_rt(e,h);break;case 3:nC(e,h),P_(e,h);break;case 4:P_(e,h),nC(e,h)}else switch(u(K(e,Jl),103).g){case 2:P_(e,h),_rt(e,h);break;case 3:P_(e,h),nC(e,h);break;case 4:nC(e,h),P_(e,h)}br(n)}function l3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W;for(k=new M0,_=new M0,G=new M0,W=new M0,w=Zt(ke(K(e,(Te(),Fw)))),o=Zt(ke(K(e,Af))),d=new S(n);d.a<d.c.c.length;)if(h=u(Q(d),10),M=u(K(h,(oe(),yc)),61),M==(ye(),Nn))for(_.a.zc(h,_),s=new pr(xr(Jo(h).a.Kc(),new H));ti(s);)r=u(qr(s),17),Ys(k,r.c.i);else if(M==Ir)for(W.a.zc(h,W),s=new pr(xr(Jo(h).a.Kc(),new H));ti(s);)r=u(qr(s),17),Ys(G,r.c.i);k.a.gc()!=0&&(B=new Vnt(2,o),q=g6t(B,e,k,_,-w-e.c.b),q>0&&(t.a=w+(q-1)*o,e.c.b+=t.a,e.f.b+=t.a)),G.a.gc()!=0&&(B=new Vnt(1,o),q=g6t(B,e,G,W,e.f.b+w-e.c.b),q>0&&(e.f.b+=w+(q-1)*o))}function C7(t,e){var n,r,s,o;o=t.F,e==null?(t.F=null,J8(t,null)):(t.F=(Pn(e),e),r=pd(e,Pu(60)),r!=-1?(s=e.substr(0,r),pd(e,Pu(46))==-1&&!ln(s,lx)&&!ln(s,QC)&&!ln(s,CH)&&!ln(s,ZC)&&!ln(s,JC)&&!ln(s,tS)&&!ln(s,eS)&&!ln(s,nS)&&(s=v0e),n=pj(e,Pu(62)),n!=-1&&(s+=""+e.substr(n+1)),J8(t,s)):(s=e,pd(e,Pu(46))==-1&&(r=pd(e,Pu(91)),r!=-1&&(s=e.substr(0,r)),!ln(s,lx)&&!ln(s,QC)&&!ln(s,CH)&&!ln(s,ZC)&&!ln(s,JC)&&!ln(s,tS)&&!ln(s,eS)&&!ln(s,nS)?(s=v0e,r!=-1&&(s+=""+e.substr(r))):s=e),J8(t,s),s==e&&(t.F=t.D))),t.Db&4&&!(t.Db&1)&&Oi(t,new la(t,1,5,o,e))}function h3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;if(W=e.b.c.length,!(W<3)){for(q=Pt(Fr,ui,25,W,15,1),M=0,_=new S(e.b);_.a<_.c.c.length;)k=u(Q(_),29),q[M++]=k.a.c.length;for(B=new Sa(e.b,2),r=1;r<W-1;r++)for(n=(sr(B.b<B.d.gc()),u(B.d.Xb(B.c=B.b++),29)),G=new S(n.a),o=0,d=0,w=0;w<q[r+1];w++)if(St=u(Q(G),10),w==q[r+1]-1||N4t(t,St,r+1,r)){for(h=q[r]-1,N4t(t,St,r+1,r)&&(h=t.c.e[u(u(u(Fe(t.c.b,St.p),15).Xb(0),46).a,10).p]);d<=w;){if(Mt=u(Fe(n.a,d),10),!N4t(t,Mt,r+1,r))for(bt=u(Fe(t.c.b,Mt.p),15).Kc();bt.Ob();)Z=u(bt.Pb(),46),s=t.c.e[u(Z.a,10).p],(s<o||s>h)&&Ys(t.b,u(Z.b,17));++d}o=h}}}function h6t(t,e){var n;if(e==null||ln(e,Nu)||e.length==0&&t.k!=(Hg(),$x))return null;switch(t.k.g){case 1:return Nz(e,H7)?(Rn(),X7):Nz(e,Oct)?(Rn(),Ob):null;case 2:try{return ve(Kl(e,qa,Di))}catch(r){if(r=as(r),_t(r,127))return null;throw et(r)}case 4:try{return ly(e)}catch(r){if(r=as(r),_t(r,127))return null;throw et(r)}case 3:return e;case 5:return pre(t),xoe(t,e);case 6:return pre(t),x2n(t,t.a,e);case 7:try{return n=Opn(t),n.Jf(e),n}catch(r){if(r=as(r),_t(r,32))return null;throw et(r)}default:throw et(new Xo("Invalid type set for this layout option."))}}function f3n(t){$_();var e,n,r,s,o,h,d;for(d=new Uzt,n=new S(t);n.a<n.c.c.length;)e=u(Q(n),140),(!d.b||e.c>=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 r=new jz((Y8(),_w)),uD(t,E2e,new Al(ct(ot(vO,1),De,369,0,[r]))),h=new jz(Iy),uD(t,k2e,new Al(ct(ot(vO,1),De,369,0,[h]))),s=new jz(Dy),uD(t,x2e,new Al(ct(ot(vO,1),De,369,0,[s]))),o=new jz($4),uD(t,y2e,new Al(ct(ot(vO,1),De,369,0,[o]))),Yst(r.c,_w),Yst(s.c,Dy),Yst(o.c,$4),Yst(h.c,Iy),d.a.c=Pt(ir,De,1,0,5,1),Hs(d.a,r.c),Hs(d.a,cb(s.c)),Hs(d.a,o.c),Hs(d.a,cb(h.c)),d}function f6t(t){var e;switch(t.d){case 1:{if(t.hj())return t.o!=-2;break}case 2:{if(t.hj())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.gj(),t.p){case 0:return e!=null&&je(Be(e))!=a_(t.k,0);case 1:return e!=null&&u(e,217).a!=$r(t.k)<<24>>24;case 2:return e!=null&&u(e,172).a!=($r(t.k)&Ps);case 6:return e!=null&&a_(u(e,162).a,t.k);case 5:return e!=null&&u(e,19).a!=$r(t.k);case 7:return e!=null&&u(e,184).a!=$r(t.k)<<16>>16;case 3:return e!=null&&Zt(ke(e))!=t.j;case 4:return e!=null&&u(e,155).a!=t.j;default:return e==null?t.n!=null:!Pi(e,t.n)}}function CI(t,e,n){var r,s,o,h;return t.Fk()&&t.Ek()&&(h=Fnt(t,u(n,56)),Ut(h)!==Ut(n))?(t.Oi(e),t.Ui(e,ute(t,e,h)),t.rk()&&(o=(s=u(n,49),t.Dk()?t.Bk()?s.ih(t.b,vo(u(wn(Su(t.b),t.aj()),18)).n,u(wn(Su(t.b),t.aj()).Yj(),26).Bj(),null):s.ih(t.b,rs(s.Tg(),vo(u(wn(Su(t.b),t.aj()),18))),null,null):s.ih(t.b,-1-t.aj(),null,null)),!u(h,49).eh()&&(o=(r=u(h,49),t.Dk()?t.Bk()?r.gh(t.b,vo(u(wn(Su(t.b),t.aj()),18)).n,u(wn(Su(t.b),t.aj()).Yj(),26).Bj(),o):r.gh(t.b,rs(r.Tg(),vo(u(wn(Su(t.b),t.aj()),18))),null,o):r.gh(t.b,-1-t.aj(),null,o))),o&&o.Fi()),Ll(t.b)&&t.$i(t.Zi(9,n,h,e,!1)),h):n}function Ole(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;for(_=Zt(ke(K(t,(Te(),Nw)))),r=Zt(ke(K(t,h_t))),B=new il,ne(B,Nw,_+r),k=e,bt=k.d,W=k.c.i,Mt=k.d.i,Z=Q2t(W.c),St=Q2t(Mt.c),s=new ge,M=Z;M<=St;M++)d=new G0(t),A0(d,(Yn(),ha)),ne(d,(oe(),Bi),k),ne(d,xs,(ka(),eu)),ne(d,oG,B),q=u(Fe(t.b,M),29),M==Z?oy(d,q.a.c.length-n,q):Bo(d,q),jt=Zt(ke(K(k,Xg))),jt<0&&(jt=0,ne(k,Xg,jt)),d.o.b=jt,G=b.Math.floor(jt/2),h=new zc,Qs(h,(ye(),jn)),ac(h,d),h.n.b=G,w=new zc,Qs(w,Wn),ac(w,d),w.n.b=G,ya(k,h),o=new $v,Vo(o,k),ne(o,zo,null),Wa(o,w),ya(o,bt),p1n(d,k,o),s.c[s.c.length]=o,k=o;return s}function Cat(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(w=u(qg(t,(ye(),jn)).Kc().Pb(),11).e,q=u(qg(t,Wn).Kc().Pb(),11).g,d=w.c.length,St=I1(u(Fe(t.j,0),11));d-- >0;){for(W=(An(0,w.c.length),u(w.c[0],17)),s=(An(0,q.c.length),u(q.c[0],17)),Mt=s.d.e,o=Zo(Mt,s,0),min(W,s.d,o),Wa(s,null),ya(s,null),G=W.a,e&&pi(G,new No(St)),r=gi(s.a,0);r.b!=r.d.c;)n=u(di(r),8),pi(G,new No(n));for(bt=W.b,B=new S(s.b);B.a<B.c.c.length;)M=u(Q(B),70),bt.c[bt.c.length]=M;if(Z=u(K(W,(Te(),zo)),74),h=u(K(s,zo),74),h)for(Z||(Z=new Hu,ne(W,zo,Z)),_=gi(h,0);_.b!=_.d.c;)k=u(di(_),8),pi(Z,new No(k))}}function Ple(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(n=u(Lo(t.b,e),124),w=u(u(ji(t.r,e),21),84),w.dc()){n.n.b=0,n.n.c=0;return}for(k=t.u.Hc((cl(),ng)),h=0,d=w.Kc(),_=null,M=0,B=0;d.Ob();)r=u(d.Pb(),111),s=Zt(ke(r.b.We((bj(),tV)))),o=r.b.rf().a,t.A.Hc((Fl(),Wb))&&due(t,e),_?(q=B+_.d.c+t.w+r.d.b,h=b.Math.max(h,(A1(),xf(H1),b.Math.abs(M-s)<=H1||M==s||isNaN(M)&&isNaN(s)?0:q/(s-M)))):t.C&&t.C.b>0&&(h=b.Math.max(h,one(t.C.b+r.d.b,s))),_=r,M=s,B=o;t.C&&t.C.c>0&&(q=B+t.C.c,k&&(q+=_.d.c),h=b.Math.max(h,(A1(),xf(H1),b.Math.abs(M-1)<=H1||M==1||isNaN(M)&&isNaN(1)?0:q/(1-M)))),n.n.b=0,n.a.a=h}function Nle(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(n=u(Lo(t.b,e),124),w=u(u(ji(t.r,e),21),84),w.dc()){n.n.d=0,n.n.a=0;return}for(k=t.u.Hc((cl(),ng)),h=0,t.A.Hc((Fl(),Wb))&&gue(t,e),d=w.Kc(),_=null,B=0,M=0;d.Ob();)r=u(d.Pb(),111),o=Zt(ke(r.b.We((bj(),tV)))),s=r.b.rf().b,_?(q=M+_.d.a+t.w+r.d.d,h=b.Math.max(h,(A1(),xf(H1),b.Math.abs(B-o)<=H1||B==o||isNaN(B)&&isNaN(o)?0:q/(o-B)))):t.C&&t.C.d>0&&(h=b.Math.max(h,one(t.C.d+r.d.d,o))),_=r,B=o,M=s;t.C&&t.C.a>0&&(q=M+t.C.a,k&&(q+=_.d.a),h=b.Math.max(h,(A1(),xf(H1),b.Math.abs(B-1)<=H1||B==1||isNaN(B)&&isNaN(1)?0:q/(1-B)))),n.n.d=0,n.a.b=h}function Fle(t,e,n){var r,s,o,h,d,w;for(this.g=t,d=e.d.length,w=n.d.length,this.d=Pt(h0,Gg,10,d+w,0,1),h=0;h<d;h++)this.d[h]=e.d[h];for(o=0;o<w;o++)this.d[d+o]=n.d[o];if(e.e){if(this.e=YM(e.e),this.e.Mc(n),n.e)for(s=n.e.Kc();s.Ob();)r=u(s.Pb(),233),r!=e&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=YM(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Jrt(this,this.f/this.a):L1(e.g,e.d[0]).a!=null&&L1(n.g,n.d[0]).a!=null?Jrt(this,(Zt(L1(e.g,e.d[0]).a)+Zt(L1(n.g,n.d[0]).a))/2):L1(e.g,e.d[0]).a!=null?Jrt(this,L1(e.g,e.d[0]).a):L1(n.g,n.d[0]).a!=null&&Jrt(this,L1(n.g,n.d[0]).a)}function d3n(t,e){var n,r,s,o,h,d,w,k,_,M;for(t.a=new VYt(qon(WS)),r=new S(e.a);r.a<r.c.c.length;){for(n=u(Q(r),841),d=new Xit(ct(ot(Yut,1),De,81,0,[])),de(t.a.a,d),k=new S(n.d);k.a<k.c.c.length;)w=u(Q(k),110),_=new _bt(t,w),p6t(_,u(K(n.c,(oe(),Py)),21)),Il(t.g,n)||(Ni(t.g,n,new $e(w.c,w.d)),Ni(t.f,n,_)),de(t.a.b,_),Ert(d,_);for(h=new S(n.b);h.a<h.c.c.length;)o=u(Q(h),594),_=new _bt(t,o.kf()),Ni(t.b,o,new Ca(d,_)),p6t(_,u(K(n.c,(oe(),Py)),21)),o.hf()&&(M=new C3t(t,o.hf(),1),p6t(M,u(K(n.c,Py),21)),s=new Xit(ct(ot(Yut,1),De,81,0,[])),Ert(s,M),un(t.c,o.gf(),new Ca(d,M)))}return t.a}function Ble(t){var e;this.a=t,e=(Yn(),ct(ot(elt,1),ue,267,0,[Ws,ha,Fs,Jc,Bl,W1])).length,this.b=Z2(Qht,[re,Dkt],[593,146],0,[e,e],2),this.c=Z2(Qht,[re,Dkt],[593,146],0,[e,e],2),urt(this,Ws,(Te(),Fw),J4),W_(this,Ws,ha,Nw,$b),iD(this,Ws,Jc,Nw),iD(this,Ws,Fs,Nw),W_(this,Ws,Bl,Fw,J4),urt(this,ha,Af,Z4),iD(this,ha,Jc,Af),iD(this,ha,Fs,Af),W_(this,ha,Bl,Nw,$b),hUt(this,Jc,Af),iD(this,Jc,Fs,Af),iD(this,Jc,Bl,tht),hUt(this,Fs,CS),W_(this,Fs,Bl,x9,y9),urt(this,Bl,Af,Af),urt(this,W1,Af,Z4),W_(this,W1,Ws,Nw,$b),W_(this,W1,Bl,Nw,$b),W_(this,W1,ha,Nw,$b)}function g3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(h=n.ak(),_t(h,99)&&u(h,18).Bb&co&&(B=u(n.dd(),49),W=Zp(t.e,B),W!=B)){if(_=Jd(h,W),f_(t,e,Sst(t,e,_)),M=null,Ll(t.e)&&(r=T4((Yu(),Fa),t.e.Tg(),h),r!=wn(t.e.Tg(),t.c))){for(Z=gu(t.e.Tg(),h),d=0,o=u(t.g,119),w=0;w<e;++w)s=o[w],Z.rl(s.ak())&&++d;M=new Art(t.e,9,r,B,W,d,!1),M.Ei(new R0(t.e,9,t.c,n,_,e,!1))}return G=u(h,18),q=vo(G),q?(M=B.ih(t.e,rs(B.Tg(),q),null,M),M=u(W,49).gh(t.e,rs(W.Tg(),q),null,M)):G.Bb&Ac&&(k=-1-rs(t.e.Tg(),G),M=B.ih(t.e,k,null,null),!u(W,49).eh()&&(M=u(W,49).gh(t.e,k,null,M))),M&&M.Fi(),_}return n}function p3n(t){var e,n,r,s,o,h,d,w;for(o=new S(t.a.b);o.a<o.c.c.length;)s=u(Q(o),81),s.b.c=s.g.c,s.b.d=s.g.d;for(w=new $e(ms,ms),e=new $e(Rs,Rs),r=new S(t.a.b);r.a<r.c.c.length;)n=u(Q(r),81),w.a=b.Math.min(w.a,n.g.c),w.b=b.Math.min(w.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);for(d=Qj(t.c).a.nc();d.Ob();)h=u(d.Pb(),46),n=u(h.b,81),w.a=b.Math.min(w.a,n.g.c),w.b=b.Math.min(w.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);t.d=xj(new $e(w.a,w.b)),t.e=ba(new $e(e.a,e.b),w),t.a.a.c=Pt(ir,De,1,0,5,1),t.a.b.c=Pt(ir,De,1,0,5,1)}function b3n(t){var e,n,r;for(a4(A2,ct(ot(j4,1),De,130,0,[new Tp])),n=new h6(t),r=0;r<n.a.length;++r)e=Xm(n,r).je().a,ln(e,"layered")?a4(A2,ct(ot(j4,1),De,130,0,[new UJ])):ln(e,"force")?a4(A2,ct(ot(j4,1),De,130,0,[new IJ])):ln(e,"stress")?a4(A2,ct(ot(j4,1),De,130,0,[new OJ])):ln(e,"mrtree")?a4(A2,ct(ot(j4,1),De,130,0,[new M3])):ln(e,"radial")?a4(A2,ct(ot(j4,1),De,130,0,[new ZJ])):ln(e,"disco")?a4(A2,ct(ot(j4,1),De,130,0,[new YL,new DJ])):ln(e,"sporeOverlap")||ln(e,"sporeCompaction")?a4(A2,ct(ot(j4,1),De,130,0,[new jB])):ln(e,"rectpacking")&&a4(A2,ct(ot(j4,1),De,130,0,[new zB]))}function Rle(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;if(B=new No(t.o),bt=e.a/B.a,d=e.b/B.b,W=e.a-B.a,o=e.b-B.b,n)for(s=Ut(K(t,(Te(),xs)))===Ut((ka(),eu)),G=new S(t.j);G.a<G.c.c.length;)switch(q=u(Q(G),11),q.j.g){case 1:s||(q.n.a*=bt);break;case 2:q.n.a+=W,s||(q.n.b*=d);break;case 3:s||(q.n.a*=bt),q.n.b+=o;break;case 4:s||(q.n.b*=d)}for(k=new S(t.b);k.a<k.c.c.length;)w=u(Q(k),70),_=w.n.a+w.o.a/2,M=w.n.b+w.o.b/2,Z=_/B.a,h=M/B.b,Z+h>=1&&(Z-h>0&&M>=0?(w.n.a+=W,w.n.b+=o*h):Z-h<0&&_>=0&&(w.n.a+=W*Z,w.n.b+=o));t.o.a=e.a,t.o.b=e.b,ne(t,(Te(),Rb),(Fl(),r=u(Kf(tA),9),new hh(r,u(bf(r,r.length),9),0)))}function v3n(t,e,n,r,s,o){var h;if(!(e==null||!Hit(e,UAt,WAt)))throw et(new Bn("invalid scheme: "+e));if(!t&&!(n!=null&&pd(n,Pu(35))==-1&&n.length>0&&(Xr(0,n.length),n.charCodeAt(0)!=47)))throw et(new Bn("invalid opaquePart: "+n));if(t&&!(e!=null&&wM(sU,e.toLowerCase()))&&!(n==null||!Hit(n,iA,sA)))throw et(new Bn(i0e+n));if(t&&e!=null&&wM(sU,e.toLowerCase())&&!ldn(n))throw et(new Bn(i0e+n));if(!gln(r))throw et(new Bn("invalid device: "+r));if(!oun(s))throw h=s==null?"invalid segments: null":"invalid segment: "+run(s),et(new Bn(h));if(!(o==null||pd(o,Pu(35))==-1))throw et(new Bn("invalid query: "+o))}function w3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(Dr(e,"Calculate Graph Size",1),e.n&&t&&wf(e,mf(t),(Nl(),rh)),d=B7,w=B7,o=Fkt,h=Fkt,M=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));M.e!=M.i.gc();)k=u(Tr(M),33),G=k.i,W=k.j,bt=k.g,r=k.f,s=u(He(k,(Ei(),QO)),142),d=b.Math.min(d,G-s.b),w=b.Math.min(w,W-s.d),o=b.Math.max(o,G+bt+s.c),h=b.Math.max(h,W+r+s.a);for(q=u(He(t,(Ei(),Vb)),116),B=new $e(d-q.b,w-q.d),_=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));_.e!=_.i.gc();)k=u(Tr(_),33),Du(k,k.i-B.a),Iu(k,k.j-B.b);Z=o-d+(q.b+q.c),n=h-w+(q.d+q.a),Xv(t,Z),Yv(t,n),e.n&&t&&wf(e,mf(t),(Nl(),rh))}function jle(t){var e,n,r,s,o,h,d,w,k,_;for(r=new ge,h=new S(t.e.a);h.a<h.c.c.length;){for(s=u(Q(h),121),_=0,s.k.c=Pt(ir,De,1,0,5,1),n=new S(c4(s));n.a<n.c.c.length;)e=u(Q(n),213),e.f&&(de(s.k,e),++_);_==1&&(r.c[r.c.length]=s)}for(o=new S(r);o.a<o.c.c.length;)for(s=u(Q(o),121);s.k.c.length==1;){for(k=u(Q(new S(s.k)),213),t.b[k.c]=k.g,d=k.d,w=k.e,n=new S(c4(s));n.a<n.c.c.length;)e=u(Q(n),213),Pi(e,k)||(e.f?d==e.d||w==e.e?t.b[k.c]-=t.b[e.c]-e.g:t.b[k.c]+=t.b[e.c]-e.g:s==d?e.d==s?t.b[k.c]+=e.g:t.b[k.c]-=e.g:e.d==s?t.b[k.c]-=e.g:t.b[k.c]+=e.g);Au(d.k,k),Au(w.k,k),d==s?s=k.e:s=k.d}}function d6t(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;if(e==null||e.length==0)return null;if(o=u(Uc(t.f,e),23),!o){for(s=(q=new T1(t.d).a.vc().Kc(),new _1(q));s.a.Ob();)if(n=(h=u(s.a.Pb(),42),u(h.dd(),23)),d=n.f,G=e.length,ln(d.substr(d.length-G,G),e)&&(e.length==d.length||Oa(d,d.length-e.length-1)==46)){if(o)return null;o=n}if(!o){for(r=(B=new T1(t.d).a.vc().Kc(),new _1(B));r.a.Ob();)if(n=(h=u(r.a.Pb(),42),u(h.dd(),23)),M=n.g,M!=null){for(w=M,k=0,_=w.length;k<_;++k)if(d=w[k],G=e.length,ln(d.substr(d.length-G,G),e)&&(e.length==d.length||Oa(d,d.length-e.length-1)==46)){if(o)return null;o=n}}}o&&Fo(t.f,e,o)}return o}function m3n(t,e){var n,r,s,o,h;for(n=new Lm,h=!1,o=0;o<e.length;o++){if(r=(Xr(o,e.length),e.charCodeAt(o)),r==32){for($z(t,n,0),n.a+=" ",$z(t,n,0);o+1<e.length&&(Xr(o+1,e.length),e.charCodeAt(o+1)==32);)++o;continue}if(h){r==39?o+1<e.length&&(Xr(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+=String.fromCharCode(r),++o):h=!1:n.a+=String.fromCharCode(r);continue}if(pd("GyMLdkHmsSEcDahKzZv",Pu(r))>0){$z(t,n,0),n.a+=String.fromCharCode(r),s=rhn(e,o),$z(t,n,s),o+=s-1;continue}r==39?o+1<e.length&&(Xr(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+="'",++o):h=!0:n.a+=String.fromCharCode(r)}$z(t,n,0),Pdn(t)}function y3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;if(Dr(n,"Network simplex layering",1),t.b=e,bt=u(K(e,(Te(),SS)),19).a*4,Z=t.b.a,Z.c.length<1){br(n);return}for(o=ywn(t,Z),W=null,s=gi(o,0);s.b!=s.d.c;){for(r=u(di(s),15),d=bt*Ds(b.Math.sqrt(r.gc())),h=Bwn(r),cat(Xpt(OKe(Qpt(mnt(h),d),W),!0),Kc(n,1)),B=t.b.b,G=new S(h.a);G.a<G.c.c.length;){for(q=u(Q(G),121);B.c.length<=q.e;)$m(B,B.c.length,new Oh(t.b));_=u(q.f,10),Bo(_,u(Fe(B,q.e),29))}if(o.b>1)for(W=Pt(Fr,ui,25,t.b.b.c.length,15,1),M=0,k=new S(t.b.b);k.a<k.c.c.length;)w=u(Q(k),29),W[M++]=w.a.c.length}Z.c=Pt(ir,De,1,0,5,1),t.a=null,t.b=null,t.c=null,br(n)}function $le(t){var e,n,r,s,o,h,d;for(e=0,o=new S(t.b.a);o.a<o.c.c.length;)r=u(Q(o),189),r.b=0,r.c=0;for(_ae(t,0),Vit(t,t.g),hq(t.c),Gpt(t.c),n=(ko(),Wh),kI(Het(_4(kI(Het(_4(kI(_4(t.c,n)),Vre(n)))),n))),_4(t.c,Wh),Bit(t,t.g),dae(t,0),mle(t,0),ice(t,1),_ae(t,1),Vit(t,t.d),hq(t.c),h=new S(t.b.a);h.a<h.c.c.length;)r=u(Q(h),189),e+=b.Math.abs(r.c);for(d=new S(t.b.a);d.a<d.c.c.length;)r=u(Q(d),189),r.b=0,r.c=0;for(n=tg,kI(Het(_4(kI(Het(_4(kI(Gpt(_4(t.c,n))),Vre(n)))),n))),_4(t.c,Wh),Bit(t,t.d),dae(t,1),mle(t,1),ice(t,0),Gpt(t.c),s=new S(t.b.a);s.a<s.c.c.length;)r=u(Q(s),189),e+=b.Math.abs(r.c);return e}function zle(t,e){var n,r,s,o,h,d,w,k,_;if(k=e,!(k.b==null||t.b==null)){for(v4(t),TC(t),v4(k),TC(k),n=Pt(Fr,ui,25,t.b.length+k.b.length,15,1),_=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],w=k.b[h+1],o<d)r+=2;else if(o>=d&&s<=w)d<=s&&o<=w?(n[_++]=s,n[_++]=o,r+=2):d<=s?(n[_++]=s,n[_++]=w,t.b[r]=w+1,h+=2):o<=w?(n[_++]=d,n[_++]=o,r+=2):(n[_++]=d,n[_++]=w,t.b[r]=w+1);else if(w<s)h+=2;else throw et(new ic("Token#intersectRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] & ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[_++]=t.b[r++],n[_++]=t.b[r++];t.b=Pt(Fr,ui,25,_,15,1),qc(n,0,t.b,0,_)}}function x3n(t){var e,n,r,s,o,h,d;for(e=new ge,t.g=new ge,t.d=new ge,h=new db(new kg(t.f.b).a);h.b;)o=Kv(h),de(e,u(u(o.dd(),46).b,81)),Bp(u(o.cd(),594).gf())?de(t.d,u(o.dd(),46)):de(t.g,u(o.dd(),46));for(Vit(t,t.d),Vit(t,t.g),t.c=new Eoe(t.b),NKe(t.c,(l2t(),p2e)),Bit(t,t.d),Bit(t,t.g),Hs(e,t.c.a.b),t.e=new $e(ms,ms),t.a=new $e(Rs,Rs),r=new S(e);r.a<r.c.c.length;)n=u(Q(r),81),t.e.a=b.Math.min(t.e.a,n.g.c),t.e.b=b.Math.min(t.e.b,n.g.d),t.a.a=b.Math.max(t.a.a,n.g.c+n.g.b),t.a.b=b.Math.max(t.a.b,n.g.d+n.g.a);Jpt(t.c,new w1),d=0;do s=$le(t),++d;while((d<2||s>s2)&&d<10);Jpt(t.c,new mp),$le(t),oen(t.c),p3n(t.f)}function k3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(je(Be(K(n,(Te(),$y)))))for(d=new S(n.j);d.a<d.c.c.length;)for(h=u(Q(d),11),B=xd(h.g),k=B,_=0,M=k.length;_<M;++_)w=k[_],o=w.d.i==n,s=o&&je(Be(K(w,Bb))),s&&(G=w.c,q=u(cr(t.b,G),10),q||(q=SI(G,(ka(),Q1),G.j,-1,null,null,G.o,u(K(e,Jl),103),e),ne(q,(oe(),Bi),G),Ni(t.b,G,q),de(e.a,q)),Z=w.d,W=u(cr(t.b,Z),10),W||(W=SI(Z,(ka(),Q1),Z.j,1,null,null,Z.o,u(K(e,Jl),103),e),ne(W,(oe(),Bi),Z),Ni(t.b,Z,W),de(e.a,W)),r=Prt(w),Wa(r,u(Fe(q.j,0),11)),ya(r,u(Fe(W.j,0),11)),un(t.a,w,new Cj(r,e,(xo(),lu))),u(K(e,(oe(),tu)),21).Fc((Eo(),Th)))}function E3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;for(Dr(n,"Label dummy switching",1),r=u(K(e,(Te(),JV)),227),Non(e),s=p2n(e,r),t.a=Pt(wa,Io,25,e.b.c.length,15,1),d=(sx(),ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4])),_=0,q=d.length;_<q;++_)if(o=d[_],(o==V4||o==H4||o==Oy)&&!u(Gu(s.a,o)?s.b[o.g]:null,15).dc()){Uon(t,e);break}for(w=ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4]),M=0,G=w.length;M<G;++M)o=w[M],o==V4||o==H4||o==Oy||Mue(t,u(Gu(s.a,o)?s.b[o.g]:null,15));for(h=ct(ot(u9,1),ue,227,0,[c9,dS,o9,Oy,V4,H4]),k=0,B=h.length;k<B;++k)o=h[k],(o==V4||o==H4||o==Oy)&&Mue(t,u(Gu(s.a,o)?s.b[o.g]:null,15));t.a=null,br(n)}function T3n(t,e){var n,r,s,o,h,d,w,k,_,M,B;switch(t.k.g){case 1:if(r=u(K(t,(oe(),Bi)),17),n=u(K(r,XEt),74),n?je(Be(K(r,K1)))&&(n=$D(n)):n=new Hu,k=u(K(t,o1),11),k){if(_=cc(ct(ot(sa,1),re,8,0,[k.i.n,k.n,k.a])),e<=_.a)return _.b;Cs(n,_,n.a,n.a.a)}if(M=u(K(t,Uh),11),M){if(B=cc(ct(ot(sa,1),re,8,0,[M.i.n,M.n,M.a])),B.a<=e)return B.b;Cs(n,B,n.c.b,n.c)}if(n.b>=2){for(w=gi(n,0),h=u(di(w),8),d=u(di(w),8);d.a<e&&w.b!=w.d.c;)h=d,d=u(di(w),8);return h.b+(e-h.a)/(d.a-h.a)*(d.b-h.b)}break;case 3:switch(o=u(K(u(Fe(t.j,0),11),(oe(),Bi)),11),s=o.i,o.j.g){case 1:return s.n.b;case 3:return s.n.b+s.o.b}}return a4t(t).b}function _3n(t){var e,n,r,s,o,h,d,w,k,_,M;for(h=new S(t.d.b);h.a<h.c.c.length;)for(o=u(Q(h),29),w=new S(o.a);w.a<w.c.c.length;){if(d=u(Q(w),10),je(Be(K(d,(Te(),kS))))&&!A8(H0(d))){r=u(Tnn(H0(d)),17),_=r.c.i,_==d&&(_=r.d.i),M=new Ca(_,ba(pc(d.n),_.n)),Ni(t.b,d,M);continue}s=new fh(d.n.a-d.d.b,d.n.b-d.d.d,d.o.a+d.d.b+d.d.c,d.o.b+d.d.d+d.d.a),e=XUt(lVt(cVt(uVt(new Lpt,d),s),H2e),t.a),YUt(cYe(See(new Apt,ct(ot(ZH,1),De,57,0,[e])),e),t.a),k=new qtt,Ni(t.e,e,k),n=F0(new pr(xr(Jo(d).a.Kc(),new H)))-F0(new pr(xr(Gs(d).a.Kc(),new H))),n<0?RD(k,!0,(ko(),Wh)):n>0&&RD(k,!0,(ko(),Lf)),d.k==(Yn(),Fs)&&dXt(k),Ni(t.f,d,e)}}function C3n(t,e,n){var r,s,o,h,d,w,k,_,M,B;switch(Dr(n,"Node promotion heuristic",1),t.g=e,I4n(t),t.q=u(K(e,(Te(),Xlt)),260),_=u(K(t.g,QTt),19).a,o=new aF,t.q.g){case 2:case 1:_7(t,o);break;case 3:for(t.q=(m4(),gG),_7(t,o),w=0,d=new S(t.a);d.a<d.c.c.length;)h=u(Q(d),19),w=b.Math.max(w,h.a);w>t.j&&(t.q=OO,_7(t,o));break;case 4:for(t.q=(m4(),gG),_7(t,o),k=0,s=new S(t.b);s.a<s.c.c.length;)r=ke(Q(s)),k=b.Math.max(k,(Pn(r),r));k>t.k&&(t.q=PO,_7(t,o));break;case 6:B=Ds(b.Math.ceil(t.f.length*_/100)),_7(t,new Cp(B));break;case 5:M=Ds(b.Math.ceil(t.d*_/100)),_7(t,new Wf(M));break;default:_7(t,o)}mvn(t,e),br(n)}function qle(t,e,n){var r,s,o,h;this.j=t,this.e=b4t(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(Fe(n,Za(this.o).p),214):null,s=u(K(t,(oe(),tu)),21),this.g=s.Hc((Eo(),Th)),this.b=new ge,this.d=new lie(this.e),h=u(K(this.j,Px),230),this.q=icn(e,h,this.e),this.k=new hQt(this),o=P1(ct(ot(G2e,1),De,225,0,[this,this.d,this.k,this.q])),e==(Qv(),FO)&&!je(Be(K(t,(Te(),By))))?(r=new w4t(this.e),o.c[o.c.length]=r,this.c=new Wwt(r,h,u(this.q,402))):e==FO&&je(Be(K(t,(Te(),By))))?(r=new w4t(this.e),o.c[o.c.length]=r,this.c=new Wee(r,h,u(this.q,402))):this.c=new GVt(e,this),de(o,this.c),Ele(o,this.e),this.s=c5n(this.k)}function S3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;for(M=u(fj((h=gi(new Lp(e).a.d,0),new v6(h))),86),G=M?u(K(M,(Sc(),Sht)),86):null,s=1;M&&G;){for(w=0,jt=0,n=M,r=G,d=0;d<s;d++)n=zrt(n),r=zrt(r),jt+=Zt(ke(K(n,(Sc(),E9)))),w+=Zt(ke(K(r,E9)));if(St=Zt(ke(K(G,(Sc(),Jg)))),Mt=Zt(ke(K(M,Jg))),B=smt(M,G),q=St+w+t.a+B-Mt-jt,0<q){for(k=e,_=0;k&&k!=r;)++_,k=u(K(k,kG),86);if(k)for(bt=q/_,k=e;k!=r;)Z=Zt(ke(K(k,Jg)))+q,ne(k,Jg,Z),W=Zt(ke(K(k,E9)))+q,ne(k,E9,W),q-=bt,k=u(K(k,kG),86);else return}++s,M.d.b==0?M=U5t(new Lp(e),s):M=u(fj((o=gi(new Lp(M).a.d,0),new v6(o))),86),G=M?u(K(M,Sht),86):null}}function Hle(t,e){var n,r,s,o,h,d,w,k,_,M;for(w=!0,s=0,k=t.f[e.p],_=e.o.b+t.n,n=t.c[e.p][2],gh(t.a,k,ve(u(Fe(t.a,k),19).a-1+n)),gh(t.b,k,Zt(ke(Fe(t.b,k)))-_+n*t.e),++k,k>=t.i?(++t.i,de(t.a,ve(1)),de(t.b,_)):(r=t.c[e.p][1],gh(t.a,k,ve(u(Fe(t.a,k),19).a+1-r)),gh(t.b,k,Zt(ke(Fe(t.b,k)))+_-r*t.e)),(t.q==(m4(),OO)&&(u(Fe(t.a,k),19).a>t.j||u(Fe(t.a,k-1),19).a>t.j)||t.q==PO&&(Zt(ke(Fe(t.b,k)))>t.k||Zt(ke(Fe(t.b,k-1)))>t.k))&&(w=!1),h=new pr(xr(Jo(e).a.Kc(),new H));ti(h);)o=u(qr(h),17),d=o.c.i,t.f[d.p]==k&&(M=Hle(t,d),s=s+u(M.a,19).a,w=w&&je(Be(M.b)));return t.f[e.p]=k,s=s+t.c[e.p][0],new Ca(ve(s),(Rn(),!!w))}function g6t(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(M=new Br,h=new ge,hoe(t,n,t.d.fg(),h,M),hoe(t,r,t.d.gg(),h,M),t.b=.2*(W=tce(oc(new En(null,new _n(h,16)),new VQ)),Z=tce(oc(new En(null,new _n(h,16)),new GQ)),b.Math.min(W,Z)),o=0,d=0;d<h.c.length-1;d++)for(w=(An(d,h.c.length),u(h.c[d],112)),G=d+1;G<h.c.length;G++)o+=o6t(t,w,(An(G,h.c.length),u(h.c[G],112)));for(B=u(K(e,(oe(),Px)),230),o>=2&&(bt=kce(h,!0,B),!t.e&&(t.e=new C$t(t)),shn(t.e,bt,h,t.b)),nae(h,B),H3n(h),q=-1,_=new S(h);_.a<_.c.c.length;)k=u(Q(_),112),!(b.Math.abs(k.s-k.c)<Sd)&&(q=b.Math.max(q,k.o),t.d.dg(k,s,t.c));return t.d.a.a.$b(),q+1}function Vle(t,e){var n,r,s,o,h;n=Zt(ke(K(e,(Te(),Af)))),n<2&&ne(e,Af,2),r=u(K(e,Jl),103),r==(ko(),f0)&&ne(e,Jl,_z(e)),s=u(K(e,Mwe),19),s.a==0?ne(e,(oe(),Px),new zit):ne(e,(oe(),Px),new C$(s.a)),o=Be(K(e,TS)),o==null&&ne(e,TS,(Rn(),Ut(K(e,Z0))===Ut((V0(),L9)))),Ts(new En(null,new _n(e.a,16)),new Ms(t)),Ts(oc(new En(null,new _n(e.b,16)),new z5),new ts(t)),h=new Ble(e),ne(e,(oe(),X4),h),y$(t.a),Xd(t.a,(ao(),Nd),u(K(e,Ry),246)),Xd(t.a,g2,u(K(e,ZTt),246)),Xd(t.a,pu,u(K(e,ES),246)),Xd(t.a,Zc,u(K(e,sG),246)),Xd(t.a,Uo,ecn(u(K(e,Z0),218))),eUt(t.a,x5n(e)),ne(e,Rlt,Cq(t.a,e))}function A3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;return B=t.c[e],q=t.c[n],G=u(K(B,(oe(),Ix)),15),!!G&&G.gc()!=0&&G.Hc(q)||(W=B.k!=(Yn(),ha)&&q.k!=ha,Z=u(K(B,Mw),10),bt=u(K(q,Mw),10),Mt=Z!=bt,St=!!Z&&Z!=B||!!bt&&bt!=q,jt=fst(B,(ye(),Nn)),Xt=fst(q,Ir),St=St|(fst(B,Ir)||fst(q,Nn)),fe=St&&Mt||jt||Xt,W&&fe)||B.k==(Yn(),Jc)&&q.k==Ws||q.k==(Yn(),Jc)&&B.k==Ws?!1:(_=t.c[e],o=t.c[n],s=zse(t.e,_,o,(ye(),jn)),w=zse(t.i,_,o,Wn),ybn(t.f,_,o),k=lre(t.b,_,o)+u(s.a,19).a+u(w.a,19).a+t.f.d,d=lre(t.b,o,_)+u(s.b,19).a+u(w.b,19).a+t.f.b,t.a&&(M=u(K(_,Bi),11),h=u(K(o,Bi),11),r=_se(t.g,M,h),k+=u(r.a,19).a,d+=u(r.b,19).a),k>d)}function L3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(n=u(K(t,(Te(),xs)),98),h=t.f,o=t.d,d=h.a+o.b+o.c,w=0-o.d-t.c.b,_=h.b+o.d+o.a-t.c.b,k=new ge,M=new ge,s=new S(e);s.a<s.c.c.length;){switch(r=u(Q(s),10),n.g){case 1:case 2:case 3:Sbn(r);break;case 4:B=u(K(r,Pw),8),q=B?B.a:0,r.n.a=d*Zt(ke(K(r,(oe(),Dw))))-q,gz(r,!0,!1);break;case 5:G=u(K(r,Pw),8),W=G?G.a:0,r.n.a=Zt(ke(K(r,(oe(),Dw))))-W,gz(r,!0,!1),h.a=b.Math.max(h.a,r.n.a+r.o.a/2)}switch(u(K(r,(oe(),yc)),61).g){case 1:r.n.b=w,k.c[k.c.length]=r;break;case 3:r.n.b=_,M.c[M.c.length]=r}}switch(n.g){case 1:case 2:Nre(k,t),Nre(M,t);break;case 3:Fre(k,t),Fre(M,t)}}function M3n(t,e){var n,r,s,o,h,d,w,k,_,M;for(_=new ge,M=new F3,o=null,s=0,r=0;r<e.length;++r)switch(n=e[r],Ycn(o,n)&&(s=m3t(t,M,_,bG,s)),ia(n,(oe(),Mw))&&(o=u(K(n,Mw),10)),n.k.g){case 0:for(w=ebt(P6(uc(n,(ye(),Nn)),new jF));sit(w);)h=u(Amt(w),11),t.d[h.p]=s++,_.c[_.c.length]=h;for(s=m3t(t,M,_,bG,s),k=ebt(P6(uc(n,Ir),new jF));sit(k);)h=u(Amt(k),11),t.d[h.p]=s++,_.c[_.c.length]=h;break;case 3:uc(n,W_t).dc()||(h=u(uc(n,W_t).Xb(0),11),t.d[h.p]=s++,_.c[_.c.length]=h),uc(n,bG).dc()||Up(M,n);break;case 1:for(d=uc(n,(ye(),jn)).Kc();d.Ob();)h=u(d.Pb(),11),t.d[h.p]=s++,_.c[_.c.length]=h;uc(n,Wn).Jc(new UVt(M,n))}return m3t(t,M,_,bG,s),_}function Gle(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;for(k=ms,_=ms,d=Rs,w=Rs,B=new S(e.i);B.a<B.c.c.length;)M=u(Q(B),65),s=u(u(cr(t.g,M.a),46).b,33),S1(s,M.b.c,M.b.d),k=b.Math.min(k,s.i),_=b.Math.min(_,s.j),d=b.Math.max(d,s.i+s.g),w=b.Math.max(w,s.j+s.f);for(q=u(He(t.c,(aI(),a3e)),116),dw(t.c,d-k+(q.b+q.c),w-_+(q.d+q.a),!0,!0),_4t(t.c,-k+q.b,-_+q.d),r=new hr(yXt(t.c));r.e!=r.i.gc();)n=u(Tr(r),79),h=y4(n,!0,!0),G=n0(n),Z=t2(n),W=new $e(G.i+G.g/2,G.j+G.f/2),o=new $e(Z.i+Z.g/2,Z.j+Z.f/2),bt=ba(new $e(o.a,o.b),W),f7(bt,G.g,G.f),$i(W,bt),Mt=ba(new $e(W.a,W.b),o),f7(Mt,Z.g,Z.f),$i(o,Mt),uj(h,W.a,W.b),cj(h,o.a,o.b)}function D3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;if(t.c=t.d,G=Be(K(e,(Te(),Dwe))),q=G==null||(Pn(G),G),o=u(K(e,(oe(),tu)),21).Hc((Eo(),Th)),s=u(K(e,xs),98),n=!(s==(ka(),Ub)||s==p0||s==eu),q&&(n||!o)){for(M=new S(e.a);M.a<M.c.c.length;)k=u(Q(M),10),k.p=0;for(B=new ge,_=new S(e.a);_.a<_.c.c.length;)if(k=u(Q(_),10),r=jue(t,k,null),r){for(w=new Gmt,Vo(w,e),ne(w,Py,u(r.b,21)),Twt(w.d,e.d),ne(w,b9,null),d=u(r.a,15).Kc();d.Ob();)h=u(d.Pb(),10),de(w.a,h),h.a=w;B.Fc(w)}o&&(Ut(K(e,Fx))===Ut((tw(),Jut))?t.c=t.b:t.c=t.a)}else B=new Al(ct(ot(S2e,1),$fe,37,0,[e]));return Ut(K(e,Fx))!==Ut((tw(),z4))&&(pn(),B.ad(new JK)),B}function Ule(t){Cv(t,new yb(t2t(xR(kv(mv(xv(yv(new mg,Wg),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new YQ),C1e),cn((w7(),yft))))),Ee(t,Wg,vw,nCt),Ee(t,Wg,ky,20),Ee(t,Wg,vx,R7),Ee(t,Wg,qI,ve(1)),Ee(t,Wg,NC,(Rn(),!0)),Ee(t,Wg,QI,Ie(tCt)),Ee(t,Wg,M4,Ie(Zme)),Ee(t,Wg,mx,Ie(Jme)),Ee(t,Wg,wx,Ie(tye)),Ee(t,Wg,j7,Ie(Qme)),Ee(t,Wg,FC,Ie(eCt)),Ee(t,Wg,$7,Ie(nye)),Ee(t,Wg,Okt,Ie(iye)),Ee(t,Wg,Pkt,Ie(rCt))}function I3n(t){t.q||(t.q=!0,t.p=vc(t,0),t.a=vc(t,1),Ki(t.a,0),t.f=vc(t,2),Ki(t.f,1),ps(t.f,2),t.n=vc(t,3),ps(t.n,3),ps(t.n,4),ps(t.n,5),ps(t.n,6),t.g=vc(t,4),Ki(t.g,7),ps(t.g,8),t.c=vc(t,5),Ki(t.c,7),Ki(t.c,8),t.i=vc(t,6),Ki(t.i,9),Ki(t.i,10),Ki(t.i,11),Ki(t.i,12),ps(t.i,13),t.j=vc(t,7),Ki(t.j,9),t.d=vc(t,8),Ki(t.d,3),Ki(t.d,4),Ki(t.d,5),Ki(t.d,6),ps(t.d,7),ps(t.d,8),ps(t.d,9),ps(t.d,10),t.b=vc(t,9),ps(t.b,0),ps(t.b,1),t.e=vc(t,10),ps(t.e,1),ps(t.e,2),ps(t.e,3),ps(t.e,4),Ki(t.e,5),Ki(t.e,6),Ki(t.e,7),Ki(t.e,8),Ki(t.e,9),Ki(t.e,10),ps(t.e,11),t.k=vc(t,11),ps(t.k,0),ps(t.k,1),t.o=yi(t,12),t.s=yi(t,13))}function p6t(t,e){e.dc()&&Kd(t.j,!0,!0,!0,!0),Pi(e,(ye(),Pf))&&Kd(t.j,!0,!0,!0,!1),Pi(e,_h)&&Kd(t.j,!1,!0,!0,!0),Pi(e,eh)&&Kd(t.j,!0,!0,!1,!0),Pi(e,Xh)&&Kd(t.j,!0,!1,!0,!0),Pi(e,hl)&&Kd(t.j,!1,!0,!0,!1),Pi(e,Ch)&&Kd(t.j,!1,!0,!1,!0),Pi(e,nh)&&Kd(t.j,!0,!1,!1,!0),Pi(e,Nf)&&Kd(t.j,!0,!1,!0,!1),Pi(e,Bu)&&Kd(t.j,!0,!0,!0,!0),Pi(e,vu)&&Kd(t.j,!0,!0,!0,!0),Pi(e,Bu)&&Kd(t.j,!0,!0,!0,!0),Pi(e,Fu)&&Kd(t.j,!0,!0,!0,!0),Pi(e,Ru)&&Kd(t.j,!0,!0,!0,!0),Pi(e,fl)&&Kd(t.j,!0,!0,!0,!0),Pi(e,nu)&&Kd(t.j,!0,!0,!0,!0)}function O3n(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z;for(o=new ge,k=new S(r);k.a<k.c.c.length;)if(d=u(Q(k),441),h=null,d.f==(xo(),lu))for(G=new S(d.e);G.a<G.c.c.length;)q=u(Q(G),17),Z=q.d.i,Za(Z)==e?oee(t,e,d,q,d.b,q.d):!n||U8(Z,n)?d0n(t,e,d,r,q):(B=Eat(t,e,n,q,d.b,lu,h),B!=h&&(o.c[o.c.length]=B),B.c&&(h=B));else for(M=new S(d.e);M.a<M.c.c.length;)if(_=u(Q(M),17),W=_.c.i,Za(W)==e)oee(t,e,d,_,_.c,d.b);else{if(!n||U8(W,n))continue;B=Eat(t,e,n,_,d.b,ll,h),B!=h&&(o.c[o.c.length]=B),B.c&&(h=B)}for(w=new S(o);w.a<w.c.c.length;)d=u(Q(w),441),Zo(e.a,d.a,0)!=-1||de(e.a,d.a),d.c&&(s.c[s.c.length]=d)}function P3n(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(k=new ge,w=new S(e.a);w.a<w.c.c.length;)for(h=u(Q(w),10),B=uc(h,(ye(),Wn)).Kc();B.Ob();)for(M=u(B.Pb(),11),s=new S(M.g);s.a<s.c.c.length;)r=u(Q(s),17),!(!io(r)&&r.c.i.c==r.d.i.c||io(r)||r.d.i.c!=n)&&(k.c[k.c.length]=r);for(d=cb(n.a).Kc();d.Ob();)for(h=u(d.Pb(),10),B=uc(h,(ye(),jn)).Kc();B.Ob();)for(M=u(B.Pb(),11),s=new S(M.e);s.a<s.c.c.length;)if(r=u(Q(s),17),!(!io(r)&&r.c.i.c==r.d.i.c||io(r)||r.c.i.c!=e)){for(_=new Sa(k,k.c.length),o=(sr(_.b>0),u(_.a.Xb(_.c=--_.b),17));o!=r&&_.b>0;)t.a[o.p]=!0,t.a[r.p]=!0,o=(sr(_.b>0),u(_.a.Xb(_.c=--_.b),17));_.b>0&&Ol(_)}}function Wle(t,e,n){var r,s,o,h,d,w,k,_,M;if(t.a!=e.Aj())throw et(new Bn(V7+e.ne()+xw));if(r=Bg((Yu(),Fa),e).$k(),r)return r.Aj().Nh().Ih(r,n);if(h=Bg(Fa,e).al(),h){if(n==null)return null;if(d=u(n,15),d.dc())return"";for(M=new _g,o=d.Kc();o.Ob();)s=o.Pb(),Ao(M,h.Aj().Nh().Ih(h,s)),M.a+=" ";return Wet(M,M.a.length-1)}if(_=Bg(Fa,e).bl(),!_.dc()){for(k=_.Kc();k.Ob();)if(w=u(k.Pb(),148),w.wj(n))try{if(M=w.Aj().Nh().Ih(w,n),M!=null)return M}catch(B){if(B=as(B),!_t(B,102))throw et(B)}throw et(new Bn("Invalid value: '"+n+"' for datatype :"+e.ne()))}return u(e,834).Fj(),n==null?null:_t(n,172)?""+u(n,172).a:bl(n)==GH?xUt(rA[0],u(n,199)):tc(n)}function N3n(t){var e,n,r,s,o,h,d,w,k,_;for(k=new hs,d=new hs,o=new S(t);o.a<o.c.c.length;)r=u(Q(o),128),r.v=0,r.n=r.i.c.length,r.u=r.t.c.length,r.n==0&&Cs(k,r,k.c.b,k.c),r.u==0&&r.r.a.gc()==0&&Cs(d,r,d.c.b,d.c);for(h=-1;k.b!=0;)for(r=u(yst(k,0),128),n=new S(r.t);n.a<n.c.c.length;)e=u(Q(n),268),_=e.b,_.v=b.Math.max(_.v,r.v+1),h=b.Math.max(h,_.v),--_.n,_.n==0&&Cs(k,_,k.c.b,k.c);if(h>-1){for(s=gi(d,0);s.b!=s.d.c;)r=u(di(s),128),r.v=h;for(;d.b!=0;)for(r=u(yst(d,0),128),n=new S(r.i);n.a<n.c.c.length;)e=u(Q(n),268),w=e.a,w.r.a.gc()==0&&(w.v=b.Math.min(w.v,r.v-1),--w.u,w.u==0&&Cs(d,w,d.c.b,d.c))}}function Kle(t,e,n,r,s){var o,h,d,w;return w=ms,h=!1,d=s6t(t,ba(new $e(e.a,e.b),t),$i(new $e(n.a,n.b),s),ba(new $e(r.a,r.b),n)),o=!!d&&!(b.Math.abs(d.a-t.a)<=mw&&b.Math.abs(d.b-t.b)<=mw||b.Math.abs(d.a-e.a)<=mw&&b.Math.abs(d.b-e.b)<=mw),d=s6t(t,ba(new $e(e.a,e.b),t),n,s),d&&((b.Math.abs(d.a-t.a)<=mw&&b.Math.abs(d.b-t.b)<=mw)==(b.Math.abs(d.a-e.a)<=mw&&b.Math.abs(d.b-e.b)<=mw)||o?w=b.Math.min(w,A_(ba(d,n))):h=!0),d=s6t(t,ba(new $e(e.a,e.b),t),r,s),d&&(h||(b.Math.abs(d.a-t.a)<=mw&&b.Math.abs(d.b-t.b)<=mw)==(b.Math.abs(d.a-e.a)<=mw&&b.Math.abs(d.b-e.b)<=mw)||o)&&(w=b.Math.min(w,A_(ba(d,r)))),w}function Yle(t){Cv(t,new yb(xR(kv(mv(xv(yv(new mg,o2),Rfe),"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 ah),Xl))),Ee(t,o2,HI,Ie(w9t)),Ee(t,o2,Uq,(Rn(),!0)),Ee(t,o2,M4,Ie(a2e)),Ee(t,o2,mx,Ie(o2e)),Ee(t,o2,wx,Ie(c2e)),Ee(t,o2,j7,Ie(s2e)),Ee(t,o2,FC,Ie(y9t)),Ee(t,o2,$7,Ie(u2e)),Ee(t,o2,cxt,Ie(v9t)),Ee(t,o2,lxt,Ie(p9t)),Ee(t,o2,hxt,Ie(b9t)),Ee(t,o2,fxt,Ie(m9t)),Ee(t,o2,uxt,Ie(uV))}function F3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(Dr(e,"Interactive crossing minimization",1),h=0,o=new S(t.b);o.a<o.c.c.length;)r=u(Q(o),29),r.p=h++;for(B=b4t(t),Z=new e2t(B.length),Ele(new Al(ct(ot(G2e,1),De,225,0,[Z])),B),W=0,h=0,s=new S(t.b);s.a<s.c.c.length;){for(r=u(Q(s),29),n=0,M=0,_=new S(r.a);_.a<_.c.c.length;)for(w=u(Q(_),10),w.n.a>0&&(n+=w.n.a+w.o.a/2,++M),G=new S(w.j);G.a<G.c.c.length;)q=u(Q(G),11),q.p=W++;for(M>0&&(n/=M),bt=Pt(wa,Io,25,r.a.c.length,15,1),d=0,k=new S(r.a);k.a<k.c.c.length;)w=u(Q(k),10),w.p=d++,bt[w.p]=T3n(w,n),w.k==(Yn(),ha)&&ne(w,(oe(),QEt),bt[w.p]);pn(),ua(r.a,new i$t(bt)),Oue(Z,B,h,!0),++h}br(e)}function CC(t,e){var n,r,s,o,h,d,w,k,_;if(e.e==5){zle(t,e);return}if(k=e,!(k.b==null||t.b==null)){for(v4(t),TC(t),v4(k),TC(k),n=Pt(Fr,ui,25,t.b.length+k.b.length,15,1),_=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],w=k.b[h+1],o<d)n[_++]=t.b[r++],n[_++]=t.b[r++];else if(o>=d&&s<=w)d<=s&&o<=w?r+=2:d<=s?(t.b[r]=w+1,h+=2):o<=w?(n[_++]=s,n[_++]=d-1,r+=2):(n[_++]=s,n[_++]=d-1,t.b[r]=w+1,h+=2);else if(w<s)h+=2;else throw et(new ic("Token#subtractRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] - ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[_++]=t.b[r++],n[_++]=t.b[r++];t.b=Pt(Fr,ui,25,_,15,1),qc(n,0,t.b,0,_)}}function B3n(t){var e,n,r,s,o,h,d;if(!t.A.dc()){if(t.A.Hc((Fl(),sP))&&(u(Lo(t.b,(ye(),Nn)),124).k=!0,u(Lo(t.b,Ir),124).k=!0,e=t.q!=(ka(),p0)&&t.q!=eu,iM(u(Lo(t.b,Wn),124),e),iM(u(Lo(t.b,jn),124),e),iM(t.g,e),t.A.Hc(Wb)&&(u(Lo(t.b,Nn),124).j=!0,u(Lo(t.b,Ir),124).j=!0,u(Lo(t.b,Wn),124).k=!0,u(Lo(t.b,jn),124).k=!0,t.g.k=!0)),t.A.Hc(iP))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,d=t.B.Hc((ml(),eA)),s=Jit(),o=0,h=s.length;o<h;++o)r=s[o],n=u(Lo(t.i,r),306),n&&(T3t(r)?(n.j=!0,n.k=!0):(n.j=!d,n.k=!d));t.A.Hc(Xy)&&t.B.Hc((ml(),oP))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function R3n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(r=new S(t.e.b);r.a<r.c.c.length;)for(n=u(Q(r),29),o=new S(n.a);o.a<o.c.c.length;)if(s=u(Q(o),10),q=t.i[s.p],k=q.a.e,w=q.d.e,s.n.b=k,bt=w-k-s.o.b,e=xat(s),B=(sy(),(s.q?s.q:(pn(),pn(),l0))._b((Te(),Ow))?M=u(K(s,Ow),197):M=u(K(Za(s),_S),197),M),e&&(B==e5||B==t5)&&(s.o.b+=bt),e&&(B==cht||B==e5||B==t5)){for(W=new S(s.j);W.a<W.c.c.length;)G=u(Q(W),11),(ye(),vu).Hc(G.j)&&(_=u(cr(t.k,G),121),G.n.b=_.e-k);for(d=new S(s.b);d.a<d.c.c.length;)h=u(Q(d),70),Z=u(K(s,Iw),21),Z.Hc((fy(),Yh))?h.n.b+=bt:Z.Hc(g0)&&(h.n.b+=bt/2);(B==e5||B==t5)&&uc(s,(ye(),Ir)).Jc(new y$t(bt))}}function Xle(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;if(!t.b)return!1;for(h=null,B=null,w=new $rt(null,null),s=1,w.a[1]=t.b,M=w;M.a[s];)k=s,d=B,B=M,M=M.a[s],r=t.a.ue(e,M.d),s=r<0?0:1,r==0&&(!n.c||Gc(M.e,n.d))&&(h=M),!(M&&M.b)&&!Am(M.a[s])&&(Am(M.a[1-s])?B=B.a[k]=iz(M,s):Am(M.a[1-s])||(q=B.a[1-k],q&&(!Am(q.a[1-k])&&!Am(q.a[k])?(B.b=!1,q.b=!0,M.b=!0):(o=d.a[1]==B?1:0,Am(q.a[k])?d.a[o]=rZt(B,k):Am(q.a[1-k])&&(d.a[o]=iz(B,k)),M.b=d.a[o].b=!0,d.a[o].a[0].b=!1,d.a[o].a[1].b=!1))));return h&&(n.b=!0,n.d=h.e,M!=h&&(_=new $rt(M.d,M.e),i0n(t,w,h,_),B==h&&(B=_)),B.a[B.a[1]==M?1:0]=M.a[M.a[0]?0:1],--t.c),t.b=w.a[1],t.b&&(t.b.b=!1),n.b}function j3n(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(s=new S(t.a.a.b);s.a<s.c.c.length;)for(r=u(Q(s),57),w=r.c.Kc();w.Ob();)d=u(w.Pb(),57),r.a!=d.a&&(Bp(t.a.d)?M=t.a.g.Oe(r,d):M=t.a.g.Pe(r,d),o=r.b.a+r.d.b+M-d.b.a,o=b.Math.ceil(o),o=b.Math.max(0,o),Imt(r,d)?(h=Dv(new K2,t.d),k=Ds(b.Math.ceil(d.b.a-r.b.a)),e=k-(d.b.a-r.b.a),_=V6(r).a,n=r,_||(_=V6(d).a,e=-e,n=d),_&&(n.b.a-=e,_.n.a-=e),Tf(gf(df(pf(ff(new Dh,b.Math.max(0,k)),1),h),t.c[r.a.d])),Tf(gf(df(pf(ff(new Dh,b.Math.max(0,-k)),1),h),t.c[d.a.d]))):(B=1,(_t(r.g,145)&&_t(d.g,10)||_t(d.g,145)&&_t(r.g,10))&&(B=2),Tf(gf(df(pf(ff(new Dh,Ds(o)),B),t.c[r.a.d]),t.c[d.a.d]))))}function Qle(t,e,n){var r,s,o,h,d,w,k,_,M,B;if(n)for(r=-1,_=new Sa(e,0);_.b<_.d.gc();){if(d=(sr(_.b<_.d.gc()),u(_.d.Xb(_.c=_.b++),10)),M=t.c[d.c.p][d.p].a,M==null){for(h=r+1,o=new Sa(e,_.b);o.b<o.d.gc();)if(B=AXe(t,(sr(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),10))).a,B!=null){h=(Pn(B),B);break}M=(r+h)/2,t.c[d.c.p][d.p].a=M,t.c[d.c.p][d.p].d=(Pn(M),M),t.c[d.c.p][d.p].b=1}r=(Pn(M),M)}else{for(s=0,k=new S(e);k.a<k.c.c.length;)d=u(Q(k),10),t.c[d.c.p][d.p].a!=null&&(s=b.Math.max(s,Zt(t.c[d.c.p][d.p].a)));for(s+=2,w=new S(e);w.a<w.c.c.length;)d=u(Q(w),10),t.c[d.c.p][d.p].a==null&&(M=wl(t.i,24)*RI*s-1,t.c[d.c.p][d.p].a=M,t.c[d.c.p][d.p].d=M,t.c[d.c.p][d.p].b=1)}}function $3n(){vi(Zy,new uB),vi(hi,new gB),vi(Zh,new fJ),vi(u1,new qL),vi(_ft,new HL),vi(aU,new i6),vi(rg,new dJ),vi(nA,new gJ),vi(lP,new QZ),vi(mft,new ZZ),vi(C2,new JZ),vi(Jh,new tJ),vi(c1,new eJ),vi($w,new nJ),vi(Jy,new cB),vi(ju,new rJ),vi(Qy,new iJ),vi(xc,new sJ),vi(So,new Ik),vi(wu,new ZE),vi(Zs,new lB),vi(ot(tl,1),new aJ),vi(Tx,new hB),vi(aS,new fB),vi(GH,new oJ),vi(TLt,new JE),vi(Ea,new km),vi(jAt,new dB),vi(qAt,new cJ),vi(hLt,new uJ),vi(oU,new tT),vi(Q7,new pB),vi(eo,new bB),vi(H8t,new Tc),vi(Ew,new lJ),vi(V8t,new vB),vi(oLt,new eT),vi(_Lt,new hJ),vi(Tw,new nT),vi(Le,new wB),vi(zAt,new rT),vi(CLt,new iT)}function z3n(t,e,n){var r,s,o,h,d,w,k,_,M;for(!n&&(n=Ecn(e.q.getTimezoneOffset())),s=(e.q.getTimezoneOffset()-n.a)*6e4,d=new $bt(Ka(Ou(e.q.getTime()),s)),w=d,d.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(s>0?s-=864e5:s+=864e5,w=new $bt(Ka(Ou(e.q.getTime()),s))),_=new Lm,k=t.a.length,o=0;o<k;)if(r=Oa(t.a,o),r>=97&&r<=122||r>=65&&r<=90){for(h=o+1;h<k&&Oa(t.a,h)==r;++h);N5n(_,r,h-o,d,w,n),o=h}else if(r==39){if(++o,o<k&&Oa(t.a,o)==39){_.a+="'",++o;continue}for(M=!1;!M;){for(h=o;h<k&&Oa(t.a,h)!=39;)++h;if(h>=k)throw et(new Bn("Missing trailing '"));h+1<k&&Oa(t.a,h+1)==39?++h:M=!0,ii(_,$l(t.a,o,h)),o=h+1}}else _.a+=String.fromCharCode(r),++o;return _.a}function q3n(t){var e,n,r,s,o,h,d,w;for(e=null,r=new S(t);r.a<r.c.c.length;)n=u(Q(r),233),Zt(L1(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!e&&(e=new ge),e.c[e.c.length]=n);if(e)for(;e.c.length!=0;){if(n=u(Ig(e,0),233),n.b&&n.b.c.length>0){for(o=(!n.b&&(n.b=new ge),new S(n.b));o.a<o.c.c.length;)if(s=u(Q(o),233),dM(L1(s.g,s.d[0]).a)==dM(L1(n.g,n.d[0]).a)){if(Zo(t,s,0)>Zo(t,n,0))return new Ca(s,n)}else if(Zt(L1(s.g,s.d[0]).a)>Zt(L1(n.g,n.d[0]).a))return new Ca(s,n)}for(d=(!n.e&&(n.e=new ge),n.e).Kc();d.Ob();)h=u(d.Pb(),233),w=(!h.b&&(h.b=new ge),h.b),Um(0,w.c.length),WT(w.c,0,n),h.c==w.c.length&&(e.c[e.c.length]=h)}return null}function Zle(t,e){var n,r,s,o,h,d,w,k,_;if(t==null)return Nu;if(w=e.a.zc(t,e),w!=null)return"[...]";for(n=new lb(oo,"[","]"),s=t,o=0,h=s.length;o<h;++o)r=s[o],r!=null&&bl(r).i&4?Array.isArray(r)&&(_=TD(r),!(_>=14&&_<=16))?e.a._b(r)?(n.a?ii(n.a,n.b):n.a=new jl(n.d),c_(n.a,"[...]")):(d=ob(r),k=new y_(e),B0(n,Zle(d,k))):_t(r,177)?B0(n,Ign(u(r,177))):_t(r,190)?B0(n,xdn(u(r,190))):_t(r,195)?B0(n,D0n(u(r,195))):_t(r,2012)?B0(n,kdn(u(r,2012))):_t(r,48)?B0(n,Dgn(u(r,48))):_t(r,364)?B0(n,Ggn(u(r,364))):_t(r,832)?B0(n,Mgn(u(r,832))):_t(r,104)&&B0(n,Lgn(u(r,104))):B0(n,r==null?Nu:tc(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function Jle(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(d=y4(e,!1,!1),bt=cI(d),r&&(bt=$D(bt)),St=Zt(ke(He(e,(iC(),$ut)))),Z=(sr(bt.b!=0),u(bt.a.a.c,8)),M=u(n1(bt,1),8),bt.b>2?(_=new ge,Hs(_,new Zd(bt,1,bt.b)),o=Ihe(_,St+t.a),Mt=new Gst(o),Vo(Mt,e),n.c[n.c.length]=Mt):r?Mt=u(cr(t.b,n0(e)),266):Mt=u(cr(t.b,t2(e)),266),w=n0(e),r&&(w=t2(e)),h=Q0n(Z,w),k=St+t.a,h.a?(k+=b.Math.abs(Z.b-M.b),W=new $e(M.a,(M.b+Z.b)/2)):(k+=b.Math.abs(Z.a-M.a),W=new $e((M.a+Z.a)/2,M.b)),r?Ni(t.d,e,new j3t(Mt,h,W,k)):Ni(t.c,e,new j3t(Mt,h,W,k)),Ni(t.b,e,Mt),G=(!e.n&&(e.n=new pe(nc,e,1,7)),e.n),q=new hr(G);q.e!=q.i.gc();)B=u(Tr(q),137),s=mI(t,B,!0,0,0),n.c[n.c.length]=s}function H3n(t){var e,n,r,s,o,h,d,w,k,_;for(k=new ge,d=new ge,h=new S(t);h.a<h.c.c.length;)s=u(Q(h),112),sM(s,s.f.c.length),xT(s,s.k.c.length),s.d==0&&(k.c[k.c.length]=s),s.i==0&&s.e.b==0&&(d.c[d.c.length]=s);for(r=-1;k.c.length!=0;)for(s=u(Ig(k,0),112),n=new S(s.k);n.a<n.c.c.length;)e=u(Q(n),129),_=e.b,QB(_,b.Math.max(_.o,s.o+1)),r=b.Math.max(r,_.o),sM(_,_.d-1),_.d==0&&(k.c[k.c.length]=_);if(r>-1){for(o=new S(d);o.a<o.c.c.length;)s=u(Q(o),112),s.o=r;for(;d.c.length!=0;)for(s=u(Ig(d,0),112),n=new S(s.f);n.a<n.c.c.length;)e=u(Q(n),129),w=e.a,!(w.e.b>0)&&(QB(w,b.Math.min(w.o,s.o-1)),xT(w,w.i-1),w.i==0&&(d.c[d.c.length]=w))}}function S7(t,e,n){var r,s,o,h,d,w,k;if(k=t.c,!e&&(e=QAt),t.c=e,t.Db&4&&!(t.Db&1)&&(w=new la(t,1,2,k,t.c),n?n.Ei(w):n=w),k!=e){if(_t(t.Cb,284))t.Db>>16==-10?n=u(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(e=(hn(),J1)),!k&&(k=(hn(),J1)),t.Cb.nh()&&(w=new R0(t.Cb,1,13,k,e,$g(pl(u(t.Cb,59)),t),!1),n?n.Ei(w):n=w));else if(_t(t.Cb,88))t.Db>>16==-23&&(_t(e,88)||(e=(hn(),ef)),_t(k,88)||(k=(hn(),ef)),t.Cb.nh()&&(w=new R0(t.Cb,1,10,k,e,$g($c(u(t.Cb,26)),t),!1),n?n.Ei(w):n=w));else if(_t(t.Cb,444))for(d=u(t.Cb,836),h=(!d.b&&(d.b=new lR(new Ytt)),d.b),o=(r=new db(new kg(h.a).a),new hR(r));o.a.b;)s=u(Kv(o.a).cd(),87),n=S7(s,uq(s,d),n)}return n}function V3n(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(h=je(Be(He(t,(Te(),$y)))),B=u(He(t,qy),21),w=!1,k=!1,M=new hr((!t.c&&(t.c=new pe(El,t,9,9)),t.c));M.e!=M.i.gc()&&(!w||!k);){for(o=u(Tr(M),118),d=0,s=zp(B1(ct(ot(G1,1),De,20,0,[(!o.d&&(o.d=new Tn(aa,o,8,5)),o.d),(!o.e&&(o.e=new Tn(aa,o,7,4)),o.e)])));ti(s)&&(r=u(qr(s),79),_=h&&cw(r)&&je(Be(He(r,Bb))),n=Mle((!r.b&&(r.b=new Tn(Lr,r,4,7)),r.b),o)?t==gs(Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82))):t==gs(Go(u(At((!r.b&&(r.b=new Tn(Lr,r,4,7)),r.b),0),82))),!((_||n)&&(++d,d>1))););(d>0||B.Hc((cl(),ng))&&(!o.n&&(o.n=new pe(nc,o,1,7)),o.n).i>0)&&(w=!0),d>1&&(k=!0)}w&&e.Fc((Eo(),Th)),k&&e.Fc((Eo(),vS))}function the(t){var e,n,r,s,o,h,d,w,k,_,M,B;if(B=u(He(t,(Ei(),Hb)),21),B.dc())return null;if(d=0,h=0,B.Hc((Fl(),sP))){for(_=u(He(t,US),98),r=2,n=2,s=2,o=2,e=gs(t)?u(He(gs(t),Rw),103):u(He(t,Rw),103),k=new hr((!t.c&&(t.c=new pe(El,t,9,9)),t.c));k.e!=k.i.gc();)if(w=u(Tr(k),118),M=u(He(w,c5),61),M==(ye(),fc)&&(M=J5t(w,e),Do(w,c5,M)),_==(ka(),eu))switch(M.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(M.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}d=b.Math.max(r,s),h=b.Math.max(n,o)}return dw(t,d,h,!0,!0)}function Sat(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;for(Mt=u(Hl(U$(Xi(new En(null,new _n(e.d,16)),new Wk(n)),new cM(n)),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)]))),15),M=Di,_=qa,w=new S(e.b.j);w.a<w.c.c.length;)d=u(Q(w),11),d.j==n&&(M=b.Math.min(M,d.p),_=b.Math.max(_,d.p));if(M==Di)for(h=0;h<Mt.gc();h++)Tmt(u(Mt.Xb(h),101),n,h);else for(St=Pt(Fr,ui,25,s.length,15,1),Ptn(St,St.length),bt=Mt.Kc();bt.Ob();){for(Z=u(bt.Pb(),101),o=u(cr(t.b,Z),177),k=0,W=M;W<=_;W++)o[W]&&(k=b.Math.max(k,r[W]));if(Z.i){for(q=Z.i.c,jt=new na,B=0;B<s.length;B++)s[q][B]&&Ys(jt,ve(St[B]));for(;L0(jt,ve(k));)++k}for(Tmt(Z,n,k),G=M;G<=_;G++)o[G]&&(r[G]=k+1);Z.i&&(St[Z.i.c]=k)}}function G3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(s=null,r=new S(e.a);r.a<r.c.c.length;)n=u(Q(r),10),xat(n)?o=(d=Dv(mM(new K2,n),t.f),w=Dv(mM(new K2,n),t.f),k=new Ewt(n,!0,d,w),_=n.o.b,M=(sy(),(n.q?n.q:(pn(),pn(),l0))._b((Te(),Ow))?B=u(K(n,Ow),197):B=u(K(Za(n),_S),197),B),q=1e4,M==t5&&(q=1),G=Tf(gf(df(ff(pf(new Dh,q),Ds(b.Math.ceil(_))),d),w)),M==e5&&Ys(t.d,G),Rue(t,cb(uc(n,(ye(),jn))),k),Rue(t,uc(n,Wn),k),k):o=(W=Dv(mM(new K2,n),t.f),Ts(Xi(new En(null,new _n(n.j,16)),new hQ),new KVt(t,W)),new Ewt(n,!1,W,W)),t.i[n.p]=o,s&&(h=s.c.d.a+U3(t.n,s.c,n)+n.d.d,s.b||(h+=s.c.o.b),Tf(gf(df(pf(ff(new Dh,Ds(b.Math.ceil(h))),0),s.d),o.a))),s=o}function U3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(Dr(e,"Label dummy insertions",1),M=new ge,h=Zt(ke(K(t,(Te(),Rx)))),k=Zt(ke(K(t,Vy))),_=u(K(t,Jl),103),q=new S(t.a);q.a<q.c.c.length;)for(B=u(Q(q),10),o=new pr(xr(Gs(B).a.Kc(),new H));ti(o);)if(s=u(qr(o),17),s.c.i!=s.d.i&&Jet(s.b,F2e)){for(W=Ran(s),G=Wd(s.b.c.length),n=O2n(t,s,W,G),M.c[M.c.length]=n,r=n.o,d=new Sa(s.b,0);d.b<d.d.gc();)w=(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),70)),Ut(K(w,Bd))===Ut((F1(),S9))&&(_==(ko(),tg)||_==J0?(r.a+=w.o.a+k,r.b=b.Math.max(r.b,w.o.b)):(r.a=b.Math.max(r.a,w.o.a),r.b+=w.o.b+k),G.c[G.c.length]=w,Ol(d));_==(ko(),tg)||_==J0?(r.a-=k,r.b+=h+W):r.b+=h-k+W}Hs(t.a,M),br(e)}function W3n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q;for(o=new _oe(e),M=Nvn(t,e,o),q=b.Math.max(Zt(ke(K(e,(Te(),Xg)))),1),_=new S(M.a);_.a<_.c.c.length;)k=u(Q(_),46),w=Oie(u(k.a,8),u(k.b,8),q),E=!0,E=E&Ov(n,new $e(w.c,w.d)),E=E&Ov(n,Fm(new $e(w.c,w.d),w.b,0)),E=E&Ov(n,Fm(new $e(w.c,w.d),0,w.a)),E&Ov(n,Fm(new $e(w.c,w.d),w.b,w.a));switch(B=o.d,d=Oie(u(M.b.a,8),u(M.b.b,8),q),B==(ye(),jn)||B==Wn?(r.c[B.g]=b.Math.min(r.c[B.g],d.d),r.b[B.g]=b.Math.max(r.b[B.g],d.d+d.a)):(r.c[B.g]=b.Math.min(r.c[B.g],d.c),r.b[B.g]=b.Math.max(r.b[B.g],d.c+d.b)),s=Rs,h=o.c.i.d,B.g){case 4:s=h.c;break;case 2:s=h.b;break;case 1:s=h.a;break;case 3:s=h.d}return r.a[B.g]=b.Math.max(r.a[B.g],s),o}function K3n(t){var e,n,r,s;if(n=t.D!=null?t.D:t.B,e=pd(n,Pu(91)),e!=-1){r=n.substr(0,e),s=new _g;do s.a+="[";while((e=h8(n,91,++e))!=-1);ln(r,lx)?s.a+="Z":ln(r,QC)?s.a+="B":ln(r,CH)?s.a+="C":ln(r,ZC)?s.a+="D":ln(r,JC)?s.a+="F":ln(r,tS)?s.a+="I":ln(r,eS)?s.a+="J":ln(r,nS)?s.a+="S":(s.a+="L",s.a+=""+r,s.a+=";");try{return null}catch(o){if(o=as(o),!_t(o,60))throw et(o)}}else if(pd(n,Pu(46))==-1){if(ln(n,lx))return Tl;if(ln(n,QC))return tl;if(ln(n,CH))return Sh;if(ln(n,ZC))return wa;if(ln(n,JC))return r3;if(ln(n,tS))return Fr;if(ln(n,eS))return O2;if(ln(n,nS))return d5}return null}function ehe(t,e,n){var r,s,o,h,d,w,k,_;for(k=new G0(n),Vo(k,e),ne(k,(oe(),Bi),e),k.o.a=e.g,k.o.b=e.f,k.n.a=e.i,k.n.b=e.j,de(n.a,k),Ni(t.a,e,k),((!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i!=0||je(Be(He(e,(Te(),$y)))))&&ne(k,GEt,(Rn(),!0)),w=u(K(n,tu),21),_=u(K(k,(Te(),xs)),98),_==(ka(),T2)?ne(k,xs,Q1):_!=Q1&&w.Fc((Eo(),d9)),r=u(K(n,Jl),103),d=new hr((!e.c&&(e.c=new pe(El,e,9,9)),e.c));d.e!=d.i.gc();)h=u(Tr(d),118),je(Be(He(h,jb)))||E4n(t,h,k,w,r,_);for(o=new hr((!e.n&&(e.n=new pe(nc,e,1,7)),e.n));o.e!=o.i.gc();)s=u(Tr(o),137),!je(Be(He(s,jb)))&&s.a&&de(k.b,Oit(s));return je(Be(K(k,kS)))&&w.Fc((Eo(),$V)),je(Be(K(k,eG)))&&(w.Fc((Eo(),zV)),w.Fc(vS),ne(k,xs,Q1)),k}function Y3n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;d=u(cr(e.c,t),459),Mt=e.a.c,w=e.a.c+e.a.b,Ze=d.f,$n=d.a,h=Ze<$n,W=new $e(Mt,Ze),St=new $e(w,$n),s=(Mt+w)/2,Z=new $e(s,Ze),jt=new $e(s,$n),o=abn(t,Ze,$n),fe=I1(e.B),Ae=new $e(s,o),Ke=I1(e.D),n=Lcn(ct(ot(sa,1),re,8,0,[fe,Ae,Ke])),q=!1,bt=e.B.i,bt&&bt.c&&d.d&&(k=h&&bt.p<bt.c.a.c.length-1||!h&&bt.p>0,k?k&&(B=bt.p,h?++B:--B,M=u(Fe(bt.c.a,B),10),r=Gne(M),q=!(Qst(r,fe,n[0])||EYt(r,fe,n[0]))):q=!0),G=!1,Xt=e.D.i,Xt&&Xt.c&&d.e&&(_=h&&Xt.p>0||!h&&Xt.p<Xt.c.a.c.length-1,_?(B=Xt.p,h?--B:++B,M=u(Fe(Xt.c.a,B),10),r=Gne(M),G=!(Qst(r,n[0],Ke)||EYt(r,n[0],Ke))):G=!0),q&&G&&pi(t.a,Ae),q||z_(t.a,ct(ot(sa,1),re,8,0,[W,Z])),G||z_(t.a,ct(ot(sa,1),re,8,0,[jt,St]))}function Sq(t,e){var n,r,s,o,h,d,w,k;if(_t(t.Ug(),160)?(Sq(u(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",n=t.Tg().zb,ln(n.substr(0,3),"Elk")?ii(e,n.substr(3)):e.a+=""+n,s=t.zg(),s){ii((e.a+=" ",e),s);return}if(_t(t,354)&&(k=u(t,137).a,k)){ii((e.a+=" ",e),k);return}for(h=new hr(t.Ag());h.e!=h.i.gc();)if(o=u(Tr(h),137),k=o.a,k){ii((e.a+=" ",e),k);return}if(_t(t,352)&&(r=u(t,79),!r.b&&(r.b=new Tn(Lr,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c.i!=0))){for(e.a+=" (",d=new M6((!r.b&&(r.b=new Tn(Lr,r,4,7)),r.b));d.e!=d.i.gc();)d.e>0&&(e.a+=oo),Sq(u(Tr(d),160),e);for(e.a+=Not,w=new M6((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c));w.e!=w.i.gc();)w.e>0&&(e.a+=oo),Sq(u(Tr(w),160),e);e.a+=")"}}function X3n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;if(o=u(K(t,(oe(),Bi)),79),!!o){for(r=t.a,s=new No(n),$i(s,$1n(t)),U8(t.d.i,t.c.i)?(B=t.c,M=cc(ct(ot(sa,1),re,8,0,[B.n,B.a])),ba(M,n)):M=I1(t.c),Cs(r,M,r.a,r.a.a),q=I1(t.d),K(t,$lt)!=null&&$i(q,u(K(t,$lt),8)),Cs(r,q,r.c.b,r.c),Jm(r,s),h=y4(o,!0,!0),tz(h,u(At((!o.b&&(o.b=new Tn(Lr,o,4,7)),o.b),0),82)),ez(h,u(At((!o.c&&(o.c=new Tn(Lr,o,5,8)),o.c),0),82)),EI(r,h),_=new S(t.b);_.a<_.c.c.length;)k=u(Q(_),70),d=u(K(k,Bi),137),Xv(d,k.o.a),Yv(d,k.o.b),S1(d,k.n.a+s.a,k.n.b+s.b),Do(d,(Q6(),slt),Be(K(k,slt)));w=u(K(t,(Te(),zo)),74),w?(Jm(w,s),Do(o,zo,w)):Do(o,zo,null),e==(V0(),Vx)?Do(o,Z0,Vx):Do(o,Z0,null)}}function Q3n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;for(q=e.c.length,B=0,M=new S(t.b);M.a<M.c.c.length;)if(_=u(Q(M),29),bt=_.a,bt.c.length!=0){for(Z=new S(bt),k=0,Mt=null,s=u(Q(Z),10),o=null;s;){if(o=u(Fe(e,s.p),257),o.c>=0){for(w=null,d=new Sa(_.a,k+1);d.b<d.d.gc()&&(h=(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),10)),w=u(Fe(e,h.p),257),!(w.d==o.d&&w.c<o.c));)w=null;w&&(Mt&&(gh(r,s.p,ve(u(Fe(r,s.p),19).a-1)),u(Fe(n,Mt.p),15).Mc(o)),o=Ddn(o,s,q++),e.c[e.c.length]=o,de(n,new ge),Mt?(u(Fe(n,Mt.p),15).Fc(o),de(r,ve(1))):de(r,ve(0)))}G=null,Z.a<Z.c.c.length&&(G=u(Q(Z),10),W=u(Fe(e,G.p),257),u(Fe(n,s.p),15).Fc(W),gh(r,G.p,ve(u(Fe(r,G.p),19).a+1))),o.d=B,o.c=k++,Mt=s,s=G}++B}}function Aat(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;return w=t,_=ba(new $e(e.a,e.b),t),k=n,M=ba(new $e(r.a,r.b),n),B=w.a,Z=w.b,G=k.a,Mt=k.b,q=_.a,bt=_.b,W=M.a,St=M.b,s=W*bt-q*St,A1(),xf(Md),b.Math.abs(0-s)<=Md||s==0||isNaN(0)&&isNaN(s)?!1:(h=1/s*((B-G)*bt-(Z-Mt)*q),d=1/s*-(-(B-G)*St+(Z-Mt)*W),o=(xf(Md),(b.Math.abs(0-h)<=Md||h==0||isNaN(0)&&isNaN(h)?0:0<h?-1:0>h?1:Av(isNaN(0),isNaN(h)))<0&&(xf(Md),(b.Math.abs(h-1)<=Md||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:Av(isNaN(h),isNaN(1)))<0)&&(xf(Md),(b.Math.abs(0-d)<=Md||d==0||isNaN(0)&&isNaN(d)?0:0<d?-1:0>d?1:Av(isNaN(0),isNaN(d)))<0)&&(xf(Md),(b.Math.abs(d-1)<=Md||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:Av(isNaN(d),isNaN(1)))<0)),o)}function Z3n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;for(M=new vwt(new Dt(t));M.b!=M.c.a.d;)for(_=ste(M),d=u(_.d,56),e=u(_.e,56),h=d.Tg(),W=0,jt=(h.i==null&&kd(h),h.i).length;W<jt;++W)if(k=(o=(h.i==null&&kd(h),h.i),W>=0&&W<o.length?o[W]:null),k.Ij()&&!k.Jj()){if(_t(k,99))w=u(k,18),!(w.Bb&Ac)&&(fe=vo(w),!(fe&&fe.Bb&Ac))&&Rmn(t,w,d,e);else if(po(),u(k,66).Oj()&&(n=(Xt=k,u(Xt?u(e,49).xh(Xt):null,153)),n))for(q=u(d.ah(k),153),r=n.gc(),Z=0,G=q.gc();Z<G;++Z)if(B=q.il(Z),_t(B,99)){if(St=q.jl(Z),s=Uv(t,St),s==null&&St!=null){if(Mt=u(B,18),!t.b||Mt.Bb&Ac||vo(Mt))continue;s=St}if(!n.dl(B,s)){for(bt=0;bt<r;++bt)if(n.il(bt)==B&&Ut(n.jl(bt))===Ut(s)){n.ii(n.gc()-1,bt),--r;break}}}else n.dl(q.il(Z),q.jl(Z))}}function J3n(t,e,n,r,s,o,h){var d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;if(bt=ryn(e,n,t.g),s.n&&s.n&&o&&wf(s,mf(o),(Nl(),rh)),t.b)for(Z=0;Z<bt.c.length;Z++)M=(An(Z,bt.c.length),u(bt.c[Z],200)),Z!=0&&(q=(An(Z-1,bt.c.length),u(bt.c[Z-1],200)),mre(M,q.f+q.b+t.g)),d5n(Z,bt,n,t.g),d1n(t,M),s.n&&o&&wf(s,mf(o),(Nl(),rh));else for(W=new S(bt);W.a<W.c.c.length;)for(G=u(Q(W),200),_=new S(G.a);_.a<_.c.c.length;)k=u(Q(_),187),Mt=new Iwt(k.s,k.t,t.g),syt(Mt,k),de(G.d,Mt);return kfn(t,bt),s.n&&s.n&&o&&wf(s,mf(o),(Nl(),rh)),St=b.Math.max(t.d,r.a-(h.b+h.c)),B=b.Math.max(t.c,r.b-(h.d+h.a)),d=B-t.c,t.e&&t.f&&(w=St/B,w<t.a?St=B*t.a:d+=St/t.a-B),t.e&&Kln(bt,St,d),s.n&&s.n&&o&&wf(s,mf(o),(Nl(),rh)),new Tnt(t.a,St,t.c+d,(x7(),HS))}function t4n(t){var e,n,r,s,o,h,d,w,k,_,M;for(t.j=Pt(Fr,ui,25,t.g,15,1),t.o=new ge,Ts(oc(new En(null,new _n(t.e.b,16)),new X5),new x$t(t)),t.a=Pt(Tl,c0,25,t.b,16,1),GD(new En(null,new _n(t.e.b,16)),new E$t(t)),r=(M=new ge,Ts(Xi(oc(new En(null,new _n(t.e.b,16)),new wQ),new k$t(t)),new YVt(t,M)),M),w=new S(r);w.a<w.c.c.length;)if(d=u(Q(w),508),!(d.c.length<=1)){if(d.c.length==2){Upn(d),xat((An(0,d.c.length),u(d.c[0],17)).d.i)||de(t.o,d);continue}if(!(wdn(d)||ogn(d,new $F)))for(k=new S(d),s=null;k.a<k.c.c.length;)e=u(Q(k),17),n=t.c[e.p],!s||k.a>=k.c.c.length?_=Qwt((Yn(),Ws),ha):_=Qwt((Yn(),ha),ha),_*=2,o=n.a.g,n.a.g=b.Math.max(o,o+(_-o)),h=n.b.g,n.b.g=b.Math.max(h,h+(_-h)),s=e}}function e4n(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(Xt=xKt(t),_=new ge,d=t.c.length,M=d-1,B=d+1;Xt.a.c!=0;){for(;n.b!=0;)St=(sr(n.b!=0),u(bh(n,n.a.a),112)),D_(Xt.a,St)!=null,St.g=M--,t6t(St,e,n,r);for(;e.b!=0;)jt=(sr(e.b!=0),u(bh(e,e.a.a),112)),D_(Xt.a,jt)!=null,jt.g=B++,t6t(jt,e,n,r);for(k=qa,bt=(h=new v_(new g_(new y(Xt.a).a).b),new g(h));kM(bt.a.a);){if(Z=(o=yj(bt.a),u(o.cd(),112)),!r&&Z.b>0&&Z.a<=0){_.c=Pt(ir,De,1,0,5,1),_.c[_.c.length]=Z;break}W=Z.i-Z.d,W>=k&&(W>k&&(_.c=Pt(ir,De,1,0,5,1),k=W),_.c[_.c.length]=Z)}_.c.length!=0&&(w=u(Fe(_,Hz(s,_.c.length)),112),D_(Xt.a,w)!=null,w.g=B++,t6t(w,e,n,r),_.c=Pt(ir,De,1,0,5,1))}for(Mt=t.c.length+1,G=new S(t);G.a<G.c.c.length;)q=u(Q(G),112),q.g<d&&(q.g=q.g+Mt)}function Aq(t,e){var n;if(t.e)throw et(new Xo((D0(Mut),bot+Mut.k+vot)));if(!EYe(t.a,e))throw et(new ic(dfe+e+gfe));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:aw(t);break;case 1:Qp(t),aw(t);break;case 4:d4(t),aw(t);break;case 3:d4(t),Qp(t),aw(t)}break;case 2:switch(e.g){case 1:Qp(t),rat(t);break;case 4:d4(t),aw(t);break;case 3:d4(t),Qp(t),aw(t)}break;case 1:switch(e.g){case 2:Qp(t),rat(t);break;case 4:Qp(t),d4(t),aw(t);break;case 3:Qp(t),d4(t),Qp(t),aw(t)}break;case 4:switch(e.g){case 2:d4(t),aw(t);break;case 1:d4(t),Qp(t),aw(t);break;case 3:Qp(t),rat(t)}break;case 3:switch(e.g){case 2:Qp(t),d4(t),aw(t);break;case 1:Qp(t),d4(t),Qp(t),aw(t);break;case 4:Qp(t),rat(t)}}return t}function _4(t,e){var n;if(t.d)throw et(new Xo((D0(Zut),bot+Zut.k+vot)));if(!TYe(t.a,e))throw et(new ic(dfe+e+gfe));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:fb(t);break;case 1:Xp(t),fb(t);break;case 4:g4(t),fb(t);break;case 3:g4(t),Xp(t),fb(t)}break;case 2:switch(e.g){case 1:Xp(t),iat(t);break;case 4:g4(t),fb(t);break;case 3:g4(t),Xp(t),fb(t)}break;case 1:switch(e.g){case 2:Xp(t),iat(t);break;case 4:Xp(t),g4(t),fb(t);break;case 3:Xp(t),g4(t),Xp(t),fb(t)}break;case 4:switch(e.g){case 2:g4(t),fb(t);break;case 1:g4(t),Xp(t),fb(t);break;case 3:Xp(t),iat(t)}break;case 3:switch(e.g){case 2:Xp(t),g4(t),fb(t);break;case 1:Xp(t),g4(t),Xp(t),fb(t);break;case 4:Xp(t),iat(t)}}return t}function n4n(t,e,n){var r,s,o,h,d,w,k,_;for(w=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));w.e!=w.i.gc();)for(d=u(Tr(w),33),s=new pr(xr(U0(d).a.Kc(),new H));ti(s);){if(r=u(qr(s),79),!r.b&&(r.b=new Tn(Lr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c.i<=1)))throw et(new FT("Graph must not contain hyperedges."));if(!gC(r)&&d!=Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82)))for(k=new IWt,Vo(k,r),ne(k,(Kp(),Cx),r),wtt(k,u(gc(Ho(n.f,d)),144)),E1(k,u(cr(n,Go(u(At((!r.c&&(r.c=new Tn(Lr,r,5,8)),r.c),0),82))),144)),de(e.c,k),h=new hr((!r.n&&(r.n=new pe(nc,r,1,7)),r.n));h.e!=h.i.gc();)o=u(Tr(h),137),_=new NZt(k,o.a),Vo(_,o),ne(_,Cx,o),_.e.a=b.Math.max(o.g,1),_.e.b=b.Math.max(o.f,1),r6t(_),de(e.d,_)}}function r4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(M=new v6t(t),ern(M,!(e==(ko(),tg)||e==J0)),_=M.a,B=new m6,s=(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])),h=0,w=s.length;h<w;++h)n=s[h],k=tnt(_,wc,n),k&&(B.d=b.Math.max(B.d,k.Re()));for(r=ct(ot(My,1),ue,232,0,[wc,uu,mc]),o=0,d=r.length;o<d;++o)n=r[o],k=tnt(_,mc,n),k&&(B.a=b.Math.max(B.a,k.Re()));for(W=ct(ot(My,1),ue,232,0,[wc,uu,mc]),bt=0,St=W.length;bt<St;++bt)q=W[bt],k=tnt(_,q,wc),k&&(B.b=b.Math.max(B.b,k.Se()));for(G=ct(ot(My,1),ue,232,0,[wc,uu,mc]),Z=0,Mt=G.length;Z<Mt;++Z)q=G[Z],k=tnt(_,q,mc),k&&(B.c=b.Math.max(B.c,k.Se()));return B.d>0&&(B.d+=_.n.d,B.d+=_.d),B.a>0&&(B.a+=_.n.a,B.a+=_.d),B.b>0&&(B.b+=_.n.b,B.b+=_.d),B.c>0&&(B.c+=_.n.c,B.c+=_.d),B}function nhe(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G;for(B=n.d,M=n.c,o=new $e(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=o.b,k=new S(t.a);k.a<k.c.c.length;)if(d=u(Q(k),10),d.k==(Yn(),Fs)){switch(r=u(K(d,(oe(),yc)),61),s=u(K(d,KEt),8),_=d.n,r.g){case 2:_.a=n.f.a+B.c-M.a;break;case 4:_.a=-M.a-B.b}switch(G=0,r.g){case 2:case 4:e==(ka(),p0)?(q=Zt(ke(K(d,Dw))),_.b=o.b*q-u(K(d,(Te(),Pw)),8).b,G=_.b+s.b,gz(d,!1,!0)):e==eu&&(_.b=Zt(ke(K(d,Dw)))-u(K(d,(Te(),Pw)),8).b,G=_.b+s.b,gz(d,!1,!0))}h=b.Math.max(h,G)}for(n.f.b+=h-o.b,w=new S(t.a);w.a<w.c.c.length;)if(d=u(Q(w),10),d.k==(Yn(),Fs))switch(r=u(K(d,(oe(),yc)),61),_=d.n,r.g){case 1:_.b=-M.b-B.d;break;case 3:_.b=n.f.b+B.a-M.b}}function i4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke;for(s=u(K(t,(Sc(),jS)),33),k=Di,_=Di,d=qa,w=qa,fe=gi(t.b,0);fe.b!=fe.d.c;)jt=u(di(fe),86),W=jt.e,Z=jt.f,k=b.Math.min(k,W.a-Z.a/2),_=b.Math.min(_,W.b-Z.b/2),d=b.Math.max(d,W.a+Z.a/2),w=b.Math.max(w,W.b+Z.b/2);for(G=u(He(s,(lw(),eye)),116),q=new $e(G.b-k,G.d-_),Xt=gi(t.b,0);Xt.b!=Xt.d.c;)jt=u(di(Xt),86),B=K(jt,jS),_t(B,239)&&(o=u(B,33),M=$i(jt.e,q),S1(o,M.a-o.g/2,M.b-o.f/2));for(St=gi(t.a,0);St.b!=St.d.c;)Mt=u(di(St),188),r=u(K(Mt,jS),79),r&&(e=Mt.a,bt=new No(Mt.b.e),Cs(e,bt,e.a,e.a.a),Ae=new No(Mt.c.e),Cs(e,Ae,e.c.b,e.c),Eae(bt,u(n1(e,1),8),Mt.b.f),Eae(Ae,u(n1(e,e.b-2),8),Mt.c.f),n=y4(r,!0,!0),EI(e,n));Ke=d-k+(G.b+G.c),h=w-_+(G.d+G.a),dw(s,Ke,h,!1,!1)}function s4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(M=t.b,_=new Sa(M,0),Rm(_,new Oh(t)),Mt=!1,h=1;_.b<_.d.gc();){for(k=(sr(_.b<_.d.gc()),u(_.d.Xb(_.c=_.b++),29)),W=(An(h,M.c.length),u(M.c[h],29)),Z=Hv(k.a),bt=Z.c.length,G=new S(Z);G.a<G.c.c.length;)B=u(Q(G),10),Bo(B,W);if(Mt){for(q=Rwt(new wv(Z),0);q.c.Sb();)for(B=u(cJt(q),10),o=new S(Hv(Jo(B)));o.a<o.c.c.length;)s=u(Q(o),17),fw(s,!0),ne(t,(oe(),TO),(Rn(),!0)),r=Ole(t,s,bt),n=u(K(B,Aw),305),St=u(Fe(r,r.c.length-1),17),n.k=St.c.i,n.n=St,n.b=s.d.i,n.c=s;Mt=!1}else Z.c.length!=0&&(e=(An(0,Z.c.length),u(Z.c[0],10)),e.k==(Yn(),W1)&&(Mt=!0,h=-1));++h}for(d=new Sa(t.b,0);d.b<d.d.gc();)w=(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)),w.a.c.length==0&&Ol(d)}function a4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;if(_=u(u(ji(t.r,e),21),84),_.gc()<=2||e==(ye(),Wn)||e==(ye(),jn)){khe(t,e);return}for(W=t.u.Hc((cl(),Gx)),n=e==(ye(),Nn)?(Jv(),uO):(Jv(),cO),bt=e==Nn?(Lu(),Sf):(Lu(),a1),r=Zpt(bvt(n),t.s),Z=e==Nn?ms:Rs,k=_.Kc();k.Ob();)d=u(k.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&(G=d.b.rf(),q=d.e,M=d.c,B=M.i,B.b=(o=M.n,M.e.a+o.b+o.c),B.a=(h=M.n,M.e.b+h.d+h.a),W?(B.c=q.a-(s=M.n,M.e.a+s.b+s.c)-t.s,W=!1):B.c=q.a+G.a+t.s,rD(bt,U6t),M.f=bt,Qf(M,(ol(),Cf)),de(r.d,new Int(B,Xyt(r,B))),Z=e==Nn?b.Math.min(Z,q.b):b.Math.max(Z,q.b+d.b.rf().b));for(Z+=e==Nn?-t.t:t.t,f3t((r.e=Z,r)),w=_.Kc();w.Ob();)d=u(w.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&(B=d.c.i,B.c-=d.e.a,B.d-=d.e.b)}function o4n(t,e,n){var r;if(Dr(n,"StretchWidth layering",1),e.a.c.length==0){br(n);return}for(t.c=e,t.t=0,t.u=0,t.i=ms,t.g=Rs,t.d=Zt(ke(K(e,(Te(),Af)))),Bhn(t),jpn(t),Rpn(t),q1n(t),Vln(t),t.i=b.Math.max(1,t.i),t.g=b.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=Zhn(t),r=new Oh(t.c),de(t.c.b,r),t.r=Hv(t.p),t.n=f$(t.k,t.k.length);t.r.c.length!=0;)t.o=fun(t),!t.o||Xne(t)&&t.b.a.gc()!=0?(ddn(t,r),r=new Oh(t.c),de(t.c.b,r),so(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):Xne(t)?(t.c.b.c=Pt(ir,De,1,0,5,1),r=new Oh(t.c),de(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=Hv(t.p),t.n=f$(t.k,t.k.length)):(Bo(t.o,r),Au(t.r,t.o),Ys(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c=Pt(ir,De,1,0,5,1),Bst(e.b),br(n)}function c4n(t){var e,n,r,s;for(Ts(Xi(new En(null,new _n(t.a.b,16)),new vX),new wX),tdn(t),Ts(Xi(new En(null,new _n(t.a.b,16)),new mX),new yX),t.c==(V0(),Vx)&&(Ts(Xi(oc(new En(null,new _n(new Tm(t.f),1)),new xX),new kX),new Itt(t)),Ts(Xi(Cu(oc(oc(new En(null,new _n(t.d.b,16)),new EF),new EX),new TF),new TX),new Ptt(t))),s=new $e(ms,ms),e=new $e(Rs,Rs),r=new S(t.a.b);r.a<r.c.c.length;)n=u(Q(r),57),s.a=b.Math.min(s.a,n.d.c),s.b=b.Math.min(s.b,n.d.d),e.a=b.Math.max(e.a,n.d.c+n.d.b),e.b=b.Math.max(e.b,n.d.d+n.d.a);$i(Yf(t.d.c),xj(new $e(s.a,s.b))),$i(Yf(t.d.f),ba(new $e(e.a,e.b),s)),lbn(t,s,e),al(t.f),al(t.b),al(t.g),al(t.e),t.a.a.c=Pt(ir,De,1,0,5,1),t.a.b.c=Pt(ir,De,1,0,5,1),t.a=null,t.d=null}function rhe(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(s=new ge,W=new S(e.a);W.a<W.c.c.length;)if(G=u(Q(W),10),q=G.e,q&&(r=rhe(t,q,G),Hs(s,r),k3n(t,q,G),u(K(q,(oe(),tu)),21).Hc((Eo(),Th))))for(Mt=u(K(G,(Te(),xs)),98),B=u(K(G,qy),174).Hc((cl(),ng)),bt=new S(G.j);bt.a<bt.c.c.length;)for(Z=u(Q(bt),11),o=u(cr(t.b,Z),10),o||(o=SI(Z,Mt,Z.j,-(Z.e.c.length-Z.g.c.length),null,new $a,Z.o,u(K(q,Jl),103),q),ne(o,Bi,Z),Ni(t.b,Z,o),de(q.a,o)),h=u(Fe(o.j,0),11),_=new S(Z.f);_.a<_.c.c.length;)k=u(Q(_),70),d=new nHt,d.o.a=k.o.a,d.o.b=k.o.b,de(h.f,d),B||(St=Z.j,M=0,T_(u(K(G,qy),21))&&(M=Q4t(k.n,k.o,Z.o,0,St)),Mt==(ka(),Q1)||(ye(),vu).Hc(St)?d.o.a=M:d.o.b=M);return w=new ge,O3n(t,e,n,s,w),n&&Yyn(t,e,n,w),w}function b6t(t,e,n){var r,s,o,h,d,w,k,_,M;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,_=new S(e.j);_.a<_.c.c.length;)for(k=u(Q(_),11),M=n?new ca(k):new Nr(k),w=M.Kc();w.Ob();)d=u(w.Pb(),11),h=d.i,h.c==e.c?h!=e&&(b6t(t,h,n),t.c[e.c.p][e.p].b+=t.c[h.c.p][h.p].b,t.c[e.c.p][e.p].d+=t.c[h.c.p][h.p].d):(t.c[e.c.p][e.p].d+=t.g[d.p],++t.c[e.c.p][e.p].b);if(o=u(K(e,(oe(),VEt)),15),o)for(s=o.Kc();s.Ob();)r=u(s.Pb(),10),e.c==r.c&&(b6t(t,r,n),t.c[e.c.p][e.p].b+=t.c[r.c.p][r.p].b,t.c[e.c.p][e.p].d+=t.c[r.c.p][r.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=wl(t.i,24)*RI*.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)}}function u4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(G=new S(t);G.a<G.c.c.length;){for(q=u(Q(G),10),Ag(q.n),Ag(q.o),vmt(q.f),mue(q),$vn(q),Z=new S(q.j);Z.a<Z.c.c.length;){for(W=u(Q(Z),11),Ag(W.n),Ag(W.a),Ag(W.o),Qs(W,sse(W.j)),o=u(K(W,(Te(),Qg)),19),o&&ne(W,Qg,ve(-o.a)),s=new S(W.g);s.a<s.c.c.length;){for(r=u(Q(s),17),n=gi(r.a,0);n.b!=n.d.c;)e=u(di(n),8),Ag(e);if(w=u(K(r,zo),74),w)for(d=gi(w,0);d.b!=d.d.c;)h=u(di(d),8),Ag(h);for(M=new S(r.b);M.a<M.c.c.length;)k=u(Q(M),70),Ag(k.n),Ag(k.o)}for(B=new S(W.f);B.a<B.c.c.length;)k=u(Q(B),70),Ag(k.n),Ag(k.o)}for(q.k==(Yn(),Fs)&&(ne(q,(oe(),yc),sse(u(K(q,yc),61))),Xbn(q)),_=new S(q.b);_.a<_.c.c.length;)k=u(Q(_),70),mue(k),Ag(k.o),Ag(k.n)}}function l4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;for(t.e=e,d=lpn(e),fe=new ge,r=new S(d);r.a<r.c.c.length;){for(n=u(Q(r),15),Ae=new ge,fe.c[fe.c.length]=Ae,w=new na,G=n.Kc();G.Ob();){for(q=u(G.Pb(),33),o=mI(t,q,!0,0,0),Ae.c[Ae.c.length]=o,W=q.i,Z=q.j,B=(!q.n&&(q.n=new pe(nc,q,1,7)),q.n),M=new hr(B);M.e!=M.i.gc();)k=u(Tr(M),137),s=mI(t,k,!1,W,Z),Ae.c[Ae.c.length]=s;for(Xt=(!q.c&&(q.c=new pe(El,q,9,9)),q.c),Mt=new hr(Xt);Mt.e!=Mt.i.gc();)for(bt=u(Tr(Mt),118),h=mI(t,bt,!1,W,Z),Ae.c[Ae.c.length]=h,St=bt.i+W,jt=bt.j+Z,B=(!bt.n&&(bt.n=new pe(nc,bt,1,7)),bt.n),_=new hr(B);_.e!=_.i.gc();)k=u(Tr(_),137),s=mI(t,k,!1,St,jt),Ae.c[Ae.c.length]=s;so(w,o$(B1(ct(ot(G1,1),De,20,0,[U0(q),pI(q)]))))}tbn(t,w,Ae)}return t.f=new Jqt(fe),Vo(t.f,e),t.f}function h4n(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;$n=cr(t.e,r),$n==null&&($n=new y6,q=u($n,183),Mt=e+"_s",St=Mt+s,B=new Hm(St),Zf(q,Id,B)),Ze=u($n,183),R6(n,Ze),kr=new y6,eb(kr,"x",r.j),eb(kr,"y",r.k),Zf(Ze,yde,kr),Ae=new y6,eb(Ae,"x",r.b),eb(Ae,"y",r.c),Zf(Ze,"endPoint",Ae),M=pM((!r.a&&(r.a=new qs(Qh,r,5)),r.a)),G=!M,G&&(fe=new yg,o=new szt(fe),Pa((!r.a&&(r.a=new qs(Qh,r,5)),r.a),o),Zf(Ze,yH,fe)),w=sst(r),jt=!!w,jt&&T4t(t.a,Ze,p8t,Fst(t,sst(r))),bt=ast(r),Xt=!!bt,Xt&&T4t(t.a,Ze,g8t,Fst(t,ast(r))),k=(!r.e&&(r.e=new Tn(fs,r,10,9)),r.e).i==0,W=!k,W&&(Ke=new yg,h=new _Gt(t,Ke),Pa((!r.e&&(r.e=new Tn(fs,r,10,9)),r.e),h),Zf(Ze,v8t,Ke)),_=(!r.g&&(r.g=new Tn(fs,r,9,10)),r.g).i==0,Z=!_,Z&&(Vn=new yg,d=new CGt(t,Vn),Pa((!r.g&&(r.g=new Tn(fs,r,9,10)),r.g),d),Zf(Ze,b8t,Vn))}function f4n(t){Bm();var e,n,r,s,o,h,d;for(r=t.f.n,h=hwt(t.r).a.nc();h.Ob();){if(o=u(h.Pb(),111),s=0,o.b.Xe((Ei(),kl))&&(s=Zt(ke(o.b.We(kl))),s<0))switch(o.b.Hf().g){case 1:r.d=b.Math.max(r.d,-s);break;case 3:r.a=b.Math.max(r.a,-s);break;case 2:r.c=b.Math.max(r.c,-s);break;case 4:r.b=b.Math.max(r.b,-s)}if(T_(t.u))switch(e=Fon(o.b,s),d=!u(t.e.We(x2),174).Hc((ml(),aP)),n=!1,o.b.Hf().g){case 1:n=e>r.d,r.d=b.Math.max(r.d,e),d&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+s);break;case 3:n=e>r.a,r.a=b.Math.max(r.a,e),d&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+s);break;case 2:n=e>r.c,r.c=b.Math.max(r.c,e),d&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+s);break;case 4:n=e>r.b,r.b=b.Math.max(r.b,e),d&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+s)}}}function d4n(t){var e,n,r,s,o,h,d,w,k,_,M;for(k=new S(t);k.a<k.c.c.length;){switch(w=u(Q(k),10),h=u(K(w,(Te(),bu)),163),o=null,h.g){case 1:case 2:o=(hb(),G4);break;case 3:case 4:o=(hb(),l9)}if(o)ne(w,(oe(),GV),(hb(),G4)),o==l9?fq(w,h,(xo(),ll)):o==G4&&fq(w,h,(xo(),lu));else if(V3(u(K(w,xs),98))&&w.j.c.length!=0){for(e=!0,M=new S(w.j);M.a<M.c.c.length;){if(_=u(Q(M),11),!(_.j==(ye(),Wn)&&_.e.c.length-_.g.c.length>0||_.j==jn&&_.e.c.length-_.g.c.length<0)){e=!1;break}for(s=new S(_.g);s.a<s.c.c.length;)if(n=u(Q(s),17),d=u(K(n.d.i,bu),163),d==(mh(),xS)||d==Fy){e=!1;break}for(r=new S(_.e);r.a<r.c.c.length;)if(n=u(Q(r),17),d=u(K(n.c.i,bu),163),d==(mh(),yS)||d==b2){e=!1;break}}e&&fq(w,h,(xo(),MS))}}}function g4n(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;for(fe=0,q=0,M=new S(e.e);M.a<M.c.c.length;){for(_=u(Q(M),10),B=0,d=0,w=n?u(K(_,vG),19).a:qa,bt=r?u(K(_,wG),19).a:qa,k=b.Math.max(w,bt),St=new S(_.j);St.a<St.c.c.length;){if(Mt=u(Q(St),11),jt=_.n.b+Mt.n.b+Mt.a.b,r)for(h=new S(Mt.g);h.a<h.c.c.length;)o=u(Q(h),17),W=o.d,G=W.i,e!=t.a[G.p]&&(Z=b.Math.max(u(K(G,vG),19).a,u(K(G,wG),19).a),Xt=u(K(o,(Te(),Bx)),19).a,Xt>=k&&Xt>=Z&&(B+=G.n.b+W.n.b+W.a.b-jt,++d));if(n)for(h=new S(Mt.e);h.a<h.c.c.length;)o=u(Q(h),17),W=o.c,G=W.i,e!=t.a[G.p]&&(Z=b.Math.max(u(K(G,vG),19).a,u(K(G,wG),19).a),Xt=u(K(o,(Te(),Bx)),19).a,Xt>=k&&Xt>=Z&&(B+=G.n.b+W.n.b+W.a.b-jt,++d))}d>0&&(fe+=B/d,++q)}q>0?(e.a=s*fe/q,e.g=q):(e.a=0,e.g=0)}function p4n(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(s=new S(t.a.b);s.a<s.c.c.length;)for(n=u(Q(s),29),w=new S(n.a);w.a<w.c.c.length;)d=u(Q(w),10),e.j[d.p]=d,e.i[d.p]=e.o==(D1(),Y1)?Rs:ms;for(al(t.c),h=t.a.b,e.c==(yd(),Zg)&&(h=_t(h,152)?U6(u(h,152)):_t(h,131)?u(h,131).a:_t(h,54)?new wv(h):new Mm(h)),can(t.e,e,t.b),EM(e.p,null),o=h.Kc();o.Ob();)for(n=u(o.Pb(),29),k=n.a,e.o==(D1(),Y1)&&(k=_t(k,152)?U6(u(k,152)):_t(k,131)?u(k,131).a:_t(k,54)?new wv(k):new Mm(k)),B=k.Kc();B.Ob();)M=u(B.Pb(),10),e.g[M.p]==M&&The(t,M,e);for(i3n(t,e),r=h.Kc();r.Ob();)for(n=u(r.Pb(),29),B=new S(n.a);B.a<B.c.c.length;)M=u(Q(B),10),e.p[M.p]=e.p[e.g[M.p].p],M==e.g[M.p]&&(_=Zt(e.i[e.j[M.p].p]),(e.o==(D1(),Y1)&&_>Rs||e.o==zb&&_<ms)&&(e.p[M.p]=Zt(e.p[M.p])+_));t.e.cg()}function ihe(t,e,n,r){var s,o,h,d,w;return d=new v6t(e),bbn(d,r),s=!0,t&&t.Xe((Ei(),Rw))&&(o=u(t.We((Ei(),Rw)),103),s=o==(ko(),f0)||o==Wh||o==Lf),cue(d,!1),Mu(d.e.wf(),new dvt(d,!1,s)),frt(d,d.f,(Jf(),wc),(ye(),Nn)),frt(d,d.f,mc,Ir),frt(d,d.g,wc,jn),frt(d,d.g,mc,Wn),Uie(d,Nn),Uie(d,Ir),hXt(d,Wn),hXt(d,jn),Bm(),h=d.A.Hc((Fl(),Xy))&&d.B.Hc((ml(),oP))?iie(d):null,h&&BKe(d.a,h),f4n(d),Afn(d),Lfn(d),B3n(d),bwn(d),e1n(d),Qit(d,Nn),Qit(d,Ir),Yvn(d),pyn(d),n&&(dln(d),n1n(d),Qit(d,Wn),Qit(d,jn),w=d.B.Hc((ml(),eA)),roe(d,w,Nn),roe(d,w,Ir),ioe(d,w,Wn),ioe(d,w,jn),Ts(new En(null,new _n(new T1(d.i),0)),new Bs),Ts(Xi(new En(null,hwt(d.r).a.oc()),new _a),new Ma),vdn(d),d.e.uf(d.o),Ts(new En(null,hwt(d.r).a.oc()),new ov)),d.o}function b4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(k=ms,r=new S(t.a.b);r.a<r.c.c.length;)e=u(Q(r),81),k=b.Math.min(k,e.d.f.g.c+e.e.a);for(q=new hs,h=new S(t.a.a);h.a<h.c.c.length;)o=u(Q(h),189),o.i=k,o.e==0&&Cs(q,o,q.c.b,q.c);for(;q.b!=0;){for(o=u(q.b==0?null:(sr(q.b!=0),bh(q,q.a.a)),189),s=o.f.g.c,B=o.a.a.ec().Kc();B.Ob();)_=u(B.Pb(),81),W=o.i+_.e.a,_.d.g||_.g.c<W?_.o=W:_.o=_.g.c;for(s-=o.f.o,o.b+=s,t.c==(ko(),Lf)||t.c==J0?o.c+=s:o.c-=s,M=o.a.a.ec().Kc();M.Ob();)for(_=u(M.Pb(),81),w=_.f.Kc();w.Ob();)d=u(w.Pb(),81),Bp(t.c)?G=t.f.ef(_,d):G=t.f.ff(_,d),d.d.i=b.Math.max(d.d.i,_.o+_.g.b+G-d.e.a),d.k||(d.d.i=b.Math.max(d.d.i,d.g.c-d.e.a)),--d.d.e,d.d.e==0&&pi(q,d.d)}for(n=new S(t.a.b);n.a<n.c.c.length;)e=u(Q(n),81),e.g.c=e.o}function v4n(t){var e,n,r,s,o,h,d,w;switch(d=t.b,e=t.a,u(K(t,(Xz(),B7t)),427).g){case 0:ua(d,new ft(new ci));break;case 1:default:ua(d,new ft(new Qa))}switch(u(K(t,N7t),428).g){case 1:ua(d,new Cr),ua(d,new kc),ua(d,new ad);break;case 0:default:ua(d,new Cr),ua(d,new Ue)}switch(u(K(t,j7t),250).g){case 0:w=new k3;break;case 1:w=new xu;break;case 2:w=new uf;break;case 3:w=new yo;break;case 5:w=new Er(new uf);break;case 4:w=new Er(new xu);break;case 7:w=new y2t(new Er(new xu),new Er(new uf));break;case 8:w=new y2t(new Er(new yo),new Er(new uf));break;case 6:default:w=new Er(new yo)}for(h=new S(d);h.a<h.c.c.length;){for(o=u(Q(h),167),r=0,s=0,n=new Ca(ve(r),ve(s));nmn(e,o,r,s);)n=u(w.Ce(n,o),46),r=u(n.a,19).a,s=u(n.b,19).a;twn(e,o,r,s)}}function w4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;for(o=t.f.b,B=o.a,_=o.b,G=t.e.g,q=t.e.f,oj(t.e,o.a,o.b),fe=B/G,Ae=_/q,k=new hr(t$(t.e));k.e!=k.i.gc();)w=u(Tr(k),137),Du(w,w.i*fe),Iu(w,w.j*Ae);for(Mt=new hr(Znt(t.e));Mt.e!=Mt.i.gc();)bt=u(Tr(Mt),118),jt=bt.i,Xt=bt.j,jt>0&&Du(bt,jt*fe),Xt>0&&Iu(bt,Xt*Ae);for(U_(t.b,new fm),e=new ge,d=new db(new kg(t.c).a);d.b;)h=Kv(d),r=u(h.cd(),79),n=u(h.dd(),395).a,s=y4(r,!1,!1),M=rae(n0(r),cI(s),n),EI(M,s),St=pae(r),St&&Zo(e,St,0)==-1&&(e.c[e.c.length]=St,xXt(St,(sr(M.b!=0),u(M.a.a.c,8)),n));for(Z=new db(new kg(t.d).a);Z.b;)W=Kv(Z),r=u(W.cd(),79),n=u(W.dd(),395).a,s=y4(r,!1,!1),M=rae(t2(r),$D(cI(s)),n),M=$D(M),EI(M,s),St=bae(r),St&&Zo(e,St,0)==-1&&(e.c[e.c.length]=St,xXt(St,(sr(M.b!=0),u(M.c.b.c,8)),n))}function she(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;if(n.c.length!=0){for(q=new ge,B=new S(n);B.a<B.c.c.length;)M=u(Q(B),33),de(q,new $e(M.i,M.j));for(r.n&&e&&wf(r,mf(e),(Nl(),rh));A4t(t,n);)oq(t,n,!1);for(r.n&&e&&wf(r,mf(e),(Nl(),rh)),h=0,d=0,s=null,n.c.length!=0&&(s=(An(0,n.c.length),u(n.c[0],33)),h=s.i-(An(0,q.c.length),u(q.c[0],8)).a,d=s.j-(An(0,q.c.length),u(q.c[0],8)).b),o=b.Math.sqrt(h*h+d*d),_=Cre(n);_.a.gc()!=0;){for(k=_.a.ec().Kc();k.Ob();)w=u(k.Pb(),33),G=t.f,W=G.i+G.g/2,Z=G.j+G.f/2,bt=w.i+w.g/2,Mt=w.j+w.f/2,St=bt-W,jt=Mt-Z,Xt=b.Math.sqrt(St*St+jt*jt),fe=St/Xt,Ae=jt/Xt,Du(w,w.i+fe*o),Iu(w,w.j+Ae*o);r.n&&e&&wf(r,mf(e),(Nl(),rh)),_=Cre(new Uu(_))}t.a&&t.a.lg(new Uu(_)),r.n&&e&&wf(r,mf(e),(Nl(),rh)),she(t,e,new Uu(_),r)}}function m4n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;if(W=t.n,Z=t.o,B=t.d,M=Zt(ke(iy(t,(Te(),Jlt)))),e){for(_=M*(e.gc()-1),q=0,w=e.Kc();w.Ob();)h=u(w.Pb(),10),_+=h.o.a,q=b.Math.max(q,h.o.b);for(bt=W.a-(_-Z.a)/2,o=W.b-B.d+q,r=Z.a/(e.gc()+1),s=r,d=e.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=bt,h.n.b=o-h.o.b,bt+=h.o.a+M,k=vce(h),k.n.a=h.o.a/2-k.a.a,k.n.b=h.o.b,G=u(K(h,(oe(),HV)),11),G.e.c.length+G.g.c.length==1&&(G.n.a=s-G.a.a,G.n.b=0,ac(G,t)),s+=r}if(n){for(_=M*(n.gc()-1),q=0,w=n.Kc();w.Ob();)h=u(w.Pb(),10),_+=h.o.a,q=b.Math.max(q,h.o.b);for(bt=W.a-(_-Z.a)/2,o=W.b+Z.b+B.a-q,r=Z.a/(n.gc()+1),s=r,d=n.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=bt,h.n.b=o,bt+=h.o.a+M,k=vce(h),k.n.a=h.o.a/2-k.a.a,k.n.b=0,G=u(K(h,(oe(),HV)),11),G.e.c.length+G.g.c.length==1&&(G.n.a=s-G.a.a,G.n.b=Z.b,ac(G,t)),s+=r}}function y4n(t,e){var n,r,s,o,h,d;if(u(K(e,(oe(),tu)),21).Hc((Eo(),Th))){for(d=new S(e.a);d.a<d.c.c.length;)o=u(Q(d),10),o.k==(Yn(),Ws)&&(s=u(K(o,(Te(),rG)),142),t.c=b.Math.min(t.c,o.n.a-s.b),t.a=b.Math.max(t.a,o.n.a+o.o.a+s.c),t.d=b.Math.min(t.d,o.n.b-s.d),t.b=b.Math.max(t.b,o.n.b+o.o.b+s.a));for(h=new S(e.a);h.a<h.c.c.length;)if(o=u(Q(h),10),o.k!=(Yn(),Ws))switch(o.k.g){case 2:if(r=u(K(o,(Te(),bu)),163),r==(mh(),b2)){o.n.a=t.c-10,Ase(o,new LY).Jb(new go(o));break}if(r==Fy){o.n.a=t.a+10,Ase(o,new MY).Jb(new Sl(o));break}if(n=u(K(o,Nb),303),n==(j0(),W4)){Lle(o).Jb(new Uf(o)),o.n.b=t.d-10;break}if(n==Lx){Lle(o).Jb(new _p(o)),o.n.b=t.b+10;break}break;default:throw et(new Bn("The node type "+o.k+" is not supported by the "+s6n))}}}function x4n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;for(w=new $e(r.i+r.g/2,r.j+r.f/2),q=_le(r),G=u(He(e,(Te(),xs)),98),Z=u(He(r,w9),61),PGt(jie(r),zy)||(r.i==0&&r.j==0?W=0:W=Jdn(r,Z),Do(r,zy,W)),k=new $e(e.g,e.f),s=SI(r,G,Z,q,k,w,new $e(r.g,r.f),u(K(n,Jl),103),n),ne(s,(oe(),Bi),r),o=u(Fe(s.j,0),11),ytt(o,Uwn(r)),ne(s,qy,(cl(),cn(_2))),M=u(He(e,qy),174).Hc(ng),d=new hr((!r.n&&(r.n=new pe(nc,r,1,7)),r.n));d.e!=d.i.gc();)if(h=u(Tr(d),137),!je(Be(He(h,jb)))&&h.a&&(B=Oit(h),de(o.f,B),!M))switch(_=0,T_(u(He(e,qy),21))&&(_=Q4t(new $e(h.i,h.j),new $e(h.g,h.f),new $e(r.g,r.f),0,Z)),Z.g){case 2:case 4:B.o.a=_;break;case 1:case 3:B.o.b=_}ne(s,y9,ke(He(gs(e),y9))),ne(s,x9,ke(He(gs(e),x9))),ne(s,Vy,ke(He(gs(e),Vy))),de(n.a,s),Ni(t.a,r,s)}function ahe(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(Dr(n,"Processor arrange level",1),_=0,pn(),n4(e,new dpt((Sc(),xG))),o=e.b,d=gi(e,e.b),k=!0;k&&d.b.b!=d.d.a;)bt=u(krt(d),86),u(K(bt,xG),19).a==0?--o:k=!1;if(Xt=new Zd(e,0,o),h=new bnt(Xt),Xt=new Zd(e,o,e.b),w=new bnt(Xt),h.b==0)for(G=gi(w,0);G.b!=G.d.c;)q=u(di(G),86),ne(q,TG,ve(_++));else for(M=h.b,jt=gi(h,0);jt.b!=jt.d.c;){for(St=u(di(jt),86),ne(St,TG,ve(_++)),r=dyt(St),ahe(t,r,Kc(n,1/M|0)),n4(r,ywt(new dpt(TG))),B=new hs,Mt=gi(r,0);Mt.b!=Mt.d.c;)for(bt=u(di(Mt),86),Z=gi(St.d,0);Z.b!=Z.d.c;)W=u(di(Z),188),W.c==bt&&Cs(B,W,B.c.b,B.c);for(Ph(St.d),so(St.d,B),d=gi(w,w.b),s=St.d.b,k=!0;0<s&&k&&d.b.b!=d.d.a;)bt=u(krt(d),86),u(K(bt,xG),19).a==0?(ne(bt,TG,ve(_++)),--s,G$(d)):k=!1}br(n)}function k4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(Dr(e,"Inverted port preprocessing",1),_=t.b,k=new Sa(_,0),n=null,St=new ge;k.b<k.d.gc();){for(Mt=n,n=(sr(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),29)),q=new S(St);q.a<q.c.c.length;)M=u(Q(q),10),Bo(M,Mt);for(St.c=Pt(ir,De,1,0,5,1),G=new S(n.a);G.a<G.c.c.length;)if(M=u(Q(G),10),M.k==(Yn(),Ws)&&V3(u(K(M,(Te(),xs)),98))){for(bt=F5t(M,(xo(),ll),(ye(),Wn)).Kc();bt.Ob();)for(W=u(bt.Pb(),11),w=W.e,d=u($1(w,Pt(tlt,Fot,17,w.c.length,0,1)),474),s=d,o=0,h=s.length;o<h;++o)r=s[o],Wmn(t,W,r,St);for(Z=F5t(M,lu,jn).Kc();Z.Ob();)for(W=u(Z.Pb(),11),w=W.g,d=u($1(w,Pt(tlt,Fot,17,w.c.length,0,1)),474),s=d,o=0,h=s.length;o<h;++o)r=s[o],Umn(t,W,r,St)}}for(B=new S(St);B.a<B.c.c.length;)M=u(Q(B),10),Bo(M,n);br(e)}function E4n(t,e,n,r,s,o){var h,d,w,k,_,M;for(k=new zc,Vo(k,e),Qs(k,u(He(e,(Te(),w9)),61)),ne(k,(oe(),Bi),e),ac(k,n),M=k.o,M.a=e.g,M.b=e.f,_=k.n,_.a=e.i,_.b=e.j,Ni(t.a,e,k),h=L8(Cu(oc(new En(null,(!e.e&&(e.e=new Tn(aa,e,7,4)),new _n(e.e,16))),new ZN),new q5),new dr(e)),h||(h=L8(Cu(oc(new En(null,(!e.d&&(e.d=new Tn(aa,e,8,5)),new _n(e.d,16))),new vk),new IE),new gr(e))),h||(h=L8(new En(null,(!e.e&&(e.e=new Tn(aa,e,7,4)),new _n(e.e,16))),new rY)),ne(k,_O,(Rn(),!!h)),$yn(k,o,s,u(He(e,Pw),8)),w=new hr((!e.n&&(e.n=new pe(nc,e,1,7)),e.n));w.e!=w.i.gc();)d=u(Tr(w),137),!je(Be(He(d,jb)))&&d.a&&de(k.f,Oit(d));switch(s.g){case 2:case 1:(k.j==(ye(),Nn)||k.j==Ir)&&r.Fc((Eo(),U4));break;case 4:case 3:(k.j==(ye(),Wn)||k.j==jn)&&r.Fc((Eo(),U4))}return k}function Lat(t,e,n,r,s,o,h){var d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(B=null,r==(zv(),y2)?B=e:r==n5&&(B=n),W=B.a.ec().Kc();W.Ob();){for(G=u(W.Pb(),11),Z=cc(ct(ot(sa,1),re,8,0,[G.i.n,G.n,G.a])).b,St=new na,d=new na,k=new N1(G.b);sc(k.a)||sc(k.b);)if(w=u(sc(k.a)?Q(k.a):Q(k.b),17),je(Be(K(w,(oe(),K1))))==s&&Zo(o,w,0)!=-1){if(w.d==G?bt=w.c:bt=w.d,Mt=cc(ct(ot(sa,1),re,8,0,[bt.i.n,bt.n,bt.a])).b,b.Math.abs(Mt-Z)<.2)continue;Mt<Z?e.a._b(bt)?Ys(St,new Ca(y2,w)):Ys(St,new Ca(n5,w)):e.a._b(bt)?Ys(d,new Ca(y2,w)):Ys(d,new Ca(n5,w))}if(St.a.gc()>1)for(q=new c6t(G,St,r),Pa(St,new ZVt(t,q)),h.c[h.c.length]=q,M=St.a.ec().Kc();M.Ob();)_=u(M.Pb(),46),Au(o,_.b);if(d.a.gc()>1)for(q=new c6t(G,d,r),Pa(d,new JVt(t,q)),h.c[h.c.length]=q,M=d.a.ec().Kc();M.Ob();)_=u(M.Pb(),46),Au(o,_.b)}}function ohe(t){Cv(t,new yb(xR(kv(mv(xv(yv(new mg,Dd),"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 nZ),Dd))),Ee(t,Dd,hH,Ie(Aye)),Ee(t,Dd,ky,Ie(Lye)),Ee(t,Dd,M4,Ie(Tye)),Ee(t,Dd,mx,Ie(_ye)),Ee(t,Dd,wx,Ie(Cye)),Ee(t,Dd,j7,Ie(Eye)),Ee(t,Dd,FC,Ie(mCt)),Ee(t,Dd,$7,Ie(Sye)),Ee(t,Dd,Ect,Ie(Fht)),Ee(t,Dd,kct,Ie(Bht)),Ee(t,Dd,qkt,Ie(yCt)),Ee(t,Dd,Rkt,Ie(AG)),Ee(t,Dd,jkt,Ie(LG)),Ee(t,Dd,$kt,Ie($O)),Ee(t,Dd,zkt,Ie(xCt))}function v6t(t){var e;if(this.r=Zen(new ga,new Es),this.b=new eC(u(zr(uo),290)),this.p=new eC(u(zr(uo),290)),this.i=new eC(u(zr(vpe),290)),this.e=t,this.o=new No(t.rf()),this.D=t.Df()||je(Be(t.We((Ei(),XO)))),this.A=u(t.We((Ei(),Hb)),21),this.B=u(t.We(x2),21),this.q=u(t.We(US),98),this.u=u(t.We(Ky),21),!s0n(this.u))throw et(new B3("Invalid port label placement: "+this.u));if(this.v=je(Be(t.We(JSt))),this.j=u(t.We(a5),21),!L2n(this.j))throw et(new B3("Invalid node label placement: "+this.j));this.n=u(oC(t,$St),116),this.k=Zt(ke(oC(t,VG))),this.d=Zt(ke(oC(t,rAt))),this.w=Zt(ke(oC(t,cAt))),this.s=Zt(ke(oC(t,iAt))),this.t=Zt(ke(oC(t,sAt))),this.C=u(oC(t,aAt),142),this.c=2*this.d,e=!this.B.Hc((ml(),aP)),this.f=new rC(0,e,0),this.g=new rC(1,e,0),Jtt(this.f,(Jf(),uu),this.g)}function T4n(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;for(St=0,G=0,q=0,B=1,Mt=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));Mt.e!=Mt.i.gc();)Z=u(Tr(Mt),33),B+=F0(new pr(xr(U0(Z).a.Kc(),new H))),Ke=Z.g,G=b.Math.max(G,Ke),M=Z.f,q=b.Math.max(q,M),St+=Ke*M;for(W=(!t.a&&(t.a=new pe(bs,t,10,11)),t.a).i,h=St+2*r*r*B*W,o=b.Math.sqrt(h),w=b.Math.max(o*n,G),d=b.Math.max(o/n,q),bt=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));bt.e!=bt.i.gc();)Z=u(Tr(bt),33),Ze=s.b+(wl(e,26)*LC+wl(e,27)*MC)*(w-Z.g),$n=s.b+(wl(e,26)*LC+wl(e,27)*MC)*(d-Z.f),Du(Z,Ze),Iu(Z,$n);for(Ae=w+(s.b+s.c),fe=d+(s.d+s.a),Xt=new hr((!t.a&&(t.a=new pe(bs,t,10,11)),t.a));Xt.e!=Xt.i.gc();)for(jt=u(Tr(Xt),33),_=new pr(xr(U0(jt).a.Kc(),new H));ti(_);)k=u(qr(_),79),gC(k)||_5n(k,e,Ae,fe);Ae+=s.b+s.c,fe+=s.d+s.a,dw(t,Ae,fe,!1,!0)}function Lq(t){var e,n,r,s,o,h,d,w,k,_,M;if(t==null)throw et(new gd(Nu));if(k=t,o=t.length,w=!1,o>0&&(e=(Xr(0,t.length),t.charCodeAt(0)),(e==45||e==43)&&(t=t.substr(1),--o,w=e==45)),o==0)throw et(new gd(bw+k+'"'));for(;t.length>0&&(Xr(0,t.length),t.charCodeAt(0)==48);)t=t.substr(1),--o;if(o>(Yue(),vge)[10])throw et(new gd(bw+k+'"'));for(s=0;s<o;s++)if(Tie((Xr(s,t.length),t.charCodeAt(s)))==-1)throw et(new gd(bw+k+'"'));for(M=0,h=i7t[10],_=Tut[10],d=P8(s7t[10]),n=!0,r=o%h,r>0&&(M=-parseInt(t.substr(0,r),10),t=t.substr(r),o-=r,n=!1);o>=h;){if(r=parseInt(t.substr(0,h),10),t=t.substr(h),o-=h,n)n=!1;else{if(Oc(M,d)<0)throw et(new gd(bw+k+'"'));M=za(M,_)}M=Jp(M,r)}if(Oc(M,0)>0)throw et(new gd(bw+k+'"'));if(!w&&(M=P8(M),Oc(M,0)<0))throw et(new gd(bw+k+'"'));return M}function w6t(t,e){RKt();var n,r,s,o,h,d,w;if(this.a=new cbt(this),this.b=t,this.c=e,this.f=jnt(Ro((Yu(),Fa),e)),this.f.dc())if((d=r4t(Fa,t))==e)for(this.e=!0,this.d=new ge,this.f=new Ck,this.f.Fc(Db),u(_q(kD(Fa,Vl(t)),""),26)==t&&this.f.Fc(k_(Fa,Vl(t))),s=oat(Fa,t).Kc();s.Ob();)switch(r=u(s.Pb(),170),jv(Ro(Fa,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(jnt(Ro(Fa,r)));break}}else if(po(),u(e,66).Oj())for(this.e=!0,this.f=null,this.d=new ge,h=0,w=(t.i==null&&kd(t),t.i).length;h<w;++h)for(r=(n=(t.i==null&&kd(t),t.i),h>=0&&h<n.length?n[h]:null),o=H6(Ro(Fa,r));o;o=H6(Ro(Fa,o)))o==e&&this.d.Fc(r);else jv(Ro(Fa,e))==1&&d?(this.f=null,this.d=(ox(),s5e)):(this.f=null,this.e=!0,this.d=(pn(),new I(e)));else this.e=jv(Ro(Fa,e))==5,this.f.Fb(Lft)&&(this.f=Lft)}function che(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;for(n=0,r=vfn(t,e),B=t.s,q=t.t,k=u(u(ji(t.r,e),21),84).Kc();k.Ob();)if(w=u(k.Pb(),111),!(!w.c||w.c.d.c.length<=0)){switch(G=w.b.rf(),d=w.b.Xe((Ei(),kl))?Zt(ke(w.b.We(kl))):0,_=w.c,M=_.i,M.b=(h=_.n,_.e.a+h.b+h.c),M.a=(o=_.n,_.e.b+o.d+o.a),e.g){case 1:M.c=w.a?(G.a-M.b)/2:G.a+B,M.d=G.b+d+r,Qf(_,(ol(),f2)),vd(_,(Lu(),a1));break;case 3:M.c=w.a?(G.a-M.b)/2:G.a+B,M.d=-d-r-M.a,Qf(_,(ol(),f2)),vd(_,(Lu(),Sf));break;case 2:M.c=-d-r-M.b,w.a?(s=t.v?M.a:u(Fe(_.d,0),181).rf().b,M.d=(G.b-s)/2):M.d=G.b+q,Qf(_,(ol(),Cf)),vd(_,(Lu(),d2));break;case 4:M.c=G.a+d+r,w.a?(s=t.v?M.a:u(Fe(_.d,0),181).rf().b,M.d=(G.b-s)/2):M.d=G.b+q,Qf(_,(ol(),Pd)),vd(_,(Lu(),d2))}(e==(ye(),Nn)||e==Ir)&&(n=b.Math.max(n,M.a))}n>0&&(u(Lo(t.b,e),124).a.b=n)}function _4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(Dr(e,"Comment pre-processing",1),n=0,w=new S(t.a);w.a<w.c.c.length;)if(d=u(Q(w),10),je(Be(K(d,(Te(),kS))))){for(++n,s=0,r=null,k=null,G=new S(d.j);G.a<G.c.c.length;)B=u(Q(G),11),s+=B.e.c.length+B.g.c.length,B.e.c.length==1&&(r=u(Fe(B.e,0),17),k=r.c),B.g.c.length==1&&(r=u(Fe(B.g,0),17),k=r.d);if(s==1&&k.e.c.length+k.g.c.length==1&&!je(Be(K(k.i,kS))))J4n(d,r,k,k.i),C_(w);else{for(bt=new ge,q=new S(d.j);q.a<q.c.c.length;){for(B=u(Q(q),11),M=new S(B.g);M.a<M.c.c.length;)_=u(Q(M),17),_.d.g.c.length==0||(bt.c[bt.c.length]=_);for(h=new S(B.e);h.a<h.c.c.length;)o=u(Q(h),17),o.c.e.c.length==0||(bt.c[bt.c.length]=o)}for(Z=new S(bt);Z.a<Z.c.c.length;)W=u(Q(Z),17),fw(W,!0)}}e.n&&Q2(e,"Found "+n+" comment boxes"),br(e)}function C4n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W;if(B=Zt(ke(K(t,(Te(),y9)))),q=Zt(ke(K(t,x9))),M=Zt(ke(K(t,Vy))),d=t.o,o=u(Fe(t.j,0),11),h=o.n,W=rgn(o,M),!!W){if(e.Hc((cl(),ng)))switch(u(K(t,(oe(),yc)),61).g){case 1:W.c=(d.a-W.b)/2-h.a,W.d=q;break;case 3:W.c=(d.a-W.b)/2-h.a,W.d=-q-W.a;break;case 2:n&&o.e.c.length==0&&o.g.c.length==0?(_=r?W.a:u(Fe(o.f,0),70).o.b,W.d=(d.b-_)/2-h.b):W.d=d.b+q-h.b,W.c=-B-W.b;break;case 4:n&&o.e.c.length==0&&o.g.c.length==0?(_=r?W.a:u(Fe(o.f,0),70).o.b,W.d=(d.b-_)/2-h.b):W.d=d.b+q-h.b,W.c=B}else if(e.Hc(_2))switch(u(K(t,(oe(),yc)),61).g){case 1:case 3:W.c=h.a+B;break;case 2:case 4:n&&!o.c?(_=r?W.a:u(Fe(o.f,0),70).o.b,W.d=(d.b-_)/2-h.b):W.d=h.b+q}for(s=W.d,k=new S(o.f);k.a<k.c.c.length;)w=u(Q(k),70),G=w.n,G.a=W.c,G.b=s,s+=w.o.b+M}}function S4n(){vi(pP,new wJ),vi(lU,new kJ),vi(bP,new Pk),vi(fLt,new SJ),vi(Le,new Bk),vi(ot(tl,1),new hT),vi(Zs,new LJ),vi(Tx,new o6),vi(Le,new m1),vi(Le,new yB),vi(Le,new xB),vi(Ea,new kB),vi(Le,new EB),vi(Eh,new TB),vi(Eh,new _B),vi(Le,new Vf),vi(Q7,new ku),vi(Le,new vJ),vi(Le,new mJ),vi(Le,new Eu),vi(Le,new sT),vi(Le,new CB),vi(ot(tl,1),new SB),vi(Le,new a6),vi(Le,new yJ),vi(Eh,new Ok),vi(Eh,new xJ),vi(Le,new AB),vi(eo,new EJ),vi(Le,new aT),vi(Ew,new LB),vi(Le,new VL),vi(Le,new oT),vi(Le,new TJ),vi(Le,new _J),vi(Eh,new GL),vi(Eh,new cT),vi(Le,new y1),vi(Le,new CJ),vi(Le,new Nk),vi(Le,new UL),vi(Le,new G2),vi(Le,new uT),vi(Tw,new WL),vi(Le,new Gf),vi(Le,new lT),vi(Le,new x1),vi(Tw,new k1),vi(Ew,new AJ),vi(Le,new L3),vi(eo,new Fk)}function m6t(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;if(B=e.length,B>0&&(w=(Xr(0,e.length),e.charCodeAt(0)),w!=64)){if(w==37&&(M=e.lastIndexOf("%"),k=!1,M!=0&&(M==B-1||(k=(Xr(M+1,e.length),e.charCodeAt(M+1)==46))))){if(h=e.substr(1,M-1),St=ln("%",h)?null:y6t(h),r=0,k)try{r=Kl(e.substr(M+2),qa,Di)}catch(jt){throw jt=as(jt),_t(jt,127)?(d=jt,et(new R$(d))):et(jt)}for(Z=tyt(t.Wg());Z.Ob();)if(G=dz(Z),_t(G,510)&&(s=u(G,590),Mt=s.d,(St==null?Mt==null:ln(St,Mt))&&r--==0))return s;return null}if(_=e.lastIndexOf("."),q=_==-1?e:e.substr(0,_),n=0,_!=-1)try{n=Kl(e.substr(_+1),qa,Di)}catch(jt){if(jt=as(jt),_t(jt,127))q=e;else throw et(jt)}for(q=ln("%",q)?null:y6t(q),W=tyt(t.Wg());W.Ob();)if(G=dz(W),_t(G,191)&&(o=u(G,191),bt=o.ne(),(q==null?bt==null:ln(q,bt))&&n--==0))return o;return null}return Ile(t,e)}function A4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn;for(fe=new ge,G=new S(t.b);G.a<G.c.c.length;)for(q=u(Q(G),29),bt=new S(q.a);bt.a<bt.c.c.length;)if(W=u(Q(bt),10),W.k==(Yn(),Fs)&&ia(W,(oe(),UV))){for(Mt=null,jt=null,St=null,Ze=new S(W.j);Ze.a<Ze.c.c.length;)switch(Ke=u(Q(Ze),11),Ke.j.g){case 4:Mt=Ke;break;case 2:jt=Ke;break;default:St=Ke}for(Xt=u(Fe(St.g,0),17),_=new kR(Xt.a),k=new No(St.n),$i(k,W.n),M=gi(_,0),JM(M,k),Ae=$D(Xt.a),B=new No(St.n),$i(B,W.n),Cs(Ae,B,Ae.c.b,Ae.c),$n=u(K(W,UV),10),Vn=u(Fe($n.j,0),11),w=u($1(Mt.e,Pt(tlt,Fot,17,0,0,1)),474),r=w,o=0,d=r.length;o<d;++o)e=r[o],ya(e,Vn),Ait(e.a,e.a.b,_);for(w=xd(jt.g),n=w,s=0,h=n.length;s<h;++s)e=n[s],Wa(e,Vn),Ait(e.a,0,Ae);Wa(Xt,null),ya(Xt,null),fe.c[fe.c.length]=W}for(Z=new S(fe);Z.a<Z.c.c.length;)W=u(Q(Z),10),Bo(W,null)}function uhe(){uhe=X;var t,e,n;for(new _D(1,0),new _D(10,0),new _D(0,0),wge=Pt(_ut,re,240,11,0,1),Pb=Pt(Sh,Td,25,100,15,1),u7t=ct(ot(wa,1),Io,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),l7t=Pt(Fr,ui,25,u7t.length,15,1),h7t=ct(ot(wa,1),Io,25,15,[1,10,100,Vg,1e4,oot,1e6,1e7,1e8,Fq,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),f7t=Pt(Fr,ui,25,h7t.length,15,1),d7t=Pt(_ut,re,240,11,0,1),t=0;t<d7t.length;t++)wge[t]=new _D(t,0),d7t[t]=new _D(0,t),Pb[t]=48;for(;t<Pb.length;t++)Pb[t]=48;for(n=0;n<l7t.length;n++)l7t[n]=Y4t(u7t[n]);for(e=0;e<f7t.length;e++)f7t[e]=Y4t(h7t[e]);v7()}function L4n(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(e){return Object.create(null)},t.prototype.get=function(e){return this.obj[e]},t.prototype.set=function(e,n){this.obj[e]=n},t.prototype[hot]=function(e){delete this.obj[e]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var e=this.keys(),n=this,r=0;return{next:function(){if(r>=e.length)return{done:!0};var s=e[r++];return{value:[s,n.get(s)],done:!1}}}},Ovn()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(e){return this.obj[":"+e]},t.prototype.set=function(e,n){this.obj[":"+e]=n},t.prototype[hot]=function(e){delete this.obj[":"+e]},t.prototype.keys=function(){var e=[];for(var n in this.obj)n.charCodeAt(0)==58&&e.push(n.substring(1));return e}),t}function M4n(t){Z5t();var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(t==null)return null;if(M=t.length*8,M==0)return"";for(d=M%24,q=M/24|0,B=d!=0?q+1:q,o=null,o=Pt(Sh,Td,25,B*4,15,1),k=0,_=0,e=0,n=0,r=0,h=0,s=0,w=0;w<q;w++)e=t[s++],n=t[s++],r=t[s++],_=(n&15)<<24>>24,k=(e&3)<<24>>24,G=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,W=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,Z=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,o[h++]=op[G],o[h++]=op[W|k<<4],o[h++]=op[_<<2|Z],o[h++]=op[r&63];return d==8?(e=t[s],k=(e&3)<<24>>24,G=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,o[h++]=op[G],o[h++]=op[k<<4],o[h++]=61,o[h++]=61):d==16&&(e=t[s],n=t[s+1],_=(n&15)<<24>>24,k=(e&3)<<24>>24,G=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,W=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,o[h++]=op[G],o[h++]=op[W|k<<4],o[h++]=op[_<<2],o[h++]=61),Fh(o,0,o.length)}function D4n(t,e){var n,r,s,o,h,d,w;if(t.e==0&&t.p>0&&(t.p=-(t.p-1)),t.p>qa&&Jwt(e,t.p-a2),h=e.q.getDate(),sD(e,1),t.k>=0&&drn(e,t.k),t.c>=0?sD(e,t.c):t.k>=0?(w=new yyt(e.q.getFullYear()-a2,e.q.getMonth(),35),r=35-w.q.getDate(),sD(e,b.Math.min(r,h))):sD(e,h),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),TXe(e,t.f==24&&t.g?0:t.f),t.j>=0&&Tsn(e,t.j),t.n>=0&&qsn(e,t.n),t.i>=0&&BGt(e,Ka(za(iI(Ou(e.q.getTime()),Vg),Vg),t.i)),t.a&&(s=new AR,Jwt(s,s.q.getFullYear()-a2-80),get(Ou(e.q.getTime()),Ou(s.q.getTime()))&&Jwt(e,s.q.getFullYear()-a2+100)),t.d>=0){if(t.c==-1)n=(7+t.d-e.q.getDay())%7,n>3&&(n-=7),d=e.q.getMonth(),sD(e,e.q.getDate()+n),e.q.getMonth()!=d&&sD(e,e.q.getDate()+(n>0?-7:7));else if(e.q.getDay()!=t.d)return!1}return t.o>qa&&(o=e.q.getTimezoneOffset(),BGt(e,Ka(Ou(e.q.getTime()),(t.o-o)*60*Vg))),!0}function lhe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(s=K(e,(oe(),Bi)),!!_t(s,239)){for(G=u(s,33),W=e.e,B=new No(e.c),o=e.d,B.a+=o.b,B.b+=o.d,jt=u(He(G,(Te(),aG)),174),Gu(jt,(ml(),WG))&&(q=u(He(G,r_t),116),Zgt(q,o.a),mtt(q,o.d),Jgt(q,o.b),ipt(q,o.c)),n=new ge,_=new S(e.a);_.a<_.c.c.length;)for(w=u(Q(_),10),_t(K(w,Bi),239)?B4n(w,B):_t(K(w,Bi),186)&&!W&&(r=u(K(w,Bi),118),Mt=ele(e,w,r.g,r.f),S1(r,Mt.a,Mt.b)),bt=new S(w.j);bt.a<bt.c.c.length;)Z=u(Q(bt),11),Ts(Xi(new En(null,new _n(Z.g,16)),new Ua(w)),new Jr(n));if(W)for(bt=new S(W.j);bt.a<bt.c.c.length;)Z=u(Q(bt),11),Ts(Xi(new En(null,new _n(Z.g,16)),new us(W)),new Yo(n));for(St=u(He(G,Z0),218),d=new S(n);d.a<d.c.c.length;)h=u(Q(d),17),X3n(h,St,B);for(Vwn(e),k=new S(e.a);k.a<k.c.c.length;)w=u(Q(k),10),M=w.e,M&&lhe(t,M)}}function hhe(t){Cv(t,new yb(t2t(xR(kv(mv(xv(yv(new mg,Xl),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new j5),Xl),Qi((w7(),nU),ct(ot(rU,1),ue,237,0,[tU]))))),Ee(t,Xl,qI,ve(1)),Ee(t,Xl,ky,80),Ee(t,Xl,Oot,5),Ee(t,Xl,vx,R7),Ee(t,Xl,Gq,ve(1)),Ee(t,Xl,NC,(Rn(),!0)),Ee(t,Xl,vw,h9t),Ee(t,Xl,HI,Ie(c9t)),Ee(t,Xl,Pot,Ie(f9t)),Ee(t,Xl,Uq,!1),Ee(t,Xl,FC,Ie(l9t)),Ee(t,Xl,wx,Ie(Kpe)),Ee(t,Xl,M4,Ie(Wpe)),Ee(t,Xl,j7,Ie(Upe)),Ee(t,Xl,$7,Ie(Xpe)),Ee(t,Xl,Vq,Ie(u9t)),Ee(t,Xl,Dot,Ie(Gut)),Ee(t,Xl,sxt,Ie(aV)),Ee(t,Xl,Iot,Ie(Vut)),Ee(t,Xl,axt,Ie(d9t))}function fhe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q;if(!u(u(ji(t.r,e),21),84).dc()){if(h=u(Lo(t.b,e),124),w=h.i,d=h.n,_=Jst(t,e),r=w.b-d.b-d.c,s=h.a.a,o=w.c+d.b,q=t.w,(_==(u4(),E2)||_==nP)&&u(u(ji(t.r,e),21),84).gc()==1&&(s=_==E2?s-2*t.w:s,_=XS),r<s&&!t.B.Hc((ml(),KG)))_==E2?(q+=(r-s)/(u(u(ji(t.r,e),21),84).gc()+1),o+=q):q+=(r-s)/(u(u(ji(t.r,e),21),84).gc()-1);else switch(r<s&&(s=_==E2?s-2*t.w:s,_=XS),_.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(ji(t.r,e),21),84).gc()+1),q+=b.Math.max(0,n),o+=q;break;case 1:n=(r-s)/(u(u(ji(t.r,e),21),84).gc()-1),q+=b.Math.max(0,n)}for(B=u(u(ji(t.r,e),21),84).Kc();B.Ob();)M=u(B.Pb(),111),M.e.a=o+M.d.b,M.e.b=(k=M.b,k.Xe((Ei(),kl))?k.Hf()==(ye(),Nn)?-k.rf().b-Zt(ke(k.We(kl))):Zt(ke(k.We(kl))):k.Hf()==(ye(),Nn)?-k.rf().b:0),o+=M.d.b+M.b.rf().a+M.d.c+q}}function dhe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;if(!u(u(ji(t.r,e),21),84).dc()){if(h=u(Lo(t.b,e),124),w=h.i,d=h.n,M=Jst(t,e),r=w.a-d.d-d.a,s=h.a.b,o=w.d+d.d,G=t.w,k=t.o.a,(M==(u4(),E2)||M==nP)&&u(u(ji(t.r,e),21),84).gc()==1&&(s=M==E2?s-2*t.w:s,M=XS),r<s&&!t.B.Hc((ml(),KG)))M==E2?(G+=(r-s)/(u(u(ji(t.r,e),21),84).gc()+1),o+=G):G+=(r-s)/(u(u(ji(t.r,e),21),84).gc()-1);else switch(r<s&&(s=M==E2?s-2*t.w:s,M=XS),M.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(ji(t.r,e),21),84).gc()+1),G+=b.Math.max(0,n),o+=G;break;case 1:n=(r-s)/(u(u(ji(t.r,e),21),84).gc()-1),G+=b.Math.max(0,n)}for(q=u(u(ji(t.r,e),21),84).Kc();q.Ob();)B=u(q.Pb(),111),B.e.a=(_=B.b,_.Xe((Ei(),kl))?_.Hf()==(ye(),jn)?-_.rf().a-Zt(ke(_.We(kl))):k+Zt(ke(_.We(kl))):_.Hf()==(ye(),jn)?-_.rf().a:k),B.e.b=o+B.d.d,o+=B.d.d+B.b.rf().b+B.d.a+G}}function I4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(t.n=Zt(ke(K(t.g,(Te(),Fw)))),t.e=Zt(ke(K(t.g,$b))),t.i=t.g.b.c.length,d=t.i-1,B=0,t.j=0,t.k=0,t.a=P1(Pt(eo,re,19,t.i,0,1)),t.b=P1(Pt(Ea,re,333,t.i,7,1)),h=new S(t.g.b);h.a<h.c.c.length;){for(s=u(Q(h),29),s.p=d,M=new S(s.a);M.a<M.c.c.length;)_=u(Q(M),10),_.p=B,++B;--d}for(t.f=Pt(Fr,ui,25,B,15,1),t.c=Z2(Fr,[re,ui],[48,25],15,[B,3],2),t.o=new ge,t.p=new ge,e=0,t.d=0,o=new S(t.g.b);o.a<o.c.c.length;){for(s=u(Q(o),29),d=s.p,r=0,W=0,w=s.a.c.length,k=0,M=new S(s.a);M.a<M.c.c.length;)_=u(Q(M),10),B=_.p,t.f[B]=_.c.p,k+=_.o.b+t.n,n=F0(new pr(xr(Jo(_).a.Kc(),new H))),G=F0(new pr(xr(Gs(_).a.Kc(),new H))),t.c[B][0]=G-n,t.c[B][1]=n,t.c[B][2]=G,r+=n,W+=G,n>0&&de(t.p,_),de(t.o,_);e-=r,q=w+e,k+=e*t.e,gh(t.a,d,ve(q)),gh(t.b,d,k),t.j=b.Math.max(t.j,q),t.k=b.Math.max(t.k,k),t.d+=e,e+=W}}function ye(){ye=X;var t;fc=new PM(OC,0),Nn=new PM($q,1),Wn=new PM(xot,2),Ir=new PM(kot,3),jn=new PM(Eot,4),Z1=(pn(),new Zk((t=u(Kf(uo),9),new hh(t,u(bf(t,t.length),9),0)))),Pf=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[]))),_h=Fg(Qi(Wn,ct(ot(uo,1),Pc,61,0,[]))),eh=Fg(Qi(Ir,ct(ot(uo,1),Pc,61,0,[]))),Xh=Fg(Qi(jn,ct(ot(uo,1),Pc,61,0,[]))),Bu=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Ir]))),vu=Fg(Qi(Wn,ct(ot(uo,1),Pc,61,0,[jn]))),Nf=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[jn]))),hl=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Wn]))),nh=Fg(Qi(Ir,ct(ot(uo,1),Pc,61,0,[jn]))),Ch=Fg(Qi(Wn,ct(ot(uo,1),Pc,61,0,[Ir]))),fl=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Wn,jn]))),Fu=Fg(Qi(Wn,ct(ot(uo,1),Pc,61,0,[Ir,jn]))),Ru=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Ir,jn]))),Ju=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Wn,Ir]))),nu=Fg(Qi(Nn,ct(ot(uo,1),Pc,61,0,[Wn,Ir,jn])))}function ghe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;if(e.b!=0){for(q=new hs,d=null,G=null,r=Ds(b.Math.floor(b.Math.log(e.b)*b.Math.LOG10E)+1),w=0,St=gi(e,0);St.b!=St.d.c;)for(bt=u(di(St),86),Ut(G)!==Ut(K(bt,(Sc(),RS)))&&(G=Yr(K(bt,RS)),w=0),G!=null?d=G+NQt(w++,r):d=NQt(w++,r),ne(bt,RS,d),Z=(s=gi(new Lp(bt).a.d,0),new v6(s));TR(Z.a);)W=u(di(Z.a),188).c,Cs(q,W,q.c.b,q.c),ne(W,RS,d);for(B=new Br,h=0;h<d.length-r;h++)for(Mt=gi(e,0);Mt.b!=Mt.d.c;)bt=u(di(Mt),86),k=$l(Yr(K(bt,(Sc(),RS))),0,h+1),n=(k==null?gc(Ho(B.f,null)):UT(B.g,k))!=null?u(k==null?gc(Ho(B.f,null)):UT(B.g,k),19).a+1:1,Fo(B,k,ve(n));for(M=new db(new kg(B).a);M.b;)_=Kv(M),o=ve(cr(t.a,_.cd())!=null?u(cr(t.a,_.cd()),19).a:0),Fo(t.a,Yr(_.cd()),ve(u(_.dd(),19).a+o.a)),o=u(cr(t.b,_.cd()),19),(!o||o.a<u(_.dd(),19).a)&&Fo(t.b,Yr(_.cd()),u(_.dd(),19));ghe(t,q)}}function O4n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(Dr(n,"Interactive node layering",1),r=new ge,q=new S(e.a);q.a<q.c.c.length;){for(M=u(Q(q),10),k=M.n.a,w=k+M.o.a,w=b.Math.max(k+1,w),bt=new Sa(r,0),s=null;bt.b<bt.d.gc();)if(W=(sr(bt.b<bt.d.gc()),u(bt.d.Xb(bt.c=bt.b++),569)),W.c>=w){sr(bt.b>0),bt.a.Xb(bt.c=--bt.b);break}else W.a>k&&(s?(Hs(s.b,W.b),s.a=b.Math.max(s.a,W.a),Ol(bt)):(de(W.b,M),W.c=b.Math.min(W.c,k),W.a=b.Math.max(W.a,w),s=W));s||(s=new Jzt,s.c=k,s.a=w,Rm(bt,s),de(s.b,M))}for(d=e.b,_=0,Z=new S(r);Z.a<Z.c.c.length;)for(W=u(Q(Z),569),o=new Oh(e),o.p=_++,d.c[d.c.length]=o,G=new S(W.b);G.a<G.c.c.length;)M=u(Q(G),10),Bo(M,o),M.p=0;for(B=new S(e.a);B.a<B.c.c.length;)M=u(Q(B),10),M.p==0&&Xce(t,M,e);for(h=new Sa(d,0);h.b<h.d.gc();)(sr(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),29)).a.c.length==0&&Ol(h);e.a.c=Pt(ir,De,1,0,5,1),br(n)}function P4n(t,e,n){var r,s,o,h,d,w,k,_,M,B;if(e.e.c.length!=0&&n.e.c.length!=0){if(r=u(Fe(e.e,0),17).c.i,h=u(Fe(n.e,0),17).c.i,r==h)return Tu(u(K(u(Fe(e.e,0),17),(oe(),Bc)),19).a,u(K(u(Fe(n.e,0),17),Bc),19).a);for(_=t.a,M=0,B=_.length;M<B;++M){if(k=_[M],k==r)return 1;if(k==h)return-1}}return e.g.c.length!=0&&n.g.c.length!=0?(o=u(K(e,(oe(),Flt)),10),w=u(K(n,Flt),10),s=0,d=0,ia(u(Fe(e.g,0),17),Bc)&&(s=u(K(u(Fe(e.g,0),17),Bc),19).a),ia(u(Fe(n.g,0),17),Bc)&&(d=u(K(u(Fe(e.g,0),17),Bc),19).a),o&&o==w?je(Be(K(u(Fe(e.g,0),17),K1)))&&!je(Be(K(u(Fe(n.g,0),17),K1)))?1:!je(Be(K(u(Fe(e.g,0),17),K1)))&&je(Be(K(u(Fe(n.g,0),17),K1)))||s<d?-1:s>d?1:0:(t.b&&(t.b._b(o)&&(s=u(t.b.xc(o),19).a),t.b._b(w)&&(d=u(t.b.xc(w),19).a)),s<d?-1:s>d?1:0)):e.e.c.length!=0&&n.g.c.length!=0?1:-1}function N4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;for(Dr(e,i1e,1),W=new ge,fe=new ge,k=new S(t.b);k.a<k.c.c.length;)for(w=u(Q(k),29),bt=-1,G=cD(w.a),M=G,B=0,q=M.length;B<q;++B)if(_=M[B],++bt,!!(_.k==(Yn(),Ws)&&V3(u(K(_,(Te(),xs)),98)))){for(O6(u(K(_,(Te(),xs)),98))||Abn(_),ne(_,(oe(),Mw),_),W.c=Pt(ir,De,1,0,5,1),fe.c=Pt(ir,De,1,0,5,1),n=new ge,jt=new hs,lit(jt,qg(_,(ye(),Nn))),She(t,jt,W,fe,n),d=bt,Ae=_,o=new S(W);o.a<o.c.c.length;)r=u(Q(o),10),oy(r,d,w),++bt,ne(r,Mw,_),h=u(Fe(r.j,0),11),Z=u(K(h,Bi),11),je(Be(K(Z,zlt)))||u(K(r,Ix),15).Fc(Ae);for(Ph(jt),St=qg(_,Ir).Kc();St.Ob();)Mt=u(St.Pb(),11),Cs(jt,Mt,jt.a,jt.a.a);for(She(t,jt,fe,null,n),Xt=_,s=new S(fe);s.a<s.c.c.length;)r=u(Q(s),10),oy(r,++bt,w),ne(r,Mw,_),h=u(Fe(r.j,0),11),Z=u(K(h,Bi),11),je(Be(K(Z,zlt)))||u(K(Xt,Ix),15).Fc(r);n.c.length==0||ne(_,VEt,n)}br(e)}function phe(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js;for(M=u(K(t,(Kp(),Cx)),33),bt=Di,Mt=Di,W=qa,Z=qa,jt=new S(t.e);jt.a<jt.c.c.length;)St=u(Q(jt),144),Ze=St.d,$n=St.e,bt=b.Math.min(bt,Ze.a-$n.a/2),Mt=b.Math.min(Mt,Ze.b-$n.b/2),W=b.Math.max(W,Ze.a+$n.a/2),Z=b.Math.max(Z,Ze.b+$n.b/2);for(Ke=u(He(M,(r1(),Ype)),116),Ae=new $e(Ke.b-bt,Ke.d-Mt),d=new S(t.e);d.a<d.c.c.length;)h=u(Q(d),144),fe=K(h,Cx),_t(fe,239)&&(q=u(fe,33),Xt=$i(h.d,Ae),S1(q,Xt.a-q.g/2,Xt.b-q.f/2));for(r=new S(t.c);r.a<r.c.c.length;)n=u(Q(r),282),k=u(K(n,Cx),79),_=y4(k,!0,!0),Vn=(Ai=ba(pc(n.d.d),n.c.d),f7(Ai,n.c.e.a,n.c.e.b),$i(Ai,n.c.d)),uj(_,Vn.a,Vn.b),e=(Js=ba(pc(n.c.d),n.d.d),f7(Js,n.d.e.a,n.d.e.b),$i(Js,n.d.d)),cj(_,e.a,e.b);for(o=new S(t.d);o.a<o.c.c.length;)s=u(Q(o),447),B=u(K(s,Cx),137),G=$i(s.d,Ae),S1(B,G.a,G.b);kr=W-bt+(Ke.b+Ke.c),w=Z-Mt+(Ke.d+Ke.a),dw(M,kr,w,!1,!0)}function F4n(t){var e,n,r,s,o,h,d,w,k,_,M,B;for(n=null,w=null,s=u(K(t.b,(Te(),Wlt)),376),s==(dD(),NO)&&(n=new ge,w=new ge),d=new S(t.d);d.a<d.c.c.length;)if(h=u(Q(d),101),o=h.i,!!o)switch(h.e.g){case 0:e=u(F_(new T6(h.b)),61),s==NO&&e==(ye(),Nn)?n.c[n.c.length]=h:s==NO&&e==(ye(),Ir)?w.c[w.c.length]=h:xfn(h,e);break;case 1:k=h.a.d.j,_=h.c.d.j,k==(ye(),Nn)?Mg(h,Nn,(R1(),s9),h.a):_==Nn?Mg(h,Nn,(R1(),a9),h.c):k==Ir?Mg(h,Ir,(R1(),a9),h.a):_==Ir&&Mg(h,Ir,(R1(),s9),h.c);break;case 2:case 3:r=h.b,Gu(r,(ye(),Nn))?Gu(r,Ir)?Gu(r,jn)?Gu(r,Wn)||Mg(h,Nn,(R1(),a9),h.c):Mg(h,Nn,(R1(),s9),h.a):Mg(h,Nn,(R1(),Sx),null):Mg(h,Ir,(R1(),Sx),null);break;case 4:M=h.a.d.j,B=h.a.d.j,M==(ye(),Nn)||B==Nn?Mg(h,Ir,(R1(),Sx),null):Mg(h,Nn,(R1(),Sx),null)}n&&(n.c.length==0||cle(n,(ye(),Nn)),w.c.length==0||cle(w,(ye(),Ir)))}function B4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W;for(r=u(K(t,(oe(),Bi)),33),G=u(K(t,(Te(),ZV)),19).a,o=u(K(t,nG),19).a,Do(r,ZV,ve(G)),Do(r,nG,ve(o)),Du(r,t.n.a+e.a),Iu(r,t.n.b+e.b),(u(He(r,Rb),174).gc()!=0||t.e||Ut(K(Za(t),sG))===Ut((aC(),LS))&&rUt((sy(),(t.q?t.q:(pn(),pn(),l0))._b(Ow)?B=u(K(t,Ow),197):B=u(K(Za(t),_S),197),B)))&&(Xv(r,t.o.a),Yv(r,t.o.b)),M=new S(t.j);M.a<M.c.c.length;)k=u(Q(M),11),W=K(k,Bi),_t(W,186)&&(s=u(W,118),S1(s,k.n.a,k.n.b),Do(s,w9,k.j));for(q=u(K(t,Iw),174).gc()!=0,w=new S(t.b);w.a<w.c.c.length;)h=u(Q(w),70),(q||u(K(h,Iw),174).gc()!=0)&&(n=u(K(h,Bi),137),oj(n,h.o.a,h.o.b),S1(n,h.n.a,h.n.b));if(!T_(u(K(t,qy),21)))for(_=new S(t.j);_.a<_.c.c.length;)for(k=u(Q(_),11),d=new S(k.f);d.a<d.c.c.length;)h=u(Q(d),70),n=u(K(h,Bi),137),Xv(n,h.o.a),Yv(n,h.o.b),S1(n,h.n.a,h.n.b)}function R4n(t){var e,n,r,s,o;switch(rD(t,Sde),(!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i+(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i){case 0:throw et(new Bn("The edge must have at least one source or target."));case 1:return(!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i==0?gs(Go(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82))):gs(Go(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82)))}if((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b).i==1&&(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c).i==1){if(s=Go(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82)),o=Go(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82)),gs(s)==gs(o))return gs(s);if(s==gs(o))return s;if(o==gs(s))return o}for(r=zp(B1(ct(ot(G1,1),De,20,0,[(!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),(!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c)]))),e=Go(u(qr(r),82));ti(r);)if(n=Go(u(qr(r),82)),n!=e&&!Zm(n,e)){if(gs(n)==gs(e))e=gs(n);else if(e=E2n(e,n),!e)return null}return e}function j4n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;for(Dr(n,"Polyline edge routing",1),Z=Zt(ke(K(e,(Te(),jTt)))),q=Zt(ke(K(e,J4))),s=Zt(ke(K(e,Z4))),r=b.Math.min(1,s/q),St=0,w=0,e.b.c.length!=0&&(jt=pce(u(Fe(e.b,0),29)),St=.4*r*jt),d=new Sa(e.b,0);d.b<d.d.gc();){for(h=(sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29)),o=rj(h,BO),o&&St>0&&(St-=q),u6t(h,St),_=0,B=new S(h.a);B.a<B.c.c.length;){for(M=u(Q(B),10),k=0,W=new pr(xr(Gs(M).a.Kc(),new H));ti(W);)G=u(qr(W),17),bt=I1(G.c).b,Mt=I1(G.d).b,h==G.d.i.c&&!io(G)&&(upn(G,St,.4*r*b.Math.abs(bt-Mt)),G.c.j==(ye(),jn)&&(bt=0,Mt=0)),k=b.Math.max(k,b.Math.abs(Mt-bt));switch(M.k.g){case 0:case 4:case 1:case 3:case 5:s3n(t,M,St,Z)}_=b.Math.max(_,k)}d.b<d.d.gc()&&(jt=pce((sr(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),29))),_=b.Math.max(_,jt),sr(d.b>0),d.a.Xb(d.c=--d.b)),w=.4*r*_,!o&&d.b<d.d.gc()&&(w+=q),St+=h.c.a+w}t.a.a.$b(),e.f.a=St,br(n)}function $4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;for(_=new Br,w=new qv,r=new S(t.a.a.b);r.a<r.c.c.length;)if(e=u(Q(r),57),k=J3(e),k)du(_.f,k,e);else if(Mt=V6(e),Mt)for(o=new S(Mt.k);o.a<o.c.c.length;)s=u(Q(o),17),un(w,s,e);for(n=new S(t.a.a.b);n.a<n.c.c.length;)if(e=u(Q(n),57),k=J3(e),k){for(d=new pr(xr(Gs(k).a.Kc(),new H));ti(d);)if(h=u(qr(d),17),!io(h)&&(G=h.c,bt=h.d,!((ye(),Bu).Hc(h.c.j)&&Bu.Hc(h.d.j)))){if(W=u(cr(_,h.d.i),57),Tf(gf(df(pf(ff(new Dh,0),100),t.c[e.a.d]),t.c[W.a.d])),G.j==jn&&xYt((Ku(),G))){for(B=u(ji(w,h),21).Kc();B.Ob();)if(M=u(B.Pb(),57),M.d.c<e.d.c){if(q=t.c[M.a.d],Z=t.c[e.a.d],q==Z)continue;Tf(gf(df(pf(ff(new Dh,1),100),q),Z))}}if(bt.j==Wn&&yYt((Ku(),bt))){for(B=u(ji(w,h),21).Kc();B.Ob();)if(M=u(B.Pb(),57),M.d.c>e.d.c){if(q=t.c[e.a.d],Z=t.c[M.a.d],q==Z)continue;Tf(gf(df(pf(ff(new Dh,1),100),q),Z))}}}}}function y6t(t){Tat();var e,n,r,s,o,h,d,w;if(t==null)return null;if(s=pd(t,Pu(37)),s<0)return t;for(w=new jl(t.substr(0,s)),e=Pt(tl,N4,25,4,15,1),d=0,r=0,h=t.length;s<h;s++)if(Xr(s,t.length),t.charCodeAt(s)==37&&t.length>s+2&&bit((Xr(s+1,t.length),t.charCodeAt(s+1)),VAt,GAt)&&bit((Xr(s+2,t.length),t.charCodeAt(s+2)),VAt,GAt))if(n=ctn((Xr(s+1,t.length),t.charCodeAt(s+1)),(Xr(s+2,t.length),t.charCodeAt(s+2))),s+=2,r>0?(n&192)==128?e[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(e[d++]=n<<24>>24,r=2):(n&240)==224?(e[d++]=n<<24>>24,r=3):(n&248)==240&&(e[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{qp(w,((e[0]&31)<<6|e[1]&63)&Ps);break}case 3:{qp(w,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&Ps);break}}d=0,r=0}}else{for(o=0;o<d;++o)qp(w,e[o]&Ps);d=0,w.a+=String.fromCharCode(n)}else{for(o=0;o<d;++o)qp(w,e[o]&Ps);d=0,qp(w,(Xr(s,t.length),t.charCodeAt(s)))}return w.a}function bhe(t,e,n,r,s){var o,h,d;if(Bte(t,e),h=e[0],o=Oa(n.c,0),d=-1,Cyt(n))if(r>0){if(h+r>t.length)return!1;d=sq(t.substr(0,h+r),e)}else d=sq(t,e);switch(o){case 71:return d=b4(t,h,ct(ot(Le,1),re,2,6,[Xhe,Qhe]),e),s.e=d,!0;case 77:return kvn(t,e,s,d,h);case 76:return Evn(t,e,s,d,h);case 69:return ggn(t,e,h,s);case 99:return pgn(t,e,h,s);case 97:return d=b4(t,h,ct(ot(Le,1),re,2,6,["AM","PM"]),e),s.b=d,!0;case 121:return Tvn(t,e,h,d,n,s);case 100:return d<=0?!1:(s.c=d,!0);case 83:return d<0?!1:Aln(d,h,e[0],s);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(s.f=d,s.g=!1,!0);case 107:return d<0?!1:(s.f=d,s.g=!0,!0);case 109:return d<0?!1:(s.j=d,!0);case 115:return d<0?!1:(s.n=d,!0);case 90:if(h<t.length&&(Xr(h,t.length),t.charCodeAt(h)==90))return++e[0],s.o=0,!0;case 122:case 118:return jdn(t,h,e,s);default:return!1}}function z4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;if(B=u(u(ji(t.r,e),21),84),e==(ye(),Wn)||e==jn){che(t,e);return}for(o=e==Nn?(Jv(),cO):(Jv(),uO),jt=e==Nn?(Lu(),a1):(Lu(),Sf),n=u(Lo(t.b,e),124),r=n.i,s=r.c+i4(ct(ot(wa,1),Io,25,15,[n.n.b,t.C.b,t.k])),bt=r.c+r.b-i4(ct(ot(wa,1),Io,25,15,[n.n.c,t.C.c,t.k])),h=Zpt(bvt(o),t.t),Mt=e==Nn?Rs:ms,M=B.Kc();M.Ob();)k=u(M.Pb(),111),!(!k.c||k.c.d.c.length<=0)&&(Z=k.b.rf(),W=k.e,q=k.c,G=q.i,G.b=(w=q.n,q.e.a+w.b+w.c),G.a=(d=q.n,q.e.b+d.d+d.a),rD(jt,U6t),q.f=jt,Qf(q,(ol(),Cf)),G.c=W.a-(G.b-Z.a)/2,Xt=b.Math.min(s,W.a),fe=b.Math.max(bt,W.a+Z.a),G.c<Xt?G.c=Xt:G.c+G.b>fe&&(G.c=fe-G.b),de(h.d,new Int(G,Xyt(h,G))),Mt=e==Nn?b.Math.max(Mt,W.b+k.b.rf().b):b.Math.min(Mt,W.b));for(Mt+=e==Nn?t.t:-t.t,St=f3t((h.e=Mt,h)),St>0&&(u(Lo(t.b,e),124).a.b=St),_=B.Kc();_.Ob();)k=u(_.Pb(),111),!(!k.c||k.c.d.c.length<=0)&&(G=k.c.i,G.c-=k.e.a,G.d-=k.e.b)}function q4n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;for(e=new Br,w=new hr(t);w.e!=w.i.gc();){for(d=u(Tr(w),33),n=new na,Ni(qut,d,n),q=new Rc,s=u(Hl(new En(null,new Nv(new pr(xr(pI(d).a.Kc(),new H)))),aYt(q,ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[(j1(),Zl)])))),83),Lee(n,u(s.xc((Rn(),!0)),14),new Oe),r=u(Hl(Xi(u(s.xc(!1),15).Lc(),new vp),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[Zl]))),15),h=r.Kc();h.Ob();)o=u(h.Pb(),79),B=pae(o),B&&(k=u(gc(Ho(e.f,B)),21),k||(k=Nce(B),du(e.f,B,k)),so(n,k));for(s=u(Hl(new En(null,new Nv(new pr(xr(U0(d).a.Kc(),new H)))),aYt(q,ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[Zl])))),83),Lee(n,u(s.xc(!0),14),new Ye),r=u(Hl(Xi(u(s.xc(!1),15).Lc(),new lf),ab(new _e,new ee,new Qn,ct(ot(xl,1),ue,132,0,[Zl]))),15),M=r.Kc();M.Ob();)_=u(M.Pb(),79),B=bae(_),B&&(k=u(gc(Ho(e.f,B)),21),k||(k=Nce(B),du(e.f,B,k)),so(n,k))}}function H4n(t,e){wat();var n,r,s,o,h,d,w,k,_,M,B,q,G,W;if(w=Oc(t,0)<0,w&&(t=P8(t)),Oc(t,0)==0)switch(e){case 0:return"0";case 1:return O7;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 q=new Mp,e<0?q.a+="0E+":q.a+="0E",q.a+=e==qa?"2147483648":""+-e,q.a}_=18,M=Pt(Sh,Td,25,_+1,15,1),n=_,W=t;do k=W,W=iI(W,10),M[--n]=$r(Ka(48,Jp(k,za(W,10))))&Ps;while(Oc(W,0)!=0);if(s=Jp(Jp(Jp(_,n),e),1),e==0)return w&&(M[--n]=45),Fh(M,n,_-n);if(e>0&&Oc(s,-6)>=0){if(Oc(s,0)>=0){for(o=n+$r(s),d=_-1;d>=o;d--)M[d+1]=M[d];return M[++o]=46,w&&(M[--n]=45),Fh(M,n,_-n+1)}for(h=2;get(h,Ka(P8(s),1));h++)M[--n]=48;return M[--n]=46,M[--n]=48,w&&(M[--n]=45),Fh(M,n,_-n)}return G=n+1,r=_,B=new Lm,w&&(B.a+="-"),r-G>=1?(qp(B,M[n]),B.a+=".",B.a+=Fh(M,n+1,_-n-1)):B.a+=Fh(M,n,_-n),B.a+="E",Oc(s,0)>0&&(B.a+="+"),B.a+=""+E_(s),B.a}function V4n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q;if(t.e.a.$b(),t.f.a.$b(),t.c.c=Pt(ir,De,1,0,5,1),t.i.c=Pt(ir,De,1,0,5,1),t.g.a.$b(),e)for(h=new S(e.a);h.a<h.c.c.length;)for(o=u(Q(h),10),M=qg(o,(ye(),Wn)).Kc();M.Ob();)for(_=u(M.Pb(),11),Ys(t.e,_),s=new S(_.g);s.a<s.c.c.length;)r=u(Q(s),17),!io(r)&&(de(t.c,r),zie(t,r),d=r.c.i.k,(d==(Yn(),Ws)||d==Jc||d==Fs||d==W1)&&de(t.j,r),q=r.d,B=q.i.c,B==n?Ys(t.f,q):B==e?Ys(t.e,q):Au(t.c,r));if(n)for(h=new S(n.a);h.a<h.c.c.length;){for(o=u(Q(h),10),k=new S(o.j);k.a<k.c.c.length;)for(w=u(Q(k),11),s=new S(w.g);s.a<s.c.c.length;)r=u(Q(s),17),io(r)&&Ys(t.g,r);for(M=qg(o,(ye(),jn)).Kc();M.Ob();)for(_=u(M.Pb(),11),Ys(t.f,_),s=new S(_.g);s.a<s.c.c.length;)r=u(Q(s),17),!io(r)&&(de(t.c,r),zie(t,r),d=r.c.i.k,(d==(Yn(),Ws)||d==Jc||d==Fs||d==W1)&&de(t.j,r),q=r.d,B=q.i.c,B==n?Ys(t.f,q):B==e?Ys(t.e,q):Au(t.c,r))}}function dw(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;if(Z=new $e(t.g,t.f),W=z4t(t),W.a=b.Math.max(W.a,e),W.b=b.Math.max(W.b,n),fe=W.a/Z.a,_=W.b/Z.b,jt=W.a-Z.a,w=W.b-Z.b,r)for(h=gs(t)?u(He(gs(t),(Ei(),Rw)),103):u(He(t,(Ei(),Rw)),103),d=Ut(He(t,(Ei(),US)))===Ut((ka(),eu)),Mt=new hr((!t.c&&(t.c=new pe(El,t,9,9)),t.c));Mt.e!=Mt.i.gc();)switch(bt=u(Tr(Mt),118),St=u(He(bt,c5),61),St==(ye(),fc)&&(St=J5t(bt,h),Do(bt,c5,St)),St.g){case 1:d||Du(bt,bt.i*fe);break;case 2:Du(bt,bt.i+jt),d||Iu(bt,bt.j*_);break;case 3:d||Du(bt,bt.i*fe),Iu(bt,bt.j+w);break;case 4:d||Iu(bt,bt.j*_)}if(oj(t,W.a,W.b),s)for(B=new hr((!t.n&&(t.n=new pe(nc,t,1,7)),t.n));B.e!=B.i.gc();)M=u(Tr(B),137),q=M.i+M.g/2,G=M.j+M.f/2,Xt=q/Z.a,k=G/Z.b,Xt+k>=1&&(Xt-k>0&&G>=0?(Du(M,M.i+jt),Iu(M,M.j+w*k)):Xt-k<0&&q>=0&&(Du(M,M.i+jt*Xt),Iu(M,M.j+w)));return Do(t,(Ei(),Hb),(Fl(),o=u(Kf(tA),9),new hh(o,u(bf(o,o.length),9),0))),new $e(fe,_)}function vhe(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G;if(q=gs(Go(u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82))),G=gs(Go(u(At((!t.c&&(t.c=new Tn(Lr,t,5,8)),t.c),0),82))),M=q==G,d=new $a,e=u(He(t,(wz(),bAt)),74),e&&e.b>=2){if((!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i==0)n=(Ev(),s=new ld,s),Hr((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),n);else if((!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i>1)for(B=new M6((!t.a&&(t.a=new pe(fs,t,6,6)),t.a));B.e!=B.i.gc();)uC(B);EI(e,u(At((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),0),202))}if(M)for(r=new hr((!t.a&&(t.a=new pe(fs,t,6,6)),t.a));r.e!=r.i.gc();)for(n=u(Tr(r),202),k=new hr((!n.a&&(n.a=new qs(Qh,n,5)),n.a));k.e!=k.i.gc();)w=u(Tr(k),469),d.a=b.Math.max(d.a,w.a),d.b=b.Math.max(d.b,w.b);for(h=new hr((!t.n&&(t.n=new pe(nc,t,1,7)),t.n));h.e!=h.i.gc();)o=u(Tr(h),137),_=u(He(o,KS),8),_&&S1(o,_.a,_.b),M&&(d.a=b.Math.max(d.a,o.i+o.g),d.b=b.Math.max(d.b,o.j+o.f));return d}function G4n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke;for(St=e.c.length,s=new k4(t.a,n,null,null),Ke=Pt(wa,Io,25,St,15,1),W=Pt(wa,Io,25,St,15,1),G=Pt(wa,Io,25,St,15,1),Z=0,d=0;d<St;d++)W[d]=Di,G[d]=qa;for(w=0;w<St;w++)for(r=(An(w,e.c.length),u(e.c[w],180)),Ke[w]=Wst(r),Ke[Z]>Ke[w]&&(Z=w),M=new S(t.a.b);M.a<M.c.c.length;)for(_=u(Q(M),29),Mt=new S(_.a);Mt.a<Mt.c.c.length;)bt=u(Q(Mt),10),fe=Zt(r.p[bt.p])+Zt(r.d[bt.p]),W[w]=b.Math.min(W[w],fe),G[w]=b.Math.max(G[w],fe+bt.o.b);for(Ae=Pt(wa,Io,25,St,15,1),k=0;k<St;k++)(An(k,e.c.length),u(e.c[k],180)).o==(D1(),zb)?Ae[k]=W[Z]-W[k]:Ae[k]=G[Z]-G[k];for(o=Pt(wa,Io,25,St,15,1),q=new S(t.a.b);q.a<q.c.c.length;)for(B=u(Q(q),29),Xt=new S(B.a);Xt.a<Xt.c.c.length;){for(jt=u(Q(Xt),10),h=0;h<St;h++)o[h]=Zt((An(h,e.c.length),u(e.c[h],180)).p[jt.p])+Zt((An(h,e.c.length),u(e.c[h],180)).d[jt.p])+Ae[h];o.sort(fee(pt.prototype.te,pt,[])),s.p[jt.p]=(o[1]+o[2])/2,s.d[jt.p]=0}return s}function U4n(t,e,n){var r,s,o,h,d;switch(r=e.i,o=t.i.o,s=t.i.d,d=t.n,h=cc(ct(ot(sa,1),re,8,0,[d,t.a])),t.j.g){case 1:vd(e,(Lu(),Sf)),r.d=-s.d-n-r.a,u(u(Fe(e.d,0),181).We((oe(),Ox)),285)==(Wl(),d0)?(Qf(e,(ol(),Cf)),r.c=h.a-Zt(ke(K(t,K4)))-n-r.b):(Qf(e,(ol(),Pd)),r.c=h.a+Zt(ke(K(t,K4)))+n);break;case 2:Qf(e,(ol(),Pd)),r.c=o.a+s.c+n,u(u(Fe(e.d,0),181).We((oe(),Ox)),285)==(Wl(),d0)?(vd(e,(Lu(),Sf)),r.d=h.b-Zt(ke(K(t,K4)))-n-r.a):(vd(e,(Lu(),a1)),r.d=h.b+Zt(ke(K(t,K4)))+n);break;case 3:vd(e,(Lu(),a1)),r.d=o.b+s.a+n,u(u(Fe(e.d,0),181).We((oe(),Ox)),285)==(Wl(),d0)?(Qf(e,(ol(),Cf)),r.c=h.a-Zt(ke(K(t,K4)))-n-r.b):(Qf(e,(ol(),Pd)),r.c=h.a+Zt(ke(K(t,K4)))+n);break;case 4:Qf(e,(ol(),Cf)),r.c=-s.b-n-r.b,u(u(Fe(e.d,0),181).We((oe(),Ox)),285)==(Wl(),d0)?(vd(e,(Lu(),Sf)),r.d=h.b-Zt(ke(K(t,K4)))-n-r.a):(vd(e,(Lu(),a1)),r.d=h.b+Zt(ke(K(t,K4)))+n)}}function W4n(t,e,n,r,s,o,h){var d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js;for(q=0,$n=0,w=new S(t);w.a<w.c.c.length;)d=u(Q(w),33),the(d),q=b.Math.max(q,d.g),$n+=d.g*d.f;for(G=$n/t.c.length,Ze=Yfn(t,G),$n+=t.c.length*Ze,q=b.Math.max(q,b.Math.sqrt($n*h))+n.b,Ai=n.b,Js=n.d,B=0,_=n.b+n.c,Ke=new hs,pi(Ke,ve(0)),fe=new hs,k=new Sa(t,0);k.b<k.d.gc();)d=(sr(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),33)),kr=d.g,M=d.f,Ai+kr>q&&(o&&(X2(fe,B),X2(Ke,ve(k.b-1))),Ai=n.b,Js+=B+e,B=0,_=b.Math.max(_,n.b+n.c+kr)),Du(d,Ai),Iu(d,Js),_=b.Math.max(_,Ai+kr+n.c),B=b.Math.max(B,M),Ai+=kr+e;if(_=b.Math.max(_,r),Vn=Js+B+n.a,Vn<s&&(B+=s-Vn,Vn=s),o)for(Ai=n.b,k=new Sa(t,0),X2(Ke,ve(t.c.length)),Ae=gi(Ke,0),bt=u(di(Ae),19).a,X2(fe,B),Xt=gi(fe,0),jt=0;k.b<k.d.gc();)k.b==bt&&(Ai=n.b,jt=Zt(ke(di(Xt))),bt=u(di(Ae),19).a),d=(sr(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),33)),Mt=d.f,Yv(d,jt),W=jt,k.b==bt&&(Z=_-Ai-n.c,St=d.g,Xv(d,Z),Qae(d,new $e(Z,W),new $e(St,Mt))),Ai+=d.g+e;return new $e(_,Vn)}function K4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze;for(Dr(e,"Compound graph postprocessor",1),n=je(Be(K(t,(Te(),nht)))),d=u(K(t,(oe(),WEt)),224),_=new na,bt=d.ec().Kc();bt.Ob();){for(Z=u(bt.Pb(),17),h=new Uu(d.cc(Z)),pn(),ua(h,new Ri(t)),Xt=Mon((An(0,h.c.length),u(h.c[0],243))),Ae=ane(u(Fe(h,h.c.length-1),243)),St=Xt.i,U8(Ae.i,St)?Mt=St.e:Mt=Za(St),M=Ohn(Z,h),Ph(Z.a),B=null,o=new S(h);o.a<o.c.c.length;)s=u(Q(o),243),W=new $a,R4t(W,s.a,Mt),q=s.b,r=new Hu,Ait(r,0,q.a),Jm(r,W),jt=new No(I1(q.c)),fe=new No(I1(q.d)),$i(jt,W),$i(fe,W),B&&(r.b==0?G=fe:G=(sr(r.b!=0),u(r.a.a.c,8)),Ke=b.Math.abs(B.a-G.a)>Sd,Ze=b.Math.abs(B.b-G.b)>Sd,(!n&&Ke&&Ze||n&&(Ke||Ze))&&pi(Z.a,jt)),so(Z.a,r),r.b==0?B=jt:B=(sr(r.b!=0),u(r.c.b.c,8)),ucn(q,M,W),ane(s)==Ae&&(Za(Ae.i)!=s.a&&(W=new $a,R4t(W,Za(Ae.i),Mt)),ne(Z,$lt,W)),O0n(q,Z,Mt),_.a.zc(q,_);Wa(Z,Xt),ya(Z,Ae)}for(k=_.a.ec().Kc();k.Ob();)w=u(k.Pb(),17),Wa(w,null),ya(w,null);br(e)}function whe(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(t.gc()==1)return u(t.Xb(0),231);if(t.gc()<=0)return new A$;for(s=t.Kc();s.Ob();){for(n=u(s.Pb(),231),G=0,_=Di,M=Di,w=qa,k=qa,q=new S(n.e);q.a<q.c.c.length;)B=u(Q(q),144),G+=u(K(B,(r1(),e9)),19).a,_=b.Math.min(_,B.d.a-B.e.a/2),M=b.Math.min(M,B.d.b-B.e.b/2),w=b.Math.max(w,B.d.a+B.e.a/2),k=b.Math.max(k,B.d.b+B.e.b/2);ne(n,(r1(),e9),ve(G)),ne(n,(Kp(),lS),new $e(_,M)),ne(n,bO,new $e(w,k))}for(pn(),t.ad(new wp),W=new A$,Vo(W,u(t.Xb(0),94)),d=0,Mt=0,o=t.Kc();o.Ob();)n=u(o.Pb(),231),Z=ba(pc(u(K(n,(Kp(),bO)),8)),u(K(n,lS),8)),d=b.Math.max(d,Z.a),Mt+=Z.a*Z.b;for(d=b.Math.max(d,b.Math.sqrt(Mt)*Zt(ke(K(W,(r1(),Vpe))))),bt=Zt(ke(K(W,oV))),St=0,jt=0,h=0,e=bt,r=t.Kc();r.Ob();)n=u(r.Pb(),231),Z=ba(pc(u(K(n,(Kp(),bO)),8)),u(K(n,lS),8)),St+Z.a>d&&(St=0,jt+=h+bt,h=0),Dwn(W,n,St,jt),e=b.Math.max(e,St+Z.a),h=b.Math.max(h,Z.b),St+=Z.a+bt;return W}function mhe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G;switch(_=new Hu,t.a.g){case 3:B=u(K(e.e,(oe(),Fb)),15),q=u(K(e.j,Fb),15),G=u(K(e.f,Fb),15),n=u(K(e.e,Q4),15),r=u(K(e.j,Q4),15),s=u(K(e.f,Q4),15),h=new ge,Hs(h,B),q.Jc(new QX),Hs(h,_t(q,152)?U6(u(q,152)):_t(q,131)?u(q,131).a:_t(q,54)?new wv(q):new Mm(q)),Hs(h,G),o=new ge,Hs(o,n),Hs(o,_t(r,152)?U6(u(r,152)):_t(r,131)?u(r,131).a:_t(r,54)?new wv(r):new Mm(r)),Hs(o,s),ne(e.f,Fb,h),ne(e.f,Q4,o),ne(e.f,eTt,e.f),ne(e.e,Fb,null),ne(e.e,Q4,null),ne(e.j,Fb,null),ne(e.j,Q4,null);break;case 1:so(_,e.e.a),pi(_,e.i.n),so(_,cb(e.j.a)),pi(_,e.a.n),so(_,e.f.a);break;default:so(_,e.e.a),so(_,cb(e.j.a)),so(_,e.f.a)}Ph(e.f.a),so(e.f.a,_),Wa(e.f,e.e.c),d=u(K(e.e,(Te(),zo)),74),k=u(K(e.j,zo),74),w=u(K(e.f,zo),74),(d||k||w)&&(M=new Hu,owt(M,w),owt(M,k),owt(M,d),ne(e.f,zo,M)),Wa(e.j,null),ya(e.j,null),Wa(e.e,null),ya(e.e,null),Bo(e.a,null),Bo(e.i,null),e.g&&mhe(t,e.g)}function Y4n(t){Z5t();var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(t==null||(o=$$(t),G=Fun(o),G%4!=0))return null;if(W=G/4|0,W==0)return Pt(tl,N4,25,0,15,1);for(M=null,e=0,n=0,r=0,s=0,h=0,d=0,w=0,k=0,q=0,B=0,_=0,M=Pt(tl,N4,25,W*3,15,1);q<W-1;q++){if(!bM(h=o[_++])||!bM(d=o[_++])||!bM(w=o[_++])||!bM(k=o[_++]))return null;e=td[h],n=td[d],r=td[w],s=td[k],M[B++]=(e<<2|n>>4)<<24>>24,M[B++]=((n&15)<<4|r>>2&15)<<24>>24,M[B++]=(r<<6|s)<<24>>24}return!bM(h=o[_++])||!bM(d=o[_++])?null:(e=td[h],n=td[d],w=o[_++],k=o[_++],td[w]==-1||td[k]==-1?w==61&&k==61?n&15?null:(Z=Pt(tl,N4,25,q*3+1,15,1),qc(M,0,Z,0,q*3),Z[B]=(e<<2|n>>4)<<24>>24,Z):w!=61&&k==61?(r=td[w],r&3?null:(Z=Pt(tl,N4,25,q*3+2,15,1),qc(M,0,Z,0,q*3),Z[B++]=(e<<2|n>>4)<<24>>24,Z[B]=((n&15)<<4|r>>2&15)<<24>>24,Z)):null:(r=td[w],s=td[k],M[B++]=(e<<2|n>>4)<<24>>24,M[B++]=((n&15)<<4|r>>2&15)<<24>>24,M[B++]=(r<<6|s)<<24>>24,M))}function X4n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(Dr(e,i1e,1),G=u(K(t,(Te(),Z0)),218),s=new S(t.b);s.a<s.c.c.length;)for(r=u(Q(s),29),k=cD(r.a),h=k,d=0,w=h.length;d<w;++d)if(o=h[d],o.k==(Yn(),Jc)){if(G==(V0(),Vx))for(M=new S(o.j);M.a<M.c.c.length;)_=u(Q(M),11),_.e.c.length==0||phn(_),_.g.c.length==0||bhn(_);else if(_t(K(o,(oe(),Bi)),17))Z=u(K(o,Bi),17),bt=u(qg(o,(ye(),jn)).Kc().Pb(),11),Mt=u(qg(o,Wn).Kc().Pb(),11),St=u(K(bt,Bi),11),jt=u(K(Mt,Bi),11),Wa(Z,jt),ya(Z,St),Xt=new No(Mt.i.n),Xt.a=cc(ct(ot(sa,1),re,8,0,[jt.i.n,jt.n,jt.a])).a,pi(Z.a,Xt),Xt=new No(bt.i.n),Xt.a=cc(ct(ot(sa,1),re,8,0,[St.i.n,St.n,St.a])).a,pi(Z.a,Xt);else{if(o.j.c.length>=2){for(W=!0,B=new S(o.j),n=u(Q(B),11),q=null;B.a<B.c.c.length;)if(q=n,n=u(Q(B),11),!Pi(K(q,Bi),K(n,Bi))){W=!1;break}}else W=!1;for(M=new S(o.j);M.a<M.c.c.length;)_=u(Q(M),11),_.e.c.length==0||Hbn(_,W),_.g.c.length==0||Vbn(_,W)}Bo(o,null)}br(e)}function yhe(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke;return St=t.c[(An(0,e.c.length),u(e.c[0],17)).p],Ae=t.c[(An(1,e.c.length),u(e.c[1],17)).p],St.a.e.e-St.a.a-(St.b.e.e-St.b.a)==0&&Ae.a.e.e-Ae.a.a-(Ae.b.e.e-Ae.b.a)==0||(bt=St.b.e.f,!_t(bt,10))?!1:(Z=u(bt,10),Xt=t.i[Z.p],fe=Z.c?Zo(Z.c.a,Z,0):-1,o=ms,fe>0&&(s=u(Fe(Z.c.a,fe-1),10),h=t.i[s.p],Ke=b.Math.ceil(U3(t.n,s,Z)),o=Xt.a.e-Z.d.d-(h.a.e+s.o.b+s.d.a)-Ke),k=ms,fe<Z.c.a.c.length-1&&(w=u(Fe(Z.c.a,fe+1),10),_=t.i[w.p],Ke=b.Math.ceil(U3(t.n,w,Z)),k=_.a.e-w.d.d-(Xt.a.e+Z.o.b+Z.d.a)-Ke),n&&(A1(),xf(Md),b.Math.abs(o-k)<=Md||o==k||isNaN(o)&&isNaN(k))?!0:(r=Hnt(St.a),d=-Hnt(St.b),M=-Hnt(Ae.a),Mt=Hnt(Ae.b),W=St.a.e.e-St.a.a-(St.b.e.e-St.b.a)>0&&Ae.a.e.e-Ae.a.a-(Ae.b.e.e-Ae.b.a)<0,G=St.a.e.e-St.a.a-(St.b.e.e-St.b.a)<0&&Ae.a.e.e-Ae.a.a-(Ae.b.e.e-Ae.b.a)>0,q=St.a.e.e+St.b.a<Ae.b.e.e+Ae.a.a,B=St.a.e.e+St.b.a>Ae.b.e.e+Ae.a.a,jt=0,!W&&!G&&(B?o+M>0?jt=M:k-r>0&&(jt=r):q&&(o+d>0?jt=d:k-Mt>0&&(jt=Mt))),Xt.a.e+=jt,Xt.b&&(Xt.d.e+=jt),!1))}function xhe(t,e,n){var r,s,o,h,d,w,k,_,M,B;if(r=new fh(e.qf().a,e.qf().b,e.rf().a,e.rf().b),s=new L6,t.c)for(h=new S(e.wf());h.a<h.c.c.length;)o=u(Q(h),181),s.c=o.qf().a+e.qf().a,s.d=o.qf().b+e.qf().b,s.b=o.rf().a,s.a=o.rf().b,hC(r,s);for(k=new S(e.Cf());k.a<k.c.c.length;){if(w=u(Q(k),838),_=w.qf().a+e.qf().a,M=w.qf().b+e.qf().b,t.e&&(s.c=_,s.d=M,s.b=w.rf().a,s.a=w.rf().b,hC(r,s)),t.d)for(h=new S(w.wf());h.a<h.c.c.length;)o=u(Q(h),181),s.c=o.qf().a+_,s.d=o.qf().b+M,s.b=o.rf().a,s.a=o.rf().b,hC(r,s);if(t.b){if(B=new $e(-n,-n),u(e.We((Ei(),Ky)),174).Hc((cl(),_2)))for(h=new S(w.wf());h.a<h.c.c.length;)o=u(Q(h),181),B.a+=o.rf().a+n,B.b+=o.rf().b+n;B.a=b.Math.max(B.a,0),B.b=b.Math.max(B.b,0),Hue(r,w.Bf(),w.zf(),e,w,B,n)}}t.b&&Hue(r,e.Bf(),e.zf(),e,null,null,n),d=new wnt(e.Af()),d.d=b.Math.max(0,e.qf().b-r.d),d.a=b.Math.max(0,r.d+r.a-(e.qf().b+e.rf().b)),d.b=b.Math.max(0,e.qf().a-r.c),d.c=b.Math.max(0,r.c+r.b-(e.qf().a+e.rf().a)),e.Ef(d)}function Q4n(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function Z4n(t,e,n){var r,s,o,h,d,w,k,_,M,B;for(w=new ge,M=e.length,h=kyt(n),k=0;k<M;++k){switch(_=Ebt(e,Pu(61),k),r=Pun(h,e.substr(k,_-k)),s=dit(r),o=s.Aj().Nh(),Oa(e,++_)){case 39:{d=h8(e,39,++_),de(w,new ej(r,ert(e.substr(_,d-_),o,s))),k=d+1;break}case 34:{d=h8(e,34,++_),de(w,new ej(r,ert(e.substr(_,d-_),o,s))),k=d+1;break}case 91:{B=new ge,de(w,new ej(r,B));t:for(;;){switch(Oa(e,++_)){case 39:{d=h8(e,39,++_),de(B,ert(e.substr(_,d-_),o,s)),_=d+1;break}case 34:{d=h8(e,34,++_),de(B,ert(e.substr(_,d-_),o,s)),_=d+1;break}case 110:{if(++_,e.indexOf("ull",_)==_)B.c[B.c.length]=null;else throw et(new ic(dde));_+=3;break}}if(_<M)switch(Xr(_,e.length),e.charCodeAt(_)){case 44:break;case 93:break t;default:throw et(new ic("Expecting , or ]"))}else break}k=_+1;break}case 110:{if(++_,e.indexOf("ull",_)==_)de(w,new ej(r,null));else throw et(new ic(dde));k=_+3;break}}if(k<M){if(Xr(k,e.length),e.charCodeAt(k)!=44)throw et(new ic("Expecting ,"))}else break}return bvn(t,w,n)}function khe(t,e){var n,r,s,o,h,d,w,k,_,M,B;for(k=u(u(ji(t.r,e),21),84),h=Zdn(t,e),n=t.u.Hc((cl(),ZS)),w=k.Kc();w.Ob();)if(d=u(w.Pb(),111),!(!d.c||d.c.d.c.length<=0)){switch(B=d.b.rf(),_=d.c,M=_.i,M.b=(o=_.n,_.e.a+o.b+o.c),M.a=(s=_.n,_.e.b+s.d+s.a),e.g){case 1:d.a?(M.c=(B.a-M.b)/2,Qf(_,(ol(),f2))):h||n?(M.c=-M.b-t.s,Qf(_,(ol(),Cf))):(M.c=B.a+t.s,Qf(_,(ol(),Pd))),M.d=-M.a-t.t,vd(_,(Lu(),Sf));break;case 3:d.a?(M.c=(B.a-M.b)/2,Qf(_,(ol(),f2))):h||n?(M.c=-M.b-t.s,Qf(_,(ol(),Cf))):(M.c=B.a+t.s,Qf(_,(ol(),Pd))),M.d=B.b+t.t,vd(_,(Lu(),a1));break;case 2:d.a?(r=t.v?M.a:u(Fe(_.d,0),181).rf().b,M.d=(B.b-r)/2,vd(_,(Lu(),d2))):h||n?(M.d=-M.a-t.t,vd(_,(Lu(),Sf))):(M.d=B.b+t.t,vd(_,(Lu(),a1))),M.c=B.a+t.s,Qf(_,(ol(),Pd));break;case 4:d.a?(r=t.v?M.a:u(Fe(_.d,0),181).rf().b,M.d=(B.b-r)/2,vd(_,(Lu(),d2))):h||n?(M.d=-M.a-t.t,vd(_,(Lu(),Sf))):(M.d=B.b+t.t,vd(_,(Lu(),a1))),M.c=-M.b-t.s,Qf(_,(ol(),Cf))}h=!1}}function i2(t,e){Si();var n,r,s,o,h,d,w,k,_,M,B,q,G;if($T(P9)==0){for(M=Pt(w6n,re,117,T5e.length,0,1),h=0;h<M.length;h++)M[h]=new ql(4);for(r=new BT,o=0;o<bLt.length;o++){if(_=new ql(4),o<84?(d=o*2,q=(Xr(d,fut.length),fut.charCodeAt(d)),B=(Xr(d+1,fut.length),fut.charCodeAt(d+1)),Yc(_,q,B)):(d=(o-84)*2,Yc(_,vLt[d],vLt[d+1])),w=bLt[o],ln(w,"Specials")&&Yc(_,65520,65533),ln(w,Q0e)&&(Yc(_,983040,1048573),Yc(_,1048576,1114109)),Fo(P9,w,_),Fo(hA,w,by(_)),k=r.a.length,0<k?r.a=r.a.substr(0,0):0>k&&(r.a+=CUt(Pt(Sh,Td,25,-k,15,1))),r.a+="Is",pd(w,Pu(32))>=0)for(s=0;s<w.length;s++)Xr(s,w.length),w.charCodeAt(s)!=32&&y8(r,(Xr(s,w.length),w.charCodeAt(s)));else r.a+=""+w;w3t(r.a,w,!0)}w3t(hut,"Cn",!1),w3t(z8t,"Cn",!0),n=new ql(4),Yc(n,0,K7),Fo(P9,"ALL",n),Fo(hA,"ALL",by(n)),!n3&&(n3=new Br),Fo(n3,hut,hut),!n3&&(n3=new Br),Fo(n3,z8t,z8t),!n3&&(n3=new Br),Fo(n3,"ALL","ALL")}return G=u(Uc(e?P9:hA,t),136),G}function J4n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;if(B=!1,M=!1,V3(u(K(r,(Te(),xs)),98))){h=!1,d=!1;t:for(G=new S(r.j);G.a<G.c.c.length;)for(q=u(Q(G),11),Z=zp(B1(ct(ot(G1,1),De,20,0,[new ca(q),new Nr(q)])));ti(Z);)if(W=u(qr(Z),11),!je(Be(K(W.i,kS)))){if(q.j==(ye(),Nn)){h=!0;break t}if(q.j==Ir){d=!0;break t}}B=d&&!h,M=h&&!d}if(!B&&!M&&r.b.c.length!=0){for(_=0,k=new S(r.b);k.a<k.c.c.length;)w=u(Q(k),70),_+=w.n.b+w.o.b/2;_/=r.b.c.length,Mt=_>=r.o.b/2}else Mt=!M;Mt?(bt=u(K(r,(oe(),Nx)),15),bt?B?o=bt:(s=u(K(r,Mx),15),s?bt.gc()<=s.gc()?o=bt:o=s:(o=new ge,ne(r,Mx,o))):(o=new ge,ne(r,Nx,o))):(s=u(K(r,(oe(),Mx)),15),s?M?o=s:(bt=u(K(r,Nx),15),bt?s.gc()<=bt.gc()?o=s:o=bt:(o=new ge,ne(r,Nx,o))):(o=new ge,ne(r,Mx,o))),o.Fc(t),ne(t,(oe(),HV),n),e.d==n?(ya(e,null),n.e.c.length+n.g.c.length==0&&ac(n,null),Vcn(n)):(Wa(e,null),n.e.c.length+n.g.c.length==0&&ac(n,null)),Ph(e.a)}function t5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai;for(Mt=new Sa(t.b,0),_=e.Kc(),G=0,k=u(_.Pb(),19).a,Xt=0,n=new na,Ae=new M0;Mt.b<Mt.d.gc();){for(bt=(sr(Mt.b<Mt.d.gc()),u(Mt.d.Xb(Mt.c=Mt.b++),29)),jt=new S(bt.a);jt.a<jt.c.c.length;){for(St=u(Q(jt),10),q=new pr(xr(Gs(St).a.Kc(),new H));ti(q);)M=u(qr(q),17),Ae.a.zc(M,Ae);for(B=new pr(xr(Jo(St).a.Kc(),new H));ti(B);)M=u(qr(B),17),Ae.a.Bc(M)!=null}if(G+1==k){for(s=new Oh(t),Rm(Mt,s),o=new Oh(t),Rm(Mt,o),Ze=Ae.a.ec().Kc();Ze.Ob();)Ke=u(Ze.Pb(),17),n.a._b(Ke)||(++Xt,n.a.zc(Ke,n)),h=new G0(t),ne(h,(Te(),xs),(ka(),M9)),Bo(h,s),A0(h,(Yn(),W1)),W=new zc,ac(W,h),Qs(W,(ye(),jn)),$n=new zc,ac($n,h),Qs($n,Wn),r=new G0(t),ne(r,xs,M9),Bo(r,o),A0(r,W1),Z=new zc,ac(Z,r),Qs(Z,jn),Vn=new zc,ac(Vn,r),Qs(Vn,Wn),fe=new $v,Wa(fe,Ke.c),ya(fe,W),Ai=new $v,Wa(Ai,$n),ya(Ai,Z),Wa(Ke,Vn),d=new Ywt(h,r,fe,Ai,Ke),ne(h,(oe(),Aw),d),ne(r,Aw,d),kr=fe.c.i,kr.k==W1&&(w=u(K(kr,Aw),305),w.d=d,d.g=w);if(_.Ob())k=u(_.Pb(),19).a;else break}++G}return ve(Xt)}function e5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W;for(M=0,s=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));s.e!=s.i.gc();)r=u(Tr(s),33),je(Be(He(r,(Te(),jb))))||((Ut(He(e,v2))!==Ut((z0(),w2))||Ut(He(e,Ry))===Ut((mb(),pS))||Ut(He(e,Ry))===Ut((mb(),gS))||je(Be(He(e,By)))||Ut(He(e,Fx))!==Ut((tw(),z4)))&&!je(Be(He(r,qlt)))&&(Do(r,(oe(),Bc),ve(M)),++M),ehe(t,r,n));for(M=0,k=new hr((!e.b&&(e.b=new pe(aa,e,12,3)),e.b));k.e!=k.i.gc();)d=u(Tr(k),79),(Ut(He(e,(Te(),v2)))!==Ut((z0(),w2))||Ut(He(e,Ry))===Ut((mb(),pS))||Ut(He(e,Ry))===Ut((mb(),gS))||je(Be(He(e,By)))||Ut(He(e,Fx))!==Ut((tw(),z4)))&&(Do(d,(oe(),Bc),ve(M)),++M),G=n0(d),W=t2(d),_=je(Be(He(G,$y))),q=!je(Be(He(d,jb))),B=_&&cw(d)&&je(Be(He(d,Bb))),o=gs(G)==e&&gs(G)==gs(W),h=(gs(G)==e&&W==e)^(gs(W)==e&&G==e),q&&!B&&(h||o)&&T6t(t,d,e,n);if(gs(e))for(w=new hr(yXt(gs(e)));w.e!=w.i.gc();)d=u(Tr(w),79),G=n0(d),G==e&&cw(d)&&(B=je(Be(He(G,(Te(),$y))))&&je(Be(He(d,Bb))),B&&T6t(t,d,e,n))}function n5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js;for(Dr(n,"MinWidth layering",1),q=e.b,Ae=e.a,Js=u(K(e,(Te(),YTt)),19).a,d=u(K(e,XTt),19).a,t.b=Zt(ke(K(e,Af))),t.d=ms,jt=new S(Ae);jt.a<jt.c.c.length;)Mt=u(Q(jt),10),Mt.k==(Yn(),Ws)&&($n=Mt.o.b,t.d=b.Math.min(t.d,$n));for(t.d=b.Math.max(1,t.d),Ke=Ae.c.length,t.c=Pt(Fr,ui,25,Ke,15,1),t.f=Pt(Fr,ui,25,Ke,15,1),t.e=Pt(wa,Io,25,Ke,15,1),k=0,t.a=0,Xt=new S(Ae);Xt.a<Xt.c.c.length;)Mt=u(Q(Xt),10),Mt.p=k++,t.c[Mt.p]=vre(Jo(Mt)),t.f[Mt.p]=vre(Gs(Mt)),t.e[Mt.p]=Mt.o.b/t.d,t.a+=t.e[Mt.p];for(t.b/=t.d,t.a/=Ke,fe=mpn(Ae),ua(Ae,ywt(new Sp(t))),W=ms,G=Di,h=null,Ai=Js,kr=Js,o=d,s=d,Js<0&&(Ai=u(U_t.a.zd(),19).a,kr=u(U_t.b.zd(),19).a),d<0&&(o=u(G_t.a.zd(),19).a,s=u(G_t.b.zd(),19).a),Vn=Ai;Vn<=kr;Vn++)for(r=o;r<=s;r++)Ze=Kmn(t,Vn,r,Ae,fe),bt=Zt(ke(Ze.a)),B=u(Ze.b,15),Z=B.gc(),(bt<W||bt==W&&Z<G)&&(W=bt,G=Z,h=B);for(M=h.Kc();M.Ob();){for(_=u(M.Pb(),15),w=new Oh(e),St=_.Kc();St.Ob();)Mt=u(St.Pb(),10),Bo(Mt,w);q.c[q.c.length]=w}Bst(q),Ae.c=Pt(ir,De,1,0,5,1),br(n)}function r5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;for(t.b=e,t.a=u(K(e,(Te(),HTt)),19).a,t.c=u(K(e,GTt),19).a,t.c==0&&(t.c=Di),Z=new Sa(e.b,0);Z.b<Z.d.gc();){for(W=(sr(Z.b<Z.d.gc()),u(Z.d.Xb(Z.c=Z.b++),29)),d=new ge,_=-1,jt=-1,St=new S(W.a);St.a<St.c.c.length;)Mt=u(Q(St),10),F0((WM(),new pr(xr(H0(Mt).a.Kc(),new H))))>=t.a&&(r=jmn(t,Mt),_=b.Math.max(_,r.b),jt=b.Math.max(jt,r.d),de(d,new Ca(Mt,r)));for(Ke=new ge,k=0;k<_;++k)$m(Ke,0,(sr(Z.b>0),Z.a.Xb(Z.c=--Z.b),Ze=new Oh(t.b),Rm(Z,Ze),sr(Z.b<Z.d.gc()),Z.d.Xb(Z.c=Z.b++),Ze));for(h=new S(d);h.a<h.c.c.length;)if(s=u(Q(h),46),q=u(s.b,571).a,!!q)for(B=new S(q);B.a<B.c.c.length;)M=u(Q(B),10),U3t(t,M,lV,Ke);for(n=new ge,w=0;w<jt;++w)de(n,($n=new Oh(t.b),Rm(Z,$n),$n));for(o=new S(d);o.a<o.c.c.length;)if(s=u(Q(o),46),Ae=u(s.b,571).c,!!Ae)for(fe=new S(Ae);fe.a<fe.c.c.length;)Xt=u(Q(fe),10),U3t(t,Xt,hV,n)}for(bt=new Sa(e.b,0);bt.b<bt.d.gc();)G=(sr(bt.b<bt.d.gc()),u(bt.d.Xb(bt.c=bt.b++),29)),G.a.c.length==0&&Ol(bt)}function i5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;if(Dr(n,"Spline edge routing",1),e.b.c.length==0){e.f.a=0,br(n);return}Mt=Zt(ke(K(e,(Te(),J4)))),d=Zt(ke(K(e,$b))),h=Zt(ke(K(e,Z4))),bt=u(K(e,Klt),336),Ke=bt==(e7(),DS),Ae=Zt(ke(K(e,zTt))),t.d=e,t.j.c=Pt(ir,De,1,0,5,1),t.a.c=Pt(ir,De,1,0,5,1),al(t.k),w=u(Fe(e.b,0),29),_=rj(w.a,(dq(),BO)),G=u(Fe(e.b,e.b.c.length-1),29),M=rj(G.a,BO),W=new S(e.b),Z=null,kr=0;do{for(St=W.a<W.c.c.length?u(Q(W),29):null,V4n(t,Z,St),wmn(t),Ze=CKe(Lon(n$(Xi(new En(null,new _n(t.i,16)),new jQ),new RQ))),Vn=0,jt=kr,B=!Z||_&&Z==w,q=!St||M&&St==G,Ze>0?(k=0,Z&&(k+=d),k+=(Ze-1)*h,St&&(k+=d),Ke&&St&&(k=b.Math.max(k,Rbn(St,h,Mt,Ae))),k<Mt&&!B&&!q&&(Vn=(Mt-k)/2,k=Mt),jt+=k):!B&&!q&&(jt+=Mt),St&&u6t(St,jt),fe=new S(t.i);fe.a<fe.c.c.length;)Xt=u(Q(fe),128),Xt.a.c=kr,Xt.a.b=jt-kr,Xt.F=Vn,Xt.p=!Z;Hs(t.a,t.i),kr=jt,St&&(kr+=St.c.a),Z=St,B=q}while(St);for(s=new S(t.j);s.a<s.c.c.length;)r=u(Q(s),17),o=tcn(t,r),ne(r,(oe(),Q4),o),$n=avn(t,r),ne(r,Fb,$n);e.f.a=kr,t.d=null,br(n)}function Ehe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(W=t.i!=0,St=!1,bt=null,Ll(t.e)){if(_=e.gc(),_>0){for(B=_<100?null:new Dp(_),k=new iyt(e),G=k.g,bt=Pt(Fr,ui,25,_,15,1),r=0,jt=new Wv(_),s=0;s<t.i;++s){d=t.g[s],q=d;t:for(Mt=0;Mt<2;++Mt){for(w=_;--w>=0;)if(q!=null?Pi(q,G[w]):Ut(q)===Ut(G[w])){bt.length<=r&&(Z=bt,bt=Pt(Fr,ui,25,2*bt.length,15,1),qc(Z,0,bt,0,r)),bt[r++]=s,Hr(jt,G[w]);break t}if(q=q,Ut(q)===Ut(d))break}}if(k=jt,G=jt.g,_=r,r>bt.length&&(Z=bt,bt=Pt(Fr,ui,25,r,15,1),qc(Z,0,bt,0,r)),r>0){for(St=!0,o=0;o<r;++o)q=G[o],B=eKt(t,u(q,72),B);for(h=r;--h>=0;)ix(t,bt[h]);if(r!=_){for(s=_;--s>=r;)ix(k,s);Z=bt,bt=Pt(Fr,ui,25,r,15,1),qc(Z,0,bt,0,r)}e=k}}}else for(e=Ffn(t,e),s=t.i;--s>=0;)e.Hc(t.g[s])&&(ix(t,s),St=!0);if(St){if(bt!=null){for(n=e.gc(),M=n==1?I_(t,4,e.Kc().Pb(),null,bt[0],W):I_(t,6,e,bt,bt[0],W),B=n<100?null:new Dp(n),s=e.Kc();s.Ob();)q=s.Pb(),B=cvt(t,u(q,72),B);B?(B.Ei(M),B.Fi()):Oi(t.e,M)}else{for(B=YQe(e.gc()),s=e.Kc();s.Ob();)q=s.Pb(),B=cvt(t,u(q,72),B);B&&B.Fi()}return!0}else return!1}function s5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St;for(n=new Yie(e),n.a||qwn(e),k=Hvn(e),w=new qv,Z=new Hce,W=new S(e.a);W.a<W.c.c.length;)for(G=u(Q(W),10),s=new pr(xr(Gs(G).a.Kc(),new H));ti(s);)r=u(qr(s),17),(r.c.i.k==(Yn(),Fs)||r.d.i.k==Fs)&&(_=W3n(t,r,k,Z),un(w,tst(_.d),_.a));for(h=new ge,St=u(K(n.c,(oe(),Py)),21).Kc();St.Ob();){switch(Mt=u(St.Pb(),61),q=Z.c[Mt.g],B=Z.b[Mt.g],d=Z.a[Mt.g],o=null,bt=null,Mt.g){case 4:o=new fh(t.d.a,q,k.b.a-t.d.a,B-q),bt=new fh(t.d.a,q,d,B-q),Ov(k,new $e(o.c+o.b,o.d)),Ov(k,new $e(o.c+o.b,o.d+o.a));break;case 2:o=new fh(k.a.a,q,t.c.a-k.a.a,B-q),bt=new fh(t.c.a-d,q,d,B-q),Ov(k,new $e(o.c,o.d)),Ov(k,new $e(o.c,o.d+o.a));break;case 1:o=new fh(q,t.d.b,B-q,k.b.b-t.d.b),bt=new fh(q,t.d.b,B-q,d),Ov(k,new $e(o.c,o.d+o.a)),Ov(k,new $e(o.c+o.b,o.d+o.a));break;case 3:o=new fh(q,k.a.b,B-q,t.c.b-k.a.b),bt=new fh(q,t.c.b-d,B-q,d),Ov(k,new $e(o.c,o.d)),Ov(k,new $e(o.c+o.b,o.d))}o&&(M=new Xzt,M.d=Mt,M.b=o,M.c=bt,M.a=o$(u(ji(w,tst(Mt)),21)),h.c[h.c.length]=M)}return Hs(n.b,h),n.d=uun(f3n(k)),n}function The(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W;if(n.p[e.p]==null){d=!0,n.p[e.p]=0,h=e,W=n.o==(D1(),zb)?Rs:ms;do s=t.b.e[h.p],o=h.c.a.c.length,n.o==zb&&s>0||n.o==Y1&&s<o-1?(w=null,k=null,n.o==Y1?w=u(Fe(h.c.a,s+1),10):w=u(Fe(h.c.a,s-1),10),k=n.g[w.p],The(t,k,n),W=t.e.bg(W,e,h),n.j[e.p]==e&&(n.j[e.p]=n.j[k.p]),n.j[e.p]==n.j[k.p]?(G=U3(t.d,h,w),n.o==Y1?(r=Zt(n.p[e.p]),M=Zt(n.p[k.p])+Zt(n.d[w.p])-w.d.d-G-h.d.a-h.o.b-Zt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.min(M,W)):n.p[e.p]=b.Math.min(r,b.Math.min(M,W))):(r=Zt(n.p[e.p]),M=Zt(n.p[k.p])+Zt(n.d[w.p])+w.o.b+w.d.a+G+h.d.d-Zt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.max(M,W)):n.p[e.p]=b.Math.max(r,b.Math.max(M,W)))):(G=Zt(ke(K(t.a,(Te(),Fw)))),q=Yee(t,n.j[e.p]),_=Yee(t,n.j[k.p]),n.o==Y1?(B=Zt(n.p[e.p])+Zt(n.d[h.p])+h.o.b+h.d.a+G-(Zt(n.p[k.p])+Zt(n.d[w.p])-w.d.d),OQt(q,_,B)):(B=Zt(n.p[e.p])+Zt(n.d[h.p])-h.d.d-Zt(n.p[k.p])-Zt(n.d[w.p])-w.o.b-w.d.a-G,OQt(q,_,B)))):W=t.e.bg(W,e,h),h=n.a[h.p];while(h!=e);rKe(t.e,e)}}function a5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;for(St=e,Mt=new qv,jt=new qv,_=Gv(St,d8t),r=new EXt(t,n,Mt,jt),V0n(r.a,r.b,r.c,r.d,_),w=(Ae=Mt.i,Ae||(Mt.i=new K3(Mt,Mt.c))),Ze=w.Kc();Ze.Ob();)for(Ke=u(Ze.Pb(),202),s=u(ji(Mt,Ke),21),W=s.Kc();W.Ob();)if(G=W.Pb(),Xt=u(e4(t.d,G),202),Xt)d=(!Ke.e&&(Ke.e=new Tn(fs,Ke,10,9)),Ke.e),Hr(d,Xt);else throw h=N0(St,Id),B=kde+G+Ede+h,q=B+U7,et(new dd(q));for(k=(fe=jt.i,fe||(jt.i=new K3(jt,jt.c))),Vn=k.Kc();Vn.Ob();)for($n=u(Vn.Pb(),202),o=u(ji(jt,$n),21),bt=o.Kc();bt.Ob();)if(Z=bt.Pb(),Xt=u(e4(t.d,Z),202),Xt)M=(!$n.g&&($n.g=new Tn(fs,$n,9,10)),$n.g),Hr(M,Xt);else throw h=N0(St,Id),B=kde+Z+Ede+h,q=B+U7,et(new dd(q));!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new pe(fs,n,6,6)),n.a).i==1&&(kr=u(At((!n.a&&(n.a=new pe(fs,n,6,6)),n.a),0),202),!sst(kr)&&!ast(kr)&&(tz(kr,u(At((!n.b&&(n.b=new Tn(Lr,n,4,7)),n.b),0),82)),ez(kr,u(At((!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c),0),82))))}function o5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;for(St=t.a,jt=0,Xt=St.length;jt<Xt;++jt){for(Mt=St[jt],k=Di,_=Di,G=new S(Mt.e);G.a<G.c.c.length;)B=u(Q(G),10),h=B.c?Zo(B.c.a,B,0):-1,h>0?(M=u(Fe(B.c.a,h-1),10),Ke=U3(t.b,B,M),Z=B.n.b-B.d.d-(M.n.b+M.o.b+M.d.a+Ke)):Z=B.n.b-B.d.d,k=b.Math.min(Z,k),h<B.c.a.c.length-1?(M=u(Fe(B.c.a,h+1),10),Ke=U3(t.b,B,M),bt=M.n.b-M.d.d-(B.n.b+B.o.b+B.d.a+Ke)):bt=2*B.n.b,_=b.Math.min(bt,_);for(w=Di,o=!1,s=u(Fe(Mt.e,0),10),$n=new S(s.j);$n.a<$n.c.c.length;)for(Ze=u(Q($n),11),W=s.n.b+Ze.n.b+Ze.a.b,r=new S(Ze.e);r.a<r.c.c.length;)n=u(Q(r),17),fe=n.c,e=fe.i.n.b+fe.n.b+fe.a.b-W,b.Math.abs(e)<b.Math.abs(w)&&b.Math.abs(e)<(e<0?k:_)&&(w=e,o=!0);for(d=u(Fe(Mt.e,Mt.e.c.length-1),10),Ae=new S(d.j);Ae.a<Ae.c.c.length;)for(fe=u(Q(Ae),11),W=d.n.b+fe.n.b+fe.a.b,r=new S(fe.g);r.a<r.c.c.length;)n=u(Q(r),17),Ze=n.d,e=Ze.i.n.b+Ze.n.b+Ze.a.b-W,b.Math.abs(e)<b.Math.abs(w)&&b.Math.abs(e)<(e<0?k:_)&&(w=e,o=!0);if(o&&w!=0)for(q=new S(Mt.e);q.a<q.c.c.length;)B=u(Q(q),10),B.n.b+=w}}function _he(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(Il(t.a,e)){if(L0(u(cr(t.a,e),53),n))return 1}else Ni(t.a,e,new na);if(Il(t.a,n)){if(L0(u(cr(t.a,n),53),e))return-1}else Ni(t.a,n,new na);if(Il(t.e,e)){if(L0(u(cr(t.e,e),53),n))return-1}else Ni(t.e,e,new na);if(Il(t.e,n)){if(L0(u(cr(t.a,n),53),e))return 1}else Ni(t.e,n,new na);if(t.c==(z0(),fht)||!ia(e,(oe(),Bc))||!ia(n,(oe(),Bc))){if(w=u(Tbt(RZt(mit(Xi(new En(null,new _n(e.j,16)),new PL)),new OF)),11),_=u(Tbt(RZt(mit(Xi(new En(null,new _n(n.j,16)),new HX)),new VX)),11),w&&_){if(d=w.i,k=_.i,d&&d==k){for(B=new S(d.j);B.a<B.c.c.length;){if(M=u(Q(B),11),M==w)return k7(t,n,e),-1;if(M==_)return k7(t,e,n),1}return Tu(Tst(t,e),Tst(t,n))}for(G=t.d,W=0,Z=G.length;W<Z;++W){if(q=G[W],q==d)return k7(t,n,e),-1;if(q==k)return k7(t,e,n),1}}if(!ia(e,(oe(),Bc))||!ia(n,Bc))return s=Tst(t,e),h=Tst(t,n),s>h?k7(t,e,n):k7(t,n,e),s<h?-1:s>h?1:0}return r=u(K(e,(oe(),Bc)),19).a,o=u(K(n,Bc),19).a,r>o?k7(t,e,n):k7(t,n,e),r<o?-1:r>o?1:0}function x6t(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;if(je(Be(He(e,(Ei(),qG)))))return pn(),pn(),mo;if(k=(!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i!=0,M=Wgn(e),_=!M.dc(),k||_){if(s=u(He(e,C9),149),!s)throw et(new B3("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Mt=V2t(s,(w7(),eU)),Mie(e),!k&&_&&!Mt)return pn(),pn(),mo;if(w=new ge,Ut(He(e,i5))===Ut((q0(),np))&&(V2t(s,JG)||V2t(s,ZG)))for(q=fue(t,e),G=new hs,so(G,(!e.a&&(e.a=new pe(bs,e,10,11)),e.a));G.b!=0;)B=u(G.b==0?null:(sr(G.b!=0),bh(G,G.a.a)),33),Mie(B),bt=Ut(He(B,i5))===Ut(YS),bt||sb(B,GS)&&!imt(s,He(B,C9))?(d=x6t(t,B,n,r),Hs(w,d),Do(B,i5,YS),Lue(B)):so(G,(!B.a&&(B.a=new pe(bs,B,10,11)),B.a));else for(q=(!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i,h=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));h.e!=h.i.gc();)o=u(Tr(h),33),d=x6t(t,o,n,r),Hs(w,d),Lue(o);for(Z=new S(w);Z.a<Z.c.c.length;)W=u(Q(Z),79),Do(W,qG,(Rn(),!0));return khn(e,s,Kc(r,q)),zwn(w),_&&Mt?M:(pn(),pn(),mo)}else return pn(),pn(),mo}function SI(t,e,n,r,s,o,h,d,w){var k,_,M,B,q,G,W;switch(q=n,_=new G0(w),A0(_,(Yn(),Fs)),ne(_,(oe(),KEt),h),ne(_,(Te(),xs),(ka(),eu)),W=Zt(ke(t.We(zy))),ne(_,zy,W),M=new zc,ac(M,_),e!=Q1&&e!=T2||(r>=0?q=tx(d):q=UD(tx(d)),t.Ye(w9,q)),k=new $a,B=!1,t.Xe(Pw)?(Obt(k,u(t.We(Pw),8)),B=!0):PXe(k,h.a/2,h.b/2),q.g){case 4:ne(_,bu,(mh(),b2)),ne(_,GV,(hb(),G4)),_.o.b=h.b,W<0&&(_.o.a=-W),Qs(M,(ye(),Wn)),B||(k.a=h.a),k.a-=h.a;break;case 2:ne(_,bu,(mh(),Fy)),ne(_,GV,(hb(),l9)),_.o.b=h.b,W<0&&(_.o.a=-W),Qs(M,(ye(),jn)),B||(k.a=0);break;case 1:ne(_,Nb,(j0(),W4)),_.o.a=h.a,W<0&&(_.o.b=-W),Qs(M,(ye(),Ir)),B||(k.b=h.b),k.b-=h.b;break;case 3:ne(_,Nb,(j0(),Lx)),_.o.a=h.a,W<0&&(_.o.b=-W),Qs(M,(ye(),Nn)),B||(k.b=0)}if(Obt(M.n,k),ne(_,Pw,k),e==Ub||e==p0||e==eu){if(G=0,e==Ub&&t.Xe(Qg))switch(q.g){case 1:case 2:G=u(t.We(Qg),19).a;break;case 3:case 4:G=-u(t.We(Qg),19).a}else switch(q.g){case 4:case 2:G=o.b,e==p0&&(G/=s.b);break;case 1:case 3:G=o.a,e==p0&&(G/=s.a)}ne(_,Dw,G)}return ne(_,yc,q),_}function c5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze;if(n=Zt(ke(K(t.a.j,(Te(),NTt)))),n<-1||!t.a.i||O6(u(K(t.a.o,xs),98))||uc(t.a.o,(ye(),Wn)).gc()<2&&uc(t.a.o,jn).gc()<2)return!0;if(t.a.c.Rf())return!1;for(Xt=0,jt=0,St=new ge,w=t.a.e,k=0,_=w.length;k<_;++k){for(d=w[k],B=d,q=0,W=B.length;q<W;++q){if(M=B[q],M.k==(Yn(),Jc)){St.c[St.c.length]=M;continue}for(r=t.b[M.c.p][M.p],M.k==Fs?(r.b=1,u(K(M,(oe(),Bi)),11).j==(ye(),Wn)&&(jt+=r.a)):(Ze=uc(M,(ye(),jn)),Ze.dc()||!Jet(Ze,new sQ)?r.c=1:(s=uc(M,Wn),(s.dc()||!Jet(s,new iQ))&&(Xt+=r.a))),h=new pr(xr(Gs(M).a.Kc(),new H));ti(h);)o=u(qr(h),17),Xt+=r.c,jt+=r.b,Ke=o.d.i,xmt(t,r,Ke);for(bt=B1(ct(ot(G1,1),De,20,0,[uc(M,(ye(),Nn)),uc(M,Ir)])),Ae=new pr(new pbt(bt.a.length,bt.a));ti(Ae);)fe=u(qr(Ae),11),Mt=u(K(fe,(oe(),ul)),10),Mt&&(Xt+=r.c,jt+=r.b,xmt(t,r,Mt))}for(G=new S(St);G.a<G.c.c.length;)for(M=u(Q(G),10),r=t.b[M.c.p][M.p],h=new pr(xr(Gs(M).a.Kc(),new H));ti(h);)o=u(qr(h),17),Xt+=r.c,jt+=r.b,Ke=o.d.i,xmt(t,r,Ke);St.c=Pt(ir,De,1,0,5,1)}return e=Xt+jt,Z=e==0?ms:(Xt-jt)/e,Z>=n}function u5n(){r2t();function t(r){var s=this;this.dispatch=function(o){var h=o.data;switch(h.cmd){case"algorithms":var d=h3t((pn(),new T(new T1(A2.b))));r.postMessage({id:h.id,data:d});break;case"categories":var w=h3t((pn(),new T(new T1(A2.c))));r.postMessage({id:h.id,data:w});break;case"options":var k=h3t((pn(),new T(new T1(A2.d))));r.postMessage({id:h.id,data:k});break;case"register":b3n(h.algorithms),r.postMessage({id:h.id});break;case"layout":Xmn(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(o){try{s.dispatch(o)}catch(h){r.postMessage({id:o.data.id,error:h})}}}function e(r){var s=this;this.dispatcher=new t({postMessage:function(o){s.onmessage({data:o})}}),this.postMessage=function(o){setTimeout(function(){s.dispatcher.saveDispatch({data:o})},0)}}if(typeof document===pot&&typeof self!==pot){var n=new t(self);self.onmessage=n.saveDispatch}else typeof p!==pot&&p.exports&&(Object.defineProperty(v,"__esModule",{value:!0}),p.exports={default:e,Worker:e})}function l5n(t){t.N||(t.N=!0,t.b=vc(t,0),ps(t.b,0),ps(t.b,1),ps(t.b,2),t.bb=vc(t,1),ps(t.bb,0),ps(t.bb,1),t.fb=vc(t,2),ps(t.fb,3),ps(t.fb,4),Ki(t.fb,5),t.qb=vc(t,3),ps(t.qb,0),Ki(t.qb,1),Ki(t.qb,2),ps(t.qb,3),ps(t.qb,4),Ki(t.qb,5),ps(t.qb,6),t.a=yi(t,4),t.c=yi(t,5),t.d=yi(t,6),t.e=yi(t,7),t.f=yi(t,8),t.g=yi(t,9),t.i=yi(t,10),t.j=yi(t,11),t.k=yi(t,12),t.n=yi(t,13),t.o=yi(t,14),t.p=yi(t,15),t.q=yi(t,16),t.s=yi(t,17),t.r=yi(t,18),t.t=yi(t,19),t.u=yi(t,20),t.v=yi(t,21),t.w=yi(t,22),t.B=yi(t,23),t.A=yi(t,24),t.C=yi(t,25),t.D=yi(t,26),t.F=yi(t,27),t.G=yi(t,28),t.H=yi(t,29),t.J=yi(t,30),t.I=yi(t,31),t.K=yi(t,32),t.M=yi(t,33),t.L=yi(t,34),t.P=yi(t,35),t.Q=yi(t,36),t.R=yi(t,37),t.S=yi(t,38),t.T=yi(t,39),t.U=yi(t,40),t.V=yi(t,41),t.X=yi(t,42),t.W=yi(t,43),t.Y=yi(t,44),t.Z=yi(t,45),t.$=yi(t,46),t._=yi(t,47),t.ab=yi(t,48),t.cb=yi(t,49),t.db=yi(t,50),t.eb=yi(t,51),t.gb=yi(t,52),t.hb=yi(t,53),t.ib=yi(t,54),t.jb=yi(t,55),t.kb=yi(t,56),t.lb=yi(t,57),t.mb=yi(t,58),t.nb=yi(t,59),t.ob=yi(t,60),t.pb=yi(t,61))}function h5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(Mt=0,e.f.a==0)for(Z=new S(t);Z.a<Z.c.c.length;)G=u(Q(Z),10),Mt=b.Math.max(Mt,G.n.a+G.o.a+G.d.c);else Mt=e.f.a-e.c.a;for(Mt-=e.c.a,W=new S(t);W.a<W.c.c.length;){switch(G=u(Q(W),10),AT(G.n,Mt-G.o.a),Cvt(G.f),bse(G),(G.q?G.q:(pn(),pn(),l0))._b((Te(),Hy))&&AT(u(K(G,Hy),8),Mt-G.o.a),u(K(G,Fd),248).g){case 1:ne(G,Fd,(e0(),VO));break;case 2:ne(G,Fd,(e0(),HO))}for(bt=G.o,jt=new S(G.j);jt.a<jt.c.c.length;){for(St=u(Q(jt),11),AT(St.n,bt.a-St.o.a),AT(St.a,St.o.a),Qs(St,lne(St.j)),h=u(K(St,Qg),19),h&&ne(St,Qg,ve(-h.a)),o=new S(St.g);o.a<o.c.c.length;){for(s=u(Q(o),17),r=gi(s.a,0);r.b!=r.d.c;)n=u(di(r),8),n.a=Mt-n.a;if(k=u(K(s,zo),74),k)for(w=gi(k,0);w.b!=w.d.c;)d=u(di(w),8),d.a=Mt-d.a;for(B=new S(s.b);B.a<B.c.c.length;)_=u(Q(B),70),AT(_.n,Mt-_.o.a)}for(q=new S(St.f);q.a<q.c.c.length;)_=u(Q(q),70),AT(_.n,St.o.a-_.o.a)}for(G.k==(Yn(),Fs)&&(ne(G,(oe(),yc),lne(u(K(G,yc),61))),v0n(G)),M=new S(G.b);M.a<M.c.c.length;)_=u(Q(M),70),bse(_),AT(_.n,bt.a-_.o.a)}}function f5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(Mt=0,e.f.b==0)for(Z=new S(t);Z.a<Z.c.c.length;)G=u(Q(Z),10),Mt=b.Math.max(Mt,G.n.b+G.o.b+G.d.a);else Mt=e.f.b-e.c.b;for(Mt-=e.c.b,W=new S(t);W.a<W.c.c.length;){switch(G=u(Q(W),10),ST(G.n,Mt-G.o.b),Svt(G.f),vse(G),(G.q?G.q:(pn(),pn(),l0))._b((Te(),Hy))&&ST(u(K(G,Hy),8),Mt-G.o.b),u(K(G,Fd),248).g){case 3:ne(G,Fd,(e0(),FG));break;case 4:ne(G,Fd,(e0(),RG))}for(bt=G.o,jt=new S(G.j);jt.a<jt.c.c.length;){for(St=u(Q(jt),11),ST(St.n,bt.b-St.o.b),ST(St.a,St.o.b),Qs(St,hne(St.j)),h=u(K(St,Qg),19),h&&ne(St,Qg,ve(-h.a)),o=new S(St.g);o.a<o.c.c.length;){for(s=u(Q(o),17),r=gi(s.a,0);r.b!=r.d.c;)n=u(di(r),8),n.b=Mt-n.b;if(k=u(K(s,zo),74),k)for(w=gi(k,0);w.b!=w.d.c;)d=u(di(w),8),d.b=Mt-d.b;for(B=new S(s.b);B.a<B.c.c.length;)_=u(Q(B),70),ST(_.n,Mt-_.o.b)}for(q=new S(St.f);q.a<q.c.c.length;)_=u(Q(q),70),ST(_.n,St.o.b-_.o.b)}for(G.k==(Yn(),Fs)&&(ne(G,(oe(),yc),hne(u(K(G,yc),61))),jun(G)),M=new S(G.b);M.a<M.c.c.length;)_=u(Q(M),70),vse(_),ST(_.n,bt.b-_.o.b)}}function d5n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q;for(M=!1,k=t+1,_=(An(t,e.c.length),u(e.c[t],200)),h=_.a,d=null,o=0;o<_.a.c.length;o++)if(s=(An(o,h.c.length),u(h.c[o],187)),!s.c){if(s.b.c.length==0){Ud(),rI(_,s),--o,M=!0;continue}if(s.k||(d&&Wz(d),d=new Iwt(d?d.e+d.d+r:0,_.f,r),ZD(s,d.e+d.d,_.f),de(_.d,d),syt(d,s),s.k=!0),w=null,w=(q=null,o<_.a.c.length-1?q=u(Fe(_.a,o+1),187):k<e.c.length&&(An(k,e.c.length),u(e.c[k],200)).a.c.length!=0&&(q=u(Fe((An(k,e.c.length),u(e.c[k],200)).a,0),187)),q),B=!1,w&&(B=!Pi(w.j,_)),w){if(w.b.c.length==0){rI(_,w);break}else bD(s,n-s.s),Wz(s.q),M=M|w0n(_,s,w,n,r);if(w.b.c.length==0)for(rI((An(k,e.c.length),u(e.c[k],200)),w),w=null;e.c.length>k&&(An(k,e.c.length),u(e.c[k],200)).a.c.length==0;)Au(e,(An(k,e.c.length),e.c[k]));if(!w){--o;continue}if(Qwn(e,_,s,w,B,n,k,r)){M=!0;continue}if(B){if(iyn(e,_,s,w,n,k,r)){M=!0;continue}else if(Ryt(_,s)){s.c=!0,M=!0;continue}}else if(Ryt(_,s)){s.c=!0,M=!0;continue}if(M)continue}if(Ryt(_,s)){s.c=!0,M=!0,w&&(w.k=!1);continue}else Wz(s.q)}return M}function Mat(t,e,n,r,s,o,h){var d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js;for(W=0,$n=0,k=new S(t.b);k.a<k.c.c.length;)w=u(Q(k),157),w.c&&the(w.c),W=b.Math.max(W,Wu(w)),$n+=Wu(w)*Dl(w);for(Z=$n/t.b.c.length,Ze=L1n(t.b,Z),$n+=t.b.c.length*Ze,W=b.Math.max(W,b.Math.sqrt($n*h))+n.b,Ai=n.b,Js=n.d,q=0,M=n.b+n.c,Ke=new hs,pi(Ke,ve(0)),fe=new hs,_=new Sa(t.b,0),G=null,d=new ge;_.b<_.d.gc();)w=(sr(_.b<_.d.gc()),u(_.d.Xb(_.c=_.b++),157)),kr=Wu(w),B=Dl(w),Ai+kr>W&&(o&&(X2(fe,q),X2(Ke,ve(_.b-1)),de(t.d,G),d.c=Pt(ir,De,1,0,5,1)),Ai=n.b,Js+=q+e,q=0,M=b.Math.max(M,n.b+n.c+kr)),d.c[d.c.length]=w,qie(w,Ai,Js),M=b.Math.max(M,Ai+kr+n.c),q=b.Math.max(q,B),Ai+=kr+e,G=w;if(Hs(t.a,d),de(t.d,u(Fe(d,d.c.length-1),157)),M=b.Math.max(M,r),Vn=Js+q+n.a,Vn<s&&(q+=s-Vn,Vn=s),o)for(Ai=n.b,_=new Sa(t.b,0),X2(Ke,ve(t.b.c.length)),Ae=gi(Ke,0),Mt=u(di(Ae),19).a,X2(fe,q),Xt=gi(fe,0),jt=0;_.b<_.d.gc();)_.b==Mt&&(Ai=n.b,jt=Zt(ke(di(Xt))),Mt=u(di(Ae),19).a),w=(sr(_.b<_.d.gc()),u(_.d.Xb(_.c=_.b++),157)),kie(w,jt),_.b==Mt&&(bt=M-Ai-n.c,St=Wu(w),xie(w,bt),Gre(w,(bt-St)/2,0)),Ai+=Wu(w)+e;return new $e(M,Vn)}function g5n(t){var e,n,r,s,o;switch(e=t.c,o=null,e){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:Ci(t),o=(Si(),wLt);break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return o=t.ul(t.a),Ci(t),o;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=t.tl(),n<co?o=(Si(),Si(),new Yd(0,n)):o=wYt(t3t(n));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(o=J4t(t,t.a),!o)throw et(new Kr(ei((Ur(),Qct))));break;default:o=BKt(t.a)}Ci(t);break;case 0:if(t.a==93||t.a==123||t.a==125)throw et(new Kr(ei((Ur(),k8t))));o=BKt(t.a),r=t.a,Ci(t),(r&64512)==FI&&t.c==0&&(t.a&64512)==56320&&(s=Pt(Sh,Td,25,2,15,1),s[0]=r&Ps,s[1]=t.a&Ps,o=Rnt(wYt(Fh(s,0,s.length)),0),Ci(t));break;default:throw et(new Kr(ei((Ur(),k8t))))}return o}function p5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;if(r=new ge,s=Di,o=Di,h=Di,n)for(s=t.f.a,W=new S(e.j);W.a<W.c.c.length;)for(G=u(Q(W),11),w=new S(G.g);w.a<w.c.c.length;)d=u(Q(w),17),d.a.b!=0&&(_=u(ant(d.a),8),_.a<s&&(o=s-_.a,h=Di,r.c=Pt(ir,De,1,0,5,1),s=_.a),_.a<=s&&(r.c[r.c.length]=d,d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,1),8).b-_.b)))));else for(W=new S(e.j);W.a<W.c.c.length;)for(G=u(Q(W),11),w=new S(G.e);w.a<w.c.c.length;)d=u(Q(w),17),d.a.b!=0&&(B=u(mj(d.a),8),B.a>s&&(o=B.a-s,h=Di,r.c=Pt(ir,De,1,0,5,1),s=B.a),B.a>=s&&(r.c[r.c.length]=d,d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,d.a.b-2),8).b-B.b)))));if(r.c.length!=0&&o>e.o.a/2&&h>e.o.b/2){for(q=new zc,ac(q,e),Qs(q,(ye(),Nn)),q.n.a=e.o.a/2,bt=new zc,ac(bt,e),Qs(bt,Ir),bt.n.a=e.o.a/2,bt.n.b=e.o.b,w=new S(r);w.a<w.c.c.length;)d=u(Q(w),17),n?(k=u(knt(d.a),8),Z=d.a.b==0?I1(d.d):u(ant(d.a),8),Z.b>=k.b?Wa(d,bt):Wa(d,q)):(k=u(otn(d.a),8),Z=d.a.b==0?I1(d.c):u(mj(d.a),8),Z.b>=k.b?ya(d,bt):ya(d,q)),M=u(K(d,(Te(),zo)),74),M&&ry(M,k,!0);e.n.a=s-e.o.a/2}}function b5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js,ih,nf;if($n=null,kr=e,Vn=LZt(t,_Zt(n),kr),q_(Vn,N0(kr,Id)),Ai=u(e4(t.g,ax(P0(kr,jct))),33),B=P0(kr,"sourcePort"),r=null,B&&(r=ax(B)),Js=u(e4(t.j,r),118),!Ai)throw d=c7(kr),G="An edge must have a source node (edge id: '"+d,W=G+U7,et(new dd(W));if(Js&&!md(M1(Js),Ai))throw w=N0(kr,Id),Z="The source port of an edge must be a port of the edge's source node (edge id: '"+w,bt=Z+U7,et(new dd(bt));if(Ke=(!Vn.b&&(Vn.b=new Tn(Lr,Vn,4,7)),Vn.b),o=null,Js?o=Js:o=Ai,Hr(Ke,o),ih=u(e4(t.g,ax(P0(kr,y8t))),33),q=P0(kr,"targetPort"),s=null,q&&(s=ax(q)),nf=u(e4(t.j,s),118),!ih)throw M=c7(kr),Mt="An edge must have a target node (edge id: '"+M,St=Mt+U7,et(new dd(St));if(nf&&!md(M1(nf),ih))throw k=N0(kr,Id),jt="The target port of an edge must be a port of the edge's target node (edge id: '"+k,Xt=jt+U7,et(new dd(Xt));if(Ze=(!Vn.c&&(Vn.c=new Tn(Lr,Vn,5,8)),Vn.c),h=null,nf?h=nf:h=ih,Hr(Ze,h),(!Vn.b&&(Vn.b=new Tn(Lr,Vn,4,7)),Vn.b).i==0||(!Vn.c&&(Vn.c=new Tn(Lr,Vn,5,8)),Vn.c).i==0)throw _=N0(kr,Id),fe=xde+_,Ae=fe+U7,et(new dd(Ae));return eq(kr,Vn),a2n(kr,Vn),$n=wit(t,kr,Vn),$n}function Che(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;return M=mmn(_u(t,(ye(),Z1)),e),G=f4(_u(t,Pf),e),jt=f4(_u(t,eh),e),Ke=Kz(_u(t,Xh),e),B=Kz(_u(t,_h),e),Mt=f4(_u(t,Nf),e),W=f4(_u(t,hl),e),fe=f4(_u(t,nh),e),Xt=f4(_u(t,Ch),e),Ze=Kz(_u(t,vu),e),bt=f4(_u(t,Bu),e),St=f4(_u(t,fl),e),Ae=f4(_u(t,Fu),e),$n=Kz(_u(t,Ru),e),q=Kz(_u(t,Ju),e),Z=f4(_u(t,nu),e),n=i4(ct(ot(wa,1),Io,25,15,[Mt.a,Ke.a,fe.a,$n.a])),r=i4(ct(ot(wa,1),Io,25,15,[G.a,M.a,jt.a,Z.a])),s=bt.a,o=i4(ct(ot(wa,1),Io,25,15,[W.a,B.a,Xt.a,q.a])),k=i4(ct(ot(wa,1),Io,25,15,[Mt.b,G.b,W.b,St.b])),w=i4(ct(ot(wa,1),Io,25,15,[Ke.b,M.b,B.b,Z.b])),_=Ze.b,d=i4(ct(ot(wa,1),Io,25,15,[fe.b,jt.b,Xt.b,Ae.b])),Pg(_u(t,Z1),n+s,k+_),Pg(_u(t,nu),n+s,k+_),Pg(_u(t,Pf),n+s,0),Pg(_u(t,eh),n+s,k+_+w),Pg(_u(t,Xh),0,k+_),Pg(_u(t,_h),n+s+r,k+_),Pg(_u(t,hl),n+s+r,0),Pg(_u(t,nh),0,k+_+w),Pg(_u(t,Ch),n+s+r,k+_+w),Pg(_u(t,vu),0,k),Pg(_u(t,Bu),n,0),Pg(_u(t,Fu),0,k+_+w),Pg(_u(t,Ju),n+s+r,0),h=new $a,h.a=i4(ct(ot(wa,1),Io,25,15,[n+r+s+o,Ze.a,St.a,Ae.a])),h.b=i4(ct(ot(wa,1),Io,25,15,[k+w+_+d,bt.b,$n.b,q.b])),h}function v5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(W=new ge,B=new S(t.d.b);B.a<B.c.c.length;)for(M=u(Q(B),29),G=new S(M.a);G.a<G.c.c.length;){for(q=u(Q(G),10),s=u(cr(t.f,q),57),w=new pr(xr(Gs(q).a.Kc(),new H));ti(w);)if(h=u(qr(w),17),r=gi(h.a,0),k=!0,_=null,r.b!=r.d.c){for(e=u(di(r),8),n=null,h.c.j==(ye(),Nn)&&(Z=new xC(e,new $e(e.a,s.d.d),s,h),Z.f.a=!0,Z.a=h.c,W.c[W.c.length]=Z),h.c.j==Ir&&(Z=new xC(e,new $e(e.a,s.d.d+s.d.a),s,h),Z.f.d=!0,Z.a=h.c,W.c[W.c.length]=Z);r.b!=r.d.c;)n=u(di(r),8),Fmt(e.b,n.b)||(_=new xC(e,n,null,h),W.c[W.c.length]=_,k&&(k=!1,n.b<s.d.d?_.f.a=!0:n.b>s.d.d+s.d.a?_.f.d=!0:(_.f.d=!0,_.f.a=!0))),r.b!=r.d.c&&(e=n);_&&(o=u(cr(t.f,h.d.i),57),e.b<o.d.d?_.f.a=!0:e.b>o.d.d+o.d.a?_.f.d=!0:(_.f.d=!0,_.f.a=!0))}for(d=new pr(xr(Jo(q).a.Kc(),new H));ti(d);)h=u(qr(d),17),h.a.b!=0&&(e=u(mj(h.a),8),h.d.j==(ye(),Nn)&&(Z=new xC(e,new $e(e.a,s.d.d),s,h),Z.f.a=!0,Z.a=h.d,W.c[W.c.length]=Z),h.d.j==Ir&&(Z=new xC(e,new $e(e.a,s.d.d+s.d.a),s,h),Z.f.d=!0,Z.a=h.d,W.c[W.c.length]=Z))}return W}function w5n(t,e,n){var r,s,o,h,d,w,k,_,M;if(Dr(n,"Network simplex node placement",1),t.e=e,t.n=u(K(e,(oe(),X4)),304),Nyn(t),pdn(t),Ts(oc(new En(null,new _n(t.e.b,16)),new fQ),new m$t(t)),Ts(Xi(oc(Xi(oc(new En(null,new _n(t.e.b,16)),new VE),new kQ),new EQ),new TQ),new w$t(t)),je(Be(K(t.e,(Te(),TS))))&&(h=Kc(n,1),Dr(h,"Straight Edges Pre-Processing",1),t4n(t),br(h)),Xhn(t.f),o=u(K(e,SS),19).a*t.f.a.c.length,cat(Xpt(Qpt(mnt(t.f),o),!1),Kc(n,1)),t.d.a.gc()!=0){for(h=Kc(n,1),Dr(h,"Flexible Where Space Processing",1),d=u(Iv(Gj(Cu(new En(null,new _n(t.f.a,16)),new dQ),new aQ)),19).a,w=u(Iv(Vj(Cu(new En(null,new _n(t.f.a,16)),new gQ),new oQ)),19).a,k=w-d,_=Dv(new K2,t.f),M=Dv(new K2,t.f),Tf(gf(df(ff(pf(new Dh,2e4),k),_),M)),Ts(Xi(Xi($nt(t.i),new pQ),new bQ),new bXt(d,_,k,M)),s=t.d.a.ec().Kc();s.Ob();)r=u(s.Pb(),213),r.g=1;cat(Xpt(Qpt(mnt(t.f),o),!1),Kc(h,1)),br(h)}je(Be(K(e,TS)))&&(h=Kc(n,1),Dr(h,"Straight Edges Post-Processing",1),sgn(t),br(h)),R3n(t),t.e=null,t.f=null,t.i=null,t.c=null,al(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),br(n)}function m5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(d=new S(t.a.b);d.a<d.c.c.length;)for(o=u(Q(d),29),St=new S(o.a);St.a<St.c.c.length;)Mt=u(Q(St),10),e.g[Mt.p]=Mt,e.a[Mt.p]=Mt,e.d[Mt.p]=0;for(w=t.a.b,e.c==(yd(),Zg)&&(w=_t(w,152)?U6(u(w,152)):_t(w,131)?u(w,131).a:_t(w,54)?new wv(w):new Mm(w)),h=w.Kc();h.Ob();)for(o=u(h.Pb(),29),q=-1,B=o.a,e.o==(D1(),Y1)&&(q=Di,B=_t(B,152)?U6(u(B,152)):_t(B,131)?u(B,131).a:_t(B,54)?new wv(B):new Mm(B)),Xt=B.Kc();Xt.Ob();)if(jt=u(Xt.Pb(),10),M=null,e.c==Zg?M=u(Fe(t.b.f,jt.p),15):M=u(Fe(t.b.b,jt.p),15),M.gc()>0)if(r=M.gc(),k=Ds(b.Math.floor((r+1)/2))-1,s=Ds(b.Math.ceil((r+1)/2))-1,e.o==Y1)for(_=s;_>=k;_--)e.a[jt.p]==jt&&(W=u(M.Xb(_),46),G=u(W.a,10),!L0(n,W.b)&&q>t.b.e[G.p]&&(e.a[G.p]=jt,e.g[jt.p]=e.g[G.p],e.a[jt.p]=e.g[jt.p],e.f[e.g[jt.p].p]=(Rn(),!!(je(e.f[e.g[jt.p].p])&jt.k==(Yn(),ha))),q=t.b.e[G.p]));else for(_=k;_<=s;_++)e.a[jt.p]==jt&&(bt=u(M.Xb(_),46),Z=u(bt.a,10),!L0(n,bt.b)&&q<t.b.e[Z.p]&&(e.a[Z.p]=jt,e.g[jt.p]=e.g[Z.p],e.a[jt.p]=e.g[jt.p],e.f[e.g[jt.p].p]=(Rn(),!!(je(e.f[e.g[jt.p].p])&jt.k==(Yn(),ha))),q=t.b.e[Z.p]))}function ou(){ou=X,oHt(),S4e=da.a,u(At(Kt(da.a),0),18),_4e=da.f,u(At(Kt(da.f),0),18),u(At(Kt(da.f),1),34),C4e=da.n,u(At(Kt(da.n),0),34),u(At(Kt(da.n),1),34),u(At(Kt(da.n),2),34),u(At(Kt(da.n),3),34),NAt=da.g,u(At(Kt(da.g),0),18),u(At(Kt(da.g),1),34),T4e=da.c,u(At(Kt(da.c),0),18),u(At(Kt(da.c),1),18),FAt=da.i,u(At(Kt(da.i),0),18),u(At(Kt(da.i),1),18),u(At(Kt(da.i),2),18),u(At(Kt(da.i),3),18),u(At(Kt(da.i),4),34),BAt=da.j,u(At(Kt(da.j),0),18),PAt=da.d,u(At(Kt(da.d),0),18),u(At(Kt(da.d),1),18),u(At(Kt(da.d),2),18),u(At(Kt(da.d),3),18),u(At(Kt(da.d),4),34),u(At(Kt(da.d),5),34),u(At(Kt(da.d),6),34),u(At(Kt(da.d),7),34),E4e=da.b,u(At(Kt(da.b),0),34),u(At(Kt(da.b),1),34),QG=da.e,u(At(Kt(da.e),0),34),u(At(Kt(da.e),1),34),u(At(Kt(da.e),2),34),u(At(Kt(da.e),3),34),u(At(Kt(da.e),4),18),u(At(Kt(da.e),5),18),u(At(Kt(da.e),6),18),u(At(Kt(da.e),7),18),u(At(Kt(da.e),8),18),u(At(Kt(da.e),9),18),u(At(Kt(da.e),10),34),S2=da.k,u(At(Kt(da.k),0),34),u(At(Kt(da.k),1),34)}function y5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn;for(Ze=new hs,fe=new hs,Z=-1,w=new S(t);w.a<w.c.c.length;){for(h=u(Q(w),128),h.s=Z--,_=0,St=0,o=new S(h.t);o.a<o.c.c.length;)r=u(Q(o),268),St+=r.c;for(s=new S(h.i);s.a<s.c.c.length;)r=u(Q(s),268),_+=r.c;h.n=_,h.u=St,St==0?Cs(fe,h,fe.c.b,fe.c):_==0&&Cs(Ze,h,Ze.c.b,Ze.c)}for(Vn=_$(t),M=t.c.length,W=M+1,bt=M-1,q=new ge;Vn.a.gc()!=0;){for(;fe.b!=0;)Xt=(sr(fe.b!=0),u(bh(fe,fe.a.a),128)),Vn.a.Bc(Xt)!=null,Xt.s=bt--,w5t(Xt,Ze,fe);for(;Ze.b!=0;)Ae=(sr(Ze.b!=0),u(bh(Ze,Ze.a.a),128)),Vn.a.Bc(Ae)!=null,Ae.s=W++,w5t(Ae,Ze,fe);for(G=qa,k=Vn.a.ec().Kc();k.Ob();)h=u(k.Pb(),128),Mt=h.u-h.n,Mt>=G&&(Mt>G&&(q.c=Pt(ir,De,1,0,5,1),G=Mt),q.c[q.c.length]=h);q.c.length!=0&&(B=u(Fe(q,Hz(e,q.c.length)),128),Vn.a.Bc(B)!=null,B.s=W++,w5t(B,Ze,fe),q.c=Pt(ir,De,1,0,5,1))}for(jt=t.c.length+1,d=new S(t);d.a<d.c.c.length;)h=u(Q(d),128),h.s<M&&(h.s+=jt);for(Ke=new S(t);Ke.a<Ke.c.c.length;)for(Ae=u(Q(Ke),128),n=new Sa(Ae.t,0);n.b<n.d.gc();)r=(sr(n.b<n.d.gc()),u(n.d.Xb(n.c=n.b++),268)),$n=r.b,Ae.s>$n.s&&(Ol(n),Au($n.i,r),r.c>0&&(r.a=$n,de($n.t,r),r.b=Ae,de(Ae.i,r)))}function k6t(t){var e,n,r,s,o;switch(e=t.c,e){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return Ci(t),Si(),Si(),fA;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(o=g5n(t),e=t.c,e){case 3:return t.Zl(o);case 4:return t.Xl(o);case 5:return t.Yl(o);case 0:if(t.a==123&&t.d<t.j){if(s=t.d,r=0,n=-1,(e=Oa(t.i,s++))>=48&&e<=57){for(r=e-48;s<t.j&&(e=Oa(t.i,s++))>=48&&e<=57;)if(r=r*10+e-48,r<0)throw et(new Kr(ei((Ur(),C8t))))}else throw et(new Kr(ei((Ur(),Yde))));if(n=r,e==44){if(s>=t.j)throw et(new Kr(ei((Ur(),Qde))));if((e=Oa(t.i,s++))>=48&&e<=57){for(n=e-48;s<t.j&&(e=Oa(t.i,s++))>=48&&e<=57;)if(n=n*10+e-48,n<0)throw et(new Kr(ei((Ur(),C8t))));if(r>n)throw et(new Kr(ei((Ur(),Zde))))}else n=-1}if(e!=125)throw et(new Kr(ei((Ur(),Xde))));t.sl(s)?(o=(Si(),Si(),new Wm(9,o)),t.d=s+1):(o=(Si(),Si(),new Wm(3,o)),t.d=s),o.dm(r),o.cm(n),Ci(t)}}return o}function She(t,e,n,r,s){var o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn;for(W=new iu(e.b),jt=new iu(e.b),B=new iu(e.b),Ke=new iu(e.b),Z=new iu(e.b),Ae=gi(e,0);Ae.b!=Ae.d.c;)for(Xt=u(di(Ae),11),d=new S(Xt.g);d.a<d.c.c.length;)if(o=u(Q(d),17),o.c.i==o.d.i){if(Xt.j==o.d.j){Ke.c[Ke.c.length]=o;continue}else if(Xt.j==(ye(),Nn)&&o.d.j==Ir){Z.c[Z.c.length]=o;continue}}for(w=new S(Z);w.a<w.c.c.length;)o=u(Q(w),17),emn(t,o,n,r,(ye(),Wn));for(h=new S(Ke);h.a<h.c.c.length;)o=u(Q(h),17),Ze=new G0(t),A0(Ze,(Yn(),Jc)),ne(Ze,(Te(),xs),(ka(),eu)),ne(Ze,(oe(),Bi),o),$n=new zc,ne($n,Bi,o.d),Qs($n,(ye(),jn)),ac($n,Ze),Vn=new zc,ne(Vn,Bi,o.c),Qs(Vn,Wn),ac(Vn,Ze),ne(o.c,ul,Ze),ne(o.d,ul,Ze),Wa(o,null),ya(o,null),n.c[n.c.length]=Ze,ne(Ze,VV,ve(2));for(fe=gi(e,0);fe.b!=fe.d.c;)Xt=u(di(fe),11),k=Xt.e.c.length>0,bt=Xt.g.c.length>0,k&&bt?B.c[B.c.length]=Xt:k?W.c[W.c.length]=Xt:bt&&(jt.c[jt.c.length]=Xt);for(G=new S(W);G.a<G.c.c.length;)q=u(Q(G),11),de(s,i6t(t,q,null,n));for(St=new S(jt);St.a<St.c.c.length;)Mt=u(Q(St),11),de(s,i6t(t,null,Mt,n));for(M=new S(B);M.a<M.c.c.length;)_=u(Q(M),11),de(s,i6t(t,_,_,n))}function Ahe(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n;for(Mt=new $e(ms,ms),e=new $e(Rs,Rs),Ke=new S(t);Ke.a<Ke.c.c.length;)Ae=u(Q(Ke),8),Mt.a=b.Math.min(Mt.a,Ae.a),Mt.b=b.Math.min(Mt.b,Ae.b),e.a=b.Math.max(e.a,Ae.a),e.b=b.Math.max(e.b,Ae.b);for(B=new $e(e.a-Mt.a,e.b-Mt.b),k=new $e(Mt.a-50,Mt.b-B.a-50),_=new $e(Mt.a-50,e.b+B.a+50),M=new $e(e.a+B.b/2+50,Mt.b+B.b/2),q=new e6t(k,_,M),fe=new na,o=new ge,n=new ge,fe.a.zc(q,fe),$n=new S(t);$n.a<$n.c.c.length;){for(Ze=u(Q($n),8),o.c=Pt(ir,De,1,0,5,1),Xt=fe.a.ec().Kc();Xt.Ob();)St=u(Xt.Pb(),308),r=St.d,Wp(r,St.a),nw(Wp(St.d,Ze),Wp(St.d,St.a))<0&&(o.c[o.c.length]=St);for(n.c=Pt(ir,De,1,0,5,1),jt=new S(o);jt.a<jt.c.c.length;)for(St=u(Q(jt),308),Z=new S(St.e);Z.a<Z.c.c.length;){for(G=u(Q(Z),168),h=!0,w=new S(o);w.a<w.c.c.length;)d=u(Q(w),308),d!=St&&(Gc(G,Fe(d.e,0))||Gc(G,Fe(d.e,1))||Gc(G,Fe(d.e,2)))&&(h=!1);h&&(n.c[n.c.length]=G)}for(uae(fe,o),Pa(fe,new Zr),W=new S(n);W.a<W.c.c.length;)G=u(Q(W),168),Ys(fe,new e6t(Ze,G.a,G.b))}for(bt=new na,Pa(fe,new Sn(bt)),s=bt.a.ec().Kc();s.Ob();)G=u(s.Pb(),168),(j$(q,G.a)||j$(q,G.b))&&s.Qb();return Pa(bt,new Hi),bt}function x5n(t){var e,n,r,s,o;switch(n=u(K(t,(oe(),tu)),21),e=aj(h2e),s=u(K(t,(Te(),jy)),334),s==(q0(),np)&&Ul(e,f2e),je(Be(K(t,Ylt)))?Mi(e,(ao(),Nd),(wo(),ilt)):Mi(e,(ao(),pu),(wo(),ilt)),K(t,(D$(),VS))!=null&&Ul(e,d2e),(je(Be(K(t,UTt)))||je(Be(K(t,qTt))))&&sl(e,(ao(),Uo),(wo(),z9t)),u(K(t,Jl),103).g){case 2:case 3:case 4:sl(Mi(e,(ao(),Nd),(wo(),H9t)),Uo,q9t)}switch(n.Hc((Eo(),$V))&&sl(Mi(Mi(e,(ao(),Nd),(wo(),$9t)),Zc,R9t),Uo,j9t),Ut(K(t,Xlt))!==Ut((m4(),dG))&&Mi(e,(ao(),pu),(wo(),iEt)),n.Hc(qV)&&(Mi(e,(ao(),Nd),(wo(),cEt)),Mi(e,g2,aEt),Mi(e,pu,oEt)),Ut(K(t,XV))!==Ut((p7(),bS))&&Ut(K(t,Z0))!==Ut((V0(),JO))&&sl(e,(ao(),Uo),(wo(),Z9t)),je(Be(K(t,VTt)))&&Mi(e,(ao(),pu),(wo(),Q9t)),je(Be(K(t,Glt)))&&Mi(e,(ao(),pu),(wo(),uEt)),Z2n(t)&&(Ut(K(t,jy))===Ut(np)?r=u(K(t,LO),292):r=u(K(t,Vlt),292),o=r==(K8(),Llt)?(wo(),sEt):(wo(),fEt),Mi(e,(ao(),Zc),o)),u(K(t,w_t),377).g){case 1:Mi(e,(ao(),Zc),(wo(),lEt));break;case 2:sl(Mi(Mi(e,(ao(),pu),(wo(),P9t)),Zc,N9t),Uo,F9t)}return Ut(K(t,v2))!==Ut((z0(),w2))&&Mi(e,(ao(),pu),(wo(),hEt)),e}function Lhe(t){Cv(t,new yb(kv(mv(xv(yv(new mg,$h),"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 aZ))),Ee(t,$h,vx,1.3),Ee(t,$h,bH,Ie(NCt)),Ee(t,$h,vw,qCt),Ee(t,$h,ky,15),Ee(t,$h,lH,Ie(qye)),Ee(t,$h,M4,Ie(Gye)),Ee(t,$h,mx,Ie(Uye)),Ee(t,$h,wx,Ie(Wye)),Ee(t,$h,j7,Ie(Vye)),Ee(t,$h,FC,Ie(jCt)),Ee(t,$h,$7,Ie(Yye)),Ee(t,$h,Vkt,Ie(zCt)),Ee(t,$h,Gkt,Ie(RCt)),Ee(t,$h,Kkt,Ie($Ct)),Ee(t,$h,Ykt,Ie(HCt)),Ee(t,$h,_ct,Ie(FCt)),Ee(t,$h,HI,Ie(BCt)),Ee(t,$h,pct,Ie(Hye)),Ee(t,$h,Wkt,Ie(zO)),Ee(t,$h,Ukt,Ie(PCt)),Ee(t,$h,Xkt,Ie(VCt))}function gw(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z;if(n==null)return null;if(t.a!=e.Aj())throw et(new Bn(V7+e.ne()+xw));if(_t(e,457)){if(Z=Avn(u(e,671),n),!Z)throw et(new Bn(Bct+n+"' is not a valid enumerator of '"+e.ne()+"'"));return Z}switch(Bg((Yu(),Fa),e).cl()){case 2:{n=Xc(n,!1);break}case 3:{n=Xc(n,!0);break}}if(r=Bg(Fa,e).$k(),r)return r.Aj().Nh().Kh(r,n);if(B=Bg(Fa,e).al(),B){for(Z=new ge,k=kit(n),_=0,M=k.length;_<M;++_)w=k[_],de(Z,B.Aj().Nh().Kh(B,w));return Z}if(W=Bg(Fa,e).bl(),!W.dc()){for(G=W.Kc();G.Ob();){q=u(G.Pb(),148);try{if(Z=q.Aj().Nh().Kh(q,n),Z!=null)return Z}catch(bt){if(bt=as(bt),!_t(bt,60))throw et(bt)}}throw et(new Bn(Bct+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if(u(e,834).Fj(),s=Sun(e.Bj()),!s)return null;if(s==aS){h=0;try{h=Kl(n,qa,Di)&Ps}catch(bt){if(bt=as(bt),_t(bt,127))o=$$(n),h=o[0];else throw et(bt)}return ND(h)}if(s==GH){for(d=0;d<rA.length;++d)try{return wVt(rA[d],n)}catch(bt){if(bt=as(bt),!_t(bt,32))throw et(bt)}throw et(new Bn(Bct+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw et(new Bn(Bct+n+"' is invalid. "))}function k5n(t,e){var n,r,s,o,h,d,w,k;if(n=0,h=0,o=e.length,d=null,k=new Lm,h<o&&(Xr(h,e.length),e.charCodeAt(h)==43)&&(++h,++n,h<o&&(Xr(h,e.length),e.charCodeAt(h)==43||(Xr(h,e.length),e.charCodeAt(h)==45))))throw et(new gd(bw+e+'"'));for(;h<o&&(Xr(h,e.length),e.charCodeAt(h)!=46)&&(Xr(h,e.length),e.charCodeAt(h)!=101)&&(Xr(h,e.length),e.charCodeAt(h)!=69);)++h;if(k.a+=""+$l(e==null?Nu:(Pn(e),e),n,h),h<o&&(Xr(h,e.length),e.charCodeAt(h)==46)){for(++h,n=h;h<o&&(Xr(h,e.length),e.charCodeAt(h)!=101)&&(Xr(h,e.length),e.charCodeAt(h)!=69);)++h;t.e=h-n,k.a+=""+$l(e==null?Nu:(Pn(e),e),n,h)}else t.e=0;if(h<o&&(Xr(h,e.length),e.charCodeAt(h)==101||(Xr(h,e.length),e.charCodeAt(h)==69))&&(++h,n=h,h<o&&(Xr(h,e.length),e.charCodeAt(h)==43)&&(++h,h<o&&(Xr(h,e.length),e.charCodeAt(h)!=45)&&++n),d=e.substr(n,o-n),t.e=t.e-Kl(d,qa,Di),t.e!=Ds(t.e)))throw et(new gd("Scale out of range."));if(w=k.a,w.length<16){if(t.f=(g7t==null&&(g7t=new RegExp("^[+-]?\\d*$","i")),g7t.test(w)?parseInt(w,10):NaN),isNaN(t.f))throw et(new gd(bw+e+'"'));t.a=Y4t(t.f)}else Hln(t,new Rp(w));for(t.d=k.a.length,s=0;s<k.a.length&&(r=Oa(k.a,s),!(r!=45&&r!=48));++s)--t.d;t.d==0&&(t.d=1)}function Dat(){Dat=X,Wi=new qv,un(Wi,(ye(),Z1),nu),un(Wi,Xh,nu),un(Wi,Xh,Ru),un(Wi,_h,Ju),un(Wi,_h,nu),un(Wi,Pf,nu),un(Wi,Pf,fl),un(Wi,eh,Fu),un(Wi,eh,nu),un(Wi,Bu,vu),un(Wi,Bu,nu),un(Wi,Bu,fl),un(Wi,Bu,Fu),un(Wi,vu,Bu),un(Wi,vu,Ru),un(Wi,vu,Ju),un(Wi,vu,nu),un(Wi,Nf,Nf),un(Wi,Nf,fl),un(Wi,Nf,Ru),un(Wi,hl,hl),un(Wi,hl,fl),un(Wi,hl,Ju),un(Wi,nh,nh),un(Wi,nh,Fu),un(Wi,nh,Ru),un(Wi,Ch,Ch),un(Wi,Ch,Fu),un(Wi,Ch,Ju),un(Wi,fl,Pf),un(Wi,fl,Bu),un(Wi,fl,Nf),un(Wi,fl,hl),un(Wi,fl,nu),un(Wi,fl,fl),un(Wi,fl,Ru),un(Wi,fl,Ju),un(Wi,Fu,eh),un(Wi,Fu,Bu),un(Wi,Fu,nh),un(Wi,Fu,Ch),un(Wi,Fu,Fu),un(Wi,Fu,Ru),un(Wi,Fu,Ju),un(Wi,Fu,nu),un(Wi,Ru,Xh),un(Wi,Ru,vu),un(Wi,Ru,Nf),un(Wi,Ru,nh),un(Wi,Ru,fl),un(Wi,Ru,Fu),un(Wi,Ru,Ru),un(Wi,Ru,nu),un(Wi,Ju,_h),un(Wi,Ju,vu),un(Wi,Ju,hl),un(Wi,Ju,Ch),un(Wi,Ju,fl),un(Wi,Ju,Fu),un(Wi,Ju,Ju),un(Wi,Ju,nu),un(Wi,nu,Z1),un(Wi,nu,Xh),un(Wi,nu,_h),un(Wi,nu,Pf),un(Wi,nu,eh),un(Wi,nu,Bu),un(Wi,nu,vu),un(Wi,nu,fl),un(Wi,nu,Fu),un(Wi,nu,Ru),un(Wi,nu,Ju),un(Wi,nu,nu)}function E6t(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke;for(t.d=new $e(ms,ms),t.c=new $e(Rs,Rs),B=e.Kc();B.Ob();)for(_=u(B.Pb(),37),St=new S(_.a);St.a<St.c.c.length;)Mt=u(Q(St),10),t.d.a=b.Math.min(t.d.a,Mt.n.a-Mt.d.b),t.d.b=b.Math.min(t.d.b,Mt.n.b-Mt.d.d),t.c.a=b.Math.max(t.c.a,Mt.n.a+Mt.o.a+Mt.d.c),t.c.b=b.Math.max(t.c.b,Mt.n.b+Mt.o.b+Mt.d.a);for(d=new Wzt,M=e.Kc();M.Ob();)_=u(M.Pb(),37),r=s5n(t,_),de(d.a,r),r.a=r.a|!u(K(r.c,(oe(),Py)),21).dc();for(t.b=(Dit(),Ke=new xL,Ke.f=new Oee(n),Ke.b=d3n(Ke.f,d),Ke),x3n((G=t.b,new Xk,G)),t.e=new $a,t.a=t.b.f.e,h=new S(d.a);h.a<h.c.c.length;)for(s=u(Q(h),841),jt=srn(t.b,s),own(s.c,jt.a,jt.b),Z=new S(s.c.a);Z.a<Z.c.c.length;)W=u(Q(Z),10),W.k==(Yn(),Fs)&&(bt=m5t(t,W.n,u(K(W,(oe(),yc)),61)),$i(Yf(W.n),bt));for(o=new S(d.a);o.a<o.c.c.length;)for(s=u(Q(o),841),k=new S(Bun(s));k.a<k.c.c.length;)for(w=u(Q(k),17),Ae=new kR(w.a),f8(Ae,0,I1(w.c)),pi(Ae,I1(w.d)),q=null,fe=gi(Ae,0);fe.b!=fe.d.c;){if(Xt=u(di(fe),8),!q){q=Xt;continue}Bmt(q.a,Xt.a)?(t.e.a=b.Math.min(t.e.a,q.a),t.a.a=b.Math.max(t.a.a,q.a)):Bmt(q.b,Xt.b)&&(t.e.b=b.Math.min(t.e.b,q.b),t.a.b=b.Math.max(t.a.b,q.b)),q=Xt}xj(t.e),$i(t.a,t.e)}function E5n(t){Vr(t.b,Hh,ct(ot(Le,1),re,2,6,[kw,"ConsistentTransient"])),Vr(t.a,Hh,ct(ot(Le,1),re,2,6,[kw,"WellFormedSourceURI"])),Vr(t.o,Hh,ct(ot(Le,1),re,2,6,[kw,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),Vr(t.p,Hh,ct(ot(Le,1),re,2,6,[kw,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),Vr(t.v,Hh,ct(ot(Le,1),re,2,6,[kw,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),Vr(t.R,Hh,ct(ot(Le,1),re,2,6,[kw,"WellFormedName"])),Vr(t.T,Hh,ct(ot(Le,1),re,2,6,[kw,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),Vr(t.U,Hh,ct(ot(Le,1),re,2,6,[kw,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),Vr(t.W,Hh,ct(ot(Le,1),re,2,6,[kw,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),Vr(t.bb,Hh,ct(ot(Le,1),re,2,6,[kw,"ValidDefaultValueLiteral"])),Vr(t.eb,Hh,ct(ot(Le,1),re,2,6,[kw,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),Vr(t.H,Hh,ct(ot(Le,1),re,2,6,[kw,"ConsistentType ConsistentBounds ConsistentArguments"]))}function T5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze;if(!e.dc()){if(s=new Hu,d=n||u(e.Xb(0),17),G=d.c,bC(),B=G.i.k,!(B==(Yn(),Ws)||B==Jc||B==Fs||B==W1))throw et(new Bn("The target node of the edge must be a normal node or a northSouthPort."));for(X2(s,cc(ct(ot(sa,1),re,8,0,[G.i.n,G.n,G.a]))),(ye(),Bu).Hc(G.j)&&(Z=Zt(ke(K(G,(oe(),p9)))),M=new $e(cc(ct(ot(sa,1),re,8,0,[G.i.n,G.n,G.a])).a,Z),Cs(s,M,s.c.b,s.c)),_=null,r=!1,w=e.Kc();w.Ob();)h=u(w.Pb(),17),o=h.a,o.b!=0&&(r?(k=bd($i(_,(sr(o.b!=0),u(o.a.a.c,8))),.5),Cs(s,k,s.c.b,s.c),r=!1):r=!0,_=pc((sr(o.b!=0),u(o.c.b.c,8))),so(s,o),Ph(o));W=d.d,Bu.Hc(W.j)&&(Z=Zt(ke(K(W,(oe(),p9)))),M=new $e(cc(ct(ot(sa,1),re,8,0,[W.i.n,W.n,W.a])).a,Z),Cs(s,M,s.c.b,s.c)),X2(s,cc(ct(ot(sa,1),re,8,0,[W.i.n,W.n,W.a]))),t.d==(e7(),vht)&&(bt=(sr(s.b!=0),u(s.a.a.c,8)),Mt=u(n1(s,1),8),St=new brt(Ayt(G.j)),St.a*=5,St.b*=5,jt=ba(new $e(Mt.a,Mt.b),bt),Xt=new $e(drt(St.a,jt.a),drt(St.b,jt.b)),$i(Xt,bt),fe=gi(s,1),JM(fe,Xt),Ae=(sr(s.b!=0),u(s.c.b.c,8)),Ke=u(n1(s,s.b-2),8),St=new brt(Ayt(W.j)),St.a*=5,St.b*=5,jt=ba(new $e(Ke.a,Ke.b),Ae),Ze=new $e(drt(St.a,jt.a),drt(St.b,jt.b)),$i(Ze,Ae),f8(s,s.b-1,Ze)),q=new n6t(s),so(d.a,Jie(q))}}function _5n(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js,ih,nf,ed,dU,mP,dA,yP;if(St=u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82),Xt=St.Dg(),fe=St.Eg(),jt=St.Cg()/2,W=St.Bg()/2,_t(St,186)&&(Mt=u(St,118),Xt+=M1(Mt).i,Xt+=M1(Mt).i),Xt+=jt,fe+=W,Vn=u(At((!t.b&&(t.b=new Tn(Lr,t,4,7)),t.b),0),82),Ai=Vn.Dg(),Js=Vn.Eg(),kr=Vn.Cg()/2,Ae=Vn.Bg()/2,_t(Vn,186)&&($n=u(Vn,118),Ai+=M1($n).i,Ai+=M1($n).i),Ai+=kr,Js+=Ae,(!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i==0)d=(Ev(),k=new ld,k),Hr((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),d);else if((!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i>1)for(G=new M6((!t.a&&(t.a=new pe(fs,t,6,6)),t.a));G.e!=G.i.gc();)uC(G);for(h=u(At((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),0),202),Z=Ai,Ai>Xt+jt?Z=Xt+jt:Ai<Xt-jt&&(Z=Xt-jt),bt=Js,Js>fe+W?bt=fe+W:Js<fe-W&&(bt=fe-W),Z>Xt-jt&&Z<Xt+jt&&bt>fe-W&&bt<fe+W&&(Z=Xt+jt),R8(h,Z),$8(h,bt),Ke=Xt,Xt>Ai+kr?Ke=Ai+kr:Xt<Ai-kr&&(Ke=Ai-kr),Ze=fe,fe>Js+Ae?Ze=Js+Ae:fe<Js-Ae&&(Ze=Js-Ae),Ke>Ai-kr&&Ke<Ai+kr&&Ze>Js-Ae&&Ze<Js+Ae&&(Ze=Js+Ae),B8(h,Ke),j8(h,Ze),Pr((!h.a&&(h.a=new qs(Qh,h,5)),h.a)),o=Hz(e,5),St==Vn&&++o,ed=Ke-Z,dA=Ze-bt,ih=b.Math.sqrt(ed*ed+dA*dA),M=ih*.20000000298023224,dU=ed/(o+1),yP=dA/(o+1),nf=Z,mP=bt,_=0;_<o;_++)nf+=dU,mP+=yP,B=nf+wl(e,24)*RI*M-M/2,B<0?B=1:B>n&&(B=n-1),q=mP+wl(e,24)*RI*M-M/2,q<0?q=1:q>r&&(q=r-1),s=(Ev(),w=new xp,w),Y$(s,B),X$(s,q),Hr((!h.a&&(h.a=new qs(Qh,h,5)),h.a),s)}function Te(){Te=X,Jlt=(Ei(),U3e),l_t=W3e,DO=eAt,Af=K3e,Rx=nAt,Nw=Y3e,Vy=rAt,y9=iAt,x9=sAt,tht=VG,Fw=Gb,eht=X3e,CS=cAt,oG=Hx,MO=(_6t(),Hve),Z4=Vve,$b=Gve,J4=Uve,Lwe=new bo(HG,ve(0)),m9=$ve,u_t=zve,Bx=qve,w_t=gwe,h_t=Yve,f_t=Zve,rht=swe,d_t=ewe,g_t=rwe,cG=wwe,iht=pwe,b_t=lwe,p_t=cwe,v_t=fwe,Ow=Pve,_S=Nve,Klt=Zbe,zTt=tve,i_t=new Lv(12),r_t=new bo(Vb,i_t),RTt=(V0(),L9),Z0=new bo(DSt,RTt),zy=new bo(kl,0),Mwe=new bo(fft,ve(1)),KV=new bo(zx,R7),jb=qG,xs=US,w9=c5,kwe=YO,Fd=B3e,jy=i5,Dwe=new bo(dft,(Rn(),!0)),$y=XO,Bb=sft,Rb=Hb,aG=x2,Zlt=zG,BTt=(ko(),f0),Jl=new bo(Rw,BTt),Iw=a5,iG=$St,qy=Ky,Awe=hft,o_t=JSt,a_t=(u4(),nP),new bo(KSt,a_t),_we=oft,Cwe=cft,Swe=uft,Twe=aft,nht=Kve,ZTt=kve,Xlt=xve,SS=Wve,bu=gve,Ry=Vbe,ES=Hbe,By=Mbe,PTt=Dbe,Vlt=Nbe,LO=Ibe,Glt=zbe,JTt=Eve,t_t=Tve,WTt=cve,sG=Rve,Qlt=Sve,Ylt=rve,n_t=Ive,$Tt=Xbe,Wlt=Qbe,Hlt=jG,e_t=_ve,XV=Ebe,DTt=kbe,YV=xbe,VTt=ave,HTt=sve,GTt=ove,b9=o5,zo=s5,Xg=OSt,Bd=ift,Ult=rft,NTt=Bbe,Qg=lft,kS=$3e,eG=z3e,Pw=XSt,s_t=q3e,v9=H3e,YTt=bve,XTt=wve,Hy=qx,zlt=ybe,QTt=yve,tG=Wbe,JV=Ube,rG=QO,KTt=hve,TS=Lve,IO=aAt,FTt=Gbe,c_t=jve,jTt=Kbe,Ewe=dve,xwe=jbe,UTt=BSt,nG=pve,ZV=$be,v2=Lbe,OTt=Sbe,QV=_be,ITt=Cbe,qlt=Abe,Fx=Tbe,qTt=ive}function Iat(t,e){wat();var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai;if(Ke=t.e,G=t.d,s=t.a,Ke==0)switch(e){case 0:return"0";case 1:return O7;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 fe=new Mp,e<0?fe.a+="0E+":fe.a+="0E",fe.a+=-e,fe.a}if(St=G*10+1+7,jt=Pt(Sh,Td,25,St+1,15,1),n=St,G==1)if(d=s[0],d<0){Ai=Xs(d,To);do W=Ai,Ai=iI(Ai,10),jt[--n]=48+$r(Jp(W,za(Ai,10)))&Ps;while(Oc(Ai,0)!=0)}else{Ai=d;do W=Ai,Ai=Ai/10|0,jt[--n]=48+(W-Ai*10)&Ps;while(Ai!=0)}else{$n=Pt(Fr,ui,25,G,15,1),kr=G,qc(s,0,$n,0,kr);t:for(;;){for(Ae=0,k=kr-1;k>=0;k--)Vn=Ka(I0(Ae,32),Xs($n[k],To)),bt=Mdn(Vn),$n[k]=$r(bt),Ae=$r($p(bt,32));Mt=$r(Ae),Z=n;do jt[--n]=48+Mt%10&Ps;while((Mt=Mt/10|0)!=0&&n!=0);for(r=9-Z+n,w=0;w<r&&n>0;w++)jt[--n]=48;for(M=kr-1;$n[M]==0;M--)if(M==0)break t;kr=M+1}for(;jt[n]==48;)++n}if(q=Ke<0,h=St-n-e-1,e==0)return q&&(jt[--n]=45),Fh(jt,n,St-n);if(e>0&&h>=-6){if(h>=0){for(_=n+h,B=St-1;B>=_;B--)jt[B+1]=jt[B];return jt[++_]=46,q&&(jt[--n]=45),Fh(jt,n,St-n+1)}for(M=2;M<-h+1;M++)jt[--n]=48;return jt[--n]=46,jt[--n]=48,q&&(jt[--n]=45),Fh(jt,n,St-n)}return Ze=n+1,o=St,Xt=new Lm,q&&(Xt.a+="-"),o-Ze>=1?(qp(Xt,jt[n]),Xt.a+=".",Xt.a+=Fh(jt,n+1,St-n-1)):Xt.a+=Fh(jt,n,St-n),Xt.a+="E",h>0&&(Xt.a+="+"),Xt.a+=""+h,Xt.a}function Mhe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;switch(t.c=e,t.g=new Br,n=(Dm(),new Sm(t.c)),r=new lr(n),s3t(r),St=Yr(He(t.c,(aI(),tSt))),w=u(He(t.c,Kht),316),Xt=u(He(t.c,Yht),429),h=u(He(t.c,QCt),482),jt=u(He(t.c,Wht),430),t.j=Zt(ke(He(t.c,o3e))),d=t.a,w.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 et(new Bn(vH+(w.f!=null?w.f:""+w.g)))}if(t.d=new tQt(d,Xt,h),ne(t.d,(G8(),uS),Be(He(t.c,s3e))),t.d.c=je(Be(He(t.c,ZCt))),a$(t.c).i==0)return t.d;for(M=new hr(a$(t.c));M.e!=M.i.gc();){for(_=u(Tr(M),33),q=_.g/2,B=_.f/2,fe=new $e(_.i+q,_.j+B);Il(t.g,fe);)Fm(fe,(b.Math.random()-.5)*Sd,(b.Math.random()-.5)*Sd);W=u(He(_,(Ei(),QO)),142),Z=new vQt(fe,new fh(fe.a-q-t.j/2-W.b,fe.b-B-t.j/2-W.d,_.g+t.j+(W.b+W.c),_.f+t.j+(W.d+W.a))),de(t.d.i,Z),Ni(t.g,fe,new Ca(Z,_))}switch(jt.g){case 0:if(St==null)t.d.d=u(Fe(t.d.i,0),65);else for(Mt=new S(t.d.i);Mt.a<Mt.c.c.length;)Z=u(Q(Mt),65),G=u(u(cr(t.g,Z.a),46).b,33).zg(),G!=null&&ln(G,St)&&(t.d.d=Z);break;case 1:for(s=new $e(t.c.g,t.c.f),s.a*=.5,s.b*=.5,Fm(s,t.c.i,t.c.j),o=ms,bt=new S(t.d.i);bt.a<bt.c.c.length;)Z=u(Q(bt),65),k=Wp(Z.a,s),k<o&&(o=k,t.d.d=Z);break;default:throw et(new Bn(vH+(jt.f!=null?jt.f:""+jt.g)))}return t.d}function Dhe(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;for(Xt=u(At((!t.a&&(t.a=new pe(fs,t,6,6)),t.a),0),202),_=new Hu,jt=new Br,fe=Wue(Xt),du(jt.f,Xt,fe),B=new Br,r=new hs,G=zp(B1(ct(ot(G1,1),De,20,0,[(!e.d&&(e.d=new Tn(aa,e,8,5)),e.d),(!e.e&&(e.e=new Tn(aa,e,7,4)),e.e)])));ti(G);){if(q=u(qr(G),79),(!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i!=1)throw et(new Bn(ide+(!t.a&&(t.a=new pe(fs,t,6,6)),t.a).i));q!=t&&(Z=u(At((!q.a&&(q.a=new pe(fs,q,6,6)),q.a),0),202),Cs(r,Z,r.c.b,r.c),W=u(gc(Ho(jt.f,Z)),12),W||(W=Wue(Z),du(jt.f,Z,W)),M=n?ba(new No(u(Fe(fe,fe.c.length-1),8)),u(Fe(W,W.c.length-1),8)):ba(new No((An(0,fe.c.length),u(fe.c[0],8))),(An(0,W.c.length),u(W.c[0],8))),du(B.f,Z,M))}if(r.b!=0)for(bt=u(Fe(fe,n?fe.c.length-1:0),8),k=1;k<fe.c.length;k++){for(Mt=u(Fe(fe,n?fe.c.length-1-k:k),8),s=gi(r,0);s.b!=s.d.c;)Z=u(di(s),202),W=u(gc(Ho(jt.f,Z)),12),W.c.length<=k?G$(s):(St=$i(new No(u(Fe(W,n?W.c.length-1-k:k),8)),u(gc(Ho(B.f,Z)),8)),(Mt.a!=St.a||Mt.b!=St.b)&&(o=Mt.a-bt.a,d=Mt.b-bt.b,h=St.a-bt.a,w=St.b-bt.b,h*d==w*o&&(o==0||isNaN(o)?o:o<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)&&(d==0||isNaN(d)?d:d<0?-1:1)==(w==0||isNaN(w)?w:w<0?-1:1)?(b.Math.abs(o)<b.Math.abs(h)||b.Math.abs(d)<b.Math.abs(w))&&Cs(_,Mt,_.c.b,_.c):k>1&&Cs(_,bt,_.c.b,_.c),G$(s)));bt=Mt}return _}function C5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js,ih,nf,ed;for(Dr(n,"Greedy cycle removal",1),St=e.a,ed=St.c.length,t.a=Pt(Fr,ui,25,ed,15,1),t.c=Pt(Fr,ui,25,ed,15,1),t.b=Pt(Fr,ui,25,ed,15,1),k=0,bt=new S(St);bt.a<bt.c.c.length;){for(W=u(Q(bt),10),W.p=k,Ze=new S(W.j);Ze.a<Ze.c.c.length;){for(fe=u(Q(Ze),11),d=new S(fe.e);d.a<d.c.c.length;)r=u(Q(d),17),r.c.i!=W&&(kr=u(K(r,(Te(),m9)),19).a,t.a[k]+=kr>0?kr+1:1);for(h=new S(fe.g);h.a<h.c.c.length;)r=u(Q(h),17),r.d.i!=W&&(kr=u(K(r,(Te(),m9)),19).a,t.c[k]+=kr>0?kr+1:1)}t.c[k]==0?pi(t.e,W):t.a[k]==0&&pi(t.f,W),++k}for(G=-1,q=1,M=new ge,t.d=u(K(e,(oe(),Px)),230);ed>0;){for(;t.e.b!=0;)Js=u(knt(t.e),10),t.b[Js.p]=G--,G5t(t,Js),--ed;for(;t.f.b!=0;)ih=u(knt(t.f),10),t.b[ih.p]=q++,G5t(t,ih),--ed;if(ed>0){for(B=qa,Mt=new S(St);Mt.a<Mt.c.c.length;)W=u(Q(Mt),10),t.b[W.p]==0&&(jt=t.c[W.p]-t.a[W.p],jt>=B&&(jt>B&&(M.c=Pt(ir,De,1,0,5,1),B=jt),M.c[M.c.length]=W));_=t.Zf(M),t.b[_.p]=q++,G5t(t,_),--ed}}for(Ai=St.c.length+1,k=0;k<St.c.length;k++)t.b[k]<0&&(t.b[k]+=Ai);for(Z=new S(St);Z.a<Z.c.c.length;)for(W=u(Q(Z),10),Vn=lZt(W.j),Ae=Vn,Ke=0,$n=Ae.length;Ke<$n;++Ke)for(fe=Ae[Ke],Xt=xd(fe.g),s=Xt,o=0,w=s.length;o<w;++o)r=s[o],nf=r.d.i.p,t.b[W.p]>t.b[nf]&&(fw(r,!0),ne(e,TO,(Rn(),!0)));t.a=null,t.c=null,t.b=null,Ph(t.f),Ph(t.e),br(n)}function Ihe(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;for(r=new ge,d=new ge,Z=e/2,q=t.gc(),s=u(t.Xb(0),8),bt=u(t.Xb(1),8),G=Ust(s.a,s.b,bt.a,bt.b,Z),de(r,(An(0,G.c.length),u(G.c[0],8))),de(d,(An(1,G.c.length),u(G.c[1],8))),k=2;k<q;k++)W=s,s=bt,bt=u(t.Xb(k),8),G=Ust(s.a,s.b,W.a,W.b,Z),de(r,(An(1,G.c.length),u(G.c[1],8))),de(d,(An(0,G.c.length),u(G.c[0],8))),G=Ust(s.a,s.b,bt.a,bt.b,Z),de(r,(An(0,G.c.length),u(G.c[0],8))),de(d,(An(1,G.c.length),u(G.c[1],8)));for(G=Ust(bt.a,bt.b,s.a,s.b,Z),de(r,(An(1,G.c.length),u(G.c[1],8))),de(d,(An(0,G.c.length),u(G.c[0],8))),n=new Hu,h=new ge,pi(n,(An(0,r.c.length),u(r.c[0],8))),_=1;_<r.c.length-2;_+=2)o=(An(_,r.c.length),u(r.c[_],8)),B=Gae((An(_-1,r.c.length),u(r.c[_-1],8)),o,(An(_+1,r.c.length),u(r.c[_+1],8)),(An(_+2,r.c.length),u(r.c[_+2],8))),!isFinite(B.a)||!isFinite(B.b)?Cs(n,o,n.c.b,n.c):Cs(n,B,n.c.b,n.c);for(pi(n,u(Fe(r,r.c.length-1),8)),de(h,(An(0,d.c.length),u(d.c[0],8))),M=1;M<d.c.length-2;M+=2)o=(An(M,d.c.length),u(d.c[M],8)),B=Gae((An(M-1,d.c.length),u(d.c[M-1],8)),o,(An(M+1,d.c.length),u(d.c[M+1],8)),(An(M+2,d.c.length),u(d.c[M+2],8))),!isFinite(B.a)||!isFinite(B.b)?h.c[h.c.length]=o:h.c[h.c.length]=B;for(de(h,u(Fe(d,d.c.length-1),8)),w=h.c.length-1;w>=0;w--)pi(n,(An(w,h.c.length),u(h.c[w],8)));return n}function S5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q;if(h=!0,M=null,r=null,s=null,e=!1,q=R4e,k=null,o=null,d=0,w=Zit(t,d,UAt,WAt),w<t.length&&(Xr(w,t.length),t.charCodeAt(w)==58)&&(M=t.substr(d,w-d),d=w+1),n=M!=null&&wM(sU,M.toLowerCase()),n){if(w=t.lastIndexOf("!/"),w==-1)throw et(new Bn("no archive separator"));h=!0,r=$l(t,d,++w),d=w}else d>=0&&ln(t.substr(d,2),"//")?(d+=2,w=Zit(t,d,iA,sA),r=t.substr(d,w-d),d=w):M!=null&&(d==t.length||(Xr(d,t.length),t.charCodeAt(d)!=47))&&(h=!1,w=Ebt(t,Pu(35),d),w==-1&&(w=t.length),r=t.substr(d,w-d),d=w);if(!n&&d<t.length&&(Xr(d,t.length),t.charCodeAt(d)==47)&&(w=Zit(t,d+1,iA,sA),_=t.substr(d+1,w-(d+1)),_.length>0&&Oa(_,_.length-1)==58&&(s=_,d=w)),d<t.length&&(Xr(d,t.length),t.charCodeAt(d)==47)&&(++d,e=!0),d<t.length&&(Xr(d,t.length),t.charCodeAt(d)!=63)&&(Xr(d,t.length),t.charCodeAt(d)!=35)){for(B=new ge;d<t.length&&(Xr(d,t.length),t.charCodeAt(d)!=63)&&(Xr(d,t.length),t.charCodeAt(d)!=35);)w=Zit(t,d,iA,sA),de(B,t.substr(d,w-d)),d=w,d<t.length&&(Xr(d,t.length),t.charCodeAt(d)==47)&&(pun(t,++d)||(B.c[B.c.length]=""));q=Pt(Le,re,2,B.c.length,6,1),$1(B,q)}return d<t.length&&(Xr(d,t.length),t.charCodeAt(d)==63)&&(w=h8(t,35,++d),w==-1&&(w=t.length),k=t.substr(d,w-d),d=w),d<t.length&&(o=FM(t,++d)),v3n(h,M,r,s,q,k),new eat(h,M,r,s,e,q,k,o)}function A5n(t,e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js,ih,nf;for(Js=new ge,G=new S(e.b);G.a<G.c.c.length;)for(B=u(Q(G),29),Xt=new S(B.a);Xt.a<Xt.c.c.length;){for(jt=u(Q(Xt),10),jt.p=-1,M=qa,Ke=qa,$n=new S(jt.j);$n.a<$n.c.c.length;){for(Ze=u(Q($n),11),s=new S(Ze.e);s.a<s.c.c.length;)n=u(Q(s),17),Vn=u(K(n,(Te(),Bx)),19).a,M=b.Math.max(M,Vn);for(r=new S(Ze.g);r.a<r.c.c.length;)n=u(Q(r),17),Vn=u(K(n,(Te(),Bx)),19).a,Ke=b.Math.max(Ke,Vn)}ne(jt,vG,ve(M)),ne(jt,wG,ve(Ke))}for(bt=0,q=new S(e.b);q.a<q.c.c.length;)for(B=u(Q(q),29),Xt=new S(B.a);Xt.a<Xt.c.c.length;)jt=u(Q(Xt),10),jt.p<0&&(Ai=new Dpt,Ai.b=bt++,pue(t,jt,Ai),Js.c[Js.c.length]=Ai);for(Ae=Wd(Js.c.length),_=Wd(Js.c.length),h=0;h<Js.c.length;h++)de(Ae,new ge),de(_,ve(0));for(Q3n(e,Js,Ae,_),ih=u($1(Js,Pt(gme,x1e,257,Js.c.length,0,1)),840),fe=u($1(Ae,Pt(Eh,xy,15,Ae.c.length,0,1)),192),k=Pt(Fr,ui,25,_.c.length,15,1),d=0;d<k.length;d++)k[d]=(An(d,_.c.length),u(_.c[d],19)).a;for(Mt=0,St=new ge,w=0;w<ih.length;w++)k[w]==0&&de(St,ih[w]);for(Z=Pt(Fr,ui,25,ih.length,15,1);St.c.length!=0;)for(Ai=u(Ig(St,0),257),Z[Ai.b]=Mt++;!fe[Ai.b].dc();)nf=u(fe[Ai.b].$c(0),257),--k[nf.b],k[nf.b]==0&&(St.c[St.c.length]=nf);for(t.a=Pt(gme,x1e,257,ih.length,0,1),o=0;o<ih.length;o++)for(W=ih[o],kr=Z[o],t.a[kr]=W,W.b=kr,Xt=new S(W.e);Xt.a<Xt.c.c.length;)jt=u(Q(Xt),10),jt.p=kr;return t.a}function Ci(t){var e,n,r;if(t.d>=t.j){t.a=-1,t.c=1;return}if(e=Oa(t.i,t.d++),t.a=e,t.b==1){switch(e){case 92:if(r=10,t.d>=t.j)throw et(new Kr(ei((Ur(),TH))));t.a=Oa(t.i,t.d++);break;case 45:(t.e&512)==512&&t.d<t.j&&Oa(t.i,t.d)==91?(++t.d,r=24):r=0;break;case 91:if((t.e&512)!=512&&t.d<t.j&&Oa(t.i,t.d)==58){++t.d,r=20;break}default:(e&64512)==FI&&t.d<t.j&&(n=Oa(t.i,t.d),(n&64512)==56320&&(t.a=co+(e-FI<<10)+n-56320,++t.d)),r=0}t.c=r;return}switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,t.d>=t.j||Oa(t.i,t.d)!=63)break;if(++t.d>=t.j)throw et(new Kr(ei((Ur(),Xct))));switch(e=Oa(t.i,t.d++),e){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(t.d>=t.j)throw et(new Kr(ei((Ur(),Xct))));if(e=Oa(t.i,t.d++),e==61)r=16;else if(e==33)r=17;else throw et(new Kr(ei((Ur(),Dde))));break;case 35:for(;t.d<t.j&&(e=Oa(t.i,t.d++),e!=41););if(e!=41)throw et(new Kr(ei((Ur(),Ide))));r=21;break;default:if(e==45||97<=e&&e<=122||65<=e&&e<=90){--t.d,r=22;break}else if(e==40){r=23;break}throw et(new Kr(ei((Ur(),Xct))))}break;case 92:if(r=10,t.d>=t.j)throw et(new Kr(ei((Ur(),TH))));t.a=Oa(t.i,t.d++);break;default:r=0}t.c=r}function L5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;if(Ae=u(K(t,(Te(),xs)),98),Ae!=(ka(),Q1)&&Ae!=T2){for(G=t.b,q=G.c.length,_=new iu((Gl(q+2,Bat),V$(Ka(Ka(5,q+2),(q+2)/10|0)))),W=new iu((Gl(q+2,Bat),V$(Ka(Ka(5,q+2),(q+2)/10|0)))),de(_,new Br),de(_,new Br),de(W,new ge),de(W,new ge),fe=new ge,e=0;e<q;e++)for(n=(An(e,G.c.length),u(G.c[e],29)),Ke=(An(e,_.c.length),u(_.c[e],83)),Z=new Br,_.c[_.c.length]=Z,$n=(An(e,W.c.length),u(W.c[e],15)),Mt=new ge,W.c[W.c.length]=Mt,s=new S(n.a);s.a<s.c.c.length;){if(r=u(Q(s),10),Yyt(r)){fe.c[fe.c.length]=r;continue}for(k=new pr(xr(Jo(r).a.Kc(),new H));ti(k);)d=u(qr(k),17),Vn=d.c.i,Yyt(Vn)&&(Ze=u(Ke.xc(K(Vn,(oe(),Bi))),10),Ze||(Ze=foe(t,Vn),Ke.zc(K(Vn,Bi),Ze),$n.Fc(Ze)),Wa(d,u(Fe(Ze.j,1),11)));for(w=new pr(xr(Gs(r).a.Kc(),new H));ti(w);)d=u(qr(w),17),kr=d.d.i,Yyt(kr)&&(bt=u(cr(Z,K(kr,(oe(),Bi))),10),bt||(bt=foe(t,kr),Ni(Z,K(kr,Bi),bt),Mt.c[Mt.c.length]=bt),ya(d,u(Fe(bt.j,0),11)))}for(M=0;M<W.c.length;M++)if(St=(An(M,W.c.length),u(W.c[M],15)),!St.dc())for(B=null,M==0?(B=new Oh(t),Um(0,G.c.length),WT(G.c,0,B)):M==_.c.length-1?(B=new Oh(t),G.c[G.c.length]=B):B=(An(M-1,G.c.length),u(G.c[M-1],29)),h=St.Kc();h.Ob();)o=u(h.Pb(),10),Bo(o,B);for(Xt=new S(fe);Xt.a<Xt.c.c.length;)jt=u(Q(Xt),10),Bo(jt,null);ne(t,(oe(),Olt),fe)}}function M5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;if(Dr(n,"Coffman-Graham Layering",1),e.a.c.length==0){br(n);return}for(Xt=u(K(e,(Te(),KTt)),19).a,w=0,h=0,B=new S(e.a);B.a<B.c.c.length;)for(M=u(Q(B),10),M.p=w++,o=new pr(xr(Gs(M).a.Kc(),new H));ti(o);)s=u(qr(o),17),s.p=h++;for(t.d=Pt(Tl,c0,25,w,16,1),t.a=Pt(Tl,c0,25,h,16,1),t.b=Pt(Fr,ui,25,w,15,1),t.e=Pt(Fr,ui,25,w,15,1),t.f=Pt(Fr,ui,25,w,15,1),J$(t.c),X1n(t,e),G=new Wj(new aR(t)),jt=new S(e.a);jt.a<jt.c.c.length;){for(Mt=u(Q(jt),10),o=new pr(xr(Jo(Mt).a.Kc(),new H));ti(o);)s=u(qr(o),17),t.a[s.p]||++t.b[Mt.p];t.b[Mt.p]==0&&D8(g7(G,Mt))}for(d=0;G.b.c.length!=0;)for(Mt=u(Qrt(G),10),t.f[Mt.p]=d++,o=new pr(xr(Gs(Mt).a.Kc(),new H));ti(o);)s=u(qr(o),17),!t.a[s.p]&&(Z=s.d.i,--t.b[Z.p],un(t.c,Z,ve(t.f[Mt.p])),t.b[Z.p]==0&&D8(g7(G,Z)));for(q=new Wj(new jtt(t)),St=new S(e.a);St.a<St.c.c.length;){for(Mt=u(Q(St),10),o=new pr(xr(Gs(Mt).a.Kc(),new H));ti(o);)s=u(qr(o),17),t.a[s.p]||++t.e[Mt.p];t.e[Mt.p]==0&&D8(g7(q,Mt))}for(_=new ge,r=SQt(e,_);q.b.c.length!=0;)for(bt=u(Qrt(q),10),(r.a.c.length>=Xt||!Xln(bt,r))&&(r=SQt(e,_)),Bo(bt,r),o=new pr(xr(Jo(bt).a.Kc(),new H));ti(o);)s=u(qr(o),17),!t.a[s.p]&&(W=s.c.i,--t.e[W.p],t.e[W.p]==0&&D8(g7(q,W)));for(k=_.c.length-1;k>=0;--k)de(e.b,(An(k,_.c.length),u(_.c[k],29)));e.a.c=Pt(ir,De,1,0,5,1),br(n)}function Ohe(t){var e,n,r,s,o,h,d,w,k;for(t.b=1,Ci(t),e=null,t.c==0&&t.a==94?(Ci(t),e=(Si(),Si(),new ql(4)),Yc(e,0,K7),d=new ql(4)):d=(Si(),Si(),new ql(4)),s=!0;(k=t.c)!=1;){if(k==0&&t.a==93&&!s){e&&(CC(e,d),d=e);break}if(n=t.a,r=!1,k==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:vy(d,E7(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(vy(d,E7(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(w=J4t(t,n),!w)throw et(new Kr(ei((Ur(),Qct))));vy(d,w),r=!0;break;default:n=O5t(t)}else if(k==24&&!s){if(e&&(CC(e,d),d=e),o=Ohe(t),CC(d,o),t.c!=0||t.a!=93)throw et(new Kr(ei((Ur(),zde))));break}if(Ci(t),!r){if(k==0){if(n==91)throw et(new Kr(ei((Ur(),T8t))));if(n==93)throw et(new Kr(ei((Ur(),_8t))));if(n==45&&!s&&t.a!=93)throw et(new Kr(ei((Ur(),Zct))))}if(t.c!=0||t.a!=45||n==45&&s)Yc(d,n,n);else{if(Ci(t),(k=t.c)==1)throw et(new Kr(ei((Ur(),_H))));if(k==0&&t.a==93)Yc(d,n,n),Yc(d,45,45);else{if(k==0&&t.a==93||k==24)throw et(new Kr(ei((Ur(),Zct))));if(h=t.a,k==0){if(h==91)throw et(new Kr(ei((Ur(),T8t))));if(h==93)throw et(new Kr(ei((Ur(),_8t))));if(h==45)throw et(new Kr(ei((Ur(),Zct))))}else k==10&&(h=O5t(t));if(Ci(t),n>h)throw et(new Kr(ei((Ur(),Vde))));Yc(d,n,h)}}}s=!1}if(t.c==1)throw et(new Kr(ei((Ur(),_H))));return v4(d),TC(d),t.b=0,Ci(t),d}function D5n(t){Vr(t.c,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#decimal"])),Vr(t.d,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#integer"])),Vr(t.e,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#boolean"])),Vr(t.f,oi,ct(ot(Le,1),re,2,6,[Ha,"EBoolean",xi,"EBoolean:Object"])),Vr(t.i,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#byte"])),Vr(t.g,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Vr(t.j,oi,ct(ot(Le,1),re,2,6,[Ha,"EByte",xi,"EByte:Object"])),Vr(t.n,oi,ct(ot(Le,1),re,2,6,[Ha,"EChar",xi,"EChar:Object"])),Vr(t.t,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#double"])),Vr(t.u,oi,ct(ot(Le,1),re,2,6,[Ha,"EDouble",xi,"EDouble:Object"])),Vr(t.F,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#float"])),Vr(t.G,oi,ct(ot(Le,1),re,2,6,[Ha,"EFloat",xi,"EFloat:Object"])),Vr(t.I,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#int"])),Vr(t.J,oi,ct(ot(Le,1),re,2,6,[Ha,"EInt",xi,"EInt:Object"])),Vr(t.N,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#long"])),Vr(t.O,oi,ct(ot(Le,1),re,2,6,[Ha,"ELong",xi,"ELong:Object"])),Vr(t.Z,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#short"])),Vr(t.$,oi,ct(ot(Le,1),re,2,6,[Ha,"EShort",xi,"EShort:Object"])),Vr(t._,oi,ct(ot(Le,1),re,2,6,[Ha,"http://www.w3.org/2001/XMLSchema#string"]))}function I5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;if(t.c.length==1)return An(0,t.c.length),u(t.c[0],135);if(t.c.length<=0)return new M$;for(w=new S(t);w.a<w.c.c.length;){for(h=u(Q(w),135),Mt=0,G=Di,W=Di,B=qa,q=qa,bt=gi(h.b,0);bt.b!=bt.d.c;)Z=u(di(bt),86),Mt+=u(K(Z,(lw(),_G)),19).a,G=b.Math.min(G,Z.e.a),W=b.Math.min(W,Z.e.b),B=b.Math.max(B,Z.e.a+Z.f.a),q=b.Math.max(q,Z.e.b+Z.f.b);ne(h,(lw(),_G),ve(Mt)),ne(h,(Sc(),BS),new $e(G,W)),ne(h,jO,new $e(B,q))}for(pn(),ua(t,new NQ),Xt=new M$,Vo(Xt,(An(0,t.c.length),u(t.c[0],94))),M=0,$n=0,k=new S(t);k.a<k.c.c.length;)h=u(Q(k),135),fe=ba(pc(u(K(h,(Sc(),jO)),8)),u(K(h,BS),8)),M=b.Math.max(M,fe.a),$n+=fe.a*fe.b;for(M=b.Math.max(M,b.Math.sqrt($n)*Zt(ke(K(Xt,(lw(),Xme))))),Ae=Zt(ke(K(Xt,iCt))),Vn=0,kr=0,_=0,e=Ae,d=new S(t);d.a<d.c.c.length;)h=u(Q(d),135),fe=ba(pc(u(K(h,(Sc(),jO)),8)),u(K(h,BS),8)),Vn+fe.a>M&&(Vn=0,kr+=_+Ae,_=0),q2n(Xt,h,Vn,kr),e=b.Math.max(e,Vn+fe.a),_=b.Math.max(_,fe.b),Vn+=fe.a+Ae;for(jt=new Br,n=new Br,Ze=new S(t);Ze.a<Ze.c.c.length;)for(Ke=u(Q(Ze),135),r=je(Be(K(Ke,(Ei(),YO)))),St=Ke.q?Ke.q:l0,o=St.vc().Kc();o.Ob();)s=u(o.Pb(),42),Il(jt,s.cd())?Ut(u(s.cd(),146).wg())!==Ut(s.dd())&&(r&&Il(n,s.cd())?(Ud(),""+u(s.cd(),146).tg()):(Ni(jt,u(s.cd(),146),s.dd()),ne(Xt,u(s.cd(),146),s.dd()),r&&Ni(n,u(s.cd(),146),s.dd()))):(Ni(jt,u(s.cd(),146),s.dd()),ne(Xt,u(s.cd(),146),s.dd()));return Xt}function Phe(){Phe=X,Dat(),li=new qv,un(li,(ye(),Pf),Z1),un(li,Xh,Z1),un(li,hl,Z1),un(li,Nf,Z1),un(li,Ru,Z1),un(li,fl,Z1),un(li,Nf,Pf),un(li,Z1,_h),un(li,Pf,_h),un(li,Xh,_h),un(li,hl,_h),un(li,Bu,_h),un(li,Nf,_h),un(li,Ru,_h),un(li,fl,_h),un(li,vu,_h),un(li,Z1,eh),un(li,Pf,eh),un(li,_h,eh),un(li,Xh,eh),un(li,hl,eh),un(li,Bu,eh),un(li,Nf,eh),un(li,vu,eh),un(li,nh,eh),un(li,Ru,eh),un(li,Ju,eh),un(li,fl,eh),un(li,Pf,Xh),un(li,hl,Xh),un(li,Nf,Xh),un(li,fl,Xh),un(li,Pf,hl),un(li,Xh,hl),un(li,Nf,hl),un(li,hl,hl),un(li,Ru,hl),un(li,Z1,Ch),un(li,Pf,Ch),un(li,_h,Ch),un(li,eh,Ch),un(li,Xh,Ch),un(li,hl,Ch),un(li,Bu,Ch),un(li,Nf,Ch),un(li,nh,Ch),un(li,vu,Ch),un(li,fl,Ch),un(li,Ru,Ch),un(li,nu,Ch),un(li,Z1,nh),un(li,Pf,nh),un(li,_h,nh),un(li,Xh,nh),un(li,hl,nh),un(li,Bu,nh),un(li,Nf,nh),un(li,vu,nh),un(li,fl,nh),un(li,Ju,nh),un(li,nu,nh),un(li,Pf,vu),un(li,Xh,vu),un(li,hl,vu),un(li,Nf,vu),un(li,nh,vu),un(li,fl,vu),un(li,Ru,vu),un(li,Z1,Fu),un(li,Pf,Fu),un(li,_h,Fu),un(li,Xh,Fu),un(li,hl,Fu),un(li,Bu,Fu),un(li,Nf,Fu),un(li,vu,Fu),un(li,fl,Fu),un(li,Pf,Ru),un(li,_h,Ru),un(li,eh,Ru),un(li,hl,Ru),un(li,Z1,Ju),un(li,Pf,Ju),un(li,eh,Ju),un(li,Xh,Ju),un(li,hl,Ju),un(li,Bu,Ju),un(li,Nf,Ju),un(li,Nf,nu),un(li,hl,nu),un(li,vu,Z1),un(li,vu,Xh),un(li,vu,_h),un(li,Bu,Z1),un(li,Bu,Pf),un(li,Bu,eh)}function Mq(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new NXt(t.b,t.a,e,t.c);case 1:return new dj(t.a,e,rs(e.Tg(),t.c));case 43:return new DUt(t.a,e,rs(e.Tg(),t.c));case 3:return new qs(t.a,e,rs(e.Tg(),t.c));case 45:return new Vu(t.a,e,rs(e.Tg(),t.c));case 41:return new Pl(u(Bh(t.c),26),t.a,e,rs(e.Tg(),t.c));case 50:return new Pee(u(Bh(t.c),26),t.a,e,rs(e.Tg(),t.c));case 5:return new evt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 47:return new qWt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 7:return new pe(t.a,e,rs(e.Tg(),t.c),t.d.n);case 49:return new I6(t.a,e,rs(e.Tg(),t.c),t.d.n);case 9:return new OUt(t.a,e,rs(e.Tg(),t.c));case 11:return new IUt(t.a,e,rs(e.Tg(),t.c));case 13:return new dbt(t.a,e,rs(e.Tg(),t.c));case 15:return new Lj(t.a,e,rs(e.Tg(),t.c));case 17:return new PUt(t.a,e,rs(e.Tg(),t.c));case 19:return new W3(t.a,e,rs(e.Tg(),t.c));case 21:return new fbt(t.a,e,rs(e.Tg(),t.c));case 23:return new XM(t.a,e,rs(e.Tg(),t.c));case 25:return new GWt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 27:return new Tn(t.a,e,rs(e.Tg(),t.c),t.d.n);case 29:return new VWt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 31:return new HWt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 33:return new rvt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 35:return new nvt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 37:return new fnt(t.a,e,rs(e.Tg(),t.c),t.d.n);case 39:return new Kj(t.a,e,rs(e.Tg(),t.c),t.d.n);case 40:return new ws(e,rs(e.Tg(),t.c));default:throw et(new ic("Unknown feature style: "+t.e))}}function O5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe;switch(Dr(n,"Brandes & Koepf node placement",1),t.a=e,t.c=Cmn(e),r=u(K(e,(Te(),Qlt)),274),q=je(Be(K(e,TS))),t.d=r==(sI(),jV)&&!q||r==Slt,h3n(t,e),Xt=null,fe=null,bt=null,Mt=null,Z=(Gl(4,my),new iu(4)),u(K(e,Qlt),274).g){case 3:bt=new k4(e,t.c.d,(D1(),zb),(yd(),Zg)),Z.c[Z.c.length]=bt;break;case 1:Mt=new k4(e,t.c.d,(D1(),Y1),(yd(),Zg)),Z.c[Z.c.length]=Mt;break;case 4:Xt=new k4(e,t.c.d,(D1(),zb),(yd(),Bw)),Z.c[Z.c.length]=Xt;break;case 2:fe=new k4(e,t.c.d,(D1(),Y1),(yd(),Bw)),Z.c[Z.c.length]=fe;break;default:bt=new k4(e,t.c.d,(D1(),zb),(yd(),Zg)),Mt=new k4(e,t.c.d,Y1,Zg),Xt=new k4(e,t.c.d,zb,Bw),fe=new k4(e,t.c.d,Y1,Bw),Z.c[Z.c.length]=Xt,Z.c[Z.c.length]=fe,Z.c[Z.c.length]=bt,Z.c[Z.c.length]=Mt}for(s=new XVt(e,t.c),d=new S(Z);d.a<d.c.c.length;)o=u(Q(d),180),m5n(s,o,t.b),nyn(o);for(B=new Lse(e,t.c),w=new S(Z);w.a<w.c.c.length;)o=u(Q(w),180),p4n(B,o);if(n.n)for(k=new S(Z);k.a<k.c.c.length;)o=u(Q(k),180),Q2(n,o+" size is "+Wst(o));if(M=null,t.d&&(_=G4n(t,Z,t.c.d),ple(e,_,n)&&(M=_)),!M)for(k=new S(Z);k.a<k.c.c.length;)o=u(Q(k),180),ple(e,o,n)&&(!M||Wst(M)>Wst(o))&&(M=o);for(!M&&(M=(An(0,Z.c.length),u(Z.c[0],180))),W=new S(e.b);W.a<W.c.c.length;)for(G=u(Q(W),29),jt=new S(G.a);jt.a<jt.c.c.length;)St=u(Q(jt),10),St.n.b=Zt(M.p[St.p])+Zt(M.d[St.p]);for(n.n&&(Q2(n,"Chosen node placement: "+M),Q2(n,"Blocks: "+Noe(M)),Q2(n,"Classes: "+Wpn(M,n)),Q2(n,"Marked edges: "+t.b)),h=new S(Z);h.a<h.c.c.length;)o=u(Q(h),180),o.g=null,o.b=null,o.a=null,o.d=null,o.j=null,o.i=null,o.p=null;Ton(t.c),t.b.a.$b(),br(n)}function P5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn;for(h=new hs,Xt=u(K(n,(Te(),Jl)),103),G=0,so(h,(!e.a&&(e.a=new pe(bs,e,10,11)),e.a));h.b!=0;)k=u(h.b==0?null:(sr(h.b!=0),bh(h,h.a.a)),33),(Ut(He(e,v2))!==Ut((z0(),w2))||Ut(He(e,Ry))===Ut((mb(),pS))||Ut(He(e,Ry))===Ut((mb(),gS))||je(Be(He(e,By)))||Ut(He(e,Fx))!==Ut((tw(),z4)))&&!je(Be(He(k,qlt)))&&Do(k,(oe(),Bc),ve(G++)),Z=!je(Be(He(k,jb))),Z&&(M=(!k.a&&(k.a=new pe(bs,k,10,11)),k.a).i!=0,q=Bdn(k),B=Ut(He(k,jy))===Ut((q0(),np)),Vn=!sb(k,(Ei(),GS))||ln(Yr(He(k,GS)),Xn),St=null,Vn&&B&&(M||q)&&(St=nle(k),ne(St,Jl,Xt),ia(St,MO)&&Oqt(new o3t(Zt(ke(K(St,MO)))),St),u(He(k,Rb),174).gc()!=0&&(_=St,Ts(new En(null,(!k.c&&(k.c=new pe(El,k,9,9)),new _n(k.c,16))),new jr(_)),Kce(k,St))),fe=n,Ae=u(cr(t.a,gs(k)),10),Ae&&(fe=Ae.e),Mt=ehe(t,k,fe),St&&(Mt.e=St,St.e=Mt,so(h,(!k.a&&(k.a=new pe(bs,k,10,11)),k.a))));for(G=0,Cs(h,e,h.c.b,h.c);h.b!=0;){for(o=u(h.b==0?null:(sr(h.b!=0),bh(h,h.a.a)),33),w=new hr((!o.b&&(o.b=new pe(aa,o,12,3)),o.b));w.e!=w.i.gc();)d=u(Tr(w),79),yue(d),(Ut(He(e,v2))!==Ut((z0(),w2))||Ut(He(e,Ry))===Ut((mb(),pS))||Ut(He(e,Ry))===Ut((mb(),gS))||je(Be(He(e,By)))||Ut(He(e,Fx))!==Ut((tw(),z4)))&&Do(d,(oe(),Bc),ve(G++)),Ze=Go(u(At((!d.b&&(d.b=new Tn(Lr,d,4,7)),d.b),0),82)),$n=Go(u(At((!d.c&&(d.c=new Tn(Lr,d,5,8)),d.c),0),82)),!(je(Be(He(d,jb)))||je(Be(He(Ze,jb)))||je(Be(He($n,jb))))&&(W=cw(d)&&je(Be(He(Ze,$y)))&&je(Be(He(d,Bb))),jt=o,W||Zm($n,Ze)?jt=Ze:Zm(Ze,$n)&&(jt=$n),fe=n,Ae=u(cr(t.a,jt),10),Ae&&(fe=Ae.e),bt=T6t(t,d,jt,fe),ne(bt,(oe(),UEt),ivn(t,d,e,n)));if(B=Ut(He(o,jy))===Ut((q0(),np)),B)for(s=new hr((!o.a&&(o.a=new pe(bs,o,10,11)),o.a));s.e!=s.i.gc();)r=u(Tr(s),33),Vn=!sb(r,(Ei(),GS))||ln(Yr(He(r,GS)),Xn),Ke=Ut(He(r,jy))===Ut(np),Vn&&Ke&&Cs(h,r,h.c.b,h.c)}}function N5n(t,e,n,r,s,o){var h,d,w,k,_,M,B,q,G,W,Z,bt;switch(e){case 71:d=r.q.getFullYear()-a2>=-1900?1:0,n>=4?ii(t,ct(ot(Le,1),re,2,6,[Xhe,Qhe])[d]):ii(t,ct(ot(Le,1),re,2,6,["BC","AD"])[d]);break;case 121:Chn(t,n,r);break;case 77:Mwn(t,n,r);break;case 107:w=s.q.getHours(),w==0?t0(t,24,n):t0(t,w,n);break;case 83:Q2n(t,n,s);break;case 69:_=r.q.getDay(),n==5?ii(t,ct(ot(Le,1),re,2,6,["S","M","T","W","T","F","S"])[_]):n==4?ii(t,ct(ot(Le,1),re,2,6,[Qat,Zat,Jat,tot,eot,not,rot])[_]):ii(t,ct(ot(Le,1),re,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[_]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?ii(t,ct(ot(Le,1),re,2,6,["AM","PM"])[1]):ii(t,ct(ot(Le,1),re,2,6,["AM","PM"])[0]);break;case 104:M=s.q.getHours()%12,M==0?t0(t,12,n):t0(t,M,n);break;case 75:B=s.q.getHours()%12,t0(t,B,n);break;case 72:q=s.q.getHours(),t0(t,q,n);break;case 99:G=r.q.getDay(),n==5?ii(t,ct(ot(Le,1),re,2,6,["S","M","T","W","T","F","S"])[G]):n==4?ii(t,ct(ot(Le,1),re,2,6,[Qat,Zat,Jat,tot,eot,not,rot])[G]):n==3?ii(t,ct(ot(Le,1),re,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[G]):t0(t,G,1);break;case 76:W=r.q.getMonth(),n==5?ii(t,ct(ot(Le,1),re,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[W]):n==4?ii(t,ct(ot(Le,1),re,2,6,[$at,zat,qat,Hat,hx,Vat,Gat,Uat,Wat,Kat,Yat,Xat])[W]):n==3?ii(t,ct(ot(Le,1),re,2,6,["Jan","Feb","Mar","Apr",hx,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[W]):t0(t,W+1,n);break;case 81:Z=r.q.getMonth()/3|0,n<4?ii(t,ct(ot(Le,1),re,2,6,["Q1","Q2","Q3","Q4"])[Z]):ii(t,ct(ot(Le,1),re,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[Z]);break;case 100:bt=r.q.getDate(),t0(t,bt,n);break;case 109:k=s.q.getMinutes(),t0(t,k,n);break;case 115:h=s.q.getSeconds(),t0(t,h,n);break;case 122:n<4?ii(t,o.c[0]):ii(t,o.c[1]);break;case 118:ii(t,o.b);break;case 90:n<3?ii(t,$gn(o)):n==3?ii(t,Hgn(o)):ii(t,Vgn(o.a));break;default:return!1}return!0}function T6t(t,e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai;if(yue(e),w=u(At((!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b),0),82),_=u(At((!e.c&&(e.c=new Tn(Lr,e,5,8)),e.c),0),82),d=Go(w),k=Go(_),h=(!e.a&&(e.a=new pe(fs,e,6,6)),e.a).i==0?null:u(At((!e.a&&(e.a=new pe(fs,e,6,6)),e.a),0),202),Ae=u(cr(t.a,d),10),Vn=u(cr(t.a,k),10),Ke=null,kr=null,_t(w,186)&&(fe=u(cr(t.a,w),299),_t(fe,11)?Ke=u(fe,11):_t(fe,10)&&(Ae=u(fe,10),Ke=u(Fe(Ae.j,0),11))),_t(_,186)&&($n=u(cr(t.a,_),299),_t($n,11)?kr=u($n,11):_t($n,10)&&(Vn=u($n,10),kr=u(Fe(Vn.j,0),11))),!Ae||!Vn)throw et(new FT("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(W=new $v,Vo(W,e),ne(W,(oe(),Bi),e),ne(W,(Te(),zo),null),q=u(K(r,tu),21),Ae==Vn&&q.Fc((Eo(),wS)),Ke||(Xt=(xo(),lu),Ze=null,h&&V3(u(K(Ae,xs),98))&&(Ze=new $e(h.j,h.k),MZt(Ze,aD(e)),aJt(Ze,n),Zm(k,d)&&(Xt=ll,$i(Ze,Ae.n))),Ke=wle(Ae,Ze,Xt,r)),kr||(Xt=(xo(),ll),Ai=null,h&&V3(u(K(Vn,xs),98))&&(Ai=new $e(h.b,h.c),MZt(Ai,aD(e)),aJt(Ai,n)),kr=wle(Vn,Ai,Xt,Za(Vn))),Wa(W,Ke),ya(W,kr),(Ke.e.c.length>1||Ke.g.c.length>1||kr.e.c.length>1||kr.g.c.length>1)&&q.Fc((Eo(),vS)),B=new hr((!e.n&&(e.n=new pe(nc,e,1,7)),e.n));B.e!=B.i.gc();)if(M=u(Tr(B),137),!je(Be(He(M,jb)))&&M.a)switch(Z=Oit(M),de(W.b,Z),u(K(Z,Bd),272).g){case 1:case 2:q.Fc((Eo(),f9));break;case 0:q.Fc((Eo(),h9)),ne(Z,Bd,(F1(),S9))}if(o=u(K(r,ES),314),bt=u(K(r,sG),315),s=o==(X6(),xO)||bt==(aC(),lht),h&&(!h.a&&(h.a=new qs(Qh,h,5)),h.a).i!=0&&s){for(Mt=cI(h),G=new Hu,jt=gi(Mt,0);jt.b!=jt.d.c;)St=u(di(jt),8),pi(G,new No(St));ne(W,XEt,G)}return W}function F5n(t){t.gb||(t.gb=!0,t.b=vc(t,0),ps(t.b,18),Ki(t.b,19),t.a=vc(t,1),ps(t.a,1),Ki(t.a,2),Ki(t.a,3),Ki(t.a,4),Ki(t.a,5),t.o=vc(t,2),ps(t.o,8),ps(t.o,9),Ki(t.o,10),Ki(t.o,11),Ki(t.o,12),Ki(t.o,13),Ki(t.o,14),Ki(t.o,15),Ki(t.o,16),Ki(t.o,17),Ki(t.o,18),Ki(t.o,19),Ki(t.o,20),Ki(t.o,21),Ki(t.o,22),Ki(t.o,23),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),jo(t.o),t.p=vc(t,3),ps(t.p,2),ps(t.p,3),ps(t.p,4),ps(t.p,5),Ki(t.p,6),Ki(t.p,7),jo(t.p),jo(t.p),t.q=vc(t,4),ps(t.q,8),t.v=vc(t,5),Ki(t.v,9),jo(t.v),jo(t.v),jo(t.v),t.w=vc(t,6),ps(t.w,2),ps(t.w,3),ps(t.w,4),Ki(t.w,5),t.B=vc(t,7),Ki(t.B,1),jo(t.B),jo(t.B),jo(t.B),t.Q=vc(t,8),Ki(t.Q,0),jo(t.Q),t.R=vc(t,9),ps(t.R,1),t.S=vc(t,10),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),jo(t.S),t.T=vc(t,11),Ki(t.T,10),Ki(t.T,11),Ki(t.T,12),Ki(t.T,13),Ki(t.T,14),jo(t.T),jo(t.T),t.U=vc(t,12),ps(t.U,2),ps(t.U,3),Ki(t.U,4),Ki(t.U,5),Ki(t.U,6),Ki(t.U,7),jo(t.U),t.V=vc(t,13),Ki(t.V,10),t.W=vc(t,14),ps(t.W,18),ps(t.W,19),ps(t.W,20),Ki(t.W,21),Ki(t.W,22),Ki(t.W,23),t.bb=vc(t,15),ps(t.bb,10),ps(t.bb,11),ps(t.bb,12),ps(t.bb,13),ps(t.bb,14),ps(t.bb,15),ps(t.bb,16),Ki(t.bb,17),jo(t.bb),jo(t.bb),t.eb=vc(t,16),ps(t.eb,2),ps(t.eb,3),ps(t.eb,4),ps(t.eb,5),ps(t.eb,6),ps(t.eb,7),Ki(t.eb,8),Ki(t.eb,9),t.ab=vc(t,17),ps(t.ab,0),ps(t.ab,1),t.H=vc(t,18),Ki(t.H,0),Ki(t.H,1),Ki(t.H,2),Ki(t.H,3),Ki(t.H,4),Ki(t.H,5),jo(t.H),t.db=vc(t,19),Ki(t.db,2),t.c=yi(t,20),t.d=yi(t,21),t.e=yi(t,22),t.f=yi(t,23),t.i=yi(t,24),t.g=yi(t,25),t.j=yi(t,26),t.k=yi(t,27),t.n=yi(t,28),t.r=yi(t,29),t.s=yi(t,30),t.t=yi(t,31),t.u=yi(t,32),t.fb=yi(t,33),t.A=yi(t,34),t.C=yi(t,35),t.D=yi(t,36),t.F=yi(t,37),t.G=yi(t,38),t.I=yi(t,39),t.J=yi(t,40),t.L=yi(t,41),t.M=yi(t,42),t.N=yi(t,43),t.O=yi(t,44),t.P=yi(t,45),t.X=yi(t,46),t.Y=yi(t,47),t.Z=yi(t,48),t.$=yi(t,49),t._=yi(t,50),t.cb=yi(t,51),t.K=yi(t,52))}function Ei(){Ei=X;var t,e;GS=new ns($1e),C9=new ns(z1e),CSt=(e0(),Zht),B3e=new vn(hkt,CSt),zx=new vn(vx,null),R3e=new ns(s8t),ASt=(cy(),Qi(eft,ct(ot(nft,1),ue,291,0,[tft]))),jG=new vn(lH,ASt),YO=new vn(QI,(Rn(),!1)),LSt=(ko(),f0),Rw=new vn(gkt,LSt),ISt=(V0(),gft),DSt=new vn(YI,ISt),NSt=new vn(bH,!1),FSt=(q0(),GG),i5=new vn(uH,FSt),USt=new Lv(12),Vb=new vn(vw,USt),$G=new vn(HI,!1),BSt=new vn(pct,!1),ZO=new vn(FC,!1),QSt=(ka(),T2),US=new vn(Pot,QSt),qx=new ns(hH),HG=new ns(qI),fft=new ns(Gq),dft=new ns(NC),RSt=new Hu,s5=new vn(Ekt,RSt),$3e=new vn(Ckt,!1),z3e=new vn(Skt,!1),jSt=new MT,QO=new vn(Lkt,jSt),qG=new vn(ukt,!1),G3e=new vn(q1e,1),new vn(H1e,!0),ve(0),new vn(V1e,ve(100)),new vn(G1e,!1),ve(0),new vn(U1e,ve(4e3)),ve(0),new vn(W1e,ve(400)),new vn(K1e,!1),new vn(Y1e,!1),new vn(X1e,!0),new vn(Q1e,!1),SSt=(Mz(),wft),j3e=new vn(i8t,SSt),U3e=new vn(Qxt,10),W3e=new vn(Zxt,10),eAt=new vn(Aot,20),K3e=new vn(Jxt,10),nAt=new vn(Oot,2),Y3e=new vn(tkt,10),rAt=new vn(ekt,0),VG=new vn(ikt,5),iAt=new vn(nkt,1),sAt=new vn(rkt,1),Gb=new vn(ky,20),X3e=new vn(skt,10),cAt=new vn(akt,10),Hx=new ns(okt),oAt=new nUt,aAt=new vn(Mkt,oAt),H3e=new ns(gct),WSt=!1,q3e=new vn(dct,WSt),zSt=new Lv(5),$St=new vn(pkt,zSt),qSt=(fy(),e=u(Kf(Co),9),new hh(e,u(bf(e,e.length),9),0)),a5=new vn(j7,qSt),YSt=(u4(),E2),KSt=new vn(wkt,YSt),oft=new ns(mkt),cft=new ns(ykt),uft=new ns(xkt),aft=new ns(kkt),HSt=(t=u(Kf(tA),9),new hh(t,u(bf(t,t.length),9),0)),Hb=new vn(M4,HSt),GSt=cn((ml(),D9)),x2=new vn(wx,GSt),VSt=new $e(0,0),o5=new vn(mx,VSt),zG=new vn(fct,!1),MSt=(F1(),S9),ift=new vn(Tkt,MSt),rft=new vn(Uq,!1),ve(1),new vn(Z1e,null),XSt=new ns(Akt),lft=new ns(_kt),tAt=(ye(),fc),c5=new vn(lkt,tAt),kl=new ns(ckt),ZSt=(cl(),cn(_2)),Ky=new vn($7,ZSt),hft=new vn(bkt,!1),JSt=new vn(vkt,!0),XO=new vn(fkt,!1),sft=new vn(dkt,!1),OSt=new vn(Lot,1),PSt=(nq(),bft),new vn(J1e,PSt),V3e=!0}function oe(){oe=X;var t,e;Bi=new ns(oxt),UEt=new ns("coordinateOrigin"),Rlt=new ns("processors"),GEt=new Ks("compoundNode",(Rn(),!1)),_O=new Ks("insideConnections",!1),XEt=new ns("originalBendpoints"),QEt=new ns("originalDummyNodePosition"),ZEt=new ns("originalLabelEdge"),SO=new ns("representedLabels"),mS=new ns("endLabels"),Dx=new ns("endLabel.origin"),Ox=new Ks("labelSide",(Wl(),eP)),K4=new Ks("maxEdgeThickness",0),K1=new Ks("reversed",!1),Px=new ns(Nfe),o1=new Ks("longEdgeSource",null),Uh=new Ks("longEdgeTarget",null),Ny=new Ks("longEdgeHasLabelDummies",!1),CO=new Ks("longEdgeBeforeLabelDummy",!1),GV=new Ks("edgeConstraint",(hb(),xlt)),Mw=new ns("inLayerLayoutUnit"),Nb=new Ks("inLayerConstraint",(j0(),EO)),Ix=new Ks("inLayerSuccessorConstraint",new ge),YEt=new Ks("inLayerSuccessorConstraintBetweenNonDummies",!1),ul=new ns("portDummy"),VV=new Ks("crossingHint",ve(0)),tu=new Ks("graphProperties",(e=u(Kf(Alt),9),new hh(e,u(bf(e,e.length),9),0))),yc=new Ks("externalPortSide",(ye(),fc)),KEt=new Ks("externalPortSize",new $a),Olt=new ns("externalPortReplacedDummies"),UV=new ns("externalPortReplacedDummy"),Py=new Ks("externalPortConnections",(t=u(Kf(uo),9),new hh(t,u(bf(t,t.length),9),0))),Dw=new Ks(Sfe,0),VEt=new ns("barycenterAssociates"),Nx=new ns("TopSideComments"),Mx=new ns("BottomSideComments"),HV=new ns("CommentConnectionPort"),Nlt=new Ks("inputCollect",!1),Blt=new Ks("outputCollect",!1),TO=new Ks("cyclic",!1),WEt=new ns("crossHierarchyMap"),$lt=new ns("targetOffset"),new Ks("splineLabelSize",new $a),X4=new ns("spacings"),WV=new Ks("partitionConstraint",!1),Aw=new ns("breakingPoint.info"),eTt=new ns("splines.survivingEdge"),Fb=new ns("splines.route.start"),Q4=new ns("splines.edgeChain"),tTt=new ns("originalPortConstraints"),g9=new ns("selfLoopHolder"),p9=new ns("splines.nsPortY"),Bc=new ns("modelOrder"),Flt=new ns("longEdgeTargetNode"),Lw=new Ks(c1e,!1),Y4=new Ks(c1e,!1),Plt=new ns("layerConstraints.hiddenNodes"),JEt=new ns("layerConstraints.opposidePort"),jlt=new ns("targetNode.modelOrder")}function _6t(){_6t=X,fTt=(SD(),FV),Gbe=new vn(pxt,fTt),rve=new vn(bxt,(Rn(),!1)),wTt=(E$(),Ilt),cve=new vn(Xq,wTt),Eve=new vn(vxt,!1),Tve=new vn(wxt,!0),ybe=new vn(mxt,!1),CTt=(ED(),dht),jve=new vn(yxt,CTt),ve(1),Wve=new vn(xxt,ve(7)),Kve=new vn(kxt,!1),ive=new vn(Ext,!1),hTt=(mb(),mlt),Vbe=new vn($ot,hTt),xTt=(tq(),aht),kve=new vn(WI,xTt),mTt=(mh(),AO),gve=new vn(Txt,mTt),ve(-1),dve=new vn(_xt,ve(-1)),ve(-1),pve=new vn(Cxt,ve(-1)),ve(-1),bve=new vn(zot,ve(4)),ve(-1),wve=new vn(qot,ve(2)),yTt=(m4(),dG),xve=new vn(Hot,yTt),ve(0),yve=new vn(Vot,ve(0)),hve=new vn(Got,ve(Di)),lTt=(X6(),Ax),Hbe=new vn($C,lTt),Mbe=new vn(Sxt,!1),Bbe=new vn(Uot,.1),zbe=new vn(Wot,!1),ve(-1),jbe=new vn(Axt,ve(-1)),ve(-1),$be=new vn(Lxt,ve(-1)),ve(0),Dbe=new vn(Mxt,ve(40)),uTt=(K8(),Mlt),Nbe=new vn(Kot,uTt),cTt=kO,Ibe=new vn(Qq,cTt),_Tt=(aC(),AS),Rve=new vn(D4,_Tt),Lve=new ns(Zq),kTt=(mD(),RV),_ve=new vn(Yot,kTt),ETt=(sI(),jV),Sve=new vn(Xot,ETt),Ive=new vn(Qot,.3),Pve=new ns(Zot),TTt=(sy(),fG),Nve=new vn(Jot,TTt),pTt=(hz(),pht),Xbe=new vn(Dxt,pTt),bTt=(dD(),bht),Qbe=new vn(Ixt,bTt),vTt=(e7(),DS),Zbe=new vn(Jq,vTt),tve=new vn(tH,.2),Kbe=new vn(tct,2),Hve=new vn(Oxt,null),Gve=new vn(Pxt,10),Vve=new vn(Nxt,10),Uve=new vn(Fxt,20),ve(0),$ve=new vn(Bxt,ve(0)),ve(0),zve=new vn(Rxt,ve(0)),ve(0),qve=new vn(jxt,ve(0)),xbe=new vn(ect,!1),iTt=(p7(),bS),Ebe=new vn($xt,iTt),rTt=(P$(),vlt),kbe=new vn(zxt,rTt),ave=new vn(eH,!1),ve(0),sve=new vn(nct,ve(16)),ve(0),ove=new vn(rct,ve(5)),LTt=(bz(),mht),gwe=new vn(Q0,LTt),Yve=new vn(nH,10),Zve=new vn(rH,1),ATt=(Z$(),NV),swe=new vn(zC,ATt),ewe=new ns(ict),STt=ve(1),ve(0),rwe=new vn(sct,STt),MTt=(uz(),wht),wwe=new vn(iH,MTt),pwe=new ns(sH),lwe=new vn(aH,!0),cwe=new vn(oH,2),fwe=new vn(act,!0),gTt=(iq(),BV),Wbe=new vn(qxt,gTt),dTt=(sx(),c9),Ube=new vn(Hxt,dTt),oTt=(z0(),w2),Lbe=new vn(cH,oTt),Abe=new vn(Vxt,!1),sTt=(tw(),z4),Tbe=new vn(oct,sTt),aTt=(Y_(),oht),Sbe=new vn(Gxt,aTt),_be=new vn(cct,0),Cbe=new vn(uct,0),lve=ylt,uve=xO,vve=lG,mve=lG,fve=sht,Rbe=(q0(),np),qbe=Ax,Fbe=Ax,Obe=Ax,Pbe=np,Mve=LS,Dve=AS,Cve=AS,Ave=AS,Ove=hht,Bve=LS,Fve=LS,Jbe=(V0(),Vx),eve=Vx,nve=DS,Ybe=JO,Xve=k9,Qve=Gy,Jve=k9,twe=Gy,awe=k9,owe=Gy,nwe=wlt,iwe=NV,mwe=k9,ywe=Gy,bwe=k9,vwe=Gy,hwe=Gy,uwe=Gy,dwe=Gy}function wo(){wo=X,H9t=new Os("DIRECTION_PREPROCESSOR",0),$9t=new Os("COMMENT_PREPROCESSOR",1),hS=new Os("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),rlt=new Os("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),cEt=new Os("PARTITION_PREPROCESSOR",4),bV=new Os("LABEL_DUMMY_INSERTER",5),CV=new Os("SELF_LOOP_PREPROCESSOR",6),i9=new Os("LAYER_CONSTRAINT_PREPROCESSOR",7),aEt=new Os("PARTITION_MIDPROCESSOR",8),Q9t=new Os("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),iEt=new Os("NODE_PROMOTION",10),r9=new Os("LAYER_CONSTRAINT_POSTPROCESSOR",11),oEt=new Os("PARTITION_POSTPROCESSOR",12),K9t=new Os("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),uEt=new Os("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),P9t=new Os("BREAKING_POINT_INSERTER",15),yV=new Os("LONG_EDGE_SPLITTER",16),ilt=new Os("PORT_SIDE_PROCESSOR",17),gV=new Os("INVERTED_PORT_PROCESSOR",18),EV=new Os("PORT_LIST_SORTER",19),hEt=new Os("SORT_BY_INPUT_ORDER_OF_MODEL",20),kV=new Os("NORTH_SOUTH_PORT_PREPROCESSOR",21),N9t=new Os("BREAKING_POINT_PROCESSOR",22),sEt=new Os(t1e,23),fEt=new Os(e1e,24),TV=new Os("SELF_LOOP_PORT_RESTORER",25),lEt=new Os("SINGLE_EDGE_GRAPH_WRAPPER",26),pV=new Os("IN_LAYER_CONSTRAINT_PROCESSOR",27),G9t=new Os("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),nEt=new Os("LABEL_AND_NODE_SIZE_PROCESSOR",29),eEt=new Os("INNERMOST_NODE_MARGIN_CALCULATOR",30),SV=new Os("SELF_LOOP_ROUTER",31),R9t=new Os("COMMENT_NODE_MARGIN_CALCULATOR",32),dV=new Os("END_LABEL_PREPROCESSOR",33),wV=new Os("LABEL_DUMMY_SWITCHER",34),B9t=new Os("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),n9=new Os("LABEL_SIDE_SELECTOR",36),J9t=new Os("HYPEREDGE_DUMMY_MERGER",37),Y9t=new Os("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),rEt=new Os("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),fS=new Os("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),z9t=new Os("CONSTRAINTS_POSTPROCESSOR",41),j9t=new Os("COMMENT_POSTPROCESSOR",42),tEt=new Os("HYPERNODE_PROCESSOR",43),X9t=new Os("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),mV=new Os("LONG_EDGE_JOINER",45),_V=new Os("SELF_LOOP_POSTPROCESSOR",46),F9t=new Os("BREAKING_POINT_REMOVER",47),xV=new Os("NORTH_SOUTH_PORT_POSTPROCESSOR",48),Z9t=new Os("HORIZONTAL_COMPACTOR",49),vV=new Os("LABEL_DUMMY_REMOVER",50),U9t=new Os("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),V9t=new Os("END_LABEL_SORTER",52),mO=new Os("REVERSED_EDGE_RESTORER",53),fV=new Os("END_LABEL_POSTPROCESSOR",54),W9t=new Os("HIERARCHICAL_NODE_RESIZER",55),q9t=new Os("DIRECTION_POSTPROCESSOR",56)}function B5n(t,e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr,Ai,Js,ih,nf,ed,dU,mP,dA,yP,F9,Pft,N5e,Nft,cp,Vw,B9,xP,kP,Xx,Fft,gA,F5e,SLt,Gw,pA,Bft,Qx,bA,i3,vA,Rft,B5e;for(SLt=0,Ai=e,nf=0,mP=Ai.length;nf<mP;++nf)for(Vn=Ai[nf],Vw=new S(Vn.j);Vw.a<Vw.c.c.length;){for(cp=u(Q(Vw),11),xP=0,d=new S(cp.g);d.a<d.c.c.length;)h=u(Q(d),17),Vn.c!=h.d.i.c&&++xP;xP>0&&(t.a[cp.p]=SLt++)}for(bA=0,Js=n,ed=0,dA=Js.length;ed<dA;++ed){for(Vn=Js[ed],yP=0,Vw=new S(Vn.j);Vw.a<Vw.c.c.length&&(cp=u(Q(Vw),11),cp.j==(ye(),Nn));)for(d=new S(cp.e);d.a<d.c.c.length;)if(h=u(Q(d),17),Vn.c!=h.c.i.c){++yP;break}for(Pft=0,kP=new Sa(Vn.j,Vn.j.c.length);kP.b>0;){for(cp=(sr(kP.b>0),u(kP.a.Xb(kP.c=--kP.b),11)),xP=0,d=new S(cp.e);d.a<d.c.c.length;)h=u(Q(d),17),Vn.c!=h.c.i.c&&++xP;xP>0&&(cp.j==(ye(),Nn)?(t.a[cp.p]=bA,++bA):(t.a[cp.p]=bA+yP+Pft,++Pft))}bA+=Pft}for(B9=new Br,G=new M0,kr=e,ih=0,dU=kr.length;ih<dU;++ih)for(Vn=kr[ih],Bft=new S(Vn.j);Bft.a<Bft.c.c.length;)for(pA=u(Q(Bft),11),d=new S(pA.g);d.a<d.c.c.length;)if(h=u(Q(d),17),vA=h.d,Vn.c!=vA.i.c)if(Gw=u(gc(Ho(B9.f,pA)),467),i3=u(gc(Ho(B9.f,vA)),467),!Gw&&!i3)q=new FWt,G.a.zc(q,G),de(q.a,h),de(q.d,pA),du(B9.f,pA,q),de(q.d,vA),du(B9.f,vA,q);else if(!Gw)de(i3.a,h),de(i3.d,pA),du(B9.f,pA,i3);else if(!i3)de(Gw.a,h),de(Gw.d,vA),du(B9.f,vA,Gw);else if(Gw==i3)de(Gw.a,h);else{for(de(Gw.a,h),Nft=new S(i3.d);Nft.a<Nft.c.c.length;)N5e=u(Q(Nft),11),du(B9.f,N5e,Gw);Hs(Gw.a,i3.a),Hs(Gw.d,i3.d),G.a.Bc(i3)!=null}for(W=u(JD(G,Pt(o6n,{3:1,4:1,5:1,1946:1},467,G.a.gc(),0,1)),1946),$n=e[0].c,F5e=n[0].c,_=W,M=0,B=_.length;M<B;++M)for(k=_[M],k.e=SLt,k.f=bA,Vw=new S(k.d);Vw.a<Vw.c.c.length;)cp=u(Q(Vw),11),Xx=t.a[cp.p],cp.i.c==$n?(Xx<k.e&&(k.e=Xx),Xx>k.b&&(k.b=Xx)):cp.i.c==F5e&&(Xx<k.f&&(k.f=Xx),Xx>k.c&&(k.c=Xx));for(O8(W,0,W.length,null),Qx=Pt(Fr,ui,25,W.length,15,1),r=Pt(Fr,ui,25,bA+1,15,1),bt=0;bt<W.length;bt++)Qx[bt]=W[bt].f,r[Qx[bt]]=1;for(o=0,Mt=0;Mt<r.length;Mt++)r[Mt]==1?r[Mt]=o:--o;for(Fft=0,St=0;St<Qx.length;St++)Qx[St]+=r[Qx[St]],Fft=b.Math.max(Fft,Qx[St]+1);for(w=1;w<Fft;)w*=2;for(B5e=2*w-1,w-=1,Rft=Pt(Fr,ui,25,B5e,15,1),s=0,Ke=0;Ke<Qx.length;Ke++)for(Ae=Qx[Ke]+w,++Rft[Ae];Ae>0;)Ae%2>0&&(s+=Rft[Ae+1]),Ae=(Ae-1)/2|0,++Rft[Ae];for(Ze=Pt(ume,De,362,W.length*2,0,1),jt=0;jt<W.length;jt++)Ze[2*jt]=new r$(W[jt],W[jt].e,W[jt].b,(B_(),PS)),Ze[2*jt+1]=new r$(W[jt],W[jt].b,W[jt].e,OS);for(O8(Ze,0,Ze.length,null),F9=0,Xt=0;Xt<Ze.length;Xt++)switch(Ze[Xt].d.g){case 0:++F9;break;case 1:--F9,s+=F9}for(gA=Pt(ume,De,362,W.length*2,0,1),fe=0;fe<W.length;fe++)gA[2*fe]=new r$(W[fe],W[fe].f,W[fe].c,(B_(),PS)),gA[2*fe+1]=new r$(W[fe],W[fe].c,W[fe].f,OS);for(O8(gA,0,gA.length,null),F9=0,Z=0;Z<gA.length;Z++)switch(gA[Z].d.g){case 0:++F9;break;case 1:--F9,s+=F9}return s}function Si(){Si=X,fA=new bv(7),mLt=new Yd(8,94),new Yd(8,64),yLt=new Yd(8,36),C5e=new Yd(8,65),S5e=new Yd(8,122),A5e=new Yd(8,90),M5e=new Yd(8,98),_5e=new Yd(8,66),L5e=new Yd(8,60),D5e=new Yd(8,62),wLt=new bv(11),fU=new ql(4),Yc(fU,48,57),N9=new ql(4),Yc(N9,48,57),Yc(N9,65,90),Yc(N9,95,95),Yc(N9,97,122),Yx=new ql(4),Yc(Yx,9,9),Yc(Yx,10,10),Yc(Yx,12,12),Yc(Yx,13,13),Yc(Yx,32,32),xLt=by(fU),ELt=by(N9),kLt=by(Yx),P9=new Br,hA=new Br,T5e=ct(ot(Le,1),re,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),bLt=ct(ot(Le,1),re,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",Q0e,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),vLt=ct(ot(Fr,1),ui,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Dq(){Dq=X,ppe=new vh("OUT_T_L",0,(ol(),Pd),(Lu(),Sf),(Jf(),wc),wc,ct(ot(Gh,1),De,21,0,[Qi((fy(),If),ct(ot(Co,1),ue,93,0,[Of,Mf]))])),gpe=new vh("OUT_T_C",1,f2,Sf,wc,uu,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Of,eg])),Qi(If,ct(ot(Co,1),ue,93,0,[Of,eg,Kh]))])),bpe=new vh("OUT_T_R",2,Cf,Sf,wc,mc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Of,Df]))])),ape=new vh("OUT_B_L",3,Pd,a1,mc,wc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Yh,Mf]))])),spe=new vh("OUT_B_C",4,f2,a1,mc,uu,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Yh,eg])),Qi(If,ct(ot(Co,1),ue,93,0,[Yh,eg,Kh]))])),ope=new vh("OUT_B_R",5,Cf,a1,mc,mc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Yh,Df]))])),lpe=new vh("OUT_L_T",6,Cf,a1,wc,wc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Mf,Of,Kh]))])),upe=new vh("OUT_L_C",7,Cf,d2,uu,wc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Mf,g0])),Qi(If,ct(ot(Co,1),ue,93,0,[Mf,g0,Kh]))])),cpe=new vh("OUT_L_B",8,Cf,Sf,mc,wc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Mf,Yh,Kh]))])),dpe=new vh("OUT_R_T",9,Pd,a1,wc,mc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Df,Of,Kh]))])),fpe=new vh("OUT_R_C",10,Pd,d2,uu,mc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Df,g0])),Qi(If,ct(ot(Co,1),ue,93,0,[Df,g0,Kh]))])),hpe=new vh("OUT_R_B",11,Pd,Sf,mc,mc,ct(ot(Gh,1),De,21,0,[Qi(If,ct(ot(Co,1),ue,93,0,[Df,Yh,Kh]))])),rpe=new vh("IN_T_L",12,Pd,a1,wc,wc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Of,Mf])),Qi(th,ct(ot(Co,1),ue,93,0,[Of,Mf,Kh]))])),npe=new vh("IN_T_C",13,f2,a1,wc,uu,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Of,eg])),Qi(th,ct(ot(Co,1),ue,93,0,[Of,eg,Kh]))])),ipe=new vh("IN_T_R",14,Cf,a1,wc,mc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Of,Df])),Qi(th,ct(ot(Co,1),ue,93,0,[Of,Df,Kh]))])),tpe=new vh("IN_C_L",15,Pd,d2,uu,wc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[g0,Mf])),Qi(th,ct(ot(Co,1),ue,93,0,[g0,Mf,Kh]))])),Jge=new vh("IN_C_C",16,f2,d2,uu,uu,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[g0,eg])),Qi(th,ct(ot(Co,1),ue,93,0,[g0,eg,Kh]))])),epe=new vh("IN_C_R",17,Cf,d2,uu,mc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[g0,Df])),Qi(th,ct(ot(Co,1),ue,93,0,[g0,Df,Kh]))])),Qge=new vh("IN_B_L",18,Pd,Sf,mc,wc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Yh,Mf])),Qi(th,ct(ot(Co,1),ue,93,0,[Yh,Mf,Kh]))])),Xge=new vh("IN_B_C",19,f2,Sf,mc,uu,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Yh,eg])),Qi(th,ct(ot(Co,1),ue,93,0,[Yh,eg,Kh]))])),Zge=new vh("IN_B_R",20,Cf,Sf,mc,mc,ct(ot(Gh,1),De,21,0,[Qi(th,ct(ot(Co,1),ue,93,0,[Yh,Df])),Qi(th,ct(ot(Co,1),ue,93,0,[Yh,Df,Kh]))])),Nut=new vh(OC,21,null,null,null,null,ct(ot(Gh,1),De,21,0,[]))}function hn(){hn=X,t3=(Hp(),Ln).b,u(At(Kt(Ln.b),0),34),u(At(Kt(Ln.b),1),18),rp=Ln.a,u(At(Kt(Ln.a),0),34),u(At(Kt(Ln.a),1),18),u(At(Kt(Ln.a),2),18),u(At(Kt(Ln.a),3),18),u(At(Kt(Ln.a),4),18),L2=Ln.o,u(At(Kt(Ln.o),0),34),u(At(Kt(Ln.o),1),34),V4e=u(At(Kt(Ln.o),2),18),u(At(Kt(Ln.o),3),18),u(At(Kt(Ln.o),4),18),u(At(Kt(Ln.o),5),18),u(At(Kt(Ln.o),6),18),u(At(Kt(Ln.o),7),18),u(At(Kt(Ln.o),8),18),u(At(Kt(Ln.o),9),18),u(At(Kt(Ln.o),10),18),u(At(Kt(Ln.o),11),18),u(At(Kt(Ln.o),12),18),u(At(Kt(Ln.o),13),18),u(At(Kt(Ln.o),14),18),u(At(Kt(Ln.o),15),18),u(At(zi(Ln.o),0),59),u(At(zi(Ln.o),1),59),u(At(zi(Ln.o),2),59),u(At(zi(Ln.o),3),59),u(At(zi(Ln.o),4),59),u(At(zi(Ln.o),5),59),u(At(zi(Ln.o),6),59),u(At(zi(Ln.o),7),59),u(At(zi(Ln.o),8),59),u(At(zi(Ln.o),9),59),H4e=Ln.p,u(At(Kt(Ln.p),0),34),u(At(Kt(Ln.p),1),34),u(At(Kt(Ln.p),2),34),u(At(Kt(Ln.p),3),34),u(At(Kt(Ln.p),4),18),u(At(Kt(Ln.p),5),18),u(At(zi(Ln.p),0),59),u(At(zi(Ln.p),1),59),G4e=Ln.q,u(At(Kt(Ln.q),0),34),M2=Ln.v,u(At(Kt(Ln.v),0),18),u(At(zi(Ln.v),0),59),u(At(zi(Ln.v),1),59),u(At(zi(Ln.v),2),59),ip=Ln.w,u(At(Kt(Ln.w),0),34),u(At(Kt(Ln.w),1),34),u(At(Kt(Ln.w),2),34),u(At(Kt(Ln.w),3),18),D2=Ln.B,u(At(Kt(Ln.B),0),18),u(At(zi(Ln.B),0),59),u(At(zi(Ln.B),1),59),u(At(zi(Ln.B),2),59),U4e=Ln.Q,u(At(Kt(Ln.Q),0),18),u(At(zi(Ln.Q),0),59),W4e=Ln.R,u(At(Kt(Ln.R),0),34),ef=Ln.S,u(At(zi(Ln.S),0),59),u(At(zi(Ln.S),1),59),u(At(zi(Ln.S),2),59),u(At(zi(Ln.S),3),59),u(At(zi(Ln.S),4),59),u(At(zi(Ln.S),5),59),u(At(zi(Ln.S),6),59),u(At(zi(Ln.S),7),59),u(At(zi(Ln.S),8),59),u(At(zi(Ln.S),9),59),u(At(zi(Ln.S),10),59),u(At(zi(Ln.S),11),59),u(At(zi(Ln.S),12),59),u(At(zi(Ln.S),13),59),u(At(zi(Ln.S),14),59),sp=Ln.T,u(At(Kt(Ln.T),0),18),u(At(Kt(Ln.T),2),18),K4e=u(At(Kt(Ln.T),3),18),u(At(Kt(Ln.T),4),18),u(At(zi(Ln.T),0),59),u(At(zi(Ln.T),1),59),u(At(Kt(Ln.T),1),18),ap=Ln.U,u(At(Kt(Ln.U),0),34),u(At(Kt(Ln.U),1),34),u(At(Kt(Ln.U),2),18),u(At(Kt(Ln.U),3),18),u(At(Kt(Ln.U),4),18),u(At(Kt(Ln.U),5),18),u(At(zi(Ln.U),0),59),e3=Ln.V,u(At(Kt(Ln.V),0),18),u5=Ln.W,u(At(Kt(Ln.W),0),34),u(At(Kt(Ln.W),1),34),u(At(Kt(Ln.W),2),34),u(At(Kt(Ln.W),3),18),u(At(Kt(Ln.W),4),18),u(At(Kt(Ln.W),5),18),Y4e=Ln.bb,u(At(Kt(Ln.bb),0),34),u(At(Kt(Ln.bb),1),34),u(At(Kt(Ln.bb),2),34),u(At(Kt(Ln.bb),3),34),u(At(Kt(Ln.bb),4),34),u(At(Kt(Ln.bb),5),34),u(At(Kt(Ln.bb),6),34),u(At(Kt(Ln.bb),7),18),u(At(zi(Ln.bb),0),59),u(At(zi(Ln.bb),1),59),X4e=Ln.eb,u(At(Kt(Ln.eb),0),34),u(At(Kt(Ln.eb),1),34),u(At(Kt(Ln.eb),2),34),u(At(Kt(Ln.eb),3),34),u(At(Kt(Ln.eb),4),34),u(At(Kt(Ln.eb),5),34),u(At(Kt(Ln.eb),6),18),u(At(Kt(Ln.eb),7),18),lo=Ln.ab,u(At(Kt(Ln.ab),0),34),u(At(Kt(Ln.ab),1),34),zw=Ln.H,u(At(Kt(Ln.H),0),18),u(At(Kt(Ln.H),1),18),u(At(Kt(Ln.H),2),18),u(At(Kt(Ln.H),3),18),u(At(Kt(Ln.H),4),18),u(At(Kt(Ln.H),5),18),u(At(zi(Ln.H),0),59),qw=Ln.db,u(At(Kt(Ln.db),0),18),J1=Ln.M}function R5n(t){var e;t.O||(t.O=!0,su(t,"type"),oz(t,"ecore.xml.type"),cz(t,Db),e=u(m7((Pp(),tf),Db),1945),Hr(qo(t.fb),t.b),bc(t.b,pP,"AnyType",!1,!1,!0),_s(u(At(Kt(t.b),0),34),t.wb.D,eO,null,0,-1,pP,!1,!1,!0,!1,!1,!1),_s(u(At(Kt(t.b),1),34),t.wb.D,"any",null,0,-1,pP,!0,!0,!0,!1,!1,!0),_s(u(At(Kt(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,pP,!1,!1,!0,!1,!1,!1),bc(t.bb,lU,I0e,!1,!1,!0),_s(u(At(Kt(t.bb),0),34),t.gb,"data",null,0,1,lU,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),1),34),t.gb,y8t,null,1,1,lU,!1,!1,!0,!1,!0,!1),bc(t.fb,bP,O0e,!1,!1,!0),_s(u(At(Kt(t.fb),0),34),e.gb,"rawValue",null,0,1,bP,!0,!0,!0,!1,!0,!0),_s(u(At(Kt(t.fb),1),34),e.a,YC,null,0,1,bP,!0,!0,!0,!1,!0,!0),Yi(u(At(Kt(t.fb),2),18),t.wb.q,null,"instanceType",1,1,bP,!1,!1,!0,!1,!1,!1,!1),bc(t.qb,fLt,P0e,!1,!1,!0),_s(u(At(Kt(t.qb),0),34),t.wb.D,eO,null,0,-1,null,!1,!1,!0,!1,!1,!1),Yi(u(At(Kt(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),_s(u(At(Kt(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),_s(u(At(Kt(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Yi(u(At(Kt(t.qb),5),18),t.bb,null,W0e,0,-2,null,!0,!0,!0,!0,!1,!1,!0),_s(u(At(Kt(t.qb),6),34),t.gb,Hct,null,0,-2,null,!0,!0,!0,!1,!1,!0),mi(t.a,ir,"AnySimpleType",!0),mi(t.c,Le,"AnyURI",!0),mi(t.d,ot(tl,1),"Base64Binary",!0),mi(t.e,Tl,"Boolean",!0),mi(t.f,Zs,"BooleanObject",!0),mi(t.g,tl,"Byte",!0),mi(t.i,Tx,"ByteObject",!0),mi(t.j,Le,"Date",!0),mi(t.k,Le,"DateTime",!0),mi(t.n,_ut,"Decimal",!0),mi(t.o,wa,"Double",!0),mi(t.p,Ea,"DoubleObject",!0),mi(t.q,Le,"Duration",!0),mi(t.s,Eh,"ENTITIES",!0),mi(t.r,Eh,"ENTITIESBase",!0),mi(t.t,Le,F8t,!0),mi(t.u,r3,"Float",!0),mi(t.v,Q7,"FloatObject",!0),mi(t.w,Le,"GDay",!0),mi(t.B,Le,"GMonth",!0),mi(t.A,Le,"GMonthDay",!0),mi(t.C,Le,"GYear",!0),mi(t.D,Le,"GYearMonth",!0),mi(t.F,ot(tl,1),"HexBinary",!0),mi(t.G,Le,"ID",!0),mi(t.H,Le,"IDREF",!0),mi(t.J,Eh,"IDREFS",!0),mi(t.I,Eh,"IDREFSBase",!0),mi(t.K,Fr,"Int",!0),mi(t.M,R4,"Integer",!0),mi(t.L,eo,"IntObject",!0),mi(t.P,Le,"Language",!0),mi(t.Q,O2,"Long",!0),mi(t.R,Ew,"LongObject",!0),mi(t.S,Le,"Name",!0),mi(t.T,Le,BH,!0),mi(t.U,R4,"NegativeInteger",!0),mi(t.V,Le,j8t,!0),mi(t.X,Eh,"NMTOKENS",!0),mi(t.W,Eh,"NMTOKENSBase",!0),mi(t.Y,R4,"NonNegativeInteger",!0),mi(t.Z,R4,"NonPositiveInteger",!0),mi(t.$,Le,"NormalizedString",!0),mi(t._,Le,"NOTATION",!0),mi(t.ab,Le,"PositiveInteger",!0),mi(t.cb,Le,"QName",!0),mi(t.db,d5,"Short",!0),mi(t.eb,Tw,"ShortObject",!0),mi(t.gb,Le,L6t,!0),mi(t.hb,Le,"Time",!0),mi(t.ib,Le,"Token",!0),mi(t.jb,d5,"UnsignedByte",!0),mi(t.kb,Tw,"UnsignedByteObject",!0),mi(t.lb,O2,"UnsignedInt",!0),mi(t.mb,Ew,"UnsignedIntObject",!0),mi(t.nb,R4,"UnsignedLong",!0),mi(t.ob,Fr,"UnsignedShort",!0),mi(t.pb,eo,"UnsignedShortObject",!0),jyt(t,Db),j5n(t))}function Nhe(t){Cv(t,new yb(t2t(xR(kv(mv(xv(yv(new mg,Xn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new eQ),Xn),Qi((w7(),kft),ct(ot(rU,1),ue,237,0,[eU,nU,tU,xft,JG,ZG]))))),Ee(t,Xn,Qxt,Ie(Jlt)),Ee(t,Xn,Zxt,Ie(l_t)),Ee(t,Xn,Aot,Ie(DO)),Ee(t,Xn,Jxt,Ie(Af)),Ee(t,Xn,Oot,Ie(Rx)),Ee(t,Xn,tkt,Ie(Nw)),Ee(t,Xn,ekt,Ie(Vy)),Ee(t,Xn,nkt,Ie(y9)),Ee(t,Xn,rkt,Ie(x9)),Ee(t,Xn,ikt,Ie(tht)),Ee(t,Xn,ky,Ie(Fw)),Ee(t,Xn,skt,Ie(eht)),Ee(t,Xn,akt,Ie(CS)),Ee(t,Xn,okt,Ie(oG)),Ee(t,Xn,Oxt,Ie(MO)),Ee(t,Xn,Nxt,Ie(Z4)),Ee(t,Xn,Pxt,Ie($b)),Ee(t,Xn,Fxt,Ie(J4)),Ee(t,Xn,qI,ve(0)),Ee(t,Xn,Bxt,Ie(m9)),Ee(t,Xn,Rxt,Ie(u_t)),Ee(t,Xn,jxt,Ie(Bx)),Ee(t,Xn,Q0,Ie(w_t)),Ee(t,Xn,nH,Ie(h_t)),Ee(t,Xn,rH,Ie(f_t)),Ee(t,Xn,zC,Ie(rht)),Ee(t,Xn,ict,Ie(d_t)),Ee(t,Xn,sct,Ie(g_t)),Ee(t,Xn,iH,Ie(cG)),Ee(t,Xn,sH,Ie(iht)),Ee(t,Xn,aH,Ie(b_t)),Ee(t,Xn,oH,Ie(p_t)),Ee(t,Xn,act,Ie(v_t)),Ee(t,Xn,Zot,Ie(Ow)),Ee(t,Xn,Jot,Ie(_S)),Ee(t,Xn,Jq,Ie(Klt)),Ee(t,Xn,tH,Ie(zTt)),Ee(t,Xn,vw,i_t),Ee(t,Xn,YI,RTt),Ee(t,Xn,ckt,0),Ee(t,Xn,Gq,ve(1)),Ee(t,Xn,vx,R7),Ee(t,Xn,ukt,Ie(jb)),Ee(t,Xn,Pot,Ie(xs)),Ee(t,Xn,lkt,Ie(w9)),Ee(t,Xn,QI,Ie(kwe)),Ee(t,Xn,hkt,Ie(Fd)),Ee(t,Xn,uH,Ie(jy)),Ee(t,Xn,NC,(Rn(),!0)),Ee(t,Xn,fkt,Ie($y)),Ee(t,Xn,dkt,Ie(Bb)),Ee(t,Xn,M4,Ie(Rb)),Ee(t,Xn,wx,Ie(aG)),Ee(t,Xn,fct,Ie(Zlt)),Ee(t,Xn,gkt,BTt),Ee(t,Xn,j7,Ie(Iw)),Ee(t,Xn,pkt,Ie(iG)),Ee(t,Xn,$7,Ie(qy)),Ee(t,Xn,bkt,Ie(Awe)),Ee(t,Xn,vkt,Ie(o_t)),Ee(t,Xn,wkt,a_t),Ee(t,Xn,mkt,Ie(_we)),Ee(t,Xn,ykt,Ie(Cwe)),Ee(t,Xn,xkt,Ie(Swe)),Ee(t,Xn,kkt,Ie(Twe)),Ee(t,Xn,kxt,Ie(nht)),Ee(t,Xn,WI,Ie(ZTt)),Ee(t,Xn,Hot,Ie(Xlt)),Ee(t,Xn,xxt,Ie(SS)),Ee(t,Xn,Txt,Ie(bu)),Ee(t,Xn,$ot,Ie(Ry)),Ee(t,Xn,$C,Ie(ES)),Ee(t,Xn,Sxt,Ie(By)),Ee(t,Xn,Mxt,Ie(PTt)),Ee(t,Xn,Kot,Ie(Vlt)),Ee(t,Xn,Qq,Ie(LO)),Ee(t,Xn,Wot,Ie(Glt)),Ee(t,Xn,vxt,Ie(JTt)),Ee(t,Xn,wxt,Ie(t_t)),Ee(t,Xn,Xq,Ie(WTt)),Ee(t,Xn,D4,Ie(sG)),Ee(t,Xn,Xot,Ie(Qlt)),Ee(t,Xn,bxt,Ie(Ylt)),Ee(t,Xn,Qot,Ie(n_t)),Ee(t,Xn,Dxt,Ie($Tt)),Ee(t,Xn,Ixt,Ie(Wlt)),Ee(t,Xn,lH,Ie(Hlt)),Ee(t,Xn,Yot,Ie(e_t)),Ee(t,Xn,$xt,Ie(XV)),Ee(t,Xn,zxt,Ie(DTt)),Ee(t,Xn,ect,Ie(YV)),Ee(t,Xn,eH,Ie(VTt)),Ee(t,Xn,nct,Ie(HTt)),Ee(t,Xn,rct,Ie(GTt)),Ee(t,Xn,mx,Ie(b9)),Ee(t,Xn,Ekt,Ie(zo)),Ee(t,Xn,Lot,Ie(Xg)),Ee(t,Xn,Tkt,Ie(Bd)),Ee(t,Xn,Uq,Ie(Ult)),Ee(t,Xn,Uot,Ie(NTt)),Ee(t,Xn,_kt,Ie(Qg)),Ee(t,Xn,Ckt,Ie(kS)),Ee(t,Xn,Skt,Ie(eG)),Ee(t,Xn,Akt,Ie(Pw)),Ee(t,Xn,dct,Ie(s_t)),Ee(t,Xn,gct,Ie(v9)),Ee(t,Xn,zot,Ie(YTt)),Ee(t,Xn,qot,Ie(XTt)),Ee(t,Xn,hH,Ie(Hy)),Ee(t,Xn,mxt,Ie(zlt)),Ee(t,Xn,Vot,Ie(QTt)),Ee(t,Xn,qxt,Ie(tG)),Ee(t,Xn,Hxt,Ie(JV)),Ee(t,Xn,Lkt,Ie(rG)),Ee(t,Xn,Got,Ie(KTt)),Ee(t,Xn,Zq,Ie(TS)),Ee(t,Xn,Mkt,Ie(IO)),Ee(t,Xn,pxt,Ie(FTt)),Ee(t,Xn,yxt,Ie(c_t)),Ee(t,Xn,tct,Ie(jTt)),Ee(t,Xn,_xt,Ie(Ewe)),Ee(t,Xn,Axt,Ie(xwe)),Ee(t,Xn,pct,Ie(UTt)),Ee(t,Xn,Cxt,Ie(nG)),Ee(t,Xn,Lxt,Ie(ZV)),Ee(t,Xn,cH,Ie(v2)),Ee(t,Xn,Gxt,Ie(OTt)),Ee(t,Xn,cct,Ie(QV)),Ee(t,Xn,uct,Ie(ITt)),Ee(t,Xn,Vxt,Ie(qlt)),Ee(t,Xn,oct,Ie(Fx)),Ee(t,Xn,Ext,Ie(qTt))}function C4(t,e){var n,r;return f5||(f5=new Br,O9=new Br,r=(Si(),Si(),new ql(4)),XD(r,`
+\r\r `),Fo(f5,cut,r),Fo(O9,cut,by(r)),r=new ql(4),XD(r,Y0e),Fo(f5,iS,r),Fo(O9,iS,by(r)),r=new ql(4),XD(r,Y0e),Fo(f5,iS,r),Fo(O9,iS,by(r)),r=new ql(4),XD(r,X0e),vy(r,u(Uc(f5,iS),117)),Fo(f5,out,r),Fo(O9,out,by(r)),r=new ql(4),XD(r,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Fo(f5,uut,r),Fo(O9,uut,by(r)),r=new ql(4),XD(r,X0e),Yc(r,95,95),Yc(r,58,58),Fo(f5,lut,r),Fo(O9,lut,by(r))),n=u(Uc(e?f5:O9,t),136),n}function j5n(t){Vr(t.a,oi,ct(ot(Le,1),re,2,6,[xi,"anySimpleType"])),Vr(t.b,oi,ct(ot(Le,1),re,2,6,[xi,"anyType",qh,eO])),Vr(u(At(Kt(t.b),0),34),oi,ct(ot(Le,1),re,2,6,[qh,nut,xi,":mixed"])),Vr(u(At(Kt(t.b),1),34),oi,ct(ot(Le,1),re,2,6,[qh,nut,P8t,iut,xi,":1",N0e,"lax"])),Vr(u(At(Kt(t.b),2),34),oi,ct(ot(Le,1),re,2,6,[qh,D0e,P8t,iut,xi,":2",N0e,"lax"])),Vr(t.c,oi,ct(ot(Le,1),re,2,6,[xi,"anyURI",Vh,s1])),Vr(t.d,oi,ct(ot(Le,1),re,2,6,[xi,"base64Binary",Vh,s1])),Vr(t.e,oi,ct(ot(Le,1),re,2,6,[xi,lx,Vh,s1])),Vr(t.f,oi,ct(ot(Le,1),re,2,6,[xi,"boolean:Object",Ha,lx])),Vr(t.g,oi,ct(ot(Le,1),re,2,6,[xi,QC])),Vr(t.i,oi,ct(ot(Le,1),re,2,6,[xi,"byte:Object",Ha,QC])),Vr(t.j,oi,ct(ot(Le,1),re,2,6,[xi,"date",Vh,s1])),Vr(t.k,oi,ct(ot(Le,1),re,2,6,[xi,"dateTime",Vh,s1])),Vr(t.n,oi,ct(ot(Le,1),re,2,6,[xi,"decimal",Vh,s1])),Vr(t.o,oi,ct(ot(Le,1),re,2,6,[xi,ZC,Vh,s1])),Vr(t.p,oi,ct(ot(Le,1),re,2,6,[xi,"double:Object",Ha,ZC])),Vr(t.q,oi,ct(ot(Le,1),re,2,6,[xi,"duration",Vh,s1])),Vr(t.s,oi,ct(ot(Le,1),re,2,6,[xi,"ENTITIES",Ha,F0e,N8t,"1"])),Vr(t.r,oi,ct(ot(Le,1),re,2,6,[xi,F0e,rut,F8t])),Vr(t.t,oi,ct(ot(Le,1),re,2,6,[xi,F8t,Ha,BH])),Vr(t.u,oi,ct(ot(Le,1),re,2,6,[xi,JC,Vh,s1])),Vr(t.v,oi,ct(ot(Le,1),re,2,6,[xi,"float:Object",Ha,JC])),Vr(t.w,oi,ct(ot(Le,1),re,2,6,[xi,"gDay",Vh,s1])),Vr(t.B,oi,ct(ot(Le,1),re,2,6,[xi,"gMonth",Vh,s1])),Vr(t.A,oi,ct(ot(Le,1),re,2,6,[xi,"gMonthDay",Vh,s1])),Vr(t.C,oi,ct(ot(Le,1),re,2,6,[xi,"gYear",Vh,s1])),Vr(t.D,oi,ct(ot(Le,1),re,2,6,[xi,"gYearMonth",Vh,s1])),Vr(t.F,oi,ct(ot(Le,1),re,2,6,[xi,"hexBinary",Vh,s1])),Vr(t.G,oi,ct(ot(Le,1),re,2,6,[xi,"ID",Ha,BH])),Vr(t.H,oi,ct(ot(Le,1),re,2,6,[xi,"IDREF",Ha,BH])),Vr(t.J,oi,ct(ot(Le,1),re,2,6,[xi,"IDREFS",Ha,B0e,N8t,"1"])),Vr(t.I,oi,ct(ot(Le,1),re,2,6,[xi,B0e,rut,"IDREF"])),Vr(t.K,oi,ct(ot(Le,1),re,2,6,[xi,tS])),Vr(t.M,oi,ct(ot(Le,1),re,2,6,[xi,B8t])),Vr(t.L,oi,ct(ot(Le,1),re,2,6,[xi,"int:Object",Ha,tS])),Vr(t.P,oi,ct(ot(Le,1),re,2,6,[xi,"language",Ha,sut,aut,R0e])),Vr(t.Q,oi,ct(ot(Le,1),re,2,6,[xi,eS])),Vr(t.R,oi,ct(ot(Le,1),re,2,6,[xi,"long:Object",Ha,eS])),Vr(t.S,oi,ct(ot(Le,1),re,2,6,[xi,"Name",Ha,sut,aut,R8t])),Vr(t.T,oi,ct(ot(Le,1),re,2,6,[xi,BH,Ha,"Name",aut,j0e])),Vr(t.U,oi,ct(ot(Le,1),re,2,6,[xi,"negativeInteger",Ha,$0e,aO,"-1"])),Vr(t.V,oi,ct(ot(Le,1),re,2,6,[xi,j8t,Ha,sut,aut,"\\c+"])),Vr(t.X,oi,ct(ot(Le,1),re,2,6,[xi,"NMTOKENS",Ha,z0e,N8t,"1"])),Vr(t.W,oi,ct(ot(Le,1),re,2,6,[xi,z0e,rut,j8t])),Vr(t.Y,oi,ct(ot(Le,1),re,2,6,[xi,$8t,Ha,B8t,oO,"0"])),Vr(t.Z,oi,ct(ot(Le,1),re,2,6,[xi,$0e,Ha,B8t,aO,"0"])),Vr(t.$,oi,ct(ot(Le,1),re,2,6,[xi,q0e,Ha,Oat,Vh,"replace"])),Vr(t._,oi,ct(ot(Le,1),re,2,6,[xi,"NOTATION",Vh,s1])),Vr(t.ab,oi,ct(ot(Le,1),re,2,6,[xi,"positiveInteger",Ha,$8t,oO,"1"])),Vr(t.bb,oi,ct(ot(Le,1),re,2,6,[xi,"processingInstruction_._type",qh,"empty"])),Vr(u(At(Kt(t.bb),0),34),oi,ct(ot(Le,1),re,2,6,[qh,OH,xi,"data"])),Vr(u(At(Kt(t.bb),1),34),oi,ct(ot(Le,1),re,2,6,[qh,OH,xi,y8t])),Vr(t.cb,oi,ct(ot(Le,1),re,2,6,[xi,"QName",Vh,s1])),Vr(t.db,oi,ct(ot(Le,1),re,2,6,[xi,nS])),Vr(t.eb,oi,ct(ot(Le,1),re,2,6,[xi,"short:Object",Ha,nS])),Vr(t.fb,oi,ct(ot(Le,1),re,2,6,[xi,"simpleAnyType",qh,nO])),Vr(u(At(Kt(t.fb),0),34),oi,ct(ot(Le,1),re,2,6,[xi,":3",qh,nO])),Vr(u(At(Kt(t.fb),1),34),oi,ct(ot(Le,1),re,2,6,[xi,":4",qh,nO])),Vr(u(At(Kt(t.fb),2),18),oi,ct(ot(Le,1),re,2,6,[xi,":5",qh,nO])),Vr(t.gb,oi,ct(ot(Le,1),re,2,6,[xi,Oat,Vh,"preserve"])),Vr(t.hb,oi,ct(ot(Le,1),re,2,6,[xi,"time",Vh,s1])),Vr(t.ib,oi,ct(ot(Le,1),re,2,6,[xi,sut,Ha,q0e,Vh,s1])),Vr(t.jb,oi,ct(ot(Le,1),re,2,6,[xi,H0e,aO,"255",oO,"0"])),Vr(t.kb,oi,ct(ot(Le,1),re,2,6,[xi,"unsignedByte:Object",Ha,H0e])),Vr(t.lb,oi,ct(ot(Le,1),re,2,6,[xi,V0e,aO,"4294967295",oO,"0"])),Vr(t.mb,oi,ct(ot(Le,1),re,2,6,[xi,"unsignedInt:Object",Ha,V0e])),Vr(t.nb,oi,ct(ot(Le,1),re,2,6,[xi,"unsignedLong",Ha,$8t,aO,G0e,oO,"0"])),Vr(t.ob,oi,ct(ot(Le,1),re,2,6,[xi,U0e,aO,"65535",oO,"0"])),Vr(t.pb,oi,ct(ot(Le,1),re,2,6,[xi,"unsignedShort:Object",Ha,U0e])),Vr(t.qb,oi,ct(ot(Le,1),re,2,6,[xi,"",qh,eO])),Vr(u(At(Kt(t.qb),0),34),oi,ct(ot(Le,1),re,2,6,[qh,nut,xi,":mixed"])),Vr(u(At(Kt(t.qb),1),18),oi,ct(ot(Le,1),re,2,6,[qh,OH,xi,"xmlns:prefix"])),Vr(u(At(Kt(t.qb),2),18),oi,ct(ot(Le,1),re,2,6,[qh,OH,xi,"xsi:schemaLocation"])),Vr(u(At(Kt(t.qb),3),34),oi,ct(ot(Le,1),re,2,6,[qh,PH,xi,"cDATA",NH,rO])),Vr(u(At(Kt(t.qb),4),34),oi,ct(ot(Le,1),re,2,6,[qh,PH,xi,"comment",NH,rO])),Vr(u(At(Kt(t.qb),5),18),oi,ct(ot(Le,1),re,2,6,[qh,PH,xi,W0e,NH,rO])),Vr(u(At(Kt(t.qb),6),34),oi,ct(ot(Le,1),re,2,6,[qh,PH,xi,Hct,NH,rO]))}function ei(t){return ln("_UI_EMFDiagnostic_marker",t)?"EMF Problem":ln("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":ln(Lde,t)?"Wrong character.":ln(Mde,t)?"Invalid reference number.":ln(TH,t)?"A character is required after \\.":ln(Xct,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":ln(Dde,t)?"'(?<' or '(?<!' is expected.":ln(Ide,t)?"A comment is not terminated.":ln(Mb,t)?"')' is expected.":ln(x8t,t)?"Unexpected end of the pattern in a modifier group.":ln(Ode,t)?"':' is expected.":ln(Pde,t)?"Unexpected end of the pattern in a conditional group.":ln(Nde,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":ln(Fde,t)?"There are more than three choices in a conditional group.":ln(Bde,t)?"A character in U+0040-U+005f must follow \\c.":ln(Rde,t)?"A '{' is required before a character category.":ln(jde,t)?"A property name is not closed by '}'.":ln(k8t,t)?"Unexpected meta character.":ln(Qct,t)?"Unknown property.":ln(E8t,t)?"A POSIX character class must be closed by ':]'.":ln(_H,t)?"Unexpected end of the pattern in a character class.":ln($de,t)?"Unknown name for a POSIX character class.":ln("parser.cc.4",t)?"'-' is invalid here.":ln(zde,t)?"']' is expected.":ln(T8t,t)?"'[' is invalid in a character class. Write '\\['.":ln(_8t,t)?"']' is invalid in a character class. Write '\\]'.":ln(Zct,t)?"'-' is an invalid character range. Write '\\-'.":ln(qde,t)?"'[' is expected.":ln(Hde,t)?"')' or '-[' or '+[' or '&[' is expected.":ln(Vde,t)?"The range end code point is less than the start code point.":ln(Kg,t)?"Invalid Unicode hex notation.":ln(Gde,t)?"Overflow in a hex notation.":ln(Ude,t)?"'\\x{' must be closed by '}'.":ln(Wde,t)?"Invalid Unicode code point.":ln(Kde,t)?"An anchor must not be here.":ln(kh,t)?"This expression is not supported in the current option setting.":ln(Yde,t)?"Invalid quantifier. A digit is expected.":ln(Xde,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":ln(Qde,t)?"Invalid quantifier. A digit or '}' is expected.":ln(Zde,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":ln(C8t,t)?"Invalid quantifier. A quantity value overflow.":ln("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":ln("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":ln("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":ln("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":ln("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":ln("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":ln("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":ln("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":ln("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":ln("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":ln("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":ln("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":ln("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":ln("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":ln("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":ln("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":ln("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":ln("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":ln("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":ln("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":ln("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":ln("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":ln("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":ln("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":ln("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":ln("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":ln("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":ln("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":ln("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":ln("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":ln("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function $5n(t){var e,n,r,s,o,h,d,w,k,_,M,B,q,G,W;t.r||(t.r=!0,su(t,"graph"),oz(t,"graph"),cz(t,G7),OD(t.o,"T"),Hr(qo(t.a),t.p),Hr(qo(t.f),t.a),Hr(qo(t.n),t.f),Hr(qo(t.g),t.n),Hr(qo(t.c),t.n),Hr(qo(t.i),t.c),Hr(qo(t.j),t.c),Hr(qo(t.d),t.f),Hr(qo(t.e),t.a),bc(t.p,n6n,Afe,!0,!0,!1),G=s4(t.p,t.p,"setProperty"),W=Bne(G),k=O0(t.o),_=(n=(r=new vv,r),n),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),M=nrt(W),f4t(_,M),Zz(G,k,h8t),k=nrt(W),Zz(G,k,YC),G=s4(t.p,null,"getProperty"),W=Bne(G),k=O0(t.o),_=nrt(W),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),Zz(G,k,h8t),k=nrt(W),q=z1(G,k,null),q&&q.Fi(),G=s4(t.p,t.wb.e,"hasProperty"),k=O0(t.o),_=(s=(o=new vv,o),s),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),Zz(G,k,h8t),G=s4(t.p,t.p,"copyProperties"),$o(G,t.p,jct),G=s4(t.p,null,"getAllProperties"),k=O0(t.wb.P),_=O0(t.o),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),M=(h=(d=new vv,d),h),Hr((!_.d&&(_.d=new qs(So,_,1)),_.d),M),_=O0(t.wb.M),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),B=z1(G,k,null),B&&B.Fi(),bc(t.a,I9,sde,!0,!1,!0),Yi(u(At(Kt(t.a),0),18),t.k,null,vde,0,-1,I9,!1,!1,!0,!0,!1,!1,!1),bc(t.f,cP,ode,!0,!1,!0),Yi(u(At(Kt(t.f),0),18),t.g,u(At(Kt(t.g),0),18),"labels",0,-1,cP,!1,!1,!0,!0,!1,!1,!1),_s(u(At(Kt(t.f),1),34),t.wb._,wde,null,0,1,cP,!1,!1,!0,!1,!0,!1),bc(t.n,uP,"ElkShape",!0,!1,!0),_s(u(At(Kt(t.n),0),34),t.wb.t,$ct,O7,1,1,uP,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.n),1),34),t.wb.t,zct,O7,1,1,uP,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.n),2),34),t.wb.t,"x",O7,1,1,uP,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.n),3),34),t.wb.t,"y",O7,1,1,uP,!1,!1,!0,!1,!0,!1),G=s4(t.n,null,"setDimensions"),$o(G,t.wb.t,zct),$o(G,t.wb.t,$ct),G=s4(t.n,null,"setLocation"),$o(G,t.wb.t,"x"),$o(G,t.wb.t,"y"),bc(t.g,nc,c8t,!1,!1,!0),Yi(u(At(Kt(t.g),0),18),t.f,u(At(Kt(t.f),0),18),qct,0,1,nc,!1,!1,!0,!1,!1,!1,!1),_s(u(At(Kt(t.g),1),34),t.wb._,Hct,"",0,1,nc,!1,!1,!0,!1,!0,!1),bc(t.c,Lr,cde,!0,!1,!0),Yi(u(At(Kt(t.c),0),18),t.d,u(At(Kt(t.d),1),18),"outgoingEdges",0,-1,Lr,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.c),1),18),t.d,u(At(Kt(t.d),2),18),"incomingEdges",0,-1,Lr,!1,!1,!0,!1,!0,!1,!1),bc(t.i,bs,u8t,!1,!1,!0),Yi(u(At(Kt(t.i),0),18),t.j,u(At(Kt(t.j),0),18),"ports",0,-1,bs,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.i),1),18),t.i,u(At(Kt(t.i),2),18),Vct,0,-1,bs,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.i),2),18),t.i,u(At(Kt(t.i),1),18),qct,0,1,bs,!1,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.i),3),18),t.d,u(At(Kt(t.d),0),18),"containedEdges",0,-1,bs,!1,!1,!0,!0,!1,!1,!1),_s(u(At(Kt(t.i),4),34),t.wb.e,mde,null,0,1,bs,!0,!0,!1,!1,!0,!0),bc(t.j,El,l8t,!1,!1,!0),Yi(u(At(Kt(t.j),0),18),t.i,u(At(Kt(t.i),0),18),qct,0,1,El,!1,!1,!0,!1,!1,!1,!1),bc(t.d,aa,o8t,!1,!1,!0),Yi(u(At(Kt(t.d),0),18),t.i,u(At(Kt(t.i),3),18),"containingNode",0,1,aa,!1,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.d),1),18),t.c,u(At(Kt(t.c),0),18),f8t,0,-1,aa,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.d),2),18),t.c,u(At(Kt(t.c),1),18),Gct,0,-1,aa,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.d),3),18),t.e,u(At(Kt(t.e),5),18),d8t,0,-1,aa,!1,!1,!0,!0,!1,!1,!1),_s(u(At(Kt(t.d),4),34),t.wb.e,"hyperedge",null,0,1,aa,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.d),5),34),t.wb.e,mde,null,0,1,aa,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.d),6),34),t.wb.e,"selfloop",null,0,1,aa,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.d),7),34),t.wb.e,"connected",null,0,1,aa,!0,!0,!1,!1,!0,!0),bc(t.b,Qh,ade,!1,!1,!0),_s(u(At(Kt(t.b),0),34),t.wb.t,"x",O7,1,1,Qh,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.b),1),34),t.wb.t,"y",O7,1,1,Qh,!1,!1,!0,!1,!0,!1),G=s4(t.b,null,"set"),$o(G,t.wb.t,"x"),$o(G,t.wb.t,"y"),bc(t.e,fs,ude,!1,!1,!0),_s(u(At(Kt(t.e),0),34),t.wb.t,"startX",null,0,1,fs,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.e),1),34),t.wb.t,"startY",null,0,1,fs,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.e),2),34),t.wb.t,"endX",null,0,1,fs,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.e),3),34),t.wb.t,"endY",null,0,1,fs,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.e),4),18),t.b,null,yH,0,-1,fs,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.e),5),18),t.d,u(At(Kt(t.d),3),18),qct,0,1,fs,!1,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.e),6),18),t.c,null,g8t,0,1,fs,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.e),7),18),t.c,null,p8t,0,1,fs,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.e),8),18),t.e,u(At(Kt(t.e),9),18),b8t,0,-1,fs,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.e),9),18),t.e,u(At(Kt(t.e),8),18),v8t,0,-1,fs,!1,!1,!0,!1,!0,!1,!1),_s(u(At(Kt(t.e),10),34),t.wb._,wde,null,0,1,fs,!1,!1,!0,!1,!0,!1),G=s4(t.e,null,"setStartLocation"),$o(G,t.wb.t,"x"),$o(G,t.wb.t,"y"),G=s4(t.e,null,"setEndLocation"),$o(G,t.wb.t,"x"),$o(G,t.wb.t,"y"),bc(t.k,Ib,"ElkPropertyToValueMapEntry",!1,!1,!1),k=O0(t.o),_=(w=(e=new vv,e),w),Hr((!k.d&&(k.d=new qs(So,k,1)),k.d),_),Boe(u(At(Kt(t.k),0),34),k,"key",Ib,!1,!1,!0,!1),_s(u(At(Kt(t.k),1),34),t.s,YC,null,0,1,Ib,!1,!1,!0,!1,!0,!1),mi(t.o,Qht,"IProperty",!0),mi(t.s,ir,"PropertyValue",!0),jyt(t,G7))}function Fhe(){Fhe=X,wt=Pt(tl,N4,25,co,15,1),wt[9]=35,wt[10]=19,wt[13]=19,wt[32]=51,wt[33]=49,wt[34]=33,zt(wt,35,38,49),wt[38]=1,zt(wt,39,45,49),zt(wt,45,47,-71),wt[47]=49,zt(wt,48,58,-71),wt[58]=61,wt[59]=49,wt[60]=1,wt[61]=49,wt[62]=33,zt(wt,63,65,49),zt(wt,65,91,-3),zt(wt,91,93,33),wt[93]=1,wt[94]=33,wt[95]=-3,wt[96]=33,zt(wt,97,123,-3),zt(wt,123,183,33),wt[183]=-87,zt(wt,184,192,33),zt(wt,192,215,-19),wt[215]=33,zt(wt,216,247,-19),wt[247]=33,zt(wt,248,306,-19),zt(wt,306,308,33),zt(wt,308,319,-19),zt(wt,319,321,33),zt(wt,321,329,-19),wt[329]=33,zt(wt,330,383,-19),wt[383]=33,zt(wt,384,452,-19),zt(wt,452,461,33),zt(wt,461,497,-19),zt(wt,497,500,33),zt(wt,500,502,-19),zt(wt,502,506,33),zt(wt,506,536,-19),zt(wt,536,592,33),zt(wt,592,681,-19),zt(wt,681,699,33),zt(wt,699,706,-19),zt(wt,706,720,33),zt(wt,720,722,-87),zt(wt,722,768,33),zt(wt,768,838,-87),zt(wt,838,864,33),zt(wt,864,866,-87),zt(wt,866,902,33),wt[902]=-19,wt[903]=-87,zt(wt,904,907,-19),wt[907]=33,wt[908]=-19,wt[909]=33,zt(wt,910,930,-19),wt[930]=33,zt(wt,931,975,-19),wt[975]=33,zt(wt,976,983,-19),zt(wt,983,986,33),wt[986]=-19,wt[987]=33,wt[988]=-19,wt[989]=33,wt[990]=-19,wt[991]=33,wt[992]=-19,wt[993]=33,zt(wt,994,1012,-19),zt(wt,1012,1025,33),zt(wt,1025,1037,-19),wt[1037]=33,zt(wt,1038,1104,-19),wt[1104]=33,zt(wt,1105,1117,-19),wt[1117]=33,zt(wt,1118,1154,-19),wt[1154]=33,zt(wt,1155,1159,-87),zt(wt,1159,1168,33),zt(wt,1168,1221,-19),zt(wt,1221,1223,33),zt(wt,1223,1225,-19),zt(wt,1225,1227,33),zt(wt,1227,1229,-19),zt(wt,1229,1232,33),zt(wt,1232,1260,-19),zt(wt,1260,1262,33),zt(wt,1262,1270,-19),zt(wt,1270,1272,33),zt(wt,1272,1274,-19),zt(wt,1274,1329,33),zt(wt,1329,1367,-19),zt(wt,1367,1369,33),wt[1369]=-19,zt(wt,1370,1377,33),zt(wt,1377,1415,-19),zt(wt,1415,1425,33),zt(wt,1425,1442,-87),wt[1442]=33,zt(wt,1443,1466,-87),wt[1466]=33,zt(wt,1467,1470,-87),wt[1470]=33,wt[1471]=-87,wt[1472]=33,zt(wt,1473,1475,-87),wt[1475]=33,wt[1476]=-87,zt(wt,1477,1488,33),zt(wt,1488,1515,-19),zt(wt,1515,1520,33),zt(wt,1520,1523,-19),zt(wt,1523,1569,33),zt(wt,1569,1595,-19),zt(wt,1595,1600,33),wt[1600]=-87,zt(wt,1601,1611,-19),zt(wt,1611,1619,-87),zt(wt,1619,1632,33),zt(wt,1632,1642,-87),zt(wt,1642,1648,33),wt[1648]=-87,zt(wt,1649,1720,-19),zt(wt,1720,1722,33),zt(wt,1722,1727,-19),wt[1727]=33,zt(wt,1728,1743,-19),wt[1743]=33,zt(wt,1744,1748,-19),wt[1748]=33,wt[1749]=-19,zt(wt,1750,1765,-87),zt(wt,1765,1767,-19),zt(wt,1767,1769,-87),wt[1769]=33,zt(wt,1770,1774,-87),zt(wt,1774,1776,33),zt(wt,1776,1786,-87),zt(wt,1786,2305,33),zt(wt,2305,2308,-87),wt[2308]=33,zt(wt,2309,2362,-19),zt(wt,2362,2364,33),wt[2364]=-87,wt[2365]=-19,zt(wt,2366,2382,-87),zt(wt,2382,2385,33),zt(wt,2385,2389,-87),zt(wt,2389,2392,33),zt(wt,2392,2402,-19),zt(wt,2402,2404,-87),zt(wt,2404,2406,33),zt(wt,2406,2416,-87),zt(wt,2416,2433,33),zt(wt,2433,2436,-87),wt[2436]=33,zt(wt,2437,2445,-19),zt(wt,2445,2447,33),zt(wt,2447,2449,-19),zt(wt,2449,2451,33),zt(wt,2451,2473,-19),wt[2473]=33,zt(wt,2474,2481,-19),wt[2481]=33,wt[2482]=-19,zt(wt,2483,2486,33),zt(wt,2486,2490,-19),zt(wt,2490,2492,33),wt[2492]=-87,wt[2493]=33,zt(wt,2494,2501,-87),zt(wt,2501,2503,33),zt(wt,2503,2505,-87),zt(wt,2505,2507,33),zt(wt,2507,2510,-87),zt(wt,2510,2519,33),wt[2519]=-87,zt(wt,2520,2524,33),zt(wt,2524,2526,-19),wt[2526]=33,zt(wt,2527,2530,-19),zt(wt,2530,2532,-87),zt(wt,2532,2534,33),zt(wt,2534,2544,-87),zt(wt,2544,2546,-19),zt(wt,2546,2562,33),wt[2562]=-87,zt(wt,2563,2565,33),zt(wt,2565,2571,-19),zt(wt,2571,2575,33),zt(wt,2575,2577,-19),zt(wt,2577,2579,33),zt(wt,2579,2601,-19),wt[2601]=33,zt(wt,2602,2609,-19),wt[2609]=33,zt(wt,2610,2612,-19),wt[2612]=33,zt(wt,2613,2615,-19),wt[2615]=33,zt(wt,2616,2618,-19),zt(wt,2618,2620,33),wt[2620]=-87,wt[2621]=33,zt(wt,2622,2627,-87),zt(wt,2627,2631,33),zt(wt,2631,2633,-87),zt(wt,2633,2635,33),zt(wt,2635,2638,-87),zt(wt,2638,2649,33),zt(wt,2649,2653,-19),wt[2653]=33,wt[2654]=-19,zt(wt,2655,2662,33),zt(wt,2662,2674,-87),zt(wt,2674,2677,-19),zt(wt,2677,2689,33),zt(wt,2689,2692,-87),wt[2692]=33,zt(wt,2693,2700,-19),wt[2700]=33,wt[2701]=-19,wt[2702]=33,zt(wt,2703,2706,-19),wt[2706]=33,zt(wt,2707,2729,-19),wt[2729]=33,zt(wt,2730,2737,-19),wt[2737]=33,zt(wt,2738,2740,-19),wt[2740]=33,zt(wt,2741,2746,-19),zt(wt,2746,2748,33),wt[2748]=-87,wt[2749]=-19,zt(wt,2750,2758,-87),wt[2758]=33,zt(wt,2759,2762,-87),wt[2762]=33,zt(wt,2763,2766,-87),zt(wt,2766,2784,33),wt[2784]=-19,zt(wt,2785,2790,33),zt(wt,2790,2800,-87),zt(wt,2800,2817,33),zt(wt,2817,2820,-87),wt[2820]=33,zt(wt,2821,2829,-19),zt(wt,2829,2831,33),zt(wt,2831,2833,-19),zt(wt,2833,2835,33),zt(wt,2835,2857,-19),wt[2857]=33,zt(wt,2858,2865,-19),wt[2865]=33,zt(wt,2866,2868,-19),zt(wt,2868,2870,33),zt(wt,2870,2874,-19),zt(wt,2874,2876,33),wt[2876]=-87,wt[2877]=-19,zt(wt,2878,2884,-87),zt(wt,2884,2887,33),zt(wt,2887,2889,-87),zt(wt,2889,2891,33),zt(wt,2891,2894,-87),zt(wt,2894,2902,33),zt(wt,2902,2904,-87),zt(wt,2904,2908,33),zt(wt,2908,2910,-19),wt[2910]=33,zt(wt,2911,2914,-19),zt(wt,2914,2918,33),zt(wt,2918,2928,-87),zt(wt,2928,2946,33),zt(wt,2946,2948,-87),wt[2948]=33,zt(wt,2949,2955,-19),zt(wt,2955,2958,33),zt(wt,2958,2961,-19),wt[2961]=33,zt(wt,2962,2966,-19),zt(wt,2966,2969,33),zt(wt,2969,2971,-19),wt[2971]=33,wt[2972]=-19,wt[2973]=33,zt(wt,2974,2976,-19),zt(wt,2976,2979,33),zt(wt,2979,2981,-19),zt(wt,2981,2984,33),zt(wt,2984,2987,-19),zt(wt,2987,2990,33),zt(wt,2990,2998,-19),wt[2998]=33,zt(wt,2999,3002,-19),zt(wt,3002,3006,33),zt(wt,3006,3011,-87),zt(wt,3011,3014,33),zt(wt,3014,3017,-87),wt[3017]=33,zt(wt,3018,3022,-87),zt(wt,3022,3031,33),wt[3031]=-87,zt(wt,3032,3047,33),zt(wt,3047,3056,-87),zt(wt,3056,3073,33),zt(wt,3073,3076,-87),wt[3076]=33,zt(wt,3077,3085,-19),wt[3085]=33,zt(wt,3086,3089,-19),wt[3089]=33,zt(wt,3090,3113,-19),wt[3113]=33,zt(wt,3114,3124,-19),wt[3124]=33,zt(wt,3125,3130,-19),zt(wt,3130,3134,33),zt(wt,3134,3141,-87),wt[3141]=33,zt(wt,3142,3145,-87),wt[3145]=33,zt(wt,3146,3150,-87),zt(wt,3150,3157,33),zt(wt,3157,3159,-87),zt(wt,3159,3168,33),zt(wt,3168,3170,-19),zt(wt,3170,3174,33),zt(wt,3174,3184,-87),zt(wt,3184,3202,33),zt(wt,3202,3204,-87),wt[3204]=33,zt(wt,3205,3213,-19),wt[3213]=33,zt(wt,3214,3217,-19),wt[3217]=33,zt(wt,3218,3241,-19),wt[3241]=33,zt(wt,3242,3252,-19),wt[3252]=33,zt(wt,3253,3258,-19),zt(wt,3258,3262,33),zt(wt,3262,3269,-87),wt[3269]=33,zt(wt,3270,3273,-87),wt[3273]=33,zt(wt,3274,3278,-87),zt(wt,3278,3285,33),zt(wt,3285,3287,-87),zt(wt,3287,3294,33),wt[3294]=-19,wt[3295]=33,zt(wt,3296,3298,-19),zt(wt,3298,3302,33),zt(wt,3302,3312,-87),zt(wt,3312,3330,33),zt(wt,3330,3332,-87),wt[3332]=33,zt(wt,3333,3341,-19),wt[3341]=33,zt(wt,3342,3345,-19),wt[3345]=33,zt(wt,3346,3369,-19),wt[3369]=33,zt(wt,3370,3386,-19),zt(wt,3386,3390,33),zt(wt,3390,3396,-87),zt(wt,3396,3398,33),zt(wt,3398,3401,-87),wt[3401]=33,zt(wt,3402,3406,-87),zt(wt,3406,3415,33),wt[3415]=-87,zt(wt,3416,3424,33),zt(wt,3424,3426,-19),zt(wt,3426,3430,33),zt(wt,3430,3440,-87),zt(wt,3440,3585,33),zt(wt,3585,3631,-19),wt[3631]=33,wt[3632]=-19,wt[3633]=-87,zt(wt,3634,3636,-19),zt(wt,3636,3643,-87),zt(wt,3643,3648,33),zt(wt,3648,3654,-19),zt(wt,3654,3663,-87),wt[3663]=33,zt(wt,3664,3674,-87),zt(wt,3674,3713,33),zt(wt,3713,3715,-19),wt[3715]=33,wt[3716]=-19,zt(wt,3717,3719,33),zt(wt,3719,3721,-19),wt[3721]=33,wt[3722]=-19,zt(wt,3723,3725,33),wt[3725]=-19,zt(wt,3726,3732,33),zt(wt,3732,3736,-19),wt[3736]=33,zt(wt,3737,3744,-19),wt[3744]=33,zt(wt,3745,3748,-19),wt[3748]=33,wt[3749]=-19,wt[3750]=33,wt[3751]=-19,zt(wt,3752,3754,33),zt(wt,3754,3756,-19),wt[3756]=33,zt(wt,3757,3759,-19),wt[3759]=33,wt[3760]=-19,wt[3761]=-87,zt(wt,3762,3764,-19),zt(wt,3764,3770,-87),wt[3770]=33,zt(wt,3771,3773,-87),wt[3773]=-19,zt(wt,3774,3776,33),zt(wt,3776,3781,-19),wt[3781]=33,wt[3782]=-87,wt[3783]=33,zt(wt,3784,3790,-87),zt(wt,3790,3792,33),zt(wt,3792,3802,-87),zt(wt,3802,3864,33),zt(wt,3864,3866,-87),zt(wt,3866,3872,33),zt(wt,3872,3882,-87),zt(wt,3882,3893,33),wt[3893]=-87,wt[3894]=33,wt[3895]=-87,wt[3896]=33,wt[3897]=-87,zt(wt,3898,3902,33),zt(wt,3902,3904,-87),zt(wt,3904,3912,-19),wt[3912]=33,zt(wt,3913,3946,-19),zt(wt,3946,3953,33),zt(wt,3953,3973,-87),wt[3973]=33,zt(wt,3974,3980,-87),zt(wt,3980,3984,33),zt(wt,3984,3990,-87),wt[3990]=33,wt[3991]=-87,wt[3992]=33,zt(wt,3993,4014,-87),zt(wt,4014,4017,33),zt(wt,4017,4024,-87),wt[4024]=33,wt[4025]=-87,zt(wt,4026,4256,33),zt(wt,4256,4294,-19),zt(wt,4294,4304,33),zt(wt,4304,4343,-19),zt(wt,4343,4352,33),wt[4352]=-19,wt[4353]=33,zt(wt,4354,4356,-19),wt[4356]=33,zt(wt,4357,4360,-19),wt[4360]=33,wt[4361]=-19,wt[4362]=33,zt(wt,4363,4365,-19),wt[4365]=33,zt(wt,4366,4371,-19),zt(wt,4371,4412,33),wt[4412]=-19,wt[4413]=33,wt[4414]=-19,wt[4415]=33,wt[4416]=-19,zt(wt,4417,4428,33),wt[4428]=-19,wt[4429]=33,wt[4430]=-19,wt[4431]=33,wt[4432]=-19,zt(wt,4433,4436,33),zt(wt,4436,4438,-19),zt(wt,4438,4441,33),wt[4441]=-19,zt(wt,4442,4447,33),zt(wt,4447,4450,-19),wt[4450]=33,wt[4451]=-19,wt[4452]=33,wt[4453]=-19,wt[4454]=33,wt[4455]=-19,wt[4456]=33,wt[4457]=-19,zt(wt,4458,4461,33),zt(wt,4461,4463,-19),zt(wt,4463,4466,33),zt(wt,4466,4468,-19),wt[4468]=33,wt[4469]=-19,zt(wt,4470,4510,33),wt[4510]=-19,zt(wt,4511,4520,33),wt[4520]=-19,zt(wt,4521,4523,33),wt[4523]=-19,zt(wt,4524,4526,33),zt(wt,4526,4528,-19),zt(wt,4528,4535,33),zt(wt,4535,4537,-19),wt[4537]=33,wt[4538]=-19,wt[4539]=33,zt(wt,4540,4547,-19),zt(wt,4547,4587,33),wt[4587]=-19,zt(wt,4588,4592,33),wt[4592]=-19,zt(wt,4593,4601,33),wt[4601]=-19,zt(wt,4602,7680,33),zt(wt,7680,7836,-19),zt(wt,7836,7840,33),zt(wt,7840,7930,-19),zt(wt,7930,7936,33),zt(wt,7936,7958,-19),zt(wt,7958,7960,33),zt(wt,7960,7966,-19),zt(wt,7966,7968,33),zt(wt,7968,8006,-19),zt(wt,8006,8008,33),zt(wt,8008,8014,-19),zt(wt,8014,8016,33),zt(wt,8016,8024,-19),wt[8024]=33,wt[8025]=-19,wt[8026]=33,wt[8027]=-19,wt[8028]=33,wt[8029]=-19,wt[8030]=33,zt(wt,8031,8062,-19),zt(wt,8062,8064,33),zt(wt,8064,8117,-19),wt[8117]=33,zt(wt,8118,8125,-19),wt[8125]=33,wt[8126]=-19,zt(wt,8127,8130,33),zt(wt,8130,8133,-19),wt[8133]=33,zt(wt,8134,8141,-19),zt(wt,8141,8144,33),zt(wt,8144,8148,-19),zt(wt,8148,8150,33),zt(wt,8150,8156,-19),zt(wt,8156,8160,33),zt(wt,8160,8173,-19),zt(wt,8173,8178,33),zt(wt,8178,8181,-19),wt[8181]=33,zt(wt,8182,8189,-19),zt(wt,8189,8400,33),zt(wt,8400,8413,-87),zt(wt,8413,8417,33),wt[8417]=-87,zt(wt,8418,8486,33),wt[8486]=-19,zt(wt,8487,8490,33),zt(wt,8490,8492,-19),zt(wt,8492,8494,33),wt[8494]=-19,zt(wt,8495,8576,33),zt(wt,8576,8579,-19),zt(wt,8579,12293,33),wt[12293]=-87,wt[12294]=33,wt[12295]=-19,zt(wt,12296,12321,33),zt(wt,12321,12330,-19),zt(wt,12330,12336,-87),wt[12336]=33,zt(wt,12337,12342,-87),zt(wt,12342,12353,33),zt(wt,12353,12437,-19),zt(wt,12437,12441,33),zt(wt,12441,12443,-87),zt(wt,12443,12445,33),zt(wt,12445,12447,-87),zt(wt,12447,12449,33),zt(wt,12449,12539,-19),wt[12539]=33,zt(wt,12540,12543,-87),zt(wt,12543,12549,33),zt(wt,12549,12589,-19),zt(wt,12589,19968,33),zt(wt,19968,40870,-19),zt(wt,40870,44032,33),zt(wt,44032,55204,-19),zt(wt,55204,FI,33),zt(wt,57344,65534,33)}function z5n(t){var e,n,r,s,o,h,d;t.hb||(t.hb=!0,su(t,"ecore"),oz(t,"ecore"),cz(t,Hh),OD(t.fb,"E"),OD(t.L,"T"),OD(t.P,"K"),OD(t.P,"V"),OD(t.cb,"E"),Hr(qo(t.b),t.bb),Hr(qo(t.a),t.Q),Hr(qo(t.o),t.p),Hr(qo(t.p),t.R),Hr(qo(t.q),t.p),Hr(qo(t.v),t.q),Hr(qo(t.w),t.R),Hr(qo(t.B),t.Q),Hr(qo(t.R),t.Q),Hr(qo(t.T),t.eb),Hr(qo(t.U),t.R),Hr(qo(t.V),t.eb),Hr(qo(t.W),t.bb),Hr(qo(t.bb),t.eb),Hr(qo(t.eb),t.R),Hr(qo(t.db),t.R),bc(t.b,Zy,c0e,!1,!1,!0),_s(u(At(Kt(t.b),0),34),t.e,"iD",null,0,1,Zy,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.b),1),18),t.q,null,"eAttributeType",1,1,Zy,!0,!0,!1,!1,!0,!1,!0),bc(t.a,hi,s0e,!1,!1,!0),_s(u(At(Kt(t.a),0),34),t._,jct,null,0,1,hi,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.a),1),18),t.ab,null,"details",0,-1,hi,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.a),2),18),t.Q,u(At(Kt(t.Q),0),18),"eModelElement",0,1,hi,!0,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.a),3),18),t.S,null,"contents",0,-1,hi,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.a),4),18),t.S,null,"references",0,-1,hi,!1,!1,!0,!1,!0,!1,!1),bc(t.o,Zh,"EClass",!1,!1,!0),_s(u(At(Kt(t.o),0),34),t.e,"abstract",null,0,1,Zh,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.o),1),34),t.e,"interface",null,0,1,Zh,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.o),2),18),t.o,null,"eSuperTypes",0,-1,Zh,!1,!1,!0,!1,!0,!0,!1),Yi(u(At(Kt(t.o),3),18),t.T,u(At(Kt(t.T),0),18),"eOperations",0,-1,Zh,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.o),4),18),t.b,null,"eAllAttributes",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),5),18),t.W,null,"eAllReferences",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),6),18),t.W,null,"eReferences",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),7),18),t.b,null,"eAttributes",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),8),18),t.W,null,"eAllContainments",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),9),18),t.T,null,"eAllOperations",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.o),12),18),t.b,null,"eIDAttribute",0,1,Zh,!0,!0,!1,!1,!1,!1,!0),Yi(u(At(Kt(t.o),13),18),t.bb,u(At(Kt(t.bb),7),18),"eStructuralFeatures",0,-1,Zh,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,Zh,!1,!1,!0,!0,!1,!0,!1),Yi(u(At(Kt(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,Zh,!0,!0,!1,!1,!0,!1,!0),d=Mo(u(At(zi(t.o),0),59),t.e,"isSuperTypeOf"),$o(d,t.o,"someClass"),Mo(u(At(zi(t.o),1),59),t.I,"getFeatureCount"),d=Mo(u(At(zi(t.o),2),59),t.bb,y0e),$o(d,t.I,"featureID"),d=Mo(u(At(zi(t.o),3),59),t.I,x0e),$o(d,t.bb,rS),d=Mo(u(At(zi(t.o),4),59),t.bb,y0e),$o(d,t._,"featureName"),Mo(u(At(zi(t.o),5),59),t.I,"getOperationCount"),d=Mo(u(At(zi(t.o),6),59),t.T,"getEOperation"),$o(d,t.I,"operationID"),d=Mo(u(At(zi(t.o),7),59),t.I,k0e),$o(d,t.T,I8t),d=Mo(u(At(zi(t.o),8),59),t.T,"getOverride"),$o(d,t.T,I8t),d=Mo(u(At(zi(t.o),9),59),t.H,"getFeatureType"),$o(d,t.bb,rS),bc(t.p,u1,u0e,!0,!1,!0),_s(u(At(Kt(t.p),0),34),t._,"instanceClassName",null,0,1,u1,!1,!0,!0,!0,!0,!1),e=O0(t.L),n=Vwt(),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),Boe(u(At(Kt(t.p),1),34),e,"instanceClass",u1,!0,!0,!1,!0),_s(u(At(Kt(t.p),2),34),t.M,E0e,null,0,1,u1,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.p),3),34),t._,"instanceTypeName",null,0,1,u1,!1,!0,!0,!0,!0,!1),Yi(u(At(Kt(t.p),4),18),t.U,u(At(Kt(t.U),3),18),"ePackage",0,1,u1,!0,!1,!1,!1,!0,!1,!1),Yi(u(At(Kt(t.p),5),18),t.db,null,T0e,0,-1,u1,!1,!1,!0,!0,!0,!1,!1),d=Mo(u(At(zi(t.p),0),59),t.e,_0e),$o(d,t.M,AI),Mo(u(At(zi(t.p),1),59),t.I,"getClassifierID"),bc(t.q,_ft,"EDataType",!1,!1,!0),_s(u(At(Kt(t.q),0),34),t.e,"serializable",H7,0,1,_ft,!1,!1,!0,!1,!0,!1),bc(t.v,aU,"EEnum",!1,!1,!0),Yi(u(At(Kt(t.v),0),18),t.w,u(At(Kt(t.w),3),18),"eLiterals",0,-1,aU,!1,!1,!0,!0,!1,!1,!1),d=Mo(u(At(zi(t.v),0),59),t.w,C0e),$o(d,t._,xi),d=Mo(u(At(zi(t.v),1),59),t.w,C0e),$o(d,t.I,YC),d=Mo(u(At(zi(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),$o(d,t._,"literal"),bc(t.w,rg,l0e,!1,!1,!0),_s(u(At(Kt(t.w),0),34),t.I,YC,null,0,1,rg,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.w),1),34),t.A,"instance",null,0,1,rg,!0,!1,!0,!1,!0,!1),_s(u(At(Kt(t.w),2),34),t._,"literal",null,0,1,rg,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.w),3),18),t.v,u(At(Kt(t.v),0),18),"eEnum",0,1,rg,!0,!1,!1,!1,!1,!1,!1),bc(t.B,nA,"EFactory",!1,!1,!0),Yi(u(At(Kt(t.B),0),18),t.U,u(At(Kt(t.U),2),18),"ePackage",1,1,nA,!0,!1,!0,!1,!1,!1,!1),d=Mo(u(At(zi(t.B),0),59),t.S,"create"),$o(d,t.o,"eClass"),d=Mo(u(At(zi(t.B),1),59),t.M,"createFromString"),$o(d,t.q,"eDataType"),$o(d,t._,"literalValue"),d=Mo(u(At(zi(t.B),2),59),t._,"convertToString"),$o(d,t.q,"eDataType"),$o(d,t.M,"instanceValue"),bc(t.Q,lP,lde,!0,!1,!0),Yi(u(At(Kt(t.Q),0),18),t.a,u(At(Kt(t.a),2),18),"eAnnotations",0,-1,lP,!1,!1,!0,!0,!1,!1,!1),d=Mo(u(At(zi(t.Q),0),59),t.a,"getEAnnotation"),$o(d,t._,jct),bc(t.R,mft,hde,!0,!1,!0),_s(u(At(Kt(t.R),0),34),t._,xi,null,0,1,mft,!1,!1,!0,!1,!0,!1),bc(t.S,C2,"EObject",!1,!1,!0),Mo(u(At(zi(t.S),0),59),t.o,"eClass"),Mo(u(At(zi(t.S),1),59),t.e,"eIsProxy"),Mo(u(At(zi(t.S),2),59),t.X,"eResource"),Mo(u(At(zi(t.S),3),59),t.S,"eContainer"),Mo(u(At(zi(t.S),4),59),t.bb,"eContainingFeature"),Mo(u(At(zi(t.S),5),59),t.W,"eContainmentFeature"),d=Mo(u(At(zi(t.S),6),59),null,"eContents"),e=O0(t.fb),n=O0(t.S),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),s=z1(d,e,null),s&&s.Fi(),d=Mo(u(At(zi(t.S),7),59),null,"eAllContents"),e=O0(t.cb),n=O0(t.S),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),o=z1(d,e,null),o&&o.Fi(),d=Mo(u(At(zi(t.S),8),59),null,"eCrossReferences"),e=O0(t.fb),n=O0(t.S),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),h=z1(d,e,null),h&&h.Fi(),d=Mo(u(At(zi(t.S),9),59),t.M,"eGet"),$o(d,t.bb,rS),d=Mo(u(At(zi(t.S),10),59),t.M,"eGet"),$o(d,t.bb,rS),$o(d,t.e,"resolve"),d=Mo(u(At(zi(t.S),11),59),null,"eSet"),$o(d,t.bb,rS),$o(d,t.M,"newValue"),d=Mo(u(At(zi(t.S),12),59),t.e,"eIsSet"),$o(d,t.bb,rS),d=Mo(u(At(zi(t.S),13),59),null,"eUnset"),$o(d,t.bb,rS),d=Mo(u(At(zi(t.S),14),59),t.M,"eInvoke"),$o(d,t.T,I8t),e=O0(t.fb),n=Vwt(),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),Zz(d,e,"arguments"),$en(d,t.K),bc(t.T,Jh,f0e,!1,!1,!0),Yi(u(At(Kt(t.T),0),18),t.o,u(At(Kt(t.o),3),18),S0e,0,1,Jh,!0,!1,!1,!1,!1,!1,!1),Yi(u(At(Kt(t.T),1),18),t.db,null,T0e,0,-1,Jh,!1,!1,!0,!0,!0,!1,!1),Yi(u(At(Kt(t.T),2),18),t.V,u(At(Kt(t.V),0),18),"eParameters",0,-1,Jh,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.T),3),18),t.p,null,"eExceptions",0,-1,Jh,!1,!1,!0,!1,!0,!0,!1),Yi(u(At(Kt(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,Jh,!1,!1,!0,!0,!1,!0,!1),Mo(u(At(zi(t.T),0),59),t.I,k0e),d=Mo(u(At(zi(t.T),1),59),t.e,"isOverrideOf"),$o(d,t.T,"someOperation"),bc(t.U,c1,"EPackage",!1,!1,!0),_s(u(At(Kt(t.U),0),34),t._,"nsURI",null,0,1,c1,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.U),1),34),t._,"nsPrefix",null,0,1,c1,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.U),2),18),t.B,u(At(Kt(t.B),0),18),"eFactoryInstance",1,1,c1,!0,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.U),3),18),t.p,u(At(Kt(t.p),4),18),"eClassifiers",0,-1,c1,!1,!1,!0,!0,!0,!1,!1),Yi(u(At(Kt(t.U),4),18),t.U,u(At(Kt(t.U),5),18),"eSubpackages",0,-1,c1,!1,!1,!0,!0,!0,!1,!1),Yi(u(At(Kt(t.U),5),18),t.U,u(At(Kt(t.U),4),18),"eSuperPackage",0,1,c1,!0,!1,!1,!1,!0,!1,!1),d=Mo(u(At(zi(t.U),0),59),t.p,"getEClassifier"),$o(d,t._,xi),bc(t.V,$w,d0e,!1,!1,!0),Yi(u(At(Kt(t.V),0),18),t.T,u(At(Kt(t.T),2),18),"eOperation",0,1,$w,!0,!1,!1,!1,!1,!1,!1),bc(t.W,Jy,g0e,!1,!1,!0),_s(u(At(Kt(t.W),0),34),t.e,"containment",null,0,1,Jy,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.W),1),34),t.e,"container",null,0,1,Jy,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.W),2),34),t.e,"resolveProxies",H7,0,1,Jy,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.W),3),18),t.W,null,"eOpposite",0,1,Jy,!1,!1,!0,!1,!0,!1,!1),Yi(u(At(Kt(t.W),4),18),t.o,null,"eReferenceType",1,1,Jy,!0,!0,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.W),5),18),t.b,null,"eKeys",0,-1,Jy,!1,!1,!0,!1,!0,!1,!1),bc(t.bb,ju,o0e,!0,!1,!0),_s(u(At(Kt(t.bb),0),34),t.e,"changeable",H7,0,1,ju,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),1),34),t.e,"volatile",null,0,1,ju,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),2),34),t.e,"transient",null,0,1,ju,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,ju,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),4),34),t.M,E0e,null,0,1,ju,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.bb),5),34),t.e,"unsettable",null,0,1,ju,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.bb),6),34),t.e,"derived",null,0,1,ju,!1,!1,!0,!1,!0,!1),Yi(u(At(Kt(t.bb),7),18),t.o,u(At(Kt(t.o),13),18),S0e,0,1,ju,!0,!1,!1,!1,!1,!1,!1),Mo(u(At(zi(t.bb),0),59),t.I,x0e),d=Mo(u(At(zi(t.bb),1),59),null,"getContainerClass"),e=O0(t.L),n=Vwt(),Hr((!e.d&&(e.d=new qs(So,e,1)),e.d),n),r=z1(d,e,null),r&&r.Fi(),bc(t.eb,Qy,a0e,!0,!1,!0),_s(u(At(Kt(t.eb),0),34),t.e,"ordered",H7,0,1,Qy,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.eb),1),34),t.e,"unique",H7,0,1,Qy,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.eb),2),34),t.I,"lowerBound",null,0,1,Qy,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.eb),3),34),t.I,"upperBound","1",0,1,Qy,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.eb),4),34),t.e,"many",null,0,1,Qy,!0,!0,!1,!1,!0,!0),_s(u(At(Kt(t.eb),5),34),t.e,"required",null,0,1,Qy,!0,!0,!1,!1,!0,!0),Yi(u(At(Kt(t.eb),6),18),t.p,null,"eType",0,1,Qy,!1,!0,!0,!1,!0,!0,!1),Yi(u(At(Kt(t.eb),7),18),t.H,null,"eGenericType",0,1,Qy,!1,!0,!0,!0,!1,!0,!1),bc(t.ab,Ib,"EStringToStringMapEntry",!1,!1,!1),_s(u(At(Kt(t.ab),0),34),t._,"key",null,0,1,Ib,!1,!1,!0,!1,!0,!1),_s(u(At(Kt(t.ab),1),34),t._,YC,null,0,1,Ib,!1,!1,!0,!1,!0,!1),bc(t.H,So,h0e,!1,!1,!0),Yi(u(At(Kt(t.H),0),18),t.H,null,"eUpperBound",0,1,So,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.H),1),18),t.H,null,"eTypeArguments",0,-1,So,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.H),2),18),t.p,null,"eRawType",1,1,So,!0,!1,!1,!1,!0,!1,!0),Yi(u(At(Kt(t.H),3),18),t.H,null,"eLowerBound",0,1,So,!1,!1,!0,!0,!1,!1,!1),Yi(u(At(Kt(t.H),4),18),t.db,null,"eTypeParameter",0,1,So,!1,!1,!0,!1,!1,!1,!1),Yi(u(At(Kt(t.H),5),18),t.p,null,"eClassifier",0,1,So,!1,!1,!0,!1,!0,!1,!1),d=Mo(u(At(zi(t.H),0),59),t.e,_0e),$o(d,t.M,AI),bc(t.db,wu,p0e,!1,!1,!0),Yi(u(At(Kt(t.db),0),18),t.H,null,"eBounds",0,-1,wu,!1,!1,!0,!0,!1,!1,!1),mi(t.c,_ut,"EBigDecimal",!0),mi(t.d,R4,"EBigInteger",!0),mi(t.e,Tl,"EBoolean",!0),mi(t.f,Zs,"EBooleanObject",!0),mi(t.i,tl,"EByte",!0),mi(t.g,ot(tl,1),"EByteArray",!0),mi(t.j,Tx,"EByteObject",!0),mi(t.k,Sh,"EChar",!0),mi(t.n,aS,"ECharacterObject",!0),mi(t.r,GH,"EDate",!0),mi(t.s,TLt,"EDiagnosticChain",!1),mi(t.t,wa,"EDouble",!0),mi(t.u,Ea,"EDoubleObject",!0),mi(t.fb,jAt,"EEList",!1),mi(t.A,qAt,"EEnumerator",!1),mi(t.C,hLt,"EFeatureMap",!1),mi(t.D,oU,"EFeatureMapEntry",!1),mi(t.F,r3,"EFloat",!0),mi(t.G,Q7,"EFloatObject",!0),mi(t.I,Fr,"EInt",!0),mi(t.J,eo,"EIntegerObject",!0),mi(t.L,H8t,"EJavaClass",!0),mi(t.M,ir,"EJavaObject",!0),mi(t.N,O2,"ELong",!0),mi(t.O,Ew,"ELongObject",!0),mi(t.P,V8t,"EMap",!1),mi(t.X,oLt,"EResource",!1),mi(t.Y,_Lt,"EResourceSet",!1),mi(t.Z,d5,"EShort",!0),mi(t.$,Tw,"EShortObject",!0),mi(t._,Le,"EString",!0),mi(t.cb,zAt,"ETreeIterator",!1),mi(t.K,CLt,"EInvocationTargetException",!1),jyt(t,Hh))}var AI="object",lx="boolean",C6t="number",Oat="string",Pat="function",Di=2147483647,lc="java.lang",LI={3:1},MI="com.google.common.base",oo=", ",Bhe="%s (%s) must not be negative",De={3:1,4:1,5:1},Rhe="negative size: ",jhe="Optional.of(",Nu="null",A7={198:1,47:1},Xe="com.google.common.collect",L7={198:1,47:1,125:1},kb={224:1,3:1},va={47:1},Ar="java.util",pw={83:1},wy={20:1,28:1,14:1},q1=1965,Xu={20:1,28:1,14:1,21:1},$he={83:1,171:1,161:1},zhe={20:1,28:1,14:1,21:1,84:1},S6t={20:1,28:1,14:1,271:1,21:1,84:1},r0={47:1,125:1},Iq={345:1,42:1},qhe="AbstractMapEntry",Hhe="expectedValuesPerKey",re={3:1,6:1,4:1,5:1},Ed=16384,Rh={164:1},tr={38:1},Oq={l:4194303,m:4194303,h:524287},DI={196:1},Nat={245:1,3:1,35:1},Vhe="range unbounded on this side",i0={20:1},Ghe={20:1,14:1},A6t={3:1,20:1,28:1,14:1},SC={152:1,3:1,20:1,28:1,14:1,15:1,54:1},Pq={3:1,4:1,5:1,165:1},M7={3:1,83:1},Fat={20:1,14:1,21:1},D7={3:1,20:1,28:1,14:1,21:1},Uhe={20:1,14:1,21:1,84:1},s0=461845907,a0=-862048943,II={3:1,6:1,4:1,5:1,165:1},Whe="expectedSize",AC=1073741824,my="initialArraySize",ue={3:1,6:1,4:1,9:1,5:1},I7={20:1,28:1,52:1,14:1,15:1},Bat="arraySize",Khe={20:1,28:1,52:1,14:1,15:1,54:1},Ti={45:1},Nq={365:1},s2=1e-4,qa=-2147483648,Yhe="__noinit__",K0={3:1,102:1,60:1,78:1},OI="com.google.gwt.core.client.impl",L6t="String",M6t="com.google.gwt.core.client",Rat="anonymous",jat="fnStack",D6t="Unknown",Td={195:1,3:1,4:1},Vg=1e3,Ps=65535,$at="January",zat="February",qat="March",Hat="April",hx="May",Vat="June",Gat="July",Uat="August",Wat="September",Kat="October",Yat="November",Xat="December",a2=1900,ui={48:1,3:1,4:1},Xhe="Before Christ",Qhe="Anno Domini",Qat="Sunday",Zat="Monday",Jat="Tuesday",tot="Wednesday",eot="Thursday",not="Friday",rot="Saturday",I6t="com.google.gwt.i18n.shared",Zhe="DateTimeFormat",iot="com.google.gwt.i18n.client",Jhe="DefaultDateTimeFormatInfo",tfe={3:1,4:1,35:1,199:1},fx="com.google.gwt.json.client",yl=4194303,Y0=1048575,PI=524288,dx=4194304,Eb=17592186044416,Fq=1e9,NI=-17592186044416,O6t="java.io",sot={3:1,102:1,73:1,60:1,78:1},efe={3:1,289:1,78:1},bw='For input string: "',ms=1/0,Rs=-1/0,yy=4096,aot={3:1,4:1,364:1},co=65536,FI=55296,Io={104:1,3:1,4:1},oot=1e5,nfe=.3010299956639812,To=4294967295,cot=4294967296,O7="0.0",uot={42:1},rfe={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},ife={3:1,20:1,28:1,52:1,14:1,15:1,54:1},sfe={20:1,14:1,15:1},lot={3:1,62:1},BI={182:1},S4={3:1,4:1,83:1},P6t={3:1,4:1,20:1,28:1,14:1,53:1,21:1},hot="delete",LC=14901161193847656e-24,MC=11102230246251565e-32,fot=15525485,RI=5960464477539063e-23,N6t=16777216,Bq=16777215,F6t=", length: ",afe={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},dot={3:1,35:1,22:1,297:1},got="java.util.function",DC="java.util.logging",ofe={3:1,4:1,5:1,842:1},pot="undefined",Us="java.util.stream",B6t={525:1,670:1},Rq="fromIndex: ",cfe=" > toIndex: ",R6t=", toIndex: ",j6t="Index: ",$6t=", Size: ",P7="org.eclipse.elk.alg.common",Ui={62:1},ufe="org.eclipse.elk.alg.common.compaction",lfe="Scanline/EventHandler",o0="org.eclipse.elk.alg.common.compaction.oned",hfe="CNode belongs to another CGroup.",ffe="ISpacingsHandler/1",bot="The ",vot=" instance has been finished already.",dfe="The direction ",gfe=" is not supported by the CGraph instance.",pfe="OneDimensionalCompactor",bfe="OneDimensionalCompactor/lambda$0$Type",vfe="Quadruplet",wfe="ScanlineConstraintCalculator",mfe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",yfe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",xfe="ScanlineConstraintCalculator/Timestamp",kfe="ScanlineConstraintCalculator/lambda$0$Type",_d={169:1,45:1},wot="org.eclipse.elk.alg.common.compaction.options",hc="org.eclipse.elk.core.data",z6t="org.eclipse.elk.polyomino.traversalStrategy",q6t="org.eclipse.elk.polyomino.lowLevelSort",H6t="org.eclipse.elk.polyomino.highLevelSort",V6t="org.eclipse.elk.polyomino.fill",jh={130:1},mot="polyomino",IC="org.eclipse.elk.alg.common.networksimplex",c0={177:1,3:1,4:1},Efe="org.eclipse.elk.alg.common.nodespacing",Tb="org.eclipse.elk.alg.common.nodespacing.cellsystem",N7="CENTER",Tfe={212:1,326:1},G6t={3:1,4:1,5:1,595:1},gx="LEFT",px="RIGHT",U6t="Vertical alignment cannot be null",W6t="BOTTOM",jq="org.eclipse.elk.alg.common.nodespacing.internal",OC="UNDEFINED",H1=.01,jI="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",_fe="LabelPlacer/lambda$0$Type",Cfe="LabelPlacer/lambda$1$Type",Sfe="portRatioOrPosition",F7="org.eclipse.elk.alg.common.overlaps",yot="DOWN",Cd="org.eclipse.elk.alg.common.polyomino",$q="NORTH",xot="EAST",kot="SOUTH",Eot="WEST",zq="org.eclipse.elk.alg.common.polyomino.structures",K6t="Direction",Tot="Grid is only of size ",_ot=". Requested point (",Cot=") is out of bounds.",qq=" Given center based coordinates were (",$I="org.eclipse.elk.graph.properties",Afe="IPropertyHolder",Y6t={3:1,94:1,134:1},bx="org.eclipse.elk.alg.common.spore",Lfe="org.eclipse.elk.alg.common.utils",_b={209:1},A4="org.eclipse.elk.core",Mfe="Connected Components Compaction",Dfe="org.eclipse.elk.alg.disco",Hq="org.eclipse.elk.alg.disco.graph",Sot="org.eclipse.elk.alg.disco.options",X6t="CompactionStrategy",Q6t="org.eclipse.elk.disco.componentCompaction.strategy",Z6t="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",J6t="org.eclipse.elk.disco.debug.discoGraph",txt="org.eclipse.elk.disco.debug.discoPolys",Ife="componentCompaction",Cb="org.eclipse.elk.disco",Aot="org.eclipse.elk.spacing.componentComponent",Lot="org.eclipse.elk.edge.thickness",vx="org.eclipse.elk.aspectRatio",vw="org.eclipse.elk.padding",L4="org.eclipse.elk.alg.disco.transform",Mot=1.5707963267948966,B7=17976931348623157e292,xy={3:1,4:1,5:1,192:1},ext={3:1,6:1,4:1,5:1,106:1,120:1},nxt="org.eclipse.elk.alg.force",rxt="ComponentsProcessor",Ofe="ComponentsProcessor/1",zI="org.eclipse.elk.alg.force.graph",Pfe="Component Layout",ixt="org.eclipse.elk.alg.force.model",Vq="org.eclipse.elk.force.model",sxt="org.eclipse.elk.force.iterations",axt="org.eclipse.elk.force.repulsivePower",Dot="org.eclipse.elk.force.temperature",Sd=.001,Iot="org.eclipse.elk.force.repulsion",PC="org.eclipse.elk.alg.force.options",R7=1.600000023841858,Xl="org.eclipse.elk.force",qI="org.eclipse.elk.priority",ky="org.eclipse.elk.spacing.nodeNode",Oot="org.eclipse.elk.spacing.edgeLabel",Gq="org.eclipse.elk.randomSeed",NC="org.eclipse.elk.separateConnectedComponents",HI="org.eclipse.elk.interactive",Pot="org.eclipse.elk.portConstraints",Uq="org.eclipse.elk.edgeLabels.inline",FC="org.eclipse.elk.omitNodeMicroLayout",wx="org.eclipse.elk.nodeSize.options",M4="org.eclipse.elk.nodeSize.constraints",j7="org.eclipse.elk.nodeLabels.placement",$7="org.eclipse.elk.portLabels.placement",oxt="origin",Nfe="random",Ffe="boundingBox.upLeft",Bfe="boundingBox.lowRight",cxt="org.eclipse.elk.stress.fixed",uxt="org.eclipse.elk.stress.desiredEdgeLength",lxt="org.eclipse.elk.stress.dimension",hxt="org.eclipse.elk.stress.epsilon",fxt="org.eclipse.elk.stress.iterationLimit",o2="org.eclipse.elk.stress",Rfe="ELK Stress",mx="org.eclipse.elk.nodeSize.minimum",Wq="org.eclipse.elk.alg.force.stress",jfe="Layered layout",yx="org.eclipse.elk.alg.layered",VI="org.eclipse.elk.alg.layered.compaction.components",BC="org.eclipse.elk.alg.layered.compaction.oned",Kq="org.eclipse.elk.alg.layered.compaction.oned.algs",Sb="org.eclipse.elk.alg.layered.compaction.recthull",Ad="org.eclipse.elk.alg.layered.components",X0="NONE",Pc={3:1,6:1,4:1,9:1,5:1,122:1},$fe={3:1,6:1,4:1,5:1,141:1,106:1,120:1},Yq="org.eclipse.elk.alg.layered.compound",ys={51:1},cu="org.eclipse.elk.alg.layered.graph",Not=" -> ",zfe="Not supported by LGraph",dxt="Port side is undefined",Fot={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},Gg={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},qfe={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},Hfe=`([{"' \r
+`,Vfe=`)]}"' \r
+`,Gfe="The given string contains parts that cannot be parsed as numbers.",GI="org.eclipse.elk.core.math",Ufe={3:1,4:1,142:1,207:1,414:1},Wfe={3:1,4:1,116:1,207:1,414:1},Xn="org.eclipse.elk.layered",Ug="org.eclipse.elk.alg.layered.graph.transform",Kfe="ElkGraphImporter",Yfe="ElkGraphImporter/lambda$0$Type",Xfe="ElkGraphImporter/lambda$1$Type",Qfe="ElkGraphImporter/lambda$2$Type",Zfe="ElkGraphImporter/lambda$4$Type",Jfe="Node margin calculation",Hn="org.eclipse.elk.alg.layered.intermediate",t1e="ONE_SIDED_GREEDY_SWITCH",e1e="TWO_SIDED_GREEDY_SWITCH",Bot="No implementation is available for the layout processor ",gxt="IntermediateProcessorStrategy",Rot="Node '",n1e="FIRST_SEPARATE",r1e="LAST_SEPARATE",i1e="Odd port side processing",js="org.eclipse.elk.alg.layered.intermediate.compaction",RC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",u0="org.eclipse.elk.alg.layered.p3order.counting",UI={225:1},xx="org.eclipse.elk.alg.layered.intermediate.loops",Ql="org.eclipse.elk.alg.layered.intermediate.loops.ordering",c2="org.eclipse.elk.alg.layered.intermediate.loops.routing",jC="org.eclipse.elk.alg.layered.intermediate.preserveorder",Ld="org.eclipse.elk.alg.layered.intermediate.wrapping",Nc="org.eclipse.elk.alg.layered.options",jot="INTERACTIVE",s1e="DEPTH_FIRST",a1e="EDGE_LENGTH",o1e="SELF_LOOPS",c1e="firstTryWithInitialOrder",pxt="org.eclipse.elk.layered.directionCongruency",bxt="org.eclipse.elk.layered.feedbackEdges",Xq="org.eclipse.elk.layered.interactiveReferencePoint",vxt="org.eclipse.elk.layered.mergeEdges",wxt="org.eclipse.elk.layered.mergeHierarchyEdges",mxt="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",yxt="org.eclipse.elk.layered.portSortingStrategy",xxt="org.eclipse.elk.layered.thoroughness",kxt="org.eclipse.elk.layered.unnecessaryBendpoints",Ext="org.eclipse.elk.layered.generatePositionAndLayerIds",$ot="org.eclipse.elk.layered.cycleBreaking.strategy",WI="org.eclipse.elk.layered.layering.strategy",Txt="org.eclipse.elk.layered.layering.layerConstraint",_xt="org.eclipse.elk.layered.layering.layerChoiceConstraint",Cxt="org.eclipse.elk.layered.layering.layerId",zot="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",qot="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Hot="org.eclipse.elk.layered.layering.nodePromotion.strategy",Vot="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",Got="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",$C="org.eclipse.elk.layered.crossingMinimization.strategy",Sxt="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",Uot="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",Wot="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Axt="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Lxt="org.eclipse.elk.layered.crossingMinimization.positionId",Mxt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",Kot="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",Qq="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",D4="org.eclipse.elk.layered.nodePlacement.strategy",Zq="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",Yot="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",Xot="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",Qot="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",Zot="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",Jot="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Dxt="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Ixt="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",Jq="org.eclipse.elk.layered.edgeRouting.splines.mode",tH="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",tct="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Oxt="org.eclipse.elk.layered.spacing.baseValue",Pxt="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Nxt="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Fxt="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Bxt="org.eclipse.elk.layered.priority.direction",Rxt="org.eclipse.elk.layered.priority.shortness",jxt="org.eclipse.elk.layered.priority.straightness",ect="org.eclipse.elk.layered.compaction.connectedComponents",$xt="org.eclipse.elk.layered.compaction.postCompaction.strategy",zxt="org.eclipse.elk.layered.compaction.postCompaction.constraints",eH="org.eclipse.elk.layered.highDegreeNodes.treatment",nct="org.eclipse.elk.layered.highDegreeNodes.threshold",rct="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Q0="org.eclipse.elk.layered.wrapping.strategy",nH="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",rH="org.eclipse.elk.layered.wrapping.correctionFactor",zC="org.eclipse.elk.layered.wrapping.cutting.strategy",ict="org.eclipse.elk.layered.wrapping.cutting.cuts",sct="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",iH="org.eclipse.elk.layered.wrapping.validify.strategy",sH="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",aH="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",oH="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",act="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",qxt="org.eclipse.elk.layered.edgeLabels.sideSelection",Hxt="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",cH="org.eclipse.elk.layered.considerModelOrder.strategy",Vxt="org.eclipse.elk.layered.considerModelOrder.noModelOrder",oct="org.eclipse.elk.layered.considerModelOrder.components",Gxt="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",cct="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",uct="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",lct="layering",u1e="layering.minWidth",l1e="layering.nodePromotion",KI="crossingMinimization",uH="org.eclipse.elk.hierarchyHandling",h1e="crossingMinimization.greedySwitch",f1e="nodePlacement",d1e="nodePlacement.bk",g1e="edgeRouting",YI="org.eclipse.elk.edgeRouting",V1="spacing",Uxt="priority",Wxt="compaction",p1e="compaction.postCompaction",b1e="Specifies whether and how post-process compaction is applied.",Kxt="highDegreeNodes",Yxt="wrapping",v1e="wrapping.cutting",w1e="wrapping.validify",Xxt="wrapping.multiEdge",hct="edgeLabels",XI="considerModelOrder",Qxt="org.eclipse.elk.spacing.commentComment",Zxt="org.eclipse.elk.spacing.commentNode",Jxt="org.eclipse.elk.spacing.edgeEdge",tkt="org.eclipse.elk.spacing.edgeNode",ekt="org.eclipse.elk.spacing.labelLabel",nkt="org.eclipse.elk.spacing.labelPortHorizontal",rkt="org.eclipse.elk.spacing.labelPortVertical",ikt="org.eclipse.elk.spacing.labelNode",skt="org.eclipse.elk.spacing.nodeSelfLoop",akt="org.eclipse.elk.spacing.portPort",okt="org.eclipse.elk.spacing.individual",ckt="org.eclipse.elk.port.borderOffset",ukt="org.eclipse.elk.noLayout",lkt="org.eclipse.elk.port.side",QI="org.eclipse.elk.debugMode",hkt="org.eclipse.elk.alignment",fkt="org.eclipse.elk.insideSelfLoops.activate",dkt="org.eclipse.elk.insideSelfLoops.yo",fct="org.eclipse.elk.nodeSize.fixedGraphSize",gkt="org.eclipse.elk.direction",pkt="org.eclipse.elk.nodeLabels.padding",bkt="org.eclipse.elk.portLabels.nextToPortIfPossible",vkt="org.eclipse.elk.portLabels.treatAsGroup",wkt="org.eclipse.elk.portAlignment.default",mkt="org.eclipse.elk.portAlignment.north",ykt="org.eclipse.elk.portAlignment.south",xkt="org.eclipse.elk.portAlignment.west",kkt="org.eclipse.elk.portAlignment.east",lH="org.eclipse.elk.contentAlignment",Ekt="org.eclipse.elk.junctionPoints",Tkt="org.eclipse.elk.edgeLabels.placement",_kt="org.eclipse.elk.port.index",Ckt="org.eclipse.elk.commentBox",Skt="org.eclipse.elk.hypernode",Akt="org.eclipse.elk.port.anchor",dct="org.eclipse.elk.partitioning.activate",gct="org.eclipse.elk.partitioning.partition",hH="org.eclipse.elk.position",Lkt="org.eclipse.elk.margins",Mkt="org.eclipse.elk.spacing.portsSurrounding",pct="org.eclipse.elk.interactiveLayout",Fc="org.eclipse.elk.core.util",Dkt={3:1,4:1,5:1,593:1},m1e="NETWORK_SIMPLEX",Qc={123:1,51:1},fH="org.eclipse.elk.alg.layered.p1cycles",Ey="org.eclipse.elk.alg.layered.p2layers",Ikt={402:1,225:1},y1e={832:1,3:1,4:1},Qu="org.eclipse.elk.alg.layered.p3order",_o="org.eclipse.elk.alg.layered.p4nodes",x1e={3:1,4:1,5:1,840:1},Md=1e-5,u2="org.eclipse.elk.alg.layered.p4nodes.bk",bct="org.eclipse.elk.alg.layered.p5edges",i1="org.eclipse.elk.alg.layered.p5edges.orthogonal",vct="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",wct=1e-6,Ty="org.eclipse.elk.alg.layered.p5edges.splines",mct=.09999999999999998,dH=1e-8,k1e=4.71238898038469,E1e=3.141592653589793,qC="org.eclipse.elk.alg.mrtree",HC="org.eclipse.elk.alg.mrtree.graph",kx="org.eclipse.elk.alg.mrtree.intermediate",T1e="Set neighbors in level",_1e="DESCENDANTS",Okt="org.eclipse.elk.mrtree.weighting",Pkt="org.eclipse.elk.mrtree.searchOrder",gH="org.eclipse.elk.alg.mrtree.options",Wg="org.eclipse.elk.mrtree",C1e="org.eclipse.elk.tree",Nkt="org.eclipse.elk.alg.radial",I4=6.283185307179586,Fkt=5e-324,S1e="org.eclipse.elk.alg.radial.intermediate",yct="org.eclipse.elk.alg.radial.intermediate.compaction",A1e={3:1,4:1,5:1,106:1},Bkt="org.eclipse.elk.alg.radial.intermediate.optimization",xct="No implementation is available for the layout option ",VC="org.eclipse.elk.alg.radial.options",Rkt="org.eclipse.elk.radial.orderId",jkt="org.eclipse.elk.radial.radius",kct="org.eclipse.elk.radial.compactor",Ect="org.eclipse.elk.radial.compactionStepSize",$kt="org.eclipse.elk.radial.sorter",zkt="org.eclipse.elk.radial.wedgeCriteria",qkt="org.eclipse.elk.radial.optimizationCriteria",Dd="org.eclipse.elk.radial",L1e="org.eclipse.elk.alg.radial.p1position.wedge",Hkt="org.eclipse.elk.alg.radial.sorting",M1e=5.497787143782138,D1e=3.9269908169872414,I1e=2.356194490192345,O1e="org.eclipse.elk.alg.rectpacking",pH="org.eclipse.elk.alg.rectpacking.firstiteration",Tct="org.eclipse.elk.alg.rectpacking.options",Vkt="org.eclipse.elk.rectpacking.optimizationGoal",Gkt="org.eclipse.elk.rectpacking.lastPlaceShift",Ukt="org.eclipse.elk.rectpacking.currentPosition",Wkt="org.eclipse.elk.rectpacking.desiredPosition",Kkt="org.eclipse.elk.rectpacking.onlyFirstIteration",Ykt="org.eclipse.elk.rectpacking.rowCompaction",_ct="org.eclipse.elk.rectpacking.expandToAspectRatio",Xkt="org.eclipse.elk.rectpacking.targetWidth",bH="org.eclipse.elk.expandNodes",$h="org.eclipse.elk.rectpacking",ZI="org.eclipse.elk.alg.rectpacking.util",vH="No implementation available for ",_y="org.eclipse.elk.alg.spore",Cy="org.eclipse.elk.alg.spore.options",ww="org.eclipse.elk.sporeCompaction",Cct="org.eclipse.elk.underlyingLayoutAlgorithm",Qkt="org.eclipse.elk.processingOrder.treeConstruction",Zkt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Sct="org.eclipse.elk.processingOrder.preferredRoot",Act="org.eclipse.elk.processingOrder.rootSelection",Lct="org.eclipse.elk.structure.structureExtractionStrategy",Jkt="org.eclipse.elk.compaction.compactionStrategy",t8t="org.eclipse.elk.compaction.orthogonal",e8t="org.eclipse.elk.overlapRemoval.maxIterations",n8t="org.eclipse.elk.overlapRemoval.runScanline",Mct="processingOrder",P1e="overlapRemoval",z7="org.eclipse.elk.sporeOverlap",N1e="org.eclipse.elk.alg.spore.p1structure",Dct="org.eclipse.elk.alg.spore.p2processingorder",Ict="org.eclipse.elk.alg.spore.p3execution",F1e="Invalid index: ",q7="org.eclipse.elk.core.alg",O4={331:1},Sy={288:1},B1e="Make sure its type is registered with the ",r8t=" utility class.",H7="true",Oct="false",R1e="Couldn't clone property '",mw=.05,zh="org.eclipse.elk.core.options",j1e=1.2999999523162842,yw="org.eclipse.elk.box",i8t="org.eclipse.elk.box.packingMode",$1e="org.eclipse.elk.algorithm",z1e="org.eclipse.elk.resolvedAlgorithm",s8t="org.eclipse.elk.bendPoints",q5n="org.eclipse.elk.labelManager",q1e="org.eclipse.elk.scaleFactor",H1e="org.eclipse.elk.animate",V1e="org.eclipse.elk.animTimeFactor",G1e="org.eclipse.elk.layoutAncestors",U1e="org.eclipse.elk.maxAnimTime",W1e="org.eclipse.elk.minAnimTime",K1e="org.eclipse.elk.progressBar",Y1e="org.eclipse.elk.validateGraph",X1e="org.eclipse.elk.validateOptions",Q1e="org.eclipse.elk.zoomToFit",H5n="org.eclipse.elk.font.name",Z1e="org.eclipse.elk.font.size",J1e="org.eclipse.elk.edge.type",tde="partitioning",ede="nodeLabels",wH="portAlignment",Pct="nodeSize",Nct="port",a8t="portLabels",nde="insideSelfLoops",GC="org.eclipse.elk.fixed",mH="org.eclipse.elk.random",rde="port must have a parent node to calculate the port side",ide="The edge needs to have exactly one edge section. Found: ",UC="org.eclipse.elk.core.util.adapters",xh="org.eclipse.emf.ecore",P4="org.eclipse.elk.graph",sde="EMapPropertyHolder",ade="ElkBendPoint",ode="ElkGraphElement",cde="ElkConnectableShape",o8t="ElkEdge",ude="ElkEdgeSection",lde="EModelElement",hde="ENamedElement",c8t="ElkLabel",u8t="ElkNode",l8t="ElkPort",fde={92:1,90:1},Ex="org.eclipse.emf.common.notify.impl",l2="The feature '",WC="' is not a valid changeable feature",dde="Expecting null",Fct="' is not a valid feature",gde="The feature ID",pde=" is not a valid feature ID",Ac=32768,bde={105:1,92:1,90:1,56:1,49:1,97:1},Mn="org.eclipse.emf.ecore.impl",Ab="org.eclipse.elk.graph.impl",KC="Recursive containment not allowed for ",V7="The datatype '",xw="' is not a valid classifier",Bct="The value '",N4={190:1,3:1,4:1},Rct="The class '",G7="http://www.eclipse.org/elk/ElkGraph",_f=1024,h8t="property",YC="value",jct="source",vde="properties",wde="identifier",$ct="height",zct="width",qct="parent",Hct="text",Vct="children",mde="hierarchical",f8t="sources",Gct="targets",d8t="sections",yH="bendPoints",g8t="outgoingShape",p8t="incomingShape",b8t="outgoingSections",v8t="incomingSections",to="org.eclipse.emf.common.util",w8t="Severe implementation error in the Json to ElkGraph importer.",Id="id",Na="org.eclipse.elk.graph.json",m8t="Unhandled parameter types: ",yde="startPoint",xde="An edge must have at least one source and one target (edge id: '",U7="').",kde="Referenced edge section does not exist: ",Ede=" (edge id: '",y8t="target",Tde="sourcePoint",_de="targetPoint",xH="group",xi="name",Cde="connectableShape cannot be null",Sde="edge cannot be null",Uct="Passed edge is not 'simple'.",kH="org.eclipse.elk.graph.util",JI="The 'no duplicates' constraint is violated",Wct="targetIndex=",Lb=", size=",Kct="sourceIndex=",Od={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},Yct={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},EH="logging",Ade="measureExecutionTime",Lde="parser.parse.1",Mde="parser.parse.2",TH="parser.next.1",Xct="parser.next.2",Dde="parser.next.3",Ide="parser.next.4",Mb="parser.factor.1",x8t="parser.factor.2",Ode="parser.factor.3",Pde="parser.factor.4",Nde="parser.factor.5",Fde="parser.factor.6",Bde="parser.atom.1",Rde="parser.atom.2",jde="parser.atom.3",k8t="parser.atom.4",Qct="parser.atom.5",E8t="parser.cc.1",_H="parser.cc.2",$de="parser.cc.3",zde="parser.cc.5",T8t="parser.cc.6",_8t="parser.cc.7",Zct="parser.cc.8",qde="parser.ope.1",Hde="parser.ope.2",Vde="parser.ope.3",Kg="parser.descape.1",Gde="parser.descape.2",Ude="parser.descape.3",Wde="parser.descape.4",Kde="parser.descape.5",kh="parser.process.1",Yde="parser.quantifier.1",Xde="parser.quantifier.2",Qde="parser.quantifier.3",Zde="parser.quantifier.4",C8t="parser.quantifier.5",Jde="org.eclipse.emf.common.notify",S8t={415:1,672:1},t0e={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},tO={366:1,143:1},XC="index=",Jct={3:1,4:1,5:1,126:1},e0e={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},A8t={3:1,6:1,4:1,5:1,192:1},n0e={3:1,4:1,5:1,165:1,367:1},r0e=";/?:@&=+$,",i0e="invalid authority: ",s0e="EAnnotation",a0e="ETypedElement",o0e="EStructuralFeature",c0e="EAttribute",u0e="EClassifier",l0e="EEnumLiteral",h0e="EGenericType",f0e="EOperation",d0e="EParameter",g0e="EReference",p0e="ETypeParameter",Zi="org.eclipse.emf.ecore.util",tut={76:1},L8t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},b0e="org.eclipse.emf.ecore.util.FeatureMap$Entry",Zu=8192,Ay=2048,QC="byte",CH="char",ZC="double",JC="float",tS="int",eS="long",nS="short",v0e="java.lang.Object",F4={3:1,4:1,5:1,247:1},M8t={3:1,4:1,5:1,673:1},w0e={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},ec={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},eO="mixed",oi="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",qh="kind",m0e={3:1,4:1,5:1,674:1},D8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},SH={20:1,28:1,52:1,14:1,15:1,58:1,69:1},AH={47:1,125:1,279:1},LH={72:1,332:1},MH="The value of type '",DH="' must be of type '",B4=1316,Hh="http://www.eclipse.org/emf/2002/Ecore",IH=-32768,kw="constraints",Ha="baseType",y0e="getEStructuralFeature",x0e="getFeatureID",rS="feature",k0e="getOperationID",I8t="operation",E0e="defaultValue",T0e="eTypeParameters",_0e="isInstance",C0e="getEEnumLiteral",S0e="eContainingClass",wi={55:1},A0e={3:1,4:1,5:1,119:1},L0e="org.eclipse.emf.ecore.resource",M0e={92:1,90:1,591:1,1935:1},eut="org.eclipse.emf.ecore.resource.impl",O8t="unspecified",nO="simple",OH="attribute",D0e="attributeWildcard",PH="element",nut="elementWildcard",s1="collapse",rut="itemType",NH="namespace",rO="##targetNamespace",Vh="whiteSpace",P8t="wildcards",Db="http://www.eclipse.org/emf/2003/XMLType",iut="##any",W7="uninitialized",iO="The multiplicity constraint is violated",FH="org.eclipse.emf.ecore.xml.type",I0e="ProcessingInstruction",O0e="SimpleAnyType",P0e="XMLTypeDocumentRoot",Ns="org.eclipse.emf.ecore.xml.type.impl",sO="INF",N0e="processing",F0e="ENTITIES_._base",N8t="minLength",F8t="ENTITY",BH="NCName",B0e="IDREFS_._base",B8t="integer",sut="token",aut="pattern",R0e="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",R8t="\\i\\c*",j0e="[\\i-[:]][\\c-[:]]*",$0e="nonPositiveInteger",aO="maxInclusive",j8t="NMTOKEN",z0e="NMTOKENS_._base",$8t="nonNegativeInteger",oO="minInclusive",q0e="normalizedString",H0e="unsignedByte",V0e="unsignedInt",G0e="18446744073709551615",U0e="unsignedShort",W0e="processingInstruction",Yg="org.eclipse.emf.ecore.xml.type.internal",K7=1114111,K0e="Internal Error: shorthands: \\u",iS="xml:isDigit",out="xml:isWord",cut="xml:isSpace",uut="xml:isNameChar",lut="xml:isInitialNameChar",Y0e="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",X0e="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Q0e="Private Use",hut="ASSIGNED",fut="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",z8t="UNASSIGNED",Y7={3:1,117:1},Z0e="org.eclipse.emf.ecore.xml.type.util",RH={3:1,4:1,5:1,368:1},q8t="org.eclipse.xtext.xbase.lib",J0e="Cannot add elements to a Range",tge="Cannot set elements in a Range",ege="Cannot remove elements from a Range",jH="locale",$H="default",zH="user.agent",l,qH,dut;b.goog=b.goog||{},b.goog.global=b.goog.global||b,p0n(),D(1,null,{},C),l.Fb=function(e){return XGt(this,e)},l.Gb=function(){return this.gm},l.Hb=function(){return Mv(this)},l.Ib=function(){var e;return Ip(bl(this))+"@"+(e=es(this)>>>0,e.toString(16))},l.equals=function(t){return this.Fb(t)},l.hashCode=function(){return this.Hb()},l.toString=function(){return this.Ib()};var nge,rge,ige;D(290,1,{290:1,2026:1},myt),l.le=function(e){var n;return n=new myt,n.i=4,e>1?n.c=dQt(this,e-1):n.c=this,n},l.me=function(){return D0(this),this.b},l.ne=function(){return Ip(this)},l.oe=function(){return D0(this),this.k},l.pe=function(){return(this.i&4)!=0},l.qe=function(){return(this.i&1)!=0},l.Ib=function(){return Pmt(this)},l.i=0;var ir=P(lc,"Object",1),H8t=P(lc,"Class",290);D(1998,1,LI),P(MI,"Optional",1998),D(1170,1998,LI,A),l.Fb=function(e){return e===this},l.Hb=function(){return 2040732332},l.Ib=function(){return"Optional.absent()"},l.Jb=function(e){return zr(e),DT(),gut};var gut;P(MI,"Absent",1170),D(628,1,{},aet),P(MI,"Joiner",628);var V5n=ls(MI,"Predicate");D(582,1,{169:1,582:1,3:1,45:1},bT),l.Mb=function(e){return Jne(this,e)},l.Lb=function(e){return Jne(this,e)},l.Fb=function(e){var n;return _t(e,582)?(n=u(e,582),f5t(this.a,n.a)):!1},l.Hb=function(){return Tyt(this.a)+306654252},l.Ib=function(){return egn(this.a)},P(MI,"Predicates/AndPredicate",582),D(408,1998,{408:1,3:1},$k),l.Fb=function(e){var n;return _t(e,408)?(n=u(e,408),Pi(this.a,n.a)):!1},l.Hb=function(){return 1502476572+es(this.a)},l.Ib=function(){return jhe+this.a+")"},l.Jb=function(e){return new $k(s$(e.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},P(MI,"Present",408),D(198,1,A7),l.Nb=function(e){Ia(this,e)},l.Qb=function(){$qt()},P(Xe,"UnmodifiableIterator",198),D(1978,198,L7),l.Qb=function(){$qt()},l.Rb=function(e){throw et(new Gr)},l.Wb=function(e){throw et(new Gr)},P(Xe,"UnmodifiableListIterator",1978),D(386,1978,L7),l.Ob=function(){return this.c<this.d},l.Sb=function(){return this.c>0},l.Pb=function(){if(this.c>=this.d)throw et(new _c);return this.Xb(this.c++)},l.Tb=function(){return this.c},l.Ub=function(){if(this.c<=0)throw et(new _c);return this.Xb(--this.c)},l.Vb=function(){return this.c-1},l.c=0,l.d=0,P(Xe,"AbstractIndexedListIterator",386),D(699,198,A7),l.Ob=function(){return sit(this)},l.Pb=function(){return Amt(this)},l.e=1,P(Xe,"AbstractIterator",699),D(1986,1,{224:1}),l.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},l.Fb=function(e){return Eit(this,e)},l.Hb=function(){return es(this.Zb())},l.dc=function(){return this.gc()==0},l.ec=function(){return F6(this)},l.Ib=function(){return tc(this.Zb())},P(Xe,"AbstractMultimap",1986),D(726,1986,kb),l.$b=function(){J$(this)},l._b=function(e){return sHt(this,e)},l.ac=function(){return new r8(this,this.c)},l.ic=function(e){return this.hc()},l.bc=function(){return new K3(this,this.c)},l.jc=function(){return this.mc(this.hc())},l.kc=function(){return new Eqt(this)},l.lc=function(){return Mst(this.c.vc().Nc(),new F,64,this.d)},l.cc=function(e){return ji(this,e)},l.fc=function(e){return HD(this,e)},l.gc=function(){return this.d},l.mc=function(e){return pn(),new T(e)},l.nc=function(){return new kqt(this)},l.oc=function(){return Mst(this.c.Cc().Nc(),new N,64,this.d)},l.pc=function(e,n){return new O$(this,e,n,null)},l.d=0,P(Xe,"AbstractMapBasedMultimap",726),D(1631,726,kb),l.hc=function(){return new iu(this.a)},l.jc=function(){return pn(),pn(),mo},l.cc=function(e){return u(ji(this,e),15)},l.fc=function(e){return u(HD(this,e),15)},l.Zb=function(){return z6(this)},l.Fb=function(e){return Eit(this,e)},l.qc=function(e){return u(ji(this,e),15)},l.rc=function(e){return u(HD(this,e),15)},l.mc=function(e){return nD(u(e,15))},l.pc=function(e,n){return wZt(this,e,u(n,15),null)},P(Xe,"AbstractListMultimap",1631),D(732,1,va),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.c.Ob()||this.e.Ob()},l.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),42),this.b=e.cd(),this.a=u(e.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},l.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},P(Xe,"AbstractMapBasedMultimap/Itr",732),D(1099,732,va,kqt),l.sc=function(e,n){return n},P(Xe,"AbstractMapBasedMultimap/1",1099),D(1100,1,{},N),l.Kb=function(e){return u(e,14).Nc()},P(Xe,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),D(1101,732,va,Eqt),l.sc=function(e,n){return new _v(e,n)},P(Xe,"AbstractMapBasedMultimap/2",1101);var V8t=ls(Ar,"Map");D(1967,1,pw),l.wc=function(e){U_(this,e)},l.yc=function(e,n,r){return $it(this,e,n,r)},l.$b=function(){this.vc().$b()},l.tc=function(e){return dst(this,e)},l._b=function(e){return!!p4t(this,e,!1)},l.uc=function(e){var n,r,s;for(r=this.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),s=n.dd(),Ut(e)===Ut(s)||e!=null&&Pi(e,s))return!0;return!1},l.Fb=function(e){var n,r,s;if(e===this)return!0;if(!_t(e,83)||(s=u(e,83),this.gc()!=s.gc()))return!1;for(r=s.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),!this.tc(n))return!1;return!0},l.xc=function(e){return gc(p4t(this,e,!1))},l.Hb=function(){return gyt(this.vc())},l.dc=function(){return this.gc()==0},l.ec=function(){return new Tm(this)},l.zc=function(e,n){throw et(new Tg("Put not supported on this map"))},l.Ac=function(e){G_(this,e)},l.Bc=function(e){return gc(p4t(this,e,!0))},l.gc=function(){return this.vc().gc()},l.Ib=function(){return eae(this)},l.Cc=function(){return new T1(this)},P(Ar,"AbstractMap",1967),D(1987,1967,pw),l.bc=function(){return new CR(this)},l.vc=function(){return vYt(this)},l.ec=function(){var e;return e=this.g,e||(this.g=this.bc())},l.Cc=function(){var e;return e=this.i,e||(this.i=new QHt(this))},P(Xe,"Maps/ViewCachingAbstractMap",1987),D(389,1987,pw,r8),l.xc=function(e){return Ban(this,e)},l.Bc=function(e){return Jcn(this,e)},l.$b=function(){this.d==this.e.c?this.e.$b():Nj(new Fvt(this))},l._b=function(e){return Ire(this.d,e)},l.Ec=function(){return new zk(this)},l.Dc=function(){return this.Ec()},l.Fb=function(e){return this===e||Pi(this.d,e)},l.Hb=function(){return es(this.d)},l.ec=function(){return this.e.ec()},l.gc=function(){return this.d.gc()},l.Ib=function(){return tc(this.d)},P(Xe,"AbstractMapBasedMultimap/AsMap",389);var G1=ls(lc,"Iterable");D(28,1,wy),l.Jc=function(e){Pa(this,e)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new _n(this,0)},l.Oc=function(){return new En(null,this.Nc())},l.Fc=function(e){throw et(new Tg("Add not supported on this collection"))},l.Gc=function(e){return so(this,e)},l.$b=function(){xwt(this)},l.Hc=function(e){return ry(this,e,!1)},l.Ic=function(e){return PD(this,e)},l.dc=function(){return this.gc()==0},l.Mc=function(e){return ry(this,e,!0)},l.Pc=function(){return Yvt(this)},l.Qc=function(e){return JD(this,e)},l.Ib=function(){return e2(this)},P(Ar,"AbstractCollection",28);var Gh=ls(Ar,"Set");D(q1,28,Xu),l.Nc=function(){return new _n(this,1)},l.Fb=function(e){return _ie(this,e)},l.Hb=function(){return gyt(this)},P(Ar,"AbstractSet",q1),D(1970,q1,Xu),P(Xe,"Sets/ImprovedAbstractSet",1970),D(1971,1970,Xu),l.$b=function(){this.Rc().$b()},l.Hc=function(e){return aie(this,e)},l.dc=function(){return this.Rc().dc()},l.Mc=function(e){var n;return this.Hc(e)?(n=u(e,42),this.Rc().ec().Mc(n.cd())):!1},l.gc=function(){return this.Rc().gc()},P(Xe,"Maps/EntrySet",1971),D(1097,1971,Xu,zk),l.Hc=function(e){return Hyt(this.a.d.vc(),e)},l.Kc=function(){return new Fvt(this.a)},l.Rc=function(){return this.a},l.Mc=function(e){var n;return Hyt(this.a.d.vc(),e)?(n=u(e,42),Esn(this.a.e,n.cd()),!0):!1},l.Nc=function(){return KM(this.a.d.vc().Nc(),new WB(this.a))},P(Xe,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),D(1098,1,{},WB),l.Kb=function(e){return oJt(this.a,u(e,42))},P(Xe,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),D(730,1,va,Fvt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){var e;return e=u(this.b.Pb(),42),this.a=u(e.dd(),14),oJt(this.c,e)},l.Ob=function(){return this.b.Ob()},l.Qb=function(){r4(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},P(Xe,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),D(532,1970,Xu,CR),l.$b=function(){this.b.$b()},l.Hc=function(e){return this.b._b(e)},l.Jc=function(e){zr(e),this.b.wc(new gtt(e))},l.dc=function(){return this.b.dc()},l.Kc=function(){return new IT(this.b.vc().Kc())},l.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},l.gc=function(){return this.b.gc()},P(Xe,"Maps/KeySet",532),D(318,532,Xu,K3),l.$b=function(){var e;Nj((e=this.b.vc().Kc(),new c2t(this,e)))},l.Ic=function(e){return this.b.ec().Ic(e)},l.Fb=function(e){return this===e||Pi(this.b.ec(),e)},l.Hb=function(){return es(this.b.ec())},l.Kc=function(){var e;return e=this.b.vc().Kc(),new c2t(this,e)},l.Mc=function(e){var n,r;return r=0,n=u(this.b.Bc(e),14),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},l.Nc=function(){return this.b.ec().Nc()},P(Xe,"AbstractMapBasedMultimap/KeySet",318),D(731,1,va,c2t),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.c.Ob()},l.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},l.Qb=function(){var e;r4(!!this.a),e=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},P(Xe,"AbstractMapBasedMultimap/KeySet/1",731),D(491,389,{83:1,161:1},zM),l.bc=function(){return this.Sc()},l.ec=function(){return this.Tc()},l.Sc=function(){return new vM(this.c,this.Uc())},l.Tc=function(){var e;return e=this.b,e||(this.b=this.Sc())},l.Uc=function(){return u(this.d,161)},P(Xe,"AbstractMapBasedMultimap/SortedAsMap",491),D(542,491,$he,kj),l.bc=function(){return new n8(this.a,u(u(this.d,161),171))},l.Sc=function(){return new n8(this.a,u(u(this.d,161),171))},l.ec=function(){var e;return e=this.b,u(e||(this.b=new n8(this.a,u(u(this.d,161),171))),271)},l.Tc=function(){var e;return e=this.b,u(e||(this.b=new n8(this.a,u(u(this.d,161),171))),271)},l.Uc=function(){return u(u(this.d,161),171)},P(Xe,"AbstractMapBasedMultimap/NavigableAsMap",542),D(490,318,zhe,vM),l.Nc=function(){return this.b.ec().Nc()},P(Xe,"AbstractMapBasedMultimap/SortedKeySet",490),D(388,490,S6t,n8),P(Xe,"AbstractMapBasedMultimap/NavigableKeySet",388),D(541,28,wy,O$),l.Fc=function(e){var n,r;return vl(this),r=this.d.dc(),n=this.d.Fc(e),n&&(++this.f.d,r&&GM(this)),n},l.Gc=function(e){var n,r,s;return e.dc()?!1:(s=(vl(this),this.d.gc()),n=this.d.Gc(e),n&&(r=this.d.gc(),this.f.d+=r-s,s==0&&GM(this)),n)},l.$b=function(){var e;e=(vl(this),this.d.gc()),e!=0&&(this.d.$b(),this.f.d-=e,$j(this))},l.Hc=function(e){return vl(this),this.d.Hc(e)},l.Ic=function(e){return vl(this),this.d.Ic(e)},l.Fb=function(e){return e===this?!0:(vl(this),Pi(this.d,e))},l.Hb=function(){return vl(this),es(this.d)},l.Kc=function(){return vl(this),new kvt(this)},l.Mc=function(e){var n;return vl(this),n=this.d.Mc(e),n&&(--this.f.d,$j(this)),n},l.gc=function(){return NGt(this)},l.Nc=function(){return vl(this),this.d.Nc()},l.Ib=function(){return vl(this),tc(this.d)},P(Xe,"AbstractMapBasedMultimap/WrappedCollection",541);var Eh=ls(Ar,"List");D(728,541,{20:1,28:1,14:1,15:1},Qvt),l.ad=function(e){n4(this,e)},l.Nc=function(){return vl(this),this.d.Nc()},l.Vc=function(e,n){var r;vl(this),r=this.d.dc(),u(this.d,15).Vc(e,n),++this.a.d,r&&GM(this)},l.Wc=function(e,n){var r,s,o;return n.dc()?!1:(o=(vl(this),this.d.gc()),r=u(this.d,15).Wc(e,n),r&&(s=this.d.gc(),this.a.d+=s-o,o==0&&GM(this)),r)},l.Xb=function(e){return vl(this),u(this.d,15).Xb(e)},l.Xc=function(e){return vl(this),u(this.d,15).Xc(e)},l.Yc=function(){return vl(this),new gUt(this)},l.Zc=function(e){return vl(this),new SXt(this,e)},l.$c=function(e){var n;return vl(this),n=u(this.d,15).$c(e),--this.a.d,$j(this),n},l._c=function(e,n){return vl(this),u(this.d,15)._c(e,n)},l.bd=function(e,n){return vl(this),wZt(this.a,this.e,u(this.d,15).bd(e,n),this.b?this.b:this)},P(Xe,"AbstractMapBasedMultimap/WrappedList",728),D(1096,728,{20:1,28:1,14:1,15:1,54:1},iWt),P(Xe,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),D(620,1,va,kvt),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return T8(this),this.b.Ob()},l.Pb=function(){return T8(this),this.b.Pb()},l.Qb=function(){zUt(this)},P(Xe,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),D(729,620,r0,gUt,SXt),l.Qb=function(){zUt(this)},l.Rb=function(e){var n;n=NGt(this.a)==0,(T8(this),u(this.b,125)).Rb(e),++this.a.a.d,n&&GM(this.a)},l.Sb=function(){return(T8(this),u(this.b,125)).Sb()},l.Tb=function(){return(T8(this),u(this.b,125)).Tb()},l.Ub=function(){return(T8(this),u(this.b,125)).Ub()},l.Vb=function(){return(T8(this),u(this.b,125)).Vb()},l.Wb=function(e){(T8(this),u(this.b,125)).Wb(e)},P(Xe,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),D(727,541,zhe,Hbt),l.Nc=function(){return vl(this),this.d.Nc()},P(Xe,"AbstractMapBasedMultimap/WrappedSortedSet",727),D(1095,727,S6t,aUt),P(Xe,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),D(1094,541,Xu,wWt),l.Nc=function(){return vl(this),this.d.Nc()},P(Xe,"AbstractMapBasedMultimap/WrappedSet",1094),D(1103,1,{},F),l.Kb=function(e){return Lsn(u(e,42))},P(Xe,"AbstractMapBasedMultimap/lambda$1$Type",1103),D(1102,1,{},ett),l.Kb=function(e){return new _v(this.a,e)},P(Xe,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Ib=ls(Ar,"Map/Entry");D(345,1,Iq),l.Fb=function(e){var n;return _t(e,42)?(n=u(e,42),md(this.cd(),n.cd())&&md(this.dd(),n.dd())):!1},l.Hb=function(){var e,n;return e=this.cd(),n=this.dd(),(e==null?0:es(e))^(n==null?0:es(n))},l.ed=function(e){throw et(new Gr)},l.Ib=function(){return this.cd()+"="+this.dd()},P(Xe,qhe,345),D(1988,28,wy),l.$b=function(){this.fd().$b()},l.Hc=function(e){var n;return _t(e,42)?(n=u(e,42),uin(this.fd(),n.cd(),n.dd())):!1},l.Mc=function(e){var n;return _t(e,42)?(n=u(e,42),ZQt(this.fd(),n.cd(),n.dd())):!1},l.gc=function(){return this.fd().d},P(Xe,"Multimaps/Entries",1988),D(733,1988,wy,tM),l.Kc=function(){return this.a.kc()},l.fd=function(){return this.a},l.Nc=function(){return this.a.lc()},P(Xe,"AbstractMultimap/Entries",733),D(734,733,Xu,Rpt),l.Nc=function(){return this.a.lc()},l.Fb=function(e){return O4t(this,e)},l.Hb=function(){return Jee(this)},P(Xe,"AbstractMultimap/EntrySet",734),D(735,28,wy,D3),l.$b=function(){this.a.$b()},l.Hc=function(e){return Wcn(this.a,e)},l.Kc=function(){return this.a.nc()},l.gc=function(){return this.a.d},l.Nc=function(){return this.a.oc()},P(Xe,"AbstractMultimap/Values",735),D(1989,28,{835:1,20:1,28:1,14:1}),l.Jc=function(e){zr(e),X3(this).Jc(new dtt(e))},l.Nc=function(){var e;return e=X3(this).Nc(),Mst(e,new xt,64|e.qd()&1296,this.a.d)},l.Fc=function(e){return Wpt(),!0},l.Gc=function(e){return zr(this),zr(e),_t(e,543)?gin(u(e,835)):!e.dc()&&Xrt(this,e.Kc())},l.Hc=function(e){var n;return n=u(ny(z6(this.a),e),14),(n?n.gc():0)>0},l.Fb=function(e){return o2n(this,e)},l.Hb=function(){return es(X3(this))},l.dc=function(){return X3(this).dc()},l.Mc=function(e){return woe(this,e,1)>0},l.Ib=function(){return tc(X3(this))},P(Xe,"AbstractMultiset",1989),D(1991,1970,Xu),l.$b=function(){J$(this.a.a)},l.Hc=function(e){var n,r;return _t(e,492)?(r=u(e,416),u(r.a.dd(),14).gc()<=0?!1:(n=AQt(this.a,r.a.cd()),n==u(r.a.dd(),14).gc())):!1},l.Mc=function(e){var n,r,s,o;return _t(e,492)&&(r=u(e,416),n=r.a.cd(),s=u(r.a.dd(),14).gc(),s!=0)?(o=this.a,Ygn(o,n,s)):!1},P(Xe,"Multisets/EntrySet",1991),D(1109,1991,Xu,eM),l.Kc=function(){return new Dqt(vYt(z6(this.a.a)).Kc())},l.gc=function(){return z6(this.a.a).gc()},P(Xe,"AbstractMultiset/EntrySet",1109),D(619,726,kb),l.hc=function(){return this.gd()},l.jc=function(){return this.hd()},l.cc=function(e){return this.jd(e)},l.fc=function(e){return this.kd(e)},l.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},l.hd=function(){return pn(),pn(),KH},l.Fb=function(e){return Eit(this,e)},l.jd=function(e){return u(ji(this,e),21)},l.kd=function(e){return u(HD(this,e),21)},l.mc=function(e){return pn(),new Zk(u(e,21))},l.pc=function(e,n){return new wWt(this,e,u(n,21))},P(Xe,"AbstractSetMultimap",619),D(1657,619,kb),l.hc=function(){return new Op(this.b)},l.gd=function(){return new Op(this.b)},l.jc=function(){return fwt(new Op(this.b))},l.hd=function(){return fwt(new Op(this.b))},l.cc=function(e){return u(u(ji(this,e),21),84)},l.jd=function(e){return u(u(ji(this,e),21),84)},l.fc=function(e){return u(u(HD(this,e),21),84)},l.kd=function(e){return u(u(HD(this,e),21),84)},l.mc=function(e){return _t(e,271)?fwt(u(e,271)):(pn(),new kbt(u(e,84)))},l.Zb=function(){var e;return e=this.f,e||(this.f=_t(this.c,171)?new kj(this,u(this.c,171)):_t(this.c,161)?new zM(this,u(this.c,161)):new r8(this,this.c))},l.pc=function(e,n){return _t(n,271)?new aUt(this,e,u(n,271)):new Hbt(this,e,u(n,84))},P(Xe,"AbstractSortedSetMultimap",1657),D(1658,1657,kb),l.Zb=function(){var e;return e=this.f,u(u(e||(this.f=_t(this.c,171)?new kj(this,u(this.c,171)):_t(this.c,161)?new zM(this,u(this.c,161)):new r8(this,this.c)),161),171)},l.ec=function(){var e;return e=this.i,u(u(e||(this.i=_t(this.c,171)?new n8(this,u(this.c,171)):_t(this.c,161)?new vM(this,u(this.c,161)):new K3(this,this.c)),84),271)},l.bc=function(){return _t(this.c,171)?new n8(this,u(this.c,171)):_t(this.c,161)?new vM(this,u(this.c,161)):new K3(this,this.c)},P(Xe,"AbstractSortedKeySortedSetMultimap",1658),D(2010,1,{1947:1}),l.Fb=function(e){return R1n(this,e)},l.Hb=function(){var e;return gyt((e=this.g,e||(this.g=new vT(this))))},l.Ib=function(){var e;return eae((e=this.f,e||(this.f=new gbt(this))))},P(Xe,"AbstractTable",2010),D(665,q1,Xu,vT),l.$b=function(){zqt()},l.Hc=function(e){var n,r;return _t(e,468)?(n=u(e,682),r=u(ny($Yt(this.a),Fp(n.c.e,n.b)),83),!!r&&Hyt(r.vc(),new _v(Fp(n.c.c,n.a),K6(n.c,n.b,n.a)))):!1},l.Kc=function(){return knn(this.a)},l.Mc=function(e){var n,r;return _t(e,468)?(n=u(e,682),r=u(ny($Yt(this.a),Fp(n.c.e,n.b)),83),!!r&&yun(r.vc(),new _v(Fp(n.c.c,n.a),K6(n.c,n.b,n.a)))):!1},l.gc=function(){return ZKt(this.a)},l.Nc=function(){return vin(this.a)},P(Xe,"AbstractTable/CellSet",665),D(1928,28,wy,ntt),l.$b=function(){zqt()},l.Hc=function(e){return Ldn(this.a,e)},l.Kc=function(){return Enn(this.a)},l.gc=function(){return ZKt(this.a)},l.Nc=function(){return eZt(this.a)},P(Xe,"AbstractTable/Values",1928),D(1632,1631,kb),P(Xe,"ArrayListMultimapGwtSerializationDependencies",1632),D(513,1632,kb,set,Bwt),l.hc=function(){return new iu(this.a)},l.a=0,P(Xe,"ArrayListMultimap",513),D(664,2010,{664:1,1947:1,3:1},Aoe),P(Xe,"ArrayTable",664),D(1924,386,L7,NUt),l.Xb=function(e){return new wyt(this.a,e)},P(Xe,"ArrayTable/1",1924),D(1925,1,{},UB),l.ld=function(e){return new wyt(this.a,e)},P(Xe,"ArrayTable/1methodref$getCell$Type",1925),D(2011,1,{682:1}),l.Fb=function(e){var n;return e===this?!0:_t(e,468)?(n=u(e,682),md(Fp(this.c.e,this.b),Fp(n.c.e,n.b))&&md(Fp(this.c.c,this.a),Fp(n.c.c,n.a))&&md(K6(this.c,this.b,this.a),K6(n.c,n.b,n.a))):!1},l.Hb=function(){return mz(ct(ot(ir,1),De,1,5,[Fp(this.c.e,this.b),Fp(this.c.c,this.a),K6(this.c,this.b,this.a)]))},l.Ib=function(){return"("+Fp(this.c.e,this.b)+","+Fp(this.c.c,this.a)+")="+K6(this.c,this.b,this.a)},P(Xe,"Tables/AbstractCell",2011),D(468,2011,{468:1,682:1},wyt),l.a=0,l.b=0,l.d=0,P(Xe,"ArrayTable/2",468),D(1927,1,{},c6),l.ld=function(e){return fte(this.a,e)},P(Xe,"ArrayTable/2methodref$getValue$Type",1927),D(1926,386,L7,FUt),l.Xb=function(e){return fte(this.a,e)},P(Xe,"ArrayTable/3",1926),D(1979,1967,pw),l.$b=function(){Nj(this.kc())},l.vc=function(){return new l6(this)},l.lc=function(){return new gXt(this.kc(),this.gc())},P(Xe,"Maps/IteratorBasedAbstractMap",1979),D(828,1979,pw),l.$b=function(){throw et(new Gr)},l._b=function(e){return aHt(this.c,e)},l.kc=function(){return new BUt(this,this.c.b.c.gc())},l.lc=function(){return Cnt(this.c.b.c.gc(),16,new fv(this))},l.xc=function(e){var n;return n=u(w_(this.c,e),19),n?this.nd(n.a):null},l.dc=function(){return this.c.b.c.dc()},l.ec=function(){return Pnt(this.c)},l.zc=function(e,n){var r;if(r=u(w_(this.c,e),19),!r)throw et(new Bn(this.md()+" "+e+" not in "+Pnt(this.c)));return this.od(r.a,n)},l.Bc=function(e){throw et(new Gr)},l.gc=function(){return this.c.b.c.gc()},P(Xe,"ArrayTable/ArrayMap",828),D(1923,1,{},fv),l.ld=function(e){return qYt(this.a,e)},P(Xe,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),D(1921,345,Iq,$Ht),l.cd=function(){return RXe(this.a,this.b)},l.dd=function(){return this.a.nd(this.b)},l.ed=function(e){return this.a.od(this.b,e)},l.b=0,P(Xe,"ArrayTable/ArrayMap/1",1921),D(1922,386,L7,BUt),l.Xb=function(e){return qYt(this.a,e)},P(Xe,"ArrayTable/ArrayMap/2",1922),D(1920,828,pw,LYt),l.md=function(){return"Column"},l.nd=function(e){return K6(this.b,this.a,e)},l.od=function(e,n){return Rne(this.b,this.a,e,n)},l.a=0,P(Xe,"ArrayTable/Row",1920),D(829,828,pw,gbt),l.nd=function(e){return new LYt(this.a,e)},l.zc=function(e,n){return u(n,83),xKe()},l.od=function(e,n){return u(n,83),kKe()},l.md=function(){return"Row"},P(Xe,"ArrayTable/RowMap",829),D(1120,1,Rh,zHt),l.qd=function(){return this.a.qd()&-262},l.rd=function(){return this.a.rd()},l.Nb=function(e){this.a.Nb(new FHt(e,this.b))},l.sd=function(e){return this.a.sd(new NHt(e,this.b))},P(Xe,"CollectSpliterators/1",1120),D(1121,1,tr,NHt),l.td=function(e){this.a.td(this.b.Kb(e))},P(Xe,"CollectSpliterators/1/lambda$0$Type",1121),D(1122,1,tr,FHt),l.td=function(e){this.a.td(this.b.Kb(e))},P(Xe,"CollectSpliterators/1/lambda$1$Type",1122),D(1123,1,Rh,fZt),l.qd=function(){return this.a},l.rd=function(){return this.d&&(this.b=bUt(this.b,this.d.rd())),bUt(this.b,0)},l.Nb=function(e){this.d&&(this.d.Nb(e),this.d=null),this.c.Nb(new PHt(this.e,e)),this.b=0},l.sd=function(e){for(;;){if(this.d&&this.d.sd(e))return a_(this.b,Oq)&&(this.b=Jp(this.b,1)),!0;if(this.d=null,!this.c.sd(new BHt(this,this.e)))return!1}},l.a=0,l.b=0,P(Xe,"CollectSpliterators/1FlatMapSpliterator",1123),D(1124,1,tr,BHt),l.td=function(e){zQe(this.a,this.b,e)},P(Xe,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),D(1125,1,tr,PHt),l.td=function(e){_Xe(this.b,this.a,e)},P(Xe,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),D(1117,1,Rh,KWt),l.qd=function(){return 16464|this.b},l.rd=function(){return this.a.rd()},l.Nb=function(e){this.a.xe(new jHt(e,this.c))},l.sd=function(e){return this.a.ye(new RHt(e,this.c))},l.b=0,P(Xe,"CollectSpliterators/1WithCharacteristics",1117),D(1118,1,DI,RHt),l.ud=function(e){this.a.td(this.b.ld(e))},P(Xe,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),D(1119,1,DI,jHt),l.ud=function(e){this.a.td(this.b.ld(e))},P(Xe,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),D(245,1,Nat),l.wd=function(e){return this.vd(u(e,245))},l.vd=function(e){var n;return e==(Xtt(),but)?1:e==(Qtt(),put)?-1:(n=(Ij(),MD(this.a,e.a)),n!=0?n:_t(this,519)==_t(e,519)?0:_t(this,519)?1:-1)},l.zd=function(){return this.a},l.Fb=function(e){return x3t(this,e)},P(Xe,"Cut",245),D(1761,245,Nat,Vqt),l.vd=function(e){return e==this?0:1},l.xd=function(e){throw et(new ypt)},l.yd=function(e){e.a+="+∞)"},l.zd=function(){throw et(new Xo(Vhe))},l.Hb=function(){return Ud(),M3t(this)},l.Ad=function(e){return!1},l.Ib=function(){return"+∞"};var put;P(Xe,"Cut/AboveAll",1761),D(519,245,{245:1,519:1,3:1,35:1},qUt),l.xd=function(e){Cc((e.a+="(",e),this.a)},l.yd=function(e){qp(Cc(e,this.a),93)},l.Hb=function(){return~es(this.a)},l.Ad=function(e){return Ij(),MD(this.a,e)<0},l.Ib=function(){return"/"+this.a+"\\"},P(Xe,"Cut/AboveValue",519),D(1760,245,Nat,Gqt),l.vd=function(e){return e==this?0:-1},l.xd=function(e){e.a+="(-∞"},l.yd=function(e){throw et(new ypt)},l.zd=function(){throw et(new Xo(Vhe))},l.Hb=function(){return Ud(),M3t(this)},l.Ad=function(e){return!0},l.Ib=function(){return"-∞"};var but;P(Xe,"Cut/BelowAll",1760),D(1762,245,Nat,HUt),l.xd=function(e){Cc((e.a+="[",e),this.a)},l.yd=function(e){qp(Cc(e,this.a),41)},l.Hb=function(){return es(this.a)},l.Ad=function(e){return Ij(),MD(this.a,e)<=0},l.Ib=function(){return"\\"+this.a+"/"},P(Xe,"Cut/BelowValue",1762),D(537,1,i0),l.Jc=function(e){Pa(this,e)},l.Ib=function(){return Xun(u(s$(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},P(Xe,"FluentIterable",537),D(433,537,i0,u_),l.Kc=function(){return new pr(xr(this.a.Kc(),new H))},P(Xe,"FluentIterable/2",433),D(1046,537,i0,WGt),l.Kc=function(){return zp(this)},P(Xe,"FluentIterable/3",1046),D(708,386,L7,pbt),l.Xb=function(e){return this.a[e].Kc()},P(Xe,"FluentIterable/3/1",708),D(1972,1,{}),l.Ib=function(){return tc(this.Bd().b)},P(Xe,"ForwardingObject",1972),D(1973,1972,Ghe),l.Bd=function(){return this.Cd()},l.Jc=function(e){Pa(this,e)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new _n(this,0)},l.Oc=function(){return new En(null,this.Nc())},l.Fc=function(e){return this.Cd(),lHt()},l.Gc=function(e){return this.Cd(),hHt()},l.$b=function(){this.Cd(),fHt()},l.Hc=function(e){return this.Cd().Hc(e)},l.Ic=function(e){return this.Cd().Ic(e)},l.dc=function(){return this.Cd().b.dc()},l.Kc=function(){return this.Cd().Kc()},l.Mc=function(e){return this.Cd(),dHt()},l.gc=function(){return this.Cd().b.gc()},l.Pc=function(){return this.Cd().Pc()},l.Qc=function(e){return this.Cd().Qc(e)},P(Xe,"ForwardingCollection",1973),D(1980,28,A6t),l.Kc=function(){return this.Ed()},l.Fc=function(e){throw et(new Gr)},l.Gc=function(e){throw et(new Gr)},l.$b=function(){throw et(new Gr)},l.Hc=function(e){return e!=null&&ry(this,e,!1)},l.Dd=function(){switch(this.gc()){case 0:return Vm(),Vm(),vut;case 1:return Vm(),new Snt(zr(this.Ed().Pb()));default:return new MYt(this,this.Pc())}},l.Mc=function(e){throw et(new Gr)},P(Xe,"ImmutableCollection",1980),D(712,1980,A6t,wpt),l.Kc=function(){return Y6(this.a.Kc())},l.Hc=function(e){return e!=null&&this.a.Hc(e)},l.Ic=function(e){return this.a.Ic(e)},l.dc=function(){return this.a.dc()},l.Ed=function(){return Y6(this.a.Kc())},l.gc=function(){return this.a.gc()},l.Pc=function(){return this.a.Pc()},l.Qc=function(e){return this.a.Qc(e)},l.Ib=function(){return tc(this.a)},P(Xe,"ForwardingImmutableCollection",712),D(152,1980,SC),l.Kc=function(){return this.Ed()},l.Yc=function(){return this.Fd(0)},l.Zc=function(e){return this.Fd(e)},l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.bd=function(e,n){return this.Gd(e,n)},l.Vc=function(e,n){throw et(new Gr)},l.Wc=function(e,n){throw et(new Gr)},l.Fb=function(e){return Gpn(this,e)},l.Hb=function(){return ncn(this)},l.Xc=function(e){return e==null?-1:pfn(this,e)},l.Ed=function(){return this.Fd(0)},l.Fd=function(e){return Mbt(this,e)},l.$c=function(e){throw et(new Gr)},l._c=function(e,n){throw et(new Gr)},l.Gd=function(e,n){var r;return kz((r=new ZHt(this),new Zd(r,e,n)))};var vut;P(Xe,"ImmutableList",152),D(2006,152,SC),l.Kc=function(){return Y6(this.Hd().Kc())},l.bd=function(e,n){return kz(this.Hd().bd(e,n))},l.Hc=function(e){return e!=null&&this.Hd().Hc(e)},l.Ic=function(e){return this.Hd().Ic(e)},l.Fb=function(e){return Pi(this.Hd(),e)},l.Xb=function(e){return Fp(this,e)},l.Hb=function(){return es(this.Hd())},l.Xc=function(e){return this.Hd().Xc(e)},l.dc=function(){return this.Hd().dc()},l.Ed=function(){return Y6(this.Hd().Kc())},l.gc=function(){return this.Hd().gc()},l.Gd=function(e,n){return kz(this.Hd().bd(e,n))},l.Pc=function(){return this.Hd().Qc(Pt(ir,De,1,this.Hd().gc(),5,1))},l.Qc=function(e){return this.Hd().Qc(e)},l.Ib=function(){return tc(this.Hd())},P(Xe,"ForwardingImmutableList",2006),D(714,1,M7),l.vc=function(){return Pv(this)},l.wc=function(e){U_(this,e)},l.ec=function(){return Pnt(this)},l.yc=function(e,n,r){return $it(this,e,n,r)},l.Cc=function(){return this.Ld()},l.$b=function(){throw et(new Gr)},l._b=function(e){return this.xc(e)!=null},l.uc=function(e){return this.Ld().Hc(e)},l.Jd=function(){return new Nzt(this)},l.Kd=function(){return new Fzt(this)},l.Fb=function(e){return Kcn(this,e)},l.Hb=function(){return Pv(this).Hb()},l.dc=function(){return this.gc()==0},l.zc=function(e,n){return EKe()},l.Bc=function(e){throw et(new Gr)},l.Ib=function(){return C0n(this)},l.Ld=function(){return this.e?this.e:this.e=this.Kd()},l.c=null,l.d=null,l.e=null;var sge;P(Xe,"ImmutableMap",714),D(715,714,M7),l._b=function(e){return aHt(this,e)},l.uc=function(e){return nVt(this.b,e)},l.Id=function(){return Dre(new mT(this))},l.Jd=function(){return Dre(lXt(this.b))},l.Kd=function(){return wd(),new wpt(uXt(this.b))},l.Fb=function(e){return rVt(this.b,e)},l.xc=function(e){return w_(this,e)},l.Hb=function(){return es(this.b.c)},l.dc=function(){return this.b.c.dc()},l.gc=function(){return this.b.c.gc()},l.Ib=function(){return tc(this.b.c)},P(Xe,"ForwardingImmutableMap",715),D(1974,1973,Fat),l.Bd=function(){return this.Md()},l.Cd=function(){return this.Md()},l.Nc=function(){return new _n(this,1)},l.Fb=function(e){return e===this||this.Md().Fb(e)},l.Hb=function(){return this.Md().Hb()},P(Xe,"ForwardingSet",1974),D(1069,1974,Fat,mT),l.Bd=function(){return k8(this.a.b)},l.Cd=function(){return k8(this.a.b)},l.Hc=function(e){if(_t(e,42)&&u(e,42).cd()==null)return!1;try{return eVt(k8(this.a.b),e)}catch(n){if(n=as(n),_t(n,205))return!1;throw et(n)}},l.Md=function(){return k8(this.a.b)},l.Qc=function(e){var n;return n=GXt(k8(this.a.b),e),k8(this.a.b).b.gc()<n.length&&ds(n,k8(this.a.b).b.gc(),null),n},P(Xe,"ForwardingImmutableMap/1",1069),D(1981,1980,D7),l.Kc=function(){return this.Ed()},l.Nc=function(){return new _n(this,1)},l.Fb=function(e){return O4t(this,e)},l.Hb=function(){return Jee(this)},P(Xe,"ImmutableSet",1981),D(703,1981,D7),l.Kc=function(){return Y6(new L(this.a.b.Kc()))},l.Hc=function(e){return e!=null&&wM(this.a,e)},l.Ic=function(e){return JHt(this.a,e)},l.Hb=function(){return es(this.a.b)},l.dc=function(){return this.a.b.dc()},l.Ed=function(){return Y6(new L(this.a.b.Kc()))},l.gc=function(){return this.a.b.gc()},l.Pc=function(){return this.a.b.Pc()},l.Qc=function(e){return tVt(this.a,e)},l.Ib=function(){return tc(this.a.b)},P(Xe,"ForwardingImmutableSet",703),D(1975,1974,Uhe),l.Bd=function(){return this.b},l.Cd=function(){return this.b},l.Md=function(){return this.b},l.Nc=function(){return new RR(this)},P(Xe,"ForwardingSortedSet",1975),D(533,1979,M7,Gz),l.Ac=function(e){G_(this,e)},l.Cc=function(){var e;return e=this.d,new Qet(e||(this.d=new u6(this)))},l.$b=function(){hD(this)},l._b=function(e){return!!H_(this,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))))},l.uc=function(e){return uee(this,e)},l.kc=function(){return new RUt(this,this)},l.wc=function(e){nQt(this,e)},l.xc=function(e){return e4(this,e)},l.ec=function(){return new Zet(this)},l.zc=function(e,n){return mq(this,e,n)},l.Bc=function(e){var n;return n=H_(this,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))),n?(w4(this,n),n.e=null,n.c=null,n.i):null},l.gc=function(){return this.i},l.pd=function(){var e;return e=this.d,new Qet(e||(this.d=new u6(this)))},l.f=0,l.g=0,l.i=0,P(Xe,"HashBiMap",533),D(534,1,va),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return xZt(this)},l.Pb=function(){var e;if(!xZt(this))throw et(new _c);return e=this.c,this.c=e.c,this.f=e,--this.d,this.Nd(e)},l.Qb=function(){if(this.e.g!=this.b)throw et(new uh);r4(!!this.f),w4(this.e,this.f),this.b=this.e.g,this.f=null},l.b=0,l.d=0,l.f=null,P(Xe,"HashBiMap/Itr",534),D(1011,534,va,RUt),l.Nd=function(e){return new VHt(this,e)},P(Xe,"HashBiMap/1",1011),D(1012,345,Iq,VHt),l.cd=function(){return this.a.g},l.dd=function(){return this.a.i},l.ed=function(e){var n,r,s;return r=this.a.i,s=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),s==this.a.f&&(Ut(e)===Ut(r)||e!=null&&Pi(e,r))?e:(Pne(!V_(this.b.a,e,s),e),w4(this.b.a,this.a),n=new Zj(this.a.g,this.a.a,e,s),lI(this.b.a,n,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=n),this.a=n,r)},P(Xe,"HashBiMap/1/MapEntry",1012),D(238,345,{345:1,238:1,3:1,42:1},_v),l.cd=function(){return this.g},l.dd=function(){return this.i},l.ed=function(e){throw et(new Gr)},P(Xe,"ImmutableEntry",238),D(317,238,{345:1,317:1,238:1,3:1,42:1},Zj),l.a=0,l.f=0;var wut=P(Xe,"HashBiMap/BiEntry",317);D(610,1979,M7,u6),l.Ac=function(e){G_(this,e)},l.Cc=function(){return new Zet(this.a)},l.$b=function(){hD(this.a)},l._b=function(e){return uee(this.a,e)},l.kc=function(){return new jUt(this,this.a)},l.wc=function(e){zr(e),nQt(this.a,new nM(e))},l.xc=function(e){return nz(this,e)},l.ec=function(){return new Qet(this)},l.zc=function(e,n){return Xwn(this.a,e,n,!1)},l.Bc=function(e){var n;return n=V_(this.a,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))),n?(w4(this.a,n),n.e=null,n.c=null,n.g):null},l.gc=function(){return this.a.i},l.pd=function(){return new Zet(this.a)},P(Xe,"HashBiMap/Inverse",610),D(1008,534,va,jUt),l.Nd=function(e){return new GHt(this,e)},P(Xe,"HashBiMap/Inverse/1",1008),D(1009,345,Iq,GHt),l.cd=function(){return this.a.i},l.dd=function(){return this.a.g},l.ed=function(e){var n,r,s;return s=this.a.g,n=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),n==this.a.a&&(Ut(e)===Ut(s)||e!=null&&Pi(e,s))?e:(Pne(!H_(this.b.a.a,e,n),e),w4(this.b.a.a,this.a),r=new Zj(e,n,this.a.i,this.a.f),this.a=r,lI(this.b.a.a,r,null),this.b.b=this.b.a.a.g,s)},P(Xe,"HashBiMap/Inverse/1/InverseEntry",1009),D(611,532,Xu,Qet),l.Kc=function(){return new Aqt(this.a.a)},l.Mc=function(e){var n;return n=V_(this.a.a,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))),n?(w4(this.a.a,n),!0):!1},P(Xe,"HashBiMap/Inverse/InverseKeySet",611),D(1007,534,va,Aqt),l.Nd=function(e){return e.i},P(Xe,"HashBiMap/Inverse/InverseKeySet/1",1007),D(1010,1,{},nM),l.Od=function(e,n){eKe(this.a,e,n)},P(Xe,"HashBiMap/Inverse/lambda$0$Type",1010),D(609,532,Xu,Zet),l.Kc=function(){return new Lqt(this.a)},l.Mc=function(e){var n;return n=H_(this.a,e,$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15)))),n?(w4(this.a,n),n.e=null,n.c=null,!0):!1},P(Xe,"HashBiMap/KeySet",609),D(1006,534,va,Lqt),l.Nd=function(e){return e.g},P(Xe,"HashBiMap/KeySet/1",1006),D(1093,619,kb),P(Xe,"HashMultimapGwtSerializationDependencies",1093),D(265,1093,kb,qv),l.hc=function(){return new ER(Qm(this.a))},l.gd=function(){return new ER(Qm(this.a))},l.a=2,P(Xe,"HashMultimap",265),D(1999,152,SC),l.Hc=function(e){return this.Pd().Hc(e)},l.dc=function(){return this.Pd().dc()},l.gc=function(){return this.Pd().gc()},P(Xe,"ImmutableAsList",1999),D(1931,715,M7),l.Ld=function(){return wd(),new k6(this.a)},l.Cc=function(){return wd(),new k6(this.a)},l.pd=function(){return wd(),new k6(this.a)},P(Xe,"ImmutableBiMap",1931),D(1977,1,{}),P(Xe,"ImmutableCollection/Builder",1977),D(1022,703,D7,Mqt),P(Xe,"ImmutableEnumSet",1022),D(969,386,L7,WWt),l.Xb=function(e){return this.a.Xb(e)},P(Xe,"ImmutableList/1",969),D(968,1977,{},SWt),P(Xe,"ImmutableList/Builder",968),D(614,198,A7,rM),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),42).cd()},P(Xe,"ImmutableMap/1",614),D(1041,1,{},j),l.Kb=function(e){return u(e,42).cd()},P(Xe,"ImmutableMap/2methodref$getKey$Type",1041),D(1040,1,{},AWt),P(Xe,"ImmutableMap/Builder",1040),D(2e3,1981,D7),l.Kc=function(){var e;return e=Pv(this.a).Ed(),new rM(e)},l.Dd=function(){return new mpt(this)},l.Jc=function(e){var n,r;for(zr(e),r=this.gc(),n=0;n<r;n++)e.td(u(Zvt(Pv(this.a)).Xb(n),42).cd())},l.Ed=function(){var e;return(e=this.c,e||(this.c=new mpt(this))).Ed()},l.Nc=function(){return Cnt(this.gc(),1296,new itt(this))},P(Xe,"IndexedImmutableSet",2e3),D(1180,2e3,D7,Nzt),l.Kc=function(){var e;return e=Pv(this.a).Ed(),new rM(e)},l.Hc=function(e){return this.a._b(e)},l.Jc=function(e){zr(e),U_(this.a,new rtt(e))},l.Ed=function(){var e;return e=Pv(this.a).Ed(),new rM(e)},l.gc=function(){return this.a.gc()},l.Nc=function(){return KM(Pv(this.a).Nc(),new j)},P(Xe,"ImmutableMapKeySet",1180),D(1181,1,{},rtt),l.Od=function(e,n){wd(),this.a.td(e)},P(Xe,"ImmutableMapKeySet/lambda$0$Type",1181),D(1178,1980,A6t,Fzt),l.Kc=function(){return new Ent(this)},l.Hc=function(e){return e!=null&&B1n(new Ent(this),e)},l.Ed=function(){return new Ent(this)},l.gc=function(){return this.a.gc()},l.Nc=function(){return KM(Pv(this.a).Nc(),new R)},P(Xe,"ImmutableMapValues",1178),D(1179,1,{},R),l.Kb=function(e){return u(e,42).dd()},P(Xe,"ImmutableMapValues/0methodref$getValue$Type",1179),D(626,198,A7,Ent),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),42).dd()},P(Xe,"ImmutableMapValues/1",626),D(1182,1,{},itt),l.ld=function(e){return IYt(this.a,e)},P(Xe,"IndexedImmutableSet/0methodref$get$Type",1182),D(752,1999,SC,mpt),l.Pd=function(){return this.a},l.Xb=function(e){return IYt(this.a,e)},l.gc=function(){return this.a.a.gc()},P(Xe,"IndexedImmutableSet/1",752),D(44,1,{},H),l.Kb=function(e){return u(e,20).Kc()},l.Fb=function(e){return this===e},P(Xe,"Iterables/10",44),D(1042,537,i0,OKt),l.Jc=function(e){zr(e),this.b.Jc(new UHt(this.a,e))},l.Kc=function(){return ebt(this)},P(Xe,"Iterables/4",1042),D(1043,1,tr,UHt),l.td=function(e){kYe(this.b,this.a,e)},P(Xe,"Iterables/4/lambda$0$Type",1043),D(1044,537,i0,PKt),l.Jc=function(e){zr(e),Pa(this.a,new qHt(e,this.b))},l.Kc=function(){return xr(new hr(this.a),this.b)},P(Xe,"Iterables/5",1044),D(1045,1,tr,qHt),l.td=function(e){this.a.td(iUt(e))},P(Xe,"Iterables/5/lambda$0$Type",1045),D(1071,198,A7,stt),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return this.a.Pb()},P(Xe,"Iterators/1",1071),D(1072,699,A7,HHt),l.Yb=function(){for(var e;this.b.Ob();)if(e=this.b.Pb(),this.a.Lb(e))return e;return this.e=2,null},P(Xe,"Iterators/5",1072),D(487,1,va),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.Qd(this.b.Pb())},l.Qb=function(){this.b.Qb()},P(Xe,"TransformedIterator",487),D(1073,487,va,$Ut),l.Qd=function(e){return this.a.Kb(e)},P(Xe,"Iterators/6",1073),D(717,198,A7,KB),l.Ob=function(){return!this.a},l.Pb=function(){if(this.a)throw et(new _c);return this.a=!0,this.b},l.a=!1,P(Xe,"Iterators/9",717),D(1070,386,L7,rYt),l.Xb=function(e){return this.a[this.b+e]},l.b=0;var age;P(Xe,"Iterators/ArrayItr",1070),D(39,1,{39:1,47:1},pr),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return ti(this)},l.Pb=function(){return qr(this)},l.Qb=function(){r4(!!this.c),this.c.Qb(),this.c=null},P(Xe,"Iterators/ConcatenatedIterator",39),D(22,1,{3:1,35:1,22:1}),l.wd=function(e){return Pqt(this,u(e,22))},l.Fb=function(e){return this===e},l.Hb=function(){return Mv(this)},l.Ib=function(){return snt(this)},l.g=0;var ni=P(lc,"Enum",22);D(538,22,{538:1,3:1,35:1,22:1,47:1},VUt),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return!1},l.Pb=function(){throw et(new _c)},l.Qb=function(){r4(!1)};var mut,oge=Qr(Xe,"Iterators/EmptyModifiableIterator",538,ni,ben,QXe),cge;D(1834,619,kb),P(Xe,"LinkedHashMultimapGwtSerializationDependencies",1834),D(1835,1834,kb,xre),l.hc=function(){return new nnt(Qm(this.b))},l.$b=function(){J$(this),hM(this.a,this.a)},l.gd=function(){return new nnt(Qm(this.b))},l.ic=function(e){return new are(this,e,this.b)},l.kc=function(){return new vbt(this)},l.lc=function(){var e;return new _n((e=this.g,u(e||(this.g=new Rpt(this)),21)),17)},l.ec=function(){var e;return e=this.i,e||(this.i=new K3(this,this.c))},l.nc=function(){return new Hpt(new vbt(this))},l.oc=function(){var e;return KM(new _n((e=this.g,u(e||(this.g=new Rpt(this)),21)),17),new Y)},l.b=2,P(Xe,"LinkedHashMultimap",1835),D(1838,1,{},Y),l.Kb=function(e){return u(e,42).dd()},P(Xe,"LinkedHashMultimap/0methodref$getValue$Type",1838),D(824,1,va,vbt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return Fan(this)},l.Ob=function(){return this.a!=this.b.a},l.Qb=function(){r4(!!this.c),ZQt(this.b,this.c.g,this.c.i),this.c=null},P(Xe,"LinkedHashMultimap/1",824),D(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},mwt),l.Rd=function(){return this.f},l.Sd=function(e){this.c=e},l.Td=function(e){this.f=e},l.d=0;var uge=P(Xe,"LinkedHashMultimap/ValueEntry",330);D(1836,1970,{2020:1,20:1,28:1,14:1,21:1},are),l.Fc=function(e){var n,r,s,o,h;for(h=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),n=h&this.b.length-1,o=this.b[n],r=o;r;r=r.a)if(r.d==h&&md(r.i,e))return!1;return s=new mwt(this.c,e,h,o),qqt(this.d,s),s.f=this,this.d=s,hM(this.g.a.b,s),hM(s,this.g.a),this.b[n]=s,++this.f,++this.e,P1n(this),!0},l.$b=function(){var e,n;for(EM(this.b,null),this.f=0,e=this.a;e!=this;e=e.Rd())n=u(e,330),hM(n.b,n.e);this.a=this,this.d=this,++this.e},l.Hc=function(e){var n,r;for(r=$r(za(s0,Qd($r(za(e==null?0:es(e),a0)),15))),n=this.b[r&this.b.length-1];n;n=n.a)if(n.d==r&&md(n.i,e))return!0;return!1},l.Jc=function(e){var n;for(zr(e),n=this.a;n!=this;n=n.Rd())e.td(u(n,330).i)},l.Rd=function(){return this.a},l.Kc=function(){return new ZYt(this)},l.Mc=function(e){return Yoe(this,e)},l.Sd=function(e){this.d=e},l.Td=function(e){this.a=e},l.gc=function(){return this.f},l.e=0,l.f=0,P(Xe,"LinkedHashMultimap/ValueSet",1836),D(1837,1,va,ZYt),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return zvt(this),this.b!=this.c},l.Pb=function(){var e,n;if(zvt(this),this.b==this.c)throw et(new _c);return e=u(this.b,330),n=e.i,this.d=e,this.b=e.f,n},l.Qb=function(){zvt(this),r4(!!this.d),Yoe(this.c,this.d.i),this.a=this.c.e,this.d=null},l.a=0,P(Xe,"LinkedHashMultimap/ValueSet/1",1837),D(766,1986,kb,VGt),l.Zb=function(){var e;return e=this.f,e||(this.f=new p2t(this))},l.Fb=function(e){return Eit(this,e)},l.cc=function(e){return new het(this,e)},l.fc=function(e){return Zwt(this,e)},l.$b=function(){FYt(this)},l._b=function(e){return iVt(this,e)},l.ac=function(){return new p2t(this)},l.bc=function(){return new ptt(this)},l.qc=function(e){return new het(this,e)},l.dc=function(){return!this.a},l.rc=function(e){return Zwt(this,e)},l.gc=function(){return this.d},l.c=0,l.d=0,P(Xe,"LinkedListMultimap",766),D(52,28,I7),l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.Vc=function(e,n){throw et(new Tg("Add not supported on this list"))},l.Fc=function(e){return this.Vc(this.gc(),e),!0},l.Wc=function(e,n){var r,s,o;for(Pn(n),r=!1,o=n.Kc();o.Ob();)s=o.Pb(),this.Vc(e++,s),r=!0;return r},l.$b=function(){this.Ud(0,this.gc())},l.Fb=function(e){return f5t(this,e)},l.Hb=function(){return Tyt(this)},l.Xc=function(e){return Iee(this,e)},l.Kc=function(){return new d6(this)},l.Yc=function(){return this.Zc(0)},l.Zc=function(e){return new Sa(this,e)},l.$c=function(e){throw et(new Tg("Remove not supported on this list"))},l.Ud=function(e,n){var r,s;for(s=this.Zc(e),r=e;r<n;++r)s.Pb(),s.Qb()},l._c=function(e,n){throw et(new Tg("Set not supported on this list"))},l.bd=function(e,n){return new Zd(this,e,n)},l.j=0,P(Ar,"AbstractList",52),D(1964,52,I7),l.Vc=function(e,n){f8(this,e,n)},l.Wc=function(e,n){return cre(this,e,n)},l.Xb=function(e){return n1(this,e)},l.Kc=function(){return this.Zc(0)},l.$c=function(e){return yst(this,e)},l._c=function(e,n){var r,s;r=this.Zc(e);try{return s=r.Pb(),r.Wb(n),s}catch(o){throw o=as(o),_t(o,109)?et(new Po("Can't set element "+e)):et(o)}},P(Ar,"AbstractSequentialList",1964),D(636,1964,I7,het),l.Zc=function(e){return KUt(this,e)},l.gc=function(){var e;return e=u(cr(this.a.b,this.b),283),e?e.a:0},P(Xe,"LinkedListMultimap/1",636),D(1297,1970,Xu,ptt),l.Hc=function(e){return iVt(this.a,e)},l.Kc=function(){return new Kee(this.a)},l.Mc=function(e){return!Zwt(this.a,e).a.dc()},l.gc=function(){return $T(this.a.b)},P(Xe,"LinkedListMultimap/1KeySetImpl",1297),D(1296,1,va,Kee),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return $vt(this),!!this.c},l.Pb=function(){$vt(this),ybt(this.c),this.a=this.c,Ys(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!Ys(this.d,this.c.a));return this.a.a},l.Qb=function(){$vt(this),r4(!!this.a),Nj(new Grt(this.e,this.a.a)),this.a=null,this.b=this.e.c},l.b=0,P(Xe,"LinkedListMultimap/DistinctKeyIterator",1296),D(283,1,{283:1},Awt),l.a=0,P(Xe,"LinkedListMultimap/KeyList",283),D(1295,345,Iq,WHt),l.cd=function(){return this.a},l.dd=function(){return this.f},l.ed=function(e){var n;return n=this.f,this.f=e,n},P(Xe,"LinkedListMultimap/Node",1295),D(560,1,r0,Grt,qae),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){this.e=z5t(this.f,this.b,e,this.c),++this.d,this.a=null},l.Ob=function(){return!!this.c},l.Sb=function(){return!!this.e},l.Pb=function(){return Pwt(this)},l.Tb=function(){return this.d},l.Ub=function(){return gQt(this)},l.Vb=function(){return this.d-1},l.Qb=function(){r4(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,jgn(this.f,this.a),this.a=null},l.Wb=function(e){mbt(!!this.a),this.a.f=e},l.d=0,P(Xe,"LinkedListMultimap/ValueForKeyIterator",560),D(1018,52,I7),l.Vc=function(e,n){this.a.Vc(e,n)},l.Wc=function(e,n){return this.a.Wc(e,n)},l.Hc=function(e){return this.a.Hc(e)},l.Xb=function(e){return this.a.Xb(e)},l.$c=function(e){return this.a.$c(e)},l._c=function(e,n){return this.a._c(e,n)},l.gc=function(){return this.a.gc()},P(Xe,"Lists/AbstractListWrapper",1018),D(1019,1018,Khe),P(Xe,"Lists/RandomAccessListWrapper",1019),D(1021,1019,Khe,ZHt),l.Zc=function(e){return this.a.Zc(e)},P(Xe,"Lists/1",1021),D(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},Mm),l.Vc=function(e,n){this.a.Vc(w8(this,e),n)},l.$b=function(){this.a.$b()},l.Xb=function(e){return this.a.Xb(dwt(this,e))},l.Kc=function(){return Rwt(this,0)},l.Zc=function(e){return Rwt(this,e)},l.$c=function(e){return this.a.$c(dwt(this,e))},l.Ud=function(e,n){(sZt(e,n,this.a.gc()),cb(this.a.bd(w8(this,n),w8(this,e)))).$b()},l._c=function(e,n){return this.a._c(dwt(this,e),n)},l.gc=function(){return this.a.gc()},l.bd=function(e,n){return sZt(e,n,this.a.gc()),cb(this.a.bd(w8(this,n),w8(this,e)))},P(Xe,"Lists/ReverseList",131),D(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},wv),P(Xe,"Lists/RandomAccessReverseList",280),D(1020,1,r0,KHt),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){this.c.Rb(e),this.c.Ub(),this.a=!1},l.Ob=function(){return this.c.Sb()},l.Sb=function(){return this.c.Ob()},l.Pb=function(){return cJt(this)},l.Tb=function(){return w8(this.b,this.c.Tb())},l.Ub=function(){if(!this.c.Ob())throw et(new _c);return this.a=!0,this.c.Pb()},l.Vb=function(){return w8(this.b,this.c.Tb())-1},l.Qb=function(){r4(this.a),this.c.Qb(),this.a=!1},l.Wb=function(e){mbt(this.a),this.c.Wb(e)},l.a=!1,P(Xe,"Lists/ReverseList/1",1020),D(432,487,va,IT),l.Qd=function(e){return BR(e)},P(Xe,"Maps/1",432),D(698,487,va,Hpt),l.Qd=function(e){return u(e,42).dd()},P(Xe,"Maps/2",698),D(962,487,va,WUt),l.Qd=function(e){return new _v(e,YGt(this.a,e))},P(Xe,"Maps/3",962),D(959,1971,Xu,l6),l.Jc=function(e){aKe(this.a,e)},l.Kc=function(){return this.a.kc()},l.Rc=function(){return this.a},l.Nc=function(){return this.a.lc()},P(Xe,"Maps/IteratorBasedAbstractMap/1",959),D(960,1,{},gtt),l.Od=function(e,n){this.a.td(e)},P(Xe,"Maps/KeySet/lambda$0$Type",960),D(958,28,wy,QHt),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a.uc(e)},l.Jc=function(e){zr(e),this.a.wc(new ctt(e))},l.dc=function(){return this.a.dc()},l.Kc=function(){return new Hpt(this.a.vc().Kc())},l.Mc=function(e){var n,r;try{return ry(this,e,!0)}catch(s){if(s=as(s),_t(s,41)){for(r=this.a.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),md(e,n.dd()))return this.a.Bc(n.cd()),!0;return!1}else throw et(s)}},l.gc=function(){return this.a.gc()},P(Xe,"Maps/Values",958),D(961,1,{},ctt),l.Od=function(e,n){this.a.td(n)},P(Xe,"Maps/Values/lambda$0$Type",961),D(736,1987,pw,p2t),l.xc=function(e){return this.a._b(e)?this.a.cc(e):null},l.Bc=function(e){return this.a._b(e)?this.a.fc(e):null},l.$b=function(){this.a.$b()},l._b=function(e){return this.a._b(e)},l.Ec=function(){return new ott(this)},l.Dc=function(){return this.Ec()},l.dc=function(){return this.a.dc()},l.ec=function(){return this.a.ec()},l.gc=function(){return this.a.ec().gc()},P(Xe,"Multimaps/AsMap",736),D(1104,1971,Xu,ott),l.Kc=function(){return EXe(this.a.a.ec(),new utt(this))},l.Rc=function(){return this.a},l.Mc=function(e){var n;return aie(this,e)?(n=u(e,42),TKe(this.a,n.cd()),!0):!1},P(Xe,"Multimaps/AsMap/EntrySet",1104),D(1108,1,{},utt),l.Kb=function(e){return YGt(this,e)},l.Fb=function(e){return this===e},P(Xe,"Multimaps/AsMap/EntrySet/1",1108),D(543,1989,{543:1,835:1,20:1,28:1,14:1},ltt),l.$b=function(){J$(this.a)},l.Hc=function(e){return sHt(this.a,e)},l.Jc=function(e){zr(e),Pa(S_(this.a),new ftt(e))},l.Kc=function(){return new IT(S_(this.a).a.kc())},l.gc=function(){return this.a.d},l.Nc=function(){return KM(S_(this.a).Nc(),new rt)},P(Xe,"Multimaps/Keys",543),D(1106,1,{},rt),l.Kb=function(e){return u(e,42).cd()},P(Xe,"Multimaps/Keys/0methodref$getKey$Type",1106),D(1105,487,va,Dqt),l.Qd=function(e){return new htt(u(e,42))},P(Xe,"Multimaps/Keys/1",1105),D(1990,1,{416:1}),l.Fb=function(e){var n;return _t(e,492)?(n=u(e,416),u(this.a.dd(),14).gc()==u(n.a.dd(),14).gc()&&md(this.a.cd(),n.a.cd())):!1},l.Hb=function(){var e;return e=this.a.cd(),(e==null?0:es(e))^u(this.a.dd(),14).gc()},l.Ib=function(){var e,n;return n=d_(this.a.cd()),e=u(this.a.dd(),14).gc(),e==1?n:n+" x "+e},P(Xe,"Multisets/AbstractEntry",1990),D(492,1990,{492:1,416:1},htt),P(Xe,"Multimaps/Keys/1/1",492),D(1107,1,tr,ftt),l.td=function(e){this.a.td(u(e,42).cd())},P(Xe,"Multimaps/Keys/lambda$1$Type",1107),D(1110,1,tr,J),l.td=function(e){Ttn(u(e,416))},P(Xe,"Multiset/lambda$0$Type",1110),D(737,1,tr,dtt),l.td=function(e){zan(this.a,u(e,416))},P(Xe,"Multiset/lambda$1$Type",737),D(1111,1,{},ut),P(Xe,"Multisets/0methodref$add$Type",1111),D(738,1,{},xt),l.Kb=function(e){return Din(u(e,416))},P(Xe,"Multisets/lambda$3$Type",738),D(2008,1,LI),P(Xe,"RangeGwtSerializationDependencies",2008),D(514,2008,{169:1,514:1,3:1,45:1},D3t),l.Lb=function(e){return mYt(this,u(e,35))},l.Mb=function(e){return mYt(this,u(e,35))},l.Fb=function(e){var n;return _t(e,514)?(n=u(e,514),x3t(this.a,n.a)&&x3t(this.b,n.b)):!1},l.Hb=function(){return this.a.Hb()*31+this.b.Hb()},l.Ib=function(){return SZt(this.a,this.b)},P(Xe,"Range",514),D(778,1999,SC,MYt),l.Zc=function(e){return Mbt(this.b,e)},l.Pd=function(){return this.a},l.Xb=function(e){return Fp(this.b,e)},l.Fd=function(e){return Mbt(this.b,e)},P(Xe,"RegularImmutableAsList",778),D(646,2006,SC,ort),l.Hd=function(){return this.a},P(Xe,"RegularImmutableList",646),D(616,715,M7,Ztt),P(Xe,"RegularImmutableMap",616),D(716,703,D7,v2t);var G8t;P(Xe,"RegularImmutableSet",716),D(1976,q1,Xu),l.Kc=function(){return new kwt(this.a,this.b)},l.Fc=function(e){throw et(new Gr)},l.Gc=function(e){throw et(new Gr)},l.$b=function(){throw et(new Gr)},l.Mc=function(e){throw et(new Gr)},P(Xe,"Sets/SetView",1976),D(963,1976,Xu,YHt),l.Kc=function(){return new kwt(this.a,this.b)},l.Hc=function(e){return Mnt(this.a,e)&&this.b.Hc(e)},l.Ic=function(e){return PD(this.a,e)&&this.b.Ic(e)},l.dc=function(){return Gie(this.b,this.a)},l.Lc=function(){return Xi(new En(null,new _n(this.a,1)),new Mh(this.b))},l.gc=function(){return DD(this)},l.Oc=function(){return Xi(new En(null,new _n(this.a,1)),new qk(this.b))},P(Xe,"Sets/2",963),D(700,699,A7,kwt),l.Yb=function(){for(var e;sbt(this.a);)if(e=F_(this.a),this.c.Hc(e))return e;return this.e=2,null},P(Xe,"Sets/2/1",700),D(964,1,Ti,qk),l.Mb=function(e){return this.a.Hc(e)},P(Xe,"Sets/2/4methodref$contains$Type",964),D(965,1,Ti,Mh),l.Mb=function(e){return this.a.Hc(e)},P(Xe,"Sets/2/5methodref$contains$Type",965),D(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},XXt),l.Bd=function(){return this.b},l.Cd=function(){return this.b},l.Md=function(){return this.b},l.Jc=function(e){this.a.Jc(e)},l.Lc=function(){return this.a.Lc()},l.Oc=function(){return this.a.Oc()},P(Xe,"Sets/UnmodifiableNavigableSet",607),D(1932,1931,M7,iXt),l.Ld=function(){return wd(),new k6(this.a)},l.Cc=function(){return wd(),new k6(this.a)},l.pd=function(){return wd(),new k6(this.a)},P(Xe,"SingletonImmutableBiMap",1932),D(647,2006,SC,Snt),l.Hd=function(){return this.a},P(Xe,"SingletonImmutableList",647),D(350,1981,D7,k6),l.Kc=function(){return new KB(this.a)},l.Hc=function(e){return Pi(this.a,e)},l.Ed=function(){return new KB(this.a)},l.gc=function(){return 1},P(Xe,"SingletonImmutableSet",350),D(1115,1,{},st),l.Kb=function(e){return u(e,164)},P(Xe,"Streams/lambda$0$Type",1115),D(1116,1,Nq,btt),l.Vd=function(){ksn(this.a)},P(Xe,"Streams/lambda$1$Type",1116),D(1659,1658,kb,qXt),l.Zb=function(){var e;return e=this.f,u(u(e||(this.f=_t(this.c,171)?new kj(this,u(this.c,171)):_t(this.c,161)?new zM(this,u(this.c,161)):new r8(this,this.c)),161),171)},l.hc=function(){return new Op(this.b)},l.gd=function(){return new Op(this.b)},l.ec=function(){var e;return e=this.i,u(u(e||(this.i=_t(this.c,171)?new n8(this,u(this.c,171)):_t(this.c,161)?new vM(this,u(this.c,161)):new K3(this,this.c)),84),271)},l.ac=function(){return _t(this.c,171)?new kj(this,u(this.c,171)):_t(this.c,161)?new zM(this,u(this.c,161)):new r8(this,this.c)},l.ic=function(e){return e==null&&this.a.ue(e,e),new Op(this.b)},P(Xe,"TreeMultimap",1659),D(78,1,{3:1,78:1}),l.Wd=function(e){return new Error(e)},l.Xd=function(){return this.e},l.Yd=function(){return Nln(Cu($nt((this.k==null&&(this.k=Pt(yut,re,78,0,0,1)),this.k)),new Gt))},l.Zd=function(){return this.f},l.$d=function(){return this.g},l._d=function(){hKe(this,pin(this.Wd(crt(this,this.g)))),Bzt(this)},l.Ib=function(){return crt(this,this.$d())},l.e=Yhe,l.i=!1,l.n=!0;var yut=P(lc,"Throwable",78);D(102,78,{3:1,102:1,78:1}),P(lc,"Exception",102),D(60,102,K0,W2,ic),P(lc,"RuntimeException",60),D(598,60,K0),P(lc,"JsException",598),D(863,598,K0),P(OI,"JavaScriptExceptionBase",863),D(477,863,{477:1,3:1,102:1,60:1,78:1},yre),l.$d=function(){return idn(this),this.c},l.ae=function(){return Ut(this.b)===Ut(U8t)?null:this.b};var U8t;P(M6t,"JavaScriptException",477);var lge=P(M6t,"JavaScriptObject$",0),xut;D(1948,1,{}),P(M6t,"Scheduler",1948);var HH=0,hge=0,VH=-1;D(890,1948,{},Et);var W8t;P(OI,"SchedulerImpl",890);var kut;D(1960,1,{}),P(OI,"StackTraceCreator/Collector",1960),D(864,1960,{},gt),l.be=function(e){var n={},r=[];e[jat]=r;for(var s=arguments.callee.caller;s;){var o=(_8(),s.name||(s.name=ron(s.toString())));r.push(o);var h=":"+o,d=n[h];if(d){var w,k;for(w=0,k=d.length;w<k;w++)if(d[w]===s)return}(d||(n[h]=[])).push(s),s=s.caller}},l.ce=function(e){var n,r,s,o;for(s=(_8(),e&&e[jat]?e[jat]:[]),r=s.length,o=Pt(o7t,re,310,r,0,1),n=0;n<r;n++)o[n]=new Jnt(s[n],null,-1);return o},P(OI,"StackTraceCreator/CollectorLegacy",864),D(1961,1960,{}),l.be=function(e){},l.de=function(e,n,r,s){return new Jnt(n,e+"@"+s,r<0?-1:r)},l.ce=function(e){var n,r,s,o,h,d;if(o=Mfn(e),h=Pt(o7t,re,310,0,0,1),n=0,s=o.length,s==0)return h;for(d=Dle(this,o[0]),ln(d.d,Rat)||(h[n++]=d),r=1;r<s;r++)h[n++]=Dle(this,o[r]);return h},P(OI,"StackTraceCreator/CollectorModern",1961),D(865,1961,{},ht),l.de=function(e,n,r,s){return new Jnt(n,e,-1)},P(OI,"StackTraceCreator/CollectorModernNoSourceMap",865),D(1050,1,{}),P(I6t,Zhe,1050),D(615,1050,{615:1},UYt);var K8t;P(iot,Zhe,615),D(2001,1,{}),P(I6t,Jhe,2001),D(2002,2001,{}),P(iot,Jhe,2002),D(1090,1,{},Tt);var sS;P(iot,"LocaleInfo",1090),D(1918,1,{},yt),l.a=0,P(iot,"TimeZone",1918),D(1258,2002,{},it),P("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),D(434,1,{434:1},kKt),l.a=!1,l.b=0,P(I6t,"DateTimeFormat/PatternPart",434),D(199,1,tfe,AR,yyt,$bt),l.wd=function(e){return fin(this,u(e,199))},l.Fb=function(e){return _t(e,199)&&Sv(Ou(this.q.getTime()),Ou(u(e,199).q.getTime()))},l.Hb=function(){var e;return e=Ou(this.q.getTime()),$r(yrt(e,zm(e,32)))},l.Ib=function(){var e,n,r;return r=-this.q.getTimezoneOffset(),e=(r>=0?"+":"")+(r/60|0),n=sj(b.Math.abs(r)%60),(hae(),xge)[this.q.getDay()]+" "+kge[this.q.getMonth()]+" "+sj(this.q.getDate())+" "+sj(this.q.getHours())+":"+sj(this.q.getMinutes())+":"+sj(this.q.getSeconds())+" GMT"+e+n+" "+this.q.getFullYear()};var GH=P(Ar,"Date",199);D(1915,199,tfe,Rse),l.a=!1,l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,l.g=!1,l.i=0,l.j=0,l.k=0,l.n=0,l.o=0,l.p=0,P("com.google.gwt.i18n.shared.impl","DateRecord",1915),D(1966,1,{}),l.fe=function(){return null},l.ge=function(){return null},l.he=function(){return null},l.ie=function(){return null},l.je=function(){return null},P(fx,"JSONValue",1966),D(216,1966,{216:1},yg,h6),l.Fb=function(e){return _t(e,216)?$wt(this.a,u(e,216).a):!1},l.ee=function(){return GWe},l.Hb=function(){return Swt(this.a)},l.fe=function(){return this},l.Ib=function(){var e,n,r;for(r=new jl("["),n=0,e=this.a.length;n<e;n++)n>0&&(r.a+=","),Cc(r,Xm(this,n));return r.a+="]",r.a},P(fx,"JSONArray",216),D(483,1966,{483:1},Hk),l.ee=function(){return UWe},l.ge=function(){return this},l.Ib=function(){return Rn(),""+this.a},l.a=!1;var fge,dge;P(fx,"JSONBoolean",483),D(985,60,K0,Iqt),P(fx,"JSONException",985),D(1023,1966,{},vt),l.ee=function(){return QWe},l.Ib=function(){return Nu};var gge;P(fx,"JSONNull",1023),D(258,1966,{258:1},yT),l.Fb=function(e){return _t(e,258)?this.a==u(e,258).a:!1},l.ee=function(){return WWe},l.Hb=function(){return c8(this.a)},l.he=function(){return this},l.Ib=function(){return this.a+""},l.a=0,P(fx,"JSONNumber",258),D(183,1966,{183:1},y6,Vk),l.Fb=function(e){return _t(e,183)?$wt(this.a,u(e,183).a):!1},l.ee=function(){return KWe},l.Hb=function(){return Swt(this.a)},l.ie=function(){return this},l.Ib=function(){var e,n,r,s,o,h,d;for(d=new jl("{"),e=!0,h=uit(this,Pt(Le,re,2,0,6,1)),r=h,s=0,o=r.length;s<o;++s)n=r[s],e?e=!1:d.a+=oo,ii(d,Loe(n)),d.a+=":",Cc(d,P0(this,n));return d.a+="}",d.a},P(fx,"JSONObject",183),D(596,q1,Xu,fet),l.Hc=function(e){return pa(e)&&MKe(this.a,Yr(e))},l.Kc=function(){return new d6(new Al(this.b))},l.gc=function(){return this.b.length},P(fx,"JSONObject/1",596);var Eut;D(204,1966,{204:1},Hm),l.Fb=function(e){return _t(e,204)?ln(this.a,u(e,204).a):!1},l.ee=function(){return YWe},l.Hb=function(){return zg(this.a)},l.je=function(){return this},l.Ib=function(){return Loe(this.a)},P(fx,"JSONString",204);var h2,Y8t,pge,X8t,Q8t;D(1962,1,{525:1}),P(O6t,"OutputStream",1962),D(1963,1962,{525:1}),P(O6t,"FilterOutputStream",1963),D(866,1963,{525:1},Bt),P(O6t,"PrintStream",866),D(418,1,{475:1}),l.Ib=function(){return this.a},P(lc,"AbstractStringBuilder",418),D(529,60,K0,vR),P(lc,"ArithmeticException",529),D(73,60,sot,xpt,Po),P(lc,"IndexOutOfBoundsException",73),D(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Ept,Kpt),P(lc,"ArrayIndexOutOfBoundsException",320),D(528,60,K0,Htt,Nqt),P(lc,"ArrayStoreException",528),D(289,78,efe,tet),P(lc,"Error",289),D(194,289,efe,ypt,rmt),P(lc,"AssertionError",194),nge={3:1,476:1,35:1};var Ob,X7,Zs=P(lc,"Boolean",476);D(236,1,{3:1,236:1});var Z8t;P(lc,"Number",236),D(217,236,{3:1,217:1,35:1,236:1},Dtt),l.wd=function(e){return SKe(this,u(e,217))},l.ke=function(){return this.a},l.Fb=function(e){return _t(e,217)&&u(e,217).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var Tx=P(lc,"Byte",217),J8t;D(172,1,{3:1,172:1,35:1},nR),l.wd=function(e){return AKe(this,u(e,172))},l.Fb=function(e){return _t(e,172)&&u(e,172).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return String.fromCharCode(this.a)},l.a=0;var t7t,aS=P(lc,"Character",172),e7t;D(205,60,{3:1,205:1,102:1,60:1,78:1},Rzt,Qk),P(lc,"ClassCastException",205),rge={3:1,35:1,333:1,236:1};var Ea=P(lc,"Double",333);D(155,236,{3:1,35:1,155:1,236:1},O3,Tpt),l.wd=function(e){return FYe(this,u(e,155))},l.ke=function(){return this.a},l.Fb=function(e){return _t(e,155)&&YWt(this.a,u(e,155).a)},l.Hb=function(){return Ds(this.a)},l.Ib=function(){return""+this.a},l.a=0;var Q7=P(lc,"Float",155);D(32,60,{3:1,102:1,32:1,60:1,78:1},fM,Bn,fre),P(lc,"IllegalArgumentException",32),D(71,60,K0,qu,Xo),P(lc,"IllegalStateException",71),D(19,236,{3:1,35:1,19:1,236:1},oM),l.wd=function(e){return BYe(this,u(e,19))},l.ke=function(){return this.a},l.Fb=function(e){return _t(e,19)&&u(e,19).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var eo=P(lc,"Integer",19),n7t,bge;D(162,236,{3:1,35:1,162:1,236:1},_m),l.wd=function(e){return RYe(this,u(e,162))},l.ke=function(){return Vv(this.a)},l.Fb=function(e){return _t(e,162)&&Sv(u(e,162).a,this.a)},l.Hb=function(){return $r(this.a)},l.Ib=function(){return""+E_(this.a)},l.a=0;var Ew=P(lc,"Long",162),r7t;D(2039,1,{}),D(1831,60,K0,Bqt),P(lc,"NegativeArraySizeException",1831),D(173,598,{3:1,102:1,173:1,60:1,78:1},LT,x6),l.Wd=function(e){return new TypeError(e)},P(lc,"NullPointerException",173);var i7t,Tut,vge,s7t;D(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},gd),P(lc,"NumberFormatException",127),D(184,236,{3:1,35:1,236:1,184:1},rR),l.wd=function(e){return LKe(this,u(e,184))},l.ke=function(){return this.a},l.Fb=function(e){return _t(e,184)&&u(e,184).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var Tw=P(lc,"Short",184),a7t;D(310,1,{3:1,310:1},Jnt),l.Fb=function(e){var n;return _t(e,310)?(n=u(e,310),this.c==n.c&&this.d==n.d&&this.a==n.a&&this.b==n.b):!1},l.Hb=function(){return mz(ct(ot(ir,1),De,1,5,[ve(this.c),this.a,this.d,this.b]))},l.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},l.c=0;var o7t=P(lc,"StackTraceElement",310);ige={3:1,475:1,35:1,2:1};var Le=P(lc,L6t,2);D(107,418,{475:1},_g,BT,Ih),P(lc,"StringBuffer",107),D(100,418,{475:1},Mp,Lm,jl),P(lc,"StringBuilder",100),D(687,73,sot,Ypt),P(lc,"StringIndexOutOfBoundsException",687),D(2043,1,{});var c7t;D(844,1,{},Gt),l.Kb=function(e){return u(e,78).e},P(lc,"Throwable/lambda$0$Type",844),D(41,60,{3:1,102:1,60:1,78:1,41:1},Gr,Tg),P(lc,"UnsupportedOperationException",41),D(240,236,{3:1,35:1,236:1,240:1},_D,i2t),l.wd=function(e){return Gue(this,u(e,240))},l.ke=function(){return ly(Sle(this))},l.Fb=function(e){var n;return this===e?!0:_t(e,240)?(n=u(e,240),this.e==n.e&&Gue(this,n)==0):!1},l.Hb=function(){var e;return this.b!=0?this.b:this.a<54?(e=Ou(this.f),this.b=$r(Xs(e,-1)),this.b=33*this.b+$r(Xs($p(e,32),-1)),this.b=17*this.b+Ds(this.e),this.b):(this.b=17*_re(this.c)+Ds(this.e),this.b)},l.Ib=function(){return Sle(this)},l.a=0,l.b=0,l.d=0,l.e=0,l.f=0;var wge,Pb,u7t,l7t,h7t,f7t,d7t,g7t,_ut=P("java.math","BigDecimal",240);D(91,236,{3:1,35:1,236:1,91:1},L3t,Og,Y3,h4t,Aie,Rp),l.wd=function(e){return Eie(this,u(e,91))},l.ke=function(){return ly(Iat(this,0))},l.Fb=function(e){return c3t(this,e)},l.Hb=function(){return _re(this)},l.Ib=function(){return Iat(this,0)},l.b=-2,l.c=0,l.d=0,l.e=0;var Cut,UH,p7t,Sut,WH,Z7,R4=P("java.math","BigInteger",91),mge,yge,_x,oS;D(488,1967,pw),l.$b=function(){al(this)},l._b=function(e){return Il(this,e)},l.uc=function(e){return ure(this,e,this.g)||ure(this,e,this.f)},l.vc=function(){return new kg(this)},l.xc=function(e){return cr(this,e)},l.zc=function(e,n){return Ni(this,e,n)},l.Bc=function(e){return W6(this,e)},l.gc=function(){return $T(this)},P(Ar,"AbstractHashMap",488),D(261,q1,Xu,kg),l.$b=function(){this.a.$b()},l.Hc=function(e){return oZt(this,e)},l.Kc=function(){return new db(this.a)},l.Mc=function(e){var n;return oZt(this,e)?(n=u(e,42).cd(),this.a.Bc(n),!0):!1},l.gc=function(){return this.a.gc()},P(Ar,"AbstractHashMap/EntrySet",261),D(262,1,va,db),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return Kv(this)},l.Ob=function(){return this.b},l.Qb=function(){ite(this)},l.b=!1,P(Ar,"AbstractHashMap/EntrySetIterator",262),D(417,1,va,d6),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return kM(this)},l.Pb=function(){return LXt(this)},l.Qb=function(){Ol(this)},l.b=0,l.c=-1,P(Ar,"AbstractList/IteratorImpl",417),D(96,417,r0,Sa),l.Qb=function(){Ol(this)},l.Rb=function(e){Rm(this,e)},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Ub=function(){return sr(this.b>0),this.a.Xb(this.c=--this.b)},l.Vb=function(){return this.b-1},l.Wb=function(e){Nm(this.c!=-1),this.a._c(this.c,e)},P(Ar,"AbstractList/ListIteratorImpl",96),D(219,52,I7,Zd),l.Vc=function(e,n){Um(e,this.b),this.c.Vc(this.a+e,n),++this.b},l.Xb=function(e){return An(e,this.b),this.c.Xb(this.a+e)},l.$c=function(e){var n;return An(e,this.b),n=this.c.$c(this.a+e),--this.b,n},l._c=function(e,n){return An(e,this.b),this.c._c(this.a+e,n)},l.gc=function(){return this.b},l.a=0,l.b=0,P(Ar,"AbstractList/SubList",219),D(384,q1,Xu,Tm),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a._b(e)},l.Kc=function(){var e;return e=this.a.vc().Kc(),new aM(e)},l.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},l.gc=function(){return this.a.gc()},P(Ar,"AbstractMap/1",384),D(691,1,va,aM),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var e;return e=u(this.a.Pb(),42),e.cd()},l.Qb=function(){this.a.Qb()},P(Ar,"AbstractMap/1/1",691),D(226,28,wy,T1),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a.uc(e)},l.Kc=function(){var e;return e=this.a.vc().Kc(),new _1(e)},l.gc=function(){return this.a.gc()},P(Ar,"AbstractMap/2",226),D(294,1,va,_1),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var e;return e=u(this.a.Pb(),42),e.dd()},l.Qb=function(){this.a.Qb()},P(Ar,"AbstractMap/2/1",294),D(484,1,{484:1,42:1}),l.Fb=function(e){var n;return _t(e,42)?(n=u(e,42),Gc(this.d,n.cd())&&Gc(this.e,n.dd())):!1},l.cd=function(){return this.d},l.dd=function(){return this.e},l.Hb=function(){return G3(this.d)^G3(this.e)},l.ed=function(e){return Xbt(this,e)},l.Ib=function(){return this.d+"="+this.e},P(Ar,"AbstractMap/AbstractEntry",484),D(383,484,{484:1,383:1,42:1},$R),P(Ar,"AbstractMap/SimpleEntry",383),D(1984,1,uot),l.Fb=function(e){var n;return _t(e,42)?(n=u(e,42),Gc(this.cd(),n.cd())&&Gc(this.dd(),n.dd())):!1},l.Hb=function(){return G3(this.cd())^G3(this.dd())},l.Ib=function(){return this.cd()+"="+this.dd()},P(Ar,qhe,1984),D(1992,1967,$he),l.tc=function(e){return pJt(this,e)},l._b=function(e){return pnt(this,e)},l.vc=function(){return new x(this)},l.xc=function(e){var n;return n=e,gc(Lyt(this,n))},l.ec=function(){return new y(this)},P(Ar,"AbstractNavigableMap",1992),D(739,q1,Xu,x),l.Hc=function(e){return _t(e,42)&&pJt(this.b,u(e,42))},l.Kc=function(){return new v_(this.b)},l.Mc=function(e){var n;return _t(e,42)?(n=u(e,42),nte(this.b,n)):!1},l.gc=function(){return this.b.c},P(Ar,"AbstractNavigableMap/EntrySet",739),D(493,q1,S6t,y),l.Nc=function(){return new RR(this)},l.$b=function(){OT(this.a)},l.Hc=function(e){return pnt(this.a,e)},l.Kc=function(){var e;return e=new v_(new g_(this.a).b),new g(e)},l.Mc=function(e){return pnt(this.a,e)?(D_(this.a,e),!0):!1},l.gc=function(){return this.a.c},P(Ar,"AbstractNavigableMap/NavigableKeySet",493),D(494,1,va,g),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return kM(this.a.a)},l.Pb=function(){var e;return e=yj(this.a),e.cd()},l.Qb=function(){sKt(this.a)},P(Ar,"AbstractNavigableMap/NavigableKeySet/1",494),D(2004,28,wy),l.Fc=function(e){return D8(g7(this,e)),!0},l.Gc=function(e){return Pn(e),Aj(e!=this,"Can't add a queue to itself"),so(this,e)},l.$b=function(){for(;Qrt(this)!=null;);},P(Ar,"AbstractQueue",2004),D(302,28,{4:1,20:1,28:1,14:1},F3,IQt),l.Fc=function(e){return Kwt(this,e),!0},l.$b=function(){tmt(this)},l.Hc=function(e){return Ine(new M_(this),e)},l.dc=function(){return PT(this)},l.Kc=function(){return new M_(this)},l.Mc=function(e){return orn(new M_(this),e)},l.gc=function(){return this.c-this.b&this.a.length-1},l.Nc=function(){return new _n(this,272)},l.Qc=function(e){var n;return n=this.c-this.b&this.a.length-1,e.length<n&&(e=yR(new Array(n),e)),Vee(this,e,n),e.length>n&&ds(e,n,null),e},l.b=0,l.c=0,P(Ar,"ArrayDeque",302),D(446,1,va,M_),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.a!=this.b},l.Pb=function(){return xz(this)},l.Qb=function(){Mee(this)},l.a=0,l.b=0,l.c=-1,P(Ar,"ArrayDeque/IteratorImpl",446),D(12,52,rfe,ge,iu,Uu),l.Vc=function(e,n){$m(this,e,n)},l.Fc=function(e){return de(this,e)},l.Wc=function(e,n){return Nyt(this,e,n)},l.Gc=function(e){return Hs(this,e)},l.$b=function(){this.c=Pt(ir,De,1,0,5,1)},l.Hc=function(e){return Zo(this,e,0)!=-1},l.Jc=function(e){Mu(this,e)},l.Xb=function(e){return Fe(this,e)},l.Xc=function(e){return Zo(this,e,0)},l.dc=function(){return this.c.length==0},l.Kc=function(){return new S(this)},l.$c=function(e){return Ig(this,e)},l.Mc=function(e){return Au(this,e)},l.Ud=function(e,n){DQt(this,e,n)},l._c=function(e,n){return gh(this,e,n)},l.gc=function(){return this.c.length},l.ad=function(e){ua(this,e)},l.Pc=function(){return int(this)},l.Qc=function(e){return $1(this,e)};var G5n=P(Ar,"ArrayList",12);D(7,1,va,S),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return sc(this)},l.Pb=function(){return Q(this)},l.Qb=function(){C_(this)},l.a=0,l.b=-1,P(Ar,"ArrayList/1",7),D(2013,b.Function,{},pt),l.te=function(e,n){return Vs(e,n)},D(154,52,ife,Al),l.Hc=function(e){return Iee(this,e)!=-1},l.Jc=function(e){var n,r,s,o;for(Pn(e),r=this.a,s=0,o=r.length;s<o;++s)n=r[s],e.td(n)},l.Xb=function(e){return YKt(this,e)},l._c=function(e,n){var r;return r=(An(e,this.a.length),this.a[e]),ds(this.a,e,n),r},l.gc=function(){return this.a.length},l.ad=function(e){Lnt(this.a,this.a.length,e)},l.Pc=function(){return Fie(this,Pt(ir,De,1,this.a.length,5,1))},l.Qc=function(e){return Fie(this,e)},P(Ar,"Arrays/ArrayList",154);var mo,l0,KH;D(940,52,ife,nt),l.Hc=function(e){return!1},l.Xb=function(e){return Y2t(e)},l.Kc=function(){return pn(),i8(),J7},l.Yc=function(){return pn(),i8(),J7},l.gc=function(){return 0},P(Ar,"Collections/EmptyList",940),D(941,1,r0,Nt),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){throw et(new Gr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw et(new _c)},l.Tb=function(){return 0},l.Ub=function(){throw et(new _c)},l.Vb=function(){return-1},l.Qb=function(){throw et(new qu)},l.Wb=function(e){throw et(new qu)};var J7;P(Ar,"Collections/EmptyListIterator",941),D(943,1967,M7,dt),l._b=function(e){return!1},l.uc=function(e){return!1},l.vc=function(){return pn(),KH},l.xc=function(e){return null},l.ec=function(){return pn(),KH},l.gc=function(){return 0},l.Cc=function(){return pn(),mo},P(Ar,"Collections/EmptyMap",943),D(942,q1,D7,Ct),l.Hc=function(e){return!1},l.Kc=function(){return pn(),i8(),J7},l.gc=function(){return 0},P(Ar,"Collections/EmptySet",942),D(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},I),l.Hc=function(e){return Gc(this.a,e)},l.Xb=function(e){return An(e,1),this.a},l.gc=function(){return 1},P(Ar,"Collections/SingletonList",599),D(372,1,Ghe,T),l.Jc=function(e){Pa(this,e)},l.Lc=function(){return new En(null,this.Nc())},l.Nc=function(){return new _n(this,0)},l.Oc=function(){return new En(null,this.Nc())},l.Fc=function(e){return lHt()},l.Gc=function(e){return hHt()},l.$b=function(){fHt()},l.Hc=function(e){return wM(this,e)},l.Ic=function(e){return JHt(this,e)},l.dc=function(){return this.b.dc()},l.Kc=function(){return new L(this.b.Kc())},l.Mc=function(e){return dHt()},l.gc=function(){return this.b.gc()},l.Pc=function(){return this.b.Pc()},l.Qc=function(e){return tVt(this,e)},l.Ib=function(){return tc(this.b)},P(Ar,"Collections/UnmodifiableCollection",372),D(371,1,va,L),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.b.Pb()},l.Qb=function(){gHt()},P(Ar,"Collections/UnmodifiableCollectionIterator",371),D(531,372,sfe,gj),l.Nc=function(){return new _n(this,16)},l.Vc=function(e,n){throw et(new Gr)},l.Wc=function(e,n){throw et(new Gr)},l.Fb=function(e){return Pi(this.a,e)},l.Xb=function(e){return this.a.Xb(e)},l.Hb=function(){return es(this.a)},l.Xc=function(e){return this.a.Xc(e)},l.dc=function(){return this.a.dc()},l.Yc=function(){return new xbt(this.a.Zc(0))},l.Zc=function(e){return new xbt(this.a.Zc(e))},l.$c=function(e){throw et(new Gr)},l._c=function(e,n){throw et(new Gr)},l.ad=function(e){throw et(new Gr)},l.bd=function(e,n){return new gj(this.a.bd(e,n))},P(Ar,"Collections/UnmodifiableList",531),D(690,371,r0,xbt),l.Qb=function(){gHt()},l.Rb=function(e){throw et(new Gr)},l.Sb=function(){return this.a.Sb()},l.Tb=function(){return this.a.Tb()},l.Ub=function(){return this.a.Ub()},l.Vb=function(){return this.a.Vb()},l.Wb=function(e){throw et(new Gr)},P(Ar,"Collections/UnmodifiableListIterator",690),D(600,1,pw,z),l.wc=function(e){U_(this,e)},l.yc=function(e,n,r){return $it(this,e,n,r)},l.$b=function(){throw et(new Gr)},l._b=function(e){return this.c._b(e)},l.uc=function(e){return nVt(this,e)},l.vc=function(){return k8(this)},l.Fb=function(e){return rVt(this,e)},l.xc=function(e){return this.c.xc(e)},l.Hb=function(){return es(this.c)},l.dc=function(){return this.c.dc()},l.ec=function(){return lXt(this)},l.zc=function(e,n){throw et(new Gr)},l.Bc=function(e){throw et(new Gr)},l.gc=function(){return this.c.gc()},l.Ib=function(){return tc(this.c)},l.Cc=function(){return uXt(this)},P(Ar,"Collections/UnmodifiableMap",600),D(382,372,Fat,Zk),l.Nc=function(){return new _n(this,1)},l.Fb=function(e){return Pi(this.b,e)},l.Hb=function(){return es(this.b)},P(Ar,"Collections/UnmodifiableSet",382),D(944,382,Fat,Hqt),l.Hc=function(e){return eVt(this,e)},l.Ic=function(e){return this.b.Ic(e)},l.Kc=function(){var e;return e=this.b.Kc(),new O(e)},l.Pc=function(){var e;return e=this.b.Pc(),FZt(e,e.length),e},l.Qc=function(e){return GXt(this,e)},P(Ar,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),D(945,1,va,O),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return new $(u(this.a.Pb(),42))},l.Ob=function(){return this.a.Ob()},l.Qb=function(){throw et(new Gr)},P(Ar,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),D(688,1,uot,$),l.Fb=function(e){return this.a.Fb(e)},l.cd=function(){return this.a.cd()},l.dd=function(){return this.a.dd()},l.Hb=function(){return this.a.Hb()},l.ed=function(e){throw et(new Gr)},l.Ib=function(){return tc(this.a)},P(Ar,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),D(601,531,{20:1,14:1,15:1,54:1},oet),P(Ar,"Collections/UnmodifiableRandomAccessList",601),D(689,382,Uhe,kbt),l.Nc=function(){return new RR(this)},l.Fb=function(e){return Pi(this.a,e)},l.Hb=function(){return es(this.a)},P(Ar,"Collections/UnmodifiableSortedSet",689),D(847,1,lot,Ve),l.ue=function(e,n){var r;return r=BZt(u(e,11),u(n,11)),r!=0?r:Uue(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ar,"Comparator/lambda$0$Type",847);var b7t,v7t,w7t;D(751,1,lot,Cn),l.ue=function(e,n){return Ctn(u(e,35),u(n,35))},l.Fb=function(e){return this===e},l.ve=function(){return Q3(),w7t},P(Ar,"Comparators/NaturalOrderComparator",751),D(1177,1,lot,xe),l.ue=function(e,n){return Stn(u(e,35),u(n,35))},l.Fb=function(e){return this===e},l.ve=function(){return Q3(),v7t},P(Ar,"Comparators/ReverseNaturalOrderComparator",1177),D(64,1,lot,ft),l.Fb=function(e){return this===e},l.ue=function(e,n){return this.a.ue(n,e)},l.ve=function(){return this.a},P(Ar,"Comparators/ReversedComparator",64),D(166,60,K0,uh),P(Ar,"ConcurrentModificationException",166);var xge,kge;D(1904,1,BI,Kn),l.we=function(e){uie(this,e)},l.Ib=function(){return"DoubleSummaryStatistics[count = "+E_(this.a)+", avg = "+(EVt(this.a,0)?yJt(this)/Vv(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+yJt(this)+"]"},l.a=0,l.b=Rs,l.c=ms,l.d=0,l.e=0,l.f=0,P(Ar,"DoubleSummaryStatistics",1904),D(1805,60,K0,jzt),P(Ar,"EmptyStackException",1805),D(451,1967,pw,eC),l.zc=function(e,n){return Ybt(this,e,n)},l.$b=function(){tXt(this)},l._b=function(e){return kVt(this,e)},l.uc=function(e){var n,r;for(r=new T6(this.a);r.a<r.c.a.length;)if(n=F_(r),Gc(e,this.b[n.g]))return!0;return!1},l.vc=function(){return new Lt(this)},l.xc=function(e){return Lo(this,e)},l.Bc=function(e){return Nwt(this,e)},l.gc=function(){return this.a.c},P(Ar,"EnumMap",451),D(1352,q1,Xu,Lt),l.$b=function(){tXt(this.a)},l.Hc=function(e){return aZt(this,e)},l.Kc=function(){return new WKt(this.a)},l.Mc=function(e){var n;return aZt(this,e)?(n=u(e,42).cd(),Nwt(this.a,n),!0):!1},l.gc=function(){return this.a.a.c},P(Ar,"EnumMap/EntrySet",1352),D(1353,1,va,WKt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return this.b=F_(this.a),new _Vt(this.c,this.b)},l.Ob=function(){return sbt(this.a)},l.Qb=function(){Nm(!!this.b),Nwt(this.c,this.b),this.b=null},P(Ar,"EnumMap/EntrySetIterator",1353),D(1354,1984,uot,_Vt),l.cd=function(){return this.a},l.dd=function(){return this.b.b[this.a.g]},l.ed=function(e){return swt(this.b,this.a.g,e)},P(Ar,"EnumMap/MapEntry",1354),D(174,q1,{20:1,28:1,14:1,174:1,21:1});var Ege=P(Ar,"EnumSet",174);D(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},hh),l.Fc=function(e){return kf(this,u(e,22))},l.Hc=function(e){return Mnt(this,e)},l.Kc=function(){return new T6(this)},l.Mc=function(e){return oYt(this,e)},l.gc=function(){return this.c},l.c=0,P(Ar,"EnumSet/EnumSetImpl",156),D(343,1,va,T6),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return F_(this)},l.Ob=function(){return sbt(this)},l.Qb=function(){Nm(this.b!=-1),ds(this.c.b,this.b,null),--this.c.c,this.b=-1},l.a=-1,l.b=-1,P(Ar,"EnumSet/EnumSetImpl/IteratorImpl",343),D(43,488,S4,Br,E6,$Gt),l.re=function(e,n){return Ut(e)===Ut(n)||e!=null&&Pi(e,n)},l.se=function(e){var n;return n=es(e),n|0},P(Ar,"HashMap",43),D(53,q1,P6t,na,ER,y_),l.Fc=function(e){return Ys(this,e)},l.$b=function(){this.a.$b()},l.Hc=function(e){return L0(this,e)},l.dc=function(){return this.a.gc()==0},l.Kc=function(){return this.a.ec().Kc()},l.Mc=function(e){return ubt(this,e)},l.gc=function(){return this.a.gc()};var U5n=P(Ar,"HashSet",53);D(1781,1,DI,Se),l.ud=function(e){yne(this,e)},l.Ib=function(){return"IntSummaryStatistics[count = "+E_(this.a)+", avg = "+(EVt(this.a,0)?Vv(this.d)/Vv(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+E_(this.d)+"]"},l.a=0,l.b=qa,l.c=Di,l.d=0,P(Ar,"IntSummaryStatistics",1781),D(1049,1,i0,JGt),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new Gwt(this)},l.c=0,P(Ar,"InternalHashCodeMap",1049),D(711,1,va,Gwt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return this.d=this.a[this.c++],this.d},l.Ob=function(){var e;return this.c<this.a.length?!0:(e=this.b.next(),e.done?!1:(this.a=e.value[1],this.c=0,!0))},l.Qb=function(){a5t(this.e,this.d.cd()),this.c!=0&&--this.c},l.c=0,l.d=null,P(Ar,"InternalHashCodeMap/1",711);var Tge;D(1047,1,i0,tUt),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new emt(this)},l.c=0,l.d=0,P(Ar,"InternalStringMap",1047),D(710,1,va,emt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return this.c=this.a,this.a=this.b.next(),new rKt(this.d,this.c,this.d.d)},l.Ob=function(){return!this.a.done},l.Qb=function(){Lne(this.d,this.c.value[0])},P(Ar,"InternalStringMap/1",710),D(1048,1984,uot,rKt),l.cd=function(){return this.b.value[0]},l.dd=function(){return this.a.d!=this.c?UT(this.a,this.b.value[0]):this.b.value[1]},l.ed=function(e){return ew(this.a,this.b.value[0],e)},l.c=0,P(Ar,"InternalStringMap/2",1048),D(228,43,S4,ib,ymt),l.$b=function(){DWt(this)},l._b=function(e){return TVt(this,e)},l.uc=function(e){var n;for(n=this.d.a;n!=this.d;){if(Gc(n.e,e))return!0;n=n.a}return!1},l.vc=function(){return new Dt(this)},l.xc=function(e){return Uv(this,e)},l.zc=function(e,n){return vb(this,e,n)},l.Bc=function(e){return Lte(this,e)},l.gc=function(){return $T(this.e)},l.c=!1,P(Ar,"LinkedHashMap",228),D(387,383,{484:1,383:1,387:1,42:1},nWt,Evt),P(Ar,"LinkedHashMap/ChainEntry",387),D(701,q1,Xu,Dt),l.$b=function(){DWt(this.a)},l.Hc=function(e){return cZt(this,e)},l.Kc=function(){return new vwt(this)},l.Mc=function(e){var n;return cZt(this,e)?(n=u(e,42).cd(),Lte(this.a,n),!0):!1},l.gc=function(){return $T(this.a.e)},P(Ar,"LinkedHashMap/EntrySet",701),D(702,1,va,vwt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return ste(this)},l.Ob=function(){return this.b!=this.c.a.d},l.Qb=function(){Nm(!!this.a),Trt(this.c.a.e,this),Ovt(this.a),W6(this.c.a.e,this.a.d),Rbt(this.c.a.e,this),this.a=null},P(Ar,"LinkedHashMap/EntrySet/EntryIterator",702),D(178,53,P6t,M0,nnt,Bvt);var W5n=P(Ar,"LinkedHashSet",178);D(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},hs,bnt),l.Fc=function(e){return pi(this,e)},l.$b=function(){Ph(this)},l.Zc=function(e){return gi(this,e)},l.gc=function(){return this.b},l.b=0;var K5n=P(Ar,"LinkedList",68);D(970,1,r0,iKt),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){JM(this,e)},l.Ob=function(){return TR(this)},l.Sb=function(){return this.b.b!=this.d.a},l.Pb=function(){return di(this)},l.Tb=function(){return this.a},l.Ub=function(){return krt(this)},l.Vb=function(){return this.a-1},l.Qb=function(){G$(this)},l.Wb=function(e){Nm(!!this.c),this.c.c=e},l.a=0,l.c=null,P(Ar,"LinkedList/ListIteratorImpl",970),D(608,1,{},Rt),P(Ar,"LinkedList/Node",608),D(1959,1,{});var m7t,_ge;P(Ar,"Locale",1959),D(861,1959,{},mt),l.Ib=function(){return""},P(Ar,"Locale/1",861),D(862,1959,{},Ot),l.Ib=function(){return"unknown"},P(Ar,"Locale/4",862),D(109,60,{3:1,102:1,60:1,78:1,109:1},_c,fXt),P(Ar,"NoSuchElementException",109),D(404,1,{404:1},bR),l.Fb=function(e){var n;return e===this?!0:_t(e,404)?(n=u(e,404),Gc(this.a,n.a)):!1},l.Hb=function(){return G3(this.a)},l.Ib=function(){return this.a!=null?jhe+d_(this.a)+")":"Optional.empty()"};var YH;P(Ar,"Optional",404),D(463,1,{463:1},GGt,Dbt),l.Fb=function(e){var n;return e===this?!0:_t(e,463)?(n=u(e,463),this.a==n.a&&Vs(this.b,n.b)==0):!1},l.Hb=function(){return this.a?Ds(this.b):0},l.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},l.a=!1,l.b=0;var y7t;P(Ar,"OptionalDouble",463),D(517,1,{517:1},UGt,JUt),l.Fb=function(e){var n;return e===this?!0:_t(e,517)?(n=u(e,517),this.a==n.a&&Tu(this.b,n.b)==0):!1},l.Hb=function(){return this.a?this.b:0},l.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},l.a=!1,l.b=0;var Cge;P(Ar,"OptionalInt",517),D(503,2004,wy,Wj),l.Gc=function(e){return G3t(this,e)},l.$b=function(){this.b.c=Pt(ir,De,1,0,5,1)},l.Hc=function(e){return(e==null?-1:Zo(this.b,e,0))!=-1},l.Kc=function(){return new V(this)},l.Mc=function(e){return Gee(this,e)},l.gc=function(){return this.b.c.length},l.Nc=function(){return new _n(this,256)},l.Pc=function(){return int(this.b)},l.Qc=function(e){return $1(this.b,e)},P(Ar,"PriorityQueue",503),D(1277,1,va,V),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.a<this.c.b.c.length},l.Pb=function(){return sr(this.a<this.c.b.c.length),this.b=this.a++,Fe(this.c.b,this.b)},l.Qb=function(){Nm(this.b!=-1),oit(this.c,this.a=this.b),this.b=-1},l.a=0,l.b=-1,P(Ar,"PriorityQueue/1",1277),D(230,1,{230:1},zit,C$),l.a=0,l.b=0;var x7t,k7t,Y5n=0;P(Ar,"Random",230),D(27,1,Rh,_n,Nv,gXt),l.qd=function(){return this.a},l.rd=function(){return Jvt(this),this.c},l.Nb=function(e){Jvt(this),this.d.Nb(e)},l.sd=function(e){return Jte(this,e)},l.a=0,l.c=0,P(Ar,"Spliterators/IteratorSpliterator",27),D(485,27,Rh,RR),P(Ar,"SortedSet/1",485),D(602,1,BI,U),l.we=function(e){this.a.td(e)},P(Ar,"Spliterator/OfDouble/0methodref$accept$Type",602),D(603,1,BI,tt),l.we=function(e){this.a.td(e)},P(Ar,"Spliterator/OfDouble/1methodref$accept$Type",603),D(604,1,DI,at),l.ud=function(e){this.a.td(ve(e))},P(Ar,"Spliterator/OfInt/2methodref$accept$Type",604),D(605,1,DI,lt),l.ud=function(e){this.a.td(ve(e))},P(Ar,"Spliterator/OfInt/3methodref$accept$Type",605),D(617,1,Rh),l.Nb=function(e){s2t(this,e)},l.qd=function(){return this.d},l.rd=function(){return this.e},l.d=0,l.e=0,P(Ar,"Spliterators/BaseSpliterator",617),D(721,617,Rh),l.xe=function(e){R3(this,e)},l.Nb=function(e){_t(e,182)?R3(this,u(e,182)):R3(this,new tt(e))},l.sd=function(e){return _t(e,182)?this.ye(u(e,182)):this.ye(new U(e))},P(Ar,"Spliterators/AbstractDoubleSpliterator",721),D(720,617,Rh),l.xe=function(e){R3(this,e)},l.Nb=function(e){_t(e,196)?R3(this,u(e,196)):R3(this,new lt(e))},l.sd=function(e){return _t(e,196)?this.ye(u(e,196)):this.ye(new at(e))},P(Ar,"Spliterators/AbstractIntSpliterator",720),D(540,617,Rh),P(Ar,"Spliterators/AbstractSpliterator",540),D(692,1,Rh),l.Nb=function(e){s2t(this,e)},l.qd=function(){return this.b},l.rd=function(){return this.d-this.c},l.b=0,l.c=0,l.d=0,P(Ar,"Spliterators/BaseArraySpliterator",692),D(947,692,Rh,NKt),l.ze=function(e,n){RKe(this,u(e,38),n)},l.Nb=function(e){Ynt(this,e)},l.sd=function(e){return I$(this,e)},P(Ar,"Spliterators/ArraySpliterator",947),D(693,692,Rh,tKt),l.ze=function(e,n){jKe(this,u(e,182),n)},l.xe=function(e){Ynt(this,e)},l.Nb=function(e){_t(e,182)?Ynt(this,u(e,182)):Ynt(this,new tt(e))},l.ye=function(e){return I$(this,e)},l.sd=function(e){return _t(e,182)?I$(this,u(e,182)):I$(this,new U(e))},P(Ar,"Spliterators/DoubleArraySpliterator",693),D(1968,1,Rh),l.Nb=function(e){s2t(this,e)},l.qd=function(){return 16448},l.rd=function(){return 0};var Sge;P(Ar,"Spliterators/EmptySpliterator",1968),D(946,1968,Rh,Ce),l.xe=function(e){jk(e)},l.Nb=function(e){_t(e,196)?jk(u(e,196)):jk(new lt(e))},l.ye=function(e){return b2t(e)},l.sd=function(e){return _t(e,196)?b2t(u(e,196)):b2t(new at(e))},P(Ar,"Spliterators/EmptySpliterator/OfInt",946),D(580,52,afe,gR),l.Vc=function(e,n){v8(e,this.a.c.length+1),$m(this.a,e,n)},l.Fc=function(e){return de(this.a,e)},l.Wc=function(e,n){return v8(e,this.a.c.length+1),Nyt(this.a,e,n)},l.Gc=function(e){return Hs(this.a,e)},l.$b=function(){this.a.c=Pt(ir,De,1,0,5,1)},l.Hc=function(e){return Zo(this.a,e,0)!=-1},l.Ic=function(e){return PD(this.a,e)},l.Jc=function(e){Mu(this.a,e)},l.Xb=function(e){return v8(e,this.a.c.length),Fe(this.a,e)},l.Xc=function(e){return Zo(this.a,e,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return new S(this.a)},l.$c=function(e){return v8(e,this.a.c.length),Ig(this.a,e)},l.Ud=function(e,n){DQt(this.a,e,n)},l._c=function(e,n){return v8(e,this.a.c.length),gh(this.a,e,n)},l.gc=function(){return this.a.c.length},l.ad=function(e){ua(this.a,e)},l.bd=function(e,n){return new Zd(this.a,e,n)},l.Pc=function(){return int(this.a)},l.Qc=function(e){return $1(this.a,e)},l.Ib=function(){return e2(this.a)},P(Ar,"Vector",580),D(809,580,afe,Ipt),P(Ar,"Stack",809),D(206,1,{206:1},lb),l.Ib=function(){return tZt(this)},P(Ar,"StringJoiner",206),D(544,1992,{3:1,83:1,171:1,161:1},aVt,Bnt),l.$b=function(){OT(this)},l.vc=function(){return new g_(this)},l.zc=function(e,n){return vz(this,e,n)},l.Bc=function(e){return D_(this,e)},l.gc=function(){return this.c},l.c=0,P(Ar,"TreeMap",544),D(390,1,va,v_),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return yj(this)},l.Ob=function(){return kM(this.a)},l.Qb=function(){sKt(this)},P(Ar,"TreeMap/EntryIterator",390),D(435,739,Xu,g_),l.$b=function(){OT(this.a)},P(Ar,"TreeMap/EntrySet",435),D(436,383,{484:1,383:1,42:1,436:1},$rt),l.b=!1;var X5n=P(Ar,"TreeMap/Node",436);D(621,1,{},qe),l.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},l.a=!1,l.b=!1,l.c=!1,P(Ar,"TreeMap/State",621),D(297,22,dot,jR),l.Ae=function(){return!1},l.Be=function(){return!1};var Aut,E7t,T7t,_7t,XH=Qr(Ar,"TreeMap/SubMapType",297,ni,Ein,tZe);D(1112,297,dot,oUt),l.Be=function(){return!0},Qr(Ar,"TreeMap/SubMapType/1",1112,XH,null,null),D(1113,297,dot,mUt),l.Ae=function(){return!0},l.Be=function(){return!0},Qr(Ar,"TreeMap/SubMapType/2",1113,XH,null,null),D(1114,297,dot,cUt),l.Ae=function(){return!0},Qr(Ar,"TreeMap/SubMapType/3",1114,XH,null,null);var Age;D(208,q1,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},Spt,Op),l.Nc=function(){return new RR(this)},l.Fc=function(e){return ZM(this,e)},l.$b=function(){OT(this.a)},l.Hc=function(e){return pnt(this.a,e)},l.Kc=function(){var e;return e=new v_(new g_(new y(this.a).a).b),new g(e)},l.Mc=function(e){return ent(this,e)},l.gc=function(){return this.a.c};var Q5n=P(Ar,"TreeSet",208);D(966,1,{},It),l.Ce=function(e,n){return wQe(this.a,e,n)},P(got,"BinaryOperator/lambda$0$Type",966),D(967,1,{},qt),l.Ce=function(e,n){return mQe(this.a,e,n)},P(got,"BinaryOperator/lambda$1$Type",967),D(846,1,{},ce),l.Kb=function(e){return e},P(got,"Function/lambda$0$Type",846),D(431,1,Ti,te),l.Mb=function(e){return!this.a.Mb(e)},P(got,"Predicate/lambda$2$Type",431),D(572,1,{572:1});var Lge=P(DC,"Handler",572);D(2007,1,LI),l.ne=function(){return"DUMMY"},l.Ib=function(){return this.ne()};var C7t;P(DC,"Level",2007),D(1621,2007,LI,he),l.ne=function(){return"INFO"},P(DC,"Level/LevelInfo",1621),D(1640,1,{},Vzt);var Lut;P(DC,"LogManager",1640),D(1780,1,LI,aKt),l.b=null,P(DC,"LogRecord",1780),D(512,1,{512:1},Drt),l.e=!1;var Mge=!1,Dge=!1,U1=!1,Ige=!1,Oge=!1;P(DC,"Logger",512),D(819,572,{572:1},Re),P(DC,"SimpleConsoleLogHandler",819),D(132,22,{3:1,35:1,22:1,132:1},pet);var S7t,Zl,Ly,xl=Qr(Us,"Collector/Characteristics",132,ni,yrn,eZe),Pge;D(744,1,{},iwt),P(Us,"CollectorImpl",744),D(1060,1,{},se),l.Ce=function(e,n){return _un(u(e,206),u(n,206))},P(Us,"Collectors/10methodref$merge$Type",1060),D(1061,1,{},Pe),l.Kb=function(e){return tZt(u(e,206))},P(Us,"Collectors/11methodref$toString$Type",1061),D(1062,1,{},Yt),l.Kb=function(e){return Rn(),!!X2t(e)},P(Us,"Collectors/12methodref$test$Type",1062),D(251,1,{},ee),l.Od=function(e,n){u(e,14).Fc(n)},P(Us,"Collectors/20methodref$add$Type",251),D(253,1,{},_e),l.Ee=function(){return new ge},P(Us,"Collectors/21methodref$ctor$Type",253),D(346,1,{},Qt),l.Ee=function(){return new na},P(Us,"Collectors/23methodref$ctor$Type",346),D(347,1,{},vr),l.Od=function(e,n){Ys(u(e,53),n)},P(Us,"Collectors/24methodref$add$Type",347),D(1055,1,{},$t),l.Ce=function(e,n){return oVt(u(e,15),u(n,14))},P(Us,"Collectors/4methodref$addAll$Type",1055),D(1059,1,{},ur),l.Od=function(e,n){B0(u(e,206),u(n,475))},P(Us,"Collectors/9methodref$add$Type",1059),D(1058,1,{},EKt),l.Ee=function(){return new lb(this.a,this.b,this.c)},P(Us,"Collectors/lambda$15$Type",1058),D(1063,1,{},le),l.Ee=function(){var e;return e=new ib,vb(e,(Rn(),!1),new ge),vb(e,!0,new ge),e},P(Us,"Collectors/lambda$22$Type",1063),D(1064,1,{},Ht),l.Ee=function(){return ct(ot(ir,1),De,1,5,[this.a])},P(Us,"Collectors/lambda$25$Type",1064),D(1065,1,{},ie),l.Od=function(e,n){Atn(this.a,ob(e))},P(Us,"Collectors/lambda$26$Type",1065),D(1066,1,{},Wt),l.Ce=function(e,n){return ten(this.a,ob(e),ob(n))},P(Us,"Collectors/lambda$27$Type",1066),D(1067,1,{},rr),l.Kb=function(e){return ob(e)[0]},P(Us,"Collectors/lambda$28$Type",1067),D(713,1,{},ar),l.Ce=function(e,n){return Rvt(e,n)},P(Us,"Collectors/lambda$4$Type",713),D(252,1,{},Qn),l.Ce=function(e,n){return sYe(u(e,14),u(n,14))},P(Us,"Collectors/lambda$42$Type",252),D(348,1,{},Zn),l.Ce=function(e,n){return aYe(u(e,53),u(n,53))},P(Us,"Collectors/lambda$50$Type",348),D(349,1,{},dn),l.Kb=function(e){return u(e,53)},P(Us,"Collectors/lambda$51$Type",349),D(1054,1,{},be),l.Od=function(e,n){qcn(this.a,u(e,83),n)},P(Us,"Collectors/lambda$7$Type",1054),D(1056,1,{},kn),l.Ce=function(e,n){return bcn(u(e,83),u(n,83),new $t)},P(Us,"Collectors/lambda$8$Type",1056),D(1057,1,{},we),l.Kb=function(e){return sln(this.a,u(e,83))},P(Us,"Collectors/lambda$9$Type",1057),D(539,1,{}),l.He=function(){L_(this)},l.d=!1,P(Us,"TerminatableStream",539),D(812,539,B6t,zbt),l.He=function(){L_(this)},P(Us,"DoubleStreamImpl",812),D(1784,721,Rh,TKt),l.ye=function(e){return dfn(this,u(e,182))},l.a=null,P(Us,"DoubleStreamImpl/2",1784),D(1785,1,BI,ae),l.we=function(e){ZYe(this.a,e)},P(Us,"DoubleStreamImpl/2/lambda$0$Type",1785),D(1782,1,BI,Ne),l.we=function(e){QYe(this.a,e)},P(Us,"DoubleStreamImpl/lambda$0$Type",1782),D(1783,1,BI,me),l.we=function(e){uie(this.a,e)},P(Us,"DoubleStreamImpl/lambda$2$Type",1783),D(1358,720,Rh,hJt),l.ye=function(e){return bin(this,u(e,196))},l.a=0,l.b=0,l.c=0,P(Us,"IntStream/5",1358),D(787,539,B6t,qbt),l.He=function(){L_(this)},l.Ie=function(){return Vp(this),this.a},P(Us,"IntStreamImpl",787),D(788,539,B6t,u2t),l.He=function(){L_(this)},l.Ie=function(){return Vp(this),lbt(),Sge},P(Us,"IntStreamImpl/Empty",788),D(1463,1,DI,gn),l.ud=function(e){yne(this.a,e)},P(Us,"IntStreamImpl/lambda$4$Type",1463);var Z5n=ls(Us,"Stream");D(30,539,{525:1,670:1,833:1},En),l.He=function(){L_(this)};var t9;P(Us,"StreamImpl",30),D(845,1,{},_r),l.ld=function(e){return CKt(e)},P(Us,"StreamImpl/0methodref$lambda$2$Type",845),D(1084,540,Rh,JWt),l.sd=function(e){for(;aan(this);){if(this.a.sd(e))return!0;L_(this.b),this.b=null,this.a=null}return!1},P(Us,"StreamImpl/1",1084),D(1085,1,tr,ze),l.td=function(e){ntn(this.a,u(e,833))},P(Us,"StreamImpl/1/lambda$0$Type",1085),D(1086,1,Ti,Ge),l.Mb=function(e){return Ys(this.a,e)},P(Us,"StreamImpl/1methodref$add$Type",1086),D(1087,540,Rh,AXt),l.sd=function(e){var n;return this.a||(n=new ge,this.b.a.Nb(new xn(n)),pn(),ua(n,this.c),this.a=new _n(n,16)),Jte(this.a,e)},l.a=null,P(Us,"StreamImpl/5",1087),D(1088,1,tr,xn),l.td=function(e){de(this.a,e)},P(Us,"StreamImpl/5/2methodref$add$Type",1088),D(722,540,Rh,Cmt),l.sd=function(e){for(this.b=!1;!this.b&&this.c.sd(new SVt(this,e)););return this.b},l.b=!1,P(Us,"StreamImpl/FilterSpliterator",722),D(1079,1,tr,SVt),l.td=function(e){Jtn(this.a,this.b,e)},P(Us,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),D(1075,721,Rh,EJt),l.ye=function(e){return qQe(this,u(e,182))},P(Us,"StreamImpl/MapToDoubleSpliterator",1075),D(1078,1,tr,AVt),l.td=function(e){yYe(this.a,this.b,e)},P(Us,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),D(1074,720,Rh,TJt),l.ye=function(e){return HQe(this,u(e,196))},P(Us,"StreamImpl/MapToIntSpliterator",1074),D(1077,1,tr,LVt),l.td=function(e){mYe(this.a,this.b,e)},P(Us,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),D(719,540,Rh,gmt),l.sd=function(e){return XWt(this,e)},P(Us,"StreamImpl/MapToObjSpliterator",719),D(1076,1,tr,MVt),l.td=function(e){xYe(this.a,this.b,e)},P(Us,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),D(618,1,tr,Rr),l.td=function(e){vtt(this,e)},P(Us,"StreamImpl/ValueConsumer",618),D(1080,1,tr,os),l.td=function(e){Y2()},P(Us,"StreamImpl/lambda$0$Type",1080),D(1081,1,tr,As),l.td=function(e){Y2()},P(Us,"StreamImpl/lambda$1$Type",1081),D(1082,1,{},On),l.Ce=function(e,n){return mZe(this.a,e,n)},P(Us,"StreamImpl/lambda$4$Type",1082),D(1083,1,tr,CVt),l.td=function(e){LQe(this.b,this.a,e)},P(Us,"StreamImpl/lambda$5$Type",1083),D(1089,1,tr,nr),l.td=function(e){Ncn(this.a,u(e,365))},P(Us,"TerminatableStream/lambda$0$Type",1089),D(2041,1,{}),D(1914,1,{},ma),P("javaemul.internal","ConsoleLogger",1914),D(2038,1,{});var J5n=0,A7t,L7t=0,QH;D(1768,1,tr,Zr),l.td=function(e){u(e,308)},P(P7,"BowyerWatsonTriangulation/lambda$0$Type",1768),D(1769,1,tr,Sn),l.td=function(e){so(this.a,u(e,308).e)},P(P7,"BowyerWatsonTriangulation/lambda$1$Type",1769),D(1770,1,tr,Hi),l.td=function(e){u(e,168)},P(P7,"BowyerWatsonTriangulation/lambda$2$Type",1770),D(1765,1,Ui,er),l.ue=function(e,n){return Yin(this.a,u(e,168),u(n,168))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(P7,"NaiveMinST/lambda$0$Type",1765),D(499,1,{},fr),P(P7,"NodeMicroLayout",499),D(168,1,{168:1},_6),l.Fb=function(e){var n;return _t(e,168)?(n=u(e,168),Gc(this.a,n.a)&&Gc(this.b,n.b)||Gc(this.a,n.b)&&Gc(this.b,n.a)):!1},l.Hb=function(){return G3(this.a)+G3(this.b)};var t6n=P(P7,"TEdge",168);D(308,1,{308:1},e6t),l.Fb=function(e){var n;return _t(e,308)?(n=u(e,308),j$(this,n.a)&&j$(this,n.b)&&j$(this,n.c)):!1},l.Hb=function(){return G3(this.a)+G3(this.b)+G3(this.c)},P(P7,"TTriangle",308),D(221,1,{221:1},lj),P(P7,"Tree",221),D(1254,1,{},pQt),P(ufe,"Scanline",1254);var Nge=ls(ufe,lfe);D(1692,1,{},ree),P(o0,"CGraph",1692),D(307,1,{307:1},lQt),l.b=0,l.c=0,l.d=0,l.g=0,l.i=0,l.k=Rs,P(o0,"CGroup",307),D(815,1,{},Apt),P(o0,"CGroup/CGroupBuilder",815),D(57,1,{57:1},PWt),l.Ib=function(){var e;return this.j?Yr(this.j.Kb(this)):(D0(ZH),ZH.o+"@"+(e=Mv(this)>>>0,e.toString(16)))},l.f=0,l.i=Rs;var ZH=P(o0,"CNode",57);D(814,1,{},Lpt),P(o0,"CNode/CNodeBuilder",814);var Fge;D(1525,1,{},Gn),l.Oe=function(e,n){return 0},l.Pe=function(e,n){return 0},P(o0,ffe,1525),D(1790,1,{},Jn),l.Le=function(e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z;for(_=ms,s=new S(e.a.b);s.a<s.c.c.length;)n=u(Q(s),57),_=b.Math.min(_,n.a.j.d.c+n.b.a);for(G=new hs,d=new S(e.a.a);d.a<d.c.c.length;)h=u(Q(d),307),h.k=_,h.g==0&&Cs(G,h,G.c.b,G.c);for(;G.b!=0;){for(h=u(G.b==0?null:(sr(G.b!=0),bh(G,G.a.a)),307),o=h.j.d.c,q=h.a.a.ec().Kc();q.Ob();)M=u(q.Pb(),57),Z=h.k+M.b.a,!hun(e,h,e.d)||M.d.c<Z?M.i=Z:M.i=M.d.c;for(o-=h.j.i,h.b+=o,e.d==(ko(),Lf)||e.d==J0?h.c+=o:h.c-=o,B=h.a.a.ec().Kc();B.Ob();)for(M=u(B.Pb(),57),k=M.c.Kc();k.Ob();)w=u(k.Pb(),57),Bp(e.d)?W=e.g.Oe(M,w):W=e.g.Pe(M,w),w.a.k=b.Math.max(w.a.k,M.i+M.d.b+W-w.b.a),FXt(e,w,e.d)&&(w.a.k=b.Math.max(w.a.k,w.d.c-w.b.a)),--w.a.g,w.a.g==0&&pi(G,w.a)}for(r=new S(e.a.b);r.a<r.c.c.length;)n=u(Q(r),57),n.d.c=n.i},P(o0,"LongestPathCompaction",1790),D(1690,1,{},Moe),l.e=!1;var Bge,Rge,jge,Mut=P(o0,pfe,1690);D(1691,1,tr,Mr),l.td=function(e){dcn(this.a,u(e,46))},P(o0,bfe,1691),D(1791,1,{},Or),l.Me=function(e){var n,r,s,o,h,d,w;for(r=new S(e.a.b);r.a<r.c.c.length;)n=u(Q(r),57),n.c.$b();for(o=new S(e.a.b);o.a<o.c.c.length;)for(s=u(Q(o),57),d=new S(e.a.b);d.a<d.c.c.length;)h=u(Q(d),57),s!=h&&(s.a&&s.a==h.a||(Bp(e.d)?w=e.g.Pe(s,h):w=e.g.Oe(s,h),(h.d.c>s.d.c||s.d.c==h.d.c&&s.d.b<h.d.b)&&Zln(h.d.d+h.d.a+w,s.d.d)&&k3t(h.d.d,s.d.d+s.d.a+w)&&s.c.Fc(h)))},P(o0,"QuadraticConstraintCalculation",1791),D(522,1,{522:1},qtt),l.a=!1,l.b=!1,l.c=!1,l.d=!1,P(o0,vfe,522),D(803,1,{},Vvt),l.Me=function(e){this.c=e,uI(this,new Dn)},P(o0,wfe,803),D(1718,1,{679:1},RXt),l.Ke=function(e){cgn(this,u(e,464))},P(o0,mfe,1718),D(1719,1,Ui,Fn),l.ue=function(e,n){return unn(u(e,57),u(n,57))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(o0,yfe,1719),D(464,1,{464:1},m2t),l.a=!1,P(o0,xfe,464),D(1720,1,Ui,Li),l.ue=function(e,n){return y1n(u(e,464),u(n,464))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(o0,kfe,1720),D(1721,1,_d,Dn),l.Lb=function(e){return u(e,57),!0},l.Fb=function(e){return this===e},l.Mb=function(e){return u(e,57),!0},P(o0,"ScanlineConstraintCalculator/lambda$1$Type",1721),D(428,22,{3:1,35:1,22:1,428:1},k2t);var M7t,Dut,D7t=Qr(wot,"HighLevelSortingCriterion",428,ni,Ynn,nZe),$ge;D(427,22,{3:1,35:1,22:1,427:1},E2t);var I7t,Iut,O7t=Qr(wot,"LowLevelSortingCriterion",427,ni,Xnn,rZe),zge,j4=ls(hc,"ILayoutMetaDataProvider");D(853,1,jh,YL),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,z6t),mot),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),$7t),(Hg(),ks)),Y7t),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,q6t),mot),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),R7t),ks),O7t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,H6t),mot),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),F7t),ks),D7t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,V6t),mot),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(Rn(),!0)),Va),Zs),cn(Un))))};var P7t,N7t,F7t,B7t,R7t,j7t,$7t;P(wot,"PolyominoOptions",853),D(250,22,{3:1,35:1,22:1,250:1},$3);var z7t,q7t,H7t,V7t,G7t,U7t,Out,W7t,K7t,Y7t=Qr(wot,"TraversalStrategy",250,ni,uon,iZe),qge;D(213,1,{213:1},Ba),l.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},l.a=1,l.b=0,l.c=0,l.f=!1,l.g=0;var Hge=P(IC,"NEdge",213);D(176,1,{},Dh),P(IC,"NEdge/NEdgeBuilder",176),D(653,1,{},Vtt),P(IC,"NGraph",653),D(121,1,{121:1},xJt),l.c=-1,l.d=0,l.e=0,l.i=-1,l.j=!1;var X7t=P(IC,"NNode",121);D(795,1,sfe,_pt),l.Jc=function(e){Pa(this,e)},l.Lc=function(){return new En(null,new _n(this,16))},l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.Oc=function(){return new En(null,new _n(this,16))},l.Vc=function(e,n){++this.b,$m(this.a,e,n)},l.Fc=function(e){return vj(this,e)},l.Wc=function(e,n){return++this.b,Nyt(this.a,e,n)},l.Gc=function(e){return++this.b,Hs(this.a,e)},l.$b=function(){++this.b,this.a.c=Pt(ir,De,1,0,5,1)},l.Hc=function(e){return Zo(this.a,e,0)!=-1},l.Ic=function(e){return PD(this.a,e)},l.Xb=function(e){return Fe(this.a,e)},l.Xc=function(e){return Zo(this.a,e,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return Y6(new S(this.a))},l.Yc=function(){throw et(new Gr)},l.Zc=function(e){throw et(new Gr)},l.$c=function(e){return++this.b,Ig(this.a,e)},l.Mc=function(e){return Cbt(this,e)},l._c=function(e,n){return++this.b,gh(this.a,e,n)},l.gc=function(){return this.a.c.length},l.bd=function(e,n){return new Zd(this.a,e,n)},l.Pc=function(){return int(this.a)},l.Qc=function(e){return $1(this.a,e)},l.b=0,P(IC,"NNode/ChangeAwareArrayList",795),D(269,1,{},K2),P(IC,"NNode/NNodeBuilder",269),D(1630,1,{},zn),l.a=!1,l.f=Di,l.j=0,P(IC,"NetworkSimplex",1630),D(1294,1,tr,yr),l.td=function(e){ihe(this.a,u(e,680),!0,!1)},P(Efe,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),D(558,1,{},lr),l.b=!0,l.c=!0,l.d=!0,l.e=!0,P(Efe,"NodeMarginCalculator",558),D(212,1,{212:1}),l.j=!1,l.k=!1;var Vge=P(Tb,"Cell",212);D(124,212,{124:1,212:1},$Wt),l.Re=function(){return Dj(this)},l.Se=function(){var e;return e=this.n,this.a.a+e.b+e.c},P(Tb,"AtomicCell",124),D(232,22,{3:1,35:1,22:1,232:1},bet);var wc,uu,mc,My=Qr(Tb,"ContainerArea",232,ni,xrn,sZe),Gge;D(326,212,Tfe),P(Tb,"ContainerCell",326),D(1473,326,Tfe,rie),l.Re=function(){var e;return e=0,this.e?this.b?e=this.b.b:this.a[1][1]&&(e=this.a[1][1].Re()):e=r3t(this,pse(this,!0)),e>0?e+this.n.d+this.n.a:0},l.Se=function(){var e,n,r,s,o;if(o=0,this.e)this.b?o=this.b.a:this.a[1][1]&&(o=this.a[1][1].Se());else if(this.g)o=r3t(this,xst(this,null,!0));else for(n=(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])),r=0,s=n.length;r<s;++r)e=n[r],o=b.Math.max(o,r3t(this,xst(this,e,!0)));return o>0?o+this.n.b+this.n.c:0},l.Te=function(){var e,n,r,s,o;if(this.g)for(e=xst(this,null,!1),r=(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])),s=0,o=r.length;s<o;++s)n=r[s],qce(this,n,e);else for(r=(Jf(),ct(ot(My,1),ue,232,0,[wc,uu,mc])),s=0,o=r.length;s<o;++s)n=r[s],e=xst(this,n,!1),qce(this,n,e)},l.Ue=function(){var e,n,r,s;n=this.i,e=this.n,s=pse(this,!1),omt(this,(Jf(),wc),n.d+e.d,s),omt(this,mc,n.d+n.a-e.a-s[2],s),r=n.a-e.d-e.a,s[0]>0&&(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+e.d+(this.c.a-r)/2,s[1]=b.Math.max(s[1],r),omt(this,uu,n.d+e.d+s[0]-(s[1]-r)/2,s)},l.b=null,l.d=0,l.e=!1,l.f=!1,l.g=!1;var Put=0,JH=0;P(Tb,"GridContainerCell",1473),D(461,22,{3:1,35:1,22:1,461:1},vet);var f2,Pd,Cf,Uge=Qr(Tb,"HorizontalLabelAlignment",461,ni,krn,aZe),Wge;D(306,212,{212:1,306:1},ZXt,see,YXt),l.Re=function(){return FKt(this)},l.Se=function(){return Pvt(this)},l.a=0,l.c=!1;var e6n=P(Tb,"LabelCell",306);D(244,326,{212:1,326:1,244:1},rC),l.Re=function(){return hI(this)},l.Se=function(){return fI(this)},l.Te=function(){fat(this)},l.Ue=function(){dat(this)},l.b=0,l.c=0,l.d=!1,P(Tb,"StripContainerCell",244),D(1626,1,Ti,is),l.Mb=function(e){return mKe(u(e,212))},P(Tb,"StripContainerCell/lambda$0$Type",1626),D(1627,1,{},La),l.Fe=function(e){return u(e,212).Se()},P(Tb,"StripContainerCell/lambda$1$Type",1627),D(1628,1,Ti,Xa),l.Mb=function(e){return yKe(u(e,212))},P(Tb,"StripContainerCell/lambda$2$Type",1628),D(1629,1,{},Ta),l.Fe=function(e){return u(e,212).Re()},P(Tb,"StripContainerCell/lambda$3$Type",1629),D(462,22,{3:1,35:1,22:1,462:1},wet);var Sf,d2,a1,Kge=Qr(Tb,"VerticalLabelAlignment",462,ni,Ern,oZe),Yge;D(789,1,{},v6t),l.c=0,l.d=0,l.k=0,l.s=0,l.t=0,l.v=!1,l.w=0,l.D=!1,P(jq,"NodeContext",789),D(1471,1,Ui,ga),l.ue=function(e,n){return ZGt(u(e,61),u(n,61))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(jq,"NodeContext/0methodref$comparePortSides$Type",1471),D(1472,1,Ui,Es),l.ue=function(e,n){return Wdn(u(e,111),u(n,111))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(jq,"NodeContext/1methodref$comparePortContexts$Type",1472),D(159,22,{3:1,35:1,22:1,159:1},vh);var Xge,Qge,Zge,Jge,tpe,epe,npe,rpe,ipe,spe,ape,ope,cpe,upe,lpe,hpe,fpe,dpe,gpe,ppe,bpe,Nut,vpe=Qr(jq,"NodeLabelLocation",159,ni,Jit,cZe),wpe;D(111,1,{111:1},Doe),l.a=!1,P(jq,"PortContext",111),D(1476,1,tr,Bs),l.td=function(e){vHt(u(e,306))},P(jI,_fe,1476),D(1477,1,Ti,_a),l.Mb=function(e){return!!u(e,111).c},P(jI,Cfe,1477),D(1478,1,tr,Ma),l.td=function(e){vHt(u(e,111).c)},P(jI,"LabelPlacer/lambda$2$Type",1478);var Q7t;D(1475,1,tr,ov),l.td=function(e){Bm(),JWe(u(e,111))},P(jI,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),D(790,1,tr,dvt),l.td=function(e){hYe(this.b,this.c,this.a,u(e,181))},l.a=!1,l.c=!1,P(jI,"NodeLabelCellCreator/lambda$0$Type",790),D(1474,1,tr,bn),l.td=function(e){nKe(this.a,u(e,181))},P(jI,"PortContextCreator/lambda$0$Type",1474);var tV;D(1829,1,{},rl),P(F7,"GreedyRectangleStripOverlapRemover",1829),D(1830,1,Ui,Ga),l.ue=function(e,n){return HXe(u(e,222),u(n,222))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(F7,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),D(1786,1,{},Yzt),l.a=5,l.e=0,P(F7,"RectangleStripOverlapRemover",1786),D(1787,1,Ui,Ls),l.ue=function(e,n){return VXe(u(e,222),u(n,222))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(F7,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),D(1789,1,Ui,bp),l.ue=function(e,n){return gen(u(e,222),u(n,222))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(F7,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),D(406,22,{3:1,35:1,22:1,406:1},HR);var cO,Fut,But,uO,mpe=Qr(F7,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,ni,kin,uZe),ype;D(222,1,{222:1},Int),P(F7,"RectangleStripOverlapRemover/RectangleNode",222),D(1788,1,tr,Sr),l.td=function(e){wfn(this.a,u(e,222))},P(F7,"RectangleStripOverlapRemover/lambda$1$Type",1788),D(1304,1,Ui,ad),l.ue=function(e,n){return Tyn(u(e,167),u(n,167))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),D(1307,1,{},Rl),l.Kb=function(e){return u(e,324).a},P(Cd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),D(1308,1,Ti,$u),l.Mb=function(e){return u(e,323).a},P(Cd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),D(1309,1,Ti,Gi),l.Mb=function(e){return u(e,323).a},P(Cd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),D(1302,1,Ui,Ue),l.ue=function(e,n){return iwn(u(e,167),u(n,167))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),D(1305,1,{},mu),l.Kb=function(e){return u(e,324).a},P(Cd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),D(767,1,Ui,Cr),l.ue=function(e,n){return acn(u(e,167),u(n,167))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/MinNumOfExtensionsComparator",767),D(1300,1,Ui,ci),l.ue=function(e,n){return pon(u(e,321),u(n,321))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/MinPerimeterComparator",1300),D(1301,1,Ui,Qa),l.ue=function(e,n){return Ghn(u(e,321),u(n,321))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),D(1303,1,Ui,kc),l.ue=function(e,n){return Swn(u(e,167),u(n,167))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Cd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),D(1306,1,{},yu),l.Kb=function(e){return u(e,324).a},P(Cd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),D(777,1,{},y2t),l.Ce=function(e,n){return win(this,u(e,46),u(n,167))},P(Cd,"SuccessorCombination",777),D(644,1,{},yo),l.Ce=function(e,n){var r;return opn((r=u(e,46),u(n,167),r))},P(Cd,"SuccessorJitter",644),D(643,1,{},xu),l.Ce=function(e,n){var r;return Ybn((r=u(e,46),u(n,167),r))},P(Cd,"SuccessorLineByLine",643),D(568,1,{},uf),l.Ce=function(e,n){var r;return c2n((r=u(e,46),u(n,167),r))},P(Cd,"SuccessorManhattan",568),D(1356,1,{},k3),l.Ce=function(e,n){var r;return mbn((r=u(e,46),u(n,167),r))},P(Cd,"SuccessorMaxNormWindingInMathPosSense",1356),D(400,1,{},Er),l.Ce=function(e,n){return cwt(this,e,n)},l.c=!1,l.d=!1,l.e=!1,l.f=!1,P(Cd,"SuccessorQuadrantsGeneric",400),D(1357,1,{},v1),l.Kb=function(e){return u(e,324).a},P(Cd,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),D(323,22,{3:1,35:1,22:1,323:1},qR),l.a=!1;var lO,hO,fO,dO,xpe=Qr(zq,K6t,323,ni,_in,lZe),kpe;D(1298,1,{}),l.Ib=function(){var e,n,r,s,o,h;for(r=" ",e=ve(0),o=0;o<this.o;o++)r+=""+e.a,e=ve(LWt(e.a));for(r+=`
+`,e=ve(0),h=0;h<this.p;h++){for(r+=""+e.a,e=ve(LWt(e.a)),s=0;s<this.o;s++)n=ait(this,s,h),Oc(n,0)==0?r+="_":Oc(n,1)==0?r+="X":r+="0";r+=`
+`}return $l(r,0,r.length-1)},l.o=0,l.p=0,P(zq,"TwoBitGrid",1298),D(321,1298,{321:1},p3t),l.j=0,l.k=0,P(zq,"PlanarGrid",321),D(167,321,{321:1,167:1}),l.g=0,l.i=0,P(zq,"Polyomino",167);var n6n=ls($I,Afe);D(134,1,Y6t,E3),l.Ye=function(e,n){return jD(this,e,n)},l.Ve=function(){return QKt(this)},l.We=function(e){return K(this,e)},l.Xe=function(e){return ia(this,e)},P($I,"MapPropertyHolder",134),D(1299,134,Y6t,Mce),P(zq,"Polyominoes",1299);var Epe=!1,cS,Z7t;D(1766,1,tr,yL),l.td=function(e){Ale(u(e,221))},P(bx,"DepthFirstCompaction/0methodref$compactTree$Type",1766),D(810,1,tr,fi),l.td=function(e){jen(this.a,u(e,221))},P(bx,"DepthFirstCompaction/lambda$1$Type",810),D(1767,1,tr,lKt),l.td=function(e){uhn(this.a,this.b,this.c,u(e,221))},P(bx,"DepthFirstCompaction/lambda$2$Type",1767);var uS,J7t;D(65,1,{65:1},vQt),P(bx,"Node",65),D(1250,1,{},wUt),P(bx,"ScanlineOverlapCheck",1250),D(1251,1,{679:1},BXt),l.Ke=function(e){kQe(this,u(e,440))},P(bx,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),D(1252,1,Ui,hm),l.ue=function(e,n){return Gun(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(bx,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),D(440,1,{440:1},x2t),l.a=!1,P(bx,"ScanlineOverlapCheck/Timestamp",440),D(1253,1,Ui,wg),l.ue=function(e,n){return x1n(u(e,440),u(n,440))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(bx,"ScanlineOverlapCheck/lambda$0$Type",1253),D(550,1,{},cs),P(Lfe,"SVGImage",550),D(324,1,{324:1},gvt),l.Ib=function(){return"("+this.a+oo+this.b+oo+this.c+")"},P(Lfe,"UniqueTriple",324),D(209,1,_b),P(A4,"AbstractLayoutProvider",209),D(1132,209,_b,zs),l.Ze=function(e,n){var r,s,o,h;switch(Dr(n,Mfe,1),this.a=Zt(ke(He(e,(iC(),s9t)))),sb(e,jut)&&(o=Yr(He(e,jut)),r=sat(q8(),o),r&&(s=u(lrt(r.f),209),s.Ze(e,Kc(n,1)))),h=new OZt(this.a),this.b=l4n(h,e),u(He(e,(Sit(),e9t)),481).g){case 0:Cpn(new Da,this.b),Do(e,rV,K(this.b,rV));break;default:Ud()}w4n(h),Do(e,r9t,this.b),br(n)},l.a=0,P(Dfe,"DisCoLayoutProvider",1132),D(1244,1,{},Da),l.c=!1,l.e=0,l.f=0,P(Dfe,"DisCoPolyominoCompactor",1244),D(561,1,{561:1},nYt),l.b=!0,P(Hq,"DCComponent",561),D(394,22,{3:1,35:1,22:1,394:1},zR),l.a=!1;var eV,gO,nV,pO,Tpe=Qr(Hq,"DCDirection",394,ni,Tin,hZe),_pe;D(266,134,{3:1,266:1,94:1,134:1},Gst),P(Hq,"DCElement",266),D(395,1,{395:1},j3t),l.c=0,P(Hq,"DCExtension",395),D(755,134,Y6t,Jqt),P(Hq,"DCGraph",755),D(481,22,{3:1,35:1,22:1,481:1},rWt);var Rut,t9t=Qr(Sot,X6t,481,ni,tnn,fZe),Cpe;D(854,1,jh,DJ),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Q6t),Ife),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),n9t),(Hg(),ks)),t9t),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Z6t),Ife),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),_9),Le),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,J6t),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),X1),ir),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,txt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),X1),ir),cn(Un)))),ble((new DB,e))};var Spe,e9t,n9t,Ape,Lpe;P(Sot,"DisCoMetaDataProvider",854),D(998,1,jh,DB),l.Qe=function(e){ble(e)};var Mpe,jut,Dpe,r9t,rV,$ut,i9t,Ipe,Ope,Ppe,Npe,s9t;P(Sot,"DisCoOptions",998),D(999,1,{},ki),l.$e=function(){var e;return e=new zs,e},l._e=function(e){},P(Sot,"DisCoOptions/DiscoFactory",999),D(562,167,{321:1,167:1,562:1},dce),l.a=0,l.b=0,l.c=0,l.d=0,P("org.eclipse.elk.alg.disco.structures","DCPolyomino",562);var zut,qut,iV;D(1268,1,Ti,Rc),l.Mb=function(e){return X2t(e)},P(L4,"ElkGraphComponentsProcessor/lambda$0$Type",1268),D(1269,1,{},Oe),l.Kb=function(e){return $6(),n0(u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$1$Type",1269),D(1270,1,Ti,vp),l.Mb=function(e){return htn(u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$2$Type",1270),D(1271,1,{},Ye),l.Kb=function(e){return $6(),t2(u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$3$Type",1271),D(1272,1,Ti,lf),l.Mb=function(e){return ftn(u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$4$Type",1272),D(1273,1,Ti,Ii),l.Mb=function(e){return nrn(this.a,u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$5$Type",1273),D(1274,1,{},oa),l.Kb=function(e){return yen(this.a,u(e,79))},P(L4,"ElkGraphComponentsProcessor/lambda$6$Type",1274),D(1241,1,{},OZt),l.a=0,P(L4,"ElkGraphTransformer",1241),D(1242,1,{},fm),l.Od=function(e,n){hpn(this,u(e,160),u(n,266))},P(L4,"ElkGraphTransformer/OffsetApplier",1242),D(1243,1,tr,Ra),l.td=function(e){FXe(this,u(e,8))},P(L4,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),D(753,1,{},LE),P(nxt,rxt,753),D(1232,1,Ui,wp),l.ue=function(e,n){return Qgn(u(e,231),u(n,231))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(nxt,Ofe,1232),D(740,209,_b,Cpt),l.Ze=function(e,n){bce(this,e,n)},P(nxt,"ForceLayoutProvider",740),D(357,134,{3:1,357:1,94:1,134:1}),P(zI,"FParticle",357),D(559,357,{3:1,559:1,357:1,94:1,134:1},BYt),l.Ib=function(){var e;return this.a?(e=Zo(this.a.a,this,0),e>=0?"b"+e+"["+Mrt(this.a)+"]":"b["+Mrt(this.a)+"]"):"b_"+Mv(this)},P(zI,"FBendpoint",559),D(282,134,{3:1,282:1,94:1,134:1},IWt),l.Ib=function(){return Mrt(this)},P(zI,"FEdge",282),D(231,134,{3:1,231:1,94:1,134:1},A$);var r6n=P(zI,"FGraph",231);D(447,357,{3:1,447:1,357:1,94:1,134:1},NZt),l.Ib=function(){return this.b==null||this.b.length==0?"l["+Mrt(this.a)+"]":"l_"+this.b},P(zI,"FLabel",447),D(144,357,{3:1,144:1,357:1,94:1,134:1},GYt),l.Ib=function(){return jwt(this)},l.b=0,P(zI,"FNode",144),D(2003,1,{}),l.bf=function(e){X5t(this,e)},l.cf=function(){gse(this)},l.d=0,P(ixt,"AbstractForceModel",2003),D(631,2003,{631:1},Tne),l.af=function(e,n){var r,s,o,h,d;return loe(this.f,e,n),o=ba(pc(n.d),e.d),d=b.Math.sqrt(o.a*o.a+o.b*o.b),s=b.Math.max(0,d-A_(e.e)/2-A_(n.e)/2),r=tre(this.e,e,n),r>0?h=-hen(s,this.c)*r:h=rQe(s,this.b)*u(K(e,(r1(),e9)),19).a,bd(o,h/d),o},l.bf=function(e){X5t(this,e),this.a=u(K(e,(r1(),aV)),19).a,this.c=Zt(ke(K(e,oV))),this.b=Zt(ke(K(e,Vut)))},l.df=function(e){return e<this.a},l.a=0,l.b=0,l.c=0,P(ixt,"EadesModel",631),D(632,2003,{632:1},_Kt),l.af=function(e,n){var r,s,o,h,d;return loe(this.f,e,n),o=ba(pc(n.d),e.d),d=b.Math.sqrt(o.a*o.a+o.b*o.b),s=b.Math.max(0,d-A_(e.e)/2-A_(n.e)/2),h=nQe(s,this.a)*u(K(e,(r1(),e9)),19).a,r=tre(this.e,e,n),r>0&&(h-=pKe(s,this.a)*r),bd(o,h*this.b/d),o},l.bf=function(e){var n,r,s,o,h,d,w;for(X5t(this,e),this.b=Zt(ke(K(e,(r1(),Gut)))),this.c=this.b/u(K(e,aV),19).a,s=e.e.c.length,h=0,o=0,w=new S(e.e);w.a<w.c.c.length;)d=u(Q(w),144),h+=d.e.a,o+=d.e.b;n=h*o,r=Zt(ke(K(e,oV)))*H1,this.a=b.Math.sqrt(n/(2*s))*r},l.cf=function(){gse(this),this.b-=this.c},l.df=function(e){return this.b>0},l.a=0,l.b=0,l.c=0,P(ixt,"FruchtermanReingoldModel",632),D(849,1,jh,IJ),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Vq),""),"Force Model"),"Determines the model for force calculation."),a9t),(Hg(),ks)),o9t),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,sxt),""),"Iterations"),"The number of iterations on the force model."),ve(300)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,axt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ve(0)),Lc),eo),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Dot),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Sd),Wo),Ea),cn(Un)))),xa(e,Dot,Vq,qpe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Iot),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Wo),Ea),cn(Un)))),xa(e,Iot,Vq,jpe),hhe((new dT,e))};var Fpe,Bpe,a9t,Rpe,jpe,$pe,zpe,qpe;P(PC,"ForceMetaDataProvider",849),D(424,22,{3:1,35:1,22:1,424:1},T2t);var Hut,sV,o9t=Qr(PC,"ForceModelStrategy",424,ni,Qnn,dZe),Hpe;D(988,1,jh,dT),l.Qe=function(e){hhe(e)};var Vpe,Gpe,c9t,aV,u9t,Upe,Wpe,Kpe,l9t,Ype,h9t,f9t,Xpe,e9,Qpe,Vut,d9t,Zpe,Jpe,oV,Gut;P(PC,"ForceOptions",988),D(989,1,{},j5),l.$e=function(){var e;return e=new Cpt,e},l._e=function(e){},P(PC,"ForceOptions/ForceFactory",989);var bO,lS,Cx,cV;D(850,1,jh,OJ),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,cxt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Rn(),!1)),(Hg(),Va)),Zs),cn((e1(),fa))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,uxt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Wo),Ea),Qi(Un,ct(ot(ep,1),ue,175,0,[Rd]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,lxt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),g9t),ks),x9t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,hxt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Sd),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,fxt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ve(Di)),Lc),eo),cn(Un)))),Yle((new PJ,e))};var t2e,e2e,g9t,n2e,r2e,i2e;P(PC,"StressMetaDataProvider",850),D(992,1,jh,PJ),l.Qe=function(e){Yle(e)};var uV,p9t,b9t,v9t,w9t,m9t,s2e,a2e,o2e,c2e,y9t,u2e;P(PC,"StressOptions",992),D(993,1,{},ah),l.$e=function(){var e;return e=new OWt,e},l._e=function(e){},P(PC,"StressOptions/StressFactory",993),D(1128,209,_b,OWt),l.Ze=function(e,n){var r,s,o,h,d;for(Dr(n,Rfe,1),je(Be(He(e,(nI(),w9t))))?je(Be(He(e,y9t)))||h$((r=new fr((Dm(),new Sm(e))),r)):bce(new Cpt,e,Kc(n,1)),o=Une(e),s=sle(this.a,o),d=s.Kc();d.Ob();)h=u(d.Pb(),231),!(h.e.c.length<=1)&&(kyn(this.b,h),t2n(this.b),Mu(h.d,new od));o=whe(s),phe(o),br(n)},P(Wq,"StressLayoutProvider",1128),D(1129,1,tr,od),l.td=function(e){r6t(u(e,447))},P(Wq,"StressLayoutProvider/lambda$0$Type",1129),D(990,1,{},qzt),l.c=0,l.e=0,l.g=0,P(Wq,"StressMajorization",990),D(379,22,{3:1,35:1,22:1,379:1},met);var Uut,Wut,Kut,x9t=Qr(Wq,"StressMajorization/Dimension",379,ni,_rn,gZe),l2e;D(991,1,Ui,Fi),l.ue=function(e,n){return VQe(this.a,u(e,144),u(n,144))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Wq,"StressMajorization/lambda$0$Type",991),D(1229,1,{},KQt),P(yx,"ElkLayered",1229),D(1230,1,tr,$5),l.td=function(e){epn(u(e,37))},P(yx,"ElkLayered/lambda$0$Type",1230),D(1231,1,tr,_i),l.td=function(e){GQe(this.a,u(e,37))},P(yx,"ElkLayered/lambda$1$Type",1231),D(1263,1,{},yUt);var h2e,f2e,d2e;P(yx,"GraphConfigurator",1263),D(759,1,tr,Ms),l.td=function(e){kae(this.a,u(e,10))},P(yx,"GraphConfigurator/lambda$0$Type",759),D(760,1,{},z5),l.Kb=function(e){return t4t(),new En(null,new _n(u(e,29).a,16))},P(yx,"GraphConfigurator/lambda$1$Type",760),D(761,1,tr,ts),l.td=function(e){kae(this.a,u(e,10))},P(yx,"GraphConfigurator/lambda$2$Type",761),D(1127,209,_b,Gzt),l.Ze=function(e,n){var r;r=Hmn(new Qzt,e),Ut(He(e,(Te(),jy)))===Ut((q0(),np))?xln(this.a,r,n):vpn(this.a,r,n),lhe(new FJ,r)},P(yx,"LayeredLayoutProvider",1127),D(356,22,{3:1,35:1,22:1,356:1},TM);var Nd,g2,pu,Zc,Uo,k9t=Qr(yx,"LayeredPhases",356,ni,csn,pZe),g2e;D(1651,1,{},Oee),l.i=0;var p2e;P(VI,"ComponentsToCGraphTransformer",1651);var b2e;D(1652,1,{},ME),l.ef=function(e,n){return b.Math.min(e.a!=null?Zt(e.a):e.c.i,n.a!=null?Zt(n.a):n.c.i)},l.ff=function(e,n){return b.Math.min(e.a!=null?Zt(e.a):e.c.i,n.a!=null?Zt(n.a):n.c.i)},P(VI,"ComponentsToCGraphTransformer/1",1652),D(81,1,{81:1}),l.i=0,l.k=!0,l.o=Rs;var Yut=P(BC,"CNode",81);D(460,81,{460:1,81:1},_bt,C3t),l.Ib=function(){return""},P(VI,"ComponentsToCGraphTransformer/CRectNode",460),D(1623,1,{},xL);var Xut,Qut;P(VI,"OneDimensionalComponentsCompaction",1623),D(1624,1,{},w1),l.Kb=function(e){return brn(u(e,46))},l.Fb=function(e){return this===e},P(VI,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),D(1625,1,{},mp),l.Kb=function(e){return Lln(u(e,46))},l.Fb=function(e){return this===e},P(VI,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),D(1654,1,{},VYt),P(BC,"CGraph",1654),D(189,1,{189:1},Xit),l.b=0,l.c=0,l.e=0,l.g=!0,l.i=Rs,P(BC,"CGroup",189),D(1653,1,{},gm),l.ef=function(e,n){return b.Math.max(e.a!=null?Zt(e.a):e.c.i,n.a!=null?Zt(n.a):n.c.i)},l.ff=function(e,n){return b.Math.max(e.a!=null?Zt(e.a):e.c.i,n.a!=null?Zt(n.a):n.c.i)},P(BC,ffe,1653),D(1655,1,{},Eoe),l.d=!1;var v2e,Zut=P(BC,pfe,1655);D(1656,1,{},Ec),l.Kb=function(e){return h2t(),Rn(),u(u(e,46).a,81).d.e!=0},l.Fb=function(e){return this===e},P(BC,bfe,1656),D(823,1,{},Nvt),l.a=!1,l.b=!1,l.c=!1,l.d=!1,P(BC,vfe,823),D(1825,1,{},cYt),P(Kq,wfe,1825);var vO=ls(Sb,lfe);D(1826,1,{369:1},jXt),l.Ke=function(e){lvn(this,u(e,466))},P(Kq,mfe,1826),D(1827,1,Ui,pk),l.ue=function(e,n){return lnn(u(e,81),u(n,81))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Kq,yfe,1827),D(466,1,{466:1},C2t),l.a=!1,P(Kq,xfe,466),D(1828,1,Ui,Ko),l.ue=function(e,n){return k1n(u(e,466),u(n,466))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Kq,kfe,1828),D(140,1,{140:1},o8,Mvt),l.Fb=function(e){var n;return e==null||i6n!=bl(e)?!1:(n=u(e,140),Gc(this.c,n.c)&&Gc(this.d,n.d))},l.Hb=function(){return mz(ct(ot(ir,1),De,1,5,[this.c,this.d]))},l.Ib=function(){return"("+this.c+oo+this.d+(this.a?"cx":"")+this.b+")"},l.a=!0,l.c=0,l.d=0;var i6n=P(Sb,"Point",140);D(405,22,{3:1,35:1,22:1,405:1},VR);var _w,Dy,$4,Iy,w2e=Qr(Sb,"Point/Quadrant",405,ni,Cin,bZe),m2e;D(1642,1,{},Uzt),l.b=null,l.c=null,l.d=null,l.e=null,l.f=null;var y2e,x2e,k2e,E2e,T2e;P(Sb,"RectilinearConvexHull",1642),D(574,1,{369:1},jz),l.Ke=function(e){uan(this,u(e,140))},l.b=0;var E9t;P(Sb,"RectilinearConvexHull/MaximalElementsEventHandler",574),D(1644,1,Ui,dm),l.ue=function(e,n){return Jen(ke(e),ke(n))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),D(1643,1,{369:1},nee),l.Ke=function(e){Ebn(this,u(e,140))},l.a=0,l.b=null,l.c=null,l.d=null,l.e=null,P(Sb,"RectilinearConvexHull/RectangleEventHandler",1643),D(1645,1,Ui,cv),l.ue=function(e,n){return nin(u(e,140),u(n,140))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/lambda$0$Type",1645),D(1646,1,Ui,cd),l.ue=function(e,n){return rin(u(e,140),u(n,140))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/lambda$1$Type",1646),D(1647,1,Ui,bk),l.ue=function(e,n){return sin(u(e,140),u(n,140))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/lambda$2$Type",1647),D(1648,1,Ui,oh),l.ue=function(e,n){return iin(u(e,140),u(n,140))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/lambda$3$Type",1648),D(1649,1,Ui,ZK),l.ue=function(e,n){return o0n(u(e,140),u(n,140))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Sb,"RectilinearConvexHull/lambda$4$Type",1649),D(1650,1,{},bQt),P(Sb,"Scanline",1650),D(2005,1,{}),P(Ad,"AbstractGraphPlacer",2005),D(325,1,{325:1},cWt),l.mf=function(e){return this.nf(e)?(un(this.b,u(K(e,(oe(),Py)),21),e),!0):!1},l.nf=function(e){var n,r,s,o;for(n=u(K(e,(oe(),Py)),21),o=u(ji(Wi,n),21),s=o.Kc();s.Ob();)if(r=u(s.Pb(),21),!u(ji(this.b,r),15).dc())return!1;return!0};var Wi;P(Ad,"ComponentGroup",325),D(765,2005,{},Mpt),l.of=function(e){var n,r;for(r=new S(this.a);r.a<r.c.c.length;)if(n=u(Q(r),325),n.mf(e))return;de(this.a,new cWt(e))},l.lf=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W;if(this.a.c=Pt(ir,De,1,0,5,1),n.a.c=Pt(ir,De,1,0,5,1),e.dc()){n.f.a=0,n.f.b=0;return}for(d=u(e.Xb(0),37),Vo(n,d),o=e.Kc();o.Ob();)s=u(o.Pb(),37),this.of(s);for(W=new $a,h=Zt(ke(K(d,(Te(),DO)))),_=new S(this.a);_.a<_.c.c.length;)w=u(Q(_),325),M=Che(w,h),Pg(Qj(w.b),W.a,W.b),W.a+=M.a,W.b+=M.b;if(n.f.a=W.a-h,n.f.b=W.b-h,je(Be(K(d,YV)))&&Ut(K(d,Z0))===Ut((V0(),L9))){for(G=e.Kc();G.Ob();)B=u(G.Pb(),37),wC(B,B.c.a,B.c.b);for(r=new DE,E6t(r,e,h),q=e.Kc();q.Ob();)B=u(q.Pb(),37),$i(Yf(B.c),r.e);$i(Yf(n.f),r.a)}for(k=new S(this.a);k.a<k.c.c.length;)w=u(Q(k),325),Emt(n,Qj(w.b))},P(Ad,"ComponentGroupGraphPlacer",765),D(1293,765,{},iqt),l.of=function(e){Ore(this,e)},l.lf=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt;if(this.a.c=Pt(ir,De,1,0,5,1),n.a.c=Pt(ir,De,1,0,5,1),e.dc()){n.f.a=0,n.f.b=0;return}for(d=u(e.Xb(0),37),Vo(n,d),o=e.Kc();o.Ob();)s=u(o.Pb(),37),Ore(this,s);for(jt=new $a,St=new $a,Z=new $a,W=new $a,h=Zt(ke(K(d,(Te(),DO)))),_=new S(this.a);_.a<_.c.c.length;){if(w=u(Q(_),325),Bp(u(K(n,(Ei(),Rw)),103))){for(Z.a=jt.a,Mt=new IT(S_(Wnt(w.b).a).a.kc());Mt.b.Ob();)if(bt=u(BR(Mt.b.Pb()),21),bt.Hc((ye(),Nn))){Z.a=St.a;break}}else if(u8(u(K(n,Rw),103))){for(Z.b=jt.b,Mt=new IT(S_(Wnt(w.b).a).a.kc());Mt.b.Ob();)if(bt=u(BR(Mt.b.Pb()),21),bt.Hc((ye(),jn))){Z.b=St.b;break}}if(M=Che(u(w,570),h),Pg(Qj(w.b),Z.a,Z.b),Bp(u(K(n,Rw),103))){for(St.a=Z.a+M.a,W.a=b.Math.max(W.a,St.a),Mt=new IT(S_(Wnt(w.b).a).a.kc());Mt.b.Ob();)if(bt=u(BR(Mt.b.Pb()),21),bt.Hc((ye(),Ir))){jt.a=Z.a+M.a;break}St.b=Z.b+M.b,Z.b=St.b,W.b=b.Math.max(W.b,Z.b)}else if(u8(u(K(n,Rw),103))){for(St.b=Z.b+M.b,W.b=b.Math.max(W.b,St.b),Mt=new IT(S_(Wnt(w.b).a).a.kc());Mt.b.Ob();)if(bt=u(BR(Mt.b.Pb()),21),bt.Hc((ye(),Wn))){jt.b=Z.b+M.b;break}St.a=Z.a+M.a,Z.a=St.a,W.a=b.Math.max(W.a,Z.a)}}if(n.f.a=W.a-h,n.f.b=W.b-h,je(Be(K(d,YV)))&&Ut(K(d,Z0))===Ut((V0(),L9))){for(G=e.Kc();G.Ob();)B=u(G.Pb(),37),wC(B,B.c.a,B.c.b);for(r=new DE,E6t(r,e,h),q=e.Kc();q.Ob();)B=u(q.Pb(),37),$i(Yf(B.c),r.e);$i(Yf(n.f),r.a)}for(k=new S(this.a);k.a<k.c.c.length;)w=u(Q(k),325),Emt(n,Qj(w.b))},P(Ad,"ComponentGroupModelOrderGraphPlacer",1293),D(423,22,{3:1,35:1,22:1,423:1},yet);var Jut,T9t,z4,_9t=Qr(Ad,"ComponentOrderingStrategy",423,ni,Trn,vZe),_2e;D(650,1,{},DE),P(Ad,"ComponentsCompactor",650),D(1468,12,rfe,lJt),l.Fc=function(e){return lC(this,u(e,140))},P(Ad,"ComponentsCompactor/Hullpoints",1468),D(1465,1,{841:1},Yie),l.a=!1,P(Ad,"ComponentsCompactor/InternalComponent",1465),D(1464,1,i0,Wzt),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new S(this.a)},P(Ad,"ComponentsCompactor/InternalConnectedComponents",1464),D(1467,1,{594:1},_oe),l.hf=function(){return null},l.jf=function(){return this.a},l.gf=function(){return tst(this.d)},l.kf=function(){return this.b},P(Ad,"ComponentsCompactor/InternalExternalExtension",1467),D(1466,1,{594:1},Xzt),l.jf=function(){return this.a},l.gf=function(){return tst(this.d)},l.hf=function(){return this.c},l.kf=function(){return this.b},P(Ad,"ComponentsCompactor/InternalUnionExternalExtension",1466),D(1470,1,{},Hce),P(Ad,"ComponentsCompactor/OuterSegments",1470),D(1469,1,{},Kzt),P(Ad,"ComponentsCompactor/Segments",1469),D(1264,1,{},$Xt),P(Ad,rxt,1264),D(1265,1,Ui,JK),l.ue=function(e,n){return cin(u(e,37),u(n,37))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ad,"ComponentsProcessor/lambda$0$Type",1265),D(570,325,{325:1,570:1},uJt),l.mf=function(e){return Myt(this,e)},l.nf=function(e){return Ece(this,e)};var li;P(Ad,"ModelOrderComponentGroup",570),D(1291,2005,{},XN),l.lf=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae;if(e.gc()==1){jt=u(e.Xb(0),37),jt!=n&&(n.a.c=Pt(ir,De,1,0,5,1),Aue(n,jt,0,0),Vo(n,jt),Twt(n.d,jt.d),n.f.a=jt.f.a,n.f.b=jt.f.b);return}else if(e.dc()){n.a.c=Pt(ir,De,1,0,5,1),n.f.a=0,n.f.b=0;return}if(Ut(K(n,(Te(),Fx)))===Ut((tw(),z4))){for(k=e.Kc();k.Ob();){for(d=u(k.Pb(),37),Mt=0,Z=new S(d.a);Z.a<Z.c.c.length;)W=u(Q(Z),10),Mt+=u(K(W,Lwe),19).a;d.p=Mt}pn(),e.ad(new qf)}for(h=u(e.Xb(0),37),n.a.c=Pt(ir,De,1,0,5,1),Vo(n,h),G=0,Xt=0,_=e.Kc();_.Ob();)d=u(_.Pb(),37),St=d.f,G=b.Math.max(G,St.a),Xt+=St.a*St.b;for(G=b.Math.max(G,b.Math.sqrt(Xt)*Zt(ke(K(n,KV)))),o=Zt(ke(K(n,DO))),fe=0,Ae=0,q=0,r=o,w=e.Kc();w.Ob();)d=u(w.Pb(),37),St=d.f,fe+St.a>G&&(fe=0,Ae+=q+o,q=0),bt=d.c,wC(d,fe+bt.a,Ae+bt.b),Yf(bt),r=b.Math.max(r,fe+St.a),q=b.Math.max(q,St.b),fe+=St.a+o;if(n.f.a=r,n.f.b=Ae+q,je(Be(K(h,YV)))){for(s=new DE,E6t(s,e,o),B=e.Kc();B.Ob();)M=u(B.Pb(),37),$i(Yf(M.c),s.e);$i(Yf(n.f),s.a)}Emt(n,e)},P(Ad,"SimpleRowGraphPlacer",1291),D(1292,1,Ui,qf),l.ue=function(e,n){return scn(u(e,37),u(n,37))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ad,"SimpleRowGraphPlacer/1",1292);var C2e;D(1262,1,_d,pm),l.Lb=function(e){var n;return n=u(K(u(e,243).b,(Te(),zo)),74),!!n&&n.b!=0},l.Fb=function(e){return this===e},l.Mb=function(e){var n;return n=u(K(u(e,243).b,(Te(),zo)),74),!!n&&n.b!=0},P(Yq,"CompoundGraphPostprocessor/1",1262),D(1261,1,ys,Zzt),l.pf=function(e,n){Qie(this,u(e,37),n)},P(Yq,"CompoundGraphPreprocessor",1261),D(441,1,{441:1},Rre),l.c=!1,P(Yq,"CompoundGraphPreprocessor/ExternalPort",441),D(243,1,{243:1},Cj),l.Ib=function(){return snt(this.c)+":"+moe(this.b)},P(Yq,"CrossHierarchyEdge",243),D(763,1,Ui,Ri),l.ue=function(e,n){return Kfn(this,u(e,243),u(n,243))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Yq,"CrossHierarchyEdgeComparator",763),D(299,134,{3:1,299:1,94:1,134:1}),l.p=0,P(cu,"LGraphElement",299),D(17,299,{3:1,17:1,299:1,94:1,134:1},$v),l.Ib=function(){return moe(this)};var tlt=P(cu,"LEdge",17);D(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},Gmt),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new S(this.b)},l.Ib=function(){return this.b.c.length==0?"G-unlayered"+e2(this.a):this.a.c.length==0?"G-layered"+e2(this.b):"G[layerless"+e2(this.a)+", layers"+e2(this.b)+"]"};var S2e=P(cu,"LGraph",37),A2e;D(657,1,{}),l.qf=function(){return this.e.n},l.We=function(e){return K(this.e,e)},l.rf=function(){return this.e.o},l.sf=function(){return this.e.p},l.Xe=function(e){return ia(this.e,e)},l.tf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},l.uf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},l.vf=function(e){this.e.p=e},P(cu,"LGraphAdapters/AbstractLShapeAdapter",657),D(577,1,{839:1},ss),l.wf=function(){var e,n;if(!this.b)for(this.b=Wd(this.a.b.c.length),n=new S(this.a.b);n.a<n.c.c.length;)e=u(Q(n),70),de(this.b,new ro(e));return this.b},l.b=null,P(cu,"LGraphAdapters/LEdgeAdapter",577),D(656,1,{},trt),l.xf=function(){var e,n,r,s,o,h;if(!this.b){for(this.b=new ge,s=new S(this.a.b);s.a<s.c.c.length;)for(r=u(Q(s),29),h=new S(r.a);h.a<h.c.c.length;)if(o=u(Q(h),10),this.c.Mb(o)&&(de(this.b,new Sj(this,o,this.e)),this.d)){if(ia(o,(oe(),Nx)))for(n=u(K(o,Nx),15).Kc();n.Ob();)e=u(n.Pb(),10),de(this.b,new Sj(this,e,!1));if(ia(o,Mx))for(n=u(K(o,Mx),15).Kc();n.Ob();)e=u(n.Pb(),10),de(this.b,new Sj(this,e,!1))}}return this.b},l.qf=function(){throw et(new Tg(zfe))},l.We=function(e){return K(this.a,e)},l.rf=function(){return this.a.f},l.sf=function(){return this.a.p},l.Xe=function(e){return ia(this.a,e)},l.tf=function(e){throw et(new Tg(zfe))},l.uf=function(e){this.a.f.a=e.a,this.a.f.b=e.b},l.vf=function(e){this.a.p=e},l.b=null,l.d=!1,l.e=!1,P(cu,"LGraphAdapters/LGraphAdapter",656),D(576,657,{181:1},ro),P(cu,"LGraphAdapters/LLabelAdapter",576),D(575,657,{680:1},Sj),l.yf=function(){return this.b},l.zf=function(){return pn(),pn(),mo},l.wf=function(){var e,n;if(!this.a)for(this.a=Wd(u(this.e,10).b.c.length),n=new S(u(this.e,10).b);n.a<n.c.c.length;)e=u(Q(n),70),de(this.a,new ro(e));return this.a},l.Af=function(){var e;return e=u(this.e,10).d,new Jbt(e.d,e.c,e.a,e.b)},l.Bf=function(){return pn(),pn(),mo},l.Cf=function(){var e,n;if(!this.c)for(this.c=Wd(u(this.e,10).j.c.length),n=new S(u(this.e,10).j);n.a<n.c.c.length;)e=u(Q(n),11),de(this.c,new HVt(e,this.d));return this.c},l.Df=function(){return je(Be(K(u(this.e,10),(oe(),GEt))))},l.Ef=function(e){u(this.e,10).d.b=e.b,u(this.e,10).d.d=e.d,u(this.e,10).d.c=e.c,u(this.e,10).d.a=e.a},l.Ff=function(e){u(this.e,10).f.b=e.b,u(this.e,10).f.d=e.d,u(this.e,10).f.c=e.c,u(this.e,10).f.a=e.a},l.Gf=function(){Han(this,(zT(),A2e))},l.a=null,l.b=null,l.c=null,l.d=!1,P(cu,"LGraphAdapters/LNodeAdapter",575),D(1722,657,{838:1},HVt),l.zf=function(){var e,n,r,s;if(this.d&&u(this.e,11).i.k==(Yn(),Jc))return pn(),pn(),mo;if(!this.a){for(this.a=new ge,r=new S(u(this.e,11).e);r.a<r.c.c.length;)e=u(Q(r),17),de(this.a,new ss(e));if(this.d&&(s=u(K(u(this.e,11),(oe(),ul)),10),s))for(n=new pr(xr(Jo(s).a.Kc(),new H));ti(n);)e=u(qr(n),17),de(this.a,new ss(e))}return this.a},l.wf=function(){var e,n;if(!this.b)for(this.b=Wd(u(this.e,11).f.c.length),n=new S(u(this.e,11).f);n.a<n.c.c.length;)e=u(Q(n),70),de(this.b,new ro(e));return this.b},l.Bf=function(){var e,n,r,s;if(this.d&&u(this.e,11).i.k==(Yn(),Jc))return pn(),pn(),mo;if(!this.c){for(this.c=new ge,r=new S(u(this.e,11).g);r.a<r.c.c.length;)e=u(Q(r),17),de(this.c,new ss(e));if(this.d&&(s=u(K(u(this.e,11),(oe(),ul)),10),s))for(n=new pr(xr(Gs(s).a.Kc(),new H));ti(n);)e=u(qr(n),17),de(this.c,new ss(e))}return this.c},l.Hf=function(){return u(this.e,11).j},l.If=function(){return je(Be(K(u(this.e,11),(oe(),_O))))},l.a=null,l.b=null,l.c=null,l.d=!1,P(cu,"LGraphAdapters/LPortAdapter",1722),D(1723,1,Ui,kL),l.ue=function(e,n){return Fvn(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(cu,"LGraphAdapters/PortComparator",1723),D(804,1,Ti,QN),l.Mb=function(e){return u(e,10),zT(),!0},P(cu,"LGraphAdapters/lambda$0$Type",804),D(392,299,{3:1,299:1,392:1,94:1,134:1}),P(cu,"LShape",392),D(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},nHt,abt),l.Ib=function(){var e;return e=gtn(this),e==null?"label":"l_"+e},P(cu,"LLabel",70),D(207,1,{3:1,4:1,207:1,414:1}),l.Fb=function(e){var n;return _t(e,207)?(n=u(e,207),this.d==n.d&&this.a==n.a&&this.b==n.b&&this.c==n.c):!1},l.Hb=function(){var e,n;return e=c8(this.b)<<16,e|=c8(this.a)&Ps,n=c8(this.c)<<16,n|=c8(this.d)&Ps,e^n},l.Jf=function(e){var n,r,s,o,h,d,w,k,_,M,B;for(h=0;h<e.length&&Tre((Xr(h,e.length),e.charCodeAt(h)),Hfe);)++h;for(n=e.length;n>0&&Tre((Xr(n-1,e.length),e.charCodeAt(n-1)),Vfe);)--n;if(h<n){M=py(e.substr(h,n-h),",|;");try{for(w=M,k=0,_=w.length;k<_;++k){if(d=w[k],o=py(d,"="),o.length!=2)throw et(new Bn("Expecting a list of key-value pairs."));s=uy(o[0]),B=ly(uy(o[1])),ln(s,"top")?this.d=B:ln(s,"left")?this.b=B:ln(s,"bottom")?this.a=B:ln(s,"right")&&(this.c=B)}}catch(q){throw q=as(q),_t(q,127)?(r=q,et(new Bn(Gfe+r))):et(q)}}},l.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},l.a=0,l.b=0,l.c=0,l.d=0,P(GI,"Spacing",207),D(142,207,Ufe,MT,nUt,Jbt,wnt);var C9t=P(GI,"ElkMargin",142);D(651,142,Ufe,Gtt),P(cu,"LMargin",651),D(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},G0),l.Ib=function(){return Vie(this)},l.i=!1;var h0=P(cu,"LNode",10);D(267,22,{3:1,35:1,22:1,267:1},KT);var W1,Fs,Bl,ha,Ws,Jc,elt=Qr(cu,"LNode/NodeType",267,ni,Jsn,wZe),L2e;D(116,207,Wfe,m6,Lv,fvt);var S9t=P(GI,"ElkPadding",116);D(764,116,Wfe,Opt),P(cu,"LPadding",764),D(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},zc),l.Ib=function(){var e,n,r;return e=new Mp,ii((e.a+="p_",e),Yz(this)),this.i&&ii(Cc((e.a+="[",e),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&u(Fe(this.e,0),17).c!=this&&(n=u(Fe(this.e,0),17).c,ii((e.a+=" << ",e),Yz(n)),ii(Cc((e.a+="[",e),n.i),"]")),this.e.c.length==0&&this.g.c.length==1&&u(Fe(this.g,0),17).d!=this&&(r=u(Fe(this.g,0),17).d,ii((e.a+=" >> ",e),Yz(r)),ii(Cc((e.a+="[",e),r.i),"]")),e.a},l.c=!0,l.d=!1;var A9t,L9t,M9t,D9t,I9t,O9t,M2e=P(cu,"LPort",11);D(397,1,i0,ca),l.Jc=function(e){Pa(this,e)},l.Kc=function(){var e;return e=new S(this.a.e),new ea(e)},P(cu,"LPort/1",397),D(1290,1,va,ea),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return u(Q(this.a),17).c},l.Ob=function(){return sc(this.a)},l.Qb=function(){C_(this.a)},P(cu,"LPort/1/1",1290),D(359,1,i0,Nr),l.Jc=function(e){Pa(this,e)},l.Kc=function(){var e;return e=new S(this.a.g),new Jt(e)},P(cu,"LPort/2",359),D(762,1,va,Jt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return u(Q(this.a),17).d},l.Ob=function(){return sc(this.a)},l.Qb=function(){C_(this.a)},P(cu,"LPort/2/1",762),D(1283,1,i0,jVt),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new N1(this)},P(cu,"LPort/CombineIter",1283),D(201,1,va,N1),l.Nb=function(e){Ia(this,e)},l.Qb=function(){uHt()},l.Ob=function(){return p_(this)},l.Pb=function(){return sc(this.a)?Q(this.a):Q(this.b)},P(cu,"LPort/CombineIter/1",201),D(1285,1,_d,yp),l.Lb=function(e){return yYt(e)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).e.c.length!=0},P(cu,"LPort/lambda$0$Type",1285),D(1284,1,_d,bm),l.Lb=function(e){return xYt(e)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).g.c.length!=0},P(cu,"LPort/lambda$1$Type",1284),D(1286,1,_d,tY),l.Lb=function(e){return Ku(),u(e,11).j==(ye(),Nn)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).j==(ye(),Nn)},P(cu,"LPort/lambda$2$Type",1286),D(1287,1,_d,H2),l.Lb=function(e){return Ku(),u(e,11).j==(ye(),Wn)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).j==(ye(),Wn)},P(cu,"LPort/lambda$3$Type",1287),D(1288,1,_d,eY),l.Lb=function(e){return Ku(),u(e,11).j==(ye(),Ir)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).j==(ye(),Ir)},P(cu,"LPort/lambda$4$Type",1288),D(1289,1,_d,nY),l.Lb=function(e){return Ku(),u(e,11).j==(ye(),jn)},l.Fb=function(e){return this===e},l.Mb=function(e){return Ku(),u(e,11).j==(ye(),jn)},P(cu,"LPort/lambda$5$Type",1289),D(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Oh),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return new S(this.a)},l.Ib=function(){return"L_"+Zo(this.b.b,this,0)+e2(this.a)},P(cu,"Layer",29),D(1342,1,{},Qzt),P(Ug,Kfe,1342),D(1346,1,{},q5),l.Kb=function(e){return Go(u(e,82))},P(Ug,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),D(1349,1,{},IE),l.Kb=function(e){return Go(u(e,82))},P(Ug,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),D(1343,1,tr,qn),l.td=function(e){Ooe(this.a,u(e,118))},P(Ug,Yfe,1343),D(1344,1,tr,jr),l.td=function(e){Ooe(this.a,u(e,118))},P(Ug,Xfe,1344),D(1345,1,{},ZN),l.Kb=function(e){return new En(null,new _n(Ken(u(e,79)),16))},P(Ug,Qfe,1345),D(1347,1,Ti,dr),l.Mb=function(e){return YYe(this.a,u(e,33))},P(Ug,Zfe,1347),D(1348,1,{},vk),l.Kb=function(e){return new En(null,new _n(Yen(u(e,79)),16))},P(Ug,"ElkGraphImporter/lambda$5$Type",1348),D(1350,1,Ti,gr),l.Mb=function(e){return XYe(this.a,u(e,33))},P(Ug,"ElkGraphImporter/lambda$7$Type",1350),D(1351,1,Ti,rY),l.Mb=function(e){return fnn(u(e,79))},P(Ug,"ElkGraphImporter/lambda$8$Type",1351),D(1278,1,{},FJ);var D2e;P(Ug,"ElkGraphLayoutTransferrer",1278),D(1279,1,Ti,Ua),l.Mb=function(e){return RQe(this.a,u(e,17))},P(Ug,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),D(1280,1,tr,Jr),l.td=function(e){yM(),de(this.a,u(e,17))},P(Ug,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),D(1281,1,Ti,us),l.Mb=function(e){return EQe(this.a,u(e,17))},P(Ug,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),D(1282,1,tr,Yo),l.td=function(e){yM(),de(this.a,u(e,17))},P(Ug,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),D(1485,1,ys,wk),l.pf=function(e,n){_on(u(e,37),n)},P(Hn,"CommentNodeMarginCalculator",1485),D(1486,1,{},iY),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"CommentNodeMarginCalculator/lambda$0$Type",1486),D(1487,1,tr,sY),l.td=function(e){syn(u(e,10))},P(Hn,"CommentNodeMarginCalculator/lambda$1$Type",1487),D(1488,1,ys,aY),l.pf=function(e,n){wvn(u(e,37),n)},P(Hn,"CommentPostprocessor",1488),D(1489,1,ys,oY),l.pf=function(e,n){_4n(u(e,37),n)},P(Hn,"CommentPreprocessor",1489),D(1490,1,ys,cY),l.pf=function(e,n){z2n(u(e,37),n)},P(Hn,"ConstraintsPostprocessor",1490),D(1491,1,ys,uY),l.pf=function(e,n){Kon(u(e,37),n)},P(Hn,"EdgeAndLayerConstraintEdgeReverser",1491),D(1492,1,ys,lY),l.pf=function(e,n){Fln(u(e,37),n)},P(Hn,"EndLabelPostprocessor",1492),D(1493,1,{},hY),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"EndLabelPostprocessor/lambda$0$Type",1493),D(1494,1,Ti,fY),l.Mb=function(e){return Mnn(u(e,10))},P(Hn,"EndLabelPostprocessor/lambda$1$Type",1494),D(1495,1,tr,dY),l.td=function(e){E1n(u(e,10))},P(Hn,"EndLabelPostprocessor/lambda$2$Type",1495),D(1496,1,ys,gY),l.pf=function(e,n){fgn(u(e,37),n)},P(Hn,"EndLabelPreprocessor",1496),D(1497,1,{},EL),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"EndLabelPreprocessor/lambda$0$Type",1497),D(1498,1,tr,hKt),l.td=function(e){fYe(this.a,this.b,this.c,u(e,10))},l.a=0,l.b=0,l.c=!1,P(Hn,"EndLabelPreprocessor/lambda$1$Type",1498),D(1499,1,Ti,pY),l.Mb=function(e){return Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),A9))},P(Hn,"EndLabelPreprocessor/lambda$2$Type",1499),D(1500,1,tr,Vc),l.td=function(e){pi(this.a,u(e,70))},P(Hn,"EndLabelPreprocessor/lambda$3$Type",1500),D(1501,1,Ti,bY),l.Mb=function(e){return Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),Yy))},P(Hn,"EndLabelPreprocessor/lambda$4$Type",1501),D(1502,1,tr,fo),l.td=function(e){pi(this.a,u(e,70))},P(Hn,"EndLabelPreprocessor/lambda$5$Type",1502),D(1551,1,ys,NJ),l.pf=function(e,n){Vun(u(e,37),n)};var I2e;P(Hn,"EndLabelSorter",1551),D(1552,1,Ui,OE),l.ue=function(e,n){return yhn(u(e,456),u(n,456))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"EndLabelSorter/1",1552),D(456,1,{456:1},DXt),P(Hn,"EndLabelSorter/LabelGroup",456),D(1553,1,{},JN),l.Kb=function(e){return xM(),new En(null,new _n(u(e,29).a,16))},P(Hn,"EndLabelSorter/lambda$0$Type",1553),D(1554,1,Ti,H5),l.Mb=function(e){return xM(),u(e,10).k==(Yn(),Ws)},P(Hn,"EndLabelSorter/lambda$1$Type",1554),D(1555,1,tr,vY),l.td=function(e){E0n(u(e,10))},P(Hn,"EndLabelSorter/lambda$2$Type",1555),D(1556,1,Ti,wY),l.Mb=function(e){return xM(),Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),Yy))},P(Hn,"EndLabelSorter/lambda$3$Type",1556),D(1557,1,Ti,mY),l.Mb=function(e){return xM(),Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),A9))},P(Hn,"EndLabelSorter/lambda$4$Type",1557),D(1503,1,ys,yY),l.pf=function(e,n){byn(this,u(e,37))},l.b=0,l.c=0,P(Hn,"FinalSplineBendpointsCalculator",1503),D(1504,1,{},xY),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),D(1505,1,{},PE),l.Kb=function(e){return new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(Hn,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),D(1506,1,Ti,TL),l.Mb=function(e){return!io(u(e,17))},P(Hn,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),D(1507,1,Ti,tF),l.Mb=function(e){return ia(u(e,17),(oe(),Fb))},P(Hn,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),D(1508,1,tr,Ic),l.td=function(e){Lwn(this.a,u(e,128))},P(Hn,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),D(1509,1,tr,T3),l.td=function(e){Bst(u(e,17).a)},P(Hn,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),D(792,1,ys,ja),l.pf=function(e,n){u3n(this,u(e,37),n)},P(Hn,"GraphTransformer",792),D(511,22,{3:1,35:1,22:1,511:1},_2t);var nlt,wO,O2e=Qr(Hn,"GraphTransformer/Mode",511,ni,Znn,MJe),P2e;D(1510,1,ys,_3),l.pf=function(e,n){jbn(u(e,37),n)},P(Hn,"HierarchicalNodeResizingProcessor",1510),D(1511,1,ys,kY),l.pf=function(e,n){yon(u(e,37),n)},P(Hn,"HierarchicalPortConstraintProcessor",1511),D(1512,1,Ui,hf),l.ue=function(e,n){return Dhn(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"HierarchicalPortConstraintProcessor/NodeComparator",1512),D(1513,1,ys,V5),l.pf=function(e,n){$mn(u(e,37),n)},P(Hn,"HierarchicalPortDummySizeProcessor",1513),D(1514,1,ys,EY),l.pf=function(e,n){Bvn(this,u(e,37),n)},l.a=0,P(Hn,"HierarchicalPortOrthogonalEdgeRouter",1514),D(1515,1,Ui,mk),l.ue=function(e,n){return qXe(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"HierarchicalPortOrthogonalEdgeRouter/1",1515),D(1516,1,Ui,qd),l.ue=function(e,n){return nan(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"HierarchicalPortOrthogonalEdgeRouter/2",1516),D(1517,1,ys,TY),l.pf=function(e,n){c0n(u(e,37),n)},P(Hn,"HierarchicalPortPositionProcessor",1517),D(1518,1,ys,BJ),l.pf=function(e,n){r5n(this,u(e,37))},l.a=0,l.c=0;var lV,hV;P(Hn,"HighDegreeNodeLayeringProcessor",1518),D(571,1,{571:1},_Y),l.b=-1,l.d=-1,P(Hn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),D(1519,1,{},CY),l.Kb=function(e){return WM(),Jo(u(e,10))},l.Fb=function(e){return this===e},P(Hn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),D(1520,1,{},SY),l.Kb=function(e){return WM(),Gs(u(e,10))},l.Fb=function(e){return this===e},P(Hn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),D(1526,1,ys,NE),l.pf=function(e,n){gmn(this,u(e,37),n)},P(Hn,"HyperedgeDummyMerger",1526),D(793,1,{},pvt),l.a=!1,l.b=!1,l.c=!1,P(Hn,"HyperedgeDummyMerger/MergeState",793),D(1527,1,{},_L),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"HyperedgeDummyMerger/lambda$0$Type",1527),D(1528,1,{},eF),l.Kb=function(e){return new En(null,new _n(u(e,10).j,16))},P(Hn,"HyperedgeDummyMerger/lambda$1$Type",1528),D(1529,1,tr,CL),l.td=function(e){u(e,11).p=-1},P(Hn,"HyperedgeDummyMerger/lambda$2$Type",1529),D(1530,1,ys,G5),l.pf=function(e,n){fmn(u(e,37),n)},P(Hn,"HypernodesProcessor",1530),D(1531,1,ys,AY),l.pf=function(e,n){dmn(u(e,37),n)},P(Hn,"InLayerConstraintProcessor",1531),D(1532,1,ys,nF),l.pf=function(e,n){Hon(u(e,37),n)},P(Hn,"InnermostNodeMarginCalculator",1532),D(1533,1,ys,rF),l.pf=function(e,n){y4n(this,u(e,37))},l.a=Rs,l.b=Rs,l.c=ms,l.d=ms;var s6n=P(Hn,"InteractiveExternalPortPositioner",1533);D(1534,1,{},LY),l.Kb=function(e){return u(e,17).d.i},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$0$Type",1534),D(1535,1,{},go),l.Kb=function(e){return GXe(this.a,ke(e))},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$1$Type",1535),D(1536,1,{},MY),l.Kb=function(e){return u(e,17).c.i},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$2$Type",1536),D(1537,1,{},Sl),l.Kb=function(e){return UXe(this.a,ke(e))},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$3$Type",1537),D(1538,1,{},Uf),l.Kb=function(e){return NQe(this.a,ke(e))},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$4$Type",1538),D(1539,1,{},_p),l.Kb=function(e){return FQe(this.a,ke(e))},l.Fb=function(e){return this===e},P(Hn,"InteractiveExternalPortPositioner/lambda$5$Type",1539),D(77,22,{3:1,35:1,22:1,77:1,234:1},Os),l.Kf=function(){switch(this.g){case 15:return new UX;case 22:return new WX;case 47:return new XX;case 28:case 35:return new C3;case 32:return new wk;case 42:return new aY;case 1:return new oY;case 41:return new cY;case 56:return new ja((H8(),wO));case 0:return new ja((H8(),nlt));case 2:return new uY;case 54:return new lY;case 33:return new gY;case 51:return new yY;case 55:return new _3;case 13:return new kY;case 38:return new V5;case 44:return new EY;case 40:return new TY;case 9:return new BJ;case 49:return new QUt;case 37:return new NE;case 43:return new G5;case 27:return new AY;case 30:return new nF;case 3:return new rF;case 18:return new IY;case 29:return new OY;case 5:return new IB;case 50:return new DY;case 34:return new RJ;case 36:return new yk;case 52:return new NJ;case 11:return new vm;case 7:return new $J;case 39:return new xk;case 45:return new BY;case 16:return new FE;case 10:return new ud;case 48:return new AL;case 21:return new kk;case 23:return new eet((Qv(),IS));case 8:return new oF;case 12:return new ML;case 4:return new jY;case 19:return new gT;case 17:return new VY;case 53:return new GY;case 6:return new gF;case 25:return new eqt;case 46:return new YY;case 31:return new NWt;case 14:return new IL;case 26:return new JX;case 20:return new rX;case 24:return new eet((Qv(),pG));default:throw et(new Bn(Bot+(this.f!=null?this.f:""+this.g)))}};var P9t,N9t,F9t,B9t,R9t,j9t,$9t,z9t,q9t,H9t,hS,fV,dV,V9t,G9t,U9t,W9t,K9t,Y9t,X9t,fS,Q9t,Z9t,J9t,tEt,eEt,rlt,gV,pV,nEt,bV,vV,wV,n9,r9,i9,rEt,mV,yV,iEt,xV,kV,sEt,aEt,oEt,cEt,EV,ilt,mO,TV,_V,CV,SV,uEt,lEt,hEt,fEt,a6n=Qr(Hn,gxt,77,ni,_ce,LJe),N2e;D(1540,1,ys,IY),l.pf=function(e,n){k4n(u(e,37),n)},P(Hn,"InvertedPortProcessor",1540),D(1541,1,ys,OY),l.pf=function(e,n){kwn(u(e,37),n)},P(Hn,"LabelAndNodeSizeProcessor",1541),D(1542,1,Ti,PY),l.Mb=function(e){return u(e,10).k==(Yn(),Ws)},P(Hn,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),D(1543,1,Ti,Hd),l.Mb=function(e){return u(e,10).k==(Yn(),Fs)},P(Hn,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),D(1544,1,tr,fKt),l.td=function(e){dYe(this.b,this.a,this.c,u(e,10))},l.a=!1,l.c=!1,P(Hn,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),D(1545,1,ys,IB),l.pf=function(e,n){U3n(u(e,37),n)};var F2e;P(Hn,"LabelDummyInserter",1545),D(1546,1,_d,uv),l.Lb=function(e){return Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),S9))},l.Fb=function(e){return this===e},l.Mb=function(e){return Ut(K(u(e,70),(Te(),Bd)))===Ut((F1(),S9))},P(Hn,"LabelDummyInserter/1",1546),D(1547,1,ys,DY),l.pf=function(e,n){Kyn(u(e,37),n)},P(Hn,"LabelDummyRemover",1547),D(1548,1,Ti,NY),l.Mb=function(e){return je(Be(K(u(e,70),(Te(),Ult))))},P(Hn,"LabelDummyRemover/lambda$0$Type",1548),D(1359,1,ys,RJ),l.pf=function(e,n){E3n(this,u(e,37),n)},l.a=null;var slt;P(Hn,"LabelDummySwitcher",1359),D(286,1,{286:1},Eue),l.c=0,l.d=null,l.f=0,P(Hn,"LabelDummySwitcher/LabelDummyInfo",286),D(1360,1,{},iF),l.Kb=function(e){return Q6(),new En(null,new _n(u(e,29).a,16))},P(Hn,"LabelDummySwitcher/lambda$0$Type",1360),D(1361,1,Ti,sF),l.Mb=function(e){return Q6(),u(e,10).k==(Yn(),Bl)},P(Hn,"LabelDummySwitcher/lambda$1$Type",1361),D(1362,1,{},Eg),l.Kb=function(e){return TQe(this.a,u(e,10))},P(Hn,"LabelDummySwitcher/lambda$2$Type",1362),D(1363,1,tr,fd),l.td=function(e){Een(this.a,u(e,286))},P(Hn,"LabelDummySwitcher/lambda$3$Type",1363),D(1364,1,Ui,FY),l.ue=function(e,n){return Qtn(u(e,286),u(n,286))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"LabelDummySwitcher/lambda$4$Type",1364),D(791,1,ys,C3),l.pf=function(e,n){Psn(u(e,37),n)},P(Hn,"LabelManagementProcessor",791),D(1549,1,ys,yk),l.pf=function(e,n){svn(u(e,37),n)},P(Hn,"LabelSideSelector",1549),D(1550,1,Ti,SL),l.Mb=function(e){return je(Be(K(u(e,70),(Te(),Ult))))},P(Hn,"LabelSideSelector/lambda$0$Type",1550),D(1558,1,ys,vm),l.pf=function(e,n){zmn(u(e,37),n)},P(Hn,"LayerConstraintPostprocessor",1558),D(1559,1,ys,$J),l.pf=function(e,n){e2n(u(e,37),n)};var dEt;P(Hn,"LayerConstraintPreprocessor",1559),D(360,22,{3:1,35:1,22:1,360:1},GR);var yO,AV,LV,alt,B2e=Qr(Hn,"LayerConstraintPreprocessor/HiddenNodeConnections",360,ni,Sin,yZe),R2e;D(1560,1,ys,xk),l.pf=function(e,n){Gyn(u(e,37),n)},P(Hn,"LayerSizeAndGraphHeightCalculator",1560),D(1561,1,ys,BY),l.pf=function(e,n){K2n(u(e,37),n)},P(Hn,"LongEdgeJoiner",1561),D(1562,1,ys,FE),l.pf=function(e,n){Cyn(u(e,37),n)},P(Hn,"LongEdgeSplitter",1562),D(1563,1,ys,ud),l.pf=function(e,n){C3n(this,u(e,37),n)},l.d=0,l.e=0,l.i=0,l.j=0,l.k=0,l.n=0,P(Hn,"NodePromotion",1563),D(1564,1,{},aF),l.Kb=function(e){return u(e,46),Rn(),!0},l.Fb=function(e){return this===e},P(Hn,"NodePromotion/lambda$0$Type",1564),D(1565,1,{},Cp),l.Kb=function(e){return Ven(this.a,u(e,46))},l.Fb=function(e){return this===e},l.a=0,P(Hn,"NodePromotion/lambda$1$Type",1565),D(1566,1,{},Wf),l.Kb=function(e){return Gen(this.a,u(e,46))},l.Fb=function(e){return this===e},l.a=0,P(Hn,"NodePromotion/lambda$2$Type",1566),D(1567,1,ys,AL),l.pf=function(e,n){X4n(u(e,37),n)},P(Hn,"NorthSouthPortPostprocessor",1567),D(1568,1,ys,kk),l.pf=function(e,n){N4n(u(e,37),n)},P(Hn,"NorthSouthPortPreprocessor",1568),D(1569,1,Ui,LL),l.ue=function(e,n){return lcn(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"NorthSouthPortPreprocessor/lambda$0$Type",1569),D(1570,1,ys,oF),l.pf=function(e,n){Zwn(u(e,37),n)},P(Hn,"PartitionMidprocessor",1570),D(1571,1,Ti,RY),l.Mb=function(e){return ia(u(e,10),(Te(),v9))},P(Hn,"PartitionMidprocessor/lambda$0$Type",1571),D(1572,1,tr,pv),l.td=function(e){dnn(this.a,u(e,10))},P(Hn,"PartitionMidprocessor/lambda$1$Type",1572),D(1573,1,ys,ML),l.pf=function(e,n){gbn(u(e,37),n)},P(Hn,"PartitionPostprocessor",1573),D(1574,1,ys,jY),l.pf=function(e,n){Tpn(u(e,37),n)},P(Hn,"PartitionPreprocessor",1574),D(1575,1,Ti,$Y),l.Mb=function(e){return ia(u(e,10),(Te(),v9))},P(Hn,"PartitionPreprocessor/lambda$0$Type",1575),D(1576,1,{},cF),l.Kb=function(e){return new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(Hn,"PartitionPreprocessor/lambda$1$Type",1576),D(1577,1,Ti,U5),l.Mb=function(e){return vhn(u(e,17))},P(Hn,"PartitionPreprocessor/lambda$2$Type",1577),D(1578,1,tr,uF),l.td=function(e){ycn(u(e,17))},P(Hn,"PartitionPreprocessor/lambda$3$Type",1578),D(1579,1,ys,gT),l.pf=function(e,n){Fwn(u(e,37),n)};var gEt,j2e,$2e,z2e,pEt,bEt;P(Hn,"PortListSorter",1579),D(1580,1,{},W5),l.Kb=function(e){return t7(),u(e,11).e},P(Hn,"PortListSorter/lambda$0$Type",1580),D(1581,1,{},zY),l.Kb=function(e){return t7(),u(e,11).g},P(Hn,"PortListSorter/lambda$1$Type",1581),D(1582,1,Ui,DL),l.ue=function(e,n){return BZt(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"PortListSorter/lambda$2$Type",1582),D(1583,1,Ui,qY),l.ue=function(e,n){return zfn(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"PortListSorter/lambda$3$Type",1583),D(1584,1,Ui,HY),l.ue=function(e,n){return Uue(u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"PortListSorter/lambda$4$Type",1584),D(1585,1,ys,VY),l.pf=function(e,n){Ypn(u(e,37),n)},P(Hn,"PortSideProcessor",1585),D(1586,1,ys,GY),l.pf=function(e,n){Xvn(u(e,37),n)},P(Hn,"ReversedEdgeRestorer",1586),D(1591,1,ys,eqt),l.pf=function(e,n){_fn(this,u(e,37),n)},P(Hn,"SelfLoopPortRestorer",1591),D(1592,1,{},lF),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"SelfLoopPortRestorer/lambda$0$Type",1592),D(1593,1,Ti,UY),l.Mb=function(e){return u(e,10).k==(Yn(),Ws)},P(Hn,"SelfLoopPortRestorer/lambda$1$Type",1593),D(1594,1,Ti,WY),l.Mb=function(e){return ia(u(e,10),(oe(),g9))},P(Hn,"SelfLoopPortRestorer/lambda$2$Type",1594),D(1595,1,{},KY),l.Kb=function(e){return u(K(u(e,10),(oe(),g9)),403)},P(Hn,"SelfLoopPortRestorer/lambda$3$Type",1595),D(1596,1,tr,Cm),l.td=function(e){P0n(this.a,u(e,403))},P(Hn,"SelfLoopPortRestorer/lambda$4$Type",1596),D(794,1,tr,hF),l.td=function(e){Y0n(u(e,101))},P(Hn,"SelfLoopPortRestorer/lambda$5$Type",794),D(1597,1,ys,YY),l.pf=function(e,n){Phn(u(e,37),n)},P(Hn,"SelfLoopPostProcessor",1597),D(1598,1,{},XY),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"SelfLoopPostProcessor/lambda$0$Type",1598),D(1599,1,Ti,QY),l.Mb=function(e){return u(e,10).k==(Yn(),Ws)},P(Hn,"SelfLoopPostProcessor/lambda$1$Type",1599),D(1600,1,Ti,fF),l.Mb=function(e){return ia(u(e,10),(oe(),g9))},P(Hn,"SelfLoopPostProcessor/lambda$2$Type",1600),D(1601,1,tr,ZY),l.td=function(e){z1n(u(e,10))},P(Hn,"SelfLoopPostProcessor/lambda$3$Type",1601),D(1602,1,{},JY),l.Kb=function(e){return new En(null,new _n(u(e,101).f,1))},P(Hn,"SelfLoopPostProcessor/lambda$4$Type",1602),D(1603,1,tr,p6),l.td=function(e){Min(this.a,u(e,409))},P(Hn,"SelfLoopPostProcessor/lambda$5$Type",1603),D(1604,1,Ti,dF),l.Mb=function(e){return!!u(e,101).i},P(Hn,"SelfLoopPostProcessor/lambda$6$Type",1604),D(1605,1,tr,P3),l.td=function(e){gKe(this.a,u(e,101))},P(Hn,"SelfLoopPostProcessor/lambda$7$Type",1605),D(1587,1,ys,gF),l.pf=function(e,n){S2n(u(e,37),n)},P(Hn,"SelfLoopPreProcessor",1587),D(1588,1,{},pF),l.Kb=function(e){return new En(null,new _n(u(e,101).f,1))},P(Hn,"SelfLoopPreProcessor/lambda$0$Type",1588),D(1589,1,{},tX),l.Kb=function(e){return u(e,409).a},P(Hn,"SelfLoopPreProcessor/lambda$1$Type",1589),D(1590,1,tr,eX),l.td=function(e){mXe(u(e,17))},P(Hn,"SelfLoopPreProcessor/lambda$2$Type",1590),D(1606,1,ys,NWt),l.pf=function(e,n){T0n(this,u(e,37),n)},P(Hn,"SelfLoopRouter",1606),D(1607,1,{},Ek),l.Kb=function(e){return new En(null,new _n(u(e,29).a,16))},P(Hn,"SelfLoopRouter/lambda$0$Type",1607),D(1608,1,Ti,K5),l.Mb=function(e){return u(e,10).k==(Yn(),Ws)},P(Hn,"SelfLoopRouter/lambda$1$Type",1608),D(1609,1,Ti,BE),l.Mb=function(e){return ia(u(e,10),(oe(),g9))},P(Hn,"SelfLoopRouter/lambda$2$Type",1609),D(1610,1,{},nX),l.Kb=function(e){return u(K(u(e,10),(oe(),g9)),403)},P(Hn,"SelfLoopRouter/lambda$3$Type",1610),D(1611,1,tr,DVt),l.td=function(e){inn(this.a,this.b,u(e,403))},P(Hn,"SelfLoopRouter/lambda$4$Type",1611),D(1612,1,ys,IL),l.pf=function(e,n){Wbn(u(e,37),n)},P(Hn,"SemiInteractiveCrossMinProcessor",1612),D(1613,1,Ti,RE),l.Mb=function(e){return u(e,10).k==(Yn(),Ws)},P(Hn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),D(1614,1,Ti,OL),l.Mb=function(e){return QKt(u(e,10))._b((Te(),Hy))},P(Hn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),D(1615,1,Ui,bF),l.ue=function(e,n){return kon(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),D(1616,1,{},vF),l.Ce=function(e,n){return xnn(u(e,10),u(n,10))},P(Hn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),D(1618,1,ys,rX),l.pf=function(e,n){qmn(u(e,37),n)},P(Hn,"SortByInputModelProcessor",1618),D(1619,1,Ti,iX),l.Mb=function(e){return u(e,11).g.c.length!=0},P(Hn,"SortByInputModelProcessor/lambda$0$Type",1619),D(1620,1,tr,b6),l.td=function(e){tgn(this.a,u(e,11))},P(Hn,"SortByInputModelProcessor/lambda$1$Type",1620),D(1693,803,{},Uee),l.Me=function(e){var n,r,s,o;switch(this.c=e,this.a.g){case 2:n=new ge,Ts(Xi(new En(null,new _n(this.c.a.b,16)),new xF),new FVt(this,n)),uI(this,new mF),Mu(n,new aX),n.c=Pt(ir,De,1,0,5,1),Ts(Xi(new En(null,new _n(this.c.a.b,16)),new oX),new N3(n)),uI(this,new cX),Mu(n,new uX),n.c=Pt(ir,De,1,0,5,1),r=pUt(sne(e$(new En(null,new _n(this.c.a.b,16)),new Vd(this))),new lX),Ts(new En(null,new _n(this.c.a.a,16)),new OVt(r,n)),uI(this,new hX),Mu(n,new sX),n.c=Pt(ir,De,1,0,5,1);break;case 3:s=new ge,uI(this,new wF),o=pUt(sne(e$(new En(null,new _n(this.c.a.b,16)),new TT(this))),new yF),Ts(Xi(new En(null,new _n(this.c.a.b,16)),new fX),new NVt(o,s)),uI(this,new dX),Mu(s,new gX),s.c=Pt(ir,De,1,0,5,1);break;default:throw et(new $zt)}},l.b=0,P(js,"EdgeAwareScanlineConstraintCalculation",1693),D(1694,1,_d,wF),l.Lb=function(e){return _t(u(e,57).g,145)},l.Fb=function(e){return this===e},l.Mb=function(e){return _t(u(e,57).g,145)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),D(1695,1,{},TT),l.Fe=function(e){return Ogn(this.a,u(e,57))},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),D(1703,1,Nq,IVt),l.Vd=function(){cC(this.a,this.b,-1)},l.b=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),D(1705,1,_d,mF),l.Lb=function(e){return _t(u(e,57).g,145)},l.Fb=function(e){return this===e},l.Mb=function(e){return _t(u(e,57).g,145)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),D(1706,1,tr,aX),l.td=function(e){u(e,365).Vd()},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),D(1707,1,Ti,oX),l.Mb=function(e){return _t(u(e,57).g,10)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),D(1709,1,tr,N3),l.td=function(e){aln(this.a,u(e,57))},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),D(1708,1,Nq,$Vt),l.Vd=function(){cC(this.b,this.a,-1)},l.a=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),D(1710,1,_d,cX),l.Lb=function(e){return _t(u(e,57).g,10)},l.Fb=function(e){return this===e},l.Mb=function(e){return _t(u(e,57).g,10)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),D(1711,1,tr,uX),l.td=function(e){u(e,365).Vd()},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),D(1712,1,{},Vd),l.Fe=function(e){return Pgn(this.a,u(e,57))},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),D(1713,1,{},lX),l.De=function(){return 0},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),D(1696,1,{},yF),l.De=function(){return 0},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),D(1715,1,tr,OVt),l.td=function(e){ztn(this.a,this.b,u(e,307))},l.a=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),D(1714,1,Nq,PVt),l.Vd=function(){nce(this.a,this.b,-1)},l.b=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),D(1716,1,_d,hX),l.Lb=function(e){return u(e,57),!0},l.Fb=function(e){return this===e},l.Mb=function(e){return u(e,57),!0},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),D(1717,1,tr,sX),l.td=function(e){u(e,365).Vd()},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),D(1697,1,Ti,fX),l.Mb=function(e){return _t(u(e,57).g,10)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),D(1699,1,tr,NVt),l.td=function(e){qtn(this.a,this.b,u(e,57))},l.a=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),D(1698,1,Nq,zVt),l.Vd=function(){cC(this.b,this.a,-1)},l.a=0,P(js,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),D(1700,1,_d,dX),l.Lb=function(e){return u(e,57),!0},l.Fb=function(e){return this===e},l.Mb=function(e){return u(e,57),!0},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),D(1701,1,tr,gX),l.td=function(e){u(e,365).Vd()},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),D(1702,1,Ti,xF),l.Mb=function(e){return _t(u(e,57).g,145)},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),D(1704,1,tr,FVt),l.td=function(e){jan(this.a,this.b,u(e,57))},P(js,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),D(1521,1,ys,QUt),l.pf=function(e,n){Oyn(this,u(e,37),n)};var q2e;P(js,"HorizontalGraphCompactor",1521),D(1522,1,{},C1),l.Oe=function(e,n){var r,s,o;return Imt(e,n)||(r=J3(e),s=J3(n),r&&r.k==(Yn(),Fs)||s&&s.k==(Yn(),Fs))?0:(o=u(K(this.a.a,(oe(),X4)),304),WXe(o,r?r.k:(Yn(),ha),s?s.k:(Yn(),ha)))},l.Pe=function(e,n){var r,s,o;return Imt(e,n)?1:(r=J3(e),s=J3(n),o=u(K(this.a.a,(oe(),X4)),304),Sbt(o,r?r.k:(Yn(),ha),s?s.k:(Yn(),ha)))},P(js,"HorizontalGraphCompactor/1",1522),D(1523,1,{},jE),l.Ne=function(e,n){return qT(),e.a.i==0},P(js,"HorizontalGraphCompactor/lambda$0$Type",1523),D(1524,1,{},Gd),l.Ne=function(e,n){return vnn(this.a,e,n)},P(js,"HorizontalGraphCompactor/lambda$1$Type",1524),D(1664,1,{},Dte);var H2e,V2e;P(js,"LGraphToCGraphTransformer",1664),D(1672,1,Ti,pX),l.Mb=function(e){return e!=null},P(js,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),D(1665,1,{},bX),l.Kb=function(e){return vf(),tc(K(u(u(e,57).g,10),(oe(),Bi)))},P(js,"LGraphToCGraphTransformer/lambda$0$Type",1665),D(1666,1,{},kF),l.Kb=function(e){return vf(),Pre(u(u(e,57).g,145))},P(js,"LGraphToCGraphTransformer/lambda$1$Type",1666),D(1675,1,Ti,vX),l.Mb=function(e){return vf(),_t(u(e,57).g,10)},P(js,"LGraphToCGraphTransformer/lambda$10$Type",1675),D(1676,1,tr,wX),l.td=function(e){bnn(u(e,57))},P(js,"LGraphToCGraphTransformer/lambda$11$Type",1676),D(1677,1,Ti,mX),l.Mb=function(e){return vf(),_t(u(e,57).g,145)},P(js,"LGraphToCGraphTransformer/lambda$12$Type",1677),D(1681,1,tr,yX),l.td=function(e){xun(u(e,57))},P(js,"LGraphToCGraphTransformer/lambda$13$Type",1681),D(1678,1,tr,_T),l.td=function(e){GYe(this.a,u(e,8))},l.a=0,P(js,"LGraphToCGraphTransformer/lambda$14$Type",1678),D(1679,1,tr,U2),l.td=function(e){WYe(this.a,u(e,110))},l.a=0,P(js,"LGraphToCGraphTransformer/lambda$15$Type",1679),D(1680,1,tr,iR),l.td=function(e){UYe(this.a,u(e,8))},l.a=0,P(js,"LGraphToCGraphTransformer/lambda$16$Type",1680),D(1682,1,{},xX),l.Kb=function(e){return vf(),new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(js,"LGraphToCGraphTransformer/lambda$17$Type",1682),D(1683,1,Ti,kX),l.Mb=function(e){return vf(),io(u(e,17))},P(js,"LGraphToCGraphTransformer/lambda$18$Type",1683),D(1684,1,tr,Itt),l.td=function(e){San(this.a,u(e,17))},P(js,"LGraphToCGraphTransformer/lambda$19$Type",1684),D(1668,1,tr,Ott),l.td=function(e){oin(this.a,u(e,145))},P(js,"LGraphToCGraphTransformer/lambda$2$Type",1668),D(1685,1,{},EF),l.Kb=function(e){return vf(),new En(null,new _n(u(e,29).a,16))},P(js,"LGraphToCGraphTransformer/lambda$20$Type",1685),D(1686,1,{},EX),l.Kb=function(e){return vf(),new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(js,"LGraphToCGraphTransformer/lambda$21$Type",1686),D(1687,1,{},TF),l.Kb=function(e){return vf(),u(K(u(e,17),(oe(),Fb)),15)},P(js,"LGraphToCGraphTransformer/lambda$22$Type",1687),D(1688,1,Ti,TX),l.Mb=function(e){return YXe(u(e,15))},P(js,"LGraphToCGraphTransformer/lambda$23$Type",1688),D(1689,1,tr,Ptt),l.td=function(e){Tgn(this.a,u(e,15))},P(js,"LGraphToCGraphTransformer/lambda$24$Type",1689),D(1667,1,tr,BVt),l.td=function(e){Kin(this.a,this.b,u(e,145))},P(js,"LGraphToCGraphTransformer/lambda$3$Type",1667),D(1669,1,{},_X),l.Kb=function(e){return vf(),new En(null,new _n(u(e,29).a,16))},P(js,"LGraphToCGraphTransformer/lambda$4$Type",1669),D(1670,1,{},CX),l.Kb=function(e){return vf(),new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(js,"LGraphToCGraphTransformer/lambda$5$Type",1670),D(1671,1,{},$E),l.Kb=function(e){return vf(),u(K(u(e,17),(oe(),Fb)),15)},P(js,"LGraphToCGraphTransformer/lambda$6$Type",1671),D(1673,1,tr,Ntt),l.td=function(e){npn(this.a,u(e,15))},P(js,"LGraphToCGraphTransformer/lambda$8$Type",1673),D(1674,1,tr,RVt),l.td=function(e){pXe(this.a,this.b,u(e,145))},P(js,"LGraphToCGraphTransformer/lambda$9$Type",1674),D(1663,1,{},SX),l.Le=function(e){var n,r,s,o,h;for(this.a=e,this.d=new Vtt,this.c=Pt(X7t,De,121,this.a.a.a.c.length,0,1),this.b=0,r=new S(this.a.a.a);r.a<r.c.c.length;)n=u(Q(r),307),n.d=this.b,h=Dv(mM(new K2,n),this.d),this.c[this.b]=h,++this.b;for(j3n(this),$4n(this),ibn(this),cat(mnt(this.d),new Xk),o=new S(this.a.a.b);o.a<o.c.c.length;)s=u(Q(o),57),s.d.c=this.c[s.a.d].e+s.b.a},l.b=0,P(js,"NetworkSimplexCompaction",1663),D(145,1,{35:1,145:1},xC),l.wd=function(e){return Dan(this,u(e,145))},l.Ib=function(){return Pre(this)},P(js,"VerticalSegment",145),D(827,1,{},v4t),l.c=0,l.e=0,l.i=0,P(RC,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),D(663,1,{663:1},cne),l.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},l.b=0,l.c=0,l.f=0,P(RC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),D(287,1,{35:1,287:1},sWt),l.wd=function(e){return wtn(this,u(e,287))},l.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},l.a=0,l.b=0,l.c=0,P(RC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),D(1929,1,{},Mae),l.b=0,l.e=!1,P(RC,"CrossingMatrixFiller",1929);var G2e=ls(u0,"IInitializable");D(1804,1,UI,GVt),l.Nf=function(e,n,r,s,o,h){},l.Pf=function(e,n,r){},l.Lf=function(){return this.c!=(Qv(),IS)},l.Mf=function(){this.e=Pt(Fr,ui,25,this.d,15,1)},l.Of=function(e,n){n[e][0].c.p=e},l.Qf=function(e,n,r,s){++this.d},l.Rf=function(){return!0},l.Sf=function(e,n,r,s){return Sre(this,e,n,r),asn(this,n)},l.Tf=function(e,n){var r;return r=HKe(n,e.length),Sre(this,e,r,n),Wne(this,r)},l.d=0,P(RC,"GreedySwitchHeuristic",1804),D(1930,1,{},iYt),l.b=0,l.d=0,P(RC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),D(1917,1,{},oue),l.a=!1,P(RC,"SwitchDecider",1917),D(101,1,{101:1},Rae),l.a=null,l.c=null,l.i=null,P(xx,"SelfHyperLoop",101),D(1916,1,{},Bie),l.c=0,l.e=0,P(xx,"SelfHyperLoopLabels",1916),D(411,22,{3:1,35:1,22:1,411:1},UR);var Sx,s9,a9,olt,U2e=Qr(xx,"SelfHyperLoopLabels/Alignment",411,ni,Ain,xZe),W2e;D(409,1,{409:1},kJt),P(xx,"SelfLoopEdge",409),D(403,1,{403:1},Lie),l.a=!1,P(xx,"SelfLoopHolder",403),D(1724,1,Ti,DF),l.Mb=function(e){return io(u(e,17))},P(xx,"SelfLoopHolder/lambda$0$Type",1724),D(113,1,{113:1},Rie),l.a=!1,l.c=!1,P(xx,"SelfLoopPort",113),D(1792,1,Ti,IF),l.Mb=function(e){return io(u(e,17))},P(xx,"SelfLoopPort/lambda$0$Type",1792),D(363,22,{3:1,35:1,22:1,363:1},_M);var MV,DV,IV,OV,PV,K2e=Qr(xx,"SelfLoopType",363,ni,msn,CZe),Y2e;D(1732,1,{},HJ);var X2e,Q2e,Z2e,J2e;P(Ql,"PortRestorer",1732),D(361,22,{3:1,35:1,22:1,361:1},xet);var Cw,p2,Sw,clt=Qr(Ql,"PortRestorer/PortSideArea",361,ni,Mrn,SZe),tbe;D(1733,1,{},S3),l.Kb=function(e){return n2(),u(e,15).Oc()},P(Ql,"PortRestorer/lambda$0$Type",1733),D(1734,1,tr,MX),l.td=function(e){n2(),u(e,113).c=!1},P(Ql,"PortRestorer/lambda$1$Type",1734),D(1743,1,Ti,DX),l.Mb=function(e){return n2(),u(e,11).j==(ye(),jn)},P(Ql,"PortRestorer/lambda$10$Type",1743),D(1744,1,{},HE),l.Kb=function(e){return n2(),u(e,113).d},P(Ql,"PortRestorer/lambda$11$Type",1744),D(1745,1,tr,Ftt),l.td=function(e){KKe(this.a,u(e,11))},P(Ql,"PortRestorer/lambda$12$Type",1745),D(1735,1,tr,Btt),l.td=function(e){tQe(this.a,u(e,101))},P(Ql,"PortRestorer/lambda$2$Type",1735),D(1736,1,Ui,IX),l.ue=function(e,n){return ton(u(e,113),u(n,113))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ql,"PortRestorer/lambda$3$Type",1736),D(1737,1,Ti,OX),l.Mb=function(e){return n2(),u(e,113).c},P(Ql,"PortRestorer/lambda$4$Type",1737),D(1738,1,Ti,AX),l.Mb=function(e){return zon(u(e,11))},P(Ql,"PortRestorer/lambda$5$Type",1738),D(1739,1,Ti,zE),l.Mb=function(e){return n2(),u(e,11).j==(ye(),Nn)},P(Ql,"PortRestorer/lambda$6$Type",1739),D(1740,1,Ti,_F),l.Mb=function(e){return n2(),u(e,11).j==(ye(),Wn)},P(Ql,"PortRestorer/lambda$7$Type",1740),D(1741,1,Ti,CF),l.Mb=function(e){return Lin(u(e,11))},P(Ql,"PortRestorer/lambda$8$Type",1741),D(1742,1,Ti,SF),l.Mb=function(e){return n2(),u(e,11).j==(ye(),Ir)},P(Ql,"PortRestorer/lambda$9$Type",1742),D(270,22,{3:1,35:1,22:1,270:1},j6);var ult,llt,hlt,flt,dlt,glt,plt,blt,vEt=Qr(Ql,"PortSideAssigner/Target",270,ni,Uan,kZe),ebe;D(1725,1,{},AF),l.Kb=function(e){return Xi(new En(null,new _n(u(e,101).j,16)),new qE)},P(Ql,"PortSideAssigner/lambda$1$Type",1725),D(1726,1,{},lv),l.Kb=function(e){return u(e,113).d},P(Ql,"PortSideAssigner/lambda$2$Type",1726),D(1727,1,tr,LF),l.td=function(e){Qs(u(e,11),(ye(),Nn))},P(Ql,"PortSideAssigner/lambda$3$Type",1727),D(1728,1,{},MF),l.Kb=function(e){return u(e,113).d},P(Ql,"PortSideAssigner/lambda$4$Type",1728),D(1729,1,tr,Rtt),l.td=function(e){tKe(this.a,u(e,11))},P(Ql,"PortSideAssigner/lambda$5$Type",1729),D(1730,1,Ui,LX),l.ue=function(e,n){return Men(u(e,101),u(n,101))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ql,"PortSideAssigner/lambda$6$Type",1730),D(1731,1,Ui,Y5),l.ue=function(e,n){return rtn(u(e,113),u(n,113))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ql,"PortSideAssigner/lambda$7$Type",1731),D(805,1,Ti,qE),l.Mb=function(e){return u(e,113).c},P(Ql,"PortSideAssigner/lambda$8$Type",805),D(2009,1,{}),P(c2,"AbstractSelfLoopRouter",2009),D(1750,1,Ui,PX),l.ue=function(e,n){return WQe(u(e,101),u(n,101))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(c2,_fe,1750),D(1751,1,Ui,NX),l.ue=function(e,n){return UQe(u(e,101),u(n,101))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(c2,Cfe,1751),D(1793,2009,{},FX),l.Uf=function(e,n,r){return r},P(c2,"OrthogonalSelfLoopRouter",1793),D(1795,1,tr,qVt),l.td=function(e){_3t(this.b,this.a,u(e,8))},P(c2,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),D(1794,1793,{},BX),l.Uf=function(e,n,r){var s,o;return s=e.c.d,f8(r,0,$i(pc(s.n),s.a)),o=e.d.d,pi(r,$i(pc(o.n),o.a)),Wwn(r)},P(c2,"PolylineSelfLoopRouter",1794),D(1746,1,{},jJ),l.a=null;var q4;P(c2,"RoutingDirector",1746),D(1747,1,Ui,RX),l.ue=function(e,n){return atn(u(e,113),u(n,113))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(c2,"RoutingDirector/lambda$0$Type",1747),D(1748,1,{},jX),l.Kb=function(e){return DR(),u(e,101).j},P(c2,"RoutingDirector/lambda$1$Type",1748),D(1749,1,tr,$X),l.td=function(e){DR(),u(e,15).ad(q4)},P(c2,"RoutingDirector/lambda$2$Type",1749),D(1752,1,{},zX),P(c2,"RoutingSlotAssigner",1752),D(1753,1,Ti,Wk),l.Mb=function(e){return _Ye(this.a,u(e,101))},P(c2,"RoutingSlotAssigner/lambda$0$Type",1753),D(1754,1,Ui,cM),l.ue=function(e,n){return Ltn(this.a,u(e,101),u(n,101))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(c2,"RoutingSlotAssigner/lambda$1$Type",1754),D(1796,1793,{},qX),l.Uf=function(e,n,r){var s,o,h,d;return s=Zt(ke(Rz(e.b.g.b,(Te(),Rx)))),d=new oWt(ct(ot(sa,1),re,8,0,[(h=e.c.d,$i(new No(h.n),h.a))])),A2n(e,n,r,d,s),pi(d,(o=e.d.d,$i(new No(o.n),o.a))),Jie(new n6t(d))},P(c2,"SplineSelfLoopRouter",1796),D(578,1,Ui,ene,SKt),l.ue=function(e,n){return _he(this,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(jC,"ModelOrderNodeComparator",578),D(1755,1,Ti,PL),l.Mb=function(e){return u(e,11).e.c.length!=0},P(jC,"ModelOrderNodeComparator/lambda$0$Type",1755),D(1756,1,{},OF),l.Kb=function(e){return u(Fe(u(e,11).e,0),17).c},P(jC,"ModelOrderNodeComparator/lambda$1$Type",1756),D(1757,1,Ti,HX),l.Mb=function(e){return u(e,11).e.c.length!=0},P(jC,"ModelOrderNodeComparator/lambda$2$Type",1757),D(1758,1,{},VX),l.Kb=function(e){return u(Fe(u(e,11).e,0),17).c},P(jC,"ModelOrderNodeComparator/lambda$3$Type",1758),D(1759,1,Ti,GX),l.Mb=function(e){return u(e,11).e.c.length!=0},P(jC,"ModelOrderNodeComparator/lambda$4$Type",1759),D(806,1,Ui,Ite,VVt),l.ue=function(e,n){return kYt(this,e,n)},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(jC,"ModelOrderPortComparator",806),D(801,1,{},PF),l.Vf=function(e,n){var r,s,o,h;for(o=Cae(n),r=new ge,h=n.f/o,s=1;s<o;++s)de(r,ve($r(Ou(b.Math.round(s*h)))));return r},l.Wf=function(){return!1},P(Ld,"ARDCutIndexHeuristic",801),D(1479,1,ys,UX),l.pf=function(e,n){uwn(u(e,37),n)},P(Ld,"BreakingPointInserter",1479),D(305,1,{305:1},Ywt),l.Ib=function(){var e;return e=new Mp,e.a+="BPInfo[",e.a+=`
+ start=`,Cc(e,this.i),e.a+=`
+ end=`,Cc(e,this.a),e.a+=`
+ nodeStartEdge=`,Cc(e,this.e),e.a+=`
+ startEndEdge=`,Cc(e,this.j),e.a+=`
+ originalEdge=`,Cc(e,this.f),e.a+=`
+ startInLayerDummy=`,Cc(e,this.k),e.a+=`
+ startInLayerEdge=`,Cc(e,this.n),e.a+=`
+ endInLayerDummy=`,Cc(e,this.b),e.a+=`
+ endInLayerEdge=`,Cc(e,this.c),e.a},P(Ld,"BreakingPointInserter/BPInfo",305),D(652,1,{652:1},Ap),l.a=!1,l.b=0,l.c=0,P(Ld,"BreakingPointInserter/Cut",652),D(1480,1,ys,WX),l.pf=function(e,n){j2n(u(e,37),n)},P(Ld,"BreakingPointProcessor",1480),D(1481,1,Ti,KX),l.Mb=function(e){return Qte(u(e,10))},P(Ld,"BreakingPointProcessor/0methodref$isEnd$Type",1481),D(1482,1,Ti,YX),l.Mb=function(e){return Zte(u(e,10))},P(Ld,"BreakingPointProcessor/1methodref$isStart$Type",1482),D(1483,1,ys,XX),l.pf=function(e,n){cbn(this,u(e,37),n)},P(Ld,"BreakingPointRemover",1483),D(1484,1,tr,QX),l.td=function(e){u(e,128).k=!0},P(Ld,"BreakingPointRemover/lambda$0$Type",1484),D(797,1,{},u5t),l.b=0,l.e=0,l.f=0,l.j=0,P(Ld,"GraphStats",797),D(798,1,{},NF),l.Ce=function(e,n){return b.Math.max(Zt(ke(e)),Zt(ke(n)))},P(Ld,"GraphStats/0methodref$max$Type",798),D(799,1,{},FF),l.Ce=function(e,n){return b.Math.max(Zt(ke(e)),Zt(ke(n)))},P(Ld,"GraphStats/2methodref$max$Type",799),D(1660,1,{},ZX),l.Ce=function(e,n){return WJe(ke(e),ke(n))},P(Ld,"GraphStats/lambda$1$Type",1660),D(1661,1,{},CT),l.Kb=function(e){return $ie(this.a,u(e,29))},P(Ld,"GraphStats/lambda$2$Type",1661),D(1662,1,{},sR),l.Kb=function(e){return xce(this.a,u(e,29))},P(Ld,"GraphStats/lambda$6$Type",1662),D(800,1,{},BF),l.Vf=function(e,n){var r;return r=u(K(e,(Te(),d_t)),15),r||(pn(),pn(),mo)},l.Wf=function(){return!1},P(Ld,"ICutIndexCalculator/ManualCutIndexCalculator",800),D(802,1,{},RF),l.Vf=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt;for(Xt=(n.n==null&&lse(n),n.n),k=(n.d==null&&lse(n),n.d),jt=Pt(wa,Io,25,Xt.length,15,1),jt[0]=Xt[0],Mt=Xt[0],_=1;_<Xt.length;_++)jt[_]=jt[_-1]+Xt[_],Mt+=Xt[_];for(o=Cae(n)-1,d=u(K(e,(Te(),g_t)),19).a,s=Rs,r=new ge,q=b.Math.max(0,o-d);q<=b.Math.min(n.f-1,o+d);q++){if(Z=Mt/(q+1),bt=0,M=1,h=new ge,St=Rs,B=0,w=0,W=k[0],q==0)St=Mt,w=(n.g==null&&(n.g=rne(n,new FF)),Zt(n.g));else{for(;M<n.f;)jt[M-1]-bt>=Z&&(de(h,ve(M)),St=b.Math.max(St,jt[M-1]-B),w+=W,bt+=jt[M-1]-bt,B=jt[M-1],W=k[M]),W=b.Math.max(W,k[M]),++M;w+=W}G=b.Math.min(1/St,1/n.b/w),G>s&&(s=G,r=h)}return r},l.Wf=function(){return!1},P(Ld,"MSDCutIndexHeuristic",802),D(1617,1,ys,JX),l.pf=function(e,n){Pmn(u(e,37),n)},P(Ld,"SingleEdgeGraphWrapper",1617),D(227,22,{3:1,35:1,22:1,227:1},YT);var H4,o9,c9,Oy,dS,V4,u9=Qr(Nc,"CenterEdgeLabelPlacementStrategy",227,ni,Gsn,EZe),nbe;D(422,22,{3:1,35:1,22:1,422:1},S2t);var wEt,vlt,mEt=Qr(Nc,"ConstraintCalculationStrategy",422,ni,Nnn,TZe),rbe;D(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},ket),l.Kf=function(){return doe(this)},l.Xf=function(){return doe(this)};var xO,Ax,yEt,xEt=Qr(Nc,"CrossingMinimizationStrategy",314,ni,Srn,_Ze),ibe;D(337,22,{3:1,35:1,22:1,337:1},Eet);var kEt,wlt,NV,EEt=Qr(Nc,"CuttingStrategy",337,ni,Arn,AZe),sbe;D(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},CM),l.Kf=function(){return Joe(this)},l.Xf=function(){return Joe(this)};var TEt,mlt,gS,ylt,pS,_Et=Qr(Nc,"CycleBreakingStrategy",335,ni,vsn,LZe),abe;D(419,22,{3:1,35:1,22:1,419:1},A2t);var FV,CEt,SEt=Qr(Nc,"DirectionCongruency",419,ni,Pnn,MZe),obe;D(450,22,{3:1,35:1,22:1,450:1},Tet);var l9,xlt,G4,cbe=Qr(Nc,"EdgeConstraint",450,ni,Lrn,DZe),ube;D(276,22,{3:1,35:1,22:1,276:1},XT);var klt,Elt,Tlt,_lt,BV,Clt,AEt=Qr(Nc,"EdgeLabelSideSelection",276,ni,Ysn,IZe),lbe;D(479,22,{3:1,35:1,22:1,479:1},L2t);var RV,LEt,MEt=Qr(Nc,"EdgeStraighteningStrategy",479,ni,Onn,OZe),hbe;D(274,22,{3:1,35:1,22:1,274:1},QT);var Slt,DEt,IEt,jV,OEt,PEt,NEt=Qr(Nc,"FixedAlignment",274,ni,Wsn,PZe),fbe;D(275,22,{3:1,35:1,22:1,275:1},ZT);var FEt,BEt,REt,jEt,bS,$Et,zEt=Qr(Nc,"GraphCompactionStrategy",275,ni,Usn,NZe),dbe;D(256,22,{3:1,35:1,22:1,256:1},Im);var h9,$V,f9,Th,vS,zV,d9,U4,qV,wS,Alt=Qr(Nc,"GraphProperties",256,ni,Pon,FZe),gbe;D(292,22,{3:1,35:1,22:1,292:1},_et);var kO,Llt,Mlt,Dlt=Qr(Nc,"GreedySwitchType",292,ni,Irn,BZe),pbe;D(303,22,{3:1,35:1,22:1,303:1},Cet);var Lx,EO,W4,bbe=Qr(Nc,"InLayerConstraint",303,ni,Drn,RZe),vbe;D(420,22,{3:1,35:1,22:1,420:1},M2t);var Ilt,qEt,HEt=Qr(Nc,"InteractiveReferencePoint",420,ni,Fnn,jZe),wbe,VEt,Mx,Aw,HV,GEt,UEt,VV,WEt,TO,GV,mS,Dx,Py,Olt,UV,yc,KEt,Lw,tu,Plt,Nlt,_O,Nb,Mw,Ix,YEt,Ox,CO,Ny,o1,Uh,Flt,K4,Bc,Bi,XEt,QEt,ZEt,JEt,tTt,Blt,WV,ul,Dw,Rlt,Px,SO,K1,Y4,g9,X4,Q4,p9,Fb,eTt,jlt,$lt,Nx;D(163,22,{3:1,35:1,22:1,163:1},AM);var yS,b2,xS,Fy,AO,nTt=Qr(Nc,"LayerConstraint",163,ni,ysn,$Ze),mbe;D(848,1,jh,UJ),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,pxt),""),"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."),fTt),(Hg(),ks)),SEt),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,bxt),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Rn(),!1)),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Xq),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),wTt),ks),HEt),cn(Un)))),xa(e,Xq,$ot,lve),xa(e,Xq,$C,uve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,vxt),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,wxt),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(UKe(sn(rn(an(yn(Je(nn(tn(en(new We,mxt),""),"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),Va),Zs),cn(qb)),ct(ot(Le,1),re,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,yxt),""),"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."),CTt),ks),P_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,xxt),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ve(7)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,kxt),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ext),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,$ot),"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)."),hTt),ks),_Et),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,WI),lct),"Node Layering Strategy"),"Strategy for node layering."),xTt),ks),k_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Txt),lct),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),mTt),ks),nTt),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,_xt),lct),"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."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Cxt),lct),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,zot),u1e),"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."),ve(4)),Lc),eo),cn(Un)))),xa(e,zot,WI,vve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,qot),u1e),"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."),ve(2)),Lc),eo),cn(Un)))),xa(e,qot,WI,mve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Hot),l1e),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),yTt),ks),D_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Vot),l1e),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ve(0)),Lc),eo),cn(Un)))),xa(e,Vot,Hot,null),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Got),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ve(Di)),Lc),eo),cn(Un)))),xa(e,Got,WI,fve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,$C),KI),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),lTt),ks),xEt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Sxt),KI),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Uot),KI),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Wo),Ea),cn(Un)))),xa(e,Uot,uH,Rbe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Wot),KI),"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),Va),Zs),cn(Un)))),xa(e,Wot,$C,qbe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Axt),KI),"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."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Lxt),KI),"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."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Mxt),h1e),"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."),ve(40)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Kot),h1e),"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."),uTt),ks),Dlt),cn(Un)))),xa(e,Kot,$C,Fbe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Qq),"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."),cTt),ks),Dlt),cn(Un)))),xa(e,Qq,$C,Obe),xa(e,Qq,uH,Pbe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,D4),f1e),"Node Placement Strategy"),"Strategy for node placement."),_Tt),ks),C_t),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Zq),f1e),"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."),Va),Zs),cn(Un)))),xa(e,Zq,D4,Mve),xa(e,Zq,D4,Dve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Yot),d1e),"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."),kTt),ks),MEt),cn(Un)))),xa(e,Yot,D4,Cve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Xot),d1e),"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."),ETt),ks),NEt),cn(Un)))),xa(e,Xot,D4,Ave),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Qot),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Wo),Ea),cn(Un)))),xa(e,Qot,D4,Ove),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Zot),"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."),ks),uht),cn(fa)))),xa(e,Zot,D4,Bve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Jot),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),TTt),ks),uht),cn(Un)))),xa(e,Jot,D4,Fve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Dxt),g1e),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),pTt),ks),B_t),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ixt),g1e),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),bTt),ks),R_t),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Jq),"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."),vTt),ks),$_t),cn(Un)))),xa(e,Jq,YI,Jbe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,tH),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Wo),Ea),cn(Un)))),xa(e,tH,YI,eve),xa(e,tH,Jq,nve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,tct),"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),Wo),Ea),cn(Un)))),xa(e,tct,YI,Ybe),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Oxt),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."),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Pxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Nxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Fxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Bxt),Uxt),"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."),ve(0)),Lc),eo),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Rxt),Uxt),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ve(0)),Lc),eo),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,jxt),Uxt),"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."),ve(0)),Lc),eo),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,ect),Wxt),Mfe),"Tries to further compact components (disconnected sub-graphs)."),!1),Va),Zs),cn(Un)))),xa(e,ect,NC,!0),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,$xt),p1e),"Post Compaction Strategy"),b1e),iTt),ks),zEt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,zxt),p1e),"Post Compaction Constraint Calculation"),b1e),rTt),ks),mEt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,eH),Kxt),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,nct),Kxt),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ve(16)),Lc),eo),cn(Un)))),xa(e,nct,eH,!0),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,rct),Kxt),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ve(5)),Lc),eo),cn(Un)))),xa(e,rct,eH,!0),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Q0),Yxt),"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'."),LTt),ks),V_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,nH),Yxt),"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),Wo),Ea),cn(Un)))),xa(e,nH,Q0,Xve),xa(e,nH,Q0,Qve),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,rH),Yxt),"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),Wo),Ea),cn(Un)))),xa(e,rH,Q0,Jve),xa(e,rH,Q0,twe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,zC),v1e),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),ATt),ks),EEt),cn(Un)))),xa(e,zC,Q0,awe),xa(e,zC,Q0,owe),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,ict),v1e),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),X1),Eh),cn(Un)))),xa(e,ict,zC,nwe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,sct),"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."),STt),Lc),eo),cn(Un)))),xa(e,sct,zC,iwe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,iH),w1e),"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."),MTt),ks),H_t),cn(Un)))),xa(e,iH,Q0,mwe),xa(e,iH,Q0,ywe),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,sH),w1e),"Valid Indices for Wrapping"),null),X1),Eh),cn(Un)))),xa(e,sH,Q0,bwe),xa(e,sH,Q0,vwe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,aH),Xxt),"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),Va),Zs),cn(Un)))),xa(e,aH,Q0,hwe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,oH),Xxt),"Distance Penalty When Improving Cuts"),null),2),Wo),Ea),cn(Un)))),xa(e,oH,Q0,uwe),xa(e,oH,aH,!0),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,act),Xxt),"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),Va),Zs),cn(Un)))),xa(e,act,Q0,dwe),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,qxt),hct),"Edge Label Side Selection"),"Method to decide on edge label sides."),gTt),ks),AEt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Hxt),hct),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),dTt),ks),u9),Qi(Un,ct(ot(ep,1),ue,175,0,[tp]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,cH),XI),"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."),oTt),ks),O_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Vxt),XI),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,oct),XI),"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."),sTt),ks),_9t),cn(Un)))),xa(e,oct,NC,null),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Gxt),XI),"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."),aTt),ks),T_t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,cct),XI),"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),Wo),Ea),cn(Un)))),xa(e,cct,cH,null),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,uct),XI),"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),Wo),Ea),cn(Un)))),xa(e,uct,cH,null),Nhe((new PB,e))};var ybe,xbe,kbe,rTt,Ebe,iTt,Tbe,sTt,_be,Cbe,Sbe,aTt,Abe,Lbe,oTt,Mbe,Dbe,Ibe,cTt,Obe,Pbe,Nbe,uTt,Fbe,Bbe,Rbe,jbe,$be,zbe,qbe,Hbe,lTt,Vbe,hTt,Gbe,fTt,Ube,dTt,Wbe,gTt,Kbe,Ybe,Xbe,pTt,Qbe,bTt,Zbe,vTt,Jbe,tve,eve,nve,rve,ive,sve,ave,ove,cve,wTt,uve,lve,hve,fve,dve,gve,mTt,pve,bve,vve,wve,mve,yve,xve,yTt,kve,xTt,Eve,Tve,_ve,kTt,Cve,Sve,ETt,Ave,Lve,Mve,Dve,Ive,Ove,Pve,Nve,TTt,Fve,Bve,Rve,_Tt,jve,CTt,$ve,zve,qve,Hve,Vve,Gve,Uve,Wve,Kve,Yve,Xve,Qve,Zve,Jve,twe,ewe,nwe,rwe,STt,iwe,swe,ATt,awe,owe,cwe,uwe,lwe,hwe,fwe,dwe,gwe,LTt,pwe,bwe,vwe,wwe,MTt,mwe,ywe;P(Nc,"LayeredMetaDataProvider",848),D(986,1,jh,PB),l.Qe=function(e){Nhe(e)};var Fd,zlt,KV,kS,YV,DTt,XV,Fx,QV,ITt,OTt,qlt,v2,Hlt,By,PTt,LO,Vlt,NTt,xwe,ZV,Glt,ES,Ry,kwe,Jl,FTt,BTt,JV,Ult,Bd,tG,Z0,RTt,jTt,$Tt,Wlt,Klt,zTt,Xg,Ylt,qTt,jy,HTt,VTt,GTt,eG,$y,Bb,UTt,WTt,zo,KTt,Ewe,bu,nG,YTt,XTt,QTt,Xlt,ZTt,rG,JTt,t_t,iG,Iw,e_t,Qlt,TS,n_t,Ow,_S,sG,Rb,Zlt,b9,aG,jb,r_t,i_t,s_t,v9,a_t,Twe,_we,Cwe,Swe,Pw,zy,xs,Qg,Awe,qy,o_t,w9,c_t,Hy,Lwe,m9,u_t,Bx,Mwe,Dwe,MO,Jlt,l_t,DO,Af,Z4,Rx,Nw,$b,oG,Vy,tht,y9,x9,Fw,J4,eht,IO,CS,SS,nht,h_t,f_t,d_t,g_t,rht,p_t,b_t,v_t,w_t,iht,cG;P(Nc,"LayeredOptions",986),D(987,1,{},eQ),l.$e=function(){var e;return e=new Gzt,e},l._e=function(e){},P(Nc,"LayeredOptions/LayeredFactory",987),D(1372,1,{}),l.a=0;var Iwe;P(Fc,"ElkSpacings/AbstractSpacingsBuilder",1372),D(779,1372,{},o3t);var uG,Owe;P(Nc,"LayeredSpacings/LayeredSpacingsBuilder",779),D(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},JT),l.Kf=function(){return gce(this)},l.Xf=function(){return gce(this)};var sht,m_t,y_t,lG,aht,x_t,k_t=Qr(Nc,"LayeringStrategy",313,ni,Ksn,zZe),Pwe;D(378,22,{3:1,35:1,22:1,378:1},Aet);var oht,E_t,hG,T_t=Qr(Nc,"LongEdgeOrderingStrategy",378,ni,Crn,qZe),Nwe;D(197,22,{3:1,35:1,22:1,197:1},WR);var t5,e5,fG,cht,uht=Qr(Nc,"NodeFlexibility",197,ni,Oin,HZe),Fwe;D(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},SM),l.Kf=function(){return Zoe(this)},l.Xf=function(){return Zoe(this)};var AS,lht,hht,LS,__t,C_t=Qr(Nc,"NodePlacementStrategy",315,ni,bsn,YZe),Bwe;D(260,22,{3:1,35:1,22:1,260:1},C6);var S_t,OO,A_t,L_t,PO,M_t,dG,gG,D_t=Qr(Nc,"NodePromotionStrategy",260,ni,Wan,GZe),Rwe;D(339,22,{3:1,35:1,22:1,339:1},Let);var I_t,w2,fht,O_t=Qr(Nc,"OrderingStrategy",339,ni,Prn,UZe),jwe;D(421,22,{3:1,35:1,22:1,421:1},D2t);var dht,ght,P_t=Qr(Nc,"PortSortingStrategy",421,ni,Bnn,WZe),$we;D(452,22,{3:1,35:1,22:1,452:1},Met);var ll,lu,MS,zwe=Qr(Nc,"PortType",452,ni,Orn,VZe),qwe;D(375,22,{3:1,35:1,22:1,375:1},Det);var N_t,pht,F_t,B_t=Qr(Nc,"SelfLoopDistributionStrategy",375,ni,Nrn,KZe),Hwe;D(376,22,{3:1,35:1,22:1,376:1},I2t);var NO,bht,R_t=Qr(Nc,"SelfLoopOrderingStrategy",376,ni,Inn,XZe),Vwe;D(304,1,{304:1},Ble),P(Nc,"Spacings",304),D(336,22,{3:1,35:1,22:1,336:1},Iet);var vht,j_t,DS,$_t=Qr(Nc,"SplineRoutingMode",336,ni,Brn,QZe),Gwe;D(338,22,{3:1,35:1,22:1,338:1},Oet);var wht,z_t,q_t,H_t=Qr(Nc,"ValidifyStrategy",338,ni,Rrn,ZZe),Uwe;D(377,22,{3:1,35:1,22:1,377:1},Pet);var Gy,mht,k9,V_t=Qr(Nc,"WrappingStrategy",377,ni,Frn,JZe),Wwe;D(1383,1,Qc,YJ),l.Yf=function(e){return u(e,37),Kwe},l.pf=function(e,n){Ayn(this,u(e,37),n)};var Kwe;P(fH,"DepthFirstCycleBreaker",1383),D(782,1,Qc,Gvt),l.Yf=function(e){return u(e,37),Ywe},l.pf=function(e,n){C5n(this,u(e,37),n)},l.Zf=function(e){return u(Fe(e,Hz(this.d,e.c.length)),10)};var Ywe;P(fH,"GreedyCycleBreaker",782),D(1386,782,Qc,TGt),l.Zf=function(e){var n,r,s,o;for(o=null,n=Di,s=new S(e);s.a<s.c.c.length;)r=u(Q(s),10),ia(r,(oe(),Bc))&&u(K(r,Bc),19).a<n&&(n=u(K(r,Bc),19).a,o=r);return o||u(Fe(e,Hz(this.d,e.c.length)),10)},P(fH,"GreedyModelOrderCycleBreaker",1386),D(1384,1,Qc,zJ),l.Yf=function(e){return u(e,37),Xwe},l.pf=function(e,n){Xyn(this,u(e,37),n)};var Xwe;P(fH,"InteractiveCycleBreaker",1384),D(1385,1,Qc,qJ),l.Yf=function(e){return u(e,37),Qwe},l.pf=function(e,n){Qyn(this,u(e,37),n)},l.a=0,l.b=0;var Qwe;P(fH,"ModelOrderCycleBreaker",1385),D(1389,1,Qc,bVt),l.Yf=function(e){return u(e,37),Zwe},l.pf=function(e,n){M5n(this,u(e,37),n)};var Zwe;P(Ey,"CoffmanGrahamLayerer",1389),D(1390,1,Ui,aR),l.ue=function(e,n){return ipn(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ey,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),D(1391,1,Ui,jtt),l.ue=function(e,n){return Vtn(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ey,"CoffmanGrahamLayerer/lambda$1$Type",1391),D(1392,1,Qc,NL),l.Yf=function(e){return u(e,37),Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),rlt)),g2,i9),pu,r9)},l.pf=function(e,n){O4n(this,u(e,37),n)},P(Ey,"InteractiveLayerer",1392),D(569,1,{569:1},Jzt),l.a=0,l.c=0,P(Ey,"InteractiveLayerer/LayerSpan",569),D(1388,1,Qc,OB),l.Yf=function(e){return u(e,37),Jwe},l.pf=function(e,n){uvn(this,u(e,37),n)};var Jwe;P(Ey,"LongestPathLayerer",1388),D(1395,1,Qc,GJ),l.Yf=function(e){return u(e,37),Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),hS)),g2,i9),pu,r9)},l.pf=function(e,n){n5n(this,u(e,37),n)},l.a=0,l.b=0,l.d=0;var G_t,U_t;P(Ey,"MinWidthLayerer",1395),D(1396,1,Ui,Sp),l.ue=function(e,n){return Qon(this,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ey,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),D(1387,1,Qc,VJ),l.Yf=function(e){return u(e,37),tme},l.pf=function(e,n){y3n(this,u(e,37),n)};var tme;P(Ey,"NetworkSimplexLayerer",1387),D(1393,1,Qc,BWt),l.Yf=function(e){return u(e,37),Mi(Mi(Mi(new ra,(ao(),Nd),(wo(),hS)),g2,i9),pu,r9)},l.pf=function(e,n){o4n(this,u(e,37),n)},l.d=0,l.f=0,l.g=0,l.i=0,l.s=0,l.t=0,l.u=0,P(Ey,"StretchWidthLayerer",1393),D(1394,1,Ui,nQ),l.ue=function(e,n){return Asn(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Ey,"StretchWidthLayerer/1",1394),D(402,1,Ikt),l.Nf=function(e,n,r,s,o,h){},l._f=function(e,n,r){return Oue(this,e,n,r)},l.Mf=function(){this.g=Pt(r3,y1e,25,this.d,15,1),this.f=Pt(r3,y1e,25,this.d,15,1)},l.Of=function(e,n){this.e[e]=Pt(Fr,ui,25,n[e].length,15,1)},l.Pf=function(e,n,r){var s;s=r[e][n],s.p=n,this.e[e][n]=n},l.Qf=function(e,n,r,s){u(Fe(s[e][n].j,r),11).p=this.d++},l.b=0,l.c=0,l.d=0,P(Qu,"AbstractBarycenterPortDistributor",402),D(1633,1,Ui,uM),l.ue=function(e,n){return xhn(this.a,u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Qu,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),D(817,1,UI,Wwt),l.Nf=function(e,n,r,s,o,h){},l.Pf=function(e,n,r){},l.Qf=function(e,n,r,s){},l.Lf=function(){return!1},l.Mf=function(){this.c=this.e.a,this.g=this.f.g},l.Of=function(e,n){n[e][0].c.p=e},l.Rf=function(){return!1},l.ag=function(e,n,r,s){r?$se(this,e):(Vse(this,e,s),Qle(this,e,n)),e.c.length>1&&(je(Be(K(Za((An(0,e.c.length),u(e.c[0],10))),(Te(),By))))?cce(e,this.d,u(this,660)):(pn(),ua(e,this.d)),Ane(this.e,e))},l.Sf=function(e,n,r,s){var o,h,d,w,k,_,M;for(n!=JKt(r,e.length)&&(h=e[n-(r?1:-1)],bmt(this.f,h,r?(xo(),lu):(xo(),ll))),o=e[n][0],M=!s||o.k==(Yn(),Fs),_=P1(e[n]),this.ag(_,M,!1,r),d=0,k=new S(_);k.a<k.c.c.length;)w=u(Q(k),10),e[n][d++]=w;return!1},l.Tf=function(e,n){var r,s,o,h,d;for(d=JKt(n,e.length),h=P1(e[d]),this.ag(h,!1,!0,n),r=0,o=new S(h);o.a<o.c.c.length;)s=u(Q(o),10),e[d][r++]=s;return!1},P(Qu,"BarycenterHeuristic",817),D(658,1,{658:1},Kk),l.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},l.b=0,l.d=0,l.e=!1;var eme=P(Qu,"BarycenterHeuristic/BarycenterState",658);D(1802,1,Ui,oR),l.ue=function(e,n){return odn(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Qu,"BarycenterHeuristic/lambda$0$Type",1802),D(816,1,UI,w4t),l.Mf=function(){},l.Nf=function(e,n,r,s,o,h){},l.Qf=function(e,n,r,s){},l.Of=function(e,n){this.a[e]=Pt(eme,{3:1,4:1,5:1,2018:1},658,n[e].length,0,1),this.b[e]=Pt(nme,{3:1,4:1,5:1,2019:1},233,n[e].length,0,1)},l.Pf=function(e,n,r){Die(this,r[e][n],!0)},l.c=!1,P(Qu,"ForsterConstraintResolver",816),D(233,1,{233:1},KXt,Fle),l.Ib=function(){var e,n;for(n=new Mp,n.a+="[",e=0;e<this.d.length;e++)ii(n,Vie(this.d[e])),L1(this.g,this.d[0]).a!=null&&ii(ii((n.a+="<",n),DYe(L1(this.g,this.d[0]).a)),">"),e<this.d.length-1&&(n.a+=oo);return(n.a+="]",n).a},l.a=0,l.c=0,l.f=0;var nme=P(Qu,"ForsterConstraintResolver/ConstraintGroup",233);D(1797,1,tr,$tt),l.td=function(e){Die(this.a,u(e,10),!1)},P(Qu,"ForsterConstraintResolver/lambda$0$Type",1797),D(214,1,{214:1,225:1},qle),l.Nf=function(e,n,r,s,o,h){},l.Of=function(e,n){},l.Mf=function(){this.r=Pt(Fr,ui,25,this.n,15,1)},l.Pf=function(e,n,r){var s,o;o=r[e][n],s=o.e,s&&de(this.b,s)},l.Qf=function(e,n,r,s){++this.n},l.Ib=function(){return Zle(this.e,new na)},l.g=!1,l.i=!1,l.n=0,l.s=!1,P(Qu,"GraphInfoHolder",214),D(1832,1,UI,tQ),l.Nf=function(e,n,r,s,o,h){},l.Of=function(e,n){},l.Qf=function(e,n,r,s){},l._f=function(e,n,r){return r&&n>0?grt(this.a,e[n-1],e[n]):!r&&n<e.length-1?grt(this.a,e[n],e[n+1]):cit(this.a,e[n],r?(ye(),jn):(ye(),Wn)),F2n(this,e,n,r)},l.Mf=function(){this.d=Pt(Fr,ui,25,this.c,15,1),this.a=new UM(this.d)},l.Pf=function(e,n,r){var s;s=r[e][n],this.c+=s.j.c.length},l.c=0,P(Qu,"GreedyPortDistributor",1832),D(1401,1,Qc,NB),l.Yf=function(e){return dun(u(e,37))},l.pf=function(e,n){F3n(u(e,37),n)};var rme;P(Qu,"InteractiveCrossingMinimizer",1401),D(1402,1,Ui,i$t),l.ue=function(e,n){return V1n(this,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Qu,"InteractiveCrossingMinimizer/1",1402),D(507,1,{507:1,123:1,51:1},eet),l.Yf=function(e){var n;return u(e,37),n=aj(ime),Mi(n,(ao(),pu),(wo(),EV)),n},l.pf=function(e,n){Ywn(this,u(e,37),n)},l.e=0;var ime;P(Qu,"LayerSweepCrossingMinimizer",507),D(1398,1,tr,s$t),l.td=function(e){Nmn(this.a,u(e,214))},P(Qu,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),D(1399,1,tr,a$t),l.td=function(e){aun(this.a,u(e,214))},P(Qu,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),D(1400,1,tr,o$t),l.td=function(e){Zue(this.a,u(e,214))},P(Qu,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),D(454,22,{3:1,35:1,22:1,454:1},Net);var FO,IS,pG,sme=Qr(Qu,"LayerSweepCrossingMinimizer/CrossMinType",454,ni,jrn,tJe),ame;D(1397,1,Ti,Tk),l.Mb=function(e){return oyt(),u(e,29).a.c.length==0},P(Qu,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),D(1799,1,UI,hQt),l.Mf=function(){},l.Nf=function(e,n,r,s,o,h){},l.Qf=function(e,n,r,s){},l.Of=function(e,n){n[e][0].c.p=e,this.b[e]=Pt(ome,{3:1,4:1,5:1,1944:1},659,n[e].length,0,1)},l.Pf=function(e,n,r){var s;s=r[e][n],s.p=n,ds(this.b[e],n,new rQ)},P(Qu,"LayerSweepTypeDecider",1799),D(659,1,{659:1},rQ),l.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},l.a=0,l.b=0,l.c=0;var ome=P(Qu,"LayerSweepTypeDecider/NodeInfo",659);D(1800,1,_d,iQ),l.Lb=function(e){return p_(new N1(u(e,11).b))},l.Fb=function(e){return this===e},l.Mb=function(e){return p_(new N1(u(e,11).b))},P(Qu,"LayerSweepTypeDecider/lambda$0$Type",1800),D(1801,1,_d,sQ),l.Lb=function(e){return p_(new N1(u(e,11).b))},l.Fb=function(e){return this===e},l.Mb=function(e){return p_(new N1(u(e,11).b))},P(Qu,"LayerSweepTypeDecider/lambda$1$Type",1801),D(1833,402,Ikt,Zqt),l.$f=function(e,n,r){var s,o,h,d,w,k,_,M,B;switch(_=this.g,r.g){case 1:{for(s=0,o=0,k=new S(e.j);k.a<k.c.c.length;)d=u(Q(k),11),d.e.c.length!=0&&(++s,d.j==(ye(),Nn)&&++o);for(h=n+o,B=n+s,w=rw(e,(xo(),ll)).Kc();w.Ob();)d=u(w.Pb(),11),d.j==(ye(),Nn)?(_[d.p]=h,--h):(_[d.p]=B,--B);return s}case 2:{for(M=0,w=rw(e,(xo(),lu)).Kc();w.Ob();)d=u(w.Pb(),11),++M,_[d.p]=n+M;return M}default:throw et(new fM)}},P(Qu,"LayerTotalPortDistributor",1833),D(660,817,{660:1,225:1},Wee),l.ag=function(e,n,r,s){r?$se(this,e):(Vse(this,e,s),Qle(this,e,n)),e.c.length>1&&(je(Be(K(Za((An(0,e.c.length),u(e.c[0],10))),(Te(),By))))?cce(e,this.d,this):(pn(),ua(e,this.d)),je(Be(K(Za((An(0,e.c.length),u(e.c[0],10))),By)))||Ane(this.e,e))},P(Qu,"ModelOrderBarycenterHeuristic",660),D(1803,1,Ui,c$t),l.ue=function(e,n){return q0n(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Qu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),D(1403,1,Qc,JJ),l.Yf=function(e){var n;return u(e,37),n=aj(cme),Mi(n,(ao(),pu),(wo(),EV)),n},l.pf=function(e,n){Snn((u(e,37),n))};var cme;P(Qu,"NoCrossingMinimizer",1403),D(796,402,Ikt,e2t),l.$f=function(e,n,r){var s,o,h,d,w,k,_,M,B,q,G;switch(B=this.g,r.g){case 1:{for(o=0,h=0,M=new S(e.j);M.a<M.c.c.length;)k=u(Q(M),11),k.e.c.length!=0&&(++o,k.j==(ye(),Nn)&&++h);for(s=1/(o+1),d=n+h*s,G=n+1-s,_=rw(e,(xo(),ll)).Kc();_.Ob();)k=u(_.Pb(),11),k.j==(ye(),Nn)?(B[k.p]=d,d-=s):(B[k.p]=G,G-=s);break}case 2:{for(w=0,M=new S(e.j);M.a<M.c.c.length;)k=u(Q(M),11),k.g.c.length==0||++w;for(s=1/(w+1),q=n+s,_=rw(e,(xo(),lu)).Kc();_.Ob();)k=u(_.Pb(),11),B[k.p]=q,q+=s;break}default:throw et(new Bn("Port type is undefined"))}return 1},P(Qu,"NodeRelativePortDistributor",796),D(807,1,{},_Yt,mae),P(Qu,"SweepCopy",807),D(1798,1,UI,lie),l.Of=function(e,n){},l.Mf=function(){var e;e=Pt(Fr,ui,25,this.f,15,1),this.d=new b$t(e),this.a=new UM(e)},l.Nf=function(e,n,r,s,o,h){var d;d=u(Fe(h[e][n].j,r),11),o.c==d&&o.c.i.c==o.d.i.c&&++this.e[e]},l.Pf=function(e,n,r){var s;s=r[e][n],this.c[e]=this.c[e]|s.k==(Yn(),Jc)},l.Qf=function(e,n,r,s){var o;o=u(Fe(s[e][n].j,r),11),o.p=this.f++,o.g.c.length+o.e.c.length>1&&(o.j==(ye(),Wn)?this.b[e]=!0:o.j==jn&&e>0&&(this.b[e-1]=!0))},l.f=0,P(u0,"AllCrossingsCounter",1798),D(587,1,{},sz),l.b=0,l.d=0,P(u0,"BinaryIndexedTree",587),D(524,1,{},UM);var W_t,bG;P(u0,"CrossingsCounter",524),D(1906,1,Ui,u$t),l.ue=function(e,n){return Mtn(this.a,u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(u0,"CrossingsCounter/lambda$0$Type",1906),D(1907,1,Ui,l$t),l.ue=function(e,n){return Dtn(this.a,u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(u0,"CrossingsCounter/lambda$1$Type",1907),D(1908,1,Ui,h$t),l.ue=function(e,n){return Itn(this.a,u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(u0,"CrossingsCounter/lambda$2$Type",1908),D(1909,1,Ui,f$t),l.ue=function(e,n){return Otn(this.a,u(e,11),u(n,11))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(u0,"CrossingsCounter/lambda$3$Type",1909),D(1910,1,tr,d$t),l.td=function(e){gan(this.a,u(e,11))},P(u0,"CrossingsCounter/lambda$4$Type",1910),D(1911,1,Ti,g$t),l.Mb=function(e){return AYe(this.a,u(e,11))},P(u0,"CrossingsCounter/lambda$5$Type",1911),D(1912,1,tr,p$t),l.td=function(e){yGt(this,e)},P(u0,"CrossingsCounter/lambda$6$Type",1912),D(1913,1,tr,UVt),l.td=function(e){var n;p8(),Up(this.b,(n=this.a,u(e,11),n))},P(u0,"CrossingsCounter/lambda$7$Type",1913),D(826,1,_d,jF),l.Lb=function(e){return p8(),ia(u(e,11),(oe(),ul))},l.Fb=function(e){return this===e},l.Mb=function(e){return p8(),ia(u(e,11),(oe(),ul))},P(u0,"CrossingsCounter/lambda$8$Type",826),D(1905,1,{},b$t),P(u0,"HyperedgeCrossingsCounter",1905),D(467,1,{35:1,467:1},FWt),l.wd=function(e){return hhn(this,u(e,467))},l.b=0,l.c=0,l.e=0,l.f=0;var o6n=P(u0,"HyperedgeCrossingsCounter/Hyperedge",467);D(362,1,{35:1,362:1},r$),l.wd=function(e){return u2n(this,u(e,362))},l.b=0,l.c=0;var ume=P(u0,"HyperedgeCrossingsCounter/HyperedgeCorner",362);D(523,22,{3:1,35:1,22:1,523:1},O2t);var OS,PS,lme=Qr(u0,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,ni,Rnn,eJe),hme;D(1405,1,Qc,KJ),l.Yf=function(e){return u(K(u(e,37),(oe(),tu)),21).Hc((Eo(),Th))?fme:null},l.pf=function(e,n){M1n(this,u(e,37),n)};var fme;P(_o,"InteractiveNodePlacer",1405),D(1406,1,Qc,WJ),l.Yf=function(e){return u(K(u(e,37),(oe(),tu)),21).Hc((Eo(),Th))?dme:null},l.pf=function(e,n){gfn(this,u(e,37),n)};var dme,vG,wG;P(_o,"LinearSegmentsNodePlacer",1406),D(257,1,{35:1,257:1},Dpt),l.wd=function(e){return $Ke(this,u(e,257))},l.Fb=function(e){var n;return _t(e,257)?(n=u(e,257),this.b==n.b):!1},l.Hb=function(){return this.b},l.Ib=function(){return"ls"+e2(this.e)},l.a=0,l.b=0,l.c=-1,l.d=-1,l.g=0;var gme=P(_o,"LinearSegmentsNodePlacer/LinearSegment",257);D(1408,1,Qc,uYt),l.Yf=function(e){return u(K(u(e,37),(oe(),tu)),21).Hc((Eo(),Th))?pme:null},l.pf=function(e,n){w5n(this,u(e,37),n)},l.b=0,l.g=0;var pme;P(_o,"NetworkSimplexPlacer",1408),D(1427,1,Ui,aQ),l.ue=function(e,n){return Tu(u(e,19).a,u(n,19).a)},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(_o,"NetworkSimplexPlacer/0methodref$compare$Type",1427),D(1429,1,Ui,oQ),l.ue=function(e,n){return Tu(u(e,19).a,u(n,19).a)},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(_o,"NetworkSimplexPlacer/1methodref$compare$Type",1429),D(649,1,{649:1},WVt);var c6n=P(_o,"NetworkSimplexPlacer/EdgeRep",649);D(401,1,{401:1},Ewt),l.b=!1;var u6n=P(_o,"NetworkSimplexPlacer/NodeRep",401);D(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},nqt),P(_o,"NetworkSimplexPlacer/Path",508),D(1409,1,{},cQ),l.Kb=function(e){return u(e,17).d.i.k},P(_o,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),D(1410,1,Ti,uQ),l.Mb=function(e){return u(e,267)==(Yn(),ha)},P(_o,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),D(1411,1,{},lQ),l.Kb=function(e){return u(e,17).d.i},P(_o,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),D(1412,1,Ti,v$t),l.Mb=function(e){return yWt(sie(u(e,10)))},P(_o,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),D(1413,1,Ti,hQ),l.Mb=function(e){return mtn(u(e,11))},P(_o,"NetworkSimplexPlacer/lambda$0$Type",1413),D(1414,1,tr,KVt),l.td=function(e){bXe(this.a,this.b,u(e,11))},P(_o,"NetworkSimplexPlacer/lambda$1$Type",1414),D(1423,1,tr,w$t),l.td=function(e){Fgn(this.a,u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$10$Type",1423),D(1424,1,{},fQ),l.Kb=function(e){return zl(),new En(null,new _n(u(e,29).a,16))},P(_o,"NetworkSimplexPlacer/lambda$11$Type",1424),D(1425,1,tr,m$t),l.td=function(e){Ivn(this.a,u(e,10))},P(_o,"NetworkSimplexPlacer/lambda$12$Type",1425),D(1426,1,{},dQ),l.Kb=function(e){return zl(),ve(u(e,121).e)},P(_o,"NetworkSimplexPlacer/lambda$13$Type",1426),D(1428,1,{},gQ),l.Kb=function(e){return zl(),ve(u(e,121).e)},P(_o,"NetworkSimplexPlacer/lambda$15$Type",1428),D(1430,1,Ti,pQ),l.Mb=function(e){return zl(),u(e,401).c.k==(Yn(),Ws)},P(_o,"NetworkSimplexPlacer/lambda$17$Type",1430),D(1431,1,Ti,bQ),l.Mb=function(e){return zl(),u(e,401).c.j.c.length>1},P(_o,"NetworkSimplexPlacer/lambda$18$Type",1431),D(1432,1,tr,bXt),l.td=function(e){kln(this.c,this.b,this.d,this.a,u(e,401))},l.c=0,l.d=0,P(_o,"NetworkSimplexPlacer/lambda$19$Type",1432),D(1415,1,{},vQ),l.Kb=function(e){return zl(),new En(null,new _n(u(e,29).a,16))},P(_o,"NetworkSimplexPlacer/lambda$2$Type",1415),D(1433,1,tr,y$t),l.td=function(e){gXe(this.a,u(e,11))},l.a=0,P(_o,"NetworkSimplexPlacer/lambda$20$Type",1433),D(1434,1,{},X5),l.Kb=function(e){return zl(),new En(null,new _n(u(e,29).a,16))},P(_o,"NetworkSimplexPlacer/lambda$21$Type",1434),D(1435,1,tr,x$t),l.td=function(e){LXe(this.a,u(e,10))},P(_o,"NetworkSimplexPlacer/lambda$22$Type",1435),D(1436,1,Ti,$F),l.Mb=function(e){return yWt(e)},P(_o,"NetworkSimplexPlacer/lambda$23$Type",1436),D(1437,1,{},wQ),l.Kb=function(e){return zl(),new En(null,new _n(u(e,29).a,16))},P(_o,"NetworkSimplexPlacer/lambda$24$Type",1437),D(1438,1,Ti,k$t),l.Mb=function(e){return NYe(this.a,u(e,10))},P(_o,"NetworkSimplexPlacer/lambda$25$Type",1438),D(1439,1,tr,YVt),l.td=function(e){ign(this.a,this.b,u(e,10))},P(_o,"NetworkSimplexPlacer/lambda$26$Type",1439),D(1440,1,Ti,mQ),l.Mb=function(e){return zl(),!io(u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$27$Type",1440),D(1441,1,Ti,yQ),l.Mb=function(e){return zl(),!io(u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$28$Type",1441),D(1442,1,{},E$t),l.Ce=function(e,n){return CXe(this.a,u(e,29),u(n,29))},P(_o,"NetworkSimplexPlacer/lambda$29$Type",1442),D(1416,1,{},zF),l.Kb=function(e){return zl(),new En(null,new Nv(new pr(xr(Gs(u(e,10)).a.Kc(),new H))))},P(_o,"NetworkSimplexPlacer/lambda$3$Type",1416),D(1417,1,Ti,xQ),l.Mb=function(e){return zl(),din(u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$4$Type",1417),D(1418,1,tr,T$t),l.td=function(e){Dmn(this.a,u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$5$Type",1418),D(1419,1,{},VE),l.Kb=function(e){return zl(),new En(null,new _n(u(e,29).a,16))},P(_o,"NetworkSimplexPlacer/lambda$6$Type",1419),D(1420,1,Ti,kQ),l.Mb=function(e){return zl(),u(e,10).k==(Yn(),Ws)},P(_o,"NetworkSimplexPlacer/lambda$7$Type",1420),D(1421,1,{},EQ),l.Kb=function(e){return zl(),new En(null,new Nv(new pr(xr(H0(u(e,10)).a.Kc(),new H))))},P(_o,"NetworkSimplexPlacer/lambda$8$Type",1421),D(1422,1,Ti,TQ),l.Mb=function(e){return zl(),dtn(u(e,17))},P(_o,"NetworkSimplexPlacer/lambda$9$Type",1422),D(1404,1,Qc,pT),l.Yf=function(e){return u(K(u(e,37),(oe(),tu)),21).Hc((Eo(),Th))?bme:null},l.pf=function(e,n){fyn(u(e,37),n)};var bme;P(_o,"SimpleNodePlacer",1404),D(180,1,{180:1},k4),l.Ib=function(){var e;return e="",this.c==(yd(),Bw)?e+=px:this.c==Zg&&(e+=gx),this.o==(D1(),zb)?e+=yot:this.o==Y1?e+="UP":e+="BALANCED",e},P(u2,"BKAlignedLayout",180),D(516,22,{3:1,35:1,22:1,516:1},N2t);var Zg,Bw,vme=Qr(u2,"BKAlignedLayout/HDirection",516,ni,$nn,nJe),wme;D(515,22,{3:1,35:1,22:1,515:1},P2t);var zb,Y1,mme=Qr(u2,"BKAlignedLayout/VDirection",515,ni,znn,rJe),yme;D(1634,1,{},XVt),P(u2,"BKAligner",1634),D(1637,1,{},Lse),P(u2,"BKCompactor",1637),D(654,1,{654:1},_Q),l.a=0,P(u2,"BKCompactor/ClassEdge",654),D(458,1,{458:1},tqt),l.a=null,l.b=0,P(u2,"BKCompactor/ClassNode",458),D(1407,1,Qc,kGt),l.Yf=function(e){return u(K(u(e,37),(oe(),tu)),21).Hc((Eo(),Th))?xme:null},l.pf=function(e,n){O5n(this,u(e,37),n)},l.d=!1;var xme;P(u2,"BKNodePlacer",1407),D(1635,1,{},CQ),l.d=0,P(u2,"NeighborhoodInformation",1635),D(1636,1,Ui,_$t),l.ue=function(e,n){return $an(this,u(e,46),u(n,46))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(u2,"NeighborhoodInformation/NeighborComparator",1636),D(808,1,{}),P(u2,"ThresholdStrategy",808),D(1763,808,{},sqt),l.bg=function(e,n,r){return this.a.o==(D1(),Y1)?ms:Rs},l.cg=function(){},P(u2,"ThresholdStrategy/NullThresholdStrategy",1763),D(579,1,{579:1},QVt),l.c=!1,l.d=!1,P(u2,"ThresholdStrategy/Postprocessable",579),D(1764,808,{},aqt),l.bg=function(e,n,r){var s,o,h;return o=n==r,s=this.a.a[r.p]==n,o||s?(h=e,this.a.c==(yd(),Bw)?(o&&(h=yat(this,n,!0)),!isNaN(h)&&!isFinite(h)&&s&&(h=yat(this,r,!1))):(o&&(h=yat(this,n,!0)),!isNaN(h)&&!isFinite(h)&&s&&(h=yat(this,r,!1))),h):e},l.cg=function(){for(var e,n,r,s,o;this.d.b!=0;)o=u(rrn(this.d),579),s=Xue(this,o),s.a&&(e=s.a,r=je(this.a.f[this.a.g[o.b.p].p]),!(!r&&!io(e)&&e.c.i.c==e.d.i.c)&&(n=rce(this,o),n||HYe(this.e,o)));for(;this.e.a.c.length!=0;)rce(this,u(dre(this.e),579))},P(u2,"ThresholdStrategy/SimpleThresholdStrategy",1764),D(635,1,{635:1,246:1,234:1},SQ),l.Kf=function(){return Ene(this)},l.Xf=function(){return Ene(this)};var yht;P(bct,"EdgeRouterFactory",635),D(1458,1,Qc,hd),l.Yf=function(e){return hvn(u(e,37))},l.pf=function(e,n){myn(u(e,37),n)};var kme,Eme,Tme,_me,Cme,K_t,Sme,Ame;P(bct,"OrthogonalEdgeRouter",1458),D(1451,1,Qc,EGt),l.Yf=function(e){return N1n(u(e,37))},l.pf=function(e,n){j4n(this,u(e,37),n)};var Lme,Mme,Dme,Ime,BO,Ome;P(bct,"PolylineEdgeRouter",1451),D(1452,1,_d,AQ),l.Lb=function(e){return lyt(u(e,10))},l.Fb=function(e){return this===e},l.Mb=function(e){return lyt(u(e,10))},P(bct,"PolylineEdgeRouter/1",1452),D(1809,1,Ti,LQ),l.Mb=function(e){return u(e,129).c==(Xf(),m2)},P(i1,"HyperEdgeCycleDetector/lambda$0$Type",1809),D(1810,1,{},MQ),l.Ge=function(e){return u(e,129).d},P(i1,"HyperEdgeCycleDetector/lambda$1$Type",1810),D(1811,1,Ti,DQ),l.Mb=function(e){return u(e,129).c==(Xf(),m2)},P(i1,"HyperEdgeCycleDetector/lambda$2$Type",1811),D(1812,1,{},Q5),l.Ge=function(e){return u(e,129).d},P(i1,"HyperEdgeCycleDetector/lambda$3$Type",1812),D(1813,1,{},IQ),l.Ge=function(e){return u(e,129).d},P(i1,"HyperEdgeCycleDetector/lambda$4$Type",1813),D(1814,1,{},OQ),l.Ge=function(e){return u(e,129).d},P(i1,"HyperEdgeCycleDetector/lambda$5$Type",1814),D(112,1,{35:1,112:1},ID),l.wd=function(e){return zKe(this,u(e,112))},l.Fb=function(e){var n;return _t(e,112)?(n=u(e,112),this.g==n.g):!1},l.Hb=function(){return this.g},l.Ib=function(){var e,n,r,s;for(e=new jl("{"),s=new S(this.n);s.a<s.c.c.length;)r=u(Q(s),11),n=eI(r.i),n==null&&(n="n"+QWt(r.i)),e.a+=""+n,s.a<s.c.c.length&&(e.a+=",");return e.a+="}",e.a},l.a=0,l.b=0,l.c=NaN,l.d=0,l.g=0,l.i=0,l.o=0,l.s=NaN,P(i1,"HyperEdgeSegment",112),D(129,1,{129:1},nb),l.Ib=function(){return this.a+"->"+this.b+" ("+ZXe(this.c)+")"},l.d=0,P(i1,"HyperEdgeSegmentDependency",129),D(520,22,{3:1,35:1,22:1,520:1},F2t);var m2,Uy,Pme=Qr(i1,"HyperEdgeSegmentDependency/DependencyType",520,ni,jnn,iJe),Nme;D(1815,1,{},C$t),P(i1,"HyperEdgeSegmentSplitter",1815),D(1816,1,{},rHt),l.a=0,l.b=0,P(i1,"HyperEdgeSegmentSplitter/AreaRating",1816),D(329,1,{329:1},ynt),l.a=0,l.b=0,l.c=0,P(i1,"HyperEdgeSegmentSplitter/FreeArea",329),D(1817,1,Ui,$Q),l.ue=function(e,n){return KQe(u(e,112),u(n,112))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(i1,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),D(1818,1,tr,vXt),l.td=function(e){Jin(this.a,this.d,this.c,this.b,u(e,112))},l.b=0,P(i1,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),D(1819,1,{},zQ),l.Kb=function(e){return new En(null,new _n(u(e,112).e,16))},P(i1,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),D(1820,1,{},qQ),l.Kb=function(e){return new En(null,new _n(u(e,112).j,16))},P(i1,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),D(1821,1,{},HQ),l.Fe=function(e){return Zt(ke(e))},P(i1,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),D(655,1,{},Vnt),l.a=0,l.b=0,l.c=0,P(i1,"OrthogonalRoutingGenerator",655),D(1638,1,{},VQ),l.Kb=function(e){return new En(null,new _n(u(e,112).e,16))},P(i1,"OrthogonalRoutingGenerator/lambda$0$Type",1638),D(1639,1,{},GQ),l.Kb=function(e){return new En(null,new _n(u(e,112).j,16))},P(i1,"OrthogonalRoutingGenerator/lambda$1$Type",1639),D(661,1,{}),P(vct,"BaseRoutingDirectionStrategy",661),D(1807,661,{},oqt),l.dg=function(e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;if(!(e.r&&!e.q))for(M=n+e.o*r,_=new S(e.n);_.a<_.c.c.length;)for(k=u(Q(_),11),B=cc(ct(ot(sa,1),re,8,0,[k.i.n,k.n,k.a])).a,w=new S(k.g);w.a<w.c.c.length;)d=u(Q(w),17),io(d)||(W=d.d,Z=cc(ct(ot(sa,1),re,8,0,[W.i.n,W.n,W.a])).a,b.Math.abs(B-Z)>Sd&&(h=M,o=e,s=new $e(B,h),pi(d.a,s),hw(this,d,o,s,!1),q=e.r,q&&(G=Zt(ke(n1(q.e,0))),s=new $e(G,h),pi(d.a,s),hw(this,d,o,s,!1),h=n+q.o*r,o=q,s=new $e(G,h),pi(d.a,s),hw(this,d,o,s,!1)),s=new $e(Z,h),pi(d.a,s),hw(this,d,o,s,!1)))},l.eg=function(e){return e.i.n.a+e.n.a+e.a.a},l.fg=function(){return ye(),Ir},l.gg=function(){return ye(),Nn},P(vct,"NorthToSouthRoutingStrategy",1807),D(1808,661,{},cqt),l.dg=function(e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;if(!(e.r&&!e.q))for(M=n-e.o*r,_=new S(e.n);_.a<_.c.c.length;)for(k=u(Q(_),11),B=cc(ct(ot(sa,1),re,8,0,[k.i.n,k.n,k.a])).a,w=new S(k.g);w.a<w.c.c.length;)d=u(Q(w),17),io(d)||(W=d.d,Z=cc(ct(ot(sa,1),re,8,0,[W.i.n,W.n,W.a])).a,b.Math.abs(B-Z)>Sd&&(h=M,o=e,s=new $e(B,h),pi(d.a,s),hw(this,d,o,s,!1),q=e.r,q&&(G=Zt(ke(n1(q.e,0))),s=new $e(G,h),pi(d.a,s),hw(this,d,o,s,!1),h=n-q.o*r,o=q,s=new $e(G,h),pi(d.a,s),hw(this,d,o,s,!1)),s=new $e(Z,h),pi(d.a,s),hw(this,d,o,s,!1)))},l.eg=function(e){return e.i.n.a+e.n.a+e.a.a},l.fg=function(){return ye(),Nn},l.gg=function(){return ye(),Ir},P(vct,"SouthToNorthRoutingStrategy",1808),D(1806,661,{},uqt),l.dg=function(e,n,r){var s,o,h,d,w,k,_,M,B,q,G,W,Z;if(!(e.r&&!e.q))for(M=n+e.o*r,_=new S(e.n);_.a<_.c.c.length;)for(k=u(Q(_),11),B=cc(ct(ot(sa,1),re,8,0,[k.i.n,k.n,k.a])).b,w=new S(k.g);w.a<w.c.c.length;)d=u(Q(w),17),io(d)||(W=d.d,Z=cc(ct(ot(sa,1),re,8,0,[W.i.n,W.n,W.a])).b,b.Math.abs(B-Z)>Sd&&(h=M,o=e,s=new $e(h,B),pi(d.a,s),hw(this,d,o,s,!0),q=e.r,q&&(G=Zt(ke(n1(q.e,0))),s=new $e(h,G),pi(d.a,s),hw(this,d,o,s,!0),h=n+q.o*r,o=q,s=new $e(h,G),pi(d.a,s),hw(this,d,o,s,!0)),s=new $e(h,Z),pi(d.a,s),hw(this,d,o,s,!0)))},l.eg=function(e){return e.i.n.b+e.n.b+e.a.b},l.fg=function(){return ye(),Wn},l.gg=function(){return ye(),jn},P(vct,"WestToEastRoutingStrategy",1806),D(813,1,{},n6t),l.Ib=function(){return e2(this.a)},l.b=0,l.c=!1,l.d=!1,l.f=0,P(Ty,"NubSpline",813),D(407,1,{407:1},Ice,QXt),P(Ty,"NubSpline/PolarCP",407),D(1453,1,Qc,xse),l.Yf=function(e){return Tdn(u(e,37))},l.pf=function(e,n){i5n(this,u(e,37),n)};var Fme,Bme,Rme,jme,$me;P(Ty,"SplineEdgeRouter",1453),D(268,1,{268:1},L$),l.Ib=function(){return this.a+" ->("+this.c+") "+this.b},l.c=0,P(Ty,"SplineEdgeRouter/Dependency",268),D(455,22,{3:1,35:1,22:1,455:1},B2t);var y2,n5,zme=Qr(Ty,"SplineEdgeRouter/SideToProcess",455,ni,qnn,sJe),qme;D(1454,1,Ti,jQ),l.Mb=function(e){return bC(),!u(e,128).o},P(Ty,"SplineEdgeRouter/lambda$0$Type",1454),D(1455,1,{},RQ),l.Ge=function(e){return bC(),u(e,128).v+1},P(Ty,"SplineEdgeRouter/lambda$1$Type",1455),D(1456,1,tr,ZVt),l.td=function(e){ptn(this.a,this.b,u(e,46))},P(Ty,"SplineEdgeRouter/lambda$2$Type",1456),D(1457,1,tr,JVt),l.td=function(e){btn(this.a,this.b,u(e,46))},P(Ty,"SplineEdgeRouter/lambda$3$Type",1457),D(128,1,{35:1,128:1},Yae,c6t),l.wd=function(e){return qKe(this,u(e,128))},l.b=0,l.e=!1,l.f=0,l.g=0,l.j=!1,l.k=!1,l.n=0,l.o=!1,l.p=!1,l.q=!1,l.s=0,l.u=0,l.v=0,l.F=0,P(Ty,"SplineSegment",128),D(459,1,{459:1},GE),l.a=0,l.b=!1,l.c=!1,l.d=!1,l.e=!1,l.f=0,P(Ty,"SplineSegment/EdgeInformation",459),D(1234,1,{},PQ),P(qC,rxt,1234),D(1235,1,Ui,NQ),l.ue=function(e,n){return Zgn(u(e,135),u(n,135))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(qC,Ofe,1235),D(1233,1,{},mHt),P(qC,"MrTree",1233),D(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},KR),l.Kf=function(){return yoe(this)},l.Xf=function(){return yoe(this)};var mG,NS,RO,FS,Y_t=Qr(qC,"TreeLayoutPhases",393,ni,Pin,aJe),Hme;D(1130,209,_b,jWt),l.Ze=function(e,n){var r,s,o,h,d,w,k;for(je(Be(He(e,(lw(),eCt))))||h$((r=new fr((Dm(),new Sm(e))),r)),d=(w=new M$,Vo(w,e),ne(w,(Sc(),jS),e),k=new Br,Hwn(e,w,k),amn(e,w,k),w),h=Jwn(this.a,d),o=new S(h);o.a<o.c.c.length;)s=u(Q(o),135),mdn(this.b,s,Kc(n,1/h.c.length));d=I5n(h),i4n(d)},P(qC,"TreeLayoutProvider",1130),D(1847,1,i0,FQ),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return pn(),i8(),J7},P(qC,"TreeUtil/1",1847),D(1848,1,i0,BQ),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return pn(),i8(),J7},P(qC,"TreeUtil/2",1848),D(502,134,{3:1,502:1,94:1,134:1}),l.g=0,P(HC,"TGraphElement",502),D(188,502,{3:1,188:1,502:1,94:1,134:1},Cwt),l.Ib=function(){return this.b&&this.c?w$(this.b)+"->"+w$(this.c):"e_"+es(this)},P(HC,"TEdge",188),D(135,134,{3:1,135:1,94:1,134:1},M$),l.Ib=function(){var e,n,r,s,o;for(o=null,s=gi(this.b,0);s.b!=s.d.c;)r=u(di(s),86),o+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+`
+`;for(n=gi(this.a,0);n.b!=n.d.c;)e=u(di(n),188),o+=(e.b&&e.c?w$(e.b)+"->"+w$(e.c):"e_"+es(e))+`
+`;return o};var l6n=P(HC,"TGraph",135);D(633,502,{3:1,502:1,633:1,94:1,134:1}),P(HC,"TShape",633),D(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},yit),l.Ib=function(){return w$(this)};var h6n=P(HC,"TNode",86);D(255,1,i0,Lp),l.Jc=function(e){Pa(this,e)},l.Kc=function(){var e;return e=gi(this.a.d,0),new v6(e)},P(HC,"TNode/2",255),D(358,1,va,v6),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return u(di(this.a),188).c},l.Ob=function(){return TR(this.a)},l.Qb=function(){G$(this.a)},P(HC,"TNode/2/1",358),D(1840,1,ys,RWt),l.pf=function(e,n){kmn(this,u(e,135),n)},P(kx,"FanProcessor",1840),D(327,22,{3:1,35:1,22:1,327:1,234:1},t_),l.Kf=function(){switch(this.g){case 0:return new Tqt;case 1:return new RWt;case 2:return new Z5;case 3:return new UQ;case 4:return new KQ;case 5:return new FL;default:throw et(new Bn(Bot+(this.f!=null?this.f:""+this.g)))}};var xht,kht,Eht,Tht,_ht,yG,Vme=Qr(kx,gxt,327,ni,Xsn,oJe),Gme;D(1843,1,ys,UQ),l.pf=function(e,n){i2n(this,u(e,135),n)},l.a=0,P(kx,"LevelHeightProcessor",1843),D(1844,1,i0,WQ),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return pn(),i8(),J7},P(kx,"LevelHeightProcessor/1",1844),D(1841,1,ys,Z5),l.pf=function(e,n){hgn(this,u(e,135),n)},l.a=0,P(kx,"NeighborsProcessor",1841),D(1842,1,i0,qF),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return pn(),i8(),J7},P(kx,"NeighborsProcessor/1",1842),D(1845,1,ys,KQ),l.pf=function(e,n){r2n(this,u(e,135),n)},l.a=0,P(kx,"NodePositionProcessor",1845),D(1839,1,ys,Tqt),l.pf=function(e,n){Lyn(this,u(e,135))},P(kx,"RootProcessor",1839),D(1846,1,ys,FL),l.pf=function(e,n){Run(u(e,135))},P(kx,"Untreeifyer",1846);var jO,BS,Ume,Cht,xG,RS,Sht,kG,EG,E9,jS,TG,Jg,X_t,Wme,Aht,Wy,Lht,Q_t;D(851,1,jh,M3),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Okt),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),J_t),(Hg(),ks)),aCt),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Pkt),""),"Search Order"),"Which search order to use when computing a spanning tree."),Z_t),ks),cCt),cn(Un)))),Ule((new QL,e))};var Kme,Z_t,Yme,J_t;P(gH,"MrTreeMetaDataProvider",851),D(994,1,jh,QL),l.Qe=function(e){Ule(e)};var Xme,tCt,Qme,Zme,Jme,tye,eCt,eye,nCt,nye,_G,rCt,rye,iCt,iye;P(gH,"MrTreeOptions",994),D(995,1,{},YQ),l.$e=function(){var e;return e=new jWt,e},l._e=function(e){},P(gH,"MrTreeOptions/MrtreeFactory",995),D(480,22,{3:1,35:1,22:1,480:1},R2t);var Mht,sCt,aCt=Qr(gH,"OrderWeighting",480,ni,Vnn,cJe),sye;D(425,22,{3:1,35:1,22:1,425:1},j2t);var oCt,Dht,cCt=Qr(gH,"TreeifyingOrder",425,ni,Hnn,lJe),aye;D(1459,1,Qc,XL),l.Yf=function(e){return u(e,135),oye},l.pf=function(e,n){Bon(this,u(e,135),n)};var oye;P("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),D(1460,1,Qc,QJ),l.Yf=function(e){return u(e,135),cye},l.pf=function(e,n){xgn(this,u(e,135),n)};var cye;P("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),D(1461,1,Qc,XJ),l.Yf=function(e){return u(e,135),uye},l.pf=function(e,n){Rvn(this,u(e,135),n)},l.a=0;var uye;P("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),D(1462,1,Qc,FB),l.Yf=function(e){return u(e,135),lye},l.pf=function(e,n){l1n(u(e,135),n)};var lye;P("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var $S;D(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},$2t),l.Kf=function(){return Zre(this)},l.Xf=function(){return Zre(this)};var CG,T9,uCt=Qr(Nkt,"RadialLayoutPhases",495,ni,Gnn,uJe),hye;D(1131,209,_b,wHt),l.Ze=function(e,n){var r,s,o,h,d,w;if(r=eoe(this,e),Dr(n,"Radial layout",r.c.length),je(Be(He(e,(ay(),mCt))))||h$((s=new fr((Dm(),new Sm(e))),s)),w=Sdn(e),Do(e,(b_(),$S),w),!w)throw et(new Bn("The given graph is not a tree!"));for(o=Zt(ke(He(e,LG))),o==0&&(o=poe(e)),Do(e,LG,o),d=new S(eoe(this,e));d.a<d.c.c.length;)h=u(Q(d),51),h.pf(e,Kc(n,1));br(n)},P(Nkt,"RadialLayoutProvider",1131),D(549,1,Ui,_R),l.ue=function(e,n){return Jvn(this.a,this.b,u(e,33),u(n,33))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},l.a=0,l.b=0,P(Nkt,"RadialUtil/lambda$0$Type",549),D(1375,1,ys,QQ),l.pf=function(e,n){w3n(u(e,33),n)},P(S1e,"CalculateGraphSize",1375),D(442,22,{3:1,35:1,22:1,442:1,234:1},Fet),l.Kf=function(){switch(this.g){case 0:return new HF;case 1:return new XQ;case 2:return new QQ;default:throw et(new Bn(Bot+(this.f!=null?this.f:""+this.g)))}};var Iht,Oht,Pht,fye=Qr(S1e,gxt,442,ni,$rn,hJe),dye;D(645,1,{}),l.e=1,l.g=0,P(yct,"AbstractRadiusExtensionCompaction",645),D(1772,645,{},bWt),l.hg=function(e){var n,r,s,o,h,d,w,k,_;for(this.c=u(He(e,(b_(),$S)),33),ktt(this,this.c),this.d=ist(u(He(e,(ay(),$O)),293)),k=u(He(e,Fht),19),k&&gv(this,k.a),w=ke(He(e,(Ei(),Gb))),kT(this,(Pn(w),w)),_=gy(this.c),this.d&&this.d.lg(_),gwn(this,_),d=new Al(ct(ot(bs,1),A1e,33,0,[this.c])),r=0;r<2;r++)for(n=0;n<_.c.length;n++)o=new Al(ct(ot(bs,1),A1e,33,0,[(An(n,_.c.length),u(_.c[n],33))])),h=n<_.c.length-1?(An(n+1,_.c.length),u(_.c[n+1],33)):(An(0,_.c.length),u(_.c[0],33)),s=n==0?u(Fe(_,_.c.length-1),33):(An(n-1,_.c.length),u(_.c[n-1],33)),cae(this,(An(n,_.c.length),u(_.c[n],33),d),s,h,o)},P(yct,"AnnulusWedgeCompaction",1772),D(1374,1,ys,XQ),l.pf=function(e,n){D1n(u(e,33),n)},P(yct,"GeneralCompactor",1374),D(1771,645,{},ZQ),l.hg=function(e){var n,r,s,o;r=u(He(e,(b_(),$S)),33),this.f=r,this.b=ist(u(He(e,(ay(),$O)),293)),o=u(He(e,Fht),19),o&&gv(this,o.a),s=ke(He(e,(Ei(),Gb))),kT(this,(Pn(s),s)),n=gy(r),this.b&&this.b.lg(n),jae(this,n)},l.a=0,P(yct,"RadialCompaction",1771),D(1779,1,{},JQ),l.ig=function(e){var n,r,s,o,h,d;for(this.a=e,n=0,d=gy(e),s=0,h=new S(d);h.a<h.c.c.length;)for(o=u(Q(h),33),++s,r=s;r<d.c.length;r++)Amn(this,o,(An(r,d.c.length),u(d.c[r],33)))&&(n+=1);return n},P(Bkt,"CrossingMinimizationPosition",1779),D(1777,1,{},tZ),l.ig=function(e){var n,r,s,o,h,d,w,k,_,M,B,q,G;for(s=0,r=new pr(xr(U0(e).a.Kc(),new H));ti(r);)n=u(qr(r),79),w=Go(u(At((!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c),0),82)),_=w.i+w.g/2,M=w.j+w.f/2,o=e.i+e.g/2,h=e.j+e.f/2,B=new $a,B.a=_-o,B.b=M-h,d=new $e(B.a,B.b),f7(d,e.g,e.f),B.a-=d.a,B.b-=d.b,o=_-B.a,h=M-B.b,k=new $e(B.a,B.b),f7(k,w.g,w.f),B.a-=k.a,B.b-=k.b,_=o+B.a,M=h+B.b,q=_-o,G=M-h,s+=b.Math.sqrt(q*q+G*G);return s},P(Bkt,"EdgeLengthOptimization",1777),D(1778,1,{},eZ),l.ig=function(e){var n,r,s,o,h,d,w,k,_,M,B;for(s=0,r=new pr(xr(U0(e).a.Kc(),new H));ti(r);)n=u(qr(r),79),w=Go(u(At((!n.c&&(n.c=new Tn(Lr,n,5,8)),n.c),0),82)),k=w.i+w.g/2,_=w.j+w.f/2,o=u(He(w,(Ei(),qx)),8),h=e.i+o.a+e.g/2,d=e.j+o.b+e.f,M=k-h,B=_-d,s+=b.Math.sqrt(M*M+B*B);return s},P(Bkt,"EdgeLengthPositionOptimization",1778),D(1373,645,ys,HF),l.pf=function(e,n){N2n(this,u(e,33),n)},P("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),D(426,22,{3:1,35:1,22:1,426:1},z2t);var lCt,Nht,hCt=Qr(VC,"AnnulusWedgeCriteria",426,ni,Unn,fJe),gye;D(380,22,{3:1,35:1,22:1,380:1},Bet);var SG,fCt,dCt,gCt=Qr(VC,X6t,380,ni,zrn,dJe),pye;D(852,1,jh,ZJ),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Rkt),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),ve(0)),(Hg(),Lc)),eo),cn((e1(),fa))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,jkt),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,kct),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),pCt),ks),gCt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ect),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),ve(1)),Lc),eo),cn(Un)))),xa(e,Ect,kct,null),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,$kt),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),vCt),ks),ACt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,zkt),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),wCt),ks),hCt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,qkt),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),bCt),ks),_Ct),cn(Un)))),ohe((new BB,e))};var bye,vye,pCt,wye,bCt,mye,yye,xye,vCt,kye,wCt;P(VC,"RadialMetaDataProvider",852),D(996,1,jh,BB),l.Qe=function(e){ohe(e)};var Fht,Bht,Eye,Tye,_ye,Cye,mCt,yCt,AG,Sye,Aye,LG,$O,Lye,xCt;P(VC,"RadialOptions",996),D(997,1,{},nZ),l.$e=function(){var e;return e=new wHt,e},l._e=function(e){},P(VC,"RadialOptions/RadialFactory",997),D(340,22,{3:1,35:1,22:1,340:1},YR);var kCt,ECt,TCt,Rht,_Ct=Qr(VC,"RadialTranslationStrategy",340,ni,Nin,gJe),Mye;D(293,22,{3:1,35:1,22:1,293:1},Ret);var CCt,jht,SCt,ACt=Qr(VC,"SortingStrategy",293,ni,Hrn,pJe),Dye;D(1449,1,Qc,VF),l.Yf=function(e){return u(e,33),null},l.pf=function(e,n){V2n(this,u(e,33),n)},l.c=0,P("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),D(1775,1,{},rZ),l.jg=function(e){return Wie(e)},P(L1e,"AnnulusWedgeByLeafs",1775),D(1776,1,{},GF),l.jg=function(e){return tae(this,e)},P(L1e,"AnnulusWedgeByNodeSpace",1776),D(1450,1,Qc,UF),l.Yf=function(e){return u(e,33),null},l.pf=function(e,n){ndn(this,u(e,33),n)},P("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),D(811,1,{},qpt),l.kg=function(e){},l.lg=function(e){Pzt(this,e)},P(Hkt,"IDSorter",811),D(1774,1,Ui,WF),l.ue=function(e,n){return Con(u(e,33),u(n,33))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Hkt,"IDSorter/lambda$0$Type",1774),D(1773,1,{},Qee),l.kg=function(e){iZt(this,e)},l.lg=function(e){var n;e.dc()||(this.e||(n=tYt(u(e.Xb(0),33)),iZt(this,n)),Pzt(this.e,e))},P(Hkt,"PolarCoordinateSorter",1773),D(1136,209,_b,iZ),l.Ze=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze,$n,Vn,kr;if(Dr(n,"Rectangle Packing",1),n.n&&n.n&&e&&wf(n,mf(e),(Nl(),rh)),r=Zt(ke(He(e,(Kst(),zye)))),Z=u(He(e,zCt),381),St=je(Be(He(e,RCt))),Ae=je(Be(He(e,$Ct))),B=je(Be(He(e,NCt))),Ke=u(He(e,Kye),116),fe=Zt(ke(He(e,Xye))),o=je(Be(He(e,HCt))),q=je(Be(He(e,FCt))),Mt=je(Be(He(e,BCt))),kr=Zt(ke(He(e,VCt))),$n=(!e.a&&(e.a=new pe(bs,e,10,11)),e.a),Xee($n),Mt){for(W=new ge,k=new hr($n);k.e!=k.i.gc();)d=u(Tr(k),33),sb(d,zO)&&(W.c[W.c.length]=d);for(_=new S(W);_.a<_.c.c.length;)d=u(Q(_),33),z$($n,d);for(pn(),ua(W,new sZ),M=new S(W);M.a<M.c.c.length;)d=u(Q(M),33),Ze=u(He(d,zO),19).a,Ze=b.Math.min(Ze,$n.i),J_($n,Ze,d);for(bt=0,w=new hr($n);w.e!=w.i.gc();)d=u(Tr(w),33),Do(d,PCt,ve(bt)),++bt}Xt=z4t(e),Xt.a-=Ke.b+Ke.c,Xt.b-=Ke.d+Ke.a,jt=Xt.a,kr<0||kr<Xt.a?(G=new dKt(r,Z,St),h=xwn(G,$n,fe,Ke),n.n&&n.n&&e&&wf(n,mf(e),(Nl(),rh))):h=new Tnt(r,kr,0,(x7(),HS)),Xt.a+=Ke.b+Ke.c,Xt.b+=Ke.d+Ke.a,Ae||(Xee($n),Vn=new TZt(r,B,q,o,fe),jt=b.Math.max(Xt.a,h.c),h=J3n(Vn,$n,jt,Xt,n,e,Ke)),Zon($n,Ke),dw(e,h.c+(Ke.b+Ke.c),h.b+(Ke.d+Ke.a),!1,!0),je(Be(He(e,jCt)))||h$((s=new fr((Dm(),new Sm(e))),s)),n.n&&n.n&&e&&wf(n,mf(e),(Nl(),rh)),br(n)},P(O1e,"RectPackingLayoutProvider",1136),D(1137,1,Ui,sZ),l.ue=function(e,n){return Hcn(u(e,33),u(n,33))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(O1e,"RectPackingLayoutProvider/lambda$0$Type",1137),D(1256,1,{},dKt),l.a=0,l.c=!1,P(pH,"AreaApproximation",1256);var LCt=ls(pH,"BestCandidateFilter");D(638,1,{526:1},UE),l.mg=function(e,n,r){var s,o,h,d,w,k;for(k=new ge,h=ms,w=new S(e);w.a<w.c.c.length;)d=u(Q(w),220),h=b.Math.min(h,(d.c+(r.b+r.c))*(d.b+(r.d+r.a)));for(o=new S(e);o.a<o.c.c.length;)s=u(Q(o),220),(s.c+(r.b+r.c))*(s.b+(r.d+r.a))==h&&(k.c[k.c.length]=s);return k},P(pH,"AreaFilter",638),D(639,1,{526:1},BL),l.mg=function(e,n,r){var s,o,h,d,w,k;for(w=new ge,k=ms,d=new S(e);d.a<d.c.c.length;)h=u(Q(d),220),k=b.Math.min(k,b.Math.abs((h.c+(r.b+r.c))/(h.b+(r.d+r.a))-n));for(o=new S(e);o.a<o.c.c.length;)s=u(Q(o),220),b.Math.abs((s.c+(r.b+r.c))/(s.b+(r.d+r.a))-n)==k&&(w.c[w.c.length]=s);return w},P(pH,"AspectRatioFilter",639),D(637,1,{526:1},WE),l.mg=function(e,n,r){var s,o,h,d,w,k;for(k=new ge,h=Rs,w=new S(e);w.a<w.c.c.length;)d=u(Q(w),220),h=b.Math.max(h,jvt(d.c+(r.b+r.c),d.b+(r.d+r.a),d.a));for(o=new S(e);o.a<o.c.c.length;)s=u(Q(o),220),jvt(s.c+(r.b+r.c),s.b+(r.d+r.a),s.a)==h&&(k.c[k.c.length]=s);return k},P(pH,"ScaleMeasureFilter",637),D(381,22,{3:1,35:1,22:1,381:1},jet);var MCt,DCt,$ht,ICt=Qr(Tct,"OptimizationGoal",381,ni,qrn,bJe),Iye;D(856,1,jh,zB),l.Qe=function(e){on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Vkt),""),"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."),OCt),(Hg(),ks)),ICt),cn((e1(),fa))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Gkt),""),"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."),(Rn(),!0)),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ukt),""),"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."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Wkt),""),"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."),ve(-1)),Lc),eo),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Kkt),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ykt),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,_ct),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),Va),Zs),cn(fa)))),xa(e,_ct,bH,null),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Xkt),""),"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),Wo),Ea),cn(fa)))),Lhe((new Rk,e))};var Oye,Pye,Nye,Fye,Bye,Rye,OCt,jye,$ye;P(Tct,"RectPackingMetaDataProvider",856),D(1004,1,jh,Rk),l.Qe=function(e){Lhe(e)};var zye,qye,PCt,zO,NCt,FCt,BCt,Hye,RCt,Vye,Gye,Uye,Wye,jCt,$Ct,zCt,Kye,qCt,Yye,HCt,Xye,VCt;P(Tct,"RectPackingOptions",1004),D(1005,1,{},aZ),l.$e=function(){var e;return e=new iZ,e},l._e=function(e){},P(Tct,"RectPackingOptions/RectpackingFactory",1005),D(1257,1,{},TZt),l.a=0,l.b=!1,l.c=0,l.d=0,l.e=!1,l.f=!1,l.g=0,P("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),D(187,1,{187:1},xit),l.a=0,l.c=!1,l.d=0,l.e=0,l.f=0,l.g=0,l.i=0,l.k=!1,l.o=ms,l.p=ms,l.r=0,l.s=0,l.t=0,P(ZI,"Block",187),D(211,1,{211:1},g$),l.a=0,l.b=0,l.d=0,l.e=0,l.f=0,P(ZI,"BlockRow",211),D(443,1,{443:1},Iwt),l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,P(ZI,"BlockStack",443),D(220,1,{220:1},Tnt,a3t),l.a=0,l.b=0,l.c=0,l.d=0,l.e=0;var f6n=P(ZI,"DrawingData",220);D(355,22,{3:1,35:1,22:1,355:1},LM);var jx,r5,zS,qS,HS,Qye=Qr(ZI,"DrawingDataDescriptor",355,ni,wsn,vJe),Zye;D(200,1,{200:1},qwt),l.b=0,l.c=0,l.e=0,l.f=0,P(ZI,"RectRow",200),D(756,1,{},Byt),l.j=0,P(_y,Kfe,756),D(1245,1,{},oZ),l.Je=function(e){return Wp(e.a,e.b)},P(_y,Yfe,1245),D(1246,1,{},S$t),l.Je=function(e){return _sn(this.a,e)},P(_y,Xfe,1246),D(1247,1,{},A$t),l.Je=function(e){return Ihn(this.a,e)},P(_y,Qfe,1247),D(1248,1,{},L$t),l.Je=function(e){return Acn(this.a,e)},P(_y,"ElkGraphImporter/lambda$3$Type",1248),D(1249,1,{},M$t),l.Je=function(e){return fpn(this.a,e)},P(_y,Zfe,1249),D(1133,209,_b,yHt),l.Ze=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G;for(sb(e,(aI(),PG))&&(G=Yr(He(e,(ust(),hSt))),h=sat(q8(),G),h&&(d=u(lrt(h.f),209),d.Ze(e,Kc(n,1)))),Do(e,Wht,(gD(),OG)),Do(e,Kht,(oI(),Uht)),Do(e,Yht,(BD(),NG)),w=u(He(e,(ust(),cSt)),19).a,Dr(n,"Overlap removal",1),je(Be(He(e,w3e))),k=new na,_=new D$t(k),s=new Byt,r=Mhe(s,e),M=!0,o=0;o<w&&M;){if(je(Be(He(e,uSt)))){if(k.a.$b(),ugn(new wUt(_),r.i),k.a.gc()==0)break;r.e=k}for(y$(this.b),Xd(this.b,(WD(),MG),(HT(),qO)),Xd(this.b,DG,r.g),Xd(this.b,IG,(OR(),Hht)),this.a=Cq(this.b,r),q=new S(this.a);q.a<q.c.c.length;)B=u(Q(q),51),B.pf(r,Kc(n,1));C1n(s,r),M=je(Be(K(r,(G8(),J7t)))),++o}Gle(s,r),br(n)},P(_y,"OverlapRemovalLayoutProvider",1133),D(1134,1,{},D$t),P(_y,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),D(437,22,{3:1,35:1,22:1,437:1},$et);var MG,DG,IG,zht=Qr(_y,"SPOrEPhases",437,ni,Vrn,wJe),Jye;D(1255,1,{},xHt),P(_y,"ShrinkTree",1255),D(1135,209,_b,Cqt),l.Ze=function(e,n){var r,s,o,h,d;sb(e,(aI(),PG))&&(d=Yr(He(e,PG)),o=sat(q8(),d),o&&(h=u(lrt(o.f),209),h.Ze(e,Kc(n,1)))),s=new Byt,r=Mhe(s,e),Y2n(this.a,r,Kc(n,1)),Gle(s,r)},P(_y,"ShrinkTreeLayoutProvider",1135),D(300,134,{3:1,300:1,94:1,134:1},tQt),l.c=!1,P("org.eclipse.elk.alg.spore.graph","Graph",300),D(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},vVt),l.Kf=function(){return rre(this)},l.Xf=function(){return rre(this)};var qht,GCt=Qr(Cy,X6t,482,ni,enn,mJe),t3e;D(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},vWt),l.Kf=function(){return new KF},l.Xf=function(){return new KF};var Hht,e3e=Qr(Cy,"OverlapRemovalStrategy",551,ni,nnn,yJe),n3e;D(430,22,{3:1,35:1,22:1,430:1},q2t);var OG,Vht,UCt=Qr(Cy,"RootSelection",430,ni,Knn,xJe),r3e;D(316,22,{3:1,35:1,22:1,316:1},MM);var WCt,Ght,Uht,KCt,YCt,XCt=Qr(Cy,"SpanningTreeCostFunction",316,ni,psn,kJe),i3e;D(1002,1,jh,RB),l.Qe=function(e){xle(e)};var QCt,ZCt,s3e,a3e,JCt,tSt,Wht,Kht,Yht,o3e,c3e,PG;P(Cy,"SporeCompactionOptions",1002),D(1003,1,{},RL),l.$e=function(){var e;return e=new Cqt,e},l._e=function(e){},P(Cy,"SporeCompactionOptions/SporeCompactionFactory",1003),D(855,1,jh,jB),l.Qe=function(e){on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Cct),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(Hg(),_9)),Le),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Lct),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),aSt),ks),fSt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Qkt),Mct),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),iSt),ks),gSt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Zkt),Mct),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),rSt),ks),XCt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Sct),Mct),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),_9),Le),cn(Un)))),xa(e,Sct,Act,g3e),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Act),Mct),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),nSt),ks),UCt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Jkt),Wxt),"Compaction Strategy"),"This option defines how the compaction is applied."),eSt),ks),GCt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,t8t),Wxt),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(Rn(),!1)),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,e8t),P1e),"Upper limit for iterations of overlap removal"),null),ve(64)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,n8t),P1e),"Whether to run a supplementary scanline overlap check."),null),!0),Va),Zs),cn(Un)))),Sue((new $B,e)),xle((new RB,e))};var u3e,eSt,l3e,h3e,f3e,d3e,g3e,p3e,nSt,b3e,rSt,v3e,iSt,sSt,aSt,oSt;P(Cy,"SporeMetaDataProvider",855),D(Vg,1,jh,$B),l.Qe=function(e){Sue(e)};var w3e,cSt,uSt,lSt,m3e,hSt;P(Cy,"SporeOverlapRemovalOptions",Vg),D(1001,1,{},cZ),l.$e=function(){var e;return e=new yHt,e},l._e=function(e){},P(Cy,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),D(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},oXt),l.Kf=function(){return ire(this)},l.Xf=function(){return ire(this)};var qO,fSt=Qr(Cy,"StructureExtractionStrategy",530,ni,rnn,EJe),y3e;D(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},H2t),l.Kf=function(){return Jre(this)},l.Xf=function(){return Jre(this)};var dSt,NG,gSt=Qr(Cy,"TreeConstructionStrategy",429,ni,Wnn,TJe),x3e;D(1443,1,Qc,uZ),l.Yf=function(e){return u(e,300),new ra},l.pf=function(e,n){F1n(u(e,300),n)},P(N1e,"DelaunayTriangulationPhase",1443),D(1444,1,tr,I$t),l.td=function(e){de(this.a,u(e,65).a)},P(N1e,"DelaunayTriangulationPhase/lambda$0$Type",1444),D(783,1,Qc,zpt),l.Yf=function(e){return u(e,300),new ra},l.pf=function(e,n){this.ng(u(e,300),n)},l.ng=function(e,n){var r,s,o;Dr(n,"Minimum spanning tree construction",1),e.d?s=e.d.a:s=u(Fe(e.i,0),65).a,je(Be(K(e,(G8(),uS))))?o=_at(e.e,s,(r=e.b,r)):o=_at(e.e,s,e.b),jne(this,o,e),br(n)},P(Dct,"MinSTPhase",783),D(1446,783,Qc,lqt),l.ng=function(e,n){var r,s,o,h;Dr(n,"Maximum spanning tree construction",1),r=new O$t(e),e.d?o=e.d.c:o=u(Fe(e.i,0),65).c,je(Be(K(e,(G8(),uS))))?h=_at(e.e,o,(s=r,s)):h=_at(e.e,o,r),jne(this,h,e),br(n)},P(Dct,"MaxSTPhase",1446),D(1447,1,{},O$t),l.Je=function(e){return CYe(this.a,e)},P(Dct,"MaxSTPhase/lambda$0$Type",1447),D(1445,1,tr,P$t),l.td=function(e){vXe(this.a,u(e,65))},P(Dct,"MinSTPhase/lambda$0$Type",1445),D(785,1,Qc,KF),l.Yf=function(e){return u(e,300),new ra},l.pf=function(e,n){Ydn(this,u(e,300),n)},l.a=!1,P(Ict,"GrowTreePhase",785),D(786,1,tr,vvt),l.td=function(e){fcn(this.a,this.b,this.c,u(e,221))},P(Ict,"GrowTreePhase/lambda$0$Type",786),D(1448,1,Qc,lZ),l.Yf=function(e){return u(e,300),new ra},l.pf=function(e,n){ifn(this,u(e,300),n)},P(Ict,"ShrinkTreeCompactionPhase",1448),D(784,1,tr,wvt),l.td=function(e){Fpn(this.a,this.b,this.c,u(e,221))},P(Ict,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var pSt=ls(Fc,"IGraphElementVisitor");D(860,1,{527:1},YQt),l.og=function(e){var n;n=qvn(this,e),Vo(n,u(cr(this.b,e),94)),$2n(this,e,n)};var k3e,E3e;P(A4,"LayoutConfigurator",860);var d6n=ls(A4,"LayoutConfigurator/IPropertyHolderOptionFilter");D(932,1,{1933:1},hZ),l.pg=function(e,n){return Z6(),!e.Xe(n)},P(A4,"LayoutConfigurator/lambda$0$Type",932),D(933,1,{1933:1},fZ),l.pg=function(e,n){return bHt(e,n)},P(A4,"LayoutConfigurator/lambda$1$Type",933),D(931,1,{831:1},dZ),l.qg=function(e,n){return Z6(),!e.Xe(n)},P(A4,"LayoutConfigurator/lambda$2$Type",931),D(934,1,Ti,tGt),l.Mb=function(e){return qen(this.a,this.b,u(e,1933))},P(A4,"LayoutConfigurator/lambda$3$Type",934),D(858,1,{},gZ),P(A4,"RecursiveGraphLayoutEngine",858),D(296,60,K0,$zt,B3),P(A4,"UnsupportedConfigurationException",296),D(453,60,K0,FT),P(A4,"UnsupportedGraphException",453),D(754,1,{}),P(Fc,"AbstractRandomListAccessor",754),D(500,754,{},bI),l.rg=function(){return null},l.d=!0,l.e=!0,l.f=0,P(q7,"AlgorithmAssembler",500),D(1236,1,Ti,pZ),l.Mb=function(e){return!!u(e,123)},P(q7,"AlgorithmAssembler/lambda$0$Type",1236),D(1237,1,{},N$t),l.Kb=function(e){return GKe(this.a,u(e,123))},P(q7,"AlgorithmAssembler/lambda$1$Type",1237),D(1238,1,Ti,bZ),l.Mb=function(e){return!!u(e,80)},P(q7,"AlgorithmAssembler/lambda$2$Type",1238),D(1239,1,tr,F$t),l.td=function(e){Ul(this.a,u(e,80))},P(q7,"AlgorithmAssembler/lambda$3$Type",1239),D(1240,1,tr,eGt),l.td=function(e){iQe(this.a,this.b,u(e,234))},P(q7,"AlgorithmAssembler/lambda$4$Type",1240),D(1355,1,Ui,vZ),l.ue=function(e,n){return wnn(u(e,234),u(n,234))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(q7,"EnumBasedFactoryComparator",1355),D(80,754,{80:1},ra),l.rg=function(){return new na},l.a=0,P(q7,"LayoutProcessorConfiguration",80),D(1013,1,{527:1},ZL),l.og=function(e){U_(_3e,new B$t(e))};var T3e,_3e,C3e;P(hc,"DeprecatedLayoutOptionReplacer",1013),D(1014,1,tr,wZ),l.td=function(e){oan(u(e,160))},P(hc,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),D(1015,1,tr,mZ),l.td=function(e){Mln(u(e,160))},P(hc,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),D(1016,1,{},B$t),l.Od=function(e,n){sQe(this.a,u(e,146),u(n,38))},P(hc,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),D(149,1,{686:1,149:1},yb),l.Fb=function(e){return imt(this,e)},l.sg=function(){return this.b},l.tg=function(){return this.c},l.ne=function(){return this.e},l.Hb=function(){return zg(this.c)},l.Ib=function(){return"Layout Algorithm: "+this.c};var g6n=P(hc,"LayoutAlgorithmData",149);D(263,1,{},mg),P(hc,"LayoutAlgorithmData/Builder",263),D(1017,1,{527:1},yZ),l.og=function(e){_t(e,239)&&!je(Be(e.We((Ei(),qG))))&&_mn(u(e,33))},P(hc,"LayoutAlgorithmResolver",1017),D(229,1,{686:1,229:1},q6),l.Fb=function(e){return _t(e,229)?ln(this.b,u(e,229).b):!1},l.sg=function(){return this.a},l.tg=function(){return this.b},l.ne=function(){return this.d},l.Hb=function(){return zg(this.b)},l.Ib=function(){return"Layout Type: "+this.b},P(hc,"LayoutCategoryData",229),D(344,1,{},wm),P(hc,"LayoutCategoryData/Builder",344),D(867,1,{},bue);var Xht;P(hc,"LayoutMetaDataService",867),D(868,1,{},WYt),P(hc,"LayoutMetaDataService/Registry",868),D(478,1,{478:1},YF),P(hc,"LayoutMetaDataService/Registry/Triple",478),D(869,1,O4,xZ),l.ug=function(){return new $a},P(hc,"LayoutMetaDataService/lambda$0$Type",869),D(870,1,Sy,kZ),l.vg=function(e){return pc(u(e,8))},P(hc,"LayoutMetaDataService/lambda$1$Type",870),D(879,1,O4,EZ),l.ug=function(){return new ge},P(hc,"LayoutMetaDataService/lambda$10$Type",879),D(880,1,Sy,TZ),l.vg=function(e){return new Uu(u(e,12))},P(hc,"LayoutMetaDataService/lambda$11$Type",880),D(881,1,O4,_Z),l.ug=function(){return new hs},P(hc,"LayoutMetaDataService/lambda$12$Type",881),D(882,1,Sy,CZ),l.vg=function(e){return YM(u(e,68))},P(hc,"LayoutMetaDataService/lambda$13$Type",882),D(883,1,O4,SZ),l.ug=function(){return new na},P(hc,"LayoutMetaDataService/lambda$14$Type",883),D(884,1,Sy,AZ),l.vg=function(e){return o$(u(e,53))},P(hc,"LayoutMetaDataService/lambda$15$Type",884),D(885,1,O4,LZ),l.ug=function(){return new M0},P(hc,"LayoutMetaDataService/lambda$16$Type",885),D(886,1,Sy,jc),l.vg=function(e){return _$(u(e,53))},P(hc,"LayoutMetaDataService/lambda$17$Type",886),D(887,1,O4,MZ),l.ug=function(){return new Spt},P(hc,"LayoutMetaDataService/lambda$18$Type",887),D(888,1,Sy,KE),l.vg=function(e){return xKt(u(e,208))},P(hc,"LayoutMetaDataService/lambda$19$Type",888),D(871,1,O4,dc),l.ug=function(){return new Hu},P(hc,"LayoutMetaDataService/lambda$2$Type",871),D(872,1,Sy,ru),l.vg=function(e){return new kR(u(e,74))},P(hc,"LayoutMetaDataService/lambda$3$Type",872),D(873,1,O4,Ji),l.ug=function(){return new MT},P(hc,"LayoutMetaDataService/lambda$4$Type",873),D(874,1,Sy,jL),l.vg=function(e){return new wnt(u(e,142))},P(hc,"LayoutMetaDataService/lambda$5$Type",874),D(875,1,O4,IZ),l.ug=function(){return new m6},P(hc,"LayoutMetaDataService/lambda$6$Type",875),D(876,1,Sy,OZ),l.vg=function(e){return new fvt(u(e,116))},P(hc,"LayoutMetaDataService/lambda$7$Type",876),D(877,1,O4,J5),l.ug=function(){return new il},P(hc,"LayoutMetaDataService/lambda$8$Type",877),D(878,1,Sy,mm),l.vg=function(e){return new Pte(u(e,373))},P(hc,"LayoutMetaDataService/lambda$9$Type",878);var Qht=ls($I,"IProperty");D(23,1,{35:1,686:1,23:1,146:1},Qe),l.wd=function(e){return MXe(this,u(e,146))},l.Fb=function(e){return _t(e,23)?ln(this.f,u(e,23).f):_t(e,146)&&ln(this.f,u(e,146).tg())},l.wg=function(){var e;if(_t(this.b,4)){if(e=E3t(this.b),e==null)throw et(new Xo(R1e+this.f+"'. Make sure it's type is registered with the "+(D0(fP),fP.k)+r8t));return e}else return this.b},l.sg=function(){return this.d},l.tg=function(){return this.f},l.ne=function(){return this.i},l.Hb=function(){return zg(this.f)},l.Ib=function(){return"Layout Option: "+this.f},P(hc,"LayoutOptionData",23),D(24,1,{},We),P(hc,"LayoutOptionData/Builder",24),D(175,22,{3:1,35:1,22:1,175:1},DM);var Rd,tp,fa,Un,qb,ep=Qr(hc,"LayoutOptionData/Target",175,ni,gsn,_Je),S3e;D(277,22,{3:1,35:1,22:1,277:1},S6);var Va,Wo,ks,$x,Lc,X1,_9,bSt,A3e=Qr(hc,"LayoutOptionData/Type",277,ni,Gan,CJe),L3e,VS,vSt;D(110,1,{110:1},L6,fh,u$),l.Fb=function(e){var n;return e==null||!_t(e,110)?!1:(n=u(e,110),Gc(this.c,n.c)&&Gc(this.d,n.d)&&Gc(this.b,n.b)&&Gc(this.a,n.a))},l.Hb=function(){return mz(ct(ot(ir,1),De,1,5,[this.c,this.d,this.b,this.a]))},l.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},l.a=0,l.b=0,l.c=0,l.d=0,P(GI,"ElkRectangle",110),D(8,1,{3:1,4:1,8:1,414:1},$a,brt,$e,No),l.Fb=function(e){return Hee(this,e)},l.Hb=function(){return c8(this.a)+Dfn(c8(this.b))},l.Jf=function(e){var n,r,s,o;for(s=0;s<e.length&&Ere((Xr(s,e.length),e.charCodeAt(s)),Hfe);)++s;for(n=e.length;n>0&&Ere((Xr(n-1,e.length),e.charCodeAt(n-1)),Vfe);)--n;if(s>=n)throw et(new Bn("The given string does not contain any numbers."));if(o=py(e.substr(s,n-s),`,|;|\r|
+`),o.length!=2)throw et(new Bn("Exactly two numbers are expected, "+o.length+" were found."));try{this.a=ly(uy(o[0])),this.b=ly(uy(o[1]))}catch(h){throw h=as(h),_t(h,127)?(r=h,et(new Bn(Gfe+r))):et(h)}},l.Ib=function(){return"("+this.a+","+this.b+")"},l.a=0,l.b=0;var sa=P(GI,"KVector",8);D(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Hu,kR,oWt),l.Pc=function(){return Xcn(this)},l.Jf=function(e){var n,r,s,o,h,d;s=py(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
+`),Ph(this);try{for(r=0,h=0,o=0,d=0;r<s.length;)s[r]!=null&&uy(s[r]).length>0&&(h%2==0?o=ly(s[r]):d=ly(s[r]),h>0&&h%2!=0&&pi(this,new $e(o,d)),++h),++r}catch(w){throw w=as(w),_t(w,127)?(n=w,et(new Bn("The given string does not match the expected format for vectors."+n))):et(w)}},l.Ib=function(){var e,n,r;for(e=new jl("("),n=gi(this,0);n.b!=n.d.c;)r=u(di(n),8),ii(e,r.a+","+r.b),n.b!=n.d.c&&(e.a+="; ");return(e.a+=")",e).a};var wSt=P(GI,"KVectorChain",74);D(248,22,{3:1,35:1,22:1,248:1},e_);var Zht,FG,BG,HO,VO,RG,mSt=Qr(zh,"Alignment",248,ni,Vsn,SJe),M3e;D(979,1,jh,ttt),l.Qe=function(e){zue(e)};var ySt,Jht,D3e,xSt,kSt,I3e,ESt,O3e,P3e,TSt,_St,N3e;P(zh,"BoxLayouterOptions",979),D(980,1,{},DZ),l.$e=function(){var e;return e=new BZ,e},l._e=function(e){},P(zh,"BoxLayouterOptions/BoxFactory",980),D(291,22,{3:1,35:1,22:1,291:1},n_);var GO,tft,UO,WO,KO,eft,nft=Qr(zh,"ContentAlignment",291,ni,Hsn,AJe),F3e;D(684,1,jh,Tp),l.Qe=function(e){on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,$1e),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Hg(),_9)),Le),cn((e1(),Un))))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,z1e),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),X1),g6n),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,hkt),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),CSt),ks),mSt),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,vx),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,s8t),""),"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),wSt),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,lH),""),"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."),ASt),$x),nft),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,QI),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Rn(),!1)),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,gkt),""),K6t),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),LSt),ks),WS),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,YI),""),"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."),ISt),ks),pft),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,bH),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,uH),""),"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`."),FSt),ks),xAt),Qi(Un,ct(ot(ep,1),ue,175,0,[fa]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,vw),""),"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."),USt),X1),S9t),Qi(Un,ct(ot(ep,1),ue,175,0,[fa]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,HI),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,pct),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,FC),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Pot),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),QSt),ks),TAt),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,hH),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),X1),sa),Qi(fa,ct(ot(ep,1),ue,175,0,[qb,tp]))))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,qI),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Lc),eo),Qi(fa,ct(ot(ep,1),ue,175,0,[Rd]))))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Gq),""),"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)."),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,NC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ekt),""),"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."),RSt),X1),wSt),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Ckt),""),"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),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Skt),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,q5n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),X1),m6n),Qi(Un,ct(ot(ep,1),ue,175,0,[tp]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Lkt),""),"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."),jSt),X1),C9t),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,ukt),""),"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),Va),Zs),Qi(fa,ct(ot(ep,1),ue,175,0,[Rd,qb,tp]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,q1e),""),"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),Wo),Ea),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,H1e),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,V1e),""),"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'."),ve(100)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,G1e),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,U1e),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ve(4e3)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,W1e),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ve(400)),Lc),eo),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,K1e),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Y1e),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,X1e),""),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Q1e),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,i8t),"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."),SSt),ks),MAt),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Qxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Zxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Aot),V1),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Jxt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Oot),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,tkt),V1),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,ekt),V1),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,ikt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,nkt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,rkt),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),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,ky),V1),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,skt),V1),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Wo),Ea),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,akt),V1),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Wo),Ea),Qi(Un,ct(ot(ep,1),ue,175,0,[fa]))))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,okt),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),v4e),Qi(fa,ct(ot(ep,1),ue,175,0,[Rd,qb,tp]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Mkt),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."),oAt),X1),C9t),cn(Un)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,gct),tde),"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)."),Lc),eo),Qi(Un,ct(ot(ep,1),ue,175,0,[fa]))))),xa(e,gct,dct,V3e),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,dct),tde),"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."),WSt),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,pkt),ede),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),zSt),X1),S9t),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,j7),ede),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),qSt),$x),Co),Qi(fa,ct(ot(ep,1),ue,175,0,[tp]))))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,wkt),wH),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),YSt),ks),QS),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,mkt),wH),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ks),QS),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,ykt),wH),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ks),QS),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,xkt),wH),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ks),QS),cn(fa)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,kkt),wH),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ks),QS),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,M4),Pct),"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."),HSt),$x),tA),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,wx),Pct),"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."),GSt),$x),CAt),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,mx),Pct),"Node Size Minimum"),"The minimal size to which a node can be reduced."),VSt),X1),sa),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,fct),Pct),"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),Va),Zs),cn(Un)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Tkt),hct),"Edge Label Placement"),"Gives a hint on where to put edge labels."),MSt),ks),uAt),cn(tp)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Uq),hct),"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),Va),Zs),cn(tp)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,H5n),"font"),"Font Name"),"Font name used for a label."),_9),Le),cn(tp)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Z1e),"font"),"Font Size"),"Font size used for a label."),Lc),eo),cn(tp)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,Akt),Nct),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),X1),sa),cn(qb)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,_kt),Nct),"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."),Lc),eo),cn(qb)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,lkt),Nct),"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."),tAt),ks),uo),cn(qb)))),on(e,new Qe(sn(rn(an(Je(nn(tn(en(new We,ckt),Nct),"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."),Wo),Ea),cn(qb)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,$7),a8t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),ZSt),$x),UG),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,bkt),a8t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,vkt),a8t),"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),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,fkt),nde),"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),Va),Zs),cn(fa)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,dkt),nde),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Va),Zs),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,Lot),"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),Wo),Ea),cn(Rd)))),on(e,new Qe(sn(rn(an(yn(Je(nn(tn(en(new We,J1e),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),PSt),ks),pAt),cn(Rd)))),VT(e,new q6(RT(t8(Jk(new wm,Xn),"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.'))),VT(e,new q6(RT(t8(Jk(new wm,"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.`))),VT(e,new q6(RT(t8(Jk(new wm,Xl),"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."))),VT(e,new q6(RT(t8(Jk(new wm,"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."))),VT(e,new q6(RT(t8(Jk(new wm,C1e),"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."))),VT(e,new q6(RT(t8(Jk(new wm,"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."))),VT(e,new q6(RT(t8(Jk(new wm,Dd),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Cue((new qB,e)),zue((new ttt,e)),nue((new HB,e))};var GS,B3e,CSt,zx,R3e,j3e,SSt,$3e,jG,ASt,YO,Rw,LSt,rft,ift,MSt,DSt,ISt,OSt,PSt,NSt,i5,FSt,z3e,XO,sft,$G,BSt,s5,RSt,QO,jSt,$St,zSt,a5,qSt,Hb,HSt,zG,o5,VSt,x2,GSt,qG,ZO,Vb,USt,q3e,WSt,H3e,V3e,KSt,YSt,aft,oft,cft,uft,XSt,kl,US,QSt,lft,hft,Ky,ZSt,JSt,c5,tAt,qx,HG,fft,C9,G3e,dft,U3e,W3e,eAt,K3e,nAt,Y3e,Hx,rAt,VG,iAt,sAt,Gb,X3e,aAt,oAt,cAt;P(zh,"CoreOptions",684),D(103,22,{3:1,35:1,22:1,103:1},IM);var J0,Wh,Lf,f0,tg,WS=Qr(zh,K6t,103,ni,fsn,DJe),Q3e;D(272,22,{3:1,35:1,22:1,272:1},zet);var S9,Yy,A9,uAt=Qr(zh,"EdgeLabelPlacement",272,ni,Urn,IJe),Z3e;D(218,22,{3:1,35:1,22:1,218:1},XR);var L9,JO,Vx,gft,pft=Qr(zh,"EdgeRouting",218,ni,Rin,OJe),J3e;D(312,22,{3:1,35:1,22:1,312:1},r_);var lAt,hAt,fAt,dAt,bft,gAt,pAt=Qr(zh,"EdgeType",312,ni,Zsn,PJe),t4e;D(977,1,jh,qB),l.Qe=function(e){Cue(e)};var bAt,vAt,wAt,mAt,e4e,yAt,KS;P(zh,"FixedLayouterOptions",977),D(978,1,{},$L),l.$e=function(){var e;return e=new NZ,e},l._e=function(e){},P(zh,"FixedLayouterOptions/FixedFactory",978),D(334,22,{3:1,35:1,22:1,334:1},qet);var np,GG,YS,xAt=Qr(zh,"HierarchyHandling",334,ni,Grn,NJe),n4e;D(285,22,{3:1,35:1,22:1,285:1},QR);var d0,k2,tP,eP,r4e=Qr(zh,"LabelSide",285,ni,Bin,FJe),i4e;D(93,22,{3:1,35:1,22:1,93:1},z3);var eg,Mf,Kh,Df,th,If,Yh,g0,Of,Co=Qr(zh,"NodeLabelPlacement",93,ni,eon,BJe),s4e;D(249,22,{3:1,35:1,22:1,249:1},OM);var kAt,XS,E2,EAt,nP,QS=Qr(zh,"PortAlignment",249,ni,dsn,RJe),a4e;D(98,22,{3:1,35:1,22:1,98:1},i_);var Ub,eu,p0,M9,Q1,T2,TAt=Qr(zh,"PortConstraints",98,ni,Nsn,jJe),o4e;D(273,22,{3:1,35:1,22:1,273:1},s_);var ZS,JS,ng,rP,_2,Gx,UG=Qr(zh,"PortLabelPlacement",273,ni,Qsn,$Je),c4e;D(61,22,{3:1,35:1,22:1,61:1},PM);var Wn,Nn,_h,Ch,Fu,vu,Z1,Pf,hl,Ju,nu,fl,Bu,Ru,Nf,eh,nh,Xh,Ir,fc,jn,uo=Qr(zh,"PortSide",61,ni,usn,HJe),u4e;D(981,1,jh,HB),l.Qe=function(e){nue(e)};var l4e,h4e,_At,f4e,d4e;P(zh,"RandomLayouterOptions",981),D(982,1,{},zZ),l.$e=function(){var e;return e=new HZ,e},l._e=function(e){},P(zh,"RandomLayouterOptions/RandomFactory",982),D(374,22,{3:1,35:1,22:1,374:1},ZR);var Xy,iP,sP,Wb,tA=Qr(zh,"SizeConstraint",374,ni,Fin,zJe),g4e;D(259,22,{3:1,35:1,22:1,259:1},q3);var aP,WG,D9,vft,oP,eA,KG,YG,XG,CAt=Qr(zh,"SizeOptions",259,ni,con,qJe),p4e;D(370,1,{1949:1},Xk),l.b=!1,l.c=0,l.d=-1,l.e=null,l.f=null,l.g=-1,l.j=!1,l.k=!1,l.n=!1,l.o=0,l.q=0,l.r=0,P(Fc,"BasicProgressMonitor",370),D(972,209,_b,BZ),l.Ze=function(e,n){var r,s,o,h,d,w,k,_,M;switch(Dr(n,"Box layout",2),o=dM(ke(He(e,(rq(),N3e)))),h=u(He(e,P3e),116),r=je(Be(He(e,xSt))),s=je(Be(He(e,kSt))),u(He(e,Jht),311).g){case 0:d=(w=new Uu((!e.a&&(e.a=new pe(bs,e,10,11)),e.a)),pn(),ua(w,new R$t(s)),w),k=z4t(e),_=ke(He(e,ySt)),(_==null||(Pn(_),_<=0))&&(_=1.3),M=W4n(d,o,h,k.a,k.b,r,(Pn(_),_)),dw(e,M.a,M.b,!1,!0);break;default:Hyn(e,o,h,r)}br(n)},P(Fc,"BoxLayoutProvider",972),D(973,1,Ui,R$t),l.ue=function(e,n){return hbn(this,u(e,33),u(n,33))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},l.a=!1,P(Fc,"BoxLayoutProvider/1",973),D(157,1,{157:1},K$,aWt),l.Ib=function(){return this.c?$5t(this.c):e2(this.b)},P(Fc,"BoxLayoutProvider/Group",157),D(311,22,{3:1,35:1,22:1,311:1},JR);var SAt,AAt,LAt,wft,MAt=Qr(Fc,"BoxLayoutProvider/PackingMode",311,ni,jin,VJe),b4e;D(974,1,Ui,RZ),l.ue=function(e,n){return gnn(u(e,157),u(n,157))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Fc,"BoxLayoutProvider/lambda$0$Type",974),D(975,1,Ui,XF),l.ue=function(e,n){return onn(u(e,157),u(n,157))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Fc,"BoxLayoutProvider/lambda$1$Type",975),D(976,1,Ui,jZ),l.ue=function(e,n){return cnn(u(e,157),u(n,157))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(Fc,"BoxLayoutProvider/lambda$2$Type",976),D(1365,1,{831:1},$Z),l.qg=function(e,n){return PR(),!_t(n,160)||bHt((Z6(),u(e,160)),n)},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),D(1366,1,tr,j$t),l.td=function(e){Zcn(this.a,u(e,146))},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),D(1367,1,tr,FZ),l.td=function(e){u(e,94),PR()},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),D(1371,1,tr,$$t),l.td=function(e){Eon(this.a,u(e,94))},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),D(1369,1,Ti,nGt),l.Mb=function(e){return Rcn(this.a,this.b,u(e,146))},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),D(1368,1,Ti,rGt),l.Mb=function(e){return eQe(this.a,this.b,u(e,831))},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),D(1370,1,tr,iGt),l.td=function(e){een(this.a,this.b,u(e,146))},P(Fc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),D(935,1,{},PZ),l.Kb=function(e){return iUt(e)},l.Fb=function(e){return this===e},P(Fc,"ElkUtil/lambda$0$Type",935),D(936,1,tr,sGt),l.td=function(e){dpn(this.a,this.b,u(e,79))},l.a=0,l.b=0,P(Fc,"ElkUtil/lambda$1$Type",936),D(937,1,tr,aGt),l.td=function(e){dKe(this.a,this.b,u(e,202))},l.a=0,l.b=0,P(Fc,"ElkUtil/lambda$2$Type",937),D(938,1,tr,oGt),l.td=function(e){iXe(this.a,this.b,u(e,137))},l.a=0,l.b=0,P(Fc,"ElkUtil/lambda$3$Type",938),D(939,1,tr,z$t),l.td=function(e){vtn(this.a,u(e,469))},P(Fc,"ElkUtil/lambda$4$Type",939),D(342,1,{35:1,342:1},HWe),l.wd=function(e){return IXe(this,u(e,236))},l.Fb=function(e){var n;return _t(e,342)?(n=u(e,342),this.a==n.a):!1},l.Hb=function(){return Ds(this.a)},l.Ib=function(){return this.a+" (exclusive)"},l.a=0,P(Fc,"ExclusiveBounds/ExclusiveLowerBound",342),D(1138,209,_b,NZ),l.Ze=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt,St,jt,Xt,fe,Ae,Ke,Ze;for(Dr(n,"Fixed Layout",1),h=u(He(e,(Ei(),DSt)),218),B=0,q=0,St=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));St.e!=St.i.gc();){for(bt=u(Tr(St),33),Ze=u(He(bt,(wz(),KS)),8),Ze&&(S1(bt,Ze.a,Ze.b),u(He(bt,vAt),174).Hc((Fl(),Xy))&&(G=u(He(bt,mAt),8),G.a>0&&G.b>0&&dw(bt,G.a,G.b,!0,!0))),B=b.Math.max(B,bt.i+bt.g),q=b.Math.max(q,bt.j+bt.f),_=new hr((!bt.n&&(bt.n=new pe(nc,bt,1,7)),bt.n));_.e!=_.i.gc();)w=u(Tr(_),137),Ze=u(He(w,KS),8),Ze&&S1(w,Ze.a,Ze.b),B=b.Math.max(B,bt.i+w.i+w.g),q=b.Math.max(q,bt.j+w.j+w.f);for(fe=new hr((!bt.c&&(bt.c=new pe(El,bt,9,9)),bt.c));fe.e!=fe.i.gc();)for(Xt=u(Tr(fe),118),Ze=u(He(Xt,KS),8),Ze&&S1(Xt,Ze.a,Ze.b),Ae=bt.i+Xt.i,Ke=bt.j+Xt.j,B=b.Math.max(B,Ae+Xt.g),q=b.Math.max(q,Ke+Xt.f),k=new hr((!Xt.n&&(Xt.n=new pe(nc,Xt,1,7)),Xt.n));k.e!=k.i.gc();)w=u(Tr(k),137),Ze=u(He(w,KS),8),Ze&&S1(w,Ze.a,Ze.b),B=b.Math.max(B,Ae+w.i+w.g),q=b.Math.max(q,Ke+w.j+w.f);for(o=new pr(xr(U0(bt).a.Kc(),new H));ti(o);)r=u(qr(o),79),M=vhe(r),B=b.Math.max(B,M.a),q=b.Math.max(q,M.b);for(s=new pr(xr(pI(bt).a.Kc(),new H));ti(s);)r=u(qr(s),79),gs(n0(r))!=e&&(M=vhe(r),B=b.Math.max(B,M.a),q=b.Math.max(q,M.b))}if(h==(V0(),L9))for(Mt=new hr((!e.a&&(e.a=new pe(bs,e,10,11)),e.a));Mt.e!=Mt.i.gc();)for(bt=u(Tr(Mt),33),s=new pr(xr(U0(bt).a.Kc(),new H));ti(s);)r=u(qr(s),79),d=lmn(r),d.b==0?Do(r,s5,null):Do(r,s5,d);je(Be(He(e,(wz(),wAt))))||(jt=u(He(e,e4e),116),Z=B+jt.b+jt.c,W=q+jt.d+jt.a,dw(e,Z,W,!0,!0)),br(n)},P(Fc,"FixedLayoutProvider",1138),D(373,134,{3:1,414:1,373:1,94:1,134:1},il,Pte),l.Jf=function(e){var n,r,s,o,h,d,w,k,_;if(e)try{for(k=py(e,";,;"),h=k,d=0,w=h.length;d<w;++d){if(o=h[d],r=py(o,"\\:"),s=d6t(q8(),r[0]),!s)throw et(new Bn("Invalid option id: "+r[0]));if(_=h6t(s,r[1]),_==null)throw et(new Bn("Invalid option value: "+r[1]));_==null?(!this.q&&(this.q=new Br),W6(this.q,s)):(!this.q&&(this.q=new Br),Ni(this.q,s,_))}}catch(M){throw M=as(M),_t(M,102)?(n=M,et(new fre(n))):et(M)}},l.Ib=function(){var e;return e=Yr(Hl(Cu((this.q?this.q:(pn(),pn(),l0)).vc().Oc(),new zu),Ym(new EKt,new ur,new se,new Pe,ct(ot(xl,1),ue,132,0,[])))),e};var v4e=P(Fc,"IndividualSpacings",373);D(971,1,{},zu),l.Kb=function(e){return pnn(u(e,42))},P(Fc,"IndividualSpacings/lambda$0$Type",971),D(709,1,{},eYt),l.c=0,P(Fc,"InstancePool",709),D(1275,1,{},qZ),P(Fc,"LoggedGraph",1275),D(396,22,{3:1,35:1,22:1,396:1},tj);var DAt,rh,IAt,OAt,w4e=Qr(Fc,"LoggedGraph/Type",396,ni,$in,GJe),m4e;D(46,1,{20:1,46:1},Ca),l.Jc=function(e){Pa(this,e)},l.Fb=function(e){var n,r,s;return _t(e,46)?(r=u(e,46),n=this.a==null?r.a==null:Pi(this.a,r.a),s=this.b==null?r.b==null:Pi(this.b,r.b),n&&s):!1},l.Hb=function(){var e,n,r,s,o,h;return r=this.a==null?0:es(this.a),e=r&Ps,n=r&-65536,h=this.b==null?0:es(this.b),s=h&Ps,o=h&-65536,e^o>>16&Ps|n^s<<16},l.Kc=function(){return new q$t(this)},l.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)+")"},P(Fc,"Pair",46),D(983,1,va,q$t),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},l.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 et(new _c)},l.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),et(new qu)},l.b=!1,l.c=!1,P(Fc,"Pair/1",983),D(448,1,{448:1},wXt),l.Fb=function(e){return Gc(this.a,u(e,448).a)&&Gc(this.c,u(e,448).c)&&Gc(this.d,u(e,448).d)&&Gc(this.b,u(e,448).b)},l.Hb=function(){return mz(ct(ot(ir,1),De,1,5,[this.a,this.c,this.d,this.b]))},l.Ib=function(){return"("+this.a+oo+this.c+oo+this.d+oo+this.b+")"},P(Fc,"Quadruple",448),D(1126,209,_b,HZ),l.Ze=function(e,n){var r,s,o,h,d;if(Dr(n,"Random Layout",1),(!e.a&&(e.a=new pe(bs,e,10,11)),e.a).i==0){br(n);return}h=u(He(e,(v3t(),f4e)),19),h&&h.a!=0?o=new C$(h.a):o=new zit,r=dM(ke(He(e,l4e))),d=dM(ke(He(e,d4e))),s=u(He(e,h4e),116),T4n(e,o,r,d,s),br(n)},P(Fc,"RandomLayoutProvider",1126);var y4e;D(553,1,{}),l.qf=function(){return new $e(this.f.i,this.f.j)},l.We=function(e){return VXt(e,(Ei(),kl))?He(this.f,x4e):He(this.f,e)},l.rf=function(){return new $e(this.f.g,this.f.f)},l.sf=function(){return this.g},l.Xe=function(e){return sb(this.f,e)},l.tf=function(e){Du(this.f,e.a),Iu(this.f,e.b)},l.uf=function(e){Xv(this.f,e.a),Yv(this.f,e.b)},l.vf=function(e){this.g=e},l.g=0;var x4e;P(UC,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),D(554,1,{839:1},cR),l.wf=function(){var e,n;if(!this.b)for(this.b=k$(t$(this.a).i),n=new hr(t$(this.a));n.e!=n.i.gc();)e=u(Tr(n),137),de(this.b,new net(e));return this.b},l.b=null,P(UC,"ElkGraphAdapters/ElkEdgeAdapter",554),D(301,553,{},Sm),l.xf=function(){return wse(this)},l.a=null,P(UC,"ElkGraphAdapters/ElkGraphAdapter",301),D(630,553,{181:1},net),P(UC,"ElkGraphAdapters/ElkLabelAdapter",630),D(629,553,{680:1},rnt),l.wf=function(){return Cfn(this)},l.Af=function(){var e;return e=u(He(this.f,(Ei(),QO)),142),!e&&(e=new MT),e},l.Cf=function(){return Sfn(this)},l.Ef=function(e){var n;n=new wnt(e),Do(this.f,(Ei(),QO),n)},l.Ff=function(e){Do(this.f,(Ei(),Vb),new fvt(e))},l.yf=function(){return this.d},l.zf=function(){var e,n;if(!this.a)for(this.a=new ge,n=new pr(xr(pI(u(this.f,33)).a.Kc(),new H));ti(n);)e=u(qr(n),79),de(this.a,new cR(e));return this.a},l.Bf=function(){var e,n;if(!this.c)for(this.c=new ge,n=new pr(xr(U0(u(this.f,33)).a.Kc(),new H));ti(n);)e=u(qr(n),79),de(this.c,new cR(e));return this.c},l.Df=function(){return a$(u(this.f,33)).i!=0||je(Be(u(this.f,33).We((Ei(),XO))))},l.Gf=function(){van(this,(Dm(),y4e))},l.a=null,l.b=null,l.c=null,l.d=null,l.e=null,P(UC,"ElkGraphAdapters/ElkNodeAdapter",629),D(1266,553,{838:1},vzt),l.wf=function(){return Nfn(this)},l.zf=function(){var e,n;if(!this.a)for(this.a=Wd(u(this.f,118).xg().i),n=new hr(u(this.f,118).xg());n.e!=n.i.gc();)e=u(Tr(n),79),de(this.a,new cR(e));return this.a},l.Bf=function(){var e,n;if(!this.c)for(this.c=Wd(u(this.f,118).yg().i),n=new hr(u(this.f,118).yg());n.e!=n.i.gc();)e=u(Tr(n),79),de(this.c,new cR(e));return this.c},l.Hf=function(){return u(u(this.f,118).We((Ei(),c5)),61)},l.If=function(){var e,n,r,s,o,h,d,w;for(s=M1(u(this.f,118)),r=new hr(u(this.f,118).yg());r.e!=r.i.gc();)for(e=u(Tr(r),79),w=new hr((!e.c&&(e.c=new Tn(Lr,e,5,8)),e.c));w.e!=w.i.gc();){if(d=u(Tr(w),82),Zm(Go(d),s))return!0;if(Go(d)==s&&je(Be(He(e,(Ei(),sft)))))return!0}for(n=new hr(u(this.f,118).xg());n.e!=n.i.gc();)for(e=u(Tr(n),79),h=new hr((!e.b&&(e.b=new Tn(Lr,e,4,7)),e.b));h.e!=h.i.gc();)if(o=u(Tr(h),82),Zm(Go(o),s))return!0;return!1},l.a=null,l.b=null,l.c=null,P(UC,"ElkGraphAdapters/ElkPortAdapter",1266),D(1267,1,Ui,VZ),l.ue=function(e,n){return rwn(u(e,118),u(n,118))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P(UC,"ElkGraphAdapters/PortComparator",1267);var C2=ls(xh,"EObject"),I9=ls(P4,sde),Qh=ls(P4,ade),cP=ls(P4,ode),uP=ls(P4,"ElkShape"),Lr=ls(P4,cde),aa=ls(P4,o8t),fs=ls(P4,ude),lP=ls(xh,lde),nA=ls(xh,"EFactory"),k4e,mft=ls(xh,hde),c1=ls(xh,"EPackage"),da,E4e,T4e,PAt,QG,_4e,NAt,FAt,BAt,S2,C4e,S4e,nc=ls(P4,c8t),bs=ls(P4,u8t),El=ls(P4,l8t);D(90,1,fde),l.Jg=function(){return this.Kg(),null},l.Kg=function(){return null},l.Lg=function(){return this.Kg(),!1},l.Mg=function(){return!1},l.Ng=function(e){Oi(this,e)},P(Ex,"BasicNotifierImpl",90),D(97,90,bde),l.nh=function(){return Ll(this)},l.Og=function(e,n){return e},l.Pg=function(){throw et(new Gr)},l.Qg=function(e){var n;return n=vo(u(wn(this.Tg(),this.Vg()),18)),this.eh().ih(this,n.n,n.f,e)},l.Rg=function(e,n){throw et(new Gr)},l.Sg=function(e,n,r){return Yl(this,e,n,r)},l.Tg=function(){var e;return this.Pg()&&(e=this.Pg().ck(),e)?e:this.zh()},l.Ug=function(){return Vst(this)},l.Vg=function(){throw et(new Gr)},l.Wg=function(){var e,n;return n=this.ph().dk(),!n&&this.Pg().ik(n=(GT(),e=Lwt(kd(this.Tg())),e==null?Sft:new BM(this,e))),n},l.Xg=function(e,n){return e},l.Yg=function(e){var n;return n=e.Gj(),n?e.aj():rs(this.Tg(),e)},l.Zg=function(){var e;return e=this.Pg(),e?e.fk():null},l.$g=function(){return this.Pg()?this.Pg().ck():null},l._g=function(e,n,r){return zz(this,e,n,r)},l.ah=function(e){return I8(this,e)},l.bh=function(e,n){return Nrt(this,e,n)},l.dh=function(){var e;return e=this.Pg(),!!e&&e.gk()},l.eh=function(){throw et(new Gr)},l.fh=function(){return Pz(this)},l.gh=function(e,n,r,s){return nx(this,e,n,s)},l.hh=function(e,n,r){var s;return s=u(wn(this.Tg(),n),66),s.Nj().Qj(this,this.yh(),n-this.Ah(),e,r)},l.ih=function(e,n,r,s){return l$(this,e,n,s)},l.jh=function(e,n,r){var s;return s=u(wn(this.Tg(),n),66),s.Nj().Rj(this,this.yh(),n-this.Ah(),e,r)},l.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},l.lh=function(e){return est(this,e)},l.mh=function(e){return oQt(this,e)},l.oh=function(e){return Ile(this,e)},l.ph=function(){throw et(new Gr)},l.qh=function(){return this.Pg()?this.Pg().ek():null},l.rh=function(){return Pz(this)},l.sh=function(e,n){jst(this,e,n)},l.th=function(e){this.ph().hk(e)},l.uh=function(e){this.ph().kk(e)},l.vh=function(e){this.ph().jk(e)},l.wh=function(e,n){var r,s,o,h;return h=this.Zg(),h&&e&&(n=Ja(h.Vk(),this,n),h.Zk(this)),s=this.eh(),s&&(aat(this,this.eh(),this.Vg()).Bb&co?(o=s.fh(),o&&(e?!h&&o.Zk(this):o.Yk(this))):(n=(r=this.Vg(),r>=0?this.Qg(n):this.eh().ih(this,-1-r,null,n)),n=this.Sg(null,-1,n))),this.uh(e),n},l.xh=function(e){var n,r,s,o,h,d,w,k;if(r=this.Tg(),h=rs(r,e),n=this.Ah(),h>=n)return u(e,66).Nj().Uj(this,this.yh(),h-n);if(h<=-1)if(d=T4((Yu(),Fa),r,e),d){if(po(),u(d,66).Oj()||(d=H6(Ro(Fa,d))),o=(s=this.Yg(d),u(s>=0?this._g(s,!0,!0):uw(this,d,!0),153)),k=d.Zj(),k>1||k==-1)return u(u(o,215).hl(e,!1),76)}else throw et(new Bn(l2+e.ne()+Fct));else if(e.$j())return s=this.Yg(e),u(s>=0?this._g(s,!1,!0):uw(this,e,!1),76);return w=new SGt(this,e),w},l.yh=function(){return Mmt(this)},l.zh=function(){return(Hp(),Ln).S},l.Ah=function(){return or(this.zh())},l.Bh=function(e){Pst(this,e)},l.Ib=function(){return Ef(this)},P(Mn,"BasicEObjectImpl",97);var A4e;D(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),l.Ch=function(e){var n;return n=Dmt(this),n[e]},l.Dh=function(e,n){var r;r=Dmt(this),ds(r,e,n)},l.Eh=function(e){var n;n=Dmt(this),ds(n,e,null)},l.Jg=function(){return u(In(this,4),126)},l.Kg=function(){throw et(new Gr)},l.Lg=function(){return(this.Db&4)!=0},l.Pg=function(){throw et(new Gr)},l.Fh=function(e){ex(this,2,e)},l.Rg=function(e,n){this.Db=n<<16|this.Db&255,this.Fh(e)},l.Tg=function(){return Su(this)},l.Vg=function(){return this.Db>>16},l.Wg=function(){var e,n;return GT(),n=Lwt(kd((e=u(In(this,16),26),e||this.zh()))),n==null?Sft:new BM(this,n)},l.Mg=function(){return(this.Db&1)==0},l.Zg=function(){return u(In(this,128),1935)},l.$g=function(){return u(In(this,16),26)},l.dh=function(){return(this.Db&32)!=0},l.eh=function(){return u(In(this,2),49)},l.kh=function(){return(this.Db&64)!=0},l.ph=function(){throw et(new Gr)},l.qh=function(){return u(In(this,64),281)},l.th=function(e){ex(this,16,e)},l.uh=function(e){ex(this,128,e)},l.vh=function(e){ex(this,64,e)},l.yh=function(){return fu(this)},l.Db=0,P(Mn,"MinimalEObjectImpl",114),D(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l.Fh=function(e){this.Cb=e},l.eh=function(){return this.Cb},P(Mn,"MinimalEObjectImpl/Container",115),D(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(e,n,r){return q3t(this,e,n,r)},l.jh=function(e,n,r){return M4t(this,e,n,r)},l.lh=function(e){return zwt(this,e)},l.sh=function(e,n){Syt(this,e,n)},l.zh=function(){return ou(),S4e},l.Bh=function(e){byt(this,e)},l.Ve=function(){return jie(this)},l.We=function(e){return He(this,e)},l.Xe=function(e){return sb(this,e)},l.Ye=function(e,n){return Do(this,e,n)},P(Ab,"EMapPropertyHolderImpl",1985),D(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},xp),l._g=function(e,n,r){switch(e){case 0:return this.a;case 1:return this.b}return zz(this,e,n,r)},l.lh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return est(this,e)},l.sh=function(e,n){switch(e){case 0:Y$(this,Zt(ke(n)));return;case 1:X$(this,Zt(ke(n)));return}jst(this,e,n)},l.zh=function(){return ou(),E4e},l.Bh=function(e){switch(e){case 0:Y$(this,0);return;case 1:X$(this,0);return}Pst(this,e)},l.Ib=function(){var e;return this.Db&64?Ef(this):(e=new Ih(Ef(this)),e.a+=" (x: ",j3(e,this.a),e.a+=", y: ",j3(e,this.b),e.a+=")",e.a)},l.a=0,l.b=0,P(Ab,"ElkBendPointImpl",567),D(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(e,n,r){return Uyt(this,e,n,r)},l.hh=function(e,n,r){return Ast(this,e,n,r)},l.jh=function(e,n,r){return fit(this,e,n,r)},l.lh=function(e){return cyt(this,e)},l.sh=function(e,n){o4t(this,e,n)},l.zh=function(){return ou(),_4e},l.Bh=function(e){qyt(this,e)},l.zg=function(){return this.k},l.Ag=function(){return t$(this)},l.Ib=function(){return jit(this)},l.k=null,P(Ab,"ElkGraphElementImpl",723),D(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(e,n,r){return n3t(this,e,n,r)},l.lh=function(e){return u3t(this,e)},l.sh=function(e,n){c4t(this,e,n)},l.zh=function(){return ou(),C4e},l.Bh=function(e){g3t(this,e)},l.Bg=function(){return this.f},l.Cg=function(){return this.g},l.Dg=function(){return this.i},l.Eg=function(){return this.j},l.Fg=function(e,n){oj(this,e,n)},l.Gg=function(e,n){S1(this,e,n)},l.Hg=function(e){Du(this,e)},l.Ig=function(e){Iu(this,e)},l.Ib=function(){return Ost(this)},l.f=0,l.g=0,l.i=0,l.j=0,P(Ab,"ElkShapeImpl",724),D(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(e,n,r){return F3t(this,e,n,r)},l.hh=function(e,n,r){return e4t(this,e,n,r)},l.jh=function(e,n,r){return n4t(this,e,n,r)},l.lh=function(e){return _yt(this,e)},l.sh=function(e,n){h5t(this,e,n)},l.zh=function(){return ou(),T4e},l.Bh=function(e){A3t(this,e)},l.xg=function(){return!this.d&&(this.d=new Tn(aa,this,8,5)),this.d},l.yg=function(){return!this.e&&(this.e=new Tn(aa,this,7,4)),this.e},P(Ab,"ElkConnectableShapeImpl",725),D(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},hv),l.Qg=function(e){return Q3t(this,e)},l._g=function(e,n,r){switch(e){case 3:return aD(this);case 4:return!this.b&&(this.b=new Tn(Lr,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Tn(Lr,this,5,8)),this.c;case 6:return!this.a&&(this.a=new pe(fs,this,6,6)),this.a;case 7:return Rn(),!this.b&&(this.b=new Tn(Lr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tn(Lr,this,5,8)),this.c.i<=1));case 8:return Rn(),!!gC(this);case 9:return Rn(),!!cw(this);case 10:return Rn(),!this.b&&(this.b=new Tn(Lr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tn(Lr,this,5,8)),this.c.i!=0)}return Uyt(this,e,n,r)},l.hh=function(e,n,r){var s;switch(n){case 3:return this.Cb&&(r=(s=this.Db>>16,s>=0?Q3t(this,r):this.Cb.ih(this,-1-s,null,r))),Vbt(this,u(e,33),r);case 4:return!this.b&&(this.b=new Tn(Lr,this,4,7)),au(this.b,e,r);case 5:return!this.c&&(this.c=new Tn(Lr,this,5,8)),au(this.c,e,r);case 6:return!this.a&&(this.a=new pe(fs,this,6,6)),au(this.a,e,r)}return Ast(this,e,n,r)},l.jh=function(e,n,r){switch(n){case 3:return Vbt(this,null,r);case 4:return!this.b&&(this.b=new Tn(Lr,this,4,7)),Ja(this.b,e,r);case 5:return!this.c&&(this.c=new Tn(Lr,this,5,8)),Ja(this.c,e,r);case 6:return!this.a&&(this.a=new pe(fs,this,6,6)),Ja(this.a,e,r)}return fit(this,e,n,r)},l.lh=function(e){switch(e){case 3:return!!aD(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 Tn(Lr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tn(Lr,this,5,8)),this.c.i<=1));case 8:return gC(this);case 9:return cw(this);case 10:return!this.b&&(this.b=new Tn(Lr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tn(Lr,this,5,8)),this.c.i!=0)}return cyt(this,e)},l.sh=function(e,n){switch(e){case 3:Xst(this,u(n,33));return;case 4:!this.b&&(this.b=new Tn(Lr,this,4,7)),Pr(this.b),!this.b&&(this.b=new Tn(Lr,this,4,7)),vs(this.b,u(n,14));return;case 5:!this.c&&(this.c=new Tn(Lr,this,5,8)),Pr(this.c),!this.c&&(this.c=new Tn(Lr,this,5,8)),vs(this.c,u(n,14));return;case 6:!this.a&&(this.a=new pe(fs,this,6,6)),Pr(this.a),!this.a&&(this.a=new pe(fs,this,6,6)),vs(this.a,u(n,14));return}o4t(this,e,n)},l.zh=function(){return ou(),PAt},l.Bh=function(e){switch(e){case 3:Xst(this,null);return;case 4:!this.b&&(this.b=new Tn(Lr,this,4,7)),Pr(this.b);return;case 5:!this.c&&(this.c=new Tn(Lr,this,5,8)),Pr(this.c);return;case 6:!this.a&&(this.a=new pe(fs,this,6,6)),Pr(this.a);return}qyt(this,e)},l.Ib=function(){return vle(this)},P(Ab,"ElkEdgeImpl",352),D(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ld),l.Qg=function(e){return W3t(this,e)},l._g=function(e,n,r){switch(e){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 iQt(this);case 7:return n?ast(this):this.i;case 8:return n?sst(this):this.f;case 9:return!this.g&&(this.g=new Tn(fs,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Tn(fs,this,10,9)),this.e;case 11:return this.d}return q3t(this,e,n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?W3t(this,r):this.Cb.ih(this,-1-o,null,r))),Gbt(this,u(e,79),r);case 9:return!this.g&&(this.g=new Tn(fs,this,9,10)),au(this.g,e,r);case 10:return!this.e&&(this.e=new Tn(fs,this,10,9)),au(this.e,e,r)}return h=u(wn((s=u(In(this,16),26),s||(ou(),QG)),n),66),h.Nj().Qj(this,fu(this),n-or((ou(),QG)),e,r)},l.jh=function(e,n,r){switch(n){case 5:return!this.a&&(this.a=new qs(Qh,this,5)),Ja(this.a,e,r);case 6:return Gbt(this,null,r);case 9:return!this.g&&(this.g=new Tn(fs,this,9,10)),Ja(this.g,e,r);case 10:return!this.e&&(this.e=new Tn(fs,this,10,9)),Ja(this.e,e,r)}return M4t(this,e,n,r)},l.lh=function(e){switch(e){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!!iQt(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 zwt(this,e)},l.sh=function(e,n){switch(e){case 1:R8(this,Zt(ke(n)));return;case 2:$8(this,Zt(ke(n)));return;case 3:B8(this,Zt(ke(n)));return;case 4:j8(this,Zt(ke(n)));return;case 5:!this.a&&(this.a=new qs(Qh,this,5)),Pr(this.a),!this.a&&(this.a=new qs(Qh,this,5)),vs(this.a,u(n,14));return;case 6:wce(this,u(n,79));return;case 7:ez(this,u(n,82));return;case 8:tz(this,u(n,82));return;case 9:!this.g&&(this.g=new Tn(fs,this,9,10)),Pr(this.g),!this.g&&(this.g=new Tn(fs,this,9,10)),vs(this.g,u(n,14));return;case 10:!this.e&&(this.e=new Tn(fs,this,10,9)),Pr(this.e),!this.e&&(this.e=new Tn(fs,this,10,9)),vs(this.e,u(n,14));return;case 11:Jmt(this,Yr(n));return}Syt(this,e,n)},l.zh=function(){return ou(),QG},l.Bh=function(e){switch(e){case 1:R8(this,0);return;case 2:$8(this,0);return;case 3:B8(this,0);return;case 4:j8(this,0);return;case 5:!this.a&&(this.a=new qs(Qh,this,5)),Pr(this.a);return;case 6:wce(this,null);return;case 7:ez(this,null);return;case 8:tz(this,null);return;case 9:!this.g&&(this.g=new Tn(fs,this,9,10)),Pr(this.g);return;case 10:!this.e&&(this.e=new Tn(fs,this,10,9)),Pr(this.e);return;case 11:Jmt(this,null);return}byt(this,e)},l.Ib=function(){return Foe(this)},l.b=0,l.c=0,l.d=null,l.j=0,l.k=0,P(Ab,"ElkEdgeSectionImpl",439),D(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l._g=function(e,n,r){var s;return e==0?(!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab):ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.hh=function(e,n,r){var s,o;return n==0?(!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r)):(o=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),o.Nj().Qj(this,fu(this),n-or(this.zh()),e,r))},l.jh=function(e,n,r){var s,o;return n==0?(!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r)):(o=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),o.Nj().Rj(this,fu(this),n-or(this.zh()),e,r))},l.lh=function(e){var n;return e==0?!!this.Ab&&this.Ab.i!=0:dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.oh=function(e){return m6t(this,e)},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.uh=function(e){ex(this,128,e)},l.zh=function(){return hn(),U4e},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.Gh=function(){this.Bb|=1},l.Hh=function(e){return mC(this,e)},l.Bb=0,P(Mn,"EModelElementImpl",150),D(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},VB),l.Ih=function(e,n){return Wle(this,e,n)},l.Jh=function(e){var n,r,s,o,h;if(this.a!=Vl(e)||e.Bb&256)throw et(new Bn(Rct+e.zb+xw));for(s=qo(e);$c(s.a).i!=0;){if(r=u(CI(s,0,(n=u(At($c(s.a),0),87),h=n.c,_t(h,88)?u(h,26):(hn(),ef))),26),ow(r))return o=Vl(r).Nh().Jh(r),u(o,49).th(e),o;s=qo(r)}return(e.D!=null?e.D:e.B)=="java.util.Map$Entry"?new qKt(e):new Dvt(e)},l.Kh=function(e,n){return gw(this,e,n)},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.a}return ph(this,e-or((hn(),D2)),wn((s=u(In(this,16),26),s||D2),e),n,r)},l.hh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 1:return this.a&&(r=u(this.a,49).ih(this,4,c1,r)),$yt(this,u(e,235),r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),D2)),n),66),o.Nj().Qj(this,fu(this),n-or((hn(),D2)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 1:return $yt(this,null,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),D2)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),D2)),e,r)},l.lh=function(e){var n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return dh(this,e-or((hn(),D2)),wn((n=u(In(this,16),26),n||D2),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:wae(this,u(n,235));return}yh(this,e-or((hn(),D2)),wn((r=u(In(this,16),26),r||D2),e),n)},l.zh=function(){return hn(),D2},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:wae(this,null);return}wh(this,e-or((hn(),D2)),wn((n=u(In(this,16),26),n||D2),e))};var rA,RAt,L4e;P(Mn,"EFactoryImpl",704),D(_f,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},t6),l.Ih=function(e,n){switch(e.yj()){case 12:return u(n,146).tg();case 13:return tc(n);default:throw et(new Bn(V7+e.ne()+xw))}},l.Jh=function(e){var n,r,s,o,h,d,w,k;switch(e.G==-1&&(e.G=(n=Vl(e),n?$g(n.Mh(),e):-1)),e.G){case 4:return h=new YE,h;case 6:return d=new Ppt,d;case 7:return w=new Npt,w;case 8:return s=new hv,s;case 9:return r=new xp,r;case 10:return o=new ld,o;case 11:return k=new QF,k;default:throw et(new Bn(Rct+e.zb+xw))}},l.Kh=function(e,n){switch(e.yj()){case 13:case 12:return null;default:throw et(new Bn(V7+e.ne()+xw))}},P(Ab,"ElkGraphFactoryImpl",_f),D(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l.Wg=function(){var e,n;return n=(e=u(In(this,16),26),Lwt(kd(e||this.zh()))),n==null?(GT(),GT(),Sft):new uWt(this,n)},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.ne()}return ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.lh=function(e){var n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:this.Lh(Yr(n));return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.zh=function(){return hn(),W4e},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:this.Lh(null);return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.ne=function(){return this.zb},l.Lh=function(e){su(this,e)},l.Ib=function(){return X_(this)},l.zb=null,P(Mn,"ENamedElementImpl",438),D(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},HXt),l.Qg=function(e){return Ise(this,e)},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,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 qm(this,u1,this)),this.rb;case 6:return!this.vb&&(this.vb=new I6(c1,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?u(this.Cb,235):null:sQt(this)}return ph(this,e-or((hn(),ap)),wn((s=u(In(this,16),26),s||ap),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 4:return this.sb&&(r=u(this.sb,49).ih(this,1,nA,r)),Vyt(this,u(e,471),r);case 5:return!this.rb&&(this.rb=new qm(this,u1,this)),au(this.rb,e,r);case 6:return!this.vb&&(this.vb=new I6(c1,this,6,7)),au(this.vb,e,r);case 7:return this.Cb&&(r=(o=this.Db>>16,o>=0?Ise(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,7,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),ap)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),ap)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 4:return Vyt(this,null,r);case 5:return!this.rb&&(this.rb=new qm(this,u1,this)),Ja(this.rb,e,r);case 6:return!this.vb&&(this.vb=new I6(c1,this,6,7)),Ja(this.vb,e,r);case 7:return Yl(this,null,7,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),ap)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),ap)),e,r)},l.lh=function(e){var n;switch(e){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!!sQt(this)}return dh(this,e-or((hn(),ap)),wn((n=u(In(this,16),26),n||ap),e))},l.oh=function(e){var n;return n=_bn(this,e),n||m6t(this,e)},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:su(this,Yr(n));return;case 2:cz(this,Yr(n));return;case 3:oz(this,Yr(n));return;case 4:Ist(this,u(n,471));return;case 5:!this.rb&&(this.rb=new qm(this,u1,this)),Pr(this.rb),!this.rb&&(this.rb=new qm(this,u1,this)),vs(this.rb,u(n,14));return;case 6:!this.vb&&(this.vb=new I6(c1,this,6,7)),Pr(this.vb),!this.vb&&(this.vb=new I6(c1,this,6,7)),vs(this.vb,u(n,14));return}yh(this,e-or((hn(),ap)),wn((r=u(In(this,16),26),r||ap),e),n)},l.vh=function(e){var n,r;if(e&&this.rb)for(r=new hr(this.rb);r.e!=r.i.gc();)n=Tr(r),_t(n,351)&&(u(n,351).w=null);ex(this,64,e)},l.zh=function(){return hn(),ap},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:su(this,null);return;case 2:cz(this,null);return;case 3:oz(this,null);return;case 4:Ist(this,null);return;case 5:!this.rb&&(this.rb=new qm(this,u1,this)),Pr(this.rb);return;case 6:!this.vb&&(this.vb=new I6(c1,this,6,7)),Pr(this.vb);return}wh(this,e-or((hn(),ap)),wn((n=u(In(this,16),26),n||ap),e))},l.Gh=function(){mst(this)},l.Mh=function(){return!this.rb&&(this.rb=new qm(this,u1,this)),this.rb},l.Nh=function(){return this.sb},l.Oh=function(){return this.ub},l.Ph=function(){return this.xb},l.Qh=function(){return this.yb},l.Rh=function(e){this.ub=e},l.Ib=function(){var e;return this.Db&64?X_(this):(e=new Ih(X_(this)),e.a+=" (nsURI: ",Ao(e,this.yb),e.a+=", nsPrefix: ",Ao(e,this.xb),e.a+=")",e.a)},l.xb=null,l.yb=null,P(Mn,"EPackageImpl",179),D(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Goe),l.q=!1,l.r=!1;var M4e=!1;P(Ab,"ElkGraphPackageImpl",555),D(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},YE),l.Qg=function(e){return K3t(this,e)},l._g=function(e,n,r){switch(e){case 7:return aQt(this);case 8:return this.a}return n3t(this,e,n,r)},l.hh=function(e,n,r){var s;switch(n){case 7:return this.Cb&&(r=(s=this.Db>>16,s>=0?K3t(this,r):this.Cb.ih(this,-1-s,null,r))),Uvt(this,u(e,160),r)}return Ast(this,e,n,r)},l.jh=function(e,n,r){return n==7?Uvt(this,null,r):fit(this,e,n,r)},l.lh=function(e){switch(e){case 7:return!!aQt(this);case 8:return!ln("",this.a)}return u3t(this,e)},l.sh=function(e,n){switch(e){case 7:_5t(this,u(n,160));return;case 8:Umt(this,Yr(n));return}c4t(this,e,n)},l.zh=function(){return ou(),NAt},l.Bh=function(e){switch(e){case 7:_5t(this,null);return;case 8:Umt(this,"");return}g3t(this,e)},l.Ib=function(){return Iae(this)},l.a="",P(Ab,"ElkLabelImpl",354),D(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Ppt),l.Qg=function(e){return Z3t(this,e)},l._g=function(e,n,r){switch(e){case 9:return!this.c&&(this.c=new pe(El,this,9,9)),this.c;case 10:return!this.a&&(this.a=new pe(bs,this,10,11)),this.a;case 11:return gs(this);case 12:return!this.b&&(this.b=new pe(aa,this,12,3)),this.b;case 13:return Rn(),!this.a&&(this.a=new pe(bs,this,10,11)),this.a.i>0}return F3t(this,e,n,r)},l.hh=function(e,n,r){var s;switch(n){case 9:return!this.c&&(this.c=new pe(El,this,9,9)),au(this.c,e,r);case 10:return!this.a&&(this.a=new pe(bs,this,10,11)),au(this.a,e,r);case 11:return this.Cb&&(r=(s=this.Db>>16,s>=0?Z3t(this,r):this.Cb.ih(this,-1-s,null,r))),tvt(this,u(e,33),r);case 12:return!this.b&&(this.b=new pe(aa,this,12,3)),au(this.b,e,r)}return e4t(this,e,n,r)},l.jh=function(e,n,r){switch(n){case 9:return!this.c&&(this.c=new pe(El,this,9,9)),Ja(this.c,e,r);case 10:return!this.a&&(this.a=new pe(bs,this,10,11)),Ja(this.a,e,r);case 11:return tvt(this,null,r);case 12:return!this.b&&(this.b=new pe(aa,this,12,3)),Ja(this.b,e,r)}return n4t(this,e,n,r)},l.lh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!gs(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new pe(bs,this,10,11)),this.a.i>0}return _yt(this,e)},l.sh=function(e,n){switch(e){case 9:!this.c&&(this.c=new pe(El,this,9,9)),Pr(this.c),!this.c&&(this.c=new pe(El,this,9,9)),vs(this.c,u(n,14));return;case 10:!this.a&&(this.a=new pe(bs,this,10,11)),Pr(this.a),!this.a&&(this.a=new pe(bs,this,10,11)),vs(this.a,u(n,14));return;case 11:k5t(this,u(n,33));return;case 12:!this.b&&(this.b=new pe(aa,this,12,3)),Pr(this.b),!this.b&&(this.b=new pe(aa,this,12,3)),vs(this.b,u(n,14));return}h5t(this,e,n)},l.zh=function(){return ou(),FAt},l.Bh=function(e){switch(e){case 9:!this.c&&(this.c=new pe(El,this,9,9)),Pr(this.c);return;case 10:!this.a&&(this.a=new pe(bs,this,10,11)),Pr(this.a);return;case 11:k5t(this,null);return;case 12:!this.b&&(this.b=new pe(aa,this,12,3)),Pr(this.b);return}A3t(this,e)},l.Ib=function(){return $5t(this)},P(Ab,"ElkNodeImpl",239),D(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Npt),l.Qg=function(e){return Y3t(this,e)},l._g=function(e,n,r){return e==9?M1(this):F3t(this,e,n,r)},l.hh=function(e,n,r){var s;switch(n){case 9:return this.Cb&&(r=(s=this.Db>>16,s>=0?Y3t(this,r):this.Cb.ih(this,-1-s,null,r))),Ubt(this,u(e,33),r)}return e4t(this,e,n,r)},l.jh=function(e,n,r){return n==9?Ubt(this,null,r):n4t(this,e,n,r)},l.lh=function(e){return e==9?!!M1(this):_yt(this,e)},l.sh=function(e,n){switch(e){case 9:x5t(this,u(n,33));return}h5t(this,e,n)},l.zh=function(){return ou(),BAt},l.Bh=function(e){switch(e){case 9:x5t(this,null);return}A3t(this,e)},l.Ib=function(){return wue(this)},P(Ab,"ElkPortImpl",186);var D4e=ls(to,"BasicEMap/Entry");D(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},QF),l.Fb=function(e){return this===e},l.cd=function(){return this.b},l.Hb=function(){return Mv(this)},l.Uh=function(e){Wmt(this,u(e,146))},l._g=function(e,n,r){switch(e){case 0:return this.b;case 1:return this.c}return zz(this,e,n,r)},l.lh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return est(this,e)},l.sh=function(e,n){switch(e){case 0:Wmt(this,u(n,146));return;case 1:Xmt(this,n);return}jst(this,e,n)},l.zh=function(){return ou(),S2},l.Bh=function(e){switch(e){case 0:Wmt(this,null);return;case 1:Xmt(this,null);return}Pst(this,e)},l.Sh=function(){var e;return this.a==-1&&(e=this.b,this.a=e?es(e):0),this.a},l.dd=function(){return this.c},l.Th=function(e){this.a=e},l.ed=function(e){var n;return n=this.c,Xmt(this,e),n},l.Ib=function(){var e;return this.Db&64?Ef(this):(e=new Mp,ii(ii(ii(e,this.b?this.b.tg():Nu),Not),d_(this.c)),e.a)},l.a=-1,l.c=null;var jw=P(Ab,"ElkPropertyToValueMapEntryImpl",1092);D(984,1,{},ZF),P(Na,"JsonAdapter",984),D(210,60,K0,dd),P(Na,"JsonImportException",210),D(857,1,{},Ose),P(Na,"JsonImporter",857),D(891,1,{},cGt),P(Na,"JsonImporter/lambda$0$Type",891),D(892,1,{},uGt),P(Na,"JsonImporter/lambda$1$Type",892),D(900,1,{},H$t),P(Na,"JsonImporter/lambda$10$Type",900),D(902,1,{},lGt),P(Na,"JsonImporter/lambda$11$Type",902),D(903,1,{},hGt),P(Na,"JsonImporter/lambda$12$Type",903),D(909,1,{},EXt),P(Na,"JsonImporter/lambda$13$Type",909),D(908,1,{},kXt),P(Na,"JsonImporter/lambda$14$Type",908),D(904,1,{},fGt),P(Na,"JsonImporter/lambda$15$Type",904),D(905,1,{},dGt),P(Na,"JsonImporter/lambda$16$Type",905),D(906,1,{},gGt),P(Na,"JsonImporter/lambda$17$Type",906),D(907,1,{},pGt),P(Na,"JsonImporter/lambda$18$Type",907),D(912,1,{},V$t),P(Na,"JsonImporter/lambda$19$Type",912),D(893,1,{},G$t),P(Na,"JsonImporter/lambda$2$Type",893),D(910,1,{},U$t),P(Na,"JsonImporter/lambda$20$Type",910),D(911,1,{},W$t),P(Na,"JsonImporter/lambda$21$Type",911),D(915,1,{},K$t),P(Na,"JsonImporter/lambda$22$Type",915),D(913,1,{},Y$t),P(Na,"JsonImporter/lambda$23$Type",913),D(914,1,{},X$t),P(Na,"JsonImporter/lambda$24$Type",914),D(917,1,{},Q$t),P(Na,"JsonImporter/lambda$25$Type",917),D(916,1,{},Z$t),P(Na,"JsonImporter/lambda$26$Type",916),D(918,1,tr,bGt),l.td=function(e){tan(this.b,this.a,Yr(e))},P(Na,"JsonImporter/lambda$27$Type",918),D(919,1,tr,vGt),l.td=function(e){ean(this.b,this.a,Yr(e))},P(Na,"JsonImporter/lambda$28$Type",919),D(920,1,{},wGt),P(Na,"JsonImporter/lambda$29$Type",920),D(896,1,{},J$t),P(Na,"JsonImporter/lambda$3$Type",896),D(921,1,{},mGt),P(Na,"JsonImporter/lambda$30$Type",921),D(922,1,{},tzt),P(Na,"JsonImporter/lambda$31$Type",922),D(923,1,{},ezt),P(Na,"JsonImporter/lambda$32$Type",923),D(924,1,{},nzt),P(Na,"JsonImporter/lambda$33$Type",924),D(925,1,{},rzt),P(Na,"JsonImporter/lambda$34$Type",925),D(859,1,{},izt),P(Na,"JsonImporter/lambda$35$Type",859),D(929,1,{},gKt),P(Na,"JsonImporter/lambda$36$Type",929),D(926,1,tr,szt),l.td=function(e){isn(this.a,u(e,469))},P(Na,"JsonImporter/lambda$37$Type",926),D(927,1,tr,_Gt),l.td=function(e){IYe(this.a,this.b,u(e,202))},P(Na,"JsonImporter/lambda$38$Type",927),D(928,1,tr,CGt),l.td=function(e){OYe(this.a,this.b,u(e,202))},P(Na,"JsonImporter/lambda$39$Type",928),D(894,1,{},azt),P(Na,"JsonImporter/lambda$4$Type",894),D(930,1,tr,ozt),l.td=function(e){ssn(this.a,u(e,8))},P(Na,"JsonImporter/lambda$40$Type",930),D(895,1,{},czt),P(Na,"JsonImporter/lambda$5$Type",895),D(899,1,{},uzt),P(Na,"JsonImporter/lambda$6$Type",899),D(897,1,{},lzt),P(Na,"JsonImporter/lambda$7$Type",897),D(898,1,{},hzt),P(Na,"JsonImporter/lambda$8$Type",898),D(901,1,{},fzt),P(Na,"JsonImporter/lambda$9$Type",901),D(948,1,tr,dzt),l.td=function(e){R6(this.a,new Hm(Yr(e)))},P(Na,"JsonMetaDataConverter/lambda$0$Type",948),D(949,1,tr,gzt),l.td=function(e){xen(this.a,u(e,237))},P(Na,"JsonMetaDataConverter/lambda$1$Type",949),D(950,1,tr,pzt),l.td=function(e){wrn(this.a,u(e,149))},P(Na,"JsonMetaDataConverter/lambda$2$Type",950),D(951,1,tr,bzt),l.td=function(e){ken(this.a,u(e,175))},P(Na,"JsonMetaDataConverter/lambda$3$Type",951),D(237,22,{3:1,35:1,22:1,237:1},A6);var ZG,JG,yft,tU,eU,nU,xft,kft,rU=Qr($I,"GraphFeature",237,ni,Van,UJe),I4e;D(13,1,{35:1,146:1},ns,Ks,vn,bo),l.wd=function(e){return DXe(this,u(e,146))},l.Fb=function(e){return VXt(this,e)},l.wg=function(){return Ie(this)},l.tg=function(){return this.b},l.Hb=function(){return zg(this.b)},l.Ib=function(){return this.b},P($I,"Property",13),D(818,1,Ui,dpt),l.ue=function(e,n){return Yun(this,u(e,94),u(n,94))},l.Fb=function(e){return this===e},l.ve=function(){return new ft(this)},P($I,"PropertyHolderComparator",818),D(695,1,va,gpt),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return san(this)},l.Qb=function(){uHt()},l.Ob=function(){return!!this.a},P(kH,"ElkGraphUtil/AncestorIterator",695);var jAt=ls(to,"EList");D(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),l.Vc=function(e,n){J_(this,e,n)},l.Fc=function(e){return Hr(this,e)},l.Wc=function(e,n){return vyt(this,e,n)},l.Gc=function(e){return vs(this,e)},l.Zh=function(){return new D6(this)},l.$h=function(){return new RM(this)},l._h=function(e){return LD(this,e)},l.ai=function(){return!0},l.bi=function(e,n){},l.ci=function(){},l.di=function(e,n){Brt(this,e,n)},l.ei=function(e,n,r){},l.fi=function(e,n){},l.gi=function(e,n,r){},l.Fb=function(e){return iue(this,e)},l.Hb=function(){return fyt(this)},l.hi=function(){return!1},l.Kc=function(){return new hr(this)},l.Yc=function(){return new M6(this)},l.Zc=function(e){var n;if(n=this.gc(),e<0||e>n)throw et(new jm(e,n));return new qnt(this,e)},l.ji=function(e,n){this.ii(e,this.Xc(n))},l.Mc=function(e){return z$(this,e)},l.li=function(e,n){return n},l._c=function(e,n){return l4(this,e,n)},l.Ib=function(){return i3t(this)},l.ni=function(){return!0},l.oi=function(e,n){return Z8(this,n)},P(to,"AbstractEList",67),D(63,67,Od,e6,Wv,iyt),l.Vh=function(e,n){return Lst(this,e,n)},l.Wh=function(e){return ase(this,e)},l.Xh=function(e,n){VD(this,e,n)},l.Yh=function(e){fD(this,e)},l.pi=function(e){return _mt(this,e)},l.$b=function(){R_(this)},l.Hc=function(e){return d7(this,e)},l.Xb=function(e){return At(this,e)},l.qi=function(e){var n,r,s;++this.j,r=this.g==null?0:this.g.length,e>r&&(s=this.g,n=r+(r/2|0)+4,n<e&&(n=e),this.g=this.ri(n),s!=null&&qc(s,0,this.g,0,this.i))},l.Xc=function(e){return Sse(this,e)},l.dc=function(){return this.i==0},l.ii=function(e,n){return qst(this,e,n)},l.ri=function(e){return Pt(ir,De,1,e,5,1)},l.ki=function(e){return this.g[e]},l.$c=function(e){return ix(this,e)},l.mi=function(e,n){return Krt(this,e,n)},l.gc=function(){return this.i},l.Pc=function(){return Xwt(this)},l.Qc=function(e){return b3t(this,e)},l.i=0;var $At=P(to,"BasicEList",63),zAt=ls(to,"TreeIterator");D(694,63,Yct),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.g==null&&!this.c?Owt(this):this.g==null||this.i!=0&&u(this.g[this.i-1],47).Ob()},l.Pb=function(){return cq(this)},l.Qb=function(){if(!this.e)throw et(new Xo("There is no valid object to remove."));this.e.Qb()},l.c=!1,P(to,"AbstractTreeIterator",694),D(685,694,Yct,tbt),l.si=function(e){var n;return n=u(e,56).Wg().Kc(),_t(n,279)&&u(n,279).Nk(new UZ),n},P(kH,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),D(952,1,{},UZ),P(kH,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var hP,Eft,fP=P(kH,"ElkReflect",null);D(889,1,Sy,XE),l.vg=function(e){return b$(),Msn(u(e,174))},P(kH,"ElkReflect/lambda$0$Type",889);var A2;ls(to,"ResourceLocator"),D(1051,1,{}),P(to,"DelegatingResourceLocator",1051),D(1052,1051,{}),P("org.eclipse.emf.common","EMFPlugin",1052);var Tft=ls(Jde,"Adapter"),p6n=ls(Jde,"Notification");D(1153,1,S8t),l.ti=function(){return this.d},l.ui=function(e){},l.vi=function(e){this.d=e},l.wi=function(e){this.d==e&&(this.d=null)},l.d=null,P(Ex,"AdapterImpl",1153),D(1995,67,t0e),l.Vh=function(e,n){return l3t(this,e,n)},l.Wh=function(e){var n,r,s;if(++this.j,e.dc())return!1;for(n=this.Vi(),s=e.Kc();s.Ob();)r=s.Pb(),this.Ii(this.oi(n,r)),++n;return!0},l.Xh=function(e,n){kWt(this,e,n)},l.Yh=function(e){XYt(this,e)},l.Gi=function(){return this.Ji()},l.$b=function(){qM(this,this.Vi(),this.Wi())},l.Hc=function(e){return this.Li(e)},l.Ic=function(e){return this.Mi(e)},l.Hi=function(e,n){this.Si().jm()},l.Ii=function(e){this.Si().jm()},l.Ji=function(){return this.Si()},l.Ki=function(){this.Si().jm()},l.Li=function(e){return this.Si().jm()},l.Mi=function(e){return this.Si().jm()},l.Ni=function(e){return this.Si().jm()},l.Oi=function(e){return this.Si().jm()},l.Pi=function(){return this.Si().jm()},l.Qi=function(e){return this.Si().jm()},l.Ri=function(){return this.Si().jm()},l.Ti=function(e){return this.Si().jm()},l.Ui=function(e,n){return this.Si().jm()},l.Vi=function(){return this.Si().jm()},l.Wi=function(){return this.Si().jm()},l.Xi=function(e){return this.Si().jm()},l.Yi=function(){return this.Si().jm()},l.Fb=function(e){return this.Ni(e)},l.Xb=function(e){return this.li(e,this.Oi(e))},l.Hb=function(){return this.Pi()},l.Xc=function(e){return this.Qi(e)},l.dc=function(){return this.Ri()},l.ii=function(e,n){return S4t(this,e,n)},l.ki=function(e){return this.Oi(e)},l.$c=function(e){return Pj(this,e)},l.Mc=function(e){var n;return n=this.Xc(e),n>=0?(this.$c(n),!0):!1},l.mi=function(e,n){return this.Ui(e,this.oi(e,n))},l.gc=function(){return this.Vi()},l.Pc=function(){return this.Wi()},l.Qc=function(e){return this.Xi(e)},l.Ib=function(){return this.Yi()},P(to,"DelegatingEList",1995),D(1996,1995,t0e),l.Vh=function(e,n){return Y5t(this,e,n)},l.Wh=function(e){return this.Vh(this.Vi(),e)},l.Xh=function(e,n){Hoe(this,e,n)},l.Yh=function(e){Poe(this,e)},l.ai=function(){return!this.bj()},l.$b=function(){_C(this)},l.Zi=function(e,n,r,s,o){return new UXt(this,e,n,r,s,o)},l.$i=function(e){Oi(this.Ai(),e)},l._i=function(){return null},l.aj=function(){return-1},l.Ai=function(){return null},l.bj=function(){return!1},l.cj=function(e,n){return n},l.dj=function(e,n){return n},l.ej=function(){return!1},l.fj=function(){return!this.Ri()},l.ii=function(e,n){var r,s;return this.ej()?(s=this.fj(),r=S4t(this,e,n),this.$i(this.Zi(7,ve(n),r,e,s)),r):S4t(this,e,n)},l.$c=function(e){var n,r,s,o;return this.ej()?(r=null,s=this.fj(),n=this.Zi(4,o=Pj(this,e),null,e,s),this.bj()&&o?(r=this.dj(o,r),r?(r.Ei(n),r.Fi()):this.$i(n)):r?(r.Ei(n),r.Fi()):this.$i(n),o):(o=Pj(this,e),this.bj()&&o&&(r=this.dj(o,null),r&&r.Fi()),o)},l.mi=function(e,n){return Que(this,e,n)},P(Ex,"DelegatingNotifyingListImpl",1996),D(143,1,tO),l.Ei=function(e){return g4t(this,e)},l.Fi=function(){Urt(this)},l.xi=function(){return this.d},l._i=function(){return null},l.gj=function(){return null},l.yi=function(e){return-1},l.zi=function(){return Bce(this)},l.Ai=function(){return null},l.Bi=function(){return M5t(this)},l.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},l.hj=function(){return!1},l.Di=function(e){var n,r,s,o,h,d,w,k,_,M,B;switch(this.d){case 1:case 2:switch(o=e.xi(),o){case 1:case 2:if(h=e.Ai(),Ut(h)===Ut(this.Ai())&&this.yi(null)==e.yi(null))return this.g=e.zi(),e.xi()==1&&(this.d=1),!0}case 4:{switch(o=e.xi(),o){case 4:{if(h=e.Ai(),Ut(h)===Ut(this.Ai())&&this.yi(null)==e.yi(null))return _=f6t(this),k=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,d=e.Ci(),this.d=6,B=new Wv(2),k<=d?(Hr(B,this.n),Hr(B,e.Bi()),this.g=ct(ot(Fr,1),ui,25,15,[this.o=k,d+1])):(Hr(B,e.Bi()),Hr(B,this.n),this.g=ct(ot(Fr,1),ui,25,15,[this.o=d,k])),this.n=B,_||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(o=e.xi(),o){case 4:{if(h=e.Ai(),Ut(h)===Ut(this.Ai())&&this.yi(null)==e.yi(null)){for(_=f6t(this),d=e.Ci(),M=u(this.g,48),s=Pt(Fr,ui,25,M.length+1,15,1),n=0;n<M.length&&(w=M[n],w<=d);)s[n++]=w,++d;for(r=u(this.n,15),r.Vc(n,e.Bi()),s[n]=d;++n<s.length;)s[n]=M[n-1];return this.g=s,_||(this.o=-2-s[0]),!0}break}}break}}return!1},l.Ib=function(){var e,n,r,s;switch(s=new Ih(Ip(this.gm)+"@"+(n=es(this)>>>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:{uet(s,this.d);break}}if(_ue(this)&&(s.a+=", touch: true"),s.a+=", position: ",uet(s,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),s.a+=", notifier: ",o_(s,this.Ai()),s.a+=", feature: ",o_(s,this._i()),s.a+=", oldValue: ",o_(s,M5t(this)),s.a+=", newValue: ",this.d==6&&_t(this.g,48)){for(r=u(this.g,48),s.a+="[",e=0;e<r.length;)s.a+=r[e],++e<r.length&&(s.a+=oo);s.a+="]"}else o_(s,Bce(this));return s.a+=", isTouch: ",Cg(s,_ue(this)),s.a+=", wasSet: ",Cg(s,f6t(this)),s.a+=")",s.a},l.d=0,l.e=0,l.f=0,l.j=0,l.k=0,l.o=0,l.p=0,P(Ex,"NotificationImpl",143),D(1167,143,tO,UXt),l._i=function(){return this.a._i()},l.yi=function(e){return this.a.aj()},l.Ai=function(){return this.a.Ai()},P(Ex,"DelegatingNotifyingListImpl/1",1167),D(242,63,Od,n6,Dp),l.Fc=function(e){return eie(this,u(e,366))},l.Ei=function(e){return eie(this,e)},l.Fi=function(){var e,n,r;for(e=0;e<this.i;++e)n=u(this.g[e],366),r=n.Ai(),r!=null&&n.xi()!=-1&&u(r,92).Ng(n)},l.ri=function(e){return Pt(p6n,De,366,e,0,1)},P(Ex,"NotificationChainImpl",242),D(1378,90,fde),l.Kg=function(){return this.e},l.Mg=function(){return(this.f&1)!=0},l.f=1,P(Ex,"NotifierImpl",1378),D(1993,63,Od),l.Vh=function(e,n){return hat(this,e,n)},l.Wh=function(e){return this.Vh(this.i,e)},l.Xh=function(e,n){r5t(this,e,n)},l.Yh=function(e){Hst(this,e)},l.ai=function(){return!this.bj()},l.$b=function(){Pr(this)},l.Zi=function(e,n,r,s,o){return new WXt(this,e,n,r,s,o)},l.$i=function(e){Oi(this.Ai(),e)},l._i=function(){return null},l.aj=function(){return-1},l.Ai=function(){return null},l.bj=function(){return!1},l.ij=function(){return!1},l.cj=function(e,n){return n},l.dj=function(e,n){return n},l.ej=function(){return!1},l.fj=function(){return this.i!=0},l.ii=function(e,n){return tC(this,e,n)},l.$c=function(e){return dy(this,e)},l.mi=function(e,n){return fle(this,e,n)},l.jj=function(e,n){return n},l.kj=function(e,n){return n},l.lj=function(e,n,r){return r},P(Ex,"NotifyingListImpl",1993),D(1166,143,tO,WXt),l._i=function(){return this.a._i()},l.yi=function(e){return this.a.aj()},l.Ai=function(){return this.a.Ai()},P(Ex,"NotifyingListImpl/1",1166),D(953,63,Od,_Wt),l.Hc=function(e){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new y_(this),this.a=this.j),L0(this.b,e)):d7(this,e)},l.ni=function(){return!0},l.a=0,P(to,"AbstractEList/1",953),D(295,73,sot,jm),P(to,"AbstractEList/BasicIndexOutOfBoundsException",295),D(40,1,va,hr),l.Nb=function(e){Ia(this,e)},l.mj=function(){if(this.i.j!=this.f)throw et(new uh)},l.nj=function(){return Tr(this)},l.Ob=function(){return this.e!=this.i.gc()},l.Pb=function(){return this.nj()},l.Qb=function(){uC(this)},l.e=0,l.f=0,l.g=-1,P(to,"AbstractEList/EIterator",40),D(278,40,r0,M6,qnt),l.Qb=function(){uC(this)},l.Rb=function(e){cie(this,e)},l.oj=function(){var e;try{return e=this.d.Xb(--this.e),this.mj(),this.g=this.e,e}catch(n){throw n=as(n),_t(n,73)?(this.mj(),et(new _c)):et(n)}},l.pj=function(e){use(this,e)},l.Sb=function(){return this.e!=0},l.Tb=function(){return this.e},l.Ub=function(){return this.oj()},l.Vb=function(){return this.e-1},l.Wb=function(e){this.pj(e)},P(to,"AbstractEList/EListIterator",278),D(341,40,va,D6),l.nj=function(){return nst(this)},l.Qb=function(){throw et(new Gr)},P(to,"AbstractEList/NonResolvingEIterator",341),D(385,278,r0,RM,ovt),l.Rb=function(e){throw et(new Gr)},l.nj=function(){var e;try{return e=this.c.ki(this.e),this.mj(),this.g=this.e++,e}catch(n){throw n=as(n),_t(n,73)?(this.mj(),et(new _c)):et(n)}},l.oj=function(){var e;try{return e=this.c.ki(--this.e),this.mj(),this.g=this.e,e}catch(n){throw n=as(n),_t(n,73)?(this.mj(),et(new _c)):et(n)}},l.Qb=function(){throw et(new Gr)},l.Wb=function(e){throw et(new Gr)},P(to,"AbstractEList/NonResolvingEListIterator",385),D(1982,67,e0e),l.Vh=function(e,n){var r,s,o,h,d,w,k,_,M,B,q;if(o=n.gc(),o!=0){for(_=u(In(this.a,4),126),M=_==null?0:_.length,q=M+o,s=Tit(this,q),B=M-e,B>0&&qc(_,e,s,e+o,B),k=n.Kc(),d=0;d<o;++d)w=k.Pb(),r=e+d,Xet(s,r,Z8(this,w));for(u7(this,s),h=0;h<o;++h)w=s[e],this.bi(e,w),++e;return!0}else return++this.j,!1},l.Wh=function(e){var n,r,s,o,h,d,w,k,_;if(s=e.gc(),s!=0){for(k=(r=u(In(this.a,4),126),r==null?0:r.length),_=k+s,n=Tit(this,_),w=e.Kc(),h=k;h<_;++h)d=w.Pb(),Xet(n,h,Z8(this,d));for(u7(this,n),o=k;o<_;++o)d=n[o],this.bi(o,d);return!0}else return++this.j,!1},l.Xh=function(e,n){var r,s,o,h;s=u(In(this.a,4),126),o=s==null?0:s.length,r=Tit(this,o+1),h=Z8(this,n),e!=o&&qc(s,e,r,e+1,o-e),ds(r,e,h),u7(this,r),this.bi(e,n)},l.Yh=function(e){var n,r,s;s=(r=u(In(this.a,4),126),r==null?0:r.length),n=Tit(this,s+1),Xet(n,s,Z8(this,e)),u7(this,n),this.bi(s,e)},l.Zh=function(){return new dJt(this)},l.$h=function(){return new SYt(this)},l._h=function(e){var n,r;if(r=(n=u(In(this.a,4),126),n==null?0:n.length),e<0||e>r)throw et(new jm(e,r));return new rXt(this,e)},l.$b=function(){var e,n;++this.j,e=u(In(this.a,4),126),n=e==null?0:e.length,u7(this,null),Brt(this,n,e)},l.Hc=function(e){var n,r,s,o,h;if(n=u(In(this.a,4),126),n!=null){if(e!=null){for(s=n,o=0,h=s.length;o<h;++o)if(r=s[o],Pi(e,r))return!0}else for(s=n,o=0,h=s.length;o<h;++o)if(r=s[o],Ut(r)===Ut(e))return!0}return!1},l.Xb=function(e){var n,r;if(n=u(In(this.a,4),126),r=n==null?0:n.length,e>=r)throw et(new jm(e,r));return n[e]},l.Xc=function(e){var n,r,s;if(n=u(In(this.a,4),126),n!=null){if(e!=null){for(r=0,s=n.length;r<s;++r)if(Pi(e,n[r]))return r}else for(r=0,s=n.length;r<s;++r)if(Ut(n[r])===Ut(e))return r}return-1},l.dc=function(){return u(In(this.a,4),126)==null},l.Kc=function(){return new fJt(this)},l.Yc=function(){return new CYt(this)},l.Zc=function(e){var n,r;if(r=(n=u(In(this.a,4),126),n==null?0:n.length),e<0||e>r)throw et(new jm(e,r));return new nXt(this,e)},l.ii=function(e,n){var r,s,o;if(r=bie(this),o=r==null?0:r.length,e>=o)throw et(new Po(Wct+e+Lb+o));if(n>=o)throw et(new Po(Kct+n+Lb+o));return s=r[n],e!=n&&(e<n?qc(r,e,r,e+1,n-e):qc(r,n+1,r,n,e-n),ds(r,e,s),u7(this,r)),s},l.ki=function(e){return u(In(this.a,4),126)[e]},l.$c=function(e){return ypn(this,e)},l.mi=function(e,n){var r,s;return r=bie(this),s=r[e],Xet(r,e,Z8(this,n)),u7(this,r),s},l.gc=function(){var e;return e=u(In(this.a,4),126),e==null?0:e.length},l.Pc=function(){var e,n,r;return e=u(In(this.a,4),126),r=e==null?0:e.length,n=Pt(Tft,Jct,415,r,0,1),r>0&&qc(e,0,n,0,r),n},l.Qc=function(e){var n,r,s;return n=u(In(this.a,4),126),s=n==null?0:n.length,s>0&&(e.length<s&&(r=AD(bl(e).c,s),e=r),qc(n,0,e,0,s)),e.length>s&&ds(e,s,null),e};var O4e;P(to,"ArrayDelegatingEList",1982),D(1038,40,va,fJt),l.mj=function(){if(this.b.j!=this.f||Ut(u(In(this.b.a,4),126))!==Ut(this.a))throw et(new uh)},l.Qb=function(){uC(this),this.a=u(In(this.b.a,4),126)},P(to,"ArrayDelegatingEList/EIterator",1038),D(706,278,r0,CYt,nXt),l.mj=function(){if(this.b.j!=this.f||Ut(u(In(this.b.a,4),126))!==Ut(this.a))throw et(new uh)},l.pj=function(e){use(this,e),this.a=u(In(this.b.a,4),126)},l.Qb=function(){uC(this),this.a=u(In(this.b.a,4),126)},P(to,"ArrayDelegatingEList/EListIterator",706),D(1039,341,va,dJt),l.mj=function(){if(this.b.j!=this.f||Ut(u(In(this.b.a,4),126))!==Ut(this.a))throw et(new uh)},P(to,"ArrayDelegatingEList/NonResolvingEIterator",1039),D(707,385,r0,SYt,rXt),l.mj=function(){if(this.b.j!=this.f||Ut(u(In(this.b.a,4),126))!==Ut(this.a))throw et(new uh)},P(to,"ArrayDelegatingEList/NonResolvingEListIterator",707),D(606,295,sot,Get),P(to,"BasicEList/BasicIndexOutOfBoundsException",606),D(696,63,Od,U2t),l.Vc=function(e,n){throw et(new Gr)},l.Fc=function(e){throw et(new Gr)},l.Wc=function(e,n){throw et(new Gr)},l.Gc=function(e){throw et(new Gr)},l.$b=function(){throw et(new Gr)},l.qi=function(e){throw et(new Gr)},l.Kc=function(){return this.Zh()},l.Yc=function(){return this.$h()},l.Zc=function(e){return this._h(e)},l.ii=function(e,n){throw et(new Gr)},l.ji=function(e,n){throw et(new Gr)},l.$c=function(e){throw et(new Gr)},l.Mc=function(e){throw et(new Gr)},l._c=function(e,n){throw et(new Gr)},P(to,"BasicEList/UnmodifiableEList",696),D(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),l.Vc=function(e,n){xXe(this,e,u(n,42))},l.Fc=function(e){return oQe(this,u(e,42))},l.Jc=function(e){Pa(this,e)},l.Xb=function(e){return u(At(this.c,e),133)},l.ii=function(e,n){return u(this.c.ii(e,n),42)},l.ji=function(e,n){kXe(this,e,u(n,42))},l.Lc=function(){return new En(null,new _n(this,16))},l.$c=function(e){return u(this.c.$c(e),42)},l._c=function(e,n){return pen(this,e,u(n,42))},l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.Oc=function(){return new En(null,new _n(this,16))},l.Wc=function(e,n){return this.c.Wc(e,n)},l.Gc=function(e){return this.c.Gc(e)},l.$b=function(){this.c.$b()},l.Hc=function(e){return this.c.Hc(e)},l.Ic=function(e){return PD(this.c,e)},l.qj=function(){var e,n,r;if(this.d==null){for(this.d=Pt($At,A8t,63,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)e=u(n.nj(),133),Vz(this,e);this.e=r}},l.Fb=function(e){return ZWt(this,e)},l.Hb=function(){return fyt(this.c)},l.Xc=function(e){return this.c.Xc(e)},l.rj=function(){this.c=new wzt(this)},l.dc=function(){return this.f==0},l.Kc=function(){return this.c.Kc()},l.Yc=function(){return this.c.Yc()},l.Zc=function(e){return this.c.Zc(e)},l.sj=function(){return pD(this)},l.tj=function(e,n,r){return new pKt(e,n,r)},l.uj=function(){return new kp},l.Mc=function(e){return Dee(this,e)},l.gc=function(){return this.f},l.bd=function(e,n){return new Zd(this.c,e,n)},l.Pc=function(){return this.c.Pc()},l.Qc=function(e){return this.c.Qc(e)},l.Ib=function(){return i3t(this.c)},l.e=0,l.f=0,P(to,"BasicEMap",705),D(1033,63,Od,wzt),l.bi=function(e,n){iKe(this,u(n,133))},l.ei=function(e,n,r){var s;++(s=this,u(n,133),s).a.e},l.fi=function(e,n){sKe(this,u(n,133))},l.gi=function(e,n,r){KXe(this,u(n,133),u(r,133))},l.di=function(e,n){xne(this.a)},P(to,"BasicEMap/1",1033),D(1034,63,Od,kp),l.ri=function(e){return Pt(b6n,n0e,612,e,0,1)},P(to,"BasicEMap/2",1034),D(1035,q1,Xu,mzt),l.$b=function(){this.a.c.$b()},l.Hc=function(e){return Wit(this.a,e)},l.Kc=function(){return this.a.f==0?(d8(),dP.a):new tHt(this.a)},l.Mc=function(e){var n;return n=this.a.f,Oz(this.a,e),this.a.f!=n},l.gc=function(){return this.a.f},P(to,"BasicEMap/3",1035),D(1036,28,wy,yzt),l.$b=function(){this.a.c.$b()},l.Hc=function(e){return sue(this.a,e)},l.Kc=function(){return this.a.f==0?(d8(),dP.a):new eHt(this.a)},l.gc=function(){return this.a.f},P(to,"BasicEMap/4",1036),D(1037,q1,Xu,xzt),l.$b=function(){this.a.c.$b()},l.Hc=function(e){var n,r,s,o,h,d,w,k,_;if(this.a.f>0&&_t(e,42)&&(this.a.qj(),k=u(e,42),w=k.cd(),o=w==null?0:es(w),h=Wbt(this.a,o),n=this.a.d[h],n)){for(r=u(n.g,367),_=n.i,d=0;d<_;++d)if(s=r[d],s.Sh()==o&&s.Fb(k))return!0}return!1},l.Kc=function(){return this.a.f==0?(d8(),dP.a):new irt(this.a)},l.Mc=function(e){return Qoe(this,e)},l.gc=function(){return this.a.f},P(to,"BasicEMap/5",1037),D(613,1,va,irt),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return this.b!=-1},l.Pb=function(){var e;if(this.f.e!=this.c)throw et(new uh);if(this.b==-1)throw et(new _c);return this.d=this.a,this.e=this.b,jse(this),e=u(this.f.d[this.d].g[this.e],133),this.vj(e)},l.Qb=function(){if(this.f.e!=this.c)throw et(new uh);if(this.e==-1)throw et(new qu);this.f.c.Mc(At(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},l.vj=function(e){return e},l.a=0,l.b=-1,l.c=0,l.d=0,l.e=0,P(to,"BasicEMap/BasicEMapIterator",613),D(1031,613,va,tHt),l.vj=function(e){return e.cd()},P(to,"BasicEMap/BasicEMapKeyIterator",1031),D(1032,613,va,eHt),l.vj=function(e){return e.dd()},P(to,"BasicEMap/BasicEMapValueIterator",1032),D(1030,1,pw,kzt),l.wc=function(e){U_(this,e)},l.yc=function(e,n,r){return $it(this,e,n,r)},l.$b=function(){this.a.c.$b()},l._b=function(e){return PGt(this,e)},l.uc=function(e){return sue(this.a,e)},l.vc=function(){return Bsn(this.a)},l.Fb=function(e){return ZWt(this.a,e)},l.xc=function(e){return t1(this.a,e)},l.Hb=function(){return fyt(this.a.c)},l.dc=function(){return this.a.f==0},l.ec=function(){return Rsn(this.a)},l.zc=function(e,n){return Qz(this.a,e,n)},l.Bc=function(e){return Oz(this.a,e)},l.gc=function(){return this.a.f},l.Ib=function(){return i3t(this.a.c)},l.Cc=function(){return Fsn(this.a)},P(to,"BasicEMap/DelegatingMap",1030),D(612,1,{42:1,133:1,612:1},pKt),l.Fb=function(e){var n;return _t(e,42)?(n=u(e,42),(this.b!=null?Pi(this.b,n.cd()):Ut(this.b)===Ut(n.cd()))&&(this.c!=null?Pi(this.c,n.dd()):Ut(this.c)===Ut(n.dd()))):!1},l.Sh=function(){return this.a},l.cd=function(){return this.b},l.dd=function(){return this.c},l.Hb=function(){return this.a^(this.c==null?0:es(this.c))},l.Th=function(e){this.a=e},l.Uh=function(e){throw et(new W2)},l.ed=function(e){var n;return n=this.c,this.c=e,n},l.Ib=function(){return this.b+"->"+this.c},l.a=0;var b6n=P(to,"BasicEMap/EntryImpl",612);D(536,1,{},_k),P(to,"BasicEMap/View",536);var dP;D(768,1,{}),l.Fb=function(e){return f5t((pn(),mo),e)},l.Hb=function(){return Tyt((pn(),mo))},l.Ib=function(){return e2((pn(),mo))},P(to,"ECollections/BasicEmptyUnmodifiableEList",768),D(1312,1,r0,JF),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){throw et(new Gr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw et(new _c)},l.Tb=function(){return 0},l.Ub=function(){throw et(new _c)},l.Vb=function(){return-1},l.Qb=function(){throw et(new Gr)},l.Wb=function(e){throw et(new Gr)},P(to,"ECollections/BasicEmptyUnmodifiableEList/1",1312),D(1310,768,{20:1,14:1,15:1,58:1},hqt),l.Vc=function(e,n){kHt()},l.Fc=function(e){return EHt()},l.Wc=function(e,n){return THt()},l.Gc=function(e){return _Ht()},l.$b=function(){CHt()},l.Hc=function(e){return!1},l.Ic=function(e){return!1},l.Jc=function(e){Pa(this,e)},l.Xb=function(e){return Y2t((pn(),e)),null},l.Xc=function(e){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(e){return this.a},l.ii=function(e,n){return SHt()},l.ji=function(e,n){AHt()},l.Lc=function(){return new En(null,new _n(this,16))},l.$c=function(e){return LHt()},l.Mc=function(e){return MHt()},l._c=function(e,n){return DHt()},l.gc=function(){return 0},l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.Oc=function(){return new En(null,new _n(this,16))},l.bd=function(e,n){return pn(),new Zd(mo,e,n)},l.Pc=function(){return Yvt((pn(),mo))},l.Qc=function(e){return pn(),JD(mo,e)},P(to,"ECollections/EmptyUnmodifiableEList",1310),D(1311,768,{20:1,14:1,15:1,58:1,589:1},fqt),l.Vc=function(e,n){kHt()},l.Fc=function(e){return EHt()},l.Wc=function(e,n){return THt()},l.Gc=function(e){return _Ht()},l.$b=function(){CHt()},l.Hc=function(e){return!1},l.Ic=function(e){return!1},l.Jc=function(e){Pa(this,e)},l.Xb=function(e){return Y2t((pn(),e)),null},l.Xc=function(e){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(e){return this.a},l.ii=function(e,n){return SHt()},l.ji=function(e,n){AHt()},l.Lc=function(){return new En(null,new _n(this,16))},l.$c=function(e){return LHt()},l.Mc=function(e){return MHt()},l._c=function(e,n){return DHt()},l.gc=function(){return 0},l.ad=function(e){n4(this,e)},l.Nc=function(){return new _n(this,16)},l.Oc=function(){return new En(null,new _n(this,16))},l.bd=function(e,n){return pn(),new Zd(mo,e,n)},l.Pc=function(){return Yvt((pn(),mo))},l.Qc=function(e){return pn(),JD(mo,e)},l.sj=function(){return pn(),pn(),l0},P(to,"ECollections/EmptyUnmodifiableEMap",1311);var qAt=ls(to,"Enumerator"),iU;D(281,1,{281:1},eat),l.Fb=function(e){var n;return this===e?!0:_t(e,281)?(n=u(e,281),this.f==n.f&&Ftn(this.i,n.i)&&Ant(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&Ant(this.d,n.d)&&Ant(this.g,n.g)&&Ant(this.e,n.e)&&Mhn(this,n)):!1},l.Hb=function(){return this.f},l.Ib=function(){return Fue(this)},l.f=0;var P4e=0,N4e=0,F4e=0,B4e=0,HAt=0,VAt=0,GAt=0,UAt=0,WAt=0,R4e,iA=0,sA=0,j4e=0,$4e=0,sU,KAt;P(to,"URI",281),D(1091,43,S4,dqt),l.zc=function(e,n){return u(Fo(this,Yr(e),u(n,281)),281)},P(to,"URI/URICache",1091),D(497,63,Od,Ck,Fj),l.hi=function(){return!0},P(to,"UniqueEList",497),D(581,60,K0,R$),P(to,"WrappedException",581);var hi=ls(xh,s0e),Qy=ls(xh,a0e),ju=ls(xh,o0e),Zy=ls(xh,c0e),u1=ls(xh,u0e),Zh=ls(xh,"EClass"),_ft=ls(xh,"EDataType"),z4e;D(1183,43,S4,gqt),l.xc=function(e){return pa(e)?Uc(this,e):gc(Ho(this.f,e))},P(xh,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var aU=ls(xh,"EEnum"),rg=ls(xh,l0e),So=ls(xh,h0e),Jh=ls(xh,f0e),tf,$w=ls(xh,d0e),Jy=ls(xh,g0e);D(1029,1,{},GZ),l.Ib=function(){return"NIL"},P(xh,"EStructuralFeature/Internal/DynamicValueHolder/1",1029);var q4e;D(1028,43,S4,pqt),l.xc=function(e){return pa(e)?Uc(this,e):gc(Ho(this.f,e))},P(xh,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var wu=ls(xh,p0e),Ux=ls(xh,"EValidator/PatternMatcher"),YAt,XAt,Ln,rp,t3,L2,H4e,V4e,G4e,M2,ip,D2,zw,J1,U4e,W4e,ef,sp,K4e,ap,e3,u5,lo,Y4e,X4e,qw,oU=ls(Zi,"FeatureMap/Entry");D(535,1,{72:1},ej),l.ak=function(){return this.a},l.dd=function(){return this.b},P(Mn,"BasicEObjectImpl/1",535),D(1027,1,tut,SGt),l.Wj=function(e){return Nrt(this.a,this.b,e)},l.fj=function(){return oQt(this.a,this.b)},l.Wb=function(e){Dwt(this.a,this.b,e)},l.Xj=function(){Ien(this.a,this.b)},P(Mn,"BasicEObjectImpl/4",1027),D(1983,1,{108:1}),l.bk=function(e){this.e=e==0?Q4e:Pt(ir,De,1,e,5,1)},l.Ch=function(e){return this.e[e]},l.Dh=function(e,n){this.e[e]=n},l.Eh=function(e){this.e[e]=null},l.ck=function(){return this.c},l.dk=function(){throw et(new Gr)},l.ek=function(){throw et(new Gr)},l.fk=function(){return this.d},l.gk=function(){return this.e!=null},l.hk=function(e){this.c=e},l.ik=function(e){throw et(new Gr)},l.jk=function(e){throw et(new Gr)},l.kk=function(e){this.d=e};var Q4e;P(Mn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),D(185,1983,{108:1},ch),l.dk=function(){return this.a},l.ek=function(){return this.b},l.ik=function(e){this.a=e},l.jk=function(e){this.b=e},P(Mn,"BasicEObjectImpl/EPropertiesHolderImpl",185),D(506,97,bde,Sk),l.Kg=function(){return this.f},l.Pg=function(){return this.k},l.Rg=function(e,n){this.g=e,this.i=n},l.Tg=function(){return this.j&2?this.ph().ck():this.zh()},l.Vg=function(){return this.i},l.Mg=function(){return(this.j&1)!=0},l.eh=function(){return this.g},l.kh=function(){return(this.j&4)!=0},l.ph=function(){return!this.k&&(this.k=new ch),this.k},l.th=function(e){this.ph().hk(e),e?this.j|=2:this.j&=-3},l.vh=function(e){this.ph().jk(e),e?this.j|=4:this.j&=-5},l.zh=function(){return(Hp(),Ln).S},l.i=0,l.j=1,P(Mn,"EObjectImpl",506),D(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},Dvt),l.Ch=function(e){return this.e[e]},l.Dh=function(e,n){this.e[e]=n},l.Eh=function(e){this.e[e]=null},l.Tg=function(){return this.d},l.Yg=function(e){return rs(this.d,e)},l.$g=function(){return this.d},l.dh=function(){return this.e!=null},l.ph=function(){return!this.k&&(this.k=new tB),this.k},l.th=function(e){this.d=e},l.yh=function(){var e;return this.e==null&&(e=or(this.d),this.e=e==0?Z4e:Pt(ir,De,1,e,5,1)),this},l.Ah=function(){return 0};var Z4e;P(Mn,"DynamicEObjectImpl",780),D(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},qKt),l.Fb=function(e){return this===e},l.Hb=function(){return Mv(this)},l.th=function(e){this.d=e,this.b=vI(e,"key"),this.c=vI(e,YC)},l.Sh=function(){var e;return this.a==-1&&(e=Wrt(this,this.b),this.a=e==null?0:es(e)),this.a},l.cd=function(){return Wrt(this,this.b)},l.dd=function(){return Wrt(this,this.c)},l.Th=function(e){this.a=e},l.Uh=function(e){Dwt(this,this.b,e)},l.ed=function(e){var n;return n=Wrt(this,this.c),Dwt(this,this.c,e),n},l.a=0,P(Mn,"DynamicEObjectImpl/BasicEMapEntry",1376),D(1377,1,{108:1},tB),l.bk=function(e){throw et(new Gr)},l.Ch=function(e){throw et(new Gr)},l.Dh=function(e,n){throw et(new Gr)},l.Eh=function(e){throw et(new Gr)},l.ck=function(){throw et(new Gr)},l.dk=function(){return this.a},l.ek=function(){return this.b},l.fk=function(){return this.c},l.gk=function(){throw et(new Gr)},l.hk=function(e){throw et(new Gr)},l.ik=function(e){this.a=e},l.jk=function(e){this.b=e},l.kk=function(e){this.c=e},P(Mn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),D(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},eB),l.Qg=function(e){return X3t(this,e)},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Ml((hn(),lo),xc,this)),this.b):(!this.b&&(this.b=new Ml((hn(),lo),xc,this)),pD(this.b));case 3:return fQt(this);case 4:return!this.a&&(this.a=new qs(C2,this,4)),this.a;case 5:return!this.c&&(this.c=new W3(C2,this,5)),this.c}return ph(this,e-or((hn(),rp)),wn((s=u(In(this,16),26),s||rp),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 3:return this.Cb&&(r=(o=this.Db>>16,o>=0?X3t(this,r):this.Cb.ih(this,-1-o,null,r))),Wvt(this,u(e,147),r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),rp)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),rp)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 2:return!this.b&&(this.b=new Ml((hn(),lo),xc,this)),Tj(this.b,e,r);case 3:return Wvt(this,null,r);case 4:return!this.a&&(this.a=new qs(C2,this,4)),Ja(this.a,e,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),rp)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),rp)),e,r)},l.lh=function(e){var n;switch(e){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!!fQt(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return dh(this,e-or((hn(),rp)),wn((n=u(In(this,16),26),n||rp),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:xtn(this,Yr(n));return;case 2:!this.b&&(this.b=new Ml((hn(),lo),xc,this)),fz(this.b,n);return;case 3:Cce(this,u(n,147));return;case 4:!this.a&&(this.a=new qs(C2,this,4)),Pr(this.a),!this.a&&(this.a=new qs(C2,this,4)),vs(this.a,u(n,14));return;case 5:!this.c&&(this.c=new W3(C2,this,5)),Pr(this.c),!this.c&&(this.c=new W3(C2,this,5)),vs(this.c,u(n,14));return}yh(this,e-or((hn(),rp)),wn((r=u(In(this,16),26),r||rp),e),n)},l.zh=function(){return hn(),rp},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:Qmt(this,null);return;case 2:!this.b&&(this.b=new Ml((hn(),lo),xc,this)),this.b.c.$b();return;case 3:Cce(this,null);return;case 4:!this.a&&(this.a=new qs(C2,this,4)),Pr(this.a);return;case 5:!this.c&&(this.c=new W3(C2,this,5)),Pr(this.c);return}wh(this,e-or((hn(),rp)),wn((n=u(In(this,16),26),n||rp),e))},l.Ib=function(){return zre(this)},l.d=null,P(Mn,"EAnnotationImpl",510),D(151,705,L8t,Pl),l.Xh=function(e,n){rXe(this,e,u(n,42))},l.lk=function(e,n){return QQe(this,u(e,42),n)},l.pi=function(e){return u(u(this.c,69).pi(e),133)},l.Zh=function(){return u(this.c,69).Zh()},l.$h=function(){return u(this.c,69).$h()},l._h=function(e){return u(this.c,69)._h(e)},l.mk=function(e,n){return Tj(this,e,n)},l.Wj=function(e){return u(this.c,76).Wj(e)},l.rj=function(){},l.fj=function(){return u(this.c,76).fj()},l.tj=function(e,n,r){var s;return s=u(Vl(this.b).Nh().Jh(this.b),133),s.Th(e),s.Uh(n),s.ed(r),s},l.uj=function(){return new bpt(this)},l.Wb=function(e){fz(this,e)},l.Xj=function(){u(this.c,76).Xj()},P(Zi,"EcoreEMap",151),D(158,151,L8t,Ml),l.qj=function(){var e,n,r,s,o,h;if(this.d==null){for(h=Pt($At,A8t,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=u(r.nj(),133),s=n.Sh(),o=(s&Di)%h.length,e=h[o],!e&&(e=h[o]=new bpt(this)),e.Fc(n);this.d=h}},P(Mn,"EAnnotationImpl/1",158),D(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),l._g=function(e,n,r){var s,o;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),!!this.$j();case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q}return ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 9:return Gnt(this,r)}return o=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),o.Nj().Rj(this,fu(this),n-or(this.zh()),e,r)},l.lh=function(e){var n,r;switch(e){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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0)}return dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.sh=function(e,n){var r,s;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:this.Lh(Yr(n));return;case 2:Rg(this,je(Be(n)));return;case 3:jg(this,je(Be(n)));return;case 4:Ng(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:gb(this,u(n,138));return;case 9:s=z1(this,u(n,87),null),s&&s.Fi();return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.zh=function(){return hn(),X4e},l.Bh=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:this.Lh(null);return;case 2:Rg(this,!0);return;case 3:jg(this,!0);return;case 4:Ng(this,0);return;case 5:this.ok(1);return;case 8:gb(this,null);return;case 9:r=z1(this,null,null),r&&r.Fi();return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.Gh=function(){Bh(this),this.Bb|=1},l.Yj=function(){return Bh(this)},l.Zj=function(){return this.t},l.$j=function(){var e;return e=this.t,e>1||e==-1},l.hi=function(){return(this.Bb&512)!=0},l.nk=function(e,n){return Gyt(this,e,n)},l.ok=function(e){ty(this,e)},l.Ib=function(){return n5t(this)},l.s=0,l.t=1,P(Mn,"ETypedElementImpl",284),D(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),l.Qg=function(e){return Ese(this,e)},l._g=function(e,n,r){var s,o;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),!!this.$j();case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q;case 10:return Rn(),!!(this.Bb&_f);case 11:return Rn(),!!(this.Bb&Ay);case 12:return Rn(),!!(this.Bb&yy);case 13:return this.j;case 14:return y7(this);case 15:return Rn(),!!(this.Bb&Zu);case 16:return Rn(),!!(this.Bb&Ed);case 17:return Gm(this)}return ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 17:return this.Cb&&(r=(o=this.Db>>16,o>=0?Ese(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,17,r)}return h=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),h.Nj().Qj(this,fu(this),n-or(this.zh()),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 9:return Gnt(this,r);case 17:return Yl(this,null,17,r)}return o=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),o.Nj().Rj(this,fu(this),n-or(this.zh()),e,r)},l.lh=function(e){var n,r;switch(e){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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&Ay)!=0;case 12:return(this.Bb&yy)!=0;case 13:return this.j!=null;case 14:return y7(this)!=null;case 15:return(this.Bb&Zu)!=0;case 16:return(this.Bb&Ed)!=0;case 17:return!!Gm(this)}return dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.sh=function(e,n){var r,s;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:mrt(this,Yr(n));return;case 2:Rg(this,je(Be(n)));return;case 3:jg(this,je(Be(n)));return;case 4:Ng(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:gb(this,u(n,138));return;case 9:s=z1(this,u(n,87),null),s&&s.Fi();return;case 10:r7(this,je(Be(n)));return;case 11:a7(this,je(Be(n)));return;case 12:i7(this,je(Be(n)));return;case 13:W2t(this,Yr(n));return;case 15:s7(this,je(Be(n)));return;case 16:o7(this,je(Be(n)));return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.zh=function(){return hn(),Y4e},l.Bh=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,88)&&hy(gl(u(this.Cb,88)),4),su(this,null);return;case 2:Rg(this,!0);return;case 3:jg(this,!0);return;case 4:Ng(this,0);return;case 5:this.ok(1);return;case 8:gb(this,null);return;case 9:r=z1(this,null,null),r&&r.Fi();return;case 10:r7(this,!0);return;case 11:a7(this,!1);return;case 12:i7(this,!1);return;case 13:this.i=null,rz(this,null);return;case 15:s7(this,!1);return;case 16:o7(this,!1);return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.Gh=function(){E8(Ro((Yu(),Fa),this)),Bh(this),this.Bb|=1},l.Gj=function(){return this.f},l.zj=function(){return y7(this)},l.Hj=function(){return Gm(this)},l.Lj=function(){return null},l.pk=function(){return this.k},l.aj=function(){return this.n},l.Mj=function(){return Jz(this)},l.Nj=function(){var e,n,r,s,o,h,d,w,k;return this.p||(r=Gm(this),(r.i==null&&kd(r),r.i).length,s=this.Lj(),s&&or(Gm(s)),o=Bh(this),d=o.Bj(),e=d?d.i&1?d==Tl?Zs:d==Fr?eo:d==r3?Q7:d==wa?Ea:d==O2?Ew:d==d5?Tw:d==tl?Tx:aS:d:null,n=y7(this),w=o.zj(),eln(this),this.Bb&Ed&&((h=r4t((Yu(),Fa),r))&&h!=this||(h=H6(Ro(Fa,this))))?this.p=new LGt(this,h):this.$j()?this.rk()?s?this.Bb&Zu?e?this.sk()?this.p=new tb(47,e,this,s):this.p=new tb(5,e,this,s):this.sk()?this.p=new rb(46,this,s):this.p=new rb(4,this,s):e?this.sk()?this.p=new tb(49,e,this,s):this.p=new tb(7,e,this,s):this.sk()?this.p=new rb(48,this,s):this.p=new rb(6,this,s):this.Bb&Zu?e?e==Ib?this.p=new Lg(50,D4e,this):this.sk()?this.p=new Lg(43,e,this):this.p=new Lg(1,e,this):this.sk()?this.p=new Dg(42,this):this.p=new Dg(0,this):e?e==Ib?this.p=new Lg(41,D4e,this):this.sk()?this.p=new Lg(45,e,this):this.p=new Lg(3,e,this):this.sk()?this.p=new Dg(44,this):this.p=new Dg(2,this):_t(o,148)?e==oU?this.p=new Dg(40,this):this.Bb&512?this.Bb&Zu?e?this.p=new Lg(9,e,this):this.p=new Dg(8,this):e?this.p=new Lg(11,e,this):this.p=new Dg(10,this):this.Bb&Zu?e?this.p=new Lg(13,e,this):this.p=new Dg(12,this):e?this.p=new Lg(15,e,this):this.p=new Dg(14,this):s?(k=s.t,k>1||k==-1?this.sk()?this.Bb&Zu?e?this.p=new tb(25,e,this,s):this.p=new rb(24,this,s):e?this.p=new tb(27,e,this,s):this.p=new rb(26,this,s):this.Bb&Zu?e?this.p=new tb(29,e,this,s):this.p=new rb(28,this,s):e?this.p=new tb(31,e,this,s):this.p=new rb(30,this,s):this.sk()?this.Bb&Zu?e?this.p=new tb(33,e,this,s):this.p=new rb(32,this,s):e?this.p=new tb(35,e,this,s):this.p=new rb(34,this,s):this.Bb&Zu?e?this.p=new tb(37,e,this,s):this.p=new rb(36,this,s):e?this.p=new tb(39,e,this,s):this.p=new rb(38,this,s)):this.sk()?this.Bb&Zu?e?this.p=new Lg(17,e,this):this.p=new Dg(16,this):e?this.p=new Lg(19,e,this):this.p=new Dg(18,this):this.Bb&Zu?e?this.p=new Lg(21,e,this):this.p=new Dg(20,this):e?this.p=new Lg(23,e,this):this.p=new Dg(22,this):this.qk()?this.sk()?this.p=new bKt(u(o,26),this,s):this.p=new Mwt(u(o,26),this,s):_t(o,148)?e==oU?this.p=new Dg(40,this):this.Bb&Zu?e?this.p=new gYt(n,w,this,(Uit(),d==Fr?rLt:d==Tl?ZAt:d==O2?iLt:d==r3?nLt:d==wa?eLt:d==d5?sLt:d==tl?JAt:d==Sh?tLt:Aft)):this.p=new CXt(u(o,148),n,w,this):e?this.p=new dYt(n,w,this,(Uit(),d==Fr?rLt:d==Tl?ZAt:d==O2?iLt:d==r3?nLt:d==wa?eLt:d==d5?sLt:d==tl?JAt:d==Sh?tLt:Aft)):this.p=new _Xt(u(o,148),n,w,this):this.rk()?s?this.Bb&Zu?this.sk()?this.p=new wKt(u(o,26),this,s):this.p=new xvt(u(o,26),this,s):this.sk()?this.p=new vKt(u(o,26),this,s):this.p=new xnt(u(o,26),this,s):this.Bb&Zu?this.sk()?this.p=new dWt(u(o,26),this):this.p=new Nbt(u(o,26),this):this.sk()?this.p=new fWt(u(o,26),this):this.p=new ont(u(o,26),this):this.sk()?s?this.Bb&Zu?this.p=new mKt(u(o,26),this,s):this.p=new mvt(u(o,26),this,s):this.Bb&Zu?this.p=new gWt(u(o,26),this):this.p=new Fbt(u(o,26),this):s?this.Bb&Zu?this.p=new yKt(u(o,26),this,s):this.p=new yvt(u(o,26),this,s):this.Bb&Zu?this.p=new pWt(u(o,26),this):this.p=new Bj(u(o,26),this)),this.p},l.Ij=function(){return(this.Bb&_f)!=0},l.qk=function(){return!1},l.rk=function(){return!1},l.Jj=function(){return(this.Bb&Ed)!=0},l.Oj=function(){return Yrt(this)},l.sk=function(){return!1},l.Kj=function(){return(this.Bb&Zu)!=0},l.tk=function(e){this.k=e},l.Lh=function(e){mrt(this,e)},l.Ib=function(){return vq(this)},l.e=!1,l.n=0,P(Mn,"EStructuralFeatureImpl",449),D(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Utt),l._g=function(e,n,r){var s,o;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),!!Z4t(this);case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q;case 10:return Rn(),!!(this.Bb&_f);case 11:return Rn(),!!(this.Bb&Ay);case 12:return Rn(),!!(this.Bb&yy);case 13:return this.j;case 14:return y7(this);case 15:return Rn(),!!(this.Bb&Zu);case 16:return Rn(),!!(this.Bb&Ed);case 17:return Gm(this);case 18:return Rn(),!!(this.Bb&Ac);case 19:return n?dit(this):CJt(this)}return ph(this,e-or((hn(),t3)),wn((s=u(In(this,16),26),s||t3),e),n,r)},l.lh=function(e){var n,r;switch(e){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 Z4t(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&Ay)!=0;case 12:return(this.Bb&yy)!=0;case 13:return this.j!=null;case 14:return y7(this)!=null;case 15:return(this.Bb&Zu)!=0;case 16:return(this.Bb&Ed)!=0;case 17:return!!Gm(this);case 18:return(this.Bb&Ac)!=0;case 19:return!!CJt(this)}return dh(this,e-or((hn(),t3)),wn((n=u(In(this,16),26),n||t3),e))},l.sh=function(e,n){var r,s;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:mrt(this,Yr(n));return;case 2:Rg(this,je(Be(n)));return;case 3:jg(this,je(Be(n)));return;case 4:Ng(this,u(n,19).a);return;case 5:iHt(this,u(n,19).a);return;case 8:gb(this,u(n,138));return;case 9:s=z1(this,u(n,87),null),s&&s.Fi();return;case 10:r7(this,je(Be(n)));return;case 11:a7(this,je(Be(n)));return;case 12:i7(this,je(Be(n)));return;case 13:W2t(this,Yr(n));return;case 15:s7(this,je(Be(n)));return;case 16:o7(this,je(Be(n)));return;case 18:Rit(this,je(Be(n)));return}yh(this,e-or((hn(),t3)),wn((r=u(In(this,16),26),r||t3),e),n)},l.zh=function(){return hn(),t3},l.Bh=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,88)&&hy(gl(u(this.Cb,88)),4),su(this,null);return;case 2:Rg(this,!0);return;case 3:jg(this,!0);return;case 4:Ng(this,0);return;case 5:this.b=0,ty(this,1);return;case 8:gb(this,null);return;case 9:r=z1(this,null,null),r&&r.Fi();return;case 10:r7(this,!0);return;case 11:a7(this,!1);return;case 12:i7(this,!1);return;case 13:this.i=null,rz(this,null);return;case 15:s7(this,!1);return;case 16:o7(this,!1);return;case 18:Rit(this,!1);return}wh(this,e-or((hn(),t3)),wn((n=u(In(this,16),26),n||t3),e))},l.Gh=function(){dit(this),E8(Ro((Yu(),Fa),this)),Bh(this),this.Bb|=1},l.$j=function(){return Z4t(this)},l.nk=function(e,n){return this.b=0,this.a=null,Gyt(this,e,n)},l.ok=function(e){iHt(this,e)},l.Ib=function(){var e;return this.Db&64?vq(this):(e=new Ih(vq(this)),e.a+=" (iD: ",Cg(e,(this.Bb&Ac)!=0),e.a+=")",e.a)},l.b=0,P(Mn,"EAttributeImpl",322),D(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),l.uk=function(e){return e.Tg()==this},l.Qg=function(e){return wst(this,e)},l.Rg=function(e,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=e},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return ow(this);case 4:return this.zj();case 5:return this.F;case 6:return n?Vl(this):C8(this);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),this.A}return ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?wst(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,6,r)}return h=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),h.Nj().Qj(this,fu(this),n-or(this.zh()),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),Ja(this.A,e,r)}return o=u(wn((s=u(In(this,16),26),s||this.zh()),n),66),o.Nj().Rj(this,fu(this),n-or(this.zh()),e,r)},l.lh=function(e){var n;switch(e){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!!ow(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!C8(this);case 7:return!!this.A&&this.A.i!=0}return dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:v$(this,Yr(n));return;case 2:Ket(this,Yr(n));return;case 5:C7(this,Yr(n));return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A),!this.A&&(this.A=new Vu(wu,this,7)),vs(this.A,u(n,14));return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.zh=function(){return hn(),H4e},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,179)&&(u(this.Cb,179).tb=null),su(this,null);return;case 2:J8(this,null),z8(this,this.D);return;case 5:C7(this,null);return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A);return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.yj=function(){var e;return this.G==-1&&(this.G=(e=Vl(this),e?$g(e.Mh(),this):-1)),this.G},l.zj=function(){return null},l.Aj=function(){return Vl(this)},l.vk=function(){return this.v},l.Bj=function(){return ow(this)},l.Cj=function(){return this.D!=null?this.D:this.B},l.Dj=function(){return this.F},l.wj=function(e){return lat(this,e)},l.wk=function(e){this.v=e},l.xk=function(e){nne(this,e)},l.yk=function(e){this.C=e},l.Lh=function(e){v$(this,e)},l.Ib=function(){return Lz(this)},l.C=null,l.D=null,l.G=-1,P(Mn,"EClassifierImpl",351),D(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},JL),l.uk=function(e){return BQe(this,e.Tg())},l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return ow(this);case 4:return null;case 5:return this.F;case 6:return n?Vl(this):C8(this);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),this.A;case 8:return Rn(),!!(this.Bb&256);case 9:return Rn(),!!(this.Bb&512);case 10:return qo(this);case 11:return!this.q&&(this.q=new pe(Jh,this,11,10)),this.q;case 12:return E4(this);case 13:return kC(this);case 14:return kC(this),this.r;case 15:return E4(this),this.k;case 16:return q4t(this);case 17:return pat(this);case 18:return kd(this);case 19:return lq(this);case 20:return E4(this),this.o;case 21:return!this.s&&(this.s=new pe(ju,this,21,17)),this.s;case 22:return $c(this);case 23:return tat(this)}return ph(this,e-or((hn(),L2)),wn((s=u(In(this,16),26),s||L2),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?wst(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,6,r);case 11:return!this.q&&(this.q=new pe(Jh,this,11,10)),au(this.q,e,r);case 21:return!this.s&&(this.s=new pe(ju,this,21,17)),au(this.s,e,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),L2)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),L2)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),Ja(this.A,e,r);case 11:return!this.q&&(this.q=new pe(Jh,this,11,10)),Ja(this.q,e,r);case 21:return!this.s&&(this.s=new pe(ju,this,21,17)),Ja(this.s,e,r);case 22:return Ja($c(this),e,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),L2)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),L2)),e,r)},l.lh=function(e){var n;switch(e){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!!ow(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!C8(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&&ost(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return E4(this).i!=0;case 13:return kC(this).i!=0;case 14:return kC(this),this.r.i!=0;case 15:return E4(this),this.k.i!=0;case 16:return q4t(this).i!=0;case 17:return pat(this).i!=0;case 18:return kd(this).i!=0;case 19:return lq(this).i!=0;case 20:return E4(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&ost(this.n);case 23:return tat(this).i!=0}return dh(this,e-or((hn(),L2)),wn((n=u(In(this,16),26),n||L2),e))},l.oh=function(e){var n;return n=this.i==null||this.q&&this.q.i!=0?null:vI(this,e),n||m6t(this,e)},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:v$(this,Yr(n));return;case 2:Ket(this,Yr(n));return;case 5:C7(this,Yr(n));return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A),!this.A&&(this.A=new Vu(wu,this,7)),vs(this.A,u(n,14));return;case 8:Wyt(this,je(Be(n)));return;case 9:Kyt(this,je(Be(n)));return;case 10:_C(qo(this)),vs(qo(this),u(n,14));return;case 11:!this.q&&(this.q=new pe(Jh,this,11,10)),Pr(this.q),!this.q&&(this.q=new pe(Jh,this,11,10)),vs(this.q,u(n,14));return;case 21:!this.s&&(this.s=new pe(ju,this,21,17)),Pr(this.s),!this.s&&(this.s=new pe(ju,this,21,17)),vs(this.s,u(n,14));return;case 22:Pr($c(this)),vs($c(this),u(n,14));return}yh(this,e-or((hn(),L2)),wn((r=u(In(this,16),26),r||L2),e),n)},l.zh=function(){return hn(),L2},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,179)&&(u(this.Cb,179).tb=null),su(this,null);return;case 2:J8(this,null),z8(this,this.D);return;case 5:C7(this,null);return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A);return;case 8:Wyt(this,!1);return;case 9:Kyt(this,!1);return;case 10:this.u&&_C(this.u);return;case 11:!this.q&&(this.q=new pe(Jh,this,11,10)),Pr(this.q);return;case 21:!this.s&&(this.s=new pe(ju,this,21,17)),Pr(this.s);return;case 22:this.n&&Pr(this.n);return}wh(this,e-or((hn(),L2)),wn((n=u(In(this,16),26),n||L2),e))},l.Gh=function(){var e,n;if(E4(this),kC(this),q4t(this),pat(this),kd(this),lq(this),tat(this),R_(ttn(gl(this))),this.s)for(e=0,n=this.s.i;e<n;++e)jM(At(this.s,e));if(this.q)for(e=0,n=this.q.i;e<n;++e)jM(At(this.q,e));Bg((Yu(),Fa),this).ne(),this.Bb|=1},l.Ib=function(){return l4t(this)},l.k=null,l.r=null;var aA,J4e,Cft;P(Mn,"EClassImpl",88),D(1994,1993,w0e),l.Vh=function(e,n){return hat(this,e,n)},l.Wh=function(e){return hat(this,this.i,e)},l.Xh=function(e,n){r5t(this,e,n)},l.Yh=function(e){Hst(this,e)},l.lk=function(e,n){return au(this,e,n)},l.pi=function(e){return _mt(this,e)},l.mk=function(e,n){return Ja(this,e,n)},l.mi=function(e,n){return fle(this,e,n)},l.Zh=function(){return new D6(this)},l.$h=function(){return new RM(this)},l._h=function(e){return LD(this,e)},P(Zi,"NotifyingInternalEListImpl",1994),D(622,1994,ec),l.Hc=function(e){return Mle(this,e)},l.Zi=function(e,n,r,s,o){return I_(this,e,n,r,s,o)},l.$i=function(e){Yk(this,e)},l.Wj=function(e){return this},l.ak=function(){return wn(this.e.Tg(),this.aj())},l._i=function(){return this.ak()},l.aj=function(){return rs(this.e.Tg(),this.ak())},l.zk=function(){return u(this.ak().Yj(),26).Bj()},l.Ak=function(){return vo(u(this.ak(),18)).n},l.Ai=function(){return this.e},l.Bk=function(){return!0},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!1},l.Xc=function(e){return $g(this,e)},l.cj=function(e,n){var r;return r=u(e,49),this.Dk()?this.Bk()?r.gh(this.e,this.Ak(),this.zk(),n):r.gh(this.e,rs(r.Tg(),vo(u(this.ak(),18))),null,n):r.gh(this.e,-1-this.aj(),null,n)},l.dj=function(e,n){var r;return r=u(e,49),this.Dk()?this.Bk()?r.ih(this.e,this.Ak(),this.zk(),n):r.ih(this.e,rs(r.Tg(),vo(u(this.ak(),18))),null,n):r.ih(this.e,-1-this.aj(),null,n)},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(e){return CZt(this.d,e)},l.ej=function(){return Ll(this.e)},l.fj=function(){return this.i!=0},l.ri=function(e){return AD(this.d,e)},l.li=function(e,n){return this.Fk()&&this.Ek()?cx(this,e,u(n,56)):n},l.Gk=function(e){return e.kh()?Zp(this.e,u(e,49)):e},l.Wb=function(e){_Ut(this,e)},l.Pc=function(){return lte(this)},l.Qc=function(e){var n;if(this.Ek())for(n=this.i-1;n>=0;--n)At(this,n);return b3t(this,e)},l.Xj=function(){Pr(this)},l.oi=function(e,n){return _ee(this,e,n)},P(Zi,"EcoreEList",622),D(496,622,ec,XM),l.ai=function(){return!1},l.aj=function(){return this.c},l.bj=function(){return!1},l.Fk=function(){return!0},l.hi=function(){return!0},l.li=function(e,n){return n},l.ni=function(){return!1},l.c=0,P(Zi,"EObjectEList",496),D(85,496,ec,qs),l.bj=function(){return!0},l.Dk=function(){return!1},l.rk=function(){return!0},P(Zi,"EObjectContainmentEList",85),D(545,85,ec,dj),l.ci=function(){this.b=!0},l.fj=function(){return this.b},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.b,this.b=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.b=!1},l.b=!1,P(Zi,"EObjectContainmentEList/Unsettable",545),D(1140,545,ec,hYt),l.ii=function(e,n){var r,s;return r=u(tC(this,e,n),87),Ll(this.e)&&Yk(this,new vD(this.a,7,(hn(),V4e),ve(n),(s=r.c,_t(s,88)?u(s,26):ef),e)),r},l.jj=function(e,n){return qln(this,u(e,87),n)},l.kj=function(e,n){return zln(this,u(e,87),n)},l.lj=function(e,n,r){return H1n(this,u(e,87),u(n,87),r)},l.Zi=function(e,n,r,s,o){switch(e){case 3:return I_(this,e,n,r,s,this.i>1);case 5:return I_(this,e,n,r,s,this.i-u(r,15).gc()>0);default:return new R0(this.e,e,this.c,n,r,s,!0)}},l.ij=function(){return!0},l.fj=function(){return ost(this)},l.Xj=function(){Pr(this)},P(Mn,"EClassImpl/1",1140),D(1154,1153,S8t),l.ui=function(e){var n,r,s,o,h,d,w;if(r=e.xi(),r!=8){if(s=_hn(e),s==0)switch(r){case 1:case 9:{w=e.Bi(),w!=null&&(n=gl(u(w,473)),!n.c&&(n.c=new xm),z$(n.c,e.Ai())),d=e.zi(),d!=null&&(o=u(d,473),o.Bb&1||(n=gl(o),!n.c&&(n.c=new xm),Hr(n.c,u(e.Ai(),26))));break}case 3:{d=e.zi(),d!=null&&(o=u(d,473),o.Bb&1||(n=gl(o),!n.c&&(n.c=new xm),Hr(n.c,u(e.Ai(),26))));break}case 5:{if(d=e.zi(),d!=null)for(h=u(d,14).Kc();h.Ob();)o=u(h.Pb(),473),o.Bb&1||(n=gl(o),!n.c&&(n.c=new xm),Hr(n.c,u(e.Ai(),26)));break}case 4:{w=e.Bi(),w!=null&&(o=u(w,473),o.Bb&1||(n=gl(o),!n.c&&(n.c=new xm),z$(n.c,e.Ai())));break}case 6:{if(w=e.Bi(),w!=null)for(h=u(w,14).Kc();h.Ob();)o=u(h.Pb(),473),o.Bb&1||(n=gl(o),!n.c&&(n.c=new xm),z$(n.c,e.Ai()));break}}this.Hk(s)}},l.Hk=function(e){lue(this,e)},l.b=63,P(Mn,"ESuperAdapter",1154),D(1155,1154,S8t,Ezt),l.Hk=function(e){hy(this,e)},P(Mn,"EClassImpl/10",1155),D(1144,696,ec),l.Vh=function(e,n){return Lst(this,e,n)},l.Wh=function(e){return ase(this,e)},l.Xh=function(e,n){VD(this,e,n)},l.Yh=function(e){fD(this,e)},l.pi=function(e){return _mt(this,e)},l.mi=function(e,n){return Krt(this,e,n)},l.lk=function(e,n){throw et(new Gr)},l.Zh=function(){return new D6(this)},l.$h=function(){return new RM(this)},l._h=function(e){return LD(this,e)},l.mk=function(e,n){throw et(new Gr)},l.Wj=function(e){return this},l.fj=function(){return this.i!=0},l.Wb=function(e){throw et(new Gr)},l.Xj=function(){throw et(new Gr)},P(Zi,"EcoreEList/UnmodifiableEList",1144),D(319,1144,ec,H3),l.ni=function(){return!1},P(Zi,"EcoreEList/UnmodifiableEList/FastCompare",319),D(1147,319,ec,Kne),l.Xc=function(e){var n,r,s;if(_t(e,170)&&(n=u(e,170),r=n.aj(),r!=-1)){for(s=this.i;r<s;++r)if(Ut(this.g[r])===Ut(e))return r}return-1},P(Mn,"EClassImpl/1EAllStructuralFeaturesList",1147),D(1141,497,Od,r6),l.ri=function(e){return Pt(So,m0e,87,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/1EGenericSuperTypeEList",1141),D(623,497,Od,V2),l.ri=function(e){return Pt(ju,F4,170,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/1EStructuralFeatureUniqueEList",623),D(741,497,Od,S0),l.ri=function(e){return Pt(Jy,F4,18,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/1ReferenceList",741),D(1142,497,Od,Tzt),l.bi=function(e,n){Gtn(this,u(n,34))},l.ri=function(e){return Pt(Zy,F4,34,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/2",1142),D(1143,497,Od,Ep),l.ri=function(e){return Pt(Zy,F4,34,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/3",1143),D(1145,319,ec,AKt),l.Fc=function(e){return KJe(this,u(e,34))},l.Yh=function(e){nYe(this,u(e,34))},P(Mn,"EClassImpl/4",1145),D(1146,319,ec,LKt),l.Fc=function(e){return YJe(this,u(e,18))},l.Yh=function(e){rYe(this,u(e,18))},P(Mn,"EClassImpl/5",1146),D(1148,497,Od,A3),l.ri=function(e){return Pt(Jh,M8t,59,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/6",1148),D(1149,497,Od,Ak),l.ri=function(e){return Pt(Jy,F4,18,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/7",1149),D(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),l.Vh=function(e,n){return Y5t(this,e,n)},l.Wh=function(e){return Y5t(this,this.Vi(),e)},l.Xh=function(e,n){Hoe(this,e,n)},l.Yh=function(e){Poe(this,e)},l.lk=function(e,n){return hfn(this,e,n)},l.mk=function(e,n){return Nhn(this,e,n)},l.mi=function(e,n){return Que(this,e,n)},l.pi=function(e){return this.Oi(e)},l.Zh=function(){return new D6(this)},l.Gi=function(){return this.Ji()},l.$h=function(){return new RM(this)},l._h=function(e){return LD(this,e)},P(Zi,"DelegatingNotifyingInternalEListImpl",1997),D(742,1997,D8t),l.ai=function(){var e;return e=wn(Su(this.b),this.aj()).Yj(),_t(e,148)&&!_t(e,457)&&(e.Bj().i&1)==0},l.Hc=function(e){var n,r,s,o,h,d,w,k;if(this.Fk()){if(k=this.Vi(),k>4)if(this.wj(e)){if(this.rk()){if(s=u(e,49),r=s.Ug(),w=r==this.b&&(this.Dk()?s.Og(s.Vg(),u(wn(Su(this.b),this.aj()).Yj(),26).Bj())==vo(u(wn(Su(this.b),this.aj()),18)).n:-1-s.Vg()==this.aj()),this.Ek()&&!w&&!r&&s.Zg()){for(o=0;o<k;++o)if(n=Fnt(this,this.Oi(o)),Ut(n)===Ut(e))return!0}return w}else if(this.Dk()&&!this.Ck()){if(h=u(e,56).ah(vo(u(wn(Su(this.b),this.aj()),18))),Ut(h)===Ut(this.b))return!0;if(h==null||!u(h,56).kh())return!1}}else return!1;if(d=this.Li(e),this.Ek()&&!d){for(o=0;o<k;++o)if(s=Fnt(this,this.Oi(o)),Ut(s)===Ut(e))return!0}return d}else return this.Li(e)},l.Zi=function(e,n,r,s,o){return new R0(this.b,e,this.aj(),n,r,s,o)},l.$i=function(e){Oi(this.b,e)},l.Wj=function(e){return this},l._i=function(){return wn(Su(this.b),this.aj())},l.aj=function(){return rs(Su(this.b),wn(Su(this.b),this.aj()))},l.Ai=function(){return this.b},l.Bk=function(){return!!wn(Su(this.b),this.aj()).Yj().Bj()},l.bj=function(){var e,n;return n=wn(Su(this.b),this.aj()),_t(n,99)?(e=u(n,18),(e.Bb&Ac)!=0||!!vo(u(n,18))):!1},l.Ck=function(){var e,n,r,s;return n=wn(Su(this.b),this.aj()),_t(n,99)?(e=u(n,18),r=vo(e),!!r&&(s=r.t,s>1||s==-1)):!1},l.Dk=function(){var e,n,r;return n=wn(Su(this.b),this.aj()),_t(n,99)?(e=u(n,18),r=vo(e),!!r):!1},l.Ek=function(){var e,n;return n=wn(Su(this.b),this.aj()),_t(n,99)?(e=u(n,18),(e.Bb&co)!=0):!1},l.Xc=function(e){var n,r,s,o;if(s=this.Qi(e),s>=0)return s;if(this.Fk()){for(r=0,o=this.Vi();r<o;++r)if(n=Fnt(this,this.Oi(r)),Ut(n)===Ut(e))return r}return-1},l.cj=function(e,n){var r;return r=u(e,49),this.Dk()?this.Bk()?r.gh(this.b,vo(u(wn(Su(this.b),this.aj()),18)).n,u(wn(Su(this.b),this.aj()).Yj(),26).Bj(),n):r.gh(this.b,rs(r.Tg(),vo(u(wn(Su(this.b),this.aj()),18))),null,n):r.gh(this.b,-1-this.aj(),null,n)},l.dj=function(e,n){var r;return r=u(e,49),this.Dk()?this.Bk()?r.ih(this.b,vo(u(wn(Su(this.b),this.aj()),18)).n,u(wn(Su(this.b),this.aj()).Yj(),26).Bj(),n):r.ih(this.b,rs(r.Tg(),vo(u(wn(Su(this.b),this.aj()),18))),null,n):r.ih(this.b,-1-this.aj(),null,n)},l.rk=function(){var e,n;return n=wn(Su(this.b),this.aj()),_t(n,99)?(e=u(n,18),(e.Bb&Ac)!=0):!1},l.Fk=function(){return _t(wn(Su(this.b),this.aj()).Yj(),88)},l.wj=function(e){return wn(Su(this.b),this.aj()).Yj().wj(e)},l.ej=function(){return Ll(this.b)},l.fj=function(){return!this.Ri()},l.hi=function(){return wn(Su(this.b),this.aj()).hi()},l.li=function(e,n){return CI(this,e,n)},l.Wb=function(e){_C(this),vs(this,u(e,15))},l.Pc=function(){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)CI(this,e,this.Oi(e));return this.Wi()},l.Qc=function(e){var n;if(this.Ek())for(n=this.Vi()-1;n>=0;--n)CI(this,n,this.Oi(n));return this.Xi(e)},l.Xj=function(){_C(this)},l.oi=function(e,n){return ute(this,e,n)},P(Zi,"DelegatingEcoreEList",742),D(1150,742,D8t,CWt),l.Hi=function(e,n){hQe(this,e,u(n,26))},l.Ii=function(e){sXe(this,u(e,26))},l.Oi=function(e){var n,r;return n=u(At($c(this.a),e),87),r=n.c,_t(r,88)?u(r,26):(hn(),ef)},l.Ti=function(e){var n,r;return n=u(dy($c(this.a),e),87),r=n.c,_t(r,88)?u(r,26):(hn(),ef)},l.Ui=function(e,n){return ffn(this,e,u(n,26))},l.ai=function(){return!1},l.Zi=function(e,n,r,s,o){return null},l.Ji=function(){return new _zt(this)},l.Ki=function(){Pr($c(this.a))},l.Li=function(e){return jre(this,e)},l.Mi=function(e){var n,r;for(r=e.Kc();r.Ob();)if(n=r.Pb(),!jre(this,n))return!1;return!0},l.Ni=function(e){var n,r,s;if(_t(e,15)&&(s=u(e,15),s.gc()==$c(this.a).i)){for(n=s.Kc(),r=new hr(this);n.Ob();)if(Ut(n.Pb())!==Ut(Tr(r)))return!1;return!0}return!1},l.Pi=function(){var e,n,r,s,o;for(r=1,n=new hr($c(this.a));n.e!=n.i.gc();)e=u(Tr(n),87),s=(o=e.c,_t(o,88)?u(o,26):(hn(),ef)),r=31*r+(s?Mv(s):0);return r},l.Qi=function(e){var n,r,s,o;for(s=0,r=new hr($c(this.a));r.e!=r.i.gc();){if(n=u(Tr(r),87),Ut(e)===Ut((o=n.c,_t(o,88)?u(o,26):(hn(),ef))))return s;++s}return-1},l.Ri=function(){return $c(this.a).i==0},l.Si=function(){return null},l.Vi=function(){return $c(this.a).i},l.Wi=function(){var e,n,r,s,o,h;for(h=$c(this.a).i,o=Pt(ir,De,1,h,5,1),r=0,n=new hr($c(this.a));n.e!=n.i.gc();)e=u(Tr(n),87),o[r++]=(s=e.c,_t(s,88)?u(s,26):(hn(),ef));return o},l.Xi=function(e){var n,r,s,o,h,d,w;for(w=$c(this.a).i,e.length<w&&(o=AD(bl(e).c,w),e=o),e.length>w&&ds(e,w,null),s=0,r=new hr($c(this.a));r.e!=r.i.gc();)n=u(Tr(r),87),h=(d=n.c,_t(d,88)?u(d,26):(hn(),ef)),ds(e,s++,h);return e},l.Yi=function(){var e,n,r,s,o;for(o=new _g,o.a+="[",e=$c(this.a),n=0,s=$c(this.a).i;n<s;)Ao(o,d_((r=u(At(e,n),87).c,_t(r,88)?u(r,26):(hn(),ef)))),++n<s&&(o.a+=oo);return o.a+="]",o.a},l.$i=function(e){},l.aj=function(){return 10},l.Bk=function(){return!0},l.bj=function(){return!1},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!0},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(e){return _t(e,88)},l.fj=function(){return hin(this.a)},l.hi=function(){return!0},l.ni=function(){return!0},P(Mn,"EClassImpl/8",1150),D(1151,1964,I7,_zt),l.Zc=function(e){return LD(this.a,e)},l.gc=function(){return $c(this.a.a).i},P(Mn,"EClassImpl/8/1",1151),D(1152,497,Od,QE),l.ri=function(e){return Pt(u1,De,138,e,0,1)},l.ni=function(){return!1},P(Mn,"EClassImpl/9",1152),D(1139,53,P6t,bqt),P(Mn,"EClassImpl/MyHashSet",1139),D(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},fR),l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return ow(this);case 4:return this.zj();case 5:return this.F;case 6:return n?Vl(this):C8(this);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),this.A;case 8:return Rn(),!!(this.Bb&256)}return ph(this,e-or(this.zh()),wn((s=u(In(this,16),26),s||this.zh()),e),n,r)},l.lh=function(e){var n;switch(e){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!!ow(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!C8(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return dh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:v$(this,Yr(n));return;case 2:Ket(this,Yr(n));return;case 5:C7(this,Yr(n));return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A),!this.A&&(this.A=new Vu(wu,this,7)),vs(this.A,u(n,14));return;case 8:Ez(this,je(Be(n)));return}yh(this,e-or(this.zh()),wn((r=u(In(this,16),26),r||this.zh()),e),n)},l.zh=function(){return hn(),G4e},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,179)&&(u(this.Cb,179).tb=null),su(this,null);return;case 2:J8(this,null),z8(this,this.D);return;case 5:C7(this,null);return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A);return;case 8:Ez(this,!0);return}wh(this,e-or(this.zh()),wn((n=u(In(this,16),26),n||this.zh()),e))},l.Gh=function(){Bg((Yu(),Fa),this).ne(),this.Bb|=1},l.Fj=function(){var e,n,r;if(!this.c&&(e=hce(Vl(this)),!e.dc()))for(r=e.Kc();r.Ob();)n=Yr(r.Pb()),mC(this,n)&&Wun(this);return this.b},l.zj=function(){var e;if(!this.e){e=null;try{e=ow(this)}catch(n){if(n=as(n),!_t(n,102))throw et(n)}this.d=null,e&&e.i&1&&(e==Tl?this.d=(Rn(),Ob):e==Fr?this.d=ve(0):e==r3?this.d=new O3(0):e==wa?this.d=0:e==O2?this.d=bb(0):e==d5?this.d=n7(0):e==tl?this.d=CD(0):this.d=ND(0)),this.e=!0}return this.d},l.Ej=function(){return(this.Bb&256)!=0},l.Ik=function(e){e&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},l.xk=function(e){nne(this,e),this.Ik(e)},l.yk=function(e){this.C=e,this.e=!1},l.Ib=function(){var e;return this.Db&64?Lz(this):(e=new Ih(Lz(this)),e.a+=" (serializable: ",Cg(e,(this.Bb&256)!=0),e.a+=")",e.a)},l.c=!1,l.d=null,l.e=!1,P(Mn,"EDataTypeImpl",566),D(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},vqt),l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return ow(this);case 4:return Oyt(this);case 5:return this.F;case 6:return n?Vl(this):C8(this);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),this.A;case 8:return Rn(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new pe(rg,this,9,5)),this.a}return ph(this,e-or((hn(),M2)),wn((s=u(In(this,16),26),s||M2),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?wst(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,6,r);case 9:return!this.a&&(this.a=new pe(rg,this,9,5)),au(this.a,e,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),M2)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),M2)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Vu(wu,this,7)),Ja(this.A,e,r);case 9:return!this.a&&(this.a=new pe(rg,this,9,5)),Ja(this.a,e,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),M2)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),M2)),e,r)},l.lh=function(e){var n;switch(e){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!!ow(this);case 4:return!!Oyt(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!C8(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 dh(this,e-or((hn(),M2)),wn((n=u(In(this,16),26),n||M2),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:v$(this,Yr(n));return;case 2:Ket(this,Yr(n));return;case 5:C7(this,Yr(n));return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A),!this.A&&(this.A=new Vu(wu,this,7)),vs(this.A,u(n,14));return;case 8:Ez(this,je(Be(n)));return;case 9:!this.a&&(this.a=new pe(rg,this,9,5)),Pr(this.a),!this.a&&(this.a=new pe(rg,this,9,5)),vs(this.a,u(n,14));return}yh(this,e-or((hn(),M2)),wn((r=u(In(this,16),26),r||M2),e),n)},l.zh=function(){return hn(),M2},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,179)&&(u(this.Cb,179).tb=null),su(this,null);return;case 2:J8(this,null),z8(this,this.D);return;case 5:C7(this,null);return;case 7:!this.A&&(this.A=new Vu(wu,this,7)),Pr(this.A);return;case 8:Ez(this,!0);return;case 9:!this.a&&(this.a=new pe(rg,this,9,5)),Pr(this.a);return}wh(this,e-or((hn(),M2)),wn((n=u(In(this,16),26),n||M2),e))},l.Gh=function(){var e,n;if(this.a)for(e=0,n=this.a.i;e<n;++e)jM(At(this.a,e));Bg((Yu(),Fa),this).ne(),this.Bb|=1},l.zj=function(){return Oyt(this)},l.wj=function(e){return e!=null},l.Ik=function(e){},P(Mn,"EEnumImpl",457),D(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},zzt),l.ne=function(){return this.zb},l.Qg=function(e){return Dse(this,e)},l._g=function(e,n,r){var s,o;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return ve(this.d);case 3:return this.b?this.b:this.a;case 4:return o=this.c,o??this.zb;case 5:return this.Db>>16==5?u(this.Cb,671):null}return ph(this,e-or((hn(),ip)),wn((s=u(In(this,16),26),s||ip),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 5:return this.Cb&&(r=(o=this.Db>>16,o>=0?Dse(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,5,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),ip)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),ip)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 5:return Yl(this,null,5,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),ip)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),ip)),e,r)},l.lh=function(e){var n;switch(e){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&&u(this.Cb,671))}return dh(this,e-or((hn(),ip)),wn((n=u(In(this,16),26),n||ip),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:su(this,Yr(n));return;case 2:tit(this,u(n,19).a);return;case 3:Coe(this,u(n,1940));return;case 4:nit(this,Yr(n));return}yh(this,e-or((hn(),ip)),wn((r=u(In(this,16),26),r||ip),e),n)},l.zh=function(){return hn(),ip},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:su(this,null);return;case 2:tit(this,0);return;case 3:Coe(this,null);return;case 4:nit(this,null);return}wh(this,e-or((hn(),ip)),wn((n=u(In(this,16),26),n||ip),e))},l.Ib=function(){var e;return e=this.c,e??this.zb},l.b=null,l.c=null,l.d=0,P(Mn,"EEnumLiteralImpl",573);var v6n=ls(Mn,"EFactoryImpl/InternalEDateTimeFormat");D(489,1,{2015:1},lM),P(Mn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),D(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},vv),l.Sg=function(e,n,r){var s;return r=Yl(this,e,n,r),this.e&&_t(e,170)&&(s=uq(this,this.e),s!=this.c&&(r=S7(this,s,r))),r},l._g=function(e,n,r){var s;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new qs(So,this,1)),this.d;case 2:return n?yq(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?lst(this):this.a}return ph(this,e-or((hn(),zw)),wn((s=u(In(this,16),26),s||zw),e),n,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return Lre(this,null,r);case 1:return!this.d&&(this.d=new qs(So,this,1)),Ja(this.d,e,r);case 3:return Are(this,null,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),zw)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),zw)),e,r)},l.lh=function(e){var n;switch(e){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 dh(this,e-or((hn(),zw)),wn((n=u(In(this,16),26),n||zw),e))},l.sh=function(e,n){var r;switch(e){case 0:Yse(this,u(n,87));return;case 1:!this.d&&(this.d=new qs(So,this,1)),Pr(this.d),!this.d&&(this.d=new qs(So,this,1)),vs(this.d,u(n,14));return;case 3:f4t(this,u(n,87));return;case 4:L4t(this,u(n,836));return;case 5:F8(this,u(n,138));return}yh(this,e-or((hn(),zw)),wn((r=u(In(this,16),26),r||zw),e),n)},l.zh=function(){return hn(),zw},l.Bh=function(e){var n;switch(e){case 0:Yse(this,null);return;case 1:!this.d&&(this.d=new qs(So,this,1)),Pr(this.d);return;case 3:f4t(this,null);return;case 4:L4t(this,null);return;case 5:F8(this,null);return}wh(this,e-or((hn(),zw)),wn((n=u(In(this,16),26),n||zw),e))},l.Ib=function(){var e;return e=new jl(Ef(this)),e.a+=" (expression: ",mat(this,e),e.a+=")",e.a};var QAt;P(Mn,"EGenericTypeImpl",241),D(1969,1964,SH),l.Xh=function(e,n){EWt(this,e,n)},l.lk=function(e,n){return EWt(this,this.gc(),e),n},l.pi=function(e){return n1(this.Gi(),e)},l.Zh=function(){return this.$h()},l.Gi=function(){return new Lzt(this)},l.$h=function(){return this._h(0)},l._h=function(e){return this.Gi().Zc(e)},l.mk=function(e,n){return ry(this,e,!0),n},l.ii=function(e,n){var r,s;return s=yst(this,n),r=this.Zc(e),r.Rb(s),s},l.ji=function(e,n){var r;ry(this,n,!0),r=this.Zc(e),r.Rb(n)},P(Zi,"AbstractSequentialInternalEList",1969),D(486,1969,SH,BM),l.pi=function(e){return n1(this.Gi(),e)},l.Zh=function(){return this.b==null?(Sg(),Sg(),gP):this.Jk()},l.Gi=function(){return new KGt(this.a,this.b)},l.$h=function(){return this.b==null?(Sg(),Sg(),gP):this.Jk()},l._h=function(e){var n,r;if(this.b==null){if(e<0||e>1)throw et(new Po(XC+e+", size=0"));return Sg(),Sg(),gP}for(r=this.Jk(),n=0;n<e;++n)dz(r);return r},l.dc=function(){var e,n,r,s,o,h;if(this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.Mk()||this.a.mh(e)){if(h=this.a.bh(e,!1),po(),u(e,66).Oj()){for(n=u(h,153),s=0,o=n.gc();s<o;++s)if(jYt(n.il(s))&&n.jl(s)!=null)return!1}else if(e.$j()){if(!u(h,14).dc())return!1}else if(h!=null)return!1}}return!0},l.Kc=function(){return tyt(this)},l.Zc=function(e){var n,r;if(this.b==null){if(e!=0)throw et(new Po(XC+e+", size=0"));return Sg(),Sg(),gP}for(r=this.Lk()?this.Kk():this.Jk(),n=0;n<e;++n)dz(r);return r},l.ii=function(e,n){throw et(new Gr)},l.ji=function(e,n){throw et(new Gr)},l.Jk=function(){return new wj(this.a,this.b)},l.Kk=function(){return new Pbt(this.a,this.b)},l.Lk=function(){return!0},l.gc=function(){var e,n,r,s,o,h,d;if(o=0,this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.Mk()||this.a.mh(e))if(d=this.a.bh(e,!1),po(),u(e,66).Oj())for(n=u(d,153),s=0,h=n.gc();s<h;++s)jYt(n.il(s))&&n.jl(s)!=null&&++o;else e.$j()?o+=u(d,14).gc():d!=null&&++o}return o},l.Mk=function(){return!0};var Sft;P(Zi,"EContentsEList",486),D(1156,486,SH,uWt),l.Jk=function(){return new lWt(this.a,this.b)},l.Kk=function(){return new hWt(this.a,this.b)},l.Mk=function(){return!1},P(Mn,"ENamedElementImpl/1",1156),D(279,1,AH,wj),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){throw et(new Gr)},l.Nk=function(e){if(this.g!=0||this.e)throw et(new Xo("Iterator already in use or already filtered"));this.e=e},l.Ob=function(){var e,n,r,s,o,h;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!$ae(this,this.p):!Soe(this))){for(;this.d<this.c.length;)if(n=this.c[this.d++],(!this.e||n.Gj()!=I9||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(po(),u(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(s=u(h,15),this.k=s):(s=u(h,69),this.k=this.j=s),_t(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?$ae(this,this.p):Soe(this))return o=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(e=u(o,72),e.ak(),r=e.dd(),this.i=r):(r=o,this.i=r),this.g=3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,this.i=r,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return o=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(e=u(o,72),e.ak(),r=e.dd(),this.i=r):(r=o,this.i=r),this.g=3,!0}},l.Sb=function(){var e,n,r,s,o,h;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!zae(this,this.p):!Jae(this))){for(;this.d>0;)if(n=this.c[--this.d],(!this.e||n.Gj()!=I9||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(po(),u(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(s=u(h,15),this.k=s):(s=u(h,69),this.k=this.j=s),_t(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?zae(this,this.p):Jae(this))return o=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(e=u(o,72),e.ak(),r=e.dd(),this.i=r):(r=o,this.i=r),this.g=-3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,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.pi(--this.n):this.k.Xb(--this.n),this.f?(e=u(o,72),e.ak(),r=e.dd(),this.i=r):(r=o,this.i=r),this.g=-3,!0}},l.Pb=function(){return dz(this)},l.Tb=function(){return this.a},l.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw et(new _c)},l.Vb=function(){return this.a-1},l.Qb=function(){throw et(new Gr)},l.Lk=function(){return!1},l.Wb=function(e){throw et(new Gr)},l.Mk=function(){return!0},l.a=0,l.d=0,l.f=!1,l.g=0,l.n=0,l.o=0;var gP;P(Zi,"EContentsEList/FeatureIteratorImpl",279),D(697,279,AH,Pbt),l.Lk=function(){return!0},P(Zi,"EContentsEList/ResolvingFeatureIteratorImpl",697),D(1157,697,AH,hWt),l.Mk=function(){return!1},P(Mn,"ENamedElementImpl/1/1",1157),D(1158,279,AH,lWt),l.Mk=function(){return!1},P(Mn,"ENamedElementImpl/1/2",1158),D(36,143,tO,Km,Srt,la,qrt,R0,yf,Rmt,jQt,jmt,$Qt,umt,zQt,qmt,qQt,lmt,HQt,$mt,VQt,__,vD,srt,zmt,GQt,hmt,UQt),l._i=function(){return kmt(this)},l.gj=function(){var e;return e=kmt(this),e?e.zj():null},l.yi=function(e){return this.b==-1&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,e)},l.Ai=function(){return this.c},l.hj=function(){var e;return e=kmt(this),e?e.Kj():!1},l.b=-1,P(Mn,"ENotificationImpl",36),D(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Wtt),l.Qg=function(e){return Pse(this,e)},l._g=function(e,n,r){var s,o,h;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),h=this.t,h>1||h==-1;case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new Vu(wu,this,11)),this.d;case 12:return!this.c&&(this.c=new pe($w,this,12,10)),this.c;case 13:return!this.a&&(this.a=new HM(this,this)),this.a;case 14:return pl(this)}return ph(this,e-or((hn(),sp)),wn((s=u(In(this,16),26),s||sp),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 10:return this.Cb&&(r=(o=this.Db>>16,o>=0?Pse(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,10,r);case 12:return!this.c&&(this.c=new pe($w,this,12,10)),au(this.c,e,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),sp)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),sp)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 9:return Gnt(this,r);case 10:return Yl(this,null,10,r);case 11:return!this.d&&(this.d=new Vu(wu,this,11)),Ja(this.d,e,r);case 12:return!this.c&&(this.c=new pe($w,this,12,10)),Ja(this.c,e,r);case 14:return Ja(pl(this),e,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),sp)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),sp)),e,r)},l.lh=function(e){var n,r,s;switch(e){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&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,26));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&pl(this.a.a).i!=0&&!(this.b&&cst(this.b));case 14:return!!this.b&&cst(this.b)}return dh(this,e-or((hn(),sp)),wn((n=u(In(this,16),26),n||sp),e))},l.sh=function(e,n){var r,s;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:su(this,Yr(n));return;case 2:Rg(this,je(Be(n)));return;case 3:jg(this,je(Be(n)));return;case 4:Ng(this,u(n,19).a);return;case 5:ty(this,u(n,19).a);return;case 8:gb(this,u(n,138));return;case 9:s=z1(this,u(n,87),null),s&&s.Fi();return;case 11:!this.d&&(this.d=new Vu(wu,this,11)),Pr(this.d),!this.d&&(this.d=new Vu(wu,this,11)),vs(this.d,u(n,14));return;case 12:!this.c&&(this.c=new pe($w,this,12,10)),Pr(this.c),!this.c&&(this.c=new pe($w,this,12,10)),vs(this.c,u(n,14));return;case 13:!this.a&&(this.a=new HM(this,this)),_C(this.a),!this.a&&(this.a=new HM(this,this)),vs(this.a,u(n,14));return;case 14:Pr(pl(this)),vs(pl(this),u(n,14));return}yh(this,e-or((hn(),sp)),wn((r=u(In(this,16),26),r||sp),e),n)},l.zh=function(){return hn(),sp},l.Bh=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:su(this,null);return;case 2:Rg(this,!0);return;case 3:jg(this,!0);return;case 4:Ng(this,0);return;case 5:ty(this,1);return;case 8:gb(this,null);return;case 9:r=z1(this,null,null),r&&r.Fi();return;case 11:!this.d&&(this.d=new Vu(wu,this,11)),Pr(this.d);return;case 12:!this.c&&(this.c=new pe($w,this,12,10)),Pr(this.c);return;case 13:this.a&&_C(this.a);return;case 14:this.b&&Pr(this.b);return}wh(this,e-or((hn(),sp)),wn((n=u(In(this,16),26),n||sp),e))},l.Gh=function(){var e,n;if(this.c)for(e=0,n=this.c.i;e<n;++e)jM(At(this.c,e));Bh(this),this.Bb|=1},P(Mn,"EOperationImpl",399),D(505,742,D8t,HM),l.Hi=function(e,n){lQe(this,e,u(n,138))},l.Ii=function(e){aXe(this,u(e,138))},l.Oi=function(e){var n,r;return n=u(At(pl(this.a),e),87),r=n.c,r||(hn(),J1)},l.Ti=function(e){var n,r;return n=u(dy(pl(this.a),e),87),r=n.c,r||(hn(),J1)},l.Ui=function(e,n){return ohn(this,e,u(n,138))},l.ai=function(){return!1},l.Zi=function(e,n,r,s,o){return null},l.Ji=function(){return new Czt(this)},l.Ki=function(){Pr(pl(this.a))},l.Li=function(e){return qre(this,e)},l.Mi=function(e){var n,r;for(r=e.Kc();r.Ob();)if(n=r.Pb(),!qre(this,n))return!1;return!0},l.Ni=function(e){var n,r,s;if(_t(e,15)&&(s=u(e,15),s.gc()==pl(this.a).i)){for(n=s.Kc(),r=new hr(this);n.Ob();)if(Ut(n.Pb())!==Ut(Tr(r)))return!1;return!0}return!1},l.Pi=function(){var e,n,r,s,o;for(r=1,n=new hr(pl(this.a));n.e!=n.i.gc();)e=u(Tr(n),87),s=(o=e.c,o||(hn(),J1)),r=31*r+(s?es(s):0);return r},l.Qi=function(e){var n,r,s,o;for(s=0,r=new hr(pl(this.a));r.e!=r.i.gc();){if(n=u(Tr(r),87),Ut(e)===Ut((o=n.c,o||(hn(),J1))))return s;++s}return-1},l.Ri=function(){return pl(this.a).i==0},l.Si=function(){return null},l.Vi=function(){return pl(this.a).i},l.Wi=function(){var e,n,r,s,o,h;for(h=pl(this.a).i,o=Pt(ir,De,1,h,5,1),r=0,n=new hr(pl(this.a));n.e!=n.i.gc();)e=u(Tr(n),87),o[r++]=(s=e.c,s||(hn(),J1));return o},l.Xi=function(e){var n,r,s,o,h,d,w;for(w=pl(this.a).i,e.length<w&&(o=AD(bl(e).c,w),e=o),e.length>w&&ds(e,w,null),s=0,r=new hr(pl(this.a));r.e!=r.i.gc();)n=u(Tr(r),87),h=(d=n.c,d||(hn(),J1)),ds(e,s++,h);return e},l.Yi=function(){var e,n,r,s,o;for(o=new _g,o.a+="[",e=pl(this.a),n=0,s=pl(this.a).i;n<s;)Ao(o,d_((r=u(At(e,n),87).c,r||(hn(),J1)))),++n<s&&(o.a+=oo);return o.a+="]",o.a},l.$i=function(e){},l.aj=function(){return 13},l.Bk=function(){return!0},l.bj=function(){return!1},l.Ck=function(){return!1},l.Dk=function(){return!1},l.Ek=function(){return!0},l.rk=function(){return!1},l.Fk=function(){return!0},l.wj=function(e){return _t(e,138)},l.fj=function(){return lin(this.a)},l.hi=function(){return!0},l.ni=function(){return!0},P(Mn,"EOperationImpl/1",505),D(1340,1964,I7,Czt),l.Zc=function(e){return LD(this.a,e)},l.gc=function(){return pl(this.a.a).i},P(Mn,"EOperationImpl/1/1",1340),D(1341,545,ec,fYt),l.ii=function(e,n){var r,s;return r=u(tC(this,e,n),87),Ll(this.e)&&Yk(this,new vD(this.a,7,(hn(),K4e),ve(n),(s=r.c,s||J1),e)),r},l.jj=function(e,n){return Eun(this,u(e,87),n)},l.kj=function(e,n){return Tun(this,u(e,87),n)},l.lj=function(e,n,r){return Ehn(this,u(e,87),u(n,87),r)},l.Zi=function(e,n,r,s,o){switch(e){case 3:return I_(this,e,n,r,s,this.i>1);case 5:return I_(this,e,n,r,s,this.i-u(r,15).gc()>0);default:return new R0(this.e,e,this.c,n,r,s,!0)}},l.ij=function(){return!0},l.fj=function(){return cst(this)},l.Xj=function(){Pr(this)},P(Mn,"EOperationImpl/2",1341),D(498,1,{1938:1,498:1},AGt),P(Mn,"EPackageImpl/1",498),D(16,85,ec,pe),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.Dk=function(){return!0},l.b=0,P(Zi,"EObjectContainmentWithInverseEList",16),D(353,16,ec,I6),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectContainmentWithInverseEList/Resolving",353),D(298,353,ec,qm),l.ci=function(){this.a.tb=null},P(Mn,"EPackageImpl/2",298),D(1228,1,{},nB),P(Mn,"EPackageImpl/3",1228),D(718,43,S4,Fpt),l._b=function(e){return pa(e)?art(this,e):!!Ho(this.f,e)},P(Mn,"EPackageRegistryImpl",718),D(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Ktt),l.Qg=function(e){return Nse(this,e)},l._g=function(e,n,r){var s,o,h;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),h=this.t,h>1||h==-1;case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return ph(this,e-or((hn(),e3)),wn((s=u(In(this,16),26),s||e3),e),n,r)},l.hh=function(e,n,r){var s,o,h;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),au(this.Ab,e,r);case 10:return this.Cb&&(r=(o=this.Db>>16,o>=0?Nse(this,r):this.Cb.ih(this,-1-o,null,r))),Yl(this,e,10,r)}return h=u(wn((s=u(In(this,16),26),s||(hn(),e3)),n),66),h.Nj().Qj(this,fu(this),n-or((hn(),e3)),e,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 9:return Gnt(this,r);case 10:return Yl(this,null,10,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),e3)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),e3)),e,r)},l.lh=function(e){var n,r,s;switch(e){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&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,59))}return dh(this,e-or((hn(),e3)),wn((n=u(In(this,16),26),n||e3),e))},l.zh=function(){return hn(),e3},P(Mn,"EParameterImpl",509),D(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},jbt),l._g=function(e,n,r){var s,o,h,d;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Rn(),!!(this.Bb&256);case 3:return Rn(),!!(this.Bb&512);case 4:return ve(this.s);case 5:return ve(this.t);case 6:return Rn(),d=this.t,d>1||d==-1;case 7:return Rn(),o=this.s,o>=1;case 8:return n?Bh(this):this.r;case 9:return this.q;case 10:return Rn(),!!(this.Bb&_f);case 11:return Rn(),!!(this.Bb&Ay);case 12:return Rn(),!!(this.Bb&yy);case 13:return this.j;case 14:return y7(this);case 15:return Rn(),!!(this.Bb&Zu);case 16:return Rn(),!!(this.Bb&Ed);case 17:return Gm(this);case 18:return Rn(),!!(this.Bb&Ac);case 19:return Rn(),h=vo(this),!!(h&&h.Bb&Ac);case 20:return Rn(),!!(this.Bb&co);case 21:return n?vo(this):this.b;case 22:return n?kyt(this):gJt(this);case 23:return!this.a&&(this.a=new W3(Zy,this,23)),this.a}return ph(this,e-or((hn(),u5)),wn((s=u(In(this,16),26),s||u5),e),n,r)},l.lh=function(e){var n,r,s,o;switch(e){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&&Rv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Rv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&Ay)!=0;case 12:return(this.Bb&yy)!=0;case 13:return this.j!=null;case 14:return y7(this)!=null;case 15:return(this.Bb&Zu)!=0;case 16:return(this.Bb&Ed)!=0;case 17:return!!Gm(this);case 18:return(this.Bb&Ac)!=0;case 19:return s=vo(this),!!s&&(s.Bb&Ac)!=0;case 20:return(this.Bb&co)==0;case 21:return!!this.b;case 22:return!!gJt(this);case 23:return!!this.a&&this.a.i!=0}return dh(this,e-or((hn(),u5)),wn((n=u(In(this,16),26),n||u5),e))},l.sh=function(e,n){var r,s;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:mrt(this,Yr(n));return;case 2:Rg(this,je(Be(n)));return;case 3:jg(this,je(Be(n)));return;case 4:Ng(this,u(n,19).a);return;case 5:ty(this,u(n,19).a);return;case 8:gb(this,u(n,138));return;case 9:s=z1(this,u(n,87),null),s&&s.Fi();return;case 10:r7(this,je(Be(n)));return;case 11:a7(this,je(Be(n)));return;case 12:i7(this,je(Be(n)));return;case 13:W2t(this,Yr(n));return;case 15:s7(this,je(Be(n)));return;case 16:o7(this,je(Be(n)));return;case 18:vrn(this,je(Be(n)));return;case 20:Jyt(this,je(Be(n)));return;case 21:Zmt(this,u(n,18));return;case 23:!this.a&&(this.a=new W3(Zy,this,23)),Pr(this.a),!this.a&&(this.a=new W3(Zy,this,23)),vs(this.a,u(n,14));return}yh(this,e-or((hn(),u5)),wn((r=u(In(this,16),26),r||u5),e),n)},l.zh=function(){return hn(),u5},l.Bh=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:_t(this.Cb,88)&&hy(gl(u(this.Cb,88)),4),su(this,null);return;case 2:Rg(this,!0);return;case 3:jg(this,!0);return;case 4:Ng(this,0);return;case 5:ty(this,1);return;case 8:gb(this,null);return;case 9:r=z1(this,null,null),r&&r.Fi();return;case 10:r7(this,!0);return;case 11:a7(this,!1);return;case 12:i7(this,!1);return;case 13:this.i=null,rz(this,null);return;case 15:s7(this,!1);return;case 16:o7(this,!1);return;case 18:Zyt(this,!1),_t(this.Cb,88)&&hy(gl(u(this.Cb,88)),2);return;case 20:Jyt(this,!0);return;case 21:Zmt(this,null);return;case 23:!this.a&&(this.a=new W3(Zy,this,23)),Pr(this.a);return}wh(this,e-or((hn(),u5)),wn((n=u(In(this,16),26),n||u5),e))},l.Gh=function(){kyt(this),E8(Ro((Yu(),Fa),this)),Bh(this),this.Bb|=1},l.Lj=function(){return vo(this)},l.qk=function(){var e;return e=vo(this),!!e&&(e.Bb&Ac)!=0},l.rk=function(){return(this.Bb&Ac)!=0},l.sk=function(){return(this.Bb&co)!=0},l.nk=function(e,n){return this.c=null,Gyt(this,e,n)},l.Ib=function(){var e;return this.Db&64?vq(this):(e=new Ih(vq(this)),e.a+=" (containment: ",Cg(e,(this.Bb&Ac)!=0),e.a+=", resolveProxies: ",Cg(e,(this.Bb&co)!=0),e.a+=")",e.a)},P(Mn,"EReferenceImpl",99),D(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},WZ),l.Fb=function(e){return this===e},l.cd=function(){return this.b},l.dd=function(){return this.c},l.Hb=function(){return Mv(this)},l.Uh=function(e){ktn(this,Yr(e))},l.ed=function(e){return ltn(this,Yr(e))},l._g=function(e,n,r){var s;switch(e){case 0:return this.b;case 1:return this.c}return ph(this,e-or((hn(),lo)),wn((s=u(In(this,16),26),s||lo),e),n,r)},l.lh=function(e){var n;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return dh(this,e-or((hn(),lo)),wn((n=u(In(this,16),26),n||lo),e))},l.sh=function(e,n){var r;switch(e){case 0:Etn(this,Yr(n));return;case 1:Ymt(this,Yr(n));return}yh(this,e-or((hn(),lo)),wn((r=u(In(this,16),26),r||lo),e),n)},l.zh=function(){return hn(),lo},l.Bh=function(e){var n;switch(e){case 0:Kmt(this,null);return;case 1:Ymt(this,null);return}wh(this,e-or((hn(),lo)),wn((n=u(In(this,16),26),n||lo),e))},l.Sh=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:zg(e)),this.a},l.Th=function(e){this.a=e},l.Ib=function(){var e;return this.Db&64?Ef(this):(e=new Ih(Ef(this)),e.a+=" (key: ",Ao(e,this.b),e.a+=", value: ",Ao(e,this.c),e.a+=")",e.a)},l.a=-1,l.b=null,l.c=null;var xc=P(Mn,"EStringToStringMapEntryImpl",548),t5e=ls(Zi,"FeatureMap/Entry/Internal");D(565,1,LH),l.Ok=function(e){return this.Pk(u(e,49))},l.Pk=function(e){return this.Ok(e)},l.Fb=function(e){var n,r;return this===e?!0:_t(e,72)?(n=u(e,72),n.ak()==this.c?(r=this.dd(),r==null?n.dd()==null:Pi(r,n.dd())):!1):!1},l.ak=function(){return this.c},l.Hb=function(){var e;return e=this.dd(),es(this.c)^(e==null?0:es(e))},l.Ib=function(){var e,n;return e=this.c,n=Vl(e.Hj()).Ph(),e.ne(),(n!=null&&n.length!=0?n+":"+e.ne():e.ne())+"="+this.dd()},P(Mn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),D(776,565,LH,Kbt),l.Pk=function(e){return new Kbt(this.c,e)},l.dd=function(){return this.a},l.Qk=function(e,n,r){return jon(this,e,this.a,n,r)},l.Rk=function(e,n,r){return $on(this,e,this.a,n,r)},P(Mn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),D(1314,1,{},LGt),l.Pj=function(e,n,r,s,o){var h;return h=u(I8(e,this.b),215),h.nl(this.a).Wj(s)},l.Qj=function(e,n,r,s,o){var h;return h=u(I8(e,this.b),215),h.el(this.a,s,o)},l.Rj=function(e,n,r,s,o){var h;return h=u(I8(e,this.b),215),h.fl(this.a,s,o)},l.Sj=function(e,n,r){var s;return s=u(I8(e,this.b),215),s.nl(this.a).fj()},l.Tj=function(e,n,r,s){var o;o=u(I8(e,this.b),215),o.nl(this.a).Wb(s)},l.Uj=function(e,n,r){return u(I8(e,this.b),215).nl(this.a)},l.Vj=function(e,n,r){var s;s=u(I8(e,this.b),215),s.nl(this.a).Xj()},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),D(89,1,{},Lg,tb,Dg,rb),l.Pj=function(e,n,r,s,o){var h;if(h=n.Ch(r),h==null&&n.Dh(r,h=Mq(this,e)),!o)switch(this.e){case 50:case 41:return u(h,589).sj();case 40:return u(h,215).kl()}return h},l.Qj=function(e,n,r,s,o){var h,d;return d=n.Ch(r),d==null&&n.Dh(r,d=Mq(this,e)),h=u(d,69).lk(s,o),h},l.Rj=function(e,n,r,s,o){var h;return h=n.Ch(r),h!=null&&(o=u(h,69).mk(s,o)),o},l.Sj=function(e,n,r){var s;return s=n.Ch(r),s!=null&&u(s,76).fj()},l.Tj=function(e,n,r,s){var o;o=u(n.Ch(r),76),!o&&n.Dh(r,o=Mq(this,e)),o.Wb(s)},l.Uj=function(e,n,r){var s,o;return o=n.Ch(r),o==null&&n.Dh(r,o=Mq(this,e)),_t(o,76)?u(o,76):(s=u(n.Ch(r),15),new Azt(s))},l.Vj=function(e,n,r){var s;s=u(n.Ch(r),76),!s&&n.Dh(r,s=Mq(this,e)),s.Xj()},l.b=0,l.e=0,P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),D(504,1,{}),l.Qj=function(e,n,r,s,o){throw et(new Gr)},l.Rj=function(e,n,r,s,o){throw et(new Gr)},l.Uj=function(e,n,r){return new TXt(this,e,n,r)};var b0;P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),D(1331,1,tut,TXt),l.Wj=function(e){return this.a.Pj(this.c,this.d,this.b,e,!0)},l.fj=function(){return this.a.Sj(this.c,this.d,this.b)},l.Wb=function(e){this.a.Tj(this.c,this.d,this.b,e)},l.Xj=function(){this.a.Vj(this.c,this.d,this.b)},l.b=0,P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),D(769,504,{},Mwt),l.Pj=function(e,n,r,s,o){return aat(e,e.eh(),e.Vg())==this.b?this.sk()&&s?Vst(e):e.eh():null},l.Qj=function(e,n,r,s,o){var h,d;return e.eh()&&(o=(h=e.Vg(),h>=0?e.Qg(o):e.eh().ih(e,-1-h,null,o))),d=rs(e.Tg(),this.e),e.Sg(s,d,o)},l.Rj=function(e,n,r,s,o){var h;return h=rs(e.Tg(),this.e),e.Sg(null,h,o)},l.Sj=function(e,n,r){var s;return s=rs(e.Tg(),this.e),!!e.eh()&&e.Vg()==s},l.Tj=function(e,n,r,s){var o,h,d,w,k;if(s!=null&&!lat(this.a,s))throw et(new Qk(MH+(_t(s,56)?l4t(u(s,56).Tg()):Pmt(bl(s)))+DH+this.a+"'"));if(o=e.eh(),d=rs(e.Tg(),this.e),Ut(s)!==Ut(o)||e.Vg()!=d&&s!=null){if(h7(e,u(s,56)))throw et(new Bn(KC+e.Ib()));k=null,o&&(k=(h=e.Vg(),h>=0?e.Qg(k):e.eh().ih(e,-1-h,null,k))),w=u(s,49),w&&(k=w.gh(e,rs(w.Tg(),this.b),null,k)),k=e.Sg(w,d,k),k&&k.Fi()}else e.Lg()&&e.Mg()&&Oi(e,new la(e,1,d,s,s))},l.Vj=function(e,n,r){var s,o,h,d;s=e.eh(),s?(d=(o=e.Vg(),o>=0?e.Qg(null):e.eh().ih(e,-1-o,null,null)),h=rs(e.Tg(),this.e),d=e.Sg(null,h,d),d&&d.Fi()):e.Lg()&&e.Mg()&&Oi(e,new __(e,1,this.e,null,null))},l.sk=function(){return!1},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),D(1315,769,{},bKt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),D(563,504,{}),l.Pj=function(e,n,r,s,o){var h;return h=n.Ch(r),h==null?this.b:Ut(h)===Ut(b0)?null:h},l.Sj=function(e,n,r){var s;return s=n.Ch(r),s!=null&&(Ut(s)===Ut(b0)||!Pi(s,this.b))},l.Tj=function(e,n,r,s){var o,h;e.Lg()&&e.Mg()?(o=(h=n.Ch(r),h==null?this.b:Ut(h)===Ut(b0)?null:h),s==null?this.c!=null?(n.Dh(r,null),s=this.b):this.b!=null?n.Dh(r,b0):n.Dh(r,null):(this.Sk(s),n.Dh(r,s)),Oi(e,this.d.Tk(e,1,this.e,o,s))):s==null?this.c!=null?n.Dh(r,null):this.b!=null?n.Dh(r,b0):n.Dh(r,null):(this.Sk(s),n.Dh(r,s))},l.Vj=function(e,n,r){var s,o;e.Lg()&&e.Mg()?(s=(o=n.Ch(r),o==null?this.b:Ut(o)===Ut(b0)?null:o),n.Eh(r),Oi(e,this.d.Tk(e,1,this.e,s,this.b))):n.Eh(r)},l.Sk=function(e){throw et(new Rzt)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),D(B4,1,{},rB),l.Tk=function(e,n,r,s,o){return new __(e,n,r,s,o)},l.Uk=function(e,n,r,s,o,h){return new srt(e,n,r,s,o,h)};var ZAt,JAt,tLt,eLt,nLt,rLt,iLt,Aft,sLt;P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",B4),D(1332,B4,{},iB),l.Tk=function(e,n,r,s,o){return new hmt(e,n,r,je(Be(s)),je(Be(o)))},l.Uk=function(e,n,r,s,o,h){return new UQt(e,n,r,je(Be(s)),je(Be(o)),h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),D(1333,B4,{},sB),l.Tk=function(e,n,r,s,o){return new Rmt(e,n,r,u(s,217).a,u(o,217).a)},l.Uk=function(e,n,r,s,o,h){return new jQt(e,n,r,u(s,217).a,u(o,217).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),D(1334,B4,{},Lk),l.Tk=function(e,n,r,s,o){return new jmt(e,n,r,u(s,172).a,u(o,172).a)},l.Uk=function(e,n,r,s,o,h){return new $Qt(e,n,r,u(s,172).a,u(o,172).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),D(1335,B4,{},aB),l.Tk=function(e,n,r,s,o){return new umt(e,n,r,Zt(ke(s)),Zt(ke(o)))},l.Uk=function(e,n,r,s,o,h){return new zQt(e,n,r,Zt(ke(s)),Zt(ke(o)),h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),D(1336,B4,{},oB),l.Tk=function(e,n,r,s,o){return new qmt(e,n,r,u(s,155).a,u(o,155).a)},l.Uk=function(e,n,r,s,o,h){return new qQt(e,n,r,u(s,155).a,u(o,155).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),D(1337,B4,{},KZ),l.Tk=function(e,n,r,s,o){return new lmt(e,n,r,u(s,19).a,u(o,19).a)},l.Uk=function(e,n,r,s,o,h){return new HQt(e,n,r,u(s,19).a,u(o,19).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),D(1338,B4,{},Mk),l.Tk=function(e,n,r,s,o){return new $mt(e,n,r,u(s,162).a,u(o,162).a)},l.Uk=function(e,n,r,s,o,h){return new VQt(e,n,r,u(s,162).a,u(o,162).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),D(1339,B4,{},Dk),l.Tk=function(e,n,r,s,o){return new zmt(e,n,r,u(s,184).a,u(o,184).a)},l.Uk=function(e,n,r,s,o,h){return new GQt(e,n,r,u(s,184).a,u(o,184).a,h)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),D(1317,563,{},_Xt),l.Sk=function(e){if(!this.a.wj(e))throw et(new Qk(MH+bl(e)+DH+this.a+"'"))},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),D(1318,563,{},dYt),l.Sk=function(e){},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),D(770,563,{}),l.Sj=function(e,n,r){var s;return s=n.Ch(r),s!=null},l.Tj=function(e,n,r,s){var o,h;e.Lg()&&e.Mg()?(o=!0,h=n.Ch(r),h==null?(o=!1,h=this.b):Ut(h)===Ut(b0)&&(h=null),s==null?this.c!=null?(n.Dh(r,null),s=this.b):n.Dh(r,b0):(this.Sk(s),n.Dh(r,s)),Oi(e,this.d.Uk(e,1,this.e,h,s,!o))):s==null?this.c!=null?n.Dh(r,null):n.Dh(r,b0):(this.Sk(s),n.Dh(r,s))},l.Vj=function(e,n,r){var s,o;e.Lg()&&e.Mg()?(s=!0,o=n.Ch(r),o==null?(s=!1,o=this.b):Ut(o)===Ut(b0)&&(o=null),n.Eh(r),Oi(e,this.d.Uk(e,2,this.e,o,this.b,s))):n.Eh(r)},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),D(1319,770,{},CXt),l.Sk=function(e){if(!this.a.wj(e))throw et(new Qk(MH+bl(e)+DH+this.a+"'"))},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),D(1320,770,{},gYt),l.Sk=function(e){},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),D(398,504,{},Bj),l.Pj=function(e,n,r,s,o){var h,d,w,k,_;if(_=n.Ch(r),this.Kj()&&Ut(_)===Ut(b0))return null;if(this.sk()&&s&&_!=null){if(w=u(_,49),w.kh()&&(k=Zp(e,w),w!=k)){if(!lat(this.a,k))throw et(new Qk(MH+bl(k)+DH+this.a+"'"));n.Dh(r,_=k),this.rk()&&(h=u(k,49),d=w.ih(e,this.b?rs(w.Tg(),this.b):-1-rs(e.Tg(),this.e),null,null),!h.eh()&&(d=h.gh(e,this.b?rs(h.Tg(),this.b):-1-rs(e.Tg(),this.e),null,d)),d&&d.Fi()),e.Lg()&&e.Mg()&&Oi(e,new __(e,9,this.e,w,k))}return _}else return _},l.Qj=function(e,n,r,s,o){var h,d;return d=n.Ch(r),Ut(d)===Ut(b0)&&(d=null),n.Dh(r,s),this.bj()?Ut(d)!==Ut(s)&&d!=null&&(h=u(d,49),o=h.ih(e,rs(h.Tg(),this.b),null,o)):this.rk()&&d!=null&&(o=u(d,49).ih(e,-1-rs(e.Tg(),this.e),null,o)),e.Lg()&&e.Mg()&&(!o&&(o=new Dp(4)),o.Ei(new __(e,1,this.e,d,s))),o},l.Rj=function(e,n,r,s,o){var h;return h=n.Ch(r),Ut(h)===Ut(b0)&&(h=null),n.Eh(r),e.Lg()&&e.Mg()&&(!o&&(o=new Dp(4)),this.Kj()?o.Ei(new __(e,2,this.e,h,null)):o.Ei(new __(e,1,this.e,h,null))),o},l.Sj=function(e,n,r){var s;return s=n.Ch(r),s!=null},l.Tj=function(e,n,r,s){var o,h,d,w,k;if(s!=null&&!lat(this.a,s))throw et(new Qk(MH+(_t(s,56)?l4t(u(s,56).Tg()):Pmt(bl(s)))+DH+this.a+"'"));k=n.Ch(r),w=k!=null,this.Kj()&&Ut(k)===Ut(b0)&&(k=null),d=null,this.bj()?Ut(k)!==Ut(s)&&(k!=null&&(o=u(k,49),d=o.ih(e,rs(o.Tg(),this.b),null,d)),s!=null&&(o=u(s,49),d=o.gh(e,rs(o.Tg(),this.b),null,d))):this.rk()&&Ut(k)!==Ut(s)&&(k!=null&&(d=u(k,49).ih(e,-1-rs(e.Tg(),this.e),null,d)),s!=null&&(d=u(s,49).gh(e,-1-rs(e.Tg(),this.e),null,d))),s==null&&this.Kj()?n.Dh(r,b0):n.Dh(r,s),e.Lg()&&e.Mg()?(h=new srt(e,1,this.e,k,s,this.Kj()&&!w),d?(d.Ei(h),d.Fi()):Oi(e,h)):d&&d.Fi()},l.Vj=function(e,n,r){var s,o,h,d,w;w=n.Ch(r),d=w!=null,this.Kj()&&Ut(w)===Ut(b0)&&(w=null),h=null,w!=null&&(this.bj()?(s=u(w,49),h=s.ih(e,rs(s.Tg(),this.b),null,h)):this.rk()&&(h=u(w,49).ih(e,-1-rs(e.Tg(),this.e),null,h))),n.Eh(r),e.Lg()&&e.Mg()?(o=new srt(e,this.Kj()?2:1,this.e,w,null,d),h?(h.Ei(o),h.Fi()):Oi(e,o)):h&&h.Fi()},l.bj=function(){return!1},l.rk=function(){return!1},l.sk=function(){return!1},l.Kj=function(){return!1},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),D(564,398,{},ont),l.rk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),D(1323,564,{},fWt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),D(772,564,{},Nbt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),D(1325,772,{},dWt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),D(640,564,{},xnt),l.bj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),D(1324,640,{},vKt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),D(773,640,{},xvt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),D(1326,773,{},wKt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),D(641,398,{},Fbt),l.sk=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),D(1327,641,{},gWt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),D(774,641,{},mvt),l.bj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),D(1328,774,{},mKt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),D(1321,398,{},pWt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),D(771,398,{},yvt),l.bj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),D(1322,771,{},yKt),l.Kj=function(){return!0},P(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),D(775,565,LH,bwt),l.Pk=function(e){return new bwt(this.a,this.c,e)},l.dd=function(){return this.b},l.Qk=function(e,n,r){return $sn(this,e,this.b,r)},l.Rk=function(e,n,r){return zsn(this,e,this.b,r)},P(Mn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),D(1329,1,tut,Azt),l.Wj=function(e){return this.a},l.fj=function(){return _t(this.a,95)?u(this.a,95).fj():!this.a.dc()},l.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},l.Xj=function(){_t(this.a,95)?u(this.a,95).Xj():this.a.$b()},P(Mn,"EStructuralFeatureImpl/SettingMany",1329),D(1330,565,LH,PZt),l.Ok=function(e){return new lnt((Vi(),uA),this.b.Ih(this.a,e))},l.dd=function(){return null},l.Qk=function(e,n,r){return r},l.Rk=function(e,n,r){return r},P(Mn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),D(642,565,LH,lnt),l.Ok=function(e){return new lnt(this.c,e)},l.dd=function(){return this.a},l.Qk=function(e,n,r){return r},l.Rk=function(e,n,r){return r},P(Mn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),D(391,497,Od,xm),l.ri=function(e){return Pt(Zh,De,26,e,0,1)},l.ni=function(){return!1},P(Mn,"ESuperAdapter/1",391),D(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},zL),l._g=function(e,n,r){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new x_(this,So,this)),this.a}return ph(this,e-or((hn(),qw)),wn((s=u(In(this,16),26),s||qw),e),n,r)},l.jh=function(e,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Ja(this.Ab,e,r);case 2:return!this.a&&(this.a=new x_(this,So,this)),Ja(this.a,e,r)}return o=u(wn((s=u(In(this,16),26),s||(hn(),qw)),n),66),o.Nj().Rj(this,fu(this),n-or((hn(),qw)),e,r)},l.lh=function(e){var n;switch(e){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 dh(this,e-or((hn(),qw)),wn((n=u(In(this,16),26),n||qw),e))},l.sh=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab),!this.Ab&&(this.Ab=new pe(hi,this,0,3)),vs(this.Ab,u(n,14));return;case 1:su(this,Yr(n));return;case 2:!this.a&&(this.a=new x_(this,So,this)),Pr(this.a),!this.a&&(this.a=new x_(this,So,this)),vs(this.a,u(n,14));return}yh(this,e-or((hn(),qw)),wn((r=u(In(this,16),26),r||qw),e),n)},l.zh=function(){return hn(),qw},l.Bh=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new pe(hi,this,0,3)),Pr(this.Ab);return;case 1:su(this,null);return;case 2:!this.a&&(this.a=new x_(this,So,this)),Pr(this.a);return}wh(this,e-or((hn(),qw)),wn((n=u(In(this,16),26),n||qw),e))},P(Mn,"ETypeParameterImpl",444),D(445,85,ec,x_),l.cj=function(e,n){return zdn(this,u(e,87),n)},l.dj=function(e,n){return qdn(this,u(e,87),n)},P(Mn,"ETypeParameterImpl/1",445),D(634,43,S4,Ytt),l.ec=function(){return new lR(this)},P(Mn,"ETypeParameterImpl/2",634),D(556,q1,Xu,lR),l.Fc=function(e){return zWt(this,u(e,87))},l.Gc=function(e){var n,r,s;for(s=!1,r=e.Kc();r.Ob();)n=u(r.Pb(),87),Ni(this.a,n,"")==null&&(s=!0);return s},l.$b=function(){al(this.a)},l.Hc=function(e){return Il(this.a,e)},l.Kc=function(){var e;return e=new db(new kg(this.a).a),new hR(e)},l.Mc=function(e){return SJt(this,e)},l.gc=function(){return $T(this.a)},P(Mn,"ETypeParameterImpl/2/1",556),D(557,1,va,hR),l.Nb=function(e){Ia(this,e)},l.Pb=function(){return u(Kv(this.a).cd(),87)},l.Ob=function(){return this.a.b},l.Qb=function(){ite(this.a)},P(Mn,"ETypeParameterImpl/2/1/1",557),D(1276,43,S4,wqt),l._b=function(e){return pa(e)?art(this,e):!!Ho(this.f,e)},l.xc=function(e){var n,r;return n=pa(e)?Uc(this,e):gc(Ho(this.f,e)),_t(n,837)?(r=u(n,837),n=r._j(),Ni(this,u(e,235),n),n):n??(e==null?(det(),n5e):null)},P(Mn,"EValidatorRegistryImpl",1276),D(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},YZ),l.Ih=function(e,n){switch(e.yj()){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 Yan(n);case 27:return fan(n);case 28:return dan(n);case 29:return n==null?null:xUt(rA[0],u(n,199));case 41:return n==null?"":Ip(u(n,290));case 42:return tc(n);case 50:return Yr(n);default:throw et(new Bn(V7+e.ne()+xw))}},l.Jh=function(e){var n,r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt;switch(e.G==-1&&(e.G=(q=Vl(e),q?$g(q.Mh(),e):-1)),e.G){case 0:return r=new Utt,r;case 1:return n=new eB,n;case 2:return s=new JL,s;case 4:return o=new fR,o;case 5:return h=new vqt,h;case 6:return d=new zzt,d;case 7:return w=new VB,w;case 10:return _=new Sk,_;case 11:return M=new Wtt,M;case 12:return B=new HXt,B;case 13:return G=new Ktt,G;case 14:return W=new jbt,W;case 17:return Z=new WZ,Z;case 18:return k=new vv,k;case 19:return bt=new zL,bt;default:throw et(new Bn(Rct+e.zb+xw))}},l.Kh=function(e,n){switch(e.yj()){case 20:return n==null?null:new i2t(n);case 21:return n==null?null:new Rp(n);case 23:case 22:return n==null?null:thn(n);case 26:case 24:return n==null?null:CD(Kl(n,-128,127)<<24>>24);case 25:return h2n(n);case 27:return Bfn(n);case 28:return Rfn(n);case 29:return a0n(n);case 32:case 31:return n==null?null:ly(n);case 38:case 37:return n==null?null:new Tpt(n);case 40:case 39:return n==null?null:ve(Kl(n,qa,Di));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:bb(Lq(n));case 49:case 48:return n==null?null:n7(Kl(n,IH,32767)<<16>>16);case 50:return n;default:throw et(new Bn(V7+e.ne()+xw))}},P(Mn,"EcoreFactoryImpl",1313),D(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},aXt),l.gb=!1,l.hb=!1;var aLt,e5e=!1;P(Mn,"EcorePackageImpl",547),D(1184,1,{837:1},XZ),l._j=function(){return GUt(),r5e},P(Mn,"EcorePackageImpl/1",1184),D(1193,1,wi,QZ),l.wj=function(e){return _t(e,147)},l.xj=function(e){return Pt(lP,De,147,e,0,1)},P(Mn,"EcorePackageImpl/10",1193),D(1194,1,wi,ZZ),l.wj=function(e){return _t(e,191)},l.xj=function(e){return Pt(mft,De,191,e,0,1)},P(Mn,"EcorePackageImpl/11",1194),D(1195,1,wi,JZ),l.wj=function(e){return _t(e,56)},l.xj=function(e){return Pt(C2,De,56,e,0,1)},P(Mn,"EcorePackageImpl/12",1195),D(1196,1,wi,tJ),l.wj=function(e){return _t(e,399)},l.xj=function(e){return Pt(Jh,M8t,59,e,0,1)},P(Mn,"EcorePackageImpl/13",1196),D(1197,1,wi,eJ),l.wj=function(e){return _t(e,235)},l.xj=function(e){return Pt(c1,De,235,e,0,1)},P(Mn,"EcorePackageImpl/14",1197),D(1198,1,wi,nJ),l.wj=function(e){return _t(e,509)},l.xj=function(e){return Pt($w,De,2017,e,0,1)},P(Mn,"EcorePackageImpl/15",1198),D(1199,1,wi,cB),l.wj=function(e){return _t(e,99)},l.xj=function(e){return Pt(Jy,F4,18,e,0,1)},P(Mn,"EcorePackageImpl/16",1199),D(1200,1,wi,rJ),l.wj=function(e){return _t(e,170)},l.xj=function(e){return Pt(ju,F4,170,e,0,1)},P(Mn,"EcorePackageImpl/17",1200),D(1201,1,wi,iJ),l.wj=function(e){return _t(e,472)},l.xj=function(e){return Pt(Qy,De,472,e,0,1)},P(Mn,"EcorePackageImpl/18",1201),D(1202,1,wi,sJ),l.wj=function(e){return _t(e,548)},l.xj=function(e){return Pt(xc,n0e,548,e,0,1)},P(Mn,"EcorePackageImpl/19",1202),D(1185,1,wi,uB),l.wj=function(e){return _t(e,322)},l.xj=function(e){return Pt(Zy,F4,34,e,0,1)},P(Mn,"EcorePackageImpl/2",1185),D(1203,1,wi,Ik),l.wj=function(e){return _t(e,241)},l.xj=function(e){return Pt(So,m0e,87,e,0,1)},P(Mn,"EcorePackageImpl/20",1203),D(1204,1,wi,ZE),l.wj=function(e){return _t(e,444)},l.xj=function(e){return Pt(wu,De,836,e,0,1)},P(Mn,"EcorePackageImpl/21",1204),D(1205,1,wi,lB),l.wj=function(e){return Om(e)},l.xj=function(e){return Pt(Zs,re,476,e,8,1)},P(Mn,"EcorePackageImpl/22",1205),D(1206,1,wi,aJ),l.wj=function(e){return _t(e,190)},l.xj=function(e){return Pt(tl,re,190,e,0,2)},P(Mn,"EcorePackageImpl/23",1206),D(1207,1,wi,hB),l.wj=function(e){return _t(e,217)},l.xj=function(e){return Pt(Tx,re,217,e,0,1)},P(Mn,"EcorePackageImpl/24",1207),D(1208,1,wi,fB),l.wj=function(e){return _t(e,172)},l.xj=function(e){return Pt(aS,re,172,e,0,1)},P(Mn,"EcorePackageImpl/25",1208),D(1209,1,wi,oJ),l.wj=function(e){return _t(e,199)},l.xj=function(e){return Pt(GH,re,199,e,0,1)},P(Mn,"EcorePackageImpl/26",1209),D(1210,1,wi,JE),l.wj=function(e){return!1},l.xj=function(e){return Pt(TLt,De,2110,e,0,1)},P(Mn,"EcorePackageImpl/27",1210),D(1211,1,wi,km),l.wj=function(e){return Pm(e)},l.xj=function(e){return Pt(Ea,re,333,e,7,1)},P(Mn,"EcorePackageImpl/28",1211),D(1212,1,wi,dB),l.wj=function(e){return _t(e,58)},l.xj=function(e){return Pt(jAt,xy,58,e,0,1)},P(Mn,"EcorePackageImpl/29",1212),D(1186,1,wi,gB),l.wj=function(e){return _t(e,510)},l.xj=function(e){return Pt(hi,{3:1,4:1,5:1,1934:1},590,e,0,1)},P(Mn,"EcorePackageImpl/3",1186),D(1213,1,wi,cJ),l.wj=function(e){return _t(e,573)},l.xj=function(e){return Pt(qAt,De,1940,e,0,1)},P(Mn,"EcorePackageImpl/30",1213),D(1214,1,wi,uJ),l.wj=function(e){return _t(e,153)},l.xj=function(e){return Pt(hLt,xy,153,e,0,1)},P(Mn,"EcorePackageImpl/31",1214),D(1215,1,wi,tT),l.wj=function(e){return _t(e,72)},l.xj=function(e){return Pt(oU,A0e,72,e,0,1)},P(Mn,"EcorePackageImpl/32",1215),D(1216,1,wi,pB),l.wj=function(e){return _t(e,155)},l.xj=function(e){return Pt(Q7,re,155,e,0,1)},P(Mn,"EcorePackageImpl/33",1216),D(1217,1,wi,bB),l.wj=function(e){return _t(e,19)},l.xj=function(e){return Pt(eo,re,19,e,0,1)},P(Mn,"EcorePackageImpl/34",1217),D(1218,1,wi,Tc),l.wj=function(e){return _t(e,290)},l.xj=function(e){return Pt(H8t,De,290,e,0,1)},P(Mn,"EcorePackageImpl/35",1218),D(1219,1,wi,lJ),l.wj=function(e){return _t(e,162)},l.xj=function(e){return Pt(Ew,re,162,e,0,1)},P(Mn,"EcorePackageImpl/36",1219),D(1220,1,wi,vB),l.wj=function(e){return _t(e,83)},l.xj=function(e){return Pt(V8t,De,83,e,0,1)},P(Mn,"EcorePackageImpl/37",1220),D(1221,1,wi,eT),l.wj=function(e){return _t(e,591)},l.xj=function(e){return Pt(oLt,De,591,e,0,1)},P(Mn,"EcorePackageImpl/38",1221),D(1222,1,wi,hJ),l.wj=function(e){return!1},l.xj=function(e){return Pt(_Lt,De,2111,e,0,1)},P(Mn,"EcorePackageImpl/39",1222),D(1187,1,wi,fJ),l.wj=function(e){return _t(e,88)},l.xj=function(e){return Pt(Zh,De,26,e,0,1)},P(Mn,"EcorePackageImpl/4",1187),D(1223,1,wi,nT),l.wj=function(e){return _t(e,184)},l.xj=function(e){return Pt(Tw,re,184,e,0,1)},P(Mn,"EcorePackageImpl/40",1223),D(1224,1,wi,wB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Mn,"EcorePackageImpl/41",1224),D(1225,1,wi,rT),l.wj=function(e){return _t(e,588)},l.xj=function(e){return Pt(zAt,De,588,e,0,1)},P(Mn,"EcorePackageImpl/42",1225),D(1226,1,wi,iT),l.wj=function(e){return!1},l.xj=function(e){return Pt(CLt,re,2112,e,0,1)},P(Mn,"EcorePackageImpl/43",1226),D(1227,1,wi,Hf),l.wj=function(e){return _t(e,42)},l.xj=function(e){return Pt(Ib,Pq,42,e,0,1)},P(Mn,"EcorePackageImpl/44",1227),D(1188,1,wi,qL),l.wj=function(e){return _t(e,138)},l.xj=function(e){return Pt(u1,De,138,e,0,1)},P(Mn,"EcorePackageImpl/5",1188),D(1189,1,wi,HL),l.wj=function(e){return _t(e,148)},l.xj=function(e){return Pt(_ft,De,148,e,0,1)},P(Mn,"EcorePackageImpl/6",1189),D(1190,1,wi,i6),l.wj=function(e){return _t(e,457)},l.xj=function(e){return Pt(aU,De,671,e,0,1)},P(Mn,"EcorePackageImpl/7",1190),D(1191,1,wi,dJ),l.wj=function(e){return _t(e,573)},l.xj=function(e){return Pt(rg,De,678,e,0,1)},P(Mn,"EcorePackageImpl/8",1191),D(1192,1,wi,gJ),l.wj=function(e){return _t(e,471)},l.xj=function(e){return Pt(nA,De,471,e,0,1)},P(Mn,"EcorePackageImpl/9",1192),D(1025,1982,e0e,Fqt),l.bi=function(e,n){Cun(this,u(n,415))},l.fi=function(e,n){Xae(this,e,u(n,415))},P(Mn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),D(1026,143,tO,QYt),l.Ai=function(){return this.a.a},P(Mn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),D(1053,1052,{},dUt),P("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var oLt=ls(L0e,"Resource");D(781,1378,M0e),l.Yk=function(e){},l.Zk=function(e){},l.Vk=function(){return!this.a&&(this.a=new ztt(this)),this.a},l.Wk=function(e){var n,r,s,o,h;if(s=e.length,s>0)if(Xr(0,e.length),e.charCodeAt(0)==47){for(h=new iu(4),o=1,n=1;n<s;++n)Xr(n,e.length),e.charCodeAt(n)==47&&(de(h,o==n?"":e.substr(o,n-o)),o=n+1);return de(h,e.substr(o)),A1n(this,h)}else Xr(s-1,e.length),e.charCodeAt(s-1)==63&&(r=avt(e,Pu(63),s-2),r>0&&(e=e.substr(0,r)));return Kgn(this,e)},l.Xk=function(){return this.c},l.Ib=function(){var e;return Ip(this.gm)+"@"+(e=es(this)>>>0,e.toString(16))+" uri='"+this.d+"'"},l.b=!1,P(eut,"ResourceImpl",781),D(1379,781,M0e,Mzt),P(eut,"BinaryResourceImpl",1379),D(1169,694,Yct),l.si=function(e){return _t(e,56)?Lnn(this,u(e,56)):_t(e,591)?new hr(u(e,591).Vk()):Ut(e)===Ut(this.f)?u(e,14).Kc():(d8(),dP.a)},l.Ob=function(){return e5t(this)},l.a=!1,P(Zi,"EcoreUtil/ContentTreeIterator",1169),D(1380,1169,Yct,AYt),l.si=function(e){return Ut(e)===Ut(this.f)?u(e,15).Kc():new hZt(u(e,56))},P(eut,"ResourceImpl/5",1380),D(648,1994,w0e,ztt),l.Hc=function(e){return this.i<=4?d7(this,e):_t(e,49)&&u(e,49).Zg()==this.a},l.bi=function(e,n){e==this.i-1&&(this.a.b||(this.a.b=!0))},l.di=function(e,n){e==0?this.a.b||(this.a.b=!0):Brt(this,e,n)},l.fi=function(e,n){},l.gi=function(e,n,r){},l.aj=function(){return 2},l.Ai=function(){return this.a},l.bj=function(){return!0},l.cj=function(e,n){var r;return r=u(e,49),n=r.wh(this.a,n),n},l.dj=function(e,n){var r;return r=u(e,49),r.wh(null,n)},l.ej=function(){return!1},l.hi=function(){return!0},l.ri=function(e){return Pt(C2,De,56,e,0,1)},l.ni=function(){return!1},P(eut,"ResourceImpl/ContentsEList",648),D(957,1964,I7,Lzt),l.Zc=function(e){return this.a._h(e)},l.gc=function(){return this.a.gc()},P(Zi,"AbstractSequentialInternalEList/1",957);var cLt,uLt,Fa,lLt;D(624,1,{},MKt);var cU,uU;P(Zi,"BasicExtendedMetaData",624),D(1160,1,{},MGt),l.$k=function(){return null},l._k=function(){return this.a==-2&&xg(this,e0n(this.d,this.b)),this.a},l.al=function(){return null},l.bl=function(){return pn(),pn(),mo},l.ne=function(){return this.c==W7&&I3(this,Sie(this.d,this.b)),this.c},l.cl=function(){return 0},l.a=-2,l.c=W7,P(Zi,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),D(1161,1,{},QQt),l.$k=function(){return this.a==(M8(),cU)&&lpt(this,vbn(this.f,this.b)),this.a},l._k=function(){return 0},l.al=function(){return this.c==(M8(),cU)&&Ttt(this,wbn(this.f,this.b)),this.c},l.bl=function(){return!this.d&&_tt(this,vwn(this.f,this.b)),this.d},l.ne=function(){return this.e==W7&&JB(this,Sie(this.f,this.b)),this.e},l.cl=function(){return this.g==-2&&tR(this,ydn(this.f,this.b)),this.g},l.e=W7,l.g=-2,P(Zi,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),D(1159,1,{},IGt),l.b=!1,l.c=!1,P(Zi,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),D(1162,1,{},XQt),l.c=-2,l.e=W7,l.f=W7,P(Zi,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),D(585,622,ec,Lj),l.aj=function(){return this.c},l.Fk=function(){return!1},l.li=function(e,n){return n},l.c=0,P(Zi,"EDataTypeEList",585);var hLt=ls(Zi,"FeatureMap");D(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},ws),l.Vc=function(e,n){dbn(this,e,u(n,72))},l.Fc=function(e){return I2n(this,u(e,72))},l.Yh=function(e){wen(this,u(e,72))},l.cj=function(e,n){return ZQe(this,u(e,72),n)},l.dj=function(e,n){return cvt(this,u(e,72),n)},l.ii=function(e,n){return Nwn(this,e,n)},l.li=function(e,n){return g3n(this,e,u(n,72))},l._c=function(e,n){return rvn(this,e,u(n,72))},l.jj=function(e,n){return JQe(this,u(e,72),n)},l.kj=function(e,n){return eKt(this,u(e,72),n)},l.lj=function(e,n,r){return rdn(this,u(e,72),u(n,72),r)},l.oi=function(e,n){return Sst(this,e,u(n,72))},l.dl=function(e,n){return H5t(this,e,n)},l.Wc=function(e,n){var r,s,o,h,d,w,k,_,M;for(_=new Wv(n.gc()),o=n.Kc();o.Ob();)if(s=u(o.Pb(),72),h=s.ak(),W0(this.e,h))(!h.hi()||!T$(this,h,s.dd())&&!d7(_,s))&&Hr(_,s);else{for(M=gu(this.e.Tg(),h),r=u(this.g,119),d=!0,w=0;w<this.i;++w)if(k=r[w],M.rl(k.ak())){u(l4(this,w,s),72),d=!1;break}d&&Hr(_,s)}return vyt(this,e,_)},l.Gc=function(e){var n,r,s,o,h,d,w,k,_;for(k=new Wv(e.gc()),s=e.Kc();s.Ob();)if(r=u(s.Pb(),72),o=r.ak(),W0(this.e,o))(!o.hi()||!T$(this,o,r.dd())&&!d7(k,r))&&Hr(k,r);else{for(_=gu(this.e.Tg(),o),n=u(this.g,119),h=!0,d=0;d<this.i;++d)if(w=n[d],_.rl(w.ak())){u(l4(this,d,r),72),h=!1;break}h&&Hr(k,r)}return vs(this,k)},l.Wh=function(e){return this.j=-1,hat(this,this.i,e)},l.el=function(e,n,r){return B5t(this,e,n,r)},l.mk=function(e,n){return xI(this,e,n)},l.fl=function(e,n,r){return a6t(this,e,n,r)},l.gl=function(){return this},l.hl=function(e,n){return _I(this,e,n)},l.il=function(e){return u(At(this,e),72).ak()},l.jl=function(e){return u(At(this,e),72).dd()},l.kl=function(){return this.b},l.bj=function(){return!0},l.ij=function(){return!0},l.ll=function(e){return!KD(this,e)},l.ri=function(e){return Pt(t5e,A0e,332,e,0,1)},l.Gk=function(e){return cnt(this,e)},l.Wb=function(e){tD(this,e)},l.ml=function(e,n){Tq(this,e,n)},l.nl=function(e){return zee(this,e)},l.ol=function(e){hse(this,e)},P(Zi,"BasicFeatureMap",75),D(1851,1,r0),l.Nb=function(e){Ia(this,e)},l.Rb=function(e){if(this.g==-1)throw et(new qu);Hj(this);try{Fce(this.e,this.b,this.a,e),this.d=this.e.j,qz(this)}catch(n){throw n=as(n),_t(n,73)?et(new uh):et(n)}},l.Ob=function(){return Cit(this)},l.Sb=function(){return hre(this)},l.Pb=function(){return qz(this)},l.Tb=function(){return this.a},l.Ub=function(){var e;if(hre(this))return Hj(this),this.g=--this.a,this.Lk()&&(e=dC(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw et(new _c)},l.Vb=function(){return this.a-1},l.Qb=function(){if(this.g==-1)throw et(new qu);Hj(this);try{Oae(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw e=as(e),_t(e,73)?et(new uh):et(e)}},l.Lk=function(){return!1},l.Wb=function(e){if(this.g==-1)throw et(new qu);Hj(this);try{ale(this.e,this.b,this.g,e),this.d=this.e.j}catch(n){throw n=as(n),_t(n,73)?et(new uh):et(n)}},l.a=0,l.c=0,l.d=0,l.f=!1,l.g=0,l.i=0,P(Zi,"FeatureMapUtil/BasicFeatureEIterator",1851),D(410,1851,r0,W8),l.pl=function(){var e,n,r;for(r=this.e.i,e=u(this.e.g,119);this.c<r;){if(n=e[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},l.ql=function(){var e,n;for(e=u(this.e.g,119);--this.c>=0;)if(n=e[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},P(Zi,"BasicFeatureMap/FeatureEIterator",410),D(662,410,r0,Uet),l.Lk=function(){return!0},P(Zi,"BasicFeatureMap/ResolvingFeatureEIterator",662),D(955,486,SH,EUt),l.Gi=function(){return this},P(Zi,"EContentsEList/1",955),D(956,486,SH,KGt),l.Lk=function(){return!1},P(Zi,"EContentsEList/2",956),D(954,279,AH,TUt),l.Nk=function(e){},l.Ob=function(){return!1},l.Sb=function(){return!1},P(Zi,"EContentsEList/FeatureIteratorImpl/1",954),D(825,585,ec,dbt),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.a,this.a=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.a=!1},l.a=!1,P(Zi,"EDataTypeEList/Unsettable",825),D(1849,585,ec,IUt),l.hi=function(){return!0},P(Zi,"EDataTypeUniqueEList",1849),D(1850,825,ec,OUt),l.hi=function(){return!0},P(Zi,"EDataTypeUniqueEList/Unsettable",1850),D(139,85,ec,Vu),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectContainmentEList/Resolving",139),D(1163,545,ec,DUt),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectContainmentEList/Unsettable/Resolving",1163),D(748,16,ec,evt),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.a,this.a=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.a=!1},l.a=!1,P(Zi,"EObjectContainmentWithInverseEList/Unsettable",748),D(1173,748,ec,qWt),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),D(743,496,ec,fbt),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.a,this.a=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.a=!1},l.a=!1,P(Zi,"EObjectEList/Unsettable",743),D(328,496,ec,W3),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectResolvingEList",328),D(1641,743,ec,PUt),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectResolvingEList/Unsettable",1641),D(1381,1,{},pJ);var n5e;P(Zi,"EObjectValidator",1381),D(546,496,ec,Kj),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.bj=function(){return!0},l.Dk=function(){return!0},l.b=0,P(Zi,"EObjectWithInverseEList",546),D(1176,546,ec,HWt),l.Ck=function(){return!0},P(Zi,"EObjectWithInverseEList/ManyInverse",1176),D(625,546,ec,fnt),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.a,this.a=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.a=!1},l.a=!1,P(Zi,"EObjectWithInverseEList/Unsettable",625),D(1175,625,ec,VWt),l.Ck=function(){return!0},P(Zi,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),D(749,546,ec,nvt),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectWithInverseResolvingEList",749),D(31,749,ec,Tn),l.Ck=function(){return!0},P(Zi,"EObjectWithInverseResolvingEList/ManyInverse",31),D(750,625,ec,rvt),l.Ek=function(){return!0},l.li=function(e,n){return cx(this,e,u(n,56))},P(Zi,"EObjectWithInverseResolvingEList/Unsettable",750),D(1174,750,ec,GWt),l.Ck=function(){return!0},P(Zi,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),D(1164,622,ec),l.ai=function(){return(this.b&1792)==0},l.ci=function(){this.b|=1},l.Bk=function(){return(this.b&4)!=0},l.bj=function(){return(this.b&40)!=0},l.Ck=function(){return(this.b&16)!=0},l.Dk=function(){return(this.b&8)!=0},l.Ek=function(){return(this.b&Ay)!=0},l.rk=function(){return(this.b&32)!=0},l.Fk=function(){return(this.b&_f)!=0},l.wj=function(e){return this.d?CZt(this.d,e):this.ak().Yj().wj(e)},l.fj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},l.hi=function(){return(this.b&128)!=0},l.Xj=function(){var e;Pr(this),this.b&2&&(Ll(this.e)?(e=(this.b&1)!=0,this.b&=-2,Yk(this,new yf(this.e,2,rs(this.e.Tg(),this.ak()),e,!1))):this.b&=-2)},l.ni=function(){return(this.b&1536)==0},l.b=0,P(Zi,"EcoreEList/Generic",1164),D(1165,1164,ec,NXt),l.ak=function(){return this.a},P(Zi,"EcoreEList/Dynamic",1165),D(747,63,Od,bpt),l.ri=function(e){return AD(this.a.a,e)},P(Zi,"EcoreEMap/1",747),D(746,85,ec,ewt),l.bi=function(e,n){Vz(this.b,u(n,133))},l.di=function(e,n){xne(this.b)},l.ei=function(e,n,r){var s;++(s=this.b,u(n,133),s).e},l.fi=function(e,n){Fit(this.b,u(n,133))},l.gi=function(e,n,r){Fit(this.b,u(r,133)),Ut(r)===Ut(n)&&u(r,133).Th(oXe(u(n,133).cd())),Vz(this.b,u(n,133))},P(Zi,"EcoreEMap/DelegateEObjectContainmentEList",746),D(1171,151,L8t,Pee),P(Zi,"EcoreEMap/Unsettable",1171),D(1172,746,ec,UWt),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var e;Pr(this),Ll(this.e)?(e=this.a,this.a=!1,Oi(this.e,new yf(this.e,2,this.c,e,!1))):this.a=!1},l.a=!1,P(Zi,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),D(1168,228,S4,RYt),l.a=!1,l.b=!1,P(Zi,"EcoreUtil/Copier",1168),D(745,1,va,hZt),l.Nb=function(e){Ia(this,e)},l.Ob=function(){return oie(this)},l.Pb=function(){var e;return oie(this),e=this.b,this.b=null,e},l.Qb=function(){this.a.Qb()},P(Zi,"EcoreUtil/ProperContentIterator",745),D(1382,1381,{},GB);var r5e;P(Zi,"EcoreValidator",1382);var i5e;ls(Zi,"FeatureMapUtil/Validator"),D(1260,1,{1942:1},bJ),l.rl=function(e){return!0},P(Zi,"FeatureMapUtil/1",1260),D(757,1,{1942:1},w6t),l.rl=function(e){var n;return this.c==e?!0:(n=Be(cr(this.a,e)),n==null?Zvn(this,e)?(mJt(this.a,e,(Rn(),X7)),!0):(mJt(this.a,e,(Rn(),Ob)),!1):n==(Rn(),X7))},l.e=!1;var Lft;P(Zi,"FeatureMapUtil/BasicValidator",757),D(758,43,S4,cbt),P(Zi,"FeatureMapUtil/BasicValidator/Cache",758),D(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},NM),l.Vc=function(e,n){Fce(this.c,this.b,e,n)},l.Fc=function(e){return H5t(this.c,this.b,e)},l.Wc=function(e,n){return dyn(this.c,this.b,e,n)},l.Gc=function(e){return h_(this,e)},l.Xh=function(e,n){Pan(this.c,this.b,e,n)},l.lk=function(e,n){return B5t(this.c,this.b,e,n)},l.pi=function(e){return Eq(this.c,this.b,e,!1)},l.Zh=function(){return sUt(this.c,this.b)},l.$h=function(){return KYe(this.c,this.b)},l._h=function(e){return jsn(this.c,this.b,e)},l.mk=function(e,n){return TWt(this,e,n)},l.$b=function(){w6(this)},l.Hc=function(e){return T$(this.c,this.b,e)},l.Ic=function(e){return Ron(this.c,this.b,e)},l.Xb=function(e){return Eq(this.c,this.b,e,!0)},l.Wj=function(e){return this},l.Xc=function(e){return Xin(this.c,this.b,e)},l.dc=function(){return nj(this)},l.fj=function(){return!KD(this.c,this.b)},l.Kc=function(){return kan(this.c,this.b)},l.Yc=function(){return Ean(this.c,this.b)},l.Zc=function(e){return Nun(this.c,this.b,e)},l.ii=function(e,n){return tle(this.c,this.b,e,n)},l.ji=function(e,n){Osn(this.c,this.b,e,n)},l.$c=function(e){return Oae(this.c,this.b,e)},l.Mc=function(e){return mwn(this.c,this.b,e)},l._c=function(e,n){return ale(this.c,this.b,e,n)},l.Wb=function(e){aq(this.c,this.b),h_(this,u(e,15))},l.gc=function(){return Kun(this.c,this.b)},l.Pc=function(){return Wrn(this.c,this.b)},l.Qc=function(e){return Qin(this.c,this.b,e)},l.Ib=function(){var e,n;for(n=new _g,n.a+="[",e=sUt(this.c,this.b);Cit(e);)Ao(n,d_(qz(e))),Cit(e)&&(n.a+=oo);return n.a+="]",n.a},l.Xj=function(){aq(this.c,this.b)},P(Zi,"FeatureMapUtil/FeatureEList",501),D(627,36,tO,Art),l.yi=function(e){return Z_(this,e)},l.Di=function(e){var n,r,s,o,h,d,w;switch(this.d){case 1:case 2:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return this.g=e.zi(),e.xi()==1&&(this.d=1),!0;break}case 3:{switch(o=e.xi(),o){case 3:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return this.d=5,n=new Wv(2),Hr(n,this.g),Hr(n,e.zi()),this.g=n,!0;break}}break}case 5:{switch(o=e.xi(),o){case 3:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return r=u(this.g,14),r.Fc(e.zi()),!0;break}}break}case 4:{switch(o=e.xi(),o){case 3:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return this.d=1,this.g=e.zi(),!0;break}case 4:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return this.d=6,w=new Wv(2),Hr(w,this.n),Hr(w,e.Bi()),this.n=w,d=ct(ot(Fr,1),ui,25,15,[this.o,e.Ci()]),this.g=d,!0;break}}break}case 6:{switch(o=e.xi(),o){case 4:{if(h=e.Ai(),Ut(h)===Ut(this.c)&&Z_(this,null)==e.yi(null))return r=u(this.n,14),r.Fc(e.Bi()),d=u(this.g,48),s=Pt(Fr,ui,25,d.length+1,15,1),qc(d,0,s,0,d.length),s[d.length]=e.Ci(),this.g=s,!0;break}}break}}return!1},P(Zi,"FeatureMapUtil/FeatureENotificationImpl",627),D(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},Oj),l.dl=function(e,n){return H5t(this.c,e,n)},l.el=function(e,n,r){return B5t(this.c,e,n,r)},l.fl=function(e,n,r){return a6t(this.c,e,n,r)},l.gl=function(){return this},l.hl=function(e,n){return _I(this.c,e,n)},l.il=function(e){return u(Eq(this.c,this.b,e,!1),72).ak()},l.jl=function(e){return u(Eq(this.c,this.b,e,!1),72).dd()},l.kl=function(){return this.a},l.ll=function(e){return!KD(this.c,e)},l.ml=function(e,n){Tq(this.c,e,n)},l.nl=function(e){return zee(this.c,e)},l.ol=function(e){hse(this.c,e)},P(Zi,"FeatureMapUtil/FeatureFeatureMap",552),D(1259,1,tut,OGt),l.Wj=function(e){return Eq(this.b,this.a,-1,e)},l.fj=function(){return!KD(this.b,this.a)},l.Wb=function(e){Tq(this.b,this.a,e)},l.Xj=function(){aq(this.b,this.a)},P(Zi,"FeatureMapUtil/FeatureValue",1259);var Wx,Mft,Dft,Kx,s5e,pP=ls(FH,"AnyType");D(666,60,K0,ret),P(FH,"InvalidDatatypeValueException",666);var lU=ls(FH,I0e),bP=ls(FH,O0e),fLt=ls(FH,P0e),a5e,Mc,dLt,Kb,o5e,c5e,u5e,l5e,h5e,f5e,d5e,g5e,p5e,b5e,v5e,l5,w5e,h5,oA,m5e,Hw,vP,wP,y5e,cA,uA;D(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Bpt),l._g=function(e,n,r){switch(e){case 0:return r?(!this.c&&(this.c=new ws(this,0)),this.c):(!this.c&&(this.c=new ws(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)):(!this.c&&(this.c=new ws(this,0)),u(u(Wc(this.c,(Vi(),Kb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new ws(this,2)),this.b):(!this.b&&(this.b=new ws(this,2)),this.b.b)}return ph(this,e-or(this.zh()),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),e),n,r)},l.jh=function(e,n,r){var s;switch(n){case 0:return!this.c&&(this.c=new ws(this,0)),xI(this.c,e,r);case 1:return(!this.c&&(this.c=new ws(this,0)),u(u(Wc(this.c,(Vi(),Kb)),153),69)).mk(e,r);case 2:return!this.b&&(this.b=new ws(this,2)),xI(this.b,e,r)}return s=u(wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),n),66),s.Nj().Rj(this,Mmt(this),n-or(this.zh()),e,r)},l.lh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)).dc();case 2:return!!this.b&&this.b.i!=0}return dh(this,e-or(this.zh()),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),e))},l.sh=function(e,n){switch(e){case 0:!this.c&&(this.c=new ws(this,0)),tD(this.c,n);return;case 1:(!this.c&&(this.c=new ws(this,0)),u(u(Wc(this.c,(Vi(),Kb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new ws(this,2)),tD(this.b,n);return}yh(this,e-or(this.zh()),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),e),n)},l.zh=function(){return Vi(),dLt},l.Bh=function(e){switch(e){case 0:!this.c&&(this.c=new ws(this,0)),Pr(this.c);return;case 1:(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)).$b();return;case 2:!this.b&&(this.b=new ws(this,2)),Pr(this.b);return}wh(this,e-or(this.zh()),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),e))},l.Ib=function(){var e;return this.j&4?Ef(this):(e=new Ih(Ef(this)),e.a+=" (mixed: ",o_(e,this.c),e.a+=", anyAttribute: ",o_(e,this.b),e.a+=")",e.a)},P(Ns,"AnyTypeImpl",830),D(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},mB),l._g=function(e,n,r){switch(e){case 0:return this.a;case 1:return this.b}return ph(this,e-or((Vi(),l5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():l5,e),n,r)},l.lh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return dh(this,e-or((Vi(),l5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():l5,e))},l.sh=function(e,n){switch(e){case 0:Ltt(this,Yr(n));return;case 1:fpt(this,Yr(n));return}yh(this,e-or((Vi(),l5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():l5,e),n)},l.zh=function(){return Vi(),l5},l.Bh=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}wh(this,e-or((Vi(),l5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():l5,e))},l.Ib=function(){var e;return this.j&4?Ef(this):(e=new Ih(Ef(this)),e.a+=" (data: ",Ao(e,this.a),e.a+=", target: ",Ao(e,this.b),e.a+=")",e.a)},l.a=null,l.b=null,P(Ns,"ProcessingInstructionImpl",667),D(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},yqt),l._g=function(e,n,r){switch(e){case 0:return r?(!this.c&&(this.c=new ws(this,0)),this.c):(!this.c&&(this.c=new ws(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)):(!this.c&&(this.c=new ws(this,0)),u(u(Wc(this.c,(Vi(),Kb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new ws(this,2)),this.b):(!this.b&&(this.b=new ws(this,2)),this.b.b);case 3:return!this.c&&(this.c=new ws(this,0)),Yr(_I(this.c,(Vi(),oA),!0));case 4:return ivt(this.a,(!this.c&&(this.c=new ws(this,0)),Yr(_I(this.c,(Vi(),oA),!0))));case 5:return this.a}return ph(this,e-or((Vi(),h5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():h5,e),n,r)},l.lh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new ws(this,0)),Yr(_I(this.c,(Vi(),oA),!0))!=null;case 4:return ivt(this.a,(!this.c&&(this.c=new ws(this,0)),Yr(_I(this.c,(Vi(),oA),!0))))!=null;case 5:return!!this.a}return dh(this,e-or((Vi(),h5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():h5,e))},l.sh=function(e,n){switch(e){case 0:!this.c&&(this.c=new ws(this,0)),tD(this.c,n);return;case 1:(!this.c&&(this.c=new ws(this,0)),u(u(Wc(this.c,(Vi(),Kb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new ws(this,2)),tD(this.b,n);return;case 3:Hwt(this,Yr(n));return;case 4:Hwt(this,svt(this.a,n));return;case 5:Dc(this,u(n,148));return}yh(this,e-or((Vi(),h5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():h5,e),n)},l.zh=function(){return Vi(),h5},l.Bh=function(e){switch(e){case 0:!this.c&&(this.c=new ws(this,0)),Pr(this.c);return;case 1:(!this.c&&(this.c=new ws(this,0)),u(Wc(this.c,(Vi(),Kb)),153)).$b();return;case 2:!this.b&&(this.b=new ws(this,2)),Pr(this.b);return;case 3:!this.c&&(this.c=new ws(this,0)),Tq(this.c,(Vi(),oA),null);return;case 4:Hwt(this,svt(this.a,null));return;case 5:this.a=null;return}wh(this,e-or((Vi(),h5)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():h5,e))},P(Ns,"SimpleAnyTypeImpl",668),D(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},mqt),l._g=function(e,n,r){switch(e){case 0:return r?(!this.a&&(this.a=new ws(this,0)),this.a):(!this.a&&(this.a=new ws(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new Pl((hn(),lo),xc,this,1)),this.b):(!this.b&&(this.b=new Pl((hn(),lo),xc,this,1)),pD(this.b));case 2:return r?(!this.c&&(this.c=new Pl((hn(),lo),xc,this,2)),this.c):(!this.c&&(this.c=new Pl((hn(),lo),xc,this,2)),pD(this.c));case 3:return!this.a&&(this.a=new ws(this,0)),Wc(this.a,(Vi(),vP));case 4:return!this.a&&(this.a=new ws(this,0)),Wc(this.a,(Vi(),wP));case 5:return!this.a&&(this.a=new ws(this,0)),Wc(this.a,(Vi(),cA));case 6:return!this.a&&(this.a=new ws(this,0)),Wc(this.a,(Vi(),uA))}return ph(this,e-or((Vi(),Hw)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Hw,e),n,r)},l.jh=function(e,n,r){var s;switch(n){case 0:return!this.a&&(this.a=new ws(this,0)),xI(this.a,e,r);case 1:return!this.b&&(this.b=new Pl((hn(),lo),xc,this,1)),Tj(this.b,e,r);case 2:return!this.c&&(this.c=new Pl((hn(),lo),xc,this,2)),Tj(this.c,e,r);case 5:return!this.a&&(this.a=new ws(this,0)),TWt(Wc(this.a,(Vi(),cA)),e,r)}return s=u(wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():(Vi(),Hw),n),66),s.Nj().Rj(this,Mmt(this),n-or((Vi(),Hw)),e,r)},l.lh=function(e){switch(e){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 ws(this,0)),!nj(Wc(this.a,(Vi(),vP)));case 4:return!this.a&&(this.a=new ws(this,0)),!nj(Wc(this.a,(Vi(),wP)));case 5:return!this.a&&(this.a=new ws(this,0)),!nj(Wc(this.a,(Vi(),cA)));case 6:return!this.a&&(this.a=new ws(this,0)),!nj(Wc(this.a,(Vi(),uA)))}return dh(this,e-or((Vi(),Hw)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Hw,e))},l.sh=function(e,n){switch(e){case 0:!this.a&&(this.a=new ws(this,0)),tD(this.a,n);return;case 1:!this.b&&(this.b=new Pl((hn(),lo),xc,this,1)),fz(this.b,n);return;case 2:!this.c&&(this.c=new Pl((hn(),lo),xc,this,2)),fz(this.c,n);return;case 3:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),vP))),!this.a&&(this.a=new ws(this,0)),h_(Wc(this.a,vP),u(n,14));return;case 4:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),wP))),!this.a&&(this.a=new ws(this,0)),h_(Wc(this.a,wP),u(n,14));return;case 5:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),cA))),!this.a&&(this.a=new ws(this,0)),h_(Wc(this.a,cA),u(n,14));return;case 6:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),uA))),!this.a&&(this.a=new ws(this,0)),h_(Wc(this.a,uA),u(n,14));return}yh(this,e-or((Vi(),Hw)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Hw,e),n)},l.zh=function(){return Vi(),Hw},l.Bh=function(e){switch(e){case 0:!this.a&&(this.a=new ws(this,0)),Pr(this.a);return;case 1:!this.b&&(this.b=new Pl((hn(),lo),xc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Pl((hn(),lo),xc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),vP)));return;case 4:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),wP)));return;case 5:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),cA)));return;case 6:!this.a&&(this.a=new ws(this,0)),w6(Wc(this.a,(Vi(),uA)));return}wh(this,e-or((Vi(),Hw)),wn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Hw,e))},l.Ib=function(){var e;return this.j&4?Ef(this):(e=new Ih(Ef(this)),e.a+=" (mixed: ",o_(e,this.a),e.a+=")",e.a)},P(Ns,"XMLTypeDocumentRootImpl",669),D(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Em),l.Ih=function(e,n){switch(e.yj()){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 Yr(n);case 6:return fQe(u(n,190));case 12:case 47:case 49:case 11:return Wle(this,e,n);case 13:return n==null?null:Jmn(u(n,240));case 15:case 14:return n==null?null:uen(Zt(ke(n)));case 17:return Xse((Vi(),n));case 18:return Xse(n);case 21:case 20:return n==null?null:len(u(n,155).a);case 27:return dQe(u(n,190));case 30:return fse((Vi(),u(n,15)));case 31:return fse(u(n,15));case 40:return pQe((Vi(),n));case 42:return Qse((Vi(),n));case 43:return Qse(n);case 59:case 48:return gQe((Vi(),n));default:throw et(new Bn(V7+e.ne()+xw))}},l.Jh=function(e){var n,r,s,o,h;switch(e.G==-1&&(e.G=(r=Vl(e),r?$g(r.Mh(),e):-1)),e.G){case 0:return n=new Bpt,n;case 1:return s=new mB,s;case 2:return o=new yqt,o;case 3:return h=new mqt,h;default:throw et(new Bn(Rct+e.zb+xw))}},l.Kh=function(e,n){var r,s,o,h,d,w,k,_,M,B,q,G,W,Z,bt,Mt;switch(e.yj()){case 5:case 52:case 4:return n;case 6:return Lhn(n);case 8:case 7:return n==null?null:bdn(n);case 9:return n==null?null:CD(Kl((s=Xc(n,!0),s.length>0&&(Xr(0,s.length),s.charCodeAt(0)==43)?s.substr(1):s),-128,127)<<24>>24);case 10:return n==null?null:CD(Kl((o=Xc(n,!0),o.length>0&&(Xr(0,o.length),o.charCodeAt(0)==43)?o.substr(1):o),-128,127)<<24>>24);case 11:return Yr(gw(this,(Vi(),u5e),n));case 12:return Yr(gw(this,(Vi(),l5e),n));case 13:return n==null?null:new i2t(Xc(n,!0));case 15:case 14:return B2n(n);case 16:return Yr(gw(this,(Vi(),h5e),n));case 17:return wie((Vi(),n));case 18:return wie(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Xc(n,!0);case 21:case 20:return U2n(n);case 22:return Yr(gw(this,(Vi(),f5e),n));case 23:return Yr(gw(this,(Vi(),d5e),n));case 24:return Yr(gw(this,(Vi(),g5e),n));case 25:return Yr(gw(this,(Vi(),p5e),n));case 26:return Yr(gw(this,(Vi(),b5e),n));case 27:return Thn(n);case 30:return mie((Vi(),n));case 31:return mie(n);case 32:return n==null?null:ve(Kl((M=Xc(n,!0),M.length>0&&(Xr(0,M.length),M.charCodeAt(0)==43)?M.substr(1):M),qa,Di));case 33:return n==null?null:new Rp((B=Xc(n,!0),B.length>0&&(Xr(0,B.length),B.charCodeAt(0)==43)?B.substr(1):B));case 34:return n==null?null:ve(Kl((q=Xc(n,!0),q.length>0&&(Xr(0,q.length),q.charCodeAt(0)==43)?q.substr(1):q),qa,Di));case 36:return n==null?null:bb(Lq((G=Xc(n,!0),G.length>0&&(Xr(0,G.length),G.charCodeAt(0)==43)?G.substr(1):G)));case 37:return n==null?null:bb(Lq((W=Xc(n,!0),W.length>0&&(Xr(0,W.length),W.charCodeAt(0)==43)?W.substr(1):W)));case 40:return $ln((Vi(),n));case 42:return yie((Vi(),n));case 43:return yie(n);case 44:return n==null?null:new Rp((Z=Xc(n,!0),Z.length>0&&(Xr(0,Z.length),Z.charCodeAt(0)==43)?Z.substr(1):Z));case 45:return n==null?null:new Rp((bt=Xc(n,!0),bt.length>0&&(Xr(0,bt.length),bt.charCodeAt(0)==43)?bt.substr(1):bt));case 46:return Xc(n,!1);case 47:return Yr(gw(this,(Vi(),v5e),n));case 59:case 48:return jln((Vi(),n));case 49:return Yr(gw(this,(Vi(),w5e),n));case 50:return n==null?null:n7(Kl((Mt=Xc(n,!0),Mt.length>0&&(Xr(0,Mt.length),Mt.charCodeAt(0)==43)?Mt.substr(1):Mt),IH,32767)<<16>>16);case 51:return n==null?null:n7(Kl((h=Xc(n,!0),h.length>0&&(Xr(0,h.length),h.charCodeAt(0)==43)?h.substr(1):h),IH,32767)<<16>>16);case 53:return Yr(gw(this,(Vi(),m5e),n));case 55:return n==null?null:n7(Kl((d=Xc(n,!0),d.length>0&&(Xr(0,d.length),d.charCodeAt(0)==43)?d.substr(1):d),IH,32767)<<16>>16);case 56:return n==null?null:n7(Kl((w=Xc(n,!0),w.length>0&&(Xr(0,w.length),w.charCodeAt(0)==43)?w.substr(1):w),IH,32767)<<16>>16);case 57:return n==null?null:bb(Lq((k=Xc(n,!0),k.length>0&&(Xr(0,k.length),k.charCodeAt(0)==43)?k.substr(1):k)));case 58:return n==null?null:bb(Lq((_=Xc(n,!0),_.length>0&&(Xr(0,_.length),_.charCodeAt(0)==43)?_.substr(1):_)));case 60:return n==null?null:ve(Kl((r=Xc(n,!0),r.length>0&&(Xr(0,r.length),r.charCodeAt(0)==43)?r.substr(1):r),qa,Di));case 61:return n==null?null:ve(Kl(Xc(n,!0),qa,Di));default:throw et(new Bn(V7+e.ne()+xw))}};var x5e,gLt,k5e,pLt;P(Ns,"XMLTypeFactoryImpl",1919),D(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},sXt),l.N=!1,l.O=!1;var E5e=!1;P(Ns,"XMLTypePackageImpl",586),D(1852,1,{837:1},s6),l._j=function(){return Q5t(),I5e},P(Ns,"XMLTypePackageImpl/1",1852),D(1861,1,wi,m1),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/10",1861),D(1862,1,wi,yB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/11",1862),D(1863,1,wi,xB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/12",1863),D(1864,1,wi,kB),l.wj=function(e){return Pm(e)},l.xj=function(e){return Pt(Ea,re,333,e,7,1)},P(Ns,"XMLTypePackageImpl/13",1864),D(1865,1,wi,EB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/14",1865),D(1866,1,wi,TB),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/15",1866),D(1867,1,wi,_B),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/16",1867),D(1868,1,wi,Vf),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/17",1868),D(1869,1,wi,ku),l.wj=function(e){return _t(e,155)},l.xj=function(e){return Pt(Q7,re,155,e,0,1)},P(Ns,"XMLTypePackageImpl/18",1869),D(1870,1,wi,vJ),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/19",1870),D(1853,1,wi,wJ),l.wj=function(e){return _t(e,843)},l.xj=function(e){return Pt(pP,De,843,e,0,1)},P(Ns,"XMLTypePackageImpl/2",1853),D(1871,1,wi,mJ),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/20",1871),D(1872,1,wi,Eu),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/21",1872),D(1873,1,wi,sT),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/22",1873),D(1874,1,wi,CB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/23",1874),D(1875,1,wi,SB),l.wj=function(e){return _t(e,190)},l.xj=function(e){return Pt(tl,re,190,e,0,2)},P(Ns,"XMLTypePackageImpl/24",1875),D(1876,1,wi,a6),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/25",1876),D(1877,1,wi,yJ),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/26",1877),D(1878,1,wi,Ok),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/27",1878),D(1879,1,wi,xJ),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/28",1879),D(1880,1,wi,AB),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/29",1880),D(1854,1,wi,kJ),l.wj=function(e){return _t(e,667)},l.xj=function(e){return Pt(lU,De,2021,e,0,1)},P(Ns,"XMLTypePackageImpl/3",1854),D(1881,1,wi,EJ),l.wj=function(e){return _t(e,19)},l.xj=function(e){return Pt(eo,re,19,e,0,1)},P(Ns,"XMLTypePackageImpl/30",1881),D(1882,1,wi,aT),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/31",1882),D(1883,1,wi,LB),l.wj=function(e){return _t(e,162)},l.xj=function(e){return Pt(Ew,re,162,e,0,1)},P(Ns,"XMLTypePackageImpl/32",1883),D(1884,1,wi,VL),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/33",1884),D(1885,1,wi,oT),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/34",1885),D(1886,1,wi,TJ),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/35",1886),D(1887,1,wi,_J),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/36",1887),D(1888,1,wi,GL),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/37",1888),D(1889,1,wi,cT),l.wj=function(e){return _t(e,15)},l.xj=function(e){return Pt(Eh,xy,15,e,0,1)},P(Ns,"XMLTypePackageImpl/38",1889),D(1890,1,wi,y1),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/39",1890),D(1855,1,wi,Pk),l.wj=function(e){return _t(e,668)},l.xj=function(e){return Pt(bP,De,2022,e,0,1)},P(Ns,"XMLTypePackageImpl/4",1855),D(1891,1,wi,CJ),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/40",1891),D(1892,1,wi,Nk),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/41",1892),D(1893,1,wi,UL),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/42",1893),D(1894,1,wi,G2),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/43",1894),D(1895,1,wi,uT),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/44",1895),D(1896,1,wi,WL),l.wj=function(e){return _t(e,184)},l.xj=function(e){return Pt(Tw,re,184,e,0,1)},P(Ns,"XMLTypePackageImpl/45",1896),D(1897,1,wi,Gf),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/46",1897),D(1898,1,wi,lT),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/47",1898),D(1899,1,wi,x1),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/48",1899),D(a2,1,wi,k1),l.wj=function(e){return _t(e,184)},l.xj=function(e){return Pt(Tw,re,184,e,0,1)},P(Ns,"XMLTypePackageImpl/49",a2),D(1856,1,wi,SJ),l.wj=function(e){return _t(e,669)},l.xj=function(e){return Pt(fLt,De,2023,e,0,1)},P(Ns,"XMLTypePackageImpl/5",1856),D(1901,1,wi,AJ),l.wj=function(e){return _t(e,162)},l.xj=function(e){return Pt(Ew,re,162,e,0,1)},P(Ns,"XMLTypePackageImpl/50",1901),D(1902,1,wi,L3),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/51",1902),D(1903,1,wi,Fk),l.wj=function(e){return _t(e,19)},l.xj=function(e){return Pt(eo,re,19,e,0,1)},P(Ns,"XMLTypePackageImpl/52",1903),D(1857,1,wi,Bk),l.wj=function(e){return pa(e)},l.xj=function(e){return Pt(Le,re,2,e,6,1)},P(Ns,"XMLTypePackageImpl/6",1857),D(1858,1,wi,hT),l.wj=function(e){return _t(e,190)},l.xj=function(e){return Pt(tl,re,190,e,0,2)},P(Ns,"XMLTypePackageImpl/7",1858),D(1859,1,wi,LJ),l.wj=function(e){return Om(e)},l.xj=function(e){return Pt(Zs,re,476,e,8,1)},P(Ns,"XMLTypePackageImpl/8",1859),D(1860,1,wi,o6),l.wj=function(e){return _t(e,217)},l.xj=function(e){return Pt(Tx,re,217,e,0,1)},P(Ns,"XMLTypePackageImpl/9",1860);var td,op,lA,hU,wt;D(50,60,K0,Kr),P(Yg,"RegEx/ParseException",50),D(820,1,{},KL),l.sl=function(e){return e<this.j&&Oa(this.i,e)==63},l.tl=function(){var e,n,r,s,o;if(this.c!=10)throw et(new Kr(ei((Ur(),TH))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(Ci(this),this.c!=0)throw et(new Kr(ei((Ur(),Kg))));if(this.a==123){o=0,r=0;do{if(Ci(this),this.c!=0)throw et(new Kr(ei((Ur(),Kg))));if((o=wb(this.a))<0)break;if(r>r*16)throw et(new Kr(ei((Ur(),Gde))));r=r*16+o}while(!0);if(this.a!=125)throw et(new Kr(ei((Ur(),Ude))));if(r>K7)throw et(new Kr(ei((Ur(),Wde))));e=r}else{if(o=0,this.c!=0||(o=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(r=o,Ci(this),this.c!=0||(o=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));r=r*16+o,e=r}break;case 117:if(s=0,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));n=n*16+s,e=n;break;case 118:if(Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,Ci(this),this.c!=0||(s=wb(this.a))<0)throw et(new Kr(ei((Ur(),Kg))));if(n=n*16+s,n>K7)throw et(new Kr(ei((Ur(),"parser.descappe.4"))));e=n;break;case 65:case 90:case 122:throw et(new Kr(ei((Ur(),Kde))))}return e},l.ul=function(e){var n,r;switch(e){case 100:r=(this.e&32)==32?i2("Nd",!0):(Si(),fU);break;case 68:r=(this.e&32)==32?i2("Nd",!1):(Si(),xLt);break;case 119:r=(this.e&32)==32?i2("IsWord",!0):(Si(),N9);break;case 87:r=(this.e&32)==32?i2("IsWord",!1):(Si(),ELt);break;case 115:r=(this.e&32)==32?i2("IsSpace",!0):(Si(),Yx);break;case 83:r=(this.e&32)==32?i2("IsSpace",!1):(Si(),kLt);break;default:throw et(new ic((n=e,K0e+n.toString(16))))}return r},l.vl=function(e){var n,r,s,o,h,d,w,k,_,M,B,q;for(this.b=1,Ci(this),n=null,this.c==0&&this.a==94?(Ci(this),e?M=(Si(),Si(),new ql(5)):(n=(Si(),Si(),new ql(4)),Yc(n,0,K7),M=new ql(4))):M=(Si(),Si(),new ql(4)),o=!0;(q=this.c)!=1&&!(q==0&&this.a==93&&!o);){if(o=!1,r=this.a,s=!1,q==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:vy(M,this.ul(r)),s=!0;break;case 105:case 73:case 99:case 67:r=this.Ll(M,r),r<0&&(s=!0);break;case 112:case 80:if(B=J4t(this,r),!B)throw et(new Kr(ei((Ur(),Qct))));vy(M,B),s=!0;break;default:r=this.tl()}else if(q==20){if(d=h8(this.i,58,this.d),d<0)throw et(new Kr(ei((Ur(),E8t))));if(w=!0,Oa(this.i,this.d)==94&&(++this.d,w=!1),h=$l(this.i,this.d,d),k=ate(h,w,(this.e&512)==512),!k)throw et(new Kr(ei((Ur(),$de))));if(vy(M,k),s=!0,d+1>=this.j||Oa(this.i,d+1)!=93)throw et(new Kr(ei((Ur(),E8t))));this.d=d+2}if(Ci(this),!s)if(this.c!=0||this.a!=45)Yc(M,r,r);else{if(Ci(this),(q=this.c)==1)throw et(new Kr(ei((Ur(),_H))));q==0&&this.a==93?(Yc(M,r,r),Yc(M,45,45)):(_=this.a,q==10&&(_=this.tl()),Ci(this),Yc(M,r,_))}(this.e&_f)==_f&&this.c==0&&this.a==44&&Ci(this)}if(this.c==1)throw et(new Kr(ei((Ur(),_H))));return n&&(CC(n,M),M=n),v4(M),TC(M),this.b=0,Ci(this),M},l.wl=function(){var e,n,r,s;for(r=this.vl(!1);(s=this.c)!=7;)if(e=this.a,s==0&&(e==45||e==38)||s==4){if(Ci(this),this.c!=9)throw et(new Kr(ei((Ur(),qde))));if(n=this.vl(!1),s==4)vy(r,n);else if(e==45)CC(r,n);else if(e==38)zle(r,n);else throw et(new ic("ASSERT"))}else throw et(new Kr(ei((Ur(),Hde))));return Ci(this),r},l.xl=function(){var e,n;return e=this.a-48,n=(Si(),Si(),new hrt(12,null,e)),!this.g&&(this.g=new gR),dR(this.g,new vpt(e)),Ci(this),n},l.yl=function(){return Ci(this),Si(),C5e},l.zl=function(){return Ci(this),Si(),_5e},l.Al=function(){throw et(new Kr(ei((Ur(),kh))))},l.Bl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Cl=function(){return Ci(this),zcn()},l.Dl=function(){return Ci(this),Si(),A5e},l.El=function(){return Ci(this),Si(),M5e},l.Fl=function(){var e;if(this.d>=this.j||((e=Oa(this.i,this.d++))&65504)!=64)throw et(new Kr(ei((Ur(),Bde))));return Ci(this),Si(),Si(),new Yd(0,e-64)},l.Gl=function(){return Ci(this),Tmn()},l.Hl=function(){return Ci(this),Si(),D5e},l.Il=function(){var e;return e=(Si(),Si(),new Yd(0,105)),Ci(this),e},l.Jl=function(){return Ci(this),Si(),L5e},l.Kl=function(){return Ci(this),Si(),S5e},l.Ll=function(e,n){return this.tl()},l.Ml=function(){return Ci(this),Si(),mLt},l.Nl=function(){var e,n,r,s,o;if(this.d+1>=this.j)throw et(new Kr(ei((Ur(),Pde))));if(s=-1,n=null,e=Oa(this.i,this.d),49<=e&&e<=57){if(s=e-48,!this.g&&(this.g=new gR),dR(this.g,new vpt(s)),++this.d,Oa(this.i,this.d)!=41)throw et(new Kr(ei((Ur(),Mb))));++this.d}else switch(e==63&&--this.d,Ci(this),n=k6t(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw et(new Kr(ei((Ur(),Mb))));break;default:throw et(new Kr(ei((Ur(),Nde))))}if(Ci(this),o=iw(this),r=null,o.e==2){if(o.em()!=2)throw et(new Kr(ei((Ur(),Fde))));r=o.am(1),o=o.am(0)}if(this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),Si(),Si(),new Rte(s,n,o,r)},l.Ol=function(){return Ci(this),Si(),yLt},l.Pl=function(){var e;if(Ci(this),e=Yj(24,iw(this)),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Ql=function(){var e;if(Ci(this),e=Yj(20,iw(this)),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Rl=function(){var e;if(Ci(this),e=Yj(22,iw(this)),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Sl=function(){var e,n,r,s,o;for(e=0,r=0,n=-1;this.d<this.j&&(n=Oa(this.i,this.d),o=i5t(n),o!=0);)e|=o,++this.d;if(this.d>=this.j)throw et(new Kr(ei((Ur(),x8t))));if(n==45){for(++this.d;this.d<this.j&&(n=Oa(this.i,this.d),o=i5t(n),o!=0);)r|=o,++this.d;if(this.d>=this.j)throw et(new Kr(ei((Ur(),x8t))))}if(n==58){if(++this.d,Ci(this),s=HYt(iw(this),e,r),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));Ci(this)}else if(n==41)++this.d,Ci(this),s=HYt(iw(this),e,r);else throw et(new Kr(ei((Ur(),Ode))));return s},l.Tl=function(){var e;if(Ci(this),e=Yj(21,iw(this)),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Ul=function(){var e;if(Ci(this),e=Yj(23,iw(this)),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Vl=function(){var e,n;if(Ci(this),e=this.f++,n=Rnt(iw(this),e),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),n},l.Wl=function(){var e;if(Ci(this),e=Rnt(iw(this),0),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Xl=function(e){return Ci(this),this.c==5?(Ci(this),jj(e,(Si(),Si(),new Wm(9,e)))):jj(e,(Si(),Si(),new Wm(3,e)))},l.Yl=function(e){var n;return Ci(this),n=(Si(),Si(),new l_(2)),this.c==5?(Ci(this),xb(n,fA),xb(n,e)):(xb(n,e),xb(n,fA)),n},l.Zl=function(e){return Ci(this),this.c==5?(Ci(this),Si(),Si(),new Wm(9,e)):(Si(),Si(),new Wm(3,e))},l.a=0,l.b=0,l.c=0,l.d=0,l.e=0,l.f=1,l.g=null,l.j=0,P(Yg,"RegEx/RegexParser",820),D(1824,820,{},xqt),l.sl=function(e){return!1},l.tl=function(){return O5t(this)},l.ul=function(e){return E7(e)},l.vl=function(e){return Ohe(this)},l.wl=function(){throw et(new Kr(ei((Ur(),kh))))},l.xl=function(){throw et(new Kr(ei((Ur(),kh))))},l.yl=function(){throw et(new Kr(ei((Ur(),kh))))},l.zl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Al=function(){return Ci(this),E7(67)},l.Bl=function(){return Ci(this),E7(73)},l.Cl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Dl=function(){throw et(new Kr(ei((Ur(),kh))))},l.El=function(){throw et(new Kr(ei((Ur(),kh))))},l.Fl=function(){return Ci(this),E7(99)},l.Gl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Hl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Il=function(){return Ci(this),E7(105)},l.Jl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Kl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Ll=function(e,n){return vy(e,E7(n)),-1},l.Ml=function(){return Ci(this),Si(),Si(),new Yd(0,94)},l.Nl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Ol=function(){return Ci(this),Si(),Si(),new Yd(0,36)},l.Pl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Ql=function(){throw et(new Kr(ei((Ur(),kh))))},l.Rl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Sl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Tl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Ul=function(){throw et(new Kr(ei((Ur(),kh))))},l.Vl=function(){var e;if(Ci(this),e=Rnt(iw(this),0),this.c!=7)throw et(new Kr(ei((Ur(),Mb))));return Ci(this),e},l.Wl=function(){throw et(new Kr(ei((Ur(),kh))))},l.Xl=function(e){return Ci(this),jj(e,(Si(),Si(),new Wm(3,e)))},l.Yl=function(e){var n;return Ci(this),n=(Si(),Si(),new l_(2)),xb(n,e),xb(n,fA),n},l.Zl=function(e){return Ci(this),Si(),Si(),new Wm(3,e)};var f5=null,O9=null;P(Yg,"RegEx/ParserForXMLSchema",1824),D(117,1,Y7,bv),l.$l=function(e){throw et(new ic("Not supported."))},l._l=function(){return-1},l.am=function(e){return null},l.bm=function(){return null},l.cm=function(e){},l.dm=function(e){},l.em=function(){return 0},l.Ib=function(){return this.fm(0)},l.fm=function(e){return this.e==11?".":""},l.e=0;var bLt,P9,hA,T5e,vLt,n3=null,fU,Ift=null,wLt,fA,Oft=null,mLt,yLt,xLt,kLt,ELt,_5e,Yx,C5e,S5e,A5e,L5e,N9,M5e,D5e,w6n=P(Yg,"RegEx/Token",117);D(136,117,{3:1,136:1,117:1},ql),l.fm=function(e){var n,r,s;if(this.e==4)if(this==wLt)r=".";else if(this==fU)r="\\d";else if(this==N9)r="\\w";else if(this==Yx)r="\\s";else{for(s=new _g,s.a+="[",n=0;n<this.b.length;n+=2)e&_f&&n>0&&(s.a+=","),this.b[n]===this.b[n+1]?Ao(s,TI(this.b[n])):(Ao(s,TI(this.b[n])),s.a+="-",Ao(s,TI(this.b[n+1])));s.a+="]",r=s.a}else if(this==xLt)r="\\D";else if(this==ELt)r="\\W";else if(this==kLt)r="\\S";else{for(s=new _g,s.a+="[^",n=0;n<this.b.length;n+=2)e&_f&&n>0&&(s.a+=","),this.b[n]===this.b[n+1]?Ao(s,TI(this.b[n])):(Ao(s,TI(this.b[n])),s.a+="-",Ao(s,TI(this.b[n+1])));s.a+="]",r=s.a}return r},l.a=!1,l.c=!1,P(Yg,"RegEx/RangeToken",136),D(584,1,{584:1},vpt),l.a=0,P(Yg,"RegEx/RegexParser/ReferencePosition",584),D(583,1,{3:1,583:1},IHt),l.Fb=function(e){var n;return e==null||!_t(e,583)?!1:(n=u(e,583),ln(this.b,n.b)&&this.a==n.a)},l.Hb=function(){return zg(this.b+"/"+S5t(this.a))},l.Ib=function(){return this.c.fm(this.a)},l.a=0,P(Yg,"RegEx/RegularExpression",583),D(223,117,Y7,Yd),l._l=function(){return this.a},l.fm=function(e){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="\\"+hnt(this.a&Ps);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>=co?(r=(n=this.a>>>0,"0"+n.toString(16)),s="\\v"+$l(r,r.length-6,r.length)):s=""+hnt(this.a&Ps)}break;case 8:this==mLt||this==yLt?s=""+hnt(this.a&Ps):s="\\"+hnt(this.a&Ps);break;default:s=null}return s},l.a=0,P(Yg,"RegEx/Token/CharToken",223),D(309,117,Y7,Wm),l.am=function(e){return this.a},l.cm=function(e){this.b=e},l.dm=function(e){this.c=e},l.em=function(){return 1},l.fm=function(e){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.fm(e)+"*";else if(this.c==this.b)n=this.a.fm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.fm(e)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.fm(e)+"{"+this.c+",}";else throw et(new ic("Token#toString(): CLOSURE "+this.c+oo+this.b));else if(this.c<0&&this.b<0)n=this.a.fm(e)+"*?";else if(this.c==this.b)n=this.a.fm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.fm(e)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.fm(e)+"{"+this.c+",}?";else throw et(new ic("Token#toString(): NONGREEDYCLOSURE "+this.c+oo+this.b));return n},l.b=0,l.c=0,P(Yg,"RegEx/Token/ClosureToken",309),D(821,117,Y7,uwt),l.am=function(e){return e==0?this.a:this.b},l.em=function(){return 2},l.fm=function(e){var n;return this.b.e==3&&this.b.am(0)==this.a?n=this.a.fm(e)+"+":this.b.e==9&&this.b.am(0)==this.a?n=this.a.fm(e)+"+?":n=this.a.fm(e)+(""+this.b.fm(e)),n},P(Yg,"RegEx/Token/ConcatToken",821),D(1822,117,Y7,Rte),l.am=function(e){if(e==0)return this.d;if(e==1)return this.b;throw et(new ic("Internal Error: "+e))},l.em=function(){return this.b?2:1},l.fm=function(e){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},l.c=0,P(Yg,"RegEx/Token/ConditionToken",1822),D(1823,117,Y7,RQt),l.am=function(e){return this.b},l.em=function(){return 1},l.fm=function(e){return"(?"+(this.a==0?"":S5t(this.a))+(this.c==0?"":S5t(this.c))+":"+this.b.fm(e)+")"},l.a=0,l.c=0,P(Yg,"RegEx/Token/ModifierToken",1823),D(822,117,Y7,pwt),l.am=function(e){return this.a},l.em=function(){return 1},l.fm=function(e){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.fm(e)+")":n="("+this.a.fm(e)+")";break;case 20:n="(?="+this.a.fm(e)+")";break;case 21:n="(?!"+this.a.fm(e)+")";break;case 22:n="(?<="+this.a.fm(e)+")";break;case 23:n="(?<!"+this.a.fm(e)+")";break;case 24:n="(?>"+this.a.fm(e)+")"}return n},l.b=0,P(Yg,"RegEx/Token/ParenToken",822),D(521,117,{3:1,117:1,521:1},hrt),l.bm=function(){return this.b},l.fm=function(e){return this.e==12?"\\"+this.a:Ipn(this.b)},l.a=0,P(Yg,"RegEx/Token/StringToken",521),D(465,117,Y7,l_),l.$l=function(e){xb(this,e)},l.am=function(e){return u(Bv(this.a,e),117)},l.em=function(){return this.a?this.a.a.c.length:0},l.fm=function(e){var n,r,s,o,h;if(this.e==1){if(this.a.a.c.length==2)n=u(Bv(this.a,0),117),r=u(Bv(this.a,1),117),r.e==3&&r.am(0)==n?o=n.fm(e)+"+":r.e==9&&r.am(0)==n?o=n.fm(e)+"+?":o=n.fm(e)+(""+r.fm(e));else{for(h=new _g,s=0;s<this.a.a.c.length;s++)Ao(h,u(Bv(this.a,s),117).fm(e));o=h.a}return o}if(this.a.a.c.length==2&&u(Bv(this.a,1),117).e==7)o=u(Bv(this.a,0),117).fm(e)+"?";else if(this.a.a.c.length==2&&u(Bv(this.a,0),117).e==7)o=u(Bv(this.a,1),117).fm(e)+"??";else{for(h=new _g,Ao(h,u(Bv(this.a,0),117).fm(e)),s=1;s<this.a.a.c.length;s++)h.a+="|",Ao(h,u(Bv(this.a,s),117).fm(e));o=h.a}return o},P(Yg,"RegEx/Token/UnionToken",465),D(518,1,{592:1},gM),l.Ib=function(){return this.a.b},P(Z0e,"XMLTypeUtil/PatternMatcherImpl",518),D(1622,1381,{},MB);var I5e;P(Z0e,"XMLTypeValidator",1622),D(264,1,i0,J2),l.Jc=function(e){Pa(this,e)},l.Kc=function(){return(this.b-this.a)*this.c<0?I2:new jp(this)},l.a=0,l.b=0,l.c=0;var I2;P(q8t,"ExclusiveRange",264),D(1068,1,r0,MJ),l.Rb=function(e){u(e,19),cXe()},l.Nb=function(e){Ia(this,e)},l.Pb=function(){return JKe()},l.Ub=function(){return tYe()},l.Wb=function(e){u(e,19),lXe()},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Tb=function(){return-1},l.Vb=function(){return-1},l.Qb=function(){throw et(new Tg(ege))},P(q8t,"ExclusiveRange/1",1068),D(254,1,r0,jp),l.Rb=function(e){u(e,19),uXe()},l.Nb=function(e){Ia(this,e)},l.Pb=function(){return cun(this)},l.Ub=function(){return ian(this)},l.Wb=function(e){u(e,19),hXe()},l.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Vb=function(){return this.b-1},l.Qb=function(){throw et(new Tg(ege))},l.a=0,l.b=0,P(q8t,"ExclusiveRange/RangeIterator",254);var Sh=x8(CH,"C"),Fr=x8(tS,"I"),Tl=x8(lx,"Z"),O2=x8(eS,"J"),tl=x8(QC,"B"),wa=x8(ZC,"D"),r3=x8(JC,"F"),d5=x8(nS,"S"),m6n=ls("org.eclipse.elk.core.labels","ILabelManager"),TLt=ls(to,"DiagnosticChain"),_Lt=ls(L0e,"ResourceSet"),CLt=P(to,"InvocationTargetException",null),O5e=(mR(),lsn),P5e=P5e=J1n;son(ZWe),Don("permProps",[[[jH,$H],[zH,"gecko1_8"]],[[jH,$H],[zH,"ie10"]],[[jH,$H],[zH,"ie8"]],[[jH,$H],[zH,"ie9"]],[[jH,$H],[zH,"safari"]]]),P5e(null,"elk",null)}).call(this)}).call(this,typeof v0<"u"?v0:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(f,p,v){function m(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function b(N,F){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:N}function E(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);N.prototype=Object.create(F&&F.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(N,F):N.__proto__=F)}var C=f("./elk-api.js").default,A=function(N){E(F,N);function F(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};m(this,F);var R=Object.assign({},j),H=!1;try{f.resolve("web-worker"),H=!0}catch{}if(j.workerUrl)if(H){var Y=f("web-worker");R.workerFactory=function(it){return new Y(it)}}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(!j.workerFactory){var ae=f("./elk-worker.min.js"),le=ae.Worker;j.workerFactory=function(ce){return new le(ce)}}return b(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,j))}return F}(A);Object.defineProperty(p.exports,"__esModule",{value:!0}),p.exports=N,N.default=N},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(f,p,w){p.exports=Worker},{}]},{},[3])(3)})})(LHt);const MHt=GAe(ige),GFe=new MHt,nm={},DHt={};let D5={};const IHt=function(s,o,f,p,w,k,b){const _=f.select(`[id="${o}"]`),A=_.insert("g").attr("class","nodes");return Object.keys(s).forEach(function(B){const F=s[B];let H="default";F.classes.length>0&&(H=F.classes.join(" "));const j=qw(F.styles);let V=F.text!==void 0?F.text:F.id,Z;const ae={width:0,height:0};if(l1(Pt().flowchart.htmlLabels)){const re={label:V.replace(/fa[blrs]?:fa-[\w-]+/g,ke=>`<i class='${ke.replace(":"," ")}'></i>`)};Z=JK(_,re).node();const we=Z.getBBox();ae.width=we.width,ae.height=we.height,ae.labelNode=Z,Z.parentNode.removeChild(Z)}else{const re=p.createElementNS("http://www.w3.org/2000/svg","text");re.setAttribute("style",j.labelStyle.replace("color:","fill:"));const we=V.split(xa.lineBreakRegex);for(const he of we){const De=p.createElementNS("http://www.w3.org/2000/svg","tspan");De.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),De.setAttribute("dy","1em"),De.setAttribute("x","1"),De.textContent=he,re.appendChild(De)}Z=re;const ke=Z.getBBox();ae.width=ke.width,ae.height=ke.height,ae.labelNode=Z}const le=[{id:F.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:F.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:F.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:F.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let ce=0,be="",xe={};switch(F.type){case"round":ce=5,be="rect";break;case"square":be="rect";break;case"diamond":be="question",xe={portConstraints:"FIXED_SIDE"};break;case"hexagon":be="hexagon";break;case"odd":be="rect_left_inv_arrow";break;case"lean_right":be="lean_right";break;case"lean_left":be="lean_left";break;case"trapezoid":be="trapezoid";break;case"inv_trapezoid":be="inv_trapezoid";break;case"odd_right":be="rect_left_inv_arrow";break;case"circle":be="circle";break;case"ellipse":be="ellipse";break;case"stadium":be="stadium";break;case"subroutine":be="subroutine";break;case"cylinder":be="cylinder";break;case"group":be="rect";break;case"doublecircle":be="doublecircle";break;default:be="rect"}const Ee={labelStyle:j.labelStyle,shape:be,labelText:V,rx:ce,ry:ce,class:H,style:j.style,id:F.id,link:F.link,linkTarget:F.linkTarget,tooltip:w.db.getTooltip(F.id)||"",domId:w.db.lookUpDomId(F.id),haveCallback:F.haveCallback,width:F.type==="group"?500:void 0,dir:F.dir,type:F.type,props:F.props,padding:Pt().flowchart.padding};let Me,fe;Ee.type!=="group"&&(fe=zNe(A,Ee,F.dir),Me=fe.node().getBBox());const ye={id:F.id,ports:F.type==="diamond"?le:[],layoutOptions:xe,labelText:V,labelData:ae,domId:w.db.lookUpDomId(F.id),width:Me==null?void 0:Me.width,height:Me==null?void 0:Me.height,type:F.type,el:fe,parent:k.parentById[F.id]};D5[Ee.id]=ye}),b},qFe=(s,o,f)=>{const p={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 p.TD=p.TB,je.info("abc88",f,o,s),p[f][o][s]},VFe=(s,o,f)=>{if(je.info("getNextPort abc88",{node:s,edgeDirection:o,graphDirection:f}),!nm[s])switch(f){case"TB":case"TD":nm[s]={inPosition:"north",outPosition:"south"};break;case"BT":nm[s]={inPosition:"south",outPosition:"north"};break;case"RL":nm[s]={inPosition:"east",outPosition:"west"};break;case"LR":nm[s]={inPosition:"west",outPosition:"east"};break}const p=o==="in"?nm[s].inPosition:nm[s].outPosition;return o==="in"?nm[s].inPosition=qFe(nm[s].inPosition,o,f):nm[s].outPosition=qFe(nm[s].outPosition,o,f),p},OHt=(s,o)=>{let f=s.start,p=s.end;const w=D5[f],k=D5[p];return!w||!k?{source:f,target:p}:(w.type==="diamond"&&(f=`${f}-${VFe(f,"out",o)}`),k.type==="diamond"&&(p=`${p}-${VFe(p,"in",o)}`),{source:f,target:p})},NHt=function(s,o,f,p){je.info("abc78 edges = ",s);const w=p.insert("g").attr("class","edgeLabels");let k={},b=o.db.getDirection(),_,A;if(s.defaultStyle!==void 0){const N=qw(s.defaultStyle);_=N.style,A=N.labelStyle}return s.forEach(function(N){var B="L-"+N.start+"-"+N.end;k[B]===void 0?(k[B]=0,je.info("abc78 new entry",B,k[B])):(k[B]++,je.info("abc78 new entry",B,k[B]));let F=B+"-"+k[B];je.info("abc78 new link id to be used is",B,F,k[B]);var H="LS-"+N.start,j="LE-"+N.end;const V={style:"",labelStyle:""};switch(V.minlen=N.length||1,N.type==="arrow_open"?V.arrowhead="none":V.arrowhead="normal",V.arrowTypeStart="arrow_open",V.arrowTypeEnd="arrow_open",N.type){case"double_arrow_cross":V.arrowTypeStart="arrow_cross";case"arrow_cross":V.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":V.arrowTypeStart="arrow_point";case"arrow_point":V.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":V.arrowTypeStart="arrow_circle";case"arrow_circle":V.arrowTypeEnd="arrow_circle";break}let Z="",ae="";switch(N.stroke){case"normal":Z="fill:none;",_!==void 0&&(Z=_),A!==void 0&&(ae=A),V.thickness="normal",V.pattern="solid";break;case"dotted":V.thickness="normal",V.pattern="dotted",V.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":V.thickness="thick",V.pattern="solid",V.style="stroke-width: 3.5px;fill:none;";break}if(N.style!==void 0){const xe=qw(N.style);Z=xe.style,ae=xe.labelStyle}V.style=V.style+=Z,V.labelStyle=V.labelStyle+=ae,N.interpolate!==void 0?V.curve=Jg(N.interpolate,Pd):s.defaultInterpolate!==void 0?V.curve=Jg(s.defaultInterpolate,Pd):V.curve=Jg(DHt.curve,Pd),N.text===void 0?N.style!==void 0&&(V.arrowheadStyle="fill: #333"):(V.arrowheadStyle="fill: #333",V.labelpos="c"),V.labelType="text",V.label=N.text.replace(xa.lineBreakRegex,`
-`),N.style===void 0&&(V.style=V.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),V.labelStyle=V.labelStyle.replace("color:","fill:"),V.id=F,V.classes="flowchart-link "+H+" "+j;const le=VNe(w,V),{source:ce,target:be}=OHt(N,b);je.debug("abc78 source and target",ce,be),f.edges.push({id:"e"+N.start+N.end,sources:[ce],targets:[be],labelEl:le,labels:[{width:V.width,height:V.height,orgWidth:V.width,orgHeight:V.height,text:V.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:V})}),f},PHt=function(s,o,f,p){let w="";switch(p&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),o.arrowTypeStart){case"arrow_cross":s.attr("marker-start","url("+w+"#"+f+"-crossStart)");break;case"arrow_point":s.attr("marker-start","url("+w+"#"+f+"-pointStart)");break;case"arrow_barb":s.attr("marker-start","url("+w+"#"+f+"-barbStart)");break;case"arrow_circle":s.attr("marker-start","url("+w+"#"+f+"-circleStart)");break;case"aggregation":s.attr("marker-start","url("+w+"#"+f+"-aggregationStart)");break;case"extension":s.attr("marker-start","url("+w+"#"+f+"-extensionStart)");break;case"composition":s.attr("marker-start","url("+w+"#"+f+"-compositionStart)");break;case"dependency":s.attr("marker-start","url("+w+"#"+f+"-dependencyStart)");break;case"lollipop":s.attr("marker-start","url("+w+"#"+f+"-lollipopStart)");break}switch(o.arrowTypeEnd){case"arrow_cross":s.attr("marker-end","url("+w+"#"+f+"-crossEnd)");break;case"arrow_point":s.attr("marker-end","url("+w+"#"+f+"-pointEnd)");break;case"arrow_barb":s.attr("marker-end","url("+w+"#"+f+"-barbEnd)");break;case"arrow_circle":s.attr("marker-end","url("+w+"#"+f+"-circleEnd)");break;case"aggregation":s.attr("marker-end","url("+w+"#"+f+"-aggregationEnd)");break;case"extension":s.attr("marker-end","url("+w+"#"+f+"-extensionEnd)");break;case"composition":s.attr("marker-end","url("+w+"#"+f+"-compositionEnd)");break;case"dependency":s.attr("marker-end","url("+w+"#"+f+"-dependencyEnd)");break;case"lollipop":s.attr("marker-end","url("+w+"#"+f+"-lollipopEnd)");break}},BHt=function(s,o){je.info("Extracting classes"),o.db.clear("ver-2");try{return o.parse(s),o.db.getClasses()}catch{return{}}},FHt=function(s){const o={parentById:{},childrenById:{}},f=s.getSubGraphs();return je.info("Subgraphs - ",f),f.forEach(function(p){p.nodes.forEach(function(w){o.parentById[w]=p.id,o.childrenById[p.id]===void 0&&(o.childrenById[p.id]=[]),o.childrenById[p.id].push(w)})}),f.forEach(function(p){p.id,o.parentById[p.id]!==void 0&&o.parentById[p.id]}),o},RHt=function(s,o,f){const p=AHt(s,o,f);if(p===void 0||p==="root")return{x:0,y:0};const w=D5[p].offset;return{x:w.posX,y:w.posY}},jHt=function(s,o,f,p,w){const k=RHt(o.sources[0],o.targets[0],w),b=o.sections[0].startPoint,_=o.sections[0].endPoint,N=(o.sections[0].bendPoints?o.sections[0].bendPoints:[]).map(ae=>[ae.x+k.x,ae.y+k.y]),B=[[b.x+k.x,b.y+k.y],...N,[_.x+k.x,_.y+k.y]],F=RE().curve(Pd),H=s.insert("path").attr("d",F(B)).attr("class","path").attr("fill","none"),j=s.insert("g").attr("class","edgeLabel"),V=sr(j.node().appendChild(o.labelEl)),Z=V.node().firstChild.getBoundingClientRect();V.attr("width",Z.width),V.attr("height",Z.height),j.attr("transform",`translate(${o.labels[0].x+k.x}, ${o.labels[0].y+k.y})`),PHt(H,f,p.type,p.arrowMarkerAbsolute)},UFe=(s,o)=>{s.forEach(f=>{f.children||(f.children=[]);const p=o.childrenById[f.id];p&&p.forEach(w=>{f.children.push(D5[w])}),UFe(f.children,o)})},$Ht=async function(s,o,f,p){var fe;p.db.clear(),D5={},p.db.setGen("gen-2"),p.parser.parse(s);const w=sr("body").append("div").attr("style","height:400px").attr("id","cy");let k={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(je.info("Drawing flowchart using v3 renderer",GFe),p.db.getDirection()){case"BT":k.layoutOptions["elk.direction"]="UP";break;case"TB":k.layoutOptions["elk.direction"]="DOWN";break;case"LR":k.layoutOptions["elk.direction"]="RIGHT";break;case"RL":k.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:_,flowchart:A}=Pt();let N;_==="sandbox"&&(N=sr("#i"+o));const B=sr(_==="sandbox"?N.nodes()[0].contentDocument.body:"body"),F=_==="sandbox"?N.nodes()[0].contentDocument:document,H=B.select(`[id="${o}"]`);MNe(H,["point","circle","cross"],p.type,p.arrowMarkerAbsolute);const V=p.db.getVertices();let Z;const ae=p.db.getSubGraphs();je.info("Subgraphs - ",ae);for(let ye=ae.length-1;ye>=0;ye--)Z=ae[ye],p.db.addVertex(Z.id,Z.title,"group",void 0,Z.classes,Z.dir);const le=H.insert("g").attr("class","subgraphs"),ce=FHt(p.db);k=IHt(V,o,B,F,p,ce,k);const be=H.insert("g").attr("class","edges edgePath"),xe=p.db.getEdges();k=NHt(xe,p,k,H),Object.keys(D5).forEach(ye=>{const re=D5[ye];re.parent||k.children.push(re),ce.childrenById[ye]!==void 0&&(re.labels=[{text:re.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:re.labelData.width,height:re.labelData.height}],delete re.x,delete re.y,delete re.width,delete re.height)}),UFe(k.children,ce),je.info("after layout",JSON.stringify(k,null,2));const Me=await GFe.layout(k);KFe(0,0,Me.children,H,le,p,0),je.info("after layout",Me),(fe=Me.edges)==null||fe.map(ye=>{jHt(be,ye,ye.edgeData,p,ce)}),KE({},H,A.diagramPadding,A.useMaxWidth),w.remove()},KFe=(s,o,f,p,w,k,b)=>{f.forEach(function(_){if(_)if(D5[_.id].offset={posX:_.x+s,posY:_.y+o,x:s,y:o,depth:b,width:_.width,height:_.height},_.type==="group"){const A=w.insert("g").attr("class","subgraph");A.insert("rect").attr("class","subgraph subgraph-lvl-"+b%5+" node").attr("x",_.x+s).attr("y",_.y+o).attr("width",_.width).attr("height",_.height);const N=A.insert("g").attr("class","label");N.attr("transform",`translate(${_.labels[0].x+s+_.x}, ${_.labels[0].y+o+_.y})`),N.node().appendChild(_.labelData.labelNode),je.info("Id (UGH)= ",_.type,_.labels)}else je.info("Id (UGH)= ",_.id),_.el.attr("transform",`translate(${_.x+s+_.width/2}, ${_.y+o+_.height/2})`)}),f.forEach(function(_){_&&_.type==="group"&&KFe(s+_.x,o+_.y,_.children,p,w,k,b+1)})},HHt={getClasses:BHt,draw:$Ht},zHt=s=>{let o="";for(let f=0;f<5;f++)o+=`
+... Falling back to non-web worker version.`);if(!R.workerFactory){var rt=f("./elk-worker.min.js"),J=rt.Worker;R.workerFactory=function(it){return new J(it)}}return b(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,R))}return F}(C);Object.defineProperty(p.exports,"__esModule",{value:!0}),p.exports=A,A.default=A},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(f,p,v){p.exports=Worker},{}]},{},[3])(3)})})(pjt);var rUe=pjt.exports;const iUe=R9(rUe),bjt=new iUe;let sv={};const sUe={};let R5={};const aUe=async function(i,a,f,p,v,m,b){const C=f.select(`[id="${a}"]`).insert("g").attr("class","nodes"),A=Object.keys(i);return await Promise.all(A.map(async function(N){const F=i[N];let j="default";F.classes.length>0&&(j=F.classes.join(" ")),j=j+" flowchart-label";const R=Jw(F.styles);let H=F.text!==void 0?F.text:F.id;const Y={width:0,height:0},rt=[{id:F.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:F.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:F.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:F.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let J=0,it="",ht={};switch(F.type){case"round":J=5,it="rect";break;case"square":it="rect";break;case"diamond":it="question",ht={portConstraints:"FIXED_SIDE"};break;case"hexagon":it="hexagon";break;case"odd":it="rect_left_inv_arrow";break;case"lean_right":it="lean_right";break;case"lean_left":it="lean_left";break;case"trapezoid":it="trapezoid";break;case"inv_trapezoid":it="inv_trapezoid";break;case"odd_right":it="rect_left_inv_arrow";break;case"circle":it="circle";break;case"ellipse":it="ellipse";break;case"stadium":it="stadium";break;case"subroutine":it="subroutine";break;case"cylinder":it="cylinder";break;case"group":it="rect";break;case"doublecircle":it="doublecircle";break;default:it="rect"}const Tt={labelStyle:R.labelStyle,shape:it,labelText:H,labelType:F.labelType,rx:J,ry:J,class:j,style:R.style,id:F.id,link:F.link,linkTarget:F.linkTarget,tooltip:v.db.getTooltip(F.id)||"",domId:v.db.lookUpDomId(F.id),haveCallback:F.haveCallback,width:F.type==="group"?500:void 0,dir:F.dir,type:F.type,props:F.props,padding:Me().flowchart.padding};let yt,vt;if(Tt.type!=="group")vt=await kBt(C,Tt,F.dir),yt=vt.node().getBBox();else{p.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:xt,bbox:st}=await jd(C,Tt,void 0,!0);Y.width=st.width,Y.wrappingWidth=Me().flowchart.wrappingWidth,Y.height=st.height,Y.labelNode=xt.node(),Tt.labelData=Y}const ut={id:F.id,ports:F.type==="diamond"?rt:[],layoutOptions:ht,labelText:H,labelData:Y,domId:v.db.lookUpDomId(F.id),width:yt==null?void 0:yt.width,height:yt==null?void 0:yt.height,type:F.type,el:vt,parent:m.parentById[F.id]};R5[Tt.id]=ut})),b},vjt=(i,a,f)=>{const p={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 p.TD=p.TB,Vt.info("abc88",f,a,i),p[f][a][i]},wjt=(i,a,f)=>{if(Vt.info("getNextPort abc88",{node:i,edgeDirection:a,graphDirection:f}),!sv[i])switch(f){case"TB":case"TD":sv[i]={inPosition:"north",outPosition:"south"};break;case"BT":sv[i]={inPosition:"south",outPosition:"north"};break;case"RL":sv[i]={inPosition:"east",outPosition:"west"};break;case"LR":sv[i]={inPosition:"west",outPosition:"east"};break}const p=a==="in"?sv[i].inPosition:sv[i].outPosition;return a==="in"?sv[i].inPosition=vjt(sv[i].inPosition,a,f):sv[i].outPosition=vjt(sv[i].outPosition,a,f),p},oUe=(i,a)=>{let f=i.start,p=i.end;const v=f,m=p,b=R5[f],E=R5[p];return!b||!E?{source:f,target:p}:(b.type==="diamond"&&(f=`${f}-${wjt(f,"out",a)}`),E.type==="diamond"&&(p=`${p}-${wjt(p,"in",a)}`),{source:f,target:p,sourceId:v,targetId:m})},cUe=function(i,a,f,p){Vt.info("abc78 edges = ",i);const v=p.insert("g").attr("class","edgeLabels");let m={},b=a.db.getDirection(),E,C;if(i.defaultStyle!==void 0){const A=Jw(i.defaultStyle);E=A.style,C=A.labelStyle}return i.forEach(function(A){const N="L-"+A.start+"-"+A.end;m[N]===void 0?(m[N]=0,Vt.info("abc78 new entry",N,m[N])):(m[N]++,Vt.info("abc78 new entry",N,m[N]));let F=N+"-"+m[N];Vt.info("abc78 new link id to be used is",N,F,m[N]);const j="LS-"+A.start,R="LE-"+A.end,H={style:"",labelStyle:""};switch(H.minlen=A.length||1,A.type==="arrow_open"?H.arrowhead="none":H.arrowhead="normal",H.arrowTypeStart="arrow_open",H.arrowTypeEnd="arrow_open",A.type){case"double_arrow_cross":H.arrowTypeStart="arrow_cross";case"arrow_cross":H.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":H.arrowTypeStart="arrow_point";case"arrow_point":H.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":H.arrowTypeStart="arrow_circle";case"arrow_circle":H.arrowTypeEnd="arrow_circle";break}let Y="",rt="";switch(A.stroke){case"normal":Y="fill:none;",E!==void 0&&(Y=E),C!==void 0&&(rt=C),H.thickness="normal",H.pattern="solid";break;case"dotted":H.thickness="normal",H.pattern="dotted",H.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":H.thickness="thick",H.pattern="solid",H.style="stroke-width: 3.5px;fill:none;";break}if(A.style!==void 0){const vt=Jw(A.style);Y=vt.style,rt=vt.labelStyle}H.style=H.style+=Y,H.labelStyle=H.labelStyle+=rt,A.interpolate!==void 0?H.curve=Zb(A.interpolate,ag):i.defaultInterpolate!==void 0?H.curve=Zb(i.defaultInterpolate,ag):H.curve=Zb(sUe.curve,ag),A.text===void 0?A.style!==void 0&&(H.arrowheadStyle="fill: #333"):(H.arrowheadStyle="fill: #333",H.labelpos="c"),H.labelType=A.labelType,H.label=A.text.replace(bi.lineBreakRegex,`
+`),A.style===void 0&&(H.style=H.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),H.labelStyle=H.labelStyle.replace("color:","fill:"),H.id=F,H.classes="flowchart-link "+j+" "+R;const J=_Bt(v,H),{source:it,target:ht,sourceId:Tt,targetId:yt}=oUe(A,b);Vt.debug("abc78 source and target",it,ht),f.edges.push({id:"e"+A.start+A.end,sources:[it],targets:[ht],sourceId:Tt,targetId:yt,labelEl:J,labels:[{width:H.width,height:H.height,orgWidth:H.width,orgHeight:H.height,text:H.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:H})}),f},uUe=function(i,a,f,p){let v="";switch(p&&(v=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,v=v.replace(/\(/g,"\\("),v=v.replace(/\)/g,"\\)")),a.arrowTypeStart){case"arrow_cross":i.attr("marker-start","url("+v+"#"+f+"-crossStart)");break;case"arrow_point":i.attr("marker-start","url("+v+"#"+f+"-pointStart)");break;case"arrow_barb":i.attr("marker-start","url("+v+"#"+f+"-barbStart)");break;case"arrow_circle":i.attr("marker-start","url("+v+"#"+f+"-circleStart)");break;case"aggregation":i.attr("marker-start","url("+v+"#"+f+"-aggregationStart)");break;case"extension":i.attr("marker-start","url("+v+"#"+f+"-extensionStart)");break;case"composition":i.attr("marker-start","url("+v+"#"+f+"-compositionStart)");break;case"dependency":i.attr("marker-start","url("+v+"#"+f+"-dependencyStart)");break;case"lollipop":i.attr("marker-start","url("+v+"#"+f+"-lollipopStart)");break}switch(a.arrowTypeEnd){case"arrow_cross":i.attr("marker-end","url("+v+"#"+f+"-crossEnd)");break;case"arrow_point":i.attr("marker-end","url("+v+"#"+f+"-pointEnd)");break;case"arrow_barb":i.attr("marker-end","url("+v+"#"+f+"-barbEnd)");break;case"arrow_circle":i.attr("marker-end","url("+v+"#"+f+"-circleEnd)");break;case"aggregation":i.attr("marker-end","url("+v+"#"+f+"-aggregationEnd)");break;case"extension":i.attr("marker-end","url("+v+"#"+f+"-extensionEnd)");break;case"composition":i.attr("marker-end","url("+v+"#"+f+"-compositionEnd)");break;case"dependency":i.attr("marker-end","url("+v+"#"+f+"-dependencyEnd)");break;case"lollipop":i.attr("marker-end","url("+v+"#"+f+"-lollipopEnd)");break}},lUe=function(i,a){Vt.info("Extracting classes"),a.db.clear("ver-2");try{return a.parse(i),a.db.getClasses()}catch{return{}}},hUe=function(i){const a={parentById:{},childrenById:{}},f=i.getSubGraphs();return Vt.info("Subgraphs - ",f),f.forEach(function(p){p.nodes.forEach(function(v){a.parentById[v]=p.id,a.childrenById[p.id]===void 0&&(a.childrenById[p.id]=[]),a.childrenById[p.id].push(v)})}),f.forEach(function(p){p.id,a.parentById[p.id]!==void 0&&a.parentById[p.id]}),a},fUe=function(i,a,f){const p=nUe(i,a,f);if(p===void 0||p==="root")return{x:0,y:0};const v=R5[p].offset;return{x:v.posX,y:v.posY}},dUe=function(i,a,f,p,v){const m=fUe(a.sourceId,a.targetId,v),b=a.sections[0].startPoint,E=a.sections[0].endPoint,A=(a.sections[0].bendPoints?a.sections[0].bendPoints:[]).map(rt=>[rt.x+m.x,rt.y+m.y]),N=[[b.x+m.x,b.y+m.y],...A,[E.x+m.x,E.y+m.y]],F=Z9().curve(ag),j=i.insert("path").attr("d",F(N)).attr("class","path "+f.classes).attr("fill","none"),R=i.insert("g").attr("class","edgeLabel"),H=wr(R.node().appendChild(a.labelEl)),Y=H.node().firstChild.getBoundingClientRect();H.attr("width",Y.width),H.attr("height",Y.height),R.attr("transform",`translate(${a.labels[0].x+m.x}, ${a.labels[0].y+m.y})`),uUe(j,f,p.type,p.arrowMarkerAbsolute)},mjt=(i,a)=>{i.forEach(f=>{f.children||(f.children=[]);const p=a.childrenById[f.id];p&&p.forEach(v=>{f.children.push(R5[v])}),mjt(f.children,a)})},gUe=async function(i,a,f,p){var ut;p.db.clear(),R5={},sv={},p.db.setGen("gen-2"),p.parser.parse(i);const v=wr("body").append("div").attr("style","height:400px").attr("id","cy");let m={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(Vt.info("Drawing flowchart using v3 renderer",bjt),p.db.getDirection()){case"BT":m.layoutOptions["elk.direction"]="UP";break;case"TB":m.layoutOptions["elk.direction"]="DOWN";break;case"LR":m.layoutOptions["elk.direction"]="RIGHT";break;case"RL":m.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:E,flowchart:C}=Me();let A;E==="sandbox"&&(A=wr("#i"+a));const N=wr(E==="sandbox"?A.nodes()[0].contentDocument.body:"body"),F=E==="sandbox"?A.nodes()[0].contentDocument:document,j=N.select(`[id="${a}"]`);LFt(j,["point","circle","cross"],p.type,p.arrowMarkerAbsolute);const H=p.db.getVertices();let Y;const rt=p.db.getSubGraphs();Vt.info("Subgraphs - ",rt);for(let xt=rt.length-1;xt>=0;xt--)Y=rt[xt],p.db.addVertex(Y.id,{text:Y.title,type:Y.labelType},"group",void 0,Y.classes,Y.dir);const J=j.insert("g").attr("class","subgraphs"),it=hUe(p.db);m=await aUe(H,a,N,F,p,it,m);const ht=j.insert("g").attr("class","edges edgePath"),Tt=p.db.getEdges();m=cUe(Tt,p,m,j),Object.keys(R5).forEach(xt=>{const st=R5[xt];st.parent||m.children.push(st),it.childrenById[xt]!==void 0&&(st.labels=[{text:st.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:st.labelData.width,height:st.labelData.height}],delete st.x,delete st.y,delete st.width,delete st.height)}),mjt(m.children,it),Vt.info("after layout",JSON.stringify(m,null,2));const vt=await bjt.layout(m);yjt(0,0,vt.children,j,J,p,0),Vt.info("after layout",vt),(ut=vt.edges)==null||ut.map(xt=>{dUe(ht,xt,xt.edgeData,p,it)}),nE({},j,C.diagramPadding,C.useMaxWidth),v.remove()},yjt=(i,a,f,p,v,m,b)=>{f.forEach(function(E){if(E)if(R5[E.id].offset={posX:E.x+i,posY:E.y+a,x:i,y:a,depth:b,width:E.width,height:E.height},E.type==="group"){const C=v.insert("g").attr("class","subgraph");C.insert("rect").attr("class","subgraph subgraph-lvl-"+b%5+" node").attr("x",E.x+i).attr("y",E.y+a).attr("width",E.width).attr("height",E.height);const A=C.insert("g").attr("class","label"),N=Me().flowchart.htmlLabels?E.labelData.width/2:0;A.attr("transform",`translate(${E.labels[0].x+i+E.x+N}, ${E.labels[0].y+a+E.y+3})`),A.node().appendChild(E.labelData.labelNode),Vt.info("Id (UGH)= ",E.type,E.labels)}else Vt.info("Id (UGH)= ",E.id),E.el.attr("transform",`translate(${E.x+i+E.width/2}, ${E.y+a+E.height/2})`)}),f.forEach(function(E){E&&E.type==="group"&&yjt(i+E.x,a+E.y,E.children,p,v,m,b+1)})},pUe={getClasses:lUe,draw:gUe},bUe=i=>{let a="";for(let f=0;f<5;f++)a+=`
.subgraph-lvl-${f} {
- fill: ${s[`surface${f}`]};
- stroke: ${s[`surfacePeer${f}`]};
+ fill: ${i[`surface${f}`]};
+ stroke: ${i[`surfacePeer${f}`]};
}
- `;return o},GHt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:FBt,renderer:HHt,parser:Vde,styles:s=>`.label {
- font-family: ${s.fontFamily};
- color: ${s.nodeTextColor||s.textColor};
+ `;return a},vUe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:zMe,renderer:pUe,parser:Mdt,styles:i=>`.label {
+ font-family: ${i.fontFamily};
+ color: ${i.nodeTextColor||i.textColor};
}
.cluster-label text {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.cluster-label span {
- color: ${s.titleColor};
+ color: ${i.titleColor};
}
.label text,span {
- fill: ${s.nodeTextColor||s.textColor};
- color: ${s.nodeTextColor||s.textColor};
+ fill: ${i.nodeTextColor||i.textColor};
+ color: ${i.nodeTextColor||i.textColor};
}
.node rect,
@@ -1334,8 +1378,8 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
.node ellipse,
.node polygon,
.node path {
- fill: ${s.mainBkg};
- stroke: ${s.nodeBorder};
+ fill: ${i.mainBkg};
+ stroke: ${i.nodeBorder};
stroke-width: 1px;
}
@@ -1347,44 +1391,44 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
}
.arrowheadPath {
- fill: ${s.arrowheadColor};
+ fill: ${i.arrowheadColor};
}
.edgePath .path {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
- stroke: ${s.lineColor};
+ stroke: ${i.lineColor};
fill: none;
}
.edgeLabel {
- background-color: ${s.edgeLabelBackground};
+ background-color: ${i.edgeLabelBackground};
rect {
- opacity: 0.5;
- background-color: ${s.edgeLabelBackground};
- fill: ${s.edgeLabelBackground};
+ opacity: 0.85;
+ background-color: ${i.edgeLabelBackground};
+ fill: ${i.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
- fill: ${s.clusterBkg};
- stroke: ${s.clusterBorder};
+ fill: ${i.clusterBkg};
+ stroke: ${i.clusterBorder};
stroke-width: 1px;
}
.cluster text {
- fill: ${s.titleColor};
+ fill: ${i.titleColor};
}
.cluster span {
- color: ${s.titleColor};
+ color: ${i.titleColor};
}
/* .cluster div {
- color: ${s.titleColor};
+ color: ${i.titleColor};
} */
div.mermaidTooltip {
@@ -1392,10 +1436,10 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
text-align: center;
max-width: 200px;
padding: 2px;
- font-family: ${s.fontFamily};
+ font-family: ${i.fontFamily};
font-size: 12px;
- background: ${s.tertiaryColor};
- border: 1px solid ${s.border2};
+ background: ${i.tertiaryColor};
+ border: 1px solid ${i.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
@@ -1404,7 +1448,7 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
- fill: ${s.textColor};
+ fill: ${i.textColor};
}
.subgraph {
stroke-width:2;
@@ -1414,37 +1458,41 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
// fill:#ccc;
// // stroke:black;
// }
- ${zHt(s)}
-`}},Symbol.toStringTag,{value:"Module"}));var sge=function(){var s=function(ae,le,ce,be){for(ce=ce||{},be=ae.length;be--;ce[ae[be]]=le);return ce},o=[1,2],f=[1,5],p=[6,9,11,17,18,20,22,23,26,27,28],w=[1,15],k=[1,16],b=[1,17],_=[1,18],A=[1,19],N=[1,23],B=[1,24],F=[1,27],H=[4,6,9,11,17,18,20,22,23,26,27,28],j={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(le,ce,be,xe,Ee,Me,fe){var ye=Me.length-1;switch(Ee){case 1:return Me[ye-1];case 3:this.$=[];break;case 4:Me[ye-1].push(Me[ye]),this.$=Me[ye-1];break;case 5:case 6:this.$=Me[ye];break;case 7:case 8:this.$=[];break;case 11:xe.getCommonDb().setDiagramTitle(Me[ye].substr(6)),this.$=Me[ye].substr(6);break;case 12:this.$=Me[ye].trim(),xe.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=Me[ye].trim(),xe.getCommonDb().setAccDescription(this.$);break;case 15:xe.addSection(Me[ye].substr(8)),this.$=Me[ye].substr(8);break;case 19:xe.addTask(Me[ye],0,""),this.$=Me[ye];break;case 20:xe.addEvent(Me[ye].substr(2)),this.$=Me[ye];break;case 21:xe.parseDirective("%%{","open_directive");break;case 22:xe.parseDirective(Me[ye],"type_directive");break;case 23:Me[ye]=Me[ye].trim().replace(/'/g,'"'),xe.parseDirective(Me[ye],"arg_directive");break;case 24:xe.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:o,7:3,12:4,28:f},{1:[3]},s(p,[2,3],{5:6}),{3:7,4:o,7:3,12:4,28:f},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:w,18:k,20:b,22:_,23:A,24:20,25:21,26:N,27:B,28:f},{1:[2,2]},{14:25,15:[1,26],31:F},s([15,31],[2,22]),s(p,[2,8],{1:[2,1]}),s(p,[2,4]),{7:22,10:28,12:4,17:w,18:k,20:b,22:_,23:A,24:20,25:21,26:N,27:B,28:f},s(p,[2,6]),s(p,[2,7]),s(p,[2,11]),{19:[1,29]},{21:[1,30]},s(p,[2,14]),s(p,[2,15]),s(p,[2,16]),s(p,[2,17]),s(p,[2,18]),s(p,[2,19]),s(p,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},s(p,[2,5]),s(p,[2,12]),s(p,[2,13]),s(H,[2,9]),{14:34,31:F},{31:[2,23]},{11:[1,35]},s(H,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(le,ce){if(ce.recoverable)this.trace(le);else{var be=new Error(le);throw be.hash=ce,be}},parse:function(le){var ce=this,be=[0],xe=[],Ee=[null],Me=[],fe=this.table,ye="",re=0,we=0,ke=2,he=1,De=Me.slice.call(arguments,1),X=Object.create(this.lexer),Re={yy:{}};for(var pe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pe)&&(Re.yy[pe]=this.yy[pe]);X.setInput(le,Re.yy),Re.yy.lexer=X,Re.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var Ge=X.yylloc;Me.push(Ge);var de=X.options&&X.options.ranges;typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ct(){var wt;return wt=xe.pop()||X.lex()||he,typeof wt!="number"&&(wt instanceof Array&&(xe=wt,wt=xe.pop()),wt=ce.symbols_[wt]||wt),wt}for(var bt,St,yt,Mt,nn={},dn,vt,Lr,xt;;){if(St=be[be.length-1],this.defaultActions[St]?yt=this.defaultActions[St]:((bt===null||typeof bt>"u")&&(bt=ct()),yt=fe[St]&&fe[St][bt]),typeof yt>"u"||!yt.length||!yt[0]){var Tt="";xt=[];for(dn in fe[St])this.terminals_[dn]&&dn>ke&&xt.push("'"+this.terminals_[dn]+"'");X.showPosition?Tt="Parse error on line "+(re+1)+`:
-`+X.showPosition()+`
-Expecting `+xt.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":Tt="Parse error on line "+(re+1)+": Unexpected "+(bt==he?"end of input":"'"+(this.terminals_[bt]||bt)+"'"),this.parseError(Tt,{text:X.match,token:this.terminals_[bt]||bt,line:X.yylineno,loc:Ge,expected:xt})}if(yt[0]instanceof Array&&yt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+bt);switch(yt[0]){case 1:be.push(bt),Ee.push(X.yytext),Me.push(X.yylloc),be.push(yt[1]),bt=null,we=X.yyleng,ye=X.yytext,re=X.yylineno,Ge=X.yylloc;break;case 2:if(vt=this.productions_[yt[1]][1],nn.$=Ee[Ee.length-vt],nn._$={first_line:Me[Me.length-(vt||1)].first_line,last_line:Me[Me.length-1].last_line,first_column:Me[Me.length-(vt||1)].first_column,last_column:Me[Me.length-1].last_column},de&&(nn._$.range=[Me[Me.length-(vt||1)].range[0],Me[Me.length-1].range[1]]),Mt=this.performAction.apply(nn,[ye,we,re,Re.yy,yt[1],Ee,Me].concat(De)),typeof Mt<"u")return Mt;vt&&(be=be.slice(0,-1*vt*2),Ee=Ee.slice(0,-1*vt),Me=Me.slice(0,-1*vt)),be.push(this.productions_[yt[1]][0]),Ee.push(nn.$),Me.push(nn._$),Lr=fe[be[be.length-2]][be[be.length-1]],be.push(Lr);break;case 3:return!0}}return!0}},V=function(){var ae={EOF:1,parseError:function(ce,be){if(this.yy.parser)this.yy.parser.parseError(ce,be);else throw new Error(ce)},setInput:function(le,ce){return this.yy=ce||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},input:function(){var le=this._input[0];this.yytext+=le,this.yyleng++,this.offset++,this.match+=le,this.matched+=le;var ce=le.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),le},unput:function(le){var ce=le.length,be=le.split(/(?:\r\n?|\n)/g);this._input=le+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ce),this.offset-=ce;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),be.length-1&&(this.yylineno-=be.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:be?(be.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-be.length].length-be[0].length:this.yylloc.first_column-ce},this.options.ranges&&(this.yylloc.range=[Ee[0],Ee[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(le){this.unput(this.match.slice(le))},pastInput:function(){var le=this.matched.substr(0,this.matched.length-this.match.length);return(le.length>20?"...":"")+le.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var le=this.pastInput(),ce=new Array(le.length+1).join("-");return le+this.upcomingInput()+`
-`+ce+"^"},test_match:function(le,ce){var be,xe,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))),xe=le[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+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],be=this.performAction.call(this,this.yy,this,ce,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),be)return be;if(this._backtrack){for(var Me in Ee)this[Me]=Ee[Me];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var le,ce,be,xe;this._more||(this.yytext="",this.match="");for(var Ee=this._currentRules(),Me=0;Me<Ee.length;Me++)if(be=this._input.match(this.rules[Ee[Me]]),be&&(!ce||be[0].length>ce[0].length)){if(ce=be,xe=Me,this.options.backtrack_lexer){if(le=this.test_match(be,Ee[Me]),le!==!1)return le;if(this._backtrack){ce=!1;continue}else return!1}else if(!this.options.flex)break}return ce?(le=this.test_match(ce,Ee[xe]),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})},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,be,xe,Ee){switch(xe){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};return ae}();j.lexer=V;function Z(){this.yy={}}return Z.prototype=j,j.Parser=Z,new Z}();sge.parser=sge;const qHt=sge;let QA="",WFe=0;const age=[],xW=[],ZA=[],YFe=()=>dIe,XFe=(s,o,f)=>{K1e(globalThis,s,o,f)},QFe=function(){age.length=0,xW.length=0,QA="",ZA.length=0,tp()},ZFe=function(s){QA=s,age.push(s)},JFe=function(){return age},eRe=function(){let s=iRe();const o=100;let f=0;for(;!s&&f<o;)s=iRe(),f++;return xW.push(...ZA),xW},tRe=function(s,o,f){const p={id:WFe++,section:QA,type:QA,task:s,score:o||0,events:f?[f]:[]};ZA.push(p)},nRe=function(s){ZA.find(f=>f.id===WFe-1).events.push(s)},rRe=function(s){const o={section:QA,type:QA,description:s,task:s,classes:[]};xW.push(o)},iRe=function(){const s=function(f){return ZA[f].processed};let o=!0;for(const[f,p]of ZA.entries())s(f),o=o&&p.processed;return o},VHt=Object.freeze(Object.defineProperty({__proto__:null,addEvent:nRe,addSection:ZFe,addTask:tRe,addTaskOrg:rRe,clear:QFe,default:{clear:QFe,getCommonDb:YFe,addSection:ZFe,getSections:JFe,getTasks:eRe,addTask:tRe,addTaskOrg:rRe,addEvent:nRe,parseDirective:XFe},getCommonDb:YFe,getSections:JFe,getTasks:eRe,parseDirective:XFe},Symbol.toStringTag,{value:"Module"})),UHt=12,EW=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},KHt=function(s,o){const p=s.append("circle").attr("cx",o.cx).attr("cy",o.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),w=s.append("g");w.append("circle").attr("cx",o.cx-15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),w.append("circle").attr("cx",o.cx+15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function k(A){const N=gN().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+2)+")")}function b(A){const N=gN().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+7)+")")}function _(A){A.append("line").attr("class","mouth").attr("stroke",2).attr("x1",o.cx-5).attr("y1",o.cy+7).attr("x2",o.cx+5).attr("y2",o.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o.score>3?k(w):o.score<3?b(w):_(w),p},WHt=function(s,o){const f=s.append("circle");return f.attr("cx",o.cx),f.attr("cy",o.cy),f.attr("class","actor-"+o.pos),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("r",o.r),f.class!==void 0&&f.attr("class",f.class),o.title!==void 0&&f.append("title").text(o.title),f},sRe=function(s,o){const f=o.text.replace(/<br\s*\/?>/gi," "),p=s.append("text");p.attr("x",o.x),p.attr("y",o.y),p.attr("class","legend"),p.style("text-anchor",o.anchor),o.class!==void 0&&p.attr("class",o.class);const w=p.append("tspan");return w.attr("x",o.x+o.textMargin*2),w.text(f),p},YHt=function(s,o){function f(w,k,b,_,A){return w+","+k+" "+(w+b)+","+k+" "+(w+b)+","+(k+_-A)+" "+(w+b-A*1.2)+","+(k+_)+" "+w+","+(k+_)}const p=s.append("polygon");p.attr("points",f(o.x,o.y,50,20,7)),p.attr("class","labelBox"),o.y=o.y+o.labelMargin,o.x=o.x+.5*o.labelMargin,sRe(s,o)},XHt=function(s,o,f){const p=s.append("g"),w=oge();w.x=o.x,w.y=o.y,w.fill=o.fill,w.width=f.width,w.height=f.height,w.class="journey-section section-type-"+o.num,w.rx=3,w.ry=3,EW(p,w),oRe(f)(o.text,p,w.x,w.y,w.width,w.height,{class:"journey-section section-type-"+o.num},f,o.colour)};let aRe=-1;const QHt=function(s,o,f){const p=o.x+f.width/2,w=s.append("g");aRe++;const k=300+5*30;w.append("line").attr("id","task"+aRe).attr("x1",p).attr("y1",o.y).attr("x2",p).attr("y2",k).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),KHt(w,{cx:p,cy:300+(5-o.score)*30,score:o.score});const b=oge();b.x=o.x,b.y=o.y,b.fill=o.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+o.num,b.rx=3,b.ry=3,EW(w,b),o.x+14,oRe(f)(o.task,w,b.x,b.y,b.width,b.height,{class:"task"},f,o.colour)},ZHt=function(s,o){EW(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,class:"rect"}).lower()},JHt=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},oge=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},oRe=function(){function s(w,k,b,_,A,N,B,F){const H=k.append("text").attr("x",b+A/2).attr("y",_+N/2+5).style("font-color",F).style("text-anchor","middle").text(w);p(H,B)}function o(w,k,b,_,A,N,B,F,H){const{taskFontSize:j,taskFontFamily:V}=F,Z=w.split(/<br\s*\/?>/gi);for(let ae=0;ae<Z.length;ae++){const le=ae*j-j*(Z.length-1)/2,ce=k.append("text").attr("x",b+A/2).attr("y",_).attr("fill",H).style("text-anchor","middle").style("font-size",j).style("font-family",V);ce.append("tspan").attr("x",b+A/2).attr("dy",le).text(Z[ae]),ce.attr("y",_+N/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(ce,B)}}function f(w,k,b,_,A,N,B,F){const H=k.append("switch"),V=H.append("foreignObject").attr("x",b).attr("y",_).attr("width",A).attr("height",N).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),o(w,H,b,_,A,N,B,F),p(V,B)}function p(w,k){for(const b in k)b in k&&w.attr(b,k[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?s:o}}(),ezt=function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")};function cRe(s,o){s.each(function(){var f=sr(this),p=f.text().split(/(\s+|<br>)/).reverse(),w,k=[],b=1.1,_=f.attr("y"),A=parseFloat(f.attr("dy")),N=f.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",A+"em");for(let B=0;B<p.length;B++)w=p[p.length-1-B],k.push(w),N.text(k.join(" ").trim()),(N.node().getComputedTextLength()>o||w==="<br>")&&(k.pop(),N.text(k.join(" ").trim()),w==="<br>"?k=[""]:k=[w],N=f.append("tspan").attr("x",0).attr("y",_).attr("dy",b+"em").text(w))})}const tzt=function(s,o,f,p){const w=f%UHt-1,k=s.append("g");o.section=w,k.attr("class",(o.class?o.class+" ":"")+"timeline-node "+("section-"+w));const b=k.append("g"),_=k.append("g"),N=_.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(cRe,o.width).node().getBBox(),B=p.fontSize&&p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;return o.height=N.height+B*1.1*.5+o.padding,o.height=Math.max(o.height,o.maxHeight),o.width=o.width+2*o.padding,_.attr("transform","translate("+o.width/2+", "+o.padding/2+")"),rzt(b,o,w),o},nzt=function(s,o,f){const p=s.append("g"),k=p.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(cRe,o.width).node().getBBox(),b=f.fontSize&&f.fontSize.replace?f.fontSize.replace("px",""):f.fontSize;return p.remove(),k.height+b*1.1*.5+o.padding},rzt=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+o.type).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},l9={drawRect:EW,drawCircle:WHt,drawSection:XHt,drawText:sRe,drawLabel:YHt,drawTask:QHt,drawBackgroundRect:ZHt,getTextObj:JHt,getNoteRect:oge,initGraphics:ezt,drawNode:tzt,getVirtualNodeHeight:nzt},izt=function(s){Object.keys(s).forEach(function(f){conf[f]=s[f]})},szt=function(s,o,f,p){const w=Pt(),k=w.leftMargin?w.leftMargin:50;p.db.clear(),p.parser.parse(s+`
-`),je.debug("timeline",p.db);const b=w.securityLevel;let _;b==="sandbox"&&(_=sr("#i"+o));const N=sr(b==="sandbox"?_.nodes()[0].contentDocument.body:"body").select("#"+o);N.append("g");const B=p.db.getTasks(),F=p.db.getCommonDb().getDiagramTitle();je.debug("task",B),l9.initGraphics(N);const H=p.db.getSections();je.debug("sections",H);let j=0,V=0,Z=0,ae=0,le=50+k,ce=50;ae=50;let be=0,xe=!0;H.forEach(function(re){const we={number:be,descr:re,section:be,width:150,padding:20,maxHeight:j},ke=l9.getVirtualNodeHeight(N,we,w);je.debug("sectionHeight before draw",ke),j=Math.max(j,ke+20)});let Ee=0,Me=0;je.debug("tasks.length",B.length);for(const[re,we]of B.entries()){const ke={number:re,descr:we,section:we.section,width:150,padding:20,maxHeight:V},he=l9.getVirtualNodeHeight(N,ke,w);je.debug("taskHeight before draw",he),V=Math.max(V,he+20),Ee=Math.max(Ee,we.events.length);let De=0;for(let X=0;X<we.events.length;X++){const pe={descr:we.events[X],section:we.section,number:we.section,width:150,padding:20,maxHeight:50};De+=l9.getVirtualNodeHeight(N,pe,w)}Me=Math.max(Me,De)}je.debug("maxSectionHeight before draw",j),je.debug("maxTaskHeight before draw",V),H&&H.length>0?H.forEach(re=>{const we={number:be,descr:re,section:be,width:150,padding:20,maxHeight:j};je.debug("sectionNode",we);const ke=N.append("g"),he=l9.drawNode(ke,we,be,w);je.debug("sectionNode output",he),ke.attr("transform",`translate(${le}, ${ae})`),ce+=j+50;const De=B.filter(X=>X.section===re);De.length>0&&uRe(N,De,be,le,ce,V,w,Ee,Me,j,!1),le+=200*Math.max(De.length,1),ce=ae,be++}):(xe=!1,uRe(N,B,be,le,ce,V,w,Ee,Me,j,!0));const fe=N.node().getBBox();je.debug("bounds",fe),F&&N.append("text").text(F).attr("x",fe.width/2-k).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),Z=xe?j+V+150:V+100,N.append("g").attr("class","lineWrapper").append("line").attr("x1",k).attr("y1",Z).attr("x2",fe.width+3*k).attr("y2",Z).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),KE(void 0,N,w.timeline.padding?w.timeline.padding:50,w.timeline.useMaxWidth?w.timeline.useMaxWidth:!1)},uRe=function(s,o,f,p,w,k,b,_,A,N,B){for(const F of o){const H={descr:F.task,section:f,number:f,width:150,padding:20,maxHeight:k};je.debug("taskNode",H);const j=s.append("g").attr("class","taskWrapper"),Z=l9.drawNode(j,H,f,b).height;if(je.debug("taskHeight after draw",Z),j.attr("transform",`translate(${p}, ${w})`),k=Math.max(k,Z),F.events){const ae=s.append("g").attr("class","lineWrapper");let le=k;w+=100,le=le+azt(s,F.events,f,p,w,b),w-=100,ae.append("line").attr("x1",p+190/2).attr("y1",w+k).attr("x2",p+190/2).attr("y2",w+k+(B?k:N)+A+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}p=p+200,B&&!Pt().timeline.disableMulticolor&&f++}w=w-10},azt=function(s,o,f,p,w,k){let b=0;const _=w;w=w+100;for(const A of o){const N={descr:A,section:f,number:f,width:150,padding:20,maxHeight:50};je.debug("eventNode",N);const B=s.append("g").attr("class","eventWrapper"),H=l9.drawNode(B,N,f,k).height;b=b+H,B.attr("transform",`translate(${p}, ${w})`),w=w+10+H}return w=_,b},ozt={setConf:izt,draw:szt},czt=s=>{let o="";for(let f=0;f<s.THEME_COLOR_LIMIT;f++)s["lineColor"+f]=s["lineColor"+f]||s["cScaleInv"+f],uDe(s["lineColor"+f])?s["lineColor"+f]=Qs(s["lineColor"+f],20):s["lineColor"+f]=Sa(s["lineColor"+f],20);for(let f=0;f<s.THEME_COLOR_LIMIT;f++){const p=""+(17-3*f);o+=`
+
+ .flowchart-label text {
+ text-anchor: middle;
+ }
+
+ ${bUe(i)}
+`}},Symbol.toStringTag,{value:"Module"}));var Fgt=function(){var i=function(rt,J,it,ht){for(it=it||{},ht=rt.length;ht--;it[rt[ht]]=J);return it},a=[1,2],f=[1,5],p=[6,9,11,17,18,20,22,23,26,27,28],v=[1,15],m=[1,16],b=[1,17],E=[1,18],C=[1,19],A=[1,23],N=[1,24],F=[1,27],j=[4,6,9,11,17,18,20,22,23,26,27,28],R={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(J,it,ht,Tt,yt,vt,ut){var xt=vt.length-1;switch(yt){case 1:return vt[xt-1];case 3:this.$=[];break;case 4:vt[xt-1].push(vt[xt]),this.$=vt[xt-1];break;case 5:case 6:this.$=vt[xt];break;case 7:case 8:this.$=[];break;case 11:Tt.getCommonDb().setDiagramTitle(vt[xt].substr(6)),this.$=vt[xt].substr(6);break;case 12:this.$=vt[xt].trim(),Tt.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=vt[xt].trim(),Tt.getCommonDb().setAccDescription(this.$);break;case 15:Tt.addSection(vt[xt].substr(8)),this.$=vt[xt].substr(8);break;case 19:Tt.addTask(vt[xt],0,""),this.$=vt[xt];break;case 20:Tt.addEvent(vt[xt].substr(2)),this.$=vt[xt];break;case 21:Tt.parseDirective("%%{","open_directive");break;case 22:Tt.parseDirective(vt[xt],"type_directive");break;case 23:vt[xt]=vt[xt].trim().replace(/'/g,'"'),Tt.parseDirective(vt[xt],"arg_directive");break;case 24:Tt.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:a,7:3,12:4,28:f},{1:[3]},i(p,[2,3],{5:6}),{3:7,4:a,7:3,12:4,28:f},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:v,18:m,20:b,22:E,23:C,24:20,25:21,26:A,27:N,28:f},{1:[2,2]},{14:25,15:[1,26],31:F},i([15,31],[2,22]),i(p,[2,8],{1:[2,1]}),i(p,[2,4]),{7:22,10:28,12:4,17:v,18:m,20:b,22:E,23:C,24:20,25:21,26:A,27:N,28:f},i(p,[2,6]),i(p,[2,7]),i(p,[2,11]),{19:[1,29]},{21:[1,30]},i(p,[2,14]),i(p,[2,15]),i(p,[2,16]),i(p,[2,17]),i(p,[2,18]),i(p,[2,19]),i(p,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},i(p,[2,5]),i(p,[2,12]),i(p,[2,13]),i(j,[2,9]),{14:34,31:F},{31:[2,23]},{11:[1,35]},i(j,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(J,it){if(it.recoverable)this.trace(J);else{var ht=new Error(J);throw ht.hash=it,ht}},parse:function(J){var it=this,ht=[0],Tt=[],yt=[null],vt=[],ut=this.table,xt="",st=0,Et=0,gt=2,pt=1,Ct=vt.slice.call(arguments,1),nt=Object.create(this.lexer),Nt={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Nt.yy[dt]=this.yy[dt]);nt.setInput(J,Nt.yy),Nt.yy.lexer=nt,Nt.yy.parser=this,typeof nt.yylloc>"u"&&(nt.yylloc={});var Ft=nt.yylloc;vt.push(Ft);var X=nt.options&&nt.options.ranges;typeof Nt.yy.parseError=="function"?this.parseError=Nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Bt(){var _e;return _e=Tt.pop()||nt.lex()||pt,typeof _e!="number"&&(_e instanceof Array&&(Tt=_e,_e=Tt.pop()),_e=it.symbols_[_e]||_e),_e}for(var Rt,mt,Ot,Gt,Ve={},Cn,xe,Kn,Se;;){if(mt=ht[ht.length-1],this.defaultActions[mt]?Ot=this.defaultActions[mt]:((Rt===null||typeof Rt>"u")&&(Rt=Bt()),Ot=ut[mt]&&ut[mt][Rt]),typeof Ot>"u"||!Ot.length||!Ot[0]){var ee="";Se=[];for(Cn in ut[mt])this.terminals_[Cn]&&Cn>gt&&Se.push("'"+this.terminals_[Cn]+"'");nt.showPosition?ee="Parse error on line "+(st+1)+`:
+`+nt.showPosition()+`
+Expecting `+Se.join(", ")+", got '"+(this.terminals_[Rt]||Rt)+"'":ee="Parse error on line "+(st+1)+": Unexpected "+(Rt==pt?"end of input":"'"+(this.terminals_[Rt]||Rt)+"'"),this.parseError(ee,{text:nt.match,token:this.terminals_[Rt]||Rt,line:nt.yylineno,loc:Ft,expected:Se})}if(Ot[0]instanceof Array&&Ot.length>1)throw new Error("Parse Error: multiple actions possible at state: "+mt+", token: "+Rt);switch(Ot[0]){case 1:ht.push(Rt),yt.push(nt.yytext),vt.push(nt.yylloc),ht.push(Ot[1]),Rt=null,Et=nt.yyleng,xt=nt.yytext,st=nt.yylineno,Ft=nt.yylloc;break;case 2:if(xe=this.productions_[Ot[1]][1],Ve.$=yt[yt.length-xe],Ve._$={first_line:vt[vt.length-(xe||1)].first_line,last_line:vt[vt.length-1].last_line,first_column:vt[vt.length-(xe||1)].first_column,last_column:vt[vt.length-1].last_column},X&&(Ve._$.range=[vt[vt.length-(xe||1)].range[0],vt[vt.length-1].range[1]]),Gt=this.performAction.apply(Ve,[xt,Et,st,Nt.yy,Ot[1],yt,vt].concat(Ct)),typeof Gt<"u")return Gt;xe&&(ht=ht.slice(0,-1*xe*2),yt=yt.slice(0,-1*xe),vt=vt.slice(0,-1*xe)),ht.push(this.productions_[Ot[1]][0]),yt.push(Ve.$),vt.push(Ve._$),Kn=ut[ht[ht.length-2]][ht[ht.length-1]],ht.push(Kn);break;case 3:return!0}}return!0}},H=function(){var rt={EOF:1,parseError:function(it,ht){if(this.yy.parser)this.yy.parser.parseError(it,ht);else throw new Error(it)},setInput:function(J,it){return this.yy=it||this.yy||{},this._input=J,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 J=this._input[0];this.yytext+=J,this.yyleng++,this.offset++,this.match+=J,this.matched+=J;var it=J.match(/(?:\r\n?|\n).*/g);return it?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),J},unput:function(J){var it=J.length,ht=J.split(/(?:\r\n?|\n)/g);this._input=J+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-it),this.offset-=it;var Tt=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 yt=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===Tt.length?this.yylloc.first_column:0)+Tt[Tt.length-ht.length].length-ht[0].length:this.yylloc.first_column-it},this.options.ranges&&(this.yylloc.range=[yt[0],yt[0]+this.yyleng-it]),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(J){this.unput(this.match.slice(J))},pastInput:function(){var J=this.matched.substr(0,this.matched.length-this.match.length);return(J.length>20?"...":"")+J.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var J=this.match;return J.length<20&&(J+=this._input.substr(0,20-J.length)),(J.substr(0,20)+(J.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var J=this.pastInput(),it=new Array(J.length+1).join("-");return J+this.upcomingInput()+`
+`+it+"^"},test_match:function(J,it){var ht,Tt,yt;if(this.options.backtrack_lexer&&(yt={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&&(yt.yylloc.range=this.yylloc.range.slice(0))),Tt=J[0].match(/(?:\r\n?|\n).*/g),Tt&&(this.yylineno+=Tt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Tt?Tt[Tt.length-1].length-Tt[Tt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+J[0].length},this.yytext+=J[0],this.match+=J[0],this.matches=J,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(J[0].length),this.matched+=J[0],ht=this.performAction.call(this,this.yy,this,it,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ht)return ht;if(this._backtrack){for(var vt in yt)this[vt]=yt[vt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var J,it,ht,Tt;this._more||(this.yytext="",this.match="");for(var yt=this._currentRules(),vt=0;vt<yt.length;vt++)if(ht=this._input.match(this.rules[yt[vt]]),ht&&(!it||ht[0].length>it[0].length)){if(it=ht,Tt=vt,this.options.backtrack_lexer){if(J=this.test_match(ht,yt[vt]),J!==!1)return J;if(this._backtrack){it=!1;continue}else return!1}else if(!this.options.flex)break}return it?(J=this.test_match(it,yt[Tt]),J!==!1?J:!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 it=this.next();return it||this.lex()},begin:function(it){this.conditionStack.push(it)},popState:function(){var it=this.conditionStack.length-1;return it>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(it){return it=this.conditionStack.length-1-Math.abs(it||0),it>=0?this.conditionStack[it]:"INITIAL"},pushState:function(it){this.begin(it)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(it,ht,Tt,yt){switch(Tt){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};return rt}();R.lexer=H;function Y(){this.yy={}}return Y.prototype=R,R.Parser=Y,new Y}();Fgt.parser=Fgt;const wUe=Fgt;let vL="",xjt=0;const Bgt=[],GK=[],wL=[],kjt=()=>MIt,Ejt=(i,a,f)=>{edt(globalThis,i,a,f)},Tjt=function(){Bgt.length=0,GK.length=0,vL="",wL.length=0,hg()},_jt=function(i){vL=i,Bgt.push(i)},Cjt=function(){return Bgt},Sjt=function(){let i=Djt();const a=100;let f=0;for(;!i&&f<a;)i=Djt(),f++;return GK.push(...wL),GK},Ajt=function(i,a,f){const p={id:xjt++,section:vL,type:vL,task:i,score:a||0,events:f?[f]:[]};wL.push(p)},Ljt=function(i){wL.find(f=>f.id===xjt-1).events.push(i)},Mjt=function(i){const a={section:vL,type:vL,description:i,task:i,classes:[]};GK.push(a)},Djt=function(){const i=function(f){return wL[f].processed};let a=!0;for(const[f,p]of wL.entries())i(f),a=a&&p.processed;return a},mUe=Object.freeze(Object.defineProperty({__proto__:null,addEvent:Ljt,addSection:_jt,addTask:Ajt,addTaskOrg:Mjt,clear:Tjt,default:{clear:Tjt,getCommonDb:kjt,addSection:_jt,getSections:Cjt,getTasks:Sjt,addTask:Ajt,addTaskOrg:Mjt,addEvent:Ljt,parseDirective:Ejt},getCommonDb:kjt,getSections:Cjt,getTasks:Sjt,parseDirective:Ejt},Symbol.toStringTag,{value:"Module"})),yUe=12,UK=function(i,a){const f=i.append("rect");return f.attr("x",a.x),f.attr("y",a.y),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("width",a.width),f.attr("height",a.height),f.attr("rx",a.rx),f.attr("ry",a.ry),a.class!==void 0&&f.attr("class",a.class),f},xUe=function(i,a){const p=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),v=i.append("g");v.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"),v.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 m(C){const A=LA().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);C.append("path").attr("class","mouth").attr("d",A).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(C){const A=LA().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);C.append("path").attr("class","mouth").attr("d",A).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function E(C){C.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?m(v):a.score<3?b(v):E(v),p},kUe=function(i,a){const f=i.append("circle");return f.attr("cx",a.cx),f.attr("cy",a.cy),f.attr("class","actor-"+a.pos),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("r",a.r),f.class!==void 0&&f.attr("class",f.class),a.title!==void 0&&f.append("title").text(a.title),f},Ijt=function(i,a){const f=a.text.replace(/<br\s*\/?>/gi," "),p=i.append("text");p.attr("x",a.x),p.attr("y",a.y),p.attr("class","legend"),p.style("text-anchor",a.anchor),a.class!==void 0&&p.attr("class",a.class);const v=p.append("tspan");return v.attr("x",a.x+a.textMargin*2),v.text(f),p},EUe=function(i,a){function f(v,m,b,E,C){return v+","+m+" "+(v+b)+","+m+" "+(v+b)+","+(m+E-C)+" "+(v+b-C*1.2)+","+(m+E)+" "+v+","+(m+E)}const p=i.append("polygon");p.attr("points",f(a.x,a.y,50,20,7)),p.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,Ijt(i,a)},TUe=function(i,a,f){const p=i.append("g"),v=Rgt();v.x=a.x,v.y=a.y,v.fill=a.fill,v.width=f.width,v.height=f.height,v.class="journey-section section-type-"+a.num,v.rx=3,v.ry=3,UK(p,v),Pjt(f)(a.text,p,v.x,v.y,v.width,v.height,{class:"journey-section section-type-"+a.num},f,a.colour)};let Ojt=-1;const _Ue=function(i,a,f){const p=a.x+f.width/2,v=i.append("g");Ojt++;const m=300+5*30;v.append("line").attr("id","task"+Ojt).attr("x1",p).attr("y1",a.y).attr("x2",p).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),xUe(v,{cx:p,cy:300+(5-a.score)*30,score:a.score});const b=Rgt();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,UK(v,b),a.x+14,Pjt(f)(a.task,v,b.x,b.y,b.width,b.height,{class:"task"},f,a.colour)},CUe=function(i,a){UK(i,{x:a.startx,y:a.starty,width:a.stopx-a.startx,height:a.stopy-a.starty,fill:a.fill,class:"rect"}).lower()},SUe=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},Rgt=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},Pjt=function(){function i(v,m,b,E,C,A,N,F){const j=m.append("text").attr("x",b+C/2).attr("y",E+A/2+5).style("font-color",F).style("text-anchor","middle").text(v);p(j,N)}function a(v,m,b,E,C,A,N,F,j){const{taskFontSize:R,taskFontFamily:H}=F,Y=v.split(/<br\s*\/?>/gi);for(let rt=0;rt<Y.length;rt++){const J=rt*R-R*(Y.length-1)/2,it=m.append("text").attr("x",b+C/2).attr("y",E).attr("fill",j).style("text-anchor","middle").style("font-size",R).style("font-family",H);it.append("tspan").attr("x",b+C/2).attr("dy",J).text(Y[rt]),it.attr("y",E+A/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(it,N)}}function f(v,m,b,E,C,A,N,F){const j=m.append("switch"),H=j.append("foreignObject").attr("x",b).attr("y",E).attr("width",C).attr("height",A).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");H.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(v),a(v,j,b,E,C,A,N,F),p(H,N)}function p(v,m){for(const b in m)b in m&&v.attr(b,m[b])}return function(v){return v.textPlacement==="fo"?f:v.textPlacement==="old"?i:a}}(),AUe=function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")};function Njt(i,a){i.each(function(){var f=wr(this),p=f.text().split(/(\s+|<br>)/).reverse(),v,m=[],b=1.1,E=f.attr("y"),C=parseFloat(f.attr("dy")),A=f.text(null).append("tspan").attr("x",0).attr("y",E).attr("dy",C+"em");for(let N=0;N<p.length;N++)v=p[p.length-1-N],m.push(v),A.text(m.join(" ").trim()),(A.node().getComputedTextLength()>a||v==="<br>")&&(m.pop(),A.text(m.join(" ").trim()),v==="<br>"?m=[""]:m=[v],A=f.append("tspan").attr("x",0).attr("y",E).attr("dy",b+"em").text(v))})}const LUe=function(i,a,f,p){const v=f%yUe-1,m=i.append("g");a.section=v,m.attr("class",(a.class?a.class+" ":"")+"timeline-node "+("section-"+v));const b=m.append("g"),E=m.append("g"),A=E.append("text").text(a.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(Njt,a.width).node().getBBox(),N=p.fontSize&&p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;return a.height=A.height+N*1.1*.5+a.padding,a.height=Math.max(a.height,a.maxHeight),a.width=a.width+2*a.padding,E.attr("transform","translate("+a.width/2+", "+a.padding/2+")"),DUe(b,a,v),a},MUe=function(i,a,f){const p=i.append("g"),m=p.append("text").text(a.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(Njt,a.width).node().getBBox(),b=f.fontSize&&f.fontSize.replace?f.fontSize.replace("px",""):f.fontSize;return p.remove(),m.height+b*1.1*.5+a.padding},DUe=function(i,a,f){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-"+f).attr("x1",0).attr("y1",a.height).attr("x2",a.width).attr("y2",a.height)},CE={drawRect:UK,drawCircle:kUe,drawSection:TUe,drawText:Ijt,drawLabel:EUe,drawTask:_Ue,drawBackgroundRect:CUe,getTextObj:SUe,getNoteRect:Rgt,initGraphics:AUe,drawNode:LUe,getVirtualNodeHeight:MUe},IUe=function(i,a,f,p){var st,Et;const v=Me(),m=v.leftMargin??50;Vt.debug("timeline",p.db);const b=v.securityLevel;let E;b==="sandbox"&&(E=wr("#i"+a));const A=wr(b==="sandbox"?E.nodes()[0].contentDocument.body:"body").select("#"+a);A.append("g");const N=p.db.getTasks(),F=p.db.getCommonDb().getDiagramTitle();Vt.debug("task",N),CE.initGraphics(A);const j=p.db.getSections();Vt.debug("sections",j);let R=0,H=0,Y=0,rt=0,J=50+m,it=50;rt=50;let ht=0,Tt=!0;j.forEach(function(gt){const pt={number:ht,descr:gt,section:ht,width:150,padding:20,maxHeight:R},Ct=CE.getVirtualNodeHeight(A,pt,v);Vt.debug("sectionHeight before draw",Ct),R=Math.max(R,Ct+20)});let yt=0,vt=0;Vt.debug("tasks.length",N.length);for(const[gt,pt]of N.entries()){const Ct={number:gt,descr:pt,section:pt.section,width:150,padding:20,maxHeight:H},nt=CE.getVirtualNodeHeight(A,Ct,v);Vt.debug("taskHeight before draw",nt),H=Math.max(H,nt+20),yt=Math.max(yt,pt.events.length);let Nt=0;for(let dt=0;dt<pt.events.length;dt++){const X={descr:pt.events[dt],section:pt.section,number:pt.section,width:150,padding:20,maxHeight:50};Nt+=CE.getVirtualNodeHeight(A,X,v)}vt=Math.max(vt,Nt)}Vt.debug("maxSectionHeight before draw",R),Vt.debug("maxTaskHeight before draw",H),j&&j.length>0?j.forEach(gt=>{const pt=N.filter(dt=>dt.section===gt),Ct={number:ht,descr:gt,section:ht,width:200*Math.max(pt.length,1)-50,padding:20,maxHeight:R};Vt.debug("sectionNode",Ct);const nt=A.append("g"),Nt=CE.drawNode(nt,Ct,ht,v);Vt.debug("sectionNode output",Nt),nt.attr("transform",`translate(${J}, ${rt})`),it+=R+50,pt.length>0&&Fjt(A,pt,ht,J,it,H,v,yt,vt,R,!1),J+=200*Math.max(pt.length,1),it=rt,ht++}):(Tt=!1,Fjt(A,N,ht,J,it,H,v,yt,vt,R,!0));const ut=A.node().getBBox();Vt.debug("bounds",ut),F&&A.append("text").text(F).attr("x",ut.width/2-m).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),Y=Tt?R+H+150:H+100,A.append("g").attr("class","lineWrapper").append("line").attr("x1",m).attr("y1",Y).attr("x2",ut.width+3*m).attr("y2",Y).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),nE(void 0,A,((st=v.timeline)==null?void 0:st.padding)??50,((Et=v.timeline)==null?void 0:Et.useMaxWidth)??!1)},Fjt=function(i,a,f,p,v,m,b,E,C,A,N){var F;for(const j of a){const R={descr:j.task,section:f,number:f,width:150,padding:20,maxHeight:m};Vt.debug("taskNode",R);const H=i.append("g").attr("class","taskWrapper"),rt=CE.drawNode(H,R,f,b).height;if(Vt.debug("taskHeight after draw",rt),H.attr("transform",`translate(${p}, ${v})`),m=Math.max(m,rt),j.events){const J=i.append("g").attr("class","lineWrapper");let it=m;v+=100,it=it+OUe(i,j.events,f,p,v,b),v-=100,J.append("line").attr("x1",p+190/2).attr("y1",v+m).attr("x2",p+190/2).attr("y2",v+m+(N?m:A)+C+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}p=p+200,N&&!((F=b.timeline)!=null&&F.disableMulticolor)&&f++}v=v-10},OUe=function(i,a,f,p,v,m){let b=0;const E=v;v=v+100;for(const C of a){const A={descr:C,section:f,number:f,width:150,padding:20,maxHeight:50};Vt.debug("eventNode",A);const N=i.append("g").attr("class","eventWrapper"),j=CE.drawNode(N,A,f,m).height;b=b+j,N.attr("transform",`translate(${p}, ${v})`),v=v+10+j}return v=E,b},PUe={setConf:()=>{},draw:IUe},NUe=i=>{let a="";for(let f=0;f<i.THEME_COLOR_LIMIT;f++)i["lineColor"+f]=i["lineColor"+f]||i["cScaleInv"+f],J9(i["lineColor"+f])?i["lineColor"+f]=Is(i["lineColor"+f],20):i["lineColor"+f]=ta(i["lineColor"+f],20);for(let f=0;f<i.THEME_COLOR_LIMIT;f++){const p=""+(17-3*f);a+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} path {
- fill: ${s["cScale"+f]};
+ fill: ${i["cScale"+f]};
}
.section-${f-1} text {
- fill: ${s["cScaleLabel"+f]};
+ fill: ${i["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
- color: ${s["cScaleLabel"+f]};
+ color: ${i["cScaleLabel"+f]};
}
.section-edge-${f-1}{
- stroke: ${s["cScale"+f]};
+ stroke: ${i["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${p};
}
.section-${f-1} line {
- stroke: ${s["cScaleInv"+f]} ;
+ stroke: ${i["cScaleInv"+f]} ;
stroke-width: 3;
}
.lineWrapper line{
- stroke: ${s["cScaleLabel"+f]} ;
+ stroke: ${i["cScaleLabel"+f]} ;
}
.disabled, .disabled circle, .disabled text {
@@ -1453,16 +1501,16 @@ Expecting `+xt.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":Tt="Parse erro
.disabled text {
fill: #efefef;
}
- `}return o},uzt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:VHt,renderer:ozt,parser:qHt,styles:s=>`
+ `}return a},FUe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:mUe,renderer:PUe,parser:wUe,styles:i=>`
.edge {
stroke-width: 3;
}
- ${czt(s)}
+ ${NUe(i)}
.section-root rect, .section-root path, .section-root circle {
- fill: ${s.git0};
+ fill: ${i.git0};
}
.section-root text {
- fill: ${s.gitBranchLabel0};
+ fill: ${i.gitBranchLabel0};
}
.icon-container {
height:100%;
@@ -1476,77 +1524,78 @@ Expecting `+xt.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":Tt="Parse erro
.eventWrapper {
filter: brightness(120%);
}
-`}},Symbol.toStringTag,{value:"Module"}));var cge=function(){var s=function(xe,Ee,Me,fe){for(Me=Me||{},fe=xe.length;fe--;Me[xe[fe]]=Ee);return Me},o=[1,4],f=[1,13],p=[1,12],w=[1,15],k=[1,16],b=[1,20],_=[1,19],A=[6,7,8],N=[1,26],B=[1,24],F=[1,25],H=[6,7,11],j=[1,6,13,15,16,19,22],V=[1,33],Z=[1,34],ae=[1,6,7,11,13,15,16,19,22],le={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(Ee,Me,fe,ye,re,we,ke){var he=we.length-1;switch(re){case 6:case 7:return ye;case 8:ye.getLogger().trace("Stop NL ");break;case 9:ye.getLogger().trace("Stop EOF ");break;case 11:ye.getLogger().trace("Stop NL2 ");break;case 12:ye.getLogger().trace("Stop EOF2 ");break;case 15:ye.getLogger().info("Node: ",we[he].id),ye.addNode(we[he-1].length,we[he].id,we[he].descr,we[he].type);break;case 16:ye.getLogger().trace("Icon: ",we[he]),ye.decorateNode({icon:we[he]});break;case 17:case 21:ye.decorateNode({class:we[he]});break;case 18:ye.getLogger().trace("SPACELIST");break;case 19:ye.getLogger().trace("Node: ",we[he].id),ye.addNode(0,we[he].id,we[he].descr,we[he].type);break;case 20:ye.decorateNode({icon:we[he]});break;case 25:ye.getLogger().trace("node found ..",we[he-2]),this.$={id:we[he-1],descr:we[he-1],type:ye.getType(we[he-2],we[he])};break;case 26:this.$={id:we[he],descr:we[he],type:ye.nodeType.DEFAULT};break;case 27:ye.getLogger().trace("node found ..",we[he-3]),this.$={id:we[he-3],descr:we[he-1],type:ye.getType(we[he-2],we[he])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:o},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:o},{6:f,7:[1,10],9:9,12:11,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},s(A,[2,3]),{1:[2,2]},s(A,[2,4]),s(A,[2,5]),{1:[2,6],6:f,12:21,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},{6:f,9:22,12:11,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},{6:N,7:B,10:23,11:F},s(H,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:b,22:_}),s(H,[2,18]),s(H,[2,19]),s(H,[2,20]),s(H,[2,21]),s(H,[2,23]),s(H,[2,24]),s(H,[2,26],{19:[1,30]}),{20:[1,31]},{6:N,7:B,10:32,11:F},{1:[2,7],6:f,12:21,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},s(j,[2,14],{7:V,11:Z}),s(ae,[2,8]),s(ae,[2,9]),s(ae,[2,10]),s(H,[2,15]),s(H,[2,16]),s(H,[2,17]),{20:[1,35]},{21:[1,36]},s(j,[2,13],{7:V,11:Z}),s(ae,[2,11]),s(ae,[2,12]),{21:[1,37]},s(H,[2,25]),s(H,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(Ee,Me){if(Me.recoverable)this.trace(Ee);else{var fe=new Error(Ee);throw fe.hash=Me,fe}},parse:function(Ee){var Me=this,fe=[0],ye=[],re=[null],we=[],ke=this.table,he="",De=0,X=0,Re=2,pe=1,Ge=we.slice.call(arguments,1),de=Object.create(this.lexer),ct={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&(ct.yy[bt]=this.yy[bt]);de.setInput(Ee,ct.yy),ct.yy.lexer=de,ct.yy.parser=this,typeof de.yylloc>"u"&&(de.yylloc={});var St=de.yylloc;we.push(St);var yt=de.options&&de.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var Lt;return Lt=ye.pop()||de.lex()||pe,typeof Lt!="number"&&(Lt instanceof Array&&(ye=Lt,Lt=ye.pop()),Lt=Me.symbols_[Lt]||Lt),Lt}for(var nn,dn,vt,Lr,xt={},Tt,wt,At,He;;){if(dn=fe[fe.length-1],this.defaultActions[dn]?vt=this.defaultActions[dn]:((nn===null||typeof nn>"u")&&(nn=Mt()),vt=ke[dn]&&ke[dn][nn]),typeof vt>"u"||!vt.length||!vt[0]){var Ze="";He=[];for(Tt in ke[dn])this.terminals_[Tt]&&Tt>Re&&He.push("'"+this.terminals_[Tt]+"'");de.showPosition?Ze="Parse error on line "+(De+1)+`:
-`+de.showPosition()+`
-Expecting `+He.join(", ")+", got '"+(this.terminals_[nn]||nn)+"'":Ze="Parse error on line "+(De+1)+": Unexpected "+(nn==pe?"end of input":"'"+(this.terminals_[nn]||nn)+"'"),this.parseError(Ze,{text:de.match,token:this.terminals_[nn]||nn,line:de.yylineno,loc:St,expected:He})}if(vt[0]instanceof Array&&vt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+dn+", token: "+nn);switch(vt[0]){case 1:fe.push(nn),re.push(de.yytext),we.push(de.yylloc),fe.push(vt[1]),nn=null,X=de.yyleng,he=de.yytext,De=de.yylineno,St=de.yylloc;break;case 2:if(wt=this.productions_[vt[1]][1],xt.$=re[re.length-wt],xt._$={first_line:we[we.length-(wt||1)].first_line,last_line:we[we.length-1].last_line,first_column:we[we.length-(wt||1)].first_column,last_column:we[we.length-1].last_column},yt&&(xt._$.range=[we[we.length-(wt||1)].range[0],we[we.length-1].range[1]]),Lr=this.performAction.apply(xt,[he,X,De,ct.yy,vt[1],re,we].concat(Ge)),typeof Lr<"u")return Lr;wt&&(fe=fe.slice(0,-1*wt*2),re=re.slice(0,-1*wt),we=we.slice(0,-1*wt)),fe.push(this.productions_[vt[1]][0]),re.push(xt.$),we.push(xt._$),At=ke[fe[fe.length-2]][fe[fe.length-1]],fe.push(At);break;case 3:return!0}}return!0}},ce=function(){var xe={EOF:1,parseError:function(Me,fe){if(this.yy.parser)this.yy.parser.parseError(Me,fe);else throw new Error(Me)},setInput:function(Ee,Me){return this.yy=Me||this.yy||{},this._input=Ee,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 Ee=this._input[0];this.yytext+=Ee,this.yyleng++,this.offset++,this.match+=Ee,this.matched+=Ee;var Me=Ee.match(/(?:\r\n?|\n).*/g);return Me?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ee},unput:function(Ee){var Me=Ee.length,fe=Ee.split(/(?:\r\n?|\n)/g);this._input=Ee+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Me),this.offset-=Me;var ye=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),fe.length-1&&(this.yylineno-=fe.length-1);var re=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:fe?(fe.length===ye.length?this.yylloc.first_column:0)+ye[ye.length-fe.length].length-fe[0].length:this.yylloc.first_column-Me},this.options.ranges&&(this.yylloc.range=[re[0],re[0]+this.yyleng-Me]),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(Ee){this.unput(this.match.slice(Ee))},pastInput:function(){var Ee=this.matched.substr(0,this.matched.length-this.match.length);return(Ee.length>20?"...":"")+Ee.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ee=this.match;return Ee.length<20&&(Ee+=this._input.substr(0,20-Ee.length)),(Ee.substr(0,20)+(Ee.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ee=this.pastInput(),Me=new Array(Ee.length+1).join("-");return Ee+this.upcomingInput()+`
-`+Me+"^"},test_match:function(Ee,Me){var fe,ye,re;if(this.options.backtrack_lexer&&(re={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&&(re.yylloc.range=this.yylloc.range.slice(0))),ye=Ee[0].match(/(?:\r\n?|\n).*/g),ye&&(this.yylineno+=ye.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ye?ye[ye.length-1].length-ye[ye.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ee[0].length},this.yytext+=Ee[0],this.match+=Ee[0],this.matches=Ee,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(Ee[0].length),this.matched+=Ee[0],fe=this.performAction.call(this,this.yy,this,Me,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),fe)return fe;if(this._backtrack){for(var we in re)this[we]=re[we];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ee,Me,fe,ye;this._more||(this.yytext="",this.match="");for(var re=this._currentRules(),we=0;we<re.length;we++)if(fe=this._input.match(this.rules[re[we]]),fe&&(!Me||fe[0].length>Me[0].length)){if(Me=fe,ye=we,this.options.backtrack_lexer){if(Ee=this.test_match(fe,re[we]),Ee!==!1)return Ee;if(this._backtrack){Me=!1;continue}else return!1}else if(!this.options.flex)break}return Me?(Ee=this.test_match(Me,re[ye]),Ee!==!1?Ee:!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 Me=this.next();return Me||this.lex()},begin:function(Me){this.conditionStack.push(Me)},popState:function(){var Me=this.conditionStack.length-1;return Me>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(Me){return Me=this.conditionStack.length-1-Math.abs(Me||0),Me>=0?this.conditionStack[Me]:"INITIAL"},pushState:function(Me){this.begin(Me)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Me,fe,ye,re){switch(ye){case 0:Me.getLogger().trace("Found comment",fe.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:Me.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return Me.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:Me.getLogger().trace("end icon"),this.popState();break;case 10:return Me.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return Me.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return Me.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return Me.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:Me.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return Me.getLogger().trace("description:",fe.yytext),"NODE_DESCR";case 23:this.popState();break;case 24:return this.popState(),Me.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),Me.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),Me.getLogger().trace("node end ...",fe.yytext),"NODE_DEND";case 27:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 28:return this.popState(),Me.getLogger().trace("node end (-"),"NODE_DEND";case 29:return this.popState(),Me.getLogger().trace("node end (-"),"NODE_DEND";case 30:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 32:return Me.getLogger().trace("Long description:",fe.yytext),20;case 33:return Me.getLogger().trace("Long description:",fe.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],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return xe}();le.lexer=ce;function be(){this.yy={}}return be.prototype=le,le.Parser=be,new be}();cge.parser=cge;const lzt=cge,xP=s=>T2(s,Pt());let Yb=[],lRe=0,uge={};const hzt=()=>{Yb=[],lRe=0,uge={}},fzt=function(s){for(let o=Yb.length-1;o>=0;o--)if(Yb[o].level<s)return Yb[o];return null},dzt=()=>Yb.length>0?Yb[0]:null,gzt=(s,o,f,p)=>{je.info("addNode",s,o,f,p);const w=Pt(),k={id:lRe++,nodeId:xP(o),level:s,descr:xP(f),type:p,children:[],width:Pt().mindmap.maxNodeWidth};switch(k.type){case Zu.ROUNDED_RECT:k.padding=2*w.mindmap.padding;break;case Zu.RECT:k.padding=2*w.mindmap.padding;break;case Zu.HEXAGON:k.padding=2*w.mindmap.padding;break;default:k.padding=w.mindmap.padding}const b=fzt(s);if(b)b.children.push(k),Yb.push(k);else if(Yb.length===0)Yb.push(k);else{let _=new Error('There can be only one root. No parent could be found for ("'+k.descr+'")');throw _.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},_}},Zu={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},pzt=(s,o)=>{switch(je.debug("In get type",s,o),s){case"[":return Zu.RECT;case"(":return o===")"?Zu.ROUNDED_RECT:Zu.CLOUD;case"((":return Zu.CIRCLE;case")":return Zu.CLOUD;case"))":return Zu.BANG;case"{{":return Zu.HEXAGON;default:return Zu.DEFAULT}},hRe=(s,o)=>{uge[s]=o},bzt=s=>{const o=Yb[Yb.length-1];s&&s.icon&&(o.icon=xP(s.icon)),s&&s.class&&(o.class=xP(s.class))},h9=s=>{switch(s){case Zu.DEFAULT:return"no-border";case Zu.RECT:return"rect";case Zu.ROUNDED_RECT:return"rounded-rect";case Zu.CIRCLE:return"circle";case Zu.CLOUD:return"cloud";case Zu.BANG:return"bang";case Zu.HEXAGON:return"hexgon";default:return"no-border"}};let fRe;const vzt=s=>{fRe=s},wzt=()=>je,mzt=s=>Yb[s],lge=s=>uge[s],yzt=Object.freeze(Object.defineProperty({__proto__:null,addNode:gzt,clear:hzt,decorateNode:bzt,getElementById:lge,getLogger:wzt,getMindmap:dzt,getNodeById:mzt,getType:pzt,nodeType:Zu,get parseError(){return fRe},sanitizeText:xP,setElementForId:hRe,setErrorHandler:vzt,type2Str:h9},Symbol.toStringTag,{value:"Module"})),dRe=12;function kzt(s,o){s.each(function(){var f=sr(this),p=f.text().split(/(\s+|<br>)/).reverse(),w,k=[],b=1.1,_=f.attr("y"),A=parseFloat(f.attr("dy")),N=f.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",A+"em");for(let B=0;B<p.length;B++)w=p[p.length-1-B],k.push(w),N.text(k.join(" ").trim()),(N.node().getComputedTextLength()>o||w==="<br>")&&(k.pop(),N.text(k.join(" ").trim()),w==="<br>"?k=[""]:k=[w],N=f.append("tspan").attr("x",0).attr("y",_).attr("dy",b+"em").text(w))})}const xzt=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},Ezt=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("height",o.height).attr("width",o.width)},Tzt=function(s,o){const f=o.width,p=o.height,w=.15*f,k=.25*f,b=.35*f,_=.2*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 0 a${w},${w} 0 0,1 ${f*.25},${-1*f*.1}
+`}},Symbol.toStringTag,{value:"Module"}));var jgt=function(){var i=function(Tt,yt,vt,ut){for(vt=vt||{},ut=Tt.length;ut--;vt[Tt[ut]]=yt);return vt},a=[1,4],f=[1,13],p=[1,12],v=[1,15],m=[1,16],b=[1,20],E=[1,19],C=[6,7,8],A=[1,26],N=[1,24],F=[1,25],j=[6,7,11],R=[1,6,13,15,16,19,22],H=[1,33],Y=[1,34],rt=[1,6,7,11,13,15,16,19,22],J={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(yt,vt,ut,xt,st,Et,gt){var pt=Et.length-1;switch(st){case 6:case 7:return xt;case 8:xt.getLogger().trace("Stop NL ");break;case 9:xt.getLogger().trace("Stop EOF ");break;case 11:xt.getLogger().trace("Stop NL2 ");break;case 12:xt.getLogger().trace("Stop EOF2 ");break;case 15:xt.getLogger().info("Node: ",Et[pt].id),xt.addNode(Et[pt-1].length,Et[pt].id,Et[pt].descr,Et[pt].type);break;case 16:xt.getLogger().trace("Icon: ",Et[pt]),xt.decorateNode({icon:Et[pt]});break;case 17:case 21:xt.decorateNode({class:Et[pt]});break;case 18:xt.getLogger().trace("SPACELIST");break;case 19:xt.getLogger().trace("Node: ",Et[pt].id),xt.addNode(0,Et[pt].id,Et[pt].descr,Et[pt].type);break;case 20:xt.decorateNode({icon:Et[pt]});break;case 25:xt.getLogger().trace("node found ..",Et[pt-2]),this.$={id:Et[pt-1],descr:Et[pt-1],type:xt.getType(Et[pt-2],Et[pt])};break;case 26:this.$={id:Et[pt],descr:Et[pt],type:xt.nodeType.DEFAULT};break;case 27:xt.getLogger().trace("node found ..",Et[pt-3]),this.$={id:Et[pt-3],descr:Et[pt-1],type:xt.getType(Et[pt-2],Et[pt])};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:f,7:[1,10],9:9,12:11,13:p,14:14,15:v,16:m,17:17,18:18,19:b,22:E},i(C,[2,3]),{1:[2,2]},i(C,[2,4]),i(C,[2,5]),{1:[2,6],6:f,12:21,13:p,14:14,15:v,16:m,17:17,18:18,19:b,22:E},{6:f,9:22,12:11,13:p,14:14,15:v,16:m,17:17,18:18,19:b,22:E},{6:A,7:N,10:23,11:F},i(j,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:b,22:E}),i(j,[2,18]),i(j,[2,19]),i(j,[2,20]),i(j,[2,21]),i(j,[2,23]),i(j,[2,24]),i(j,[2,26],{19:[1,30]}),{20:[1,31]},{6:A,7:N,10:32,11:F},{1:[2,7],6:f,12:21,13:p,14:14,15:v,16:m,17:17,18:18,19:b,22:E},i(R,[2,14],{7:H,11:Y}),i(rt,[2,8]),i(rt,[2,9]),i(rt,[2,10]),i(j,[2,15]),i(j,[2,16]),i(j,[2,17]),{20:[1,35]},{21:[1,36]},i(R,[2,13],{7:H,11:Y}),i(rt,[2,11]),i(rt,[2,12]),{21:[1,37]},i(j,[2,25]),i(j,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(yt,vt){if(vt.recoverable)this.trace(yt);else{var ut=new Error(yt);throw ut.hash=vt,ut}},parse:function(yt){var vt=this,ut=[0],xt=[],st=[null],Et=[],gt=this.table,pt="",Ct=0,nt=0,Nt=2,dt=1,Ft=Et.slice.call(arguments,1),X=Object.create(this.lexer),Bt={yy:{}};for(var Rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rt)&&(Bt.yy[Rt]=this.yy[Rt]);X.setInput(yt,Bt.yy),Bt.yy.lexer=X,Bt.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var mt=X.yylloc;Et.push(mt);var Ot=X.options&&X.options.ranges;typeof Bt.yy.parseError=="function"?this.parseError=Bt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Gt(){var he;return he=xt.pop()||X.lex()||dt,typeof he!="number"&&(he instanceof Array&&(xt=he,he=xt.pop()),he=vt.symbols_[he]||he),he}for(var Ve,Cn,xe,Kn,Se={},ee,_e,qe,ce;;){if(Cn=ut[ut.length-1],this.defaultActions[Cn]?xe=this.defaultActions[Cn]:((Ve===null||typeof Ve>"u")&&(Ve=Gt()),xe=gt[Cn]&&gt[Cn][Ve]),typeof xe>"u"||!xe.length||!xe[0]){var Ce="";ce=[];for(ee in gt[Cn])this.terminals_[ee]&&ee>Nt&&ce.push("'"+this.terminals_[ee]+"'");X.showPosition?Ce="Parse error on line "+(Ct+1)+`:
+`+X.showPosition()+`
+Expecting `+ce.join(", ")+", got '"+(this.terminals_[Ve]||Ve)+"'":Ce="Parse error on line "+(Ct+1)+": Unexpected "+(Ve==dt?"end of input":"'"+(this.terminals_[Ve]||Ve)+"'"),this.parseError(Ce,{text:X.match,token:this.terminals_[Ve]||Ve,line:X.yylineno,loc:mt,expected:ce})}if(xe[0]instanceof Array&&xe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Cn+", token: "+Ve);switch(xe[0]){case 1:ut.push(Ve),st.push(X.yytext),Et.push(X.yylloc),ut.push(xe[1]),Ve=null,nt=X.yyleng,pt=X.yytext,Ct=X.yylineno,mt=X.yylloc;break;case 2:if(_e=this.productions_[xe[1]][1],Se.$=st[st.length-_e],Se._$={first_line:Et[Et.length-(_e||1)].first_line,last_line:Et[Et.length-1].last_line,first_column:Et[Et.length-(_e||1)].first_column,last_column:Et[Et.length-1].last_column},Ot&&(Se._$.range=[Et[Et.length-(_e||1)].range[0],Et[Et.length-1].range[1]]),Kn=this.performAction.apply(Se,[pt,nt,Ct,Bt.yy,xe[1],st,Et].concat(Ft)),typeof Kn<"u")return Kn;_e&&(ut=ut.slice(0,-1*_e*2),st=st.slice(0,-1*_e),Et=Et.slice(0,-1*_e)),ut.push(this.productions_[xe[1]][0]),st.push(Se.$),Et.push(Se._$),qe=gt[ut[ut.length-2]][ut[ut.length-1]],ut.push(qe);break;case 3:return!0}}return!0}},it=function(){var Tt={EOF:1,parseError:function(vt,ut){if(this.yy.parser)this.yy.parser.parseError(vt,ut);else throw new Error(vt)},setInput:function(yt,vt){return this.yy=vt||this.yy||{},this._input=yt,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 yt=this._input[0];this.yytext+=yt,this.yyleng++,this.offset++,this.match+=yt,this.matched+=yt;var vt=yt.match(/(?:\r\n?|\n).*/g);return vt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),yt},unput:function(yt){var vt=yt.length,ut=yt.split(/(?:\r\n?|\n)/g);this._input=yt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-vt),this.offset-=vt;var xt=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),ut.length-1&&(this.yylineno-=ut.length-1);var st=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:ut?(ut.length===xt.length?this.yylloc.first_column:0)+xt[xt.length-ut.length].length-ut[0].length:this.yylloc.first_column-vt},this.options.ranges&&(this.yylloc.range=[st[0],st[0]+this.yyleng-vt]),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(yt){this.unput(this.match.slice(yt))},pastInput:function(){var yt=this.matched.substr(0,this.matched.length-this.match.length);return(yt.length>20?"...":"")+yt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var yt=this.match;return yt.length<20&&(yt+=this._input.substr(0,20-yt.length)),(yt.substr(0,20)+(yt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var yt=this.pastInput(),vt=new Array(yt.length+1).join("-");return yt+this.upcomingInput()+`
+`+vt+"^"},test_match:function(yt,vt){var ut,xt,st;if(this.options.backtrack_lexer&&(st={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&&(st.yylloc.range=this.yylloc.range.slice(0))),xt=yt[0].match(/(?:\r\n?|\n).*/g),xt&&(this.yylineno+=xt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xt?xt[xt.length-1].length-xt[xt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+yt[0].length},this.yytext+=yt[0],this.match+=yt[0],this.matches=yt,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(yt[0].length),this.matched+=yt[0],ut=this.performAction.call(this,this.yy,this,vt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ut)return ut;if(this._backtrack){for(var Et in st)this[Et]=st[Et];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var yt,vt,ut,xt;this._more||(this.yytext="",this.match="");for(var st=this._currentRules(),Et=0;Et<st.length;Et++)if(ut=this._input.match(this.rules[st[Et]]),ut&&(!vt||ut[0].length>vt[0].length)){if(vt=ut,xt=Et,this.options.backtrack_lexer){if(yt=this.test_match(ut,st[Et]),yt!==!1)return yt;if(this._backtrack){vt=!1;continue}else return!1}else if(!this.options.flex)break}return vt?(yt=this.test_match(vt,st[xt]),yt!==!1?yt:!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 vt=this.next();return vt||this.lex()},begin:function(vt){this.conditionStack.push(vt)},popState:function(){var vt=this.conditionStack.length-1;return vt>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(vt){return vt=this.conditionStack.length-1-Math.abs(vt||0),vt>=0?this.conditionStack[vt]:"INITIAL"},pushState:function(vt){this.begin(vt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(vt,ut,xt,st){switch(xt){case 0:return vt.getLogger().trace("Found comment",ut.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:vt.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return vt.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:vt.getLogger().trace("end icon"),this.popState();break;case 10:return vt.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return vt.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return vt.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return vt.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:vt.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return vt.getLogger().trace("description:",ut.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),vt.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),vt.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),vt.getLogger().trace("node end ...",ut.yytext),"NODE_DEND";case 30:return this.popState(),vt.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),vt.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),vt.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),vt.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),vt.getLogger().trace("node end (("),"NODE_DEND";case 35:return vt.getLogger().trace("Long description:",ut.yytext),20;case 36:return vt.getLogger().trace("Long description:",ut.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 Tt}();J.lexer=it;function ht(){this.yy={}}return ht.prototype=J,J.Parser=ht,new ht}();jgt.parser=jgt;const BUe=jgt,YN=i=>cg(i,Me());let av=[],Bjt=0,$gt={};const RUe=()=>{av=[],Bjt=0,$gt={}},jUe=function(i){for(let a=av.length-1;a>=0;a--)if(av[a].level<i)return av[a];return null},$Ue=()=>av.length>0?av[0]:null,zUe=(i,a,f,p)=>{Vt.info("addNode",i,a,f,p);const v=Me(),m={id:Bjt++,nodeId:YN(a),level:i,descr:YN(f),type:p,children:[],width:Me().mindmap.maxNodeWidth};switch(m.type){case nl.ROUNDED_RECT:m.padding=2*v.mindmap.padding;break;case nl.RECT:m.padding=2*v.mindmap.padding;break;case nl.HEXAGON:m.padding=2*v.mindmap.padding;break;default:m.padding=v.mindmap.padding}const b=jUe(i);if(b)b.children.push(m),av.push(m);else if(av.length===0)av.push(m);else{let E=new Error('There can be only one root. No parent could be found for ("'+m.descr+'")');throw E.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},E}},nl={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},qUe=(i,a)=>{switch(Vt.debug("In get type",i,a),i){case"[":return nl.RECT;case"(":return a===")"?nl.ROUNDED_RECT:nl.CLOUD;case"((":return nl.CIRCLE;case")":return nl.CLOUD;case"))":return nl.BANG;case"{{":return nl.HEXAGON;default:return nl.DEFAULT}},Rjt=(i,a)=>{$gt[i]=a},HUe=i=>{const a=av[av.length-1];i&&i.icon&&(a.icon=YN(i.icon)),i&&i.class&&(a.class=YN(i.class))},SE=i=>{switch(i){case nl.DEFAULT:return"no-border";case nl.RECT:return"rect";case nl.ROUNDED_RECT:return"rounded-rect";case nl.CIRCLE:return"circle";case nl.CLOUD:return"cloud";case nl.BANG:return"bang";case nl.HEXAGON:return"hexgon";default:return"no-border"}};let jjt;const VUe=i=>{jjt=i},GUe=()=>Vt,UUe=i=>av[i],zgt=i=>$gt[i],WUe=Object.freeze(Object.defineProperty({__proto__:null,addNode:zUe,clear:RUe,decorateNode:HUe,getElementById:zgt,getLogger:GUe,getMindmap:$Ue,getNodeById:UUe,getType:qUe,nodeType:nl,get parseError(){return jjt},sanitizeText:YN,setElementForId:Rjt,setErrorHandler:VUe,type2Str:SE},Symbol.toStringTag,{value:"Module"})),$jt=12,KUe=function(i,a,f){i.append("path").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(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-"+f).attr("x1",0).attr("y1",a.height).attr("x2",a.width).attr("y2",a.height)},YUe=function(i,a){i.append("rect").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(a.type)).attr("height",a.height).attr("width",a.width)},XUe=function(i,a){const f=a.width,p=a.height,v=.15*f,m=.25*f,b=.35*f,E=.2*f;i.append("path").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(a.type)).attr("d",`M0 0 a${v},${v} 0 0,1 ${f*.25},${-1*f*.1}
a${b},${b} 1 0,1 ${f*.4},${-1*f*.1}
- a${k},${k} 1 0,1 ${f*.35},${1*f*.2}
+ a${m},${m} 1 0,1 ${f*.35},${1*f*.2}
- a${w},${w} 1 0,1 ${f*.15},${1*p*.35}
- a${_},${_} 1 0,1 ${-1*f*.15},${1*p*.65}
+ a${v},${v} 1 0,1 ${f*.15},${1*p*.35}
+ a${E},${E} 1 0,1 ${-1*f*.15},${1*p*.65}
- a${k},${w} 1 0,1 ${-1*f*.25},${f*.15}
- a${b},${b} 1 0,1 ${-1*f*.5},${0}
- a${w},${w} 1 0,1 ${-1*f*.25},${-1*f*.15}
+ a${m},${v} 1 0,1 ${-1*f*.25},${f*.15}
+ a${b},${b} 1 0,1 ${-1*f*.5},0
+ a${v},${v} 1 0,1 ${-1*f*.25},${-1*f*.15}
- a${w},${w} 1 0,1 ${-1*f*.1},${-1*p*.35}
- a${_},${_} 1 0,1 ${f*.1},${-1*p*.65}
+ a${v},${v} 1 0,1 ${-1*f*.1},${-1*p*.35}
+ a${E},${E} 1 0,1 ${f*.1},${-1*p*.65}
- H0 V0 Z`)},_zt=function(s,o){const f=o.width,p=o.height,w=.15*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 0 a${w},${w} 1 0,0 ${f*.25},${-1*p*.1}
- a${w},${w} 1 0,0 ${f*.25},${0}
- a${w},${w} 1 0,0 ${f*.25},${0}
- a${w},${w} 1 0,0 ${f*.25},${1*p*.1}
+ H0 V0 Z`)},QUe=function(i,a){const f=a.width,p=a.height,v=.15*f;i.append("path").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(a.type)).attr("d",`M0 0 a${v},${v} 1 0,0 ${f*.25},${-1*p*.1}
+ a${v},${v} 1 0,0 ${f*.25},0
+ a${v},${v} 1 0,0 ${f*.25},0
+ a${v},${v} 1 0,0 ${f*.25},${1*p*.1}
- a${w},${w} 1 0,0 ${f*.15},${1*p*.33}
- a${w*.8},${w*.8} 1 0,0 ${0},${1*p*.34}
- a${w},${w} 1 0,0 ${-1*f*.15},${1*p*.33}
+ a${v},${v} 1 0,0 ${f*.15},${1*p*.33}
+ a${v*.8},${v*.8} 1 0,0 0,${1*p*.34}
+ a${v},${v} 1 0,0 ${-1*f*.15},${1*p*.33}
- a${w},${w} 1 0,0 ${-1*f*.25},${p*.15}
- a${w},${w} 1 0,0 ${-1*f*.25},${0}
- a${w},${w} 1 0,0 ${-1*f*.25},${0}
- a${w},${w} 1 0,0 ${-1*f*.25},${-1*p*.15}
+ a${v},${v} 1 0,0 ${-1*f*.25},${p*.15}
+ a${v},${v} 1 0,0 ${-1*f*.25},0
+ a${v},${v} 1 0,0 ${-1*f*.25},0
+ a${v},${v} 1 0,0 ${-1*f*.25},${-1*p*.15}
- a${w},${w} 1 0,0 ${-1*f*.1},${-1*p*.33}
- a${w*.8},${w*.8} 1 0,0 ${0},${-1*p*.34}
- a${w},${w} 1 0,0 ${f*.1},${-1*p*.33}
+ a${v},${v} 1 0,0 ${-1*f*.1},${-1*p*.33}
+ a${v*.8},${v*.8} 1 0,0 0,${-1*p*.34}
+ a${v},${v} 1 0,0 ${f*.1},${-1*p*.33}
- H0 V0 Z`)},Czt=function(s,o){s.append("circle").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("r",o.width/2)};function Szt(s,o,f,p,w){return s.insert("polygon",":first-child").attr("points",p.map(function(k){return k.x+","+k.y}).join(" ")).attr("transform","translate("+(w.width-o)/2+", "+f+")")}const Azt=function(s,o){const f=o.height,w=f/4,k=o.width-o.padding+2*w,b=[{x:w,y:0},{x:k-w,y:0},{x:k,y:-f/2},{x:k-w,y:-f},{x:w,y:-f},{x:0,y:-f/2}];Szt(s,k,f,b,o)},Lzt=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("height",o.height).attr("rx",o.padding).attr("ry",o.padding).attr("width",o.width)},gRe={drawNode:function(s,o,f,p){const w=f%(dRe-1),k=s.append("g");o.section=w;let b="section-"+w;w<0&&(b+=" section-root"),k.attr("class",(o.class?o.class+" ":"")+"mindmap-node "+b);const _=k.append("g"),A=k.append("g"),B=A.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(kzt,o.width).node().getBBox(),F=p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;if(o.height=B.height+F*1.1*.5+o.padding,o.width=B.width+2*o.padding,o.icon)if(o.type===Zu.CIRCLE)o.height+=50,o.width+=50,k.append("foreignObject").attr("height","50px").attr("width",o.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+w+" "+o.icon),A.attr("transform","translate("+o.width/2+", "+(o.height/2-1.5*o.padding)+")");else{o.width+=50;const H=o.height;o.height=Math.max(H,60);const j=Math.abs(o.height-H);k.append("foreignObject").attr("width","60px").attr("height",o.height).attr("style","text-align: center;margin-top:"+j/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+w+" "+o.icon),A.attr("transform","translate("+(25+o.width/2)+", "+(j/2+o.padding/2)+")")}else A.attr("transform","translate("+o.width/2+", "+o.padding/2+")");switch(o.type){case Zu.DEFAULT:xzt(_,o,w);break;case Zu.ROUNDED_RECT:Lzt(_,o);break;case Zu.RECT:Ezt(_,o);break;case Zu.CIRCLE:_.attr("transform","translate("+o.width/2+", "+ +o.height/2+")"),Czt(_,o);break;case Zu.CLOUD:Tzt(_,o);break;case Zu.BANG:_zt(_,o);break;case Zu.HEXAGON:Azt(_,o);break}return hRe(o.id,k),o.height},positionNode:function(s){const o=lge(s.id),f=s.x||0,p=s.y||0;o.attr("transform","translate("+f+","+p+")")},drawEdge:function(o,f,p,w,k){const b=k%(dRe-1),_=p.x+p.width/2,A=p.y+p.height/2,N=f.x+f.width/2,B=f.y+f.height/2,F=N>_?_+Math.abs(_-N)/2:_-Math.abs(_-N)/2,H=B>A?A+Math.abs(A-B)/2:A-Math.abs(A-B)/2,j=N>_?Math.abs(_-F)/2+_:-Math.abs(_-F)/2+_,V=B>A?Math.abs(A-H)/2+A:-Math.abs(A-H)/2+A;o.append("path").attr("d",p.direction==="TB"||p.direction==="BT"?`M${_},${A} Q${_},${V} ${F},${H} T${N},${B}`:`M${_},${A} Q${j},${A} ${F},${H} T${N},${B}`).attr("class","edge section-edge-"+b+" edge-depth-"+w)}};var hge={},Mzt={get exports(){return hge},set exports(s){hge=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){function f(m){return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},f(m)}function p(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function w(m,g){for(var y=0;y<g.length;y++){var E=g[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(m,E.key,E)}}function k(m,g,y){return g&&w(m.prototype,g),y&&w(m,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function b(m,g,y){return g in m?Object.defineProperty(m,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):m[g]=y,m}function _(m,g){return A(m)||N(m,g)||B(m,g)||H()}function A(m){if(Array.isArray(m))return m}function N(m,g){var y=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(y!=null){var E=[],S=!0,D=!1,I,R;try{for(y=y.call(m);!(S=(I=y.next()).done)&&(E.push(I.value),!(g&&E.length===g));S=!0);}catch($){D=!0,R=$}finally{try{!S&&y.return!=null&&y.return()}finally{if(D)throw R}}return E}}function B(m,g){if(m){if(typeof m=="string")return F(m,g);var y=Object.prototype.toString.call(m).slice(8,-1);if(y==="Object"&&m.constructor&&(y=m.constructor.name),y==="Map"||y==="Set")return Array.from(m);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return F(m,g)}}function F(m,g){(g==null||g>m.length)&&(g=m.length);for(var y=0,E=new Array(g);y<g;y++)E[y]=m[y];return E}function H(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=typeof window>"u"?null:window,V=j?j.navigator:null;j&&j.document;var Z=f(""),ae=f({}),le=f(function(){}),ce=typeof HTMLElement>"u"?"undefined":f(HTMLElement),be=function(g){return g&&g.instanceString&&Ee(g.instanceString)?g.instanceString():null},xe=function(g){return g!=null&&f(g)==Z},Ee=function(g){return g!=null&&f(g)===le},Me=function(g){return!he(g)&&(Array.isArray?Array.isArray(g):g!=null&&g instanceof Array)},fe=function(g){return g!=null&&f(g)===ae&&!Me(g)&&g.constructor===Object},ye=function(g){return g!=null&&f(g)===ae},re=function(g){return g!=null&&f(g)===f(1)&&!isNaN(g)},we=function(g){return re(g)&&Math.floor(g)===g},ke=function(g){if(ce!=="undefined")return g!=null&&g instanceof HTMLElement},he=function(g){return De(g)||X(g)},De=function(g){return be(g)==="collection"&&g._private.single},X=function(g){return be(g)==="collection"&&!g._private.single},Re=function(g){return be(g)==="core"},pe=function(g){return be(g)==="stylesheet"},Ge=function(g){return be(g)==="event"},de=function(g){return g==null?!0:!!(g===""||g.match(/^\s+$/))},ct=function(g){return typeof HTMLElement>"u"?!1:g instanceof HTMLElement},bt=function(g){return fe(g)&&re(g.x1)&&re(g.x2)&&re(g.y1)&&re(g.y2)},St=function(g){return ye(g)&&Ee(g.then)},yt=function(){return V&&V.userAgent.match(/msie|trident|edge/i)},Mt=function(g,y){y||(y=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var D=[],I=0;I<arguments.length;I++)D.push(arguments[I]);return D.join("$")});var E=function S(){var D=this,I=arguments,R,$=y.apply(D,I),C=S.cache;return(R=C[$])||(R=C[$]=g.apply(D,I)),R};return E.cache={},E},nn=Mt(function(m){return m.replace(/([A-Z])/g,function(g){return"-"+g.toLowerCase()})}),dn=Mt(function(m){return m.replace(/(-\w)/g,function(g){return g[1].toUpperCase()})}),vt=Mt(function(m,g){return m+g[0].toUpperCase()+g.substring(1)},function(m,g){return m+"$"+g}),Lr=function(g){return de(g)?g:g.charAt(0).toUpperCase()+g.substring(1)},xt="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",Tt="rgb[a]?\\(("+xt+"[%]?)\\s*,\\s*("+xt+"[%]?)\\s*,\\s*("+xt+"[%]?)(?:\\s*,\\s*("+xt+"))?\\)",wt="rgb[a]?\\((?:"+xt+"[%]?)\\s*,\\s*(?:"+xt+"[%]?)\\s*,\\s*(?:"+xt+"[%]?)(?:\\s*,\\s*(?:"+xt+"))?\\)",At="hsl[a]?\\(("+xt+")\\s*,\\s*("+xt+"[%])\\s*,\\s*("+xt+"[%])(?:\\s*,\\s*("+xt+"))?\\)",He="hsl[a]?\\((?:"+xt+")\\s*,\\s*(?:"+xt+"[%])\\s*,\\s*(?:"+xt+"[%])(?:\\s*,\\s*(?:"+xt+"))?\\)",Ze="\\#[0-9a-fA-F]{3}",Lt="\\#[0-9a-fA-F]{6}",Ve=function(g,y){return g<y?-1:g>y?1:0},Mn=function(g,y){return-1*Ve(g,y)},Oe=Object.assign!=null?Object.assign.bind(Object):function(m){for(var g=arguments,y=1;y<g.length;y++){var E=g[y];if(E!=null)for(var S=Object.keys(E),D=0;D<S.length;D++){var I=S[D];m[I]=E[I]}}return m},Di=function(g){if(!(!(g.length===4||g.length===7)||g[0]!=="#")){var y=g.length===4,E,S,D,I=16;return y?(E=parseInt(g[1]+g[1],I),S=parseInt(g[2]+g[2],I),D=parseInt(g[3]+g[3],I)):(E=parseInt(g[1]+g[2],I),S=parseInt(g[3]+g[4],I),D=parseInt(g[5]+g[6],I)),[E,S,D]}},rn=function(g){var y,E,S,D,I,R,$,C;function G(se,oe,Ce){return Ce<0&&(Ce+=1),Ce>1&&(Ce-=1),Ce<1/6?se+(oe-se)*6*Ce:Ce<1/2?oe:Ce<2/3?se+(oe-se)*(2/3-Ce)*6:se}var U=new RegExp("^"+At+"$").exec(g);if(U){if(E=parseInt(U[1]),E<0?E=(360- -1*E%360)%360:E>360&&(E=E%360),E/=360,S=parseFloat(U[2]),S<0||S>100||(S=S/100,D=parseFloat(U[3]),D<0||D>100)||(D=D/100,I=U[4],I!==void 0&&(I=parseFloat(I),I<0||I>1)))return;if(S===0)R=$=C=Math.round(D*255);else{var J=D<.5?D*(1+S):D+S-D*S,te=2*D-J;R=Math.round(255*G(te,J,E+1/3)),$=Math.round(255*G(te,J,E)),C=Math.round(255*G(te,J,E-1/3))}y=[R,$,C,I]}return y},pi=function(g){var y,E=new RegExp("^"+Tt+"$").exec(g);if(E){y=[];for(var S=[],D=1;D<=3;D++){var I=E[D];if(I[I.length-1]==="%"&&(S[D]=!0),I=parseFloat(I),S[D]&&(I=I/100*255),I<0||I>255)return;y.push(Math.floor(I))}var R=S[1]||S[2]||S[3],$=S[1]&&S[2]&&S[3];if(R&&!$)return;var C=E[4];if(C!==void 0){if(C=parseFloat(C),C<0||C>1)return;y.push(C)}}return y},Fr=function(g){return Wn[g.toLowerCase()]},tr=function(g){return(Me(g)?g:null)||Fr(g)||Di(g)||pi(g)||rn(g)},Wn={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]},er=function(g){for(var y=g.map,E=g.keys,S=E.length,D=0;D<S;D++){var I=E[D];if(fe(I))throw Error("Tried to set map with object key");D<E.length-1?(y[I]==null&&(y[I]={}),y=y[I]):y[I]=g.value}},Fn=function(g){for(var y=g.map,E=g.keys,S=E.length,D=0;D<S;D++){var I=E[D];if(fe(I))throw Error("Tried to get map with object key");if(y=y[I],y==null)return y}return y};function nr(m){var g=typeof m;return m!=null&&(g=="object"||g=="function")}var ha=nr,fa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof g0<"u"?g0:typeof self<"u"?self:{};function is(m,g){return g={exports:{}},m(g,g.exports),g.exports}var Xi=typeof fa=="object"&&fa&&fa.Object===Object&&fa,da=Xi,Cc=typeof self=="object"&&self&&self.Object===Object&&self,na=da||Cc||Function("return this")(),Ji=na,Fi=function(){return Ji.Date.now()},vr=Fi,wr=/\s/;function ni(m){for(var g=m.length;g--&&wr.test(m.charAt(g)););return g}var Yn=ni,Gi=/^\s+/;function un(m){return m&&m.slice(0,Yn(m)+1).replace(Gi,"")}var Ks=un,Hn=Ji.Symbol,Ms=Hn,Ea=Object.prototype,Va=Ea.hasOwnProperty,Ba=Ea.toString,Ta=Ms?Ms.toStringTag:void 0;function ss(m){var g=Va.call(m,Ta),y=m[Ta];try{m[Ta]=void 0;var E=!0}catch{}var S=Ba.call(m);return E&&(g?m[Ta]=y:delete m[Ta]),S}var Zs=ss,Fa=Object.prototype,$s=Fa.toString;function ap(m){return $s.call(m)}var Xb=ap,bu="[object Null]",ra="[object Undefined]",Ju=Ms?Ms.toStringTag:void 0;function lf(m){return m==null?m===void 0?ra:bu:Ju&&Ju in Object(m)?Zs(m):Xb(m)}var el=lf;function Rl(m){return m!=null&&typeof m=="object"}var vu=Rl,Mh="[object Symbol]";function ah(m){return typeof m=="symbol"||vu(m)&&el(m)==Mh}var Ai=ah,$t=0/0,Mr=/^[-+]0x[0-9a-f]+$/i,bi=/^0b[01]+$/i,Aa=/^0o[0-7]+$/i,Nc=parseInt;function $c(m){if(typeof m=="number")return m;if(Ai(m))return $t;if(ha(m)){var g=typeof m.valueOf=="function"?m.valueOf():m;m=ha(g)?g+"":g}if(typeof m!="string")return m===0?m:+m;m=Ks(m);var y=bi.test(m);return y||Aa.test(m)?Nc(m.slice(2),y?2:8):Mr.test(m)?$t:+m}var wu=$c,oh="Expected a function",tl=Math.max,Qb=Math.min;function rm(m,g,y){var E,S,D,I,R,$,C=0,G=!1,U=!1,J=!0;if(typeof m!="function")throw new TypeError(oh);g=wu(g)||0,ha(y)&&(G=!!y.leading,U="maxWait"in y,D=U?tl(wu(y.maxWait)||0,g):D,J="trailing"in y?!!y.trailing:J);function te(Ue){var Fe=E,et=S;return E=S=void 0,C=Ue,I=m.apply(et,Fe),I}function se(Ue){return C=Ue,R=setTimeout(ve,g),G?te(Ue):I}function oe(Ue){var Fe=Ue-$,et=Ue-C,ze=g-Fe;return U?Qb(ze,D-et):ze}function Ce(Ue){var Fe=Ue-$,et=Ue-C;return $===void 0||Fe>=g||Fe<0||U&&et>=D}function ve(){var Ue=vr();if(Ce(Ue))return Ae(Ue);R=setTimeout(ve,oe(Ue))}function Ae(Ue){return R=void 0,J&&E?te(Ue):(E=S=void 0,I)}function Le(){R!==void 0&&clearTimeout(R),C=0,E=$=S=R=void 0}function Be(){return R===void 0?I:Ae(vr())}function Xe(){var Ue=vr(),Fe=Ce(Ue);if(E=arguments,S=this,$=Ue,Fe){if(R===void 0)return se($);if(U)return clearTimeout(R),R=setTimeout(ve,g),te($)}return R===void 0&&(R=setTimeout(ve,g)),I}return Xe.cancel=Le,Xe.flush=Be,Xe}var Rd=rm,cs=j?j.performance:null,Es=cs&&cs.now?function(){return cs.now()}:function(){return Date.now()},Ya=function(){if(j){if(j.requestAnimationFrame)return function(m){j.requestAnimationFrame(m)};if(j.mozRequestAnimationFrame)return function(m){j.mozRequestAnimationFrame(m)};if(j.webkitRequestAnimationFrame)return function(m){j.webkitRequestAnimationFrame(m)};if(j.msRequestAnimationFrame)return function(m){j.msRequestAnimationFrame(m)}}return function(m){m&&setTimeout(function(){m(Es())},1e3/60)}}(),Ei=function(g){return Ya(g)},uc=Es,Ot=9261,im=65599,Kt=5381,id=function(g){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot,E=y,S;S=g.next(),!S.done;)E=E*im+S.value|0;return E},sm=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot;return y*im+g|0},f3=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kt;return(y<<5)+y+g|0},s8=function(g,y){return g*2097152+y},I2=function(g){return g[0]*2097152+g[1]},fl=function(g,y){return[sm(g[0],y[0]),f3(g[1],y[1])]},Zb=function(g,y){var E={value:0,done:!1},S=0,D=g.length,I={next:function(){return S<D?E.value=g[S++]:E.done=!0,E}};return id(I,y)},op=function(g,y){var E={value:0,done:!1},S=0,D=g.length,I={next:function(){return S<D?E.value=g.charCodeAt(S++):E.done=!0,E}};return id(I,y)},I5=function(){return f9(arguments)},f9=function(g){for(var y,E=0;E<g.length;E++){var S=g[E];E===0?y=op(S):y=op(S,y)}return y},d9=!0,p1=console.warn!=null,Jb=console.trace!=null,b1=Number.MAX_SAFE_INTEGER||9007199254740991,O5=function(){return!0},cp=function(){return!1},d3=function(){return 0},x0=function(){},Fu=function(g){throw new Error(g)},g3=function(g){if(g!==void 0)d9=!!g;else return d9},Jo=function(g){g3()&&(p1?console.warn(g):(console.log(g),Jb&&console.trace()))},up=function(g){return Oe({},g)},O2=function(g){return g==null?g:Me(g)?g.slice():fe(g)?up(g):g},CW=function(g){return g.slice()},g9=function(g,y){for(y=g="";g++<36;y+=g*51&52?(g^15?8^Math.random()*(g^20?16:4):4).toString(16):"-");return y},SW={},EP=function(){return SW},zf=function(g){var y=Object.keys(g);return function(E){for(var S={},D=0;D<y.length;D++){var I=y[D],R=E==null?void 0:E[I];S[I]=R===void 0?g[I]:R}return S}},am=function(g,y,E){for(var S=g.length-1;S>=0&&!(g[S]===y&&(g.splice(S,1),E));S--);},JA=function(g){g.splice(0,g.length)},TP=function(g,y){for(var E=0;E<y.length;E++){var S=y[E];g.push(S)}},lp=function(g,y,E){return E&&(y=vt(E,y)),g[y]},om=function(g,y,E,S){E&&(y=vt(E,y)),g[y]=S},AW=function(){function m(){p(this,m),this._obj={}}return k(m,[{key:"set",value:function(y,E){return this._obj[y]=E,this}},{key:"delete",value:function(y){return this._obj[y]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(y){return this._obj[y]!==void 0}},{key:"get",value:function(y){return this._obj[y]}}]),m}(),N2=typeof Map<"u"?Map:AW,LW="undefined",MW=function(){function m(g){if(p(this,m),this._obj=Object.create(null),this.size=0,g!=null){var y;g.instanceString!=null&&g.instanceString()===this.instanceString()?y=g.toArray():y=g;for(var E=0;E<y.length;E++)this.add(y[E])}}return k(m,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(y){var E=this._obj;E[y]!==1&&(E[y]=1,this.size++)}},{key:"delete",value:function(y){var E=this._obj;E[y]===1&&(E[y]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(y){return this._obj[y]===1}},{key:"toArray",value:function(){var y=this;return Object.keys(this._obj).filter(function(E){return y.has(E)})}},{key:"forEach",value:function(y,E){return this.toArray().forEach(y,E)}}]),m}(),N5=(typeof Set>"u"?"undefined":f(Set))!==LW?Set:MW,p9=function(g,y){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(g===void 0||y===void 0||!Re(g)){Fu("An element must have a core reference and parameters set");return}var S=y.group;if(S==null&&(y.data&&y.data.source!=null&&y.data.target!=null?S="edges":S="nodes"),S!=="nodes"&&S!=="edges"){Fu("An element must be of type `nodes` or `edges`; you specified `"+S+"`");return}this.length=1,this[0]=this;var D=this._private={cy:g,single:!0,data:y.data||{},position:y.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:S,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!y.selected,selectable:y.selectable===void 0?!0:!!y.selectable,locked:!!y.locked,grabbed:!1,grabbable:y.grabbable===void 0?!0:!!y.grabbable,pannable:y.pannable===void 0?S==="edges":!!y.pannable,active:!1,classes:new N5,animation:{current:[],queue:[]},rscratch:{},scratch:y.scratch||{},edges:[],children:[],parent:y.parent&&y.parent.isNode()?y.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(D.position.x==null&&(D.position.x=0),D.position.y==null&&(D.position.y=0),y.renderedPosition){var I=y.renderedPosition,R=g.pan(),$=g.zoom();D.position={x:(I.x-R.x)/$,y:(I.y-R.y)/$}}var C=[];Me(y.classes)?C=y.classes:xe(y.classes)&&(C=y.classes.split(/\s+/));for(var G=0,U=C.length;G<U;G++){var J=C[G];!J||J===""||D.classes.add(J)}this.createEmitter();var te=y.style||y.css;te&&(Jo("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(te)),(E===void 0||E)&&this.restore()},_P=function(g){return g={bfs:g.bfs||!g.dfs,dfs:g.dfs||!g.bfs},function(E,S,D){var I;fe(E)&&!he(E)&&(I=E,E=I.roots||I.root,S=I.visit,D=I.directed),D=arguments.length===2&&!Ee(S)?S:D,S=Ee(S)?S:function(){};for(var R=this._private.cy,$=E=xe(E)?this.filter(E):E,C=[],G=[],U={},J={},te={},se=0,oe,Ce=this.byGroup(),ve=Ce.nodes,Ae=Ce.edges,Le=0;Le<$.length;Le++){var Be=$[Le],Xe=Be.id();Be.isNode()&&(C.unshift(Be),g.bfs&&(te[Xe]=!0,G.push(Be)),J[Xe]=0)}for(var Ue=function(){var Dt=g.bfs?C.shift():C.pop(),ft=Dt.id();if(g.dfs){if(te[ft])return"continue";te[ft]=!0,G.push(Dt)}var ln=J[ft],Rt=U[ft],Ht=Rt!=null?Rt.source():null,wn=Rt!=null?Rt.target():null,Sn=Rt==null?void 0:Dt.same(Ht)?wn[0]:Ht[0],Kn=void 0;if(Kn=S(Dt,Rt,Sn,se++,ln),Kn===!0)return oe=Dt,"break";if(Kn===!1)return"break";for(var xn=Dt.connectedEdges().filter(function(rr){return(!D||rr.source().same(Dt))&&Ae.has(rr)}),Un=0;Un<xn.length;Un++){var ar=xn[Un],xr=ar.connectedNodes().filter(function(rr){return!rr.same(Dt)&&ve.has(rr)}),fr=xr.id();xr.length!==0&&!te[fr]&&(xr=xr[0],C.push(xr),g.bfs&&(te[fr]=!0,G.push(xr)),U[fr]=ar,J[fr]=J[ft]+1)}};C.length!==0;){var Fe=Ue();if(Fe!=="continue"&&Fe==="break")break}for(var et=R.collection(),ze=0;ze<G.length;ze++){var ut=G[ze],ht=U[ut.id()];ht!=null&&et.push(ht),et.push(ut)}return{path:R.collection(et),found:R.collection(oe)}}},a8={breadthFirstSearch:_P({bfs:!0}),depthFirstSearch:_P({dfs:!0})};a8.bfs=a8.breadthFirstSearch,a8.dfs=a8.depthFirstSearch;var DW=is(function(m,g){(function(){var y,E,S,D,I,R,$,C,G,U,J,te,se,oe,Ce;S=Math.floor,U=Math.min,E=function(ve,Ae){return ve<Ae?-1:ve>Ae?1:0},G=function(ve,Ae,Le,Be,Xe){var Ue;if(Le==null&&(Le=0),Xe==null&&(Xe=E),Le<0)throw new Error("lo must be non-negative");for(Be==null&&(Be=ve.length);Le<Be;)Ue=S((Le+Be)/2),Xe(Ae,ve[Ue])<0?Be=Ue:Le=Ue+1;return[].splice.apply(ve,[Le,Le-Le].concat(Ae)),Ae},R=function(ve,Ae,Le){return Le==null&&(Le=E),ve.push(Ae),oe(ve,0,ve.length-1,Le)},I=function(ve,Ae){var Le,Be;return Ae==null&&(Ae=E),Le=ve.pop(),ve.length?(Be=ve[0],ve[0]=Le,Ce(ve,0,Ae)):Be=Le,Be},C=function(ve,Ae,Le){var Be;return Le==null&&(Le=E),Be=ve[0],ve[0]=Ae,Ce(ve,0,Le),Be},$=function(ve,Ae,Le){var Be;return Le==null&&(Le=E),ve.length&&Le(ve[0],Ae)<0&&(Be=[ve[0],Ae],Ae=Be[0],ve[0]=Be[1],Ce(ve,0,Le)),Ae},D=function(ve,Ae){var Le,Be,Xe,Ue,Fe,et;for(Ae==null&&(Ae=E),Ue=function(){et=[];for(var ze=0,ut=S(ve.length/2);0<=ut?ze<ut:ze>ut;0<=ut?ze++:ze--)et.push(ze);return et}.apply(this).reverse(),Fe=[],Be=0,Xe=Ue.length;Be<Xe;Be++)Le=Ue[Be],Fe.push(Ce(ve,Le,Ae));return Fe},se=function(ve,Ae,Le){var Be;if(Le==null&&(Le=E),Be=ve.indexOf(Ae),Be!==-1)return oe(ve,0,Be,Le),Ce(ve,Be,Le)},J=function(ve,Ae,Le){var Be,Xe,Ue,Fe,et;if(Le==null&&(Le=E),Xe=ve.slice(0,Ae),!Xe.length)return Xe;for(D(Xe,Le),et=ve.slice(Ae),Ue=0,Fe=et.length;Ue<Fe;Ue++)Be=et[Ue],$(Xe,Be,Le);return Xe.sort(Le).reverse()},te=function(ve,Ae,Le){var Be,Xe,Ue,Fe,et,ze,ut,ht,tt;if(Le==null&&(Le=E),Ae*10<=ve.length){if(Ue=ve.slice(0,Ae).sort(Le),!Ue.length)return Ue;for(Xe=Ue[Ue.length-1],ut=ve.slice(Ae),Fe=0,ze=ut.length;Fe<ze;Fe++)Be=ut[Fe],Le(Be,Xe)<0&&(G(Ue,Be,0,null,Le),Ue.pop(),Xe=Ue[Ue.length-1]);return Ue}for(D(ve,Le),tt=[],et=0,ht=U(Ae,ve.length);0<=ht?et<ht:et>ht;0<=ht?++et:--et)tt.push(I(ve,Le));return tt},oe=function(ve,Ae,Le,Be){var Xe,Ue,Fe;for(Be==null&&(Be=E),Xe=ve[Le];Le>Ae;){if(Fe=Le-1>>1,Ue=ve[Fe],Be(Xe,Ue)<0){ve[Le]=Ue,Le=Fe;continue}break}return ve[Le]=Xe},Ce=function(ve,Ae,Le){var Be,Xe,Ue,Fe,et;for(Le==null&&(Le=E),Xe=ve.length,et=Ae,Ue=ve[Ae],Be=2*Ae+1;Be<Xe;)Fe=Be+1,Fe<Xe&&!(Le(ve[Be],ve[Fe])<0)&&(Be=Fe),ve[Ae]=ve[Be],Ae=Be,Be=2*Ae+1;return ve[Ae]=Ue,oe(ve,et,Ae,Le)},y=function(){ve.push=R,ve.pop=I,ve.replace=C,ve.pushpop=$,ve.heapify=D,ve.updateItem=se,ve.nlargest=J,ve.nsmallest=te;function ve(Ae){this.cmp=Ae??E,this.nodes=[]}return ve.prototype.push=function(Ae){return R(this.nodes,Ae,this.cmp)},ve.prototype.pop=function(){return I(this.nodes,this.cmp)},ve.prototype.peek=function(){return this.nodes[0]},ve.prototype.contains=function(Ae){return this.nodes.indexOf(Ae)!==-1},ve.prototype.replace=function(Ae){return C(this.nodes,Ae,this.cmp)},ve.prototype.pushpop=function(Ae){return $(this.nodes,Ae,this.cmp)},ve.prototype.heapify=function(){return D(this.nodes,this.cmp)},ve.prototype.updateItem=function(Ae){return se(this.nodes,Ae,this.cmp)},ve.prototype.clear=function(){return this.nodes=[]},ve.prototype.empty=function(){return this.nodes.length===0},ve.prototype.size=function(){return this.nodes.length},ve.prototype.clone=function(){var Ae;return Ae=new ve,Ae.nodes=this.nodes.slice(0),Ae},ve.prototype.toArray=function(){return this.nodes.slice(0)},ve.prototype.insert=ve.prototype.push,ve.prototype.top=ve.prototype.peek,ve.prototype.front=ve.prototype.peek,ve.prototype.has=ve.prototype.contains,ve.prototype.copy=ve.prototype.clone,ve}(),function(ve,Ae){return m.exports=Ae()}(this,function(){return y})}).call(fa)}),o8=DW,IW=zf({root:null,weight:function(g){return 1},directed:!1}),OW={dijkstra:function(g){if(!fe(g)){var y=arguments;g={root:y[0],weight:y[1],directed:y[2]}}var E=IW(g),S=E.root,D=E.weight,I=E.directed,R=this,$=D,C=xe(S)?this.filter(S)[0]:S[0],G={},U={},J={},te=this.byGroup(),se=te.nodes,oe=te.edges;oe.unmergeBy(function(ln){return ln.isLoop()});for(var Ce=function(Rt){return G[Rt.id()]},ve=function(Rt,Ht){G[Rt.id()]=Ht,Ae.updateItem(Rt)},Ae=new o8(function(ln,Rt){return Ce(ln)-Ce(Rt)}),Le=0;Le<se.length;Le++){var Be=se[Le];G[Be.id()]=Be.same(C)?0:1/0,Ae.push(Be)}for(var Xe=function(Rt,Ht){for(var wn=(I?Rt.edgesTo(Ht):Rt.edgesWith(Ht)).intersect(oe),Sn=1/0,Kn,xn=0;xn<wn.length;xn++){var Un=wn[xn],ar=$(Un);(ar<Sn||!Kn)&&(Sn=ar,Kn=Un)}return{edge:Kn,dist:Sn}};Ae.size()>0;){var Ue=Ae.pop(),Fe=Ce(Ue),et=Ue.id();if(J[et]=Fe,Fe!==1/0)for(var ze=Ue.neighborhood().intersect(se),ut=0;ut<ze.length;ut++){var ht=ze[ut],tt=ht.id(),Dt=Xe(Ue,ht),ft=Fe+Dt.dist;ft<Ce(ht)&&(ve(ht,ft),U[tt]={node:Ue,edge:Dt.edge})}}return{distanceTo:function(Rt){var Ht=xe(Rt)?se.filter(Rt)[0]:Rt[0];return J[Ht.id()]},pathTo:function(Rt){var Ht=xe(Rt)?se.filter(Rt)[0]:Rt[0],wn=[],Sn=Ht,Kn=Sn.id();if(Ht.length>0)for(wn.unshift(Ht);U[Kn];){var xn=U[Kn];wn.unshift(xn.edge),wn.unshift(xn.node),Sn=xn.node,Kn=Sn.id()}return R.spawn(wn)}}}},NW={kruskal:function(g){g=g||function(Le){return 1};for(var y=this.byGroup(),E=y.nodes,S=y.edges,D=E.length,I=new Array(D),R=E,$=function(Be){for(var Xe=0;Xe<I.length;Xe++){var Ue=I[Xe];if(Ue.has(Be))return Xe}},C=0;C<D;C++)I[C]=this.spawn(E[C]);for(var G=S.sort(function(Le,Be){return g(Le)-g(Be)}),U=0;U<G.length;U++){var J=G[U],te=J.source()[0],se=J.target()[0],oe=$(te),Ce=$(se),ve=I[oe],Ae=I[Ce];oe!==Ce&&(R.merge(J),ve.merge(Ae),I.splice(Ce,1))}return R}},PW=zf({root:null,goal:null,weight:function(g){return 1},heuristic:function(g){return 0},directed:!1}),BW={aStar:function(g){var y=this.cy(),E=PW(g),S=E.root,D=E.goal,I=E.heuristic,R=E.directed,$=E.weight;S=y.collection(S)[0],D=y.collection(D)[0];var C=S.id(),G=D.id(),U={},J={},te={},se=new o8(function(Kn,xn){return J[Kn.id()]-J[xn.id()]}),oe=new N5,Ce={},ve={},Ae=function(xn,Un){se.push(xn),oe.add(Un)},Le,Be,Xe=function(){Le=se.pop(),Be=Le.id(),oe.delete(Be)},Ue=function(xn){return oe.has(xn)};Ae(S,C),U[C]=0,J[C]=I(S);for(var Fe=0;se.size()>0;){if(Xe(),Fe++,Be===G){for(var et=[],ze=D,ut=G,ht=ve[ut];et.unshift(ze),ht!=null&&et.unshift(ht),ze=Ce[ut],ze!=null;)ut=ze.id(),ht=ve[ut];return{found:!0,distance:U[Be],path:this.spawn(et),steps:Fe}}te[Be]=!0;for(var tt=Le._private.edges,Dt=0;Dt<tt.length;Dt++){var ft=tt[Dt];if(this.hasElementWithId(ft.id())&&!(R&&ft.data("source")!==Be)){var ln=ft.source(),Rt=ft.target(),Ht=ln.id()!==Be?ln:Rt,wn=Ht.id();if(this.hasElementWithId(wn)&&!te[wn]){var Sn=U[Be]+$(ft);if(!Ue(wn)){U[wn]=Sn,J[wn]=Sn+I(Ht),Ae(Ht,wn),Ce[wn]=Le,ve[wn]=ft;continue}Sn<U[wn]&&(U[wn]=Sn,J[wn]=Sn+I(Ht),Ce[wn]=Le,ve[wn]=ft)}}}}return{found:!1,distance:void 0,path:void 0,steps:Fe}}},FW=zf({weight:function(g){return 1},directed:!1}),RW={floydWarshall:function(g){for(var y=this.cy(),E=FW(g),S=E.weight,D=E.directed,I=S,R=this.byGroup(),$=R.nodes,C=R.edges,G=$.length,U=G*G,J=function(ar){return $.indexOf(ar)},te=function(ar){return $[ar]},se=new Array(U),oe=0;oe<U;oe++){var Ce=oe%G,ve=(oe-Ce)/G;ve===Ce?se[oe]=0:se[oe]=1/0}for(var Ae=new Array(U),Le=new Array(U),Be=0;Be<C.length;Be++){var Xe=C[Be],Ue=Xe.source()[0],Fe=Xe.target()[0];if(Ue!==Fe){var et=J(Ue),ze=J(Fe),ut=et*G+ze,ht=I(Xe);if(se[ut]>ht&&(se[ut]=ht,Ae[ut]=ze,Le[ut]=Xe),!D){var tt=ze*G+et;!D&&se[tt]>ht&&(se[tt]=ht,Ae[tt]=et,Le[tt]=Xe)}}}for(var Dt=0;Dt<G;Dt++)for(var ft=0;ft<G;ft++)for(var ln=ft*G+Dt,Rt=0;Rt<G;Rt++){var Ht=ft*G+Rt,wn=Dt*G+Rt;se[ln]+se[wn]<se[Ht]&&(se[Ht]=se[ln]+se[wn],Ae[Ht]=Ae[ln])}var Sn=function(ar){return(xe(ar)?y.filter(ar):ar)[0]},Kn=function(ar){return J(Sn(ar))},xn={distance:function(ar,xr){var fr=Kn(ar),rr=Kn(xr);return se[fr*G+rr]},path:function(ar,xr){var fr=Kn(ar),rr=Kn(xr),gn=te(fr);if(fr===rr)return gn.collection();if(Ae[fr*G+rr]==null)return y.collection();var mr=y.collection(),pr=fr,ri;for(mr.merge(gn);fr!==rr;)pr=fr,fr=Ae[fr*G+rr],ri=Le[pr*G+fr],mr.merge(ri),mr.merge(te(fr));return mr}};return xn}},jW=zf({weight:function(g){return 1},directed:!1,root:null}),$W={bellmanFord:function(g){var y=this,E=jW(g),S=E.weight,D=E.directed,I=E.root,R=S,$=this,C=this.cy(),G=this.byGroup(),U=G.edges,J=G.nodes,te=J.length,se=new N2,oe=!1,Ce=[];I=C.collection(I)[0],U.unmergeBy(function(Wi){return Wi.isLoop()});for(var ve=U.length,Ae=function(Ii){var es=se.get(Ii.id());return es||(es={},se.set(Ii.id(),es)),es},Le=function(Ii){return(xe(Ii)?C.$(Ii):Ii)[0]},Be=function(Ii){return Ae(Le(Ii)).dist},Xe=function(Ii){for(var es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I,to=Le(Ii),sa=[],Ws=to;;){if(Ws==null)return y.spawn();var Cr=Ae(Ws),Ye=Cr.edge,Pn=Cr.pred;if(sa.unshift(Ws[0]),Ws.same(es)&&sa.length>0)break;Ye!=null&&sa.unshift(Ye),Ws=Pn}return $.spawn(sa)},Ue=0;Ue<te;Ue++){var Fe=J[Ue],et=Ae(Fe);Fe.same(I)?et.dist=0:et.dist=1/0,et.pred=null,et.edge=null}for(var ze=!1,ut=function(Ii,es,to,sa,Ws,Cr){var Ye=sa.dist+Cr;Ye<Ws.dist&&!to.same(sa.edge)&&(Ws.dist=Ye,Ws.pred=Ii,Ws.edge=to,ze=!0)},ht=1;ht<te;ht++){ze=!1;for(var tt=0;tt<ve;tt++){var Dt=U[tt],ft=Dt.source(),ln=Dt.target(),Rt=R(Dt),Ht=Ae(ft),wn=Ae(ln);ut(ft,ln,Dt,Ht,wn,Rt),D||ut(ln,ft,Dt,wn,Ht,Rt)}if(!ze)break}if(ze)for(var Sn=[],Kn=0;Kn<ve;Kn++){var xn=U[Kn],Un=xn.source(),ar=xn.target(),xr=R(xn),fr=Ae(Un).dist,rr=Ae(ar).dist;if(fr+xr<rr||!D&&rr+xr<fr)if(oe||(Jo("Graph contains a negative weight cycle for Bellman-Ford"),oe=!0),g.findNegativeWeightCycles!==!1){var gn=[];fr+xr<rr&&gn.push(Un),!D&&rr+xr<fr&&gn.push(ar);for(var mr=gn.length,pr=0;pr<mr;pr++){var ri=gn[pr],Ti=[ri];Ti.push(Ae(ri).edge);for(var ia=Ae(ri).pred;Ti.indexOf(ia)===-1;)Ti.push(ia),Ti.push(Ae(ia).edge),ia=Ae(ia).pred;Ti=Ti.slice(Ti.indexOf(ia));for(var Ra=Ti[0].id(),Li=0,vi=2;vi<Ti.length;vi+=2)Ti[vi].id()<Ra&&(Ra=Ti[vi].id(),Li=vi);Ti=Ti.slice(Li).concat(Ti.slice(0,Li)),Ti.push(Ti[0]);var Ts=Ti.map(function(Wi){return Wi.id()}).join(",");Sn.indexOf(Ts)===-1&&(Ce.push($.spawn(Ti)),Sn.push(Ts))}}else break}return{distanceTo:Be,pathTo:Xe,hasNegativeWeightCycle:oe,negativeWeightCycles:Ce}}},HW=Math.sqrt(2),zW=function(g,y,E){E.length===0&&Fu("Karger-Stein must be run on a connected (sub)graph");for(var S=E[g],D=S[1],I=S[2],R=y[D],$=y[I],C=E,G=C.length-1;G>=0;G--){var U=C[G],J=U[1],te=U[2];(y[J]===R&&y[te]===$||y[J]===$&&y[te]===R)&&C.splice(G,1)}for(var se=0;se<C.length;se++){var oe=C[se];oe[1]===$?(C[se]=oe.slice(),C[se][1]=R):oe[2]===$&&(C[se]=oe.slice(),C[se][2]=R)}for(var Ce=0;Ce<y.length;Ce++)y[Ce]===$&&(y[Ce]=R);return C},eL=function(g,y,E,S){for(;E>S;){var D=Math.floor(Math.random()*y.length);y=zW(D,g,y),E--}return y},GW={kargerStein:function(){var g=this,y=this.byGroup(),E=y.nodes,S=y.edges;S.unmergeBy(function(wn){return wn.isLoop()});var D=E.length,I=S.length,R=Math.ceil(Math.pow(Math.log(D)/Math.LN2,2)),$=Math.floor(D/HW);if(D<2){Fu("At least 2 nodes are required for Karger-Stein algorithm");return}for(var C=[],G=0;G<I;G++){var U=S[G];C.push([G,E.indexOf(U.source()),E.indexOf(U.target())])}for(var J=1/0,te=[],se=new Array(D),oe=new Array(D),Ce=new Array(D),ve=function(Sn,Kn){for(var xn=0;xn<D;xn++)Kn[xn]=Sn[xn]},Ae=0;Ae<=R;Ae++){for(var Le=0;Le<D;Le++)oe[Le]=Le;var Be=eL(oe,C.slice(),D,$),Xe=Be.slice();ve(oe,Ce);var Ue=eL(oe,Be,$,2),Fe=eL(Ce,Xe,$,2);Ue.length<=Fe.length&&Ue.length<J?(J=Ue.length,te=Ue,ve(oe,se)):Fe.length<=Ue.length&&Fe.length<J&&(J=Fe.length,te=Fe,ve(Ce,se))}for(var et=this.spawn(te.map(function(wn){return S[wn[0]]})),ze=this.spawn(),ut=this.spawn(),ht=se[0],tt=0;tt<se.length;tt++){var Dt=se[tt],ft=E[tt];Dt===ht?ze.merge(ft):ut.merge(ft)}var ln=function(Sn){var Kn=g.spawn();return Sn.forEach(function(xn){Kn.merge(xn),xn.connectedEdges().forEach(function(Un){g.contains(Un)&&!et.contains(Un)&&Kn.merge(Un)})}),Kn},Rt=[ln(ze),ln(ut)],Ht={cut:et,components:Rt,partition1:ze,partition2:ut};return Ht}},qW=function(g){return{x:g.x,y:g.y}},b9=function(g,y,E){return{x:g.x*y+E.x,y:g.y*y+E.y}},CP=function(g,y,E){return{x:(g.x-E.x)/y,y:(g.y-E.y)/y}},P5=function(g){return{x:g[0],y:g[1]}},VW=function(g){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=1/0,D=y;D<E;D++){var I=g[D];isFinite(I)&&(S=Math.min(I,S))}return S},UW=function(g){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=-1/0,D=y;D<E;D++){var I=g[D];isFinite(I)&&(S=Math.max(I,S))}return S},KW=function(g){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=0,D=0,I=y;I<E;I++){var R=g[I];isFinite(R)&&(S+=R,D++)}return S/D},WW=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;S?g=g.slice(y,E):(E<g.length&&g.splice(E,g.length-E),y>0&&g.splice(0,y));for(var R=0,$=g.length-1;$>=0;$--){var C=g[$];I?isFinite(C)||(g[$]=-1/0,R++):g.splice($,1)}D&&g.sort(function(J,te){return J-te});var G=g.length,U=Math.floor(G/2);return G%2!==0?g[U+1+R]:(g[U-1+R]+g[U+R])/2},YW=function(g){return Math.PI*g/180},v9=function(g,y){return Math.atan2(y,g)-Math.PI/2},tL=Math.log2||function(m){return Math.log(m)/Math.log(2)},SP=function(g){return g>0?1:g<0?-1:0},p3=function(g,y){return Math.sqrt(b3(g,y))},b3=function(g,y){var E=y.x-g.x,S=y.y-g.y;return E*E+S*S},XW=function(g){for(var y=g.length,E=0,S=0;S<y;S++)E+=g[S];for(var D=0;D<y;D++)g[D]=g[D]/E;return g},hf=function(g,y,E,S){return(1-S)*(1-S)*g+2*(1-S)*S*y+S*S*E},B5=function(g,y,E,S){return{x:hf(g.x,y.x,E.x,S),y:hf(g.y,y.y,E.y,S)}},QW=function(g,y,E,S){var D={x:y.x-g.x,y:y.y-g.y},I=p3(g,y),R={x:D.x/I,y:D.y/I};return E=E??0,S=S??E*I,{x:g.x+R.x*S,y:g.y+R.y*S}},c8=function(g,y,E){return Math.max(g,Math.min(E,y))},jd=function(g){if(g==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(g.x1!=null&&g.y1!=null){if(g.x2!=null&&g.y2!=null&&g.x2>=g.x1&&g.y2>=g.y1)return{x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,w:g.x2-g.x1,h:g.y2-g.y1};if(g.w!=null&&g.h!=null&&g.w>=0&&g.h>=0)return{x1:g.x1,y1:g.y1,x2:g.x1+g.w,y2:g.y1+g.h,w:g.w,h:g.h}}},ZW=function(g){return{x1:g.x1,x2:g.x2,w:g.w,y1:g.y1,y2:g.y2,h:g.h}},JW=function(g){g.x1=1/0,g.y1=1/0,g.x2=-1/0,g.y2=-1/0,g.w=0,g.h=0},eY=function(g,y){g.x1=Math.min(g.x1,y.x1),g.x2=Math.max(g.x2,y.x2),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,y.y1),g.y2=Math.max(g.y2,y.y2),g.h=g.y2-g.y1},tY=function(g,y,E){g.x1=Math.min(g.x1,y),g.x2=Math.max(g.x2,y),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,E),g.y2=Math.max(g.y2,E),g.h=g.y2-g.y1},w9=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return g.x1-=y,g.x2+=y,g.y1-=y,g.y2+=y,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},nL=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],E,S,D,I;if(y.length===1)E=S=D=I=y[0];else if(y.length===2)E=D=y[0],I=S=y[1];else if(y.length===4){var R=_(y,4);E=R[0],S=R[1],D=R[2],I=R[3]}return g.x1-=I,g.x2+=S,g.y1-=E,g.y2+=D,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},AP=function(g,y){g.x1=y.x1,g.y1=y.y1,g.x2=y.x2,g.y2=y.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1},rL=function(g,y){return!(g.x1>y.x2||y.x1>g.x2||g.x2<y.x1||y.x2<g.x1||g.y2<y.y1||y.y2<g.y1||g.y1>y.y2||y.y1>g.y2)},F5=function(g,y,E){return g.x1<=y&&y<=g.x2&&g.y1<=E&&E<=g.y2},nY=function(g,y){return F5(g,y.x,y.y)},LP=function(g,y){return F5(g,y.x1,y.y1)&&F5(g,y.x2,y.y2)},MP=function(g,y,E,S,D,I,R){var $=h8(D,I),C=D/2,G=I/2,U;{var J=E-C+$-R,te=S-G-R,se=E+C-$+R,oe=te;if(U=cm(g,y,E,S,J,te,se,oe,!1),U.length>0)return U}{var Ce=E+C+R,ve=S-G+$-R,Ae=Ce,Le=S+G-$+R;if(U=cm(g,y,E,S,Ce,ve,Ae,Le,!1),U.length>0)return U}{var Be=E-C+$-R,Xe=S+G+R,Ue=E+C-$+R,Fe=Xe;if(U=cm(g,y,E,S,Be,Xe,Ue,Fe,!1),U.length>0)return U}{var et=E-C-R,ze=S-G+$-R,ut=et,ht=S+G-$+R;if(U=cm(g,y,E,S,et,ze,ut,ht,!1),U.length>0)return U}var tt;{var Dt=E-C+$,ft=S-G+$;if(tt=u8(g,y,E,S,Dt,ft,$+R),tt.length>0&&tt[0]<=Dt&&tt[1]<=ft)return[tt[0],tt[1]]}{var ln=E+C-$,Rt=S-G+$;if(tt=u8(g,y,E,S,ln,Rt,$+R),tt.length>0&&tt[0]>=ln&&tt[1]<=Rt)return[tt[0],tt[1]]}{var Ht=E+C-$,wn=S+G-$;if(tt=u8(g,y,E,S,Ht,wn,$+R),tt.length>0&&tt[0]>=Ht&&tt[1]>=wn)return[tt[0],tt[1]]}{var Sn=E-C+$,Kn=S+G-$;if(tt=u8(g,y,E,S,Sn,Kn,$+R),tt.length>0&&tt[0]<=Sn&&tt[1]>=Kn)return[tt[0],tt[1]]}return[]},rY=function(g,y,E,S,D,I,R){var $=R,C=Math.min(E,D),G=Math.max(E,D),U=Math.min(S,I),J=Math.max(S,I);return C-$<=g&&g<=G+$&&U-$<=y&&y<=J+$},iY=function(g,y,E,S,D,I,R,$,C){var G={x1:Math.min(E,R,D)-C,x2:Math.max(E,R,D)+C,y1:Math.min(S,$,I)-C,y2:Math.max(S,$,I)+C};return!(g<G.x1||g>G.x2||y<G.y1||y>G.y2)},sY=function(g,y,E,S){E-=S;var D=y*y-4*g*E;if(D<0)return[];var I=Math.sqrt(D),R=2*g,$=(-y+I)/R,C=(-y-I)/R;return[$,C]},aY=function(g,y,E,S,D){var I=1e-5;g===0&&(g=I),y/=g,E/=g,S/=g;var R,$,C,G,U,J,te,se;if($=(3*E-y*y)/9,C=-(27*S)+y*(9*E-2*(y*y)),C/=54,R=$*$*$+C*C,D[1]=0,te=y/3,R>0){U=C+Math.sqrt(R),U=U<0?-Math.pow(-U,1/3):Math.pow(U,1/3),J=C-Math.sqrt(R),J=J<0?-Math.pow(-J,1/3):Math.pow(J,1/3),D[0]=-te+U+J,te+=(U+J)/2,D[4]=D[2]=-te,te=Math.sqrt(3)*(-J+U)/2,D[3]=te,D[5]=-te;return}if(D[5]=D[3]=0,R===0){se=C<0?-Math.pow(-C,1/3):Math.pow(C,1/3),D[0]=-te+2*se,D[4]=D[2]=-(se+te);return}$=-$,G=$*$*$,G=Math.acos(C/Math.sqrt(G)),se=2*Math.sqrt($),D[0]=-te+se*Math.cos(G/3),D[2]=-te+se*Math.cos((G+2*Math.PI)/3),D[4]=-te+se*Math.cos((G+4*Math.PI)/3)},oY=function(g,y,E,S,D,I,R,$){var C=1*E*E-4*E*D+2*E*R+4*D*D-4*D*R+R*R+S*S-4*S*I+2*S*$+4*I*I-4*I*$+$*$,G=1*9*E*D-3*E*E-3*E*R-6*D*D+3*D*R+9*S*I-3*S*S-3*S*$-6*I*I+3*I*$,U=1*3*E*E-6*E*D+E*R-E*g+2*D*D+2*D*g-R*g+3*S*S-6*S*I+S*$-S*y+2*I*I+2*I*y-$*y,J=1*E*D-E*E+E*g-D*g+S*I-S*S+S*y-I*y,te=[];aY(C,G,U,J,te);for(var se=1e-7,oe=[],Ce=0;Ce<6;Ce+=2)Math.abs(te[Ce+1])<se&&te[Ce]>=0&&te[Ce]<=1&&oe.push(te[Ce]);oe.push(1),oe.push(0);for(var ve=-1,Ae,Le,Be,Xe=0;Xe<oe.length;Xe++)Ae=Math.pow(1-oe[Xe],2)*E+2*(1-oe[Xe])*oe[Xe]*D+oe[Xe]*oe[Xe]*R,Le=Math.pow(1-oe[Xe],2)*S+2*(1-oe[Xe])*oe[Xe]*I+oe[Xe]*oe[Xe]*$,Be=Math.pow(Ae-g,2)+Math.pow(Le-y,2),ve>=0?Be<ve&&(ve=Be):ve=Be;return ve},cY=function(g,y,E,S,D,I){var R=[g-E,y-S],$=[D-E,I-S],C=$[0]*$[0]+$[1]*$[1],G=R[0]*R[0]+R[1]*R[1],U=R[0]*$[0]+R[1]*$[1],J=U*U/C;return U<0?G:J>C?(g-D)*(g-D)+(y-I)*(y-I):G-J},$d=function(g,y,E){for(var S,D,I,R,$,C=0,G=0;G<E.length/2;G++)if(S=E[G*2],D=E[G*2+1],G+1<E.length/2?(I=E[(G+1)*2],R=E[(G+1)*2+1]):(I=E[(G+1-E.length/2)*2],R=E[(G+1-E.length/2)*2+1]),!(S==g&&I==g))if(S>=g&&g>=I||S<=g&&g<=I)$=(g-S)/(I-S)*(R-D)+D,$>y&&C++;else continue;return C%2!==0},ev=function(g,y,E,S,D,I,R,$,C){var G=new Array(E.length),U;$[0]!=null?(U=Math.atan($[1]/$[0]),$[0]<0?U=U+Math.PI/2:U=-U-Math.PI/2):U=$;for(var J=Math.cos(-U),te=Math.sin(-U),se=0;se<G.length/2;se++)G[se*2]=I/2*(E[se*2]*J-E[se*2+1]*te),G[se*2+1]=R/2*(E[se*2+1]*J+E[se*2]*te),G[se*2]+=S,G[se*2+1]+=D;var oe;if(C>0){var Ce=IP(G,-C);oe=DP(Ce)}else oe=G;return $d(g,y,oe)},uY=function(g,y,E,S,D,I,R){for(var $=new Array(E.length),C=I/2,G=R/2,U=aL(I,R),J=U*U,te=0;te<E.length/4;te++){var se=void 0,oe=void 0;te===0?se=E.length-2:se=te*4-2,oe=te*4+2;var Ce=S+C*E[te*4],ve=D+G*E[te*4+1],Ae=-E[se]*E[oe]-E[se+1]*E[oe+1],Le=U/Math.tan(Math.acos(Ae)/2),Be=Ce-Le*E[se],Xe=ve-Le*E[se+1],Ue=Ce+Le*E[oe],Fe=ve+Le*E[oe+1];$[te*4]=Be,$[te*4+1]=Xe,$[te*4+2]=Ue,$[te*4+3]=Fe;var et=E[se+1],ze=-E[se],ut=et*E[oe]+ze*E[oe+1];ut<0&&(et*=-1,ze*=-1);var ht=Be+et*U,tt=Xe+ze*U,Dt=Math.pow(ht-g,2)+Math.pow(tt-y,2);if(Dt<=J)return!0}return $d(g,y,$)},DP=function(g){for(var y=new Array(g.length/2),E,S,D,I,R,$,C,G,U=0;U<g.length/4;U++){E=g[U*4],S=g[U*4+1],D=g[U*4+2],I=g[U*4+3],U<g.length/4-1?(R=g[(U+1)*4],$=g[(U+1)*4+1],C=g[(U+1)*4+2],G=g[(U+1)*4+3]):(R=g[0],$=g[1],C=g[2],G=g[3]);var J=cm(E,S,D,I,R,$,C,G,!0);y[U*2]=J[0],y[U*2+1]=J[1]}return y},IP=function(g,y){for(var E=new Array(g.length*2),S,D,I,R,$=0;$<g.length/2;$++){S=g[$*2],D=g[$*2+1],$<g.length/2-1?(I=g[($+1)*2],R=g[($+1)*2+1]):(I=g[0],R=g[1]);var C=R-D,G=-(I-S),U=Math.sqrt(C*C+G*G),J=C/U,te=G/U;E[$*4]=S+J*y,E[$*4+1]=D+te*y,E[$*4+2]=I+J*y,E[$*4+3]=R+te*y}return E},lY=function(g,y,E,S,D,I){var R=E-g,$=S-y;R/=D,$/=I;var C=Math.sqrt(R*R+$*$),G=C-1;if(G<0)return[];var U=G/C;return[(E-g)*U+g,(S-y)*U+y]},v3=function(g,y,E,S,D,I,R){return g-=D,y-=I,g/=E/2+R,y/=S/2+R,g*g+y*y<=1},u8=function(g,y,E,S,D,I,R){var $=[E-g,S-y],C=[g-D,y-I],G=$[0]*$[0]+$[1]*$[1],U=2*(C[0]*$[0]+C[1]*$[1]),J=C[0]*C[0]+C[1]*C[1]-R*R,te=U*U-4*G*J;if(te<0)return[];var se=(-U+Math.sqrt(te))/(2*G),oe=(-U-Math.sqrt(te))/(2*G),Ce=Math.min(se,oe),ve=Math.max(se,oe),Ae=[];if(Ce>=0&&Ce<=1&&Ae.push(Ce),ve>=0&&ve<=1&&Ae.push(ve),Ae.length===0)return[];var Le=Ae[0]*$[0]+g,Be=Ae[0]*$[1]+y;if(Ae.length>1){if(Ae[0]==Ae[1])return[Le,Be];var Xe=Ae[1]*$[0]+g,Ue=Ae[1]*$[1]+y;return[Le,Be,Xe,Ue]}else return[Le,Be]},iL=function(g,y,E){return y<=g&&g<=E||E<=g&&g<=y?g:g<=y&&y<=E||E<=y&&y<=g?y:E},cm=function(g,y,E,S,D,I,R,$,C){var G=g-D,U=E-g,J=R-D,te=y-I,se=S-y,oe=$-I,Ce=J*te-oe*G,ve=U*te-se*G,Ae=oe*U-J*se;if(Ae!==0){var Le=Ce/Ae,Be=ve/Ae,Xe=.001,Ue=0-Xe,Fe=1+Xe;return Ue<=Le&&Le<=Fe&&Ue<=Be&&Be<=Fe?[g+Le*U,y+Le*se]:C?[g+Le*U,y+Le*se]:[]}else return Ce===0||ve===0?iL(g,E,R)===R?[R,$]:iL(g,E,D)===D?[D,I]:iL(D,R,E)===E?[E,S]:[]:[]},l8=function(g,y,E,S,D,I,R,$){var C=[],G,U=new Array(E.length),J=!0;I==null&&(J=!1);var te;if(J){for(var se=0;se<U.length/2;se++)U[se*2]=E[se*2]*I+S,U[se*2+1]=E[se*2+1]*R+D;if($>0){var oe=IP(U,-$);te=DP(oe)}else te=U}else te=E;for(var Ce,ve,Ae,Le,Be=0;Be<te.length/2;Be++)Ce=te[Be*2],ve=te[Be*2+1],Be<te.length/2-1?(Ae=te[(Be+1)*2],Le=te[(Be+1)*2+1]):(Ae=te[0],Le=te[1]),G=cm(g,y,S,D,Ce,ve,Ae,Le),G.length!==0&&C.push(G[0],G[1]);return C},hY=function(g,y,E,S,D,I,R,$){for(var C=[],G,U=new Array(E.length),J=I/2,te=R/2,se=aL(I,R),oe=0;oe<E.length/4;oe++){var Ce=void 0,ve=void 0;oe===0?Ce=E.length-2:Ce=oe*4-2,ve=oe*4+2;var Ae=S+J*E[oe*4],Le=D+te*E[oe*4+1],Be=-E[Ce]*E[ve]-E[Ce+1]*E[ve+1],Xe=se/Math.tan(Math.acos(Be)/2),Ue=Ae-Xe*E[Ce],Fe=Le-Xe*E[Ce+1],et=Ae+Xe*E[ve],ze=Le+Xe*E[ve+1];oe===0?(U[E.length-2]=Ue,U[E.length-1]=Fe):(U[oe*4-2]=Ue,U[oe*4-1]=Fe),U[oe*4]=et,U[oe*4+1]=ze;var ut=E[Ce+1],ht=-E[Ce],tt=ut*E[ve]+ht*E[ve+1];tt<0&&(ut*=-1,ht*=-1);var Dt=Ue+ut*se,ft=Fe+ht*se;G=u8(g,y,S,D,Dt,ft,se),G.length!==0&&C.push(G[0],G[1])}for(var ln=0;ln<U.length/4;ln++)G=cm(g,y,S,D,U[ln*4],U[ln*4+1],U[ln*4+2],U[ln*4+3],!1),G.length!==0&&C.push(G[0],G[1]);if(C.length>2){for(var Rt=[C[0],C[1]],Ht=Math.pow(Rt[0]-g,2)+Math.pow(Rt[1]-y,2),wn=1;wn<C.length/2;wn++){var Sn=Math.pow(C[wn*2]-g,2)+Math.pow(C[wn*2+1]-y,2);Sn<=Ht&&(Rt[0]=C[wn*2],Rt[1]=C[wn*2+1],Ht=Sn)}return Rt}return C},m9=function(g,y,E){var S=[g[0]-y[0],g[1]-y[1]],D=Math.sqrt(S[0]*S[0]+S[1]*S[1]),I=(D-E)/D;return I<0&&(I=1e-5),[y[0]+I*S[0],y[1]+I*S[1]]},sd=function(g,y){var E=sL(g,y);return E=OP(E),E},OP=function(g){for(var y,E,S=g.length/2,D=1/0,I=1/0,R=-1/0,$=-1/0,C=0;C<S;C++)y=g[2*C],E=g[2*C+1],D=Math.min(D,y),R=Math.max(R,y),I=Math.min(I,E),$=Math.max($,E);for(var G=2/(R-D),U=2/($-I),J=0;J<S;J++)y=g[2*J]=g[2*J]*G,E=g[2*J+1]=g[2*J+1]*U,D=Math.min(D,y),R=Math.max(R,y),I=Math.min(I,E),$=Math.max($,E);if(I<-1)for(var te=0;te<S;te++)E=g[2*te+1]=g[2*te+1]+(-1-I);return g},sL=function(g,y){var E=1/g*2*Math.PI,S=g%2===0?Math.PI/2+E/2:Math.PI/2;S+=y;for(var D=new Array(g*2),I,R=0;R<g;R++)I=R*E+S,D[2*R]=Math.cos(I),D[2*R+1]=Math.sin(-I);return D},h8=function(g,y){return Math.min(g/4,y/4,8)},aL=function(g,y){return Math.min(g/10,y/10,8)},NP=function(){return 8},fY=function(g,y,E){return[g-2*y+E,2*(y-g),g]},oL=function(g,y){return{heightOffset:Math.min(15,.05*y),widthOffset:Math.min(100,.25*g),ctrlPtOffsetPct:.05}},dY=zf({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(g){return 1}}),gY={pageRank:function(g){for(var y=dY(g),E=y.dampingFactor,S=y.precision,D=y.iterations,I=y.weight,R=this._private.cy,$=this.byGroup(),C=$.nodes,G=$.edges,U=C.length,J=U*U,te=G.length,se=new Array(J),oe=new Array(U),Ce=(1-E)/U,ve=0;ve<U;ve++){for(var Ae=0;Ae<U;Ae++){var Le=ve*U+Ae;se[Le]=0}oe[ve]=0}for(var Be=0;Be<te;Be++){var Xe=G[Be],Ue=Xe.data("source"),Fe=Xe.data("target");if(Ue!==Fe){var et=C.indexOfId(Ue),ze=C.indexOfId(Fe),ut=I(Xe),ht=ze*U+et;se[ht]+=ut,oe[et]+=ut}}for(var tt=1/U+Ce,Dt=0;Dt<U;Dt++)if(oe[Dt]===0)for(var ft=0;ft<U;ft++){var ln=ft*U+Dt;se[ln]=tt}else for(var Rt=0;Rt<U;Rt++){var Ht=Rt*U+Dt;se[Ht]=se[Ht]/oe[Dt]+Ce}for(var wn=new Array(U),Sn=new Array(U),Kn,xn=0;xn<U;xn++)wn[xn]=1;for(var Un=0;Un<D;Un++){for(var ar=0;ar<U;ar++)Sn[ar]=0;for(var xr=0;xr<U;xr++)for(var fr=0;fr<U;fr++){var rr=xr*U+fr;Sn[xr]+=se[rr]*wn[fr]}XW(Sn),Kn=wn,wn=Sn,Sn=Kn;for(var gn=0,mr=0;mr<U;mr++){var pr=Kn[mr]-wn[mr];gn+=pr*pr}if(gn<S)break}var ri={rank:function(ia){return ia=R.collection(ia)[0],wn[C.indexOf(ia)]}};return ri}},PP=zf({root:null,weight:function(g){return 1},directed:!1,alpha:0}),R5={degreeCentralityNormalized:function(g){g=PP(g);var y=this.cy(),E=this.nodes(),S=E.length;if(g.directed){for(var G={},U={},J=0,te=0,se=0;se<S;se++){var oe=E[se],Ce=oe.id();g.root=oe;var ve=this.degreeCentrality(g);J<ve.indegree&&(J=ve.indegree),te<ve.outdegree&&(te=ve.outdegree),G[Ce]=ve.indegree,U[Ce]=ve.outdegree}return{indegree:function(Le){return J==0?0:(xe(Le)&&(Le=y.filter(Le)),G[Le.id()]/J)},outdegree:function(Le){return te===0?0:(xe(Le)&&(Le=y.filter(Le)),U[Le.id()]/te)}}}else{for(var D={},I=0,R=0;R<S;R++){var $=E[R];g.root=$;var C=this.degreeCentrality(g);I<C.degree&&(I=C.degree),D[$.id()]=C.degree}return{degree:function(Le){return I===0?0:(xe(Le)&&(Le=y.filter(Le)),D[Le.id()]/I)}}}},degreeCentrality:function(g){g=PP(g);var y=this.cy(),E=this,S=g,D=S.root,I=S.weight,R=S.directed,$=S.alpha;if(D=y.collection(D)[0],R){for(var te=D.connectedEdges(),se=te.filter(function(Ue){return Ue.target().same(D)&&E.has(Ue)}),oe=te.filter(function(Ue){return Ue.source().same(D)&&E.has(Ue)}),Ce=se.length,ve=oe.length,Ae=0,Le=0,Be=0;Be<se.length;Be++)Ae+=I(se[Be]);for(var Xe=0;Xe<oe.length;Xe++)Le+=I(oe[Xe]);return{indegree:Math.pow(Ce,1-$)*Math.pow(Ae,$),outdegree:Math.pow(ve,1-$)*Math.pow(Le,$)}}else{for(var C=D.connectedEdges().intersection(E),G=C.length,U=0,J=0;J<C.length;J++)U+=I(C[J]);return{degree:Math.pow(G,1-$)*Math.pow(U,$)}}}};R5.dc=R5.degreeCentrality,R5.dcn=R5.degreeCentralityNormalised=R5.degreeCentralityNormalized;var BP=zf({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),j5={closenessCentralityNormalized:function(g){for(var y=BP(g),E=y.harmonic,S=y.weight,D=y.directed,I=this.cy(),R={},$=0,C=this.nodes(),G=this.floydWarshall({weight:S,directed:D}),U=0;U<C.length;U++){for(var J=0,te=C[U],se=0;se<C.length;se++)if(U!==se){var oe=G.distance(te,C[se]);E?J+=1/oe:J+=oe}E||(J=1/J),$<J&&($=J),R[te.id()]=J}return{closeness:function(ve){return $==0?0:(xe(ve)?ve=I.filter(ve)[0].id():ve=ve.id(),R[ve]/$)}}},closenessCentrality:function(g){var y=BP(g),E=y.root,S=y.weight,D=y.directed,I=y.harmonic;E=this.filter(E)[0];for(var R=this.dijkstra({root:E,weight:S,directed:D}),$=0,C=this.nodes(),G=0;G<C.length;G++){var U=C[G];if(!U.same(E)){var J=R.distanceTo(U);I?$+=1/J:$+=J}}return I?$:1/$}};j5.cc=j5.closenessCentrality,j5.ccn=j5.closenessCentralityNormalised=j5.closenessCentralityNormalized;var pY=zf({weight:null,directed:!1}),cL={betweennessCentrality:function(g){for(var y=pY(g),E=y.directed,S=y.weight,D=S!=null,I=this.cy(),R=this.nodes(),$={},C={},G=0,U={set:function(Le,Be){C[Le]=Be,Be>G&&(G=Be)},get:function(Le){return C[Le]}},J=0;J<R.length;J++){var te=R[J],se=te.id();E?$[se]=te.outgoers().nodes():$[se]=te.openNeighborhood().nodes(),U.set(se,0)}for(var oe=function(Le){for(var Be=R[Le].id(),Xe=[],Ue={},Fe={},et={},ze=new o8(function(fr,rr){return et[fr]-et[rr]}),ut=0;ut<R.length;ut++){var ht=R[ut].id();Ue[ht]=[],Fe[ht]=0,et[ht]=1/0}for(Fe[Be]=1,et[Be]=0,ze.push(Be);!ze.empty();){var tt=ze.pop();if(Xe.push(tt),D)for(var Dt=0;Dt<$[tt].length;Dt++){var ft=$[tt][Dt],ln=I.getElementById(tt),Rt=void 0;ln.edgesTo(ft).length>0?Rt=ln.edgesTo(ft)[0]:Rt=ft.edgesTo(ln)[0];var Ht=S(Rt);ft=ft.id(),et[ft]>et[tt]+Ht&&(et[ft]=et[tt]+Ht,ze.nodes.indexOf(ft)<0?ze.push(ft):ze.updateItem(ft),Fe[ft]=0,Ue[ft]=[]),et[ft]==et[tt]+Ht&&(Fe[ft]=Fe[ft]+Fe[tt],Ue[ft].push(tt))}else for(var wn=0;wn<$[tt].length;wn++){var Sn=$[tt][wn].id();et[Sn]==1/0&&(ze.push(Sn),et[Sn]=et[tt]+1),et[Sn]==et[tt]+1&&(Fe[Sn]=Fe[Sn]+Fe[tt],Ue[Sn].push(tt))}}for(var Kn={},xn=0;xn<R.length;xn++)Kn[R[xn].id()]=0;for(;Xe.length>0;){for(var Un=Xe.pop(),ar=0;ar<Ue[Un].length;ar++){var xr=Ue[Un][ar];Kn[xr]=Kn[xr]+Fe[xr]/Fe[Un]*(1+Kn[Un])}Un!=R[Le].id()&&U.set(Un,U.get(Un)+Kn[Un])}},Ce=0;Ce<R.length;Ce++)oe(Ce);var ve={betweenness:function(Le){var Be=I.collection(Le).id();return U.get(Be)},betweennessNormalized:function(Le){if(G==0)return 0;var Be=I.collection(Le).id();return U.get(Be)/G}};return ve.betweennessNormalised=ve.betweennessNormalized,ve}};cL.bc=cL.betweennessCentrality;var bY=zf({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(m){return 1}]}),vY=function(g){return bY(g)},wY=function(g,y){for(var E=0,S=0;S<y.length;S++)E+=y[S](g);return E},mY=function(g,y,E){for(var S=0;S<y;S++)g[S*y+S]=E},FP=function(g,y){for(var E,S=0;S<y;S++){E=0;for(var D=0;D<y;D++)E+=g[D*y+S];for(var I=0;I<y;I++)g[I*y+S]=g[I*y+S]/E}},yY=function(g,y,E){for(var S=new Array(E*E),D=0;D<E;D++){for(var I=0;I<E;I++)S[D*E+I]=0;for(var R=0;R<E;R++)for(var $=0;$<E;$++)S[D*E+$]+=g[D*E+R]*y[R*E+$]}return S},kY=function(g,y,E){for(var S=g.slice(0),D=1;D<E;D++)g=yY(g,S,y);return g},xY=function(g,y,E){for(var S=new Array(y*y),D=0;D<y*y;D++)S[D]=Math.pow(g[D],E);return FP(S,y),S},RP=function(g,y,E,S){for(var D=0;D<E;D++){var I=Math.round(g[D]*Math.pow(10,S))/Math.pow(10,S),R=Math.round(y[D]*Math.pow(10,S))/Math.pow(10,S);if(I!==R)return!1}return!0},EY=function(g,y,E,S){for(var D=[],I=0;I<y;I++){for(var R=[],$=0;$<y;$++)Math.round(g[I*y+$]*1e3)/1e3>0&&R.push(E[$]);R.length!==0&&D.push(S.collection(R))}return D},TY=function(g,y){for(var E=0;E<g.length;E++)if(!y[E]||g[E].id()!==y[E].id())return!1;return!0},_Y=function(g){for(var y=0;y<g.length;y++)for(var E=0;E<g.length;E++)y!=E&&TY(g[y],g[E])&&g.splice(E,1);return g},jP=function(g){for(var y=this.nodes(),E=this.edges(),S=this.cy(),D=vY(g),I={},R=0;R<y.length;R++)I[y[R].id()]=R;for(var $=y.length,C=$*$,G=new Array(C),U,J=0;J<C;J++)G[J]=0;for(var te=0;te<E.length;te++){var se=E[te],oe=I[se.source().id()],Ce=I[se.target().id()],ve=wY(se,D.attributes);G[oe*$+Ce]+=ve,G[Ce*$+oe]+=ve}mY(G,$,D.multFactor),FP(G,$);for(var Ae=!0,Le=0;Ae&&Le<D.maxIterations;)Ae=!1,U=kY(G,$,D.expandFactor),G=xY(U,$,D.inflateFactor),RP(G,U,C,4)||(Ae=!0),Le++;var Be=EY(G,$,y,S);return Be=_Y(Be),Be},CY={markovClustering:jP,mcl:jP},SY=function(g){return g},$P=function(g,y){return Math.abs(y-g)},HP=function(g,y,E){return g+$P(y,E)},zP=function(g,y,E){return g+Math.pow(E-y,2)},AY=function(g){return Math.sqrt(g)},LY=function(g,y,E){return Math.max(g,$P(y,E))},f8=function(g,y,E,S,D){for(var I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:SY,R=S,$,C,G=0;G<g;G++)$=y(G),C=E(G),R=D(R,$,C);return I(R)},$5={euclidean:function(g,y,E){return g>=2?f8(g,y,E,0,zP,AY):f8(g,y,E,0,HP)},squaredEuclidean:function(g,y,E){return f8(g,y,E,0,zP)},manhattan:function(g,y,E){return f8(g,y,E,0,HP)},max:function(g,y,E){return f8(g,y,E,-1/0,LY)}};$5["squared-euclidean"]=$5.squaredEuclidean,$5.squaredeuclidean=$5.squaredEuclidean;function y9(m,g,y,E,S,D){var I;return Ee(m)?I=m:I=$5[m]||$5.euclidean,g===0&&Ee(m)?I(S,D):I(g,y,E,S,D)}var MY=zf({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),uL=function(g){return MY(g)},k9=function(g,y,E,S,D){var I=D!=="kMedoids",R=I?function(U){return E[U]}:function(U){return S[U](E)},$=function(J){return S[J](y)},C=E,G=y;return y9(g,S.length,R,$,C,G)},lL=function(g,y,E){for(var S=E.length,D=new Array(S),I=new Array(S),R=new Array(y),$=null,C=0;C<S;C++)D[C]=g.min(E[C]).value,I[C]=g.max(E[C]).value;for(var G=0;G<y;G++){$=[];for(var U=0;U<S;U++)$[U]=Math.random()*(I[U]-D[U])+D[U];R[G]=$}return R},GP=function(g,y,E,S,D){for(var I=1/0,R=0,$=0;$<y.length;$++){var C=k9(E,g,y[$],S,D);C<I&&(I=C,R=$)}return R},qP=function(g,y,E){for(var S=[],D=null,I=0;I<y.length;I++)D=y[I],E[D.id()]===g&&S.push(D);return S},DY=function(g,y,E){return Math.abs(y-g)<=E},IY=function(g,y,E){for(var S=0;S<g.length;S++)for(var D=0;D<g[S].length;D++){var I=Math.abs(g[S][D]-y[S][D]);if(I>E)return!1}return!0},OY=function(g,y,E){for(var S=0;S<E;S++)if(g===y[S])return!0;return!1},VP=function(g,y){var E=new Array(y);if(g.length<50)for(var S=0;S<y;S++){for(var D=g[Math.floor(Math.random()*g.length)];OY(D,E,S);)D=g[Math.floor(Math.random()*g.length)];E[S]=D}else for(var I=0;I<y;I++)E[I]=g[Math.floor(Math.random()*g.length)];return E},UP=function(g,y,E){for(var S=0,D=0;D<y.length;D++)S+=k9("manhattan",y[D],g,E,"kMedoids");return S},NY=function(g){var y=this.cy(),E=this.nodes(),S=null,D=uL(g),I=new Array(D.k),R={},$;D.testMode?typeof D.testCentroids=="number"?(D.testCentroids,$=lL(E,D.k,D.attributes)):f(D.testCentroids)==="object"?$=D.testCentroids:$=lL(E,D.k,D.attributes):$=lL(E,D.k,D.attributes);for(var C=!0,G=0;C&&G<D.maxIterations;){for(var U=0;U<E.length;U++)S=E[U],R[S.id()]=GP(S,$,D.distance,D.attributes,"kMeans");C=!1;for(var J=0;J<D.k;J++){var te=qP(J,E,R);if(te.length!==0){for(var se=D.attributes.length,oe=$[J],Ce=new Array(se),ve=new Array(se),Ae=0;Ae<se;Ae++){ve[Ae]=0;for(var Le=0;Le<te.length;Le++)S=te[Le],ve[Ae]+=D.attributes[Ae](S);Ce[Ae]=ve[Ae]/te.length,DY(Ce[Ae],oe[Ae],D.sensitivityThreshold)||(C=!0)}$[J]=Ce,I[J]=y.collection(te)}}G++}return I},PY=function(g){var y=this.cy(),E=this.nodes(),S=null,D=uL(g),I=new Array(D.k),R,$={},C,G=new Array(D.k);D.testMode?typeof D.testCentroids=="number"||(f(D.testCentroids)==="object"?R=D.testCentroids:R=VP(E,D.k)):R=VP(E,D.k);for(var U=!0,J=0;U&&J<D.maxIterations;){for(var te=0;te<E.length;te++)S=E[te],$[S.id()]=GP(S,R,D.distance,D.attributes,"kMedoids");U=!1;for(var se=0;se<R.length;se++){var oe=qP(se,E,$);if(oe.length!==0){G[se]=UP(R[se],oe,D.attributes);for(var Ce=0;Ce<oe.length;Ce++)C=UP(oe[Ce],oe,D.attributes),C<G[se]&&(G[se]=C,R[se]=oe[Ce],U=!0);I[se]=y.collection(oe)}}J++}return I},BY=function(g,y,E,S,D){for(var I,R,$=0;$<y.length;$++)for(var C=0;C<g.length;C++)S[$][C]=Math.pow(E[$][C],D.m);for(var G=0;G<g.length;G++)for(var U=0;U<D.attributes.length;U++){I=0,R=0;for(var J=0;J<y.length;J++)I+=S[J][G]*D.attributes[U](y[J]),R+=S[J][G];g[G][U]=I/R}},FY=function(g,y,E,S,D){for(var I=0;I<g.length;I++)y[I]=g[I].slice();for(var R,$,C,G=2/(D.m-1),U=0;U<E.length;U++)for(var J=0;J<S.length;J++){R=0;for(var te=0;te<E.length;te++)$=k9(D.distance,S[J],E[U],D.attributes,"cmeans"),C=k9(D.distance,S[J],E[te],D.attributes,"cmeans"),R+=Math.pow($/C,G);g[J][U]=1/R}},RY=function(g,y,E,S){for(var D=new Array(E.k),I=0;I<D.length;I++)D[I]=[];for(var R,$,C=0;C<y.length;C++){R=-1/0,$=-1;for(var G=0;G<y[0].length;G++)y[C][G]>R&&(R=y[C][G],$=G);D[$].push(g[C])}for(var U=0;U<D.length;U++)D[U]=S.collection(D[U]);return D},KP=function(g){var y=this.cy(),E=this.nodes(),S=uL(g),D,I,R,$,C;$=new Array(E.length);for(var G=0;G<E.length;G++)$[G]=new Array(S.k);R=new Array(E.length);for(var U=0;U<E.length;U++)R[U]=new Array(S.k);for(var J=0;J<E.length;J++){for(var te=0,se=0;se<S.k;se++)R[J][se]=Math.random(),te+=R[J][se];for(var oe=0;oe<S.k;oe++)R[J][oe]=R[J][oe]/te}I=new Array(S.k);for(var Ce=0;Ce<S.k;Ce++)I[Ce]=new Array(S.attributes.length);C=new Array(E.length);for(var ve=0;ve<E.length;ve++)C[ve]=new Array(S.k);for(var Ae=!0,Le=0;Ae&&Le<S.maxIterations;)Ae=!1,BY(I,E,R,C,S),FY(R,$,I,E,S),IY(R,$,S.sensitivityThreshold)||(Ae=!0),Le++;return D=RY(E,R,S,y),{clusters:D,degreeOfMembership:R}},jY={kMeans:NY,kMedoids:PY,fuzzyCMeans:KP,fcm:KP},$Y=zf({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),HY={single:"min",complete:"max"},zY=function(g){var y=$Y(g),E=HY[y.linkage];return E!=null&&(y.linkage=E),y},WP=function(g,y,E,S,D){for(var I=0,R=1/0,$,C=D.attributes,G=function(ze,ut){return y9(D.distance,C.length,function(ht){return C[ht](ze)},function(ht){return C[ht](ut)},ze,ut)},U=0;U<g.length;U++){var J=g[U].key,te=E[J][S[J]];te<R&&(I=J,R=te)}if(D.mode==="threshold"&&R>=D.threshold||D.mode==="dendrogram"&&g.length===1)return!1;var se=y[I],oe=y[S[I]],Ce;D.mode==="dendrogram"?Ce={left:se,right:oe,key:se.key}:Ce={value:se.value.concat(oe.value),key:se.key},g[se.index]=Ce,g.splice(oe.index,1),y[se.key]=Ce;for(var ve=0;ve<g.length;ve++){var Ae=g[ve];se.key===Ae.key?$=1/0:D.linkage==="min"?($=E[se.key][Ae.key],E[se.key][Ae.key]>E[oe.key][Ae.key]&&($=E[oe.key][Ae.key])):D.linkage==="max"?($=E[se.key][Ae.key],E[se.key][Ae.key]<E[oe.key][Ae.key]&&($=E[oe.key][Ae.key])):D.linkage==="mean"?$=(E[se.key][Ae.key]*se.size+E[oe.key][Ae.key]*oe.size)/(se.size+oe.size):D.mode==="dendrogram"?$=G(Ae.value,se.value):$=G(Ae.value[0],se.value[0]),E[se.key][Ae.key]=E[Ae.key][se.key]=$}for(var Le=0;Le<g.length;Le++){var Be=g[Le].key;if(S[Be]===se.key||S[Be]===oe.key){for(var Xe=Be,Ue=0;Ue<g.length;Ue++){var Fe=g[Ue].key;E[Be][Fe]<E[Be][Xe]&&(Xe=Fe)}S[Be]=Xe}g[Le].index=Le}return se.key=oe.key=se.index=oe.index=null,!0},x9=function m(g,y,E){g&&(g.value?y.push(g.value):(g.left&&m(g.left,y),g.right&&m(g.right,y)))},GY=function m(g,y){if(!g)return"";if(g.left&&g.right){var E=m(g.left,y),S=m(g.right,y),D=y.add({group:"nodes",data:{id:E+","+S}});return y.add({group:"edges",data:{source:E,target:D.id()}}),y.add({group:"edges",data:{source:S,target:D.id()}}),D.id()}else if(g.value)return g.value.id()},qY=function m(g,y,E){if(!g)return[];var S=[],D=[],I=[];return y===0?(g.left&&x9(g.left,S),g.right&&x9(g.right,D),I=S.concat(D),[E.collection(I)]):y===1?g.value?[E.collection(g.value)]:(g.left&&x9(g.left,S),g.right&&x9(g.right,D),[E.collection(S),E.collection(D)]):g.value?[E.collection(g.value)]:(g.left&&(S=m(g.left,y-1,E)),g.right&&(D=m(g.right,y-1,E)),S.concat(D))},YP=function(g){for(var y=this.cy(),E=this.nodes(),S=zY(g),D=S.attributes,I=function(Le,Be){return y9(S.distance,D.length,function(Xe){return D[Xe](Le)},function(Xe){return D[Xe](Be)},Le,Be)},R=[],$=[],C=[],G=[],U=0;U<E.length;U++){var J={value:S.mode==="dendrogram"?E[U]:[E[U]],key:U,index:U};R[U]=J,G[U]=J,$[U]=[],C[U]=0}for(var te=0;te<R.length;te++)for(var se=0;se<=te;se++){var oe=void 0;S.mode==="dendrogram"?oe=te===se?1/0:I(R[te].value,R[se].value):oe=te===se?1/0:I(R[te].value[0],R[se].value[0]),$[te][se]=oe,$[se][te]=oe,oe<$[te][C[te]]&&(C[te]=se)}for(var Ce=WP(R,G,$,C,S);Ce;)Ce=WP(R,G,$,C,S);var ve;return S.mode==="dendrogram"?(ve=qY(R[0],S.dendrogramDepth,y),S.addDendrogram&&GY(R[0],y)):(ve=new Array(R.length),R.forEach(function(Ae,Le){Ae.key=Ae.index=null,ve[Le]=y.collection(Ae.value)})),ve},VY={hierarchicalClustering:YP,hca:YP},UY=zf({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),KY=function(g){var y=g.damping,E=g.preference;.5<=y&&y<1||Fu("Damping must range on [0.5, 1). Got: ".concat(y));var S=["median","mean","min","max"];return S.some(function(D){return D===E})||re(E)||Fu("Preference must be one of [".concat(S.map(function(D){return"'".concat(D,"'")}).join(", "),"] or a number. Got: ").concat(E)),UY(g)},WY=function(g,y,E,S){var D=function(R,$){return S[$](R)};return-y9(g,S.length,function(I){return D(y,I)},function(I){return D(E,I)},y,E)},YY=function(g,y){var E=null;return y==="median"?E=WW(g):y==="mean"?E=KW(g):y==="min"?E=VW(g):y==="max"?E=UW(g):E=y,E},XY=function(g,y,E){for(var S=[],D=0;D<g;D++)y[D*g+D]+E[D*g+D]>0&&S.push(D);return S},XP=function(g,y,E){for(var S=[],D=0;D<g;D++){for(var I=-1,R=-1/0,$=0;$<E.length;$++){var C=E[$];y[D*g+C]>R&&(I=C,R=y[D*g+C])}I>0&&S.push(I)}for(var G=0;G<E.length;G++)S[E[G]]=E[G];return S},QY=function(g,y,E){for(var S=XP(g,y,E),D=0;D<E.length;D++){for(var I=[],R=0;R<S.length;R++)S[R]===E[D]&&I.push(R);for(var $=-1,C=-1/0,G=0;G<I.length;G++){for(var U=0,J=0;J<I.length;J++)U+=y[I[J]*g+I[G]];U>C&&($=G,C=U)}E[D]=I[$]}return S=XP(g,y,E),S},QP=function(g){for(var y=this.cy(),E=this.nodes(),S=KY(g),D={},I=0;I<E.length;I++)D[E[I].id()]=I;var R,$,C,G,U,J;R=E.length,$=R*R,C=new Array($);for(var te=0;te<$;te++)C[te]=-1/0;for(var se=0;se<R;se++)for(var oe=0;oe<R;oe++)se!==oe&&(C[se*R+oe]=WY(S.distance,E[se],E[oe],S.attributes));G=YY(C,S.preference);for(var Ce=0;Ce<R;Ce++)C[Ce*R+Ce]=G;U=new Array($);for(var ve=0;ve<$;ve++)U[ve]=0;J=new Array($);for(var Ae=0;Ae<$;Ae++)J[Ae]=0;for(var Le=new Array(R),Be=new Array(R),Xe=new Array(R),Ue=0;Ue<R;Ue++)Le[Ue]=0,Be[Ue]=0,Xe[Ue]=0;for(var Fe=new Array(R*S.minIterations),et=0;et<Fe.length;et++)Fe[et]=0;var ze;for(ze=0;ze<S.maxIterations;ze++){for(var ut=0;ut<R;ut++){for(var ht=-1/0,tt=-1/0,Dt=-1,ft=0,ln=0;ln<R;ln++)Le[ln]=U[ut*R+ln],ft=J[ut*R+ln]+C[ut*R+ln],ft>=ht?(tt=ht,ht=ft,Dt=ln):ft>tt&&(tt=ft);for(var Rt=0;Rt<R;Rt++)U[ut*R+Rt]=(1-S.damping)*(C[ut*R+Rt]-ht)+S.damping*Le[Rt];U[ut*R+Dt]=(1-S.damping)*(C[ut*R+Dt]-tt)+S.damping*Le[Dt]}for(var Ht=0;Ht<R;Ht++){for(var wn=0,Sn=0;Sn<R;Sn++)Le[Sn]=J[Sn*R+Ht],Be[Sn]=Math.max(0,U[Sn*R+Ht]),wn+=Be[Sn];wn-=Be[Ht],Be[Ht]=U[Ht*R+Ht],wn+=Be[Ht];for(var Kn=0;Kn<R;Kn++)J[Kn*R+Ht]=(1-S.damping)*Math.min(0,wn-Be[Kn])+S.damping*Le[Kn];J[Ht*R+Ht]=(1-S.damping)*(wn-Be[Ht])+S.damping*Le[Ht]}for(var xn=0,Un=0;Un<R;Un++){var ar=J[Un*R+Un]+U[Un*R+Un]>0?1:0;Fe[ze%S.minIterations*R+Un]=ar,xn+=ar}if(xn>0&&(ze>=S.minIterations-1||ze==S.maxIterations-1)){for(var xr=0,fr=0;fr<R;fr++){Xe[fr]=0;for(var rr=0;rr<S.minIterations;rr++)Xe[fr]+=Fe[rr*R+fr];(Xe[fr]===0||Xe[fr]===S.minIterations)&&xr++}if(xr===R)break}}for(var gn=XY(R,U,J),mr=QY(R,C,gn),pr={},ri=0;ri<gn.length;ri++)pr[gn[ri]]=[];for(var Ti=0;Ti<E.length;Ti++){var ia=D[E[Ti].id()],Ra=mr[ia];Ra!=null&&pr[Ra].push(E[Ti])}for(var Li=new Array(gn.length),vi=0;vi<gn.length;vi++)Li[vi]=y.collection(pr[gn[vi]]);return Li},ZY={affinityPropagation:QP,ap:QP},JY=zf({root:void 0,directed:!1}),eX={hierholzer:function(g){if(!fe(g)){var y=arguments;g={root:y[0],directed:y[1]}}var E=JY(g),S=E.root,D=E.directed,I=this,R=!1,$,C,G;S&&(G=xe(S)?this.filter(S)[0].id():S[0].id());var U={},J={};D?I.forEach(function(Ae){var Le=Ae.id();if(Ae.isNode()){var Be=Ae.indegree(!0),Xe=Ae.outdegree(!0),Ue=Be-Xe,Fe=Xe-Be;Ue==1?$?R=!0:$=Le:Fe==1?C?R=!0:C=Le:(Fe>1||Ue>1)&&(R=!0),U[Le]=[],Ae.outgoers().forEach(function(et){et.isEdge()&&U[Le].push(et.id())})}else J[Le]=[void 0,Ae.target().id()]}):I.forEach(function(Ae){var Le=Ae.id();if(Ae.isNode()){var Be=Ae.degree(!0);Be%2&&($?C?R=!0:C=Le:$=Le),U[Le]=[],Ae.connectedEdges().forEach(function(Xe){return U[Le].push(Xe.id())})}else J[Le]=[Ae.source().id(),Ae.target().id()]});var te={found:!1,trail:void 0};if(R)return te;if(C&&$)if(D){if(G&&C!=G)return te;G=C}else{if(G&&C!=G&&$!=G)return te;G||(G=C)}else G||(G=I[0].id());var se=function(Le){for(var Be=Le,Xe=[Le],Ue,Fe,et;U[Be].length;)Ue=U[Be].shift(),Fe=J[Ue][0],et=J[Ue][1],Be!=et?(U[et]=U[et].filter(function(ze){return ze!=Ue}),Be=et):!D&&Be!=Fe&&(U[Fe]=U[Fe].filter(function(ze){return ze!=Ue}),Be=Fe),Xe.unshift(Ue),Xe.unshift(Be);return Xe},oe=[],Ce=[];for(Ce=se(G);Ce.length!=1;)U[Ce[0]].length==0?(oe.unshift(I.getElementById(Ce.shift())),oe.unshift(I.getElementById(Ce.shift()))):Ce=se(Ce.shift()).concat(Ce);oe.unshift(I.getElementById(Ce.shift()));for(var ve in U)if(U[ve].length)return te;return te.found=!0,te.trail=this.spawn(oe,!0),te}},E9=function(){var g=this,y={},E=0,S=0,D=[],I=[],R={},$=function(J,te){for(var se=I.length-1,oe=[],Ce=g.spawn();I[se].x!=J||I[se].y!=te;)oe.push(I.pop().edge),se--;oe.push(I.pop().edge),oe.forEach(function(ve){var Ae=ve.connectedNodes().intersection(g);Ce.merge(ve),Ae.forEach(function(Le){var Be=Le.id(),Xe=Le.connectedEdges().intersection(g);Ce.merge(Le),y[Be].cutVertex?Ce.merge(Xe.filter(function(Ue){return Ue.isLoop()})):Ce.merge(Xe)})}),D.push(Ce)},C=function U(J,te,se){J===se&&(S+=1),y[te]={id:E,low:E++,cutVertex:!1};var oe=g.getElementById(te).connectedEdges().intersection(g);if(oe.size()===0)D.push(g.spawn(g.getElementById(te)));else{var Ce,ve,Ae,Le;oe.forEach(function(Be){Ce=Be.source().id(),ve=Be.target().id(),Ae=Ce===te?ve:Ce,Ae!==se&&(Le=Be.id(),R[Le]||(R[Le]=!0,I.push({x:te,y:Ae,edge:Be})),Ae in y?y[te].low=Math.min(y[te].low,y[Ae].id):(U(J,Ae,te),y[te].low=Math.min(y[te].low,y[Ae].low),y[te].id<=y[Ae].low&&(y[te].cutVertex=!0,$(te,Ae))))})}};g.forEach(function(U){if(U.isNode()){var J=U.id();J in y||(S=0,C(J,J),y[J].cutVertex=S>1)}});var G=Object.keys(y).filter(function(U){return y[U].cutVertex}).map(function(U){return g.getElementById(U)});return{cut:g.spawn(G),components:D}},tX={hopcroftTarjanBiconnected:E9,htbc:E9,htb:E9,hopcroftTarjanBiconnectedComponents:E9},T9=function(){var g=this,y={},E=0,S=[],D=[],I=g.spawn(g),R=function $(C){D.push(C),y[C]={index:E,low:E++,explored:!1};var G=g.getElementById(C).connectedEdges().intersection(g);if(G.forEach(function(oe){var Ce=oe.target().id();Ce!==C&&(Ce in y||$(Ce),y[Ce].explored||(y[C].low=Math.min(y[C].low,y[Ce].low)))}),y[C].index===y[C].low){for(var U=g.spawn();;){var J=D.pop();if(U.merge(g.getElementById(J)),y[J].low=y[C].index,y[J].explored=!0,J===C)break}var te=U.edgesWith(U),se=U.merge(te);S.push(se),I=I.difference(se)}};return g.forEach(function($){if($.isNode()){var C=$.id();C in y||R(C)}}),{cut:I,components:S}},nX={tarjanStronglyConnected:T9,tsc:T9,tscc:T9,tarjanStronglyConnectedComponents:T9},ZP={};[a8,OW,NW,BW,RW,$W,GW,gY,R5,j5,cL,CY,jY,VY,ZY,eX,tX,nX].forEach(function(m){Oe(ZP,m)});/*!
+ H0 V0 Z`)},ZUe=function(i,a){i.append("circle").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(a.type)).attr("r",a.width/2)};function JUe(i,a,f,p,v){return i.insert("polygon",":first-child").attr("points",p.map(function(m){return m.x+","+m.y}).join(" ")).attr("transform","translate("+(v.width-a)/2+", "+f+")")}const tWe=function(i,a){const f=a.height,v=f/4,m=a.width-a.padding+2*v,b=[{x:v,y:0},{x:m-v,y:0},{x:m,y:-f/2},{x:m-v,y:-f},{x:v,y:-f},{x:0,y:-f/2}];JUe(i,m,f,b,a)},eWe=function(i,a){i.append("rect").attr("id","node-"+a.id).attr("class","node-bkg node-"+SE(a.type)).attr("height",a.height).attr("rx",a.padding).attr("ry",a.padding).attr("width",a.width)},zjt={drawNode:function(i,a,f,p){const v=p.htmlLabels,m=f%($jt-1),b=i.append("g");a.section=m;let E="section-"+m;m<0&&(E+=" section-root"),b.attr("class",(a.class?a.class+" ":"")+"mindmap-node "+E);const C=b.append("g"),A=b.append("g"),N=a.descr.replace(/(<br\/*>)/g,`
+`);vK(A,N,{useHtmlLabels:v,width:a.width,classes:"mindmap-node-label"}),v||A.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const F=A.node().getBBox(),j=p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;if(a.height=F.height+j*1.1*.5+a.padding,a.width=F.width+2*a.padding,a.icon)if(a.type===nl.CIRCLE)a.height+=50,a.width+=50,b.append("foreignObject").attr("height","50px").attr("width",a.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+m+" "+a.icon),A.attr("transform","translate("+a.width/2+", "+(a.height/2-1.5*a.padding)+")");else{a.width+=50;const R=a.height;a.height=Math.max(R,60);const H=Math.abs(a.height-R);b.append("foreignObject").attr("width","60px").attr("height",a.height).attr("style","text-align: center;margin-top:"+H/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+m+" "+a.icon),A.attr("transform","translate("+(25+a.width/2)+", "+(H/2+a.padding/2)+")")}else if(v){const R=(a.width-F.width)/2,H=(a.height-F.height)/2;A.attr("transform","translate("+R+", "+H+")")}else{const R=a.width/2,H=a.padding/2;A.attr("transform","translate("+R+", "+H+")")}switch(a.type){case nl.DEFAULT:KUe(C,a,m);break;case nl.ROUNDED_RECT:eWe(C,a);break;case nl.RECT:YUe(C,a);break;case nl.CIRCLE:C.attr("transform","translate("+a.width/2+", "+ +a.height/2+")"),ZUe(C,a);break;case nl.CLOUD:XUe(C,a);break;case nl.BANG:QUe(C,a);break;case nl.HEXAGON:tWe(C,a);break}return Rjt(a.id,b),a.height},positionNode:function(i){const a=zgt(i.id),f=i.x||0,p=i.y||0;a.attr("transform","translate("+f+","+p+")")},drawEdge:function(a,f,p,v,m){const b=m%($jt-1),E=p.x+p.width/2,C=p.y+p.height/2,A=f.x+f.width/2,N=f.y+f.height/2,F=A>E?E+Math.abs(E-A)/2:E-Math.abs(E-A)/2,j=N>C?C+Math.abs(C-N)/2:C-Math.abs(C-N)/2,R=A>E?Math.abs(E-F)/2+E:-Math.abs(E-F)/2+E,H=N>C?Math.abs(C-j)/2+C:-Math.abs(C-j)/2+C;a.append("path").attr("d",p.direction==="TB"||p.direction==="BT"?`M${E},${C} Q${E},${H} ${F},${j} T${A},${N}`:`M${E},${C} Q${R},${C} ${F},${j} T${A},${N}`).attr("class","edge section-edge-"+b+" edge-depth-"+v)}};var qjt={exports:{}};(function(i,a){(function(f,p){i.exports=p()})(v0,function(){function f(y){return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},f(y)}function p(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function v(y,g){for(var x=0;x<g.length;x++){var T=g[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(y,T.key,T)}}function m(y,g,x){return g&&v(y.prototype,g),x&&v(y,x),Object.defineProperty(y,"prototype",{writable:!1}),y}function b(y,g,x){return g in y?Object.defineProperty(y,g,{value:x,enumerable:!0,configurable:!0,writable:!0}):y[g]=x,y}function E(y,g){return C(y)||A(y,g)||N(y,g)||j()}function C(y){if(Array.isArray(y))return y}function A(y,g){var x=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(x!=null){var T=[],L=!0,I=!1,O,$;try{for(x=x.call(y);!(L=(O=x.next()).done)&&(T.push(O.value),!(g&&T.length===g));L=!0);}catch(z){I=!0,$=z}finally{try{!L&&x.return!=null&&x.return()}finally{if(I)throw $}}return T}}function N(y,g){if(y){if(typeof y=="string")return F(y,g);var x=Object.prototype.toString.call(y).slice(8,-1);if(x==="Object"&&y.constructor&&(x=y.constructor.name),x==="Map"||x==="Set")return Array.from(y);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return F(y,g)}}function F(y,g){(g==null||g>y.length)&&(g=y.length);for(var x=0,T=new Array(g);x<g;x++)T[x]=y[x];return T}function j(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=typeof window>"u"?null:window,H=R?R.navigator:null;R&&R.document;var Y=f(""),rt=f({}),J=f(function(){}),it=typeof HTMLElement>"u"?"undefined":f(HTMLElement),ht=function(g){return g&&g.instanceString&&yt(g.instanceString)?g.instanceString():null},Tt=function(g){return g!=null&&f(g)==Y},yt=function(g){return g!=null&&f(g)===J},vt=function(g){return!pt(g)&&(Array.isArray?Array.isArray(g):g!=null&&g instanceof Array)},ut=function(g){return g!=null&&f(g)===rt&&!vt(g)&&g.constructor===Object},xt=function(g){return g!=null&&f(g)===rt},st=function(g){return g!=null&&f(g)===f(1)&&!isNaN(g)},Et=function(g){return st(g)&&Math.floor(g)===g},gt=function(g){if(it!=="undefined")return g!=null&&g instanceof HTMLElement},pt=function(g){return Ct(g)||nt(g)},Ct=function(g){return ht(g)==="collection"&&g._private.single},nt=function(g){return ht(g)==="collection"&&!g._private.single},Nt=function(g){return ht(g)==="core"},dt=function(g){return ht(g)==="stylesheet"},Ft=function(g){return ht(g)==="event"},X=function(g){return g==null?!0:!!(g===""||g.match(/^\s+$/))},Bt=function(g){return typeof HTMLElement>"u"?!1:g instanceof HTMLElement},Rt=function(g){return ut(g)&&st(g.x1)&&st(g.x2)&&st(g.y1)&&st(g.y2)},mt=function(g){return xt(g)&&yt(g.then)},Ot=function(){return H&&H.userAgent.match(/msie|trident|edge/i)},Gt=function(g,x){x||(x=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var I=[],O=0;O<arguments.length;O++)I.push(arguments[O]);return I.join("$")});var T=function L(){var I=this,O=arguments,$,z=x.apply(I,O),S=L.cache;return($=S[z])||($=S[z]=g.apply(I,O)),$};return T.cache={},T},Ve=Gt(function(y){return y.replace(/([A-Z])/g,function(g){return"-"+g.toLowerCase()})}),Cn=Gt(function(y){return y.replace(/(-\w)/g,function(g){return g[1].toUpperCase()})}),xe=Gt(function(y,g){return y+g[0].toUpperCase()+g.substring(1)},function(y,g){return y+"$"+g}),Kn=function(g){return X(g)?g:g.charAt(0).toUpperCase()+g.substring(1)},Se="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",ee="rgb[a]?\\(("+Se+"[%]?)\\s*,\\s*("+Se+"[%]?)\\s*,\\s*("+Se+"[%]?)(?:\\s*,\\s*("+Se+"))?\\)",_e="rgb[a]?\\((?:"+Se+"[%]?)\\s*,\\s*(?:"+Se+"[%]?)\\s*,\\s*(?:"+Se+"[%]?)(?:\\s*,\\s*(?:"+Se+"))?\\)",qe="hsl[a]?\\(("+Se+")\\s*,\\s*("+Se+"[%])\\s*,\\s*("+Se+"[%])(?:\\s*,\\s*("+Se+"))?\\)",ce="hsl[a]?\\((?:"+Se+")\\s*,\\s*(?:"+Se+"[%])\\s*,\\s*(?:"+Se+"[%])(?:\\s*,\\s*(?:"+Se+"))?\\)",Ce="\\#[0-9a-fA-F]{3}",he="\\#[0-9a-fA-F]{6}",Re=function(g,x){return g<x?-1:g>x?1:0},se=function(g,x){return-1*Re(g,x)},Pe=Object.assign!=null?Object.assign.bind(Object):function(y){for(var g=arguments,x=1;x<g.length;x++){var T=g[x];if(T!=null)for(var L=Object.keys(T),I=0;I<L.length;I++){var O=L[I];y[O]=T[O]}}return y},Qt=function(g){if(!(!(g.length===4||g.length===7)||g[0]!=="#")){var x=g.length===4,T,L,I,O=16;return x?(T=parseInt(g[1]+g[1],O),L=parseInt(g[2]+g[2],O),I=parseInt(g[3]+g[3],O)):(T=parseInt(g[1]+g[2],O),L=parseInt(g[3]+g[4],O),I=parseInt(g[5]+g[6],O)),[T,L,I]}},vr=function(g){var x,T,L,I,O,$,z,S;function V(lt,ft,Lt){return Lt<0&&(Lt+=1),Lt>1&&(Lt-=1),Lt<1/6?lt+(ft-lt)*6*Lt:Lt<1/2?ft:Lt<2/3?lt+(ft-lt)*(2/3-Lt)*6:lt}var U=new RegExp("^"+qe+"$").exec(g);if(U){if(T=parseInt(U[1]),T<0?T=(360- -1*T%360)%360:T>360&&(T=T%360),T/=360,L=parseFloat(U[2]),L<0||L>100||(L=L/100,I=parseFloat(U[3]),I<0||I>100)||(I=I/100,O=U[4],O!==void 0&&(O=parseFloat(O),O<0||O>1)))return;if(L===0)$=z=S=Math.round(I*255);else{var tt=I<.5?I*(1+L):I+L-I*L,at=2*I-tt;$=Math.round(255*V(at,tt,T+1/3)),z=Math.round(255*V(at,tt,T)),S=Math.round(255*V(at,tt,T-1/3))}x=[$,z,S,O]}return x},$t=function(g){var x,T=new RegExp("^"+ee+"$").exec(g);if(T){x=[];for(var L=[],I=1;I<=3;I++){var O=T[I];if(O[O.length-1]==="%"&&(L[I]=!0),O=parseFloat(O),L[I]&&(O=O/100*255),O<0||O>255)return;x.push(Math.floor(O))}var $=L[1]||L[2]||L[3],z=L[1]&&L[2]&&L[3];if($&&!z)return;var S=T[4];if(S!==void 0){if(S=parseFloat(S),S<0||S>1)return;x.push(S)}}return x},ur=function(g){return rr[g.toLowerCase()]},le=function(g){return(vt(g)?g:null)||ur(g)||Qt(g)||$t(g)||vr(g)},rr={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]},ar=function(g){for(var x=g.map,T=g.keys,L=T.length,I=0;I<L;I++){var O=T[I];if(ut(O))throw Error("Tried to set map with object key");I<T.length-1?(x[O]==null&&(x[O]={}),x=x[O]):x[O]=g.value}},Qn=function(g){for(var x=g.map,T=g.keys,L=T.length,I=0;I<L;I++){var O=T[I];if(ut(O))throw Error("Tried to get map with object key");if(x=x[O],x==null)return x}return x};function Zn(y){var g=typeof y;return y!=null&&(g=="object"||g=="function")}var dn=Zn,kn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof v0<"u"?v0:typeof self<"u"?self:{};function _r(y,g){return g={exports:{}},y(g,g.exports),g.exports}var Rr=typeof kn=="object"&&kn&&kn.Object===Object&&kn,os=Rr,As=typeof self=="object"&&self&&self.Object===Object&&self,ma=os||As||Function("return this")(),Zr=ma,Hi=function(){return Zr.Date.now()},Gn=Hi,Jn=/\s/;function Or(y){for(var g=y.length;g--&&Jn.test(y.charAt(g)););return g}var Fn=Or,Li=/^\s+/;function Dn(y){return y&&y.slice(0,Fn(y)+1).replace(Li,"")}var Ba=Dn,zn=Zr.Symbol,is=zn,La=Object.prototype,Xa=La.hasOwnProperty,Ta=La.toString,ga=is?is.toStringTag:void 0;function Es(y){var g=Xa.call(y,ga),x=y[ga];try{y[ga]=void 0;var T=!0}catch{}var L=Ta.call(y);return T&&(g?y[ga]=x:delete y[ga]),L}var Bs=Es,_a=Object.prototype,Ma=_a.toString;function Ga(y){return Ma.call(y)}var ov=Ga,rl="[object Null]",mu="[object Undefined]",Ls=is?is.toStringTag:void 0;function bp(y){return y==null?y===void 0?mu:rl:Ls&&Ls in Object(y)?Bs(y):ov(y)}var ad=bp;function Rl(y){return y!=null&&typeof y=="object"}var $u=Rl,Gi="[object Symbol]";function Ue(y){return typeof y=="symbol"||$u(y)&&ad(y)==Gi}var Cr=Ue,ci=0/0,Qa=/^[-+]0x[0-9a-f]+$/i,kc=/^0b[01]+$/i,yu=/^0o[0-7]+$/i,yo=parseInt;function xu(y){if(typeof y=="number")return y;if(Cr(y))return ci;if(dn(y)){var g=typeof y.valueOf=="function"?y.valueOf():y;y=dn(g)?g+"":g}if(typeof y!="string")return y===0?y:+y;y=Ba(y);var x=kc.test(y);return x||yu.test(y)?yo(y.slice(2),x?2:8):Qa.test(y)?ci:+y}var uf=xu,k3="Expected a function",v1=Math.max,E3=Math.min;function yL(y,g,x){var T,L,I,O,$,z,S=0,V=!1,U=!1,tt=!0;if(typeof y!="function")throw new TypeError(k3);g=uf(g)||0,dn(x)&&(V=!!x.leading,U="maxWait"in x,I=U?v1(uf(x.maxWait)||0,g):I,tt="trailing"in x?!!x.trailing:tt);function at(Yt){var Ht=T,ie=L;return T=L=void 0,S=Yt,O=y.apply(ie,Ht),O}function lt(Yt){return S=Yt,$=setTimeout(kt,g),V?at(Yt):O}function ft(Yt){var Ht=Yt-z,ie=Yt-S,Wt=g-Ht;return U?E3(Wt,I-ie):Wt}function Lt(Yt){var Ht=Yt-z,ie=Yt-S;return z===void 0||Ht>=g||Ht<0||U&&ie>=I}function kt(){var Yt=Gn();if(Lt(Yt))return Dt(Yt);$=setTimeout(kt,ft(Yt))}function Dt(Yt){return $=void 0,tt&&T?at(Yt):(T=L=void 0,O)}function It(){$!==void 0&&clearTimeout($),S=0,T=z=L=$=void 0}function qt(){return $===void 0?O:Dt(Gn())}function te(){var Yt=Gn(),Ht=Lt(Yt);if(T=arguments,L=this,z=Yt,Ht){if($===void 0)return lt(z);if(U)return clearTimeout($),$=setTimeout(kt,g),at(z)}return $===void 0&&($=setTimeout(kt,g)),O}return te.cancel=It,te.flush=qt,te}var hm=yL,wg=R?R.performance:null,cs=wg&&wg.now?function(){return wg.now()}:function(){return Date.now()},zs=function(){if(R){if(R.requestAnimationFrame)return function(y){R.requestAnimationFrame(y)};if(R.mozRequestAnimationFrame)return function(y){R.mozRequestAnimationFrame(y)};if(R.webkitRequestAnimationFrame)return function(y){R.webkitRequestAnimationFrame(y)};if(R.msRequestAnimationFrame)return function(y){R.msRequestAnimationFrame(y)}}return function(y){y&&setTimeout(function(){y(cs())},1e3/60)}}(),Da=function(g){return zs(g)},ki=cs,Rc=9261,Oe=65599,vp=5381,Ye=function(g){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rc,T=x,L;L=g.next(),!L.done;)T=T*Oe+L.value|0;return T},lf=function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rc;return x*Oe+g|0},fm=function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vp;return(x<<5)+x+g|0},LE=function(g,x){return g*2097152+x},wp=function(g){return g[0]*2097152+g[1]},j5=function(g,x){return[lf(g[0],x[0]),fm(g[1],x[1])]},ah=function(g,x){var T={value:0,done:!1},L=0,I=g.length,O={next:function(){return L<I?T.value=g[L++]:T.done=!0,T}};return Ye(O,x)},od=function(g,x){var T={value:0,done:!1},L=0,I=g.length,O={next:function(){return L<I?T.value=g.charCodeAt(L++):T.done=!0,T}};return Ye(O,x)},$5=function(){return z5(arguments)},z5=function(g){for(var x,T=0;T<g.length;T++){var L=g[T];T===0?x=od(L):x=od(L,x)}return x},ME=!0,xL=console.warn!=null,w1=console.trace!=null,mp=Number.MAX_SAFE_INTEGER||9007199254740991,cd=function(){return!0},dm=function(){return!1},cv=function(){return 0},gm=function(){},Ec=function(g){throw new Error(g)},pk=function(g){if(g!==void 0)ME=!!g;else return ME},Ko=function(g){pk()&&(xL?console.warn(g):(console.log(g),w1&&console.trace()))},bk=function(g){return Pe({},g)},oh=function(g){return g==null?g:vt(g)?g.slice():ut(g)?bk(g):g},ZK=function(g){return g.slice()},DE=function(g,x){for(x=g="";g++<36;x+=g*51&52?(g^15?8^Math.random()*(g^20?16:4):4).toString(16):"-");return x},JK={},XN=function(){return JK},qf=function(g){var x=Object.keys(g);return function(T){for(var L={},I=0;I<x.length;I++){var O=x[I],$=T==null?void 0:T[O];L[O]=$===void 0?g[O]:$}return L}},pm=function(g,x,T){for(var L=g.length-1;L>=0&&!(g[L]===x&&(g.splice(L,1),T));L--);},kL=function(g){g.splice(0,g.length)},QN=function(g,x){for(var T=0;T<x.length;T++){var L=x[T];g.push(L)}},yp=function(g,x,T){return T&&(x=xe(T,x)),g[x]},bm=function(g,x,T,L){T&&(x=xe(T,x)),g[x]=L},tY=function(){function y(){p(this,y),this._obj={}}return m(y,[{key:"set",value:function(x,T){return this._obj[x]=T,this}},{key:"delete",value:function(x){return this._obj[x]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(x){return this._obj[x]!==void 0}},{key:"get",value:function(x){return this._obj[x]}}]),y}(),H2=typeof Map<"u"?Map:tY,eY="undefined",nY=function(){function y(g){if(p(this,y),this._obj=Object.create(null),this.size=0,g!=null){var x;g.instanceString!=null&&g.instanceString()===this.instanceString()?x=g.toArray():x=g;for(var T=0;T<x.length;T++)this.add(x[T])}}return m(y,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(x){var T=this._obj;T[x]!==1&&(T[x]=1,this.size++)}},{key:"delete",value:function(x){var T=this._obj;T[x]===1&&(T[x]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(x){return this._obj[x]===1}},{key:"toArray",value:function(){var x=this;return Object.keys(this._obj).filter(function(T){return x.has(T)})}},{key:"forEach",value:function(x,T){return this.toArray().forEach(x,T)}}]),y}(),q5=(typeof Set>"u"?"undefined":f(Set))!==eY?Set:nY,IE=function(g,x){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(g===void 0||x===void 0||!Nt(g)){Ec("An element must have a core reference and parameters set");return}var L=x.group;if(L==null&&(x.data&&x.data.source!=null&&x.data.target!=null?L="edges":L="nodes"),L!=="nodes"&&L!=="edges"){Ec("An element must be of type `nodes` or `edges`; you specified `"+L+"`");return}this.length=1,this[0]=this;var I=this._private={cy:g,single:!0,data:x.data||{},position:x.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:!!x.selected,selectable:x.selectable===void 0?!0:!!x.selectable,locked:!!x.locked,grabbed:!1,grabbable:x.grabbable===void 0?!0:!!x.grabbable,pannable:x.pannable===void 0?L==="edges":!!x.pannable,active:!1,classes:new q5,animation:{current:[],queue:[]},rscratch:{},scratch:x.scratch||{},edges:[],children:[],parent:x.parent&&x.parent.isNode()?x.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(I.position.x==null&&(I.position.x=0),I.position.y==null&&(I.position.y=0),x.renderedPosition){var O=x.renderedPosition,$=g.pan(),z=g.zoom();I.position={x:(O.x-$.x)/z,y:(O.y-$.y)/z}}var S=[];vt(x.classes)?S=x.classes:Tt(x.classes)&&(S=x.classes.split(/\s+/));for(var V=0,U=S.length;V<U;V++){var tt=S[V];!tt||tt===""||I.classes.add(tt)}this.createEmitter();var at=x.style||x.css;at&&(Ko("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(at)),(T===void 0||T)&&this.restore()},ZN=function(g){return g={bfs:g.bfs||!g.dfs,dfs:g.dfs||!g.bfs},function(T,L,I){var O;ut(T)&&!pt(T)&&(O=T,T=O.roots||O.root,L=O.visit,I=O.directed),I=arguments.length===2&&!yt(L)?L:I,L=yt(L)?L:function(){};for(var $=this._private.cy,z=T=Tt(T)?this.filter(T):T,S=[],V=[],U={},tt={},at={},lt=0,ft,Lt=this.byGroup(),kt=Lt.nodes,Dt=Lt.edges,It=0;It<z.length;It++){var qt=z[It],te=qt.id();qt.isNode()&&(S.unshift(qt),g.bfs&&(at[te]=!0,V.push(qt)),tt[te]=0)}for(var Yt=function(){var Ne=g.bfs?S.shift():S.pop(),me=Ne.id();if(g.dfs){if(at[me])return"continue";at[me]=!0,V.push(Ne)}var gn=tt[me],ze=U[me],Ge=ze!=null?ze.source():null,xn=ze!=null?ze.target():null,On=ze==null?void 0:Ne.same(Ge)?xn[0]:Ge[0],nr=void 0;if(nr=L(Ne,ze,On,lt++,gn),nr===!0)return ft=Ne,"break";if(nr===!1)return"break";for(var Sn=Ne.connectedEdges().filter(function(lr){return(!I||lr.source().same(Ne))&&Dt.has(lr)}),er=0;er<Sn.length;er++){var fr=Sn[er],Mr=fr.connectedNodes().filter(function(lr){return!lr.same(Ne)&&kt.has(lr)}),yr=Mr.id();Mr.length!==0&&!at[yr]&&(Mr=Mr[0],S.push(Mr),g.bfs&&(at[yr]=!0,V.push(Mr)),U[yr]=fr,tt[yr]=tt[me]+1)}};S.length!==0;){var Ht=Yt();if(Ht!=="continue"&&Ht==="break")break}for(var ie=$.collection(),Wt=0;Wt<V.length;Wt++){var be=V[Wt],we=U[be.id()];we!=null&&ie.push(we),ie.push(be)}return{path:$.collection(ie),found:$.collection(ft)}}},vk={breadthFirstSearch:ZN({bfs:!0}),depthFirstSearch:ZN({dfs:!0})};vk.bfs=vk.breadthFirstSearch,vk.dfs=vk.depthFirstSearch;var rY=_r(function(y,g){(function(){var x,T,L,I,O,$,z,S,V,U,tt,at,lt,ft,Lt;L=Math.floor,U=Math.min,T=function(kt,Dt){return kt<Dt?-1:kt>Dt?1:0},V=function(kt,Dt,It,qt,te){var Yt;if(It==null&&(It=0),te==null&&(te=T),It<0)throw new Error("lo must be non-negative");for(qt==null&&(qt=kt.length);It<qt;)Yt=L((It+qt)/2),te(Dt,kt[Yt])<0?qt=Yt:It=Yt+1;return[].splice.apply(kt,[It,It-It].concat(Dt)),Dt},$=function(kt,Dt,It){return It==null&&(It=T),kt.push(Dt),ft(kt,0,kt.length-1,It)},O=function(kt,Dt){var It,qt;return Dt==null&&(Dt=T),It=kt.pop(),kt.length?(qt=kt[0],kt[0]=It,Lt(kt,0,Dt)):qt=It,qt},S=function(kt,Dt,It){var qt;return It==null&&(It=T),qt=kt[0],kt[0]=Dt,Lt(kt,0,It),qt},z=function(kt,Dt,It){var qt;return It==null&&(It=T),kt.length&&It(kt[0],Dt)<0&&(qt=[kt[0],Dt],Dt=qt[0],kt[0]=qt[1],Lt(kt,0,It)),Dt},I=function(kt,Dt){var It,qt,te,Yt,Ht,ie;for(Dt==null&&(Dt=T),Yt=function(){ie=[];for(var Wt=0,be=L(kt.length/2);0<=be?Wt<be:Wt>be;0<=be?Wt++:Wt--)ie.push(Wt);return ie}.apply(this).reverse(),Ht=[],qt=0,te=Yt.length;qt<te;qt++)It=Yt[qt],Ht.push(Lt(kt,It,Dt));return Ht},lt=function(kt,Dt,It){var qt;if(It==null&&(It=T),qt=kt.indexOf(Dt),qt!==-1)return ft(kt,0,qt,It),Lt(kt,qt,It)},tt=function(kt,Dt,It){var qt,te,Yt,Ht,ie;if(It==null&&(It=T),te=kt.slice(0,Dt),!te.length)return te;for(I(te,It),ie=kt.slice(Dt),Yt=0,Ht=ie.length;Yt<Ht;Yt++)qt=ie[Yt],z(te,qt,It);return te.sort(It).reverse()},at=function(kt,Dt,It){var qt,te,Yt,Ht,ie,Wt,be,we,ae;if(It==null&&(It=T),Dt*10<=kt.length){if(Yt=kt.slice(0,Dt).sort(It),!Yt.length)return Yt;for(te=Yt[Yt.length-1],be=kt.slice(Dt),Ht=0,Wt=be.length;Ht<Wt;Ht++)qt=be[Ht],It(qt,te)<0&&(V(Yt,qt,0,null,It),Yt.pop(),te=Yt[Yt.length-1]);return Yt}for(I(kt,It),ae=[],ie=0,we=U(Dt,kt.length);0<=we?ie<we:ie>we;0<=we?++ie:--ie)ae.push(O(kt,It));return ae},ft=function(kt,Dt,It,qt){var te,Yt,Ht;for(qt==null&&(qt=T),te=kt[It];It>Dt;){if(Ht=It-1>>1,Yt=kt[Ht],qt(te,Yt)<0){kt[It]=Yt,It=Ht;continue}break}return kt[It]=te},Lt=function(kt,Dt,It){var qt,te,Yt,Ht,ie;for(It==null&&(It=T),te=kt.length,ie=Dt,Yt=kt[Dt],qt=2*Dt+1;qt<te;)Ht=qt+1,Ht<te&&!(It(kt[qt],kt[Ht])<0)&&(qt=Ht),kt[Dt]=kt[qt],Dt=qt,qt=2*Dt+1;return kt[Dt]=Yt,ft(kt,ie,Dt,It)},x=function(){kt.push=$,kt.pop=O,kt.replace=S,kt.pushpop=z,kt.heapify=I,kt.updateItem=lt,kt.nlargest=tt,kt.nsmallest=at;function kt(Dt){this.cmp=Dt??T,this.nodes=[]}return kt.prototype.push=function(Dt){return $(this.nodes,Dt,this.cmp)},kt.prototype.pop=function(){return O(this.nodes,this.cmp)},kt.prototype.peek=function(){return this.nodes[0]},kt.prototype.contains=function(Dt){return this.nodes.indexOf(Dt)!==-1},kt.prototype.replace=function(Dt){return S(this.nodes,Dt,this.cmp)},kt.prototype.pushpop=function(Dt){return z(this.nodes,Dt,this.cmp)},kt.prototype.heapify=function(){return I(this.nodes,this.cmp)},kt.prototype.updateItem=function(Dt){return lt(this.nodes,Dt,this.cmp)},kt.prototype.clear=function(){return this.nodes=[]},kt.prototype.empty=function(){return this.nodes.length===0},kt.prototype.size=function(){return this.nodes.length},kt.prototype.clone=function(){var Dt;return Dt=new kt,Dt.nodes=this.nodes.slice(0),Dt},kt.prototype.toArray=function(){return this.nodes.slice(0)},kt.prototype.insert=kt.prototype.push,kt.prototype.top=kt.prototype.peek,kt.prototype.front=kt.prototype.peek,kt.prototype.has=kt.prototype.contains,kt.prototype.copy=kt.prototype.clone,kt}(),function(kt,Dt){return y.exports=Dt()}(this,function(){return x})}).call(kn)}),wk=rY,iY=qf({root:null,weight:function(g){return 1},directed:!1}),sY={dijkstra:function(g){if(!ut(g)){var x=arguments;g={root:x[0],weight:x[1],directed:x[2]}}var T=iY(g),L=T.root,I=T.weight,O=T.directed,$=this,z=I,S=Tt(L)?this.filter(L)[0]:L[0],V={},U={},tt={},at=this.byGroup(),lt=at.nodes,ft=at.edges;ft.unmergeBy(function(gn){return gn.isLoop()});for(var Lt=function(ze){return V[ze.id()]},kt=function(ze,Ge){V[ze.id()]=Ge,Dt.updateItem(ze)},Dt=new wk(function(gn,ze){return Lt(gn)-Lt(ze)}),It=0;It<lt.length;It++){var qt=lt[It];V[qt.id()]=qt.same(S)?0:1/0,Dt.push(qt)}for(var te=function(ze,Ge){for(var xn=(O?ze.edgesTo(Ge):ze.edgesWith(Ge)).intersect(ft),On=1/0,nr,Sn=0;Sn<xn.length;Sn++){var er=xn[Sn],fr=z(er);(fr<On||!nr)&&(On=fr,nr=er)}return{edge:nr,dist:On}};Dt.size()>0;){var Yt=Dt.pop(),Ht=Lt(Yt),ie=Yt.id();if(tt[ie]=Ht,Ht!==1/0)for(var Wt=Yt.neighborhood().intersect(lt),be=0;be<Wt.length;be++){var we=Wt[be],ae=we.id(),Ne=te(Yt,we),me=Ht+Ne.dist;me<Lt(we)&&(kt(we,me),U[ae]={node:Yt,edge:Ne.edge})}}return{distanceTo:function(ze){var Ge=Tt(ze)?lt.filter(ze)[0]:ze[0];return tt[Ge.id()]},pathTo:function(ze){var Ge=Tt(ze)?lt.filter(ze)[0]:ze[0],xn=[],On=Ge,nr=On.id();if(Ge.length>0)for(xn.unshift(Ge);U[nr];){var Sn=U[nr];xn.unshift(Sn.edge),xn.unshift(Sn.node),On=Sn.node,nr=On.id()}return $.spawn(xn)}}}},aY={kruskal:function(g){g=g||function(It){return 1};for(var x=this.byGroup(),T=x.nodes,L=x.edges,I=T.length,O=new Array(I),$=T,z=function(qt){for(var te=0;te<O.length;te++){var Yt=O[te];if(Yt.has(qt))return te}},S=0;S<I;S++)O[S]=this.spawn(T[S]);for(var V=L.sort(function(It,qt){return g(It)-g(qt)}),U=0;U<V.length;U++){var tt=V[U],at=tt.source()[0],lt=tt.target()[0],ft=z(at),Lt=z(lt),kt=O[ft],Dt=O[Lt];ft!==Lt&&($.merge(tt),kt.merge(Dt),O.splice(Lt,1))}return $}},oY=qf({root:null,goal:null,weight:function(g){return 1},heuristic:function(g){return 0},directed:!1}),cY={aStar:function(g){var x=this.cy(),T=oY(g),L=T.root,I=T.goal,O=T.heuristic,$=T.directed,z=T.weight;L=x.collection(L)[0],I=x.collection(I)[0];var S=L.id(),V=I.id(),U={},tt={},at={},lt=new wk(function(nr,Sn){return tt[nr.id()]-tt[Sn.id()]}),ft=new q5,Lt={},kt={},Dt=function(Sn,er){lt.push(Sn),ft.add(er)},It,qt,te=function(){It=lt.pop(),qt=It.id(),ft.delete(qt)},Yt=function(Sn){return ft.has(Sn)};Dt(L,S),U[S]=0,tt[S]=O(L);for(var Ht=0;lt.size()>0;){if(te(),Ht++,qt===V){for(var ie=[],Wt=I,be=V,we=kt[be];ie.unshift(Wt),we!=null&&ie.unshift(we),Wt=Lt[be],Wt!=null;)be=Wt.id(),we=kt[be];return{found:!0,distance:U[qt],path:this.spawn(ie),steps:Ht}}at[qt]=!0;for(var ae=It._private.edges,Ne=0;Ne<ae.length;Ne++){var me=ae[Ne];if(this.hasElementWithId(me.id())&&!($&&me.data("source")!==qt)){var gn=me.source(),ze=me.target(),Ge=gn.id()!==qt?gn:ze,xn=Ge.id();if(this.hasElementWithId(xn)&&!at[xn]){var On=U[qt]+z(me);if(!Yt(xn)){U[xn]=On,tt[xn]=On+O(Ge),Dt(Ge,xn),Lt[xn]=It,kt[xn]=me;continue}On<U[xn]&&(U[xn]=On,tt[xn]=On+O(Ge),Lt[xn]=It,kt[xn]=me)}}}}return{found:!1,distance:void 0,path:void 0,steps:Ht}}},uY=qf({weight:function(g){return 1},directed:!1}),lY={floydWarshall:function(g){for(var x=this.cy(),T=uY(g),L=T.weight,I=T.directed,O=L,$=this.byGroup(),z=$.nodes,S=$.edges,V=z.length,U=V*V,tt=function(fr){return z.indexOf(fr)},at=function(fr){return z[fr]},lt=new Array(U),ft=0;ft<U;ft++){var Lt=ft%V,kt=(ft-Lt)/V;kt===Lt?lt[ft]=0:lt[ft]=1/0}for(var Dt=new Array(U),It=new Array(U),qt=0;qt<S.length;qt++){var te=S[qt],Yt=te.source()[0],Ht=te.target()[0];if(Yt!==Ht){var ie=tt(Yt),Wt=tt(Ht),be=ie*V+Wt,we=O(te);if(lt[be]>we&&(lt[be]=we,Dt[be]=Wt,It[be]=te),!I){var ae=Wt*V+ie;!I&&lt[ae]>we&&(lt[ae]=we,Dt[ae]=ie,It[ae]=te)}}}for(var Ne=0;Ne<V;Ne++)for(var me=0;me<V;me++)for(var gn=me*V+Ne,ze=0;ze<V;ze++){var Ge=me*V+ze,xn=Ne*V+ze;lt[gn]+lt[xn]<lt[Ge]&&(lt[Ge]=lt[gn]+lt[xn],Dt[Ge]=Dt[gn])}var On=function(fr){return(Tt(fr)?x.filter(fr):fr)[0]},nr=function(fr){return tt(On(fr))},Sn={distance:function(fr,Mr){var yr=nr(fr),lr=nr(Mr);return lt[yr*V+lr]},path:function(fr,Mr){var yr=nr(fr),lr=nr(Mr),bn=at(yr);if(yr===lr)return bn.collection();if(Dt[yr*V+lr]==null)return x.collection();var Sr=x.collection(),Er=yr,fi;for(Sr.merge(bn);yr!==lr;)Er=yr,yr=Dt[yr*V+lr],fi=It[Er*V+yr],Sr.merge(fi),Sr.merge(at(yr));return Sr}};return Sn}},hY=qf({weight:function(g){return 1},directed:!1,root:null}),fY={bellmanFord:function(g){var x=this,T=hY(g),L=T.weight,I=T.directed,O=T.root,$=L,z=this,S=this.cy(),V=this.byGroup(),U=V.edges,tt=V.nodes,at=tt.length,lt=new H2,ft=!1,Lt=[];O=S.collection(O)[0],U.unmergeBy(function(ts){return ts.isLoop()});for(var kt=U.length,Dt=function(Ri){var ss=lt.get(Ri.id());return ss||(ss={},lt.set(Ri.id(),ss)),ss},It=function(Ri){return(Tt(Ri)?S.$(Ri):Ri)[0]},qt=function(Ri){return Dt(It(Ri)).dist},te=function(Ri){for(var ss=arguments.length>1&&arguments[1]!==void 0?arguments[1]:O,ro=It(Ri),ca=[],ea=ro;;){if(ea==null)return x.spawn();var Nr=Dt(ea),Jt=Nr.edge,qn=Nr.pred;if(ca.unshift(ea[0]),ea.same(ss)&&ca.length>0)break;Jt!=null&&ca.unshift(Jt),ea=qn}return z.spawn(ca)},Yt=0;Yt<at;Yt++){var Ht=tt[Yt],ie=Dt(Ht);Ht.same(O)?ie.dist=0:ie.dist=1/0,ie.pred=null,ie.edge=null}for(var Wt=!1,be=function(Ri,ss,ro,ca,ea,Nr){var Jt=ca.dist+Nr;Jt<ea.dist&&!ro.same(ca.edge)&&(ea.dist=Jt,ea.pred=Ri,ea.edge=ro,Wt=!0)},we=1;we<at;we++){Wt=!1;for(var ae=0;ae<kt;ae++){var Ne=U[ae],me=Ne.source(),gn=Ne.target(),ze=$(Ne),Ge=Dt(me),xn=Dt(gn);be(me,gn,Ne,Ge,xn,ze),I||be(gn,me,Ne,xn,Ge,ze)}if(!Wt)break}if(Wt)for(var On=[],nr=0;nr<kt;nr++){var Sn=U[nr],er=Sn.source(),fr=Sn.target(),Mr=$(Sn),yr=Dt(er).dist,lr=Dt(fr).dist;if(yr+Mr<lr||!I&&lr+Mr<yr)if(ft||(Ko("Graph contains a negative weight cycle for Bellman-Ford"),ft=!0),g.findNegativeWeightCycles!==!1){var bn=[];yr+Mr<lr&&bn.push(er),!I&&lr+Mr<yr&&bn.push(fr);for(var Sr=bn.length,Er=0;Er<Sr;Er++){var fi=bn[Er],Ii=[fi];Ii.push(Dt(fi).edge);for(var oa=Dt(fi).pred;Ii.indexOf(oa)===-1;)Ii.push(oa),Ii.push(Dt(oa).edge),oa=Dt(oa).pred;Ii=Ii.slice(Ii.indexOf(oa));for(var Ra=Ii[0].id(),Fi=0,_i=2;_i<Ii.length;_i+=2)Ii[_i].id()<Ra&&(Ra=Ii[_i].id(),Fi=_i);Ii=Ii.slice(Fi).concat(Ii.slice(0,Fi)),Ii.push(Ii[0]);var Ms=Ii.map(function(ts){return ts.id()}).join(",");On.indexOf(Ms)===-1&&(Lt.push(z.spawn(Ii)),On.push(Ms))}}else break}return{distanceTo:qt,pathTo:te,hasNegativeWeightCycle:ft,negativeWeightCycles:Lt}}},dY=Math.sqrt(2),gY=function(g,x,T){T.length===0&&Ec("Karger-Stein must be run on a connected (sub)graph");for(var L=T[g],I=L[1],O=L[2],$=x[I],z=x[O],S=T,V=S.length-1;V>=0;V--){var U=S[V],tt=U[1],at=U[2];(x[tt]===$&&x[at]===z||x[tt]===z&&x[at]===$)&&S.splice(V,1)}for(var lt=0;lt<S.length;lt++){var ft=S[lt];ft[1]===z?(S[lt]=ft.slice(),S[lt][1]=$):ft[2]===z&&(S[lt]=ft.slice(),S[lt][2]=$)}for(var Lt=0;Lt<x.length;Lt++)x[Lt]===z&&(x[Lt]=$);return S},EL=function(g,x,T,L){for(;T>L;){var I=Math.floor(Math.random()*x.length);x=gY(I,g,x),T--}return x},pY={kargerStein:function(){var g=this,x=this.byGroup(),T=x.nodes,L=x.edges;L.unmergeBy(function(xn){return xn.isLoop()});var I=T.length,O=L.length,$=Math.ceil(Math.pow(Math.log(I)/Math.LN2,2)),z=Math.floor(I/dY);if(I<2){Ec("At least 2 nodes are required for Karger-Stein algorithm");return}for(var S=[],V=0;V<O;V++){var U=L[V];S.push([V,T.indexOf(U.source()),T.indexOf(U.target())])}for(var tt=1/0,at=[],lt=new Array(I),ft=new Array(I),Lt=new Array(I),kt=function(On,nr){for(var Sn=0;Sn<I;Sn++)nr[Sn]=On[Sn]},Dt=0;Dt<=$;Dt++){for(var It=0;It<I;It++)ft[It]=It;var qt=EL(ft,S.slice(),I,z),te=qt.slice();kt(ft,Lt);var Yt=EL(ft,qt,z,2),Ht=EL(Lt,te,z,2);Yt.length<=Ht.length&&Yt.length<tt?(tt=Yt.length,at=Yt,kt(ft,lt)):Ht.length<=Yt.length&&Ht.length<tt&&(tt=Ht.length,at=Ht,kt(Lt,lt))}for(var ie=this.spawn(at.map(function(xn){return L[xn[0]]})),Wt=this.spawn(),be=this.spawn(),we=lt[0],ae=0;ae<lt.length;ae++){var Ne=lt[ae],me=T[ae];Ne===we?Wt.merge(me):be.merge(me)}var gn=function(On){var nr=g.spawn();return On.forEach(function(Sn){nr.merge(Sn),Sn.connectedEdges().forEach(function(er){g.contains(er)&&!ie.contains(er)&&nr.merge(er)})}),nr},ze=[gn(Wt),gn(be)],Ge={cut:ie,components:ze,partition1:Wt,partition2:be};return Ge}},bY=function(g){return{x:g.x,y:g.y}},OE=function(g,x,T){return{x:g.x*x+T.x,y:g.y*x+T.y}},JN=function(g,x,T){return{x:(g.x-T.x)/x,y:(g.y-T.y)/x}},H5=function(g){return{x:g[0],y:g[1]}},vY=function(g){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,L=1/0,I=x;I<T;I++){var O=g[I];isFinite(O)&&(L=Math.min(O,L))}return L},wY=function(g){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,L=-1/0,I=x;I<T;I++){var O=g[I];isFinite(O)&&(L=Math.max(O,L))}return L},mY=function(g){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,L=0,I=0,O=x;O<T;O++){var $=g[O];isFinite($)&&(L+=$,I++)}return L/I},yY=function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,I=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;L?g=g.slice(x,T):(T<g.length&&g.splice(T,g.length-T),x>0&&g.splice(0,x));for(var $=0,z=g.length-1;z>=0;z--){var S=g[z];O?isFinite(S)||(g[z]=-1/0,$++):g.splice(z,1)}I&&g.sort(function(tt,at){return tt-at});var V=g.length,U=Math.floor(V/2);return V%2!==0?g[U+1+$]:(g[U-1+$]+g[U+$])/2},xY=function(g){return Math.PI*g/180},PE=function(g,x){return Math.atan2(x,g)-Math.PI/2},TL=Math.log2||function(y){return Math.log(y)/Math.log(2)},tF=function(g){return g>0?1:g<0?-1:0},T3=function(g,x){return Math.sqrt(_3(g,x))},_3=function(g,x){var T=x.x-g.x,L=x.y-g.y;return T*T+L*L},kY=function(g){for(var x=g.length,T=0,L=0;L<x;L++)T+=g[L];for(var I=0;I<x;I++)g[I]=g[I]/T;return g},hf=function(g,x,T,L){return(1-L)*(1-L)*g+2*(1-L)*L*x+L*L*T},V5=function(g,x,T,L){return{x:hf(g.x,x.x,T.x,L),y:hf(g.y,x.y,T.y,L)}},EY=function(g,x,T,L){var I={x:x.x-g.x,y:x.y-g.y},O=T3(g,x),$={x:I.x/O,y:I.y/O};return T=T??0,L=L??T*O,{x:g.x+$.x*L,y:g.y+$.y*L}},mk=function(g,x,T){return Math.max(g,Math.min(T,x))},qd=function(g){if(g==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(g.x1!=null&&g.y1!=null){if(g.x2!=null&&g.y2!=null&&g.x2>=g.x1&&g.y2>=g.y1)return{x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,w:g.x2-g.x1,h:g.y2-g.y1};if(g.w!=null&&g.h!=null&&g.w>=0&&g.h>=0)return{x1:g.x1,y1:g.y1,x2:g.x1+g.w,y2:g.y1+g.h,w:g.w,h:g.h}}},TY=function(g){return{x1:g.x1,x2:g.x2,w:g.w,y1:g.y1,y2:g.y2,h:g.h}},_Y=function(g){g.x1=1/0,g.y1=1/0,g.x2=-1/0,g.y2=-1/0,g.w=0,g.h=0},CY=function(g,x){g.x1=Math.min(g.x1,x.x1),g.x2=Math.max(g.x2,x.x2),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,x.y1),g.y2=Math.max(g.y2,x.y2),g.h=g.y2-g.y1},SY=function(g,x,T){g.x1=Math.min(g.x1,x),g.x2=Math.max(g.x2,x),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,T),g.y2=Math.max(g.y2,T),g.h=g.y2-g.y1},NE=function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return g.x1-=x,g.x2+=x,g.y1-=x,g.y2+=x,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},_L=function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],T,L,I,O;if(x.length===1)T=L=I=O=x[0];else if(x.length===2)T=I=x[0],O=L=x[1];else if(x.length===4){var $=E(x,4);T=$[0],L=$[1],I=$[2],O=$[3]}return g.x1-=O,g.x2+=L,g.y1-=T,g.y2+=I,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},eF=function(g,x){g.x1=x.x1,g.y1=x.y1,g.x2=x.x2,g.y2=x.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1},CL=function(g,x){return!(g.x1>x.x2||x.x1>g.x2||g.x2<x.x1||x.x2<g.x1||g.y2<x.y1||x.y2<g.y1||g.y1>x.y2||x.y1>g.y2)},G5=function(g,x,T){return g.x1<=x&&x<=g.x2&&g.y1<=T&&T<=g.y2},AY=function(g,x){return G5(g,x.x,x.y)},nF=function(g,x){return G5(g,x.x1,x.y1)&&G5(g,x.x2,x.y2)},rF=function(g,x,T,L,I,O,$){var z=kk(I,O),S=I/2,V=O/2,U;{var tt=T-S+z-$,at=L-V-$,lt=T+S-z+$,ft=at;if(U=vm(g,x,T,L,tt,at,lt,ft,!1),U.length>0)return U}{var Lt=T+S+$,kt=L-V+z-$,Dt=Lt,It=L+V-z+$;if(U=vm(g,x,T,L,Lt,kt,Dt,It,!1),U.length>0)return U}{var qt=T-S+z-$,te=L+V+$,Yt=T+S-z+$,Ht=te;if(U=vm(g,x,T,L,qt,te,Yt,Ht,!1),U.length>0)return U}{var ie=T-S-$,Wt=L-V+z-$,be=ie,we=L+V-z+$;if(U=vm(g,x,T,L,ie,Wt,be,we,!1),U.length>0)return U}var ae;{var Ne=T-S+z,me=L-V+z;if(ae=yk(g,x,T,L,Ne,me,z+$),ae.length>0&&ae[0]<=Ne&&ae[1]<=me)return[ae[0],ae[1]]}{var gn=T+S-z,ze=L-V+z;if(ae=yk(g,x,T,L,gn,ze,z+$),ae.length>0&&ae[0]>=gn&&ae[1]<=ze)return[ae[0],ae[1]]}{var Ge=T+S-z,xn=L+V-z;if(ae=yk(g,x,T,L,Ge,xn,z+$),ae.length>0&&ae[0]>=Ge&&ae[1]>=xn)return[ae[0],ae[1]]}{var On=T-S+z,nr=L+V-z;if(ae=yk(g,x,T,L,On,nr,z+$),ae.length>0&&ae[0]<=On&&ae[1]>=nr)return[ae[0],ae[1]]}return[]},LY=function(g,x,T,L,I,O,$){var z=$,S=Math.min(T,I),V=Math.max(T,I),U=Math.min(L,O),tt=Math.max(L,O);return S-z<=g&&g<=V+z&&U-z<=x&&x<=tt+z},MY=function(g,x,T,L,I,O,$,z,S){var V={x1:Math.min(T,$,I)-S,x2:Math.max(T,$,I)+S,y1:Math.min(L,z,O)-S,y2:Math.max(L,z,O)+S};return!(g<V.x1||g>V.x2||x<V.y1||x>V.y2)},DY=function(g,x,T,L){T-=L;var I=x*x-4*g*T;if(I<0)return[];var O=Math.sqrt(I),$=2*g,z=(-x+O)/$,S=(-x-O)/$;return[z,S]},IY=function(g,x,T,L,I){var O=1e-5;g===0&&(g=O),x/=g,T/=g,L/=g;var $,z,S,V,U,tt,at,lt;if(z=(3*T-x*x)/9,S=-(27*L)+x*(9*T-2*(x*x)),S/=54,$=z*z*z+S*S,I[1]=0,at=x/3,$>0){U=S+Math.sqrt($),U=U<0?-Math.pow(-U,1/3):Math.pow(U,1/3),tt=S-Math.sqrt($),tt=tt<0?-Math.pow(-tt,1/3):Math.pow(tt,1/3),I[0]=-at+U+tt,at+=(U+tt)/2,I[4]=I[2]=-at,at=Math.sqrt(3)*(-tt+U)/2,I[3]=at,I[5]=-at;return}if(I[5]=I[3]=0,$===0){lt=S<0?-Math.pow(-S,1/3):Math.pow(S,1/3),I[0]=-at+2*lt,I[4]=I[2]=-(lt+at);return}z=-z,V=z*z*z,V=Math.acos(S/Math.sqrt(V)),lt=2*Math.sqrt(z),I[0]=-at+lt*Math.cos(V/3),I[2]=-at+lt*Math.cos((V+2*Math.PI)/3),I[4]=-at+lt*Math.cos((V+4*Math.PI)/3)},OY=function(g,x,T,L,I,O,$,z){var S=1*T*T-4*T*I+2*T*$+4*I*I-4*I*$+$*$+L*L-4*L*O+2*L*z+4*O*O-4*O*z+z*z,V=1*9*T*I-3*T*T-3*T*$-6*I*I+3*I*$+9*L*O-3*L*L-3*L*z-6*O*O+3*O*z,U=1*3*T*T-6*T*I+T*$-T*g+2*I*I+2*I*g-$*g+3*L*L-6*L*O+L*z-L*x+2*O*O+2*O*x-z*x,tt=1*T*I-T*T+T*g-I*g+L*O-L*L+L*x-O*x,at=[];IY(S,V,U,tt,at);for(var lt=1e-7,ft=[],Lt=0;Lt<6;Lt+=2)Math.abs(at[Lt+1])<lt&&at[Lt]>=0&&at[Lt]<=1&&ft.push(at[Lt]);ft.push(1),ft.push(0);for(var kt=-1,Dt,It,qt,te=0;te<ft.length;te++)Dt=Math.pow(1-ft[te],2)*T+2*(1-ft[te])*ft[te]*I+ft[te]*ft[te]*$,It=Math.pow(1-ft[te],2)*L+2*(1-ft[te])*ft[te]*O+ft[te]*ft[te]*z,qt=Math.pow(Dt-g,2)+Math.pow(It-x,2),kt>=0?qt<kt&&(kt=qt):kt=qt;return kt},PY=function(g,x,T,L,I,O){var $=[g-T,x-L],z=[I-T,O-L],S=z[0]*z[0]+z[1]*z[1],V=$[0]*$[0]+$[1]*$[1],U=$[0]*z[0]+$[1]*z[1],tt=U*U/S;return U<0?V:tt>S?(g-I)*(g-I)+(x-O)*(x-O):V-tt},Hd=function(g,x,T){for(var L,I,O,$,z,S=0,V=0;V<T.length/2;V++)if(L=T[V*2],I=T[V*2+1],V+1<T.length/2?(O=T[(V+1)*2],$=T[(V+1)*2+1]):(O=T[(V+1-T.length/2)*2],$=T[(V+1-T.length/2)*2+1]),!(L==g&&O==g))if(L>=g&&g>=O||L<=g&&g<=O)z=(g-L)/(O-L)*($-I)+I,z>x&&S++;else continue;return S%2!==0},uv=function(g,x,T,L,I,O,$,z,S){var V=new Array(T.length),U;z[0]!=null?(U=Math.atan(z[1]/z[0]),z[0]<0?U=U+Math.PI/2:U=-U-Math.PI/2):U=z;for(var tt=Math.cos(-U),at=Math.sin(-U),lt=0;lt<V.length/2;lt++)V[lt*2]=O/2*(T[lt*2]*tt-T[lt*2+1]*at),V[lt*2+1]=$/2*(T[lt*2+1]*tt+T[lt*2]*at),V[lt*2]+=L,V[lt*2+1]+=I;var ft;if(S>0){var Lt=sF(V,-S);ft=iF(Lt)}else ft=V;return Hd(g,x,ft)},NY=function(g,x,T,L,I,O,$){for(var z=new Array(T.length),S=O/2,V=$/2,U=LL(O,$),tt=U*U,at=0;at<T.length/4;at++){var lt=void 0,ft=void 0;at===0?lt=T.length-2:lt=at*4-2,ft=at*4+2;var Lt=L+S*T[at*4],kt=I+V*T[at*4+1],Dt=-T[lt]*T[ft]-T[lt+1]*T[ft+1],It=U/Math.tan(Math.acos(Dt)/2),qt=Lt-It*T[lt],te=kt-It*T[lt+1],Yt=Lt+It*T[ft],Ht=kt+It*T[ft+1];z[at*4]=qt,z[at*4+1]=te,z[at*4+2]=Yt,z[at*4+3]=Ht;var ie=T[lt+1],Wt=-T[lt],be=ie*T[ft]+Wt*T[ft+1];be<0&&(ie*=-1,Wt*=-1);var we=qt+ie*U,ae=te+Wt*U,Ne=Math.pow(we-g,2)+Math.pow(ae-x,2);if(Ne<=tt)return!0}return Hd(g,x,z)},iF=function(g){for(var x=new Array(g.length/2),T,L,I,O,$,z,S,V,U=0;U<g.length/4;U++){T=g[U*4],L=g[U*4+1],I=g[U*4+2],O=g[U*4+3],U<g.length/4-1?($=g[(U+1)*4],z=g[(U+1)*4+1],S=g[(U+1)*4+2],V=g[(U+1)*4+3]):($=g[0],z=g[1],S=g[2],V=g[3]);var tt=vm(T,L,I,O,$,z,S,V,!0);x[U*2]=tt[0],x[U*2+1]=tt[1]}return x},sF=function(g,x){for(var T=new Array(g.length*2),L,I,O,$,z=0;z<g.length/2;z++){L=g[z*2],I=g[z*2+1],z<g.length/2-1?(O=g[(z+1)*2],$=g[(z+1)*2+1]):(O=g[0],$=g[1]);var S=$-I,V=-(O-L),U=Math.sqrt(S*S+V*V),tt=S/U,at=V/U;T[z*4]=L+tt*x,T[z*4+1]=I+at*x,T[z*4+2]=O+tt*x,T[z*4+3]=$+at*x}return T},FY=function(g,x,T,L,I,O){var $=T-g,z=L-x;$/=I,z/=O;var S=Math.sqrt($*$+z*z),V=S-1;if(V<0)return[];var U=V/S;return[(T-g)*U+g,(L-x)*U+x]},C3=function(g,x,T,L,I,O,$){return g-=I,x-=O,g/=T/2+$,x/=L/2+$,g*g+x*x<=1},yk=function(g,x,T,L,I,O,$){var z=[T-g,L-x],S=[g-I,x-O],V=z[0]*z[0]+z[1]*z[1],U=2*(S[0]*z[0]+S[1]*z[1]),tt=S[0]*S[0]+S[1]*S[1]-$*$,at=U*U-4*V*tt;if(at<0)return[];var lt=(-U+Math.sqrt(at))/(2*V),ft=(-U-Math.sqrt(at))/(2*V),Lt=Math.min(lt,ft),kt=Math.max(lt,ft),Dt=[];if(Lt>=0&&Lt<=1&&Dt.push(Lt),kt>=0&&kt<=1&&Dt.push(kt),Dt.length===0)return[];var It=Dt[0]*z[0]+g,qt=Dt[0]*z[1]+x;if(Dt.length>1){if(Dt[0]==Dt[1])return[It,qt];var te=Dt[1]*z[0]+g,Yt=Dt[1]*z[1]+x;return[It,qt,te,Yt]}else return[It,qt]},SL=function(g,x,T){return x<=g&&g<=T||T<=g&&g<=x?g:g<=x&&x<=T||T<=x&&x<=g?x:T},vm=function(g,x,T,L,I,O,$,z,S){var V=g-I,U=T-g,tt=$-I,at=x-O,lt=L-x,ft=z-O,Lt=tt*at-ft*V,kt=U*at-lt*V,Dt=ft*U-tt*lt;if(Dt!==0){var It=Lt/Dt,qt=kt/Dt,te=.001,Yt=0-te,Ht=1+te;return Yt<=It&&It<=Ht&&Yt<=qt&&qt<=Ht?[g+It*U,x+It*lt]:S?[g+It*U,x+It*lt]:[]}else return Lt===0||kt===0?SL(g,T,$)===$?[$,z]:SL(g,T,I)===I?[I,O]:SL(I,$,T)===T?[T,L]:[]:[]},xk=function(g,x,T,L,I,O,$,z){var S=[],V,U=new Array(T.length),tt=!0;O==null&&(tt=!1);var at;if(tt){for(var lt=0;lt<U.length/2;lt++)U[lt*2]=T[lt*2]*O+L,U[lt*2+1]=T[lt*2+1]*$+I;if(z>0){var ft=sF(U,-z);at=iF(ft)}else at=U}else at=T;for(var Lt,kt,Dt,It,qt=0;qt<at.length/2;qt++)Lt=at[qt*2],kt=at[qt*2+1],qt<at.length/2-1?(Dt=at[(qt+1)*2],It=at[(qt+1)*2+1]):(Dt=at[0],It=at[1]),V=vm(g,x,L,I,Lt,kt,Dt,It),V.length!==0&&S.push(V[0],V[1]);return S},BY=function(g,x,T,L,I,O,$,z){for(var S=[],V,U=new Array(T.length),tt=O/2,at=$/2,lt=LL(O,$),ft=0;ft<T.length/4;ft++){var Lt=void 0,kt=void 0;ft===0?Lt=T.length-2:Lt=ft*4-2,kt=ft*4+2;var Dt=L+tt*T[ft*4],It=I+at*T[ft*4+1],qt=-T[Lt]*T[kt]-T[Lt+1]*T[kt+1],te=lt/Math.tan(Math.acos(qt)/2),Yt=Dt-te*T[Lt],Ht=It-te*T[Lt+1],ie=Dt+te*T[kt],Wt=It+te*T[kt+1];ft===0?(U[T.length-2]=Yt,U[T.length-1]=Ht):(U[ft*4-2]=Yt,U[ft*4-1]=Ht),U[ft*4]=ie,U[ft*4+1]=Wt;var be=T[Lt+1],we=-T[Lt],ae=be*T[kt]+we*T[kt+1];ae<0&&(be*=-1,we*=-1);var Ne=Yt+be*lt,me=Ht+we*lt;V=yk(g,x,L,I,Ne,me,lt),V.length!==0&&S.push(V[0],V[1])}for(var gn=0;gn<U.length/4;gn++)V=vm(g,x,L,I,U[gn*4],U[gn*4+1],U[gn*4+2],U[gn*4+3],!1),V.length!==0&&S.push(V[0],V[1]);if(S.length>2){for(var ze=[S[0],S[1]],Ge=Math.pow(ze[0]-g,2)+Math.pow(ze[1]-x,2),xn=1;xn<S.length/2;xn++){var On=Math.pow(S[xn*2]-g,2)+Math.pow(S[xn*2+1]-x,2);On<=Ge&&(ze[0]=S[xn*2],ze[1]=S[xn*2+1],Ge=On)}return ze}return S},FE=function(g,x,T){var L=[g[0]-x[0],g[1]-x[1]],I=Math.sqrt(L[0]*L[0]+L[1]*L[1]),O=(I-T)/I;return O<0&&(O=1e-5),[x[0]+O*L[0],x[1]+O*L[1]]},ud=function(g,x){var T=AL(g,x);return T=aF(T),T},aF=function(g){for(var x,T,L=g.length/2,I=1/0,O=1/0,$=-1/0,z=-1/0,S=0;S<L;S++)x=g[2*S],T=g[2*S+1],I=Math.min(I,x),$=Math.max($,x),O=Math.min(O,T),z=Math.max(z,T);for(var V=2/($-I),U=2/(z-O),tt=0;tt<L;tt++)x=g[2*tt]=g[2*tt]*V,T=g[2*tt+1]=g[2*tt+1]*U,I=Math.min(I,x),$=Math.max($,x),O=Math.min(O,T),z=Math.max(z,T);if(O<-1)for(var at=0;at<L;at++)T=g[2*at+1]=g[2*at+1]+(-1-O);return g},AL=function(g,x){var T=1/g*2*Math.PI,L=g%2===0?Math.PI/2+T/2:Math.PI/2;L+=x;for(var I=new Array(g*2),O,$=0;$<g;$++)O=$*T+L,I[2*$]=Math.cos(O),I[2*$+1]=Math.sin(-O);return I},kk=function(g,x){return Math.min(g/4,x/4,8)},LL=function(g,x){return Math.min(g/10,x/10,8)},oF=function(){return 8},RY=function(g,x,T){return[g-2*x+T,2*(x-g),g]},ML=function(g,x){return{heightOffset:Math.min(15,.05*x),widthOffset:Math.min(100,.25*g),ctrlPtOffsetPct:.05}},jY=qf({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(g){return 1}}),$Y={pageRank:function(g){for(var x=jY(g),T=x.dampingFactor,L=x.precision,I=x.iterations,O=x.weight,$=this._private.cy,z=this.byGroup(),S=z.nodes,V=z.edges,U=S.length,tt=U*U,at=V.length,lt=new Array(tt),ft=new Array(U),Lt=(1-T)/U,kt=0;kt<U;kt++){for(var Dt=0;Dt<U;Dt++){var It=kt*U+Dt;lt[It]=0}ft[kt]=0}for(var qt=0;qt<at;qt++){var te=V[qt],Yt=te.data("source"),Ht=te.data("target");if(Yt!==Ht){var ie=S.indexOfId(Yt),Wt=S.indexOfId(Ht),be=O(te),we=Wt*U+ie;lt[we]+=be,ft[ie]+=be}}for(var ae=1/U+Lt,Ne=0;Ne<U;Ne++)if(ft[Ne]===0)for(var me=0;me<U;me++){var gn=me*U+Ne;lt[gn]=ae}else for(var ze=0;ze<U;ze++){var Ge=ze*U+Ne;lt[Ge]=lt[Ge]/ft[Ne]+Lt}for(var xn=new Array(U),On=new Array(U),nr,Sn=0;Sn<U;Sn++)xn[Sn]=1;for(var er=0;er<I;er++){for(var fr=0;fr<U;fr++)On[fr]=0;for(var Mr=0;Mr<U;Mr++)for(var yr=0;yr<U;yr++){var lr=Mr*U+yr;On[Mr]+=lt[lr]*xn[yr]}kY(On),nr=xn,xn=On,On=nr;for(var bn=0,Sr=0;Sr<U;Sr++){var Er=nr[Sr]-xn[Sr];bn+=Er*Er}if(bn<L)break}var fi={rank:function(oa){return oa=$.collection(oa)[0],xn[S.indexOf(oa)]}};return fi}},cF=qf({root:null,weight:function(g){return 1},directed:!1,alpha:0}),U5={degreeCentralityNormalized:function(g){g=cF(g);var x=this.cy(),T=this.nodes(),L=T.length;if(g.directed){for(var V={},U={},tt=0,at=0,lt=0;lt<L;lt++){var ft=T[lt],Lt=ft.id();g.root=ft;var kt=this.degreeCentrality(g);tt<kt.indegree&&(tt=kt.indegree),at<kt.outdegree&&(at=kt.outdegree),V[Lt]=kt.indegree,U[Lt]=kt.outdegree}return{indegree:function(It){return tt==0?0:(Tt(It)&&(It=x.filter(It)),V[It.id()]/tt)},outdegree:function(It){return at===0?0:(Tt(It)&&(It=x.filter(It)),U[It.id()]/at)}}}else{for(var I={},O=0,$=0;$<L;$++){var z=T[$];g.root=z;var S=this.degreeCentrality(g);O<S.degree&&(O=S.degree),I[z.id()]=S.degree}return{degree:function(It){return O===0?0:(Tt(It)&&(It=x.filter(It)),I[It.id()]/O)}}}},degreeCentrality:function(g){g=cF(g);var x=this.cy(),T=this,L=g,I=L.root,O=L.weight,$=L.directed,z=L.alpha;if(I=x.collection(I)[0],$){for(var at=I.connectedEdges(),lt=at.filter(function(Yt){return Yt.target().same(I)&&T.has(Yt)}),ft=at.filter(function(Yt){return Yt.source().same(I)&&T.has(Yt)}),Lt=lt.length,kt=ft.length,Dt=0,It=0,qt=0;qt<lt.length;qt++)Dt+=O(lt[qt]);for(var te=0;te<ft.length;te++)It+=O(ft[te]);return{indegree:Math.pow(Lt,1-z)*Math.pow(Dt,z),outdegree:Math.pow(kt,1-z)*Math.pow(It,z)}}else{for(var S=I.connectedEdges().intersection(T),V=S.length,U=0,tt=0;tt<S.length;tt++)U+=O(S[tt]);return{degree:Math.pow(V,1-z)*Math.pow(U,z)}}}};U5.dc=U5.degreeCentrality,U5.dcn=U5.degreeCentralityNormalised=U5.degreeCentralityNormalized;var uF=qf({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),W5={closenessCentralityNormalized:function(g){for(var x=uF(g),T=x.harmonic,L=x.weight,I=x.directed,O=this.cy(),$={},z=0,S=this.nodes(),V=this.floydWarshall({weight:L,directed:I}),U=0;U<S.length;U++){for(var tt=0,at=S[U],lt=0;lt<S.length;lt++)if(U!==lt){var ft=V.distance(at,S[lt]);T?tt+=1/ft:tt+=ft}T||(tt=1/tt),z<tt&&(z=tt),$[at.id()]=tt}return{closeness:function(kt){return z==0?0:(Tt(kt)?kt=O.filter(kt)[0].id():kt=kt.id(),$[kt]/z)}}},closenessCentrality:function(g){var x=uF(g),T=x.root,L=x.weight,I=x.directed,O=x.harmonic;T=this.filter(T)[0];for(var $=this.dijkstra({root:T,weight:L,directed:I}),z=0,S=this.nodes(),V=0;V<S.length;V++){var U=S[V];if(!U.same(T)){var tt=$.distanceTo(U);O?z+=1/tt:z+=tt}}return O?z:1/z}};W5.cc=W5.closenessCentrality,W5.ccn=W5.closenessCentralityNormalised=W5.closenessCentralityNormalized;var zY=qf({weight:null,directed:!1}),DL={betweennessCentrality:function(g){for(var x=zY(g),T=x.directed,L=x.weight,I=L!=null,O=this.cy(),$=this.nodes(),z={},S={},V=0,U={set:function(It,qt){S[It]=qt,qt>V&&(V=qt)},get:function(It){return S[It]}},tt=0;tt<$.length;tt++){var at=$[tt],lt=at.id();T?z[lt]=at.outgoers().nodes():z[lt]=at.openNeighborhood().nodes(),U.set(lt,0)}for(var ft=function(It){for(var qt=$[It].id(),te=[],Yt={},Ht={},ie={},Wt=new wk(function(yr,lr){return ie[yr]-ie[lr]}),be=0;be<$.length;be++){var we=$[be].id();Yt[we]=[],Ht[we]=0,ie[we]=1/0}for(Ht[qt]=1,ie[qt]=0,Wt.push(qt);!Wt.empty();){var ae=Wt.pop();if(te.push(ae),I)for(var Ne=0;Ne<z[ae].length;Ne++){var me=z[ae][Ne],gn=O.getElementById(ae),ze=void 0;gn.edgesTo(me).length>0?ze=gn.edgesTo(me)[0]:ze=me.edgesTo(gn)[0];var Ge=L(ze);me=me.id(),ie[me]>ie[ae]+Ge&&(ie[me]=ie[ae]+Ge,Wt.nodes.indexOf(me)<0?Wt.push(me):Wt.updateItem(me),Ht[me]=0,Yt[me]=[]),ie[me]==ie[ae]+Ge&&(Ht[me]=Ht[me]+Ht[ae],Yt[me].push(ae))}else for(var xn=0;xn<z[ae].length;xn++){var On=z[ae][xn].id();ie[On]==1/0&&(Wt.push(On),ie[On]=ie[ae]+1),ie[On]==ie[ae]+1&&(Ht[On]=Ht[On]+Ht[ae],Yt[On].push(ae))}}for(var nr={},Sn=0;Sn<$.length;Sn++)nr[$[Sn].id()]=0;for(;te.length>0;){for(var er=te.pop(),fr=0;fr<Yt[er].length;fr++){var Mr=Yt[er][fr];nr[Mr]=nr[Mr]+Ht[Mr]/Ht[er]*(1+nr[er])}er!=$[It].id()&&U.set(er,U.get(er)+nr[er])}},Lt=0;Lt<$.length;Lt++)ft(Lt);var kt={betweenness:function(It){var qt=O.collection(It).id();return U.get(qt)},betweennessNormalized:function(It){if(V==0)return 0;var qt=O.collection(It).id();return U.get(qt)/V}};return kt.betweennessNormalised=kt.betweennessNormalized,kt}};DL.bc=DL.betweennessCentrality;var qY=qf({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(y){return 1}]}),HY=function(g){return qY(g)},VY=function(g,x){for(var T=0,L=0;L<x.length;L++)T+=x[L](g);return T},GY=function(g,x,T){for(var L=0;L<x;L++)g[L*x+L]=T},lF=function(g,x){for(var T,L=0;L<x;L++){T=0;for(var I=0;I<x;I++)T+=g[I*x+L];for(var O=0;O<x;O++)g[O*x+L]=g[O*x+L]/T}},UY=function(g,x,T){for(var L=new Array(T*T),I=0;I<T;I++){for(var O=0;O<T;O++)L[I*T+O]=0;for(var $=0;$<T;$++)for(var z=0;z<T;z++)L[I*T+z]+=g[I*T+$]*x[$*T+z]}return L},WY=function(g,x,T){for(var L=g.slice(0),I=1;I<T;I++)g=UY(g,L,x);return g},KY=function(g,x,T){for(var L=new Array(x*x),I=0;I<x*x;I++)L[I]=Math.pow(g[I],T);return lF(L,x),L},hF=function(g,x,T,L){for(var I=0;I<T;I++){var O=Math.round(g[I]*Math.pow(10,L))/Math.pow(10,L),$=Math.round(x[I]*Math.pow(10,L))/Math.pow(10,L);if(O!==$)return!1}return!0},YY=function(g,x,T,L){for(var I=[],O=0;O<x;O++){for(var $=[],z=0;z<x;z++)Math.round(g[O*x+z]*1e3)/1e3>0&&$.push(T[z]);$.length!==0&&I.push(L.collection($))}return I},XY=function(g,x){for(var T=0;T<g.length;T++)if(!x[T]||g[T].id()!==x[T].id())return!1;return!0},QY=function(g){for(var x=0;x<g.length;x++)for(var T=0;T<g.length;T++)x!=T&&XY(g[x],g[T])&&g.splice(T,1);return g},fF=function(g){for(var x=this.nodes(),T=this.edges(),L=this.cy(),I=HY(g),O={},$=0;$<x.length;$++)O[x[$].id()]=$;for(var z=x.length,S=z*z,V=new Array(S),U,tt=0;tt<S;tt++)V[tt]=0;for(var at=0;at<T.length;at++){var lt=T[at],ft=O[lt.source().id()],Lt=O[lt.target().id()],kt=VY(lt,I.attributes);V[ft*z+Lt]+=kt,V[Lt*z+ft]+=kt}GY(V,z,I.multFactor),lF(V,z);for(var Dt=!0,It=0;Dt&&It<I.maxIterations;)Dt=!1,U=WY(V,z,I.expandFactor),V=KY(U,z,I.inflateFactor),hF(V,U,S,4)||(Dt=!0),It++;var qt=YY(V,z,x,L);return qt=QY(qt),qt},ZY={markovClustering:fF,mcl:fF},JY=function(g){return g},dF=function(g,x){return Math.abs(x-g)},gF=function(g,x,T){return g+dF(x,T)},pF=function(g,x,T){return g+Math.pow(T-x,2)},tX=function(g){return Math.sqrt(g)},eX=function(g,x,T){return Math.max(g,dF(x,T))},Ek=function(g,x,T,L,I){for(var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:JY,$=L,z,S,V=0;V<g;V++)z=x(V),S=T(V),$=I($,z,S);return O($)},K5={euclidean:function(g,x,T){return g>=2?Ek(g,x,T,0,pF,tX):Ek(g,x,T,0,gF)},squaredEuclidean:function(g,x,T){return Ek(g,x,T,0,pF)},manhattan:function(g,x,T){return Ek(g,x,T,0,gF)},max:function(g,x,T){return Ek(g,x,T,-1/0,eX)}};K5["squared-euclidean"]=K5.squaredEuclidean,K5.squaredeuclidean=K5.squaredEuclidean;function BE(y,g,x,T,L,I){var O;return yt(y)?O=y:O=K5[y]||K5.euclidean,g===0&&yt(y)?O(L,I):O(g,x,T,L,I)}var nX=qf({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),IL=function(g){return nX(g)},RE=function(g,x,T,L,I){var O=I!=="kMedoids",$=O?function(U){return T[U]}:function(U){return L[U](T)},z=function(tt){return L[tt](x)},S=T,V=x;return BE(g,L.length,$,z,S,V)},OL=function(g,x,T){for(var L=T.length,I=new Array(L),O=new Array(L),$=new Array(x),z=null,S=0;S<L;S++)I[S]=g.min(T[S]).value,O[S]=g.max(T[S]).value;for(var V=0;V<x;V++){z=[];for(var U=0;U<L;U++)z[U]=Math.random()*(O[U]-I[U])+I[U];$[V]=z}return $},bF=function(g,x,T,L,I){for(var O=1/0,$=0,z=0;z<x.length;z++){var S=RE(T,g,x[z],L,I);S<O&&(O=S,$=z)}return $},vF=function(g,x,T){for(var L=[],I=null,O=0;O<x.length;O++)I=x[O],T[I.id()]===g&&L.push(I);return L},rX=function(g,x,T){return Math.abs(x-g)<=T},iX=function(g,x,T){for(var L=0;L<g.length;L++)for(var I=0;I<g[L].length;I++){var O=Math.abs(g[L][I]-x[L][I]);if(O>T)return!1}return!0},sX=function(g,x,T){for(var L=0;L<T;L++)if(g===x[L])return!0;return!1},wF=function(g,x){var T=new Array(x);if(g.length<50)for(var L=0;L<x;L++){for(var I=g[Math.floor(Math.random()*g.length)];sX(I,T,L);)I=g[Math.floor(Math.random()*g.length)];T[L]=I}else for(var O=0;O<x;O++)T[O]=g[Math.floor(Math.random()*g.length)];return T},mF=function(g,x,T){for(var L=0,I=0;I<x.length;I++)L+=RE("manhattan",x[I],g,T,"kMedoids");return L},aX=function(g){var x=this.cy(),T=this.nodes(),L=null,I=IL(g),O=new Array(I.k),$={},z;I.testMode?typeof I.testCentroids=="number"?(I.testCentroids,z=OL(T,I.k,I.attributes)):f(I.testCentroids)==="object"?z=I.testCentroids:z=OL(T,I.k,I.attributes):z=OL(T,I.k,I.attributes);for(var S=!0,V=0;S&&V<I.maxIterations;){for(var U=0;U<T.length;U++)L=T[U],$[L.id()]=bF(L,z,I.distance,I.attributes,"kMeans");S=!1;for(var tt=0;tt<I.k;tt++){var at=vF(tt,T,$);if(at.length!==0){for(var lt=I.attributes.length,ft=z[tt],Lt=new Array(lt),kt=new Array(lt),Dt=0;Dt<lt;Dt++){kt[Dt]=0;for(var It=0;It<at.length;It++)L=at[It],kt[Dt]+=I.attributes[Dt](L);Lt[Dt]=kt[Dt]/at.length,rX(Lt[Dt],ft[Dt],I.sensitivityThreshold)||(S=!0)}z[tt]=Lt,O[tt]=x.collection(at)}}V++}return O},oX=function(g){var x=this.cy(),T=this.nodes(),L=null,I=IL(g),O=new Array(I.k),$,z={},S,V=new Array(I.k);I.testMode?typeof I.testCentroids=="number"||(f(I.testCentroids)==="object"?$=I.testCentroids:$=wF(T,I.k)):$=wF(T,I.k);for(var U=!0,tt=0;U&&tt<I.maxIterations;){for(var at=0;at<T.length;at++)L=T[at],z[L.id()]=bF(L,$,I.distance,I.attributes,"kMedoids");U=!1;for(var lt=0;lt<$.length;lt++){var ft=vF(lt,T,z);if(ft.length!==0){V[lt]=mF($[lt],ft,I.attributes);for(var Lt=0;Lt<ft.length;Lt++)S=mF(ft[Lt],ft,I.attributes),S<V[lt]&&(V[lt]=S,$[lt]=ft[Lt],U=!0);O[lt]=x.collection(ft)}}tt++}return O},cX=function(g,x,T,L,I){for(var O,$,z=0;z<x.length;z++)for(var S=0;S<g.length;S++)L[z][S]=Math.pow(T[z][S],I.m);for(var V=0;V<g.length;V++)for(var U=0;U<I.attributes.length;U++){O=0,$=0;for(var tt=0;tt<x.length;tt++)O+=L[tt][V]*I.attributes[U](x[tt]),$+=L[tt][V];g[V][U]=O/$}},uX=function(g,x,T,L,I){for(var O=0;O<g.length;O++)x[O]=g[O].slice();for(var $,z,S,V=2/(I.m-1),U=0;U<T.length;U++)for(var tt=0;tt<L.length;tt++){$=0;for(var at=0;at<T.length;at++)z=RE(I.distance,L[tt],T[U],I.attributes,"cmeans"),S=RE(I.distance,L[tt],T[at],I.attributes,"cmeans"),$+=Math.pow(z/S,V);g[tt][U]=1/$}},lX=function(g,x,T,L){for(var I=new Array(T.k),O=0;O<I.length;O++)I[O]=[];for(var $,z,S=0;S<x.length;S++){$=-1/0,z=-1;for(var V=0;V<x[0].length;V++)x[S][V]>$&&($=x[S][V],z=V);I[z].push(g[S])}for(var U=0;U<I.length;U++)I[U]=L.collection(I[U]);return I},yF=function(g){var x=this.cy(),T=this.nodes(),L=IL(g),I,O,$,z,S;z=new Array(T.length);for(var V=0;V<T.length;V++)z[V]=new Array(L.k);$=new Array(T.length);for(var U=0;U<T.length;U++)$[U]=new Array(L.k);for(var tt=0;tt<T.length;tt++){for(var at=0,lt=0;lt<L.k;lt++)$[tt][lt]=Math.random(),at+=$[tt][lt];for(var ft=0;ft<L.k;ft++)$[tt][ft]=$[tt][ft]/at}O=new Array(L.k);for(var Lt=0;Lt<L.k;Lt++)O[Lt]=new Array(L.attributes.length);S=new Array(T.length);for(var kt=0;kt<T.length;kt++)S[kt]=new Array(L.k);for(var Dt=!0,It=0;Dt&&It<L.maxIterations;)Dt=!1,cX(O,T,$,S,L),uX($,z,O,T,L),iX($,z,L.sensitivityThreshold)||(Dt=!0),It++;return I=lX(T,$,L,x),{clusters:I,degreeOfMembership:$}},hX={kMeans:aX,kMedoids:oX,fuzzyCMeans:yF,fcm:yF},fX=qf({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),dX={single:"min",complete:"max"},gX=function(g){var x=fX(g),T=dX[x.linkage];return T!=null&&(x.linkage=T),x},xF=function(g,x,T,L,I){for(var O=0,$=1/0,z,S=I.attributes,V=function(Wt,be){return BE(I.distance,S.length,function(we){return S[we](Wt)},function(we){return S[we](be)},Wt,be)},U=0;U<g.length;U++){var tt=g[U].key,at=T[tt][L[tt]];at<$&&(O=tt,$=at)}if(I.mode==="threshold"&&$>=I.threshold||I.mode==="dendrogram"&&g.length===1)return!1;var lt=x[O],ft=x[L[O]],Lt;I.mode==="dendrogram"?Lt={left:lt,right:ft,key:lt.key}:Lt={value:lt.value.concat(ft.value),key:lt.key},g[lt.index]=Lt,g.splice(ft.index,1),x[lt.key]=Lt;for(var kt=0;kt<g.length;kt++){var Dt=g[kt];lt.key===Dt.key?z=1/0:I.linkage==="min"?(z=T[lt.key][Dt.key],T[lt.key][Dt.key]>T[ft.key][Dt.key]&&(z=T[ft.key][Dt.key])):I.linkage==="max"?(z=T[lt.key][Dt.key],T[lt.key][Dt.key]<T[ft.key][Dt.key]&&(z=T[ft.key][Dt.key])):I.linkage==="mean"?z=(T[lt.key][Dt.key]*lt.size+T[ft.key][Dt.key]*ft.size)/(lt.size+ft.size):I.mode==="dendrogram"?z=V(Dt.value,lt.value):z=V(Dt.value[0],lt.value[0]),T[lt.key][Dt.key]=T[Dt.key][lt.key]=z}for(var It=0;It<g.length;It++){var qt=g[It].key;if(L[qt]===lt.key||L[qt]===ft.key){for(var te=qt,Yt=0;Yt<g.length;Yt++){var Ht=g[Yt].key;T[qt][Ht]<T[qt][te]&&(te=Ht)}L[qt]=te}g[It].index=It}return lt.key=ft.key=lt.index=ft.index=null,!0},jE=function y(g,x,T){g&&(g.value?x.push(g.value):(g.left&&y(g.left,x),g.right&&y(g.right,x)))},pX=function y(g,x){if(!g)return"";if(g.left&&g.right){var T=y(g.left,x),L=y(g.right,x),I=x.add({group:"nodes",data:{id:T+","+L}});return x.add({group:"edges",data:{source:T,target:I.id()}}),x.add({group:"edges",data:{source:L,target:I.id()}}),I.id()}else if(g.value)return g.value.id()},bX=function y(g,x,T){if(!g)return[];var L=[],I=[],O=[];return x===0?(g.left&&jE(g.left,L),g.right&&jE(g.right,I),O=L.concat(I),[T.collection(O)]):x===1?g.value?[T.collection(g.value)]:(g.left&&jE(g.left,L),g.right&&jE(g.right,I),[T.collection(L),T.collection(I)]):g.value?[T.collection(g.value)]:(g.left&&(L=y(g.left,x-1,T)),g.right&&(I=y(g.right,x-1,T)),L.concat(I))},kF=function(g){for(var x=this.cy(),T=this.nodes(),L=gX(g),I=L.attributes,O=function(It,qt){return BE(L.distance,I.length,function(te){return I[te](It)},function(te){return I[te](qt)},It,qt)},$=[],z=[],S=[],V=[],U=0;U<T.length;U++){var tt={value:L.mode==="dendrogram"?T[U]:[T[U]],key:U,index:U};$[U]=tt,V[U]=tt,z[U]=[],S[U]=0}for(var at=0;at<$.length;at++)for(var lt=0;lt<=at;lt++){var ft=void 0;L.mode==="dendrogram"?ft=at===lt?1/0:O($[at].value,$[lt].value):ft=at===lt?1/0:O($[at].value[0],$[lt].value[0]),z[at][lt]=ft,z[lt][at]=ft,ft<z[at][S[at]]&&(S[at]=lt)}for(var Lt=xF($,V,z,S,L);Lt;)Lt=xF($,V,z,S,L);var kt;return L.mode==="dendrogram"?(kt=bX($[0],L.dendrogramDepth,x),L.addDendrogram&&pX($[0],x)):(kt=new Array($.length),$.forEach(function(Dt,It){Dt.key=Dt.index=null,kt[It]=x.collection(Dt.value)})),kt},vX={hierarchicalClustering:kF,hca:kF},wX=qf({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),mX=function(g){var x=g.damping,T=g.preference;.5<=x&&x<1||Ec("Damping must range on [0.5, 1). Got: ".concat(x));var L=["median","mean","min","max"];return L.some(function(I){return I===T})||st(T)||Ec("Preference must be one of [".concat(L.map(function(I){return"'".concat(I,"'")}).join(", "),"] or a number. Got: ").concat(T)),wX(g)},yX=function(g,x,T,L){var I=function($,z){return L[z]($)};return-BE(g,L.length,function(O){return I(x,O)},function(O){return I(T,O)},x,T)},xX=function(g,x){var T=null;return x==="median"?T=yY(g):x==="mean"?T=mY(g):x==="min"?T=vY(g):x==="max"?T=wY(g):T=x,T},kX=function(g,x,T){for(var L=[],I=0;I<g;I++)x[I*g+I]+T[I*g+I]>0&&L.push(I);return L},EF=function(g,x,T){for(var L=[],I=0;I<g;I++){for(var O=-1,$=-1/0,z=0;z<T.length;z++){var S=T[z];x[I*g+S]>$&&(O=S,$=x[I*g+S])}O>0&&L.push(O)}for(var V=0;V<T.length;V++)L[T[V]]=T[V];return L},EX=function(g,x,T){for(var L=EF(g,x,T),I=0;I<T.length;I++){for(var O=[],$=0;$<L.length;$++)L[$]===T[I]&&O.push($);for(var z=-1,S=-1/0,V=0;V<O.length;V++){for(var U=0,tt=0;tt<O.length;tt++)U+=x[O[tt]*g+O[V]];U>S&&(z=V,S=U)}T[I]=O[z]}return L=EF(g,x,T),L},TF=function(g){for(var x=this.cy(),T=this.nodes(),L=mX(g),I={},O=0;O<T.length;O++)I[T[O].id()]=O;var $,z,S,V,U,tt;$=T.length,z=$*$,S=new Array(z);for(var at=0;at<z;at++)S[at]=-1/0;for(var lt=0;lt<$;lt++)for(var ft=0;ft<$;ft++)lt!==ft&&(S[lt*$+ft]=yX(L.distance,T[lt],T[ft],L.attributes));V=xX(S,L.preference);for(var Lt=0;Lt<$;Lt++)S[Lt*$+Lt]=V;U=new Array(z);for(var kt=0;kt<z;kt++)U[kt]=0;tt=new Array(z);for(var Dt=0;Dt<z;Dt++)tt[Dt]=0;for(var It=new Array($),qt=new Array($),te=new Array($),Yt=0;Yt<$;Yt++)It[Yt]=0,qt[Yt]=0,te[Yt]=0;for(var Ht=new Array($*L.minIterations),ie=0;ie<Ht.length;ie++)Ht[ie]=0;var Wt;for(Wt=0;Wt<L.maxIterations;Wt++){for(var be=0;be<$;be++){for(var we=-1/0,ae=-1/0,Ne=-1,me=0,gn=0;gn<$;gn++)It[gn]=U[be*$+gn],me=tt[be*$+gn]+S[be*$+gn],me>=we?(ae=we,we=me,Ne=gn):me>ae&&(ae=me);for(var ze=0;ze<$;ze++)U[be*$+ze]=(1-L.damping)*(S[be*$+ze]-we)+L.damping*It[ze];U[be*$+Ne]=(1-L.damping)*(S[be*$+Ne]-ae)+L.damping*It[Ne]}for(var Ge=0;Ge<$;Ge++){for(var xn=0,On=0;On<$;On++)It[On]=tt[On*$+Ge],qt[On]=Math.max(0,U[On*$+Ge]),xn+=qt[On];xn-=qt[Ge],qt[Ge]=U[Ge*$+Ge],xn+=qt[Ge];for(var nr=0;nr<$;nr++)tt[nr*$+Ge]=(1-L.damping)*Math.min(0,xn-qt[nr])+L.damping*It[nr];tt[Ge*$+Ge]=(1-L.damping)*(xn-qt[Ge])+L.damping*It[Ge]}for(var Sn=0,er=0;er<$;er++){var fr=tt[er*$+er]+U[er*$+er]>0?1:0;Ht[Wt%L.minIterations*$+er]=fr,Sn+=fr}if(Sn>0&&(Wt>=L.minIterations-1||Wt==L.maxIterations-1)){for(var Mr=0,yr=0;yr<$;yr++){te[yr]=0;for(var lr=0;lr<L.minIterations;lr++)te[yr]+=Ht[lr*$+yr];(te[yr]===0||te[yr]===L.minIterations)&&Mr++}if(Mr===$)break}}for(var bn=kX($,U,tt),Sr=EX($,S,bn),Er={},fi=0;fi<bn.length;fi++)Er[bn[fi]]=[];for(var Ii=0;Ii<T.length;Ii++){var oa=I[T[Ii].id()],Ra=Sr[oa];Ra!=null&&Er[Ra].push(T[Ii])}for(var Fi=new Array(bn.length),_i=0;_i<bn.length;_i++)Fi[_i]=x.collection(Er[bn[_i]]);return Fi},TX={affinityPropagation:TF,ap:TF},_X=qf({root:void 0,directed:!1}),CX={hierholzer:function(g){if(!ut(g)){var x=arguments;g={root:x[0],directed:x[1]}}var T=_X(g),L=T.root,I=T.directed,O=this,$=!1,z,S,V;L&&(V=Tt(L)?this.filter(L)[0].id():L[0].id());var U={},tt={};I?O.forEach(function(Dt){var It=Dt.id();if(Dt.isNode()){var qt=Dt.indegree(!0),te=Dt.outdegree(!0),Yt=qt-te,Ht=te-qt;Yt==1?z?$=!0:z=It:Ht==1?S?$=!0:S=It:(Ht>1||Yt>1)&&($=!0),U[It]=[],Dt.outgoers().forEach(function(ie){ie.isEdge()&&U[It].push(ie.id())})}else tt[It]=[void 0,Dt.target().id()]}):O.forEach(function(Dt){var It=Dt.id();if(Dt.isNode()){var qt=Dt.degree(!0);qt%2&&(z?S?$=!0:S=It:z=It),U[It]=[],Dt.connectedEdges().forEach(function(te){return U[It].push(te.id())})}else tt[It]=[Dt.source().id(),Dt.target().id()]});var at={found:!1,trail:void 0};if($)return at;if(S&&z)if(I){if(V&&S!=V)return at;V=S}else{if(V&&S!=V&&z!=V)return at;V||(V=S)}else V||(V=O[0].id());var lt=function(It){for(var qt=It,te=[It],Yt,Ht,ie;U[qt].length;)Yt=U[qt].shift(),Ht=tt[Yt][0],ie=tt[Yt][1],qt!=ie?(U[ie]=U[ie].filter(function(Wt){return Wt!=Yt}),qt=ie):!I&&qt!=Ht&&(U[Ht]=U[Ht].filter(function(Wt){return Wt!=Yt}),qt=Ht),te.unshift(Yt),te.unshift(qt);return te},ft=[],Lt=[];for(Lt=lt(V);Lt.length!=1;)U[Lt[0]].length==0?(ft.unshift(O.getElementById(Lt.shift())),ft.unshift(O.getElementById(Lt.shift()))):Lt=lt(Lt.shift()).concat(Lt);ft.unshift(O.getElementById(Lt.shift()));for(var kt in U)if(U[kt].length)return at;return at.found=!0,at.trail=this.spawn(ft,!0),at}},$E=function(){var g=this,x={},T=0,L=0,I=[],O=[],$={},z=function(tt,at){for(var lt=O.length-1,ft=[],Lt=g.spawn();O[lt].x!=tt||O[lt].y!=at;)ft.push(O.pop().edge),lt--;ft.push(O.pop().edge),ft.forEach(function(kt){var Dt=kt.connectedNodes().intersection(g);Lt.merge(kt),Dt.forEach(function(It){var qt=It.id(),te=It.connectedEdges().intersection(g);Lt.merge(It),x[qt].cutVertex?Lt.merge(te.filter(function(Yt){return Yt.isLoop()})):Lt.merge(te)})}),I.push(Lt)},S=function U(tt,at,lt){tt===lt&&(L+=1),x[at]={id:T,low:T++,cutVertex:!1};var ft=g.getElementById(at).connectedEdges().intersection(g);if(ft.size()===0)I.push(g.spawn(g.getElementById(at)));else{var Lt,kt,Dt,It;ft.forEach(function(qt){Lt=qt.source().id(),kt=qt.target().id(),Dt=Lt===at?kt:Lt,Dt!==lt&&(It=qt.id(),$[It]||($[It]=!0,O.push({x:at,y:Dt,edge:qt})),Dt in x?x[at].low=Math.min(x[at].low,x[Dt].id):(U(tt,Dt,at),x[at].low=Math.min(x[at].low,x[Dt].low),x[at].id<=x[Dt].low&&(x[at].cutVertex=!0,z(at,Dt))))})}};g.forEach(function(U){if(U.isNode()){var tt=U.id();tt in x||(L=0,S(tt,tt),x[tt].cutVertex=L>1)}});var V=Object.keys(x).filter(function(U){return x[U].cutVertex}).map(function(U){return g.getElementById(U)});return{cut:g.spawn(V),components:I}},SX={hopcroftTarjanBiconnected:$E,htbc:$E,htb:$E,hopcroftTarjanBiconnectedComponents:$E},zE=function(){var g=this,x={},T=0,L=[],I=[],O=g.spawn(g),$=function z(S){I.push(S),x[S]={index:T,low:T++,explored:!1};var V=g.getElementById(S).connectedEdges().intersection(g);if(V.forEach(function(ft){var Lt=ft.target().id();Lt!==S&&(Lt in x||z(Lt),x[Lt].explored||(x[S].low=Math.min(x[S].low,x[Lt].low)))}),x[S].index===x[S].low){for(var U=g.spawn();;){var tt=I.pop();if(U.merge(g.getElementById(tt)),x[tt].low=x[S].index,x[tt].explored=!0,tt===S)break}var at=U.edgesWith(U),lt=U.merge(at);L.push(lt),O=O.difference(lt)}};return g.forEach(function(z){if(z.isNode()){var S=z.id();S in x||$(S)}}),{cut:O,components:L}},AX={tarjanStronglyConnected:zE,tsc:zE,tscc:zE,tarjanStronglyConnectedComponents:zE},_F={};[vk,sY,aY,cY,lY,fY,pY,$Y,U5,W5,DL,ZY,hX,vX,TX,CX,SX,AX].forEach(function(y){Pe(_F,y)});/*!
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 JP=0,eB=1,tB=2,tv=function m(g){if(!(this instanceof m))return new m(g);this.id="Thenable/1.0.7",this.state=JP,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof g=="function"&&g.call(this,this.fulfill.bind(this),this.reject.bind(this))};tv.prototype={fulfill:function(g){return nB(this,eB,"fulfillValue",g)},reject:function(g){return nB(this,tB,"rejectReason",g)},then:function(g,y){var E=this,S=new tv;return E.onFulfilled.push(sB(g,S,"fulfill")),E.onRejected.push(sB(y,S,"reject")),rB(E),S.proxy}};var nB=function(g,y,E,S){return g.state===JP&&(g.state=y,g[E]=S,rB(g)),g},rB=function(g){g.state===eB?iB(g,"onFulfilled",g.fulfillValue):g.state===tB&&iB(g,"onRejected",g.rejectReason)},iB=function(g,y,E){if(g[y].length!==0){var S=g[y];g[y]=[];var D=function(){for(var R=0;R<S.length;R++)S[R](E)};typeof setImmediate=="function"?setImmediate(D):setTimeout(D,0)}},sB=function(g,y,E){return function(S){if(typeof g!="function")y[E].call(y,S);else{var D;try{D=g(S)}catch(I){y.reject(I);return}rX(y,D)}}},rX=function m(g,y){if(g===y||g.proxy===y){g.reject(new TypeError("cannot resolve promise with itself"));return}var E;if(f(y)==="object"&&y!==null||typeof y=="function")try{E=y.then}catch(D){g.reject(D);return}if(typeof E=="function"){var S=!1;try{E.call(y,function(D){S||(S=!0,D===y?g.reject(new TypeError("circular thenable chain")):m(g,D))},function(D){S||(S=!0,g.reject(D))})}catch(D){S||g.reject(D)}return}g.fulfill(y)};tv.all=function(m){return new tv(function(g,y){for(var E=new Array(m.length),S=0,D=function($,C){E[$]=C,S++,S===m.length&&g(E)},I=0;I<m.length;I++)(function(R){var $=m[R],C=$!=null&&$.then!=null;if(C)$.then(function(U){D(R,U)},function(U){y(U)});else{var G=$;D(R,G)}})(I)})},tv.resolve=function(m){return new tv(function(g,y){g(m)})},tv.reject=function(m){return new tv(function(g,y){y(m)})};var H5=typeof Promise<"u"?Promise:tv,_9=function(g,y,E){var S=Re(g),D=!S,I=this._private=Oe({duration:1e3},y,E);if(I.target=g,I.style=I.style||I.css,I.started=!1,I.playing=!1,I.hooked=!1,I.applying=!1,I.progress=0,I.completes=[],I.frames=[],I.complete&&Ee(I.complete)&&I.completes.push(I.complete),D){var R=g.position();I.startPosition=I.startPosition||{x:R.x,y:R.y},I.startStyle=I.startStyle||g.cy().style().getAnimationStartStyle(g,I.style)}if(S){var $=g.pan();I.startPan={x:$.x,y:$.y},I.startZoom=g.zoom()}this.length=1,this[0]=this},w3=_9.prototype;Oe(w3,{instanceString:function(){return"animation"},hook:function(){var g=this._private;if(!g.hooked){var y,E=g.target._private.animation;g.queue?y=E.queue:y=E.current,y.push(this),he(g.target)&&g.target.cy().addToAnimationPool(g.target),g.hooked=!0}return this},play:function(){var g=this._private;return g.progress===1&&(g.progress=0),g.playing=!0,g.started=!1,g.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var g=this._private;return g.applying=!0,g.started=!1,g.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var g=this._private;return g.playing=!1,g.started=!1,this},stop:function(){var g=this._private;return g.playing=!1,g.started=!1,g.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(g){var y=this._private;return g===void 0?y.progress*y.duration:this.progress(g/y.duration)},progress:function(g){var y=this._private,E=y.playing;return g===void 0?y.progress:(E&&this.pause(),y.progress=g,y.started=!1,E&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var g=this._private,y=g.playing;y&&this.pause(),g.progress=1-g.progress,g.started=!1;var E=function(C,G){var U=g[C];U!=null&&(g[C]=g[G],g[G]=U)};if(E("zoom","startZoom"),E("pan","startPan"),E("position","startPosition"),g.style)for(var S=0;S<g.style.length;S++){var D=g.style[S],I=D.name,R=g.startStyle[I];g.startStyle[I]=D,g.style[S]=R}return y&&this.play(),this},promise:function(g){var y=this._private,E;switch(g){case"frame":E=y.frames;break;default:case"complete":case"completed":E=y.completes}return new H5(function(S,D){E.push(function(){S()})})}}),w3.complete=w3.completed,w3.run=w3.play,w3.running=w3.playing;var iX={animated:function(){return function(){var y=this,E=y.length!==void 0,S=E?y:[y],D=this._private.cy||this;if(!D.styleEnabled())return!1;var I=S[0];if(I)return I._private.animation.current.length>0}},clearQueue:function(){return function(){var y=this,E=y.length!==void 0,S=E?y:[y],D=this._private.cy||this;if(!D.styleEnabled())return this;for(var I=0;I<S.length;I++){var R=S[I];R._private.animation.queue=[]}return this}},delay:function(){return function(y,E){var S=this._private.cy||this;return S.styleEnabled()?this.animate({delay:y,duration:y,complete:E}):this}},delayAnimation:function(){return function(y,E){var S=this._private.cy||this;return S.styleEnabled()?this.animation({delay:y,duration:y,complete:E}):this}},animation:function(){return function(y,E){var S=this,D=S.length!==void 0,I=D?S:[S],R=this._private.cy||this,$=!D,C=!$;if(!R.styleEnabled())return this;var G=R.style();y=Oe({},y,E);var U=Object.keys(y).length===0;if(U)return new _9(I[0],y);switch(y.duration===void 0&&(y.duration=400),y.duration){case"slow":y.duration=600;break;case"fast":y.duration=200;break}if(C&&(y.style=G.getPropsList(y.style||y.css),y.css=void 0),C&&y.renderedPosition!=null){var J=y.renderedPosition,te=R.pan(),se=R.zoom();y.position=CP(J,se,te)}if($&&y.panBy!=null){var oe=y.panBy,Ce=R.pan();y.pan={x:Ce.x+oe.x,y:Ce.y+oe.y}}var ve=y.center||y.centre;if($&&ve!=null){var Ae=R.getCenterPan(ve.eles,y.zoom);Ae!=null&&(y.pan=Ae)}if($&&y.fit!=null){var Le=y.fit,Be=R.getFitViewport(Le.eles||Le.boundingBox,Le.padding);Be!=null&&(y.pan=Be.pan,y.zoom=Be.zoom)}if($&&fe(y.zoom)){var Xe=R.getZoomedViewport(y.zoom);Xe!=null?(Xe.zoomed&&(y.zoom=Xe.zoom),Xe.panned&&(y.pan=Xe.pan)):y.zoom=null}return new _9(I[0],y)}},animate:function(){return function(y,E){var S=this,D=S.length!==void 0,I=D?S:[S],R=this._private.cy||this;if(!R.styleEnabled())return this;E&&(y=Oe({},y,E));for(var $=0;$<I.length;$++){var C=I[$],G=C.animated()&&(y.queue===void 0||y.queue),U=C.animation(y,G?{queue:!0}:void 0);U.play()}return this}},stop:function(){return function(y,E){var S=this,D=S.length!==void 0,I=D?S:[S],R=this._private.cy||this;if(!R.styleEnabled())return this;for(var $=0;$<I.length;$++){for(var C=I[$],G=C._private,U=G.animation.current,J=0;J<U.length;J++){var te=U[J],se=te._private;E&&(se.duration=0)}y&&(G.animation.queue=[]),E||(G.animation.current=[])}return R.notify("draw"),this}}},sX=Array.isArray,C9=sX,aX=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,oX=/^\w*$/;function cX(m,g){if(C9(m))return!1;var y=typeof m;return y=="number"||y=="symbol"||y=="boolean"||m==null||Ai(m)?!0:oX.test(m)||!aX.test(m)||g!=null&&m in Object(g)}var uX=cX,lX="[object AsyncFunction]",hX="[object Function]",fX="[object GeneratorFunction]",dX="[object Proxy]";function gX(m){if(!ha(m))return!1;var g=el(m);return g==hX||g==fX||g==lX||g==dX}var pX=gX,bX=Ji["__core-js_shared__"],hL=bX,aB=function(){var m=/[^.]+$/.exec(hL&&hL.keys&&hL.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function vX(m){return!!aB&&aB in m}var wX=vX,mX=Function.prototype,oB=mX.toString;function yX(m){if(m!=null){try{return oB.call(m)}catch{}try{return m+""}catch{}}return""}var kX=yX,xX=/[\\^$.*+?()[\]{}|]/g,EX=/^\[object .+?Constructor\]$/,TX=Function.prototype,_X=Object.prototype,cB=TX.toString,uB=_X.hasOwnProperty,CX=RegExp("^"+cB.call(uB).replace(xX,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lB(m){if(!ha(m)||wX(m))return!1;var g=pX(m)?CX:EX;return g.test(kX(m))}var hB=lB;function SX(m,g){return m==null?void 0:m[g]}var AX=SX;function LX(m,g){var y=AX(m,g);return hB(y)?y:void 0}var fL=LX,MX=fL(Object,"create"),d8=MX;function DX(){this.__data__=d8?d8(null):{},this.size=0}var IX=DX;function OX(m){var g=this.has(m)&&delete this.__data__[m];return this.size-=g?1:0,g}var fB=OX,NX="__lodash_hash_undefined__",PX=Object.prototype,BX=PX.hasOwnProperty;function FX(m){var g=this.__data__;if(d8){var y=g[m];return y===NX?void 0:y}return BX.call(g,m)?g[m]:void 0}var RX=FX,jX=Object.prototype,$X=jX.hasOwnProperty;function HX(m){var g=this.__data__;return d8?g[m]!==void 0:$X.call(g,m)}var zX=HX,GX="__lodash_hash_undefined__";function qX(m,g){var y=this.__data__;return this.size+=this.has(m)?0:1,y[m]=d8&&g===void 0?GX:g,this}var VX=qX;function z5(m){var g=-1,y=m==null?0:m.length;for(this.clear();++g<y;){var E=m[g];this.set(E[0],E[1])}}z5.prototype.clear=IX,z5.prototype.delete=fB,z5.prototype.get=RX,z5.prototype.has=zX,z5.prototype.set=VX;var dB=z5;function UX(){this.__data__=[],this.size=0}var KX=UX;function WX(m,g){return m===g||m!==m&&g!==g}var gB=WX;function YX(m,g){for(var y=m.length;y--;)if(gB(m[y][0],g))return y;return-1}var S9=YX,XX=Array.prototype,QX=XX.splice;function ZX(m){var g=this.__data__,y=S9(g,m);if(y<0)return!1;var E=g.length-1;return y==E?g.pop():QX.call(g,y,1),--this.size,!0}var JX=ZX;function eQ(m){var g=this.__data__,y=S9(g,m);return y<0?void 0:g[y][1]}var tQ=eQ;function nQ(m){return S9(this.__data__,m)>-1}var rQ=nQ;function iQ(m,g){var y=this.__data__,E=S9(y,m);return E<0?(++this.size,y.push([m,g])):y[E][1]=g,this}var sQ=iQ;function G5(m){var g=-1,y=m==null?0:m.length;for(this.clear();++g<y;){var E=m[g];this.set(E[0],E[1])}}G5.prototype.clear=KX,G5.prototype.delete=JX,G5.prototype.get=tQ,G5.prototype.has=rQ,G5.prototype.set=sQ;var aQ=G5,oQ=fL(Ji,"Map"),cQ=oQ;function uQ(){this.size=0,this.__data__={hash:new dB,map:new(cQ||aQ),string:new dB}}var lQ=uQ;function hQ(m){var g=typeof m;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?m!=="__proto__":m===null}var fQ=hQ;function dQ(m,g){var y=m.__data__;return fQ(g)?y[typeof g=="string"?"string":"hash"]:y.map}var A9=dQ;function gQ(m){var g=A9(this,m).delete(m);return this.size-=g?1:0,g}var pQ=gQ;function bQ(m){return A9(this,m).get(m)}var vQ=bQ;function wQ(m){return A9(this,m).has(m)}var mQ=wQ;function yQ(m,g){var y=A9(this,m),E=y.size;return y.set(m,g),this.size+=y.size==E?0:1,this}var kQ=yQ;function q5(m){var g=-1,y=m==null?0:m.length;for(this.clear();++g<y;){var E=m[g];this.set(E[0],E[1])}}q5.prototype.clear=lQ,q5.prototype.delete=pQ,q5.prototype.get=vQ,q5.prototype.has=mQ,q5.prototype.set=kQ;var pB=q5,xQ="Expected a function";function dL(m,g){if(typeof m!="function"||g!=null&&typeof g!="function")throw new TypeError(xQ);var y=function(){var E=arguments,S=g?g.apply(this,E):E[0],D=y.cache;if(D.has(S))return D.get(S);var I=m.apply(this,E);return y.cache=D.set(S,I)||D,I};return y.cache=new(dL.Cache||pB),y}dL.Cache=pB;var EQ=dL,TQ=500;function _Q(m){var g=EQ(m,function(E){return y.size===TQ&&y.clear(),E}),y=g.cache;return g}var CQ=_Q,SQ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,AQ=/\\(\\)?/g,LQ=CQ(function(m){var g=[];return m.charCodeAt(0)===46&&g.push(""),m.replace(SQ,function(y,E,S,D){g.push(S?D.replace(AQ,"$1"):E||y)}),g}),bB=LQ;function MQ(m,g){for(var y=-1,E=m==null?0:m.length,S=Array(E);++y<E;)S[y]=g(m[y],y,m);return S}var vB=MQ,DQ=1/0,wB=Ms?Ms.prototype:void 0,mB=wB?wB.toString:void 0;function yB(m){if(typeof m=="string")return m;if(C9(m))return vB(m,yB)+"";if(Ai(m))return mB?mB.call(m):"";var g=m+"";return g=="0"&&1/m==-DQ?"-0":g}var IQ=yB;function OQ(m){return m==null?"":IQ(m)}var L9=OQ;function gL(m,g){return C9(m)?m:uX(m,g)?[m]:bB(L9(m))}var M9=gL,NQ=1/0;function PQ(m){if(typeof m=="string"||Ai(m))return m;var g=m+"";return g=="0"&&1/m==-NQ?"-0":g}var pL=PQ;function BQ(m,g){g=M9(g,m);for(var y=0,E=g.length;m!=null&&y<E;)m=m[pL(g[y++])];return y&&y==E?m:void 0}var FQ=BQ;function kB(m,g,y){var E=m==null?void 0:FQ(m,g);return E===void 0?y:E}var RQ=kB,jQ=function(){try{var m=fL(Object,"defineProperty");return m({},"",{}),m}catch{}}(),$Q=jQ;function HQ(m,g,y){g=="__proto__"&&$Q?$Q(m,g,{configurable:!0,enumerable:!0,value:y,writable:!0}):m[g]=y}var zQ=HQ,GQ=Object.prototype,qQ=GQ.hasOwnProperty;function VQ(m,g,y){var E=m[g];(!(qQ.call(m,g)&&gB(E,y))||y===void 0&&!(g in m))&&zQ(m,g,y)}var UQ=VQ,KQ=9007199254740991,og=/^(?:0|[1-9]\d*)$/;function WQ(m,g){var y=typeof m;return g=g??KQ,!!g&&(y=="number"||y!="symbol"&&og.test(m))&&m>-1&&m%1==0&&m<g}var um=WQ;function xB(m,g,y,E){if(!ha(m))return m;g=M9(g,m);for(var S=-1,D=g.length,I=D-1,R=m;R!=null&&++S<D;){var $=pL(g[S]),C=y;if($==="__proto__"||$==="constructor"||$==="prototype")return m;if(S!=I){var G=R[$];C=E?E(G,$,R):void 0,C===void 0&&(C=ha(G)?G:um(g[S+1])?[]:{})}UQ(R,$,C),R=R[$]}return m}var YQ=xB;function XQ(m,g,y){return m==null?m:YQ(m,g,y)}var QQ=XQ;function ZQ(m,g){var y=-1,E=m.length;for(g||(g=Array(E));++y<E;)g[y]=m[y];return g}var JQ=ZQ;function eZ(m){return C9(m)?vB(m,pL):Ai(m)?[m]:JQ(bB(L9(m)))}var tZ=eZ,nZ={data:function(g){var y={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(S){},beforeSet:function(S,D){},onSet:function(S){},canSet:function(S){return!0}};return g=Oe({},y,g),function(S,D){var I=g,R=this,$=R.length!==void 0,C=$?R:[R],G=$?R[0]:R;if(xe(S)){var U=S.indexOf(".")!==-1,J=U&&tZ(S);if(I.allowGetting&&D===void 0){var te;return G&&(I.beforeGet(G),J&&G._private[I.field][S]===void 0?te=RQ(G._private[I.field],J):te=G._private[I.field][S]),te}else if(I.allowSetting&&D!==void 0){var se=!I.immutableKeys[S];if(se){var oe=b({},S,D);I.beforeSet(R,oe);for(var Ce=0,ve=C.length;Ce<ve;Ce++){var Ae=C[Ce];I.canSet(Ae)&&(J&&G._private[I.field][S]===void 0?QQ(Ae._private[I.field],J,D):Ae._private[I.field][S]=D)}I.updateStyle&&R.updateStyle(),I.onSet(R),I.settingTriggersEvent&&R[I.triggerFnName](I.settingEvent)}}}else if(I.allowSetting&&fe(S)){var Le=S,Be,Xe,Ue=Object.keys(Le);I.beforeSet(R,Le);for(var Fe=0;Fe<Ue.length;Fe++){Be=Ue[Fe],Xe=Le[Be];var et=!I.immutableKeys[Be];if(et)for(var ze=0;ze<C.length;ze++){var ut=C[ze];I.canSet(ut)&&(ut._private[I.field][Be]=Xe)}}I.updateStyle&&R.updateStyle(),I.onSet(R),I.settingTriggersEvent&&R[I.triggerFnName](I.settingEvent)}else if(I.allowBinding&&Ee(S)){var ht=S;R.on(I.bindingEvent,ht)}else if(I.allowGetting&&S===void 0){var tt;return G&&(I.beforeGet(G),tt=G._private[I.field]),tt}return R}},removeData:function(g){var y={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return g=Oe({},y,g),function(S){var D=g,I=this,R=I.length!==void 0,$=R?I:[I];if(xe(S)){for(var C=S.split(/\s+/),G=C.length,U=0;U<G;U++){var J=C[U];if(!de(J)){var te=!D.immutableKeys[J];if(te)for(var se=0,oe=$.length;se<oe;se++)$[se]._private[D.field][J]=void 0}}D.triggerEvent&&I[D.triggerFnName](D.event)}else if(S===void 0){for(var Ce=0,ve=$.length;Ce<ve;Ce++)for(var Ae=$[Ce]._private[D.field],Le=Object.keys(Ae),Be=0;Be<Le.length;Be++){var Xe=Le[Be],Ue=!D.immutableKeys[Xe];Ue&&(Ae[Xe]=void 0)}D.triggerEvent&&I[D.triggerFnName](D.event)}return I}}},rZ={eventAliasesOn:function(g){var y=g;y.addListener=y.listen=y.bind=y.on,y.unlisten=y.unbind=y.off=y.removeListener,y.trigger=y.emit,y.pon=y.promiseOn=function(E,S){var D=this,I=Array.prototype.slice.call(arguments,0);return new H5(function(R,$){var C=function(te){D.off.apply(D,U),R(te)},G=I.concat([C]),U=G.concat([]);D.on.apply(D,G)})}}},Pc={};[iX,nZ,rZ].forEach(function(m){Oe(Pc,m)});var iZ={animate:Pc.animate(),animation:Pc.animation(),animated:Pc.animated(),clearQueue:Pc.clearQueue(),delay:Pc.delay(),delayAnimation:Pc.delayAnimation(),stop:Pc.stop()},D9={classes:function(g){var y=this;if(g===void 0){var E=[];return y[0]._private.classes.forEach(function(se){return E.push(se)}),E}else Me(g)||(g=(g||"").match(/\S+/g)||[]);for(var S=[],D=new N5(g),I=0;I<y.length;I++){for(var R=y[I],$=R._private,C=$.classes,G=!1,U=0;U<g.length;U++){var J=g[U],te=C.has(J);if(!te){G=!0;break}}G||(G=C.size!==g.length),G&&($.classes=D,S.push(R))}return S.length>0&&this.spawn(S).updateStyle().emit("class"),y},addClass:function(g){return this.toggleClass(g,!0)},hasClass:function(g){var y=this[0];return y!=null&&y._private.classes.has(g)},toggleClass:function(g,y){Me(g)||(g=g.match(/\S+/g)||[]);for(var E=this,S=y===void 0,D=[],I=0,R=E.length;I<R;I++)for(var $=E[I],C=$._private.classes,G=!1,U=0;U<g.length;U++){var J=g[U],te=C.has(J),se=!1;y||S&&!te?(C.add(J),se=!0):(!y||S&&te)&&(C.delete(J),se=!0),!G&&se&&(D.push($),G=!0)}return D.length>0&&this.spawn(D).updateStyle().emit("class"),E},removeClass:function(g){return this.toggleClass(g,!1)},flashClass:function(g,y){var E=this;if(y==null)y=250;else if(y===0)return E;return E.addClass(g),setTimeout(function(){E.removeClass(g)},y),E}};D9.className=D9.classNames=D9.classes;var lc={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:xt,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};lc.variable="(?:[\\w-.]|(?:\\\\"+lc.metaChar+"))+",lc.className="(?:[\\w-]|(?:\\\\"+lc.metaChar+"))+",lc.value=lc.string+"|"+lc.number,lc.id=lc.variable,function(){var m,g,y;for(m=lc.comparatorOp.split("|"),y=0;y<m.length;y++)g=m[y],lc.comparatorOp+="|@"+g;for(m=lc.comparatorOp.split("|"),y=0;y<m.length;y++)g=m[y],!(g.indexOf("!")>=0)&&g!=="="&&(lc.comparatorOp+="|\\!"+g)}();var eu=function(){return{checks:[]}},Ki={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},bL=[{selector:":selected",matches:function(g){return g.selected()}},{selector:":unselected",matches:function(g){return!g.selected()}},{selector:":selectable",matches:function(g){return g.selectable()}},{selector:":unselectable",matches:function(g){return!g.selectable()}},{selector:":locked",matches:function(g){return g.locked()}},{selector:":unlocked",matches:function(g){return!g.locked()}},{selector:":visible",matches:function(g){return g.visible()}},{selector:":hidden",matches:function(g){return!g.visible()}},{selector:":transparent",matches:function(g){return g.transparent()}},{selector:":grabbed",matches:function(g){return g.grabbed()}},{selector:":free",matches:function(g){return!g.grabbed()}},{selector:":removed",matches:function(g){return g.removed()}},{selector:":inside",matches:function(g){return!g.removed()}},{selector:":grabbable",matches:function(g){return g.grabbable()}},{selector:":ungrabbable",matches:function(g){return!g.grabbable()}},{selector:":animated",matches:function(g){return g.animated()}},{selector:":unanimated",matches:function(g){return!g.animated()}},{selector:":parent",matches:function(g){return g.isParent()}},{selector:":childless",matches:function(g){return g.isChildless()}},{selector:":child",matches:function(g){return g.isChild()}},{selector:":orphan",matches:function(g){return g.isOrphan()}},{selector:":nonorphan",matches:function(g){return g.isChild()}},{selector:":compound",matches:function(g){return g.isNode()?g.isParent():g.source().isParent()||g.target().isParent()}},{selector:":loop",matches:function(g){return g.isLoop()}},{selector:":simple",matches:function(g){return g.isSimple()}},{selector:":active",matches:function(g){return g.active()}},{selector:":inactive",matches:function(g){return!g.active()}},{selector:":backgrounding",matches:function(g){return g.backgrounding()}},{selector:":nonbackgrounding",matches:function(g){return!g.backgrounding()}}].sort(function(m,g){return Mn(m.selector,g.selector)}),sZ=function(){for(var m={},g,y=0;y<bL.length;y++)g=bL[y],m[g.selector]=g.matches;return m}(),aZ=function(g,y){return sZ[g](y)},oZ="("+bL.map(function(m){return m.selector}).join("|")+")",V5=function(g){return g.replace(new RegExp("\\\\("+lc.metaChar+")","g"),function(y,E){return E})},lm=function(g,y,E){g[g.length-1]=E},zt=[{name:"group",query:!0,regex:"("+lc.group+")",populate:function(g,y,E){var S=_(E,1),D=S[0];y.checks.push({type:Ki.GROUP,value:D==="*"?D:D+"s"})}},{name:"state",query:!0,regex:oZ,populate:function(g,y,E){var S=_(E,1),D=S[0];y.checks.push({type:Ki.STATE,value:D})}},{name:"id",query:!0,regex:"\\#("+lc.id+")",populate:function(g,y,E){var S=_(E,1),D=S[0];y.checks.push({type:Ki.ID,value:V5(D)})}},{name:"className",query:!0,regex:"\\.("+lc.className+")",populate:function(g,y,E){var S=_(E,1),D=S[0];y.checks.push({type:Ki.CLASS,value:V5(D)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+lc.variable+")\\s*\\]",populate:function(g,y,E){var S=_(E,1),D=S[0];y.checks.push({type:Ki.DATA_EXIST,field:V5(D)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+lc.variable+")\\s*("+lc.comparatorOp+")\\s*("+lc.value+")\\s*\\]",populate:function(g,y,E){var S=_(E,3),D=S[0],I=S[1],R=S[2],$=new RegExp("^"+lc.string+"$").exec(R)!=null;$?R=R.substring(1,R.length-1):R=parseFloat(R),y.checks.push({type:Ki.DATA_COMPARE,field:V5(D),operator:I,value:R})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+lc.boolOp+")\\s*("+lc.variable+")\\s*\\]",populate:function(g,y,E){var S=_(E,2),D=S[0],I=S[1];y.checks.push({type:Ki.DATA_BOOL,field:V5(I),operator:D})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+lc.meta+")\\s*("+lc.comparatorOp+")\\s*("+lc.number+")\\s*\\]\\]",populate:function(g,y,E){var S=_(E,3),D=S[0],I=S[1],R=S[2];y.checks.push({type:Ki.META_COMPARE,field:V5(D),operator:I,value:parseFloat(R)})}},{name:"nextQuery",separator:!0,regex:lc.separator,populate:function(g,y){var E=g.currentSubject,S=g.edgeCount,D=g.compoundCount,I=g[g.length-1];E!=null&&(I.subject=E,g.currentSubject=null),I.edgeCount=S,I.compoundCount=D,g.edgeCount=0,g.compoundCount=0;var R=g[g.length++]=eu();return R}},{name:"directedEdge",separator:!0,regex:lc.directedEdge,populate:function(g,y){if(g.currentSubject==null){var E=eu(),S=y,D=eu();return E.checks.push({type:Ki.DIRECTED_EDGE,source:S,target:D}),lm(g,y,E),g.edgeCount++,D}else{var I=eu(),R=y,$=eu();return I.checks.push({type:Ki.NODE_SOURCE,source:R,target:$}),lm(g,y,I),g.edgeCount++,$}}},{name:"undirectedEdge",separator:!0,regex:lc.undirectedEdge,populate:function(g,y){if(g.currentSubject==null){var E=eu(),S=y,D=eu();return E.checks.push({type:Ki.UNDIRECTED_EDGE,nodes:[S,D]}),lm(g,y,E),g.edgeCount++,D}else{var I=eu(),R=y,$=eu();return I.checks.push({type:Ki.NODE_NEIGHBOR,node:R,neighbor:$}),lm(g,y,I),$}}},{name:"child",separator:!0,regex:lc.child,populate:function(g,y){if(g.currentSubject==null){var E=eu(),S=eu(),D=g[g.length-1];return E.checks.push({type:Ki.CHILD,parent:D,child:S}),lm(g,y,E),g.compoundCount++,S}else if(g.currentSubject===y){var I=eu(),R=g[g.length-1],$=eu(),C=eu(),G=eu(),U=eu();return I.checks.push({type:Ki.COMPOUND_SPLIT,left:R,right:$,subject:C}),C.checks=y.checks,y.checks=[{type:Ki.TRUE}],U.checks.push({type:Ki.TRUE}),$.checks.push({type:Ki.PARENT,parent:U,child:G}),lm(g,R,I),g.currentSubject=C,g.compoundCount++,G}else{var J=eu(),te=eu(),se=[{type:Ki.PARENT,parent:J,child:te}];return J.checks=y.checks,y.checks=se,g.compoundCount++,te}}},{name:"descendant",separator:!0,regex:lc.descendant,populate:function(g,y){if(g.currentSubject==null){var E=eu(),S=eu(),D=g[g.length-1];return E.checks.push({type:Ki.DESCENDANT,ancestor:D,descendant:S}),lm(g,y,E),g.compoundCount++,S}else if(g.currentSubject===y){var I=eu(),R=g[g.length-1],$=eu(),C=eu(),G=eu(),U=eu();return I.checks.push({type:Ki.COMPOUND_SPLIT,left:R,right:$,subject:C}),C.checks=y.checks,y.checks=[{type:Ki.TRUE}],U.checks.push({type:Ki.TRUE}),$.checks.push({type:Ki.ANCESTOR,ancestor:U,descendant:G}),lm(g,R,I),g.currentSubject=C,g.compoundCount++,G}else{var J=eu(),te=eu(),se=[{type:Ki.ANCESTOR,ancestor:J,descendant:te}];return J.checks=y.checks,y.checks=se,g.compoundCount++,te}}},{name:"subject",modifier:!0,regex:lc.subject,populate:function(g,y){if(g.currentSubject!=null&&g.currentSubject!==y)return Jo("Redefinition of subject in selector `"+g.toString()+"`"),!1;g.currentSubject=y;var E=g[g.length-1],S=E.checks[0],D=S==null?null:S.type;D===Ki.DIRECTED_EDGE?S.type=Ki.NODE_TARGET:D===Ki.UNDIRECTED_EDGE&&(S.type=Ki.NODE_NEIGHBOR,S.node=S.nodes[1],S.neighbor=S.nodes[0],S.nodes=null)}}];zt.forEach(function(m){return m.regexObj=new RegExp("^"+m.regex)});var cZ=function(g){for(var y,E,S,D=0;D<zt.length;D++){var I=zt[D],R=I.name,$=g.match(I.regexObj);if($!=null){E=$,y=I,S=R;var C=$[0];g=g.substring(C.length);break}}return{expr:y,match:E,name:S,remaining:g}},uZ=function(g){var y=g.match(/^\s+/);if(y){var E=y[0];g=g.substring(E.length)}return g},lZ=function(g){var y=this,E=y.inputText=g,S=y[0]=eu();for(y.length=1,E=uZ(E);;){var D=cZ(E);if(D.expr==null)return Jo("The selector `"+g+"`is invalid"),!1;var I=D.match.slice(1),R=D.expr.populate(y,S,I);if(R===!1)return!1;if(R!=null&&(S=R),E=D.remaining,E.match(/^\s*$/))break}var $=y[y.length-1];y.currentSubject!=null&&($.subject=y.currentSubject),$.edgeCount=y.edgeCount,$.compoundCount=y.compoundCount;for(var C=0;C<y.length;C++){var G=y[C];if(G.compoundCount>0&&G.edgeCount>0)return Jo("The selector `"+g+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(G.edgeCount>1)return Jo("The selector `"+g+"` is invalid because it uses multiple edge selectors"),!1;G.edgeCount===1&&Jo("The selector `"+g+"` 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},hZ=function(){if(this.toStringCache!=null)return this.toStringCache;for(var g=function(G){return G??""},y=function(G){return xe(G)?'"'+G+'"':g(G)},E=function(G){return" "+G+" "},S=function(G,U){var J=G.type,te=G.value;switch(J){case Ki.GROUP:{var se=g(te);return se.substring(0,se.length-1)}case Ki.DATA_COMPARE:{var oe=G.field,Ce=G.operator;return"["+oe+E(g(Ce))+y(te)+"]"}case Ki.DATA_BOOL:{var ve=G.operator,Ae=G.field;return"["+g(ve)+Ae+"]"}case Ki.DATA_EXIST:{var Le=G.field;return"["+Le+"]"}case Ki.META_COMPARE:{var Be=G.operator,Xe=G.field;return"[["+Xe+E(g(Be))+y(te)+"]]"}case Ki.STATE:return te;case Ki.ID:return"#"+te;case Ki.CLASS:return"."+te;case Ki.PARENT:case Ki.CHILD:return D(G.parent,U)+E(">")+D(G.child,U);case Ki.ANCESTOR:case Ki.DESCENDANT:return D(G.ancestor,U)+" "+D(G.descendant,U);case Ki.COMPOUND_SPLIT:{var Ue=D(G.left,U),Fe=D(G.subject,U),et=D(G.right,U);return Ue+(Ue.length>0?" ":"")+Fe+et}case Ki.TRUE:return""}},D=function(G,U){return G.checks.reduce(function(J,te,se){return J+(U===G&&se===0?"$":"")+S(te,U)},"")},I="",R=0;R<this.length;R++){var $=this[R];I+=D($,$.subject),this.length>1&&R<this.length-1&&(I+=", ")}return this.toStringCache=I,I},fZ={parse:lZ,toString:hZ},EB=function(g,y,E){var S,D=xe(g),I=re(g),R=xe(E),$,C,G=!1,U=!1,J=!1;switch(y.indexOf("!")>=0&&(y=y.replace("!",""),U=!0),y.indexOf("@")>=0&&(y=y.replace("@",""),G=!0),(D||R||G)&&($=!D&&!I?"":""+g,C=""+E),G&&(g=$=$.toLowerCase(),E=C=C.toLowerCase()),y){case"*=":S=$.indexOf(C)>=0;break;case"$=":S=$.indexOf(C,$.length-C.length)>=0;break;case"^=":S=$.indexOf(C)===0;break;case"=":S=g===E;break;case">":J=!0,S=g>E;break;case">=":J=!0,S=g>=E;break;case"<":J=!0,S=g<E;break;case"<=":J=!0,S=g<=E;break;default:S=!1;break}return U&&(g!=null||!J)&&(S=!S),S},dZ=function(g,y){switch(y){case"?":return!!g;case"!":return!g;case"^":return g===void 0}},gZ=function(g){return g!==void 0},vL=function(g,y){return g.data(y)},pZ=function(g,y){return g[y]()},nl=[],Ru=function(g,y){return g.checks.every(function(E){return nl[E.type](E,y)})};nl[Ki.GROUP]=function(m,g){var y=m.value;return y==="*"||y===g.group()},nl[Ki.STATE]=function(m,g){var y=m.value;return aZ(y,g)},nl[Ki.ID]=function(m,g){var y=m.value;return g.id()===y},nl[Ki.CLASS]=function(m,g){var y=m.value;return g.hasClass(y)},nl[Ki.META_COMPARE]=function(m,g){var y=m.field,E=m.operator,S=m.value;return EB(pZ(g,y),E,S)},nl[Ki.DATA_COMPARE]=function(m,g){var y=m.field,E=m.operator,S=m.value;return EB(vL(g,y),E,S)},nl[Ki.DATA_BOOL]=function(m,g){var y=m.field,E=m.operator;return dZ(vL(g,y),E)},nl[Ki.DATA_EXIST]=function(m,g){var y=m.field;return m.operator,gZ(vL(g,y))},nl[Ki.UNDIRECTED_EDGE]=function(m,g){var y=m.nodes[0],E=m.nodes[1],S=g.source(),D=g.target();return Ru(y,S)&&Ru(E,D)||Ru(E,S)&&Ru(y,D)},nl[Ki.NODE_NEIGHBOR]=function(m,g){return Ru(m.node,g)&&g.neighborhood().some(function(y){return y.isNode()&&Ru(m.neighbor,y)})},nl[Ki.DIRECTED_EDGE]=function(m,g){return Ru(m.source,g.source())&&Ru(m.target,g.target())},nl[Ki.NODE_SOURCE]=function(m,g){return Ru(m.source,g)&&g.outgoers().some(function(y){return y.isNode()&&Ru(m.target,y)})},nl[Ki.NODE_TARGET]=function(m,g){return Ru(m.target,g)&&g.incomers().some(function(y){return y.isNode()&&Ru(m.source,y)})},nl[Ki.CHILD]=function(m,g){return Ru(m.child,g)&&Ru(m.parent,g.parent())},nl[Ki.PARENT]=function(m,g){return Ru(m.parent,g)&&g.children().some(function(y){return Ru(m.child,y)})},nl[Ki.DESCENDANT]=function(m,g){return Ru(m.descendant,g)&&g.ancestors().some(function(y){return Ru(m.ancestor,y)})},nl[Ki.ANCESTOR]=function(m,g){return Ru(m.ancestor,g)&&g.descendants().some(function(y){return Ru(m.descendant,y)})},nl[Ki.COMPOUND_SPLIT]=function(m,g){return Ru(m.subject,g)&&Ru(m.left,g)&&Ru(m.right,g)},nl[Ki.TRUE]=function(){return!0},nl[Ki.COLLECTION]=function(m,g){var y=m.value;return y.has(g)},nl[Ki.FILTER]=function(m,g){var y=m.value;return y(g)};var bZ=function(g){var y=this;if(y.length===1&&y[0].checks.length===1&&y[0].checks[0].type===Ki.ID)return g.getElementById(y[0].checks[0].value).collection();var E=function(D){for(var I=0;I<y.length;I++){var R=y[I];if(Ru(R,D))return!0}return!1};return y.text()==null&&(E=function(){return!0}),g.filter(E)},vZ=function(g){for(var y=this,E=0;E<y.length;E++){var S=y[E];if(Ru(S,g))return!0}return!1},wZ={matches:vZ,filter:bZ},hm=function(g){this.inputText=g,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,g==null||xe(g)&&g.match(/^\s*$/)||(he(g)?this.addQuery({checks:[{type:Ki.COLLECTION,value:g.collection()}]}):Ee(g)?this.addQuery({checks:[{type:Ki.FILTER,value:g}]}):xe(g)?this.parse(g)||(this.invalid=!0):Fu("A selector must be created from a string; found "))},nv=hm.prototype;[fZ,wZ].forEach(function(m){return Oe(nv,m)}),nv.text=function(){return this.inputText},nv.size=function(){return this.length},nv.eq=function(m){return this[m]},nv.sameText=function(m){return!this.invalid&&!m.invalid&&this.text()===m.text()},nv.addQuery=function(m){this[this.length++]=m},nv.selector=nv.toString;var hp={allAre:function(g){var y=new hm(g);return this.every(function(E){return y.matches(E)})},is:function(g){var y=new hm(g);return this.some(function(E){return y.matches(E)})},some:function(g,y){for(var E=0;E<this.length;E++){var S=y?g.apply(y,[this[E],E,this]):g(this[E],E,this);if(S)return!0}return!1},every:function(g,y){for(var E=0;E<this.length;E++){var S=y?g.apply(y,[this[E],E,this]):g(this[E],E,this);if(!S)return!1}return!0},same:function(g){if(this===g)return!0;g=this.cy().collection(g);var y=this.length,E=g.length;return y!==E?!1:y===1?this[0]===g[0]:this.every(function(S){return g.hasElementWithId(S.id())})},anySame:function(g){return g=this.cy().collection(g),this.some(function(y){return g.hasElementWithId(y.id())})},allAreNeighbors:function(g){g=this.cy().collection(g);var y=this.neighborhood();return g.every(function(E){return y.hasElementWithId(E.id())})},contains:function(g){g=this.cy().collection(g);var y=this;return g.every(function(E){return y.hasElementWithId(E.id())})}};hp.allAreNeighbours=hp.allAreNeighbors,hp.has=hp.contains,hp.equal=hp.equals=hp.same;var ad=function(g,y){return function(S,D,I,R){var $=S,C=this,G;if($==null?G="":he($)&&$.length===1&&(G=$.id()),C.length===1&&G){var U=C[0]._private,J=U.traversalCache=U.traversalCache||{},te=J[y]=J[y]||[],se=op(G),oe=te[se];return oe||(te[se]=g.call(C,S,D,I,R))}else return g.call(C,S,D,I,R)}},U5={parent:function(g){var y=[];if(this.length===1){var E=this[0]._private.parent;if(E)return E}for(var S=0;S<this.length;S++){var D=this[S],I=D._private.parent;I&&y.push(I)}return this.spawn(y,!0).filter(g)},parents:function(g){for(var y=[],E=this.parent();E.nonempty();){for(var S=0;S<E.length;S++){var D=E[S];y.push(D)}E=E.parent()}return this.spawn(y,!0).filter(g)},commonAncestors:function(g){for(var y,E=0;E<this.length;E++){var S=this[E],D=S.parents();y=y||D,y=y.intersect(D)}return y.filter(g)},orphans:function(g){return this.stdFilter(function(y){return y.isOrphan()}).filter(g)},nonorphans:function(g){return this.stdFilter(function(y){return y.isChild()}).filter(g)},children:ad(function(m){for(var g=[],y=0;y<this.length;y++)for(var E=this[y],S=E._private.children,D=0;D<S.length;D++)g.push(S[D]);return this.spawn(g,!0).filter(m)},"children"),siblings:function(g){return this.parent().children().not(this).filter(g)},isParent:function(){var g=this[0];if(g)return g.isNode()&&g._private.children.length!==0},isChildless:function(){var g=this[0];if(g)return g.isNode()&&g._private.children.length===0},isChild:function(){var g=this[0];if(g)return g.isNode()&&g._private.parent!=null},isOrphan:function(){var g=this[0];if(g)return g.isNode()&&g._private.parent==null},descendants:function(g){var y=[];function E(S){for(var D=0;D<S.length;D++){var I=S[D];y.push(I),I.children().nonempty()&&E(I.children())}}return E(this.children()),this.spawn(y,!0).filter(g)}};function I9(m,g,y,E){for(var S=[],D=new N5,I=m.cy(),R=I.hasCompoundNodes(),$=0;$<m.length;$++){var C=m[$];y?S.push(C):R&&E(S,D,C)}for(;S.length>0;){var G=S.shift();g(G),D.add(G.id()),R&&E(S,D,G)}return m}function g8(m,g,y){if(y.isParent())for(var E=y._private.children,S=0;S<E.length;S++){var D=E[S];g.has(D.id())||m.push(D)}}U5.forEachDown=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,g8)};function TB(m,g,y){if(y.isChild()){var E=y._private.parent;g.has(E.id())||m.push(E)}}U5.forEachUp=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,TB)};function mZ(m,g,y){TB(m,g,y),g8(m,g,y)}U5.forEachUpAndDown=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,mZ)},U5.ancestors=U5.parents;var p8,_B;p8=_B={data:Pc.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:Pc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Pc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Pc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Pc.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Pc.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var g=this[0];if(g)return g._private.data.id}},p8.attr=p8.data,p8.removeAttr=p8.removeData;var yZ=_B,O9={};function K5(m){return function(g){var y=this;if(g===void 0&&(g=!0),y.length!==0)if(y.isNode()&&!y.removed()){for(var E=0,S=y[0],D=S._private.edges,I=0;I<D.length;I++){var R=D[I];!g&&R.isLoop()||(E+=m(S,R))}return E}else return}}Oe(O9,{degree:K5(function(m,g){return g.source().same(g.target())?2:1}),indegree:K5(function(m,g){return g.target().same(m)?1:0}),outdegree:K5(function(m,g){return g.source().same(m)?1:0})});function W5(m,g){return function(y){for(var E,S=this.nodes(),D=0;D<S.length;D++){var I=S[D],R=I[m](y);R!==void 0&&(E===void 0||g(R,E))&&(E=R)}return E}}Oe(O9,{minDegree:W5("degree",function(m,g){return m<g}),maxDegree:W5("degree",function(m,g){return m>g}),minIndegree:W5("indegree",function(m,g){return m<g}),maxIndegree:W5("indegree",function(m,g){return m>g}),minOutdegree:W5("outdegree",function(m,g){return m<g}),maxOutdegree:W5("outdegree",function(m,g){return m>g})}),Oe(O9,{totalDegree:function(g){for(var y=0,E=this.nodes(),S=0;S<E.length;S++)y+=E[S].degree(g);return y}});var fp,CB,b8=function(g,y,E){for(var S=0;S<g.length;S++){var D=g[S];if(!D.locked()){var I=D._private.position,R={x:y.x!=null?y.x-I.x:0,y:y.y!=null?y.y-I.y:0};D.isParent()&&!(R.x===0&&R.y===0)&&D.children().shift(R,E),D.dirtyBoundingBoxCache()}}},SB={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(g){g.updateCompoundBounds()},beforeSet:function(g,y){b8(g,y,!1)},onSet:function(g){g.dirtyCompoundBoundsCache()},canSet:function(g){return!g.locked()}};fp=CB={position:Pc.data(SB),silentPosition:Pc.data(Oe({},SB,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(g,y){b8(g,y,!0)},onSet:function(g){g.dirtyCompoundBoundsCache()}})),positions:function(g,y){if(fe(g))y?this.silentPosition(g):this.position(g);else if(Ee(g)){var E=g,S=this.cy();S.startBatch();for(var D=0;D<this.length;D++){var I=this[D],R=void 0;(R=E(I,D))&&(y?I.silentPosition(R):I.position(R))}S.endBatch()}return this},silentPositions:function(g){return this.positions(g,!0)},shift:function(g,y,E){var S;if(fe(g)?(S={x:re(g.x)?g.x:0,y:re(g.y)?g.y:0},E=y):xe(g)&&re(y)&&(S={x:0,y:0},S[g]=y),S!=null){var D=this.cy();D.startBatch();for(var I=0;I<this.length;I++){var R=this[I];if(!(D.hasCompoundNodes()&&R.isChild()&&R.ancestors().anySame(this))){var $=R.position(),C={x:$.x+S.x,y:$.y+S.y};E?R.silentPosition(C):R.position(C)}}D.endBatch()}return this},silentShift:function(g,y){return fe(g)?this.shift(g,!0):xe(g)&&re(y)&&this.shift(g,y,!0),this},renderedPosition:function(g,y){var E=this[0],S=this.cy(),D=S.zoom(),I=S.pan(),R=fe(g)?g:void 0,$=R!==void 0||y!==void 0&&xe(g);if(E&&E.isNode())if($)for(var C=0;C<this.length;C++){var G=this[C];y!==void 0?G.position(g,(y-I[g])/D):R!==void 0&&G.position(CP(R,D,I))}else{var U=E.position();return R=b9(U,D,I),g===void 0?R:R[g]}else if(!$)return;return this},relativePosition:function(g,y){var E=this[0],S=this.cy(),D=fe(g)?g:void 0,I=D!==void 0||y!==void 0&&xe(g),R=S.hasCompoundNodes();if(E&&E.isNode())if(I)for(var $=0;$<this.length;$++){var C=this[$],G=R?C.parent():null,U=G&&G.length>0,J=U;U&&(G=G[0]);var te=J?G.position():{x:0,y:0};y!==void 0?C.position(g,y+te[g]):D!==void 0&&C.position({x:D.x+te.x,y:D.y+te.y})}else{var se=E.position(),oe=R?E.parent():null,Ce=oe&&oe.length>0,ve=Ce;Ce&&(oe=oe[0]);var Ae=ve?oe.position():{x:0,y:0};return D={x:se.x-Ae.x,y:se.y-Ae.y},g===void 0?D:D[g]}else if(!I)return;return this}},fp.modelPosition=fp.point=fp.position,fp.modelPositions=fp.points=fp.positions,fp.renderedPoint=fp.renderedPosition,fp.relativePoint=fp.relativePosition;var AB=CB,Y5,P2;Y5=P2={},P2.renderedBoundingBox=function(m){var g=this.boundingBox(m),y=this.cy(),E=y.zoom(),S=y.pan(),D=g.x1*E+S.x,I=g.x2*E+S.x,R=g.y1*E+S.y,$=g.y2*E+S.y;return{x1:D,x2:I,y1:R,y2:$,w:I-D,h:$-R}},P2.dirtyCompoundBoundsCache=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();return!g.styleEnabled()||!g.hasCompoundNodes()?this:(this.forEachUp(function(y){if(y.isParent()){var E=y._private;E.compoundBoundsClean=!1,E.bbCache=null,m||y.emitAndNotify("bounds")}}),this)},P2.updateCompoundBounds=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();if(!g.styleEnabled()||!g.hasCompoundNodes())return this;if(!m&&g.batching())return this;function y(I){if(!I.isParent())return;var R=I._private,$=I.children(),C=I.pstyle("compound-sizing-wrt-labels").value==="include",G={width:{val:I.pstyle("min-width").pfValue,left:I.pstyle("min-width-bias-left"),right:I.pstyle("min-width-bias-right")},height:{val:I.pstyle("min-height").pfValue,top:I.pstyle("min-height-bias-top"),bottom:I.pstyle("min-height-bias-bottom")}},U=$.boundingBox({includeLabels:C,includeOverlays:!1,useCache:!1}),J=R.position;(U.w===0||U.h===0)&&(U={w:I.pstyle("width").pfValue,h:I.pstyle("height").pfValue},U.x1=J.x-U.w/2,U.x2=J.x+U.w/2,U.y1=J.y-U.h/2,U.y2=J.y+U.h/2);function te(ze,ut,ht){var tt=0,Dt=0,ft=ut+ht;return ze>0&&ft>0&&(tt=ut/ft*ze,Dt=ht/ft*ze),{biasDiff:tt,biasComplementDiff:Dt}}function se(ze,ut,ht,tt){if(ht.units==="%")switch(tt){case"width":return ze>0?ht.pfValue*ze:0;case"height":return ut>0?ht.pfValue*ut:0;case"average":return ze>0&&ut>0?ht.pfValue*(ze+ut)/2:0;case"min":return ze>0&&ut>0?ze>ut?ht.pfValue*ut:ht.pfValue*ze:0;case"max":return ze>0&&ut>0?ze>ut?ht.pfValue*ze:ht.pfValue*ut:0;default:return 0}else return ht.units==="px"?ht.pfValue:0}var oe=G.width.left.value;G.width.left.units==="px"&&G.width.val>0&&(oe=oe*100/G.width.val);var Ce=G.width.right.value;G.width.right.units==="px"&&G.width.val>0&&(Ce=Ce*100/G.width.val);var ve=G.height.top.value;G.height.top.units==="px"&&G.height.val>0&&(ve=ve*100/G.height.val);var Ae=G.height.bottom.value;G.height.bottom.units==="px"&&G.height.val>0&&(Ae=Ae*100/G.height.val);var Le=te(G.width.val-U.w,oe,Ce),Be=Le.biasDiff,Xe=Le.biasComplementDiff,Ue=te(G.height.val-U.h,ve,Ae),Fe=Ue.biasDiff,et=Ue.biasComplementDiff;R.autoPadding=se(U.w,U.h,I.pstyle("padding"),I.pstyle("padding-relative-to").value),R.autoWidth=Math.max(U.w,G.width.val),J.x=(-Be+U.x1+U.x2+Xe)/2,R.autoHeight=Math.max(U.h,G.height.val),J.y=(-Fe+U.y1+U.y2+et)/2}for(var E=0;E<this.length;E++){var S=this[E],D=S._private;(!D.compoundBoundsClean||m)&&(y(S),g.batching()||(D.compoundBoundsClean=!0))}return this};var E0=function(g){return g===1/0||g===-1/0?0:g},dp=function(g,y,E,S,D){S-y===0||D-E===0||y==null||E==null||S==null||D==null||(g.x1=y<g.x1?y:g.x1,g.x2=S>g.x2?S:g.x2,g.y1=E<g.y1?E:g.y1,g.y2=D>g.y2?D:g.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1)},m3=function(g,y){return y==null?g:dp(g,y.x1,y.y1,y.x2,y.y2)},v8=function(g,y,E){return lp(g,y,E)},N9=function(g,y,E){if(!y.cy().headless()){var S=y._private,D=S.rstyle,I=D.arrowWidth/2,R=y.pstyle(E+"-arrow-shape").value,$,C;if(R!=="none"){E==="source"?($=D.srcX,C=D.srcY):E==="target"?($=D.tgtX,C=D.tgtY):($=D.midX,C=D.midY);var G=S.arrowBounds=S.arrowBounds||{},U=G[E]=G[E]||{};U.x1=$-I,U.y1=C-I,U.x2=$+I,U.y2=C+I,U.w=U.x2-U.x1,U.h=U.y2-U.y1,w9(U,1),dp(g,U.x1,U.y1,U.x2,U.y2)}}},LB=function(g,y,E){if(!y.cy().headless()){var S;E?S=E+"-":S="";var D=y._private,I=D.rstyle,R=y.pstyle(S+"label").strValue;if(R){var $=y.pstyle("text-halign"),C=y.pstyle("text-valign"),G=v8(I,"labelWidth",E),U=v8(I,"labelHeight",E),J=v8(I,"labelX",E),te=v8(I,"labelY",E),se=y.pstyle(S+"text-margin-x").pfValue,oe=y.pstyle(S+"text-margin-y").pfValue,Ce=y.isEdge(),ve=y.pstyle(S+"text-rotation"),Ae=y.pstyle("text-outline-width").pfValue,Le=y.pstyle("text-border-width").pfValue,Be=Le/2,Xe=y.pstyle("text-background-padding").pfValue,Ue=2,Fe=U,et=G,ze=et/2,ut=Fe/2,ht,tt,Dt,ft;if(Ce)ht=J-ze,tt=J+ze,Dt=te-ut,ft=te+ut;else{switch($.value){case"left":ht=J-et,tt=J;break;case"center":ht=J-ze,tt=J+ze;break;case"right":ht=J,tt=J+et;break}switch(C.value){case"top":Dt=te-Fe,ft=te;break;case"center":Dt=te-ut,ft=te+ut;break;case"bottom":Dt=te,ft=te+Fe;break}}ht+=se-Math.max(Ae,Be)-Xe-Ue,tt+=se+Math.max(Ae,Be)+Xe+Ue,Dt+=oe-Math.max(Ae,Be)-Xe-Ue,ft+=oe+Math.max(Ae,Be)+Xe+Ue;var ln=E||"main",Rt=D.labelBounds,Ht=Rt[ln]=Rt[ln]||{};Ht.x1=ht,Ht.y1=Dt,Ht.x2=tt,Ht.y2=ft,Ht.w=tt-ht,Ht.h=ft-Dt;var wn=Ce&&ve.strValue==="autorotate",Sn=ve.pfValue!=null&&ve.pfValue!==0;if(wn||Sn){var Kn=wn?v8(D.rstyle,"labelAngle",E):ve.pfValue,xn=Math.cos(Kn),Un=Math.sin(Kn),ar=(ht+tt)/2,xr=(Dt+ft)/2;if(!Ce){switch($.value){case"left":ar=tt;break;case"right":ar=ht;break}switch(C.value){case"top":xr=ft;break;case"bottom":xr=Dt;break}}var fr=function(Ra,Li){return Ra=Ra-ar,Li=Li-xr,{x:Ra*xn-Li*Un+ar,y:Ra*Un+Li*xn+xr}},rr=fr(ht,Dt),gn=fr(ht,ft),mr=fr(tt,Dt),pr=fr(tt,ft);ht=Math.min(rr.x,gn.x,mr.x,pr.x),tt=Math.max(rr.x,gn.x,mr.x,pr.x),Dt=Math.min(rr.y,gn.y,mr.y,pr.y),ft=Math.max(rr.y,gn.y,mr.y,pr.y)}var ri=ln+"Rot",Ti=Rt[ri]=Rt[ri]||{};Ti.x1=ht,Ti.y1=Dt,Ti.x2=tt,Ti.y2=ft,Ti.w=tt-ht,Ti.h=ft-Dt,dp(g,ht,Dt,tt,ft),dp(D.labelBounds.all,ht,Dt,tt,ft)}return g}},kZ=function(g,y){var E=g._private.cy,S=E.styleEnabled(),D=E.headless(),I=jd(),R=g._private,$=g.isNode(),C=g.isEdge(),G,U,J,te,se,oe,Ce=R.rstyle,ve=$&&S?g.pstyle("bounds-expansion").pfValue:[0],Ae=function(Ts){return Ts.pstyle("display").value!=="none"},Le=!S||Ae(g)&&(!C||Ae(g.source())&&Ae(g.target()));if(Le){var Be=0,Xe=0;S&&y.includeOverlays&&(Be=g.pstyle("overlay-opacity").value,Be!==0&&(Xe=g.pstyle("overlay-padding").value));var Ue=0,Fe=0;S&&y.includeUnderlays&&(Ue=g.pstyle("underlay-opacity").value,Ue!==0&&(Fe=g.pstyle("underlay-padding").value));var et=Math.max(Xe,Fe),ze=0,ut=0;if(S&&(ze=g.pstyle("width").pfValue,ut=ze/2),$&&y.includeNodes){var ht=g.position();se=ht.x,oe=ht.y;var tt=g.outerWidth(),Dt=tt/2,ft=g.outerHeight(),ln=ft/2;G=se-Dt,U=se+Dt,J=oe-ln,te=oe+ln,dp(I,G,J,U,te)}else if(C&&y.includeEdges)if(S&&!D){var Rt=g.pstyle("curve-style").strValue;if(G=Math.min(Ce.srcX,Ce.midX,Ce.tgtX),U=Math.max(Ce.srcX,Ce.midX,Ce.tgtX),J=Math.min(Ce.srcY,Ce.midY,Ce.tgtY),te=Math.max(Ce.srcY,Ce.midY,Ce.tgtY),G-=ut,U+=ut,J-=ut,te+=ut,dp(I,G,J,U,te),Rt==="haystack"){var Ht=Ce.haystackPts;if(Ht&&Ht.length===2){if(G=Ht[0].x,J=Ht[0].y,U=Ht[1].x,te=Ht[1].y,G>U){var wn=G;G=U,U=wn}if(J>te){var Sn=J;J=te,te=Sn}dp(I,G-ut,J-ut,U+ut,te+ut)}}else if(Rt==="bezier"||Rt==="unbundled-bezier"||Rt==="segments"||Rt==="taxi"){var Kn;switch(Rt){case"bezier":case"unbundled-bezier":Kn=Ce.bezierPts;break;case"segments":case"taxi":Kn=Ce.linePts;break}if(Kn!=null)for(var xn=0;xn<Kn.length;xn++){var Un=Kn[xn];G=Un.x-ut,U=Un.x+ut,J=Un.y-ut,te=Un.y+ut,dp(I,G,J,U,te)}}}else{var ar=g.source(),xr=ar.position(),fr=g.target(),rr=fr.position();if(G=xr.x,U=rr.x,J=xr.y,te=rr.y,G>U){var gn=G;G=U,U=gn}if(J>te){var mr=J;J=te,te=mr}G-=ut,U+=ut,J-=ut,te+=ut,dp(I,G,J,U,te)}if(S&&y.includeEdges&&C&&(N9(I,g,"mid-source"),N9(I,g,"mid-target"),N9(I,g,"source"),N9(I,g,"target")),S){var pr=g.pstyle("ghost").value==="yes";if(pr){var ri=g.pstyle("ghost-offset-x").pfValue,Ti=g.pstyle("ghost-offset-y").pfValue;dp(I,I.x1+ri,I.y1+Ti,I.x2+ri,I.y2+Ti)}}var ia=R.bodyBounds=R.bodyBounds||{};AP(ia,I),nL(ia,ve),w9(ia,1),S&&(G=I.x1,U=I.x2,J=I.y1,te=I.y2,dp(I,G-et,J-et,U+et,te+et));var Ra=R.overlayBounds=R.overlayBounds||{};AP(Ra,I),nL(Ra,ve),w9(Ra,1);var Li=R.labelBounds=R.labelBounds||{};Li.all!=null?JW(Li.all):Li.all=jd(),S&&y.includeLabels&&(y.includeMainLabels&&LB(I,g,null),C&&(y.includeSourceLabels&&LB(I,g,"source"),y.includeTargetLabels&&LB(I,g,"target")))}return I.x1=E0(I.x1),I.y1=E0(I.y1),I.x2=E0(I.x2),I.y2=E0(I.y2),I.w=E0(I.x2-I.x1),I.h=E0(I.y2-I.y1),I.w>0&&I.h>0&&Le&&(nL(I,ve),w9(I,1)),I},MB=function(g){var y=0,E=function(I){return(I?1:0)<<y++},S=0;return S+=E(g.incudeNodes),S+=E(g.includeEdges),S+=E(g.includeLabels),S+=E(g.includeMainLabels),S+=E(g.includeSourceLabels),S+=E(g.includeTargetLabels),S+=E(g.includeOverlays),S},DB=function(g){if(g.isEdge()){var y=g.source().position(),E=g.target().position(),S=function(I){return Math.round(I)};return Zb([S(y.x),S(y.y),S(E.x),S(E.y)])}else return 0},IB=function(g,y){var E=g._private,S,D=g.isEdge(),I=y==null?OB:MB(y),R=I===OB,$=DB(g),C=E.bbCachePosKey===$,G=y.useCache&&C,U=function(oe){return oe._private.bbCache==null||oe._private.styleDirty},J=!G||U(g)||D&&U(g.source())||U(g.target());if(J?(C||g.recalculateRenderedStyle(G),S=kZ(g,w8),E.bbCache=S,E.bbCachePosKey=$):S=E.bbCache,!R){var te=g.isNode();S=jd(),(y.includeNodes&&te||y.includeEdges&&!te)&&(y.includeOverlays?m3(S,E.overlayBounds):m3(S,E.bodyBounds)),y.includeLabels&&(y.includeMainLabels&&(!D||y.includeSourceLabels&&y.includeTargetLabels)?m3(S,E.labelBounds.all):(y.includeMainLabels&&m3(S,E.labelBounds.mainRot),y.includeSourceLabels&&m3(S,E.labelBounds.sourceRot),y.includeTargetLabels&&m3(S,E.labelBounds.targetRot))),S.w=S.x2-S.x1,S.h=S.y2-S.y1}return S},w8={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},OB=MB(w8),NB=zf(w8);P2.boundingBox=function(m){var g;if(this.length===1&&this[0]._private.bbCache!=null&&!this[0]._private.styleDirty&&(m===void 0||m.useCache===void 0||m.useCache===!0))m===void 0?m=w8:m=NB(m),g=IB(this[0],m);else{g=jd(),m=m||w8;var y=NB(m),E=this,S=E.cy(),D=S.styleEnabled();if(D)for(var I=0;I<E.length;I++){var R=E[I],$=R._private,C=DB(R),G=$.bbCachePosKey===C,U=y.useCache&&G&&!$.styleDirty;R.recalculateRenderedStyle(U)}this.updateCompoundBounds(!m.useCache);for(var J=0;J<E.length;J++){var te=E[J];m3(g,IB(te,y))}}return g.x1=E0(g.x1),g.y1=E0(g.y1),g.x2=E0(g.x2),g.y2=E0(g.y2),g.w=E0(g.x2-g.x1),g.h=E0(g.y2-g.y1),g},P2.dirtyBoundingBoxCache=function(){for(var m=0;m<this.length;m++){var g=this[m]._private;g.bbCache=null,g.bbCachePosKey=null,g.bodyBounds=null,g.overlayBounds=null,g.labelBounds.all=null,g.labelBounds.source=null,g.labelBounds.target=null,g.labelBounds.main=null,g.labelBounds.sourceRot=null,g.labelBounds.targetRot=null,g.labelBounds.mainRot=null,g.arrowBounds.source=null,g.arrowBounds.target=null,g.arrowBounds["mid-source"]=null,g.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},P2.boundingBoxAt=function(m){var g=this.nodes(),y=this.cy(),E=y.hasCompoundNodes(),S=y.collection();if(E&&(S=g.filter(function(C){return C.isParent()}),g=g.not(S)),fe(m)){var D=m;m=function(){return D}}var I=function(G,U){return G._private.bbAtOldPos=m(G,U)},R=function(G){return G._private.bbAtOldPos};y.startBatch(),g.forEach(I).silentPositions(m),E&&(S.dirtyCompoundBoundsCache(),S.dirtyBoundingBoxCache(),S.updateCompoundBounds(!0));var $=ZW(this.boundingBox({useCache:!1}));return g.silentPositions(R),E&&(S.dirtyCompoundBoundsCache(),S.dirtyBoundingBoxCache(),S.updateCompoundBounds(!0)),y.endBatch(),$},Y5.boundingbox=Y5.bb=Y5.boundingBox,Y5.renderedBoundingbox=Y5.renderedBoundingBox;var xZ=P2,m8,y8;m8=y8={};var fm=function(g){g.uppercaseName=Lr(g.name),g.autoName="auto"+g.uppercaseName,g.labelName="label"+g.uppercaseName,g.outerName="outer"+g.uppercaseName,g.uppercaseOuterName=Lr(g.outerName),m8[g.name]=function(){var E=this[0],S=E._private,D=S.cy,I=D._private.styleEnabled;if(E)if(I){if(E.isParent())return E.updateCompoundBounds(),S[g.autoName]||0;var R=E.pstyle(g.name);switch(R.strValue){case"label":return E.recalculateRenderedStyle(),S.rstyle[g.labelName]||0;default:return R.pfValue}}else return 1},m8["outer"+g.uppercaseName]=function(){var E=this[0],S=E._private,D=S.cy,I=D._private.styleEnabled;if(E)if(I){var R=E[g.name](),$=E.pstyle("border-width").pfValue,C=2*E.padding();return R+$+C}else return 1},m8["rendered"+g.uppercaseName]=function(){var E=this[0];if(E){var S=E[g.name]();return S*this.cy().zoom()}},m8["rendered"+g.uppercaseOuterName]=function(){var E=this[0];if(E){var S=E[g.outerName]();return S*this.cy().zoom()}}};fm({name:"width"}),fm({name:"height"}),y8.padding=function(){var m=this[0],g=m._private;return m.isParent()?(m.updateCompoundBounds(),g.autoPadding!==void 0?g.autoPadding:m.pstyle("padding").pfValue):m.pstyle("padding").pfValue},y8.paddedHeight=function(){var m=this[0];return m.height()+2*m.padding()},y8.paddedWidth=function(){var m=this[0];return m.width()+2*m.padding()};var wL=y8,EZ=function(g,y){if(g.isEdge())return y(g)},TZ=function(g,y){if(g.isEdge()){var E=g.cy();return b9(y(g),E.zoom(),E.pan())}},_Z=function(g,y){if(g.isEdge()){var E=g.cy(),S=E.pan(),D=E.zoom();return y(g).map(function(I){return b9(I,D,S)})}},CZ=function(g){return g.renderer().getControlPoints(g)},SZ=function(g){return g.renderer().getSegmentPoints(g)},AZ=function(g){return g.renderer().getSourceEndpoint(g)},LZ=function(g){return g.renderer().getTargetEndpoint(g)},MZ=function(g){return g.renderer().getEdgeMidpoint(g)},PB={controlPoints:{get:CZ,mult:!0},segmentPoints:{get:SZ,mult:!0},sourceEndpoint:{get:AZ},targetEndpoint:{get:LZ},midpoint:{get:MZ}},DZ=function(g){return"rendered"+g[0].toUpperCase()+g.substr(1)},IZ=Object.keys(PB).reduce(function(m,g){var y=PB[g],E=DZ(g);return m[g]=function(){return EZ(this,y.get)},y.mult?m[E]=function(){return _Z(this,y.get)}:m[E]=function(){return TZ(this,y.get)},m},{}),OZ=Oe({},AB,xZ,wL,IZ);/*!
+*/var CF=0,SF=1,AF=2,lv=function y(g){if(!(this instanceof y))return new y(g);this.id="Thenable/1.0.7",this.state=CF,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof g=="function"&&g.call(this,this.fulfill.bind(this),this.reject.bind(this))};lv.prototype={fulfill:function(g){return LF(this,SF,"fulfillValue",g)},reject:function(g){return LF(this,AF,"rejectReason",g)},then:function(g,x){var T=this,L=new lv;return T.onFulfilled.push(IF(g,L,"fulfill")),T.onRejected.push(IF(x,L,"reject")),MF(T),L.proxy}};var LF=function(g,x,T,L){return g.state===CF&&(g.state=x,g[T]=L,MF(g)),g},MF=function(g){g.state===SF?DF(g,"onFulfilled",g.fulfillValue):g.state===AF&&DF(g,"onRejected",g.rejectReason)},DF=function(g,x,T){if(g[x].length!==0){var L=g[x];g[x]=[];var I=function(){for(var $=0;$<L.length;$++)L[$](T)};typeof setImmediate=="function"?setImmediate(I):setTimeout(I,0)}},IF=function(g,x,T){return function(L){if(typeof g!="function")x[T].call(x,L);else{var I;try{I=g(L)}catch(O){x.reject(O);return}LX(x,I)}}},LX=function y(g,x){if(g===x||g.proxy===x){g.reject(new TypeError("cannot resolve promise with itself"));return}var T;if(f(x)==="object"&&x!==null||typeof x=="function")try{T=x.then}catch(I){g.reject(I);return}if(typeof T=="function"){var L=!1;try{T.call(x,function(I){L||(L=!0,I===x?g.reject(new TypeError("circular thenable chain")):y(g,I))},function(I){L||(L=!0,g.reject(I))})}catch(I){L||g.reject(I)}return}g.fulfill(x)};lv.all=function(y){return new lv(function(g,x){for(var T=new Array(y.length),L=0,I=function(z,S){T[z]=S,L++,L===y.length&&g(T)},O=0;O<y.length;O++)(function($){var z=y[$],S=z!=null&&z.then!=null;if(S)z.then(function(U){I($,U)},function(U){x(U)});else{var V=z;I($,V)}})(O)})},lv.resolve=function(y){return new lv(function(g,x){g(y)})},lv.reject=function(y){return new lv(function(g,x){x(y)})};var Y5=typeof Promise<"u"?Promise:lv,qE=function(g,x,T){var L=Nt(g),I=!L,O=this._private=Pe({duration:1e3},x,T);if(O.target=g,O.style=O.style||O.css,O.started=!1,O.playing=!1,O.hooked=!1,O.applying=!1,O.progress=0,O.completes=[],O.frames=[],O.complete&&yt(O.complete)&&O.completes.push(O.complete),I){var $=g.position();O.startPosition=O.startPosition||{x:$.x,y:$.y},O.startStyle=O.startStyle||g.cy().style().getAnimationStartStyle(g,O.style)}if(L){var z=g.pan();O.startPan={x:z.x,y:z.y},O.startZoom=g.zoom()}this.length=1,this[0]=this},S3=qE.prototype;Pe(S3,{instanceString:function(){return"animation"},hook:function(){var g=this._private;if(!g.hooked){var x,T=g.target._private.animation;g.queue?x=T.queue:x=T.current,x.push(this),pt(g.target)&&g.target.cy().addToAnimationPool(g.target),g.hooked=!0}return this},play:function(){var g=this._private;return g.progress===1&&(g.progress=0),g.playing=!0,g.started=!1,g.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var g=this._private;return g.applying=!0,g.started=!1,g.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var g=this._private;return g.playing=!1,g.started=!1,this},stop:function(){var g=this._private;return g.playing=!1,g.started=!1,g.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(g){var x=this._private;return g===void 0?x.progress*x.duration:this.progress(g/x.duration)},progress:function(g){var x=this._private,T=x.playing;return g===void 0?x.progress:(T&&this.pause(),x.progress=g,x.started=!1,T&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var g=this._private,x=g.playing;x&&this.pause(),g.progress=1-g.progress,g.started=!1;var T=function(S,V){var U=g[S];U!=null&&(g[S]=g[V],g[V]=U)};if(T("zoom","startZoom"),T("pan","startPan"),T("position","startPosition"),g.style)for(var L=0;L<g.style.length;L++){var I=g.style[L],O=I.name,$=g.startStyle[O];g.startStyle[O]=I,g.style[L]=$}return x&&this.play(),this},promise:function(g){var x=this._private,T;switch(g){case"frame":T=x.frames;break;default:case"complete":case"completed":T=x.completes}return new Y5(function(L,I){T.push(function(){L()})})}}),S3.complete=S3.completed,S3.run=S3.play,S3.running=S3.playing;var MX={animated:function(){return function(){var x=this,T=x.length!==void 0,L=T?x:[x],I=this._private.cy||this;if(!I.styleEnabled())return!1;var O=L[0];if(O)return O._private.animation.current.length>0}},clearQueue:function(){return function(){var x=this,T=x.length!==void 0,L=T?x:[x],I=this._private.cy||this;if(!I.styleEnabled())return this;for(var O=0;O<L.length;O++){var $=L[O];$._private.animation.queue=[]}return this}},delay:function(){return function(x,T){var L=this._private.cy||this;return L.styleEnabled()?this.animate({delay:x,duration:x,complete:T}):this}},delayAnimation:function(){return function(x,T){var L=this._private.cy||this;return L.styleEnabled()?this.animation({delay:x,duration:x,complete:T}):this}},animation:function(){return function(x,T){var L=this,I=L.length!==void 0,O=I?L:[L],$=this._private.cy||this,z=!I,S=!z;if(!$.styleEnabled())return this;var V=$.style();x=Pe({},x,T);var U=Object.keys(x).length===0;if(U)return new qE(O[0],x);switch(x.duration===void 0&&(x.duration=400),x.duration){case"slow":x.duration=600;break;case"fast":x.duration=200;break}if(S&&(x.style=V.getPropsList(x.style||x.css),x.css=void 0),S&&x.renderedPosition!=null){var tt=x.renderedPosition,at=$.pan(),lt=$.zoom();x.position=JN(tt,lt,at)}if(z&&x.panBy!=null){var ft=x.panBy,Lt=$.pan();x.pan={x:Lt.x+ft.x,y:Lt.y+ft.y}}var kt=x.center||x.centre;if(z&&kt!=null){var Dt=$.getCenterPan(kt.eles,x.zoom);Dt!=null&&(x.pan=Dt)}if(z&&x.fit!=null){var It=x.fit,qt=$.getFitViewport(It.eles||It.boundingBox,It.padding);qt!=null&&(x.pan=qt.pan,x.zoom=qt.zoom)}if(z&&ut(x.zoom)){var te=$.getZoomedViewport(x.zoom);te!=null?(te.zoomed&&(x.zoom=te.zoom),te.panned&&(x.pan=te.pan)):x.zoom=null}return new qE(O[0],x)}},animate:function(){return function(x,T){var L=this,I=L.length!==void 0,O=I?L:[L],$=this._private.cy||this;if(!$.styleEnabled())return this;T&&(x=Pe({},x,T));for(var z=0;z<O.length;z++){var S=O[z],V=S.animated()&&(x.queue===void 0||x.queue),U=S.animation(x,V?{queue:!0}:void 0);U.play()}return this}},stop:function(){return function(x,T){var L=this,I=L.length!==void 0,O=I?L:[L],$=this._private.cy||this;if(!$.styleEnabled())return this;for(var z=0;z<O.length;z++){for(var S=O[z],V=S._private,U=V.animation.current,tt=0;tt<U.length;tt++){var at=U[tt],lt=at._private;T&&(lt.duration=0)}x&&(V.animation.queue=[]),T||(V.animation.current=[])}return $.notify("draw"),this}}},DX=Array.isArray,HE=DX,IX=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OX=/^\w*$/;function PX(y,g){if(HE(y))return!1;var x=typeof y;return x=="number"||x=="symbol"||x=="boolean"||y==null||Cr(y)?!0:OX.test(y)||!IX.test(y)||g!=null&&y in Object(g)}var NX=PX,FX="[object AsyncFunction]",BX="[object Function]",RX="[object GeneratorFunction]",jX="[object Proxy]";function $X(y){if(!dn(y))return!1;var g=ad(y);return g==BX||g==RX||g==FX||g==jX}var zX=$X,qX=Zr["__core-js_shared__"],PL=qX,OF=function(){var y=/[^.]+$/.exec(PL&&PL.keys&&PL.keys.IE_PROTO||"");return y?"Symbol(src)_1."+y:""}();function HX(y){return!!OF&&OF in y}var VX=HX,GX=Function.prototype,PF=GX.toString;function UX(y){if(y!=null){try{return PF.call(y)}catch{}try{return y+""}catch{}}return""}var WX=UX,KX=/[\\^$.*+?()[\]{}|]/g,YX=/^\[object .+?Constructor\]$/,XX=Function.prototype,QX=Object.prototype,NF=XX.toString,FF=QX.hasOwnProperty,ZX=RegExp("^"+NF.call(FF).replace(KX,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function BF(y){if(!dn(y)||VX(y))return!1;var g=zX(y)?ZX:YX;return g.test(WX(y))}var RF=BF;function JX(y,g){return y==null?void 0:y[g]}var tQ=JX;function eQ(y,g){var x=tQ(y,g);return RF(x)?x:void 0}var NL=eQ,nQ=NL(Object,"create"),Tk=nQ;function rQ(){this.__data__=Tk?Tk(null):{},this.size=0}var iQ=rQ;function sQ(y){var g=this.has(y)&&delete this.__data__[y];return this.size-=g?1:0,g}var jF=sQ,aQ="__lodash_hash_undefined__",oQ=Object.prototype,cQ=oQ.hasOwnProperty;function uQ(y){var g=this.__data__;if(Tk){var x=g[y];return x===aQ?void 0:x}return cQ.call(g,y)?g[y]:void 0}var lQ=uQ,hQ=Object.prototype,fQ=hQ.hasOwnProperty;function dQ(y){var g=this.__data__;return Tk?g[y]!==void 0:fQ.call(g,y)}var gQ=dQ,pQ="__lodash_hash_undefined__";function bQ(y,g){var x=this.__data__;return this.size+=this.has(y)?0:1,x[y]=Tk&&g===void 0?pQ:g,this}var vQ=bQ;function X5(y){var g=-1,x=y==null?0:y.length;for(this.clear();++g<x;){var T=y[g];this.set(T[0],T[1])}}X5.prototype.clear=iQ,X5.prototype.delete=jF,X5.prototype.get=lQ,X5.prototype.has=gQ,X5.prototype.set=vQ;var $F=X5;function wQ(){this.__data__=[],this.size=0}var mQ=wQ;function yQ(y,g){return y===g||y!==y&&g!==g}var zF=yQ;function xQ(y,g){for(var x=y.length;x--;)if(zF(y[x][0],g))return x;return-1}var VE=xQ,kQ=Array.prototype,EQ=kQ.splice;function TQ(y){var g=this.__data__,x=VE(g,y);if(x<0)return!1;var T=g.length-1;return x==T?g.pop():EQ.call(g,x,1),--this.size,!0}var _Q=TQ;function CQ(y){var g=this.__data__,x=VE(g,y);return x<0?void 0:g[x][1]}var SQ=CQ;function AQ(y){return VE(this.__data__,y)>-1}var LQ=AQ;function MQ(y,g){var x=this.__data__,T=VE(x,y);return T<0?(++this.size,x.push([y,g])):x[T][1]=g,this}var DQ=MQ;function Q5(y){var g=-1,x=y==null?0:y.length;for(this.clear();++g<x;){var T=y[g];this.set(T[0],T[1])}}Q5.prototype.clear=mQ,Q5.prototype.delete=_Q,Q5.prototype.get=SQ,Q5.prototype.has=LQ,Q5.prototype.set=DQ;var IQ=Q5,OQ=NL(Zr,"Map"),PQ=OQ;function NQ(){this.size=0,this.__data__={hash:new $F,map:new(PQ||IQ),string:new $F}}var FQ=NQ;function BQ(y){var g=typeof y;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?y!=="__proto__":y===null}var RQ=BQ;function jQ(y,g){var x=y.__data__;return RQ(g)?x[typeof g=="string"?"string":"hash"]:x.map}var GE=jQ;function $Q(y){var g=GE(this,y).delete(y);return this.size-=g?1:0,g}var zQ=$Q;function qQ(y){return GE(this,y).get(y)}var HQ=qQ;function VQ(y){return GE(this,y).has(y)}var GQ=VQ;function UQ(y,g){var x=GE(this,y),T=x.size;return x.set(y,g),this.size+=x.size==T?0:1,this}var WQ=UQ;function Z5(y){var g=-1,x=y==null?0:y.length;for(this.clear();++g<x;){var T=y[g];this.set(T[0],T[1])}}Z5.prototype.clear=FQ,Z5.prototype.delete=zQ,Z5.prototype.get=HQ,Z5.prototype.has=GQ,Z5.prototype.set=WQ;var qF=Z5,KQ="Expected a function";function FL(y,g){if(typeof y!="function"||g!=null&&typeof g!="function")throw new TypeError(KQ);var x=function(){var T=arguments,L=g?g.apply(this,T):T[0],I=x.cache;if(I.has(L))return I.get(L);var O=y.apply(this,T);return x.cache=I.set(L,O)||I,O};return x.cache=new(FL.Cache||qF),x}FL.Cache=qF;var YQ=FL,XQ=500;function QQ(y){var g=YQ(y,function(T){return x.size===XQ&&x.clear(),T}),x=g.cache;return g}var ZQ=QQ,JQ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tZ=/\\(\\)?/g,eZ=ZQ(function(y){var g=[];return y.charCodeAt(0)===46&&g.push(""),y.replace(JQ,function(x,T,L,I){g.push(L?I.replace(tZ,"$1"):T||x)}),g}),HF=eZ;function nZ(y,g){for(var x=-1,T=y==null?0:y.length,L=Array(T);++x<T;)L[x]=g(y[x],x,y);return L}var VF=nZ,rZ=1/0,GF=is?is.prototype:void 0,UF=GF?GF.toString:void 0;function WF(y){if(typeof y=="string")return y;if(HE(y))return VF(y,WF)+"";if(Cr(y))return UF?UF.call(y):"";var g=y+"";return g=="0"&&1/y==-rZ?"-0":g}var iZ=WF;function sZ(y){return y==null?"":iZ(y)}var UE=sZ;function BL(y,g){return HE(y)?y:NX(y,g)?[y]:HF(UE(y))}var WE=BL,aZ=1/0;function oZ(y){if(typeof y=="string"||Cr(y))return y;var g=y+"";return g=="0"&&1/y==-aZ?"-0":g}var RL=oZ;function cZ(y,g){g=WE(g,y);for(var x=0,T=g.length;y!=null&&x<T;)y=y[RL(g[x++])];return x&&x==T?y:void 0}var uZ=cZ;function KF(y,g,x){var T=y==null?void 0:uZ(y,g);return T===void 0?x:T}var lZ=KF,hZ=function(){try{var y=NL(Object,"defineProperty");return y({},"",{}),y}catch{}}(),fZ=hZ;function dZ(y,g,x){g=="__proto__"&&fZ?fZ(y,g,{configurable:!0,enumerable:!0,value:x,writable:!0}):y[g]=x}var gZ=dZ,pZ=Object.prototype,bZ=pZ.hasOwnProperty;function vZ(y,g,x){var T=y[g];(!(bZ.call(y,g)&&zF(T,x))||x===void 0&&!(g in y))&&gZ(y,g,x)}var wZ=vZ,mZ=9007199254740991,mg=/^(?:0|[1-9]\d*)$/;function yZ(y,g){var x=typeof y;return g=g??mZ,!!g&&(x=="number"||x!="symbol"&&mg.test(y))&&y>-1&&y%1==0&&y<g}var wm=yZ;function YF(y,g,x,T){if(!dn(y))return y;g=WE(g,y);for(var L=-1,I=g.length,O=I-1,$=y;$!=null&&++L<I;){var z=RL(g[L]),S=x;if(z==="__proto__"||z==="constructor"||z==="prototype")return y;if(L!=O){var V=$[z];S=T?T(V,z,$):void 0,S===void 0&&(S=dn(V)?V:wm(g[L+1])?[]:{})}wZ($,z,S),$=$[z]}return y}var xZ=YF;function kZ(y,g,x){return y==null?y:xZ(y,g,x)}var EZ=kZ;function TZ(y,g){var x=-1,T=y.length;for(g||(g=Array(T));++x<T;)g[x]=y[x];return g}var _Z=TZ;function CZ(y){return HE(y)?VF(y,RL):Cr(y)?[y]:_Z(HF(UE(y)))}var SZ=CZ,AZ={data:function(g){var x={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(L){},beforeSet:function(L,I){},onSet:function(L){},canSet:function(L){return!0}};return g=Pe({},x,g),function(L,I){var O=g,$=this,z=$.length!==void 0,S=z?$:[$],V=z?$[0]:$;if(Tt(L)){var U=L.indexOf(".")!==-1,tt=U&&SZ(L);if(O.allowGetting&&I===void 0){var at;return V&&(O.beforeGet(V),tt&&V._private[O.field][L]===void 0?at=lZ(V._private[O.field],tt):at=V._private[O.field][L]),at}else if(O.allowSetting&&I!==void 0){var lt=!O.immutableKeys[L];if(lt){var ft=b({},L,I);O.beforeSet($,ft);for(var Lt=0,kt=S.length;Lt<kt;Lt++){var Dt=S[Lt];O.canSet(Dt)&&(tt&&V._private[O.field][L]===void 0?EZ(Dt._private[O.field],tt,I):Dt._private[O.field][L]=I)}O.updateStyle&&$.updateStyle(),O.onSet($),O.settingTriggersEvent&&$[O.triggerFnName](O.settingEvent)}}}else if(O.allowSetting&&ut(L)){var It=L,qt,te,Yt=Object.keys(It);O.beforeSet($,It);for(var Ht=0;Ht<Yt.length;Ht++){qt=Yt[Ht],te=It[qt];var ie=!O.immutableKeys[qt];if(ie)for(var Wt=0;Wt<S.length;Wt++){var be=S[Wt];O.canSet(be)&&(be._private[O.field][qt]=te)}}O.updateStyle&&$.updateStyle(),O.onSet($),O.settingTriggersEvent&&$[O.triggerFnName](O.settingEvent)}else if(O.allowBinding&&yt(L)){var we=L;$.on(O.bindingEvent,we)}else if(O.allowGetting&&L===void 0){var ae;return V&&(O.beforeGet(V),ae=V._private[O.field]),ae}return $}},removeData:function(g){var x={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return g=Pe({},x,g),function(L){var I=g,O=this,$=O.length!==void 0,z=$?O:[O];if(Tt(L)){for(var S=L.split(/\s+/),V=S.length,U=0;U<V;U++){var tt=S[U];if(!X(tt)){var at=!I.immutableKeys[tt];if(at)for(var lt=0,ft=z.length;lt<ft;lt++)z[lt]._private[I.field][tt]=void 0}}I.triggerEvent&&O[I.triggerFnName](I.event)}else if(L===void 0){for(var Lt=0,kt=z.length;Lt<kt;Lt++)for(var Dt=z[Lt]._private[I.field],It=Object.keys(Dt),qt=0;qt<It.length;qt++){var te=It[qt],Yt=!I.immutableKeys[te];Yt&&(Dt[te]=void 0)}I.triggerEvent&&O[I.triggerFnName](I.event)}return O}}},LZ={eventAliasesOn:function(g){var x=g;x.addListener=x.listen=x.bind=x.on,x.unlisten=x.unbind=x.off=x.removeListener,x.trigger=x.emit,x.pon=x.promiseOn=function(T,L){var I=this,O=Array.prototype.slice.call(arguments,0);return new Y5(function($,z){var S=function(at){I.off.apply(I,U),$(at)},V=O.concat([S]),U=V.concat([]);I.on.apply(I,V)})}}},jc={};[MX,AZ,LZ].forEach(function(y){Pe(jc,y)});var MZ={animate:jc.animate(),animation:jc.animation(),animated:jc.animated(),clearQueue:jc.clearQueue(),delay:jc.delay(),delayAnimation:jc.delayAnimation(),stop:jc.stop()},KE={classes:function(g){var x=this;if(g===void 0){var T=[];return x[0]._private.classes.forEach(function(lt){return T.push(lt)}),T}else vt(g)||(g=(g||"").match(/\S+/g)||[]);for(var L=[],I=new q5(g),O=0;O<x.length;O++){for(var $=x[O],z=$._private,S=z.classes,V=!1,U=0;U<g.length;U++){var tt=g[U],at=S.has(tt);if(!at){V=!0;break}}V||(V=S.size!==g.length),V&&(z.classes=I,L.push($))}return L.length>0&&this.spawn(L).updateStyle().emit("class"),x},addClass:function(g){return this.toggleClass(g,!0)},hasClass:function(g){var x=this[0];return x!=null&&x._private.classes.has(g)},toggleClass:function(g,x){vt(g)||(g=g.match(/\S+/g)||[]);for(var T=this,L=x===void 0,I=[],O=0,$=T.length;O<$;O++)for(var z=T[O],S=z._private.classes,V=!1,U=0;U<g.length;U++){var tt=g[U],at=S.has(tt),lt=!1;x||L&&!at?(S.add(tt),lt=!0):(!x||L&&at)&&(S.delete(tt),lt=!0),!V&&lt&&(I.push(z),V=!0)}return I.length>0&&this.spawn(I).updateStyle().emit("class"),T},removeClass:function(g){return this.toggleClass(g,!1)},flashClass:function(g,x){var T=this;if(x==null)x=250;else if(x===0)return T;return T.addClass(g),setTimeout(function(){T.removeClass(g)},x),T}};KE.className=KE.classNames=KE.classes;var dc={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:Se,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};dc.variable="(?:[\\w-.]|(?:\\\\"+dc.metaChar+"))+",dc.className="(?:[\\w-]|(?:\\\\"+dc.metaChar+"))+",dc.value=dc.string+"|"+dc.number,dc.id=dc.variable,function(){var y,g,x;for(y=dc.comparatorOp.split("|"),x=0;x<y.length;x++)g=y[x],dc.comparatorOp+="|@"+g;for(y=dc.comparatorOp.split("|"),x=0;x<y.length;x++)g=y[x],!(g.indexOf("!")>=0)&&g!=="="&&(dc.comparatorOp+="|\\!"+g)}();var ru=function(){return{checks:[]}},Ji={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},jL=[{selector:":selected",matches:function(g){return g.selected()}},{selector:":unselected",matches:function(g){return!g.selected()}},{selector:":selectable",matches:function(g){return g.selectable()}},{selector:":unselectable",matches:function(g){return!g.selectable()}},{selector:":locked",matches:function(g){return g.locked()}},{selector:":unlocked",matches:function(g){return!g.locked()}},{selector:":visible",matches:function(g){return g.visible()}},{selector:":hidden",matches:function(g){return!g.visible()}},{selector:":transparent",matches:function(g){return g.transparent()}},{selector:":grabbed",matches:function(g){return g.grabbed()}},{selector:":free",matches:function(g){return!g.grabbed()}},{selector:":removed",matches:function(g){return g.removed()}},{selector:":inside",matches:function(g){return!g.removed()}},{selector:":grabbable",matches:function(g){return g.grabbable()}},{selector:":ungrabbable",matches:function(g){return!g.grabbable()}},{selector:":animated",matches:function(g){return g.animated()}},{selector:":unanimated",matches:function(g){return!g.animated()}},{selector:":parent",matches:function(g){return g.isParent()}},{selector:":childless",matches:function(g){return g.isChildless()}},{selector:":child",matches:function(g){return g.isChild()}},{selector:":orphan",matches:function(g){return g.isOrphan()}},{selector:":nonorphan",matches:function(g){return g.isChild()}},{selector:":compound",matches:function(g){return g.isNode()?g.isParent():g.source().isParent()||g.target().isParent()}},{selector:":loop",matches:function(g){return g.isLoop()}},{selector:":simple",matches:function(g){return g.isSimple()}},{selector:":active",matches:function(g){return g.active()}},{selector:":inactive",matches:function(g){return!g.active()}},{selector:":backgrounding",matches:function(g){return g.backgrounding()}},{selector:":nonbackgrounding",matches:function(g){return!g.backgrounding()}}].sort(function(y,g){return se(y.selector,g.selector)}),DZ=function(){for(var y={},g,x=0;x<jL.length;x++)g=jL[x],y[g.selector]=g.matches;return y}(),IZ=function(g,x){return DZ[g](x)},OZ="("+jL.map(function(y){return y.selector}).join("|")+")",J5=function(g){return g.replace(new RegExp("\\\\("+dc.metaChar+")","g"),function(x,T){return T})},mm=function(g,x,T){g[g.length-1]=T},We=[{name:"group",query:!0,regex:"("+dc.group+")",populate:function(g,x,T){var L=E(T,1),I=L[0];x.checks.push({type:Ji.GROUP,value:I==="*"?I:I+"s"})}},{name:"state",query:!0,regex:OZ,populate:function(g,x,T){var L=E(T,1),I=L[0];x.checks.push({type:Ji.STATE,value:I})}},{name:"id",query:!0,regex:"\\#("+dc.id+")",populate:function(g,x,T){var L=E(T,1),I=L[0];x.checks.push({type:Ji.ID,value:J5(I)})}},{name:"className",query:!0,regex:"\\.("+dc.className+")",populate:function(g,x,T){var L=E(T,1),I=L[0];x.checks.push({type:Ji.CLASS,value:J5(I)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+dc.variable+")\\s*\\]",populate:function(g,x,T){var L=E(T,1),I=L[0];x.checks.push({type:Ji.DATA_EXIST,field:J5(I)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+dc.variable+")\\s*("+dc.comparatorOp+")\\s*("+dc.value+")\\s*\\]",populate:function(g,x,T){var L=E(T,3),I=L[0],O=L[1],$=L[2],z=new RegExp("^"+dc.string+"$").exec($)!=null;z?$=$.substring(1,$.length-1):$=parseFloat($),x.checks.push({type:Ji.DATA_COMPARE,field:J5(I),operator:O,value:$})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+dc.boolOp+")\\s*("+dc.variable+")\\s*\\]",populate:function(g,x,T){var L=E(T,2),I=L[0],O=L[1];x.checks.push({type:Ji.DATA_BOOL,field:J5(O),operator:I})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+dc.meta+")\\s*("+dc.comparatorOp+")\\s*("+dc.number+")\\s*\\]\\]",populate:function(g,x,T){var L=E(T,3),I=L[0],O=L[1],$=L[2];x.checks.push({type:Ji.META_COMPARE,field:J5(I),operator:O,value:parseFloat($)})}},{name:"nextQuery",separator:!0,regex:dc.separator,populate:function(g,x){var T=g.currentSubject,L=g.edgeCount,I=g.compoundCount,O=g[g.length-1];T!=null&&(O.subject=T,g.currentSubject=null),O.edgeCount=L,O.compoundCount=I,g.edgeCount=0,g.compoundCount=0;var $=g[g.length++]=ru();return $}},{name:"directedEdge",separator:!0,regex:dc.directedEdge,populate:function(g,x){if(g.currentSubject==null){var T=ru(),L=x,I=ru();return T.checks.push({type:Ji.DIRECTED_EDGE,source:L,target:I}),mm(g,x,T),g.edgeCount++,I}else{var O=ru(),$=x,z=ru();return O.checks.push({type:Ji.NODE_SOURCE,source:$,target:z}),mm(g,x,O),g.edgeCount++,z}}},{name:"undirectedEdge",separator:!0,regex:dc.undirectedEdge,populate:function(g,x){if(g.currentSubject==null){var T=ru(),L=x,I=ru();return T.checks.push({type:Ji.UNDIRECTED_EDGE,nodes:[L,I]}),mm(g,x,T),g.edgeCount++,I}else{var O=ru(),$=x,z=ru();return O.checks.push({type:Ji.NODE_NEIGHBOR,node:$,neighbor:z}),mm(g,x,O),z}}},{name:"child",separator:!0,regex:dc.child,populate:function(g,x){if(g.currentSubject==null){var T=ru(),L=ru(),I=g[g.length-1];return T.checks.push({type:Ji.CHILD,parent:I,child:L}),mm(g,x,T),g.compoundCount++,L}else if(g.currentSubject===x){var O=ru(),$=g[g.length-1],z=ru(),S=ru(),V=ru(),U=ru();return O.checks.push({type:Ji.COMPOUND_SPLIT,left:$,right:z,subject:S}),S.checks=x.checks,x.checks=[{type:Ji.TRUE}],U.checks.push({type:Ji.TRUE}),z.checks.push({type:Ji.PARENT,parent:U,child:V}),mm(g,$,O),g.currentSubject=S,g.compoundCount++,V}else{var tt=ru(),at=ru(),lt=[{type:Ji.PARENT,parent:tt,child:at}];return tt.checks=x.checks,x.checks=lt,g.compoundCount++,at}}},{name:"descendant",separator:!0,regex:dc.descendant,populate:function(g,x){if(g.currentSubject==null){var T=ru(),L=ru(),I=g[g.length-1];return T.checks.push({type:Ji.DESCENDANT,ancestor:I,descendant:L}),mm(g,x,T),g.compoundCount++,L}else if(g.currentSubject===x){var O=ru(),$=g[g.length-1],z=ru(),S=ru(),V=ru(),U=ru();return O.checks.push({type:Ji.COMPOUND_SPLIT,left:$,right:z,subject:S}),S.checks=x.checks,x.checks=[{type:Ji.TRUE}],U.checks.push({type:Ji.TRUE}),z.checks.push({type:Ji.ANCESTOR,ancestor:U,descendant:V}),mm(g,$,O),g.currentSubject=S,g.compoundCount++,V}else{var tt=ru(),at=ru(),lt=[{type:Ji.ANCESTOR,ancestor:tt,descendant:at}];return tt.checks=x.checks,x.checks=lt,g.compoundCount++,at}}},{name:"subject",modifier:!0,regex:dc.subject,populate:function(g,x){if(g.currentSubject!=null&&g.currentSubject!==x)return Ko("Redefinition of subject in selector `"+g.toString()+"`"),!1;g.currentSubject=x;var T=g[g.length-1],L=T.checks[0],I=L==null?null:L.type;I===Ji.DIRECTED_EDGE?L.type=Ji.NODE_TARGET:I===Ji.UNDIRECTED_EDGE&&(L.type=Ji.NODE_NEIGHBOR,L.node=L.nodes[1],L.neighbor=L.nodes[0],L.nodes=null)}}];We.forEach(function(y){return y.regexObj=new RegExp("^"+y.regex)});var PZ=function(g){for(var x,T,L,I=0;I<We.length;I++){var O=We[I],$=O.name,z=g.match(O.regexObj);if(z!=null){T=z,x=O,L=$;var S=z[0];g=g.substring(S.length);break}}return{expr:x,match:T,name:L,remaining:g}},NZ=function(g){var x=g.match(/^\s+/);if(x){var T=x[0];g=g.substring(T.length)}return g},FZ=function(g){var x=this,T=x.inputText=g,L=x[0]=ru();for(x.length=1,T=NZ(T);;){var I=PZ(T);if(I.expr==null)return Ko("The selector `"+g+"`is invalid"),!1;var O=I.match.slice(1),$=I.expr.populate(x,L,O);if($===!1)return!1;if($!=null&&(L=$),T=I.remaining,T.match(/^\s*$/))break}var z=x[x.length-1];x.currentSubject!=null&&(z.subject=x.currentSubject),z.edgeCount=x.edgeCount,z.compoundCount=x.compoundCount;for(var S=0;S<x.length;S++){var V=x[S];if(V.compoundCount>0&&V.edgeCount>0)return Ko("The selector `"+g+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(V.edgeCount>1)return Ko("The selector `"+g+"` is invalid because it uses multiple edge selectors"),!1;V.edgeCount===1&&Ko("The selector `"+g+"` 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},BZ=function(){if(this.toStringCache!=null)return this.toStringCache;for(var g=function(V){return V??""},x=function(V){return Tt(V)?'"'+V+'"':g(V)},T=function(V){return" "+V+" "},L=function(V,U){var tt=V.type,at=V.value;switch(tt){case Ji.GROUP:{var lt=g(at);return lt.substring(0,lt.length-1)}case Ji.DATA_COMPARE:{var ft=V.field,Lt=V.operator;return"["+ft+T(g(Lt))+x(at)+"]"}case Ji.DATA_BOOL:{var kt=V.operator,Dt=V.field;return"["+g(kt)+Dt+"]"}case Ji.DATA_EXIST:{var It=V.field;return"["+It+"]"}case Ji.META_COMPARE:{var qt=V.operator,te=V.field;return"[["+te+T(g(qt))+x(at)+"]]"}case Ji.STATE:return at;case Ji.ID:return"#"+at;case Ji.CLASS:return"."+at;case Ji.PARENT:case Ji.CHILD:return I(V.parent,U)+T(">")+I(V.child,U);case Ji.ANCESTOR:case Ji.DESCENDANT:return I(V.ancestor,U)+" "+I(V.descendant,U);case Ji.COMPOUND_SPLIT:{var Yt=I(V.left,U),Ht=I(V.subject,U),ie=I(V.right,U);return Yt+(Yt.length>0?" ":"")+Ht+ie}case Ji.TRUE:return""}},I=function(V,U){return V.checks.reduce(function(tt,at,lt){return tt+(U===V&&lt===0?"$":"")+L(at,U)},"")},O="",$=0;$<this.length;$++){var z=this[$];O+=I(z,z.subject),this.length>1&&$<this.length-1&&(O+=", ")}return this.toStringCache=O,O},RZ={parse:FZ,toString:BZ},XF=function(g,x,T){var L,I=Tt(g),O=st(g),$=Tt(T),z,S,V=!1,U=!1,tt=!1;switch(x.indexOf("!")>=0&&(x=x.replace("!",""),U=!0),x.indexOf("@")>=0&&(x=x.replace("@",""),V=!0),(I||$||V)&&(z=!I&&!O?"":""+g,S=""+T),V&&(g=z=z.toLowerCase(),T=S=S.toLowerCase()),x){case"*=":L=z.indexOf(S)>=0;break;case"$=":L=z.indexOf(S,z.length-S.length)>=0;break;case"^=":L=z.indexOf(S)===0;break;case"=":L=g===T;break;case">":tt=!0,L=g>T;break;case">=":tt=!0,L=g>=T;break;case"<":tt=!0,L=g<T;break;case"<=":tt=!0,L=g<=T;break;default:L=!1;break}return U&&(g!=null||!tt)&&(L=!L),L},jZ=function(g,x){switch(x){case"?":return!!g;case"!":return!g;case"^":return g===void 0}},$Z=function(g){return g!==void 0},$L=function(g,x){return g.data(x)},zZ=function(g,x){return g[x]()},il=[],zu=function(g,x){return g.checks.every(function(T){return il[T.type](T,x)})};il[Ji.GROUP]=function(y,g){var x=y.value;return x==="*"||x===g.group()},il[Ji.STATE]=function(y,g){var x=y.value;return IZ(x,g)},il[Ji.ID]=function(y,g){var x=y.value;return g.id()===x},il[Ji.CLASS]=function(y,g){var x=y.value;return g.hasClass(x)},il[Ji.META_COMPARE]=function(y,g){var x=y.field,T=y.operator,L=y.value;return XF(zZ(g,x),T,L)},il[Ji.DATA_COMPARE]=function(y,g){var x=y.field,T=y.operator,L=y.value;return XF($L(g,x),T,L)},il[Ji.DATA_BOOL]=function(y,g){var x=y.field,T=y.operator;return jZ($L(g,x),T)},il[Ji.DATA_EXIST]=function(y,g){var x=y.field;return y.operator,$Z($L(g,x))},il[Ji.UNDIRECTED_EDGE]=function(y,g){var x=y.nodes[0],T=y.nodes[1],L=g.source(),I=g.target();return zu(x,L)&&zu(T,I)||zu(T,L)&&zu(x,I)},il[Ji.NODE_NEIGHBOR]=function(y,g){return zu(y.node,g)&&g.neighborhood().some(function(x){return x.isNode()&&zu(y.neighbor,x)})},il[Ji.DIRECTED_EDGE]=function(y,g){return zu(y.source,g.source())&&zu(y.target,g.target())},il[Ji.NODE_SOURCE]=function(y,g){return zu(y.source,g)&&g.outgoers().some(function(x){return x.isNode()&&zu(y.target,x)})},il[Ji.NODE_TARGET]=function(y,g){return zu(y.target,g)&&g.incomers().some(function(x){return x.isNode()&&zu(y.source,x)})},il[Ji.CHILD]=function(y,g){return zu(y.child,g)&&zu(y.parent,g.parent())},il[Ji.PARENT]=function(y,g){return zu(y.parent,g)&&g.children().some(function(x){return zu(y.child,x)})},il[Ji.DESCENDANT]=function(y,g){return zu(y.descendant,g)&&g.ancestors().some(function(x){return zu(y.ancestor,x)})},il[Ji.ANCESTOR]=function(y,g){return zu(y.ancestor,g)&&g.descendants().some(function(x){return zu(y.descendant,x)})},il[Ji.COMPOUND_SPLIT]=function(y,g){return zu(y.subject,g)&&zu(y.left,g)&&zu(y.right,g)},il[Ji.TRUE]=function(){return!0},il[Ji.COLLECTION]=function(y,g){var x=y.value;return x.has(g)},il[Ji.FILTER]=function(y,g){var x=y.value;return x(g)};var qZ=function(g){var x=this;if(x.length===1&&x[0].checks.length===1&&x[0].checks[0].type===Ji.ID)return g.getElementById(x[0].checks[0].value).collection();var T=function(I){for(var O=0;O<x.length;O++){var $=x[O];if(zu($,I))return!0}return!1};return x.text()==null&&(T=function(){return!0}),g.filter(T)},HZ=function(g){for(var x=this,T=0;T<x.length;T++){var L=x[T];if(zu(L,g))return!0}return!1},VZ={matches:HZ,filter:qZ},ym=function(g){this.inputText=g,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,g==null||Tt(g)&&g.match(/^\s*$/)||(pt(g)?this.addQuery({checks:[{type:Ji.COLLECTION,value:g.collection()}]}):yt(g)?this.addQuery({checks:[{type:Ji.FILTER,value:g}]}):Tt(g)?this.parse(g)||(this.invalid=!0):Ec("A selector must be created from a string; found "))},hv=ym.prototype;[RZ,VZ].forEach(function(y){return Pe(hv,y)}),hv.text=function(){return this.inputText},hv.size=function(){return this.length},hv.eq=function(y){return this[y]},hv.sameText=function(y){return!this.invalid&&!y.invalid&&this.text()===y.text()},hv.addQuery=function(y){this[this.length++]=y},hv.selector=hv.toString;var xp={allAre:function(g){var x=new ym(g);return this.every(function(T){return x.matches(T)})},is:function(g){var x=new ym(g);return this.some(function(T){return x.matches(T)})},some:function(g,x){for(var T=0;T<this.length;T++){var L=x?g.apply(x,[this[T],T,this]):g(this[T],T,this);if(L)return!0}return!1},every:function(g,x){for(var T=0;T<this.length;T++){var L=x?g.apply(x,[this[T],T,this]):g(this[T],T,this);if(!L)return!1}return!0},same:function(g){if(this===g)return!0;g=this.cy().collection(g);var x=this.length,T=g.length;return x!==T?!1:x===1?this[0]===g[0]:this.every(function(L){return g.hasElementWithId(L.id())})},anySame:function(g){return g=this.cy().collection(g),this.some(function(x){return g.hasElementWithId(x.id())})},allAreNeighbors:function(g){g=this.cy().collection(g);var x=this.neighborhood();return g.every(function(T){return x.hasElementWithId(T.id())})},contains:function(g){g=this.cy().collection(g);var x=this;return g.every(function(T){return x.hasElementWithId(T.id())})}};xp.allAreNeighbours=xp.allAreNeighbors,xp.has=xp.contains,xp.equal=xp.equals=xp.same;var ld=function(g,x){return function(L,I,O,$){var z=L,S=this,V;if(z==null?V="":pt(z)&&z.length===1&&(V=z.id()),S.length===1&&V){var U=S[0]._private,tt=U.traversalCache=U.traversalCache||{},at=tt[x]=tt[x]||[],lt=od(V),ft=at[lt];return ft||(at[lt]=g.call(S,L,I,O,$))}else return g.call(S,L,I,O,$)}},t6={parent:function(g){var x=[];if(this.length===1){var T=this[0]._private.parent;if(T)return T}for(var L=0;L<this.length;L++){var I=this[L],O=I._private.parent;O&&x.push(O)}return this.spawn(x,!0).filter(g)},parents:function(g){for(var x=[],T=this.parent();T.nonempty();){for(var L=0;L<T.length;L++){var I=T[L];x.push(I)}T=T.parent()}return this.spawn(x,!0).filter(g)},commonAncestors:function(g){for(var x,T=0;T<this.length;T++){var L=this[T],I=L.parents();x=x||I,x=x.intersect(I)}return x.filter(g)},orphans:function(g){return this.stdFilter(function(x){return x.isOrphan()}).filter(g)},nonorphans:function(g){return this.stdFilter(function(x){return x.isChild()}).filter(g)},children:ld(function(y){for(var g=[],x=0;x<this.length;x++)for(var T=this[x],L=T._private.children,I=0;I<L.length;I++)g.push(L[I]);return this.spawn(g,!0).filter(y)},"children"),siblings:function(g){return this.parent().children().not(this).filter(g)},isParent:function(){var g=this[0];if(g)return g.isNode()&&g._private.children.length!==0},isChildless:function(){var g=this[0];if(g)return g.isNode()&&g._private.children.length===0},isChild:function(){var g=this[0];if(g)return g.isNode()&&g._private.parent!=null},isOrphan:function(){var g=this[0];if(g)return g.isNode()&&g._private.parent==null},descendants:function(g){var x=[];function T(L){for(var I=0;I<L.length;I++){var O=L[I];x.push(O),O.children().nonempty()&&T(O.children())}}return T(this.children()),this.spawn(x,!0).filter(g)}};function YE(y,g,x,T){for(var L=[],I=new q5,O=y.cy(),$=O.hasCompoundNodes(),z=0;z<y.length;z++){var S=y[z];x?L.push(S):$&&T(L,I,S)}for(;L.length>0;){var V=L.shift();g(V),I.add(V.id()),$&&T(L,I,V)}return y}function _k(y,g,x){if(x.isParent())for(var T=x._private.children,L=0;L<T.length;L++){var I=T[L];g.has(I.id())||y.push(I)}}t6.forEachDown=function(y){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return YE(this,y,g,_k)};function QF(y,g,x){if(x.isChild()){var T=x._private.parent;g.has(T.id())||y.push(T)}}t6.forEachUp=function(y){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return YE(this,y,g,QF)};function GZ(y,g,x){QF(y,g,x),_k(y,g,x)}t6.forEachUpAndDown=function(y){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return YE(this,y,g,GZ)},t6.ancestors=t6.parents;var Ck,ZF;Ck=ZF={data:jc.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:jc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:jc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:jc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:jc.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:jc.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var g=this[0];if(g)return g._private.data.id}},Ck.attr=Ck.data,Ck.removeAttr=Ck.removeData;var UZ=ZF,XE={};function e6(y){return function(g){var x=this;if(g===void 0&&(g=!0),x.length!==0)if(x.isNode()&&!x.removed()){for(var T=0,L=x[0],I=L._private.edges,O=0;O<I.length;O++){var $=I[O];!g&&$.isLoop()||(T+=y(L,$))}return T}else return}}Pe(XE,{degree:e6(function(y,g){return g.source().same(g.target())?2:1}),indegree:e6(function(y,g){return g.target().same(y)?1:0}),outdegree:e6(function(y,g){return g.source().same(y)?1:0})});function n6(y,g){return function(x){for(var T,L=this.nodes(),I=0;I<L.length;I++){var O=L[I],$=O[y](x);$!==void 0&&(T===void 0||g($,T))&&(T=$)}return T}}Pe(XE,{minDegree:n6("degree",function(y,g){return y<g}),maxDegree:n6("degree",function(y,g){return y>g}),minIndegree:n6("indegree",function(y,g){return y<g}),maxIndegree:n6("indegree",function(y,g){return y>g}),minOutdegree:n6("outdegree",function(y,g){return y<g}),maxOutdegree:n6("outdegree",function(y,g){return y>g})}),Pe(XE,{totalDegree:function(g){for(var x=0,T=this.nodes(),L=0;L<T.length;L++)x+=T[L].degree(g);return x}});var kp,JF,Sk=function(g,x,T){for(var L=0;L<g.length;L++){var I=g[L];if(!I.locked()){var O=I._private.position,$={x:x.x!=null?x.x-O.x:0,y:x.y!=null?x.y-O.y:0};I.isParent()&&!($.x===0&&$.y===0)&&I.children().shift($,T),I.dirtyBoundingBoxCache()}}},tB={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(g){g.updateCompoundBounds()},beforeSet:function(g,x){Sk(g,x,!1)},onSet:function(g){g.dirtyCompoundBoundsCache()},canSet:function(g){return!g.locked()}};kp=JF={position:jc.data(tB),silentPosition:jc.data(Pe({},tB,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(g,x){Sk(g,x,!0)},onSet:function(g){g.dirtyCompoundBoundsCache()}})),positions:function(g,x){if(ut(g))x?this.silentPosition(g):this.position(g);else if(yt(g)){var T=g,L=this.cy();L.startBatch();for(var I=0;I<this.length;I++){var O=this[I],$=void 0;($=T(O,I))&&(x?O.silentPosition($):O.position($))}L.endBatch()}return this},silentPositions:function(g){return this.positions(g,!0)},shift:function(g,x,T){var L;if(ut(g)?(L={x:st(g.x)?g.x:0,y:st(g.y)?g.y:0},T=x):Tt(g)&&st(x)&&(L={x:0,y:0},L[g]=x),L!=null){var I=this.cy();I.startBatch();for(var O=0;O<this.length;O++){var $=this[O];if(!(I.hasCompoundNodes()&&$.isChild()&&$.ancestors().anySame(this))){var z=$.position(),S={x:z.x+L.x,y:z.y+L.y};T?$.silentPosition(S):$.position(S)}}I.endBatch()}return this},silentShift:function(g,x){return ut(g)?this.shift(g,!0):Tt(g)&&st(x)&&this.shift(g,x,!0),this},renderedPosition:function(g,x){var T=this[0],L=this.cy(),I=L.zoom(),O=L.pan(),$=ut(g)?g:void 0,z=$!==void 0||x!==void 0&&Tt(g);if(T&&T.isNode())if(z)for(var S=0;S<this.length;S++){var V=this[S];x!==void 0?V.position(g,(x-O[g])/I):$!==void 0&&V.position(JN($,I,O))}else{var U=T.position();return $=OE(U,I,O),g===void 0?$:$[g]}else if(!z)return;return this},relativePosition:function(g,x){var T=this[0],L=this.cy(),I=ut(g)?g:void 0,O=I!==void 0||x!==void 0&&Tt(g),$=L.hasCompoundNodes();if(T&&T.isNode())if(O)for(var z=0;z<this.length;z++){var S=this[z],V=$?S.parent():null,U=V&&V.length>0,tt=U;U&&(V=V[0]);var at=tt?V.position():{x:0,y:0};x!==void 0?S.position(g,x+at[g]):I!==void 0&&S.position({x:I.x+at.x,y:I.y+at.y})}else{var lt=T.position(),ft=$?T.parent():null,Lt=ft&&ft.length>0,kt=Lt;Lt&&(ft=ft[0]);var Dt=kt?ft.position():{x:0,y:0};return I={x:lt.x-Dt.x,y:lt.y-Dt.y},g===void 0?I:I[g]}else if(!O)return;return this}},kp.modelPosition=kp.point=kp.position,kp.modelPositions=kp.points=kp.positions,kp.renderedPoint=kp.renderedPosition,kp.relativePoint=kp.relativePosition;var eB=JF,r6,V2;r6=V2={},V2.renderedBoundingBox=function(y){var g=this.boundingBox(y),x=this.cy(),T=x.zoom(),L=x.pan(),I=g.x1*T+L.x,O=g.x2*T+L.x,$=g.y1*T+L.y,z=g.y2*T+L.y;return{x1:I,x2:O,y1:$,y2:z,w:O-I,h:z-$}},V2.dirtyCompoundBoundsCache=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();return!g.styleEnabled()||!g.hasCompoundNodes()?this:(this.forEachUp(function(x){if(x.isParent()){var T=x._private;T.compoundBoundsClean=!1,T.bbCache=null,y||x.emitAndNotify("bounds")}}),this)},V2.updateCompoundBounds=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();if(!g.styleEnabled()||!g.hasCompoundNodes())return this;if(!y&&g.batching())return this;function x(O){if(!O.isParent())return;var $=O._private,z=O.children(),S=O.pstyle("compound-sizing-wrt-labels").value==="include",V={width:{val:O.pstyle("min-width").pfValue,left:O.pstyle("min-width-bias-left"),right:O.pstyle("min-width-bias-right")},height:{val:O.pstyle("min-height").pfValue,top:O.pstyle("min-height-bias-top"),bottom:O.pstyle("min-height-bias-bottom")}},U=z.boundingBox({includeLabels:S,includeOverlays:!1,useCache:!1}),tt=$.position;(U.w===0||U.h===0)&&(U={w:O.pstyle("width").pfValue,h:O.pstyle("height").pfValue},U.x1=tt.x-U.w/2,U.x2=tt.x+U.w/2,U.y1=tt.y-U.h/2,U.y2=tt.y+U.h/2);function at(Wt,be,we){var ae=0,Ne=0,me=be+we;return Wt>0&&me>0&&(ae=be/me*Wt,Ne=we/me*Wt),{biasDiff:ae,biasComplementDiff:Ne}}function lt(Wt,be,we,ae){if(we.units==="%")switch(ae){case"width":return Wt>0?we.pfValue*Wt:0;case"height":return be>0?we.pfValue*be:0;case"average":return Wt>0&&be>0?we.pfValue*(Wt+be)/2:0;case"min":return Wt>0&&be>0?Wt>be?we.pfValue*be:we.pfValue*Wt:0;case"max":return Wt>0&&be>0?Wt>be?we.pfValue*Wt:we.pfValue*be:0;default:return 0}else return we.units==="px"?we.pfValue:0}var ft=V.width.left.value;V.width.left.units==="px"&&V.width.val>0&&(ft=ft*100/V.width.val);var Lt=V.width.right.value;V.width.right.units==="px"&&V.width.val>0&&(Lt=Lt*100/V.width.val);var kt=V.height.top.value;V.height.top.units==="px"&&V.height.val>0&&(kt=kt*100/V.height.val);var Dt=V.height.bottom.value;V.height.bottom.units==="px"&&V.height.val>0&&(Dt=Dt*100/V.height.val);var It=at(V.width.val-U.w,ft,Lt),qt=It.biasDiff,te=It.biasComplementDiff,Yt=at(V.height.val-U.h,kt,Dt),Ht=Yt.biasDiff,ie=Yt.biasComplementDiff;$.autoPadding=lt(U.w,U.h,O.pstyle("padding"),O.pstyle("padding-relative-to").value),$.autoWidth=Math.max(U.w,V.width.val),tt.x=(-qt+U.x1+U.x2+te)/2,$.autoHeight=Math.max(U.h,V.height.val),tt.y=(-Ht+U.y1+U.y2+ie)/2}for(var T=0;T<this.length;T++){var L=this[T],I=L._private;(!I.compoundBoundsClean||y)&&(x(L),g.batching()||(I.compoundBoundsClean=!0))}return this};var S0=function(g){return g===1/0||g===-1/0?0:g},Ep=function(g,x,T,L,I){L-x===0||I-T===0||x==null||T==null||L==null||I==null||(g.x1=x<g.x1?x:g.x1,g.x2=L>g.x2?L:g.x2,g.y1=T<g.y1?T:g.y1,g.y2=I>g.y2?I:g.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1)},A3=function(g,x){return x==null?g:Ep(g,x.x1,x.y1,x.x2,x.y2)},Ak=function(g,x,T){return yp(g,x,T)},QE=function(g,x,T){if(!x.cy().headless()){var L=x._private,I=L.rstyle,O=I.arrowWidth/2,$=x.pstyle(T+"-arrow-shape").value,z,S;if($!=="none"){T==="source"?(z=I.srcX,S=I.srcY):T==="target"?(z=I.tgtX,S=I.tgtY):(z=I.midX,S=I.midY);var V=L.arrowBounds=L.arrowBounds||{},U=V[T]=V[T]||{};U.x1=z-O,U.y1=S-O,U.x2=z+O,U.y2=S+O,U.w=U.x2-U.x1,U.h=U.y2-U.y1,NE(U,1),Ep(g,U.x1,U.y1,U.x2,U.y2)}}},nB=function(g,x,T){if(!x.cy().headless()){var L;T?L=T+"-":L="";var I=x._private,O=I.rstyle,$=x.pstyle(L+"label").strValue;if($){var z=x.pstyle("text-halign"),S=x.pstyle("text-valign"),V=Ak(O,"labelWidth",T),U=Ak(O,"labelHeight",T),tt=Ak(O,"labelX",T),at=Ak(O,"labelY",T),lt=x.pstyle(L+"text-margin-x").pfValue,ft=x.pstyle(L+"text-margin-y").pfValue,Lt=x.isEdge(),kt=x.pstyle(L+"text-rotation"),Dt=x.pstyle("text-outline-width").pfValue,It=x.pstyle("text-border-width").pfValue,qt=It/2,te=x.pstyle("text-background-padding").pfValue,Yt=2,Ht=U,ie=V,Wt=ie/2,be=Ht/2,we,ae,Ne,me;if(Lt)we=tt-Wt,ae=tt+Wt,Ne=at-be,me=at+be;else{switch(z.value){case"left":we=tt-ie,ae=tt;break;case"center":we=tt-Wt,ae=tt+Wt;break;case"right":we=tt,ae=tt+ie;break}switch(S.value){case"top":Ne=at-Ht,me=at;break;case"center":Ne=at-be,me=at+be;break;case"bottom":Ne=at,me=at+Ht;break}}we+=lt-Math.max(Dt,qt)-te-Yt,ae+=lt+Math.max(Dt,qt)+te+Yt,Ne+=ft-Math.max(Dt,qt)-te-Yt,me+=ft+Math.max(Dt,qt)+te+Yt;var gn=T||"main",ze=I.labelBounds,Ge=ze[gn]=ze[gn]||{};Ge.x1=we,Ge.y1=Ne,Ge.x2=ae,Ge.y2=me,Ge.w=ae-we,Ge.h=me-Ne;var xn=Lt&&kt.strValue==="autorotate",On=kt.pfValue!=null&&kt.pfValue!==0;if(xn||On){var nr=xn?Ak(I.rstyle,"labelAngle",T):kt.pfValue,Sn=Math.cos(nr),er=Math.sin(nr),fr=(we+ae)/2,Mr=(Ne+me)/2;if(!Lt){switch(z.value){case"left":fr=ae;break;case"right":fr=we;break}switch(S.value){case"top":Mr=me;break;case"bottom":Mr=Ne;break}}var yr=function(Ra,Fi){return Ra=Ra-fr,Fi=Fi-Mr,{x:Ra*Sn-Fi*er+fr,y:Ra*er+Fi*Sn+Mr}},lr=yr(we,Ne),bn=yr(we,me),Sr=yr(ae,Ne),Er=yr(ae,me);we=Math.min(lr.x,bn.x,Sr.x,Er.x),ae=Math.max(lr.x,bn.x,Sr.x,Er.x),Ne=Math.min(lr.y,bn.y,Sr.y,Er.y),me=Math.max(lr.y,bn.y,Sr.y,Er.y)}var fi=gn+"Rot",Ii=ze[fi]=ze[fi]||{};Ii.x1=we,Ii.y1=Ne,Ii.x2=ae,Ii.y2=me,Ii.w=ae-we,Ii.h=me-Ne,Ep(g,we,Ne,ae,me),Ep(I.labelBounds.all,we,Ne,ae,me)}return g}},WZ=function(g,x){var T=g._private.cy,L=T.styleEnabled(),I=T.headless(),O=qd(),$=g._private,z=g.isNode(),S=g.isEdge(),V,U,tt,at,lt,ft,Lt=$.rstyle,kt=z&&L?g.pstyle("bounds-expansion").pfValue:[0],Dt=function(Ms){return Ms.pstyle("display").value!=="none"},It=!L||Dt(g)&&(!S||Dt(g.source())&&Dt(g.target()));if(It){var qt=0,te=0;L&&x.includeOverlays&&(qt=g.pstyle("overlay-opacity").value,qt!==0&&(te=g.pstyle("overlay-padding").value));var Yt=0,Ht=0;L&&x.includeUnderlays&&(Yt=g.pstyle("underlay-opacity").value,Yt!==0&&(Ht=g.pstyle("underlay-padding").value));var ie=Math.max(te,Ht),Wt=0,be=0;if(L&&(Wt=g.pstyle("width").pfValue,be=Wt/2),z&&x.includeNodes){var we=g.position();lt=we.x,ft=we.y;var ae=g.outerWidth(),Ne=ae/2,me=g.outerHeight(),gn=me/2;V=lt-Ne,U=lt+Ne,tt=ft-gn,at=ft+gn,Ep(O,V,tt,U,at)}else if(S&&x.includeEdges)if(L&&!I){var ze=g.pstyle("curve-style").strValue;if(V=Math.min(Lt.srcX,Lt.midX,Lt.tgtX),U=Math.max(Lt.srcX,Lt.midX,Lt.tgtX),tt=Math.min(Lt.srcY,Lt.midY,Lt.tgtY),at=Math.max(Lt.srcY,Lt.midY,Lt.tgtY),V-=be,U+=be,tt-=be,at+=be,Ep(O,V,tt,U,at),ze==="haystack"){var Ge=Lt.haystackPts;if(Ge&&Ge.length===2){if(V=Ge[0].x,tt=Ge[0].y,U=Ge[1].x,at=Ge[1].y,V>U){var xn=V;V=U,U=xn}if(tt>at){var On=tt;tt=at,at=On}Ep(O,V-be,tt-be,U+be,at+be)}}else if(ze==="bezier"||ze==="unbundled-bezier"||ze==="segments"||ze==="taxi"){var nr;switch(ze){case"bezier":case"unbundled-bezier":nr=Lt.bezierPts;break;case"segments":case"taxi":nr=Lt.linePts;break}if(nr!=null)for(var Sn=0;Sn<nr.length;Sn++){var er=nr[Sn];V=er.x-be,U=er.x+be,tt=er.y-be,at=er.y+be,Ep(O,V,tt,U,at)}}}else{var fr=g.source(),Mr=fr.position(),yr=g.target(),lr=yr.position();if(V=Mr.x,U=lr.x,tt=Mr.y,at=lr.y,V>U){var bn=V;V=U,U=bn}if(tt>at){var Sr=tt;tt=at,at=Sr}V-=be,U+=be,tt-=be,at+=be,Ep(O,V,tt,U,at)}if(L&&x.includeEdges&&S&&(QE(O,g,"mid-source"),QE(O,g,"mid-target"),QE(O,g,"source"),QE(O,g,"target")),L){var Er=g.pstyle("ghost").value==="yes";if(Er){var fi=g.pstyle("ghost-offset-x").pfValue,Ii=g.pstyle("ghost-offset-y").pfValue;Ep(O,O.x1+fi,O.y1+Ii,O.x2+fi,O.y2+Ii)}}var oa=$.bodyBounds=$.bodyBounds||{};eF(oa,O),_L(oa,kt),NE(oa,1),L&&(V=O.x1,U=O.x2,tt=O.y1,at=O.y2,Ep(O,V-ie,tt-ie,U+ie,at+ie));var Ra=$.overlayBounds=$.overlayBounds||{};eF(Ra,O),_L(Ra,kt),NE(Ra,1);var Fi=$.labelBounds=$.labelBounds||{};Fi.all!=null?_Y(Fi.all):Fi.all=qd(),L&&x.includeLabels&&(x.includeMainLabels&&nB(O,g,null),S&&(x.includeSourceLabels&&nB(O,g,"source"),x.includeTargetLabels&&nB(O,g,"target")))}return O.x1=S0(O.x1),O.y1=S0(O.y1),O.x2=S0(O.x2),O.y2=S0(O.y2),O.w=S0(O.x2-O.x1),O.h=S0(O.y2-O.y1),O.w>0&&O.h>0&&It&&(_L(O,kt),NE(O,1)),O},rB=function(g){var x=0,T=function(O){return(O?1:0)<<x++},L=0;return L+=T(g.incudeNodes),L+=T(g.includeEdges),L+=T(g.includeLabels),L+=T(g.includeMainLabels),L+=T(g.includeSourceLabels),L+=T(g.includeTargetLabels),L+=T(g.includeOverlays),L},iB=function(g){if(g.isEdge()){var x=g.source().position(),T=g.target().position(),L=function(O){return Math.round(O)};return ah([L(x.x),L(x.y),L(T.x),L(T.y)])}else return 0},sB=function(g,x){var T=g._private,L,I=g.isEdge(),O=x==null?aB:rB(x),$=O===aB,z=iB(g),S=T.bbCachePosKey===z,V=x.useCache&&S,U=function(ft){return ft._private.bbCache==null||ft._private.styleDirty},tt=!V||U(g)||I&&U(g.source())||U(g.target());if(tt?(S||g.recalculateRenderedStyle(V),L=WZ(g,Lk),T.bbCache=L,T.bbCachePosKey=z):L=T.bbCache,!$){var at=g.isNode();L=qd(),(x.includeNodes&&at||x.includeEdges&&!at)&&(x.includeOverlays?A3(L,T.overlayBounds):A3(L,T.bodyBounds)),x.includeLabels&&(x.includeMainLabels&&(!I||x.includeSourceLabels&&x.includeTargetLabels)?A3(L,T.labelBounds.all):(x.includeMainLabels&&A3(L,T.labelBounds.mainRot),x.includeSourceLabels&&A3(L,T.labelBounds.sourceRot),x.includeTargetLabels&&A3(L,T.labelBounds.targetRot))),L.w=L.x2-L.x1,L.h=L.y2-L.y1}return L},Lk={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},aB=rB(Lk),oB=qf(Lk);V2.boundingBox=function(y){var g;if(this.length===1&&this[0]._private.bbCache!=null&&!this[0]._private.styleDirty&&(y===void 0||y.useCache===void 0||y.useCache===!0))y===void 0?y=Lk:y=oB(y),g=sB(this[0],y);else{g=qd(),y=y||Lk;var x=oB(y),T=this,L=T.cy(),I=L.styleEnabled();if(I)for(var O=0;O<T.length;O++){var $=T[O],z=$._private,S=iB($),V=z.bbCachePosKey===S,U=x.useCache&&V&&!z.styleDirty;$.recalculateRenderedStyle(U)}this.updateCompoundBounds(!y.useCache);for(var tt=0;tt<T.length;tt++){var at=T[tt];A3(g,sB(at,x))}}return g.x1=S0(g.x1),g.y1=S0(g.y1),g.x2=S0(g.x2),g.y2=S0(g.y2),g.w=S0(g.x2-g.x1),g.h=S0(g.y2-g.y1),g},V2.dirtyBoundingBoxCache=function(){for(var y=0;y<this.length;y++){var g=this[y]._private;g.bbCache=null,g.bbCachePosKey=null,g.bodyBounds=null,g.overlayBounds=null,g.labelBounds.all=null,g.labelBounds.source=null,g.labelBounds.target=null,g.labelBounds.main=null,g.labelBounds.sourceRot=null,g.labelBounds.targetRot=null,g.labelBounds.mainRot=null,g.arrowBounds.source=null,g.arrowBounds.target=null,g.arrowBounds["mid-source"]=null,g.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},V2.boundingBoxAt=function(y){var g=this.nodes(),x=this.cy(),T=x.hasCompoundNodes(),L=x.collection();if(T&&(L=g.filter(function(S){return S.isParent()}),g=g.not(L)),ut(y)){var I=y;y=function(){return I}}var O=function(V,U){return V._private.bbAtOldPos=y(V,U)},$=function(V){return V._private.bbAtOldPos};x.startBatch(),g.forEach(O).silentPositions(y),T&&(L.dirtyCompoundBoundsCache(),L.dirtyBoundingBoxCache(),L.updateCompoundBounds(!0));var z=TY(this.boundingBox({useCache:!1}));return g.silentPositions($),T&&(L.dirtyCompoundBoundsCache(),L.dirtyBoundingBoxCache(),L.updateCompoundBounds(!0)),x.endBatch(),z},r6.boundingbox=r6.bb=r6.boundingBox,r6.renderedBoundingbox=r6.renderedBoundingBox;var KZ=V2,Mk,Dk;Mk=Dk={};var xm=function(g){g.uppercaseName=Kn(g.name),g.autoName="auto"+g.uppercaseName,g.labelName="label"+g.uppercaseName,g.outerName="outer"+g.uppercaseName,g.uppercaseOuterName=Kn(g.outerName),Mk[g.name]=function(){var T=this[0],L=T._private,I=L.cy,O=I._private.styleEnabled;if(T)if(O){if(T.isParent())return T.updateCompoundBounds(),L[g.autoName]||0;var $=T.pstyle(g.name);switch($.strValue){case"label":return T.recalculateRenderedStyle(),L.rstyle[g.labelName]||0;default:return $.pfValue}}else return 1},Mk["outer"+g.uppercaseName]=function(){var T=this[0],L=T._private,I=L.cy,O=I._private.styleEnabled;if(T)if(O){var $=T[g.name](),z=T.pstyle("border-width").pfValue,S=2*T.padding();return $+z+S}else return 1},Mk["rendered"+g.uppercaseName]=function(){var T=this[0];if(T){var L=T[g.name]();return L*this.cy().zoom()}},Mk["rendered"+g.uppercaseOuterName]=function(){var T=this[0];if(T){var L=T[g.outerName]();return L*this.cy().zoom()}}};xm({name:"width"}),xm({name:"height"}),Dk.padding=function(){var y=this[0],g=y._private;return y.isParent()?(y.updateCompoundBounds(),g.autoPadding!==void 0?g.autoPadding:y.pstyle("padding").pfValue):y.pstyle("padding").pfValue},Dk.paddedHeight=function(){var y=this[0];return y.height()+2*y.padding()},Dk.paddedWidth=function(){var y=this[0];return y.width()+2*y.padding()};var zL=Dk,YZ=function(g,x){if(g.isEdge())return x(g)},XZ=function(g,x){if(g.isEdge()){var T=g.cy();return OE(x(g),T.zoom(),T.pan())}},QZ=function(g,x){if(g.isEdge()){var T=g.cy(),L=T.pan(),I=T.zoom();return x(g).map(function(O){return OE(O,I,L)})}},ZZ=function(g){return g.renderer().getControlPoints(g)},JZ=function(g){return g.renderer().getSegmentPoints(g)},tJ=function(g){return g.renderer().getSourceEndpoint(g)},eJ=function(g){return g.renderer().getTargetEndpoint(g)},nJ=function(g){return g.renderer().getEdgeMidpoint(g)},cB={controlPoints:{get:ZZ,mult:!0},segmentPoints:{get:JZ,mult:!0},sourceEndpoint:{get:tJ},targetEndpoint:{get:eJ},midpoint:{get:nJ}},rJ=function(g){return"rendered"+g[0].toUpperCase()+g.substr(1)},iJ=Object.keys(cB).reduce(function(y,g){var x=cB[g],T=rJ(g);return y[g]=function(){return YZ(this,x.get)},x.mult?y[T]=function(){return QZ(this,x.get)}:y[T]=function(){return XZ(this,x.get)},y},{}),sJ=Pe({},eB,KZ,zL,iJ);/*!
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
- */var BB=function(g,y){this.recycle(g,y)};function k8(){return!1}function P9(){return!0}BB.prototype={instanceString:function(){return"event"},recycle:function(g,y){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=k8,g!=null&&g.preventDefault?(this.type=g.type,this.isDefaultPrevented=g.defaultPrevented?P9:k8):g!=null&&g.type?y=g:this.type=g,y!=null&&(this.originalEvent=y.originalEvent,this.type=y.type!=null?y.type:this.type,this.cy=y.cy,this.target=y.target,this.position=y.position,this.renderedPosition=y.renderedPosition,this.namespace=y.namespace,this.layout=y.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var E=this.position,S=this.cy.zoom(),D=this.cy.pan();this.renderedPosition={x:E.x*S+D.x,y:E.y*S+D.y}}this.timeStamp=g&&g.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=P9;var g=this.originalEvent;g&&g.preventDefault&&g.preventDefault()},stopPropagation:function(){this.isPropagationStopped=P9;var g=this.originalEvent;g&&g.stopPropagation&&g.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=P9,this.stopPropagation()},isDefaultPrevented:k8,isPropagationStopped:k8,isImmediatePropagationStopped:k8};var FB=/^([^.]+)(\.(?:[^.]+))?$/,NZ=".*",RB={qualifierCompare:function(g,y){return g===y},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(g){return g},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},jB=Object.keys(RB),PZ={};function B9(){for(var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:PZ,g=arguments.length>1?arguments[1]:void 0,y=0;y<jB.length;y++){var E=jB[y];this[E]=m[E]||RB[E]}this.context=g||this.context,this.listeners=[],this.emitting=0}var dm=B9.prototype,$B=function(g,y,E,S,D,I,R){Ee(S)&&(D=S,S=null),R&&(I==null?I=R:I=Oe({},I,R));for(var $=Me(E)?E:E.split(/\s+/),C=0;C<$.length;C++){var G=$[C];if(!de(G)){var U=G.match(FB);if(U){var J=U[1],te=U[2]?U[2]:null,se=y(g,G,J,te,S,D,I);if(se===!1)break}}}},HB=function(g,y){return g.addEventFields(g.context,y),new BB(y.type,y)},BZ=function(g,y,E){if(Ge(E)){y(g,E);return}else if(fe(E)){y(g,HB(g,E));return}for(var S=Me(E)?E:E.split(/\s+/),D=0;D<S.length;D++){var I=S[D];if(!de(I)){var R=I.match(FB);if(R){var $=R[1],C=R[2]?R[2]:null,G=HB(g,{type:$,namespace:C,target:g.context});y(g,G)}}}};dm.on=dm.addListener=function(m,g,y,E,S){return $B(this,function(D,I,R,$,C,G,U){Ee(G)&&D.listeners.push({event:I,callback:G,type:R,namespace:$,qualifier:C,conf:U})},m,g,y,E,S),this},dm.one=function(m,g,y,E){return this.on(m,g,y,E,{one:!0})},dm.removeListener=dm.off=function(m,g,y,E){var S=this;this.emitting!==0&&(this.listeners=CW(this.listeners));for(var D=this.listeners,I=function(C){var G=D[C];$B(S,function(U,J,te,se,oe,Ce){if((G.type===te||m==="*")&&(!se&&G.namespace!==".*"||G.namespace===se)&&(!oe||U.qualifierCompare(G.qualifier,oe))&&(!Ce||G.callback===Ce))return D.splice(C,1),!1},m,g,y,E)},R=D.length-1;R>=0;R--)I(R);return this},dm.removeAllListeners=function(){return this.removeListener("*")},dm.emit=dm.trigger=function(m,g,y){var E=this.listeners,S=E.length;return this.emitting++,Me(g)||(g=[g]),BZ(this,function(D,I){y!=null&&(E=[{event:I.event,type:I.type,namespace:I.namespace,callback:y}],S=E.length);for(var R=function(G){var U=E[G];if(U.type===I.type&&(!U.namespace||U.namespace===I.namespace||U.namespace===NZ)&&D.eventMatches(D.context,U,I)){var J=[I];g!=null&&TP(J,g),D.beforeEmit(D.context,U,I),U.conf&&U.conf.one&&(D.listeners=D.listeners.filter(function(oe){return oe!==U}));var te=D.callbackContext(D.context,U,I),se=U.callback.apply(te,J);D.afterEmit(D.context,U,I),se===!1&&(I.stopPropagation(),I.preventDefault())}},$=0;$<S;$++)R($);D.bubble(D.context)&&!I.isPropagationStopped()&&D.parent(D.context).emit(I,g)},m),this.emitting--,this};var FZ={qualifierCompare:function(g,y){return g==null||y==null?g==null&&y==null:g.sameText(y)},eventMatches:function(g,y,E){var S=y.qualifier;return S!=null?g!==E.target&&De(E.target)&&S.matches(E.target):!0},addEventFields:function(g,y){y.cy=g.cy(),y.target=g},callbackContext:function(g,y,E){return y.qualifier!=null?E.target:g},beforeEmit:function(g,y){y.conf&&y.conf.once&&y.conf.onceCollection.removeListener(y.event,y.qualifier,y.callback)},bubble:function(){return!0},parent:function(g){return g.isChild()?g.parent():g.cy()}},F9=function(g){return xe(g)?new hm(g):g},zB={createEmitter:function(){for(var g=0;g<this.length;g++){var y=this[g],E=y._private;E.emitter||(E.emitter=new B9(FZ,y))}return this},emitter:function(){return this._private.emitter},on:function(g,y,E){for(var S=F9(y),D=0;D<this.length;D++){var I=this[D];I.emitter().on(g,S,E)}return this},removeListener:function(g,y,E){for(var S=F9(y),D=0;D<this.length;D++){var I=this[D];I.emitter().removeListener(g,S,E)}return this},removeAllListeners:function(){for(var g=0;g<this.length;g++){var y=this[g];y.emitter().removeAllListeners()}return this},one:function(g,y,E){for(var S=F9(y),D=0;D<this.length;D++){var I=this[D];I.emitter().one(g,S,E)}return this},once:function(g,y,E){for(var S=F9(y),D=0;D<this.length;D++){var I=this[D];I.emitter().on(g,S,E,{once:!0,onceCollection:this})}},emit:function(g,y){for(var E=0;E<this.length;E++){var S=this[E];S.emitter().emit(g,y)}return this},emitAndNotify:function(g,y){if(this.length!==0)return this.cy().notify(g,this),this.emit(g,y),this}};Pc.eventAliasesOn(zB);var GB={nodes:function(g){return this.filter(function(y){return y.isNode()}).filter(g)},edges:function(g){return this.filter(function(y){return y.isEdge()}).filter(g)},byGroup:function(){for(var g=this.spawn(),y=this.spawn(),E=0;E<this.length;E++){var S=this[E];S.isNode()?g.push(S):y.push(S)}return{nodes:g,edges:y}},filter:function(g,y){if(g===void 0)return this;if(xe(g)||he(g))return new hm(g).filter(this);if(Ee(g)){for(var E=this.spawn(),S=this,D=0;D<S.length;D++){var I=S[D],R=y?g.apply(y,[I,D,S]):g(I,D,S);R&&E.push(I)}return E}return this.spawn()},not:function(g){if(g){xe(g)&&(g=this.filter(g));for(var y=this.spawn(),E=0;E<this.length;E++){var S=this[E],D=g.has(S);D||y.push(S)}return y}else return this},absoluteComplement:function(){var g=this.cy();return g.mutableElements().not(this)},intersect:function(g){if(xe(g)){var y=g;return this.filter(y)}for(var E=this.spawn(),S=this,D=g,I=this.length<g.length,R=I?S:D,$=I?D:S,C=0;C<R.length;C++){var G=R[C];$.has(G)&&E.push(G)}return E},xor:function(g){var y=this._private.cy;xe(g)&&(g=y.$(g));var E=this.spawn(),S=this,D=g,I=function($,C){for(var G=0;G<$.length;G++){var U=$[G],J=U._private.data.id,te=C.hasElementWithId(J);te||E.push(U)}};return I(S,D),I(D,S),E},diff:function(g){var y=this._private.cy;xe(g)&&(g=y.$(g));var E=this.spawn(),S=this.spawn(),D=this.spawn(),I=this,R=g,$=function(G,U,J){for(var te=0;te<G.length;te++){var se=G[te],oe=se._private.data.id,Ce=U.hasElementWithId(oe);Ce?D.merge(se):J.push(se)}};return $(I,R,E),$(R,I,S),{left:E,right:S,both:D}},add:function(g){var y=this._private.cy;if(!g)return this;if(xe(g)){var E=g;g=y.mutableElements().filter(E)}for(var S=this.spawnSelf(),D=0;D<g.length;D++){var I=g[D],R=!this.has(I);R&&S.push(I)}return S},merge:function(g){var y=this._private,E=y.cy;if(!g)return this;if(g&&xe(g)){var S=g;g=E.mutableElements().filter(S)}for(var D=y.map,I=0;I<g.length;I++){var R=g[I],$=R._private.data.id,C=!D.has($);if(C){var G=this.length++;this[G]=R,D.set($,{ele:R,index:G})}}return this},unmergeAt:function(g){var y=this[g],E=y.id(),S=this._private,D=S.map;this[g]=void 0,D.delete(E);var I=g===this.length-1;if(this.length>1&&!I){var R=this.length-1,$=this[R],C=$._private.data.id;this[R]=void 0,this[g]=$,D.set(C,{ele:$,index:g})}return this.length--,this},unmergeOne:function(g){g=g[0];var y=this._private,E=g._private.data.id,S=y.map,D=S.get(E);if(!D)return this;var I=D.index;return this.unmergeAt(I),this},unmerge:function(g){var y=this._private.cy;if(!g)return this;if(g&&xe(g)){var E=g;g=y.mutableElements().filter(E)}for(var S=0;S<g.length;S++)this.unmergeOne(g[S]);return this},unmergeBy:function(g){for(var y=this.length-1;y>=0;y--){var E=this[y];g(E)&&this.unmergeAt(y)}return this},map:function(g,y){for(var E=[],S=this,D=0;D<S.length;D++){var I=S[D],R=y?g.apply(y,[I,D,S]):g(I,D,S);E.push(R)}return E},reduce:function(g,y){for(var E=y,S=this,D=0;D<S.length;D++)E=g(E,S[D],D,S);return E},max:function(g,y){for(var E=-1/0,S,D=this,I=0;I<D.length;I++){var R=D[I],$=y?g.apply(y,[R,I,D]):g(R,I,D);$>E&&(E=$,S=R)}return{value:E,ele:S}},min:function(g,y){for(var E=1/0,S,D=this,I=0;I<D.length;I++){var R=D[I],$=y?g.apply(y,[R,I,D]):g(R,I,D);$<E&&(E=$,S=R)}return{value:E,ele:S}}},mc=GB;mc.u=mc["|"]=mc["+"]=mc.union=mc.or=mc.add,mc["\\"]=mc["!"]=mc["-"]=mc.difference=mc.relativeComplement=mc.subtract=mc.not,mc.n=mc["&"]=mc["."]=mc.and=mc.intersection=mc.intersect,mc["^"]=mc["(+)"]=mc["(-)"]=mc.symmetricDifference=mc.symdiff=mc.xor,mc.fnFilter=mc.filterFn=mc.stdFilter=mc.filter,mc.complement=mc.abscomp=mc.absoluteComplement;var RZ={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var g=this[0];if(g)return g._private.group}},qB=function(g,y){var E=g.cy(),S=E.hasCompoundNodes();function D(G){var U=G.pstyle("z-compound-depth");return U.value==="auto"?S?G.zDepth():0:U.value==="bottom"?-1:U.value==="top"?b1:0}var I=D(g)-D(y);if(I!==0)return I;function R(G){var U=G.pstyle("z-index-compare");return U.value==="auto"&&G.isNode()?1:0}var $=R(g)-R(y);if($!==0)return $;var C=g.pstyle("z-index").value-y.pstyle("z-index").value;return C!==0?C:g.poolIndex()-y.poolIndex()},R9={forEach:function(g,y){if(Ee(g))for(var E=this.length,S=0;S<E;S++){var D=this[S],I=y?g.apply(y,[D,S,this]):g(D,S,this);if(I===!1)break}return this},toArray:function(){for(var g=[],y=0;y<this.length;y++)g.push(this[y]);return g},slice:function(g,y){var E=[],S=this.length;y==null&&(y=S),g==null&&(g=0),g<0&&(g=S+g),y<0&&(y=S+y);for(var D=g;D>=0&&D<y&&D<S;D++)E.push(this[D]);return this.spawn(E)},size:function(){return this.length},eq:function(g){return this[g]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(g){if(!Ee(g))return this;var y=this.toArray().sort(g);return this.spawn(y)},sortByZIndex:function(){return this.sort(qB)},zDepth:function(){var g=this[0];if(g){var y=g._private,E=y.group;if(E==="nodes"){var S=y.data.parent?g.parents().size():0;return g.isParent()?S:b1-1}else{var D=y.source,I=y.target,R=D.zDepth(),$=I.zDepth();return Math.max(R,$,0)}}}};R9.each=R9.forEach;var jZ=function(){var g="undefined",y=(typeof Symbol>"u"?"undefined":f(Symbol))!=g&&f(Symbol.iterator)!=g;y&&(R9[Symbol.iterator]=function(){var E=this,S={value:void 0,done:!1},D=0,I=this.length;return b({next:function(){return D<I?S.value=E[D++]:(S.value=void 0,S.done=!0),S}},Symbol.iterator,function(){return this})})};jZ();var $Z=zf({nodeDimensionsIncludeLabels:!1}),j9={layoutDimensions:function(g){g=$Z(g);var y;if(!this.takesUpSpace())y={w:0,h:0};else if(g.nodeDimensionsIncludeLabels){var E=this.boundingBox();y={w:E.w,h:E.h}}else y={w:this.outerWidth(),h:this.outerHeight()};return(y.w===0||y.h===0)&&(y.w=y.h=1),y},layoutPositions:function(g,y,E){var S=this.nodes().filter(function(Xe){return!Xe.isParent()}),D=this.cy(),I=y.eles,R=function(Ue){return Ue.id()},$=Mt(E,R);g.emit({type:"layoutstart",layout:g}),g.animations=[];var C=function(Ue,Fe,et){var ze={x:Fe.x1+Fe.w/2,y:Fe.y1+Fe.h/2},ut={x:(et.x-ze.x)*Ue,y:(et.y-ze.y)*Ue};return{x:ze.x+ut.x,y:ze.y+ut.y}},G=y.spacingFactor&&y.spacingFactor!==1,U=function(){if(!G)return null;for(var Ue=jd(),Fe=0;Fe<S.length;Fe++){var et=S[Fe],ze=$(et,Fe);tY(Ue,ze.x,ze.y)}return Ue},J=U(),te=Mt(function(Xe,Ue){var Fe=$(Xe,Ue);if(G){var et=Math.abs(y.spacingFactor);Fe=C(et,J,Fe)}return y.transform!=null&&(Fe=y.transform(Xe,Fe)),Fe},R);if(y.animate){for(var se=0;se<S.length;se++){var oe=S[se],Ce=te(oe,se),ve=y.animateFilter==null||y.animateFilter(oe,se);if(ve){var Ae=oe.animation({position:Ce,duration:y.animationDuration,easing:y.animationEasing});g.animations.push(Ae)}else oe.position(Ce)}if(y.fit){var Le=D.animation({fit:{boundingBox:I.boundingBoxAt(te),padding:y.padding},duration:y.animationDuration,easing:y.animationEasing});g.animations.push(Le)}else if(y.zoom!==void 0&&y.pan!==void 0){var Be=D.animation({zoom:y.zoom,pan:y.pan,duration:y.animationDuration,easing:y.animationEasing});g.animations.push(Be)}g.animations.forEach(function(Xe){return Xe.play()}),g.one("layoutready",y.ready),g.emit({type:"layoutready",layout:g}),H5.all(g.animations.map(function(Xe){return Xe.promise()})).then(function(){g.one("layoutstop",y.stop),g.emit({type:"layoutstop",layout:g})})}else S.positions(te),y.fit&&D.fit(y.eles,y.padding),y.zoom!=null&&D.zoom(y.zoom),y.pan&&D.pan(y.pan),g.one("layoutready",y.ready),g.emit({type:"layoutready",layout:g}),g.one("layoutstop",y.stop),g.emit({type:"layoutstop",layout:g});return this},layout:function(g){var y=this.cy();return y.makeLayout(Oe({},g,{eles:this}))}};j9.createLayout=j9.makeLayout=j9.layout;function VB(m,g,y){var E=y._private,S=E.styleCache=E.styleCache||[],D;return(D=S[m])!=null||(D=S[m]=g(y)),D}function $9(m,g){return m=op(m),function(E){return VB(m,g,E)}}function H9(m,g){m=op(m);var y=function(S){return g.call(S)};return function(){var S=this[0];if(S)return VB(m,y,S)}}var Gf={recalculateRenderedStyle:function(g){var y=this.cy(),E=y.renderer(),S=y.styleEnabled();return E&&S&&E.recalculateRenderedStyle(this,g),this},dirtyStyleCache:function(){var g=this.cy(),y=function(D){return D._private.styleCache=null};if(g.hasCompoundNodes()){var E;E=this.spawnSelf().merge(this.descendants()).merge(this.parents()),E.merge(E.connectedEdges()),E.forEach(y)}else this.forEach(function(S){y(S),S.connectedEdges().forEach(y)});return this},updateStyle:function(g){var y=this._private.cy;if(!y.styleEnabled())return this;if(y.batching()){var E=y._private.batchStyleEles;return E.merge(this),this}var S=y.hasCompoundNodes(),D=this;g=!!(g||g===void 0),S&&(D=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var I=D;return g?I.emitAndNotify("style"):I.emit("style"),D.forEach(function(R){return R._private.styleDirty=!0}),this},cleanStyle:function(){var g=this.cy();if(g.styleEnabled())for(var y=0;y<this.length;y++){var E=this[y];E._private.styleDirty&&(E._private.styleDirty=!1,g.style().apply(E))}},parsedStyle:function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,E=this[0],S=E.cy();if(S.styleEnabled()&&E){this.cleanStyle();var D=E._private.style[g];return D??(y?S.style().getDefaultProperty(g):null)}},numericStyle:function(g){var y=this[0];if(y.cy().styleEnabled()&&y){var E=y.pstyle(g);return E.pfValue!==void 0?E.pfValue:E.value}},numericStyleUnits:function(g){var y=this[0];if(y.cy().styleEnabled()&&y)return y.pstyle(g).units},renderedStyle:function(g){var y=this.cy();if(!y.styleEnabled())return this;var E=this[0];if(E)return y.style().getRenderedStyle(E,g)},style:function(g,y){var E=this.cy();if(!E.styleEnabled())return this;var S=!1,D=E.style();if(fe(g)){var I=g;D.applyBypass(this,I,S),this.emitAndNotify("style")}else if(xe(g))if(y===void 0){var R=this[0];return R?D.getStylePropertyValue(R,g):void 0}else D.applyBypass(this,g,y,S),this.emitAndNotify("style");else if(g===void 0){var $=this[0];return $?D.getRawStyle($):void 0}return this},removeStyle:function(g){var y=this.cy();if(!y.styleEnabled())return this;var E=!1,S=y.style(),D=this;if(g===void 0)for(var I=0;I<D.length;I++){var R=D[I];S.removeAllBypasses(R,E)}else{g=g.split(/\s+/);for(var $=0;$<D.length;$++){var C=D[$];S.removeBypasses(C,g,E)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var g=this.cy();if(!g.styleEnabled())return 1;var y=g.hasCompoundNodes(),E=this[0];if(E){var S=E._private,D=E.pstyle("opacity").value;if(!y)return D;var I=S.data.parent?E.parents():null;if(I)for(var R=0;R<I.length;R++){var $=I[R],C=$.pstyle("opacity").value;D=C*D}return D}},transparent:function(){var g=this.cy();if(!g.styleEnabled())return!1;var y=this[0],E=y.cy().hasCompoundNodes();if(y)return E?y.effectiveOpacity()===0:y.pstyle("opacity").value===0},backgrounding:function(){var g=this.cy();if(!g.styleEnabled())return!1;var y=this[0];return!!y._private.backgrounding}};function mL(m,g){var y=m._private,E=y.data.parent?m.parents():null;if(E)for(var S=0;S<E.length;S++){var D=E[S];if(!g(D))return!1}return!0}function yL(m){var g=m.ok,y=m.edgeOkViaNode||m.ok,E=m.parentOk||m.ok;return function(){var S=this.cy();if(!S.styleEnabled())return!0;var D=this[0],I=S.hasCompoundNodes();if(D){var R=D._private;if(!g(D))return!1;if(D.isNode())return!I||mL(D,E);var $=R.source,C=R.target;return y($)&&(!I||mL($,y))&&($===C||y(C)&&(!I||mL(C,y)))}}}var X5=$9("eleTakesUpSpace",function(m){return m.pstyle("display").value==="element"&&m.width()!==0&&(m.isNode()?m.height()!==0:!0)});Gf.takesUpSpace=H9("takesUpSpace",yL({ok:X5}));var HZ=$9("eleInteractive",function(m){return m.pstyle("events").value==="yes"&&m.pstyle("visibility").value==="visible"&&X5(m)}),zZ=$9("parentInteractive",function(m){return m.pstyle("visibility").value==="visible"&&X5(m)});Gf.interactive=H9("interactive",yL({ok:HZ,parentOk:zZ,edgeOkViaNode:X5})),Gf.noninteractive=function(){var m=this[0];if(m)return!m.interactive()};var GZ=$9("eleVisible",function(m){return m.pstyle("visibility").value==="visible"&&m.pstyle("opacity").pfValue!==0&&X5(m)}),qZ=X5;Gf.visible=H9("visible",yL({ok:GZ,edgeOkViaNode:qZ})),Gf.hidden=function(){var m=this[0];if(m)return!m.visible()},Gf.isBundledBezier=H9("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),Gf.bypass=Gf.css=Gf.style,Gf.renderedCss=Gf.renderedStyle,Gf.removeBypass=Gf.removeCss=Gf.removeStyle,Gf.pstyle=Gf.parsedStyle;var gm={};function UB(m){return function(){var g=arguments,y=[];if(g.length===2){var E=g[0],S=g[1];this.on(m.event,E,S)}else if(g.length===1&&Ee(g[0])){var D=g[0];this.on(m.event,D)}else if(g.length===0||g.length===1&&Me(g[0])){for(var I=g.length===1?g[0]:null,R=0;R<this.length;R++){var $=this[R],C=!m.ableField||$._private[m.ableField],G=$._private[m.field]!=m.value;if(m.overrideAble){var U=m.overrideAble($);if(U!==void 0&&(C=U,!U))return this}C&&($._private[m.field]=m.value,G&&y.push($))}var J=this.spawn(y);J.updateStyle(),J.emit(m.event),I&&J.emit(I)}return this}}function Q5(m){gm[m.field]=function(){var g=this[0];if(g){if(m.overrideField){var y=m.overrideField(g);if(y!==void 0)return y}return g._private[m.field]}},gm[m.on]=UB({event:m.on,field:m.field,ableField:m.ableField,overrideAble:m.overrideAble,value:!0}),gm[m.off]=UB({event:m.off,field:m.field,ableField:m.ableField,overrideAble:m.overrideAble,value:!1})}Q5({field:"locked",overrideField:function(g){return g.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),Q5({field:"grabbable",overrideField:function(g){return g.cy().autoungrabify()||g.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),Q5({field:"selected",ableField:"selectable",overrideAble:function(g){return g.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),Q5({field:"selectable",overrideField:function(g){return g.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),gm.deselect=gm.unselect,gm.grabbed=function(){var m=this[0];if(m)return m._private.grabbed},Q5({field:"active",on:"activate",off:"unactivate"}),Q5({field:"pannable",on:"panify",off:"unpanify"}),gm.inactive=function(){var m=this[0];if(m)return!m._private.active};var v1={},KB=function(g){return function(E){for(var S=this,D=[],I=0;I<S.length;I++){var R=S[I];if(R.isNode()){for(var $=!1,C=R.connectedEdges(),G=0;G<C.length;G++){var U=C[G],J=U.source(),te=U.target();if(g.noIncomingEdges&&te===R&&J!==R||g.noOutgoingEdges&&J===R&&te!==R){$=!0;break}}$||D.push(R)}}return this.spawn(D,!0).filter(E)}},WB=function(g){return function(y){for(var E=this,S=[],D=0;D<E.length;D++){var I=E[D];if(I.isNode())for(var R=I.connectedEdges(),$=0;$<R.length;$++){var C=R[$],G=C.source(),U=C.target();g.outgoing&&G===I?(S.push(C),S.push(U)):g.incoming&&U===I&&(S.push(C),S.push(G))}}return this.spawn(S,!0).filter(y)}},YB=function(g){return function(y){for(var E=this,S=[],D={};;){var I=g.outgoing?E.outgoers():E.incomers();if(I.length===0)break;for(var R=!1,$=0;$<I.length;$++){var C=I[$],G=C.id();D[G]||(D[G]=!0,S.push(C),R=!0)}if(!R)break;E=I}return this.spawn(S,!0).filter(y)}};v1.clearTraversalCache=function(){for(var m=0;m<this.length;m++)this[m]._private.traversalCache=null},Oe(v1,{roots:KB({noIncomingEdges:!0}),leaves:KB({noOutgoingEdges:!0}),outgoers:ad(WB({outgoing:!0}),"outgoers"),successors:YB({outgoing:!0}),incomers:ad(WB({incoming:!0}),"incomers"),predecessors:YB({incoming:!0})}),Oe(v1,{neighborhood:ad(function(m){for(var g=[],y=this.nodes(),E=0;E<y.length;E++)for(var S=y[E],D=S.connectedEdges(),I=0;I<D.length;I++){var R=D[I],$=R.source(),C=R.target(),G=S===$?C:$;G.length>0&&g.push(G[0]),g.push(R[0])}return this.spawn(g,!0).filter(m)},"neighborhood"),closedNeighborhood:function(g){return this.neighborhood().add(this).filter(g)},openNeighborhood:function(g){return this.neighborhood(g)}}),v1.neighbourhood=v1.neighborhood,v1.closedNeighbourhood=v1.closedNeighborhood,v1.openNeighbourhood=v1.openNeighborhood,Oe(v1,{source:ad(function(g){var y=this[0],E;return y&&(E=y._private.source||y.cy().collection()),E&&g?E.filter(g):E},"source"),target:ad(function(g){var y=this[0],E;return y&&(E=y._private.target||y.cy().collection()),E&&g?E.filter(g):E},"target"),sources:XB({attr:"source"}),targets:XB({attr:"target"})});function XB(m){return function(y){for(var E=[],S=0;S<this.length;S++){var D=this[S],I=D._private[m.attr];I&&E.push(I)}return this.spawn(E,!0).filter(y)}}Oe(v1,{edgesWith:ad(QB(),"edgesWith"),edgesTo:ad(QB({thisIsSrc:!0}),"edgesTo")});function QB(m){return function(y){var E=[],S=this._private.cy,D=m||{};xe(y)&&(y=S.$(y));for(var I=0;I<y.length;I++)for(var R=y[I]._private.edges,$=0;$<R.length;$++){var C=R[$],G=C._private.data,U=this.hasElementWithId(G.source)&&y.hasElementWithId(G.target),J=y.hasElementWithId(G.source)&&this.hasElementWithId(G.target),te=U||J;te&&((D.thisIsSrc||D.thisIsTgt)&&(D.thisIsSrc&&!U||D.thisIsTgt&&!J)||E.push(C))}return this.spawn(E,!0)}}Oe(v1,{connectedEdges:ad(function(m){for(var g=[],y=this,E=0;E<y.length;E++){var S=y[E];if(S.isNode())for(var D=S._private.edges,I=0;I<D.length;I++){var R=D[I];g.push(R)}}return this.spawn(g,!0).filter(m)},"connectedEdges"),connectedNodes:ad(function(m){for(var g=[],y=this,E=0;E<y.length;E++){var S=y[E];S.isEdge()&&(g.push(S.source()[0]),g.push(S.target()[0]))}return this.spawn(g,!0).filter(m)},"connectedNodes"),parallelEdges:ad(ZB(),"parallelEdges"),codirectedEdges:ad(ZB({codirected:!0}),"codirectedEdges")});function ZB(m){var g={codirected:!1};return m=Oe({},g,m),function(E){for(var S=[],D=this.edges(),I=m,R=0;R<D.length;R++)for(var $=D[R],C=$._private,G=C.source,U=G._private.data.id,J=C.data.target,te=G._private.edges,se=0;se<te.length;se++){var oe=te[se],Ce=oe._private.data,ve=Ce.target,Ae=Ce.source,Le=ve===J&&Ae===U,Be=U===ve&&J===Ae;(I.codirected&&Le||!I.codirected&&(Le||Be))&&S.push(oe)}return this.spawn(S,!0).filter(E)}}Oe(v1,{components:function(g){var y=this,E=y.cy(),S=E.collection(),D=g==null?y.nodes():g.nodes(),I=[];g!=null&&D.empty()&&(D=g.sources());var R=function(G,U){S.merge(G),D.unmerge(G),U.merge(G)};if(D.empty())return y.spawn();var $=function(){var G=E.collection();I.push(G);var U=D[0];R(U,G),y.bfs({directed:!1,roots:U,visit:function(te){return R(te,G)}}),G.forEach(function(J){J.connectedEdges().forEach(function(te){y.has(te)&&G.has(te.source())&&G.has(te.target())&&G.merge(te)})})};do $();while(D.length>0);return I},component:function(){var g=this[0];return g.cy().mutableElements().components(g)[0]}}),v1.componentsOf=v1.components;var qf=function(g,y){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(g===void 0){Fu("A collection must have a reference to the core");return}var D=new N2,I=!1;if(!y)y=[];else if(y.length>0&&fe(y[0])&&!De(y[0])){I=!0;for(var R=[],$=new N5,C=0,G=y.length;C<G;C++){var U=y[C];U.data==null&&(U.data={});var J=U.data;if(J.id==null)J.id=g9();else if(g.hasElementWithId(J.id)||$.has(J.id))continue;var te=new p9(g,U,!1);R.push(te),$.add(J.id)}y=R}this.length=0;for(var se=0,oe=y.length;se<oe;se++){var Ce=y[se][0];if(Ce!=null){var ve=Ce._private.data.id;(!E||!D.has(ve))&&(E&&D.set(ve,{index:this.length,ele:Ce}),this[this.length]=Ce,this.length++)}}this._private={eles:this,cy:g,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(Ae){this.lazyMap=Ae},rebuildMap:function(){for(var Le=this.lazyMap=new N2,Be=this.eles,Xe=0;Xe<Be.length;Xe++){var Ue=Be[Xe];Le.set(Ue.id(),{index:Xe,ele:Ue})}}},E&&(this._private.map=D),I&&!S&&this.restore()},mu=p9.prototype=qf.prototype=Object.create(Array.prototype);mu.instanceString=function(){return"collection"},mu.spawn=function(m,g){return new qf(this.cy(),m,g)},mu.spawnSelf=function(){return this.spawn(this)},mu.cy=function(){return this._private.cy},mu.renderer=function(){return this._private.cy.renderer()},mu.element=function(){return this[0]},mu.collection=function(){return X(this)?this:new qf(this._private.cy,[this])},mu.unique=function(){return new qf(this._private.cy,this,!0)},mu.hasElementWithId=function(m){return m=""+m,this._private.map.has(m)},mu.getElementById=function(m){m=""+m;var g=this._private.cy,y=this._private.map.get(m);return y?y.ele:new qf(g)},mu.$id=mu.getElementById,mu.poolIndex=function(){var m=this._private.cy,g=m._private.elements,y=this[0]._private.data.id;return g._private.map.get(y).index},mu.indexOf=function(m){var g=m[0]._private.data.id;return this._private.map.get(g).index},mu.indexOfId=function(m){return m=""+m,this._private.map.get(m).index},mu.json=function(m){var g=this.element(),y=this.cy();if(g==null&&m)return this;if(g!=null){var E=g._private;if(fe(m)){if(y.startBatch(),m.data){g.data(m.data);var S=E.data;if(g.isEdge()){var D=!1,I={},R=m.data.source,$=m.data.target;R!=null&&R!=S.source&&(I.source=""+R,D=!0),$!=null&&$!=S.target&&(I.target=""+$,D=!0),D&&(g=g.move(I))}else{var C="parent"in m.data,G=m.data.parent;C&&(G!=null||S.parent!=null)&&G!=S.parent&&(G===void 0&&(G=null),G!=null&&(G=""+G),g=g.move({parent:G}))}}m.position&&g.position(m.position);var U=function(oe,Ce,ve){var Ae=m[oe];Ae!=null&&Ae!==E[oe]&&(Ae?g[Ce]():g[ve]())};return U("removed","remove","restore"),U("selected","select","unselect"),U("selectable","selectify","unselectify"),U("locked","lock","unlock"),U("grabbable","grabify","ungrabify"),U("pannable","panify","unpanify"),m.classes!=null&&g.classes(m.classes),y.endBatch(),this}else if(m===void 0){var J={data:O2(E.data),position:O2(E.position),group:E.group,removed:E.removed,selected:E.selected,selectable:E.selectable,locked:E.locked,grabbable:E.grabbable,pannable:E.pannable,classes:null};J.classes="";var te=0;return E.classes.forEach(function(se){return J.classes+=te++===0?se:" "+se}),J}}},mu.jsons=function(){for(var m=[],g=0;g<this.length;g++){var y=this[g],E=y.json();m.push(E)}return m},mu.clone=function(){for(var m=this.cy(),g=[],y=0;y<this.length;y++){var E=this[y],S=E.json(),D=new p9(m,S,!1);g.push(D)}return new qf(m,g)},mu.copy=mu.clone,mu.restore=function(){for(var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=this,E=y.cy(),S=E._private,D=[],I=[],R,$=0,C=y.length;$<C;$++){var G=y[$];g&&!G.removed()||(G.isNode()?D.push(G):I.push(G))}R=D.concat(I);var U,J=function(){R.splice(U,1),U--};for(U=0;U<R.length;U++){var te=R[U],se=te._private,oe=se.data;if(te.clearTraversalCache(),!(!g&&!se.removed)){if(oe.id===void 0)oe.id=g9();else if(re(oe.id))oe.id=""+oe.id;else if(de(oe.id)||!xe(oe.id)){Fu("Can not create element with invalid string ID `"+oe.id+"`"),J();continue}else if(E.hasElementWithId(oe.id)){Fu("Can not create second element with ID `"+oe.id+"`"),J();continue}}var Ce=oe.id;if(te.isNode()){var ve=se.position;ve.x==null&&(ve.x=0),ve.y==null&&(ve.y=0)}if(te.isEdge()){for(var Ae=te,Le=["source","target"],Be=Le.length,Xe=!1,Ue=0;Ue<Be;Ue++){var Fe=Le[Ue],et=oe[Fe];re(et)&&(et=oe[Fe]=""+oe[Fe]),et==null||et===""?(Fu("Can not create edge `"+Ce+"` with unspecified "+Fe),Xe=!0):E.hasElementWithId(et)||(Fu("Can not create edge `"+Ce+"` with nonexistant "+Fe+" `"+et+"`"),Xe=!0)}if(Xe){J();continue}var ze=E.getElementById(oe.source),ut=E.getElementById(oe.target);ze.same(ut)?ze._private.edges.push(Ae):(ze._private.edges.push(Ae),ut._private.edges.push(Ae)),Ae._private.source=ze,Ae._private.target=ut}se.map=new N2,se.map.set(Ce,{ele:te,index:0}),se.removed=!1,g&&E.addToPool(te)}for(var ht=0;ht<D.length;ht++){var tt=D[ht],Dt=tt._private.data;re(Dt.parent)&&(Dt.parent=""+Dt.parent);var ft=Dt.parent,ln=ft!=null;if(ln||tt._private.parent){var Rt=tt._private.parent?E.collection().merge(tt._private.parent):E.getElementById(ft);if(Rt.empty())Dt.parent=void 0;else if(Rt[0].removed())Jo("Node added with missing parent, reference to parent removed"),Dt.parent=void 0,tt._private.parent=null;else{for(var Ht=!1,wn=Rt;!wn.empty();){if(tt.same(wn)){Ht=!0,Dt.parent=void 0;break}wn=wn.parent()}Ht||(Rt[0]._private.children.push(tt),tt._private.parent=Rt[0],S.hasCompoundNodes=!0)}}}if(R.length>0){for(var Sn=R.length===y.length?y:new qf(E,R),Kn=0;Kn<Sn.length;Kn++){var xn=Sn[Kn];xn.isNode()||(xn.parallelEdges().clearTraversalCache(),xn.source().clearTraversalCache(),xn.target().clearTraversalCache())}var Un;S.hasCompoundNodes?Un=E.collection().merge(Sn).merge(Sn.connectedNodes()).merge(Sn.parent()):Un=Sn,Un.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(m),m?Sn.emitAndNotify("add"):g&&Sn.emit("add")}return y},mu.removed=function(){var m=this[0];return m&&m._private.removed},mu.inside=function(){var m=this[0];return m&&!m._private.removed},mu.remove=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=this,E=[],S={},D=y._private.cy;function I(ft){for(var ln=ft._private.edges,Rt=0;Rt<ln.length;Rt++)$(ln[Rt])}function R(ft){for(var ln=ft._private.children,Rt=0;Rt<ln.length;Rt++)$(ln[Rt])}function $(ft){var ln=S[ft.id()];g&&ft.removed()||ln||(S[ft.id()]=!0,ft.isNode()?(E.push(ft),I(ft),R(ft)):E.unshift(ft))}for(var C=0,G=y.length;C<G;C++){var U=y[C];$(U)}function J(ft,ln){var Rt=ft._private.edges;am(Rt,ln),ft.clearTraversalCache()}function te(ft){ft.clearTraversalCache()}var se=[];se.ids={};function oe(ft,ln){ln=ln[0],ft=ft[0];var Rt=ft._private.children,Ht=ft.id();am(Rt,ln),ln._private.parent=null,se.ids[Ht]||(se.ids[Ht]=!0,se.push(ft))}y.dirtyCompoundBoundsCache(),g&&D.removeFromPool(E);for(var Ce=0;Ce<E.length;Ce++){var ve=E[Ce];if(ve.isEdge()){var Ae=ve.source()[0],Le=ve.target()[0];J(Ae,ve),J(Le,ve);for(var Be=ve.parallelEdges(),Xe=0;Xe<Be.length;Xe++){var Ue=Be[Xe];te(Ue),Ue.isBundledBezier()&&Ue.dirtyBoundingBoxCache()}}else{var Fe=ve.parent();Fe.length!==0&&oe(Fe,ve)}g&&(ve._private.removed=!0)}var et=D._private.elements;D._private.hasCompoundNodes=!1;for(var ze=0;ze<et.length;ze++){var ut=et[ze];if(ut.isParent()){D._private.hasCompoundNodes=!0;break}}var ht=new qf(this.cy(),E);ht.size()>0&&(m?ht.emitAndNotify("remove"):g&&ht.emit("remove"));for(var tt=0;tt<se.length;tt++){var Dt=se[tt];(!g||!Dt.removed())&&Dt.updateStyle()}return ht},mu.move=function(m){var g=this._private.cy,y=this,E=!1,S=!1,D=function(se){return se==null?se:""+se};if(m.source!==void 0||m.target!==void 0){var I=D(m.source),R=D(m.target),$=I!=null&&g.hasElementWithId(I),C=R!=null&&g.hasElementWithId(R);($||C)&&(g.batch(function(){y.remove(E,S),y.emitAndNotify("moveout");for(var te=0;te<y.length;te++){var se=y[te],oe=se._private.data;se.isEdge()&&($&&(oe.source=I),C&&(oe.target=R))}y.restore(E,S)}),y.emitAndNotify("move"))}else if(m.parent!==void 0){var G=D(m.parent),U=G===null||g.hasElementWithId(G);if(U){var J=G===null?void 0:G;g.batch(function(){var te=y.remove(E,S);te.emitAndNotify("moveout");for(var se=0;se<y.length;se++){var oe=y[se],Ce=oe._private.data;oe.isNode()&&(Ce.parent=J)}te.restore(E,S)}),y.emitAndNotify("move")}}return this},[ZP,iZ,D9,hp,U5,yZ,O9,OZ,zB,GB,RZ,R9,j9,Gf,gm,v1].forEach(function(m){Oe(mu,m)});var VZ={add:function(g){var y,E=this;if(he(g)){var S=g;if(S._private.cy===E)y=S.restore();else{for(var D=[],I=0;I<S.length;I++){var R=S[I];D.push(R.json())}y=new qf(E,D)}}else if(Me(g)){var $=g;y=new qf(E,$)}else if(fe(g)&&(Me(g.nodes)||Me(g.edges))){for(var C=g,G=[],U=["nodes","edges"],J=0,te=U.length;J<te;J++){var se=U[J],oe=C[se];if(Me(oe))for(var Ce=0,ve=oe.length;Ce<ve;Ce++){var Ae=Oe({group:se},oe[Ce]);G.push(Ae)}}y=new qf(E,G)}else{var Le=g;y=new p9(E,Le).collection()}return y},remove:function(g){if(!he(g)){if(xe(g)){var y=g;g=this.$(y)}}return g.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function UZ(m,g,y,E){var S=4,D=.001,I=1e-7,R=10,$=11,C=1/($-1),G=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var U=0;U<4;++U)if(typeof arguments[U]!="number"||isNaN(arguments[U])||!isFinite(arguments[U]))return!1;m=Math.min(m,1),y=Math.min(y,1),m=Math.max(m,0),y=Math.max(y,0);var J=G?new Float32Array($):new Array($);function te(ut,ht){return 1-3*ht+3*ut}function se(ut,ht){return 3*ht-6*ut}function oe(ut){return 3*ut}function Ce(ut,ht,tt){return((te(ht,tt)*ut+se(ht,tt))*ut+oe(ht))*ut}function ve(ut,ht,tt){return 3*te(ht,tt)*ut*ut+2*se(ht,tt)*ut+oe(ht)}function Ae(ut,ht){for(var tt=0;tt<S;++tt){var Dt=ve(ht,m,y);if(Dt===0)return ht;var ft=Ce(ht,m,y)-ut;ht-=ft/Dt}return ht}function Le(){for(var ut=0;ut<$;++ut)J[ut]=Ce(ut*C,m,y)}function Be(ut,ht,tt){var Dt,ft,ln=0;do ft=ht+(tt-ht)/2,Dt=Ce(ft,m,y)-ut,Dt>0?tt=ft:ht=ft;while(Math.abs(Dt)>I&&++ln<R);return ft}function Xe(ut){for(var ht=0,tt=1,Dt=$-1;tt!==Dt&&J[tt]<=ut;++tt)ht+=C;--tt;var ft=(ut-J[tt])/(J[tt+1]-J[tt]),ln=ht+ft*C,Rt=ve(ln,m,y);return Rt>=D?Ae(ut,ln):Rt===0?ln:Be(ut,ht,ht+C)}var Ue=!1;function Fe(){Ue=!0,(m!==g||y!==E)&&Le()}var et=function(ht){return Ue||Fe(),m===g&&y===E?ht:ht===0?0:ht===1?1:Ce(Xe(ht),g,E)};et.getControlPoints=function(){return[{x:m,y:g},{x:y,y:E}]};var ze="generateBezier("+[m,g,y,E]+")";return et.toString=function(){return ze},et}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var KZ=function(){function m(E){return-E.tension*E.x-E.friction*E.v}function g(E,S,D){var I={x:E.x+D.dx*S,v:E.v+D.dv*S,tension:E.tension,friction:E.friction};return{dx:I.v,dv:m(I)}}function y(E,S){var D={dx:E.v,dv:m(E)},I=g(E,S*.5,D),R=g(E,S*.5,I),$=g(E,S,R),C=1/6*(D.dx+2*(I.dx+R.dx)+$.dx),G=1/6*(D.dv+2*(I.dv+R.dv)+$.dv);return E.x=E.x+C*S,E.v=E.v+G*S,E}return function E(S,D,I){var R={x:-1,v:0,tension:null,friction:null},$=[0],C=0,G=1/1e4,U=16/1e3,J,te,se;for(S=parseFloat(S)||500,D=parseFloat(D)||20,I=I||null,R.tension=S,R.friction=D,J=I!==null,J?(C=E(S,D),te=C/I*U):te=U;se=y(se||R,te),$.push(1+se.x),C+=16,Math.abs(se.x)>G&&Math.abs(se.v)>G;);return J?function(oe){return $[oe*($.length-1)|0]}:C}}(),yu=function(g,y,E,S){var D=UZ(g,y,E,S);return function(I,R,$){return I+(R-I)*D($)}},z9={linear:function(g,y,E){return g+(y-g)*E},ease:yu(.25,.1,.25,1),"ease-in":yu(.42,0,1,1),"ease-out":yu(0,0,.58,1),"ease-in-out":yu(.42,0,.58,1),"ease-in-sine":yu(.47,0,.745,.715),"ease-out-sine":yu(.39,.575,.565,1),"ease-in-out-sine":yu(.445,.05,.55,.95),"ease-in-quad":yu(.55,.085,.68,.53),"ease-out-quad":yu(.25,.46,.45,.94),"ease-in-out-quad":yu(.455,.03,.515,.955),"ease-in-cubic":yu(.55,.055,.675,.19),"ease-out-cubic":yu(.215,.61,.355,1),"ease-in-out-cubic":yu(.645,.045,.355,1),"ease-in-quart":yu(.895,.03,.685,.22),"ease-out-quart":yu(.165,.84,.44,1),"ease-in-out-quart":yu(.77,0,.175,1),"ease-in-quint":yu(.755,.05,.855,.06),"ease-out-quint":yu(.23,1,.32,1),"ease-in-out-quint":yu(.86,0,.07,1),"ease-in-expo":yu(.95,.05,.795,.035),"ease-out-expo":yu(.19,1,.22,1),"ease-in-out-expo":yu(1,0,0,1),"ease-in-circ":yu(.6,.04,.98,.335),"ease-out-circ":yu(.075,.82,.165,1),"ease-in-out-circ":yu(.785,.135,.15,.86),spring:function(g,y,E){if(E===0)return z9.linear;var S=KZ(g,y,E);return function(D,I,R){return D+(I-D)*S(R)}},"cubic-bezier":yu};function JB(m,g,y,E,S){if(E===1||g===y)return y;var D=S(g,y,E);return m==null||((m.roundValue||m.color)&&(D=Math.round(D)),m.min!==void 0&&(D=Math.max(D,m.min)),m.max!==void 0&&(D=Math.min(D,m.max))),D}function eF(m,g){return m.pfValue!=null||m.value!=null?m.pfValue!=null&&(g==null||g.type.units!=="%")?m.pfValue:m.value:m}function Z5(m,g,y,E,S){var D=S!=null?S.type:null;y<0?y=0:y>1&&(y=1);var I=eF(m,S),R=eF(g,S);if(re(I)&&re(R))return JB(D,I,R,y,E);if(Me(I)&&Me(R)){for(var $=[],C=0;C<R.length;C++){var G=I[C],U=R[C];if(G!=null&&U!=null){var J=JB(D,G,U,y,E);$.push(J)}else $.push(U)}return $}}function WZ(m,g,y,E){var S=!E,D=m._private,I=g._private,R=I.easing,$=I.startTime,C=E?m:m.cy(),G=C.style();if(!I.easingImpl)if(R==null)I.easingImpl=z9.linear;else{var U;if(xe(R)){var J=G.parse("transition-timing-function",R);U=J.value}else U=R;var te,se;xe(U)?(te=U,se=[]):(te=U[1],se=U.slice(2).map(function(Sn){return+Sn})),se.length>0?(te==="spring"&&se.push(I.duration),I.easingImpl=z9[te].apply(null,se)):I.easingImpl=z9[te]}var oe=I.easingImpl,Ce;if(I.duration===0?Ce=1:Ce=(y-$)/I.duration,I.applying&&(Ce=I.progress),Ce<0?Ce=0:Ce>1&&(Ce=1),I.delay==null){var ve=I.startPosition,Ae=I.position;if(Ae&&S&&!m.locked()){var Le={};x8(ve.x,Ae.x)&&(Le.x=Z5(ve.x,Ae.x,Ce,oe)),x8(ve.y,Ae.y)&&(Le.y=Z5(ve.y,Ae.y,Ce,oe)),m.position(Le)}var Be=I.startPan,Xe=I.pan,Ue=D.pan,Fe=Xe!=null&&E;Fe&&(x8(Be.x,Xe.x)&&(Ue.x=Z5(Be.x,Xe.x,Ce,oe)),x8(Be.y,Xe.y)&&(Ue.y=Z5(Be.y,Xe.y,Ce,oe)),m.emit("pan"));var et=I.startZoom,ze=I.zoom,ut=ze!=null&&E;ut&&(x8(et,ze)&&(D.zoom=c8(D.minZoom,Z5(et,ze,Ce,oe),D.maxZoom)),m.emit("zoom")),(Fe||ut)&&m.emit("viewport");var ht=I.style;if(ht&&ht.length>0&&S){for(var tt=0;tt<ht.length;tt++){var Dt=ht[tt],ft=Dt.name,ln=Dt,Rt=I.startStyle[ft],Ht=G.properties[Rt.name],wn=Z5(Rt,ln,Ce,oe,Ht);G.overrideBypass(m,ft,wn)}m.emit("style")}}return I.progress=Ce,Ce}function x8(m,g){return m==null||g==null?!1:re(m)&&re(g)?!0:!!(m&&g)}function YZ(m,g,y,E){var S=g._private;S.started=!0,S.startTime=y-S.progress*S.duration}function tF(m,g){var y=g._private.aniEles,E=[];function S(G,U){var J=G._private,te=J.animation.current,se=J.animation.queue,oe=!1;if(te.length===0){var Ce=se.shift();Ce&&te.push(Ce)}for(var ve=function(Ue){for(var Fe=Ue.length-1;Fe>=0;Fe--){var et=Ue[Fe];et()}Ue.splice(0,Ue.length)},Ae=te.length-1;Ae>=0;Ae--){var Le=te[Ae],Be=Le._private;if(Be.stopped){te.splice(Ae,1),Be.hooked=!1,Be.playing=!1,Be.started=!1,ve(Be.frames);continue}!Be.playing&&!Be.applying||(Be.playing&&Be.applying&&(Be.applying=!1),Be.started||YZ(G,Le,m),WZ(G,Le,m,U),Be.applying&&(Be.applying=!1),ve(Be.frames),Be.step!=null&&Be.step(m),Le.completed()&&(te.splice(Ae,1),Be.hooked=!1,Be.playing=!1,Be.started=!1,ve(Be.completes)),oe=!0)}return!U&&te.length===0&&se.length===0&&E.push(G),oe}for(var D=!1,I=0;I<y.length;I++){var R=y[I],$=S(R);D=D||$}var C=S(g,!0);(D||C)&&(y.length>0?g.notify("draw",y):g.notify("draw")),y.unmerge(E),g.emit("step")}var XZ={animate:Pc.animate(),animation:Pc.animation(),animated:Pc.animated(),clearQueue:Pc.clearQueue(),delay:Pc.delay(),delayAnimation:Pc.delayAnimation(),stop:Pc.stop(),addToAnimationPool:function(g){var y=this;y.styleEnabled()&&y._private.aniEles.merge(g)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var g=this;if(g._private.animationsRunning=!0,!g.styleEnabled())return;function y(){g._private.animationsRunning&&Ei(function(D){tF(D,g),y()})}var E=g.renderer();E&&E.beforeRender?E.beforeRender(function(D,I){tF(I,g)},E.beforeRenderPriorities.animations):y()}},QZ={qualifierCompare:function(g,y){return g==null||y==null?g==null&&y==null:g.sameText(y)},eventMatches:function(g,y,E){var S=y.qualifier;return S!=null?g!==E.target&&De(E.target)&&S.matches(E.target):!0},addEventFields:function(g,y){y.cy=g,y.target=g},callbackContext:function(g,y,E){return y.qualifier!=null?E.target:g}},G9=function(g){return xe(g)?new hm(g):g},nF={createEmitter:function(){var g=this._private;return g.emitter||(g.emitter=new B9(QZ,this)),this},emitter:function(){return this._private.emitter},on:function(g,y,E){return this.emitter().on(g,G9(y),E),this},removeListener:function(g,y,E){return this.emitter().removeListener(g,G9(y),E),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(g,y,E){return this.emitter().one(g,G9(y),E),this},once:function(g,y,E){return this.emitter().one(g,G9(y),E),this},emit:function(g,y){return this.emitter().emit(g,y),this},emitAndNotify:function(g,y){return this.emit(g),this.notify(g,y),this}};Pc.eventAliasesOn(nF);var kL={png:function(g){var y=this._private.renderer;return g=g||{},y.png(g)},jpg:function(g){var y=this._private.renderer;return g=g||{},g.bg=g.bg||"#fff",y.jpg(g)}};kL.jpeg=kL.jpg;var q9={layout:function(g){var y=this;if(g==null){Fu("Layout options must be specified to make a layout");return}if(g.name==null){Fu("A `name` must be specified to make a layout");return}var E=g.name,S=y.extension("layout",E);if(S==null){Fu("No such layout `"+E+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var D;xe(g.eles)?D=y.$(g.eles):D=g.eles!=null?g.eles:y.$();var I=new S(Oe({},g,{cy:y,eles:D}));return I}};q9.createLayout=q9.makeLayout=q9.layout;var ZZ={notify:function(g,y){var E=this._private;if(this.batching()){E.batchNotifications=E.batchNotifications||{};var S=E.batchNotifications[g]=E.batchNotifications[g]||this.collection();y!=null&&S.merge(y);return}if(E.notificationsEnabled){var D=this.renderer();this.destroyed()||!D||D.notify(g,y)}},notifications:function(g){var y=this._private;return g===void 0?y.notificationsEnabled:(y.notificationsEnabled=!!g,this)},noNotifications:function(g){this.notifications(!1),g(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var g=this._private;return g.batchCount==null&&(g.batchCount=0),g.batchCount===0&&(g.batchStyleEles=this.collection(),g.batchNotifications={}),g.batchCount++,this},endBatch:function(){var g=this._private;if(g.batchCount===0)return this;if(g.batchCount--,g.batchCount===0){g.batchStyleEles.updateStyle();var y=this.renderer();Object.keys(g.batchNotifications).forEach(function(E){var S=g.batchNotifications[E];S.empty()?y.notify(E):y.notify(E,S)})}return this},batch:function(g){return this.startBatch(),g(),this.endBatch(),this},batchData:function(g){var y=this;return this.batch(function(){for(var E=Object.keys(g),S=0;S<E.length;S++){var D=E[S],I=g[D],R=y.getElementById(D);R.data(I)}})}},JZ=zf({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),xL={renderTo:function(g,y,E,S){var D=this._private.renderer;return D.renderTo(g,y,E,S),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(g){var y=this,E=y.extension("renderer",g.name);if(E==null){Fu("Can not initialise: No such renderer `".concat(g.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}g.wheelSensitivity!==void 0&&Jo("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var S=JZ(g);S.cy=y,y._private.renderer=new E(S),this.notify("init")},destroyRenderer:function(){var g=this;g.notify("destroy");var y=g.container();if(y)for(y._cyreg=null;y.childNodes.length>0;)y.removeChild(y.childNodes[0]);g._private.renderer=null,g.mutableElements().forEach(function(E){var S=E._private;S.rscratch={},S.rstyle={},S.animation.current=[],S.animation.queue=[]})},onRender:function(g){return this.on("render",g)},offRender:function(g){return this.off("render",g)}};xL.invalidateDimensions=xL.resize;var V9={collection:function(g,y){return xe(g)?this.$(g):he(g)?g.collection():Me(g)?(y||(y={}),new qf(this,g,y.unique,y.removed)):new qf(this)},nodes:function(g){var y=this.$(function(E){return E.isNode()});return g?y.filter(g):y},edges:function(g){var y=this.$(function(E){return E.isEdge()});return g?y.filter(g):y},$:function(g){var y=this._private.elements;return g?y.filter(g):y.spawnSelf()},mutableElements:function(){return this._private.elements}};V9.elements=V9.filter=V9.$;var w1={},E8="t",eJ="f";w1.apply=function(m){for(var g=this,y=g._private,E=y.cy,S=E.collection(),D=0;D<m.length;D++){var I=m[D],R=g.getContextMeta(I);if(!R.empty){var $=g.getContextStyle(R),C=g.applyContextStyle(R,$,I);I._private.appliedInitStyle?g.updateTransitions(I,C.diffProps):I._private.appliedInitStyle=!0;var G=g.updateStyleHints(I);G&&S.push(I)}}return S},w1.getPropertiesDiff=function(m,g){var y=this,E=y._private.propDiffs=y._private.propDiffs||{},S=m+"-"+g,D=E[S];if(D)return D;for(var I=[],R={},$=0;$<y.length;$++){var C=y[$],G=m[$]===E8,U=g[$]===E8,J=G!==U,te=C.mappedProperties.length>0;if(J||U&&te){var se=void 0;J&&te||J?se=C.properties:te&&(se=C.mappedProperties);for(var oe=0;oe<se.length;oe++){for(var Ce=se[oe],ve=Ce.name,Ae=!1,Le=$+1;Le<y.length;Le++){var Be=y[Le],Xe=g[Le]===E8;if(Xe&&(Ae=Be.properties[Ce.name]!=null,Ae))break}!R[ve]&&!Ae&&(R[ve]=!0,I.push(ve))}}}return E[S]=I,I},w1.getContextMeta=function(m){for(var g=this,y="",E,S=m._private.styleCxtKey||"",D=0;D<g.length;D++){var I=g[D],R=I.selector&&I.selector.matches(m);R?y+=E8:y+=eJ}return E=g.getPropertiesDiff(S,y),m._private.styleCxtKey=y,{key:y,diffPropNames:E,empty:E.length===0}},w1.getContextStyle=function(m){var g=m.key,y=this,E=this._private.contextStyles=this._private.contextStyles||{};if(E[g])return E[g];for(var S={_private:{key:g}},D=0;D<y.length;D++){var I=y[D],R=g[D]===E8;if(R)for(var $=0;$<I.properties.length;$++){var C=I.properties[$];S[C.name]=C}}return E[g]=S,S},w1.applyContextStyle=function(m,g,y){for(var E=this,S=m.diffPropNames,D={},I=E.types,R=0;R<S.length;R++){var $=S[R],C=g[$],G=y.pstyle($);if(!C)if(G)G.bypass?C={name:$,deleteBypassed:!0}:C={name:$,delete:!0};else continue;if(G!==C){if(C.mapped===I.fn&&G!=null&&G.mapping!=null&&G.mapping.value===C.value){var U=G.mapping,J=U.fnValue=C.value(y);if(J===U.prevFnValue)continue}var te=D[$]={prev:G};E.applyParsedProperty(y,C),te.next=y.pstyle($),te.next&&te.next.bypass&&(te.next=te.next.bypassed)}}return{diffProps:D}},w1.updateStyleHints=function(m){var g=m._private,y=this,E=y.propertyGroupNames,S=y.propertyGroupKeys,D=function(ri,Ti,ia){return y.getPropertiesHash(ri,Ti,ia)},I=g.styleKey;if(m.removed())return!1;var R=g.group==="nodes",$=m._private.style;E=Object.keys($);for(var C=0;C<S.length;C++){var G=S[C];g.styleKeys[G]=[Ot,Kt]}for(var U=function(ri,Ti){return g.styleKeys[Ti][0]=sm(ri,g.styleKeys[Ti][0])},J=function(ri,Ti){return g.styleKeys[Ti][1]=f3(ri,g.styleKeys[Ti][1])},te=function(ri,Ti){U(ri,Ti),J(ri,Ti)},se=function(ri,Ti){for(var ia=0;ia<ri.length;ia++){var Ra=ri.charCodeAt(ia);U(Ra,Ti),J(Ra,Ti)}},oe=2e9,Ce=function(ri){return-128<ri&&ri<128&&Math.floor(ri)!==ri?oe-(ri*1024|0):ri},ve=0;ve<E.length;ve++){var Ae=E[ve],Le=$[Ae];if(Le!=null){var Be=this.properties[Ae],Xe=Be.type,Ue=Be.groupKey,Fe=void 0;Be.hashOverride!=null?Fe=Be.hashOverride(m,Le):Le.pfValue!=null&&(Fe=Le.pfValue);var et=Be.enums==null?Le.value:null,ze=Fe!=null,ut=et!=null,ht=ze||ut,tt=Le.units;if(Xe.number&&ht&&!Xe.multiple){var Dt=ze?Fe:et;te(Ce(Dt),Ue),!ze&&tt!=null&&se(tt,Ue)}else se(Le.strValue,Ue)}}for(var ft=[Ot,Kt],ln=0;ln<S.length;ln++){var Rt=S[ln],Ht=g.styleKeys[Rt];ft[0]=sm(Ht[0],ft[0]),ft[1]=f3(Ht[1],ft[1])}g.styleKey=s8(ft[0],ft[1]);var wn=g.styleKeys;g.labelDimsKey=I2(wn.labelDimensions);var Sn=D(m,["label"],wn.labelDimensions);if(g.labelKey=I2(Sn),g.labelStyleKey=I2(fl(wn.commonLabel,Sn)),!R){var Kn=D(m,["source-label"],wn.labelDimensions);g.sourceLabelKey=I2(Kn),g.sourceLabelStyleKey=I2(fl(wn.commonLabel,Kn));var xn=D(m,["target-label"],wn.labelDimensions);g.targetLabelKey=I2(xn),g.targetLabelStyleKey=I2(fl(wn.commonLabel,xn))}if(R){var Un=g.styleKeys,ar=Un.nodeBody,xr=Un.nodeBorder,fr=Un.backgroundImage,rr=Un.compound,gn=Un.pie,mr=[ar,xr,fr,rr,gn].filter(function(pr){return pr!=null}).reduce(fl,[Ot,Kt]);g.nodeKey=I2(mr),g.hasPie=gn!=null&&gn[0]!==Ot&&gn[1]!==Kt}return I!==g.styleKey},w1.clearStyleHints=function(m){var g=m._private;g.styleCxtKey="",g.styleKeys={},g.styleKey=null,g.labelKey=null,g.labelStyleKey=null,g.sourceLabelKey=null,g.sourceLabelStyleKey=null,g.targetLabelKey=null,g.targetLabelStyleKey=null,g.nodeKey=null,g.hasPie=null},w1.applyParsedProperty=function(m,g){var y=this,E=g,S=m._private.style,D,I=y.types,R=y.properties[E.name].type,$=E.bypass,C=S[E.name],G=C&&C.bypass,U=m._private,J="mapping",te=function(ar){return ar==null?null:ar.pfValue!=null?ar.pfValue:ar.value},se=function(){var ar=te(C),xr=te(E);y.checkTriggers(m,E.name,ar,xr)};if(E&&E.name.substr(0,3)==="pie"&&Jo("The pie style properties are deprecated. Create charts using background images instead."),g.name==="curve-style"&&m.isEdge()&&(g.value!=="bezier"&&m.isLoop()||g.value==="haystack"&&(m.source().isParent()||m.target().isParent()))&&(E=g=this.parse(g.name,"bezier",$)),E.delete)return S[E.name]=void 0,se(),!0;if(E.deleteBypassed)return C?C.bypass?(C.bypassed=void 0,se(),!0):!1:(se(),!0);if(E.deleteBypass)return C?C.bypass?(S[E.name]=C.bypassed,se(),!0):!1:(se(),!0);var oe=function(){Jo("Do not assign mappings to elements without corresponding data (i.e. ele `"+m.id()+"` has no mapping for property `"+E.name+"` with data field `"+E.field+"`); try a `["+E.field+"]` selector to limit scope to elements with `"+E.field+"` defined")};switch(E.mapped){case I.mapData:{for(var Ce=E.field.split("."),ve=U.data,Ae=0;Ae<Ce.length&&ve;Ae++){var Le=Ce[Ae];ve=ve[Le]}if(ve==null)return oe(),!1;var Be;if(re(ve)){var Xe=E.fieldMax-E.fieldMin;Xe===0?Be=0:Be=(ve-E.fieldMin)/Xe}else return Jo("Do not use continuous mappers without specifying numeric data (i.e. `"+E.field+": "+ve+"` for `"+m.id()+"` is non-numeric)"),!1;if(Be<0?Be=0:Be>1&&(Be=1),R.color){var Ue=E.valueMin[0],Fe=E.valueMax[0],et=E.valueMin[1],ze=E.valueMax[1],ut=E.valueMin[2],ht=E.valueMax[2],tt=E.valueMin[3]==null?1:E.valueMin[3],Dt=E.valueMax[3]==null?1:E.valueMax[3],ft=[Math.round(Ue+(Fe-Ue)*Be),Math.round(et+(ze-et)*Be),Math.round(ut+(ht-ut)*Be),Math.round(tt+(Dt-tt)*Be)];D={bypass:E.bypass,name:E.name,value:ft,strValue:"rgb("+ft[0]+", "+ft[1]+", "+ft[2]+")"}}else if(R.number){var ln=E.valueMin+(E.valueMax-E.valueMin)*Be;D=this.parse(E.name,ln,E.bypass,J)}else return!1;if(!D)return oe(),!1;D.mapping=E,E=D;break}case I.data:{for(var Rt=E.field.split("."),Ht=U.data,wn=0;wn<Rt.length&&Ht;wn++){var Sn=Rt[wn];Ht=Ht[Sn]}if(Ht!=null&&(D=this.parse(E.name,Ht,E.bypass,J)),!D)return oe(),!1;D.mapping=E,E=D;break}case I.fn:{var Kn=E.value,xn=E.fnValue!=null?E.fnValue:Kn(m);if(E.prevFnValue=xn,xn==null)return Jo("Custom function mappers may not return null (i.e. `"+E.name+"` for ele `"+m.id()+"` is null)"),!1;if(D=this.parse(E.name,xn,E.bypass,J),!D)return Jo("Custom function mappers may not return invalid values for the property type (i.e. `"+E.name+"` for ele `"+m.id()+"` is invalid)"),!1;D.mapping=O2(E),E=D;break}case void 0:break;default:return!1}return $?(G?E.bypassed=C.bypassed:E.bypassed=C,S[E.name]=E):G?C.bypassed=E:S[E.name]=E,se(),!0},w1.cleanElements=function(m,g){for(var y=0;y<m.length;y++){var E=m[y];if(this.clearStyleHints(E),E.dirtyCompoundBoundsCache(),E.dirtyBoundingBoxCache(),!g)E._private.style={};else for(var S=E._private.style,D=Object.keys(S),I=0;I<D.length;I++){var R=D[I],$=S[R];$!=null&&($.bypass?$.bypassed=null:S[R]=null)}}},w1.update=function(){var m=this._private.cy,g=m.mutableElements();g.updateStyle()},w1.updateTransitions=function(m,g){var y=this,E=m._private,S=m.pstyle("transition-property").value,D=m.pstyle("transition-duration").pfValue,I=m.pstyle("transition-delay").pfValue;if(S.length>0&&D>0){for(var R={},$=!1,C=0;C<S.length;C++){var G=S[C],U=m.pstyle(G),J=g[G];if(J){var te=J.prev,se=te,oe=J.next!=null?J.next:U,Ce=!1,ve=void 0,Ae=1e-6;se&&(re(se.pfValue)&&re(oe.pfValue)?(Ce=oe.pfValue-se.pfValue,ve=se.pfValue+Ae*Ce):re(se.value)&&re(oe.value)?(Ce=oe.value-se.value,ve=se.value+Ae*Ce):Me(se.value)&&Me(oe.value)&&(Ce=se.value[0]!==oe.value[0]||se.value[1]!==oe.value[1]||se.value[2]!==oe.value[2],ve=se.strValue),Ce&&(R[G]=oe.strValue,this.applyBypass(m,G,ve),$=!0))}}if(!$)return;E.transitioning=!0,new H5(function(Le){I>0?m.delayAnimation(I).play().promise().then(Le):Le()}).then(function(){return m.animation({style:R,duration:D,easing:m.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){y.removeBypasses(m,S),m.emitAndNotify("style"),E.transitioning=!1})}else E.transitioning&&(this.removeBypasses(m,S),m.emitAndNotify("style"),E.transitioning=!1)},w1.checkTrigger=function(m,g,y,E,S,D){var I=this.properties[g],R=S(I);R!=null&&R(y,E)&&D(I)},w1.checkZOrderTrigger=function(m,g,y,E){var S=this;this.checkTrigger(m,g,y,E,function(D){return D.triggersZOrder},function(){S._private.cy.notify("zorder",m)})},w1.checkBoundsTrigger=function(m,g,y,E){this.checkTrigger(m,g,y,E,function(S){return S.triggersBounds},function(S){m.dirtyCompoundBoundsCache(),m.dirtyBoundingBoxCache(),S.triggersBoundsOfParallelBeziers&&(g==="curve-style"&&(y==="bezier"||E==="bezier")||g==="display"&&(y==="none"||E==="none"))&&m.parallelEdges().forEach(function(D){D.isBundledBezier()&&D.dirtyBoundingBoxCache()})})},w1.checkTriggers=function(m,g,y,E){m.dirtyStyleCache(),this.checkZOrderTrigger(m,g,y,E),this.checkBoundsTrigger(m,g,y,E)};var T8={};T8.applyBypass=function(m,g,y,E){var S=this,D=[],I=!0;if(g==="*"||g==="**"){if(y!==void 0)for(var R=0;R<S.properties.length;R++){var $=S.properties[R],C=$.name,G=this.parse(C,y,!0);G&&D.push(G)}}else if(xe(g)){var U=this.parse(g,y,!0);U&&D.push(U)}else if(fe(g)){var J=g;E=y;for(var te=Object.keys(J),se=0;se<te.length;se++){var oe=te[se],Ce=J[oe];if(Ce===void 0&&(Ce=J[dn(oe)]),Ce!==void 0){var ve=this.parse(oe,Ce,!0);ve&&D.push(ve)}}}else return!1;if(D.length===0)return!1;for(var Ae=!1,Le=0;Le<m.length;Le++){for(var Be=m[Le],Xe={},Ue=void 0,Fe=0;Fe<D.length;Fe++){var et=D[Fe];if(E){var ze=Be.pstyle(et.name);Ue=Xe[et.name]={prev:ze}}Ae=this.applyParsedProperty(Be,O2(et))||Ae,E&&(Ue.next=Be.pstyle(et.name))}Ae&&this.updateStyleHints(Be),E&&this.updateTransitions(Be,Xe,I)}return Ae},T8.overrideBypass=function(m,g,y){g=nn(g);for(var E=0;E<m.length;E++){var S=m[E],D=S._private.style[g],I=this.properties[g].type,R=I.color,$=I.mutiple,C=D?D.pfValue!=null?D.pfValue:D.value:null;!D||!D.bypass?this.applyBypass(S,g,y):(D.value=y,D.pfValue!=null&&(D.pfValue=y),R?D.strValue="rgb("+y.join(",")+")":$?D.strValue=y.join(" "):D.strValue=""+y,this.updateStyleHints(S)),this.checkTriggers(S,g,C,y)}},T8.removeAllBypasses=function(m,g){return this.removeBypasses(m,this.propertyNames,g)},T8.removeBypasses=function(m,g,y){for(var E=!0,S=0;S<m.length;S++){for(var D=m[S],I={},R=0;R<g.length;R++){var $=g[R],C=this.properties[$],G=D.pstyle(C.name);if(!(!G||!G.bypass)){var U="",J=this.parse($,U,!0),te=I[C.name]={prev:G};this.applyParsedProperty(D,J),te.next=D.pstyle(C.name)}}this.updateStyleHints(D),y&&this.updateTransitions(D,I,E)}};var EL={};EL.getEmSizeInPixels=function(){var m=this.containerCss("font-size");return m!=null?parseFloat(m):1},EL.containerCss=function(m){var g=this._private.cy,y=g.container();if(j&&y&&j.getComputedStyle)return j.getComputedStyle(y).getPropertyValue(m)};var B2={};B2.getRenderedStyle=function(m,g){return g?this.getStylePropertyValue(m,g,!0):this.getRawStyle(m,!0)},B2.getRawStyle=function(m,g){var y=this;if(m=m[0],m){for(var E={},S=0;S<y.properties.length;S++){var D=y.properties[S],I=y.getStylePropertyValue(m,D.name,g);I!=null&&(E[D.name]=I,E[dn(D.name)]=I)}return E}},B2.getIndexedStyle=function(m,g,y,E){var S=m.pstyle(g)[y][E];return S??m.cy().style().getDefaultProperty(g)[y][0]},B2.getStylePropertyValue=function(m,g,y){var E=this;if(m=m[0],m){var S=E.properties[g];S.alias&&(S=S.pointsTo);var D=S.type,I=m.pstyle(S.name);if(I){var R=I.value,$=I.units,C=I.strValue;if(y&&D.number&&R!=null&&re(R)){var G=m.cy().zoom(),U=function(Ce){return Ce*G},J=function(Ce,ve){return U(Ce)+ve},te=Me(R),se=te?$.every(function(oe){return oe!=null}):$!=null;return se?te?R.map(function(oe,Ce){return J(oe,$[Ce])}).join(" "):J(R,$):te?R.map(function(oe){return xe(oe)?oe:""+U(oe)}).join(" "):""+U(R)}else if(C!=null)return C}return null}},B2.getAnimationStartStyle=function(m,g){for(var y={},E=0;E<g.length;E++){var S=g[E],D=S.name,I=m.pstyle(D);I!==void 0&&(fe(I)?I=this.parse(D,I.strValue):I=this.parse(D,I)),I&&(y[D]=I)}return y},B2.getPropsList=function(m){var g=this,y=[],E=m,S=g.properties;if(E)for(var D=Object.keys(E),I=0;I<D.length;I++){var R=D[I],$=E[R],C=S[R]||S[nn(R)],G=this.parse(C.name,$);G&&y.push(G)}return y},B2.getNonDefaultPropertiesHash=function(m,g,y){var E=y.slice(),S,D,I,R,$,C;for($=0;$<g.length;$++)if(S=g[$],D=m.pstyle(S,!1),D!=null)if(D.pfValue!=null)E[0]=sm(R,E[0]),E[1]=f3(R,E[1]);else for(I=D.strValue,C=0;C<I.length;C++)R=I.charCodeAt(C),E[0]=sm(R,E[0]),E[1]=f3(R,E[1]);return E},B2.getPropertiesHash=B2.getNonDefaultPropertiesHash;var U9={};U9.appendFromJson=function(m){for(var g=this,y=0;y<m.length;y++){var E=m[y],S=E.selector,D=E.style||E.css,I=Object.keys(D);g.selector(S);for(var R=0;R<I.length;R++){var $=I[R],C=D[$];g.css($,C)}}return g},U9.fromJson=function(m){var g=this;return g.resetToDefault(),g.appendFromJson(m),g},U9.json=function(){for(var m=[],g=this.defaultLength;g<this.length;g++){for(var y=this[g],E=y.selector,S=y.properties,D={},I=0;I<S.length;I++){var R=S[I];D[R.name]=R.strValue}m.push({selector:E?E.toString():"core",style:D})}return m};var TL={};TL.appendFromString=function(m){var g=this,y=this,E=""+m,S,D,I;E=E.replace(/[/][*](\s|.)+?[*][/]/g,"");function R(){E.length>S.length?E=E.substr(S.length):E=""}function $(){D.length>I.length?D=D.substr(I.length):D=""}for(;;){var C=E.match(/^\s*$/);if(C)break;var G=E.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!G){Jo("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+E);break}S=G[0];var U=G[1];if(U!=="core"){var J=new hm(U);if(J.invalid){Jo("Skipping parsing of block: Invalid selector found in string stylesheet: "+U),R();continue}}var te=G[2],se=!1;D=te;for(var oe=[];;){var Ce=D.match(/^\s*$/);if(Ce)break;var ve=D.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!ve){Jo("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+te),se=!0;break}I=ve[0];var Ae=ve[1],Le=ve[2],Be=g.properties[Ae];if(!Be){Jo("Skipping property: Invalid property name in: "+I),$();continue}var Xe=y.parse(Ae,Le);if(!Xe){Jo("Skipping property: Invalid property definition in: "+I),$();continue}oe.push({name:Ae,val:Le}),$()}if(se){R();break}y.selector(U);for(var Ue=0;Ue<oe.length;Ue++){var Fe=oe[Ue];y.css(Fe.name,Fe.val)}R()}return y},TL.fromString=function(m){var g=this;return g.resetToDefault(),g.appendFromString(m),g};var Vf={};(function(){var m=xt,g=wt,y=He,E=Ze,S=Lt,D=function(mr){return"^"+mr+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},I=function(mr){var pr=m+"|\\w+|"+g+"|"+y+"|"+E+"|"+S;return"^"+mr+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+m+")\\s*\\,\\s*("+m+")\\s*,\\s*("+pr+")\\s*\\,\\s*("+pr+")\\)$"},R=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];Vf.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:D("data")},layoutData:{mapping:!0,regex:D("layoutData")},scratch:{mapping:!0,regex:D("scratch")},mapData:{mapping:!0,regex:I("mapData")},mapLayoutData:{mapping:!0,regex:I("mapLayoutData")},mapScratch:{mapping:!0,regex:I("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:R,singleRegexMatchValue:!0},urls:{regexes:R,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(mr,pr){switch(mr.length){case 2:return pr[0]!=="deg"&&pr[0]!=="rad"&&pr[1]!=="deg"&&pr[1]!=="rad";case 1:return xe(mr[0])||pr[0]==="deg"||pr[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+m+")\\s*,\\s*("+m+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+m+")\\s*,\\s*("+m+")\\s*,\\s*("+m+")\\s*,\\s*("+m+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(mr){var pr=mr.length;return pr===1||pr===2||pr===4}}};var $={zeroNonZero:function(mr,pr){return(mr==null||pr==null)&&mr!==pr||mr==0&&pr!=0?!0:mr!=0&&pr==0},any:function(mr,pr){return mr!=pr},emptyNonEmpty:function(mr,pr){var ri=de(mr),Ti=de(pr);return ri&&!Ti||!ri&&Ti}},C=Vf.types,G=[{name:"label",type:C.text,triggersBounds:$.any,triggersZOrder:$.emptyNonEmpty},{name:"text-rotation",type:C.textRotation,triggersBounds:$.any},{name:"text-margin-x",type:C.bidirectionalSize,triggersBounds:$.any},{name:"text-margin-y",type:C.bidirectionalSize,triggersBounds:$.any}],U=[{name:"source-label",type:C.text,triggersBounds:$.any},{name:"source-text-rotation",type:C.textRotation,triggersBounds:$.any},{name:"source-text-margin-x",type:C.bidirectionalSize,triggersBounds:$.any},{name:"source-text-margin-y",type:C.bidirectionalSize,triggersBounds:$.any},{name:"source-text-offset",type:C.size,triggersBounds:$.any}],J=[{name:"target-label",type:C.text,triggersBounds:$.any},{name:"target-text-rotation",type:C.textRotation,triggersBounds:$.any},{name:"target-text-margin-x",type:C.bidirectionalSize,triggersBounds:$.any},{name:"target-text-margin-y",type:C.bidirectionalSize,triggersBounds:$.any},{name:"target-text-offset",type:C.size,triggersBounds:$.any}],te=[{name:"font-family",type:C.fontFamily,triggersBounds:$.any},{name:"font-style",type:C.fontStyle,triggersBounds:$.any},{name:"font-weight",type:C.fontWeight,triggersBounds:$.any},{name:"font-size",type:C.size,triggersBounds:$.any},{name:"text-transform",type:C.textTransform,triggersBounds:$.any},{name:"text-wrap",type:C.textWrap,triggersBounds:$.any},{name:"text-overflow-wrap",type:C.textOverflowWrap,triggersBounds:$.any},{name:"text-max-width",type:C.size,triggersBounds:$.any},{name:"text-outline-width",type:C.size,triggersBounds:$.any},{name:"line-height",type:C.positiveNumber,triggersBounds:$.any}],se=[{name:"text-valign",type:C.valign,triggersBounds:$.any},{name:"text-halign",type:C.halign,triggersBounds:$.any},{name:"color",type:C.color},{name:"text-outline-color",type:C.color},{name:"text-outline-opacity",type:C.zeroOneNumber},{name:"text-background-color",type:C.color},{name:"text-background-opacity",type:C.zeroOneNumber},{name:"text-background-padding",type:C.size,triggersBounds:$.any},{name:"text-border-opacity",type:C.zeroOneNumber},{name:"text-border-color",type:C.color},{name:"text-border-width",type:C.size,triggersBounds:$.any},{name:"text-border-style",type:C.borderStyle,triggersBounds:$.any},{name:"text-background-shape",type:C.textBackgroundShape,triggersBounds:$.any},{name:"text-justification",type:C.justification}],oe=[{name:"events",type:C.bool},{name:"text-events",type:C.bool}],Ce=[{name:"display",type:C.display,triggersZOrder:$.any,triggersBounds:$.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:C.visibility,triggersZOrder:$.any},{name:"opacity",type:C.zeroOneNumber,triggersZOrder:$.zeroNonZero},{name:"text-opacity",type:C.zeroOneNumber},{name:"min-zoomed-font-size",type:C.size},{name:"z-compound-depth",type:C.zCompoundDepth,triggersZOrder:$.any},{name:"z-index-compare",type:C.zIndexCompare,triggersZOrder:$.any},{name:"z-index",type:C.nonNegativeInt,triggersZOrder:$.any}],ve=[{name:"overlay-padding",type:C.size,triggersBounds:$.any},{name:"overlay-color",type:C.color},{name:"overlay-opacity",type:C.zeroOneNumber,triggersBounds:$.zeroNonZero},{name:"overlay-shape",type:C.overlayShape,triggersBounds:$.any}],Ae=[{name:"underlay-padding",type:C.size,triggersBounds:$.any},{name:"underlay-color",type:C.color},{name:"underlay-opacity",type:C.zeroOneNumber,triggersBounds:$.zeroNonZero},{name:"underlay-shape",type:C.overlayShape,triggersBounds:$.any}],Le=[{name:"transition-property",type:C.propList},{name:"transition-duration",type:C.time},{name:"transition-delay",type:C.time},{name:"transition-timing-function",type:C.easing}],Be=function(mr,pr){return pr.value==="label"?-mr.poolIndex():pr.pfValue},Xe=[{name:"height",type:C.nodeSize,triggersBounds:$.any,hashOverride:Be},{name:"width",type:C.nodeSize,triggersBounds:$.any,hashOverride:Be},{name:"shape",type:C.nodeShape,triggersBounds:$.any},{name:"shape-polygon-points",type:C.polygonPointList,triggersBounds:$.any},{name:"background-color",type:C.color},{name:"background-fill",type:C.fill},{name:"background-opacity",type:C.zeroOneNumber},{name:"background-blacken",type:C.nOneOneNumber},{name:"background-gradient-stop-colors",type:C.colors},{name:"background-gradient-stop-positions",type:C.percentages},{name:"background-gradient-direction",type:C.gradientDirection},{name:"padding",type:C.sizeMaybePercent,triggersBounds:$.any},{name:"padding-relative-to",type:C.paddingRelativeTo,triggersBounds:$.any},{name:"bounds-expansion",type:C.boundsExpansion,triggersBounds:$.any}],Ue=[{name:"border-color",type:C.color},{name:"border-opacity",type:C.zeroOneNumber},{name:"border-width",type:C.size,triggersBounds:$.any},{name:"border-style",type:C.borderStyle}],Fe=[{name:"background-image",type:C.urls},{name:"background-image-crossorigin",type:C.bgCrossOrigin},{name:"background-image-opacity",type:C.zeroOneNumbers},{name:"background-image-containment",type:C.bgContainment},{name:"background-image-smoothing",type:C.bools},{name:"background-position-x",type:C.bgPos},{name:"background-position-y",type:C.bgPos},{name:"background-width-relative-to",type:C.bgRelativeTo},{name:"background-height-relative-to",type:C.bgRelativeTo},{name:"background-repeat",type:C.bgRepeat},{name:"background-fit",type:C.bgFit},{name:"background-clip",type:C.bgClip},{name:"background-width",type:C.bgWH},{name:"background-height",type:C.bgWH},{name:"background-offset-x",type:C.bgPos},{name:"background-offset-y",type:C.bgPos}],et=[{name:"position",type:C.position,triggersBounds:$.any},{name:"compound-sizing-wrt-labels",type:C.compoundIncludeLabels,triggersBounds:$.any},{name:"min-width",type:C.size,triggersBounds:$.any},{name:"min-width-bias-left",type:C.sizeMaybePercent,triggersBounds:$.any},{name:"min-width-bias-right",type:C.sizeMaybePercent,triggersBounds:$.any},{name:"min-height",type:C.size,triggersBounds:$.any},{name:"min-height-bias-top",type:C.sizeMaybePercent,triggersBounds:$.any},{name:"min-height-bias-bottom",type:C.sizeMaybePercent,triggersBounds:$.any}],ze=[{name:"line-style",type:C.lineStyle},{name:"line-color",type:C.color},{name:"line-fill",type:C.fill},{name:"line-cap",type:C.lineCap},{name:"line-opacity",type:C.zeroOneNumber},{name:"line-dash-pattern",type:C.numbers},{name:"line-dash-offset",type:C.number},{name:"line-gradient-stop-colors",type:C.colors},{name:"line-gradient-stop-positions",type:C.percentages},{name:"curve-style",type:C.curveStyle,triggersBounds:$.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:C.zeroOneNumber,triggersBounds:$.any},{name:"source-endpoint",type:C.edgeEndpoint,triggersBounds:$.any},{name:"target-endpoint",type:C.edgeEndpoint,triggersBounds:$.any},{name:"control-point-step-size",type:C.size,triggersBounds:$.any},{name:"control-point-distances",type:C.bidirectionalSizes,triggersBounds:$.any},{name:"control-point-weights",type:C.numbers,triggersBounds:$.any},{name:"segment-distances",type:C.bidirectionalSizes,triggersBounds:$.any},{name:"segment-weights",type:C.numbers,triggersBounds:$.any},{name:"taxi-turn",type:C.bidirectionalSizeMaybePercent,triggersBounds:$.any},{name:"taxi-turn-min-distance",type:C.size,triggersBounds:$.any},{name:"taxi-direction",type:C.axisDirection,triggersBounds:$.any},{name:"edge-distances",type:C.edgeDistances,triggersBounds:$.any},{name:"arrow-scale",type:C.positiveNumber,triggersBounds:$.any},{name:"loop-direction",type:C.angle,triggersBounds:$.any},{name:"loop-sweep",type:C.angle,triggersBounds:$.any},{name:"source-distance-from-node",type:C.size,triggersBounds:$.any},{name:"target-distance-from-node",type:C.size,triggersBounds:$.any}],ut=[{name:"ghost",type:C.bool,triggersBounds:$.any},{name:"ghost-offset-x",type:C.bidirectionalSize,triggersBounds:$.any},{name:"ghost-offset-y",type:C.bidirectionalSize,triggersBounds:$.any},{name:"ghost-opacity",type:C.zeroOneNumber}],ht=[{name:"selection-box-color",type:C.color},{name:"selection-box-opacity",type:C.zeroOneNumber},{name:"selection-box-border-color",type:C.color},{name:"selection-box-border-width",type:C.size},{name:"active-bg-color",type:C.color},{name:"active-bg-opacity",type:C.zeroOneNumber},{name:"active-bg-size",type:C.size},{name:"outside-texture-bg-color",type:C.color},{name:"outside-texture-bg-opacity",type:C.zeroOneNumber}],tt=[];Vf.pieBackgroundN=16,tt.push({name:"pie-size",type:C.sizeMaybePercent});for(var Dt=1;Dt<=Vf.pieBackgroundN;Dt++)tt.push({name:"pie-"+Dt+"-background-color",type:C.color}),tt.push({name:"pie-"+Dt+"-background-size",type:C.percent}),tt.push({name:"pie-"+Dt+"-background-opacity",type:C.zeroOneNumber});var ft=[],ln=Vf.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:C.arrowShape,triggersBounds:$.any},{name:"arrow-color",type:C.color},{name:"arrow-fill",type:C.arrowFill}].forEach(function(gn){ln.forEach(function(mr){var pr=mr+"-"+gn.name,ri=gn.type,Ti=gn.triggersBounds;ft.push({name:pr,type:ri,triggersBounds:Ti})})},{});var Rt=Vf.properties=[].concat(oe,Le,Ce,ve,Ae,ut,se,te,G,U,J,Xe,Ue,Fe,tt,et,ze,ft,ht),Ht=Vf.propertyGroups={behavior:oe,transition:Le,visibility:Ce,overlay:ve,underlay:Ae,ghost:ut,commonLabel:se,labelDimensions:te,mainLabel:G,sourceLabel:U,targetLabel:J,nodeBody:Xe,nodeBorder:Ue,backgroundImage:Fe,pie:tt,compound:et,edgeLine:ze,edgeArrow:ft,core:ht},wn=Vf.propertyGroupNames={},Sn=Vf.propertyGroupKeys=Object.keys(Ht);Sn.forEach(function(gn){wn[gn]=Ht[gn].map(function(mr){return mr.name}),Ht[gn].forEach(function(mr){return mr.groupKey=gn})});var Kn=Vf.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];Vf.propertyNames=Rt.map(function(gn){return gn.name});for(var xn=0;xn<Rt.length;xn++){var Un=Rt[xn];Rt[Un.name]=Un}for(var ar=0;ar<Kn.length;ar++){var xr=Kn[ar],fr=Rt[xr.pointsTo],rr={name:xr.name,alias:!0,pointsTo:fr};Rt.push(rr),Rt[xr.name]=rr}})(),Vf.getDefaultProperty=function(m){return this.getDefaultProperties()[m]},Vf.getDefaultProperties=function(){var m=this._private;if(m.defaultProperties!=null)return m.defaultProperties;for(var g=Oe({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function($,C){for(var G=1;G<=Vf.pieBackgroundN;G++){var U=C.name.replace("{{i}}",G),J=C.value;$[U]=J}return $},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function($,C){return Vf.arrowPrefixes.forEach(function(G){var U=G+"-"+C.name,J=C.value;$[U]=J}),$},{})),y={},E=0;E<this.properties.length;E++){var S=this.properties[E];if(!S.pointsTo){var D=S.name,I=g[D],R=this.parse(D,I);y[D]=R}}return m.defaultProperties=y,m.defaultProperties},Vf.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var K9={};K9.parse=function(m,g,y,E){var S=this;if(Ee(g))return S.parseImplWarn(m,g,y,E);var D=E==="mapping"||E===!0||E===!1||E==null?"dontcare":E,I=y?"t":"f",R=""+g,$=I5(m,R,I,D),C=S.propCache=S.propCache||[],G;return(G=C[$])||(G=C[$]=S.parseImplWarn(m,g,y,E)),(y||E==="mapping")&&(G=O2(G),G&&(G.value=O2(G.value))),G},K9.parseImplWarn=function(m,g,y,E){var S=this.parseImpl(m,g,y,E);return!S&&g!=null&&Jo("The style property `".concat(m,": ").concat(g,"` is invalid")),S&&(S.name==="width"||S.name==="height")&&g==="label"&&Jo("The style value of `label` is deprecated for `"+S.name+"`"),S},K9.parseImpl=function(m,g,y,E){var S=this;m=nn(m);var D=S.properties[m],I=g,R=S.types;if(!D||g===void 0)return null;D.alias&&(D=D.pointsTo,m=D.name);var $=xe(g);$&&(g=g.trim());var C=D.type;if(!C)return null;if(y&&(g===""||g===null))return{name:m,value:g,bypass:!0,deleteBypass:!0};if(Ee(g))return{name:m,value:g,strValue:"fn",mapped:R.fn,bypass:y};var G,U;if(!(!$||E||g.length<7||g[1]!=="a")){if(g.length>=7&&g[0]==="d"&&(G=new RegExp(R.data.regex).exec(g))){if(y)return!1;var J=R.data;return{name:m,value:G,strValue:""+g,mapped:J,field:G[1],bypass:y}}else if(g.length>=10&&g[0]==="m"&&(U=new RegExp(R.mapData.regex).exec(g))){if(y||C.multiple)return!1;var te=R.mapData;if(!(C.color||C.number))return!1;var se=this.parse(m,U[4]);if(!se||se.mapped)return!1;var oe=this.parse(m,U[5]);if(!oe||oe.mapped)return!1;if(se.pfValue===oe.pfValue||se.strValue===oe.strValue)return Jo("`"+m+": "+g+"` is not a valid mapper because the output range is zero; converting to `"+m+": "+se.strValue+"`"),this.parse(m,se.strValue);if(C.color){var Ce=se.value,ve=oe.value,Ae=Ce[0]===ve[0]&&Ce[1]===ve[1]&&Ce[2]===ve[2]&&(Ce[3]===ve[3]||(Ce[3]==null||Ce[3]===1)&&(ve[3]==null||ve[3]===1));if(Ae)return!1}return{name:m,value:U,strValue:""+g,mapped:te,field:U[1],fieldMin:parseFloat(U[2]),fieldMax:parseFloat(U[3]),valueMin:se.value,valueMax:oe.value,bypass:y}}}if(C.multiple&&E!=="multiple"){var Le;if($?Le=g.split(/\s+/):Me(g)?Le=g:Le=[g],C.evenMultiple&&Le.length%2!==0)return null;for(var Be=[],Xe=[],Ue=[],Fe="",et=!1,ze=0;ze<Le.length;ze++){var ut=S.parse(m,Le[ze],y,"multiple");et=et||xe(ut.value),Be.push(ut.value),Ue.push(ut.pfValue!=null?ut.pfValue:ut.value),Xe.push(ut.units),Fe+=(ze>0?" ":"")+ut.strValue}return C.validate&&!C.validate(Be,Xe)?null:C.singleEnum&&et?Be.length===1&&xe(Be[0])?{name:m,value:Be[0],strValue:Be[0],bypass:y}:null:{name:m,value:Be,pfValue:Ue,strValue:Fe,bypass:y,units:Xe}}var ht=function(){for(var pr=0;pr<C.enums.length;pr++){var ri=C.enums[pr];if(ri===g)return{name:m,value:g,strValue:""+g,bypass:y}}return null};if(C.number){var tt,Dt="px";if(C.units&&(tt=C.units),C.implicitUnits&&(Dt=C.implicitUnits),!C.unitless)if($){var ft="px|em"+(C.allowPercent?"|\\%":"");tt&&(ft=tt);var ln=g.match("^("+xt+")("+ft+")?$");ln&&(g=ln[1],tt=ln[2]||Dt)}else(!tt||C.implicitUnits)&&(tt=Dt);if(g=parseFloat(g),isNaN(g)&&C.enums===void 0)return null;if(isNaN(g)&&C.enums!==void 0)return g=I,ht();if(C.integer&&!we(g)||C.min!==void 0&&(g<C.min||C.strictMin&&g===C.min)||C.max!==void 0&&(g>C.max||C.strictMax&&g===C.max))return null;var Rt={name:m,value:g,strValue:""+g+(tt||""),units:tt,bypass:y};return C.unitless||tt!=="px"&&tt!=="em"?Rt.pfValue=g:Rt.pfValue=tt==="px"||!tt?g:this.getEmSizeInPixels()*g,(tt==="ms"||tt==="s")&&(Rt.pfValue=tt==="ms"?g:1e3*g),(tt==="deg"||tt==="rad")&&(Rt.pfValue=tt==="rad"?g:YW(g)),tt==="%"&&(Rt.pfValue=g/100),Rt}else if(C.propList){var Ht=[],wn=""+g;if(wn!=="none"){for(var Sn=wn.split(/\s*,\s*|\s+/),Kn=0;Kn<Sn.length;Kn++){var xn=Sn[Kn].trim();S.properties[xn]?Ht.push(xn):Jo("`"+xn+"` is not a valid property name")}if(Ht.length===0)return null}return{name:m,value:Ht,strValue:Ht.length===0?"none":Ht.join(" "),bypass:y}}else if(C.color){var Un=tr(g);return Un?{name:m,value:Un,pfValue:Un,strValue:"rgb("+Un[0]+","+Un[1]+","+Un[2]+")",bypass:y}:null}else if(C.regex||C.regexes){if(C.enums){var ar=ht();if(ar)return ar}for(var xr=C.regexes?C.regexes:[C.regex],fr=0;fr<xr.length;fr++){var rr=new RegExp(xr[fr]),gn=rr.exec(g);if(gn)return{name:m,value:C.singleRegexMatchValue?gn[1]:gn,strValue:""+g,bypass:y}}return null}else return C.string?{name:m,value:""+g,strValue:""+g,bypass:y}:C.enums?ht():null};var m1=function m(g){if(!(this instanceof m))return new m(g);if(!Re(g)){Fu("A style must have a core reference");return}this._private={cy:g,coreStyle:{}},this.length=0,this.resetToDefault()},y1=m1.prototype;y1.instanceString=function(){return"style"},y1.clear=function(){for(var m=this._private,g=m.cy,y=g.elements(),E=0;E<this.length;E++)this[E]=void 0;return this.length=0,m.contextStyles={},m.propDiffs={},this.cleanElements(y,!0),y.forEach(function(S){var D=S[0]._private;D.styleDirty=!0,D.appliedInitStyle=!1}),this},y1.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},y1.core=function(m){return this._private.coreStyle[m]||this.getDefaultProperty(m)},y1.selector=function(m){var g=m==="core"?null:new hm(m),y=this.length++;return this[y]={selector:g,properties:[],mappedProperties:[],index:y},this},y1.css=function(){var m=this,g=arguments;if(g.length===1)for(var y=g[0],E=0;E<m.properties.length;E++){var S=m.properties[E],D=y[S.name];D===void 0&&(D=y[dn(S.name)]),D!==void 0&&this.cssRule(S.name,D)}else g.length===2&&this.cssRule(g[0],g[1]);return this},y1.style=y1.css,y1.cssRule=function(m,g){var y=this.parse(m,g);if(y){var E=this.length-1;this[E].properties.push(y),this[E].properties[y.name]=y,y.name.match(/pie-(\d+)-background-size/)&&y.value&&(this._private.hasPie=!0),y.mapped&&this[E].mappedProperties.push(y);var S=!this[E].selector;S&&(this._private.coreStyle[y.name]=y)}return this},y1.append=function(m){return pe(m)?m.appendToStyle(this):Me(m)?this.appendFromJson(m):xe(m)&&this.appendFromString(m),this},m1.fromJson=function(m,g){var y=new m1(m);return y.fromJson(g),y},m1.fromString=function(m,g){return new m1(m).fromString(g)},[w1,T8,EL,B2,U9,TL,Vf,K9].forEach(function(m){Oe(y1,m)}),m1.types=y1.types,m1.properties=y1.properties,m1.propertyGroups=y1.propertyGroups,m1.propertyGroupNames=y1.propertyGroupNames,m1.propertyGroupKeys=y1.propertyGroupKeys;var tJ={style:function(g){if(g){var y=this.setStyle(g);y.update()}return this._private.style},setStyle:function(g){var y=this._private;return pe(g)?y.style=g.generateStyle(this):Me(g)?y.style=m1.fromJson(this,g):xe(g)?y.style=m1.fromString(this,g):y.style=m1(this),y.style},updateStyle:function(){this.mutableElements().updateStyle()}},nJ="single",y3={autolock:function(g){if(g!==void 0)this._private.autolock=!!g;else return this._private.autolock;return this},autoungrabify:function(g){if(g!==void 0)this._private.autoungrabify=!!g;else return this._private.autoungrabify;return this},autounselectify:function(g){if(g!==void 0)this._private.autounselectify=!!g;else return this._private.autounselectify;return this},selectionType:function(g){var y=this._private;if(y.selectionType==null&&(y.selectionType=nJ),g!==void 0)(g==="additive"||g==="single")&&(y.selectionType=g);else return y.selectionType;return this},panningEnabled:function(g){if(g!==void 0)this._private.panningEnabled=!!g;else return this._private.panningEnabled;return this},userPanningEnabled:function(g){if(g!==void 0)this._private.userPanningEnabled=!!g;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(g){if(g!==void 0)this._private.zoomingEnabled=!!g;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(g){if(g!==void 0)this._private.userZoomingEnabled=!!g;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(g){if(g!==void 0)this._private.boxSelectionEnabled=!!g;else return this._private.boxSelectionEnabled;return this},pan:function(){var g=arguments,y=this._private.pan,E,S,D,I,R;switch(g.length){case 0:return y;case 1:if(xe(g[0]))return E=g[0],y[E];if(fe(g[0])){if(!this._private.panningEnabled)return this;D=g[0],I=D.x,R=D.y,re(I)&&(y.x=I),re(R)&&(y.y=R),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;E=g[0],S=g[1],(E==="x"||E==="y")&&re(S)&&(y[E]=S),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(g,y){var E=arguments,S=this._private.pan,D,I,R,$,C;if(!this._private.panningEnabled)return this;switch(E.length){case 1:fe(g)&&(R=E[0],$=R.x,C=R.y,re($)&&(S.x+=$),re(C)&&(S.y+=C),this.emit("pan viewport"));break;case 2:D=g,I=y,(D==="x"||D==="y")&&re(I)&&(S[D]+=I),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(g,y){var E=this.getFitViewport(g,y);if(E){var S=this._private;S.zoom=E.zoom,S.pan=E.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(g,y){if(re(g)&&y===void 0&&(y=g,g=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var E;if(xe(g)){var S=g;g=this.$(S)}else if(bt(g)){var D=g;E={x1:D.x1,y1:D.y1,x2:D.x2,y2:D.y2},E.w=E.x2-E.x1,E.h=E.y2-E.y1}else he(g)||(g=this.mutableElements());if(!(he(g)&&g.empty())){E=E||g.boundingBox();var I=this.width(),R=this.height(),$;if(y=re(y)?y:0,!isNaN(I)&&!isNaN(R)&&I>0&&R>0&&!isNaN(E.w)&&!isNaN(E.h)&&E.w>0&&E.h>0){$=Math.min((I-2*y)/E.w,(R-2*y)/E.h),$=$>this._private.maxZoom?this._private.maxZoom:$,$=$<this._private.minZoom?this._private.minZoom:$;var C={x:(I-$*(E.x1+E.x2))/2,y:(R-$*(E.y1+E.y2))/2};return{zoom:$,pan:C}}}}},zoomRange:function(g,y){var E=this._private;if(y==null){var S=g;g=S.min,y=S.max}return re(g)&&re(y)&&g<=y?(E.minZoom=g,E.maxZoom=y):re(g)&&y===void 0&&g<=E.maxZoom?E.minZoom=g:re(y)&&g===void 0&&y>=E.minZoom&&(E.maxZoom=y),this},minZoom:function(g){return g===void 0?this._private.minZoom:this.zoomRange({min:g})},maxZoom:function(g){return g===void 0?this._private.maxZoom:this.zoomRange({max:g})},getZoomedViewport:function(g){var y=this._private,E=y.pan,S=y.zoom,D,I,R=!1;if(y.zoomingEnabled||(R=!0),re(g)?I=g:fe(g)&&(I=g.level,g.position!=null?D=b9(g.position,S,E):g.renderedPosition!=null&&(D=g.renderedPosition),D!=null&&!y.panningEnabled&&(R=!0)),I=I>y.maxZoom?y.maxZoom:I,I=I<y.minZoom?y.minZoom:I,R||!re(I)||I===S||D!=null&&(!re(D.x)||!re(D.y)))return null;if(D!=null){var $=E,C=S,G=I,U={x:-G/C*(D.x-$.x)+D.x,y:-G/C*(D.y-$.y)+D.y};return{zoomed:!0,panned:!0,zoom:G,pan:U}}else return{zoomed:!0,panned:!1,zoom:I,pan:E}},zoom:function(g){if(g===void 0)return this._private.zoom;var y=this.getZoomedViewport(g),E=this._private;return y==null||!y.zoomed?this:(E.zoom=y.zoom,y.panned&&(E.pan.x=y.pan.x,E.pan.y=y.pan.y),this.emit("zoom"+(y.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(g){var y=this._private,E=!0,S=!0,D=[],I=!1,R=!1;if(!g)return this;if(re(g.zoom)||(E=!1),fe(g.pan)||(S=!1),!E&&!S)return this;if(E){var $=g.zoom;$<y.minZoom||$>y.maxZoom||!y.zoomingEnabled?I=!0:(y.zoom=$,D.push("zoom"))}if(S&&(!I||!g.cancelOnFailedZoom)&&y.panningEnabled){var C=g.pan;re(C.x)&&(y.pan.x=C.x,R=!1),re(C.y)&&(y.pan.y=C.y,R=!1),R||D.push("pan")}return D.length>0&&(D.push("viewport"),this.emit(D.join(" ")),this.notify("viewport")),this},center:function(g){var y=this.getCenterPan(g);return y&&(this._private.pan=y,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(g,y){if(this._private.panningEnabled){if(xe(g)){var E=g;g=this.mutableElements().filter(E)}else he(g)||(g=this.mutableElements());if(g.length!==0){var S=g.boundingBox(),D=this.width(),I=this.height();y=y===void 0?this._private.zoom:y;var R={x:(D-y*(S.x1+S.x2))/2,y:(I-y*(S.y1+S.y2))/2};return R}}},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 g=this._private,y=g.container;return g.sizeCache=g.sizeCache||(y?function(){var E=j.getComputedStyle(y),S=function(I){return parseFloat(E.getPropertyValue(I))};return{width:y.clientWidth-S("padding-left")-S("padding-right"),height:y.clientHeight-S("padding-top")-S("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var g=this._private.pan,y=this._private.zoom,E=this.renderedExtent(),S={x1:(E.x1-g.x)/y,x2:(E.x2-g.x)/y,y1:(E.y1-g.y)/y,y2:(E.y2-g.y)/y};return S.w=S.x2-S.x1,S.h=S.y2-S.y1,S},renderedExtent:function(){var g=this.width(),y=this.height();return{x1:0,y1:0,x2:g,y2:y,w:g,h:y}},multiClickDebounceTime:function(g){if(g)this._private.multiClickDebounceTime=g;else return this._private.multiClickDebounceTime;return this}};y3.centre=y3.center,y3.autolockNodes=y3.autolock,y3.autoungrabifyNodes=y3.autoungrabify;var _8={data:Pc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Pc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Pc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Pc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};_8.attr=_8.data,_8.removeAttr=_8.removeData;var C8=function(g){var y=this;g=Oe({},g);var E=g.container;E&&!ke(E)&&ke(E[0])&&(E=E[0]);var S=E?E._cyreg:null;S=S||{},S&&S.cy&&(S.cy.destroy(),S={});var D=S.readies=S.readies||[];E&&(E._cyreg=S),S.cy=y;var I=j!==void 0&&E!==void 0&&!g.headless,R=g;R.layout=Oe({name:I?"grid":"null"},R.layout),R.renderer=Oe({name:I?"canvas":"null"},R.renderer);var $=function(se,oe,Ce){return oe!==void 0?oe:Ce!==void 0?Ce:se},C=this._private={container:E,ready:!1,options:R,elements:new qf(this),listeners:[],aniEles:new qf(this),data:R.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:$(!0,R.zoomingEnabled),userZoomingEnabled:$(!0,R.userZoomingEnabled),panningEnabled:$(!0,R.panningEnabled),userPanningEnabled:$(!0,R.userPanningEnabled),boxSelectionEnabled:$(!0,R.boxSelectionEnabled),autolock:$(!1,R.autolock,R.autolockNodes),autoungrabify:$(!1,R.autoungrabify,R.autoungrabifyNodes),autounselectify:$(!1,R.autounselectify),styleEnabled:R.styleEnabled===void 0?I:R.styleEnabled,zoom:re(R.zoom)?R.zoom:1,pan:{x:fe(R.pan)&&re(R.pan.x)?R.pan.x:0,y:fe(R.pan)&&re(R.pan.y)?R.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:$(250,R.multiClickDebounceTime)};this.createEmitter(),this.selectionType(R.selectionType),this.zoomRange({min:R.minZoom,max:R.maxZoom});var G=function(se,oe){var Ce=se.some(St);if(Ce)return H5.all(se).then(oe);oe(se)};C.styleEnabled&&y.setStyle([]);var U=Oe({},R,R.renderer);y.initRenderer(U);var J=function(se,oe,Ce){y.notifications(!1);var ve=y.mutableElements();ve.length>0&&ve.remove(),se!=null&&(fe(se)||Me(se))&&y.add(se),y.one("layoutready",function(Le){y.notifications(!0),y.emit(Le),y.one("load",oe),y.emitAndNotify("load")}).one("layoutstop",function(){y.one("done",Ce),y.emit("done")});var Ae=Oe({},y._private.options.layout);Ae.eles=y.elements(),y.layout(Ae).run()};G([R.style,R.elements],function(te){var se=te[0],oe=te[1];C.styleEnabled&&y.style().append(se),J(oe,function(){y.startAnimationLoop(),C.ready=!0,Ee(R.ready)&&y.on("ready",R.ready);for(var Ce=0;Ce<D.length;Ce++){var ve=D[Ce];y.on("ready",ve)}S&&(S.readies=[]),y.emit("ready")},R.done)})},W9=C8.prototype;Oe(W9,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(g){return this.isReady()?this.emitter().emit("ready",[],g):this.on("ready",g),this},destroy:function(){var g=this;if(!g.destroyed())return g.stopAnimationLoop(),g.destroyRenderer(),this.emit("destroy"),g._private.destroyed=!0,g},hasElementWithId:function(g){return this._private.elements.hasElementWithId(g)},getElementById:function(g){return this._private.elements.getElementById(g)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(g){return this._private.elements.merge(g),this},removeFromPool:function(g){return this._private.elements.unmerge(g),this},container:function(){return this._private.container||null},mount:function(g){if(g!=null){var y=this,E=y._private,S=E.options;return!ke(g)&&ke(g[0])&&(g=g[0]),y.stopAnimationLoop(),y.destroyRenderer(),E.container=g,E.styleEnabled=!0,y.invalidateSize(),y.initRenderer(Oe({},S,S.renderer,{name:S.renderer.name==="null"?"canvas":S.renderer.name})),y.startAnimationLoop(),y.style(S.style),y.emit("mount"),y}},unmount:function(){var g=this;return g.stopAnimationLoop(),g.destroyRenderer(),g.initRenderer({name:"null"}),g.emit("unmount"),g},options:function(){return O2(this._private.options)},json:function(g){var y=this,E=y._private,S=y.mutableElements(),D=function(Be){return y.getElementById(Be.id())};if(fe(g)){if(y.startBatch(),g.elements){var I={},R=function(Be,Xe){for(var Ue=[],Fe=[],et=0;et<Be.length;et++){var ze=Be[et];if(!ze.data.id){Jo("cy.json() cannot handle elements without an ID attribute");continue}var ut=""+ze.data.id,ht=y.getElementById(ut);I[ut]=!0,ht.length!==0?Fe.push({ele:ht,json:ze}):(Xe&&(ze.group=Xe),Ue.push(ze))}y.add(Ue);for(var tt=0;tt<Fe.length;tt++){var Dt=Fe[tt],ft=Dt.ele,ln=Dt.json;ft.json(ln)}};if(Me(g.elements))R(g.elements);else for(var $=["nodes","edges"],C=0;C<$.length;C++){var G=$[C],U=g.elements[G];Me(U)&&R(U,G)}var J=y.collection();S.filter(function(Le){return!I[Le.id()]}).forEach(function(Le){Le.isParent()?J.merge(Le):Le.remove()}),J.forEach(function(Le){return Le.children().move({parent:null})}),J.forEach(function(Le){return D(Le).remove()})}g.style&&y.style(g.style),g.zoom!=null&&g.zoom!==E.zoom&&y.zoom(g.zoom),g.pan&&(g.pan.x!==E.pan.x||g.pan.y!==E.pan.y)&&y.pan(g.pan),g.data&&y.data(g.data);for(var te=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],se=0;se<te.length;se++){var oe=te[se];g[oe]!=null&&y[oe](g[oe])}return y.endBatch(),this}else{var Ce=!!g,ve={};Ce?ve.elements=this.elements().map(function(Le){return Le.json()}):(ve.elements={},S.forEach(function(Le){var Be=Le.group();ve.elements[Be]||(ve.elements[Be]=[]),ve.elements[Be].push(Le.json())})),this._private.styleEnabled&&(ve.style=y.style().json()),ve.data=O2(y.data());var Ae=E.options;return ve.zoomingEnabled=E.zoomingEnabled,ve.userZoomingEnabled=E.userZoomingEnabled,ve.zoom=E.zoom,ve.minZoom=E.minZoom,ve.maxZoom=E.maxZoom,ve.panningEnabled=E.panningEnabled,ve.userPanningEnabled=E.userPanningEnabled,ve.pan=O2(E.pan),ve.boxSelectionEnabled=E.boxSelectionEnabled,ve.renderer=O2(Ae.renderer),ve.hideEdgesOnViewport=Ae.hideEdgesOnViewport,ve.textureOnViewport=Ae.textureOnViewport,ve.wheelSensitivity=Ae.wheelSensitivity,ve.motionBlur=Ae.motionBlur,ve.multiClickDebounceTime=Ae.multiClickDebounceTime,ve}}}),W9.$id=W9.getElementById,[VZ,XZ,nF,kL,q9,ZZ,xL,V9,tJ,y3,_8].forEach(function(m){Oe(W9,m)});var rJ={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}},J5=function(g){return g.scratch("breadthfirst")},_L=function(g,y){return g.scratch("breadthfirst",y)};function rF(m){this.options=Oe({},rJ,m)}rF.prototype.run=function(){var m=this.options,g=m,y=m.cy,E=g.eles,S=E.nodes().filter(function(Li){return!Li.isParent()}),D=E,I=g.directed,R=g.maximal||g.maximalAdjustments>0,$=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()}),C;if(he(g.roots))C=g.roots;else if(Me(g.roots)){for(var G=[],U=0;U<g.roots.length;U++){var J=g.roots[U],te=y.getElementById(J);G.push(te)}C=y.collection(G)}else if(xe(g.roots))C=y.$(g.roots);else if(I)C=S.roots();else{var se=E.components();C=y.collection();for(var oe=function(vi){var Ts=se[vi],Wi=Ts.maxDegree(!1),Ii=Ts.filter(function(es){return es.degree(!1)===Wi});C=C.add(Ii)},Ce=0;Ce<se.length;Ce++)oe(Ce)}var ve=[],Ae={},Le=function(vi,Ts){ve[Ts]==null&&(ve[Ts]=[]);var Wi=ve[Ts].length;ve[Ts].push(vi),_L(vi,{index:Wi,depth:Ts})},Be=function(vi,Ts){var Wi=J5(vi),Ii=Wi.depth,es=Wi.index;ve[Ii][es]=null,Le(vi,Ts)};D.bfs({roots:C,directed:g.directed,visit:function(vi,Ts,Wi,Ii,es){var to=vi[0],sa=to.id();Le(to,es),Ae[sa]=!0}});for(var Xe=[],Ue=0;Ue<S.length;Ue++){var Fe=S[Ue];Ae[Fe.id()]||Xe.push(Fe)}var et=function(vi){for(var Ts=ve[vi],Wi=0;Wi<Ts.length;Wi++){var Ii=Ts[Wi];if(Ii==null){Ts.splice(Wi,1),Wi--;continue}_L(Ii,{depth:vi,index:Wi})}},ze=function(){for(var vi=0;vi<ve.length;vi++)et(vi)},ut=function(vi,Ts){for(var Wi=J5(vi),Ii=vi.incomers().filter(function(Ye){return Ye.isNode()&&E.has(Ye)}),es=-1,to=vi.id(),sa=0;sa<Ii.length;sa++){var Ws=Ii[sa],Cr=J5(Ws);es=Math.max(es,Cr.depth)}return Wi.depth<=es?Ts[to]?null:(Be(vi,es+1),Ts[to]=!0,!0):!1};if(I&&R){var ht=[],tt={},Dt=function(vi){return ht.push(vi)},ft=function(){return ht.shift()};for(S.forEach(function(Li){return ht.push(Li)});ht.length>0;){var ln=ft(),Rt=ut(ln,tt);if(Rt)ln.outgoers().filter(function(Li){return Li.isNode()&&E.has(Li)}).forEach(Dt);else if(Rt===null){Jo("Detected double maximal shift for node `"+ln.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}ze();var Ht=0;if(g.avoidOverlap)for(var wn=0;wn<S.length;wn++){var Sn=S[wn],Kn=Sn.layoutDimensions(g),xn=Kn.w,Un=Kn.h;Ht=Math.max(Ht,xn,Un)}var ar={},xr=function(vi){if(ar[vi.id()])return ar[vi.id()];for(var Ts=J5(vi).depth,Wi=vi.neighborhood(),Ii=0,es=0,to=0;to<Wi.length;to++){var sa=Wi[to];if(!(sa.isEdge()||sa.isParent()||!S.has(sa))){var Ws=J5(sa);if(Ws!=null){var Cr=Ws.index,Ye=Ws.depth;if(!(Cr==null||Ye==null)){var Pn=ve[Ye].length;Ye<Ts&&(Ii+=Cr/Pn,es++)}}}}return es=Math.max(1,es),Ii=Ii/es,es===0&&(Ii=0),ar[vi.id()]=Ii,Ii},fr=function(vi,Ts){var Wi=xr(vi),Ii=xr(Ts),es=Wi-Ii;return es===0?Ve(vi.id(),Ts.id()):es};g.depthSort!==void 0&&(fr=g.depthSort);for(var rr=0;rr<ve.length;rr++)ve[rr].sort(fr),et(rr);for(var gn=[],mr=0;mr<Xe.length;mr++)gn.push(Xe[mr]);ve.unshift(gn),ze();for(var pr=0,ri=0;ri<ve.length;ri++)pr=Math.max(ve[ri].length,pr);var Ti={x:$.x1+$.w/2,y:$.x1+$.h/2},ia=ve.reduce(function(Li,vi){return Math.max(Li,vi.length)},0),Ra=function(vi){var Ts=J5(vi),Wi=Ts.depth,Ii=Ts.index,es=ve[Wi].length,to=Math.max($.w/((g.grid?ia:es)+1),Ht),sa=Math.max($.h/(ve.length+1),Ht),Ws=Math.min($.w/2/ve.length,$.h/2/ve.length);if(Ws=Math.max(Ws,Ht),g.circle){var Ye=Ws*Wi+Ws-(ve.length>0&&ve[0].length<=3?Ws/2:0),Pn=2*Math.PI/ve[Wi].length*Ii;return Wi===0&&ve[0].length===1&&(Ye=1),{x:Ti.x+Ye*Math.cos(Pn),y:Ti.y+Ye*Math.sin(Pn)}}else{var Cr={x:Ti.x+(Ii+1-(es+1)/2)*to,y:(Wi+1)*sa};return Cr}};return E.nodes().layoutPositions(this,g,Ra),this};var iJ={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(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function Y9(m){this.options=Oe({},iJ,m)}Y9.prototype.run=function(){var m=this.options,g=m,y=m.cy,E=g.eles,S=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,D=E.nodes().not(":parent");g.sort&&(D=D.sort(g.sort));for(var I=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()}),R={x:I.x1+I.w/2,y:I.y1+I.h/2},$=g.sweep===void 0?2*Math.PI-2*Math.PI/D.length:g.sweep,C=$/Math.max(1,D.length-1),G,U=0,J=0;J<D.length;J++){var te=D[J],se=te.layoutDimensions(g),oe=se.w,Ce=se.h;U=Math.max(U,oe,Ce)}if(re(g.radius)?G=g.radius:D.length<=1?G=0:G=Math.min(I.h,I.w)/2-U,D.length>1&&g.avoidOverlap){U*=1.75;var ve=Math.cos(C)-Math.cos(0),Ae=Math.sin(C)-Math.sin(0),Le=Math.sqrt(U*U/(ve*ve+Ae*Ae));G=Math.max(Le,G)}var Be=function(Ue,Fe){var et=g.startAngle+Fe*C*(S?1:-1),ze=G*Math.cos(et),ut=G*Math.sin(et),ht={x:R.x+ze,y:R.y+ut};return ht};return E.nodes().layoutPositions(this,g,Be),this};var sJ={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(g){return g.degree()},levelWidth:function(g){return g.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function iF(m){this.options=Oe({},sJ,m)}iF.prototype.run=function(){for(var m=this.options,g=m,y=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,E=m.cy,S=g.eles,D=S.nodes().not(":parent"),I=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:E.width(),h:E.height()}),R={x:I.x1+I.w/2,y:I.y1+I.h/2},$=[],C=0,G=0;G<D.length;G++){var U=D[G],J=void 0;J=g.concentric(U),$.push({value:J,node:U}),U._private.scratch.concentric=J}D.updateStyle();for(var te=0;te<D.length;te++){var se=D[te],oe=se.layoutDimensions(g);C=Math.max(C,oe.w,oe.h)}$.sort(function(Li,vi){return vi.value-Li.value});for(var Ce=g.levelWidth(D),ve=[[]],Ae=ve[0],Le=0;Le<$.length;Le++){var Be=$[Le];if(Ae.length>0){var Xe=Math.abs(Ae[0].value-Be.value);Xe>=Ce&&(Ae=[],ve.push(Ae))}Ae.push(Be)}var Ue=C+g.minNodeSpacing;if(!g.avoidOverlap){var Fe=ve.length>0&&ve[0].length>1,et=Math.min(I.w,I.h)/2-Ue,ze=et/(ve.length+Fe?1:0);Ue=Math.min(Ue,ze)}for(var ut=0,ht=0;ht<ve.length;ht++){var tt=ve[ht],Dt=g.sweep===void 0?2*Math.PI-2*Math.PI/tt.length:g.sweep,ft=tt.dTheta=Dt/Math.max(1,tt.length-1);if(tt.length>1&&g.avoidOverlap){var ln=Math.cos(ft)-Math.cos(0),Rt=Math.sin(ft)-Math.sin(0),Ht=Math.sqrt(Ue*Ue/(ln*ln+Rt*Rt));ut=Math.max(Ht,ut)}tt.r=ut,ut+=Ue}if(g.equidistant){for(var wn=0,Sn=0,Kn=0;Kn<ve.length;Kn++){var xn=ve[Kn],Un=xn.r-Sn;wn=Math.max(wn,Un)}Sn=0;for(var ar=0;ar<ve.length;ar++){var xr=ve[ar];ar===0&&(Sn=xr.r),xr.r=Sn,Sn+=wn}}for(var fr={},rr=0;rr<ve.length;rr++)for(var gn=ve[rr],mr=gn.dTheta,pr=gn.r,ri=0;ri<gn.length;ri++){var Ti=gn[ri],ia=g.startAngle+(y?1:-1)*mr*ri,Ra={x:R.x+pr*Math.cos(ia),y:R.y+pr*Math.sin(ia)};fr[Ti.node.id()]=Ra}return S.nodes().layoutPositions(this,g,function(Li){var vi=Li.id();return fr[vi]}),this};var CL,aJ={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(g,y){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(g){return 2048},nodeOverlap:4,idealEdgeLength:function(g){return 32},edgeElasticity:function(g){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function X9(m){this.options=Oe({},aJ,m),this.options.layout=this}X9.prototype.run=function(){var m=this.options,g=m.cy,y=this;y.stopped=!1,(m.animate===!0||m.animate===!1)&&y.emit({type:"layoutstart",layout:y}),m.debug===!0?CL=!0:CL=!1;var E=oJ(g,y,m);CL&&lJ(E),m.randomize&&hJ(E);var S=uc(),D=function(){fJ(E,g,m),m.fit===!0&&g.fit(m.padding)},I=function(J){return!(y.stopped||J>=m.numIter||(dJ(E,m),E.temperature=E.temperature*m.coolingFactor,E.temperature<m.minTemp))},R=function(){if(m.animate===!0||m.animate===!1)D(),y.one("layoutstop",m.stop),y.emit({type:"layoutstop",layout:y});else{var J=m.eles.nodes(),te=sF(E,m,J);J.layoutPositions(y,m,te)}},$=0,C=!0;if(m.animate===!0){var G=function U(){for(var J=0;C&&J<m.refresh;)C=I($),$++,J++;if(!C)oF(E,m),R();else{var te=uc();te-S>=m.animationThreshold&&D(),Ei(U)}};G()}else{for(;C;)C=I($),$++;oF(E,m),R()}return this},X9.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},X9.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var oJ=function(g,y,E){for(var S=E.eles.edges(),D=E.eles.nodes(),I={isCompound:g.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:D.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:S.size(),temperature:E.initialTemp,clientWidth:g.width(),clientHeight:g.width(),boundingBox:jd(E.boundingBox?E.boundingBox:{x1:0,y1:0,w:g.width(),h:g.height()})},R=E.eles.components(),$={},C=0;C<R.length;C++)for(var G=R[C],U=0;U<G.length;U++){var J=G[U];$[J.id()]=C}for(var C=0;C<I.nodeSize;C++){var te=D[C],se=te.layoutDimensions(E),oe={};oe.isLocked=te.locked(),oe.id=te.data("id"),oe.parentId=te.data("parent"),oe.cmptId=$[te.id()],oe.children=[],oe.positionX=te.position("x"),oe.positionY=te.position("y"),oe.offsetX=0,oe.offsetY=0,oe.height=se.w,oe.width=se.h,oe.maxX=oe.positionX+oe.width/2,oe.minX=oe.positionX-oe.width/2,oe.maxY=oe.positionY+oe.height/2,oe.minY=oe.positionY-oe.height/2,oe.padLeft=parseFloat(te.style("padding")),oe.padRight=parseFloat(te.style("padding")),oe.padTop=parseFloat(te.style("padding")),oe.padBottom=parseFloat(te.style("padding")),oe.nodeRepulsion=Ee(E.nodeRepulsion)?E.nodeRepulsion(te):E.nodeRepulsion,I.layoutNodes.push(oe),I.idToIndex[oe.id]=C}for(var Ce=[],ve=0,Ae=-1,Le=[],C=0;C<I.nodeSize;C++){var te=I.layoutNodes[C],Be=te.parentId;Be!=null?I.layoutNodes[I.idToIndex[Be]].children.push(te.id):(Ce[++Ae]=te.id,Le.push(te.id))}for(I.graphSet.push(Le);ve<=Ae;){var Xe=Ce[ve++],Ue=I.idToIndex[Xe],J=I.layoutNodes[Ue],Fe=J.children;if(Fe.length>0){I.graphSet.push(Fe);for(var C=0;C<Fe.length;C++)Ce[++Ae]=Fe[C]}}for(var C=0;C<I.graphSet.length;C++)for(var et=I.graphSet[C],U=0;U<et.length;U++){var ze=I.idToIndex[et[U]];I.indexToGraph[ze]=C}for(var C=0;C<I.edgeSize;C++){var ut=S[C],ht={};ht.id=ut.data("id"),ht.sourceId=ut.data("source"),ht.targetId=ut.data("target");var tt=Ee(E.idealEdgeLength)?E.idealEdgeLength(ut):E.idealEdgeLength,Dt=Ee(E.edgeElasticity)?E.edgeElasticity(ut):E.edgeElasticity,ft=I.idToIndex[ht.sourceId],ln=I.idToIndex[ht.targetId],Rt=I.indexToGraph[ft],Ht=I.indexToGraph[ln];if(Rt!=Ht){for(var wn=cJ(ht.sourceId,ht.targetId,I),Sn=I.graphSet[wn],Kn=0,oe=I.layoutNodes[ft];Sn.indexOf(oe.id)===-1;)oe=I.layoutNodes[I.idToIndex[oe.parentId]],Kn++;for(oe=I.layoutNodes[ln];Sn.indexOf(oe.id)===-1;)oe=I.layoutNodes[I.idToIndex[oe.parentId]],Kn++;tt*=Kn*E.nestingFactor}ht.idealLength=tt,ht.elasticity=Dt,I.layoutEdges.push(ht)}return I},cJ=function(g,y,E){var S=uJ(g,y,0,E);return 2>S.count?0:S.graph},uJ=function m(g,y,E,S){var D=S.graphSet[E];if(-1<D.indexOf(g)&&-1<D.indexOf(y))return{count:2,graph:E};for(var I=0,R=0;R<D.length;R++){var $=D[R],C=S.idToIndex[$],G=S.layoutNodes[C].children;if(G.length!==0){var U=S.indexToGraph[S.idToIndex[G[0]]],J=m(g,y,U,S);if(J.count!==0)if(J.count===1){if(I++,I===2)break}else return J}}return{count:I,graph:E}},lJ,hJ=function(g,y){for(var E=g.clientWidth,S=g.clientHeight,D=0;D<g.nodeSize;D++){var I=g.layoutNodes[D];I.children.length===0&&!I.isLocked&&(I.positionX=Math.random()*E,I.positionY=Math.random()*S)}},sF=function(g,y,E){var S=g.boundingBox,D={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return y.boundingBox&&(E.forEach(function(I){var R=g.layoutNodes[g.idToIndex[I.data("id")]];D.x1=Math.min(D.x1,R.positionX),D.x2=Math.max(D.x2,R.positionX),D.y1=Math.min(D.y1,R.positionY),D.y2=Math.max(D.y2,R.positionY)}),D.w=D.x2-D.x1,D.h=D.y2-D.y1),function(I,R){var $=g.layoutNodes[g.idToIndex[I.data("id")]];if(y.boundingBox){var C=($.positionX-D.x1)/D.w,G=($.positionY-D.y1)/D.h;return{x:S.x1+C*S.w,y:S.y1+G*S.h}}else return{x:$.positionX,y:$.positionY}}},fJ=function(g,y,E){var S=E.layout,D=E.eles.nodes(),I=sF(g,E,D);D.positions(I),g.ready!==!0&&(g.ready=!0,S.one("layoutready",E.ready),S.emit({type:"layoutready",layout:this}))},dJ=function(g,y,E){gJ(g,y),vJ(g),wJ(g,y),mJ(g),yJ(g)},gJ=function(g,y){for(var E=0;E<g.graphSet.length;E++)for(var S=g.graphSet[E],D=S.length,I=0;I<D;I++)for(var R=g.layoutNodes[g.idToIndex[S[I]]],$=I+1;$<D;$++){var C=g.layoutNodes[g.idToIndex[S[$]]];pJ(R,C,g,y)}},aF=function(g){return-g+2*g*Math.random()},pJ=function(g,y,E,S){var D=g.cmptId,I=y.cmptId;if(!(D!==I&&!E.isCompound)){var R=y.positionX-g.positionX,$=y.positionY-g.positionY,C=1;R===0&&$===0&&(R=aF(C),$=aF(C));var G=bJ(g,y,R,$);if(G>0)var U=S.nodeOverlap*G,J=Math.sqrt(R*R+$*$),te=U*R/J,se=U*$/J;else var oe=Q9(g,R,$),Ce=Q9(y,-1*R,-1*$),ve=Ce.x-oe.x,Ae=Ce.y-oe.y,Le=ve*ve+Ae*Ae,J=Math.sqrt(Le),U=(g.nodeRepulsion+y.nodeRepulsion)/Le,te=U*ve/J,se=U*Ae/J;g.isLocked||(g.offsetX-=te,g.offsetY-=se),y.isLocked||(y.offsetX+=te,y.offsetY+=se)}},bJ=function(g,y,E,S){if(E>0)var D=g.maxX-y.minX;else var D=y.maxX-g.minX;if(S>0)var I=g.maxY-y.minY;else var I=y.maxY-g.minY;return D>=0&&I>=0?Math.sqrt(D*D+I*I):0},Q9=function(g,y,E){var S=g.positionX,D=g.positionY,I=g.height||1,R=g.width||1,$=E/y,C=I/R,G={};return y===0&&0<E||y===0&&0>E?(G.x=S,G.y=D+I/2,G):0<y&&-1*C<=$&&$<=C?(G.x=S+R/2,G.y=D+R*E/2/y,G):0>y&&-1*C<=$&&$<=C?(G.x=S-R/2,G.y=D-R*E/2/y,G):0<E&&($<=-1*C||$>=C)?(G.x=S+I*y/2/E,G.y=D+I/2,G):(0>E&&($<=-1*C||$>=C)&&(G.x=S-I*y/2/E,G.y=D-I/2),G)},vJ=function(g,y){for(var E=0;E<g.edgeSize;E++){var S=g.layoutEdges[E],D=g.idToIndex[S.sourceId],I=g.layoutNodes[D],R=g.idToIndex[S.targetId],$=g.layoutNodes[R],C=$.positionX-I.positionX,G=$.positionY-I.positionY;if(!(C===0&&G===0)){var U=Q9(I,C,G),J=Q9($,-1*C,-1*G),te=J.x-U.x,se=J.y-U.y,oe=Math.sqrt(te*te+se*se),Ce=Math.pow(S.idealLength-oe,2)/S.elasticity;if(oe!==0)var ve=Ce*te/oe,Ae=Ce*se/oe;else var ve=0,Ae=0;I.isLocked||(I.offsetX+=ve,I.offsetY+=Ae),$.isLocked||($.offsetX-=ve,$.offsetY-=Ae)}}},wJ=function(g,y){if(y.gravity!==0)for(var E=1,S=0;S<g.graphSet.length;S++){var D=g.graphSet[S],I=D.length;if(S===0)var R=g.clientHeight/2,$=g.clientWidth/2;else var C=g.layoutNodes[g.idToIndex[D[0]]],G=g.layoutNodes[g.idToIndex[C.parentId]],R=G.positionX,$=G.positionY;for(var U=0;U<I;U++){var J=g.layoutNodes[g.idToIndex[D[U]]];if(!J.isLocked){var te=R-J.positionX,se=$-J.positionY,oe=Math.sqrt(te*te+se*se);if(oe>E){var Ce=y.gravity*te/oe,ve=y.gravity*se/oe;J.offsetX+=Ce,J.offsetY+=ve}}}}},mJ=function(g,y){var E=[],S=0,D=-1;for(E.push.apply(E,g.graphSet[0]),D+=g.graphSet[0].length;S<=D;){var I=E[S++],R=g.idToIndex[I],$=g.layoutNodes[R],C=$.children;if(0<C.length&&!$.isLocked){for(var G=$.offsetX,U=$.offsetY,J=0;J<C.length;J++){var te=g.layoutNodes[g.idToIndex[C[J]]];te.offsetX+=G,te.offsetY+=U,E[++D]=C[J]}$.offsetX=0,$.offsetY=0}}},yJ=function(g,y){for(var E=0;E<g.nodeSize;E++){var S=g.layoutNodes[E];0<S.children.length&&(S.maxX=void 0,S.minX=void 0,S.maxY=void 0,S.minY=void 0)}for(var E=0;E<g.nodeSize;E++){var S=g.layoutNodes[E];if(!(0<S.children.length||S.isLocked)){var D=kJ(S.offsetX,S.offsetY,g.temperature);S.positionX+=D.x,S.positionY+=D.y,S.offsetX=0,S.offsetY=0,S.minX=S.positionX-S.width,S.maxX=S.positionX+S.width,S.minY=S.positionY-S.height,S.maxY=S.positionY+S.height,xJ(S,g)}}for(var E=0;E<g.nodeSize;E++){var S=g.layoutNodes[E];0<S.children.length&&!S.isLocked&&(S.positionX=(S.maxX+S.minX)/2,S.positionY=(S.maxY+S.minY)/2,S.width=S.maxX-S.minX,S.height=S.maxY-S.minY)}},kJ=function(g,y,E){var S=Math.sqrt(g*g+y*y);if(S>E)var D={x:E*g/S,y:E*y/S};else var D={x:g,y};return D},xJ=function m(g,y){var E=g.parentId;if(E!=null){var S=y.layoutNodes[y.idToIndex[E]],D=!1;if((S.maxX==null||g.maxX+S.padRight>S.maxX)&&(S.maxX=g.maxX+S.padRight,D=!0),(S.minX==null||g.minX-S.padLeft<S.minX)&&(S.minX=g.minX-S.padLeft,D=!0),(S.maxY==null||g.maxY+S.padBottom>S.maxY)&&(S.maxY=g.maxY+S.padBottom,D=!0),(S.minY==null||g.minY-S.padTop<S.minY)&&(S.minY=g.minY-S.padTop,D=!0),D)return m(S,y)}},oF=function(g,y){for(var E=g.layoutNodes,S=[],D=0;D<E.length;D++){var I=E[D],R=I.cmptId,$=S[R]=S[R]||[];$.push(I)}for(var C=0,D=0;D<S.length;D++){var G=S[D];if(G){G.x1=1/0,G.x2=-1/0,G.y1=1/0,G.y2=-1/0;for(var U=0;U<G.length;U++){var J=G[U];G.x1=Math.min(G.x1,J.positionX-J.width/2),G.x2=Math.max(G.x2,J.positionX+J.width/2),G.y1=Math.min(G.y1,J.positionY-J.height/2),G.y2=Math.max(G.y2,J.positionY+J.height/2)}G.w=G.x2-G.x1,G.h=G.y2-G.y1,C+=G.w*G.h}}S.sort(function(Ae,Le){return Le.w*Le.h-Ae.w*Ae.h});for(var te=0,se=0,oe=0,Ce=0,ve=Math.sqrt(C)*g.clientWidth/g.clientHeight,D=0;D<S.length;D++){var G=S[D];if(G){for(var U=0;U<G.length;U++){var J=G[U];J.isLocked||(J.positionX+=te-G.x1,J.positionY+=se-G.y1)}te+=G.w+y.componentSpacing,oe+=G.w+y.componentSpacing,Ce=Math.max(Ce,G.h),oe>ve&&(se+=Ce+y.componentSpacing,te=0,oe=0,Ce=0)}}},EJ={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(g){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function cF(m){this.options=Oe({},EJ,m)}cF.prototype.run=function(){var m=this.options,g=m,y=m.cy,E=g.eles,S=E.nodes().not(":parent");g.sort&&(S=S.sort(g.sort));var D=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()});if(D.h===0||D.w===0)E.nodes().layoutPositions(this,g,function(ar){return{x:D.x1,y:D.y1}});else{var I=S.size(),R=Math.sqrt(I*D.h/D.w),$=Math.round(R),C=Math.round(D.w/D.h*R),G=function(xr){if(xr==null)return Math.min($,C);var fr=Math.min($,C);fr==$?$=xr:C=xr},U=function(xr){if(xr==null)return Math.max($,C);var fr=Math.max($,C);fr==$?$=xr:C=xr},J=g.rows,te=g.cols!=null?g.cols:g.columns;if(J!=null&&te!=null)$=J,C=te;else if(J!=null&&te==null)$=J,C=Math.ceil(I/$);else if(J==null&&te!=null)C=te,$=Math.ceil(I/C);else if(C*$>I){var se=G(),oe=U();(se-1)*oe>=I?G(se-1):(oe-1)*se>=I&&U(oe-1)}else for(;C*$<I;){var Ce=G(),ve=U();(ve+1)*Ce>=I?U(ve+1):G(Ce+1)}var Ae=D.w/C,Le=D.h/$;if(g.condense&&(Ae=0,Le=0),g.avoidOverlap)for(var Be=0;Be<S.length;Be++){var Xe=S[Be],Ue=Xe._private.position;(Ue.x==null||Ue.y==null)&&(Ue.x=0,Ue.y=0);var Fe=Xe.layoutDimensions(g),et=g.avoidOverlapPadding,ze=Fe.w+et,ut=Fe.h+et;Ae=Math.max(Ae,ze),Le=Math.max(Le,ut)}for(var ht={},tt=function(xr,fr){return!!ht["c-"+xr+"-"+fr]},Dt=function(xr,fr){ht["c-"+xr+"-"+fr]=!0},ft=0,ln=0,Rt=function(){ln++,ln>=C&&(ln=0,ft++)},Ht={},wn=0;wn<S.length;wn++){var Sn=S[wn],Kn=g.position(Sn);if(Kn&&(Kn.row!==void 0||Kn.col!==void 0)){var xn={row:Kn.row,col:Kn.col};if(xn.col===void 0)for(xn.col=0;tt(xn.row,xn.col);)xn.col++;else if(xn.row===void 0)for(xn.row=0;tt(xn.row,xn.col);)xn.row++;Ht[Sn.id()]=xn,Dt(xn.row,xn.col)}}var Un=function(xr,fr){var rr,gn;if(xr.locked()||xr.isParent())return!1;var mr=Ht[xr.id()];if(mr)rr=mr.col*Ae+Ae/2+D.x1,gn=mr.row*Le+Le/2+D.y1;else{for(;tt(ft,ln);)Rt();rr=ln*Ae+Ae/2+D.x1,gn=ft*Le+Le/2+D.y1,Dt(ft,ln),Rt()}return{x:rr,y:gn}};S.layoutPositions(this,g,Un)}return this};var TJ={ready:function(){},stop:function(){}};function SL(m){this.options=Oe({},TJ,m)}SL.prototype.run=function(){var m=this.options,g=m.eles,y=this;return m.cy,y.emit("layoutstart"),g.nodes().positions(function(){return{x:0,y:0}}),y.one("layoutready",m.ready),y.emit("layoutready"),y.one("layoutstop",m.stop),y.emit("layoutstop"),this},SL.prototype.stop=function(){return this};var _J={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function uF(m){this.options=Oe({},_J,m)}uF.prototype.run=function(){var m=this.options,g=m.eles,y=g.nodes(),E=Ee(m.positions);function S(D){if(m.positions==null)return qW(D.position());if(E)return m.positions(D);var I=m.positions[D._private.data.id];return I??null}return y.layoutPositions(this,m,function(D,I){var R=S(D);return D.locked()||R==null?!1:R}),this};var CJ={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function lF(m){this.options=Oe({},CJ,m)}lF.prototype.run=function(){var m=this.options,g=m.cy,y=m.eles,E=jd(m.boundingBox?m.boundingBox:{x1:0,y1:0,w:g.width(),h:g.height()}),S=function(I,R){return{x:E.x1+Math.round(Math.random()*E.w),y:E.y1+Math.round(Math.random()*E.h)}};return y.nodes().layoutPositions(this,m,S),this};var SJ=[{name:"breadthfirst",impl:rF},{name:"circle",impl:Y9},{name:"concentric",impl:iF},{name:"cose",impl:X9},{name:"grid",impl:cF},{name:"null",impl:SL},{name:"preset",impl:uF},{name:"random",impl:lF}];function hF(m){this.options=m,this.notifications=0}var fF=function(){},dF=function(){throw new Error("A headless instance can not render images")};hF.prototype={recalculateRenderedStyle:fF,notify:function(){this.notifications++},init:fF,isHeadless:function(){return!0},png:dF,jpg:dF};var AL={};AL.arrowShapeWidth=.3,AL.registerArrowShapes=function(){var m=this.arrowShapes={},g=this,y=function(C,G,U,J,te,se,oe){var Ce=te.x-U/2-oe,ve=te.x+U/2+oe,Ae=te.y-U/2-oe,Le=te.y+U/2+oe,Be=Ce<=C&&C<=ve&&Ae<=G&&G<=Le;return Be},E=function(C,G,U,J,te){var se=C*Math.cos(J)-G*Math.sin(J),oe=C*Math.sin(J)+G*Math.cos(J),Ce=se*U,ve=oe*U,Ae=Ce+te.x,Le=ve+te.y;return{x:Ae,y:Le}},S=function(C,G,U,J){for(var te=[],se=0;se<C.length;se+=2){var oe=C[se],Ce=C[se+1];te.push(E(oe,Ce,G,U,J))}return te},D=function(C){for(var G=[],U=0;U<C.length;U++){var J=C[U];G.push(J.x,J.y)}return G},I=function(C){return C.pstyle("width").pfValue*C.pstyle("arrow-scale").pfValue*2},R=function(C,G){xe(G)&&(G=m[G]),m[C]=Oe({name:C,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(J,te,se,oe,Ce,ve){var Ae=D(S(this.points,se+2*ve,oe,Ce)),Le=$d(J,te,Ae);return Le},roughCollide:y,draw:function(J,te,se,oe){var Ce=S(this.points,te,se,oe);g.arrowShapeImpl("polygon")(J,Ce)},spacing:function(J){return 0},gap:I},G)};R("none",{collide:cp,roughCollide:cp,draw:x0,spacing:d3,gap:d3}),R("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),R("arrow","triangle"),R("triangle-backcurve",{points:m.triangle.points,controlPoint:[0,-.15],roughCollide:y,draw:function(C,G,U,J,te){var se=S(this.points,G,U,J),oe=this.controlPoint,Ce=E(oe[0],oe[1],G,U,J);g.arrowShapeImpl(this.name)(C,se,Ce)},gap:function(C){return I(C)*.8}}),R("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(C,G,U,J,te,se,oe){var Ce=D(S(this.points,U+2*oe,J,te)),ve=D(S(this.pointsTee,U+2*oe,J,te)),Ae=$d(C,G,Ce)||$d(C,G,ve);return Ae},draw:function(C,G,U,J,te){var se=S(this.points,G,U,J),oe=S(this.pointsTee,G,U,J);g.arrowShapeImpl(this.name)(C,se,oe)}}),R("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(C,G,U,J,te,se,oe){var Ce=te,ve=Math.pow(Ce.x-C,2)+Math.pow(Ce.y-G,2)<=Math.pow((U+2*oe)*this.radius,2),Ae=D(S(this.points,U+2*oe,J,te));return $d(C,G,Ae)||ve},draw:function(C,G,U,J,te){var se=S(this.pointsTr,G,U,J);g.arrowShapeImpl(this.name)(C,se,J.x,J.y,this.radius*G)},spacing:function(C){return g.getArrowWidth(C.pstyle("width").pfValue,C.pstyle("arrow-scale").value)*this.radius}}),R("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(C,G){var U=this.baseCrossLinePts.slice(),J=G/C,te=3,se=5;return U[te]=U[te]-J,U[se]=U[se]-J,U},collide:function(C,G,U,J,te,se,oe){var Ce=D(S(this.points,U+2*oe,J,te)),ve=D(S(this.crossLinePts(U,se),U+2*oe,J,te)),Ae=$d(C,G,Ce)||$d(C,G,ve);return Ae},draw:function(C,G,U,J,te){var se=S(this.points,G,U,J),oe=S(this.crossLinePts(G,te),G,U,J);g.arrowShapeImpl(this.name)(C,se,oe)}}),R("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(C){return I(C)*.525}}),R("circle",{radius:.15,collide:function(C,G,U,J,te,se,oe){var Ce=te,ve=Math.pow(Ce.x-C,2)+Math.pow(Ce.y-G,2)<=Math.pow((U+2*oe)*this.radius,2);return ve},draw:function(C,G,U,J,te){g.arrowShapeImpl(this.name)(C,J.x,J.y,this.radius*G)},spacing:function(C){return g.getArrowWidth(C.pstyle("width").pfValue,C.pstyle("arrow-scale").value)*this.radius}}),R("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(C){return 1},gap:function(C){return 1}}),R("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),R("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(C){return C.pstyle("width").pfValue*C.pstyle("arrow-scale").value}}),R("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(C){return .95*C.pstyle("width").pfValue*C.pstyle("arrow-scale").value}})};var k3={};k3.projectIntoViewport=function(m,g){var y=this.cy,E=this.findContainerClientCoords(),S=E[0],D=E[1],I=E[4],R=y.pan(),$=y.zoom(),C=((m-S)/I-R.x)/$,G=((g-D)/I-R.y)/$;return[C,G]},k3.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var m=this.container,g=m.getBoundingClientRect(),y=j.getComputedStyle(m),E=function(ve){return parseFloat(y.getPropertyValue(ve))},S={left:E("padding-left"),right:E("padding-right"),top:E("padding-top"),bottom:E("padding-bottom")},D={left:E("border-left-width"),right:E("border-right-width"),top:E("border-top-width"),bottom:E("border-bottom-width")},I=m.clientWidth,R=m.clientHeight,$=S.left+S.right,C=S.top+S.bottom,G=D.left+D.right,U=g.width/(I+G),J=I-$,te=R-C,se=g.left+S.left+D.left,oe=g.top+S.top+D.top;return this.containerBB=[se,oe,J,te,U]},k3.invalidateContainerClientCoordsCache=function(){this.containerBB=null},k3.findNearestElement=function(m,g,y,E){return this.findNearestElements(m,g,y,E)[0]},k3.findNearestElements=function(m,g,y,E){var S=this,D=this,I=D.getCachedZSortedEles(),R=[],$=D.cy.zoom(),C=D.cy.hasCompoundNodes(),G=(E?24:8)/$,U=(E?8:2)/$,J=(E?8:2)/$,te=1/0,se,oe;y&&(I=I.interactive);function Ce(Fe,et){if(Fe.isNode()){if(oe)return;oe=Fe,R.push(Fe)}if(Fe.isEdge()&&(et==null||et<te))if(se){if(se.pstyle("z-compound-depth").value===Fe.pstyle("z-compound-depth").value&&se.pstyle("z-compound-depth").value===Fe.pstyle("z-compound-depth").value){for(var ze=0;ze<R.length;ze++)if(R[ze].isEdge()){R[ze]=Fe,se=Fe,te=et??te;break}}}else R.push(Fe),se=Fe,te=et??te}function ve(Fe){var et=Fe.outerWidth()+2*U,ze=Fe.outerHeight()+2*U,ut=et/2,ht=ze/2,tt=Fe.position();if(tt.x-ut<=m&&m<=tt.x+ut&&tt.y-ht<=g&&g<=tt.y+ht){var Dt=D.nodeShapes[S.getNodeShape(Fe)];if(Dt.checkPoint(m,g,0,et,ze,tt.x,tt.y))return Ce(Fe,0),!0}}function Ae(Fe){var et=Fe._private,ze=et.rscratch,ut=Fe.pstyle("width").pfValue,ht=Fe.pstyle("arrow-scale").value,tt=ut/2+G,Dt=tt*tt,ft=tt*2,wn=et.source,Sn=et.target,ln;if(ze.edgeType==="segments"||ze.edgeType==="straight"||ze.edgeType==="haystack"){for(var Rt=ze.allpts,Ht=0;Ht+3<Rt.length;Ht+=2)if(rY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3],ft)&&Dt>(ln=cY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3])))return Ce(Fe,ln),!0}else if(ze.edgeType==="bezier"||ze.edgeType==="multibezier"||ze.edgeType==="self"||ze.edgeType==="compound"){for(var Rt=ze.allpts,Ht=0;Ht+5<ze.allpts.length;Ht+=4)if(iY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3],Rt[Ht+4],Rt[Ht+5],ft)&&Dt>(ln=oY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3],Rt[Ht+4],Rt[Ht+5])))return Ce(Fe,ln),!0}for(var wn=wn||et.source,Sn=Sn||et.target,Kn=S.getArrowWidth(ut,ht),xn=[{name:"source",x:ze.arrowStartX,y:ze.arrowStartY,angle:ze.srcArrowAngle},{name:"target",x:ze.arrowEndX,y:ze.arrowEndY,angle:ze.tgtArrowAngle},{name:"mid-source",x:ze.midX,y:ze.midY,angle:ze.midsrcArrowAngle},{name:"mid-target",x:ze.midX,y:ze.midY,angle:ze.midtgtArrowAngle}],Ht=0;Ht<xn.length;Ht++){var Un=xn[Ht],ar=D.arrowShapes[Fe.pstyle(Un.name+"-arrow-shape").value],xr=Fe.pstyle("width").pfValue;if(ar.roughCollide(m,g,Kn,Un.angle,{x:Un.x,y:Un.y},xr,G)&&ar.collide(m,g,Kn,Un.angle,{x:Un.x,y:Un.y},xr,G))return Ce(Fe),!0}C&&R.length>0&&(ve(wn),ve(Sn))}function Le(Fe,et,ze){return lp(Fe,et,ze)}function Be(Fe,et){var ze=Fe._private,ut=J,ht;et?ht=et+"-":ht="",Fe.boundingBox();var tt=ze.labelBounds[et||"main"],Dt=Fe.pstyle(ht+"label").value,ft=Fe.pstyle("text-events").strValue==="yes";if(!(!ft||!Dt)){var ln=Le(ze.rscratch,"labelX",et),Rt=Le(ze.rscratch,"labelY",et),Ht=Le(ze.rscratch,"labelAngle",et),wn=Fe.pstyle(ht+"text-margin-x").pfValue,Sn=Fe.pstyle(ht+"text-margin-y").pfValue,Kn=tt.x1-ut-wn,xn=tt.x2+ut-wn,Un=tt.y1-ut-Sn,ar=tt.y2+ut-Sn;if(Ht){var xr=Math.cos(Ht),fr=Math.sin(Ht),rr=function(Ra,Li){return Ra=Ra-ln,Li=Li-Rt,{x:Ra*xr-Li*fr+ln,y:Ra*fr+Li*xr+Rt}},gn=rr(Kn,Un),mr=rr(Kn,ar),pr=rr(xn,Un),ri=rr(xn,ar),Ti=[gn.x+wn,gn.y+Sn,pr.x+wn,pr.y+Sn,ri.x+wn,ri.y+Sn,mr.x+wn,mr.y+Sn];if($d(m,g,Ti))return Ce(Fe),!0}else if(F5(tt,m,g))return Ce(Fe),!0}}for(var Xe=I.length-1;Xe>=0;Xe--){var Ue=I[Xe];Ue.isNode()?ve(Ue)||Be(Ue):Ae(Ue)||Be(Ue)||Be(Ue,"source")||Be(Ue,"target")}return R},k3.getAllInBox=function(m,g,y,E){var S=this.getCachedZSortedEles().interactive,D=[],I=Math.min(m,y),R=Math.max(m,y),$=Math.min(g,E),C=Math.max(g,E);m=I,y=R,g=$,E=C;for(var G=jd({x1:m,y1:g,x2:y,y2:E}),U=0;U<S.length;U++){var J=S[U];if(J.isNode()){var te=J,se=te.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});rL(G,se)&&!LP(se,G)&&D.push(te)}else{var oe=J,Ce=oe._private,ve=Ce.rscratch;if(ve.startX!=null&&ve.startY!=null&&!F5(G,ve.startX,ve.startY)||ve.endX!=null&&ve.endY!=null&&!F5(G,ve.endX,ve.endY))continue;if(ve.edgeType==="bezier"||ve.edgeType==="multibezier"||ve.edgeType==="self"||ve.edgeType==="compound"||ve.edgeType==="segments"||ve.edgeType==="haystack"){for(var Ae=Ce.rstyle.bezierPts||Ce.rstyle.linePts||Ce.rstyle.haystackPts,Le=!0,Be=0;Be<Ae.length;Be++)if(!nY(G,Ae[Be])){Le=!1;break}Le&&D.push(oe)}else(ve.edgeType==="haystack"||ve.edgeType==="straight")&&D.push(oe)}}return D};var Z9={};Z9.calculateArrowAngles=function(m){var g=m._private.rscratch,y=g.edgeType==="haystack",E=g.edgeType==="bezier",S=g.edgeType==="multibezier",D=g.edgeType==="segments",I=g.edgeType==="compound",R=g.edgeType==="self",$,C,G,U,J,te,ve,Ae;if(y?(G=g.haystackPts[0],U=g.haystackPts[1],J=g.haystackPts[2],te=g.haystackPts[3]):(G=g.arrowStartX,U=g.arrowStartY,J=g.arrowEndX,te=g.arrowEndY),ve=g.midX,Ae=g.midY,D)$=G-g.segpts[0],C=U-g.segpts[1];else if(S||I||R||E){var se=g.allpts,oe=hf(se[0],se[2],se[4],.1),Ce=hf(se[1],se[3],se[5],.1);$=G-oe,C=U-Ce}else $=G-ve,C=U-Ae;g.srcArrowAngle=v9($,C);var ve=g.midX,Ae=g.midY;if(y&&(ve=(G+J)/2,Ae=(U+te)/2),$=J-G,C=te-U,D){var se=g.allpts;if(se.length/2%2===0){var Le=se.length/2,Be=Le-2;$=se[Le]-se[Be],C=se[Le+1]-se[Be+1]}else{var Le=se.length/2-1,Be=Le-2,Xe=Le+2;$=se[Le]-se[Be],C=se[Le+1]-se[Be+1]}}else if(S||I||R){var se=g.allpts,Ue=g.ctrlpts,Fe,et,ze,ut;if(Ue.length/2%2===0){var ht=se.length/2-1,tt=ht+2,Dt=tt+2;Fe=hf(se[ht],se[tt],se[Dt],0),et=hf(se[ht+1],se[tt+1],se[Dt+1],0),ze=hf(se[ht],se[tt],se[Dt],1e-4),ut=hf(se[ht+1],se[tt+1],se[Dt+1],1e-4)}else{var tt=se.length/2-1,ht=tt-2,Dt=tt+2;Fe=hf(se[ht],se[tt],se[Dt],.4999),et=hf(se[ht+1],se[tt+1],se[Dt+1],.4999),ze=hf(se[ht],se[tt],se[Dt],.5),ut=hf(se[ht+1],se[tt+1],se[Dt+1],.5)}$=ze-Fe,C=ut-et}if(g.midtgtArrowAngle=v9($,C),g.midDispX=$,g.midDispY=C,$*=-1,C*=-1,D){var se=g.allpts;if(se.length/2%2!==0){var Le=se.length/2-1,Xe=Le+2;$=-(se[Xe]-se[Le]),C=-(se[Xe+1]-se[Le+1])}}if(g.midsrcArrowAngle=v9($,C),D)$=J-g.segpts[g.segpts.length-2],C=te-g.segpts[g.segpts.length-1];else if(S||I||R||E){var se=g.allpts,ft=se.length,oe=hf(se[ft-6],se[ft-4],se[ft-2],.9),Ce=hf(se[ft-5],se[ft-3],se[ft-1],.9);$=J-oe,C=te-Ce}else $=J-ve,C=te-Ae;g.tgtArrowAngle=v9($,C)},Z9.getArrowWidth=Z9.getArrowHeight=function(m,g){var y=this.arrowWidthCache=this.arrowWidthCache||{},E=y[m+", "+g];return E||(E=Math.max(Math.pow(m*13.37,.9),29)*g,y[m+", "+g]=E,E)};var od={};od.findHaystackPoints=function(m){for(var g=0;g<m.length;g++){var y=m[g],E=y._private,S=E.rscratch;if(!S.haystack){var D=Math.random()*2*Math.PI;S.source={x:Math.cos(D),y:Math.sin(D)},D=Math.random()*2*Math.PI,S.target={x:Math.cos(D),y:Math.sin(D)}}var I=E.source,R=E.target,$=I.position(),C=R.position(),G=I.width(),U=R.width(),J=I.height(),te=R.height(),se=y.pstyle("haystack-radius").value,oe=se/2;S.haystackPts=S.allpts=[S.source.x*G*oe+$.x,S.source.y*J*oe+$.y,S.target.x*U*oe+C.x,S.target.y*te*oe+C.y],S.midX=(S.allpts[0]+S.allpts[2])/2,S.midY=(S.allpts[1]+S.allpts[3])/2,S.edgeType="haystack",S.haystack=!0,this.storeEdgeProjections(y),this.calculateArrowAngles(y),this.recalculateEdgeLabelProjections(y),this.calculateLabelAngles(y)}},od.findSegmentsPoints=function(m,g){var y=m._private.rscratch,E=g.posPts,S=g.intersectionPts,D=g.vectorNormInverse,I=m.pstyle("edge-distances").value,R=m.pstyle("segment-weights"),$=m.pstyle("segment-distances"),C=Math.min(R.pfValue.length,$.pfValue.length);y.edgeType="segments",y.segpts=[];for(var G=0;G<C;G++){var U=R.pfValue[G],J=$.pfValue[G],te=1-U,se=U,oe=I==="node-position"?E:S,Ce={x:oe.x1*te+oe.x2*se,y:oe.y1*te+oe.y2*se};y.segpts.push(Ce.x+D.x*J,Ce.y+D.y*J)}},od.findLoopPoints=function(m,g,y,E){var S=m._private.rscratch,D=g.dirCounts,I=g.srcPos,R=m.pstyle("control-point-distances"),$=R?R.pfValue[0]:void 0,C=m.pstyle("loop-direction").pfValue,G=m.pstyle("loop-sweep").pfValue,U=m.pstyle("control-point-step-size").pfValue;S.edgeType="self";var J=y,te=U;E&&(J=0,te=$);var se=C-Math.PI/2,oe=se-G/2,Ce=se+G/2,ve=String(C+"_"+G);J=D[ve]===void 0?D[ve]=0:++D[ve],S.ctrlpts=[I.x+Math.cos(oe)*1.4*te*(J/3+1),I.y+Math.sin(oe)*1.4*te*(J/3+1),I.x+Math.cos(Ce)*1.4*te*(J/3+1),I.y+Math.sin(Ce)*1.4*te*(J/3+1)]},od.findCompoundLoopPoints=function(m,g,y,E){var S=m._private.rscratch;S.edgeType="compound";var D=g.srcPos,I=g.tgtPos,R=g.srcW,$=g.srcH,C=g.tgtW,G=g.tgtH,U=m.pstyle("control-point-step-size").pfValue,J=m.pstyle("control-point-distances"),te=J?J.pfValue[0]:void 0,se=y,oe=U;E&&(se=0,oe=te);var Ce=50,ve={x:D.x-R/2,y:D.y-$/2},Ae={x:I.x-C/2,y:I.y-G/2},Le={x:Math.min(ve.x,Ae.x),y:Math.min(ve.y,Ae.y)},Be=.5,Xe=Math.max(Be,Math.log(R*.01)),Ue=Math.max(Be,Math.log(C*.01));S.ctrlpts=[Le.x,Le.y-(1+Math.pow(Ce,1.12)/100)*oe*(se/3+1)*Xe,Le.x-(1+Math.pow(Ce,1.12)/100)*oe*(se/3+1)*Ue,Le.y]},od.findStraightEdgePoints=function(m){m._private.rscratch.edgeType="straight"},od.findBezierPoints=function(m,g,y,E,S){var D=m._private.rscratch,I=g.vectorNormInverse,R=g.posPts,$=g.intersectionPts,C=m.pstyle("edge-distances").value,G=m.pstyle("control-point-step-size").pfValue,U=m.pstyle("control-point-distances"),J=m.pstyle("control-point-weights"),te=U&&J?Math.min(U.value.length,J.value.length):1,se=U?U.pfValue[0]:void 0,oe=J.value[0],Ce=E;D.edgeType=Ce?"multibezier":"bezier",D.ctrlpts=[];for(var ve=0;ve<te;ve++){var Ae=(.5-g.eles.length/2+y)*G*(S?-1:1),Le=void 0,Be=SP(Ae);Ce&&(se=U?U.pfValue[ve]:G,oe=J.value[ve]),E?Le=se:Le=se!==void 0?Be*se:void 0;var Xe=Le!==void 0?Le:Ae,Ue=1-oe,Fe=oe,et=C==="node-position"?R:$,ze={x:et.x1*Ue+et.x2*Fe,y:et.y1*Ue+et.y2*Fe};D.ctrlpts.push(ze.x+I.x*Xe,ze.y+I.y*Xe)}},od.findTaxiPoints=function(m,g){var y=m._private.rscratch;y.edgeType="segments";var E="vertical",S="horizontal",D="leftward",I="rightward",R="downward",$="upward",C="auto",G=g.posPts,U=g.srcW,J=g.srcH,te=g.tgtW,se=g.tgtH,oe=m.pstyle("edge-distances").value,Ce=oe!=="node-position",ve=m.pstyle("taxi-direction").value,Ae=ve,Le=m.pstyle("taxi-turn"),Be=Le.units==="%",Xe=Le.pfValue,Ue=Xe<0,Fe=m.pstyle("taxi-turn-min-distance").pfValue,et=Ce?(U+te)/2:0,ze=Ce?(J+se)/2:0,ut=G.x2-G.x1,ht=G.y2-G.y1,tt=function(ns,qo){return ns>0?Math.max(ns-qo,0):Math.min(ns+qo,0)},Dt=tt(ut,et),ft=tt(ht,ze),ln=!1;Ae===C?ve=Math.abs(Dt)>Math.abs(ft)?S:E:Ae===$||Ae===R?(ve=E,ln=!0):(Ae===D||Ae===I)&&(ve=S,ln=!0);var Rt=ve===E,Ht=Rt?ft:Dt,wn=Rt?ht:ut,Sn=SP(wn),Kn=!1;!(ln&&(Be||Ue))&&(Ae===R&&wn<0||Ae===$&&wn>0||Ae===D&&wn>0||Ae===I&&wn<0)&&(Sn*=-1,Ht=Sn*Math.abs(Ht),Kn=!0);var xn;if(Be){var Un=Xe<0?1+Xe:Xe;xn=Un*Ht}else{var ar=Xe<0?Ht:0;xn=ar+Xe*Sn}var xr=function(ns){return Math.abs(ns)<Fe||Math.abs(ns)>=Math.abs(Ht)},fr=xr(xn),rr=xr(Math.abs(Ht)-Math.abs(xn)),gn=fr||rr;if(gn&&!Kn)if(Rt){var mr=Math.abs(wn)<=J/2,pr=Math.abs(ut)<=te/2;if(mr){var ri=(G.x1+G.x2)/2,Ti=G.y1,ia=G.y2;y.segpts=[ri,Ti,ri,ia]}else if(pr){var Ra=(G.y1+G.y2)/2,Li=G.x1,vi=G.x2;y.segpts=[Li,Ra,vi,Ra]}else y.segpts=[G.x1,G.y2]}else{var Ts=Math.abs(wn)<=U/2,Wi=Math.abs(ht)<=se/2;if(Ts){var Ii=(G.y1+G.y2)/2,es=G.x1,to=G.x2;y.segpts=[es,Ii,to,Ii]}else if(Wi){var sa=(G.x1+G.x2)/2,Ws=G.y1,Cr=G.y2;y.segpts=[sa,Ws,sa,Cr]}else y.segpts=[G.x2,G.y1]}else if(Rt){var Ye=G.y1+xn+(Ce?J/2*Sn:0),Pn=G.x1,Dr=G.x2;y.segpts=[Pn,Ye,Dr,Ye]}else{var or=G.x1+xn+(Ce?U/2*Sn:0),cr=G.y1,Ua=G.y2;y.segpts=[or,cr,or,Ua]}},od.tryToCorrectInvalidPoints=function(m,g){var y=m._private.rscratch;if(y.edgeType==="bezier"){var E=g.srcPos,S=g.tgtPos,D=g.srcW,I=g.srcH,R=g.tgtW,$=g.tgtH,C=g.srcShape,G=g.tgtShape,U=!re(y.startX)||!re(y.startY),J=!re(y.arrowStartX)||!re(y.arrowStartY),te=!re(y.endX)||!re(y.endY),se=!re(y.arrowEndX)||!re(y.arrowEndY),oe=3,Ce=this.getArrowWidth(m.pstyle("width").pfValue,m.pstyle("arrow-scale").value)*this.arrowShapeWidth,ve=oe*Ce,Ae=p3({x:y.ctrlpts[0],y:y.ctrlpts[1]},{x:y.startX,y:y.startY}),Le=Ae<ve,Be=p3({x:y.ctrlpts[0],y:y.ctrlpts[1]},{x:y.endX,y:y.endY}),Xe=Be<ve,Ue=!1;if(U||J||Le){Ue=!0;var Fe={x:y.ctrlpts[0]-E.x,y:y.ctrlpts[1]-E.y},et=Math.sqrt(Fe.x*Fe.x+Fe.y*Fe.y),ze={x:Fe.x/et,y:Fe.y/et},ut=Math.max(D,I),ht={x:y.ctrlpts[0]+ze.x*2*ut,y:y.ctrlpts[1]+ze.y*2*ut},tt=C.intersectLine(E.x,E.y,D,I,ht.x,ht.y,0);Le?(y.ctrlpts[0]=y.ctrlpts[0]+ze.x*(ve-Ae),y.ctrlpts[1]=y.ctrlpts[1]+ze.y*(ve-Ae)):(y.ctrlpts[0]=tt[0]+ze.x*ve,y.ctrlpts[1]=tt[1]+ze.y*ve)}if(te||se||Xe){Ue=!0;var Dt={x:y.ctrlpts[0]-S.x,y:y.ctrlpts[1]-S.y},ft=Math.sqrt(Dt.x*Dt.x+Dt.y*Dt.y),ln={x:Dt.x/ft,y:Dt.y/ft},Rt=Math.max(D,I),Ht={x:y.ctrlpts[0]+ln.x*2*Rt,y:y.ctrlpts[1]+ln.y*2*Rt},wn=G.intersectLine(S.x,S.y,R,$,Ht.x,Ht.y,0);Xe?(y.ctrlpts[0]=y.ctrlpts[0]+ln.x*(ve-Be),y.ctrlpts[1]=y.ctrlpts[1]+ln.y*(ve-Be)):(y.ctrlpts[0]=wn[0]+ln.x*ve,y.ctrlpts[1]=wn[1]+ln.y*ve)}Ue&&this.findEndpoints(m)}},od.storeAllpts=function(m){var g=m._private.rscratch;if(g.edgeType==="multibezier"||g.edgeType==="bezier"||g.edgeType==="self"||g.edgeType==="compound"){g.allpts=[],g.allpts.push(g.startX,g.startY);for(var y=0;y+1<g.ctrlpts.length;y+=2)g.allpts.push(g.ctrlpts[y],g.ctrlpts[y+1]),y+3<g.ctrlpts.length&&g.allpts.push((g.ctrlpts[y]+g.ctrlpts[y+2])/2,(g.ctrlpts[y+1]+g.ctrlpts[y+3])/2);g.allpts.push(g.endX,g.endY);var E,S;g.ctrlpts.length/2%2===0?(E=g.allpts.length/2-1,g.midX=g.allpts[E],g.midY=g.allpts[E+1]):(E=g.allpts.length/2-3,S=.5,g.midX=hf(g.allpts[E],g.allpts[E+2],g.allpts[E+4],S),g.midY=hf(g.allpts[E+1],g.allpts[E+3],g.allpts[E+5],S))}else if(g.edgeType==="straight")g.allpts=[g.startX,g.startY,g.endX,g.endY],g.midX=(g.startX+g.endX+g.arrowStartX+g.arrowEndX)/4,g.midY=(g.startY+g.endY+g.arrowStartY+g.arrowEndY)/4;else if(g.edgeType==="segments")if(g.allpts=[],g.allpts.push(g.startX,g.startY),g.allpts.push.apply(g.allpts,g.segpts),g.allpts.push(g.endX,g.endY),g.segpts.length%4===0){var D=g.segpts.length/2,I=D-2;g.midX=(g.segpts[I]+g.segpts[D])/2,g.midY=(g.segpts[I+1]+g.segpts[D+1])/2}else{var R=g.segpts.length/2-1;g.midX=g.segpts[R],g.midY=g.segpts[R+1]}},od.checkForInvalidEdgeWarning=function(m){var g=m[0]._private.rscratch;g.nodesOverlap||re(g.startX)&&re(g.startY)&&re(g.endX)&&re(g.endY)?g.loggedErr=!1:g.loggedErr||(g.loggedErr=!0,Jo("Edge `"+m.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},od.findEdgeControlPoints=function(m){var g=this;if(!(!m||m.length===0)){for(var y=this,E=y.cy,S=E.hasCompoundNodes(),D={map:new N2,get:function(Fe){var et=this.map.get(Fe[0]);return et!=null?et.get(Fe[1]):null},set:function(Fe,et){var ze=this.map.get(Fe[0]);ze==null&&(ze=new N2,this.map.set(Fe[0],ze)),ze.set(Fe[1],et)}},I=[],R=[],$=0;$<m.length;$++){var C=m[$],G=C._private,U=C.pstyle("curve-style").value;if(!(C.removed()||!C.takesUpSpace())){if(U==="haystack"){R.push(C);continue}var J=U==="unbundled-bezier"||U==="segments"||U==="straight"||U==="straight-triangle"||U==="taxi",te=U==="unbundled-bezier"||U==="bezier",se=G.source,oe=G.target,Ce=se.poolIndex(),ve=oe.poolIndex(),Ae=[Ce,ve].sort(),Le=D.get(Ae);Le==null&&(Le={eles:[]},D.set(Ae,Le),I.push(Ae)),Le.eles.push(C),J&&(Le.hasUnbundled=!0),te&&(Le.hasBezier=!0)}}for(var Be=function(Fe){var et=I[Fe],ze=D.get(et),ut=void 0;if(!ze.hasUnbundled){var ht=ze.eles[0].parallelEdges().filter(function(Cr){return Cr.isBundledBezier()});JA(ze.eles),ht.forEach(function(Cr){return ze.eles.push(Cr)}),ze.eles.sort(function(Cr,Ye){return Cr.poolIndex()-Ye.poolIndex()})}var tt=ze.eles[0],Dt=tt.source(),ft=tt.target();if(Dt.poolIndex()>ft.poolIndex()){var ln=Dt;Dt=ft,ft=ln}var Rt=ze.srcPos=Dt.position(),Ht=ze.tgtPos=ft.position(),wn=ze.srcW=Dt.outerWidth(),Sn=ze.srcH=Dt.outerHeight(),Kn=ze.tgtW=ft.outerWidth(),xn=ze.tgtH=ft.outerHeight(),Un=ze.srcShape=y.nodeShapes[g.getNodeShape(Dt)],ar=ze.tgtShape=y.nodeShapes[g.getNodeShape(ft)];ze.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var xr=0;xr<ze.eles.length;xr++){var fr=ze.eles[xr],rr=fr[0]._private.rscratch,gn=fr.pstyle("curve-style").value,mr=gn==="unbundled-bezier"||gn==="segments"||gn==="taxi",pr=!Dt.same(fr.source());if(!ze.calculatedIntersection&&Dt!==ft&&(ze.hasBezier||ze.hasUnbundled)){ze.calculatedIntersection=!0;var ri=Un.intersectLine(Rt.x,Rt.y,wn,Sn,Ht.x,Ht.y,0),Ti=ze.srcIntn=ri,ia=ar.intersectLine(Ht.x,Ht.y,Kn,xn,Rt.x,Rt.y,0),Ra=ze.tgtIntn=ia,Li=ze.intersectionPts={x1:ri[0],x2:ia[0],y1:ri[1],y2:ia[1]},vi=ze.posPts={x1:Rt.x,x2:Ht.x,y1:Rt.y,y2:Ht.y},Ts=ia[1]-ri[1],Wi=ia[0]-ri[0],Ii=Math.sqrt(Wi*Wi+Ts*Ts),es=ze.vector={x:Wi,y:Ts},to=ze.vectorNorm={x:es.x/Ii,y:es.y/Ii},sa={x:-to.y,y:to.x};ze.nodesOverlap=!re(Ii)||ar.checkPoint(ri[0],ri[1],0,Kn,xn,Ht.x,Ht.y)||Un.checkPoint(ia[0],ia[1],0,wn,Sn,Rt.x,Rt.y),ze.vectorNormInverse=sa,ut={nodesOverlap:ze.nodesOverlap,dirCounts:ze.dirCounts,calculatedIntersection:!0,hasBezier:ze.hasBezier,hasUnbundled:ze.hasUnbundled,eles:ze.eles,srcPos:Ht,tgtPos:Rt,srcW:Kn,srcH:xn,tgtW:wn,tgtH:Sn,srcIntn:Ra,tgtIntn:Ti,srcShape:ar,tgtShape:Un,posPts:{x1:vi.x2,y1:vi.y2,x2:vi.x1,y2:vi.y1},intersectionPts:{x1:Li.x2,y1:Li.y2,x2:Li.x1,y2:Li.y1},vector:{x:-es.x,y:-es.y},vectorNorm:{x:-to.x,y:-to.y},vectorNormInverse:{x:-sa.x,y:-sa.y}}}var Ws=pr?ut:ze;rr.nodesOverlap=Ws.nodesOverlap,rr.srcIntn=Ws.srcIntn,rr.tgtIntn=Ws.tgtIntn,S&&(Dt.isParent()||Dt.isChild()||ft.isParent()||ft.isChild())&&(Dt.parents().anySame(ft)||ft.parents().anySame(Dt)||Dt.same(ft)&&Dt.isParent())?g.findCompoundLoopPoints(fr,Ws,xr,mr):Dt===ft?g.findLoopPoints(fr,Ws,xr,mr):gn==="segments"?g.findSegmentsPoints(fr,Ws):gn==="taxi"?g.findTaxiPoints(fr,Ws):gn==="straight"||!mr&&ze.eles.length%2===1&&xr===Math.floor(ze.eles.length/2)?g.findStraightEdgePoints(fr):g.findBezierPoints(fr,Ws,xr,mr,pr),g.findEndpoints(fr),g.tryToCorrectInvalidPoints(fr,Ws),g.checkForInvalidEdgeWarning(fr),g.storeAllpts(fr),g.storeEdgeProjections(fr),g.calculateArrowAngles(fr),g.recalculateEdgeLabelProjections(fr),g.calculateLabelAngles(fr)}},Xe=0;Xe<I.length;Xe++)Be(Xe);this.findHaystackPoints(R)}};function gF(m){var g=[];if(m!=null){for(var y=0;y<m.length;y+=2){var E=m[y],S=m[y+1];g.push({x:E,y:S})}return g}}od.getSegmentPoints=function(m){var g=m[0]._private.rscratch,y=g.edgeType;if(y==="segments")return this.recalculateRenderedStyle(m),gF(g.segpts)},od.getControlPoints=function(m){var g=m[0]._private.rscratch,y=g.edgeType;if(y==="bezier"||y==="multibezier"||y==="self"||y==="compound")return this.recalculateRenderedStyle(m),gF(g.ctrlpts)},od.getEdgeMidpoint=function(m){var g=m[0]._private.rscratch;return this.recalculateRenderedStyle(m),{x:g.midX,y:g.midY}};var S8={};S8.manualEndptToPx=function(m,g){var y=this,E=m.position(),S=m.outerWidth(),D=m.outerHeight();if(g.value.length===2){var I=[g.pfValue[0],g.pfValue[1]];return g.units[0]==="%"&&(I[0]=I[0]*S),g.units[1]==="%"&&(I[1]=I[1]*D),I[0]+=E.x,I[1]+=E.y,I}else{var R=g.pfValue[0];R=-Math.PI/2+R;var $=2*Math.max(S,D),C=[E.x+Math.cos(R)*$,E.y+Math.sin(R)*$];return y.nodeShapes[this.getNodeShape(m)].intersectLine(E.x,E.y,S,D,C[0],C[1],0)}},S8.findEndpoints=function(m){var g=this,y,E=m.source()[0],S=m.target()[0],D=E.position(),I=S.position(),R=m.pstyle("target-arrow-shape").value,$=m.pstyle("source-arrow-shape").value,C=m.pstyle("target-distance-from-node").pfValue,G=m.pstyle("source-distance-from-node").pfValue,U=m.pstyle("curve-style").value,J=m._private.rscratch,te=J.edgeType,se=U==="taxi",oe=te==="self"||te==="compound",Ce=te==="bezier"||te==="multibezier"||oe,ve=te!=="bezier",Ae=te==="straight"||te==="segments",Le=te==="segments",Be=Ce||ve||Ae,Xe=oe||se,Ue=m.pstyle("source-endpoint"),Fe=Xe?"outside-to-node":Ue.value,et=m.pstyle("target-endpoint"),ze=Xe?"outside-to-node":et.value;J.srcManEndpt=Ue,J.tgtManEndpt=et;var ut,ht,tt,Dt;if(Ce){var ft=[J.ctrlpts[0],J.ctrlpts[1]],ln=ve?[J.ctrlpts[J.ctrlpts.length-2],J.ctrlpts[J.ctrlpts.length-1]]:ft;ut=ln,ht=ft}else if(Ae){var Rt=Le?J.segpts.slice(0,2):[I.x,I.y],Ht=Le?J.segpts.slice(J.segpts.length-2):[D.x,D.y];ut=Ht,ht=Rt}if(ze==="inside-to-node")y=[I.x,I.y];else if(et.units)y=this.manualEndptToPx(S,et);else if(ze==="outside-to-line")y=J.tgtIntn;else if(ze==="outside-to-node"||ze==="outside-to-node-or-label"?tt=ut:(ze==="outside-to-line"||ze==="outside-to-line-or-label")&&(tt=[D.x,D.y]),y=g.nodeShapes[this.getNodeShape(S)].intersectLine(I.x,I.y,S.outerWidth(),S.outerHeight(),tt[0],tt[1],0),ze==="outside-to-node-or-label"||ze==="outside-to-line-or-label"){var wn=S._private.rscratch,Sn=wn.labelWidth,Kn=wn.labelHeight,xn=wn.labelX,Un=wn.labelY,ar=Sn/2,xr=Kn/2,fr=S.pstyle("text-valign").value;fr==="top"?Un-=xr:fr==="bottom"&&(Un+=xr);var rr=S.pstyle("text-halign").value;rr==="left"?xn-=ar:rr==="right"&&(xn+=ar);var gn=l8(tt[0],tt[1],[xn-ar,Un-xr,xn+ar,Un-xr,xn+ar,Un+xr,xn-ar,Un+xr],I.x,I.y);if(gn.length>0){var mr=D,pr=b3(mr,P5(y)),ri=b3(mr,P5(gn)),Ti=pr;if(ri<pr&&(y=gn,Ti=ri),gn.length>2){var ia=b3(mr,{x:gn[2],y:gn[3]});ia<Ti&&(y=[gn[2],gn[3]])}}}var Ra=m9(y,ut,g.arrowShapes[R].spacing(m)+C),Li=m9(y,ut,g.arrowShapes[R].gap(m)+C);if(J.endX=Li[0],J.endY=Li[1],J.arrowEndX=Ra[0],J.arrowEndY=Ra[1],Fe==="inside-to-node")y=[D.x,D.y];else if(Ue.units)y=this.manualEndptToPx(E,Ue);else if(Fe==="outside-to-line")y=J.srcIntn;else if(Fe==="outside-to-node"||Fe==="outside-to-node-or-label"?Dt=ht:(Fe==="outside-to-line"||Fe==="outside-to-line-or-label")&&(Dt=[I.x,I.y]),y=g.nodeShapes[this.getNodeShape(E)].intersectLine(D.x,D.y,E.outerWidth(),E.outerHeight(),Dt[0],Dt[1],0),Fe==="outside-to-node-or-label"||Fe==="outside-to-line-or-label"){var vi=E._private.rscratch,Ts=vi.labelWidth,Wi=vi.labelHeight,Ii=vi.labelX,es=vi.labelY,to=Ts/2,sa=Wi/2,Ws=E.pstyle("text-valign").value;Ws==="top"?es-=sa:Ws==="bottom"&&(es+=sa);var Cr=E.pstyle("text-halign").value;Cr==="left"?Ii-=to:Cr==="right"&&(Ii+=to);var Ye=l8(Dt[0],Dt[1],[Ii-to,es-sa,Ii+to,es-sa,Ii+to,es+sa,Ii-to,es+sa],D.x,D.y);if(Ye.length>0){var Pn=I,Dr=b3(Pn,P5(y)),or=b3(Pn,P5(Ye)),cr=Dr;if(or<Dr&&(y=[Ye[0],Ye[1]],cr=or),Ye.length>2){var Ua=b3(Pn,{x:Ye[2],y:Ye[3]});Ua<cr&&(y=[Ye[2],Ye[3]])}}}var qr=m9(y,ht,g.arrowShapes[$].spacing(m)+G),ns=m9(y,ht,g.arrowShapes[$].gap(m)+G);J.startX=ns[0],J.startY=ns[1],J.arrowStartX=qr[0],J.arrowStartY=qr[1],Be&&(!re(J.startX)||!re(J.startY)||!re(J.endX)||!re(J.endY)?J.badLine=!0:J.badLine=!1)},S8.getSourceEndpoint=function(m){var g=m[0]._private.rscratch;switch(this.recalculateRenderedStyle(m),g.edgeType){case"haystack":return{x:g.haystackPts[0],y:g.haystackPts[1]};default:return{x:g.arrowStartX,y:g.arrowStartY}}},S8.getTargetEndpoint=function(m){var g=m[0]._private.rscratch;switch(this.recalculateRenderedStyle(m),g.edgeType){case"haystack":return{x:g.haystackPts[2],y:g.haystackPts[3]};default:return{x:g.arrowEndX,y:g.arrowEndY}}};var LL={};function AJ(m,g,y){for(var E=function(C,G,U,J){return hf(C,G,U,J)},S=g._private,D=S.rstyle.bezierPts,I=0;I<m.bezierProjPcts.length;I++){var R=m.bezierProjPcts[I];D.push({x:E(y[0],y[2],y[4],R),y:E(y[1],y[3],y[5],R)})}}LL.storeEdgeProjections=function(m){var g=m._private,y=g.rscratch,E=y.edgeType;if(g.rstyle.bezierPts=null,g.rstyle.linePts=null,g.rstyle.haystackPts=null,E==="multibezier"||E==="bezier"||E==="self"||E==="compound"){g.rstyle.bezierPts=[];for(var S=0;S+5<y.allpts.length;S+=4)AJ(this,m,y.allpts.slice(S,S+6))}else if(E==="segments")for(var D=g.rstyle.linePts=[],S=0;S+1<y.allpts.length;S+=2)D.push({x:y.allpts[S],y:y.allpts[S+1]});else if(E==="haystack"){var I=y.haystackPts;g.rstyle.haystackPts=[{x:I[0],y:I[1]},{x:I[2],y:I[3]}]}g.rstyle.arrowWidth=this.getArrowWidth(m.pstyle("width").pfValue,m.pstyle("arrow-scale").value)*this.arrowShapeWidth},LL.recalculateEdgeProjections=function(m){this.findEdgeControlPoints(m)};var gp={};gp.recalculateNodeLabelProjection=function(m){var g=m.pstyle("label").strValue;if(!de(g)){var y,E,S=m._private,D=m.width(),I=m.height(),R=m.padding(),$=m.position(),C=m.pstyle("text-halign").strValue,G=m.pstyle("text-valign").strValue,U=S.rscratch,J=S.rstyle;switch(C){case"left":y=$.x-D/2-R;break;case"right":y=$.x+D/2+R;break;default:y=$.x}switch(G){case"top":E=$.y-I/2-R;break;case"bottom":E=$.y+I/2+R;break;default:E=$.y}U.labelX=y,U.labelY=E,J.labelX=y,J.labelY=E,this.calculateLabelAngles(m),this.applyLabelDimensions(m)}};var pF=function(g,y){var E=Math.atan(y/g);return g===0&&E<0&&(E=E*-1),E},bF=function(g,y){var E=y.x-g.x,S=y.y-g.y;return pF(E,S)},vF=function(g,y,E,S){var D=c8(0,S-.001,1),I=c8(0,S+.001,1),R=B5(g,y,E,D),$=B5(g,y,E,I);return bF(R,$)};gp.recalculateEdgeLabelProjections=function(m){var g,y=m._private,E=y.rscratch,S=this,D={mid:m.pstyle("label").strValue,source:m.pstyle("source-label").strValue,target:m.pstyle("target-label").strValue};if(D.mid||D.source||D.target){g={x:E.midX,y:E.midY};var I=function(U,J,te){om(y.rscratch,U,J,te),om(y.rstyle,U,J,te)};I("labelX",null,g.x),I("labelY",null,g.y);var R=pF(E.midDispX,E.midDispY);I("labelAutoAngle",null,R);var $=function G(){if(G.cache)return G.cache;for(var U=[],J=0;J+5<E.allpts.length;J+=4){var te={x:E.allpts[J],y:E.allpts[J+1]},se={x:E.allpts[J+2],y:E.allpts[J+3]},oe={x:E.allpts[J+4],y:E.allpts[J+5]};U.push({p0:te,p1:se,p2:oe,startDist:0,length:0,segments:[]})}var Ce=y.rstyle.bezierPts,ve=S.bezierProjPcts.length;function Ae(Fe,et,ze,ut,ht){var tt=p3(et,ze),Dt=Fe.segments[Fe.segments.length-1],ft={p0:et,p1:ze,t0:ut,t1:ht,startDist:Dt?Dt.startDist+Dt.length:0,length:tt};Fe.segments.push(ft),Fe.length+=tt}for(var Le=0;Le<U.length;Le++){var Be=U[Le],Xe=U[Le-1];Xe&&(Be.startDist=Xe.startDist+Xe.length),Ae(Be,Be.p0,Ce[Le*ve],0,S.bezierProjPcts[0]);for(var Ue=0;Ue<ve-1;Ue++)Ae(Be,Ce[Le*ve+Ue],Ce[Le*ve+Ue+1],S.bezierProjPcts[Ue],S.bezierProjPcts[Ue+1]);Ae(Be,Ce[Le*ve+ve-1],Be.p2,S.bezierProjPcts[ve-1],1)}return G.cache=U},C=function(U){var J,te=U==="source";if(D[U]){var se=m.pstyle(U+"-text-offset").pfValue;switch(E.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var oe=$(),Ce,ve=0,Ae=0,Le=0;Le<oe.length;Le++){for(var Be=oe[te?Le:oe.length-1-Le],Xe=0;Xe<Be.segments.length;Xe++){var Ue=Be.segments[te?Xe:Be.segments.length-1-Xe],Fe=Le===oe.length-1&&Xe===Be.segments.length-1;if(ve=Ae,Ae+=Ue.length,Ae>=se||Fe){Ce={cp:Be,segment:Ue};break}}if(Ce)break}var et=Ce.cp,ze=Ce.segment,ut=(se-ve)/ze.length,ht=ze.t1-ze.t0,tt=te?ze.t0+ht*ut:ze.t1-ht*ut;tt=c8(0,tt,1),g=B5(et.p0,et.p1,et.p2,tt),J=vF(et.p0,et.p1,et.p2,tt);break}case"straight":case"segments":case"haystack":{for(var Dt=0,ft,ln,Rt,Ht,wn=E.allpts.length,Sn=0;Sn+3<wn&&(te?(Rt={x:E.allpts[Sn],y:E.allpts[Sn+1]},Ht={x:E.allpts[Sn+2],y:E.allpts[Sn+3]}):(Rt={x:E.allpts[wn-2-Sn],y:E.allpts[wn-1-Sn]},Ht={x:E.allpts[wn-4-Sn],y:E.allpts[wn-3-Sn]}),ft=p3(Rt,Ht),ln=Dt,Dt+=ft,!(Dt>=se));Sn+=2);var Kn=se-ln,xn=Kn/ft;xn=c8(0,xn,1),g=QW(Rt,Ht,xn),J=bF(Rt,Ht);break}}I("labelX",U,g.x),I("labelY",U,g.y),I("labelAutoAngle",U,J)}};C("source"),C("target"),this.applyLabelDimensions(m)}},gp.applyLabelDimensions=function(m){this.applyPrefixedLabelDimensions(m),m.isEdge()&&(this.applyPrefixedLabelDimensions(m,"source"),this.applyPrefixedLabelDimensions(m,"target"))},gp.applyPrefixedLabelDimensions=function(m,g){var y=m._private,E=this.getLabelText(m,g),S=this.calculateLabelDimensions(m,E),D=m.pstyle("line-height").pfValue,I=m.pstyle("text-wrap").strValue,R=lp(y.rscratch,"labelWrapCachedLines",g)||[],$=I!=="wrap"?1:Math.max(R.length,1),C=S.height/$,G=C*D,U=S.width,J=S.height+($-1)*(D-1)*C;om(y.rstyle,"labelWidth",g,U),om(y.rscratch,"labelWidth",g,U),om(y.rstyle,"labelHeight",g,J),om(y.rscratch,"labelHeight",g,J),om(y.rscratch,"labelLineHeight",g,G)},gp.getLabelText=function(m,g){var y=m._private,E=g?g+"-":"",S=m.pstyle(E+"label").strValue,D=m.pstyle("text-transform").value,I=function(Kn,xn){return xn?(om(y.rscratch,Kn,g,xn),xn):lp(y.rscratch,Kn,g)};if(!S)return"";D=="none"||(D=="uppercase"?S=S.toUpperCase():D=="lowercase"&&(S=S.toLowerCase()));var R=m.pstyle("text-wrap").value;if(R==="wrap"){var $=I("labelKey");if($!=null&&I("labelWrapKey")===$)return I("labelWrapCachedText");for(var C="​",G=S.split(`
-`),U=m.pstyle("text-max-width").pfValue,J=m.pstyle("text-overflow-wrap").value,te=J==="anywhere",se=[],oe=/[\s\u200b]+/,Ce=te?"":" ",ve=0;ve<G.length;ve++){var Ae=G[ve],Le=this.calculateLabelDimensions(m,Ae),Be=Le.width;if(te){var Xe=Ae.split("").join(C);Ae=Xe}if(Be>U){for(var Ue=Ae.split(oe),Fe="",et=0;et<Ue.length;et++){var ze=Ue[et],ut=Fe.length===0?ze:Fe+Ce+ze,ht=this.calculateLabelDimensions(m,ut),tt=ht.width;tt<=U?Fe+=ze+Ce:(Fe&&se.push(Fe),Fe=ze+Ce)}Fe.match(/^[\s\u200b]+$/)||se.push(Fe)}else se.push(Ae)}I("labelWrapCachedLines",se),S=I("labelWrapCachedText",se.join(`
-`)),I("labelWrapKey",$)}else if(R==="ellipsis"){var Dt=m.pstyle("text-max-width").pfValue,ft="",ln="…",Rt=!1;if(this.calculateLabelDimensions(m,S).width<Dt)return S;for(var Ht=0;Ht<S.length;Ht++){var wn=this.calculateLabelDimensions(m,ft+S[Ht]+ln).width;if(wn>Dt)break;ft+=S[Ht],Ht===S.length-1&&(Rt=!0)}return Rt||(ft+=ln),ft}return S},gp.getLabelJustification=function(m){var g=m.pstyle("text-justification").strValue,y=m.pstyle("text-halign").strValue;if(g==="auto")if(m.isNode())switch(y){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return g},gp.calculateLabelDimensions=function(m,g){var y=this,E=op(g,m._private.labelDimsKey),S=y.labelDimCache||(y.labelDimCache=[]),D=S[E];if(D!=null)return D;var I=0,R=m.pstyle("font-style").strValue,$=m.pstyle("font-size").pfValue,C=m.pstyle("font-family").strValue,G=m.pstyle("font-weight").strValue,U=this.labelCalcCanvas,J=this.labelCalcCanvasContext;if(!U){U=this.labelCalcCanvas=document.createElement("canvas"),J=this.labelCalcCanvasContext=U.getContext("2d");var te=U.style;te.position="absolute",te.left="-9999px",te.top="-9999px",te.zIndex="-1",te.visibility="hidden",te.pointerEvents="none"}J.font="".concat(R," ").concat(G," ").concat($,"px ").concat(C);for(var se=0,oe=0,Ce=g.split(`
-`),ve=0;ve<Ce.length;ve++){var Ae=Ce[ve],Le=J.measureText(Ae),Be=Math.ceil(Le.width),Xe=$;se=Math.max(Be,se),oe+=Xe}return se+=I,oe+=I,S[E]={width:se,height:oe}},gp.calculateLabelAngle=function(m,g){var y=m._private,E=y.rscratch,S=m.isEdge(),D=g?g+"-":"",I=m.pstyle(D+"text-rotation"),R=I.strValue;return R==="none"?0:S&&R==="autorotate"?E.labelAutoAngle:R==="autorotate"?0:I.pfValue},gp.calculateLabelAngles=function(m){var g=this,y=m.isEdge(),E=m._private,S=E.rscratch;S.labelAngle=g.calculateLabelAngle(m),y&&(S.sourceLabelAngle=g.calculateLabelAngle(m,"source"),S.targetLabelAngle=g.calculateLabelAngle(m,"target"))};var ch={},ML=28,wF=!1;ch.getNodeShape=function(m){var g=this,y=m.pstyle("shape").value;if(y==="cutrectangle"&&(m.width()<ML||m.height()<ML))return wF||(Jo("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),wF=!0),"rectangle";if(m.isParent())return y==="rectangle"||y==="roundrectangle"||y==="round-rectangle"||y==="cutrectangle"||y==="cut-rectangle"||y==="barrel"?y:"rectangle";if(y==="polygon"){var E=m.pstyle("shape-polygon-points").value;return g.nodeShapes.makePolygon(E).name}return y};var A8={};A8.registerCalculationListeners=function(){var m=this.cy,g=m.collection(),y=this,E=function(I){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(g.merge(I),R)for(var $=0;$<I.length;$++){var C=I[$],G=C._private,U=G.rstyle;U.clean=!1,U.cleanConnected=!1}};y.binder(m).on("bounds.* dirty.*",function(I){var R=I.target;E(R)}).on("style.* background.*",function(I){var R=I.target;E(R,!1)});var S=function(I){if(I){var R=y.onUpdateEleCalcsFns;g.cleanStyle();for(var $=0;$<g.length;$++){var C=g[$],G=C._private.rstyle;C.isNode()&&!G.cleanConnected&&(E(C.connectedEdges()),G.cleanConnected=!0)}if(R)for(var U=0;U<R.length;U++){var J=R[U];J(I,g)}y.recalculateRenderedStyle(g),g=m.collection()}};y.flushRenderedStyleQueue=function(){S(!0)},y.beforeRender(S,y.beforeRenderPriorities.eleCalcs)},A8.onUpdateEleCalcs=function(m){var g=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];g.push(m)},A8.recalculateRenderedStyle=function(m,g){var y=function(Be){return Be._private.rstyle.cleanConnected},E=[],S=[];if(!this.destroyed){g===void 0&&(g=!0);for(var D=0;D<m.length;D++){var I=m[D],R=I._private,$=R.rstyle;I.isEdge()&&(!y(I.source())||!y(I.target()))&&($.clean=!1),!(g&&$.clean||I.removed())&&I.pstyle("display").value!=="none"&&(R.group==="nodes"?S.push(I):E.push(I),$.clean=!0)}for(var C=0;C<S.length;C++){var G=S[C],U=G._private,J=U.rstyle,te=G.position();this.recalculateNodeLabelProjection(G),J.nodeX=te.x,J.nodeY=te.y,J.nodeW=G.pstyle("width").pfValue,J.nodeH=G.pstyle("height").pfValue}this.recalculateEdgeProjections(E);for(var se=0;se<E.length;se++){var oe=E[se],Ce=oe._private,ve=Ce.rstyle,Ae=Ce.rscratch;ve.srcX=Ae.arrowStartX,ve.srcY=Ae.arrowStartY,ve.tgtX=Ae.arrowEndX,ve.tgtY=Ae.arrowEndY,ve.midX=Ae.midX,ve.midY=Ae.midY,ve.labelAngle=Ae.labelAngle,ve.sourceLabelAngle=Ae.sourceLabelAngle,ve.targetLabelAngle=Ae.targetLabelAngle}}};var J9={};J9.updateCachedGrabbedEles=function(){var m=this.cachedZSortedEles;if(m){m.drag=[],m.nondrag=[];for(var g=[],y=0;y<m.length;y++){var E=m[y],S=E._private.rscratch;E.grabbed()&&!E.isParent()?g.push(E):S.inDragLayer?m.drag.push(E):m.nondrag.push(E)}for(var y=0;y<g.length;y++){var E=g[y];m.drag.push(E)}}},J9.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},J9.getCachedZSortedEles=function(m){if(m||!this.cachedZSortedEles){var g=this.cy.mutableElements().toArray();g.sort(qB),g.interactive=g.filter(function(y){return y.interactive()}),this.cachedZSortedEles=g,this.updateCachedGrabbedEles()}else g=this.cachedZSortedEles;return g};var L8={};[k3,Z9,od,S8,LL,gp,ch,A8,J9].forEach(function(m){Oe(L8,m)});var mF={};mF.getCachedImage=function(m,g,y){var E=this,S=E.imageCache=E.imageCache||{},D=S[m];if(D)return D.image.complete||D.image.addEventListener("load",y),D.image;D=S[m]=S[m]||{};var I=D.image=new Image;I.addEventListener("load",y),I.addEventListener("error",function(){I.error=!0});var R="data:",$=m.substring(0,R.length).toLowerCase()===R;return $||(I.crossOrigin=g),I.src=m,I};var e6={};e6.registerBinding=function(m,g,y,E){var S=Array.prototype.slice.apply(arguments,[1]),D=this.binder(m);return D.on.apply(D,S)},e6.binder=function(m){var g=this,y=m===window||m===document||m===document.body||ct(m);if(g.supportsPassiveEvents==null){var E=!1;try{var S=Object.defineProperty({},"passive",{get:function(){return E=!0,!0}});window.addEventListener("test",null,S)}catch{}g.supportsPassiveEvents=E}var D=function(R,$,C){var G=Array.prototype.slice.call(arguments);return y&&g.supportsPassiveEvents&&(G[2]={capture:C??!1,passive:!1,once:!1}),g.bindings.push({target:m,args:G}),(m.addEventListener||m.on).apply(m,G),this};return{on:D,addEventListener:D,addListener:D,bind:D}},e6.nodeIsDraggable=function(m){return m&&m.isNode()&&!m.locked()&&m.grabbable()},e6.nodeIsGrabbable=function(m){return this.nodeIsDraggable(m)&&m.interactive()},e6.load=function(){var m=this,g=function(Ye){return Ye.selected()},y=function(Ye,Pn,Dr,or){Ye==null&&(Ye=m.cy);for(var cr=0;cr<Pn.length;cr++){var Ua=Pn[cr];Ye.emit({originalEvent:Dr,type:Ua,position:or})}},E=function(Ye){return Ye.shiftKey||Ye.metaKey||Ye.ctrlKey},S=function(Ye,Pn){var Dr=!0;if(m.cy.hasCompoundNodes()&&Ye&&Ye.pannable())for(var or=0;Pn&&or<Pn.length;or++){var Ye=Pn[or];if(Ye.isNode()&&Ye.isParent()&&!Ye.pannable()){Dr=!1;break}}else Dr=!0;return Dr},D=function(Ye){Ye[0]._private.grabbed=!0},I=function(Ye){Ye[0]._private.grabbed=!1},R=function(Ye){Ye[0]._private.rscratch.inDragLayer=!0},$=function(Ye){Ye[0]._private.rscratch.inDragLayer=!1},C=function(Ye){Ye[0]._private.rscratch.isGrabTarget=!0},G=function(Ye){Ye[0]._private.rscratch.isGrabTarget=!1},U=function(Ye,Pn){var Dr=Pn.addToList,or=Dr.has(Ye);!or&&Ye.grabbable()&&!Ye.locked()&&(Dr.merge(Ye),D(Ye))},J=function(Ye,Pn){if(Ye.cy().hasCompoundNodes()&&!(Pn.inDragLayer==null&&Pn.addToList==null)){var Dr=Ye.descendants();Pn.inDragLayer&&(Dr.forEach(R),Dr.connectedEdges().forEach(R)),Pn.addToList&&U(Dr,Pn)}},te=function(Ye,Pn){Pn=Pn||{};var Dr=Ye.cy().hasCompoundNodes();Pn.inDragLayer&&(Ye.forEach(R),Ye.neighborhood().stdFilter(function(or){return!Dr||or.isEdge()}).forEach(R)),Pn.addToList&&Ye.forEach(function(or){U(or,Pn)}),J(Ye,Pn),Ce(Ye,{inDragLayer:Pn.inDragLayer}),m.updateCachedGrabbedEles()},se=te,oe=function(Ye){Ye&&(m.getCachedZSortedEles().forEach(function(Pn){I(Pn),$(Pn),G(Pn)}),m.updateCachedGrabbedEles())},Ce=function(Ye,Pn){if(!(Pn.inDragLayer==null&&Pn.addToList==null)&&Ye.cy().hasCompoundNodes()){var Dr=Ye.ancestors().orphans();if(!Dr.same(Ye)){var or=Dr.descendants().spawnSelf().merge(Dr).unmerge(Ye).unmerge(Ye.descendants()),cr=or.connectedEdges();Pn.inDragLayer&&(cr.forEach(R),or.forEach(R)),Pn.addToList&&or.forEach(function(Ua){U(Ua,Pn)})}}},ve=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},Ae=typeof MutationObserver<"u",Le=typeof ResizeObserver<"u";Ae?(m.removeObserver=new MutationObserver(function(Cr){for(var Ye=0;Ye<Cr.length;Ye++){var Pn=Cr[Ye],Dr=Pn.removedNodes;if(Dr)for(var or=0;or<Dr.length;or++){var cr=Dr[or];if(cr===m.container){m.destroy();break}}}}),m.container.parentNode&&m.removeObserver.observe(m.container.parentNode,{childList:!0})):m.registerBinding(m.container,"DOMNodeRemoved",function(Cr){m.destroy()});var Be=Rd(function(){m.cy.resize()},100);Ae&&(m.styleObserver=new MutationObserver(Be),m.styleObserver.observe(m.container,{attributes:!0})),m.registerBinding(window,"resize",Be),Le&&(m.resizeObserver=new ResizeObserver(Be),m.resizeObserver.observe(m.container));var Xe=function(Ye,Pn){for(;Ye!=null;)Pn(Ye),Ye=Ye.parentNode},Ue=function(){m.invalidateContainerClientCoordsCache()};Xe(m.container,function(Cr){m.registerBinding(Cr,"transitionend",Ue),m.registerBinding(Cr,"animationend",Ue),m.registerBinding(Cr,"scroll",Ue)}),m.registerBinding(m.container,"contextmenu",function(Cr){Cr.preventDefault()});var Fe=function(){return m.selection[4]!==0},et=function(Ye){for(var Pn=m.findContainerClientCoords(),Dr=Pn[0],or=Pn[1],cr=Pn[2],Ua=Pn[3],qr=Ye.touches?Ye.touches:[Ye],ns=!1,qo=0;qo<qr.length;qo++){var Hc=qr[qo];if(Dr<=Hc.clientX&&Hc.clientX<=Dr+cr&&or<=Hc.clientY&&Hc.clientY<=or+Ua){ns=!0;break}}if(!ns)return!1;for(var uo=m.container,Ac=Ye.target,ja=Ac.parentNode,lo=!1;ja;){if(ja===uo){lo=!0;break}ja=ja.parentNode}return!!lo};m.registerBinding(m.container,"mousedown",function(Ye){if(et(Ye)){Ye.preventDefault(),ve(),m.hoverData.capture=!0,m.hoverData.which=Ye.which;var Pn=m.cy,Dr=[Ye.clientX,Ye.clientY],or=m.projectIntoViewport(Dr[0],Dr[1]),cr=m.selection,Ua=m.findNearestElements(or[0],or[1],!0,!1),qr=Ua[0],ns=m.dragData.possibleDragElements;m.hoverData.mdownPos=or,m.hoverData.mdownGPos=Dr;var qo=function(){m.hoverData.tapholdCancelled=!1,clearTimeout(m.hoverData.tapholdTimeout),m.hoverData.tapholdTimeout=setTimeout(function(){if(!m.hoverData.tapholdCancelled){var _l=m.hoverData.down;_l?_l.emit({originalEvent:Ye,type:"taphold",position:{x:or[0],y:or[1]}}):Pn.emit({originalEvent:Ye,type:"taphold",position:{x:or[0],y:or[1]}})}},m.tapholdDuration)};if(Ye.which==3){m.hoverData.cxtStarted=!0;var Hc={originalEvent:Ye,type:"cxttapstart",position:{x:or[0],y:or[1]}};qr?(qr.activate(),qr.emit(Hc),m.hoverData.down=qr):Pn.emit(Hc),m.hoverData.downTime=new Date().getTime(),m.hoverData.cxtDragged=!1}else if(Ye.which==1){qr&&qr.activate();{if(qr!=null&&m.nodeIsGrabbable(qr)){var uo=function(_l){return{originalEvent:Ye,type:_l,position:{x:or[0],y:or[1]}}},Ac=function(_l){_l.emit(uo("grab"))};if(C(qr),!qr.selected())ns=m.dragData.possibleDragElements=Pn.collection(),se(qr,{addToList:ns}),qr.emit(uo("grabon")).emit(uo("grab"));else{ns=m.dragData.possibleDragElements=Pn.collection();var ja=Pn.$(function(lo){return lo.isNode()&&lo.selected()&&m.nodeIsGrabbable(lo)});te(ja,{addToList:ns}),qr.emit(uo("grabon")),ja.forEach(Ac)}m.redrawHint("eles",!0),m.redrawHint("drag",!0)}m.hoverData.down=qr,m.hoverData.downs=Ua,m.hoverData.downTime=new Date().getTime()}y(qr,["mousedown","tapstart","vmousedown"],Ye,{x:or[0],y:or[1]}),qr==null?(cr[4]=1,m.data.bgActivePosistion={x:or[0],y:or[1]},m.redrawHint("select",!0),m.redraw()):qr.pannable()&&(cr[4]=1),qo()}cr[0]=cr[2]=or[0],cr[1]=cr[3]=or[1]}},!1),m.registerBinding(window,"mousemove",function(Ye){var Pn=m.hoverData.capture;if(!(!Pn&&!et(Ye))){var Dr=!1,or=m.cy,cr=or.zoom(),Ua=[Ye.clientX,Ye.clientY],qr=m.projectIntoViewport(Ua[0],Ua[1]),ns=m.hoverData.mdownPos,qo=m.hoverData.mdownGPos,Hc=m.selection,uo=null;!m.hoverData.draggingEles&&!m.hoverData.dragging&&!m.hoverData.selecting&&(uo=m.findNearestElement(qr[0],qr[1],!0,!1));var Ac=m.hoverData.last,ja=m.hoverData.down,lo=[qr[0]-Hc[2],qr[1]-Hc[3]],_l=m.dragData.possibleDragElements,Uf;if(qo){var pp=Ua[0]-qo[0],bp=pp*pp,Kf=Ua[1]-qo[1],hg=Kf*Kf,cd=bp+hg;m.hoverData.isOverThresholdDrag=Uf=cd>=m.desktopTapThreshold2}var av=E(Ye);Uf&&(m.hoverData.tapholdCancelled=!0);var vm=function(){var F2=m.hoverData.dragDelta=m.hoverData.dragDelta||[];F2.length===0?(F2.push(lo[0]),F2.push(lo[1])):(F2[0]+=lo[0],F2[1]+=lo[1])};Dr=!0,y(uo,["mousemove","vmousemove","tapdrag"],Ye,{x:qr[0],y:qr[1]});var o6=function(){m.data.bgActivePosistion=void 0,m.hoverData.selecting||or.emit({originalEvent:Ye,type:"boxstart",position:{x:qr[0],y:qr[1]}}),Hc[4]=1,m.hoverData.selecting=!0,m.redrawHint("select",!0),m.redraw()};if(m.hoverData.which===3){if(Uf){var _3={originalEvent:Ye,type:"cxtdrag",position:{x:qr[0],y:qr[1]}};ja?ja.emit(_3):or.emit(_3),m.hoverData.cxtDragged=!0,(!m.hoverData.cxtOver||uo!==m.hoverData.cxtOver)&&(m.hoverData.cxtOver&&m.hoverData.cxtOver.emit({originalEvent:Ye,type:"cxtdragout",position:{x:qr[0],y:qr[1]}}),m.hoverData.cxtOver=uo,uo&&uo.emit({originalEvent:Ye,type:"cxtdragover",position:{x:qr[0],y:qr[1]}}))}}else if(m.hoverData.dragging){if(Dr=!0,or.panningEnabled()&&or.userPanningEnabled()){var c6;if(m.hoverData.justStartedPan){var oT=m.hoverData.mdownPos;c6={x:(qr[0]-oT[0])*cr,y:(qr[1]-oT[1])*cr},m.hoverData.justStartedPan=!1}else c6={x:lo[0]*cr,y:lo[1]*cr};or.panBy(c6),or.emit("dragpan"),m.hoverData.dragged=!0}qr=m.projectIntoViewport(Ye.clientX,Ye.clientY)}else if(Hc[4]==1&&(ja==null||ja.pannable())){if(Uf){if(!m.hoverData.dragging&&or.boxSelectionEnabled()&&(av||!or.panningEnabled()||!or.userPanningEnabled()))o6();else if(!m.hoverData.selecting&&or.panningEnabled()&&or.userPanningEnabled()){var C3=S(ja,m.hoverData.downs);C3&&(m.hoverData.dragging=!0,m.hoverData.justStartedPan=!0,Hc[4]=0,m.data.bgActivePosistion=P5(ns),m.redrawHint("select",!0),m.redraw())}ja&&ja.pannable()&&ja.active()&&ja.unactivate()}}else{if(ja&&ja.pannable()&&ja.active()&&ja.unactivate(),(!ja||!ja.grabbed())&&uo!=Ac&&(Ac&&y(Ac,["mouseout","tapdragout"],Ye,{x:qr[0],y:qr[1]}),uo&&y(uo,["mouseover","tapdragover"],Ye,{x:qr[0],y:qr[1]}),m.hoverData.last=uo),ja)if(Uf){if(or.boxSelectionEnabled()&&av)ja&&ja.grabbed()&&(oe(_l),ja.emit("freeon"),_l.emit("free"),m.dragData.didDrag&&(ja.emit("dragfreeon"),_l.emit("dragfree"))),o6();else if(ja&&ja.grabbed()&&m.nodeIsDraggable(ja)){var Hd=!m.dragData.didDrag;Hd&&m.redrawHint("eles",!0),m.dragData.didDrag=!0,m.hoverData.draggingEles||te(_l,{inDragLayer:!0});var T1={x:0,y:0};if(re(lo[0])&&re(lo[1])&&(T1.x+=lo[0],T1.y+=lo[1],Hd)){var zd=m.hoverData.dragDelta;zd&&re(zd[0])&&re(zd[1])&&(T1.x+=zd[0],T1.y+=zd[1])}m.hoverData.draggingEles=!0,_l.silentShift(T1).emit("position drag"),m.redrawHint("drag",!0),m.redraw()}}else vm();Dr=!0}if(Hc[2]=qr[0],Hc[3]=qr[1],Dr)return Ye.stopPropagation&&Ye.stopPropagation(),Ye.preventDefault&&Ye.preventDefault(),!1}},!1);var ze,ut,ht;m.registerBinding(window,"mouseup",function(Ye){var Pn=m.hoverData.capture;if(Pn){m.hoverData.capture=!1;var Dr=m.cy,or=m.projectIntoViewport(Ye.clientX,Ye.clientY),cr=m.selection,Ua=m.findNearestElement(or[0],or[1],!0,!1),qr=m.dragData.possibleDragElements,ns=m.hoverData.down,qo=E(Ye);if(m.data.bgActivePosistion&&(m.redrawHint("select",!0),m.redraw()),m.hoverData.tapholdCancelled=!0,m.data.bgActivePosistion=void 0,ns&&ns.unactivate(),m.hoverData.which===3){var Hc={originalEvent:Ye,type:"cxttapend",position:{x:or[0],y:or[1]}};if(ns?ns.emit(Hc):Dr.emit(Hc),!m.hoverData.cxtDragged){var uo={originalEvent:Ye,type:"cxttap",position:{x:or[0],y:or[1]}};ns?ns.emit(uo):Dr.emit(uo)}m.hoverData.cxtDragged=!1,m.hoverData.which=null}else if(m.hoverData.which===1){if(y(Ua,["mouseup","tapend","vmouseup"],Ye,{x:or[0],y:or[1]}),!m.dragData.didDrag&&!m.hoverData.dragged&&!m.hoverData.selecting&&!m.hoverData.isOverThresholdDrag&&(y(ns,["click","tap","vclick"],Ye,{x:or[0],y:or[1]}),ut=!1,Ye.timeStamp-ht<=Dr.multiClickDebounceTime()?(ze&&clearTimeout(ze),ut=!0,ht=null,y(ns,["dblclick","dbltap","vdblclick"],Ye,{x:or[0],y:or[1]})):(ze=setTimeout(function(){ut||y(ns,["oneclick","onetap","voneclick"],Ye,{x:or[0],y:or[1]})},Dr.multiClickDebounceTime()),ht=Ye.timeStamp)),ns==null&&!m.dragData.didDrag&&!m.hoverData.selecting&&!m.hoverData.dragged&&!E(Ye)&&(Dr.$(g).unselect(["tapunselect"]),qr.length>0&&m.redrawHint("eles",!0),m.dragData.possibleDragElements=qr=Dr.collection()),Ua==ns&&!m.dragData.didDrag&&!m.hoverData.selecting&&Ua!=null&&Ua._private.selectable&&(m.hoverData.dragging||(Dr.selectionType()==="additive"||qo?Ua.selected()?Ua.unselect(["tapunselect"]):Ua.select(["tapselect"]):qo||(Dr.$(g).unmerge(Ua).unselect(["tapunselect"]),Ua.select(["tapselect"]))),m.redrawHint("eles",!0)),m.hoverData.selecting){var Ac=Dr.collection(m.getAllInBox(cr[0],cr[1],cr[2],cr[3]));m.redrawHint("select",!0),Ac.length>0&&m.redrawHint("eles",!0),Dr.emit({type:"boxend",originalEvent:Ye,position:{x:or[0],y:or[1]}});var ja=function(Uf){return Uf.selectable()&&!Uf.selected()};Dr.selectionType()==="additive"||qo||Dr.$(g).unmerge(Ac).unselect(),Ac.emit("box").stdFilter(ja).select().emit("boxselect"),m.redraw()}if(m.hoverData.dragging&&(m.hoverData.dragging=!1,m.redrawHint("select",!0),m.redrawHint("eles",!0),m.redraw()),!cr[4]){m.redrawHint("drag",!0),m.redrawHint("eles",!0);var lo=ns&&ns.grabbed();oe(qr),lo&&(ns.emit("freeon"),qr.emit("free"),m.dragData.didDrag&&(ns.emit("dragfreeon"),qr.emit("dragfree")))}}cr[4]=0,m.hoverData.down=null,m.hoverData.cxtStarted=!1,m.hoverData.draggingEles=!1,m.hoverData.selecting=!1,m.hoverData.isOverThresholdDrag=!1,m.dragData.didDrag=!1,m.hoverData.dragged=!1,m.hoverData.dragDelta=[],m.hoverData.mdownPos=null,m.hoverData.mdownGPos=null}},!1);var tt=function(Ye){if(!m.scrollingPage){var Pn=m.cy,Dr=Pn.zoom(),or=Pn.pan(),cr=m.projectIntoViewport(Ye.clientX,Ye.clientY),Ua=[cr[0]*Dr+or.x,cr[1]*Dr+or.y];if(m.hoverData.draggingEles||m.hoverData.dragging||m.hoverData.cxtStarted||Fe()){Ye.preventDefault();return}if(Pn.panningEnabled()&&Pn.userPanningEnabled()&&Pn.zoomingEnabled()&&Pn.userZoomingEnabled()){Ye.preventDefault(),m.data.wheelZooming=!0,clearTimeout(m.data.wheelTimeout),m.data.wheelTimeout=setTimeout(function(){m.data.wheelZooming=!1,m.redrawHint("eles",!0),m.redraw()},150);var qr;Ye.deltaY!=null?qr=Ye.deltaY/-250:Ye.wheelDeltaY!=null?qr=Ye.wheelDeltaY/1e3:qr=Ye.wheelDelta/1e3,qr=qr*m.wheelSensitivity;var ns=Ye.deltaMode===1;ns&&(qr*=33);var qo=Pn.zoom()*Math.pow(10,qr);Ye.type==="gesturechange"&&(qo=m.gestureStartZoom*Ye.scale),Pn.zoom({level:qo,renderedPosition:{x:Ua[0],y:Ua[1]}}),Pn.emit(Ye.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};m.registerBinding(m.container,"wheel",tt,!0),m.registerBinding(window,"scroll",function(Ye){m.scrollingPage=!0,clearTimeout(m.scrollingPageTimeout),m.scrollingPageTimeout=setTimeout(function(){m.scrollingPage=!1},250)},!0),m.registerBinding(m.container,"gesturestart",function(Ye){m.gestureStartZoom=m.cy.zoom(),m.hasTouchStarted||Ye.preventDefault()},!0),m.registerBinding(m.container,"gesturechange",function(Cr){m.hasTouchStarted||tt(Cr)},!0),m.registerBinding(m.container,"mouseout",function(Ye){var Pn=m.projectIntoViewport(Ye.clientX,Ye.clientY);m.cy.emit({originalEvent:Ye,type:"mouseout",position:{x:Pn[0],y:Pn[1]}})},!1),m.registerBinding(m.container,"mouseover",function(Ye){var Pn=m.projectIntoViewport(Ye.clientX,Ye.clientY);m.cy.emit({originalEvent:Ye,type:"mouseover",position:{x:Pn[0],y:Pn[1]}})},!1);var Dt,ft,ln,Rt,Ht,wn,Sn,Kn,xn,Un,ar,xr,fr,rr=function(Ye,Pn,Dr,or){return Math.sqrt((Dr-Ye)*(Dr-Ye)+(or-Pn)*(or-Pn))},gn=function(Ye,Pn,Dr,or){return(Dr-Ye)*(Dr-Ye)+(or-Pn)*(or-Pn)},mr;m.registerBinding(m.container,"touchstart",mr=function(Ye){if(m.hasTouchStarted=!0,!!et(Ye)){ve(),m.touchData.capture=!0,m.data.bgActivePosistion=void 0;var Pn=m.cy,Dr=m.touchData.now,or=m.touchData.earlier;if(Ye.touches[0]){var cr=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);Dr[0]=cr[0],Dr[1]=cr[1]}if(Ye.touches[1]){var cr=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);Dr[2]=cr[0],Dr[3]=cr[1]}if(Ye.touches[2]){var cr=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);Dr[4]=cr[0],Dr[5]=cr[1]}if(Ye.touches[1]){m.touchData.singleTouchMoved=!0,oe(m.dragData.touchDragEles);var Ua=m.findContainerClientCoords();xn=Ua[0],Un=Ua[1],ar=Ua[2],xr=Ua[3],Dt=Ye.touches[0].clientX-xn,ft=Ye.touches[0].clientY-Un,ln=Ye.touches[1].clientX-xn,Rt=Ye.touches[1].clientY-Un,fr=0<=Dt&&Dt<=ar&&0<=ln&&ln<=ar&&0<=ft&&ft<=xr&&0<=Rt&&Rt<=xr;var qr=Pn.pan(),ns=Pn.zoom();Ht=rr(Dt,ft,ln,Rt),wn=gn(Dt,ft,ln,Rt),Sn=[(Dt+ln)/2,(ft+Rt)/2],Kn=[(Sn[0]-qr.x)/ns,(Sn[1]-qr.y)/ns];var qo=200,Hc=qo*qo;if(wn<Hc&&!Ye.touches[2]){var uo=m.findNearestElement(Dr[0],Dr[1],!0,!0),Ac=m.findNearestElement(Dr[2],Dr[3],!0,!0);uo&&uo.isNode()?(uo.activate().emit({originalEvent:Ye,type:"cxttapstart",position:{x:Dr[0],y:Dr[1]}}),m.touchData.start=uo):Ac&&Ac.isNode()?(Ac.activate().emit({originalEvent:Ye,type:"cxttapstart",position:{x:Dr[0],y:Dr[1]}}),m.touchData.start=Ac):Pn.emit({originalEvent:Ye,type:"cxttapstart",position:{x:Dr[0],y:Dr[1]}}),m.touchData.start&&(m.touchData.start._private.grabbed=!1),m.touchData.cxt=!0,m.touchData.cxtDragged=!1,m.data.bgActivePosistion=void 0,m.redraw();return}}if(Ye.touches[2])Pn.boxSelectionEnabled()&&Ye.preventDefault();else if(!Ye.touches[1]){if(Ye.touches[0]){var ja=m.findNearestElements(Dr[0],Dr[1],!0,!0),lo=ja[0];if(lo!=null&&(lo.activate(),m.touchData.start=lo,m.touchData.starts=ja,m.nodeIsGrabbable(lo))){var _l=m.dragData.touchDragEles=Pn.collection(),Uf=null;m.redrawHint("eles",!0),m.redrawHint("drag",!0),lo.selected()?(Uf=Pn.$(function(cd){return cd.selected()&&m.nodeIsGrabbable(cd)}),te(Uf,{addToList:_l})):se(lo,{addToList:_l}),C(lo);var pp=function(av){return{originalEvent:Ye,type:av,position:{x:Dr[0],y:Dr[1]}}};lo.emit(pp("grabon")),Uf?Uf.forEach(function(cd){cd.emit(pp("grab"))}):lo.emit(pp("grab"))}y(lo,["touchstart","tapstart","vmousedown"],Ye,{x:Dr[0],y:Dr[1]}),lo==null&&(m.data.bgActivePosistion={x:cr[0],y:cr[1]},m.redrawHint("select",!0),m.redraw()),m.touchData.singleTouchMoved=!1,m.touchData.singleTouchStartTime=+new Date,clearTimeout(m.touchData.tapholdTimeout),m.touchData.tapholdTimeout=setTimeout(function(){m.touchData.singleTouchMoved===!1&&!m.pinching&&!m.touchData.selecting&&y(m.touchData.start,["taphold"],Ye,{x:Dr[0],y:Dr[1]})},m.tapholdDuration)}}if(Ye.touches.length>=1){for(var bp=m.touchData.startPosition=[],Kf=0;Kf<Dr.length;Kf++)bp[Kf]=or[Kf]=Dr[Kf];var hg=Ye.touches[0];m.touchData.startGPosition=[hg.clientX,hg.clientY]}}},!1);var pr;m.registerBinding(window,"touchmove",pr=function(Ye){var Pn=m.touchData.capture;if(!(!Pn&&!et(Ye))){var Dr=m.selection,or=m.cy,cr=m.touchData.now,Ua=m.touchData.earlier,qr=or.zoom();if(Ye.touches[0]){var ns=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);cr[0]=ns[0],cr[1]=ns[1]}if(Ye.touches[1]){var ns=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);cr[2]=ns[0],cr[3]=ns[1]}if(Ye.touches[2]){var ns=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);cr[4]=ns[0],cr[5]=ns[1]}var qo=m.touchData.startGPosition,Hc;if(Pn&&Ye.touches[0]&&qo){for(var uo=[],Ac=0;Ac<cr.length;Ac++)uo[Ac]=cr[Ac]-Ua[Ac];var ja=Ye.touches[0].clientX-qo[0],lo=ja*ja,_l=Ye.touches[0].clientY-qo[1],Uf=_l*_l,pp=lo+Uf;Hc=pp>=m.touchTapThreshold2}if(Pn&&m.touchData.cxt){Ye.preventDefault();var bp=Ye.touches[0].clientX-xn,Kf=Ye.touches[0].clientY-Un,hg=Ye.touches[1].clientX-xn,cd=Ye.touches[1].clientY-Un,av=gn(bp,Kf,hg,cd),vm=av/wn,o6=150,_3=o6*o6,c6=1.5,oT=c6*c6;if(vm>=oT||av>=_3){m.touchData.cxt=!1,m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var C3={originalEvent:Ye,type:"cxttapend",position:{x:cr[0],y:cr[1]}};m.touchData.start?(m.touchData.start.unactivate().emit(C3),m.touchData.start=null):or.emit(C3)}}if(Pn&&m.touchData.cxt){var C3={originalEvent:Ye,type:"cxtdrag",position:{x:cr[0],y:cr[1]}};m.data.bgActivePosistion=void 0,m.redrawHint("select",!0),m.touchData.start?m.touchData.start.emit(C3):or.emit(C3),m.touchData.start&&(m.touchData.start._private.grabbed=!1),m.touchData.cxtDragged=!0;var Hd=m.findNearestElement(cr[0],cr[1],!0,!0);(!m.touchData.cxtOver||Hd!==m.touchData.cxtOver)&&(m.touchData.cxtOver&&m.touchData.cxtOver.emit({originalEvent:Ye,type:"cxtdragout",position:{x:cr[0],y:cr[1]}}),m.touchData.cxtOver=Hd,Hd&&Hd.emit({originalEvent:Ye,type:"cxtdragover",position:{x:cr[0],y:cr[1]}}))}else if(Pn&&Ye.touches[2]&&or.boxSelectionEnabled())Ye.preventDefault(),m.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,m.touchData.selecting||or.emit({originalEvent:Ye,type:"boxstart",position:{x:cr[0],y:cr[1]}}),m.touchData.selecting=!0,m.touchData.didSelect=!0,Dr[4]=1,!Dr||Dr.length===0||Dr[0]===void 0?(Dr[0]=(cr[0]+cr[2]+cr[4])/3,Dr[1]=(cr[1]+cr[3]+cr[5])/3,Dr[2]=(cr[0]+cr[2]+cr[4])/3+1,Dr[3]=(cr[1]+cr[3]+cr[5])/3+1):(Dr[2]=(cr[0]+cr[2]+cr[4])/3,Dr[3]=(cr[1]+cr[3]+cr[5])/3),m.redrawHint("select",!0),m.redraw();else if(Pn&&Ye.touches[1]&&!m.touchData.didSelect&&or.zoomingEnabled()&&or.panningEnabled()&&or.userZoomingEnabled()&&or.userPanningEnabled()){Ye.preventDefault(),m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var T1=m.dragData.touchDragEles;if(T1){m.redrawHint("drag",!0);for(var zd=0;zd<T1.length;zd++){var cT=T1[zd]._private;cT.grabbed=!1,cT.rscratch.inDragLayer=!1}}var F2=m.touchData.start,bp=Ye.touches[0].clientX-xn,Kf=Ye.touches[0].clientY-Un,hg=Ye.touches[1].clientX-xn,cd=Ye.touches[1].clientY-Un,DF=rr(bp,Kf,hg,cd),aee=DF/Ht;if(fr){var oee=bp-Dt,cee=Kf-ft,uee=hg-ln,lee=cd-Rt,hee=(oee+uee)/2,fee=(cee+lee)/2,B8=or.zoom(),jL=B8*aee,uT=or.pan(),IF=Kn[0]*B8+uT.x,OF=Kn[1]*B8+uT.y,dee={x:-jL/B8*(IF-uT.x-hee)+IF,y:-jL/B8*(OF-uT.y-fee)+OF};if(F2&&F2.active()){var T1=m.dragData.touchDragEles;oe(T1),m.redrawHint("drag",!0),m.redrawHint("eles",!0),F2.unactivate().emit("freeon"),T1.emit("free"),m.dragData.didDrag&&(F2.emit("dragfreeon"),T1.emit("dragfree"))}or.viewport({zoom:jL,pan:dee,cancelOnFailedZoom:!0}),or.emit("pinchzoom"),Ht=DF,Dt=bp,ft=Kf,ln=hg,Rt=cd,m.pinching=!0}if(Ye.touches[0]){var ns=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);cr[0]=ns[0],cr[1]=ns[1]}if(Ye.touches[1]){var ns=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);cr[2]=ns[0],cr[3]=ns[1]}if(Ye.touches[2]){var ns=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);cr[4]=ns[0],cr[5]=ns[1]}}else if(Ye.touches[0]&&!m.touchData.didSelect){var vp=m.touchData.start,$L=m.touchData.last,Hd;if(!m.hoverData.draggingEles&&!m.swipePanning&&(Hd=m.findNearestElement(cr[0],cr[1],!0,!0)),Pn&&vp!=null&&Ye.preventDefault(),Pn&&vp!=null&&m.nodeIsDraggable(vp))if(Hc){var T1=m.dragData.touchDragEles,NF=!m.dragData.didDrag;NF&&te(T1,{inDragLayer:!0}),m.dragData.didDrag=!0;var F8={x:0,y:0};if(re(uo[0])&&re(uo[1])&&(F8.x+=uo[0],F8.y+=uo[1],NF)){m.redrawHint("eles",!0);var wp=m.touchData.dragDelta;wp&&re(wp[0])&&re(wp[1])&&(F8.x+=wp[0],F8.y+=wp[1])}m.hoverData.draggingEles=!0,T1.silentShift(F8).emit("position drag"),m.redrawHint("drag",!0),m.touchData.startPosition[0]==Ua[0]&&m.touchData.startPosition[1]==Ua[1]&&m.redrawHint("eles",!0),m.redraw()}else{var wp=m.touchData.dragDelta=m.touchData.dragDelta||[];wp.length===0?(wp.push(uo[0]),wp.push(uo[1])):(wp[0]+=uo[0],wp[1]+=uo[1])}if(y(vp||Hd,["touchmove","tapdrag","vmousemove"],Ye,{x:cr[0],y:cr[1]}),(!vp||!vp.grabbed())&&Hd!=$L&&($L&&$L.emit({originalEvent:Ye,type:"tapdragout",position:{x:cr[0],y:cr[1]}}),Hd&&Hd.emit({originalEvent:Ye,type:"tapdragover",position:{x:cr[0],y:cr[1]}})),m.touchData.last=Hd,Pn)for(var zd=0;zd<cr.length;zd++)cr[zd]&&m.touchData.startPosition[zd]&&Hc&&(m.touchData.singleTouchMoved=!0);if(Pn&&(vp==null||vp.pannable())&&or.panningEnabled()&&or.userPanningEnabled()){var gee=S(vp,m.touchData.starts);gee&&(Ye.preventDefault(),m.data.bgActivePosistion||(m.data.bgActivePosistion=P5(m.touchData.startPosition)),m.swipePanning?(or.panBy({x:uo[0]*qr,y:uo[1]*qr}),or.emit("dragpan")):Hc&&(m.swipePanning=!0,or.panBy({x:ja*qr,y:_l*qr}),or.emit("dragpan"),vp&&(vp.unactivate(),m.redrawHint("select",!0),m.touchData.start=null)));var ns=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);cr[0]=ns[0],cr[1]=ns[1]}}for(var Ac=0;Ac<cr.length;Ac++)Ua[Ac]=cr[Ac];Pn&&Ye.touches.length>0&&!m.hoverData.draggingEles&&!m.swipePanning&&m.data.bgActivePosistion!=null&&(m.data.bgActivePosistion=void 0,m.redrawHint("select",!0),m.redraw())}},!1);var ri;m.registerBinding(window,"touchcancel",ri=function(Ye){var Pn=m.touchData.start;m.touchData.capture=!1,Pn&&Pn.unactivate()});var Ti,ia,Ra,Li;if(m.registerBinding(window,"touchend",Ti=function(Ye){var Pn=m.touchData.start,Dr=m.touchData.capture;if(Dr)Ye.touches.length===0&&(m.touchData.capture=!1),Ye.preventDefault();else return;var or=m.selection;m.swipePanning=!1,m.hoverData.draggingEles=!1;var cr=m.cy,Ua=cr.zoom(),qr=m.touchData.now,ns=m.touchData.earlier;if(Ye.touches[0]){var qo=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);qr[0]=qo[0],qr[1]=qo[1]}if(Ye.touches[1]){var qo=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);qr[2]=qo[0],qr[3]=qo[1]}if(Ye.touches[2]){var qo=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);qr[4]=qo[0],qr[5]=qo[1]}Pn&&Pn.unactivate();var Hc;if(m.touchData.cxt){if(Hc={originalEvent:Ye,type:"cxttapend",position:{x:qr[0],y:qr[1]}},Pn?Pn.emit(Hc):cr.emit(Hc),!m.touchData.cxtDragged){var uo={originalEvent:Ye,type:"cxttap",position:{x:qr[0],y:qr[1]}};Pn?Pn.emit(uo):cr.emit(uo)}m.touchData.start&&(m.touchData.start._private.grabbed=!1),m.touchData.cxt=!1,m.touchData.start=null,m.redraw();return}if(!Ye.touches[2]&&cr.boxSelectionEnabled()&&m.touchData.selecting){m.touchData.selecting=!1;var Ac=cr.collection(m.getAllInBox(or[0],or[1],or[2],or[3]));or[0]=void 0,or[1]=void 0,or[2]=void 0,or[3]=void 0,or[4]=0,m.redrawHint("select",!0),cr.emit({type:"boxend",originalEvent:Ye,position:{x:qr[0],y:qr[1]}});var ja=function(_3){return _3.selectable()&&!_3.selected()};Ac.emit("box").stdFilter(ja).select().emit("boxselect"),Ac.nonempty()&&m.redrawHint("eles",!0),m.redraw()}if(Pn!=null&&Pn.unactivate(),Ye.touches[2])m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);else if(!Ye.touches[1]){if(!Ye.touches[0]){if(!Ye.touches[0]){m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var lo=m.dragData.touchDragEles;if(Pn!=null){var _l=Pn._private.grabbed;oe(lo),m.redrawHint("drag",!0),m.redrawHint("eles",!0),_l&&(Pn.emit("freeon"),lo.emit("free"),m.dragData.didDrag&&(Pn.emit("dragfreeon"),lo.emit("dragfree"))),y(Pn,["touchend","tapend","vmouseup","tapdragout"],Ye,{x:qr[0],y:qr[1]}),Pn.unactivate(),m.touchData.start=null}else{var Uf=m.findNearestElement(qr[0],qr[1],!0,!0);y(Uf,["touchend","tapend","vmouseup","tapdragout"],Ye,{x:qr[0],y:qr[1]})}var pp=m.touchData.startPosition[0]-qr[0],bp=pp*pp,Kf=m.touchData.startPosition[1]-qr[1],hg=Kf*Kf,cd=bp+hg,av=cd*Ua*Ua;m.touchData.singleTouchMoved||(Pn||cr.$(":selected").unselect(["tapunselect"]),y(Pn,["tap","vclick"],Ye,{x:qr[0],y:qr[1]}),ia=!1,Ye.timeStamp-Li<=cr.multiClickDebounceTime()?(Ra&&clearTimeout(Ra),ia=!0,Li=null,y(Pn,["dbltap","vdblclick"],Ye,{x:qr[0],y:qr[1]})):(Ra=setTimeout(function(){ia||y(Pn,["onetap","voneclick"],Ye,{x:qr[0],y:qr[1]})},cr.multiClickDebounceTime()),Li=Ye.timeStamp)),Pn!=null&&!m.dragData.didDrag&&Pn._private.selectable&&av<m.touchTapThreshold2&&!m.pinching&&(cr.selectionType()==="single"?(cr.$(g).unmerge(Pn).unselect(["tapunselect"]),Pn.select(["tapselect"])):Pn.selected()?Pn.unselect(["tapunselect"]):Pn.select(["tapselect"]),m.redrawHint("eles",!0)),m.touchData.singleTouchMoved=!0}}}for(var vm=0;vm<qr.length;vm++)ns[vm]=qr[vm];m.dragData.didDrag=!1,Ye.touches.length===0&&(m.touchData.dragDelta=[],m.touchData.startPosition=null,m.touchData.startGPosition=null,m.touchData.didSelect=!1),Ye.touches.length<2&&(Ye.touches.length===1&&(m.touchData.startGPosition=[Ye.touches[0].clientX,Ye.touches[0].clientY]),m.pinching=!1,m.redrawHint("eles",!0),m.redraw())},!1),typeof TouchEvent>"u"){var vi=[],Ts=function(Ye){return{clientX:Ye.clientX,clientY:Ye.clientY,force:1,identifier:Ye.pointerId,pageX:Ye.pageX,pageY:Ye.pageY,radiusX:Ye.width/2,radiusY:Ye.height/2,screenX:Ye.screenX,screenY:Ye.screenY,target:Ye.target}},Wi=function(Ye){return{event:Ye,touch:Ts(Ye)}},Ii=function(Ye){vi.push(Wi(Ye))},es=function(Ye){for(var Pn=0;Pn<vi.length;Pn++){var Dr=vi[Pn];if(Dr.event.pointerId===Ye.pointerId){vi.splice(Pn,1);return}}},to=function(Ye){var Pn=vi.filter(function(Dr){return Dr.event.pointerId===Ye.pointerId})[0];Pn.event=Ye,Pn.touch=Ts(Ye)},sa=function(Ye){Ye.touches=vi.map(function(Pn){return Pn.touch})},Ws=function(Ye){return Ye.pointerType==="mouse"||Ye.pointerType===4};m.registerBinding(m.container,"pointerdown",function(Cr){Ws(Cr)||(Cr.preventDefault(),Ii(Cr),sa(Cr),mr(Cr))}),m.registerBinding(m.container,"pointerup",function(Cr){Ws(Cr)||(es(Cr),sa(Cr),Ti(Cr))}),m.registerBinding(m.container,"pointercancel",function(Cr){Ws(Cr)||(es(Cr),sa(Cr),ri(Cr))}),m.registerBinding(m.container,"pointermove",function(Cr){Ws(Cr)||(Cr.preventDefault(),to(Cr),sa(Cr),pr(Cr))})}};var rv={};rv.generatePolygon=function(m,g){return this.nodeShapes[m]={renderer:this,name:m,points:g,draw:function(E,S,D,I,R){this.renderer.nodeShapeImpl("polygon",E,S,D,I,R,this.points)},intersectLine:function(E,S,D,I,R,$,C){return l8(R,$,this.points,E,S,D/2,I/2,C)},checkPoint:function(E,S,D,I,R,$,C){return ev(E,S,this.points,$,C,I,R,[0,-1],D)}}},rv.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(g,y,E,S,D){this.renderer.nodeShapeImpl(this.name,g,y,E,S,D)},intersectLine:function(g,y,E,S,D,I,R){return lY(D,I,g,y,E/2+R,S/2+R)},checkPoint:function(g,y,E,S,D,I,R){return v3(g,y,S,D,I,R,E)}}},rv.generateRoundPolygon=function(m,g){for(var y=new Array(g.length*2),E=0;E<g.length/2;E++){var S=E*2,D=void 0;E<g.length/2-1?D=(E+1)*2:D=0,y[E*4]=g[S],y[E*4+1]=g[S+1];var I=g[D]-g[S],R=g[D+1]-g[S+1],$=Math.sqrt(I*I+R*R);y[E*4+2]=I/$,y[E*4+3]=R/$}return this.nodeShapes[m]={renderer:this,name:m,points:y,draw:function(G,U,J,te,se){this.renderer.nodeShapeImpl("round-polygon",G,U,J,te,se,this.points)},intersectLine:function(G,U,J,te,se,oe,Ce){return hY(se,oe,this.points,G,U,J,te)},checkPoint:function(G,U,J,te,se,oe,Ce){return uY(G,U,this.points,oe,Ce,te,se)}}},rv.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:sd(4,0),draw:function(g,y,E,S,D){this.renderer.nodeShapeImpl(this.name,g,y,E,S,D)},intersectLine:function(g,y,E,S,D,I,R){return MP(D,I,g,y,E,S,R)},checkPoint:function(g,y,E,S,D,I,R){var $=h8(S,D),C=$*2;return!!(ev(g,y,this.points,I,R,S,D-C,[0,-1],E)||ev(g,y,this.points,I,R,S-C,D,[0,-1],E)||v3(g,y,C,C,I-S/2+$,R-D/2+$,E)||v3(g,y,C,C,I+S/2-$,R-D/2+$,E)||v3(g,y,C,C,I+S/2-$,R+D/2-$,E)||v3(g,y,C,C,I-S/2+$,R+D/2-$,E))}}},rv.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:NP(),points:sd(4,0),draw:function(g,y,E,S,D){this.renderer.nodeShapeImpl(this.name,g,y,E,S,D)},generateCutTrianglePts:function(g,y,E,S){var D=this.cornerLength,I=y/2,R=g/2,$=E-R,C=E+R,G=S-I,U=S+I;return{topLeft:[$,G+D,$+D,G,$+D,G+D],topRight:[C-D,G,C,G+D,C-D,G+D],bottomRight:[C,U-D,C-D,U,C-D,U-D],bottomLeft:[$+D,U,$,U-D,$+D,U-D]}},intersectLine:function(g,y,E,S,D,I,R){var $=this.generateCutTrianglePts(E+2*R,S+2*R,g,y),C=[].concat.apply([],[$.topLeft.splice(0,4),$.topRight.splice(0,4),$.bottomRight.splice(0,4),$.bottomLeft.splice(0,4)]);return l8(D,I,C,g,y)},checkPoint:function(g,y,E,S,D,I,R){if(ev(g,y,this.points,I,R,S,D-2*this.cornerLength,[0,-1],E)||ev(g,y,this.points,I,R,S-2*this.cornerLength,D,[0,-1],E))return!0;var $=this.generateCutTrianglePts(S,D,I,R);return $d(g,y,$.topLeft)||$d(g,y,$.topRight)||$d(g,y,$.bottomRight)||$d(g,y,$.bottomLeft)}}},rv.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:sd(4,0),draw:function(g,y,E,S,D){this.renderer.nodeShapeImpl(this.name,g,y,E,S,D)},intersectLine:function(g,y,E,S,D,I,R){var $=.15,C=.5,G=.85,U=this.generateBarrelBezierPts(E+2*R,S+2*R,g,y),J=function(oe){var Ce=B5({x:oe[0],y:oe[1]},{x:oe[2],y:oe[3]},{x:oe[4],y:oe[5]},$),ve=B5({x:oe[0],y:oe[1]},{x:oe[2],y:oe[3]},{x:oe[4],y:oe[5]},C),Ae=B5({x:oe[0],y:oe[1]},{x:oe[2],y:oe[3]},{x:oe[4],y:oe[5]},G);return[oe[0],oe[1],Ce.x,Ce.y,ve.x,ve.y,Ae.x,Ae.y,oe[4],oe[5]]},te=[].concat(J(U.topLeft),J(U.topRight),J(U.bottomRight),J(U.bottomLeft));return l8(D,I,te,g,y)},generateBarrelBezierPts:function(g,y,E,S){var D=y/2,I=g/2,R=E-I,$=E+I,C=S-D,G=S+D,U=oL(g,y),J=U.heightOffset,te=U.widthOffset,se=U.ctrlPtOffsetPct*g,oe={topLeft:[R,C+J,R+se,C,R+te,C],topRight:[$-te,C,$-se,C,$,C+J],bottomRight:[$,G-J,$-se,G,$-te,G],bottomLeft:[R+te,G,R+se,G,R,G-J]};return oe.topLeft.isTop=!0,oe.topRight.isTop=!0,oe.bottomLeft.isBottom=!0,oe.bottomRight.isBottom=!0,oe},checkPoint:function(g,y,E,S,D,I,R){var $=oL(S,D),C=$.heightOffset,G=$.widthOffset;if(ev(g,y,this.points,I,R,S,D-2*C,[0,-1],E)||ev(g,y,this.points,I,R,S-2*G,D,[0,-1],E))return!0;for(var U=this.generateBarrelBezierPts(S,D,I,R),J=function(Fe,et,ze){var ut=ze[4],ht=ze[2],tt=ze[0],Dt=ze[5],ft=ze[1],ln=Math.min(ut,tt),Rt=Math.max(ut,tt),Ht=Math.min(Dt,ft),wn=Math.max(Dt,ft);if(ln<=Fe&&Fe<=Rt&&Ht<=et&&et<=wn){var Sn=fY(ut,ht,tt),Kn=sY(Sn[0],Sn[1],Sn[2],Fe),xn=Kn.filter(function(Un){return 0<=Un&&Un<=1});if(xn.length>0)return xn[0]}return null},te=Object.keys(U),se=0;se<te.length;se++){var oe=te[se],Ce=U[oe],ve=J(g,y,Ce);if(ve!=null){var Ae=Ce[5],Le=Ce[3],Be=Ce[1],Xe=hf(Ae,Le,Be,ve);if(Ce.isTop&&Xe<=y||Ce.isBottom&&y<=Xe)return!0}}return!1}}},rv.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:sd(4,0),draw:function(g,y,E,S,D){this.renderer.nodeShapeImpl(this.name,g,y,E,S,D)},intersectLine:function(g,y,E,S,D,I,R){var $=g-(E/2+R),C=y-(S/2+R),G=C,U=g+(E/2+R),J=cm(D,I,g,y,$,C,U,G,!1);return J.length>0?J:MP(D,I,g,y,E,S,R)},checkPoint:function(g,y,E,S,D,I,R){var $=h8(S,D),C=2*$;if(ev(g,y,this.points,I,R,S,D-C,[0,-1],E)||ev(g,y,this.points,I,R,S-C,D,[0,-1],E))return!0;var G=S/2+2*E,U=D/2+2*E,J=[I-G,R-U,I-G,R,I+G,R,I+G,R-U];return!!($d(g,y,J)||v3(g,y,C,C,I+S/2-$,R+D/2-$,E)||v3(g,y,C,C,I-S/2+$,R+D/2-$,E))}}},rv.registerNodeShapes=function(){var m=this.nodeShapes={},g=this;this.generateEllipse(),this.generatePolygon("triangle",sd(3,0)),this.generateRoundPolygon("round-triangle",sd(3,0)),this.generatePolygon("rectangle",sd(4,0)),m.square=m.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var y=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",y),this.generateRoundPolygon("round-diamond",y)}this.generatePolygon("pentagon",sd(5,0)),this.generateRoundPolygon("round-pentagon",sd(5,0)),this.generatePolygon("hexagon",sd(6,0)),this.generateRoundPolygon("round-hexagon",sd(6,0)),this.generatePolygon("heptagon",sd(7,0)),this.generateRoundPolygon("round-heptagon",sd(7,0)),this.generatePolygon("octagon",sd(8,0)),this.generateRoundPolygon("round-octagon",sd(8,0));var E=new Array(20);{var S=sL(5,0),D=sL(5,Math.PI/5),I=.5*(3-Math.sqrt(5));I*=1.57;for(var R=0;R<D.length/2;R++)D[R*2]*=I,D[R*2+1]*=I;for(var R=0;R<20/4;R++)E[R*4]=S[R*2],E[R*4+1]=S[R*2+1],E[R*4+2]=D[R*2],E[R*4+3]=D[R*2+1]}E=OP(E),this.generatePolygon("star",E),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var $=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",$),this.generateRoundPolygon("round-tag",$)}m.makePolygon=function(C){var G=C.join("$"),U="polygon-"+G,J;return(J=this[U])?J:g.generatePolygon(U,C)}};var M8={};M8.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},M8.redraw=function(m){m=m||EP();var g=this;g.averageRedrawTime===void 0&&(g.averageRedrawTime=0),g.lastRedrawTime===void 0&&(g.lastRedrawTime=0),g.lastDrawTime===void 0&&(g.lastDrawTime=0),g.requestedFrame=!0,g.renderOptions=m},M8.beforeRender=function(m,g){if(!this.destroyed){g==null&&Fu("Priority is not optional for beforeRender");var y=this.beforeRenderCallbacks;y.push({fn:m,priority:g}),y.sort(function(E,S){return S.priority-E.priority})}};var yF=function(g,y,E){for(var S=g.beforeRenderCallbacks,D=0;D<S.length;D++)S[D].fn(y,E)};M8.startRenderLoop=function(){var m=this,g=m.cy;if(!m.renderLoopStarted){m.renderLoopStarted=!0;var y=function E(S){if(!m.destroyed){if(!g.batching())if(m.requestedFrame&&!m.skipFrame){yF(m,!0,S);var D=uc();m.render(m.renderOptions);var I=m.lastDrawTime=uc();m.averageRedrawTime===void 0&&(m.averageRedrawTime=I-D),m.redrawCount===void 0&&(m.redrawCount=0),m.redrawCount++,m.redrawTotalTime===void 0&&(m.redrawTotalTime=0);var R=I-D;m.redrawTotalTime+=R,m.lastRedrawTime=R,m.averageRedrawTime=m.averageRedrawTime/2+R/2,m.requestedFrame=!1}else yF(m,!1,S);m.skipFrame=!1,Ei(E)}};Ei(y)}};var LJ=function(g){this.init(g)},DL=LJ,x3=DL.prototype;x3.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],x3.init=function(m){var g=this;g.options=m,g.cy=m.cy;var y=g.container=m.cy.container();if(j){var E=j.document,S=E.head,D="__________cytoscape_stylesheet",I="__________cytoscape_container",R=E.getElementById(D)!=null;if(y.className.indexOf(I)<0&&(y.className=(y.className||"")+" "+I),!R){var $=E.createElement("style");$.id=D,$.innerHTML="."+I+" { position: relative; }",S.insertBefore($,S.children[0])}var C=j.getComputedStyle(y),G=C.getPropertyValue("position");G==="static"&&Jo("A Cytoscape container has style position:static and so can not use UI extensions properly")}g.selection=[void 0,void 0,void 0,void 0,0],g.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],g.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},g.dragData={possibleDragElements:[]},g.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},g.redraws=0,g.showFps=m.showFps,g.debug=m.debug,g.hideEdgesOnViewport=m.hideEdgesOnViewport,g.textureOnViewport=m.textureOnViewport,g.wheelSensitivity=m.wheelSensitivity,g.motionBlurEnabled=m.motionBlur,g.forcedPixelRatio=re(m.pixelRatio)?m.pixelRatio:null,g.motionBlur=m.motionBlur,g.motionBlurOpacity=m.motionBlurOpacity,g.motionBlurTransparency=1-g.motionBlurOpacity,g.motionBlurPxRatio=1,g.mbPxRBlurry=1,g.minMbLowQualFrames=4,g.fullQualityMb=!1,g.clearedForMotionBlur=[],g.desktopTapThreshold=m.desktopTapThreshold,g.desktopTapThreshold2=m.desktopTapThreshold*m.desktopTapThreshold,g.touchTapThreshold=m.touchTapThreshold,g.touchTapThreshold2=m.touchTapThreshold*m.touchTapThreshold,g.tapholdDuration=500,g.bindings=[],g.beforeRenderCallbacks=[],g.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},g.registerNodeShapes(),g.registerArrowShapes(),g.registerCalculationListeners()},x3.notify=function(m,g){var y=this,E=y.cy;if(!this.destroyed){if(m==="init"){y.load();return}if(m==="destroy"){y.destroy();return}(m==="add"||m==="remove"||m==="move"&&E.hasCompoundNodes()||m==="load"||m==="zorder"||m==="mount")&&y.invalidateCachedZSortedEles(),m==="viewport"&&y.redrawHint("select",!0),(m==="load"||m==="resize"||m==="mount")&&(y.invalidateContainerClientCoordsCache(),y.matchCanvasSize(y.container)),y.redrawHint("eles",!0),y.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},x3.destroy=function(){var m=this;m.destroyed=!0,m.cy.stopAnimationLoop();for(var g=0;g<m.bindings.length;g++){var y=m.bindings[g],E=y,S=E.target;(S.off||S.removeEventListener).apply(S,E.args)}if(m.bindings=[],m.beforeRenderCallbacks=[],m.onUpdateEleCalcsFns=[],m.removeObserver&&m.removeObserver.disconnect(),m.styleObserver&&m.styleObserver.disconnect(),m.resizeObserver&&m.resizeObserver.disconnect(),m.labelCalcDiv)try{document.body.removeChild(m.labelCalcDiv)}catch{}},x3.isHeadless=function(){return!1},[AL,L8,mF,e6,rv,M8].forEach(function(m){Oe(x3,m)});var IL=1e3/60,eT={setupDequeueing:function(g){return function(){var E=this,S=this.renderer;if(!E.dequeueingSetup){E.dequeueingSetup=!0;var D=Rd(function(){S.redrawHint("eles",!0),S.redrawHint("drag",!0),S.redraw()},g.deqRedrawThreshold),I=function(C,G){var U=uc(),J=S.averageRedrawTime,te=S.lastRedrawTime,se=[],oe=S.cy.extent(),Ce=S.getPixelRatio();for(C||S.flushRenderedStyleQueue();;){var ve=uc(),Ae=ve-U,Le=ve-G;if(te<IL){var Be=IL-(C?J:0);if(Le>=g.deqFastCost*Be)break}else if(C){if(Ae>=g.deqCost*te||Ae>=g.deqAvgCost*J)break}else if(Le>=g.deqNoDrawCost*IL)break;var Xe=g.deq(E,Ce,oe);if(Xe.length>0)for(var Ue=0;Ue<Xe.length;Ue++)se.push(Xe[Ue]);else break}se.length>0&&(g.onDeqd(E,se),!C&&g.shouldRedraw(E,se,Ce,oe)&&D())},R=g.priority||x0;S.beforeRender(I,R(E))}}}},MJ=function(){function m(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cp;p(this,m),this.idsByKey=new N2,this.keyForId=new N2,this.cachesByLvl=new N2,this.lvls=[],this.getKey=g,this.doesEleInvalidateKey=y}return k(m,[{key:"getIdsFor",value:function(y){y==null&&Fu("Can not get id list for null key");var E=this.idsByKey,S=this.idsByKey.get(y);return S||(S=new N5,E.set(y,S)),S}},{key:"addIdForKey",value:function(y,E){y!=null&&this.getIdsFor(y).add(E)}},{key:"deleteIdForKey",value:function(y,E){y!=null&&this.getIdsFor(y).delete(E)}},{key:"getNumberOfIdsForKey",value:function(y){return y==null?0:this.getIdsFor(y).size}},{key:"updateKeyMappingFor",value:function(y){var E=y.id(),S=this.keyForId.get(E),D=this.getKey(y);this.deleteIdForKey(S,E),this.addIdForKey(D,E),this.keyForId.set(E,D)}},{key:"deleteKeyMappingFor",value:function(y){var E=y.id(),S=this.keyForId.get(E);this.deleteIdForKey(S,E),this.keyForId.delete(E)}},{key:"keyHasChangedFor",value:function(y){var E=y.id(),S=this.keyForId.get(E),D=this.getKey(y);return S!==D}},{key:"isInvalid",value:function(y){return this.keyHasChangedFor(y)||this.doesEleInvalidateKey(y)}},{key:"getCachesAt",value:function(y){var E=this.cachesByLvl,S=this.lvls,D=E.get(y);return D||(D=new N2,E.set(y,D),S.push(y)),D}},{key:"getCache",value:function(y,E){return this.getCachesAt(E).get(y)}},{key:"get",value:function(y,E){var S=this.getKey(y),D=this.getCache(S,E);return D!=null&&this.updateKeyMappingFor(y),D}},{key:"getForCachedKey",value:function(y,E){var S=this.keyForId.get(y.id()),D=this.getCache(S,E);return D}},{key:"hasCache",value:function(y,E){return this.getCachesAt(E).has(y)}},{key:"has",value:function(y,E){var S=this.getKey(y);return this.hasCache(S,E)}},{key:"setCache",value:function(y,E,S){S.key=y,this.getCachesAt(E).set(y,S)}},{key:"set",value:function(y,E,S){var D=this.getKey(y);this.setCache(D,E,S),this.updateKeyMappingFor(y)}},{key:"deleteCache",value:function(y,E){this.getCachesAt(E).delete(y)}},{key:"delete",value:function(y,E){var S=this.getKey(y);this.deleteCache(S,E)}},{key:"invalidateKey",value:function(y){var E=this;this.lvls.forEach(function(S){return E.deleteCache(y,S)})}},{key:"invalidate",value:function(y){var E=y.id(),S=this.keyForId.get(E);this.deleteKeyMappingFor(y);var D=this.doesEleInvalidateKey(y);return D&&this.invalidateKey(S),D||this.getNumberOfIdsForKey(S)===0}}]),m}(),tT=25,nT=50,t6=-4,OL=3,NL=7.99,DJ=8,IJ=1024,OJ=1024,kF=1024,NJ=.2,PJ=.8,BJ=10,FJ=.15,RJ=.1,jJ=.9,$J=.9,HJ=100,zJ=1,n6={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},GJ=zf({getKey:null,doesEleInvalidateKey:cp,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:O5,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),D8=function(g,y){var E=this;E.renderer=g,E.onDequeues=[];var S=GJ(y);Oe(E,S),E.lookup=new MJ(S.getKey,S.doesEleInvalidateKey),E.setupDequeueing()},Dh=D8.prototype;Dh.reasons=n6,Dh.getTextureQueue=function(m){var g=this;return g.eleImgCaches=g.eleImgCaches||{},g.eleImgCaches[m]=g.eleImgCaches[m]||[]},Dh.getRetiredTextureQueue=function(m){var g=this,y=g.eleImgCaches.retired=g.eleImgCaches.retired||{},E=y[m]=y[m]||[];return E},Dh.getElementQueue=function(){var m=this,g=m.eleCacheQueue=m.eleCacheQueue||new o8(function(y,E){return E.reqs-y.reqs});return g},Dh.getElementKeyToQueue=function(){var m=this,g=m.eleKeyToCacheQueue=m.eleKeyToCacheQueue||{};return g},Dh.getElement=function(m,g,y,E,S){var D=this,I=this.renderer,R=I.cy.zoom(),$=this.lookup;if(!g||g.w===0||g.h===0||isNaN(g.w)||isNaN(g.h)||!m.visible()||m.removed()||!D.allowEdgeTxrCaching&&m.isEdge()||!D.allowParentTxrCaching&&m.isParent())return null;if(E==null&&(E=Math.ceil(tL(R*y))),E<t6)E=t6;else if(R>=NL||E>OL)return null;var C=Math.pow(2,E),G=g.h*C,U=g.w*C,J=I.eleTextBiggerThanMin(m,C);if(!this.isVisible(m,J))return null;var te=$.get(m,E);if(te&&te.invalidated&&(te.invalidated=!1,te.texture.invalidatedWidth-=te.width),te)return te;var se;if(G<=tT?se=tT:G<=nT?se=nT:se=Math.ceil(G/nT)*nT,G>kF||U>OJ)return null;var oe=D.getTextureQueue(se),Ce=oe[oe.length-2],ve=function(){return D.recycleTexture(se,U)||D.addTexture(se,U)};Ce||(Ce=oe[oe.length-1]),Ce||(Ce=ve()),Ce.width-Ce.usedWidth<U&&(Ce=ve());for(var Ae=function(Rt){return Rt&&Rt.scaledLabelShown===J},Le=S&&S===n6.dequeue,Be=S&&S===n6.highQuality,Xe=S&&S===n6.downscale,Ue,Fe=E+1;Fe<=OL;Fe++){var et=$.get(m,Fe);if(et){Ue=et;break}}var ze=Ue&&Ue.level===E+1?Ue:null,ut=function(){Ce.context.drawImage(ze.texture.canvas,ze.x,0,ze.width,ze.height,Ce.usedWidth,0,U,G)};if(Ce.context.setTransform(1,0,0,1,0,0),Ce.context.clearRect(Ce.usedWidth,0,U,se),Ae(ze))ut();else if(Ae(Ue))if(Be){for(var ht=Ue.level;ht>E;ht--)ze=D.getElement(m,g,y,ht,n6.downscale);ut()}else return D.queueElement(m,Ue.level-1),Ue;else{var tt;if(!Le&&!Be&&!Xe)for(var Dt=E-1;Dt>=t6;Dt--){var ft=$.get(m,Dt);if(ft){tt=ft;break}}if(Ae(tt))return D.queueElement(m,E),tt;Ce.context.translate(Ce.usedWidth,0),Ce.context.scale(C,C),this.drawElement(Ce.context,m,g,J,!1),Ce.context.scale(1/C,1/C),Ce.context.translate(-Ce.usedWidth,0)}return te={x:Ce.usedWidth,texture:Ce,level:E,scale:C,width:U,height:G,scaledLabelShown:J},Ce.usedWidth+=Math.ceil(U+DJ),Ce.eleCaches.push(te),$.set(m,E,te),D.checkTextureFullness(Ce),te},Dh.invalidateElements=function(m){for(var g=0;g<m.length;g++)this.invalidateElement(m[g])},Dh.invalidateElement=function(m){var g=this,y=g.lookup,E=[],S=y.isInvalid(m);if(S){for(var D=t6;D<=OL;D++){var I=y.getForCachedKey(m,D);I&&E.push(I)}var R=y.invalidate(m);if(R)for(var $=0;$<E.length;$++){var C=E[$],G=C.texture;G.invalidatedWidth+=C.width,C.invalidated=!0,g.checkTextureUtility(G)}g.removeFromQueue(m)}},Dh.checkTextureUtility=function(m){m.invalidatedWidth>=NJ*m.width&&this.retireTexture(m)},Dh.checkTextureFullness=function(m){var g=this,y=g.getTextureQueue(m.height);m.usedWidth/m.width>PJ&&m.fullnessChecks>=BJ?am(y,m):m.fullnessChecks++},Dh.retireTexture=function(m){var g=this,y=m.height,E=g.getTextureQueue(y),S=this.lookup;am(E,m),m.retired=!0;for(var D=m.eleCaches,I=0;I<D.length;I++){var R=D[I];S.deleteCache(R.key,R.level)}JA(D);var $=g.getRetiredTextureQueue(y);$.push(m)},Dh.addTexture=function(m,g){var y=this,E=y.getTextureQueue(m),S={};return E.push(S),S.eleCaches=[],S.height=m,S.width=Math.max(IJ,g),S.usedWidth=0,S.invalidatedWidth=0,S.fullnessChecks=0,S.canvas=y.renderer.makeOffscreenCanvas(S.width,S.height),S.context=S.canvas.getContext("2d"),S},Dh.recycleTexture=function(m,g){for(var y=this,E=y.getTextureQueue(m),S=y.getRetiredTextureQueue(m),D=0;D<S.length;D++){var I=S[D];if(I.width>=g)return I.retired=!1,I.usedWidth=0,I.invalidatedWidth=0,I.fullnessChecks=0,JA(I.eleCaches),I.context.setTransform(1,0,0,1,0,0),I.context.clearRect(0,0,I.width,I.height),am(S,I),E.push(I),I}},Dh.queueElement=function(m,g){var y=this,E=y.getElementQueue(),S=y.getElementKeyToQueue(),D=this.getKey(m),I=S[D];if(I)I.level=Math.max(I.level,g),I.eles.merge(m),I.reqs++,E.updateItem(I);else{var R={eles:m.spawn().merge(m),level:g,reqs:1,key:D};E.push(R),S[D]=R}},Dh.dequeue=function(m){for(var g=this,y=g.getElementQueue(),E=g.getElementKeyToQueue(),S=[],D=g.lookup,I=0;I<zJ&&y.size()>0;I++){var R=y.pop(),$=R.key,C=R.eles[0],G=D.hasCache(C,R.level);if(E[$]=null,G)continue;S.push(R);var U=g.getBoundingBox(C);g.getElement(C,U,m,R.level,n6.dequeue)}return S},Dh.removeFromQueue=function(m){var g=this,y=g.getElementQueue(),E=g.getElementKeyToQueue(),S=this.getKey(m),D=E[S];D!=null&&(D.eles.length===1?(D.reqs=b1,y.updateItem(D),y.pop(),E[S]=null):D.eles.unmerge(m))},Dh.onDequeue=function(m){this.onDequeues.push(m)},Dh.offDequeue=function(m){am(this.onDequeues,m)},Dh.setupDequeueing=eT.setupDequeueing({deqRedrawThreshold:HJ,deqCost:FJ,deqAvgCost:RJ,deqNoDrawCost:jJ,deqFastCost:$J,deq:function(g,y,E){return g.dequeue(y,E)},onDeqd:function(g,y){for(var E=0;E<g.onDequeues.length;E++){var S=g.onDequeues[E];S(y)}},shouldRedraw:function(g,y,E,S){for(var D=0;D<y.length;D++)for(var I=y[D].eles,R=0;R<I.length;R++){var $=I[R].boundingBox();if(rL($,S))return!0}return!1},priority:function(g){return g.renderer.beforeRenderPriorities.eleTxrDeq}});var qJ=1,r6=-4,I8=2,rT=3.99,O8=50,cg=50,VJ=.15,dge=.1,gge=.9,pge=.9,bge=1,PL=250,vge=4e3*4e3,wge=!0,UJ=function(g){var y=this,E=y.renderer=g,S=E.cy;y.layersByLevel={},y.firstGet=!0,y.lastInvalidationTime=uc()-2*PL,y.skipping=!1,y.eleTxrDeqs=S.collection(),y.scheduleElementRefinement=Rd(function(){y.refineElementTextures(y.eleTxrDeqs),y.eleTxrDeqs.unmerge(y.eleTxrDeqs)},cg),E.beforeRender(function(I,R){R-y.lastInvalidationTime<=PL?y.skipping=!0:y.skipping=!1},E.beforeRenderPriorities.lyrTxrSkip);var D=function(R,$){return $.reqs-R.reqs};y.layersQueue=new o8(D),y.setupDequeueing()},k1=UJ.prototype,KJ=0,mge=Math.pow(2,53)-1;k1.makeLayer=function(m,g){var y=Math.pow(2,g),E=Math.ceil(m.w*y),S=Math.ceil(m.h*y),D=this.renderer.makeOffscreenCanvas(E,S),I={id:KJ=++KJ%mge,bb:m,level:g,width:E,height:S,canvas:D,context:D.getContext("2d"),eles:[],elesQueue:[],reqs:0},R=I.context,$=-I.bb.x1,C=-I.bb.y1;return R.scale(y,y),R.translate($,C),I},k1.getLayers=function(m,g,y){var E=this,S=E.renderer,D=S.cy,I=D.zoom(),R=E.firstGet;if(E.firstGet=!1,y==null){if(y=Math.ceil(tL(I*g)),y<r6)y=r6;else if(I>=rT||y>I8)return null}E.validateLayersElesOrdering(y,m);var $=E.layersByLevel,C=Math.pow(2,y),G=$[y]=$[y]||[],U,J=E.levelIsComplete(y,m),te,se=function(){var ut=function(ln){if(E.validateLayersElesOrdering(ln,m),E.levelIsComplete(ln,m))return te=$[ln],!0},ht=function(ln){if(!te)for(var Rt=y+ln;r6<=Rt&&Rt<=I8&&!ut(Rt);Rt+=ln);};ht(1),ht(-1);for(var tt=G.length-1;tt>=0;tt--){var Dt=G[tt];Dt.invalid&&am(G,Dt)}};if(!J)se();else return G;var oe=function(){if(!U){U=jd();for(var ut=0;ut<m.length;ut++)eY(U,m[ut].boundingBox())}return U},Ce=function(ut){ut=ut||{};var ht=ut.after;oe();var tt=U.w*C*(U.h*C);if(tt>vge)return null;var Dt=E.makeLayer(U,y);if(ht!=null){var ft=G.indexOf(ht)+1;G.splice(ft,0,Dt)}else(ut.insert===void 0||ut.insert)&&G.unshift(Dt);return Dt};if(E.skipping&&!R)return null;for(var ve=null,Ae=m.length/qJ,Le=!R,Be=0;Be<m.length;Be++){var Xe=m[Be],Ue=Xe._private.rscratch,Fe=Ue.imgLayerCaches=Ue.imgLayerCaches||{},et=Fe[y];if(et){ve=et;continue}if((!ve||ve.eles.length>=Ae||!LP(ve.bb,Xe.boundingBox()))&&(ve=Ce({insert:!0,after:ve}),!ve))return null;te||Le?E.queueLayer(ve,Xe):E.drawEleInLayer(ve,Xe,y,g),ve.eles.push(Xe),Fe[y]=ve}return te||(Le?null:G)},k1.getEleLevelForLayerLevel=function(m,g){return m},k1.drawEleInLayer=function(m,g,y,E){var S=this,D=this.renderer,I=m.context,R=g.boundingBox();R.w===0||R.h===0||!g.visible()||(y=S.getEleLevelForLayerLevel(y,E),D.setImgSmoothing(I,!1),D.drawCachedElement(I,g,null,null,y,wge),D.setImgSmoothing(I,!0))},k1.levelIsComplete=function(m,g){var y=this,E=y.layersByLevel[m];if(!E||E.length===0)return!1;for(var S=0,D=0;D<E.length;D++){var I=E[D];if(I.reqs>0||I.invalid)return!1;S+=I.eles.length}return S===g.length},k1.validateLayersElesOrdering=function(m,g){var y=this.layersByLevel[m];if(y)for(var E=0;E<y.length;E++){for(var S=y[E],D=-1,I=0;I<g.length;I++)if(S.eles[0]===g[I]){D=I;break}if(D<0){this.invalidateLayer(S);continue}for(var R=D,I=0;I<S.eles.length;I++)if(S.eles[I]!==g[R+I]){this.invalidateLayer(S);break}}},k1.updateElementsInLayers=function(m,g){for(var y=this,E=De(m[0]),S=0;S<m.length;S++)for(var D=E?null:m[S],I=E?m[S]:m[S].ele,R=I._private.rscratch,$=R.imgLayerCaches=R.imgLayerCaches||{},C=r6;C<=I8;C++){var G=$[C];G&&(D&&y.getEleLevelForLayerLevel(G.level)!==D.level||g(G,I,D))}},k1.haveLayers=function(){for(var m=this,g=!1,y=r6;y<=I8;y++){var E=m.layersByLevel[y];if(E&&E.length>0){g=!0;break}}return g},k1.invalidateElements=function(m){var g=this;m.length!==0&&(g.lastInvalidationTime=uc(),!(m.length===0||!g.haveLayers())&&g.updateElementsInLayers(m,function(E,S,D){g.invalidateLayer(E)}))},k1.invalidateLayer=function(m){if(this.lastInvalidationTime=uc(),!m.invalid){var g=m.level,y=m.eles,E=this.layersByLevel[g];am(E,m),m.elesQueue=[],m.invalid=!0,m.replacement&&(m.replacement.invalid=!0);for(var S=0;S<y.length;S++){var D=y[S]._private.rscratch.imgLayerCaches;D&&(D[g]=null)}}},k1.refineElementTextures=function(m){var g=this;g.updateElementsInLayers(m,function(E,S,D){var I=E.replacement;if(I||(I=E.replacement=g.makeLayer(E.bb,E.level),I.replaces=E,I.eles=E.eles),!I.reqs)for(var R=0;R<I.eles.length;R++)g.queueLayer(I,I.eles[R])})},k1.enqueueElementRefinement=function(m){this.eleTxrDeqs.merge(m),this.scheduleElementRefinement()},k1.queueLayer=function(m,g){var y=this,E=y.layersQueue,S=m.elesQueue,D=S.hasId=S.hasId||{};if(!m.replacement){if(g){if(D[g.id()])return;S.push(g),D[g.id()]=!0}m.reqs?(m.reqs++,E.updateItem(m)):(m.reqs=1,E.push(m))}},k1.dequeue=function(m){for(var g=this,y=g.layersQueue,E=[],S=0;S<bge&&y.size()!==0;){var D=y.peek();if(D.replacement){y.pop();continue}if(D.replaces&&D!==D.replaces.replacement){y.pop();continue}if(D.invalid){y.pop();continue}var I=D.elesQueue.shift();I&&(g.drawEleInLayer(D,I,D.level,m),S++),E.length===0&&E.push(!0),D.elesQueue.length===0&&(y.pop(),D.reqs=0,D.replaces&&g.applyLayerReplacement(D),g.requestRedraw())}return E},k1.applyLayerReplacement=function(m){var g=this,y=g.layersByLevel[m.level],E=m.replaces,S=y.indexOf(E);if(!(S<0||E.invalid)){y[S]=m;for(var D=0;D<m.eles.length;D++){var I=m.eles[D]._private,R=I.imgLayerCaches=I.imgLayerCaches||{};R&&(R[m.level]=m)}g.requestRedraw()}},k1.requestRedraw=Rd(function(){var m=this.renderer;m.redrawHint("eles",!0),m.redrawHint("drag",!0),m.redraw()},100),k1.setupDequeueing=eT.setupDequeueing({deqRedrawThreshold:O8,deqCost:VJ,deqAvgCost:dge,deqNoDrawCost:gge,deqFastCost:pge,deq:function(g,y){return g.dequeue(y)},onDeqd:x0,shouldRedraw:O5,priority:function(g){return g.renderer.beforeRenderPriorities.lyrTxrDeq}});var T0={},WJ;function xF(m,g){for(var y=0;y<g.length;y++){var E=g[y];m.lineTo(E.x,E.y)}}function EF(m,g,y){for(var E,S=0;S<g.length;S++){var D=g[S];S===0&&(E=D),m.lineTo(D.x,D.y)}m.quadraticCurveTo(y.x,y.y,E.x,E.y)}function YJ(m,g,y){m.beginPath&&m.beginPath();for(var E=g,S=0;S<E.length;S++){var D=E[S];m.lineTo(D.x,D.y)}var I=y,R=y[0];m.moveTo(R.x,R.y);for(var S=1;S<I.length;S++){var D=I[S];m.lineTo(D.x,D.y)}m.closePath&&m.closePath()}function yge(m,g,y,E,S){m.beginPath&&m.beginPath(),m.arc(y,E,S,0,Math.PI*2,!1);var D=g,I=D[0];m.moveTo(I.x,I.y);for(var R=0;R<D.length;R++){var $=D[R];m.lineTo($.x,$.y)}m.closePath&&m.closePath()}function kge(m,g,y,E){m.arc(g,y,E,0,Math.PI*2,!1)}T0.arrowShapeImpl=function(m){return(WJ||(WJ={polygon:xF,"triangle-backcurve":EF,"triangle-tee":YJ,"circle-triangle":yge,"triangle-cross":YJ,circle:kge}))[m]};var iv={};iv.drawElement=function(m,g,y,E,S,D){var I=this;g.isNode()?I.drawNode(m,g,y,E,S,D):I.drawEdge(m,g,y,E,S,D)},iv.drawElementOverlay=function(m,g){var y=this;g.isNode()?y.drawNodeOverlay(m,g):y.drawEdgeOverlay(m,g)},iv.drawElementUnderlay=function(m,g){var y=this;g.isNode()?y.drawNodeUnderlay(m,g):y.drawEdgeUnderlay(m,g)},iv.drawCachedElementPortion=function(m,g,y,E,S,D,I,R){var $=this,C=y.getBoundingBox(g);if(!(C.w===0||C.h===0)){var G=y.getElement(g,C,E,S,D);if(G!=null){var U=R($,g);if(U===0)return;var J=I($,g),te=C.x1,se=C.y1,oe=C.w,Ce=C.h,ve,Ae,Le,Be,Xe;if(J!==0){var Ue=y.getRotationPoint(g);Le=Ue.x,Be=Ue.y,m.translate(Le,Be),m.rotate(J),Xe=$.getImgSmoothing(m),Xe||$.setImgSmoothing(m,!0);var Fe=y.getRotationOffset(g);ve=Fe.x,Ae=Fe.y}else ve=te,Ae=se;var et;U!==1&&(et=m.globalAlpha,m.globalAlpha=et*U),m.drawImage(G.texture.canvas,G.x,0,G.width,G.height,ve,Ae,oe,Ce),U!==1&&(m.globalAlpha=et),J!==0&&(m.rotate(-J),m.translate(-Le,-Be),Xe||$.setImgSmoothing(m,!1))}else y.drawElement(m,g)}};var BL=function(){return 0},iT=function(g,y){return g.getTextAngle(y,null)},TF=function(g,y){return g.getTextAngle(y,"source")},xge=function(g,y){return g.getTextAngle(y,"target")},Ege=function(g,y){return y.effectiveOpacity()},_F=function(g,y){return y.pstyle("text-opacity").pfValue*y.effectiveOpacity()};iv.drawCachedElement=function(m,g,y,E,S,D){var I=this,R=I.data,$=R.eleTxrCache,C=R.lblTxrCache,G=R.slbTxrCache,U=R.tlbTxrCache,J=g.boundingBox(),te=D===!0?$.reasons.highQuality:null;if(!(J.w===0||J.h===0||!g.visible())&&(!E||rL(J,E))){var se=g.isEdge(),oe=g.element()._private.rscratch.badLine;I.drawElementUnderlay(m,g),I.drawCachedElementPortion(m,g,$,y,S,te,BL,Ege),(!se||!oe)&&I.drawCachedElementPortion(m,g,C,y,S,te,iT,_F),se&&!oe&&(I.drawCachedElementPortion(m,g,G,y,S,te,TF,_F),I.drawCachedElementPortion(m,g,U,y,S,te,xge,_F)),I.drawElementOverlay(m,g)}},iv.drawElements=function(m,g){for(var y=this,E=0;E<g.length;E++){var S=g[E];y.drawElement(m,S)}},iv.drawCachedElements=function(m,g,y,E){for(var S=this,D=0;D<g.length;D++){var I=g[D];S.drawCachedElement(m,I,y,E)}},iv.drawCachedNodes=function(m,g,y,E){for(var S=this,D=0;D<g.length;D++){var I=g[D];I.isNode()&&S.drawCachedElement(m,I,y,E)}},iv.drawLayeredElements=function(m,g,y,E){var S=this,D=S.data.lyrTxrCache.getLayers(g,y);if(D)for(var I=0;I<D.length;I++){var R=D[I],$=R.bb;$.w===0||$.h===0||m.drawImage(R.canvas,$.x1,$.y1,$.w,$.h)}else S.drawCachedElements(m,g,y,E)};var sv={};sv.drawEdge=function(m,g,y){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,I=this,R=g._private.rscratch;if(!(D&&!g.visible())&&!(R.badLine||R.allpts==null||isNaN(R.allpts[0]))){var $;y&&($=y,m.translate(-$.x1,-$.y1));var C=D?g.pstyle("opacity").value:1,G=D?g.pstyle("line-opacity").value:1,U=g.pstyle("curve-style").value,J=g.pstyle("line-style").value,te=g.pstyle("width").pfValue,se=g.pstyle("line-cap").value,oe=C*G,Ce=C*G,ve=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oe;U==="straight-triangle"?(I.eleStrokeStyle(m,g,tt),I.drawEdgeTrianglePath(g,m,R.allpts)):(m.lineWidth=te,m.lineCap=se,I.eleStrokeStyle(m,g,tt),I.drawEdgePath(g,m,R.allpts,J),m.lineCap="butt")},Ae=function(){S&&I.drawEdgeOverlay(m,g)},Le=function(){S&&I.drawEdgeUnderlay(m,g)},Be=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ce;I.drawArrowheads(m,g,tt)},Xe=function(){I.drawElementText(m,g,null,E)};m.lineJoin="round";var Ue=g.pstyle("ghost").value==="yes";if(Ue){var Fe=g.pstyle("ghost-offset-x").pfValue,et=g.pstyle("ghost-offset-y").pfValue,ze=g.pstyle("ghost-opacity").value,ut=oe*ze;m.translate(Fe,et),ve(ut),Be(ut),m.translate(-Fe,-et)}Le(),ve(),Be(),Ae(),Xe(),y&&m.translate($.x1,$.y1)}};var XJ=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(y,E){if(E.visible()){var S=E.pstyle("".concat(g,"-opacity")).value;if(S!==0){var D=this,I=D.usePaths(),R=E._private.rscratch,$=E.pstyle("".concat(g,"-padding")).pfValue,C=2*$,G=E.pstyle("".concat(g,"-color")).value;y.lineWidth=C,R.edgeType==="self"&&!I?y.lineCap="butt":y.lineCap="round",D.colorStrokeStyle(y,G[0],G[1],G[2],S),D.drawEdgePath(E,y,R.allpts,"solid")}}}};sv.drawEdgeOverlay=XJ("overlay"),sv.drawEdgeUnderlay=XJ("underlay"),sv.drawEdgePath=function(m,g,y,E){var S=m._private.rscratch,D=g,I,R=!1,$=this.usePaths(),C=m.pstyle("line-dash-pattern").pfValue,G=m.pstyle("line-dash-offset").pfValue;if($){var U=y.join("$"),J=S.pathCacheKey&&S.pathCacheKey===U;J?(I=g=S.pathCache,R=!0):(I=g=new Path2D,S.pathCacheKey=U,S.pathCache=I)}if(D.setLineDash)switch(E){case"dotted":D.setLineDash([1,1]);break;case"dashed":D.setLineDash(C),D.lineDashOffset=G;break;case"solid":D.setLineDash([]);break}if(!R&&!S.badLine)switch(g.beginPath&&g.beginPath(),g.moveTo(y[0],y[1]),S.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var te=2;te+3<y.length;te+=4)g.quadraticCurveTo(y[te],y[te+1],y[te+2],y[te+3]);break;case"straight":case"segments":case"haystack":for(var se=2;se+1<y.length;se+=2)g.lineTo(y[se],y[se+1]);break}g=D,$?g.stroke(I):g.stroke(),g.setLineDash&&g.setLineDash([])},sv.drawEdgeTrianglePath=function(m,g,y){g.fillStyle=g.strokeStyle;for(var E=m.pstyle("width").pfValue,S=0;S+1<y.length;S+=2){var D=[y[S+2]-y[S],y[S+3]-y[S+1]],I=Math.sqrt(D[0]*D[0]+D[1]*D[1]),R=[D[1]/I,-D[0]/I],$=[R[0]*E/2,R[1]*E/2];g.beginPath(),g.moveTo(y[S]-$[0],y[S+1]-$[1]),g.lineTo(y[S]+$[0],y[S+1]+$[1]),g.lineTo(y[S+2],y[S+3]),g.closePath(),g.fill()}},sv.drawArrowheads=function(m,g,y){var E=g._private.rscratch,S=E.edgeType==="haystack";S||this.drawArrowhead(m,g,"source",E.arrowStartX,E.arrowStartY,E.srcArrowAngle,y),this.drawArrowhead(m,g,"mid-target",E.midX,E.midY,E.midtgtArrowAngle,y),this.drawArrowhead(m,g,"mid-source",E.midX,E.midY,E.midsrcArrowAngle,y),S||this.drawArrowhead(m,g,"target",E.arrowEndX,E.arrowEndY,E.tgtArrowAngle,y)},sv.drawArrowhead=function(m,g,y,E,S,D,I){if(!(isNaN(E)||E==null||isNaN(S)||S==null||isNaN(D)||D==null)){var R=this,$=g.pstyle(y+"-arrow-shape").value;if($!=="none"){var C=g.pstyle(y+"-arrow-fill").value==="hollow"?"both":"filled",G=g.pstyle(y+"-arrow-fill").value,U=g.pstyle("width").pfValue,J=g.pstyle("opacity").value;I===void 0&&(I=J);var te=m.globalCompositeOperation;(I!==1||G==="hollow")&&(m.globalCompositeOperation="destination-out",R.colorFillStyle(m,255,255,255,1),R.colorStrokeStyle(m,255,255,255,1),R.drawArrowShape(g,m,C,U,$,E,S,D),m.globalCompositeOperation=te);var se=g.pstyle(y+"-arrow-color").value;R.colorFillStyle(m,se[0],se[1],se[2],I),R.colorStrokeStyle(m,se[0],se[1],se[2],I),R.drawArrowShape(g,m,G,U,$,E,S,D)}}},sv.drawArrowShape=function(m,g,y,E,S,D,I,R){var $=this,C=this.usePaths()&&S!=="triangle-cross",G=!1,U,J=g,te={x:D,y:I},se=m.pstyle("arrow-scale").value,oe=this.getArrowWidth(E,se),Ce=$.arrowShapes[S];if(C){var ve=$.arrowPathCache=$.arrowPathCache||[],Ae=op(S),Le=ve[Ae];Le!=null?(U=g=Le,G=!0):(U=g=new Path2D,ve[Ae]=U)}G||(g.beginPath&&g.beginPath(),C?Ce.draw(g,1,0,{x:0,y:0},1):Ce.draw(g,oe,R,te,E),g.closePath&&g.closePath()),g=J,C&&(g.translate(D,I),g.rotate(R),g.scale(oe,oe)),(y==="filled"||y==="both")&&(C?g.fill(U):g.fill()),(y==="hollow"||y==="both")&&(g.lineWidth=(Ce.matchEdgeWidth?E:1)/(C?oe:1),g.lineJoin="miter",C?g.stroke(U):g.stroke()),C&&(g.scale(1/oe,1/oe),g.rotate(-R),g.translate(-D,-I))};var sT={};sT.safeDrawImage=function(m,g,y,E,S,D,I,R,$,C){if(!(S<=0||D<=0||$<=0||C<=0))try{m.drawImage(g,y,E,S,D,I,R,$,C)}catch(G){Jo(G)}},sT.drawInscribedImage=function(m,g,y,E,S){var D=this,I=y.position(),R=I.x,$=I.y,C=y.cy().style(),G=C.getIndexedStyle.bind(C),U=G(y,"background-fit","value",E),J=G(y,"background-repeat","value",E),te=y.width(),se=y.height(),oe=y.padding()*2,Ce=te+(G(y,"background-width-relative-to","value",E)==="inner"?0:oe),ve=se+(G(y,"background-height-relative-to","value",E)==="inner"?0:oe),Ae=y._private.rscratch,Le=G(y,"background-clip","value",E),Be=Le==="node",Xe=G(y,"background-image-opacity","value",E)*S,Ue=G(y,"background-image-smoothing","value",E),Fe=g.width||g.cachedW,et=g.height||g.cachedH;(Fe==null||et==null)&&(document.body.appendChild(g),Fe=g.cachedW=g.width||g.offsetWidth,et=g.cachedH=g.height||g.offsetHeight,document.body.removeChild(g));var ze=Fe,ut=et;if(G(y,"background-width","value",E)!=="auto"&&(G(y,"background-width","units",E)==="%"?ze=G(y,"background-width","pfValue",E)*Ce:ze=G(y,"background-width","pfValue",E)),G(y,"background-height","value",E)!=="auto"&&(G(y,"background-height","units",E)==="%"?ut=G(y,"background-height","pfValue",E)*ve:ut=G(y,"background-height","pfValue",E)),!(ze===0||ut===0)){if(U==="contain"){var ht=Math.min(Ce/ze,ve/ut);ze*=ht,ut*=ht}else if(U==="cover"){var ht=Math.max(Ce/ze,ve/ut);ze*=ht,ut*=ht}var tt=R-Ce/2,Dt=G(y,"background-position-x","units",E),ft=G(y,"background-position-x","pfValue",E);Dt==="%"?tt+=(Ce-ze)*ft:tt+=ft;var ln=G(y,"background-offset-x","units",E),Rt=G(y,"background-offset-x","pfValue",E);ln==="%"?tt+=(Ce-ze)*Rt:tt+=Rt;var Ht=$-ve/2,wn=G(y,"background-position-y","units",E),Sn=G(y,"background-position-y","pfValue",E);wn==="%"?Ht+=(ve-ut)*Sn:Ht+=Sn;var Kn=G(y,"background-offset-y","units",E),xn=G(y,"background-offset-y","pfValue",E);Kn==="%"?Ht+=(ve-ut)*xn:Ht+=xn,Ae.pathCache&&(tt-=R,Ht-=$,R=0,$=0);var Un=m.globalAlpha;m.globalAlpha=Xe;var ar=D.getImgSmoothing(m),xr=!1;if(Ue==="no"&&ar?(D.setImgSmoothing(m,!1),xr=!0):Ue==="yes"&&!ar&&(D.setImgSmoothing(m,!0),xr=!0),J==="no-repeat")Be&&(m.save(),Ae.pathCache?m.clip(Ae.pathCache):(D.nodeShapes[D.getNodeShape(y)].draw(m,R,$,Ce,ve),m.clip())),D.safeDrawImage(m,g,0,0,Fe,et,tt,Ht,ze,ut),Be&&m.restore();else{var fr=m.createPattern(g,J);m.fillStyle=fr,D.nodeShapes[D.getNodeShape(y)].draw(m,R,$,Ce,ve),m.translate(tt,Ht),m.fill(),m.translate(-tt,-Ht)}m.globalAlpha=Un,xr&&D.setImgSmoothing(m,ar)}};var i6={};i6.eleTextBiggerThanMin=function(m,g){if(!g){var y=m.cy().zoom(),E=this.getPixelRatio(),S=Math.ceil(tL(y*E));g=Math.pow(2,S)}var D=m.pstyle("font-size").pfValue*g,I=m.pstyle("min-zoomed-font-size").pfValue;return!(D<I)},i6.drawElementText=function(m,g,y,E,S){var D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,I=this;if(E==null){if(D&&!I.eleTextBiggerThanMin(g))return}else if(E===!1)return;if(g.isNode()){var R=g.pstyle("label");if(!R||!R.value)return;var $=I.getLabelJustification(g);m.textAlign=$,m.textBaseline="bottom"}else{var C=g.element()._private.rscratch.badLine,G=g.pstyle("label"),U=g.pstyle("source-label"),J=g.pstyle("target-label");if(C||(!G||!G.value)&&(!U||!U.value)&&(!J||!J.value))return;m.textAlign="center",m.textBaseline="bottom"}var te=!y,se;y&&(se=y,m.translate(-se.x1,-se.y1)),S==null?(I.drawText(m,g,null,te,D),g.isEdge()&&(I.drawText(m,g,"source",te,D),I.drawText(m,g,"target",te,D))):I.drawText(m,g,S,te,D),y&&m.translate(se.x1,se.y1)},i6.getFontCache=function(m){var g;this.fontCaches=this.fontCaches||[];for(var y=0;y<this.fontCaches.length;y++)if(g=this.fontCaches[y],g.context===m)return g;return g={context:m},this.fontCaches.push(g),g},i6.setupTextStyle=function(m,g){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,E=g.pstyle("font-style").strValue,S=g.pstyle("font-size").pfValue+"px",D=g.pstyle("font-family").strValue,I=g.pstyle("font-weight").strValue,R=y?g.effectiveOpacity()*g.pstyle("text-opacity").value:1,$=g.pstyle("text-outline-opacity").value*R,C=g.pstyle("color").value,G=g.pstyle("text-outline-color").value;m.font=E+" "+I+" "+S+" "+D,m.lineJoin="round",this.colorFillStyle(m,C[0],C[1],C[2],R),this.colorStrokeStyle(m,G[0],G[1],G[2],$)};function Tge(m,g,y,E,S){var D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5;m.beginPath(),m.moveTo(g+D,y),m.lineTo(g+E-D,y),m.quadraticCurveTo(g+E,y,g+E,y+D),m.lineTo(g+E,y+S-D),m.quadraticCurveTo(g+E,y+S,g+E-D,y+S),m.lineTo(g+D,y+S),m.quadraticCurveTo(g,y+S,g,y+S-D),m.lineTo(g,y+D),m.quadraticCurveTo(g,y,g+D,y),m.closePath(),m.fill()}i6.getTextAngle=function(m,g){var y,E=m._private,S=E.rscratch,D=g?g+"-":"",I=m.pstyle(D+"text-rotation"),R=lp(S,"labelAngle",g);return I.strValue==="autorotate"?y=m.isEdge()?R:0:I.strValue==="none"?y=0:y=I.pfValue,y},i6.drawText=function(m,g,y){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=g._private,I=D.rscratch,R=S?g.effectiveOpacity():1;if(!(S&&(R===0||g.pstyle("text-opacity").value===0))){y==="main"&&(y=null);var $=lp(I,"labelX",y),C=lp(I,"labelY",y),G,U,J=this.getLabelText(g,y);if(J!=null&&J!==""&&!isNaN($)&&!isNaN(C)){this.setupTextStyle(m,g,S);var te=y?y+"-":"",se=lp(I,"labelWidth",y),oe=lp(I,"labelHeight",y),Ce=g.pstyle(te+"text-margin-x").pfValue,ve=g.pstyle(te+"text-margin-y").pfValue,Ae=g.isEdge(),Le=g.pstyle("text-halign").value,Be=g.pstyle("text-valign").value;Ae&&(Le="center",Be="center"),$+=Ce,C+=ve;var Xe;switch(E?Xe=this.getTextAngle(g,y):Xe=0,Xe!==0&&(G=$,U=C,m.translate(G,U),m.rotate(Xe),$=0,C=0),Be){case"top":break;case"center":C+=oe/2;break;case"bottom":C+=oe;break}var Ue=g.pstyle("text-background-opacity").value,Fe=g.pstyle("text-border-opacity").value,et=g.pstyle("text-border-width").pfValue,ze=g.pstyle("text-background-padding").pfValue;if(Ue>0||et>0&&Fe>0){var ut=$-ze;switch(Le){case"left":ut-=se;break;case"center":ut-=se/2;break}var ht=C-oe-ze,tt=se+2*ze,Dt=oe+2*ze;if(Ue>0){var ft=m.fillStyle,ln=g.pstyle("text-background-color").value;m.fillStyle="rgba("+ln[0]+","+ln[1]+","+ln[2]+","+Ue*R+")";var Rt=g.pstyle("text-background-shape").strValue;Rt.indexOf("round")===0?Tge(m,ut,ht,tt,Dt,2):m.fillRect(ut,ht,tt,Dt),m.fillStyle=ft}if(et>0&&Fe>0){var Ht=m.strokeStyle,wn=m.lineWidth,Sn=g.pstyle("text-border-color").value,Kn=g.pstyle("text-border-style").value;if(m.strokeStyle="rgba("+Sn[0]+","+Sn[1]+","+Sn[2]+","+Fe*R+")",m.lineWidth=et,m.setLineDash)switch(Kn){case"dotted":m.setLineDash([1,1]);break;case"dashed":m.setLineDash([4,2]);break;case"double":m.lineWidth=et/4,m.setLineDash([]);break;case"solid":m.setLineDash([]);break}if(m.strokeRect(ut,ht,tt,Dt),Kn==="double"){var xn=et/2;m.strokeRect(ut+xn,ht+xn,tt-xn*2,Dt-xn*2)}m.setLineDash&&m.setLineDash([]),m.lineWidth=wn,m.strokeStyle=Ht}}var Un=2*g.pstyle("text-outline-width").pfValue;if(Un>0&&(m.lineWidth=Un),g.pstyle("text-wrap").value==="wrap"){var ar=lp(I,"labelWrapCachedLines",y),xr=lp(I,"labelLineHeight",y),fr=se/2,rr=this.getLabelJustification(g);switch(rr==="auto"||(Le==="left"?rr==="left"?$+=-se:rr==="center"&&($+=-fr):Le==="center"?rr==="left"?$+=-fr:rr==="right"&&($+=fr):Le==="right"&&(rr==="center"?$+=fr:rr==="right"&&($+=se))),Be){case"top":C-=(ar.length-1)*xr;break;case"center":case"bottom":C-=(ar.length-1)*xr;break}for(var gn=0;gn<ar.length;gn++)Un>0&&m.strokeText(ar[gn],$,C),m.fillText(ar[gn],$,C),C+=xr}else Un>0&&m.strokeText(J,$,C),m.fillText(J,$,C);Xe!==0&&(m.rotate(-Xe),m.translate(-G,-U))}}};var N8={};N8.drawNode=function(m,g,y){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,I=this,R,$,C=g._private,G=C.rscratch,U=g.position();if(!(!re(U.x)||!re(U.y))&&!(D&&!g.visible())){var J=D?g.effectiveOpacity():1,te=I.usePaths(),se,oe=!1,Ce=g.padding();R=g.width()+2*Ce,$=g.height()+2*Ce;var ve;y&&(ve=y,m.translate(-ve.x1,-ve.y1));for(var Ae=g.pstyle("background-image"),Le=Ae.value,Be=new Array(Le.length),Xe=new Array(Le.length),Ue=0,Fe=0;Fe<Le.length;Fe++){var et=Le[Fe],ze=Be[Fe]=et!=null&&et!=="none";if(ze){var ut=g.cy().style().getIndexedStyle(g,"background-image-crossorigin","value",Fe);Ue++,Xe[Fe]=I.getCachedImage(et,ut,function(){C.backgroundTimestamp=Date.now(),g.emitAndNotify("background")})}}var ht=g.pstyle("background-blacken").value,tt=g.pstyle("border-width").pfValue,Dt=g.pstyle("background-opacity").value*J,ft=g.pstyle("border-color").value,ln=g.pstyle("border-style").value,Rt=g.pstyle("border-opacity").value*J;m.lineJoin="miter";var Ht=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dt;I.eleFillStyle(m,g,Ii)},wn=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rt;I.colorStrokeStyle(m,ft[0],ft[1],ft[2],Ii)},Sn=g.pstyle("shape").strValue,Kn=g.pstyle("shape-polygon-points").pfValue;if(te){m.translate(U.x,U.y);var xn=I.nodePathCache=I.nodePathCache||[],Un=I5(Sn==="polygon"?Sn+","+Kn.join(","):Sn,""+$,""+R),ar=xn[Un];ar!=null?(se=ar,oe=!0,G.pathCache=se):(se=new Path2D,xn[Un]=G.pathCache=se)}var xr=function(){if(!oe){var Ii=U;te&&(Ii={x:0,y:0}),I.nodeShapes[I.getNodeShape(g)].draw(se||m,Ii.x,Ii.y,R,$)}te?m.fill(se):m.fill()},fr=function(){for(var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J,es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,to=C.backgrounding,sa=0,Ws=0;Ws<Xe.length;Ws++){var Cr=g.cy().style().getIndexedStyle(g,"background-image-containment","value",Ws);if(es&&Cr==="over"||!es&&Cr==="inside"){sa++;continue}Be[Ws]&&Xe[Ws].complete&&!Xe[Ws].error&&(sa++,I.drawInscribedImage(m,Xe[Ws],g,Ws,Ii))}C.backgrounding=sa!==Ue,to!==C.backgrounding&&g.updateStyle(!1)},rr=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J;I.hasPie(g)&&(I.drawPie(m,g,es),Ii&&(te||I.nodeShapes[I.getNodeShape(g)].draw(m,U.x,U.y,R,$)))},gn=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J,es=(ht>0?ht:-ht)*Ii,to=ht>0?0:255;ht!==0&&(I.colorFillStyle(m,to,to,to,es),te?m.fill(se):m.fill())},mr=function(){if(tt>0){if(m.lineWidth=tt,m.lineCap="butt",m.setLineDash)switch(ln){case"dotted":m.setLineDash([1,1]);break;case"dashed":m.setLineDash([4,2]);break;case"solid":case"double":m.setLineDash([]);break}if(te?m.stroke(se):m.stroke(),ln==="double"){m.lineWidth=tt/3;var Ii=m.globalCompositeOperation;m.globalCompositeOperation="destination-out",te?m.stroke(se):m.stroke(),m.globalCompositeOperation=Ii}m.setLineDash&&m.setLineDash([])}},pr=function(){S&&I.drawNodeOverlay(m,g,U,R,$)},ri=function(){S&&I.drawNodeUnderlay(m,g,U,R,$)},Ti=function(){I.drawElementText(m,g,null,E)},ia=g.pstyle("ghost").value==="yes";if(ia){var Ra=g.pstyle("ghost-offset-x").pfValue,Li=g.pstyle("ghost-offset-y").pfValue,vi=g.pstyle("ghost-opacity").value,Ts=vi*J;m.translate(Ra,Li),Ht(vi*Dt),xr(),fr(Ts,!0),wn(vi*Rt),mr(),rr(ht!==0||tt!==0),fr(Ts,!1),gn(Ts),m.translate(-Ra,-Li)}te&&m.translate(-U.x,-U.y),ri(),te&&m.translate(U.x,U.y),Ht(),xr(),fr(J,!0),wn(),mr(),rr(ht!==0||tt!==0),fr(J,!1),gn(),te&&m.translate(-U.x,-U.y),Ti(),pr(),y&&m.translate(ve.x1,ve.y1)}};var QJ=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(y,E,S,D,I){var R=this;if(E.visible()){var $=E.pstyle("".concat(g,"-padding")).pfValue,C=E.pstyle("".concat(g,"-opacity")).value,G=E.pstyle("".concat(g,"-color")).value,U=E.pstyle("".concat(g,"-shape")).value;if(C>0){if(S=S||E.position(),D==null||I==null){var J=E.padding();D=E.width()+2*J,I=E.height()+2*J}R.colorFillStyle(y,G[0],G[1],G[2],C),R.nodeShapes[U].draw(y,S.x,S.y,D+$*2,I+$*2),y.fill()}}}};N8.drawNodeOverlay=QJ("overlay"),N8.drawNodeUnderlay=QJ("underlay"),N8.hasPie=function(m){return m=m[0],m._private.hasPie},N8.drawPie=function(m,g,y,E){g=g[0],E=E||g.position();var S=g.cy().style(),D=g.pstyle("pie-size"),I=E.x,R=E.y,$=g.width(),C=g.height(),G=Math.min($,C)/2,U=0,J=this.usePaths();J&&(I=0,R=0),D.units==="%"?G=G*D.pfValue:D.pfValue!==void 0&&(G=D.pfValue/2);for(var te=1;te<=S.pieBackgroundN;te++){var se=g.pstyle("pie-"+te+"-background-size").value,oe=g.pstyle("pie-"+te+"-background-color").value,Ce=g.pstyle("pie-"+te+"-background-opacity").value*y,ve=se/100;ve+U>1&&(ve=1-U);var Ae=1.5*Math.PI+2*Math.PI*U,Le=2*Math.PI*ve,Be=Ae+Le;se===0||U>=1||U+ve>1||(m.beginPath(),m.moveTo(I,R),m.arc(I,R,G,Ae,Be),m.closePath(),this.colorFillStyle(m,oe[0],oe[1],oe[2],Ce),m.fill(),U+=ve)}};var ug={},_ge=100;ug.getPixelRatio=function(){var m=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var g=m.backingStorePixelRatio||m.webkitBackingStorePixelRatio||m.mozBackingStorePixelRatio||m.msBackingStorePixelRatio||m.oBackingStorePixelRatio||m.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/g},ug.paintCache=function(m){for(var g=this.paintCaches=this.paintCaches||[],y=!0,E,S=0;S<g.length;S++)if(E=g[S],E.context===m){y=!1;break}return y&&(E={context:m},g.push(E)),E},ug.createGradientStyleFor=function(m,g,y,E,S){var D,I=this.usePaths(),R=y.pstyle(g+"-gradient-stop-colors").value,$=y.pstyle(g+"-gradient-stop-positions").pfValue;if(E==="radial-gradient")if(y.isEdge()){var C=y.sourceEndpoint(),G=y.targetEndpoint(),U=y.midpoint(),J=p3(C,U),te=p3(G,U);D=m.createRadialGradient(U.x,U.y,0,U.x,U.y,Math.max(J,te))}else{var se=I?{x:0,y:0}:y.position(),oe=y.paddedWidth(),Ce=y.paddedHeight();D=m.createRadialGradient(se.x,se.y,0,se.x,se.y,Math.max(oe,Ce))}else if(y.isEdge()){var ve=y.sourceEndpoint(),Ae=y.targetEndpoint();D=m.createLinearGradient(ve.x,ve.y,Ae.x,Ae.y)}else{var Le=I?{x:0,y:0}:y.position(),Be=y.paddedWidth(),Xe=y.paddedHeight(),Ue=Be/2,Fe=Xe/2,et=y.pstyle("background-gradient-direction").value;switch(et){case"to-bottom":D=m.createLinearGradient(Le.x,Le.y-Fe,Le.x,Le.y+Fe);break;case"to-top":D=m.createLinearGradient(Le.x,Le.y+Fe,Le.x,Le.y-Fe);break;case"to-left":D=m.createLinearGradient(Le.x+Ue,Le.y,Le.x-Ue,Le.y);break;case"to-right":D=m.createLinearGradient(Le.x-Ue,Le.y,Le.x+Ue,Le.y);break;case"to-bottom-right":case"to-right-bottom":D=m.createLinearGradient(Le.x-Ue,Le.y-Fe,Le.x+Ue,Le.y+Fe);break;case"to-top-right":case"to-right-top":D=m.createLinearGradient(Le.x-Ue,Le.y+Fe,Le.x+Ue,Le.y-Fe);break;case"to-bottom-left":case"to-left-bottom":D=m.createLinearGradient(Le.x+Ue,Le.y-Fe,Le.x-Ue,Le.y+Fe);break;case"to-top-left":case"to-left-top":D=m.createLinearGradient(Le.x+Ue,Le.y+Fe,Le.x-Ue,Le.y-Fe);break}}if(!D)return null;for(var ze=$.length===R.length,ut=R.length,ht=0;ht<ut;ht++)D.addColorStop(ze?$[ht]:ht/(ut-1),"rgba("+R[ht][0]+","+R[ht][1]+","+R[ht][2]+","+S+")");return D},ug.gradientFillStyle=function(m,g,y,E){var S=this.createGradientStyleFor(m,"background",g,y,E);if(!S)return null;m.fillStyle=S},ug.colorFillStyle=function(m,g,y,E,S){m.fillStyle="rgba("+g+","+y+","+E+","+S+")"},ug.eleFillStyle=function(m,g,y){var E=g.pstyle("background-fill").value;if(E==="linear-gradient"||E==="radial-gradient")this.gradientFillStyle(m,g,E,y);else{var S=g.pstyle("background-color").value;this.colorFillStyle(m,S[0],S[1],S[2],y)}},ug.gradientStrokeStyle=function(m,g,y,E){var S=this.createGradientStyleFor(m,"line",g,y,E);if(!S)return null;m.strokeStyle=S},ug.colorStrokeStyle=function(m,g,y,E,S){m.strokeStyle="rgba("+g+","+y+","+E+","+S+")"},ug.eleStrokeStyle=function(m,g,y){var E=g.pstyle("line-fill").value;if(E==="linear-gradient"||E==="radial-gradient")this.gradientStrokeStyle(m,g,E,y);else{var S=g.pstyle("line-color").value;this.colorStrokeStyle(m,S[0],S[1],S[2],y)}},ug.matchCanvasSize=function(m){var g=this,y=g.data,E=g.findContainerClientCoords(),S=E[2],D=E[3],I=g.getPixelRatio(),R=g.motionBlurPxRatio;(m===g.data.bufferCanvases[g.MOTIONBLUR_BUFFER_NODE]||m===g.data.bufferCanvases[g.MOTIONBLUR_BUFFER_DRAG])&&(I=R);var $=S*I,C=D*I,G;if(!($===g.canvasWidth&&C===g.canvasHeight)){g.fontCaches=null;var U=y.canvasContainer;U.style.width=S+"px",U.style.height=D+"px";for(var J=0;J<g.CANVAS_LAYERS;J++)G=y.canvases[J],G.width=$,G.height=C,G.style.width=S+"px",G.style.height=D+"px";for(var J=0;J<g.BUFFER_COUNT;J++)G=y.bufferCanvases[J],G.width=$,G.height=C,G.style.width=S+"px",G.style.height=D+"px";g.textureMult=1,I<=1&&(G=y.bufferCanvases[g.TEXTURE_BUFFER],g.textureMult=2,G.width=$*g.textureMult,G.height=C*g.textureMult),g.canvasWidth=$,g.canvasHeight=C}},ug.renderTo=function(m,g,y,E){this.render({forcedContext:m,forcedZoom:g,forcedPan:y,drawAllLayers:!0,forcedPxRatio:E})},ug.render=function(m){m=m||EP();var g=m.forcedContext,y=m.drawAllLayers,E=m.drawOnlyNodeLayer,S=m.forcedZoom,D=m.forcedPan,I=this,R=m.forcedPxRatio===void 0?this.getPixelRatio():m.forcedPxRatio,$=I.cy,C=I.data,G=C.canvasNeedsRedraw,U=I.textureOnViewport&&!g&&(I.pinching||I.hoverData.dragging||I.swipePanning||I.data.wheelZooming),J=m.motionBlur!==void 0?m.motionBlur:I.motionBlur,te=I.motionBlurPxRatio,se=$.hasCompoundNodes(),oe=I.hoverData.draggingEles,Ce=!!(I.hoverData.selecting||I.touchData.selecting);J=J&&!g&&I.motionBlurEnabled&&!Ce;var ve=J;g||(I.prevPxRatio!==R&&(I.invalidateContainerClientCoordsCache(),I.matchCanvasSize(I.container),I.redrawHint("eles",!0),I.redrawHint("drag",!0)),I.prevPxRatio=R),!g&&I.motionBlurTimeout&&clearTimeout(I.motionBlurTimeout),J&&(I.mbFrames==null&&(I.mbFrames=0),I.mbFrames++,I.mbFrames<3&&(ve=!1),I.mbFrames>I.minMbLowQualFrames&&(I.motionBlurPxRatio=I.mbPxRBlurry)),I.clearingMotionBlur&&(I.motionBlurPxRatio=1),I.textureDrawLastFrame&&!U&&(G[I.NODE]=!0,G[I.SELECT_BOX]=!0);var Ae=$.style(),Le=$.zoom(),Be=S!==void 0?S:Le,Xe=$.pan(),Ue={x:Xe.x,y:Xe.y},Fe={zoom:Le,pan:{x:Xe.x,y:Xe.y}},et=I.prevViewport,ze=et===void 0||Fe.zoom!==et.zoom||Fe.pan.x!==et.pan.x||Fe.pan.y!==et.pan.y;!ze&&!(oe&&!se)&&(I.motionBlurPxRatio=1),D&&(Ue=D),Be*=R,Ue.x*=R,Ue.y*=R;var ut=I.getCachedZSortedEles();function ht(Li,vi,Ts,Wi,Ii){var es=Li.globalCompositeOperation;Li.globalCompositeOperation="destination-out",I.colorFillStyle(Li,255,255,255,I.motionBlurTransparency),Li.fillRect(vi,Ts,Wi,Ii),Li.globalCompositeOperation=es}function tt(Li,vi){var Ts,Wi,Ii,es;!I.clearingMotionBlur&&(Li===C.bufferContexts[I.MOTIONBLUR_BUFFER_NODE]||Li===C.bufferContexts[I.MOTIONBLUR_BUFFER_DRAG])?(Ts={x:Xe.x*te,y:Xe.y*te},Wi=Le*te,Ii=I.canvasWidth*te,es=I.canvasHeight*te):(Ts=Ue,Wi=Be,Ii=I.canvasWidth,es=I.canvasHeight),Li.setTransform(1,0,0,1,0,0),vi==="motionBlur"?ht(Li,0,0,Ii,es):!g&&(vi===void 0||vi)&&Li.clearRect(0,0,Ii,es),y||(Li.translate(Ts.x,Ts.y),Li.scale(Wi,Wi)),D&&Li.translate(D.x,D.y),S&&Li.scale(S,S)}if(U||(I.textureDrawLastFrame=!1),U){if(I.textureDrawLastFrame=!0,!I.textureCache){I.textureCache={},I.textureCache.bb=$.mutableElements().boundingBox(),I.textureCache.texture=I.data.bufferCanvases[I.TEXTURE_BUFFER];var Dt=I.data.bufferContexts[I.TEXTURE_BUFFER];Dt.setTransform(1,0,0,1,0,0),Dt.clearRect(0,0,I.canvasWidth*I.textureMult,I.canvasHeight*I.textureMult),I.render({forcedContext:Dt,drawOnlyNodeLayer:!0,forcedPxRatio:R*I.textureMult});var Fe=I.textureCache.viewport={zoom:$.zoom(),pan:$.pan(),width:I.canvasWidth,height:I.canvasHeight};Fe.mpan={x:(0-Fe.pan.x)/Fe.zoom,y:(0-Fe.pan.y)/Fe.zoom}}G[I.DRAG]=!1,G[I.NODE]=!1;var ft=C.contexts[I.NODE],ln=I.textureCache.texture,Fe=I.textureCache.viewport;ft.setTransform(1,0,0,1,0,0),J?ht(ft,0,0,Fe.width,Fe.height):ft.clearRect(0,0,Fe.width,Fe.height);var Rt=Ae.core("outside-texture-bg-color").value,Ht=Ae.core("outside-texture-bg-opacity").value;I.colorFillStyle(ft,Rt[0],Rt[1],Rt[2],Ht),ft.fillRect(0,0,Fe.width,Fe.height);var Le=$.zoom();tt(ft,!1),ft.clearRect(Fe.mpan.x,Fe.mpan.y,Fe.width/Fe.zoom/R,Fe.height/Fe.zoom/R),ft.drawImage(ln,Fe.mpan.x,Fe.mpan.y,Fe.width/Fe.zoom/R,Fe.height/Fe.zoom/R)}else I.textureOnViewport&&!g&&(I.textureCache=null);var wn=$.extent(),Sn=I.pinching||I.hoverData.dragging||I.swipePanning||I.data.wheelZooming||I.hoverData.draggingEles||I.cy.animated(),Kn=I.hideEdgesOnViewport&&Sn,xn=[];if(xn[I.NODE]=!G[I.NODE]&&J&&!I.clearedForMotionBlur[I.NODE]||I.clearingMotionBlur,xn[I.NODE]&&(I.clearedForMotionBlur[I.NODE]=!0),xn[I.DRAG]=!G[I.DRAG]&&J&&!I.clearedForMotionBlur[I.DRAG]||I.clearingMotionBlur,xn[I.DRAG]&&(I.clearedForMotionBlur[I.DRAG]=!0),G[I.NODE]||y||E||xn[I.NODE]){var Un=J&&!xn[I.NODE]&&te!==1,ft=g||(Un?I.data.bufferContexts[I.MOTIONBLUR_BUFFER_NODE]:C.contexts[I.NODE]),ar=J&&!Un?"motionBlur":void 0;tt(ft,ar),Kn?I.drawCachedNodes(ft,ut.nondrag,R,wn):I.drawLayeredElements(ft,ut.nondrag,R,wn),I.debug&&I.drawDebugPoints(ft,ut.nondrag),!y&&!J&&(G[I.NODE]=!1)}if(!E&&(G[I.DRAG]||y||xn[I.DRAG])){var Un=J&&!xn[I.DRAG]&&te!==1,ft=g||(Un?I.data.bufferContexts[I.MOTIONBLUR_BUFFER_DRAG]:C.contexts[I.DRAG]);tt(ft,J&&!Un?"motionBlur":void 0),Kn?I.drawCachedNodes(ft,ut.drag,R,wn):I.drawCachedElements(ft,ut.drag,R,wn),I.debug&&I.drawDebugPoints(ft,ut.drag),!y&&!J&&(G[I.DRAG]=!1)}if(I.showFps||!E&&G[I.SELECT_BOX]&&!y){var ft=g||C.contexts[I.SELECT_BOX];if(tt(ft),I.selection[4]==1&&(I.hoverData.selecting||I.touchData.selecting)){var Le=I.cy.zoom(),xr=Ae.core("selection-box-border-width").value/Le;ft.lineWidth=xr,ft.fillStyle="rgba("+Ae.core("selection-box-color").value[0]+","+Ae.core("selection-box-color").value[1]+","+Ae.core("selection-box-color").value[2]+","+Ae.core("selection-box-opacity").value+")",ft.fillRect(I.selection[0],I.selection[1],I.selection[2]-I.selection[0],I.selection[3]-I.selection[1]),xr>0&&(ft.strokeStyle="rgba("+Ae.core("selection-box-border-color").value[0]+","+Ae.core("selection-box-border-color").value[1]+","+Ae.core("selection-box-border-color").value[2]+","+Ae.core("selection-box-opacity").value+")",ft.strokeRect(I.selection[0],I.selection[1],I.selection[2]-I.selection[0],I.selection[3]-I.selection[1]))}if(C.bgActivePosistion&&!I.hoverData.selecting){var Le=I.cy.zoom(),fr=C.bgActivePosistion;ft.fillStyle="rgba("+Ae.core("active-bg-color").value[0]+","+Ae.core("active-bg-color").value[1]+","+Ae.core("active-bg-color").value[2]+","+Ae.core("active-bg-opacity").value+")",ft.beginPath(),ft.arc(fr.x,fr.y,Ae.core("active-bg-size").pfValue/Le,0,2*Math.PI),ft.fill()}var rr=I.lastRedrawTime;if(I.showFps&&rr){rr=Math.round(rr);var gn=Math.round(1e3/rr);ft.setTransform(1,0,0,1,0,0),ft.fillStyle="rgba(255, 0, 0, 0.75)",ft.strokeStyle="rgba(255, 0, 0, 0.75)",ft.lineWidth=1,ft.fillText("1 frame = "+rr+" ms = "+gn+" fps",0,20);var mr=60;ft.strokeRect(0,30,250,20),ft.fillRect(0,30,250*Math.min(gn/mr,1),20)}y||(G[I.SELECT_BOX]=!1)}if(J&&te!==1){var pr=C.contexts[I.NODE],ri=I.data.bufferCanvases[I.MOTIONBLUR_BUFFER_NODE],Ti=C.contexts[I.DRAG],ia=I.data.bufferCanvases[I.MOTIONBLUR_BUFFER_DRAG],Ra=function(vi,Ts,Wi){vi.setTransform(1,0,0,1,0,0),Wi||!ve?vi.clearRect(0,0,I.canvasWidth,I.canvasHeight):ht(vi,0,0,I.canvasWidth,I.canvasHeight);var Ii=te;vi.drawImage(Ts,0,0,I.canvasWidth*Ii,I.canvasHeight*Ii,0,0,I.canvasWidth,I.canvasHeight)};(G[I.NODE]||xn[I.NODE])&&(Ra(pr,ri,xn[I.NODE]),G[I.NODE]=!1),(G[I.DRAG]||xn[I.DRAG])&&(Ra(Ti,ia,xn[I.DRAG]),G[I.DRAG]=!1)}I.prevViewport=Fe,I.clearingMotionBlur&&(I.clearingMotionBlur=!1,I.motionBlurCleared=!0,I.motionBlur=!0),J&&(I.motionBlurTimeout=setTimeout(function(){I.motionBlurTimeout=null,I.clearedForMotionBlur[I.NODE]=!1,I.clearedForMotionBlur[I.DRAG]=!1,I.motionBlur=!1,I.clearingMotionBlur=!U,I.mbFrames=0,G[I.NODE]=!0,G[I.DRAG]=!0,I.redraw()},_ge)),g||$.emit("render")};var E3={};E3.drawPolygonPath=function(m,g,y,E,S,D){var I=E/2,R=S/2;m.beginPath&&m.beginPath(),m.moveTo(g+I*D[0],y+R*D[1]);for(var $=1;$<D.length/2;$++)m.lineTo(g+I*D[$*2],y+R*D[$*2+1]);m.closePath()},E3.drawRoundPolygonPath=function(m,g,y,E,S,D){var I=E/2,R=S/2,$=aL(E,S);m.beginPath&&m.beginPath();for(var C=0;C<D.length/4;C++){var G=void 0,U=void 0;C===0?G=D.length-2:G=C*4-2,U=C*4+2;var J=g+I*D[C*4],te=y+R*D[C*4+1],se=-D[G]*D[U]-D[G+1]*D[U+1],oe=$/Math.tan(Math.acos(se)/2),Ce=J-oe*D[G],ve=te-oe*D[G+1],Ae=J+oe*D[U],Le=te+oe*D[U+1];C===0?m.moveTo(Ce,ve):m.lineTo(Ce,ve),m.arcTo(J,te,Ae,Le,$)}m.closePath()},E3.drawRoundRectanglePath=function(m,g,y,E,S){var D=E/2,I=S/2,R=h8(E,S);m.beginPath&&m.beginPath(),m.moveTo(g,y-I),m.arcTo(g+D,y-I,g+D,y,R),m.arcTo(g+D,y+I,g,y+I,R),m.arcTo(g-D,y+I,g-D,y,R),m.arcTo(g-D,y-I,g,y-I,R),m.lineTo(g,y-I),m.closePath()},E3.drawBottomRoundRectanglePath=function(m,g,y,E,S){var D=E/2,I=S/2,R=h8(E,S);m.beginPath&&m.beginPath(),m.moveTo(g,y-I),m.lineTo(g+D,y-I),m.lineTo(g+D,y),m.arcTo(g+D,y+I,g,y+I,R),m.arcTo(g-D,y+I,g-D,y,R),m.lineTo(g-D,y-I),m.lineTo(g,y-I),m.closePath()},E3.drawCutRectanglePath=function(m,g,y,E,S){var D=E/2,I=S/2,R=NP();m.beginPath&&m.beginPath(),m.moveTo(g-D+R,y-I),m.lineTo(g+D-R,y-I),m.lineTo(g+D,y-I+R),m.lineTo(g+D,y+I-R),m.lineTo(g+D-R,y+I),m.lineTo(g-D+R,y+I),m.lineTo(g-D,y+I-R),m.lineTo(g-D,y-I+R),m.closePath()},E3.drawBarrelPath=function(m,g,y,E,S){var D=E/2,I=S/2,R=g-D,$=g+D,C=y-I,G=y+I,U=oL(E,S),J=U.widthOffset,te=U.heightOffset,se=U.ctrlPtOffsetPct*J;m.beginPath&&m.beginPath(),m.moveTo(R,C+te),m.lineTo(R,G-te),m.quadraticCurveTo(R+se,G,R+J,G),m.lineTo($-J,G),m.quadraticCurveTo($-se,G,$,G-te),m.lineTo($,C+te),m.quadraticCurveTo($-se,C,$-J,C),m.lineTo(R+J,C),m.quadraticCurveTo(R+se,C,R,C+te),m.closePath()};for(var ZJ=Math.sin(0),JJ=Math.cos(0),CF={},SF={},eee=Math.PI/40,P8=0*Math.PI;P8<2*Math.PI;P8+=eee)CF[P8]=Math.sin(P8),SF[P8]=Math.cos(P8);E3.drawEllipsePath=function(m,g,y,E,S){if(m.beginPath&&m.beginPath(),m.ellipse)m.ellipse(g,y,E/2,S/2,0,0,2*Math.PI);else for(var D,I,R=E/2,$=S/2,C=0*Math.PI;C<2*Math.PI;C+=eee)D=g-R*CF[C]*ZJ+R*SF[C]*JJ,I=y+$*SF[C]*ZJ+$*CF[C]*JJ,C===0?m.moveTo(D,I):m.lineTo(D,I);m.closePath()};var aT={};aT.createBuffer=function(m,g){var y=document.createElement("canvas");return y.width=m,y.height=g,[y,y.getContext("2d")]},aT.bufferCanvasImage=function(m){var g=this.cy,y=g.mutableElements(),E=y.boundingBox(),S=this.findContainerClientCoords(),D=m.full?Math.ceil(E.w):S[2],I=m.full?Math.ceil(E.h):S[3],R=re(m.maxWidth)||re(m.maxHeight),$=this.getPixelRatio(),C=1;if(m.scale!==void 0)D*=m.scale,I*=m.scale,C=m.scale;else if(R){var G=1/0,U=1/0;re(m.maxWidth)&&(G=C*m.maxWidth/D),re(m.maxHeight)&&(U=C*m.maxHeight/I),C=Math.min(G,U),D*=C,I*=C}R||(D*=$,I*=$,C*=$);var J=document.createElement("canvas");J.width=D,J.height=I,J.style.width=D+"px",J.style.height=I+"px";var te=J.getContext("2d");if(D>0&&I>0){te.clearRect(0,0,D,I),te.globalCompositeOperation="source-over";var se=this.getCachedZSortedEles();if(m.full)te.translate(-E.x1*C,-E.y1*C),te.scale(C,C),this.drawElements(te,se),te.scale(1/C,1/C),te.translate(E.x1*C,E.y1*C);else{var oe=g.pan(),Ce={x:oe.x*C,y:oe.y*C};C*=g.zoom(),te.translate(Ce.x,Ce.y),te.scale(C,C),this.drawElements(te,se),te.scale(1/C,1/C),te.translate(-Ce.x,-Ce.y)}m.bg&&(te.globalCompositeOperation="destination-over",te.fillStyle=m.bg,te.rect(0,0,D,I),te.fill())}return J};function Cge(m,g){for(var y=atob(m),E=new ArrayBuffer(y.length),S=new Uint8Array(E),D=0;D<y.length;D++)S[D]=y.charCodeAt(D);return new Blob([E],{type:g})}function tee(m){var g=m.indexOf(",");return m.substr(g+1)}function nee(m,g,y){var E=function(){return g.toDataURL(y,m.quality)};switch(m.output){case"blob-promise":return new H5(function(S,D){try{g.toBlob(function(I){I!=null?S(I):D(new Error("`canvas.toBlob()` sent a null value in its callback"))},y,m.quality)}catch(I){D(I)}});case"blob":return Cge(tee(E()),y);case"base64":return tee(E());case"base64uri":default:return E()}}aT.png=function(m){return nee(m,this.bufferCanvasImage(m),"image/png")},aT.jpg=function(m){return nee(m,this.bufferCanvasImage(m),"image/jpeg")};var ree={};ree.nodeShapeImpl=function(m,g,y,E,S,D,I){switch(m){case"ellipse":return this.drawEllipsePath(g,y,E,S,D);case"polygon":return this.drawPolygonPath(g,y,E,S,D,I);case"round-polygon":return this.drawRoundPolygonPath(g,y,E,S,D,I);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(g,y,E,S,D);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(g,y,E,S,D);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(g,y,E,S,D);case"barrel":return this.drawBarrelPath(g,y,E,S,D)}};var Sge=AF,Sc=AF.prototype;Sc.CANVAS_LAYERS=3,Sc.SELECT_BOX=0,Sc.DRAG=1,Sc.NODE=2,Sc.BUFFER_COUNT=3,Sc.TEXTURE_BUFFER=0,Sc.MOTIONBLUR_BUFFER_NODE=1,Sc.MOTIONBLUR_BUFFER_DRAG=2;function AF(m){var g=this;g.data={canvases:new Array(Sc.CANVAS_LAYERS),contexts:new Array(Sc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Sc.CANVAS_LAYERS),bufferCanvases:new Array(Sc.BUFFER_COUNT),bufferContexts:new Array(Sc.CANVAS_LAYERS)};var y="-webkit-tap-highlight-color",E="rgba(0,0,0,0)";g.data.canvasContainer=document.createElement("div");var S=g.data.canvasContainer.style;g.data.canvasContainer.style[y]=E,S.position="relative",S.zIndex="0",S.overflow="hidden";var D=m.cy.container();D.appendChild(g.data.canvasContainer),D.style[y]=E;var I={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};yt()&&(I["-ms-touch-action"]="none",I["touch-action"]="none");for(var R=0;R<Sc.CANVAS_LAYERS;R++){var $=g.data.canvases[R]=document.createElement("canvas");g.data.contexts[R]=$.getContext("2d"),Object.keys(I).forEach(function(rr){$.style[rr]=I[rr]}),$.style.position="absolute",$.setAttribute("data-id","layer"+R),$.style.zIndex=String(Sc.CANVAS_LAYERS-R),g.data.canvasContainer.appendChild($),g.data.canvasNeedsRedraw[R]=!1}g.data.topCanvas=g.data.canvases[0],g.data.canvases[Sc.NODE].setAttribute("data-id","layer"+Sc.NODE+"-node"),g.data.canvases[Sc.SELECT_BOX].setAttribute("data-id","layer"+Sc.SELECT_BOX+"-selectbox"),g.data.canvases[Sc.DRAG].setAttribute("data-id","layer"+Sc.DRAG+"-drag");for(var R=0;R<Sc.BUFFER_COUNT;R++)g.data.bufferCanvases[R]=document.createElement("canvas"),g.data.bufferContexts[R]=g.data.bufferCanvases[R].getContext("2d"),g.data.bufferCanvases[R].style.position="absolute",g.data.bufferCanvases[R].setAttribute("data-id","buffer"+R),g.data.bufferCanvases[R].style.zIndex=String(-R-1),g.data.bufferCanvases[R].style.visibility="hidden";g.pathsEnabled=!0;var C=jd(),G=function(gn){return{x:(gn.x1+gn.x2)/2,y:(gn.y1+gn.y2)/2}},U=function(gn){return{x:-gn.w/2,y:-gn.h/2}},J=function(gn){var mr=gn[0]._private,pr=mr.oldBackgroundTimestamp===mr.backgroundTimestamp;return!pr},te=function(gn){return gn[0]._private.nodeKey},se=function(gn){return gn[0]._private.labelStyleKey},oe=function(gn){return gn[0]._private.sourceLabelStyleKey},Ce=function(gn){return gn[0]._private.targetLabelStyleKey},ve=function(gn,mr,pr,ri,Ti){return g.drawElement(gn,mr,pr,!1,!1,Ti)},Ae=function(gn,mr,pr,ri,Ti){return g.drawElementText(gn,mr,pr,ri,"main",Ti)},Le=function(gn,mr,pr,ri,Ti){return g.drawElementText(gn,mr,pr,ri,"source",Ti)},Be=function(gn,mr,pr,ri,Ti){return g.drawElementText(gn,mr,pr,ri,"target",Ti)},Xe=function(gn){return gn.boundingBox(),gn[0]._private.bodyBounds},Ue=function(gn){return gn.boundingBox(),gn[0]._private.labelBounds.main||C},Fe=function(gn){return gn.boundingBox(),gn[0]._private.labelBounds.source||C},et=function(gn){return gn.boundingBox(),gn[0]._private.labelBounds.target||C},ze=function(gn,mr){return mr},ut=function(gn){return G(Xe(gn))},ht=function(gn,mr,pr){var ri=gn?gn+"-":"";return{x:mr.x+pr.pstyle(ri+"text-margin-x").pfValue,y:mr.y+pr.pstyle(ri+"text-margin-y").pfValue}},tt=function(gn,mr,pr){var ri=gn[0]._private.rscratch;return{x:ri[mr],y:ri[pr]}},Dt=function(gn){return ht("",tt(gn,"labelX","labelY"),gn)},ft=function(gn){return ht("source",tt(gn,"sourceLabelX","sourceLabelY"),gn)},ln=function(gn){return ht("target",tt(gn,"targetLabelX","targetLabelY"),gn)},Rt=function(gn){return U(Xe(gn))},Ht=function(gn){return U(Fe(gn))},wn=function(gn){return U(et(gn))},Sn=function(gn){var mr=Ue(gn),pr=U(Ue(gn));if(gn.isNode()){switch(gn.pstyle("text-halign").value){case"left":pr.x=-mr.w;break;case"right":pr.x=0;break}switch(gn.pstyle("text-valign").value){case"top":pr.y=-mr.h;break;case"bottom":pr.y=0;break}}return pr},Kn=g.data.eleTxrCache=new D8(g,{getKey:te,doesEleInvalidateKey:J,drawElement:ve,getBoundingBox:Xe,getRotationPoint:ut,getRotationOffset:Rt,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),xn=g.data.lblTxrCache=new D8(g,{getKey:se,drawElement:Ae,getBoundingBox:Ue,getRotationPoint:Dt,getRotationOffset:Sn,isVisible:ze}),Un=g.data.slbTxrCache=new D8(g,{getKey:oe,drawElement:Le,getBoundingBox:Fe,getRotationPoint:ft,getRotationOffset:Ht,isVisible:ze}),ar=g.data.tlbTxrCache=new D8(g,{getKey:Ce,drawElement:Be,getBoundingBox:et,getRotationPoint:ln,getRotationOffset:wn,isVisible:ze}),xr=g.data.lyrTxrCache=new UJ(g);g.onUpdateEleCalcs(function(gn,mr){Kn.invalidateElements(mr),xn.invalidateElements(mr),Un.invalidateElements(mr),ar.invalidateElements(mr),xr.invalidateElements(mr);for(var pr=0;pr<mr.length;pr++){var ri=mr[pr]._private;ri.oldBackgroundTimestamp=ri.backgroundTimestamp}});var fr=function(gn){for(var mr=0;mr<gn.length;mr++)xr.enqueueElementRefinement(gn[mr].ele)};Kn.onDequeue(fr),xn.onDequeue(fr),Un.onDequeue(fr),ar.onDequeue(fr)}Sc.redrawHint=function(m,g){var y=this;switch(m){case"eles":y.data.canvasNeedsRedraw[Sc.NODE]=g;break;case"drag":y.data.canvasNeedsRedraw[Sc.DRAG]=g;break;case"select":y.data.canvasNeedsRedraw[Sc.SELECT_BOX]=g;break}};var iee=typeof Path2D<"u";Sc.path2dEnabled=function(m){if(m===void 0)return this.pathsEnabled;this.pathsEnabled=!!m},Sc.usePaths=function(){return iee&&this.pathsEnabled},Sc.setImgSmoothing=function(m,g){m.imageSmoothingEnabled!=null?m.imageSmoothingEnabled=g:(m.webkitImageSmoothingEnabled=g,m.mozImageSmoothingEnabled=g,m.msImageSmoothingEnabled=g)},Sc.getImgSmoothing=function(m){return m.imageSmoothingEnabled!=null?m.imageSmoothingEnabled:m.webkitImageSmoothingEnabled||m.mozImageSmoothingEnabled||m.msImageSmoothingEnabled},Sc.makeOffscreenCanvas=function(m,g){var y;return(typeof OffscreenCanvas>"u"?"undefined":f(OffscreenCanvas))!=="undefined"?y=new OffscreenCanvas(m,g):(y=document.createElement("canvas"),y.width=m,y.height=g),y},[T0,iv,sv,sT,i6,N8,ug,E3,aT,ree].forEach(function(m){Oe(Sc,m)});var s6=[{name:"null",impl:hF},{name:"base",impl:DL},{name:"canvas",impl:Sge}],lg=[{type:"layout",extensions:SJ},{type:"renderer",extensions:s6}],pm={},FL={};function x1(m,g,y){var E=y,S=function(et){Jo("Can not register `"+g+"` for `"+m+"` since `"+et+"` already exists in the prototype and can not be overridden")};if(m==="core"){if(C8.prototype[g])return S(g);C8.prototype[g]=y}else if(m==="collection"){if(qf.prototype[g])return S(g);qf.prototype[g]=y}else if(m==="layout"){for(var D=function(et){this.options=et,y.call(this,et),fe(this._private)||(this._private={}),this._private.cy=et.cy,this._private.listeners=[],this.createEmitter()},I=D.prototype=Object.create(y.prototype),R=[],$=0;$<R.length;$++){var C=R[$];I[C]=I[C]||function(){return this}}I.start&&!I.run?I.run=function(){return this.start(),this}:!I.start&&I.run&&(I.start=function(){return this.run(),this});var G=y.prototype.stop;I.stop=function(){var Fe=this.options;if(Fe&&Fe.animate){var et=this.animations;if(et)for(var ze=0;ze<et.length;ze++)et[ze].stop()}return G?G.call(this):this.emit("layoutstop"),this},I.destroy||(I.destroy=function(){return this}),I.cy=function(){return this._private.cy};var U=function(et){return et._private.cy},J={addEventFields:function(et,ze){ze.layout=et,ze.cy=U(et),ze.target=et},bubble:function(){return!0},parent:function(et){return U(et)}};Oe(I,{createEmitter:function(){return this._private.emitter=new B9(J,this),this},emitter:function(){return this._private.emitter},on:function(et,ze){return this.emitter().on(et,ze),this},one:function(et,ze){return this.emitter().one(et,ze),this},once:function(et,ze){return this.emitter().one(et,ze),this},removeListener:function(et,ze){return this.emitter().removeListener(et,ze),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(et,ze){return this.emitter().emit(et,ze),this}}),Pc.eventAliasesOn(I),E=D}else if(m==="renderer"&&g!=="null"&&g!=="base"){var te=a6("renderer","base"),se=te.prototype,oe=y,Ce=y.prototype,ve=function(){te.apply(this,arguments),oe.apply(this,arguments)},Ae=ve.prototype;for(var Le in se){var Be=se[Le],Xe=Ce[Le]!=null;if(Xe)return S(Le);Ae[Le]=Be}for(var Ue in Ce)Ae[Ue]=Ce[Ue];se.clientFunctions.forEach(function(Fe){Ae[Fe]=Ae[Fe]||function(){Fu("Renderer does not implement `renderer."+Fe+"()` on its prototype")}}),E=ve}else if(m==="__proto__"||m==="constructor"||m==="prototype")return Fu(m+" is an illegal type to be registered, possibly lead to prototype pollutions");return er({map:pm,keys:[m,g],value:E})}function a6(m,g){return Fn({map:pm,keys:[m,g]})}function see(m,g,y,E,S){return er({map:FL,keys:[m,g,y,E],value:S})}function LF(m,g,y,E){return Fn({map:FL,keys:[m,g,y,E]})}var T3=function(){if(arguments.length===2)return a6.apply(null,arguments);if(arguments.length===3)return x1.apply(null,arguments);if(arguments.length===4)return LF.apply(null,arguments);if(arguments.length===5)return see.apply(null,arguments);Fu("Invalid extension access syntax")};C8.prototype.extension=T3,lg.forEach(function(m){m.extensions.forEach(function(g){x1(m.type,g.name,g.impl)})});var RL=function m(){if(!(this instanceof m))return new m;this.length=0},bm=RL.prototype;bm.instanceString=function(){return"stylesheet"},bm.selector=function(m){var g=this.length++;return this[g]={selector:m,properties:[]},this},bm.css=function(m,g){var y=this.length-1;if(xe(m))this[y].properties.push({name:m,value:g});else if(fe(m))for(var E=m,S=Object.keys(E),D=0;D<S.length;D++){var I=S[D],R=E[I];if(R!=null){var $=m1.properties[I]||m1.properties[dn(I)];if($!=null){var C=$.name,G=R;this[y].properties.push({name:C,value:G})}}}return this},bm.style=bm.css,bm.generateStyle=function(m){var g=new m1(m);return this.appendToStyle(g)},bm.appendToStyle=function(m){for(var g=0;g<this.length;g++){var y=this[g],E=y.selector,S=y.properties;m.selector(E);for(var D=0;D<S.length;D++){var I=S[D];m.css(I.name,I.value)}}return m};var MF="3.23.0",E1=function(g){if(g===void 0&&(g={}),fe(g))return new C8(g);if(xe(g))return T3.apply(T3,arguments)};return E1.use=function(m){var g=Array.prototype.slice.call(arguments,1);return g.unshift(E1),m.apply(null,g),this},E1.warnings=function(m){return g3(m)},E1.version=MF,E1.stylesheet=E1.Stylesheet=RL,E1})})(Mzt);const pRe=hge;var fge={},Dzt={get exports(){return fge},set exports(s){fge=s}},TW={},Izt={get exports(){return TW},set exports(s){TW=s}},_W={},Ozt={get exports(){return _W},set exports(s){_W=s}},bRe;function Nzt(){return bRe||(bRe=1,function(s,o){(function(p,w){s.exports=w()})(g0,function(){return function(f){var p={};function w(k){if(p[k])return p[k].exports;var b=p[k]={i:k,l:!1,exports:{}};return f[k].call(b.exports,b,b.exports,w),b.l=!0,b.exports}return w.m=f,w.c=p,w.i=function(k){return k},w.d=function(k,b,_){w.o(k,b)||Object.defineProperty(k,b,{configurable:!1,enumerable:!0,get:_})},w.n=function(k){var b=k&&k.__esModule?function(){return k.default}:function(){return k};return w.d(b,"a",b),b},w.o=function(k,b){return Object.prototype.hasOwnProperty.call(k,b)},w.p="",w(w.s=26)}([function(f,p,w){function k(){}k.QUALITY=1,k.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,k.DEFAULT_INCREMENTAL=!1,k.DEFAULT_ANIMATION_ON_LAYOUT=!0,k.DEFAULT_ANIMATION_DURING_LAYOUT=!1,k.DEFAULT_ANIMATION_PERIOD=50,k.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,k.DEFAULT_GRAPH_MARGIN=15,k.NODE_DIMENSIONS_INCLUDE_LABELS=!1,k.SIMPLE_NODE_SIZE=40,k.SIMPLE_NODE_HALF_SIZE=k.SIMPLE_NODE_SIZE/2,k.EMPTY_COMPOUND_NODE_SIZE=40,k.MIN_EDGE_LENGTH=1,k.WORLD_BOUNDARY=1e6,k.INITIAL_WORLD_BOUNDARY=k.WORLD_BOUNDARY/1e3,k.WORLD_CENTER_X=1200,k.WORLD_CENTER_Y=900,f.exports=k},function(f,p,w){var k=w(2),b=w(8),_=w(9);function A(B,F,H){k.call(this,H),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=H,this.bendpoints=[],this.source=B,this.target=F}A.prototype=Object.create(k.prototype);for(var N in k)A[N]=k[N];A.prototype.getSource=function(){return this.source},A.prototype.getTarget=function(){return this.target},A.prototype.isInterGraph=function(){return this.isInterGraph},A.prototype.getLength=function(){return this.length},A.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},A.prototype.getBendpoints=function(){return this.bendpoints},A.prototype.getLca=function(){return this.lca},A.prototype.getSourceInLca=function(){return this.sourceInLca},A.prototype.getTargetInLca=function(){return this.targetInLca},A.prototype.getOtherEnd=function(B){if(this.source===B)return this.target;if(this.target===B)return this.source;throw"Node is not incident with this edge"},A.prototype.getOtherEndInGraph=function(B,F){for(var H=this.getOtherEnd(B),j=F.getGraphManager().getRoot();;){if(H.getOwner()==F)return H;if(H.getOwner()==j)break;H=H.getOwner().getParent()}return null},A.prototype.updateLength=function(){var B=new Array(4);this.isOverlapingSourceAndTarget=b.getIntersection(this.target.getRect(),this.source.getRect(),B),this.isOverlapingSourceAndTarget||(this.lengthX=B[0]-B[2],this.lengthY=B[1]-B[3],Math.abs(this.lengthX)<1&&(this.lengthX=_.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=_.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},A.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=_.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=_.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=A},function(f,p,w){function k(b){this.vGraphObject=b}f.exports=k},function(f,p,w){var k=w(2),b=w(10),_=w(13),A=w(0),N=w(16),B=w(4);function F(j,V,Z,ae){Z==null&&ae==null&&(ae=V),k.call(this,ae),j.graphManager!=null&&(j=j.graphManager),this.estimatedSize=b.MIN_VALUE,this.inclusionTreeDepth=b.MAX_VALUE,this.vGraphObject=ae,this.edges=[],this.graphManager=j,Z!=null&&V!=null?this.rect=new _(V.x,V.y,Z.width,Z.height):this.rect=new _}F.prototype=Object.create(k.prototype);for(var H in k)F[H]=k[H];F.prototype.getEdges=function(){return this.edges},F.prototype.getChild=function(){return this.child},F.prototype.getOwner=function(){return this.owner},F.prototype.getWidth=function(){return this.rect.width},F.prototype.setWidth=function(j){this.rect.width=j},F.prototype.getHeight=function(){return this.rect.height},F.prototype.setHeight=function(j){this.rect.height=j},F.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},F.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},F.prototype.getCenter=function(){return new B(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},F.prototype.getLocation=function(){return new B(this.rect.x,this.rect.y)},F.prototype.getRect=function(){return this.rect},F.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},F.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},F.prototype.setRect=function(j,V){this.rect.x=j.x,this.rect.y=j.y,this.rect.width=V.width,this.rect.height=V.height},F.prototype.setCenter=function(j,V){this.rect.x=j-this.rect.width/2,this.rect.y=V-this.rect.height/2},F.prototype.setLocation=function(j,V){this.rect.x=j,this.rect.y=V},F.prototype.moveBy=function(j,V){this.rect.x+=j,this.rect.y+=V},F.prototype.getEdgeListToNode=function(j){var V=[],Z=this;return Z.edges.forEach(function(ae){if(ae.target==j){if(ae.source!=Z)throw"Incorrect edge source!";V.push(ae)}}),V},F.prototype.getEdgesBetween=function(j){var V=[],Z=this;return Z.edges.forEach(function(ae){if(!(ae.source==Z||ae.target==Z))throw"Incorrect edge source and/or target";(ae.target==j||ae.source==j)&&V.push(ae)}),V},F.prototype.getNeighborsList=function(){var j=new Set,V=this;return V.edges.forEach(function(Z){if(Z.source==V)j.add(Z.target);else{if(Z.target!=V)throw"Incorrect incidency!";j.add(Z.source)}}),j},F.prototype.withChildren=function(){var j=new Set,V,Z;if(j.add(this),this.child!=null)for(var ae=this.child.getNodes(),le=0;le<ae.length;le++)V=ae[le],Z=V.withChildren(),Z.forEach(function(ce){j.add(ce)});return j},F.prototype.getNoOfChildren=function(){var j=0,V;if(this.child==null)j=1;else for(var Z=this.child.getNodes(),ae=0;ae<Z.length;ae++)V=Z[ae],j+=V.getNoOfChildren();return j==0&&(j=1),j},F.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},F.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},F.prototype.scatter=function(){var j,V,Z=-A.INITIAL_WORLD_BOUNDARY,ae=A.INITIAL_WORLD_BOUNDARY;j=A.WORLD_CENTER_X+N.nextDouble()*(ae-Z)+Z;var le=-A.INITIAL_WORLD_BOUNDARY,ce=A.INITIAL_WORLD_BOUNDARY;V=A.WORLD_CENTER_Y+N.nextDouble()*(ce-le)+le,this.rect.x=j,this.rect.y=V},F.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var j=this.getChild();if(j.updateBounds(!0),this.rect.x=j.getLeft(),this.rect.y=j.getTop(),this.setWidth(j.getRight()-j.getLeft()),this.setHeight(j.getBottom()-j.getTop()),A.NODE_DIMENSIONS_INCLUDE_LABELS){var V=j.getRight()-j.getLeft(),Z=j.getBottom()-j.getTop();this.labelWidth>V&&(this.rect.x-=(this.labelWidth-V)/2,this.setWidth(this.labelWidth)),this.labelHeight>Z&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-Z)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-Z),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(j){var V=this.rect.x;V>A.WORLD_BOUNDARY?V=A.WORLD_BOUNDARY:V<-A.WORLD_BOUNDARY&&(V=-A.WORLD_BOUNDARY);var Z=this.rect.y;Z>A.WORLD_BOUNDARY?Z=A.WORLD_BOUNDARY:Z<-A.WORLD_BOUNDARY&&(Z=-A.WORLD_BOUNDARY);var ae=new B(V,Z),le=j.inverseTransformPoint(ae);this.setLocation(le.x,le.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=F},function(f,p,w){function k(b,_){b==null&&_==null?(this.x=0,this.y=0):(this.x=b,this.y=_)}k.prototype.getX=function(){return this.x},k.prototype.getY=function(){return this.y},k.prototype.setX=function(b){this.x=b},k.prototype.setY=function(b){this.y=b},k.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},k.prototype.getCopy=function(){return new k(this.x,this.y)},k.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},f.exports=k},function(f,p,w){var k=w(2),b=w(10),_=w(0),A=w(6),N=w(3),B=w(1),F=w(13),H=w(12),j=w(11);function V(ae,le,ce){k.call(this,ce),this.estimatedSize=b.MIN_VALUE,this.margin=_.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=ae,le!=null&&le instanceof A?this.graphManager=le:le!=null&&le instanceof Layout&&(this.graphManager=le.graphManager)}V.prototype=Object.create(k.prototype);for(var Z in k)V[Z]=k[Z];V.prototype.getNodes=function(){return this.nodes},V.prototype.getEdges=function(){return this.edges},V.prototype.getGraphManager=function(){return this.graphManager},V.prototype.getParent=function(){return this.parent},V.prototype.getLeft=function(){return this.left},V.prototype.getRight=function(){return this.right},V.prototype.getTop=function(){return this.top},V.prototype.getBottom=function(){return this.bottom},V.prototype.isConnected=function(){return this.isConnected},V.prototype.add=function(ae,le,ce){if(le==null&&ce==null){var be=ae;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 xe=ae;if(!(this.getNodes().indexOf(le)>-1&&this.getNodes().indexOf(ce)>-1))throw"Source or target not in graph!";if(!(le.owner==ce.owner&&le.owner==this))throw"Both owners must be this graph!";return le.owner!=ce.owner?null:(xe.source=le,xe.target=ce,xe.isInterGraph=!1,this.getEdges().push(xe),le.edges.push(xe),ce!=le&&ce.edges.push(xe),xe)}},V.prototype.remove=function(ae){var le=ae;if(ae instanceof N){if(le==null)throw"Node is null!";if(!(le.owner!=null&&le.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var ce=le.edges.slice(),be,xe=ce.length,Ee=0;Ee<xe;Ee++)be=ce[Ee],be.isInterGraph?this.graphManager.remove(be):be.source.owner.remove(be);var Me=this.nodes.indexOf(le);if(Me==-1)throw"Node not in owner node list!";this.nodes.splice(Me,1)}else if(ae instanceof B){var be=ae;if(be==null)throw"Edge is null!";if(!(be.source!=null&&be.target!=null))throw"Source and/or target is null!";if(!(be.source.owner!=null&&be.target.owner!=null&&be.source.owner==this&&be.target.owner==this))throw"Source and/or target owner is invalid!";var fe=be.source.edges.indexOf(be),ye=be.target.edges.indexOf(be);if(!(fe>-1&&ye>-1))throw"Source and/or target doesn't know this edge!";be.source.edges.splice(fe,1),be.target!=be.source&&be.target.edges.splice(ye,1);var Me=be.source.owner.getEdges().indexOf(be);if(Me==-1)throw"Not in owner's edge list!";be.source.owner.getEdges().splice(Me,1)}},V.prototype.updateLeftTop=function(){for(var ae=b.MAX_VALUE,le=b.MAX_VALUE,ce,be,xe,Ee=this.getNodes(),Me=Ee.length,fe=0;fe<Me;fe++){var ye=Ee[fe];ce=ye.getTop(),be=ye.getLeft(),ae>ce&&(ae=ce),le>be&&(le=be)}return ae==b.MAX_VALUE?null:(Ee[0].getParent().paddingLeft!=null?xe=Ee[0].getParent().paddingLeft:xe=this.margin,this.left=le-xe,this.top=ae-xe,new H(this.left,this.top))},V.prototype.updateBounds=function(ae){for(var le=b.MAX_VALUE,ce=-b.MAX_VALUE,be=b.MAX_VALUE,xe=-b.MAX_VALUE,Ee,Me,fe,ye,re,we=this.nodes,ke=we.length,he=0;he<ke;he++){var De=we[he];ae&&De.child!=null&&De.updateBounds(),Ee=De.getLeft(),Me=De.getRight(),fe=De.getTop(),ye=De.getBottom(),le>Ee&&(le=Ee),ce<Me&&(ce=Me),be>fe&&(be=fe),xe<ye&&(xe=ye)}var X=new F(le,be,ce-le,xe-be);le==b.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),we[0].getParent().paddingLeft!=null?re=we[0].getParent().paddingLeft:re=this.margin,this.left=X.x-re,this.right=X.x+X.width+re,this.top=X.y-re,this.bottom=X.y+X.height+re},V.calculateBounds=function(ae){for(var le=b.MAX_VALUE,ce=-b.MAX_VALUE,be=b.MAX_VALUE,xe=-b.MAX_VALUE,Ee,Me,fe,ye,re=ae.length,we=0;we<re;we++){var ke=ae[we];Ee=ke.getLeft(),Me=ke.getRight(),fe=ke.getTop(),ye=ke.getBottom(),le>Ee&&(le=Ee),ce<Me&&(ce=Me),be>fe&&(be=fe),xe<ye&&(xe=ye)}var he=new F(le,be,ce-le,xe-be);return he},V.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},V.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},V.prototype.calcEstimatedSize=function(){for(var ae=0,le=this.nodes,ce=le.length,be=0;be<ce;be++){var xe=le[be];ae+=xe.calcEstimatedSize()}return ae==0?this.estimatedSize=_.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=ae/Math.sqrt(this.nodes.length),this.estimatedSize},V.prototype.updateConnected=function(){var ae=this;if(this.nodes.length==0){this.isConnected=!0;return}var le=new j,ce=new Set,be=this.nodes[0],xe,Ee,Me=be.withChildren();for(Me.forEach(function(he){le.push(he),ce.add(he)});le.length!==0;){be=le.shift(),xe=be.getEdges();for(var fe=xe.length,ye=0;ye<fe;ye++){var re=xe[ye];if(Ee=re.getOtherEndInGraph(be,this),Ee!=null&&!ce.has(Ee)){var we=Ee.withChildren();we.forEach(function(he){le.push(he),ce.add(he)})}}}if(this.isConnected=!1,ce.size>=this.nodes.length){var ke=0;ce.forEach(function(he){he.owner==ae&&ke++}),ke==this.nodes.length&&(this.isConnected=!0)}},f.exports=V},function(f,p,w){var k,b=w(1);function _(A){k=w(5),this.layout=A,this.graphs=[],this.edges=[]}_.prototype.addRoot=function(){var A=this.layout.newGraph(),N=this.layout.newNode(null),B=this.add(A,N);return this.setRootGraph(B),this.rootGraph},_.prototype.add=function(A,N,B,F,H){if(B==null&&F==null&&H==null){if(A==null)throw"Graph is null!";if(N==null)throw"Parent node is null!";if(this.graphs.indexOf(A)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(A),A.parent!=null)throw"Already has a parent!";if(N.child!=null)throw"Already has a child!";return A.parent=N,N.child=A,A}else{H=B,F=N,B=A;var j=F.getOwner(),V=H.getOwner();if(!(j!=null&&j.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(V!=null&&V.getGraphManager()==this))throw"Target not in this graph mgr!";if(j==V)return B.isInterGraph=!1,j.add(B,F,H);if(B.isInterGraph=!0,B.source=F,B.target=H,this.edges.indexOf(B)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(B),!(B.source!=null&&B.target!=null))throw"Edge source and/or target is null!";if(!(B.source.edges.indexOf(B)==-1&&B.target.edges.indexOf(B)==-1))throw"Edge already in source and/or target incidency list!";return B.source.edges.push(B),B.target.edges.push(B),B}},_.prototype.remove=function(A){if(A instanceof k){var N=A;if(N.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(N==this.rootGraph||N.parent!=null&&N.parent.graphManager==this))throw"Invalid parent node!";var B=[];B=B.concat(N.getEdges());for(var F,H=B.length,j=0;j<H;j++)F=B[j],N.remove(F);var V=[];V=V.concat(N.getNodes());var Z;H=V.length;for(var j=0;j<H;j++)Z=V[j],N.remove(Z);N==this.rootGraph&&this.setRootGraph(null);var ae=this.graphs.indexOf(N);this.graphs.splice(ae,1),N.parent=null}else if(A instanceof b){if(F=A,F==null)throw"Edge is null!";if(!F.isInterGraph)throw"Not an inter-graph edge!";if(!(F.source!=null&&F.target!=null))throw"Source and/or target is null!";if(!(F.source.edges.indexOf(F)!=-1&&F.target.edges.indexOf(F)!=-1))throw"Source and/or target doesn't know this edge!";var ae=F.source.edges.indexOf(F);if(F.source.edges.splice(ae,1),ae=F.target.edges.indexOf(F),F.target.edges.splice(ae,1),!(F.source.owner!=null&&F.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(F.source.owner.getGraphManager().edges.indexOf(F)==-1)throw"Not in owner graph manager's edge list!";var ae=F.source.owner.getGraphManager().edges.indexOf(F);F.source.owner.getGraphManager().edges.splice(ae,1)}},_.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},_.prototype.getGraphs=function(){return this.graphs},_.prototype.getAllNodes=function(){if(this.allNodes==null){for(var A=[],N=this.getGraphs(),B=N.length,F=0;F<B;F++)A=A.concat(N[F].getNodes());this.allNodes=A}return this.allNodes},_.prototype.resetAllNodes=function(){this.allNodes=null},_.prototype.resetAllEdges=function(){this.allEdges=null},_.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},_.prototype.getAllEdges=function(){if(this.allEdges==null){var A=[],N=this.getGraphs();N.length;for(var B=0;B<N.length;B++)A=A.concat(N[B].getEdges());A=A.concat(this.edges),this.allEdges=A}return this.allEdges},_.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},_.prototype.setAllNodesToApplyGravitation=function(A){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=A},_.prototype.getRoot=function(){return this.rootGraph},_.prototype.setRootGraph=function(A){if(A.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=A,A.parent==null&&(A.parent=this.layout.newNode("Root node"))},_.prototype.getLayout=function(){return this.layout},_.prototype.isOneAncestorOfOther=function(A,N){if(!(A!=null&&N!=null))throw"assert failed";if(A==N)return!0;var B=A.getOwner(),F;do{if(F=B.getParent(),F==null)break;if(F==N)return!0;if(B=F.getOwner(),B==null)break}while(!0);B=N.getOwner();do{if(F=B.getParent(),F==null)break;if(F==A)return!0;if(B=F.getOwner(),B==null)break}while(!0);return!1},_.prototype.calcLowestCommonAncestors=function(){for(var A,N,B,F,H,j=this.getAllEdges(),V=j.length,Z=0;Z<V;Z++){if(A=j[Z],N=A.source,B=A.target,A.lca=null,A.sourceInLca=N,A.targetInLca=B,N==B){A.lca=N.getOwner();continue}for(F=N.getOwner();A.lca==null;){for(A.targetInLca=B,H=B.getOwner();A.lca==null;){if(H==F){A.lca=H;break}if(H==this.rootGraph)break;if(A.lca!=null)throw"assert failed";A.targetInLca=H.getParent(),H=A.targetInLca.getOwner()}if(F==this.rootGraph)break;A.lca==null&&(A.sourceInLca=F.getParent(),F=A.sourceInLca.getOwner())}if(A.lca==null)throw"assert failed"}},_.prototype.calcLowestCommonAncestor=function(A,N){if(A==N)return A.getOwner();var B=A.getOwner();do{if(B==null)break;var F=N.getOwner();do{if(F==null)break;if(F==B)return F;F=F.getParent().getOwner()}while(!0);B=B.getParent().getOwner()}while(!0);return B},_.prototype.calcInclusionTreeDepths=function(A,N){A==null&&N==null&&(A=this.rootGraph,N=1);for(var B,F=A.getNodes(),H=F.length,j=0;j<H;j++)B=F[j],B.inclusionTreeDepth=N,B.child!=null&&this.calcInclusionTreeDepths(B.child,N+1)},_.prototype.includesInvalidEdge=function(){for(var A,N=this.edges.length,B=0;B<N;B++)if(A=this.edges[B],this.isOneAncestorOfOther(A.source,A.target))return!0;return!1},f.exports=_},function(f,p,w){var k=w(0);function b(){}for(var _ in k)b[_]=k[_];b.MAX_ITERATIONS=2500,b.DEFAULT_EDGE_LENGTH=50,b.DEFAULT_SPRING_STRENGTH=.45,b.DEFAULT_REPULSION_STRENGTH=4500,b.DEFAULT_GRAVITY_STRENGTH=.4,b.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,b.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,b.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,b.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,b.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,b.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,b.COOLING_ADAPTATION_FACTOR=.33,b.ADAPTATION_LOWER_NODE_LIMIT=1e3,b.ADAPTATION_UPPER_NODE_LIMIT=5e3,b.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,b.MAX_NODE_DISPLACEMENT=b.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,b.MIN_REPULSION_DIST=b.DEFAULT_EDGE_LENGTH/10,b.CONVERGENCE_CHECK_PERIOD=100,b.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,b.MIN_EDGE_LENGTH=1,b.GRID_CALCULATION_CHECK_PERIOD=10,f.exports=b},function(f,p,w){var k=w(12);function b(){}b.calcSeparationAmount=function(_,A,N,B){if(!_.intersects(A))throw"assert failed";var F=new Array(2);this.decideDirectionsForOverlappingNodes(_,A,F),N[0]=Math.min(_.getRight(),A.getRight())-Math.max(_.x,A.x),N[1]=Math.min(_.getBottom(),A.getBottom())-Math.max(_.y,A.y),_.getX()<=A.getX()&&_.getRight()>=A.getRight()?N[0]+=Math.min(A.getX()-_.getX(),_.getRight()-A.getRight()):A.getX()<=_.getX()&&A.getRight()>=_.getRight()&&(N[0]+=Math.min(_.getX()-A.getX(),A.getRight()-_.getRight())),_.getY()<=A.getY()&&_.getBottom()>=A.getBottom()?N[1]+=Math.min(A.getY()-_.getY(),_.getBottom()-A.getBottom()):A.getY()<=_.getY()&&A.getBottom()>=_.getBottom()&&(N[1]+=Math.min(_.getY()-A.getY(),A.getBottom()-_.getBottom()));var H=Math.abs((A.getCenterY()-_.getCenterY())/(A.getCenterX()-_.getCenterX()));A.getCenterY()===_.getCenterY()&&A.getCenterX()===_.getCenterX()&&(H=1);var j=H*N[0],V=N[1]/H;N[0]<V?V=N[0]:j=N[1],N[0]=-1*F[0]*(V/2+B),N[1]=-1*F[1]*(j/2+B)},b.decideDirectionsForOverlappingNodes=function(_,A,N){_.getCenterX()<A.getCenterX()?N[0]=-1:N[0]=1,_.getCenterY()<A.getCenterY()?N[1]=-1:N[1]=1},b.getIntersection2=function(_,A,N){var B=_.getCenterX(),F=_.getCenterY(),H=A.getCenterX(),j=A.getCenterY();if(_.intersects(A))return N[0]=B,N[1]=F,N[2]=H,N[3]=j,!0;var V=_.getX(),Z=_.getY(),ae=_.getRight(),le=_.getX(),ce=_.getBottom(),be=_.getRight(),xe=_.getWidthHalf(),Ee=_.getHeightHalf(),Me=A.getX(),fe=A.getY(),ye=A.getRight(),re=A.getX(),we=A.getBottom(),ke=A.getRight(),he=A.getWidthHalf(),De=A.getHeightHalf(),X=!1,Re=!1;if(B===H){if(F>j)return N[0]=B,N[1]=Z,N[2]=H,N[3]=we,!1;if(F<j)return N[0]=B,N[1]=ce,N[2]=H,N[3]=fe,!1}else if(F===j){if(B>H)return N[0]=V,N[1]=F,N[2]=ye,N[3]=j,!1;if(B<H)return N[0]=ae,N[1]=F,N[2]=Me,N[3]=j,!1}else{var pe=_.height/_.width,Ge=A.height/A.width,de=(j-F)/(H-B),ct=void 0,bt=void 0,St=void 0,yt=void 0,Mt=void 0,nn=void 0;if(-pe===de?B>H?(N[0]=le,N[1]=ce,X=!0):(N[0]=ae,N[1]=Z,X=!0):pe===de&&(B>H?(N[0]=V,N[1]=Z,X=!0):(N[0]=be,N[1]=ce,X=!0)),-Ge===de?H>B?(N[2]=re,N[3]=we,Re=!0):(N[2]=ye,N[3]=fe,Re=!0):Ge===de&&(H>B?(N[2]=Me,N[3]=fe,Re=!0):(N[2]=ke,N[3]=we,Re=!0)),X&&Re)return!1;if(B>H?F>j?(ct=this.getCardinalDirection(pe,de,4),bt=this.getCardinalDirection(Ge,de,2)):(ct=this.getCardinalDirection(-pe,de,3),bt=this.getCardinalDirection(-Ge,de,1)):F>j?(ct=this.getCardinalDirection(-pe,de,1),bt=this.getCardinalDirection(-Ge,de,3)):(ct=this.getCardinalDirection(pe,de,2),bt=this.getCardinalDirection(Ge,de,4)),!X)switch(ct){case 1:yt=Z,St=B+-Ee/de,N[0]=St,N[1]=yt;break;case 2:St=be,yt=F+xe*de,N[0]=St,N[1]=yt;break;case 3:yt=ce,St=B+Ee/de,N[0]=St,N[1]=yt;break;case 4:St=le,yt=F+-xe*de,N[0]=St,N[1]=yt;break}if(!Re)switch(bt){case 1:nn=fe,Mt=H+-De/de,N[2]=Mt,N[3]=nn;break;case 2:Mt=ke,nn=j+he*de,N[2]=Mt,N[3]=nn;break;case 3:nn=we,Mt=H+De/de,N[2]=Mt,N[3]=nn;break;case 4:Mt=re,nn=j+-he*de,N[2]=Mt,N[3]=nn;break}}return!1},b.getCardinalDirection=function(_,A,N){return _>A?N:1+N%4},b.getIntersection=function(_,A,N,B){if(B==null)return this.getIntersection2(_,A,N);var F=_.x,H=_.y,j=A.x,V=A.y,Z=N.x,ae=N.y,le=B.x,ce=B.y,be=void 0,xe=void 0,Ee=void 0,Me=void 0,fe=void 0,ye=void 0,re=void 0,we=void 0,ke=void 0;return Ee=V-H,fe=F-j,re=j*H-F*V,Me=ce-ae,ye=Z-le,we=le*ae-Z*ce,ke=Ee*ye-Me*fe,ke===0?null:(be=(fe*we-ye*re)/ke,xe=(Me*re-Ee*we)/ke,new k(be,xe))},b.angleOfVector=function(_,A,N,B){var F=void 0;return _!==N?(F=Math.atan((B-A)/(N-_)),N<_?F+=Math.PI:B<A&&(F+=this.TWO_PI)):B<A?F=this.ONE_AND_HALF_PI:F=this.HALF_PI,F},b.doIntersect=function(_,A,N,B){var F=_.x,H=_.y,j=A.x,V=A.y,Z=N.x,ae=N.y,le=B.x,ce=B.y,be=(j-F)*(ce-ae)-(le-Z)*(V-H);if(be===0)return!1;var xe=((ce-ae)*(le-F)+(Z-le)*(ce-H))/be,Ee=((H-V)*(le-F)+(j-F)*(ce-H))/be;return 0<xe&&xe<1&&0<Ee&&Ee<1},b.HALF_PI=.5*Math.PI,b.ONE_AND_HALF_PI=1.5*Math.PI,b.TWO_PI=2*Math.PI,b.THREE_PI=3*Math.PI,f.exports=b},function(f,p,w){function k(){}k.sign=function(b){return b>0?1:b<0?-1:0},k.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},k.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},f.exports=k},function(f,p,w){function k(){}k.MAX_VALUE=2147483647,k.MIN_VALUE=-2147483648,f.exports=k},function(f,p,w){var k=function(){function F(H,j){for(var V=0;V<j.length;V++){var Z=j[V];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(H,Z.key,Z)}}return function(H,j,V){return j&&F(H.prototype,j),V&&F(H,V),H}}();function b(F,H){if(!(F instanceof H))throw new TypeError("Cannot call a class as a function")}var _=function(H){return{value:H,next:null,prev:null}},A=function(H,j,V,Z){return H!==null?H.next=j:Z.head=j,V!==null?V.prev=j:Z.tail=j,j.prev=H,j.next=V,Z.length++,j},N=function(H,j){var V=H.prev,Z=H.next;return V!==null?V.next=Z:j.head=Z,Z!==null?Z.prev=V:j.tail=V,H.prev=H.next=null,j.length--,H},B=function(){function F(H){var j=this;b(this,F),this.length=0,this.head=null,this.tail=null,H!=null&&H.forEach(function(V){return j.push(V)})}return k(F,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(j,V){return A(V.prev,_(j),V,this)}},{key:"insertAfter",value:function(j,V){return A(V,_(j),V.next,this)}},{key:"insertNodeBefore",value:function(j,V){return A(V.prev,j,V,this)}},{key:"insertNodeAfter",value:function(j,V){return A(V,j,V.next,this)}},{key:"push",value:function(j){return A(this.tail,_(j),null,this)}},{key:"unshift",value:function(j){return A(null,_(j),this.head,this)}},{key:"remove",value:function(j){return N(j,this)}},{key:"pop",value:function(){return N(this.tail,this).value}},{key:"popNode",value:function(){return N(this.tail,this)}},{key:"shift",value:function(){return N(this.head,this).value}},{key:"shiftNode",value:function(){return N(this.head,this)}},{key:"get_object_at",value:function(j){if(j<=this.length()){for(var V=1,Z=this.head;V<j;)Z=Z.next,V++;return Z.value}}},{key:"set_object_at",value:function(j,V){if(j<=this.length()){for(var Z=1,ae=this.head;Z<j;)ae=ae.next,Z++;ae.value=V}}}]),F}();f.exports=B},function(f,p,w){function k(b,_,A){this.x=null,this.y=null,b==null&&_==null&&A==null?(this.x=0,this.y=0):typeof b=="number"&&typeof _=="number"&&A==null?(this.x=b,this.y=_):b.constructor.name=="Point"&&_==null&&A==null&&(A=b,this.x=A.x,this.y=A.y)}k.prototype.getX=function(){return this.x},k.prototype.getY=function(){return this.y},k.prototype.getLocation=function(){return new k(this.x,this.y)},k.prototype.setLocation=function(b,_,A){b.constructor.name=="Point"&&_==null&&A==null?(A=b,this.setLocation(A.x,A.y)):typeof b=="number"&&typeof _=="number"&&A==null&&(parseInt(b)==b&&parseInt(_)==_?this.move(b,_):(this.x=Math.floor(b+.5),this.y=Math.floor(_+.5)))},k.prototype.move=function(b,_){this.x=b,this.y=_},k.prototype.translate=function(b,_){this.x+=b,this.y+=_},k.prototype.equals=function(b){if(b.constructor.name=="Point"){var _=b;return this.x==_.x&&this.y==_.y}return this==b},k.prototype.toString=function(){return new k().constructor.name+"[x="+this.x+",y="+this.y+"]"},f.exports=k},function(f,p,w){function k(b,_,A,N){this.x=0,this.y=0,this.width=0,this.height=0,b!=null&&_!=null&&A!=null&&N!=null&&(this.x=b,this.y=_,this.width=A,this.height=N)}k.prototype.getX=function(){return this.x},k.prototype.setX=function(b){this.x=b},k.prototype.getY=function(){return this.y},k.prototype.setY=function(b){this.y=b},k.prototype.getWidth=function(){return this.width},k.prototype.setWidth=function(b){this.width=b},k.prototype.getHeight=function(){return this.height},k.prototype.setHeight=function(b){this.height=b},k.prototype.getRight=function(){return this.x+this.width},k.prototype.getBottom=function(){return this.y+this.height},k.prototype.intersects=function(b){return!(this.getRight()<b.x||this.getBottom()<b.y||b.getRight()<this.x||b.getBottom()<this.y)},k.prototype.getCenterX=function(){return this.x+this.width/2},k.prototype.getMinX=function(){return this.getX()},k.prototype.getMaxX=function(){return this.getX()+this.width},k.prototype.getCenterY=function(){return this.y+this.height/2},k.prototype.getMinY=function(){return this.getY()},k.prototype.getMaxY=function(){return this.getY()+this.height},k.prototype.getWidthHalf=function(){return this.width/2},k.prototype.getHeightHalf=function(){return this.height/2},f.exports=k},function(f,p,w){var k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _};function b(){}b.lastID=0,b.createID=function(_){return b.isPrimitive(_)?_:(_.uniqueID!=null||(_.uniqueID=b.getString(),b.lastID++),_.uniqueID)},b.getString=function(_){return _==null&&(_=b.lastID),"Object#"+_},b.isPrimitive=function(_){var A=typeof _>"u"?"undefined":k(_);return _==null||A!="object"&&A!="function"},f.exports=b},function(f,p,w){function k(Z){if(Array.isArray(Z)){for(var ae=0,le=Array(Z.length);ae<Z.length;ae++)le[ae]=Z[ae];return le}else return Array.from(Z)}var b=w(0),_=w(6),A=w(3),N=w(1),B=w(5),F=w(4),H=w(17),j=w(27);function V(Z){j.call(this),this.layoutQuality=b.QUALITY,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=b.DEFAULT_INCREMENTAL,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new _(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,Z!=null&&(this.isRemoteUse=Z)}V.RANDOM_SEED=1,V.prototype=Object.create(j.prototype),V.prototype.getGraphManager=function(){return this.graphManager},V.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},V.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},V.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},V.prototype.newGraphManager=function(){var Z=new _(this);return this.graphManager=Z,Z},V.prototype.newGraph=function(Z){return new B(null,this.graphManager,Z)},V.prototype.newNode=function(Z){return new A(this.graphManager,Z)},V.prototype.newEdge=function(Z){return new N(null,null,Z)},V.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},V.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var Z;return this.checkLayoutSuccess()?Z=!1:Z=this.layout(),b.ANIMATE==="during"?!1:(Z&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,Z)},V.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},V.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var Z=this.graphManager.getAllEdges(),ae=0;ae<Z.length;ae++)Z[ae];for(var le=this.graphManager.getRoot().getNodes(),ae=0;ae<le.length;ae++)le[ae];this.update(this.graphManager.getRoot())}},V.prototype.update=function(Z){if(Z==null)this.update2();else if(Z instanceof A){var ae=Z;if(ae.getChild()!=null)for(var le=ae.getChild().getNodes(),ce=0;ce<le.length;ce++)update(le[ce]);if(ae.vGraphObject!=null){var be=ae.vGraphObject;be.update(ae)}}else if(Z instanceof N){var xe=Z;if(xe.vGraphObject!=null){var Ee=xe.vGraphObject;Ee.update(xe)}}else if(Z instanceof B){var Me=Z;if(Me.vGraphObject!=null){var fe=Me.vGraphObject;fe.update(Me)}}},V.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=b.QUALITY,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=b.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},V.prototype.transform=function(Z){if(Z==null)this.transform(new F(0,0));else{var ae=new H,le=this.graphManager.getRoot().updateLeftTop();if(le!=null){ae.setWorldOrgX(Z.x),ae.setWorldOrgY(Z.y),ae.setDeviceOrgX(le.x),ae.setDeviceOrgY(le.y);for(var ce=this.getAllNodes(),be,xe=0;xe<ce.length;xe++)be=ce[xe],be.transform(ae)}}},V.prototype.positionNodesRandomly=function(Z){if(Z==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var ae,le,ce=Z.getNodes(),be=0;be<ce.length;be++)ae=ce[be],le=ae.getChild(),le==null||le.getNodes().length==0?ae.scatter():(this.positionNodesRandomly(le),ae.updateBounds())},V.prototype.getFlatForest=function(){for(var Z=[],ae=!0,le=this.graphManager.getRoot().getNodes(),ce=!0,be=0;be<le.length;be++)le[be].getChild()!=null&&(ce=!1);if(!ce)return Z;var xe=new Set,Ee=[],Me=new Map,fe=[];for(fe=fe.concat(le);fe.length>0&&ae;){for(Ee.push(fe[0]);Ee.length>0&&ae;){var ye=Ee[0];Ee.splice(0,1),xe.add(ye);for(var re=ye.getEdges(),be=0;be<re.length;be++){var we=re[be].getOtherEnd(ye);if(Me.get(ye)!=we)if(!xe.has(we))Ee.push(we),Me.set(we,ye);else{ae=!1;break}}}if(!ae)Z=[];else{var ke=[].concat(k(xe));Z.push(ke);for(var be=0;be<ke.length;be++){var he=ke[be],De=fe.indexOf(he);De>-1&&fe.splice(De,1)}xe=new Set,Me=new Map}}return Z},V.prototype.createDummyNodesForBendpoints=function(Z){for(var ae=[],le=Z.source,ce=this.graphManager.calcLowestCommonAncestor(Z.source,Z.target),be=0;be<Z.bendpoints.length;be++){var xe=this.newNode(null);xe.setRect(new Point(0,0),new Dimension(1,1)),ce.add(xe);var Ee=this.newEdge(null);this.graphManager.add(Ee,le,xe),ae.add(xe),le=xe}var Ee=this.newEdge(null);return this.graphManager.add(Ee,le,Z.target),this.edgeToDummyNodes.set(Z,ae),Z.isInterGraph()?this.graphManager.remove(Z):ce.remove(Z),ae},V.prototype.createBendpointsFromDummyNodes=function(){var Z=[];Z=Z.concat(this.graphManager.getAllEdges()),Z=[].concat(k(this.edgeToDummyNodes.keys())).concat(Z);for(var ae=0;ae<Z.length;ae++){var le=Z[ae];if(le.bendpoints.length>0){for(var ce=this.edgeToDummyNodes.get(le),be=0;be<ce.length;be++){var xe=ce[be],Ee=new F(xe.getCenterX(),xe.getCenterY()),Me=le.bendpoints.get(be);Me.x=Ee.x,Me.y=Ee.y,xe.getOwner().remove(xe)}this.graphManager.add(le,le.source,le.target)}}},V.transform=function(Z,ae,le,ce){if(le!=null&&ce!=null){var be=ae;if(Z<=50){var xe=ae/le;be-=(ae-xe)/50*(50-Z)}else{var Ee=ae*ce;be+=(Ee-ae)/50*(Z-50)}return be}else{var Me,fe;return Z<=50?(Me=9*ae/500,fe=ae/10):(Me=9*ae/50,fe=-8*ae),Me*Z+fe}},V.findCenterOfTree=function(Z){var ae=[];ae=ae.concat(Z);var le=[],ce=new Map,be=!1,xe=null;(ae.length==1||ae.length==2)&&(be=!0,xe=ae[0]);for(var Ee=0;Ee<ae.length;Ee++){var Me=ae[Ee],fe=Me.getNeighborsList().size;ce.set(Me,Me.getNeighborsList().size),fe==1&&le.push(Me)}var ye=[];for(ye=ye.concat(le);!be;){var re=[];re=re.concat(ye),ye=[];for(var Ee=0;Ee<ae.length;Ee++){var Me=ae[Ee],we=ae.indexOf(Me);we>=0&&ae.splice(we,1);var ke=Me.getNeighborsList();ke.forEach(function(X){if(le.indexOf(X)<0){var Re=ce.get(X),pe=Re-1;pe==1&&ye.push(X),ce.set(X,pe)}})}le=le.concat(ye),(ae.length==1||ae.length==2)&&(be=!0,xe=ae[0])}return xe},V.prototype.setGraphManager=function(Z){this.graphManager=Z},f.exports=V},function(f,p,w){function k(){}k.seed=1,k.x=0,k.nextDouble=function(){return k.x=Math.sin(k.seed++)*1e4,k.x-Math.floor(k.x)},f.exports=k},function(f,p,w){var k=w(4);function b(_,A){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(_){this.lworldOrgX=_},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(_){this.lworldOrgY=_},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(_){this.lworldExtX=_},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(_){this.lworldExtY=_},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(_){this.ldeviceOrgX=_},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(_){this.ldeviceOrgY=_},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(_){this.ldeviceExtX=_},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(_){this.ldeviceExtY=_},b.prototype.transformX=function(_){var A=0,N=this.lworldExtX;return N!=0&&(A=this.ldeviceOrgX+(_-this.lworldOrgX)*this.ldeviceExtX/N),A},b.prototype.transformY=function(_){var A=0,N=this.lworldExtY;return N!=0&&(A=this.ldeviceOrgY+(_-this.lworldOrgY)*this.ldeviceExtY/N),A},b.prototype.inverseTransformX=function(_){var A=0,N=this.ldeviceExtX;return N!=0&&(A=this.lworldOrgX+(_-this.ldeviceOrgX)*this.lworldExtX/N),A},b.prototype.inverseTransformY=function(_){var A=0,N=this.ldeviceExtY;return N!=0&&(A=this.lworldOrgY+(_-this.ldeviceOrgY)*this.lworldExtY/N),A},b.prototype.inverseTransformPoint=function(_){var A=new k(this.inverseTransformX(_.x),this.inverseTransformY(_.y));return A},f.exports=b},function(f,p,w){function k(j){if(Array.isArray(j)){for(var V=0,Z=Array(j.length);V<j.length;V++)Z[V]=j[V];return Z}else return Array.from(j)}var b=w(15),_=w(7),A=w(0),N=w(8),B=w(9);function F(){b.call(this),this.useSmartIdealEdgeLengthCalculation=_.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=_.DEFAULT_EDGE_LENGTH,this.springConstant=_.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=_.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=_.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=_.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=_.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=_.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*_.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=_.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=_.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=_.MAX_ITERATIONS}F.prototype=Object.create(b.prototype);for(var H in b)F[H]=b[H];F.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=_.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},F.prototype.calcIdealEdgeLengths=function(){for(var j,V,Z,ae,le,ce,be=this.getGraphManager().getAllEdges(),xe=0;xe<be.length;xe++)j=be[xe],j.idealLength=this.idealEdgeLength,j.isInterGraph&&(Z=j.getSource(),ae=j.getTarget(),le=j.getSourceInLca().getEstimatedSize(),ce=j.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(j.idealLength+=le+ce-2*A.SIMPLE_NODE_SIZE),V=j.getLca().getInclusionTreeDepth(),j.idealLength+=_.DEFAULT_EDGE_LENGTH*_.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(Z.getInclusionTreeDepth()+ae.getInclusionTreeDepth()-2*V))},F.prototype.initSpringEmbedder=function(){var j=this.getAllNodes().length;this.incremental?(j>_.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*_.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(j-_.ADAPTATION_LOWER_NODE_LIMIT)/(_.ADAPTATION_UPPER_NODE_LIMIT-_.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-_.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=_.MAX_NODE_DISPLACEMENT_INCREMENTAL):(j>_.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(_.COOLING_ADAPTATION_FACTOR,1-(j-_.ADAPTATION_LOWER_NODE_LIMIT)/(_.ADAPTATION_UPPER_NODE_LIMIT-_.ADAPTATION_LOWER_NODE_LIMIT)*(1-_.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=_.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var j=this.getAllEdges(),V,Z=0;Z<j.length;Z++)V=j[Z],this.calcSpringForce(V,V.idealLength)},F.prototype.calcRepulsionForces=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z,ae,le,ce,be=this.getAllNodes(),xe;if(this.useFRGridVariant)for(this.totalIterations%_.GRID_CALCULATION_CHECK_PERIOD==1&&j&&this.updateGrid(),xe=new Set,Z=0;Z<be.length;Z++)le=be[Z],this.calculateRepulsionForceOfANode(le,xe,j,V),xe.add(le);else for(Z=0;Z<be.length;Z++)for(le=be[Z],ae=Z+1;ae<be.length;ae++)ce=be[ae],le.getOwner()==ce.getOwner()&&this.calcRepulsionForce(le,ce)},F.prototype.calcGravitationalForces=function(){for(var j,V=this.getAllNodesToApplyGravitation(),Z=0;Z<V.length;Z++)j=V[Z],this.calcGravitationalForce(j)},F.prototype.moveNodes=function(){for(var j=this.getAllNodes(),V,Z=0;Z<j.length;Z++)V=j[Z],V.move()},F.prototype.calcSpringForce=function(j,V){var Z=j.getSource(),ae=j.getTarget(),le,ce,be,xe;if(this.uniformLeafNodeSizes&&Z.getChild()==null&&ae.getChild()==null)j.updateLengthSimple();else if(j.updateLength(),j.isOverlapingSourceAndTarget)return;le=j.getLength(),le!=0&&(ce=this.springConstant*(le-V),be=ce*(j.lengthX/le),xe=ce*(j.lengthY/le),Z.springForceX+=be,Z.springForceY+=xe,ae.springForceX-=be,ae.springForceY-=xe)},F.prototype.calcRepulsionForce=function(j,V){var Z=j.getRect(),ae=V.getRect(),le=new Array(2),ce=new Array(4),be,xe,Ee,Me,fe,ye,re;if(Z.intersects(ae)){N.calcSeparationAmount(Z,ae,le,_.DEFAULT_EDGE_LENGTH/2),ye=2*le[0],re=2*le[1];var we=j.noOfChildren*V.noOfChildren/(j.noOfChildren+V.noOfChildren);j.repulsionForceX-=we*ye,j.repulsionForceY-=we*re,V.repulsionForceX+=we*ye,V.repulsionForceY+=we*re}else this.uniformLeafNodeSizes&&j.getChild()==null&&V.getChild()==null?(be=ae.getCenterX()-Z.getCenterX(),xe=ae.getCenterY()-Z.getCenterY()):(N.getIntersection(Z,ae,ce),be=ce[2]-ce[0],xe=ce[3]-ce[1]),Math.abs(be)<_.MIN_REPULSION_DIST&&(be=B.sign(be)*_.MIN_REPULSION_DIST),Math.abs(xe)<_.MIN_REPULSION_DIST&&(xe=B.sign(xe)*_.MIN_REPULSION_DIST),Ee=be*be+xe*xe,Me=Math.sqrt(Ee),fe=this.repulsionConstant*j.noOfChildren*V.noOfChildren/Ee,ye=fe*be/Me,re=fe*xe/Me,j.repulsionForceX-=ye,j.repulsionForceY-=re,V.repulsionForceX+=ye,V.repulsionForceY+=re},F.prototype.calcGravitationalForce=function(j){var V,Z,ae,le,ce,be,xe,Ee;V=j.getOwner(),Z=(V.getRight()+V.getLeft())/2,ae=(V.getTop()+V.getBottom())/2,le=j.getCenterX()-Z,ce=j.getCenterY()-ae,be=Math.abs(le)+j.getWidth()/2,xe=Math.abs(ce)+j.getHeight()/2,j.getOwner()==this.graphManager.getRoot()?(Ee=V.getEstimatedSize()*this.gravityRangeFactor,(be>Ee||xe>Ee)&&(j.gravitationForceX=-this.gravityConstant*le,j.gravitationForceY=-this.gravityConstant*ce)):(Ee=V.getEstimatedSize()*this.compoundGravityRangeFactor,(be>Ee||xe>Ee)&&(j.gravitationForceX=-this.gravityConstant*le*this.compoundGravityConstant,j.gravitationForceY=-this.gravityConstant*ce*this.compoundGravityConstant))},F.prototype.isConverged=function(){var j,V=!1;return this.totalIterations>this.maxIterations/3&&(V=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),j=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,j||V},F.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},F.prototype.calcNoOfChildrenForAllNodes=function(){for(var j,V=this.graphManager.getAllNodes(),Z=0;Z<V.length;Z++)j=V[Z],j.noOfChildren=j.getNoOfChildren()},F.prototype.calcGrid=function(j){var V=0,Z=0;V=parseInt(Math.ceil((j.getRight()-j.getLeft())/this.repulsionRange)),Z=parseInt(Math.ceil((j.getBottom()-j.getTop())/this.repulsionRange));for(var ae=new Array(V),le=0;le<V;le++)ae[le]=new Array(Z);for(var le=0;le<V;le++)for(var ce=0;ce<Z;ce++)ae[le][ce]=new Array;return ae},F.prototype.addNodeToGrid=function(j,V,Z){var ae=0,le=0,ce=0,be=0;ae=parseInt(Math.floor((j.getRect().x-V)/this.repulsionRange)),le=parseInt(Math.floor((j.getRect().width+j.getRect().x-V)/this.repulsionRange)),ce=parseInt(Math.floor((j.getRect().y-Z)/this.repulsionRange)),be=parseInt(Math.floor((j.getRect().height+j.getRect().y-Z)/this.repulsionRange));for(var xe=ae;xe<=le;xe++)for(var Ee=ce;Ee<=be;Ee++)this.grid[xe][Ee].push(j),j.setGridCoordinates(ae,le,ce,be)},F.prototype.updateGrid=function(){var j,V,Z=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),j=0;j<Z.length;j++)V=Z[j],this.addNodeToGrid(V,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},F.prototype.calculateRepulsionForceOfANode=function(j,V,Z,ae){if(this.totalIterations%_.GRID_CALCULATION_CHECK_PERIOD==1&&Z||ae){var le=new Set;j.surrounding=new Array;for(var ce,be=this.grid,xe=j.startX-1;xe<j.finishX+2;xe++)for(var Ee=j.startY-1;Ee<j.finishY+2;Ee++)if(!(xe<0||Ee<0||xe>=be.length||Ee>=be[0].length)){for(var Me=0;Me<be[xe][Ee].length;Me++)if(ce=be[xe][Ee][Me],!(j.getOwner()!=ce.getOwner()||j==ce)&&!V.has(ce)&&!le.has(ce)){var fe=Math.abs(j.getCenterX()-ce.getCenterX())-(j.getWidth()/2+ce.getWidth()/2),ye=Math.abs(j.getCenterY()-ce.getCenterY())-(j.getHeight()/2+ce.getHeight()/2);fe<=this.repulsionRange&&ye<=this.repulsionRange&&le.add(ce)}}j.surrounding=[].concat(k(le))}for(xe=0;xe<j.surrounding.length;xe++)this.calcRepulsionForce(j,j.surrounding[xe])},F.prototype.calcRepulsionRange=function(){return 0},f.exports=F},function(f,p,w){var k=w(1),b=w(7);function _(N,B,F){k.call(this,N,B,F),this.idealLength=b.DEFAULT_EDGE_LENGTH}_.prototype=Object.create(k.prototype);for(var A in k)_[A]=k[A];f.exports=_},function(f,p,w){var k=w(3);function b(A,N,B,F){k.call(this,A,N,B,F),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}b.prototype=Object.create(k.prototype);for(var _ in k)b[_]=k[_];b.prototype.setGridCoordinates=function(A,N,B,F){this.startX=A,this.finishX=N,this.startY=B,this.finishY=F},f.exports=b},function(f,p,w){function k(b,_){this.width=0,this.height=0,b!==null&&_!==null&&(this.height=_,this.width=b)}k.prototype.getWidth=function(){return this.width},k.prototype.setWidth=function(b){this.width=b},k.prototype.getHeight=function(){return this.height},k.prototype.setHeight=function(b){this.height=b},f.exports=k},function(f,p,w){var k=w(14);function b(){this.map={},this.keys=[]}b.prototype.put=function(_,A){var N=k.createID(_);this.contains(N)||(this.map[N]=A,this.keys.push(_))},b.prototype.contains=function(_){return k.createID(_),this.map[_]!=null},b.prototype.get=function(_){var A=k.createID(_);return this.map[A]},b.prototype.keySet=function(){return this.keys},f.exports=b},function(f,p,w){var k=w(14);function b(){this.set={}}b.prototype.add=function(_){var A=k.createID(_);this.contains(A)||(this.set[A]=_)},b.prototype.remove=function(_){delete this.set[k.createID(_)]},b.prototype.clear=function(){this.set={}},b.prototype.contains=function(_){return this.set[k.createID(_)]==_},b.prototype.isEmpty=function(){return this.size()===0},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAllTo=function(_){for(var A=Object.keys(this.set),N=A.length,B=0;B<N;B++)_.push(this.set[A[B]])},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAll=function(_){for(var A=_.length,N=0;N<A;N++){var B=_[N];this.add(B)}},f.exports=b},function(f,p,w){var k=function(){function N(B,F){for(var H=0;H<F.length;H++){var j=F[H];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(B,j.key,j)}}return function(B,F,H){return F&&N(B.prototype,F),H&&N(B,H),B}}();function b(N,B){if(!(N instanceof B))throw new TypeError("Cannot call a class as a function")}var _=w(11),A=function(){function N(B,F){b(this,N),(F!==null||F!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var H=void 0;B instanceof _?H=B.size():H=B.length,this._quicksort(B,0,H-1)}return k(N,[{key:"_quicksort",value:function(F,H,j){if(H<j){var V=this._partition(F,H,j);this._quicksort(F,H,V),this._quicksort(F,V+1,j)}}},{key:"_partition",value:function(F,H,j){for(var V=this._get(F,H),Z=H,ae=j;;){for(;this.compareFunction(V,this._get(F,ae));)ae--;for(;this.compareFunction(this._get(F,Z),V);)Z++;if(Z<ae)this._swap(F,Z,ae),Z++,ae--;else return ae}}},{key:"_get",value:function(F,H){return F instanceof _?F.get_object_at(H):F[H]}},{key:"_set",value:function(F,H,j){F instanceof _?F.set_object_at(H,j):F[H]=j}},{key:"_swap",value:function(F,H,j){var V=this._get(F,H);this._set(F,H,this._get(F,j)),this._set(F,j,V)}},{key:"_defaultCompareFunction",value:function(F,H){return H>F}}]),N}();f.exports=A},function(f,p,w){var k=function(){function A(N,B){for(var F=0;F<B.length;F++){var H=B[F];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(N,H.key,H)}}return function(N,B,F){return B&&A(N.prototype,B),F&&A(N,F),N}}();function b(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")}var _=function(){function A(N,B){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,j=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,A),this.sequence1=N,this.sequence2=B,this.match_score=F,this.mismatch_penalty=H,this.gap_penalty=j,this.iMax=N.length+1,this.jMax=B.length+1,this.grid=new Array(this.iMax);for(var V=0;V<this.iMax;V++){this.grid[V]=new Array(this.jMax);for(var Z=0;Z<this.jMax;Z++)this.grid[V][Z]=0}this.tracebackGrid=new Array(this.iMax);for(var ae=0;ae<this.iMax;ae++){this.tracebackGrid[ae]=new Array(this.jMax);for(var le=0;le<this.jMax;le++)this.tracebackGrid[ae][le]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return k(A,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var B=1;B<this.jMax;B++)this.grid[0][B]=this.grid[0][B-1]+this.gap_penalty,this.tracebackGrid[0][B]=[!1,!1,!0];for(var F=1;F<this.iMax;F++)this.grid[F][0]=this.grid[F-1][0]+this.gap_penalty,this.tracebackGrid[F][0]=[!1,!0,!1];for(var H=1;H<this.iMax;H++)for(var j=1;j<this.jMax;j++){var V=void 0;this.sequence1[H-1]===this.sequence2[j-1]?V=this.grid[H-1][j-1]+this.match_score:V=this.grid[H-1][j-1]+this.mismatch_penalty;var Z=this.grid[H-1][j]+this.gap_penalty,ae=this.grid[H][j-1]+this.gap_penalty,le=[V,Z,ae],ce=this.arrayAllMaxIndexes(le);this.grid[H][j]=le[ce[0]],this.tracebackGrid[H][j]=[ce.includes(0),ce.includes(1),ce.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var B=[];for(B.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});B[0];){var F=B[0],H=this.tracebackGrid[F.pos[0]][F.pos[1]];H[0]&&B.push({pos:[F.pos[0]-1,F.pos[1]-1],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),H[1]&&B.push({pos:[F.pos[0]-1,F.pos[1]],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:"-"+F.seq2}),H[2]&&B.push({pos:[F.pos[0],F.pos[1]-1],seq1:"-"+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),F.pos[0]===0&&F.pos[1]===0&&this.alignments.push({sequence1:F.seq1,sequence2:F.seq2}),B.shift()}return this.alignments}},{key:"getAllIndexes",value:function(B,F){for(var H=[],j=-1;(j=B.indexOf(F,j+1))!==-1;)H.push(j);return H}},{key:"arrayAllMaxIndexes",value:function(B){return this.getAllIndexes(B,Math.max.apply(null,B))}}]),A}();f.exports=_},function(f,p,w){var k=function(){};k.FDLayout=w(18),k.FDLayoutConstants=w(7),k.FDLayoutEdge=w(19),k.FDLayoutNode=w(20),k.DimensionD=w(21),k.HashMap=w(22),k.HashSet=w(23),k.IGeometry=w(8),k.IMath=w(9),k.Integer=w(10),k.Point=w(12),k.PointD=w(4),k.RandomSeed=w(16),k.RectangleD=w(13),k.Transform=w(17),k.UniqueIDGeneretor=w(14),k.Quicksort=w(24),k.LinkedList=w(11),k.LGraphObject=w(2),k.LGraph=w(5),k.LEdge=w(1),k.LGraphManager=w(6),k.LNode=w(3),k.Layout=w(15),k.LayoutConstants=w(0),k.NeedlemanWunsch=w(25),f.exports=k},function(f,p,w){function k(){this.listeners=[]}var b=k.prototype;b.addListener=function(_,A){this.listeners.push({event:_,callback:A})},b.removeListener=function(_,A){for(var N=this.listeners.length;N>=0;N--){var B=this.listeners[N];B.event===_&&B.callback===A&&this.listeners.splice(N,1)}},b.emit=function(_,A){for(var N=0;N<this.listeners.length;N++){var B=this.listeners[N];_===B.event&&B.callback(A)}},f.exports=k}])})}(Ozt)),_W}var vRe;function Pzt(){return vRe||(vRe=1,function(s,o){(function(p,w){s.exports=w(Nzt())})(g0,function(f){return function(p){var w={};function k(b){if(w[b])return w[b].exports;var _=w[b]={i:b,l:!1,exports:{}};return p[b].call(_.exports,_,_.exports,k),_.l=!0,_.exports}return k.m=p,k.c=w,k.i=function(b){return b},k.d=function(b,_,A){k.o(b,_)||Object.defineProperty(b,_,{configurable:!1,enumerable:!0,get:A})},k.n=function(b){var _=b&&b.__esModule?function(){return b.default}:function(){return b};return k.d(_,"a",_),_},k.o=function(b,_){return Object.prototype.hasOwnProperty.call(b,_)},k.p="",k(k.s=7)}([function(p,w){p.exports=f},function(p,w,k){var b=k(0).FDLayoutConstants;function _(){}for(var A in b)_[A]=b[A];_.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,_.DEFAULT_RADIAL_SEPARATION=b.DEFAULT_EDGE_LENGTH,_.DEFAULT_COMPONENT_SEPERATION=60,_.TILE=!0,_.TILING_PADDING_VERTICAL=10,_.TILING_PADDING_HORIZONTAL=10,_.TREE_REDUCTION_ON_INCREMENTAL=!1,p.exports=_},function(p,w,k){var b=k(0).FDLayoutEdge;function _(N,B,F){b.call(this,N,B,F)}_.prototype=Object.create(b.prototype);for(var A in b)_[A]=b[A];p.exports=_},function(p,w,k){var b=k(0).LGraph;function _(N,B,F){b.call(this,N,B,F)}_.prototype=Object.create(b.prototype);for(var A in b)_[A]=b[A];p.exports=_},function(p,w,k){var b=k(0).LGraphManager;function _(N){b.call(this,N)}_.prototype=Object.create(b.prototype);for(var A in b)_[A]=b[A];p.exports=_},function(p,w,k){var b=k(0).FDLayoutNode,_=k(0).IMath;function A(B,F,H,j){b.call(this,B,F,H,j)}A.prototype=Object.create(b.prototype);for(var N in b)A[N]=b[N];A.prototype.move=function(){var B=this.graphManager.getLayout();this.displacementX=B.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=B.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>B.coolingFactor*B.maxNodeDisplacement&&(this.displacementX=B.coolingFactor*B.maxNodeDisplacement*_.sign(this.displacementX)),Math.abs(this.displacementY)>B.coolingFactor*B.maxNodeDisplacement&&(this.displacementY=B.coolingFactor*B.maxNodeDisplacement*_.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),B.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},A.prototype.propogateDisplacementToChildren=function(B,F){for(var H=this.getChild().getNodes(),j,V=0;V<H.length;V++)j=H[V],j.getChild()==null?(j.moveBy(B,F),j.displacementX+=B,j.displacementY+=F):j.propogateDisplacementToChildren(B,F)},A.prototype.setPred1=function(B){this.pred1=B},A.prototype.getPred1=function(){return pred1},A.prototype.getPred2=function(){return pred2},A.prototype.setNext=function(B){this.next=B},A.prototype.getNext=function(){return next},A.prototype.setProcessed=function(B){this.processed=B},A.prototype.isProcessed=function(){return processed},p.exports=A},function(p,w,k){var b=k(0).FDLayout,_=k(4),A=k(3),N=k(5),B=k(2),F=k(1),H=k(0).FDLayoutConstants,j=k(0).LayoutConstants,V=k(0).Point,Z=k(0).PointD,ae=k(0).Layout,le=k(0).Integer,ce=k(0).IGeometry,be=k(0).LGraph,xe=k(0).Transform;function Ee(){b.call(this),this.toBeTiled={}}Ee.prototype=Object.create(b.prototype);for(var Me in b)Ee[Me]=b[Me];Ee.prototype.newGraphManager=function(){var fe=new _(this);return this.graphManager=fe,fe},Ee.prototype.newGraph=function(fe){return new A(null,this.graphManager,fe)},Ee.prototype.newNode=function(fe){return new N(this.graphManager,fe)},Ee.prototype.newEdge=function(fe){return new B(null,null,fe)},Ee.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.isSubLayout||(F.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=F.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=F.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=H.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=H.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=H.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=H.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=H.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=H.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/H.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=H.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},Ee.prototype.layout=function(){var fe=j.DEFAULT_CREATE_BENDS_AS_NEEDED;return fe&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},Ee.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(F.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var ye=new Set(this.getAllNodes()),re=this.nodesWithGravity.filter(function(he){return ye.has(he)});this.graphManager.setAllNodesToApplyGravitation(re)}}else{var fe=this.getFlatForest();if(fe.length>0)this.positionNodesRadially(fe);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var ye=new Set(this.getAllNodes()),re=this.nodesWithGravity.filter(function(we){return ye.has(we)});this.graphManager.setAllNodesToApplyGravitation(re),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},Ee.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%H.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 fe=new Set(this.getAllNodes()),ye=this.nodesWithGravity.filter(function(ke){return fe.has(ke)});this.graphManager.setAllNodesToApplyGravitation(ye),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=H.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=H.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var re=!this.isTreeGrowing&&!this.isGrowthFinished,we=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(re,we),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},Ee.prototype.getPositionsData=function(){for(var fe=this.graphManager.getAllNodes(),ye={},re=0;re<fe.length;re++){var we=fe[re].rect,ke=fe[re].id;ye[ke]={id:ke,x:we.getCenterX(),y:we.getCenterY(),w:we.width,h:we.height}}return ye},Ee.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var fe=!1;if(H.ANIMATE==="during")this.emit("layoutstarted");else{for(;!fe;)fe=this.tick();this.graphManager.updateBounds()}},Ee.prototype.calculateNodesToApplyGravitationTo=function(){var fe=[],ye,re=this.graphManager.getGraphs(),we=re.length,ke;for(ke=0;ke<we;ke++)ye=re[ke],ye.updateConnected(),ye.isConnected||(fe=fe.concat(ye.getNodes()));return fe},Ee.prototype.createBendpoints=function(){var fe=[];fe=fe.concat(this.graphManager.getAllEdges());var ye=new Set,re;for(re=0;re<fe.length;re++){var we=fe[re];if(!ye.has(we)){var ke=we.getSource(),he=we.getTarget();if(ke==he)we.getBendpoints().push(new Z),we.getBendpoints().push(new Z),this.createDummyNodesForBendpoints(we),ye.add(we);else{var De=[];if(De=De.concat(ke.getEdgeListToNode(he)),De=De.concat(he.getEdgeListToNode(ke)),!ye.has(De[0])){if(De.length>1){var X;for(X=0;X<De.length;X++){var Re=De[X];Re.getBendpoints().push(new Z),this.createDummyNodesForBendpoints(Re)}}De.forEach(function(pe){ye.add(pe)})}}}if(ye.size==fe.length)break}},Ee.prototype.positionNodesRadially=function(fe){for(var ye=new V(0,0),re=Math.ceil(Math.sqrt(fe.length)),we=0,ke=0,he=0,De=new Z(0,0),X=0;X<fe.length;X++){X%re==0&&(he=0,ke=we,X!=0&&(ke+=F.DEFAULT_COMPONENT_SEPERATION),we=0);var Re=fe[X],pe=ae.findCenterOfTree(Re);ye.x=he,ye.y=ke,De=Ee.radialLayout(Re,pe,ye),De.y>we&&(we=Math.floor(De.y)),he=Math.floor(De.x+F.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Z(j.WORLD_CENTER_X-De.x/2,j.WORLD_CENTER_Y-De.y/2))},Ee.radialLayout=function(fe,ye,re){var we=Math.max(this.maxDiagonalInTree(fe),F.DEFAULT_RADIAL_SEPARATION);Ee.branchRadialLayout(ye,null,0,359,0,we);var ke=be.calculateBounds(fe),he=new xe;he.setDeviceOrgX(ke.getMinX()),he.setDeviceOrgY(ke.getMinY()),he.setWorldOrgX(re.x),he.setWorldOrgY(re.y);for(var De=0;De<fe.length;De++){var X=fe[De];X.transform(he)}var Re=new Z(ke.getMaxX(),ke.getMaxY());return he.inverseTransformPoint(Re)},Ee.branchRadialLayout=function(fe,ye,re,we,ke,he){var De=(we-re+1)/2;De<0&&(De+=180);var X=(De+re)%360,Re=X*ce.TWO_PI/360,pe=ke*Math.cos(Re),Ge=ke*Math.sin(Re);fe.setCenter(pe,Ge);var de=[];de=de.concat(fe.getEdges());var ct=de.length;ye!=null&&ct--;for(var bt=0,St=de.length,yt,Mt=fe.getEdgesBetween(ye);Mt.length>1;){var nn=Mt[0];Mt.splice(0,1);var dn=de.indexOf(nn);dn>=0&&de.splice(dn,1),St--,ct--}ye!=null?yt=(de.indexOf(Mt[0])+1)%St:yt=0;for(var vt=Math.abs(we-re)/ct,Lr=yt;bt!=ct;Lr=++Lr%St){var xt=de[Lr].getOtherEnd(fe);if(xt!=ye){var Tt=(re+bt*vt)%360,wt=(Tt+vt)%360;Ee.branchRadialLayout(xt,fe,Tt,wt,ke+he,he),bt++}}},Ee.maxDiagonalInTree=function(fe){for(var ye=le.MIN_VALUE,re=0;re<fe.length;re++){var we=fe[re],ke=we.getDiagonal();ke>ye&&(ye=ke)}return ye},Ee.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},Ee.prototype.groupZeroDegreeMembers=function(){var fe=this,ye={};this.memberGroups={},this.idToDummyNode={};for(var re=[],we=this.graphManager.getAllNodes(),ke=0;ke<we.length;ke++){var he=we[ke],De=he.getParent();this.getNodeDegreeWithChildren(he)===0&&(De.id==null||!this.getToBeTiled(De))&&re.push(he)}for(var ke=0;ke<re.length;ke++){var he=re[ke],X=he.getParent().id;typeof ye[X]>"u"&&(ye[X]=[]),ye[X]=ye[X].concat(he)}Object.keys(ye).forEach(function(Re){if(ye[Re].length>1){var pe="DummyCompound_"+Re;fe.memberGroups[pe]=ye[Re];var Ge=ye[Re][0].getParent(),de=new N(fe.graphManager);de.id=pe,de.paddingLeft=Ge.paddingLeft||0,de.paddingRight=Ge.paddingRight||0,de.paddingBottom=Ge.paddingBottom||0,de.paddingTop=Ge.paddingTop||0,fe.idToDummyNode[pe]=de;var ct=fe.getGraphManager().add(fe.newGraph(),de),bt=Ge.getChild();bt.add(de);for(var St=0;St<ye[Re].length;St++){var yt=ye[Re][St];bt.remove(yt),ct.add(yt)}}})},Ee.prototype.clearCompounds=function(){var fe={},ye={};this.performDFSOnCompounds();for(var re=0;re<this.compoundOrder.length;re++)ye[this.compoundOrder[re].id]=this.compoundOrder[re],fe[this.compoundOrder[re].id]=[].concat(this.compoundOrder[re].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[re].getChild()),this.compoundOrder[re].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(fe,ye)},Ee.prototype.clearZeroDegreeMembers=function(){var fe=this,ye=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(re){var we=fe.idToDummyNode[re];ye[re]=fe.tileNodes(fe.memberGroups[re],we.paddingLeft+we.paddingRight),we.rect.width=ye[re].width,we.rect.height=ye[re].height})},Ee.prototype.repopulateCompounds=function(){for(var fe=this.compoundOrder.length-1;fe>=0;fe--){var ye=this.compoundOrder[fe],re=ye.id,we=ye.paddingLeft,ke=ye.paddingTop;this.adjustLocations(this.tiledMemberPack[re],ye.rect.x,ye.rect.y,we,ke)}},Ee.prototype.repopulateZeroDegreeMembers=function(){var fe=this,ye=this.tiledZeroDegreePack;Object.keys(ye).forEach(function(re){var we=fe.idToDummyNode[re],ke=we.paddingLeft,he=we.paddingTop;fe.adjustLocations(ye[re],we.rect.x,we.rect.y,ke,he)})},Ee.prototype.getToBeTiled=function(fe){var ye=fe.id;if(this.toBeTiled[ye]!=null)return this.toBeTiled[ye];var re=fe.getChild();if(re==null)return this.toBeTiled[ye]=!1,!1;for(var we=re.getNodes(),ke=0;ke<we.length;ke++){var he=we[ke];if(this.getNodeDegree(he)>0)return this.toBeTiled[ye]=!1,!1;if(he.getChild()==null){this.toBeTiled[he.id]=!1;continue}if(!this.getToBeTiled(he))return this.toBeTiled[ye]=!1,!1}return this.toBeTiled[ye]=!0,!0},Ee.prototype.getNodeDegree=function(fe){fe.id;for(var ye=fe.getEdges(),re=0,we=0;we<ye.length;we++){var ke=ye[we];ke.getSource().id!==ke.getTarget().id&&(re=re+1)}return re},Ee.prototype.getNodeDegreeWithChildren=function(fe){var ye=this.getNodeDegree(fe);if(fe.getChild()==null)return ye;for(var re=fe.getChild().getNodes(),we=0;we<re.length;we++){var ke=re[we];ye+=this.getNodeDegreeWithChildren(ke)}return ye},Ee.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},Ee.prototype.fillCompexOrderByDFS=function(fe){for(var ye=0;ye<fe.length;ye++){var re=fe[ye];re.getChild()!=null&&this.fillCompexOrderByDFS(re.getChild().getNodes()),this.getToBeTiled(re)&&this.compoundOrder.push(re)}},Ee.prototype.adjustLocations=function(fe,ye,re,we,ke){ye+=we,re+=ke;for(var he=ye,De=0;De<fe.rows.length;De++){var X=fe.rows[De];ye=he;for(var Re=0,pe=0;pe<X.length;pe++){var Ge=X[pe];Ge.rect.x=ye,Ge.rect.y=re,ye+=Ge.rect.width+fe.horizontalPadding,Ge.rect.height>Re&&(Re=Ge.rect.height)}re+=Re+fe.verticalPadding}},Ee.prototype.tileCompoundMembers=function(fe,ye){var re=this;this.tiledMemberPack=[],Object.keys(fe).forEach(function(we){var ke=ye[we];re.tiledMemberPack[we]=re.tileNodes(fe[we],ke.paddingLeft+ke.paddingRight),ke.rect.width=re.tiledMemberPack[we].width,ke.rect.height=re.tiledMemberPack[we].height})},Ee.prototype.tileNodes=function(fe,ye){var re=F.TILING_PADDING_VERTICAL,we=F.TILING_PADDING_HORIZONTAL,ke={rows:[],rowWidth:[],rowHeight:[],width:0,height:ye,verticalPadding:re,horizontalPadding:we};fe.sort(function(X,Re){return X.rect.width*X.rect.height>Re.rect.width*Re.rect.height?-1:X.rect.width*X.rect.height<Re.rect.width*Re.rect.height?1:0});for(var he=0;he<fe.length;he++){var De=fe[he];ke.rows.length==0?this.insertNodeToRow(ke,De,0,ye):this.canAddHorizontal(ke,De.rect.width,De.rect.height)?this.insertNodeToRow(ke,De,this.getShortestRowIndex(ke),ye):this.insertNodeToRow(ke,De,ke.rows.length,ye),this.shiftToLastRow(ke)}return ke},Ee.prototype.insertNodeToRow=function(fe,ye,re,we){var ke=we;if(re==fe.rows.length){var he=[];fe.rows.push(he),fe.rowWidth.push(ke),fe.rowHeight.push(0)}var De=fe.rowWidth[re]+ye.rect.width;fe.rows[re].length>0&&(De+=fe.horizontalPadding),fe.rowWidth[re]=De,fe.width<De&&(fe.width=De);var X=ye.rect.height;re>0&&(X+=fe.verticalPadding);var Re=0;X>fe.rowHeight[re]&&(Re=fe.rowHeight[re],fe.rowHeight[re]=X,Re=fe.rowHeight[re]-Re),fe.height+=Re,fe.rows[re].push(ye)},Ee.prototype.getShortestRowIndex=function(fe){for(var ye=-1,re=Number.MAX_VALUE,we=0;we<fe.rows.length;we++)fe.rowWidth[we]<re&&(ye=we,re=fe.rowWidth[we]);return ye},Ee.prototype.getLongestRowIndex=function(fe){for(var ye=-1,re=Number.MIN_VALUE,we=0;we<fe.rows.length;we++)fe.rowWidth[we]>re&&(ye=we,re=fe.rowWidth[we]);return ye},Ee.prototype.canAddHorizontal=function(fe,ye,re){var we=this.getShortestRowIndex(fe);if(we<0)return!0;var ke=fe.rowWidth[we];if(ke+fe.horizontalPadding+ye<=fe.width)return!0;var he=0;fe.rowHeight[we]<re&&we>0&&(he=re+fe.verticalPadding-fe.rowHeight[we]);var De;fe.width-ke>=ye+fe.horizontalPadding?De=(fe.height+he)/(ke+ye+fe.horizontalPadding):De=(fe.height+he)/fe.width,he=re+fe.verticalPadding;var X;return fe.width<ye?X=(fe.height+he)/ye:X=(fe.height+he)/fe.width,X<1&&(X=1/X),De<1&&(De=1/De),De<X},Ee.prototype.shiftToLastRow=function(fe){var ye=this.getLongestRowIndex(fe),re=fe.rowWidth.length-1,we=fe.rows[ye],ke=we[we.length-1],he=ke.width+fe.horizontalPadding;if(fe.width-fe.rowWidth[re]>he&&ye!=re){we.splice(-1,1),fe.rows[re].push(ke),fe.rowWidth[ye]=fe.rowWidth[ye]-he,fe.rowWidth[re]=fe.rowWidth[re]+he,fe.width=fe.rowWidth[instance.getLongestRowIndex(fe)];for(var De=Number.MIN_VALUE,X=0;X<we.length;X++)we[X].height>De&&(De=we[X].height);ye>0&&(De+=fe.verticalPadding);var Re=fe.rowHeight[ye]+fe.rowHeight[re];fe.rowHeight[ye]=De,fe.rowHeight[re]<ke.height+fe.verticalPadding&&(fe.rowHeight[re]=ke.height+fe.verticalPadding);var pe=fe.rowHeight[ye]+fe.rowHeight[re];fe.height+=pe-Re,this.shiftToLastRow(fe)}},Ee.prototype.tilingPreLayout=function(){F.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},Ee.prototype.tilingPostLayout=function(){F.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},Ee.prototype.reduceTrees=function(){for(var fe=[],ye=!0,re;ye;){var we=this.graphManager.getAllNodes(),ke=[];ye=!1;for(var he=0;he<we.length;he++)re=we[he],re.getEdges().length==1&&!re.getEdges()[0].isInterGraph&&re.getChild()==null&&(ke.push([re,re.getEdges()[0],re.getOwner()]),ye=!0);if(ye==!0){for(var De=[],X=0;X<ke.length;X++)ke[X][0].getEdges().length==1&&(De.push(ke[X]),ke[X][0].getOwner().remove(ke[X][0]));fe.push(De),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=fe},Ee.prototype.growTree=function(fe){for(var ye=fe.length,re=fe[ye-1],we,ke=0;ke<re.length;ke++)we=re[ke],this.findPlaceforPrunedNode(we),we[2].add(we[0]),we[2].add(we[1],we[1].source,we[1].target);fe.splice(fe.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},Ee.prototype.findPlaceforPrunedNode=function(fe){var ye,re,we=fe[0];we==fe[1].source?re=fe[1].target:re=fe[1].source;var ke=re.startX,he=re.finishX,De=re.startY,X=re.finishY,Re=0,pe=0,Ge=0,de=0,ct=[Re,Ge,pe,de];if(De>0)for(var bt=ke;bt<=he;bt++)ct[0]+=this.grid[bt][De-1].length+this.grid[bt][De].length-1;if(he<this.grid.length-1)for(var bt=De;bt<=X;bt++)ct[1]+=this.grid[he+1][bt].length+this.grid[he][bt].length-1;if(X<this.grid[0].length-1)for(var bt=ke;bt<=he;bt++)ct[2]+=this.grid[bt][X+1].length+this.grid[bt][X].length-1;if(ke>0)for(var bt=De;bt<=X;bt++)ct[3]+=this.grid[ke-1][bt].length+this.grid[ke][bt].length-1;for(var St=le.MAX_VALUE,yt,Mt,nn=0;nn<ct.length;nn++)ct[nn]<St?(St=ct[nn],yt=1,Mt=nn):ct[nn]==St&&yt++;if(yt==3&&St==0)ct[0]==0&&ct[1]==0&&ct[2]==0?ye=1:ct[0]==0&&ct[1]==0&&ct[3]==0?ye=0:ct[0]==0&&ct[2]==0&&ct[3]==0?ye=3:ct[1]==0&&ct[2]==0&&ct[3]==0&&(ye=2);else if(yt==2&&St==0){var dn=Math.floor(Math.random()*2);ct[0]==0&&ct[1]==0?dn==0?ye=0:ye=1:ct[0]==0&&ct[2]==0?dn==0?ye=0:ye=2:ct[0]==0&&ct[3]==0?dn==0?ye=0:ye=3:ct[1]==0&&ct[2]==0?dn==0?ye=1:ye=2:ct[1]==0&&ct[3]==0?dn==0?ye=1:ye=3:dn==0?ye=2:ye=3}else if(yt==4&&St==0){var dn=Math.floor(Math.random()*4);ye=dn}else ye=Mt;ye==0?we.setCenter(re.getCenterX(),re.getCenterY()-re.getHeight()/2-H.DEFAULT_EDGE_LENGTH-we.getHeight()/2):ye==1?we.setCenter(re.getCenterX()+re.getWidth()/2+H.DEFAULT_EDGE_LENGTH+we.getWidth()/2,re.getCenterY()):ye==2?we.setCenter(re.getCenterX(),re.getCenterY()+re.getHeight()/2+H.DEFAULT_EDGE_LENGTH+we.getHeight()/2):we.setCenter(re.getCenterX()-re.getWidth()/2-H.DEFAULT_EDGE_LENGTH-we.getWidth()/2,re.getCenterY())},p.exports=Ee},function(p,w,k){var b={};b.layoutBase=k(0),b.CoSEConstants=k(1),b.CoSEEdge=k(2),b.CoSEGraph=k(3),b.CoSEGraphManager=k(4),b.CoSELayout=k(6),b.CoSENode=k(5),p.exports=b}])})}(Izt)),TW}(function(s,o){(function(p,w){s.exports=w(Pzt())})(g0,function(f){return function(p){var w={};function k(b){if(w[b])return w[b].exports;var _=w[b]={i:b,l:!1,exports:{}};return p[b].call(_.exports,_,_.exports,k),_.l=!0,_.exports}return k.m=p,k.c=w,k.i=function(b){return b},k.d=function(b,_,A){k.o(b,_)||Object.defineProperty(b,_,{configurable:!1,enumerable:!0,get:A})},k.n=function(b){var _=b&&b.__esModule?function(){return b.default}:function(){return b};return k.d(_,"a",_),_},k.o=function(b,_){return Object.prototype.hasOwnProperty.call(b,_)},k.p="",k(k.s=1)}([function(p,w){p.exports=f},function(p,w,k){var b=k(0).layoutBase.LayoutConstants,_=k(0).layoutBase.FDLayoutConstants,A=k(0).CoSEConstants,N=k(0).CoSELayout,B=k(0).CoSENode,F=k(0).layoutBase.PointD,H=k(0).layoutBase.DimensionD,j={ready:function(){},stop:function(){},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 V(ce,be){var xe={};for(var Ee in ce)xe[Ee]=ce[Ee];for(var Ee in be)xe[Ee]=be[Ee];return xe}function Z(ce){this.options=V(j,ce),ae(this.options)}var ae=function(be){be.nodeRepulsion!=null&&(A.DEFAULT_REPULSION_STRENGTH=_.DEFAULT_REPULSION_STRENGTH=be.nodeRepulsion),be.idealEdgeLength!=null&&(A.DEFAULT_EDGE_LENGTH=_.DEFAULT_EDGE_LENGTH=be.idealEdgeLength),be.edgeElasticity!=null&&(A.DEFAULT_SPRING_STRENGTH=_.DEFAULT_SPRING_STRENGTH=be.edgeElasticity),be.nestingFactor!=null&&(A.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=_.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=be.nestingFactor),be.gravity!=null&&(A.DEFAULT_GRAVITY_STRENGTH=_.DEFAULT_GRAVITY_STRENGTH=be.gravity),be.numIter!=null&&(A.MAX_ITERATIONS=_.MAX_ITERATIONS=be.numIter),be.gravityRange!=null&&(A.DEFAULT_GRAVITY_RANGE_FACTOR=_.DEFAULT_GRAVITY_RANGE_FACTOR=be.gravityRange),be.gravityCompound!=null&&(A.DEFAULT_COMPOUND_GRAVITY_STRENGTH=_.DEFAULT_COMPOUND_GRAVITY_STRENGTH=be.gravityCompound),be.gravityRangeCompound!=null&&(A.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=_.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=be.gravityRangeCompound),be.initialEnergyOnIncremental!=null&&(A.DEFAULT_COOLING_FACTOR_INCREMENTAL=_.DEFAULT_COOLING_FACTOR_INCREMENTAL=be.initialEnergyOnIncremental),be.quality=="draft"?b.QUALITY=0:be.quality=="proof"?b.QUALITY=2:b.QUALITY=1,A.NODE_DIMENSIONS_INCLUDE_LABELS=_.NODE_DIMENSIONS_INCLUDE_LABELS=b.NODE_DIMENSIONS_INCLUDE_LABELS=be.nodeDimensionsIncludeLabels,A.DEFAULT_INCREMENTAL=_.DEFAULT_INCREMENTAL=b.DEFAULT_INCREMENTAL=!be.randomize,A.ANIMATE=_.ANIMATE=b.ANIMATE=be.animate,A.TILE=be.tile,A.TILING_PADDING_VERTICAL=typeof be.tilingPaddingVertical=="function"?be.tilingPaddingVertical.call():be.tilingPaddingVertical,A.TILING_PADDING_HORIZONTAL=typeof be.tilingPaddingHorizontal=="function"?be.tilingPaddingHorizontal.call():be.tilingPaddingHorizontal};Z.prototype.run=function(){var ce,be,xe=this.options;this.idToLNode={};var Ee=this.layout=new N,Me=this;Me.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var fe=Ee.newGraphManager();this.gm=fe;var ye=this.options.eles.nodes(),re=this.options.eles.edges();this.root=fe.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(ye),Ee);for(var we=0;we<re.length;we++){var ke=re[we],he=this.idToLNode[ke.data("source")],De=this.idToLNode[ke.data("target")];if(he!==De&&he.getEdgesBetween(De).length==0){var X=fe.add(Ee.newEdge(),he,De);X.id=ke.id()}}var Re=function(de,ct){typeof de=="number"&&(de=ct);var bt=de.data("id"),St=Me.idToLNode[bt];return{x:St.getRect().getCenterX(),y:St.getRect().getCenterY()}},pe=function Ge(){for(var de=function(){xe.fit&&xe.cy.fit(xe.eles,xe.padding),ce||(ce=!0,Me.cy.one("layoutready",xe.ready),Me.cy.trigger({type:"layoutready",layout:Me}))},ct=Me.options.refresh,bt,St=0;St<ct&&!bt;St++)bt=Me.stopped||Me.layout.tick();if(bt){Ee.checkLayoutSuccess()&&!Ee.isSubLayout&&Ee.doPostLayout(),Ee.tilingPostLayout&&Ee.tilingPostLayout(),Ee.isLayoutFinished=!0,Me.options.eles.nodes().positions(Re),de(),Me.cy.one("layoutstop",Me.options.stop),Me.cy.trigger({type:"layoutstop",layout:Me}),be&&cancelAnimationFrame(be),ce=!1;return}var yt=Me.layout.getPositionsData();xe.eles.nodes().positions(function(Mt,nn){if(typeof Mt=="number"&&(Mt=nn),!Mt.isParent()){for(var dn=Mt.id(),vt=yt[dn],Lr=Mt;vt==null&&(vt=yt[Lr.data("parent")]||yt["DummyCompound_"+Lr.data("parent")],yt[dn]=vt,Lr=Lr.parent()[0],Lr!=null););return vt!=null?{x:vt.x,y:vt.y}:{x:Mt.position("x"),y:Mt.position("y")}}}),de(),be=requestAnimationFrame(Ge)};return Ee.addListener("layoutstarted",function(){Me.options.animate==="during"&&(be=requestAnimationFrame(pe))}),Ee.runLayout(),this.options.animate!=="during"&&(Me.options.eles.nodes().not(":parent").layoutPositions(Me,Me.options,Re),ce=!1),this},Z.prototype.getTopMostNodes=function(ce){for(var be={},xe=0;xe<ce.length;xe++)be[ce[xe].id()]=!0;var Ee=ce.filter(function(Me,fe){typeof Me=="number"&&(Me=fe);for(var ye=Me.parent()[0];ye!=null;){if(be[ye.id()])return!1;ye=ye.parent()[0]}return!0});return Ee},Z.prototype.processChildrenList=function(ce,be,xe){for(var Ee=be.length,Me=0;Me<Ee;Me++){var fe=be[Me],ye=fe.children(),re,we=fe.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(fe.outerWidth()!=null&&fe.outerHeight()!=null?re=ce.add(new B(xe.graphManager,new F(fe.position("x")-we.w/2,fe.position("y")-we.h/2),new H(parseFloat(we.w),parseFloat(we.h)))):re=ce.add(new B(this.graphManager)),re.id=fe.data("id"),re.paddingLeft=parseInt(fe.css("padding")),re.paddingTop=parseInt(fe.css("padding")),re.paddingRight=parseInt(fe.css("padding")),re.paddingBottom=parseInt(fe.css("padding")),this.options.nodeDimensionsIncludeLabels&&fe.isParent()){var ke=fe.boundingBox({includeLabels:!0,includeNodes:!1}).w,he=fe.boundingBox({includeLabels:!0,includeNodes:!1}).h,De=fe.css("text-halign");re.labelWidth=ke,re.labelHeight=he,re.labelPos=De}if(this.idToLNode[fe.data("id")]=re,isNaN(re.rect.x)&&(re.rect.x=0),isNaN(re.rect.y)&&(re.rect.y=0),ye!=null&&ye.length>0){var X;X=xe.getGraphManager().add(xe.newGraph(),re),this.processChildrenList(X,ye,xe)}}},Z.prototype.stop=function(){return this.stopped=!0,this};var le=function(be){be("layout","cose-bilkent",Z)};typeof cytoscape<"u"&&le(cytoscape),p.exports=le}])})})(Dzt);const Bzt=GAe(fge);pRe.use(Bzt);function wRe(s,o,f,p){gRe.drawNode(s,o,f,p),o.children&&o.children.forEach((w,k)=>{wRe(s,w,f<0?k:f,p)})}function Fzt(s,o){o.edges().map((f,p)=>{const w=f.data();if(f[0]._private.bodyBounds){const k=f[0]._private.rscratch;je.trace("Edge: ",p,w),s.insert("path").attr("d",`M ${k.startX},${k.startY} L ${k.midX},${k.midY} L${k.endX},${k.endY} `).attr("class","edge section-edge-"+w.section+" edge-depth-"+w.depth)}})}function mRe(s,o,f,p){o.add({group:"nodes",data:{id:s.id,labelText:s.descr,height:s.height,width:s.width,level:p,nodeId:s.id,padding:s.padding,type:s.type},position:{x:s.x,y:s.y}}),s.children&&s.children.forEach(w=>{mRe(w,o,f,p+1),o.add({group:"edges",data:{id:`${s.id}_${w.id}`,source:s.id,target:w.id,depth:p,section:w.section}})})}function Rzt(s,o){return new Promise(f=>{const p=sr("body").append("div").attr("id","cy").attr("style","display:none"),w=pRe({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});p.remove(),mRe(s,w,o,0),w.nodes().forEach(function(k){k.layoutDimensions=()=>{const b=k.data();return{w:b.width,h:b.height}}}),w.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),w.ready(k=>{je.info("Ready",k),f(w)})})}function jzt(s){s.nodes().map((o,f)=>{const p=o.data();p.x=o.position().x,p.y=o.position().y,gRe.positionNode(p);const w=lge(p.nodeId);je.info("Id:",f,"Position: (",o.position().x,", ",o.position().y,")",p),w.attr("transform",`translate(${o.position().x-p.width/2}, ${o.position().y-p.height/2})`),w.attr("attr",`apa-${f})`)})}const $zt={draw:async(s,o,f,p)=>{const w=Pt();p.db.clear(),p.parser.parse(s),je.debug(`Renering info diagram
-`+s);const k=Pt().securityLevel;let b;k==="sandbox"&&(b=sr("#i"+o));const A=sr(k==="sandbox"?b.nodes()[0].contentDocument.body:"body").select("#"+o);A.append("g");const N=p.db.getMindmap(),B=A.append("g");B.attr("class","mindmap-edges");const F=A.append("g");F.attr("class","mindmap-nodes"),wRe(F,N,-1,w);const H=await Rzt(N,w);Fzt(B,H),jzt(H),KE(void 0,A,w.mindmap.padding,w.mindmap.useMaxWidth)}},Hzt=s=>{let o="";for(let f=0;f<s.THEME_COLOR_LIMIT;f++)s["lineColor"+f]=s["lineColor"+f]||s["cScaleInv"+f],uDe(s["lineColor"+f])?s["lineColor"+f]=Qs(s["lineColor"+f],20):s["lineColor"+f]=Sa(s["lineColor"+f],20);for(let f=0;f<s.THEME_COLOR_LIMIT;f++){const p=""+(17-3*f);o+=`
+ */var uB=function(g,x){this.recycle(g,x)};function Ik(){return!1}function ZE(){return!0}uB.prototype={instanceString:function(){return"event"},recycle:function(g,x){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Ik,g!=null&&g.preventDefault?(this.type=g.type,this.isDefaultPrevented=g.defaultPrevented?ZE:Ik):g!=null&&g.type?x=g:this.type=g,x!=null&&(this.originalEvent=x.originalEvent,this.type=x.type!=null?x.type:this.type,this.cy=x.cy,this.target=x.target,this.position=x.position,this.renderedPosition=x.renderedPosition,this.namespace=x.namespace,this.layout=x.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var T=this.position,L=this.cy.zoom(),I=this.cy.pan();this.renderedPosition={x:T.x*L+I.x,y:T.y*L+I.y}}this.timeStamp=g&&g.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=ZE;var g=this.originalEvent;g&&g.preventDefault&&g.preventDefault()},stopPropagation:function(){this.isPropagationStopped=ZE;var g=this.originalEvent;g&&g.stopPropagation&&g.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ZE,this.stopPropagation()},isDefaultPrevented:Ik,isPropagationStopped:Ik,isImmediatePropagationStopped:Ik};var lB=/^([^.]+)(\.(?:[^.]+))?$/,aJ=".*",hB={qualifierCompare:function(g,x){return g===x},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(g){return g},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},fB=Object.keys(hB),oJ={};function JE(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oJ,g=arguments.length>1?arguments[1]:void 0,x=0;x<fB.length;x++){var T=fB[x];this[T]=y[T]||hB[T]}this.context=g||this.context,this.listeners=[],this.emitting=0}var km=JE.prototype,dB=function(g,x,T,L,I,O,$){yt(L)&&(I=L,L=null),$&&(O==null?O=$:O=Pe({},O,$));for(var z=vt(T)?T:T.split(/\s+/),S=0;S<z.length;S++){var V=z[S];if(!X(V)){var U=V.match(lB);if(U){var tt=U[1],at=U[2]?U[2]:null,lt=x(g,V,tt,at,L,I,O);if(lt===!1)break}}}},gB=function(g,x){return g.addEventFields(g.context,x),new uB(x.type,x)},cJ=function(g,x,T){if(Ft(T)){x(g,T);return}else if(ut(T)){x(g,gB(g,T));return}for(var L=vt(T)?T:T.split(/\s+/),I=0;I<L.length;I++){var O=L[I];if(!X(O)){var $=O.match(lB);if($){var z=$[1],S=$[2]?$[2]:null,V=gB(g,{type:z,namespace:S,target:g.context});x(g,V)}}}};km.on=km.addListener=function(y,g,x,T,L){return dB(this,function(I,O,$,z,S,V,U){yt(V)&&I.listeners.push({event:O,callback:V,type:$,namespace:z,qualifier:S,conf:U})},y,g,x,T,L),this},km.one=function(y,g,x,T){return this.on(y,g,x,T,{one:!0})},km.removeListener=km.off=function(y,g,x,T){var L=this;this.emitting!==0&&(this.listeners=ZK(this.listeners));for(var I=this.listeners,O=function(S){var V=I[S];dB(L,function(U,tt,at,lt,ft,Lt){if((V.type===at||y==="*")&&(!lt&&V.namespace!==".*"||V.namespace===lt)&&(!ft||U.qualifierCompare(V.qualifier,ft))&&(!Lt||V.callback===Lt))return I.splice(S,1),!1},y,g,x,T)},$=I.length-1;$>=0;$--)O($);return this},km.removeAllListeners=function(){return this.removeListener("*")},km.emit=km.trigger=function(y,g,x){var T=this.listeners,L=T.length;return this.emitting++,vt(g)||(g=[g]),cJ(this,function(I,O){x!=null&&(T=[{event:O.event,type:O.type,namespace:O.namespace,callback:x}],L=T.length);for(var $=function(V){var U=T[V];if(U.type===O.type&&(!U.namespace||U.namespace===O.namespace||U.namespace===aJ)&&I.eventMatches(I.context,U,O)){var tt=[O];g!=null&&QN(tt,g),I.beforeEmit(I.context,U,O),U.conf&&U.conf.one&&(I.listeners=I.listeners.filter(function(ft){return ft!==U}));var at=I.callbackContext(I.context,U,O),lt=U.callback.apply(at,tt);I.afterEmit(I.context,U,O),lt===!1&&(O.stopPropagation(),O.preventDefault())}},z=0;z<L;z++)$(z);I.bubble(I.context)&&!O.isPropagationStopped()&&I.parent(I.context).emit(O,g)},y),this.emitting--,this};var uJ={qualifierCompare:function(g,x){return g==null||x==null?g==null&&x==null:g.sameText(x)},eventMatches:function(g,x,T){var L=x.qualifier;return L!=null?g!==T.target&&Ct(T.target)&&L.matches(T.target):!0},addEventFields:function(g,x){x.cy=g.cy(),x.target=g},callbackContext:function(g,x,T){return x.qualifier!=null?T.target:g},beforeEmit:function(g,x){x.conf&&x.conf.once&&x.conf.onceCollection.removeListener(x.event,x.qualifier,x.callback)},bubble:function(){return!0},parent:function(g){return g.isChild()?g.parent():g.cy()}},tT=function(g){return Tt(g)?new ym(g):g},pB={createEmitter:function(){for(var g=0;g<this.length;g++){var x=this[g],T=x._private;T.emitter||(T.emitter=new JE(uJ,x))}return this},emitter:function(){return this._private.emitter},on:function(g,x,T){for(var L=tT(x),I=0;I<this.length;I++){var O=this[I];O.emitter().on(g,L,T)}return this},removeListener:function(g,x,T){for(var L=tT(x),I=0;I<this.length;I++){var O=this[I];O.emitter().removeListener(g,L,T)}return this},removeAllListeners:function(){for(var g=0;g<this.length;g++){var x=this[g];x.emitter().removeAllListeners()}return this},one:function(g,x,T){for(var L=tT(x),I=0;I<this.length;I++){var O=this[I];O.emitter().one(g,L,T)}return this},once:function(g,x,T){for(var L=tT(x),I=0;I<this.length;I++){var O=this[I];O.emitter().on(g,L,T,{once:!0,onceCollection:this})}},emit:function(g,x){for(var T=0;T<this.length;T++){var L=this[T];L.emitter().emit(g,x)}return this},emitAndNotify:function(g,x){if(this.length!==0)return this.cy().notify(g,this),this.emit(g,x),this}};jc.eventAliasesOn(pB);var bB={nodes:function(g){return this.filter(function(x){return x.isNode()}).filter(g)},edges:function(g){return this.filter(function(x){return x.isEdge()}).filter(g)},byGroup:function(){for(var g=this.spawn(),x=this.spawn(),T=0;T<this.length;T++){var L=this[T];L.isNode()?g.push(L):x.push(L)}return{nodes:g,edges:x}},filter:function(g,x){if(g===void 0)return this;if(Tt(g)||pt(g))return new ym(g).filter(this);if(yt(g)){for(var T=this.spawn(),L=this,I=0;I<L.length;I++){var O=L[I],$=x?g.apply(x,[O,I,L]):g(O,I,L);$&&T.push(O)}return T}return this.spawn()},not:function(g){if(g){Tt(g)&&(g=this.filter(g));for(var x=this.spawn(),T=0;T<this.length;T++){var L=this[T],I=g.has(L);I||x.push(L)}return x}else return this},absoluteComplement:function(){var g=this.cy();return g.mutableElements().not(this)},intersect:function(g){if(Tt(g)){var x=g;return this.filter(x)}for(var T=this.spawn(),L=this,I=g,O=this.length<g.length,$=O?L:I,z=O?I:L,S=0;S<$.length;S++){var V=$[S];z.has(V)&&T.push(V)}return T},xor:function(g){var x=this._private.cy;Tt(g)&&(g=x.$(g));var T=this.spawn(),L=this,I=g,O=function(z,S){for(var V=0;V<z.length;V++){var U=z[V],tt=U._private.data.id,at=S.hasElementWithId(tt);at||T.push(U)}};return O(L,I),O(I,L),T},diff:function(g){var x=this._private.cy;Tt(g)&&(g=x.$(g));var T=this.spawn(),L=this.spawn(),I=this.spawn(),O=this,$=g,z=function(V,U,tt){for(var at=0;at<V.length;at++){var lt=V[at],ft=lt._private.data.id,Lt=U.hasElementWithId(ft);Lt?I.merge(lt):tt.push(lt)}};return z(O,$,T),z($,O,L),{left:T,right:L,both:I}},add:function(g){var x=this._private.cy;if(!g)return this;if(Tt(g)){var T=g;g=x.mutableElements().filter(T)}for(var L=this.spawnSelf(),I=0;I<g.length;I++){var O=g[I],$=!this.has(O);$&&L.push(O)}return L},merge:function(g){var x=this._private,T=x.cy;if(!g)return this;if(g&&Tt(g)){var L=g;g=T.mutableElements().filter(L)}for(var I=x.map,O=0;O<g.length;O++){var $=g[O],z=$._private.data.id,S=!I.has(z);if(S){var V=this.length++;this[V]=$,I.set(z,{ele:$,index:V})}}return this},unmergeAt:function(g){var x=this[g],T=x.id(),L=this._private,I=L.map;this[g]=void 0,I.delete(T);var O=g===this.length-1;if(this.length>1&&!O){var $=this.length-1,z=this[$],S=z._private.data.id;this[$]=void 0,this[g]=z,I.set(S,{ele:z,index:g})}return this.length--,this},unmergeOne:function(g){g=g[0];var x=this._private,T=g._private.data.id,L=x.map,I=L.get(T);if(!I)return this;var O=I.index;return this.unmergeAt(O),this},unmerge:function(g){var x=this._private.cy;if(!g)return this;if(g&&Tt(g)){var T=g;g=x.mutableElements().filter(T)}for(var L=0;L<g.length;L++)this.unmergeOne(g[L]);return this},unmergeBy:function(g){for(var x=this.length-1;x>=0;x--){var T=this[x];g(T)&&this.unmergeAt(x)}return this},map:function(g,x){for(var T=[],L=this,I=0;I<L.length;I++){var O=L[I],$=x?g.apply(x,[O,I,L]):g(O,I,L);T.push($)}return T},reduce:function(g,x){for(var T=x,L=this,I=0;I<L.length;I++)T=g(T,L[I],I,L);return T},max:function(g,x){for(var T=-1/0,L,I=this,O=0;O<I.length;O++){var $=I[O],z=x?g.apply(x,[$,O,I]):g($,O,I);z>T&&(T=z,L=$)}return{value:T,ele:L}},min:function(g,x){for(var T=1/0,L,I=this,O=0;O<I.length;O++){var $=I[O],z=x?g.apply(x,[$,O,I]):g($,O,I);z<T&&(T=z,L=$)}return{value:T,ele:L}}},Tc=bB;Tc.u=Tc["|"]=Tc["+"]=Tc.union=Tc.or=Tc.add,Tc["\\"]=Tc["!"]=Tc["-"]=Tc.difference=Tc.relativeComplement=Tc.subtract=Tc.not,Tc.n=Tc["&"]=Tc["."]=Tc.and=Tc.intersection=Tc.intersect,Tc["^"]=Tc["(+)"]=Tc["(-)"]=Tc.symmetricDifference=Tc.symdiff=Tc.xor,Tc.fnFilter=Tc.filterFn=Tc.stdFilter=Tc.filter,Tc.complement=Tc.abscomp=Tc.absoluteComplement;var lJ={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var g=this[0];if(g)return g._private.group}},vB=function(g,x){var T=g.cy(),L=T.hasCompoundNodes();function I(V){var U=V.pstyle("z-compound-depth");return U.value==="auto"?L?V.zDepth():0:U.value==="bottom"?-1:U.value==="top"?mp:0}var O=I(g)-I(x);if(O!==0)return O;function $(V){var U=V.pstyle("z-index-compare");return U.value==="auto"&&V.isNode()?1:0}var z=$(g)-$(x);if(z!==0)return z;var S=g.pstyle("z-index").value-x.pstyle("z-index").value;return S!==0?S:g.poolIndex()-x.poolIndex()},eT={forEach:function(g,x){if(yt(g))for(var T=this.length,L=0;L<T;L++){var I=this[L],O=x?g.apply(x,[I,L,this]):g(I,L,this);if(O===!1)break}return this},toArray:function(){for(var g=[],x=0;x<this.length;x++)g.push(this[x]);return g},slice:function(g,x){var T=[],L=this.length;x==null&&(x=L),g==null&&(g=0),g<0&&(g=L+g),x<0&&(x=L+x);for(var I=g;I>=0&&I<x&&I<L;I++)T.push(this[I]);return this.spawn(T)},size:function(){return this.length},eq:function(g){return this[g]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(g){if(!yt(g))return this;var x=this.toArray().sort(g);return this.spawn(x)},sortByZIndex:function(){return this.sort(vB)},zDepth:function(){var g=this[0];if(g){var x=g._private,T=x.group;if(T==="nodes"){var L=x.data.parent?g.parents().size():0;return g.isParent()?L:mp-1}else{var I=x.source,O=x.target,$=I.zDepth(),z=O.zDepth();return Math.max($,z,0)}}}};eT.each=eT.forEach;var hJ=function(){var g="undefined",x=(typeof Symbol>"u"?"undefined":f(Symbol))!=g&&f(Symbol.iterator)!=g;x&&(eT[Symbol.iterator]=function(){var T=this,L={value:void 0,done:!1},I=0,O=this.length;return b({next:function(){return I<O?L.value=T[I++]:(L.value=void 0,L.done=!0),L}},Symbol.iterator,function(){return this})})};hJ();var fJ=qf({nodeDimensionsIncludeLabels:!1}),nT={layoutDimensions:function(g){g=fJ(g);var x;if(!this.takesUpSpace())x={w:0,h:0};else if(g.nodeDimensionsIncludeLabels){var T=this.boundingBox();x={w:T.w,h:T.h}}else x={w:this.outerWidth(),h:this.outerHeight()};return(x.w===0||x.h===0)&&(x.w=x.h=1),x},layoutPositions:function(g,x,T){var L=this.nodes().filter(function(te){return!te.isParent()}),I=this.cy(),O=x.eles,$=function(Yt){return Yt.id()},z=Gt(T,$);g.emit({type:"layoutstart",layout:g}),g.animations=[];var S=function(Yt,Ht,ie){var Wt={x:Ht.x1+Ht.w/2,y:Ht.y1+Ht.h/2},be={x:(ie.x-Wt.x)*Yt,y:(ie.y-Wt.y)*Yt};return{x:Wt.x+be.x,y:Wt.y+be.y}},V=x.spacingFactor&&x.spacingFactor!==1,U=function(){if(!V)return null;for(var Yt=qd(),Ht=0;Ht<L.length;Ht++){var ie=L[Ht],Wt=z(ie,Ht);SY(Yt,Wt.x,Wt.y)}return Yt},tt=U(),at=Gt(function(te,Yt){var Ht=z(te,Yt);if(V){var ie=Math.abs(x.spacingFactor);Ht=S(ie,tt,Ht)}return x.transform!=null&&(Ht=x.transform(te,Ht)),Ht},$);if(x.animate){for(var lt=0;lt<L.length;lt++){var ft=L[lt],Lt=at(ft,lt),kt=x.animateFilter==null||x.animateFilter(ft,lt);if(kt){var Dt=ft.animation({position:Lt,duration:x.animationDuration,easing:x.animationEasing});g.animations.push(Dt)}else ft.position(Lt)}if(x.fit){var It=I.animation({fit:{boundingBox:O.boundingBoxAt(at),padding:x.padding},duration:x.animationDuration,easing:x.animationEasing});g.animations.push(It)}else if(x.zoom!==void 0&&x.pan!==void 0){var qt=I.animation({zoom:x.zoom,pan:x.pan,duration:x.animationDuration,easing:x.animationEasing});g.animations.push(qt)}g.animations.forEach(function(te){return te.play()}),g.one("layoutready",x.ready),g.emit({type:"layoutready",layout:g}),Y5.all(g.animations.map(function(te){return te.promise()})).then(function(){g.one("layoutstop",x.stop),g.emit({type:"layoutstop",layout:g})})}else L.positions(at),x.fit&&I.fit(x.eles,x.padding),x.zoom!=null&&I.zoom(x.zoom),x.pan&&I.pan(x.pan),g.one("layoutready",x.ready),g.emit({type:"layoutready",layout:g}),g.one("layoutstop",x.stop),g.emit({type:"layoutstop",layout:g});return this},layout:function(g){var x=this.cy();return x.makeLayout(Pe({},g,{eles:this}))}};nT.createLayout=nT.makeLayout=nT.layout;function wB(y,g,x){var T=x._private,L=T.styleCache=T.styleCache||[],I;return(I=L[y])!=null||(I=L[y]=g(x)),I}function rT(y,g){return y=od(y),function(T){return wB(y,g,T)}}function iT(y,g){y=od(y);var x=function(L){return g.call(L)};return function(){var L=this[0];if(L)return wB(y,x,L)}}var Hf={recalculateRenderedStyle:function(g){var x=this.cy(),T=x.renderer(),L=x.styleEnabled();return T&&L&&T.recalculateRenderedStyle(this,g),this},dirtyStyleCache:function(){var g=this.cy(),x=function(I){return I._private.styleCache=null};if(g.hasCompoundNodes()){var T;T=this.spawnSelf().merge(this.descendants()).merge(this.parents()),T.merge(T.connectedEdges()),T.forEach(x)}else this.forEach(function(L){x(L),L.connectedEdges().forEach(x)});return this},updateStyle:function(g){var x=this._private.cy;if(!x.styleEnabled())return this;if(x.batching()){var T=x._private.batchStyleEles;return T.merge(this),this}var L=x.hasCompoundNodes(),I=this;g=!!(g||g===void 0),L&&(I=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var O=I;return g?O.emitAndNotify("style"):O.emit("style"),I.forEach(function($){return $._private.styleDirty=!0}),this},cleanStyle:function(){var g=this.cy();if(g.styleEnabled())for(var x=0;x<this.length;x++){var T=this[x];T._private.styleDirty&&(T._private.styleDirty=!1,g.style().apply(T))}},parsedStyle:function(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,T=this[0],L=T.cy();if(L.styleEnabled()&&T){this.cleanStyle();var I=T._private.style[g];return I??(x?L.style().getDefaultProperty(g):null)}},numericStyle:function(g){var x=this[0];if(x.cy().styleEnabled()&&x){var T=x.pstyle(g);return T.pfValue!==void 0?T.pfValue:T.value}},numericStyleUnits:function(g){var x=this[0];if(x.cy().styleEnabled()&&x)return x.pstyle(g).units},renderedStyle:function(g){var x=this.cy();if(!x.styleEnabled())return this;var T=this[0];if(T)return x.style().getRenderedStyle(T,g)},style:function(g,x){var T=this.cy();if(!T.styleEnabled())return this;var L=!1,I=T.style();if(ut(g)){var O=g;I.applyBypass(this,O,L),this.emitAndNotify("style")}else if(Tt(g))if(x===void 0){var $=this[0];return $?I.getStylePropertyValue($,g):void 0}else I.applyBypass(this,g,x,L),this.emitAndNotify("style");else if(g===void 0){var z=this[0];return z?I.getRawStyle(z):void 0}return this},removeStyle:function(g){var x=this.cy();if(!x.styleEnabled())return this;var T=!1,L=x.style(),I=this;if(g===void 0)for(var O=0;O<I.length;O++){var $=I[O];L.removeAllBypasses($,T)}else{g=g.split(/\s+/);for(var z=0;z<I.length;z++){var S=I[z];L.removeBypasses(S,g,T)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var g=this.cy();if(!g.styleEnabled())return 1;var x=g.hasCompoundNodes(),T=this[0];if(T){var L=T._private,I=T.pstyle("opacity").value;if(!x)return I;var O=L.data.parent?T.parents():null;if(O)for(var $=0;$<O.length;$++){var z=O[$],S=z.pstyle("opacity").value;I=S*I}return I}},transparent:function(){var g=this.cy();if(!g.styleEnabled())return!1;var x=this[0],T=x.cy().hasCompoundNodes();if(x)return T?x.effectiveOpacity()===0:x.pstyle("opacity").value===0},backgrounding:function(){var g=this.cy();if(!g.styleEnabled())return!1;var x=this[0];return!!x._private.backgrounding}};function qL(y,g){var x=y._private,T=x.data.parent?y.parents():null;if(T)for(var L=0;L<T.length;L++){var I=T[L];if(!g(I))return!1}return!0}function HL(y){var g=y.ok,x=y.edgeOkViaNode||y.ok,T=y.parentOk||y.ok;return function(){var L=this.cy();if(!L.styleEnabled())return!0;var I=this[0],O=L.hasCompoundNodes();if(I){var $=I._private;if(!g(I))return!1;if(I.isNode())return!O||qL(I,T);var z=$.source,S=$.target;return x(z)&&(!O||qL(z,x))&&(z===S||x(S)&&(!O||qL(S,x)))}}}var i6=rT("eleTakesUpSpace",function(y){return y.pstyle("display").value==="element"&&y.width()!==0&&(y.isNode()?y.height()!==0:!0)});Hf.takesUpSpace=iT("takesUpSpace",HL({ok:i6}));var dJ=rT("eleInteractive",function(y){return y.pstyle("events").value==="yes"&&y.pstyle("visibility").value==="visible"&&i6(y)}),gJ=rT("parentInteractive",function(y){return y.pstyle("visibility").value==="visible"&&i6(y)});Hf.interactive=iT("interactive",HL({ok:dJ,parentOk:gJ,edgeOkViaNode:i6})),Hf.noninteractive=function(){var y=this[0];if(y)return!y.interactive()};var pJ=rT("eleVisible",function(y){return y.pstyle("visibility").value==="visible"&&y.pstyle("opacity").pfValue!==0&&i6(y)}),bJ=i6;Hf.visible=iT("visible",HL({ok:pJ,edgeOkViaNode:bJ})),Hf.hidden=function(){var y=this[0];if(y)return!y.visible()},Hf.isBundledBezier=iT("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),Hf.bypass=Hf.css=Hf.style,Hf.renderedCss=Hf.renderedStyle,Hf.removeBypass=Hf.removeCss=Hf.removeStyle,Hf.pstyle=Hf.parsedStyle;var Em={};function mB(y){return function(){var g=arguments,x=[];if(g.length===2){var T=g[0],L=g[1];this.on(y.event,T,L)}else if(g.length===1&&yt(g[0])){var I=g[0];this.on(y.event,I)}else if(g.length===0||g.length===1&&vt(g[0])){for(var O=g.length===1?g[0]:null,$=0;$<this.length;$++){var z=this[$],S=!y.ableField||z._private[y.ableField],V=z._private[y.field]!=y.value;if(y.overrideAble){var U=y.overrideAble(z);if(U!==void 0&&(S=U,!U))return this}S&&(z._private[y.field]=y.value,V&&x.push(z))}var tt=this.spawn(x);tt.updateStyle(),tt.emit(y.event),O&&tt.emit(O)}return this}}function s6(y){Em[y.field]=function(){var g=this[0];if(g){if(y.overrideField){var x=y.overrideField(g);if(x!==void 0)return x}return g._private[y.field]}},Em[y.on]=mB({event:y.on,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!0}),Em[y.off]=mB({event:y.off,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!1})}s6({field:"locked",overrideField:function(g){return g.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),s6({field:"grabbable",overrideField:function(g){return g.cy().autoungrabify()||g.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),s6({field:"selected",ableField:"selectable",overrideAble:function(g){return g.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),s6({field:"selectable",overrideField:function(g){return g.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),Em.deselect=Em.unselect,Em.grabbed=function(){var y=this[0];if(y)return y._private.grabbed},s6({field:"active",on:"activate",off:"unactivate"}),s6({field:"pannable",on:"panify",off:"unpanify"}),Em.inactive=function(){var y=this[0];if(y)return!y._private.active};var m1={},yB=function(g){return function(T){for(var L=this,I=[],O=0;O<L.length;O++){var $=L[O];if($.isNode()){for(var z=!1,S=$.connectedEdges(),V=0;V<S.length;V++){var U=S[V],tt=U.source(),at=U.target();if(g.noIncomingEdges&&at===$&&tt!==$||g.noOutgoingEdges&&tt===$&&at!==$){z=!0;break}}z||I.push($)}}return this.spawn(I,!0).filter(T)}},xB=function(g){return function(x){for(var T=this,L=[],I=0;I<T.length;I++){var O=T[I];if(O.isNode())for(var $=O.connectedEdges(),z=0;z<$.length;z++){var S=$[z],V=S.source(),U=S.target();g.outgoing&&V===O?(L.push(S),L.push(U)):g.incoming&&U===O&&(L.push(S),L.push(V))}}return this.spawn(L,!0).filter(x)}},kB=function(g){return function(x){for(var T=this,L=[],I={};;){var O=g.outgoing?T.outgoers():T.incomers();if(O.length===0)break;for(var $=!1,z=0;z<O.length;z++){var S=O[z],V=S.id();I[V]||(I[V]=!0,L.push(S),$=!0)}if(!$)break;T=O}return this.spawn(L,!0).filter(x)}};m1.clearTraversalCache=function(){for(var y=0;y<this.length;y++)this[y]._private.traversalCache=null},Pe(m1,{roots:yB({noIncomingEdges:!0}),leaves:yB({noOutgoingEdges:!0}),outgoers:ld(xB({outgoing:!0}),"outgoers"),successors:kB({outgoing:!0}),incomers:ld(xB({incoming:!0}),"incomers"),predecessors:kB({incoming:!0})}),Pe(m1,{neighborhood:ld(function(y){for(var g=[],x=this.nodes(),T=0;T<x.length;T++)for(var L=x[T],I=L.connectedEdges(),O=0;O<I.length;O++){var $=I[O],z=$.source(),S=$.target(),V=L===z?S:z;V.length>0&&g.push(V[0]),g.push($[0])}return this.spawn(g,!0).filter(y)},"neighborhood"),closedNeighborhood:function(g){return this.neighborhood().add(this).filter(g)},openNeighborhood:function(g){return this.neighborhood(g)}}),m1.neighbourhood=m1.neighborhood,m1.closedNeighbourhood=m1.closedNeighborhood,m1.openNeighbourhood=m1.openNeighborhood,Pe(m1,{source:ld(function(g){var x=this[0],T;return x&&(T=x._private.source||x.cy().collection()),T&&g?T.filter(g):T},"source"),target:ld(function(g){var x=this[0],T;return x&&(T=x._private.target||x.cy().collection()),T&&g?T.filter(g):T},"target"),sources:EB({attr:"source"}),targets:EB({attr:"target"})});function EB(y){return function(x){for(var T=[],L=0;L<this.length;L++){var I=this[L],O=I._private[y.attr];O&&T.push(O)}return this.spawn(T,!0).filter(x)}}Pe(m1,{edgesWith:ld(TB(),"edgesWith"),edgesTo:ld(TB({thisIsSrc:!0}),"edgesTo")});function TB(y){return function(x){var T=[],L=this._private.cy,I=y||{};Tt(x)&&(x=L.$(x));for(var O=0;O<x.length;O++)for(var $=x[O]._private.edges,z=0;z<$.length;z++){var S=$[z],V=S._private.data,U=this.hasElementWithId(V.source)&&x.hasElementWithId(V.target),tt=x.hasElementWithId(V.source)&&this.hasElementWithId(V.target),at=U||tt;at&&((I.thisIsSrc||I.thisIsTgt)&&(I.thisIsSrc&&!U||I.thisIsTgt&&!tt)||T.push(S))}return this.spawn(T,!0)}}Pe(m1,{connectedEdges:ld(function(y){for(var g=[],x=this,T=0;T<x.length;T++){var L=x[T];if(L.isNode())for(var I=L._private.edges,O=0;O<I.length;O++){var $=I[O];g.push($)}}return this.spawn(g,!0).filter(y)},"connectedEdges"),connectedNodes:ld(function(y){for(var g=[],x=this,T=0;T<x.length;T++){var L=x[T];L.isEdge()&&(g.push(L.source()[0]),g.push(L.target()[0]))}return this.spawn(g,!0).filter(y)},"connectedNodes"),parallelEdges:ld(_B(),"parallelEdges"),codirectedEdges:ld(_B({codirected:!0}),"codirectedEdges")});function _B(y){var g={codirected:!1};return y=Pe({},g,y),function(T){for(var L=[],I=this.edges(),O=y,$=0;$<I.length;$++)for(var z=I[$],S=z._private,V=S.source,U=V._private.data.id,tt=S.data.target,at=V._private.edges,lt=0;lt<at.length;lt++){var ft=at[lt],Lt=ft._private.data,kt=Lt.target,Dt=Lt.source,It=kt===tt&&Dt===U,qt=U===kt&&tt===Dt;(O.codirected&&It||!O.codirected&&(It||qt))&&L.push(ft)}return this.spawn(L,!0).filter(T)}}Pe(m1,{components:function(g){var x=this,T=x.cy(),L=T.collection(),I=g==null?x.nodes():g.nodes(),O=[];g!=null&&I.empty()&&(I=g.sources());var $=function(V,U){L.merge(V),I.unmerge(V),U.merge(V)};if(I.empty())return x.spawn();var z=function(){var V=T.collection();O.push(V);var U=I[0];$(U,V),x.bfs({directed:!1,roots:U,visit:function(at){return $(at,V)}}),V.forEach(function(tt){tt.connectedEdges().forEach(function(at){x.has(at)&&V.has(at.source())&&V.has(at.target())&&V.merge(at)})})};do z();while(I.length>0);return O},component:function(){var g=this[0];return g.cy().mutableElements().components(g)[0]}}),m1.componentsOf=m1.components;var Vf=function(g,x){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(g===void 0){Ec("A collection must have a reference to the core");return}var I=new H2,O=!1;if(!x)x=[];else if(x.length>0&&ut(x[0])&&!Ct(x[0])){O=!0;for(var $=[],z=new q5,S=0,V=x.length;S<V;S++){var U=x[S];U.data==null&&(U.data={});var tt=U.data;if(tt.id==null)tt.id=DE();else if(g.hasElementWithId(tt.id)||z.has(tt.id))continue;var at=new IE(g,U,!1);$.push(at),z.add(tt.id)}x=$}this.length=0;for(var lt=0,ft=x.length;lt<ft;lt++){var Lt=x[lt][0];if(Lt!=null){var kt=Lt._private.data.id;(!T||!I.has(kt))&&(T&&I.set(kt,{index:this.length,ele:Lt}),this[this.length]=Lt,this.length++)}}this._private={eles:this,cy:g,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(Dt){this.lazyMap=Dt},rebuildMap:function(){for(var It=this.lazyMap=new H2,qt=this.eles,te=0;te<qt.length;te++){var Yt=qt[te];It.set(Yt.id(),{index:te,ele:Yt})}}},T&&(this._private.map=I),O&&!L&&this.restore()},ku=IE.prototype=Vf.prototype=Object.create(Array.prototype);ku.instanceString=function(){return"collection"},ku.spawn=function(y,g){return new Vf(this.cy(),y,g)},ku.spawnSelf=function(){return this.spawn(this)},ku.cy=function(){return this._private.cy},ku.renderer=function(){return this._private.cy.renderer()},ku.element=function(){return this[0]},ku.collection=function(){return nt(this)?this:new Vf(this._private.cy,[this])},ku.unique=function(){return new Vf(this._private.cy,this,!0)},ku.hasElementWithId=function(y){return y=""+y,this._private.map.has(y)},ku.getElementById=function(y){y=""+y;var g=this._private.cy,x=this._private.map.get(y);return x?x.ele:new Vf(g)},ku.$id=ku.getElementById,ku.poolIndex=function(){var y=this._private.cy,g=y._private.elements,x=this[0]._private.data.id;return g._private.map.get(x).index},ku.indexOf=function(y){var g=y[0]._private.data.id;return this._private.map.get(g).index},ku.indexOfId=function(y){return y=""+y,this._private.map.get(y).index},ku.json=function(y){var g=this.element(),x=this.cy();if(g==null&&y)return this;if(g!=null){var T=g._private;if(ut(y)){if(x.startBatch(),y.data){g.data(y.data);var L=T.data;if(g.isEdge()){var I=!1,O={},$=y.data.source,z=y.data.target;$!=null&&$!=L.source&&(O.source=""+$,I=!0),z!=null&&z!=L.target&&(O.target=""+z,I=!0),I&&(g=g.move(O))}else{var S="parent"in y.data,V=y.data.parent;S&&(V!=null||L.parent!=null)&&V!=L.parent&&(V===void 0&&(V=null),V!=null&&(V=""+V),g=g.move({parent:V}))}}y.position&&g.position(y.position);var U=function(ft,Lt,kt){var Dt=y[ft];Dt!=null&&Dt!==T[ft]&&(Dt?g[Lt]():g[kt]())};return U("removed","remove","restore"),U("selected","select","unselect"),U("selectable","selectify","unselectify"),U("locked","lock","unlock"),U("grabbable","grabify","ungrabify"),U("pannable","panify","unpanify"),y.classes!=null&&g.classes(y.classes),x.endBatch(),this}else if(y===void 0){var tt={data:oh(T.data),position:oh(T.position),group:T.group,removed:T.removed,selected:T.selected,selectable:T.selectable,locked:T.locked,grabbable:T.grabbable,pannable:T.pannable,classes:null};tt.classes="";var at=0;return T.classes.forEach(function(lt){return tt.classes+=at++===0?lt:" "+lt}),tt}}},ku.jsons=function(){for(var y=[],g=0;g<this.length;g++){var x=this[g],T=x.json();y.push(T)}return y},ku.clone=function(){for(var y=this.cy(),g=[],x=0;x<this.length;x++){var T=this[x],L=T.json(),I=new IE(y,L,!1);g.push(I)}return new Vf(y,g)},ku.copy=ku.clone,ku.restore=function(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,T=x.cy(),L=T._private,I=[],O=[],$,z=0,S=x.length;z<S;z++){var V=x[z];g&&!V.removed()||(V.isNode()?I.push(V):O.push(V))}$=I.concat(O);var U,tt=function(){$.splice(U,1),U--};for(U=0;U<$.length;U++){var at=$[U],lt=at._private,ft=lt.data;if(at.clearTraversalCache(),!(!g&&!lt.removed)){if(ft.id===void 0)ft.id=DE();else if(st(ft.id))ft.id=""+ft.id;else if(X(ft.id)||!Tt(ft.id)){Ec("Can not create element with invalid string ID `"+ft.id+"`"),tt();continue}else if(T.hasElementWithId(ft.id)){Ec("Can not create second element with ID `"+ft.id+"`"),tt();continue}}var Lt=ft.id;if(at.isNode()){var kt=lt.position;kt.x==null&&(kt.x=0),kt.y==null&&(kt.y=0)}if(at.isEdge()){for(var Dt=at,It=["source","target"],qt=It.length,te=!1,Yt=0;Yt<qt;Yt++){var Ht=It[Yt],ie=ft[Ht];st(ie)&&(ie=ft[Ht]=""+ft[Ht]),ie==null||ie===""?(Ec("Can not create edge `"+Lt+"` with unspecified "+Ht),te=!0):T.hasElementWithId(ie)||(Ec("Can not create edge `"+Lt+"` with nonexistant "+Ht+" `"+ie+"`"),te=!0)}if(te){tt();continue}var Wt=T.getElementById(ft.source),be=T.getElementById(ft.target);Wt.same(be)?Wt._private.edges.push(Dt):(Wt._private.edges.push(Dt),be._private.edges.push(Dt)),Dt._private.source=Wt,Dt._private.target=be}lt.map=new H2,lt.map.set(Lt,{ele:at,index:0}),lt.removed=!1,g&&T.addToPool(at)}for(var we=0;we<I.length;we++){var ae=I[we],Ne=ae._private.data;st(Ne.parent)&&(Ne.parent=""+Ne.parent);var me=Ne.parent,gn=me!=null;if(gn||ae._private.parent){var ze=ae._private.parent?T.collection().merge(ae._private.parent):T.getElementById(me);if(ze.empty())Ne.parent=void 0;else if(ze[0].removed())Ko("Node added with missing parent, reference to parent removed"),Ne.parent=void 0,ae._private.parent=null;else{for(var Ge=!1,xn=ze;!xn.empty();){if(ae.same(xn)){Ge=!0,Ne.parent=void 0;break}xn=xn.parent()}Ge||(ze[0]._private.children.push(ae),ae._private.parent=ze[0],L.hasCompoundNodes=!0)}}}if($.length>0){for(var On=$.length===x.length?x:new Vf(T,$),nr=0;nr<On.length;nr++){var Sn=On[nr];Sn.isNode()||(Sn.parallelEdges().clearTraversalCache(),Sn.source().clearTraversalCache(),Sn.target().clearTraversalCache())}var er;L.hasCompoundNodes?er=T.collection().merge(On).merge(On.connectedNodes()).merge(On.parent()):er=On,er.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(y),y?On.emitAndNotify("add"):g&&On.emit("add")}return x},ku.removed=function(){var y=this[0];return y&&y._private.removed},ku.inside=function(){var y=this[0];return y&&!y._private.removed},ku.remove=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,T=[],L={},I=x._private.cy;function O(me){for(var gn=me._private.edges,ze=0;ze<gn.length;ze++)z(gn[ze])}function $(me){for(var gn=me._private.children,ze=0;ze<gn.length;ze++)z(gn[ze])}function z(me){var gn=L[me.id()];g&&me.removed()||gn||(L[me.id()]=!0,me.isNode()?(T.push(me),O(me),$(me)):T.unshift(me))}for(var S=0,V=x.length;S<V;S++){var U=x[S];z(U)}function tt(me,gn){var ze=me._private.edges;pm(ze,gn),me.clearTraversalCache()}function at(me){me.clearTraversalCache()}var lt=[];lt.ids={};function ft(me,gn){gn=gn[0],me=me[0];var ze=me._private.children,Ge=me.id();pm(ze,gn),gn._private.parent=null,lt.ids[Ge]||(lt.ids[Ge]=!0,lt.push(me))}x.dirtyCompoundBoundsCache(),g&&I.removeFromPool(T);for(var Lt=0;Lt<T.length;Lt++){var kt=T[Lt];if(kt.isEdge()){var Dt=kt.source()[0],It=kt.target()[0];tt(Dt,kt),tt(It,kt);for(var qt=kt.parallelEdges(),te=0;te<qt.length;te++){var Yt=qt[te];at(Yt),Yt.isBundledBezier()&&Yt.dirtyBoundingBoxCache()}}else{var Ht=kt.parent();Ht.length!==0&&ft(Ht,kt)}g&&(kt._private.removed=!0)}var ie=I._private.elements;I._private.hasCompoundNodes=!1;for(var Wt=0;Wt<ie.length;Wt++){var be=ie[Wt];if(be.isParent()){I._private.hasCompoundNodes=!0;break}}var we=new Vf(this.cy(),T);we.size()>0&&(y?we.emitAndNotify("remove"):g&&we.emit("remove"));for(var ae=0;ae<lt.length;ae++){var Ne=lt[ae];(!g||!Ne.removed())&&Ne.updateStyle()}return we},ku.move=function(y){var g=this._private.cy,x=this,T=!1,L=!1,I=function(lt){return lt==null?lt:""+lt};if(y.source!==void 0||y.target!==void 0){var O=I(y.source),$=I(y.target),z=O!=null&&g.hasElementWithId(O),S=$!=null&&g.hasElementWithId($);(z||S)&&(g.batch(function(){x.remove(T,L),x.emitAndNotify("moveout");for(var at=0;at<x.length;at++){var lt=x[at],ft=lt._private.data;lt.isEdge()&&(z&&(ft.source=O),S&&(ft.target=$))}x.restore(T,L)}),x.emitAndNotify("move"))}else if(y.parent!==void 0){var V=I(y.parent),U=V===null||g.hasElementWithId(V);if(U){var tt=V===null?void 0:V;g.batch(function(){var at=x.remove(T,L);at.emitAndNotify("moveout");for(var lt=0;lt<x.length;lt++){var ft=x[lt],Lt=ft._private.data;ft.isNode()&&(Lt.parent=tt)}at.restore(T,L)}),x.emitAndNotify("move")}}return this},[_F,MZ,KE,xp,t6,UZ,XE,sJ,pB,bB,lJ,eT,nT,Hf,Em,m1].forEach(function(y){Pe(ku,y)});var vJ={add:function(g){var x,T=this;if(pt(g)){var L=g;if(L._private.cy===T)x=L.restore();else{for(var I=[],O=0;O<L.length;O++){var $=L[O];I.push($.json())}x=new Vf(T,I)}}else if(vt(g)){var z=g;x=new Vf(T,z)}else if(ut(g)&&(vt(g.nodes)||vt(g.edges))){for(var S=g,V=[],U=["nodes","edges"],tt=0,at=U.length;tt<at;tt++){var lt=U[tt],ft=S[lt];if(vt(ft))for(var Lt=0,kt=ft.length;Lt<kt;Lt++){var Dt=Pe({group:lt},ft[Lt]);V.push(Dt)}}x=new Vf(T,V)}else{var It=g;x=new IE(T,It).collection()}return x},remove:function(g){if(!pt(g)){if(Tt(g)){var x=g;g=this.$(x)}}return g.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function wJ(y,g,x,T){var L=4,I=.001,O=1e-7,$=10,z=11,S=1/(z-1),V=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var U=0;U<4;++U)if(typeof arguments[U]!="number"||isNaN(arguments[U])||!isFinite(arguments[U]))return!1;y=Math.min(y,1),x=Math.min(x,1),y=Math.max(y,0),x=Math.max(x,0);var tt=V?new Float32Array(z):new Array(z);function at(be,we){return 1-3*we+3*be}function lt(be,we){return 3*we-6*be}function ft(be){return 3*be}function Lt(be,we,ae){return((at(we,ae)*be+lt(we,ae))*be+ft(we))*be}function kt(be,we,ae){return 3*at(we,ae)*be*be+2*lt(we,ae)*be+ft(we)}function Dt(be,we){for(var ae=0;ae<L;++ae){var Ne=kt(we,y,x);if(Ne===0)return we;var me=Lt(we,y,x)-be;we-=me/Ne}return we}function It(){for(var be=0;be<z;++be)tt[be]=Lt(be*S,y,x)}function qt(be,we,ae){var Ne,me,gn=0;do me=we+(ae-we)/2,Ne=Lt(me,y,x)-be,Ne>0?ae=me:we=me;while(Math.abs(Ne)>O&&++gn<$);return me}function te(be){for(var we=0,ae=1,Ne=z-1;ae!==Ne&&tt[ae]<=be;++ae)we+=S;--ae;var me=(be-tt[ae])/(tt[ae+1]-tt[ae]),gn=we+me*S,ze=kt(gn,y,x);return ze>=I?Dt(be,gn):ze===0?gn:qt(be,we,we+S)}var Yt=!1;function Ht(){Yt=!0,(y!==g||x!==T)&&It()}var ie=function(we){return Yt||Ht(),y===g&&x===T?we:we===0?0:we===1?1:Lt(te(we),g,T)};ie.getControlPoints=function(){return[{x:y,y:g},{x,y:T}]};var Wt="generateBezier("+[y,g,x,T]+")";return ie.toString=function(){return Wt},ie}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var mJ=function(){function y(T){return-T.tension*T.x-T.friction*T.v}function g(T,L,I){var O={x:T.x+I.dx*L,v:T.v+I.dv*L,tension:T.tension,friction:T.friction};return{dx:O.v,dv:y(O)}}function x(T,L){var I={dx:T.v,dv:y(T)},O=g(T,L*.5,I),$=g(T,L*.5,O),z=g(T,L,$),S=1/6*(I.dx+2*(O.dx+$.dx)+z.dx),V=1/6*(I.dv+2*(O.dv+$.dv)+z.dv);return T.x=T.x+S*L,T.v=T.v+V*L,T}return function T(L,I,O){var $={x:-1,v:0,tension:null,friction:null},z=[0],S=0,V=1/1e4,U=16/1e3,tt,at,lt;for(L=parseFloat(L)||500,I=parseFloat(I)||20,O=O||null,$.tension=L,$.friction=I,tt=O!==null,tt?(S=T(L,I),at=S/O*U):at=U;lt=x(lt||$,at),z.push(1+lt.x),S+=16,Math.abs(lt.x)>V&&Math.abs(lt.v)>V;);return tt?function(ft){return z[ft*(z.length-1)|0]}:S}}(),Eu=function(g,x,T,L){var I=wJ(g,x,T,L);return function(O,$,z){return O+($-O)*I(z)}},sT={linear:function(g,x,T){return g+(x-g)*T},ease:Eu(.25,.1,.25,1),"ease-in":Eu(.42,0,1,1),"ease-out":Eu(0,0,.58,1),"ease-in-out":Eu(.42,0,.58,1),"ease-in-sine":Eu(.47,0,.745,.715),"ease-out-sine":Eu(.39,.575,.565,1),"ease-in-out-sine":Eu(.445,.05,.55,.95),"ease-in-quad":Eu(.55,.085,.68,.53),"ease-out-quad":Eu(.25,.46,.45,.94),"ease-in-out-quad":Eu(.455,.03,.515,.955),"ease-in-cubic":Eu(.55,.055,.675,.19),"ease-out-cubic":Eu(.215,.61,.355,1),"ease-in-out-cubic":Eu(.645,.045,.355,1),"ease-in-quart":Eu(.895,.03,.685,.22),"ease-out-quart":Eu(.165,.84,.44,1),"ease-in-out-quart":Eu(.77,0,.175,1),"ease-in-quint":Eu(.755,.05,.855,.06),"ease-out-quint":Eu(.23,1,.32,1),"ease-in-out-quint":Eu(.86,0,.07,1),"ease-in-expo":Eu(.95,.05,.795,.035),"ease-out-expo":Eu(.19,1,.22,1),"ease-in-out-expo":Eu(1,0,0,1),"ease-in-circ":Eu(.6,.04,.98,.335),"ease-out-circ":Eu(.075,.82,.165,1),"ease-in-out-circ":Eu(.785,.135,.15,.86),spring:function(g,x,T){if(T===0)return sT.linear;var L=mJ(g,x,T);return function(I,O,$){return I+(O-I)*L($)}},"cubic-bezier":Eu};function CB(y,g,x,T,L){if(T===1||g===x)return x;var I=L(g,x,T);return y==null||((y.roundValue||y.color)&&(I=Math.round(I)),y.min!==void 0&&(I=Math.max(I,y.min)),y.max!==void 0&&(I=Math.min(I,y.max))),I}function SB(y,g){return y.pfValue!=null||y.value!=null?y.pfValue!=null&&(g==null||g.type.units!=="%")?y.pfValue:y.value:y}function a6(y,g,x,T,L){var I=L!=null?L.type:null;x<0?x=0:x>1&&(x=1);var O=SB(y,L),$=SB(g,L);if(st(O)&&st($))return CB(I,O,$,x,T);if(vt(O)&&vt($)){for(var z=[],S=0;S<$.length;S++){var V=O[S],U=$[S];if(V!=null&&U!=null){var tt=CB(I,V,U,x,T);z.push(tt)}else z.push(U)}return z}}function yJ(y,g,x,T){var L=!T,I=y._private,O=g._private,$=O.easing,z=O.startTime,S=T?y:y.cy(),V=S.style();if(!O.easingImpl)if($==null)O.easingImpl=sT.linear;else{var U;if(Tt($)){var tt=V.parse("transition-timing-function",$);U=tt.value}else U=$;var at,lt;Tt(U)?(at=U,lt=[]):(at=U[1],lt=U.slice(2).map(function(On){return+On})),lt.length>0?(at==="spring"&&lt.push(O.duration),O.easingImpl=sT[at].apply(null,lt)):O.easingImpl=sT[at]}var ft=O.easingImpl,Lt;if(O.duration===0?Lt=1:Lt=(x-z)/O.duration,O.applying&&(Lt=O.progress),Lt<0?Lt=0:Lt>1&&(Lt=1),O.delay==null){var kt=O.startPosition,Dt=O.position;if(Dt&&L&&!y.locked()){var It={};Ok(kt.x,Dt.x)&&(It.x=a6(kt.x,Dt.x,Lt,ft)),Ok(kt.y,Dt.y)&&(It.y=a6(kt.y,Dt.y,Lt,ft)),y.position(It)}var qt=O.startPan,te=O.pan,Yt=I.pan,Ht=te!=null&&T;Ht&&(Ok(qt.x,te.x)&&(Yt.x=a6(qt.x,te.x,Lt,ft)),Ok(qt.y,te.y)&&(Yt.y=a6(qt.y,te.y,Lt,ft)),y.emit("pan"));var ie=O.startZoom,Wt=O.zoom,be=Wt!=null&&T;be&&(Ok(ie,Wt)&&(I.zoom=mk(I.minZoom,a6(ie,Wt,Lt,ft),I.maxZoom)),y.emit("zoom")),(Ht||be)&&y.emit("viewport");var we=O.style;if(we&&we.length>0&&L){for(var ae=0;ae<we.length;ae++){var Ne=we[ae],me=Ne.name,gn=Ne,ze=O.startStyle[me],Ge=V.properties[ze.name],xn=a6(ze,gn,Lt,ft,Ge);V.overrideBypass(y,me,xn)}y.emit("style")}}return O.progress=Lt,Lt}function Ok(y,g){return y==null||g==null?!1:st(y)&&st(g)?!0:!!(y&&g)}function xJ(y,g,x,T){var L=g._private;L.started=!0,L.startTime=x-L.progress*L.duration}function AB(y,g){var x=g._private.aniEles,T=[];function L(V,U){var tt=V._private,at=tt.animation.current,lt=tt.animation.queue,ft=!1;if(at.length===0){var Lt=lt.shift();Lt&&at.push(Lt)}for(var kt=function(Yt){for(var Ht=Yt.length-1;Ht>=0;Ht--){var ie=Yt[Ht];ie()}Yt.splice(0,Yt.length)},Dt=at.length-1;Dt>=0;Dt--){var It=at[Dt],qt=It._private;if(qt.stopped){at.splice(Dt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,kt(qt.frames);continue}!qt.playing&&!qt.applying||(qt.playing&&qt.applying&&(qt.applying=!1),qt.started||xJ(V,It,y),yJ(V,It,y,U),qt.applying&&(qt.applying=!1),kt(qt.frames),qt.step!=null&&qt.step(y),It.completed()&&(at.splice(Dt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,kt(qt.completes)),ft=!0)}return!U&&at.length===0&&lt.length===0&&T.push(V),ft}for(var I=!1,O=0;O<x.length;O++){var $=x[O],z=L($);I=I||z}var S=L(g,!0);(I||S)&&(x.length>0?g.notify("draw",x):g.notify("draw")),x.unmerge(T),g.emit("step")}var kJ={animate:jc.animate(),animation:jc.animation(),animated:jc.animated(),clearQueue:jc.clearQueue(),delay:jc.delay(),delayAnimation:jc.delayAnimation(),stop:jc.stop(),addToAnimationPool:function(g){var x=this;x.styleEnabled()&&x._private.aniEles.merge(g)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var g=this;if(g._private.animationsRunning=!0,!g.styleEnabled())return;function x(){g._private.animationsRunning&&Da(function(I){AB(I,g),x()})}var T=g.renderer();T&&T.beforeRender?T.beforeRender(function(I,O){AB(O,g)},T.beforeRenderPriorities.animations):x()}},EJ={qualifierCompare:function(g,x){return g==null||x==null?g==null&&x==null:g.sameText(x)},eventMatches:function(g,x,T){var L=x.qualifier;return L!=null?g!==T.target&&Ct(T.target)&&L.matches(T.target):!0},addEventFields:function(g,x){x.cy=g,x.target=g},callbackContext:function(g,x,T){return x.qualifier!=null?T.target:g}},aT=function(g){return Tt(g)?new ym(g):g},LB={createEmitter:function(){var g=this._private;return g.emitter||(g.emitter=new JE(EJ,this)),this},emitter:function(){return this._private.emitter},on:function(g,x,T){return this.emitter().on(g,aT(x),T),this},removeListener:function(g,x,T){return this.emitter().removeListener(g,aT(x),T),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(g,x,T){return this.emitter().one(g,aT(x),T),this},once:function(g,x,T){return this.emitter().one(g,aT(x),T),this},emit:function(g,x){return this.emitter().emit(g,x),this},emitAndNotify:function(g,x){return this.emit(g),this.notify(g,x),this}};jc.eventAliasesOn(LB);var VL={png:function(g){var x=this._private.renderer;return g=g||{},x.png(g)},jpg:function(g){var x=this._private.renderer;return g=g||{},g.bg=g.bg||"#fff",x.jpg(g)}};VL.jpeg=VL.jpg;var oT={layout:function(g){var x=this;if(g==null){Ec("Layout options must be specified to make a layout");return}if(g.name==null){Ec("A `name` must be specified to make a layout");return}var T=g.name,L=x.extension("layout",T);if(L==null){Ec("No such layout `"+T+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var I;Tt(g.eles)?I=x.$(g.eles):I=g.eles!=null?g.eles:x.$();var O=new L(Pe({},g,{cy:x,eles:I}));return O}};oT.createLayout=oT.makeLayout=oT.layout;var TJ={notify:function(g,x){var T=this._private;if(this.batching()){T.batchNotifications=T.batchNotifications||{};var L=T.batchNotifications[g]=T.batchNotifications[g]||this.collection();x!=null&&L.merge(x);return}if(T.notificationsEnabled){var I=this.renderer();this.destroyed()||!I||I.notify(g,x)}},notifications:function(g){var x=this._private;return g===void 0?x.notificationsEnabled:(x.notificationsEnabled=!!g,this)},noNotifications:function(g){this.notifications(!1),g(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var g=this._private;return g.batchCount==null&&(g.batchCount=0),g.batchCount===0&&(g.batchStyleEles=this.collection(),g.batchNotifications={}),g.batchCount++,this},endBatch:function(){var g=this._private;if(g.batchCount===0)return this;if(g.batchCount--,g.batchCount===0){g.batchStyleEles.updateStyle();var x=this.renderer();Object.keys(g.batchNotifications).forEach(function(T){var L=g.batchNotifications[T];L.empty()?x.notify(T):x.notify(T,L)})}return this},batch:function(g){return this.startBatch(),g(),this.endBatch(),this},batchData:function(g){var x=this;return this.batch(function(){for(var T=Object.keys(g),L=0;L<T.length;L++){var I=T[L],O=g[I],$=x.getElementById(I);$.data(O)}})}},_J=qf({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),GL={renderTo:function(g,x,T,L){var I=this._private.renderer;return I.renderTo(g,x,T,L),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(g){var x=this,T=x.extension("renderer",g.name);if(T==null){Ec("Can not initialise: No such renderer `".concat(g.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}g.wheelSensitivity!==void 0&&Ko("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var L=_J(g);L.cy=x,x._private.renderer=new T(L),this.notify("init")},destroyRenderer:function(){var g=this;g.notify("destroy");var x=g.container();if(x)for(x._cyreg=null;x.childNodes.length>0;)x.removeChild(x.childNodes[0]);g._private.renderer=null,g.mutableElements().forEach(function(T){var L=T._private;L.rscratch={},L.rstyle={},L.animation.current=[],L.animation.queue=[]})},onRender:function(g){return this.on("render",g)},offRender:function(g){return this.off("render",g)}};GL.invalidateDimensions=GL.resize;var cT={collection:function(g,x){return Tt(g)?this.$(g):pt(g)?g.collection():vt(g)?(x||(x={}),new Vf(this,g,x.unique,x.removed)):new Vf(this)},nodes:function(g){var x=this.$(function(T){return T.isNode()});return g?x.filter(g):x},edges:function(g){var x=this.$(function(T){return T.isEdge()});return g?x.filter(g):x},$:function(g){var x=this._private.elements;return g?x.filter(g):x.spawnSelf()},mutableElements:function(){return this._private.elements}};cT.elements=cT.filter=cT.$;var y1={},Pk="t",CJ="f";y1.apply=function(y){for(var g=this,x=g._private,T=x.cy,L=T.collection(),I=0;I<y.length;I++){var O=y[I],$=g.getContextMeta(O);if(!$.empty){var z=g.getContextStyle($),S=g.applyContextStyle($,z,O);O._private.appliedInitStyle?g.updateTransitions(O,S.diffProps):O._private.appliedInitStyle=!0;var V=g.updateStyleHints(O);V&&L.push(O)}}return L},y1.getPropertiesDiff=function(y,g){var x=this,T=x._private.propDiffs=x._private.propDiffs||{},L=y+"-"+g,I=T[L];if(I)return I;for(var O=[],$={},z=0;z<x.length;z++){var S=x[z],V=y[z]===Pk,U=g[z]===Pk,tt=V!==U,at=S.mappedProperties.length>0;if(tt||U&&at){var lt=void 0;tt&&at||tt?lt=S.properties:at&&(lt=S.mappedProperties);for(var ft=0;ft<lt.length;ft++){for(var Lt=lt[ft],kt=Lt.name,Dt=!1,It=z+1;It<x.length;It++){var qt=x[It],te=g[It]===Pk;if(te&&(Dt=qt.properties[Lt.name]!=null,Dt))break}!$[kt]&&!Dt&&($[kt]=!0,O.push(kt))}}}return T[L]=O,O},y1.getContextMeta=function(y){for(var g=this,x="",T,L=y._private.styleCxtKey||"",I=0;I<g.length;I++){var O=g[I],$=O.selector&&O.selector.matches(y);$?x+=Pk:x+=CJ}return T=g.getPropertiesDiff(L,x),y._private.styleCxtKey=x,{key:x,diffPropNames:T,empty:T.length===0}},y1.getContextStyle=function(y){var g=y.key,x=this,T=this._private.contextStyles=this._private.contextStyles||{};if(T[g])return T[g];for(var L={_private:{key:g}},I=0;I<x.length;I++){var O=x[I],$=g[I]===Pk;if($)for(var z=0;z<O.properties.length;z++){var S=O.properties[z];L[S.name]=S}}return T[g]=L,L},y1.applyContextStyle=function(y,g,x){for(var T=this,L=y.diffPropNames,I={},O=T.types,$=0;$<L.length;$++){var z=L[$],S=g[z],V=x.pstyle(z);if(!S)if(V)V.bypass?S={name:z,deleteBypassed:!0}:S={name:z,delete:!0};else continue;if(V!==S){if(S.mapped===O.fn&&V!=null&&V.mapping!=null&&V.mapping.value===S.value){var U=V.mapping,tt=U.fnValue=S.value(x);if(tt===U.prevFnValue)continue}var at=I[z]={prev:V};T.applyParsedProperty(x,S),at.next=x.pstyle(z),at.next&&at.next.bypass&&(at.next=at.next.bypassed)}}return{diffProps:I}},y1.updateStyleHints=function(y){var g=y._private,x=this,T=x.propertyGroupNames,L=x.propertyGroupKeys,I=function(fi,Ii,oa){return x.getPropertiesHash(fi,Ii,oa)},O=g.styleKey;if(y.removed())return!1;var $=g.group==="nodes",z=y._private.style;T=Object.keys(z);for(var S=0;S<L.length;S++){var V=L[S];g.styleKeys[V]=[Rc,vp]}for(var U=function(fi,Ii){return g.styleKeys[Ii][0]=lf(fi,g.styleKeys[Ii][0])},tt=function(fi,Ii){return g.styleKeys[Ii][1]=fm(fi,g.styleKeys[Ii][1])},at=function(fi,Ii){U(fi,Ii),tt(fi,Ii)},lt=function(fi,Ii){for(var oa=0;oa<fi.length;oa++){var Ra=fi.charCodeAt(oa);U(Ra,Ii),tt(Ra,Ii)}},ft=2e9,Lt=function(fi){return-128<fi&&fi<128&&Math.floor(fi)!==fi?ft-(fi*1024|0):fi},kt=0;kt<T.length;kt++){var Dt=T[kt],It=z[Dt];if(It!=null){var qt=this.properties[Dt],te=qt.type,Yt=qt.groupKey,Ht=void 0;qt.hashOverride!=null?Ht=qt.hashOverride(y,It):It.pfValue!=null&&(Ht=It.pfValue);var ie=qt.enums==null?It.value:null,Wt=Ht!=null,be=ie!=null,we=Wt||be,ae=It.units;if(te.number&&we&&!te.multiple){var Ne=Wt?Ht:ie;at(Lt(Ne),Yt),!Wt&&ae!=null&&lt(ae,Yt)}else lt(It.strValue,Yt)}}for(var me=[Rc,vp],gn=0;gn<L.length;gn++){var ze=L[gn],Ge=g.styleKeys[ze];me[0]=lf(Ge[0],me[0]),me[1]=fm(Ge[1],me[1])}g.styleKey=LE(me[0],me[1]);var xn=g.styleKeys;g.labelDimsKey=wp(xn.labelDimensions);var On=I(y,["label"],xn.labelDimensions);if(g.labelKey=wp(On),g.labelStyleKey=wp(j5(xn.commonLabel,On)),!$){var nr=I(y,["source-label"],xn.labelDimensions);g.sourceLabelKey=wp(nr),g.sourceLabelStyleKey=wp(j5(xn.commonLabel,nr));var Sn=I(y,["target-label"],xn.labelDimensions);g.targetLabelKey=wp(Sn),g.targetLabelStyleKey=wp(j5(xn.commonLabel,Sn))}if($){var er=g.styleKeys,fr=er.nodeBody,Mr=er.nodeBorder,yr=er.backgroundImage,lr=er.compound,bn=er.pie,Sr=[fr,Mr,yr,lr,bn].filter(function(Er){return Er!=null}).reduce(j5,[Rc,vp]);g.nodeKey=wp(Sr),g.hasPie=bn!=null&&bn[0]!==Rc&&bn[1]!==vp}return O!==g.styleKey},y1.clearStyleHints=function(y){var g=y._private;g.styleCxtKey="",g.styleKeys={},g.styleKey=null,g.labelKey=null,g.labelStyleKey=null,g.sourceLabelKey=null,g.sourceLabelStyleKey=null,g.targetLabelKey=null,g.targetLabelStyleKey=null,g.nodeKey=null,g.hasPie=null},y1.applyParsedProperty=function(y,g){var x=this,T=g,L=y._private.style,I,O=x.types,$=x.properties[T.name].type,z=T.bypass,S=L[T.name],V=S&&S.bypass,U=y._private,tt="mapping",at=function(fr){return fr==null?null:fr.pfValue!=null?fr.pfValue:fr.value},lt=function(){var fr=at(S),Mr=at(T);x.checkTriggers(y,T.name,fr,Mr)};if(T&&T.name.substr(0,3)==="pie"&&Ko("The pie style properties are deprecated. Create charts using background images instead."),g.name==="curve-style"&&y.isEdge()&&(g.value!=="bezier"&&y.isLoop()||g.value==="haystack"&&(y.source().isParent()||y.target().isParent()))&&(T=g=this.parse(g.name,"bezier",z)),T.delete)return L[T.name]=void 0,lt(),!0;if(T.deleteBypassed)return S?S.bypass?(S.bypassed=void 0,lt(),!0):!1:(lt(),!0);if(T.deleteBypass)return S?S.bypass?(L[T.name]=S.bypassed,lt(),!0):!1:(lt(),!0);var ft=function(){Ko("Do not assign mappings to elements without corresponding data (i.e. ele `"+y.id()+"` has no mapping for property `"+T.name+"` with data field `"+T.field+"`); try a `["+T.field+"]` selector to limit scope to elements with `"+T.field+"` defined")};switch(T.mapped){case O.mapData:{for(var Lt=T.field.split("."),kt=U.data,Dt=0;Dt<Lt.length&&kt;Dt++){var It=Lt[Dt];kt=kt[It]}if(kt==null)return ft(),!1;var qt;if(st(kt)){var te=T.fieldMax-T.fieldMin;te===0?qt=0:qt=(kt-T.fieldMin)/te}else return Ko("Do not use continuous mappers without specifying numeric data (i.e. `"+T.field+": "+kt+"` for `"+y.id()+"` is non-numeric)"),!1;if(qt<0?qt=0:qt>1&&(qt=1),$.color){var Yt=T.valueMin[0],Ht=T.valueMax[0],ie=T.valueMin[1],Wt=T.valueMax[1],be=T.valueMin[2],we=T.valueMax[2],ae=T.valueMin[3]==null?1:T.valueMin[3],Ne=T.valueMax[3]==null?1:T.valueMax[3],me=[Math.round(Yt+(Ht-Yt)*qt),Math.round(ie+(Wt-ie)*qt),Math.round(be+(we-be)*qt),Math.round(ae+(Ne-ae)*qt)];I={bypass:T.bypass,name:T.name,value:me,strValue:"rgb("+me[0]+", "+me[1]+", "+me[2]+")"}}else if($.number){var gn=T.valueMin+(T.valueMax-T.valueMin)*qt;I=this.parse(T.name,gn,T.bypass,tt)}else return!1;if(!I)return ft(),!1;I.mapping=T,T=I;break}case O.data:{for(var ze=T.field.split("."),Ge=U.data,xn=0;xn<ze.length&&Ge;xn++){var On=ze[xn];Ge=Ge[On]}if(Ge!=null&&(I=this.parse(T.name,Ge,T.bypass,tt)),!I)return ft(),!1;I.mapping=T,T=I;break}case O.fn:{var nr=T.value,Sn=T.fnValue!=null?T.fnValue:nr(y);if(T.prevFnValue=Sn,Sn==null)return Ko("Custom function mappers may not return null (i.e. `"+T.name+"` for ele `"+y.id()+"` is null)"),!1;if(I=this.parse(T.name,Sn,T.bypass,tt),!I)return Ko("Custom function mappers may not return invalid values for the property type (i.e. `"+T.name+"` for ele `"+y.id()+"` is invalid)"),!1;I.mapping=oh(T),T=I;break}case void 0:break;default:return!1}return z?(V?T.bypassed=S.bypassed:T.bypassed=S,L[T.name]=T):V?S.bypassed=T:L[T.name]=T,lt(),!0},y1.cleanElements=function(y,g){for(var x=0;x<y.length;x++){var T=y[x];if(this.clearStyleHints(T),T.dirtyCompoundBoundsCache(),T.dirtyBoundingBoxCache(),!g)T._private.style={};else for(var L=T._private.style,I=Object.keys(L),O=0;O<I.length;O++){var $=I[O],z=L[$];z!=null&&(z.bypass?z.bypassed=null:L[$]=null)}}},y1.update=function(){var y=this._private.cy,g=y.mutableElements();g.updateStyle()},y1.updateTransitions=function(y,g){var x=this,T=y._private,L=y.pstyle("transition-property").value,I=y.pstyle("transition-duration").pfValue,O=y.pstyle("transition-delay").pfValue;if(L.length>0&&I>0){for(var $={},z=!1,S=0;S<L.length;S++){var V=L[S],U=y.pstyle(V),tt=g[V];if(tt){var at=tt.prev,lt=at,ft=tt.next!=null?tt.next:U,Lt=!1,kt=void 0,Dt=1e-6;lt&&(st(lt.pfValue)&&st(ft.pfValue)?(Lt=ft.pfValue-lt.pfValue,kt=lt.pfValue+Dt*Lt):st(lt.value)&&st(ft.value)?(Lt=ft.value-lt.value,kt=lt.value+Dt*Lt):vt(lt.value)&&vt(ft.value)&&(Lt=lt.value[0]!==ft.value[0]||lt.value[1]!==ft.value[1]||lt.value[2]!==ft.value[2],kt=lt.strValue),Lt&&($[V]=ft.strValue,this.applyBypass(y,V,kt),z=!0))}}if(!z)return;T.transitioning=!0,new Y5(function(It){O>0?y.delayAnimation(O).play().promise().then(It):It()}).then(function(){return y.animation({style:$,duration:I,easing:y.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){x.removeBypasses(y,L),y.emitAndNotify("style"),T.transitioning=!1})}else T.transitioning&&(this.removeBypasses(y,L),y.emitAndNotify("style"),T.transitioning=!1)},y1.checkTrigger=function(y,g,x,T,L,I){var O=this.properties[g],$=L(O);$!=null&&$(x,T)&&I(O)},y1.checkZOrderTrigger=function(y,g,x,T){var L=this;this.checkTrigger(y,g,x,T,function(I){return I.triggersZOrder},function(){L._private.cy.notify("zorder",y)})},y1.checkBoundsTrigger=function(y,g,x,T){this.checkTrigger(y,g,x,T,function(L){return L.triggersBounds},function(L){y.dirtyCompoundBoundsCache(),y.dirtyBoundingBoxCache(),L.triggersBoundsOfParallelBeziers&&(g==="curve-style"&&(x==="bezier"||T==="bezier")||g==="display"&&(x==="none"||T==="none"))&&y.parallelEdges().forEach(function(I){I.isBundledBezier()&&I.dirtyBoundingBoxCache()})})},y1.checkTriggers=function(y,g,x,T){y.dirtyStyleCache(),this.checkZOrderTrigger(y,g,x,T),this.checkBoundsTrigger(y,g,x,T)};var Nk={};Nk.applyBypass=function(y,g,x,T){var L=this,I=[],O=!0;if(g==="*"||g==="**"){if(x!==void 0)for(var $=0;$<L.properties.length;$++){var z=L.properties[$],S=z.name,V=this.parse(S,x,!0);V&&I.push(V)}}else if(Tt(g)){var U=this.parse(g,x,!0);U&&I.push(U)}else if(ut(g)){var tt=g;T=x;for(var at=Object.keys(tt),lt=0;lt<at.length;lt++){var ft=at[lt],Lt=tt[ft];if(Lt===void 0&&(Lt=tt[Cn(ft)]),Lt!==void 0){var kt=this.parse(ft,Lt,!0);kt&&I.push(kt)}}}else return!1;if(I.length===0)return!1;for(var Dt=!1,It=0;It<y.length;It++){for(var qt=y[It],te={},Yt=void 0,Ht=0;Ht<I.length;Ht++){var ie=I[Ht];if(T){var Wt=qt.pstyle(ie.name);Yt=te[ie.name]={prev:Wt}}Dt=this.applyParsedProperty(qt,oh(ie))||Dt,T&&(Yt.next=qt.pstyle(ie.name))}Dt&&this.updateStyleHints(qt),T&&this.updateTransitions(qt,te,O)}return Dt},Nk.overrideBypass=function(y,g,x){g=Ve(g);for(var T=0;T<y.length;T++){var L=y[T],I=L._private.style[g],O=this.properties[g].type,$=O.color,z=O.mutiple,S=I?I.pfValue!=null?I.pfValue:I.value:null;!I||!I.bypass?this.applyBypass(L,g,x):(I.value=x,I.pfValue!=null&&(I.pfValue=x),$?I.strValue="rgb("+x.join(",")+")":z?I.strValue=x.join(" "):I.strValue=""+x,this.updateStyleHints(L)),this.checkTriggers(L,g,S,x)}},Nk.removeAllBypasses=function(y,g){return this.removeBypasses(y,this.propertyNames,g)},Nk.removeBypasses=function(y,g,x){for(var T=!0,L=0;L<y.length;L++){for(var I=y[L],O={},$=0;$<g.length;$++){var z=g[$],S=this.properties[z],V=I.pstyle(S.name);if(!(!V||!V.bypass)){var U="",tt=this.parse(z,U,!0),at=O[S.name]={prev:V};this.applyParsedProperty(I,tt),at.next=I.pstyle(S.name)}}this.updateStyleHints(I),x&&this.updateTransitions(I,O,T)}};var UL={};UL.getEmSizeInPixels=function(){var y=this.containerCss("font-size");return y!=null?parseFloat(y):1},UL.containerCss=function(y){var g=this._private.cy,x=g.container();if(R&&x&&R.getComputedStyle)return R.getComputedStyle(x).getPropertyValue(y)};var G2={};G2.getRenderedStyle=function(y,g){return g?this.getStylePropertyValue(y,g,!0):this.getRawStyle(y,!0)},G2.getRawStyle=function(y,g){var x=this;if(y=y[0],y){for(var T={},L=0;L<x.properties.length;L++){var I=x.properties[L],O=x.getStylePropertyValue(y,I.name,g);O!=null&&(T[I.name]=O,T[Cn(I.name)]=O)}return T}},G2.getIndexedStyle=function(y,g,x,T){var L=y.pstyle(g)[x][T];return L??y.cy().style().getDefaultProperty(g)[x][0]},G2.getStylePropertyValue=function(y,g,x){var T=this;if(y=y[0],y){var L=T.properties[g];L.alias&&(L=L.pointsTo);var I=L.type,O=y.pstyle(L.name);if(O){var $=O.value,z=O.units,S=O.strValue;if(x&&I.number&&$!=null&&st($)){var V=y.cy().zoom(),U=function(Lt){return Lt*V},tt=function(Lt,kt){return U(Lt)+kt},at=vt($),lt=at?z.every(function(ft){return ft!=null}):z!=null;return lt?at?$.map(function(ft,Lt){return tt(ft,z[Lt])}).join(" "):tt($,z):at?$.map(function(ft){return Tt(ft)?ft:""+U(ft)}).join(" "):""+U($)}else if(S!=null)return S}return null}},G2.getAnimationStartStyle=function(y,g){for(var x={},T=0;T<g.length;T++){var L=g[T],I=L.name,O=y.pstyle(I);O!==void 0&&(ut(O)?O=this.parse(I,O.strValue):O=this.parse(I,O)),O&&(x[I]=O)}return x},G2.getPropsList=function(y){var g=this,x=[],T=y,L=g.properties;if(T)for(var I=Object.keys(T),O=0;O<I.length;O++){var $=I[O],z=T[$],S=L[$]||L[Ve($)],V=this.parse(S.name,z);V&&x.push(V)}return x},G2.getNonDefaultPropertiesHash=function(y,g,x){var T=x.slice(),L,I,O,$,z,S;for(z=0;z<g.length;z++)if(L=g[z],I=y.pstyle(L,!1),I!=null)if(I.pfValue!=null)T[0]=lf($,T[0]),T[1]=fm($,T[1]);else for(O=I.strValue,S=0;S<O.length;S++)$=O.charCodeAt(S),T[0]=lf($,T[0]),T[1]=fm($,T[1]);return T},G2.getPropertiesHash=G2.getNonDefaultPropertiesHash;var uT={};uT.appendFromJson=function(y){for(var g=this,x=0;x<y.length;x++){var T=y[x],L=T.selector,I=T.style||T.css,O=Object.keys(I);g.selector(L);for(var $=0;$<O.length;$++){var z=O[$],S=I[z];g.css(z,S)}}return g},uT.fromJson=function(y){var g=this;return g.resetToDefault(),g.appendFromJson(y),g},uT.json=function(){for(var y=[],g=this.defaultLength;g<this.length;g++){for(var x=this[g],T=x.selector,L=x.properties,I={},O=0;O<L.length;O++){var $=L[O];I[$.name]=$.strValue}y.push({selector:T?T.toString():"core",style:I})}return y};var WL={};WL.appendFromString=function(y){var g=this,x=this,T=""+y,L,I,O;T=T.replace(/[/][*](\s|.)+?[*][/]/g,"");function $(){T.length>L.length?T=T.substr(L.length):T=""}function z(){I.length>O.length?I=I.substr(O.length):I=""}for(;;){var S=T.match(/^\s*$/);if(S)break;var V=T.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!V){Ko("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+T);break}L=V[0];var U=V[1];if(U!=="core"){var tt=new ym(U);if(tt.invalid){Ko("Skipping parsing of block: Invalid selector found in string stylesheet: "+U),$();continue}}var at=V[2],lt=!1;I=at;for(var ft=[];;){var Lt=I.match(/^\s*$/);if(Lt)break;var kt=I.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!kt){Ko("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+at),lt=!0;break}O=kt[0];var Dt=kt[1],It=kt[2],qt=g.properties[Dt];if(!qt){Ko("Skipping property: Invalid property name in: "+O),z();continue}var te=x.parse(Dt,It);if(!te){Ko("Skipping property: Invalid property definition in: "+O),z();continue}ft.push({name:Dt,val:It}),z()}if(lt){$();break}x.selector(U);for(var Yt=0;Yt<ft.length;Yt++){var Ht=ft[Yt];x.css(Ht.name,Ht.val)}$()}return x},WL.fromString=function(y){var g=this;return g.resetToDefault(),g.appendFromString(y),g};var Gf={};(function(){var y=Se,g=_e,x=ce,T=Ce,L=he,I=function(Sr){return"^"+Sr+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},O=function(Sr){var Er=y+"|\\w+|"+g+"|"+x+"|"+T+"|"+L;return"^"+Sr+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+y+")\\s*\\,\\s*("+y+")\\s*,\\s*("+Er+")\\s*\\,\\s*("+Er+")\\)$"},$=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];Gf.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:I("data")},layoutData:{mapping:!0,regex:I("layoutData")},scratch:{mapping:!0,regex:I("scratch")},mapData:{mapping:!0,regex:O("mapData")},mapLayoutData:{mapping:!0,regex:O("mapLayoutData")},mapScratch:{mapping:!0,regex:O("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:$,singleRegexMatchValue:!0},urls:{regexes:$,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(Sr,Er){switch(Sr.length){case 2:return Er[0]!=="deg"&&Er[0]!=="rad"&&Er[1]!=="deg"&&Er[1]!=="rad";case 1:return Tt(Sr[0])||Er[0]==="deg"||Er[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(Sr){var Er=Sr.length;return Er===1||Er===2||Er===4}}};var z={zeroNonZero:function(Sr,Er){return(Sr==null||Er==null)&&Sr!==Er||Sr==0&&Er!=0?!0:Sr!=0&&Er==0},any:function(Sr,Er){return Sr!=Er},emptyNonEmpty:function(Sr,Er){var fi=X(Sr),Ii=X(Er);return fi&&!Ii||!fi&&Ii}},S=Gf.types,V=[{name:"label",type:S.text,triggersBounds:z.any,triggersZOrder:z.emptyNonEmpty},{name:"text-rotation",type:S.textRotation,triggersBounds:z.any},{name:"text-margin-x",type:S.bidirectionalSize,triggersBounds:z.any},{name:"text-margin-y",type:S.bidirectionalSize,triggersBounds:z.any}],U=[{name:"source-label",type:S.text,triggersBounds:z.any},{name:"source-text-rotation",type:S.textRotation,triggersBounds:z.any},{name:"source-text-margin-x",type:S.bidirectionalSize,triggersBounds:z.any},{name:"source-text-margin-y",type:S.bidirectionalSize,triggersBounds:z.any},{name:"source-text-offset",type:S.size,triggersBounds:z.any}],tt=[{name:"target-label",type:S.text,triggersBounds:z.any},{name:"target-text-rotation",type:S.textRotation,triggersBounds:z.any},{name:"target-text-margin-x",type:S.bidirectionalSize,triggersBounds:z.any},{name:"target-text-margin-y",type:S.bidirectionalSize,triggersBounds:z.any},{name:"target-text-offset",type:S.size,triggersBounds:z.any}],at=[{name:"font-family",type:S.fontFamily,triggersBounds:z.any},{name:"font-style",type:S.fontStyle,triggersBounds:z.any},{name:"font-weight",type:S.fontWeight,triggersBounds:z.any},{name:"font-size",type:S.size,triggersBounds:z.any},{name:"text-transform",type:S.textTransform,triggersBounds:z.any},{name:"text-wrap",type:S.textWrap,triggersBounds:z.any},{name:"text-overflow-wrap",type:S.textOverflowWrap,triggersBounds:z.any},{name:"text-max-width",type:S.size,triggersBounds:z.any},{name:"text-outline-width",type:S.size,triggersBounds:z.any},{name:"line-height",type:S.positiveNumber,triggersBounds:z.any}],lt=[{name:"text-valign",type:S.valign,triggersBounds:z.any},{name:"text-halign",type:S.halign,triggersBounds:z.any},{name:"color",type:S.color},{name:"text-outline-color",type:S.color},{name:"text-outline-opacity",type:S.zeroOneNumber},{name:"text-background-color",type:S.color},{name:"text-background-opacity",type:S.zeroOneNumber},{name:"text-background-padding",type:S.size,triggersBounds:z.any},{name:"text-border-opacity",type:S.zeroOneNumber},{name:"text-border-color",type:S.color},{name:"text-border-width",type:S.size,triggersBounds:z.any},{name:"text-border-style",type:S.borderStyle,triggersBounds:z.any},{name:"text-background-shape",type:S.textBackgroundShape,triggersBounds:z.any},{name:"text-justification",type:S.justification}],ft=[{name:"events",type:S.bool},{name:"text-events",type:S.bool}],Lt=[{name:"display",type:S.display,triggersZOrder:z.any,triggersBounds:z.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:S.visibility,triggersZOrder:z.any},{name:"opacity",type:S.zeroOneNumber,triggersZOrder:z.zeroNonZero},{name:"text-opacity",type:S.zeroOneNumber},{name:"min-zoomed-font-size",type:S.size},{name:"z-compound-depth",type:S.zCompoundDepth,triggersZOrder:z.any},{name:"z-index-compare",type:S.zIndexCompare,triggersZOrder:z.any},{name:"z-index",type:S.nonNegativeInt,triggersZOrder:z.any}],kt=[{name:"overlay-padding",type:S.size,triggersBounds:z.any},{name:"overlay-color",type:S.color},{name:"overlay-opacity",type:S.zeroOneNumber,triggersBounds:z.zeroNonZero},{name:"overlay-shape",type:S.overlayShape,triggersBounds:z.any}],Dt=[{name:"underlay-padding",type:S.size,triggersBounds:z.any},{name:"underlay-color",type:S.color},{name:"underlay-opacity",type:S.zeroOneNumber,triggersBounds:z.zeroNonZero},{name:"underlay-shape",type:S.overlayShape,triggersBounds:z.any}],It=[{name:"transition-property",type:S.propList},{name:"transition-duration",type:S.time},{name:"transition-delay",type:S.time},{name:"transition-timing-function",type:S.easing}],qt=function(Sr,Er){return Er.value==="label"?-Sr.poolIndex():Er.pfValue},te=[{name:"height",type:S.nodeSize,triggersBounds:z.any,hashOverride:qt},{name:"width",type:S.nodeSize,triggersBounds:z.any,hashOverride:qt},{name:"shape",type:S.nodeShape,triggersBounds:z.any},{name:"shape-polygon-points",type:S.polygonPointList,triggersBounds:z.any},{name:"background-color",type:S.color},{name:"background-fill",type:S.fill},{name:"background-opacity",type:S.zeroOneNumber},{name:"background-blacken",type:S.nOneOneNumber},{name:"background-gradient-stop-colors",type:S.colors},{name:"background-gradient-stop-positions",type:S.percentages},{name:"background-gradient-direction",type:S.gradientDirection},{name:"padding",type:S.sizeMaybePercent,triggersBounds:z.any},{name:"padding-relative-to",type:S.paddingRelativeTo,triggersBounds:z.any},{name:"bounds-expansion",type:S.boundsExpansion,triggersBounds:z.any}],Yt=[{name:"border-color",type:S.color},{name:"border-opacity",type:S.zeroOneNumber},{name:"border-width",type:S.size,triggersBounds:z.any},{name:"border-style",type:S.borderStyle}],Ht=[{name:"background-image",type:S.urls},{name:"background-image-crossorigin",type:S.bgCrossOrigin},{name:"background-image-opacity",type:S.zeroOneNumbers},{name:"background-image-containment",type:S.bgContainment},{name:"background-image-smoothing",type:S.bools},{name:"background-position-x",type:S.bgPos},{name:"background-position-y",type:S.bgPos},{name:"background-width-relative-to",type:S.bgRelativeTo},{name:"background-height-relative-to",type:S.bgRelativeTo},{name:"background-repeat",type:S.bgRepeat},{name:"background-fit",type:S.bgFit},{name:"background-clip",type:S.bgClip},{name:"background-width",type:S.bgWH},{name:"background-height",type:S.bgWH},{name:"background-offset-x",type:S.bgPos},{name:"background-offset-y",type:S.bgPos}],ie=[{name:"position",type:S.position,triggersBounds:z.any},{name:"compound-sizing-wrt-labels",type:S.compoundIncludeLabels,triggersBounds:z.any},{name:"min-width",type:S.size,triggersBounds:z.any},{name:"min-width-bias-left",type:S.sizeMaybePercent,triggersBounds:z.any},{name:"min-width-bias-right",type:S.sizeMaybePercent,triggersBounds:z.any},{name:"min-height",type:S.size,triggersBounds:z.any},{name:"min-height-bias-top",type:S.sizeMaybePercent,triggersBounds:z.any},{name:"min-height-bias-bottom",type:S.sizeMaybePercent,triggersBounds:z.any}],Wt=[{name:"line-style",type:S.lineStyle},{name:"line-color",type:S.color},{name:"line-fill",type:S.fill},{name:"line-cap",type:S.lineCap},{name:"line-opacity",type:S.zeroOneNumber},{name:"line-dash-pattern",type:S.numbers},{name:"line-dash-offset",type:S.number},{name:"line-gradient-stop-colors",type:S.colors},{name:"line-gradient-stop-positions",type:S.percentages},{name:"curve-style",type:S.curveStyle,triggersBounds:z.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:S.zeroOneNumber,triggersBounds:z.any},{name:"source-endpoint",type:S.edgeEndpoint,triggersBounds:z.any},{name:"target-endpoint",type:S.edgeEndpoint,triggersBounds:z.any},{name:"control-point-step-size",type:S.size,triggersBounds:z.any},{name:"control-point-distances",type:S.bidirectionalSizes,triggersBounds:z.any},{name:"control-point-weights",type:S.numbers,triggersBounds:z.any},{name:"segment-distances",type:S.bidirectionalSizes,triggersBounds:z.any},{name:"segment-weights",type:S.numbers,triggersBounds:z.any},{name:"taxi-turn",type:S.bidirectionalSizeMaybePercent,triggersBounds:z.any},{name:"taxi-turn-min-distance",type:S.size,triggersBounds:z.any},{name:"taxi-direction",type:S.axisDirection,triggersBounds:z.any},{name:"edge-distances",type:S.edgeDistances,triggersBounds:z.any},{name:"arrow-scale",type:S.positiveNumber,triggersBounds:z.any},{name:"loop-direction",type:S.angle,triggersBounds:z.any},{name:"loop-sweep",type:S.angle,triggersBounds:z.any},{name:"source-distance-from-node",type:S.size,triggersBounds:z.any},{name:"target-distance-from-node",type:S.size,triggersBounds:z.any}],be=[{name:"ghost",type:S.bool,triggersBounds:z.any},{name:"ghost-offset-x",type:S.bidirectionalSize,triggersBounds:z.any},{name:"ghost-offset-y",type:S.bidirectionalSize,triggersBounds:z.any},{name:"ghost-opacity",type:S.zeroOneNumber}],we=[{name:"selection-box-color",type:S.color},{name:"selection-box-opacity",type:S.zeroOneNumber},{name:"selection-box-border-color",type:S.color},{name:"selection-box-border-width",type:S.size},{name:"active-bg-color",type:S.color},{name:"active-bg-opacity",type:S.zeroOneNumber},{name:"active-bg-size",type:S.size},{name:"outside-texture-bg-color",type:S.color},{name:"outside-texture-bg-opacity",type:S.zeroOneNumber}],ae=[];Gf.pieBackgroundN=16,ae.push({name:"pie-size",type:S.sizeMaybePercent});for(var Ne=1;Ne<=Gf.pieBackgroundN;Ne++)ae.push({name:"pie-"+Ne+"-background-color",type:S.color}),ae.push({name:"pie-"+Ne+"-background-size",type:S.percent}),ae.push({name:"pie-"+Ne+"-background-opacity",type:S.zeroOneNumber});var me=[],gn=Gf.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:S.arrowShape,triggersBounds:z.any},{name:"arrow-color",type:S.color},{name:"arrow-fill",type:S.arrowFill}].forEach(function(bn){gn.forEach(function(Sr){var Er=Sr+"-"+bn.name,fi=bn.type,Ii=bn.triggersBounds;me.push({name:Er,type:fi,triggersBounds:Ii})})},{});var ze=Gf.properties=[].concat(ft,It,Lt,kt,Dt,be,lt,at,V,U,tt,te,Yt,Ht,ae,ie,Wt,me,we),Ge=Gf.propertyGroups={behavior:ft,transition:It,visibility:Lt,overlay:kt,underlay:Dt,ghost:be,commonLabel:lt,labelDimensions:at,mainLabel:V,sourceLabel:U,targetLabel:tt,nodeBody:te,nodeBorder:Yt,backgroundImage:Ht,pie:ae,compound:ie,edgeLine:Wt,edgeArrow:me,core:we},xn=Gf.propertyGroupNames={},On=Gf.propertyGroupKeys=Object.keys(Ge);On.forEach(function(bn){xn[bn]=Ge[bn].map(function(Sr){return Sr.name}),Ge[bn].forEach(function(Sr){return Sr.groupKey=bn})});var nr=Gf.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];Gf.propertyNames=ze.map(function(bn){return bn.name});for(var Sn=0;Sn<ze.length;Sn++){var er=ze[Sn];ze[er.name]=er}for(var fr=0;fr<nr.length;fr++){var Mr=nr[fr],yr=ze[Mr.pointsTo],lr={name:Mr.name,alias:!0,pointsTo:yr};ze.push(lr),ze[Mr.name]=lr}})(),Gf.getDefaultProperty=function(y){return this.getDefaultProperties()[y]},Gf.getDefaultProperties=function(){var y=this._private;if(y.defaultProperties!=null)return y.defaultProperties;for(var g=Pe({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(z,S){for(var V=1;V<=Gf.pieBackgroundN;V++){var U=S.name.replace("{{i}}",V),tt=S.value;z[U]=tt}return z},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function(z,S){return Gf.arrowPrefixes.forEach(function(V){var U=V+"-"+S.name,tt=S.value;z[U]=tt}),z},{})),x={},T=0;T<this.properties.length;T++){var L=this.properties[T];if(!L.pointsTo){var I=L.name,O=g[I],$=this.parse(I,O);x[I]=$}}return y.defaultProperties=x,y.defaultProperties},Gf.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var lT={};lT.parse=function(y,g,x,T){var L=this;if(yt(g))return L.parseImplWarn(y,g,x,T);var I=T==="mapping"||T===!0||T===!1||T==null?"dontcare":T,O=x?"t":"f",$=""+g,z=$5(y,$,O,I),S=L.propCache=L.propCache||[],V;return(V=S[z])||(V=S[z]=L.parseImplWarn(y,g,x,T)),(x||T==="mapping")&&(V=oh(V),V&&(V.value=oh(V.value))),V},lT.parseImplWarn=function(y,g,x,T){var L=this.parseImpl(y,g,x,T);return!L&&g!=null&&Ko("The style property `".concat(y,": ").concat(g,"` is invalid")),L&&(L.name==="width"||L.name==="height")&&g==="label"&&Ko("The style value of `label` is deprecated for `"+L.name+"`"),L},lT.parseImpl=function(y,g,x,T){var L=this;y=Ve(y);var I=L.properties[y],O=g,$=L.types;if(!I||g===void 0)return null;I.alias&&(I=I.pointsTo,y=I.name);var z=Tt(g);z&&(g=g.trim());var S=I.type;if(!S)return null;if(x&&(g===""||g===null))return{name:y,value:g,bypass:!0,deleteBypass:!0};if(yt(g))return{name:y,value:g,strValue:"fn",mapped:$.fn,bypass:x};var V,U;if(!(!z||T||g.length<7||g[1]!=="a")){if(g.length>=7&&g[0]==="d"&&(V=new RegExp($.data.regex).exec(g))){if(x)return!1;var tt=$.data;return{name:y,value:V,strValue:""+g,mapped:tt,field:V[1],bypass:x}}else if(g.length>=10&&g[0]==="m"&&(U=new RegExp($.mapData.regex).exec(g))){if(x||S.multiple)return!1;var at=$.mapData;if(!(S.color||S.number))return!1;var lt=this.parse(y,U[4]);if(!lt||lt.mapped)return!1;var ft=this.parse(y,U[5]);if(!ft||ft.mapped)return!1;if(lt.pfValue===ft.pfValue||lt.strValue===ft.strValue)return Ko("`"+y+": "+g+"` is not a valid mapper because the output range is zero; converting to `"+y+": "+lt.strValue+"`"),this.parse(y,lt.strValue);if(S.color){var Lt=lt.value,kt=ft.value,Dt=Lt[0]===kt[0]&&Lt[1]===kt[1]&&Lt[2]===kt[2]&&(Lt[3]===kt[3]||(Lt[3]==null||Lt[3]===1)&&(kt[3]==null||kt[3]===1));if(Dt)return!1}return{name:y,value:U,strValue:""+g,mapped:at,field:U[1],fieldMin:parseFloat(U[2]),fieldMax:parseFloat(U[3]),valueMin:lt.value,valueMax:ft.value,bypass:x}}}if(S.multiple&&T!=="multiple"){var It;if(z?It=g.split(/\s+/):vt(g)?It=g:It=[g],S.evenMultiple&&It.length%2!==0)return null;for(var qt=[],te=[],Yt=[],Ht="",ie=!1,Wt=0;Wt<It.length;Wt++){var be=L.parse(y,It[Wt],x,"multiple");ie=ie||Tt(be.value),qt.push(be.value),Yt.push(be.pfValue!=null?be.pfValue:be.value),te.push(be.units),Ht+=(Wt>0?" ":"")+be.strValue}return S.validate&&!S.validate(qt,te)?null:S.singleEnum&&ie?qt.length===1&&Tt(qt[0])?{name:y,value:qt[0],strValue:qt[0],bypass:x}:null:{name:y,value:qt,pfValue:Yt,strValue:Ht,bypass:x,units:te}}var we=function(){for(var Er=0;Er<S.enums.length;Er++){var fi=S.enums[Er];if(fi===g)return{name:y,value:g,strValue:""+g,bypass:x}}return null};if(S.number){var ae,Ne="px";if(S.units&&(ae=S.units),S.implicitUnits&&(Ne=S.implicitUnits),!S.unitless)if(z){var me="px|em"+(S.allowPercent?"|\\%":"");ae&&(me=ae);var gn=g.match("^("+Se+")("+me+")?$");gn&&(g=gn[1],ae=gn[2]||Ne)}else(!ae||S.implicitUnits)&&(ae=Ne);if(g=parseFloat(g),isNaN(g)&&S.enums===void 0)return null;if(isNaN(g)&&S.enums!==void 0)return g=O,we();if(S.integer&&!Et(g)||S.min!==void 0&&(g<S.min||S.strictMin&&g===S.min)||S.max!==void 0&&(g>S.max||S.strictMax&&g===S.max))return null;var ze={name:y,value:g,strValue:""+g+(ae||""),units:ae,bypass:x};return S.unitless||ae!=="px"&&ae!=="em"?ze.pfValue=g:ze.pfValue=ae==="px"||!ae?g:this.getEmSizeInPixels()*g,(ae==="ms"||ae==="s")&&(ze.pfValue=ae==="ms"?g:1e3*g),(ae==="deg"||ae==="rad")&&(ze.pfValue=ae==="rad"?g:xY(g)),ae==="%"&&(ze.pfValue=g/100),ze}else if(S.propList){var Ge=[],xn=""+g;if(xn!=="none"){for(var On=xn.split(/\s*,\s*|\s+/),nr=0;nr<On.length;nr++){var Sn=On[nr].trim();L.properties[Sn]?Ge.push(Sn):Ko("`"+Sn+"` is not a valid property name")}if(Ge.length===0)return null}return{name:y,value:Ge,strValue:Ge.length===0?"none":Ge.join(" "),bypass:x}}else if(S.color){var er=le(g);return er?{name:y,value:er,pfValue:er,strValue:"rgb("+er[0]+","+er[1]+","+er[2]+")",bypass:x}:null}else if(S.regex||S.regexes){if(S.enums){var fr=we();if(fr)return fr}for(var Mr=S.regexes?S.regexes:[S.regex],yr=0;yr<Mr.length;yr++){var lr=new RegExp(Mr[yr]),bn=lr.exec(g);if(bn)return{name:y,value:S.singleRegexMatchValue?bn[1]:bn,strValue:""+g,bypass:x}}return null}else return S.string?{name:y,value:""+g,strValue:""+g,bypass:x}:S.enums?we():null};var x1=function y(g){if(!(this instanceof y))return new y(g);if(!Nt(g)){Ec("A style must have a core reference");return}this._private={cy:g,coreStyle:{}},this.length=0,this.resetToDefault()},k1=x1.prototype;k1.instanceString=function(){return"style"},k1.clear=function(){for(var y=this._private,g=y.cy,x=g.elements(),T=0;T<this.length;T++)this[T]=void 0;return this.length=0,y.contextStyles={},y.propDiffs={},this.cleanElements(x,!0),x.forEach(function(L){var I=L[0]._private;I.styleDirty=!0,I.appliedInitStyle=!1}),this},k1.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},k1.core=function(y){return this._private.coreStyle[y]||this.getDefaultProperty(y)},k1.selector=function(y){var g=y==="core"?null:new ym(y),x=this.length++;return this[x]={selector:g,properties:[],mappedProperties:[],index:x},this},k1.css=function(){var y=this,g=arguments;if(g.length===1)for(var x=g[0],T=0;T<y.properties.length;T++){var L=y.properties[T],I=x[L.name];I===void 0&&(I=x[Cn(L.name)]),I!==void 0&&this.cssRule(L.name,I)}else g.length===2&&this.cssRule(g[0],g[1]);return this},k1.style=k1.css,k1.cssRule=function(y,g){var x=this.parse(y,g);if(x){var T=this.length-1;this[T].properties.push(x),this[T].properties[x.name]=x,x.name.match(/pie-(\d+)-background-size/)&&x.value&&(this._private.hasPie=!0),x.mapped&&this[T].mappedProperties.push(x);var L=!this[T].selector;L&&(this._private.coreStyle[x.name]=x)}return this},k1.append=function(y){return dt(y)?y.appendToStyle(this):vt(y)?this.appendFromJson(y):Tt(y)&&this.appendFromString(y),this},x1.fromJson=function(y,g){var x=new x1(y);return x.fromJson(g),x},x1.fromString=function(y,g){return new x1(y).fromString(g)},[y1,Nk,UL,G2,uT,WL,Gf,lT].forEach(function(y){Pe(k1,y)}),x1.types=k1.types,x1.properties=k1.properties,x1.propertyGroups=k1.propertyGroups,x1.propertyGroupNames=k1.propertyGroupNames,x1.propertyGroupKeys=k1.propertyGroupKeys;var SJ={style:function(g){if(g){var x=this.setStyle(g);x.update()}return this._private.style},setStyle:function(g){var x=this._private;return dt(g)?x.style=g.generateStyle(this):vt(g)?x.style=x1.fromJson(this,g):Tt(g)?x.style=x1.fromString(this,g):x.style=x1(this),x.style},updateStyle:function(){this.mutableElements().updateStyle()}},AJ="single",L3={autolock:function(g){if(g!==void 0)this._private.autolock=!!g;else return this._private.autolock;return this},autoungrabify:function(g){if(g!==void 0)this._private.autoungrabify=!!g;else return this._private.autoungrabify;return this},autounselectify:function(g){if(g!==void 0)this._private.autounselectify=!!g;else return this._private.autounselectify;return this},selectionType:function(g){var x=this._private;if(x.selectionType==null&&(x.selectionType=AJ),g!==void 0)(g==="additive"||g==="single")&&(x.selectionType=g);else return x.selectionType;return this},panningEnabled:function(g){if(g!==void 0)this._private.panningEnabled=!!g;else return this._private.panningEnabled;return this},userPanningEnabled:function(g){if(g!==void 0)this._private.userPanningEnabled=!!g;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(g){if(g!==void 0)this._private.zoomingEnabled=!!g;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(g){if(g!==void 0)this._private.userZoomingEnabled=!!g;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(g){if(g!==void 0)this._private.boxSelectionEnabled=!!g;else return this._private.boxSelectionEnabled;return this},pan:function(){var g=arguments,x=this._private.pan,T,L,I,O,$;switch(g.length){case 0:return x;case 1:if(Tt(g[0]))return T=g[0],x[T];if(ut(g[0])){if(!this._private.panningEnabled)return this;I=g[0],O=I.x,$=I.y,st(O)&&(x.x=O),st($)&&(x.y=$),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;T=g[0],L=g[1],(T==="x"||T==="y")&&st(L)&&(x[T]=L),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(g,x){var T=arguments,L=this._private.pan,I,O,$,z,S;if(!this._private.panningEnabled)return this;switch(T.length){case 1:ut(g)&&($=T[0],z=$.x,S=$.y,st(z)&&(L.x+=z),st(S)&&(L.y+=S),this.emit("pan viewport"));break;case 2:I=g,O=x,(I==="x"||I==="y")&&st(O)&&(L[I]+=O),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(g,x){var T=this.getFitViewport(g,x);if(T){var L=this._private;L.zoom=T.zoom,L.pan=T.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(g,x){if(st(g)&&x===void 0&&(x=g,g=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var T;if(Tt(g)){var L=g;g=this.$(L)}else if(Rt(g)){var I=g;T={x1:I.x1,y1:I.y1,x2:I.x2,y2:I.y2},T.w=T.x2-T.x1,T.h=T.y2-T.y1}else pt(g)||(g=this.mutableElements());if(!(pt(g)&&g.empty())){T=T||g.boundingBox();var O=this.width(),$=this.height(),z;if(x=st(x)?x:0,!isNaN(O)&&!isNaN($)&&O>0&&$>0&&!isNaN(T.w)&&!isNaN(T.h)&&T.w>0&&T.h>0){z=Math.min((O-2*x)/T.w,($-2*x)/T.h),z=z>this._private.maxZoom?this._private.maxZoom:z,z=z<this._private.minZoom?this._private.minZoom:z;var S={x:(O-z*(T.x1+T.x2))/2,y:($-z*(T.y1+T.y2))/2};return{zoom:z,pan:S}}}}},zoomRange:function(g,x){var T=this._private;if(x==null){var L=g;g=L.min,x=L.max}return st(g)&&st(x)&&g<=x?(T.minZoom=g,T.maxZoom=x):st(g)&&x===void 0&&g<=T.maxZoom?T.minZoom=g:st(x)&&g===void 0&&x>=T.minZoom&&(T.maxZoom=x),this},minZoom:function(g){return g===void 0?this._private.minZoom:this.zoomRange({min:g})},maxZoom:function(g){return g===void 0?this._private.maxZoom:this.zoomRange({max:g})},getZoomedViewport:function(g){var x=this._private,T=x.pan,L=x.zoom,I,O,$=!1;if(x.zoomingEnabled||($=!0),st(g)?O=g:ut(g)&&(O=g.level,g.position!=null?I=OE(g.position,L,T):g.renderedPosition!=null&&(I=g.renderedPosition),I!=null&&!x.panningEnabled&&($=!0)),O=O>x.maxZoom?x.maxZoom:O,O=O<x.minZoom?x.minZoom:O,$||!st(O)||O===L||I!=null&&(!st(I.x)||!st(I.y)))return null;if(I!=null){var z=T,S=L,V=O,U={x:-V/S*(I.x-z.x)+I.x,y:-V/S*(I.y-z.y)+I.y};return{zoomed:!0,panned:!0,zoom:V,pan:U}}else return{zoomed:!0,panned:!1,zoom:O,pan:T}},zoom:function(g){if(g===void 0)return this._private.zoom;var x=this.getZoomedViewport(g),T=this._private;return x==null||!x.zoomed?this:(T.zoom=x.zoom,x.panned&&(T.pan.x=x.pan.x,T.pan.y=x.pan.y),this.emit("zoom"+(x.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(g){var x=this._private,T=!0,L=!0,I=[],O=!1,$=!1;if(!g)return this;if(st(g.zoom)||(T=!1),ut(g.pan)||(L=!1),!T&&!L)return this;if(T){var z=g.zoom;z<x.minZoom||z>x.maxZoom||!x.zoomingEnabled?O=!0:(x.zoom=z,I.push("zoom"))}if(L&&(!O||!g.cancelOnFailedZoom)&&x.panningEnabled){var S=g.pan;st(S.x)&&(x.pan.x=S.x,$=!1),st(S.y)&&(x.pan.y=S.y,$=!1),$||I.push("pan")}return I.length>0&&(I.push("viewport"),this.emit(I.join(" ")),this.notify("viewport")),this},center:function(g){var x=this.getCenterPan(g);return x&&(this._private.pan=x,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(g,x){if(this._private.panningEnabled){if(Tt(g)){var T=g;g=this.mutableElements().filter(T)}else pt(g)||(g=this.mutableElements());if(g.length!==0){var L=g.boundingBox(),I=this.width(),O=this.height();x=x===void 0?this._private.zoom:x;var $={x:(I-x*(L.x1+L.x2))/2,y:(O-x*(L.y1+L.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 g=this._private,x=g.container;return g.sizeCache=g.sizeCache||(x?function(){var T=R.getComputedStyle(x),L=function(O){return parseFloat(T.getPropertyValue(O))};return{width:x.clientWidth-L("padding-left")-L("padding-right"),height:x.clientHeight-L("padding-top")-L("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var g=this._private.pan,x=this._private.zoom,T=this.renderedExtent(),L={x1:(T.x1-g.x)/x,x2:(T.x2-g.x)/x,y1:(T.y1-g.y)/x,y2:(T.y2-g.y)/x};return L.w=L.x2-L.x1,L.h=L.y2-L.y1,L},renderedExtent:function(){var g=this.width(),x=this.height();return{x1:0,y1:0,x2:g,y2:x,w:g,h:x}},multiClickDebounceTime:function(g){if(g)this._private.multiClickDebounceTime=g;else return this._private.multiClickDebounceTime;return this}};L3.centre=L3.center,L3.autolockNodes=L3.autolock,L3.autoungrabifyNodes=L3.autoungrabify;var Fk={data:jc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:jc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:jc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:jc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Fk.attr=Fk.data,Fk.removeAttr=Fk.removeData;var Bk=function(g){var x=this;g=Pe({},g);var T=g.container;T&&!gt(T)&&gt(T[0])&&(T=T[0]);var L=T?T._cyreg:null;L=L||{},L&&L.cy&&(L.cy.destroy(),L={});var I=L.readies=L.readies||[];T&&(T._cyreg=L),L.cy=x;var O=R!==void 0&&T!==void 0&&!g.headless,$=g;$.layout=Pe({name:O?"grid":"null"},$.layout),$.renderer=Pe({name:O?"canvas":"null"},$.renderer);var z=function(lt,ft,Lt){return ft!==void 0?ft:Lt!==void 0?Lt:lt},S=this._private={container:T,ready:!1,options:$,elements:new Vf(this),listeners:[],aniEles:new Vf(this),data:$.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:z(!0,$.zoomingEnabled),userZoomingEnabled:z(!0,$.userZoomingEnabled),panningEnabled:z(!0,$.panningEnabled),userPanningEnabled:z(!0,$.userPanningEnabled),boxSelectionEnabled:z(!0,$.boxSelectionEnabled),autolock:z(!1,$.autolock,$.autolockNodes),autoungrabify:z(!1,$.autoungrabify,$.autoungrabifyNodes),autounselectify:z(!1,$.autounselectify),styleEnabled:$.styleEnabled===void 0?O:$.styleEnabled,zoom:st($.zoom)?$.zoom:1,pan:{x:ut($.pan)&&st($.pan.x)?$.pan.x:0,y:ut($.pan)&&st($.pan.y)?$.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:z(250,$.multiClickDebounceTime)};this.createEmitter(),this.selectionType($.selectionType),this.zoomRange({min:$.minZoom,max:$.maxZoom});var V=function(lt,ft){var Lt=lt.some(mt);if(Lt)return Y5.all(lt).then(ft);ft(lt)};S.styleEnabled&&x.setStyle([]);var U=Pe({},$,$.renderer);x.initRenderer(U);var tt=function(lt,ft,Lt){x.notifications(!1);var kt=x.mutableElements();kt.length>0&&kt.remove(),lt!=null&&(ut(lt)||vt(lt))&&x.add(lt),x.one("layoutready",function(It){x.notifications(!0),x.emit(It),x.one("load",ft),x.emitAndNotify("load")}).one("layoutstop",function(){x.one("done",Lt),x.emit("done")});var Dt=Pe({},x._private.options.layout);Dt.eles=x.elements(),x.layout(Dt).run()};V([$.style,$.elements],function(at){var lt=at[0],ft=at[1];S.styleEnabled&&x.style().append(lt),tt(ft,function(){x.startAnimationLoop(),S.ready=!0,yt($.ready)&&x.on("ready",$.ready);for(var Lt=0;Lt<I.length;Lt++){var kt=I[Lt];x.on("ready",kt)}L&&(L.readies=[]),x.emit("ready")},$.done)})},hT=Bk.prototype;Pe(hT,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(g){return this.isReady()?this.emitter().emit("ready",[],g):this.on("ready",g),this},destroy:function(){var g=this;if(!g.destroyed())return g.stopAnimationLoop(),g.destroyRenderer(),this.emit("destroy"),g._private.destroyed=!0,g},hasElementWithId:function(g){return this._private.elements.hasElementWithId(g)},getElementById:function(g){return this._private.elements.getElementById(g)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(g){return this._private.elements.merge(g),this},removeFromPool:function(g){return this._private.elements.unmerge(g),this},container:function(){return this._private.container||null},mount:function(g){if(g!=null){var x=this,T=x._private,L=T.options;return!gt(g)&&gt(g[0])&&(g=g[0]),x.stopAnimationLoop(),x.destroyRenderer(),T.container=g,T.styleEnabled=!0,x.invalidateSize(),x.initRenderer(Pe({},L,L.renderer,{name:L.renderer.name==="null"?"canvas":L.renderer.name})),x.startAnimationLoop(),x.style(L.style),x.emit("mount"),x}},unmount:function(){var g=this;return g.stopAnimationLoop(),g.destroyRenderer(),g.initRenderer({name:"null"}),g.emit("unmount"),g},options:function(){return oh(this._private.options)},json:function(g){var x=this,T=x._private,L=x.mutableElements(),I=function(qt){return x.getElementById(qt.id())};if(ut(g)){if(x.startBatch(),g.elements){var O={},$=function(qt,te){for(var Yt=[],Ht=[],ie=0;ie<qt.length;ie++){var Wt=qt[ie];if(!Wt.data.id){Ko("cy.json() cannot handle elements without an ID attribute");continue}var be=""+Wt.data.id,we=x.getElementById(be);O[be]=!0,we.length!==0?Ht.push({ele:we,json:Wt}):(te&&(Wt.group=te),Yt.push(Wt))}x.add(Yt);for(var ae=0;ae<Ht.length;ae++){var Ne=Ht[ae],me=Ne.ele,gn=Ne.json;me.json(gn)}};if(vt(g.elements))$(g.elements);else for(var z=["nodes","edges"],S=0;S<z.length;S++){var V=z[S],U=g.elements[V];vt(U)&&$(U,V)}var tt=x.collection();L.filter(function(It){return!O[It.id()]}).forEach(function(It){It.isParent()?tt.merge(It):It.remove()}),tt.forEach(function(It){return It.children().move({parent:null})}),tt.forEach(function(It){return I(It).remove()})}g.style&&x.style(g.style),g.zoom!=null&&g.zoom!==T.zoom&&x.zoom(g.zoom),g.pan&&(g.pan.x!==T.pan.x||g.pan.y!==T.pan.y)&&x.pan(g.pan),g.data&&x.data(g.data);for(var at=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],lt=0;lt<at.length;lt++){var ft=at[lt];g[ft]!=null&&x[ft](g[ft])}return x.endBatch(),this}else{var Lt=!!g,kt={};Lt?kt.elements=this.elements().map(function(It){return It.json()}):(kt.elements={},L.forEach(function(It){var qt=It.group();kt.elements[qt]||(kt.elements[qt]=[]),kt.elements[qt].push(It.json())})),this._private.styleEnabled&&(kt.style=x.style().json()),kt.data=oh(x.data());var Dt=T.options;return kt.zoomingEnabled=T.zoomingEnabled,kt.userZoomingEnabled=T.userZoomingEnabled,kt.zoom=T.zoom,kt.minZoom=T.minZoom,kt.maxZoom=T.maxZoom,kt.panningEnabled=T.panningEnabled,kt.userPanningEnabled=T.userPanningEnabled,kt.pan=oh(T.pan),kt.boxSelectionEnabled=T.boxSelectionEnabled,kt.renderer=oh(Dt.renderer),kt.hideEdgesOnViewport=Dt.hideEdgesOnViewport,kt.textureOnViewport=Dt.textureOnViewport,kt.wheelSensitivity=Dt.wheelSensitivity,kt.motionBlur=Dt.motionBlur,kt.multiClickDebounceTime=Dt.multiClickDebounceTime,kt}}}),hT.$id=hT.getElementById,[vJ,kJ,LB,VL,oT,TJ,GL,cT,SJ,L3,Fk].forEach(function(y){Pe(hT,y)});var LJ={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}},o6=function(g){return g.scratch("breadthfirst")},KL=function(g,x){return g.scratch("breadthfirst",x)};function MB(y){this.options=Pe({},LJ,y)}MB.prototype.run=function(){var y=this.options,g=y,x=y.cy,T=g.eles,L=T.nodes().filter(function(Fi){return!Fi.isParent()}),I=T,O=g.directed,$=g.maximal||g.maximalAdjustments>0,z=qd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),S;if(pt(g.roots))S=g.roots;else if(vt(g.roots)){for(var V=[],U=0;U<g.roots.length;U++){var tt=g.roots[U],at=x.getElementById(tt);V.push(at)}S=x.collection(V)}else if(Tt(g.roots))S=x.$(g.roots);else if(O)S=L.roots();else{var lt=T.components();S=x.collection();for(var ft=function(_i){var Ms=lt[_i],ts=Ms.maxDegree(!1),Ri=Ms.filter(function(ss){return ss.degree(!1)===ts});S=S.add(Ri)},Lt=0;Lt<lt.length;Lt++)ft(Lt)}var kt=[],Dt={},It=function(_i,Ms){kt[Ms]==null&&(kt[Ms]=[]);var ts=kt[Ms].length;kt[Ms].push(_i),KL(_i,{index:ts,depth:Ms})},qt=function(_i,Ms){var ts=o6(_i),Ri=ts.depth,ss=ts.index;kt[Ri][ss]=null,It(_i,Ms)};I.bfs({roots:S,directed:g.directed,visit:function(_i,Ms,ts,Ri,ss){var ro=_i[0],ca=ro.id();It(ro,ss),Dt[ca]=!0}});for(var te=[],Yt=0;Yt<L.length;Yt++){var Ht=L[Yt];Dt[Ht.id()]||te.push(Ht)}var ie=function(_i){for(var Ms=kt[_i],ts=0;ts<Ms.length;ts++){var Ri=Ms[ts];if(Ri==null){Ms.splice(ts,1),ts--;continue}KL(Ri,{depth:_i,index:ts})}},Wt=function(){for(var _i=0;_i<kt.length;_i++)ie(_i)},be=function(_i,Ms){for(var ts=o6(_i),Ri=_i.incomers().filter(function(Jt){return Jt.isNode()&&T.has(Jt)}),ss=-1,ro=_i.id(),ca=0;ca<Ri.length;ca++){var ea=Ri[ca],Nr=o6(ea);ss=Math.max(ss,Nr.depth)}return ts.depth<=ss?Ms[ro]?null:(qt(_i,ss+1),Ms[ro]=!0,!0):!1};if(O&&$){var we=[],ae={},Ne=function(_i){return we.push(_i)},me=function(){return we.shift()};for(L.forEach(function(Fi){return we.push(Fi)});we.length>0;){var gn=me(),ze=be(gn,ae);if(ze)gn.outgoers().filter(function(Fi){return Fi.isNode()&&T.has(Fi)}).forEach(Ne);else if(ze===null){Ko("Detected double maximal shift for node `"+gn.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}Wt();var Ge=0;if(g.avoidOverlap)for(var xn=0;xn<L.length;xn++){var On=L[xn],nr=On.layoutDimensions(g),Sn=nr.w,er=nr.h;Ge=Math.max(Ge,Sn,er)}var fr={},Mr=function(_i){if(fr[_i.id()])return fr[_i.id()];for(var Ms=o6(_i).depth,ts=_i.neighborhood(),Ri=0,ss=0,ro=0;ro<ts.length;ro++){var ca=ts[ro];if(!(ca.isEdge()||ca.isParent()||!L.has(ca))){var ea=o6(ca);if(ea!=null){var Nr=ea.index,Jt=ea.depth;if(!(Nr==null||Jt==null)){var qn=kt[Jt].length;Jt<Ms&&(Ri+=Nr/qn,ss++)}}}}return ss=Math.max(1,ss),Ri=Ri/ss,ss===0&&(Ri=0),fr[_i.id()]=Ri,Ri},yr=function(_i,Ms){var ts=Mr(_i),Ri=Mr(Ms),ss=ts-Ri;return ss===0?Re(_i.id(),Ms.id()):ss};g.depthSort!==void 0&&(yr=g.depthSort);for(var lr=0;lr<kt.length;lr++)kt[lr].sort(yr),ie(lr);for(var bn=[],Sr=0;Sr<te.length;Sr++)bn.push(te[Sr]);kt.unshift(bn),Wt();for(var Er=0,fi=0;fi<kt.length;fi++)Er=Math.max(kt[fi].length,Er);var Ii={x:z.x1+z.w/2,y:z.x1+z.h/2},oa=kt.reduce(function(Fi,_i){return Math.max(Fi,_i.length)},0),Ra=function(_i){var Ms=o6(_i),ts=Ms.depth,Ri=Ms.index,ss=kt[ts].length,ro=Math.max(z.w/((g.grid?oa:ss)+1),Ge),ca=Math.max(z.h/(kt.length+1),Ge),ea=Math.min(z.w/2/kt.length,z.h/2/kt.length);if(ea=Math.max(ea,Ge),g.circle){var Jt=ea*ts+ea-(kt.length>0&&kt[0].length<=3?ea/2:0),qn=2*Math.PI/kt[ts].length*Ri;return ts===0&&kt[0].length===1&&(Jt=1),{x:Ii.x+Jt*Math.cos(qn),y:Ii.y+Jt*Math.sin(qn)}}else{var Nr={x:Ii.x+(Ri+1-(ss+1)/2)*ro,y:(ts+1)*ca};return Nr}};return T.nodes().layoutPositions(this,g,Ra),this};var MJ={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(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}};function fT(y){this.options=Pe({},MJ,y)}fT.prototype.run=function(){var y=this.options,g=y,x=y.cy,T=g.eles,L=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,I=T.nodes().not(":parent");g.sort&&(I=I.sort(g.sort));for(var O=qd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),$={x:O.x1+O.w/2,y:O.y1+O.h/2},z=g.sweep===void 0?2*Math.PI-2*Math.PI/I.length:g.sweep,S=z/Math.max(1,I.length-1),V,U=0,tt=0;tt<I.length;tt++){var at=I[tt],lt=at.layoutDimensions(g),ft=lt.w,Lt=lt.h;U=Math.max(U,ft,Lt)}if(st(g.radius)?V=g.radius:I.length<=1?V=0:V=Math.min(O.h,O.w)/2-U,I.length>1&&g.avoidOverlap){U*=1.75;var kt=Math.cos(S)-Math.cos(0),Dt=Math.sin(S)-Math.sin(0),It=Math.sqrt(U*U/(kt*kt+Dt*Dt));V=Math.max(It,V)}var qt=function(Yt,Ht){var ie=g.startAngle+Ht*S*(L?1:-1),Wt=V*Math.cos(ie),be=V*Math.sin(ie),we={x:$.x+Wt,y:$.y+be};return we};return T.nodes().layoutPositions(this,g,qt),this};var DJ={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(g){return g.degree()},levelWidth:function(g){return g.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}};function DB(y){this.options=Pe({},DJ,y)}DB.prototype.run=function(){for(var y=this.options,g=y,x=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,T=y.cy,L=g.eles,I=L.nodes().not(":parent"),O=qd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:T.width(),h:T.height()}),$={x:O.x1+O.w/2,y:O.y1+O.h/2},z=[],S=0,V=0;V<I.length;V++){var U=I[V],tt=void 0;tt=g.concentric(U),z.push({value:tt,node:U}),U._private.scratch.concentric=tt}I.updateStyle();for(var at=0;at<I.length;at++){var lt=I[at],ft=lt.layoutDimensions(g);S=Math.max(S,ft.w,ft.h)}z.sort(function(Fi,_i){return _i.value-Fi.value});for(var Lt=g.levelWidth(I),kt=[[]],Dt=kt[0],It=0;It<z.length;It++){var qt=z[It];if(Dt.length>0){var te=Math.abs(Dt[0].value-qt.value);te>=Lt&&(Dt=[],kt.push(Dt))}Dt.push(qt)}var Yt=S+g.minNodeSpacing;if(!g.avoidOverlap){var Ht=kt.length>0&&kt[0].length>1,ie=Math.min(O.w,O.h)/2-Yt,Wt=ie/(kt.length+Ht?1:0);Yt=Math.min(Yt,Wt)}for(var be=0,we=0;we<kt.length;we++){var ae=kt[we],Ne=g.sweep===void 0?2*Math.PI-2*Math.PI/ae.length:g.sweep,me=ae.dTheta=Ne/Math.max(1,ae.length-1);if(ae.length>1&&g.avoidOverlap){var gn=Math.cos(me)-Math.cos(0),ze=Math.sin(me)-Math.sin(0),Ge=Math.sqrt(Yt*Yt/(gn*gn+ze*ze));be=Math.max(Ge,be)}ae.r=be,be+=Yt}if(g.equidistant){for(var xn=0,On=0,nr=0;nr<kt.length;nr++){var Sn=kt[nr],er=Sn.r-On;xn=Math.max(xn,er)}On=0;for(var fr=0;fr<kt.length;fr++){var Mr=kt[fr];fr===0&&(On=Mr.r),Mr.r=On,On+=xn}}for(var yr={},lr=0;lr<kt.length;lr++)for(var bn=kt[lr],Sr=bn.dTheta,Er=bn.r,fi=0;fi<bn.length;fi++){var Ii=bn[fi],oa=g.startAngle+(x?1:-1)*Sr*fi,Ra={x:$.x+Er*Math.cos(oa),y:$.y+Er*Math.sin(oa)};yr[Ii.node.id()]=Ra}return L.nodes().layoutPositions(this,g,function(Fi){var _i=Fi.id();return yr[_i]}),this};var YL,IJ={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(g,x){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(g){return 2048},nodeOverlap:4,idealEdgeLength:function(g){return 32},edgeElasticity:function(g){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function dT(y){this.options=Pe({},IJ,y),this.options.layout=this}dT.prototype.run=function(){var y=this.options,g=y.cy,x=this;x.stopped=!1,(y.animate===!0||y.animate===!1)&&x.emit({type:"layoutstart",layout:x}),y.debug===!0?YL=!0:YL=!1;var T=OJ(g,x,y);YL&&FJ(T),y.randomize&&BJ(T);var L=ki(),I=function(){RJ(T,g,y),y.fit===!0&&g.fit(y.padding)},O=function(tt){return!(x.stopped||tt>=y.numIter||(jJ(T,y),T.temperature=T.temperature*y.coolingFactor,T.temperature<y.minTemp))},$=function(){if(y.animate===!0||y.animate===!1)I(),x.one("layoutstop",y.stop),x.emit({type:"layoutstop",layout:x});else{var tt=y.eles.nodes(),at=IB(T,y,tt);tt.layoutPositions(x,y,at)}},z=0,S=!0;if(y.animate===!0){var V=function U(){for(var tt=0;S&&tt<y.refresh;)S=O(z),z++,tt++;if(!S)PB(T,y),$();else{var at=ki();at-L>=y.animationThreshold&&I(),Da(U)}};V()}else{for(;S;)S=O(z),z++;PB(T,y),$()}return this},dT.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},dT.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var OJ=function(g,x,T){for(var L=T.eles.edges(),I=T.eles.nodes(),O={isCompound:g.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:I.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:L.size(),temperature:T.initialTemp,clientWidth:g.width(),clientHeight:g.width(),boundingBox:qd(T.boundingBox?T.boundingBox:{x1:0,y1:0,w:g.width(),h:g.height()})},$=T.eles.components(),z={},S=0;S<$.length;S++)for(var V=$[S],U=0;U<V.length;U++){var tt=V[U];z[tt.id()]=S}for(var S=0;S<O.nodeSize;S++){var at=I[S],lt=at.layoutDimensions(T),ft={};ft.isLocked=at.locked(),ft.id=at.data("id"),ft.parentId=at.data("parent"),ft.cmptId=z[at.id()],ft.children=[],ft.positionX=at.position("x"),ft.positionY=at.position("y"),ft.offsetX=0,ft.offsetY=0,ft.height=lt.w,ft.width=lt.h,ft.maxX=ft.positionX+ft.width/2,ft.minX=ft.positionX-ft.width/2,ft.maxY=ft.positionY+ft.height/2,ft.minY=ft.positionY-ft.height/2,ft.padLeft=parseFloat(at.style("padding")),ft.padRight=parseFloat(at.style("padding")),ft.padTop=parseFloat(at.style("padding")),ft.padBottom=parseFloat(at.style("padding")),ft.nodeRepulsion=yt(T.nodeRepulsion)?T.nodeRepulsion(at):T.nodeRepulsion,O.layoutNodes.push(ft),O.idToIndex[ft.id]=S}for(var Lt=[],kt=0,Dt=-1,It=[],S=0;S<O.nodeSize;S++){var at=O.layoutNodes[S],qt=at.parentId;qt!=null?O.layoutNodes[O.idToIndex[qt]].children.push(at.id):(Lt[++Dt]=at.id,It.push(at.id))}for(O.graphSet.push(It);kt<=Dt;){var te=Lt[kt++],Yt=O.idToIndex[te],tt=O.layoutNodes[Yt],Ht=tt.children;if(Ht.length>0){O.graphSet.push(Ht);for(var S=0;S<Ht.length;S++)Lt[++Dt]=Ht[S]}}for(var S=0;S<O.graphSet.length;S++)for(var ie=O.graphSet[S],U=0;U<ie.length;U++){var Wt=O.idToIndex[ie[U]];O.indexToGraph[Wt]=S}for(var S=0;S<O.edgeSize;S++){var be=L[S],we={};we.id=be.data("id"),we.sourceId=be.data("source"),we.targetId=be.data("target");var ae=yt(T.idealEdgeLength)?T.idealEdgeLength(be):T.idealEdgeLength,Ne=yt(T.edgeElasticity)?T.edgeElasticity(be):T.edgeElasticity,me=O.idToIndex[we.sourceId],gn=O.idToIndex[we.targetId],ze=O.indexToGraph[me],Ge=O.indexToGraph[gn];if(ze!=Ge){for(var xn=PJ(we.sourceId,we.targetId,O),On=O.graphSet[xn],nr=0,ft=O.layoutNodes[me];On.indexOf(ft.id)===-1;)ft=O.layoutNodes[O.idToIndex[ft.parentId]],nr++;for(ft=O.layoutNodes[gn];On.indexOf(ft.id)===-1;)ft=O.layoutNodes[O.idToIndex[ft.parentId]],nr++;ae*=nr*T.nestingFactor}we.idealLength=ae,we.elasticity=Ne,O.layoutEdges.push(we)}return O},PJ=function(g,x,T){var L=NJ(g,x,0,T);return 2>L.count?0:L.graph},NJ=function y(g,x,T,L){var I=L.graphSet[T];if(-1<I.indexOf(g)&&-1<I.indexOf(x))return{count:2,graph:T};for(var O=0,$=0;$<I.length;$++){var z=I[$],S=L.idToIndex[z],V=L.layoutNodes[S].children;if(V.length!==0){var U=L.indexToGraph[L.idToIndex[V[0]]],tt=y(g,x,U,L);if(tt.count!==0)if(tt.count===1){if(O++,O===2)break}else return tt}}return{count:O,graph:T}},FJ,BJ=function(g,x){for(var T=g.clientWidth,L=g.clientHeight,I=0;I<g.nodeSize;I++){var O=g.layoutNodes[I];O.children.length===0&&!O.isLocked&&(O.positionX=Math.random()*T,O.positionY=Math.random()*L)}},IB=function(g,x,T){var L=g.boundingBox,I={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return x.boundingBox&&(T.forEach(function(O){var $=g.layoutNodes[g.idToIndex[O.data("id")]];I.x1=Math.min(I.x1,$.positionX),I.x2=Math.max(I.x2,$.positionX),I.y1=Math.min(I.y1,$.positionY),I.y2=Math.max(I.y2,$.positionY)}),I.w=I.x2-I.x1,I.h=I.y2-I.y1),function(O,$){var z=g.layoutNodes[g.idToIndex[O.data("id")]];if(x.boundingBox){var S=(z.positionX-I.x1)/I.w,V=(z.positionY-I.y1)/I.h;return{x:L.x1+S*L.w,y:L.y1+V*L.h}}else return{x:z.positionX,y:z.positionY}}},RJ=function(g,x,T){var L=T.layout,I=T.eles.nodes(),O=IB(g,T,I);I.positions(O),g.ready!==!0&&(g.ready=!0,L.one("layoutready",T.ready),L.emit({type:"layoutready",layout:this}))},jJ=function(g,x,T){$J(g,x),HJ(g),VJ(g,x),GJ(g),UJ(g)},$J=function(g,x){for(var T=0;T<g.graphSet.length;T++)for(var L=g.graphSet[T],I=L.length,O=0;O<I;O++)for(var $=g.layoutNodes[g.idToIndex[L[O]]],z=O+1;z<I;z++){var S=g.layoutNodes[g.idToIndex[L[z]]];zJ($,S,g,x)}},OB=function(g){return-g+2*g*Math.random()},zJ=function(g,x,T,L){var I=g.cmptId,O=x.cmptId;if(!(I!==O&&!T.isCompound)){var $=x.positionX-g.positionX,z=x.positionY-g.positionY,S=1;$===0&&z===0&&($=OB(S),z=OB(S));var V=qJ(g,x,$,z);if(V>0)var U=L.nodeOverlap*V,tt=Math.sqrt($*$+z*z),at=U*$/tt,lt=U*z/tt;else var ft=gT(g,$,z),Lt=gT(x,-1*$,-1*z),kt=Lt.x-ft.x,Dt=Lt.y-ft.y,It=kt*kt+Dt*Dt,tt=Math.sqrt(It),U=(g.nodeRepulsion+x.nodeRepulsion)/It,at=U*kt/tt,lt=U*Dt/tt;g.isLocked||(g.offsetX-=at,g.offsetY-=lt),x.isLocked||(x.offsetX+=at,x.offsetY+=lt)}},qJ=function(g,x,T,L){if(T>0)var I=g.maxX-x.minX;else var I=x.maxX-g.minX;if(L>0)var O=g.maxY-x.minY;else var O=x.maxY-g.minY;return I>=0&&O>=0?Math.sqrt(I*I+O*O):0},gT=function(g,x,T){var L=g.positionX,I=g.positionY,O=g.height||1,$=g.width||1,z=T/x,S=O/$,V={};return x===0&&0<T||x===0&&0>T?(V.x=L,V.y=I+O/2,V):0<x&&-1*S<=z&&z<=S?(V.x=L+$/2,V.y=I+$*T/2/x,V):0>x&&-1*S<=z&&z<=S?(V.x=L-$/2,V.y=I-$*T/2/x,V):0<T&&(z<=-1*S||z>=S)?(V.x=L+O*x/2/T,V.y=I+O/2,V):(0>T&&(z<=-1*S||z>=S)&&(V.x=L-O*x/2/T,V.y=I-O/2),V)},HJ=function(g,x){for(var T=0;T<g.edgeSize;T++){var L=g.layoutEdges[T],I=g.idToIndex[L.sourceId],O=g.layoutNodes[I],$=g.idToIndex[L.targetId],z=g.layoutNodes[$],S=z.positionX-O.positionX,V=z.positionY-O.positionY;if(!(S===0&&V===0)){var U=gT(O,S,V),tt=gT(z,-1*S,-1*V),at=tt.x-U.x,lt=tt.y-U.y,ft=Math.sqrt(at*at+lt*lt),Lt=Math.pow(L.idealLength-ft,2)/L.elasticity;if(ft!==0)var kt=Lt*at/ft,Dt=Lt*lt/ft;else var kt=0,Dt=0;O.isLocked||(O.offsetX+=kt,O.offsetY+=Dt),z.isLocked||(z.offsetX-=kt,z.offsetY-=Dt)}}},VJ=function(g,x){if(x.gravity!==0)for(var T=1,L=0;L<g.graphSet.length;L++){var I=g.graphSet[L],O=I.length;if(L===0)var $=g.clientHeight/2,z=g.clientWidth/2;else var S=g.layoutNodes[g.idToIndex[I[0]]],V=g.layoutNodes[g.idToIndex[S.parentId]],$=V.positionX,z=V.positionY;for(var U=0;U<O;U++){var tt=g.layoutNodes[g.idToIndex[I[U]]];if(!tt.isLocked){var at=$-tt.positionX,lt=z-tt.positionY,ft=Math.sqrt(at*at+lt*lt);if(ft>T){var Lt=x.gravity*at/ft,kt=x.gravity*lt/ft;tt.offsetX+=Lt,tt.offsetY+=kt}}}}},GJ=function(g,x){var T=[],L=0,I=-1;for(T.push.apply(T,g.graphSet[0]),I+=g.graphSet[0].length;L<=I;){var O=T[L++],$=g.idToIndex[O],z=g.layoutNodes[$],S=z.children;if(0<S.length&&!z.isLocked){for(var V=z.offsetX,U=z.offsetY,tt=0;tt<S.length;tt++){var at=g.layoutNodes[g.idToIndex[S[tt]]];at.offsetX+=V,at.offsetY+=U,T[++I]=S[tt]}z.offsetX=0,z.offsetY=0}}},UJ=function(g,x){for(var T=0;T<g.nodeSize;T++){var L=g.layoutNodes[T];0<L.children.length&&(L.maxX=void 0,L.minX=void 0,L.maxY=void 0,L.minY=void 0)}for(var T=0;T<g.nodeSize;T++){var L=g.layoutNodes[T];if(!(0<L.children.length||L.isLocked)){var I=WJ(L.offsetX,L.offsetY,g.temperature);L.positionX+=I.x,L.positionY+=I.y,L.offsetX=0,L.offsetY=0,L.minX=L.positionX-L.width,L.maxX=L.positionX+L.width,L.minY=L.positionY-L.height,L.maxY=L.positionY+L.height,KJ(L,g)}}for(var T=0;T<g.nodeSize;T++){var L=g.layoutNodes[T];0<L.children.length&&!L.isLocked&&(L.positionX=(L.maxX+L.minX)/2,L.positionY=(L.maxY+L.minY)/2,L.width=L.maxX-L.minX,L.height=L.maxY-L.minY)}},WJ=function(g,x,T){var L=Math.sqrt(g*g+x*x);if(L>T)var I={x:T*g/L,y:T*x/L};else var I={x:g,y:x};return I},KJ=function y(g,x){var T=g.parentId;if(T!=null){var L=x.layoutNodes[x.idToIndex[T]],I=!1;if((L.maxX==null||g.maxX+L.padRight>L.maxX)&&(L.maxX=g.maxX+L.padRight,I=!0),(L.minX==null||g.minX-L.padLeft<L.minX)&&(L.minX=g.minX-L.padLeft,I=!0),(L.maxY==null||g.maxY+L.padBottom>L.maxY)&&(L.maxY=g.maxY+L.padBottom,I=!0),(L.minY==null||g.minY-L.padTop<L.minY)&&(L.minY=g.minY-L.padTop,I=!0),I)return y(L,x)}},PB=function(g,x){for(var T=g.layoutNodes,L=[],I=0;I<T.length;I++){var O=T[I],$=O.cmptId,z=L[$]=L[$]||[];z.push(O)}for(var S=0,I=0;I<L.length;I++){var V=L[I];if(V){V.x1=1/0,V.x2=-1/0,V.y1=1/0,V.y2=-1/0;for(var U=0;U<V.length;U++){var tt=V[U];V.x1=Math.min(V.x1,tt.positionX-tt.width/2),V.x2=Math.max(V.x2,tt.positionX+tt.width/2),V.y1=Math.min(V.y1,tt.positionY-tt.height/2),V.y2=Math.max(V.y2,tt.positionY+tt.height/2)}V.w=V.x2-V.x1,V.h=V.y2-V.y1,S+=V.w*V.h}}L.sort(function(Dt,It){return It.w*It.h-Dt.w*Dt.h});for(var at=0,lt=0,ft=0,Lt=0,kt=Math.sqrt(S)*g.clientWidth/g.clientHeight,I=0;I<L.length;I++){var V=L[I];if(V){for(var U=0;U<V.length;U++){var tt=V[U];tt.isLocked||(tt.positionX+=at-V.x1,tt.positionY+=lt-V.y1)}at+=V.w+x.componentSpacing,ft+=V.w+x.componentSpacing,Lt=Math.max(Lt,V.h),ft>kt&&(lt+=Lt+x.componentSpacing,at=0,ft=0,Lt=0)}}},YJ={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(g){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}};function NB(y){this.options=Pe({},YJ,y)}NB.prototype.run=function(){var y=this.options,g=y,x=y.cy,T=g.eles,L=T.nodes().not(":parent");g.sort&&(L=L.sort(g.sort));var I=qd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()});if(I.h===0||I.w===0)T.nodes().layoutPositions(this,g,function(fr){return{x:I.x1,y:I.y1}});else{var O=L.size(),$=Math.sqrt(O*I.h/I.w),z=Math.round($),S=Math.round(I.w/I.h*$),V=function(Mr){if(Mr==null)return Math.min(z,S);var yr=Math.min(z,S);yr==z?z=Mr:S=Mr},U=function(Mr){if(Mr==null)return Math.max(z,S);var yr=Math.max(z,S);yr==z?z=Mr:S=Mr},tt=g.rows,at=g.cols!=null?g.cols:g.columns;if(tt!=null&&at!=null)z=tt,S=at;else if(tt!=null&&at==null)z=tt,S=Math.ceil(O/z);else if(tt==null&&at!=null)S=at,z=Math.ceil(O/S);else if(S*z>O){var lt=V(),ft=U();(lt-1)*ft>=O?V(lt-1):(ft-1)*lt>=O&&U(ft-1)}else for(;S*z<O;){var Lt=V(),kt=U();(kt+1)*Lt>=O?U(kt+1):V(Lt+1)}var Dt=I.w/S,It=I.h/z;if(g.condense&&(Dt=0,It=0),g.avoidOverlap)for(var qt=0;qt<L.length;qt++){var te=L[qt],Yt=te._private.position;(Yt.x==null||Yt.y==null)&&(Yt.x=0,Yt.y=0);var Ht=te.layoutDimensions(g),ie=g.avoidOverlapPadding,Wt=Ht.w+ie,be=Ht.h+ie;Dt=Math.max(Dt,Wt),It=Math.max(It,be)}for(var we={},ae=function(Mr,yr){return!!we["c-"+Mr+"-"+yr]},Ne=function(Mr,yr){we["c-"+Mr+"-"+yr]=!0},me=0,gn=0,ze=function(){gn++,gn>=S&&(gn=0,me++)},Ge={},xn=0;xn<L.length;xn++){var On=L[xn],nr=g.position(On);if(nr&&(nr.row!==void 0||nr.col!==void 0)){var Sn={row:nr.row,col:nr.col};if(Sn.col===void 0)for(Sn.col=0;ae(Sn.row,Sn.col);)Sn.col++;else if(Sn.row===void 0)for(Sn.row=0;ae(Sn.row,Sn.col);)Sn.row++;Ge[On.id()]=Sn,Ne(Sn.row,Sn.col)}}var er=function(Mr,yr){var lr,bn;if(Mr.locked()||Mr.isParent())return!1;var Sr=Ge[Mr.id()];if(Sr)lr=Sr.col*Dt+Dt/2+I.x1,bn=Sr.row*It+It/2+I.y1;else{for(;ae(me,gn);)ze();lr=gn*Dt+Dt/2+I.x1,bn=me*It+It/2+I.y1,Ne(me,gn),ze()}return{x:lr,y:bn}};L.layoutPositions(this,g,er)}return this};var XJ={ready:function(){},stop:function(){}};function XL(y){this.options=Pe({},XJ,y)}XL.prototype.run=function(){var y=this.options,g=y.eles,x=this;return y.cy,x.emit("layoutstart"),g.nodes().positions(function(){return{x:0,y:0}}),x.one("layoutready",y.ready),x.emit("layoutready"),x.one("layoutstop",y.stop),x.emit("layoutstop"),this},XL.prototype.stop=function(){return this};var QJ={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}};function FB(y){this.options=Pe({},QJ,y)}FB.prototype.run=function(){var y=this.options,g=y.eles,x=g.nodes(),T=yt(y.positions);function L(I){if(y.positions==null)return bY(I.position());if(T)return y.positions(I);var O=y.positions[I._private.data.id];return O??null}return x.layoutPositions(this,y,function(I,O){var $=L(I);return I.locked()||$==null?!1:$}),this};var ZJ={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,x){return!0},ready:void 0,stop:void 0,transform:function(g,x){return x}};function BB(y){this.options=Pe({},ZJ,y)}BB.prototype.run=function(){var y=this.options,g=y.cy,x=y.eles,T=qd(y.boundingBox?y.boundingBox:{x1:0,y1:0,w:g.width(),h:g.height()}),L=function(O,$){return{x:T.x1+Math.round(Math.random()*T.w),y:T.y1+Math.round(Math.random()*T.h)}};return x.nodes().layoutPositions(this,y,L),this};var JJ=[{name:"breadthfirst",impl:MB},{name:"circle",impl:fT},{name:"concentric",impl:DB},{name:"cose",impl:dT},{name:"grid",impl:NB},{name:"null",impl:XL},{name:"preset",impl:FB},{name:"random",impl:BB}];function RB(y){this.options=y,this.notifications=0}var jB=function(){},$B=function(){throw new Error("A headless instance can not render images")};RB.prototype={recalculateRenderedStyle:jB,notify:function(){this.notifications++},init:jB,isHeadless:function(){return!0},png:$B,jpg:$B};var QL={};QL.arrowShapeWidth=.3,QL.registerArrowShapes=function(){var y=this.arrowShapes={},g=this,x=function(S,V,U,tt,at,lt,ft){var Lt=at.x-U/2-ft,kt=at.x+U/2+ft,Dt=at.y-U/2-ft,It=at.y+U/2+ft,qt=Lt<=S&&S<=kt&&Dt<=V&&V<=It;return qt},T=function(S,V,U,tt,at){var lt=S*Math.cos(tt)-V*Math.sin(tt),ft=S*Math.sin(tt)+V*Math.cos(tt),Lt=lt*U,kt=ft*U,Dt=Lt+at.x,It=kt+at.y;return{x:Dt,y:It}},L=function(S,V,U,tt){for(var at=[],lt=0;lt<S.length;lt+=2){var ft=S[lt],Lt=S[lt+1];at.push(T(ft,Lt,V,U,tt))}return at},I=function(S){for(var V=[],U=0;U<S.length;U++){var tt=S[U];V.push(tt.x,tt.y)}return V},O=function(S){return S.pstyle("width").pfValue*S.pstyle("arrow-scale").pfValue*2},$=function(S,V){Tt(V)&&(V=y[V]),y[S]=Pe({name:S,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(tt,at,lt,ft,Lt,kt){var Dt=I(L(this.points,lt+2*kt,ft,Lt)),It=Hd(tt,at,Dt);return It},roughCollide:x,draw:function(tt,at,lt,ft){var Lt=L(this.points,at,lt,ft);g.arrowShapeImpl("polygon")(tt,Lt)},spacing:function(tt){return 0},gap:O},V)};$("none",{collide:dm,roughCollide:dm,draw:gm,spacing:cv,gap:cv}),$("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),$("arrow","triangle"),$("triangle-backcurve",{points:y.triangle.points,controlPoint:[0,-.15],roughCollide:x,draw:function(S,V,U,tt,at){var lt=L(this.points,V,U,tt),ft=this.controlPoint,Lt=T(ft[0],ft[1],V,U,tt);g.arrowShapeImpl(this.name)(S,lt,Lt)},gap:function(S){return O(S)*.8}}),$("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(S,V,U,tt,at,lt,ft){var Lt=I(L(this.points,U+2*ft,tt,at)),kt=I(L(this.pointsTee,U+2*ft,tt,at)),Dt=Hd(S,V,Lt)||Hd(S,V,kt);return Dt},draw:function(S,V,U,tt,at){var lt=L(this.points,V,U,tt),ft=L(this.pointsTee,V,U,tt);g.arrowShapeImpl(this.name)(S,lt,ft)}}),$("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(S,V,U,tt,at,lt,ft){var Lt=at,kt=Math.pow(Lt.x-S,2)+Math.pow(Lt.y-V,2)<=Math.pow((U+2*ft)*this.radius,2),Dt=I(L(this.points,U+2*ft,tt,at));return Hd(S,V,Dt)||kt},draw:function(S,V,U,tt,at){var lt=L(this.pointsTr,V,U,tt);g.arrowShapeImpl(this.name)(S,lt,tt.x,tt.y,this.radius*V)},spacing:function(S){return g.getArrowWidth(S.pstyle("width").pfValue,S.pstyle("arrow-scale").value)*this.radius}}),$("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(S,V){var U=this.baseCrossLinePts.slice(),tt=V/S,at=3,lt=5;return U[at]=U[at]-tt,U[lt]=U[lt]-tt,U},collide:function(S,V,U,tt,at,lt,ft){var Lt=I(L(this.points,U+2*ft,tt,at)),kt=I(L(this.crossLinePts(U,lt),U+2*ft,tt,at)),Dt=Hd(S,V,Lt)||Hd(S,V,kt);return Dt},draw:function(S,V,U,tt,at){var lt=L(this.points,V,U,tt),ft=L(this.crossLinePts(V,at),V,U,tt);g.arrowShapeImpl(this.name)(S,lt,ft)}}),$("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(S){return O(S)*.525}}),$("circle",{radius:.15,collide:function(S,V,U,tt,at,lt,ft){var Lt=at,kt=Math.pow(Lt.x-S,2)+Math.pow(Lt.y-V,2)<=Math.pow((U+2*ft)*this.radius,2);return kt},draw:function(S,V,U,tt,at){g.arrowShapeImpl(this.name)(S,tt.x,tt.y,this.radius*V)},spacing:function(S){return g.getArrowWidth(S.pstyle("width").pfValue,S.pstyle("arrow-scale").value)*this.radius}}),$("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(S){return 1},gap:function(S){return 1}}),$("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),$("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(S){return S.pstyle("width").pfValue*S.pstyle("arrow-scale").value}}),$("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(S){return .95*S.pstyle("width").pfValue*S.pstyle("arrow-scale").value}})};var M3={};M3.projectIntoViewport=function(y,g){var x=this.cy,T=this.findContainerClientCoords(),L=T[0],I=T[1],O=T[4],$=x.pan(),z=x.zoom(),S=((y-L)/O-$.x)/z,V=((g-I)/O-$.y)/z;return[S,V]},M3.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var y=this.container,g=y.getBoundingClientRect(),x=R.getComputedStyle(y),T=function(kt){return parseFloat(x.getPropertyValue(kt))},L={left:T("padding-left"),right:T("padding-right"),top:T("padding-top"),bottom:T("padding-bottom")},I={left:T("border-left-width"),right:T("border-right-width"),top:T("border-top-width"),bottom:T("border-bottom-width")},O=y.clientWidth,$=y.clientHeight,z=L.left+L.right,S=L.top+L.bottom,V=I.left+I.right,U=g.width/(O+V),tt=O-z,at=$-S,lt=g.left+L.left+I.left,ft=g.top+L.top+I.top;return this.containerBB=[lt,ft,tt,at,U]},M3.invalidateContainerClientCoordsCache=function(){this.containerBB=null},M3.findNearestElement=function(y,g,x,T){return this.findNearestElements(y,g,x,T)[0]},M3.findNearestElements=function(y,g,x,T){var L=this,I=this,O=I.getCachedZSortedEles(),$=[],z=I.cy.zoom(),S=I.cy.hasCompoundNodes(),V=(T?24:8)/z,U=(T?8:2)/z,tt=(T?8:2)/z,at=1/0,lt,ft;x&&(O=O.interactive);function Lt(Ht,ie){if(Ht.isNode()){if(ft)return;ft=Ht,$.push(Ht)}if(Ht.isEdge()&&(ie==null||ie<at))if(lt){if(lt.pstyle("z-compound-depth").value===Ht.pstyle("z-compound-depth").value&&lt.pstyle("z-compound-depth").value===Ht.pstyle("z-compound-depth").value){for(var Wt=0;Wt<$.length;Wt++)if($[Wt].isEdge()){$[Wt]=Ht,lt=Ht,at=ie??at;break}}}else $.push(Ht),lt=Ht,at=ie??at}function kt(Ht){var ie=Ht.outerWidth()+2*U,Wt=Ht.outerHeight()+2*U,be=ie/2,we=Wt/2,ae=Ht.position();if(ae.x-be<=y&&y<=ae.x+be&&ae.y-we<=g&&g<=ae.y+we){var Ne=I.nodeShapes[L.getNodeShape(Ht)];if(Ne.checkPoint(y,g,0,ie,Wt,ae.x,ae.y))return Lt(Ht,0),!0}}function Dt(Ht){var ie=Ht._private,Wt=ie.rscratch,be=Ht.pstyle("width").pfValue,we=Ht.pstyle("arrow-scale").value,ae=be/2+V,Ne=ae*ae,me=ae*2,xn=ie.source,On=ie.target,gn;if(Wt.edgeType==="segments"||Wt.edgeType==="straight"||Wt.edgeType==="haystack"){for(var ze=Wt.allpts,Ge=0;Ge+3<ze.length;Ge+=2)if(LY(y,g,ze[Ge],ze[Ge+1],ze[Ge+2],ze[Ge+3],me)&&Ne>(gn=PY(y,g,ze[Ge],ze[Ge+1],ze[Ge+2],ze[Ge+3])))return Lt(Ht,gn),!0}else if(Wt.edgeType==="bezier"||Wt.edgeType==="multibezier"||Wt.edgeType==="self"||Wt.edgeType==="compound"){for(var ze=Wt.allpts,Ge=0;Ge+5<Wt.allpts.length;Ge+=4)if(MY(y,g,ze[Ge],ze[Ge+1],ze[Ge+2],ze[Ge+3],ze[Ge+4],ze[Ge+5],me)&&Ne>(gn=OY(y,g,ze[Ge],ze[Ge+1],ze[Ge+2],ze[Ge+3],ze[Ge+4],ze[Ge+5])))return Lt(Ht,gn),!0}for(var xn=xn||ie.source,On=On||ie.target,nr=L.getArrowWidth(be,we),Sn=[{name:"source",x:Wt.arrowStartX,y:Wt.arrowStartY,angle:Wt.srcArrowAngle},{name:"target",x:Wt.arrowEndX,y:Wt.arrowEndY,angle:Wt.tgtArrowAngle},{name:"mid-source",x:Wt.midX,y:Wt.midY,angle:Wt.midsrcArrowAngle},{name:"mid-target",x:Wt.midX,y:Wt.midY,angle:Wt.midtgtArrowAngle}],Ge=0;Ge<Sn.length;Ge++){var er=Sn[Ge],fr=I.arrowShapes[Ht.pstyle(er.name+"-arrow-shape").value],Mr=Ht.pstyle("width").pfValue;if(fr.roughCollide(y,g,nr,er.angle,{x:er.x,y:er.y},Mr,V)&&fr.collide(y,g,nr,er.angle,{x:er.x,y:er.y},Mr,V))return Lt(Ht),!0}S&&$.length>0&&(kt(xn),kt(On))}function It(Ht,ie,Wt){return yp(Ht,ie,Wt)}function qt(Ht,ie){var Wt=Ht._private,be=tt,we;ie?we=ie+"-":we="",Ht.boundingBox();var ae=Wt.labelBounds[ie||"main"],Ne=Ht.pstyle(we+"label").value,me=Ht.pstyle("text-events").strValue==="yes";if(!(!me||!Ne)){var gn=It(Wt.rscratch,"labelX",ie),ze=It(Wt.rscratch,"labelY",ie),Ge=It(Wt.rscratch,"labelAngle",ie),xn=Ht.pstyle(we+"text-margin-x").pfValue,On=Ht.pstyle(we+"text-margin-y").pfValue,nr=ae.x1-be-xn,Sn=ae.x2+be-xn,er=ae.y1-be-On,fr=ae.y2+be-On;if(Ge){var Mr=Math.cos(Ge),yr=Math.sin(Ge),lr=function(Ra,Fi){return Ra=Ra-gn,Fi=Fi-ze,{x:Ra*Mr-Fi*yr+gn,y:Ra*yr+Fi*Mr+ze}},bn=lr(nr,er),Sr=lr(nr,fr),Er=lr(Sn,er),fi=lr(Sn,fr),Ii=[bn.x+xn,bn.y+On,Er.x+xn,Er.y+On,fi.x+xn,fi.y+On,Sr.x+xn,Sr.y+On];if(Hd(y,g,Ii))return Lt(Ht),!0}else if(G5(ae,y,g))return Lt(Ht),!0}}for(var te=O.length-1;te>=0;te--){var Yt=O[te];Yt.isNode()?kt(Yt)||qt(Yt):Dt(Yt)||qt(Yt)||qt(Yt,"source")||qt(Yt,"target")}return $},M3.getAllInBox=function(y,g,x,T){var L=this.getCachedZSortedEles().interactive,I=[],O=Math.min(y,x),$=Math.max(y,x),z=Math.min(g,T),S=Math.max(g,T);y=O,x=$,g=z,T=S;for(var V=qd({x1:y,y1:g,x2:x,y2:T}),U=0;U<L.length;U++){var tt=L[U];if(tt.isNode()){var at=tt,lt=at.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});CL(V,lt)&&!nF(lt,V)&&I.push(at)}else{var ft=tt,Lt=ft._private,kt=Lt.rscratch;if(kt.startX!=null&&kt.startY!=null&&!G5(V,kt.startX,kt.startY)||kt.endX!=null&&kt.endY!=null&&!G5(V,kt.endX,kt.endY))continue;if(kt.edgeType==="bezier"||kt.edgeType==="multibezier"||kt.edgeType==="self"||kt.edgeType==="compound"||kt.edgeType==="segments"||kt.edgeType==="haystack"){for(var Dt=Lt.rstyle.bezierPts||Lt.rstyle.linePts||Lt.rstyle.haystackPts,It=!0,qt=0;qt<Dt.length;qt++)if(!AY(V,Dt[qt])){It=!1;break}It&&I.push(ft)}else(kt.edgeType==="haystack"||kt.edgeType==="straight")&&I.push(ft)}}return I};var pT={};pT.calculateArrowAngles=function(y){var g=y._private.rscratch,x=g.edgeType==="haystack",T=g.edgeType==="bezier",L=g.edgeType==="multibezier",I=g.edgeType==="segments",O=g.edgeType==="compound",$=g.edgeType==="self",z,S,V,U,tt,at,kt,Dt;if(x?(V=g.haystackPts[0],U=g.haystackPts[1],tt=g.haystackPts[2],at=g.haystackPts[3]):(V=g.arrowStartX,U=g.arrowStartY,tt=g.arrowEndX,at=g.arrowEndY),kt=g.midX,Dt=g.midY,I)z=V-g.segpts[0],S=U-g.segpts[1];else if(L||O||$||T){var lt=g.allpts,ft=hf(lt[0],lt[2],lt[4],.1),Lt=hf(lt[1],lt[3],lt[5],.1);z=V-ft,S=U-Lt}else z=V-kt,S=U-Dt;g.srcArrowAngle=PE(z,S);var kt=g.midX,Dt=g.midY;if(x&&(kt=(V+tt)/2,Dt=(U+at)/2),z=tt-V,S=at-U,I){var lt=g.allpts;if(lt.length/2%2===0){var It=lt.length/2,qt=It-2;z=lt[It]-lt[qt],S=lt[It+1]-lt[qt+1]}else{var It=lt.length/2-1,qt=It-2,te=It+2;z=lt[It]-lt[qt],S=lt[It+1]-lt[qt+1]}}else if(L||O||$){var lt=g.allpts,Yt=g.ctrlpts,Ht,ie,Wt,be;if(Yt.length/2%2===0){var we=lt.length/2-1,ae=we+2,Ne=ae+2;Ht=hf(lt[we],lt[ae],lt[Ne],0),ie=hf(lt[we+1],lt[ae+1],lt[Ne+1],0),Wt=hf(lt[we],lt[ae],lt[Ne],1e-4),be=hf(lt[we+1],lt[ae+1],lt[Ne+1],1e-4)}else{var ae=lt.length/2-1,we=ae-2,Ne=ae+2;Ht=hf(lt[we],lt[ae],lt[Ne],.4999),ie=hf(lt[we+1],lt[ae+1],lt[Ne+1],.4999),Wt=hf(lt[we],lt[ae],lt[Ne],.5),be=hf(lt[we+1],lt[ae+1],lt[Ne+1],.5)}z=Wt-Ht,S=be-ie}if(g.midtgtArrowAngle=PE(z,S),g.midDispX=z,g.midDispY=S,z*=-1,S*=-1,I){var lt=g.allpts;if(lt.length/2%2!==0){var It=lt.length/2-1,te=It+2;z=-(lt[te]-lt[It]),S=-(lt[te+1]-lt[It+1])}}if(g.midsrcArrowAngle=PE(z,S),I)z=tt-g.segpts[g.segpts.length-2],S=at-g.segpts[g.segpts.length-1];else if(L||O||$||T){var lt=g.allpts,me=lt.length,ft=hf(lt[me-6],lt[me-4],lt[me-2],.9),Lt=hf(lt[me-5],lt[me-3],lt[me-1],.9);z=tt-ft,S=at-Lt}else z=tt-kt,S=at-Dt;g.tgtArrowAngle=PE(z,S)},pT.getArrowWidth=pT.getArrowHeight=function(y,g){var x=this.arrowWidthCache=this.arrowWidthCache||{},T=x[y+", "+g];return T||(T=Math.max(Math.pow(y*13.37,.9),29)*g,x[y+", "+g]=T,T)};var hd={};hd.findHaystackPoints=function(y){for(var g=0;g<y.length;g++){var x=y[g],T=x._private,L=T.rscratch;if(!L.haystack){var I=Math.random()*2*Math.PI;L.source={x:Math.cos(I),y:Math.sin(I)},I=Math.random()*2*Math.PI,L.target={x:Math.cos(I),y:Math.sin(I)}}var O=T.source,$=T.target,z=O.position(),S=$.position(),V=O.width(),U=$.width(),tt=O.height(),at=$.height(),lt=x.pstyle("haystack-radius").value,ft=lt/2;L.haystackPts=L.allpts=[L.source.x*V*ft+z.x,L.source.y*tt*ft+z.y,L.target.x*U*ft+S.x,L.target.y*at*ft+S.y],L.midX=(L.allpts[0]+L.allpts[2])/2,L.midY=(L.allpts[1]+L.allpts[3])/2,L.edgeType="haystack",L.haystack=!0,this.storeEdgeProjections(x),this.calculateArrowAngles(x),this.recalculateEdgeLabelProjections(x),this.calculateLabelAngles(x)}},hd.findSegmentsPoints=function(y,g){var x=y._private.rscratch,T=g.posPts,L=g.intersectionPts,I=g.vectorNormInverse,O=y.pstyle("edge-distances").value,$=y.pstyle("segment-weights"),z=y.pstyle("segment-distances"),S=Math.min($.pfValue.length,z.pfValue.length);x.edgeType="segments",x.segpts=[];for(var V=0;V<S;V++){var U=$.pfValue[V],tt=z.pfValue[V],at=1-U,lt=U,ft=O==="node-position"?T:L,Lt={x:ft.x1*at+ft.x2*lt,y:ft.y1*at+ft.y2*lt};x.segpts.push(Lt.x+I.x*tt,Lt.y+I.y*tt)}},hd.findLoopPoints=function(y,g,x,T){var L=y._private.rscratch,I=g.dirCounts,O=g.srcPos,$=y.pstyle("control-point-distances"),z=$?$.pfValue[0]:void 0,S=y.pstyle("loop-direction").pfValue,V=y.pstyle("loop-sweep").pfValue,U=y.pstyle("control-point-step-size").pfValue;L.edgeType="self";var tt=x,at=U;T&&(tt=0,at=z);var lt=S-Math.PI/2,ft=lt-V/2,Lt=lt+V/2,kt=S+"_"+V;tt=I[kt]===void 0?I[kt]=0:++I[kt],L.ctrlpts=[O.x+Math.cos(ft)*1.4*at*(tt/3+1),O.y+Math.sin(ft)*1.4*at*(tt/3+1),O.x+Math.cos(Lt)*1.4*at*(tt/3+1),O.y+Math.sin(Lt)*1.4*at*(tt/3+1)]},hd.findCompoundLoopPoints=function(y,g,x,T){var L=y._private.rscratch;L.edgeType="compound";var I=g.srcPos,O=g.tgtPos,$=g.srcW,z=g.srcH,S=g.tgtW,V=g.tgtH,U=y.pstyle("control-point-step-size").pfValue,tt=y.pstyle("control-point-distances"),at=tt?tt.pfValue[0]:void 0,lt=x,ft=U;T&&(lt=0,ft=at);var Lt=50,kt={x:I.x-$/2,y:I.y-z/2},Dt={x:O.x-S/2,y:O.y-V/2},It={x:Math.min(kt.x,Dt.x),y:Math.min(kt.y,Dt.y)},qt=.5,te=Math.max(qt,Math.log($*.01)),Yt=Math.max(qt,Math.log(S*.01));L.ctrlpts=[It.x,It.y-(1+Math.pow(Lt,1.12)/100)*ft*(lt/3+1)*te,It.x-(1+Math.pow(Lt,1.12)/100)*ft*(lt/3+1)*Yt,It.y]},hd.findStraightEdgePoints=function(y){y._private.rscratch.edgeType="straight"},hd.findBezierPoints=function(y,g,x,T,L){var I=y._private.rscratch,O=g.vectorNormInverse,$=g.posPts,z=g.intersectionPts,S=y.pstyle("edge-distances").value,V=y.pstyle("control-point-step-size").pfValue,U=y.pstyle("control-point-distances"),tt=y.pstyle("control-point-weights"),at=U&&tt?Math.min(U.value.length,tt.value.length):1,lt=U?U.pfValue[0]:void 0,ft=tt.value[0],Lt=T;I.edgeType=Lt?"multibezier":"bezier",I.ctrlpts=[];for(var kt=0;kt<at;kt++){var Dt=(.5-g.eles.length/2+x)*V*(L?-1:1),It=void 0,qt=tF(Dt);Lt&&(lt=U?U.pfValue[kt]:V,ft=tt.value[kt]),T?It=lt:It=lt!==void 0?qt*lt:void 0;var te=It!==void 0?It:Dt,Yt=1-ft,Ht=ft,ie=S==="node-position"?$:z,Wt={x:ie.x1*Yt+ie.x2*Ht,y:ie.y1*Yt+ie.y2*Ht};I.ctrlpts.push(Wt.x+O.x*te,Wt.y+O.y*te)}},hd.findTaxiPoints=function(y,g){var x=y._private.rscratch;x.edgeType="segments";var T="vertical",L="horizontal",I="leftward",O="rightward",$="downward",z="upward",S="auto",V=g.posPts,U=g.srcW,tt=g.srcH,at=g.tgtW,lt=g.tgtH,ft=y.pstyle("edge-distances").value,Lt=ft!=="node-position",kt=y.pstyle("taxi-direction").value,Dt=kt,It=y.pstyle("taxi-turn"),qt=It.units==="%",te=It.pfValue,Yt=te<0,Ht=y.pstyle("taxi-turn-min-distance").pfValue,ie=Lt?(U+at)/2:0,Wt=Lt?(tt+lt)/2:0,be=V.x2-V.x1,we=V.y2-V.y1,ae=function(us,Yo){return us>0?Math.max(us-Yo,0):Math.min(us+Yo,0)},Ne=ae(be,ie),me=ae(we,Wt),gn=!1;Dt===S?kt=Math.abs(Ne)>Math.abs(me)?L:T:Dt===z||Dt===$?(kt=T,gn=!0):(Dt===I||Dt===O)&&(kt=L,gn=!0);var ze=kt===T,Ge=ze?me:Ne,xn=ze?we:be,On=tF(xn),nr=!1;!(gn&&(qt||Yt))&&(Dt===$&&xn<0||Dt===z&&xn>0||Dt===I&&xn>0||Dt===O&&xn<0)&&(On*=-1,Ge=On*Math.abs(Ge),nr=!0);var Sn;if(qt){var er=te<0?1+te:te;Sn=er*Ge}else{var fr=te<0?Ge:0;Sn=fr+te*On}var Mr=function(us){return Math.abs(us)<Ht||Math.abs(us)>=Math.abs(Ge)},yr=Mr(Sn),lr=Mr(Math.abs(Ge)-Math.abs(Sn)),bn=yr||lr;if(bn&&!nr)if(ze){var Sr=Math.abs(xn)<=tt/2,Er=Math.abs(be)<=at/2;if(Sr){var fi=(V.x1+V.x2)/2,Ii=V.y1,oa=V.y2;x.segpts=[fi,Ii,fi,oa]}else if(Er){var Ra=(V.y1+V.y2)/2,Fi=V.x1,_i=V.x2;x.segpts=[Fi,Ra,_i,Ra]}else x.segpts=[V.x1,V.y2]}else{var Ms=Math.abs(xn)<=U/2,ts=Math.abs(we)<=lt/2;if(Ms){var Ri=(V.y1+V.y2)/2,ss=V.x1,ro=V.x2;x.segpts=[ss,Ri,ro,Ri]}else if(ts){var ca=(V.x1+V.x2)/2,ea=V.y1,Nr=V.y2;x.segpts=[ca,ea,ca,Nr]}else x.segpts=[V.x2,V.y1]}else if(ze){var Jt=V.y1+Sn+(Lt?tt/2*On:0),qn=V.x1,jr=V.x2;x.segpts=[qn,Jt,jr,Jt]}else{var dr=V.x1+Sn+(Lt?U/2*On:0),gr=V.y1,Ua=V.y2;x.segpts=[dr,gr,dr,Ua]}},hd.tryToCorrectInvalidPoints=function(y,g){var x=y._private.rscratch;if(x.edgeType==="bezier"){var T=g.srcPos,L=g.tgtPos,I=g.srcW,O=g.srcH,$=g.tgtW,z=g.tgtH,S=g.srcShape,V=g.tgtShape,U=!st(x.startX)||!st(x.startY),tt=!st(x.arrowStartX)||!st(x.arrowStartY),at=!st(x.endX)||!st(x.endY),lt=!st(x.arrowEndX)||!st(x.arrowEndY),ft=3,Lt=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth,kt=ft*Lt,Dt=T3({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.startX,y:x.startY}),It=Dt<kt,qt=T3({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.endX,y:x.endY}),te=qt<kt,Yt=!1;if(U||tt||It){Yt=!0;var Ht={x:x.ctrlpts[0]-T.x,y:x.ctrlpts[1]-T.y},ie=Math.sqrt(Ht.x*Ht.x+Ht.y*Ht.y),Wt={x:Ht.x/ie,y:Ht.y/ie},be=Math.max(I,O),we={x:x.ctrlpts[0]+Wt.x*2*be,y:x.ctrlpts[1]+Wt.y*2*be},ae=S.intersectLine(T.x,T.y,I,O,we.x,we.y,0);It?(x.ctrlpts[0]=x.ctrlpts[0]+Wt.x*(kt-Dt),x.ctrlpts[1]=x.ctrlpts[1]+Wt.y*(kt-Dt)):(x.ctrlpts[0]=ae[0]+Wt.x*kt,x.ctrlpts[1]=ae[1]+Wt.y*kt)}if(at||lt||te){Yt=!0;var Ne={x:x.ctrlpts[0]-L.x,y:x.ctrlpts[1]-L.y},me=Math.sqrt(Ne.x*Ne.x+Ne.y*Ne.y),gn={x:Ne.x/me,y:Ne.y/me},ze=Math.max(I,O),Ge={x:x.ctrlpts[0]+gn.x*2*ze,y:x.ctrlpts[1]+gn.y*2*ze},xn=V.intersectLine(L.x,L.y,$,z,Ge.x,Ge.y,0);te?(x.ctrlpts[0]=x.ctrlpts[0]+gn.x*(kt-qt),x.ctrlpts[1]=x.ctrlpts[1]+gn.y*(kt-qt)):(x.ctrlpts[0]=xn[0]+gn.x*kt,x.ctrlpts[1]=xn[1]+gn.y*kt)}Yt&&this.findEndpoints(y)}},hd.storeAllpts=function(y){var g=y._private.rscratch;if(g.edgeType==="multibezier"||g.edgeType==="bezier"||g.edgeType==="self"||g.edgeType==="compound"){g.allpts=[],g.allpts.push(g.startX,g.startY);for(var x=0;x+1<g.ctrlpts.length;x+=2)g.allpts.push(g.ctrlpts[x],g.ctrlpts[x+1]),x+3<g.ctrlpts.length&&g.allpts.push((g.ctrlpts[x]+g.ctrlpts[x+2])/2,(g.ctrlpts[x+1]+g.ctrlpts[x+3])/2);g.allpts.push(g.endX,g.endY);var T,L;g.ctrlpts.length/2%2===0?(T=g.allpts.length/2-1,g.midX=g.allpts[T],g.midY=g.allpts[T+1]):(T=g.allpts.length/2-3,L=.5,g.midX=hf(g.allpts[T],g.allpts[T+2],g.allpts[T+4],L),g.midY=hf(g.allpts[T+1],g.allpts[T+3],g.allpts[T+5],L))}else if(g.edgeType==="straight")g.allpts=[g.startX,g.startY,g.endX,g.endY],g.midX=(g.startX+g.endX+g.arrowStartX+g.arrowEndX)/4,g.midY=(g.startY+g.endY+g.arrowStartY+g.arrowEndY)/4;else if(g.edgeType==="segments")if(g.allpts=[],g.allpts.push(g.startX,g.startY),g.allpts.push.apply(g.allpts,g.segpts),g.allpts.push(g.endX,g.endY),g.segpts.length%4===0){var I=g.segpts.length/2,O=I-2;g.midX=(g.segpts[O]+g.segpts[I])/2,g.midY=(g.segpts[O+1]+g.segpts[I+1])/2}else{var $=g.segpts.length/2-1;g.midX=g.segpts[$],g.midY=g.segpts[$+1]}},hd.checkForInvalidEdgeWarning=function(y){var g=y[0]._private.rscratch;g.nodesOverlap||st(g.startX)&&st(g.startY)&&st(g.endX)&&st(g.endY)?g.loggedErr=!1:g.loggedErr||(g.loggedErr=!0,Ko("Edge `"+y.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},hd.findEdgeControlPoints=function(y){var g=this;if(!(!y||y.length===0)){for(var x=this,T=x.cy,L=T.hasCompoundNodes(),I={map:new H2,get:function(Ht){var ie=this.map.get(Ht[0]);return ie!=null?ie.get(Ht[1]):null},set:function(Ht,ie){var Wt=this.map.get(Ht[0]);Wt==null&&(Wt=new H2,this.map.set(Ht[0],Wt)),Wt.set(Ht[1],ie)}},O=[],$=[],z=0;z<y.length;z++){var S=y[z],V=S._private,U=S.pstyle("curve-style").value;if(!(S.removed()||!S.takesUpSpace())){if(U==="haystack"){$.push(S);continue}var tt=U==="unbundled-bezier"||U==="segments"||U==="straight"||U==="straight-triangle"||U==="taxi",at=U==="unbundled-bezier"||U==="bezier",lt=V.source,ft=V.target,Lt=lt.poolIndex(),kt=ft.poolIndex(),Dt=[Lt,kt].sort(),It=I.get(Dt);It==null&&(It={eles:[]},I.set(Dt,It),O.push(Dt)),It.eles.push(S),tt&&(It.hasUnbundled=!0),at&&(It.hasBezier=!0)}}for(var qt=function(Ht){var ie=O[Ht],Wt=I.get(ie),be=void 0;if(!Wt.hasUnbundled){var we=Wt.eles[0].parallelEdges().filter(function(Nr){return Nr.isBundledBezier()});kL(Wt.eles),we.forEach(function(Nr){return Wt.eles.push(Nr)}),Wt.eles.sort(function(Nr,Jt){return Nr.poolIndex()-Jt.poolIndex()})}var ae=Wt.eles[0],Ne=ae.source(),me=ae.target();if(Ne.poolIndex()>me.poolIndex()){var gn=Ne;Ne=me,me=gn}var ze=Wt.srcPos=Ne.position(),Ge=Wt.tgtPos=me.position(),xn=Wt.srcW=Ne.outerWidth(),On=Wt.srcH=Ne.outerHeight(),nr=Wt.tgtW=me.outerWidth(),Sn=Wt.tgtH=me.outerHeight(),er=Wt.srcShape=x.nodeShapes[g.getNodeShape(Ne)],fr=Wt.tgtShape=x.nodeShapes[g.getNodeShape(me)];Wt.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var Mr=0;Mr<Wt.eles.length;Mr++){var yr=Wt.eles[Mr],lr=yr[0]._private.rscratch,bn=yr.pstyle("curve-style").value,Sr=bn==="unbundled-bezier"||bn==="segments"||bn==="taxi",Er=!Ne.same(yr.source());if(!Wt.calculatedIntersection&&Ne!==me&&(Wt.hasBezier||Wt.hasUnbundled)){Wt.calculatedIntersection=!0;var fi=er.intersectLine(ze.x,ze.y,xn,On,Ge.x,Ge.y,0),Ii=Wt.srcIntn=fi,oa=fr.intersectLine(Ge.x,Ge.y,nr,Sn,ze.x,ze.y,0),Ra=Wt.tgtIntn=oa,Fi=Wt.intersectionPts={x1:fi[0],x2:oa[0],y1:fi[1],y2:oa[1]},_i=Wt.posPts={x1:ze.x,x2:Ge.x,y1:ze.y,y2:Ge.y},Ms=oa[1]-fi[1],ts=oa[0]-fi[0],Ri=Math.sqrt(ts*ts+Ms*Ms),ss=Wt.vector={x:ts,y:Ms},ro=Wt.vectorNorm={x:ss.x/Ri,y:ss.y/Ri},ca={x:-ro.y,y:ro.x};Wt.nodesOverlap=!st(Ri)||fr.checkPoint(fi[0],fi[1],0,nr,Sn,Ge.x,Ge.y)||er.checkPoint(oa[0],oa[1],0,xn,On,ze.x,ze.y),Wt.vectorNormInverse=ca,be={nodesOverlap:Wt.nodesOverlap,dirCounts:Wt.dirCounts,calculatedIntersection:!0,hasBezier:Wt.hasBezier,hasUnbundled:Wt.hasUnbundled,eles:Wt.eles,srcPos:Ge,tgtPos:ze,srcW:nr,srcH:Sn,tgtW:xn,tgtH:On,srcIntn:Ra,tgtIntn:Ii,srcShape:fr,tgtShape:er,posPts:{x1:_i.x2,y1:_i.y2,x2:_i.x1,y2:_i.y1},intersectionPts:{x1:Fi.x2,y1:Fi.y2,x2:Fi.x1,y2:Fi.y1},vector:{x:-ss.x,y:-ss.y},vectorNorm:{x:-ro.x,y:-ro.y},vectorNormInverse:{x:-ca.x,y:-ca.y}}}var ea=Er?be:Wt;lr.nodesOverlap=ea.nodesOverlap,lr.srcIntn=ea.srcIntn,lr.tgtIntn=ea.tgtIntn,L&&(Ne.isParent()||Ne.isChild()||me.isParent()||me.isChild())&&(Ne.parents().anySame(me)||me.parents().anySame(Ne)||Ne.same(me)&&Ne.isParent())?g.findCompoundLoopPoints(yr,ea,Mr,Sr):Ne===me?g.findLoopPoints(yr,ea,Mr,Sr):bn==="segments"?g.findSegmentsPoints(yr,ea):bn==="taxi"?g.findTaxiPoints(yr,ea):bn==="straight"||!Sr&&Wt.eles.length%2===1&&Mr===Math.floor(Wt.eles.length/2)?g.findStraightEdgePoints(yr):g.findBezierPoints(yr,ea,Mr,Sr,Er),g.findEndpoints(yr),g.tryToCorrectInvalidPoints(yr,ea),g.checkForInvalidEdgeWarning(yr),g.storeAllpts(yr),g.storeEdgeProjections(yr),g.calculateArrowAngles(yr),g.recalculateEdgeLabelProjections(yr),g.calculateLabelAngles(yr)}},te=0;te<O.length;te++)qt(te);this.findHaystackPoints($)}};function zB(y){var g=[];if(y!=null){for(var x=0;x<y.length;x+=2){var T=y[x],L=y[x+1];g.push({x:T,y:L})}return g}}hd.getSegmentPoints=function(y){var g=y[0]._private.rscratch,x=g.edgeType;if(x==="segments")return this.recalculateRenderedStyle(y),zB(g.segpts)},hd.getControlPoints=function(y){var g=y[0]._private.rscratch,x=g.edgeType;if(x==="bezier"||x==="multibezier"||x==="self"||x==="compound")return this.recalculateRenderedStyle(y),zB(g.ctrlpts)},hd.getEdgeMidpoint=function(y){var g=y[0]._private.rscratch;return this.recalculateRenderedStyle(y),{x:g.midX,y:g.midY}};var Rk={};Rk.manualEndptToPx=function(y,g){var x=this,T=y.position(),L=y.outerWidth(),I=y.outerHeight();if(g.value.length===2){var O=[g.pfValue[0],g.pfValue[1]];return g.units[0]==="%"&&(O[0]=O[0]*L),g.units[1]==="%"&&(O[1]=O[1]*I),O[0]+=T.x,O[1]+=T.y,O}else{var $=g.pfValue[0];$=-Math.PI/2+$;var z=2*Math.max(L,I),S=[T.x+Math.cos($)*z,T.y+Math.sin($)*z];return x.nodeShapes[this.getNodeShape(y)].intersectLine(T.x,T.y,L,I,S[0],S[1],0)}},Rk.findEndpoints=function(y){var g=this,x,T=y.source()[0],L=y.target()[0],I=T.position(),O=L.position(),$=y.pstyle("target-arrow-shape").value,z=y.pstyle("source-arrow-shape").value,S=y.pstyle("target-distance-from-node").pfValue,V=y.pstyle("source-distance-from-node").pfValue,U=y.pstyle("curve-style").value,tt=y._private.rscratch,at=tt.edgeType,lt=U==="taxi",ft=at==="self"||at==="compound",Lt=at==="bezier"||at==="multibezier"||ft,kt=at!=="bezier",Dt=at==="straight"||at==="segments",It=at==="segments",qt=Lt||kt||Dt,te=ft||lt,Yt=y.pstyle("source-endpoint"),Ht=te?"outside-to-node":Yt.value,ie=y.pstyle("target-endpoint"),Wt=te?"outside-to-node":ie.value;tt.srcManEndpt=Yt,tt.tgtManEndpt=ie;var be,we,ae,Ne;if(Lt){var me=[tt.ctrlpts[0],tt.ctrlpts[1]],gn=kt?[tt.ctrlpts[tt.ctrlpts.length-2],tt.ctrlpts[tt.ctrlpts.length-1]]:me;be=gn,we=me}else if(Dt){var ze=It?tt.segpts.slice(0,2):[O.x,O.y],Ge=It?tt.segpts.slice(tt.segpts.length-2):[I.x,I.y];be=Ge,we=ze}if(Wt==="inside-to-node")x=[O.x,O.y];else if(ie.units)x=this.manualEndptToPx(L,ie);else if(Wt==="outside-to-line")x=tt.tgtIntn;else if(Wt==="outside-to-node"||Wt==="outside-to-node-or-label"?ae=be:(Wt==="outside-to-line"||Wt==="outside-to-line-or-label")&&(ae=[I.x,I.y]),x=g.nodeShapes[this.getNodeShape(L)].intersectLine(O.x,O.y,L.outerWidth(),L.outerHeight(),ae[0],ae[1],0),Wt==="outside-to-node-or-label"||Wt==="outside-to-line-or-label"){var xn=L._private.rscratch,On=xn.labelWidth,nr=xn.labelHeight,Sn=xn.labelX,er=xn.labelY,fr=On/2,Mr=nr/2,yr=L.pstyle("text-valign").value;yr==="top"?er-=Mr:yr==="bottom"&&(er+=Mr);var lr=L.pstyle("text-halign").value;lr==="left"?Sn-=fr:lr==="right"&&(Sn+=fr);var bn=xk(ae[0],ae[1],[Sn-fr,er-Mr,Sn+fr,er-Mr,Sn+fr,er+Mr,Sn-fr,er+Mr],O.x,O.y);if(bn.length>0){var Sr=I,Er=_3(Sr,H5(x)),fi=_3(Sr,H5(bn)),Ii=Er;if(fi<Er&&(x=bn,Ii=fi),bn.length>2){var oa=_3(Sr,{x:bn[2],y:bn[3]});oa<Ii&&(x=[bn[2],bn[3]])}}}var Ra=FE(x,be,g.arrowShapes[$].spacing(y)+S),Fi=FE(x,be,g.arrowShapes[$].gap(y)+S);if(tt.endX=Fi[0],tt.endY=Fi[1],tt.arrowEndX=Ra[0],tt.arrowEndY=Ra[1],Ht==="inside-to-node")x=[I.x,I.y];else if(Yt.units)x=this.manualEndptToPx(T,Yt);else if(Ht==="outside-to-line")x=tt.srcIntn;else if(Ht==="outside-to-node"||Ht==="outside-to-node-or-label"?Ne=we:(Ht==="outside-to-line"||Ht==="outside-to-line-or-label")&&(Ne=[O.x,O.y]),x=g.nodeShapes[this.getNodeShape(T)].intersectLine(I.x,I.y,T.outerWidth(),T.outerHeight(),Ne[0],Ne[1],0),Ht==="outside-to-node-or-label"||Ht==="outside-to-line-or-label"){var _i=T._private.rscratch,Ms=_i.labelWidth,ts=_i.labelHeight,Ri=_i.labelX,ss=_i.labelY,ro=Ms/2,ca=ts/2,ea=T.pstyle("text-valign").value;ea==="top"?ss-=ca:ea==="bottom"&&(ss+=ca);var Nr=T.pstyle("text-halign").value;Nr==="left"?Ri-=ro:Nr==="right"&&(Ri+=ro);var Jt=xk(Ne[0],Ne[1],[Ri-ro,ss-ca,Ri+ro,ss-ca,Ri+ro,ss+ca,Ri-ro,ss+ca],I.x,I.y);if(Jt.length>0){var qn=O,jr=_3(qn,H5(x)),dr=_3(qn,H5(Jt)),gr=jr;if(dr<jr&&(x=[Jt[0],Jt[1]],gr=dr),Jt.length>2){var Ua=_3(qn,{x:Jt[2],y:Jt[3]});Ua<gr&&(x=[Jt[2],Jt[3]])}}}var Jr=FE(x,we,g.arrowShapes[z].spacing(y)+V),us=FE(x,we,g.arrowShapes[z].gap(y)+V);tt.startX=us[0],tt.startY=us[1],tt.arrowStartX=Jr[0],tt.arrowStartY=Jr[1],qt&&(!st(tt.startX)||!st(tt.startY)||!st(tt.endX)||!st(tt.endY)?tt.badLine=!0:tt.badLine=!1)},Rk.getSourceEndpoint=function(y){var g=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),g.edgeType){case"haystack":return{x:g.haystackPts[0],y:g.haystackPts[1]};default:return{x:g.arrowStartX,y:g.arrowStartY}}},Rk.getTargetEndpoint=function(y){var g=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),g.edgeType){case"haystack":return{x:g.haystackPts[2],y:g.haystackPts[3]};default:return{x:g.arrowEndX,y:g.arrowEndY}}};var ZL={};function ttt(y,g,x){for(var T=function(S,V,U,tt){return hf(S,V,U,tt)},L=g._private,I=L.rstyle.bezierPts,O=0;O<y.bezierProjPcts.length;O++){var $=y.bezierProjPcts[O];I.push({x:T(x[0],x[2],x[4],$),y:T(x[1],x[3],x[5],$)})}}ZL.storeEdgeProjections=function(y){var g=y._private,x=g.rscratch,T=x.edgeType;if(g.rstyle.bezierPts=null,g.rstyle.linePts=null,g.rstyle.haystackPts=null,T==="multibezier"||T==="bezier"||T==="self"||T==="compound"){g.rstyle.bezierPts=[];for(var L=0;L+5<x.allpts.length;L+=4)ttt(this,y,x.allpts.slice(L,L+6))}else if(T==="segments")for(var I=g.rstyle.linePts=[],L=0;L+1<x.allpts.length;L+=2)I.push({x:x.allpts[L],y:x.allpts[L+1]});else if(T==="haystack"){var O=x.haystackPts;g.rstyle.haystackPts=[{x:O[0],y:O[1]},{x:O[2],y:O[3]}]}g.rstyle.arrowWidth=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth},ZL.recalculateEdgeProjections=function(y){this.findEdgeControlPoints(y)};var Tp={};Tp.recalculateNodeLabelProjection=function(y){var g=y.pstyle("label").strValue;if(!X(g)){var x,T,L=y._private,I=y.width(),O=y.height(),$=y.padding(),z=y.position(),S=y.pstyle("text-halign").strValue,V=y.pstyle("text-valign").strValue,U=L.rscratch,tt=L.rstyle;switch(S){case"left":x=z.x-I/2-$;break;case"right":x=z.x+I/2+$;break;default:x=z.x}switch(V){case"top":T=z.y-O/2-$;break;case"bottom":T=z.y+O/2+$;break;default:T=z.y}U.labelX=x,U.labelY=T,tt.labelX=x,tt.labelY=T,this.calculateLabelAngles(y),this.applyLabelDimensions(y)}};var qB=function(g,x){var T=Math.atan(x/g);return g===0&&T<0&&(T=T*-1),T},HB=function(g,x){var T=x.x-g.x,L=x.y-g.y;return qB(T,L)},VB=function(g,x,T,L){var I=mk(0,L-.001,1),O=mk(0,L+.001,1),$=V5(g,x,T,I),z=V5(g,x,T,O);return HB($,z)};Tp.recalculateEdgeLabelProjections=function(y){var g,x=y._private,T=x.rscratch,L=this,I={mid:y.pstyle("label").strValue,source:y.pstyle("source-label").strValue,target:y.pstyle("target-label").strValue};if(I.mid||I.source||I.target){g={x:T.midX,y:T.midY};var O=function(U,tt,at){bm(x.rscratch,U,tt,at),bm(x.rstyle,U,tt,at)};O("labelX",null,g.x),O("labelY",null,g.y);var $=qB(T.midDispX,T.midDispY);O("labelAutoAngle",null,$);var z=function V(){if(V.cache)return V.cache;for(var U=[],tt=0;tt+5<T.allpts.length;tt+=4){var at={x:T.allpts[tt],y:T.allpts[tt+1]},lt={x:T.allpts[tt+2],y:T.allpts[tt+3]},ft={x:T.allpts[tt+4],y:T.allpts[tt+5]};U.push({p0:at,p1:lt,p2:ft,startDist:0,length:0,segments:[]})}var Lt=x.rstyle.bezierPts,kt=L.bezierProjPcts.length;function Dt(Ht,ie,Wt,be,we){var ae=T3(ie,Wt),Ne=Ht.segments[Ht.segments.length-1],me={p0:ie,p1:Wt,t0:be,t1:we,startDist:Ne?Ne.startDist+Ne.length:0,length:ae};Ht.segments.push(me),Ht.length+=ae}for(var It=0;It<U.length;It++){var qt=U[It],te=U[It-1];te&&(qt.startDist=te.startDist+te.length),Dt(qt,qt.p0,Lt[It*kt],0,L.bezierProjPcts[0]);for(var Yt=0;Yt<kt-1;Yt++)Dt(qt,Lt[It*kt+Yt],Lt[It*kt+Yt+1],L.bezierProjPcts[Yt],L.bezierProjPcts[Yt+1]);Dt(qt,Lt[It*kt+kt-1],qt.p2,L.bezierProjPcts[kt-1],1)}return V.cache=U},S=function(U){var tt,at=U==="source";if(I[U]){var lt=y.pstyle(U+"-text-offset").pfValue;switch(T.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var ft=z(),Lt,kt=0,Dt=0,It=0;It<ft.length;It++){for(var qt=ft[at?It:ft.length-1-It],te=0;te<qt.segments.length;te++){var Yt=qt.segments[at?te:qt.segments.length-1-te],Ht=It===ft.length-1&&te===qt.segments.length-1;if(kt=Dt,Dt+=Yt.length,Dt>=lt||Ht){Lt={cp:qt,segment:Yt};break}}if(Lt)break}var ie=Lt.cp,Wt=Lt.segment,be=(lt-kt)/Wt.length,we=Wt.t1-Wt.t0,ae=at?Wt.t0+we*be:Wt.t1-we*be;ae=mk(0,ae,1),g=V5(ie.p0,ie.p1,ie.p2,ae),tt=VB(ie.p0,ie.p1,ie.p2,ae);break}case"straight":case"segments":case"haystack":{for(var Ne=0,me,gn,ze,Ge,xn=T.allpts.length,On=0;On+3<xn&&(at?(ze={x:T.allpts[On],y:T.allpts[On+1]},Ge={x:T.allpts[On+2],y:T.allpts[On+3]}):(ze={x:T.allpts[xn-2-On],y:T.allpts[xn-1-On]},Ge={x:T.allpts[xn-4-On],y:T.allpts[xn-3-On]}),me=T3(ze,Ge),gn=Ne,Ne+=me,!(Ne>=lt));On+=2);var nr=lt-gn,Sn=nr/me;Sn=mk(0,Sn,1),g=EY(ze,Ge,Sn),tt=HB(ze,Ge);break}}O("labelX",U,g.x),O("labelY",U,g.y),O("labelAutoAngle",U,tt)}};S("source"),S("target"),this.applyLabelDimensions(y)}},Tp.applyLabelDimensions=function(y){this.applyPrefixedLabelDimensions(y),y.isEdge()&&(this.applyPrefixedLabelDimensions(y,"source"),this.applyPrefixedLabelDimensions(y,"target"))},Tp.applyPrefixedLabelDimensions=function(y,g){var x=y._private,T=this.getLabelText(y,g),L=this.calculateLabelDimensions(y,T),I=y.pstyle("line-height").pfValue,O=y.pstyle("text-wrap").strValue,$=yp(x.rscratch,"labelWrapCachedLines",g)||[],z=O!=="wrap"?1:Math.max($.length,1),S=L.height/z,V=S*I,U=L.width,tt=L.height+(z-1)*(I-1)*S;bm(x.rstyle,"labelWidth",g,U),bm(x.rscratch,"labelWidth",g,U),bm(x.rstyle,"labelHeight",g,tt),bm(x.rscratch,"labelHeight",g,tt),bm(x.rscratch,"labelLineHeight",g,V)},Tp.getLabelText=function(y,g){var x=y._private,T=g?g+"-":"",L=y.pstyle(T+"label").strValue,I=y.pstyle("text-transform").value,O=function(nr,Sn){return Sn?(bm(x.rscratch,nr,g,Sn),Sn):yp(x.rscratch,nr,g)};if(!L)return"";I=="none"||(I=="uppercase"?L=L.toUpperCase():I=="lowercase"&&(L=L.toLowerCase()));var $=y.pstyle("text-wrap").value;if($==="wrap"){var z=O("labelKey");if(z!=null&&O("labelWrapKey")===z)return O("labelWrapCachedText");for(var S="​",V=L.split(`
+`),U=y.pstyle("text-max-width").pfValue,tt=y.pstyle("text-overflow-wrap").value,at=tt==="anywhere",lt=[],ft=/[\s\u200b]+/,Lt=at?"":" ",kt=0;kt<V.length;kt++){var Dt=V[kt],It=this.calculateLabelDimensions(y,Dt),qt=It.width;if(at){var te=Dt.split("").join(S);Dt=te}if(qt>U){for(var Yt=Dt.split(ft),Ht="",ie=0;ie<Yt.length;ie++){var Wt=Yt[ie],be=Ht.length===0?Wt:Ht+Lt+Wt,we=this.calculateLabelDimensions(y,be),ae=we.width;ae<=U?Ht+=Wt+Lt:(Ht&&lt.push(Ht),Ht=Wt+Lt)}Ht.match(/^[\s\u200b]+$/)||lt.push(Ht)}else lt.push(Dt)}O("labelWrapCachedLines",lt),L=O("labelWrapCachedText",lt.join(`
+`)),O("labelWrapKey",z)}else if($==="ellipsis"){var Ne=y.pstyle("text-max-width").pfValue,me="",gn="…",ze=!1;if(this.calculateLabelDimensions(y,L).width<Ne)return L;for(var Ge=0;Ge<L.length;Ge++){var xn=this.calculateLabelDimensions(y,me+L[Ge]+gn).width;if(xn>Ne)break;me+=L[Ge],Ge===L.length-1&&(ze=!0)}return ze||(me+=gn),me}return L},Tp.getLabelJustification=function(y){var g=y.pstyle("text-justification").strValue,x=y.pstyle("text-halign").strValue;if(g==="auto")if(y.isNode())switch(x){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return g},Tp.calculateLabelDimensions=function(y,g){var x=this,T=od(g,y._private.labelDimsKey),L=x.labelDimCache||(x.labelDimCache=[]),I=L[T];if(I!=null)return I;var O=0,$=y.pstyle("font-style").strValue,z=y.pstyle("font-size").pfValue,S=y.pstyle("font-family").strValue,V=y.pstyle("font-weight").strValue,U=this.labelCalcCanvas,tt=this.labelCalcCanvasContext;if(!U){U=this.labelCalcCanvas=document.createElement("canvas"),tt=this.labelCalcCanvasContext=U.getContext("2d");var at=U.style;at.position="absolute",at.left="-9999px",at.top="-9999px",at.zIndex="-1",at.visibility="hidden",at.pointerEvents="none"}tt.font="".concat($," ").concat(V," ").concat(z,"px ").concat(S);for(var lt=0,ft=0,Lt=g.split(`
+`),kt=0;kt<Lt.length;kt++){var Dt=Lt[kt],It=tt.measureText(Dt),qt=Math.ceil(It.width),te=z;lt=Math.max(qt,lt),ft+=te}return lt+=O,ft+=O,L[T]={width:lt,height:ft}},Tp.calculateLabelAngle=function(y,g){var x=y._private,T=x.rscratch,L=y.isEdge(),I=g?g+"-":"",O=y.pstyle(I+"text-rotation"),$=O.strValue;return $==="none"?0:L&&$==="autorotate"?T.labelAutoAngle:$==="autorotate"?0:O.pfValue},Tp.calculateLabelAngles=function(y){var g=this,x=y.isEdge(),T=y._private,L=T.rscratch;L.labelAngle=g.calculateLabelAngle(y),x&&(L.sourceLabelAngle=g.calculateLabelAngle(y,"source"),L.targetLabelAngle=g.calculateLabelAngle(y,"target"))};var ch={},JL=28,GB=!1;ch.getNodeShape=function(y){var g=this,x=y.pstyle("shape").value;if(x==="cutrectangle"&&(y.width()<JL||y.height()<JL))return GB||(Ko("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),GB=!0),"rectangle";if(y.isParent())return x==="rectangle"||x==="roundrectangle"||x==="round-rectangle"||x==="cutrectangle"||x==="cut-rectangle"||x==="barrel"?x:"rectangle";if(x==="polygon"){var T=y.pstyle("shape-polygon-points").value;return g.nodeShapes.makePolygon(T).name}return x};var jk={};jk.registerCalculationListeners=function(){var y=this.cy,g=y.collection(),x=this,T=function(O){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(g.merge(O),$)for(var z=0;z<O.length;z++){var S=O[z],V=S._private,U=V.rstyle;U.clean=!1,U.cleanConnected=!1}};x.binder(y).on("bounds.* dirty.*",function(O){var $=O.target;T($)}).on("style.* background.*",function(O){var $=O.target;T($,!1)});var L=function(O){if(O){var $=x.onUpdateEleCalcsFns;g.cleanStyle();for(var z=0;z<g.length;z++){var S=g[z],V=S._private.rstyle;S.isNode()&&!V.cleanConnected&&(T(S.connectedEdges()),V.cleanConnected=!0)}if($)for(var U=0;U<$.length;U++){var tt=$[U];tt(O,g)}x.recalculateRenderedStyle(g),g=y.collection()}};x.flushRenderedStyleQueue=function(){L(!0)},x.beforeRender(L,x.beforeRenderPriorities.eleCalcs)},jk.onUpdateEleCalcs=function(y){var g=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];g.push(y)},jk.recalculateRenderedStyle=function(y,g){var x=function(qt){return qt._private.rstyle.cleanConnected},T=[],L=[];if(!this.destroyed){g===void 0&&(g=!0);for(var I=0;I<y.length;I++){var O=y[I],$=O._private,z=$.rstyle;O.isEdge()&&(!x(O.source())||!x(O.target()))&&(z.clean=!1),!(g&&z.clean||O.removed())&&O.pstyle("display").value!=="none"&&($.group==="nodes"?L.push(O):T.push(O),z.clean=!0)}for(var S=0;S<L.length;S++){var V=L[S],U=V._private,tt=U.rstyle,at=V.position();this.recalculateNodeLabelProjection(V),tt.nodeX=at.x,tt.nodeY=at.y,tt.nodeW=V.pstyle("width").pfValue,tt.nodeH=V.pstyle("height").pfValue}this.recalculateEdgeProjections(T);for(var lt=0;lt<T.length;lt++){var ft=T[lt],Lt=ft._private,kt=Lt.rstyle,Dt=Lt.rscratch;kt.srcX=Dt.arrowStartX,kt.srcY=Dt.arrowStartY,kt.tgtX=Dt.arrowEndX,kt.tgtY=Dt.arrowEndY,kt.midX=Dt.midX,kt.midY=Dt.midY,kt.labelAngle=Dt.labelAngle,kt.sourceLabelAngle=Dt.sourceLabelAngle,kt.targetLabelAngle=Dt.targetLabelAngle}}};var bT={};bT.updateCachedGrabbedEles=function(){var y=this.cachedZSortedEles;if(y){y.drag=[],y.nondrag=[];for(var g=[],x=0;x<y.length;x++){var T=y[x],L=T._private.rscratch;T.grabbed()&&!T.isParent()?g.push(T):L.inDragLayer?y.drag.push(T):y.nondrag.push(T)}for(var x=0;x<g.length;x++){var T=g[x];y.drag.push(T)}}},bT.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},bT.getCachedZSortedEles=function(y){if(y||!this.cachedZSortedEles){var g=this.cy.mutableElements().toArray();g.sort(vB),g.interactive=g.filter(function(x){return x.interactive()}),this.cachedZSortedEles=g,this.updateCachedGrabbedEles()}else g=this.cachedZSortedEles;return g};var $k={};[M3,pT,hd,Rk,ZL,Tp,ch,jk,bT].forEach(function(y){Pe($k,y)});var UB={};UB.getCachedImage=function(y,g,x){var T=this,L=T.imageCache=T.imageCache||{},I=L[y];if(I)return I.image.complete||I.image.addEventListener("load",x),I.image;I=L[y]=L[y]||{};var O=I.image=new Image;O.addEventListener("load",x),O.addEventListener("error",function(){O.error=!0});var $="data:",z=y.substring(0,$.length).toLowerCase()===$;return z||(O.crossOrigin=g),O.src=y,O};var c6={};c6.registerBinding=function(y,g,x,T){var L=Array.prototype.slice.apply(arguments,[1]),I=this.binder(y);return I.on.apply(I,L)},c6.binder=function(y){var g=this,x=y===window||y===document||y===document.body||Bt(y);if(g.supportsPassiveEvents==null){var T=!1;try{var L=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",null,L)}catch{}g.supportsPassiveEvents=T}var I=function($,z,S){var V=Array.prototype.slice.call(arguments);return x&&g.supportsPassiveEvents&&(V[2]={capture:S??!1,passive:!1,once:!1}),g.bindings.push({target:y,args:V}),(y.addEventListener||y.on).apply(y,V),this};return{on:I,addEventListener:I,addListener:I,bind:I}},c6.nodeIsDraggable=function(y){return y&&y.isNode()&&!y.locked()&&y.grabbable()},c6.nodeIsGrabbable=function(y){return this.nodeIsDraggable(y)&&y.interactive()},c6.load=function(){var y=this,g=function(Jt){return Jt.selected()},x=function(Jt,qn,jr,dr){Jt==null&&(Jt=y.cy);for(var gr=0;gr<qn.length;gr++){var Ua=qn[gr];Jt.emit({originalEvent:jr,type:Ua,position:dr})}},T=function(Jt){return Jt.shiftKey||Jt.metaKey||Jt.ctrlKey},L=function(Jt,qn){var jr=!0;if(y.cy.hasCompoundNodes()&&Jt&&Jt.pannable())for(var dr=0;qn&&dr<qn.length;dr++){var Jt=qn[dr];if(Jt.isNode()&&Jt.isParent()&&!Jt.pannable()){jr=!1;break}}else jr=!0;return jr},I=function(Jt){Jt[0]._private.grabbed=!0},O=function(Jt){Jt[0]._private.grabbed=!1},$=function(Jt){Jt[0]._private.rscratch.inDragLayer=!0},z=function(Jt){Jt[0]._private.rscratch.inDragLayer=!1},S=function(Jt){Jt[0]._private.rscratch.isGrabTarget=!0},V=function(Jt){Jt[0]._private.rscratch.isGrabTarget=!1},U=function(Jt,qn){var jr=qn.addToList,dr=jr.has(Jt);!dr&&Jt.grabbable()&&!Jt.locked()&&(jr.merge(Jt),I(Jt))},tt=function(Jt,qn){if(Jt.cy().hasCompoundNodes()&&!(qn.inDragLayer==null&&qn.addToList==null)){var jr=Jt.descendants();qn.inDragLayer&&(jr.forEach($),jr.connectedEdges().forEach($)),qn.addToList&&U(jr,qn)}},at=function(Jt,qn){qn=qn||{};var jr=Jt.cy().hasCompoundNodes();qn.inDragLayer&&(Jt.forEach($),Jt.neighborhood().stdFilter(function(dr){return!jr||dr.isEdge()}).forEach($)),qn.addToList&&Jt.forEach(function(dr){U(dr,qn)}),tt(Jt,qn),Lt(Jt,{inDragLayer:qn.inDragLayer}),y.updateCachedGrabbedEles()},lt=at,ft=function(Jt){Jt&&(y.getCachedZSortedEles().forEach(function(qn){O(qn),z(qn),V(qn)}),y.updateCachedGrabbedEles())},Lt=function(Jt,qn){if(!(qn.inDragLayer==null&&qn.addToList==null)&&Jt.cy().hasCompoundNodes()){var jr=Jt.ancestors().orphans();if(!jr.same(Jt)){var dr=jr.descendants().spawnSelf().merge(jr).unmerge(Jt).unmerge(Jt.descendants()),gr=dr.connectedEdges();qn.inDragLayer&&(gr.forEach($),dr.forEach($)),qn.addToList&&dr.forEach(function(Ua){U(Ua,qn)})}}},kt=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},Dt=typeof MutationObserver<"u",It=typeof ResizeObserver<"u";Dt?(y.removeObserver=new MutationObserver(function(Nr){for(var Jt=0;Jt<Nr.length;Jt++){var qn=Nr[Jt],jr=qn.removedNodes;if(jr)for(var dr=0;dr<jr.length;dr++){var gr=jr[dr];if(gr===y.container){y.destroy();break}}}}),y.container.parentNode&&y.removeObserver.observe(y.container.parentNode,{childList:!0})):y.registerBinding(y.container,"DOMNodeRemoved",function(Nr){y.destroy()});var qt=hm(function(){y.cy.resize()},100);Dt&&(y.styleObserver=new MutationObserver(qt),y.styleObserver.observe(y.container,{attributes:!0})),y.registerBinding(window,"resize",qt),It&&(y.resizeObserver=new ResizeObserver(qt),y.resizeObserver.observe(y.container));var te=function(Jt,qn){for(;Jt!=null;)qn(Jt),Jt=Jt.parentNode},Yt=function(){y.invalidateContainerClientCoordsCache()};te(y.container,function(Nr){y.registerBinding(Nr,"transitionend",Yt),y.registerBinding(Nr,"animationend",Yt),y.registerBinding(Nr,"scroll",Yt)}),y.registerBinding(y.container,"contextmenu",function(Nr){Nr.preventDefault()});var Ht=function(){return y.selection[4]!==0},ie=function(Jt){for(var qn=y.findContainerClientCoords(),jr=qn[0],dr=qn[1],gr=qn[2],Ua=qn[3],Jr=Jt.touches?Jt.touches:[Jt],us=!1,Yo=0;Yo<Jr.length;Yo++){var Vc=Jr[Yo];if(jr<=Vc.clientX&&Vc.clientX<=jr+gr&&dr<=Vc.clientY&&Vc.clientY<=dr+Ua){us=!0;break}}if(!us)return!1;for(var fo=y.container,Ic=Jt.target,ja=Ic.parentNode,go=!1;ja;){if(ja===fo){go=!0;break}ja=ja.parentNode}return!!go};y.registerBinding(y.container,"mousedown",function(Jt){if(ie(Jt)){Jt.preventDefault(),kt(),y.hoverData.capture=!0,y.hoverData.which=Jt.which;var qn=y.cy,jr=[Jt.clientX,Jt.clientY],dr=y.projectIntoViewport(jr[0],jr[1]),gr=y.selection,Ua=y.findNearestElements(dr[0],dr[1],!0,!1),Jr=Ua[0],us=y.dragData.possibleDragElements;y.hoverData.mdownPos=dr,y.hoverData.mdownGPos=jr;var Yo=function(){y.hoverData.tapholdCancelled=!1,clearTimeout(y.hoverData.tapholdTimeout),y.hoverData.tapholdTimeout=setTimeout(function(){if(!y.hoverData.tapholdCancelled){var Sl=y.hoverData.down;Sl?Sl.emit({originalEvent:Jt,type:"taphold",position:{x:dr[0],y:dr[1]}}):qn.emit({originalEvent:Jt,type:"taphold",position:{x:dr[0],y:dr[1]}})}},y.tapholdDuration)};if(Jt.which==3){y.hoverData.cxtStarted=!0;var Vc={originalEvent:Jt,type:"cxttapstart",position:{x:dr[0],y:dr[1]}};Jr?(Jr.activate(),Jr.emit(Vc),y.hoverData.down=Jr):qn.emit(Vc),y.hoverData.downTime=new Date().getTime(),y.hoverData.cxtDragged=!1}else if(Jt.which==1){Jr&&Jr.activate();{if(Jr!=null&&y.nodeIsGrabbable(Jr)){var fo=function(Sl){return{originalEvent:Jt,type:Sl,position:{x:dr[0],y:dr[1]}}},Ic=function(Sl){Sl.emit(fo("grab"))};if(S(Jr),!Jr.selected())us=y.dragData.possibleDragElements=qn.collection(),lt(Jr,{addToList:us}),Jr.emit(fo("grabon")).emit(fo("grab"));else{us=y.dragData.possibleDragElements=qn.collection();var ja=qn.$(function(go){return go.isNode()&&go.selected()&&y.nodeIsGrabbable(go)});at(ja,{addToList:us}),Jr.emit(fo("grabon")),ja.forEach(Ic)}y.redrawHint("eles",!0),y.redrawHint("drag",!0)}y.hoverData.down=Jr,y.hoverData.downs=Ua,y.hoverData.downTime=new Date().getTime()}x(Jr,["mousedown","tapstart","vmousedown"],Jt,{x:dr[0],y:dr[1]}),Jr==null?(gr[4]=1,y.data.bgActivePosistion={x:dr[0],y:dr[1]},y.redrawHint("select",!0),y.redraw()):Jr.pannable()&&(gr[4]=1),Yo()}gr[0]=gr[2]=dr[0],gr[1]=gr[3]=dr[1]}},!1),y.registerBinding(window,"mousemove",function(Jt){var qn=y.hoverData.capture;if(!(!qn&&!ie(Jt))){var jr=!1,dr=y.cy,gr=dr.zoom(),Ua=[Jt.clientX,Jt.clientY],Jr=y.projectIntoViewport(Ua[0],Ua[1]),us=y.hoverData.mdownPos,Yo=y.hoverData.mdownGPos,Vc=y.selection,fo=null;!y.hoverData.draggingEles&&!y.hoverData.dragging&&!y.hoverData.selecting&&(fo=y.findNearestElement(Jr[0],Jr[1],!0,!1));var Ic=y.hoverData.last,ja=y.hoverData.down,go=[Jr[0]-Vc[2],Jr[1]-Vc[3]],Sl=y.dragData.possibleDragElements,Uf;if(Yo){var _p=Ua[0]-Yo[0],Cp=_p*_p,Wf=Ua[1]-Yo[1],Eg=Wf*Wf,fd=Cp+Eg;y.hoverData.isOverThresholdDrag=Uf=fd>=y.desktopTapThreshold2}var pv=T(Jt);Uf&&(y.hoverData.tapholdCancelled=!0);var Cm=function(){var U2=y.hoverData.dragDelta=y.hoverData.dragDelta||[];U2.length===0?(U2.push(go[0]),U2.push(go[1])):(U2[0]+=go[0],U2[1]+=go[1])};jr=!0,x(fo,["mousemove","vmousemove","tapdrag"],Jt,{x:Jr[0],y:Jr[1]});var p6=function(){y.data.bgActivePosistion=void 0,y.hoverData.selecting||dr.emit({originalEvent:Jt,type:"boxstart",position:{x:Jr[0],y:Jr[1]}}),Vc[4]=1,y.hoverData.selecting=!0,y.redrawHint("select",!0),y.redraw()};if(y.hoverData.which===3){if(Uf){var P3={originalEvent:Jt,type:"cxtdrag",position:{x:Jr[0],y:Jr[1]}};ja?ja.emit(P3):dr.emit(P3),y.hoverData.cxtDragged=!0,(!y.hoverData.cxtOver||fo!==y.hoverData.cxtOver)&&(y.hoverData.cxtOver&&y.hoverData.cxtOver.emit({originalEvent:Jt,type:"cxtdragout",position:{x:Jr[0],y:Jr[1]}}),y.hoverData.cxtOver=fo,fo&&fo.emit({originalEvent:Jt,type:"cxtdragover",position:{x:Jr[0],y:Jr[1]}}))}}else if(y.hoverData.dragging){if(jr=!0,dr.panningEnabled()&&dr.userPanningEnabled()){var b6;if(y.hoverData.justStartedPan){var TT=y.hoverData.mdownPos;b6={x:(Jr[0]-TT[0])*gr,y:(Jr[1]-TT[1])*gr},y.hoverData.justStartedPan=!1}else b6={x:go[0]*gr,y:go[1]*gr};dr.panBy(b6),dr.emit("dragpan"),y.hoverData.dragged=!0}Jr=y.projectIntoViewport(Jt.clientX,Jt.clientY)}else if(Vc[4]==1&&(ja==null||ja.pannable())){if(Uf){if(!y.hoverData.dragging&&dr.boxSelectionEnabled()&&(pv||!dr.panningEnabled()||!dr.userPanningEnabled()))p6();else if(!y.hoverData.selecting&&dr.panningEnabled()&&dr.userPanningEnabled()){var N3=L(ja,y.hoverData.downs);N3&&(y.hoverData.dragging=!0,y.hoverData.justStartedPan=!0,Vc[4]=0,y.data.bgActivePosistion=H5(us),y.redrawHint("select",!0),y.redraw())}ja&&ja.pannable()&&ja.active()&&ja.unactivate()}}else{if(ja&&ja.pannable()&&ja.active()&&ja.unactivate(),(!ja||!ja.grabbed())&&fo!=Ic&&(Ic&&x(Ic,["mouseout","tapdragout"],Jt,{x:Jr[0],y:Jr[1]}),fo&&x(fo,["mouseover","tapdragover"],Jt,{x:Jr[0],y:Jr[1]}),y.hoverData.last=fo),ja)if(Uf){if(dr.boxSelectionEnabled()&&pv)ja&&ja.grabbed()&&(ft(Sl),ja.emit("freeon"),Sl.emit("free"),y.dragData.didDrag&&(ja.emit("dragfreeon"),Sl.emit("dragfree"))),p6();else if(ja&&ja.grabbed()&&y.nodeIsDraggable(ja)){var Vd=!y.dragData.didDrag;Vd&&y.redrawHint("eles",!0),y.dragData.didDrag=!0,y.hoverData.draggingEles||at(Sl,{inDragLayer:!0});var C1={x:0,y:0};if(st(go[0])&&st(go[1])&&(C1.x+=go[0],C1.y+=go[1],Vd)){var Gd=y.hoverData.dragDelta;Gd&&st(Gd[0])&&st(Gd[1])&&(C1.x+=Gd[0],C1.y+=Gd[1])}y.hoverData.draggingEles=!0,Sl.silentShift(C1).emit("position drag"),y.redrawHint("drag",!0),y.redraw()}}else Cm();jr=!0}if(Vc[2]=Jr[0],Vc[3]=Jr[1],jr)return Jt.stopPropagation&&Jt.stopPropagation(),Jt.preventDefault&&Jt.preventDefault(),!1}},!1);var Wt,be,we;y.registerBinding(window,"mouseup",function(Jt){var qn=y.hoverData.capture;if(qn){y.hoverData.capture=!1;var jr=y.cy,dr=y.projectIntoViewport(Jt.clientX,Jt.clientY),gr=y.selection,Ua=y.findNearestElement(dr[0],dr[1],!0,!1),Jr=y.dragData.possibleDragElements,us=y.hoverData.down,Yo=T(Jt);if(y.data.bgActivePosistion&&(y.redrawHint("select",!0),y.redraw()),y.hoverData.tapholdCancelled=!0,y.data.bgActivePosistion=void 0,us&&us.unactivate(),y.hoverData.which===3){var Vc={originalEvent:Jt,type:"cxttapend",position:{x:dr[0],y:dr[1]}};if(us?us.emit(Vc):jr.emit(Vc),!y.hoverData.cxtDragged){var fo={originalEvent:Jt,type:"cxttap",position:{x:dr[0],y:dr[1]}};us?us.emit(fo):jr.emit(fo)}y.hoverData.cxtDragged=!1,y.hoverData.which=null}else if(y.hoverData.which===1){if(x(Ua,["mouseup","tapend","vmouseup"],Jt,{x:dr[0],y:dr[1]}),!y.dragData.didDrag&&!y.hoverData.dragged&&!y.hoverData.selecting&&!y.hoverData.isOverThresholdDrag&&(x(us,["click","tap","vclick"],Jt,{x:dr[0],y:dr[1]}),be=!1,Jt.timeStamp-we<=jr.multiClickDebounceTime()?(Wt&&clearTimeout(Wt),be=!0,we=null,x(us,["dblclick","dbltap","vdblclick"],Jt,{x:dr[0],y:dr[1]})):(Wt=setTimeout(function(){be||x(us,["oneclick","onetap","voneclick"],Jt,{x:dr[0],y:dr[1]})},jr.multiClickDebounceTime()),we=Jt.timeStamp)),us==null&&!y.dragData.didDrag&&!y.hoverData.selecting&&!y.hoverData.dragged&&!T(Jt)&&(jr.$(g).unselect(["tapunselect"]),Jr.length>0&&y.redrawHint("eles",!0),y.dragData.possibleDragElements=Jr=jr.collection()),Ua==us&&!y.dragData.didDrag&&!y.hoverData.selecting&&Ua!=null&&Ua._private.selectable&&(y.hoverData.dragging||(jr.selectionType()==="additive"||Yo?Ua.selected()?Ua.unselect(["tapunselect"]):Ua.select(["tapselect"]):Yo||(jr.$(g).unmerge(Ua).unselect(["tapunselect"]),Ua.select(["tapselect"]))),y.redrawHint("eles",!0)),y.hoverData.selecting){var Ic=jr.collection(y.getAllInBox(gr[0],gr[1],gr[2],gr[3]));y.redrawHint("select",!0),Ic.length>0&&y.redrawHint("eles",!0),jr.emit({type:"boxend",originalEvent:Jt,position:{x:dr[0],y:dr[1]}});var ja=function(Uf){return Uf.selectable()&&!Uf.selected()};jr.selectionType()==="additive"||Yo||jr.$(g).unmerge(Ic).unselect(),Ic.emit("box").stdFilter(ja).select().emit("boxselect"),y.redraw()}if(y.hoverData.dragging&&(y.hoverData.dragging=!1,y.redrawHint("select",!0),y.redrawHint("eles",!0),y.redraw()),!gr[4]){y.redrawHint("drag",!0),y.redrawHint("eles",!0);var go=us&&us.grabbed();ft(Jr),go&&(us.emit("freeon"),Jr.emit("free"),y.dragData.didDrag&&(us.emit("dragfreeon"),Jr.emit("dragfree")))}}gr[4]=0,y.hoverData.down=null,y.hoverData.cxtStarted=!1,y.hoverData.draggingEles=!1,y.hoverData.selecting=!1,y.hoverData.isOverThresholdDrag=!1,y.dragData.didDrag=!1,y.hoverData.dragged=!1,y.hoverData.dragDelta=[],y.hoverData.mdownPos=null,y.hoverData.mdownGPos=null}},!1);var ae=function(Jt){if(!y.scrollingPage){var qn=y.cy,jr=qn.zoom(),dr=qn.pan(),gr=y.projectIntoViewport(Jt.clientX,Jt.clientY),Ua=[gr[0]*jr+dr.x,gr[1]*jr+dr.y];if(y.hoverData.draggingEles||y.hoverData.dragging||y.hoverData.cxtStarted||Ht()){Jt.preventDefault();return}if(qn.panningEnabled()&&qn.userPanningEnabled()&&qn.zoomingEnabled()&&qn.userZoomingEnabled()){Jt.preventDefault(),y.data.wheelZooming=!0,clearTimeout(y.data.wheelTimeout),y.data.wheelTimeout=setTimeout(function(){y.data.wheelZooming=!1,y.redrawHint("eles",!0),y.redraw()},150);var Jr;Jt.deltaY!=null?Jr=Jt.deltaY/-250:Jt.wheelDeltaY!=null?Jr=Jt.wheelDeltaY/1e3:Jr=Jt.wheelDelta/1e3,Jr=Jr*y.wheelSensitivity;var us=Jt.deltaMode===1;us&&(Jr*=33);var Yo=qn.zoom()*Math.pow(10,Jr);Jt.type==="gesturechange"&&(Yo=y.gestureStartZoom*Jt.scale),qn.zoom({level:Yo,renderedPosition:{x:Ua[0],y:Ua[1]}}),qn.emit(Jt.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};y.registerBinding(y.container,"wheel",ae,!0),y.registerBinding(window,"scroll",function(Jt){y.scrollingPage=!0,clearTimeout(y.scrollingPageTimeout),y.scrollingPageTimeout=setTimeout(function(){y.scrollingPage=!1},250)},!0),y.registerBinding(y.container,"gesturestart",function(Jt){y.gestureStartZoom=y.cy.zoom(),y.hasTouchStarted||Jt.preventDefault()},!0),y.registerBinding(y.container,"gesturechange",function(Nr){y.hasTouchStarted||ae(Nr)},!0),y.registerBinding(y.container,"mouseout",function(Jt){var qn=y.projectIntoViewport(Jt.clientX,Jt.clientY);y.cy.emit({originalEvent:Jt,type:"mouseout",position:{x:qn[0],y:qn[1]}})},!1),y.registerBinding(y.container,"mouseover",function(Jt){var qn=y.projectIntoViewport(Jt.clientX,Jt.clientY);y.cy.emit({originalEvent:Jt,type:"mouseover",position:{x:qn[0],y:qn[1]}})},!1);var Ne,me,gn,ze,Ge,xn,On,nr,Sn,er,fr,Mr,yr,lr=function(Jt,qn,jr,dr){return Math.sqrt((jr-Jt)*(jr-Jt)+(dr-qn)*(dr-qn))},bn=function(Jt,qn,jr,dr){return(jr-Jt)*(jr-Jt)+(dr-qn)*(dr-qn)},Sr;y.registerBinding(y.container,"touchstart",Sr=function(Jt){if(y.hasTouchStarted=!0,!!ie(Jt)){kt(),y.touchData.capture=!0,y.data.bgActivePosistion=void 0;var qn=y.cy,jr=y.touchData.now,dr=y.touchData.earlier;if(Jt.touches[0]){var gr=y.projectIntoViewport(Jt.touches[0].clientX,Jt.touches[0].clientY);jr[0]=gr[0],jr[1]=gr[1]}if(Jt.touches[1]){var gr=y.projectIntoViewport(Jt.touches[1].clientX,Jt.touches[1].clientY);jr[2]=gr[0],jr[3]=gr[1]}if(Jt.touches[2]){var gr=y.projectIntoViewport(Jt.touches[2].clientX,Jt.touches[2].clientY);jr[4]=gr[0],jr[5]=gr[1]}if(Jt.touches[1]){y.touchData.singleTouchMoved=!0,ft(y.dragData.touchDragEles);var Ua=y.findContainerClientCoords();Sn=Ua[0],er=Ua[1],fr=Ua[2],Mr=Ua[3],Ne=Jt.touches[0].clientX-Sn,me=Jt.touches[0].clientY-er,gn=Jt.touches[1].clientX-Sn,ze=Jt.touches[1].clientY-er,yr=0<=Ne&&Ne<=fr&&0<=gn&&gn<=fr&&0<=me&&me<=Mr&&0<=ze&&ze<=Mr;var Jr=qn.pan(),us=qn.zoom();Ge=lr(Ne,me,gn,ze),xn=bn(Ne,me,gn,ze),On=[(Ne+gn)/2,(me+ze)/2],nr=[(On[0]-Jr.x)/us,(On[1]-Jr.y)/us];var Yo=200,Vc=Yo*Yo;if(xn<Vc&&!Jt.touches[2]){var fo=y.findNearestElement(jr[0],jr[1],!0,!0),Ic=y.findNearestElement(jr[2],jr[3],!0,!0);fo&&fo.isNode()?(fo.activate().emit({originalEvent:Jt,type:"cxttapstart",position:{x:jr[0],y:jr[1]}}),y.touchData.start=fo):Ic&&Ic.isNode()?(Ic.activate().emit({originalEvent:Jt,type:"cxttapstart",position:{x:jr[0],y:jr[1]}}),y.touchData.start=Ic):qn.emit({originalEvent:Jt,type:"cxttapstart",position:{x:jr[0],y:jr[1]}}),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!0,y.touchData.cxtDragged=!1,y.data.bgActivePosistion=void 0,y.redraw();return}}if(Jt.touches[2])qn.boxSelectionEnabled()&&Jt.preventDefault();else if(!Jt.touches[1]){if(Jt.touches[0]){var ja=y.findNearestElements(jr[0],jr[1],!0,!0),go=ja[0];if(go!=null&&(go.activate(),y.touchData.start=go,y.touchData.starts=ja,y.nodeIsGrabbable(go))){var Sl=y.dragData.touchDragEles=qn.collection(),Uf=null;y.redrawHint("eles",!0),y.redrawHint("drag",!0),go.selected()?(Uf=qn.$(function(fd){return fd.selected()&&y.nodeIsGrabbable(fd)}),at(Uf,{addToList:Sl})):lt(go,{addToList:Sl}),S(go);var _p=function(pv){return{originalEvent:Jt,type:pv,position:{x:jr[0],y:jr[1]}}};go.emit(_p("grabon")),Uf?Uf.forEach(function(fd){fd.emit(_p("grab"))}):go.emit(_p("grab"))}x(go,["touchstart","tapstart","vmousedown"],Jt,{x:jr[0],y:jr[1]}),go==null&&(y.data.bgActivePosistion={x:gr[0],y:gr[1]},y.redrawHint("select",!0),y.redraw()),y.touchData.singleTouchMoved=!1,y.touchData.singleTouchStartTime=+new Date,clearTimeout(y.touchData.tapholdTimeout),y.touchData.tapholdTimeout=setTimeout(function(){y.touchData.singleTouchMoved===!1&&!y.pinching&&!y.touchData.selecting&&x(y.touchData.start,["taphold"],Jt,{x:jr[0],y:jr[1]})},y.tapholdDuration)}}if(Jt.touches.length>=1){for(var Cp=y.touchData.startPosition=[],Wf=0;Wf<jr.length;Wf++)Cp[Wf]=dr[Wf]=jr[Wf];var Eg=Jt.touches[0];y.touchData.startGPosition=[Eg.clientX,Eg.clientY]}}},!1);var Er;y.registerBinding(window,"touchmove",Er=function(Jt){var qn=y.touchData.capture;if(!(!qn&&!ie(Jt))){var jr=y.selection,dr=y.cy,gr=y.touchData.now,Ua=y.touchData.earlier,Jr=dr.zoom();if(Jt.touches[0]){var us=y.projectIntoViewport(Jt.touches[0].clientX,Jt.touches[0].clientY);gr[0]=us[0],gr[1]=us[1]}if(Jt.touches[1]){var us=y.projectIntoViewport(Jt.touches[1].clientX,Jt.touches[1].clientY);gr[2]=us[0],gr[3]=us[1]}if(Jt.touches[2]){var us=y.projectIntoViewport(Jt.touches[2].clientX,Jt.touches[2].clientY);gr[4]=us[0],gr[5]=us[1]}var Yo=y.touchData.startGPosition,Vc;if(qn&&Jt.touches[0]&&Yo){for(var fo=[],Ic=0;Ic<gr.length;Ic++)fo[Ic]=gr[Ic]-Ua[Ic];var ja=Jt.touches[0].clientX-Yo[0],go=ja*ja,Sl=Jt.touches[0].clientY-Yo[1],Uf=Sl*Sl,_p=go+Uf;Vc=_p>=y.touchTapThreshold2}if(qn&&y.touchData.cxt){Jt.preventDefault();var Cp=Jt.touches[0].clientX-Sn,Wf=Jt.touches[0].clientY-er,Eg=Jt.touches[1].clientX-Sn,fd=Jt.touches[1].clientY-er,pv=bn(Cp,Wf,Eg,fd),Cm=pv/xn,p6=150,P3=p6*p6,b6=1.5,TT=b6*b6;if(Cm>=TT||pv>=P3){y.touchData.cxt=!1,y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var N3={originalEvent:Jt,type:"cxttapend",position:{x:gr[0],y:gr[1]}};y.touchData.start?(y.touchData.start.unactivate().emit(N3),y.touchData.start=null):dr.emit(N3)}}if(qn&&y.touchData.cxt){var N3={originalEvent:Jt,type:"cxtdrag",position:{x:gr[0],y:gr[1]}};y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.touchData.start?y.touchData.start.emit(N3):dr.emit(N3),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxtDragged=!0;var Vd=y.findNearestElement(gr[0],gr[1],!0,!0);(!y.touchData.cxtOver||Vd!==y.touchData.cxtOver)&&(y.touchData.cxtOver&&y.touchData.cxtOver.emit({originalEvent:Jt,type:"cxtdragout",position:{x:gr[0],y:gr[1]}}),y.touchData.cxtOver=Vd,Vd&&Vd.emit({originalEvent:Jt,type:"cxtdragover",position:{x:gr[0],y:gr[1]}}))}else if(qn&&Jt.touches[2]&&dr.boxSelectionEnabled())Jt.preventDefault(),y.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,y.touchData.selecting||dr.emit({originalEvent:Jt,type:"boxstart",position:{x:gr[0],y:gr[1]}}),y.touchData.selecting=!0,y.touchData.didSelect=!0,jr[4]=1,!jr||jr.length===0||jr[0]===void 0?(jr[0]=(gr[0]+gr[2]+gr[4])/3,jr[1]=(gr[1]+gr[3]+gr[5])/3,jr[2]=(gr[0]+gr[2]+gr[4])/3+1,jr[3]=(gr[1]+gr[3]+gr[5])/3+1):(jr[2]=(gr[0]+gr[2]+gr[4])/3,jr[3]=(gr[1]+gr[3]+gr[5])/3),y.redrawHint("select",!0),y.redraw();else if(qn&&Jt.touches[1]&&!y.touchData.didSelect&&dr.zoomingEnabled()&&dr.panningEnabled()&&dr.userZoomingEnabled()&&dr.userPanningEnabled()){Jt.preventDefault(),y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var C1=y.dragData.touchDragEles;if(C1){y.redrawHint("drag",!0);for(var Gd=0;Gd<C1.length;Gd++){var _T=C1[Gd]._private;_T.grabbed=!1,_T.rscratch.inDragLayer=!1}}var U2=y.touchData.start,Cp=Jt.touches[0].clientX-Sn,Wf=Jt.touches[0].clientY-er,Eg=Jt.touches[1].clientX-Sn,fd=Jt.touches[1].clientY-er,iR=lr(Cp,Wf,Eg,fd),Itt=iR/Ge;if(yr){var Ott=Cp-Ne,Ptt=Wf-me,Ntt=Eg-gn,Ftt=fd-ze,Btt=(Ott+Ntt)/2,Rtt=(Ptt+Ftt)/2,Wk=dr.zoom(),cM=Wk*Itt,CT=dr.pan(),sR=nr[0]*Wk+CT.x,aR=nr[1]*Wk+CT.y,jtt={x:-cM/Wk*(sR-CT.x-Btt)+sR,y:-cM/Wk*(aR-CT.y-Rtt)+aR};if(U2&&U2.active()){var C1=y.dragData.touchDragEles;ft(C1),y.redrawHint("drag",!0),y.redrawHint("eles",!0),U2.unactivate().emit("freeon"),C1.emit("free"),y.dragData.didDrag&&(U2.emit("dragfreeon"),C1.emit("dragfree"))}dr.viewport({zoom:cM,pan:jtt,cancelOnFailedZoom:!0}),dr.emit("pinchzoom"),Ge=iR,Ne=Cp,me=Wf,gn=Eg,ze=fd,y.pinching=!0}if(Jt.touches[0]){var us=y.projectIntoViewport(Jt.touches[0].clientX,Jt.touches[0].clientY);gr[0]=us[0],gr[1]=us[1]}if(Jt.touches[1]){var us=y.projectIntoViewport(Jt.touches[1].clientX,Jt.touches[1].clientY);gr[2]=us[0],gr[3]=us[1]}if(Jt.touches[2]){var us=y.projectIntoViewport(Jt.touches[2].clientX,Jt.touches[2].clientY);gr[4]=us[0],gr[5]=us[1]}}else if(Jt.touches[0]&&!y.touchData.didSelect){var Sp=y.touchData.start,uM=y.touchData.last,Vd;if(!y.hoverData.draggingEles&&!y.swipePanning&&(Vd=y.findNearestElement(gr[0],gr[1],!0,!0)),qn&&Sp!=null&&Jt.preventDefault(),qn&&Sp!=null&&y.nodeIsDraggable(Sp))if(Vc){var C1=y.dragData.touchDragEles,oR=!y.dragData.didDrag;oR&&at(C1,{inDragLayer:!0}),y.dragData.didDrag=!0;var Kk={x:0,y:0};if(st(fo[0])&&st(fo[1])&&(Kk.x+=fo[0],Kk.y+=fo[1],oR)){y.redrawHint("eles",!0);var Ap=y.touchData.dragDelta;Ap&&st(Ap[0])&&st(Ap[1])&&(Kk.x+=Ap[0],Kk.y+=Ap[1])}y.hoverData.draggingEles=!0,C1.silentShift(Kk).emit("position drag"),y.redrawHint("drag",!0),y.touchData.startPosition[0]==Ua[0]&&y.touchData.startPosition[1]==Ua[1]&&y.redrawHint("eles",!0),y.redraw()}else{var Ap=y.touchData.dragDelta=y.touchData.dragDelta||[];Ap.length===0?(Ap.push(fo[0]),Ap.push(fo[1])):(Ap[0]+=fo[0],Ap[1]+=fo[1])}if(x(Sp||Vd,["touchmove","tapdrag","vmousemove"],Jt,{x:gr[0],y:gr[1]}),(!Sp||!Sp.grabbed())&&Vd!=uM&&(uM&&uM.emit({originalEvent:Jt,type:"tapdragout",position:{x:gr[0],y:gr[1]}}),Vd&&Vd.emit({originalEvent:Jt,type:"tapdragover",position:{x:gr[0],y:gr[1]}})),y.touchData.last=Vd,qn)for(var Gd=0;Gd<gr.length;Gd++)gr[Gd]&&y.touchData.startPosition[Gd]&&Vc&&(y.touchData.singleTouchMoved=!0);if(qn&&(Sp==null||Sp.pannable())&&dr.panningEnabled()&&dr.userPanningEnabled()){var $tt=L(Sp,y.touchData.starts);$tt&&(Jt.preventDefault(),y.data.bgActivePosistion||(y.data.bgActivePosistion=H5(y.touchData.startPosition)),y.swipePanning?(dr.panBy({x:fo[0]*Jr,y:fo[1]*Jr}),dr.emit("dragpan")):Vc&&(y.swipePanning=!0,dr.panBy({x:ja*Jr,y:Sl*Jr}),dr.emit("dragpan"),Sp&&(Sp.unactivate(),y.redrawHint("select",!0),y.touchData.start=null)));var us=y.projectIntoViewport(Jt.touches[0].clientX,Jt.touches[0].clientY);gr[0]=us[0],gr[1]=us[1]}}for(var Ic=0;Ic<gr.length;Ic++)Ua[Ic]=gr[Ic];qn&&Jt.touches.length>0&&!y.hoverData.draggingEles&&!y.swipePanning&&y.data.bgActivePosistion!=null&&(y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.redraw())}},!1);var fi;y.registerBinding(window,"touchcancel",fi=function(Jt){var qn=y.touchData.start;y.touchData.capture=!1,qn&&qn.unactivate()});var Ii,oa,Ra,Fi;if(y.registerBinding(window,"touchend",Ii=function(Jt){var qn=y.touchData.start,jr=y.touchData.capture;if(jr)Jt.touches.length===0&&(y.touchData.capture=!1),Jt.preventDefault();else return;var dr=y.selection;y.swipePanning=!1,y.hoverData.draggingEles=!1;var gr=y.cy,Ua=gr.zoom(),Jr=y.touchData.now,us=y.touchData.earlier;if(Jt.touches[0]){var Yo=y.projectIntoViewport(Jt.touches[0].clientX,Jt.touches[0].clientY);Jr[0]=Yo[0],Jr[1]=Yo[1]}if(Jt.touches[1]){var Yo=y.projectIntoViewport(Jt.touches[1].clientX,Jt.touches[1].clientY);Jr[2]=Yo[0],Jr[3]=Yo[1]}if(Jt.touches[2]){var Yo=y.projectIntoViewport(Jt.touches[2].clientX,Jt.touches[2].clientY);Jr[4]=Yo[0],Jr[5]=Yo[1]}qn&&qn.unactivate();var Vc;if(y.touchData.cxt){if(Vc={originalEvent:Jt,type:"cxttapend",position:{x:Jr[0],y:Jr[1]}},qn?qn.emit(Vc):gr.emit(Vc),!y.touchData.cxtDragged){var fo={originalEvent:Jt,type:"cxttap",position:{x:Jr[0],y:Jr[1]}};qn?qn.emit(fo):gr.emit(fo)}y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!1,y.touchData.start=null,y.redraw();return}if(!Jt.touches[2]&&gr.boxSelectionEnabled()&&y.touchData.selecting){y.touchData.selecting=!1;var Ic=gr.collection(y.getAllInBox(dr[0],dr[1],dr[2],dr[3]));dr[0]=void 0,dr[1]=void 0,dr[2]=void 0,dr[3]=void 0,dr[4]=0,y.redrawHint("select",!0),gr.emit({type:"boxend",originalEvent:Jt,position:{x:Jr[0],y:Jr[1]}});var ja=function(P3){return P3.selectable()&&!P3.selected()};Ic.emit("box").stdFilter(ja).select().emit("boxselect"),Ic.nonempty()&&y.redrawHint("eles",!0),y.redraw()}if(qn!=null&&qn.unactivate(),Jt.touches[2])y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);else if(!Jt.touches[1]){if(!Jt.touches[0]){if(!Jt.touches[0]){y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var go=y.dragData.touchDragEles;if(qn!=null){var Sl=qn._private.grabbed;ft(go),y.redrawHint("drag",!0),y.redrawHint("eles",!0),Sl&&(qn.emit("freeon"),go.emit("free"),y.dragData.didDrag&&(qn.emit("dragfreeon"),go.emit("dragfree"))),x(qn,["touchend","tapend","vmouseup","tapdragout"],Jt,{x:Jr[0],y:Jr[1]}),qn.unactivate(),y.touchData.start=null}else{var Uf=y.findNearestElement(Jr[0],Jr[1],!0,!0);x(Uf,["touchend","tapend","vmouseup","tapdragout"],Jt,{x:Jr[0],y:Jr[1]})}var _p=y.touchData.startPosition[0]-Jr[0],Cp=_p*_p,Wf=y.touchData.startPosition[1]-Jr[1],Eg=Wf*Wf,fd=Cp+Eg,pv=fd*Ua*Ua;y.touchData.singleTouchMoved||(qn||gr.$(":selected").unselect(["tapunselect"]),x(qn,["tap","vclick"],Jt,{x:Jr[0],y:Jr[1]}),oa=!1,Jt.timeStamp-Fi<=gr.multiClickDebounceTime()?(Ra&&clearTimeout(Ra),oa=!0,Fi=null,x(qn,["dbltap","vdblclick"],Jt,{x:Jr[0],y:Jr[1]})):(Ra=setTimeout(function(){oa||x(qn,["onetap","voneclick"],Jt,{x:Jr[0],y:Jr[1]})},gr.multiClickDebounceTime()),Fi=Jt.timeStamp)),qn!=null&&!y.dragData.didDrag&&qn._private.selectable&&pv<y.touchTapThreshold2&&!y.pinching&&(gr.selectionType()==="single"?(gr.$(g).unmerge(qn).unselect(["tapunselect"]),qn.select(["tapselect"])):qn.selected()?qn.unselect(["tapunselect"]):qn.select(["tapselect"]),y.redrawHint("eles",!0)),y.touchData.singleTouchMoved=!0}}}for(var Cm=0;Cm<Jr.length;Cm++)us[Cm]=Jr[Cm];y.dragData.didDrag=!1,Jt.touches.length===0&&(y.touchData.dragDelta=[],y.touchData.startPosition=null,y.touchData.startGPosition=null,y.touchData.didSelect=!1),Jt.touches.length<2&&(Jt.touches.length===1&&(y.touchData.startGPosition=[Jt.touches[0].clientX,Jt.touches[0].clientY]),y.pinching=!1,y.redrawHint("eles",!0),y.redraw())},!1),typeof TouchEvent>"u"){var _i=[],Ms=function(Jt){return{clientX:Jt.clientX,clientY:Jt.clientY,force:1,identifier:Jt.pointerId,pageX:Jt.pageX,pageY:Jt.pageY,radiusX:Jt.width/2,radiusY:Jt.height/2,screenX:Jt.screenX,screenY:Jt.screenY,target:Jt.target}},ts=function(Jt){return{event:Jt,touch:Ms(Jt)}},Ri=function(Jt){_i.push(ts(Jt))},ss=function(Jt){for(var qn=0;qn<_i.length;qn++){var jr=_i[qn];if(jr.event.pointerId===Jt.pointerId){_i.splice(qn,1);return}}},ro=function(Jt){var qn=_i.filter(function(jr){return jr.event.pointerId===Jt.pointerId})[0];qn.event=Jt,qn.touch=Ms(Jt)},ca=function(Jt){Jt.touches=_i.map(function(qn){return qn.touch})},ea=function(Jt){return Jt.pointerType==="mouse"||Jt.pointerType===4};y.registerBinding(y.container,"pointerdown",function(Nr){ea(Nr)||(Nr.preventDefault(),Ri(Nr),ca(Nr),Sr(Nr))}),y.registerBinding(y.container,"pointerup",function(Nr){ea(Nr)||(ss(Nr),ca(Nr),Ii(Nr))}),y.registerBinding(y.container,"pointercancel",function(Nr){ea(Nr)||(ss(Nr),ca(Nr),fi(Nr))}),y.registerBinding(y.container,"pointermove",function(Nr){ea(Nr)||(Nr.preventDefault(),ro(Nr),ca(Nr),Er(Nr))})}};var fv={};fv.generatePolygon=function(y,g){return this.nodeShapes[y]={renderer:this,name:y,points:g,draw:function(T,L,I,O,$){this.renderer.nodeShapeImpl("polygon",T,L,I,O,$,this.points)},intersectLine:function(T,L,I,O,$,z,S){return xk($,z,this.points,T,L,I/2,O/2,S)},checkPoint:function(T,L,I,O,$,z,S){return uv(T,L,this.points,z,S,O,$,[0,-1],I)}}},fv.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(g,x,T,L,I){this.renderer.nodeShapeImpl(this.name,g,x,T,L,I)},intersectLine:function(g,x,T,L,I,O,$){return FY(I,O,g,x,T/2+$,L/2+$)},checkPoint:function(g,x,T,L,I,O,$){return C3(g,x,L,I,O,$,T)}}},fv.generateRoundPolygon=function(y,g){for(var x=new Array(g.length*2),T=0;T<g.length/2;T++){var L=T*2,I=void 0;T<g.length/2-1?I=(T+1)*2:I=0,x[T*4]=g[L],x[T*4+1]=g[L+1];var O=g[I]-g[L],$=g[I+1]-g[L+1],z=Math.sqrt(O*O+$*$);x[T*4+2]=O/z,x[T*4+3]=$/z}return this.nodeShapes[y]={renderer:this,name:y,points:x,draw:function(V,U,tt,at,lt){this.renderer.nodeShapeImpl("round-polygon",V,U,tt,at,lt,this.points)},intersectLine:function(V,U,tt,at,lt,ft,Lt){return BY(lt,ft,this.points,V,U,tt,at)},checkPoint:function(V,U,tt,at,lt,ft,Lt){return NY(V,U,this.points,ft,Lt,at,lt)}}},fv.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:ud(4,0),draw:function(g,x,T,L,I){this.renderer.nodeShapeImpl(this.name,g,x,T,L,I)},intersectLine:function(g,x,T,L,I,O,$){return rF(I,O,g,x,T,L,$)},checkPoint:function(g,x,T,L,I,O,$){var z=kk(L,I),S=z*2;return!!(uv(g,x,this.points,O,$,L,I-S,[0,-1],T)||uv(g,x,this.points,O,$,L-S,I,[0,-1],T)||C3(g,x,S,S,O-L/2+z,$-I/2+z,T)||C3(g,x,S,S,O+L/2-z,$-I/2+z,T)||C3(g,x,S,S,O+L/2-z,$+I/2-z,T)||C3(g,x,S,S,O-L/2+z,$+I/2-z,T))}}},fv.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:oF(),points:ud(4,0),draw:function(g,x,T,L,I){this.renderer.nodeShapeImpl(this.name,g,x,T,L,I)},generateCutTrianglePts:function(g,x,T,L){var I=this.cornerLength,O=x/2,$=g/2,z=T-$,S=T+$,V=L-O,U=L+O;return{topLeft:[z,V+I,z+I,V,z+I,V+I],topRight:[S-I,V,S,V+I,S-I,V+I],bottomRight:[S,U-I,S-I,U,S-I,U-I],bottomLeft:[z+I,U,z,U-I,z+I,U-I]}},intersectLine:function(g,x,T,L,I,O,$){var z=this.generateCutTrianglePts(T+2*$,L+2*$,g,x),S=[].concat.apply([],[z.topLeft.splice(0,4),z.topRight.splice(0,4),z.bottomRight.splice(0,4),z.bottomLeft.splice(0,4)]);return xk(I,O,S,g,x)},checkPoint:function(g,x,T,L,I,O,$){if(uv(g,x,this.points,O,$,L,I-2*this.cornerLength,[0,-1],T)||uv(g,x,this.points,O,$,L-2*this.cornerLength,I,[0,-1],T))return!0;var z=this.generateCutTrianglePts(L,I,O,$);return Hd(g,x,z.topLeft)||Hd(g,x,z.topRight)||Hd(g,x,z.bottomRight)||Hd(g,x,z.bottomLeft)}}},fv.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:ud(4,0),draw:function(g,x,T,L,I){this.renderer.nodeShapeImpl(this.name,g,x,T,L,I)},intersectLine:function(g,x,T,L,I,O,$){var z=.15,S=.5,V=.85,U=this.generateBarrelBezierPts(T+2*$,L+2*$,g,x),tt=function(ft){var Lt=V5({x:ft[0],y:ft[1]},{x:ft[2],y:ft[3]},{x:ft[4],y:ft[5]},z),kt=V5({x:ft[0],y:ft[1]},{x:ft[2],y:ft[3]},{x:ft[4],y:ft[5]},S),Dt=V5({x:ft[0],y:ft[1]},{x:ft[2],y:ft[3]},{x:ft[4],y:ft[5]},V);return[ft[0],ft[1],Lt.x,Lt.y,kt.x,kt.y,Dt.x,Dt.y,ft[4],ft[5]]},at=[].concat(tt(U.topLeft),tt(U.topRight),tt(U.bottomRight),tt(U.bottomLeft));return xk(I,O,at,g,x)},generateBarrelBezierPts:function(g,x,T,L){var I=x/2,O=g/2,$=T-O,z=T+O,S=L-I,V=L+I,U=ML(g,x),tt=U.heightOffset,at=U.widthOffset,lt=U.ctrlPtOffsetPct*g,ft={topLeft:[$,S+tt,$+lt,S,$+at,S],topRight:[z-at,S,z-lt,S,z,S+tt],bottomRight:[z,V-tt,z-lt,V,z-at,V],bottomLeft:[$+at,V,$+lt,V,$,V-tt]};return ft.topLeft.isTop=!0,ft.topRight.isTop=!0,ft.bottomLeft.isBottom=!0,ft.bottomRight.isBottom=!0,ft},checkPoint:function(g,x,T,L,I,O,$){var z=ML(L,I),S=z.heightOffset,V=z.widthOffset;if(uv(g,x,this.points,O,$,L,I-2*S,[0,-1],T)||uv(g,x,this.points,O,$,L-2*V,I,[0,-1],T))return!0;for(var U=this.generateBarrelBezierPts(L,I,O,$),tt=function(Ht,ie,Wt){var be=Wt[4],we=Wt[2],ae=Wt[0],Ne=Wt[5],me=Wt[1],gn=Math.min(be,ae),ze=Math.max(be,ae),Ge=Math.min(Ne,me),xn=Math.max(Ne,me);if(gn<=Ht&&Ht<=ze&&Ge<=ie&&ie<=xn){var On=RY(be,we,ae),nr=DY(On[0],On[1],On[2],Ht),Sn=nr.filter(function(er){return 0<=er&&er<=1});if(Sn.length>0)return Sn[0]}return null},at=Object.keys(U),lt=0;lt<at.length;lt++){var ft=at[lt],Lt=U[ft],kt=tt(g,x,Lt);if(kt!=null){var Dt=Lt[5],It=Lt[3],qt=Lt[1],te=hf(Dt,It,qt,kt);if(Lt.isTop&&te<=x||Lt.isBottom&&x<=te)return!0}}return!1}}},fv.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ud(4,0),draw:function(g,x,T,L,I){this.renderer.nodeShapeImpl(this.name,g,x,T,L,I)},intersectLine:function(g,x,T,L,I,O,$){var z=g-(T/2+$),S=x-(L/2+$),V=S,U=g+(T/2+$),tt=vm(I,O,g,x,z,S,U,V,!1);return tt.length>0?tt:rF(I,O,g,x,T,L,$)},checkPoint:function(g,x,T,L,I,O,$){var z=kk(L,I),S=2*z;if(uv(g,x,this.points,O,$,L,I-S,[0,-1],T)||uv(g,x,this.points,O,$,L-S,I,[0,-1],T))return!0;var V=L/2+2*T,U=I/2+2*T,tt=[O-V,$-U,O-V,$,O+V,$,O+V,$-U];return!!(Hd(g,x,tt)||C3(g,x,S,S,O+L/2-z,$+I/2-z,T)||C3(g,x,S,S,O-L/2+z,$+I/2-z,T))}}},fv.registerNodeShapes=function(){var y=this.nodeShapes={},g=this;this.generateEllipse(),this.generatePolygon("triangle",ud(3,0)),this.generateRoundPolygon("round-triangle",ud(3,0)),this.generatePolygon("rectangle",ud(4,0)),y.square=y.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var x=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",x),this.generateRoundPolygon("round-diamond",x)}this.generatePolygon("pentagon",ud(5,0)),this.generateRoundPolygon("round-pentagon",ud(5,0)),this.generatePolygon("hexagon",ud(6,0)),this.generateRoundPolygon("round-hexagon",ud(6,0)),this.generatePolygon("heptagon",ud(7,0)),this.generateRoundPolygon("round-heptagon",ud(7,0)),this.generatePolygon("octagon",ud(8,0)),this.generateRoundPolygon("round-octagon",ud(8,0));var T=new Array(20);{var L=AL(5,0),I=AL(5,Math.PI/5),O=.5*(3-Math.sqrt(5));O*=1.57;for(var $=0;$<I.length/2;$++)I[$*2]*=O,I[$*2+1]*=O;for(var $=0;$<20/4;$++)T[$*4]=L[$*2],T[$*4+1]=L[$*2+1],T[$*4+2]=I[$*2],T[$*4+3]=I[$*2+1]}T=aF(T),this.generatePolygon("star",T),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var z=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",z),this.generateRoundPolygon("round-tag",z)}y.makePolygon=function(S){var V=S.join("$"),U="polygon-"+V,tt;return(tt=this[U])?tt:g.generatePolygon(U,S)}};var zk={};zk.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},zk.redraw=function(y){y=y||XN();var g=this;g.averageRedrawTime===void 0&&(g.averageRedrawTime=0),g.lastRedrawTime===void 0&&(g.lastRedrawTime=0),g.lastDrawTime===void 0&&(g.lastDrawTime=0),g.requestedFrame=!0,g.renderOptions=y},zk.beforeRender=function(y,g){if(!this.destroyed){g==null&&Ec("Priority is not optional for beforeRender");var x=this.beforeRenderCallbacks;x.push({fn:y,priority:g}),x.sort(function(T,L){return L.priority-T.priority})}};var WB=function(g,x,T){for(var L=g.beforeRenderCallbacks,I=0;I<L.length;I++)L[I].fn(x,T)};zk.startRenderLoop=function(){var y=this,g=y.cy;if(!y.renderLoopStarted){y.renderLoopStarted=!0;var x=function T(L){if(!y.destroyed){if(!g.batching())if(y.requestedFrame&&!y.skipFrame){WB(y,!0,L);var I=ki();y.render(y.renderOptions);var O=y.lastDrawTime=ki();y.averageRedrawTime===void 0&&(y.averageRedrawTime=O-I),y.redrawCount===void 0&&(y.redrawCount=0),y.redrawCount++,y.redrawTotalTime===void 0&&(y.redrawTotalTime=0);var $=O-I;y.redrawTotalTime+=$,y.lastRedrawTime=$,y.averageRedrawTime=y.averageRedrawTime/2+$/2,y.requestedFrame=!1}else WB(y,!1,L);y.skipFrame=!1,Da(T)}};Da(x)}};var ett=function(g){this.init(g)},tM=ett,D3=tM.prototype;D3.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],D3.init=function(y){var g=this;g.options=y,g.cy=y.cy;var x=g.container=y.cy.container();if(R){var T=R.document,L=T.head,I="__________cytoscape_stylesheet",O="__________cytoscape_container",$=T.getElementById(I)!=null;if(x.className.indexOf(O)<0&&(x.className=(x.className||"")+" "+O),!$){var z=T.createElement("style");z.id=I,z.innerHTML="."+O+" { position: relative; }",L.insertBefore(z,L.children[0])}var S=R.getComputedStyle(x),V=S.getPropertyValue("position");V==="static"&&Ko("A Cytoscape container has style position:static and so can not use UI extensions properly")}g.selection=[void 0,void 0,void 0,void 0,0],g.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],g.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},g.dragData={possibleDragElements:[]},g.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},g.redraws=0,g.showFps=y.showFps,g.debug=y.debug,g.hideEdgesOnViewport=y.hideEdgesOnViewport,g.textureOnViewport=y.textureOnViewport,g.wheelSensitivity=y.wheelSensitivity,g.motionBlurEnabled=y.motionBlur,g.forcedPixelRatio=st(y.pixelRatio)?y.pixelRatio:null,g.motionBlur=y.motionBlur,g.motionBlurOpacity=y.motionBlurOpacity,g.motionBlurTransparency=1-g.motionBlurOpacity,g.motionBlurPxRatio=1,g.mbPxRBlurry=1,g.minMbLowQualFrames=4,g.fullQualityMb=!1,g.clearedForMotionBlur=[],g.desktopTapThreshold=y.desktopTapThreshold,g.desktopTapThreshold2=y.desktopTapThreshold*y.desktopTapThreshold,g.touchTapThreshold=y.touchTapThreshold,g.touchTapThreshold2=y.touchTapThreshold*y.touchTapThreshold,g.tapholdDuration=500,g.bindings=[],g.beforeRenderCallbacks=[],g.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},g.registerNodeShapes(),g.registerArrowShapes(),g.registerCalculationListeners()},D3.notify=function(y,g){var x=this,T=x.cy;if(!this.destroyed){if(y==="init"){x.load();return}if(y==="destroy"){x.destroy();return}(y==="add"||y==="remove"||y==="move"&&T.hasCompoundNodes()||y==="load"||y==="zorder"||y==="mount")&&x.invalidateCachedZSortedEles(),y==="viewport"&&x.redrawHint("select",!0),(y==="load"||y==="resize"||y==="mount")&&(x.invalidateContainerClientCoordsCache(),x.matchCanvasSize(x.container)),x.redrawHint("eles",!0),x.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},D3.destroy=function(){var y=this;y.destroyed=!0,y.cy.stopAnimationLoop();for(var g=0;g<y.bindings.length;g++){var x=y.bindings[g],T=x,L=T.target;(L.off||L.removeEventListener).apply(L,T.args)}if(y.bindings=[],y.beforeRenderCallbacks=[],y.onUpdateEleCalcsFns=[],y.removeObserver&&y.removeObserver.disconnect(),y.styleObserver&&y.styleObserver.disconnect(),y.resizeObserver&&y.resizeObserver.disconnect(),y.labelCalcDiv)try{document.body.removeChild(y.labelCalcDiv)}catch{}},D3.isHeadless=function(){return!1},[QL,$k,UB,c6,fv,zk].forEach(function(y){Pe(D3,y)});var eM=1e3/60,vT={setupDequeueing:function(g){return function(){var T=this,L=this.renderer;if(!T.dequeueingSetup){T.dequeueingSetup=!0;var I=hm(function(){L.redrawHint("eles",!0),L.redrawHint("drag",!0),L.redraw()},g.deqRedrawThreshold),O=function(S,V){var U=ki(),tt=L.averageRedrawTime,at=L.lastRedrawTime,lt=[],ft=L.cy.extent(),Lt=L.getPixelRatio();for(S||L.flushRenderedStyleQueue();;){var kt=ki(),Dt=kt-U,It=kt-V;if(at<eM){var qt=eM-(S?tt:0);if(It>=g.deqFastCost*qt)break}else if(S){if(Dt>=g.deqCost*at||Dt>=g.deqAvgCost*tt)break}else if(It>=g.deqNoDrawCost*eM)break;var te=g.deq(T,Lt,ft);if(te.length>0)for(var Yt=0;Yt<te.length;Yt++)lt.push(te[Yt]);else break}lt.length>0&&(g.onDeqd(T,lt),!S&&g.shouldRedraw(T,lt,Lt,ft)&&I())},$=g.priority||gm;L.beforeRender(O,$(T))}}}},ntt=function(){function y(g){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dm;p(this,y),this.idsByKey=new H2,this.keyForId=new H2,this.cachesByLvl=new H2,this.lvls=[],this.getKey=g,this.doesEleInvalidateKey=x}return m(y,[{key:"getIdsFor",value:function(x){x==null&&Ec("Can not get id list for null key");var T=this.idsByKey,L=this.idsByKey.get(x);return L||(L=new q5,T.set(x,L)),L}},{key:"addIdForKey",value:function(x,T){x!=null&&this.getIdsFor(x).add(T)}},{key:"deleteIdForKey",value:function(x,T){x!=null&&this.getIdsFor(x).delete(T)}},{key:"getNumberOfIdsForKey",value:function(x){return x==null?0:this.getIdsFor(x).size}},{key:"updateKeyMappingFor",value:function(x){var T=x.id(),L=this.keyForId.get(T),I=this.getKey(x);this.deleteIdForKey(L,T),this.addIdForKey(I,T),this.keyForId.set(T,I)}},{key:"deleteKeyMappingFor",value:function(x){var T=x.id(),L=this.keyForId.get(T);this.deleteIdForKey(L,T),this.keyForId.delete(T)}},{key:"keyHasChangedFor",value:function(x){var T=x.id(),L=this.keyForId.get(T),I=this.getKey(x);return L!==I}},{key:"isInvalid",value:function(x){return this.keyHasChangedFor(x)||this.doesEleInvalidateKey(x)}},{key:"getCachesAt",value:function(x){var T=this.cachesByLvl,L=this.lvls,I=T.get(x);return I||(I=new H2,T.set(x,I),L.push(x)),I}},{key:"getCache",value:function(x,T){return this.getCachesAt(T).get(x)}},{key:"get",value:function(x,T){var L=this.getKey(x),I=this.getCache(L,T);return I!=null&&this.updateKeyMappingFor(x),I}},{key:"getForCachedKey",value:function(x,T){var L=this.keyForId.get(x.id()),I=this.getCache(L,T);return I}},{key:"hasCache",value:function(x,T){return this.getCachesAt(T).has(x)}},{key:"has",value:function(x,T){var L=this.getKey(x);return this.hasCache(L,T)}},{key:"setCache",value:function(x,T,L){L.key=x,this.getCachesAt(T).set(x,L)}},{key:"set",value:function(x,T,L){var I=this.getKey(x);this.setCache(I,T,L),this.updateKeyMappingFor(x)}},{key:"deleteCache",value:function(x,T){this.getCachesAt(T).delete(x)}},{key:"delete",value:function(x,T){var L=this.getKey(x);this.deleteCache(L,T)}},{key:"invalidateKey",value:function(x){var T=this;this.lvls.forEach(function(L){return T.deleteCache(x,L)})}},{key:"invalidate",value:function(x){var T=x.id(),L=this.keyForId.get(T);this.deleteKeyMappingFor(x);var I=this.doesEleInvalidateKey(x);return I&&this.invalidateKey(L),I||this.getNumberOfIdsForKey(L)===0}}]),y}(),wT=25,mT=50,u6=-4,nM=3,rM=7.99,rtt=8,itt=1024,stt=1024,KB=1024,att=.2,ott=.8,ctt=10,utt=.15,ltt=.1,htt=.9,ftt=.9,dtt=100,gtt=1,l6={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},ptt=qf({getKey:null,doesEleInvalidateKey:dm,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:cd,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),qk=function(g,x){var T=this;T.renderer=g,T.onDequeues=[];var L=ptt(x);Pe(T,L),T.lookup=new ntt(L.getKey,L.doesEleInvalidateKey),T.setupDequeueing()},Mh=qk.prototype;Mh.reasons=l6,Mh.getTextureQueue=function(y){var g=this;return g.eleImgCaches=g.eleImgCaches||{},g.eleImgCaches[y]=g.eleImgCaches[y]||[]},Mh.getRetiredTextureQueue=function(y){var g=this,x=g.eleImgCaches.retired=g.eleImgCaches.retired||{},T=x[y]=x[y]||[];return T},Mh.getElementQueue=function(){var y=this,g=y.eleCacheQueue=y.eleCacheQueue||new wk(function(x,T){return T.reqs-x.reqs});return g},Mh.getElementKeyToQueue=function(){var y=this,g=y.eleKeyToCacheQueue=y.eleKeyToCacheQueue||{};return g},Mh.getElement=function(y,g,x,T,L){var I=this,O=this.renderer,$=O.cy.zoom(),z=this.lookup;if(!g||g.w===0||g.h===0||isNaN(g.w)||isNaN(g.h)||!y.visible()||y.removed()||!I.allowEdgeTxrCaching&&y.isEdge()||!I.allowParentTxrCaching&&y.isParent())return null;if(T==null&&(T=Math.ceil(TL($*x))),T<u6)T=u6;else if($>=rM||T>nM)return null;var S=Math.pow(2,T),V=g.h*S,U=g.w*S,tt=O.eleTextBiggerThanMin(y,S);if(!this.isVisible(y,tt))return null;var at=z.get(y,T);if(at&&at.invalidated&&(at.invalidated=!1,at.texture.invalidatedWidth-=at.width),at)return at;var lt;if(V<=wT?lt=wT:V<=mT?lt=mT:lt=Math.ceil(V/mT)*mT,V>KB||U>stt)return null;var ft=I.getTextureQueue(lt),Lt=ft[ft.length-2],kt=function(){return I.recycleTexture(lt,U)||I.addTexture(lt,U)};Lt||(Lt=ft[ft.length-1]),Lt||(Lt=kt()),Lt.width-Lt.usedWidth<U&&(Lt=kt());for(var Dt=function(ze){return ze&&ze.scaledLabelShown===tt},It=L&&L===l6.dequeue,qt=L&&L===l6.highQuality,te=L&&L===l6.downscale,Yt,Ht=T+1;Ht<=nM;Ht++){var ie=z.get(y,Ht);if(ie){Yt=ie;break}}var Wt=Yt&&Yt.level===T+1?Yt:null,be=function(){Lt.context.drawImage(Wt.texture.canvas,Wt.x,0,Wt.width,Wt.height,Lt.usedWidth,0,U,V)};if(Lt.context.setTransform(1,0,0,1,0,0),Lt.context.clearRect(Lt.usedWidth,0,U,lt),Dt(Wt))be();else if(Dt(Yt))if(qt){for(var we=Yt.level;we>T;we--)Wt=I.getElement(y,g,x,we,l6.downscale);be()}else return I.queueElement(y,Yt.level-1),Yt;else{var ae;if(!It&&!qt&&!te)for(var Ne=T-1;Ne>=u6;Ne--){var me=z.get(y,Ne);if(me){ae=me;break}}if(Dt(ae))return I.queueElement(y,T),ae;Lt.context.translate(Lt.usedWidth,0),Lt.context.scale(S,S),this.drawElement(Lt.context,y,g,tt,!1),Lt.context.scale(1/S,1/S),Lt.context.translate(-Lt.usedWidth,0)}return at={x:Lt.usedWidth,texture:Lt,level:T,scale:S,width:U,height:V,scaledLabelShown:tt},Lt.usedWidth+=Math.ceil(U+rtt),Lt.eleCaches.push(at),z.set(y,T,at),I.checkTextureFullness(Lt),at},Mh.invalidateElements=function(y){for(var g=0;g<y.length;g++)this.invalidateElement(y[g])},Mh.invalidateElement=function(y){var g=this,x=g.lookup,T=[],L=x.isInvalid(y);if(L){for(var I=u6;I<=nM;I++){var O=x.getForCachedKey(y,I);O&&T.push(O)}var $=x.invalidate(y);if($)for(var z=0;z<T.length;z++){var S=T[z],V=S.texture;V.invalidatedWidth+=S.width,S.invalidated=!0,g.checkTextureUtility(V)}g.removeFromQueue(y)}},Mh.checkTextureUtility=function(y){y.invalidatedWidth>=att*y.width&&this.retireTexture(y)},Mh.checkTextureFullness=function(y){var g=this,x=g.getTextureQueue(y.height);y.usedWidth/y.width>ott&&y.fullnessChecks>=ctt?pm(x,y):y.fullnessChecks++},Mh.retireTexture=function(y){var g=this,x=y.height,T=g.getTextureQueue(x),L=this.lookup;pm(T,y),y.retired=!0;for(var I=y.eleCaches,O=0;O<I.length;O++){var $=I[O];L.deleteCache($.key,$.level)}kL(I);var z=g.getRetiredTextureQueue(x);z.push(y)},Mh.addTexture=function(y,g){var x=this,T=x.getTextureQueue(y),L={};return T.push(L),L.eleCaches=[],L.height=y,L.width=Math.max(itt,g),L.usedWidth=0,L.invalidatedWidth=0,L.fullnessChecks=0,L.canvas=x.renderer.makeOffscreenCanvas(L.width,L.height),L.context=L.canvas.getContext("2d"),L},Mh.recycleTexture=function(y,g){for(var x=this,T=x.getTextureQueue(y),L=x.getRetiredTextureQueue(y),I=0;I<L.length;I++){var O=L[I];if(O.width>=g)return O.retired=!1,O.usedWidth=0,O.invalidatedWidth=0,O.fullnessChecks=0,kL(O.eleCaches),O.context.setTransform(1,0,0,1,0,0),O.context.clearRect(0,0,O.width,O.height),pm(L,O),T.push(O),O}},Mh.queueElement=function(y,g){var x=this,T=x.getElementQueue(),L=x.getElementKeyToQueue(),I=this.getKey(y),O=L[I];if(O)O.level=Math.max(O.level,g),O.eles.merge(y),O.reqs++,T.updateItem(O);else{var $={eles:y.spawn().merge(y),level:g,reqs:1,key:I};T.push($),L[I]=$}},Mh.dequeue=function(y){for(var g=this,x=g.getElementQueue(),T=g.getElementKeyToQueue(),L=[],I=g.lookup,O=0;O<gtt&&x.size()>0;O++){var $=x.pop(),z=$.key,S=$.eles[0],V=I.hasCache(S,$.level);if(T[z]=null,V)continue;L.push($);var U=g.getBoundingBox(S);g.getElement(S,U,y,$.level,l6.dequeue)}return L},Mh.removeFromQueue=function(y){var g=this,x=g.getElementQueue(),T=g.getElementKeyToQueue(),L=this.getKey(y),I=T[L];I!=null&&(I.eles.length===1?(I.reqs=mp,x.updateItem(I),x.pop(),T[L]=null):I.eles.unmerge(y))},Mh.onDequeue=function(y){this.onDequeues.push(y)},Mh.offDequeue=function(y){pm(this.onDequeues,y)},Mh.setupDequeueing=vT.setupDequeueing({deqRedrawThreshold:dtt,deqCost:utt,deqAvgCost:ltt,deqNoDrawCost:htt,deqFastCost:ftt,deq:function(g,x,T){return g.dequeue(x,T)},onDeqd:function(g,x){for(var T=0;T<g.onDequeues.length;T++){var L=g.onDequeues[T];L(x)}},shouldRedraw:function(g,x,T,L){for(var I=0;I<x.length;I++)for(var O=x[I].eles,$=0;$<O.length;$++){var z=O[$].boundingBox();if(CL(z,L))return!0}return!1},priority:function(g){return g.renderer.beforeRenderPriorities.eleTxrDeq}});var btt=1,h6=-4,Hk=2,yT=3.99,Vk=50,yg=50,vtt=.15,Zgt=.1,Jgt=.9,tpt=.9,ept=1,iM=250,npt=4e3*4e3,rpt=!0,wtt=function(g){var x=this,T=x.renderer=g,L=T.cy;x.layersByLevel={},x.firstGet=!0,x.lastInvalidationTime=ki()-2*iM,x.skipping=!1,x.eleTxrDeqs=L.collection(),x.scheduleElementRefinement=hm(function(){x.refineElementTextures(x.eleTxrDeqs),x.eleTxrDeqs.unmerge(x.eleTxrDeqs)},yg),T.beforeRender(function(O,$){$-x.lastInvalidationTime<=iM?x.skipping=!0:x.skipping=!1},T.beforeRenderPriorities.lyrTxrSkip);var I=function($,z){return z.reqs-$.reqs};x.layersQueue=new wk(I),x.setupDequeueing()},E1=wtt.prototype,mtt=0,ipt=Math.pow(2,53)-1;E1.makeLayer=function(y,g){var x=Math.pow(2,g),T=Math.ceil(y.w*x),L=Math.ceil(y.h*x),I=this.renderer.makeOffscreenCanvas(T,L),O={id:mtt=++mtt%ipt,bb:y,level:g,width:T,height:L,canvas:I,context:I.getContext("2d"),eles:[],elesQueue:[],reqs:0},$=O.context,z=-O.bb.x1,S=-O.bb.y1;return $.scale(x,x),$.translate(z,S),O},E1.getLayers=function(y,g,x){var T=this,L=T.renderer,I=L.cy,O=I.zoom(),$=T.firstGet;if(T.firstGet=!1,x==null){if(x=Math.ceil(TL(O*g)),x<h6)x=h6;else if(O>=yT||x>Hk)return null}T.validateLayersElesOrdering(x,y);var z=T.layersByLevel,S=Math.pow(2,x),V=z[x]=z[x]||[],U,tt=T.levelIsComplete(x,y),at,lt=function(){var be=function(gn){if(T.validateLayersElesOrdering(gn,y),T.levelIsComplete(gn,y))return at=z[gn],!0},we=function(gn){if(!at)for(var ze=x+gn;h6<=ze&&ze<=Hk&&!be(ze);ze+=gn);};we(1),we(-1);for(var ae=V.length-1;ae>=0;ae--){var Ne=V[ae];Ne.invalid&&pm(V,Ne)}};if(!tt)lt();else return V;var ft=function(){if(!U){U=qd();for(var be=0;be<y.length;be++)CY(U,y[be].boundingBox())}return U},Lt=function(be){be=be||{};var we=be.after;ft();var ae=U.w*S*(U.h*S);if(ae>npt)return null;var Ne=T.makeLayer(U,x);if(we!=null){var me=V.indexOf(we)+1;V.splice(me,0,Ne)}else(be.insert===void 0||be.insert)&&V.unshift(Ne);return Ne};if(T.skipping&&!$)return null;for(var kt=null,Dt=y.length/btt,It=!$,qt=0;qt<y.length;qt++){var te=y[qt],Yt=te._private.rscratch,Ht=Yt.imgLayerCaches=Yt.imgLayerCaches||{},ie=Ht[x];if(ie){kt=ie;continue}if((!kt||kt.eles.length>=Dt||!nF(kt.bb,te.boundingBox()))&&(kt=Lt({insert:!0,after:kt}),!kt))return null;at||It?T.queueLayer(kt,te):T.drawEleInLayer(kt,te,x,g),kt.eles.push(te),Ht[x]=kt}return at||(It?null:V)},E1.getEleLevelForLayerLevel=function(y,g){return y},E1.drawEleInLayer=function(y,g,x,T){var L=this,I=this.renderer,O=y.context,$=g.boundingBox();$.w===0||$.h===0||!g.visible()||(x=L.getEleLevelForLayerLevel(x,T),I.setImgSmoothing(O,!1),I.drawCachedElement(O,g,null,null,x,rpt),I.setImgSmoothing(O,!0))},E1.levelIsComplete=function(y,g){var x=this,T=x.layersByLevel[y];if(!T||T.length===0)return!1;for(var L=0,I=0;I<T.length;I++){var O=T[I];if(O.reqs>0||O.invalid)return!1;L+=O.eles.length}return L===g.length},E1.validateLayersElesOrdering=function(y,g){var x=this.layersByLevel[y];if(x)for(var T=0;T<x.length;T++){for(var L=x[T],I=-1,O=0;O<g.length;O++)if(L.eles[0]===g[O]){I=O;break}if(I<0){this.invalidateLayer(L);continue}for(var $=I,O=0;O<L.eles.length;O++)if(L.eles[O]!==g[$+O]){this.invalidateLayer(L);break}}},E1.updateElementsInLayers=function(y,g){for(var x=this,T=Ct(y[0]),L=0;L<y.length;L++)for(var I=T?null:y[L],O=T?y[L]:y[L].ele,$=O._private.rscratch,z=$.imgLayerCaches=$.imgLayerCaches||{},S=h6;S<=Hk;S++){var V=z[S];V&&(I&&x.getEleLevelForLayerLevel(V.level)!==I.level||g(V,O,I))}},E1.haveLayers=function(){for(var y=this,g=!1,x=h6;x<=Hk;x++){var T=y.layersByLevel[x];if(T&&T.length>0){g=!0;break}}return g},E1.invalidateElements=function(y){var g=this;y.length!==0&&(g.lastInvalidationTime=ki(),!(y.length===0||!g.haveLayers())&&g.updateElementsInLayers(y,function(T,L,I){g.invalidateLayer(T)}))},E1.invalidateLayer=function(y){if(this.lastInvalidationTime=ki(),!y.invalid){var g=y.level,x=y.eles,T=this.layersByLevel[g];pm(T,y),y.elesQueue=[],y.invalid=!0,y.replacement&&(y.replacement.invalid=!0);for(var L=0;L<x.length;L++){var I=x[L]._private.rscratch.imgLayerCaches;I&&(I[g]=null)}}},E1.refineElementTextures=function(y){var g=this;g.updateElementsInLayers(y,function(T,L,I){var O=T.replacement;if(O||(O=T.replacement=g.makeLayer(T.bb,T.level),O.replaces=T,O.eles=T.eles),!O.reqs)for(var $=0;$<O.eles.length;$++)g.queueLayer(O,O.eles[$])})},E1.enqueueElementRefinement=function(y){this.eleTxrDeqs.merge(y),this.scheduleElementRefinement()},E1.queueLayer=function(y,g){var x=this,T=x.layersQueue,L=y.elesQueue,I=L.hasId=L.hasId||{};if(!y.replacement){if(g){if(I[g.id()])return;L.push(g),I[g.id()]=!0}y.reqs?(y.reqs++,T.updateItem(y)):(y.reqs=1,T.push(y))}},E1.dequeue=function(y){for(var g=this,x=g.layersQueue,T=[],L=0;L<ept&&x.size()!==0;){var I=x.peek();if(I.replacement){x.pop();continue}if(I.replaces&&I!==I.replaces.replacement){x.pop();continue}if(I.invalid){x.pop();continue}var O=I.elesQueue.shift();O&&(g.drawEleInLayer(I,O,I.level,y),L++),T.length===0&&T.push(!0),I.elesQueue.length===0&&(x.pop(),I.reqs=0,I.replaces&&g.applyLayerReplacement(I),g.requestRedraw())}return T},E1.applyLayerReplacement=function(y){var g=this,x=g.layersByLevel[y.level],T=y.replaces,L=x.indexOf(T);if(!(L<0||T.invalid)){x[L]=y;for(var I=0;I<y.eles.length;I++){var O=y.eles[I]._private,$=O.imgLayerCaches=O.imgLayerCaches||{};$&&($[y.level]=y)}g.requestRedraw()}},E1.requestRedraw=hm(function(){var y=this.renderer;y.redrawHint("eles",!0),y.redrawHint("drag",!0),y.redraw()},100),E1.setupDequeueing=vT.setupDequeueing({deqRedrawThreshold:Vk,deqCost:vtt,deqAvgCost:Zgt,deqNoDrawCost:Jgt,deqFastCost:tpt,deq:function(g,x){return g.dequeue(x)},onDeqd:gm,shouldRedraw:cd,priority:function(g){return g.renderer.beforeRenderPriorities.lyrTxrDeq}});var A0={},ytt;function YB(y,g){for(var x=0;x<g.length;x++){var T=g[x];y.lineTo(T.x,T.y)}}function XB(y,g,x){for(var T,L=0;L<g.length;L++){var I=g[L];L===0&&(T=I),y.lineTo(I.x,I.y)}y.quadraticCurveTo(x.x,x.y,T.x,T.y)}function xtt(y,g,x){y.beginPath&&y.beginPath();for(var T=g,L=0;L<T.length;L++){var I=T[L];y.lineTo(I.x,I.y)}var O=x,$=x[0];y.moveTo($.x,$.y);for(var L=1;L<O.length;L++){var I=O[L];y.lineTo(I.x,I.y)}y.closePath&&y.closePath()}function spt(y,g,x,T,L){y.beginPath&&y.beginPath(),y.arc(x,T,L,0,Math.PI*2,!1);var I=g,O=I[0];y.moveTo(O.x,O.y);for(var $=0;$<I.length;$++){var z=I[$];y.lineTo(z.x,z.y)}y.closePath&&y.closePath()}function apt(y,g,x,T){y.arc(g,x,T,0,Math.PI*2,!1)}A0.arrowShapeImpl=function(y){return(ytt||(ytt={polygon:YB,"triangle-backcurve":XB,"triangle-tee":xtt,"circle-triangle":spt,"triangle-cross":xtt,circle:apt}))[y]};var dv={};dv.drawElement=function(y,g,x,T,L,I){var O=this;g.isNode()?O.drawNode(y,g,x,T,L,I):O.drawEdge(y,g,x,T,L,I)},dv.drawElementOverlay=function(y,g){var x=this;g.isNode()?x.drawNodeOverlay(y,g):x.drawEdgeOverlay(y,g)},dv.drawElementUnderlay=function(y,g){var x=this;g.isNode()?x.drawNodeUnderlay(y,g):x.drawEdgeUnderlay(y,g)},dv.drawCachedElementPortion=function(y,g,x,T,L,I,O,$){var z=this,S=x.getBoundingBox(g);if(!(S.w===0||S.h===0)){var V=x.getElement(g,S,T,L,I);if(V!=null){var U=$(z,g);if(U===0)return;var tt=O(z,g),at=S.x1,lt=S.y1,ft=S.w,Lt=S.h,kt,Dt,It,qt,te;if(tt!==0){var Yt=x.getRotationPoint(g);It=Yt.x,qt=Yt.y,y.translate(It,qt),y.rotate(tt),te=z.getImgSmoothing(y),te||z.setImgSmoothing(y,!0);var Ht=x.getRotationOffset(g);kt=Ht.x,Dt=Ht.y}else kt=at,Dt=lt;var ie;U!==1&&(ie=y.globalAlpha,y.globalAlpha=ie*U),y.drawImage(V.texture.canvas,V.x,0,V.width,V.height,kt,Dt,ft,Lt),U!==1&&(y.globalAlpha=ie),tt!==0&&(y.rotate(-tt),y.translate(-It,-qt),te||z.setImgSmoothing(y,!1))}else x.drawElement(y,g)}};var sM=function(){return 0},xT=function(g,x){return g.getTextAngle(x,null)},QB=function(g,x){return g.getTextAngle(x,"source")},opt=function(g,x){return g.getTextAngle(x,"target")},cpt=function(g,x){return x.effectiveOpacity()},ZB=function(g,x){return x.pstyle("text-opacity").pfValue*x.effectiveOpacity()};dv.drawCachedElement=function(y,g,x,T,L,I){var O=this,$=O.data,z=$.eleTxrCache,S=$.lblTxrCache,V=$.slbTxrCache,U=$.tlbTxrCache,tt=g.boundingBox(),at=I===!0?z.reasons.highQuality:null;if(!(tt.w===0||tt.h===0||!g.visible())&&(!T||CL(tt,T))){var lt=g.isEdge(),ft=g.element()._private.rscratch.badLine;O.drawElementUnderlay(y,g),O.drawCachedElementPortion(y,g,z,x,L,at,sM,cpt),(!lt||!ft)&&O.drawCachedElementPortion(y,g,S,x,L,at,xT,ZB),lt&&!ft&&(O.drawCachedElementPortion(y,g,V,x,L,at,QB,ZB),O.drawCachedElementPortion(y,g,U,x,L,at,opt,ZB)),O.drawElementOverlay(y,g)}},dv.drawElements=function(y,g){for(var x=this,T=0;T<g.length;T++){var L=g[T];x.drawElement(y,L)}},dv.drawCachedElements=function(y,g,x,T){for(var L=this,I=0;I<g.length;I++){var O=g[I];L.drawCachedElement(y,O,x,T)}},dv.drawCachedNodes=function(y,g,x,T){for(var L=this,I=0;I<g.length;I++){var O=g[I];O.isNode()&&L.drawCachedElement(y,O,x,T)}},dv.drawLayeredElements=function(y,g,x,T){var L=this,I=L.data.lyrTxrCache.getLayers(g,x);if(I)for(var O=0;O<I.length;O++){var $=I[O],z=$.bb;z.w===0||z.h===0||y.drawImage($.canvas,z.x1,z.y1,z.w,z.h)}else L.drawCachedElements(y,g,x,T)};var gv={};gv.drawEdge=function(y,g,x){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,O=this,$=g._private.rscratch;if(!(I&&!g.visible())&&!($.badLine||$.allpts==null||isNaN($.allpts[0]))){var z;x&&(z=x,y.translate(-z.x1,-z.y1));var S=I?g.pstyle("opacity").value:1,V=I?g.pstyle("line-opacity").value:1,U=g.pstyle("curve-style").value,tt=g.pstyle("line-style").value,at=g.pstyle("width").pfValue,lt=g.pstyle("line-cap").value,ft=S*V,Lt=S*V,kt=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ft;U==="straight-triangle"?(O.eleStrokeStyle(y,g,ae),O.drawEdgeTrianglePath(g,y,$.allpts)):(y.lineWidth=at,y.lineCap=lt,O.eleStrokeStyle(y,g,ae),O.drawEdgePath(g,y,$.allpts,tt),y.lineCap="butt")},Dt=function(){L&&O.drawEdgeOverlay(y,g)},It=function(){L&&O.drawEdgeUnderlay(y,g)},qt=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lt;O.drawArrowheads(y,g,ae)},te=function(){O.drawElementText(y,g,null,T)};y.lineJoin="round";var Yt=g.pstyle("ghost").value==="yes";if(Yt){var Ht=g.pstyle("ghost-offset-x").pfValue,ie=g.pstyle("ghost-offset-y").pfValue,Wt=g.pstyle("ghost-opacity").value,be=ft*Wt;y.translate(Ht,ie),kt(be),qt(be),y.translate(-Ht,-ie)}It(),kt(),qt(),Dt(),te(),x&&y.translate(z.x1,z.y1)}};var ktt=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(x,T){if(T.visible()){var L=T.pstyle("".concat(g,"-opacity")).value;if(L!==0){var I=this,O=I.usePaths(),$=T._private.rscratch,z=T.pstyle("".concat(g,"-padding")).pfValue,S=2*z,V=T.pstyle("".concat(g,"-color")).value;x.lineWidth=S,$.edgeType==="self"&&!O?x.lineCap="butt":x.lineCap="round",I.colorStrokeStyle(x,V[0],V[1],V[2],L),I.drawEdgePath(T,x,$.allpts,"solid")}}}};gv.drawEdgeOverlay=ktt("overlay"),gv.drawEdgeUnderlay=ktt("underlay"),gv.drawEdgePath=function(y,g,x,T){var L=y._private.rscratch,I=g,O,$=!1,z=this.usePaths(),S=y.pstyle("line-dash-pattern").pfValue,V=y.pstyle("line-dash-offset").pfValue;if(z){var U=x.join("$"),tt=L.pathCacheKey&&L.pathCacheKey===U;tt?(O=g=L.pathCache,$=!0):(O=g=new Path2D,L.pathCacheKey=U,L.pathCache=O)}if(I.setLineDash)switch(T){case"dotted":I.setLineDash([1,1]);break;case"dashed":I.setLineDash(S),I.lineDashOffset=V;break;case"solid":I.setLineDash([]);break}if(!$&&!L.badLine)switch(g.beginPath&&g.beginPath(),g.moveTo(x[0],x[1]),L.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var at=2;at+3<x.length;at+=4)g.quadraticCurveTo(x[at],x[at+1],x[at+2],x[at+3]);break;case"straight":case"segments":case"haystack":for(var lt=2;lt+1<x.length;lt+=2)g.lineTo(x[lt],x[lt+1]);break}g=I,z?g.stroke(O):g.stroke(),g.setLineDash&&g.setLineDash([])},gv.drawEdgeTrianglePath=function(y,g,x){g.fillStyle=g.strokeStyle;for(var T=y.pstyle("width").pfValue,L=0;L+1<x.length;L+=2){var I=[x[L+2]-x[L],x[L+3]-x[L+1]],O=Math.sqrt(I[0]*I[0]+I[1]*I[1]),$=[I[1]/O,-I[0]/O],z=[$[0]*T/2,$[1]*T/2];g.beginPath(),g.moveTo(x[L]-z[0],x[L+1]-z[1]),g.lineTo(x[L]+z[0],x[L+1]+z[1]),g.lineTo(x[L+2],x[L+3]),g.closePath(),g.fill()}},gv.drawArrowheads=function(y,g,x){var T=g._private.rscratch,L=T.edgeType==="haystack";L||this.drawArrowhead(y,g,"source",T.arrowStartX,T.arrowStartY,T.srcArrowAngle,x),this.drawArrowhead(y,g,"mid-target",T.midX,T.midY,T.midtgtArrowAngle,x),this.drawArrowhead(y,g,"mid-source",T.midX,T.midY,T.midsrcArrowAngle,x),L||this.drawArrowhead(y,g,"target",T.arrowEndX,T.arrowEndY,T.tgtArrowAngle,x)},gv.drawArrowhead=function(y,g,x,T,L,I,O){if(!(isNaN(T)||T==null||isNaN(L)||L==null||isNaN(I)||I==null)){var $=this,z=g.pstyle(x+"-arrow-shape").value;if(z!=="none"){var S=g.pstyle(x+"-arrow-fill").value==="hollow"?"both":"filled",V=g.pstyle(x+"-arrow-fill").value,U=g.pstyle("width").pfValue,tt=g.pstyle("opacity").value;O===void 0&&(O=tt);var at=y.globalCompositeOperation;(O!==1||V==="hollow")&&(y.globalCompositeOperation="destination-out",$.colorFillStyle(y,255,255,255,1),$.colorStrokeStyle(y,255,255,255,1),$.drawArrowShape(g,y,S,U,z,T,L,I),y.globalCompositeOperation=at);var lt=g.pstyle(x+"-arrow-color").value;$.colorFillStyle(y,lt[0],lt[1],lt[2],O),$.colorStrokeStyle(y,lt[0],lt[1],lt[2],O),$.drawArrowShape(g,y,V,U,z,T,L,I)}}},gv.drawArrowShape=function(y,g,x,T,L,I,O,$){var z=this,S=this.usePaths()&&L!=="triangle-cross",V=!1,U,tt=g,at={x:I,y:O},lt=y.pstyle("arrow-scale").value,ft=this.getArrowWidth(T,lt),Lt=z.arrowShapes[L];if(S){var kt=z.arrowPathCache=z.arrowPathCache||[],Dt=od(L),It=kt[Dt];It!=null?(U=g=It,V=!0):(U=g=new Path2D,kt[Dt]=U)}V||(g.beginPath&&g.beginPath(),S?Lt.draw(g,1,0,{x:0,y:0},1):Lt.draw(g,ft,$,at,T),g.closePath&&g.closePath()),g=tt,S&&(g.translate(I,O),g.rotate($),g.scale(ft,ft)),(x==="filled"||x==="both")&&(S?g.fill(U):g.fill()),(x==="hollow"||x==="both")&&(g.lineWidth=(Lt.matchEdgeWidth?T:1)/(S?ft:1),g.lineJoin="miter",S?g.stroke(U):g.stroke()),S&&(g.scale(1/ft,1/ft),g.rotate(-$),g.translate(-I,-O))};var kT={};kT.safeDrawImage=function(y,g,x,T,L,I,O,$,z,S){if(!(L<=0||I<=0||z<=0||S<=0))try{y.drawImage(g,x,T,L,I,O,$,z,S)}catch(V){Ko(V)}},kT.drawInscribedImage=function(y,g,x,T,L){var I=this,O=x.position(),$=O.x,z=O.y,S=x.cy().style(),V=S.getIndexedStyle.bind(S),U=V(x,"background-fit","value",T),tt=V(x,"background-repeat","value",T),at=x.width(),lt=x.height(),ft=x.padding()*2,Lt=at+(V(x,"background-width-relative-to","value",T)==="inner"?0:ft),kt=lt+(V(x,"background-height-relative-to","value",T)==="inner"?0:ft),Dt=x._private.rscratch,It=V(x,"background-clip","value",T),qt=It==="node",te=V(x,"background-image-opacity","value",T)*L,Yt=V(x,"background-image-smoothing","value",T),Ht=g.width||g.cachedW,ie=g.height||g.cachedH;(Ht==null||ie==null)&&(document.body.appendChild(g),Ht=g.cachedW=g.width||g.offsetWidth,ie=g.cachedH=g.height||g.offsetHeight,document.body.removeChild(g));var Wt=Ht,be=ie;if(V(x,"background-width","value",T)!=="auto"&&(V(x,"background-width","units",T)==="%"?Wt=V(x,"background-width","pfValue",T)*Lt:Wt=V(x,"background-width","pfValue",T)),V(x,"background-height","value",T)!=="auto"&&(V(x,"background-height","units",T)==="%"?be=V(x,"background-height","pfValue",T)*kt:be=V(x,"background-height","pfValue",T)),!(Wt===0||be===0)){if(U==="contain"){var we=Math.min(Lt/Wt,kt/be);Wt*=we,be*=we}else if(U==="cover"){var we=Math.max(Lt/Wt,kt/be);Wt*=we,be*=we}var ae=$-Lt/2,Ne=V(x,"background-position-x","units",T),me=V(x,"background-position-x","pfValue",T);Ne==="%"?ae+=(Lt-Wt)*me:ae+=me;var gn=V(x,"background-offset-x","units",T),ze=V(x,"background-offset-x","pfValue",T);gn==="%"?ae+=(Lt-Wt)*ze:ae+=ze;var Ge=z-kt/2,xn=V(x,"background-position-y","units",T),On=V(x,"background-position-y","pfValue",T);xn==="%"?Ge+=(kt-be)*On:Ge+=On;var nr=V(x,"background-offset-y","units",T),Sn=V(x,"background-offset-y","pfValue",T);nr==="%"?Ge+=(kt-be)*Sn:Ge+=Sn,Dt.pathCache&&(ae-=$,Ge-=z,$=0,z=0);var er=y.globalAlpha;y.globalAlpha=te;var fr=I.getImgSmoothing(y),Mr=!1;if(Yt==="no"&&fr?(I.setImgSmoothing(y,!1),Mr=!0):Yt==="yes"&&!fr&&(I.setImgSmoothing(y,!0),Mr=!0),tt==="no-repeat")qt&&(y.save(),Dt.pathCache?y.clip(Dt.pathCache):(I.nodeShapes[I.getNodeShape(x)].draw(y,$,z,Lt,kt),y.clip())),I.safeDrawImage(y,g,0,0,Ht,ie,ae,Ge,Wt,be),qt&&y.restore();else{var yr=y.createPattern(g,tt);y.fillStyle=yr,I.nodeShapes[I.getNodeShape(x)].draw(y,$,z,Lt,kt),y.translate(ae,Ge),y.fill(),y.translate(-ae,-Ge)}y.globalAlpha=er,Mr&&I.setImgSmoothing(y,fr)}};var f6={};f6.eleTextBiggerThanMin=function(y,g){if(!g){var x=y.cy().zoom(),T=this.getPixelRatio(),L=Math.ceil(TL(x*T));g=Math.pow(2,L)}var I=y.pstyle("font-size").pfValue*g,O=y.pstyle("min-zoomed-font-size").pfValue;return!(I<O)},f6.drawElementText=function(y,g,x,T,L){var I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,O=this;if(T==null){if(I&&!O.eleTextBiggerThanMin(g))return}else if(T===!1)return;if(g.isNode()){var $=g.pstyle("label");if(!$||!$.value)return;var z=O.getLabelJustification(g);y.textAlign=z,y.textBaseline="bottom"}else{var S=g.element()._private.rscratch.badLine,V=g.pstyle("label"),U=g.pstyle("source-label"),tt=g.pstyle("target-label");if(S||(!V||!V.value)&&(!U||!U.value)&&(!tt||!tt.value))return;y.textAlign="center",y.textBaseline="bottom"}var at=!x,lt;x&&(lt=x,y.translate(-lt.x1,-lt.y1)),L==null?(O.drawText(y,g,null,at,I),g.isEdge()&&(O.drawText(y,g,"source",at,I),O.drawText(y,g,"target",at,I))):O.drawText(y,g,L,at,I),x&&y.translate(lt.x1,lt.y1)},f6.getFontCache=function(y){var g;this.fontCaches=this.fontCaches||[];for(var x=0;x<this.fontCaches.length;x++)if(g=this.fontCaches[x],g.context===y)return g;return g={context:y},this.fontCaches.push(g),g},f6.setupTextStyle=function(y,g){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,T=g.pstyle("font-style").strValue,L=g.pstyle("font-size").pfValue+"px",I=g.pstyle("font-family").strValue,O=g.pstyle("font-weight").strValue,$=x?g.effectiveOpacity()*g.pstyle("text-opacity").value:1,z=g.pstyle("text-outline-opacity").value*$,S=g.pstyle("color").value,V=g.pstyle("text-outline-color").value;y.font=T+" "+O+" "+L+" "+I,y.lineJoin="round",this.colorFillStyle(y,S[0],S[1],S[2],$),this.colorStrokeStyle(y,V[0],V[1],V[2],z)};function upt(y,g,x,T,L){var I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5;y.beginPath(),y.moveTo(g+I,x),y.lineTo(g+T-I,x),y.quadraticCurveTo(g+T,x,g+T,x+I),y.lineTo(g+T,x+L-I),y.quadraticCurveTo(g+T,x+L,g+T-I,x+L),y.lineTo(g+I,x+L),y.quadraticCurveTo(g,x+L,g,x+L-I),y.lineTo(g,x+I),y.quadraticCurveTo(g,x,g+I,x),y.closePath(),y.fill()}f6.getTextAngle=function(y,g){var x,T=y._private,L=T.rscratch,I=g?g+"-":"",O=y.pstyle(I+"text-rotation"),$=yp(L,"labelAngle",g);return O.strValue==="autorotate"?x=y.isEdge()?$:0:O.strValue==="none"?x=0:x=O.pfValue,x},f6.drawText=function(y,g,x){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,I=g._private,O=I.rscratch,$=L?g.effectiveOpacity():1;if(!(L&&($===0||g.pstyle("text-opacity").value===0))){x==="main"&&(x=null);var z=yp(O,"labelX",x),S=yp(O,"labelY",x),V,U,tt=this.getLabelText(g,x);if(tt!=null&&tt!==""&&!isNaN(z)&&!isNaN(S)){this.setupTextStyle(y,g,L);var at=x?x+"-":"",lt=yp(O,"labelWidth",x),ft=yp(O,"labelHeight",x),Lt=g.pstyle(at+"text-margin-x").pfValue,kt=g.pstyle(at+"text-margin-y").pfValue,Dt=g.isEdge(),It=g.pstyle("text-halign").value,qt=g.pstyle("text-valign").value;Dt&&(It="center",qt="center"),z+=Lt,S+=kt;var te;switch(T?te=this.getTextAngle(g,x):te=0,te!==0&&(V=z,U=S,y.translate(V,U),y.rotate(te),z=0,S=0),qt){case"top":break;case"center":S+=ft/2;break;case"bottom":S+=ft;break}var Yt=g.pstyle("text-background-opacity").value,Ht=g.pstyle("text-border-opacity").value,ie=g.pstyle("text-border-width").pfValue,Wt=g.pstyle("text-background-padding").pfValue;if(Yt>0||ie>0&&Ht>0){var be=z-Wt;switch(It){case"left":be-=lt;break;case"center":be-=lt/2;break}var we=S-ft-Wt,ae=lt+2*Wt,Ne=ft+2*Wt;if(Yt>0){var me=y.fillStyle,gn=g.pstyle("text-background-color").value;y.fillStyle="rgba("+gn[0]+","+gn[1]+","+gn[2]+","+Yt*$+")";var ze=g.pstyle("text-background-shape").strValue;ze.indexOf("round")===0?upt(y,be,we,ae,Ne,2):y.fillRect(be,we,ae,Ne),y.fillStyle=me}if(ie>0&&Ht>0){var Ge=y.strokeStyle,xn=y.lineWidth,On=g.pstyle("text-border-color").value,nr=g.pstyle("text-border-style").value;if(y.strokeStyle="rgba("+On[0]+","+On[1]+","+On[2]+","+Ht*$+")",y.lineWidth=ie,y.setLineDash)switch(nr){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"double":y.lineWidth=ie/4,y.setLineDash([]);break;case"solid":y.setLineDash([]);break}if(y.strokeRect(be,we,ae,Ne),nr==="double"){var Sn=ie/2;y.strokeRect(be+Sn,we+Sn,ae-Sn*2,Ne-Sn*2)}y.setLineDash&&y.setLineDash([]),y.lineWidth=xn,y.strokeStyle=Ge}}var er=2*g.pstyle("text-outline-width").pfValue;if(er>0&&(y.lineWidth=er),g.pstyle("text-wrap").value==="wrap"){var fr=yp(O,"labelWrapCachedLines",x),Mr=yp(O,"labelLineHeight",x),yr=lt/2,lr=this.getLabelJustification(g);switch(lr==="auto"||(It==="left"?lr==="left"?z+=-lt:lr==="center"&&(z+=-yr):It==="center"?lr==="left"?z+=-yr:lr==="right"&&(z+=yr):It==="right"&&(lr==="center"?z+=yr:lr==="right"&&(z+=lt))),qt){case"top":S-=(fr.length-1)*Mr;break;case"center":case"bottom":S-=(fr.length-1)*Mr;break}for(var bn=0;bn<fr.length;bn++)er>0&&y.strokeText(fr[bn],z,S),y.fillText(fr[bn],z,S),S+=Mr}else er>0&&y.strokeText(tt,z,S),y.fillText(tt,z,S);te!==0&&(y.rotate(-te),y.translate(-V,-U))}}};var Gk={};Gk.drawNode=function(y,g,x){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,O=this,$,z,S=g._private,V=S.rscratch,U=g.position();if(!(!st(U.x)||!st(U.y))&&!(I&&!g.visible())){var tt=I?g.effectiveOpacity():1,at=O.usePaths(),lt,ft=!1,Lt=g.padding();$=g.width()+2*Lt,z=g.height()+2*Lt;var kt;x&&(kt=x,y.translate(-kt.x1,-kt.y1));for(var Dt=g.pstyle("background-image"),It=Dt.value,qt=new Array(It.length),te=new Array(It.length),Yt=0,Ht=0;Ht<It.length;Ht++){var ie=It[Ht],Wt=qt[Ht]=ie!=null&&ie!=="none";if(Wt){var be=g.cy().style().getIndexedStyle(g,"background-image-crossorigin","value",Ht);Yt++,te[Ht]=O.getCachedImage(ie,be,function(){S.backgroundTimestamp=Date.now(),g.emitAndNotify("background")})}}var we=g.pstyle("background-blacken").value,ae=g.pstyle("border-width").pfValue,Ne=g.pstyle("background-opacity").value*tt,me=g.pstyle("border-color").value,gn=g.pstyle("border-style").value,ze=g.pstyle("border-opacity").value*tt;y.lineJoin="miter";var Ge=function(){var Ri=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ne;O.eleFillStyle(y,g,Ri)},xn=function(){var Ri=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ze;O.colorStrokeStyle(y,me[0],me[1],me[2],Ri)},On=g.pstyle("shape").strValue,nr=g.pstyle("shape-polygon-points").pfValue;if(at){y.translate(U.x,U.y);var Sn=O.nodePathCache=O.nodePathCache||[],er=$5(On==="polygon"?On+","+nr.join(","):On,""+z,""+$),fr=Sn[er];fr!=null?(lt=fr,ft=!0,V.pathCache=lt):(lt=new Path2D,Sn[er]=V.pathCache=lt)}var Mr=function(){if(!ft){var Ri=U;at&&(Ri={x:0,y:0}),O.nodeShapes[O.getNodeShape(g)].draw(lt||y,Ri.x,Ri.y,$,z)}at?y.fill(lt):y.fill()},yr=function(){for(var Ri=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt,ss=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ro=S.backgrounding,ca=0,ea=0;ea<te.length;ea++){var Nr=g.cy().style().getIndexedStyle(g,"background-image-containment","value",ea);if(ss&&Nr==="over"||!ss&&Nr==="inside"){ca++;continue}qt[ea]&&te[ea].complete&&!te[ea].error&&(ca++,O.drawInscribedImage(y,te[ea],g,ea,Ri))}S.backgrounding=ca!==Yt,ro!==S.backgrounding&&g.updateStyle(!1)},lr=function(){var Ri=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ss=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt;O.hasPie(g)&&(O.drawPie(y,g,ss),Ri&&(at||O.nodeShapes[O.getNodeShape(g)].draw(y,U.x,U.y,$,z)))},bn=function(){var Ri=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt,ss=(we>0?we:-we)*Ri,ro=we>0?0:255;we!==0&&(O.colorFillStyle(y,ro,ro,ro,ss),at?y.fill(lt):y.fill())},Sr=function(){if(ae>0){if(y.lineWidth=ae,y.lineCap="butt",y.setLineDash)switch(gn){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"solid":case"double":y.setLineDash([]);break}if(at?y.stroke(lt):y.stroke(),gn==="double"){y.lineWidth=ae/3;var Ri=y.globalCompositeOperation;y.globalCompositeOperation="destination-out",at?y.stroke(lt):y.stroke(),y.globalCompositeOperation=Ri}y.setLineDash&&y.setLineDash([])}},Er=function(){L&&O.drawNodeOverlay(y,g,U,$,z)},fi=function(){L&&O.drawNodeUnderlay(y,g,U,$,z)},Ii=function(){O.drawElementText(y,g,null,T)},oa=g.pstyle("ghost").value==="yes";if(oa){var Ra=g.pstyle("ghost-offset-x").pfValue,Fi=g.pstyle("ghost-offset-y").pfValue,_i=g.pstyle("ghost-opacity").value,Ms=_i*tt;y.translate(Ra,Fi),Ge(_i*Ne),Mr(),yr(Ms,!0),xn(_i*ze),Sr(),lr(we!==0||ae!==0),yr(Ms,!1),bn(Ms),y.translate(-Ra,-Fi)}at&&y.translate(-U.x,-U.y),fi(),at&&y.translate(U.x,U.y),Ge(),Mr(),yr(tt,!0),xn(),Sr(),lr(we!==0||ae!==0),yr(tt,!1),bn(),at&&y.translate(-U.x,-U.y),Ii(),Er(),x&&y.translate(kt.x1,kt.y1)}};var Ett=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(x,T,L,I,O){var $=this;if(T.visible()){var z=T.pstyle("".concat(g,"-padding")).pfValue,S=T.pstyle("".concat(g,"-opacity")).value,V=T.pstyle("".concat(g,"-color")).value,U=T.pstyle("".concat(g,"-shape")).value;if(S>0){if(L=L||T.position(),I==null||O==null){var tt=T.padding();I=T.width()+2*tt,O=T.height()+2*tt}$.colorFillStyle(x,V[0],V[1],V[2],S),$.nodeShapes[U].draw(x,L.x,L.y,I+z*2,O+z*2),x.fill()}}}};Gk.drawNodeOverlay=Ett("overlay"),Gk.drawNodeUnderlay=Ett("underlay"),Gk.hasPie=function(y){return y=y[0],y._private.hasPie},Gk.drawPie=function(y,g,x,T){g=g[0],T=T||g.position();var L=g.cy().style(),I=g.pstyle("pie-size"),O=T.x,$=T.y,z=g.width(),S=g.height(),V=Math.min(z,S)/2,U=0,tt=this.usePaths();tt&&(O=0,$=0),I.units==="%"?V=V*I.pfValue:I.pfValue!==void 0&&(V=I.pfValue/2);for(var at=1;at<=L.pieBackgroundN;at++){var lt=g.pstyle("pie-"+at+"-background-size").value,ft=g.pstyle("pie-"+at+"-background-color").value,Lt=g.pstyle("pie-"+at+"-background-opacity").value*x,kt=lt/100;kt+U>1&&(kt=1-U);var Dt=1.5*Math.PI+2*Math.PI*U,It=2*Math.PI*kt,qt=Dt+It;lt===0||U>=1||U+kt>1||(y.beginPath(),y.moveTo(O,$),y.arc(O,$,V,Dt,qt),y.closePath(),this.colorFillStyle(y,ft[0],ft[1],ft[2],Lt),y.fill(),U+=kt)}};var xg={},lpt=100;xg.getPixelRatio=function(){var y=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var g=y.backingStorePixelRatio||y.webkitBackingStorePixelRatio||y.mozBackingStorePixelRatio||y.msBackingStorePixelRatio||y.oBackingStorePixelRatio||y.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/g},xg.paintCache=function(y){for(var g=this.paintCaches=this.paintCaches||[],x=!0,T,L=0;L<g.length;L++)if(T=g[L],T.context===y){x=!1;break}return x&&(T={context:y},g.push(T)),T},xg.createGradientStyleFor=function(y,g,x,T,L){var I,O=this.usePaths(),$=x.pstyle(g+"-gradient-stop-colors").value,z=x.pstyle(g+"-gradient-stop-positions").pfValue;if(T==="radial-gradient")if(x.isEdge()){var S=x.sourceEndpoint(),V=x.targetEndpoint(),U=x.midpoint(),tt=T3(S,U),at=T3(V,U);I=y.createRadialGradient(U.x,U.y,0,U.x,U.y,Math.max(tt,at))}else{var lt=O?{x:0,y:0}:x.position(),ft=x.paddedWidth(),Lt=x.paddedHeight();I=y.createRadialGradient(lt.x,lt.y,0,lt.x,lt.y,Math.max(ft,Lt))}else if(x.isEdge()){var kt=x.sourceEndpoint(),Dt=x.targetEndpoint();I=y.createLinearGradient(kt.x,kt.y,Dt.x,Dt.y)}else{var It=O?{x:0,y:0}:x.position(),qt=x.paddedWidth(),te=x.paddedHeight(),Yt=qt/2,Ht=te/2,ie=x.pstyle("background-gradient-direction").value;switch(ie){case"to-bottom":I=y.createLinearGradient(It.x,It.y-Ht,It.x,It.y+Ht);break;case"to-top":I=y.createLinearGradient(It.x,It.y+Ht,It.x,It.y-Ht);break;case"to-left":I=y.createLinearGradient(It.x+Yt,It.y,It.x-Yt,It.y);break;case"to-right":I=y.createLinearGradient(It.x-Yt,It.y,It.x+Yt,It.y);break;case"to-bottom-right":case"to-right-bottom":I=y.createLinearGradient(It.x-Yt,It.y-Ht,It.x+Yt,It.y+Ht);break;case"to-top-right":case"to-right-top":I=y.createLinearGradient(It.x-Yt,It.y+Ht,It.x+Yt,It.y-Ht);break;case"to-bottom-left":case"to-left-bottom":I=y.createLinearGradient(It.x+Yt,It.y-Ht,It.x-Yt,It.y+Ht);break;case"to-top-left":case"to-left-top":I=y.createLinearGradient(It.x+Yt,It.y+Ht,It.x-Yt,It.y-Ht);break}}if(!I)return null;for(var Wt=z.length===$.length,be=$.length,we=0;we<be;we++)I.addColorStop(Wt?z[we]:we/(be-1),"rgba("+$[we][0]+","+$[we][1]+","+$[we][2]+","+L+")");return I},xg.gradientFillStyle=function(y,g,x,T){var L=this.createGradientStyleFor(y,"background",g,x,T);if(!L)return null;y.fillStyle=L},xg.colorFillStyle=function(y,g,x,T,L){y.fillStyle="rgba("+g+","+x+","+T+","+L+")"},xg.eleFillStyle=function(y,g,x){var T=g.pstyle("background-fill").value;if(T==="linear-gradient"||T==="radial-gradient")this.gradientFillStyle(y,g,T,x);else{var L=g.pstyle("background-color").value;this.colorFillStyle(y,L[0],L[1],L[2],x)}},xg.gradientStrokeStyle=function(y,g,x,T){var L=this.createGradientStyleFor(y,"line",g,x,T);if(!L)return null;y.strokeStyle=L},xg.colorStrokeStyle=function(y,g,x,T,L){y.strokeStyle="rgba("+g+","+x+","+T+","+L+")"},xg.eleStrokeStyle=function(y,g,x){var T=g.pstyle("line-fill").value;if(T==="linear-gradient"||T==="radial-gradient")this.gradientStrokeStyle(y,g,T,x);else{var L=g.pstyle("line-color").value;this.colorStrokeStyle(y,L[0],L[1],L[2],x)}},xg.matchCanvasSize=function(y){var g=this,x=g.data,T=g.findContainerClientCoords(),L=T[2],I=T[3],O=g.getPixelRatio(),$=g.motionBlurPxRatio;(y===g.data.bufferCanvases[g.MOTIONBLUR_BUFFER_NODE]||y===g.data.bufferCanvases[g.MOTIONBLUR_BUFFER_DRAG])&&(O=$);var z=L*O,S=I*O,V;if(!(z===g.canvasWidth&&S===g.canvasHeight)){g.fontCaches=null;var U=x.canvasContainer;U.style.width=L+"px",U.style.height=I+"px";for(var tt=0;tt<g.CANVAS_LAYERS;tt++)V=x.canvases[tt],V.width=z,V.height=S,V.style.width=L+"px",V.style.height=I+"px";for(var tt=0;tt<g.BUFFER_COUNT;tt++)V=x.bufferCanvases[tt],V.width=z,V.height=S,V.style.width=L+"px",V.style.height=I+"px";g.textureMult=1,O<=1&&(V=x.bufferCanvases[g.TEXTURE_BUFFER],g.textureMult=2,V.width=z*g.textureMult,V.height=S*g.textureMult),g.canvasWidth=z,g.canvasHeight=S}},xg.renderTo=function(y,g,x,T){this.render({forcedContext:y,forcedZoom:g,forcedPan:x,drawAllLayers:!0,forcedPxRatio:T})},xg.render=function(y){y=y||XN();var g=y.forcedContext,x=y.drawAllLayers,T=y.drawOnlyNodeLayer,L=y.forcedZoom,I=y.forcedPan,O=this,$=y.forcedPxRatio===void 0?this.getPixelRatio():y.forcedPxRatio,z=O.cy,S=O.data,V=S.canvasNeedsRedraw,U=O.textureOnViewport&&!g&&(O.pinching||O.hoverData.dragging||O.swipePanning||O.data.wheelZooming),tt=y.motionBlur!==void 0?y.motionBlur:O.motionBlur,at=O.motionBlurPxRatio,lt=z.hasCompoundNodes(),ft=O.hoverData.draggingEles,Lt=!!(O.hoverData.selecting||O.touchData.selecting);tt=tt&&!g&&O.motionBlurEnabled&&!Lt;var kt=tt;g||(O.prevPxRatio!==$&&(O.invalidateContainerClientCoordsCache(),O.matchCanvasSize(O.container),O.redrawHint("eles",!0),O.redrawHint("drag",!0)),O.prevPxRatio=$),!g&&O.motionBlurTimeout&&clearTimeout(O.motionBlurTimeout),tt&&(O.mbFrames==null&&(O.mbFrames=0),O.mbFrames++,O.mbFrames<3&&(kt=!1),O.mbFrames>O.minMbLowQualFrames&&(O.motionBlurPxRatio=O.mbPxRBlurry)),O.clearingMotionBlur&&(O.motionBlurPxRatio=1),O.textureDrawLastFrame&&!U&&(V[O.NODE]=!0,V[O.SELECT_BOX]=!0);var Dt=z.style(),It=z.zoom(),qt=L!==void 0?L:It,te=z.pan(),Yt={x:te.x,y:te.y},Ht={zoom:It,pan:{x:te.x,y:te.y}},ie=O.prevViewport,Wt=ie===void 0||Ht.zoom!==ie.zoom||Ht.pan.x!==ie.pan.x||Ht.pan.y!==ie.pan.y;!Wt&&!(ft&&!lt)&&(O.motionBlurPxRatio=1),I&&(Yt=I),qt*=$,Yt.x*=$,Yt.y*=$;var be=O.getCachedZSortedEles();function we(Fi,_i,Ms,ts,Ri){var ss=Fi.globalCompositeOperation;Fi.globalCompositeOperation="destination-out",O.colorFillStyle(Fi,255,255,255,O.motionBlurTransparency),Fi.fillRect(_i,Ms,ts,Ri),Fi.globalCompositeOperation=ss}function ae(Fi,_i){var Ms,ts,Ri,ss;!O.clearingMotionBlur&&(Fi===S.bufferContexts[O.MOTIONBLUR_BUFFER_NODE]||Fi===S.bufferContexts[O.MOTIONBLUR_BUFFER_DRAG])?(Ms={x:te.x*at,y:te.y*at},ts=It*at,Ri=O.canvasWidth*at,ss=O.canvasHeight*at):(Ms=Yt,ts=qt,Ri=O.canvasWidth,ss=O.canvasHeight),Fi.setTransform(1,0,0,1,0,0),_i==="motionBlur"?we(Fi,0,0,Ri,ss):!g&&(_i===void 0||_i)&&Fi.clearRect(0,0,Ri,ss),x||(Fi.translate(Ms.x,Ms.y),Fi.scale(ts,ts)),I&&Fi.translate(I.x,I.y),L&&Fi.scale(L,L)}if(U||(O.textureDrawLastFrame=!1),U){if(O.textureDrawLastFrame=!0,!O.textureCache){O.textureCache={},O.textureCache.bb=z.mutableElements().boundingBox(),O.textureCache.texture=O.data.bufferCanvases[O.TEXTURE_BUFFER];var Ne=O.data.bufferContexts[O.TEXTURE_BUFFER];Ne.setTransform(1,0,0,1,0,0),Ne.clearRect(0,0,O.canvasWidth*O.textureMult,O.canvasHeight*O.textureMult),O.render({forcedContext:Ne,drawOnlyNodeLayer:!0,forcedPxRatio:$*O.textureMult});var Ht=O.textureCache.viewport={zoom:z.zoom(),pan:z.pan(),width:O.canvasWidth,height:O.canvasHeight};Ht.mpan={x:(0-Ht.pan.x)/Ht.zoom,y:(0-Ht.pan.y)/Ht.zoom}}V[O.DRAG]=!1,V[O.NODE]=!1;var me=S.contexts[O.NODE],gn=O.textureCache.texture,Ht=O.textureCache.viewport;me.setTransform(1,0,0,1,0,0),tt?we(me,0,0,Ht.width,Ht.height):me.clearRect(0,0,Ht.width,Ht.height);var ze=Dt.core("outside-texture-bg-color").value,Ge=Dt.core("outside-texture-bg-opacity").value;O.colorFillStyle(me,ze[0],ze[1],ze[2],Ge),me.fillRect(0,0,Ht.width,Ht.height);var It=z.zoom();ae(me,!1),me.clearRect(Ht.mpan.x,Ht.mpan.y,Ht.width/Ht.zoom/$,Ht.height/Ht.zoom/$),me.drawImage(gn,Ht.mpan.x,Ht.mpan.y,Ht.width/Ht.zoom/$,Ht.height/Ht.zoom/$)}else O.textureOnViewport&&!g&&(O.textureCache=null);var xn=z.extent(),On=O.pinching||O.hoverData.dragging||O.swipePanning||O.data.wheelZooming||O.hoverData.draggingEles||O.cy.animated(),nr=O.hideEdgesOnViewport&&On,Sn=[];if(Sn[O.NODE]=!V[O.NODE]&&tt&&!O.clearedForMotionBlur[O.NODE]||O.clearingMotionBlur,Sn[O.NODE]&&(O.clearedForMotionBlur[O.NODE]=!0),Sn[O.DRAG]=!V[O.DRAG]&&tt&&!O.clearedForMotionBlur[O.DRAG]||O.clearingMotionBlur,Sn[O.DRAG]&&(O.clearedForMotionBlur[O.DRAG]=!0),V[O.NODE]||x||T||Sn[O.NODE]){var er=tt&&!Sn[O.NODE]&&at!==1,me=g||(er?O.data.bufferContexts[O.MOTIONBLUR_BUFFER_NODE]:S.contexts[O.NODE]),fr=tt&&!er?"motionBlur":void 0;ae(me,fr),nr?O.drawCachedNodes(me,be.nondrag,$,xn):O.drawLayeredElements(me,be.nondrag,$,xn),O.debug&&O.drawDebugPoints(me,be.nondrag),!x&&!tt&&(V[O.NODE]=!1)}if(!T&&(V[O.DRAG]||x||Sn[O.DRAG])){var er=tt&&!Sn[O.DRAG]&&at!==1,me=g||(er?O.data.bufferContexts[O.MOTIONBLUR_BUFFER_DRAG]:S.contexts[O.DRAG]);ae(me,tt&&!er?"motionBlur":void 0),nr?O.drawCachedNodes(me,be.drag,$,xn):O.drawCachedElements(me,be.drag,$,xn),O.debug&&O.drawDebugPoints(me,be.drag),!x&&!tt&&(V[O.DRAG]=!1)}if(O.showFps||!T&&V[O.SELECT_BOX]&&!x){var me=g||S.contexts[O.SELECT_BOX];if(ae(me),O.selection[4]==1&&(O.hoverData.selecting||O.touchData.selecting)){var It=O.cy.zoom(),Mr=Dt.core("selection-box-border-width").value/It;me.lineWidth=Mr,me.fillStyle="rgba("+Dt.core("selection-box-color").value[0]+","+Dt.core("selection-box-color").value[1]+","+Dt.core("selection-box-color").value[2]+","+Dt.core("selection-box-opacity").value+")",me.fillRect(O.selection[0],O.selection[1],O.selection[2]-O.selection[0],O.selection[3]-O.selection[1]),Mr>0&&(me.strokeStyle="rgba("+Dt.core("selection-box-border-color").value[0]+","+Dt.core("selection-box-border-color").value[1]+","+Dt.core("selection-box-border-color").value[2]+","+Dt.core("selection-box-opacity").value+")",me.strokeRect(O.selection[0],O.selection[1],O.selection[2]-O.selection[0],O.selection[3]-O.selection[1]))}if(S.bgActivePosistion&&!O.hoverData.selecting){var It=O.cy.zoom(),yr=S.bgActivePosistion;me.fillStyle="rgba("+Dt.core("active-bg-color").value[0]+","+Dt.core("active-bg-color").value[1]+","+Dt.core("active-bg-color").value[2]+","+Dt.core("active-bg-opacity").value+")",me.beginPath(),me.arc(yr.x,yr.y,Dt.core("active-bg-size").pfValue/It,0,2*Math.PI),me.fill()}var lr=O.lastRedrawTime;if(O.showFps&&lr){lr=Math.round(lr);var bn=Math.round(1e3/lr);me.setTransform(1,0,0,1,0,0),me.fillStyle="rgba(255, 0, 0, 0.75)",me.strokeStyle="rgba(255, 0, 0, 0.75)",me.lineWidth=1,me.fillText("1 frame = "+lr+" ms = "+bn+" fps",0,20);var Sr=60;me.strokeRect(0,30,250,20),me.fillRect(0,30,250*Math.min(bn/Sr,1),20)}x||(V[O.SELECT_BOX]=!1)}if(tt&&at!==1){var Er=S.contexts[O.NODE],fi=O.data.bufferCanvases[O.MOTIONBLUR_BUFFER_NODE],Ii=S.contexts[O.DRAG],oa=O.data.bufferCanvases[O.MOTIONBLUR_BUFFER_DRAG],Ra=function(_i,Ms,ts){_i.setTransform(1,0,0,1,0,0),ts||!kt?_i.clearRect(0,0,O.canvasWidth,O.canvasHeight):we(_i,0,0,O.canvasWidth,O.canvasHeight);var Ri=at;_i.drawImage(Ms,0,0,O.canvasWidth*Ri,O.canvasHeight*Ri,0,0,O.canvasWidth,O.canvasHeight)};(V[O.NODE]||Sn[O.NODE])&&(Ra(Er,fi,Sn[O.NODE]),V[O.NODE]=!1),(V[O.DRAG]||Sn[O.DRAG])&&(Ra(Ii,oa,Sn[O.DRAG]),V[O.DRAG]=!1)}O.prevViewport=Ht,O.clearingMotionBlur&&(O.clearingMotionBlur=!1,O.motionBlurCleared=!0,O.motionBlur=!0),tt&&(O.motionBlurTimeout=setTimeout(function(){O.motionBlurTimeout=null,O.clearedForMotionBlur[O.NODE]=!1,O.clearedForMotionBlur[O.DRAG]=!1,O.motionBlur=!1,O.clearingMotionBlur=!U,O.mbFrames=0,V[O.NODE]=!0,V[O.DRAG]=!0,O.redraw()},lpt)),g||z.emit("render")};var I3={};I3.drawPolygonPath=function(y,g,x,T,L,I){var O=T/2,$=L/2;y.beginPath&&y.beginPath(),y.moveTo(g+O*I[0],x+$*I[1]);for(var z=1;z<I.length/2;z++)y.lineTo(g+O*I[z*2],x+$*I[z*2+1]);y.closePath()},I3.drawRoundPolygonPath=function(y,g,x,T,L,I){var O=T/2,$=L/2,z=LL(T,L);y.beginPath&&y.beginPath();for(var S=0;S<I.length/4;S++){var V=void 0,U=void 0;S===0?V=I.length-2:V=S*4-2,U=S*4+2;var tt=g+O*I[S*4],at=x+$*I[S*4+1],lt=-I[V]*I[U]-I[V+1]*I[U+1],ft=z/Math.tan(Math.acos(lt)/2),Lt=tt-ft*I[V],kt=at-ft*I[V+1],Dt=tt+ft*I[U],It=at+ft*I[U+1];S===0?y.moveTo(Lt,kt):y.lineTo(Lt,kt),y.arcTo(tt,at,Dt,It,z)}y.closePath()},I3.drawRoundRectanglePath=function(y,g,x,T,L){var I=T/2,O=L/2,$=kk(T,L);y.beginPath&&y.beginPath(),y.moveTo(g,x-O),y.arcTo(g+I,x-O,g+I,x,$),y.arcTo(g+I,x+O,g,x+O,$),y.arcTo(g-I,x+O,g-I,x,$),y.arcTo(g-I,x-O,g,x-O,$),y.lineTo(g,x-O),y.closePath()},I3.drawBottomRoundRectanglePath=function(y,g,x,T,L){var I=T/2,O=L/2,$=kk(T,L);y.beginPath&&y.beginPath(),y.moveTo(g,x-O),y.lineTo(g+I,x-O),y.lineTo(g+I,x),y.arcTo(g+I,x+O,g,x+O,$),y.arcTo(g-I,x+O,g-I,x,$),y.lineTo(g-I,x-O),y.lineTo(g,x-O),y.closePath()},I3.drawCutRectanglePath=function(y,g,x,T,L){var I=T/2,O=L/2,$=oF();y.beginPath&&y.beginPath(),y.moveTo(g-I+$,x-O),y.lineTo(g+I-$,x-O),y.lineTo(g+I,x-O+$),y.lineTo(g+I,x+O-$),y.lineTo(g+I-$,x+O),y.lineTo(g-I+$,x+O),y.lineTo(g-I,x+O-$),y.lineTo(g-I,x-O+$),y.closePath()},I3.drawBarrelPath=function(y,g,x,T,L){var I=T/2,O=L/2,$=g-I,z=g+I,S=x-O,V=x+O,U=ML(T,L),tt=U.widthOffset,at=U.heightOffset,lt=U.ctrlPtOffsetPct*tt;y.beginPath&&y.beginPath(),y.moveTo($,S+at),y.lineTo($,V-at),y.quadraticCurveTo($+lt,V,$+tt,V),y.lineTo(z-tt,V),y.quadraticCurveTo(z-lt,V,z,V-at),y.lineTo(z,S+at),y.quadraticCurveTo(z-lt,S,z-tt,S),y.lineTo($+tt,S),y.quadraticCurveTo($+lt,S,$,S+at),y.closePath()};for(var Ttt=Math.sin(0),_tt=Math.cos(0),JB={},tR={},Ctt=Math.PI/40,Uk=0*Math.PI;Uk<2*Math.PI;Uk+=Ctt)JB[Uk]=Math.sin(Uk),tR[Uk]=Math.cos(Uk);I3.drawEllipsePath=function(y,g,x,T,L){if(y.beginPath&&y.beginPath(),y.ellipse)y.ellipse(g,x,T/2,L/2,0,0,2*Math.PI);else for(var I,O,$=T/2,z=L/2,S=0*Math.PI;S<2*Math.PI;S+=Ctt)I=g-$*JB[S]*Ttt+$*tR[S]*_tt,O=x+z*tR[S]*Ttt+z*JB[S]*_tt,S===0?y.moveTo(I,O):y.lineTo(I,O);y.closePath()};var ET={};ET.createBuffer=function(y,g){var x=document.createElement("canvas");return x.width=y,x.height=g,[x,x.getContext("2d")]},ET.bufferCanvasImage=function(y){var g=this.cy,x=g.mutableElements(),T=x.boundingBox(),L=this.findContainerClientCoords(),I=y.full?Math.ceil(T.w):L[2],O=y.full?Math.ceil(T.h):L[3],$=st(y.maxWidth)||st(y.maxHeight),z=this.getPixelRatio(),S=1;if(y.scale!==void 0)I*=y.scale,O*=y.scale,S=y.scale;else if($){var V=1/0,U=1/0;st(y.maxWidth)&&(V=S*y.maxWidth/I),st(y.maxHeight)&&(U=S*y.maxHeight/O),S=Math.min(V,U),I*=S,O*=S}$||(I*=z,O*=z,S*=z);var tt=document.createElement("canvas");tt.width=I,tt.height=O,tt.style.width=I+"px",tt.style.height=O+"px";var at=tt.getContext("2d");if(I>0&&O>0){at.clearRect(0,0,I,O),at.globalCompositeOperation="source-over";var lt=this.getCachedZSortedEles();if(y.full)at.translate(-T.x1*S,-T.y1*S),at.scale(S,S),this.drawElements(at,lt),at.scale(1/S,1/S),at.translate(T.x1*S,T.y1*S);else{var ft=g.pan(),Lt={x:ft.x*S,y:ft.y*S};S*=g.zoom(),at.translate(Lt.x,Lt.y),at.scale(S,S),this.drawElements(at,lt),at.scale(1/S,1/S),at.translate(-Lt.x,-Lt.y)}y.bg&&(at.globalCompositeOperation="destination-over",at.fillStyle=y.bg,at.rect(0,0,I,O),at.fill())}return tt};function hpt(y,g){for(var x=atob(y),T=new ArrayBuffer(x.length),L=new Uint8Array(T),I=0;I<x.length;I++)L[I]=x.charCodeAt(I);return new Blob([T],{type:g})}function Stt(y){var g=y.indexOf(",");return y.substr(g+1)}function Att(y,g,x){var T=function(){return g.toDataURL(x,y.quality)};switch(y.output){case"blob-promise":return new Y5(function(L,I){try{g.toBlob(function(O){O!=null?L(O):I(new Error("`canvas.toBlob()` sent a null value in its callback"))},x,y.quality)}catch(O){I(O)}});case"blob":return hpt(Stt(T()),x);case"base64":return Stt(T());case"base64uri":default:return T()}}ET.png=function(y){return Att(y,this.bufferCanvasImage(y),"image/png")},ET.jpg=function(y){return Att(y,this.bufferCanvasImage(y),"image/jpeg")};var Ltt={};Ltt.nodeShapeImpl=function(y,g,x,T,L,I,O){switch(y){case"ellipse":return this.drawEllipsePath(g,x,T,L,I);case"polygon":return this.drawPolygonPath(g,x,T,L,I,O);case"round-polygon":return this.drawRoundPolygonPath(g,x,T,L,I,O);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(g,x,T,L,I);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(g,x,T,L,I);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(g,x,T,L,I);case"barrel":return this.drawBarrelPath(g,x,T,L,I)}};var fpt=eR,Dc=eR.prototype;Dc.CANVAS_LAYERS=3,Dc.SELECT_BOX=0,Dc.DRAG=1,Dc.NODE=2,Dc.BUFFER_COUNT=3,Dc.TEXTURE_BUFFER=0,Dc.MOTIONBLUR_BUFFER_NODE=1,Dc.MOTIONBLUR_BUFFER_DRAG=2;function eR(y){var g=this;g.data={canvases:new Array(Dc.CANVAS_LAYERS),contexts:new Array(Dc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Dc.CANVAS_LAYERS),bufferCanvases:new Array(Dc.BUFFER_COUNT),bufferContexts:new Array(Dc.CANVAS_LAYERS)};var x="-webkit-tap-highlight-color",T="rgba(0,0,0,0)";g.data.canvasContainer=document.createElement("div");var L=g.data.canvasContainer.style;g.data.canvasContainer.style[x]=T,L.position="relative",L.zIndex="0",L.overflow="hidden";var I=y.cy.container();I.appendChild(g.data.canvasContainer),I.style[x]=T;var O={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Ot()&&(O["-ms-touch-action"]="none",O["touch-action"]="none");for(var $=0;$<Dc.CANVAS_LAYERS;$++){var z=g.data.canvases[$]=document.createElement("canvas");g.data.contexts[$]=z.getContext("2d"),Object.keys(O).forEach(function(lr){z.style[lr]=O[lr]}),z.style.position="absolute",z.setAttribute("data-id","layer"+$),z.style.zIndex=String(Dc.CANVAS_LAYERS-$),g.data.canvasContainer.appendChild(z),g.data.canvasNeedsRedraw[$]=!1}g.data.topCanvas=g.data.canvases[0],g.data.canvases[Dc.NODE].setAttribute("data-id","layer"+Dc.NODE+"-node"),g.data.canvases[Dc.SELECT_BOX].setAttribute("data-id","layer"+Dc.SELECT_BOX+"-selectbox"),g.data.canvases[Dc.DRAG].setAttribute("data-id","layer"+Dc.DRAG+"-drag");for(var $=0;$<Dc.BUFFER_COUNT;$++)g.data.bufferCanvases[$]=document.createElement("canvas"),g.data.bufferContexts[$]=g.data.bufferCanvases[$].getContext("2d"),g.data.bufferCanvases[$].style.position="absolute",g.data.bufferCanvases[$].setAttribute("data-id","buffer"+$),g.data.bufferCanvases[$].style.zIndex=String(-$-1),g.data.bufferCanvases[$].style.visibility="hidden";g.pathsEnabled=!0;var S=qd(),V=function(bn){return{x:(bn.x1+bn.x2)/2,y:(bn.y1+bn.y2)/2}},U=function(bn){return{x:-bn.w/2,y:-bn.h/2}},tt=function(bn){var Sr=bn[0]._private,Er=Sr.oldBackgroundTimestamp===Sr.backgroundTimestamp;return!Er},at=function(bn){return bn[0]._private.nodeKey},lt=function(bn){return bn[0]._private.labelStyleKey},ft=function(bn){return bn[0]._private.sourceLabelStyleKey},Lt=function(bn){return bn[0]._private.targetLabelStyleKey},kt=function(bn,Sr,Er,fi,Ii){return g.drawElement(bn,Sr,Er,!1,!1,Ii)},Dt=function(bn,Sr,Er,fi,Ii){return g.drawElementText(bn,Sr,Er,fi,"main",Ii)},It=function(bn,Sr,Er,fi,Ii){return g.drawElementText(bn,Sr,Er,fi,"source",Ii)},qt=function(bn,Sr,Er,fi,Ii){return g.drawElementText(bn,Sr,Er,fi,"target",Ii)},te=function(bn){return bn.boundingBox(),bn[0]._private.bodyBounds},Yt=function(bn){return bn.boundingBox(),bn[0]._private.labelBounds.main||S},Ht=function(bn){return bn.boundingBox(),bn[0]._private.labelBounds.source||S},ie=function(bn){return bn.boundingBox(),bn[0]._private.labelBounds.target||S},Wt=function(bn,Sr){return Sr},be=function(bn){return V(te(bn))},we=function(bn,Sr,Er){var fi=bn?bn+"-":"";return{x:Sr.x+Er.pstyle(fi+"text-margin-x").pfValue,y:Sr.y+Er.pstyle(fi+"text-margin-y").pfValue}},ae=function(bn,Sr,Er){var fi=bn[0]._private.rscratch;return{x:fi[Sr],y:fi[Er]}},Ne=function(bn){return we("",ae(bn,"labelX","labelY"),bn)},me=function(bn){return we("source",ae(bn,"sourceLabelX","sourceLabelY"),bn)},gn=function(bn){return we("target",ae(bn,"targetLabelX","targetLabelY"),bn)},ze=function(bn){return U(te(bn))},Ge=function(bn){return U(Ht(bn))},xn=function(bn){return U(ie(bn))},On=function(bn){var Sr=Yt(bn),Er=U(Yt(bn));if(bn.isNode()){switch(bn.pstyle("text-halign").value){case"left":Er.x=-Sr.w;break;case"right":Er.x=0;break}switch(bn.pstyle("text-valign").value){case"top":Er.y=-Sr.h;break;case"bottom":Er.y=0;break}}return Er},nr=g.data.eleTxrCache=new qk(g,{getKey:at,doesEleInvalidateKey:tt,drawElement:kt,getBoundingBox:te,getRotationPoint:be,getRotationOffset:ze,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),Sn=g.data.lblTxrCache=new qk(g,{getKey:lt,drawElement:Dt,getBoundingBox:Yt,getRotationPoint:Ne,getRotationOffset:On,isVisible:Wt}),er=g.data.slbTxrCache=new qk(g,{getKey:ft,drawElement:It,getBoundingBox:Ht,getRotationPoint:me,getRotationOffset:Ge,isVisible:Wt}),fr=g.data.tlbTxrCache=new qk(g,{getKey:Lt,drawElement:qt,getBoundingBox:ie,getRotationPoint:gn,getRotationOffset:xn,isVisible:Wt}),Mr=g.data.lyrTxrCache=new wtt(g);g.onUpdateEleCalcs(function(bn,Sr){nr.invalidateElements(Sr),Sn.invalidateElements(Sr),er.invalidateElements(Sr),fr.invalidateElements(Sr),Mr.invalidateElements(Sr);for(var Er=0;Er<Sr.length;Er++){var fi=Sr[Er]._private;fi.oldBackgroundTimestamp=fi.backgroundTimestamp}});var yr=function(bn){for(var Sr=0;Sr<bn.length;Sr++)Mr.enqueueElementRefinement(bn[Sr].ele)};nr.onDequeue(yr),Sn.onDequeue(yr),er.onDequeue(yr),fr.onDequeue(yr)}Dc.redrawHint=function(y,g){var x=this;switch(y){case"eles":x.data.canvasNeedsRedraw[Dc.NODE]=g;break;case"drag":x.data.canvasNeedsRedraw[Dc.DRAG]=g;break;case"select":x.data.canvasNeedsRedraw[Dc.SELECT_BOX]=g;break}};var Mtt=typeof Path2D<"u";Dc.path2dEnabled=function(y){if(y===void 0)return this.pathsEnabled;this.pathsEnabled=!!y},Dc.usePaths=function(){return Mtt&&this.pathsEnabled},Dc.setImgSmoothing=function(y,g){y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled=g:(y.webkitImageSmoothingEnabled=g,y.mozImageSmoothingEnabled=g,y.msImageSmoothingEnabled=g)},Dc.getImgSmoothing=function(y){return y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled:y.webkitImageSmoothingEnabled||y.mozImageSmoothingEnabled||y.msImageSmoothingEnabled},Dc.makeOffscreenCanvas=function(y,g){var x;return(typeof OffscreenCanvas>"u"?"undefined":f(OffscreenCanvas))!=="undefined"?x=new OffscreenCanvas(y,g):(x=document.createElement("canvas"),x.width=y,x.height=g),x},[A0,dv,gv,kT,f6,Gk,xg,I3,ET,Ltt].forEach(function(y){Pe(Dc,y)});var d6=[{name:"null",impl:RB},{name:"base",impl:tM},{name:"canvas",impl:fpt}],kg=[{type:"layout",extensions:JJ},{type:"renderer",extensions:d6}],Tm={},aM={};function T1(y,g,x){var T=x,L=function(ie){Ko("Can not register `"+g+"` for `"+y+"` since `"+ie+"` already exists in the prototype and can not be overridden")};if(y==="core"){if(Bk.prototype[g])return L(g);Bk.prototype[g]=x}else if(y==="collection"){if(Vf.prototype[g])return L(g);Vf.prototype[g]=x}else if(y==="layout"){for(var I=function(ie){this.options=ie,x.call(this,ie),ut(this._private)||(this._private={}),this._private.cy=ie.cy,this._private.listeners=[],this.createEmitter()},O=I.prototype=Object.create(x.prototype),$=[],z=0;z<$.length;z++){var S=$[z];O[S]=O[S]||function(){return this}}O.start&&!O.run?O.run=function(){return this.start(),this}:!O.start&&O.run&&(O.start=function(){return this.run(),this});var V=x.prototype.stop;O.stop=function(){var Ht=this.options;if(Ht&&Ht.animate){var ie=this.animations;if(ie)for(var Wt=0;Wt<ie.length;Wt++)ie[Wt].stop()}return V?V.call(this):this.emit("layoutstop"),this},O.destroy||(O.destroy=function(){return this}),O.cy=function(){return this._private.cy};var U=function(ie){return ie._private.cy},tt={addEventFields:function(ie,Wt){Wt.layout=ie,Wt.cy=U(ie),Wt.target=ie},bubble:function(){return!0},parent:function(ie){return U(ie)}};Pe(O,{createEmitter:function(){return this._private.emitter=new JE(tt,this),this},emitter:function(){return this._private.emitter},on:function(ie,Wt){return this.emitter().on(ie,Wt),this},one:function(ie,Wt){return this.emitter().one(ie,Wt),this},once:function(ie,Wt){return this.emitter().one(ie,Wt),this},removeListener:function(ie,Wt){return this.emitter().removeListener(ie,Wt),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(ie,Wt){return this.emitter().emit(ie,Wt),this}}),jc.eventAliasesOn(O),T=I}else if(y==="renderer"&&g!=="null"&&g!=="base"){var at=g6("renderer","base"),lt=at.prototype,ft=x,Lt=x.prototype,kt=function(){at.apply(this,arguments),ft.apply(this,arguments)},Dt=kt.prototype;for(var It in lt){var qt=lt[It],te=Lt[It]!=null;if(te)return L(It);Dt[It]=qt}for(var Yt in Lt)Dt[Yt]=Lt[Yt];lt.clientFunctions.forEach(function(Ht){Dt[Ht]=Dt[Ht]||function(){Ec("Renderer does not implement `renderer."+Ht+"()` on its prototype")}}),T=kt}else if(y==="__proto__"||y==="constructor"||y==="prototype")return Ec(y+" is an illegal type to be registered, possibly lead to prototype pollutions");return ar({map:Tm,keys:[y,g],value:T})}function g6(y,g){return Qn({map:Tm,keys:[y,g]})}function Dtt(y,g,x,T,L){return ar({map:aM,keys:[y,g,x,T],value:L})}function nR(y,g,x,T){return Qn({map:aM,keys:[y,g,x,T]})}var O3=function(){if(arguments.length===2)return g6.apply(null,arguments);if(arguments.length===3)return T1.apply(null,arguments);if(arguments.length===4)return nR.apply(null,arguments);if(arguments.length===5)return Dtt.apply(null,arguments);Ec("Invalid extension access syntax")};Bk.prototype.extension=O3,kg.forEach(function(y){y.extensions.forEach(function(g){T1(y.type,g.name,g.impl)})});var oM=function y(){if(!(this instanceof y))return new y;this.length=0},_m=oM.prototype;_m.instanceString=function(){return"stylesheet"},_m.selector=function(y){var g=this.length++;return this[g]={selector:y,properties:[]},this},_m.css=function(y,g){var x=this.length-1;if(Tt(y))this[x].properties.push({name:y,value:g});else if(ut(y))for(var T=y,L=Object.keys(T),I=0;I<L.length;I++){var O=L[I],$=T[O];if($!=null){var z=x1.properties[O]||x1.properties[Cn(O)];if(z!=null){var S=z.name,V=$;this[x].properties.push({name:S,value:V})}}}return this},_m.style=_m.css,_m.generateStyle=function(y){var g=new x1(y);return this.appendToStyle(g)},_m.appendToStyle=function(y){for(var g=0;g<this.length;g++){var x=this[g],T=x.selector,L=x.properties;y.selector(T);for(var I=0;I<L.length;I++){var O=L[I];y.css(O.name,O.value)}}return y};var rR="3.23.0",_1=function(g){if(g===void 0&&(g={}),ut(g))return new Bk(g);if(Tt(g))return O3.apply(O3,arguments)};return _1.use=function(y){var g=Array.prototype.slice.call(arguments,1);return g.unshift(_1),y.apply(null,g),this},_1.warnings=function(y){return pk(y)},_1.version=rR,_1.stylesheet=_1.Stylesheet=oM,_1})})(qjt);var nWe=qjt.exports;const Hjt=R9(nWe);var Vjt={exports:{}},qgt={exports:{}},Hgt={exports:{}},Gjt;function rWe(){return Gjt||(Gjt=1,function(i,a){(function(p,v){i.exports=v()})(v0,function(){return function(f){var p={};function v(m){if(p[m])return p[m].exports;var b=p[m]={i:m,l:!1,exports:{}};return f[m].call(b.exports,b,b.exports,v),b.l=!0,b.exports}return v.m=f,v.c=p,v.i=function(m){return m},v.d=function(m,b,E){v.o(m,b)||Object.defineProperty(m,b,{configurable:!1,enumerable:!0,get:E})},v.n=function(m){var b=m&&m.__esModule?function(){return m.default}:function(){return m};return v.d(b,"a",b),b},v.o=function(m,b){return Object.prototype.hasOwnProperty.call(m,b)},v.p="",v(v.s=26)}([function(f,p,v){function m(){}m.QUALITY=1,m.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,m.DEFAULT_INCREMENTAL=!1,m.DEFAULT_ANIMATION_ON_LAYOUT=!0,m.DEFAULT_ANIMATION_DURING_LAYOUT=!1,m.DEFAULT_ANIMATION_PERIOD=50,m.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,m.DEFAULT_GRAPH_MARGIN=15,m.NODE_DIMENSIONS_INCLUDE_LABELS=!1,m.SIMPLE_NODE_SIZE=40,m.SIMPLE_NODE_HALF_SIZE=m.SIMPLE_NODE_SIZE/2,m.EMPTY_COMPOUND_NODE_SIZE=40,m.MIN_EDGE_LENGTH=1,m.WORLD_BOUNDARY=1e6,m.INITIAL_WORLD_BOUNDARY=m.WORLD_BOUNDARY/1e3,m.WORLD_CENTER_X=1200,m.WORLD_CENTER_Y=900,f.exports=m},function(f,p,v){var m=v(2),b=v(8),E=v(9);function C(N,F,j){m.call(this,j),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=j,this.bendpoints=[],this.source=N,this.target=F}C.prototype=Object.create(m.prototype);for(var A in m)C[A]=m[A];C.prototype.getSource=function(){return this.source},C.prototype.getTarget=function(){return this.target},C.prototype.isInterGraph=function(){return this.isInterGraph},C.prototype.getLength=function(){return this.length},C.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},C.prototype.getBendpoints=function(){return this.bendpoints},C.prototype.getLca=function(){return this.lca},C.prototype.getSourceInLca=function(){return this.sourceInLca},C.prototype.getTargetInLca=function(){return this.targetInLca},C.prototype.getOtherEnd=function(N){if(this.source===N)return this.target;if(this.target===N)return this.source;throw"Node is not incident with this edge"},C.prototype.getOtherEndInGraph=function(N,F){for(var j=this.getOtherEnd(N),R=F.getGraphManager().getRoot();;){if(j.getOwner()==F)return j;if(j.getOwner()==R)break;j=j.getOwner().getParent()}return null},C.prototype.updateLength=function(){var N=new Array(4);this.isOverlapingSourceAndTarget=b.getIntersection(this.target.getRect(),this.source.getRect(),N),this.isOverlapingSourceAndTarget||(this.lengthX=N[0]-N[2],this.lengthY=N[1]-N[3],Math.abs(this.lengthX)<1&&(this.lengthX=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},C.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=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=C},function(f,p,v){function m(b){this.vGraphObject=b}f.exports=m},function(f,p,v){var m=v(2),b=v(10),E=v(13),C=v(0),A=v(16),N=v(4);function F(R,H,Y,rt){Y==null&&rt==null&&(rt=H),m.call(this,rt),R.graphManager!=null&&(R=R.graphManager),this.estimatedSize=b.MIN_VALUE,this.inclusionTreeDepth=b.MAX_VALUE,this.vGraphObject=rt,this.edges=[],this.graphManager=R,Y!=null&&H!=null?this.rect=new E(H.x,H.y,Y.width,Y.height):this.rect=new E}F.prototype=Object.create(m.prototype);for(var j in m)F[j]=m[j];F.prototype.getEdges=function(){return this.edges},F.prototype.getChild=function(){return this.child},F.prototype.getOwner=function(){return this.owner},F.prototype.getWidth=function(){return this.rect.width},F.prototype.setWidth=function(R){this.rect.width=R},F.prototype.getHeight=function(){return this.rect.height},F.prototype.setHeight=function(R){this.rect.height=R},F.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},F.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},F.prototype.getCenter=function(){return new N(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},F.prototype.getLocation=function(){return new N(this.rect.x,this.rect.y)},F.prototype.getRect=function(){return this.rect},F.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},F.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},F.prototype.setRect=function(R,H){this.rect.x=R.x,this.rect.y=R.y,this.rect.width=H.width,this.rect.height=H.height},F.prototype.setCenter=function(R,H){this.rect.x=R-this.rect.width/2,this.rect.y=H-this.rect.height/2},F.prototype.setLocation=function(R,H){this.rect.x=R,this.rect.y=H},F.prototype.moveBy=function(R,H){this.rect.x+=R,this.rect.y+=H},F.prototype.getEdgeListToNode=function(R){var H=[],Y=this;return Y.edges.forEach(function(rt){if(rt.target==R){if(rt.source!=Y)throw"Incorrect edge source!";H.push(rt)}}),H},F.prototype.getEdgesBetween=function(R){var H=[],Y=this;return Y.edges.forEach(function(rt){if(!(rt.source==Y||rt.target==Y))throw"Incorrect edge source and/or target";(rt.target==R||rt.source==R)&&H.push(rt)}),H},F.prototype.getNeighborsList=function(){var R=new Set,H=this;return H.edges.forEach(function(Y){if(Y.source==H)R.add(Y.target);else{if(Y.target!=H)throw"Incorrect incidency!";R.add(Y.source)}}),R},F.prototype.withChildren=function(){var R=new Set,H,Y;if(R.add(this),this.child!=null)for(var rt=this.child.getNodes(),J=0;J<rt.length;J++)H=rt[J],Y=H.withChildren(),Y.forEach(function(it){R.add(it)});return R},F.prototype.getNoOfChildren=function(){var R=0,H;if(this.child==null)R=1;else for(var Y=this.child.getNodes(),rt=0;rt<Y.length;rt++)H=Y[rt],R+=H.getNoOfChildren();return R==0&&(R=1),R},F.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},F.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},F.prototype.scatter=function(){var R,H,Y=-C.INITIAL_WORLD_BOUNDARY,rt=C.INITIAL_WORLD_BOUNDARY;R=C.WORLD_CENTER_X+A.nextDouble()*(rt-Y)+Y;var J=-C.INITIAL_WORLD_BOUNDARY,it=C.INITIAL_WORLD_BOUNDARY;H=C.WORLD_CENTER_Y+A.nextDouble()*(it-J)+J,this.rect.x=R,this.rect.y=H},F.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var R=this.getChild();if(R.updateBounds(!0),this.rect.x=R.getLeft(),this.rect.y=R.getTop(),this.setWidth(R.getRight()-R.getLeft()),this.setHeight(R.getBottom()-R.getTop()),C.NODE_DIMENSIONS_INCLUDE_LABELS){var H=R.getRight()-R.getLeft(),Y=R.getBottom()-R.getTop();this.labelWidth>H&&(this.rect.x-=(this.labelWidth-H)/2,this.setWidth(this.labelWidth)),this.labelHeight>Y&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-Y)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-Y),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(R){var H=this.rect.x;H>C.WORLD_BOUNDARY?H=C.WORLD_BOUNDARY:H<-C.WORLD_BOUNDARY&&(H=-C.WORLD_BOUNDARY);var Y=this.rect.y;Y>C.WORLD_BOUNDARY?Y=C.WORLD_BOUNDARY:Y<-C.WORLD_BOUNDARY&&(Y=-C.WORLD_BOUNDARY);var rt=new N(H,Y),J=R.inverseTransformPoint(rt);this.setLocation(J.x,J.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=F},function(f,p,v){function m(b,E){b==null&&E==null?(this.x=0,this.y=0):(this.x=b,this.y=E)}m.prototype.getX=function(){return this.x},m.prototype.getY=function(){return this.y},m.prototype.setX=function(b){this.x=b},m.prototype.setY=function(b){this.y=b},m.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},m.prototype.getCopy=function(){return new m(this.x,this.y)},m.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},f.exports=m},function(f,p,v){var m=v(2),b=v(10),E=v(0),C=v(6),A=v(3),N=v(1),F=v(13),j=v(12),R=v(11);function H(rt,J,it){m.call(this,it),this.estimatedSize=b.MIN_VALUE,this.margin=E.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=rt,J!=null&&J instanceof C?this.graphManager=J:J!=null&&J instanceof Layout&&(this.graphManager=J.graphManager)}H.prototype=Object.create(m.prototype);for(var Y in m)H[Y]=m[Y];H.prototype.getNodes=function(){return this.nodes},H.prototype.getEdges=function(){return this.edges},H.prototype.getGraphManager=function(){return this.graphManager},H.prototype.getParent=function(){return this.parent},H.prototype.getLeft=function(){return this.left},H.prototype.getRight=function(){return this.right},H.prototype.getTop=function(){return this.top},H.prototype.getBottom=function(){return this.bottom},H.prototype.isConnected=function(){return this.isConnected},H.prototype.add=function(rt,J,it){if(J==null&&it==null){var ht=rt;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(ht)>-1)throw"Node already in graph!";return ht.owner=this,this.getNodes().push(ht),ht}else{var Tt=rt;if(!(this.getNodes().indexOf(J)>-1&&this.getNodes().indexOf(it)>-1))throw"Source or target not in graph!";if(!(J.owner==it.owner&&J.owner==this))throw"Both owners must be this graph!";return J.owner!=it.owner?null:(Tt.source=J,Tt.target=it,Tt.isInterGraph=!1,this.getEdges().push(Tt),J.edges.push(Tt),it!=J&&it.edges.push(Tt),Tt)}},H.prototype.remove=function(rt){var J=rt;if(rt instanceof A){if(J==null)throw"Node is null!";if(!(J.owner!=null&&J.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var it=J.edges.slice(),ht,Tt=it.length,yt=0;yt<Tt;yt++)ht=it[yt],ht.isInterGraph?this.graphManager.remove(ht):ht.source.owner.remove(ht);var vt=this.nodes.indexOf(J);if(vt==-1)throw"Node not in owner node list!";this.nodes.splice(vt,1)}else if(rt instanceof N){var ht=rt;if(ht==null)throw"Edge is null!";if(!(ht.source!=null&&ht.target!=null))throw"Source and/or target is null!";if(!(ht.source.owner!=null&&ht.target.owner!=null&&ht.source.owner==this&&ht.target.owner==this))throw"Source and/or target owner is invalid!";var ut=ht.source.edges.indexOf(ht),xt=ht.target.edges.indexOf(ht);if(!(ut>-1&&xt>-1))throw"Source and/or target doesn't know this edge!";ht.source.edges.splice(ut,1),ht.target!=ht.source&&ht.target.edges.splice(xt,1);var vt=ht.source.owner.getEdges().indexOf(ht);if(vt==-1)throw"Not in owner's edge list!";ht.source.owner.getEdges().splice(vt,1)}},H.prototype.updateLeftTop=function(){for(var rt=b.MAX_VALUE,J=b.MAX_VALUE,it,ht,Tt,yt=this.getNodes(),vt=yt.length,ut=0;ut<vt;ut++){var xt=yt[ut];it=xt.getTop(),ht=xt.getLeft(),rt>it&&(rt=it),J>ht&&(J=ht)}return rt==b.MAX_VALUE?null:(yt[0].getParent().paddingLeft!=null?Tt=yt[0].getParent().paddingLeft:Tt=this.margin,this.left=J-Tt,this.top=rt-Tt,new j(this.left,this.top))},H.prototype.updateBounds=function(rt){for(var J=b.MAX_VALUE,it=-b.MAX_VALUE,ht=b.MAX_VALUE,Tt=-b.MAX_VALUE,yt,vt,ut,xt,st,Et=this.nodes,gt=Et.length,pt=0;pt<gt;pt++){var Ct=Et[pt];rt&&Ct.child!=null&&Ct.updateBounds(),yt=Ct.getLeft(),vt=Ct.getRight(),ut=Ct.getTop(),xt=Ct.getBottom(),J>yt&&(J=yt),it<vt&&(it=vt),ht>ut&&(ht=ut),Tt<xt&&(Tt=xt)}var nt=new F(J,ht,it-J,Tt-ht);J==b.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),Et[0].getParent().paddingLeft!=null?st=Et[0].getParent().paddingLeft:st=this.margin,this.left=nt.x-st,this.right=nt.x+nt.width+st,this.top=nt.y-st,this.bottom=nt.y+nt.height+st},H.calculateBounds=function(rt){for(var J=b.MAX_VALUE,it=-b.MAX_VALUE,ht=b.MAX_VALUE,Tt=-b.MAX_VALUE,yt,vt,ut,xt,st=rt.length,Et=0;Et<st;Et++){var gt=rt[Et];yt=gt.getLeft(),vt=gt.getRight(),ut=gt.getTop(),xt=gt.getBottom(),J>yt&&(J=yt),it<vt&&(it=vt),ht>ut&&(ht=ut),Tt<xt&&(Tt=xt)}var pt=new F(J,ht,it-J,Tt-ht);return pt},H.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},H.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},H.prototype.calcEstimatedSize=function(){for(var rt=0,J=this.nodes,it=J.length,ht=0;ht<it;ht++){var Tt=J[ht];rt+=Tt.calcEstimatedSize()}return rt==0?this.estimatedSize=E.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=rt/Math.sqrt(this.nodes.length),this.estimatedSize},H.prototype.updateConnected=function(){var rt=this;if(this.nodes.length==0){this.isConnected=!0;return}var J=new R,it=new Set,ht=this.nodes[0],Tt,yt,vt=ht.withChildren();for(vt.forEach(function(pt){J.push(pt),it.add(pt)});J.length!==0;){ht=J.shift(),Tt=ht.getEdges();for(var ut=Tt.length,xt=0;xt<ut;xt++){var st=Tt[xt];if(yt=st.getOtherEndInGraph(ht,this),yt!=null&&!it.has(yt)){var Et=yt.withChildren();Et.forEach(function(pt){J.push(pt),it.add(pt)})}}}if(this.isConnected=!1,it.size>=this.nodes.length){var gt=0;it.forEach(function(pt){pt.owner==rt&&gt++}),gt==this.nodes.length&&(this.isConnected=!0)}},f.exports=H},function(f,p,v){var m,b=v(1);function E(C){m=v(5),this.layout=C,this.graphs=[],this.edges=[]}E.prototype.addRoot=function(){var C=this.layout.newGraph(),A=this.layout.newNode(null),N=this.add(C,A);return this.setRootGraph(N),this.rootGraph},E.prototype.add=function(C,A,N,F,j){if(N==null&&F==null&&j==null){if(C==null)throw"Graph is null!";if(A==null)throw"Parent node is null!";if(this.graphs.indexOf(C)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(C),C.parent!=null)throw"Already has a parent!";if(A.child!=null)throw"Already has a child!";return C.parent=A,A.child=C,C}else{j=N,F=A,N=C;var R=F.getOwner(),H=j.getOwner();if(!(R!=null&&R.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(H!=null&&H.getGraphManager()==this))throw"Target not in this graph mgr!";if(R==H)return N.isInterGraph=!1,R.add(N,F,j);if(N.isInterGraph=!0,N.source=F,N.target=j,this.edges.indexOf(N)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(N),!(N.source!=null&&N.target!=null))throw"Edge source and/or target is null!";if(!(N.source.edges.indexOf(N)==-1&&N.target.edges.indexOf(N)==-1))throw"Edge already in source and/or target incidency list!";return N.source.edges.push(N),N.target.edges.push(N),N}},E.prototype.remove=function(C){if(C instanceof m){var A=C;if(A.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(A==this.rootGraph||A.parent!=null&&A.parent.graphManager==this))throw"Invalid parent node!";var N=[];N=N.concat(A.getEdges());for(var F,j=N.length,R=0;R<j;R++)F=N[R],A.remove(F);var H=[];H=H.concat(A.getNodes());var Y;j=H.length;for(var R=0;R<j;R++)Y=H[R],A.remove(Y);A==this.rootGraph&&this.setRootGraph(null);var rt=this.graphs.indexOf(A);this.graphs.splice(rt,1),A.parent=null}else if(C instanceof b){if(F=C,F==null)throw"Edge is null!";if(!F.isInterGraph)throw"Not an inter-graph edge!";if(!(F.source!=null&&F.target!=null))throw"Source and/or target is null!";if(!(F.source.edges.indexOf(F)!=-1&&F.target.edges.indexOf(F)!=-1))throw"Source and/or target doesn't know this edge!";var rt=F.source.edges.indexOf(F);if(F.source.edges.splice(rt,1),rt=F.target.edges.indexOf(F),F.target.edges.splice(rt,1),!(F.source.owner!=null&&F.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(F.source.owner.getGraphManager().edges.indexOf(F)==-1)throw"Not in owner graph manager's edge list!";var rt=F.source.owner.getGraphManager().edges.indexOf(F);F.source.owner.getGraphManager().edges.splice(rt,1)}},E.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},E.prototype.getGraphs=function(){return this.graphs},E.prototype.getAllNodes=function(){if(this.allNodes==null){for(var C=[],A=this.getGraphs(),N=A.length,F=0;F<N;F++)C=C.concat(A[F].getNodes());this.allNodes=C}return this.allNodes},E.prototype.resetAllNodes=function(){this.allNodes=null},E.prototype.resetAllEdges=function(){this.allEdges=null},E.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},E.prototype.getAllEdges=function(){if(this.allEdges==null){var C=[],A=this.getGraphs();A.length;for(var N=0;N<A.length;N++)C=C.concat(A[N].getEdges());C=C.concat(this.edges),this.allEdges=C}return this.allEdges},E.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},E.prototype.setAllNodesToApplyGravitation=function(C){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=C},E.prototype.getRoot=function(){return this.rootGraph},E.prototype.setRootGraph=function(C){if(C.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=C,C.parent==null&&(C.parent=this.layout.newNode("Root node"))},E.prototype.getLayout=function(){return this.layout},E.prototype.isOneAncestorOfOther=function(C,A){if(!(C!=null&&A!=null))throw"assert failed";if(C==A)return!0;var N=C.getOwner(),F;do{if(F=N.getParent(),F==null)break;if(F==A)return!0;if(N=F.getOwner(),N==null)break}while(!0);N=A.getOwner();do{if(F=N.getParent(),F==null)break;if(F==C)return!0;if(N=F.getOwner(),N==null)break}while(!0);return!1},E.prototype.calcLowestCommonAncestors=function(){for(var C,A,N,F,j,R=this.getAllEdges(),H=R.length,Y=0;Y<H;Y++){if(C=R[Y],A=C.source,N=C.target,C.lca=null,C.sourceInLca=A,C.targetInLca=N,A==N){C.lca=A.getOwner();continue}for(F=A.getOwner();C.lca==null;){for(C.targetInLca=N,j=N.getOwner();C.lca==null;){if(j==F){C.lca=j;break}if(j==this.rootGraph)break;if(C.lca!=null)throw"assert failed";C.targetInLca=j.getParent(),j=C.targetInLca.getOwner()}if(F==this.rootGraph)break;C.lca==null&&(C.sourceInLca=F.getParent(),F=C.sourceInLca.getOwner())}if(C.lca==null)throw"assert failed"}},E.prototype.calcLowestCommonAncestor=function(C,A){if(C==A)return C.getOwner();var N=C.getOwner();do{if(N==null)break;var F=A.getOwner();do{if(F==null)break;if(F==N)return F;F=F.getParent().getOwner()}while(!0);N=N.getParent().getOwner()}while(!0);return N},E.prototype.calcInclusionTreeDepths=function(C,A){C==null&&A==null&&(C=this.rootGraph,A=1);for(var N,F=C.getNodes(),j=F.length,R=0;R<j;R++)N=F[R],N.inclusionTreeDepth=A,N.child!=null&&this.calcInclusionTreeDepths(N.child,A+1)},E.prototype.includesInvalidEdge=function(){for(var C,A=this.edges.length,N=0;N<A;N++)if(C=this.edges[N],this.isOneAncestorOfOther(C.source,C.target))return!0;return!1},f.exports=E},function(f,p,v){var m=v(0);function b(){}for(var E in m)b[E]=m[E];b.MAX_ITERATIONS=2500,b.DEFAULT_EDGE_LENGTH=50,b.DEFAULT_SPRING_STRENGTH=.45,b.DEFAULT_REPULSION_STRENGTH=4500,b.DEFAULT_GRAVITY_STRENGTH=.4,b.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,b.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,b.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,b.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,b.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,b.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,b.COOLING_ADAPTATION_FACTOR=.33,b.ADAPTATION_LOWER_NODE_LIMIT=1e3,b.ADAPTATION_UPPER_NODE_LIMIT=5e3,b.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,b.MAX_NODE_DISPLACEMENT=b.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,b.MIN_REPULSION_DIST=b.DEFAULT_EDGE_LENGTH/10,b.CONVERGENCE_CHECK_PERIOD=100,b.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,b.MIN_EDGE_LENGTH=1,b.GRID_CALCULATION_CHECK_PERIOD=10,f.exports=b},function(f,p,v){var m=v(12);function b(){}b.calcSeparationAmount=function(E,C,A,N){if(!E.intersects(C))throw"assert failed";var F=new Array(2);this.decideDirectionsForOverlappingNodes(E,C,F),A[0]=Math.min(E.getRight(),C.getRight())-Math.max(E.x,C.x),A[1]=Math.min(E.getBottom(),C.getBottom())-Math.max(E.y,C.y),E.getX()<=C.getX()&&E.getRight()>=C.getRight()?A[0]+=Math.min(C.getX()-E.getX(),E.getRight()-C.getRight()):C.getX()<=E.getX()&&C.getRight()>=E.getRight()&&(A[0]+=Math.min(E.getX()-C.getX(),C.getRight()-E.getRight())),E.getY()<=C.getY()&&E.getBottom()>=C.getBottom()?A[1]+=Math.min(C.getY()-E.getY(),E.getBottom()-C.getBottom()):C.getY()<=E.getY()&&C.getBottom()>=E.getBottom()&&(A[1]+=Math.min(E.getY()-C.getY(),C.getBottom()-E.getBottom()));var j=Math.abs((C.getCenterY()-E.getCenterY())/(C.getCenterX()-E.getCenterX()));C.getCenterY()===E.getCenterY()&&C.getCenterX()===E.getCenterX()&&(j=1);var R=j*A[0],H=A[1]/j;A[0]<H?H=A[0]:R=A[1],A[0]=-1*F[0]*(H/2+N),A[1]=-1*F[1]*(R/2+N)},b.decideDirectionsForOverlappingNodes=function(E,C,A){E.getCenterX()<C.getCenterX()?A[0]=-1:A[0]=1,E.getCenterY()<C.getCenterY()?A[1]=-1:A[1]=1},b.getIntersection2=function(E,C,A){var N=E.getCenterX(),F=E.getCenterY(),j=C.getCenterX(),R=C.getCenterY();if(E.intersects(C))return A[0]=N,A[1]=F,A[2]=j,A[3]=R,!0;var H=E.getX(),Y=E.getY(),rt=E.getRight(),J=E.getX(),it=E.getBottom(),ht=E.getRight(),Tt=E.getWidthHalf(),yt=E.getHeightHalf(),vt=C.getX(),ut=C.getY(),xt=C.getRight(),st=C.getX(),Et=C.getBottom(),gt=C.getRight(),pt=C.getWidthHalf(),Ct=C.getHeightHalf(),nt=!1,Nt=!1;if(N===j){if(F>R)return A[0]=N,A[1]=Y,A[2]=j,A[3]=Et,!1;if(F<R)return A[0]=N,A[1]=it,A[2]=j,A[3]=ut,!1}else if(F===R){if(N>j)return A[0]=H,A[1]=F,A[2]=xt,A[3]=R,!1;if(N<j)return A[0]=rt,A[1]=F,A[2]=vt,A[3]=R,!1}else{var dt=E.height/E.width,Ft=C.height/C.width,X=(R-F)/(j-N),Bt=void 0,Rt=void 0,mt=void 0,Ot=void 0,Gt=void 0,Ve=void 0;if(-dt===X?N>j?(A[0]=J,A[1]=it,nt=!0):(A[0]=rt,A[1]=Y,nt=!0):dt===X&&(N>j?(A[0]=H,A[1]=Y,nt=!0):(A[0]=ht,A[1]=it,nt=!0)),-Ft===X?j>N?(A[2]=st,A[3]=Et,Nt=!0):(A[2]=xt,A[3]=ut,Nt=!0):Ft===X&&(j>N?(A[2]=vt,A[3]=ut,Nt=!0):(A[2]=gt,A[3]=Et,Nt=!0)),nt&&Nt)return!1;if(N>j?F>R?(Bt=this.getCardinalDirection(dt,X,4),Rt=this.getCardinalDirection(Ft,X,2)):(Bt=this.getCardinalDirection(-dt,X,3),Rt=this.getCardinalDirection(-Ft,X,1)):F>R?(Bt=this.getCardinalDirection(-dt,X,1),Rt=this.getCardinalDirection(-Ft,X,3)):(Bt=this.getCardinalDirection(dt,X,2),Rt=this.getCardinalDirection(Ft,X,4)),!nt)switch(Bt){case 1:Ot=Y,mt=N+-yt/X,A[0]=mt,A[1]=Ot;break;case 2:mt=ht,Ot=F+Tt*X,A[0]=mt,A[1]=Ot;break;case 3:Ot=it,mt=N+yt/X,A[0]=mt,A[1]=Ot;break;case 4:mt=J,Ot=F+-Tt*X,A[0]=mt,A[1]=Ot;break}if(!Nt)switch(Rt){case 1:Ve=ut,Gt=j+-Ct/X,A[2]=Gt,A[3]=Ve;break;case 2:Gt=gt,Ve=R+pt*X,A[2]=Gt,A[3]=Ve;break;case 3:Ve=Et,Gt=j+Ct/X,A[2]=Gt,A[3]=Ve;break;case 4:Gt=st,Ve=R+-pt*X,A[2]=Gt,A[3]=Ve;break}}return!1},b.getCardinalDirection=function(E,C,A){return E>C?A:1+A%4},b.getIntersection=function(E,C,A,N){if(N==null)return this.getIntersection2(E,C,A);var F=E.x,j=E.y,R=C.x,H=C.y,Y=A.x,rt=A.y,J=N.x,it=N.y,ht=void 0,Tt=void 0,yt=void 0,vt=void 0,ut=void 0,xt=void 0,st=void 0,Et=void 0,gt=void 0;return yt=H-j,ut=F-R,st=R*j-F*H,vt=it-rt,xt=Y-J,Et=J*rt-Y*it,gt=yt*xt-vt*ut,gt===0?null:(ht=(ut*Et-xt*st)/gt,Tt=(vt*st-yt*Et)/gt,new m(ht,Tt))},b.angleOfVector=function(E,C,A,N){var F=void 0;return E!==A?(F=Math.atan((N-C)/(A-E)),A<E?F+=Math.PI:N<C&&(F+=this.TWO_PI)):N<C?F=this.ONE_AND_HALF_PI:F=this.HALF_PI,F},b.doIntersect=function(E,C,A,N){var F=E.x,j=E.y,R=C.x,H=C.y,Y=A.x,rt=A.y,J=N.x,it=N.y,ht=(R-F)*(it-rt)-(J-Y)*(H-j);if(ht===0)return!1;var Tt=((it-rt)*(J-F)+(Y-J)*(it-j))/ht,yt=((j-H)*(J-F)+(R-F)*(it-j))/ht;return 0<Tt&&Tt<1&&0<yt&&yt<1},b.HALF_PI=.5*Math.PI,b.ONE_AND_HALF_PI=1.5*Math.PI,b.TWO_PI=2*Math.PI,b.THREE_PI=3*Math.PI,f.exports=b},function(f,p,v){function m(){}m.sign=function(b){return b>0?1:b<0?-1:0},m.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},m.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},f.exports=m},function(f,p,v){function m(){}m.MAX_VALUE=2147483647,m.MIN_VALUE=-2147483648,f.exports=m},function(f,p,v){var m=function(){function F(j,R){for(var H=0;H<R.length;H++){var Y=R[H];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(j,Y.key,Y)}}return function(j,R,H){return R&&F(j.prototype,R),H&&F(j,H),j}}();function b(F,j){if(!(F instanceof j))throw new TypeError("Cannot call a class as a function")}var E=function(j){return{value:j,next:null,prev:null}},C=function(j,R,H,Y){return j!==null?j.next=R:Y.head=R,H!==null?H.prev=R:Y.tail=R,R.prev=j,R.next=H,Y.length++,R},A=function(j,R){var H=j.prev,Y=j.next;return H!==null?H.next=Y:R.head=Y,Y!==null?Y.prev=H:R.tail=H,j.prev=j.next=null,R.length--,j},N=function(){function F(j){var R=this;b(this,F),this.length=0,this.head=null,this.tail=null,j!=null&&j.forEach(function(H){return R.push(H)})}return m(F,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(R,H){return C(H.prev,E(R),H,this)}},{key:"insertAfter",value:function(R,H){return C(H,E(R),H.next,this)}},{key:"insertNodeBefore",value:function(R,H){return C(H.prev,R,H,this)}},{key:"insertNodeAfter",value:function(R,H){return C(H,R,H.next,this)}},{key:"push",value:function(R){return C(this.tail,E(R),null,this)}},{key:"unshift",value:function(R){return C(null,E(R),this.head,this)}},{key:"remove",value:function(R){return A(R,this)}},{key:"pop",value:function(){return A(this.tail,this).value}},{key:"popNode",value:function(){return A(this.tail,this)}},{key:"shift",value:function(){return A(this.head,this).value}},{key:"shiftNode",value:function(){return A(this.head,this)}},{key:"get_object_at",value:function(R){if(R<=this.length()){for(var H=1,Y=this.head;H<R;)Y=Y.next,H++;return Y.value}}},{key:"set_object_at",value:function(R,H){if(R<=this.length()){for(var Y=1,rt=this.head;Y<R;)rt=rt.next,Y++;rt.value=H}}}]),F}();f.exports=N},function(f,p,v){function m(b,E,C){this.x=null,this.y=null,b==null&&E==null&&C==null?(this.x=0,this.y=0):typeof b=="number"&&typeof E=="number"&&C==null?(this.x=b,this.y=E):b.constructor.name=="Point"&&E==null&&C==null&&(C=b,this.x=C.x,this.y=C.y)}m.prototype.getX=function(){return this.x},m.prototype.getY=function(){return this.y},m.prototype.getLocation=function(){return new m(this.x,this.y)},m.prototype.setLocation=function(b,E,C){b.constructor.name=="Point"&&E==null&&C==null?(C=b,this.setLocation(C.x,C.y)):typeof b=="number"&&typeof E=="number"&&C==null&&(parseInt(b)==b&&parseInt(E)==E?this.move(b,E):(this.x=Math.floor(b+.5),this.y=Math.floor(E+.5)))},m.prototype.move=function(b,E){this.x=b,this.y=E},m.prototype.translate=function(b,E){this.x+=b,this.y+=E},m.prototype.equals=function(b){if(b.constructor.name=="Point"){var E=b;return this.x==E.x&&this.y==E.y}return this==b},m.prototype.toString=function(){return new m().constructor.name+"[x="+this.x+",y="+this.y+"]"},f.exports=m},function(f,p,v){function m(b,E,C,A){this.x=0,this.y=0,this.width=0,this.height=0,b!=null&&E!=null&&C!=null&&A!=null&&(this.x=b,this.y=E,this.width=C,this.height=A)}m.prototype.getX=function(){return this.x},m.prototype.setX=function(b){this.x=b},m.prototype.getY=function(){return this.y},m.prototype.setY=function(b){this.y=b},m.prototype.getWidth=function(){return this.width},m.prototype.setWidth=function(b){this.width=b},m.prototype.getHeight=function(){return this.height},m.prototype.setHeight=function(b){this.height=b},m.prototype.getRight=function(){return this.x+this.width},m.prototype.getBottom=function(){return this.y+this.height},m.prototype.intersects=function(b){return!(this.getRight()<b.x||this.getBottom()<b.y||b.getRight()<this.x||b.getBottom()<this.y)},m.prototype.getCenterX=function(){return this.x+this.width/2},m.prototype.getMinX=function(){return this.getX()},m.prototype.getMaxX=function(){return this.getX()+this.width},m.prototype.getCenterY=function(){return this.y+this.height/2},m.prototype.getMinY=function(){return this.getY()},m.prototype.getMaxY=function(){return this.getY()+this.height},m.prototype.getWidthHalf=function(){return this.width/2},m.prototype.getHeightHalf=function(){return this.height/2},f.exports=m},function(f,p,v){var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};function b(){}b.lastID=0,b.createID=function(E){return b.isPrimitive(E)?E:(E.uniqueID!=null||(E.uniqueID=b.getString(),b.lastID++),E.uniqueID)},b.getString=function(E){return E==null&&(E=b.lastID),"Object#"+E},b.isPrimitive=function(E){var C=typeof E>"u"?"undefined":m(E);return E==null||C!="object"&&C!="function"},f.exports=b},function(f,p,v){function m(Y){if(Array.isArray(Y)){for(var rt=0,J=Array(Y.length);rt<Y.length;rt++)J[rt]=Y[rt];return J}else return Array.from(Y)}var b=v(0),E=v(6),C=v(3),A=v(1),N=v(5),F=v(4),j=v(17),R=v(27);function H(Y){R.call(this),this.layoutQuality=b.QUALITY,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=b.DEFAULT_INCREMENTAL,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new E(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,Y!=null&&(this.isRemoteUse=Y)}H.RANDOM_SEED=1,H.prototype=Object.create(R.prototype),H.prototype.getGraphManager=function(){return this.graphManager},H.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},H.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},H.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},H.prototype.newGraphManager=function(){var Y=new E(this);return this.graphManager=Y,Y},H.prototype.newGraph=function(Y){return new N(null,this.graphManager,Y)},H.prototype.newNode=function(Y){return new C(this.graphManager,Y)},H.prototype.newEdge=function(Y){return new A(null,null,Y)},H.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},H.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var Y;return this.checkLayoutSuccess()?Y=!1:Y=this.layout(),b.ANIMATE==="during"?!1:(Y&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,Y)},H.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},H.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var Y=this.graphManager.getAllEdges(),rt=0;rt<Y.length;rt++)Y[rt];for(var J=this.graphManager.getRoot().getNodes(),rt=0;rt<J.length;rt++)J[rt];this.update(this.graphManager.getRoot())}},H.prototype.update=function(Y){if(Y==null)this.update2();else if(Y instanceof C){var rt=Y;if(rt.getChild()!=null)for(var J=rt.getChild().getNodes(),it=0;it<J.length;it++)update(J[it]);if(rt.vGraphObject!=null){var ht=rt.vGraphObject;ht.update(rt)}}else if(Y instanceof A){var Tt=Y;if(Tt.vGraphObject!=null){var yt=Tt.vGraphObject;yt.update(Tt)}}else if(Y instanceof N){var vt=Y;if(vt.vGraphObject!=null){var ut=vt.vGraphObject;ut.update(vt)}}},H.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=b.QUALITY,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=b.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},H.prototype.transform=function(Y){if(Y==null)this.transform(new F(0,0));else{var rt=new j,J=this.graphManager.getRoot().updateLeftTop();if(J!=null){rt.setWorldOrgX(Y.x),rt.setWorldOrgY(Y.y),rt.setDeviceOrgX(J.x),rt.setDeviceOrgY(J.y);for(var it=this.getAllNodes(),ht,Tt=0;Tt<it.length;Tt++)ht=it[Tt],ht.transform(rt)}}},H.prototype.positionNodesRandomly=function(Y){if(Y==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var rt,J,it=Y.getNodes(),ht=0;ht<it.length;ht++)rt=it[ht],J=rt.getChild(),J==null||J.getNodes().length==0?rt.scatter():(this.positionNodesRandomly(J),rt.updateBounds())},H.prototype.getFlatForest=function(){for(var Y=[],rt=!0,J=this.graphManager.getRoot().getNodes(),it=!0,ht=0;ht<J.length;ht++)J[ht].getChild()!=null&&(it=!1);if(!it)return Y;var Tt=new Set,yt=[],vt=new Map,ut=[];for(ut=ut.concat(J);ut.length>0&&rt;){for(yt.push(ut[0]);yt.length>0&&rt;){var xt=yt[0];yt.splice(0,1),Tt.add(xt);for(var st=xt.getEdges(),ht=0;ht<st.length;ht++){var Et=st[ht].getOtherEnd(xt);if(vt.get(xt)!=Et)if(!Tt.has(Et))yt.push(Et),vt.set(Et,xt);else{rt=!1;break}}}if(!rt)Y=[];else{var gt=[].concat(m(Tt));Y.push(gt);for(var ht=0;ht<gt.length;ht++){var pt=gt[ht],Ct=ut.indexOf(pt);Ct>-1&&ut.splice(Ct,1)}Tt=new Set,vt=new Map}}return Y},H.prototype.createDummyNodesForBendpoints=function(Y){for(var rt=[],J=Y.source,it=this.graphManager.calcLowestCommonAncestor(Y.source,Y.target),ht=0;ht<Y.bendpoints.length;ht++){var Tt=this.newNode(null);Tt.setRect(new Point(0,0),new Dimension(1,1)),it.add(Tt);var yt=this.newEdge(null);this.graphManager.add(yt,J,Tt),rt.add(Tt),J=Tt}var yt=this.newEdge(null);return this.graphManager.add(yt,J,Y.target),this.edgeToDummyNodes.set(Y,rt),Y.isInterGraph()?this.graphManager.remove(Y):it.remove(Y),rt},H.prototype.createBendpointsFromDummyNodes=function(){var Y=[];Y=Y.concat(this.graphManager.getAllEdges()),Y=[].concat(m(this.edgeToDummyNodes.keys())).concat(Y);for(var rt=0;rt<Y.length;rt++){var J=Y[rt];if(J.bendpoints.length>0){for(var it=this.edgeToDummyNodes.get(J),ht=0;ht<it.length;ht++){var Tt=it[ht],yt=new F(Tt.getCenterX(),Tt.getCenterY()),vt=J.bendpoints.get(ht);vt.x=yt.x,vt.y=yt.y,Tt.getOwner().remove(Tt)}this.graphManager.add(J,J.source,J.target)}}},H.transform=function(Y,rt,J,it){if(J!=null&&it!=null){var ht=rt;if(Y<=50){var Tt=rt/J;ht-=(rt-Tt)/50*(50-Y)}else{var yt=rt*it;ht+=(yt-rt)/50*(Y-50)}return ht}else{var vt,ut;return Y<=50?(vt=9*rt/500,ut=rt/10):(vt=9*rt/50,ut=-8*rt),vt*Y+ut}},H.findCenterOfTree=function(Y){var rt=[];rt=rt.concat(Y);var J=[],it=new Map,ht=!1,Tt=null;(rt.length==1||rt.length==2)&&(ht=!0,Tt=rt[0]);for(var yt=0;yt<rt.length;yt++){var vt=rt[yt],ut=vt.getNeighborsList().size;it.set(vt,vt.getNeighborsList().size),ut==1&&J.push(vt)}var xt=[];for(xt=xt.concat(J);!ht;){var st=[];st=st.concat(xt),xt=[];for(var yt=0;yt<rt.length;yt++){var vt=rt[yt],Et=rt.indexOf(vt);Et>=0&&rt.splice(Et,1);var gt=vt.getNeighborsList();gt.forEach(function(nt){if(J.indexOf(nt)<0){var Nt=it.get(nt),dt=Nt-1;dt==1&&xt.push(nt),it.set(nt,dt)}})}J=J.concat(xt),(rt.length==1||rt.length==2)&&(ht=!0,Tt=rt[0])}return Tt},H.prototype.setGraphManager=function(Y){this.graphManager=Y},f.exports=H},function(f,p,v){function m(){}m.seed=1,m.x=0,m.nextDouble=function(){return m.x=Math.sin(m.seed++)*1e4,m.x-Math.floor(m.x)},f.exports=m},function(f,p,v){var m=v(4);function b(E,C){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(E){this.lworldOrgX=E},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(E){this.lworldOrgY=E},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(E){this.lworldExtX=E},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(E){this.lworldExtY=E},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(E){this.ldeviceOrgX=E},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(E){this.ldeviceOrgY=E},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(E){this.ldeviceExtX=E},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(E){this.ldeviceExtY=E},b.prototype.transformX=function(E){var C=0,A=this.lworldExtX;return A!=0&&(C=this.ldeviceOrgX+(E-this.lworldOrgX)*this.ldeviceExtX/A),C},b.prototype.transformY=function(E){var C=0,A=this.lworldExtY;return A!=0&&(C=this.ldeviceOrgY+(E-this.lworldOrgY)*this.ldeviceExtY/A),C},b.prototype.inverseTransformX=function(E){var C=0,A=this.ldeviceExtX;return A!=0&&(C=this.lworldOrgX+(E-this.ldeviceOrgX)*this.lworldExtX/A),C},b.prototype.inverseTransformY=function(E){var C=0,A=this.ldeviceExtY;return A!=0&&(C=this.lworldOrgY+(E-this.ldeviceOrgY)*this.lworldExtY/A),C},b.prototype.inverseTransformPoint=function(E){var C=new m(this.inverseTransformX(E.x),this.inverseTransformY(E.y));return C},f.exports=b},function(f,p,v){function m(R){if(Array.isArray(R)){for(var H=0,Y=Array(R.length);H<R.length;H++)Y[H]=R[H];return Y}else return Array.from(R)}var b=v(15),E=v(7),C=v(0),A=v(8),N=v(9);function F(){b.call(this),this.useSmartIdealEdgeLengthCalculation=E.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=E.DEFAULT_EDGE_LENGTH,this.springConstant=E.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=E.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=E.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=E.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*E.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=E.MAX_ITERATIONS}F.prototype=Object.create(b.prototype);for(var j in b)F[j]=b[j];F.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=E.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},F.prototype.calcIdealEdgeLengths=function(){for(var R,H,Y,rt,J,it,ht=this.getGraphManager().getAllEdges(),Tt=0;Tt<ht.length;Tt++)R=ht[Tt],R.idealLength=this.idealEdgeLength,R.isInterGraph&&(Y=R.getSource(),rt=R.getTarget(),J=R.getSourceInLca().getEstimatedSize(),it=R.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(R.idealLength+=J+it-2*C.SIMPLE_NODE_SIZE),H=R.getLca().getInclusionTreeDepth(),R.idealLength+=E.DEFAULT_EDGE_LENGTH*E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(Y.getInclusionTreeDepth()+rt.getInclusionTreeDepth()-2*H))},F.prototype.initSpringEmbedder=function(){var R=this.getAllNodes().length;this.incremental?(R>E.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*E.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(R-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-E.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT_INCREMENTAL):(R>E.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(E.COOLING_ADAPTATION_FACTOR,1-(R-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*(1-E.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var R=this.getAllEdges(),H,Y=0;Y<R.length;Y++)H=R[Y],this.calcSpringForce(H,H.idealLength)},F.prototype.calcRepulsionForces=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y,rt,J,it,ht=this.getAllNodes(),Tt;if(this.useFRGridVariant)for(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&R&&this.updateGrid(),Tt=new Set,Y=0;Y<ht.length;Y++)J=ht[Y],this.calculateRepulsionForceOfANode(J,Tt,R,H),Tt.add(J);else for(Y=0;Y<ht.length;Y++)for(J=ht[Y],rt=Y+1;rt<ht.length;rt++)it=ht[rt],J.getOwner()==it.getOwner()&&this.calcRepulsionForce(J,it)},F.prototype.calcGravitationalForces=function(){for(var R,H=this.getAllNodesToApplyGravitation(),Y=0;Y<H.length;Y++)R=H[Y],this.calcGravitationalForce(R)},F.prototype.moveNodes=function(){for(var R=this.getAllNodes(),H,Y=0;Y<R.length;Y++)H=R[Y],H.move()},F.prototype.calcSpringForce=function(R,H){var Y=R.getSource(),rt=R.getTarget(),J,it,ht,Tt;if(this.uniformLeafNodeSizes&&Y.getChild()==null&&rt.getChild()==null)R.updateLengthSimple();else if(R.updateLength(),R.isOverlapingSourceAndTarget)return;J=R.getLength(),J!=0&&(it=this.springConstant*(J-H),ht=it*(R.lengthX/J),Tt=it*(R.lengthY/J),Y.springForceX+=ht,Y.springForceY+=Tt,rt.springForceX-=ht,rt.springForceY-=Tt)},F.prototype.calcRepulsionForce=function(R,H){var Y=R.getRect(),rt=H.getRect(),J=new Array(2),it=new Array(4),ht,Tt,yt,vt,ut,xt,st;if(Y.intersects(rt)){A.calcSeparationAmount(Y,rt,J,E.DEFAULT_EDGE_LENGTH/2),xt=2*J[0],st=2*J[1];var Et=R.noOfChildren*H.noOfChildren/(R.noOfChildren+H.noOfChildren);R.repulsionForceX-=Et*xt,R.repulsionForceY-=Et*st,H.repulsionForceX+=Et*xt,H.repulsionForceY+=Et*st}else this.uniformLeafNodeSizes&&R.getChild()==null&&H.getChild()==null?(ht=rt.getCenterX()-Y.getCenterX(),Tt=rt.getCenterY()-Y.getCenterY()):(A.getIntersection(Y,rt,it),ht=it[2]-it[0],Tt=it[3]-it[1]),Math.abs(ht)<E.MIN_REPULSION_DIST&&(ht=N.sign(ht)*E.MIN_REPULSION_DIST),Math.abs(Tt)<E.MIN_REPULSION_DIST&&(Tt=N.sign(Tt)*E.MIN_REPULSION_DIST),yt=ht*ht+Tt*Tt,vt=Math.sqrt(yt),ut=this.repulsionConstant*R.noOfChildren*H.noOfChildren/yt,xt=ut*ht/vt,st=ut*Tt/vt,R.repulsionForceX-=xt,R.repulsionForceY-=st,H.repulsionForceX+=xt,H.repulsionForceY+=st},F.prototype.calcGravitationalForce=function(R){var H,Y,rt,J,it,ht,Tt,yt;H=R.getOwner(),Y=(H.getRight()+H.getLeft())/2,rt=(H.getTop()+H.getBottom())/2,J=R.getCenterX()-Y,it=R.getCenterY()-rt,ht=Math.abs(J)+R.getWidth()/2,Tt=Math.abs(it)+R.getHeight()/2,R.getOwner()==this.graphManager.getRoot()?(yt=H.getEstimatedSize()*this.gravityRangeFactor,(ht>yt||Tt>yt)&&(R.gravitationForceX=-this.gravityConstant*J,R.gravitationForceY=-this.gravityConstant*it)):(yt=H.getEstimatedSize()*this.compoundGravityRangeFactor,(ht>yt||Tt>yt)&&(R.gravitationForceX=-this.gravityConstant*J*this.compoundGravityConstant,R.gravitationForceY=-this.gravityConstant*it*this.compoundGravityConstant))},F.prototype.isConverged=function(){var R,H=!1;return this.totalIterations>this.maxIterations/3&&(H=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),R=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,R||H},F.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},F.prototype.calcNoOfChildrenForAllNodes=function(){for(var R,H=this.graphManager.getAllNodes(),Y=0;Y<H.length;Y++)R=H[Y],R.noOfChildren=R.getNoOfChildren()},F.prototype.calcGrid=function(R){var H=0,Y=0;H=parseInt(Math.ceil((R.getRight()-R.getLeft())/this.repulsionRange)),Y=parseInt(Math.ceil((R.getBottom()-R.getTop())/this.repulsionRange));for(var rt=new Array(H),J=0;J<H;J++)rt[J]=new Array(Y);for(var J=0;J<H;J++)for(var it=0;it<Y;it++)rt[J][it]=new Array;return rt},F.prototype.addNodeToGrid=function(R,H,Y){var rt=0,J=0,it=0,ht=0;rt=parseInt(Math.floor((R.getRect().x-H)/this.repulsionRange)),J=parseInt(Math.floor((R.getRect().width+R.getRect().x-H)/this.repulsionRange)),it=parseInt(Math.floor((R.getRect().y-Y)/this.repulsionRange)),ht=parseInt(Math.floor((R.getRect().height+R.getRect().y-Y)/this.repulsionRange));for(var Tt=rt;Tt<=J;Tt++)for(var yt=it;yt<=ht;yt++)this.grid[Tt][yt].push(R),R.setGridCoordinates(rt,J,it,ht)},F.prototype.updateGrid=function(){var R,H,Y=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),R=0;R<Y.length;R++)H=Y[R],this.addNodeToGrid(H,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},F.prototype.calculateRepulsionForceOfANode=function(R,H,Y,rt){if(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&Y||rt){var J=new Set;R.surrounding=new Array;for(var it,ht=this.grid,Tt=R.startX-1;Tt<R.finishX+2;Tt++)for(var yt=R.startY-1;yt<R.finishY+2;yt++)if(!(Tt<0||yt<0||Tt>=ht.length||yt>=ht[0].length)){for(var vt=0;vt<ht[Tt][yt].length;vt++)if(it=ht[Tt][yt][vt],!(R.getOwner()!=it.getOwner()||R==it)&&!H.has(it)&&!J.has(it)){var ut=Math.abs(R.getCenterX()-it.getCenterX())-(R.getWidth()/2+it.getWidth()/2),xt=Math.abs(R.getCenterY()-it.getCenterY())-(R.getHeight()/2+it.getHeight()/2);ut<=this.repulsionRange&&xt<=this.repulsionRange&&J.add(it)}}R.surrounding=[].concat(m(J))}for(Tt=0;Tt<R.surrounding.length;Tt++)this.calcRepulsionForce(R,R.surrounding[Tt])},F.prototype.calcRepulsionRange=function(){return 0},f.exports=F},function(f,p,v){var m=v(1),b=v(7);function E(A,N,F){m.call(this,A,N,F),this.idealLength=b.DEFAULT_EDGE_LENGTH}E.prototype=Object.create(m.prototype);for(var C in m)E[C]=m[C];f.exports=E},function(f,p,v){var m=v(3);function b(C,A,N,F){m.call(this,C,A,N,F),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}b.prototype=Object.create(m.prototype);for(var E in m)b[E]=m[E];b.prototype.setGridCoordinates=function(C,A,N,F){this.startX=C,this.finishX=A,this.startY=N,this.finishY=F},f.exports=b},function(f,p,v){function m(b,E){this.width=0,this.height=0,b!==null&&E!==null&&(this.height=E,this.width=b)}m.prototype.getWidth=function(){return this.width},m.prototype.setWidth=function(b){this.width=b},m.prototype.getHeight=function(){return this.height},m.prototype.setHeight=function(b){this.height=b},f.exports=m},function(f,p,v){var m=v(14);function b(){this.map={},this.keys=[]}b.prototype.put=function(E,C){var A=m.createID(E);this.contains(A)||(this.map[A]=C,this.keys.push(E))},b.prototype.contains=function(E){return m.createID(E),this.map[E]!=null},b.prototype.get=function(E){var C=m.createID(E);return this.map[C]},b.prototype.keySet=function(){return this.keys},f.exports=b},function(f,p,v){var m=v(14);function b(){this.set={}}b.prototype.add=function(E){var C=m.createID(E);this.contains(C)||(this.set[C]=E)},b.prototype.remove=function(E){delete this.set[m.createID(E)]},b.prototype.clear=function(){this.set={}},b.prototype.contains=function(E){return this.set[m.createID(E)]==E},b.prototype.isEmpty=function(){return this.size()===0},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAllTo=function(E){for(var C=Object.keys(this.set),A=C.length,N=0;N<A;N++)E.push(this.set[C[N]])},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAll=function(E){for(var C=E.length,A=0;A<C;A++){var N=E[A];this.add(N)}},f.exports=b},function(f,p,v){var m=function(){function A(N,F){for(var j=0;j<F.length;j++){var R=F[j];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(N,R.key,R)}}return function(N,F,j){return F&&A(N.prototype,F),j&&A(N,j),N}}();function b(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")}var E=v(11),C=function(){function A(N,F){b(this,A),(F!==null||F!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var j=void 0;N instanceof E?j=N.size():j=N.length,this._quicksort(N,0,j-1)}return m(A,[{key:"_quicksort",value:function(F,j,R){if(j<R){var H=this._partition(F,j,R);this._quicksort(F,j,H),this._quicksort(F,H+1,R)}}},{key:"_partition",value:function(F,j,R){for(var H=this._get(F,j),Y=j,rt=R;;){for(;this.compareFunction(H,this._get(F,rt));)rt--;for(;this.compareFunction(this._get(F,Y),H);)Y++;if(Y<rt)this._swap(F,Y,rt),Y++,rt--;else return rt}}},{key:"_get",value:function(F,j){return F instanceof E?F.get_object_at(j):F[j]}},{key:"_set",value:function(F,j,R){F instanceof E?F.set_object_at(j,R):F[j]=R}},{key:"_swap",value:function(F,j,R){var H=this._get(F,j);this._set(F,j,this._get(F,R)),this._set(F,R,H)}},{key:"_defaultCompareFunction",value:function(F,j){return j>F}}]),A}();f.exports=C},function(f,p,v){var m=function(){function C(A,N){for(var F=0;F<N.length;F++){var j=N[F];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(A,j.key,j)}}return function(A,N,F){return N&&C(A.prototype,N),F&&C(A,F),A}}();function b(C,A){if(!(C instanceof A))throw new TypeError("Cannot call a class as a function")}var E=function(){function C(A,N){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,C),this.sequence1=A,this.sequence2=N,this.match_score=F,this.mismatch_penalty=j,this.gap_penalty=R,this.iMax=A.length+1,this.jMax=N.length+1,this.grid=new Array(this.iMax);for(var H=0;H<this.iMax;H++){this.grid[H]=new Array(this.jMax);for(var Y=0;Y<this.jMax;Y++)this.grid[H][Y]=0}this.tracebackGrid=new Array(this.iMax);for(var rt=0;rt<this.iMax;rt++){this.tracebackGrid[rt]=new Array(this.jMax);for(var J=0;J<this.jMax;J++)this.tracebackGrid[rt][J]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return m(C,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var N=1;N<this.jMax;N++)this.grid[0][N]=this.grid[0][N-1]+this.gap_penalty,this.tracebackGrid[0][N]=[!1,!1,!0];for(var F=1;F<this.iMax;F++)this.grid[F][0]=this.grid[F-1][0]+this.gap_penalty,this.tracebackGrid[F][0]=[!1,!0,!1];for(var j=1;j<this.iMax;j++)for(var R=1;R<this.jMax;R++){var H=void 0;this.sequence1[j-1]===this.sequence2[R-1]?H=this.grid[j-1][R-1]+this.match_score:H=this.grid[j-1][R-1]+this.mismatch_penalty;var Y=this.grid[j-1][R]+this.gap_penalty,rt=this.grid[j][R-1]+this.gap_penalty,J=[H,Y,rt],it=this.arrayAllMaxIndexes(J);this.grid[j][R]=J[it[0]],this.tracebackGrid[j][R]=[it.includes(0),it.includes(1),it.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var N=[];for(N.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});N[0];){var F=N[0],j=this.tracebackGrid[F.pos[0]][F.pos[1]];j[0]&&N.push({pos:[F.pos[0]-1,F.pos[1]-1],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),j[1]&&N.push({pos:[F.pos[0]-1,F.pos[1]],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:"-"+F.seq2}),j[2]&&N.push({pos:[F.pos[0],F.pos[1]-1],seq1:"-"+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),F.pos[0]===0&&F.pos[1]===0&&this.alignments.push({sequence1:F.seq1,sequence2:F.seq2}),N.shift()}return this.alignments}},{key:"getAllIndexes",value:function(N,F){for(var j=[],R=-1;(R=N.indexOf(F,R+1))!==-1;)j.push(R);return j}},{key:"arrayAllMaxIndexes",value:function(N){return this.getAllIndexes(N,Math.max.apply(null,N))}}]),C}();f.exports=E},function(f,p,v){var m=function(){};m.FDLayout=v(18),m.FDLayoutConstants=v(7),m.FDLayoutEdge=v(19),m.FDLayoutNode=v(20),m.DimensionD=v(21),m.HashMap=v(22),m.HashSet=v(23),m.IGeometry=v(8),m.IMath=v(9),m.Integer=v(10),m.Point=v(12),m.PointD=v(4),m.RandomSeed=v(16),m.RectangleD=v(13),m.Transform=v(17),m.UniqueIDGeneretor=v(14),m.Quicksort=v(24),m.LinkedList=v(11),m.LGraphObject=v(2),m.LGraph=v(5),m.LEdge=v(1),m.LGraphManager=v(6),m.LNode=v(3),m.Layout=v(15),m.LayoutConstants=v(0),m.NeedlemanWunsch=v(25),f.exports=m},function(f,p,v){function m(){this.listeners=[]}var b=m.prototype;b.addListener=function(E,C){this.listeners.push({event:E,callback:C})},b.removeListener=function(E,C){for(var A=this.listeners.length;A>=0;A--){var N=this.listeners[A];N.event===E&&N.callback===C&&this.listeners.splice(A,1)}},b.emit=function(E,C){for(var A=0;A<this.listeners.length;A++){var N=this.listeners[A];E===N.event&&N.callback(C)}},f.exports=m}])})}(Hgt)),Hgt.exports}var Ujt;function iWe(){return Ujt||(Ujt=1,function(i,a){(function(p,v){i.exports=v(rWe())})(v0,function(f){return function(p){var v={};function m(b){if(v[b])return v[b].exports;var E=v[b]={i:b,l:!1,exports:{}};return p[b].call(E.exports,E,E.exports,m),E.l=!0,E.exports}return m.m=p,m.c=v,m.i=function(b){return b},m.d=function(b,E,C){m.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:C})},m.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return m.d(E,"a",E),E},m.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},m.p="",m(m.s=7)}([function(p,v){p.exports=f},function(p,v,m){var b=m(0).FDLayoutConstants;function E(){}for(var C in b)E[C]=b[C];E.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,E.DEFAULT_RADIAL_SEPARATION=b.DEFAULT_EDGE_LENGTH,E.DEFAULT_COMPONENT_SEPERATION=60,E.TILE=!0,E.TILING_PADDING_VERTICAL=10,E.TILING_PADDING_HORIZONTAL=10,E.TREE_REDUCTION_ON_INCREMENTAL=!1,p.exports=E},function(p,v,m){var b=m(0).FDLayoutEdge;function E(A,N,F){b.call(this,A,N,F)}E.prototype=Object.create(b.prototype);for(var C in b)E[C]=b[C];p.exports=E},function(p,v,m){var b=m(0).LGraph;function E(A,N,F){b.call(this,A,N,F)}E.prototype=Object.create(b.prototype);for(var C in b)E[C]=b[C];p.exports=E},function(p,v,m){var b=m(0).LGraphManager;function E(A){b.call(this,A)}E.prototype=Object.create(b.prototype);for(var C in b)E[C]=b[C];p.exports=E},function(p,v,m){var b=m(0).FDLayoutNode,E=m(0).IMath;function C(N,F,j,R){b.call(this,N,F,j,R)}C.prototype=Object.create(b.prototype);for(var A in b)C[A]=b[A];C.prototype.move=function(){var N=this.graphManager.getLayout();this.displacementX=N.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=N.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>N.coolingFactor*N.maxNodeDisplacement&&(this.displacementX=N.coolingFactor*N.maxNodeDisplacement*E.sign(this.displacementX)),Math.abs(this.displacementY)>N.coolingFactor*N.maxNodeDisplacement&&(this.displacementY=N.coolingFactor*N.maxNodeDisplacement*E.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),N.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},C.prototype.propogateDisplacementToChildren=function(N,F){for(var j=this.getChild().getNodes(),R,H=0;H<j.length;H++)R=j[H],R.getChild()==null?(R.moveBy(N,F),R.displacementX+=N,R.displacementY+=F):R.propogateDisplacementToChildren(N,F)},C.prototype.setPred1=function(N){this.pred1=N},C.prototype.getPred1=function(){return pred1},C.prototype.getPred2=function(){return pred2},C.prototype.setNext=function(N){this.next=N},C.prototype.getNext=function(){return next},C.prototype.setProcessed=function(N){this.processed=N},C.prototype.isProcessed=function(){return processed},p.exports=C},function(p,v,m){var b=m(0).FDLayout,E=m(4),C=m(3),A=m(5),N=m(2),F=m(1),j=m(0).FDLayoutConstants,R=m(0).LayoutConstants,H=m(0).Point,Y=m(0).PointD,rt=m(0).Layout,J=m(0).Integer,it=m(0).IGeometry,ht=m(0).LGraph,Tt=m(0).Transform;function yt(){b.call(this),this.toBeTiled={}}yt.prototype=Object.create(b.prototype);for(var vt in b)yt[vt]=b[vt];yt.prototype.newGraphManager=function(){var ut=new E(this);return this.graphManager=ut,ut},yt.prototype.newGraph=function(ut){return new C(null,this.graphManager,ut)},yt.prototype.newNode=function(ut){return new A(this.graphManager,ut)},yt.prototype.newEdge=function(ut){return new N(null,null,ut)},yt.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.isSubLayout||(F.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=F.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=F.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=j.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=j.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=j.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=j.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=j.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=j.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/j.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=j.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},yt.prototype.layout=function(){var ut=R.DEFAULT_CREATE_BENDS_AS_NEEDED;return ut&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},yt.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(F.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var xt=new Set(this.getAllNodes()),st=this.nodesWithGravity.filter(function(pt){return xt.has(pt)});this.graphManager.setAllNodesToApplyGravitation(st)}}else{var ut=this.getFlatForest();if(ut.length>0)this.positionNodesRadially(ut);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var xt=new Set(this.getAllNodes()),st=this.nodesWithGravity.filter(function(Et){return xt.has(Et)});this.graphManager.setAllNodesToApplyGravitation(st),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},yt.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%j.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 ut=new Set(this.getAllNodes()),xt=this.nodesWithGravity.filter(function(gt){return ut.has(gt)});this.graphManager.setAllNodesToApplyGravitation(xt),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=j.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=j.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var st=!this.isTreeGrowing&&!this.isGrowthFinished,Et=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(st,Et),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},yt.prototype.getPositionsData=function(){for(var ut=this.graphManager.getAllNodes(),xt={},st=0;st<ut.length;st++){var Et=ut[st].rect,gt=ut[st].id;xt[gt]={id:gt,x:Et.getCenterX(),y:Et.getCenterY(),w:Et.width,h:Et.height}}return xt},yt.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var ut=!1;if(j.ANIMATE==="during")this.emit("layoutstarted");else{for(;!ut;)ut=this.tick();this.graphManager.updateBounds()}},yt.prototype.calculateNodesToApplyGravitationTo=function(){var ut=[],xt,st=this.graphManager.getGraphs(),Et=st.length,gt;for(gt=0;gt<Et;gt++)xt=st[gt],xt.updateConnected(),xt.isConnected||(ut=ut.concat(xt.getNodes()));return ut},yt.prototype.createBendpoints=function(){var ut=[];ut=ut.concat(this.graphManager.getAllEdges());var xt=new Set,st;for(st=0;st<ut.length;st++){var Et=ut[st];if(!xt.has(Et)){var gt=Et.getSource(),pt=Et.getTarget();if(gt==pt)Et.getBendpoints().push(new Y),Et.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(Et),xt.add(Et);else{var Ct=[];if(Ct=Ct.concat(gt.getEdgeListToNode(pt)),Ct=Ct.concat(pt.getEdgeListToNode(gt)),!xt.has(Ct[0])){if(Ct.length>1){var nt;for(nt=0;nt<Ct.length;nt++){var Nt=Ct[nt];Nt.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(Nt)}}Ct.forEach(function(dt){xt.add(dt)})}}}if(xt.size==ut.length)break}},yt.prototype.positionNodesRadially=function(ut){for(var xt=new H(0,0),st=Math.ceil(Math.sqrt(ut.length)),Et=0,gt=0,pt=0,Ct=new Y(0,0),nt=0;nt<ut.length;nt++){nt%st==0&&(pt=0,gt=Et,nt!=0&&(gt+=F.DEFAULT_COMPONENT_SEPERATION),Et=0);var Nt=ut[nt],dt=rt.findCenterOfTree(Nt);xt.x=pt,xt.y=gt,Ct=yt.radialLayout(Nt,dt,xt),Ct.y>Et&&(Et=Math.floor(Ct.y)),pt=Math.floor(Ct.x+F.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Y(R.WORLD_CENTER_X-Ct.x/2,R.WORLD_CENTER_Y-Ct.y/2))},yt.radialLayout=function(ut,xt,st){var Et=Math.max(this.maxDiagonalInTree(ut),F.DEFAULT_RADIAL_SEPARATION);yt.branchRadialLayout(xt,null,0,359,0,Et);var gt=ht.calculateBounds(ut),pt=new Tt;pt.setDeviceOrgX(gt.getMinX()),pt.setDeviceOrgY(gt.getMinY()),pt.setWorldOrgX(st.x),pt.setWorldOrgY(st.y);for(var Ct=0;Ct<ut.length;Ct++){var nt=ut[Ct];nt.transform(pt)}var Nt=new Y(gt.getMaxX(),gt.getMaxY());return pt.inverseTransformPoint(Nt)},yt.branchRadialLayout=function(ut,xt,st,Et,gt,pt){var Ct=(Et-st+1)/2;Ct<0&&(Ct+=180);var nt=(Ct+st)%360,Nt=nt*it.TWO_PI/360,dt=gt*Math.cos(Nt),Ft=gt*Math.sin(Nt);ut.setCenter(dt,Ft);var X=[];X=X.concat(ut.getEdges());var Bt=X.length;xt!=null&&Bt--;for(var Rt=0,mt=X.length,Ot,Gt=ut.getEdgesBetween(xt);Gt.length>1;){var Ve=Gt[0];Gt.splice(0,1);var Cn=X.indexOf(Ve);Cn>=0&&X.splice(Cn,1),mt--,Bt--}xt!=null?Ot=(X.indexOf(Gt[0])+1)%mt:Ot=0;for(var xe=Math.abs(Et-st)/Bt,Kn=Ot;Rt!=Bt;Kn=++Kn%mt){var Se=X[Kn].getOtherEnd(ut);if(Se!=xt){var ee=(st+Rt*xe)%360,_e=(ee+xe)%360;yt.branchRadialLayout(Se,ut,ee,_e,gt+pt,pt),Rt++}}},yt.maxDiagonalInTree=function(ut){for(var xt=J.MIN_VALUE,st=0;st<ut.length;st++){var Et=ut[st],gt=Et.getDiagonal();gt>xt&&(xt=gt)}return xt},yt.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},yt.prototype.groupZeroDegreeMembers=function(){var ut=this,xt={};this.memberGroups={},this.idToDummyNode={};for(var st=[],Et=this.graphManager.getAllNodes(),gt=0;gt<Et.length;gt++){var pt=Et[gt],Ct=pt.getParent();this.getNodeDegreeWithChildren(pt)===0&&(Ct.id==null||!this.getToBeTiled(Ct))&&st.push(pt)}for(var gt=0;gt<st.length;gt++){var pt=st[gt],nt=pt.getParent().id;typeof xt[nt]>"u"&&(xt[nt]=[]),xt[nt]=xt[nt].concat(pt)}Object.keys(xt).forEach(function(Nt){if(xt[Nt].length>1){var dt="DummyCompound_"+Nt;ut.memberGroups[dt]=xt[Nt];var Ft=xt[Nt][0].getParent(),X=new A(ut.graphManager);X.id=dt,X.paddingLeft=Ft.paddingLeft||0,X.paddingRight=Ft.paddingRight||0,X.paddingBottom=Ft.paddingBottom||0,X.paddingTop=Ft.paddingTop||0,ut.idToDummyNode[dt]=X;var Bt=ut.getGraphManager().add(ut.newGraph(),X),Rt=Ft.getChild();Rt.add(X);for(var mt=0;mt<xt[Nt].length;mt++){var Ot=xt[Nt][mt];Rt.remove(Ot),Bt.add(Ot)}}})},yt.prototype.clearCompounds=function(){var ut={},xt={};this.performDFSOnCompounds();for(var st=0;st<this.compoundOrder.length;st++)xt[this.compoundOrder[st].id]=this.compoundOrder[st],ut[this.compoundOrder[st].id]=[].concat(this.compoundOrder[st].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[st].getChild()),this.compoundOrder[st].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(ut,xt)},yt.prototype.clearZeroDegreeMembers=function(){var ut=this,xt=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(st){var Et=ut.idToDummyNode[st];xt[st]=ut.tileNodes(ut.memberGroups[st],Et.paddingLeft+Et.paddingRight),Et.rect.width=xt[st].width,Et.rect.height=xt[st].height})},yt.prototype.repopulateCompounds=function(){for(var ut=this.compoundOrder.length-1;ut>=0;ut--){var xt=this.compoundOrder[ut],st=xt.id,Et=xt.paddingLeft,gt=xt.paddingTop;this.adjustLocations(this.tiledMemberPack[st],xt.rect.x,xt.rect.y,Et,gt)}},yt.prototype.repopulateZeroDegreeMembers=function(){var ut=this,xt=this.tiledZeroDegreePack;Object.keys(xt).forEach(function(st){var Et=ut.idToDummyNode[st],gt=Et.paddingLeft,pt=Et.paddingTop;ut.adjustLocations(xt[st],Et.rect.x,Et.rect.y,gt,pt)})},yt.prototype.getToBeTiled=function(ut){var xt=ut.id;if(this.toBeTiled[xt]!=null)return this.toBeTiled[xt];var st=ut.getChild();if(st==null)return this.toBeTiled[xt]=!1,!1;for(var Et=st.getNodes(),gt=0;gt<Et.length;gt++){var pt=Et[gt];if(this.getNodeDegree(pt)>0)return this.toBeTiled[xt]=!1,!1;if(pt.getChild()==null){this.toBeTiled[pt.id]=!1;continue}if(!this.getToBeTiled(pt))return this.toBeTiled[xt]=!1,!1}return this.toBeTiled[xt]=!0,!0},yt.prototype.getNodeDegree=function(ut){ut.id;for(var xt=ut.getEdges(),st=0,Et=0;Et<xt.length;Et++){var gt=xt[Et];gt.getSource().id!==gt.getTarget().id&&(st=st+1)}return st},yt.prototype.getNodeDegreeWithChildren=function(ut){var xt=this.getNodeDegree(ut);if(ut.getChild()==null)return xt;for(var st=ut.getChild().getNodes(),Et=0;Et<st.length;Et++){var gt=st[Et];xt+=this.getNodeDegreeWithChildren(gt)}return xt},yt.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},yt.prototype.fillCompexOrderByDFS=function(ut){for(var xt=0;xt<ut.length;xt++){var st=ut[xt];st.getChild()!=null&&this.fillCompexOrderByDFS(st.getChild().getNodes()),this.getToBeTiled(st)&&this.compoundOrder.push(st)}},yt.prototype.adjustLocations=function(ut,xt,st,Et,gt){xt+=Et,st+=gt;for(var pt=xt,Ct=0;Ct<ut.rows.length;Ct++){var nt=ut.rows[Ct];xt=pt;for(var Nt=0,dt=0;dt<nt.length;dt++){var Ft=nt[dt];Ft.rect.x=xt,Ft.rect.y=st,xt+=Ft.rect.width+ut.horizontalPadding,Ft.rect.height>Nt&&(Nt=Ft.rect.height)}st+=Nt+ut.verticalPadding}},yt.prototype.tileCompoundMembers=function(ut,xt){var st=this;this.tiledMemberPack=[],Object.keys(ut).forEach(function(Et){var gt=xt[Et];st.tiledMemberPack[Et]=st.tileNodes(ut[Et],gt.paddingLeft+gt.paddingRight),gt.rect.width=st.tiledMemberPack[Et].width,gt.rect.height=st.tiledMemberPack[Et].height})},yt.prototype.tileNodes=function(ut,xt){var st=F.TILING_PADDING_VERTICAL,Et=F.TILING_PADDING_HORIZONTAL,gt={rows:[],rowWidth:[],rowHeight:[],width:0,height:xt,verticalPadding:st,horizontalPadding:Et};ut.sort(function(nt,Nt){return nt.rect.width*nt.rect.height>Nt.rect.width*Nt.rect.height?-1:nt.rect.width*nt.rect.height<Nt.rect.width*Nt.rect.height?1:0});for(var pt=0;pt<ut.length;pt++){var Ct=ut[pt];gt.rows.length==0?this.insertNodeToRow(gt,Ct,0,xt):this.canAddHorizontal(gt,Ct.rect.width,Ct.rect.height)?this.insertNodeToRow(gt,Ct,this.getShortestRowIndex(gt),xt):this.insertNodeToRow(gt,Ct,gt.rows.length,xt),this.shiftToLastRow(gt)}return gt},yt.prototype.insertNodeToRow=function(ut,xt,st,Et){var gt=Et;if(st==ut.rows.length){var pt=[];ut.rows.push(pt),ut.rowWidth.push(gt),ut.rowHeight.push(0)}var Ct=ut.rowWidth[st]+xt.rect.width;ut.rows[st].length>0&&(Ct+=ut.horizontalPadding),ut.rowWidth[st]=Ct,ut.width<Ct&&(ut.width=Ct);var nt=xt.rect.height;st>0&&(nt+=ut.verticalPadding);var Nt=0;nt>ut.rowHeight[st]&&(Nt=ut.rowHeight[st],ut.rowHeight[st]=nt,Nt=ut.rowHeight[st]-Nt),ut.height+=Nt,ut.rows[st].push(xt)},yt.prototype.getShortestRowIndex=function(ut){for(var xt=-1,st=Number.MAX_VALUE,Et=0;Et<ut.rows.length;Et++)ut.rowWidth[Et]<st&&(xt=Et,st=ut.rowWidth[Et]);return xt},yt.prototype.getLongestRowIndex=function(ut){for(var xt=-1,st=Number.MIN_VALUE,Et=0;Et<ut.rows.length;Et++)ut.rowWidth[Et]>st&&(xt=Et,st=ut.rowWidth[Et]);return xt},yt.prototype.canAddHorizontal=function(ut,xt,st){var Et=this.getShortestRowIndex(ut);if(Et<0)return!0;var gt=ut.rowWidth[Et];if(gt+ut.horizontalPadding+xt<=ut.width)return!0;var pt=0;ut.rowHeight[Et]<st&&Et>0&&(pt=st+ut.verticalPadding-ut.rowHeight[Et]);var Ct;ut.width-gt>=xt+ut.horizontalPadding?Ct=(ut.height+pt)/(gt+xt+ut.horizontalPadding):Ct=(ut.height+pt)/ut.width,pt=st+ut.verticalPadding;var nt;return ut.width<xt?nt=(ut.height+pt)/xt:nt=(ut.height+pt)/ut.width,nt<1&&(nt=1/nt),Ct<1&&(Ct=1/Ct),Ct<nt},yt.prototype.shiftToLastRow=function(ut){var xt=this.getLongestRowIndex(ut),st=ut.rowWidth.length-1,Et=ut.rows[xt],gt=Et[Et.length-1],pt=gt.width+ut.horizontalPadding;if(ut.width-ut.rowWidth[st]>pt&&xt!=st){Et.splice(-1,1),ut.rows[st].push(gt),ut.rowWidth[xt]=ut.rowWidth[xt]-pt,ut.rowWidth[st]=ut.rowWidth[st]+pt,ut.width=ut.rowWidth[instance.getLongestRowIndex(ut)];for(var Ct=Number.MIN_VALUE,nt=0;nt<Et.length;nt++)Et[nt].height>Ct&&(Ct=Et[nt].height);xt>0&&(Ct+=ut.verticalPadding);var Nt=ut.rowHeight[xt]+ut.rowHeight[st];ut.rowHeight[xt]=Ct,ut.rowHeight[st]<gt.height+ut.verticalPadding&&(ut.rowHeight[st]=gt.height+ut.verticalPadding);var dt=ut.rowHeight[xt]+ut.rowHeight[st];ut.height+=dt-Nt,this.shiftToLastRow(ut)}},yt.prototype.tilingPreLayout=function(){F.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},yt.prototype.tilingPostLayout=function(){F.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},yt.prototype.reduceTrees=function(){for(var ut=[],xt=!0,st;xt;){var Et=this.graphManager.getAllNodes(),gt=[];xt=!1;for(var pt=0;pt<Et.length;pt++)st=Et[pt],st.getEdges().length==1&&!st.getEdges()[0].isInterGraph&&st.getChild()==null&&(gt.push([st,st.getEdges()[0],st.getOwner()]),xt=!0);if(xt==!0){for(var Ct=[],nt=0;nt<gt.length;nt++)gt[nt][0].getEdges().length==1&&(Ct.push(gt[nt]),gt[nt][0].getOwner().remove(gt[nt][0]));ut.push(Ct),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=ut},yt.prototype.growTree=function(ut){for(var xt=ut.length,st=ut[xt-1],Et,gt=0;gt<st.length;gt++)Et=st[gt],this.findPlaceforPrunedNode(Et),Et[2].add(Et[0]),Et[2].add(Et[1],Et[1].source,Et[1].target);ut.splice(ut.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},yt.prototype.findPlaceforPrunedNode=function(ut){var xt,st,Et=ut[0];Et==ut[1].source?st=ut[1].target:st=ut[1].source;var gt=st.startX,pt=st.finishX,Ct=st.startY,nt=st.finishY,Nt=0,dt=0,Ft=0,X=0,Bt=[Nt,Ft,dt,X];if(Ct>0)for(var Rt=gt;Rt<=pt;Rt++)Bt[0]+=this.grid[Rt][Ct-1].length+this.grid[Rt][Ct].length-1;if(pt<this.grid.length-1)for(var Rt=Ct;Rt<=nt;Rt++)Bt[1]+=this.grid[pt+1][Rt].length+this.grid[pt][Rt].length-1;if(nt<this.grid[0].length-1)for(var Rt=gt;Rt<=pt;Rt++)Bt[2]+=this.grid[Rt][nt+1].length+this.grid[Rt][nt].length-1;if(gt>0)for(var Rt=Ct;Rt<=nt;Rt++)Bt[3]+=this.grid[gt-1][Rt].length+this.grid[gt][Rt].length-1;for(var mt=J.MAX_VALUE,Ot,Gt,Ve=0;Ve<Bt.length;Ve++)Bt[Ve]<mt?(mt=Bt[Ve],Ot=1,Gt=Ve):Bt[Ve]==mt&&Ot++;if(Ot==3&&mt==0)Bt[0]==0&&Bt[1]==0&&Bt[2]==0?xt=1:Bt[0]==0&&Bt[1]==0&&Bt[3]==0?xt=0:Bt[0]==0&&Bt[2]==0&&Bt[3]==0?xt=3:Bt[1]==0&&Bt[2]==0&&Bt[3]==0&&(xt=2);else if(Ot==2&&mt==0){var Cn=Math.floor(Math.random()*2);Bt[0]==0&&Bt[1]==0?Cn==0?xt=0:xt=1:Bt[0]==0&&Bt[2]==0?Cn==0?xt=0:xt=2:Bt[0]==0&&Bt[3]==0?Cn==0?xt=0:xt=3:Bt[1]==0&&Bt[2]==0?Cn==0?xt=1:xt=2:Bt[1]==0&&Bt[3]==0?Cn==0?xt=1:xt=3:Cn==0?xt=2:xt=3}else if(Ot==4&&mt==0){var Cn=Math.floor(Math.random()*4);xt=Cn}else xt=Gt;xt==0?Et.setCenter(st.getCenterX(),st.getCenterY()-st.getHeight()/2-j.DEFAULT_EDGE_LENGTH-Et.getHeight()/2):xt==1?Et.setCenter(st.getCenterX()+st.getWidth()/2+j.DEFAULT_EDGE_LENGTH+Et.getWidth()/2,st.getCenterY()):xt==2?Et.setCenter(st.getCenterX(),st.getCenterY()+st.getHeight()/2+j.DEFAULT_EDGE_LENGTH+Et.getHeight()/2):Et.setCenter(st.getCenterX()-st.getWidth()/2-j.DEFAULT_EDGE_LENGTH-Et.getWidth()/2,st.getCenterY())},p.exports=yt},function(p,v,m){var b={};b.layoutBase=m(0),b.CoSEConstants=m(1),b.CoSEEdge=m(2),b.CoSEGraph=m(3),b.CoSEGraphManager=m(4),b.CoSELayout=m(6),b.CoSENode=m(5),p.exports=b}])})}(qgt)),qgt.exports}(function(i,a){(function(p,v){i.exports=v(iWe())})(v0,function(f){return function(p){var v={};function m(b){if(v[b])return v[b].exports;var E=v[b]={i:b,l:!1,exports:{}};return p[b].call(E.exports,E,E.exports,m),E.l=!0,E.exports}return m.m=p,m.c=v,m.i=function(b){return b},m.d=function(b,E,C){m.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:C})},m.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return m.d(E,"a",E),E},m.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},m.p="",m(m.s=1)}([function(p,v){p.exports=f},function(p,v,m){var b=m(0).layoutBase.LayoutConstants,E=m(0).layoutBase.FDLayoutConstants,C=m(0).CoSEConstants,A=m(0).CoSELayout,N=m(0).CoSENode,F=m(0).layoutBase.PointD,j=m(0).layoutBase.DimensionD,R={ready:function(){},stop:function(){},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 H(it,ht){var Tt={};for(var yt in it)Tt[yt]=it[yt];for(var yt in ht)Tt[yt]=ht[yt];return Tt}function Y(it){this.options=H(R,it),rt(this.options)}var rt=function(ht){ht.nodeRepulsion!=null&&(C.DEFAULT_REPULSION_STRENGTH=E.DEFAULT_REPULSION_STRENGTH=ht.nodeRepulsion),ht.idealEdgeLength!=null&&(C.DEFAULT_EDGE_LENGTH=E.DEFAULT_EDGE_LENGTH=ht.idealEdgeLength),ht.edgeElasticity!=null&&(C.DEFAULT_SPRING_STRENGTH=E.DEFAULT_SPRING_STRENGTH=ht.edgeElasticity),ht.nestingFactor!=null&&(C.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=ht.nestingFactor),ht.gravity!=null&&(C.DEFAULT_GRAVITY_STRENGTH=E.DEFAULT_GRAVITY_STRENGTH=ht.gravity),ht.numIter!=null&&(C.MAX_ITERATIONS=E.MAX_ITERATIONS=ht.numIter),ht.gravityRange!=null&&(C.DEFAULT_GRAVITY_RANGE_FACTOR=E.DEFAULT_GRAVITY_RANGE_FACTOR=ht.gravityRange),ht.gravityCompound!=null&&(C.DEFAULT_COMPOUND_GRAVITY_STRENGTH=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH=ht.gravityCompound),ht.gravityRangeCompound!=null&&(C.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=ht.gravityRangeCompound),ht.initialEnergyOnIncremental!=null&&(C.DEFAULT_COOLING_FACTOR_INCREMENTAL=E.DEFAULT_COOLING_FACTOR_INCREMENTAL=ht.initialEnergyOnIncremental),ht.quality=="draft"?b.QUALITY=0:ht.quality=="proof"?b.QUALITY=2:b.QUALITY=1,C.NODE_DIMENSIONS_INCLUDE_LABELS=E.NODE_DIMENSIONS_INCLUDE_LABELS=b.NODE_DIMENSIONS_INCLUDE_LABELS=ht.nodeDimensionsIncludeLabels,C.DEFAULT_INCREMENTAL=E.DEFAULT_INCREMENTAL=b.DEFAULT_INCREMENTAL=!ht.randomize,C.ANIMATE=E.ANIMATE=b.ANIMATE=ht.animate,C.TILE=ht.tile,C.TILING_PADDING_VERTICAL=typeof ht.tilingPaddingVertical=="function"?ht.tilingPaddingVertical.call():ht.tilingPaddingVertical,C.TILING_PADDING_HORIZONTAL=typeof ht.tilingPaddingHorizontal=="function"?ht.tilingPaddingHorizontal.call():ht.tilingPaddingHorizontal};Y.prototype.run=function(){var it,ht,Tt=this.options;this.idToLNode={};var yt=this.layout=new A,vt=this;vt.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var ut=yt.newGraphManager();this.gm=ut;var xt=this.options.eles.nodes(),st=this.options.eles.edges();this.root=ut.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(xt),yt);for(var Et=0;Et<st.length;Et++){var gt=st[Et],pt=this.idToLNode[gt.data("source")],Ct=this.idToLNode[gt.data("target")];if(pt!==Ct&&pt.getEdgesBetween(Ct).length==0){var nt=ut.add(yt.newEdge(),pt,Ct);nt.id=gt.id()}}var Nt=function(X,Bt){typeof X=="number"&&(X=Bt);var Rt=X.data("id"),mt=vt.idToLNode[Rt];return{x:mt.getRect().getCenterX(),y:mt.getRect().getCenterY()}},dt=function Ft(){for(var X=function(){Tt.fit&&Tt.cy.fit(Tt.eles,Tt.padding),it||(it=!0,vt.cy.one("layoutready",Tt.ready),vt.cy.trigger({type:"layoutready",layout:vt}))},Bt=vt.options.refresh,Rt,mt=0;mt<Bt&&!Rt;mt++)Rt=vt.stopped||vt.layout.tick();if(Rt){yt.checkLayoutSuccess()&&!yt.isSubLayout&&yt.doPostLayout(),yt.tilingPostLayout&&yt.tilingPostLayout(),yt.isLayoutFinished=!0,vt.options.eles.nodes().positions(Nt),X(),vt.cy.one("layoutstop",vt.options.stop),vt.cy.trigger({type:"layoutstop",layout:vt}),ht&&cancelAnimationFrame(ht),it=!1;return}var Ot=vt.layout.getPositionsData();Tt.eles.nodes().positions(function(Gt,Ve){if(typeof Gt=="number"&&(Gt=Ve),!Gt.isParent()){for(var Cn=Gt.id(),xe=Ot[Cn],Kn=Gt;xe==null&&(xe=Ot[Kn.data("parent")]||Ot["DummyCompound_"+Kn.data("parent")],Ot[Cn]=xe,Kn=Kn.parent()[0],Kn!=null););return xe!=null?{x:xe.x,y:xe.y}:{x:Gt.position("x"),y:Gt.position("y")}}}),X(),ht=requestAnimationFrame(Ft)};return yt.addListener("layoutstarted",function(){vt.options.animate==="during"&&(ht=requestAnimationFrame(dt))}),yt.runLayout(),this.options.animate!=="during"&&(vt.options.eles.nodes().not(":parent").layoutPositions(vt,vt.options,Nt),it=!1),this},Y.prototype.getTopMostNodes=function(it){for(var ht={},Tt=0;Tt<it.length;Tt++)ht[it[Tt].id()]=!0;var yt=it.filter(function(vt,ut){typeof vt=="number"&&(vt=ut);for(var xt=vt.parent()[0];xt!=null;){if(ht[xt.id()])return!1;xt=xt.parent()[0]}return!0});return yt},Y.prototype.processChildrenList=function(it,ht,Tt){for(var yt=ht.length,vt=0;vt<yt;vt++){var ut=ht[vt],xt=ut.children(),st,Et=ut.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(ut.outerWidth()!=null&&ut.outerHeight()!=null?st=it.add(new N(Tt.graphManager,new F(ut.position("x")-Et.w/2,ut.position("y")-Et.h/2),new j(parseFloat(Et.w),parseFloat(Et.h)))):st=it.add(new N(this.graphManager)),st.id=ut.data("id"),st.paddingLeft=parseInt(ut.css("padding")),st.paddingTop=parseInt(ut.css("padding")),st.paddingRight=parseInt(ut.css("padding")),st.paddingBottom=parseInt(ut.css("padding")),this.options.nodeDimensionsIncludeLabels&&ut.isParent()){var gt=ut.boundingBox({includeLabels:!0,includeNodes:!1}).w,pt=ut.boundingBox({includeLabels:!0,includeNodes:!1}).h,Ct=ut.css("text-halign");st.labelWidth=gt,st.labelHeight=pt,st.labelPos=Ct}if(this.idToLNode[ut.data("id")]=st,isNaN(st.rect.x)&&(st.rect.x=0),isNaN(st.rect.y)&&(st.rect.y=0),xt!=null&&xt.length>0){var nt;nt=Tt.getGraphManager().add(Tt.newGraph(),st),this.processChildrenList(nt,xt,Tt)}}},Y.prototype.stop=function(){return this.stopped=!0,this};var J=function(ht){ht("layout","cose-bilkent",Y)};typeof cytoscape<"u"&&J(cytoscape),p.exports=J}])})})(Vjt);var sWe=Vjt.exports;const aWe=R9(sWe);Hjt.use(aWe);function Wjt(i,a,f,p){zjt.drawNode(i,a,f,p),a.children&&a.children.forEach((v,m)=>{Wjt(i,v,f<0?m:f,p)})}function oWe(i,a){a.edges().map((f,p)=>{const v=f.data();if(f[0]._private.bodyBounds){const m=f[0]._private.rscratch;Vt.trace("Edge: ",p,v),i.insert("path").attr("d",`M ${m.startX},${m.startY} L ${m.midX},${m.midY} L${m.endX},${m.endY} `).attr("class","edge section-edge-"+v.section+" edge-depth-"+v.depth)}})}function Kjt(i,a,f,p){a.add({group:"nodes",data:{id:i.id,labelText:i.descr,height:i.height,width:i.width,level:p,nodeId:i.id,padding:i.padding,type:i.type},position:{x:i.x,y:i.y}}),i.children&&i.children.forEach(v=>{Kjt(v,a,f,p+1),a.add({group:"edges",data:{id:`${i.id}_${v.id}`,source:i.id,target:v.id,depth:p,section:v.section}})})}function cWe(i,a){return new Promise(f=>{const p=wr("body").append("div").attr("id","cy").attr("style","display:none"),v=Hjt({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});p.remove(),Kjt(i,v,a,0),v.nodes().forEach(function(m){m.layoutDimensions=()=>{const b=m.data();return{w:b.width,h:b.height}}}),v.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),v.ready(m=>{Vt.info("Ready",m),f(v)})})}function uWe(i){i.nodes().map((a,f)=>{const p=a.data();p.x=a.position().x,p.y=a.position().y,zjt.positionNode(p);const v=zgt(p.nodeId);Vt.info("Id:",f,"Position: (",a.position().x,", ",a.position().y,")",p),v.attr("transform",`translate(${a.position().x-p.width/2}, ${a.position().y-p.height/2})`),v.attr("attr",`apa-${f})`)})}const lWe={draw:async(i,a,f,p)=>{const v=Me();v.htmlLabels=!1,Vt.debug(`Rendering mindmap diagram
+`+i,p.parser);const m=Me().securityLevel;let b;m==="sandbox"&&(b=wr("#i"+a));const C=wr(m==="sandbox"?b.nodes()[0].contentDocument.body:"body").select("#"+a);C.append("g");const A=p.db.getMindmap(),N=C.append("g");N.attr("class","mindmap-edges");const F=C.append("g");F.attr("class","mindmap-nodes"),Wjt(F,A,-1,v);const j=await cWe(A,v);oWe(N,j),uWe(j),nE(void 0,C,v.mindmap.padding,v.mindmap.useMaxWidth)}},hWe=i=>{let a="";for(let f=0;f<i.THEME_COLOR_LIMIT;f++)i["lineColor"+f]=i["lineColor"+f]||i["cScaleInv"+f],J9(i["lineColor"+f])?i["lineColor"+f]=Is(i["lineColor"+f],20):i["lineColor"+f]=ta(i["lineColor"+f],20);for(let f=0;f<i.THEME_COLOR_LIMIT;f++){const p=""+(17-3*f);a+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} polygon, .section-${f-1} path {
- fill: ${s["cScale"+f]};
+ fill: ${i["cScale"+f]};
}
.section-${f-1} text {
- fill: ${s["cScaleLabel"+f]};
+ fill: ${i["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
- color: ${s["cScaleLabel"+f]};
+ color: ${i["cScaleLabel"+f]};
}
.section-edge-${f-1}{
- stroke: ${s["cScale"+f]};
+ stroke: ${i["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${p};
}
.section-${f-1} line {
- stroke: ${s["cScaleInv"+f]} ;
+ stroke: ${i["cScaleInv"+f]} ;
stroke-width: 3;
}
@@ -1556,16 +1605,16 @@ Licensed under The MIT License (http://opensource.org/licenses/MIT)
.disabled text {
fill: #efefef;
}
- `}return o},zzt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:yzt,renderer:$zt,parser:lzt,styles:s=>`
+ `}return a},fWe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:WUe,renderer:lWe,parser:BUe,styles:i=>`
.edge {
stroke-width: 3;
}
- ${Hzt(s)}
+ ${hWe(i)}
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
- fill: ${s.git0};
+ fill: ${i.git0};
}
.section-root text {
- fill: ${s.gitBranchLabel0};
+ fill: ${i.gitBranchLabel0};
}
.icon-container {
height:100%;
@@ -1576,4 +1625,17 @@ Licensed under The MIT License (http://opensource.org/licenses/MIT)
.edge {
fill: none;
}
-`}},Symbol.toStringTag,{value:"Module"}));return Wb});
+ .mindmap-node-label {
+ dy: 1em;
+ alignment-baseline: middle;
+ text-anchor: middle;
+ dominant-baseline: middle;
+ text-align: center;
+ }
+`}},Symbol.toStringTag,{value:"Module"}));var Vgt=function(){var i=function(E,C,A,N){for(A=A||{},N=E.length;N--;A[E[N]]=C);return A},a=[1,9],f=[1,10],p=[1,5,10,12],v={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(C,A,N,F,j,R,H){var Y=R.length-1;switch(j){case 7:const rt=F.findOrCreateNode(R[Y-4].trim().replaceAll('""','"')),J=F.findOrCreateNode(R[Y-2].trim().replaceAll('""','"')),it=parseFloat(R[Y].trim());F.addLink(rt,J,it);break;case 8:case 9:case 11:this.$=R[Y];break;case 10:this.$=R[Y-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:f},{1:[2,6],7:11,10:[1,12]},i(f,[2,4],{9:13,5:[1,14]}),{12:[1,15]},i(p,[2,8]),i(p,[2,9]),{19:[1,16]},i(p,[2,11]),{1:[2,1]},{1:[2,5]},i(f,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:a,20:f},{15:18,16:7,17:8,18:a,20:f},{18:[1,19]},i(f,[2,3]),{12:[1,20]},i(p,[2,10]),{15:21,16:7,17:8,18:a,20:f},i([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(C,A){if(A.recoverable)this.trace(C);else{var N=new Error(C);throw N.hash=A,N}},parse:function(C){var A=this,N=[0],F=[],j=[null],R=[],H=this.table,Y="",rt=0,J=0,it=2,ht=1,Tt=R.slice.call(arguments,1),yt=Object.create(this.lexer),vt={yy:{}};for(var ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ut)&&(vt.yy[ut]=this.yy[ut]);yt.setInput(C,vt.yy),vt.yy.lexer=yt,vt.yy.parser=this,typeof yt.yylloc>"u"&&(yt.yylloc={});var xt=yt.yylloc;R.push(xt);var st=yt.options&&yt.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Et(){var mt;return mt=F.pop()||yt.lex()||ht,typeof mt!="number"&&(mt instanceof Array&&(F=mt,mt=F.pop()),mt=A.symbols_[mt]||mt),mt}for(var gt,pt,Ct,nt,Nt={},dt,Ft,X,Bt;;){if(pt=N[N.length-1],this.defaultActions[pt]?Ct=this.defaultActions[pt]:((gt===null||typeof gt>"u")&&(gt=Et()),Ct=H[pt]&&H[pt][gt]),typeof Ct>"u"||!Ct.length||!Ct[0]){var Rt="";Bt=[];for(dt in H[pt])this.terminals_[dt]&&dt>it&&Bt.push("'"+this.terminals_[dt]+"'");yt.showPosition?Rt="Parse error on line "+(rt+1)+`:
+`+yt.showPosition()+`
+Expecting `+Bt.join(", ")+", got '"+(this.terminals_[gt]||gt)+"'":Rt="Parse error on line "+(rt+1)+": Unexpected "+(gt==ht?"end of input":"'"+(this.terminals_[gt]||gt)+"'"),this.parseError(Rt,{text:yt.match,token:this.terminals_[gt]||gt,line:yt.yylineno,loc:xt,expected:Bt})}if(Ct[0]instanceof Array&&Ct.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+gt);switch(Ct[0]){case 1:N.push(gt),j.push(yt.yytext),R.push(yt.yylloc),N.push(Ct[1]),gt=null,J=yt.yyleng,Y=yt.yytext,rt=yt.yylineno,xt=yt.yylloc;break;case 2:if(Ft=this.productions_[Ct[1]][1],Nt.$=j[j.length-Ft],Nt._$={first_line:R[R.length-(Ft||1)].first_line,last_line:R[R.length-1].last_line,first_column:R[R.length-(Ft||1)].first_column,last_column:R[R.length-1].last_column},st&&(Nt._$.range=[R[R.length-(Ft||1)].range[0],R[R.length-1].range[1]]),nt=this.performAction.apply(Nt,[Y,J,rt,vt.yy,Ct[1],j,R].concat(Tt)),typeof nt<"u")return nt;Ft&&(N=N.slice(0,-1*Ft*2),j=j.slice(0,-1*Ft),R=R.slice(0,-1*Ft)),N.push(this.productions_[Ct[1]][0]),j.push(Nt.$),R.push(Nt._$),X=H[N[N.length-2]][N[N.length-1]],N.push(X);break;case 3:return!0}}return!0}},m=function(){var E={EOF:1,parseError:function(A,N){if(this.yy.parser)this.yy.parser.parseError(A,N);else throw new Error(A)},setInput:function(C,A){return this.yy=A||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},input:function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var A=C.match(/(?:\r\n?|\n).*/g);return A?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},unput:function(C){var A=C.length,N=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var F=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),N.length-1&&(this.yylineno-=N.length-1);var j=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:N?(N.length===F.length?this.yylloc.first_column:0)+F[F.length-N.length].length-N[0].length:this.yylloc.first_column-A},this.options.ranges&&(this.yylloc.range=[j[0],j[0]+this.yyleng-A]),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(C){this.unput(this.match.slice(C))},pastInput:function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var C=this.pastInput(),A=new Array(C.length+1).join("-");return C+this.upcomingInput()+`
+`+A+"^"},test_match:function(C,A){var N,F,j;if(this.options.backtrack_lexer&&(j={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&&(j.yylloc.range=this.yylloc.range.slice(0))),F=C[0].match(/(?:\r\n?|\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.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],N=this.performAction.call(this,this.yy,this,A,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),N)return N;if(this._backtrack){for(var R in j)this[R]=j[R];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,A,N,F;this._more||(this.yytext="",this.match="");for(var j=this._currentRules(),R=0;R<j.length;R++)if(N=this._input.match(this.rules[j[R]]),N&&(!A||N[0].length>A[0].length)){if(A=N,F=R,this.options.backtrack_lexer){if(C=this.test_match(N,j[R]),C!==!1)return C;if(this._backtrack){A=!1;continue}else return!1}else if(!this.options.flex)break}return A?(C=this.test_match(A,j[F]),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})},lex:function(){var A=this.next();return A||this.lex()},begin:function(A){this.conditionStack.push(A)},popState:function(){var A=this.conditionStack.length-1;return A>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(A){return A=this.conditionStack.length-1-Math.abs(A||0),A>=0?this.conditionStack[A]:"INITIAL"},pushState:function(A){this.begin(A)},stateStackSize:function(){return this.conditionStack.length},options:{easy_keword_rules:!0},performAction:function(A,N,F,j){switch(F){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)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],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 E}();v.lexer=m;function b(){this.yy={}}return b.prototype=v,v.Parser=b,new b}();Vgt.parser=Vgt;const WK=Vgt;let KK=[],YK=[],mL={};const dWe=()=>{KK=[],YK=[],mL={},hg()};class gWe{constructor(a,f,p=0){this.source=a,this.target=f,this.value=p}}const pWe=(i,a,f)=>{KK.push(new gWe(i,a,f))};class bWe{constructor(a){this.ID=a}}const vWe={nodesMap:mL,getConfig:()=>Me().sankey,getNodes:()=>YK,getLinks:()=>KK,getGraph:()=>({nodes:YK.map(i=>({id:i.ID})),links:KK.map(i=>({source:i.source.ID,target:i.target.ID,value:i.value}))}),addLink:pWe,findOrCreateNode:i=>(i=bi.sanitizeText(i,Me()),mL[i]||(mL[i]=new bWe(i),YK.push(mL[i])),mL[i]),getAccTitle:fg,setAccTitle:E0,getAccDescription:gg,setAccDescription:dg,getDiagramTitle:fp,setDiagramTitle:F2,clear:dWe};function Yjt(i,a){let f;if(a===void 0)for(const p of i)p!=null&&(f<p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let v of i)(v=a(v,++p,i))!=null&&(f<v||f===void 0&&v>=v)&&(f=v)}return f}function Xjt(i,a){let f;if(a===void 0)for(const p of i)p!=null&&(f>p||f===void 0&&p>=p)&&(f=p);else{let p=-1;for(let v of i)(v=a(v,++p,i))!=null&&(f>v||f===void 0&&v>=v)&&(f=v)}return f}function Ggt(i,a){let f=0;if(a===void 0)for(let p of i)(p=+p)&&(f+=p);else{let p=-1;for(let v of i)(v=+a(v,++p,i))&&(f+=v)}return f}function wWe(i){return i.target.depth}function mWe(i){return i.depth}function yWe(i,a){return a-1-i.height}function Qjt(i,a){return i.sourceLinks.length?i.depth:a-1}function xWe(i){return i.targetLinks.length?i.depth:i.sourceLinks.length?Xjt(i.sourceLinks,wWe)-1:0}function XK(i){return function(){return i}}function Zjt(i,a){return QK(i.source,a.source)||i.index-a.index}function Jjt(i,a){return QK(i.target,a.target)||i.index-a.index}function QK(i,a){return i.y0-a.y0}function Ugt(i){return i.value}function kWe(i){return i.index}function EWe(i){return i.nodes}function TWe(i){return i.links}function t$t(i,a){const f=i.get(a);if(!f)throw new Error("missing: "+a);return f}function e$t({nodes:i}){for(const a of i){let f=a.y0,p=f;for(const v of a.sourceLinks)v.y0=f+v.width/2,f+=v.width;for(const v of a.targetLinks)v.y1=p+v.width/2,p+=v.width}}function _We(){let i=0,a=0,f=1,p=1,v=24,m=8,b,E=kWe,C=Qjt,A,N,F=EWe,j=TWe,R=6;function H(){const Nt={nodes:F.apply(null,arguments),links:j.apply(null,arguments)};return Y(Nt),rt(Nt),J(Nt),it(Nt),yt(Nt),e$t(Nt),Nt}H.update=function(Nt){return e$t(Nt),Nt},H.nodeId=function(Nt){return arguments.length?(E=typeof Nt=="function"?Nt:XK(Nt),H):E},H.nodeAlign=function(Nt){return arguments.length?(C=typeof Nt=="function"?Nt:XK(Nt),H):C},H.nodeSort=function(Nt){return arguments.length?(A=Nt,H):A},H.nodeWidth=function(Nt){return arguments.length?(v=+Nt,H):v},H.nodePadding=function(Nt){return arguments.length?(m=b=+Nt,H):m},H.nodes=function(Nt){return arguments.length?(F=typeof Nt=="function"?Nt:XK(Nt),H):F},H.links=function(Nt){return arguments.length?(j=typeof Nt=="function"?Nt:XK(Nt),H):j},H.linkSort=function(Nt){return arguments.length?(N=Nt,H):N},H.size=function(Nt){return arguments.length?(i=a=0,f=+Nt[0],p=+Nt[1],H):[f-i,p-a]},H.extent=function(Nt){return arguments.length?(i=+Nt[0][0],f=+Nt[1][0],a=+Nt[0][1],p=+Nt[1][1],H):[[i,a],[f,p]]},H.iterations=function(Nt){return arguments.length?(R=+Nt,H):R};function Y({nodes:Nt,links:dt}){for(const[X,Bt]of Nt.entries())Bt.index=X,Bt.sourceLinks=[],Bt.targetLinks=[];const Ft=new Map(Nt.map((X,Bt)=>[E(X,Bt,Nt),X]));for(const[X,Bt]of dt.entries()){Bt.index=X;let{source:Rt,target:mt}=Bt;typeof Rt!="object"&&(Rt=Bt.source=t$t(Ft,Rt)),typeof mt!="object"&&(mt=Bt.target=t$t(Ft,mt)),Rt.sourceLinks.push(Bt),mt.targetLinks.push(Bt)}if(N!=null)for(const{sourceLinks:X,targetLinks:Bt}of Nt)X.sort(N),Bt.sort(N)}function rt({nodes:Nt}){for(const dt of Nt)dt.value=dt.fixedValue===void 0?Math.max(Ggt(dt.sourceLinks,Ugt),Ggt(dt.targetLinks,Ugt)):dt.fixedValue}function J({nodes:Nt}){const dt=Nt.length;let Ft=new Set(Nt),X=new Set,Bt=0;for(;Ft.size;){for(const Rt of Ft){Rt.depth=Bt;for(const{target:mt}of Rt.sourceLinks)X.add(mt)}if(++Bt>dt)throw new Error("circular link");Ft=X,X=new Set}}function it({nodes:Nt}){const dt=Nt.length;let Ft=new Set(Nt),X=new Set,Bt=0;for(;Ft.size;){for(const Rt of Ft){Rt.height=Bt;for(const{source:mt}of Rt.targetLinks)X.add(mt)}if(++Bt>dt)throw new Error("circular link");Ft=X,X=new Set}}function ht({nodes:Nt}){const dt=Yjt(Nt,Bt=>Bt.depth)+1,Ft=(f-i-v)/(dt-1),X=new Array(dt);for(const Bt of Nt){const Rt=Math.max(0,Math.min(dt-1,Math.floor(C.call(null,Bt,dt))));Bt.layer=Rt,Bt.x0=i+Rt*Ft,Bt.x1=Bt.x0+v,X[Rt]?X[Rt].push(Bt):X[Rt]=[Bt]}if(A)for(const Bt of X)Bt.sort(A);return X}function Tt(Nt){const dt=Xjt(Nt,Ft=>(p-a-(Ft.length-1)*b)/Ggt(Ft,Ugt));for(const Ft of Nt){let X=a;for(const Bt of Ft){Bt.y0=X,Bt.y1=X+Bt.value*dt,X=Bt.y1+b;for(const Rt of Bt.sourceLinks)Rt.width=Rt.value*dt}X=(p-X+b)/(Ft.length+1);for(let Bt=0;Bt<Ft.length;++Bt){const Rt=Ft[Bt];Rt.y0+=X*(Bt+1),Rt.y1+=X*(Bt+1)}pt(Ft)}}function yt(Nt){const dt=ht(Nt);b=Math.min(m,(p-a)/(Yjt(dt,Ft=>Ft.length)-1)),Tt(dt);for(let Ft=0;Ft<R;++Ft){const X=Math.pow(.99,Ft),Bt=Math.max(1-X,(Ft+1)/R);ut(dt,X,Bt),vt(dt,X,Bt)}}function vt(Nt,dt,Ft){for(let X=1,Bt=Nt.length;X<Bt;++X){const Rt=Nt[X];for(const mt of Rt){let Ot=0,Gt=0;for(const{source:Cn,value:xe}of mt.targetLinks){let Kn=xe*(mt.layer-Cn.layer);Ot+=Ct(Cn,mt)*Kn,Gt+=Kn}if(!(Gt>0))continue;let Ve=(Ot/Gt-mt.y0)*dt;mt.y0+=Ve,mt.y1+=Ve,gt(mt)}A===void 0&&Rt.sort(QK),xt(Rt,Ft)}}function ut(Nt,dt,Ft){for(let X=Nt.length,Bt=X-2;Bt>=0;--Bt){const Rt=Nt[Bt];for(const mt of Rt){let Ot=0,Gt=0;for(const{target:Cn,value:xe}of mt.sourceLinks){let Kn=xe*(Cn.layer-mt.layer);Ot+=nt(mt,Cn)*Kn,Gt+=Kn}if(!(Gt>0))continue;let Ve=(Ot/Gt-mt.y0)*dt;mt.y0+=Ve,mt.y1+=Ve,gt(mt)}A===void 0&&Rt.sort(QK),xt(Rt,Ft)}}function xt(Nt,dt){const Ft=Nt.length>>1,X=Nt[Ft];Et(Nt,X.y0-b,Ft-1,dt),st(Nt,X.y1+b,Ft+1,dt),Et(Nt,p,Nt.length-1,dt),st(Nt,a,0,dt)}function st(Nt,dt,Ft,X){for(;Ft<Nt.length;++Ft){const Bt=Nt[Ft],Rt=(dt-Bt.y0)*X;Rt>1e-6&&(Bt.y0+=Rt,Bt.y1+=Rt),dt=Bt.y1+b}}function Et(Nt,dt,Ft,X){for(;Ft>=0;--Ft){const Bt=Nt[Ft],Rt=(Bt.y1-dt)*X;Rt>1e-6&&(Bt.y0-=Rt,Bt.y1-=Rt),dt=Bt.y0-b}}function gt({sourceLinks:Nt,targetLinks:dt}){if(N===void 0){for(const{source:{sourceLinks:Ft}}of dt)Ft.sort(Jjt);for(const{target:{targetLinks:Ft}}of Nt)Ft.sort(Zjt)}}function pt(Nt){if(N===void 0)for(const{sourceLinks:dt,targetLinks:Ft}of Nt)dt.sort(Jjt),Ft.sort(Zjt)}function Ct(Nt,dt){let Ft=Nt.y0-(Nt.sourceLinks.length-1)*b/2;for(const{target:X,width:Bt}of Nt.sourceLinks){if(X===dt)break;Ft+=Bt+b}for(const{source:X,width:Bt}of dt.targetLinks){if(X===Nt)break;Ft-=Bt}return Ft}function nt(Nt,dt){let Ft=dt.y0-(dt.targetLinks.length-1)*b/2;for(const{source:X,width:Bt}of dt.targetLinks){if(X===Nt)break;Ft+=Bt+b}for(const{target:X,width:Bt}of Nt.sourceLinks){if(X===dt)break;Ft-=Bt}return Ft}return H}var Wgt=Math.PI,Kgt=2*Wgt,AE=1e-6,CWe=Kgt-AE;function Ygt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function n$t(){return new Ygt}Ygt.prototype=n$t.prototype={constructor:Ygt,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,f,p){this._+="Q"+ +i+","+ +a+","+(this._x1=+f)+","+(this._y1=+p)},bezierCurveTo:function(i,a,f,p,v,m){this._+="C"+ +i+","+ +a+","+ +f+","+ +p+","+(this._x1=+v)+","+(this._y1=+m)},arcTo:function(i,a,f,p,v){i=+i,a=+a,f=+f,p=+p,v=+v;var m=this._x1,b=this._y1,E=f-i,C=p-a,A=m-i,N=b-a,F=A*A+N*N;if(v<0)throw new Error("negative radius: "+v);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=a);else if(F>AE)if(!(Math.abs(N*E-C*A)>AE)||!v)this._+="L"+(this._x1=i)+","+(this._y1=a);else{var j=f-m,R=p-b,H=E*E+C*C,Y=j*j+R*R,rt=Math.sqrt(H),J=Math.sqrt(F),it=v*Math.tan((Wgt-Math.acos((H+F-Y)/(2*rt*J)))/2),ht=it/J,Tt=it/rt;Math.abs(ht-1)>AE&&(this._+="L"+(i+ht*A)+","+(a+ht*N)),this._+="A"+v+","+v+",0,0,"+ +(N*j>A*R)+","+(this._x1=i+Tt*E)+","+(this._y1=a+Tt*C)}},arc:function(i,a,f,p,v,m){i=+i,a=+a,f=+f,m=!!m;var b=f*Math.cos(p),E=f*Math.sin(p),C=i+b,A=a+E,N=1^m,F=m?p-v:v-p;if(f<0)throw new Error("negative radius: "+f);this._x1===null?this._+="M"+C+","+A:(Math.abs(this._x1-C)>AE||Math.abs(this._y1-A)>AE)&&(this._+="L"+C+","+A),f&&(F<0&&(F=F%Kgt+Kgt),F>CWe?this._+="A"+f+","+f+",0,1,"+N+","+(i-b)+","+(a-E)+"A"+f+","+f+",0,1,"+N+","+(this._x1=C)+","+(this._y1=A):F>AE&&(this._+="A"+f+","+f+",0,"+ +(F>=Wgt)+","+N+","+(this._x1=i+f*Math.cos(v))+","+(this._y1=a+f*Math.sin(v))))},rect:function(i,a,f,p){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+a)+"h"+ +f+"v"+ +p+"h"+-f+"Z"},toString:function(){return this._}};function r$t(i){return function(){return i}}function SWe(i){return i[0]}function AWe(i){return i[1]}var LWe=Array.prototype.slice;function MWe(i){return i.source}function DWe(i){return i.target}function IWe(i){var a=MWe,f=DWe,p=SWe,v=AWe,m=null;function b(){var E,C=LWe.call(arguments),A=a.apply(this,C),N=f.apply(this,C);if(m||(m=E=n$t()),i(m,+p.apply(this,(C[0]=A,C)),+v.apply(this,C),+p.apply(this,(C[0]=N,C)),+v.apply(this,C)),E)return m=null,E+""||null}return b.source=function(E){return arguments.length?(a=E,b):a},b.target=function(E){return arguments.length?(f=E,b):f},b.x=function(E){return arguments.length?(p=typeof E=="function"?E:r$t(+E),b):p},b.y=function(E){return arguments.length?(v=typeof E=="function"?E:r$t(+E),b):v},b.context=function(E){return arguments.length?(m=E??null,b):m},b}function OWe(i,a,f,p,v){i.moveTo(a,f),i.bezierCurveTo(a=(a+p)/2,f,a,v,p,v)}function PWe(){return IWe(OWe)}function NWe(i){return[i.source.x1,i.y0]}function FWe(i){return[i.target.x0,i.y1]}function BWe(){return PWe().source(NWe).target(FWe)}const Xgt=class{static next(i){return new Xgt(i+ ++Xgt.count)}constructor(i){this.id=i,this.href=`#${i}`}toString(){return"url("+this.href+")"}};let Qgt=Xgt;Qgt.count=0;const RWe={left:mWe,right:yWe,center:xWe,justify:Qjt},jWe={draw:function(i,a,f,p){const{securityLevel:v,sankey:m}=Me(),b=eE.sankey;let E;v==="sandbox"&&(E=wr("#i"+a));const C=wr(v==="sandbox"?E.nodes()[0].contentDocument.body:"body"),A=v==="sandbox"?C.select(`[id="${a}"]`):wr(`[id="${a}"]`),N=(m==null?void 0:m.width)||b.width,F=(m==null?void 0:m.height)||b.width,j=(m==null?void 0:m.useMaxWidth)||b.useMaxWidth,R=(m==null?void 0:m.nodeAlignment)||b.nodeAlignment;N2(A,F,N,j);const H=p.db.getGraph(),Y=RWe[R],rt=10;_We().nodeId(vt=>vt.id).nodeWidth(rt).nodePadding(10).nodeAlign(Y).extent([[0,0],[N,F]])(H);const it=x1t(k9e);A.append("g").attr("class","nodes").selectAll(".node").data(H.nodes).join("g").attr("class","node").attr("id",vt=>(vt.uid=Qgt.next("node-")).id).attr("transform",function(vt){return"translate("+vt.x0+","+vt.y0+")"}).attr("x",vt=>vt.x0).attr("y",vt=>vt.y0).append("rect").attr("height",vt=>vt.y1-vt.y0).attr("width",vt=>vt.x1-vt.x0).attr("fill",vt=>it(vt.id)),A.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(H.nodes).join("text").attr("x",vt=>vt.x0<N/2?vt.x1+6:vt.x0-6).attr("y",vt=>(vt.y1+vt.y0)/2).attr("dy","0.35em").attr("text-anchor",vt=>vt.x0<N/2?"start":"end").text(vt=>vt.id);const ht=A.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(H.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),Tt=(m==null?void 0:m.linkColor)||"gradient";if(Tt==="gradient"){const vt=ht.append("linearGradient").attr("id",ut=>(ut.uid=Qgt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",ut=>ut.source.x1).attr("x2",ut=>ut.target.x0);vt.append("stop").attr("offset","0%").attr("stop-color",ut=>it(ut.source.id)),vt.append("stop").attr("offset","100%").attr("stop-color",ut=>it(ut.target.id))}let yt;switch(Tt){case"gradient":yt=vt=>vt.uid;break;case"source":yt=vt=>it(vt.source.id);break;case"target":yt=vt=>it(vt.target.id);break;default:yt=Tt}ht.append("path").attr("d",BWe()).attr("stroke",yt).attr("stroke-width",vt=>Math.max(1,vt.width))}},$We=i=>i.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
+`).trim(),zWe=WK.parse.bind(WK);WK.parse=i=>zWe($We(i));const qWe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:WK,db:vWe,renderer:jWe}},Symbol.toStringTag,{value:"Module"}));return R2});