website-zarif/assets/lib/mermaid/mermaid.min.js
Zarif Fathurrahman Rani 782270c665 first commit
2023-08-30 20:07:11 +03:00

1581 lines
2.6 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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;
}
}
.nodeLabel, .edgeLabel {
color: ${s.classText};
}
.edgeLabel .label rect {
fill: ${s.mainBkg};
}
.label text {
fill: ${s.classText};
}
.edgeLabel .label span {
background: ${s.mainBkg};
}
.classTitle {
font-weight: bolder;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.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};
}
.attributeBoxOdd {
fill: ${s.attributeBackgroundColorOdd};
stroke: ${s.nodeBorder};
}
.attributeBoxEven {
fill: ${s.attributeBackgroundColorEven};
stroke: ${s.nodeBorder};
}
.relationshipLabelBox {
fill: ${s.tertiaryColor};
opacity: 0.7;
background-color: ${s.tertiaryColor};
rect {
opacity: 0.5;
}
}
.relationshipLine {
stroke: ${s.lineColor};
}
.entityTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,G1e=()=>"",sK=s=>`.label {
font-family: ${s.fontFamily};
color: ${s.nodeTextColor||s.textColor};
}
.cluster-label text {
fill: ${s.titleColor};
}
.cluster-label span {
color: ${s.titleColor};
}
.label text,span {
fill: ${s.nodeTextColor||s.textColor};
color: ${s.nodeTextColor||s.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
background-color: ${s.edgeLabelBackground};
fill: ${s.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${s.clusterBkg};
stroke: ${s.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${s.titleColor};
}
.cluster span {
color: ${s.titleColor};
}
/* .cluster div {
color: ${s.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${s.fontFamily};
font-size: 12px;
background: ${s.tertiaryColor};
border: 1px solid ${s.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,aIe=s=>`
.mermaid-main-font {
font-family: "trebuchet ms", verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.exclude-range {
fill: ${s.excludeBkgColor};
}
.section {
stroke: none;
opacity: 0.2;
}
.section0 {
fill: ${s.sectionBkgColor};
}
.section2 {
fill: ${s.sectionBkgColor2};
}
.section1,
.section3 {
fill: ${s.altSectionBkgColor};
opacity: 0.2;
}
.sectionTitle0 {
fill: ${s.titleColor};
}
.sectionTitle1 {
fill: ${s.titleColor};
}
.sectionTitle2 {
fill: ${s.titleColor};
}
.sectionTitle3 {
fill: ${s.titleColor};
}
.sectionTitle {
text-anchor: start;
// font-size: ${s.ganttFontSize};
// text-height: 14px;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
/* Grid and axis */
.grid .tick {
stroke: ${s.gridColor};
opacity: 0.8;
shape-rendering: crispEdges;
text {
font-family: ${s.fontFamily};
fill: ${s.textColor};
}
}
.grid path {
stroke-width: 0;
}
/* Today line */
.today {
fill: none;
stroke: ${s.todayLineColor};
stroke-width: 2px;
}
/* Task styling */
/* Default task */
.task {
stroke-width: 2;
}
.taskText {
text-anchor: middle;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
// .taskText:not([font-size]) {
// font-size: ${s.ganttFontSize};
// }
.taskTextOutsideRight {
fill: ${s.taskTextDarkColor};
text-anchor: start;
// font-size: ${s.ganttFontSize};
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.taskTextOutsideLeft {
fill: ${s.taskTextDarkColor};
text-anchor: end;
// font-size: ${s.ganttFontSize};
}
/* Special case clickable */
.task.clickable {
cursor: pointer;
}
.taskText.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideLeft.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideRight.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
/* Specific task settings for the sections*/
.taskText0,
.taskText1,
.taskText2,
.taskText3 {
fill: ${s.taskTextColor};
}
.task0,
.task1,
.task2,
.task3 {
fill: ${s.taskBkgColor};
stroke: ${s.taskBorderColor};
}
.taskTextOutside0,
.taskTextOutside2
{
fill: ${s.taskTextOutsideColor};
}
.taskTextOutside1,
.taskTextOutside3 {
fill: ${s.taskTextOutsideColor};
}
/* Active task */
.active0,
.active1,
.active2,
.active3 {
fill: ${s.activeTaskBkgColor};
stroke: ${s.activeTaskBorderColor};
}
.activeText0,
.activeText1,
.activeText2,
.activeText3 {
fill: ${s.taskTextDarkColor} !important;
}
/* Completed task */
.done0,
.done1,
.done2,
.done3 {
stroke: ${s.doneTaskBorderColor};
fill: ${s.doneTaskBkgColor};
stroke-width: 2;
}
.doneText0,
.doneText1,
.doneText2,
.doneText3 {
fill: ${s.taskTextDarkColor} !important;
}
/* Tasks on the critical line */
.crit0,
.crit1,
.crit2,
.crit3 {
stroke: ${s.critBorderColor};
fill: ${s.critBkgColor};
stroke-width: 2;
}
.activeCrit0,
.activeCrit1,
.activeCrit2,
.activeCrit3 {
stroke: ${s.critBorderColor};
fill: ${s.activeTaskBkgColor};
stroke-width: 2;
}
.doneCrit0,
.doneCrit1,
.doneCrit2,
.doneCrit3 {
stroke: ${s.critBorderColor};
fill: ${s.doneTaskBkgColor};
stroke-width: 2;
cursor: pointer;
shape-rendering: crispEdges;
}
.milestone {
transform: rotate(45deg) scale(0.8,0.8);
}
.milestoneText {
font-style: italic;
}
.doneCritText0,
.doneCritText1,
.doneCritText2,
.doneCritText3 {
fill: ${s.taskTextDarkColor} !important;
}
.activeCritText0,
.activeCritText1,
.activeCritText2,
.activeCritText3 {
fill: ${s.taskTextDarkColor} !important;
}
.titleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor} ;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
`,oIe=()=>"",cIe=s=>`
.pieCircle{
stroke: ${s.pieStrokeColor};
stroke-width : ${s.pieStrokeWidth};
opacity : ${s.pieOpacity};
}
.pieTitleText {
text-anchor: middle;
font-size: ${s.pieTitleTextSize};
fill: ${s.pieTitleTextColor};
font-family: ${s.fontFamily};
}
.slice {
font-family: ${s.fontFamily};
fill: ${s.pieSectionTextColor};
font-size:${s.pieSectionTextSize};
// fill: white;
}
.legend text {
fill: ${s.pieLegendTextColor};
font-family: ${s.fontFamily};
font-size: ${s.pieLegendTextSize};
}
`,uIe=s=>`
marker {
fill: ${s.relationColor};
stroke: ${s.relationColor};
}
marker.cross {
stroke: ${s.lineColor};
}
svg {
font-family: ${s.fontFamily};
font-size: ${s.fontSize};
}
.reqBox {
fill: ${s.requirementBackground};
fill-opacity: 100%;
stroke: ${s.requirementBorderColor};
stroke-width: ${s.requirementBorderSize};
}
.reqTitle, .reqLabel{
fill: ${s.requirementTextColor};
}
.reqLabelBox {
fill: ${s.relationLabelBackground};
fill-opacity: 100%;
}
.req-title-line {
stroke: ${s.requirementBorderColor};
stroke-width: ${s.requirementBorderSize};
}
.relationshipLine {
stroke: ${s.relationColor};
stroke-width: 1;
}
.relationshipLabel {
fill: ${s.relationLabelColor};
}
`,lIe=s=>`.actor {
stroke: ${s.actorBorder};
fill: ${s.actorBkg};
}
text.actor > tspan {
fill: ${s.actorTextColor};
stroke: none;
}
.actor-line {
stroke: ${s.actorLineColor};
}
.messageLine0 {
stroke-width: 1.5;
stroke-dasharray: none;
stroke: ${s.signalColor};
}
.messageLine1 {
stroke-width: 1.5;
stroke-dasharray: 2, 2;
stroke: ${s.signalColor};
}
#arrowhead path {
fill: ${s.signalColor};
stroke: ${s.signalColor};
}
.sequenceNumber {
fill: ${s.sequenceNumberColor};
}
#sequencenumber {
fill: ${s.signalColor};
}
#crosshead path {
fill: ${s.signalColor};
stroke: ${s.signalColor};
}
.messageText {
fill: ${s.signalTextColor};
stroke: none;
}
.labelBox {
stroke: ${s.labelBoxBorderColor};
fill: ${s.labelBoxBkgColor};
}
.labelText, .labelText > tspan {
fill: ${s.labelTextColor};
stroke: none;
}
.loopText, .loopText > tspan {
fill: ${s.loopTextColor};
stroke: none;
}
.loopLine {
stroke-width: 2px;
stroke-dasharray: 2, 2;
stroke: ${s.labelBoxBorderColor};
fill: ${s.labelBoxBorderColor};
}
.note {
//stroke: #decc93;
stroke: ${s.noteBorderColor};
fill: ${s.noteBkgColor};
}
.noteText, .noteText > tspan {
fill: ${s.noteTextColor};
stroke: none;
}
.activation0 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.activation1 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.activation2 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.actorPopupMenu {
position: absolute;
}
.actorPopupMenuPanel {
position: absolute;
fill: ${s.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};
}
.actor-man circle, line {
stroke: ${s.actorBorder};
fill: ${s.actorBkg};
stroke-width: 2px;
}
`,aK=s=>`
defs #statediagram-barbEnd {
fill: ${s.transitionColor};
stroke: ${s.transitionColor};
}
g.stateGroup text {
fill: ${s.nodeBorder};
stroke: none;
font-size: 10px;
}
g.stateGroup text {
fill: ${s.textColor};
stroke: none;
font-size: 10px;
}
g.stateGroup .state-title {
font-weight: bolder;
fill: ${s.stateLabelColor};
}
g.stateGroup rect {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
}
g.stateGroup line {
stroke: ${s.lineColor};
stroke-width: 1;
}
.transition {
stroke: ${s.transitionColor};
stroke-width: 1;
fill: none;
}
.stateGroup .composit {
fill: ${s.background};
border-bottom: 1px
}
.stateGroup .alt-composit {
fill: #e0e0e0;
border-bottom: 1px
}
.state-note {
stroke: ${s.noteBorderColor};
fill: ${s.noteBkgColor};
text {
fill: ${s.noteTextColor};
stroke: none;
font-size: 10px;
}
}
.stateLabel .box {
stroke: none;
stroke-width: 0;
fill: ${s.mainBkg};
opacity: 0.5;
}
.edgeLabel .label rect {
fill: ${s.labelBackgroundColor};
opacity: 0.5;
}
.edgeLabel .label text {
fill: ${s.transitionLabelColor||s.tertiaryTextColor};
}
.label div .edgeLabel {
color: ${s.transitionLabelColor||s.tertiaryTextColor};
}
.stateLabel text {
fill: ${s.stateLabelColor};
font-size: 10px;
font-weight: bold;
}
.node circle.state-start {
fill: ${s.specialStateColor};
stroke: ${s.specialStateColor};
}
.node .fork-join {
fill: ${s.specialStateColor};
stroke: ${s.specialStateColor};
}
.node circle.state-end {
fill: ${s.innerEndBackground};
stroke: ${s.background};
stroke-width: 1.5
}
.end-state-inner {
fill: ${s.compositeBackground||s.background};
// stroke: ${s.background};
stroke-width: 1.5
}
.node rect {
fill: ${s.stateBkg||s.mainBkg};
stroke: ${s.stateBorder||s.nodeBorder};
stroke-width: 1px;
}
.node polygon {
fill: ${s.mainBkg};
stroke: ${s.stateBorder||s.nodeBorder};;
stroke-width: 1px;
}
#statediagram-barbEnd {
fill: ${s.lineColor};
}
.statediagram-cluster rect {
fill: ${s.compositeTitleBackground};
stroke: ${s.stateBorder||s.nodeBorder};
stroke-width: 1px;
}
.cluster-label, .nodeLabel {
color: ${s.stateLabelColor};
}
.statediagram-cluster rect.outer {
rx: 5px;
ry: 5px;
}
.statediagram-state .divider {
stroke: ${s.stateBorder||s.nodeBorder};
}
.statediagram-state .title-state {
rx: 5px;
ry: 5px;
}
.statediagram-cluster.statediagram-cluster .inner {
fill: ${s.compositeBackground||s.background};
}
.statediagram-cluster.statediagram-cluster-alt .inner {
fill: ${s.altBackground?s.altBackground:"#efefef"};
}
.statediagram-cluster .inner {
rx:0;
ry:0;
}
.statediagram-state rect.basic {
rx: 5px;
ry: 5px;
}
.statediagram-state rect.divider {
stroke-dasharray: 10,10;
fill: ${s.altBackground?s.altBackground:"#efefef"};
}
.note-edge {
stroke-dasharray: 5;
}
.statediagram-note rect {
fill: ${s.noteBkgColor};
stroke: ${s.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note rect {
fill: ${s.noteBkgColor};
stroke: ${s.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note text {
fill: ${s.noteTextColor};
}
.statediagram-note .nodeLabel {
color: ${s.noteTextColor};
}
.statediagram .edgeLabel {
color: red; // ${s.noteTextColor};
}
#dependencyStart, #dependencyEnd {
fill: ${s.lineColor};
stroke: ${s.lineColor};
stroke-width: 1;
}
.statediagramTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,hIe=s=>`.label {
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
color: ${s.textColor};
}
.mouth {
stroke: #666;
}
line {
stroke: ${s.textColor}
}
.legend {
fill: ${s.textColor};
}
.label text {
fill: #333;
}
.label {
color: ${s.textColor}
}
.face {
${s.faceColor?`fill: ${s.faceColor}`:"fill: #FFF8DC"};
stroke: #999;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 1.5px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
}
text-align: center;
}
.cluster rect {
}
.cluster text {
fill: ${s.titleColor};
}
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
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};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.task-type-0, .section-type-0 {
${s.fillType0?`fill: ${s.fillType0}`:""};
}
.task-type-1, .section-type-1 {
${s.fillType0?`fill: ${s.fillType1}`:""};
}
.task-type-2, .section-type-2 {
${s.fillType0?`fill: ${s.fillType2}`:""};
}
.task-type-3, .section-type-3 {
${s.fillType0?`fill: ${s.fillType3}`:""};
}
.task-type-4, .section-type-4 {
${s.fillType0?`fill: ${s.fillType4}`:""};
}
.task-type-5, .section-type-5 {
${s.fillType0?`fill: ${s.fillType5}`:""};
}
.task-type-6, .section-type-6 {
${s.fillType0?`fill: ${s.fillType6}`:""};
}
.task-type-7, .section-type-7 {
${s.fillType0?`fill: ${s.fillType7}`:""};
}
.actor-0 {
${s.actor0?`fill: ${s.actor0}`:""};
}
.actor-1 {
${s.actor1?`fill: ${s.actor1}`:""};
}
.actor-2 {
${s.actor2?`fill: ${s.actor2}`:""};
}
.actor-3 {
${s.actor3?`fill: ${s.actor3}`:""};
}
.actor-4 {
${s.actor4?`fill: ${s.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}
}
/* 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+`
`;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··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँअह़्॑॔क़ॣ९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼ੴઁઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૯ଁଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൯กฮะฺเ๎๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩↀↂ々々〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),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ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩↀↂ〡〩ぁゔァヺㄅㄬ一龥가힣",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.
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+=`
.subgraph-lvl-${f} {
fill: ${s[`surface${f}`]};
stroke: ${s[`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};
}
.cluster-label text {
fill: ${s.titleColor};
}
.cluster-label span {
color: ${s.titleColor};
}
.label text,span {
fill: ${s.nodeTextColor||s.textColor};
color: ${s.nodeTextColor||s.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
background-color: ${s.edgeLabelBackground};
fill: ${s.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${s.clusterBkg};
stroke: ${s.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${s.titleColor};
}
.cluster span {
color: ${s.titleColor};
}
/* .cluster div {
color: ${s.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${s.fontFamily};
font-size: 12px;
background: ${s.tertiaryColor};
border: 1px solid ${s.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// 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+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} path {
fill: ${s["cScale"+f]};
}
.section-${f-1} text {
fill: ${s["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
color: ${s["cScaleLabel"+f]};
}
.section-edge-${f-1}{
stroke: ${s["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${p};
}
.section-${f-1} line {
stroke: ${s["cScaleInv"+f]} ;
stroke-width: 3;
}
.lineWrapper line{
stroke: ${s["cScaleLabel"+f]} ;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return o},uzt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:VHt,renderer:ozt,parser:qHt,styles:s=>`
.edge {
stroke-width: 3;
}
${czt(s)}
.section-root rect, .section-root path, .section-root circle {
fill: ${s.git0};
}
.section-root text {
fill: ${s.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
.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}
a${b},${b} 1 0,1 ${f*.4},${-1*f*.1}
a${k},${k} 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${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${w},${w} 1 0,1 ${-1*f*.1},${-1*p*.35}
a${_},${_} 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}
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${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${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}
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)});/*!
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);/*!
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+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} polygon, .section-${f-1} path {
fill: ${s["cScale"+f]};
}
.section-${f-1} text {
fill: ${s["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
color: ${s["cScaleLabel"+f]};
}
.section-edge-${f-1}{
stroke: ${s["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${p};
}
.section-${f-1} line {
stroke: ${s["cScaleInv"+f]} ;
stroke-width: 3;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return o},zzt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:yzt,renderer:$zt,parser:lzt,styles:s=>`
.edge {
stroke-width: 3;
}
${Hzt(s)}
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
fill: ${s.git0};
}
.section-root text {
fill: ${s.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
`}},Symbol.toStringTag,{value:"Module"}));return Wb});
//# sourceMappingURL=mermaid.min.js.map