Lines Matching refs:range

6 `)),b+=F+g[S+1]}),b}var Z0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e9(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var yOt={exports:{}};(function(i,a){(function(f,g){i.exports=g()})(Z0,function(){var f=1e3,g=6e4,w=36e5,v="millisecond",b="second",E="minute",S="hour",_="day",M="week",F="month",R="quarter",B="year",z="date",Y="Invalid Date",nt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|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,ft={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(V){var Ot=["th","st","nd","rd"],It=V%100;return"["+V+(Ot[(It-20)%10]||Ot[It]||Ot[0])+"]"}},wt=function(V,Ot,It){var jt=String(V);return!jt||jt.length>=Ot?V:""+Array(Ot+1-jt.length).join(It)+V},mt={s:wt,z:function(V){var Ot=-V.utcOffset(),It=Math.abs(Ot),jt=Math.floor(It/60),xt=It%60;return(Ot<=0?"+":"-")+wt(jt,2,"0")+":"+wt(xt,2,"0")},m:function V(Ot,It){if(Ot.date()<It.date())return-V(It,Ot);var jt=12*(It.year()-Ot.year())+(It.month()-Ot.month()),xt=Ot.clone().add(jt,F),Ft=It-xt<0,Ct=Ot.clone().add(jt+(Ft?-1:1),F);return+(-(jt+(It-xt)/(Ft?xt-Ct:Ct-xt))||0)},a:function(V){return V<0?Math.ceil(V)||0:Math.floor(V)},p:function(V){return{M:F,y:B,w:M,d:_,D:z,h:S,m:E,s:b,ms:v,Q:R}[V]||String(V||"").toLowerCase().replace(/s$/,"")},u:function(V){return V===void 0}},ct="en",rt={};rt[ct]=ft;var it=function(V){return V instanceof K},gt=function V(Ot,It,jt){var xt;if(!Ot)return ct;if(typeof Ot=="string"){var Ft=Ot.toLowerCase();rt[Ft]&&(xt=Ft),It&&(rt[Ft]=It,xt=Ft);var Ct=Ot.split("-");if(!xt&&Ct.length>1)return V(Ct[0])}else{var kt=Ot.name;rt[kt]=Ot,xt=kt}return!jt&&xt&&(ct=xt),xt||!jt&&ct},Q=function(V,Ot){if(it(V))return V.clone();var It=typeof Ot=="object"?Ot:{};return It.date=V,It.args=arguments,new K(It)},dt=mt;dt.l=gt,dt.i=it,dt.w=function(V,Ot){return Q(V,{locale:Ot.$L,utc:Ot.$u,x:Ot.$x,$offset:Ot.$offset})};var K=function(){function V(It){this.$L=gt(It.locale,null,!0),this.parse(It)}var Ot=V.prototype;return Ot.parse=function(It){this.$d=function(jt){var xt=jt.date,Ft=jt.utc;if(xt===null)return new Date(NaN);if(dt.u(xt))return new Date;if(xt instanceof Date)return new Date(xt);if(typeof xt=="string"&&!/Z$/i.test(xt)){var Ct=xt.match(nt);if(Ct){var kt=Ct[2]-1||0,Gt=(Ct[7]||"0").substring(0,3);return Ft?new Date(Date.UTC(Ct[1],kt,Ct[3]||1,Ct[4]||0,Ct[5]||0,Ct[6]||0,Gt)):new Date(Ct[1],kt,Ct[3]||1,Ct[4]||0,Ct[5]||0,Ct[6]||0,Gt)}}return new Date(xt)}(It),this.$x=It.x||{},this.init()},Ot.init=function(){var It=this.$d;this.$y=It.getFullYear(),this.$M=It.getMonth(),this.$D=It.getDate(),this.$W=It.getDay(),this.$H=It.getHours(),this.$m=It.getMinutes(),this.$s=It.getSeconds(),this.$ms=It.getMilliseconds()},Ot.$utils=function(){return dt},Ot.isValid=function(){return this.$d.toString()!==Y},Ot.isSame=function(It,jt){var xt=Q(It);return this.startOf(jt)<=xt&&xt<=this.endOf(jt)},Ot.isAfter=function(It,jt){return Q(It)<this.startOf(jt)},Ot.isBefore=function(It,jt){return this.endOf(jt)<Q(It)},Ot.$g=function(It,jt,xt){return dt.u(It)?this[jt]:this.set(xt,It)},Ot.unix=function(){return Math.floor(this.valueOf()/1e3)},Ot.valueOf=function(){return this.$d.getTime()},Ot.startOf=function(It,jt){var xt=this,Ft=!!dt.u(jt)||jt,Ct=dt.p(It),kt=function(sn,be){var Ne=dt.w(xt.$u?Date.UTC(xt.$y,be,sn):new Date(xt.$y,be,sn),xt);return Ft?Ne:Ne.endOf(_)},Gt=function(sn,be){return dt.w(xt.toDate()[sn].apply(xt.toDate("s"),(Ft?[0,0,0,0]:[23,59,59,999]).slice(be)),xt)},Fe=this.$W,Mt=this.$M,pn=this.$D,Ae="set"+(this.$u?"UTC":"");switch(Ct){case B:return Ft?kt(1,0):kt(31,11);case F:return Ft?kt(1,Mt):kt(0,Mt+1);case M:var ye=this.$locale().weekStart||0,tn=(Fe<ye?Fe+7:Fe)-ye;return kt(Ft?pn-tn:pn+(6-tn),Mt);case _:case z:return Gt(Ae+"Hours",0);case S:return Gt(Ae+"Minutes",1);case E:return Gt(Ae+"Seconds",2);case b:return Gt(Ae+"Milliseconds",3);default:return this.clone()}},Ot.endOf=function(It){return this.startOf(It,!1)},Ot.$set=function(It,jt){var xt,Ft=dt.p(It),Ct="set"+(this.$u?"UTC":""),kt=(xt={},xt[_]=Ct+"Date",xt[z]=Ct+"Date",xt[F]=Ct+"Month",xt[B]=Ct+"FullYear",xt[S]=Ct+"Hours",xt[E]=Ct+"Minutes",xt[b]=Ct+"Seconds",xt[v]=Ct+"Milliseconds",xt)[Ft],Gt=Ft===_?this.$D+(jt-this.$W):jt;if(Ft===F||Ft===B){var Fe=this.clone().set(z,1);Fe.$d[kt](Gt),Fe.init(),this.$d=Fe.set(z,Math.min(this.$D,Fe.daysInMonth())).$d}else kt&&this.$d[kt](Gt);return this.init(),this},Ot.set=function(It,jt){return this.clone().$set(It,jt)},Ot.get=function(It){return this[dt.p(It)]()},Ot.add=function(It,jt){var xt,Ft=this;It=Number(It);var Ct=dt.p(jt),kt=function(Mt){var pn=Q(Ft);return dt.w(pn.date(pn.date()+Math.round(Mt*It)),Ft)};if(Ct===F)return this.set(F,this.$M+It);if(Ct===B)return this.set(B,this.$y+It);if(Ct===_)return kt(1);if(Ct===M)return kt(7);var Gt=(xt={},xt[E]=g,xt[S]=w,xt[b]=f,xt)[Ct]||1,Fe=this.$d.getTime()+It*Gt;return dt.w(Fe,this)},Ot.subtract=function(It,jt){return this.add(-1*It,jt)},Ot.format=function(It){var jt=this,xt=this.$locale();if(!this.isValid())return xt.invalidDate||Y;var Ft=It||"YYYY-MM-DDTHH:mm:ssZ",Ct=dt.z(this),kt=this.$H,Gt=this.$m,Fe=this.$M,Mt=xt.weekdays,pn=xt.months,Ae=function(be,Ne,Xt,_e){return be&&(be[Ne]||be(jt,Ft))||Xt[Ne].slice(0,_e)},ye=function(be){return dt.s(kt%12||12,be,"0")},tn=xt.meridiem||function(be,Ne,Xt){var _e=be<12?"AM":"PM";return Xt?_e.toLowerCase():_e},sn={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Fe+1,MM:dt.s(Fe+1,2,"0"),MMM:Ae(xt.monthsShort,Fe,pn,3),MMMM:Ae(pn,Fe),D:this.$D,DD:dt.s(this.$D,2,"0"),d:String(this.$W),dd:Ae(xt.weekdaysMin,this.$W,Mt,2),ddd:Ae(xt.weekdaysShort,this.$W,Mt,3),dddd:Mt[this.$W],H:String(kt),HH:dt.s(kt,2,"0"),h:ye(1),hh:ye(2),a:tn(kt,Gt,!0),A:tn(kt,Gt,!1),m:String(Gt),mm:dt.s(Gt,2,"0"),s:String(this.$s),ss:dt.s(this.$s,2,"0"),SSS:dt.s(this.$ms,3,"0"),Z:Ct};return Ft.replace(ot,function(be,Ne){return Ne||sn[be]||Ct.replace(":","")})},Ot.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ot.diff=function(It,jt,xt){var Ft,Ct=dt.p(jt),kt=Q(It),Gt=(kt.utcOffset()-this.utcOffset())*g,Fe=this-kt,Mt=dt.m(this,kt);return Mt=(Ft={},Ft[B]=Mt/12,Ft[F]=Mt,Ft[R]=Mt/3,Ft[M]=(Fe-Gt)/6048e5,Ft[_]=(Fe-Gt)/864e5,Ft[S]=Fe/w,Ft[E]=Fe/g,Ft[b]=Fe/f,Ft)[Ct]||Fe,xt?Mt:dt.a(Mt)},Ot.daysInMonth=function(){return this.endOf(F).$D},Ot.$locale=function(){return rt[this.$L]},Ot.locale=function(It,jt){if(!It)return this.$L;var xt=this.clone(),Ft=gt(It,jt,!0);return Ft&&(xt.$L=Ft),xt},Ot.clone=function(){return dt.w(this.$d,this)},Ot.toDate=function(){return new Date(this.valueOf())},Ot.toJSON=function(){return this.isValid()?this.toISOString():null},Ot.toISOString=function(){return this.$d.toISOString()},Ot.toString=function(){return this.$d.toUTCString()},V}(),yt=K.prototype;return Q.prototype=yt,[["$ms",v],["$s",b],["$m",E],["$H",S],["$W",_],["$M",F],["$y",B],["$D",z]].forEach(function(V){yt[V[1]]=function(Ot){return this.$g(Ot,V[0],V[1])}}),Q.extend=function(V,Ot){return V.$i||(V(Ot,K,Q),V.$i=!0),Q},Q.locale=gt,Q.isDayjs=it,Q.unix=function(V){return Q(1e3*V)},Q.en=rt[ct],Q.Ls=rt,Q.p={},Q})})(yOt);var g9e=yOt.exports;const tg=e9(g9e),yx={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Kt={trace:(...i)=>{},debug:(...i)=>{},info:(...i)=>{},warn:(...i)=>{},error:(...i)=>{},fatal:(...i)=>{}},d0t=function(i="fatal"){let a=yx.fatal;typeof i=="string"?(i=i.toLowerCase(),i in yx&&(a=yx[i])):typeof i=="number"&&(a=i),Kt.trace=()=>{},Kt.debug=()=>{},Kt.info=()=>{},Kt.warn=()=>{},Kt.error=()=>{},Kt.fatal=()=>{},a<=yx.fatal&&(Kt.fatal=console.error?console.error.bind(console,Gw("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Gw("FATAL"))),a<=yx.error&&(Kt.error=console.error?console.error.bind(console,Gw("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Gw("ERROR"))),a<=yx.warn&&(Kt.warn=console.warn?console.warn.bind(console,Gw("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Gw("WARN"))),a<=yx.info&&(Kt.info=console.info?console.info.bind(console,Gw("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Gw("INFO"))),a<=yx.debug&&(Kt.debug=console.debug?console.debug.bind(console,Gw("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Gw("DEBUG"))),a<=yx.trace&&(Kt.trace=console.debug?console.debug.bind(console,Gw("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Gw("TRACE")))},Gw=i=>`%c${tg().format("ss.SSS")} : ${i} : `;var g0t={};Object.defineProperty(g0t,"__esModule",{value:!0});var h8=g0t.sanitizeUrl=void 0,p9e=/^([^\w]*)(javascript|data|vbscript)/im,b9e=/&#(\w+)(^\w|;)?/g,w9e=/&(newline|tab);/gi,m9e=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,v9e=/^.+(:|&colon;)/gim,y9e=[".","/"];function x9e(i){return y9e.indexOf(i[0])>-1}function k9e(i){return i.replace(b9e,function(a,f){return String.fromCharCode(f)})}function E9e(i){var a=k9e(i||"").replace(w9e,"").replace(m9e,"").trim();if(!a)return"about:blank";if(x9e(a))return a;var f=a.match(v9e);if(!f)return a;var g=f[0];return p9e.test(g)?"about:blank":a}h8=g0t.sanitizeUrl=E9e;function nW(i,a){return i==null||a==null?NaN:i<a?-1:i>a?1:i>=a?0:NaN}function T9e(i,a){return i==null||a==null?NaN:a<i?-1:a>i?1:a>=i?0:NaN}function p0t(i){let a,f,g;i.length!==2?(a=nW,f=(E,S)=>nW(i(E),S),g=(E,S)=>i(E)-S):(a=i===nW||i===T9e?i:C9e,f=i,g=i);function w(E,S,_=0,M=E.length){if(_<M){if(a(S,S)!==0)return M;do{const F=_+M>>>1;f(E[F],S)<0?_=F+1:M=F}while(_<M)}return _}function v(E,S,_=0,M=E.length){if(_<M){if(a(S,S)!==0)return M;do{const F=_+M>>>1;f(E[F],S)<=0?_=F+1:M=F}while(_<M)}return _}function b(E,S,_=0,M=E.length){const F=w(E,S,_,M-1);return F>_&&g(E[F-1],S)>-g(E[F],S)?F-1:F}return{left:w,center:b,right:v}}function C9e(){return 0}function S9e(i){return i===null?NaN:+i}const _9e=p0t(nW).right;p0t(S9e).center;const A9e=_9e;class xOt extends Map{constructor(a,f=M9e){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:f}}),a!=null)for(const[g,w]of a)this.set(g,w)}get(a){return super.get(kOt(this,a))}has(a){return super.has(kOt(this,a))}set(a,f){return super.set(L9e(this,a),f)}delete(a){return super.delete(D9e(this,a))}}function kOt({_intern:i,_key:a},f){const g=a(f);return i.has(g)?i.get(g):f}function L9e({_intern:i,_key:a},f){const g=a(f);return i.has(g)?i.get(g):(i.set(g,f),f)}function D9e({_intern:i,_key:a},f){const g=a(f);return i.has(g)&&(f=i.get(g),i.delete(g)),f}function M9e(i){return i!==null&&typeof i=="object"?i.valueOf():i}const I9e=Math.sqrt(50),O9e=Math.sqrt(10),N9e=Math.sqrt(2);function rW(i,a,f){const g=(a-i)/Math.max(0,f),w=Math.floor(Math.log10(g)),v=g/Math.pow(10,w),b=v>=I9e?10:v>=O9e?5:v>=N9e?2:1;let E,S,_;return w<0?(_=Math.pow(10,-w)/b,E=Math.round(i*_),S=Math.round(a*_),E/_<i&&++E,S/_>a&&--S,_=-_):(_=Math.pow(10,w)*b,E=Math.round(i/_),S=Math.round(a/_),E*_<i&&++E,S*_>a&&--S),S<E&&.5<=f&&f<2?rW(i,a,f*2):[E,S,_]}function P9e(i,a,f){if(a=+a,i=+i,f=+f,!(f>0))return[];if(i===a)return[i];const g=a<i,[w,v,b]=g?rW(a,i,f):rW(i,a,f);if(!(v>=w))return[];const E=v-w+1,S=new Array(E);if(g)if(b<0)for(let _=0;_<E;++_)S[_]=(v-_)/-b;else for(let _=0;_<E;++_)S[_]=(v-_)*b;else if(b<0)for(let _=0;_<E;++_)S[_]=(w+_)/-b;else for(let _=0;_<E;++_)S[_]=(w+_)*b;return S}function b0t(i,a,f){return a=+a,i=+i,f=+f,rW(i,a,f)[2]}function w0t(i,a,f){a=+a,i=+i,f=+f;const g=a<i,w=g?b0t(a,i,f):b0t(i,a,f);return(g?-1:1)*(w<0?1/-w:w)}function F9e(i,a){let f;if(a===void 0)for(const g of i)g!=null&&(f<g||f===void 0&&g>=g)&&(f=g);else{let g=-1;for(let w of i)(w=a(w,++g,i))!=null&&(f<w||f===void 0&&w>=w)&&(f=w)}return f}function B9e(i,a){let f;if(a===void 0)for(const g of i)g!=null&&(f>g||f===void 0&&g>=g)&&(f=g);else{let g=-1;for(let w of i)(w=a(w,++g,i))!=null&&(f>w||f===void 0&&w>=w)&&(f=w)}return f}function R9e(i,a,f){i=+i,a=+a,f=(w=arguments.length)<2?(a=i,i=0,1):w<3?1:+f;for(var g=-1,w=Math.max(0,Math.ceil((a-i)/f))|0,v=new Array(w);++g<w;)v[g]=i+g*f;return v}function j9e(i){return i}var iW=1,m0t=2,v0t=3,sW=4,EOt=1e-6;function $9e(i){return"translate("+i+",0)"}function z9e(i){return"translate(0,"+i+")"}function q9e(i){return a=>+i(a)}function H9e(i,a){return a=Math.max(0,i.bandwidth()-a*2)/2,i.round()&&(a=Math.round(a)),f=>+i(f)+a}function V9e(){return!this.__axis}function TOt(i,a){var f=[],g=null,w=null,v=6,b=6,E=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,_=i===iW||i===sW?-1:1,M=i===sW||i===m0t?"x":"y",F=i===iW||i===v0t?$9e:z9e;function R(B){var z=g??(a.ticks?a.ticks.apply(a,f):a.domain()),Y=w??(a.tickFormat?a.tickFormat.apply(a,f):j9e),nt=Math.max(v,0)+E,ot=a.range(),ft=+ot[0]+S,wt=+ot[ot.length-1]+S,mt=(a.bandwidth?H9e:q9e)(a.copy(),S),ct=B.selection?B.selection():B,rt=ct.selectAll(".domain").data([null]),it=ct.selectAll(".tick").data(z,a).order(),gt=it.exit(),Q=it.enter().append("g").attr("class","tick"),dt=it.select("line"),K=it.select("text");rt=rt.merge(rt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),it=it.merge(Q),dt=dt.merge(Q.append("line").attr("stroke","currentColor").attr(M+"2",_*v)),K=K.merge(Q.append("text").attr("fill","currentColor").attr(M,_*nt).attr("dy",i===iW?"0em":i===v0t?"0.71em":"0.32em")),B!==ct&&(rt=rt.transition(B),it=it.transition(B),dt=dt.transition(B),K=K.transition(B),gt=gt.transition(B).attr("opacity",EOt).attr("transform",function(yt){return isFinite(yt=mt(yt))?F(yt+S):this.getAttribute("transform")}),Q.attr("opacity",EOt).attr("transform",function(yt){var V=this.parentNode.__axis;return F((V&&isFinite(V=V(yt))?V:mt(yt))+S)})),gt.remove(),rt.attr("d",i===sW||i===m0t?b?"M"+_*b+","+ft+"H"+S+"V"+wt+"H"+_*b:"M"+S+","+ft+"V"+wt:b?"M"+ft+","+_*b+"V"+S+"H"+wt+"V"+_*b:"M"+ft+","+S+"H"+wt),it.attr("opacity",1).attr("transform",function(yt){return F(mt(yt)+S)}),dt.attr(M+"2",_*v),K.attr(M,_*nt).text(Y),ct.filter(V9e).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",i===m0t?"start":i===sW?"end":"middle"),ct.each(function(){this.__axis=mt})}return R.scale=function(B){return arguments.length?(a=B,R):a},R.ticks=function(){return f=Array.from(arguments),R},R.tickArguments=function(B){return arguments.length?(f=B==null?[]:Array.from(B),R):f.slice()},R.tickValues=function(B){return arguments.length?(g=B==null?null:Array.from(B),R):g&&g.slice()},R.tickFormat=function(B){return arguments.length?(w=B,R):w},R.tickSize=function(B){return arguments.length?(v=b=+B,R):v},R.tickSizeInner=function(B){return arguments.length?(v=+B,R):v},R.tickSizeOuter=function(B){return arguments.length?(b=+B,R):b},R.tickPadding=function(B){return arguments.length?(E=+B,R):E},R.offset=function(B){return arguments.length?(S=+B,R):S},R}function U9e(i){return TOt(iW,i)}function G9e(i){return TOt(v0t,i)}var K9e={value:()=>{}};function COt(){for(var i=0,a=arguments.length,f={},g;i<a;++i){if(!(g=arguments[i]+"")||g in f||/[\s.]/.test(g))throw new Error("illegal type: "+g);f[g]=[]}return new aW(f)}function aW(i){this._=i}function W9e(i,a){return i.trim().split(/^|\s+/).map(function(f){var g="",w=f.indexOf(".");if(w>=0&&(g=f.slice(w+1),f=f.slice(0,w)),f&&!a.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:g}})}aW.prototype=COt.prototype={constructor:aW,on:function(i,a){var f=this._,g=W9e(i+"",f),w,v=-1,b=g.length;if(arguments.length<2){for(;++v<b;)if((w=(i=g[v]).type)&&(w=Y9e(f[w],i.name)))return w;return}if(a!=null&&typeof a!="function")throw new Error("invalid callback: "+a);for(;++v<b;)if(w=(i=g[v]).type)f[w]=SOt(f[w],i.name,a);else if(a==null)for(w in f)f[w]=SOt(f[w],i.name,null);return this},copy:function(){var i={},a=this._;for(var f in a)i[f]=a[f].slice();return new aW(i)},call:function(i,a){if((w=arguments.length-2)>0)for(var f=new Array(w),g=0,w,v;g<w;++g)f[g]=arguments[g+2];if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(v=this._[i],g=0,w=v.length;g<w;++g)v[g].value.apply(a,f)},apply:function(i,a,f){if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(var g=this._[i],w=0,v=g.length;w<v;++w)g[w].value.apply(a,f)}};function Y9e(i,a){for(var f=0,g=i.length,w;f<g;++f)if((w=i[f]).name===a)return w.value}function SOt(i,a,f){for(var g=0,w=i.length;g<w;++g)if(i[g].name===a){i[g]=K9e,i=i.slice(0,g).concat(i.slice(g+1));break}return f!=null&&i.push({name:a,value:f}),i}var y0t="http://www.w3.org/1999/xhtml";const _Ot={svg:"http://www.w3.org/2000/svg",xhtml:y0t,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function oW(i){var a=i+="",f=a.indexOf(":");return f>=0&&(a=i.slice(0,f))!=="xmlns"&&(i=i.slice(f+1)),_Ot.hasOwnProperty(a)?{space:_Ot[a],local:i}:i}function X9e(i){return function(){var a=this.ownerDocument,f=this.namespaceURI;return f===y0t&&a.documentElement.namespaceURI===y0t?a.createElement(i):a.createElementNS(f,i)}}function Q9e(i){return function(){return this.ownerDocument.createElementNS(i.space,i.local)}}function AOt(i){var a=oW(i);return(a.local?Q9e:X9e)(a)}function J9e(){}function x0t(i){return i==null?J9e:function(){return this.querySelector(i)}}function Z9e(i){typeof i!="function"&&(i=x0t(i));for(var a=this._groups,f=a.length,g=new Array(f),w=0;w<f;++w)for(var v=a[w],b=v.length,E=g[w]=new Array(b),S,_,M=0;M<b;++M)(S=v[M])&&(_=i.call(S,S.__data__,M,v))&&("__data__"in S&&(_.__data__=S.__data__),E[M]=_);return new Gg(g,this._parents)}function LOt(i){return i==null?[]:Array.isArray(i)?i:Array.from(i)}function tCe(){return[]}function DOt(i){return i==null?tCe:function(){return this.querySelectorAll(i)}}function eCe(i){return function(){return LOt(i.apply(this,arguments))}}function nCe(i){typeof i=="function"?i=eCe(i):i=DOt(i);for(var a=this._groups,f=a.length,g=[],w=[],v=0;v<f;++v)for(var b=a[v],E=b.length,S,_=0;_<E;++_)(S=b[_])&&(g.push(i.call(S,S.__data__,_,b)),w.push(S));return new Gg(g,w)}function MOt(i){return function(){return this.matches(i)}}function IOt(i){return function(a){return a.matches(i)}}var rCe=Array.prototype.find;function iCe(i){return function(){return rCe.call(this.children,i)}}function sCe(){return this.firstElementChild}function aCe(i){return this.select(i==null?sCe:iCe(typeof i=="function"?i:IOt(i)))}var oCe=Array.prototype.filter;function cCe(){return Array.from(this.children)}function uCe(i){return function(){return oCe.call(this.children,i)}}function lCe(i){return this.selectAll(i==null?cCe:uCe(typeof i=="function"?i:IOt(i)))}function hCe(i){typeof i!="function"&&(i=MOt(i));for(var a=this._groups,f=a.length,g=new Array(f),w=0;w<f;++w)for(var v=a[w],b=v.length,E=g[w]=[],S,_=0;_<b;++_)(S=v[_])&&i.call(S,S.__data__,_,v)&&E.push(S);return new Gg(g,this._parents)}function OOt(i){return new Array(i.length)}function fCe(){return new Gg(this._enter||this._groups.map(OOt),this._parents)}function cW(i,a){this.ownerDocument=i.ownerDocument,this.namespaceURI=i.namespaceURI,this._next=null,this._parent=i,this.__data__=a}cW.prototype={constructor:cW,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,a){return this._parent.insertBefore(i,a)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};function dCe(i){return function(){return i}}function gCe(i,a,f,g,w,v){for(var b=0,E,S=a.length,_=v.length;b<_;++b)(E=a[b])?(E.__data__=v[b],g[b]=E):f[b]=new cW(i,v[b]);for(;b<S;++b)(E=a[b])&&(w[b]=E)}function pCe(i,a,f,g,w,v,b){var E,S,_=new Map,M=a.length,F=v.length,R=new Array(M),B;for(E=0;E<M;++E)(S=a[E])&&(R[E]=B=b.call(S,S.__data__,E,a)+"",_.has(B)?w[E]=S:_.set(B,S));for(E=0;E<F;++E)B=b.call(i,v[E],E,v)+"",(S=_.get(B))?(g[E]=S,S.__data__=v[E],_.delete(B)):f[E]=new cW(i,v[E]);for(E=0;E<M;++E)(S=a[E])&&_.get(R[E])===S&&(w[E]=S)}function bCe(i){return i.__data__}function wCe(i,a){if(!arguments.length)return Array.from(this,bCe);var f=a?pCe:gCe,g=this._parents,w=this._groups;typeof i!="function"&&(i=dCe(i));for(var v=w.length,b=new Array(v),E=new Array(v),S=new Array(v),_=0;_<v;++_){var M=g[_],F=w[_],R=F.length,B=mCe(i.call(M,M&&M.__data__,_,g)),z=B.length,Y=E[_]=new Array(z),nt=b[_]=new Array(z),ot=S[_]=new Array(R);f(M,F,Y,nt,ot,B,a);for(var ft=0,wt=0,mt,ct;ft<z;++ft)if(mt=Y[ft]){for(ft>=wt&&(wt=ft+1);!(ct=nt[wt])&&++wt<z;);mt._next=ct||null}}return b=new Gg(b,g),b._enter=E,b._exit=S,b}function mCe(i){return typeof i=="object"&&"length"in i?i:Array.from(i)}function vCe(){return new Gg(this._exit||this._groups.map(OOt),this._parents)}function yCe(i,a,f){var g=this.enter(),w=this,v=this.exit();return typeof i=="function"?(g=i(g),g&&(g=g.selection())):g=g.append(i+""),a!=null&&(w=a(w),w&&(w=w.selection())),f==null?v.remove():f(v),g&&w?g.merge(w).order():w}function xCe(i){for(var a=i.selection?i.selection():i,f=this._groups,g=a._groups,w=f.length,v=g.length,b=Math.min(w,v),E=new Array(w),S=0;S<b;++S)for(var _=f[S],M=g[S],F=_.length,R=E[S]=new Array(F),B,z=0;z<F;++z)(B=_[z]||M[z])&&(R[z]=B);for(;S<w;++S)E[S]=f[S];return new Gg(E,this._parents)}function kCe(){for(var i=this._groups,a=-1,f=i.length;++a<f;)for(var g=i[a],w=g.length-1,v=g[w],b;--w>=0;)(b=g[w])&&(v&&b.compareDocumentPosition(v)^4&&v.parentNode.insertBefore(b,v),v=b);return this}function ECe(i){i||(i=TCe);function a(F,R){return F&&R?i(F.__data__,R.__data__):!F-!R}for(var f=this._groups,g=f.length,w=new Array(g),v=0;v<g;++v){for(var b=f[v],E=b.length,S=w[v]=new Array(E),_,M=0;M<E;++M)(_=b[M])&&(S[M]=_);S.sort(a)}return new Gg(w,this._parents).order()}function TCe(i,a){return i<a?-1:i>a?1:i>=a?0:NaN}function CCe(){var i=arguments[0];return arguments[0]=this,i.apply(null,arguments),this}function SCe(){return Array.from(this)}function _Ce(){for(var i=this._groups,a=0,f=i.length;a<f;++a)for(var g=i[a],w=0,v=g.length;w<v;++w){var b=g[w];if(b)return b}return null}function ACe(){let i=0;for(const a of this)++i;return i}function LCe(){return!this.node()}function DCe(i){for(var a=this._groups,f=0,g=a.length;f<g;++f)for(var w=a[f],v=0,b=w.length,E;v<b;++v)(E=w[v])&&i.call(E,E.__data__,v,w);return this}function MCe(i){return function(){this.removeAttribute(i)}}function ICe(i){return function(){this.removeAttributeNS(i.space,i.local)}}function OCe(i,a){return function(){this.setAttribute(i,a)}}function NCe(i,a){return function(){this.setAttributeNS(i.space,i.local,a)}}function PCe(i,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttribute(i):this.setAttribute(i,f)}}function FCe(i,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,f)}}function BCe(i,a){var f=oW(i);if(arguments.length<2){var g=this.node();return f.local?g.getAttributeNS(f.space,f.local):g.getAttribute(f)}return this.each((a==null?f.local?ICe:MCe:typeof a=="function"?f.local?FCe:PCe:f.local?NCe:OCe)(f,a))}function NOt(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function RCe(i){return function(){this.style.removeProperty(i)}}function jCe(i,a,f){return function(){this.style.setProperty(i,a,f)}}function $Ce(i,a,f){return function(){var g=a.apply(this,arguments);g==null?this.style.removeProperty(i):this.style.setProperty(i,g,f)}}function zCe(i,a,f){return arguments.length>1?this.each((a==null?RCe:typeof a=="function"?$Ce:jCe)(i,a,f??"")):RL(this.node(),i)}function RL(i,a){return i.style.getPropertyValue(a)||NOt(i).getComputedStyle(i,null).getPropertyValue(a)}function qCe(i){return function(){delete this[i]}}function HCe(i,a){return function(){this[i]=a}}function VCe(i,a){return function(){var f=a.apply(this,arguments);f==null?delete this[i]:this[i]=f}}function UCe(i,a){return arguments.length>1?this.each((a==null?qCe:typeof a=="function"?VCe:HCe)(i,a)):this.node()[i]}function POt(i){return i.trim().split(/^|\s+/)}function k0t(i){return i.classList||new FOt(i)}function FOt(i){this._node=i,this._names=POt(i.getAttribute("class")||"")}FOt.prototype={add:function(i){var a=this._names.indexOf(i);a<0&&(this._names.push(i),this._node.setAttribute("class",this._names.join(" ")))},remove:function(i){var a=this._names.indexOf(i);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};function BOt(i,a){for(var f=k0t(i),g=-1,w=a.length;++g<w;)f.add(a[g])}function ROt(i,a){for(var f=k0t(i),g=-1,w=a.length;++g<w;)f.remove(a[g])}function GCe(i){return function(){BOt(this,i)}}function KCe(i){return function(){ROt(this,i)}}function WCe(i,a){return function(){(a.apply(this,arguments)?BOt:ROt)(this,i)}}function YCe(i,a){var f=POt(i+"");if(arguments.length<2){for(var g=k0t(this.node()),w=-1,v=f.length;++w<v;)if(!g.contains(f[w]))return!1;return!0}return this.each((typeof a=="function"?WCe:a?GCe:KCe)(f,a))}function XCe(){this.textContent=""}function QCe(i){return function(){this.textContent=i}}function JCe(i){return function(){var a=i.apply(this,arguments);this.textContent=a??""}}function ZCe(i){return arguments.length?this.each(i==null?XCe:(typeof i=="function"?JCe:QCe)(i)):this.node().textContent}function tSe(){this.innerHTML=""}function eSe(i){return function(){this.innerHTML=i}}function nSe(i){return function(){var a=i.apply(this,arguments);this.innerHTML=a??""}}function rSe(i){return arguments.length?this.each(i==null?tSe:(typeof i=="function"?nSe:eSe)(i)):this.node().innerHTML}function iSe(){this.nextSibling&&this.parentNode.appendChild(this)}function sSe(){return this.each(iSe)}function aSe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function oSe(){return this.each(aSe)}function cSe(i){var a=typeof i=="function"?i:AOt(i);return this.select(function(){return this.appendChild(a.apply(this,arguments))})}function uSe(){return null}function lSe(i,a){var f=typeof i=="function"?i:AOt(i),g=a==null?uSe:typeof a=="function"?a:x0t(a);return this.select(function(){return this.insertBefore(f.apply(this,arguments),g.apply(this,arguments)||null)})}function hSe(){var i=this.parentNode;i&&i.removeChild(this)}function fSe(){return this.each(hSe)}function dSe(){var i=this.cloneNode(!1),a=this.parentNode;return a?a.insertBefore(i,this.nextSibling):i}function gSe(){var i=this.cloneNode(!0),a=this.parentNode;return a?a.insertBefore(i,this.nextSibling):i}function pSe(i){return this.select(i?gSe:dSe)}function bSe(i){return arguments.length?this.property("__data__",i):this.node().__data__}function wSe(i){return function(a){i.call(this,a,this.__data__)}}function mSe(i){return i.trim().split(/^|\s+/).map(function(a){var f="",g=a.indexOf(".");return g>=0&&(f=a.slice(g+1),a=a.slice(0,g)),{type:a,name:f}})}function vSe(i){return function(){var a=this.__on;if(a){for(var f=0,g=-1,w=a.length,v;f<w;++f)v=a[f],(!i.type||v.type===i.type)&&v.name===i.name?this.removeEventListener(v.type,v.listener,v.options):a[++g]=v;++g?a.length=g:delete this.__on}}}function ySe(i,a,f){return function(){var g=this.__on,w,v=wSe(a);if(g){for(var b=0,E=g.length;b<E;++b)if((w=g[b]).type===i.type&&w.name===i.name){this.removeEventListener(w.type,w.listener,w.options),this.addEventListener(w.type,w.listener=v,w.options=f),w.value=a;return}}this.addEventListener(i.type,v,f),w={type:i.type,name:i.name,value:a,listener:v,options:f},g?g.push(w):this.__on=[w]}}function xSe(i,a,f){var g=mSe(i+""),w,v=g.length,b;if(arguments.length<2){var E=this.node().__on;if(E){for(var S=0,_=E.length,M;S<_;++S)for(w=0,M=E[S];w<v;++w)if((b=g[w]).type===M.type&&b.name===M.name)return M.value}return}for(E=a?ySe:vSe,w=0;w<v;++w)this.each(E(g[w],a,f));return this}function jOt(i,a,f){var g=NOt(i),w=g.CustomEvent;typeof w=="function"?w=new w(a,f):(w=g.document.createEvent("Event"),f?(w.initEvent(a,f.bubbles,f.cancelable),w.detail=f.detail):w.initEvent(a,!1,!1)),i.dispatchEvent(w)}function kSe(i,a){return function(){return jOt(this,i,a)}}function ESe(i,a){return function(){return jOt(this,i,a.apply(this,arguments))}}function TSe(i,a){return this.each((typeof a=="function"?ESe:kSe)(i,a))}function*CSe(){for(var i=this._groups,a=0,f=i.length;a<f;++a)for(var g=i[a],w=0,v=g.length,b;w<v;++w)(b=g[w])&&(yield b)}var E0t=[null];function Gg(i,a){this._groups=i,this._parents=a}function JP(){return new Gg([[document.documentElement]],E0t)}function SSe(){return this}Gg.prototype=JP.prototype={constructor:Gg,select:Z9e,selectAll:nCe,selectChild:aCe,selectChildren:lCe,filter:hCe,data:wCe,enter:fCe,exit:vCe,join:yCe,merge:xCe,selection:SSe,order:kCe,sort:ECe,call:CCe,nodes:SCe,node:_Ce,size:ACe,empty:LCe,each:DCe,attr:BCe,style:zCe,property:UCe,classed:YCe,text:ZCe,html:rSe,raise:sSe,lower:oSe,append:cSe,insert:lSe,remove:fSe,clone:pSe,datum:bSe,on:xSe,dispatch:TSe,[Symbol.iterator]:CSe};function Tr(i){return typeof i=="string"?new Gg([[document.querySelector(i)]],[document.documentElement]):new Gg([[i]],E0t)}function $Ot(i){return typeof i=="string"?new Gg([document.querySelectorAll(i)],[document.documentElement]):new Gg([LOt(i)],E0t)}function ZP(i,a,f){i.prototype=a.prototype=f,f.constructor=i}function uW(i,a){var f=Object.create(i.prototype);for(var g in a)f[g]=a[g];return f}function n9(){}var tF=.7,lW=1/tF,jL="\\s*([+-]?\\d+)\\s*",eF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Q3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_Se=/^#([0-9a-f]{3,8})$/,ASe=new RegExp(`^rgb\\(${jL},${jL},${jL}\\)$`),LSe=new RegExp(`^rgb\\(${Q3},${Q3},${Q3}\\)$`),DSe=new RegExp(`^rgba\\(${jL},${jL},${jL},${eF}\\)$`),MSe=new RegExp(`^rgba\\(${Q3},${Q3},${Q3},${eF}\\)$`),ISe=new RegExp(`^hsl\\(${eF},${Q3},${Q3}\\)$`),OSe=new RegExp(`^hsla\\(${eF},${Q3},${Q3},${eF}\\)$`),zOt={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};ZP(n9,r9,{copy(i){return Object.assign(new this.constructor,this,i)},displayable(){return this.rgb().displayable()},hex:qOt,formatHex:qOt,formatHex8:NSe,formatHsl:PSe,formatRgb:HOt,toString:HOt});function qOt(){return this.rgb().formatHex()}function NSe(){return this.rgb().formatHex8()}function PSe(){return YOt(this).formatHsl()}function HOt(){return this.rgb().formatRgb()}function r9(i){var a,f;return i=(i+"").trim().toLowerCase(),(a=_Se.exec(i))?(f=a[1].length,a=parseInt(a[1],16),f===6?VOt(a):f===3?new eg(a>>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):f===8?hW(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):f===4?hW(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=ASe.exec(i))?new eg(a[1],a[2],a[3],1):(a=LSe.exec(i))?new eg(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=DSe.exec(i))?hW(a[1],a[2],a[3],a[4]):(a=MSe.exec(i))?hW(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=ISe.exec(i))?WOt(a[1],a[2]/100,a[3]/100,1):(a=OSe.exec(i))?WOt(a[1],a[2]/100,a[3]/100,a[4]):zOt.hasOwnProperty(i)?VOt(zOt[i]):i==="transparent"?new eg(NaN,NaN,NaN,0):null}function VOt(i){return new eg(i>>16&255,i>>8&255,i&255,1)}function hW(i,a,f,g){return g<=0&&(i=a=f=NaN),new eg(i,a,f,g)}function UOt(i){return i instanceof n9||(i=r9(i)),i?(i=i.rgb(),new eg(i.r,i.g,i.b,i.opacity)):new eg}function T0t(i,a,f,g){return arguments.length===1?UOt(i):new eg(i,a,f,g??1)}function eg(i,a,f,g){this.r=+i,this.g=+a,this.b=+f,this.opacity=+g}ZP(eg,T0t,uW(n9,{brighter(i){return i=i==null?lW:Math.pow(lW,i),new eg(this.r*i,this.g*i,this.b*i,this.opacity)},darker(i){return i=i==null?tF:Math.pow(tF,i),new eg(this.r*i,this.g*i,this.b*i,this.opacity)},rgb(){return this},clamp(){return new eg(i9(this.r),i9(this.g),i9(this.b),fW(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:GOt,formatHex:GOt,formatHex8:FSe,formatRgb:KOt,toString:KOt}));function GOt(){return`#${s9(this.r)}${s9(this.g)}${s9(this.b)}`}function FSe(){return`#${s9(this.r)}${s9(this.g)}${s9(this.b)}${s9((isNaN(this.opacity)?1:this.opacity)*255)}`}function KOt(){const i=fW(this.opacity);return`${i===1?"rgb(":"rgba("}${i9(this.r)}, ${i9(this.g)}, ${i9(this.b)}${i===1?")":`, ${i})`}`}function fW(i){return isNaN(i)?1:Math.max(0,Math.min(1,i))}function i9(i){return Math.max(0,Math.min(255,Math.round(i)||0))}function s9(i){return i=i9(i),(i<16?"0":"")+i.toString(16)}function WOt(i,a,f,g){return g<=0?i=a=f=NaN:f<=0||f>=1?i=a=NaN:a<=0&&(i=NaN),new jv(i,a,f,g)}function YOt(i){if(i instanceof jv)return new jv(i.h,i.s,i.l,i.opacity);if(i instanceof n9||(i=r9(i)),!i)return new jv;if(i instanceof jv)return i;i=i.rgb();var a=i.r/255,f=i.g/255,g=i.b/255,w=Math.min(a,f,g),v=Math.max(a,f,g),b=NaN,E=v-w,S=(v+w)/2;return E?(a===v?b=(f-g)/E+(f<g)*6:f===v?b=(g-a)/E+2:b=(a-f)/E+4,E/=S<.5?v+w:2-v-w,b*=60):E=S>0&&S<1?0:b,new jv(b,E,S,i.opacity)}function BSe(i,a,f,g){return arguments.length===1?YOt(i):new jv(i,a,f,g??1)}function jv(i,a,f,g){this.h=+i,this.s=+a,this.l=+f,this.opacity=+g}ZP(jv,BSe,uW(n9,{brighter(i){return i=i==null?lW:Math.pow(lW,i),new jv(this.h,this.s,this.l*i,this.opacity)},darker(i){return i=i==null?tF:Math.pow(tF,i),new jv(this.h,this.s,this.l*i,this.opacity)},rgb(){var i=this.h%360+(this.h<0)*360,a=isNaN(i)||isNaN(this.s)?0:this.s,f=this.l,g=f+(f<.5?f:1-f)*a,w=2*f-g;return new eg(C0t(i>=240?i-240:i+120,w,g),C0t(i,w,g),C0t(i<120?i+240:i-120,w,g),this.opacity)},clamp(){return new jv(XOt(this.h),dW(this.s),dW(this.l),fW(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const i=fW(this.opacity);return`${i===1?"hsl(":"hsla("}${XOt(this.h)}, ${dW(this.s)*100}%, ${dW(this.l)*100}%${i===1?")":`, ${i})`}`}}));function XOt(i){return i=(i||0)%360,i<0?i+360:i}function dW(i){return Math.max(0,Math.min(1,i||0))}function C0t(i,a,f){return(i<60?a+(f-a)*i/60:i<180?f:i<240?a+(f-a)*(240-i)/60:a)*255}const RSe=Math.PI/180,jSe=180/Math.PI,gW=18,QOt=.96422,JOt=1,ZOt=.82521,tNt=4/29,$L=6/29,eNt=3*$L*$L,$Se=$L*$L*$L;function nNt(i){if(i instanceof J3)return new J3(i.l,i.a,i.b,i.opacity);if(i instanceof xx)return rNt(i);i instanceof eg||(i=UOt(i));var a=L0t(i.r),f=L0t(i.g),g=L0t(i.b),w=S0t((.2225045*a+.7168786*f+.0606169*g)/JOt),v,b;return a===f&&f===g?v=b=w:(v=S0t((.4360747*a+.3850649*f+.1430804*g)/QOt),b=S0t((.0139322*a+.0971045*f+.7141733*g)/ZOt)),new J3(116*w-16,500*(v-w),200*(w-b),i.opacity)}function zSe(i,a,f,g){return arguments.length===1?nNt(i):new J3(i,a,f,g??1)}function J3(i,a,f,g){this.l=+i,this.a=+a,this.b=+f,this.opacity=+g}ZP(J3,zSe,uW(n9,{brighter(i){return new J3(this.l+gW*(i??1),this.a,this.b,this.opacity)},darker(i){return new J3(this.l-gW*(i??1),this.a,this.b,this.opacity)},rgb(){var i=(this.l+16)/116,a=isNaN(this.a)?i:i+this.a/500,f=isNaN(this.b)?i:i-this.b/200;return a=QOt*_0t(a),i=JOt*_0t(i),f=ZOt*_0t(f),new eg(A0t(3.1338561*a-1.6168667*i-.4906146*f),A0t(-.9787684*a+1.9161415*i+.033454*f),A0t(.0719453*a-.2289914*i+1.4052427*f),this.opacity)}}));function S0t(i){return i>$Se?Math.pow(i,1/3):i/eNt+tNt}function _0t(i){return i>$L?i*i*i:eNt*(i-tNt)}function A0t(i){return 255*(i<=.0031308?12.92*i:1.055*Math.pow(i,1/2.4)-.055)}function L0t(i){return(i/=255)<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4)}function qSe(i){if(i instanceof xx)return new xx(i.h,i.c,i.l,i.opacity);if(i instanceof J3||(i=nNt(i)),i.a===0&&i.b===0)return new xx(NaN,0<i.l&&i.l<100?0:NaN,i.l,i.opacity);var a=Math.atan2(i.b,i.a)*jSe;return new xx(a<0?a+360:a,Math.sqrt(i.a*i.a+i.b*i.b),i.l,i.opacity)}function D0t(i,a,f,g){return arguments.length===1?qSe(i):new xx(i,a,f,g??1)}function xx(i,a,f,g){this.h=+i,this.c=+a,this.l=+f,this.opacity=+g}function rNt(i){if(isNaN(i.h))return new J3(i.l,0,0,i.opacity);var a=i.h*RSe;return new J3(i.l,Math.cos(a)*i.c,Math.sin(a)*i.c,i.opacity)}ZP(xx,D0t,uW(n9,{brighter(i){return new xx(this.h,this.c,this.l+gW*(i??1),this.opacity)},darker(i){return new xx(this.h,this.c,this.l-gW*(i??1),this.opacity)},rgb(){return rNt(this).rgb()}}));const pW=i=>()=>i;function iNt(i,a){return function(f){return i+f*a}}function HSe(i,a,f){return i=Math.pow(i,f),a=Math.pow(a,f)-i,f=1/f,function(g){return Math.pow(i+g*a,f)}}function VSe(i,a){var f=a-i;return f?iNt(i,f>180||f<-180?f-360*Math.round(f/360):f):pW(isNaN(i)?a:i)}function USe(i){return(i=+i)==1?nF:function(a,f){return f-a?HSe(a,f,i):pW(isNaN(a)?f:a)}}function nF(i,a){var f=a-i;return f?iNt(i,f):pW(isNaN(i)?a:i)}const bW=function i(a){var f=USe(a);function g(w,v){var b=f((w=T0t(w)).r,(v=T0t(v)).r),E=f(w.g,v.g),S=f(w.b,v.b),_=nF(w.opacity,v.opacity);return function(M){return w.r=b(M),w.g=E(M),w.b=S(M),w.opacity=_(M),w+""}}return g.gamma=i,g}(1);function GSe(i,a){a||(a=[]);var f=i?Math.min(a.length,i.length):0,g=a.slice(),w;return function(v){for(w=0;w<f;++w)g[w]=i[w]*(1-v)+a[w]*v;return g}}function KSe(i){return ArrayBuffer.isView(i)&&!(i instanceof DataView)}function WSe(i,a){var f=a?a.length:0,g=i?Math.min(f,i.length):0,w=new Array(g),v=new Array(f),b;for(b=0;b<g;++b)w[b]=O0t(i[b],a[b]);for(;b<f;++b)v[b]=a[b];return function(E){for(b=0;b<g;++b)v[b]=w[b](E);return v}}function YSe(i,a){var f=new Date;return i=+i,a=+a,function(g){return f.setTime(i*(1-g)+a*g),f}}function $v(i,a){return i=+i,a=+a,function(f){return i*(1-f)+a*f}}function XSe(i,a){var f={},g={},w;(i===null||typeof i!="object")&&(i={}),(a===null||typeof a!="object")&&(a={});for(w in a)w in i?f[w]=O0t(i[w],a[w]):g[w]=a[w];return function(v){for(w in f)g[w]=f[w](v);return g}}var M0t=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,I0t=new RegExp(M0t.source,"g");function QSe(i){return function(){return i}}function JSe(i){return function(a){return i(a)+""}}function sNt(i,a){var f=M0t.lastIndex=I0t.lastIndex=0,g,w,v,b=-1,E=[],S=[];for(i=i+"",a=a+"";(g=M0t.exec(i))&&(w=I0t.exec(a));)(v=w.index)>f&&(v=a.slice(f,v),E[b]?E[b]+=v:E[++b]=v),(g=g[0])===(w=w[0])?E[b]?E[b]+=w:E[++b]=w:(E[++b]=null,S.push({i:b,x:$v(g,w)})),f=I0t.lastIndex;return f<a.length&&(v=a.slice(f),E[b]?E[b]+=v:E[++b]=v),E.length<2?S[0]?JSe(S[0].x):QSe(a):(a=S.length,function(_){for(var M=0,F;M<a;++M)E[(F=S[M]).i]=F.x(_);return E.join("")})}function O0t(i,a){var f=typeof a,g;return a==null||f==="boolean"?pW(a):(f==="number"?$v:f==="string"?(g=r9(a))?(a=g,bW):sNt:a instanceof r9?bW:a instanceof Date?YSe:KSe(a)?GSe:Array.isArray(a)?WSe:typeof a.valueOf!="function"&&typeof a.toString!="function"||isNaN(a)?XSe:$v)(i,a)}function ZSe(i,a){return i=+i,a=+a,function(f){return Math.round(i*(1-f)+a*f)}}var aNt=180/Math.PI,N0t={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function oNt(i,a,f,g,w,v){var b,E,S;return(b=Math.sqrt(i*i+a*a))&&(i/=b,a/=b),(S=i*f+a*g)&&(f-=i*S,g-=a*S),(E=Math.sqrt(f*f+g*g))&&(f/=E,g/=E,S/=E),i*g<a*f&&(i=-i,a=-a,S=-S,b=-b),{translateX:w,translateY:v,rotate:Math.atan2(a,i)*aNt,skewX:Math.atan(S)*aNt,scaleX:b,scaleY:E}}var wW;function t_e(i){const a=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(i+"");return a.isIdentity?N0t:oNt(a.a,a.b,a.c,a.d,a.e,a.f)}function e_e(i){return i==null||(wW||(wW=document.createElementNS("http://www.w3.org/2000/svg","g")),wW.setAttribute("transform",i),!(i=wW.transform.baseVal.consolidate()))?N0t:(i=i.matrix,oNt(i.a,i.b,i.c,i.d,i.e,i.f))}function cNt(i,a,f,g){function w(_){return _.length?_.pop()+" ":""}function v(_,M,F,R,B,z){if(_!==F||M!==R){var Y=B.push("translate(",null,a,null,f);z.push({i:Y-4,x:$v(_,F)},{i:Y-2,x:$v(M,R)})}else(F||R)&&B.push("translate("+F+a+R+f)}function b(_,M,F,R){_!==M?(_-M>180?M+=360:M-_>180&&(_+=360),R.push({i:F.push(w(F)+"rotate(",null,g)-2,x:$v(_,M)})):M&&F.push(w(F)+"rotate("+M+g)}function E(_,M,F,R){_!==M?R.push({i:F.push(w(F)+"skewX(",null,g)-2,x:$v(_,M)}):M&&F.push(w(F)+"skewX("+M+g)}function S(_,M,F,R,B,z){if(_!==F||M!==R){var Y=B.push(w(B)+"scale(",null,",",null,")");z.push({i:Y-4,x:$v(_,F)},{i:Y-2,x:$v(M,R)})}else(F!==1||R!==1)&&B.push(w(B)+"scale("+F+","+R+")")}return function(_,M){var F=[],R=[];return _=i(_),M=i(M),v(_.translateX,_.translateY,M.translateX,M.translateY,F,R),b(_.rotate,M.rotate,F,R),E(_.skewX,M.skewX,F,R),S(_.scaleX,_.scaleY,M.scaleX,M.scaleY,F,R),_=M=null,function(B){for(var z=-1,Y=R.length,nt;++z<Y;)F[(nt=R[z]).i]=nt.x(B);return F.join("")}}}var n_e=cNt(t_e,"px, ","px)","deg)"),r_e=cNt(e_e,", ",")",")");function i_e(i){return function(a,f){var g=i((a=D0t(a)).h,(f=D0t(f)).h),w=nF(a.c,f.c),v=nF(a.l,f.l),b=nF(a.opacity,f.opacity);return function(E){return a.h=g(E),a.c=w(E),a.l=v(E),a.opacity=b(E),a+""}}}const s_e=i_e(VSe);var zL=0,rF=0,iF=0,uNt=1e3,mW,sF,vW=0,a9=0,yW=0,aF=typeof performance=="object"&&performance.now?performance:Date,lNt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(i){setTimeout(i,17)};function P0t(){return a9||(lNt(a_e),a9=aF.now()+yW)}function a_e(){a9=0}function xW(){this._call=this._time=this._next=null}xW.prototype=hNt.prototype={constructor:xW,restart:function(i,a,f){if(typeof i!="function")throw new TypeError("callback is not a function");f=(f==null?P0t():+f)+(a==null?0:+a),!this._next&&sF!==this&&(sF?sF._next=this:mW=this,sF=this),this._call=i,this._time=f,F0t()},stop:function(){this._call&&(this._call=null,this._time=1/0,F0t())}};function hNt(i,a,f){var g=new xW;return g.restart(i,a,f),g}function o_e(){P0t(),++zL;for(var i=mW,a;i;)(a=a9-i._time)>=0&&i._call.call(void 0,a),i=i._next;--zL}function fNt(){a9=(vW=aF.now())+yW,zL=rF=0;try{o_e()}finally{zL=0,u_e(),a9=0}}function c_e(){var i=aF.now(),a=i-vW;a>uNt&&(yW-=a,vW=i)}function u_e(){for(var i,a=mW,f,g=1/0;a;)a._call?(g>a._time&&(g=a._time),i=a,a=a._next):(f=a._next,a._next=null,a=i?i._next=f:mW=f);sF=i,F0t(g)}function F0t(i){if(!zL){rF&&(rF=clearTimeout(rF));var a=i-a9;a>24?(i<1/0&&(rF=setTimeout(fNt,i-aF.now()-yW)),iF&&(iF=clearInterval(iF))):(iF||(vW=aF.now(),iF=setInterval(c_e,uNt)),zL=1,lNt(fNt))}}function dNt(i,a,f){var g=new xW;return a=a==null?0:+a,g.restart(w=>{g.stop(),i(w+a)},a,f),g}var l_e=COt("start","end","cancel","interrupt"),h_e=[],gNt=0,pNt=1,B0t=2,kW=3,bNt=4,R0t=5,EW=6;function TW(i,a,f,g,w,v){var b=i.__transition;if(!b)i.__transition={};else if(f in b)return;f_e(i,f,{name:a,index:g,group:w,on:l_e,tween:h_e,time:v.time,delay:v.delay,duration:v.duration,ease:v.ease,timer:null,state:gNt})}function j0t(i,a){var f=zv(i,a);if(f.state>gNt)throw new Error("too late; already scheduled");return f}function Z3(i,a){var f=zv(i,a);if(f.state>kW)throw new Error("too late; already running");return f}function zv(i,a){var f=i.__transition;if(!f||!(f=f[a]))throw new Error("transition not found");return f}function f_e(i,a,f){var g=i.__transition,w;g[a]=f,f.timer=hNt(v,0,f.time);function v(_){f.state=pNt,f.timer.restart(b,f.delay,f.time),f.delay<=_&&b(_-f.delay)}function b(_){var M,F,R,B;if(f.state!==pNt)return S();for(M in g)if(B=g[M],B.name===f.name){if(B.state===kW)return dNt(b);B.state===bNt?(B.state=EW,B.timer.stop(),B.on.call("interrupt",i,i.__data__,B.index,B.group),delete g[M]):+M<a&&(B.state=EW,B.timer.stop(),B.on.call("cancel",i,i.__data__,B.index,B.group),delete g[M])}if(dNt(function(){f.state===kW&&(f.state=bNt,f.timer.restart(E,f.delay,f.time),E(_))}),f.state=B0t,f.on.call("start",i,i.__data__,f.index,f.group),f.state===B0t){for(f.state=kW,w=new Array(R=f.tween.length),M=0,F=-1;M<R;++M)(B=f.tween[M].value.call(i,i.__data__,f.index,f.group))&&(w[++F]=B);w.length=F+1}}function E(_){for(var M=_<f.duration?f.ease.call(null,_/f.duration):(f.timer.restart(S),f.state=R0t,1),F=-1,R=w.length;++F<R;)w[F].call(i,M);f.state===R0t&&(f.on.call("end",i,i.__data__,f.index,f.group),S())}function S(){f.state=EW,f.timer.stop(),delete g[a];for(var _ in g)return;delete i.__transition}}function d_e(i,a){var f=i.__transition,g,w,v=!0,b;if(f){a=a==null?null:a+"";for(b in f){if((g=f[b]).name!==a){v=!1;continue}w=g.state>B0t&&g.state<R0t,g.state=EW,g.timer.stop(),g.on.call(w?"interrupt":"cancel",i,i.__data__,g.index,g.group),delete f[b]}v&&delete i.__transition}}function g_e(i){return this.each(function(){d_e(this,i)})}function p_e(i,a){var f,g;return function(){var w=Z3(this,i),v=w.tween;if(v!==f){g=f=v;for(var b=0,E=g.length;b<E;++b)if(g[b].name===a){g=g.slice(),g.splice(b,1);break}}w.tween=g}}function b_e(i,a,f){var g,w;if(typeof f!="function")throw new Error;return function(){var v=Z3(this,i),b=v.tween;if(b!==g){w=(g=b).slice();for(var E={name:a,value:f},S=0,_=w.length;S<_;++S)if(w[S].name===a){w[S]=E;break}S===_&&w.push(E)}v.tween=w}}function w_e(i,a){var f=this._id;if(i+="",arguments.length<2){for(var g=zv(this.node(),f).tween,w=0,v=g.length,b;w<v;++w)if((b=g[w]).name===i)return b.value;return null}return this.each((a==null?p_e:b_e)(f,i,a))}function $0t(i,a,f){var g=i._id;return i.each(function(){var w=Z3(this,g);(w.value||(w.value={}))[a]=f.apply(this,arguments)}),function(w){return zv(w,g).value[a]}}function wNt(i,a){var f;return(typeof a=="number"?$v:a instanceof r9?bW:(f=r9(a))?(a=f,bW):sNt)(i,a)}function m_e(i){return function(){this.removeAttribute(i)}}function v_e(i){return function(){this.removeAttributeNS(i.space,i.local)}}function y_e(i,a,f){var g,w=f+"",v;return function(){var b=this.getAttribute(i);return b===w?null:b===g?v:v=a(g=b,f)}}function x_e(i,a,f){var g,w=f+"",v;return function(){var b=this.getAttributeNS(i.space,i.local);return b===w?null:b===g?v:v=a(g=b,f)}}function k_e(i,a,f){var g,w,v;return function(){var b,E=f(this),S;return E==null?void this.removeAttribute(i):(b=this.getAttribute(i),S=E+"",b===S?null:b===g&&S===w?v:(w=S,v=a(g=b,E)))}}function E_e(i,a,f){var g,w,v;return function(){var b,E=f(this),S;return E==null?void this.removeAttributeNS(i.space,i.local):(b=this.getAttributeNS(i.space,i.local),S=E+"",b===S?null:b===g&&S===w?v:(w=S,v=a(g=b,E)))}}function T_e(i,a){var f=oW(i),g=f==="transform"?r_e:wNt;return this.attrTween(i,typeof a=="function"?(f.local?E_e:k_e)(f,g,$0t(this,"attr."+i,a)):a==null?(f.local?v_e:m_e)(f):(f.local?x_e:y_e)(f,g,a))}function C_e(i,a){return function(f){this.setAttribute(i,a.call(this,f))}}function S_e(i,a){return function(f){this.setAttributeNS(i.space,i.local,a.call(this,f))}}function __e(i,a){var f,g;function w(){var v=a.apply(this,arguments);return v!==g&&(f=(g=v)&&S_e(i,v)),f}return w._value=a,w}function A_e(i,a){var f,g;function w(){var v=a.apply(this,arguments);return v!==g&&(f=(g=v)&&C_e(i,v)),f}return w._value=a,w}function L_e(i,a){var f="attr."+i;if(arguments.length<2)return(f=this.tween(f))&&f._value;if(a==null)return this.tween(f,null);if(typeof a!="function")throw new Error;var g=oW(i);return this.tween(f,(g.local?__e:A_e)(g,a))}function D_e(i,a){return function(){j0t(this,i).delay=+a.apply(this,arguments)}}function M_e(i,a){return a=+a,function(){j0t(this,i).delay=a}}function I_e(i){var a=this._id;return arguments.length?this.each((typeof i=="function"?D_e:M_e)(a,i)):zv(this.node(),a).delay}function O_e(i,a){return function(){Z3(this,i).duration=+a.apply(this,arguments)}}function N_e(i,a){return a=+a,function(){Z3(this,i).duration=a}}function P_e(i){var a=this._id;return arguments.length?this.each((typeof i=="function"?O_e:N_e)(a,i)):zv(this.node(),a).duration}function F_e(i,a){if(typeof a!="function")throw new Error;return function(){Z3(this,i).ease=a}}function B_e(i){var a=this._id;return arguments.length?this.each(F_e(a,i)):zv(this.node(),a).ease}function R_e(i,a){return function(){var f=a.apply(this,arguments);if(typeof f!="function")throw new Error;Z3(this,i).ease=f}}function j_e(i){if(typeof i!="function")throw new Error;return this.each(R_e(this._id,i))}function $_e(i){typeof i!="function"&&(i=MOt(i));for(var a=this._groups,f=a.length,g=new Array(f),w=0;w<f;++w)for(var v=a[w],b=v.length,E=g[w]=[],S,_=0;_<b;++_)(S=v[_])&&i.call(S,S.__data__,_,v)&&E.push(S);return new kx(g,this._parents,this._name,this._id)}function z_e(i){if(i._id!==this._id)throw new Error;for(var a=this._groups,f=i._groups,g=a.length,w=f.length,v=Math.min(g,w),b=new Array(g),E=0;E<v;++E)for(var S=a[E],_=f[E],M=S.length,F=b[E]=new Array(M),R,B=0;B<M;++B)(R=S[B]||_[B])&&(F[B]=R);for(;E<g;++E)b[E]=a[E];return new kx(b,this._parents,this._name,this._id)}function q_e(i){return(i+"").trim().split(/^|\s+/).every(function(a){var f=a.indexOf(".");return f>=0&&(a=a.slice(0,f)),!a||a==="start"})}function H_e(i,a,f){var g,w,v=q_e(a)?j0t:Z3;return function(){var b=v(this,i),E=b.on;E!==g&&(w=(g=E).copy()).on(a,f),b.on=w}}function V_e(i,a){var f=this._id;return arguments.length<2?zv(this.node(),f).on.on(i):this.each(H_e(f,i,a))}function U_e(i){return function(){var a=this.parentNode;for(var f in this.__transition)if(+f!==i)return;a&&a.removeChild(this)}}function G_e(){return this.on("end.remove",U_e(this._id))}function K_e(i){var a=this._name,f=this._id;typeof i!="function"&&(i=x0t(i));for(var g=this._groups,w=g.length,v=new Array(w),b=0;b<w;++b)for(var E=g[b],S=E.length,_=v[b]=new Array(S),M,F,R=0;R<S;++R)(M=E[R])&&(F=i.call(M,M.__data__,R,E))&&("__data__"in M&&(F.__data__=M.__data__),_[R]=F,TW(_[R],a,f,R,_,zv(M,f)));return new kx(v,this._parents,a,f)}function W_e(i){var a=this._name,f=this._id;typeof i!="function"&&(i=DOt(i));for(var g=this._groups,w=g.length,v=[],b=[],E=0;E<w;++E)for(var S=g[E],_=S.length,M,F=0;F<_;++F)if(M=S[F]){for(var R=i.call(M,M.__data__,F,S),B,z=zv(M,f),Y=0,nt=R.length;Y<nt;++Y)(B=R[Y])&&TW(B,a,f,Y,R,z);v.push(R),b.push(M)}return new kx(v,b,a,f)}var Y_e=JP.prototype.constructor;function X_e(){return new Y_e(this._groups,this._parents)}function Q_e(i,a){var f,g,w;return function(){var v=RL(this,i),b=(this.style.removeProperty(i),RL(this,i));return v===b?null:v===f&&b===g?w:w=a(f=v,g=b)}}function mNt(i){return function(){this.style.removeProperty(i)}}function J_e(i,a,f){var g,w=f+"",v;return function(){var b=RL(this,i);return b===w?null:b===g?v:v=a(g=b,f)}}function Z_e(i,a,f){var g,w,v;return function(){var b=RL(this,i),E=f(this),S=E+"";return E==null&&(S=E=(this.style.removeProperty(i),RL(this,i))),b===S?null:b===g&&S===w?v:(w=S,v=a(g=b,E))}}function tAe(i,a){var f,g,w,v="style."+a,b="end."+v,E;return function(){var S=Z3(this,i),_=S.on,M=S.value[v]==null?E||(E=mNt(a)):void 0;(_!==f||w!==M)&&(g=(f=_).copy()).on(b,w=M),S.on=g}}function eAe(i,a,f){var g=(i+="")=="transform"?n_e:wNt;return a==null?this.styleTween(i,Q_e(i,g)).on("end.style."+i,mNt(i)):typeof a=="function"?this.styleTween(i,Z_e(i,g,$0t(this,"style."+i,a))).each(tAe(this._id,i)):this.styleTween(i,J_e(i,g,a),f).on("end.style."+i,null)}function nAe(i,a,f){return function(g){this.style.setProperty(i,a.call(this,g),f)}}function rAe(i,a,f){var g,w;function v(){var b=a.apply(this,arguments);return b!==w&&(g=(w=b)&&nAe(i,b,f)),g}return v._value=a,v}function iAe(i,a,f){var g="style."+(i+="");if(arguments.length<2)return(g=this.tween(g))&&g._value;if(a==null)return this.tween(g,null);if(typeof a!="function")throw new Error;return this.tween(g,rAe(i,a,f??""))}function sAe(i){return function(){this.textContent=i}}function aAe(i){return function(){var a=i(this);this.textContent=a??""}}function oAe(i){return this.tween("text",typeof i=="function"?aAe($0t(this,"text",i)):sAe(i==null?"":i+""))}function cAe(i){return function(a){this.textContent=i.call(this,a)}}function uAe(i){var a,f;function g(){var w=i.apply(this,arguments);return w!==f&&(a=(f=w)&&cAe(w)),a}return g._value=i,g}function lAe(i){var a="text";if(arguments.length<1)return(a=this.tween(a))&&a._value;if(i==null)return this.tween(a,null);if(typeof i!="function")throw new Error;return this.tween(a,uAe(i))}function hAe(){for(var i=this._name,a=this._id,f=vNt(),g=this._groups,w=g.length,v=0;v<w;++v)for(var b=g[v],E=b.length,S,_=0;_<E;++_)if(S=b[_]){var M=zv(S,a);TW(S,i,f,_,b,{time:M.time+M.delay+M.duration,delay:0,duration:M.duration,ease:M.ease})}return new kx(g,this._parents,i,f)}function fAe(){var i,a,f=this,g=f._id,w=f.size();return new Promise(function(v,b){var E={value:b},S={value:function(){--w===0&&v()}};f.each(function(){var _=Z3(this,g),M=_.on;M!==i&&(a=(i=M).copy(),a._.cancel.push(E),a._.interrupt.push(E),a._.end.push(S)),_.on=a}),w===0&&v()})}var dAe=0;function kx(i,a,f,g){this._groups=i,this._parents=a,this._name=f,this._id=g}function vNt(){return++dAe}var Ex=JP.prototype;kx.prototype={constructor:kx,select:K_e,selectAll:W_e,selectChild:Ex.selectChild,selectChildren:Ex.selectChildren,filter:$_e,merge:z_e,selection:X_e,transition:hAe,call:Ex.call,nodes:Ex.nodes,node:Ex.node,size:Ex.size,empty:Ex.empty,each:Ex.each,on:V_e,attr:T_e,attrTween:L_e,style:eAe,styleTween:iAe,text:oAe,textTween:lAe,remove:G_e,tween:w_e,delay:I_e,duration:P_e,ease:B_e,easeVarying:j_e,end:fAe,[Symbol.iterator]:Ex[Symbol.iterator]};function gAe(i){return((i*=2)<=1?i*i*i:(i-=2)*i*i+2)/2}var pAe={time:null,delay:0,duration:250,ease:gAe};function bAe(i,a){for(var f;!(f=i.__transition)||!(f=f[a]);)if(!(i=i.parentNode))throw new Error(`transition ${a} not found`);return f}function wAe(i){var a,f;i instanceof kx?(a=i._id,i=i._name):(a=vNt(),(f=pAe).time=P0t(),i=i==null?null:i+"");for(var g=this._groups,w=g.length,v=0;v<w;++v)for(var b=g[v],E=b.length,S,_=0;_<E;++_)(S=b[_])&&TW(S,i,a,_,b,f||bAe(S,a));return new kx(g,this._parents,i,a)}JP.prototype.interrupt=g_e,JP.prototype.transition=wAe;const z0t=Math.PI,q0t=2*z0t,o9=1e-6,mAe=q0t-o9;function yNt(i){this._+=i[0];for(let a=1,f=i.length;a<f;++a)this._+=arguments[a]+i[a]}function vAe(i){let a=Math.floor(i);if(!(a>=0))throw new Error(`invalid digits: ${i}`);if(a>15)return yNt;const f=10**a;return function(g){this._+=g[0];for(let w=1,v=g.length;w<v;++w)this._+=Math.round(arguments[w]*f)/f+g[w]}}let yAe=class{constructor(a){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=a==null?yNt:vAe(a)}moveTo(a,f){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+f}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(a,f){this._append`L${this._x1=+a},${this._y1=+f}`}quadraticCurveTo(a,f,g,w){this._append`Q${+a},${+f},${this._x1=+g},${this._y1=+w}`}bezierCurveTo(a,f,g,w,v,b){this._append`C${+a},${+f},${+g},${+w},${this._x1=+v},${this._y1=+b}`}arcTo(a,f,g,w,v){if(a=+a,f=+f,g=+g,w=+w,v=+v,v<0)throw new Error(`negative radius: ${v}`);let b=this._x1,E=this._y1,S=g-a,_=w-f,M=b-a,F=E-f,R=M*M+F*F;if(this._x1===null)this._append`M${this._x1=a},${this._y1=f}`;else if(R>o9)if(!(Math.abs(F*S-_*M)>o9)||!v)this._append`L${this._x1=a},${this._y1=f}`;else{let B=g-b,z=w-E,Y=S*S+_*_,nt=B*B+z*z,ot=Math.sqrt(Y),ft=Math.sqrt(R),wt=v*Math.tan((z0t-Math.acos((Y+R-nt)/(2*ot*ft)))/2),mt=wt/ft,ct=wt/ot;Math.abs(mt-1)>o9&&this._append`L${a+mt*M},${f+mt*F}`,this._append`A${v},${v},0,0,${+(F*B>M*z)},${this._x1=a+ct*S},${this._y1=f+ct*_}`}}arc(a,f,g,w,v,b){if(a=+a,f=+f,g=+g,b=!!b,g<0)throw new Error(`negative radius: ${g}`);let E=g*Math.cos(w),S=g*Math.sin(w),_=a+E,M=f+S,F=1^b,R=b?w-v:v-w;this._x1===null?this._append`M${_},${M}`:(Math.abs(this._x1-_)>o9||Math.abs(this._y1-M)>o9)&&this._append`L${_},${M}`,g&&(R<0&&(R=R%q0t+q0t),R>mAe?this._append`A${g},${g},0,1,${F},${a-E},${f-S}A${g},${g},0,1,${F},${this._x1=_},${this._y1=M}`:R>o9&&this._append`A${g},${g},0,${+(R>=z0t)},${F},${this._x1=a+g*Math.cos(v)},${this._y1=f+g*Math.sin(v)}`)}rect(a,f,g,w){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+f}h${g=+g}v${+w}h${-g}Z`}toString(){return this._}};function xAe(i){if(!i.ok)throw new Error(i.status+" "+i.statusText);return i.text()}function kAe(i,a){return fetch(i,a).then(xAe)}function EAe(i){return(a,f)=>kAe(a,f).then(g=>new DOMParser().parseFromString(g,i))}var TAe=EAe("image/svg+xml");function CAe(i){return Math.abs(i=Math.round(i))>=1e21?i.toLocaleString("en").replace(/,/g,""):i.toString(10)}function CW(i,a){if((f=(i=a?i.toExponential(a-1):i.toExponential()).indexOf("e"))<0)return null;var f,g=i.slice(0,f);return[g.length>1?g[0]+g.slice(2):g,+i.slice(f+1)]}function qL(i){return i=CW(Math.abs(i)),i?i[1]:NaN}function SAe(i,a){return function(f,g){for(var w=f.length,v=[],b=0,E=i[0],S=0;w>0&&E>0&&(S+E+1>g&&(E=Math.max(1,g-S)),v.push(f.substring(w-=E,w+E)),!((S+=E+1)>g));)E=i[b=(b+1)%i.length];return v.reverse().join(a)}}function _Ae(i){return function(a){return a.replace(/[0-9]/g,function(f){return i[+f]})}}var AAe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function SW(i){if(!(a=AAe.exec(i)))throw new Error("invalid format: "+i);var a;return new H0t({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}SW.prototype=H0t.prototype;function H0t(i){this.fill=i.fill===void 0?" ":i.fill+"",this.align=i.align===void 0?">":i.align+"",this.sign=i.sign===void 0?"-":i.sign+"",this.symbol=i.symbol===void 0?"":i.symbol+"",this.zero=!!i.zero,this.width=i.width===void 0?void 0:+i.width,this.comma=!!i.comma,this.precision=i.precision===void 0?void 0:+i.precision,this.trim=!!i.trim,this.type=i.type===void 0?"":i.type+""}H0t.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 LAe(i){t:for(var a=i.length,f=1,g=-1,w;f<a;++f)switch(i[f]){case".":g=w=f;break;case"0":g===0&&(g=f),w=f;break;default:if(!+i[f])break t;g>0&&(g=0);break}return g>0?i.slice(0,g)+i.slice(w+1):i}var xNt;function DAe(i,a){var f=CW(i,a);if(!f)return i+"";var g=f[0],w=f[1],v=w-(xNt=Math.max(-8,Math.min(8,Math.floor(w/3)))*3)+1,b=g.length;return v===b?g:v>b?g+new Array(v-b+1).join("0"):v>0?g.slice(0,v)+"."+g.slice(v):"0."+new Array(1-v).join("0")+CW(i,Math.max(0,a+v-1))[0]}function kNt(i,a){var f=CW(i,a);if(!f)return i+"";var g=f[0],w=f[1];return w<0?"0."+new Array(-w).join("0")+g:g.length>w+1?g.slice(0,w+1)+"."+g.slice(w+1):g+new Array(w-g.length+2).join("0")}const ENt={"%":(i,a)=>(i*100).toFixed(a),b:i=>Math.round(i).toString(2),c:i=>i+"",d:CAe,e:(i,a)=>i.toExponential(a),f:(i,a)=>i.toFixed(a),g:(i,a)=>i.toPrecision(a),o:i=>Math.round(i).toString(8),p:(i,a)=>kNt(i*100,a),r:kNt,s:DAe,X:i=>Math.round(i).toString(16).toUpperCase(),x:i=>Math.round(i).toString(16)};function TNt(i){return i}var CNt=Array.prototype.map,SNt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function MAe(i){var a=i.grouping===void 0||i.thousands===void 0?TNt:SAe(CNt.call(i.grouping,Number),i.thousands+""),f=i.currency===void 0?"":i.currency[0]+"",g=i.currency===void 0?"":i.currency[1]+"",w=i.decimal===void 0?".":i.decimal+"",v=i.numerals===void 0?TNt:_Ae(CNt.call(i.numerals,String)),b=i.percent===void 0?"%":i.percent+"",E=i.minus===void 0?"−":i.minus+"",S=i.nan===void 0?"NaN":i.nan+"";function _(F){F=SW(F);var R=F.fill,B=F.align,z=F.sign,Y=F.symbol,nt=F.zero,ot=F.width,ft=F.comma,wt=F.precision,mt=F.trim,ct=F.type;ct==="n"?(ft=!0,ct="g"):ENt[ct]||(wt===void 0&&(wt=12),mt=!0,ct="g"),(nt||R==="0"&&B==="=")&&(nt=!0,R="0",B="=");var rt=Y==="$"?f:Y==="#"&&/[boxX]/.test(ct)?"0"+ct.toLowerCase():"",it=Y==="$"?g:/[%p]/.test(ct)?b:"",gt=ENt[ct],Q=/[defgprs%]/.test(ct);wt=wt===void 0?6:/[gprs]/.test(ct)?Math.max(1,Math.min(21,wt)):Math.max(0,Math.min(20,wt));function dt(K){var yt=rt,V=it,Ot,It,jt;if(ct==="c")V=gt(K)+V,K="";else{K=+K;var xt=K<0||1/K<0;if(K=isNaN(K)?S:gt(Math.abs(K),wt),mt&&(K=LAe(K)),xt&&+K==0&&z!=="+"&&(xt=!1),yt=(xt?z==="("?z:E:z==="-"||z==="("?"":z)+yt,V=(ct==="s"?SNt[8+xNt/3]:"")+V+(xt&&z==="("?")":""),Q){for(Ot=-1,It=K.length;++Ot<It;)if(jt=K.charCodeAt(Ot),48>jt||jt>57){V=(jt===46?w+K.slice(Ot+1):K.slice(Ot))+V,K=K.slice(0,Ot);break}}}ft&&!nt&&(K=a(K,1/0));var Ft=yt.length+K.length+V.length,Ct=Ft<ot?new Array(ot-Ft+1).join(R):"";switch(ft&&nt&&(K=a(Ct+K,Ct.length?ot-V.length:1/0),Ct=""),B){case"<":K=yt+K+V+Ct;break;case"=":K=yt+Ct+K+V;break;case"^":K=Ct.slice(0,Ft=Ct.length>>1)+yt+K+V+Ct.slice(Ft);break;default:K=Ct+yt+K+V;break}return v(K)}return dt.toString=function(){return F+""},dt}function M(F,R){var B=_((F=SW(F),F.type="f",F)),z=Math.max(-8,Math.min(8,Math.floor(qL(R)/3)))*3,Y=Math.pow(10,-z),nt=SNt[8+z/3];return function(ot){return B(Y*ot)+nt}}return{format:_,formatPrefix:M}}var _W,_Nt,ANt;IAe({thousands:",",grouping:[3],currency:["$",""]});function IAe(i){return _W=MAe(i),_Nt=_W.format,ANt=_W.formatPrefix,_W}function OAe(i){return Math.max(0,-qL(Math.abs(i)))}function NAe(i,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(qL(a)/3)))*3-qL(Math.abs(i)))}function PAe(i,a){return i=Math.abs(i),a=Math.abs(a)-i,Math.max(0,qL(a)-qL(i))+1}function AW(i,a){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(a).domain(i);break}return this}const LNt=Symbol("implicit");function oF(){var i=new xOt,a=[],f=[],g=LNt;function w(v){let b=i.get(v);if(b===void 0){if(g!==LNt)return g;i.set(v,b=a.push(v)-1)}return f[b%f.length]}return w.domain=function(v){if(!arguments.length)return a.slice();a=[],i=new xOt;for(const b of v)i.has(b)||i.set(b,a.push(b)-1);return w},w.range=function(v){return arguments.length?(f=Array.from(v),w):f.slice()},w.unknown=function(v){return arguments.length?(g=v,w):g},w.copy=function(){return oF(a,f).unknown(g)},AW.apply(w,arguments),w}function V0t(){var i=oF().unknown(void 0),a=i.domain,f=i.range,g=0,w=1,v,b,E=!1,S=0,_=0,M=.5;delete i.unknown;function F(){var R=a().length,B=w<g,z=B?w:g,Y=B?g:w;v=(Y-z)/Math.max(1,R-S+_*2),E&&(v=Math.floor(v)),z+=(Y-z-v*(R-S))*M,b=v*(1-S),E&&(z=Math.round(z),b=Math.round(b));var nt=R9e(R).map(function(ot){return z+v*ot});return f(B?nt.reverse():nt)}return i.domain=function(R){return arguments.length?(a(R),F()):a()},i.range=function(R){return arguments.length?([g,w]=R,g=+g,w=+w,F()):[g,w]},i.rangeRound=function(R){return[g,w]=R,g=+g,w=+w,E=!0,F()},i.bandwidth=function(){return b},i.step=function(){return v},i.round=function(R){return arguments.length?(E=!!R,F()):E},i.padding=function(R){return arguments.length?(S=Math.min(1,_=+R),F()):S},i.paddingInner=function(R){return arguments.length?(S=Math.min(1,R),F()):S},i.paddingOuter=function(R){return arguments.length?(_=+R,F()):_},i.align=function(R){return arguments.length?(M=Math.max(0,Math.min(1,R)),F()):M},i.copy=function(){return V0t(a(),[g,w]).round(E).paddingInner(S).paddingOuter(_).align(M)},AW.apply(F(),arguments)}function FAe(i){return function(){return i}}function BAe(i){return+i}var DNt=[0,1];function HL(i){return i}function U0t(i,a){return(a-=i=+i)?function(f){return(f-i)/a}:FAe(isNaN(a)?NaN:.5)}function RAe(i,a){var f;return i>a&&(f=i,i=a,a=f),function(g){return Math.max(i,Math.min(a,g))}}function jAe(i,a,f){var g=i[0],w=i[1],v=a[0],b=a[1];return w<g?(g=U0t(w,g),v=f(b,v)):(g=U0t(g,w),v=f(v,b)),function(E){return v(g(E))}}function $Ae(i,a,f){var g=Math.min(i.length,a.length)-1,w=new Array(g),v=new Array(g),b=-1;for(i[g]<i[0]&&(i=i.slice().reverse(),a=a.slice().reverse());++b<g;)w[b]=U0t(i[b],i[b+1]),v[b]=f(a[b],a[b+1]);return function(E){var S=A9e(i,E,1,g)-1;return v[S](w[S](E))}}function MNt(i,a){return a.domain(i.domain()).range(i.range()).interpolate(i.interpolate()).clamp(i.clamp()).unknown(i.unknown())}function zAe(){var i=DNt,a=DNt,f=O0t,g,w,v,b=HL,E,S,_;function M(){var R=Math.min(i.length,a.length);return b!==HL&&(b=RAe(i[0],i[R-1])),E=R>2?$Ae:jAe,S=_=null,F}function F(R){return R==null||isNaN(R=+R)?v:(S||(S=E(i.map(g),a,f)))(g(b(R)))}return F.invert=function(R){return b(w((_||(_=E(a,i.map(g),$v)))(R)))},F.domain=function(R){return arguments.length?(i=Array.from(R,BAe),M()):i.slice()},F.range=function(R){return arguments.length?(a=Array.from(R),M()):a.slice()},F.rangeRound=function(R){return a=Array.from(R),f=ZSe,M()},F.clamp=function(R){return arguments.length?(b=R?!0:HL,M()):b!==HL},F.interpolate=function(R){return arguments.length?(f=R,M()):f},F.unknown=function(R){return arguments.length?(v=R,F):v},function(R,B){return g=R,w=B,M()}}function INt(){return zAe()(HL,HL)}function qAe(i,a,f,g){var w=w0t(i,a,f),v;switch(g=SW(g??",f"),g.type){case"s":{var b=Math.max(Math.abs(i),Math.abs(a));return g.precision==null&&!isNaN(v=NAe(w,b))&&(g.precision=v),ANt(g,b)}case"":case"e":case"g":case"p":case"r":{g.precision==null&&!isNaN(v=PAe(w,Math.max(Math.abs(i),Math.abs(a))))&&(g.precision=v-(g.type==="e"));break}case"f":case"%":{g.precision==null&&!isNaN(v=OAe(w))&&(g.precision=v-(g.type==="%")*2);break}}return _Nt(g)}function HAe(i){var a=i.domain;return i.ticks=function(f){var g=a();return P9e(g[0],g[g.length-1],f??10)},i.tickFormat=function(f,g){var w=a();return qAe(w[0],w[w.length-1],f??10,g)},i.nice=function(f){f==null&&(f=10);var g=a(),w=0,v=g.length-1,b=g[w],E=g[v],S,_,M=10;for(E<b&&(_=b,b=E,E=_,_=w,w=v,v=_);M-- >0;){if(_=b0t(b,E,f),_===S)return g[w]=b,g[v]=E,a(g);if(_>0)b=Math.floor(b/_)*_,E=Math.ceil(E/_)*_;else if(_<0)b=Math.ceil(b*_)/_,E=Math.floor(E*_)/_;else break;S=_}return i},i}function VL(){var i=INt();return i.copy=function(){return MNt(i,VL())},AW.apply(i,arguments),HAe(i)}function VAe(i,a){i=i.slice();var f=0,g=i.length-1,w=i[f],v=i[g],b;return v<w&&(b=f,f=g,g=b,b=w,w=v,v=b),i[f]=a.floor(w),i[g]=a.ceil(v),i}const G0t=new Date,K0t=new Date;function R1(i,a,f,g){function w(v){return i(v=arguments.length===0?new Date:new Date(+v)),v}return w.floor=v=>(i(v=new Date(+v)),v),w.ceil=v=>(i(v=new Date(v-1)),a(v,1),i(v),v),w.round=v=>{const b=w(v),E=w.ceil(v);return v-b<E-v?b:E},w.offset=(v,b)=>(a(v=new Date(+v),b==null?1:Math.floor(b)),v),w.range=(v,b,E)=>{const S=[];if(v=w.ceil(v),E=E==null?1:Math.floor(E),!(v<b)||!(E>0))return S;let _;do S.push(_=new Date(+v)),a(v,E),i(v);while(_<v&&v<b);return S},w.filter=v=>R1(b=>{if(b>=b)for(;i(b),!v(b);)b.setTime(b-1)},(b,E)=>{if(b>=b)if(E<0)for(;++E<=0;)for(;a(b,-1),!v(b););else for(;--E>=0;)for(;a(b,1),!v(b););}),f&&(w.count=(v,b)=>(G0t.setTime(+v),K0t.setTime(+b),i(G0t),i(K0t),Math.floor(f(G0t,K0t))),w.every=v=>(v=Math.floor(v),!isFinite(v)||!(v>0)?null:v>1?w.filter(g?b=>g(b)%v===0:b=>w.count(0,b)%v===0):w)),w}const UL=R1(()=>{},(i,a)=>{i.setTime(+i+a)},(i,a)=>a-i);UL.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?R1(a=>{a.setTime(Math.floor(a/i)*i)},(a,f)=>{a.setTime(+a+f*i)},(a,f)=>(f-a)/i):UL),UL.range;const Tx=1e3,Kw=Tx*60,Cx=Kw*60,Sx=Cx*24,W0t=Sx*7,ONt=Sx*30,Y0t=Sx*365,f8=R1(i=>{i.setTime(i-i.getMilliseconds())},(i,a)=>{i.setTime(+i+a*Tx)},(i,a)=>(a-i)/Tx,i=>i.getUTCSeconds());f8.range;const cF=R1(i=>{i.setTime(i-i.getMilliseconds()-i.getSeconds()*Tx)},(i,a)=>{i.setTime(+i+a*Kw)},(i,a)=>(a-i)/Kw,i=>i.getMinutes());cF.range,R1(i=>{i.setUTCSeconds(0,0)},(i,a)=>{i.setTime(+i+a*Kw)},(i,a)=>(a-i)/Kw,i=>i.getUTCMinutes()).range;const uF=R1(i=>{i.setTime(i-i.getMilliseconds()-i.getSeconds()*Tx-i.getMinutes()*Kw)},(i,a)=>{i.setTime(+i+a*Cx)},(i,a)=>(a-i)/Cx,i=>i.getHours());uF.range,R1(i=>{i.setUTCMinutes(0,0,0)},(i,a)=>{i.setTime(+i+a*Cx)},(i,a)=>(a-i)/Cx,i=>i.getUTCHours()).range;const c9=R1(i=>i.setHours(0,0,0,0),(i,a)=>i.setDate(i.getDate()+a),(i,a)=>(a-i-(a.getTimezoneOffset()-i.getTimezoneOffset())*Kw)/Sx,i=>i.getDate()-1);c9.range;const X0t=R1(i=>{i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCDate(i.getUTCDate()+a)},(i,a)=>(a-i)/Sx,i=>i.getUTCDate()-1);X0t.range,R1(i=>{i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCDate(i.getUTCDate()+a)},(i,a)=>(a-i)/Sx,i=>Math.floor(i/Sx)).range;function u9(i){return R1(a=>{a.setDate(a.getDate()-(a.getDay()+7-i)%7),a.setHours(0,0,0,0)},(a,f)=>{a.setDate(a.getDate()+f*7)},(a,f)=>(f-a-(f.getTimezoneOffset()-a.getTimezoneOffset())*Kw)/W0t)}const lF=u9(0),hF=u9(1),NNt=u9(2),PNt=u9(3),l9=u9(4),FNt=u9(5),BNt=u9(6);lF.range,hF.range,NNt.range,PNt.range,l9.range,FNt.range,BNt.range;function h9(i){return R1(a=>{a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-i)%7),a.setUTCHours(0,0,0,0)},(a,f)=>{a.setUTCDate(a.getUTCDate()+f*7)},(a,f)=>(f-a)/W0t)}const RNt=h9(0),LW=h9(1),UAe=h9(2),GAe=h9(3),GL=h9(4),KAe=h9(5),WAe=h9(6);RNt.range,LW.range,UAe.range,GAe.range,GL.range,KAe.range,WAe.range;const fF=R1(i=>{i.setDate(1),i.setHours(0,0,0,0)},(i,a)=>{i.setMonth(i.getMonth()+a)},(i,a)=>a.getMonth()-i.getMonth()+(a.getFullYear()-i.getFullYear())*12,i=>i.getMonth());fF.range,R1(i=>{i.setUTCDate(1),i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCMonth(i.getUTCMonth()+a)},(i,a)=>a.getUTCMonth()-i.getUTCMonth()+(a.getUTCFullYear()-i.getUTCFullYear())*12,i=>i.getUTCMonth()).range;const _x=R1(i=>{i.setMonth(0,1),i.setHours(0,0,0,0)},(i,a)=>{i.setFullYear(i.getFullYear()+a)},(i,a)=>a.getFullYear()-i.getFullYear(),i=>i.getFullYear());_x.every=i=>!isFinite(i=Math.floor(i))||!(i>0)?null:R1(a=>{a.setFullYear(Math.floor(a.getFullYear()/i)*i),a.setMonth(0,1),a.setHours(0,0,0,0)},(a,f)=>{a.setFullYear(a.getFullYear()+f*i)}),_x.range;const f9=R1(i=>{i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCFullYear(i.getUTCFullYear()+a)},(i,a)=>a.getUTCFullYear()-i.getUTCFullYear(),i=>i.getUTCFullYear());f9.every=i=>!isFinite(i=Math.floor(i))||!(i>0)?null:R1(a=>{a.setUTCFullYear(Math.floor(a.getUTCFullYear()/i)*i),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},(a,f)=>{a.setUTCFullYear(a.getUTCFullYear()+f*i)}),f9.range;function YAe(i,a,f,g,w,v){const b=[[f8,1,Tx],[f8,5,5*Tx],[f8,15,15*Tx],[f8,30,30*Tx],[v,1,Kw],[v,5,5*Kw],[v,15,15*Kw],[v,30,30*Kw],[w,1,Cx],[w,3,3*Cx],[w,6,6*Cx],[w,12,12*Cx],[g,1,Sx],[g,2,2*Sx],[f,1,W0t],[a,1,ONt],[a,3,3*ONt],[i,1,Y0t]];function E(_,M,F){const R=M<_;R&&([_,M]=[M,_]);const B=F&&typeof F.range=="function"?F:S(_,M,F),z=B?B.range(_,+M+1):[];return R?z.reverse():z}function S(_,M,F){const R=Math.abs(M-_)/F,B=p0t(([,,nt])=>nt).right(b,R);if(B===b.length)return i.every(w0t(_/Y0t,M/Y0t,F));if(B===0)return UL.every(Math.max(w0t(_,M,F),1));const[z,Y]=b[R/b[B-1][2]<b[B][2]/R?B-1:B];return z.every(Y)}return[E,S]}const[XAe,QAe]=YAe(_x,fF,lF,c9,uF,cF);function Q0t(i){if(0<=i.y&&i.y<100){var a=new Date(-1,i.m,i.d,i.H,i.M,i.S,i.L);return a.setFullYear(i.y),a}return new Date(i.y,i.m,i.d,i.H,i.M,i.S,i.L)}function J0t(i){if(0<=i.y&&i.y<100){var a=new Date(Date.UTC(-1,i.m,i.d,i.H,i.M,i.S,i.L));return a.setUTCFullYear(i.y),a}return new Date(Date.UTC(i.y,i.m,i.d,i.H,i.M,i.S,i.L))}function dF(i,a,f){return{y:i,m:a,d:f,H:0,M:0,S:0,L:0}}function JAe(i){var a=i.dateTime,f=i.date,g=i.time,w=i.periods,v=i.days,b=i.shortDays,E=i.months,S=i.shortMonths,_=gF(w),M=pF(w),F=gF(v),R=pF(v),B=gF(b),z=pF(b),Y=gF(E),nt=pF(E),ot=gF(S),ft=pF(S),wt={a:xt,A:Ft,b:Ct,B:kt,c:null,d:VNt,e:VNt,f:xLe,g:MLe,G:OLe,H:mLe,I:vLe,j:yLe,L:UNt,m:kLe,M:ELe,p:Gt,q:Fe,Q:QNt,s:JNt,S:TLe,u:CLe,U:SLe,V:_Le,w:ALe,W:LLe,x:null,X:null,y:DLe,Y:ILe,Z:NLe,"%":XNt},mt={a:Mt,A:pn,b:Ae,B:ye,c:null,d:KNt,e:KNt,f:RLe,g:WLe,G:XLe,H:PLe,I:FLe,j:BLe,L:WNt,m:jLe,M:$Le,p:tn,q:sn,Q:QNt,s:JNt,S:zLe,u:qLe,U:HLe,V:VLe,w:ULe,W:GLe,x:null,X:null,y:KLe,Y:YLe,Z:QLe,"%":XNt},ct={a:dt,A:K,b:yt,B:V,c:Ot,d:qNt,e:qNt,f:gLe,g:zNt,G:$Nt,H:HNt,I:HNt,j:lLe,L:dLe,m:uLe,M:hLe,p:Q,q:cLe,Q:bLe,s:wLe,S:fLe,u:rLe,U:iLe,V:sLe,w:nLe,W:aLe,x:It,X:jt,y:zNt,Y:$Nt,Z:oLe,"%":pLe};wt.x=rt(f,wt),wt.X=rt(g,wt),wt.c=rt(a,wt),mt.x=rt(f,mt),mt.X=rt(g,mt),mt.c=rt(a,mt);function rt(be,Ne){return function(Xt){var _e=[],xe=-1,Mn=0,ce=be.length,Br,we,Fi;for(Xt instanceof Date||(Xt=new Date(+Xt));++xe<ce;)be.charCodeAt(xe)===37&&(_e.push(be.slice(Mn,xe)),(we=jNt[Br=be.charAt(++xe)])!=null?Br=be.charAt(++xe):we=Br==="e"?" ":"0",(Fi=Ne[Br])&&(Br=Fi(Xt,we)),_e.push(Br),Mn=xe+1);return _e.push(be.slice(Mn,xe)),_e.join("")}}function it(be,Ne){return function(Xt){var _e=dF(1900,void 0,1),xe=gt(_e,be,Xt+="",0),Mn,ce;if(xe!=Xt.length)return null;if("Q"in _e)return new Date(_e.Q);if("s"in _e)return new Date(_e.s*1e3+("L"in _e?_e.L:0));if(Ne&&!("Z"in _e)&&(_e.Z=0),"p"in _e&&(_e.H=_e.H%12+_e.p*12),_e.m===void 0&&(_e.m="q"in _e?_e.q:0),"V"in _e){if(_e.V<1||_e.V>53)return null;"w"in _e||(_e.w=1),"Z"in _e?(Mn=J0t(dF(_e.y,0,1)),ce=Mn.getUTCDay(),Mn=ce>4||ce===0?LW.ceil(Mn):LW(Mn),Mn=X0t.offset(Mn,(_e.V-1)*7),_e.y=Mn.getUTCFullYear(),_e.m=Mn.getUTCMonth(),_e.d=Mn.getUTCDate()+(_e.w+6)%7):(Mn=Q0t(dF(_e.y,0,1)),ce=Mn.getDay(),Mn=ce>4||ce===0?hF.ceil(Mn):hF(Mn),Mn=c9.offset(Mn,(_e.V-1)*7),_e.y=Mn.getFullYear(),_e.m=Mn.getMonth(),_e.d=Mn.getDate()+(_e.w+6)%7)}else("W"in _e||"U"in _e)&&("w"in _e||(_e.w="u"in _e?_e.u%7:"W"in _e?1:0),ce="Z"in _e?J0t(dF(_e.y,0,1)).getUTCDay():Q0t(dF(_e.y,0,1)).getDay(),_e.m=0,_e.d="W"in _e?(_e.w+6)%7+_e.W*7-(ce+5)%7:_e.w+_e.U*7-(ce+6)%7);return"Z"in _e?(_e.H+=_e.Z/100|0,_e.M+=_e.Z%100,J0t(_e)):Q0t(_e)}}function gt(be,Ne,Xt,_e){for(var xe=0,Mn=Ne.length,ce=Xt.length,Br,we;xe<Mn;){if(_e>=ce)return-1;if(Br=Ne.charCodeAt(xe++),Br===37){if(Br=Ne.charAt(xe++),we=ct[Br in jNt?Ne.charAt(xe++):Br],!we||(_e=we(be,Xt,_e))<0)return-1}else if(Br!=Xt.charCodeAt(_e++))return-1}return _e}function Q(be,Ne,Xt){var _e=_.exec(Ne.slice(Xt));return _e?(be.p=M.get(_e[0].toLowerCase()),Xt+_e[0].length):-1}function dt(be,Ne,Xt){var _e=B.exec(Ne.slice(Xt));return _e?(be.w=z.get(_e[0].toLowerCase()),Xt+_e[0].length):-1}function K(be,Ne,Xt){var _e=F.exec(Ne.slice(Xt));return _e?(be.w=R.get(_e[0].toLowerCase()),Xt+_e[0].length):-1}function yt(be,Ne,Xt){var _e=ot.exec(Ne.slice(Xt));return _e?(be.m=ft.get(_e[0].toLowerCase()),Xt+_e[0].length):-1}function V(be,Ne,Xt){var _e=Y.exec(Ne.slice(Xt));return _e?(be.m=nt.get(_e[0].toLowerCase()),Xt+_e[0].length):-1}function Ot(be,Ne,Xt){return gt(be,a,Ne,Xt)}function It(be,Ne,Xt){return gt(be,f,Ne,Xt)}function jt(be,Ne,Xt){return gt(be,g,Ne,Xt)}function xt(be){return b[be.getDay()]}function Ft(be){return v[be.getDay()]}function Ct(be){return S[be.getMonth()]}function kt(be){return E[be.getMonth()]}function Gt(be){return w[+(be.getHours()>=12)]}function Fe(be){return 1+~~(be.getMonth()/3)}function Mt(be){return b[be.getUTCDay()]}function pn(be){return v[be.getUTCDay()]}function Ae(be){return S[be.getUTCMonth()]}function ye(be){return E[be.getUTCMonth()]}function tn(be){return w[+(be.getUTCHours()>=12)]}function sn(be){return 1+~~(be.getUTCMonth()/3)}return{format:function(be){var Ne=rt(be+="",wt);return Ne.toString=function(){return be},Ne},parse:function(be){var Ne=it(be+="",!1);return Ne.toString=function(){return be},Ne},utcFormat:function(be){var Ne=rt(be+="",mt);return Ne.toString=function(){return be},Ne},utcParse:function(be){var Ne=it(be+="",!0);return Ne.toString=function(){return be},Ne}}}var jNt={"-":"",_:" ",0:"0"},Ad=/^\s*\d+/,ZAe=/^%/,tLe=/[\\^$*+?|[\]().{}]/g;function Jc(i,a,f){var g=i<0?"-":"",w=(g?-i:i)+"",v=w.length;return g+(v<f?new Array(f-v+1).join(a)+w:w)}function eLe(i){return i.replace(tLe,"\\$&")}function gF(i){return new RegExp("^(?:"+i.map(eLe).join("|")+")","i")}function pF(i){return new Map(i.map((a,f)=>[a.toLowerCase(),f]))}function nLe(i,a,f){var g=Ad.exec(a.slice(f,f+1));return g?(i.w=+g[0],f+g[0].length):-1}function rLe(i,a,f){var g=Ad.exec(a.slice(f,f+1));return g?(i.u=+g[0],f+g[0].length):-1}function iLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.U=+g[0],f+g[0].length):-1}function sLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.V=+g[0],f+g[0].length):-1}function aLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.W=+g[0],f+g[0].length):-1}function $Nt(i,a,f){var g=Ad.exec(a.slice(f,f+4));return g?(i.y=+g[0],f+g[0].length):-1}function zNt(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.y=+g[0]+(+g[0]>68?1900:2e3),f+g[0].length):-1}function oLe(i,a,f){var g=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(f,f+6));return g?(i.Z=g[1]?0:-(g[2]+(g[3]||"00")),f+g[0].length):-1}function cLe(i,a,f){var g=Ad.exec(a.slice(f,f+1));return g?(i.q=g[0]*3-3,f+g[0].length):-1}function uLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.m=g[0]-1,f+g[0].length):-1}function qNt(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.d=+g[0],f+g[0].length):-1}function lLe(i,a,f){var g=Ad.exec(a.slice(f,f+3));return g?(i.m=0,i.d=+g[0],f+g[0].length):-1}function HNt(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.H=+g[0],f+g[0].length):-1}function hLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.M=+g[0],f+g[0].length):-1}function fLe(i,a,f){var g=Ad.exec(a.slice(f,f+2));return g?(i.S=+g[0],f+g[0].length):-1}function dLe(i,a,f){var g=Ad.exec(a.slice(f,f+3));return g?(i.L=+g[0],f+g[0].length):-1}function gLe(i,a,f){var g=Ad.exec(a.slice(f,f+6));return g?(i.L=Math.floor(g[0]/1e3),f+g[0].length):-1}function pLe(i,a,f){var g=ZAe.exec(a.slice(f,f+1));return g?f+g[0].length:-1}function bLe(i,a,f){var g=Ad.exec(a.slice(f));return g?(i.Q=+g[0],f+g[0].length):-1}function wLe(i,a,f){var g=Ad.exec(a.slice(f));return g?(i.s=+g[0],f+g[0].length):-1}function VNt(i,a){return Jc(i.getDate(),a,2)}function mLe(i,a){return Jc(i.getHours(),a,2)}function vLe(i,a){return Jc(i.getHours()%12||12,a,2)}function yLe(i,a){return Jc(1+c9.count(_x(i),i),a,3)}function UNt(i,a){return Jc(i.getMilliseconds(),a,3)}function xLe(i,a){return UNt(i,a)+"000"}function kLe(i,a){return Jc(i.getMonth()+1,a,2)}function ELe(i,a){return Jc(i.getMinutes(),a,2)}function TLe(i,a){return Jc(i.getSeconds(),a,2)}function CLe(i){var a=i.getDay();return a===0?7:a}function SLe(i,a){return Jc(lF.count(_x(i)-1,i),a,2)}function GNt(i){var a=i.getDay();return a>=4||a===0?l9(i):l9.ceil(i)}function _Le(i,a){return i=GNt(i),Jc(l9.count(_x(i),i)+(_x(i).getDay()===4),a,2)}function ALe(i){return i.getDay()}function LLe(i,a){return Jc(hF.count(_x(i)-1,i),a,2)}function DLe(i,a){return Jc(i.getFullYear()%100,a,2)}function MLe(i,a){return i=GNt(i),Jc(i.getFullYear()%100,a,2)}function ILe(i,a){return Jc(i.getFullYear()%1e4,a,4)}function OLe(i,a){var f=i.getDay();return i=f>=4||f===0?l9(i):l9.ceil(i),Jc(i.getFullYear()%1e4,a,4)}function NLe(i){var a=i.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+Jc(a/60|0,"0",2)+Jc(a%60,"0",2)}function KNt(i,a){return Jc(i.getUTCDate(),a,2)}function PLe(i,a){return Jc(i.getUTCHours(),a,2)}function FLe(i,a){return Jc(i.getUTCHours()%12||12,a,2)}function BLe(i,a){return Jc(1+X0t.count(f9(i),i),a,3)}function WNt(i,a){return Jc(i.getUTCMilliseconds(),a,3)}function RLe(i,a){return WNt(i,a)+"000"}function jLe(i,a){return Jc(i.getUTCMonth()+1,a,2)}function $Le(i,a){return Jc(i.getUTCMinutes(),a,2)}function zLe(i,a){return Jc(i.getUTCSeconds(),a,2)}function qLe(i){var a=i.getUTCDay();return a===0?7:a}function HLe(i,a){return Jc(RNt.count(f9(i)-1,i),a,2)}function YNt(i){var a=i.getUTCDay();return a>=4||a===0?GL(i):GL.ceil(i)}function VLe(i,a){return i=YNt(i),Jc(GL.count(f9(i),i)+(f9(i).getUTCDay()===4),a,2)}function ULe(i){return i.getUTCDay()}function GLe(i,a){return Jc(LW.count(f9(i)-1,i),a,2)}function KLe(i,a){return Jc(i.getUTCFullYear()%100,a,2)}function WLe(i,a){return i=YNt(i),Jc(i.getUTCFullYear()%100,a,2)}function YLe(i,a){return Jc(i.getUTCFullYear()%1e4,a,4)}function XLe(i,a){var f=i.getUTCDay();return i=f>=4||f===0?GL(i):GL.ceil(i),Jc(i.getUTCFullYear()%1e4,a,4)}function QLe(){return"+0000"}function XNt(){return"%"}function QNt(i){return+i}function JNt(i){return Math.floor(+i/1e3)}var KL,DW;JLe({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 JLe(i){return KL=JAe(i),DW=KL.format,KL.parse,KL.utcFormat,KL.utcParse,KL}function ZLe(i){return new Date(i)}function tDe(i){return i instanceof Date?+i:+new Date(+i)}function ZNt(i,a,f,g,w,v,b,E,S,_){var M=INt(),F=M.invert,R=M.domain,B=_(".%L"),z=_(":%S"),Y=_("%I:%M"),nt=_("%I %p"),ot=_("%a %d"),ft=_("%b %d"),wt=_("%B"),mt=_("%Y");function ct(rt){return(S(rt)<rt?B:E(rt)<rt?z:b(rt)<rt?Y:v(rt)<rt?nt:g(rt)<rt?w(rt)<rt?ot:ft:f(rt)<rt?wt:mt)(rt)}return M.invert=function(rt){return new Date(F(rt))},M.domain=function(rt){return arguments.length?R(Array.from(rt,tDe)):R().map(ZLe)},M.ticks=function(rt){var it=R();return i(it[0],it[it.length-1],rt??10)},M.tickFormat=function(rt,it){return it==null?ct:_(it)},M.nice=function(rt){var it=R();return(!rt||typeof rt.range!="function")&&(rt=a(it[0],it[it.length-1],rt??10)),rt?R(VAe(it,rt)):M},M.copy=function(){return MNt(M,ZNt(i,a,f,g,w,v,b,E,S,_))},M}function eDe(){return AW.apply(ZNt(XAe,QAe,_x,fF,lF,c9,uF,cF,f8,DW).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function nDe(i){for(var a=i.length/6|0,f=new Array(a),g=0;g<a;)f[g]="#"+i.slice(g*6,++g*6);return f}const tPt=nDe("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function kf(i){return function(){return i}}const ePt=Math.abs,ng=Math.atan2,d9=Math.cos,rDe=Math.max,Z0t=Math.min,t4=Math.sin,WL=Math.sqrt,rg=1e-12,bF=Math.PI,MW=bF/2,IW=2*bF;function iDe(i){return i>1?0:i<-1?bF:Math.acos(i)}function nPt(i){return i>=1?MW:i<=-1?-MW:Math.asin(i)}function rPt(i){let a=3;return i.digits=function(f){if(!arguments.length)return a;if(f==null)a=null;else{const g=Math.floor(f);if(!(g>=0))throw new RangeError(`invalid digits: ${f}`);a=g}return i},()=>new yAe(a)}function sDe(i){return i.innerRadius}function aDe(i){return i.outerRadius}function oDe(i){return i.startAngle}function cDe(i){return i.endAngle}function uDe(i){return i&&i.padAngle}function lDe(i,a,f,g,w,v,b,E){var S=f-i,_=g-a,M=b-w,F=E-v,R=F*S-M*_;if(!(R*R<rg))return R=(M*(a-v)-F*(i-w))/R,[i+R*S,a+R*_]}function OW(i,a,f,g,w,v,b){var E=i-f,S=a-g,_=(b?v:-v)/WL(E*E+S*S),M=_*S,F=-_*E,R=i+M,B=a+F,z=f+M,Y=g+F,nt=(R+z)/2,ot=(B+Y)/2,ft=z-R,wt=Y-B,mt=ft*ft+wt*wt,ct=w-v,rt=R*Y-z*B,it=(wt<0?-1:1)*WL(rDe(0,ct*ct*mt-rt*rt)),gt=(rt*wt-ft*it)/mt,Q=(-rt*ft-wt*it)/mt,dt=(rt*wt+ft*it)/mt,K=(-rt*ft+wt*it)/mt,yt=gt-nt,V=Q-ot,Ot=dt-nt,It=K-ot;return yt*yt+V*V>Ot*Ot+It*It&&(gt=dt,Q=K),{cx:gt,cy:Q,x01:-M,y01:-F,x11:gt*(w/ct-1),y11:Q*(w/ct-1)}}function YL(){var i=sDe,a=aDe,f=kf(0),g=null,w=oDe,v=cDe,b=uDe,E=null,S=rPt(_);function _(){var M,F,R=+i.apply(this,arguments),B=+a.apply(this,arguments),z=w.apply(this,arguments)-MW,Y=v.apply(this,arguments)-MW,nt=ePt(Y-z),ot=Y>z;if(E||(E=M=S()),B<R&&(F=B,B=R,R=F),!(B>rg))E.moveTo(0,0);else if(nt>IW-rg)E.moveTo(B*d9(z),B*t4(z)),E.arc(0,0,B,z,Y,!ot),R>rg&&(E.moveTo(R*d9(Y),R*t4(Y)),E.arc(0,0,R,Y,z,ot));else{var ft=z,wt=Y,mt=z,ct=Y,rt=nt,it=nt,gt=b.apply(this,arguments)/2,Q=gt>rg&&(g?+g.apply(this,arguments):WL(R*R+B*B)),dt=Z0t(ePt(B-R)/2,+f.apply(this,arguments)),K=dt,yt=dt,V,Ot;if(Q>rg){var It=nPt(Q/R*t4(gt)),jt=nPt(Q/B*t4(gt));(rt-=It*2)>rg?(It*=ot?1:-1,mt+=It,ct-=It):(rt=0,mt=ct=(z+Y)/2),(it-=jt*2)>rg?(jt*=ot?1:-1,ft+=jt,wt-=jt):(it=0,ft=wt=(z+Y)/2)}var xt=B*d9(ft),Ft=B*t4(ft),Ct=R*d9(ct),kt=R*t4(ct);if(dt>rg){var Gt=B*d9(wt),Fe=B*t4(wt),Mt=R*d9(mt),pn=R*t4(mt),Ae;if(nt<bF)if(Ae=lDe(xt,Ft,Mt,pn,Gt,Fe,Ct,kt)){var ye=xt-Ae[0],tn=Ft-Ae[1],sn=Gt-Ae[0],be=Fe-Ae[1],Ne=1/t4(iDe((ye*sn+tn*be)/(WL(ye*ye+tn*tn)*WL(sn*sn+be*be)))/2),Xt=WL(Ae[0]*Ae[0]+Ae[1]*Ae[1]);K=Z0t(dt,(R-Xt)/(Ne-1)),yt=Z0t(dt,(B-Xt)/(Ne+1))}else K=yt=0}it>rg?yt>rg?(V=OW(Mt,pn,xt,Ft,B,yt,ot),Ot=OW(Gt,Fe,Ct,kt,B,yt,ot),E.moveTo(V.cx+V.x01,V.cy+V.y01),yt<dt?E.arc(V.cx,V.cy,yt,ng(V.y01,V.x01),ng(Ot.y01,Ot.x01),!ot):(E.arc(V.cx,V.cy,yt,ng(V.y01,V.x01),ng(V.y11,V.x11),!ot),E.arc(0,0,B,ng(V.cy+V.y11,V.cx+V.x11),ng(Ot.cy+Ot.y11,Ot.cx+Ot.x11),!ot),E.arc(Ot.cx,Ot.cy,yt,ng(Ot.y11,Ot.x11),ng(Ot.y01,Ot.x01),!ot))):(E.moveTo(xt,Ft),E.arc(0,0,B,ft,wt,!ot)):E.moveTo(xt,Ft),!(R>rg)||!(rt>rg)?E.lineTo(Ct,kt):K>rg?(V=OW(Ct,kt,Gt,Fe,R,-K,ot),Ot=OW(xt,Ft,Mt,pn,R,-K,ot),E.lineTo(V.cx+V.x01,V.cy+V.y01),K<dt?E.arc(V.cx,V.cy,K,ng(V.y01,V.x01),ng(Ot.y01,Ot.x01),!ot):(E.arc(V.cx,V.cy,K,ng(V.y01,V.x01),ng(V.y11,V.x11),!ot),E.arc(0,0,R,ng(V.cy+V.y11,V.cx+V.x11),ng(Ot.cy+Ot.y11,Ot.cx+Ot.x11),ot),E.arc(Ot.cx,Ot.cy,K,ng(Ot.y11,Ot.x11),ng(Ot.y01,Ot.x01),!ot))):E.arc(0,0,R,ct,mt,ot)}if(E.closePath(),M)return E=null,M+""||null}return _.centroid=function(){var M=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2,F=(+w.apply(this,arguments)+ +v.apply(this,arguments))/2-bF/2;return[d9(F)*M,t4(F)*M]},_.innerRadius=function(M){return arguments.length?(i=typeof M=="function"?M:kf(+M),_):i},_.outerRadius=function(M){return arguments.length?(a=typeof M=="function"?M:kf(+M),_):a},_.cornerRadius=function(M){return arguments.length?(f=typeof M=="function"?M:kf(+M),_):f},_.padRadius=function(M){return arguments.length?(g=M==null?null:typeof M=="function"?M:kf(+M),_):g},_.startAngle=function(M){return arguments.length?(w=typeof M=="function"?M:kf(+M),_):w},_.endAngle=function(M){return arguments.length?(v=typeof M=="function"?M:kf(+M),_):v},_.padAngle=function(M){return arguments.length?(b=typeof M=="function"?M:kf(+M),_):b},_.context=function(M){return arguments.length?(E=M??null,_):E},_}function iPt(i){return typeof i=="object"&&"length"in i?i:Array.from(i)}function sPt(i){this._context=i}sPt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;default:this._context.lineTo(i,a);break}}};function Kg(i){return new sPt(i)}function hDe(i){return i[0]}function fDe(i){return i[1]}function Ax(i,a){var f=kf(!0),g=null,w=Kg,v=null,b=rPt(E);i=typeof i=="function"?i:i===void 0?hDe:kf(i),a=typeof a=="function"?a:a===void 0?fDe:kf(a);function E(S){var _,M=(S=iPt(S)).length,F,R=!1,B;for(g==null&&(v=w(B=b())),_=0;_<=M;++_)!(_<M&&f(F=S[_],_,S))===R&&((R=!R)?v.lineStart():v.lineEnd()),R&&v.point(+i(F,_,S),+a(F,_,S));if(B)return v=null,B+""||null}return E.x=function(S){return arguments.length?(i=typeof S=="function"?S:kf(+S),E):i},E.y=function(S){return arguments.length?(a=typeof S=="function"?S:kf(+S),E):a},E.defined=function(S){return arguments.length?(f=typeof S=="function"?S:kf(!!S),E):f},E.curve=function(S){return arguments.length?(w=S,g!=null&&(v=w(g)),E):w},E.context=function(S){return arguments.length?(S==null?g=v=null:v=w(g=S),E):g},E}function dDe(i,a){return a<i?-1:a>i?1:a>=i?0:NaN}function gDe(i){return i}function pDe(){var i=gDe,a=dDe,f=null,g=kf(0),w=kf(IW),v=kf(0);function b(E){var S,_=(E=iPt(E)).length,M,F,R=0,B=new Array(_),z=new Array(_),Y=+g.apply(this,arguments),nt=Math.min(IW,Math.max(-IW,w.apply(this,arguments)-Y)),ot,ft=Math.min(Math.abs(nt)/_,v.apply(this,arguments)),wt=ft*(nt<0?-1:1),mt;for(S=0;S<_;++S)(mt=z[B[S]=S]=+i(E[S],S,E))>0&&(R+=mt);for(a!=null?B.sort(function(ct,rt){return a(z[ct],z[rt])}):f!=null&&B.sort(function(ct,rt){return f(E[ct],E[rt])}),S=0,F=R?(nt-_*wt)/R:0;S<_;++S,Y=ot)M=B[S],mt=z[M],ot=Y+(mt>0?mt*F:0)+wt,z[M]={data:E[M],index:S,value:mt,startAngle:Y,endAngle:ot,padAngle:ft};return z}return b.value=function(E){return arguments.length?(i=typeof E=="function"?E:kf(+E),b):i},b.sortValues=function(E){return arguments.length?(a=E,f=null,b):a},b.sort=function(E){return arguments.length?(f=E,a=null,b):f},b.startAngle=function(E){return arguments.length?(g=typeof E=="function"?E:kf(+E),b):g},b.endAngle=function(E){return arguments.length?(w=typeof E=="function"?E:kf(+E),b):w},b.padAngle=function(E){return arguments.length?(v=typeof E=="function"?E:kf(+E),b):v},b}class aPt{constructor(a,f){this._context=a,this._x=f}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(a,f){switch(a=+a,f=+f,this._point){case 0:{this._point=1,this._line?this._context.lineTo(a,f):this._context.moveTo(a,f);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,f,a,f):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+f)/2,a,this._y0,a,f);break}}this._x0=a,this._y0=f}}function bDe(i){return new aPt(i,!0)}function wDe(i){return new aPt(i,!1)}function d8(){}function NW(i,a,f){i._context.bezierCurveTo((2*i._x0+i._x1)/3,(2*i._y0+i._y1)/3,(i._x0+2*i._x1)/3,(i._y0+2*i._y1)/3,(i._x0+4*i._x1+a)/6,(i._y0+4*i._y1+f)/6)}function PW(i){this._context=i}PW.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:NW(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:NW(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function wF(i){return new PW(i)}function oPt(i){this._context=i}oPt.prototype={areaStart:d8,areaEnd:d8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._x2=i,this._y2=a;break;case 1:this._point=2,this._x3=i,this._y3=a;break;case 2:this._point=3,this._x4=i,this._y4=a,this._context.moveTo((this._x0+4*this._x1+i)/6,(this._y0+4*this._y1+a)/6);break;default:NW(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function mDe(i){return new oPt(i)}function cPt(i){this._context=i}cPt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var f=(this._x0+4*this._x1+i)/6,g=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(f,g):this._context.moveTo(f,g);break;case 3:this._point=4;default:NW(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function vDe(i){return new cPt(i)}function uPt(i,a){this._basis=new PW(i),this._beta=a}uPt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var i=this._x,a=this._y,f=i.length-1;if(f>0)for(var g=i[0],w=a[0],v=i[f]-g,b=a[f]-w,E=-1,S;++E<=f;)S=E/f,this._basis.point(this._beta*i[E]+(1-this._beta)*(g+S*v),this._beta*a[E]+(1-this._beta)*(w+S*b));this._x=this._y=null,this._basis.lineEnd()},point:function(i,a){this._x.push(+i),this._y.push(+a)}};const yDe=function i(a){function f(g){return a===1?new PW(g):new uPt(g,a)}return f.beta=function(g){return i(+g)},f}(.85);function FW(i,a,f){i._context.bezierCurveTo(i._x1+i._k*(i._x2-i._x0),i._y1+i._k*(i._y2-i._y0),i._x2+i._k*(i._x1-a),i._y2+i._k*(i._y1-f),i._x2,i._y2)}function tgt(i,a){this._context=i,this._k=(1-a)/6}tgt.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:FW(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2,this._x1=i,this._y1=a;break;case 2:this._point=3;default:FW(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const xDe=function i(a){function f(g){return new tgt(g,a)}return f.tension=function(g){return i(+g)},f}(0);function egt(i,a){this._context=i,this._k=(1-a)/6}egt.prototype={areaStart:d8,areaEnd:d8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._x3=i,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=a);break;case 2:this._point=3,this._x5=i,this._y5=a;break;default:FW(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const kDe=function i(a){function f(g){return new egt(g,a)}return f.tension=function(g){return i(+g)},f}(0);function ngt(i,a){this._context=i,this._k=(1-a)/6}ngt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:FW(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const EDe=function i(a){function f(g){return new ngt(g,a)}return f.tension=function(g){return i(+g)},f}(0);function rgt(i,a,f){var g=i._x1,w=i._y1,v=i._x2,b=i._y2;if(i._l01_a>rg){var E=2*i._l01_2a+3*i._l01_a*i._l12_a+i._l12_2a,S=3*i._l01_a*(i._l01_a+i._l12_a);g=(g*E-i._x0*i._l12_2a+i._x2*i._l01_2a)/S,w=(w*E-i._y0*i._l12_2a+i._y2*i._l01_2a)/S}if(i._l23_a>rg){var _=2*i._l23_2a+3*i._l23_a*i._l12_a+i._l12_2a,M=3*i._l23_a*(i._l23_a+i._l12_a);v=(v*_+i._x1*i._l23_2a-a*i._l12_2a)/M,b=(b*_+i._y1*i._l23_2a-f*i._l12_2a)/M}i._context.bezierCurveTo(g,w,v,b,i._x2,i._y2)}function lPt(i,a){this._context=i,this._alpha=a}lPt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){if(i=+i,a=+a,this._point){var f=this._x2-i,g=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3;default:rgt(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const TDe=function i(a){function f(g){return a?new lPt(g,a):new tgt(g,0)}return f.alpha=function(g){return i(+g)},f}(.5);function hPt(i,a){this._context=i,this._alpha=a}hPt.prototype={areaStart:d8,areaEnd:d8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(i,a){if(i=+i,a=+a,this._point){var f=this._x2-i,g=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=i,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=a);break;case 2:this._point=3,this._x5=i,this._y5=a;break;default:rgt(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const CDe=function i(a){function f(g){return a?new hPt(g,a):new egt(g,0)}return f.alpha=function(g){return i(+g)},f}(.5);function fPt(i,a){this._context=i,this._alpha=a}fPt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){if(i=+i,a=+a,this._point){var f=this._x2-i,g=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:rgt(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const SDe=function i(a){function f(g){return a?new fPt(g,a):new ngt(g,0)}return f.alpha=function(g){return i(+g)},f}(.5);function dPt(i){this._context=i}dPt.prototype={areaStart:d8,areaEnd:d8,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(i,a){i=+i,a=+a,this._point?this._context.lineTo(i,a):(this._point=1,this._context.moveTo(i,a))}};function _De(i){return new dPt(i)}function gPt(i){return i<0?-1:1}function pPt(i,a,f){var g=i._x1-i._x0,w=a-i._x1,v=(i._y1-i._y0)/(g||w<0&&-0),b=(f-i._y1)/(w||g<0&&-0),E=(v*w+b*g)/(g+w);return(gPt(v)+gPt(b))*Math.min(Math.abs(v),Math.abs(b),.5*Math.abs(E))||0}function bPt(i,a){var f=i._x1-i._x0;return f?(3*(i._y1-i._y0)/f-a)/2:a}function igt(i,a,f){var g=i._x0,w=i._y0,v=i._x1,b=i._y1,E=(v-g)/3;i._context.bezierCurveTo(g+E,w+E*a,v-E,b-E*f,v,b)}function BW(i){this._context=i}BW.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:igt(this,this._t0,bPt(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){var f=NaN;if(i=+i,a=+a,!(i===this._x1&&a===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3,igt(this,bPt(this,f=pPt(this,i,a)),f);break;default:igt(this,this._t0,f=pPt(this,i,a));break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a,this._t0=f}}};function wPt(i){this._context=new mPt(i)}(wPt.prototype=Object.create(BW.prototype)).point=function(i,a){BW.prototype.point.call(this,a,i)};function mPt(i){this._context=i}mPt.prototype={moveTo:function(i,a){this._context.moveTo(a,i)},closePath:function(){this._context.closePath()},lineTo:function(i,a){this._context.lineTo(a,i)},bezierCurveTo:function(i,a,f,g,w,v){this._context.bezierCurveTo(a,i,g,f,v,w)}};function ADe(i){return new BW(i)}function LDe(i){return new wPt(i)}function vPt(i){this._context=i}vPt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var i=this._x,a=this._y,f=i.length;if(f)if(this._line?this._context.lineTo(i[0],a[0]):this._context.moveTo(i[0],a[0]),f===2)this._context.lineTo(i[1],a[1]);else for(var g=yPt(i),w=yPt(a),v=0,b=1;b<f;++v,++b)this._context.bezierCurveTo(g[0][v],w[0][v],g[1][v],w[1][v],i[b],a[b]);(this._line||this._line!==0&&f===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(i,a){this._x.push(+i),this._y.push(+a)}};function yPt(i){var a,f=i.length-1,g,w=new Array(f),v=new Array(f),b=new Array(f);for(w[0]=0,v[0]=2,b[0]=i[0]+2*i[1],a=1;a<f-1;++a)w[a]=1,v[a]=4,b[a]=4*i[a]+2*i[a+1];for(w[f-1]=2,v[f-1]=7,b[f-1]=8*i[f-1]+i[f],a=1;a<f;++a)g=w[a]/v[a-1],v[a]-=g,b[a]-=g*b[a-1];for(w[f-1]=b[f-1]/v[f-1],a=f-2;a>=0;--a)w[a]=(b[a]-w[a+1])/v[a];for(v[f-1]=(i[f]+w[f-1])/2,a=0;a<f-1;++a)v[a]=2*i[a+1]-w[a+1];return[w,v]}function DDe(i){return new vPt(i)}function RW(i,a){this._context=i,this._t=a}RW.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(i,a);else{var f=this._x*(1-this._t)+i*this._t;this._context.lineTo(f,this._y),this._context.lineTo(f,a)}break}}this._x=i,this._y=a}};function MDe(i){return new RW(i,.5)}function IDe(i){return new RW(i,0)}function ODe(i){return new RW(i,1)}function mF(i,a,f){this.k=i,this.x=a,this.y=f}mF.prototype={constructor:mF,scale:function(i){return i===1?this:new mF(this.k*i,this.x,this.y)},translate:function(i,a){return i===0&a===0?this:new mF(this.k,this.x+this.k*i,this.y+this.k*a)},apply:function(i){return[i[0]*this.k+this.x,i[1]*this.k+this.y]},applyX:function(i){return i*this.k+this.x},applyY:function(i){return i*this.k+this.y},invert:function(i){return[(i[0]-this.x)/this.k,(i[1]-this.y)/this.k]},invertX:function(i){return(i-this.x)/this.k},invertY:function(i){return(i-this.y)/this.k},rescaleX:function(i){return i.copy().domain(i.range().map(this.invertX,this).map(i.invert,i))},rescaleY:function(i){return i.copy().domain(i.range().map(this.invertY,this).map(i.invert,i))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},mF.prototype;/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:xPt,setPrototypeOf:kPt,isFrozen:NDe,getPrototypeOf:PDe,getOwnPropertyDescriptor:FDe}=Object;let{freeze:Wg,seal:qv,create:BDe}=Object,{apply:sgt,construct:agt}=typeof Reflect<"u"&&Reflect;sgt||(sgt=function(a,f,g){return a.apply(f,g)}),Wg||(Wg=function(a){return a}),qv||(qv=function(a){return a}),agt||(agt=function(a,f){return new a(...f)});const RDe=Ww(Array.prototype.forEach),EPt=Ww(Array.prototype.pop),vF=Ww(Array.prototype.push),jW=Ww(String.prototype.toLowerCase),ogt=Ww(String.prototype.toString),jDe=Ww(String.prototype.match),Hv=Ww(String.prototype.replace),$De=Ww(String.prototype.indexOf),zDe=Ww(String.prototype.trim),E2=Ww(RegExp.prototype.test),yF=qDe(TypeError);function Ww(i){return function(a){for(var f=arguments.length,g=new Array(f>1?f-1:0),w=1;w<f;w++)g[w-1]=arguments[w];return sgt(i,a,g)}}function qDe(i){return function(){for(var a=arguments.length,f=new Array(a),g=0;g<a;g++)f[g]=arguments[g];return agt(i,f)}}function Fo(i,a,f){var g;f=(g=f)!==null&&g!==void 0?g:jW,kPt&&kPt(i,null);let w=a.length;for(;w--;){let v=a[w];if(typeof v=="string"){const b=f(v);b!==v&&(NDe(a)||(a[w]=b),v=b)}i[v]=!0}return i}function XL(i){const a=BDe(null);for(const[f,g]of xPt(i))a[f]=g;return a}function $W(i,a){for(;i!==null;){const g=FDe(i,a);if(g){if(g.get)return Ww(g.get);if(typeof g.value=="function")return Ww(g.value)}i=PDe(i)}function f(g){return console.warn("fallback value for",g),null}return f}const TPt=Wg(["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"]),cgt=Wg(["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"]),ugt=Wg(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),HDe=Wg(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),lgt=Wg(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),VDe=Wg(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),CPt=Wg(["#text"]),SPt=Wg(["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"]),hgt=Wg(["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"]),_Pt=Wg(["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"]),zW=Wg(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),UDe=qv(/\{\{[\w\W]*|[\w\W]*\}\}/gm),GDe=qv(/<%[\w\W]*|[\w\W]*%>/gm),KDe=qv(/\${[\w\W]*}/gm),WDe=qv(/^data-[\-\w.\u00B7-\uFFFF]/),YDe=qv(/^aria-[\-\w]+$/),APt=qv(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),XDe=qv(/^(?:\w+script|data):/i),QDe=qv(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),LPt=qv(/^html$/i);var DPt=Object.freeze({__proto__:null,MUSTACHE_EXPR:UDe,ERB_EXPR:GDe,TMPLIT_EXPR:KDe,DATA_ATTR:WDe,ARIA_ATTR:YDe,IS_ALLOWED_URI:APt,IS_SCRIPT_OR_DATA:XDe,ATTR_WHITESPACE:QDe,DOCTYPE_NAME:LPt});const JDe=()=>typeof window>"u"?null:window,ZDe=function(a,f){if(typeof a!="object"||typeof a.createPolicy!="function")return null;let g=null;const w="data-tt-policy-suffix";f&&f.hasAttribute(w)&&(g=f.getAttribute(w));const v="dompurify"+(g?"#"+g:"");try{return a.createPolicy(v,{createHTML(b){return b},createScriptURL(b){return b}})}catch{return console.warn("TrustedTypes policy "+v+" could not be created."),null}};function MPt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:JDe();const a=Gi=>MPt(Gi);if(a.version="3.0.5",a.removed=[],!i||!i.document||i.document.nodeType!==9)return a.isSupported=!1,a;const f=i.document,g=f.currentScript;let{document:w}=i;const{DocumentFragment:v,HTMLTemplateElement:b,Node:E,Element:S,NodeFilter:_,NamedNodeMap:M=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:F,DOMParser:R,trustedTypes:B}=i,z=S.prototype,Y=$W(z,"cloneNode"),nt=$W(z,"nextSibling"),ot=$W(z,"childNodes"),ft=$W(z,"parentNode");if(typeof b=="function"){const Gi=w.createElement("template");Gi.content&&Gi.content.ownerDocument&&(w=Gi.content.ownerDocument)}let wt,mt="";const{implementation:ct,createNodeIterator:rt,createDocumentFragment:it,getElementsByTagName:gt}=w,{importNode:Q}=f;let dt={};a.isSupported=typeof xPt=="function"&&typeof ft=="function"&&ct&&ct.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:K,ERB_EXPR:yt,TMPLIT_EXPR:V,DATA_ATTR:Ot,ARIA_ATTR:It,IS_SCRIPT_OR_DATA:jt,ATTR_WHITESPACE:xt}=DPt;let{IS_ALLOWED_URI:Ft}=DPt,Ct=null;const kt=Fo({},[...TPt,...cgt,...ugt,...lgt,...CPt]);let Gt=null;const Fe=Fo({},[...SPt,...hgt,..._Pt,...zW]);let Mt=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}})),pn=null,Ae=null,ye=!0,tn=!0,sn=!1,be=!0,Ne=!1,Xt=!1,_e=!1,xe=!1,Mn=!1,ce=!1,Br=!1,we=!0,Fi=!1;const mi="user-content-";let ga=!0,Ss=!1,za={},br=null;const An=Fo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Nn=null;const Bn=Fo({},["audio","video","img","source","image","track"]);let ke=null;const pe=Fo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",an="http://www.w3.org/2000/svg",xn="http://www.w3.org/1999/xhtml";let qa=xn,xo=!1,ko=null;const va=Fo({},[Je,an,xn],ogt);let Ha;const ds=["application/xhtml+xml","text/html"],Fu="text/html";let Zs,d1=null;const I2=w.createElement("form"),ll=function(cn){return cn instanceof RegExp||cn instanceof Function},Ic=function(cn){if(!(d1&&d1===cn)){if((!cn||typeof cn!="object")&&(cn={}),cn=XL(cn),Ha=ds.indexOf(cn.PARSER_MEDIA_TYPE)===-1?Ha=Fu:Ha=cn.PARSER_MEDIA_TYPE,Zs=Ha==="application/xhtml+xml"?ogt:jW,Ct="ALLOWED_TAGS"in cn?Fo({},cn.ALLOWED_TAGS,Zs):kt,Gt="ALLOWED_ATTR"in cn?Fo({},cn.ALLOWED_ATTR,Zs):Fe,ko="ALLOWED_NAMESPACES"in cn?Fo({},cn.ALLOWED_NAMESPACES,ogt):va,ke="ADD_URI_SAFE_ATTR"in cn?Fo(XL(pe),cn.ADD_URI_SAFE_ATTR,Zs):pe,Nn="ADD_DATA_URI_TAGS"in cn?Fo(XL(Bn),cn.ADD_DATA_URI_TAGS,Zs):Bn,br="FORBID_CONTENTS"in cn?Fo({},cn.FORBID_CONTENTS,Zs):An,pn="FORBID_TAGS"in cn?Fo({},cn.FORBID_TAGS,Zs):{},Ae="FORBID_ATTR"in cn?Fo({},cn.FORBID_ATTR,Zs):{},za="USE_PROFILES"in cn?cn.USE_PROFILES:!1,ye=cn.ALLOW_ARIA_ATTR!==!1,tn=cn.ALLOW_DATA_ATTR!==!1,sn=cn.ALLOW_UNKNOWN_PROTOCOLS||!1,be=cn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ne=cn.SAFE_FOR_TEMPLATES||!1,Xt=cn.WHOLE_DOCUMENT||!1,Mn=cn.RETURN_DOM||!1,ce=cn.RETURN_DOM_FRAGMENT||!1,Br=cn.RETURN_TRUSTED_TYPE||!1,xe=cn.FORCE_BODY||!1,we=cn.SANITIZE_DOM!==!1,Fi=cn.SANITIZE_NAMED_PROPS||!1,ga=cn.KEEP_CONTENT!==!1,Ss=cn.IN_PLACE||!1,Ft=cn.ALLOWED_URI_REGEXP||APt,qa=cn.NAMESPACE||xn,Mt=cn.CUSTOM_ELEMENT_HANDLING||{},cn.CUSTOM_ELEMENT_HANDLING&&ll(cn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Mt.tagNameCheck=cn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),cn.CUSTOM_ELEMENT_HANDLING&&ll(cn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Mt.attributeNameCheck=cn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),cn.CUSTOM_ELEMENT_HANDLING&&typeof cn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Mt.allowCustomizedBuiltInElements=cn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(tn=!1),ce&&(Mn=!0),za&&(Ct=Fo({},[...CPt]),Gt=[],za.html===!0&&(Fo(Ct,TPt),Fo(Gt,SPt)),za.svg===!0&&(Fo(Ct,cgt),Fo(Gt,hgt),Fo(Gt,zW)),za.svgFilters===!0&&(Fo(Ct,ugt),Fo(Gt,hgt),Fo(Gt,zW)),za.mathMl===!0&&(Fo(Ct,lgt),Fo(Gt,_Pt),Fo(Gt,zW))),cn.ADD_TAGS&&(Ct===kt&&(Ct=XL(Ct)),Fo(Ct,cn.ADD_TAGS,Zs)),cn.ADD_ATTR&&(Gt===Fe&&(Gt=XL(Gt)),Fo(Gt,cn.ADD_ATTR,Zs)),cn.ADD_URI_SAFE_ATTR&&Fo(ke,cn.ADD_URI_SAFE_ATTR,Zs),cn.FORBID_CONTENTS&&(br===An&&(br=XL(br)),Fo(br,cn.FORBID_CONTENTS,Zs)),ga&&(Ct["#text"]=!0),Xt&&Fo(Ct,["html","head","body"]),Ct.table&&(Fo(Ct,["tbody"]),delete pn.tbody),cn.TRUSTED_TYPES_POLICY){if(typeof cn.TRUSTED_TYPES_POLICY.createHTML!="function")throw yF('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof cn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw yF('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');wt=cn.TRUSTED_TYPES_POLICY,mt=wt.createHTML("")}else wt===void 0&&(wt=ZDe(B,g)),wt!==null&&typeof mt=="string"&&(mt=wt.createHTML(""));Wg&&Wg(cn),d1=cn}},wc=Fo({},["mi","mo","mn","ms","mtext"]),Ea=Fo({},["foreignobject","desc","title","annotation-xml"]),gu=Fo({},["title","style","font","a","script"]),ta=Fo({},cgt);Fo(ta,ugt),Fo(ta,HDe);const fo=Fo({},lgt);Fo(fo,VDe);const mc=function(cn){let Nr=ft(cn);(!Nr||!Nr.tagName)&&(Nr={namespaceURI:qa,tagName:"template"});const Si=jW(cn.tagName),vc=jW(Nr.tagName);return ko[cn.namespaceURI]?cn.namespaceURI===an?Nr.namespaceURI===xn?Si==="svg":Nr.namespaceURI===Je?Si==="svg"&&(vc==="annotation-xml"||wc[vc]):!!ta[Si]:cn.namespaceURI===Je?Nr.namespaceURI===xn?Si==="math":Nr.namespaceURI===an?Si==="math"&&Ea[vc]:!!fo[Si]:cn.namespaceURI===xn?Nr.namespaceURI===an&&!Ea[vc]||Nr.namespaceURI===Je&&!wc[vc]?!1:!fo[Si]&&(gu[Si]||!ta[Si]):!!(Ha==="application/xhtml+xml"&&ko[cn.namespaceURI]):!1},ca=function(cn){vF(a.removed,{element:cn});try{cn.parentNode.removeChild(cn)}catch{cn.remove()}},ya=function(cn,Nr){try{vF(a.removed,{attribute:Nr.getAttributeNode(cn),from:Nr})}catch{vF(a.removed,{attribute:null,from:Nr})}if(Nr.removeAttribute(cn),cn==="is"&&!Gt[cn])if(Mn||ce)try{ca(Nr)}catch{}else try{Nr.setAttribute(cn,"")}catch{}},ea=function(cn){let Nr,Si;if(xe)cn="<remove></remove>"+cn;else{const Eh=jDe(cn,/^[\r\n\t ]+/);Si=Eh&&Eh[0]}Ha==="application/xhtml+xml"&&qa===xn&&(cn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+cn+"</body></html>");const vc=wt?wt.createHTML(cn):cn;if(qa===xn)try{Nr=new R().parseFromString(vc,Ha)}catch{}if(!Nr||!Nr.documentElement){Nr=ct.createDocument(qa,"template",null);try{Nr.documentElement.innerHTML=xo?mt:vc}catch{}}const Rc=Nr.body||Nr.documentElement;return cn&&Si&&Rc.insertBefore(w.createTextNode(Si),Rc.childNodes[0]||null),qa===xn?gt.call(Nr,Xt?"html":"body")[0]:Xt?Nr.documentElement:Rc},Zl=function(cn){return rt.call(cn.ownerDocument||cn,cn,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT,null,!1)},Uc=function(cn){return cn instanceof F&&(typeof cn.nodeName!="string"||typeof cn.textContent!="string"||typeof cn.removeChild!="function"||!(cn.attributes instanceof M)||typeof cn.removeAttribute!="function"||typeof cn.setAttribute!="function"||typeof cn.namespaceURI!="string"||typeof cn.insertBefore!="function"||typeof cn.hasChildNodes!="function")},rm=function(cn){return typeof E=="object"?cn instanceof E:cn&&typeof cn=="object"&&typeof cn.nodeType=="number"&&typeof cn.nodeName=="string"},kh=function(cn,Nr,Si){dt[cn]&&RDe(dt[cn],vc=>{vc.call(a,Nr,Si,d1)})},Md=function(cn){let Nr;if(kh("beforeSanitizeElements",cn,null),Uc(cn))return ca(cn),!0;const Si=Zs(cn.nodeName);if(kh("uponSanitizeElement",cn,{tagName:Si,allowedTags:Ct}),cn.hasChildNodes()&&!rm(cn.firstElementChild)&&(!rm(cn.content)||!rm(cn.content.firstElementChild))&&E2(/<[/\w]/g,cn.innerHTML)&&E2(/<[/\w]/g,cn.textContent))return ca(cn),!0;if(!Ct[Si]||pn[Si]){if(!pn[Si]&&Id(Si)&&(Mt.tagNameCheck instanceof RegExp&&E2(Mt.tagNameCheck,Si)||Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(Si)))return!1;if(ga&&!br[Si]){const vc=ft(cn)||cn.parentNode,Rc=ot(cn)||cn.childNodes;if(Rc&&vc){const Eh=Rc.length;for(let Zc=Eh-1;Zc>=0;--Zc)vc.insertBefore(Y(Rc[Zc],!0),nt(cn))}}return ca(cn),!0}return cn instanceof S&&!mc(cn)||(Si==="noscript"||Si==="noembed"||Si==="noframes")&&E2(/<\/no(script|embed|frames)/i,cn.innerHTML)?(ca(cn),!0):(Ne&&cn.nodeType===3&&(Nr=cn.textContent,Nr=Hv(Nr,K," "),Nr=Hv(Nr,yt," "),Nr=Hv(Nr,V," "),cn.textContent!==Nr&&(vF(a.removed,{element:cn.cloneNode()}),cn.textContent=Nr)),kh("afterSanitizeElements",cn,null),!1)},w0=function(cn,Nr,Si){if(we&&(Nr==="id"||Nr==="name")&&(Si in w||Si in I2))return!1;if(!(tn&&!Ae[Nr]&&E2(Ot,Nr))){if(!(ye&&E2(It,Nr))){if(!Gt[Nr]||Ae[Nr]){if(!(Id(cn)&&(Mt.tagNameCheck instanceof RegExp&&E2(Mt.tagNameCheck,cn)||Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(cn))&&(Mt.attributeNameCheck instanceof RegExp&&E2(Mt.attributeNameCheck,Nr)||Mt.attributeNameCheck instanceof Function&&Mt.attributeNameCheck(Nr))||Nr==="is"&&Mt.allowCustomizedBuiltInElements&&(Mt.tagNameCheck instanceof RegExp&&E2(Mt.tagNameCheck,Si)||Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(Si))))return!1}else if(!ke[Nr]){if(!E2(Ft,Hv(Si,xt,""))){if(!((Nr==="src"||Nr==="xlink:href"||Nr==="href")&&cn!=="script"&&$De(Si,"data:")===0&&Nn[cn])){if(!(sn&&!E2(jt,Hv(Si,xt,"")))){if(Si)return!1}}}}}}return!0},Id=function(cn){return cn.indexOf("-")>0},m0=function(cn){let Nr,Si,vc,Rc;kh("beforeSanitizeAttributes",cn,null);const{attributes:Eh}=cn;if(!Eh)return;const Zc={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Gt};for(Rc=Eh.length;Rc--;){Nr=Eh[Rc];const{name:Qh,namespaceURI:Od}=Nr;if(Si=Qh==="value"?Nr.value:zDe(Nr.value),vc=Zs(Qh),Zc.attrName=vc,Zc.attrValue=Si,Zc.keepAttr=!0,Zc.forceKeepAttr=void 0,kh("uponSanitizeAttribute",cn,Zc),Si=Zc.attrValue,Zc.forceKeepAttr||(ya(Qh,cn),!Zc.keepAttr))continue;if(!be&&E2(/\/>/i,Si)){ya(Qh,cn);continue}Ne&&(Si=Hv(Si,K," "),Si=Hv(Si,yt," "),Si=Hv(Si,V," "));const cs=Zs(cn.nodeName);if(w0(cs,vc,Si)){if(Fi&&(vc==="id"||vc==="name")&&(ya(Qh,cn),Si=mi+Si),wt&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!Od)switch(B.getAttributeType(cs,vc)){case"TrustedHTML":{Si=wt.createHTML(Si);break}case"TrustedScriptURL":{Si=wt.createScriptURL(Si);break}}try{Od?cn.setAttributeNS(Od,Qh,Si):cn.setAttribute(Qh,Si),EPt(a.removed)}catch{}}}kh("afterSanitizeAttributes",cn,null)},hg=function Gi(cn){let Nr;const Si=Zl(cn);for(kh("beforeSanitizeShadowDOM",cn,null);Nr=Si.nextNode();)kh("uponSanitizeShadowNode",Nr,null),!Md(Nr)&&(Nr.content instanceof v&&Gi(Nr.content),m0(Nr));kh("afterSanitizeShadowDOM",cn,null)};return a.sanitize=function(Gi){let cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nr,Si,vc,Rc;if(xo=!Gi,xo&&(Gi="<!-->"),typeof Gi!="string"&&!rm(Gi))if(typeof Gi.toString=="function"){if(Gi=Gi.toString(),typeof Gi!="string")throw yF("dirty is not a string, aborting")}else throw yF("toString is not a function");if(!a.isSupported)return Gi;if(_e||Ic(cn),a.removed=[],typeof Gi=="string"&&(Ss=!1),Ss){if(Gi.nodeName){const Qh=Zs(Gi.nodeName);if(!Ct[Qh]||pn[Qh])throw yF("root node is forbidden and cannot be sanitized in-place")}}else if(Gi instanceof E)Nr=ea("<!---->"),Si=Nr.ownerDocument.importNode(Gi,!0),Si.nodeType===1&&Si.nodeName==="BODY"||Si.nodeName==="HTML"?Nr=Si:Nr.appendChild(Si);else{if(!Mn&&!Ne&&!Xt&&Gi.indexOf("<")===-1)return wt&&Br?wt.createHTML(Gi):Gi;if(Nr=ea(Gi),!Nr)return Mn?null:Br?mt:""}Nr&&xe&&ca(Nr.firstChild);const Eh=Zl(Ss?Gi:Nr);for(;vc=Eh.nextNode();)Md(vc)||(vc.content instanceof v&&hg(vc.content),m0(vc));if(Ss)return Gi;if(Mn){if(ce)for(Rc=it.call(Nr.ownerDocument);Nr.firstChild;)Rc.appendChild(Nr.firstChild);else Rc=Nr;return(Gt.shadowroot||Gt.shadowrootmode)&&(Rc=Q.call(f,Rc,!0)),Rc}let Zc=Xt?Nr.outerHTML:Nr.innerHTML;return Xt&&Ct["!doctype"]&&Nr.ownerDocument&&Nr.ownerDocument.doctype&&Nr.ownerDocument.doctype.name&&E2(LPt,Nr.ownerDocument.doctype.name)&&(Zc="<!DOCTYPE "+Nr.ownerDocument.doctype.name+`>

89 Expecting `+ya.join(", ")+", got '"+(this.terminals_[Ic]||Ic)+"'":ea="Parse error on line "+(qa+1)+": Unexpected "+(Ic==va?"end of input":"'"+(this.terminals_[Ic]||Ic)+"'"),this.parseError(ea,{text:ds.match,token:this.terminals_[Ic]||Ic,line:ds.yylineno,loc:d1,expected:ya})}if(Ea[0]instanceof Array&&Ea.length>1)throw new Error("Parse Error: multiple actions possible at state: "+wc+", token: "+Ic);switch(Ea[0]){case 1:Bn.push(Ic),pe.push(ds.yytext),Je.push(ds.yylloc),Bn.push(Ea[1]),Ic=null,xo=ds.yyleng,xn=ds.yytext,qa=ds.yylineno,d1=ds.yylloc;break;case 2:if(mc=this.productions_[Ea[1]][1],ta.$=pe[pe.length-mc],ta._$={first_line:Je[Je.length-(mc||1)].first_line,last_line:Je[Je.length-1].last_line,first_column:Je[Je.length-(mc||1)].first_column,last_column:Je[Je.length-1].last_column},I2&&(ta._$.range=[Je[Je.length-(mc||1)].range[0],Je[Je.length-1].range[1]]),gu=this.performAction.apply(ta,[xn,xo,qa,Fu.yy,Ea[1],pe,Je].concat(Ha)),typeof gu<"u")return gu;mc&&(Bn=Bn.slice(0,-1*mc*2),pe=pe.slice(0,-1*mc),Je=Je.slice(0,-1*mc)),Bn.push(this.productions_[Ea[1]][0]),pe.push(ta.$),Je.push(ta._$),ca=an[Bn[Bn.length-2]][Bn[Bn.length-1]],Bn.push(ca);break;case 3:return!0}}return!0}},Ss=function(){var br={EOF:1,parseError:function(Nn,Bn){if(this.yy.parser)this.yy.parser.parseError(Nn,Bn);else throw new Error(Nn)},setInput:function(An,Nn){return this.yy=Nn||this.yy||{},this._input=An,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 An=this._input[0];this.yytext+=An,this.yyleng++,this.offset++,this.match+=An,this.matched+=An;var Nn=An.match(/(?:\r\n?|\n).*/g);return Nn?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),An},unput:function(An){var Nn=An.length,Bn=An.split(/(?:\r\n?|\n)/g);this._input=An+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Nn),this.offset-=Nn;var ke=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Bn.length-1&&(this.yylineno-=Bn.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:Bn?(Bn.length===ke.length?this.yylloc.first_column:0)+ke[ke.length-Bn.length].length-Bn[0].length:this.yylloc.first_column-Nn},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-Nn]),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).
91 `+Nn+"^"},test_match:function(An,Nn){var Bn,ke,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))),ke=An[0].match(/(?:\r\n?|\n).*/g),ke&&(this.yylineno+=ke.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ke?ke[ke.length-1].length-ke[ke.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+An[0].length},this.yytext+=An[0],this.match+=An[0],this.matches=An,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(An[0].length),this.matched+=An[0],Bn=this.performAction.call(this,this.yy,this,Nn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Bn)return Bn;if(this._backtrack){for(var Je in pe)this[Je]=pe[Je];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var An,Nn,Bn,ke;this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),Je=0;Je<pe.length;Je++)if(Bn=this._input.match(this.rules[pe[Je]]),Bn&&(!Nn||Bn[0].length>Nn[0].length)){if(Nn=Bn,ke=Je,this.options.backtrack_lexer){if(An=this.test_match(Bn,pe[Je]),An!==!1)return An;if(this._backtrack){Nn=!1;continue}else return!1}else if(!this.options.flex)break}return Nn?(An=this.test_match(Nn,pe[ke]),An!==!1?An:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
98 Expecting `+b4.join(", ")+", got '"+(this.terminals_[U1]||U1)+"'":ay="Parse error on line "+(g1+1)+": Unexpected "+(U1==D8?"end of input":"'"+(this.terminals_[U1]||U1)+"'"),this.parseError(ay,{text:th.match,token:this.terminals_[U1]||U1,line:th.yylineno,loc:M8,expected:b4})}if(Pd[0]instanceof Array&&Pd.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Nd+", token: "+U1);switch(Pd[0]){case 1:to.push(U1),pu.push(th.yytext),Le.push(th.yylloc),to.push(Pd[1]),U1=null,ip=th.yyleng,$e=th.yytext,g1=th.yylineno,M8=th.yylloc;break;case 2:if(hb=this.productions_[Pd[1]][1],im.$=pu[pu.length-hb],im._$={first_line:Le[Le.length-(hb||1)].first_line,last_line:Le[Le.length-1].last_line,first_column:Le[Le.length-(hb||1)].first_column,last_column:Le[Le.length-1].last_column},N2&&(im._$.range=[Le[Le.length-(hb||1)].range[0],Le[Le.length-1].range[1]]),I8=this.performAction.apply(im,[$e,ip,g1,fg.yy,Pd[1],pu,Le].concat(g4)),typeof I8<"u")return I8;hb&&(to=to.slice(0,-1*hb*2),pu=pu.slice(0,-1*hb),Le=Le.slice(0,-1*hb)),to.push(this.productions_[Pd[1]][0]),pu.push(im.$),Le.push(im._$),Kx=iy[to[to.length-2]][to[to.length-1]],to.push(Kx);break;case 3:return!0}}return!0}},Zc=function(){var Od={EOF:1,parseError:function(As,to){if(this.yy.parser)this.yy.parser.parseError(As,to);else throw new Error(As)},setInput:function(cs,As){return this.yy=As||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 As=cs.match(/(?:\r\n?|\n).*/g);return As?(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 As=cs.length,to=cs.split(/(?:\r\n?|\n)/g);this._input=cs+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-As),this.offset-=As;var Ci=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),to.length-1&&(this.yylineno-=to.length-1);var pu=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:to?(to.length===Ci.length?this.yylloc.first_column:0)+Ci[Ci.length-to.length].length-to[0].length:this.yylloc.first_column-As},this.options.ranges&&(this.yylloc.range=[pu[0],pu[0]+this.yyleng-As]),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).
100 `+As+"^"},test_match:function(cs,As){var to,Ci,pu;if(this.options.backtrack_lexer&&(pu={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&&(pu.yylloc.range=this.yylloc.range.slice(0))),Ci=cs[0].match(/(?:\r\n?|\n).*/g),Ci&&(this.yylineno+=Ci.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ci?Ci[Ci.length-1].length-Ci[Ci.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],to=this.performAction.call(this,this.yy,this,As,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),to)return to;if(this._backtrack){for(var Le in pu)this[Le]=pu[Le];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var cs,As,to,Ci;this._more||(this.yytext="",this.match="");for(var pu=this._currentRules(),Le=0;Le<pu.length;Le++)if(to=this._input.match(this.rules[pu[Le]]),to&&(!As||to[0].length>As[0].length)){if(As=to,Ci=Le,this.options.backtrack_lexer){if(cs=this.test_match(to,pu[Le]),cs!==!1)return cs;if(this._backtrack){As=!1;continue}else return!1}else if(!this.options.flex)break}return As?(cs=this.test_match(As,pu[Ci]),cs!==!1?cs:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
105 You have to call mermaid.initialize.`)},wRt=function(i,a,f){Kt.info("addLink (abc78)",i,a,f);let g,w;for(g=0;g<i.length;g++)for(w=0;w<a.length;w++)bRt(i[g],a[w],f)},mRt=function(i,a){i.forEach(function(f){f==="default"?Qv.defaultInterpolate=a:Qv[f].interpolate=a})},vRt=function(i,a){i.forEach(function(f){if(f>=Qv.length)throw new Error(`The index ${f} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${Qv.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);f==="default"?Qv.defaultStyle=a:(uo.isSubstringInArray("fill",a)===-1&&a.push("fill:none"),Qv[f].style=a)})},yRt=function(i,a){i.split(",").forEach(function(f){wD[f]===void 0&&(wD[f]={id:f,styles:[],textStyles:[]}),a!=null&&a.forEach(function(g){if(g.match("color")){const w=g.replace("fill","bgFill").replace("color","fill");wD[f].textStyles.push(w)}wD[f].styles.push(g)})})},xRt=function(i){Zw=i,Zw.match(/.*</)&&(Zw="RL"),Zw.match(/.*\^/)&&(Zw="BT"),Zw.match(/.*>/)&&(Zw="LR"),Zw.match(/.*v/)&&(Zw="TB"),Zw==="TD"&&(Zw="TB")},jY=function(i,a){i.split(",").forEach(function(f){let g=f;jl[g]!==void 0&&jl[g].classes.push(a),OY[g]!==void 0&&OY[g].classes.push(a)})},hje=function(i,a){i.split(",").forEach(function(f){a!==void 0&&(NY[FY==="gen-1"?zF(f):f]=RY(a))})},fje=function(i,a,f){let g=zF(i);if(Re().securityLevel!=="loose"||a===void 0)return;let w=[];if(typeof f=="string"){w=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let v=0;v<w.length;v++){let b=w[v].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),w[v]=b}}w.length===0&&w.push(i),jl[i]!==void 0&&(jl[i].haveCallback=!0,BY.push(function(){const v=document.querySelector(`[id="${g}"]`);v!==null&&v.addEventListener("click",function(){uo.runFunc(a,...w)},!1)}))},kRt=function(i,a,f){i.split(",").forEach(function(g){jl[g]!==void 0&&(jl[g].link=uo.formatUrl(a,bD),jl[g].linkTarget=f)}),jY(i,"clickable")},ERt=function(i){if(NY.hasOwnProperty(i))return NY[i]},TRt=function(i,a,f){i.split(",").forEach(function(g){fje(g,a,f)}),jY(i,"clickable")},CRt=function(i){BY.forEach(function(a){a(i)})},SRt=function(){return Zw.trim()},_Rt=function(){return jl},ARt=function(){return Qv},LRt=function(){return wD},DRt=function(i){let a=Tr(".mermaidTooltip");(a._groups||a)[0][0]===null&&(a=Tr("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),Tr(i).select("svg").selectAll("g.node").on("mouseover",function(){const w=Tr(this);if(w.attr("title")===null)return;const b=this.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(w.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.bottom+"px"),a.html(a.html().replace(/&lt;br\/&gt;/g,"<br/>")),w.classed("hover",!0)}).on("mouseout",function(){a.transition().duration(500).style("opacity",0),Tr(this).classed("hover",!1)})};BY.push(DRt);const MRt=function(i="gen-1"){jl={},wD={},Qv=[],BY=[DRt],Px=[],OY={},PY=0,NY={},apt=!0,FY=i,bD=Re(),ag()},IRt=i=>{FY=i||"gen-2"},ORt=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},NRt=function(i,a,f){let g=i.text.trim(),w=f.text;i===f&&f.text.match(/\s/)&&(g=void 0);function v(M){const F={boolean:{},number:{},string:{}},R=[];let B;return{nodeList:M.filter(function(Y){const nt=typeof Y;return Y.stmt&&Y.stmt==="dir"?(B=Y.value,!1):Y.trim()===""?!1:nt in F?F[nt].hasOwnProperty(Y)?!1:F[nt][Y]=!0:R.includes(Y)?!1:R.push(Y)}),dir:B}}let b=[];const{nodeList:E,dir:S}=v(b.concat.apply(b,a));if(b=E,FY==="gen-1")for(let M=0;M<b.length;M++)b[M]=zF(b[M]);g=g||"subGraph"+PY,w=w||"",w=RY(w),PY=PY+1;const _={id:g,nodes:b,title:w.trim(),classes:[],dir:S,labelType:f.type};return Kt.info("Adding",_.id,_.nodes,_.dir),_.nodes=HRt(_,Px).nodes,Px.push(_),OY[g]=_,g},dje=function(i){for(const[a,f]of Px.entries())if(f.id===i)return a;return-1};let qF=-1;const PRt=[],FRt=function(i,a){const f=Px[a].nodes;if(qF=qF+1,qF>2e3)return;if(PRt[qF]=a,Px[a].id===i)return{result:!0,count:0};let g=0,w=1;for(;g<f.length;){const v=dje(f[g]);if(v>=0){const b=FRt(i,v);if(b.result)return{result:!0,count:w+b.count};w=w+b.count}g=g+1}return{result:!1,count:w}},BRt=function(i){return PRt[i]},RRt=function(){qF=-1,Px.length>0&&FRt("none",Px.length-1)},jRt=function(){return Px},$Rt=()=>apt?(apt=!1,!0):!1,gje=i=>{let a=i.trim(),f="arrow_open";switch(a[0]){case"<":f="arrow_point",a=a.slice(1);break;case"x":f="arrow_cross",a=a.slice(1);break;case"o":f="arrow_circle",a=a.slice(1);break}let g="normal";return a.includes("=")&&(g="thick"),a.includes(".")&&(g="dotted"),{type:f,stroke:g}},pje=(i,a)=>{const f=a.length;let g=0;for(let w=0;w<f;++w)a[w]===i&&++g;return g},bje=i=>{const a=i.trim();let f=a.slice(0,-1),g="arrow_open";switch(a.slice(-1)){case"x":g="arrow_cross",a[0]==="x"&&(g="double_"+g,f=f.slice(1));break;case">":g="arrow_point",a[0]==="<"&&(g="double_"+g,f=f.slice(1));break;case"o":g="arrow_circle",a[0]==="o"&&(g="double_"+g,f=f.slice(1));break}let w="normal",v=f.length-1;f[0]==="="&&(w="thick"),f[0]==="~"&&(w="invisible");let b=pje(".",f);return b&&(w="dotted",v=b),{type:g,stroke:w,length:v}},zRt=(i,a)=>{const f=bje(i);let g;if(a){if(g=gje(a),g.stroke!==f.stroke)return{type:"INVALID",stroke:"INVALID"};if(g.type==="arrow_open")g.type=f.type;else{if(g.type!==f.type)return{type:"INVALID",stroke:"INVALID"};g.type="double_"+g.type}return g.type==="double_arrow"&&(g.type="double_arrow_point"),g.length=f.length,g}return f},qRt=(i,a)=>{let f=!1;return i.forEach(g=>{g.nodes.indexOf(a)>=0&&(f=!0)}),f},HRt=(i,a)=>{const f=[];return i.nodes.forEach((g,w)=>{qRt(a,g)||f.push(i.nodes[w])}),{nodes:f}},VRt={firstGraph:$Rt},A9={defaultConfig:()=>lBt.flowchart,setAccTitle:og,getAccTitle:Xg,getAccDescription:Jg,setAccDescription:Qg,addVertex:pRt,lookUpDomId:zF,addLink:wRt,updateLinkInterpolate:mRt,updateLink:vRt,addClass:yRt,setDirection:xRt,setClass:jY,setTooltip:hje,getTooltip:ERt,setClickEvent:TRt,setLink:kRt,bindFunctions:CRt,getDirection:SRt,getVertices:_Rt,getEdges:ARt,getClasses:LRt,clear:MRt,setGen:IRt,defaultStyle:ORt,addSubGraph:NRt,getDepthFirstPos:BRt,indexNodes:RRt,getSubGraphs:jRt,destructLink:zRt,lex:VRt,exists:qRt,makeUniq:HRt,setDiagramTitle:S2,getDiagramTitle:Zg},wje=Object.freeze(Object.defineProperty({__proto__:null,addClass:yRt,addLink:wRt,addSingleLink:bRt,addSubGraph:NRt,addVertex:pRt,bindFunctions:CRt,clear:MRt,default:A9,defaultStyle:ORt,destructLink:zRt,firstGraph:$Rt,getClasses:LRt,getDepthFirstPos:BRt,getDirection:SRt,getEdges:ARt,getSubGraphs:jRt,getTooltip:ERt,getVertices:_Rt,indexNodes:RRt,lex:VRt,lookUpDomId:zF,setClass:jY,setClickEvent:TRt,setDirection:xRt,setGen:IRt,setLink:kRt,updateLink:vRt,updateLinkInterpolate:mRt},Symbol.toStringTag,{value:"Module"}));var mje="[object Symbol]";function L9(i){return typeof i=="symbol"||e4(i)&&b9(i)==mje}function mD(i,a){for(var f=-1,g=i==null?0:i.length,w=Array(g);++f<g;)w[f]=a(i[f],f,i);return w}var vje=1/0,URt=Yw?Yw.prototype:void 0,GRt=URt?URt.toString:void 0;function KRt(i){if(typeof i=="string")return i;if(s1(i))return mD(i,KRt)+"";if(L9(i))return GRt?GRt.call(i):"";var a=i+"";return a=="0"&&1/i==-vje?"-0":a}var yje=/\s/;function xje(i){for(var a=i.length;a--&&yje.test(i.charAt(a)););return a}var kje=/^\s+/;function Eje(i){return i&&i.slice(0,xje(i)+1).replace(kje,"")}var WRt=0/0,Tje=/^[-+]0x[0-9a-f]+$/i,Cje=/^0b[01]+$/i,Sje=/^0o[0-7]+$/i,_je=parseInt;function Aje(i){if(typeof i=="number")return i;if(L9(i))return WRt;if(T2(i)){var a=typeof i.valueOf=="function"?i.valueOf():i;i=T2(a)?a+"":a}if(typeof i!="string")return i===0?i:+i;i=Eje(i);var f=Cje.test(i);return f||Sje.test(i)?_je(i.slice(2),f?2:8):Tje.test(i)?WRt:+i}var YRt=1/0,Lje=17976931348623157e292;function $Y(i){if(!i)return i===0?i:0;if(i=Aje(i),i===YRt||i===-YRt){var a=i<0?-1:1;return a*Lje}return i===i?i:0}function Dje(i){var a=$Y(i),f=a%1;return a===a?f?a-f:a:0}function Mje(){}function XRt(i,a){for(var f=-1,g=i==null?0:i.length;++f<g&&a(i[f],f,i)!==!1;);return i}function QRt(i,a,f,g){for(var w=i.length,v=f+(g?1:-1);g?v--:++v<w;)if(a(i[v],v,i))return v;return-1}function Ije(i){return i!==i}function Oje(i,a,f){for(var g=f-1,w=i.length;++g<w;)if(i[g]===a)return g;return-1}function Nje(i,a,f){return a===a?Oje(i,a,f):QRt(i,Ije,f)}function Pje(i,a){var f=i==null?0:i.length;return!!f&&Nje(i,a,0)>-1}function A2(i){return p8(i)?wFt(i):xBt(i)}var Fje=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bje=/^\w*$/;function opt(i,a){if(s1(i))return!1;var f=typeof i;return f=="number"||f=="symbol"||f=="boolean"||i==null||L9(i)?!0:Bje.test(i)||!Fje.test(i)||a!=null&&i in Object(a)}var Rje=500;function jje(i){var a=eD(i,function(g){return f.size===Rje&&f.clear(),g}),f=a.cache;return a}var $je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zje=/\\(\\)?/g,qje=jje(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace($je,function(f,g,w,v){a.push(w?v.replace(zje,"$1"):g||f)}),a});const Hje=qje;function JRt(i){return i==null?"":KRt(i)}function zY(i,a){return s1(i)?i:opt(i,a)?[i]:Hje(JRt(i))}var Vje=1/0;function HF(i){if(typeof i=="string"||L9(i))return i;var a=i+"";return a=="0"&&1/i==-Vje?"-0":a}function qY(i,a){a=zY(a,i);for(var f=0,g=a.length;i!=null&&f<g;)i=i[HF(a[f++])];return f&&f==g?i:void 0}function Uje(i,a,f){var g=i==null?void 0:qY(i,a);return g===void 0?f:g}function cpt(i,a){for(var f=-1,g=a.length,w=i.length;++f<g;)i[w+f]=a[f];return i}var ZRt=Yw?Yw.isConcatSpreadable:void 0;function Gje(i){return s1(i)||nD(i)||!!(ZRt&&i&&i[ZRt])}function HY(i,a,f,g,w){var v=-1,b=i.length;for(f||(f=Gje),w||(w=[]);++v<b;){var E=i[v];a>0&&f(E)?a>1?HY(E,a-1,f,g,w):cpt(w,E):g||(w[w.length]=E)}return w}function vD(i){var a=i==null?0:i.length;return a?HY(i,1):[]}function Kje(i){return xFt(yFt(i,void 0,vD),i+"")}function Wje(i,a,f,g){var w=-1,v=i==null?0:i.length;for(g&&v&&(f=i[++w]);++w<v;)f=a(f,i[w],w,i);return f}function Yje(i,a){return i&&LF(a,A2(a),i)}function Xje(i,a){return i&&LF(a,y9(a),i)}function tjt(i,a){for(var f=-1,g=i==null?0:i.length,w=0,v=[];++f<g;){var b=i[f];a(b,f,i)&&(v[w++]=b)}return v}function ejt(){return[]}var Qje=Object.prototype,Jje=Qje.propertyIsEnumerable,njt=Object.getOwnPropertySymbols,Zje=njt?function(i){return i==null?[]:(i=Object(i),tjt(njt(i),function(a){return Jje.call(i,a)}))}:ejt;const upt=Zje;function t$e(i,a){return LF(i,upt(i),a)}var e$e=Object.getOwnPropertySymbols,n$e=e$e?function(i){for(var a=[];i;)cpt(a,upt(i)),i=vgt(i);return a}:ejt;const rjt=n$e;function r$e(i,a){return LF(i,rjt(i),a)}function ijt(i,a,f){var g=a(i);return s1(i)?g:cpt(g,f(i))}function lpt(i){return ijt(i,A2,upt)}function i$e(i){return ijt(i,y9,rjt)}var s$e=Object.prototype,a$e=s$e.hasOwnProperty;function o$e(i){var a=i.length,f=new i.constructor(a);return a&&typeof i[0]=="string"&&a$e.call(i,"index")&&(f.index=i.index,f.input=i.input),f}function c$e(i,a){var f=a?mgt(i.buffer):i.buffer;return new i.constructor(f,i.byteOffset,i.byteLength)}var u$e=/\w*$/;function l$e(i){var a=new i.constructor(i.source,u$e.exec(i));return a.lastIndex=i.lastIndex,a}var sjt=Yw?Yw.prototype:void 0,ajt=sjt?sjt.valueOf:void 0;function h$e(i){return ajt?Object(ajt.call(i)):{}}var f$e="[object Boolean]",d$e="[object Date]",g$e="[object Map]",p$e="[object Number]",b$e="[object RegExp]",w$e="[object Set]",m$e="[object String]",v$e="[object Symbol]",y$e="[object ArrayBuffer]",x$e="[object DataView]",k$e="[object Float32Array]",E$e="[object Float64Array]",T$e="[object Int8Array]",C$e="[object Int16Array]",S$e="[object Int32Array]",_$e="[object Uint8Array]",A$e="[object Uint8ClampedArray]",L$e="[object Uint16Array]",D$e="[object Uint32Array]";function M$e(i,a,f){var g=i.constructor;switch(a){case y$e:return mgt(i);case f$e:case d$e:return new g(+i);case x$e:return c$e(i,f);case k$e:case E$e:case T$e:case C$e:case S$e:case _$e:case A$e:case L$e:case D$e:return nFt(i,f);case g$e:return new g;case p$e:case m$e:return new g(i);case b$e:return l$e(i);case w$e:return new g;case v$e:return h$e(i)}}var I$e="[object Map]";function O$e(i){return e4(i)&&hD(i)==I$e}var ojt=iD&&iD.isMap,N$e=ojt?iY(ojt):O$e;const P$e=N$e;var F$e="[object Set]";function B$e(i){return e4(i)&&hD(i)==F$e}var cjt=iD&&iD.isSet,R$e=cjt?iY(cjt):B$e;const j$e=R$e;var $$e=1,z$e=2,q$e=4,ujt="[object Arguments]",H$e="[object Array]",V$e="[object Boolean]",U$e="[object Date]",G$e="[object Error]",ljt="[object Function]",K$e="[object GeneratorFunction]",W$e="[object Map]",Y$e="[object Number]",hjt="[object Object]",X$e="[object RegExp]",Q$e="[object Set]",J$e="[object String]",Z$e="[object Symbol]",tze="[object WeakMap]",eze="[object ArrayBuffer]",nze="[object DataView]",rze="[object Float32Array]",ize="[object Float64Array]",sze="[object Int8Array]",aze="[object Int16Array]",oze="[object Int32Array]",cze="[object Uint8Array]",uze="[object Uint8ClampedArray]",lze="[object Uint16Array]",hze="[object Uint32Array]",Tl={};Tl[ujt]=Tl[H$e]=Tl[eze]=Tl[nze]=Tl[V$e]=Tl[U$e]=Tl[rze]=Tl[ize]=Tl[sze]=Tl[aze]=Tl[oze]=Tl[W$e]=Tl[Y$e]=Tl[hjt]=Tl[X$e]=Tl[Q$e]=Tl[J$e]=Tl[Z$e]=Tl[cze]=Tl[uze]=Tl[lze]=Tl[hze]=!0,Tl[G$e]=Tl[ljt]=Tl[tze]=!1;function VF(i,a,f,g,w,v){var b,E=a&$$e,S=a&z$e,_=a&q$e;if(f&&(b=w?f(i,g,w,v):f(i)),b!==void 0)return b;if(!T2(i))return i;var M=s1(i);if(M){if(b=o$e(i),!E)return rFt(i,b)}else{var F=hD(i),R=F==ljt||F==K$e;if(rD(i))return eFt(i,E);if(F==hjt||F==ujt||R&&!w){if(b=S||R?{}:aFt(i),!E)return S?r$e(i,Xje(b,i)):t$e(i,Yje(b,i))}else{if(!Tl[F])return w?i:{};b=M$e(i,F,E)}}v||(v=new Gv);var B=v.get(i);if(B)return B;v.set(i,b),j$e(i)?i.forEach(function(nt){b.add(VF(nt,a,f,nt,i,v))}):P$e(i)&&i.forEach(function(nt,ot){b.set(ot,VF(nt,a,f,ot,i,v))});var z=_?S?i$e:lpt:S?y9:A2,Y=M?void 0:z(i);return XRt(Y||i,function(nt,ot){Y&&(ot=nt,nt=i[ot]),aY(b,ot,VF(nt,a,f,ot,i,v))}),b}var fze=4;function fjt(i){return VF(i,fze)}var dze=1,gze=4;function pze(i){return VF(i,dze|gze)}var bze="__lodash_hash_undefined__";function wze(i){return this.__data__.set(i,bze),this}function mze(i){return this.__data__.has(i)}function UF(i){var a=-1,f=i==null?0:i.length;for(this.__data__=new Ix;++a<f;)this.add(i[a])}UF.prototype.add=UF.prototype.push=wze,UF.prototype.has=mze;function vze(i,a){for(var f=-1,g=i==null?0:i.length;++f<g;)if(a(i[f],f,i))return!0;return!1}function djt(i,a){return i.has(a)}var yze=1,xze=2;function gjt(i,a,f,g,w,v){var b=f&yze,E=i.length,S=a.length;if(E!=S&&!(b&&S>E))return!1;var _=v.get(i),M=v.get(a);if(_&&M)return _==a&&M==i;var F=-1,R=!0,B=f&xze?new UF:void 0;for(v.set(i,a),v.set(a,i);++F<E;){var z=i[F],Y=a[F];if(g)var nt=b?g(Y,z,F,a,i,v):g(z,Y,F,i,a,v);if(nt!==void 0){if(nt)continue;R=!1;break}if(B){if(!vze(a,function(ot,ft){if(!djt(B,ft)&&(z===ot||w(z,ot,f,g,v)))return B.push(ft)})){R=!1;break}}else if(!(z===Y||w(z,Y,f,g,v))){R=!1;break}}return v.delete(i),v.delete(a),R}function kze(i){var a=-1,f=Array(i.size);return i.forEach(function(g,w){f[++a]=[w,g]}),f}function hpt(i){var a=-1,f=Array(i.size);return i.forEach(function(g){f[++a]=g}),f}var Eze=1,Tze=2,Cze="[object Boolean]",Sze="[object Date]",_ze="[object Error]",Aze="[object Map]",Lze="[object Number]",Dze="[object RegExp]",Mze="[object Set]",Ize="[object String]",Oze="[object Symbol]",Nze="[object ArrayBuffer]",Pze="[object DataView]",pjt=Yw?Yw.prototype:void 0,fpt=pjt?pjt.valueOf:void 0;function Fze(i,a,f,g,w,v,b){switch(f){case Pze:if(i.byteLength!=a.byteLength||i.byteOffset!=a.byteOffset)return!1;i=i.buffer,a=a.buffer;case Nze:return!(i.byteLength!=a.byteLength||!v(new nY(i),new nY(a)));case Cze:case Sze:case Lze:return tD(+i,+a);case _ze:return i.name==a.name&&i.message==a.message;case Dze:case Ize:return i==a+"";case Aze:var E=kze;case Mze:var S=g&Eze;if(E||(E=hpt),i.size!=a.size&&!S)return!1;var _=b.get(i);if(_)return _==a;g|=Tze,b.set(i,a);var M=gjt(E(i),E(a),g,w,v,b);return b.delete(i),M;case Oze:if(fpt)return fpt.call(i)==fpt.call(a)}return!1}var Bze=1,Rze=Object.prototype,jze=Rze.hasOwnProperty;function $ze(i,a,f,g,w,v){var b=f&Bze,E=lpt(i),S=E.length,_=lpt(a),M=_.length;if(S!=M&&!b)return!1;for(var F=S;F--;){var R=E[F];if(!(b?R in a:jze.call(a,R)))return!1}var B=v.get(i),z=v.get(a);if(B&&z)return B==a&&z==i;var Y=!0;v.set(i,a),v.set(a,i);for(var nt=b;++F<S;){R=E[F];var ot=i[R],ft=a[R];if(g)var wt=b?g(ft,ot,R,a,i,v):g(ot,ft,R,i,a,v);if(!(wt===void 0?ot===ft||w(ot,ft,f,g,v):wt)){Y=!1;break}nt||(nt=R=="constructor")}if(Y&&!nt){var mt=i.constructor,ct=a.constructor;mt!=ct&&"constructor"in i&&"constructor"in a&&!(typeof mt=="function"&&mt instanceof mt&&typeof ct=="function"&&ct instanceof ct)&&(Y=!1)}return v.delete(i),v.delete(a),Y}var zze=1,bjt="[object Arguments]",wjt="[object Array]",VY="[object Object]",qze=Object.prototype,mjt=qze.hasOwnProperty;function Hze(i,a,f,g,w,v){var b=s1(i),E=s1(a),S=b?wjt:hD(i),_=E?wjt:hD(a);S=S==bjt?VY:S,_=_==bjt?VY:_;var M=S==VY,F=_==VY,R=S==_;if(R&&rD(i)){if(!rD(a))return!1;b=!0,M=!1}if(R&&!M)return v||(v=new Gv),b||sY(i)?gjt(i,a,f,g,w,v):Fze(i,a,S,f,g,w,v);if(!(f&zze)){var B=M&&mjt.call(i,"__wrapped__"),z=F&&mjt.call(a,"__wrapped__");if(B||z){var Y=B?i.value():i,nt=z?a.value():a;return v||(v=new Gv),w(Y,nt,f,g,v)}}return R?(v||(v=new Gv),$ze(i,a,f,g,w,v)):!1}function dpt(i,a,f,g,w){return i===a?!0:i==null||a==null||!e4(i)&&!e4(a)?i!==i&&a!==a:Hze(i,a,f,g,dpt,w)}var Vze=1,Uze=2;function Gze(i,a,f,g){var w=f.length,v=w,b=!g;if(i==null)return!v;for(i=Object(i);w--;){var E=f[w];if(b&&E[2]?E[1]!==i[E[0]]:!(E[0]in i))return!1}for(;++w<v;){E=f[w];var S=E[0],_=i[S],M=E[1];if(b&&E[2]){if(_===void 0&&!(S in i))return!1}else{var F=new Gv;if(g)var R=g(_,M,S,i,a,F);if(!(R===void 0?dpt(M,_,Vze|Uze,g,F):R))return!1}}return!0}function vjt(i){return i===i&&!T2(i)}function Kze(i){for(var a=A2(i),f=a.length;f--;){var g=a[f],w=i[g];a[f]=[g,w,vjt(w)]}return a}function yjt(i,a){return function(f){return f==null?!1:f[i]===a&&(a!==void 0||i in Object(f))}}function Wze(i){var a=Kze(i);return a.length==1&&a[0][2]?yjt(a[0][0],a[0][1]):function(f){return f===i||Gze(f,i,a)}}function Yze(i,a){return i!=null&&a in Object(i)}function xjt(i,a,f){a=zY(a,i);for(var g=-1,w=a.length,v=!1;++g<w;){var b=HF(a[g]);if(!(v=i!=null&&f(i,b)))break;i=i[b]}return v||++g!=w?v:(w=i==null?0:i.length,!!w&&ygt(w)&&oY(b,w)&&(s1(i)||nD(i)))}function kjt(i,a){return i!=null&&xjt(i,a,Yze)}var Xze=1,Qze=2;function Jze(i,a){return opt(i)&&vjt(a)?yjt(HF(i),a):function(f){var g=Uje(f,i);return g===void 0&&g===a?kjt(f,i):dpt(a,g,Xze|Qze)}}function Zze(i){return function(a){return a==null?void 0:a[i]}}function tqe(i){return function(a){return qY(a,i)}}function eqe(i){return opt(i)?Zze(HF(i)):tqe(i)}function k8(i){return typeof i=="function"?i:i==null?x9:typeof i=="object"?s1(i)?Jze(i[0],i[1]):Wze(i):eqe(i)}function gpt(i,a){return i&&wgt(i,a,A2)}function nqe(i,a){return function(f,g){if(f==null)return f;if(!p8(f))return i(f,g);for(var w=f.length,v=a?w:-1,b=Object(f);(a?v--:++v<w)&&g(b[v],v,b)!==!1;);return f}}var rqe=nqe(gpt);const UY=rqe;var iqe=function(){return Uv.Date.now()};const Ejt=iqe;var Tjt=Object.prototype,sqe=Tjt.hasOwnProperty,aqe=cY(function(i,a){i=Object(i);var f=-1,g=a.length,w=g>2?a[2]:void 0;for(w&&DF(a[0],a[1],w)&&(g=1);++f<g;)for(var v=a[f],b=y9(v),E=-1,S=b.length;++E<S;){var _=b[E],M=i[_];(M===void 0||tD(M,Tjt[_])&&!sqe.call(i,_))&&(i[_]=v[_])}return i});const yD=aqe;function oqe(i,a,f){for(var g=-1,w=i==null?0:i.length;++g<w;)if(f(a,i[g]))return!0;return!1}function GY(i){var a=i==null?0:i.length;return a?i[a-1]:void 0}function ppt(i){return typeof i=="function"?i:x9}function yr(i,a){var f=s1(i)?XRt:UY;return f(i,ppt(a))}function cqe(i,a){var f=[];return UY(i,function(g,w,v){a(g,w,v)&&f.push(g)}),f}function Fx(i,a){var f=s1(i)?tjt:cqe;return f(i,k8(a))}function uqe(i){return function(a,f,g){var w=Object(a);if(!p8(a)){var v=k8(f);a=A2(a),f=function(E){return v(w[E],E,w)}}var b=i(a,f,g);return b>-1?w[v?a[b]:b]:void 0}}var lqe=Math.max;function hqe(i,a,f){var g=i==null?0:i.length;if(!g)return-1;var w=f==null?0:Dje(f);return w<0&&(w=lqe(g+w,0)),QRt(i,k8(a),w)}var fqe=uqe(hqe);const bpt=fqe;function Cjt(i,a){var f=-1,g=p8(i)?Array(i.length):[];return UY(i,function(w,v,b){g[++f]=a(w,v,b)}),g}function u1(i,a){var f=s1(i)?mD:Cjt;return f(i,k8(a))}function dqe(i,a){return i==null?i:wgt(i,ppt(a),y9)}function gqe(i,a){return i&&gpt(i,ppt(a))}function pqe(i,a){return i>a}var bqe=Object.prototype,wqe=bqe.hasOwnProperty;function mqe(i,a){return i!=null&&wqe.call(i,a)}function lo(i,a){return i!=null&&xjt(i,a,mqe)}function vqe(i,a){return mD(a,function(f){return i[f]})}function Bx(i){return i==null?[]:vqe(i,A2(i))}function Tf(i){return i===void 0}function Sjt(i,a){return i<a}function KY(i,a){var f={};return a=k8(a),gpt(i,function(g,w,v){eY(f,w,a(g,w,v))}),f}function wpt(i,a,f){for(var g=-1,w=i.length;++g<w;){var v=i[g],b=a(v);if(b!=null&&(E===void 0?b===b&&!L9(b):f(b,E)))var E=b,S=v}return S}function D9(i){return i&&i.length?wpt(i,x9,pqe):void 0}function GF(i){return i&&i.length?wpt(i,x9,Sjt):void 0}function mpt(i,a){return i&&i.length?wpt(i,k8(a),Sjt):void 0}function yqe(i,a,f,g){if(!T2(i))return i;a=zY(a,i);for(var w=-1,v=a.length,b=v-1,E=i;E!=null&&++w<v;){var S=HF(a[w]),_=f;if(S==="__proto__"||S==="constructor"||S==="prototype")return i;if(w!=b){var M=E[S];_=g?g(M,S,E):void 0,_===void 0&&(_=T2(M)?M:oY(a[w+1])?[]:{})}aY(E,S,_),E=E[S]}return i}function xqe(i,a,f){for(var g=-1,w=a.length,v={};++g<w;){var b=a[g],E=qY(i,b);f(E,b)&&yqe(v,zY(b,i),E)}return v}function kqe(i,a){var f=i.length;for(i.sort(a);f--;)i[f]=i[f].value;return i}function Eqe(i,a){if(i!==a){var f=i!==void 0,g=i===null,w=i===i,v=L9(i),b=a!==void 0,E=a===null,S=a===a,_=L9(a);if(!E&&!_&&!v&&i>a||v&&b&&S&&!E&&!_||g&&b&&S||!f&&S||!w)return 1;if(!g&&!v&&!_&&i<a||_&&f&&w&&!g&&!v||E&&f&&w||!b&&w||!S)return-1}return 0}function Tqe(i,a,f){for(var g=-1,w=i.criteria,v=a.criteria,b=w.length,E=f.length;++g<b;){var S=Eqe(w[g],v[g]);if(S){if(g>=E)return S;var _=f[g];return S*(_=="desc"?-1:1)}}return i.index-a.index}function Cqe(i,a,f){a.length?a=mD(a,function(v){return s1(v)?function(b){return qY(b,v.length===1?v[0]:v)}:v}):a=[x9];var g=-1;a=mD(a,iY(k8));var w=Cjt(i,function(v,b,E){var S=mD(a,function(_){return _(v)});return{criteria:S,index:++g,value:v}});return kqe(w,function(v,b){return Tqe(v,b,f)})}function Sqe(i,a){return xqe(i,a,function(f,g){return kjt(i,g)})}var _qe=Kje(function(i,a){return i==null?{}:Sqe(i,a)});const KF=_qe;var Aqe=Math.ceil,Lqe=Math.max;function Dqe(i,a,f,g){for(var w=-1,v=Lqe(Aqe((a-i)/(f||1)),0),b=Array(v);v--;)b[g?v:++w]=i,i+=f;return b}function Mqe(i){return function(a,f,g){return g&&typeof g!="number"&&DF(a,f,g)&&(f=g=void 0),a=$Y(a),f===void 0?(f=a,a=0):f=$Y(f),g=g===void 0?a<f?1:-1:$Y(g),Dqe(a,f,g,i)}}var Iqe=Mqe();const M9=Iqe;function Oqe(i,a,f,g,w){return w(i,function(v,b,E){f=g?(g=!1,v):a(f,v,b,E)}),f}function WF(i,a,f){var g=s1(i)?Wje:Oqe,w=arguments.length<3;return g(i,k8(a),f,w,UY)}var Nqe=cY(function(i,a){if(i==null)return[];var f=a.length;return f>1&&DF(i,a[0],a[1])?a=[]:f>2&&DF(a[0],a[1],a[2])&&(a=[a[0]]),Cqe(i,HY(a,1),[])});const YF=Nqe;var Pqe=1/0,Fqe=lD&&1/hpt(new lD([,-0]))[1]==Pqe?function(i){return new lD(i)}:Mje;const Bqe=Fqe;var Rqe=200;function jqe(i,a,f){var g=-1,w=Pje,v=i.length,b=!0,E=[],S=E;if(f)b=!1,w=oqe;else if(v>=Rqe){var _=a?null:Bqe(i);if(_)return hpt(_);b=!1,w=djt,S=new UF}else S=a?[]:E;t:for(;++g<v;){var M=i[g],F=a?a(M):M;if(M=f||M!==0?M:0,b&&F===F){for(var R=S.length;R--;)if(S[R]===F)continue t;a&&S.push(F),E.push(M)}else w(S,F,f)||(S!==E&&S.push(F),E.push(M))}return E}var $qe=cY(function(i){return jqe(HY(i,1,uFt,!0))});const zqe=$qe;var qqe=0;function WY(i){var a=++qqe;return JRt(i)+a}function Hqe(i,a,f){for(var g=-1,w=i.length,v=a.length,b={};++g<w;){var E=g<v?a[g]:void 0;f(b,i[g],E)}return b}function Vqe(i,a){return Hqe(i||[],a||[],aY)}var Uqe="\0",I9="\0",_jt="";class l1{constructor(a={}){this._isDirected=lo(a,"directed")?a.directed:!0,this._isMultigraph=lo(a,"multigraph")?a.multigraph:!1,this._isCompound=lo(a,"compound")?a.compound:!1,this._label=void 0,this._defaultNodeLabelFn=sD(void 0),this._defaultEdgeLabelFn=sD(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[I9]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(a){return this._label=a,this}graph(){return this._label}setDefaultNodeLabel(a){return ZL(a)||(a=sD(a)),this._defaultNodeLabelFn=a,this}nodeCount(){return this._nodeCount}nodes(){return A2(this._nodes)}sources(){var a=this;return Fx(this.nodes(),function(f){return BF(a._in[f])})}sinks(){var a=this;return Fx(this.nodes(),function(f){return BF(a._out[f])})}setNodes(a,f){var g=arguments,w=this;return yr(a,function(v){g.length>1?w.setNode(v,f):w.setNode(v)}),this}setNode(a,f){return lo(this._nodes,a)?(arguments.length>1&&(this._nodes[a]=f),this):(this._nodes[a]=arguments.length>1?f:this._defaultNodeLabelFn(a),this._isCompound&&(this._parent[a]=I9,this._children[a]={},this._children[I9][a]=!0),this._in[a]={},this._preds[a]={},this._out[a]={},this._sucs[a]={},++this._nodeCount,this)}node(a){return this._nodes[a]}hasNode(a){return lo(this._nodes,a)}removeNode(a){var f=this;if(lo(this._nodes,a)){var g=function(w){f.removeEdge(f._edgeObjs[w])};delete this._nodes[a],this._isCompound&&(this._removeFromParentsChildList(a),delete this._parent[a],yr(this.children(a),function(w){f.setParent(w)}),delete this._children[a]),yr(A2(this._in[a]),g),delete this._in[a],delete this._preds[a],yr(A2(this._out[a]),g),delete this._out[a],delete this._sucs[a],--this._nodeCount}return this}setParent(a,f){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(Tf(f))f=I9;else{f+="";for(var g=f;!Tf(g);g=this.parent(g))if(g===a)throw new Error("Setting "+f+" as parent of "+a+" would create a cycle");this.setNode(f)}return this.setNode(a),this._removeFromParentsChildList(a),this._parent[a]=f,this._children[f][a]=!0,this}_removeFromParentsChildList(a){delete this._children[this._parent[a]][a]}parent(a){if(this._isCompound){var f=this._parent[a];if(f!==I9)return f}}children(a){if(Tf(a)&&(a=I9),this._isCompound){var f=this._children[a];if(f)return A2(f)}else{if(a===I9)return this.nodes();if(this.hasNode(a))return[]}}predecessors(a){var f=this._preds[a];if(f)return A2(f)}successors(a){var f=this._sucs[a];if(f)return A2(f)}neighbors(a){var f=this.predecessors(a);if(f)return zqe(f,this.successors(a))}isLeaf(a){var f;return this.isDirected()?f=this.successors(a):f=this.neighbors(a),f.length===0}filterNodes(a){var f=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});f.setGraph(this.graph());var g=this;yr(this._nodes,function(b,E){a(E)&&f.setNode(E,b)}),yr(this._edgeObjs,function(b){f.hasNode(b.v)&&f.hasNode(b.w)&&f.setEdge(b,g.edge(b))});var w={};function v(b){var E=g.parent(b);return E===void 0||f.hasNode(E)?(w[b]=E,E):E in w?w[E]:v(E)}return this._isCompound&&yr(f.nodes(),function(b){f.setParent(b,v(b))}),f}setDefaultEdgeLabel(a){return ZL(a)||(a=sD(a)),this._defaultEdgeLabelFn=a,this}edgeCount(){return this._edgeCount}edges(){return Bx(this._edgeObjs)}setPath(a,f){var g=this,w=arguments;return WF(a,function(v,b){return w.length>1?g.setEdge(v,b,f):g.setEdge(v,b),b}),this}setEdge(){var a,f,g,w,v=!1,b=arguments[0];typeof b=="object"&&b!==null&&"v"in b?(a=b.v,f=b.w,g=b.name,arguments.length===2&&(w=arguments[1],v=!0)):(a=b,f=arguments[1],g=arguments[3],arguments.length>2&&(w=arguments[2],v=!0)),a=""+a,f=""+f,Tf(g)||(g=""+g);var E=XF(this._isDirected,a,f,g);if(lo(this._edgeLabels,E))return v&&(this._edgeLabels[E]=w),this;if(!Tf(g)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(a),this.setNode(f),this._edgeLabels[E]=v?w:this._defaultEdgeLabelFn(a,f,g);var S=Gqe(this._isDirected,a,f,g);return a=S.v,f=S.w,Object.freeze(S),this._edgeObjs[E]=S,Ajt(this._preds[f],a),Ajt(this._sucs[a],f),this._in[f][E]=S,this._out[a][E]=S,this._edgeCount++,this}edge(a,f,g){var w=arguments.length===1?vpt(this._isDirected,arguments[0]):XF(this._isDirected,a,f,g);return this._edgeLabels[w]}hasEdge(a,f,g){var w=arguments.length===1?vpt(this._isDirected,arguments[0]):XF(this._isDirected,a,f,g);return lo(this._edgeLabels,w)}removeEdge(a,f,g){var w=arguments.length===1?vpt(this._isDirected,arguments[0]):XF(this._isDirected,a,f,g),v=this._edgeObjs[w];return v&&(a=v.v,f=v.w,delete this._edgeLabels[w],delete this._edgeObjs[w],Ljt(this._preds[f],a),Ljt(this._sucs[a],f),delete this._in[f][w],delete this._out[a][w],this._edgeCount--),this}inEdges(a,f){var g=this._in[a];if(g){var w=Bx(g);return f?Fx(w,function(v){return v.v===f}):w}}outEdges(a,f){var g=this._out[a];if(g){var w=Bx(g);return f?Fx(w,function(v){return v.w===f}):w}}nodeEdges(a,f){var g=this.inEdges(a,f);if(g)return g.concat(this.outEdges(a,f))}}l1.prototype._nodeCount=0,l1.prototype._edgeCount=0;function Ajt(i,a){i[a]?i[a]++:i[a]=1}function Ljt(i,a){--i[a]||delete i[a]}function XF(i,a,f,g){var w=""+a,v=""+f;if(!i&&w>v){var b=w;w=v,v=b}return w+_jt+v+_jt+(Tf(g)?Uqe:g)}function Gqe(i,a,f,g){var w=""+a,v=""+f;if(!i&&w>v){var b=w;w=v,v=b}var E={v:w,w:v};return g&&(E.name=g),E}function vpt(i,a){return XF(i,a.v,a.w,a.name)}class Kqe{constructor(){var a={};a._next=a._prev=a,this._sentinel=a}dequeue(){var a=this._sentinel,f=a._prev;if(f!==a)return Djt(f),f}enqueue(a){var f=this._sentinel;a._prev&&a._next&&Djt(a),a._next=f._next,f._next._prev=a,f._next=a,a._prev=f}toString(){for(var a=[],f=this._sentinel,g=f._prev;g!==f;)a.push(JSON.stringify(g,Wqe)),g=g._prev;return"["+a.join(", ")+"]"}}function Djt(i){i._prev._next=i._next,i._next._prev=i._prev,delete i._next,delete i._prev}function Wqe(i,a){if(i!=="_next"&&i!=="_prev")return a}var Yqe=sD(1);function Xqe(i,a){if(i.nodeCount()<=1)return[];var f=Jqe(i,a||Yqe),g=Qqe(f.graph,f.buckets,f.zeroIdx);return vD(u1(g,function(w){return i.outEdges(w.v,w.w)}))}function Qqe(i,a,f){for(var g=[],w=a[a.length-1],v=a[0],b;i.nodeCount();){for(;b=v.dequeue();)ypt(i,a,f,b);for(;b=w.dequeue();)ypt(i,a,f,b);if(i.nodeCount()){for(var E=a.length-2;E>0;--E)if(b=a[E].dequeue(),b){g=g.concat(ypt(i,a,f,b,!0));break}}}return g}function ypt(i,a,f,g,w){var v=w?[]:void 0;return yr(i.inEdges(g.v),function(b){var E=i.edge(b),S=i.node(b.v);w&&v.push({v:b.v,w:b.w}),S.out-=E,xpt(a,f,S)}),yr(i.outEdges(g.v),function(b){var E=i.edge(b),S=b.w,_=i.node(S);_.in-=E,xpt(a,f,_)}),i.removeNode(g.v),v}function Jqe(i,a){var f=new l1,g=0,w=0;yr(i.nodes(),function(E){f.setNode(E,{v:E,in:0,out:0})}),yr(i.edges(),function(E){var S=f.edge(E.v,E.w)||0,_=a(E),M=S+_;f.setEdge(E.v,E.w,M),w=Math.max(w,f.node(E.v).out+=_),g=Math.max(g,f.node(E.w).in+=_)});var v=M9(w+g+3).map(function(){return new Kqe}),b=g+1;return yr(f.nodes(),function(E){xpt(v,b,f.node(E))}),{graph:f,buckets:v,zeroIdx:b}}function xpt(i,a,f){f.out?f.in?i[f.out-f.in+a].enqueue(f):i[i.length-1].enqueue(f):i[0].enqueue(f)}function Zqe(i){var a=i.graph().acyclicer==="greedy"?Xqe(i,f(i)):tHe(i);yr(a,function(g){var w=i.edge(g);i.removeEdge(g),w.forwardName=g.name,w.reversed=!0,i.setEdge(g.w,g.v,w,WY("rev"))});function f(g){return function(w){return g.edge(w).weight}}}function tHe(i){var a=[],f={},g={};function w(v){lo(g,v)||(g[v]=!0,f[v]=!0,yr(i.outEdges(v),function(b){lo(f,b.w)?a.push(b):w(b.w)}),delete f[v])}return yr(i.nodes(),w),a}function eHe(i){yr(i.edges(),function(a){var f=i.edge(a);if(f.reversed){i.removeEdge(a);var g=f.forwardName;delete f.reversed,delete f.forwardName,i.setEdge(a.w,a.v,f,g)}})}function xD(i,a,f,g){var w;do w=WY(g);while(i.hasNode(w));return f.dummy=a,i.setNode(w,f),w}function nHe(i){var a=new l1().setGraph(i.graph());return yr(i.nodes(),function(f){a.setNode(f,i.node(f))}),yr(i.edges(),function(f){var g=a.edge(f.v,f.w)||{weight:0,minlen:1},w=i.edge(f);a.setEdge(f.v,f.w,{weight:g.weight+w.weight,minlen:Math.max(g.minlen,w.minlen)})}),a}function Mjt(i){var a=new l1({multigraph:i.isMultigraph()}).setGraph(i.graph());return yr(i.nodes(),function(f){i.children(f).length||a.setNode(f,i.node(f))}),yr(i.edges(),function(f){a.setEdge(f,i.edge(f))}),a}function Ijt(i,a){var f=i.x,g=i.y,w=a.x-f,v=a.y-g,b=i.width/2,E=i.height/2;if(!w&&!v)throw new Error("Not possible to find intersection inside of the rectangle");var S,_;return Math.abs(v)*b>Math.abs(w)*E?(v<0&&(E=-E),S=E*w/v,_=E):(w<0&&(b=-b),S=b,_=b*v/w),{x:f+S,y:g+_}}function YY(i){var a=u1(M9(Njt(i)+1),function(){return[]});return yr(i.nodes(),function(f){var g=i.node(f),w=g.rank;Tf(w)||(a[w][g.order]=f)}),a}function rHe(i){var a=GF(u1(i.nodes(),function(f){return i.node(f).rank}));yr(i.nodes(),function(f){var g=i.node(f);lo(g,"rank")&&(g.rank-=a)})}function iHe(i){var a=GF(u1(i.nodes(),function(v){return i.node(v).rank})),f=[];yr(i.nodes(),function(v){var b=i.node(v).rank-a;f[b]||(f[b]=[]),f[b].push(v)});var g=0,w=i.graph().nodeRankFactor;yr(f,function(v,b){Tf(v)&&b%w!==0?--g:g&&yr(v,function(E){i.node(E).rank+=g})})}function Ojt(i,a,f,g){var w={width:0,height:0};return arguments.length>=4&&(w.rank=f,w.order=g),xD(i,"border",w,a)}function Njt(i){return D9(u1(i.nodes(),function(a){var f=i.node(a).rank;if(!Tf(f))return f}))}function sHe(i,a){var f={lhs:[],rhs:[]};return yr(i,function(g){a(g)?f.lhs.push(g):f.rhs.push(g)}),f}function aHe(i,a){var f=Ejt();try{return a()}finally{console.log(i+" time: "+(Ejt()-f)+"ms")}}function oHe(i,a){return a()}function cHe(i){function a(f){var g=i.children(f),w=i.node(f);if(g.length&&yr(g,a),lo(w,"minRank")){w.borderLeft=[],w.borderRight=[];for(var v=w.minRank,b=w.maxRank+1;v<b;++v)Pjt(i,"borderLeft","_bl",f,w,v),Pjt(i,"borderRight","_br",f,w,v)}}yr(i.children(),a)}function Pjt(i,a,f,g,w,v){var b={width:0,height:0,rank:v,borderType:a},E=w[a][v-1],S=xD(i,"border",b,f);w[a][v]=S,i.setParent(S,g),E&&i.setEdge(E,S,{weight:1})}function uHe(i){var a=i.graph().rankdir.toLowerCase();(a==="lr"||a==="rl")&&Fjt(i)}function lHe(i){var a=i.graph().rankdir.toLowerCase();(a==="bt"||a==="rl")&&hHe(i),(a==="lr"||a==="rl")&&(fHe(i),Fjt(i))}function Fjt(i){yr(i.nodes(),function(a){Bjt(i.node(a))}),yr(i.edges(),function(a){Bjt(i.edge(a))})}function Bjt(i){var a=i.width;i.width=i.height,i.height=a}function hHe(i){yr(i.nodes(),function(a){kpt(i.node(a))}),yr(i.edges(),function(a){var f=i.edge(a);yr(f.points,kpt),lo(f,"y")&&kpt(f)})}function kpt(i){i.y=-i.y}function fHe(i){yr(i.nodes(),function(a){Ept(i.node(a))}),yr(i.edges(),function(a){var f=i.edge(a);yr(f.points,Ept),lo(f,"x")&&Ept(f)})}function Ept(i){var a=i.x;i.x=i.y,i.y=a}function dHe(i){i.graph().dummyChains=[],yr(i.edges(),function(a){gHe(i,a)})}function gHe(i,a){var f=a.v,g=i.node(f).rank,w=a.w,v=i.node(w).rank,b=a.name,E=i.edge(a),S=E.labelRank;if(v!==g+1){i.removeEdge(a);var _,M,F;for(F=0,++g;g<v;++F,++g)E.points=[],M={width:0,height:0,edgeLabel:E,edgeObj:a,rank:g},_=xD(i,"edge",M,"_d"),g===S&&(M.width=E.width,M.height=E.height,M.dummy="edge-label",M.labelpos=E.labelpos),i.setEdge(f,_,{weight:E.weight},b),F===0&&i.graph().dummyChains.push(_),f=_;i.setEdge(f,w,{weight:E.weight},b)}}function pHe(i){yr(i.graph().dummyChains,function(a){var f=i.node(a),g=f.edgeLabel,w;for(i.setEdge(f.edgeObj,g);f.dummy;)w=i.successors(a)[0],i.removeNode(a),g.points.push({x:f.x,y:f.y}),f.dummy==="edge-label"&&(g.x=f.x,g.y=f.y,g.width=f.width,g.height=f.height),a=w,f=i.node(a)})}function Tpt(i){var a={};function f(g){var w=i.node(g);if(lo(a,g))return w.rank;a[g]=!0;var v=GF(u1(i.outEdges(g),function(b){return f(b.w)-i.edge(b).minlen}));return(v===Number.POSITIVE_INFINITY||v===void 0||v===null)&&(v=0),w.rank=v}yr(i.sources(),f)}function QF(i,a){return i.node(a.w).rank-i.node(a.v).rank-i.edge(a).minlen}function Rjt(i){var a=new l1({directed:!1}),f=i.nodes()[0],g=i.nodeCount();a.setNode(f,{});for(var w,v;bHe(a,i)<g;)w=wHe(a,i),v=a.hasNode(w.v)?QF(i,w):-QF(i,w),mHe(a,i,v);return a}function bHe(i,a){function f(g){yr(a.nodeEdges(g),function(w){var v=w.v,b=g===v?w.w:v;!i.hasNode(b)&&!QF(a,w)&&(i.setNode(b,{}),i.setEdge(g,b,{}),f(b))})}return yr(i.nodes(),f),i.nodeCount()}function wHe(i,a){return mpt(a.edges(),function(f){if(i.hasNode(f.v)!==i.hasNode(f.w))return QF(a,f)})}function mHe(i,a,f){yr(i.nodes(),function(g){a.node(g).rank+=f})}function vHe(){}vHe.prototype=new Error;function jjt(i,a,f){s1(a)||(a=[a]);var g=(i.isDirected()?i.successors:i.neighbors).bind(i),w=[],v={};return yr(a,function(b){if(!i.hasNode(b))throw new Error("Graph does not have node: "+b);$jt(i,b,f==="post",v,g,w)}),w}function $jt(i,a,f,g,w,v){lo(g,a)||(g[a]=!0,f||v.push(a),yr(w(a),function(b){$jt(i,b,f,g,w,v)}),f&&v.push(a))}function yHe(i,a){return jjt(i,a,"post")}function xHe(i,a){return jjt(i,a,"pre")}O9.initLowLimValues=Spt,O9.initCutValues=Cpt,O9.calcCutValue=zjt,O9.leaveEdge=Hjt,O9.enterEdge=Vjt,O9.exchangeEdges=Ujt;function O9(i){i=nHe(i),Tpt(i);var a=Rjt(i);Spt(a),Cpt(a,i);for(var f,g;f=Hjt(a);)g=Vjt(a,i,f),Ujt(a,i,f,g)}function Cpt(i,a){var f=yHe(i,i.nodes());f=f.slice(0,f.length-1),yr(f,function(g){kHe(i,a,g)})}function kHe(i,a,f){var g=i.node(f),w=g.parent;i.edge(f,w).cutvalue=zjt(i,a,f)}function zjt(i,a,f){var g=i.node(f),w=g.parent,v=!0,b=a.edge(f,w),E=0;return b||(v=!1,b=a.edge(w,f)),E=b.weight,yr(a.nodeEdges(f),function(S){var _=S.v===f,M=_?S.w:S.v;if(M!==w){var F=_===v,R=a.edge(S).weight;if(E+=F?R:-R,THe(i,f,M)){var B=i.edge(f,M).cutvalue;E+=F?-B:B}}}),E}function Spt(i,a){arguments.length<2&&(a=i.nodes()[0]),qjt(i,{},1,a)}function qjt(i,a,f,g,w){var v=f,b=i.node(g);return a[g]=!0,yr(i.neighbors(g),function(E){lo(a,E)||(f=qjt(i,a,f,E,g))}),b.low=v,b.lim=f++,w?b.parent=w:delete b.parent,f}function Hjt(i){return bpt(i.edges(),function(a){return i.edge(a).cutvalue<0})}function Vjt(i,a,f){var g=f.v,w=f.w;a.hasEdge(g,w)||(g=f.w,w=f.v);var v=i.node(g),b=i.node(w),E=v,S=!1;v.lim>b.lim&&(E=b,S=!0);var _=Fx(a.edges(),function(M){return S===Gjt(i,i.node(M.v),E)&&S!==Gjt(i,i.node(M.w),E)});return mpt(_,function(M){return QF(a,M)})}function Ujt(i,a,f,g){var w=f.v,v=f.w;i.removeEdge(w,v),i.setEdge(g.v,g.w,{}),Spt(i),Cpt(i,a),EHe(i,a)}function EHe(i,a){var f=bpt(i.nodes(),function(w){return!a.node(w).parent}),g=xHe(i,f);g=g.slice(1),yr(g,function(w){var v=i.node(w).parent,b=a.edge(w,v),E=!1;b||(b=a.edge(v,w),E=!0),a.node(w).rank=a.node(v).rank+(E?b.minlen:-b.minlen)})}function THe(i,a,f){return i.hasEdge(a,f)}function Gjt(i,a,f){return f.low<=a.lim&&a.lim<=f.lim}function CHe(i){switch(i.graph().ranker){case"network-simplex":Kjt(i);break;case"tight-tree":_He(i);break;case"longest-path":SHe(i);break;default:Kjt(i)}}var SHe=Tpt;function _He(i){Tpt(i),Rjt(i)}function Kjt(i){O9(i)}function AHe(i){var a=xD(i,"root",{},"_root"),f=LHe(i),g=D9(Bx(f))-1,w=2*g+1;i.graph().nestingRoot=a,yr(i.edges(),function(b){i.edge(b).minlen*=w});var v=DHe(i)+1;yr(i.children(),function(b){Wjt(i,a,w,v,g,f,b)}),i.graph().nodeRankFactor=w}function Wjt(i,a,f,g,w,v,b){var E=i.children(b);if(!E.length){b!==a&&i.setEdge(a,b,{weight:0,minlen:f});return}var S=Ojt(i,"_bt"),_=Ojt(i,"_bb"),M=i.node(b);i.setParent(S,b),M.borderTop=S,i.setParent(_,b),M.borderBottom=_,yr(E,function(F){Wjt(i,a,f,g,w,v,F);var R=i.node(F),B=R.borderTop?R.borderTop:F,z=R.borderBottom?R.borderBottom:F,Y=R.borderTop?g:2*g,nt=B!==z?1:w-v[b]+1;i.setEdge(S,B,{weight:Y,minlen:nt,nestingEdge:!0}),i.setEdge(z,_,{weight:Y,minlen:nt,nestingEdge:!0})}),i.parent(b)||i.setEdge(a,S,{weight:0,minlen:w+v[b]})}function LHe(i){var a={};function f(g,w){var v=i.children(g);v&&v.length&&yr(v,function(b){f(b,w+1)}),a[g]=w}return yr(i.children(),function(g){f(g,1)}),a}function DHe(i){return WF(i.edges(),function(a,f){return a+i.edge(f).weight},0)}function MHe(i){var a=i.graph();i.removeNode(a.nestingRoot),delete a.nestingRoot,yr(i.edges(),function(f){var g=i.edge(f);g.nestingEdge&&i.removeEdge(f)})}function IHe(i,a,f){var g={},w;yr(f,function(v){for(var b=i.parent(v),E,S;b;){if(E=i.parent(b),E?(S=g[E],g[E]=b):(S=w,w=b),S&&S!==b){a.setEdge(S,b);return}b=E}})}function OHe(i,a,f){var g=NHe(i),w=new l1({compound:!0}).setGraph({root:g}).setDefaultNodeLabel(function(v){return i.node(v)});return yr(i.nodes(),function(v){var b=i.node(v),E=i.parent(v);(b.rank===a||b.minRank<=a&&a<=b.maxRank)&&(w.setNode(v),w.setParent(v,E||g),yr(i[f](v),function(S){var _=S.v===v?S.w:S.v,M=w.edge(_,v),F=Tf(M)?0:M.weight;w.setEdge(_,v,{weight:i.edge(S).weight+F})}),lo(b,"minRank")&&w.setNode(v,{borderLeft:b.borderLeft[a],borderRight:b.borderRight[a]}))}),w}function NHe(i){for(var a;i.hasNode(a=WY("_root")););return a}function PHe(i,a){for(var f=0,g=1;g<a.length;++g)f+=FHe(i,a[g-1],a[g]);return f}function FHe(i,a,f){for(var g=Vqe(f,u1(f,function(_,M){return M})),w=vD(u1(a,function(_){return YF(u1(i.outEdges(_),function(M){return{pos:g[M.w],weight:i.edge(M).weight}}),"pos")})),v=1;v<f.length;)v<<=1;var b=2*v-1;v-=1;var E=u1(new Array(b),function(){return 0}),S=0;return yr(w.forEach(function(_){var M=_.pos+v;E[M]+=_.weight;for(var F=0;M>0;)M%2&&(F+=E[M+1]),M=M-1>>1,E[M]+=_.weight;S+=_.weight*F})),S}function BHe(i){var a={},f=Fx(i.nodes(),function(E){return!i.children(E).length}),g=D9(u1(f,function(E){return i.node(E).rank})),w=u1(M9(g+1),function(){return[]});function v(E){if(!lo(a,E)){a[E]=!0;var S=i.node(E);w[S.rank].push(E),yr(i.successors(E),v)}}var b=YF(f,function(E){return i.node(E).rank});return yr(b,v),w}function RHe(i,a){return u1(a,function(f){var g=i.inEdges(f);if(g.length){var w=WF(g,function(v,b){var E=i.edge(b),S=i.node(b.v);return{sum:v.sum+E.weight*S.order,weight:v.weight+E.weight}},{sum:0,weight:0});return{v:f,barycenter:w.sum/w.weight,weight:w.weight}}else return{v:f}})}function jHe(i,a){var f={};yr(i,function(w,v){var b=f[w.v]={indegree:0,in:[],out:[],vs:[w.v],i:v};Tf(w.barycenter)||(b.barycenter=w.barycenter,b.weight=w.weight)}),yr(a.edges(),function(w){var v=f[w.v],b=f[w.w];!Tf(v)&&!Tf(b)&&(b.indegree++,v.out.push(f[w.w]))});var g=Fx(f,function(w){return!w.indegree});return $He(g)}function $He(i){var a=[];function f(v){return function(b){b.merged||(Tf(b.barycenter)||Tf(v.barycenter)||b.barycenter>=v.barycenter)&&zHe(v,b)}}function g(v){return function(b){b.in.push(v),--b.indegree===0&&i.push(b)}}for(;i.length;){var w=i.pop();a.push(w),yr(w.in.reverse(),f(w)),yr(w.out,g(w))}return u1(Fx(a,function(v){return!v.merged}),function(v){return KF(v,["vs","i","barycenter","weight"])})}function zHe(i,a){var f=0,g=0;i.weight&&(f+=i.barycenter*i.weight,g+=i.weight),a.weight&&(f+=a.barycenter*a.weight,g+=a.weight),i.vs=a.vs.concat(i.vs),i.barycenter=f/g,i.weight=g,i.i=Math.min(a.i,i.i),a.merged=!0}function qHe(i,a){var f=sHe(i,function(M){return lo(M,"barycenter")}),g=f.lhs,w=YF(f.rhs,function(M){return-M.i}),v=[],b=0,E=0,S=0;g.sort(HHe(!!a)),S=Yjt(v,w,S),yr(g,function(M){S+=M.vs.length,v.push(M.vs),b+=M.barycenter*M.weight,E+=M.weight,S=Yjt(v,w,S)});var _={vs:vD(v)};return E&&(_.barycenter=b/E,_.weight=E),_}function Yjt(i,a,f){for(var g;a.length&&(g=GY(a)).i<=f;)a.pop(),i.push(g.vs),f++;return f}function HHe(i){return function(a,f){return a.barycenter<f.barycenter?-1:a.barycenter>f.barycenter?1:i?f.i-a.i:a.i-f.i}}function Xjt(i,a,f,g){var w=i.children(a),v=i.node(a),b=v?v.borderLeft:void 0,E=v?v.borderRight:void 0,S={};b&&(w=Fx(w,function(z){return z!==b&&z!==E}));var _=RHe(i,w);yr(_,function(z){if(i.children(z.v).length){var Y=Xjt(i,z.v,f,g);S[z.v]=Y,lo(Y,"barycenter")&&UHe(z,Y)}});var M=jHe(_,f);VHe(M,S);var F=qHe(M,g);if(b&&(F.vs=vD([b,F.vs,E]),i.predecessors(b).length)){var R=i.node(i.predecessors(b)[0]),B=i.node(i.predecessors(E)[0]);lo(F,"barycenter")||(F.barycenter=0,F.weight=0),F.barycenter=(F.barycenter*F.weight+R.order+B.order)/(F.weight+2),F.weight+=2}return F}function VHe(i,a){yr(i,function(f){f.vs=vD(f.vs.map(function(g){return a[g]?a[g].vs:g}))})}function UHe(i,a){Tf(i.barycenter)?(i.barycenter=a.barycenter,i.weight=a.weight):(i.barycenter=(i.barycenter*i.weight+a.barycenter*a.weight)/(i.weight+a.weight),i.weight+=a.weight)}function GHe(i){var a=Njt(i),f=Qjt(i,M9(1,a+1),"inEdges"),g=Qjt(i,M9(a-1,-1,-1),"outEdges"),w=BHe(i);Jjt(i,w);for(var v=Number.POSITIVE_INFINITY,b,E=0,S=0;S<4;++E,++S){KHe(E%2?f:g,E%4>=2),w=YY(i);var _=PHe(i,w);_<v&&(S=0,b=pze(w),v=_)}Jjt(i,b)}function Qjt(i,a,f){return u1(a,function(g){return OHe(i,g,f)})}function KHe(i,a){var f=new l1;yr(i,function(g){var w=g.graph().root,v=Xjt(g,w,f,a);yr(v.vs,function(b,E){g.node(b).order=E}),IHe(g,f,v.vs)})}function Jjt(i,a){yr(a,function(f){yr(f,function(g,w){i.node(g).order=w})})}function WHe(i){var a=XHe(i);yr(i.graph().dummyChains,function(f){for(var g=i.node(f),w=g.edgeObj,v=YHe(i,a,w.v,w.w),b=v.path,E=v.lca,S=0,_=b[S],M=!0;f!==w.w;){if(g=i.node(f),M){for(;(_=b[S])!==E&&i.node(_).maxRank<g.rank;)S++;_===E&&(M=!1)}if(!M){for(;S<b.length-1&&i.node(_=b[S+1]).minRank<=g.rank;)S++;_=b[S]}i.setParent(f,_),f=i.successors(f)[0]}})}function YHe(i,a,f,g){var w=[],v=[],b=Math.min(a[f].low,a[g].low),E=Math.max(a[f].lim,a[g].lim),S,_;S=f;do S=i.parent(S),w.push(S);while(S&&(a[S].low>b||E>a[S].lim));for(_=S,S=g;(S=i.parent(S))!==_;)v.push(S);return{path:w.concat(v.reverse()),lca:_}}function XHe(i){var a={},f=0;function g(w){var v=f;yr(i.children(w),g),a[w]={low:v,lim:f++}}return yr(i.children(),g),a}function QHe(i,a){var f={};function g(w,v){var b=0,E=0,S=w.length,_=GY(v);return yr(v,function(M,F){var R=ZHe(i,M),B=R?i.node(R).order:S;(R||M===_)&&(yr(v.slice(E,F+1),function(z){yr(i.predecessors(z),function(Y){var nt=i.node(Y),ot=nt.order;(ot<b||B<ot)&&!(nt.dummy&&i.node(z).dummy)&&Zjt(f,Y,z)})}),E=F+1,b=B)}),v}return WF(a,g),f}function JHe(i,a){var f={};function g(v,b,E,S,_){var M;yr(M9(b,E),function(F){M=v[F],i.node(M).dummy&&yr(i.predecessors(M),function(R){var B=i.node(R);B.dummy&&(B.order<S||B.order>_)&&Zjt(f,R,M)})})}function w(v,b){var E=-1,S,_=0;return yr(b,function(M,F){if(i.node(M).dummy==="border"){var R=i.predecessors(M);R.length&&(S=i.node(R[0]).order,g(b,_,F,E,S),_=F,E=S)}g(b,_,b.length,S,v.length)}),b}return WF(a,w),f}function ZHe(i,a){if(i.node(a).dummy)return bpt(i.predecessors(a),function(f){return i.node(f).dummy})}function Zjt(i,a,f){if(a>f){var g=a;a=f,f=g}var w=i[a];w||(i[a]=w={}),w[f]=!0}function tVe(i,a,f){if(a>f){var g=a;a=f,f=g}return lo(i[a],f)}function eVe(i,a,f,g){var w={},v={},b={};return yr(a,function(E){yr(E,function(S,_){w[S]=S,v[S]=S,b[S]=_})}),yr(a,function(E){var S=-1;yr(E,function(_){var M=g(_);if(M.length){M=YF(M,function(Y){return b[Y]});for(var F=(M.length-1)/2,R=Math.floor(F),B=Math.ceil(F);R<=B;++R){var z=M[R];v[_]===_&&S<b[z]&&!tVe(f,_,z)&&(v[z]=_,v[_]=w[_]=w[z],S=b[z])}}})}),{root:w,align:v}}function nVe(i,a,f,g,w){var v={},b=rVe(i,a,f,w),E=w?"borderLeft":"borderRight";function S(F,R){for(var B=b.nodes(),z=B.pop(),Y={};z;)Y[z]?F(z):(Y[z]=!0,B.push(z),B=B.concat(R(z))),z=B.pop()}function _(F){v[F]=b.inEdges(F).reduce(function(R,B){return Math.max(R,v[B.v]+b.edge(B))},0)}function M(F){var R=b.outEdges(F).reduce(function(z,Y){return Math.min(z,v[Y.w]-b.edge(Y))},Number.POSITIVE_INFINITY),B=i.node(F);R!==Number.POSITIVE_INFINITY&&B.borderType!==E&&(v[F]=Math.max(v[F],R))}return S(_,b.predecessors.bind(b)),S(M,b.successors.bind(b)),yr(g,function(F){v[F]=v[f[F]]}),v}function rVe(i,a,f,g){var w=new l1,v=i.graph(),b=cVe(v.nodesep,v.edgesep,g);return yr(a,function(E){var S;yr(E,function(_){var M=f[_];if(w.setNode(M),S){var F=f[S],R=w.edge(F,M);w.setEdge(F,M,Math.max(b(i,_,S),R||0))}S=_})}),w}function iVe(i,a){return mpt(Bx(a),function(f){var g=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY;return dqe(f,function(v,b){var E=uVe(i,b)/2;g=Math.max(v+E,g),w=Math.min(v-E,w)}),g-w})}function sVe(i,a){var f=Bx(a),g=GF(f),w=D9(f);yr(["u","d"],function(v){yr(["l","r"],function(b){var E=v+b,S=i[E],_;if(S!==a){var M=Bx(S);_=b==="l"?g-GF(M):w-D9(M),_&&(i[E]=KY(S,function(F){return F+_}))}})})}function aVe(i,a){return KY(i.ul,function(f,g){if(a)return i[a.toLowerCase()][g];var w=YF(u1(i,g));return(w[1]+w[2])/2})}function oVe(i){var a=YY(i),f=uY(QHe(i,a),JHe(i,a)),g={},w;yr(["u","d"],function(b){w=b==="u"?a:Bx(a).reverse(),yr(["l","r"],function(E){E==="r"&&(w=u1(w,function(F){return Bx(F).reverse()}));var S=(b==="u"?i.predecessors:i.successors).bind(i),_=eVe(i,w,f,S),M=nVe(i,w,_.root,_.align,E==="r");E==="r"&&(M=KY(M,function(F){return-F})),g[b+E]=M})});var v=iVe(i,g);return sVe(g,v),aVe(g,i.graph().align)}function cVe(i,a,f){return function(g,w,v){var b=g.node(w),E=g.node(v),S=0,_;if(S+=b.width/2,lo(b,"labelpos"))switch(b.labelpos.toLowerCase()){case"l":_=-b.width/2;break;case"r":_=b.width/2;break}if(_&&(S+=f?_:-_),_=0,S+=(b.dummy?a:i)/2,S+=(E.dummy?a:i)/2,S+=E.width/2,lo(E,"labelpos"))switch(E.labelpos.toLowerCase()){case"l":_=E.width/2;break;case"r":_=-E.width/2;break}return _&&(S+=f?_:-_),_=0,S}}function uVe(i,a){return i.node(a).width}function lVe(i){i=Mjt(i),hVe(i),gqe(oVe(i),function(a,f){i.node(f).x=a})}function hVe(i){var a=YY(i),f=i.graph().ranksep,g=0;yr(a,function(w){var v=D9(u1(w,function(b){return i.node(b).height}));yr(w,function(b){i.node(b).y=g+v/2}),g+=v+f})}function kD(i,a){var f=a&&a.debugTiming?aHe:oHe;f("layout",function(){var g=f(" buildLayoutGraph",function(){return kVe(i)});f(" runLayout",function(){fVe(g,f)}),f(" updateInputGraph",function(){dVe(i,g)})})}function fVe(i,a){a(" makeSpaceForEdgeLabels",function(){EVe(i)}),a(" removeSelfEdges",function(){IVe(i)}),a(" acyclic",function(){Zqe(i)}),a(" nestingGraph.run",function(){AHe(i)}),a(" rank",function(){CHe(Mjt(i))}),a(" injectEdgeLabelProxies",function(){TVe(i)}),a(" removeEmptyRanks",function(){iHe(i)}),a(" nestingGraph.cleanup",function(){MHe(i)}),a(" normalizeRanks",function(){rHe(i)}),a(" assignRankMinMax",function(){CVe(i)}),a(" removeEdgeLabelProxies",function(){SVe(i)}),a(" normalize.run",function(){dHe(i)}),a(" parentDummyChains",function(){WHe(i)}),a(" addBorderSegments",function(){cHe(i)}),a(" order",function(){GHe(i)}),a(" insertSelfEdges",function(){OVe(i)}),a(" adjustCoordinateSystem",function(){uHe(i)}),a(" position",function(){lVe(i)}),a(" positionSelfEdges",function(){NVe(i)}),a(" removeBorderNodes",function(){MVe(i)}),a(" normalize.undo",function(){pHe(i)}),a(" fixupEdgeLabelCoords",function(){LVe(i)}),a(" undoCoordinateSystem",function(){lHe(i)}),a(" translateGraph",function(){_Ve(i)}),a(" assignNodeIntersects",function(){AVe(i)}),a(" reversePoints",function(){DVe(i)}),a(" acyclic.undo",function(){eHe(i)})}function dVe(i,a){yr(i.nodes(),function(f){var g=i.node(f),w=a.node(f);g&&(g.x=w.x,g.y=w.y,a.children(f).length&&(g.width=w.width,g.height=w.height))}),yr(i.edges(),function(f){var g=i.edge(f),w=a.edge(f);g.points=w.points,lo(w,"x")&&(g.x=w.x,g.y=w.y)}),i.graph().width=a.graph().width,i.graph().height=a.graph().height}var gVe=["nodesep","edgesep","ranksep","marginx","marginy"],pVe={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},bVe=["acyclicer","ranker","rankdir","align"],wVe=["width","height"],mVe={width:0,height:0},vVe=["minlen","weight","width","height","labeloffset"],yVe={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xVe=["labelpos"];function kVe(i){var a=new l1({multigraph:!0,compound:!0}),f=Apt(i.graph());return a.setGraph(uY({},pVe,_pt(f,gVe),KF(f,bVe))),yr(i.nodes(),function(g){var w=Apt(i.node(g));a.setNode(g,yD(_pt(w,wVe),mVe)),a.setParent(g,i.parent(g))}),yr(i.edges(),function(g){var w=Apt(i.edge(g));a.setEdge(g,uY({},yVe,_pt(w,vVe),KF(w,xVe)))}),a}function EVe(i){var a=i.graph();a.ranksep/=2,yr(i.edges(),function(f){var g=i.edge(f);g.minlen*=2,g.labelpos.toLowerCase()!=="c"&&(a.rankdir==="TB"||a.rankdir==="BT"?g.width+=g.labeloffset:g.height+=g.labeloffset)})}function TVe(i){yr(i.edges(),function(a){var f=i.edge(a);if(f.width&&f.height){var g=i.node(a.v),w=i.node(a.w),v={rank:(w.rank-g.rank)/2+g.rank,e:a};xD(i,"edge-proxy",v,"_ep")}})}function CVe(i){var a=0;yr(i.nodes(),function(f){var g=i.node(f);g.borderTop&&(g.minRank=i.node(g.borderTop).rank,g.maxRank=i.node(g.borderBottom).rank,a=D9(a,g.maxRank))}),i.graph().maxRank=a}function SVe(i){yr(i.nodes(),function(a){var f=i.node(a);f.dummy==="edge-proxy"&&(i.edge(f.e).labelRank=f.rank,i.removeNode(a))})}function _Ve(i){var a=Number.POSITIVE_INFINITY,f=0,g=Number.POSITIVE_INFINITY,w=0,v=i.graph(),b=v.marginx||0,E=v.marginy||0;function S(_){var M=_.x,F=_.y,R=_.width,B=_.height;a=Math.min(a,M-R/2),f=Math.max(f,M+R/2),g=Math.min(g,F-B/2),w=Math.max(w,F+B/2)}yr(i.nodes(),function(_){S(i.node(_))}),yr(i.edges(),function(_){var M=i.edge(_);lo(M,"x")&&S(M)}),a-=b,g-=E,yr(i.nodes(),function(_){var M=i.node(_);M.x-=a,M.y-=g}),yr(i.edges(),function(_){var M=i.edge(_);yr(M.points,function(F){F.x-=a,F.y-=g}),lo(M,"x")&&(M.x-=a),lo(M,"y")&&(M.y-=g)}),v.width=f-a+b,v.height=w-g+E}function AVe(i){yr(i.edges(),function(a){var f=i.edge(a),g=i.node(a.v),w=i.node(a.w),v,b;f.points?(v=f.points[0],b=f.points[f.points.length-1]):(f.points=[],v=w,b=g),f.points.unshift(Ijt(g,v)),f.points.push(Ijt(w,b))})}function LVe(i){yr(i.edges(),function(a){var f=i.edge(a);if(lo(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 DVe(i){yr(i.edges(),function(a){var f=i.edge(a);f.reversed&&f.points.reverse()})}function MVe(i){yr(i.nodes(),function(a){if(i.children(a).length){var f=i.node(a),g=i.node(f.borderTop),w=i.node(f.borderBottom),v=i.node(GY(f.borderLeft)),b=i.node(GY(f.borderRight));f.width=Math.abs(b.x-v.x),f.height=Math.abs(w.y-g.y),f.x=v.x+f.width/2,f.y=g.y+f.height/2}}),yr(i.nodes(),function(a){i.node(a).dummy==="border"&&i.removeNode(a)})}function IVe(i){yr(i.edges(),function(a){if(a.v===a.w){var f=i.node(a.v);f.selfEdges||(f.selfEdges=[]),f.selfEdges.push({e:a,label:i.edge(a)}),i.removeEdge(a)}})}function OVe(i){var a=YY(i);yr(a,function(f){var g=0;yr(f,function(w,v){var b=i.node(w);b.order=v+g,yr(b.selfEdges,function(E){xD(i,"selfedge",{width:E.label.width,height:E.label.height,rank:b.rank,order:v+ ++g,e:E.e,label:E.label},"_se")}),delete b.selfEdges})})}function NVe(i){yr(i.nodes(),function(a){var f=i.node(a);if(f.dummy==="selfedge"){var g=i.node(f.e.v),w=g.x+g.width/2,v=g.y,b=f.x-w,E=g.height/2;i.setEdge(f.e,f.label),i.removeNode(a),f.label.points=[{x:w+2*b/3,y:v-E},{x:w+5*b/6,y:v-E},{x:w+b,y:v},{x:w+5*b/6,y:v+E},{x:w+2*b/3,y:v+E}],f.label.x=f.x,f.label.y=f.y}})}function _pt(i,a){return KY(KF(i,a),Number)}function Apt(i){var a={};return yr(i,function(f,g){a[g.toLowerCase()]=f}),a}function t$t(i,a){return!!i.children(a).length}function e$t(i){return Lpt(i.v)+":"+Lpt(i.w)+":"+Lpt(i.name)}var PVe=/:/g;function Lpt(i){return i?String(i).replace(PVe,"\\:"):""}function a4(i,a){a&&i.attr("style",a)}function n$t(i,a,f){a&&i.attr("class",a).attr("class",f+" "+i.attr("class"))}function Jv(i,a){var f=a.graph();if(gFt(f)){var g=f.transition;if(ZL(g))return g(i)}return i}var Dpt={normal:BVe,vee:RVe,undirected:jVe};function FVe(i){Dpt=i}function BVe(i,a,f,g){var w=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=w.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");a4(v,f[g+"Style"]),f[g+"Class"]&&v.attr("class",f[g+"Class"])}function RVe(i,a,f,g){var w=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=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");a4(v,f[g+"Style"]),f[g+"Class"]&&v.attr("class",f[g+"Class"])}function jVe(i,a,f,g){var w=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=w.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");a4(v,f[g+"Style"]),f[g+"Class"]&&v.attr("class",f[g+"Class"])}function Mpt(i,a){var f=i.append("foreignObject").attr("width","100000"),g=f.append("xhtml:div");g.attr("xmlns","http://www.w3.org/1999/xhtml");var w=a.label;switch(typeof w){case"function":g.insert(w);break;case"object":g.insert(function(){return w});break;default:g.html(w)}a4(g,a.labelStyle),g.style("display","inline-block"),g.style("white-space","nowrap");var v=g.node().getBoundingClientRect();return f.attr("width",v.width).attr("height",v.height),f}function $Ve(i,a){var f=i;return f.node().appendChild(a.label),a4(f,a.labelStyle),f}function zVe(i,a){for(var f=i.append("text"),g=qVe(a.label).split(`
228 Expecting `+Br.join(", ")+", got '"+(this.terminals_[sn]||sn)+"'":we="Parse error on line "+(xt+1)+": Unexpected "+(sn==kt?"end of input":"'"+(this.terminals_[sn]||sn)+"'"),this.parseError(we,{text:Fe.match,token:this.terminals_[sn]||sn,line:Fe.yylineno,loc:Ae,expected:Br})}if(Ne[0]instanceof Array&&Ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+be+", token: "+sn);switch(Ne[0]){case 1:K.push(sn),V.push(Fe.yytext),Ot.push(Fe.yylloc),K.push(Ne[1]),sn=null,Ft=Fe.yyleng,jt=Fe.yytext,xt=Fe.yylineno,Ae=Fe.yylloc;break;case 2:if(Mn=this.productions_[Ne[1]][1],_e.$=V[V.length-Mn],_e._$={first_line:Ot[Ot.length-(Mn||1)].first_line,last_line:Ot[Ot.length-1].last_line,first_column:Ot[Ot.length-(Mn||1)].first_column,last_column:Ot[Ot.length-1].last_column},ye&&(_e._$.range=[Ot[Ot.length-(Mn||1)].range[0],Ot[Ot.length-1].range[1]]),Xt=this.performAction.apply(_e,[jt,Ft,xt,Mt.yy,Ne[1],V,Ot].concat(Gt)),typeof Xt<"u")return Xt;Mn&&(K=K.slice(0,-1*Mn*2),V=V.slice(0,-1*Mn),Ot=Ot.slice(0,-1*Mn)),K.push(this.productions_[Ne[1]][0]),V.push(_e.$),Ot.push(_e._$),ce=It[K[K.length-2]][K[K.length-1]],K.push(ce);break;case 3:return!0}}return!0}},rt=function(){var gt={EOF:1,parseError:function(dt,K){if(this.yy.parser)this.yy.parser.parseError(dt,K);else throw new Error(dt)},setInput:function(Q,dt){return this.yy=dt||this.yy||{},this._input=Q,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 Q=this._input[0];this.yytext+=Q,this.yyleng++,this.offset++,this.match+=Q,this.matched+=Q;var dt=Q.match(/(?:\r\n?|\n).*/g);return dt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Q},unput:function(Q){var dt=Q.length,K=Q.split(/(?:\r\n?|\n)/g);this._input=Q+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-dt),this.offset-=dt;var yt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),K.length-1&&(this.yylineno-=K.length-1);var V=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:K?(K.length===yt.length?this.yylloc.first_column:0)+yt[yt.length-K.length].length-K[0].length:this.yylloc.first_column-dt},this.options.ranges&&(this.yylloc.range=[V[0],V[0]+this.yyleng-dt]),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).
230 `+dt+"^"},test_match:function(Q,dt){var K,yt,V;if(this.options.backtrack_lexer&&(V={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(V.yylloc.range=this.yylloc.range.slice(0))),yt=Q[0].match(/(?:\r\n?|\n).*/g),yt&&(this.yylineno+=yt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:yt?yt[yt.length-1].length-yt[yt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Q[0].length},this.yytext+=Q[0],this.match+=Q[0],this.matches=Q,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(Q[0].length),this.matched+=Q[0],K=this.performAction.call(this,this.yy,this,dt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),K)return K;if(this._backtrack){for(var Ot in V)this[Ot]=V[Ot];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Q,dt,K,yt;this._more||(this.yytext="",this.match="");for(var V=this._currentRules(),Ot=0;Ot<V.length;Ot++)if(K=this._input.match(this.rules[V[Ot]]),K&&(!dt||K[0].length>dt[0].length)){if(dt=K,yt=Ot,this.options.backtrack_lexer){if(Q=this.test_match(K,V[Ot]),Q!==!1)return Q;if(this._backtrack){dt=!1;continue}else return!1}else if(!this.options.flex)break}return dt?(Q=this.test_match(dt,V[yt]),Q!==!1?Q:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
278 Expecting `+xe.join(", ")+", got '"+(this.terminals_[Ae]||Ae)+"'":Mn="Parse error on line "+(Ot+1)+": Unexpected "+(Ae==xt?"end of input":"'"+(this.terminals_[Ae]||Ae)+"'"),this.parseError(Mn,{text:Ct.match,token:this.terminals_[Ae]||Ae,line:Ct.yylineno,loc:Fe,expected:xe})}if(tn[0]instanceof Array&&tn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ye+", token: "+Ae);switch(tn[0]){case 1:gt.push(Ae),dt.push(Ct.yytext),K.push(Ct.yylloc),gt.push(tn[1]),Ae=null,It=Ct.yyleng,V=Ct.yytext,Ot=Ct.yylineno,Fe=Ct.yylloc;break;case 2:if(Xt=this.productions_[tn[1]][1],be.$=dt[dt.length-Xt],be._$={first_line:K[K.length-(Xt||1)].first_line,last_line:K[K.length-1].last_line,first_column:K[K.length-(Xt||1)].first_column,last_column:K[K.length-1].last_column},Mt&&(be._$.range=[K[K.length-(Xt||1)].range[0],K[K.length-1].range[1]]),sn=this.performAction.apply(be,[V,It,Ot,kt.yy,tn[1],dt,K].concat(Ft)),typeof sn<"u")return sn;Xt&&(gt=gt.slice(0,-1*Xt*2),dt=dt.slice(0,-1*Xt),K=K.slice(0,-1*Xt)),gt.push(this.productions_[tn[1]][0]),dt.push(be.$),K.push(be._$),_e=yt[gt[gt.length-2]][gt[gt.length-1]],gt.push(_e);break;case 3:return!0}}return!0}},wt=function(){var ct={EOF:1,parseError:function(it,gt){if(this.yy.parser)this.yy.parser.parseError(it,gt);else throw new Error(it)},setInput:function(rt,it){return this.yy=it||this.yy||{},this._input=rt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var rt=this._input[0];this.yytext+=rt,this.yyleng++,this.offset++,this.match+=rt,this.matched+=rt;var it=rt.match(/(?:\r\n?|\n).*/g);return it?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),rt},unput:function(rt){var it=rt.length,gt=rt.split(/(?:\r\n?|\n)/g);this._input=rt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-it),this.offset-=it;var Q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),gt.length-1&&(this.yylineno-=gt.length-1);var dt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:gt?(gt.length===Q.length?this.yylloc.first_column:0)+Q[Q.length-gt.length].length-gt[0].length:this.yylloc.first_column-it},this.options.ranges&&(this.yylloc.range=[dt[0],dt[0]+this.yyleng-it]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
280 `+it+"^"},test_match:function(rt,it){var gt,Q,dt;if(this.options.backtrack_lexer&&(dt={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&&(dt.yylloc.range=this.yylloc.range.slice(0))),Q=rt[0].match(/(?:\r\n?|\n).*/g),Q&&(this.yylineno+=Q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Q?Q[Q.length-1].length-Q[Q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+rt[0].length},this.yytext+=rt[0],this.match+=rt[0],this.matches=rt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(rt[0].length),this.matched+=rt[0],gt=this.performAction.call(this,this.yy,this,it,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),gt)return gt;if(this._backtrack){for(var K in dt)this[K]=dt[K];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var rt,it,gt,Q;this._more||(this.yytext="",this.match="");for(var dt=this._currentRules(),K=0;K<dt.length;K++)if(gt=this._input.match(this.rules[dt[K]]),gt&&(!it||gt[0].length>it[0].length)){if(it=gt,Q=K,this.options.backtrack_lexer){if(rt=this.test_match(gt,dt[K]),rt!==!1)return rt;if(this._backtrack){it=!1;continue}else return!1}else if(!this.options.flex)break}return it?(rt=this.test_match(it,dt[Q]),rt!==!1?rt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
347 Expecting `+mi.join(", ")+", got '"+(this.terminals_[Xt]||Xt)+"'":ga="Parse error on line "+(kt+1)+": Unexpected "+(Xt==Mt?"end of input":"'"+(this.terminals_[Xt]||Xt)+"'"),this.parseError(ga,{text:Ae.match,token:this.terminals_[Xt]||Xt,line:Ae.yylineno,loc:sn,expected:mi})}if(xe[0]instanceof Array&&xe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_e+", token: "+Xt);switch(xe[0]){case 1:Ot.push(Xt),jt.push(Ae.yytext),xt.push(Ae.yylloc),Ot.push(xe[1]),Xt=null,Gt=Ae.yyleng,Ct=Ae.yytext,kt=Ae.yylineno,sn=Ae.yylloc;break;case 2:if(we=this.productions_[xe[1]][1],ce.$=jt[jt.length-we],ce._$={first_line:xt[xt.length-(we||1)].first_line,last_line:xt[xt.length-1].last_line,first_column:xt[xt.length-(we||1)].first_column,last_column:xt[xt.length-1].last_column},be&&(ce._$.range=[xt[xt.length-(we||1)].range[0],xt[xt.length-1].range[1]]),Mn=this.performAction.apply(ce,[Ct,Gt,kt,ye.yy,xe[1],jt,xt].concat(pn)),typeof Mn<"u")return Mn;we&&(Ot=Ot.slice(0,-1*we*2),jt=jt.slice(0,-1*we),xt=xt.slice(0,-1*we)),Ot.push(this.productions_[xe[1]][0]),jt.push(ce.$),xt.push(ce._$),Fi=Ft[Ot[Ot.length-2]][Ot[Ot.length-1]],Ot.push(Fi);break;case 3:return!0}}return!0}},Q=function(){var K={EOF:1,parseError:function(V,Ot){if(this.yy.parser)this.yy.parser.parseError(V,Ot);else throw new Error(V)},setInput:function(yt,V){return this.yy=V||this.yy||{},this._input=yt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var yt=this._input[0];this.yytext+=yt,this.yyleng++,this.offset++,this.match+=yt,this.matched+=yt;var V=yt.match(/(?:\r\n?|\n).*/g);return V?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),yt},unput:function(yt){var V=yt.length,Ot=yt.split(/(?:\r\n?|\n)/g);this._input=yt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var It=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),Ot.length-1&&(this.yylineno-=Ot.length-1);var jt=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:Ot?(Ot.length===It.length?this.yylloc.first_column:0)+It[It.length-Ot.length].length-Ot[0].length:this.yylloc.first_column-V},this.options.ranges&&(this.yylloc.range=[jt[0],jt[0]+this.yyleng-V]),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).
349 `+V+"^"},test_match:function(yt,V){var Ot,It,jt;if(this.options.backtrack_lexer&&(jt={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&&(jt.yylloc.range=this.yylloc.range.slice(0))),It=yt[0].match(/(?:\r\n?|\n).*/g),It&&(this.yylineno+=It.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:It?It[It.length-1].length-It[It.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+yt[0].length},this.yytext+=yt[0],this.match+=yt[0],this.matches=yt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(yt[0].length),this.matched+=yt[0],Ot=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ot)return Ot;if(this._backtrack){for(var xt in jt)this[xt]=jt[xt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var yt,V,Ot,It;this._more||(this.yytext="",this.match="");for(var jt=this._currentRules(),xt=0;xt<jt.length;xt++)if(Ot=this._input.match(this.rules[jt[xt]]),Ot&&(!V||Ot[0].length>V[0].length)){if(V=Ot,It=xt,this.options.backtrack_lexer){if(yt=this.test_match(Ot,jt[xt]),yt!==!1)return yt;if(this._backtrack){V=!1;continue}else return!1}else if(!this.options.flex)break}return V?(yt=this.test_match(V,jt[It]),yt!==!1?yt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
350 `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var V=this.next();return V||this.lex()},begin:function(V){this.conditionStack.push(V)},popState:function(){var V=this.conditionStack.length-1;return V>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(V){return V=this.conditionStack.length-1-Math.abs(V||0),V>=0?this.conditionStack[V]:"INITIAL"},pushState:function(V){this.begin(V)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(V,Ot,It,jt){switch(It){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 40;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 21:this.popState();break;case 22:return 39;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}};return K}();gt.lexer=Q;function dt(){this.yy={}}return dt.prototype=gt,gt.Parser=dt,new dt}();cbt.parser=cbt;const wYe=cbt;var Mzt={exports:{}};(function(i,a){(function(f,g){i.exports=g()})(Z0,function(){var f="day";return function(g,w,v){var b=function(_){return _.add(4-_.isoWeekday(),f)},E=w.prototype;E.isoWeekYear=function(){return b(this).year()},E.isoWeek=function(_){if(!this.$utils().u(_))return this.add(7*(_-this.isoWeek()),f);var M,F,R,B,z=b(this),Y=(M=this.isoWeekYear(),F=this.$u,R=(F?v.utc:v)().year(M).startOf("year"),B=4-R.isoWeekday(),R.isoWeekday()>4&&(B+=7),R.add(B,f));return z.diff(Y,"week")+1},E.isoWeekday=function(_){return this.$utils().u(_)?this.day()||7:this.day(this.day()%7?_:_-7)};var S=E.startOf;E.startOf=function(_,M){var F=this.$utils(),R=!!F.u(M)||M;return F.p(_)==="isoweek"?R?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(_,M)}}})})(Mzt);var mYe=Mzt.exports;const vYe=e9(mYe);var Izt={exports:{}};(function(i,a){(function(f,g){i.exports=g()})(Z0,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"},g=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,w=/\d\d/,v=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,E={},S=function(Y){return(Y=+Y)+(Y>68?1900:2e3)},_=function(Y){return function(nt){this[Y]=+nt}},M=[/[+-]\d\d:?(\d\d)?|Z/,function(Y){(this.zone||(this.zone={})).offset=function(nt){if(!nt||nt==="Z")return 0;var ot=nt.match(/([+-]|\d\d)/g),ft=60*ot[1]+(+ot[2]||0);return ft===0?0:ot[0]==="+"?-ft:ft}(Y)}],F=function(Y){var nt=E[Y];return nt&&(nt.indexOf?nt:nt.s.concat(nt.f))},R=function(Y,nt){var ot,ft=E.meridiem;if(ft){for(var wt=1;wt<=24;wt+=1)if(Y.indexOf(ft(wt,0,nt))>-1){ot=wt>12;break}}else ot=Y===(nt?"pm":"PM");return ot},B={A:[b,function(Y){this.afternoon=R(Y,!1)}],a:[b,function(Y){this.afternoon=R(Y,!0)}],S:[/\d/,function(Y){this.milliseconds=100*+Y}],SS:[w,function(Y){this.milliseconds=10*+Y}],SSS:[/\d{3}/,function(Y){this.milliseconds=+Y}],s:[v,_("seconds")],ss:[v,_("seconds")],m:[v,_("minutes")],mm:[v,_("minutes")],H:[v,_("hours")],h:[v,_("hours")],HH:[v,_("hours")],hh:[v,_("hours")],D:[v,_("day")],DD:[w,_("day")],Do:[b,function(Y){var nt=E.ordinal,ot=Y.match(/\d+/);if(this.day=ot[0],nt)for(var ft=1;ft<=31;ft+=1)nt(ft).replace(/\[|\]/g,"")===Y&&(this.day=ft)}],M:[v,_("month")],MM:[w,_("month")],MMM:[b,function(Y){var nt=F("months"),ot=(F("monthsShort")||nt.map(function(ft){return ft.slice(0,3)})).indexOf(Y)+1;if(ot<1)throw new Error;this.month=ot%12||ot}],MMMM:[b,function(Y){var nt=F("months").indexOf(Y)+1;if(nt<1)throw new Error;this.month=nt%12||nt}],Y:[/[+-]?\d+/,_("year")],YY:[w,function(Y){this.year=S(Y)}],YYYY:[/\d{4}/,_("year")],Z:M,ZZ:M};function z(Y){var nt,ot;nt=Y,ot=E&&E.formats;for(var ft=(Y=nt.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Q,dt,K){var yt=K&&K.toUpperCase();return dt||ot[K]||f[K]||ot[yt].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(V,Ot,It){return Ot||It.slice(1)})})).match(g),wt=ft.length,mt=0;mt<wt;mt+=1){var ct=ft[mt],rt=B[ct],it=rt&&rt[0],gt=rt&&rt[1];ft[mt]=gt?{regex:it,parser:gt}:ct.replace(/^\[|\]$/g,"")}return function(Q){for(var dt={},K=0,yt=0;K<wt;K+=1){var V=ft[K];if(typeof V=="string")yt+=V.length;else{var Ot=V.regex,It=V.parser,jt=Q.slice(yt),xt=Ot.exec(jt)[0];It.call(dt,xt),Q=Q.replace(xt,"")}}return function(Ft){var Ct=Ft.afternoon;if(Ct!==void 0){var kt=Ft.hours;Ct?kt<12&&(Ft.hours+=12):kt===12&&(Ft.hours=0),delete Ft.afternoon}}(dt),dt}}return function(Y,nt,ot){ot.p.customParseFormat=!0,Y&&Y.parseTwoDigitYear&&(S=Y.parseTwoDigitYear);var ft=nt.prototype,wt=ft.parse;ft.parse=function(mt){var ct=mt.date,rt=mt.utc,it=mt.args;this.$u=rt;var gt=it[1];if(typeof gt=="string"){var Q=it[2]===!0,dt=it[3]===!0,K=Q||dt,yt=it[2];dt&&(yt=it[2]),E=this.$locale(),!Q&&yt&&(E=ot.Ls[yt]),this.$d=function(jt,xt,Ft){try{if(["x","X"].indexOf(xt)>-1)return new Date((xt==="X"?1e3:1)*jt);var Ct=z(xt)(jt),kt=Ct.year,Gt=Ct.month,Fe=Ct.day,Mt=Ct.hours,pn=Ct.minutes,Ae=Ct.seconds,ye=Ct.milliseconds,tn=Ct.zone,sn=new Date,be=Fe||(kt||Gt?1:sn.getDate()),Ne=kt||sn.getFullYear(),Xt=0;kt&&!Gt||(Xt=Gt>0?Gt-1:sn.getMonth());var _e=Mt||0,xe=pn||0,Mn=Ae||0,ce=ye||0;return tn?new Date(Date.UTC(Ne,Xt,be,_e,xe,Mn,ce+60*tn.offset*1e3)):Ft?new Date(Date.UTC(Ne,Xt,be,_e,xe,Mn,ce)):new Date(Ne,Xt,be,_e,xe,Mn,ce)}catch{return new Date("")}}(ct,gt,rt),this.init(),yt&&yt!==!0&&(this.$L=this.locale(yt).$L),K&&ct!=this.format(gt)&&(this.$d=new Date("")),E={}}else if(gt instanceof Array)for(var V=gt.length,Ot=1;Ot<=V;Ot+=1){it[1]=gt[Ot-1];var It=ot.apply(this,it);if(It.isValid()){this.$d=It.$d,this.$L=It.$L,this.init();break}Ot===V&&(this.$d=new Date(""))}else wt.call(this,mt)}}})})(Izt);var yYe=Izt.exports;const xYe=e9(yYe);var Ozt={exports:{}};(function(i,a){(function(f,g){i.exports=g()})(Z0,function(){return function(f,g){var w=g.prototype,v=w.format;w.format=function(b){var E=this,S=this.$locale();if(!this.isValid())return v.bind(this)(b);var _=this.$utils(),M=(b||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((E.$M+1)/3);case"Do":return S.ordinal(E.$D);case"gggg":return E.weekYear();case"GGGG":return E.isoWeekYear();case"wo":return S.ordinal(E.week(),"W");case"w":case"ww":return _.s(E.week(),F==="w"?1:2,"0");case"W":case"WW":return _.s(E.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return _.s(String(E.$H===0?24:E.$H),F==="k"?1:2,"0");case"X":return Math.floor(E.$d.getTime()/1e3);case"x":return E.$d.getTime();case"z":return"["+E.offsetName()+"]";case"zzz":return"["+E.offsetName("long")+"]";default:return F}});return v.bind(this)(M)}}})})(Ozt);var kYe=Ozt.exports;const EYe=e9(kYe);tg.extend(vYe),tg.extend(xYe),tg.extend(EYe);let h4="",ubt="",lbt,hbt="",oB=[],cB=[],fbt={},dbt=[],lX=[],SD="",gbt="";const Nzt=["active","done","crit","milestone"];let pbt=[],uB=!1,bbt=!1,wbt="sunday",mbt=0;const TYe=function(){dbt=[],lX=[],SD="",pbt=[],hX=0,ybt=void 0,fX=void 0,H1=[],h4="",ubt="",gbt="",lbt=void 0,hbt="",oB=[],cB=[],uB=!1,bbt=!1,mbt=0,fbt={},ag(),wbt="sunday"},CYe=function(i){ubt=i},SYe=function(){return ubt},_Ye=function(i){lbt=i},AYe=function(){return lbt},LYe=function(i){hbt=i},DYe=function(){return hbt},MYe=function(i){h4=i},IYe=function(){uB=!0},OYe=function(){return uB},NYe=function(){bbt=!0},PYe=function(){return bbt},FYe=function(i){gbt=i},BYe=function(){return gbt},RYe=function(){return h4},jYe=function(i){oB=i.toLowerCase().split(/[\s,]+/)},$Ye=function(){return oB},zYe=function(i){cB=i.toLowerCase().split(/[\s,]+/)},qYe=function(){return cB},HYe=function(){return fbt},VYe=function(i){SD=i,dbt.push(i)},UYe=function(){return dbt},GYe=function(){let i=$zt();const a=10;let f=0;for(;!i&&f<a;)i=$zt(),f++;return lX=H1,lX},Pzt=function(i,a,f,g){return g.includes(i.format(a.trim()))?!1:i.isoWeekday()>=6&&f.includes("weekends")||f.includes(i.format("dddd").toLowerCase())?!0:f.includes(i.format(a.trim()))},KYe=function(i){wbt=i},WYe=function(){return wbt},Fzt=function(i,a,f,g){if(!f.length||i.manualEndTime)return;let w;i.startTime instanceof Date?w=tg(i.startTime):w=tg(i.startTime,a,!0),w=w.add(1,"d");let v;i.endTime instanceof Date?v=tg(i.endTime):v=tg(i.endTime,a,!0);const[b,E]=YYe(w,v,a,f,g);i.endTime=b.toDate(),i.renderEndTime=E},YYe=function(i,a,f,g,w){let v=!1,b=null;for(;i<=a;)v||(b=a.toDate()),v=Pzt(i,f,g,w),v&&(a=a.add(1,"d")),i=i.add(1,"d");return[a,b]},vbt=function(i,a,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(E){let S=AD(E);S!==void 0&&(b?S.endTime>b.endTime&&(b=S):b=S)}),b)return b.endTime;{const E=new Date;return E.setHours(0,0,0,0),E}}let v=tg(f,a.trim(),!0);if(v.isValid())return v.toDate();{Kt.debug("Invalid date:"+f),Kt.debug("With date format:"+a.trim());const b=new Date(f);if(b===void 0||isNaN(b.getTime())||b.getFullYear()<-1e4||b.getFullYear()>1e4)throw new Error("Invalid date:"+f);return b}},Bzt=function(i){const a=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(i.trim());return a!==null?[Number.parseFloat(a[1]),a[2]]:[NaN,"ms"]},Rzt=function(i,a,f,g=!1){f=f.trim();let w=tg(f,a.trim(),!0);if(w.isValid())return g&&(w=w.add(1,"d")),w.toDate();let v=tg(i);const[b,E]=Bzt(f);if(!Number.isNaN(b)){const S=v.add(b,E);S.isValid()&&(v=S)}return v.toDate()};let hX=0;const _D=function(i){return i===void 0?(hX=hX+1,"task"+hX):i},XYe=function(i,a){let f;a.substr(0,1)===":"?f=a.substr(1,a.length):f=a;const g=f.split(","),w={};Hzt(g,w,Nzt);for(let b=0;b<g.length;b++)g[b]=g[b].trim();let v="";switch(g.length){case 1:w.id=_D(),w.startTime=i.endTime,v=g[0];break;case 2:w.id=_D(),w.startTime=vbt(void 0,h4,g[0]),v=g[1];break;case 3:w.id=_D(g[0]),w.startTime=vbt(void 0,h4,g[1]),v=g[2];break}return v&&(w.endTime=Rzt(w.startTime,h4,v,uB),w.manualEndTime=tg(v,"YYYY-MM-DD",!0).isValid(),Fzt(w,h4,cB,oB)),w},QYe=function(i,a){let f;a.substr(0,1)===":"?f=a.substr(1,a.length):f=a;const g=f.split(","),w={};Hzt(g,w,Nzt);for(let v=0;v<g.length;v++)g[v]=g[v].trim();switch(g.length){case 1:w.id=_D(),w.startTime={type:"prevTaskEnd",id:i},w.endTime={data:g[0]};break;case 2:w.id=_D(),w.startTime={type:"getStartDate",startData:g[0]},w.endTime={data:g[1]};break;case 3:w.id=_D(g[0]),w.startTime={type:"getStartDate",startData:g[1]},w.endTime={data:g[2]};break}return w};let ybt,fX,H1=[];const jzt={},JYe=function(i,a){const f={section:SD,type:SD,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:a},task:i,classes:[]},g=QYe(fX,a);f.raw.startTime=g.startTime,f.raw.endTime=g.endTime,f.id=g.id,f.prevTaskId=fX,f.active=g.active,f.done=g.done,f.crit=g.crit,f.milestone=g.milestone,f.order=mbt,mbt++;const w=H1.push(f);fX=f.id,jzt[f.id]=w-1},AD=function(i){const a=jzt[i];return H1[a]},ZYe=function(i,a){const f={section:SD,type:SD,description:i,task:i,classes:[]},g=XYe(ybt,a);f.startTime=g.startTime,f.endTime=g.endTime,f.id=g.id,f.active=g.active,f.done=g.done,f.crit=g.crit,f.milestone=g.milestone,ybt=f,lX.push(f)},$zt=function(){const i=function(f){const g=H1[f];let w="";switch(H1[f].raw.startTime.type){case"prevTaskEnd":{const v=AD(g.prevTaskId);g.startTime=v.endTime;break}case"getStartDate":w=vbt(void 0,h4,H1[f].raw.startTime.startData),w&&(H1[f].startTime=w);break}return H1[f].startTime&&(H1[f].endTime=Rzt(H1[f].startTime,h4,H1[f].raw.endTime.data,uB),H1[f].endTime&&(H1[f].processed=!0,H1[f].manualEndTime=tg(H1[f].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Fzt(H1[f],h4,cB,oB))),H1[f].processed};let a=!0;for(const[f,g]of H1.entries())i(f),a=a&&g.processed;return a},tXe=function(i,a){let f=a;Re().securityLevel!=="loose"&&(f=h8(a)),i.split(",").forEach(function(g){AD(g)!==void 0&&(qzt(g,()=>{window.open(f,"_self")}),fbt[g]=f)}),zzt(i,"clickable")},zzt=function(i,a){i.split(",").forEach(function(f){let g=AD(f);g!==void 0&&g.classes.push(a)})},eXe=function(i,a,f){if(Re().securityLevel!=="loose"||a===void 0)return;let g=[];if(typeof f=="string"){g=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let v=0;v<g.length;v++){let b=g[v].trim();b.charAt(0)==='"'&&b.charAt(b.length-1)==='"'&&(b=b.substr(1,b.length-2)),g[v]=b}}g.length===0&&g.push(i),AD(i)!==void 0&&qzt(i,()=>{uo.runFunc(a,...g)})},qzt=function(i,a){pbt.push(function(){const f=document.querySelector(`[id="${i}"]`);f!==null&&f.addEventListener("click",function(){a()})},function(){const f=document.querySelector(`[id="${i}-text"]`);f!==null&&f.addEventListener("click",function(){a()})})},nXe={getConfig:()=>Re().gantt,clear:TYe,setDateFormat:MYe,getDateFormat:RYe,enableInclusiveEndDates:IYe,endDatesAreInclusive:OYe,enableTopAxis:NYe,topAxisEnabled:PYe,setAxisFormat:CYe,getAxisFormat:SYe,setTickInterval:_Ye,getTickInterval:AYe,setTodayMarker:LYe,getTodayMarker:DYe,setAccTitle:og,getAccTitle:Xg,setDiagramTitle:S2,getDiagramTitle:Zg,setDisplayMode:FYe,getDisplayMode:BYe,setAccDescription:Qg,getAccDescription:Jg,addSection:VYe,getSections:UYe,getTasks:GYe,addTask:JYe,findTaskById:AD,addTaskOrg:ZYe,setIncludes:jYe,getIncludes:$Ye,setExcludes:zYe,getExcludes:qYe,setClickEvent:function(i,a,f){i.split(",").forEach(function(g){eXe(g,a,f)}),zzt(i,"clickable")},setLink:tXe,getLinks:HYe,bindFunctions:function(i){pbt.forEach(function(a){a(i)})},parseDuration:Bzt,isInvalidDate:Pzt,setWeekday:KYe,getWeekday:WYe};function Hzt(i,a,f){let g=!0;for(;g;)g=!1,f.forEach(function(w){const v="^\\s*"+w+"\\s*$",b=new RegExp(v);i[0].match(b)&&(a[w]=!0,i.shift(1),g=!0)})}const rXe=function(){Kt.debug("Something is calling, setConf, remove the call")},Vzt={monday:hF,tuesday:NNt,wednesday:PNt,thursday:l9,friday:FNt,saturday:BNt,sunday:lF},iXe=(i,a)=>{let f=[...i].map(()=>-1/0),g=[...i].sort((v,b)=>v.startTime-b.startTime||v.order-b.order),w=0;for(const v of g)for(let b=0;b<f.length;b++)if(v.startTime>=f[b]){f[b]=v.endTime,v.order=b+a,b>w&&(w=b);break}return w};let zx;const sXe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:wYe,db:nXe,renderer:{setConf:rXe,draw:function(i,a,f,g){const w=Re().gantt,v=Re().securityLevel;let b;v==="sandbox"&&(b=Tr("#i"+a));const E=Tr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body"),S=v==="sandbox"?b.nodes()[0].contentDocument:document,_=S.getElementById(a);zx=_.parentElement.offsetWidth,zx===void 0&&(zx=1200),w.useWidth!==void 0&&(zx=w.useWidth);const M=g.db.getTasks();let F=[];for(const gt of M)F.push(gt.type);F=it(F);const R={};let B=2*w.topPadding;if(g.db.getDisplayMode()==="compact"||w.displayMode==="compact"){const gt={};for(const dt of M)gt[dt.section]===void 0?gt[dt.section]=[dt]:gt[dt.section].push(dt);let Q=0;for(const dt of Object.keys(gt)){const K=iXe(gt[dt],Q)+1;Q+=K,B+=K*(w.barHeight+w.barGap),R[dt]=K}}else{B+=M.length*(w.barHeight+w.barGap);for(const gt of F)R[gt]=M.filter(Q=>Q.type===gt).length}_.setAttribute("viewBox","0 0 "+zx+" "+B);const z=E.select(`[id="${a}"]`),Y=eDe().domain([B9e(M,function(gt){return gt.startTime}),F9e(M,function(gt){return gt.endTime})]).rangeRound([0,zx-w.leftPadding-w.rightPadding]);function nt(gt,Q){const dt=gt.startTime,K=Q.startTime;let yt=0;return dt>K?yt=1:dt<K&&(yt=-1),yt}M.sort(nt),ot(M,zx,B),sg(z,B,zx,w.useMaxWidth),z.append("text").text(g.db.getDiagramTitle()).attr("x",zx/2).attr("y",w.titleTopMargin).attr("class","titleText");function ot(gt,Q,dt){const K=w.barHeight,yt=K+w.barGap,V=w.topPadding,Ot=w.leftPadding,It=VL().domain([0,F.length]).range(["#00B9FA","#F95002"]).interpolate(s_e);wt(yt,V,Ot,Q,dt,gt,g.db.getExcludes(),g.db.getIncludes()),mt(Ot,V,Q,dt),ft(gt,yt,V,Ot,K,It,Q),ct(yt,V),rt(Ot,V,Q,dt)}function ft(gt,Q,dt,K,yt,V,Ot){const jt=[...new Set(gt.map(kt=>kt.order))].map(kt=>gt.find(Gt=>Gt.order===kt));z.append("g").selectAll("rect").data(jt).enter().append("rect").attr("x",0).attr("y",function(kt,Gt){return Gt=kt.order,Gt*Q+dt-2}).attr("width",function(){return Ot-w.rightPadding/2}).attr("height",Q).attr("class",function(kt){for(const[Gt,Fe]of F.entries())if(kt.type===Fe)return"section section"+Gt%w.numberSectionStyles;return"section section0"});const xt=z.append("g").selectAll("rect").data(gt).enter(),Ft=g.db.getLinks();if(xt.append("rect").attr("id",function(kt){return kt.id}).attr("rx",3).attr("ry",3).attr("x",function(kt){return kt.milestone?Y(kt.startTime)+K+.5*(Y(kt.endTime)-Y(kt.startTime))-.5*yt:Y(kt.startTime)+K}).attr("y",function(kt,Gt){return Gt=kt.order,Gt*Q+dt}).attr("width",function(kt){return kt.milestone?yt:Y(kt.renderEndTime||kt.endTime)-Y(kt.startTime)}).attr("height",yt).attr("transform-origin",function(kt,Gt){return Gt=kt.order,(Y(kt.startTime)+K+.5*(Y(kt.endTime)-Y(kt.startTime))).toString()+"px "+(Gt*Q+dt+.5*yt).toString()+"px"}).attr("class",function(kt){const Gt="task";let Fe="";kt.classes.length>0&&(Fe=kt.classes.join(" "));let Mt=0;for(const[Ae,ye]of F.entries())kt.type===ye&&(Mt=Ae%w.numberSectionStyles);let pn="";return kt.active?kt.crit?pn+=" activeCrit":pn=" active":kt.done?kt.crit?pn=" doneCrit":pn=" done":kt.crit&&(pn+=" crit"),pn.length===0&&(pn=" task"),kt.milestone&&(pn=" milestone "+pn),pn+=Mt,pn+=" "+Fe,Gt+pn}),xt.append("text").attr("id",function(kt){return kt.id+"-text"}).text(function(kt){return kt.task}).attr("font-size",w.fontSize).attr("x",function(kt){let Gt=Y(kt.startTime),Fe=Y(kt.renderEndTime||kt.endTime);kt.milestone&&(Gt+=.5*(Y(kt.endTime)-Y(kt.startTime))-.5*yt),kt.milestone&&(Fe=Gt+yt);const Mt=this.getBBox().width;return Mt>Fe-Gt?Fe+Mt+1.5*w.leftPadding>Ot?Gt+K-5:Fe+K+5:(Fe-Gt)/2+Gt+K}).attr("y",function(kt,Gt){return Gt=kt.order,Gt*Q+w.barHeight/2+(w.fontSize/2-2)+dt}).attr("text-height",yt).attr("class",function(kt){const Gt=Y(kt.startTime);let Fe=Y(kt.endTime);kt.milestone&&(Fe=Gt+yt);const Mt=this.getBBox().width;let pn="";kt.classes.length>0&&(pn=kt.classes.join(" "));let Ae=0;for(const[tn,sn]of F.entries())kt.type===sn&&(Ae=tn%w.numberSectionStyles);let ye="";return kt.active&&(kt.crit?ye="activeCritText"+Ae:ye="activeText"+Ae),kt.done?kt.crit?ye=ye+" doneCritText"+Ae:ye=ye+" doneText"+Ae:kt.crit&&(ye=ye+" critText"+Ae),kt.milestone&&(ye+=" milestoneText"),Mt>Fe-Gt?Fe+Mt+1.5*w.leftPadding>Ot?pn+" taskTextOutsideLeft taskTextOutside"+Ae+" "+ye:pn+" taskTextOutsideRight taskTextOutside"+Ae+" "+ye+" width-"+Mt:pn+" taskText taskText"+Ae+" "+ye+" width-"+Mt}),Re().securityLevel==="sandbox"){let kt;kt=Tr("#i"+a);const Gt=kt.nodes()[0].contentDocument;xt.filter(function(Fe){return Ft[Fe.id]!==void 0}).each(function(Fe){var Mt=Gt.querySelector("#"+Fe.id),pn=Gt.querySelector("#"+Fe.id+"-text");const Ae=Mt.parentNode;var ye=Gt.createElement("a");ye.setAttribute("xlink:href",Ft[Fe.id]),ye.setAttribute("target","_top"),Ae.appendChild(ye),ye.appendChild(Mt),ye.appendChild(pn)})}}function wt(gt,Q,dt,K,yt,V,Ot,It){if(Ot.length===0&&It.length===0)return;let jt,xt;for(const{startTime:Mt,endTime:pn}of V)(jt===void 0||Mt<jt)&&(jt=Mt),(xt===void 0||pn>xt)&&(xt=pn);if(!jt||!xt)return;if(tg(xt).diff(tg(jt),"year")>5){Kt.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const Ft=g.db.getDateFormat(),Ct=[];let kt=null,Gt=tg(jt);for(;Gt.valueOf()<=xt;)g.db.isInvalidDate(Gt,Ft,Ot,It)?kt?kt.end=Gt:kt={start:Gt,end:Gt}:kt&&(Ct.push(kt),kt=null),Gt=Gt.add(1,"d");z.append("g").selectAll("rect").data(Ct).enter().append("rect").attr("id",function(Mt){return"exclude-"+Mt.start.format("YYYY-MM-DD")}).attr("x",function(Mt){return Y(Mt.start)+dt}).attr("y",w.gridLineStartPadding).attr("width",function(Mt){const pn=Mt.end.add(1,"day");return Y(pn)-Y(Mt.start)}).attr("height",yt-Q-w.gridLineStartPadding).attr("transform-origin",function(Mt,pn){return(Y(Mt.start)+dt+.5*(Y(Mt.end)-Y(Mt.start))).toString()+"px "+(pn*gt+.5*yt).toString()+"px"}).attr("class","exclude-range")}function mt(gt,Q,dt,K){let yt=G9e(Y).tickSize(-K+Q+w.gridLineStartPadding).tickFormat(DW(g.db.getAxisFormat()||w.axisFormat||"%Y-%m-%d"));const Ot=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(g.db.getTickInterval()||w.tickInterval);if(Ot!==null){const It=Ot[1],jt=Ot[2],xt=g.db.getWeekday()||w.weekday;switch(jt){case"millisecond":yt.ticks(UL.every(It));break;case"second":yt.ticks(f8.every(It));break;case"minute":yt.ticks(cF.every(It));break;case"hour":yt.ticks(uF.every(It));break;case"day":yt.ticks(c9.every(It));break;case"week":yt.ticks(Vzt[xt].every(It));break;case"month":yt.ticks(fF.every(It));break}}if(z.append("g").attr("class","grid").attr("transform","translate("+gt+", "+(K-50)+")").call(yt).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),g.db.topAxisEnabled()||w.topAxis){let It=U9e(Y).tickSize(-K+Q+w.gridLineStartPadding).tickFormat(DW(g.db.getAxisFormat()||w.axisFormat||"%Y-%m-%d"));if(Ot!==null){const jt=Ot[1],xt=Ot[2],Ft=g.db.getWeekday()||w.weekday;switch(xt){case"millisecond":It.ticks(UL.every(jt));break;case"second":It.ticks(f8.every(jt));break;case"minute":It.ticks(cF.every(jt));break;case"hour":It.ticks(uF.every(jt));break;case"day":It.ticks(c9.every(jt));break;case"week":It.ticks(Vzt[Ft].every(jt));break;case"month":It.ticks(fF.every(jt));break}}z.append("g").attr("class","grid").attr("transform","translate("+gt+", "+Q+")").call(It).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function ct(gt,Q){let dt=0;const K=Object.keys(R).map(yt=>[yt,R[yt]]);z.append("g").selectAll("text").data(K).enter().append(function(yt){const V=yt[0].split(ei.lineBreakRegex),Ot=-(V.length-1)/2,It=S.createElementNS("http://www.w3.org/2000/svg","text");It.setAttribute("dy",Ot+"em");for(const[jt,xt]of V.entries()){const Ft=S.createElementNS("http://www.w3.org/2000/svg","tspan");Ft.setAttribute("alignment-baseline","central"),Ft.setAttribute("x","10"),jt>0&&Ft.setAttribute("dy","1em"),Ft.textContent=xt,It.appendChild(Ft)}return It}).attr("x",10).attr("y",function(yt,V){if(V>0)for(let Ot=0;Ot<V;Ot++)return dt+=K[V-1][1],yt[1]*gt/2+dt*gt+Q;else return yt[1]*gt/2+Q}).attr("font-size",w.sectionFontSize).attr("class",function(yt){for(const[V,Ot]of F.entries())if(yt[0]===Ot)return"sectionTitle sectionTitle"+V%w.numberSectionStyles;return"sectionTitle"})}function rt(gt,Q,dt,K){const yt=g.db.getTodayMarker();if(yt==="off")return;const V=z.append("g").attr("class","today"),Ot=new Date,It=V.append("line");It.attr("x1",Y(Ot)+gt).attr("x2",Y(Ot)+gt).attr("y1",w.titleTopMargin).attr("y2",K-w.titleTopMargin).attr("class","today"),yt!==""&&It.attr("style",yt.replace(/,/g,";"))}function it(gt){const Q={},dt=[];for(let K=0,yt=gt.length;K<yt;++K)Object.prototype.hasOwnProperty.call(Q,gt[K])||(Q[gt[K]]=!0,dt.push(gt[K]));return dt}}},styles:i=>`
355 .exclude-range {
603 Expecting `+xt.join(", ")+", got '"+(this.terminals_[Q]||Q)+"'":Ft="Parse error on line "+(z+1)+": Unexpected "+(Q==ot?"end of input":"'"+(this.terminals_[Q]||Q)+"'"),this.parseError(Ft,{text:wt.match,token:this.terminals_[Q]||Q,line:wt.yylineno,loc:rt,expected:xt})}if(K[0]instanceof Array&&K.length>1)throw new Error("Parse Error: multiple actions possible at state: "+dt+", token: "+Q);switch(K[0]){case 1:S.push(Q),M.push(wt.yytext),F.push(wt.yylloc),S.push(K[1]),Q=null,Y=wt.yyleng,B=wt.yytext,z=wt.yylineno,rt=wt.yylloc;break;case 2:if(It=this.productions_[K[1]][1],V.$=M[M.length-It],V._$={first_line:F[F.length-(It||1)].first_line,last_line:F[F.length-1].last_line,first_column:F[F.length-(It||1)].first_column,last_column:F[F.length-1].last_column},it&&(V._$.range=[F[F.length-(It||1)].range[0],F[F.length-1].range[1]]),yt=this.performAction.apply(V,[B,Y,z,mt.yy,K[1],M,F].concat(ft)),typeof yt<"u")return yt;It&&(S=S.slice(0,-1*It*2),M=M.slice(0,-1*It),F=F.slice(0,-1*It)),S.push(this.productions_[K[1]][0]),M.push(V.$),F.push(V._$),jt=R[S[S.length-2]][S[S.length-1]],S.push(jt);break;case 3:return!0}}return!0}},g=function(){var v={EOF:1,parseError:function(E,S){if(this.yy.parser)this.yy.parser.parseError(E,S);else throw new Error(E)},setInput:function(b,E){return this.yy=E||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var E=b.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},unput:function(b){var E=b.length,S=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),S.length-1&&(this.yylineno-=S.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:S?(S.length===_.length?this.yylloc.first_column:0)+_[_.length-S.length].length-S[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
605 `+E+"^"},test_match:function(b,E){var S,_,M;if(this.options.backtrack_lexer&&(M={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&&(M.yylloc.range=this.yylloc.range.slice(0))),_=b[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],S=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),S)return S;if(this._backtrack){for(var F in M)this[F]=M[F];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,E,S,_;this._more||(this.yytext="",this.match="");for(var M=this._currentRules(),F=0;F<M.length;F++)if(S=this._input.match(this.rules[M[F]]),S&&(!E||S[0].length>E[0].length)){if(E=S,_=F,this.options.backtrack_lexer){if(b=this.test_match(S,M[F]),b!==!1)return b;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(b=this.test_match(E,M[_]),b!==!1?b:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
609 Expecting `+Xt.join(", ")+", got '"+(this.terminals_[Mt]||Mt)+"'":_e="Parse error on line "+(yt+1)+": Unexpected "+(Mt==It?"end of input":"'"+(this.terminals_[Mt]||Mt)+"'"),this.parseError(_e,{text:xt.match,token:this.terminals_[Mt]||Mt,line:xt.yylineno,loc:kt,expected:Xt})}if(Ae[0]instanceof Array&&Ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pn+", token: "+Mt);switch(Ae[0]){case 1:rt.push(Mt),gt.push(xt.yytext),Q.push(xt.yylloc),rt.push(Ae[1]),Mt=null,V=xt.yyleng,K=xt.yytext,yt=xt.yylineno,kt=xt.yylloc;break;case 2:if(be=this.productions_[Ae[1]][1],tn.$=gt[gt.length-be],tn._$={first_line:Q[Q.length-(be||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(be||1)].first_column,last_column:Q[Q.length-1].last_column},Gt&&(tn._$.range=[Q[Q.length-(be||1)].range[0],Q[Q.length-1].range[1]]),ye=this.performAction.apply(tn,[K,V,yt,Ft.yy,Ae[1],gt,Q].concat(jt)),typeof ye<"u")return ye;be&&(rt=rt.slice(0,-1*be*2),gt=gt.slice(0,-1*be),Q=Q.slice(0,-1*be)),rt.push(this.productions_[Ae[1]][0]),gt.push(tn.$),Q.push(tn._$),Ne=dt[rt[rt.length-2]][rt[rt.length-1]],rt.push(Ne);break;case 3:return!0}}return!0}},ot=function(){var wt={EOF:1,parseError:function(ct,rt){if(this.yy.parser)this.yy.parser.parseError(ct,rt);else throw new Error(ct)},setInput:function(mt,ct){return this.yy=ct||this.yy||{},this._input=mt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var mt=this._input[0];this.yytext+=mt,this.yyleng++,this.offset++,this.match+=mt,this.matched+=mt;var ct=mt.match(/(?:\r\n?|\n).*/g);return ct?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),mt},unput:function(mt){var ct=mt.length,rt=mt.split(/(?:\r\n?|\n)/g);this._input=mt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ct),this.offset-=ct;var it=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),rt.length-1&&(this.yylineno-=rt.length-1);var gt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:rt?(rt.length===it.length?this.yylloc.first_column:0)+it[it.length-rt.length].length-rt[0].length:this.yylloc.first_column-ct},this.options.ranges&&(this.yylloc.range=[gt[0],gt[0]+this.yyleng-ct]),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).
611 `+ct+"^"},test_match:function(mt,ct){var rt,it,gt;if(this.options.backtrack_lexer&&(gt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(gt.yylloc.range=this.yylloc.range.slice(0))),it=mt[0].match(/(?:\r\n?|\n).*/g),it&&(this.yylineno+=it.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:it?it[it.length-1].length-it[it.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+mt[0].length},this.yytext+=mt[0],this.match+=mt[0],this.matches=mt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(mt[0].length),this.matched+=mt[0],rt=this.performAction.call(this,this.yy,this,ct,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),rt)return rt;if(this._backtrack){for(var Q in gt)this[Q]=gt[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var mt,ct,rt,it;this._more||(this.yytext="",this.match="");for(var gt=this._currentRules(),Q=0;Q<gt.length;Q++)if(rt=this._input.match(this.rules[gt[Q]]),rt&&(!ct||rt[0].length>ct[0].length)){if(ct=rt,it=Q,this.options.backtrack_lexer){if(mt=this.test_match(rt,gt[Q]),mt!==!1)return mt;if(this._backtrack){ct=!1;continue}else return!1}else if(!this.options.flex)break}return ct?(mt=this.test_match(ct,gt[it]),mt!==!1?mt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
643 Expecting `+xo.join(", ")+", got '"+(this.terminals_[Nn]||Nn)+"'":ko="Parse error on line "+(Mn+1)+": Unexpected "+(Nn==we?"end of input":"'"+(this.terminals_[Nn]||Nn)+"'"),this.parseError(ko,{text:mi.match,token:this.terminals_[Nn]||Nn,line:mi.yylineno,loc:za,expected:xo})}if(ke[0]instanceof Array&&ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Bn+", token: "+Nn);switch(ke[0]){case 1:sn.push(Nn),Ne.push(mi.yytext),Xt.push(mi.yylloc),sn.push(ke[1]),Nn=null,ce=mi.yyleng,xe=mi.yytext,Mn=mi.yylineno,za=mi.yylloc;break;case 2:if(xn=this.productions_[ke[1]][1],Je.$=Ne[Ne.length-xn],Je._$={first_line:Xt[Xt.length-(xn||1)].first_line,last_line:Xt[Xt.length-1].last_line,first_column:Xt[Xt.length-(xn||1)].first_column,last_column:Xt[Xt.length-1].last_column},br&&(Je._$.range=[Xt[Xt.length-(xn||1)].range[0],Xt[Xt.length-1].range[1]]),pe=this.performAction.apply(Je,[xe,ce,Mn,ga.yy,ke[1],Ne,Xt].concat(Fi)),typeof pe<"u")return pe;xn&&(sn=sn.slice(0,-1*xn*2),Ne=Ne.slice(0,-1*xn),Xt=Xt.slice(0,-1*xn)),sn.push(this.productions_[ke[1]][0]),Ne.push(Je.$),Xt.push(Je._$),qa=_e[sn[sn.length-2]][sn[sn.length-1]],sn.push(qa);break;case 3:return!0}}return!0}},Mt=function(){var Ae={EOF:1,parseError:function(tn,sn){if(this.yy.parser)this.yy.parser.parseError(tn,sn);else throw new Error(tn)},setInput:function(ye,tn){return this.yy=tn||this.yy||{},this._input=ye,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ye=this._input[0];this.yytext+=ye,this.yyleng++,this.offset++,this.match+=ye,this.matched+=ye;var tn=ye.match(/(?:\r\n?|\n).*/g);return tn?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ye},unput:function(ye){var tn=ye.length,sn=ye.split(/(?:\r\n?|\n)/g);this._input=ye+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-tn),this.offset-=tn;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),sn.length-1&&(this.yylineno-=sn.length-1);var Ne=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:sn?(sn.length===be.length?this.yylloc.first_column:0)+be[be.length-sn.length].length-sn[0].length:this.yylloc.first_column-tn},this.options.ranges&&(this.yylloc.range=[Ne[0],Ne[0]+this.yyleng-tn]),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).
645 `+tn+"^"},test_match:function(ye,tn){var sn,be,Ne;if(this.options.backtrack_lexer&&(Ne={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ne.yylloc.range=this.yylloc.range.slice(0))),be=ye[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+ye[0].length},this.yytext+=ye[0],this.match+=ye[0],this.matches=ye,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ye[0].length),this.matched+=ye[0],sn=this.performAction.call(this,this.yy,this,tn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),sn)return sn;if(this._backtrack){for(var Xt in Ne)this[Xt]=Ne[Xt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ye,tn,sn,be;this._more||(this.yytext="",this.match="");for(var Ne=this._currentRules(),Xt=0;Xt<Ne.length;Xt++)if(sn=this._input.match(this.rules[Ne[Xt]]),sn&&(!tn||sn[0].length>tn[0].length)){if(tn=sn,be=Xt,this.options.backtrack_lexer){if(ye=this.test_match(sn,Ne[Xt]),ye!==!1)return ye;if(this._backtrack){tn=!1;continue}else return!1}else if(!this.options.flex)break}return tn?(ye=this.test_match(tn,Ne[be]),ye!==!1?ye:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
646 `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var tn=this.next();return tn||this.lex()},begin:function(tn){this.conditionStack.push(tn)},popState:function(){var tn=this.conditionStack.length-1;return tn>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(tn){return tn=this.conditionStack.length-1-Math.abs(tn||0),tn>=0?this.conditionStack[tn]:"INITIAL"},pushState:function(tn){this.begin(tn)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(tn,sn,be,Ne){switch(be){case 0:break;case 1:break;case 2:return 32;case 3:break;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 22:this.popState();break;case 23:this.begin("string");break;case 24:this.popState();break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 28:this.popState();break;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:return 46;case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return Ae}();Fe.lexer=Mt;function pn(){this.yy={}}return pn.prototype=Fe,Fe.Parser=pn,new pn}();Cbt.parser=Cbt;const gXe=Cbt,rp=dgt();class pXe{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var a,f,g,w,v,b,E,S,_,M,F,R,B,z,Y,nt,ot,ft;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((a=Bl.quadrantChart)==null?void 0:a.chartWidth)||500,chartWidth:((f=Bl.quadrantChart)==null?void 0:f.chartHeight)||500,titlePadding:((g=Bl.quadrantChart)==null?void 0:g.titlePadding)||10,titleFontSize:((w=Bl.quadrantChart)==null?void 0:w.titleFontSize)||20,quadrantPadding:((v=Bl.quadrantChart)==null?void 0:v.quadrantPadding)||5,xAxisLabelPadding:((b=Bl.quadrantChart)==null?void 0:b.xAxisLabelPadding)||5,yAxisLabelPadding:((E=Bl.quadrantChart)==null?void 0:E.yAxisLabelPadding)||5,xAxisLabelFontSize:((S=Bl.quadrantChart)==null?void 0:S.xAxisLabelFontSize)||16,yAxisLabelFontSize:((_=Bl.quadrantChart)==null?void 0:_.yAxisLabelFontSize)||16,quadrantLabelFontSize:((M=Bl.quadrantChart)==null?void 0:M.quadrantLabelFontSize)||16,quadrantTextTopPadding:((F=Bl.quadrantChart)==null?void 0:F.quadrantTextTopPadding)||5,pointTextPadding:((R=Bl.quadrantChart)==null?void 0:R.pointTextPadding)||5,pointLabelFontSize:((B=Bl.quadrantChart)==null?void 0:B.pointLabelFontSize)||12,pointRadius:((z=Bl.quadrantChart)==null?void 0:z.pointRadius)||5,xAxisPosition:((Y=Bl.quadrantChart)==null?void 0:Y.xAxisPosition)||"top",yAxisPosition:((nt=Bl.quadrantChart)==null?void 0:nt.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((ot=Bl.quadrantChart)==null?void 0:ot.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((ft=Bl.quadrantChart)==null?void 0:ft.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:rp.quadrant1Fill,quadrant2Fill:rp.quadrant2Fill,quadrant3Fill:rp.quadrant3Fill,quadrant4Fill:rp.quadrant4Fill,quadrant1TextFill:rp.quadrant1TextFill,quadrant2TextFill:rp.quadrant2TextFill,quadrant3TextFill:rp.quadrant3TextFill,quadrant4TextFill:rp.quadrant4TextFill,quadrantPointFill:rp.quadrantPointFill,quadrantPointTextFill:rp.quadrantPointTextFill,quadrantXAxisTextFill:rp.quadrantXAxisTextFill,quadrantYAxisTextFill:rp.quadrantYAxisTextFill,quadrantTitleFill:rp.quadrantTitleFill,quadrantInternalBorderStrokeFill:rp.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:rp.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),Kt.info("clear called")}setData(a){this.data={...this.data,...a}}addPoints(a){this.data.points=[...a,...this.data.points]}setConfig(a){Kt.trace("setConfig called with: ",a),this.config={...this.config,...a}}setThemeConfig(a){Kt.trace("setThemeConfig called with: ",a),this.themeConfig={...this.themeConfig,...a}}calculateSpace(a,f,g,w){const v=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,b={top:a==="top"&&f?v:0,bottom:a==="bottom"&&f?v:0},E=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,S={left:this.config.yAxisPosition==="left"&&g?E:0,right:this.config.yAxisPosition==="right"&&g?E:0},_=this.config.titleFontSize+this.config.titlePadding*2,M={top:w?_:0},F=this.config.quadrantPadding+S.left,R=this.config.quadrantPadding+b.top+M.top,B=this.config.chartWidth-this.config.quadrantPadding*2-S.left-S.right,z=this.config.chartHeight-this.config.quadrantPadding*2-b.top-b.bottom-M.top,Y=B/2,nt=z/2;return{xAxisSpace:b,yAxisSpace:S,titleSpace:M,quadrantSpace:{quadrantLeft:F,quadrantTop:R,quadrantWidth:B,quadrantHalfWidth:Y,quadrantHeight:z,quadrantHalfHeight:nt}}}getAxisLabels(a,f,g,w){const{quadrantSpace:v,titleSpace:b}=w,{quadrantHalfHeight:E,quadrantHeight:S,quadrantLeft:_,quadrantHalfWidth:M,quadrantTop:F,quadrantWidth:R}=v,B=!!this.data.xAxisRightText,z=!!this.data.yAxisTopText,Y=[];return this.data.xAxisLeftText&&f&&Y.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:_+(B?M/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+F+S+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:B?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&f&&Y.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:_+M+(B?M/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+F+S+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:B?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&g&&Y.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+_+R+this.config.quadrantPadding,y:F+S-(z?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:z?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&g&&Y.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+_+R+this.config.quadrantPadding,y:F+E-(z?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:z?"center":"left",horizontalPos:"top",rotation:-90}),Y}getQuadrants(a){const{quadrantSpace:f}=a,{quadrantHalfHeight:g,quadrantLeft:w,quadrantHalfWidth:v,quadrantTop:b}=f,E=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:w+v,y:b,width:v,height:g,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:w,y:b,width:v,height:g,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:w,y:b+g,width:v,height:g,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:w+v,y:b+g,width:v,height:g,fill:this.themeConfig.quadrant4Fill}];for(const S of E)S.text.x=S.x+S.width/2,this.data.points.length===0?(S.text.y=S.y+S.height/2,S.text.horizontalPos="middle"):(S.text.y=S.y+this.config.quadrantTextTopPadding,S.text.horizontalPos="top");return E}getQuadrantPoints(a){const{quadrantSpace:f}=a,{quadrantHeight:g,quadrantLeft:w,quadrantTop:v,quadrantWidth:b}=f,E=VL().domain([0,1]).range([w,b+w]),S=VL().domain([0,1]).range([g+v,v]);return this.data.points.map(M=>({x:E(M.x),y:S(M.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:M.text,fill:this.themeConfig.quadrantPointTextFill,x:E(M.x),y:S(M.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(a){const f=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:g}=a,{quadrantHalfHeight:w,quadrantHeight:v,quadrantLeft:b,quadrantHalfWidth:E,quadrantTop:S,quadrantWidth:_}=g;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-f,y1:S,x2:b+_+f,y2:S},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b+_,y1:S+f,x2:b+_,y2:S+v-f},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-f,y1:S+v,x2:b+_+f,y2:S+v},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b,y1:S+f,x2:b,y2:S+v-f},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+E,y1:S+f,x2:b+E,y2:S+v-f},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+f,y1:S+w,x2:b+_-f,y2:S+w}]}getTitle(a){if(a)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const a=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),f=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),g=this.config.showTitle&&!!this.data.titleText,w=this.data.points.length>0?"bottom":this.config.xAxisPosition,v=this.calculateSpace(w,a,f,g);return{points:this.getQuadrantPoints(v),quadrants:this.getQuadrants(v),axisLabels:this.getAxisLabels(w,a,f,v),borderLines:this.getBorders(v),title:this.getTitle(g)}}}const bXe=Re();function qx(i){return Ef(i.trim(),bXe)}const ug=new pXe;function wXe(i){ug.setData({quadrant1Text:qx(i.text)})}function mXe(i){ug.setData({quadrant2Text:qx(i.text)})}function vXe(i){ug.setData({quadrant3Text:qx(i.text)})}function yXe(i){ug.setData({quadrant4Text:qx(i.text)})}function xXe(i){ug.setData({xAxisLeftText:qx(i.text)})}function kXe(i){ug.setData({xAxisRightText:qx(i.text)})}function EXe(i){ug.setData({yAxisTopText:qx(i.text)})}function TXe(i){ug.setData({yAxisBottomText:qx(i.text)})}function CXe(i,a,f){ug.addPoints([{x:a,y:f,text:qx(i.text)}])}function SXe(i){ug.setConfig({chartWidth:i})}function _Xe(i){ug.setConfig({chartHeight:i})}function AXe(){const i=Re(),{themeVariables:a,quadrantChart:f}=i;return f&&ug.setConfig(f),ug.setThemeConfig({quadrant1Fill:a.quadrant1Fill,quadrant2Fill:a.quadrant2Fill,quadrant3Fill:a.quadrant3Fill,quadrant4Fill:a.quadrant4Fill,quadrant1TextFill:a.quadrant1TextFill,quadrant2TextFill:a.quadrant2TextFill,quadrant3TextFill:a.quadrant3TextFill,quadrant4TextFill:a.quadrant4TextFill,quadrantPointFill:a.quadrantPointFill,quadrantPointTextFill:a.quadrantPointTextFill,quadrantXAxisTextFill:a.quadrantXAxisTextFill,quadrantYAxisTextFill:a.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:a.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:a.quadrantInternalBorderStrokeFill,quadrantTitleFill:a.quadrantTitleFill}),ug.setData({titleText:Zg()}),ug.build()}const LXe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:gXe,db:{setWidth:SXe,setHeight:_Xe,setQuadrant1Text:wXe,setQuadrant2Text:mXe,setQuadrant3Text:vXe,setQuadrant4Text:yXe,setXAxisLeftText:xXe,setXAxisRightText:kXe,setYAxisTopText:EXe,setYAxisBottomText:TXe,addPoint:CXe,getQuadrantData:AXe,clear:function(){ug.clear(),ag()},setAccTitle:og,getAccTitle:Xg,setDiagramTitle:S2,getDiagramTitle:Zg,getAccDescription:Jg,setAccDescription:Qg},renderer:{draw:(i,a,f,g)=>{var gt,Q,dt;function w(K){return K==="top"?"hanging":"middle"}function v(K){return K==="left"?"start":"middle"}function b(K){return`translate(${K.x}, ${K.y}) rotate(${K.rotation||0})`}const E=Re();Kt.debug(`Rendering quadrant chart
649 Expecting `+br.join(", ")+", got '"+(this.terminals_[ce]||ce)+"'":An="Parse error on line "+(pn+1)+": Unexpected "+(ce==tn?"end of input":"'"+(this.terminals_[ce]||ce)+"'"),this.parseError(An,{text:be.match,token:this.terminals_[ce]||ce,line:be.yylineno,loc:_e,expected:br})}if(we[0]instanceof Array&&we.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Br+", token: "+ce);switch(we[0]){case 1:Ft.push(ce),kt.push(be.yytext),Gt.push(be.yylloc),Ft.push(we[1]),ce=null,Ae=be.yyleng,Mt=be.yytext,pn=be.yylineno,_e=be.yylloc;break;case 2:if(Ss=this.productions_[we[1]][1],mi.$=kt[kt.length-Ss],mi._$={first_line:Gt[Gt.length-(Ss||1)].first_line,last_line:Gt[Gt.length-1].last_line,first_column:Gt[Gt.length-(Ss||1)].first_column,last_column:Gt[Gt.length-1].last_column},xe&&(mi._$.range=[Gt[Gt.length-(Ss||1)].range[0],Gt[Gt.length-1].range[1]]),Fi=this.performAction.apply(mi,[Mt,Ae,pn,Ne.yy,we[1],kt,Gt].concat(sn)),typeof Fi<"u")return Fi;Ss&&(Ft=Ft.slice(0,-1*Ss*2),kt=kt.slice(0,-1*Ss),Gt=Gt.slice(0,-1*Ss)),Ft.push(this.productions_[we[1]][0]),kt.push(mi.$),Gt.push(mi._$),za=Fe[Ft[Ft.length-2]][Ft[Ft.length-1]],Ft.push(za);break;case 3:return!0}}return!0}},V=function(){var It={EOF:1,parseError:function(xt,Ft){if(this.yy.parser)this.yy.parser.parseError(xt,Ft);else throw new Error(xt)},setInput:function(jt,xt){return this.yy=xt||this.yy||{},this._input=jt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var jt=this._input[0];this.yytext+=jt,this.yyleng++,this.offset++,this.match+=jt,this.matched+=jt;var xt=jt.match(/(?:\r\n?|\n).*/g);return xt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),jt},unput:function(jt){var xt=jt.length,Ft=jt.split(/(?:\r\n?|\n)/g);this._input=jt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-xt),this.offset-=xt;var Ct=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Ft.length-1&&(this.yylineno-=Ft.length-1);var kt=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:Ft?(Ft.length===Ct.length?this.yylloc.first_column:0)+Ct[Ct.length-Ft.length].length-Ft[0].length:this.yylloc.first_column-xt},this.options.ranges&&(this.yylloc.range=[kt[0],kt[0]+this.yyleng-xt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
651 `+xt+"^"},test_match:function(jt,xt){var Ft,Ct,kt;if(this.options.backtrack_lexer&&(kt={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&&(kt.yylloc.range=this.yylloc.range.slice(0))),Ct=jt[0].match(/(?:\r\n?|\n).*/g),Ct&&(this.yylineno+=Ct.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ct?Ct[Ct.length-1].length-Ct[Ct.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+jt[0].length},this.yytext+=jt[0],this.match+=jt[0],this.matches=jt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(jt[0].length),this.matched+=jt[0],Ft=this.performAction.call(this,this.yy,this,xt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ft)return Ft;if(this._backtrack){for(var Gt in kt)this[Gt]=kt[Gt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var jt,xt,Ft,Ct;this._more||(this.yytext="",this.match="");for(var kt=this._currentRules(),Gt=0;Gt<kt.length;Gt++)if(Ft=this._input.match(this.rules[kt[Gt]]),Ft&&(!xt||Ft[0].length>xt[0].length)){if(xt=Ft,Ct=Gt,this.options.backtrack_lexer){if(jt=this.test_match(Ft,kt[Gt]),jt!==!1)return jt;if(this._backtrack){xt=!1;continue}else return!1}else if(!this.options.flex)break}return xt?(jt=this.test_match(xt,kt[Ct]),jt!==!1?jt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
652 `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var xt=this.next();return xt||this.lex()},begin:function(xt){this.conditionStack.push(xt)},popState:function(){var xt=this.conditionStack.length-1;return xt>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(xt){return xt=this.conditionStack.length-1-Math.abs(xt||0),xt>=0?this.conditionStack[xt]:"INITIAL"},pushState:function(xt){this.begin(xt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(xt,Ft,Ct,kt){switch(Ct){case 0:break;case 1:break;case 2:return this.popState(),34;case 3:return this.popState(),34;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 25:this.popState();break;case 26:this.pushState("string");break;case 27:this.popState();break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 43:break;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};return It}();yt.lexer=V;function Ot(){this.yy={}}return Ot.prototype=yt,yt.Parser=Ot,new Ot}();Sbt.parser=Sbt;const DXe=Sbt;function Kzt(i){return i.type==="bar"}function Wzt(i){return i.type==="band"}function lB(i){return i.type==="linear"}class Yzt{constructor(a){this.parentGroup=a}getMaxDimension(a,f){if(!this.parentGroup)return{width:a.reduce((v,b)=>Math.max(b.length,v),0)*f,height:f};const g={width:0,height:0},w=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",f);for(const v of a){const b=AKe(w,1,v),E=b?b.width:v.length*f,S=b?b.height:f;g.width=Math.max(g.width,E),g.height=Math.max(g.height,S)}return w.remove(),g}}const Xzt=.7,Qzt=.2;class Jzt{constructor(a,f,g,w){this.axisConfig=a,this.title=f,this.textDimensionCalculator=g,this.axisThemeConfig=w,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(a){this.range=a,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=a[1]-a[0]:this.boundingRect.width=a[1]-a[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(a){this.axisPosition=a,this.setRange(this.range)}getTickDistance(){const a=this.getRange();return Math.abs(a[0]-a[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(a=>a.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){Xzt*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(Xzt*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(a){let f=a.height;if(this.axisConfig.showAxisLine&&f>this.axisConfig.axisLineWidth&&(f-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const g=this.getLabelDimension(),w=Qzt*a.width;this.outerPadding=Math.min(g.width/2,w);const v=g.height+this.axisConfig.labelPadding*2;this.labelTextHeight=g.height,v<=f&&(f-=v,this.showLabel=!0)}if(this.axisConfig.showTick&&f>=this.axisConfig.tickLength&&(this.showTick=!0,f-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const g=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),w=g.height+this.axisConfig.titlePadding*2;this.titleTextHeight=g.height,w<=f&&(f-=w,this.showTitle=!0)}this.boundingRect.width=a.width,this.boundingRect.height=a.height-f}calculateSpaceIfDrawnVertical(a){let f=a.width;if(this.axisConfig.showAxisLine&&f>this.axisConfig.axisLineWidth&&(f-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const g=this.getLabelDimension(),w=Qzt*a.height;this.outerPadding=Math.min(g.height/2,w);const v=g.width+this.axisConfig.labelPadding*2;v<=f&&(f-=v,this.showLabel=!0)}if(this.axisConfig.showTick&&f>=this.axisConfig.tickLength&&(this.showTick=!0,f-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const g=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),w=g.height+this.axisConfig.titlePadding*2;this.titleTextHeight=g.height,w<=f&&(f-=w,this.showTitle=!0)}this.boundingRect.width=a.width-f,this.boundingRect.height=a.height}calculateSpace(a){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(a):this.calculateSpaceIfDrawnHorizontally(a),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}getDrawableElementsForLeftAxis(){const a=[];if(this.showAxisLine){const f=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${f},${this.boundingRect.y} L ${f},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(f=>({text:f.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(f),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const f=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(g=>({path:`M ${f},${this.getScaleValue(g)} L ${f-this.axisConfig.tickLength},${this.getScaleValue(g)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForBottomAxis(){const a=[];if(this.showAxisLine){const f=this.boundingRect.y+this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${f} L ${this.boundingRect.x+this.boundingRect.width},${f}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(f=>({text:f.toString(),x:this.getScaleValue(f),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const f=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(g=>({path:`M ${this.getScaleValue(g)},${f} L ${this.getScaleValue(g)},${f+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForTopAxis(){const a=[];if(this.showAxisLine){const f=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${f} L ${this.boundingRect.x+this.boundingRect.width},${f}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(f=>({text:f.toString(),x:this.getScaleValue(f),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const f=this.boundingRect.y;a.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(g=>({path:`M ${this.getScaleValue(g)},${f+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(g)},${f+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}class MXe extends Jzt{constructor(a,f,g,w,v){super(a,w,v,f),this.categories=g,this.scale=V0t().domain(this.categories).range(this.getRange())}setRange(a){super.setRange(a)}recalculateScale(){this.scale=V0t().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Kt.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(a){return this.scale(a)||this.getRange()[0]}}class IXe extends Jzt{constructor(a,f,g,w,v){super(a,w,v,f),this.domain=g,this.scale=VL().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const a=[...this.domain];this.axisPosition==="left"&&a.reverse(),this.scale=VL().domain(a).range(this.getRange())}getScaleValue(a){return this.scale(a)}}function Zzt(i,a,f,g){const w=new Yzt(g);return Wzt(i)?new MXe(a,f,i.categories,i.title,w):new IXe(a,f,[i.min,i.max],i.title,w)}class OXe{constructor(a,f,g,w){this.textDimensionCalculator=a,this.chartConfig=f,this.chartData=g,this.chartThemeConfig=w,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){const f=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),g=Math.max(f.width,a.width),w=f.height+2*this.chartConfig.titlePadding;return f.width<=g&&f.height<=w&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=g,this.boundingRect.height=w,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const a=[];return this.showChartTitle&&a.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),a}}function NXe(i,a,f,g){const w=new Yzt(g);return new OXe(w,i,a,f)}class PXe{constructor(a,f,g,w,v){this.plotData=a,this.xAxis=f,this.yAxis=g,this.orientation=w,this.plotIndex=v}getDrawableElement(){const a=this.plotData.data.map(g=>[this.xAxis.getScaleValue(g[0]),this.yAxis.getScaleValue(g[1])]);let f;return this.orientation==="horizontal"?f=Ax().y(g=>g[0]).x(g=>g[1])(a):f=Ax().x(g=>g[0]).y(g=>g[1])(a),f?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:f,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class FXe{constructor(a,f,g,w,v,b){this.barData=a,this.boundingRect=f,this.xAxis=g,this.yAxis=w,this.orientation=v,this.plotIndex=b}getDrawableElement(){const a=this.barData.data.map(v=>[this.xAxis.getScaleValue(v[0]),this.yAxis.getScaleValue(v[1])]),f=.05,g=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-f),w=g/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(v=>({x:this.boundingRect.x,y:v[0]-w,height:g,width:v[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(v=>({x:v[0]-w,y:v[1],width:g,height:this.boundingRect.y+this.boundingRect.height-v[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}class BXe{constructor(a,f,g){this.chartConfig=a,this.chartData=f,this.chartThemeConfig=g,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(a,f){this.xAxis=a,this.yAxis=f}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){return this.boundingRect.width=a.width,this.boundingRect.height=a.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");const a=[];for(const[f,g]of this.chartData.plots.entries())switch(g.type){case"line":{const w=new PXe(g,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,f);a.push(...w.getDrawableElement())}break;case"bar":{const w=new FXe(g,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,f);a.push(...w.getDrawableElement())}break}return a}}function RXe(i,a,f){return new BXe(i,a,f)}class jXe{constructor(a,f,g,w){this.chartConfig=a,this.chartData=f,this.componentStore={title:NXe(a,f,g,w),plot:RXe(a,f,g),xAxis:Zzt(f.xAxis,a.xAxis,{titleColor:g.xAxisTitleColor,labelColor:g.xAxisLabelColor,tickColor:g.xAxisTickColor,axisLineColor:g.xAxisLineColor},w),yAxis:Zzt(f.yAxis,a.yAxis,{titleColor:g.yAxisTitleColor,labelColor:g.yAxisLabelColor,tickColor:g.yAxisTickColor,axisLineColor:g.yAxisLineColor},w)}}calculateVerticalSpace(){let a=this.chartConfig.width,f=this.chartConfig.height,g=0,w=0,v=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),b=Math.floor(f*this.chartConfig.plotReservedSpacePercent/100),E=this.componentStore.plot.calculateSpace({width:v,height:b});a-=E.width,f-=E.height,E=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:f}),w=E.height,f-=E.height,this.componentStore.xAxis.setAxisPosition("bottom"),E=this.componentStore.xAxis.calculateSpace({width:a,height:f}),f-=E.height,this.componentStore.yAxis.setAxisPosition("left"),E=this.componentStore.yAxis.calculateSpace({width:a,height:f}),g=E.width,a-=E.width,a>0&&(v+=a,a=0),f>0&&(b+=f,f=0),this.componentStore.plot.calculateSpace({width:v,height:b}),this.componentStore.plot.setBoundingBoxXY({x:g,y:w}),this.componentStore.xAxis.setRange([g,g+v]),this.componentStore.xAxis.setBoundingBoxXY({x:g,y:w+b}),this.componentStore.yAxis.setRange([w,w+b]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:w}),this.chartData.plots.some(S=>Kzt(S))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizonatalSpace(){let a=this.chartConfig.width,f=this.chartConfig.height,g=0,w=0,v=0,b=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),E=Math.floor(f*this.chartConfig.plotReservedSpacePercent/100),S=this.componentStore.plot.calculateSpace({width:b,height:E});a-=S.width,f-=S.height,S=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:f}),g=S.height,f-=S.height,this.componentStore.xAxis.setAxisPosition("left"),S=this.componentStore.xAxis.calculateSpace({width:a,height:f}),a-=S.width,w=S.width,this.componentStore.yAxis.setAxisPosition("top"),S=this.componentStore.yAxis.calculateSpace({width:a,height:f}),f-=S.height,v=g+S.height,a>0&&(b+=a,a=0),f>0&&(E+=f,f=0),this.componentStore.plot.calculateSpace({width:b,height:E}),this.componentStore.plot.setBoundingBoxXY({x:w,y:v}),this.componentStore.yAxis.setRange([w,w+b]),this.componentStore.yAxis.setBoundingBoxXY({x:w,y:g}),this.componentStore.xAxis.setRange([v,v+E]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:v}),this.chartData.plots.some(_=>Kzt(_))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizonatalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const a=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const f of Object.values(this.componentStore))a.push(...f.getDrawableElements());return a}}class $Xe{static build(a,f,g,w){return new jXe(a,f,g,w).getDrawableElement()}}let hB=0,tqt,fB=nqt(),dB=eqt(),Pu=rqt(),_bt=dB.plotColorPalette.split(",").map(i=>i.trim()),pX=!1,Abt=!1;function eqt(){const i=dgt(),a=o1();return MF(i.xyChart,a.themeVariables.xyChart)}function nqt(){const i=o1();return MF(Bl.xyChart,i.xyChart)}function rqt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function Lbt(i){const a=o1();return Ef(i.trim(),a)}function zXe(i){tqt=i}function qXe(i){i==="horizontal"?fB.chartOrientation="horizontal":fB.chartOrientation="vertical"}function HXe(i){Pu.xAxis.title=Lbt(i.text)}function iqt(i,a){Pu.xAxis={type:"linear",title:Pu.xAxis.title,min:i,max:a},pX=!0}function VXe(i){Pu.xAxis={type:"band",title:Pu.xAxis.title,categories:i.map(a=>Lbt(a.text))},pX=!0}function UXe(i){Pu.yAxis.title=Lbt(i.text)}function GXe(i,a){Pu.yAxis={type:"linear",title:Pu.yAxis.title,min:i,max:a},Abt=!0}function KXe(i){const a=Math.min(...i),f=Math.max(...i),g=lB(Pu.yAxis)?Pu.yAxis.min:1/0,w=lB(Pu.yAxis)?Pu.yAxis.max:-1/0;Pu.yAxis={type:"linear",title:Pu.yAxis.title,min:Math.min(g,a),max:Math.max(w,f)}}function sqt(i){let a=[];if(i.length===0)return a;if(!pX){const f=lB(Pu.xAxis)?Pu.xAxis.min:1/0,g=lB(Pu.xAxis)?Pu.xAxis.max:-1/0;iqt(Math.min(f,1),Math.max(g,i.length))}if(Abt||KXe(i),Wzt(Pu.xAxis)&&(a=Pu.xAxis.categories.map((f,g)=>[f,i[g]])),lB(Pu.xAxis)){const f=Pu.xAxis.min,g=Pu.xAxis.max,w=(g-f+1)/i.length,v=[];for(let b=f;b<=g;b+=w)v.push(`${b}`);a=v.map((b,E)=>[b,i[E]])}return a}function aqt(i){return _bt[i===0?0:i%_bt.length]}function WXe(i,a){const f=sqt(a);Pu.plots.push({type:"line",strokeFill:aqt(hB),strokeWidth:2,data:f}),hB++}function YXe(i,a){const f=sqt(a);Pu.plots.push({type:"bar",fill:aqt(hB),data:f}),hB++}function XXe(){if(Pu.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return Pu.title=Zg(),$Xe.build(fB,Pu,dB,tqt)}function QXe(){return dB}function JXe(){return fB}const ZXe=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:DXe,db:{getDrawableElem:XXe,clear:function(){ag(),hB=0,fB=nqt(),Pu=rqt(),dB=eqt(),_bt=dB.plotColorPalette.split(",").map(i=>i.trim()),pX=!1,Abt=!1},setAccTitle:og,getAccTitle:Xg,setDiagramTitle:S2,getDiagramTitle:Zg,getAccDescription:Jg,setAccDescription:Qg,setOrientation:qXe,setXAxisTitle:HXe,setXAxisRangeData:iqt,setXAxisBand:VXe,setYAxisTitle:UXe,setYAxisRangeData:GXe,setLineData:WXe,setBarData:YXe,setTmpSVGG:zXe,getChartThemeConfig:QXe,getChartConfig:JXe},renderer:{draw:(i,a,f,g)=>{const w=g.db,v=w.getChartThemeConfig(),b=w.getChartConfig();function E(nt){return nt==="top"?"text-before-edge":"middle"}function S(nt){return nt==="left"?"start":nt==="right"?"end":"middle"}function _(nt){return`translate(${nt.x}, ${nt.y}) rotate(${nt.rotation||0})`}Kt.debug(`Rendering xychart chart
655 Expecting `+xo.join(", ")+", got '"+(this.terminals_[Nn]||Nn)+"'":ko="Parse error on line "+(Mn+1)+": Unexpected "+(Nn==we?"end of input":"'"+(this.terminals_[Nn]||Nn)+"'"),this.parseError(ko,{text:mi.match,token:this.terminals_[Nn]||Nn,line:mi.yylineno,loc:za,expected:xo})}if(ke[0]instanceof Array&&ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Bn+", token: "+Nn);switch(ke[0]){case 1:sn.push(Nn),Ne.push(mi.yytext),Xt.push(mi.yylloc),sn.push(ke[1]),Nn=null,ce=mi.yyleng,xe=mi.yytext,Mn=mi.yylineno,za=mi.yylloc;break;case 2:if(xn=this.productions_[ke[1]][1],Je.$=Ne[Ne.length-xn],Je._$={first_line:Xt[Xt.length-(xn||1)].first_line,last_line:Xt[Xt.length-1].last_line,first_column:Xt[Xt.length-(xn||1)].first_column,last_column:Xt[Xt.length-1].last_column},br&&(Je._$.range=[Xt[Xt.length-(xn||1)].range[0],Xt[Xt.length-1].range[1]]),pe=this.performAction.apply(Je,[xe,ce,Mn,ga.yy,ke[1],Ne,Xt].concat(Fi)),typeof pe<"u")return pe;xn&&(sn=sn.slice(0,-1*xn*2),Ne=Ne.slice(0,-1*xn),Xt=Xt.slice(0,-1*xn)),sn.push(this.productions_[ke[1]][0]),Ne.push(Je.$),Xt.push(Je._$),qa=_e[sn[sn.length-2]][sn[sn.length-1]],sn.push(qa);break;case 3:return!0}}return!0}},Mt=function(){var Ae={EOF:1,parseError:function(tn,sn){if(this.yy.parser)this.yy.parser.parseError(tn,sn);else throw new Error(tn)},setInput:function(ye,tn){return this.yy=tn||this.yy||{},this._input=ye,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ye=this._input[0];this.yytext+=ye,this.yyleng++,this.offset++,this.match+=ye,this.matched+=ye;var tn=ye.match(/(?:\r\n?|\n).*/g);return tn?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ye},unput:function(ye){var tn=ye.length,sn=ye.split(/(?:\r\n?|\n)/g);this._input=ye+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-tn),this.offset-=tn;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),sn.length-1&&(this.yylineno-=sn.length-1);var Ne=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:sn?(sn.length===be.length?this.yylloc.first_column:0)+be[be.length-sn.length].length-sn[0].length:this.yylloc.first_column-tn},this.options.ranges&&(this.yylloc.range=[Ne[0],Ne[0]+this.yyleng-tn]),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).
657 `+tn+"^"},test_match:function(ye,tn){var sn,be,Ne;if(this.options.backtrack_lexer&&(Ne={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ne.yylloc.range=this.yylloc.range.slice(0))),be=ye[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+ye[0].length},this.yytext+=ye[0],this.match+=ye[0],this.matches=ye,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ye[0].length),this.matched+=ye[0],sn=this.performAction.call(this,this.yy,this,tn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),sn)return sn;if(this._backtrack){for(var Xt in Ne)this[Xt]=Ne[Xt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ye,tn,sn,be;this._more||(this.yytext="",this.match="");for(var Ne=this._currentRules(),Xt=0;Xt<Ne.length;Xt++)if(sn=this._input.match(this.rules[Ne[Xt]]),sn&&(!tn||sn[0].length>tn[0].length)){if(tn=sn,be=Xt,this.options.backtrack_lexer){if(ye=this.test_match(sn,Ne[Xt]),ye!==!1)return ye;if(this._backtrack){tn=!1;continue}else return!1}else if(!this.options.flex)break}return tn?(ye=this.test_match(tn,Ne[be]),ye!==!1?ye:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
706 Expecting `+ds.join(", ")+", got '"+(this.terminals_[Je]||Je)+"'":Fu="Parse error on line "+(Fi+1)+": Unexpected "+(Je==Ss?"end of input":"'"+(this.terminals_[Je]||Je)+"'"),this.parseError(Fu,{text:br.match,token:this.terminals_[Je]||Je,line:br.yylineno,loc:Bn,expected:ds})}if(xn[0]instanceof Array&&xn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+an+", token: "+Je);switch(xn[0]){case 1:_e.push(Je),Mn.push(br.yytext),ce.push(br.yylloc),_e.push(xn[1]),Je=null,mi=br.yyleng,we=br.yytext,Fi=br.yylineno,Bn=br.yylloc;break;case 2:if(va=this.productions_[xn[1]][1],xo.$=Mn[Mn.length-va],xo._$={first_line:ce[ce.length-(va||1)].first_line,last_line:ce[ce.length-1].last_line,first_column:ce[ce.length-(va||1)].first_column,last_column:ce[ce.length-1].last_column},ke&&(xo._$.range=[ce[ce.length-(va||1)].range[0],ce[ce.length-1].range[1]]),qa=this.performAction.apply(xo,[we,mi,Fi,An.yy,xn[1],Mn,ce].concat(za)),typeof qa<"u")return qa;va&&(_e=_e.slice(0,-1*va*2),Mn=Mn.slice(0,-1*va),ce=ce.slice(0,-1*va)),_e.push(this.productions_[xn[1]][0]),Mn.push(xo.$),ce.push(xo._$),Ha=Br[_e[_e.length-2]][_e[_e.length-1]],_e.push(Ha);break;case 3:return!0}}return!0}},tn=function(){var be={EOF:1,parseError:function(Xt,_e){if(this.yy.parser)this.yy.parser.parseError(Xt,_e);else throw new Error(Xt)},setInput:function(Ne,Xt){return this.yy=Xt||this.yy||{},this._input=Ne,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ne=this._input[0];this.yytext+=Ne,this.yyleng++,this.offset++,this.match+=Ne,this.matched+=Ne;var Xt=Ne.match(/(?:\r\n?|\n).*/g);return Xt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ne},unput:function(Ne){var Xt=Ne.length,_e=Ne.split(/(?:\r\n?|\n)/g);this._input=Ne+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Xt),this.offset-=Xt;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),_e.length-1&&(this.yylineno-=_e.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:_e?(_e.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-_e.length].length-_e[0].length:this.yylloc.first_column-Xt},this.options.ranges&&(this.yylloc.range=[Mn[0],Mn[0]+this.yyleng-Xt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
708 `+Xt+"^"},test_match:function(Ne,Xt){var _e,xe,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))),xe=Ne[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+Ne[0].length},this.yytext+=Ne[0],this.match+=Ne[0],this.matches=Ne,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ne[0].length),this.matched+=Ne[0],_e=this.performAction.call(this,this.yy,this,Xt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_e)return _e;if(this._backtrack){for(var ce in Mn)this[ce]=Mn[ce];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ne,Xt,_e,xe;this._more||(this.yytext="",this.match="");for(var Mn=this._currentRules(),ce=0;ce<Mn.length;ce++)if(_e=this._input.match(this.rules[Mn[ce]]),_e&&(!Xt||_e[0].length>Xt[0].length)){if(Xt=_e,xe=ce,this.options.backtrack_lexer){if(Ne=this.test_match(_e,Mn[ce]),Ne!==!1)return Ne;if(this._backtrack){Xt=!1;continue}else return!1}else if(!this.options.flex)break}return Xt?(Ne=this.test_match(Xt,Mn[xe]),Ne!==!1?Ne:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
827 Expecting `+ca.join(", ")+", got '"+(this.terminals_[ll]||ll)+"'":ya="Parse error on line "+(xn+1)+": Unexpected "+(ll==ko?"end of input":"'"+(this.terminals_[ll]||ll)+"'"),this.parseError(ya,{text:Ha.match,token:this.terminals_[ll]||ll,line:Ha.yylineno,loc:Zs,expected:ca})}if(wc[0]instanceof Array&&wc.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ic+", token: "+ll);switch(wc[0]){case 1:Nn.push(ll),ke.push(Ha.yytext),pe.push(Ha.yylloc),Nn.push(wc[1]),ll=null,qa=Ha.yyleng,an=Ha.yytext,xn=Ha.yylineno,Zs=Ha.yylloc;break;case 2:if(fo=this.productions_[wc[1]][1],gu.$=ke[ke.length-fo],gu._$={first_line:pe[pe.length-(fo||1)].first_line,last_line:pe[pe.length-1].last_line,first_column:pe[pe.length-(fo||1)].first_column,last_column:pe[pe.length-1].last_column},d1&&(gu._$.range=[pe[pe.length-(fo||1)].range[0],pe[pe.length-1].range[1]]),Ea=this.performAction.apply(gu,[an,qa,xn,ds.yy,wc[1],ke,pe].concat(va)),typeof Ea<"u")return Ea;fo&&(Nn=Nn.slice(0,-1*fo*2),ke=ke.slice(0,-1*fo),pe=pe.slice(0,-1*fo)),Nn.push(this.productions_[wc[1]][0]),ke.push(gu.$),pe.push(gu._$),mc=Je[Nn[Nn.length-2]][Nn[Nn.length-1]],Nn.push(mc);break;case 3:return!0}}return!0}},ga=function(){var za={EOF:1,parseError:function(An,Nn){if(this.yy.parser)this.yy.parser.parseError(An,Nn);else throw new Error(An)},setInput:function(br,An){return this.yy=An||this.yy||{},this._input=br,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 br=this._input[0];this.yytext+=br,this.yyleng++,this.offset++,this.match+=br,this.matched+=br;var An=br.match(/(?:\r\n?|\n).*/g);return An?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),br},unput:function(br){var An=br.length,Nn=br.split(/(?:\r\n?|\n)/g);this._input=br+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-An),this.offset-=An;var Bn=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),Nn.length-1&&(this.yylineno-=Nn.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:Nn?(Nn.length===Bn.length?this.yylloc.first_column:0)+Bn[Bn.length-Nn.length].length-Nn[0].length:this.yylloc.first_column-An},this.options.ranges&&(this.yylloc.range=[ke[0],ke[0]+this.yyleng-An]),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).
829 `+An+"^"},test_match:function(br,An){var Nn,Bn,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))),Bn=br[0].match(/(?:\r\n?|\n).*/g),Bn&&(this.yylineno+=Bn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Bn?Bn[Bn.length-1].length-Bn[Bn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+br[0].length},this.yytext+=br[0],this.match+=br[0],this.matches=br,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(br[0].length),this.matched+=br[0],Nn=this.performAction.call(this,this.yy,this,An,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Nn)return Nn;if(this._backtrack){for(var pe in ke)this[pe]=ke[pe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var br,An,Nn,Bn;this._more||(this.yytext="",this.match="");for(var ke=this._currentRules(),pe=0;pe<ke.length;pe++)if(Nn=this._input.match(this.rules[ke[pe]]),Nn&&(!An||Nn[0].length>An[0].length)){if(An=Nn,Bn=pe,this.options.backtrack_lexer){if(br=this.test_match(Nn,ke[pe]),br!==!1)return br;if(this._backtrack){An=!1;continue}else return!1}else if(!this.options.flex)break}return An?(br=this.test_match(An,ke[Bn]),br!==!1?br:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
988 Expecting `+Nn.join(", ")+", got '"+(this.terminals_[we]||we)+"'":Bn="Parse error on line "+(ye+1)+": Unexpected "+(we==be?"end of input":"'"+(this.terminals_[we]||we)+"'"),this.parseError(Bn,{text:Xt.match,token:this.terminals_[we]||we,line:Xt.yylineno,loc:Mn,expected:Nn})}if(mi[0]instanceof Array&&mi.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Fi+", token: "+we);switch(mi[0]){case 1:kt.push(we),Fe.push(Xt.yytext),Mt.push(Xt.yylloc),kt.push(mi[1]),we=null,tn=Xt.yyleng,Ae=Xt.yytext,ye=Xt.yylineno,Mn=Xt.yylloc;break;case 2:if(br=this.productions_[mi[1]][1],Ss.$=Fe[Fe.length-br],Ss._$={first_line:Mt[Mt.length-(br||1)].first_line,last_line:Mt[Mt.length-1].last_line,first_column:Mt[Mt.length-(br||1)].first_column,last_column:Mt[Mt.length-1].last_column},ce&&(Ss._$.range=[Mt[Mt.length-(br||1)].range[0],Mt[Mt.length-1].range[1]]),ga=this.performAction.apply(Ss,[Ae,tn,ye,_e.yy,mi[1],Fe,Mt].concat(Ne)),typeof ga<"u")return ga;br&&(kt=kt.slice(0,-1*br*2),Fe=Fe.slice(0,-1*br),Mt=Mt.slice(0,-1*br)),kt.push(this.productions_[mi[1]][0]),Fe.push(Ss.$),Mt.push(Ss._$),An=pn[kt[kt.length-2]][kt[kt.length-1]],kt.push(An);break;case 3:return!0}}return!0}},It=function(){var xt={EOF:1,parseError:function(Ct,kt){if(this.yy.parser)this.yy.parser.parseError(Ct,kt);else throw new Error(Ct)},setInput:function(Ft,Ct){return this.yy=Ct||this.yy||{},this._input=Ft,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 Ft=this._input[0];this.yytext+=Ft,this.yyleng++,this.offset++,this.match+=Ft,this.matched+=Ft;var Ct=Ft.match(/(?:\r\n?|\n).*/g);return Ct?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ft},unput:function(Ft){var Ct=Ft.length,kt=Ft.split(/(?:\r\n?|\n)/g);this._input=Ft+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ct),this.offset-=Ct;var Gt=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),kt.length-1&&(this.yylineno-=kt.length-1);var Fe=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:kt?(kt.length===Gt.length?this.yylloc.first_column:0)+Gt[Gt.length-kt.length].length-kt[0].length:this.yylloc.first_column-Ct},this.options.ranges&&(this.yylloc.range=[Fe[0],Fe[0]+this.yyleng-Ct]),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).
990 `+Ct+"^"},test_match:function(Ft,Ct){var kt,Gt,Fe;if(this.options.backtrack_lexer&&(Fe={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&&(Fe.yylloc.range=this.yylloc.range.slice(0))),Gt=Ft[0].match(/(?:\r\n?|\n).*/g),Gt&&(this.yylineno+=Gt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Gt?Gt[Gt.length-1].length-Gt[Gt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ft[0].length},this.yytext+=Ft[0],this.match+=Ft[0],this.matches=Ft,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(Ft[0].length),this.matched+=Ft[0],kt=this.performAction.call(this,this.yy,this,Ct,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),kt)return kt;if(this._backtrack){for(var Mt in Fe)this[Mt]=Fe[Mt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ft,Ct,kt,Gt;this._more||(this.yytext="",this.match="");for(var Fe=this._currentRules(),Mt=0;Mt<Fe.length;Mt++)if(kt=this._input.match(this.rules[Fe[Mt]]),kt&&(!Ct||kt[0].length>Ct[0].length)){if(Ct=kt,Gt=Mt,this.options.backtrack_lexer){if(Ft=this.test_match(kt,Fe[Mt]),Ft!==!1)return Ft;if(this._backtrack){Ct=!1;continue}else return!1}else if(!this.options.flex)break}return Ct?(Ft=this.test_match(Ct,Fe[Gt]),Ft!==!1?Ft:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
1194 Expecting `+Mt.join(", ")+", got '"+(this.terminals_[It]||It)+"'":pn="Parse error on line "+(mt+1)+": Unexpected "+(It==it?"end of input":"'"+(this.terminals_[It]||It)+"'"),this.parseError(pn,{text:Q.match,token:this.terminals_[It]||It,line:Q.yylineno,loc:yt,expected:Mt})}if(xt[0]instanceof Array&&xt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+jt+", token: "+It);switch(xt[0]){case 1:z.push(It),nt.push(Q.yytext),ot.push(Q.yylloc),z.push(xt[1]),It=null,ct=Q.yyleng,wt=Q.yytext,mt=Q.yylineno,yt=Q.yylloc;break;case 2:if(Gt=this.productions_[xt[1]][1],Ct.$=nt[nt.length-Gt],Ct._$={first_line:ot[ot.length-(Gt||1)].first_line,last_line:ot[ot.length-1].last_line,first_column:ot[ot.length-(Gt||1)].first_column,last_column:ot[ot.length-1].last_column},V&&(Ct._$.range=[ot[ot.length-(Gt||1)].range[0],ot[ot.length-1].range[1]]),Ft=this.performAction.apply(Ct,[wt,ct,mt,dt.yy,xt[1],nt,ot].concat(gt)),typeof Ft<"u")return Ft;Gt&&(z=z.slice(0,-1*Gt*2),nt=nt.slice(0,-1*Gt),ot=ot.slice(0,-1*Gt)),z.push(this.productions_[xt[1]][0]),nt.push(Ct.$),ot.push(Ct._$),Fe=ft[z[z.length-2]][z[z.length-1]],z.push(Fe);break;case 3:return!0}}return!0}},_=function(){var F={EOF:1,parseError:function(B,z){if(this.yy.parser)this.yy.parser.parseError(B,z);else throw new Error(B)},setInput:function(R,B){return this.yy=B||this.yy||{},this._input=R,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var R=this._input[0];this.yytext+=R,this.yyleng++,this.offset++,this.match+=R,this.matched+=R;var B=R.match(/(?:\r\n?|\n).*/g);return B?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),R},unput:function(R){var B=R.length,z=R.split(/(?:\r\n?|\n)/g);this._input=R+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-B),this.offset-=B;var Y=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),z.length-1&&(this.yylineno-=z.length-1);var nt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:z?(z.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-z.length].length-z[0].length:this.yylloc.first_column-B},this.options.ranges&&(this.yylloc.range=[nt[0],nt[0]+this.yyleng-B]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
1196 `+B+"^"},test_match:function(R,B){var z,Y,nt;if(this.options.backtrack_lexer&&(nt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(nt.yylloc.range=this.yylloc.range.slice(0))),Y=R[0].match(/(?:\r\n?|\n).*/g),Y&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+R[0].length},this.yytext+=R[0],this.match+=R[0],this.matches=R,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(R[0].length),this.matched+=R[0],z=this.performAction.call(this,this.yy,this,B,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),z)return z;if(this._backtrack){for(var ot in nt)this[ot]=nt[ot];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var R,B,z,Y;this._more||(this.yytext="",this.match="");for(var nt=this._currentRules(),ot=0;ot<nt.length;ot++)if(z=this._input.match(this.rules[nt[ot]]),z&&(!B||z[0].length>B[0].length)){if(B=z,Y=ot,this.options.backtrack_lexer){if(R=this.test_match(z,nt[ot]),R!==!1)return R;if(this._backtrack){B=!1;continue}else return!1}else if(!this.options.flex)break}return B?(R=this.test_match(B,nt[Y]),R!==!1?R:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
1332 `)}return e&&(e.stack||n(t[zct]))}function $5t(t,e){switch(e){case 3:return t.f!=0;case 4:return t.g!=0;case 5:return t.i!=0;case 6:return t.j!=0}return $4t(t,e)}function nle(t){switch(t.g){case 0:return new ktt;case 1:return new bu;default:throw at(new zn(jut+(t.f!=null?t.f:""+t.g)))}}function nwn(t){switch(t.g){case 0:return new lC;case 1:return new yc;default:throw at(new zn(Clt+(t.f!=null?t.f:""+t.g)))}}function rwn(t){switch(t.g){case 1:return new btt;case 2:return new qJt;default:throw at(new zn(Clt+(t.f!=null?t.f:""+t.g)))}}function rle(t){switch(t.g){case 0:return new nwt;case 1:return new RKt;default:throw at(new zn(cU+(t.f!=null?t.f:""+t.g)))}}function Kat(){Qxt();var t,e,n;n=t_n+++Date.now(),t=Ys(b.Math.floor(n*lN))&TV,e=Ys(n-t*y8t),this.a=t^1502,this.b=e^dut}function Rh(){Rh=V,rP=new UM(r0,0),OA=new UM("FIRST",1),s2=new UM(C2e,2),NA=new UM("LAST",3),S3=new UM(S2e,4)}function pH(){pH=V,Wdt=new W$(y7t,0),mIt=new W$("GROUP_DEC",1),yIt=new W$("GROUP_MIXED",2),vIt=new W$("GROUP_INC",3)}function iwn(t,e){var n,r,s,o;e&&(s=_g(e,"x"),n=new PGt(t),QE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new BGt(t),ZE(r.a,(Wn(o),o)))}function swn(t,e){var n,r,s,o;e&&(s=_g(e,"x"),n=new jGt(t),XE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new $Gt(t),JE(r.a,(Wn(o),o)))}function awn(t,e){var n,r,s,o;for(s=new wu(e.gc()),r=e.Kc();r.Ob();)n=r.Pb(),o=lct(t,u(n,58)),o&&In(s.c,o);return s}function Ky(t,e,n){var r,s;for(s=t.Kc();s.Ob();)if(r=s.Pb(),$t(e)===$t(r)||e!=null&&Ti(e,r))return n&&s.Qb(),!0;return!1}function ile(t){var e,n,r;return n=t.jh(),n?(e=t.Eh(),Lt(e,167)&&(r=ile(u(e,167)),r!=null)?r+"."+n:n):null}function own(t){var e,n,r;return t.e==0?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&(r=uce(t),r==t.d-1&&(--n,n=n|0)),e-=BO(n),e)}function cwn(t){var e,n,r;return t<PU.length?PU[t]:(n=t>>5,e=t&31,r=Vt(Fr,ii,28,n+1,15,1),r[n]=1<<e,new Y2(1,n+1,r))}function sle(t,e){var n,r;if(e){for(n=0;n<t.i;++n)if(r=u(t.g[n],378),r.mj(e))return!1;return Or(t,e)}else return!1}function z5t(t,e,n){var r,s;if(++t.j,n.dc())return!1;for(s=n.Kc();s.Ob();)r=s.Pb(),t.qj(e,t.Zi(e,r)),++e;return!0}function uwn(t,e,n,r){var s,o;if(o=n-e,o<3)for(;o<3;)t*=10,++o;else{for(s=1;o>3;)s*=10,--o;t=(t+(s>>1))/s|0}return r.i=t,!0}function ns(t,e){var n,r,s;if(n=(t.i==null&&Qd(t),t.i),r=e.Lj(),r!=-1){for(s=n.length;r<s;++r)if(n[r]==e)return r}return-1}function lwn(t){var e,n,r,s,o;for(n=u(t.g,689),r=t.i-1;r>=0;--r)for(e=n[r],s=0;s<r;++s)if(o=n[s],fge(t,e,o)){pk(t,r);break}}function q5t(t){var e,n,r,s;for(e=new cp,s=new eo(t.b.Kc());s.b.Ob();)r=u(s.b.Pb(),701),n=S4n(r),fln(e,e.a.length,n);return e.a}function H5t(t){var e;return!t.c&&(t.c=new Zl),Ds(t.d,new rm),u8n(t),e=t8n(t),ms(new ln(null,new gn(t.d,16)),new Nnt(t)),e}function hwn(t,e){e.Ug("End label post-processing",1),ms(_i(fc(new ln(null,new gn(t.b,16)),new tQ),new eQ),new nQ),e.Vg()}function V5t(t){Wat(),this.c=id(lt(ut(v_n,1),Ln,845,0,[D6e])),this.b=new _r,this.a=t,hi(this.b,YG,1),Cu(M6e,new dGt(this))}function ale(t,e,n){xoe(),OKt.call(this),this.a=G2(Sye,[ue,M8t],[603,217],0,[jU,Vht],2),this.c=new B6,this.g=t,this.f=e,this.d=n}function U5t(t,e){this.n=G2(x2,[ue,cut],[376,28],14,[e,Ys(b.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function fwn(t){Tq(),u(t.of((ai(),l2)),181).Hc((Ml(),FK))&&(u(t.of(j3),181).Fc((wl(),n8)),u(t.of(l2),181).Mc(FK))}function ole(t){var e,n;e=t.d==(wk(),kT),n=qxt(t),e&&!n||!e&&n?Zt(t.a,(De(),u0),(I0(),TP)):Zt(t.a,(De(),u0),(I0(),EP))}function Wat(){Wat=V,C$(),YG=(De(),Av),M6e=id(lt(ut(Sdt,1),v7t,149,0,[aP,Yf,Y5,_v,O3,l1t,FT,BT,h1t,jA,W5,Pw,X5]))}function dwn(t,e){var n;return n=u(nc(t,gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),n.Qc(Ate(n.gc()))}function cle(t,e){var n,r;if(r=new ra(t.a.ad(e,!0)),r.a.gc()<=1)throw at(new E6);return n=r.a.ec().Kc(),n.Pb(),u(n.Pb(),39)}function gwn(t,e,n){var r,s;return r=Rt(t.p[e.i.p])+Rt(t.d[e.i.p])+e.n.b+e.a.b,s=Rt(t.p[n.i.p])+Rt(t.d[n.i.p])+n.n.b+n.a.b,s-r}function G5t(t,e){var n;return t.i>0&&(e.length<t.i&&(n=XI(Wl(e).c,t.i),e=n),Xc(t.g,0,e,0,t.i)),e.length>t.i&&ls(e,t.i,null),e}function bH(t){var e;return t.Db&64?u_(t):(e=new ef(u_(t)),e.a+=" (instanceClassName: ",Mo(e,t.D),e.a+=")",e.a)}function wH(t){var e,n,r,s;for(s=0,n=0,r=t.length;n<r;n++)e=(qn(n,t.length),t.charCodeAt(n)),e<64&&(s=T1(s,Rf(1,e)));return s}function pwn(t,e,n){var r,s;for(r=sa(n,So),s=0;$c(r,0)!=0&&s<e;s++)r=Qa(r,sa(t[s],So)),t[s]=qr(r),r=_m(r,32);return qr(r)}function wO(t,e){var n,r,s,o;for(o=Lu(t.e.Dh(),e),n=u(t.g,124),s=0;s<t.i;++s)if(r=n[s],o.am(r.Lk()))return!1;return!0}function Yat(t,e){var n,r,s;return t.f>0?(t._j(),r=e==null?0:$i(e),s=(r&xi)%t.d.length,n=vde(t,s,r,e),n!=-1):!1}function ule(t,e){var n,r;t.a=Qa(t.a,1),t.c=b.Math.min(t.c,e),t.b=b.Math.max(t.b,e),t.d+=e,n=e-t.f,r=t.e+n,t.f=r-t.e-n,t.e=r}function K5t(t,e){switch(e){case 3:zm(t,0);return;case 4:qm(t,0);return;case 5:Su(t,0);return;case 6:_u(t,0);return}w5t(t,e)}function Ym(t,e){switch(e.g){case 1:return H6(t.j,(rl(),OCt));case 2:return H6(t.j,(rl(),PCt));default:return mn(),mn(),co}}function W5t(t){Dm();var e;switch(e=t.Pc(),e.length){case 0:return Eht;case 1:return new Ait(Hr(e[0]));default:return new ust(O2n(e))}}function lle(t,e){t.Xj();try{t.d.bd(t.e++,e),t.f=t.d.j,t.g=-1}catch(n){throw n=es(n),Lt(n,77)?at(new Th):at(n)}}function Xat(){Xat=V,s0t=new mC,HIt=new b1,VIt=new uM,UIt=new lM,GIt=new u6,KIt=new eet,WIt=new net,YIt=new ret,XIt=new iet}function mH(t,e){wmt();var n,r;return n=hI((h$(),h$(),mA)),r=null,e==n&&(r=u(nu(s9t,t),624)),r||(r=new Lee(t),e==n&&jo(s9t,t,r)),r}function hle(t){Yy();var e;return(t.q?t.q:(mn(),mn(),q0))._b((De(),Cv))?e=u(X(t,Cv),203):e=u(X(Pa(t),RA),203),e}function Wy(t,e){var n,r;return r=null,qi(t,(De(),KG))&&(n=u(X(t,KG),96),n.pf(e)&&(r=n.of(e))),r==null&&(r=X(Pa(t),e)),r}function fle(t,e){var n,r,s;return Lt(e,44)?(n=u(e,44),r=n.ld(),s=Gy(t.Rc(),r),Ud(s,n.md())&&(s!=null||t.Rc()._b(r))):!1}function L1(t,e){var n,r,s;return t.f>0&&(t._j(),r=e==null?0:$i(e),s=(r&xi)%t.d.length,n=I6t(t,s,r,e),n)?n.md():null}function vu(t,e,n){var r,s,o;return t.Pj()?(r=t.i,o=t.Qj(),fO(t,r,e),s=t.Ij(3,null,e,r,o),n?n.nj(s):n=s):fO(t,t.i,e),n}function bwn(t,e,n){var r,s;return r=new Tg(t.e,4,10,(s=e.c,Lt(s,90)?u(s,29):(wn(),xf)),null,Np(t,e),!1),n?n.nj(r):n=r,n}function wwn(t,e,n){var r,s;return r=new Tg(t.e,3,10,null,(s=e.c,Lt(s,90)?u(s,29):(wn(),xf)),Np(t,e),!1),n?n.nj(r):n=r,n}function dle(t){Ay();var e;return e=new io(u(t.e.of((ai(),lx)),8)),t.B.Hc((Ml(),XT))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function zb(t){Xd();var e,n;return n=qr(t),e=qr(Ab(t,32)),e!=0?new xre(n,e):n>10||n<0?new kg(1,n):tye[n]}function mO(t,e){var n;return ec(t)&&ec(e)&&(n=t%e,oN<n&&n<bw)?n:Fb((Gkt(ec(t)?rf(t):t,ec(e)?rf(e):e,!0),Zb))}function g_(t,e){var n;iCn(e),n=u(X(t,(De(),$G)),283),n&&Zt(t,$G,yvn(n)),wp(t.c),wp(t.f),z3t(t.d),z3t(u(X(t,VG),214))}function mwn(t){var e,n,r,s;for(r=X4n(t),Ds(r,v4e),s=t.d,s.c.length=0,n=new G(r);n.a<n.c.c.length;)e=u(et(n),465),Hs(s,e.b)}function Qat(t){var e;t.c!=0&&(e=u(Oe(t.a,t.b),293),e.b==1?(++t.b,t.b<t.a.c.length&&pr(u(Oe(t.a,t.b),293))):--e.b,--t.c)}function vwn(t){var e;e=t.a;do e=u(dr(new rr(sr(_s(e).a.Kc(),new z))),18).d.i,e.k==(Un(),fa)&&ge(t.e,e);while(e.k==(Un(),fa))}function gle(t){this.e=Vt(Fr,ii,28,t.length,15,1),this.c=Vt(Fl,$0,28,t.length,16,1),this.b=Vt(Fl,$0,28,t.length,16,1),this.f=0}function ywn(t){var e,n;for(t.j=Vt(ma,No,28,t.p.c.length,15,1),n=new G(t.p);n.a<n.c.c.length;)e=u(et(n),10),t.j[e.p]=e.o.b/t.i}function xwn(t,e){var n,r,s,o;for(o=e.b.b,t.a=new Ki,t.b=Vt(Fr,ii,28,o,15,1),n=0,s=Dr(e.b,0);s.b!=s.d.c;)r=u(Ar(s),39),r.g=n++}function ple(t,e,n){var r,s,o,h;for(o=e-t.e,h=n-t.f,s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),172),kO(r,r.s+o,r.t+h);t.e=e,t.f=n}function vO(t,e){var n,r;for(r=e.length,n=0;n<r;n+=2)iu(t,(qn(n,e.length),e.charCodeAt(n)),(qn(n+1,e.length),e.charCodeAt(n+1)))}function kwn(t,e){e.Ug("Min Size Postprocessing",1),Mi(t,(N0(),B3),b.Math.max(Rt(Ht(ne(t,B3))),Rt(Ht(ne(t,nL))))),e.Vg()}function Y5t(){Y5t=V,fIt=new xm(15),$7e=new _a((ai(),Yp),fIt),q7e=new _a($w,15),z7e=new _a(qdt,he(0)),j7e=new _a(sx,tT)}function Yl(){Yl=V,RP=new K$("PORTS",0),qw=new K$("PORT_LABELS",1),BP=new K$("NODE_LABELS",2),z3=new K$("MINIMUM_SIZE",3)}function vH(){vH=V,mP=new Rrt("P1_WIDTH_APPROXIMATION",0),pK=new Rrt("P2_PACKING",1),sdt=new Rrt("P3_WHITESPACE_ELIMINATION",2)}function ble(t){if(t.b==null){for(;t.a.Ob();)if(t.b=t.a.Pb(),!u(t.b,54).Jh())return!0;return t.b=null,!1}else return!0}function E7(t,e,n){var r,s,o;for(s=null,o=t.b;o;){if(r=t.a.Ne(e,o.d),n&&r==0)return o;r>=0?o=o.a[1]:(s=o,o=o.a[0])}return s}function yO(t,e,n){var r,s,o;for(s=null,o=t.b;o;){if(r=t.a.Ne(e,o.d),n&&r==0)return o;r<=0?o=o.a[0]:(s=o,o=o.a[1])}return s}function Ewn(t,e,n,r){var s,o,h;return s=!1,S9n(t.f,n,r)&&(Uwn(t.f,t.a[e][n],t.a[e][r]),o=t.a[e],h=o[r],o[r]=o[n],o[n]=h,s=!0),s}function wle(t,e,n){var r,s,o,h;for(s=u(tr(t.b,n),183),r=0,h=new G(e.j);h.a<h.c.c.length;)o=u(et(h),113),s[o.d.p]&&++r;return r}function X5t(t,e,n){var r,s;r=u(nu(ZT,e),122),s=u(nu(IL,e),122),n?(jo(ZT,t,r),jo(IL,t,s)):(jo(IL,t,r),jo(ZT,t,s))}function mle(t,e){var n,r,s,o;return n=e>>5,e&=31,s=t.d+n+(e==0?0:1),r=Vt(Fr,ii,28,s,15,1),x3n(r,t.a,n,e),o=new Y2(t.e,s,r),qS(o),o}function Twn(t,e){var n,r,s;for(r=new rr(sr(_s(t).a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),s=n.d.i,s.c==e)return!1;return!0}function Q5t(t,e,n){var r,s,o,h,d;return h=t.k,d=e.k,r=n[h.g][d.g],s=Ht(Wy(t,r)),o=Ht(Wy(e,r)),b.Math.max((Wn(s),s),(Wn(o),o))}function Cwn(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Swn(t,e){return Z1(),Z1(),$f(Kb),(b.Math.abs(t-e)<=Kb||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:ym(isNaN(t),isNaN(e)))>0}function J5t(t,e){return Z1(),Z1(),$f(Kb),(b.Math.abs(t-e)<=Kb||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:ym(isNaN(t),isNaN(e)))<0}function vle(t,e){return Z1(),Z1(),$f(Kb),(b.Math.abs(t-e)<=Kb||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:ym(isNaN(t),isNaN(e)))<=0}function Jat(t,e){for(var n=0;!e[n]||e[n]=="";)n++;for(var r=e[n++];n<e.length;n++)!e[n]||e[n]==""||(r+=t+e[n]);return r}function yle(t){var e,n;return e=u(jn(t.a,4),129),e!=null?(n=Vt(e0t,sht,424,e.length,0,1),Xc(e,0,n,0,e.length),n):lTe}function xle(t){var e,n,r,s,o;if(t==null)return null;for(o=new fe,n=Sat(t),r=0,s=n.length;r<s;++r)e=n[r],ge(o,su(e,!0));return o}function kle(t){var e,n,r,s,o;if(t==null)return null;for(o=new fe,n=Sat(t),r=0,s=n.length;r<s;++r)e=n[r],ge(o,su(e,!0));return o}function Ele(t){var e,n,r,s,o;if(t==null)return null;for(o=new fe,n=Sat(t),r=0,s=n.length;r<s;++r)e=n[r],ge(o,su(e,!0));return o}function Tle(t,e){var n,r,s;if(t.c)zm(t.c,e);else for(n=e-Gl(t),s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),163),Tle(r,Gl(r)+n)}function Cle(t,e){var n,r,s;if(t.c)qm(t.c,e);else for(n=e-tl(t),s=new G(t.d);s.a<s.c.c.length;)r=u(et(s),163),Cle(r,tl(r)+n)}function af(t,e,n){var r,s,o,h;for(o=e+n,Da(e,o,t.length),h="",s=e;s<o;)r=b.Math.min(s+1e4,o),h+=qln(t.slice(s,r)),s=r;return h}function Z5t(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function Ip(){Ip=V,Dft=new VM(eEt,0),ASt=new VM(A2e,1),Mft=new VM(qut,2),ST=new VM(J8t,3),CT=new VM("GREEDY_MODEL_ORDER",4)}function Wd(){Wd=V,Up=new z$(r0,0),BAt=new z$("NODES_AND_EDGES",1),k1t=new z$("PREFER_EDGES",2),E1t=new z$("PREFER_NODES",3)}function txt(t,e,n,r,s,o){this.a=t,this.c=e,this.b=n,this.f=r,this.d=s,this.e=o,this.c>0&&this.b>0&&(this.g=Dz(this.c,this.b,this.a))}function _wn(t,e){var n=t.a,r;e=String(e),n.hasOwnProperty(e)&&(r=n[e]);var s=(yat(),Lht)[typeof r],o=s?s(r):f5t(typeof r);return o}function T7(t){var e,n,r;if(r=null,e=a0 in t.a,n=!e,n)throw at(new Rd("Every element must have an id."));return r=mk(vg(t,a0)),r}function Xm(t){var e,n;for(n=Ufe(t),e=null;t.c==2;)wi(t),e||(e=(yi(),yi(),new yS(2)),gw(e,n),n=e),n.Jm(Ufe(t));return n}function yH(t,e){var n,r,s;return t._j(),r=e==null?0:$i(e),s=(r&xi)%t.d.length,n=I6t(t,s,r,e),n?(_oe(t,n),n.md()):null}function Sle(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*o5t(t.a,e.a,t.d)}function _le(t){return t>=48&&t<48+b.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function Awn(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw at(new zn("Input edge is not connected to the input port."))}function Lwn(t){if(kH(uT,t))return Pn(),bT;if(kH(jlt,t))return Pn(),t2;throw at(new zn("Expecting true or false"))}function ext(t){switch(typeof t){case Nct:return _p(t);case u8t:return F6(t);case kk:return oZt(t);default:return t==null?0:Em(t)}}function Yd(t,e){if(t.a<0)throw at(new Ro("Did not call before(...) or after(...) before calling add(...)."));return Ymt(t,t.a,e),t}function nxt(t){return oq(),Lt(t,162)?u(tr(VP,sye),294).Rg(t):Tu(VP,Wl(t))?u(tr(VP,Wl(t)),294).Rg(t):null}function Au(t){var e,n;return t.Db&32||(n=(e=u(jn(t,16),29),fr(e||t.ii())-fr(t.ii())),n!=0&&fk(t,32,Vt(aa,Ln,1,n,5,1))),t}function fk(t,e,n){var r;t.Db&e?n==null?fxn(t,e):(r=vot(t,e),r==-1?t.Eb=n:ls(nw(t.Eb),r,n)):n!=null&&Pkn(t,e,n)}function Dwn(t,e,n,r){var s,o;e.c.length!=0&&(s=C6n(n,r),o=S5n(e),ms(Pq(new ln(null,new gn(o,1)),new r6),new ine(t,n,s,r)))}function Mwn(t,e){var n,r,s,o;return r=t.a.length-1,n=e-t.b&r,o=t.c-e&r,s=t.c-t.b&r,nZt(n<s),n>=o?(Lbn(t,e),-1):(Abn(t,e),1)}function xH(t){var e,n,r;if(r=t.Jh(),!r)for(e=0,n=t.Ph();n;n=n.Ph()){if(++e>uut)return n.Qh();if(r=n.Jh(),r||n==t)break}return r}function Ale(t,e){var n;return $t(e)===$t(t)?!0:!Lt(e,21)||(n=u(e,21),n.gc()!=t.gc())?!1:t.Ic(n)}function Iwn(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:$i(t)-$i(e)}function kH(t,e){return Wn(t),e==null?!1:hn(t,e)?!0:t.length==e.length&&hn(t.toLowerCase(),e.toLowerCase())}function Mg(t){var e,n;return $c(t,-129)>0&&$c(t,128)<0?(Ite(),e=qr(t)+128,n=g9t[e],!n&&(n=g9t[e]=new Cr(t)),n):new Cr(t)}function lw(){lw=V,x3=new B$(r0,0),ACt=new B$("INSIDE_PORT_SIDE_GROUPS",1),uft=new B$("GROUP_MODEL_ORDER",2),lft=new B$(J8t,3)}function Own(t){var e;return t.b||Srn(t,(e=Can(t.e,t.a),!e||!hn(jlt,L1((!e.b&&(e.b=new Ul((wn(),wo),Mc,e)),e.b),"qualified")))),t.c}function Nwn(t,e){var n,r;for(n=(qn(e,t.length),t.charCodeAt(e)),r=e+1;r<t.length&&(qn(r,t.length),t.charCodeAt(r)==n);)++r;return r-e}function Pwn(t,e){(!e&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,t)}function Fwn(t,e,n,r){r==t,u(n.b,68),u(n.b,68),u(r.b,68),u(r.b,68).c.b,V3t(r,e,t)}function Bwn(t){var e,n;for(e=new G(t.g);e.a<e.c.c.length;)u(et(e),568);n=new Vde(t.g,Rt(t.a),t.c),hCn(n),t.g=n.b,t.d=n.a}function Lle(t,e,n){var r,s,o;for(o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),225),r=new iz(u(tr(t.a,s.b),68)),ge(e.a,r),Lle(t,r,s)}function Rwn(t,e,n){var r,s,o;return r=u(Dt(Al(t.a),e),89),o=(s=r.c,s||(wn(),Sd)),(o.Vh()?jb(t.b,u(o,54)):o)==n?lV(r):YE(r,n),o}function rxt(t,e,n){e.b=b.Math.max(e.b,-n.a),e.c=b.Math.max(e.c,n.a-t.a),e.d=b.Math.max(e.d,-n.b),e.a=b.Math.max(e.a,n.b-t.b)}function ixt(t,e,n){this.c=t,this.f=new fe,this.e=new Sa,this.j=new syt,this.n=new syt,this.b=e,this.g=new Ah(e.c,e.d,e.b,e.a),this.a=n}function Zat(t){var e,n,r,s;for(this.a=new zd,this.d=new Os,this.e=0,n=t,r=0,s=n.length;r<s;++r)e=n[r],!this.f&&(this.f=e),xst(this,e)}function Dle(t){Xd(),t.length==0?(this.e=0,this.d=1,this.a=lt(ut(Fr,1),ii,28,15,[0])):(this.e=1,this.d=t.length,this.a=t,qS(this))}function p_(t,e,n){OKt.call(this),this.a=Vt(Sye,M8t,217,(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])).length,0,1),this.b=t,this.d=e,this.c=n}function jwn(t){var e,n,r,s,o,h;for(h=u(X(t,(oe(),Li)),12),Zt(h,MT,t.i.n.b),e=Kd(t.e),r=e,s=0,o=r.length;s<o;++s)n=r[s],xa(n,h)}function $wn(t){var e,n,r,s,o,h;for(n=u(X(t,(oe(),Li)),12),Zt(n,MT,t.i.n.b),e=Kd(t.g),s=e,o=0,h=s.length;o<h;++o)r=s[o],Xa(r,n)}function zwn(t,e){gst();var n,r;for(r=new rr(sr(Dg(t).a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),n.d.i==e||n.c.i==e)return n;return null}function Mle(t,e){var n,r;return n=e.qi(t.a),n&&(r=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),pi)),r!=null)?r:e.xe()}function qwn(t,e){var n,r;return n=e.qi(t.a),n&&(r=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),pi)),r!=null)?r:e.xe()}function Hwn(t,e){var n,r;return n=jc(t.a.c.p,e.a.c.p),n!=0?n:(r=jc(t.a.d.i.p,e.a.d.i.p),r!=0?r:jc(e.a.d.p,t.a.d.p))}function Vwn(t,e){var n,r,s,o;for(r=0,s=e.gc();r<s;++r)n=e.Tl(r),Lt(n,102)&&u(n,19).Bb&Fc&&(o=e.Ul(r),o!=null&&lct(t,u(o,58)))}function Ile(t,e){var n,r,s;if(ge(VU,t),e.Fc(t),n=u(tr(Jht,t),21),n)for(s=n.Kc();s.Ob();)r=u(s.Pb(),27),Xo(VU,r,0)!=-1||Ile(r,e)}function Uwn(t,e,n){var r,s;Pot(t.e,e,n,(ve(),Gn)),Pot(t.i,e,n,Jn),t.a&&(s=u(X(e,(oe(),Li)),12),r=u(X(n,Li),12),yst(t.g,s,r))}function Ole(t,e,n){var r,s,o;r=e.c.p,o=e.p,t.b[r][o]=new Sne(t,e),n&&(t.a[r][o]=new bUt(e),s=u(X(e,(oe(),yv)),10),s&&dn(t.d,s,e))}function Gwn(t,e,n){var r,s,o,h;return o=e.j,h=n.j,o!=h?o.g-h.g:(r=t.f[e.p],s=t.f[n.p],r==0&&s==0?0:r==0?-1:s==0?1:Bi(r,s))}function Kwn(){var t;return MU!=0&&(t=Date.now(),t-Vve>2e3&&(Vve=t,IU=b.setTimeout(Mrn,10))),MU++==0?(K0n((uwt(),i9t)),!0):!1}function Wwn(t,e,n){var r;(fye?(Q2n(t),!0):dye||pye?(xE(),!0):gye&&(xE(),!1))&&(r=new UZt(e),r.b=n,n4n(t,r))}function tot(t,e){var n;n=!t.A.Hc((Yl(),qw))||t.q==(ka(),hu),t.u.Hc((wl(),Hg))?n?BCn(t,e):Tpe(t,e):t.u.Hc(g2)&&(n?rCn(t,e):jpe(t,e))}function Nle(t){var e;$t(ne(t,(ai(),cx)))===$t((Ag(),IK))&&(Ji(t)?(e=u(ne(Ji(t),cx),346),Mi(t,cx,e)):Mi(t,cx,bL))}function Ywn(t){var e,n;return qi(t.d.i,(De(),OT))?(e=u(X(t.c.i,OT),17),n=u(X(t.d.i,OT),17),jc(e.a,n.a)>0):!1}function Ple(t,e,n){return new Ah(b.Math.min(t.a,e.a)-n/2,b.Math.min(t.b,e.b)-n/2,b.Math.abs(t.a-e.a)+n,b.Math.abs(t.b-e.b)+n)}function Fle(t){var e;this.d=new fe,this.j=new Sa,this.g=new Sa,e=t.g.b,this.f=u(X(Pa(e),(De(),ph)),88),this.e=Rt(Ht(SH(e,O3)))}function Ble(t){this.d=new fe,this.e=new kp,this.c=Vt(Fr,ii,28,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,15,1),this.b=t}function sxt(t,e,n){var r;switch(r=n[t.g][e],t.g){case 1:case 3:return new ae(0,r);case 2:case 4:return new ae(r,0);default:return null}}function Rle(t,e,n){var r,s;s=u(_I(e.f),205);try{s.rf(t,n),Hee(e.f,s)}catch(o){throw o=es(o),Lt(o,103)?(r=o,at(r)):at(o)}}function jle(t,e,n){var r,s,o,h,d,m;return r=null,d=Ykt(e7(),e),o=null,d&&(s=null,m=Kkt(d,n),h=null,m!=null&&(h=t.qf(d,m)),s=h,o=s),r=o,r}function eot(t,e,n,r){var s;if(s=t.length,e>=s)return s;for(e=e>0?e:0;e<s&&!vat((qn(e,t.length),t.charCodeAt(e)),n,r);e++);return e}function ld(t,e){var n,r;for(r=t.c.length,e.length<r&&(e=g$(new Array(r),e)),n=0;n<r;++n)ls(e,n,t.c[n]);return e.length>r&&ls(e,r,null),e}function $le(t,e){var n,r;for(r=t.a.length,e.length<r&&(e=g$(new Array(r),e)),n=0;n<r;++n)ls(e,n,t.a[n]);return e.length>r&&ls(e,r,null),e}function C7(t,e){var n,r;if(++t.j,e!=null&&(n=(r=t.a.Cb,Lt(r,99)?u(r,99).th():null),txn(e,n))){fk(t.a,4,n);return}fk(t.a,4,u(e,129))}function Xwn(t){var e;if(t==null)return null;if(e=e6n(su(t,!0)),e==null)throw at(new trt("Invalid hexBinary value: '"+t+"'"));return e}function EH(t,e,n){var r;e.a.length>0&&(ge(t.b,new ote(e.a,n)),r=e.a.length,0<r?e.a=Lh(e.a,0,0):0>r&&(e.a+=uJt(Vt(Yh,Zd,28,-r,15,1))))}function zle(t,e,n){var r,s,o;if(!n[e.d])for(n[e.d]=!0,s=new G(s5(e));s.a<s.c.c.length;)r=u(et(s),218),o=gH(r,e),zle(t,o,n)}function Op(t,e,n){var r,s,o;return s=u(tr(t.e,e),400),s?(o=fvt(s,n),hJt(t,s),o):(r=new zvt(t,e,n),hi(t.e,e,r),Bne(r),null)}function Qwn(t,e,n,r){var s,o,h;return s=new Tg(t.e,1,13,(h=e.c,h||(wn(),Sd)),(o=n.c,o||(wn(),Sd)),Np(t,e),!1),r?r.nj(s):r=s,r}function not(){return yV(),lt(ut(Zye,1),te,164,0,[Qye,Xye,Jye,qye,zye,Hye,Gye,Uye,Vye,Yye,Wye,Kye,jye,Rye,$ye,Fye,Pye,Bye,Oye,Iye,Nye,Uht])}function S7(t){switch(t.g){case 4:return new ae(0,-1);case 1:return new ae(1,0);case 2:return new ae(-1,0);default:return new ae(0,1)}}function rot(t){switch(t.g){case 1:return Rs(),Gh;case 4:return Rs(),Uo;case 2:return Rs(),tc;case 3:return Rs(),kd}return Rs(),Ed}function Jwn(t){var e;switch(e=t.hj(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function D1(){D1=V,_n=new QM("PARENTS",0),Qs=new QM("NODES",1),f0=new QM("EDGES",2),Bw=new QM("PORTS",3),Wp=new QM("LABELS",4)}function Zwn(t,e,n){var r;switch(r=n.q.getFullYear()-Wb+Wb,r<0&&(r=-r),e){case 1:t.a+=r;break;case 2:M0(t,r%100,2);break;default:M0(t,r,e)}}function Dr(t,e){var n,r;if(Fy(e,t.b),e>=t.b>>1)for(r=t.c,n=t.b;n>e;--n)r=r.b;else for(r=t.a.a,n=0;n<e;++n)r=r.a;return new VZt(t,e,r)}function TH(){TH=V,zht=new $wt("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),O9t=new $wt("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function qle(t){this.b=new fe,this.e=new fe,this.d=t,this.a=!wE(_i(new ln(null,new Lm(new sd(t.b))),new Sl(new mJ))).Bd((U2(),Rk))}function Hle(t,e){var n,r,s,o;for(n=0,s=new G(e.a);s.a<s.c.c.length;)r=u(et(s),10),o=r.o.a+r.d.c+r.d.b+t.j,n=b.Math.max(n,o);return n}function Vle(t,e){var n,r,s;s=e.d.i,r=s.k,!(r==(Un(),xs)||r==md)&&(n=new rr(sr(_s(s).a.Kc(),new z)),Mr(n)&&hi(t.k,e,u(dr(n),18)))}function tmn(t,e){return Sg(),Bi((t.a.b==0?new ae(t.c.e.a,t.c.e.b):u(SE(t.a),8)).b,(e.a.b==0?new ae(e.c.e.a,e.c.e.b):u(SE(e.a),8)).b)}function emn(t,e){return Sg(),Bi((t.a.b==0?new ae(t.c.e.a,t.c.e.b):u(SE(t.a),8)).a,(e.a.b==0?new ae(e.c.e.a,e.c.e.b):u(SE(e.a),8)).a)}function nmn(t,e){return Sg(),Bi((t.a.b==0?new ae(t.b.e.a,t.b.e.b):u(Pf(t.a),8)).a,(e.a.b==0?new ae(e.b.e.a,e.b.e.b):u(Pf(e.a),8)).a)}function rmn(t,e){return Sg(),Bi((t.a.b==0?new ae(t.b.e.a,t.b.e.b):u(Pf(t.a),8)).b,(e.a.b==0?new ae(e.b.e.a,e.b.e.b):u(Pf(e.a),8)).b)}function o5(){o5=V,f2=new ZM("DISTRIBUTED",0),PP=new ZM("JUSTIFIED",1),uIt=new ZM("BEGIN",2),wL=new ZM(J7,3),lIt=new ZM("END",4)}function iot(t,e){var n,r,s;return r=En(t.Dh(),e),n=e-t.ji(),n<0?(s=t.Ih(r),s>=0?t.Wh(s):Vot(t,r)):n<0?Vot(t,r):u(r,69).wk().Bk(t,t.hi(),n)}function Ule(t){var e,n,r;for(r=(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),t.o),n=r.c.Kc();n.e!=n.i.gc();)e=u(n.Yj(),44),e.md();return RI(r)}function Se(t){var e;if(Lt(t.a,4)){if(e=nxt(t.a),e==null)throw at(new Ro(gwe+t.b+"'. "+dwe+(wg(UP),UP.k)+lTt));return e}else return t.a}function imn(t,e){var n,r;if(t.j.length!=e.j.length)return!1;for(n=0,r=t.j.length;n<r;n++)if(!hn(t.j[n],e.j[n]))return!1;return!0}function ar(t){var e;try{return e=t.i.Xb(t.e),t.Xj(),t.g=t.e++,e}catch(n){throw n=es(n),Lt(n,77)?(t.Xj(),at(new cc)):at(n)}}function sot(t){var e;try{return e=t.c.Vi(t.e),t.Xj(),t.g=t.e++,e}catch(n){throw n=es(n),Lt(n,77)?(t.Xj(),at(new cc)):at(n)}}function CH(t){var e,n,r,s;for(s=0,n=0,r=t.length;n<r;n++)e=(qn(n,t.length),t.charCodeAt(n)),e>=64&&e<128&&(s=T1(s,Rf(1,e-64)));return s}function SH(t,e){var n,r;return r=null,qi(t,(ai(),Zk))&&(n=u(X(t,Zk),96),n.pf(e)&&(r=n.of(e))),r==null&&Pa(t)&&(r=X(Pa(t),e)),r}function smn(t,e){var n;return n=u(X(t,(De(),Vo)),75),eit(e,d4e)?n?nh(n):(n=new Qu,Zt(t,Vo,n)):n&&Zt(t,Vo,null),n}function b_(){b_=V,cCt=(ai(),$Mt),Xht=yMt,f3e=sx,oCt=Yp,b3e=(RH(),$9t),p3e=R9t,w3e=q9t,g3e=B9t,d3e=(Mat(),iCt),Yht=u3e,aCt=l3e,HU=h3e}function _H(t){switch(Iwt(),this.c=new fe,this.d=t,t.g){case 0:case 2:this.a=$yt(_Ct),this.b=Zi;break;case 3:case 1:this.a=_Ct,this.b=Vs}}function amn(t){var e;q6(u(X(t,(De(),bs)),101))&&(e=t.b,N1e((vn(0,e.c.length),u(e.c[0],30))),N1e(u(Oe(e,e.c.length-1),30)))}function omn(t,e){e.Ug("Self-Loop post-processing",1),ms(_i(_i(fc(new ln(null,new gn(t.b,16)),new RQ),new jQ),new $Q),new KB),e.Vg()}function Gle(t,e,n){var r,s;if(t.c)Su(t.c,t.c.i+e),_u(t.c,t.c.j+n);else for(s=new G(t.b);s.a<s.c.c.length;)r=u(et(s),163),Gle(r,e,n)}function cmn(t){var e;if(t==null)return null;if(e=KCn(su(t,!0)),e==null)throw at(new trt("Invalid base64Binary value: '"+t+"'"));return e}function jh(t,e){var n;n=t.fd(e);try{return n.Pb()}catch(r){throw r=es(r),Lt(r,112)?at(new Bo("Can't get element "+e)):at(r)}}function Kle(t,e){var n,r,s;for(n=t.o,s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),r.e.a=hvn(r,n.a),r.e.b=n.b*Rt(Ht(r.b.of($U)))}function umn(t,e){var n,r,s;for(s=new wu(e.gc()),r=e.Kc();r.Ob();)n=u(r.Pb(),292),n.c==n.f?I7(t,n,n.c):I4n(t,n)||In(s.c,n);return s}function Wle(t){var e;return e=new yb,e.a+="n",t.k!=(Un(),xs)&&ni(ni((e.a+="(",e),cit(t.k).toLowerCase()),")"),ni((e.a+="_",e),EO(t)),e.a}function lmn(t,e){var n,r,s,o;return s=t.k,n=Rt(Ht(X(t,(oe(),xv)))),o=e.k,r=Rt(Ht(X(e,xv))),o!=(Un(),Ms)?-1:s!=Ms?1:n==r?0:n<r?-1:1}function hmn(t,e){var n,r;return n=u(u(tr(t.g,e.a),42).a,68),r=u(u(tr(t.g,e.b),42).a,68),Nb(e.a,e.b)-Nb(e.a,Dmt(n.b))-Nb(e.b,Dmt(r.b))}function Yle(t,e){var n;switch(n=u(Io(t.b,e),127).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function w_(){w_=V,DAt=new GM(y7t,0),y1t=new GM(qut,1),x1t=new GM("LINEAR_SEGMENTS",2),zA=new GM("BRANDES_KOEPF",3),qA=new GM(q2e,4)}function m_(){m_=V,HN=new P$(_V,0),zU=new P$(kut,1),qU=new P$(Eut,2),VN=new P$(Tut,3),HN.a=!1,zU.a=!0,qU.a=!1,VN.a=!0}function dk(){dk=V,$N=new N$(_V,0),jN=new N$(kut,1),zN=new N$(Eut,2),qN=new N$(Tut,3),$N.a=!1,jN.a=!0,zN.a=!1,qN.a=!0}function gk(t,e,n,r){var s;return n>=0?t.Sh(e,n,r):(t.Ph()&&(r=(s=t.Fh(),s>=0?t.Ah(r):t.Ph().Th(t,-1-s,null,r))),t.Ch(e,n,r))}function axt(t,e){switch(e){case 7:!t.e&&(t.e=new kn(Ts,t,7,4)),Ir(t.e);return;case 8:!t.d&&(t.d=new kn(Ts,t,8,5)),Ir(t.d);return}K5t(t,e)}function Mi(t,e,n){return n==null?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),yH(t.o,e)):(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),SO(t.o,e,n)),t}function Xle(t,e){mn();var n,r,s,o;for(n=t,o=e,Lt(t,21)&&!Lt(e,21)&&(n=e,o=t),s=n.Kc();s.Ob();)if(r=s.Pb(),o.Hc(r))return!1;return!0}function fmn(t,e,n,r){if(e.a<r.a)return!0;if(e.a==r.a){if(e.b<r.b)return!0;if(e.b==r.b&&t.b>n.b)return!0}return!1}function aot(t,e){return ba(t)?!!Bve[e]:t.Sm?!!t.Sm[e]:Cy(t)?!!Fve[e]:Ty(t)?!!Pve[e]:!1}function dmn(t){var e;e=t.a;do e=u(dr(new rr(sr(ua(e).a.Kc(),new z))),18).c.i,e.k==(Un(),fa)&&t.b.Fc(e);while(e.k==(Un(),fa));t.b=Bh(t.b)}function Qle(t,e){var n,r,s;for(s=t,r=new rr(sr(ua(e).a.Kc(),new z));Mr(r);)n=u(dr(r),18),n.c.i.c&&(s=b.Math.max(s,n.c.i.c.p));return s}function gmn(t,e){var n,r,s;for(s=0,r=u(u(Ai(t.r,e),21),87).Kc();r.Ob();)n=u(r.Pb(),117),s+=n.d.d+n.b.Mf().b+n.d.a,r.Ob()&&(s+=t.w);return s}function pmn(t,e){var n,r,s;for(s=0,r=u(u(Ai(t.r,e),21),87).Kc();r.Ob();)n=u(r.Pb(),117),s+=n.d.b+n.b.Mf().a+n.d.c,r.Ob()&&(s+=t.w);return s}function Jle(t){var e,n,r,s;if(r=0,s=n3(t),s.c.length==0)return 1;for(n=new G(s);n.a<n.c.c.length;)e=u(et(n),27),r+=Jle(e);return r}function bmn(t){var e,n,r;for(r=t.c.a,t.p=(Hr(r),new fl(r)),n=new G(r);n.a<n.c.c.length;)e=u(et(n),10),e.p=Z4n(e).a;mn(),Ds(t.p,new qJ)}function wmn(t,e,n){var r,s,o,h;return r=t.dd(e),r!=-1&&(t.Pj()?(o=t.Qj(),h=_z(t,r),s=t.Ij(4,h,null,r,o),n?n.nj(s):n=s):_z(t,r)),n}function so(t,e,n){var r,s,o,h;return r=t.dd(e),r!=-1&&(t.Pj()?(o=t.Qj(),h=pk(t,r),s=t.Ij(4,h,null,r,o),n?n.nj(s):n=s):pk(t,r)),n}function mmn(t,e,n,r){var s,o,h;n.Xh(e)&&(vo(),Gst(e)?(s=u(n.Mh(e),160),Vwn(t,s)):(o=(h=e,h?u(r,54).gi(h):null),o&&ynn(n.Mh(e),o)))}function AH(t,e,n,r){var s,o,h;return o=En(t.Dh(),e),s=e-t.ji(),s<0?(h=t.Ih(o),h>=0?t.Lh(h,n,!0):tv(t,o,n)):u(o,69).wk().yk(t,t.hi(),s,n,r)}function vmn(t,e,n,r){var s,o;o=e.pf((ai(),ux))?u(e.of(ux),21):t.j,s=r2n(o),s!=(yV(),Uht)&&(n&&!Z5t(s)||h6t(n6n(t,s,r),e))}function ymn(t){switch(t.g){case 1:return Gm(),RN;case 3:return Gm(),BN;case 2:return Gm(),Kht;case 4:return Gm(),Ght;default:return null}}function xmn(t,e,n){if(t.e)switch(t.b){case 1:hhn(t.c,e,n);break;case 0:fhn(t.c,e,n)}else vie(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function Zle(t){var e,n;if(t==null)return null;for(n=Vt(V0,ue,199,t.length,0,2),e=0;e<n.length;e++)n[e]=u(vdn(t[e],t[e].length),199);return n}function LH(t){var e;if(Lat(t))return Bz(t),t.ul()&&(e=C_(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw at(new cc)}function kmn(t,e){var n,r,s,o;return o=t.o,n=t.p,o<n?o*=o:n*=n,r=o+n,o=e.o,n=e.p,o<n?o*=o:n*=n,s=o+n,r<s?-1:r==s?0:1}function Np(t,e){var n,r,s;if(s=Nhe(t,e),s>=0)return s;if(t.ol()){for(r=0;r<t.i;++r)if(n=t.pl(u(t.g[r],58)),$t(n)===$t(e))return r}return-1}function c5(t,e,n){var r,s;if(s=t.gc(),e>=s)throw at(new Dy(e,s));if(t.Si()&&(r=t.dd(n),r>=0&&r!=e))throw at(new zn(AN));return t.Xi(e,n)}function oxt(t,e){if(this.a=u(Hr(t),253),this.b=u(Hr(e),253),t.Ed(e)>0||t==(Knt(),xht)||e==(Wnt(),kht))throw at(new zn("Invalid range: "+kie(t,e)))}function the(t){var e,n;for(this.b=new fe,this.c=t,this.a=!1,n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),10),this.a=this.a|e.k==(Un(),xs)}function Emn(t,e){var n,r,s;for(n=km(new H2,t),s=new G(e);s.a<s.c.c.length;)r=u(et(s),125),Hf(Of(If(Nf(Mf(new tf,0),0),n),r));return n}function ehe(t,e,n){n.Ug("Compound graph preprocessor",1),t.a=new Fm,ype(t,e,null),wTn(t,e),z6n(t),Zt(e,(oe(),QSt),t.a),t.a=null,dl(t.b),n.Vg()}function nhe(t,e,n){var r,s,o;for(s=new rr(sr((e?ua(t):_s(t)).a.Kc(),new z));Mr(s);)r=u(dr(s),18),o=e?r.c.i:r.d.i,o.k==(Un(),Vc)&&Aa(o,n)}function Tmn(t,e){var n,r,s;for(e.Ug("Untreeify",1),n=u(X(t,(ji(),wLt)),15),s=n.Kc();s.Ob();)r=u(s.Pb(),65),Zr(r.b.d,r),Zr(r.c.b,r);e.Vg()}function Cmn(t){var e,n,r;for(r=u(Ai(t.a,(Qy(),mG)),15).Kc();r.Ob();)n=u(r.Pb(),105),e=yxt(n),NE(t,n,e[0],(Vm(),wv),0),NE(t,n,e[1],mv,1)}function Smn(t){var e,n,r;for(r=u(Ai(t.a,(Qy(),vG)),15).Kc();r.Ob();)n=u(r.Pb(),105),e=yxt(n),NE(t,n,e[0],(Vm(),wv),0),NE(t,n,e[1],mv,1)}function Yy(){Yy=V,JG=new $$(r0,0),m1t=new $$("PORT_POSITION",1),J5=new $$("NODE_SIZE_WHERE_SPACE_PERMITS",2),Q5=new $$("NODE_SIZE",3)}function DH(){DH=V,adt=new jrt("INTERACTIVE_NODE_REORDERER",0),cdt=new jrt("MIN_SIZE_PRE_PROCESSOR",1),odt=new jrt("MIN_SIZE_POST_PROCESSOR",2)}function I0(){I0=V,_dt=new hS("AUTOMATIC",0),EP=new hS(_k,1),TP=new hS(Ak,2),_K=new hS("TOP",3),CK=new hS(O8t,4),SK=new hS(J7,5)}function cxt(t,e,n,r){F7();var s,o;for(s=0,o=0;o<n;o++)s=Qa(Ja(sa(e[o],So),sa(r,So)),sa(qr(s),So)),t[o]=qr(s),s=Ab(s,32);return qr(s)}function uxt(t,e,n){var r,s;for(s=0,r=0;r<Vht;r++)s=b.Math.max(s,Oat(t.a[e.g][r],n));return e==(A1(),xu)&&t.b&&(s=b.Math.max(s,t.b.b)),s}function MH(t,e){var n,r;if(evt(e>0),(e&-e)==e)return Ys(e*Dl(t,31)*4656612873077393e-25);do n=Dl(t,31),r=n%e;while(n-r+(e-1)<0);return Ys(r)}function _mn(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function xO(t,e,n,r){var s,o;for(s=e;s<t.c.length;s++)if(o=(vn(s,t.c.length),u(t.c[s],12)),n.Mb(o))In(r.c,o);else return s;return t.c.length}function oot(t){switch(t.g){case 0:return null;case 1:return new rce;case 2:return new rwt;default:throw at(new zn(Clt+(t.f!=null?t.f:""+t.g)))}}function kO(t,e,n){var r,s;for(Rpn(t,e-t.s,n-t.t),s=new G(t.n);s.a<s.c.c.length;)r=u(et(s),209),Et(r,r.e+e-t.s),Nt(r,r.f+n-t.t);t.s=e,t.t=n}function Amn(t){var e,n,r,s,o;for(n=0,s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),125),r.d=n++;return e=B3n(t),o=null,e.c.length>1&&(o=Emn(t,e)),o}function rhe(t){var e;return e=Rt(Ht(ne(t,(ai(),MP))))*b.Math.sqrt((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a).i),new ae(e,e/Rt(Ht(ne(t,DK))))}function cot(t){var e;return t.f&&t.f.Vh()&&(e=u(t.f,54),t.f=u(jb(t,e),84),t.f!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,8,e,t.f))),t.f}function uot(t){var e;return t.i&&t.i.Vh()&&(e=u(t.i,54),t.i=u(jb(t,e),84),t.i!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,7,e,t.i))),t.i}function yo(t){var e;return t.b&&t.b.Db&64&&(e=t.b,t.b=u(jb(t,e),19),t.b!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,21,e,t.b))),t.b}function IH(t,e){var n,r,s;t.d==null?(++t.e,++t.f):(r=e.Bi(),X6n(t,t.f+1),s=(r&xi)%t.d.length,n=t.d[s],!n&&(n=t.d[s]=t.dk()),n.Fc(e),++t.f)}function lxt(t,e,n){var r;return e.tk()?!1:e.Ik()!=-2?(r=e.ik(),r==null?n==null:Ti(r,n)):e.qk()==t.e.Dh()&&n==null}function OH(){var t;oh(16,pbe),t=zoe(16),this.b=Vt(Tht,iN,302,t,0,1),this.c=Vt(Tht,iN,302,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Ig(t){bvt.call(this),this.k=(Un(),xs),this.j=(oh(6,c3),new wu(6)),this.b=(oh(2,c3),new wu(2)),this.d=new qnt,this.f=new Q2t,this.a=t}function Lmn(t){var e,n;t.c.length<=1||(e=c0e(t,(ve(),Er)),Wfe(t,u(e.a,17).a,u(e.b,17).a),n=c0e(t,Gn),Wfe(t,u(n.a,17).a,u(n.b,17).a))}function Dmn(t,e,n){var r,s;for(s=t.a.b,r=s.c.length;r<n;r++)Sm(s,s.c.length,new eu(t.a));Aa(e,(vn(n-1,s.c.length),u(s.c[n-1],30))),t.b[e.p]=n}function ihe(t,e){var n,r,s;for(t.b[e.g]=1,r=Dr(e.d,0);r.b!=r.d.c;)n=u(Ar(r),65),s=n.c,t.b[s.g]==1?Zr(t.a,n):t.b[s.g]==2?t.b[s.g]=1:ihe(t,s)}function she(t,e,n,r){var s,o,h;for(s=u(Ai(r?t.a:t.b,e),21),h=s.Kc();h.Ob();)if(o=u(h.Pb(),27),sV(t,n,o))return!0;return!1}function lot(t){var e,n;for(n=new Zn(t);n.e!=n.i.gc();)if(e=u(ar(n),89),e.e||(!e.d&&(e.d=new Ps(Do,e,1)),e.d).i!=0)return!0;return!1}function hot(t){var e,n;for(n=new Zn(t);n.e!=n.i.gc();)if(e=u(ar(n),89),e.e||(!e.d&&(e.d=new Ps(Do,e,1)),e.d).i!=0)return!0;return!1}function Mmn(t){var e,n,r;for(e=0,r=new G(t.c.a);r.a<r.c.c.length;)n=u(et(r),10),e+=xg(new rr(sr(_s(n).a.Kc(),new z)));return e/t.c.a.c.length}function fot(){fot=V,JDt=(rct(),WDt),QDt=new xm(8),new _a((ai(),Yp),QDt),new _a($w,8),VEe=GDt,YDt=FEe,XDt=BEe,HEe=new _a(SP,(Pn(),!1))}function Imn(t,e,n){var r;n.Ug("Shrinking tree compaction",1),Ie(Me(X(e,(s7(),EA))))?($gn(t,e.f),Dae(e.f,(r=e.c,r))):Dae(e.f,e.c),n.Vg()}function hxt(t,e,n,r){switch(e){case 7:return!t.e&&(t.e=new kn(Ts,t,7,4)),t.e;case 8:return!t.d&&(t.d=new kn(Ts,t,8,5)),t.d}return N5t(t,e,n,r)}function dot(t){var e;return t.a&&t.a.Vh()&&(e=u(t.a,54),t.a=u(jb(t,e),142),t.a!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,5,e,t.a))),t.a}function hw(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function got(t,e){if(t==null)throw at(new A6("null key in entry: null="+e));if(e==null)throw at(new A6("null value in entry: "+t+"=null"))}function Omn(t,e){for(var n,r;t.Ob();)if(!e.Ob()||(n=t.Pb(),r=e.Pb(),!($t(n)===$t(r)||n!=null&&Ti(n,r))))return!1;return!e.Ob()}function ahe(t,e){var n;return n=lt(ut(ma,1),No,28,15,[Oat(t.a[0],e),Oat(t.a[1],e),Oat(t.a[2],e)]),t.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function ohe(t,e){var n;return n=lt(ut(ma,1),No,28,15,[oH(t.a[0],e),oH(t.a[1],e),oH(t.a[2],e)]),t.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function fxt(t,e,n){q6(u(X(e,(De(),bs)),101))||(S3t(t,e,Pp(e,n)),S3t(t,e,Pp(e,(ve(),Er))),S3t(t,e,Pp(e,Hn)),mn(),Ds(e.j,new dUt(t)))}function che(t){var e,n;for(t.c||JTn(t),n=new Qu,e=new G(t.a),et(e);e.a<e.c.c.length;)Zr(n,u(et(e),418).a);return ur(n.b!=0),Oh(n,n.c.b),n}function Nmn(t,e,n){var r,s,o,h,d;for(d=t.r+e,t.r+=e,t.d+=n,r=n/t.n.c.length,s=0,h=new G(t.n);h.a<h.c.c.length;)o=u(et(h),209),Kxn(o,d,r,s),++s}function Pmn(t){var e,n,r;for(t.b.a.$b(),t.a=Vt(RU,Ln,60,t.c.c.a.b.c.length,0,1),e=0,r=new G(t.c.c.a.b);r.a<r.c.c.length;)n=u(et(r),60),n.f=e++}function Fmn(t){var e,n,r;for(t.b.a.$b(),t.a=Vt(sft,Ln,86,t.c.a.a.b.c.length,0,1),e=0,r=new G(t.c.a.a.b);r.a<r.c.c.length;)n=u(et(r),86),n.i=e++}function uhe(t){var e;if(e=Sbn(t),!Mr(t))throw at(new Bo("position (0) must be less than the number of elements that remained ("+e+")"));return dr(t)}function Bmn(t,e){var n;return t.a||(n=Vt(ma,No,28,0,15,1),N4(t.b.a,new py(n)),cKt(n,uoe(It.prototype.Me,It,[])),t.a=new $Zt(n,t.d)),xq(t.a,e)}function lhe(t,e,n){var r;try{return u5(t,e+t.j,n+t.k)}catch(s){throw s=es(s),Lt(s,77)?(r=s,at(new Bo(r.g+LV+e+ao+n+")."))):at(s)}}function Rmn(t,e,n){var r;try{return dhe(t,e+t.j,n+t.k)}catch(s){throw s=es(s),Lt(s,77)?(r=s,at(new Bo(r.g+LV+e+ao+n+")."))):at(s)}}function jmn(t,e,n){var r;try{return ghe(t,e+t.j,n+t.k)}catch(s){throw s=es(s),Lt(s,77)?(r=s,at(new Bo(r.g+LV+e+ao+n+")."))):at(s)}}function hhe(t){switch(t.g){case 1:return ve(),Gn;case 4:return ve(),Hn;case 3:return ve(),Jn;case 2:return ve(),Er;default:return ve(),bc}}function $mn(t,e,n){e.k==(Un(),xs)&&n.k==fa&&(t.d=Bat(e,(ve(),Er)),t.b=Bat(e,Hn)),n.k==xs&&e.k==fa&&(t.d=Bat(n,(ve(),Hn)),t.b=Bat(n,Er))}function pot(t,e){var n,r,s;for(s=gc(t,e),r=s.Kc();r.Ob();)if(n=u(r.Pb(),12),X(n,(oe(),ml))!=null||TS(new sd(n.b)))return!0;return!1}function zmn(t,e,n){n.Ug("Linear segments node placement",1),t.b=u(X(e,(oe(),G5)),312),_Sn(t,e),rTn(t,e),xTn(t,e),iSn(t),t.a=null,t.b=null,n.Vg()}function dxt(t,e){return Su(e,t.e+t.d+(t.c.c.length==0?0:t.b)),_u(e,t.f),t.a=b.Math.max(t.a,e.f),t.d+=e.g+(t.c.c.length==0?0:t.b),ge(t.c,e),!0}function qmn(t,e,n){var r,s,o,h;for(h=0,r=n/t.a.c.length,o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),172),kO(s,s.s,s.t+h*r),Nmn(s,t.d-s.r+e,r),++h}function Hmn(t,e){var n,r,s,o,h,d;for(s=e.length-1,h=0,d=0,r=0;r<=s;r++)o=e[r],n=o4n(s,r)*p5t(1-t,s-r)*p5t(t,r),h+=o.a*n,d+=o.b*n;return new ae(h,d)}function fhe(t,e){var n,r,s,o,h;for(n=e.gc(),t._i(t.i+n),o=e.Kc(),h=t.i,t.i+=n,r=h;r<t.i;++r)s=o.Pb(),kS(t,r,t.Zi(r,s)),t.Mi(r,s),t.Ni();return n!=0}function Vmn(t,e,n){var r,s,o;return t.Pj()?(r=t.Ej(),o=t.Qj(),++t.j,t.qj(r,t.Zi(r,e)),s=t.Ij(3,null,e,r,o),n?n.nj(s):n=s):uZt(t,t.Ej(),e),n}function Umn(t,e,n){var r,s,o;return r=u(Dt(Wc(t.a),e),89),o=(s=r.c,Lt(s,90)?u(s,29):(wn(),xf)),(o.Db&64?jb(t.b,o):o)==n?lV(r):YE(r,n),o}function Gmn(t){var e;return t==null?null:new Sb((e=su(t,!0),e.length>0&&(qn(0,e.length),e.charCodeAt(0)==43)?(qn(1,e.length+1),e.substr(1)):e))}function Kmn(t){var e;return t==null?null:new Sb((e=su(t,!0),e.length>0&&(qn(0,e.length),e.charCodeAt(0)==43)?(qn(1,e.length+1),e.substr(1)):e))}function gxt(t,e,n,r,s,o,h,d){var m,k;r&&(m=r.a[0],m&&gxt(t,e,n,m,s,o,h,d),Eot(t,n,r.d,s,o,h,d)&&e.Fc(r),k=r.a[1],k&&gxt(t,e,n,k,s,o,h,d))}function u5(t,e,n){try{return vm(iat(t,e,n),1)}catch(r){throw r=es(r),Lt(r,333)?at(new Bo(Cut+t.o+"*"+t.p+Sut+e+ao+n+_ut)):at(r)}}function dhe(t,e,n){try{return vm(iat(t,e,n),0)}catch(r){throw r=es(r),Lt(r,333)?at(new Bo(Cut+t.o+"*"+t.p+Sut+e+ao+n+_ut)):at(r)}}function ghe(t,e,n){try{return vm(iat(t,e,n),2)}catch(r){throw r=es(r),Lt(r,333)?at(new Bo(Cut+t.o+"*"+t.p+Sut+e+ao+n+_ut)):at(r)}}function phe(t,e){if(t.g==-1)throw at(new Xu);t.Xj();try{t.d.hd(t.g,e),t.f=t.d.j}catch(n){throw n=es(n),Lt(n,77)?at(new Th):at(n)}}function Wmn(t){var e,n,r,s,o;for(r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),e=0,o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),10),s.p=e++}function v_(t,e){var n,r,s,o;for(o=t.gc(),e.length<o&&(e=g$(new Array(o),e)),s=e,r=t.Kc(),n=0;n<o;++n)ls(s,n,r.Pb());return e.length>o&&ls(e,o,null),e}function Ymn(t,e){var n,r;if(r=t.gc(),e==null){for(n=0;n<r;n++)if(t.Xb(n)==null)return n}else for(n=0;n<r;n++)if(Ti(e,t.Xb(n)))return n;return-1}function bot(t,e){var n,r,s;return n=e.ld(),s=e.md(),r=t.xc(n),!(!($t(s)===$t(r)||s!=null&&Ti(s,r))||r==null&&!t._b(n))}function Xmn(t,e){var n,r,s;return e<=22?(n=t.l&(1<<e)-1,r=s=0):e<=44?(n=t.l,r=t.m&(1<<e-22)-1,s=0):(n=t.l,r=t.m,s=t.h&(1<<e-44)-1),Eu(n,r,s)}function Qmn(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function Jmn(t,e){var n,r;switch(r=e.c,n=e.a,t.b.g){case 0:n.d=t.e-r.a-r.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-r.a-r.d;break;case 3:n.c=t.e+r.d}}function pxt(t,e,n,r){var s,o;this.a=e,this.c=r,s=t.a,Ant(this,new ae(-s.c,-s.d)),ki(this.b,n),o=r/2,e.a?CS(this.b,0,o):CS(this.b,o,0),ge(t.c,this)}function bhe(t,e,n,r){var s;this.c=t,this.d=e,s=new Ki,hs(s,n,s.c.b,s.c),this.a=s,this.b=u(X(r,(Cc(),Mv)),88),this.e=Rt(Ht(X(r,LLt))),rbe(this)}function NH(){NH=V,rdt=new V$(r0,0),ZLt=new V$(L2e,1),tDt=new V$("EDGE_LENGTH_BY_POSITION",2),JLt=new V$("CROSSING_MINIMIZATION_BY_POSITION",3)}function wot(t,e){var n,r;if(n=u(n5(t.g,e),27),n)return n;if(r=u(n5(t.j,e),123),r)return r;throw at(new Rd("Referenced shape does not exist: "+e))}function bxt(t,e){var n,r;if(Lt(e,253)){r=u(e,253);try{return n=t.Ed(r),n==0}catch(s){if(s=es(s),Lt(s,212))return!1;throw at(s)}}return!1}function Zmn(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw at(new zn("Node 'one' must be either source or target of edge 'edge'."))}function tvn(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw at(new zn("Node "+e+" is neither source nor target of edge "+t))}function evn(t,e,n){n.Ug("Self-Loop ordering",1),ms(Wo(_i(_i(fc(new ln(null,new gn(e.b,16)),new NQ),new UB),new PQ),new FQ),new jVt(t)),n.Vg()}function nvn(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),vp(t,e,(ud(),mft),n);break;case 1:case 3:vp(t,e,(ud(),zk),null)}}function mot(t,e,n,r,s,o){var h,d,m,k,T;for(h=nyn(e,n,o),d=n==(ve(),Hn)||n==Gn?-1:1,k=t[n.g],T=0;T<k.length;T++)m=k[T],m>0&&(m+=s),k[T]=h,h+=d*(m+r)}function whe(t){var e,n,r;for(r=t.f,t.n=Vt(ma,No,28,r,15,1),t.d=Vt(ma,No,28,r,15,1),e=0;e<r;e++)n=u(Oe(t.c.b,e),30),t.n[e]=Hle(t,n),t.d[e]=Pde(t,n)}function vot(t,e){var n,r,s;for(s=0,r=2;r<e;r<<=1)t.Db&r&&++s;if(s==0){for(n=e<<=1;n<=128;n<<=1)if(t.Db&n)return 0;return-1}else return s}function mhe(t,e){var n,r,s,o,h;for(h=Lu(t.e.Dh(),e),o=null,n=u(t.g,124),s=0;s<t.i;++s)r=n[s],h.am(r.Lk())&&(!o&&(o=new pb),Or(o,r));o&&$pe(t,o)}function vhe(t){var e,n,r;if(!t)return null;if(t.dc())return"";for(r=new dp,n=t.Kc();n.Ob();)e=n.Pb(),Mo(r,Gr(e)),r.a+=" ";return Wrt(r,r.a.length-1)}function yhe(t,e){var n=new Array(e),r;switch(t){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var s=0;s<e;++s)n[s]=r;return n}function Qm(t){var e,n,r;for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),60),e.c.$b();bg(t.d)?r=t.a.c:r=t.a.d,Cu(r,new Mnt(t)),t.c.df(t),Zde(t)}function xhe(t){var e,n,r,s;for(n=new G(t.e.c);n.a<n.c.c.length;){for(e=u(et(n),289),s=new G(e.b);s.a<s.c.c.length;)r=u(et(s),453),$kt(r);L1e(e)}}function PH(t){var e,n,r,s,o;for(r=0,o=0,s=0,n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),172),o=b.Math.max(o,e.r),r+=e.d+(s>0?t.c:0),++s;t.b=r,t.d=o}function khe(t,e){var n;return n=lt(ut(ma,1),No,28,15,[uxt(t,(A1(),Ac),e),uxt(t,xu,e),uxt(t,Lc,e)]),t.f&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function rvn(t,e,n){var r;try{cV(t,e+t.j,n+t.k,!1,!0)}catch(s){throw s=es(s),Lt(s,77)?(r=s,at(new Bo(r.g+LV+e+ao+n+")."))):at(s)}}function ivn(t,e,n){var r;try{cV(t,e+t.j,n+t.k,!0,!1)}catch(s){throw s=es(s),Lt(s,77)?(r=s,at(new Bo(r.g+LV+e+ao+n+")."))):at(s)}}function Ehe(t){var e;qi(t,(De(),Tv))&&(e=u(X(t,Tv),21),e.Hc((e3(),Qf))?(e.Mc(Qf),e.Fc(Jf)):e.Hc(Jf)&&(e.Mc(Jf),e.Fc(Qf)))}function The(t){var e;qi(t,(De(),Tv))&&(e=u(X(t,Tv),21),e.Hc((e3(),t1))?(e.Mc(t1),e.Fc(bf)):e.Hc(bf)&&(e.Mc(bf),e.Fc(t1)))}function yot(t,e,n,r){var s,o,h,d;return t.a==null&&a4n(t,e),h=e.b.j.c.length,o=n.d.p,d=r.d.p,s=d-1,s<0&&(s=h-1),o<=s?t.a[s]-t.a[o]:t.a[h-1]-t.a[o]+t.a[s]}function svn(t){var e,n;if(!t.b)for(t.b=hq(u(t.f,27).kh().i),n=new Zn(u(t.f,27).kh());n.e!=n.i.gc();)e=u(ar(n),135),ge(t.b,new Qnt(e));return t.b}function avn(t){var e,n;if(!t.e)for(t.e=hq(Jit(u(t.f,27)).i),n=new Zn(Jit(u(t.f,27)));n.e!=n.i.gc();)e=u(ar(n),123),ge(t.e,new wGt(e));return t.e}function Che(t){var e,n;if(!t.a)for(t.a=hq(Jz(u(t.f,27)).i),n=new Zn(Jz(u(t.f,27)));n.e!=n.i.gc();)e=u(ar(n),27),ge(t.a,new sit(t,e));return t.a}function Jm(t){var e;if(!t.C&&(t.D!=null||t.B!=null))if(e=K9n(t),e)t.hl(e);else try{t.hl(null)}catch(n){if(n=es(n),!Lt(n,63))throw at(n)}return t.C}function ovn(t){switch(t.q.g){case 5:Yhe(t,(ve(),Hn)),Yhe(t,Er);break;case 4:Jge(t,(ve(),Hn)),Jge(t,Er);break;default:t1e(t,(ve(),Hn)),t1e(t,Er)}}function cvn(t){switch(t.q.g){case 5:Xhe(t,(ve(),Jn)),Xhe(t,Gn);break;case 4:Zge(t,(ve(),Jn)),Zge(t,Gn);break;default:e1e(t,(ve(),Jn)),e1e(t,Gn)}}function l5(t,e){var n,r,s;for(s=new Sa,r=t.Kc();r.Ob();)n=u(r.Pb(),36),B7(n,s.a,0),s.a+=n.f.a+e,s.b=b.Math.max(s.b,n.f.b);return s.b>0&&(s.b+=e),s}function FH(t,e){var n,r,s;for(s=new Sa,r=t.Kc();r.Ob();)n=u(r.Pb(),36),B7(n,0,s.b),s.b+=n.f.b+e,s.a=b.Math.max(s.a,n.f.a);return s.a>0&&(s.a+=e),s}function She(t){var e,n,r;for(r=xi,n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),10),qi(e,(oe(),Pi))&&(r=b.Math.min(r,u(X(e,Pi),17).a));return r}function _he(t,e){var n,r;if(e.length==0)return 0;for(n=Qit(t.a,e[0],(ve(),Gn)),n+=Qit(t.a,e[e.length-1],Jn),r=0;r<e.length;r++)n+=U3n(t,r,e);return n}function Ahe(){D_(),this.c=new fe,this.i=new fe,this.e=new zd,this.f=new zd,this.g=new zd,this.j=new fe,this.a=new fe,this.b=new _r,this.k=new _r}function xot(t,e){var n,r;return t.Db>>16==6?t.Cb.Th(t,5,F1,e):(r=yo(u(En((n=u(jn(t,16),29),n||t.ii()),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function uvn(t){$E();var e=t.e;if(e&&e.stack){var n=e.stack,r=e+`
1335 \r\f]+`);try{TL=lt(ut(E_n,1),Ln,2114,0,[new AM((wmt(),mH("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",hI((h$(),h$(),mA))))),new AM(mH("yyyy-MM-dd'T'HH:mm:ss'.'SSS",hI(mA))),new AM(mH("yyyy-MM-dd'T'HH:mm:ss",hI(mA))),new AM(mH("yyyy-MM-dd'T'HH:mm",hI(mA))),new AM(mH("yyyy-MM-dd",hI(mA)))])}catch(t){if(t=es(t),!Lt(t,82))throw at(t)}}function H7n(t,e){var n,r,s,o;if(s=Dl(t.d,1)!=0,r=ykt(t,e),r==0&&Ie(Me(X(e.j,(oe(),i2)))))return 0;!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,U5)))||$t(X(e.j,(De(),U0)))===$t((Wd(),Up))?e.c.mg(e.e,s):s=Ie(Me(X(e.j,i2))),qO(t,e,s,!0),Ie(Me(X(e.j,U5)))&&Zt(e.j,U5,(Pn(),!1)),Ie(Me(X(e.j,i2)))&&(Zt(e.j,i2,(Pn(),!1)),Zt(e.j,U5,!0)),n=ykt(t,e);do{if(I4t(t),n==0)return 0;s=!s,o=n,qO(t,e,s,!1),n=ykt(t,e)}while(o>n);return o}function Ige(t,e){var n,r,s,o;if(s=Dl(t.d,1)!=0,r=GH(t,e),r==0&&Ie(Me(X(e.j,(oe(),i2)))))return 0;!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,U5)))||$t(X(e.j,(De(),U0)))===$t((Wd(),Up))?e.c.mg(e.e,s):s=Ie(Me(X(e.j,i2))),qO(t,e,s,!0),Ie(Me(X(e.j,U5)))&&Zt(e.j,U5,(Pn(),!1)),Ie(Me(X(e.j,i2)))&&(Zt(e.j,i2,(Pn(),!1)),Zt(e.j,U5,!0)),n=GH(t,e);do{if(I4t(t),n==0)return 0;s=!s,o=n,qO(t,e,s,!1),n=GH(t,e)}while(o>n);return o}function zkt(t,e,n,r){var s,o,h,d,m,k,T,A,P;return m=ia(new ae(n.a,n.b),t),k=m.a*e.b-m.b*e.a,T=e.a*r.b-e.b*r.a,A=(m.a*r.b-m.b*r.a)/T,P=k/T,T==0?k==0?(s=ki(new ae(n.a,n.b),qd(new ae(r.a,r.b),.5)),o=Nb(t,s),h=Nb(ki(new ae(t.a,t.b),e),s),d=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,o<h&&o<=d?new ae(t.a,t.b):h<=d?ki(new ae(t.a,t.b),e):null):null:A>=0&&A<=1&&P>=0&&P<=1?ki(new ae(t.a,t.b),qd(new ae(e.a,e.b),A)):null}function V7n(t,e,n){var r,s,o,h,d;if(r=u(X(t,(De(),t1t)),21),n.a>e.a&&(r.Hc((fw(),cL))?t.c.a+=(n.a-e.a)/2:r.Hc(uL)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((fw(),hL))?t.c.b+=(n.b-e.b)/2:r.Hc(lL)&&(t.c.b+=n.b-e.b)),u(X(t,(oe(),lu)),21).Hc((Co(),Uh))&&(n.a>e.a||n.b>e.b))for(d=new G(t.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(s=u(X(h,Dc),64),s==(ve(),Jn)?h.n.a+=n.a-e.a:s==Er&&(h.n.b+=n.b-e.b));o=t.d,t.f.a=n.a-o.b-o.c,t.f.b=n.b-o.d-o.a}function U7n(t,e,n){var r,s,o,h,d;if(r=u(X(t,(De(),t1t)),21),n.a>e.a&&(r.Hc((fw(),cL))?t.c.a+=(n.a-e.a)/2:r.Hc(uL)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((fw(),hL))?t.c.b+=(n.b-e.b)/2:r.Hc(lL)&&(t.c.b+=n.b-e.b)),u(X(t,(oe(),lu)),21).Hc((Co(),Uh))&&(n.a>e.a||n.b>e.b))for(h=new G(t.a);h.a<h.c.c.length;)o=u(et(h),10),o.k==(Un(),Ms)&&(s=u(X(o,Dc),64),s==(ve(),Jn)?o.n.a+=n.a-e.a:s==Er&&(o.n.b+=n.b-e.b));d=t.d,t.f.a=n.a-d.b-d.c,t.f.b=n.b-d.d-d.a}function G7n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(e=G1e(t),T=(d=new cr(e).a.vc().Kc(),new vi(d));T.a.Ob();){for(k=(s=u(T.a.Pb(),44),u(s.ld(),10)),A=0,P=0,A=k.d.d,P=k.o.b+k.d.a,t.d[k.p]=0,n=k;(o=t.a[n.p])!=k;)r=zwn(n,o),m=0,t.c==(Gd(),Gp)?m=r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:m=r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,h=Rt(t.d[n.p])+m,t.d[o.p]=h,A=b.Math.max(A,o.d.d-h),P=b.Math.max(P,h+o.o.b+o.d.a),n=o;n=k;do t.d[n.p]=Rt(t.d[n.p])+A,n=t.a[n.p];while(n!=k);t.b[k.p]=A+P}}function B_(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=0,h=t.t,s=0,r=0,m=0,P=0,A=0,n&&(t.n.c.length=0,ge(t.n,new aq(t.s,t.t,t.i))),d=0,T=new G(t.b);T.a<T.c.c.length;)k=u(et(T),27),o+k.g+(d>0?t.i:0)>e&&m>0&&(o=0,h+=m+t.i,s=b.Math.max(s,P),r+=m+t.i,m=0,P=0,n&&(++A,ge(t.n,new aq(t.s,h,t.i))),d=0),P+=k.g+(d>0?t.i:0),m=b.Math.max(m,k.f),n&&dxt(u(Oe(t.n,A),209),k),o+=k.g+(d>0?t.i:0),++d;return s=b.Math.max(s,P),r+=m,n&&(t.r=s,t.d=r,wxt(t.j)),new Ah(t.s,t.t,s,r)}function bct(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(t.b=!1,A=Zi,m=Vs,P=Zi,k=Vs,r=t.e.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),272),s=n.a,A=b.Math.min(A,s.c),m=b.Math.max(m,s.c+s.b),P=b.Math.min(P,s.d),k=b.Math.max(k,s.d+s.a),h=new G(n.c);h.a<h.c.c.length;)o=u(et(h),407),e=o.a,e.a?(T=s.d+o.b.b,d=T+o.c,P=b.Math.min(P,T),k=b.Math.max(k,d)):(T=s.c+o.b.a,d=T+o.c,A=b.Math.min(A,T),m=b.Math.max(m,d));t.a=new ae(m-A,k-P),t.c=new ae(A+t.d.a,P+t.d.b)}function v5(t){var e,n,r,s,o,h,d,m;if(!t.a){if(t.o=null,m=new JGt(t),e=new pC,n=_L,d=n.a.zc(t,n),d==null){for(h=new Zn(Yo(t));h.e!=h.i.gc();)o=u(ar(h),29),gs(m,v5(o));n.a.Bc(t)!=null,n.a.gc()==0}for(s=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));s.e!=s.i.gc();)r=u(ar(s),179),Lt(r,331)&&Or(e,u(r,35));Uy(e),t.k=new xte(t,(u(Dt(Qt((Lb(),Fn).o),7),19),e.i),e.g),gs(m,t.k),Uy(m),t.a=new $4((u(Dt(Qt(Fn.o),4),19),m.i),m.g),_l(t).b&=-2}return t.a}function qkt(t,e,n,r){var s,o,h,d,m,k,T;if(T=Lu(t.e.Dh(),e),s=0,o=u(t.g,124),m=null,vo(),u(e,69).xk()){for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(Ti(h,n)){m=h;break}++s}}else if(n!=null){for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(Ti(n,h.md())){m=h;break}++s}}else for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(h.md()==null){m=h;break}++s}return m&&(Hl(t.e)&&(k=e.Jk()?new Cst(t.e,4,e,n,null,s,!0):Ib(t,e.tk()?2:1,e,n,e.ik(),-1,!0),r?r.nj(k):r=k),r=UO(t,m,r)),r}function wct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J;switch(U=0,J=0,m=s.c,d=s.b,T=n.f,$=n.g,e.g){case 0:U=r.i+r.g+h,t.c?J=h3n(U,o,r,h):J=r.j,P=b.Math.max(m,U+$),k=b.Math.max(d,J+T);break;case 1:J=r.j+r.f+h,t.c?U=l3n(J,o,r,h):U=r.i,P=b.Math.max(m,U+$),k=b.Math.max(d,J+T);break;case 2:U=m+h,J=0,P=m+h+$,k=b.Math.max(d,T);break;case 3:U=0,J=d+h,P=b.Math.max(m,$),k=d+h+T;break;default:throw at(new zn("IllegalPlacementOption."))}return A=new txt(t.a,P,k,e,U,J),A}function K7n(t){var e,n,r,s,o,h,d,m,k,T,A,P;if(d=t.d,A=u(X(t,(oe(),Wk)),15),e=u(X(t,Hk),15),!(!A&&!e)){if(o=Rt(Ht(Wy(t,(De(),u1t)))),h=Rt(Ht(Wy(t,dAt))),P=0,A){for(k=0,s=A.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),P+=r.o.a;P+=o*(A.gc()-1),d.d+=k+h}if(n=0,e){for(k=0,s=e.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),n+=r.o.a;n+=o*(e.gc()-1),d.a+=k+h}m=b.Math.max(P,n),m>t.o.a&&(T=(m-t.o.a)/2,d.b=b.Math.max(d.b,T),d.c=b.Math.max(d.c,T))}}function W7n(t){var e,n,r,s,o,h,d,m;for(o=new Sre,Cin(o,(ck(),KEe)),r=(s=cat(t,Vt(Pe,ue,2,0,6,1)),new gr(new hl(new crt(t,s).b)));r.b<r.d.gc();)n=(ur(r.b<r.d.gc()),Gr(r.d.Xb(r.c=r.b++))),h=Ykt(b2,n),h&&(e=vg(t,n),e.te()?d=e.te().a:e.qe()?d=""+e.qe().a:e.re()?d=""+e.re().a:d=e.Ib(),m=Kkt(h,d),m!=null&&((Zu(h.j,(D1(),Qs))||Zu(h.j,_n))&&oO(Xst(o,bi),h,m),Zu(h.j,f0)&&oO(Xst(o,Ts),h,m),Zu(h.j,Bw)&&oO(Xst(o,kl),h,m),Zu(h.j,Wp)&&oO(Xst(o,Po),h,m)));return o}function YO(t,e,n){var r,s,o,h,d,m,k,T;if(s=u(t.g,124),Ng(t.e,e))return vo(),u(e,69).xk()?new Sz(e,t):new eI(e,t);for(k=Lu(t.e.Dh(),e),r=0,d=0;d<t.i;++d){if(o=s[d],h=o.Lk(),k.am(h)){if(vo(),u(e,69).xk())return o;if(h==(vk(),s8)||h==i8){for(m=new eh(rc(o.md()));++d<t.i;)o=s[d],h=o.Lk(),(h==s8||h==i8)&&ni(m,rc(o.md()));return Evt(u(e.Hk(),156),m.a)}else return T=o.md(),T!=null&&n&&Lt(e,102)&&u(e,19).Bb&po&&(T=C_(t,e,d,r,T)),T}++r}return e.ik()}function dV(t,e,n,r){var s,o,h,d,m,k;if(m=Lu(t.e.Dh(),e),o=u(t.g,124),Ng(t.e,e)){for(s=0,d=0;d<t.i;++d)if(h=o[d],m.am(h.Lk())){if(s==n)return vo(),u(e,69).xk()?h:(k=h.md(),k!=null&&r&&Lt(e,102)&&u(e,19).Bb&po&&(k=C_(t,e,d,s,k)),k);++s}throw at(new Bo(uA+n+Ew+s))}else{for(s=0,d=0;d<t.i;++d){if(h=o[d],m.am(h.Lk()))return vo(),u(e,69).xk()?h:(k=h.md(),k!=null&&r&&Lt(e,102)&&u(e,19).Bb&po&&(k=C_(t,e,d,s,k)),k);++s}return e.ik()}}function mct(){mct=V,eye=lt(ut(Fr,1),ii,28,15,[Ga,1162261467,z_,1220703125,362797056,1977326743,z_,387420489,EV,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,z_,1291467969,1544804416,1838265625,60466176]),nye=lt(ut(Fr,1),ii,28,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 vct(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=t.e,m=e.e,m==0)return t;if(h==0)return e.e==0?e:new Y2(-e.e,e.d,e.a);if(o=t.d,d=e.d,o+d==2)return n=sa(t.a[0],So),r=sa(e.a[0],So),h<0&&(n=Cp(n)),m<0&&(r=Cp(r)),Xd(),J$(sf(n,r),0)?zb(sf(n,r)):FS(zb(Cp(sf(n,r))));if(s=o!=d?o>d?1:-1:o5t(t.a,e.a,o),s==-1)A=-m,T=h==m?Ost(e.a,d,t.a,o):Pst(e.a,d,t.a,o);else if(A=h,h==m){if(s==0)return Xd(),yA;T=Ost(t.a,o,e.a,d)}else T=Pst(t.a,o,e.a,d);return k=new Y2(A,T.length,T),qS(k),k}function Y7n(t,e){var n,r,s,o;if(o=pge(e),!e.c&&(e.c=new Jt(kl,e,9,9)),ms(new ln(null,(!e.c&&(e.c=new Jt(kl,e,9,9)),new gn(e.c,16))),new xVt(o)),s=u(X(o,(oe(),lu)),21),z9n(e,s),s.Hc((Co(),Uh)))for(r=new Zn((!e.c&&(e.c=new Jt(kl,e,9,9)),e.c));r.e!=r.i.gc();)n=u(ar(r),123),bCn(t,e,o,n);return u(ne(e,(De(),Ow)),181).gc()!=0&&o0e(e,o),Ie(Me(X(o,cAt)))&&s.Fc(_G),qi(o,sP)&&pWt(new V5t(Rt(Ht(X(o,sP)))),o),$t(ne(e,A3))===$t((Ag(),Xp))?$Sn(t,e,o):TSn(t,e,o),o}function X7n(t){var e,n,r,s,o,h,d,m;for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new G(Rm(r.a));h.a<h.c.c.length;)if(o=u(et(h),10),Rae(o)&&(n=u(X(o,(oe(),vv)),313),!n.g&&n.d))for(e=n,m=n.d;m;)m0e(m.i,m.k,!1,!0),HI(e.a),HI(m.i),HI(m.k),HI(m.b),xa(m.c,e.c.d),xa(e.c,null),Aa(e.a,null),Aa(m.i,null),Aa(m.k,null),Aa(m.b,null),d=new y3t(e.i,m.a,e.e,m.j,m.f),d.k=e.k,d.n=e.n,d.b=e.b,d.c=m.c,d.g=e.g,d.d=m.d,Zt(e.i,vv,d),Zt(m.a,vv,d),m=m.d,e=d}function su(t,e){var n,r,s,o,h,d,m;if(t==null)return null;if(o=t.length,o==0)return"";for(m=Vt(Yh,Zd,28,o,15,1),Da(0,o,t.length),Da(0,o,m.length),kee(t,0,o,m,0),n=null,d=e,s=0,h=0;s<o;s++)r=m[s],sbe(),r<=32&&vt[r]&2?d?(!n&&(n=new ef(t)),Psn(n,s-h++)):(d=e,r!=32&&(!n&&(n=new ef(t)),dat(n,s-h,s-h+1,String.fromCharCode(32)))):d=!1;return d?n?(o=n.a.length,o>0?Lh(n.a,0,o-1):""):(Da(0,o-1,t.length),t.substr(0,o-1)):n?n.a:t}function Q7n(t,e){var n,r,s,o,h,d,m;for(e.Ug("Sort By Input Model "+X(t,(De(),U0)),1),s=0,r=new G(t.b);r.a<r.c.c.length;){for(n=u(et(r),30),m=s==0?0:s-1,d=u(Oe(t.b,m),30),h=new G(n.a);h.a<h.c.c.length;)o=u(et(h),10),$t(X(o,bs))!==$t((ka(),zw))&&$t(X(o,bs))!==$t(hu)&&(mn(),Ds(o.j,new Eue(d,u(X(t,U0),284),Bhe(o),Ie(Me(X(t,Zft))))),e.bh("Node "+o+" ports: "+o.j));mn(),Ds(n.a,new Woe(d,u(X(t,U0),284),u(X(t,B_t),390))),e.bh("Layer "+s+": "+n),++s}e.Vg()}function a3(t,e){var n,r,s,o,h;if(h=u(e,138),g5(t),g5(h),h.b!=null){if(t.c=!0,t.b==null){t.b=Vt(Fr,ii,28,h.b.length,15,1),Xc(h.b,0,t.b,0,h.b.length);return}for(o=Vt(Fr,ii,28,t.b.length+h.b.length,15,1),n=0,r=0,s=0;n<t.b.length||r<h.b.length;)n>=t.b.length?(o[s++]=h.b[r++],o[s++]=h.b[r++]):r>=h.b.length?(o[s++]=t.b[n++],o[s++]=t.b[n++]):h.b[r]<t.b[n]||h.b[r]===t.b[n]&&h.b[r+1]<t.b[n+1]?(o[s++]=h.b[r++],o[s++]=h.b[r++]):(o[s++]=t.b[n++],o[s++]=t.b[n++]);t.b=o}}function J7n(t,e){var n,r,s,o,h,d,m,k,T,A;return n=Ie(Me(X(t,(oe(),C3)))),d=Ie(Me(X(e,C3))),r=u(X(t,N1),12),m=u(X(e,N1),12),s=u(X(t,gf),12),k=u(X(e,gf),12),T=!!r&&r==m,A=!!s&&s==k,!n&&!d?new Ivt(u(et(new G(t.j)),12).p==u(et(new G(e.j)),12).p,T,A):(o=(!Ie(Me(X(t,C3)))||Ie(Me(X(t,nP))))&&(!Ie(Me(X(e,C3)))||Ie(Me(X(e,nP)))),h=(!Ie(Me(X(t,C3)))||!Ie(Me(X(t,nP))))&&(!Ie(Me(X(e,C3)))||!Ie(Me(X(e,nP)))),new Ivt(T&&o||A&&h,T,A))}function Oge(t){var e,n,r,s,o,h,d,m;for(r=0,n=0,m=new Ki,e=0,d=new G(t.n);d.a<d.c.c.length;)h=u(et(d),209),h.c.c.length==0?hs(m,h,m.c.b,m.c):(r=b.Math.max(r,h.d),n+=h.a+(e>0?t.i:0)),++e;for(_5t(t.n,m),t.d=n,t.r=r,t.g=0,t.f=0,t.e=0,t.o=Zi,t.p=Zi,o=new G(t.b);o.a<o.c.c.length;)s=u(et(o),27),t.p=b.Math.min(t.p,s.g),t.g=b.Math.max(t.g,s.g),t.f=b.Math.max(t.f,s.f),t.o=b.Math.min(t.o,s.f),t.e+=s.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),wxt(t.j)}function Nge(t){var e,n,r,s;return t.Db&64?zat(t):(e=new eh(mTt),r=t.k,r?ni(ni((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(s=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!s||ni(ni((e.a+=' "',e),s),'"'))),n=(!t.b&&(t.b=new kn(vr,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new kn(vr,t,5,8)),t.c.i<=1))),n?e.a+=" [":e.a+=" ",ni(e,Fmt(new ert,new Zn(t.b))),n&&(e.a+="]"),e.a+=But,n&&(e.a+="["),ni(e,Fmt(new ert,new Zn(t.c))),n&&(e.a+="]"),e.a)}function Z7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(Wt=t.c,se=e.c,n=Xo(Wt.a,t,0),r=Xo(se.a,e,0),At=u(Ym(t,(To(),vl)).Kc().Pb(),12),Ze=u(Ym(t,ku).Kc().Pb(),12),Bt=u(Ym(e,vl).Kc().Pb(),12),On=u(Ym(e,ku).Kc().Pb(),12),ht=Kd(At.e),Ce=Kd(Ze.g),Tt=Kd(Bt.e),rn=Kd(On.g),Xy(t,r,se),h=Tt,T=0,U=h.length;T<U;++T)s=h[T],xa(s,At);for(d=rn,A=0,J=d.length;A<J;++A)s=d[A],Xa(s,Ze);for(Xy(e,n,Wt),m=ht,P=0,tt=m.length;P<tt;++P)s=m[P],xa(s,Bt);for(o=Ce,k=0,$=o.length;k<$;++k)s=o[k],Xa(s,On)}function tTn(t){var e,n,r,s,o,h,d;for(h=u(ne(t,(Y4(),ex)),27),r=new Zn((!h.e&&(h.e=new kn(Ts,h,7,4)),h.e));r.e!=r.i.gc();)n=u(ar(r),74),d=new ae(u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).j,u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).k),o=new ae(u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).b,u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).c),s=new ae(o.a-d.a,o.b-d.b),e=b.Math.atan2(s.b,s.a),u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84).qf((Ub(),ndt),e)}function eTn(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Interactive Node Reorderer",1),T=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),d=new fe,s=new Zn(T);s.e!=s.i.gc();)n=u(ar(s),27),ad(n,(fd(),vP))&&In(d.c,n);for(o=new G(d);o.a<o.c.c.length;)n=u(et(o),27),Dq(T,n);for(mn(),Ds(d,new Ett),h=new G(d);h.a<h.c.c.length;)n=u(et(h),27),k=u(ne(n,(fd(),vP)),17).a,k=b.Math.min(k,T.i),h_(T,k,n);for(m=0,r=new Zn(T);r.e!=r.i.gc();)n=u(ar(r),27),Mi(n,(fd(),fDt),he(m)),++m;e.Vg()}function Hkt(t,e,n){var r,s,o,h,d,m,k,T;return b.Math.abs(e.s-e.c)<n0||b.Math.abs(n.s-n.c)<n0?0:(r=zde(t,e.j,n.e),s=zde(t,n.j,e.e),o=r==-1||s==-1,h=0,o?(r==-1&&(new J2((C1(),o2),n,e,1),++h),s==-1&&(new J2((C1(),o2),e,n,1),++h)):(d=a5(e.j,n.s,n.c),d+=a5(n.e,e.s,e.c),m=a5(n.j,e.s,e.c),m+=a5(e.e,n.s,n.c),k=r+16*d,T=s+16*m,k<T?new J2((C1(),F3),e,n,T-k):k>T?new J2((C1(),F3),n,e,k-T):k>0&&T>0&&(new J2((C1(),F3),e,n,0),new J2(F3,n,e,0))),h)}function nTn(t,e,n){var r,s,o;for(t.a=new fe,o=Dr(e.b,0);o.b!=o.d.c;){for(s=u(Ar(o),39);u(X(s,(Cc(),h0)),17).a>t.a.c.length-1;)ge(t.a,new Ws(S5,E7t));r=u(X(s,h0),17).a,n==(Rs(),Uo)||n==tc?(s.e.a<Rt(Ht(u(Oe(t.a,r),42).a))&&qt(u(Oe(t.a,r),42),s.e.a),s.e.a+s.f.a>Rt(Ht(u(Oe(t.a,r),42).b))&&re(u(Oe(t.a,r),42),s.e.a+s.f.a)):(s.e.b<Rt(Ht(u(Oe(t.a,r),42).a))&&qt(u(Oe(t.a,r),42),s.e.b),s.e.b+s.f.b>Rt(Ht(u(Oe(t.a,r),42).b))&&re(u(Oe(t.a,r),42),s.e.b+s.f.b))}}function Pge(t,e,n,r){var s,o,h,d,m,k,T;if(o=fH(r),d=Ie(Me(X(r,(De(),nAt)))),(d||Ie(Me(X(t,zG))))&&!z4(u(X(t,bs),101)))s=hk(o),m=Dkt(t,n,n==(To(),ku)?s:bO(s));else switch(m=new Yc,hc(m,t),e?(T=m.n,T.a=e.a-t.n.a,T.b=e.b-t.n.b,$fe(T,0,0,t.o.a,t.o.b),Xs(m,nge(m,o))):(s=hk(o),Xs(m,n==(To(),ku)?s:bO(s))),h=u(X(r,(oe(),lu)),21),k=m.j,o.g){case 2:case 1:(k==(ve(),Hn)||k==Er)&&h.Fc((Co(),q5));break;case 4:case 3:(k==(ve(),Jn)||k==Gn)&&h.Fc((Co(),q5))}return m}function Fge(t,e){var n,r,s,o,h,d;for(h=new sw(new mr(t.f.b).a);h.b;){if(o=Um(h),s=u(o.ld(),602),e==1){if(s.Af()!=(Rs(),Gh)&&s.Af()!=kd)continue}else if(s.Af()!=(Rs(),Uo)&&s.Af()!=tc)continue;switch(r=u(u(o.md(),42).b,86),d=u(u(o.md(),42).a,194),n=d.c,s.Af().g){case 2:r.g.c=t.e.a,r.g.b=b.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=b.Math.max(1,r.g.b-n);break;case 4:r.g.d=t.e.b,r.g.a=b.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=b.Math.max(1,r.g.a-n)}}}function rTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(d=Vt(Fr,ii,28,e.b.c.length,15,1),k=Vt(fft,te,273,e.b.c.length,0,1),m=Vt(V0,jp,10,e.b.c.length,0,1),A=t.a,P=0,$=A.length;P<$;++P){for(T=A[P],J=0,h=new G(T.e);h.a<h.c.c.length;)s=u(et(h),10),r=ymt(s.c),++d[r],U=Rt(Ht(X(e,(De(),Yf)))),d[r]>0&&m[r]&&(U=U4(t.b,m[r],s)),J=b.Math.max(J,s.c.c.b+U);for(o=new G(T.e);o.a<o.c.c.length;)s=u(et(o),10),s.n.b=J+s.d.d,n=s.c,n.c.b=J+s.d.d+s.o.b+s.d.a,k[Xo(n.b.b,n,0)]=s.k,m[Xo(n.b.b,n,0)]=s}}function Bge(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(r=new rr(sr(Og(e).a.Kc(),new z));Mr(r);)n=u(dr(r),74),Lt(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),193)||(m=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),S_(n)||(h=e.i+e.g/2,d=e.j+e.f/2,T=m.i+m.g/2,A=m.j+m.f/2,P=new Sa,P.a=T-h,P.b=A-d,o=new ae(P.a,P.b),A7(o,e.g,e.f),P.a-=o.a,P.b-=o.b,h=T-P.a,d=A-P.b,k=new ae(P.a,P.b),A7(k,m.g,m.f),P.a-=k.a,P.b-=k.b,T=h+P.a,A=d+P.b,s=b5(n,!0,!0),QE(s,h),ZE(s,d),XE(s,T),JE(s,A),Bge(t,m)))}function Rge(t){wm(t,new dw(gm(hm(dm(fm(new G1,uv),"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 Itt))),le(t,uv,Ilt,Se(EK)),le(t,uv,iTt,Se(Tdt)),le(t,uv,sTt,Se(Edt)),le(t,uv,Olt,Se(zDt)),le(t,uv,Nlt,Se(kdt)),le(t,uv,ov,$Dt),le(t,uv,h3,8),le(t,uv,Plt,Se(OEe)),le(t,uv,aTt,Se(RDt)),le(t,uv,oTt,Se(jDt)),le(t,uv,TN,(Pn(),!1))}function iTn(t,e){var n,r,s,o,h,d,m,k,T,A;for(e.Ug("Simple node placement",1),A=u(X(t,(oe(),G5)),312),d=0,o=new G(t.b);o.a<o.c.c.length;){for(r=u(et(o),30),h=r.c,h.b=0,n=null,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),n&&(h.b+=Q5t(m,n,A.c)),h.b+=m.d.d+m.o.b+m.d.a,n=m;d=b.Math.max(d,h.b)}for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=r.c,T=(d-h.b)/2,n=null,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),n&&(T+=Q5t(m,n,A.c)),T+=m.d.d,m.n.b=T,T+=m.o.b+m.d.a,n=m;e.Vg()}function sTn(t,e){var n,r,s,o;for(dgn(e.b.j),ms(Wo(new ln(null,new gn(e.d,16)),new SJ),new _J),o=new G(e.d);o.a<o.c.c.length;){switch(s=u(et(o),105),s.e.g){case 0:n=u(Oe(s.j,0),113).d.j,C(s,u(Vl(G6(u(Ai(s.k,n),15).Oc(),R5)),113)),x(s,u(Vl(My(u(Ai(s.k,n),15).Oc(),R5)),113));break;case 1:r=yxt(s),C(s,u(Vl(G6(u(Ai(s.k,r[0]),15).Oc(),R5)),113)),x(s,u(Vl(My(u(Ai(s.k,r[1]),15).Oc(),R5)),113));break;case 2:U4n(t,s);break;case 3:ckn(s);break;case 4:fkn(t,s)}ggn(s)}t.a=null}function yct(t,e,n){var r,s,o,h,d,m,k,T;return r=t.a.o==(nd(),yd)?Zi:Vs,d=uge(t,new DXt(e,n)),!d.a&&d.c?(Zr(t.d,d),r):d.a?(s=d.a.c,m=d.a.d,n?(k=t.a.c==(Gd(),Dv)?m:s,o=t.a.c==Dv?s:m,h=t.a.g[o.i.p],T=Rt(t.a.p[h.p])+Rt(t.a.d[o.i.p])+o.n.b+o.a.b-Rt(t.a.d[k.i.p])-k.n.b-k.a.b):(k=t.a.c==(Gd(),Gp)?m:s,o=t.a.c==Gp?s:m,T=Rt(t.a.p[t.a.g[o.i.p].p])+Rt(t.a.d[o.i.p])+o.n.b+o.a.b-Rt(t.a.d[k.i.p])-k.n.b-k.a.b),t.a.n[t.a.g[s.i.p].p]=(Pn(),!0),t.a.n[t.a.g[m.i.p].p]=!0,T):r}function aTn(t,e,n,r){var s,o,h,d,m,k,T,A;if(r.gc()==0)return!1;if(m=(vo(),u(e,69).xk()),h=m?r:new $m(r.gc()),Ng(t.e,e)){if(e.Si())for(T=r.Kc();T.Ob();)k=T.Pb(),hV(t,e,k,Lt(e,102)&&(u(e,19).Bb&po)!=0)||(o=D0(e,k),h.Fc(o));else if(!m)for(T=r.Kc();T.Ob();)k=T.Pb(),o=D0(e,k),h.Fc(o)}else{for(A=Lu(t.e.Dh(),e),s=u(t.g,124),d=0;d<t.i;++d)if(o=s[d],A.am(o.Lk()))throw at(new zn(ON));if(r.gc()>1)throw at(new zn(ON));m||(o=D0(e,r.Kc().Pb()),h.Fc(o))}return K4t(t,g6t(t,e,n),h)}function gV(t,e,n){var r,s,o,h,d,m,k,T;if(Ng(t.e,e))m=(vo(),u(e,69).xk()?new Sz(e,t):new eI(e,t)),WH(m.c,m.b),xS(m,u(n,16));else{for(T=Lu(t.e.Dh(),e),r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],o=s.Lk(),T.am(o)){if(o==(vk(),s8)||o==i8){for(k=lxt(t,e,n),d=h,k?r3(t,h):++h;h<t.i;)s=r[h],o=s.Lk(),o==s8||o==i8?r3(t,h):++h;k||u(c5(t,d,D0(e,n)),76)}else lxt(t,e,n)?r3(t,h):u(c5(t,h,(vo(),u(e,69).xk()?u(n,76):D0(e,n))),76);return}lxt(t,e,n)||Or(t,(vo(),u(e,69).xk()?u(n,76):D0(e,n)))}}function jge(t,e,n){var r,s,o,h,d,m,k,T;return Ti(n,t.b)||(t.b=n,o=new cs,h=u(nc(Wo(new ln(null,new gn(n.f,16)),o),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,s=h.Hc((dk(),$N)),r=h.Hc(zN),s&&!r&&(t.f=!1),!s&&r&&(t.d=!1),s=h.Hc(jN),r=h.Hc(qN),s&&!r&&(t.c=!1),!s&&r&&(t.e=!1)),T=u(t.a.Ve(e,n),42),m=u(T.a,17).a,k=u(T.b,17).a,d=!1,m<0?t.c||(d=!0):t.e||(d=!0),k<0?t.d||(d=!0):t.f||(d=!0),d?jge(t,T,n):T}function oTn(t){var e,n,r,s;s=t.o,Ay(),t.A.dc()||Ti(t.A,tCt)?e=s.b:(e=PO(t.f),t.A.Hc((Yl(),BP))&&!t.B.Hc((Ml(),kL))&&(e=b.Math.max(e,PO(u(Io(t.p,(ve(),Jn)),252))),e=b.Math.max(e,PO(u(Io(t.p,Gn),252)))),n=wce(t),n&&(e=b.Math.max(e,n.b)),t.A.Hc(RP)&&(t.q==(ka(),Y0)||t.q==hu)&&(e=b.Math.max(e,Cz(u(Io(t.b,(ve(),Jn)),127))),e=b.Math.max(e,Cz(u(Io(t.b,Gn),127))))),Ie(Me(t.e.Tf().of((ai(),R3))))?s.b=b.Math.max(s.b,e):s.b=e,r=t.f.i,r.d=0,r.a=e,gct(t.f)}function $ge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(A=0;A<e.length;A++){for(d=t.Kc();d.Ob();)o=u(d.Pb(),230),o.hg(A,e);for(P=0;P<e[A].length;P++){for(m=t.Kc();m.Ob();)o=u(m.Pb(),230),o.ig(A,P,e);for(J=e[A][P].j,$=0;$<J.c.length;$++){for(k=t.Kc();k.Ob();)o=u(k.Pb(),230),o.jg(A,P,$,e);for(U=(vn($,J.c.length),u(J.c[$],12)),n=0,s=new sd(U.b);lc(s.a)||lc(s.b);)for(r=u(lc(s.a)?et(s.a):et(s.b),18),T=t.Kc();T.Ob();)o=u(T.Pb(),230),o.gg(A,P,$,n++,r,e)}}}for(h=t.Kc();h.Ob();)o=u(h.Pb(),230),o.fg()}function cTn(t,e){var n,r,s,o,h,d,m;for(t.b=Rt(Ht(X(e,(De(),W5)))),t.c=Rt(Ht(X(e,Pw))),t.d=u(X(e,s1t),350),t.a=u(X(e,PG),282),Wmn(e),d=u(nc(_i(_i(fc(fc(new ln(null,new gn(e.b,16)),new lQ),new Y9),new jD),new FB),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),s=d.Kc();s.Ob();)n=u(s.Pb(),18),h=u(X(n,(oe(),Lw)),15),h.Jc(new MVt(t)),Zt(n,Lw,null);for(r=d.Kc();r.Ob();)n=u(r.Pb(),18),m=u(X(n,(oe(),s_t)),18),o=u(X(n,K5),15),kSn(t,o,m),Zt(n,K5,null)}function xct(t,e){var n,r,s,o,h,d,m;if(t.a){if(d=t.a.xe(),m=null,d!=null?e.a+=""+d:(h=t.a.mk(),h!=null&&(o=$d(h,Hu(91)),o!=-1?(m=(qn(o,h.length+1),h.substr(o)),e.a+=""+Lh(h==null?Vu:(Wn(h),h),0,o)):e.a+=""+h)),t.d&&t.d.i!=0){for(s=!0,e.a+="<",r=new Zn(t.d);r.e!=r.i.gc();)n=u(ar(r),89),s?s=!1:e.a+=ao,xct(n,e);e.a+=">"}m!=null&&(e.a+=""+m)}else t.e?(d=t.e.zb,d!=null&&(e.a+=""+d)):(e.a+="?",t.b?(e.a+=" super ",xct(t.b,e)):t.f&&(e.a+=" extends ",xct(t.f,e)))}function uTn(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function lTn(t){var e,n,r,s;if(r=Oct((!t.c&&(t.c=DI(Pc(t.f))),t.c),0),t.e==0||t.a==0&&t.f!=-1&&t.e<0)return r;if(e=O4t(t)<0?1:0,n=t.e,s=(r.length+1+b.Math.abs(Ys(t.e)),new I4),e==1&&(s.a+="-"),t.e>0)if(n-=r.length-e,n>=0){for(s.a+="0.";n>_w.length;n-=_w.length)Dte(s,_w);gZt(s,_w,Ys(n)),ni(s,(qn(e,r.length+1),r.substr(e)))}else n=e-n,ni(s,Lh(r,e,Ys(n))),s.a+=".",ni(s,Iyt(r,Ys(n)));else{for(ni(s,(qn(e,r.length+1),r.substr(e)));n<-_w.length;n+=_w.length)Dte(s,_w);gZt(s,_w,Ys(-n))}return s.a}function kct(t){var e,n,r,s,o,h,d,m,k;return!(t.k!=(Un(),xs)||t.j.c.length<=1||(o=u(X(t,(De(),bs)),101),o==(ka(),hu))||(s=(Yy(),(t.q?t.q:(mn(),mn(),q0))._b(Cv)?r=u(X(t,Cv),203):r=u(X(Pa(t),RA),203),r),s==JG)||!(s==J5||s==Q5)&&(h=Rt(Ht(Wy(t,jA))),e=u(X(t,oP),140),!e&&(e=new pvt(h,h,h,h)),k=gc(t,(ve(),Gn)),m=e.d+e.a+(k.gc()-1)*h,m>t.o.b||(n=gc(t,Jn),d=e.d+e.a+(n.gc()-1)*h,d>t.o.b)))}function hTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;e.Ug("Orthogonal edge routing",1),k=Rt(Ht(X(t,(De(),X5)))),n=Rt(Ht(X(t,W5))),r=Rt(Ht(X(t,Pw))),P=new Uit(0,n),tt=0,h=new La(t.b,0),d=null,T=null,m=null,A=null;do T=h.b<h.d.gc()?(ur(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),30)):null,A=T?T.a:null,d&&(Ukt(d,tt),tt+=d.c.a),J=d?tt+r:tt,U=Xkt(P,t,m,A,J),s=!d||Z$(m,(rV(),fP)),o=!T||Z$(A,(rV(),fP)),U>0?($=(U-1)*n,d&&($+=r),T&&($+=r),$<k&&!s&&!o&&($=k),tt+=$):!s&&!o&&(tt+=k),d=T,m=A;while(T);t.f.a=tt,e.Vg()}function pV(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=null,t.d&&(T=u(nu(t.d,e),142)),!T){if(o=t.a.vi(),A=o.i,!t.d||QC(t.d)!=A){for(m=new _r,t.d&&t_(m,t.d),k=m.f.c+m.i.c,d=k;d<A;++d)r=u(Dt(o,d),142),s=Lp(t.e,r).xe(),n=u(s==null?yu(m.f,null,r):Km(m.i,s,r),142),n&&n!=r&&(s==null?yu(m.f,null,n):Km(m.i,s,n));if(m.f.c+m.i.c!=A)for(h=0;h<k;++h)r=u(Dt(o,h),142),s=Lp(t.e,r).xe(),n=u(s==null?yu(m.f,null,r):Km(m.i,s,r),142),n&&n!=r&&(s==null?yu(m.f,null,n):Km(m.i,s,n));t.d=m}T=u(nu(t.d,e),142)}return T}function Ect(t,e,n,r,s,o,h){var d,m,k,T,A,P,$;return A=Ie(Me(X(e,(De(),rAt)))),P=null,o==(To(),vl)&&r.c.i==n?P=r.c:o==ku&&r.d.i==n&&(P=r.d),k=h,!k||!A||P?(T=(ve(),bc),P?T=P.j:z4(u(X(n,bs),101))&&(T=o==vl?Gn:Jn),m=fTn(t,e,n,o,T,r),d=Dst((Pa(n),r)),o==vl?(Xa(d,u(Oe(m.j,0),12)),xa(d,s)):(Xa(d,s),xa(d,u(Oe(m.j,0),12))),k=new Uue(r,d,m,u(X(m,(oe(),Li)),12),o,!P)):(ge(k.e,r),$=b.Math.max(Rt(Ht(X(k.d,Hp))),Rt(Ht(X(r,Hp)))),Zt(k.d,Hp,$)),dn(t.a,r,new wz(k.d,e,o)),k}function Tct(){Tct=V;var t;jIt=new zKt,pTe=Vt(Pe,ue,2,0,6,1),dTe=T1(uk(33,58),uk(1,26)),gTe=T1(uk(97,122),uk(65,90)),NIt=uk(48,57),hTe=T1(dTe,0),fTe=T1(gTe,NIt),PIt=T1(T1(0,uk(1,6)),uk(33,38)),FIt=T1(T1(NIt,uk(65,70)),uk(97,102)),bTe=T1(hTe,CH("-_.!~*'()")),wTe=T1(fTe,wH("-_.!~*'()")),CH(Pme),wH(Pme),T1(bTe,CH(";:@&=+$,")),T1(wTe,wH(";:@&=+$,")),BIt=CH(":/?#"),RIt=wH(":/?#"),CL=CH("/?#"),SL=wH("/?#"),t=new Os,t.a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),WK=(mn(),new dE(t))}function fTn(t,e,n,r,s,o){var h,d,m,k,T,A;return h=null,k=r==(To(),vl)?o.c:o.d,m=fH(e),k.i==n?(h=u(tr(t.b,k),10),h||(h=JO(k,u(X(n,(De(),bs)),101),s,bEn(k),null,k.n,k.o,m,e),Zt(h,(oe(),Li),k),hi(t.b,k,h))):(h=JO((T=new As,A=Rt(Ht(X(e,(De(),Yf))))/2,oO(T,D3,A),T),u(X(n,bs),101),s,r==vl?-1:1,null,new Sa,new ae(0,0),m,e),d=Uyn(h,n,r),Zt(h,(oe(),Li),d),hi(t.b,d,h)),u(X(e,(oe(),lu)),21).Fc((Co(),Uh)),z4(u(X(e,(De(),bs)),101))?Zt(e,bs,(ka(),YT)):Zt(e,bs,(ka(),Td)),h}function z7(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;d=0,U=0,m=rq(t.g,t.g.length),o=t.e,h=t.j,r=t.b,s=t.c;do{for($=0,T=new G(t.q);T.a<T.c.c.length;)k=u(et(T),10),P=ape(t,k),n=!0,(t.r==(cf(),cP)||t.r==uP)&&(n=Ie(Me(P.b))),u(P.a,17).a<0&&n?(++$,m=rq(t.g,t.g.length),t.e=t.e+u(P.a,17).a,U+=o-t.e,o=t.e+u(P.a,17).a,h=t.j,r=Rm(t.b),s=Rm(t.c)):(t.g=rq(m,m.length),t.e=o,t.b=(Hr(r),r?new fl(r):DE(new G(r))),t.c=(Hr(s),s?new fl(s):DE(new G(s))),t.j=h);++d,A=$!=0&&Ie(Me(e.Kb(new Ws(he(U),he(d)))))}while(A)}function dTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;return h=t.f,P=e.f,d=h==(A_(),Xk)||h==sL,$=P==Xk||P==sL,m=h==rx||h==aL,U=P==rx||P==aL,k=h==rx||h==Xk,J=P==rx||P==Xk,d&&$?t.f==sL?t:e:m&&U?t.f==aL?t:e:k&&J?(h==rx?(A=t,T=e):(A=e,T=t),o=(tt=n.j+n.f,ht=A.e+r.f,Tt=b.Math.max(tt,ht),At=Tt-b.Math.min(n.j,A.e),Bt=A.d+r.g-n.i,Bt*At),s=(Wt=n.i+n.g,se=T.d+r.g,Ce=b.Math.max(Wt,se),rn=Ce-b.Math.min(n.i,T.d),Ze=T.e+r.f-n.j,rn*Ze),o<=s?t.f==rx?t:e:t.f==Xk?t:e):t}function zge(t,e){var n,r,s,o,h,d,m,k,T,A;if(Zt(e,(ji(),qT),0),m=u(X(e,oK),39),e.d.b==0)m?(T=Rt(Ht(X(m,Kp)))+t.b+A5t(t,m,e),Zt(e,Kp,T)):Zt(e,Kp,0);else{for(r=(o=Dr(new gg(e).a.d,0),new M4(o));IM(r.a);)n=u(Ar(r.a),65).c,zge(t,n);d=u(sz((h=Dr(new gg(e).a.d,0),new M4(h))),39),A=u(ysn((s=Dr(new gg(e).a.d,0),new M4(s))),39),k=(Rt(Ht(X(A,Kp)))+Rt(Ht(X(d,Kp))))/2,m?(T=Rt(Ht(X(m,Kp)))+t.b+A5t(t,m,e),Zt(e,Kp,T),Zt(e,qT,Rt(Ht(X(e,Kp)))-k),C9n(t,e)):Zt(e,Kp,k)}}function gTn(t){var e,n,r,s,o,h,d,m,k,T,A;for(T=t.e.a.c.length,h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),o.j=!1;for(t.i=Vt(Fr,ii,28,T,15,1),t.g=Vt(Fr,ii,28,T,15,1),t.n=new fe,s=0,A=new fe,m=new G(t.e.a);m.a<m.c.c.length;)d=u(et(m),125),d.d=s++,d.b.a.c.length==0&&ge(t.n,d),Hs(A,d.g);for(e=0,r=new G(A);r.a<r.c.c.length;)n=u(et(r),218),n.c=e++,n.f=!1;k=A.c.length,t.b==null||t.b.length<k?(t.b=Vt(ma,No,28,k,15,1),t.c=Vt(Fl,$0,28,k,16,1)):KC(t.c),t.d=A,t.p=new iit(zy(t.d.c.length)),t.j=1}function pTn(t,e){var n,r,s,o,h,d,m,k,T;if(!(e.e.c.length<=1)){for(t.f=e,t.d=u(X(t.f,(TO(),vCt)),391),t.g=u(X(t.f,ECt),17).a,t.e=Rt(Ht(X(t.f,yCt))),t.c=Rt(Ht(X(t.f,YU))),mee(t.b),s=new G(t.f.c);s.a<s.c.c.length;)r=u(et(s),289),Ckt(t.b,r.c,r,null),Ckt(t.b,r.d,r,null);for(d=t.f.e.c.length,t.a=G2(ma,[ue,No],[109,28],15,[d,d],2),k=new G(t.f.e);k.a<k.c.c.length;)m=u(et(k),153),z7n(t,m,t.a[m.a]);for(t.i=G2(ma,[ue,No],[109,28],15,[d,d],2),o=0;o<d;++o)for(h=0;h<d;++h)n=t.a[o][h],T=1/(n*n),t.i[o][h]=T}}function qge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(d=e.ah(),d||e.Ug(i2e,1),n=u(X(t,(oe(),Yft)),15),h=1/n.gc(),e._g())for(e.bh("ELK Layered uses the following "+n.gc()+" modules:"),$=0,P=n.Kc();P.Ob();)T=u(P.Pb(),47),r=($<10?"0":"")+$++,e.bh(" Slot "+r+": "+V2(Wl(T)));for(A=n.Kc();A.Ob();){if(T=u(A.Pb(),47),e.$g())return;T.Kf(t,e.eh(h))}for(o=new G(t.b);o.a<o.c.c.length;)s=u(et(o),30),Hs(t.a,s.a),s.a.c.length=0;for(k=new G(t.a);k.a<k.c.c.length;)m=u(et(k),10),Aa(m,null);t.b.c.length=0,d||e.Vg()}function bTn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(k=new fe,!qi(t,(oe(),Vft)))return k;for(r=u(X(t,Vft),15).Kc();r.Ob();)e=u(r.Pb(),10),OTn(e,t),In(k.c,e);for(o=new G(t.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(m=u(X(h,MG),10),m&&(T=new Yc,hc(T,h),A=u(X(h,Dc),64),Xs(T,A),P=u(Oe(m.j,0),12),$=new Pm,Xa($,T),xa($,P)));for(n=new G(k);n.a<n.c.c.length;)e=u(et(n),10),Aa(e,u(Oe(t.b,t.b.c.length-1),30));return k}function Hge(t,e,n){var r,s,o,h,d,m,k,T,A;for(A=new fe,T=new l3t(0,n),o=0,zq(T,new Tat(0,0,T,n)),s=0,k=new Zn(t);k.e!=k.i.gc();)m=u(ar(k),27),r=u(Oe(T.a,T.a.c.length-1),172),d=s+m.g+(u(Oe(T.a,0),172).b.c.length==0?0:n),(d>e||Ie(Me(ne(m,(fd(),yP)))))&&(s=0,o+=T.b+n,In(A.c,T),T=new l3t(o,n),r=new Tat(0,T.f,T,n),zq(T,r),s=0),r.b.c.length==0||!Ie(Me(ne(Ji(m),(fd(),fdt))))&&(m.f>=r.o&&m.f<=r.f||r.a*.5<=m.f&&r.a*1.5>=m.f)?O5t(r,m):(h=new Tat(r.s+r.r+n,T.f,T,n),zq(T,h),O5t(h,m)),s=m.i+m.g;return In(A.c,T),A}function R_(t){var e,n,r,s;if(!(t.b==null||t.b.length<=2)&&!t.a){for(e=0,s=0;s<t.b.length;){for(e!=s?(t.b[e]=t.b[s++],t.b[e+1]=t.b[s++]):s+=2,n=t.b[e+1];s<t.b.length&&!(n+1<t.b[s]);)if(n+1==t.b[s])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else if(n>=t.b[s+1])s+=2;else if(n<t.b[s+1])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else throw at(new uc("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[s]+","+t.b[s+1]+"]"));e+=2}e!=t.b.length&&(r=Vt(Fr,ii,28,e,15,1),Xc(t.b,0,r,0,e),t.b=r),t.a=!0}}function wTn(t,e){var n,r,s,o,h,d,m;for(h=U6(t.a).Kc();h.Ob();){if(o=u(h.Pb(),18),o.b.c.length>0)for(r=new fl(u(Ai(t.a,o),21)),mn(),Ds(r,new _M(e)),s=new La(o.b,0);s.b<s.d.gc();){switch(n=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),72)),d=-1,u(X(n,(De(),l0)),278).g){case 1:d=r.c.length-1;break;case 0:d=Tyn(r);break;case 2:d=0}d!=-1&&(m=(vn(d,r.c.length),u(r.c[d],249)),ge(m.b.b,n),u(X(Pa(m.b.c.i),(oe(),lu)),21).Fc((Co(),LT)),u(X(Pa(m.b.c.i),lu),21).Fc(AT),Kl(s),Zt(n,n_t,o))}Xa(o,null),xa(o,null)}}function mTn(t,e){var n,r,s,o;return n=new w0,r=u(nc(Wo(new ln(null,new gn(t.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),s=r.gc(),s=s==2?1:0,s==1&&vm(mO(u(nc(_i(r.Lc(),new Id),hce(Mg(0),new br)),168).a,2),0)&&(s=0),r=u(nc(Wo(new ln(null,new gn(e.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[w3,sc]))),21),o=r.gc(),o=o==2?1:0,o==1&&vm(mO(u(nc(_i(r.Lc(),new m0),hce(Mg(0),new br)),168).a,2),0)&&(o=0),s<o?-1:s==o?0:1}function Vge(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(e=ed(t),o=Ie(Me(ne(e,(De(),L3)))),T=0,s=0,k=new Zn((!t.e&&(t.e=new kn(Ts,t,7,4)),t.e));k.e!=k.i.gc();)m=u(ar(k),74),d=Zm(m),h=d&&o&&Ie(Me(ne(m,Mw))),P=Jo(u(Dt((!m.c&&(m.c=new kn(vr,m,5,8)),m.c),0),84)),d&&h?++s:d&&!h?++T:Ji(P)==e||P==e?++s:++T;for(r=new Zn((!t.d&&(t.d=new kn(Ts,t,8,5)),t.d));r.e!=r.i.gc();)n=u(ar(r),74),d=Zm(n),h=d&&o&&Ie(Me(ne(n,Mw))),A=Jo(u(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),84)),d&&h?++T:d&&!h?++s:Ji(A)==e||A==e?++T:++s;return T-s}function vTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(e.Ug("Edge splitting",1),t.b.c.length<=2){e.Vg();return}for(o=new La(t.b,0),h=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30));o.b<o.d.gc();)for(s=h,h=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30)),m=new G(s.a);m.a<m.c.c.length;)for(d=u(et(m),10),T=new G(d.j);T.a<T.c.c.length;)for(k=u(et(T),12),r=new G(k.g);r.a<r.c.c.length;)n=u(et(r),18),P=n.d,A=P.i.c,A!=s&&A!=h&&t0e(n,($=new Ig(t),y($,(Un(),fa)),Zt($,(oe(),Li),n),Zt($,(De(),bs),(ka(),hu)),Aa($,h),$));e.Vg()}function yTn(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(T=new fe,P=new Os,h=e.b,s=0;s<h.c.length;s++){for(k=(vn(s,h.c.length),u(h.c[s],30)).a,T.c.length=0,o=0;o<k.c.length;o++)d=t.a[s][o],d.p=o,d.k==(Un(),uu)&&In(T.c,d),Mh(u(Oe(e.b,s),30).a,o,d),d.j.c.length=0,Hs(d.j,u(u(Oe(t.b,s),15).Xb(o),16)),q6(u(X(d,(De(),bs)),101))||Zt(d,bs,(ka(),zw));for(r=new G(T);r.a<r.c.c.length;)n=u(et(r),10),A=Y8n(n),P.a.zc(A,P),P.a.zc(n,P)}for(m=P.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),mn(),Ds(d.j,(g7(),mSt)),d.i=!0,T6t(d)}function Uge(t){var e,n,r,s,o;return t.g!=null?t.g:t.a<32?(t.g=jCn(Pc(t.f),Ys(t.e)),t.g):(s=Oct((!t.c&&(t.c=DI(Pc(t.f))),t.c),0),t.e==0?s:(e=(!t.c&&(t.c=DI(Pc(t.f))),t.c).e<0?2:1,n=s.length,r=-t.e+n-e,o=new yb,o.a+=""+s,t.e>0&&r>=-6?r>=0?iI(o,n-Ys(t.e),String.fromCharCode(46)):(dat(o,e-1,e-1,"0."),iI(o,e+1,af(_w,0,-Ys(r)-1))):(n-e>=1&&(iI(o,e,String.fromCharCode(46)),++n),iI(o,n,String.fromCharCode(69)),r>0&&iI(o,++n,String.fromCharCode(43)),iI(o,++n,""+OS(Pc(r)))),t.g=o.a,t.g))}function xTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;r=Rt(Ht(X(e,(De(),sAt)))),Wt=u(X(e,$A),17).a,P=4,s=3,se=20/Wt,$=!1,m=0,h=xi;do{for(o=m!=1,A=m!=0,Ce=0,tt=t.a,Tt=0,Bt=tt.length;Tt<Bt;++Tt)U=tt[Tt],U.f=null,cCn(t,U,o,A,r),Ce+=b.Math.abs(U.a);do d=YEn(t,e);while(d);for(J=t.a,ht=0,At=J.length;ht<At;++ht)if(U=J[ht],n=myt(U).a,n!=0)for(T=new G(U.e);T.a<T.c.c.length;)k=u(et(T),10),k.n.b+=n;m==0||m==1?(--P,P<=0&&(Ce<h||-P>Wt)?(m=2,h=xi):m==0?(m=1,h=Ce):(m=0,h=Ce)):($=Ce>=h||h-Ce<se,h=Ce,$&&--s)}while(!($&&s<=0))}function Cct(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(U=new _r,o=t.a.ec().Kc();o.Ob();)r=u(o.Pb(),177),hi(U,r,n.af(r));for(h=(Hr(t),t?new fl(t):DE(t.a.ec().Kc())),Ds(h,new Zj(U)),d=gq(h),m=new iz(e),$=new _r,yu($.f,e,m);d.a.gc()!=0;){for(k=null,T=null,A=null,s=d.a.ec().Kc();s.Ob();)if(r=u(s.Pb(),177),Rt(Ht(Ko(Eo(U.f,r))))<=Zi){if(Tu($,r.a)&&!Tu($,r.b)){T=r.b,A=r.a,k=r;break}if(Tu($,r.b)&&!Tu($,r.a)){T=r.a,A=r.b,k=r;break}}if(!k)break;P=new iz(T),ge(u(Ko(Eo($.f,A)),225).a,P),yu($.f,T,P),d.a.Bc(k)!=null}return m}function kTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;for(n.Ug("Depth-first cycle removal",1),A=e.a,T=A.c.length,t.c=new fe,t.d=Vt(Fl,$0,28,T,16,1),t.a=Vt(Fl,$0,28,T,16,1),t.b=new fe,h=0,k=new G(A);k.a<k.c.c.length;)m=u(et(k),10),m.p=h,HE(ua(m))&&ge(t.c,m),++h;for($=new G(t.c);$.a<$.c.c.length;)P=u(et($),10),m6t(t,P);for(o=0;o<T;o++)t.d[o]||(d=(vn(o,A.c.length),u(A.c[o],10)),m6t(t,d));for(s=new G(t.b);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0),Zt(e,(oe(),tP),(Pn(),!0));t.c=null,t.d=null,t.a=null,t.b=null,n.Vg()}function ETn(t,e){w5();var n,r,s,o,h,d;return o=e.c-(t.c+t.b),s=t.c-(e.c+e.b),h=t.d-(e.d+e.a),n=e.d-(t.d+t.a),r=b.Math.max(s,o),d=b.Math.max(h,n),Z1(),$f(s0),(b.Math.abs(r)<=s0||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:ym(isNaN(r),isNaN(0)))>=0^($f(s0),(b.Math.abs(d)<=s0||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:ym(isNaN(d),isNaN(0)))>=0)?b.Math.max(d,r):($f(s0),(b.Math.abs(r)<=s0||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:ym(isNaN(r),isNaN(0)))>0?b.Math.sqrt(d*d+r*r):-b.Math.sqrt(d*d+r*r))}function gw(t,e){var n,r,s,o,h,d;if(e){if(!t.a&&(t.a=new u$),t.e==2){c$(t.a,e);return}if(e.e==1){for(s=0;s<e.Pm();s++)gw(t,e.Lm(s));return}if(d=t.a.a.c.length,d==0){c$(t.a,e);return}if(h=u(Im(t.a,d-1),122),!((h.e==0||h.e==10)&&(e.e==0||e.e==10))){c$(t.a,e);return}o=e.e==0?2:e.Mm().length,h.e==0?(n=new YC,r=h.Km(),r>=po?Mo(n,I5t(r)):PE(n,r&js),h=new lst(10,null,0),sln(t.a,h,d-1)):(n=(h.Mm().length+o,new YC),Mo(n,h.Mm())),e.e==0?(r=e.Km(),r>=po?Mo(n,I5t(r)):PE(n,r&js)):Mo(n,e.Mm()),u(h,530).b=n.a}}function TTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(!n.dc()){for(d=0,P=0,r=n.Kc(),U=u(r.Pb(),17).a;d<e.f;){if(d==U&&(P=0,r.Ob()?U=u(r.Pb(),17).a:U=e.f+1),d!=P){for(tt=u(Oe(t.b,d),30),$=u(Oe(t.b,P),30),J=Rm(tt.a),A=new G(J);A.a<A.c.c.length;)if(T=u(et(A),10),Xy(T,$.a.c.length,$),P==0)for(h=Rm(ua(T)),o=new G(h);o.a<o.c.c.length;)s=u(et(o),18),nv(s,!0),Zt(t,(oe(),tP),(Pn(),!0)),Xge(t,s,1)}++P,++d}for(m=new La(t.b,0);m.b<m.d.gc();)k=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),30)),k.a.c.length==0&&Kl(m)}}function CTn(t,e,n){var r,s,o;if(s=u(X(e,(De(),PG)),282),s!=(M7(),AA)){switch(n.Ug("Horizontal Compaction",1),t.a=e,o=new Cae,r=new $1e((o.d=e,o.c=u(X(o.d,zg),223),b8n(o),E9n(o),T8n(o),o.a)),hrn(r,t.b),u(X(e,P_t),431).g){case 1:TWt(r,new Xoe(t.a));break;default:TWt(r,(Wyt(),yye))}switch(s.g){case 1:__(r);break;case 2:__(bV(r,(Rs(),tc)));break;case 3:__(CWt(bV(__(r),(Rs(),tc)),new nR));break;case 4:__(CWt(bV(__(r),(Rs(),tc)),new YVt(o)));break;case 5:__(lrn(r,M4e))}bV(r,(Rs(),Uo)),r.e=!0,J9n(o),n.Vg()}}function STn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(h=e.b,T=h.o,m=h.d,r=Rt(Ht(SH(h,(De(),Yf)))),s=Rt(Ht(SH(h,Y5))),k=Rt(Ht(SH(h,h1t))),d=new qnt,Vvt(d,m.d,m.c,m.a,m.b),P=F8n(e,r,s,k),ht=new G(e.d);ht.a<ht.c.c.length;){for(tt=u(et(ht),105),U=tt.f.a.ec().Kc();U.Ob();)$=u(U.Pb(),340),o=$.a,A=b3n($),n=(Tt=new Qu,gfe($,$.c,P,Tt),H3n($,A,P,Tt),gfe($,$.d,P,Tt),Tt),n=t.ng($,A,n),nh(o.a),Ma(o.a,n),ms(new ln(null,new gn(n,16)),new vXt(T,d));J=tt.i,J&&(i3n(tt,J,P,s),At=new io(J.g),rxt(T,d,At),ki(At,J.j),rxt(T,d,At))}Vvt(m,d.d,d.c,d.a,d.b)}function _Tn(t,e,n,r,s,o,h,d){var m,k,T,A;switch(m=id(lt(ut(m_n,1),Ln,238,0,[e,n,r,s])),A=null,t.b.g){case 1:A=id(lt(ut(EDt,1),Ln,535,0,[new ZD,new B2,new z8]));break;case 0:A=id(lt(ut(EDt,1),Ln,535,0,[new z8,new B2,new ZD]));break;case 2:A=id(lt(ut(EDt,1),Ln,535,0,[new B2,new ZD,new z8]))}for(T=new G(A);T.a<T.c.c.length;)k=u(et(T),535),m.c.length>1&&(m=k.Hg(m,t.a,d));return m.c.length==1?u(Oe(m,m.c.length-1),238):m.c.length==2?dTn((vn(0,m.c.length),u(m.c[0],238)),(vn(1,m.c.length),u(m.c[1],238)),h,o):null}function ATn(t,e,n){var r,s,o,h,d,m,k;for(n.Ug("Find roots",1),t.a.c.length=0,s=Dr(e.b,0);s.b!=s.d.c;)r=u(Ar(s),39),r.b.b==0&&(Zt(r,(ji(),u2),(Pn(),!0)),ge(t.a,r));switch(t.a.c.length){case 0:o=new Eat(0,e,"DUMMY_ROOT"),Zt(o,(ji(),u2),(Pn(),!0)),Zt(o,F1t,!0),Zr(e.b,o);break;case 1:break;default:for(h=new Eat(0,e,nU),m=new G(t.a);m.a<m.c.c.length;)d=u(et(m),39),k=new Kyt(h,d),Zt(k,(ji(),F1t),(Pn(),!0)),Zr(h.a.a,k),Zr(h.d,k),Zr(d.b,k),Zt(d,u2,!1);Zt(h,(ji(),u2),(Pn(),!0)),Zt(h,F1t,!0),Zr(e.b,h)}n.Vg()}function Gge(t){var e,n,r,s,o,h;for(Cu(t.a,new to),n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),225),r=ia(Oa(u(t.b,68).c),u(e.b,68).c),s3e?(h=u(t.b,68).b,o=u(e.b,68).b,b.Math.abs(r.a)>=b.Math.abs(r.b)?(r.b=0,o.d+o.a>h.d&&o.d<h.d+h.a&&xz(r,b.Math.max(h.c-(o.c+o.b),o.c-(h.c+h.b)))):(r.a=0,o.c+o.b>h.c&&o.c<h.c+h.b&&xz(r,b.Math.max(h.d-(o.d+o.a),o.d-(h.d+h.a))))):xz(r,bge(u(t.b,68),u(e.b,68))),s=b.Math.sqrt(r.a*r.a+r.b*r.b),s=ufe(kA,e,s,r),xz(r,s),Iit(u(e.b,68),r),Cu(e.a,new t$(r)),u(kA.b,68),V3t(kA,eCt,e)}function LTn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;for(t.f=new znt,k=0,s=0,h=new G(t.e.b);h.a<h.c.c.length;)for(o=u(et(h),30),m=new G(o.a);m.a<m.c.c.length;){for(d=u(et(m),10),d.p=k++,r=new rr(sr(_s(d).a.Kc(),new z));Mr(r);)n=u(dr(r),18),n.p=s++;for(e=kct(d),P=new G(d.j);P.a<P.c.c.length;)A=u(et(P),12),e&&(U=A.a.b,U!=b.Math.floor(U)&&(T=U-tw(Pc(b.Math.round(U))),A.a.b-=T)),$=A.n.b+A.a.b,$!=b.Math.floor($)&&(T=$-tw(Pc(b.Math.round($))),A.n.b-=T)}t.g=k,t.b=s,t.i=Vt(g_n,Ln,412,k,0,1),t.c=Vt(d_n,Ln,655,s,0,1),t.d.a.$b()}function Ir(t){var e,n,r,s,o,h,d,m,k;if(t.Pj())if(m=t.Qj(),t.i>0){if(e=new dmt(t.i,t.g),n=t.i,o=n<100?null:new xb(n),t.Tj())for(r=0;r<t.i;++r)h=t.g[r],o=t.Vj(h,o);if(KS(t),s=n==1?t.Ij(4,Dt(e,0),null,0,m):t.Ij(6,e,null,-1,m),t.Mj()){for(r=new $6(e);r.e!=r.i.gc();)o=t.Oj(sot(r),o);o?(o.nj(s),o.oj()):t.Jj(s)}else o?(o.nj(s),o.oj()):t.Jj(s)}else KS(t),t.Jj(t.Ij(6,(mn(),co),null,-1,m));else if(t.Mj())if(t.i>0){for(d=t.g,k=t.i,KS(t),o=k<100?null:new xb(k),r=0;r<k;++r)h=d[r],o=t.Oj(h,o);o&&o.oj()}else KS(t);else KS(t)}function Vkt(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(Cce(this),n==(Bm(),c2)?qs(this.r,t):qs(this.w,t),T=Zi,k=Vs,h=e.a.ec().Kc();h.Ob();)s=u(h.Pb(),42),d=u(s.a,464),r=u(s.b,18),m=r.c,m==t&&(m=r.d),d==c2?qs(this.r,m):qs(this.w,m),P=(ve(),Gu).Hc(m.j)?Rt(Ht(X(m,(oe(),MT)))):dc(lt(ut(la,1),ue,8,0,[m.i.n,m.n,m.a])).b,T=b.Math.min(T,P),k=b.Math.max(k,P);for(A=(ve(),Gu).Hc(t.j)?Rt(Ht(X(t,(oe(),MT)))):dc(lt(ut(la,1),ue,8,0,[t.i.n,t.n,t.a])).b,Ife(this,A,T,k),o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),42),qfe(this,u(s.b,18));this.o=!1}function DTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;return n=t.l&8191,r=t.l>>13|(t.m&15)<<9,s=t.m>>4&8191,o=t.m>>17|(t.h&255)<<5,h=(t.h&1048320)>>8,d=e.l&8191,m=e.l>>13|(e.m&15)<<9,k=e.m>>4&8191,T=e.m>>17|(e.h&255)<<5,A=(e.h&1048320)>>8,rn=n*d,Ze=r*d,On=s*d,Dn=o*d,er=h*d,m!=0&&(Ze+=n*m,On+=r*m,Dn+=s*m,er+=o*m),k!=0&&(On+=n*k,Dn+=r*k,er+=s*k),T!=0&&(Dn+=n*T,er+=r*T),A!=0&&(er+=n*A),$=rn&Il,U=(Ze&511)<<13,P=$+U,tt=rn>>22,ht=Ze>>9,Tt=(On&262143)<<4,At=(Dn&31)<<17,J=tt+ht+Tt+At,Wt=On>>18,se=Dn>>5,Ce=(er&4095)<<8,Bt=Wt+se+Ce,J+=P>>22,P&=Il,Bt+=J>>22,J&=Il,Bt&=Fg,Eu(P,J,Bt)}function Kge(t){var e,n,r,s,o,h,d;if(d=u(Oe(t.j,0),12),d.g.c.length!=0&&d.e.c.length!=0)throw at(new Ro("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(o=Zi,n=new G(d.g);n.a<n.c.c.length;)e=u(et(n),18),h=e.d.i,r=u(X(h,(De(),HG)),140),o=b.Math.min(o,h.n.a-r.b);return new FC(Hr(o))}if(d.e.c.length!=0){for(s=Vs,n=new G(d.e);n.a<n.c.c.length;)e=u(et(n),18),h=e.c.i,r=u(X(h,(De(),HG)),140),s=b.Math.max(s,h.n.a+h.o.a+r.c);return new FC(Hr(s))}return UC(),UC(),yht}function Wge(t,e){var n,r,s,o,h,d,m;if(t.ol()){if(t.i>4)if(t.fk(e)){if(t.al()){if(s=u(e,54),r=s.Eh(),m=r==t.e&&(t.ml()?s.yh(s.Fh(),t.il())==t.jl():-1-s.Fh()==t.Lj()),t.nl()&&!m&&!r&&s.Jh()){for(o=0;o<t.i;++o)if(n=t.pl(u(t.g[o],58)),$t(n)===$t(e))return!0}return m}else if(t.ml()&&!t.ll()){if(h=u(e,58).Mh(yo(u(t.Lk(),19))),$t(h)===$t(t.e))return!0;if(h==null||!u(h,58).Vh())return!1}}else return!1;if(d=L7(t,e),t.nl()&&!d){for(o=0;o<t.i;++o)if(s=t.pl(u(t.g[o],58)),$t(s)===$t(e))return!0}return d}else return L7(t,e)}function MTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(n.Ug("Interactive cycle breaking",1),A=new fe,$=new G(e.a);$.a<$.c.c.length;)for(P=u(et($),10),P.p=1,U=Fxt(P).a,T=Ym(P,(To(),ku)).Kc();T.Ob();)for(k=u(T.Pb(),12),o=new G(k.g);o.a<o.c.c.length;)r=u(et(o),18),J=r.d.i,J!=P&&(tt=Fxt(J).a,tt<U&&In(A.c,r));for(h=new G(A);h.a<h.c.c.length;)r=u(et(h),18),nv(r,!0);for(A.c.length=0,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p>0&&Kfe(t,d,A);for(s=new G(A);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0);A.c.length=0,n.Vg()}function ITn(t,e){var n,r,s,o,h,d,m,k,T;for(n=0,T=new fe,d=new G(e);d.a<d.c.c.length;){switch(h=u(et(d),12),c5t(t.b,t.d[h.p]),T.c.length=0,h.i.k.g){case 0:r=u(X(h,(oe(),ml)),10),Cu(r.j,new _Ut(T));break;case 1:Gin(f7(_i(new ln(null,new gn(h.i.j,16)),new AUt(h))),new LUt(T));break;case 3:s=u(X(h,(oe(),Li)),12),ge(T,new Ws(s,he(h.e.c.length+h.g.c.length)))}for(k=new G(T);k.a<k.c.c.length;)m=u(et(k),42),o=Cwt(t,u(m.a,12)),o>t.d[h.p]&&(n+=C3t(t.b,o)*u(m.b,17).a,Ob(t.a,he(o)));for(;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function OTn(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=u(X(t,(oe(),Dc)),64),r=u(Oe(t.j,0),12),T==(ve(),Hn)?Xs(r,Er):T==Er&&Xs(r,Hn),u(X(e,(De(),Ow)),181).Hc((Yl(),qw))){if(m=Rt(Ht(X(t,FT))),k=Rt(Ht(X(t,BT))),h=Rt(Ht(X(t,O3))),d=u(X(e,M3),21),d.Hc((wl(),Hg)))for(n=k,A=t.o.a/2-r.n.a,o=new G(r.f);o.a<o.c.c.length;)s=u(et(o),72),s.n.b=n,s.n.a=A-s.o.a/2,n+=s.o.b+h;else if(d.Hc(g2))for(o=new G(r.f);o.a<o.c.c.length;)s=u(et(o),72),s.n.a=m+t.o.a-r.n.a;s1n(new RC((JC(),new tst(e,!1,!1,new G9))),new mz(null,t,!1))}}function NTn(t,e){var n,r,s,o,h,d,m,k,T;if(e.c.length!=0){for(mn(),Mit(e.c,e.c.length,null),s=new G(e),r=u(et(s),154);s.a<s.c.c.length;)n=u(et(s),154),u4t(r.e.c,n.e.c)&&!(J5t(aZt(r.e).b,n.e.d)||J5t(aZt(n.e).b,r.e.d))?r=(Hs(r.k,n.k),Hs(r.b,n.b),Hs(r.c,n.c),Ma(r.i,n.i),Hs(r.d,n.d),Hs(r.j,n.j),o=b.Math.min(r.e.c,n.e.c),h=b.Math.min(r.e.d,n.e.d),d=b.Math.max(r.e.c+r.e.b,n.e.c+n.e.b),m=d-o,k=b.Math.max(r.e.d+r.e.a,n.e.d+n.e.a),T=k-h,hte(r.e,o,h,m,T),i1n(r.f,n.f),!r.a&&(r.a=n.a),Hs(r.g,n.g),ge(r.g,n),r):(oge(t,r),r=n);oge(t,r)}}function PTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(m=new fe,o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),d=new G(s.j);d.a<d.c.c.length;){for(h=u(et(d),12),T=null,At=Kd(h.g),Bt=0,Wt=At.length;Bt<Wt;++Bt)Tt=At[Bt],a7(Tt.d.i,n)||(ht=Ect(t,e,n,Tt,Tt.c,(To(),ku),T),ht!=T&&In(m.c,ht),ht.c&&(T=ht));for(k=null,U=Kd(h.e),J=0,tt=U.length;J<tt;++J)$=U[J],a7($.c.i,n)||(ht=Ect(t,e,n,$,$.d,(To(),vl),k),ht!=k&&In(m.c,ht),ht.c&&(k=ht))}for(P=new G(m);P.a<P.c.c.length;)A=u(et(P),452),Xo(e.a,A.a,0)!=-1||ge(e.a,A.a),A.c&&In(r.c,A)}function FTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;for(A=new io(u(ne(t,(VH(),lMt)),8)),A.a=b.Math.max(A.a-n.b-n.c,0),A.b=b.Math.max(A.b-n.d-n.a,0),s=Ht(ne(t,oMt)),(s==null||(Wn(s),s<=0))&&(s=1.3),d=new fe,U=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));U.e!=U.i.gc();)$=u(ar(U),27),h=new QJt($),In(d.c,h);switch(P=u(ne(t,Adt),320),P.g){case 3:tt=kEn(d,e,A.a,A.b,(k=r,Wn(s),k));break;case 1:tt=f7n(d,e,A.a,A.b,(T=r,Wn(s),T));break;default:tt=RTn(d,e,A.a,A.b,(m=r,Wn(s),m))}o=new Fq(tt),J=Mct(o,e,n,A.a,A.b,r,(Wn(s),s)),rv(t,J.a,J.b,!1,!0)}function BTn(t,e,n,r){var s,o,h,d,m,k;if(d=t.j,d==(ve(),bc)&&e!=(ka(),Td)&&e!=(ka(),d2)&&(d=nge(t,n),Xs(t,d),!(t.q?t.q:(mn(),mn(),q0))._b((De(),D3))&&d!=bc&&(t.n.a!=0||t.n.b!=0)&&Zt(t,D3,Bvn(t,d))),e==(ka(),Y0)){switch(k=0,d.g){case 1:case 3:o=t.i.o.a,o>0&&(k=t.n.a/o);break;case 2:case 4:s=t.i.o.b,s>0&&(k=t.n.b/s)}Zt(t,(oe(),xv),k)}if(m=t.o,h=t.a,r)h.a=r.a,h.b=r.b,t.d=!0;else if(e!=Td&&e!=d2&&d!=bc)switch(d.g){case 1:h.a=m.a/2;break;case 2:h.a=m.a,h.b=m.b/2;break;case 3:h.a=m.a/2,h.b=m.b;break;case 4:h.b=m.b/2}else h.a=m.a/2,h.b=m.b/2}function j_(t){var e,n,r,s,o,h,d,m,k,T;if(t.Pj())if(T=t.Ej(),m=t.Qj(),T>0)if(e=new B4t(t.pj()),n=T,o=n<100?null:new xb(n),uI(t,n,e.g),s=n==1?t.Ij(4,Dt(e,0),null,0,m):t.Ij(6,e,null,-1,m),t.Mj()){for(r=new Zn(e);r.e!=r.i.gc();)o=t.Oj(ar(r),o);o?(o.nj(s),o.oj()):t.Jj(s)}else o?(o.nj(s),o.oj()):t.Jj(s);else uI(t,t.Ej(),t.Fj()),t.Jj(t.Ij(6,(mn(),co),null,-1,m));else if(t.Mj())if(T=t.Ej(),T>0){for(d=t.Fj(),k=T,uI(t,T,d),o=k<100?null:new xb(k),r=0;r<k;++r)h=d[r],o=t.Oj(h,o);o&&o.oj()}else uI(t,t.Ej(),t.Fj());else uI(t,t.Ej(),t.Fj())}function RTn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt;for(d=Vt(ma,No,28,t.c.length,15,1),P=new Rz(new G8),xxt(P,t),k=0,J=new fe;P.b.c.length!=0;)if(h=u(P.b.c.length==0?null:Oe(P.b,0),163),k>1&&tl(h)*Gl(h)/2>d[0]){for(o=0;o<J.c.length-1&&tl(h)*Gl(h)/2>d[o];)++o;U=new xp(J,0,o+1),A=new Fq(U),T=tl(h)/Gl(h),m=Mct(A,e,new C6,n,r,s,T),ki(k1(A.e),m),V6(D7(P,A),X7),$=new xp(J,o+1,J.c.length),xxt(P,$),J.c.length=0,k=0,Kte(d,d.length,0)}else tt=P.b.c.length==0?null:Oe(P.b,0),tt!=null&&sat(P,0),k>0&&(d[k]=d[k-1]),d[k]+=tl(h)*Gl(h),++k,In(J.c,h);return J}function jTn(t,e){var n,r,s,o;n=e.b,o=new fl(n.j),s=0,r=n.j,r.c.length=0,Am(u(iw(t.b,(ve(),Hn),(Vm(),mv)),15),n),s=xO(o,s,new am,r),Am(u(iw(t.b,Hn,r2),15),n),s=xO(o,s,new bJ,r),Am(u(iw(t.b,Hn,wv),15),n),Am(u(iw(t.b,Jn,mv),15),n),Am(u(iw(t.b,Jn,r2),15),n),s=xO(o,s,new lR,r),Am(u(iw(t.b,Jn,wv),15),n),Am(u(iw(t.b,Er,mv),15),n),s=xO(o,s,new hR,r),Am(u(iw(t.b,Er,r2),15),n),s=xO(o,s,new fR,r),Am(u(iw(t.b,Er,wv),15),n),Am(u(iw(t.b,Gn,mv),15),n),s=xO(o,s,new aR,r),Am(u(iw(t.b,Gn,r2),15),n),Am(u(iw(t.b,Gn,wv),15),n)}function $Tn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;for(d=new G(e);d.a<d.c.c.length;)o=u(et(d),239),o.e=null,o.c=0;for(m=null,h=new G(e);h.a<h.c.c.length;)if(o=u(et(h),239),A=o.d[0],!(n&&A.k!=(Un(),xs))){for($=u(X(A,(oe(),Uk)),15).Kc();$.Ob();)P=u($.Pb(),10),(!n||P.k==(Un(),xs))&&((!o.e&&(o.e=new fe),o.e).Fc(t.b[P.c.p][P.p]),++t.b[P.c.p][P.p].c);if(!n&&A.k==(Un(),xs)){if(m)for(T=u(Ai(t.d,m),21).Kc();T.Ob();)for(k=u(T.Pb(),10),s=u(Ai(t.d,A),21).Kc();s.Ob();)r=u(s.Pb(),10),Ucn(t.b[k.c.p][k.p]).Fc(t.b[r.c.p][r.p]),++t.b[r.c.p][r.p].c;m=A}}}function zTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(n.Ug("Model order cycle breaking",1),t.a=0,t.b=0,$=new fe,T=e.a.c.length,k=new G(e.a);k.a<k.c.c.length;)m=u(et(k),10),qi(m,(oe(),Pi))&&(T=b.Math.max(T,u(X(m,Pi),17).a+1));for(J=new G(e.a);J.a<J.c.c.length;)for(U=u(et(J),10),h=r1e(t,U,T),P=Ym(U,(To(),ku)).Kc();P.Ob();)for(A=u(P.Pb(),12),o=new G(A.g);o.a<o.c.c.length;)r=u(et(o),18),tt=r.d.i,d=r1e(t,tt,T),d<h&&In($.c,r);for(s=new G($);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0),Zt(e,(oe(),tP),(Pn(),!0));$.c.length=0,n.Vg()}function Yge(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(h=e.d,d=n.d;h.a-d.a==0&&h.b-d.b==0;)m=!1,Lt(e,250)&&Lt(n,250)&&!m?(k=u(e,250).a,T=ia(new io(b4t(k)),p4t(k)),r=2,s=new ae(T.a/b.Math.sqrt(T.a*T.a+T.b*T.b)*r,-T.b/b.Math.sqrt(T.a*T.a+T.b*T.b)*r),ki(h,s),A=u(n,250).a,P=ia(new io(b4t(A)),p4t(A)),r=T==P?-2:2,o=new ae(P.a/b.Math.sqrt(P.a*P.a+P.b*P.b)*r,-(P.b/b.Math.sqrt(P.a*P.a+P.b*P.b))*r),ki(h,o),m=!0):(h.a+=Dl(t,26)*q_+Dl(t,27)*H_-.5,h.b+=Dl(t,26)*q_+Dl(t,27)*H_-.5,d.a+=Dl(t,26)*q_+Dl(t,27)*H_-.5,d.b+=Dl(t,26)*q_+Dl(t,27)*H_-.5)}function qTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(k=v4n(e),J=u(X(e,(De(),FA)),322),Fa(k,new n$(J)),tt=u(X(e,iP),298),Fa(k,new Pnt(tt)),U=0,T=new fe,o=new $S(k);o.a!=o.b;)s=u(cH(o),36),ope(t.c,s),P=u(X(s,(oe(),Yft)),15),U+=P.gc(),r=P.Kc(),ge(T,new Ws(s,r));for(n.Ug("Recursive hierarchical layout",U),$=u(u(Oe(T,T.c.length-1),42).b,51);$.Ob();)for(m=new G(T);m.a<m.c.c.length;)for(d=u(et(m),42),P=u(d.b,51),h=u(d.a,36);P.Ob();)if(A=u(P.Pb(),47),Lt(A,514)){if(h.e)break;A.Kf(h,n.eh(1));break}else A.Kf(h,n.eh(1));n.Vg()}function HTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(e.Ug("Layer size calculation",1),T=Zi,k=Vs,s=!1,d=new G(t.b);d.a<d.c.c.length;)if(h=u(et(d),30),m=h.c,m.a=0,m.b=0,h.a.c.length!=0){for(s=!0,P=new G(h.a);P.a<P.c.c.length;)A=u(et(P),10),U=A.o,$=A.d,m.a=b.Math.max(m.a,U.a+$.b+$.c);r=u(Oe(h.a,0),10),J=r.n.b-r.d.d,r.k==(Un(),Ms)&&(J-=u(X(t,(De(),oP)),140).d),o=u(Oe(h.a,h.a.c.length-1),10),n=o.n.b+o.o.b+o.d.a,o.k==Ms&&(n+=u(X(t,(De(),oP)),140).a),m.b=n-J,T=b.Math.min(T,J),k=b.Math.max(k,n)}s||(T=0,k=0),t.f.b=k-T,t.c.b-=T,e.Vg()}function Ukt(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(o=0,h=0,k=new G(t.a);k.a<k.c.c.length;)d=u(et(k),10),o=b.Math.max(o,d.d.b),h=b.Math.max(h,d.d.c);for(m=new G(t.a);m.a<m.c.c.length;){switch(d=u(et(m),10),n=u(X(d,(De(),u0)),255),n.g){case 1:U=0;break;case 2:U=1;break;case 5:U=.5;break;default:for(r=0,A=0,$=new G(d.j);$.a<$.c.c.length;)P=u(et($),12),P.e.c.length==0||++r,P.g.c.length==0||++A;r+A==0?U=.5:U=A/(r+A)}tt=t.c,T=d.o.a,ht=(tt.a-T)*U,U>.5?ht-=h*2*(U-.5):U<.5&&(ht+=o*2*(.5-U)),s=d.d.b,ht<s&&(ht=s),J=d.d.c,ht>tt.a-J-T&&(ht=tt.a-J-T),d.n.a=e+ht}}function VTn(t){var e,n,r,s,o;if(r=u(X(t,(De(),Iu)),171),r==(Rh(),s2)){for(n=new rr(sr(ua(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!ose(e))throw at(new fp(zut+EO(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(r==S3){for(o=new rr(sr(_s(t).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!ose(s))throw at(new fp(zut+EO(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function XO(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(t.e&&t.c.c<t.f)throw at(new Ro("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(T=u(y1(t.g),9),$=C0(t.f),o=T,d=0,k=o.length;d<k;++d)r=o[d],A=u(UI(t,r.g),188),A?ge($,u(ele(t,A),106)):$.c.push(null);for(U=new Fs,ms(_i(Wo(_i(new ln(null,new gn($,16)),new ap),new uGt(e)),new a6),new lGt(U)),ch(U,t.a),n=new fe,s=T,h=0,m=s.length;h<m;++h)r=s[h],Hs(n,Fce(t,Zz(u(UI(U,r.g),20)))),P=u(Oe($,r.g),106),P&&In(n.c,P);return Hs(n,Fce(t,Zz(u(UI(U,T[T.length-1].g+1),20)))),n}function UTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(P=new fe,s=new fe,J=null,d=e.Kc();d.Ob();)h=u(d.Pb(),17),o=new wUt(h.a),In(s.c,o),J&&(o.d=J,J.e=o),J=o;for(At=m7n(t),T=0;T<s.c.length;++T){for($=null,tt=$3t((vn(0,s.c.length),u(s.c[0],661))),n=null,r=Zi,A=1;A<t.b.c.length;++A)ht=tt?b.Math.abs(tt.b-A):b.Math.abs(A-$.b)+1,U=$?b.Math.abs(A-$.b):ht+1,U<ht?(k=$,m=U):(k=tt,m=ht),Tt=(Bt=Rt(Ht(X(t,(De(),vAt)))),At[A]+b.Math.pow(m,Bt)),Tt<r&&(r=Tt,n=k,n.c=A),tt&&A==tt.b&&($=tt,tt=tln(tt));n&&(ge(P,he(n.c)),n.a=!0,g2n(n))}return mn(),Mit(P.c,P.c.length,null),P}function Gkt(t,e,n){var r,s,o,h,d,m;if(e.l==0&&e.m==0&&e.h==0)throw at(new f$("divide by zero"));if(t.l==0&&t.m==0&&t.h==0)return n&&(Zb=Eu(0,0,0)),Eu(0,0,0);if(e.h==aN&&e.m==0&&e.l==0)return j2n(t,n);if(m=!1,e.h>>19&&(e=h7(e),m=!m),h=A6n(e),o=!1,s=!1,r=!1,t.h==aN&&t.m==0&&t.l==0)if(s=!0,o=!0,h==-1)t=OQt((WE(),a9t)),r=!0,m=!m;else return d=H6t(t,h),m&&kat(d),n&&(Zb=Eu(0,0,0)),d;else t.h>>19&&(o=!0,t=h7(t),r=!0,m=!m);return h!=-1?rbn(t,h,m,o,n):Lxt(t,e)<0?(n&&(o?Zb=h7(t):Zb=Eu(t.l,t.m,t.h)),Eu(0,0,0)):SEn(r?t:Eu(t.l,t.m,t.h),e,m,o,s,n)}function Sct(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(h=t.e,m=e.e,h==0)return e;if(m==0)return t;if(o=t.d,d=e.d,o+d==2)return n=sa(t.a[0],So),r=sa(e.a[0],So),h==m?(T=Qa(n,r),U=qr(T),$=qr(Ab(T,32)),$==0?new kg(h,U):new Y2(h,2,lt(ut(Fr,1),ii,28,15,[U,$]))):(Xd(),J$(h<0?sf(r,n):sf(n,r),0)?zb(h<0?sf(r,n):sf(n,r)):FS(zb(Cp(h<0?sf(r,n):sf(n,r)))));if(h==m)P=h,A=o>=d?Pst(t.a,o,e.a,d):Pst(e.a,d,t.a,o);else{if(s=o!=d?o>d?1:-1:o5t(t.a,e.a,o),s==0)return Xd(),yA;s==1?(P=h,A=Ost(t.a,o,e.a,d)):(P=m,A=Ost(e.a,d,t.a,o))}return k=new Y2(P,A.length,A),qS(k),k}function GTn(t,e){var n,r,s,o,h,d,m;if(!(t.g>e.f||e.g>t.f)){for(n=0,r=0,h=t.w.a.ec().Kc();h.Ob();)s=u(h.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++n;for(d=t.r.a.ec().Kc();d.Ob();)s=u(d.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--n;for(m=e.w.a.ec().Kc();m.Ob();)s=u(m.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++r;for(o=e.r.a.ec().Kc();o.Ob();)s=u(o.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--r;n<r?new vq(t,e,r-n):r<n?new vq(e,t,n-r):(new vq(e,t,0),new vq(t,e,0))}}function KTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(k=e.c,s=Smt(t.e),A=qd(CS(Oa(Cmt(t.e)),t.d*t.a,t.c*t.b),-.5),n=s.a-A.a,r=s.b-A.b,h=e.a,n=h.c-n,r=h.d-r,m=new G(k);m.a<m.c.c.length;){switch(d=u(et(m),407),P=d.b,$=n+P.a,tt=r+P.b,U=Ys($/t.a),ht=Ys(tt/t.b),o=d.a,o.g){case 0:T=(dk(),$N);break;case 1:T=(dk(),jN);break;case 2:T=(dk(),zN);break;default:T=(dk(),qN)}o.a?(Tt=Ys((tt+d.c)/t.b),ge(t.f,new Dvt(T,he(ht),he(Tt))),o==(m_(),VN)?l7(t,0,ht,U,Tt):l7(t,U,ht,t.d-1,Tt)):(J=Ys(($+d.c)/t.a),ge(t.f,new Dvt(T,he(U),he(J))),o==(m_(),HN)?l7(t,U,0,J,ht):l7(t,U,ht,J,t.c-1))}}function WTn(t){var e,n,r,s,o,h,d,m,k,T;for(e=new oM,n=new oM,k=hn(DN,(s=O_(t.b,ti),s?Gr(L1((!s.b&&(s.b=new Ul((wn(),wo),Mc,s)),s.b),lf)):null)),m=0;m<t.i;++m)d=u(t.g[m],179),Lt(d,102)?(h=u(d,19),h.Bb&Fc?(!(h.Bb&Jd)||!k&&(o=O_(h,ti),(o?Gr(L1((!o.b&&(o.b=new Ul((wn(),wo),Mc,o)),o.b),fU)):null)==null))&&Or(e,h):(T=yo(h),T&&T.Bb&Fc||(!(h.Bb&Jd)||!k&&(r=O_(h,ti),(r?Gr(L1((!r.b&&(r.b=new Ul((wn(),wo),Mc,r)),r.b),fU)):null)==null))&&Or(n,h))):(vo(),u(d,69).xk()&&(d.sk()||(Or(e,d),Or(n,d))));Uy(e),Uy(n),t.a=u(e.g,254),u(n.g,254)}function y5(t,e,n){var r,s,o,h,d,m,k,T,A;if(ns(e,n)>=0)return n;switch(Om($o(t,n))){case 2:{if(hn("",Lp(t,n.qk()).xe())){if(m=TI($o(t,n)),d=RE($o(t,n)),T=K6t(t,e,m,d),T)return T;for(s=Ekt(t,e),h=0,A=s.gc();h<A;++h)if(T=u(s.Xb(h),179),tkt(qit($o(t,T)),m))return T}return null}case 4:{if(hn("",Lp(t,n.qk()).xe())){for(r=n;r;r=a1n($o(t,r)))if(k=TI($o(t,r)),d=RE($o(t,r)),T=W6t(t,e,k,d),T)return T;if(m=TI($o(t,n)),hn(Cw,m))return Oxt(t,e);for(o=cct(t,e),h=0,A=o.gc();h<A;++h)if(T=u(o.Xb(h),179),tkt(qit($o(t,T)),m))return T}return null}default:return null}}function YTn(t,e,n){var r,s,o,h,d,m,k,T;if(n.gc()==0)return!1;if(d=(vo(),u(e,69).xk()),o=d?n:new $m(n.gc()),Ng(t.e,e)){if(e.Si())for(k=n.Kc();k.Ob();)m=k.Pb(),hV(t,e,m,Lt(e,102)&&(u(e,19).Bb&po)!=0)||(s=D0(e,m),o.Hc(s)||o.Fc(s));else if(!d)for(k=n.Kc();k.Ob();)m=k.Pb(),s=D0(e,m),o.Fc(s)}else{if(n.gc()>1)throw at(new zn(ON));for(T=Lu(t.e.Dh(),e),r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],T.am(s.Lk())){if(n.Hc(d?s:s.md()))return!1;for(k=n.Kc();k.Ob();)m=k.Pb(),u(c5(t,h,d?u(m,76):D0(e,m)),76);return!0}d||(s=D0(e,n.Kc().Pb()),o.Fc(s))}return gs(t,o)}function XTn(t,e){var n,r,s,o,h,d,m,k,T;for(T=new Ki,d=(k=new si(t.c).a.vc().Kc(),new Qi(k));d.a.Ob();)o=(s=u(d.a.Pb(),44),u(s.md(),466)),o.b==0&&hs(T,o,T.c.b,T.c);for(;T.b!=0;)for(o=u(T.b==0?null:(ur(T.b!=0),Oh(T,T.a.a)),466),o.a==null&&(o.a=0),r=new G(o.d);r.a<r.c.c.length;)n=u(et(r),663),n.b.a==null?n.b.a=Rt(o.a)+n.a:e.o==(nd(),Fw)?n.b.a=b.Math.min(Rt(n.b.a),Rt(o.a)+n.a):n.b.a=b.Math.max(Rt(n.b.a),Rt(o.a)+n.a),--n.b.b,n.b.b==0&&Zr(T,n.b);for(h=(m=new si(t.c).a.vc().Kc(),new Qi(m));h.a.Ob();)o=(s=u(h.a.Pb(),44),u(s.md(),466)),e.i[o.c.p]=o.a}function QTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(T=n+e.c.c.a,$=new G(e.j);$.a<$.c.c.length;){if(P=u(et($),12),s=dc(lt(ut(la,1),ue,8,0,[P.i.n,P.n,P.a])),e.k==(Un(),uu)&&(d=u(X(P,(oe(),Li)),12),s.a=dc(lt(ut(la,1),ue,8,0,[d.i.n,d.n,d.a])).a,e.n.a=s.a),h=new ae(0,s.b),P.j==(ve(),Jn))h.a=T;else if(P.j==Gn)h.a=n;else continue;if(U=b.Math.abs(s.a-h.a),!(U<=r&&!qvn(e)))for(o=P.g.c.length+P.e.c.length>1,k=new sd(P.b);lc(k.a)||lc(k.b);)m=u(lc(k.a)?et(k.a):et(k.b),18),A=m.c==P?m.d:m.c,b.Math.abs(dc(lt(ut(la,1),ue,8,0,[A.i.n,A.n,A.a])).b-h.b)>1&&Okn(t,m,h,o,P)}}function JTn(t){var e,n,r,s,o,h;if(s=new La(t.e,0),r=new La(t.a,0),t.d)for(n=0;n<t.b;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++);else for(n=0;n<t.b-1;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Kl(s);for(e=Rt((ur(s.b<s.d.gc()),Ht(s.d.Xb(s.c=s.b++))));t.f-e>xlt;){for(o=e,h=0;b.Math.abs(e-o)<xlt;)++h,e=Rt((ur(s.b<s.d.gc()),Ht(s.d.Xb(s.c=s.b++)))),ur(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);h<t.b&&(ur(s.b>0),s.a.Xb(s.c=--s.b),d7n(t,t.b-h,o,r,s),ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),ur(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(n=0;n<t.b-1;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Kl(s);t.d=!0,t.c=!0}function Ni(){Ni=V,iOt=(kwt(),Bc).b,jTe=u(Dt(Qt(Bc.b),0),35),Hw=u(Dt(Qt(Bc.b),1),35),RTe=u(Dt(Qt(Bc.b),2),35),gx=Bc.bb,u(Dt(Qt(Bc.bb),0),35),u(Dt(Qt(Bc.bb),1),35),px=Bc.fb,AL=u(Dt(Qt(Bc.fb),0),35),u(Dt(Qt(Bc.fb),1),35),u(Dt(Qt(Bc.fb),2),19),Fv=Bc.qb,QTe=u(Dt(Qt(Bc.qb),0),35),u(Dt(Qt(Bc.qb),1),19),u(Dt(Qt(Bc.qb),2),19),XP=u(Dt(Qt(Bc.qb),3),35),QP=u(Dt(Qt(Bc.qb),4),35),DL=u(Dt(Qt(Bc.qb),6),35),LL=u(Dt(Qt(Bc.qb),5),19),$Te=Bc.j,zTe=Bc.k,qTe=Bc.q,HTe=Bc.w,VTe=Bc.B,UTe=Bc.A,GTe=Bc.C,KTe=Bc.D,WTe=Bc._,YTe=Bc.cb,XTe=Bc.hb}function ZTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(A=n.Kc();A.Ob();){if(T=u(A.Pb(),12),d=T.j==(ve(),Hn)||T.j==Er,$=0,d){if(P=u(X(T,(oe(),ml)),10),!P)continue;$+=k8n(t,r,T,P)}else{for(k=new G(T.g);k.a<k.c.c.length;)if(m=u(et(k),18),s=m.d,s.i.c==e.c){ge(t.a,T);continue t}else $+=t.g[s.p];for(h=new G(T.e);h.a<h.c.c.length;)if(o=u(et(h),18),s=o.c,s.i.c==e.c){ge(t.a,T);continue t}else $-=t.g[s.p]}T.e.c.length+T.g.c.length>0?(t.f[T.p]=$/(T.e.c.length+T.g.c.length),t.c=b.Math.min(t.c,t.f[T.p]),t.b=b.Math.max(t.b,t.f[T.p])):d&&(t.f[T.p]=$)}}function t9n(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function e9n(t,e,n){var r,s,o,h;for(n.Ug("Graph transformation ("+t.a+")",1),h=Rm(e.a),o=new G(e.b);o.a<o.c.c.length;)s=u(et(o),30),Hs(h,s.a);if(r=u(X(e,(De(),$_t)),428),r==(YI(),xG))switch(u(X(e,ph),88).g){case 2:HS(e,h);break;case 3:g_(e,h);break;case 4:t.a==(r7(),KN)?(g_(e,h),kst(e,h)):(kst(e,h),g_(e,h))}else if(t.a==(r7(),KN))switch(u(X(e,ph),88).g){case 2:HS(e,h),kst(e,h);break;case 3:g_(e,h),HS(e,h);break;case 4:HS(e,h),g_(e,h)}else switch(u(X(e,ph),88).g){case 2:HS(e,h),kst(e,h);break;case 3:HS(e,h),g_(e,h);break;case 4:g_(e,h),HS(e,h)}n.Vg()}function n9n(t){var e,n,r,s,o,h,d,m;for(o=new G(t.a.b);o.a<o.c.c.length;)s=u(et(o),86),s.b.c=s.g.c,s.b.d=s.g.d;for(m=new ae(Zi,Zi),e=new ae(Vs,Vs),r=new G(t.a.b);r.a<r.c.c.length;)n=u(et(r),86),m.a=b.Math.min(m.a,n.g.c),m.b=b.Math.min(m.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);for(d=qz(t.c).a.nc();d.Ob();)h=u(d.Pb(),42),n=u(h.b,86),m.a=b.Math.min(m.a,n.g.c),m.b=b.Math.min(m.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);t.d=dz(new ae(m.a,m.b)),t.e=ia(new ae(e.a,e.b),m),t.a.a.c.length=0,t.a.b.c.length=0}function r9n(t){YS();var e,n,r,s,o,h,d;for(d=new xKt,n=new G(t);n.a<n.c.c.length;)e=u(et(n),148),(!d.b||e.c>=d.b.c)&&(d.b=e),(!d.c||e.c<=d.c.c)&&(d.d=d.c,d.c=e),(!d.e||e.d>=d.e.d)&&(d.e=e),(!d.f||e.d<=d.f.d)&&(d.f=e);return r=new _H((u7(),bv)),MI(t,l4e,new hl(lt(ut(GN,1),Ln,382,0,[r]))),h=new _H(y3),MI(t,u4e,new hl(lt(ut(GN,1),Ln,382,0,[h]))),s=new _H(v3),MI(t,c4e,new hl(lt(ut(GN,1),Ln,382,0,[s]))),o=new _H(F5),MI(t,o4e,new hl(lt(ut(GN,1),Ln,382,0,[o]))),Qot(r.c,bv),Qot(s.c,v3),Qot(o.c,F5),Qot(h.c,y3),d.a.c.length=0,Hs(d.a,r.c),Hs(d.a,Bh(s.c)),Hs(d.a,o.c),Hs(d.a,Bh(h.c)),d}function i9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(e.Ug(cwe,1),$=Rt(Ht(ne(t,(N0(),B3)))),h=Rt(Ht(ne(t,(fd(),iL)))),d=u(ne(t,rL),107),M4t((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),T=Hge((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),$,h),!t.a&&(t.a=new Jt(bi,t,10,11)),k=new G(T);k.a<k.c.c.length;)for(m=u(et(k),186),s=new G(m.a);s.a<s.c.c.length;)r=u(et(s),172),P=new t3t(r.s,r.t,Rt(Ht(ne(t,iL)))),R4t(P,r),ge(m.d,P);A=Rhe(T,h),U=b.Math.max(A.a,Rt(Ht(ne(t,nL)))-(d.b+d.c)),o=b.Math.max(A.b,Rt(Ht(ne(t,bK)))-(d.d+d.a)),n=o-A.b,Mi(t,tL,n),Mi(t,HT,U),Mi(t,eL,o+n),Mi(t,wK,T),e.Vg()}function s9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;for(k=new zd,T=new zd,U=new zd,J=new zd,m=Rt(Ht(X(e,(De(),Av)))),o=Rt(Ht(X(e,Yf))),d=new G(n);d.a<d.c.c.length;)if(h=u(et(d),10),A=u(X(h,(oe(),Dc)),64),A==(ve(),Hn))for(T.a.zc(h,T),s=new rr(sr(ua(h).a.Kc(),new z));Mr(s);)r=u(dr(s),18),qs(k,r.c.i);else if(A==Er)for(J.a.zc(h,J),s=new rr(sr(ua(h).a.Kc(),new z));Mr(s);)r=u(dr(s),18),qs(U,r.c.i);k.a.gc()!=0&&(P=new Uit(2,o),$=Xkt(P,e,k,T,-m-e.c.b),$>0&&(t.a=m+($-1)*o,e.c.b+=t.a,e.f.b+=t.a)),U.a.gc()!=0&&(P=new Uit(1,o),$=Xkt(P,e,U,J,e.f.b+m-e.c.b),$>0&&(e.f.b+=m+($-1)*o))}function Xge(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(T=Rt(Ht(X(t,(De(),_v)))),r=Rt(Ht(X(t,pAt))),P=new iM,Zt(P,_v,T+r),k=e,ht=k.d,J=k.c.i,Tt=k.d.i,tt=ymt(J.c),At=ymt(Tt.c),s=new fe,A=tt;A<=At;A++)d=new Ig(t),y(d,(Un(),fa)),Zt(d,(oe(),Li),k),Zt(d,bs,(ka(),hu)),Zt(d,KG,P),$=u(Oe(t.b,A),30),A==tt?Xy(d,$.a.c.length-n,$):Aa(d,$),Bt=Rt(Ht(X(k,Hp))),Bt<0&&(Bt=0,Zt(k,Hp,Bt)),d.o.b=Bt,U=b.Math.floor(Bt/2),h=new Yc,Xs(h,(ve(),Gn)),hc(h,d),h.n.b=U,m=new Yc,Xs(m,Jn),hc(m,d),m.n.b=U,xa(k,h),o=new Pm,Qo(o,k),Zt(o,Vo,null),Xa(o,m),xa(o,ht),Kvn(d,k,o),In(s.c,o),k=o;return s}function _ct(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(m=u(Pp(t,(ve(),Gn)).Kc().Pb(),12).e,$=u(Pp(t,Jn).Kc().Pb(),12).g,d=m.c.length,At=rd(u(Oe(t.j,0),12));d-- >0;){for(J=(vn(0,m.c.length),u(m.c[0],18)),s=(vn(0,$.c.length),u($.c[0],18)),Tt=s.d.e,o=Xo(Tt,s,0),A1n(J,s.d,o),Xa(s,null),xa(s,null),U=J.a,e&&Zr(U,new io(At)),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),Zr(U,new io(n));for(ht=J.b,P=new G(s.b);P.a<P.c.c.length;)A=u(et(P),72),In(ht.c,A);if(tt=u(X(J,(De(),Vo)),75),h=u(X(s,Vo),75),h)for(tt||(tt=new Qu,Zt(J,Vo,tt)),T=Dr(h,0);T.b!=T.d.c;)k=u(Ar(T),8),Zr(tt,new io(k))}}function a9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(J=e.b.c.length,!(J<3)){for($=Vt(Fr,ii,28,J,15,1),A=0,T=new G(e.b);T.a<T.c.c.length;)k=u(et(T),30),$[A++]=k.a.c.length;for(P=new La(e.b,2),r=1;r<J-1;r++)for(n=(ur(P.b<P.d.gc()),u(P.d.Xb(P.c=P.b++),30)),U=new G(n.a),o=0,d=0,m=0;m<$[r+1];m++)if(At=u(et(U),10),m==$[r+1]-1||f6t(t,At,r+1,r)){for(h=$[r]-1,f6t(t,At,r+1,r)&&(h=t.c.e[u(u(u(Oe(t.c.b,At.p),15).Xb(0),42).a,10).p]);d<=m;){if(Tt=u(Oe(n.a,d),10),!f6t(t,Tt,r+1,r))for(ht=u(Oe(t.c.b,Tt.p),15).Kc();ht.Ob();)tt=u(ht.Pb(),42),s=t.c.e[u(tt.a,10).p],(s<o||s>h)&&qs(t.b,u(tt.b,18));++d}o=h}}}function Kkt(t,e){var n;if(e==null||hn(e,Vu)||e.length==0&&t.k!=(Fp(),Qk))return null;switch(t.k.g){case 1:return kH(e,uT)?(Pn(),bT):kH(e,jlt)?(Pn(),t2):null;case 2:try{return he(lh(e,Ga,xi))}catch(r){if(r=es(r),Lt(r,130))return null;throw at(r)}case 4:try{return Jy(e)}catch(r){if(r=es(r),Lt(r,130))return null;throw at(r)}case 3:return e;case 5:return bue(t),D1e(t,e);case 6:return bue(t),s6n(t,t.a,e);case 7:try{return n=bxn(t),n.cg(e),n}catch(r){if(r=es(r),Lt(r,33))return null;throw at(r)}default:throw at(new Ro("Invalid type set for this layout option."))}}function Wkt(t){var e;switch(t.d){case 1:{if(t.Sj())return t.o!=-2;break}case 2:{if(t.Sj())return t.o==-2;break}case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.Rj(),t.p){case 0:return e!=null&&Ie(Me(e))!=bS(t.k,0);case 1:return e!=null&&u(e,222).a!=qr(t.k)<<24>>24;case 2:return e!=null&&u(e,180).a!=(qr(t.k)&js);case 6:return e!=null&&bS(u(e,168).a,t.k);case 5:return e!=null&&u(e,17).a!=qr(t.k);case 7:return e!=null&&u(e,191).a!=qr(t.k)<<16>>16;case 3:return e!=null&&Rt(Ht(e))!=t.j;case 4:return e!=null&&u(e,161).a!=t.j;default:return e==null?t.n!=null:!Ti(e,t.n)}}function QO(t,e,n){var r,s,o,h;return t.ol()&&t.nl()&&(h=jit(t,u(n,58)),$t(h)!==$t(n))?(t.xj(e),t.Dj(e,Zse(t,e,h)),t.al()&&(o=(s=u(n,54),t.ml()?t.kl()?s.Th(t.b,yo(u(En($u(t.b),t.Lj()),19)).n,u(En($u(t.b),t.Lj()).Hk(),29).kk(),null):s.Th(t.b,ns(s.Dh(),yo(u(En($u(t.b),t.Lj()),19))),null,null):s.Th(t.b,-1-t.Lj(),null,null)),!u(h,54).Ph()&&(o=(r=u(h,54),t.ml()?t.kl()?r.Rh(t.b,yo(u(En($u(t.b),t.Lj()),19)).n,u(En($u(t.b),t.Lj()).Hk(),29).kk(),o):r.Rh(t.b,ns(r.Dh(),yo(u(En($u(t.b),t.Lj()),19))),null,o):r.Rh(t.b,-1-t.Lj(),null,o))),o&&o.oj()),Hl(t.b)&&t.Jj(t.Ij(9,n,h,e,!1)),h):n}function Qge(t){var e,n,r,s,o,h,d,m,k,T;for(r=new fe,h=new G(t.e.a);h.a<h.c.c.length;){for(s=u(et(h),125),T=0,s.k.c.length=0,n=new G(s5(s));n.a<n.c.c.length;)e=u(et(n),218),e.f&&(ge(s.k,e),++T);T==1&&In(r.c,s)}for(o=new G(r);o.a<o.c.c.length;)for(s=u(et(o),125);s.k.c.length==1;){for(k=u(et(new G(s.k)),218),t.b[k.c]=k.g,d=k.d,m=k.e,n=new G(s5(s));n.a<n.c.c.length;)e=u(et(n),218),Ti(e,k)||(e.f?d==e.d||m==e.e?t.b[k.c]-=t.b[e.c]-e.g:t.b[k.c]+=t.b[e.c]-e.g:s==d?e.d==s?t.b[k.c]+=e.g:t.b[k.c]-=e.g:e.d==s?t.b[k.c]-=e.g:t.b[k.c]+=e.g);zu(d.k,k),zu(m.k,k),d==s?s=k.e:s=k.d}}function Jge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(n=u(Io(t.b,e),127),m=u(u(Ai(t.r,e),21),87),m.dc()){n.n.b=0,n.n.c=0;return}for(k=t.u.Hc((wl(),Hg)),h=0,d=m.Kc(),T=null,A=0,P=0;d.Ob();)r=u(d.Pb(),117),s=Rt(Ht(r.b.of((hz(),$U)))),o=r.b.Mf().a,t.A.Hc((Yl(),qw))&&_0e(t,e),T?($=P+T.d.c+t.w+r.d.b,h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(A-s)<=gd||A==s||isNaN(A)&&isNaN(s)?0:$/(s-A)))):t.C&&t.C.b>0&&(h=b.Math.max(h,ece(t.C.b+r.d.b,s))),T=r,A=s,P=o;t.C&&t.C.c>0&&($=P+t.C.c,k&&($+=T.d.c),h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(A-1)<=gd||A==1||isNaN(A)&&isNaN(1)?0:$/(1-A)))),n.n.b=0,n.a.a=h}function Zge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(n=u(Io(t.b,e),127),m=u(u(Ai(t.r,e),21),87),m.dc()){n.n.d=0,n.n.a=0;return}for(k=t.u.Hc((wl(),Hg)),h=0,t.A.Hc((Yl(),qw))&&A0e(t,e),d=m.Kc(),T=null,P=0,A=0;d.Ob();)r=u(d.Pb(),117),o=Rt(Ht(r.b.of((hz(),$U)))),s=r.b.Mf().b,T?($=A+T.d.a+t.w+r.d.d,h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(P-o)<=gd||P==o||isNaN(P)&&isNaN(o)?0:$/(o-P)))):t.C&&t.C.d>0&&(h=b.Math.max(h,ece(t.C.d+r.d.d,o))),T=r,P=o,A=s;t.C&&t.C.a>0&&($=A+t.C.a,k&&($+=T.d.a),h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(P-1)<=gd||P==1||isNaN(P)&&isNaN(1)?0:$/(1-P)))),n.n.d=0,n.a.b=h}function o9n(t,e,n,r,s,o,h,d){var m,k,T,A,P,$,U,J,tt,ht;if(U=!1,k=ekt(n.q,e.f+e.b-n.q.f),$=r.f>e.b&&d,ht=s-(n.q.e+k-h),A=(m=B_(r,ht,!1),m.a),$&&A>r.f)return!1;if($){for(P=0,tt=new G(e.d);tt.a<tt.c.c.length;)J=u(et(tt),315),P+=ekt(J,r.f)+h;ht=s-P}return ht<r.g||(T=o==t.c.length-1&&ht>=(vn(o,t.c.length),u(t.c[o],186)).e,!$&&A>e.b&&!T)?!1:((T||$||A<=e.b)&&(T&&A>e.b?(n.d=A,$I(n,Rfe(n,A))):(nfe(n.q,k),n.c=!0),$I(r,s-(n.s+n.r)),kO(r,n.q.e+n.q.d,e.f),zq(e,r),t.c.length>o&&(CO((vn(o,t.c.length),u(t.c[o],186)),r),(vn(o,t.c.length),u(t.c[o],186)).a.c.length==0&&Ep(t,o)),U=!0),U)}function tpe(t,e,n){var r,s,o,h,d,m;for(this.g=t,d=e.d.length,m=n.d.length,this.d=Vt(V0,jp,10,d+m,0,1),h=0;h<d;h++)this.d[h]=e.d[h];for(o=0;o<m;o++)this.d[d+o]=n.d[o];if(e.e){if(this.e=bI(e.e),this.e.Mc(n),n.e)for(s=n.e.Kc();s.Ob();)r=u(s.Pb(),239),r!=e&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=bI(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Jst(this,this.f/this.a):td(e.g,e.d[0]).a!=null&&td(n.g,n.d[0]).a!=null?Jst(this,(Rt(td(e.g,e.d[0]).a)+Rt(td(n.g,n.d[0]).a))/2):td(e.g,e.d[0]).a!=null?Jst(this,td(e.g,e.d[0]).a):td(n.g,n.d[0]).a!=null&&Jst(this,td(n.g,n.d[0]).a)}function c9n(t,e){var n,r,s,o,h,d,m,k,T,A;for(t.a=new Iee(Vpn(gL)),r=new G(e.a);r.a<r.c.c.length;){for(n=u(et(r),855),d=new Zat(lt(ut(sft,1),Ln,86,0,[])),ge(t.a.a,d),k=new G(n.d);k.a<k.c.c.length;)m=u(et(k),116),T=new Wmt(t,m),Qkt(T,u(X(n.c,(oe(),$g)),21)),Tu(t.g,n)||(hi(t.g,n,new ae(m.c,m.d)),hi(t.f,n,T)),ge(t.a.b,T),xst(d,T);for(h=new G(n.b);h.a<h.c.c.length;)o=u(et(h),602),T=new Wmt(t,o.Df()),hi(t.b,o,new Ws(d,T)),Qkt(T,u(X(n.c,(oe(),$g)),21)),o.Bf()&&(A=new ixt(t,o.Bf(),1),Qkt(A,u(X(n.c,$g),21)),s=new Zat(lt(ut(sft,1),Ln,86,0,[])),xst(s,A),dn(t.c,o.Af(),new Ws(d,A)))}return t.a}function epe(t){var e;this.a=t,e=(Un(),lt(ut(fft,1),te,273,0,[xs,fa,Ms,uu,Vc,md])).length,this.b=G2(Sdt,[ue,v7t],[601,149],0,[e,e],2),this.c=G2(Sdt,[ue,v7t],[601,149],0,[e,e],2),cst(this,xs,(De(),Av),X5),n_(this,xs,fa,_v,Pw),CI(this,xs,uu,_v),CI(this,xs,Ms,_v),n_(this,xs,Vc,Av,X5),cst(this,fa,Yf,W5),CI(this,fa,uu,Yf),CI(this,fa,Ms,Yf),n_(this,fa,Vc,_v,Pw),UQt(this,uu,Yf),CI(this,uu,Ms,Yf),CI(this,uu,Vc,l1t),UQt(this,Ms,jA),n_(this,Ms,Vc,BT,FT),cst(this,Vc,Yf,Yf),cst(this,md,Yf,W5),n_(this,md,xs,_v,Pw),n_(this,md,Vc,_v,Pw),n_(this,md,fa,_v,Pw)}function u9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(h=n.Lk(),Lt(h,102)&&u(h,19).Bb&po&&(P=u(n.md(),54),J=jb(t.e,P),J!=P)){if(T=D0(h,J),kS(t,e,Dot(t,e,T)),A=null,Hl(t.e)&&(r=y5((il(),ja),t.e.Dh(),h),r!=En(t.e.Dh(),t.c))){for(tt=Lu(t.e.Dh(),h),d=0,o=u(t.g,124),m=0;m<e;++m)s=o[m],tt.am(s.Lk())&&++d;A=new Cst(t.e,9,r,P,J,d,!1),A.nj(new Tg(t.e,9,t.c,n,T,e,!1))}return U=u(h,19),$=yo(U),$?(A=P.Th(t.e,ns(P.Dh(),$),null,A),A=u(J,54).Rh(t.e,ns(J.Dh(),$),null,A)):U.Bb&Fc&&(k=-1-ns(t.e.Dh(),U),A=P.Th(t.e,k,null,null),!u(J,54).Ph()&&(A=u(J,54).Rh(t.e,k,null,A))),A&&A.oj(),T}return n}function l9n(t){var e,n,r;for(r5(b2,lt(ut(P5,1),Ln,134,0,[new Oj])),n=new Xj(t),r=0;r<n.a.length;++r)e=$y(n,r).te().a,hn(e,"layered")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Qet])):hn(e,"force")?r5(b2,lt(ut(P5,1),Ln,134,0,[new MC])):hn(e,"stress")?r5(b2,lt(ut(P5,1),Ln,134,0,[new _j])):hn(e,"mrtree")?r5(b2,lt(ut(P5,1),Ln,134,0,[new snt])):hn(e,"radial")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Jh])):hn(e,"disco")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Tj,new Cj])):hn(e,"sporeOverlap")||hn(e,"sporeCompaction")?r5(b2,lt(ut(P5,1),Ln,134,0,[new hnt])):hn(e,"rectpacking")&&r5(b2,lt(ut(P5,1),Ln,134,0,[new iE]))}function npe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(P=new io(t.o),ht=e.a/P.a,d=e.b/P.b,J=e.a-P.a,o=e.b-P.b,n)for(s=$t(X(t,(De(),bs)))===$t((ka(),hu)),U=new G(t.j);U.a<U.c.c.length;)switch($=u(et(U),12),$.j.g){case 1:s||($.n.a*=ht);break;case 2:$.n.a+=J,s||($.n.b*=d);break;case 3:s||($.n.a*=ht),$.n.b+=o;break;case 4:s||($.n.b*=d)}for(k=new G(t.b);k.a<k.c.c.length;)m=u(et(k),72),T=m.n.a+m.o.a/2,A=m.n.b+m.o.b/2,tt=T/P.a,h=A/P.b,tt+h>=1&&(tt-h>0&&A>=0?(m.n.a+=J,m.n.b+=o*h):tt-h<0&&T>=0&&(m.n.a+=J*tt,m.n.b+=o));t.o.a=e.a,t.o.b=e.b,Zt(t,(De(),Ow),(Yl(),r=u(y1(xL),9),new _h(r,u(Ff(r,r.length),9),0)))}function h9n(t,e,n,r,s,o){var h;if(!(e==null||!Uat(e,BIt,RIt)))throw at(new zn("invalid scheme: "+e));if(!t&&!(n!=null&&$d(n,Hu(35))==-1&&n.length>0&&(qn(0,n.length),n.charCodeAt(0)!=47)))throw at(new zn("invalid opaquePart: "+n));if(t&&!(e!=null&&BM(WK,e.toLowerCase()))&&!(n==null||!Uat(n,CL,SL)))throw at(new zn(Fme+n));if(t&&e!=null&&BM(WK,e.toLowerCase())&&!Vyn(n))throw at(new zn(Fme+n));if(!X2n(r))throw at(new zn("invalid device: "+r));if(!Nbn(s))throw h=s==null?"invalid segments: null":"invalid segment: "+Dbn(s),at(new zn(h));if(!(o==null||$d(o,Hu(35))==-1))throw at(new zn("invalid query: "+o))}function f9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(n.Ug("Network simplex layering",1),t.b=e,ht=u(X(e,(De(),$A)),17).a*4,tt=t.b.a,tt.c.length<1){n.Vg();return}for(o=lEn(t,tt),J=null,s=Dr(o,0);s.b!=s.d.c;){for(r=u(Ar(s),15),d=ht*Ys(b.Math.sqrt(r.gc())),h=CEn(r),uct(pwt(frn(bwt(mit(h),d),J),!0),n.eh(1)),P=t.b.b,U=new G(h.a);U.a<U.c.c.length;){for($=u(et(U),125);P.c.length<=$.e;)Sm(P,P.c.length,new eu(t.b));T=u($.f,10),Aa(T,u(Oe(P,$.e),30))}if(o.b>1)for(J=Vt(Fr,ii,28,t.b.b.c.length,15,1),A=0,k=new G(t.b.b);k.a<k.c.c.length;)m=u(et(k),30),J[A++]=m.a.c.length}tt.c.length=0,t.a=null,t.b=null,t.c=null,n.Vg()}function d9n(t,e){var n,r,s,o,h,d,m,k,T,A;for(T=new fe,A=new K4,o=null,s=0,r=0;r<e.length;++r)switch(n=e[r],vbn(o,n)&&(s=P5t(t,A,T,nK,s)),qi(n,(oe(),yv))&&(o=u(X(n,yv),10)),n.k.g){case 0:for(m=Emt(H6(gc(n,(ve(),Hn)),new yR));rat(m);)h=u(t4t(m),12),t.d[h.p]=s++,In(T.c,h);for(s=P5t(t,A,T,nK,s),k=Emt(H6(gc(n,Er),new yR));rat(k);)h=u(t4t(k),12),t.d[h.p]=s++,In(T.c,h);break;case 3:gc(n,JAt).dc()||(h=u(gc(n,JAt).Xb(0),12),t.d[h.p]=s++,In(T.c,h)),gc(n,nK).dc()||Ob(A,n);break;case 1:for(d=gc(n,(ve(),Gn)).Kc();d.Ob();)h=u(d.Pb(),12),t.d[h.p]=s++,In(T.c,h);gc(n,Jn).Jc(new xXt(A,n))}return P5t(t,A,T,nK,s),T}function Ykt(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(e==null||e.length==0)return null;if(o=u(nu(t.f,e),23),!o){for(s=($=new si(t.d).a.vc().Kc(),new Qi($));s.a.Ob();)if(n=(h=u(s.a.Pb(),44),u(h.md(),23)),d=n.f,U=e.length,hn(d.substr(d.length-U,U),e)&&(e.length==d.length||Va(d,d.length-e.length-1)==46)){if(o)return null;o=n}if(!o){for(r=(P=new si(t.d).a.vc().Kc(),new Qi(P));r.a.Ob();)if(n=(h=u(r.a.Pb(),44),u(h.md(),23)),A=n.g,A!=null){for(m=A,k=0,T=m.length;k<T;++k)if(d=m[k],U=e.length,hn(d.substr(d.length-U,U),e)&&(e.length==d.length||Va(d,d.length-e.length-1)==46)){if(o)return null;o=n}}}o&&jo(t.f,e,o)}return o}function g9n(t,e){var n,r,s,o,h;for(n=new I4,h=!1,o=0;o<e.length;o++){if(r=(qn(o,e.length),e.charCodeAt(o)),r==32){for(EH(t,n,0),n.a+=" ",EH(t,n,0);o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==32);)++o;continue}if(h){r==39?o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+=String.fromCharCode(r),++o):h=!1:n.a+=String.fromCharCode(r);continue}if($d("GyMLdkHmsSEcDahKzZv",Hu(r))>0){EH(t,n,0),n.a+=String.fromCharCode(r),s=Nwn(e,o),EH(t,n,s),o+=s-1;continue}r==39?o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+="'",++o):h=!0:n.a+=String.fromCharCode(r)}EH(t,n,0),f3n(t)}function p9n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(At=ate(t),m=new fe,o=t.c.length,k=o-1,T=o+1;At.a.gc()!=0;){for(;n.b!=0;)ht=(ur(n.b!=0),u(Oh(n,n.a.a),118)),At.a.Bc(ht)!=null,ht.g=k--,Fkt(ht,e,n,r);for(;e.b!=0;)Tt=(ur(e.b!=0),u(Oh(e,e.a.a),118)),At.a.Bc(Tt)!=null,Tt.g=T++,Fkt(Tt,e,n,r);for(d=Ga,J=At.a.ec().Kc();J.Ob();){if(U=u(J.Pb(),118),!r&&U.b>0&&U.a<=0){m.c.length=0,In(m.c,U);break}$=U.i-U.d,$>=d&&($>d&&(m.c.length=0,d=$),In(m.c,U))}m.c.length!=0&&(h=u(Oe(m,MH(s,m.c.length)),118),At.a.Bc(h)!=null,h.g=T++,Fkt(h,e,n,r),m.c.length=0)}for(tt=t.c.length+1,P=new G(t);P.a<P.c.c.length;)A=u(et(P),118),A.g<o&&(A.g=A.g+tt)}function rpe(t,e,n){var r,s,o,h;this.j=t,this.e=Uxt(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(Oe(n,Pa(this.o).p),219):null,s=u(X(t,(oe(),lu)),21),this.g=s.Hc((Co(),Uh)),this.b=new fe,this.d=new gle(this.e),h=u(X(this.j,Kk),234),this.q=wpn(e,h,this.e),this.k=new ire(this),o=id(lt(ut(N4e,1),Ln,230,0,[this,this.d,this.k,this.q])),e==(Hm(),hP)&&!Ie(Me(X(t,(De(),Ev))))?(r=new Wxt(this.e),In(o.c,r),this.c=new p3t(r,h,u(this.q,413))):e==hP&&Ie(Me(X(t,(De(),Ev))))?(r=new Wxt(this.e),In(o.c,r),this.c=new Yoe(r,h,u(this.q,413))):this.c=new yXt(e,this),ge(o,this.c),$ge(o,this.e),this.s=nSn(this.k)}function b9n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt;for(o=new fe,k=new G(r);k.a<k.c.c.length;)if(d=u(et(k),452),h=null,d.f==(To(),ku))for(U=new G(d.e);U.a<U.c.c.length;)$=u(et(U),18),tt=$.d.i,Pa(tt)==e?ioe(t,e,d,$,d.b,$.d):!n||a7(tt,n)?G3n(t,e,d,r,$):(P=Ect(t,e,n,$,d.b,ku,h),P!=h&&In(o.c,P),P.c&&(h=P));else for(A=new G(d.e);A.a<A.c.c.length;)if(T=u(et(A),18),J=T.c.i,Pa(J)==e)ioe(t,e,d,T,T.c,d.b);else{if(!n||a7(J,n))continue;P=Ect(t,e,n,T,d.b,vl,h),P!=h&&In(o.c,P),P.c&&(h=P)}for(m=new G(o);m.a<m.c.c.length;)d=u(et(m),452),Xo(e.a,d.a,0)!=-1||ge(e.a,d.a),d.c&&In(s.c,d)}function ipe(t){var e,n,r,s,o,h,d;for(e=0,o=new G(t.b.a);o.a<o.c.c.length;)r=u(et(o),194),r.b=0,r.c=0;for(Ffe(t,0),Gat(t,t.g),eV(t.c),hwt(t.c),n=(Rs(),Uo),GO(Nrt(x5(GO(Nrt(x5(GO(x5(t.c,n)),Yue(n)))),n))),x5(t.c,Uo),$at(t,t.g),kfe(t,0),Fge(t,0),wde(t,1),Ffe(t,1),Gat(t,t.d),eV(t.c),h=new G(t.b.a);h.a<h.c.c.length;)r=u(et(h),194),e+=b.Math.abs(r.c);for(d=new G(t.b.a);d.a<d.c.c.length;)r=u(et(d),194),r.b=0,r.c=0;for(n=Gh,GO(Nrt(x5(GO(Nrt(x5(GO(hwt(x5(t.c,n))),Yue(n)))),n))),x5(t.c,Uo),$at(t,t.d),kfe(t,1),Fge(t,1),wde(t,0),hwt(t.c),s=new G(t.b.a);s.a<s.c.c.length;)r=u(et(s),194),e+=b.Math.abs(r.c);return e}function w9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(Ie(Me(X(n,(De(),L3)))))for(d=new G(n.j);d.a<d.c.c.length;)for(h=u(et(d),12),P=Kd(h.g),k=P,T=0,A=k.length;T<A;++T)m=k[T],o=m.d.i==n,s=o&&Ie(Me(X(m,Mw))),s&&(U=m.c,$=u(tr(t.b,U),10),$||($=JO(U,(ka(),Td),U.j,-1,null,null,U.o,u(X(e,ph),88),e),Zt($,(oe(),Li),U),hi(t.b,U,$),ge(e.a,$)),tt=m.d,J=u(tr(t.b,tt),10),J||(J=JO(tt,(ka(),Td),tt.j,1,null,null,tt.o,u(X(e,ph),88),e),Zt(J,(oe(),Li),tt),hi(t.b,tt,J),ge(e.a,J)),r=Dst(m),Xa(r,u(Oe($.j,0),12)),xa(r,u(Oe(J.j,0),12)),dn(t.a,m,new wz(r,e,(To(),ku))),u(X(e,(oe(),lu)),21).Fc((Co(),Uh)))}function m9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(s=new G(t.a.b);s.a<s.c.c.length;)for(n=u(et(s),30),m=new G(n.a);m.a<m.c.c.length;)d=u(et(m),10),e.j[d.p]=d,e.i[d.p]=e.o==(nd(),yd)?Vs:Zi;for(dl(t.c),h=t.a.b,e.c==(Gd(),Gp)&&(h=Bh(h)),y1n(t.e,e,t.b),zM(e.p,null),o=h.Kc();o.Ob();)for(n=u(o.Pb(),30),k=n.a,e.o==(nd(),yd)&&(k=Bh(k)),P=k.Kc();P.Ob();)A=u(P.Pb(),10),e.g[A.p]==A&&zpe(t,A,e);for(XTn(t,e),r=h.Kc();r.Ob();)for(n=u(r.Pb(),30),P=new G(n.a);P.a<P.c.c.length;)A=u(et(P),10),e.p[A.p]=e.p[e.g[A.p].p],A==e.g[A.p]&&(T=Rt(e.i[e.j[A.p].p]),(e.o==(nd(),yd)&&T>Vs||e.o==Fw&&T<Zi)&&(e.p[A.p]=Rt(e.p[A.p])+T));t.e.xg()}function v9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(n.Ug("Label dummy switching",1),r=u(X(e,(De(),jG)),232),upn(e),s=Jxn(e,r),t.a=Vt(ma,No,28,e.b.c.length,15,1),d=(wk(),lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5])),T=0,$=d.length;T<$;++T)if(o=d[T],(o==$5||o==j5||o==T3)&&!u(Zu(s.a,o)?s.b[o.g]:null,15).dc()){gpn(t,e);break}for(m=lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5]),A=0,U=m.length;A<U;++A)o=m[A],o==$5||o==j5||o==T3||V0e(t,u(Zu(s.a,o)?s.b[o.g]:null,15));for(h=lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5]),k=0,P=h.length;k<P;++k)o=h[k],(o==$5||o==j5||o==T3)&&V0e(t,u(Zu(s.a,o)?s.b[o.g]:null,15));t.a=null,n.Vg()}function spe(t,e){var n,r,s,o,h,d,m,k,T;if(k=e,!(k.b==null||t.b==null)){for(g5(t),R_(t),g5(k),R_(k),n=Vt(Fr,ii,28,t.b.length+k.b.length,15,1),T=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],m=k.b[h+1],o<d)r+=2;else if(o>=d&&s<=m)d<=s&&o<=m?(n[T++]=s,n[T++]=o,r+=2):d<=s?(n[T++]=s,n[T++]=m,t.b[r]=m+1,h+=2):o<=m?(n[T++]=d,n[T++]=o,r+=2):(n[T++]=d,n[T++]=m,t.b[r]=m+1);else if(m<s)h+=2;else throw at(new uc("Token#intersectRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] & ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[T++]=t.b[r++],n[T++]=t.b[r++];t.b=Vt(Fr,ii,28,T,15,1),Xc(n,0,t.b,0,T)}}function y9n(t){var e,n,r,s,o,h,d;for(e=new fe,t.g=new fe,t.d=new fe,h=new sw(new mr(t.f.b).a);h.b;)o=Um(h),ge(e,u(u(o.md(),42).b,86)),bg(u(o.ld(),602).Af())?ge(t.d,u(o.md(),42)):ge(t.g,u(o.md(),42));for(Gat(t,t.d),Gat(t,t.g),t.c=new O1e(t.b),grn(t.c,(Dwt(),n4e)),$at(t,t.d),$at(t,t.g),Hs(e,t.c.a.b),t.e=new ae(Zi,Zi),t.a=new ae(Vs,Vs),r=new G(e);r.a<r.c.c.length;)n=u(et(r),86),t.e.a=b.Math.min(t.e.a,n.g.c),t.e.b=b.Math.min(t.e.b,n.g.d),t.a.a=b.Math.max(t.a.a,n.g.c+n.g.b),t.a.b=b.Math.max(t.a.b,n.g.d+n.g.a);mwt(t.c,new im),d=0;do s=ipe(t),++d;while((d<2||s>Kb)&&d<10);mwt(t.c,new Gx),ipe(t),oln(t.c),n9n(t.f)}function x9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(n=u(X(t,(De(),bs)),101),h=t.f,o=t.d,d=h.a+o.b+o.c,m=0-o.d-t.c.b,T=h.b+o.d+o.a-t.c.b,k=new fe,A=new fe,s=new G(e);s.a<s.c.c.length;){switch(r=u(et(s),10),n.g){case 1:case 2:case 3:ukn(r);break;case 4:P=u(X(r,Sv),8),$=P?P.a:0,r.n.a=d*Rt(Ht(X(r,(oe(),xv))))-$,nH(r,!0,!1);break;case 5:U=u(X(r,Sv),8),J=U?U.a:0,r.n.a=Rt(Ht(X(r,(oe(),xv))))-J,nH(r,!0,!1),h.a=b.Math.max(h.a,r.n.a+r.o.a/2)}switch(u(X(r,(oe(),Dc)),64).g){case 1:r.n.b=m,In(k.c,r);break;case 3:r.n.b=T,In(A.c,r)}}switch(n.g){case 1:case 2:Rue(k,t),Rue(A,t);break;case 3:jue(k,t),jue(A,t)}}function k9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;switch(t.k.g){case 1:if(r=u(X(t,(oe(),Li)),18),n=u(X(r,t_t),75),n?Ie(Me(X(r,vd)))&&(n=cO(n)):n=new Qu,k=u(X(t,N1),12),k){if(T=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])),e<=T.a)return T.b;hs(n,T,n.a,n.a.a)}if(A=u(X(t,gf),12),A){if(P=dc(lt(ut(la,1),ue,8,0,[A.i.n,A.n,A.a])),P.a<=e)return P.b;hs(n,P,n.c.b,n.c)}if(n.b>=2){for(m=Dr(n,0),h=u(Ar(m),8),d=u(Ar(m),8);d.a<e&&m.b!=m.d.c;)h=d,d=u(Ar(m),8);return h.b+(e-h.a)/(d.a-h.a)*(d.b-h.b)}break;case 3:switch(o=u(X(u(Oe(t.j,0),12),(oe(),Li)),12),s=o.i,o.j.g){case 1:return s.n.b;case 3:return s.n.b+s.o.b}}return Fxt(t).b}function E9n(t){var e,n,r,s,o,h,d,m,k,T,A;for(h=new G(t.d.b);h.a<h.c.c.length;)for(o=u(et(h),30),m=new G(o.a);m.a<m.c.c.length;){if(d=u(et(m),10),Ie(Me(X(d,(De(),PA))))&&!HE(Dg(d))){r=u(bhn(Dg(d)),18),T=r.c.i,T==d&&(T=r.d.i),A=new Ws(T,ia(Oa(d.n),T.n)),hi(t.b,d,A);continue}s=new Ah(d.n.a-d.d.b,d.n.b-d.d.d,d.o.a+d.d.b+d.d.c,d.o.b+d.d.d+d.d.a),e=NJt(zYt(jYt($Yt(new G2t,d),s),I4e),t.a),OJt($rn(Coe(new U2t,lt(ut(RU,1),Ln,60,0,[e])),e),t.a),k=new Rnt,hi(t.e,e,k),n=xg(new rr(sr(ua(d).a.Kc(),new z)))-xg(new rr(sr(_s(d).a.Kc(),new z))),n<0?aO(k,!0,(Rs(),Uo)):n>0&&aO(k,!0,(Rs(),tc)),d.k==(Un(),Ms)&&zee(k),hi(t.f,d,e)}}function T9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(s=u(X(t,(ji(),JA)),27),k=xi,T=xi,d=Ga,m=Ga,At=Dr(t.b,0);At.b!=At.d.c;)ht=u(Ar(At),39),$=ht.e,U=ht.f,k=b.Math.min(k,$.a-U.a/2),T=b.Math.min(T,$.b-U.b/2),d=b.Math.max(d,$.a+U.a/2),m=b.Math.max(m,$.b+U.b/2);for(P=u(ne(s,(Cc(),SLt)),107),Tt=Dr(t.b,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),39),A=X(ht,JA),Lt(A,207)&&(o=u(A,27),Ch(o,ht.e.a,ht.e.b),$O(o,ht));for(tt=Dr(t.a,0);tt.b!=tt.d.c;)J=u(Ar(tt),65),r=u(X(J,JA),74),r&&(e=J.a,n=b5(r,!0,!0),KO(e,n));Bt=d-k+(P.b+P.c),h=m-T+(P.d+P.a),Ie(Me(ne(s,(ai(),R3))))||rv(s,Bt,h,!1,!1),Mi(s,ox,Bt-(P.b+P.c)),Mi(s,ax,h-(P.d+P.a))}function ape(t,e){var n,r,s,o,h,d,m,k,T,A;for(m=!0,s=0,k=t.g[e.p],T=e.o.b+t.o,n=t.d[e.p][2],Mh(t.b,k,he(u(Oe(t.b,k),17).a-1+n)),Mh(t.c,k,Rt(Ht(Oe(t.c,k)))-T+n*t.f),++k,k>=t.j?(++t.j,ge(t.b,he(1)),ge(t.c,T)):(r=t.d[e.p][1],Mh(t.b,k,he(u(Oe(t.b,k),17).a+1-r)),Mh(t.c,k,Rt(Ht(Oe(t.c,k)))+T-r*t.f)),(t.r==(cf(),cP)&&(u(Oe(t.b,k),17).a>t.k||u(Oe(t.b,k-1),17).a>t.k)||t.r==uP&&(Rt(Ht(Oe(t.c,k)))>t.n||Rt(Ht(Oe(t.c,k-1)))>t.n))&&(m=!1),h=new rr(sr(ua(e).a.Kc(),new z));Mr(h);)o=u(dr(h),18),d=o.c.i,t.g[d.p]==k&&(A=ape(t,d),s=s+u(A.a,17).a,m=m&&Ie(Me(A.b)));return t.g[e.p]=k,s=s+t.d[e.p][0],new Ws(he(s),(Pn(),!!m))}function ope(t,e){var n,r,s,o,h;n=Rt(Ht(X(e,(De(),Yf)))),n<2&&Zt(e,Yf,2),r=u(X(e,ph),88),r==(Rs(),Ed)&&Zt(e,ph,fH(e)),s=u(X(e,T6e),17),s.a==0?Zt(e,(oe(),Kk),new Kat):Zt(e,(oe(),Kk),new pq(s.a)),o=Me(X(e,BA)),o==null&&Zt(e,BA,(Pn(),$t(X(e,zg))===$t((Lg(),WT)))),ms(new ln(null,new gn(e.a,16)),new lp(t)),ms(fc(new ln(null,new gn(e.b,16)),new p4),new $C(t)),h=new epe(e),Zt(e,(oe(),G5),h),EI(t.a),E1(t.a,(Ua(),Wf),u(X(e,Dw),188)),E1(t.a,H0,u(X(e,Iw),188)),E1(t.a,Qc,u(X(e,FA),188)),E1(t.a,cu,u(X(e,UG),188)),E1(t.a,Zo,Tpn(u(X(e,zg),223))),kmt(t.a,vSn(e)),Zt(e,Yft,XO(t.a,e))}function Xkt(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(A=new _r,h=new fe,s1e(t,n,t.d.Ag(),h,A),s1e(t,r,t.d.Bg(),h,A),t.b=.2*(J=hde(fc(new ln(null,new gn(h,16)),new TZ)),tt=hde(fc(new ln(null,new gn(h,16)),new CZ)),b.Math.min(J,tt)),o=0,d=0;d<h.c.length-1;d++)for(m=(vn(d,h.c.length),u(h.c[d],118)),U=d+1;U<h.c.length;U++)o+=Hkt(t,m,(vn(U,h.c.length),u(h.c[U],118)));for(P=u(X(e,(oe(),Kk)),234),o>=2&&(ht=Dde(h,!0,P),!t.e&&(t.e=new $Ut(t)),Dwn(t.e,ht,h,t.b)),ffe(h,P),D9n(h),$=-1,T=new G(h);T.a<T.c.c.length;)k=u(et(T),118),!(b.Math.abs(k.s-k.c)<n0)&&($=b.Math.max($,k.o),t.d.yg(k,s,t.c));return t.d.a.a.$b(),$+1}function C9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(A=u(sz((h=Dr(new gg(e).a.d,0),new M4(h))),39),U=A?u(X(A,(ji(),$1t)),39):null,s=1;A&&U;){for(m=0,Bt=0,n=A,r=U,d=0;d<s;d++)n=Nst(n),r=Nst(r),Bt+=Rt(Ht(X(n,(ji(),qT)))),m+=Rt(Ht(X(r,qT)));if(At=Rt(Ht(X(U,(ji(),Kp)))),Tt=Rt(Ht(X(A,Kp))),P=A5t(t,A,U),$=At+m+t.b+P-Tt-Bt,0<$){for(k=e,T=0;k&&k!=r;)++T,k=u(X(k,oK),39);if(k)for(ht=$/T,k=e;k!=r;)tt=Rt(Ht(X(k,Kp)))+$,Zt(k,Kp,tt),J=Rt(Ht(X(k,qT)))+$,Zt(k,qT,J),$-=ht,k=u(X(k,oK),39);else return}++s,A.d.b==0?A=Akt(new gg(e),s):A=u(sz((o=Dr(new gg(A).a.d,0),new M4(o))),39),U=A?u(X(A,$1t),39):null}}function S9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;return P=t.c[e],$=t.c[n],U=u(X(P,(oe(),Uk)),15),!!U&&U.gc()!=0&&U.Hc($)||(J=P.k!=(Un(),fa)&&$.k!=fa,tt=u(X(P,yv),10),ht=u(X($,yv),10),Tt=tt!=ht,At=!!tt&&tt!=P||!!ht&&ht!=$,Bt=pot(P,(ve(),Hn)),Wt=pot($,Er),At=At|(pot(P,Er)||pot($,Hn)),se=At&&Tt||Bt||Wt,J&&se)||P.k==(Un(),uu)&&$.k==xs||$.k==(Un(),uu)&&P.k==xs?!1:(T=t.c[e],o=t.c[n],s=Qhe(t.e,T,o,(ve(),Gn)),m=Qhe(t.i,T,o,Jn),nkn(t.f,T,o),k=hue(t.b,T,o)+u(s.a,17).a+u(m.a,17).a+t.f.d,d=hue(t.b,o,T)+u(s.b,17).a+u(m.b,17).a+t.f.b,t.a&&(A=u(X(T,Li),12),h=u(X(o,Li),12),r=Ihe(t.g,A,h),k+=u(r.a,17).a,d+=u(r.b,17).a),k>d)}function cpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(k=Zi,T=Zi,d=Vs,m=Vs,P=new G(e.i);P.a<P.c.c.length;)A=u(et(P),68),s=u(u(tr(t.g,A.a),42).b,27),Ch(s,A.b.c,A.b.d),k=b.Math.min(k,s.i),T=b.Math.min(T,s.j),d=b.Math.max(d,s.i+s.g),m=b.Math.max(m,s.j+s.f);for($=u(ne(t.c,(LO(),MEe)),107),rv(t.c,d-k+($.b+$.c),m-T+($.d+$.a),!0,!0),n6t(t.c,-k+$.b,-T+$.d),r=new Zn(gne(t.c));r.e!=r.i.gc();)n=u(ar(r),74),h=b5(n,!0,!0),U=O0(n),tt=qb(n),J=new ae(U.i+U.g/2,U.j+U.f/2),o=new ae(tt.i+tt.g/2,tt.j+tt.f/2),ht=ia(new ae(o.a,o.b),J),A7(ht,U.g,U.f),ki(J,ht),Tt=ia(new ae(J.a,J.b),o),A7(Tt,tt.g,tt.f),ki(o,Tt),rI(h,J.a,J.b),nI(h,o.a,o.b)}function _9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(e.Ug("Label dummy removal",1),r=Rt(Ht(X(t,(De(),Y5)))),s=Rt(Ht(X(t,O3))),k=u(X(t,ph),88),m=new G(t.b);m.a<m.c.c.length;)for(d=u(et(m),30),A=new La(d.a,0);A.b<A.d.gc();)T=(ur(A.b<A.d.gc()),u(A.d.Xb(A.c=A.b++),10)),T.k==(Un(),Vc)&&(P=u(X(T,(oe(),Li)),18),U=Rt(Ht(X(P,Hp))),h=$t(X(T,Gk))===$t((uh(),h2)),n=new io(T.n),h&&(n.b+=U+r),o=new ae(T.o.a,T.o.b+(T.k==Vc&&!wE(_i(u(X(T,IA),15).Oc(),new Sl(new OB))).Bd((U2(),Rk))?0:-U-r)),$=u(X(T,IA),15),k==(Rs(),Gh)||k==kd?Oxn($,n,s,o,h,k):zbn($,n,s,o),Hs(P.b,$),_ct(T,$t(X(t,zg))===$t((Lg(),IP))),Kl(A));e.Vg()}function A9n(t){t.q||(t.q=!0,t.p=Tc(t,0),t.a=Tc(t,1),Vi(t.a,0),t.f=Tc(t,2),Vi(t.f,1),fs(t.f,2),t.n=Tc(t,3),fs(t.n,3),fs(t.n,4),fs(t.n,5),fs(t.n,6),t.g=Tc(t,4),Vi(t.g,7),fs(t.g,8),t.c=Tc(t,5),Vi(t.c,7),Vi(t.c,8),t.i=Tc(t,6),Vi(t.i,9),Vi(t.i,10),Vi(t.i,11),Vi(t.i,12),fs(t.i,13),t.j=Tc(t,7),Vi(t.j,9),t.d=Tc(t,8),Vi(t.d,3),Vi(t.d,4),Vi(t.d,5),Vi(t.d,6),fs(t.d,7),fs(t.d,8),fs(t.d,9),fs(t.d,10),t.b=Tc(t,9),fs(t.b,0),fs(t.b,1),t.e=Tc(t,10),fs(t.e,1),fs(t.e,2),fs(t.e,3),fs(t.e,4),Vi(t.e,5),Vi(t.e,6),Vi(t.e,7),Vi(t.e,8),Vi(t.e,9),Vi(t.e,10),fs(t.e,11),t.k=Tc(t,11),fs(t.k,0),fs(t.k,1),t.o=di(t,12),t.s=di(t,13))}function Qkt(t,e){e.dc()&&S0(t.j,!0,!0,!0,!0),Ti(e,(ve(),e1))&&S0(t.j,!0,!0,!0,!1),Ti(e,Kh)&&S0(t.j,!1,!0,!0,!0),Ti(e,wh)&&S0(t.j,!0,!0,!1,!0),Ti(e,wf)&&S0(t.j,!0,!1,!0,!0),Ti(e,yl)&&S0(t.j,!1,!0,!0,!1),Ti(e,Wh)&&S0(t.j,!1,!0,!1,!0),Ti(e,mh)&&S0(t.j,!0,!1,!1,!0),Ti(e,n1)&&S0(t.j,!0,!1,!0,!1),Ti(e,Gu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Ou)&&S0(t.j,!0,!0,!0,!0),Ti(e,Gu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Uu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Ku)&&S0(t.j,!0,!0,!0,!0),Ti(e,xl)&&S0(t.j,!0,!0,!0,!0),Ti(e,fu)&&S0(t.j,!0,!0,!0,!0)}function upe(t,e,n){var r,s,o,h,d,m,k,T,A;if(t.a!=e.jk())throw at(new zn(lT+e.xe()+fv));if(r=Lp((il(),ja),e).Jl(),r)return r.jk().wi().ri(r,n);if(h=Lp(ja,e).Ll(),h){if(n==null)return null;if(d=u(n,15),d.dc())return"";for(A=new dp,o=d.Kc();o.Ob();)s=o.Pb(),Mo(A,h.jk().wi().ri(h,s)),A.a+=" ";return Wrt(A,A.a.length-1)}if(T=Lp(ja,e).Ml(),!T.dc()){for(k=T.Kc();k.Ob();)if(m=u(k.Pb(),156),m.fk(n))try{if(A=m.jk().wi().ri(m,n),A!=null)return A}catch(P){if(P=es(P),!Lt(P,103))throw at(P)}throw at(new zn("Invalid value: '"+n+"' for datatype :"+e.xe()))}return u(e,847).ok(),n==null?null:Lt(n,180)?""+u(n,180).a:Wl(n)==OU?iJt(TL[0],u(n,206)):rc(n)}function L9n(t){var e,n,r,s,o,h,d,m,k,T;for(k=new Ki,d=new Ki,o=new G(t);o.a<o.c.c.length;)r=u(et(o),131),r.v=0,r.n=r.i.c.length,r.u=r.t.c.length,r.n==0&&hs(k,r,k.c.b,k.c),r.u==0&&r.r.a.gc()==0&&hs(d,r,d.c.b,d.c);for(h=-1;k.b!=0;)for(r=u(Tot(k,0),131),n=new G(r.t);n.a<n.c.c.length;)e=u(et(n),274),T=e.b,T.v=b.Math.max(T.v,r.v+1),h=b.Math.max(h,T.v),--T.n,T.n==0&&hs(k,T,k.c.b,k.c);if(h>-1){for(s=Dr(d,0);s.b!=s.d.c;)r=u(Ar(s),131),r.v=h;for(;d.b!=0;)for(r=u(Tot(d,0),131),n=new G(r.i);n.a<n.c.c.length;)e=u(et(n),274),m=e.a,m.r.a.gc()==0&&(m.v=b.Math.min(m.v,r.v-1),--m.u,m.u==0&&hs(d,m,d.c.b,d.c))}}function D9n(t){var e,n,r,s,o,h,d,m,k,T;for(k=new fe,d=new fe,h=new G(t);h.a<h.c.c.length;)s=u(et(h),118),H(s,s.f.c.length),q(s,s.k.c.length),s.d==0&&In(k.c,s),s.i==0&&s.e.b==0&&In(d.c,s);for(r=-1;k.c.length!=0;)for(s=u(Ep(k,0),118),n=new G(s.k);n.a<n.c.c.length;)e=u(et(n),132),T=e.b,W(T,b.Math.max(T.o,s.o+1)),r=b.Math.max(r,T.o),H(T,T.d-1),T.d==0&&In(k.c,T);if(r>-1){for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),118),s.o=r;for(;d.c.length!=0;)for(s=u(Ep(d,0),118),n=new G(s.f);n.a<n.c.c.length;)e=u(et(n),132),m=e.a,!(m.e.b>0)&&(W(m,b.Math.min(m.o,s.o-1)),q(m,m.i-1),m.i==0&&In(d.c,m))}}function lpe(t,e,n,r,s){var o,h,d,m;return m=Zi,h=!1,d=zkt(t,ia(new ae(e.a,e.b),t),ki(new ae(n.a,n.b),s),ia(new ae(r.a,r.b),n)),o=!!d&&!(b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv||b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv),d=zkt(t,ia(new ae(e.a,e.b),t),n,s),d&&((b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv)==(b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv)||o?m=b.Math.min(m,RS(ia(d,n))):h=!0),d=zkt(t,ia(new ae(e.a,e.b),t),r,s),d&&(h||(b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv)==(b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv)||o)&&(m=b.Math.min(m,RS(ia(d,r)))),m}function hpe(t){wm(t,new dw(p$(gm(hm(dm(fm(new G1,Yb),c2e),"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 U1),Du))),le(t,Yb,Y_,Se(kCt)),le(t,Yb,OV,(Pn(),!0)),le(t,Yb,_5,Se(K3e)),le(t,Yb,Ik,Se(W3e)),le(t,Yb,Mk,Se(Y3e)),le(t,Yb,nT,Se(G3e)),le(t,Yb,X_,Se(TCt)),le(t,Yb,rT,Se(X3e)),le(t,Yb,K8t,Se(xCt)),le(t,Yb,Y8t,Se(vCt)),le(t,Yb,X8t,Se(yCt)),le(t,Yb,Q8t,Se(ECt)),le(t,Yb,W8t,Se(YU))}function M9n(t){var e,n,r,s,o,h,d,m;for(e=null,r=new G(t);r.a<r.c.c.length;)n=u(et(r),239),Rt(td(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!e&&(e=new fe),In(e.c,n));if(e)for(;e.c.length!=0;){if(n=u(Ep(e,0),239),n.b&&n.b.c.length>0){for(o=(!n.b&&(n.b=new fe),new G(n.b));o.a<o.c.c.length;)if(s=u(et(o),239),MM(td(s.g,s.d[0]).a)==MM(td(n.g,n.d[0]).a)){if(Xo(t,s,0)>Xo(t,n,0))return new Ws(s,n)}else if(Rt(td(s.g,s.d[0]).a)>Rt(td(n.g,n.d[0]).a))return new Ws(s,n)}for(d=(!n.e&&(n.e=new fe),n.e).Kc();d.Ob();)h=u(d.Pb(),239),m=(!h.b&&(h.b=new fe),h.b),Fy(0,m.c.length),sS(m.c,0,n),h.c==m.c.length&&In(e.c,h)}return null}function I9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(e.Ug("Interactive crossing minimization",1),h=0,o=new G(t.b);o.a<o.c.c.length;)r=u(et(o),30),r.p=h++;for(P=Uxt(t),tt=new ywt(P.length),$ge(new hl(lt(ut(N4e,1),Ln,230,0,[tt])),P),J=0,h=0,s=new G(t.b);s.a<s.c.c.length;){for(r=u(et(s),30),n=0,A=0,T=new G(r.a);T.a<T.c.c.length;)for(m=u(et(T),10),m.n.a>0&&(n+=m.n.a+m.o.a/2,++A),U=new G(m.j);U.a<U.c.c.length;)$=u(et(U),12),$.p=J++;for(A>0&&(n/=A),ht=Vt(ma,No,28,r.a.c.length,15,1),d=0,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),m.p=d++,ht[m.p]=k9n(m,n),m.k==(Un(),fa)&&Zt(m,(oe(),e_t),ht[m.p]);mn(),Ds(r.a,new mUt(ht)),G0e(tt,P,h,!0),++h}e.Vg()}function $_(t,e){var n,r,s,o,h,d,m,k,T;if(e.e==5){spe(t,e);return}if(k=e,!(k.b==null||t.b==null)){for(g5(t),R_(t),g5(k),R_(k),n=Vt(Fr,ii,28,t.b.length+k.b.length,15,1),T=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],m=k.b[h+1],o<d)n[T++]=t.b[r++],n[T++]=t.b[r++];else if(o>=d&&s<=m)d<=s&&o<=m?r+=2:d<=s?(t.b[r]=m+1,h+=2):o<=m?(n[T++]=s,n[T++]=d-1,r+=2):(n[T++]=s,n[T++]=d-1,t.b[r]=m+1,h+=2);else if(m<s)h+=2;else throw at(new uc("Token#subtractRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] - ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[T++]=t.b[r++],n[T++]=t.b[r++];t.b=Vt(Fr,ii,28,T,15,1),Xc(n,0,t.b,0,T)}}function fpe(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(d=b5(e,!1,!1),ht=MO(d),r&&(ht=cO(ht)),At=Rt(Ht(ne(e,(b_(),Xht)))),tt=(ur(ht.b!=0),u(ht.a.a.c,8)),A=u(jh(ht,1),8),ht.b>2?(T=new fe,Hs(T,new xp(ht,1,ht.b)),o=Jpe(T,At+t.a),Tt=new Wot(o),Qo(Tt,e),In(n.c,Tt)):r?Tt=u(tr(t.b,O0(e)),272):Tt=u(tr(t.b,qb(e)),272),m=O0(e),r&&(m=qb(e)),h=M4n(tt,m),k=At+t.a,h.a?(k+=b.Math.abs(tt.b-A.b),J=new ae(A.a,(A.b+tt.b)/2)):(k+=b.Math.abs(tt.a-A.a),J=new ae((A.a+tt.a)/2,A.b)),r?hi(t.d,e,new pxt(Tt,h,J,k)):hi(t.c,e,new pxt(Tt,h,J,k)),hi(t.b,e,Tt),U=(!e.n&&(e.n=new Jt(Po,e,1,7)),e.n),$=new Zn(U);$.e!=$.i.gc();)P=u(ar($),135),s=HO(t,P,!0,0,0),In(n.c,s)}function O9n(t){var e,n,r,s,o,h,d;if(!t.A.dc()){if(t.A.Hc((Yl(),RP))&&(u(Io(t.b,(ve(),Hn)),127).k=!0,u(Io(t.b,Er),127).k=!0,e=t.q!=(ka(),Y0)&&t.q!=hu,Qj(u(Io(t.b,Jn),127),e),Qj(u(Io(t.b,Gn),127),e),Qj(t.g,e),t.A.Hc(qw)&&(u(Io(t.b,Hn),127).j=!0,u(Io(t.b,Er),127).j=!0,u(Io(t.b,Jn),127).k=!0,u(Io(t.b,Gn),127).k=!0,t.g.k=!0)),t.A.Hc(BP))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,d=t.B.Hc((Ml(),kL)),s=not(),o=0,h=s.length;o<h;++o)r=s[o],n=u(Io(t.i,r),314),n&&(Z5t(r)?(n.j=!0,n.k=!0):(n.j=!d,n.k=!d));t.A.Hc(z3)&&t.B.Hc((Ml(),$P))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function N9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(r=new G(t.e.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)if(s=u(et(o),10),$=t.i[s.p],k=$.a.e,m=$.d.e,s.n.b=k,ht=m-k-s.o.b,e=kct(s),P=(Yy(),(s.q?s.q:(mn(),mn(),q0))._b((De(),Cv))?A=u(X(s,Cv),203):A=u(X(Pa(s),RA),203),A),e&&(P==J5||P==Q5)&&(s.o.b+=ht),e&&(P==m1t||P==J5||P==Q5)){for(J=new G(s.j);J.a<J.c.c.length;)U=u(et(J),12),(ve(),Ou).Hc(U.j)&&(T=u(tr(t.k,U),125),U.n.b=T.e-k);for(d=new G(s.b);d.a<d.c.c.length;)h=u(et(d),72),tt=u(X(s,Tv),21),tt.Hc((e3(),bf))?h.n.b+=ht:tt.Hc(W0)&&(h.n.b+=ht/2);(P==J5||P==Q5)&&gc(s,(ve(),Er)).Jc(new NUt(ht))}}function P9n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(k=new fe,m=new G(e.a);m.a<m.c.c.length;)for(h=u(et(m),10),P=gc(h,(ve(),Jn)).Kc();P.Ob();)for(A=u(P.Pb(),12),s=new G(A.g);s.a<s.c.c.length;)r=u(et(s),18),!(!go(r)&&r.c.i.c==r.d.i.c||go(r)||r.d.i.c!=n)&&In(k.c,r);for(d=Bh(n.a).Kc();d.Ob();)for(h=u(d.Pb(),10),P=gc(h,(ve(),Gn)).Kc();P.Ob();)for(A=u(P.Pb(),12),s=new G(A.e);s.a<s.c.c.length;)if(r=u(et(s),18),!(!go(r)&&r.c.i.c==r.d.i.c||go(r)||r.c.i.c!=e)&&k.c.length!=0){for(T=new La(k,k.c.length),o=(ur(T.b>0),u(T.a.Xb(T.c=--T.b),18));o!=r&&T.b>0;)t.a[o.p]=!0,t.a[r.p]=!0,o=(ur(T.b>0),u(T.a.Xb(T.c=--T.b),18));T.b>0&&Kl(T)}}function dpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(!t.b)return!1;for(h=null,P=null,m=new Rst(null,null),s=1,m.a[1]=t.b,A=m;A.a[s];)k=s,d=P,P=A,A=A.a[s],r=t.a.Ne(e,A.d),s=r<0?0:1,r==0&&(!n.c||Nc(A.e,n.d))&&(h=A),!(A&&A.b)&&!vy(A.a[s])&&(vy(A.a[1-s])?P=P.a[k]=Wq(A,s):vy(A.a[1-s])||($=P.a[1-k],$&&(!vy($.a[1-k])&&!vy($.a[k])?(P.b=!1,$.b=!0,A.b=!0):(o=d.a[1]==P?1:0,vy($.a[k])?d.a[o]=qre(P,k):vy($.a[1-k])&&(d.a[o]=Wq(P,k)),A.b=d.a[o].b=!0,d.a[o].a[0].b=!1,d.a[o].a[1].b=!1))));return h&&(n.b=!0,n.d=h.e,A!=h&&(T=new Rst(A.d,A.e),F3n(t,m,h,T),P==h&&(P=T)),P.a[P.a[1]==A?1:0]=A.a[A.a[0]?0:1],--t.c),t.b=m.a[1],t.b&&(t.b.b=!1),n.b}function F9n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(s=new G(t.a.a.b);s.a<s.c.c.length;)for(r=u(et(s),60),m=r.c.Kc();m.Ob();)d=u(m.Pb(),60),r.a!=d.a&&(bg(t.a.d)?A=t.a.g.ff(r,d):A=t.a.g.gf(r,d),o=r.b.a+r.d.b+A-d.b.a,o=b.Math.ceil(o),o=b.Math.max(0,o),e4t(r,d)?(h=km(new H2,t.d),k=Ys(b.Math.ceil(d.b.a-r.b.a)),e=k-(d.b.a-r.b.a),T=ek(r).a,n=r,T||(T=ek(d).a,e=-e,n=d),T&&(n.b.a-=e,T.n.a-=e),Hf(Of(If(Nf(Mf(new tf,b.Math.max(0,k)),1),h),t.c[r.a.d])),Hf(Of(If(Nf(Mf(new tf,b.Math.max(0,-k)),1),h),t.c[d.a.d]))):(P=1,(Lt(r.g,154)&&Lt(d.g,10)||Lt(d.g,154)&&Lt(r.g,10))&&(P=2),Hf(Of(If(Nf(Mf(new tf,Ys(o)),P),t.c[r.a.d]),t.c[d.a.d]))))}function gpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(n)for(r=-1,T=new La(e,0);T.b<T.d.gc();){if(d=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),10)),A=t.c[d.c.p][d.p].a,A==null){for(h=r+1,o=new La(e,T.b);o.b<o.d.gc();)if(P=csn(t,(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),10))).a,P!=null){h=(Wn(P),P);break}A=(r+h)/2,t.c[d.c.p][d.p].a=A,t.c[d.c.p][d.p].d=(Wn(A),A),t.c[d.c.p][d.p].b=1}r=(Wn(A),A)}else{for(s=0,k=new G(e);k.a<k.c.c.length;)d=u(et(k),10),t.c[d.c.p][d.p].a!=null&&(s=b.Math.max(s,Rt(t.c[d.c.p][d.p].a)));for(s+=2,m=new G(e);m.a<m.c.c.length;)d=u(et(m),10),t.c[d.c.p][d.p].a==null&&(A=Dl(t.i,24)*lN*s-1,t.c[d.c.p][d.p].a=A,t.c[d.c.p][d.p].d=A,t.c[d.c.p][d.p].b=1)}}function B9n(t,e,n){var r,s,o,h,d,m,k,T,A;for(!n&&(n=Gpn(e.q.getTimezoneOffset())),s=(e.q.getTimezoneOffset()-n.a)*6e4,d=new avt(Qa(Pc(e.q.getTime()),s)),m=d,d.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(s>0?s-=864e5:s+=864e5,m=new avt(Qa(Pc(e.q.getTime()),s))),T=new I4,k=t.a.length,o=0;o<k;)if(r=Va(t.a,o),r>=97&&r<=122||r>=65&&r<=90){for(h=o+1;h<k&&Va(t.a,h)==r;++h);FSn(T,r,h-o,d,m,n),o=h}else if(r==39){if(++o,o<k&&Va(t.a,o)==39){T.a+="'",++o;continue}for(A=!1;!A;){for(h=o;h<k&&Va(t.a,h)!=39;)++h;if(h>=k)throw at(new zn("Missing trailing '"));h+1<k&&Va(t.a,h+1)==39?++h:A=!0,ni(T,Lh(t.a,o,h)),o=h+1}}else T.a+=String.fromCharCode(r),++o;return T.a}function R9n(){ui(V3,new oet),ui(ci,new fet),ui(mf,new pet),ui(B1,new m1),ui(n0t,new CC),ui(YK,new Y1),ui(Vg,new X1),ui(EL,new bet),ui(HP,new JR),ui(Xdt,new ZR),ui(p2,new tj),ui(vf,new ej),ui(F1,new nj),ui(Ov,new rj),ui(U3,new w1),ui(Wu,new Bu),ui(H3,new set),ui(Mc,new aet),ui(Do,new Ru),ui(Nu,new yC),ui(ys,new ij),ui(ut(ul,1),new sj),ui(Fk,new h6),ui(vA,new cet),ui(OU,new X8),ui(pOt,new uet),ui(zs,new aj),ui(DIt,new het),ui(OIt,new xC),ui(nOt,new oj),ui(XK,new hM),ui(wT,new kC),ui(Ra,new det),ui(t9t,new get),ui(gv,new fM),ui(e9t,new EC),ui(JIt,new W1),ui(bOt,new Q8),ui(pv,new J8),ui(Pe,new dM),ui(IIt,new R2),ui(wOt,new TC)}function ppe(t,e){var n,r,s,o,h,d,m,k,T;if(t==null)return Vu;if(m=e.a.zc(t,e),m!=null)return"[...]";for(n=new aw(ao,"[","]"),s=t,o=0,h=s.length;o<h;++o)r=s[o],r!=null&&Wl(r).i&4?Array.isArray(r)&&(T=WI(r),!(T>=14&&T<=16))?e.a._b(r)?(n.a?ni(n.a,n.b):n.a=new eh(n.d),mS(n.a,"[...]")):(d=nw(r),k=new LS(e),Eg(n,ppe(d,k))):Lt(r,183)?Eg(n,g5n(u(r,183))):Lt(r,195)?Eg(n,Zyn(u(r,195))):Lt(r,201)?Eg(n,u4n(u(r,201))):Lt(r,2111)?Eg(n,t3n(u(r,2111))):Lt(r,53)?Eg(n,d5n(u(r,53))):Lt(r,376)?Eg(n,M5n(u(r,376))):Lt(r,846)?Eg(n,f5n(u(r,846))):Lt(r,109)&&Eg(n,h5n(u(r,109))):Eg(n,r==null?Vu:rc(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function q7(t,e){var n,r,s,o;o=t.F,e==null?(t.F=null,p7(t,null)):(t.F=(Wn(e),e),r=$d(e,Hu(60)),r!=-1?(s=(Da(0,r,e.length),e.substr(0,r)),$d(e,Hu(46))==-1&&!hn(s,kk)&&!hn(s,lA)&&!hn(s,wU)&&!hn(s,hA)&&!hn(s,fA)&&!hn(s,dA)&&!hn(s,gA)&&!hn(s,pA)&&(s=Yme),n=cz(e,Hu(62)),n!=-1&&(s+=""+(qn(n+1,e.length+1),e.substr(n+1))),p7(t,s)):(s=e,$d(e,Hu(46))==-1&&(r=$d(e,Hu(91)),r!=-1&&(s=(Da(0,r,e.length),e.substr(0,r))),!hn(s,kk)&&!hn(s,lA)&&!hn(s,wU)&&!hn(s,hA)&&!hn(s,fA)&&!hn(s,dA)&&!hn(s,gA)&&!hn(s,pA)?(s=Yme,r!=-1&&(s+=""+(qn(r,e.length+1),e.substr(r)))):s=e),p7(t,s),s==e&&(t.F=t.D))),t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,5,o,e))}function bpe(t,e){var n,r,s,o,h,d,m,k,T,A;if(m=e.length-1,d=(qn(m,e.length),e.charCodeAt(m)),d==93){if(h=$d(e,Hu(91)),h>=0)return s=z2n(t,(Da(1,h,e.length),e.substr(1,h-1))),T=(Da(h+1,m,e.length),e.substr(h+1,m-(h+1))),dSn(t,T,s)}else{if(n=-1,h9t==null&&(h9t=new RegExp("\\d")),h9t.test(String.fromCharCode(d))&&(n=Tvt(e,Hu(46),m-1),n>=0)){r=u(Ist(t,roe(t,(Da(1,n,e.length),e.substr(1,n-1))),!1),61),k=0;try{k=lh((qn(n+1,e.length+1),e.substr(n+1)),Ga,xi)}catch(P){throw P=es(P),Lt(P,130)?(o=P,at(new _q(o))):at(P)}if(k<r.gc())return A=r.Xb(k),Lt(A,76)&&(A=u(A,76).md()),u(A,58)}if(n<0)return u(Ist(t,roe(t,(qn(1,e.length+1),e.substr(1))),!1),58)}return null}function j9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(e.Ug("Label dummy insertions",1),A=new fe,h=Rt(Ht(X(t,(De(),Y5)))),k=Rt(Ht(X(t,O3))),T=u(X(t,ph),88),$=new G(t.a);$.a<$.c.c.length;)for(P=u(et($),10),o=new rr(sr(_s(P).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),s.c.i!=s.d.i&&eit(s.b,E4e)){for(J=agn(s),U=C0(s.b.c.length),n=b6n(t,s,J,U),In(A.c,n),r=n.o,d=new La(s.b,0);d.b<d.d.gc();)m=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),72)),$t(X(m,l0))===$t((cd(),GT))&&(T==(Rs(),Gh)||T==kd?(r.a+=m.o.a+k,r.b=b.Math.max(r.b,m.o.b)):(r.a=b.Math.max(r.a,m.o.a),r.b+=m.o.b+k),In(U.c,m),Kl(d));T==(Rs(),Gh)||T==kd?(r.a-=k,r.b+=h+J):r.b+=h-k+J}Hs(t.a,A),e.Vg()}function $9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(t.c=t.e,U=Me(X(e,(De(),C6e))),$=U==null||(Wn(U),U),o=u(X(e,(oe(),lu)),21).Hc((Co(),Uh)),s=u(X(e,bs),101),n=!(s==(ka(),zw)||s==Y0||s==hu),$&&(n||!o)){for(A=new G(e.a);A.a<A.c.c.length;)k=u(et(A),10),k.p=0;for(P=new fe,T=new G(e.a);T.a<T.c.c.length;)if(k=u(et(T),10),r=Z0e(t,k,null),r){for(m=new y4t,Qo(m,e),Zt(m,$g,u(r.b,21)),Gyt(m.d,e.d),Zt(m,IT,null),d=u(r.a,15).Kc();d.Ob();)h=u(d.Pb(),10),ge(m.a,h),h.a=m;P.Fc(m)}o&&($t(X(e,_3))===$t((lw(),uft))?t.c=t.b:$t(X(e,_3))===$t(lft)?t.c=t.d:t.c=t.a)}else P=new hl(lt(ut(g4e,1),l2e,36,0,[e]));return $t(X(e,_3))!==$t((lw(),x3))&&(mn(),P.jd(new MB)),P}function H7(t,e,n){var r,s,o,h,d,m,k;if(k=t.c,!e&&(e=qIt),t.c=e,t.Db&4&&!(t.Db&1)&&(m=new ha(t,1,2,k,t.c),n?n.nj(m):n=m),k!=e){if(Lt(t.Cb,291))t.Db>>16==-10?n=u(t.Cb,291).Yk(e,n):t.Db>>16==-15&&(!e&&(e=(wn(),Sd)),!k&&(k=(wn(),Sd)),t.Cb.Yh()&&(m=new Tg(t.Cb,1,13,k,e,Np(Al(u(t.Cb,62)),t),!1),n?n.nj(m):n=m));else if(Lt(t.Cb,90))t.Db>>16==-23&&(Lt(e,90)||(e=(wn(),xf)),Lt(k,90)||(k=(wn(),xf)),t.Cb.Yh()&&(m=new Tg(t.Cb,1,10,k,e,Np(Wc(u(t.Cb,29)),t),!1),n?n.nj(m):n=m));else if(Lt(t.Cb,456))for(d=u(t.Cb,850),h=(!d.b&&(d.b=new s$(new Gnt)),d.b),o=(r=new sw(new mr(h.a).a),new a$(r));o.a.b;)s=u(Um(o.a).ld(),89),n=H7(s,QH(s,d),n)}return n}function z9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(h=Ie(Me(ne(t,(De(),L3)))),P=u(ne(t,M3),21),m=!1,k=!1,A=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));A.e!=A.i.gc()&&(!m||!k);){for(o=u(ar(A),123),d=0,s=A0(ah(lt(ut(gh,1),Ln,20,0,[(!o.d&&(o.d=new kn(Ts,o,8,5)),o.d),(!o.e&&(o.e=new kn(Ts,o,7,4)),o.e)])));Mr(s)&&(r=u(dr(s),74),T=h&&Zm(r)&&Ie(Me(ne(r,Mw))),n=Wge((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),o)?t==Ji(Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))):t==Ji(Jo(u(Dt((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),0),84))),!((T||n)&&(++d,d>1))););(d>0||P.Hc((wl(),Hg))&&(!o.n&&(o.n=new Jt(Po,o,1,7)),o.n).i>0)&&(m=!0),d>1&&(k=!0)}m&&e.Fc((Co(),Uh)),k&&e.Fc((Co(),LA))}function wpe(t){var e,n,r,s,o,h,d,m,k,T,A,P;if(P=u(ne(t,(ai(),jw)),21),P.dc())return null;if(d=0,h=0,P.Hc((Yl(),RP))){for(T=u(ne(t,fL),101),r=2,n=2,s=2,o=2,e=Ji(t)?u(ne(Ji(t),Rw),88):u(ne(t,Rw),88),k=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));k.e!=k.i.gc();)if(m=u(ar(k),123),A=u(ne(m,hx),64),A==(ve(),bc)&&(A=Pkt(m,e),Mi(m,hx,A)),T==(ka(),hu))switch(A.g){case 1:r=b.Math.max(r,m.i+m.g);break;case 2:n=b.Math.max(n,m.j+m.f);break;case 3:s=b.Math.max(s,m.i+m.g);break;case 4:o=b.Math.max(o,m.j+m.f)}else switch(A.g){case 1:r+=m.g+2;break;case 2:n+=m.f+2;break;case 3:s+=m.g+2;break;case 4:o+=m.f+2}d=b.Math.max(r,s),h=b.Math.max(n,o)}return rv(t,d,h,!0,!0)}function Act(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(Tt=u(nc(Pq(_i(new ln(null,new gn(e.d,16)),new aUt(n)),new oUt(n)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),A=xi,T=Ga,m=new G(e.b.j);m.a<m.c.c.length;)d=u(et(m),12),d.j==n&&(A=b.Math.min(A,d.p),T=b.Math.max(T,d.p));if(A==xi)for(h=0;h<Tt.gc();h++)Y3t(u(Tt.Xb(h),105),n,h);else for(At=Vt(Fr,ii,28,s.length,15,1),Bun(At,At.length),ht=Tt.Kc();ht.Ob();){for(tt=u(ht.Pb(),105),o=u(tr(t.b,tt),183),k=0,J=A;J<=T;J++)o[J]&&(k=b.Math.max(k,r[J]));if(tt.i){for($=tt.i.c,Bt=new Os,P=0;P<s.length;P++)s[$][P]&&qs(Bt,he(At[P]));for(;x1(Bt,he(k));)++k}for(Y3t(tt,n,k),U=A;U<=T;U++)o[U]&&(r[U]=k+1);tt.i&&(At[tt.i.c]=k)}}function q9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(s=null,r=new G(e.a);r.a<r.c.c.length;)n=u(et(r),10),kct(n)?o=(d=km(RM(new H2,n),t.f),m=km(RM(new H2,n),t.f),k=new Vyt(n,!0,d,m),T=n.o.b,A=(Yy(),(n.q?n.q:(mn(),mn(),q0))._b((De(),Cv))?P=u(X(n,Cv),203):P=u(X(Pa(n),RA),203),P),$=1e4,A==Q5&&($=1),U=Hf(Of(If(Mf(Nf(new tf,$),Ys(b.Math.ceil(T))),d),m)),A==J5&&qs(t.d,U),J0e(t,Bh(gc(n,(ve(),Gn))),k),J0e(t,gc(n,Jn),k),k):o=(J=km(RM(new H2,n),t.f),ms(_i(new ln(null,new gn(n.j,16)),new QJ),new EXt(t,J)),new Vyt(n,!1,J,J)),t.i[n.p]=o,s&&(h=s.c.d.a+U4(t.n,s.c,n)+n.d.d,s.b||(h+=s.c.o.b),Hf(Of(If(Nf(Mf(new tf,Ys(b.Math.ceil(h))),0),s.d),o.a))),s=o}function H9n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;for(o=new F1e(e),A=m8n(t,e,o),$=b.Math.max(Rt(Ht(X(e,(De(),Hp)))),1),T=new G(A.a);T.a<T.c.c.length;)k=u(et(T),42),m=Ple(u(k.a,8),u(k.b,8),$),E=!0,E=E&Cm(n,new ae(m.c,m.d)),E=E&Cm(n,Tm(new ae(m.c,m.d),m.b,0)),E=E&Cm(n,Tm(new ae(m.c,m.d),0,m.a)),E&Cm(n,Tm(new ae(m.c,m.d),m.b,m.a));switch(P=o.d,d=Ple(u(A.b.a,8),u(A.b.b,8),$),P==(ve(),Gn)||P==Jn?(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)),s=Vs,h=o.c.i.d,P.g){case 4:s=h.c;break;case 2:s=h.b;break;case 1:s=h.a;break;case 3:s=h.d}return r.a[P.g]=b.Math.max(r.a[P.g],s),o}function V9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;d=u(tr(e.c,t),467),Tt=e.a.c,m=e.a.c+e.a.b,Ze=d.f,On=d.a,h=Ze<On,J=new ae(Tt,Ze),At=new ae(m,On),s=(Tt+m)/2,tt=new ae(s,Ze),Bt=new ae(s,On),o=q6n(t,Ze,On),se=rd(e.B),Ce=new ae(s,o),rn=rd(e.D),n=Xpn(lt(ut(la,1),ue,8,0,[se,Ce,rn])),$=!1,ht=e.B.i,ht&&ht.c&&d.d&&(k=h&&ht.p<ht.c.a.c.length-1||!h&&ht.p>0,k?k&&(P=ht.p,h?++P:--P,A=u(Oe(ht.c.a,P),10),r=$ce(A),$=!(Jot(r,se,n[0])||lee(r,se,n[0]))):$=!0),U=!1,Wt=e.D.i,Wt&&Wt.c&&d.e&&(T=h&&Wt.p>0||!h&&Wt.p<Wt.c.a.c.length-1,T?(P=Wt.p,h?--P:++P,A=u(Oe(Wt.c.a,P),10),r=$ce(A),U=!(Jot(r,n[0],rn)||lee(r,n[0],rn))):U=!0),$&&U&&Zr(t.a,Ce),$||XS(t.a,lt(ut(la,1),ue,8,0,[J,tt])),U||XS(t.a,lt(ut(la,1),ue,8,0,[Bt,At]))}function U9n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for($=e.c.length,P=0,A=new G(t.b);A.a<A.c.c.length;)if(T=u(et(A),30),ht=T.a,ht.c.length!=0){for(tt=new G(ht),k=0,Tt=null,s=u(et(tt),10),o=null;s;){if(o=u(Oe(e,s.p),261),o.c>=0){for(m=null,d=new La(T.a,k+1);d.b<d.d.gc()&&(h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),10)),m=u(Oe(e,h.p),261),!(m.d==o.d&&m.c<o.c));)m=null;m&&(Tt&&(Mh(r,s.p,he(u(Oe(r,s.p),17).a-1)),u(Oe(n,Tt.p),15).Mc(o)),o=u3n(o,s,$++),In(e.c,o),ge(n,new fe),Tt?(u(Oe(n,Tt.p),15).Fc(o),ge(r,he(1))):ge(r,he(0)))}U=null,tt.a<tt.c.c.length&&(U=u(et(tt),10),J=u(Oe(e,U.p),261),u(Oe(n,s.p),15).Fc(J),Mh(r,U.p,he(u(Oe(r,U.p),17).a+1))),o.d=P,o.c=k++,Tt=s,s=U}++P}}function G9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(o=u(X(t,(oe(),Li)),74),!!o){for(r=t.a,s=new io(n),ki(s,wyn(t)),a7(t.d.i,t.c.i)?(P=t.c,A=dc(lt(ut(la,1),ue,8,0,[P.n,P.a])),ia(A,n)):A=rd(t.c),hs(r,A,r.a,r.a.a),$=rd(t.d),X(t,Qft)!=null&&ki($,u(X(t,Qft),8)),hs(r,$,r.c.b,r.c),Vy(r,s),h=b5(o,!0,!0),Vq(h,u(Dt((!o.b&&(o.b=new kn(vr,o,4,7)),o.b),0),84)),Uq(h,u(Dt((!o.c&&(o.c=new kn(vr,o,5,8)),o.c),0),84)),KO(r,h),T=new G(t.b);T.a<T.c.c.length;)k=u(et(T),72),d=u(X(k,Li),135),qm(d,k.o.a),zm(d,k.o.b),Ch(d,k.n.a+s.a,k.n.b+s.b),Mi(d,(ok(),bft),Me(X(k,bft)));m=u(X(t,(De(),Vo)),75),m?(Vy(m,s),Mi(o,Vo,m)):Mi(o,Vo,null),e==(Lg(),e8)?Mi(o,zg,e8):Mi(o,zg,null)}}function mpe(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;if(n.c.length!=0){for(U=new fe,$=new G(n);$.a<$.c.c.length;)P=u(et($),27),ge(U,new ae(P.i,P.j));for(r.dh(e,"Before removing overlaps");s6t(t,n);)YH(t,n,!1);if(r.dh(e,"After removing overlaps"),d=0,m=0,s=null,n.c.length!=0&&(s=(vn(0,n.c.length),u(n.c[0],27)),d=s.i-(vn(0,U.c.length),u(U.c[0],8)).a,m=s.j-(vn(0,U.c.length),u(U.c[0],8)).b),h=b.Math.sqrt(d*d+m*m),A=Rbn(n),o=1,A.a.gc()!=0){for(T=A.a.ec().Kc();T.Ob();)k=u(T.Pb(),27),J=t.f,tt=J.i+J.g/2,ht=J.j+J.f/2,Tt=k.i+k.g/2,At=k.j+k.f/2,Bt=Tt-tt,Wt=At-ht,se=b.Math.sqrt(Bt*Bt+Wt*Wt),Ce=Bt/se,rn=Wt/se,Su(k,k.i+Ce*h),_u(k,k.j+rn*h);r.dh(e,"Child movement "+o),++o}t.a&&t.a.Gg(new fl(A)),mpe(t,e,new fl(A),r)}}function Lct(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;return m=t,T=ia(new ae(e.a,e.b),t),k=n,A=ia(new ae(r.a,r.b),n),P=m.a,tt=m.b,U=k.a,Tt=k.b,$=T.a,ht=T.b,J=A.a,At=A.b,s=J*ht-$*At,Z1(),$f(s0),b.Math.abs(0-s)<=s0||s==0||isNaN(0)&&isNaN(s)?!1:(h=1/s*((P-U)*ht-(tt-Tt)*$),d=1/s*-(-(P-U)*At+(tt-Tt)*J),o=($f(s0),(b.Math.abs(0-h)<=s0||h==0||isNaN(0)&&isNaN(h)?0:0<h?-1:0>h?1:ym(isNaN(0),isNaN(h)))<0&&($f(s0),(b.Math.abs(h-1)<=s0||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:ym(isNaN(h),isNaN(1)))<0)&&($f(s0),(b.Math.abs(0-d)<=s0||d==0||isNaN(0)&&isNaN(d)?0:0<d?-1:0>d?1:ym(isNaN(0),isNaN(d)))<0)&&($f(s0),(b.Math.abs(d-1)<=s0||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:ym(isNaN(d),isNaN(1)))<0)),o)}function K9n(t){var e,n,r,s;if(n=t.D!=null?t.D:t.B,e=$d(n,Hu(91)),e!=-1){r=(Da(0,e,n.length),n.substr(0,e)),s=new dp;do s.a+="[";while((e=TE(n,91,++e))!=-1);hn(r,kk)?s.a+="Z":hn(r,lA)?s.a+="B":hn(r,wU)?s.a+="C":hn(r,hA)?s.a+="D":hn(r,fA)?s.a+="F":hn(r,dA)?s.a+="I":hn(r,gA)?s.a+="J":hn(r,pA)?s.a+="S":(s.a+="L",s.a+=""+r,s.a+=";");try{return null}catch(o){if(o=es(o),!Lt(o,63))throw at(o)}}else if($d(n,Hu(46))==-1){if(hn(n,kk))return Fl;if(hn(n,lA))return ul;if(hn(n,wU))return Yh;if(hn(n,hA))return ma;if(hn(n,fA))return Y3;if(hn(n,dA))return Fr;if(hn(n,gA))return x2;if(hn(n,pA))return wx}return null}function W9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(t.e=e,d=W5n(e),se=new fe,r=new G(d);r.a<r.c.c.length;){for(n=u(et(r),15),Ce=new fe,In(se.c,Ce),m=new Os,U=n.Kc();U.Ob();){for($=u(U.Pb(),27),o=HO(t,$,!0,0,0),In(Ce.c,o),J=$.i,tt=$.j,P=(!$.n&&($.n=new Jt(Po,$,1,7)),$.n),A=new Zn(P);A.e!=A.i.gc();)k=u(ar(A),135),s=HO(t,k,!1,J,tt),In(Ce.c,s);for(Wt=(!$.c&&($.c=new Jt(kl,$,9,9)),$.c),Tt=new Zn(Wt);Tt.e!=Tt.i.gc();)for(ht=u(ar(Tt),123),h=HO(t,ht,!1,J,tt),In(Ce.c,h),At=ht.i+J,Bt=ht.j+tt,P=(!ht.n&&(ht.n=new Jt(Po,ht,1,7)),ht.n),T=new Zn(P);T.e!=T.i.gc();)k=u(ar(T),135),s=HO(t,k,!1,At,Bt),In(Ce.c,s);Ma(m,Zz(ah(lt(ut(gh,1),Ln,20,0,[Og($),jO($)]))))}P6n(t,m,Ce)}return t.f=new _Wt(se),Qo(t.f,e),t.f}function Y9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(A=new Oyt(new oc(t));A.c!=A.d.a.d;)for(T=Aae(A),d=u(T.d,58),e=u(T.e,58),h=d.Dh(),J=0,Bt=(h.i==null&&Qd(h),h.i).length;J<Bt;++J)if(k=(o=(h.i==null&&Qd(h),h.i),J>=0&&J<o.length?o[J]:null),k.rk()&&!k.sk()){if(Lt(k,102))m=u(k,19),!(m.Bb&Fc)&&(se=yo(m),!(se&&se.Bb&Fc))&&O7n(t,m,d,e);else if(vo(),u(k,69).xk()&&(n=(Wt=k,u(Wt?u(e,54).gi(Wt):null,160)),n))for($=u(d.Mh(k),160),r=n.gc(),tt=0,U=$.gc();tt<U;++tt)if(P=$.Tl(tt),Lt(P,102)){if(At=$.Ul(tt),s=od(t,At),s==null&&At!=null){if(Tt=u(P,19),!t.b||Tt.Bb&Fc||yo(Tt))continue;s=At}if(!n.Ol(P,s)){for(ht=0;ht<r;++ht)if(n.Tl(ht)==P&&$t(n.Ul(ht))===$t(s)){n.Ti(n.gc()-1,ht),--r;break}}}else n.Ol($.Tl(tt),$.Ul(tt))}}function X9n(t,e,n){var r;if(n.Ug("StretchWidth layering",1),e.a.c.length==0){n.Vg();return}for(t.c=e,t.t=0,t.u=0,t.i=Zi,t.g=Vs,t.d=Rt(Ht(X(e,(De(),Yf)))),bmn(t),Exn(t),kxn(t),vyn(t),ywn(t),t.i=b.Math.max(1,t.i),t.g=b.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=Mmn(t),r=new eu(t.c),ge(t.c.b,r),t.r=Rm(t.p),t.n=rq(t.k,t.k.length);t.r.c.length!=0;)t.o=jbn(t),!t.o||Hce(t)&&t.b.a.gc()!=0?(Gyn(t,r),r=new eu(t.c),ge(t.c.b,r),Ma(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):Hce(t)?(t.c.b.c.length=0,r=new eu(t.c),ge(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=Rm(t.p),t.n=rq(t.k,t.k.length)):(Aa(t.o,r),zu(t.r,t.o),qs(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c.length=0,IO(e.b),n.Vg()}function Q9n(t){var e,n,r,s,o,h,d,m,k,T,A;for(t.j=Vt(Fr,ii,28,t.g,15,1),t.o=new fe,ms(fc(new ln(null,new gn(t.e.b,16)),new iZ),new PUt(t)),t.a=Vt(Fl,$0,28,t.b,16,1),dO(new ln(null,new gn(t.e.b,16)),new BUt(t)),r=(A=new fe,ms(_i(fc(new ln(null,new gn(t.e.b,16)),new aZ),new FUt(t)),new TXt(t,A)),A),m=new G(r);m.a<m.c.c.length;)if(d=u(et(m),515),!(d.c.length<=1)){if(d.c.length==2){P5n(d),kct((vn(0,d.c.length),u(d.c[0],18)).d.i)||ge(t.o,d);continue}if(!(Qyn(d)||$4n(d,new sZ)))for(k=new G(d),s=null;k.a<k.c.c.length;)e=u(et(k),18),n=t.c[e.p],!s||k.a>=k.c.c.length?T=k3t((Un(),xs),fa):T=k3t((Un(),fa),fa),T*=2,o=n.a.g,n.a.g=b.Math.max(o,o+(T-o)),h=n.b.g,n.b.g=b.Math.max(h,h+(T-h)),s=e}}function J9n(t){var e,n,r,s;for(ms(_i(new ln(null,new gn(t.a.b,16)),new rR),new aJ),Oyn(t),ms(_i(new ln(null,new gn(t.a.b,16)),new oJ),new cJ),t.c==(Lg(),e8)&&(ms(_i(fc(new ln(null,new gn(new cr(t.f),1)),new uJ),new lJ),new ZVt(t)),ms(_i(Wo(fc(fc(new ln(null,new gn(t.d.b,16)),new hJ),new iR),new fJ),new sR),new eUt(t))),s=new ae(Zi,Zi),e=new ae(Vs,Vs),r=new G(t.a.b);r.a<r.c.c.length;)n=u(et(r),60),s.a=b.Math.min(s.a,n.d.c),s.b=b.Math.min(s.b,n.d.d),e.a=b.Math.max(e.a,n.d.c+n.d.b),e.b=b.Math.max(e.b,n.d.d+n.d.a);ki(k1(t.d.c),dz(new ae(s.a,s.b))),ki(k1(t.d.f),ia(new ae(e.a,e.b),s)),G6n(t,s,e),dl(t.f),dl(t.b),dl(t.g),dl(t.e),t.a.a.c.length=0,t.a.b.c.length=0,t.a=null,t.d=null}function bV(t,e){var n;if(t.e)throw at(new Ro((wg($ht),wut+$ht.k+mut)));if(!rin(t.a,e))throw at(new uc(Fbe+e+Bbe));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:Qm(t);break;case 1:Bb(t),Qm(t);break;case 4:h5(t),Qm(t);break;case 3:h5(t),Bb(t),Qm(t)}break;case 2:switch(e.g){case 1:Bb(t),ict(t);break;case 4:h5(t),Qm(t);break;case 3:h5(t),Bb(t),Qm(t)}break;case 1:switch(e.g){case 2:Bb(t),ict(t);break;case 4:Bb(t),h5(t),Qm(t);break;case 3:Bb(t),h5(t),Bb(t),Qm(t)}break;case 4:switch(e.g){case 2:h5(t),Qm(t);break;case 1:h5(t),Bb(t),Qm(t);break;case 3:Bb(t),ict(t)}break;case 3:switch(e.g){case 2:Bb(t),h5(t),Qm(t);break;case 1:Bb(t),h5(t),Bb(t),Qm(t);break;case 4:Bb(t),ict(t)}}return t}function x5(t,e){var n;if(t.d)throw at(new Ro((wg(cft),wut+cft.k+mut)));if(!nin(t.a,e))throw at(new uc(Fbe+e+Bbe));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:cw(t);break;case 1:Rb(t),cw(t);break;case 4:f5(t),cw(t);break;case 3:f5(t),Rb(t),cw(t)}break;case 2:switch(e.g){case 1:Rb(t),sct(t);break;case 4:f5(t),cw(t);break;case 3:f5(t),Rb(t),cw(t)}break;case 1:switch(e.g){case 2:Rb(t),sct(t);break;case 4:Rb(t),f5(t),cw(t);break;case 3:Rb(t),f5(t),Rb(t),cw(t)}break;case 4:switch(e.g){case 2:f5(t),cw(t);break;case 1:f5(t),Rb(t),cw(t);break;case 3:Rb(t),sct(t)}break;case 3:switch(e.g){case 2:Rb(t),f5(t),cw(t);break;case 1:Rb(t),f5(t),Rb(t),cw(t);break;case 4:Rb(t),sct(t)}}return t}function wV(t,e){var n,r,s,o,h,d,m,k;if(Lt(t.Eh(),167)?(wV(u(t.Eh(),167),e),e.a+=" > "):e.a+="Root ",n=t.Dh().zb,hn(n.substr(0,3),"Elk")?ni(e,(qn(3,n.length+1),n.substr(3))):e.a+=""+n,s=t.jh(),s){ni((e.a+=" ",e),s);return}if(Lt(t,366)&&(k=u(t,135).a,k)){ni((e.a+=" ",e),k);return}for(h=new Zn(t.kh());h.e!=h.i.gc();)if(o=u(ar(h),135),k=o.a,k){ni((e.a+=" ",e),k);return}if(Lt(t,326)&&(r=u(t,74),!r.b&&(r.b=new kn(vr,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new kn(vr,r,5,8)),r.c.i!=0))){for(e.a+=" (",d=new j6((!r.b&&(r.b=new kn(vr,r,4,7)),r.b));d.e!=d.i.gc();)d.e>0&&(e.a+=ao),wV(u(ar(d),167),e);for(e.a+=But,m=new j6((!r.c&&(r.c=new kn(vr,r,5,8)),r.c));m.e!=m.i.gc();)m.e>0&&(e.a+=ao),wV(u(ar(m),167),e);e.a+=")"}}function Z9n(t,e,n){var r,s,o,h,d,m,k,T;for(m=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));m.e!=m.i.gc();)for(d=u(ar(m),27),s=new rr(sr(Og(d).a.Kc(),new z));Mr(s);){if(r=u(dr(s),74),!r.b&&(r.b=new kn(vr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new kn(vr,r,5,8)),r.c.i<=1)))throw at(new L6("Graph must not contain hyperedges."));if(!S_(r)&&d!=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)))for(k=new mZt,Qo(k,r),Zt(k,(Pb(),$k),r),Dnt(k,u(Ko(Eo(n.f,d)),153)),v6(k,u(tr(n,Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))),153)),ge(e.c,k),h=new Zn((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n));h.e!=h.i.gc();)o=u(ar(h),135),T=new yie(k,o.a),Qo(T,o),Zt(T,$k,o),T.e.a=b.Math.max(o.g,1),T.e.b=b.Math.max(o.f,1),$kt(T),ge(e.d,T)}}function tCn(t,e,n){var r,s,o,h,d,m,k,T,A,P;switch(n.Ug("Node promotion heuristic",1),t.i=e,t.r=u(X(e,(De(),a2)),243),t.r!=(cf(),Lv)&&t.r!=N3?_Cn(t):Zkn(t),T=u(X(t.i,eAt),17).a,o=new Fd,t.r.g){case 2:case 1:z7(t,o);break;case 3:for(t.r=tK,z7(t,o),m=0,d=new G(t.b);d.a<d.c.c.length;)h=u(et(d),17),m=b.Math.max(m,h.a);m>t.k&&(t.r=cP,z7(t,o));break;case 4:for(t.r=tK,z7(t,o),k=0,s=new G(t.c);s.a<s.c.c.length;)r=Ht(et(s)),k=b.Math.max(k,(Wn(r),r));k>t.n&&(t.r=uP,z7(t,o));break;case 6:P=Ys(b.Math.ceil(t.g.length*T/100)),z7(t,new zVt(P));break;case 5:A=Ys(b.Math.ceil(t.e*T/100)),z7(t,new qVt(A));break;case 8:ebe(t,!0);break;case 9:ebe(t,!1);break;default:z7(t,o)}t.r!=Lv&&t.r!=N3?Ekn(t,e):H8n(t,e),n.Vg()}function eCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(A=t.b,T=new La(A,0),Ly(T,new eu(t)),Tt=!1,h=1;T.b<T.d.gc();){for(k=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),30)),J=(vn(h,A.c.length),u(A.c[h],30)),tt=Rm(k.a),ht=tt.c.length,U=new G(tt);U.a<U.c.c.length;)P=u(et(U),10),Aa(P,J);if(Tt){for($=Bh(tt).Kc();$.Ob();)for(P=u($.Pb(),10),o=new G(Rm(ua(P)));o.a<o.c.c.length;)s=u(et(o),18),nv(s,!0),Zt(t,(oe(),tP),(Pn(),!0)),r=Xge(t,s,ht),n=u(X(P,vv),313),At=u(Oe(r,r.c.length-1),18),n.k=At.c.i,n.n=At,n.b=s.d.i,n.c=s;Tt=!1}else tt.c.length!=0&&(e=(vn(0,tt.c.length),u(tt.c[0],10)),e.k==(Un(),md)&&(Tt=!0,h=-1));++h}for(d=new La(t.b,0);d.b<d.d.gc();)m=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)),m.a.c.length==0&&Kl(d)}function nCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(A=new Zkt(t),nfn(A,!(e==(Rs(),Gh)||e==kd)),T=A.a,P=new C6,s=(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])),h=0,m=s.length;h<m;++h)n=s[h],k=nit(T,Ac,n),k&&(P.d=b.Math.max(P.d,k.jf()));for(r=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),o=0,d=r.length;o<d;++o)n=r[o],k=nit(T,Lc,n),k&&(P.a=b.Math.max(P.a,k.jf()));for(J=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),ht=0,At=J.length;ht<At;++ht)$=J[ht],k=nit(T,$,Ac),k&&(P.b=b.Math.max(P.b,k.kf()));for(U=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),tt=0,Tt=U.length;tt<Tt;++tt)$=U[tt],k=nit(T,$,Lc),k&&(P.c=b.Math.max(P.c,k.kf()));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 vpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(P=n.d,A=n.c,o=new ae(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=o.b,k=new G(t.a);k.a<k.c.c.length;)if(d=u(et(k),10),d.k==(Un(),Ms)){switch(r=u(X(d,(oe(),Dc)),64),s=u(X(d,JSt),8),T=d.n,r.g){case 2:T.a=n.f.a+P.c-A.a;break;case 4:T.a=-A.a-P.b}switch(U=0,r.g){case 2:case 4:e==(ka(),Y0)?($=Rt(Ht(X(d,xv))),T.b=o.b*$-u(X(d,(De(),Sv)),8).b,U=T.b+s.b,nH(d,!1,!0)):e==hu&&(T.b=Rt(Ht(X(d,xv)))-u(X(d,(De(),Sv)),8).b,U=T.b+s.b,nH(d,!1,!0))}h=b.Math.max(h,U)}for(n.f.b+=h-o.b,m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),d.k==(Un(),Ms))switch(r=u(X(d,(oe(),Dc)),64),T=d.n,r.g){case 1:T.b=-A.b-P.d;break;case 3:T.b=n.f.b+P.a-A.b}}function rCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(T=u(u(Ai(t.r,e),21),87),T.gc()<=2||e==(ve(),Jn)||e==(ve(),Gn)){jpe(t,e);return}for(J=t.u.Hc((wl(),n8)),n=e==(ve(),Hn)?(Gm(),RN):(Gm(),BN),ht=e==Hn?(qu(),Kf):(qu(),O1),r=wwt(Ovt(n),t.s),tt=e==Hn?Zi:Vs,k=T.Kc();k.Ob();)d=u(k.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(U=d.b.Mf(),$=d.e,A=d.c,P=A.i,P.b=(o=A.n,A.e.a+o.b+o.c),P.a=(h=A.n,A.e.b+h.d+h.a),J?(P.c=$.a-(s=A.n,A.e.a+s.b+s.c)-t.s,J=!1):P.c=$.a+U.a+t.s,SI(ht,I8t),A.f=ht,S1(A,(pl(),Gf)),ge(r.d,new Oit(P,T5t(r,P))),tt=e==Hn?b.Math.min(tt,$.b):b.Math.max(tt,$.b+d.b.Mf().b));for(tt+=e==Hn?-t.t:t.t,H5t((r.e=tt,r)),m=T.Kc();m.Ob();)d=u(m.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(P=d.c.i,P.c-=d.e.a,P.d-=d.e.b)}function ype(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(s=new fe,J=new G(e.a);J.a<J.c.c.length;)if(U=u(et(J),10),$=U.e,$&&(r=ype(t,$,U),Hs(s,r),w9n(t,$,U),u(X($,(oe(),lu)),21).Hc((Co(),Uh))))for(Tt=u(X(U,(De(),bs)),101),P=u(X(U,M3),181).Hc((wl(),Hg)),ht=new G(U.j);ht.a<ht.c.c.length;)for(tt=u(et(ht),12),o=u(tr(t.b,tt),10),o||(o=JO(tt,Tt,tt.j,-(tt.e.c.length-tt.g.c.length),null,new Sa,tt.o,u(X($,ph),88),$),Zt(o,Li,tt),hi(t.b,tt,o),ge($.a,o)),h=u(Oe(o.j,0),12),T=new G(tt.f);T.a<T.c.c.length;)k=u(et(T),72),d=new MWt,d.o.a=k.o.a,d.o.b=k.o.b,ge(h.f,d),P||(At=tt.j,A=0,IS(u(X(U,M3),21))&&(A=L6t(k.n,k.o,tt.o,0,At)),Tt==(ka(),Td)||(ve(),Ou).Hc(At)?d.o.a=A:d.o.b=A);return m=new fe,b9n(t,e,n,s,m),n&&PTn(t,e,n,m),m}function Jkt(t,e,n){var r,s,o,h,d,m,k,T,A;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,T=new G(e.j);T.a<T.c.c.length;)for(k=u(et(T),12),A=n?new D4(k):new k6(k),m=A.Kc();m.Ob();)d=u(m.Pb(),12),h=d.i,h.c==e.c?h!=e&&(Jkt(t,h,n),t.c[e.c.p][e.p].b+=t.c[h.c.p][h.p].b,t.c[e.c.p][e.p].d+=t.c[h.c.p][h.p].d):(t.c[e.c.p][e.p].d+=t.g[d.p],++t.c[e.c.p][e.p].b);if(o=u(X(e,(oe(),WSt)),15),o)for(s=o.Kc();s.Ob();)r=u(s.Pb(),10),e.c==r.c&&(Jkt(t,r,n),t.c[e.c.p][e.p].b+=t.c[r.c.p][r.p].b,t.c[e.c.p][e.p].d+=t.c[r.c.p][r.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=Dl(t.i,24)*lN*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}function iCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(U=new G(t);U.a<U.c.c.length;){for($=u(et(U),10),wp($.n),wp($.o),z3t($.f),O0e($),E8n($),tt=new G($.j);tt.a<tt.c.c.length;){for(J=u(et(tt),12),wp(J.n),wp(J.a),wp(J.o),Xs(J,hhe(J.j)),o=u(X(J,(De(),Vp)),17),o&&Zt(J,Vp,he(-o.a)),s=new G(J.g);s.a<s.c.c.length;){for(r=u(et(s),18),n=Dr(r.a,0);n.b!=n.d.c;)e=u(Ar(n),8),wp(e);if(m=u(X(r,Vo),75),m)for(d=Dr(m,0);d.b!=d.d.c;)h=u(Ar(d),8),wp(h);for(A=new G(r.b);A.a<A.c.c.length;)k=u(et(A),72),wp(k.n),wp(k.o)}for(P=new G(J.f);P.a<P.c.c.length;)k=u(et(P),72),wp(k.n),wp(k.o)}for($.k==(Un(),Ms)&&(Zt($,(oe(),Dc),hhe(u(X($,Dc),64))),Ikn($)),T=new G($.b);T.a<T.c.c.length;)k=u(et(T),72),O0e(k),wp(k.o),wp(k.n)}}function sCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;On=tr(t.e,r),On==null&&(On=new _6,$=u(On,190),Tt=e+"_s",At=Tt+s,P=new Oy(At),_1($,a0,P)),Ze=u(On,190),Y6(n,Ze),er=new _6,Q2(er,"x",r.j),Q2(er,"y",r.k),_1(Ze,Jwe,er),Ce=new _6,Q2(Ce,"x",r.b),Q2(Ce,"y",r.c),_1(Ze,"endPoint",Ce),A=NM((!r.a&&(r.a=new Ps(vh,r,5)),r.a)),U=!A,U&&(se=new cp,o=new NGt(se),Fa((!r.a&&(r.a=new Ps(vh,r,5)),r.a),o),_1(Ze,hU,se)),m=cot(r),Bt=!!m,Bt&&e6t(t.a,Ze,STt,zot(t,cot(r))),ht=uot(r),Wt=!!ht,Wt&&e6t(t.a,Ze,CTt,zot(t,uot(r))),k=(!r.e&&(r.e=new kn(Wi,r,10,9)),r.e).i==0,J=!k,J&&(rn=new cp,h=new aQt(t,rn),Fa((!r.e&&(r.e=new kn(Wi,r,10,9)),r.e),h),_1(Ze,ATt,rn)),T=(!r.g&&(r.g=new kn(Wi,r,9,10)),r.g).i==0,tt=!T,tt&&(Dn=new cp,d=new oQt(t,Dn),Fa((!r.g&&(r.g=new kn(Wi,r,9,10)),r.g),d),_1(Ze,_Tt,Dn))}function aCn(t){Ay();var e,n,r,s,o,h,d;for(r=t.f.n,h=Lyt(t.r).a.nc();h.Ob();){if(o=u(h.Pb(),117),s=0,o.b.pf((ai(),Pl))&&(s=Rt(Ht(o.b.of(Pl))),s<0))switch(o.b.ag().g){case 1:r.d=b.Math.max(r.d,-s);break;case 3:r.a=b.Math.max(r.a,-s);break;case 2:r.c=b.Math.max(r.c,-s);break;case 4:r.b=b.Math.max(r.b,-s)}if(IS(t.u))switch(e=hpn(o.b,s),d=!u(t.e.of(l2),181).Hc((Ml(),jP)),n=!1,o.b.ag().g){case 1:n=e>r.d,r.d=b.Math.max(r.d,e),d&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+s);break;case 3:n=e>r.a,r.a=b.Math.max(r.a,e),d&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+s);break;case 2:n=e>r.c,r.c=b.Math.max(r.c,e),d&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+s);break;case 4:n=e>r.b,r.b=b.Math.max(r.b,e),d&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+s)}}}function xpe(t,e){var n,r,s,o,h,d,m,k,T;return k="",e.length==0?t.ne(b8t,$ct,-1,-1):(T=Zy(e),hn(T.substr(0,3),"at ")&&(T=(qn(3,T.length+1),T.substr(3))),T=T.replace(/\[.*?\]/g,""),h=T.indexOf("("),h==-1?(h=T.indexOf("@"),h==-1?(k=T,T=""):(k=Zy((qn(h+1,T.length+1),T.substr(h+1))),T=Zy((Da(0,h,T.length),T.substr(0,h))))):(n=T.indexOf(")",h),k=(Da(h+1,n,T.length),T.substr(h+1,n-(h+1))),T=Zy((Da(0,h,T.length),T.substr(0,h)))),h=$d(T,Hu(46)),h!=-1&&(T=(qn(h+1,T.length+1),T.substr(h+1))),(T.length==0||hn(T,"Anonymous function"))&&(T=$ct),d=cz(k,Hu(58)),s=Tvt(k,Hu(58),d-1),m=-1,r=-1,o=b8t,d!=-1&&s!=-1&&(o=(Da(0,s,k.length),k.substr(0,s)),m=BJt((Da(s+1,d,k.length),k.substr(s+1,d-(s+1)))),r=BJt((qn(d+1,k.length+1),k.substr(d+1)))),t.ne(o,T,m,r))}function oCn(t){var e,n,r,s,o,h,d,m,k,T,A;for(k=new G(t);k.a<k.c.c.length;){switch(m=u(et(k),10),h=u(X(m,(De(),Iu)),171),o=null,h.g){case 1:case 2:o=(ow(),z5);break;case 3:case 4:o=(ow(),_T)}if(o)Zt(m,(oe(),DG),(ow(),z5)),o==_T?nV(m,h,(To(),vl)):o==z5&&nV(m,h,(To(),ku));else if(z4(u(X(m,bs),101))&&m.j.c.length!=0){for(e=!0,A=new G(m.j);A.a<A.c.c.length;){if(T=u(et(A),12),!(T.j==(ve(),Jn)&&T.e.c.length-T.g.c.length>0||T.j==Gn&&T.e.c.length-T.g.c.length<0)){e=!1;break}for(s=new G(T.g);s.a<s.c.c.length;)if(n=u(et(s),18),d=u(X(n.d.i,Iu),171),d==(Rh(),NA)||d==S3){e=!1;break}for(r=new G(T.e);r.a<r.c.c.length;)if(n=u(et(r),18),d=u(X(n.c.i,Iu),171),d==(Rh(),OA)||d==s2){e=!1;break}}e&&nV(m,h,(To(),HA))}}}function cCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(se=0,$=0,A=new G(e.e);A.a<A.c.c.length;){for(T=u(et(A),10),P=0,d=0,m=n?u(X(T,rK),17).a:Ga,ht=r?u(X(T,iK),17).a:Ga,k=b.Math.max(m,ht),At=new G(T.j);At.a<At.c.c.length;){if(Tt=u(et(At),12),Bt=T.n.b+Tt.n.b+Tt.a.b,r)for(h=new G(Tt.g);h.a<h.c.c.length;)o=u(et(h),18),J=o.d,U=J.i,e!=t.a[U.p]&&(tt=b.Math.max(u(X(U,rK),17).a,u(X(U,iK),17).a),Wt=u(X(o,(De(),Yk)),17).a,Wt>=k&&Wt>=tt&&(P+=U.n.b+J.n.b+J.a.b-Bt,++d));if(n)for(h=new G(Tt.e);h.a<h.c.c.length;)o=u(et(h),18),J=o.c,U=J.i,e!=t.a[U.p]&&(tt=b.Math.max(u(X(U,rK),17).a,u(X(U,iK),17).a),Wt=u(X(o,(De(),Yk)),17).a,Wt>=k&&Wt>=tt&&(P+=U.n.b+J.n.b+J.a.b-Bt,++d))}d>0&&(se+=P/d,++$)}$>0?(e.a=s*se/$,e.g=$):(e.a=0,e.g=0)}function uCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(o=t.f.b,P=o.a,T=o.b,U=t.e.g,$=t.e.f,H4(t.e,o.a,o.b),se=P/U,Ce=T/$,k=new Zn(Kz(t.e));k.e!=k.i.gc();)m=u(ar(k),135),Su(m,m.i*se),_u(m,m.j*Ce);for(Tt=new Zn(Jit(t.e));Tt.e!=Tt.i.gc();)ht=u(ar(Tt),123),Bt=ht.i,Wt=ht.j,Bt>0&&Su(ht,Bt*se),Wt>0&&_u(ht,Wt*Ce);for(e_(t.b,new fg),e=new fe,d=new sw(new mr(t.c).a);d.b;)h=Um(d),r=u(h.ld(),74),n=u(h.md(),407).a,s=b5(r,!1,!1),A=dfe(O0(r),MO(s),n),KO(A,s),At=Sfe(r),At&&Xo(e,At,0)==-1&&(In(e.c,At),ene(At,(ur(A.b!=0),u(A.a.a.c,8)),n));for(tt=new sw(new mr(t.d).a);tt.b;)J=Um(tt),r=u(J.ld(),74),n=u(J.md(),407).a,s=b5(r,!1,!1),A=dfe(qb(r),cO(MO(s)),n),A=cO(A),KO(A,s),At=_fe(r),At&&Xo(e,At,0)==-1&&(In(e.c,At),ene(At,(ur(A.b!=0),u(A.c.b.c,8)),n))}function kpe(t,e,n,r){var s,o,h,d,m;return d=new Zkt(e),tkn(d,r),s=!0,t&&t.pf((ai(),Rw))&&(o=u(t.of((ai(),Rw)),88),s=o==(Rs(),Ed)||o==Uo||o==tc),x0e(d,!1),Cu(d.e.Rf(),new Mvt(d,!1,s)),hst(d,d.f,(A1(),Ac),(ve(),Hn)),hst(d,d.f,Lc,Er),hst(d,d.g,Ac,Gn),hst(d,d.g,Lc,Jn),Yle(d,Hn),Yle(d,Er),Jee(d,Jn),Jee(d,Gn),Ay(),h=d.A.Hc((Yl(),z3))&&d.B.Hc((Ml(),$P))?dle(d):null,h&&urn(d.a,h),aCn(d),ovn(d),cvn(d),O9n(d),oEn(d),Nvn(d),tot(d,Hn),tot(d,Er),R8n(d),oTn(d),n&&(q2n(d),Pvn(d),tot(d,Jn),tot(d,Gn),m=d.B.Hc((Ml(),kL)),d1e(d,m,Hn),d1e(d,m,Er),g1e(d,m,Jn),g1e(d,m,Gn),ms(new ln(null,new gn(new si(d.i),0)),new mc),ms(_i(new ln(null,Lyt(d.r).a.oc()),new ca),new ya),Yyn(d),d.e.Pf(d.o),ms(new ln(null,Lyt(d.r).a.oc()),new ea)),d.o}function lCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(k=Zi,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),86),k=b.Math.min(k,e.d.f.g.c+e.e.a);for($=new Ki,h=new G(t.a.a);h.a<h.c.c.length;)o=u(et(h),194),o.i=k,o.e==0&&hs($,o,$.c.b,$.c);for(;$.b!=0;){for(o=u($.b==0?null:(ur($.b!=0),Oh($,$.a.a)),194),s=o.f.g.c,P=o.a.a.ec().Kc();P.Ob();)T=u(P.Pb(),86),J=o.i+T.e.a,T.d.g||T.g.c<J?T.o=J:T.o=T.g.c;for(s-=o.f.o,o.b+=s,t.c==(Rs(),tc)||t.c==kd?o.c+=s:o.c-=s,A=o.a.a.ec().Kc();A.Ob();)for(T=u(A.Pb(),86),m=T.f.Kc();m.Ob();)d=u(m.Pb(),86),bg(t.c)?U=t.f.yf(T,d):U=t.f.zf(T,d),d.d.i=b.Math.max(d.d.i,T.o+T.g.b+U-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&&Zr($,d.d)}for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),e.g.c=e.o}function hCn(t){var e,n,r,s,o,h,d,m;switch(d=t.b,e=t.a,u(X(t,(RH(),$9t)),435).g){case 0:Ds(d,new Be(new Nr));break;case 1:default:Ds(d,new Be(new Si))}switch(u(X(t,R9t),436).g){case 1:Ds(d,new cn),Ds(d,new vc),Ds(d,new Md);break;case 0:default:Ds(d,new cn),Ds(d,new hg)}switch(u(X(t,q9t),257).g){case 0:m=new Od;break;case 1:m=new Zc;break;case 2:m=new Qh;break;case 3:m=new Eh;break;case 5:m=new L4(new Qh);break;case 4:m=new L4(new Zc);break;case 7:m=new qwt(new L4(new Zc),new L4(new Qh));break;case 8:m=new qwt(new L4(new Eh),new L4(new Qh));break;case 6:default:m=new L4(new Eh)}for(h=new G(d);h.a<h.c.c.length;){for(o=u(et(h),176),r=0,s=0,n=new Ws(he(r),he(s));GEn(e,o,r,s);)n=u(m.Ve(n,o),42),r=u(n.a,17).a,s=u(n.b,17).a;q8n(e,o,r,s)}}function Epe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(n.Ug(Q2e,1),P=(ji(),B1t),t.a==(a_(),lK)&&(P=gLt),T=0,mn(),e.jd(new Fnt(P)),o=e.gc(),d=e.fd(e.gc()),k=!0;k&&d.Sb();)Tt=u(d.Ub(),39),u(X(Tt,P),17).a==0?--o:k=!1;if(se=e.kd(0,o),h=new pit(se),se=e.kd(o,e.gc()),m=new pit(se),h.b==0)for(J=Dr(m,0);J.b!=J.d.c;)U=u(Ar(J),39),Zt(U,ZA,he(T++));else for(A=h.b,Wt=Dr(h,0);Wt.b!=Wt.d.c;){for(Bt=u(Ar(Wt),39),Zt(Bt,ZA,he(T++)),r=wat(Bt),Epe(t,r,n.eh(1/A|0)),rw(r,$yt(new Fnt(ZA))),$=new Ki,At=Dr(r,0);At.b!=At.d.c;)for(Tt=u(Ar(At),39),ht=Dr(Bt.d,0);ht.b!=ht.d.c;)tt=u(Ar(ht),65),tt.c==Tt&&hs($,tt,$.c.b,$.c);for(nh(Bt.d),Ma(Bt.d,$),d=Dr(m,m.b),s=Bt.d.b,k=!0;0<s&&k&&d.Sb();)Tt=u(d.Ub(),39),u(X(Tt,P),17).a==0?(Zt(Tt,ZA,he(T++)),--s,d.Qb()):k=!1}n.Vg()}function fCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(A=Rt(Ht(ne(t,(Ub(),ndt)))),Ie(Me(ne(t,YLt)))&&(T=u(ne(t,(Y4(),ex)),27),o=u(Dt(zyt(u(Dt((!T.e&&(T.e=new kn(Ts,T,7,4)),T.e),(!T.e&&(T.e=new kn(Ts,T,7,4)),T.e).i-1),74)),0),27),r=u(Dt(zyt(u(Dt((!T.e&&(T.e=new kn(Ts,T,7,4)),T.e),0),74)),0),27),h=new ae(o.i+o.g/2,o.j+o.f/2),s=new ae(r.i+r.g/2,r.j+r.f/2),n=A,n<=0&&(n+=xw),P=b.Math.acos((h.a*s.a+h.b*s.b)/(b.Math.sqrt(h.a*h.a+h.b*h.b)*b.Math.sqrt(s.a*s.a+s.b*s.b))),P<=0&&(P+=xw),e=b.Math.atan2(h.b,h.a),e<=0&&(e+=xw),A=k7t-(e-n+P/2)),m=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));m.e!=m.i.gc();)d=u(ar(m),27),k=new ae(d.i+d.g/2,d.j+d.f/2),$=k.a*b.Math.cos(A)-k.b*b.Math.sin(A),k.b=k.a*b.Math.sin(A)+k.b*b.Math.cos(A),k.a=$,Ch(d,k.a-d.g/2,k.b-d.f/2)}function dCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(e.Ug("Inverted port preprocessing",1),T=t.b,k=new La(T,0),n=null,At=new fe;k.b<k.d.gc();){for(Tt=n,n=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),30)),$=new G(At);$.a<$.c.c.length;)A=u(et($),10),Aa(A,Tt);for(At.c.length=0,U=new G(n.a);U.a<U.c.c.length;)if(A=u(et(U),10),A.k==(Un(),xs)&&z4(u(X(A,(De(),bs)),101))){for(ht=pkt(A,(To(),vl),(ve(),Jn)).Kc();ht.Ob();)for(J=u(ht.Pb(),12),m=J.e,d=u(ld(m,Vt(hft,Rut,18,m.c.length,0,1)),482),s=d,o=0,h=s.length;o<h;++o)r=s[o],F7n(t,J,r,At);for(tt=pkt(A,ku,Gn).Kc();tt.Ob();)for(J=u(tt.Pb(),12),m=J.g,d=u(ld(m,Vt(hft,Rut,18,m.c.length,0,1)),482),s=d,o=0,h=s.length;o<h;++o)r=s[o],P7n(t,J,r,At)}}for(P=new G(At);P.a<P.c.c.length;)A=u(et(P),10),Aa(A,n);e.Vg()}function Dct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=null,r==(Bm(),c2)?P=e:r==Z5&&(P=n),J=P.a.ec().Kc();J.Ob();){for(U=u(J.Pb(),12),tt=dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a])).b,At=new Os,d=new Os,k=new sd(U.b);lc(k.a)||lc(k.b);)if(m=u(lc(k.a)?et(k.a):et(k.b),18),Ie(Me(X(m,(oe(),vd))))==s&&Xo(o,m,0)!=-1){if(m.d==U?ht=m.c:ht=m.d,Tt=dc(lt(ut(la,1),ue,8,0,[ht.i.n,ht.n,ht.a])).b,b.Math.abs(Tt-tt)<.2)continue;Tt<tt?e.a._b(ht)?qs(At,new Ws(c2,m)):qs(At,new Ws(Z5,m)):e.a._b(ht)?qs(d,new Ws(c2,m)):qs(d,new Ws(Z5,m))}if(At.a.gc()>1)for($=new Vkt(U,At,r),Fa(At,new MXt(t,$)),In(h.c,$),A=At.a.ec().Kc();A.Ob();)T=u(A.Pb(),42),zu(o,T.b);if(d.a.gc()>1)for($=new Vkt(U,d,r),Fa(d,new IXt(t,$)),In(h.c,$),A=d.a.ec().Kc();A.Ob();)T=u(A.Pb(),42),zu(o,T.b)}}function gCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(J=t.n,tt=t.o,P=t.d,A=Rt(Ht(Wy(t,(De(),u1t)))),e){for(T=A*(e.gc()-1),$=0,m=e.Kc();m.Ob();)h=u(m.Pb(),10),T+=h.o.a,$=b.Math.max($,h.o.b);for(ht=J.a-(T-tt.a)/2,o=J.b-P.d+$,r=tt.a/(e.gc()+1),s=r,d=e.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ht,h.n.b=o-h.o.b,ht+=h.o.a+A,k=Mde(h),k.n.a=h.o.a/2-k.a.a,k.n.b=h.o.b,U=u(X(h,(oe(),AG)),12),U.e.c.length+U.g.c.length==1&&(U.n.a=s-U.a.a,U.n.b=0,hc(U,t)),s+=r}if(n){for(T=A*(n.gc()-1),$=0,m=n.Kc();m.Ob();)h=u(m.Pb(),10),T+=h.o.a,$=b.Math.max($,h.o.b);for(ht=J.a-(T-tt.a)/2,o=J.b+tt.b+P.a-$,r=tt.a/(n.gc()+1),s=r,d=n.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ht,h.n.b=o,ht+=h.o.a+A,k=Mde(h),k.n.a=h.o.a/2-k.a.a,k.n.b=0,U=u(X(h,(oe(),AG)),12),U.e.c.length+U.g.c.length==1&&(U.n.a=s-U.a.a,U.n.b=tt.b,hc(U,t)),s+=r}}function pCn(t,e){var n,r,s,o,h,d;if(u(X(e,(oe(),lu)),21).Hc((Co(),Uh))){for(d=new G(e.a);d.a<d.c.c.length;)o=u(et(d),10),o.k==(Un(),xs)&&(s=u(X(o,(De(),HG)),140),t.c=b.Math.min(t.c,o.n.a-s.b),t.a=b.Math.max(t.a,o.n.a+o.o.a+s.c),t.d=b.Math.min(t.d,o.n.b-s.d),t.b=b.Math.max(t.b,o.n.b+o.o.b+s.a));for(h=new G(e.a);h.a<h.c.c.length;)if(o=u(et(h),10),o.k!=(Un(),xs))switch(o.k.g){case 2:if(r=u(X(o,(De(),Iu)),171),r==(Rh(),s2)){o.n.a=t.c-10,Phe(o,new $B).Jb(new IVt(o));break}if(r==S3){o.n.a=t.a+10,Phe(o,new mQ).Jb(new OVt(o));break}if(n=u(X(o,Aw),311),n==(Cg(),H5)){Kge(o).Jb(new NVt(o)),o.n.b=t.d-10;break}if(n==qk){Kge(o).Jb(new PVt(o)),o.n.b=t.b+10;break}break;default:throw at(new zn("The node type "+o.k+" is not supported by the "+l_n))}}}function bCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;for(m=new ae(r.i+r.g/2,r.j+r.f/2),$=Vge(r),U=u(ne(e,(De(),bs)),101),tt=u(ne(r,NT),64),uQt(Ule(r),D3)||(r.i==0&&r.j==0?J=0:J=D3n(r,tt),Mi(r,D3,J)),k=new ae(e.g,e.f),s=JO(r,U,tt,$,k,m,new ae(r.g,r.f),u(X(n,ph),88),n),Zt(s,(oe(),Li),r),o=u(Oe(s.j,0),12),p(o,NEn(r)),Zt(s,M3,(wl(),en(g2))),A=u(ne(e,M3),181).Hc(Hg),d=new Zn((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n));d.e!=d.i.gc();)if(h=u(ar(d),135),!Ie(Me(ne(h,Nw)))&&h.a&&(P=Pat(h),ge(o.f,P),!A))switch(T=0,IS(u(ne(e,M3),21))&&(T=L6t(new ae(h.i,h.j),new ae(h.g,h.f),new ae(r.g,r.f),0,tt)),tt.g){case 2:case 4:P.o.a=T;break;case 1:case 3:P.o.b=T}Zt(s,FT,Ht(ne(Ji(e),FT))),Zt(s,BT,Ht(ne(Ji(e),BT))),Zt(s,O3,Ht(ne(Ji(e),O3))),ge(n.a,s),hi(t.a,r,s)}function wCn(t,e,n,r,s,o){var h,d,m,k,T,A;for(k=new Yc,Qo(k,e),Xs(k,u(ne(e,(De(),NT)),64)),Zt(k,(oe(),Li),e),hc(k,n),A=k.o,A.a=e.g,A.b=e.f,T=k.n,T.a=e.i,T.b=e.j,hi(t.a,e,k),h=t5(Wo(fc(new ln(null,(!e.e&&(e.e=new kn(Ts,e,7,4)),new gn(e.e,16))),new NB),new Wx),new EVt(e)),h||(h=t5(Wo(fc(new ln(null,(!e.d&&(e.d=new kn(Ts,e,8,5)),new gn(e.d,16))),new O8),new K9),new TVt(e))),h||(h=t5(new ln(null,(!e.e&&(e.e=new kn(Ts,e,7,4)),new gn(e.e,16))),new GX)),Zt(k,eP,(Pn(),!!h)),BTn(k,o,s,u(ne(e,Sv),8)),m=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));m.e!=m.i.gc();)d=u(ar(m),135),!Ie(Me(ne(d,Nw)))&&d.a&&ge(k.f,Pat(d));switch(s.g){case 2:case 1:(k.j==(ve(),Hn)||k.j==Er)&&r.Fc((Co(),q5));break;case 4:case 3:(k.j==(ve(),Jn)||k.j==Gn)&&r.Fc((Co(),q5))}return k}function mCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(At=0,U=0,$=0,P=1,Tt=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));Tt.e!=Tt.i.gc();)tt=u(ar(Tt),27),P+=xg(new rr(sr(Og(tt).a.Kc(),new z))),rn=tt.g,U=b.Math.max(U,rn),A=tt.f,$=b.Math.max($,A),At+=rn*A;for(J=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a).i,h=At+2*r*r*P*J,o=b.Math.sqrt(h),m=b.Math.max(o*n,U),d=b.Math.max(o/n,$),ht=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));ht.e!=ht.i.gc();)tt=u(ar(ht),27),Ze=s.b+(Dl(e,26)*q_+Dl(e,27)*H_)*(m-tt.g),On=s.b+(Dl(e,26)*q_+Dl(e,27)*H_)*(d-tt.f),Su(tt,Ze),_u(tt,On);for(Ce=m+(s.b+s.c),se=d+(s.d+s.a),Wt=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));Wt.e!=Wt.i.gc();)for(Bt=u(ar(Wt),27),T=new rr(sr(Og(Bt).a.Kc(),new z));Mr(T);)k=u(dr(T),74),S_(k)||ESn(k,e,Ce,se);Ce+=s.b+s.c,se+=s.d+s.a,rv(t,Ce,se,!1,!0)}function Zkt(t){var e;if(this.r=Qln(new ta,new fo),this.b=new d_(u(Hr(bo),296)),this.p=new d_(u(Hr(bo),296)),this.i=new d_(u(Hr(Zye),296)),this.e=t,this.o=new io(t.Mf()),this.D=t.Yf()||Ie(Me(t.of((ai(),_P)))),this.A=u(t.of((ai(),jw)),21),this.B=u(t.of(l2),21),this.q=u(t.of(fL),101),this.u=u(t.of(j3),21),!j3n(this.u))throw at(new fp("Invalid port label placement: "+this.u));if(this.v=Ie(Me(t.of(RMt))),this.j=u(t.of(ux),21),!g6n(this.j))throw at(new fp("Invalid node label placement: "+this.j));this.n=u(y_(t,CMt),107),this.k=Rt(Ht(y_(t,LK))),this.d=Rt(Ht(y_(t,HMt))),this.w=Rt(Ht(y_(t,WMt))),this.s=Rt(Ht(y_(t,VMt))),this.t=Rt(Ht(y_(t,UMt))),this.C=u(y_(t,GMt),140),this.c=2*this.d,e=!this.B.Hc((Ml(),jP)),this.f=new p_(0,e,0),this.g=new p_(1,e,0),Jnt(this.f,(A1(),xu),this.g)}function vCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(e.Ug("Comment pre-processing",1),n=0,m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),Ie(Me(X(d,(De(),PA))))){for(++n,s=0,r=null,k=null,U=new G(d.j);U.a<U.c.c.length;)P=u(et(U),12),s+=P.e.c.length+P.g.c.length,P.e.c.length==1&&(r=u(Oe(P.e,0),18),k=r.c),P.g.c.length==1&&(r=u(Oe(P.g,0),18),k=r.d);if(s==1&&k.e.c.length+k.g.c.length==1&&!Ie(Me(X(k.i,PA))))QCn(d,r,k,k.i),PS(m);else{for(ht=new fe,$=new G(d.j);$.a<$.c.c.length;){for(P=u(et($),12),A=new G(P.g);A.a<A.c.c.length;)T=u(et(A),18),T.d.g.c.length==0||In(ht.c,T);for(h=new G(P.e);h.a<h.c.c.length;)o=u(et(h),18),o.c.e.c.length==0||In(ht.c,o)}for(tt=new G(ht);tt.a<tt.c.c.length;)J=u(et(tt),18),nv(J,!0)}}e._g()&&e.bh("Found "+n+" comment boxes"),e.Vg()}function t8t(t,e){pte();var n,r,s,o,h,d,m;if(this.a=new Mmt(this),this.b=t,this.c=e,this.f=qit($o((il(),ja),e)),this.f.dc())if((d=Oxt(ja,t))==e)for(this.e=!0,this.d=new fe,this.f=new KR,this.f.Fc(Cw),u(pV(VI(ja,sh(t)),""),29)==t&&this.f.Fc(MS(ja,sh(t))),s=cct(ja,t).Kc();s.Ob();)switch(r=u(s.Pb(),179),Om($o(ja,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(qit($o(ja,r)));break}}else if(vo(),u(e,69).xk())for(this.e=!0,this.f=null,this.d=new fe,h=0,m=(t.i==null&&Qd(t),t.i).length;h<m;++h)for(r=(n=(t.i==null&&Qd(t),t.i),h>=0&&h<n.length?n[h]:null),o=tk($o(ja,r));o;o=tk($o(ja,o)))o==e&&this.d.Fc(r);else Om($o(ja,e))==1&&d?(this.f=null,this.d=(vk(),FTe)):(this.f=null,this.e=!0,this.d=(mn(),new pa(e)));else this.e=Om($o(ja,e))==5,this.f.Fb(a0t)&&(this.f=a0t)}function Tpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(n=0,r=Qmn(t,e),P=t.s,$=t.t,k=u(u(Ai(t.r,e),21),87).Kc();k.Ob();)if(m=u(k.Pb(),117),!(!m.c||m.c.d.c.length<=0)){switch(U=m.b.Mf(),d=m.b.pf((ai(),Pl))?Rt(Ht(m.b.of(Pl))):0,T=m.c,A=T.i,A.b=(h=T.n,T.e.a+h.b+h.c),A.a=(o=T.n,T.e.b+o.d+o.a),e.g){case 1:A.c=m.a?(U.a-A.b)/2:U.a+P,A.d=U.b+d+r,S1(T,(pl(),e2)),Hd(T,(qu(),O1));break;case 3:A.c=m.a?(U.a-A.b)/2:U.a+P,A.d=-d-r-A.a,S1(T,(pl(),e2)),Hd(T,(qu(),Kf));break;case 2:A.c=-d-r-A.b,m.a?(s=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(U.b-s)/2):A.d=U.b+$,S1(T,(pl(),Gf)),Hd(T,(qu(),n2));break;case 4:A.c=U.a+d+r,m.a?(s=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(U.b-s)/2):A.d=U.b+$,S1(T,(pl(),c0)),Hd(T,(qu(),n2))}(e==(ve(),Hn)||e==Er)&&(n=b.Math.max(n,A.a))}n>0&&(u(Io(t.b,e),127).a.b=n)}function yCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J;if(P=Rt(Ht(X(t,(De(),FT)))),$=Rt(Ht(X(t,BT))),A=Rt(Ht(X(t,O3))),d=t.o,o=u(Oe(t.j,0),12),h=o.n,J=B4n(o,A),!!J){if(e.Hc((wl(),Hg)))switch(u(X(t,(oe(),Dc)),64).g){case 1:J.c=(d.a-J.b)/2-h.a,J.d=$;break;case 3:J.c=(d.a-J.b)/2-h.a,J.d=-$-J.a;break;case 2:n&&o.e.c.length==0&&o.g.c.length==0?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=d.b+$-h.b,J.c=-P-J.b;break;case 4:n&&o.e.c.length==0&&o.g.c.length==0?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=d.b+$-h.b,J.c=P}else if(e.Hc(g2))switch(u(X(t,(oe(),Dc)),64).g){case 1:case 3:J.c=h.a+P;break;case 2:case 4:n&&!o.c?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=h.b+$}for(s=J.d,k=new G(o.f);k.a<k.c.c.length;)m=u(et(k),72),U=m.n,U.a=J.c,U.b=s,s+=m.o.b+A}}function xCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(se=new fe,U=new G(t.b);U.a<U.c.c.length;)for($=u(et(U),30),ht=new G($.a);ht.a<ht.c.c.length;)if(J=u(et(ht),10),J.k==(Un(),Ms)&&qi(J,(oe(),MG))){for(Tt=null,Bt=null,At=null,Ze=new G(J.j);Ze.a<Ze.c.c.length;)switch(rn=u(et(Ze),12),rn.j.g){case 4:Tt=rn;break;case 2:Bt=rn;break;default:At=rn}for(Wt=u(Oe(At.g,0),18),T=new b$(Wt.a),k=new io(At.n),ki(k,J.n),A=Dr(T,0),kI(A,k),Ce=cO(Wt.a),P=new io(At.n),ki(P,J.n),hs(Ce,P,Ce.c.b,Ce.c),On=u(X(J,MG),10),Dn=u(Oe(On.j,0),12),m=u(ld(Tt.e,Vt(hft,Rut,18,0,0,1)),482),r=m,o=0,d=r.length;o<d;++o)e=r[o],xa(e,Dn),Dat(e.a,e.a.b,T);for(m=Kd(Bt.g),n=m,s=0,h=n.length;s<h;++s)e=n[s],Xa(e,Dn),Dat(e.a,0,Ce);Xa(Wt,null),xa(Wt,null),In(se.c,J)}for(tt=new G(se);tt.a<tt.c.c.length;)J=u(et(tt),10),Aa(J,null)}function kCn(){ui(WP,new ket),ui(ZK,new dj),ui(YP,new $et),ui(rOt,new yj),ui(Pe,new Q1),ui(ut(ul,1),new xj),ui(ys,new eE),ui(Fk,new mM),ui(Pe,new SC),ui(Pe,new met),ui(Pe,new vet),ui(zs,new f6),ui(Pe,new cj),ui(Vh,new uj),ui(Vh,new yet),ui(Pe,new lj),ui(wT,new hj),ui(Pe,new pM),ui(Pe,new _C),ui(Pe,new Eet),ui(Pe,new Tet),ui(Pe,new Cet),ui(ut(ul,1),new _et),ui(Pe,new Aet),ui(Pe,new fj),ui(Vh,new Let),ui(Vh,new Det),ui(Pe,new Met),ui(Ra,new Iet),ui(Pe,new Oet),ui(gv,new AC),ui(Pe,new Net),ui(Pe,new Pet),ui(Pe,new Fet),ui(Pe,new Bet),ui(Vh,new Ret),ui(Vh,new jet),ui(Pe,new gj),ui(Pe,new pj),ui(Pe,new zet),ui(Pe,new bM),ui(Pe,new qet),ui(Pe,new bj),ui(pv,new Het),ui(Pe,new wj),ui(Pe,new Vet),ui(Pe,new mj),ui(pv,new vj),ui(gv,new wM),ui(Pe,new C4),ui(Ra,new LC)}function Cpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;switch(T=new Qu,t.a.g){case 3:P=u(X(e.e,(oe(),Lw)),15),$=u(X(e.j,Lw),15),U=u(X(e.f,Lw),15),n=u(X(e.e,K5),15),r=u(X(e.j,K5),15),s=u(X(e.f,K5),15),h=new fe,Hs(h,P),$.Jc(new PJ),Hs(h,Bh($)),Hs(h,U),o=new fe,Hs(o,n),Hs(o,Bh(r)),Hs(o,s),Zt(e.f,Lw,h),Zt(e.f,K5,o),Zt(e.f,s_t,e.f),Zt(e.e,Lw,null),Zt(e.e,K5,null),Zt(e.j,Lw,null),Zt(e.j,K5,null);break;case 1:Ma(T,e.e.a),Zr(T,e.i.n),Ma(T,Bh(e.j.a)),Zr(T,e.a.n),Ma(T,e.f.a);break;default:Ma(T,e.e.a),Ma(T,Bh(e.j.a)),Ma(T,e.f.a)}nh(e.f.a),Ma(e.f.a,T),Xa(e.f,e.e.c),d=u(X(e.e,(De(),Vo)),75),k=u(X(e.j,Vo),75),m=u(X(e.f,Vo),75),(d||k||m)&&(A=new Qu,_yt(A,m),_yt(A,k),_yt(A,d),Zt(e.f,Vo,A)),Xa(e.j,null),xa(e.j,null),Xa(e.e,null),xa(e.e,null),Aa(e.a,null),Aa(e.i,null),e.g&&Cpe(t,e.g)}function Spe(){Spe=V;var t,e,n;for(new gO(1,0),new gO(10,0),new gO(0,0),Jve=Vt(Mht,ue,247,11,0,1),_w=Vt(Yh,Zd,28,100,15,1),v9t=lt(ut(ma,1),No,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),y9t=Vt(Fr,ii,28,v9t.length,15,1),x9t=lt(ut(ma,1),No,28,15,[1,10,100,Rp,1e4,uut,1e6,1e7,1e8,EV,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),k9t=Vt(Fr,ii,28,x9t.length,15,1),E9t=Vt(Mht,ue,247,11,0,1),t=0;t<E9t.length;t++)Jve[t]=new gO(t,0),E9t[t]=new gO(0,t),_w[t]=48;for(;t<_w.length;t++)_w[t]=48;for(n=0;n<y9t.length;n++)y9t[n]=S6t(v9t[n]);for(e=0;e<k9t.length;e++)k9t[e]=S6t(x9t[e]);F7()}function ECn(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(e){return Object.create(null)},t.prototype.get=function(e){return this.obj[e]},t.prototype.set=function(e,n){this.obj[e]=n},t.prototype[fut]=function(e){delete this.obj[e]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var e=this.keys(),n=this,r=0;return{next:function(){if(r>=e.length)return{done:!0};var s=e[r++];return{value:[s,n.get(s)],done:!1}}}},w8n()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(e){return this.obj[":"+e]},t.prototype.set=function(e,n){this.obj[":"+e]=n},t.prototype[fut]=function(e){delete this.obj[":"+e]},t.prototype.keys=function(){var e=[];for(var n in this.obj)n.charCodeAt(0)==58&&e.push(n.substring(1));return e}),t}function ji(){ji=V,JA=new Oi(G8t),new rs("DEPTH",he(0)),B1t=new rs("FAN",he(0)),gLt=new rs(W2e,he(0)),u2=new rs("ROOT",(Pn(),!1)),$1t=new rs("LEFTNEIGHBOR",null),Kke=new rs("RIGHTNEIGHBOR",null),oK=new rs("LEFTSIBLING",null),z1t=new rs("RIGHTSIBLING",null),F1t=new rs("DUMMY",!1),new rs("LEVEL",he(0)),wLt=new rs("REMOVABLE_EDGES",new Ki),pP=new rs("XCOOR",he(0)),bP=new rs("YCOOR",he(0)),cK=new rs("LEVELHEIGHT",0),P1=new rs("LEVELMIN",0),Xf=new rs("LEVELMAX",0),R1t=new rs("GRAPH_XMIN",0),j1t=new rs("GRAPH_YMIN",0),pLt=new rs("GRAPH_XMAX",0),bLt=new rs("GRAPH_YMAX",0),dLt=new rs("COMPACT_LEVEL_ASCENSION",!1),P1t=new rs("COMPACT_CONSTRAINTS",new fe),QA=new rs("ID",""),ZA=new rs("POSITION",he(0)),Kp=new rs("PRELIM",0),qT=new rs("MODIFIER",0),zT=new Oi(a2e),gP=new Oi(o2e)}function TCn(t){Nkt();var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(t==null)return null;if(A=t.length*8,A==0)return"";for(d=A%24,$=A/24|0,P=d!=0?$+1:$,o=null,o=Vt(Yh,Zd,28,P*4,15,1),k=0,T=0,e=0,n=0,r=0,h=0,s=0,m=0;m<$;m++)e=t[s++],n=t[s++],r=t[s++],T=(n&15)<<24>>24,k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,tt=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,o[h++]=nb[U],o[h++]=nb[J|k<<4],o[h++]=nb[T<<2|tt],o[h++]=nb[r&63];return d==8?(e=t[s],k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,o[h++]=nb[U],o[h++]=nb[k<<4],o[h++]=61,o[h++]=61):d==16&&(e=t[s],n=t[s+1],T=(n&15)<<24>>24,k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,o[h++]=nb[U],o[h++]=nb[J|k<<4],o[h++]=nb[T<<2],o[h++]=61),af(o,0,o.length)}function CCn(t,e){var n,r,s,o,h,d,m;if(t.e==0&&t.p>0&&(t.p=-(t.p-1)),t.p>Ga&&x3t(e,t.p-Wb),h=e.q.getDate(),LI(e,1),t.k>=0&&dfn(e,t.k),t.c>=0?LI(e,t.c):t.k>=0?(m=new Q4t(e.q.getFullYear()-Wb,e.q.getMonth(),35),r=35-m.q.getDate(),LI(e,b.Math.min(r,h))):LI(e,h),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),isn(e,t.f==24&&t.g?0:t.f),t.j>=0&&Ydn(e,t.j),t.n>=0&&o0n(e,t.n),t.i>=0&&DQt(e,Qa(Ja(_O(Pc(e.q.getTime()),Rp),Rp),t.i)),t.a&&(s=new x$,x3t(s,s.q.getFullYear()-Wb-80),grt(Pc(e.q.getTime()),Pc(s.q.getTime()))&&x3t(e,s.q.getFullYear()-Wb+100)),t.d>=0){if(t.c==-1)n=(7+t.d-e.q.getDay())%7,n>3&&(n-=7),d=e.q.getMonth(),LI(e,e.q.getDate()+n),e.q.getMonth()!=d&&LI(e,e.q.getDate()+(n>0?-7:7));else if(e.q.getDay()!=t.d)return!1}return t.o>Ga&&(o=e.q.getTimezoneOffset(),DQt(e,Qa(Pc(e.q.getTime()),(t.o-o)*60*Rp))),!0}function _pe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(s=X(e,(oe(),Li)),!!Lt(s,207)){for(U=u(s,27),J=e.e,P=new io(e.c),o=e.d,P.a+=o.b,P.b+=o.d,Bt=u(ne(U,(De(),GG)),181),Zu(Bt,(Ml(),NK))&&($=u(ne(U,aAt),107),Snt($,o.a),D2t($,o.d),_nt($,o.b),m6($,o.c)),n=new fe,T=new G(e.a);T.a<T.c.c.length;)for(m=u(et(T),10),Lt(X(m,Li),207)?MCn(m,P):Lt(X(m,Li),193)&&!J&&(r=u(X(m,Li),123),Tt=gge(e,m,r.g,r.f),Ch(r,Tt.a,Tt.b)),ht=new G(m.j);ht.a<ht.c.c.length;)tt=u(et(ht),12),ms(_i(new ln(null,new gn(tt.g,16)),new CVt(m)),new SVt(n));if(J)for(ht=new G(J.j);ht.a<ht.c.c.length;)tt=u(et(ht),12),ms(_i(new ln(null,new gn(tt.g,16)),new _Vt(J)),new AVt(n));for(At=u(ne(U,zg),223),d=new G(n);d.a<d.c.c.length;)h=u(et(d),18),G9n(h,At,P);for(IEn(e),k=new G(e.a);k.a<k.c.c.length;)m=u(et(k),10),A=m.e,A&&_pe(t,A)}}function Ape(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(!u(u(Ai(t.r,e),21),87).dc()){if(h=u(Io(t.b,e),127),m=h.i,d=h.n,T=tct(t,e),r=m.b-d.b-d.c,s=h.a.a,o=m.c+d.b,$=t.w,(T==(o5(),f2)||T==PP)&&u(u(Ai(t.r,e),21),87).gc()==1&&(s=T==f2?s-2*t.w:s,T=wL),r<s&&!t.B.Hc((Ml(),PK)))T==f2?($+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),o+=$):$+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1);else switch(r<s&&(s=T==f2?s-2*t.w:s,T=wL),T.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),$+=b.Math.max(0,n),o+=$;break;case 1:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1),$+=b.Math.max(0,n)}for(P=u(u(Ai(t.r,e),21),87).Kc();P.Ob();)A=u(P.Pb(),117),A.e.a=o+A.d.b,A.e.b=(k=A.b,k.pf((ai(),Pl))?k.ag()==(ve(),Hn)?-k.Mf().b-Rt(Ht(k.of(Pl))):Rt(Ht(k.of(Pl))):k.ag()==(ve(),Hn)?-k.Mf().b:0),o+=A.d.b+A.b.Mf().a+A.d.c+$}}function Lpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(!u(u(Ai(t.r,e),21),87).dc()){if(h=u(Io(t.b,e),127),m=h.i,d=h.n,A=tct(t,e),r=m.a-d.d-d.a,s=h.a.b,o=m.d+d.d,U=t.w,k=t.o.a,(A==(o5(),f2)||A==PP)&&u(u(Ai(t.r,e),21),87).gc()==1&&(s=A==f2?s-2*t.w:s,A=wL),r<s&&!t.B.Hc((Ml(),PK)))A==f2?(U+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),o+=U):U+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1);else switch(r<s&&(s=A==f2?s-2*t.w:s,A=wL),A.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),U+=b.Math.max(0,n),o+=U;break;case 1:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1),U+=b.Math.max(0,n)}for($=u(u(Ai(t.r,e),21),87).Kc();$.Ob();)P=u($.Pb(),117),P.e.a=(T=P.b,T.pf((ai(),Pl))?T.ag()==(ve(),Gn)?-T.Mf().a-Rt(Ht(T.of(Pl))):k+Rt(Ht(T.of(Pl))):T.ag()==(ve(),Gn)?-T.Mf().a:k),P.e.b=o+P.d.d,o+=P.d.d+P.b.Mf().b+P.d.a+U}}function SCn(t,e){var n,r,s,o,h;for(e.Ug("Processor determine the coords for each level",1),r=new fe,h=Dr(t.b,0);h.b!=h.d.c;){for(s=u(Ar(h),39);u(X(s,(Cc(),h0)),17).a>r.c.length-1;)ge(r,new Ws(S5,E7t));n=u(X(s,h0),17).a,bg(u(X(t,Mv),88))?(s.e.a<Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).a))&&qt((vn(n,r.c.length),u(r.c[n],42)),s.e.a),s.e.a+s.f.a>Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).b))&&re((vn(n,r.c.length),u(r.c[n],42)),s.e.a+s.f.a)):(s.e.b<Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).a))&&qt((vn(n,r.c.length),u(r.c[n],42)),s.e.b),s.e.b+s.f.b>Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).b))&&re((vn(n,r.c.length),u(r.c[n],42)),s.e.b+s.f.b))}for(o=Dr(t.b,0);o.b!=o.d.c;)s=u(Ar(o),39),n=u(X(s,(Cc(),h0)),17).a,Zt(s,(ji(),P1),Ht((vn(n,r.c.length),u(r.c[n],42)).a)),Zt(s,Xf,Ht((vn(n,r.c.length),u(r.c[n],42)).b));e.Vg()}function _Cn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(t.o=Rt(Ht(X(t.i,(De(),Av)))),t.f=Rt(Ht(X(t.i,Pw))),t.j=t.i.b.c.length,d=t.j-1,P=0,t.k=0,t.n=0,t.b=id(Vt(Ra,ue,17,t.j,0,1)),t.c=id(Vt(zs,ue,345,t.j,7,1)),h=new G(t.i.b);h.a<h.c.c.length;){for(s=u(et(h),30),s.p=d,A=new G(s.a);A.a<A.c.c.length;)T=u(et(A),10),T.p=P,++P;--d}for(t.g=Vt(Fr,ii,28,P,15,1),t.d=G2(Fr,[ue,ii],[53,28],15,[P,3],2),t.p=new fe,t.q=new fe,e=0,t.e=0,o=new G(t.i.b);o.a<o.c.c.length;){for(s=u(et(o),30),d=s.p,r=0,J=0,m=s.a.c.length,k=0,A=new G(s.a);A.a<A.c.c.length;)T=u(et(A),10),P=T.p,t.g[P]=T.c.p,k+=T.o.b+t.o,n=xg(new rr(sr(ua(T).a.Kc(),new z))),U=xg(new rr(sr(_s(T).a.Kc(),new z))),t.d[P][0]=U-n,t.d[P][1]=n,t.d[P][2]=U,r+=n,J+=U,n>0&&ge(t.q,T),ge(t.p,T);e-=r,$=m+e,k+=e*t.f,Mh(t.b,d,he($)),Mh(t.c,d,k),t.k=b.Math.max(t.k,$),t.n=b.Math.max(t.n,k),t.e+=e,e+=J}}function ve(){ve=V;var t;bc=new tI(G_,0),Hn=new tI(_V,1),Jn=new tI(kut,2),Er=new tI(Eut,3),Gn=new tI(Tut,4),Cd=(mn(),new dE((t=u(y1(bo),9),new _h(t,u(Ff(t,t.length),9),0)))),e1=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[]))),Kh=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[]))),wh=Ap(Hi(Er,lt(ut(bo,1),qc,64,0,[]))),wf=Ap(Hi(Gn,lt(ut(bo,1),qc,64,0,[]))),Gu=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Er]))),Ou=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Gn]))),n1=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Gn]))),yl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn]))),mh=Ap(Hi(Er,lt(ut(bo,1),qc,64,0,[Gn]))),Wh=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Er]))),xl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Gn]))),Uu=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Er,Gn]))),Ku=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Er,Gn]))),cl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Er]))),fu=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Er,Gn])))}function ACn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(e.Ug(_2e,1),J=new fe,se=new fe,k=new G(t.b);k.a<k.c.c.length;)for(m=u(et(k),30),ht=-1,U=II(m.a),A=U,P=0,$=A.length;P<$;++P)if(T=A[P],++ht,!!(T.k==(Un(),xs)&&z4(u(X(T,(De(),bs)),101)))){for(q6(u(X(T,(De(),bs)),101))||lkn(T),Zt(T,(oe(),yv),T),J.c.length=0,se.c.length=0,n=new fe,Bt=new Ki,oat(Bt,Pp(T,(ve(),Hn))),Hpe(t,Bt,J,se,n),d=ht,Ce=T,o=new G(J);o.a<o.c.c.length;)r=u(et(o),10),Xy(r,d,m),++ht,Zt(r,yv,T),h=u(Oe(r.j,0),12),tt=u(X(h,Li),12),Ie(Me(X(tt,Jft)))||u(X(r,Uk),15).Fc(Ce);for(nh(Bt),At=Pp(T,Er).Kc();At.Ob();)Tt=u(At.Pb(),12),hs(Bt,Tt,Bt.a,Bt.a.a);for(Hpe(t,Bt,se,null,n),Wt=T,s=new G(se);s.a<s.c.c.length;)r=u(et(s),10),Xy(r,++ht,m),Zt(r,yv,T),h=u(Oe(r.j,0),12),tt=u(X(h,Li),12),Ie(Me(X(tt,Jft)))||u(X(Wt,Uk),15).Fc(r);n.c.length==0||Zt(T,WSt,n)}e.Vg()}function Dpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(e.b!=0){for($=new Ki,d=null,U=null,r=Ys(b.Math.floor(b.Math.log(e.b)*b.Math.LOG10E)+1),m=0,At=Dr(e,0);At.b!=At.d.c;)for(ht=u(Ar(At),39),$t(U)!==$t(X(ht,(ji(),QA)))&&(U=Gr(X(ht,QA)),m=0),U!=null?d=U+Ere(m++,r):d=Ere(m++,r),Zt(ht,QA,d),tt=(s=Dr(new gg(ht).a.d,0),new M4(s));IM(tt.a);)J=u(Ar(tt.a),65).c,hs($,J,$.c.b,$.c),Zt(J,QA,d);for(P=new _r,h=0;h<d.length-r;h++)for(Tt=Dr(e,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),39),k=Lh(Gr(X(ht,(ji(),QA))),0,h+1),n=(k==null?Ko(Eo(P.f,null)):iS(P.i,k))!=null?u(k==null?Ko(Eo(P.f,null)):iS(P.i,k),17).a+1:1,jo(P,k,he(n));for(A=new sw(new mr(P).a);A.b;)T=Um(A),o=he(tr(t.a,T.ld())!=null?u(tr(t.a,T.ld()),17).a:0),jo(t.a,Gr(T.ld()),he(u(T.md(),17).a+o.a)),o=u(tr(t.b,T.ld()),17),(!o||o.a<u(T.md(),17).a)&&jo(t.b,Gr(T.ld()),u(T.md(),17));Dpe(t,$)}}function LCn(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(n=null,m=null,s=u(X(t.b,(De(),i1t)),349),s==(i_(),lP)&&(n=new fe,m=new fe),d=new G(t.d);d.a<d.c.c.length;)if(h=u(et(d),105),o=h.i,!!o)switch(h.e.g){case 0:e=u(GS(new I6(h.b)),64),s==lP&&e==(ve(),Hn)?In(n.c,h):s==lP&&e==(ve(),Er)?In(m.c,h):nvn(h,e);break;case 1:k=h.a.d.j,T=h.c.d.j,k==(ve(),Hn)?vp(h,Hn,(ud(),yT),h.a):T==Hn?vp(h,Hn,(ud(),xT),h.c):k==Er?vp(h,Er,(ud(),xT),h.a):T==Er&&vp(h,Er,(ud(),yT),h.c);break;case 2:case 3:r=h.b,Zu(r,(ve(),Hn))?Zu(r,Er)?Zu(r,Gn)?Zu(r,Jn)||vp(h,Hn,(ud(),xT),h.c):vp(h,Hn,(ud(),yT),h.a):vp(h,Hn,(ud(),zk),null):vp(h,Er,(ud(),zk),null);break;case 4:A=h.a.d.j,P=h.a.d.j,A==(ve(),Hn)||P==Hn?vp(h,Er,(ud(),zk),null):vp(h,Hn,(ud(),zk),null)}n&&(n.c.length==0||Ege(n,(ve(),Hn)),m.c.length==0||Ege(m,(ve(),Er)))}function DCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(n.Ug("Breadth first model order layering",1),t.a=e,tt=new fe,J=new G(t.a.a);J.a<J.c.c.length;)$=u(et(J),10),$.k==(Un(),xs)&&In(tt.c,$);for(mn(),Ds(tt,new jJ),m=!0,s=new eu(t.a),r=null,ge(t.a.b,s),U=new G(tt);U.a<U.c.c.length;)if($=u(et(U),10),m)Aa($,s),m=!1;else{for(d=new rr(sr(ua($).a.Kc(),new z));Mr(d);)o=u(dr(d),18),(o.c.i.k==(Un(),xs)&&o.c.i.c==s||o.c.i.k==Vc&&u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.c==s)&&(r=new eu(t.a),ge(t.a.b,r),s=new eu(t.a),ge(t.a.b,s));for(h=new rr(sr(ua($).a.Kc(),new z));Mr(h);)o=u(dr(h),18),o.c.i.k==(Un(),Vc)&&!o.c.i.c&&Aa(o.c.i,r);Aa($,s)}for(t.a.a.c.length=0,ht=new fe,A=new G(t.a.b);A.a<A.c.c.length;)k=u(et(A),30),k.a.c.length==0&&In(ht.c,k);for(_5t(t.a.b,ht),P=0,T=new G(t.a.b);T.a<T.c.c.length;)k=u(et(T),30),k.p=P,++P;n.Vg()}function MCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(r=u(X(t,(oe(),Li)),27),U=u(X(t,(De(),RG)),17).a,o=u(X(t,qG),17).a,Mi(r,RG,he(U)),Mi(r,qG,he(o)),Su(r,t.n.a+e.a),_u(r,t.n.b+e.b),(u(ne(r,Ow),181).gc()!=0||t.e||$t(X(Pa(t),UG))===$t((w_(),qA))&&$Qt((Yy(),(t.q?t.q:(mn(),mn(),q0))._b(Cv)?P=u(X(t,Cv),203):P=u(X(Pa(t),RA),203),P)))&&(qm(r,t.o.a),zm(r,t.o.b)),A=new G(t.j);A.a<A.c.c.length;)k=u(et(A),12),J=X(k,Li),Lt(J,193)&&(s=u(J,123),Ch(s,k.n.a,k.n.b),Mi(s,NT,k.j));for($=u(X(t,Tv),181).gc()!=0,m=new G(t.b);m.a<m.c.c.length;)h=u(et(m),72),($||u(X(h,Tv),181).gc()!=0)&&(n=u(X(h,Li),135),H4(n,h.o.a,h.o.b),Ch(n,h.n.a,h.n.b));if(!IS(u(X(t,M3),21)))for(T=new G(t.j);T.a<T.c.c.length;)for(k=u(et(T),12),d=new G(k.f);d.a<d.c.c.length;)h=u(et(d),72),n=u(X(h,Li),135),qm(n,h.o.a),zm(n,h.o.b),Ch(n,h.n.a,h.n.b)}function ICn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;for(e.Ug("Calculate Graph Size",1),e.dh(t,I7t),A=S5,P=S5,k=O7t,T=O7t,J=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));J.e!=J.i.gc();)$=u(ar(J),27),Tt=$.i,At=$.j,Ze=$.g,d=$.f,m=u(ne($,(ai(),UT)),140),A=b.Math.min(A,Tt-m.b),P=b.Math.min(P,At-m.d),k=b.Math.max(k,Tt+Ze+m.c),T=b.Math.max(T,At+d+m.a);for(ht=u(ne(t,(ai(),Yp)),107),tt=new ae(A-ht.b,P-ht.d),rn=k-A+(ht.b+ht.c),h=T-P+(ht.d+ht.a),Ie(Me(ne(t,(Ub(),ULt))))&&(Bt=u(ne(t,(Y4(),ex)),27),Wt=u(ne(Bt,UT),140),se=Bt.i+Bt.g/2+(Wt.b+Wt.c)/2-tt.a,Ce=Bt.j+Bt.f/2+(Wt.d+Wt.a)/2-tt.b,s=rn-se,o=h-Ce,s<rn/2?(n=s-se,rn+=n,tt.a-=n):(n=se-s,rn+=n),o<h/2?(r=o-Ce,h+=r,tt.b-=r):(r=Ce-o,h+=r)),U=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));U.e!=U.i.gc();)$=u(ar(U),27),Su($,$.i-tt.a),_u($,$.j-tt.b);Ie(Me(ne(t,R3)))||(qm(t,rn),zm(t,h)),Mi(t,ox,rn-(ht.b+ht.c)),Mi(t,ax,h-(ht.d+ht.a)),e.dh(t,iU)}function OCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(t.e.a.$b(),t.f.a.$b(),t.c.c.length=0,t.i.c.length=0,t.g.a.$b(),e)for(h=new G(e.a);h.a<h.c.c.length;)for(o=u(et(h),10),A=Pp(o,(ve(),Jn)).Kc();A.Ob();)for(T=u(A.Pb(),12),qs(t.e,T),s=new G(T.g);s.a<s.c.c.length;)r=u(et(s),18),!go(r)&&(ge(t.c,r),Vle(t,r),d=r.c.i.k,(d==(Un(),xs)||d==uu||d==Ms||d==md)&&ge(t.j,r),$=r.d,P=$.i.c,P==n?qs(t.f,$):P==e?qs(t.e,$):zu(t.c,r));if(n)for(h=new G(n.a);h.a<h.c.c.length;){for(o=u(et(h),10),k=new G(o.j);k.a<k.c.c.length;)for(m=u(et(k),12),s=new G(m.g);s.a<s.c.c.length;)r=u(et(s),18),go(r)&&qs(t.g,r);for(A=Pp(o,(ve(),Gn)).Kc();A.Ob();)for(T=u(A.Pb(),12),qs(t.f,T),s=new G(T.g);s.a<s.c.c.length;)r=u(et(s),18),!go(r)&&(ge(t.c,r),Vle(t,r),d=r.c.i.k,(d==(Un(),xs)||d==uu||d==Ms||d==md)&&ge(t.j,r),$=r.d,P=$.i.c,P==n?qs(t.f,$):P==e?qs(t.e,$):zu(t.c,r))}}function NCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(n.Ug("Polyline edge routing",1),tt=Rt(Ht(X(e,(De(),H_t)))),$=Rt(Ht(X(e,X5))),s=Rt(Ht(X(e,W5))),r=b.Math.min(1,s/$),At=0,m=0,e.b.c.length!=0&&(Bt=_de(u(Oe(e.b,0),30)),At=.4*r*Bt),d=new La(e.b,0);d.b<d.d.gc();){for(h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)),o=Z$(h,fP),o&&At>0&&(At-=$),Ukt(h,At),T=0,P=new G(h.a);P.a<P.c.c.length;){for(A=u(et(P),10),k=0,J=new rr(sr(_s(A).a.Kc(),new z));Mr(J);)U=u(dr(J),18),ht=rd(U.c).b,Tt=rd(U.d).b,h==U.d.i.c&&!go(U)&&(K5n(U,At,.4*r*b.Math.abs(ht-Tt)),U.c.j==(ve(),Gn)&&(ht=0,Tt=0)),k=b.Math.max(k,b.Math.abs(Tt-ht));switch(A.k.g){case 0:case 4:case 1:case 3:case 5:QTn(t,A,At,tt)}T=b.Math.max(T,k)}d.b<d.d.gc()&&(Bt=_de((ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30))),T=b.Math.max(T,Bt),ur(d.b>0),d.a.Xb(d.c=--d.b)),m=.4*r*T,!o&&d.b<d.d.gc()&&(m+=$),At+=h.c.a+m}t.a.a.$b(),e.f.a=At,n.Vg()}function PCn(t){var e,n,r,s,o;switch(SI(t,sme),(!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i+(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i){case 0:throw at(new zn("The edge must have at least one source or target."));case 1:return(!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==0?Ji(Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))):Ji(Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)))}if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==1&&(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i==1){if(s=Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)),o=Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84)),Ji(s)==Ji(o))return Ji(s);if(s==Ji(o))return s;if(o==Ji(s))return o}for(r=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.b&&(t.b=new kn(vr,t,4,7)),t.b),(!t.c&&(t.c=new kn(vr,t,5,8)),t.c)]))),e=Jo(u(dr(r),84));Mr(r);)if(n=Jo(u(dr(r),84)),n!=e&&!qy(n,e)){if(Ji(n)==Ji(e))e=Ji(n);else if(e=c6n(e,n),!e)return null}return e}function e8t(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(P=e.length,P>0&&(m=(qn(0,e.length),e.charCodeAt(0)),m!=64)){if(m==37&&(A=e.lastIndexOf("%"),k=!1,A!=0&&(A==P-1||(k=(qn(A+1,e.length),e.charCodeAt(A+1)==46))))){if(h=(Da(1,A,e.length),e.substr(1,A-1)),At=hn("%",h)?null:n8t(h),r=0,k)try{r=lh((qn(A+2,e.length+1),e.substr(A+2)),Ga,xi)}catch(Bt){throw Bt=es(Bt),Lt(Bt,130)?(d=Bt,at(new _q(d))):at(Bt)}for(tt=D4t(t.Gh());tt.Ob();)if(U=eH(tt),Lt(U,519)&&(s=u(U,598),Tt=s.d,(At==null?Tt==null:hn(At,Tt))&&r--==0))return s;return null}if(T=e.lastIndexOf("."),$=T==-1?e:(Da(0,T,e.length),e.substr(0,T)),n=0,T!=-1)try{n=lh((qn(T+1,e.length+1),e.substr(T+1)),Ga,xi)}catch(Bt){if(Bt=es(Bt),Lt(Bt,130))$=e;else throw at(Bt)}for($=hn("%",$)?null:n8t($),J=D4t(t.Gh());J.Ob();)if(U=eH(J),Lt(U,197)&&(o=u(U,197),ht=o.xe(),($==null?ht==null:hn($,ht))&&n--==0))return o;return null}return bpe(t,e)}function FCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(T=new _r,m=new Fm,r=new G(t.a.a.b);r.a<r.c.c.length;)if(e=u(et(r),60),k=J4(e),k)yu(T.f,k,e);else if(Tt=ek(e),Tt)for(o=new G(Tt.k);o.a<o.c.c.length;)s=u(et(o),18),dn(m,s,e);for(n=new G(t.a.a.b);n.a<n.c.c.length;)if(e=u(et(n),60),k=J4(e),k){for(d=new rr(sr(_s(k).a.Kc(),new z));Mr(d);)if(h=u(dr(d),18),!go(h)&&(U=h.c,ht=h.d,!((ve(),Gu).Hc(h.c.j)&&Gu.Hc(h.d.j)))){if(J=u(tr(T,h.d.i),60),Hf(Of(If(Nf(Mf(new tf,0),100),t.c[e.a.d]),t.c[J.a.d])),U.j==Gn&&cee((rl(),U))){for(P=u(Ai(m,h),21).Kc();P.Ob();)if(A=u(P.Pb(),60),A.d.c<e.d.c){if($=t.c[A.a.d],tt=t.c[e.a.d],$==tt)continue;Hf(Of(If(Nf(Mf(new tf,1),100),$),tt))}}if(ht.j==Jn&&uee((rl(),ht))){for(P=u(Ai(m,h),21).Kc();P.Ob();)if(A=u(P.Pb(),60),A.d.c>e.d.c){if($=t.c[e.a.d],tt=t.c[A.a.d],$==tt)continue;Hf(Of(If(Nf(Mf(new tf,1),100),$),tt))}}}}}function BCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;if(P=u(u(Ai(t.r,e),21),87),e==(ve(),Jn)||e==Gn){Tpe(t,e);return}for(o=e==Hn?(Gm(),BN):(Gm(),RN),Bt=e==Hn?(qu(),O1):(qu(),Kf),n=u(Io(t.b,e),127),r=n.i,s=r.c+e5(lt(ut(ma,1),No,28,15,[n.n.b,t.C.b,t.k])),ht=r.c+r.b-e5(lt(ut(ma,1),No,28,15,[n.n.c,t.C.c,t.k])),h=wwt(Ovt(o),t.t),Tt=e==Hn?Vs:Zi,A=P.Kc();A.Ob();)k=u(A.Pb(),117),!(!k.c||k.c.d.c.length<=0)&&(tt=k.b.Mf(),J=k.e,$=k.c,U=$.i,U.b=(m=$.n,$.e.a+m.b+m.c),U.a=(d=$.n,$.e.b+d.d+d.a),SI(Bt,I8t),$.f=Bt,S1($,(pl(),Gf)),U.c=J.a-(U.b-tt.a)/2,Wt=b.Math.min(s,J.a),se=b.Math.max(ht,J.a+tt.a),U.c<Wt?U.c=Wt:U.c+U.b>se&&(U.c=se-U.b),ge(h.d,new Oit(U,T5t(h,U))),Tt=e==Hn?b.Math.max(Tt,J.b+k.b.Mf().b):b.Math.min(Tt,J.b));for(Tt+=e==Hn?t.t:-t.t,At=H5t((h.e=Tt,h)),At>0&&(u(Io(t.b,e),127).a.b=At),T=P.Kc();T.Ob();)k=u(T.Pb(),117),!(!k.c||k.c.d.c.length<=0)&&(U=k.c.i,U.c-=k.e.a,U.d-=k.e.b)}function RCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(e=new _r,m=new Zn(t);m.e!=m.i.gc();){for(d=u(ar(m),27),n=new Os,hi(Jht,d,n),$=new ip,s=u(nc(new ln(null,new Lm(new rr(sr(jO(d).a.Kc(),new z)))),Gte($,gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)])))),85),Soe(n,u(s.xc((Pn(),!0)),16),new sy),r=u(nc(_i(u(s.xc(!1),15).Lc(),new D8),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),h=r.Kc();h.Ob();)o=u(h.Pb(),74),P=Sfe(o),P&&(k=u(Ko(Eo(e.f,P)),21),k||(k=Xde(P),yu(e.f,P,k)),Ma(n,k));for(s=u(nc(new ln(null,new Lm(new rr(sr(Og(d).a.Kc(),new z)))),Gte($,gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc])))),85),Soe(n,u(s.xc(!0),16),new g4),r=u(nc(_i(u(s.xc(!1),15).Lc(),new th),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),A=r.Kc();A.Ob();)T=u(A.Pb(),74),P=_fe(T),P&&(k=u(Ko(Eo(e.f,P)),21),k||(k=Xde(P),yu(e.f,P,k)),Ma(n,k))}}function jCn(t,e){mct();var n,r,s,o,h,d,m,k,T,A,P,$,U,J;if(m=$c(t,0)<0,m&&(t=Cp(t)),$c(t,0)==0)switch(e){case 0:return"0";case 1:return Y7;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 $=new yb,e<0?$.a+="0E+":$.a+="0E",$.a+=e==Ga?"2147483648":""+-e,$.a}T=18,A=Vt(Yh,Zd,28,T+1,15,1),n=T,J=t;do k=J,J=_O(J,10),A[--n]=qr(Qa(48,sf(k,Ja(J,10))))&js;while($c(J,0)!=0);if(s=sf(sf(sf(T,n),e),1),e==0)return m&&(A[--n]=45),af(A,n,T-n);if(e>0&&$c(s,-6)>=0){if($c(s,0)>=0){for(o=n+qr(s),d=T-1;d>=o;d--)A[d+1]=A[d];return A[++o]=46,m&&(A[--n]=45),af(A,n,T-n+1)}for(h=2;grt(h,Qa(Cp(s),1));h++)A[--n]=48;return A[--n]=46,A[--n]=48,m&&(A[--n]=45),af(A,n,T-n)}return U=n+1,r=T,P=new I4,m&&(P.a+="-"),r-U>=1?(Db(P,A[n]),P.a+=".",P.a+=af(A,n+1,T-n-1)):P.a+=af(A,n,T-n),P.a+="E",$c(s,0)>0&&(P.a+="+"),P.a+=""+OS(s),P.a}function rv(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;if(tt=new ae(t.g,t.f),J=v6t(t),J.a=b.Math.max(J.a,e),J.b=b.Math.max(J.b,n),se=J.a/tt.a,T=J.b/tt.b,Bt=J.a-tt.a,m=J.b-tt.b,r)for(h=Ji(t)?u(ne(Ji(t),(ai(),Rw)),88):u(ne(t,(ai(),Rw)),88),d=$t(ne(t,(ai(),fL)))===$t((ka(),hu)),Tt=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));Tt.e!=Tt.i.gc();)switch(ht=u(ar(Tt),123),At=u(ne(ht,hx),64),At==(ve(),bc)&&(At=Pkt(ht,h),Mi(ht,hx,At)),At.g){case 1:d||Su(ht,ht.i*se);break;case 2:Su(ht,ht.i+Bt),d||_u(ht,ht.j*T);break;case 3:d||Su(ht,ht.i*se),_u(ht,ht.j+m);break;case 4:d||_u(ht,ht.j*T)}if(H4(t,J.a,J.b),s)for(P=new Zn((!t.n&&(t.n=new Jt(Po,t,1,7)),t.n));P.e!=P.i.gc();)A=u(ar(P),135),$=A.i+A.g/2,U=A.j+A.f/2,Wt=$/tt.a,k=U/tt.b,Wt+k>=1&&(Wt-k>0&&U>=0?(Su(A,A.i+Bt),_u(A,A.j+m*k)):Wt-k<0&&$>=0&&(Su(A,A.i+Bt*Wt),_u(A,A.j+m)));return Mi(t,(ai(),jw),(Yl(),o=u(y1(xL),9),new _h(o,u(Ff(o,o.length),9),0))),new ae(se,T)}function Mpe(t){wm(t,new dw(p$(gm(hm(dm(fm(new G1,zh),"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 Kc),zh))),le(t,zh,JV,Se(H8e)),le(t,zh,h3,Se(V8e)),le(t,zh,_5,Se(j8e)),le(t,zh,Ik,Se($8e)),le(t,zh,Mk,Se(z8e)),le(t,zh,nT,Se(R8e)),le(t,zh,X_,Se(GLt)),le(t,zh,rT,Se(q8e)),le(t,zh,_lt,Se(tdt)),le(t,zh,Slt,Se(edt)),le(t,zh,sU,Se(WLt)),le(t,zh,Alt,Se(ndt)),le(t,zh,Llt,Se(YLt)),le(t,zh,q7t,Se(XLt)),le(t,zh,z7t,Se(KLt)),le(t,zh,B7t,Se(dK)),le(t,zh,R7t,Se(gK)),le(t,zh,j7t,Se(wP)),le(t,zh,$7t,Se(QLt)),le(t,zh,F7t,Se(ULt))}function mV(t){var e,n,r,s,o,h,d,m,k,T,A;if(t==null)throw at(new jd(Vu));if(k=t,o=t.length,m=!1,o>0&&(e=(qn(0,t.length),t.charCodeAt(0)),(e==45||e==43)&&(t=(qn(1,t.length+1),t.substr(1)),--o,m=e==45)),o==0)throw at(new jd(av+k+'"'));for(;t.length>0&&(qn(0,t.length),t.charCodeAt(0)==48);)t=(qn(1,t.length+1),t.substr(1)),--o;if(o>(cge(),Xve)[10])throw at(new jd(av+k+'"'));for(s=0;s<o;s++)if(_le((qn(s,t.length),t.charCodeAt(s)))==-1)throw at(new jd(av+k+'"'));for(A=0,h=p9t[10],T=Dht[10],d=Cp(b9t[10]),n=!0,r=o%h,r>0&&(A=-parseInt((Da(0,r,t.length),t.substr(0,r)),10),t=(qn(r,t.length+1),t.substr(r)),o-=r,n=!1);o>=h;){if(r=parseInt((Da(0,h,t.length),t.substr(0,h)),10),t=(qn(h,t.length+1),t.substr(h)),o-=h,n)n=!1;else{if($c(A,d)<0)throw at(new jd(av+k+'"'));A=Ja(A,T)}A=sf(A,r)}if($c(A,0)>0)throw at(new jd(av+k+'"'));if(!m&&(A=Cp(A),$c(A,0)<0))throw at(new jd(av+k+'"'));return A}function n8t(t){Tct();var e,n,r,s,o,h,d,m;if(t==null)return null;if(s=$d(t,Hu(37)),s<0)return t;for(m=new eh((Da(0,s,t.length),t.substr(0,s))),e=Vt(ul,M5,28,4,15,1),d=0,r=0,h=t.length;s<h;s++)if(qn(s,t.length),t.charCodeAt(s)==37&&t.length>s+2&&vat((qn(s+1,t.length),t.charCodeAt(s+1)),PIt,FIt)&&vat((qn(s+2,t.length),t.charCodeAt(s+2)),PIt,FIt))if(n=aun((qn(s+1,t.length),t.charCodeAt(s+1)),(qn(s+2,t.length),t.charCodeAt(s+2))),s+=2,r>0?(n&192)==128?e[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(e[d++]=n<<24>>24,r=2):(n&240)==224?(e[d++]=n<<24>>24,r=3):(n&248)==240&&(e[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{Db(m,((e[0]&31)<<6|e[1]&63)&js);break}case 3:{Db(m,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&js);break}}d=0,r=0}}else{for(o=0;o<d;++o)Db(m,e[o]&js);d=0,m.a+=String.fromCharCode(n)}else{for(o=0;o<d;++o)Db(m,e[o]&js);d=0,Db(m,(qn(s,t.length),t.charCodeAt(s)))}return m.a}function Ipe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;if($=Ji(Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))),U=Ji(Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))),A=$==U,d=new Sa,e=u(ne(t,(aH(),rIt)),75),e&&e.b>=2){if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)n=(kb(),s=new K8,s),Or((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),n);else if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i>1)for(P=new j6((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));P.e!=P.i.gc();)E_(P);KO(e,u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166))}if(A)for(r=new Zn((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));r.e!=r.i.gc();)for(n=u(ar(r),166),k=new Zn((!n.a&&(n.a=new Ps(vh,n,5)),n.a));k.e!=k.i.gc();)m=u(ar(k),377),d.a=b.Math.max(d.a,m.a),d.b=b.Math.max(d.b,m.b);for(h=new Zn((!t.n&&(t.n=new Jt(Po,t,1,7)),t.n));h.e!=h.i.gc();)o=u(ar(h),135),T=u(ne(o,pL),8),T&&Ch(o,T.a,T.b),A&&(d.a=b.Math.max(d.a,o.i+o.g),d.b=b.Math.max(d.b,o.j+o.f));return d}function Ope(t,e,n,r,s){var o,h,d;if(Oae(t,e),h=e[0],o=Va(n.c,0),d=-1,t5t(n))if(r>0){if(h+r>t.length)return!1;d=KH((Da(0,h+r,t.length),t.substr(0,h+r)),e)}else d=KH(t,e);switch(o){case 71:return d=d5(t,h,lt(ut(Pe,1),ue,2,6,[mbe,vbe]),e),s.e=d,!0;case 77:return e8n(t,e,s,d,h);case 76:return n8n(t,e,s,d,h);case 69:return K4n(t,e,h,s);case 99:return W4n(t,e,h,s);case 97:return d=d5(t,h,lt(ut(Pe,1),ue,2,6,["AM","PM"]),e),s.b=d,!0;case 121:return r8n(t,e,h,d,n,s);case 100:return d<=0?!1:(s.c=d,!0);case 83:return d<0?!1:uwn(d,h,e[0],s);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(s.f=d,s.g=!1,!0);case 107:return d<0?!1:(s.f=d,s.g=!0,!0);case 109:return d<0?!1:(s.j=d,!0);case 115:return d<0?!1:(s.n=d,!0);case 90:if(h<t.length&&(qn(h,t.length),t.charCodeAt(h)==90))return++e[0],s.o=0,!0;case 122:case 118:return w3n(t,h,e,s);default:return!1}}function $Cn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;for(At=e.c.length,s=new m5(t.a,n,null,null),rn=Vt(ma,No,28,At,15,1),J=Vt(ma,No,28,At,15,1),U=Vt(ma,No,28,At,15,1),tt=0,d=0;d<At;d++)J[d]=xi,U[d]=Ga;for(m=0;m<At;m++)for(r=(vn(m,e.c.length),u(e.c[m],185)),rn[m]=Xot(r),rn[tt]>rn[m]&&(tt=m),A=new G(t.a.b);A.a<A.c.c.length;)for(T=u(et(A),30),Tt=new G(T.a);Tt.a<Tt.c.c.length;)ht=u(et(Tt),10),se=Rt(r.p[ht.p])+Rt(r.d[ht.p]),J[m]=b.Math.min(J[m],se),U[m]=b.Math.max(U[m],se+ht.o.b);for(Ce=Vt(ma,No,28,At,15,1),k=0;k<At;k++)(vn(k,e.c.length),u(e.c[k],185)).o==(nd(),Fw)?Ce[k]=J[tt]-J[k]:Ce[k]=U[tt]-U[k];for(o=Vt(ma,No,28,At,15,1),$=new G(t.a.b);$.a<$.c.c.length;)for(P=u(et($),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;){for(Bt=u(et(Wt),10),h=0;h<At;h++)o[h]=Rt((vn(h,e.c.length),u(e.c[h],185)).p[Bt.p])+Rt((vn(h,e.c.length),u(e.c[h],185)).d[Bt.p])+Ce[h];cKt(o,uoe(It.prototype.Me,It,[])),s.p[Bt.p]=(o[1]+o[2])/2,s.d[Bt.p]=0}return s}function zCn(t,e,n){var r,s,o,h,d;switch(r=e.i,o=t.i.o,s=t.i.d,d=t.n,h=dc(lt(ut(la,1),ue,8,0,[d,t.a])),t.j.g){case 1:Hd(e,(qu(),Kf)),r.d=-s.d-n-r.a,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(S1(e,(pl(),Gf)),r.c=h.a-Rt(Ht(X(t,V5)))-n-r.b):(S1(e,(pl(),c0)),r.c=h.a+Rt(Ht(X(t,V5)))+n);break;case 2:S1(e,(pl(),c0)),r.c=o.a+s.c+n,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(Hd(e,(qu(),Kf)),r.d=h.b-Rt(Ht(X(t,V5)))-n-r.a):(Hd(e,(qu(),O1)),r.d=h.b+Rt(Ht(X(t,V5)))+n);break;case 3:Hd(e,(qu(),O1)),r.d=o.b+s.a+n,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(S1(e,(pl(),Gf)),r.c=h.a-Rt(Ht(X(t,V5)))-n-r.b):(S1(e,(pl(),c0)),r.c=h.a+Rt(Ht(X(t,V5)))+n);break;case 4:S1(e,(pl(),Gf)),r.c=-s.b-n-r.b,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(Hd(e,(qu(),Kf)),r.d=h.b-Rt(Ht(X(t,V5)))-n-r.a):(Hd(e,(qu(),O1)),r.d=h.b+Rt(Ht(X(t,V5)))+n)}}function qCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;for(n.Ug(twe,1),!e.a&&(e.a=new Jt(bi,e,10,11)),r=Rt(Ht(ne(e,(fd(),mK)))),T=Rt(Ht(ne(e,iL))),P=u(ne(e,rL),107),$=new lmt(r,T),o=Zpe($,e,P),soe(e,$),d=u(ne(e,pDt),17).a;d>1;){if(s=W6n(e),A=o.g,U=u(ne(e,rL),107),J=Rt(Ht(ne(e,mK))),(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i>1&&Rt(Ht(ne(e,(N0(),ldt))))!=Zi&&(o.c+(U.b+U.c))/(o.b+(U.d+U.a))<J?Mi(s,(N0(),B3),Rt(Ht(ne(e,B3)))+Rt(Ht(ne(e,ldt)))):(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i>1&&Rt(Ht(ne(e,(N0(),udt))))!=Zi&&(o.c+(U.b+U.c))/(o.b+(U.d+U.a))>J&&Mi(s,(N0(),B3),b.Math.max(Rt(Ht(ne(e,nL))),Rt(Ht(ne(s,B3)))-Rt(Ht(ne(e,udt))))),$=new lmt(r,T),m=Zpe($,s,P),k=m.g,k>=A&&k==k){for(h=0;h<(!s.a&&(s.a=new Jt(bi,s,10,11)),s.a).i;h++)S1e(t,u(Dt((!s.a&&(s.a=new Jt(bi,s,10,11)),s.a),h),27),u(Dt((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),h),27));soe(e,$),Jhn(o,m.c),Qhn(o,m.b)}--d}Mi(e,(N0(),eL),o.b),Mi(e,HT,o.c),n.Vg()}function HCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(e.Ug("Interactive node layering",1),n=new fe,P=new G(t.a);P.a<P.c.c.length;){for(T=u(et(P),10),m=T.n.a,d=m+T.o.a,d=b.Math.max(m+1,d),Tt=new La(n,0),r=null;Tt.b<Tt.d.gc();)if(tt=(ur(Tt.b<Tt.d.gc()),u(Tt.d.Xb(Tt.c=Tt.b++),578)),tt.c>=d){ur(Tt.b>0),Tt.a.Xb(Tt.c=--Tt.b);break}else tt.a>m&&(r?(Hs(r.b,tt.b),r.a=b.Math.max(r.a,tt.a),Kl(Tt)):(ge(tt.b,T),tt.c=b.Math.min(tt.c,m),tt.a=b.Math.max(tt.a,d),r=tt));r||(r=new _Kt,r.c=m,r.a=d,Ly(Tt,r),ge(r.b,T))}for(h=t.b,k=0,ht=new G(n);ht.a<ht.c.c.length;)for(tt=u(et(ht),578),s=new eu(t),s.p=k++,In(h.c,s),$=new G(tt.b);$.a<$.c.c.length;)T=u(et($),10),Aa(T,s),T.p=0;for(A=new G(t.a);A.a<A.c.c.length;)if(T=u(et(A),10),T.p==0)for(J=k0e(T,t);J.a.gc()!=0;)U=u(J.a.ec().Kc().Pb(),10),J.a.Bc(U)!=null,Ma(J,k0e(U,t));for(o=new La(h,0);o.b<o.d.gc();)(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30)).a.c.length==0&&Kl(o);t.a.c.length=0,e.Vg()}function VCn(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for($=0,On=0,m=new G(t);m.a<m.c.c.length;)d=u(et(m),27),wpe(d),$=b.Math.max($,d.g),On+=d.g*d.f;for(U=On/t.c.length,Ze=_vn(t,U),On+=t.c.length*Ze,$=b.Math.max($,b.Math.sqrt(On*h))+n.b,Jr=n.b,is=n.d,P=0,T=n.b+n.c,rn=new Ki,Zr(rn,he(0)),se=new Ki,k=new La(t,0);k.b<k.d.gc();)d=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),27)),er=d.g,A=d.f,Jr+er>$&&(o&&(ro(se,P),ro(rn,he(k.b-1))),Jr=n.b,is+=P+e,P=0,T=b.Math.max(T,n.b+n.c+er)),Su(d,Jr),_u(d,is),T=b.Math.max(T,Jr+er+n.c),P=b.Math.max(P,A),Jr+=er+e;if(T=b.Math.max(T,r),Dn=is+P+n.a,Dn<s&&(P+=s-Dn,Dn=s),o)for(Jr=n.b,k=new La(t,0),ro(rn,he(t.c.length)),Ce=Dr(rn,0),ht=u(Ar(Ce),17).a,ro(se,P),Wt=Dr(se,0),Bt=0;k.b<k.d.gc();)k.b==ht&&(Jr=n.b,Bt=Rt(Ht(Ar(Wt))),ht=u(Ar(Ce),17).a),d=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),27)),Tt=d.f,zm(d,Bt),J=Bt,k.b==ht&&(tt=T-Jr-n.c,At=d.g,qm(d,tt),c1e(d,new ae(tt,J),new ae(At,Tt))),Jr+=d.g+e;return new ae(T,Dn)}function UCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;for(e.Ug("Compound graph postprocessor",1),n=Ie(Me(X(t,(De(),f1t)))),d=u(X(t,(oe(),QSt)),229),T=new Os,ht=d.ec().Kc();ht.Ob();){for(tt=u(ht.Pb(),18),h=new fl(d.cc(tt)),mn(),Ds(h,new _M(t)),Wt=epn((vn(0,h.c.length),u(h.c[0],249))),Ce=ice(u(Oe(h,h.c.length-1),249)),At=Wt.i,a7(Ce.i,At)?Tt=At.e:Tt=Pa(At),A=smn(tt,h),nh(tt.a),P=null,o=new G(h);o.a<o.c.c.length;)s=u(et(o),249),J=new Sa,p6t(J,s.a,Tt),$=s.b,r=new Qu,Dat(r,0,$.a),Vy(r,J),Bt=new io(rd($.c)),se=new io(rd($.d)),ki(Bt,J),ki(se,J),P&&(r.b==0?U=se:U=(ur(r.b!=0),u(r.a.a.c,8)),rn=b.Math.abs(P.a-U.a)>n0,Ze=b.Math.abs(P.b-U.b)>n0,(!n&&rn&&Ze||n&&(rn||Ze))&&Zr(tt.a,Bt)),Ma(tt.a,r),r.b==0?P=Bt:P=(ur(r.b!=0),u(r.c.b.c,8)),Lpn($,A,J),ice(s)==Ce&&(Pa(Ce.i)!=s.a&&(J=new Sa,p6t(J,Pa(Ce.i),Tt)),Zt(tt,Qft,J)),h4n($,tt,Tt),T.a.zc($,T);Xa(tt,Wt),xa(tt,Ce)}for(k=T.a.ec().Kc();k.Ob();)m=u(k.Pb(),18),Xa(m,null),xa(m,null);e.Vg()}function GCn(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(s=u(X(t,(Cc(),Mv)),88),T=s==(Rs(),Uo)||s==tc?kd:tc,n=u(nc(_i(new ln(null,new gn(t.b,16)),new XD),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),m=u(nc(Wo(n.Oc(),new WUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),m.Gc(u(nc(Wo(n.Oc(),new YUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),16)),m.jd(new XUt(T)),P=new pp(new QUt(s)),r=new _r,d=m.Kc();d.Ob();)h=u(d.Pb(),240),k=u(h.a,39),Ie(Me(h.c))?(P.a.zc(k,(Pn(),t2))==null,new ra(P.a.Zc(k,!1)).a.gc()>0&&hi(r,k,u(new ra(P.a.Zc(k,!1)).a.Vc(),39)),new ra(P.a.ad(k,!0)).a.gc()>1&&hi(r,cle(P,k),k)):(new ra(P.a.Zc(k,!1)).a.gc()>0&&(o=u(new ra(P.a.Zc(k,!1)).a.Vc(),39),$t(o)===$t(Ko(Eo(r.f,k)))&&u(X(k,(ji(),P1t)),15).Fc(o)),new ra(P.a.ad(k,!0)).a.gc()>1&&(A=cle(P,k),$t(Ko(Eo(r.f,A)))===$t(k)&&u(X(A,(ji(),P1t)),15).Fc(k)),P.a.Bc(k)!=null)}function Npe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(t.gc()==1)return u(t.Xb(0),235);if(t.gc()<=0)return new mq;for(s=t.Kc();s.Ob();){for(n=u(s.Pb(),235),U=0,T=xi,A=xi,m=Ga,k=Ga,$=new G(n.e);$.a<$.c.c.length;)P=u(et($),153),U+=u(X(P,(Vf(),jk)),17).a,T=b.Math.min(T,P.d.a-P.e.a/2),A=b.Math.min(A,P.d.b-P.e.b/2),m=b.Math.max(m,P.d.a+P.e.a/2),k=b.Math.max(k,P.d.b+P.e.b/2);Zt(n,(Vf(),jk),he(U)),Zt(n,(Pb(),TA),new ae(T,A)),Zt(n,UN,new ae(m,k))}for(mn(),t.jd(new M8),J=new mq,Qo(J,u(t.Xb(0),96)),d=0,Tt=0,o=t.Kc();o.Ob();)n=u(o.Pb(),235),tt=ia(Oa(u(X(n,(Pb(),UN)),8)),u(X(n,TA),8)),d=b.Math.max(d,tt.a),Tt+=tt.a*tt.b;for(d=b.Math.max(d,b.Math.sqrt(Tt)*Rt(Ht(X(J,(Vf(),S3e))))),ht=Rt(Ht(X(J,KU))),At=0,Bt=0,h=0,e=ht,r=t.Kc();r.Ob();)n=u(r.Pb(),235),tt=ia(Oa(u(X(n,(Pb(),UN)),8)),u(X(n,TA),8)),At+tt.a>d&&(At=0,Bt+=h+ht,h=0),vEn(J,n,At,Bt),e=b.Math.max(e,At+tt.a),h=b.Math.max(h,tt.b),At+=tt.a+ht;return J}function KCn(t){Nkt();var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(t==null||(o=Lq(t),U=x2n(o),U%4!=0))return null;if(J=U/4|0,J==0)return Vt(ul,M5,28,0,15,1);for(A=null,e=0,n=0,r=0,s=0,h=0,d=0,m=0,k=0,$=0,P=0,T=0,A=Vt(ul,M5,28,J*3,15,1);$<J-1;$++){if(!PM(h=o[T++])||!PM(d=o[T++])||!PM(m=o[T++])||!PM(k=o[T++]))return null;e=_d[h],n=_d[d],r=_d[m],s=_d[k],A[P++]=(e<<2|n>>4)<<24>>24,A[P++]=((n&15)<<4|r>>2&15)<<24>>24,A[P++]=(r<<6|s)<<24>>24}return!PM(h=o[T++])||!PM(d=o[T++])?null:(e=_d[h],n=_d[d],m=o[T++],k=o[T++],_d[m]==-1||_d[k]==-1?m==61&&k==61?n&15?null:(tt=Vt(ul,M5,28,$*3+1,15,1),Xc(A,0,tt,0,$*3),tt[P]=(e<<2|n>>4)<<24>>24,tt):m!=61&&k==61?(r=_d[m],r&3?null:(tt=Vt(ul,M5,28,$*3+2,15,1),Xc(A,0,tt,0,$*3),tt[P++]=(e<<2|n>>4)<<24>>24,tt[P]=((n&15)<<4|r>>2&15)<<24>>24,tt)):null:(r=_d[m],s=_d[k],A[P++]=(e<<2|n>>4)<<24>>24,A[P++]=((n&15)<<4|r>>2&15)<<24>>24,A[P++]=(r<<6|s)<<24>>24,A))}function WCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(e.Ug(_2e,1),U=u(X(t,(De(),zg)),223),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),k=II(r.a),h=k,d=0,m=h.length;d<m;++d)if(o=h[d],o.k==(Un(),uu)){if(U==(Lg(),e8))for(A=new G(o.j);A.a<A.c.c.length;)T=u(et(A),12),T.e.c.length==0||jwn(T),T.g.c.length==0||$wn(T);else if(Lt(X(o,(oe(),Li)),18))tt=u(X(o,Li),18),ht=u(Pp(o,(ve(),Gn)).Kc().Pb(),12),Tt=u(Pp(o,Jn).Kc().Pb(),12),At=u(X(ht,Li),12),Bt=u(X(Tt,Li),12),Xa(tt,Bt),xa(tt,At),Wt=new io(Tt.i.n),Wt.a=dc(lt(ut(la,1),ue,8,0,[Bt.i.n,Bt.n,Bt.a])).a,Zr(tt.a,Wt),Wt=new io(ht.i.n),Wt.a=dc(lt(ut(la,1),ue,8,0,[At.i.n,At.n,At.a])).a,Zr(tt.a,Wt);else{if(o.j.c.length>=2){for(J=!0,P=new G(o.j),n=u(et(P),12),$=null;P.a<P.c.c.length;)if($=n,n=u(et(P),12),!Ti(X($,Li),X(n,Li))){J=!1;break}}else J=!1;for(A=new G(o.j);A.a<A.c.c.length;)T=u(et(A),12),T.e.c.length==0||Tkn(T,J),T.g.c.length==0||Ckn(T,J)}Aa(o,null)}e.Vg()}function YCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(d=new G(t.a.b);d.a<d.c.c.length;)for(o=u(et(d),30),At=new G(o.a);At.a<At.c.c.length;)Tt=u(et(At),10),e.g[Tt.p]=Tt,e.a[Tt.p]=Tt,e.d[Tt.p]=0;for(m=t.a.b,e.c==(Gd(),Gp)&&(m=Bh(m)),h=m.Kc();h.Ob();)for(o=u(h.Pb(),30),$=-1,P=o.a,e.o==(nd(),yd)&&($=xi,P=Bh(P)),Wt=P.Kc();Wt.Ob();)if(Bt=u(Wt.Pb(),10),A=null,e.c==Gp?A=u(Oe(t.b.f,Bt.p),15):A=u(Oe(t.b.b,Bt.p),15),A.gc()>0)if(r=A.gc(),k=Ys(b.Math.floor((r+1)/2))-1,s=Ys(b.Math.ceil((r+1)/2))-1,e.o==yd)for(T=s;T>=k;T--)e.a[Bt.p]==Bt&&(J=u(A.Xb(T),42),U=u(J.a,10),!x1(n,J.b)&&$>t.b.e[U.p]&&(e.a[U.p]=Bt,e.g[Bt.p]=e.g[U.p],e.a[Bt.p]=e.g[Bt.p],e.f[e.g[Bt.p].p]=(Pn(),!!(Ie(e.f[e.g[Bt.p].p])&Bt.k==(Un(),fa))),$=t.b.e[U.p]));else for(T=k;T<=s;T++)e.a[Bt.p]==Bt&&(ht=u(A.Xb(T),42),tt=u(ht.a,10),!x1(n,ht.b)&&$<t.b.e[tt.p]&&(e.a[tt.p]=Bt,e.g[Bt.p]=e.g[tt.p],e.a[Bt.p]=e.g[Bt.p],e.f[e.g[Bt.p].p]=(Pn(),!!(Ie(e.f[e.g[Bt.p].p])&Bt.k==(Un(),fa))),$=t.b.e[tt.p]))}function Ppe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;return At=t.c[(vn(0,e.c.length),u(e.c[0],18)).p],Ce=t.c[(vn(1,e.c.length),u(e.c[1],18)).p],At.a.e.e-At.a.a-(At.b.e.e-At.b.a)==0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)==0||(ht=At.b.e.f,!Lt(ht,10))?!1:(tt=u(ht,10),Wt=t.i[tt.p],se=tt.c?Xo(tt.c.a,tt,0):-1,o=Zi,se>0&&(s=u(Oe(tt.c.a,se-1),10),h=t.i[s.p],rn=b.Math.ceil(U4(t.n,s,tt)),o=Wt.a.e-tt.d.d-(h.a.e+s.o.b+s.d.a)-rn),k=Zi,se<tt.c.a.c.length-1&&(m=u(Oe(tt.c.a,se+1),10),T=t.i[m.p],rn=b.Math.ceil(U4(t.n,m,tt)),k=T.a.e-m.d.d-(Wt.a.e+tt.o.b+tt.d.a)-rn),n&&(Z1(),$f(s0),b.Math.abs(o-k)<=s0||o==k||isNaN(o)&&isNaN(k))?!0:(r=Hit(At.a),d=-Hit(At.b),A=-Hit(Ce.a),Tt=Hit(Ce.b),J=At.a.e.e-At.a.a-(At.b.e.e-At.b.a)>0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)<0,U=At.a.e.e-At.a.a-(At.b.e.e-At.b.a)<0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)>0,$=At.a.e.e+At.b.a<Ce.b.e.e+Ce.a.a,P=At.a.e.e+At.b.a>Ce.b.e.e+Ce.a.a,Bt=0,!J&&!U&&(P?o+A>0?Bt=A:k-r>0&&(Bt=r):$&&(o+d>0?Bt=d:k-Tt>0&&(Bt=Tt))),Wt.a.e+=Bt,Wt.b&&(Wt.d.e+=Bt),!1))}function Fpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(r=new Ah(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),s=new B6,t.c)for(h=new G(e.Rf());h.a<h.c.c.length;)o=u(et(h),187),s.c=o.Lf().a+e.Lf().a,s.d=o.Lf().b+e.Lf().b,s.b=o.Mf().a,s.a=o.Mf().b,T_(r,s);for(k=new G(e.Xf());k.a<k.c.c.length;){if(m=u(et(k),852),T=m.Lf().a+e.Lf().a,A=m.Lf().b+e.Lf().b,t.e&&(s.c=T,s.d=A,s.b=m.Mf().a,s.a=m.Mf().b,T_(r,s)),t.d)for(h=new G(m.Rf());h.a<h.c.c.length;)o=u(et(h),187),s.c=o.Lf().a+T,s.d=o.Lf().b+A,s.b=o.Mf().a,s.a=o.Mf().b,T_(r,s);if(t.b){if(P=new ae(-n,-n),u(e.of((ai(),j3)),181).Hc((wl(),g2)))for(h=new G(m.Rf());h.a<h.c.c.length;)o=u(et(h),187),P.a+=o.Mf().a+n,P.b+=o.Mf().b+n;P.a=b.Math.max(P.a,0),P.b=b.Math.max(P.b,0),rge(r,m.Wf(),m.Uf(),e,m,P,n)}}t.b&&rge(r,e.Wf(),e.Uf(),e,null,null,n),d=new Eit(e.Vf()),d.d=b.Math.max(0,e.Lf().b-r.d),d.a=b.Math.max(0,r.d+r.a-(e.Lf().b+e.Mf().b)),d.b=b.Math.max(0,e.Lf().a-r.c),d.c=b.Math.max(0,r.c+r.b-(e.Lf().a+e.Mf().a)),e.Zf(d)}function XCn(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function Bpe(t){wm(t,new dw(vwt(p$(gm(hm(dm(fm(new G1,Du),"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 Pd),Du),Hi((O7(),UK),lt(ut(GK,1),te,245,0,[HK]))))),le(t,Du,gN,he(1)),le(t,Du,h3,80),le(t,Du,Put,5),le(t,Du,Dk,tT),le(t,Du,IV,he(1)),le(t,Du,W_,(Pn(),!0)),le(t,Du,ov,gCt),le(t,Du,Y_,Se(hCt)),le(t,Du,Fut,Se(pCt)),le(t,Du,OV,!1),le(t,Du,X_,Se(dCt)),le(t,Du,eT,Se(D3e)),le(t,Du,Mk,Se(M3e)),le(t,Du,_5,Se(L3e)),le(t,Du,nT,Se(A3e)),le(t,Du,rT,Se(O3e)),le(t,Du,MV,Se(fCt)),le(t,Du,Out,Se(eft)),le(t,Du,V8t,Se(GU)),le(t,Du,Nut,Se(tft)),le(t,Du,U8t,Se(bCt)),le(t,Du,pN,Se(j3e)),le(t,Du,bN,Se($3e)),le(t,Du,wN,Se(R3e)),le(t,Du,mN,Se(B3e)),le(t,Du,cv,wCt)}function Gb(t,e){yi();var n,r,s,o,h,d,m,k,T,A,P,$,U;if(QC(ZT)==0){for(A=Vt(T_n,ue,122,e9e.length,0,1),h=0;h<A.length;h++)A[h]=new ih(4);for(r=new YC,o=0;o<oOt.length;o++){if(T=new ih(4),o<84?(d=o*2,$=(qn(d,mht.length),mht.charCodeAt(d)),P=(qn(d+1,mht.length),mht.charCodeAt(d+1)),iu(T,$,P)):(d=(o-84)*2,iu(T,cOt[d],cOt[d+1])),m=oOt[o],hn(m,"Specials")&&iu(T,65520,65533),hn(m,Lve)&&(iu(T,983040,1048573),iu(T,1048576,1114109)),jo(ZT,m,T),jo(IL,m,i3(T)),k=r.a.length,0<k?r.a=Lh(r.a,0,0):0>k&&(r.a+=uJt(Vt(Yh,Zd,28,-k,15,1))),r.a+="Is",$d(m,Hu(32))>=0)for(s=0;s<m.length;s++)qn(s,m.length),m.charCodeAt(s)!=32&&PE(r,(qn(s,m.length),m.charCodeAt(s)));else r.a+=""+m;X5t(r.a,m,!0)}X5t(wht,"Cn",!1),X5t(JTt,"Cn",!0),n=new ih(4),iu(n,0,gT),jo(ZT,"ALL",n),jo(IL,"ALL",i3(n)),!W3&&(W3=new _r),jo(W3,wht,wht),!W3&&(W3=new _r),jo(W3,JTt,JTt),!W3&&(W3=new _r),jo(W3,"ALL","ALL")}return U=u(nu(e?ZT:IL,t),138),U}function Rpe(t){wm(t,new dw(vwt(p$(gm(hm(dm(fm(new G1,Mu),"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 WZ),X2e),en((O7(),Qdt))))),le(t,Mu,ov,_Lt),le(t,Mu,h3,20),le(t,Mu,plt,3),le(t,Mu,Dk,tT),le(t,Mu,gN,he(1)),le(t,Mu,W_,(Pn(),!0)),le(t,Mu,TN,Se(kLt)),le(t,Mu,blt,ELt),le(t,Mu,Y_,Se(n8e)),le(t,Mu,ZV,Se(r8e)),le(t,Mu,_5,Se(s8e)),le(t,Mu,eT,Se(a8e)),le(t,Mu,Ik,Se(o8e)),le(t,Mu,Mk,Se(c8e)),le(t,Mu,nT,Se(i8e)),le(t,Mu,X_,Se(CLt)),le(t,Mu,rT,Se(u8e)),le(t,Mu,A7t,Se(MLt)),le(t,Mu,D7t,Se(ALt)),le(t,Mu,pN,Se(d8e)),le(t,Mu,bN,Se(g8e)),le(t,Mu,wN,Se(f8e)),le(t,Mu,mN,Se(h8e)),le(t,Mu,cv,DLt),le(t,Mu,_7t,Se(tx)),le(t,Mu,L7t,Se(q1t)),le(t,Mu,S7t,Se(h0)),le(t,Mu,T7t,Se(xLt)),le(t,Mu,C7t,Se(TLt))}function jpe(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(k=u(u(Ai(t.r,e),21),87),h=L3n(t,e),n=t.u.Hc((wl(),vL)),m=k.Kc();m.Ob();)if(d=u(m.Pb(),117),!(!d.c||d.c.d.c.length<=0)){switch(P=d.b.Mf(),T=d.c,A=T.i,A.b=(o=T.n,T.e.a+o.b+o.c),A.a=(s=T.n,T.e.b+s.d+s.a),e.g){case 1:d.a?(A.c=(P.a-A.b)/2,S1(T,(pl(),e2))):h||n?(A.c=-A.b-t.s,S1(T,(pl(),Gf))):(A.c=P.a+t.s,S1(T,(pl(),c0))),A.d=-A.a-t.t,Hd(T,(qu(),Kf));break;case 3:d.a?(A.c=(P.a-A.b)/2,S1(T,(pl(),e2))):h||n?(A.c=-A.b-t.s,S1(T,(pl(),Gf))):(A.c=P.a+t.s,S1(T,(pl(),c0))),A.d=P.b+t.t,Hd(T,(qu(),O1));break;case 2:d.a?(r=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(P.b-r)/2,Hd(T,(qu(),n2))):h||n?(A.d=-A.a-t.t,Hd(T,(qu(),Kf))):(A.d=P.b+t.t,Hd(T,(qu(),O1))),A.c=P.a+t.s,S1(T,(pl(),c0));break;case 4:d.a?(r=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(P.b-r)/2,Hd(T,(qu(),n2))):h||n?(A.d=-A.a-t.t,Hd(T,(qu(),Kf))):(A.d=P.b+t.t,Hd(T,(qu(),O1))),A.c=-A.b-t.s,S1(T,(pl(),Gf))}h=!1}}function QCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;if(P=!1,A=!1,z4(u(X(r,(De(),bs)),101))){h=!1,d=!1;t:for(U=new G(r.j);U.a<U.c.c.length;)for($=u(et(U),12),tt=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4($),new k6($)])));Mr(tt);)if(J=u(dr(tt),12),!Ie(Me(X(J.i,PA)))){if($.j==(ve(),Hn)){h=!0;break t}if($.j==Er){d=!0;break t}}P=d&&!h,A=h&&!d}if(!P&&!A&&r.b.c.length!=0){for(T=0,k=new G(r.b);k.a<k.c.c.length;)m=u(et(k),72),T+=m.n.b+m.o.b/2;T/=r.b.c.length,Tt=T>=r.o.b/2}else Tt=!A;Tt?(ht=u(X(r,(oe(),Wk)),15),ht?P?o=ht:(s=u(X(r,Hk),15),s?ht.gc()<=s.gc()?o=ht:o=s:(o=new fe,Zt(r,Hk,o))):(o=new fe,Zt(r,Wk,o))):(s=u(X(r,(oe(),Hk)),15),s?A?o=s:(ht=u(X(r,Wk),15),ht?s.gc()<=ht.gc()?o=s:o=ht:(o=new fe,Zt(r,Wk,o))):(o=new fe,Zt(r,Hk,o))),o.Fc(t),Zt(t,(oe(),AG),n),e.d==n?(xa(e,null),n.e.c.length+n.g.c.length==0&&hc(n,null),fbn(n)):(Xa(e,null),n.e.c.length+n.g.c.length==0&&hc(n,null)),nh(e.a)}function JCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(n.Ug("MinWidth layering",1),$=e.b,Ce=e.a,is=u(X(e,(De(),Z_t)),17).a,d=u(X(e,tAt),17).a,t.b=Rt(Ht(X(e,Yf))),t.d=Zi,Bt=new G(Ce);Bt.a<Bt.c.c.length;)Tt=u(et(Bt),10),Tt.k==(Un(),xs)&&(On=Tt.o.b,t.d=b.Math.min(t.d,On));for(t.d=b.Math.max(1,t.d),rn=Ce.c.length,t.c=Vt(Fr,ii,28,rn,15,1),t.f=Vt(Fr,ii,28,rn,15,1),t.e=Vt(ma,No,28,rn,15,1),k=0,t.a=0,Wt=new G(Ce);Wt.a<Wt.c.c.length;)Tt=u(et(Wt),10),Tt.p=k++,t.c[Tt.p]=vue(ua(Tt)),t.f[Tt.p]=vue(_s(Tt)),t.e[Tt.p]=Tt.o.b/t.d,t.a+=t.e[Tt.p];for(t.b/=t.d,t.a/=rn,se=q5n(Ce),Ds(Ce,$yt(new fUt(t))),J=Zi,U=xi,h=null,Jr=is,er=is,o=d,s=d,is<0&&(Jr=u(QAt.a.Id(),17).a,er=u(QAt.b.Id(),17).a),d<0&&(o=u(XAt.a.Id(),17).a,s=u(XAt.b.Id(),17).a),Dn=Jr;Dn<=er;Dn++)for(r=o;r<=s;r++)Ze=I7n(t,Dn,r,Ce,se),ht=Rt(Ht(Ze.a)),P=u(Ze.b,15),tt=P.gc(),(ht<J||ht==J&&tt<U)&&(J=ht,U=tt,h=P);for(A=h.Kc();A.Ob();){for(T=u(A.Pb(),15),m=new eu(e),At=T.Kc();At.Ob();)Tt=u(At.Pb(),10),Aa(Tt,m);In($.c,m)}IO($),Ce.c.length=0,n.Vg()}function ZCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(n.Ug("Spline edge routing",1),e.b.c.length==0){e.f.a=0,n.Vg();return}Tt=Rt(Ht(X(e,(De(),X5)))),d=Rt(Ht(X(e,Pw))),h=Rt(Ht(X(e,W5))),ht=u(X(e,s1t),350),rn=ht==(b7(),VA),Ce=Rt(Ht(X(e,U_t))),t.d=e,t.j.c.length=0,t.a.c.length=0,dl(t.k),m=u(Oe(e.b,0),30),T=Z$(m.a,(rV(),fP)),U=u(Oe(e.b,e.b.c.length-1),30),A=Z$(U.a,fP),J=new G(e.b),tt=null,er=0;do{for(At=J.a<J.c.c.length?u(et(J),30):null,OCn(t,tt,At),a7n(t),Ze=arn(npn(Wz(_i(new ln(null,new gn(t.i,16)),new SZ),new _Z))),Dn=0,Bt=er,P=!tt||T&&tt==m,$=!At||A&&At==U,Ze>0?(k=0,tt&&(k+=d),k+=(Ze-1)*h,At&&(k+=d),rn&&At&&(k=b.Math.max(k,mkn(At,h,Tt,Ce))),k<Tt&&!P&&!$&&(Dn=(Tt-k)/2,k=Tt),Bt+=k):!P&&!$&&(Bt+=Tt),At&&Ukt(At,Bt),se=new G(t.i);se.a<se.c.c.length;)Wt=u(et(se),131),Wt.a.c=er,Wt.a.b=Bt-er,Wt.F=Dn,Wt.p=!tt;Hs(t.a,t.i),er=Bt,At&&(er+=At.c.a),tt=At,P=$}while(At);for(s=new G(t.j);s.a<s.c.c.length;)r=u(et(s),18),o=Ugn(t,r),Zt(r,(oe(),K5),o),On=Dkn(t,r),Zt(r,Lw,On);e.f.a=er,t.d=null,n.Vg()}function tSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(t.b=e,t.a=u(X(e,(De(),K_t)),17).a,t.c=u(X(e,Y_t),17).a,t.c==0&&(t.c=xi),tt=new La(e.b,0);tt.b<tt.d.gc();){for(J=(ur(tt.b<tt.d.gc()),u(tt.d.Xb(tt.c=tt.b++),30)),d=new fe,T=-1,Bt=-1,At=new G(J.a);At.a<At.c.c.length;)Tt=u(et(At),10),xg((gI(),new rr(sr(Dg(Tt).a.Kc(),new z))))>=t.a&&(r=N7n(t,Tt),T=b.Math.max(T,r.b),Bt=b.Math.max(Bt,r.d),ge(d,new Ws(Tt,r)));for(rn=new fe,k=0;k<T;++k)Sm(rn,0,(ur(tt.b>0),tt.a.Xb(tt.c=--tt.b),Ze=new eu(t.b),Ly(tt,Ze),ur(tt.b<tt.d.gc()),tt.d.Xb(tt.c=tt.b++),Ze));for(h=new G(d);h.a<h.c.c.length;)if(s=u(et(h),42),$=u(s.b,580).a,!!$)for(P=new G($);P.a<P.c.c.length;)A=u(et(P),10),kxt(t,A,XU,rn);for(n=new fe,m=0;m<Bt;++m)ge(n,(On=new eu(t.b),Ly(tt,On),On));for(o=new G(d);o.a<o.c.c.length;)if(s=u(et(o),42),Ce=u(s.b,580).c,!!Ce)for(se=new G(Ce);se.a<se.c.c.length;)Wt=u(et(se),10),kxt(t,Wt,QU,n)}for(ht=new La(e.b,0);ht.b<ht.d.gc();)U=(ur(ht.b<ht.d.gc()),u(ht.d.Xb(ht.c=ht.b++),30)),U.a.c.length==0&&Kl(ht)}function $pe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(J=t.i!=0,At=!1,ht=null,Hl(t.e)){if(T=e.gc(),T>0){for(P=T<100?null:new xb(T),k=new B4t(e),U=k.g,ht=Vt(Fr,ii,28,T,15,1),r=0,Bt=new $m(T),s=0;s<t.i;++s){d=t.g[s],$=d;t:for(Tt=0;Tt<2;++Tt){for(m=T;--m>=0;)if($!=null?Ti($,U[m]):$t($)===$t(U[m])){ht.length<=r&&(tt=ht,ht=Vt(Fr,ii,28,2*ht.length,15,1),Xc(tt,0,ht,0,r)),ht[r++]=s,Or(Bt,U[m]);break t}if($=$,$t($)===$t(d))break}}if(k=Bt,U=Bt.g,T=r,r>ht.length&&(tt=ht,ht=Vt(Fr,ii,28,r,15,1),Xc(tt,0,ht,0,r)),r>0){for(At=!0,o=0;o<r;++o)$=U[o],P=qZt(t,u($,76),P);for(h=r;--h>=0;)pk(t,ht[h]);if(r!=T){for(s=T;--s>=r;)pk(k,s);tt=ht,ht=Vt(Fr,ii,28,r,15,1),Xc(tt,0,ht,0,r)}e=k}}}else for(e=pvn(t,e),s=t.i;--s>=0;)e.Hc(t.g[s])&&(pk(t,s),At=!0);if(At){if(ht!=null){for(n=e.gc(),A=n==1?zS(t,4,e.Kc().Pb(),null,ht[0],J):zS(t,6,e,ht,ht[0],J),P=n<100?null:new xb(n),s=e.Kc();s.Ob();)$=s.Pb(),P=Svt(t,u($,76),P);P?(P.nj(A),P.oj()):Ei(t.e,A)}else{for(P=xan(e.gc()),s=e.Kc();s.Ob();)$=s.Pb(),P=Svt(t,u($,76),P);P&&P.oj()}return!0}else return!1}function eSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(n=new the(e),n.a||DEn(e),k=_8n(e),m=new Fm,tt=new r0e,J=new G(e.a);J.a<J.c.c.length;)for(U=u(et(J),10),s=new rr(sr(_s(U).a.Kc(),new z));Mr(s);)r=u(dr(s),18),(r.c.i.k==(Un(),Ms)||r.d.i.k==Ms)&&(T=H9n(t,r,k,tt),dn(m,rot(T.d),T.a));for(h=new fe,At=u(X(n.c,(oe(),$g)),21).Kc();At.Ob();){switch(Tt=u(At.Pb(),64),$=tt.c[Tt.g],P=tt.b[Tt.g],d=tt.a[Tt.g],o=null,ht=null,Tt.g){case 4:o=new Ah(t.d.a,$,k.b.a-t.d.a,P-$),ht=new Ah(t.d.a,$,d,P-$),Cm(k,new ae(o.c+o.b,o.d)),Cm(k,new ae(o.c+o.b,o.d+o.a));break;case 2:o=new Ah(k.a.a,$,t.c.a-k.a.a,P-$),ht=new Ah(t.c.a-d,$,d,P-$),Cm(k,new ae(o.c,o.d)),Cm(k,new ae(o.c,o.d+o.a));break;case 1:o=new Ah($,t.d.b,P-$,k.b.b-t.d.b),ht=new Ah($,t.d.b,P-$,d),Cm(k,new ae(o.c,o.d+o.a)),Cm(k,new ae(o.c+o.b,o.d+o.a));break;case 3:o=new Ah($,k.a.b,P-$,t.c.b-k.a.b),ht=new Ah($,t.c.b-d,P-$,d),Cm(k,new ae(o.c,o.d)),Cm(k,new ae(o.c+o.b,o.d))}o&&(A=new TKt,A.d=Tt,A.b=o,A.c=ht,A.a=Zz(u(Ai(m,rot(Tt)),21)),In(h.c,A))}return Hs(n.b,h),n.d=Ibn(r9n(k)),n}function zpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;if(n.p[e.p]==null){d=!0,n.p[e.p]=0,h=e,J=n.o==(nd(),Fw)?Vs:Zi;do s=t.b.e[h.p],o=h.c.a.c.length,n.o==Fw&&s>0||n.o==yd&&s<o-1?(m=null,k=null,n.o==yd?m=u(Oe(h.c.a,s+1),10):m=u(Oe(h.c.a,s-1),10),k=n.g[m.p],zpe(t,k,n),J=t.e.wg(J,e,h),n.j[e.p]==e&&(n.j[e.p]=n.j[k.p]),n.j[e.p]==n.j[k.p]?(U=U4(t.d,h,m),n.o==yd?(r=Rt(n.p[e.p]),A=Rt(n.p[k.p])+Rt(n.d[m.p])-m.d.d-U-h.d.a-h.o.b-Rt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.min(A,J)):n.p[e.p]=b.Math.min(r,b.Math.min(A,J))):(r=Rt(n.p[e.p]),A=Rt(n.p[k.p])+Rt(n.d[m.p])+m.o.b+m.d.a+U+h.d.d-Rt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.max(A,J)):n.p[e.p]=b.Math.max(r,b.Math.max(A,J)))):(U=Rt(Ht(X(t.a,(De(),Av)))),$=Goe(t,n.j[e.p]),T=Goe(t,n.j[k.p]),n.o==yd?(P=Rt(n.p[e.p])+Rt(n.d[h.p])+h.o.b+h.d.a+U-(Rt(n.p[k.p])+Rt(n.d[m.p])-m.d.d),vre($,T,P)):(P=Rt(n.p[e.p])+Rt(n.d[h.p])-h.d.d-Rt(n.p[k.p])-Rt(n.d[m.p])-m.o.b-m.d.a-U,vre($,T,P)))):J=t.e.wg(J,e,h),h=n.a[h.p];while(h!=e);Onn(t.e,e)}}function nSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;if(n=Rt(Ht(X(t.a.j,(De(),j_t)))),n<-1||!t.a.i||q6(u(X(t.a.o,bs),101))||gc(t.a.o,(ve(),Jn)).gc()<2&&gc(t.a.o,Gn).gc()<2)return!0;if(t.a.c.kg())return!1;for(Wt=0,Bt=0,At=new fe,m=t.a.e,k=0,T=m.length;k<T;++k){for(d=m[k],P=d,$=0,J=P.length;$<J;++$){if(A=P[$],A.k==(Un(),uu)){In(At.c,A);continue}for(r=t.b[A.c.p][A.p],A.k==Ms?(r.b=1,u(X(A,(oe(),Li)),12).j==(ve(),Jn)&&(Bt+=r.a)):(Ze=gc(A,(ve(),Gn)),Ze.dc()||!eit(Ze,new $8)?r.c=1:(s=gc(A,Jn),(s.dc()||!eit(s,new UJ))&&(Wt+=r.a))),h=new rr(sr(_s(A).a.Kc(),new z));Mr(h);)o=u(dr(h),18),Wt+=r.c,Bt+=r.b,rn=o.d.i,W3t(t,r,rn);for(ht=ah(lt(ut(gh,1),Ln,20,0,[gc(A,(ve(),Hn)),gc(A,Er)])),Ce=new rr(new zmt(ht.a.length,ht.a));Mr(Ce);)se=u(dr(Ce),12),Tt=u(X(se,(oe(),ml)),10),Tt&&(Wt+=r.c,Bt+=r.b,W3t(t,r,Tt))}for(U=new G(At);U.a<U.c.c.length;)for(A=u(et(U),10),r=t.b[A.c.p][A.p],h=new rr(sr(_s(A).a.Kc(),new z));Mr(h);)o=u(dr(h),18),Wt+=r.c,Bt+=r.b,rn=o.d.i,W3t(t,r,rn);At.c.length=0}return e=Wt+Bt,tt=e==0?Zi:(Wt-Bt)/e,tt>=n}function rSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;for(At=e,Tt=new Fm,Bt=new Fm,T=jm(At,TTt),r=new une(t,n,Tt,Bt),E4n(r.a,r.b,r.c,r.d,T),m=(Ce=Tt.i,Ce||(Tt.i=new W4(Tt,Tt.c))),Ze=m.Kc();Ze.Ob();)for(rn=u(Ze.Pb(),166),s=u(Ai(Tt,rn),21),J=s.Kc();J.Ob();)if(U=J.Pb(),Wt=u(n5(t.d,U),166),Wt)d=(!rn.e&&(rn.e=new kn(Wi,rn,10,9)),rn.e),Or(d,Wt);else throw h=yg(At,a0),P=tme+U+eme+h,$=P+fT,at(new Rd($));for(k=(se=Bt.i,se||(Bt.i=new W4(Bt,Bt.c))),Dn=k.Kc();Dn.Ob();)for(On=u(Dn.Pb(),166),o=u(Ai(Bt,On),21),ht=o.Kc();ht.Ob();)if(tt=ht.Pb(),Wt=u(n5(t.d,tt),166),Wt)A=(!On.g&&(On.g=new kn(Wi,On,9,10)),On.g),Or(A,Wt);else throw h=yg(At,a0),P=tme+tt+eme+h,$=P+fT,at(new Rd($));!n.b&&(n.b=new kn(vr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new kn(vr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new kn(vr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new kn(vr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a).i==1&&(er=u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166),!cot(er)&&!uot(er)&&(Vq(er,u(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),84)),Uq(er,u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84))))}function iSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(At=t.a,Bt=0,Wt=At.length;Bt<Wt;++Bt){for(Tt=At[Bt],k=xi,T=xi,U=new G(Tt.e);U.a<U.c.c.length;)P=u(et(U),10),h=P.c?Xo(P.c.a,P,0):-1,h>0?(A=u(Oe(P.c.a,h-1),10),rn=U4(t.b,P,A),tt=P.n.b-P.d.d-(A.n.b+A.o.b+A.d.a+rn)):tt=P.n.b-P.d.d,k=b.Math.min(tt,k),h<P.c.a.c.length-1?(A=u(Oe(P.c.a,h+1),10),rn=U4(t.b,P,A),ht=A.n.b-A.d.d-(P.n.b+P.o.b+P.d.a+rn)):ht=2*P.n.b,T=b.Math.min(ht,T);for(m=xi,o=!1,s=u(Oe(Tt.e,0),10),On=new G(s.j);On.a<On.c.c.length;)for(Ze=u(et(On),12),J=s.n.b+Ze.n.b+Ze.a.b,r=new G(Ze.e);r.a<r.c.c.length;)n=u(et(r),18),se=n.c,e=se.i.n.b+se.n.b+se.a.b-J,b.Math.abs(e)<b.Math.abs(m)&&b.Math.abs(e)<(e<0?k:T)&&(m=e,o=!0);for(d=u(Oe(Tt.e,Tt.e.c.length-1),10),Ce=new G(d.j);Ce.a<Ce.c.c.length;)for(se=u(et(Ce),12),J=d.n.b+se.n.b+se.a.b,r=new G(se.g);r.a<r.c.c.length;)n=u(et(r),18),Ze=n.d,e=Ze.i.n.b+Ze.n.b+Ze.a.b-J,b.Math.abs(e)<b.Math.abs(m)&&b.Math.abs(e)<(e<0?k:T)&&(m=e,o=!0);if(o&&m!=0)for($=new G(Tt.e);$.a<$.c.c.length;)P=u(et($),10),P.n.b+=m}}function sSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(r=new fe,s=xi,o=xi,h=xi,n)for(s=t.f.a,J=new G(e.j);J.a<J.c.c.length;)for(U=u(et(J),12),m=new G(U.g);m.a<m.c.c.length;)d=u(et(m),18),d.a.b!=0&&(T=u(SE(d.a),8),T.a<s&&(o=s-T.a,h=xi,r.c.length=0,s=T.a),T.a<=s&&(In(r.c,d),d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(jh(d.a,1),8).b-T.b)))));else for(J=new G(e.j);J.a<J.c.c.length;)for(U=u(et(J),12),m=new G(U.e);m.a<m.c.c.length;)d=u(et(m),18),d.a.b!=0&&(P=u(Pf(d.a),8),P.a>s&&(o=P.a-s,h=xi,r.c.length=0,s=P.a),P.a>=s&&(In(r.c,d),d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(jh(d.a,d.a.b-2),8).b-P.b)))));if(r.c.length!=0&&o>e.o.a/2&&h>e.o.b/2){for($=new Yc,hc($,e),Xs($,(ve(),Hn)),$.n.a=e.o.a/2,ht=new Yc,hc(ht,e),Xs(ht,Er),ht.n.a=e.o.a/2,ht.n.b=e.o.b,m=new G(r);m.a<m.c.c.length;)d=u(et(m),18),n?(k=u(Tit(d.a),8),tt=d.a.b==0?rd(d.d):u(SE(d.a),8),tt.b>=k.b?Xa(d,ht):Xa(d,$)):(k=u(Ycn(d.a),8),tt=d.a.b==0?rd(d.c):u(Pf(d.a),8),tt.b>=k.b?xa(d,ht):xa(d,$)),A=u(X(d,(De(),Vo)),75),A&&Ky(A,k,!0);e.n.a=s-e.o.a/2}}function aSn(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(d=Dr(t.b,0);d.b!=d.d.c;)if(h=u(Ar(d),39),!hn(h.c,nU))for(k=Mxn(h,t),e==(Rs(),Uo)||e==tc?Ds(k,new ttt):Ds(k,new ett),m=k.c.length,r=0;r<m;r++)T=(vn(r,k.c.length),u(k.c[r],65)).c,hn(T.c,"n11"),!(Ie(Me(X(h,(ji(),dLt))))&&!iue((vn(r,k.c.length),u(k.c[r],65)),t))&&(s=m==1?.5:(r+1)/(m+1),e==Uo?(o=Rt(Ht(X(h,P1))),P=h.e.b+h.f.b*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(b.Math.min(o,h.e.a-n),P)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(h.e.a,P))):e==tc?(o=Rt(Ht(X(h,Xf)))+n,P=h.e.b+h.f.b*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(o,P)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(h.e.a+h.f.a,P))):e==Gh?(o=Rt(Ht(X(h,P1))),A=h.e.a+h.f.a*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,b.Math.min(h.e.b-n,o))),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,h.e.b))):(o=Rt(Ht(X(h,Xf)))+n,A=h.e.a+h.f.a*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,o)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,h.e.b+h.f.b))))}function JO(t,e,n,r,s,o,h,d,m){var k,T,A,P,$,U,J;switch($=n,T=new Ig(m),y(T,(Un(),Ms)),Zt(T,(oe(),JSt),h),Zt(T,(De(),bs),(ka(),hu)),J=Rt(Ht(t.of(D3))),Zt(T,D3,J),A=new Yc,hc(A,T),e!=Td&&e!=d2||(r>=0?$=hk(d):$=bO(hk(d)),t.qf(NT,$)),k=new Sa,P=!1,t.pf(Sv)?(Xmt(k,u(t.of(Sv),8)),P=!0):bsn(k,h.a/2,h.b/2),$.g){case 4:Zt(T,Iu,(Rh(),s2)),Zt(T,DG,(ow(),z5)),T.o.b=h.b,J<0&&(T.o.a=-J),Xs(A,(ve(),Jn)),P||(k.a=h.a),k.a-=h.a;break;case 2:Zt(T,Iu,(Rh(),S3)),Zt(T,DG,(ow(),_T)),T.o.b=h.b,J<0&&(T.o.a=-J),Xs(A,(ve(),Gn)),P||(k.a=0);break;case 1:Zt(T,Aw,(Cg(),H5)),T.o.a=h.a,J<0&&(T.o.b=-J),Xs(A,(ve(),Er)),P||(k.b=h.b),k.b-=h.b;break;case 3:Zt(T,Aw,(Cg(),qk)),T.o.a=h.a,J<0&&(T.o.b=-J),Xs(A,(ve(),Hn)),P||(k.b=0)}if(Xmt(A.n,k),Zt(T,Sv,k),e==zw||e==Y0||e==hu){if(U=0,e==zw&&t.pf(Vp))switch($.g){case 1:case 2:U=u(t.of(Vp),17).a;break;case 3:case 4:U=-u(t.of(Vp),17).a}else switch($.g){case 4:case 2:U=o.b,e==Y0&&(U/=s.b);break;case 1:case 3:U=o.a,e==Y0&&(U/=s.a)}Zt(T,xv,U)}return Zt(T,Dc,$),T}function oSn(){xwt();function t(r){var s=this;this.dispatch=function(o){var h=o.data;switch(h.cmd){case"algorithms":var d=q5t((mn(),new Ta(new si(b2.b))));r.postMessage({id:h.id,data:d});break;case"categories":var m=q5t((mn(),new Ta(new si(b2.c))));r.postMessage({id:h.id,data:m});break;case"options":var k=q5t((mn(),new Ta(new si(b2.d))));r.postMessage({id:h.id,data:k});break;case"register":l9n(h.algorithms),r.postMessage({id:h.id});break;case"layout":j7n(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(o){try{s.dispatch(o)}catch(h){r.postMessage({id:o.data.id,error:h})}}}function e(r){var s=this;this.dispatcher=new t({postMessage:function(o){s.onmessage({data:o})}}),this.postMessage=function(o){setTimeout(function(){s.dispatcher.saveDispatch({data:o})},0)}}if(typeof document===but&&typeof self!==but){var n=new t(self);self.onmessage=n.saveDispatch}else typeof g!==but&&g.exports&&(Object.defineProperty(w,"__esModule",{value:!0}),g.exports={default:e,Worker:e})}function qpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=new Ig(n),Qo(T,e),Zt(T,(oe(),Li),e),T.o.a=e.g,T.o.b=e.f,T.n.a=e.i,T.n.b=e.j,ge(n.a,T),hi(t.a,e,T),((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i!=0||Ie(Me(ne(e,(De(),L3)))))&&Zt(T,YSt,(Pn(),!0)),k=u(X(n,lu),21),A=u(X(T,(De(),bs)),101),A==(ka(),d2)?Zt(T,bs,Td):A!=Td&&k.Fc((Co(),DT)),P=0,r=u(X(n,ph),88),m=new Zn((!e.c&&(e.c=new Jt(kl,e,9,9)),e.c));m.e!=m.i.gc();)d=u(ar(m),123),s=Ji(e),($t(ne(s,U0))!==$t((Wd(),Up))||$t(ne(s,Dw))===$t((Ip(),ST))||$t(ne(s,Dw))===$t((Ip(),CT))||Ie(Me(ne(s,Ev)))||$t(ne(s,_3))!==$t((lw(),x3))||$t(ne(s,a2))===$t((cf(),Lv))||$t(ne(s,a2))===$t((cf(),N3))||$t(ne(s,Iw))===$t((Bp(),RT))||$t(ne(s,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(e,BG)))&&Mi(d,Pi,he(P++)),Ie(Me(ne(d,Nw)))||wCn(t,d,T,k,r,A);for(h=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));h.e!=h.i.gc();)o=u(ar(h),135),!Ie(Me(ne(o,Nw)))&&o.a&&ge(T.b,Pat(o));return Ie(Me(X(T,PA)))&&k.Fc((Co(),CG)),Ie(Me(X(T,zG)))&&(k.Fc((Co(),SG)),k.Fc(LA),Zt(T,bs,Td)),T}function Mct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(J=0,On=0,k=new G(t.b);k.a<k.c.c.length;)m=u(et(k),163),m.c&&wpe(m.c),J=b.Math.max(J,tl(m)),On+=tl(m)*Gl(m);for(tt=On/t.b.c.length,Ze=cyn(t.b,tt),On+=t.b.c.length*Ze,J=b.Math.max(J,b.Math.sqrt(On*h))+n.b,Jr=n.b,is=n.d,$=0,A=n.b+n.c,rn=new Ki,Zr(rn,he(0)),se=new Ki,T=new La(t.b,0),U=null,d=new fe;T.b<T.d.gc();)m=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),163)),er=tl(m),P=Gl(m),Jr+er>J&&(o&&(ro(se,$),ro(rn,he(T.b-1)),ge(t.d,U),d.c.length=0),Jr=n.b,is+=$+e,$=0,A=b.Math.max(A,n.b+n.c+er)),In(d.c,m),Gle(m,Jr,is),A=b.Math.max(A,Jr+er+n.c),$=b.Math.max($,P),Jr+=er+e,U=m;if(Hs(t.a,d),ge(t.d,u(Oe(d,d.c.length-1),163)),A=b.Math.max(A,r),Dn=is+$+n.a,Dn<s&&($+=s-Dn,Dn=s),o)for(Jr=n.b,T=new La(t.b,0),ro(rn,he(t.b.c.length)),Ce=Dr(rn,0),Tt=u(Ar(Ce),17).a,ro(se,$),Wt=Dr(se,0),Bt=0;T.b<T.d.gc();)T.b==Tt&&(Jr=n.b,Bt=Rt(Ht(Ar(Wt))),Tt=u(Ar(Ce),17).a),m=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),163)),Tle(m,Bt),T.b==Tt&&(ht=A-Jr-n.c,At=tl(m),Cle(m,ht),Que(m,(ht-At)/2,0)),Jr+=tl(m)+e;return new ae(A,Dn)}function cSn(t){t.N||(t.N=!0,t.b=Tc(t,0),fs(t.b,0),fs(t.b,1),fs(t.b,2),t.bb=Tc(t,1),fs(t.bb,0),fs(t.bb,1),t.fb=Tc(t,2),fs(t.fb,3),fs(t.fb,4),Vi(t.fb,5),t.qb=Tc(t,3),fs(t.qb,0),Vi(t.qb,1),Vi(t.qb,2),fs(t.qb,3),fs(t.qb,4),Vi(t.qb,5),fs(t.qb,6),t.a=di(t,4),t.c=di(t,5),t.d=di(t,6),t.e=di(t,7),t.f=di(t,8),t.g=di(t,9),t.i=di(t,10),t.j=di(t,11),t.k=di(t,12),t.n=di(t,13),t.o=di(t,14),t.p=di(t,15),t.q=di(t,16),t.s=di(t,17),t.r=di(t,18),t.t=di(t,19),t.u=di(t,20),t.v=di(t,21),t.w=di(t,22),t.B=di(t,23),t.A=di(t,24),t.C=di(t,25),t.D=di(t,26),t.F=di(t,27),t.G=di(t,28),t.H=di(t,29),t.J=di(t,30),t.I=di(t,31),t.K=di(t,32),t.M=di(t,33),t.L=di(t,34),t.P=di(t,35),t.Q=di(t,36),t.R=di(t,37),t.S=di(t,38),t.T=di(t,39),t.U=di(t,40),t.V=di(t,41),t.X=di(t,42),t.W=di(t,43),t.Y=di(t,44),t.Z=di(t,45),t.$=di(t,46),t._=di(t,47),t.ab=di(t,48),t.cb=di(t,49),t.db=di(t,50),t.eb=di(t,51),t.gb=di(t,52),t.hb=di(t,53),t.ib=di(t,54),t.jb=di(t,55),t.kb=di(t,56),t.lb=di(t,57),t.mb=di(t,58),t.nb=di(t,59),t.ob=di(t,60),t.pb=di(t,61))}function uSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(Tt=0,e.f.a==0)for(tt=new G(t);tt.a<tt.c.c.length;)U=u(et(tt),10),Tt=b.Math.max(Tt,U.n.a+U.o.a+U.d.c);else Tt=e.f.a-e.c.a;for(Tt-=e.c.a,J=new G(t);J.a<J.c.c.length;){switch(U=u(et(J),10),qC(U.n,Tt-U.o.a),Kvt(U.f),Ehe(U),(U.q?U.q:(mn(),mn(),q0))._b((De(),I3))&&qC(u(X(U,I3),8),Tt-U.o.a),u(X(U,u0),255).g){case 1:Zt(U,u0,(I0(),TP));break;case 2:Zt(U,u0,(I0(),EP))}for(ht=U.o,Bt=new G(U.j);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),12),qC(At.n,ht.a-At.o.a),qC(At.a,At.o.a),Xs(At,sce(At.j)),h=u(X(At,Vp),17),h&&Zt(At,Vp,he(-h.a)),o=new G(At.g);o.a<o.c.c.length;){for(s=u(et(o),18),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),n.a=Tt-n.a;if(k=u(X(s,Vo),75),k)for(m=Dr(k,0);m.b!=m.d.c;)d=u(Ar(m),8),d.a=Tt-d.a;for(P=new G(s.b);P.a<P.c.c.length;)T=u(et(P),72),qC(T.n,Tt-T.o.a)}for($=new G(At.f);$.a<$.c.c.length;)T=u(et($),72),qC(T.n,At.o.a-T.o.a)}for(U.k==(Un(),Ms)&&(Zt(U,(oe(),Dc),sce(u(X(U,Dc),64))),X3n(U)),A=new G(U.b);A.a<A.c.c.length;)T=u(et(A),72),Ehe(T),qC(T.n,ht.a-T.o.a)}}function lSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(Tt=0,e.f.b==0)for(tt=new G(t);tt.a<tt.c.c.length;)U=u(et(tt),10),Tt=b.Math.max(Tt,U.n.b+U.o.b+U.d.a);else Tt=e.f.b-e.c.b;for(Tt-=e.c.b,J=new G(t);J.a<J.c.c.length;){switch(U=u(et(J),10),zC(U.n,Tt-U.o.b),Wvt(U.f),The(U),(U.q?U.q:(mn(),mn(),q0))._b((De(),I3))&&zC(u(X(U,I3),8),Tt-U.o.b),u(X(U,u0),255).g){case 3:Zt(U,u0,(I0(),CK));break;case 4:Zt(U,u0,(I0(),_K))}for(ht=U.o,Bt=new G(U.j);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),12),zC(At.n,ht.b-At.o.b),zC(At.a,At.o.b),Xs(At,ace(At.j)),h=u(X(At,Vp),17),h&&Zt(At,Vp,he(-h.a)),o=new G(At.g);o.a<o.c.c.length;){for(s=u(et(o),18),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),n.b=Tt-n.b;if(k=u(X(s,Vo),75),k)for(m=Dr(k,0);m.b!=m.d.c;)d=u(Ar(m),8),d.b=Tt-d.b;for(P=new G(s.b);P.a<P.c.c.length;)T=u(et(P),72),zC(T.n,Tt-T.o.b)}for($=new G(At.f);$.a<$.c.c.length;)T=u(et($),72),zC(T.n,At.o.b-T.o.b)}for(U.k==(Un(),Ms)&&(Zt(U,(oe(),Dc),ace(u(X(U,Dc),64))),h2n(U)),A=new G(U.b);A.a<A.c.c.length;)T=u(et(A),72),The(T),zC(T.n,ht.b-T.o.b)}}function hSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;for(Tt=new La(t.b,0),T=e.Kc(),U=0,k=u(T.Pb(),17).a,Wt=0,n=new Os,Ce=new zd;Tt.b<Tt.d.gc();){for(ht=(ur(Tt.b<Tt.d.gc()),u(Tt.d.Xb(Tt.c=Tt.b++),30)),Bt=new G(ht.a);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),10),$=new rr(sr(_s(At).a.Kc(),new z));Mr($);)A=u(dr($),18),Ce.a.zc(A,Ce);for(P=new rr(sr(ua(At).a.Kc(),new z));Mr(P);)A=u(dr(P),18),Ce.a.Bc(A)!=null}if(U+1==k){for(s=new eu(t),Ly(Tt,s),o=new eu(t),Ly(Tt,o),Ze=Ce.a.ec().Kc();Ze.Ob();)rn=u(Ze.Pb(),18),n.a._b(rn)||(++Wt,n.a.zc(rn,n)),h=new Ig(t),Zt(h,(De(),bs),(ka(),YT)),Aa(h,s),y(h,(Un(),md)),J=new Yc,hc(J,h),Xs(J,(ve(),Gn)),On=new Yc,hc(On,h),Xs(On,Jn),r=new Ig(t),Zt(r,bs,YT),Aa(r,o),y(r,md),tt=new Yc,hc(tt,r),Xs(tt,Gn),Dn=new Yc,hc(Dn,r),Xs(Dn,Jn),se=new Pm,Xa(se,rn.c),xa(se,J),Zt(se,(oe(),Pi),u(X(rn,Pi),17)),Jr=new Pm,Xa(Jr,On),xa(Jr,tt),Zt(Jr,Pi,u(X(rn,Pi),17)),Xa(rn,Dn),d=new y3t(h,r,se,Jr,rn),Zt(h,vv,d),Zt(r,vv,d),er=se.c.i,er.k==md&&(m=u(X(er,vv),313),m.d=d,d.g=m);if(T.Ob())k=u(T.Pb(),17).a;else break}++U}return he(Wt)}function fSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(J=new fe,P=new G(t.d.b);P.a<P.c.c.length;)for(A=u(et(P),30),U=new G(A.a);U.a<U.c.c.length;){for($=u(et(U),10),s=u(tr(t.f,$),60),m=new rr(sr(_s($).a.Kc(),new z));Mr(m);)if(h=u(dr(m),18),r=Dr(h.a,0),k=!0,T=null,r.b!=r.d.c){for(e=u(Ar(r),8),n=null,h.c.j==(ve(),Hn)&&(tt=new P_(e,new ae(e.a,s.d.d),s,h),tt.f.a=!0,tt.a=h.c,In(J.c,tt)),h.c.j==Er&&(tt=new P_(e,new ae(e.a,s.d.d+s.d.a),s,h),tt.f.d=!0,tt.a=h.c,In(J.c,tt));r.b!=r.d.c;)n=u(Ar(r),8),u4t(e.b,n.b)||(T=new P_(e,n,null,h),In(J.c,T),k&&(k=!1,n.b<s.d.d?T.f.a=!0:n.b>s.d.d+s.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))),r.b!=r.d.c&&(e=n);T&&(o=u(tr(t.f,h.d.i),60),e.b<o.d.d?T.f.a=!0:e.b>o.d.d+o.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))}for(d=new rr(sr(ua($).a.Kc(),new z));Mr(d);)h=u(dr(d),18),h.a.b!=0&&(e=u(Pf(h.a),8),h.d.j==(ve(),Hn)&&(tt=new P_(e,new ae(e.a,s.d.d),s,h),tt.f.a=!0,tt.a=h.d,In(J.c,tt)),h.d.j==Er&&(tt=new P_(e,new ae(e.a,s.d.d+s.d.a),s,h),tt.f.d=!0,tt.a=h.d,In(J.c,tt)))}return J}function dSn(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(m=new fe,A=e.length,h=Z4t(n),k=0;k<A;++k){switch(T=qmt(e,Hu(61),k),r=u2n(h,(Da(k,T,e.length),e.substr(k,T-k))),s=bat(r),o=s.jk().wi(),Va(e,++T)){case 39:{d=TE(e,39,++T),ge(m,new X$(r,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s))),k=d+1;break}case 34:{d=TE(e,34,++T),ge(m,new X$(r,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s))),k=d+1;break}case 91:{P=new fe,ge(m,new X$(r,P));t:for(;;){switch(Va(e,++T)){case 39:{d=TE(e,39,++T),ge(P,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s)),T=d+1;break}case 34:{d=TE(e,34,++T),ge(P,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s)),T=d+1;break}case 110:{if(++T,e.indexOf("ull",T)==T)P.c.push(null);else throw at(new uc(Uwe));T+=3;break}}if(T<A)switch(qn(T,e.length),e.charCodeAt(T)){case 44:break;case 93:break t;default:throw at(new uc("Expecting , or ]"))}else break}k=T+1;break}case 110:{if(++T,e.indexOf("ull",T)==T)ge(m,new X$(r,null));else throw at(new uc(Uwe));k=T+3;break}}if(k<A){if(qn(k,e.length),e.charCodeAt(k)!=44)throw at(new uc("Expecting ,"))}else break}return Xkn(t,m,n)}function gSn(t){var e,n,r,s,o;switch(e=t.c,o=null,e){case 6:return t.Em();case 13:return t.Fm();case 23:return t.wm();case 22:return t.Bm();case 18:return t.ym();case 8:wi(t),o=(yi(),uOt);break;case 9:return t.em(!0);case 19:return t.fm();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return o=t.dm(t.a),wi(t),o;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=t.cm(),n<po?o=(yi(),yi(),new _0(0,n)):o=eee(I5t(n));break;case 99:return t.om();case 67:return t.jm();case 105:return t.rm();case 73:return t.km();case 103:return t.pm();case 88:return t.lm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.gm();case 80:case 112:if(o=M6t(t,t.a),!o)throw at(new Yr(Qr((Ur(),rht))));break;default:o=gte(t.a)}wi(t);break;case 0:if(t.a==93||t.a==123||t.a==125)throw at(new Yr(Qr((Ur(),OTt))));o=gte(t.a),r=t.a,wi(t),(r&64512)==cN&&t.c==0&&(t.a&64512)==56320&&(s=Vt(Yh,Zd,28,2,15,1),s[0]=r&js,s[1]=t.a&js,o=Rit(eee(af(s,0,s.length)),0),wi(t));break;default:throw at(new Yr(Qr((Ur(),OTt))))}return o}function pSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(Ze=new Ki,se=new Ki,tt=-1,m=new G(t);m.a<m.c.c.length;){for(h=u(et(m),131),h.s=tt--,T=0,At=0,o=new G(h.t);o.a<o.c.c.length;)r=u(et(o),274),At+=r.c;for(s=new G(h.i);s.a<s.c.c.length;)r=u(et(s),274),T+=r.c;h.n=T,h.u=At,At==0?hs(se,h,se.c.b,se.c):T==0&&hs(Ze,h,Ze.c.b,Ze.c)}for(Dn=gq(t),A=t.c.length,J=A+1,ht=A-1,$=new fe;Dn.a.gc()!=0;){for(;se.b!=0;)Wt=(ur(se.b!=0),u(Oh(se,se.a.a),131)),Dn.a.Bc(Wt)!=null,Wt.s=ht--,X6t(Wt,Ze,se);for(;Ze.b!=0;)Ce=(ur(Ze.b!=0),u(Oh(Ze,Ze.a.a),131)),Dn.a.Bc(Ce)!=null,Ce.s=J++,X6t(Ce,Ze,se);for(U=Ga,k=Dn.a.ec().Kc();k.Ob();)h=u(k.Pb(),131),Tt=h.u-h.n,Tt>=U&&(Tt>U&&($.c.length=0,U=Tt),In($.c,h));$.c.length!=0&&(P=u(Oe($,MH(e,$.c.length)),131),Dn.a.Bc(P)!=null,P.s=J++,X6t(P,Ze,se),$.c.length=0)}for(Bt=t.c.length+1,d=new G(t);d.a<d.c.c.length;)h=u(et(d),131),h.s<A&&(h.s+=Bt);for(rn=new G(t);rn.a<rn.c.c.length;)for(Ce=u(et(rn),131),n=new La(Ce.t,0);n.b<n.d.gc();)r=(ur(n.b<n.d.gc()),u(n.d.Xb(n.c=n.b++),274)),On=r.b,Ce.s>On.s&&(Kl(n),zu(On.i,r),r.c>0&&(r.a=On,ge(On.t,r),r.b=Ce,ge(Ce.i,r)))}function Hpe(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(J=new wu(e.b),Bt=new wu(e.b),P=new wu(e.b),rn=new wu(e.b),tt=new wu(e.b),Ce=Dr(e,0);Ce.b!=Ce.d.c;)for(Wt=u(Ar(Ce),12),d=new G(Wt.g);d.a<d.c.c.length;)if(o=u(et(d),18),o.c.i==o.d.i){if(Wt.j==o.d.j){In(rn.c,o);continue}else if(Wt.j==(ve(),Hn)&&o.d.j==Er){In(tt.c,o);continue}}for(m=new G(tt);m.a<m.c.c.length;)o=u(et(m),18),zEn(t,o,n,r,(ve(),Jn));for(h=new G(rn);h.a<h.c.c.length;)o=u(et(h),18),Ze=new Ig(t),y(Ze,(Un(),uu)),Zt(Ze,(De(),bs),(ka(),hu)),Zt(Ze,(oe(),Li),o),On=new Yc,Zt(On,Li,o.d),Xs(On,(ve(),Gn)),hc(On,Ze),Dn=new Yc,Zt(Dn,Li,o.c),Xs(Dn,Jn),hc(Dn,Ze),Zt(o.c,ml,Ze),Zt(o.d,ml,Ze),Xa(o,null),xa(o,null),In(n.c,Ze),Zt(Ze,LG,he(2));for(se=Dr(e,0);se.b!=se.d.c;)Wt=u(Ar(se),12),k=Wt.e.c.length>0,ht=Wt.g.c.length>0,k&&ht?In(P.c,Wt):k?In(J.c,Wt):ht&&In(Bt.c,Wt);for(U=new G(J);U.a<U.c.c.length;)$=u(et(U),12),ge(s,jkt(t,$,null,n));for(At=new G(Bt);At.a<At.c.c.length;)Tt=u(et(At),12),ge(s,jkt(t,null,Tt,n));for(A=new G(P);A.a<A.c.c.length;)T=u(et(A),12),ge(s,jkt(t,T,T,n))}function r8t(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=Zi,$=Zi,T=0,A=0,m=new fe,d=new Zn((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b));d.e!=d.i.gc();)o=u(ar(d),74),m=ah(lt(ut(gh,1),Ln,20,0,[m,(!o.n&&(o.n=new Jt(Po,o,1,7)),o.n)]));for(At=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n),(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),m])));Mr(At);)Tt=u(dr(At),422),k=u(Tt.of((ai(),UT)),140),P>Tt.nh()-k.b&&(P=Tt.nh()-k.b),$>Tt.oh()-k.d&&($=Tt.oh()-k.d),T<Tt.nh()+Tt.mh()+k.c&&(T=Tt.nh()+Tt.mh()+k.c),A<Tt.oh()+Tt.lh()+k.a&&(A=Tt.oh()+Tt.lh()+k.a);for(h=new Zn((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b));h.e!=h.i.gc();)for(o=u(ar(h),74),ht=new Zn((!o.a&&(o.a=new Jt(Wi,o,6,6)),o.a));ht.e!=ht.i.gc();)for(tt=u(ar(ht),166),U=tt.j,r=tt.b,J=tt.k,s=tt.c,P=b.Math.min(P,U),P=b.Math.min(P,r),T=b.Math.max(T,U),T=b.Math.max(T,r),$=b.Math.min($,J),$=b.Math.min($,s),A=b.Math.max(A,J),A=b.Math.max(A,s),n=new Zn((!tt.a&&(tt.a=new Ps(vh,tt,5)),tt.a));n.e!=n.i.gc();)e=u(ar(n),377),P=b.Math.min(P,e.a),T=b.Math.max(T,e.a),$=b.Math.min($,e.b),A=b.Math.max(A,e.b);Mi(t,(ai(),ox),T-P),Mi(t,ax,A-$)}function bSn(t,e,n){var r,s,o,h,d,m,k,T,A;if(n.Ug("Network simplex node placement",1),t.e=e,t.n=u(X(e,(oe(),G5)),312),LTn(t),Kyn(t),ms(fc(new ln(null,new gn(t.e.b,16)),new JJ),new OUt(t)),ms(_i(fc(_i(fc(new ln(null,new gn(t.e.b,16)),new uZ),new kR),new lZ),new cC),new IUt(t)),Ie(Me(X(t.e,(De(),BA))))&&(h=n.eh(1),h.Ug("Straight Edges Pre-Processing",1),Q9n(t),h.Vg()),Amn(t.f),o=u(X(e,$A),17).a*t.f.a.c.length,uct(pwt(bwt(mit(t.f),o),!1),n.eh(1)),t.d.a.gc()!=0){for(h=n.eh(1),h.Ug("Flexible Where Space Processing",1),d=u(Vl(G6(Wo(new ln(null,new gn(t.f.a,16)),new ZJ),new GJ)),17).a,m=u(Vl(My(Wo(new ln(null,new gn(t.f.a,16)),new tZ),new KJ)),17).a,k=m-d,T=km(new H2,t.f),A=km(new H2,t.f),Hf(Of(If(Mf(Nf(new tf,2e4),k),T),A)),ms(_i(_i(xyt(t.i),new eZ),new nZ),new rne(d,T,k,A)),s=t.d.a.ec().Kc();s.Ob();)r=u(s.Pb(),218),r.g=1;uct(pwt(bwt(mit(t.f),o),!1),h.eh(1)),h.Vg()}Ie(Me(X(e,BA)))&&(h=n.eh(1),h.Ug("Straight Edges Post-Processing",1),R4n(t),h.Vg()),N9n(t),t.e=null,t.f=null,t.i=null,t.c=null,dl(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),n.Vg()}function wSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(n.Ug("Depth first model order layering",1),t.d=e,tt=new fe,J=new G(t.d.a);J.a<J.c.c.length;)$=u(et(J),10),$.k==(Un(),xs)&&In(tt.c,$);for(mn(),Ds(tt,new $J),h=!0,t.b=new eu(t.d),t.a=null,ge(t.d.b,t.b),t.b.p=0,t.c=0,t.f=new Ki,U=new G(tt);U.a<U.c.c.length;)if($=u(et(U),10),h)Aa($,t.b),h=!1;else if(M7n(t,$))if(P=t.c,P=Qle(P,$),r=P+2,T=P-t.c,t.f.b==0)lkt(t,r,$);else if(T>0){for(At=Dr(t.f,0);At.b!=At.d.c;)Tt=u(Ar(At),10),Tt.p+=P-t.e;b6t(t),nh(t.f),lkt(t,r,$)}else{for(Zr(t.f,$),$.p=r,t.e=b.Math.max(t.e,r),o=new rr(sr(ua($).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!s.c.i.c&&s.c.i.k==(Un(),Vc)&&(Zr(t.f,s.c.i),s.c.i.p=r-1);t.c=r}else b6t(t),nh(t.f),r=0,Mr(new rr(sr(ua($).a.Kc(),new z)))?(P=0,P=Qle(P,$),r=P+2,lkt(t,r,$)):(Zr(t.f,$),$.p=0,t.e=b.Math.max(t.e,0),t.b=u(Oe(t.d.b,0),30),t.c=0);for(t.f.b==0||b6t(t),t.d.a.c.length=0,ht=new fe,k=new G(t.d.b);k.a<k.c.c.length;)d=u(et(k),30),d.a.c.length==0&&In(ht.c,d);for(_5t(t.d.b,ht),A=0,m=new G(t.d.b);m.a<m.c.c.length;)d=u(et(m),30),d.p=A,++A;n.Vg()}function mSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go;if(On=null,er=e,Dn=Tie(t,gie(n),er),n7(Dn,yg(er,a0)),Jr=u(n5(t.g,mk(vg(er,Ult))),27),P=vg(er,"sourcePort"),r=null,P&&(r=mk(P)),is=u(n5(t.j,r),123),!Jr)throw d=T7(er),U="An edge must have a source node (edge id: '"+d,J=U+fT,at(new Rd(J));if(is&&!Ud(ed(is),Jr))throw m=yg(er,a0),tt="The source port of an edge must be a port of the edge's source node (edge id: '"+m,ht=tt+fT,at(new Rd(ht));if(rn=(!Dn.b&&(Dn.b=new kn(vr,Dn,4,7)),Dn.b),o=null,is?o=is:o=Jr,Or(rn,o),El=u(n5(t.g,mk(vg(er,MTt))),27),$=vg(er,"targetPort"),s=null,$&&(s=mk($)),Go=u(n5(t.j,s),123),!El)throw A=T7(er),Tt="An edge must have a target node (edge id: '"+A,At=Tt+fT,at(new Rd(At));if(Go&&!Ud(ed(Go),El))throw k=yg(er,a0),Bt="The target port of an edge must be a port of the edge's target node (edge id: '"+k,Wt=Bt+fT,at(new Rd(Wt));if(Ze=(!Dn.c&&(Dn.c=new kn(vr,Dn,5,8)),Dn.c),h=null,Go?h=Go:h=El,Or(Ze,h),(!Dn.b&&(Dn.b=new kn(vr,Dn,4,7)),Dn.b).i==0||(!Dn.c&&(Dn.c=new kn(vr,Dn,5,8)),Dn.c).i==0)throw T=yg(er,a0),se=Zwe+T,Ce=se+fT,at(new Rd(Ce));return qH(er,Dn),Hxn(er,Dn),On=xat(t,er,Dn),On}function Vpe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for($=u(X(t,(Pb(),$k)),27),At=xi,Bt=xi,ht=Ga,Tt=Ga,se=new G(t.e);se.a<se.c.c.length;)Wt=u(et(se),153),Dn=Wt.d,er=Wt.e,At=b.Math.min(At,Dn.a-er.a/2),Bt=b.Math.min(Bt,Dn.b-er.b/2),ht=b.Math.max(ht,Dn.a+er.a/2),Tt=b.Math.max(Tt,Dn.b+er.b/2);for(n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),250),Dn=e.d,er=e.e,At=b.Math.min(At,Dn.a-er.a/2),Bt=b.Math.min(Bt,Dn.b-er.b/2),ht=b.Math.max(ht,Dn.a+er.a/2),Tt=b.Math.max(Tt,Dn.b+er.b/2);for(On=u(ne($,(Vf(),I3e)),107),Ze=new ae(On.b-At,On.d-Bt),k=new G(t.e);k.a<k.c.c.length;)m=u(et(k),153),rn=X(m,$k),Lt(rn,207)&&(J=u(rn,27),Ce=ki(new io(m.d),Ze),Ch(J,Ce.a-J.g/2,Ce.b-J.f/2));for(o=new G(t.c);o.a<o.c.c.length;)s=u(et(o),289),A=u(X(s,$k),74),P=b5(A,!0,!0),Jr=new io(p4t(s)),ki(Jr,Ze),rI(P,Jr.a,Jr.b),Cu(s.a,new aXt(Ze,P)),r=new io(b4t(s)),ki(r,Ze),nI(P,r.a,r.b);for(d=new G(t.d);d.a<d.c.c.length;)h=u(et(d),453),U=u(X(h,$k),135),tt=ki(new io(h.d),Ze),Ch(U,tt.a,tt.b);is=ht-At+(On.b+On.c),T=Tt-Bt+(On.d+On.a),Ie(Me(ne($,(ai(),R3))))||rv($,is,T,!1,!0),Mi($,ox,is-(On.b+On.c)),Mi($,ax,T-(On.d+On.a))}function Upe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;return A=c7n(ju(t,(ve(),Cd)),e),U=l5(ju(t,e1),e),Bt=l5(ju(t,wh),e),rn=FH(ju(t,wf),e),P=FH(ju(t,Kh),e),Tt=l5(ju(t,n1),e),J=l5(ju(t,yl),e),se=l5(ju(t,mh),e),Wt=l5(ju(t,Wh),e),Ze=FH(ju(t,Ou),e),ht=l5(ju(t,Gu),e),At=l5(ju(t,xl),e),Ce=l5(ju(t,Uu),e),On=FH(ju(t,Ku),e),$=FH(ju(t,cl),e),tt=l5(ju(t,fu),e),n=e5(lt(ut(ma,1),No,28,15,[Tt.a,rn.a,se.a,On.a])),r=e5(lt(ut(ma,1),No,28,15,[U.a,A.a,Bt.a,tt.a])),s=ht.a,o=e5(lt(ut(ma,1),No,28,15,[J.a,P.a,Wt.a,$.a])),k=e5(lt(ut(ma,1),No,28,15,[Tt.b,U.b,J.b,At.b])),m=e5(lt(ut(ma,1),No,28,15,[rn.b,A.b,P.b,tt.b])),T=Ze.b,d=e5(lt(ut(ma,1),No,28,15,[se.b,Bt.b,Wt.b,Ce.b])),Tp(ju(t,Cd),n+s,k+T),Tp(ju(t,fu),n+s,k+T),Tp(ju(t,e1),n+s,0),Tp(ju(t,wh),n+s,k+T+m),Tp(ju(t,wf),0,k+T),Tp(ju(t,Kh),n+s+r,k+T),Tp(ju(t,yl),n+s+r,0),Tp(ju(t,mh),0,k+T+m),Tp(ju(t,Wh),n+s+r,k+T+m),Tp(ju(t,Ou),0,k),Tp(ju(t,Gu),n,0),Tp(ju(t,Uu),0,k+T+m),Tp(ju(t,cl),n+s+r,0),h=new Sa,h.a=e5(lt(ut(ma,1),No,28,15,[n+r+s+o,Ze.a,At.a,Ce.a])),h.b=e5(lt(ut(ma,1),No,28,15,[k+m+T+d,ht.b,On.b,$.b])),h}function Gpe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(Tt=new ae(Zi,Zi),e=new ae(Vs,Vs),rn=new G(t);rn.a<rn.c.c.length;)Ce=u(et(rn),8),Tt.a=b.Math.min(Tt.a,Ce.a),Tt.b=b.Math.min(Tt.b,Ce.b),e.a=b.Math.max(e.a,Ce.a),e.b=b.Math.max(e.b,Ce.b);for(P=new ae(e.a-Tt.a,e.b-Tt.b),k=new ae(Tt.a-50,Tt.b-P.a-50),T=new ae(Tt.a-50,e.b+P.a+50),A=new ae(e.a+P.b/2+50,Tt.b+P.b/2),$=new Bkt(k,T,A),se=new Os,o=new fe,n=new fe,se.a.zc($,se),On=new G(t);On.a<On.c.c.length;){for(Ze=u(et(On),8),o.c.length=0,Wt=se.a.ec().Kc();Wt.Ob();)At=u(Wt.Pb(),317),r=At.d,Nb(r,At.a),Wm(Nb(At.d,Ze),Nb(At.d,At.a))<0&&In(o.c,At);for(n.c.length=0,Bt=new G(o);Bt.a<Bt.c.c.length;)for(At=u(et(Bt),317),tt=new G(At.e);tt.a<tt.c.c.length;){for(U=u(et(tt),177),h=!0,m=new G(o);m.a<m.c.c.length;)d=u(et(m),317),d!=At&&(Nc(U,Oe(d.e,0))||Nc(U,Oe(d.e,1))||Nc(U,Oe(d.e,2)))&&(h=!1);h&&In(n.c,U)}for(yfe(se,o),Fa(se,new xo),J=new G(n);J.a<J.c.c.length;)U=u(et(J),177),qs(se,new Bkt(Ze,U.a,U.b))}for(ht=new Os,Fa(se,new $2(ht)),s=ht.a.ec().Kc();s.Ob();)U=u(s.Pb(),177),(Aq($,U.a)||Aq($,U.b))&&s.Qb();return Fa(ht,new ko),ht}function zc(){zc=V,FWt(),iTe=da.a,u(Dt(Qt(da.a),0),19),nTe=da.f,u(Dt(Qt(da.f),0),19),u(Dt(Qt(da.f),1),35),rTe=da.n,u(Dt(Qt(da.n),0),35),u(Dt(Qt(da.n),1),35),u(Dt(Qt(da.n),2),35),u(Dt(Qt(da.n),3),35),SIt=da.g,u(Dt(Qt(da.g),0),19),u(Dt(Qt(da.g),1),35),eTe=da.c,u(Dt(Qt(da.c),0),19),u(Dt(Qt(da.c),1),19),_It=da.i,u(Dt(Qt(da.i),0),19),u(Dt(Qt(da.i),1),19),u(Dt(Qt(da.i),2),19),u(Dt(Qt(da.i),3),19),u(Dt(Qt(da.i),4),35),AIt=da.j,u(Dt(Qt(da.j),0),19),CIt=da.d,u(Dt(Qt(da.d),0),19),u(Dt(Qt(da.d),1),19),u(Dt(Qt(da.d),2),19),u(Dt(Qt(da.d),3),19),u(Dt(Qt(da.d),4),35),u(Dt(Qt(da.d),5),35),u(Dt(Qt(da.d),6),35),u(Dt(Qt(da.d),7),35),tTe=da.b,u(Dt(Qt(da.b),0),35),u(Dt(Qt(da.b),1),35),$K=da.e,u(Dt(Qt(da.e),0),35),u(Dt(Qt(da.e),1),35),u(Dt(Qt(da.e),2),35),u(Dt(Qt(da.e),3),35),u(Dt(Qt(da.e),4),19),u(Dt(Qt(da.e),5),19),u(Dt(Qt(da.e),6),19),u(Dt(Qt(da.e),7),19),u(Dt(Qt(da.e),8),19),u(Dt(Qt(da.e),9),19),u(Dt(Qt(da.e),10),35),X0=da.k,u(Dt(Qt(da.k),0),35),u(Dt(Qt(da.k),1),35)}function i8t(t){var e,n,r,s,o;switch(e=t.c,e){case 11:return t.vm();case 12:return t.xm();case 14:return t.zm();case 15:return t.Cm();case 16:return t.Am();case 17:return t.Dm();case 21:return wi(t),yi(),yi(),OL;case 10:switch(t.a){case 65:return t.hm();case 90:return t.mm();case 122:return t.tm();case 98:return t.nm();case 66:return t.im();case 60:return t.sm();case 62:return t.qm()}}switch(o=gSn(t),e=t.c,e){case 3:return t.Im(o);case 4:return t.Gm(o);case 5:return t.Hm(o);case 0:if(t.a==123&&t.d<t.j){if(s=t.d,r=0,n=-1,(e=Va(t.i,s++))>=48&&e<=57){for(r=e-48;s<t.j&&(e=Va(t.i,s++))>=48&&e<=57;)if(r=r*10+e-48,r<0)throw at(new Yr(Qr((Ur(),BTt))))}else throw at(new Yr(Qr((Ur(),_me))));if(n=r,e==44){if(s>=t.j)throw at(new Yr(Qr((Ur(),Lme))));if((e=Va(t.i,s++))>=48&&e<=57){for(n=e-48;s<t.j&&(e=Va(t.i,s++))>=48&&e<=57;)if(n=n*10+e-48,n<0)throw at(new Yr(Qr((Ur(),BTt))));if(r>n)throw at(new Yr(Qr((Ur(),Dme))))}else n=-1}if(e!=125)throw at(new Yr(Qr((Ur(),Ame))));t.bm(s)?(o=(yi(),yi(),new By(9,o)),t.d=s+1):(o=(yi(),yi(),new By(3,o)),t.d=s),o.Om(r),o.Nm(n),wi(t)}}return o}function vSn(t){var e,n,r,s,o;switch(n=u(X(t,(oe(),lu)),21),e=rz(J3e),s=u(X(t,(De(),A3)),346),s==(Ag(),Xp)&&ch(e,Z3e),Ie(Me(X(t,a1t)))?ri(e,(Ua(),Wf),(Za(),pft)):ri(e,(Ua(),Qc),(Za(),pft)),X(t,(kq(),oL))!=null&&ch(e,t4e),(Ie(Me(X(t,X_t)))||Ie(Me(X(t,G_t))))&&el(e,(Ua(),Zo),(Za(),UCt)),u(X(t,ph),88).g){case 2:case 3:case 4:el(ri(e,(Ua(),Wf),(Za(),KCt)),Zo,GCt)}switch(n.Hc((Co(),CG))&&el(ri(ri(e,(Ua(),Wf),(Za(),VCt)),cu,qCt),Zo,HCt),$t(X(t,a2))!==$t((cf(),ZG))&&ri(e,(Ua(),Qc),(Za(),cSt)),n.Hc(_G)&&(ri(e,(Ua(),Wf),(Za(),fSt)),ri(e,H0,lSt),ri(e,Qc,hSt)),$t(X(t,PG))!==$t((M7(),AA))&&$t(X(t,zg))!==$t((Lg(),IP))&&el(e,(Ua(),Zo),(Za(),nSt)),Ie(Me(X(t,W_t)))&&ri(e,(Ua(),Qc),(Za(),eSt)),Ie(Me(X(t,n1t)))&&ri(e,(Ua(),Qc),(Za(),dSt)),I6n(t)&&($t(X(t,A3))===$t(Xp)?r=u(X(t,iP),298):r=u(X(t,e1t),298),o=r==(c7(),$ft)?(Za(),uSt):(Za(),bSt),ri(e,(Ua(),cu),o)),u(X(t,kAt),388).g){case 1:ri(e,(Ua(),cu),(Za(),gSt));break;case 2:el(ri(ri(e,(Ua(),Qc),(Za(),RCt)),cu,jCt),Zo,$Ct)}return $t(X(t,U0))!==$t((Wd(),Up))&&ri(e,(Ua(),Qc),(Za(),pSt)),e}function Kpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(Tu(t.a,e)){if(x1(u(tr(t.a,e),49),n))return 1}else hi(t.a,e,new Os);if(Tu(t.a,n)){if(x1(u(tr(t.a,n),49),e))return-1}else hi(t.a,n,new Os);if(Tu(t.e,e)){if(x1(u(tr(t.e,e),49),n))return-1}else hi(t.e,e,new Os);if(Tu(t.e,n)){if(x1(u(tr(t.a,n),49),e))return 1}else hi(t.e,n,new Os);if(t.c==(Wd(),k1t)||!qi(e,(oe(),Pi))||!qi(n,(oe(),Pi))){for(A=null,k=new G(e.j);k.a<k.c.c.length;)d=u(et(k),12),d.e.c.length==0||u(Oe(d.e,0),18).c.i.c!=e.c&&(A=u(Oe(d.e,0),18).c);for($=null,m=new G(n.j);m.a<m.c.c.length;)d=u(et(m),12),d.e.c.length==0||u(Oe(d.e,0),18).c.i.c!=n.c&&($=u(Oe(d.e,0),18).c);if(A&&$){if(T=A.i,P=$.i,T&&T==P){for(J=new G(T.j);J.a<J.c.c.length;){if(U=u(et(J),12),U==A)return R7(t,n,e),-1;if(U==$)return R7(t,e,n),1}return jc(Aot(t,e),Aot(t,n))}for(ht=t.d,Tt=0,At=ht.length;Tt<At;++Tt){if(tt=ht[Tt],tt==T)return R7(t,n,e),-1;if(tt==P)return R7(t,e,n),1}}if(!qi(e,(oe(),Pi))||!qi(n,Pi))return s=Aot(t,e),h=Aot(t,n),s>h?R7(t,e,n):R7(t,n,e),s<h?-1:s>h?1:0}return r=u(X(e,(oe(),Pi)),17).a,o=u(X(n,Pi),17).a,r>o?R7(t,e,n):R7(t,n,e),r<o?-1:r>o?1:0}function iv(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(n==null)return null;if(t.a!=e.jk())throw at(new zn(lT+e.xe()+fv));if(Lt(e,468)){if(tt=l8n(u(e,685),n),!tt)throw at(new zn(Hlt+n+"' is not a valid enumerator of '"+e.xe()+"'"));return tt}switch(Lp((il(),ja),e).Nl()){case 2:{n=su(n,!1);break}case 3:{n=su(n,!0);break}}if(r=Lp(ja,e).Jl(),r)return r.jk().wi().ti(r,n);if(P=Lp(ja,e).Ll(),P){for(tt=new fe,k=Sat(n),T=0,A=k.length;T<A;++T)m=k[T],ge(tt,P.jk().wi().ti(P,m));return tt}if(J=Lp(ja,e).Ml(),!J.dc()){for(U=J.Kc();U.Ob();){$=u(U.Pb(),156);try{if(tt=$.jk().wi().ti($,n),tt!=null)return tt}catch(ht){if(ht=es(ht),!Lt(ht,63))throw at(ht)}}throw at(new zn(Hlt+n+"' does not match any member types of the union datatype '"+e.xe()+"'"))}if(u(e,847).ok(),s=_bn(e.kk()),!s)return null;if(s==vA){h=0;try{h=lh(n,Ga,xi)&js}catch(ht){if(ht=es(ht),Lt(ht,130))o=Lq(n),h=o[0];else throw at(ht)}return ZI(h)}if(s==OU){for(d=0;d<TL.length;++d)try{return WYt(TL[d],n)}catch(ht){if(ht=es(ht),!Lt(ht,33))throw at(ht)}throw at(new zn(Hlt+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw at(new zn(Hlt+n+"' is invalid. "))}function Ict(){Ict=V,Ri=new Fm,dn(Ri,(ve(),Cd),fu),dn(Ri,wf,fu),dn(Ri,wf,Ku),dn(Ri,Kh,cl),dn(Ri,Kh,fu),dn(Ri,e1,fu),dn(Ri,e1,xl),dn(Ri,wh,Uu),dn(Ri,wh,fu),dn(Ri,Gu,Ou),dn(Ri,Gu,fu),dn(Ri,Gu,xl),dn(Ri,Gu,Uu),dn(Ri,Ou,Gu),dn(Ri,Ou,Ku),dn(Ri,Ou,cl),dn(Ri,Ou,fu),dn(Ri,n1,n1),dn(Ri,n1,xl),dn(Ri,n1,Ku),dn(Ri,yl,yl),dn(Ri,yl,xl),dn(Ri,yl,cl),dn(Ri,mh,mh),dn(Ri,mh,Uu),dn(Ri,mh,Ku),dn(Ri,Wh,Wh),dn(Ri,Wh,Uu),dn(Ri,Wh,cl),dn(Ri,xl,e1),dn(Ri,xl,Gu),dn(Ri,xl,n1),dn(Ri,xl,yl),dn(Ri,xl,fu),dn(Ri,xl,xl),dn(Ri,xl,Ku),dn(Ri,xl,cl),dn(Ri,Uu,wh),dn(Ri,Uu,Gu),dn(Ri,Uu,mh),dn(Ri,Uu,Wh),dn(Ri,Uu,Uu),dn(Ri,Uu,Ku),dn(Ri,Uu,cl),dn(Ri,Uu,fu),dn(Ri,Ku,wf),dn(Ri,Ku,Ou),dn(Ri,Ku,n1),dn(Ri,Ku,mh),dn(Ri,Ku,xl),dn(Ri,Ku,Uu),dn(Ri,Ku,Ku),dn(Ri,Ku,fu),dn(Ri,cl,Kh),dn(Ri,cl,Ou),dn(Ri,cl,yl),dn(Ri,cl,Wh),dn(Ri,cl,xl),dn(Ri,cl,Uu),dn(Ri,cl,cl),dn(Ri,cl,fu),dn(Ri,fu,Cd),dn(Ri,fu,wf),dn(Ri,fu,Kh),dn(Ri,fu,e1),dn(Ri,fu,wh),dn(Ri,fu,Gu),dn(Ri,fu,Ou),dn(Ri,fu,xl),dn(Ri,fu,Uu),dn(Ri,fu,Ku),dn(Ri,fu,cl),dn(Ri,fu,fu)}function s8t(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;for(t.d=new ae(Zi,Zi),t.c=new ae(Vs,Vs),P=e.Kc();P.Ob();)for(T=u(P.Pb(),36),At=new G(T.a);At.a<At.c.c.length;)Tt=u(et(At),10),t.d.a=b.Math.min(t.d.a,Tt.n.a-Tt.d.b),t.d.b=b.Math.min(t.d.b,Tt.n.b-Tt.d.d),t.c.a=b.Math.max(t.c.a,Tt.n.a+Tt.o.a+Tt.d.c),t.c.b=b.Math.max(t.c.b,Tt.n.b+Tt.o.b+Tt.d.a);for(d=new vKt,A=e.Kc();A.Ob();)T=u(A.Pb(),36),r=eSn(t,T),ge(d.a,r),r.a=r.a|!u(X(r.c,(oe(),$g)),21).dc();for(t.b=(Iat(),rn=new I8,rn.f=new Foe(n),rn.b=c9n(rn.f,d),rn),y9n((U=t.b,new S6,U)),t.e=new Sa,t.a=t.b.f.e,h=new G(d.a);h.a<h.c.c.length;)for(s=u(et(h),855),Bt=efn(t.b,s),X8n(s.c,Bt.a,Bt.b),tt=new G(s.c.a);tt.a<tt.c.c.length;)J=u(et(tt),10),J.k==(Un(),Ms)&&(ht=Q6t(t,J.n,u(X(J,(oe(),Dc)),64)),ki(k1(J.n),ht));for(o=new G(d.a);o.a<o.c.c.length;)for(s=u(et(o),855),k=new G(m2n(s));k.a<k.c.c.length;)for(m=u(et(k),18),Ce=new b$(m.a),CE(Ce,0,rd(m.c)),Zr(Ce,rd(m.d)),$=null,se=Dr(Ce,0);se.b!=se.d.c;){if(Wt=u(Ar(se),8),!$){$=Wt;continue}o4t($.a,Wt.a)?(t.e.a=b.Math.min(t.e.a,$.a),t.a.a=b.Math.max(t.a.a,$.a)):o4t($.b,Wt.b)&&(t.e.b=b.Math.min(t.e.b,$.b),t.a.b=b.Math.max(t.a.b,$.b)),$=Wt}dz(t.e),ki(t.a,t.e)}function ySn(t,e){var n,r,s,o,h,d,m,k;if(n=0,h=0,o=e.length,d=null,k=new I4,h<o&&(qn(h,e.length),e.charCodeAt(h)==43)&&(++h,++n,h<o&&(qn(h,e.length),e.charCodeAt(h)==43||(qn(h,e.length),e.charCodeAt(h)==45))))throw at(new jd(av+e+'"'));for(;h<o&&(qn(h,e.length),e.charCodeAt(h)!=46)&&(qn(h,e.length),e.charCodeAt(h)!=101)&&(qn(h,e.length),e.charCodeAt(h)!=69);)++h;if(k.a+=""+Lh(e==null?Vu:(Wn(e),e),n,h),h<o&&(qn(h,e.length),e.charCodeAt(h)==46)){for(++h,n=h;h<o&&(qn(h,e.length),e.charCodeAt(h)!=101)&&(qn(h,e.length),e.charCodeAt(h)!=69);)++h;t.e=h-n,k.a+=""+Lh(e==null?Vu:(Wn(e),e),n,h)}else t.e=0;if(h<o&&(qn(h,e.length),e.charCodeAt(h)==101||(qn(h,e.length),e.charCodeAt(h)==69))&&(++h,n=h,h<o&&(qn(h,e.length),e.charCodeAt(h)==43)&&(++h,h<o&&(qn(h,e.length),e.charCodeAt(h)!=45)&&++n),d=(Da(n,o,e.length),e.substr(n,o-n)),t.e=t.e-lh(d,Ga,xi),t.e!=Ys(t.e)))throw at(new jd("Scale out of range."));if(m=k.a,m.length<16){if(t.f=(T9t==null&&(T9t=new RegExp("^[+-]?\\d*$","i")),T9t.test(m)?parseInt(m,10):NaN),isNaN(t.f))throw at(new jd(av+e+'"'));t.a=S6t(t.f)}else n2n(t,new Sb(m));for(t.d=k.a.length,s=0;s<k.a.length&&(r=Va(k.a,s),!(r!=45&&r!=48));++s)--t.d;t.d==0&&(t.d=1)}function xSn(t){zr(t.b,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentTransient"])),zr(t.a,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedSourceURI"])),zr(t.o,hf,lt(ut(Pe,1),ue,2,6,[dv,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),zr(t.p,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),zr(t.v,hf,lt(ut(Pe,1),ue,2,6,[dv,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),zr(t.R,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedName"])),zr(t.T,hf,lt(ut(Pe,1),ue,2,6,[dv,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),zr(t.U,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),zr(t.W,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),zr(t.bb,hf,lt(ut(Pe,1),ue,2,6,[dv,"ValidDefaultValueLiteral"])),zr(t.eb,hf,lt(ut(Pe,1),ue,2,6,[dv,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),zr(t.H,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentType ConsistentBounds ConsistentArguments"]))}function kSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;if(!e.dc()){if(s=new Qu,d=n||u(e.Xb(0),18),U=d.c,D_(),P=U.i.k,!(P==(Un(),xs)||P==uu||P==Ms||P==md))throw at(new zn("The target node of the edge must be a normal node or a northSouthPort."));for(ro(s,dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a]))),(ve(),Gu).Hc(U.j)&&(tt=Rt(Ht(X(U,(oe(),MT)))),A=new ae(dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a])).a,tt),hs(s,A,s.c.b,s.c)),T=null,r=!1,m=e.Kc();m.Ob();)h=u(m.Pb(),18),o=h.a,o.b!=0&&(r?(k=qd(ki(T,(ur(o.b!=0),u(o.a.a.c,8))),.5),hs(s,k,s.c.b,s.c),r=!1):r=!0,T=Oa((ur(o.b!=0),u(o.c.b.c,8))),Ma(s,o),nh(o));J=d.d,Gu.Hc(J.j)&&(tt=Rt(Ht(X(J,(oe(),MT)))),A=new ae(dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a])).a,tt),hs(s,A,s.c.b,s.c)),ro(s,dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a]))),t.d==(b7(),L1t)&&(ht=(ur(s.b!=0),u(s.a.a.c,8)),Tt=u(jh(s,1),8),At=new mst(i5t(U.j)),At.a*=5,At.b*=5,Bt=ia(new ae(Tt.a,Tt.b),ht),Wt=new ae(dst(At.a,Bt.a),dst(At.b,Bt.b)),ki(Wt,ht),se=Dr(s,1),kI(se,Wt),Ce=(ur(s.b!=0),u(s.c.b.c,8)),rn=u(jh(s,s.b-2),8),At=new mst(i5t(J.j)),At.a*=5,At.b*=5,Bt=ia(new ae(rn.a,rn.b),Ce),Ze=new ae(dst(At.a,Bt.a),dst(At.b,Bt.b)),ki(Ze,Ce),CE(s,s.b-1,Ze)),$=new Rkt(s),Ma(d.a,che($))}}function ESn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1;if(At=u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84),Wt=At.nh(),se=At.oh(),Bt=At.mh()/2,J=At.lh()/2,Lt(At,193)&&(Tt=u(At,123),Wt+=ed(Tt).i,Wt+=ed(Tt).i),Wt+=Bt,se+=J,Dn=u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84),Jr=Dn.nh(),is=Dn.oh(),er=Dn.mh()/2,Ce=Dn.lh()/2,Lt(Dn,193)&&(On=u(Dn,123),Jr+=ed(On).i,Jr+=ed(On).i),Jr+=er,is+=Ce,(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)d=(kb(),k=new K8,k),Or((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),d);else if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i>1)for(U=new j6((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));U.e!=U.i.gc();)E_(U);for(h=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),tt=Jr,Jr>Wt+Bt?tt=Wt+Bt:Jr<Wt-Bt&&(tt=Wt-Bt),ht=is,is>se+J?ht=se+J:is<se-J&&(ht=se-J),tt>Wt-Bt&&tt<Wt+Bt&&ht>se-J&&ht<se+J&&(tt=Wt+Bt),QE(h,tt),ZE(h,ht),rn=Wt,Wt>Jr+er?rn=Jr+er:Wt<Jr-er&&(rn=Jr-er),Ze=se,se>is+Ce?Ze=is+Ce:se<is-Ce&&(Ze=is-Ce),rn>Jr-er&&rn<Jr+er&&Ze>is-Ce&&Ze<is+Ce&&(Ze=is+Ce),XE(h,rn),JE(h,Ze),Ir((!h.a&&(h.a=new Ps(vh,h,5)),h.a)),o=MH(e,5),At==Dn&&++o,yh=rn-tt,r1=Ze-ht,El=b.Math.sqrt(yh*yh+r1*r1),A=El*.20000000298023224,mx=yh/(o+1),i1=r1/(o+1),Go=tt,rb=ht,T=0;T<o;T++)Go+=mx,rb+=i1,P=Go+Dl(e,24)*lN*A-A/2,P<0?P=1:P>n&&(P=n-1),$=rb+Dl(e,24)*lN*A-A/2,$<0?$=1:$>r&&($=r-1),s=(kb(),m=new fC,m),Rq(s,P),Bq(s,$),Or((!h.a&&(h.a=new Ps(vh,h,5)),h.a),s)}function Wpe(t){wm(t,new dw(gm(hm(dm(fm(new G1,Ol),"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 s6))),le(t,Ol,Dk,1.3),le(t,Ol,eT,(Pn(),!1)),le(t,Ol,ov,wDt),le(t,Ol,h3,15),le(t,Ol,QV,Se(hEe)),le(t,Ol,_5,Se(gEe)),le(t,Ol,Ik,Se(bEe)),le(t,Ol,Mk,Se(wEe)),le(t,Ol,nT,Se(dEe)),le(t,Ol,X_,Se(gDt)),le(t,Ol,rT,Se(mEe)),le(t,Ol,Q7t,Se(xDt)),le(t,Ol,J7t,Se(yDt)),le(t,Ol,X7t,Se(ddt)),le(t,Ol,Y7t,Se(kDt)),le(t,Ol,Z7t,Se(bDt)),le(t,Ol,tTt,Se(fdt)),le(t,Ol,eTt,Se(pDt)),le(t,Ol,nTt,Se(vDt)),le(t,Ol,Y_,Se(dDt)),le(t,Ol,ZV,Se(fEe)),le(t,Ol,K7t,Se(vP)),le(t,Ol,G7t,Se(fDt)),le(t,Ol,W7t,Se(yP)),le(t,Ol,U7t,Se(mDt))}function Oct(t,e){mct();var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;if(rn=t.e,U=t.d,s=t.a,rn==0)switch(e){case 0:return"0";case 1:return Y7;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 se=new yb,e<0?se.a+="0E+":se.a+="0E",se.a+=-e,se.a}if(At=U*10+1+7,Bt=Vt(Yh,Zd,28,At+1,15,1),n=At,U==1)if(d=s[0],d<0){Jr=sa(d,So);do J=Jr,Jr=_O(Jr,10),Bt[--n]=48+qr(sf(J,Ja(Jr,10)))&js;while($c(Jr,0)!=0)}else{Jr=d;do J=Jr,Jr=Jr/10|0,Bt[--n]=48+(J-Jr*10)&js;while(Jr!=0)}else{On=Vt(Fr,ii,28,U,15,1),er=U,Xc(s,0,On,0,er);t:for(;;){for(Ce=0,k=er-1;k>=0;k--)Dn=Qa(Rf(Ce,32),sa(On[k],So)),ht=c3n(Dn),On[k]=qr(ht),Ce=qr(_m(ht,32));Tt=qr(Ce),tt=n;do Bt[--n]=48+Tt%10&js;while((Tt=Tt/10|0)!=0&&n!=0);for(r=9-tt+n,m=0;m<r&&n>0;m++)Bt[--n]=48;for(A=er-1;On[A]==0;A--)if(A==0)break t;er=A+1}for(;Bt[n]==48;)++n}if($=rn<0,h=At-n-e-1,e==0)return $&&(Bt[--n]=45),af(Bt,n,At-n);if(e>0&&h>=-6){if(h>=0){for(T=n+h,P=At-1;P>=T;P--)Bt[P+1]=Bt[P];return Bt[++T]=46,$&&(Bt[--n]=45),af(Bt,n,At-n+1)}for(A=2;A<-h+1;A++)Bt[--n]=48;return Bt[--n]=46,Bt[--n]=48,$&&(Bt[--n]=45),af(Bt,n,At-n)}return Ze=n+1,o=At,Wt=new I4,$&&(Wt.a+="-"),o-Ze>=1?(Db(Wt,Bt[n]),Wt.a+=".",Wt.a+=af(Bt,n+1,At-n-1)):Wt.a+=af(Bt,n,At-n),Wt.a+="E",h>0&&(Wt.a+="+"),Wt.a+=""+h,Wt.a}function Ype(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;switch(t.c=e,t.g=new _r,n=(xy(),new my(t.c)),r=new RC(n),j5t(r),At=Gr(ne(t.c,(LO(),zDt))),m=u(ne(t.c,Edt),324),Wt=u(ne(t.c,Tdt),437),h=u(ne(t.c,RDt),489),Bt=u(ne(t.c,kdt),438),t.j=Rt(Ht(ne(t.c,IEe))),d=t.a,m.g){case 0:d=t.a;break;case 1:d=t.b;break;case 2:d=t.i;break;case 3:d=t.e;break;case 4:d=t.f;break;default:throw at(new zn(cU+(m.f!=null?m.f:""+m.g)))}if(t.d=new zne(d,Wt,h),Zt(t.d,(s7(),EA),Me(ne(t.c,DEe))),t.d.c=Ie(Me(ne(t.c,jDt))),Jz(t.c).i==0)return t.d;for(A=new Zn(Jz(t.c));A.e!=A.i.gc();){for(T=u(ar(A),27),$=T.g/2,P=T.f/2,se=new ae(T.i+$,T.j+P);Tu(t.g,se);)Tm(se,(b.Math.random()-.5)*n0,(b.Math.random()-.5)*n0);J=u(ne(T,(ai(),UT)),140),tt=new ere(se,new Ah(se.a-$-t.j/2-J.b,se.b-P-t.j/2-J.d,T.g+t.j+(J.b+J.c),T.f+t.j+(J.d+J.a))),ge(t.d.i,tt),hi(t.g,se,new Ws(tt,T))}switch(Bt.g){case 0:if(At==null)t.d.d=u(Oe(t.d.i,0),68);else for(Tt=new G(t.d.i);Tt.a<Tt.c.c.length;)tt=u(et(Tt),68),U=u(u(tr(t.g,tt.a),42).b,27).jh(),U!=null&&hn(U,At)&&(t.d.d=tt);break;case 1:for(s=new ae(t.c.g,t.c.f),s.a*=.5,s.b*=.5,Tm(s,t.c.i,t.c.j),o=Zi,ht=new G(t.d.i);ht.a<ht.c.c.length;)tt=u(et(ht),68),k=Nb(tt.a,s),k<o&&(o=k,t.d.d=tt);break;default:throw at(new zn(cU+(Bt.f!=null?Bt.f:""+Bt.g)))}return t.d}function TSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(P=0,s=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ar(s),27),Ie(Me(ne(r,(De(),Nw))))||(T=Ji(r),($t(ne(T,U0))!==$t((Wd(),Up))||$t(ne(T,Dw))===$t((Ip(),ST))||$t(ne(T,Dw))===$t((Ip(),CT))||Ie(Me(ne(T,Ev)))||$t(ne(T,_3))!==$t((lw(),x3))||$t(ne(T,a2))===$t((cf(),Lv))||$t(ne(T,a2))===$t((cf(),N3))||$t(ne(T,Iw))===$t((Bp(),RT))||$t(ne(T,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(r,BG)))&&(Mi(r,(oe(),Pi),he(P)),++P),qpe(t,r,n));for(P=0,k=new Zn((!e.b&&(e.b=new Jt(Ts,e,12,3)),e.b));k.e!=k.i.gc();)d=u(ar(k),74),($t(ne(e,(De(),U0)))!==$t((Wd(),Up))||$t(ne(e,Dw))===$t((Ip(),ST))||$t(ne(e,Dw))===$t((Ip(),CT))||Ie(Me(ne(e,Ev)))||$t(ne(e,_3))!==$t((lw(),x3))||$t(ne(e,a2))===$t((cf(),Lv))||$t(ne(e,a2))===$t((cf(),N3))||$t(ne(e,Iw))===$t((Bp(),RT))||$t(ne(e,Iw))===$t((Bp(),jT)))&&(Mi(d,(oe(),Pi),he(P)),++P),J=O0(d),tt=qb(d),A=Ie(Me(ne(J,L3))),U=!Ie(Me(ne(d,Nw))),$=A&&Zm(d)&&Ie(Me(ne(d,Mw))),o=Ji(J)==e&&Ji(J)==Ji(tt),h=(Ji(J)==e&&tt==e)^(Ji(tt)==e&&J==e),U&&!$&&(h||o)&&a8t(t,d,e,n);if(Ji(e))for(m=new Zn(gne(Ji(e)));m.e!=m.i.gc();)d=u(ar(m),74),J=O0(d),J==e&&Zm(d)&&($=Ie(Me(ne(J,(De(),L3))))&&Ie(Me(ne(d,Mw))),$&&a8t(t,d,e,n))}function CSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh;for(n.Ug("Greedy cycle removal",1),At=e.a,yh=At.c.length,t.a=Vt(Fr,ii,28,yh,15,1),t.c=Vt(Fr,ii,28,yh,15,1),t.b=Vt(Fr,ii,28,yh,15,1),k=0,ht=new G(At);ht.a<ht.c.c.length;){for(J=u(et(ht),10),J.p=k,Ze=new G(J.j);Ze.a<Ze.c.c.length;){for(se=u(et(Ze),12),d=new G(se.e);d.a<d.c.c.length;)r=u(et(d),18),r.c.i!=J&&(er=u(X(r,(De(),PT)),17).a,t.a[k]+=er>0?er+1:1);for(h=new G(se.g);h.a<h.c.c.length;)r=u(et(h),18),r.d.i!=J&&(er=u(X(r,(De(),PT)),17).a,t.c[k]+=er>0?er+1:1)}t.c[k]==0?Zr(t.e,J):t.a[k]==0&&Zr(t.f,J),++k}for(U=-1,$=1,A=new fe,t.d=u(X(e,(oe(),Kk)),234);yh>0;){for(;t.e.b!=0;)is=u(Tit(t.e),10),t.b[is.p]=U--,_kt(t,is),--yh;for(;t.f.b!=0;)El=u(Tit(t.f),10),t.b[El.p]=$++,_kt(t,El),--yh;if(yh>0){for(P=Ga,Tt=new G(At);Tt.a<Tt.c.c.length;)J=u(et(Tt),10),t.b[J.p]==0&&(Bt=t.c[J.p]-t.a[J.p],Bt>=P&&(Bt>P&&(A.c.length=0,P=Bt),In(A.c,J)));T=t.sg(A),t.b[T.p]=$++,_kt(t,T),--yh}}for(Jr=At.c.length+1,k=0;k<At.c.length;k++)t.b[k]<0&&(t.b[k]+=Jr);for(tt=new G(At);tt.a<tt.c.c.length;)for(J=u(et(tt),10),Dn=rie(J.j),Ce=Dn,rn=0,On=Ce.length;rn<On;++rn)for(se=Ce[rn],Wt=Kd(se.g),s=Wt,o=0,m=s.length;o<m;++o)r=s[o],Go=r.d.i.p,t.b[J.p]>t.b[Go]&&(nv(r,!0),Zt(e,tP,(Pn(),!0)));t.a=null,t.c=null,t.b=null,nh(t.f),nh(t.e),n.Vg()}function Xpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(Wt=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),T=new Qu,Bt=new _r,se=sge(Wt),yu(Bt.f,Wt,se),P=new _r,r=new Ki,U=A0(ah(lt(ut(gh,1),Ln,20,0,[(!e.d&&(e.d=new kn(Ts,e,8,5)),e.d),(!e.e&&(e.e=new kn(Ts,e,7,4)),e.e)])));Mr(U);){if($=u(dr(U),74),(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i!=1)throw at(new zn(Fwe+(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i));$!=t&&(tt=u(Dt((!$.a&&($.a=new Jt(Wi,$,6,6)),$.a),0),166),hs(r,tt,r.c.b,r.c),J=u(Ko(Eo(Bt.f,tt)),13),J||(J=sge(tt),yu(Bt.f,tt,J)),A=n?ia(new io(u(Oe(se,se.c.length-1),8)),u(Oe(J,J.c.length-1),8)):ia(new io((vn(0,se.c.length),u(se.c[0],8))),(vn(0,J.c.length),u(J.c[0],8))),yu(P.f,tt,A))}if(r.b!=0)for(ht=u(Oe(se,n?se.c.length-1:0),8),k=1;k<se.c.length;k++){for(Tt=u(Oe(se,n?se.c.length-1-k:k),8),s=Dr(r,0);s.b!=s.d.c;)tt=u(Ar(s),166),J=u(Ko(Eo(Bt.f,tt)),13),J.c.length<=k?Qst(s):(At=ki(new io(u(Oe(J,n?J.c.length-1-k:k),8)),u(Ko(Eo(P.f,tt)),8)),(Tt.a!=At.a||Tt.b!=At.b)&&(o=Tt.a-ht.a,d=Tt.b-ht.b,h=At.a-ht.a,m=At.b-ht.b,h*d==m*o&&(o==0||isNaN(o)?o:o<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)&&(d==0||isNaN(d)?d:d<0?-1:1)==(m==0||isNaN(m)?m:m<0?-1:1)?(b.Math.abs(o)<b.Math.abs(h)||b.Math.abs(d)<b.Math.abs(m))&&hs(T,Tt,T.c.b,T.c):k>1&&hs(T,ht,T.c.b,T.c),Qst(s)));ht=Tt}return T}function Qpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(n.Ug(Q2e,1),On=u(nc(_i(new ln(null,new gn(e,16)),new ott),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),T=u(nc(_i(new ln(null,new gn(e,16)),new ZUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),U=u(nc(_i(new ln(null,new gn(e,16)),new JUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),J=Vt(aK,rU,39,e.gc(),0,1),h=0;h<T.gc();h++)s=u(T.Xb(h),39),Ze=u(X(s,(Cc(),tx)),17).a,Ze>=0&&Ze<T.gc()&&!J[Ze]&&(J[Ze]=s,T.gd(h),--h);for(d=0;d<T.gc();d++)for(s=u(T.Xb(d),39),Ze=u(X(s,(Cc(),tx)),17).a,P=0;;P++){if($=Ze+P,$<J.length&&$>=0&&!J[$]){J[$]=s,T.gd(d),--d;break}if($=Ze-P,$<J.length&&$>=0&&!J[$]){J[$]=s,T.gd(d),--d;break}}for(U.jd(new ctt),m=J.length-1;m>=0;m--)!J[m]&&!U.dc()&&(J[m]=u(U.Xb(0),39),U.gd(0));for(k=0;k<J.length;k++)!J[k]&&!On.dc()&&(J[k]=u(On.Xb(0),39),On.gd(0));for(o=0;o<J.length;o++)Zt(J[o],(ji(),ZA),he(o));for(A=u(dwn(_i(new ln(null,new gn(e,16)),new utt)),534),se=A,Ce=0,rn=se.length;Ce<rn;++Ce){for(Wt=se[Ce],r=wat(Wt),Qpe(t,r,n.eh(1/A.length|0)),mn(),rw(r,new Fnt((ji(),ZA))),tt=new Ki,Bt=Dr(r,0);Bt.b!=Bt.d.c;)for(At=u(Ar(Bt),39),Tt=Dr(Wt.d,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),65),ht.c==At&&hs(tt,ht,tt.c.b,tt.c);nh(Wt.d),Ma(Wt.d,tt)}n.Vg()}function Jpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(r=new fe,d=new fe,tt=e/2,$=t.gc(),s=u(t.Xb(0),8),ht=u(t.Xb(1),8),U=Yot(s.a,s.b,ht.a,ht.b,tt),ge(r,(vn(0,U.c.length),u(U.c[0],8))),ge(d,(vn(1,U.c.length),u(U.c[1],8))),k=2;k<$;k++)J=s,s=ht,ht=u(t.Xb(k),8),U=Yot(s.a,s.b,J.a,J.b,tt),ge(r,(vn(1,U.c.length),u(U.c[1],8))),ge(d,(vn(0,U.c.length),u(U.c[0],8))),U=Yot(s.a,s.b,ht.a,ht.b,tt),ge(r,(vn(0,U.c.length),u(U.c[0],8))),ge(d,(vn(1,U.c.length),u(U.c[1],8)));for(U=Yot(ht.a,ht.b,s.a,s.b,tt),ge(r,(vn(1,U.c.length),u(U.c[1],8))),ge(d,(vn(0,U.c.length),u(U.c[0],8))),n=new Qu,h=new fe,Zr(n,(vn(0,r.c.length),u(r.c[0],8))),T=1;T<r.c.length-2;T+=2)o=(vn(T,r.c.length),u(r.c[T],8)),P=n1e((vn(T-1,r.c.length),u(r.c[T-1],8)),o,(vn(T+1,r.c.length),u(r.c[T+1],8)),(vn(T+2,r.c.length),u(r.c[T+2],8))),!isFinite(P.a)||!isFinite(P.b)?hs(n,o,n.c.b,n.c):hs(n,P,n.c.b,n.c);for(Zr(n,u(Oe(r,r.c.length-1),8)),ge(h,(vn(0,d.c.length),u(d.c[0],8))),A=1;A<d.c.length-2;A+=2)o=(vn(A,d.c.length),u(d.c[A],8)),P=n1e((vn(A-1,d.c.length),u(d.c[A-1],8)),o,(vn(A+1,d.c.length),u(d.c[A+1],8)),(vn(A+2,d.c.length),u(d.c[A+2],8))),!isFinite(P.a)||!isFinite(P.b)?In(h.c,o):In(h.c,P);for(ge(h,u(Oe(d,d.c.length-1),8)),m=h.c.length-1;m>=0;m--)Zr(n,(vn(m,h.c.length),u(h.c[m],8)));return n}function Zpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(At=Rt(Ht(ne(e,(N0(),B3)))),$=Rt(Ht(ne(e,nL))),P=Rt(Ht(ne(e,bK))),M4t((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a)),ht=Hge((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),At,t.b),tt=0;tt<ht.c.length;tt++)if(m=(vn(tt,ht.c.length),u(ht.c[tt],186)),tt!=0&&(U=(vn(tt-1,ht.c.length),u(ht.c[tt-1],186)),yue(m,U.f+U.b+t.b)),J=ASn(tt,ht,At,t.b,Ie(Me(ne(e,(fd(),fdt))))),Ie(Me(J.b))){for(o=new G(m.a);o.a<o.c.c.length;)s=u(et(o),172),s.c=!1,s.k=!1,Oge(s);m.d=new fe,m.e=At,--tt}else if(Uvn(t,m),tt+1<ht.c.length&&(t.e=b.Math.max(m.e+t.b+u(Oe((vn(tt+1,ht.c.length),u(ht.c[tt+1],186)).a,0),172).r-At,t.c),t.f=b.Math.min(m.e+t.b+u(Oe((vn(tt+1,ht.c.length),u(ht.c[tt+1],186)).a,0),172).r-At,t.d),m.d.c.length!=0&&(t.c=b.Math.max(t.c,u(Oe(m.d,m.d.c.length-1),315).d+(m.d.c.length<=1?0:t.b)),t.d=b.Math.min(t.c,u(Oe(m.d,m.d.c.length-1),315).d+(m.d.c.length<=1?0:t.b)))),ht.c.length==1)for(A=u(Oe(m.d,m.d.c.length-1),315),T=u(Oe(A.a,A.a.c.length-1),172),d=new G(T.n);d.a<d.c.c.length;)h=u(et(d),209),t.c=b.Math.max(t.c,T.r-h.d),t.d=b.Math.min(t.d,T.r-h.d),t.e=b.Math.max(t.e,h.d+t.b),t.f=b.Math.min(t.f,h.d+t.b);return Tt=Rhe(ht,t.b),Bt=b.Math.max(Tt.a,$-(n.b+n.c)),k=b.Math.max(Tt.b,P-(n.d+n.a)),r=k-Tt.b,Mi(e,tL,r),Mi(e,wK,ht),new tyt(t.a,Bt,Tt.b+r,(A_(),xP))}function SSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(Ce=u(X(t,(De(),bs)),101),Ce!=(ka(),Td)&&Ce!=d2){for(U=t.b,$=U.c.length,T=new wu((oh($+2,jct),Oq(Qa(Qa(5,$+2),($+2)/10|0)))),J=new wu((oh($+2,jct),Oq(Qa(Qa(5,$+2),($+2)/10|0)))),ge(T,new _r),ge(T,new _r),ge(J,new fe),ge(J,new fe),se=new fe,e=0;e<$;e++)for(n=(vn(e,U.c.length),u(U.c[e],30)),rn=(vn(e,T.c.length),u(T.c[e],85)),tt=new _r,In(T.c,tt),On=(vn(e,J.c.length),u(J.c[e],15)),Tt=new fe,In(J.c,Tt),s=new G(n.a);s.a<s.c.c.length;){if(r=u(et(s),10),E5t(r)){In(se.c,r);continue}for(k=new rr(sr(ua(r).a.Kc(),new z));Mr(k);)d=u(dr(k),18),Dn=d.c.i,E5t(Dn)&&(Ze=u(rn.xc(X(Dn,(oe(),Li))),10),Ze||(Ze=v1e(t,Dn),rn.zc(X(Dn,Li),Ze),On.Fc(Ze)),Xa(d,u(Oe(Ze.j,1),12)));for(m=new rr(sr(_s(r).a.Kc(),new z));Mr(m);)d=u(dr(m),18),er=d.d.i,E5t(er)&&(ht=u(tr(tt,X(er,(oe(),Li))),10),ht||(ht=v1e(t,er),hi(tt,X(er,Li),ht),In(Tt.c,ht)),xa(d,u(Oe(ht.j,0),12)))}for(A=0;A<J.c.length;A++)if(At=(vn(A,J.c.length),u(J.c[A],15)),!At.dc())for(P=null,A==0?(P=new eu(t),Fy(0,U.c.length),sS(U.c,0,P)):A==T.c.length-1?(P=new eu(t),In(U.c,P)):P=(vn(A-1,U.c.length),u(U.c[A-1],30)),h=At.Kc();h.Ob();)o=u(h.Pb(),10),Aa(o,P);for(Wt=new G(se);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Aa(Bt,null);Zt(t,(oe(),Vft),se)}}function _Sn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go;for(is=new fe,U=new G(e.b);U.a<U.c.c.length;)for(P=u(et(U),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;){for(Bt=u(et(Wt),10),Bt.p=-1,A=Ga,rn=Ga,On=new G(Bt.j);On.a<On.c.c.length;){for(Ze=u(et(On),12),s=new G(Ze.e);s.a<s.c.c.length;)n=u(et(s),18),Dn=u(X(n,(De(),Yk)),17).a,A=b.Math.max(A,Dn);for(r=new G(Ze.g);r.a<r.c.c.length;)n=u(et(r),18),Dn=u(X(n,(De(),Yk)),17).a,rn=b.Math.max(rn,Dn)}Zt(Bt,rK,he(A)),Zt(Bt,iK,he(rn))}for(ht=0,$=new G(e.b);$.a<$.c.c.length;)for(P=u(et($),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Bt.p<0&&(Jr=new W2t,Jr.b=ht++,L0e(t,Bt,Jr),In(is.c,Jr));for(Ce=C0(is.c.length),T=C0(is.c.length),h=0;h<is.c.length;h++)ge(Ce,new fe),ge(T,he(0));for(U9n(e,is,Ce,T),El=u(ld(is,Vt(pke,V2e,261,is.c.length,0,1)),854),se=u(ld(Ce,Vt(Vh,l3,15,Ce.c.length,0,1)),198),k=Vt(Fr,ii,28,T.c.length,15,1),d=0;d<k.length;d++)k[d]=(vn(d,T.c.length),u(T.c[d],17)).a;for(Tt=0,At=new fe,m=0;m<El.length;m++)k[m]==0&&In(At.c,El[m]);for(tt=Vt(Fr,ii,28,El.length,15,1);At.c.length!=0;)for(Jr=u(Ep(At,0),261),tt[Jr.b]=Tt++;!se[Jr.b].dc();)Go=u(se[Jr.b].gd(0),261),--k[Go.b],k[Go.b]==0&&In(At.c,Go);for(t.a=Vt(pke,V2e,261,El.length,0,1),o=0;o<El.length;o++)for(J=El[o],er=tt[o],t.a[er]=J,J.b=er,Wt=new G(J.e);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Bt.p=er;return t.a}function ASn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(J=!1,m=!1,P=t+1,U=(vn(t,e.c.length),u(e.c[t],186)),d=U.a,k=null,h=0;h<U.a.c.length;h++)if(o=(vn(h,d.c.length),u(d.c[h],172)),!o.c){if(o.b.c.length==0){pg(),CO(U,o),--h,J=!0;continue}if(o.k||(k&&PH(k),k=new t3t(k?k.e+k.d+r:0,U.f,r),kO(o,k.e+k.d,U.f),ge(U.d,k),R4t(k,o),o.k=!0),T=null,T=(ht=null,h<U.a.c.length-1?ht=u(Oe(U.a,h+1),172):P<e.c.length&&(vn(P,e.c.length),u(e.c[P],186)).a.c.length!=0&&(ht=u(Oe((vn(P,e.c.length),u(e.c[P],186)).a,0),172)),ht),tt=!1,T&&(tt=!Ti(T.j,U)),T){if(T.b.c.length!=0&&!Ie(Me(u(Oe(T.b,0),27).of((fd(),yP)))))$I(o,n-o.s),PH(o.q),J=J|J3n(U,o,T,n,r);else{CO(U,T);break}if(T.b.c.length==0)for(e.c.length>P&&CO((vn(P,e.c.length),u(e.c[P],186)),T),T=null;e.c.length>P&&(vn(P,e.c.length),u(e.c[P],186)).a.c.length==0;)zu(e,(vn(P,e.c.length),e.c[P]));if(!T){--h;continue}if(!Ie(Me(u(Oe(T.b,0),27).of((fd(),yP))))&&HEn(e,U,o,T,tt,n,P,r)){J=!0;continue}if(tt){if($=U.b,A=T.f,!Ie(Me(u(Oe(T.b,0),27).of(yP)))&&o9n(e,U,o,T,n,P,r,s)){if(J=!0,$<A){m=!0,T.j=U;break}continue}else if(d5t(U,o)){o.c=!0,J=!0;continue}}else if(d5t(U,o)){o.c=!0,J=!0;continue}if(J)continue}if(d5t(U,o)){o.c=!0,J=!0,T&&(T.k=!1);continue}else PH(o.q)}return new Ws((Pn(),!!J),!!m)}function De(){De=V,u1t=(ai(),m7e),dAt=v7e,aP=$Mt,Yf=y7e,Y5=zMt,_v=qMt,O3=HMt,FT=VMt,BT=UMt,l1t=LK,Av=$w,h1t=x7e,jA=WMt,KG=Zk,sP=(o8t(),Pxe),W5=Fxe,Pw=Bxe,X5=Rxe,E6e=new _a(DP,he(0)),PT=Ixe,fAt=Oxe,Yk=Nxe,kAt=a6e,pAt=zxe,bAt=Vxe,d1t=Qxe,wAt=Kxe,mAt=Yxe,WG=l6e,g1t=o6e,yAt=n6e,vAt=t6e,xAt=i6e,Cv=Sxe,RA=_xe,s1t=V5e,U_t=G5e,A6e=dL,L6e=MK,_6e=MP,S6e=DK,gAt=(lk(),q3),new _a(t8,gAt),oAt=new xm(12),aAt=new _a(Yp,oAt),q_t=(Lg(),WT),zg=new _a(mMt,q_t),D3=new _a(Pl,0),T6e=new _a(qdt,he(1)),OG=new _a(sx,tT),Nw=AK,bs=fL,NT=hx,b6e=SP,u0=c7e,A3=cx,C6e=new _a(Hdt,(Pn(),!0)),L3=_P,Mw=Ndt,Ow=jw,GG=l2,c1t=R3,z_t=(Rs(),Ed),ph=new _a(Rw,z_t),Tv=ux,VG=CMt,M3=j3,k6e=zdt,lAt=RMt,uAt=(o5(),PP),new _a(OMt,uAt),v6e=Bdt,y6e=Rdt,x6e=jdt,m6e=Fdt,f1t=$xe,Iw=gxe,a2=dxe,$A=jxe,Iu=axe,Dw=F5e,FA=P5e,Ev=y5e,R_t=x5e,e1t=C5e,iP=k5e,n1t=O5e,nAt=pxe,rAt=bxe,Q_t=txe,UG=Dxe,o1t=vxe,a1t=Y5e,sAt=Txe,V_t=q5e,i1t=H5e,t1t=CP,iAt=wxe,PG=f5e,P_t=h5e,NG=l5e,W_t=J5e,K_t=Q5e,Y_t=Z5e,IT=lx,Vo=Iv,Hp=yMt,l0=Odt,r1t=Idt,j_t=_5e,Vp=$dt,PA=h7e,zG=d7e,Sv=PMt,cAt=g7e,OT=p7e,Z_t=cxe,tAt=lxe,I3=Jk,Jft=u5e,eAt=fxe,$G=j5e,jG=R5e,HG=UT,J_t=rxe,BA=xxe,oP=GMt,$_t=B5e,hAt=Mxe,H_t=$5e,d6e=L5e,g6e=D5e,w6e=sxe,p6e=M5e,X_t=Pdt,qG=oxe,RG=I5e,U0=v5e,B_t=b5e,FG=g5e,F_t=p5e,BG=w5e,_3=d5e,Zft=m5e,G_t=X5e}function wi(t){var e,n,r;if(t.d>=t.j){t.a=-1,t.c=1;return}if(e=Va(t.i,t.d++),t.a=e,t.b==1){switch(e){case 92:if(r=10,t.d>=t.j)throw at(new Yr(Qr((Ur(),pU))));t.a=Va(t.i,t.d++);break;case 45:(t.e&512)==512&&t.d<t.j&&Va(t.i,t.d)==91?(++t.d,r=24):r=0;break;case 91:if((t.e&512)!=512&&t.d<t.j&&Va(t.i,t.d)==58){++t.d,r=20;break}default:(e&64512)==cN&&t.d<t.j&&(n=Va(t.i,t.d),(n&64512)==56320&&(t.a=po+(e-cN<<10)+n-56320,++t.d)),r=0}t.c=r;return}switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,t.d>=t.j||Va(t.i,t.d)!=63)break;if(++t.d>=t.j)throw at(new Yr(Qr((Ur(),nht))));switch(e=Va(t.i,t.d++),e){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(t.d>=t.j)throw at(new Yr(Qr((Ur(),nht))));if(e=Va(t.i,t.d++),e==61)r=16;else if(e==33)r=17;else throw at(new Yr(Qr((Ur(),ume))));break;case 35:for(;t.d<t.j&&(e=Va(t.i,t.d++),e!=41););if(e!=41)throw at(new Yr(Qr((Ur(),lme))));r=21;break;default:if(e==45||97<=e&&e<=122||65<=e&&e<=90){--t.d,r=22;break}else if(e==40){r=23;break}throw at(new Yr(Qr((Ur(),nht))))}break;case 92:if(r=10,t.d>=t.j)throw at(new Yr(Qr((Ur(),pU))));t.a=Va(t.i,t.d++);break;default:r=0}t.c=r}function LSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(n.Ug("Process compaction",1),!!Ie(Me(X(e,(Cc(),xLt))))){for(s=u(X(e,Mv),88),$=Rt(Ht(X(e,H1t))),nTn(t,e,s),GCn(e,$/2/2),U=e.b,rw(U,new UUt(s)),k=Dr(U,0);k.b!=k.d.c;)if(m=u(Ar(k),39),!Ie(Me(X(m,(ji(),u2))))){if(r=A8n(m,s),J=E7n(m,e),A=0,P=0,r)switch(tt=r.e,s.g){case 2:A=tt.a-$-m.f.a,J.e.a-$-m.f.a<A&&(A=J.e.a-$-m.f.a),P=A+m.f.a;break;case 1:A=tt.a+r.f.a+$,J.e.a+$>A&&(A=J.e.a+J.f.a+$),P=A+m.f.a;break;case 4:A=tt.b-$-m.f.b,J.e.b-$-m.f.b<A&&(A=J.e.b-$-m.f.b),P=A+m.f.b;break;case 3:A=tt.b+r.f.b+$,J.e.b+$>A&&(A=J.e.b+J.f.b+$),P=A+m.f.b}else if(J)switch(s.g){case 2:A=J.e.a-$-m.f.a,P=A+m.f.a;break;case 1:A=J.e.a+J.f.a+$,P=A+m.f.a;break;case 4:A=J.e.b-$-m.f.b,P=A+m.f.b;break;case 3:A=J.e.b+J.f.b+$,P=A+m.f.b}$t(X(e,q1t))===$t((s_(),dP))?(o=A,h=P,d=f7(_i(new ln(null,new gn(t.a,16)),new NXt(o,h))),d.a!=null?s==(Rs(),Uo)||s==tc?m.e.a=A:m.e.b=A:(s==(Rs(),Uo)||s==Gh?d=f7(_i(loe(new ln(null,new gn(t.a,16))),new GUt(o))):d=f7(_i(loe(new ln(null,new gn(t.a,16))),new KUt(o))),d.a!=null&&(s==Uo||s==tc?m.e.a=Rt(Ht((ur(d.a!=null),u(d.a,42)).a)):m.e.b=Rt(Ht((ur(d.a!=null),u(d.a,42)).a)))),d.a!=null&&(T=Xo(t.a,(ur(d.a!=null),d.a),0),T>0&&T!=u(X(m,h0),17).a&&(Zt(m,dLt,(Pn(),!0)),Zt(m,h0,he(T))))):s==(Rs(),Uo)||s==tc?m.e.a=A:m.e.b=A}n.Vg()}}function tbe(t){var e,n,r,s,o,h,d,m,k;for(t.b=1,wi(t),e=null,t.c==0&&t.a==94?(wi(t),e=(yi(),yi(),new ih(4)),iu(e,0,gT),d=new ih(4)):d=(yi(),yi(),new ih(4)),s=!0;(k=t.c)!=1;){if(k==0&&t.a==93&&!s){e&&($_(e,d),d=e);break}if(n=t.a,r=!1,k==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:a3(d,j7(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(a3(d,j7(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(m=M6t(t,n),!m)throw at(new Yr(Qr((Ur(),rht))));a3(d,m),r=!0;break;default:n=fkt(t)}else if(k==24&&!s){if(e&&($_(e,d),d=e),o=tbe(t),$_(d,o),t.c!=0||t.a!=93)throw at(new Yr(Qr((Ur(),vme))));break}if(wi(t),!r){if(k==0){if(n==91)throw at(new Yr(Qr((Ur(),PTt))));if(n==93)throw at(new Yr(Qr((Ur(),FTt))));if(n==45&&!s&&t.a!=93)throw at(new Yr(Qr((Ur(),iht))))}if(t.c!=0||t.a!=45||n==45&&s)iu(d,n,n);else{if(wi(t),(k=t.c)==1)throw at(new Yr(Qr((Ur(),bU))));if(k==0&&t.a==93)iu(d,n,n),iu(d,45,45);else{if(k==0&&t.a==93||k==24)throw at(new Yr(Qr((Ur(),iht))));if(h=t.a,k==0){if(h==91)throw at(new Yr(Qr((Ur(),PTt))));if(h==93)throw at(new Yr(Qr((Ur(),FTt))));if(h==45)throw at(new Yr(Qr((Ur(),iht))))}else k==10&&(h=fkt(t));if(wi(t),n>h)throw at(new Yr(Qr((Ur(),kme))));iu(d,n,h)}}}s=!1}if(t.c==1)throw at(new Yr(Qr((Ur(),bU))));return g5(d),R_(d),t.b=0,wi(t),d}function DSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;if(n.Ug("Coffman-Graham Layering",1),e.a.c.length==0){n.Vg();return}for(Wt=u(X(e,(De(),J_t)),17).a,m=0,h=0,P=new G(e.a);P.a<P.c.c.length;)for(A=u(et(P),10),A.p=m++,o=new rr(sr(_s(A).a.Kc(),new z));Mr(o);)s=u(dr(o),18),s.p=h++;for(t.d=Vt(Fl,$0,28,m,16,1),t.a=Vt(Fl,$0,28,h,16,1),t.b=Vt(Fr,ii,28,m,15,1),t.e=Vt(Fr,ii,28,m,15,1),t.f=Vt(Fr,ii,28,m,15,1),qq(t.c),_yn(t,e),U=new Rz(new lUt(t)),Bt=new G(e.a);Bt.a<Bt.c.c.length;){for(Tt=u(et(Bt),10),o=new rr(sr(ua(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t.a[s.p]||++t.b[Tt.p];t.b[Tt.p]==0&&V6(D7(U,Tt),X7)}for(d=0;U.b.c.length!=0;)for(Tt=u(Yst(U),10),t.f[Tt.p]=d++,o=new rr(sr(_s(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!t.a[s.p]&&(tt=s.d.i,--t.b[tt.p],dn(t.c,tt,he(t.f[Tt.p])),t.b[tt.p]==0&&V6(D7(U,tt),X7));for($=new Rz(new hUt(t)),At=new G(e.a);At.a<At.c.c.length;){for(Tt=u(et(At),10),o=new rr(sr(_s(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t.a[s.p]||++t.e[Tt.p];t.e[Tt.p]==0&&V6(D7($,Tt),X7)}for(T=new fe,r=Qee(e,T);$.b.c.length!=0;)for(ht=u(Yst($),10),(r.a.c.length>=Wt||!Twn(ht,r))&&(r=Qee(e,T)),Aa(ht,r),o=new rr(sr(ua(ht).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!t.a[s.p]&&(J=s.c.i,--t.e[J.p],t.e[J.p]==0&&V6(D7($,J),X7));for(k=T.c.length-1;k>=0;--k)ge(e.b,(vn(k,T.c.length),u(T.c[k],30)));e.a.c.length=0,n.Vg()}function ebe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;Bt=!1;do for(Bt=!1,o=e?new cr(t.a.b).a.gc()-2:1;e?o>=0:o<new cr(t.a.b).a.gc();o+=e?-1:1)for(s=m3t(t.a,he(o)),$=0;$<s.b;$++)if(A=u(jh(s,$),10),!!qi(A,(oe(),Pi))&&!(Myn(t.a,he(o))&&t.r==(cf(),Lv)||Iyn(t.a,he(o))&&t.r==(cf(),N3))){for(At=!0,ht=0;ht<s.b;ht++)tt=u(jh(s,ht),10),qi(tt,Pi)&&(e&&u(X(A,Pi),17).a<u(X(tt,Pi),17).a||!e&&u(X(A,Pi),17).a>u(X(tt,Pi),17).a)&&(At=!1);if(At){for(m=e?o+1:o-1,d=m3t(t.a,he(m)),h=!1,Tt=!0,r=!1,T=Dr(d,0);T.b!=T.d.c;)k=u(Ar(T),10),qi(k,Pi)?k.p!=A.p&&(h=h|(e?u(X(k,Pi),17).a<u(X(A,Pi),17).a:u(X(k,Pi),17).a>u(X(A,Pi),17).a),Tt=!1):!h&&Tt&&k.k==(Un(),Vc)&&(r=!0,e?P=u(dr(new rr(sr(ua(k).a.Kc(),new z))),18).c.i:P=u(dr(new rr(sr(_s(k).a.Kc(),new z))),18).d.i,P==A&&(e?n=u(dr(new rr(sr(_s(k).a.Kc(),new z))),18).d.i:n=u(dr(new rr(sr(ua(k).a.Kc(),new z))),18).c.i,(e?u(Sy(t.a,n),17).a-u(Sy(t.a,P),17).a:u(Sy(t.a,P),17).a-u(Sy(t.a,n),17).a)<=2&&(Tt=!1)));if(r&&Tt&&(e?n=u(dr(new rr(sr(_s(A).a.Kc(),new z))),18).d.i:n=u(dr(new rr(sr(ua(A).a.Kc(),new z))),18).c.i,(e?u(Sy(t.a,n),17).a-u(Sy(t.a,A),17).a:u(Sy(t.a,A),17).a-u(Sy(t.a,n),17).a)<=2&&n.k==(Un(),xs)&&(Tt=!1)),h||Tt){for(J=Ide(t,A,e);J.a.gc()!=0;)U=u(J.a.ec().Kc().Pb(),10),J.a.Bc(U)!=null,Ma(J,Ide(t,U,e));--$,Bt=!0}}}while(Bt)}function MSn(t){zr(t.c,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#decimal"])),zr(t.d,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#integer"])),zr(t.e,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#boolean"])),zr(t.f,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EBoolean",pi,"EBoolean:Object"])),zr(t.i,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#byte"])),zr(t.g,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#hexBinary"])),zr(t.j,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EByte",pi,"EByte:Object"])),zr(t.n,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EChar",pi,"EChar:Object"])),zr(t.t,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#double"])),zr(t.u,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EDouble",pi,"EDouble:Object"])),zr(t.F,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#float"])),zr(t.G,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EFloat",pi,"EFloat:Object"])),zr(t.I,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#int"])),zr(t.J,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EInt",pi,"EInt:Object"])),zr(t.N,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#long"])),zr(t.O,ti,lt(ut(Pe,1),ue,2,6,[Ka,"ELong",pi,"ELong:Object"])),zr(t.Z,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#short"])),zr(t.$,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EShort",pi,"EShort:Object"])),zr(t._,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#string"]))}function ISn(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U;return P=u(r.a,17).a,$=u(r.b,17).a,A=t.b,U=t.c,d=0,T=0,e==(Rs(),Uo)||e==tc?(T=KM(Vue(Ny(Wo(new ln(null,new gn(n.b,16)),new ltt),new YZ))),A.e.b+A.f.b/2>T?(k=++$,d=Rt(Ht(Vl(My(Wo(new ln(null,new gn(n.b,16)),new BXt(s,k)),new DR))))):(m=++P,d=Rt(Ht(Vl(G6(Wo(new ln(null,new gn(n.b,16)),new RXt(s,m)),new XZ)))))):(T=KM(Vue(Ny(Wo(new ln(null,new gn(n.b,16)),new ZZ),new LR))),A.e.a+A.f.a/2>T?(k=++$,d=Rt(Ht(Vl(My(Wo(new ln(null,new gn(n.b,16)),new PXt(s,k)),new QZ))))):(m=++P,d=Rt(Ht(Vl(G6(Wo(new ln(null,new gn(n.b,16)),new FXt(s,m)),new QD)))))),e==Uo?(ro(t.a,new ae(Rt(Ht(X(A,(ji(),P1))))-s,d)),ro(t.a,new ae(U.e.a+U.f.a+s+o,d)),ro(t.a,new ae(U.e.a+U.f.a+s+o,U.e.b+U.f.b/2)),ro(t.a,new ae(U.e.a+U.f.a,U.e.b+U.f.b/2))):e==tc?(ro(t.a,new ae(Rt(Ht(X(A,(ji(),Xf))))+s,A.e.b+A.f.b/2)),ro(t.a,new ae(A.e.a+A.f.a+s,d)),ro(t.a,new ae(U.e.a-s-o,d)),ro(t.a,new ae(U.e.a-s-o,U.e.b+U.f.b/2)),ro(t.a,new ae(U.e.a,U.e.b+U.f.b/2))):e==Gh?(ro(t.a,new ae(d,Rt(Ht(X(A,(ji(),P1))))-s)),ro(t.a,new ae(d,U.e.b+U.f.b+s+o)),ro(t.a,new ae(U.e.a+U.f.a/2,U.e.b+U.f.b+s+o)),ro(t.a,new ae(U.e.a+U.f.a/2,U.e.b+U.f.b+s))):(t.a.b==0||(u(Pf(t.a),8).b=Rt(Ht(X(A,(ji(),Xf))))+s*u(h.b,17).a),ro(t.a,new ae(d,Rt(Ht(X(A,(ji(),Xf))))+s*u(h.b,17).a)),ro(t.a,new ae(d,U.e.b-s*u(h.a,17).a-o))),new Ws(he(P),he($))}function OSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(h=!0,A=null,r=null,s=null,e=!1,$=pTe,k=null,o=null,d=0,m=eot(t,d,BIt,RIt),m<t.length&&(qn(m,t.length),t.charCodeAt(m)==58)&&(A=(Da(d,m,t.length),t.substr(d,m-d)),d=m+1),n=A!=null&&BM(WK,A.toLowerCase()),n){if(m=t.lastIndexOf("!/"),m==-1)throw at(new zn("no archive separator"));h=!0,r=Lh(t,d,++m),d=m}else d>=0&&hn(t.substr(d,2),"//")?(d+=2,m=eot(t,d,CL,SL),r=(Da(d,m,t.length),t.substr(d,m-d)),d=m):A!=null&&(d==t.length||(qn(d,t.length),t.charCodeAt(d)!=47))&&(h=!1,m=qmt(t,Hu(35),d),m==-1&&(m=t.length),r=(Da(d,m,t.length),t.substr(d,m-d)),d=m);if(!n&&d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(m=eot(t,d+1,CL,SL),T=(Da(d+1,m,t.length),t.substr(d+1,m-(d+1))),T.length>0&&Va(T,T.length-1)==58&&(s=T,d=m)),d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(++d,e=!0),d<t.length&&(qn(d,t.length),t.charCodeAt(d)!=63)&&(qn(d,t.length),t.charCodeAt(d)!=35)){for(P=new fe;d<t.length&&(qn(d,t.length),t.charCodeAt(d)!=63)&&(qn(d,t.length),t.charCodeAt(d)!=35);)m=eot(t,d,CL,SL),ge(P,(Da(d,m,t.length),t.substr(d,m-d))),d=m,d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(Obn(t,++d)||P.c.push(""));$=Vt(Pe,ue,2,P.c.length,6,1),ld(P,$)}return d<t.length&&(qn(d,t.length),t.charCodeAt(d)==63)&&(m=TE(t,35,++d),m==-1&&(m=t.length),k=(Da(d,m,t.length),t.substr(d,m-d)),d=m),d<t.length&&(o=Iyt(t,++d)),h9n(h,A,r,s,$,k),new nct(h,A,r,s,e,$,k,o)}function nbe(){nbe=V,Ict(),oi=new Fm,dn(oi,(ve(),e1),Cd),dn(oi,wf,Cd),dn(oi,yl,Cd),dn(oi,n1,Cd),dn(oi,Ku,Cd),dn(oi,xl,Cd),dn(oi,n1,e1),dn(oi,Cd,Kh),dn(oi,e1,Kh),dn(oi,wf,Kh),dn(oi,yl,Kh),dn(oi,Gu,Kh),dn(oi,n1,Kh),dn(oi,Ku,Kh),dn(oi,xl,Kh),dn(oi,Ou,Kh),dn(oi,Cd,wh),dn(oi,e1,wh),dn(oi,Kh,wh),dn(oi,wf,wh),dn(oi,yl,wh),dn(oi,Gu,wh),dn(oi,n1,wh),dn(oi,Ou,wh),dn(oi,mh,wh),dn(oi,Ku,wh),dn(oi,cl,wh),dn(oi,xl,wh),dn(oi,e1,wf),dn(oi,yl,wf),dn(oi,n1,wf),dn(oi,xl,wf),dn(oi,e1,yl),dn(oi,wf,yl),dn(oi,n1,yl),dn(oi,yl,yl),dn(oi,Ku,yl),dn(oi,Cd,Wh),dn(oi,e1,Wh),dn(oi,Kh,Wh),dn(oi,wh,Wh),dn(oi,wf,Wh),dn(oi,yl,Wh),dn(oi,Gu,Wh),dn(oi,n1,Wh),dn(oi,mh,Wh),dn(oi,Ou,Wh),dn(oi,xl,Wh),dn(oi,Ku,Wh),dn(oi,fu,Wh),dn(oi,Cd,mh),dn(oi,e1,mh),dn(oi,Kh,mh),dn(oi,wf,mh),dn(oi,yl,mh),dn(oi,Gu,mh),dn(oi,n1,mh),dn(oi,Ou,mh),dn(oi,xl,mh),dn(oi,cl,mh),dn(oi,fu,mh),dn(oi,e1,Ou),dn(oi,wf,Ou),dn(oi,yl,Ou),dn(oi,n1,Ou),dn(oi,mh,Ou),dn(oi,xl,Ou),dn(oi,Ku,Ou),dn(oi,Cd,Uu),dn(oi,e1,Uu),dn(oi,Kh,Uu),dn(oi,wf,Uu),dn(oi,yl,Uu),dn(oi,Gu,Uu),dn(oi,n1,Uu),dn(oi,Ou,Uu),dn(oi,xl,Uu),dn(oi,e1,Ku),dn(oi,Kh,Ku),dn(oi,wh,Ku),dn(oi,yl,Ku),dn(oi,Cd,cl),dn(oi,e1,cl),dn(oi,wh,cl),dn(oi,wf,cl),dn(oi,yl,cl),dn(oi,Gu,cl),dn(oi,n1,cl),dn(oi,n1,fu),dn(oi,yl,fu),dn(oi,Ou,Cd),dn(oi,Ou,wf),dn(oi,Ou,Kh),dn(oi,Gu,Cd),dn(oi,Gu,e1),dn(oi,Gu,wh)}function NSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;switch(n.Ug("Brandes & Koepf node placement",1),t.a=e,t.c=b7n(e),r=u(X(e,(De(),o1t)),281),$=Ie(Me(X(e,BA))),t.d=r==(AO(),TG)&&!$||r==Rft,a9n(t,e),Wt=null,se=null,ht=null,Tt=null,tt=(oh(4,c3),new wu(4)),u(X(e,o1t),281).g){case 3:ht=new m5(e,t.c.d,(nd(),Fw),(Gd(),Gp)),In(tt.c,ht);break;case 1:Tt=new m5(e,t.c.d,(nd(),yd),(Gd(),Gp)),In(tt.c,Tt);break;case 4:Wt=new m5(e,t.c.d,(nd(),Fw),(Gd(),Dv)),In(tt.c,Wt);break;case 2:se=new m5(e,t.c.d,(nd(),yd),(Gd(),Dv)),In(tt.c,se);break;default:ht=new m5(e,t.c.d,(nd(),Fw),(Gd(),Gp)),Tt=new m5(e,t.c.d,yd,Gp),Wt=new m5(e,t.c.d,Fw,Dv),se=new m5(e,t.c.d,yd,Dv),In(tt.c,Wt),In(tt.c,se),In(tt.c,ht),In(tt.c,Tt)}for(s=new CXt(e,t.c),d=new G(tt);d.a<d.c.c.length;)o=u(et(d),185),YCn(s,o,t.b),G7n(o);for(P=new Fhe(e,t.c),m=new G(tt);m.a<m.c.c.length;)o=u(et(m),185),m9n(P,o);if(n._g())for(k=new G(tt);k.a<k.c.c.length;)o=u(et(k),185),n.bh(o+" size is "+Xot(o));if(A=null,t.d&&(T=$Cn(t,tt,t.c.d),Dge(e,T,n)&&(A=T)),!A)for(k=new G(tt);k.a<k.c.c.length;)o=u(et(k),185),Dge(e,o,n)&&(!A||Xot(A)>Xot(o))&&(A=o);for(!A&&(A=(vn(0,tt.c.length),u(tt.c[0],185))),J=new G(e.b);J.a<J.c.c.length;)for(U=u(et(J),30),Bt=new G(U.a);Bt.a<Bt.c.c.length;)At=u(et(Bt),10),At.n.b=Rt(A.p[At.p])+Rt(A.d[At.p]);for(n._g()&&(n.bh("Chosen node placement: "+A),n.bh("Blocks: "+G1e(A)),n.bh("Classes: "+Dxn(A,n)),n.bh("Marked edges: "+t.b)),h=new G(tt);h.a<h.c.c.length;)o=u(et(h),185),o.g=null,o.b=null,o.a=null,o.d=null,o.j=null,o.i=null,o.p=null;U1n(t.c),t.b.a.$b(),n.Vg()}function PSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(t.c.length==1)return Zhe((vn(0,t.c.length),u(t.c[0],121))),vn(0,t.c.length),u(t.c[0],121);if(t.c.length<=0)return new FI;for(m=new G(t);m.a<m.c.c.length;){for(h=u(et(m),121),Tt=0,U=xi,J=xi,P=Ga,$=Ga,ht=Dr(h.b,0);ht.b!=ht.d.c;)tt=u(Ar(ht),39),Tt+=u(X(tt,(Cc(),uK)),17).a,U=b.Math.min(U,tt.e.a),J=b.Math.min(J,tt.e.b),P=b.Math.max(P,tt.e.a+tt.f.a),$=b.Math.max($,tt.e.b+tt.f.b);Zt(h,(Cc(),uK),he(Tt)),Zt(h,(ji(),zT),new ae(U,J)),Zt(h,gP,new ae(P,$))}for(mn(),Ds(t,new LZ),Wt=new FI,Qo(Wt,(vn(0,t.c.length),u(t.c[0],96))),A=0,On=0,k=new G(t);k.a<k.c.c.length;)h=u(et(k),121),se=ia(Oa(u(X(h,(ji(),gP)),8)),u(X(h,zT),8)),A=b.Math.max(A,se.a),On+=se.a*se.b;for(A=b.Math.max(A,b.Math.sqrt(On)*Rt(Ht(X(Wt,(Cc(),e8e))))),Ce=Rt(Ht(X(Wt,H1t))),Dn=0,er=0,T=0,e=Ce,d=new G(t);d.a<d.c.c.length;)h=u(et(d),121),se=ia(Oa(u(X(h,(ji(),gP)),8)),u(X(h,zT),8)),Dn+se.a>A&&(Dn=0,er+=T+Ce,T=0),U0e(Wt,h,Dn,er),e=b.Math.max(e,Dn+se.a),T=b.Math.max(T,se.b),Dn+=se.a+Ce;for(Bt=new _r,n=new _r,Ze=new G(t);Ze.a<Ze.c.c.length;)for(rn=u(et(Ze),121),r=Ie(Me(X(rn,(ai(),SP)))),At=rn.q?rn.q:q0,o=At.vc().Kc();o.Ob();)s=u(o.Pb(),44),Tu(Bt,s.ld())?$t(u(s.ld(),149).Sg())!==$t(s.md())&&(r&&Tu(n,s.ld())?(pg(),""+u(s.ld(),149).Pg()):(hi(Bt,u(s.ld(),149),s.md()),Zt(Wt,u(s.ld(),149),s.md()),r&&hi(n,u(s.ld(),149),s.md()))):(hi(Bt,u(s.ld(),149),s.md()),Zt(Wt,u(s.ld(),149),s.md()));return Zhe(Wt),Wt}function vV(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new Ene(t.b,t.a,e,t.c);case 1:return new az(t.a,e,ns(e.Dh(),t.c));case 43:return new pJt(t.a,e,ns(e.Dh(),t.c));case 3:return new Ps(t.a,e,ns(e.Dh(),t.c));case 45:return new Ju(t.a,e,ns(e.Dh(),t.c));case 41:return new nl(u(of(t.c),29),t.a,e,ns(e.Dh(),t.c));case 50:return new Boe(u(of(t.c),29),t.a,e,ns(e.Dh(),t.c));case 5:return new vvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 47:return new AZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 7:return new Jt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 49:return new z6(t.a,e,ns(e.Dh(),t.c),t.d.n);case 9:return new gJt(t.a,e,ns(e.Dh(),t.c));case 11:return new dJt(t.a,e,ns(e.Dh(),t.c));case 13:return new Omt(t.a,e,ns(e.Dh(),t.c));case 15:return new kz(t.a,e,ns(e.Dh(),t.c));case 17:return new bJt(t.a,e,ns(e.Dh(),t.c));case 19:return new G4(t.a,e,ns(e.Dh(),t.c));case 21:return new Nmt(t.a,e,ns(e.Dh(),t.c));case 23:return new mI(t.a,e,ns(e.Dh(),t.c));case 25:return new MZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 27:return new kn(t.a,e,ns(e.Dh(),t.c),t.d.n);case 29:return new DZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 31:return new LZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 33:return new xvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 35:return new yvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 37:return new git(t.a,e,ns(e.Dh(),t.c),t.d.n);case 39:return new jz(t.a,e,ns(e.Dh(),t.c),t.d.n);case 40:return new ps(e,ns(e.Dh(),t.c));default:throw at(new uc("Unknown feature style: "+t.e))}}function rbe(t){var e,n,r,s,o,h,d,m;for(o=0,s=t.a.b,m=Dr(t.a,0);m.b!=m.d.c;){if(d=u(Ar(m),240),h=(o+1)/(s+1),!t.c&&!t.d)return;t.c&&!t.d?(t.g=!0,t.b==(Rs(),Uo)?(r=t.c.e.b+t.c.f.b+t.e*(o+1),e=new ae(Rt(Ht(X(t.c,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.c,P1)))-t.e,r)):t.b==tc?(r=t.c.e.b+t.c.f.b+t.e*(o+1),e=new ae(Rt(Ht(X(t.c,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.c,Xf)))+t.e,r)):t.b==Gh?(r=t.c.e.a+t.c.f.a+t.e*(o+1),e=new ae(r,Rt(Ht(X(t.c,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.c,P1)))-t.e)):(r=t.c.e.a+t.c.f.a+t.e*(o+1),e=new ae(r,Rt(Ht(X(t.c,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.c,Xf)))+t.e))):t.c&&t.d?t.b==(Rs(),Uo)?(r=t.d.e.b*h+(t.c.e.b+t.c.f.b)*(1-h),e=new ae(Rt(Ht(X(t.c,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.c,P1)))-t.e,r)):t.b==tc?(r=t.d.e.b*h+(t.c.e.b+t.c.f.b)*(1-h),e=new ae(Rt(Ht(X(t.c,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.c,Xf)))+t.e,r)):t.b==Gh?(r=t.d.e.a*h+(t.c.e.a+t.c.f.a)*(1-h),e=new ae(r,Rt(Ht(X(t.c,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.c,P1)))-t.e)):(r=t.d.e.a*h+(t.c.e.a+t.c.f.a)*(1-h),e=new ae(r,Rt(Ht(X(t.c,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.c,Xf)))+t.e)):(t.f=!0,t.b==(Rs(),Uo)?(r=t.d.e.b-t.e*(o+1),e=new ae(Rt(Ht(X(t.d,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.d,P1)))-t.e,r)):t.b==tc?(r=t.d.e.b-t.e*(o+1),e=new ae(Rt(Ht(X(t.d,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.d,Xf)))+t.e,r)):t.b==Gh?(r=t.d.e.a-t.e*(o+1),e=new ae(r,Rt(Ht(X(t.d,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.d,P1)))-t.e)):(r=t.d.e.a-t.e*(o+1),e=new ae(r,Rt(Ht(X(t.d,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.d,Xf)))+t.e))),u(d.a,8).a=e.a,u(d.a,8).b=e.b,d.b.a=n.a,d.b.b=n.b,++o}}function FSn(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht;switch(e){case 71:d=r.q.getFullYear()-Wb>=-1900?1:0,n>=4?ni(t,lt(ut(Pe,1),ue,2,6,[mbe,vbe])[d]):ni(t,lt(ut(Pe,1),ue,2,6,["BC","AD"])[d]);break;case 121:Zwn(t,n,r);break;case 77:mEn(t,n,r);break;case 107:m=s.q.getHours(),m==0?M0(t,24,n):M0(t,m,n);break;case 83:M6n(t,n,s);break;case 69:T=r.q.getDay(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["S","M","T","W","T","F","S"])[T]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut])[T]):ni(t,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?ni(t,lt(ut(Pe,1),ue,2,6,["AM","PM"])[1]):ni(t,lt(ut(Pe,1),ue,2,6,["AM","PM"])[0]);break;case 104:A=s.q.getHours()%12,A==0?M0(t,12,n):M0(t,A,n);break;case 75:P=s.q.getHours()%12,M0(t,P,n);break;case 72:$=s.q.getHours(),M0(t,$,n);break;case 99:U=r.q.getDay(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["S","M","T","W","T","F","S"])[U]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut])[U]):n==3?ni(t,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[U]):M0(t,U,1);break;case 76:J=r.q.getMonth(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[J]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct])[J]):n==3?ni(t,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[J]):M0(t,J+1,n);break;case 81:tt=r.q.getMonth()/3|0,n<4?ni(t,lt(ut(Pe,1),ue,2,6,["Q1","Q2","Q3","Q4"])[tt]):ni(t,lt(ut(Pe,1),ue,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[tt]);break;case 100:ht=r.q.getDate(),M0(t,ht,n);break;case 109:k=s.q.getMinutes(),M0(t,k,n);break;case 115:h=s.q.getSeconds(),M0(t,h,n);break;case 122:n<4?ni(t,o.c[0]):ni(t,o.c[1]);break;case 118:ni(t,o.b);break;case 90:n<3?ni(t,T5n(o)):n==3?ni(t,L5n(o)):ni(t,D5n(o.a));break;default:return!1}return!0}function a8t(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;if(N0e(e),m=u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84),T=u(Dt((!e.c&&(e.c=new kn(vr,e,5,8)),e.c),0),84),d=Jo(m),k=Jo(T),h=(!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a).i==0?null:u(Dt((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a),0),166),Ce=u(tr(t.a,d),10),Dn=u(tr(t.a,k),10),rn=null,er=null,Lt(m,193)&&(se=u(tr(t.a,m),304),Lt(se,12)?rn=u(se,12):Lt(se,10)&&(Ce=u(se,10),rn=u(Oe(Ce.j,0),12))),Lt(T,193)&&(On=u(tr(t.a,T),304),Lt(On,12)?er=u(On,12):Lt(On,10)&&(Dn=u(On,10),er=u(Oe(Dn.j,0),12))),!Ce||!Dn)throw at(new L6("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(J=new Pm,Qo(J,e),Zt(J,(oe(),Li),e),Zt(J,(De(),Vo),null),$=u(X(r,lu),21),Ce==Dn&&$.Fc((Co(),DA)),rn||(Wt=(To(),ku),Ze=null,h&&z4(u(X(Ce,bs),101))&&(Ze=new ae(h.j,h.k),Eie(Ze,AI(e)),Qie(Ze,n),qy(k,d)&&(Wt=vl,ki(Ze,Ce.n))),rn=Pge(Ce,Ze,Wt,r)),er||(Wt=(To(),vl),Jr=null,h&&z4(u(X(Dn,bs),101))&&(Jr=new ae(h.b,h.c),Eie(Jr,AI(e)),Qie(Jr,n)),er=Pge(Dn,Jr,Wt,Pa(Dn))),Xa(J,rn),xa(J,er),(rn.e.c.length>1||rn.g.c.length>1||er.e.c.length>1||er.g.c.length>1)&&$.Fc((Co(),LA)),P=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));P.e!=P.i.gc();)if(A=u(ar(P),135),!Ie(Me(ne(A,Nw)))&&A.a)switch(tt=Pat(A),ge(J.b,tt),u(X(tt,l0),278).g){case 1:case 2:$.Fc((Co(),LT));break;case 0:$.Fc((Co(),AT)),Zt(tt,l0,(cd(),GT))}if(o=u(X(r,FA),322),ht=u(X(r,UG),323),s=o==(QS(),QN)||ht==(w_(),y1t),h&&(!h.a&&(h.a=new Ps(vh,h,5)),h.a).i!=0&&s){for(Tt=MO(h),U=new Qu,Bt=Dr(Tt,0);Bt.b!=Bt.d.c;)At=u(Ar(Bt),8),Zr(U,new io(At));Zt(J,t_t,U)}return J}function BSn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(Ze=0,On=0,Ce=new _r,Wt=u(Vl(My(Wo(new ln(null,new gn(t.b,16)),new JZ),new stt)),17).a+1,rn=Vt(Fr,ii,28,Wt,15,1),tt=Vt(Fr,ii,28,Wt,15,1),J=0;J<Wt;J++)rn[J]=0,tt[J]=0;for(m=u(nc(r3t(new ln(null,new gn(t.a,16))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),T=m.Kc();T.Ob();)if(k=u(T.Pb(),65),er=u(X(k.b,(Cc(),h0)),17).a,is=u(X(k.c,h0),17).a,Bt=is-er,Bt>1)for(d=er+1;d<is;d++){if(A=d,se=u(nc(_i(new ln(null,new gn(t.b,16)),new tGt(A)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),U=0,e==(Rs(),Uo)||e==tc){for(se.jd(new rtt),U=0;U<se.gc()&&(ht=(d-er)/(is-er),!(u(se.Xb(U),39).e.b>k.b.e.b*(1-ht)+k.c.e.b*ht));U++);if(se.gc()>0&&(Jr=k.a.b==0?Oa(k.b.e):u(Pf(k.a),8),At=ki(Oa(u(se.Xb(se.gc()-1),39).e),u(se.Xb(se.gc()-1),39).f),P=ki(Oa(u(se.Xb(0),39).e),u(se.Xb(0),39).f),U>=se.gc()-1&&Jr.b>At.b&&k.c.e.b>At.b||U<=0&&Jr.b<P.a&&k.c.e.b<P.b))continue}else{for(se.jd(new itt),U=0;U<se.gc()&&(ht=(d-er)/(is-er),!(u(se.Xb(U),39).e.a>k.b.e.a*(1-ht)+k.c.e.a*ht));U++);if(se.gc()>0&&(Jr=k.a.b==0?Oa(k.b.e):u(Pf(k.a),8),At=ki(Oa(u(se.Xb(se.gc()-1),39).e),u(se.Xb(se.gc()-1),39).f),P=ki(Oa(u(se.Xb(0),39).e),u(se.Xb(0),39).f),U>=se.gc()-1&&Jr.a>At.a&&k.c.e.a>At.a||U<=0&&Jr.a<P.a&&k.c.e.a<P.a))continue}s=new Sa,o=new Sa,Zr(k.a,s),Zr(k.a,o),h=new xit(s,o,k),Tt=T1(Rf(d,32),sa(U,So)),Tu(Ce,Mg(Tt))?($=u(tr(Ce,Mg(Tt)),675),Zr($.a,h),bg($.b)?rw($.a,new htt):rw($.a,new ftt),rbe($)):($=new bhe(U==0?null:u(se.Xb(U-1),39),U==se.gc()?null:u(se.Xb(U),39),h,t),hi(Ce,Mg(Tt),$)),e==Uo||e==tc?($.f&&$.d.e.b<=Rt(Ht(X(t,(ji(),j1t))))&&++Ze,$.g&&$.c.e.b+$.c.f.b>=Rt(Ht(X(t,(ji(),bLt))))&&++On):($.f&&$.d.e.a<=Rt(Ht(X(t,(ji(),R1t))))&&++Ze,$.g&&$.c.e.a+$.c.f.a>=Rt(Ht(X(t,(ji(),pLt))))&&++On)}else Bt==0?A6t(k):Bt<0&&(++rn[er],++tt[is],Dn=ISn(k,e,t,new Ws(he(Ze),he(On)),n,r,new Ws(he(tt[is]),he(rn[er]))),Ze=u(Dn.a,17).a,On=u(Dn.b,17).a)}function RSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;if(r=e,m=n,t.b&&r.j==(ve(),Gn)&&m.j==(ve(),Gn)&&(Tt=r,r=m,m=Tt),Tu(t.a,r)){if(x1(u(tr(t.a,r),49),m))return 1}else hi(t.a,r,new Os);if(Tu(t.a,m)){if(x1(u(tr(t.a,m),49),r))return-1}else hi(t.a,m,new Os);if(Tu(t.d,r)){if(x1(u(tr(t.d,r),49),m))return-1}else hi(t.d,r,new Os);if(Tu(t.d,m)){if(x1(u(tr(t.a,m),49),r))return 1}else hi(t.d,m,new Os);if(r.j!=m.j)return ht=Sin(r.j,m.j),ht==-1?$h(t,m,r):$h(t,r,m),ht;if(r.e.c.length!=0&&m.e.c.length!=0){if(t.b&&(ht=mue(r,m),ht!=0))return ht==-1?$h(t,m,r):ht==1&&$h(t,r,m),ht;if(o=u(Oe(r.e,0),18).c.i,T=u(Oe(m.e,0),18).c.i,o==T)return s=u(X(u(Oe(r.e,0),18),(oe(),Pi)),17).a,k=u(X(u(Oe(m.e,0),18),Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0;for(U=t.c,J=0,tt=U.length;J<tt;++J){if($=U[J],$==o)return $h(t,r,m),1;if($==T)return $h(t,m,r),-1}}return r.g.c.length!=0&&m.g.c.length!=0?(d=u(X(r,(oe(),Kft)),10),P=u(X(m,Kft),10),t.e==(Wd(),E1t)&&d&&P&&qi(d,Pi)&&qi(P,Pi)?(s=u(X(d,Pi),17).a,k=u(X(P,Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0):t.b&&(ht=mue(r,m),ht!=0)?(ht==-1?$h(t,m,r):ht==1&&$h(t,r,m),ht):(h=0,A=0,qi(u(Oe(r.g,0),18),Pi)&&(h=u(X(u(Oe(r.g,0),18),Pi),17).a),qi(u(Oe(m.g,0),18),Pi)&&(A=u(X(u(Oe(r.g,0),18),Pi),17).a),d&&d==P?Ie(Me(X(u(Oe(r.g,0),18),vd)))&&!Ie(Me(X(u(Oe(m.g,0),18),vd)))?($h(t,r,m),1):!Ie(Me(X(u(Oe(r.g,0),18),vd)))&&Ie(Me(X(u(Oe(m.g,0),18),vd)))?($h(t,m,r),-1):(h>A?$h(t,r,m):$h(t,m,r),h<A?-1:h>A?1:0):(t.f&&(t.f._b(d)&&(h=u(t.f.xc(d),17).a),t.f._b(P)&&(A=u(t.f.xc(P),17).a)),h>A?$h(t,r,m):$h(t,m,r),h<A?-1:h>A?1:0))):r.e.c.length!=0&&m.g.c.length!=0?($h(t,r,m),1):r.g.c.length!=0&&m.e.c.length!=0?($h(t,m,r),-1):qi(r,(oe(),Pi))&&qi(m,Pi)?(s=u(X(r,Pi),17).a,k=u(X(m,Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0):($h(t,m,r),-1)}function jSn(t){t.gb||(t.gb=!0,t.b=Tc(t,0),fs(t.b,18),Vi(t.b,19),t.a=Tc(t,1),fs(t.a,1),Vi(t.a,2),Vi(t.a,3),Vi(t.a,4),Vi(t.a,5),t.o=Tc(t,2),fs(t.o,8),fs(t.o,9),Vi(t.o,10),Vi(t.o,11),Vi(t.o,12),Vi(t.o,13),Vi(t.o,14),Vi(t.o,15),Vi(t.o,16),Vi(t.o,17),Vi(t.o,18),Vi(t.o,19),Vi(t.o,20),Vi(t.o,21),Vi(t.o,22),Vi(t.o,23),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),t.p=Tc(t,3),fs(t.p,2),fs(t.p,3),fs(t.p,4),fs(t.p,5),Vi(t.p,6),Vi(t.p,7),zo(t.p),zo(t.p),t.q=Tc(t,4),fs(t.q,8),t.v=Tc(t,5),Vi(t.v,9),zo(t.v),zo(t.v),zo(t.v),t.w=Tc(t,6),fs(t.w,2),fs(t.w,3),fs(t.w,4),Vi(t.w,5),t.B=Tc(t,7),Vi(t.B,1),zo(t.B),zo(t.B),zo(t.B),t.Q=Tc(t,8),Vi(t.Q,0),zo(t.Q),t.R=Tc(t,9),fs(t.R,1),t.S=Tc(t,10),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),t.T=Tc(t,11),Vi(t.T,10),Vi(t.T,11),Vi(t.T,12),Vi(t.T,13),Vi(t.T,14),zo(t.T),zo(t.T),t.U=Tc(t,12),fs(t.U,2),fs(t.U,3),Vi(t.U,4),Vi(t.U,5),Vi(t.U,6),Vi(t.U,7),zo(t.U),t.V=Tc(t,13),Vi(t.V,10),t.W=Tc(t,14),fs(t.W,18),fs(t.W,19),fs(t.W,20),Vi(t.W,21),Vi(t.W,22),Vi(t.W,23),t.bb=Tc(t,15),fs(t.bb,10),fs(t.bb,11),fs(t.bb,12),fs(t.bb,13),fs(t.bb,14),fs(t.bb,15),fs(t.bb,16),Vi(t.bb,17),zo(t.bb),zo(t.bb),t.eb=Tc(t,16),fs(t.eb,2),fs(t.eb,3),fs(t.eb,4),fs(t.eb,5),fs(t.eb,6),fs(t.eb,7),Vi(t.eb,8),Vi(t.eb,9),t.ab=Tc(t,17),fs(t.ab,0),fs(t.ab,1),t.H=Tc(t,18),Vi(t.H,0),Vi(t.H,1),Vi(t.H,2),Vi(t.H,3),Vi(t.H,4),Vi(t.H,5),zo(t.H),t.db=Tc(t,19),Vi(t.db,2),t.c=di(t,20),t.d=di(t,21),t.e=di(t,22),t.f=di(t,23),t.i=di(t,24),t.g=di(t,25),t.j=di(t,26),t.k=di(t,27),t.n=di(t,28),t.r=di(t,29),t.s=di(t,30),t.t=di(t,31),t.u=di(t,32),t.fb=di(t,33),t.A=di(t,34),t.C=di(t,35),t.D=di(t,36),t.F=di(t,37),t.G=di(t,38),t.I=di(t,39),t.J=di(t,40),t.L=di(t,41),t.M=di(t,42),t.N=di(t,43),t.O=di(t,44),t.P=di(t,45),t.X=di(t,46),t.Y=di(t,47),t.Z=di(t,48),t.$=di(t,49),t._=di(t,50),t.cb=di(t,51),t.K=di(t,52))}function $Sn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;for(h=new Ki,se=u(X(n,(De(),ph)),88),J=0,Ma(h,(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));h.b!=0;)T=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),27),k=Ji(T),($t(ne(k,U0))!==$t((Wd(),Up))||$t(ne(k,Dw))===$t((Ip(),ST))||$t(ne(k,Dw))===$t((Ip(),CT))||Ie(Me(ne(k,Ev)))||$t(ne(k,_3))!==$t((lw(),x3))||$t(ne(k,a2))===$t((cf(),Lv))||$t(ne(k,a2))===$t((cf(),N3))||$t(ne(k,Iw))===$t((Bp(),RT))||$t(ne(k,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(T,BG)))&&Mi(T,(oe(),Pi),he(J++)),ht=!Ie(Me(ne(T,Nw))),ht&&(P=(!T.a&&(T.a=new Jt(bi,T,10,11)),T.a).i!=0,U=p3n(T),$=$t(ne(T,A3))===$t((Ag(),Xp)),er=!ad(T,(ai(),VT))||sse(Gr(ne(T,VT))),Bt=null,er&&$&&(P||U)&&(Bt=pge(T),Zt(Bt,ph,se),qi(Bt,sP)&&pWt(new V5t(Rt(Ht(X(Bt,sP)))),Bt),u(ne(T,Ow),181).gc()!=0&&(A=Bt,ms(new ln(null,(!T.c&&(T.c=new Jt(kl,T,9,9)),new gn(T.c,16))),new kVt(A)),o0e(T,Bt))),Ce=n,rn=u(tr(t.a,Ji(T)),10),rn&&(Ce=rn.e),At=qpe(t,T,Ce),Bt&&(At.e=Bt,Bt.e=At,Ma(h,(!T.a&&(T.a=new Jt(bi,T,10,11)),T.a))));for(J=0,hs(h,e,h.c.b,h.c);h.b!=0;){for(o=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),27),m=new Zn((!o.b&&(o.b=new Jt(Ts,o,12,3)),o.b));m.e!=m.i.gc();)d=u(ar(m),74),N0e(d),($t(ne(e,U0))!==$t((Wd(),Up))||$t(ne(e,Dw))===$t((Ip(),ST))||$t(ne(e,Dw))===$t((Ip(),CT))||Ie(Me(ne(e,Ev)))||$t(ne(e,_3))!==$t((lw(),x3))||$t(ne(e,a2))===$t((cf(),Lv))||$t(ne(e,a2))===$t((cf(),N3))||$t(ne(e,Iw))===$t((Bp(),RT))||$t(ne(e,Iw))===$t((Bp(),jT)))&&Mi(d,(oe(),Pi),he(J++)),On=Jo(u(Dt((!d.b&&(d.b=new kn(vr,d,4,7)),d.b),0),84)),Dn=Jo(u(Dt((!d.c&&(d.c=new kn(vr,d,5,8)),d.c),0),84)),!(Ie(Me(ne(d,Nw)))||Ie(Me(ne(On,Nw)))||Ie(Me(ne(Dn,Nw))))&&(tt=Zm(d)&&Ie(Me(ne(On,L3)))&&Ie(Me(ne(d,Mw))),Wt=o,tt||qy(Dn,On)?Wt=On:qy(On,Dn)&&(Wt=Dn),Ce=n,rn=u(tr(t.a,Wt),10),rn&&(Ce=rn.e),Tt=a8t(t,d,Wt,Ce),Zt(Tt,(oe(),XSt),$kn(t,d,e,n)));if($=$t(ne(o,A3))===$t((Ag(),Xp)),$)for(s=new Zn((!o.a&&(o.a=new Jt(bi,o,10,11)),o.a));s.e!=s.i.gc();)r=u(ar(s),27),er=!ad(r,(ai(),VT))||sse(Gr(ne(r,VT))),Ze=$t(ne(r,A3))===$t(Xp),er&&Ze&&hs(h,r,h.c.b,h.c)}}function oe(){oe=V;var t,e;Li=new Oi(G8t),XSt=new Oi("coordinateOrigin"),Yft=new Oi("processors"),YSt=new rs("compoundNode",(Pn(),!1)),eP=new rs("insideConnections",!1),t_t=new Oi("originalBendpoints"),e_t=new Oi("originalDummyNodePosition"),n_t=new Oi("originalLabelEdge"),IA=new Oi("representedLabels"),MA=new Oi("endLabels"),Vk=new Oi("endLabel.origin"),Gk=new rs("labelSide",(uh(),NP)),V5=new rs("maxEdgeThickness",0),vd=new rs("reversed",!1),Kk=new Oi(s2e),N1=new rs("longEdgeSource",null),gf=new rs("longEdgeTarget",null),C3=new rs("longEdgeHasLabelDummies",!1),nP=new rs("longEdgeBeforeLabelDummy",!1),DG=new rs("edgeConstraint",(ow(),Ift)),yv=new Oi("inLayerLayoutUnit"),Aw=new rs("inLayerConstraint",(Cg(),ZN)),Uk=new rs("inLayerSuccessorConstraint",new fe),ZSt=new rs("inLayerSuccessorConstraintBetweenNonDummies",!1),ml=new Oi("portDummy"),LG=new rs("crossingHint",he(0)),lu=new rs("graphProperties",(e=u(y1(jft),9),new _h(e,u(Ff(e,e.length),9),0))),Dc=new rs("externalPortSide",(ve(),bc)),JSt=new rs("externalPortSize",new Sa),Vft=new Oi("externalPortReplacedDummies"),MG=new Oi("externalPortReplacedDummy"),$g=new rs("externalPortConnections",(t=u(y1(bo),9),new _h(t,u(Ff(t,t.length),9),0))),xv=new rs(Xbe,0),WSt=new Oi("barycenterAssociates"),Wk=new Oi("TopSideComments"),Hk=new Oi("BottomSideComments"),AG=new Oi("CommentConnectionPort"),Gft=new rs("inputCollect",!1),Wft=new rs("outputCollect",!1),tP=new rs("cyclic",!1),QSt=new Oi("crossHierarchyMap"),Qft=new Oi("targetOffset"),new rs("splineLabelSize",new Sa),G5=new Oi("spacings"),IG=new rs("partitionConstraint",!1),vv=new Oi("breakingPoint.info"),s_t=new Oi("splines.survivingEdge"),Lw=new Oi("splines.route.start"),K5=new Oi("splines.edgeChain"),i_t=new Oi("originalPortConstraints"),kv=new Oi("selfLoopHolder"),MT=new Oi("splines.nsPortY"),Pi=new Oi("modelOrder"),Kft=new Oi("longEdgeTargetNode"),i2=new rs(M2e,!1),U5=new rs(M2e,!1),Uft=new Oi("layerConstraints.hiddenNodes"),r_t=new Oi("layerConstraints.opposidePort"),Xft=new Oi("targetNode.modelOrder")}function zSn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(A=Dr(t.b,0);A.b!=A.d.c;)if(T=u(Ar(A),39),!hn(T.c,nU))for(o=u(nc(new ln(null,new gn(X5n(T,t),16)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),e==(Rs(),Uo)||e==tc?o.jd(new ntt):o.jd(new MR),U=o.gc(),s=0;s<U;s++)h=U==1?.5:(1+s)/(U+1),e==Uo?(k=Rt(Ht(X(T,(ji(),Xf)))),T.e.a+T.f.a+r<k?ro(u(o.Xb(s),65).a,new ae(k+n,T.e.b+T.f.b*h)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(m-$)/(b.Math.abs(d-P)/40)>50&&($>m?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a+r/5.3,T.e.b+T.f.b*h-r/2)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a+r/5.3,T.e.b+T.f.b*h+r/2)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a,T.e.b+T.f.b*h))):e==tc?(k=Rt(Ht(X(T,(ji(),P1)))),T.e.a-r>k?ro(u(o.Xb(s),65).a,new ae(k-n,T.e.b+T.f.b*h)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(m-$)/(b.Math.abs(d-P)/40)>50&&($>m?ro(u(o.Xb(s),65).a,new ae(T.e.a-r/5.3,T.e.b+T.f.b*h-r/2)):ro(u(o.Xb(s),65).a,new ae(T.e.a-r/5.3,T.e.b+T.f.b*h+r/2)))),ro(u(o.Xb(s),65).a,new ae(T.e.a,T.e.b+T.f.b*h))):e==Gh?(k=Rt(Ht(X(T,(ji(),Xf)))),T.e.b+T.f.b+r<k?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,k+n)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(d-P)/(b.Math.abs(m-$)/40)>50&&(P>d?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h-r/2,T.e.b+r/5.3+T.f.b)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h+r/2,T.e.b+r/5.3+T.f.b)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,T.e.b+T.f.b))):(k=Rt(Ht(X(T,(ji(),P1)))),iue(u(o.Xb(s),65),t)?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,u(Pf(u(o.Xb(s),65).a),8).b)):T.e.b-r>k?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,k-n)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(d-P)/(b.Math.abs(m-$)/40)>50&&(P>d?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h-r/2,T.e.b-r/5.3)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h+r/2,T.e.b-r/5.3)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,T.e.b)))}function ai(){ai=V;var t,e;VT=new Oi(bwe),fx=new Oi(wwe),dMt=(I0(),_dt),c7e=new un(t7t,dMt),sx=new un(Dk,null),u7e=new Oi(dTt),pMt=(fw(),Hi(Ddt,lt(ut(Mdt,1),te,297,0,[Ldt]))),CP=new un(QV,pMt),SP=new un(TN,(Pn(),!1)),bMt=(Rs(),Ed),Rw=new un(blt,bMt),vMt=(Lg(),Vdt),mMt=new un(EN,vMt),f7e=new un(hTt,!1),kMt=(Ag(),IK),cx=new un(XV,kMt),MMt=new xm(12),Yp=new un(ov,MMt),AP=new un(Y_,!1),Pdt=new un(ZV,!1),LP=new un(X_,!1),FMt=(ka(),d2),fL=new un(Fut,FMt),Jk=new Oi(JV),DP=new Oi(gN),qdt=new Oi(IV),Hdt=new Oi(W_),EMt=new Qu,Iv=new un(h7t,EMt),h7e=new un(g7t,!1),d7e=new un(p7t,!1),TMt=new HC,UT=new un(w7t,TMt),AK=new un(JEt,!1),w7e=new un(mwe,1),ox=new Oi(vwe),ax=new Oi(ywe),dL=new un(pN,!1),new un(xwe,!0),he(0),new un(kwe,he(100)),new un(Ewe,!1),he(0),new un(Twe,he(4e3)),he(0),new un(Cwe,he(400)),new un(Swe,!1),new un(_we,!1),new un(Awe,!0),new un(Lwe,!1),gMt=(pH(),Wdt),l7e=new un(fTt,gMt),m7e=new un(zEt,10),v7e=new un(qEt,10),$Mt=new un(Lut,20),y7e=new un(HEt,10),zMt=new un(Put,2),qMt=new un(plt,10),HMt=new un(VEt,0),LK=new un(KEt,5),VMt=new un(UEt,1),UMt=new un(GEt,1),$w=new un(h3,20),x7e=new un(WEt,10),WMt=new un(YEt,10),Zk=new Oi(XEt),KMt=new PQt,GMt=new un(m7t,KMt),p7e=new Oi(mlt),IMt=!1,g7e=new un(wlt,IMt),SMt=new xm(5),CMt=new un(r7t,SMt),_Mt=(e3(),e=u(y1(Lo),9),new _h(e,u(Ff(e,e.length),9),0)),ux=new un(nT,_Mt),NMt=(o5(),f2),OMt=new un(a7t,NMt),Bdt=new Oi(o7t),Rdt=new Oi(c7t),jdt=new Oi(u7t),Fdt=new Oi(l7t),AMt=(t=u(y1(xL),9),new _h(t,u(Ff(t,t.length),9),0)),jw=new un(_5,AMt),DMt=en((Ml(),XT)),l2=new un(Mk,DMt),LMt=new ae(0,0),lx=new un(Ik,LMt),R3=new un(eT,!1),wMt=(cd(),GT),Odt=new un(f7t,wMt),Idt=new un(OV,!1),he(1),new un(Dwe,null),PMt=new Oi(b7t),$dt=new Oi(d7t),jMt=(ve(),bc),hx=new un(ZEt,jMt),Pl=new Oi(QEt),BMt=(wl(),en(g2)),j3=new un(rT,BMt),zdt=new un(i7t,!1),RMt=new un(s7t,!0),MK=new un(bN,1),YMt=new un(gTt,null),MP=new un(wN,150),DK=new un(mN,1.414),t8=new un(cv,null),k7e=new un(pTt,1),_P=new un(e7t,!1),Ndt=new un(n7t,!1),yMt=new un(Dut,1),xMt=(HH(),Gdt),new un(Mwe,xMt),b7e=!0,T7e=(lk(),q3),C7e=q3,E7e=q3}function Za(){Za=V,KCt=new Ns("DIRECTION_PREPROCESSOR",0),VCt=new Ns("COMMENT_PREPROCESSOR",1),B5=new Ns("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),gft=new Ns("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),fSt=new Ns("PARTITION_PREPROCESSOR",4),nG=new Ns("LABEL_DUMMY_INSERTER",5),fG=new Ns("SELF_LOOP_PREPROCESSOR",6),E3=new Ns("LAYER_CONSTRAINT_PREPROCESSOR",7),lSt=new Ns("PARTITION_MIDPROCESSOR",8),eSt=new Ns("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),cSt=new Ns("NODE_PROMOTION",10),k3=new Ns("LAYER_CONSTRAINT_POSTPROCESSOR",11),hSt=new Ns("PARTITION_POSTPROCESSOR",12),JCt=new Ns("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),dSt=new Ns("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),RCt=new Ns("BREAKING_POINT_INSERTER",15),aG=new Ns("LONG_EDGE_SPLITTER",16),pft=new Ns("PORT_SIDE_PROCESSOR",17),tG=new Ns("INVERTED_PORT_PROCESSOR",18),uG=new Ns("PORT_LIST_SORTER",19),pSt=new Ns("SORT_BY_INPUT_ORDER_OF_MODEL",20),cG=new Ns("NORTH_SOUTH_PORT_PREPROCESSOR",21),jCt=new Ns("BREAKING_POINT_PROCESSOR",22),uSt=new Ns(E2e,23),bSt=new Ns(T2e,24),lG=new Ns("SELF_LOOP_PORT_RESTORER",25),gSt=new Ns("SINGLE_EDGE_GRAPH_WRAPPER",26),eG=new Ns("IN_LAYER_CONSTRAINT_PROCESSOR",27),YCt=new Ns("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),aSt=new Ns("LABEL_AND_NODE_SIZE_PROCESSOR",29),sSt=new Ns("INNERMOST_NODE_MARGIN_CALCULATOR",30),dG=new Ns("SELF_LOOP_ROUTER",31),qCt=new Ns("COMMENT_NODE_MARGIN_CALCULATOR",32),ZU=new Ns("END_LABEL_PREPROCESSOR",33),iG=new Ns("LABEL_DUMMY_SWITCHER",34),zCt=new Ns("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),vT=new Ns("LABEL_SIDE_SELECTOR",36),rSt=new Ns("HYPEREDGE_DUMMY_MERGER",37),ZCt=new Ns("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),oSt=new Ns("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),CA=new Ns("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),UCt=new Ns("CONSTRAINTS_POSTPROCESSOR",41),HCt=new Ns("COMMENT_POSTPROCESSOR",42),iSt=new Ns("HYPERNODE_PROCESSOR",43),tSt=new Ns("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),sG=new Ns("LONG_EDGE_JOINER",45),hG=new Ns("SELF_LOOP_POSTPROCESSOR",46),$Ct=new Ns("BREAKING_POINT_REMOVER",47),oG=new Ns("NORTH_SOUTH_PORT_POSTPROCESSOR",48),nSt=new Ns("HORIZONTAL_COMPACTOR",49),rG=new Ns("LABEL_DUMMY_REMOVER",50),XCt=new Ns("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),WCt=new Ns("END_LABEL_SORTER",52),WN=new Ns("REVERSED_EDGE_RESTORER",53),JU=new Ns("END_LABEL_POSTPROCESSOR",54),QCt=new Ns("HIERARCHICAL_NODE_RESIZER",55),GCt=new Ns("DIRECTION_POSTPROCESSOR",56)}function o8t(){o8t=V,b_t=(YI(),xG),B5e=new un(nEt,b_t),Y5e=new un(rEt,(Pn(),!1)),k_t=(fq(),Hft),txe=new un(BV,k_t),pxe=new un(iEt,!1),bxe=new un(sEt,!0),u5e=new un(aEt,!1),D_t=(KI(),T1t),Mxe=new un(oEt,D_t),he(1),jxe=new un(cEt,he(7)),$xe=new un(uEt,!1),X5e=new un(lEt,!1),p_t=(Ip(),Dft),F5e=new un(Hut,p_t),C_t=(Bp(),b1t),gxe=new un(kN,C_t),E_t=(Rh(),rP),axe=new un(hEt,E_t),he(-1),sxe=new un(fEt,null),he(-1),oxe=new un(dEt,he(-1)),he(-1),cxe=new un(Vut,he(4)),he(-1),lxe=new un(Uut,he(2)),T_t=(cf(),ZG),dxe=new un(Gut,T_t),he(0),fxe=new un(Kut,he(0)),rxe=new un(Wut,he(xi)),g_t=(QS(),_A),P5e=new un(Z_,g_t),y5e=new un(gEt,!1),_5e=new un(Yut,.1),O5e=new un(Xut,!1),L5e=new un(pEt,null),D5e=new un(bEt,null),he(-1),M5e=new un(wEt,null),he(-1),I5e=new un(mEt,he(-1)),he(0),x5e=new un(vEt,he(40)),d_t=(c7(),zft),C5e=new un(Qut,d_t),f_t=JN,k5e=new un(RV,f_t),L_t=(w_(),zA),Dxe=new un(A5,L_t),xxe=new Oi(jV),S_t=(qI(),EG),wxe=new un(Jut,S_t),__t=(AO(),TG),vxe=new un(Zut,__t),Txe=new un(tlt,.3),Sxe=new Oi(elt),A_t=(Yy(),JG),_xe=new un(nlt,A_t),v_t=(tH(),S1t),q5e=new un(yEt,v_t),y_t=(i_(),A1t),H5e=new un(xEt,y_t),x_t=(b7(),VA),V5e=new un($V,x_t),G5e=new un(zV,.2),$5e=new un(rlt,2),Pxe=new un(kEt,null),Bxe=new un(EEt,10),Fxe=new un(TEt,10),Rxe=new un(CEt,20),he(0),Ixe=new un(SEt,he(0)),he(0),Oxe=new un(_Et,he(0)),he(0),Nxe=new un(AEt,he(0)),l5e=new un(ilt,!1),c_t=(M7(),AA),f5e=new un(LEt,c_t),o_t=(Eq(),Aft),h5e=new un(DEt,o_t),J5e=new un(qV,!1),he(0),Q5e=new un(slt,he(16)),he(0),Z5e=new un(alt,he(5)),O_t=(iH(),M1t),a6e=new un(Bg,O_t),zxe=new un(HV,10),Vxe=new un(VV,1),I_t=($q(),yG),Qxe=new un(tA,I_t),Kxe=new Oi(olt),M_t=he(1),he(0),Yxe=new un(clt,M_t),N_t=(jq(),D1t),l6e=new un(UV,N_t),o6e=new Oi(GV),n6e=new un(KV,!0),t6e=new un(WV,2),i6e=new un(ult,!0),m_t=(UH(),kG),j5e=new un(MEt,m_t),w_t=(wk(),ET),R5e=new un(IEt,w_t),h_t=(Wd(),Up),v5e=new un(YV,h_t),m5e=new un(OEt,!1),w5e=new un(NEt,!1),u_t=(lw(),x3),d5e=new un(llt,u_t),l_t=(o_(),w1t),b5e=new un(PEt,l_t),g5e=new un(hlt,0),p5e=new un(flt,0),nxe=Mft,exe=QN,uxe=XG,hxe=XG,ixe=p1t,A5e=(Ag(),Xp),N5e=_A,S5e=_A,E5e=_A,T5e=Xp,kxe=qA,Exe=zA,mxe=zA,yxe=zA,Cxe=x1t,Lxe=qA,Axe=qA,U5e=(Lg(),e8),K5e=e8,W5e=VA,z5e=IP,qxe=$T,Hxe=P3,Uxe=$T,Gxe=P3,Jxe=$T,Zxe=P3,Wxe=Lft,Xxe=yG,h6e=$T,f6e=P3,c6e=$T,u6e=P3,r6e=P3,e6e=P3,s6e=P3}function qSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1,Vw,o8,k2,c8,d0,J0,Bv,u8,vx,g0,Uw,Ug,f9e,mOt,Rv,NL,h0t,l8,PL,X3,FL,f0t,d9e;for(mOt=0,Jr=e,Go=0,rb=Jr.length;Go<rb;++Go)for(Dn=Jr[Go],J0=new G(Dn.j);J0.a<J0.c.c.length;){for(d0=u(et(J0),12),u8=0,d=new G(d0.g);d.a<d.c.c.length;)h=u(et(d),18),Dn.c!=h.d.i.c&&++u8;u8>0&&(t.a[d0.p]=mOt++)}for(PL=0,is=n,yh=0,r1=is.length;yh<r1;++yh){for(Dn=is[yh],i1=0,J0=new G(Dn.j);J0.a<J0.c.c.length&&(d0=u(et(J0),12),d0.j==(ve(),Hn));)for(d=new G(d0.e);d.a<d.c.c.length;)if(h=u(et(d),18),Dn.c!=h.c.i.c){++i1;break}for(o8=0,vx=new La(Dn.j,Dn.j.c.length);vx.b>0;){for(d0=(ur(vx.b>0),u(vx.a.Xb(vx.c=--vx.b),12)),u8=0,d=new G(d0.e);d.a<d.c.c.length;)h=u(et(d),18),Dn.c!=h.c.i.c&&++u8;u8>0&&(d0.j==(ve(),Hn)?(t.a[d0.p]=PL,++PL):(t.a[d0.p]=PL+i1+o8,++o8))}PL+=o8}for(Bv=new _r,U=new zd,er=e,El=0,mx=er.length;El<mx;++El)for(Dn=er[El],h0t=new G(Dn.j);h0t.a<h0t.c.c.length;)for(NL=u(et(h0t),12),d=new G(NL.g);d.a<d.c.c.length;)if(h=u(et(d),18),FL=h.d,Dn.c!=FL.i.c)if(Rv=u(Ko(Eo(Bv.f,NL)),477),X3=u(Ko(Eo(Bv.f,FL)),477),!Rv&&!X3)$=new TZt,U.a.zc($,U),ge($.a,h),ge($.d,NL),yu(Bv.f,NL,$),ge($.d,FL),yu(Bv.f,FL,$);else if(!Rv)ge(X3.a,h),ge(X3.d,NL),yu(Bv.f,NL,X3);else if(!X3)ge(Rv.a,h),ge(Rv.d,FL),yu(Bv.f,FL,Rv);else if(Rv==X3)ge(Rv.a,h);else{for(ge(Rv.a,h),c8=new G(X3.d);c8.a<c8.c.c.length;)k2=u(et(c8),12),yu(Bv.f,k2,Rv);Hs(Rv.a,X3.a),Hs(Rv.d,X3.d),U.a.Bc(X3)!=null}for(J=u(v_(U,Vt(f_n,{3:1,4:1,5:1,2045:1},477,U.a.gc(),0,1)),2045),On=e[0].c,f9e=n[0].c,T=J,A=0,P=T.length;A<P;++A)for(k=T[A],k.e=mOt,k.f=PL,J0=new G(k.d);J0.a<J0.c.c.length;)d0=u(et(J0),12),g0=t.a[d0.p],d0.i.c==On?(g0<k.e&&(k.e=g0),g0>k.b&&(k.b=g0)):d0.i.c==f9e&&(g0<k.f&&(k.f=g0),g0>k.c&&(k.c=g0));for(GE(J,0,J.length,null),l8=Vt(Fr,ii,28,J.length,15,1),r=Vt(Fr,ii,28,PL+1,15,1),ht=0;ht<J.length;ht++)l8[ht]=J[ht].f,r[l8[ht]]=1;for(o=0,Tt=0;Tt<r.length;Tt++)r[Tt]==1?r[Tt]=o:--o;for(Uw=0,At=0;At<l8.length;At++)l8[At]+=r[l8[At]],Uw=b.Math.max(Uw,l8[At]+1);for(m=1;m<Uw;)m*=2;for(d9e=2*m-1,m-=1,f0t=Vt(Fr,ii,28,d9e,15,1),s=0,rn=0;rn<l8.length;rn++)for(Ce=l8[rn]+m,++f0t[Ce];Ce>0;)Ce%2>0&&(s+=f0t[Ce+1]),Ce=(Ce-1)/2|0,++f0t[Ce];for(Ze=Vt(lke,Ln,374,J.length*2,0,1),Bt=0;Bt<J.length;Bt++)Ze[2*Bt]=new Yz(J[Bt],J[Bt].e,J[Bt].b,(US(),KA)),Ze[2*Bt+1]=new Yz(J[Bt],J[Bt].b,J[Bt].e,GA);for(GE(Ze,0,Ze.length,null),Vw=0,Wt=0;Wt<Ze.length;Wt++)switch(Ze[Wt].d.g){case 0:++Vw;break;case 1:--Vw,s+=Vw}for(Ug=Vt(lke,Ln,374,J.length*2,0,1),se=0;se<J.length;se++)Ug[2*se]=new Yz(J[se],J[se].f,J[se].c,(US(),KA)),Ug[2*se+1]=new Yz(J[se],J[se].c,J[se].f,GA);for(GE(Ug,0,Ug.length,null),Vw=0,tt=0;tt<Ug.length;tt++)switch(Ug[tt].d.g){case 0:++Vw;break;case 1:--Vw,s+=Vw}return s}function yi(){yi=V,OL=new um(7),lOt=new _0(8,94),new _0(8,64),hOt=new _0(8,36),r9e=new _0(8,65),i9e=new _0(8,122),s9e=new _0(8,90),o9e=new _0(8,98),n9e=new _0(8,66),a9e=new _0(8,60),c9e=new _0(8,62),uOt=new um(11),eW=new ih(4),iu(eW,48,57),t9=new ih(4),iu(t9,48,57),iu(t9,65,90),iu(t9,95,95),iu(t9,97,122),a8=new ih(4),iu(a8,9,9),iu(a8,10,10),iu(a8,12,12),iu(a8,13,13),iu(a8,32,32),fOt=i3(eW),gOt=i3(t9),dOt=i3(a8),ZT=new _r,IL=new _r,e9e=lt(ut(Pe,1),ue,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"]),oOt=lt(ut(Pe,1),ue,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",Lve,"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"]),cOt=lt(ut(Fr,1),ii,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function yV(){yV=V,Qye=new Nh("OUT_T_L",0,(pl(),c0),(qu(),Kf),(A1(),Ac),Ac,lt(ut(df,1),Ln,21,0,[Hi((e3(),Zf),lt(ut(Lo,1),te,95,0,[t1,Qf]))])),Xye=new Nh("OUT_T_C",1,e2,Kf,Ac,xu,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,qg])),Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,qg,pf]))])),Jye=new Nh("OUT_T_R",2,Gf,Kf,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,Jf]))])),qye=new Nh("OUT_B_L",3,c0,O1,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,Qf]))])),zye=new Nh("OUT_B_C",4,e2,O1,Lc,xu,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,qg])),Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,qg,pf]))])),Hye=new Nh("OUT_B_R",5,Gf,O1,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,Jf]))])),Gye=new Nh("OUT_L_T",6,Gf,O1,Ac,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,t1,pf]))])),Uye=new Nh("OUT_L_C",7,Gf,n2,xu,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,W0])),Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,W0,pf]))])),Vye=new Nh("OUT_L_B",8,Gf,Kf,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,bf,pf]))])),Yye=new Nh("OUT_R_T",9,c0,O1,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,t1,pf]))])),Wye=new Nh("OUT_R_C",10,c0,n2,xu,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,W0])),Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,W0,pf]))])),Kye=new Nh("OUT_R_B",11,c0,Kf,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,bf,pf]))])),jye=new Nh("IN_T_L",12,c0,O1,Ac,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Qf,pf]))])),Rye=new Nh("IN_T_C",13,e2,O1,Ac,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,qg,pf]))])),$ye=new Nh("IN_T_R",14,Gf,O1,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Jf,pf]))])),Fye=new Nh("IN_C_L",15,c0,n2,xu,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Qf,pf]))])),Pye=new Nh("IN_C_C",16,e2,n2,xu,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,qg,pf]))])),Bye=new Nh("IN_C_R",17,Gf,n2,xu,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Jf,pf]))])),Oye=new Nh("IN_B_L",18,c0,Kf,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Qf,pf]))])),Iye=new Nh("IN_B_C",19,e2,Kf,Lc,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,qg,pf]))])),Nye=new Nh("IN_B_R",20,Gf,Kf,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Jf,pf]))])),Uht=new Nh(G_,21,null,null,null,null,lt(ut(df,1),Ln,21,0,[]))}function wn(){wn=V,G3=(Lb(),Fn).b,u(Dt(Qt(Fn.b),0),35),u(Dt(Qt(Fn.b),1),19),Jp=Fn.a,u(Dt(Qt(Fn.a),0),35),u(Dt(Qt(Fn.a),1),19),u(Dt(Qt(Fn.a),2),19),u(Dt(Qt(Fn.a),3),19),u(Dt(Qt(Fn.a),4),19),w2=Fn.o,u(Dt(Qt(Fn.o),0),35),u(Dt(Qt(Fn.o),1),35),xTe=u(Dt(Qt(Fn.o),2),19),u(Dt(Qt(Fn.o),3),19),u(Dt(Qt(Fn.o),4),19),u(Dt(Qt(Fn.o),5),19),u(Dt(Qt(Fn.o),6),19),u(Dt(Qt(Fn.o),7),19),u(Dt(Qt(Fn.o),8),19),u(Dt(Qt(Fn.o),9),19),u(Dt(Qt(Fn.o),10),19),u(Dt(Qt(Fn.o),11),19),u(Dt(Qt(Fn.o),12),19),u(Dt(Qt(Fn.o),13),19),u(Dt(Qt(Fn.o),14),19),u(Dt(Qt(Fn.o),15),19),u(Dt(Di(Fn.o),0),62),u(Dt(Di(Fn.o),1),62),u(Dt(Di(Fn.o),2),62),u(Dt(Di(Fn.o),3),62),u(Dt(Di(Fn.o),4),62),u(Dt(Di(Fn.o),5),62),u(Dt(Di(Fn.o),6),62),u(Dt(Di(Fn.o),7),62),u(Dt(Di(Fn.o),8),62),u(Dt(Di(Fn.o),9),62),yTe=Fn.p,u(Dt(Qt(Fn.p),0),35),u(Dt(Qt(Fn.p),1),35),u(Dt(Qt(Fn.p),2),35),u(Dt(Qt(Fn.p),3),35),u(Dt(Qt(Fn.p),4),19),u(Dt(Qt(Fn.p),5),19),u(Dt(Di(Fn.p),0),62),u(Dt(Di(Fn.p),1),62),kTe=Fn.q,u(Dt(Qt(Fn.q),0),35),m2=Fn.v,u(Dt(Qt(Fn.v),0),19),u(Dt(Di(Fn.v),0),62),u(Dt(Di(Fn.v),1),62),u(Dt(Di(Fn.v),2),62),Zp=Fn.w,u(Dt(Qt(Fn.w),0),35),u(Dt(Qt(Fn.w),1),35),u(Dt(Qt(Fn.w),2),35),u(Dt(Qt(Fn.w),3),19),v2=Fn.B,u(Dt(Qt(Fn.B),0),19),u(Dt(Di(Fn.B),0),62),u(Dt(Di(Fn.B),1),62),u(Dt(Di(Fn.B),2),62),ETe=Fn.Q,u(Dt(Qt(Fn.Q),0),19),u(Dt(Di(Fn.Q),0),62),TTe=Fn.R,u(Dt(Qt(Fn.R),0),35),xf=Fn.S,u(Dt(Di(Fn.S),0),62),u(Dt(Di(Fn.S),1),62),u(Dt(Di(Fn.S),2),62),u(Dt(Di(Fn.S),3),62),u(Dt(Di(Fn.S),4),62),u(Dt(Di(Fn.S),5),62),u(Dt(Di(Fn.S),6),62),u(Dt(Di(Fn.S),7),62),u(Dt(Di(Fn.S),8),62),u(Dt(Di(Fn.S),9),62),u(Dt(Di(Fn.S),10),62),u(Dt(Di(Fn.S),11),62),u(Dt(Di(Fn.S),12),62),u(Dt(Di(Fn.S),13),62),u(Dt(Di(Fn.S),14),62),tb=Fn.T,u(Dt(Qt(Fn.T),0),19),u(Dt(Qt(Fn.T),2),19),CTe=u(Dt(Qt(Fn.T),3),19),u(Dt(Qt(Fn.T),4),19),u(Dt(Di(Fn.T),0),62),u(Dt(Di(Fn.T),1),62),u(Dt(Qt(Fn.T),1),19),eb=Fn.U,u(Dt(Qt(Fn.U),0),35),u(Dt(Qt(Fn.U),1),35),u(Dt(Qt(Fn.U),2),19),u(Dt(Qt(Fn.U),3),19),u(Dt(Qt(Fn.U),4),19),u(Dt(Qt(Fn.U),5),19),u(Dt(Di(Fn.U),0),62),K3=Fn.V,u(Dt(Qt(Fn.V),0),19),dx=Fn.W,u(Dt(Qt(Fn.W),0),35),u(Dt(Qt(Fn.W),1),35),u(Dt(Qt(Fn.W),2),35),u(Dt(Qt(Fn.W),3),19),u(Dt(Qt(Fn.W),4),19),u(Dt(Qt(Fn.W),5),19),STe=Fn.bb,u(Dt(Qt(Fn.bb),0),35),u(Dt(Qt(Fn.bb),1),35),u(Dt(Qt(Fn.bb),2),35),u(Dt(Qt(Fn.bb),3),35),u(Dt(Qt(Fn.bb),4),35),u(Dt(Qt(Fn.bb),5),35),u(Dt(Qt(Fn.bb),6),35),u(Dt(Qt(Fn.bb),7),19),u(Dt(Di(Fn.bb),0),62),u(Dt(Di(Fn.bb),1),62),_Te=Fn.eb,u(Dt(Qt(Fn.eb),0),35),u(Dt(Qt(Fn.eb),1),35),u(Dt(Qt(Fn.eb),2),35),u(Dt(Qt(Fn.eb),3),35),u(Dt(Qt(Fn.eb),4),35),u(Dt(Qt(Fn.eb),5),35),u(Dt(Qt(Fn.eb),6),19),u(Dt(Qt(Fn.eb),7),19),wo=Fn.ab,u(Dt(Qt(Fn.ab),0),35),u(Dt(Qt(Fn.ab),1),35),Nv=Fn.H,u(Dt(Qt(Fn.H),0),19),u(Dt(Qt(Fn.H),1),19),u(Dt(Qt(Fn.H),2),19),u(Dt(Qt(Fn.H),3),19),u(Dt(Qt(Fn.H),4),19),u(Dt(Qt(Fn.H),5),19),u(Dt(Di(Fn.H),0),62),Pv=Fn.db,u(Dt(Qt(Fn.db),0),19),Sd=Fn.M}function HSn(t){var e;t.O||(t.O=!0,mu(t,"type"),Xq(t,"ecore.xml.type"),Qq(t,Cw),e=u(N7((Eb(),yf),Cw),2044),Or(Yo(t.fb),t.b),Ec(t.b,WP,"AnyType",!1,!1,!0),vs(u(Dt(Qt(t.b),0),35),t.wb.D,DN,null,0,-1,WP,!1,!1,!0,!1,!1,!1),vs(u(Dt(Qt(t.b),1),35),t.wb.D,"any",null,0,-1,WP,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.b),2),35),t.wb.D,"anyAttribute",null,0,-1,WP,!1,!1,!0,!1,!1,!1),Ec(t.bb,ZK,lve,!1,!1,!0),vs(u(Dt(Qt(t.bb),0),35),t.gb,"data",null,0,1,ZK,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),1),35),t.gb,MTt,null,1,1,ZK,!1,!1,!0,!1,!0,!1),Ec(t.fb,YP,hve,!1,!1,!0),vs(u(Dt(Qt(t.fb),0),35),e.gb,"rawValue",null,0,1,YP,!0,!0,!0,!1,!0,!0),vs(u(Dt(Qt(t.fb),1),35),e.a,cA,null,0,1,YP,!0,!0,!0,!1,!0,!0),Ui(u(Dt(Qt(t.fb),2),19),t.wb.q,null,"instanceType",1,1,YP,!1,!1,!0,!1,!1,!1,!1),Ec(t.qb,rOt,fve,!1,!1,!0),vs(u(Dt(Qt(t.qb),0),35),t.wb.D,DN,null,0,-1,null,!1,!1,!0,!1,!1,!1),Ui(u(Dt(Qt(t.qb),1),19),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.qb),2),19),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),vs(u(Dt(Qt(t.qb),3),35),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.qb),4),35),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Ui(u(Dt(Qt(t.qb),5),19),t.bb,null,Cve,0,-2,null,!0,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.qb),6),35),t.gb,Ylt,null,0,-2,null,!0,!0,!0,!1,!1,!0),fi(t.a,aa,"AnySimpleType",!0),fi(t.c,Pe,"AnyURI",!0),fi(t.d,ut(ul,1),"Base64Binary",!0),fi(t.e,Fl,"Boolean",!0),fi(t.f,ys,"BooleanObject",!0),fi(t.g,ul,"Byte",!0),fi(t.i,Fk,"ByteObject",!0),fi(t.j,Pe,"Date",!0),fi(t.k,Pe,"DateTime",!0),fi(t.n,Mht,"Decimal",!0),fi(t.o,ma,"Double",!0),fi(t.p,zs,"DoubleObject",!0),fi(t.q,Pe,"Duration",!0),fi(t.s,Vh,"ENTITIES",!0),fi(t.r,Vh,"ENTITIESBase",!0),fi(t.t,Pe,KTt,!0),fi(t.u,Y3,"Float",!0),fi(t.v,wT,"FloatObject",!0),fi(t.w,Pe,"GDay",!0),fi(t.B,Pe,"GMonth",!0),fi(t.A,Pe,"GMonthDay",!0),fi(t.C,Pe,"GYear",!0),fi(t.D,Pe,"GYearMonth",!0),fi(t.F,ut(ul,1),"HexBinary",!0),fi(t.G,Pe,"ID",!0),fi(t.H,Pe,"IDREF",!0),fi(t.J,Vh,"IDREFS",!0),fi(t.I,Vh,"IDREFSBase",!0),fi(t.K,Fr,"Int",!0),fi(t.M,N5,"Integer",!0),fi(t.L,Ra,"IntObject",!0),fi(t.P,Pe,"Language",!0),fi(t.Q,x2,"Long",!0),fi(t.R,gv,"LongObject",!0),fi(t.S,Pe,"Name",!0),fi(t.T,Pe,AU,!0),fi(t.U,N5,"NegativeInteger",!0),fi(t.V,Pe,XTt,!0),fi(t.X,Vh,"NMTOKENS",!0),fi(t.W,Vh,"NMTOKENSBase",!0),fi(t.Y,N5,"NonNegativeInteger",!0),fi(t.Z,N5,"NonPositiveInteger",!0),fi(t.$,Pe,"NormalizedString",!0),fi(t._,Pe,"NOTATION",!0),fi(t.ab,Pe,"PositiveInteger",!0),fi(t.cb,Pe,"QName",!0),fi(t.db,wx,"Short",!0),fi(t.eb,pv,"ShortObject",!0),fi(t.gb,Pe,g8t,!0),fi(t.hb,Pe,"Time",!0),fi(t.ib,Pe,"Token",!0),fi(t.jb,wx,"UnsignedByte",!0),fi(t.kb,pv,"UnsignedByteObject",!0),fi(t.lb,x2,"UnsignedInt",!0),fi(t.mb,gv,"UnsignedIntObject",!0),fi(t.nb,N5,"UnsignedLong",!0),fi(t.ob,Fr,"UnsignedShort",!0),fi(t.pb,Ra,"UnsignedShortObject",!0),g5t(t,Cw),VSn(t))}function c8t(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1,Vw,o8,k2,c8,d0,J0,Bv,u8,vx,g0,Uw,Ug;if(r.$g()||Ie(Me(ne(e,(ai(),AK)))))return mn(),mn(),co;if(Ce=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i!=0,Ze=s5n(e),rn=!Ze.dc(),Ce||rn){if(s=u(ne(e,fx),143),!s)throw at(new fp("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(vx=hmt(s,(O7(),VK)),Nle(e),!Ce&&rn&&!vx)return mn(),mn(),co;if(At=new fe,$t(ne(e,cx))===$t((Ag(),Xp))&&(hmt(s,qK)||hmt(s,zK))){if(Ie(Me(ne(e,dL))))throw at(new fp("Topdown layout cannot be used together with hierarchy handling."));for(mx=S0e(t,e),rb=new Ki,Ma(rb,(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));rb.b!=0;)Go=u(rb.b==0?null:(ur(rb.b!=0),Oh(rb,rb.a.a)),27),Nle(Go),u8=$t(ne(Go,cx))===$t(bL),u8||ad(Go,VT)&&!_3t(s,ne(Go,fx))?(tt=c8t(t,Go,n,r),Hs(At,tt),Mi(Go,cx,bL),H0e(Go)):Ma(rb,(!Go.a&&(Go.a=new Jt(bi,Go,10,11)),Go.a))}else{if(mx=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,Ie(Me(ne(e,dL)))){if(g0=r.eh(1),g0.Ug(hwe,1),ne(e,t8)==null)throw at(new fp(e.k+" has not been assigned a top-down node type."));if(u(ne(e,t8),280)==(lk(),q3)||u(ne(e,t8),280)==RK)for(Tt=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));Tt.e!=Tt.i.gc();)ht=u(ar(Tt),27),El=u(ne(ht,fx),143),(!ht.a&&(ht.a=new Jt(bi,ht,10,11)),ht.a).i>0&&_I(El.f),ne(ht,YMt)!=null&&(d=u(ne(ht,YMt),347),Bv=d.Tg(ht),H4(ht,b.Math.max(ht.g,Bv.a),b.Math.max(ht.f,Bv.b)));if(r1=u(ne(e,Yp),107),$=e.g-(r1.b+r1.c),P=e.f-(r1.d+r1.a),g0.bh("Available Child Area: ("+$+"|"+P+")"),Mi(e,sx,$/P),Rle(e,s,r.eh(mx)),u(ne(e,t8),280)==RK&&(r8t(e),H4(e,r1.b+Rt(Ht(ne(e,ox)))+r1.c,r1.d+Rt(Ht(ne(e,ax)))+r1.a)),g0.bh("Executed layout algorithm: "+Gr(ne(e,VT))+" on node "+e.k),u(ne(e,t8),280)==q3){if($<0||P<0)throw at(new fp("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(ad(e,ox)||ad(e,ax)||r8t(e),J=Rt(Ht(ne(e,ox))),U=Rt(Ht(ne(e,ax))),g0.bh("Desired Child Area: ("+J+"|"+U+")"),Vw=$/J,o8=P/U,i1=b.Math.min(Vw,b.Math.min(o8,Rt(Ht(ne(e,k7e))))),Mi(e,MK,i1),g0.bh(e.k+" -- Local Scale Factor (X|Y): ("+Vw+"|"+o8+")"),Bt=u(ne(e,CP),21),o=0,h=0,i1<Vw&&(Bt.Hc((fw(),cL))?o=($/2-J*i1/2)/i1:Bt.Hc(uL)&&(o=($-J*i1)/i1)),i1<o8&&(Bt.Hc((fw(),hL))?h=(P/2-U*i1/2)/i1:Bt.Hc(lL)&&(h=(P-U*i1)/i1)),Uw=o+(r1.b/i1-r1.b),Ug=h+(r1.d/i1-r1.d),g0.bh("Shift: ("+Uw+"|"+Ug+")"),yh=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));yh.e!=yh.i.gc();)Go=u(ar(yh),27),Su(Go,Go.i+Uw),_u(Go,Go.j+Ug);for(se=new Zn((!e.b&&(e.b=new Jt(Ts,e,12,3)),e.b));se.e!=se.i.gc();){for(Wt=u(ar(se),74),c8=new Zn((!Wt.a&&(Wt.a=new Jt(Wi,Wt,6,6)),Wt.a));c8.e!=c8.i.gc();)for(k2=u(ar(c8),166),rI(k2,k2.j+Uw,k2.k+Ug),nI(k2,k2.b+Uw,k2.c+Ug),k=new Zn((!k2.a&&(k2.a=new Ps(vh,k2,5)),k2.a));k.e!=k.i.gc();)m=u(ar(k),377),Xrt(m,m.a+Uw,m.b+Ug);for(is=new Zn((!Wt.n&&(Wt.n=new Jt(Po,Wt,1,7)),Wt.n));is.e!=is.i.gc();)Jr=u(ar(is),135),Ch(Jr,Jr.i+Uw,Jr.j+Ug);for(er=u(ne(Wt,Iv),75),Dn=Dr(er,0);Dn.b!=Dn.d.c;)On=u(Ar(Dn),8),On.a+=Uw,On.b+=Ug;Mi(Wt,Iv,er)}}g0.Vg()}for(A=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));A.e!=A.i.gc();)T=u(ar(A),27),tt=c8t(t,T,n,r),Hs(At,tt),H0e(T)}if(r.$g())return mn(),mn(),co;for(J0=new G(At);J0.a<J0.c.c.length;)d0=u(et(J0),74),Mi(d0,AK,(Pn(),!0));return Ie(Me(ne(e,dL)))||Rle(e,s,r.eh(mx)),LEn(At),rn&&vx?Ze:(mn(),mn(),co)}else return mn(),mn(),co}function k5(t,e){var n,r;return bx||(bx=new _r,JT=new _r,r=(yi(),yi(),new ih(4)),vO(r,`
1336 \r\r `),jo(bx,ght,r),jo(JT,ght,i3(r)),r=new ih(4),vO(r,_ve),jo(bx,wA,r),jo(JT,wA,i3(r)),r=new ih(4),vO(r,_ve),jo(bx,wA,r),jo(JT,wA,i3(r)),r=new ih(4),vO(r,Ave),a3(r,u(nu(bx,wA),122)),jo(bx,dht,r),jo(JT,dht,i3(r)),r=new ih(4),vO(r,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),jo(bx,pht,r),jo(JT,pht,i3(r)),r=new ih(4),vO(r,Ave),iu(r,95,95),iu(r,58,58),jo(bx,bht,r),jo(JT,bht,i3(r))),n=u(nu(e?bx:JT,t),138),n}function ibe(t){wm(t,new dw(vwt(p$(gm(hm(dm(fm(new G1,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 RJ),Qn),Hi((O7(),Zdt),lt(ut(GK,1),te,245,0,[VK,UK,HK,Jdt,qK,zK]))))),le(t,Qn,zEt,Se(u1t)),le(t,Qn,qEt,Se(dAt)),le(t,Qn,Lut,Se(aP)),le(t,Qn,HEt,Se(Yf)),le(t,Qn,Put,Se(Y5)),le(t,Qn,plt,Se(_v)),le(t,Qn,VEt,Se(O3)),le(t,Qn,UEt,Se(FT)),le(t,Qn,GEt,Se(BT)),le(t,Qn,KEt,Se(l1t)),le(t,Qn,h3,Se(Av)),le(t,Qn,WEt,Se(h1t)),le(t,Qn,YEt,Se(jA)),le(t,Qn,XEt,Se(KG)),le(t,Qn,kEt,Se(sP)),le(t,Qn,TEt,Se(W5)),le(t,Qn,EEt,Se(Pw)),le(t,Qn,CEt,Se(X5)),le(t,Qn,gN,he(0)),le(t,Qn,SEt,Se(PT)),le(t,Qn,_Et,Se(fAt)),le(t,Qn,AEt,Se(Yk)),le(t,Qn,Bg,Se(kAt)),le(t,Qn,HV,Se(pAt)),le(t,Qn,VV,Se(bAt)),le(t,Qn,tA,Se(d1t)),le(t,Qn,olt,Se(wAt)),le(t,Qn,clt,Se(mAt)),le(t,Qn,UV,Se(WG)),le(t,Qn,GV,Se(g1t)),le(t,Qn,KV,Se(yAt)),le(t,Qn,WV,Se(vAt)),le(t,Qn,ult,Se(xAt)),le(t,Qn,elt,Se(Cv)),le(t,Qn,nlt,Se(RA)),le(t,Qn,$V,Se(s1t)),le(t,Qn,zV,Se(U_t)),le(t,Qn,pN,Se(A6e)),le(t,Qn,bN,Se(L6e)),le(t,Qn,wN,Se(_6e)),le(t,Qn,mN,Se(S6e)),le(t,Qn,cv,gAt),le(t,Qn,ov,oAt),le(t,Qn,EN,q_t),le(t,Qn,QEt,0),le(t,Qn,IV,he(1)),le(t,Qn,Dk,tT),le(t,Qn,JEt,Se(Nw)),le(t,Qn,Fut,Se(bs)),le(t,Qn,ZEt,Se(NT)),le(t,Qn,TN,Se(b6e)),le(t,Qn,t7t,Se(u0)),le(t,Qn,XV,Se(A3)),le(t,Qn,W_,(Pn(),!0)),le(t,Qn,e7t,Se(L3)),le(t,Qn,n7t,Se(Mw)),le(t,Qn,_5,Se(Ow)),le(t,Qn,Mk,Se(GG)),le(t,Qn,eT,Se(c1t)),le(t,Qn,blt,z_t),le(t,Qn,nT,Se(Tv)),le(t,Qn,r7t,Se(VG)),le(t,Qn,rT,Se(M3)),le(t,Qn,i7t,Se(k6e)),le(t,Qn,s7t,Se(lAt)),le(t,Qn,a7t,uAt),le(t,Qn,o7t,Se(v6e)),le(t,Qn,c7t,Se(y6e)),le(t,Qn,u7t,Se(x6e)),le(t,Qn,l7t,Se(m6e)),le(t,Qn,uEt,Se(f1t)),le(t,Qn,kN,Se(Iw)),le(t,Qn,Gut,Se(a2)),le(t,Qn,cEt,Se($A)),le(t,Qn,hEt,Se(Iu)),le(t,Qn,Hut,Se(Dw)),le(t,Qn,Z_,Se(FA)),le(t,Qn,gEt,Se(Ev)),le(t,Qn,vEt,Se(R_t)),le(t,Qn,Qut,Se(e1t)),le(t,Qn,RV,Se(iP)),le(t,Qn,Xut,Se(n1t)),le(t,Qn,iEt,Se(nAt)),le(t,Qn,sEt,Se(rAt)),le(t,Qn,BV,Se(Q_t)),le(t,Qn,A5,Se(UG)),le(t,Qn,Zut,Se(o1t)),le(t,Qn,rEt,Se(a1t)),le(t,Qn,tlt,Se(sAt)),le(t,Qn,yEt,Se(V_t)),le(t,Qn,xEt,Se(i1t)),le(t,Qn,QV,Se(t1t)),le(t,Qn,Jut,Se(iAt)),le(t,Qn,LEt,Se(PG)),le(t,Qn,DEt,Se(P_t)),le(t,Qn,ilt,Se(NG)),le(t,Qn,qV,Se(W_t)),le(t,Qn,slt,Se(K_t)),le(t,Qn,alt,Se(Y_t)),le(t,Qn,Ik,Se(IT)),le(t,Qn,h7t,Se(Vo)),le(t,Qn,Dut,Se(Hp)),le(t,Qn,f7t,Se(l0)),le(t,Qn,OV,Se(r1t)),le(t,Qn,Yut,Se(j_t)),le(t,Qn,d7t,Se(Vp)),le(t,Qn,g7t,Se(PA)),le(t,Qn,p7t,Se(zG)),le(t,Qn,b7t,Se(Sv)),le(t,Qn,wlt,Se(cAt)),le(t,Qn,mlt,Se(OT)),le(t,Qn,Vut,Se(Z_t)),le(t,Qn,Uut,Se(tAt)),le(t,Qn,JV,Se(I3)),le(t,Qn,aEt,Se(Jft)),le(t,Qn,Kut,Se(eAt)),le(t,Qn,MEt,Se($G)),le(t,Qn,IEt,Se(jG)),le(t,Qn,w7t,Se(HG)),le(t,Qn,Wut,Se(J_t)),le(t,Qn,jV,Se(BA)),le(t,Qn,m7t,Se(oP)),le(t,Qn,nEt,Se($_t)),le(t,Qn,oEt,Se(hAt)),le(t,Qn,rlt,Se(H_t)),le(t,Qn,pEt,Se(d6e)),le(t,Qn,bEt,Se(g6e)),le(t,Qn,fEt,Se(w6e)),le(t,Qn,wEt,Se(p6e)),le(t,Qn,ZV,Se(X_t)),le(t,Qn,dEt,Se(qG)),le(t,Qn,mEt,Se(RG)),le(t,Qn,YV,Se(U0)),le(t,Qn,PEt,Se(B_t)),le(t,Qn,hlt,Se(FG)),le(t,Qn,flt,Se(F_t)),le(t,Qn,NEt,Se(BG)),le(t,Qn,llt,Se(_3)),le(t,Qn,OEt,Se(Zft)),le(t,Qn,lEt,Se(G_t))}function VSn(t){zr(t.a,ti,lt(ut(Pe,1),ue,2,6,[pi,"anySimpleType"])),zr(t.b,ti,lt(ut(Pe,1),ue,2,6,[pi,"anyType",lf,DN])),zr(u(Dt(Qt(t.b),0),35),ti,lt(ut(Pe,1),ue,2,6,[lf,cht,pi,":mixed"])),zr(u(Dt(Qt(t.b),1),35),ti,lt(ut(Pe,1),ue,2,6,[lf,cht,UTt,lht,pi,":1",dve,"lax"])),zr(u(Dt(Qt(t.b),2),35),ti,lt(ut(Pe,1),ue,2,6,[lf,uve,UTt,lht,pi,":2",dve,"lax"])),zr(t.c,ti,lt(ut(Pe,1),ue,2,6,[pi,"anyURI",ff,I1])),zr(t.d,ti,lt(ut(Pe,1),ue,2,6,[pi,"base64Binary",ff,I1])),zr(t.e,ti,lt(ut(Pe,1),ue,2,6,[pi,kk,ff,I1])),zr(t.f,ti,lt(ut(Pe,1),ue,2,6,[pi,"boolean:Object",Ka,kk])),zr(t.g,ti,lt(ut(Pe,1),ue,2,6,[pi,lA])),zr(t.i,ti,lt(ut(Pe,1),ue,2,6,[pi,"byte:Object",Ka,lA])),zr(t.j,ti,lt(ut(Pe,1),ue,2,6,[pi,"date",ff,I1])),zr(t.k,ti,lt(ut(Pe,1),ue,2,6,[pi,"dateTime",ff,I1])),zr(t.n,ti,lt(ut(Pe,1),ue,2,6,[pi,"decimal",ff,I1])),zr(t.o,ti,lt(ut(Pe,1),ue,2,6,[pi,hA,ff,I1])),zr(t.p,ti,lt(ut(Pe,1),ue,2,6,[pi,"double:Object",Ka,hA])),zr(t.q,ti,lt(ut(Pe,1),ue,2,6,[pi,"duration",ff,I1])),zr(t.s,ti,lt(ut(Pe,1),ue,2,6,[pi,"ENTITIES",Ka,gve,GTt,"1"])),zr(t.r,ti,lt(ut(Pe,1),ue,2,6,[pi,gve,uht,KTt])),zr(t.t,ti,lt(ut(Pe,1),ue,2,6,[pi,KTt,Ka,AU])),zr(t.u,ti,lt(ut(Pe,1),ue,2,6,[pi,fA,ff,I1])),zr(t.v,ti,lt(ut(Pe,1),ue,2,6,[pi,"float:Object",Ka,fA])),zr(t.w,ti,lt(ut(Pe,1),ue,2,6,[pi,"gDay",ff,I1])),zr(t.B,ti,lt(ut(Pe,1),ue,2,6,[pi,"gMonth",ff,I1])),zr(t.A,ti,lt(ut(Pe,1),ue,2,6,[pi,"gMonthDay",ff,I1])),zr(t.C,ti,lt(ut(Pe,1),ue,2,6,[pi,"gYear",ff,I1])),zr(t.D,ti,lt(ut(Pe,1),ue,2,6,[pi,"gYearMonth",ff,I1])),zr(t.F,ti,lt(ut(Pe,1),ue,2,6,[pi,"hexBinary",ff,I1])),zr(t.G,ti,lt(ut(Pe,1),ue,2,6,[pi,"ID",Ka,AU])),zr(t.H,ti,lt(ut(Pe,1),ue,2,6,[pi,"IDREF",Ka,AU])),zr(t.J,ti,lt(ut(Pe,1),ue,2,6,[pi,"IDREFS",Ka,pve,GTt,"1"])),zr(t.I,ti,lt(ut(Pe,1),ue,2,6,[pi,pve,uht,"IDREF"])),zr(t.K,ti,lt(ut(Pe,1),ue,2,6,[pi,dA])),zr(t.M,ti,lt(ut(Pe,1),ue,2,6,[pi,WTt])),zr(t.L,ti,lt(ut(Pe,1),ue,2,6,[pi,"int:Object",Ka,dA])),zr(t.P,ti,lt(ut(Pe,1),ue,2,6,[pi,"language",Ka,hht,fht,bve])),zr(t.Q,ti,lt(ut(Pe,1),ue,2,6,[pi,gA])),zr(t.R,ti,lt(ut(Pe,1),ue,2,6,[pi,"long:Object",Ka,gA])),zr(t.S,ti,lt(ut(Pe,1),ue,2,6,[pi,"Name",Ka,hht,fht,YTt])),zr(t.T,ti,lt(ut(Pe,1),ue,2,6,[pi,AU,Ka,"Name",fht,wve])),zr(t.U,ti,lt(ut(Pe,1),ue,2,6,[pi,"negativeInteger",Ka,mve,PN,"-1"])),zr(t.V,ti,lt(ut(Pe,1),ue,2,6,[pi,XTt,Ka,hht,fht,"\\c+"])),zr(t.X,ti,lt(ut(Pe,1),ue,2,6,[pi,"NMTOKENS",Ka,vve,GTt,"1"])),zr(t.W,ti,lt(ut(Pe,1),ue,2,6,[pi,vve,uht,XTt])),zr(t.Y,ti,lt(ut(Pe,1),ue,2,6,[pi,QTt,Ka,WTt,FN,"0"])),zr(t.Z,ti,lt(ut(Pe,1),ue,2,6,[pi,mve,Ka,WTt,PN,"0"])),zr(t.$,ti,lt(ut(Pe,1),ue,2,6,[pi,yve,Ka,Nct,ff,"replace"])),zr(t._,ti,lt(ut(Pe,1),ue,2,6,[pi,"NOTATION",ff,I1])),zr(t.ab,ti,lt(ut(Pe,1),ue,2,6,[pi,"positiveInteger",Ka,QTt,FN,"1"])),zr(t.bb,ti,lt(ut(Pe,1),ue,2,6,[pi,"processingInstruction_._type",lf,"empty"])),zr(u(Dt(Qt(t.bb),0),35),ti,lt(ut(Pe,1),ue,2,6,[lf,TU,pi,"data"])),zr(u(Dt(Qt(t.bb),1),35),ti,lt(ut(Pe,1),ue,2,6,[lf,TU,pi,MTt])),zr(t.cb,ti,lt(ut(Pe,1),ue,2,6,[pi,"QName",ff,I1])),zr(t.db,ti,lt(ut(Pe,1),ue,2,6,[pi,pA])),zr(t.eb,ti,lt(ut(Pe,1),ue,2,6,[pi,"short:Object",Ka,pA])),zr(t.fb,ti,lt(ut(Pe,1),ue,2,6,[pi,"simpleAnyType",lf,MN])),zr(u(Dt(Qt(t.fb),0),35),ti,lt(ut(Pe,1),ue,2,6,[pi,":3",lf,MN])),zr(u(Dt(Qt(t.fb),1),35),ti,lt(ut(Pe,1),ue,2,6,[pi,":4",lf,MN])),zr(u(Dt(Qt(t.fb),2),19),ti,lt(ut(Pe,1),ue,2,6,[pi,":5",lf,MN])),zr(t.gb,ti,lt(ut(Pe,1),ue,2,6,[pi,Nct,ff,"preserve"])),zr(t.hb,ti,lt(ut(Pe,1),ue,2,6,[pi,"time",ff,I1])),zr(t.ib,ti,lt(ut(Pe,1),ue,2,6,[pi,hht,Ka,yve,ff,I1])),zr(t.jb,ti,lt(ut(Pe,1),ue,2,6,[pi,xve,PN,"255",FN,"0"])),zr(t.kb,ti,lt(ut(Pe,1),ue,2,6,[pi,"unsignedByte:Object",Ka,xve])),zr(t.lb,ti,lt(ut(Pe,1),ue,2,6,[pi,kve,PN,"4294967295",FN,"0"])),zr(t.mb,ti,lt(ut(Pe,1),ue,2,6,[pi,"unsignedInt:Object",Ka,kve])),zr(t.nb,ti,lt(ut(Pe,1),ue,2,6,[pi,"unsignedLong",Ka,QTt,PN,Eve,FN,"0"])),zr(t.ob,ti,lt(ut(Pe,1),ue,2,6,[pi,Tve,PN,"65535",FN,"0"])),zr(t.pb,ti,lt(ut(Pe,1),ue,2,6,[pi,"unsignedShort:Object",Ka,Tve])),zr(t.qb,ti,lt(ut(Pe,1),ue,2,6,[pi,"",lf,DN])),zr(u(Dt(Qt(t.qb),0),35),ti,lt(ut(Pe,1),ue,2,6,[lf,cht,pi,":mixed"])),zr(u(Dt(Qt(t.qb),1),19),ti,lt(ut(Pe,1),ue,2,6,[lf,TU,pi,"xmlns:prefix"])),zr(u(Dt(Qt(t.qb),2),19),ti,lt(ut(Pe,1),ue,2,6,[lf,TU,pi,"xsi:schemaLocation"])),zr(u(Dt(Qt(t.qb),3),35),ti,lt(ut(Pe,1),ue,2,6,[lf,CU,pi,"cDATA",SU,IN])),zr(u(Dt(Qt(t.qb),4),35),ti,lt(ut(Pe,1),ue,2,6,[lf,CU,pi,"comment",SU,IN])),zr(u(Dt(Qt(t.qb),5),19),ti,lt(ut(Pe,1),ue,2,6,[lf,CU,pi,Cve,SU,IN])),zr(u(Dt(Qt(t.qb),6),35),ti,lt(ut(Pe,1),ue,2,6,[lf,CU,pi,Ylt,SU,IN]))}function Qr(t){return hn("_UI_EMFDiagnostic_marker",t)?"EMF Problem":hn("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":hn(ome,t)?"Wrong character.":hn(cme,t)?"Invalid reference number.":hn(pU,t)?"A character is required after \\.":hn(nht,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":hn(ume,t)?"'(?<' or '(?<!' is expected.":hn(lme,t)?"A comment is not terminated.":hn(Tw,t)?"')' is expected.":hn(ITt,t)?"Unexpected end of the pattern in a modifier group.":hn(hme,t)?"':' is expected.":hn(fme,t)?"Unexpected end of the pattern in a conditional group.":hn(dme,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":hn(gme,t)?"There are more than three choices in a conditional group.":hn(pme,t)?"A character in U+0040-U+005f must follow \\c.":hn(bme,t)?"A '{' is required before a character category.":hn(wme,t)?"A property name is not closed by '}'.":hn(OTt,t)?"Unexpected meta character.":hn(rht,t)?"Unknown property.":hn(NTt,t)?"A POSIX character class must be closed by ':]'.":hn(bU,t)?"Unexpected end of the pattern in a character class.":hn(mme,t)?"Unknown name for a POSIX character class.":hn("parser.cc.4",t)?"'-' is invalid here.":hn(vme,t)?"']' is expected.":hn(PTt,t)?"'[' is invalid in a character class. Write '\\['.":hn(FTt,t)?"']' is invalid in a character class. Write '\\]'.":hn(iht,t)?"'-' is an invalid character range. Write '\\-'.":hn(yme,t)?"'[' is expected.":hn(xme,t)?"')' or '-[' or '+[' or '&[' is expected.":hn(kme,t)?"The range end code point is less than the start code point.":hn(zp,t)?"Invalid Unicode hex notation.":hn(Eme,t)?"Overflow in a hex notation.":hn(Tme,t)?"'\\x{' must be closed by '}'.":hn(Cme,t)?"Invalid Unicode code point.":hn(Sme,t)?"An anchor must not be here.":hn(Hh,t)?"This expression is not supported in the current option setting.":hn(_me,t)?"Invalid quantifier. A digit is expected.":hn(Ame,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":hn(Lme,t)?"Invalid quantifier. A digit or '}' is expected.":hn(Dme,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":hn(BTt,t)?"Invalid quantifier. A quantity value overflow.":hn("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":hn("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":hn("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":hn("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":hn("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":hn("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":hn("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":hn("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":hn("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":hn("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":hn("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":hn("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":hn("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":hn("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":hn("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":hn("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":hn("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":hn("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":hn("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":hn("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":hn("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":hn("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":hn("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":hn("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":hn("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":hn("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":hn("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":hn("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":hn("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":hn("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":hn("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function USn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J;t.r||(t.r=!0,mu(t,"graph"),Xq(t,"graph"),Qq(t,hT),nO(t.o,"T"),Or(Yo(t.a),t.p),Or(Yo(t.f),t.a),Or(Yo(t.n),t.f),Or(Yo(t.g),t.n),Or(Yo(t.c),t.n),Or(Yo(t.i),t.c),Or(Yo(t.j),t.c),Or(Yo(t.d),t.f),Or(Yo(t.e),t.a),Ec(t.p,o_n,Qbe,!0,!0,!1),U=i5(t.p,t.p,"setProperty"),J=Bce(U),k=mg(t.o),T=(n=(r=new lm,r),n),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),A=rst(J),zxt(T,A),jH(U,k,kTt),k=rst(J),jH(U,k,cA),U=i5(t.p,null,"getProperty"),J=Bce(U),k=mg(t.o),T=rst(J),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),jH(U,k,kTt),k=rst(J),$=hd(U,k,null),$&&$.oj(),U=i5(t.p,t.wb.e,"hasProperty"),k=mg(t.o),T=(s=(o=new lm,o),s),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),jH(U,k,kTt),U=i5(t.p,t.p,"copyProperties"),qo(U,t.p,Ult),U=i5(t.p,null,"getAllProperties"),k=mg(t.wb.P),T=mg(t.o),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),A=(h=(d=new lm,d),h),Or((!T.d&&(T.d=new Ps(Do,T,1)),T.d),A),T=mg(t.wb.M),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),P=hd(U,k,null),P&&P.oj(),Ec(t.a,QT,Bwe,!0,!1,!0),Ui(u(Dt(Qt(t.a),0),19),t.k,null,Ywe,0,-1,QT,!1,!1,!0,!0,!1,!1,!1),Ec(t.f,zP,jwe,!0,!1,!0),Ui(u(Dt(Qt(t.f),0),19),t.g,u(Dt(Qt(t.g),0),19),"labels",0,-1,zP,!1,!1,!0,!0,!1,!1,!1),vs(u(Dt(Qt(t.f),1),35),t.wb._,Xwe,null,0,1,zP,!1,!1,!0,!1,!0,!1),Ec(t.n,qP,"ElkShape",!0,!1,!0),vs(u(Dt(Qt(t.n),0),35),t.wb.t,Glt,Y7,1,1,qP,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.n),1),35),t.wb.t,Klt,Y7,1,1,qP,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.n),2),35),t.wb.t,"x",Y7,1,1,qP,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.n),3),35),t.wb.t,"y",Y7,1,1,qP,!1,!1,!0,!1,!0,!1),U=i5(t.n,null,"setDimensions"),qo(U,t.wb.t,Klt),qo(U,t.wb.t,Glt),U=i5(t.n,null,"setLocation"),qo(U,t.wb.t,"x"),qo(U,t.wb.t,"y"),Ec(t.g,Po,vTt,!1,!1,!0),Ui(u(Dt(Qt(t.g),0),19),t.f,u(Dt(Qt(t.f),0),19),Wlt,0,1,Po,!1,!1,!0,!1,!1,!1,!1),vs(u(Dt(Qt(t.g),1),35),t.wb._,Ylt,"",0,1,Po,!1,!1,!0,!1,!0,!1),Ec(t.c,vr,$we,!0,!1,!0),Ui(u(Dt(Qt(t.c),0),19),t.d,u(Dt(Qt(t.d),1),19),"outgoingEdges",0,-1,vr,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.c),1),19),t.d,u(Dt(Qt(t.d),2),19),"incomingEdges",0,-1,vr,!1,!1,!0,!1,!0,!1,!1),Ec(t.i,bi,yTt,!1,!1,!0),Ui(u(Dt(Qt(t.i),0),19),t.j,u(Dt(Qt(t.j),0),19),"ports",0,-1,bi,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.i),1),19),t.i,u(Dt(Qt(t.i),2),19),Xlt,0,-1,bi,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.i),2),19),t.i,u(Dt(Qt(t.i),1),19),Wlt,0,1,bi,!1,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.i),3),19),t.d,u(Dt(Qt(t.d),0),19),"containedEdges",0,-1,bi,!1,!1,!0,!0,!1,!1,!1),vs(u(Dt(Qt(t.i),4),35),t.wb.e,Qwe,null,0,1,bi,!0,!0,!1,!1,!0,!0),Ec(t.j,kl,xTt,!1,!1,!0),Ui(u(Dt(Qt(t.j),0),19),t.i,u(Dt(Qt(t.i),0),19),Wlt,0,1,kl,!1,!1,!0,!1,!1,!1,!1),Ec(t.d,Ts,mTt,!1,!1,!0),Ui(u(Dt(Qt(t.d),0),19),t.i,u(Dt(Qt(t.i),3),19),"containingNode",0,1,Ts,!1,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.d),1),19),t.c,u(Dt(Qt(t.c),0),19),ETt,0,-1,Ts,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.d),2),19),t.c,u(Dt(Qt(t.c),1),19),Qlt,0,-1,Ts,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.d),3),19),t.e,u(Dt(Qt(t.e),5),19),TTt,0,-1,Ts,!1,!1,!0,!0,!1,!1,!1),vs(u(Dt(Qt(t.d),4),35),t.wb.e,"hyperedge",null,0,1,Ts,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.d),5),35),t.wb.e,Qwe,null,0,1,Ts,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.d),6),35),t.wb.e,"selfloop",null,0,1,Ts,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.d),7),35),t.wb.e,"connected",null,0,1,Ts,!0,!0,!1,!1,!0,!0),Ec(t.b,vh,Rwe,!1,!1,!0),vs(u(Dt(Qt(t.b),0),35),t.wb.t,"x",Y7,1,1,vh,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.b),1),35),t.wb.t,"y",Y7,1,1,vh,!1,!1,!0,!1,!0,!1),U=i5(t.b,null,"set"),qo(U,t.wb.t,"x"),qo(U,t.wb.t,"y"),Ec(t.e,Wi,zwe,!1,!1,!0),vs(u(Dt(Qt(t.e),0),35),t.wb.t,"startX",null,0,1,Wi,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.e),1),35),t.wb.t,"startY",null,0,1,Wi,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.e),2),35),t.wb.t,"endX",null,0,1,Wi,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.e),3),35),t.wb.t,"endY",null,0,1,Wi,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.e),4),19),t.b,null,hU,0,-1,Wi,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.e),5),19),t.d,u(Dt(Qt(t.d),3),19),Wlt,0,1,Wi,!1,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.e),6),19),t.c,null,CTt,0,1,Wi,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.e),7),19),t.c,null,STt,0,1,Wi,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.e),8),19),t.e,u(Dt(Qt(t.e),9),19),_Tt,0,-1,Wi,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.e),9),19),t.e,u(Dt(Qt(t.e),8),19),ATt,0,-1,Wi,!1,!1,!0,!1,!0,!1,!1),vs(u(Dt(Qt(t.e),10),35),t.wb._,Xwe,null,0,1,Wi,!1,!1,!0,!1,!0,!1),U=i5(t.e,null,"setStartLocation"),qo(U,t.wb.t,"x"),qo(U,t.wb.t,"y"),U=i5(t.e,null,"setEndLocation"),qo(U,t.wb.t,"x"),qo(U,t.wb.t,"y"),Ec(t.k,Sw,"ElkPropertyToValueMapEntry",!1,!1,!1),k=mg(t.o),T=(m=(e=new lm,e),m),Or((!k.d&&(k.d=new Ps(Do,k,1)),k.d),T),W1e(u(Dt(Qt(t.k),0),35),k,"key",Sw,!1,!1,!0,!1),vs(u(Dt(Qt(t.k),1),35),t.s,cA,null,0,1,Sw,!1,!1,!0,!1,!0,!1),fi(t.o,Sdt,"IProperty",!0),fi(t.s,aa,"PropertyValue",!0),g5t(t,hT))}function sbe(){sbe=V,vt=Vt(ul,M5,28,po,15,1),vt[9]=35,vt[10]=19,vt[13]=19,vt[32]=51,vt[33]=49,vt[34]=33,zt(vt,35,38,49),vt[38]=1,zt(vt,39,45,49),zt(vt,45,47,-71),vt[47]=49,zt(vt,48,58,-71),vt[58]=61,vt[59]=49,vt[60]=1,vt[61]=49,vt[62]=33,zt(vt,63,65,49),zt(vt,65,91,-3),zt(vt,91,93,33),vt[93]=1,vt[94]=33,vt[95]=-3,vt[96]=33,zt(vt,97,123,-3),zt(vt,123,183,33),vt[183]=-87,zt(vt,184,192,33),zt(vt,192,215,-19),vt[215]=33,zt(vt,216,247,-19),vt[247]=33,zt(vt,248,306,-19),zt(vt,306,308,33),zt(vt,308,319,-19),zt(vt,319,321,33),zt(vt,321,329,-19),vt[329]=33,zt(vt,330,383,-19),vt[383]=33,zt(vt,384,452,-19),zt(vt,452,461,33),zt(vt,461,497,-19),zt(vt,497,500,33),zt(vt,500,502,-19),zt(vt,502,506,33),zt(vt,506,536,-19),zt(vt,536,592,33),zt(vt,592,681,-19),zt(vt,681,699,33),zt(vt,699,706,-19),zt(vt,706,720,33),zt(vt,720,722,-87),zt(vt,722,768,33),zt(vt,768,838,-87),zt(vt,838,864,33),zt(vt,864,866,-87),zt(vt,866,902,33),vt[902]=-19,vt[903]=-87,zt(vt,904,907,-19),vt[907]=33,vt[908]=-19,vt[909]=33,zt(vt,910,930,-19),vt[930]=33,zt(vt,931,975,-19),vt[975]=33,zt(vt,976,983,-19),zt(vt,983,986,33),vt[986]=-19,vt[987]=33,vt[988]=-19,vt[989]=33,vt[990]=-19,vt[991]=33,vt[992]=-19,vt[993]=33,zt(vt,994,1012,-19),zt(vt,1012,1025,33),zt(vt,1025,1037,-19),vt[1037]=33,zt(vt,1038,1104,-19),vt[1104]=33,zt(vt,1105,1117,-19),vt[1117]=33,zt(vt,1118,1154,-19),vt[1154]=33,zt(vt,1155,1159,-87),zt(vt,1159,1168,33),zt(vt,1168,1221,-19),zt(vt,1221,1223,33),zt(vt,1223,1225,-19),zt(vt,1225,1227,33),zt(vt,1227,1229,-19),zt(vt,1229,1232,33),zt(vt,1232,1260,-19),zt(vt,1260,1262,33),zt(vt,1262,1270,-19),zt(vt,1270,1272,33),zt(vt,1272,1274,-19),zt(vt,1274,1329,33),zt(vt,1329,1367,-19),zt(vt,1367,1369,33),vt[1369]=-19,zt(vt,1370,1377,33),zt(vt,1377,1415,-19),zt(vt,1415,1425,33),zt(vt,1425,1442,-87),vt[1442]=33,zt(vt,1443,1466,-87),vt[1466]=33,zt(vt,1467,1470,-87),vt[1470]=33,vt[1471]=-87,vt[1472]=33,zt(vt,1473,1475,-87),vt[1475]=33,vt[1476]=-87,zt(vt,1477,1488,33),zt(vt,1488,1515,-19),zt(vt,1515,1520,33),zt(vt,1520,1523,-19),zt(vt,1523,1569,33),zt(vt,1569,1595,-19),zt(vt,1595,1600,33),vt[1600]=-87,zt(vt,1601,1611,-19),zt(vt,1611,1619,-87),zt(vt,1619,1632,33),zt(vt,1632,1642,-87),zt(vt,1642,1648,33),vt[1648]=-87,zt(vt,1649,1720,-19),zt(vt,1720,1722,33),zt(vt,1722,1727,-19),vt[1727]=33,zt(vt,1728,1743,-19),vt[1743]=33,zt(vt,1744,1748,-19),vt[1748]=33,vt[1749]=-19,zt(vt,1750,1765,-87),zt(vt,1765,1767,-19),zt(vt,1767,1769,-87),vt[1769]=33,zt(vt,1770,1774,-87),zt(vt,1774,1776,33),zt(vt,1776,1786,-87),zt(vt,1786,2305,33),zt(vt,2305,2308,-87),vt[2308]=33,zt(vt,2309,2362,-19),zt(vt,2362,2364,33),vt[2364]=-87,vt[2365]=-19,zt(vt,2366,2382,-87),zt(vt,2382,2385,33),zt(vt,2385,2389,-87),zt(vt,2389,2392,33),zt(vt,2392,2402,-19),zt(vt,2402,2404,-87),zt(vt,2404,2406,33),zt(vt,2406,2416,-87),zt(vt,2416,2433,33),zt(vt,2433,2436,-87),vt[2436]=33,zt(vt,2437,2445,-19),zt(vt,2445,2447,33),zt(vt,2447,2449,-19),zt(vt,2449,2451,33),zt(vt,2451,2473,-19),vt[2473]=33,zt(vt,2474,2481,-19),vt[2481]=33,vt[2482]=-19,zt(vt,2483,2486,33),zt(vt,2486,2490,-19),zt(vt,2490,2492,33),vt[2492]=-87,vt[2493]=33,zt(vt,2494,2501,-87),zt(vt,2501,2503,33),zt(vt,2503,2505,-87),zt(vt,2505,2507,33),zt(vt,2507,2510,-87),zt(vt,2510,2519,33),vt[2519]=-87,zt(vt,2520,2524,33),zt(vt,2524,2526,-19),vt[2526]=33,zt(vt,2527,2530,-19),zt(vt,2530,2532,-87),zt(vt,2532,2534,33),zt(vt,2534,2544,-87),zt(vt,2544,2546,-19),zt(vt,2546,2562,33),vt[2562]=-87,zt(vt,2563,2565,33),zt(vt,2565,2571,-19),zt(vt,2571,2575,33),zt(vt,2575,2577,-19),zt(vt,2577,2579,33),zt(vt,2579,2601,-19),vt[2601]=33,zt(vt,2602,2609,-19),vt[2609]=33,zt(vt,2610,2612,-19),vt[2612]=33,zt(vt,2613,2615,-19),vt[2615]=33,zt(vt,2616,2618,-19),zt(vt,2618,2620,33),vt[2620]=-87,vt[2621]=33,zt(vt,2622,2627,-87),zt(vt,2627,2631,33),zt(vt,2631,2633,-87),zt(vt,2633,2635,33),zt(vt,2635,2638,-87),zt(vt,2638,2649,33),zt(vt,2649,2653,-19),vt[2653]=33,vt[2654]=-19,zt(vt,2655,2662,33),zt(vt,2662,2674,-87),zt(vt,2674,2677,-19),zt(vt,2677,2689,33),zt(vt,2689,2692,-87),vt[2692]=33,zt(vt,2693,2700,-19),vt[2700]=33,vt[2701]=-19,vt[2702]=33,zt(vt,2703,2706,-19),vt[2706]=33,zt(vt,2707,2729,-19),vt[2729]=33,zt(vt,2730,2737,-19),vt[2737]=33,zt(vt,2738,2740,-19),vt[2740]=33,zt(vt,2741,2746,-19),zt(vt,2746,2748,33),vt[2748]=-87,vt[2749]=-19,zt(vt,2750,2758,-87),vt[2758]=33,zt(vt,2759,2762,-87),vt[2762]=33,zt(vt,2763,2766,-87),zt(vt,2766,2784,33),vt[2784]=-19,zt(vt,2785,2790,33),zt(vt,2790,2800,-87),zt(vt,2800,2817,33),zt(vt,2817,2820,-87),vt[2820]=33,zt(vt,2821,2829,-19),zt(vt,2829,2831,33),zt(vt,2831,2833,-19),zt(vt,2833,2835,33),zt(vt,2835,2857,-19),vt[2857]=33,zt(vt,2858,2865,-19),vt[2865]=33,zt(vt,2866,2868,-19),zt(vt,2868,2870,33),zt(vt,2870,2874,-19),zt(vt,2874,2876,33),vt[2876]=-87,vt[2877]=-19,zt(vt,2878,2884,-87),zt(vt,2884,2887,33),zt(vt,2887,2889,-87),zt(vt,2889,2891,33),zt(vt,2891,2894,-87),zt(vt,2894,2902,33),zt(vt,2902,2904,-87),zt(vt,2904,2908,33),zt(vt,2908,2910,-19),vt[2910]=33,zt(vt,2911,2914,-19),zt(vt,2914,2918,33),zt(vt,2918,2928,-87),zt(vt,2928,2946,33),zt(vt,2946,2948,-87),vt[2948]=33,zt(vt,2949,2955,-19),zt(vt,2955,2958,33),zt(vt,2958,2961,-19),vt[2961]=33,zt(vt,2962,2966,-19),zt(vt,2966,2969,33),zt(vt,2969,2971,-19),vt[2971]=33,vt[2972]=-19,vt[2973]=33,zt(vt,2974,2976,-19),zt(vt,2976,2979,33),zt(vt,2979,2981,-19),zt(vt,2981,2984,33),zt(vt,2984,2987,-19),zt(vt,2987,2990,33),zt(vt,2990,2998,-19),vt[2998]=33,zt(vt,2999,3002,-19),zt(vt,3002,3006,33),zt(vt,3006,3011,-87),zt(vt,3011,3014,33),zt(vt,3014,3017,-87),vt[3017]=33,zt(vt,3018,3022,-87),zt(vt,3022,3031,33),vt[3031]=-87,zt(vt,3032,3047,33),zt(vt,3047,3056,-87),zt(vt,3056,3073,33),zt(vt,3073,3076,-87),vt[3076]=33,zt(vt,3077,3085,-19),vt[3085]=33,zt(vt,3086,3089,-19),vt[3089]=33,zt(vt,3090,3113,-19),vt[3113]=33,zt(vt,3114,3124,-19),vt[3124]=33,zt(vt,3125,3130,-19),zt(vt,3130,3134,33),zt(vt,3134,3141,-87),vt[3141]=33,zt(vt,3142,3145,-87),vt[3145]=33,zt(vt,3146,3150,-87),zt(vt,3150,3157,33),zt(vt,3157,3159,-87),zt(vt,3159,3168,33),zt(vt,3168,3170,-19),zt(vt,3170,3174,33),zt(vt,3174,3184,-87),zt(vt,3184,3202,33),zt(vt,3202,3204,-87),vt[3204]=33,zt(vt,3205,3213,-19),vt[3213]=33,zt(vt,3214,3217,-19),vt[3217]=33,zt(vt,3218,3241,-19),vt[3241]=33,zt(vt,3242,3252,-19),vt[3252]=33,zt(vt,3253,3258,-19),zt(vt,3258,3262,33),zt(vt,3262,3269,-87),vt[3269]=33,zt(vt,3270,3273,-87),vt[3273]=33,zt(vt,3274,3278,-87),zt(vt,3278,3285,33),zt(vt,3285,3287,-87),zt(vt,3287,3294,33),vt[3294]=-19,vt[3295]=33,zt(vt,3296,3298,-19),zt(vt,3298,3302,33),zt(vt,3302,3312,-87),zt(vt,3312,3330,33),zt(vt,3330,3332,-87),vt[3332]=33,zt(vt,3333,3341,-19),vt[3341]=33,zt(vt,3342,3345,-19),vt[3345]=33,zt(vt,3346,3369,-19),vt[3369]=33,zt(vt,3370,3386,-19),zt(vt,3386,3390,33),zt(vt,3390,3396,-87),zt(vt,3396,3398,33),zt(vt,3398,3401,-87),vt[3401]=33,zt(vt,3402,3406,-87),zt(vt,3406,3415,33),vt[3415]=-87,zt(vt,3416,3424,33),zt(vt,3424,3426,-19),zt(vt,3426,3430,33),zt(vt,3430,3440,-87),zt(vt,3440,3585,33),zt(vt,3585,3631,-19),vt[3631]=33,vt[3632]=-19,vt[3633]=-87,zt(vt,3634,3636,-19),zt(vt,3636,3643,-87),zt(vt,3643,3648,33),zt(vt,3648,3654,-19),zt(vt,3654,3663,-87),vt[3663]=33,zt(vt,3664,3674,-87),zt(vt,3674,3713,33),zt(vt,3713,3715,-19),vt[3715]=33,vt[3716]=-19,zt(vt,3717,3719,33),zt(vt,3719,3721,-19),vt[3721]=33,vt[3722]=-19,zt(vt,3723,3725,33),vt[3725]=-19,zt(vt,3726,3732,33),zt(vt,3732,3736,-19),vt[3736]=33,zt(vt,3737,3744,-19),vt[3744]=33,zt(vt,3745,3748,-19),vt[3748]=33,vt[3749]=-19,vt[3750]=33,vt[3751]=-19,zt(vt,3752,3754,33),zt(vt,3754,3756,-19),vt[3756]=33,zt(vt,3757,3759,-19),vt[3759]=33,vt[3760]=-19,vt[3761]=-87,zt(vt,3762,3764,-19),zt(vt,3764,3770,-87),vt[3770]=33,zt(vt,3771,3773,-87),vt[3773]=-19,zt(vt,3774,3776,33),zt(vt,3776,3781,-19),vt[3781]=33,vt[3782]=-87,vt[3783]=33,zt(vt,3784,3790,-87),zt(vt,3790,3792,33),zt(vt,3792,3802,-87),zt(vt,3802,3864,33),zt(vt,3864,3866,-87),zt(vt,3866,3872,33),zt(vt,3872,3882,-87),zt(vt,3882,3893,33),vt[3893]=-87,vt[3894]=33,vt[3895]=-87,vt[3896]=33,vt[3897]=-87,zt(vt,3898,3902,33),zt(vt,3902,3904,-87),zt(vt,3904,3912,-19),vt[3912]=33,zt(vt,3913,3946,-19),zt(vt,3946,3953,33),zt(vt,3953,3973,-87),vt[3973]=33,zt(vt,3974,3980,-87),zt(vt,3980,3984,33),zt(vt,3984,3990,-87),vt[3990]=33,vt[3991]=-87,vt[3992]=33,zt(vt,3993,4014,-87),zt(vt,4014,4017,33),zt(vt,4017,4024,-87),vt[4024]=33,vt[4025]=-87,zt(vt,4026,4256,33),zt(vt,4256,4294,-19),zt(vt,4294,4304,33),zt(vt,4304,4343,-19),zt(vt,4343,4352,33),vt[4352]=-19,vt[4353]=33,zt(vt,4354,4356,-19),vt[4356]=33,zt(vt,4357,4360,-19),vt[4360]=33,vt[4361]=-19,vt[4362]=33,zt(vt,4363,4365,-19),vt[4365]=33,zt(vt,4366,4371,-19),zt(vt,4371,4412,33),vt[4412]=-19,vt[4413]=33,vt[4414]=-19,vt[4415]=33,vt[4416]=-19,zt(vt,4417,4428,33),vt[4428]=-19,vt[4429]=33,vt[4430]=-19,vt[4431]=33,vt[4432]=-19,zt(vt,4433,4436,33),zt(vt,4436,4438,-19),zt(vt,4438,4441,33),vt[4441]=-19,zt(vt,4442,4447,33),zt(vt,4447,4450,-19),vt[4450]=33,vt[4451]=-19,vt[4452]=33,vt[4453]=-19,vt[4454]=33,vt[4455]=-19,vt[4456]=33,vt[4457]=-19,zt(vt,4458,4461,33),zt(vt,4461,4463,-19),zt(vt,4463,4466,33),zt(vt,4466,4468,-19),vt[4468]=33,vt[4469]=-19,zt(vt,4470,4510,33),vt[4510]=-19,zt(vt,4511,4520,33),vt[4520]=-19,zt(vt,4521,4523,33),vt[4523]=-19,zt(vt,4524,4526,33),zt(vt,4526,4528,-19),zt(vt,4528,4535,33),zt(vt,4535,4537,-19),vt[4537]=33,vt[4538]=-19,vt[4539]=33,zt(vt,4540,4547,-19),zt(vt,4547,4587,33),vt[4587]=-19,zt(vt,4588,4592,33),vt[4592]=-19,zt(vt,4593,4601,33),vt[4601]=-19,zt(vt,4602,7680,33),zt(vt,7680,7836,-19),zt(vt,7836,7840,33),zt(vt,7840,7930,-19),zt(vt,7930,7936,33),zt(vt,7936,7958,-19),zt(vt,7958,7960,33),zt(vt,7960,7966,-19),zt(vt,7966,7968,33),zt(vt,7968,8006,-19),zt(vt,8006,8008,33),zt(vt,8008,8014,-19),zt(vt,8014,8016,33),zt(vt,8016,8024,-19),vt[8024]=33,vt[8025]=-19,vt[8026]=33,vt[8027]=-19,vt[8028]=33,vt[8029]=-19,vt[8030]=33,zt(vt,8031,8062,-19),zt(vt,8062,8064,33),zt(vt,8064,8117,-19),vt[8117]=33,zt(vt,8118,8125,-19),vt[8125]=33,vt[8126]=-19,zt(vt,8127,8130,33),zt(vt,8130,8133,-19),vt[8133]=33,zt(vt,8134,8141,-19),zt(vt,8141,8144,33),zt(vt,8144,8148,-19),zt(vt,8148,8150,33),zt(vt,8150,8156,-19),zt(vt,8156,8160,33),zt(vt,8160,8173,-19),zt(vt,8173,8178,33),zt(vt,8178,8181,-19),vt[8181]=33,zt(vt,8182,8189,-19),zt(vt,8189,8400,33),zt(vt,8400,8413,-87),zt(vt,8413,8417,33),vt[8417]=-87,zt(vt,8418,8486,33),vt[8486]=-19,zt(vt,8487,8490,33),zt(vt,8490,8492,-19),zt(vt,8492,8494,33),vt[8494]=-19,zt(vt,8495,8576,33),zt(vt,8576,8579,-19),zt(vt,8579,12293,33),vt[12293]=-87,vt[12294]=33,vt[12295]=-19,zt(vt,12296,12321,33),zt(vt,12321,12330,-19),zt(vt,12330,12336,-87),vt[12336]=33,zt(vt,12337,12342,-87),zt(vt,12342,12353,33),zt(vt,12353,12437,-19),zt(vt,12437,12441,33),zt(vt,12441,12443,-87),zt(vt,12443,12445,33),zt(vt,12445,12447,-87),zt(vt,12447,12449,33),zt(vt,12449,12539,-19),vt[12539]=33,zt(vt,12540,12543,-87),zt(vt,12543,12549,33),zt(vt,12549,12589,-19),zt(vt,12589,19968,33),zt(vt,19968,40870,-19),zt(vt,40870,44032,33),zt(vt,44032,55204,-19),zt(vt,55204,cN,33),zt(vt,57344,65534,33)}function GSn(t){var e,n,r,s,o,h,d;t.hb||(t.hb=!0,mu(t,"ecore"),Xq(t,"ecore"),Qq(t,hf),nO(t.fb,"E"),nO(t.L,"T"),nO(t.P,"K"),nO(t.P,"V"),nO(t.cb,"E"),Or(Yo(t.b),t.bb),Or(Yo(t.a),t.Q),Or(Yo(t.o),t.p),Or(Yo(t.p),t.R),Or(Yo(t.q),t.p),Or(Yo(t.v),t.q),Or(Yo(t.w),t.R),Or(Yo(t.B),t.Q),Or(Yo(t.R),t.Q),Or(Yo(t.T),t.eb),Or(Yo(t.U),t.R),Or(Yo(t.V),t.eb),Or(Yo(t.W),t.bb),Or(Yo(t.bb),t.eb),Or(Yo(t.eb),t.R),Or(Yo(t.db),t.R),Ec(t.b,V3,$me,!1,!1,!0),vs(u(Dt(Qt(t.b),0),35),t.e,"iD",null,0,1,V3,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.b),1),19),t.q,null,"eAttributeType",1,1,V3,!0,!0,!1,!1,!0,!1,!0),Ec(t.a,ci,Bme,!1,!1,!0),vs(u(Dt(Qt(t.a),0),35),t._,Ult,null,0,1,ci,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.a),1),19),t.ab,null,"details",0,-1,ci,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.a),2),19),t.Q,u(Dt(Qt(t.Q),0),19),"eModelElement",0,1,ci,!0,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.a),3),19),t.S,null,"contents",0,-1,ci,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.a),4),19),t.S,null,"references",0,-1,ci,!1,!1,!0,!1,!0,!1,!1),Ec(t.o,mf,"EClass",!1,!1,!0),vs(u(Dt(Qt(t.o),0),35),t.e,"abstract",null,0,1,mf,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.o),1),35),t.e,"interface",null,0,1,mf,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.o),2),19),t.o,null,"eSuperTypes",0,-1,mf,!1,!1,!0,!1,!0,!0,!1),Ui(u(Dt(Qt(t.o),3),19),t.T,u(Dt(Qt(t.T),0),19),"eOperations",0,-1,mf,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.o),4),19),t.b,null,"eAllAttributes",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),5),19),t.W,null,"eAllReferences",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),6),19),t.W,null,"eReferences",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),7),19),t.b,null,"eAttributes",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),8),19),t.W,null,"eAllContainments",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),9),19),t.T,null,"eAllOperations",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),10),19),t.bb,null,"eAllStructuralFeatures",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),11),19),t.o,null,"eAllSuperTypes",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.o),12),19),t.b,null,"eIDAttribute",0,1,mf,!0,!0,!1,!1,!1,!1,!0),Ui(u(Dt(Qt(t.o),13),19),t.bb,u(Dt(Qt(t.bb),7),19),"eStructuralFeatures",0,-1,mf,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.o),14),19),t.H,null,"eGenericSuperTypes",0,-1,mf,!1,!1,!0,!0,!1,!0,!1),Ui(u(Dt(Qt(t.o),15),19),t.H,null,"eAllGenericSuperTypes",0,-1,mf,!0,!0,!1,!1,!0,!1,!0),d=Oo(u(Dt(Di(t.o),0),62),t.e,"isSuperTypeOf"),qo(d,t.o,"someClass"),Oo(u(Dt(Di(t.o),1),62),t.I,"getFeatureCount"),d=Oo(u(Dt(Di(t.o),2),62),t.bb,Jme),qo(d,t.I,"featureID"),d=Oo(u(Dt(Di(t.o),3),62),t.I,Zme),qo(d,t.bb,bA),d=Oo(u(Dt(Di(t.o),4),62),t.bb,Jme),qo(d,t._,"featureName"),Oo(u(Dt(Di(t.o),5),62),t.I,"getOperationCount"),d=Oo(u(Dt(Di(t.o),6),62),t.T,"getEOperation"),qo(d,t.I,"operationID"),d=Oo(u(Dt(Di(t.o),7),62),t.I,tve),qo(d,t.T,HTt),d=Oo(u(Dt(Di(t.o),8),62),t.T,"getOverride"),qo(d,t.T,HTt),d=Oo(u(Dt(Di(t.o),9),62),t.H,"getFeatureType"),qo(d,t.bb,bA),Ec(t.p,B1,zme,!0,!1,!0),vs(u(Dt(Qt(t.p),0),35),t._,"instanceClassName",null,0,1,B1,!1,!0,!0,!0,!0,!1),e=mg(t.L),n=g3t(),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),W1e(u(Dt(Qt(t.p),1),35),e,"instanceClass",B1,!0,!0,!1,!0),vs(u(Dt(Qt(t.p),2),35),t.M,eve,null,0,1,B1,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.p),3),35),t._,"instanceTypeName",null,0,1,B1,!1,!0,!0,!0,!0,!1),Ui(u(Dt(Qt(t.p),4),19),t.U,u(Dt(Qt(t.U),3),19),"ePackage",0,1,B1,!0,!1,!1,!1,!0,!1,!1),Ui(u(Dt(Qt(t.p),5),19),t.db,null,nve,0,-1,B1,!1,!1,!0,!0,!0,!1,!1),d=Oo(u(Dt(Di(t.p),0),62),t.e,rve),qo(d,t.M,ZO),Oo(u(Dt(Di(t.p),1),62),t.I,"getClassifierID"),Ec(t.q,n0t,"EDataType",!1,!1,!0),vs(u(Dt(Qt(t.q),0),35),t.e,"serializable",uT,0,1,n0t,!1,!1,!0,!1,!0,!1),Ec(t.v,YK,"EEnum",!1,!1,!0),Ui(u(Dt(Qt(t.v),0),19),t.w,u(Dt(Qt(t.w),3),19),"eLiterals",0,-1,YK,!1,!1,!0,!0,!1,!1,!1),d=Oo(u(Dt(Di(t.v),0),62),t.w,ive),qo(d,t._,pi),d=Oo(u(Dt(Di(t.v),1),62),t.w,ive),qo(d,t.I,cA),d=Oo(u(Dt(Di(t.v),2),62),t.w,"getEEnumLiteralByLiteral"),qo(d,t._,"literal"),Ec(t.w,Vg,qme,!1,!1,!0),vs(u(Dt(Qt(t.w),0),35),t.I,cA,null,0,1,Vg,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.w),1),35),t.A,"instance",null,0,1,Vg,!0,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.w),2),35),t._,"literal",null,0,1,Vg,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.w),3),19),t.v,u(Dt(Qt(t.v),0),19),"eEnum",0,1,Vg,!0,!1,!1,!1,!1,!1,!1),Ec(t.B,EL,"EFactory",!1,!1,!0),Ui(u(Dt(Qt(t.B),0),19),t.U,u(Dt(Qt(t.U),2),19),"ePackage",1,1,EL,!0,!1,!0,!1,!1,!1,!1),d=Oo(u(Dt(Di(t.B),0),62),t.S,"create"),qo(d,t.o,"eClass"),d=Oo(u(Dt(Di(t.B),1),62),t.M,"createFromString"),qo(d,t.q,"eDataType"),qo(d,t._,"literalValue"),d=Oo(u(Dt(Di(t.B),2),62),t._,"convertToString"),qo(d,t.q,"eDataType"),qo(d,t.M,"instanceValue"),Ec(t.Q,HP,qwe,!0,!1,!0),Ui(u(Dt(Qt(t.Q),0),19),t.a,u(Dt(Qt(t.a),2),19),"eAnnotations",0,-1,HP,!1,!1,!0,!0,!1,!1,!1),d=Oo(u(Dt(Di(t.Q),0),62),t.a,"getEAnnotation"),qo(d,t._,Ult),Ec(t.R,Xdt,Hwe,!0,!1,!0),vs(u(Dt(Qt(t.R),0),35),t._,pi,null,0,1,Xdt,!1,!1,!0,!1,!0,!1),Ec(t.S,p2,"EObject",!1,!1,!0),Oo(u(Dt(Di(t.S),0),62),t.o,"eClass"),Oo(u(Dt(Di(t.S),1),62),t.e,"eIsProxy"),Oo(u(Dt(Di(t.S),2),62),t.X,"eResource"),Oo(u(Dt(Di(t.S),3),62),t.S,"eContainer"),Oo(u(Dt(Di(t.S),4),62),t.bb,"eContainingFeature"),Oo(u(Dt(Di(t.S),5),62),t.W,"eContainmentFeature"),d=Oo(u(Dt(Di(t.S),6),62),null,"eContents"),e=mg(t.fb),n=mg(t.S),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),s=hd(d,e,null),s&&s.oj(),d=Oo(u(Dt(Di(t.S),7),62),null,"eAllContents"),e=mg(t.cb),n=mg(t.S),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),o=hd(d,e,null),o&&o.oj(),d=Oo(u(Dt(Di(t.S),8),62),null,"eCrossReferences"),e=mg(t.fb),n=mg(t.S),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),h=hd(d,e,null),h&&h.oj(),d=Oo(u(Dt(Di(t.S),9),62),t.M,"eGet"),qo(d,t.bb,bA),d=Oo(u(Dt(Di(t.S),10),62),t.M,"eGet"),qo(d,t.bb,bA),qo(d,t.e,"resolve"),d=Oo(u(Dt(Di(t.S),11),62),null,"eSet"),qo(d,t.bb,bA),qo(d,t.M,"newValue"),d=Oo(u(Dt(Di(t.S),12),62),t.e,"eIsSet"),qo(d,t.bb,bA),d=Oo(u(Dt(Di(t.S),13),62),null,"eUnset"),qo(d,t.bb,bA),d=Oo(u(Dt(Di(t.S),14),62),t.M,"eInvoke"),qo(d,t.T,HTt),e=mg(t.fb),n=g3t(),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),jH(d,e,"arguments"),Iln(d,t.K),Ec(t.T,vf,Vme,!1,!1,!0),Ui(u(Dt(Qt(t.T),0),19),t.o,u(Dt(Qt(t.o),3),19),sve,0,1,vf,!0,!1,!1,!1,!1,!1,!1),Ui(u(Dt(Qt(t.T),1),19),t.db,null,nve,0,-1,vf,!1,!1,!0,!0,!0,!1,!1),Ui(u(Dt(Qt(t.T),2),19),t.V,u(Dt(Qt(t.V),0),19),"eParameters",0,-1,vf,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.T),3),19),t.p,null,"eExceptions",0,-1,vf,!1,!1,!0,!1,!0,!0,!1),Ui(u(Dt(Qt(t.T),4),19),t.H,null,"eGenericExceptions",0,-1,vf,!1,!1,!0,!0,!1,!0,!1),Oo(u(Dt(Di(t.T),0),62),t.I,tve),d=Oo(u(Dt(Di(t.T),1),62),t.e,"isOverrideOf"),qo(d,t.T,"someOperation"),Ec(t.U,F1,"EPackage",!1,!1,!0),vs(u(Dt(Qt(t.U),0),35),t._,"nsURI",null,0,1,F1,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.U),1),35),t._,"nsPrefix",null,0,1,F1,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.U),2),19),t.B,u(Dt(Qt(t.B),0),19),"eFactoryInstance",1,1,F1,!0,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.U),3),19),t.p,u(Dt(Qt(t.p),4),19),"eClassifiers",0,-1,F1,!1,!1,!0,!0,!0,!1,!1),Ui(u(Dt(Qt(t.U),4),19),t.U,u(Dt(Qt(t.U),5),19),"eSubpackages",0,-1,F1,!1,!1,!0,!0,!0,!1,!1),Ui(u(Dt(Qt(t.U),5),19),t.U,u(Dt(Qt(t.U),4),19),"eSuperPackage",0,1,F1,!0,!1,!1,!1,!0,!1,!1),d=Oo(u(Dt(Di(t.U),0),62),t.p,"getEClassifier"),qo(d,t._,pi),Ec(t.V,Ov,Ume,!1,!1,!0),Ui(u(Dt(Qt(t.V),0),19),t.T,u(Dt(Qt(t.T),2),19),"eOperation",0,1,Ov,!0,!1,!1,!1,!1,!1,!1),Ec(t.W,U3,Gme,!1,!1,!0),vs(u(Dt(Qt(t.W),0),35),t.e,"containment",null,0,1,U3,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.W),1),35),t.e,"container",null,0,1,U3,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.W),2),35),t.e,"resolveProxies",uT,0,1,U3,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.W),3),19),t.W,null,"eOpposite",0,1,U3,!1,!1,!0,!1,!0,!1,!1),Ui(u(Dt(Qt(t.W),4),19),t.o,null,"eReferenceType",1,1,U3,!0,!0,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.W),5),19),t.b,null,"eKeys",0,-1,U3,!1,!1,!0,!1,!0,!1,!1),Ec(t.bb,Wu,jme,!0,!1,!0),vs(u(Dt(Qt(t.bb),0),35),t.e,"changeable",uT,0,1,Wu,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),1),35),t.e,"volatile",null,0,1,Wu,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),2),35),t.e,"transient",null,0,1,Wu,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),3),35),t._,"defaultValueLiteral",null,0,1,Wu,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),4),35),t.M,eve,null,0,1,Wu,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.bb),5),35),t.e,"unsettable",null,0,1,Wu,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),6),35),t.e,"derived",null,0,1,Wu,!1,!1,!0,!1,!0,!1),Ui(u(Dt(Qt(t.bb),7),19),t.o,u(Dt(Qt(t.o),13),19),sve,0,1,Wu,!0,!1,!1,!1,!1,!1,!1),Oo(u(Dt(Di(t.bb),0),62),t.I,Zme),d=Oo(u(Dt(Di(t.bb),1),62),null,"getContainerClass"),e=mg(t.L),n=g3t(),Or((!e.d&&(e.d=new Ps(Do,e,1)),e.d),n),r=hd(d,e,null),r&&r.oj(),Ec(t.eb,H3,Rme,!0,!1,!0),vs(u(Dt(Qt(t.eb),0),35),t.e,"ordered",uT,0,1,H3,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.eb),1),35),t.e,"unique",uT,0,1,H3,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.eb),2),35),t.I,"lowerBound",null,0,1,H3,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.eb),3),35),t.I,"upperBound","1",0,1,H3,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.eb),4),35),t.e,"many",null,0,1,H3,!0,!0,!1,!1,!0,!0),vs(u(Dt(Qt(t.eb),5),35),t.e,"required",null,0,1,H3,!0,!0,!1,!1,!0,!0),Ui(u(Dt(Qt(t.eb),6),19),t.p,null,"eType",0,1,H3,!1,!0,!0,!1,!0,!0,!1),Ui(u(Dt(Qt(t.eb),7),19),t.H,null,"eGenericType",0,1,H3,!1,!0,!0,!0,!1,!0,!1),Ec(t.ab,Sw,"EStringToStringMapEntry",!1,!1,!1),vs(u(Dt(Qt(t.ab),0),35),t._,"key",null,0,1,Sw,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.ab),1),35),t._,cA,null,0,1,Sw,!1,!1,!0,!1,!0,!1),Ec(t.H,Do,Hme,!1,!1,!0),Ui(u(Dt(Qt(t.H),0),19),t.H,null,"eUpperBound",0,1,Do,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.H),1),19),t.H,null,"eTypeArguments",0,-1,Do,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.H),2),19),t.p,null,"eRawType",1,1,Do,!0,!1,!1,!1,!0,!1,!0),Ui(u(Dt(Qt(t.H),3),19),t.H,null,"eLowerBound",0,1,Do,!1,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.H),4),19),t.db,null,"eTypeParameter",0,1,Do,!1,!1,!0,!1,!1,!1,!1),Ui(u(Dt(Qt(t.H),5),19),t.p,null,"eClassifier",0,1,Do,!1,!1,!0,!1,!0,!1,!1),d=Oo(u(Dt(Di(t.H),0),62),t.e,rve),qo(d,t.M,ZO),Ec(t.db,Nu,Kme,!1,!1,!0),Ui(u(Dt(Qt(t.db),0),19),t.H,null,"eBounds",0,-1,Nu,!1,!1,!0,!0,!1,!1,!1),fi(t.c,Mht,"EBigDecimal",!0),fi(t.d,N5,"EBigInteger",!0),fi(t.e,Fl,"EBoolean",!0),fi(t.f,ys,"EBooleanObject",!0),fi(t.i,ul,"EByte",!0),fi(t.g,ut(ul,1),"EByteArray",!0),fi(t.j,Fk,"EByteObject",!0),fi(t.k,Yh,"EChar",!0),fi(t.n,vA,"ECharacterObject",!0),fi(t.r,OU,"EDate",!0),fi(t.s,pOt,"EDiagnosticChain",!1),fi(t.t,ma,"EDouble",!0),fi(t.u,zs,"EDoubleObject",!0),fi(t.fb,DIt,"EEList",!1),fi(t.A,OIt,"EEnumerator",!1),fi(t.C,nOt,"EFeatureMap",!1),fi(t.D,XK,"EFeatureMapEntry",!1),fi(t.F,Y3,"EFloat",!0),fi(t.G,wT,"EFloatObject",!0),fi(t.I,Fr,"EInt",!0),fi(t.J,Ra,"EIntegerObject",!0),fi(t.L,t9t,"EJavaClass",!0),fi(t.M,aa,"EJavaObject",!0),fi(t.N,x2,"ELong",!0),fi(t.O,gv,"ELongObject",!0),fi(t.P,e9t,"EMap",!1),fi(t.X,JIt,"EResource",!1),fi(t.Y,bOt,"EResourceSet",!1),fi(t.Z,wx,"EShort",!0),fi(t.$,pv,"EShortObject",!0),fi(t._,Pe,"EString",!0),fi(t.cb,IIt,"ETreeIterator",!1),fi(t.K,wOt,"EInvocationTargetException",!1),g5t(t,hf))}var ZO="object",kk="boolean",u8t="number",Nct="string",Pct="function",xi=2147483647,Sc="java.lang",tN={3:1},eN="com.google.common.base",ao=", ",abe="%s (%s) must not be negative",Ln={3:1,4:1,5:1},obe="negative size: ",l8t="no calls to next() since the last call to remove()",cbe="Optional.of(",Vu="null",V7={204:1,51:1},on="com.google.common.collect",U7={204:1,51:1,128:1},pw={229:1,3:1},wa={51:1},xr="java.util",sv={85:1},o3={20:1,31:1,16:1},dd=2063,sl={20:1,31:1,16:1,21:1},h8t={85:1,139:1,133:1},ube={20:1,31:1,16:1,21:1,87:1},f8t={20:1,31:1,16:1,277:1,21:1,87:1},P0={51:1,128:1},Fct={358:1,44:1},lbe="AbstractMapEntry",hbe="expectedValuesPerKey",ue={3:1,6:1,4:1,5:1},Jd=16384,fh={159:1},ir={41:1},nN={202:1},rN={l:4194303,m:4194303,h:524287},Bct={253:1,3:1,34:1},fbe="range unbounded on this side",F0={20:1},dbe={20:1,16:1},d8t={3:1,20:1,31:1,16:1},G7={306:1,3:1,20:1,31:1,16:1,15:1,59:1},xV={3:1,4:1,5:1,173:1},K7={3:1,85:1},Rct={20:1,16:1,21:1},Ek={3:1,20:1,31:1,16:1,21:1},gbe={20:1,16:1,21:1,87:1},B0=461845907,R0=-862048943,iN={3:1,6:1,4:1,5:1,173:1},pbe="expectedSize",Uf=1024,z_=1073741824,c3="initialArraySize",te={3:1,6:1,4:1,9:1,5:1},W7={20:1,31:1,56:1,16:1,15:1},jct="arraySize",bbe={20:1,31:1,56:1,16:1,15:1,59:1},Kr={46:1},kV={380:1},Kb=1e-4,Ga=-2147483648,wbe="__noinit__",Pg={3:1,103:1,63:1,82:1},sN="com.google.gwt.core.client.impl",g8t="String",p8t="com.google.gwt.core.client",$ct="anonymous",zct="fnStack",b8t="Unknown",Zd={201:1,3:1,4:1},Rp=1e3,js=65535,qct="January",Hct="February",Vct="March",Uct="April",Tk="May",Gct="June",Kct="July",Wct="August",Yct="September",Xct="October",Qct="November",Jct="December",Wb=1900,ii={53:1,3:1,4:1},mbe="Before Christ",vbe="Anno Domini",Zct="Sunday",tut="Monday",eut="Tuesday",nut="Wednesday",rut="Thursday",iut="Friday",sut="Saturday",w8t="com.google.gwt.i18n.shared",ybe="DateTimeFormat",aut="com.google.gwt.i18n.client",xbe="DefaultDateTimeFormatInfo",kbe={3:1,4:1,34:1,206:1},Ck="com.google.gwt.json.client",Il=4194303,Fg=1048575,aN=524288,Sk=4194304,bw=17592186044416,EV=1e9,oN=-17592186044416,m8t="java.io",out={3:1,103:1,77:1,63:1,82:1},Ebe={3:1,295:1,82:1},av='For input string: "',Zi=1/0,Vs=-1/0,u3=4096,cut={3:1,4:1,376:1},Qn="org.eclipse.elk.layered",po=65536,cN=55296,No={109:1,3:1,4:1},uut=1e5,Tbe=.3010299956639812,So=4294967295,Y7="0.0",lut={44:1},X7="Unable to add element to queue",Cbe={3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1},Sbe={3:1,20:1,31:1,56:1,16:1,15:1,59:1},_be={20:1,16:1,15:1},hut={3:1,50:1},uN={189:1},E5={3:1,4:1,85:1},v8t={3:1,4:1,20:1,31:1,16:1,49:1,21:1},fut="delete",q_=14901161193847656e-24,H_=11102230246251565e-32,dut=15525485,lN=5960464477539063e-23,y8t=16777216,TV=16777215,x8t=", length: ",Abe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1},k8t="subMap: ",Lbe=" less than ",gut={3:1,34:1,22:1,303:1},put="java.util.function",V_="java.util.logging",Dbe={3:1,4:1,5:1,856:1},but="undefined",Us="java.util.stream",E8t={533:1,687:1},CV="fromIndex: ",Mbe=" > toIndex: ",T8t=", toIndex: ",C8t="Index: ",S8t=", Size: ",Q7="org.eclipse.elk.alg.common",Xr={50:1},Ibe="org.eclipse.elk.alg.common.compaction",Obe="Scanline/EventHandler",j0="org.eclipse.elk.alg.common.compaction.oned",Nbe="CNode belongs to another CGroup.",Pbe="ISpacingsHandler/1",wut="The ",mut=" instance has been finished already.",Fbe="The direction ",Bbe=" is not supported by the CGraph instance.",Rbe="OneDimensionalCompactor",jbe="OneDimensionalCompactor/lambda$0$Type",$be="Quadruplet",zbe="ScanlineConstraintCalculator",qbe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Hbe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",Vbe="ScanlineConstraintCalculator/Timestamp",Ube="ScanlineConstraintCalculator/lambda$0$Type",t0={178:1,46:1},vut="org.eclipse.elk.alg.common.compaction.options",pc="org.eclipse.elk.core.data",_8t="org.eclipse.elk.polyomino.traversalStrategy",A8t="org.eclipse.elk.polyomino.lowLevelSort",L8t="org.eclipse.elk.polyomino.highLevelSort",D8t="org.eclipse.elk.polyomino.fill",uf={134:1},yut="polyomino",U_="org.eclipse.elk.alg.common.networksimplex",$0={183:1,3:1,4:1},Gbe="org.eclipse.elk.alg.common.nodespacing",ww="org.eclipse.elk.alg.common.nodespacing.cellsystem",J7="CENTER",Kbe={217:1,336:1},M8t={3:1,4:1,5:1,603:1},_k="LEFT",Ak="RIGHT",I8t="Vertical alignment cannot be null",O8t="BOTTOM",SV="org.eclipse.elk.alg.common.nodespacing.internal",G_="UNDEFINED",gd=.01,hN="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",Wbe="LabelPlacer/lambda$0$Type",Ybe="LabelPlacer/lambda$1$Type",Xbe="portRatioOrPosition",Z7="org.eclipse.elk.alg.common.overlaps",xut="DOWN",e0="org.eclipse.elk.alg.common.polyomino",_V="NORTH",kut="EAST",Eut="SOUTH",Tut="WEST",AV="org.eclipse.elk.alg.common.polyomino.structures",N8t="Direction",Cut="Grid is only of size ",Sut=". Requested point (",_ut=") is out of bounds.",LV=" Given center based coordinates were (",fN="org.eclipse.elk.graph.properties",Qbe="IPropertyHolder",P8t={3:1,96:1,137:1},Lk="org.eclipse.elk.alg.common.spore",Jbe="org.eclipse.elk.alg.common.utils",mw={205:1},T5="org.eclipse.elk.core",Zbe="Connected Components Compaction",t2e="org.eclipse.elk.alg.disco",DV="org.eclipse.elk.alg.disco.graph",Aut="org.eclipse.elk.alg.disco.options",F8t="CompactionStrategy",B8t="org.eclipse.elk.disco.componentCompaction.strategy",R8t="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",j8t="org.eclipse.elk.disco.debug.discoGraph",$8t="org.eclipse.elk.disco.debug.discoPolys",e2e="componentCompaction",vw="org.eclipse.elk.disco",Lut="org.eclipse.elk.spacing.componentComponent",Dut="org.eclipse.elk.edge.thickness",Dk="org.eclipse.elk.aspectRatio",ov="org.eclipse.elk.padding",C5="org.eclipse.elk.alg.disco.transform",Mut=1.5707963267948966,S5=17976931348623157e292,l3={3:1,4:1,5:1,198:1},n2e={3:1,6:1,4:1,5:1,100:1,115:1},Iut="org.eclipse.elk.alg.force",z8t="ComponentsProcessor",r2e="ComponentsProcessor/1",q8t="ElkGraphImporter/lambda$0$Type",dN="org.eclipse.elk.alg.force.graph",i2e="Component Layout",H8t="org.eclipse.elk.alg.force.model",MV="org.eclipse.elk.force.model",V8t="org.eclipse.elk.force.iterations",U8t="org.eclipse.elk.force.repulsivePower",Out="org.eclipse.elk.force.temperature",n0=.001,Nut="org.eclipse.elk.force.repulsion",K_="org.eclipse.elk.alg.force.options",tT=1.600000023841858,Du="org.eclipse.elk.force",gN="org.eclipse.elk.priority",h3="org.eclipse.elk.spacing.nodeNode",Put="org.eclipse.elk.spacing.edgeLabel",IV="org.eclipse.elk.randomSeed",W_="org.eclipse.elk.separateConnectedComponents",Y_="org.eclipse.elk.interactive",Fut="org.eclipse.elk.portConstraints",OV="org.eclipse.elk.edgeLabels.inline",X_="org.eclipse.elk.omitNodeMicroLayout",eT="org.eclipse.elk.nodeSize.fixedGraphSize",Mk="org.eclipse.elk.nodeSize.options",_5="org.eclipse.elk.nodeSize.constraints",nT="org.eclipse.elk.nodeLabels.placement",rT="org.eclipse.elk.portLabels.placement",pN="org.eclipse.elk.topdownLayout",bN="org.eclipse.elk.topdown.scaleFactor",wN="org.eclipse.elk.topdown.hierarchicalNodeWidth",mN="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",cv="org.eclipse.elk.topdown.nodeType",G8t="origin",s2e="random",a2e="boundingBox.upLeft",o2e="boundingBox.lowRight",K8t="org.eclipse.elk.stress.fixed",W8t="org.eclipse.elk.stress.desiredEdgeLength",Y8t="org.eclipse.elk.stress.dimension",X8t="org.eclipse.elk.stress.epsilon",Q8t="org.eclipse.elk.stress.iterationLimit",Yb="org.eclipse.elk.stress",c2e="ELK Stress",Ik="org.eclipse.elk.nodeSize.minimum",NV="org.eclipse.elk.alg.force.stress",u2e="Layered layout",Ok="org.eclipse.elk.alg.layered",vN="org.eclipse.elk.alg.layered.compaction.components",Q_="org.eclipse.elk.alg.layered.compaction.oned",PV="org.eclipse.elk.alg.layered.compaction.oned.algs",yw="org.eclipse.elk.alg.layered.compaction.recthull",pd="org.eclipse.elk.alg.layered.components",r0="NONE",J8t="MODEL_ORDER",qc={3:1,6:1,4:1,9:1,5:1,126:1},l2e={3:1,6:1,4:1,5:1,150:1,100:1,115:1},FV="org.eclipse.elk.alg.layered.compound",zi={47:1},au="org.eclipse.elk.alg.layered.graph",But=" -> ",h2e="Not supported by LGraph",Z8t="Port side is undefined",Rut={3:1,6:1,4:1,5:1,482:1,150:1,100:1,115:1},jp={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},f2e={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},d2e=`([{"' \r
1338 `,p2e="The given string contains parts that cannot be parsed as numbers.",yN="org.eclipse.elk.core.math",b2e={3:1,4:1,140:1,214:1,423:1},w2e={3:1,4:1,107:1,214:1,423:1},$p="org.eclipse.elk.alg.layered.graph.transform",m2e="ElkGraphImporter",v2e="ElkGraphImporter/lambda$1$Type",y2e="ElkGraphImporter/lambda$2$Type",x2e="ElkGraphImporter/lambda$4$Type",Yn="org.eclipse.elk.alg.layered.intermediate",k2e="Node margin calculation",E2e="ONE_SIDED_GREEDY_SWITCH",T2e="TWO_SIDED_GREEDY_SWITCH",jut="No implementation is available for the layout processor ",$ut="IntermediateProcessorStrategy",zut="Node '",C2e="FIRST_SEPARATE",S2e="LAST_SEPARATE",_2e="Odd port side processing",Gs="org.eclipse.elk.alg.layered.intermediate.compaction",J_="org.eclipse.elk.alg.layered.intermediate.greedyswitch",z0="org.eclipse.elk.alg.layered.p3order.counting",xN={230:1},Nk="org.eclipse.elk.alg.layered.intermediate.loops",dh="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Xb="org.eclipse.elk.alg.layered.intermediate.loops.routing",tEt="org.eclipse.elk.alg.layered.intermediate.preserveorder",i0="org.eclipse.elk.alg.layered.intermediate.wrapping",Hc="org.eclipse.elk.alg.layered.options",qut="INTERACTIVE",eEt="GREEDY",A2e="DEPTH_FIRST",L2e="EDGE_LENGTH",D2e="SELF_LOOPS",M2e="firstTryWithInitialOrder",nEt="org.eclipse.elk.layered.directionCongruency",rEt="org.eclipse.elk.layered.feedbackEdges",BV="org.eclipse.elk.layered.interactiveReferencePoint",iEt="org.eclipse.elk.layered.mergeEdges",sEt="org.eclipse.elk.layered.mergeHierarchyEdges",aEt="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",oEt="org.eclipse.elk.layered.portSortingStrategy",cEt="org.eclipse.elk.layered.thoroughness",uEt="org.eclipse.elk.layered.unnecessaryBendpoints",lEt="org.eclipse.elk.layered.generatePositionAndLayerIds",Hut="org.eclipse.elk.layered.cycleBreaking.strategy",kN="org.eclipse.elk.layered.layering.strategy",hEt="org.eclipse.elk.layered.layering.layerConstraint",fEt="org.eclipse.elk.layered.layering.layerChoiceConstraint",dEt="org.eclipse.elk.layered.layering.layerId",Vut="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",Uut="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Gut="org.eclipse.elk.layered.layering.nodePromotion.strategy",Kut="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",Wut="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",Z_="org.eclipse.elk.layered.crossingMinimization.strategy",gEt="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",Yut="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",Xut="org.eclipse.elk.layered.crossingMinimization.semiInteractive",pEt="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",bEt="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",wEt="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",mEt="org.eclipse.elk.layered.crossingMinimization.positionId",vEt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",Qut="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",RV="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",A5="org.eclipse.elk.layered.nodePlacement.strategy",jV="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",Jut="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",Zut="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",tlt="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",elt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",nlt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",yEt="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",xEt="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",$V="org.eclipse.elk.layered.edgeRouting.splines.mode",zV="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",rlt="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",kEt="org.eclipse.elk.layered.spacing.baseValue",EEt="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",TEt="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",CEt="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",SEt="org.eclipse.elk.layered.priority.direction",_Et="org.eclipse.elk.layered.priority.shortness",AEt="org.eclipse.elk.layered.priority.straightness",ilt="org.eclipse.elk.layered.compaction.connectedComponents",LEt="org.eclipse.elk.layered.compaction.postCompaction.strategy",DEt="org.eclipse.elk.layered.compaction.postCompaction.constraints",qV="org.eclipse.elk.layered.highDegreeNodes.treatment",slt="org.eclipse.elk.layered.highDegreeNodes.threshold",alt="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Bg="org.eclipse.elk.layered.wrapping.strategy",HV="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",VV="org.eclipse.elk.layered.wrapping.correctionFactor",tA="org.eclipse.elk.layered.wrapping.cutting.strategy",olt="org.eclipse.elk.layered.wrapping.cutting.cuts",clt="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",UV="org.eclipse.elk.layered.wrapping.validify.strategy",GV="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",KV="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",WV="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",ult="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",MEt="org.eclipse.elk.layered.edgeLabels.sideSelection",IEt="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",YV="org.eclipse.elk.layered.considerModelOrder.strategy",OEt="org.eclipse.elk.layered.considerModelOrder.portModelOrder",NEt="org.eclipse.elk.layered.considerModelOrder.noModelOrder",llt="org.eclipse.elk.layered.considerModelOrder.components",PEt="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",hlt="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",flt="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",dlt="layering",I2e="layering.minWidth",O2e="layering.nodePromotion",iT="crossingMinimization",XV="org.eclipse.elk.hierarchyHandling",N2e="crossingMinimization.greedySwitch",P2e="nodePlacement",F2e="nodePlacement.bk",B2e="edgeRouting",EN="org.eclipse.elk.edgeRouting",bd="spacing",FEt="priority",BEt="compaction",R2e="compaction.postCompaction",j2e="Specifies whether and how post-process compaction is applied.",REt="highDegreeNodes",jEt="wrapping",$2e="wrapping.cutting",z2e="wrapping.validify",$Et="wrapping.multiEdge",glt="edgeLabels",eA="considerModelOrder",zEt="org.eclipse.elk.spacing.commentComment",qEt="org.eclipse.elk.spacing.commentNode",HEt="org.eclipse.elk.spacing.edgeEdge",plt="org.eclipse.elk.spacing.edgeNode",VEt="org.eclipse.elk.spacing.labelLabel",UEt="org.eclipse.elk.spacing.labelPortHorizontal",GEt="org.eclipse.elk.spacing.labelPortVertical",KEt="org.eclipse.elk.spacing.labelNode",WEt="org.eclipse.elk.spacing.nodeSelfLoop",YEt="org.eclipse.elk.spacing.portPort",XEt="org.eclipse.elk.spacing.individual",QEt="org.eclipse.elk.port.borderOffset",JEt="org.eclipse.elk.noLayout",ZEt="org.eclipse.elk.port.side",TN="org.eclipse.elk.debugMode",t7t="org.eclipse.elk.alignment",e7t="org.eclipse.elk.insideSelfLoops.activate",n7t="org.eclipse.elk.insideSelfLoops.yo",blt="org.eclipse.elk.direction",r7t="org.eclipse.elk.nodeLabels.padding",i7t="org.eclipse.elk.portLabels.nextToPortIfPossible",s7t="org.eclipse.elk.portLabels.treatAsGroup",a7t="org.eclipse.elk.portAlignment.default",o7t="org.eclipse.elk.portAlignment.north",c7t="org.eclipse.elk.portAlignment.south",u7t="org.eclipse.elk.portAlignment.west",l7t="org.eclipse.elk.portAlignment.east",QV="org.eclipse.elk.contentAlignment",h7t="org.eclipse.elk.junctionPoints",f7t="org.eclipse.elk.edgeLabels.placement",d7t="org.eclipse.elk.port.index",g7t="org.eclipse.elk.commentBox",p7t="org.eclipse.elk.hypernode",b7t="org.eclipse.elk.port.anchor",wlt="org.eclipse.elk.partitioning.activate",mlt="org.eclipse.elk.partitioning.partition",JV="org.eclipse.elk.position",w7t="org.eclipse.elk.margins",m7t="org.eclipse.elk.spacing.portsSurrounding",ZV="org.eclipse.elk.interactiveLayout",_c="org.eclipse.elk.core.util",v7t={3:1,4:1,5:1,601:1},q2e="NETWORK_SIMPLEX",y7t="SIMPLE",_o={106:1,47:1},tU="org.eclipse.elk.alg.layered.p1cycles",Rg="org.eclipse.elk.alg.layered.p2layers",x7t={413:1,230:1},H2e={846:1,3:1,4:1},al="org.eclipse.elk.alg.layered.p3order",Ao="org.eclipse.elk.alg.layered.p4nodes",V2e={3:1,4:1,5:1,854:1},s0=1e-5,Qb="org.eclipse.elk.alg.layered.p4nodes.bk",vlt="org.eclipse.elk.alg.layered.p5edges",M1="org.eclipse.elk.alg.layered.p5edges.orthogonal",ylt="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",xlt=1e-6,f3="org.eclipse.elk.alg.layered.p5edges.splines",klt=.09999999999999998,eU=1e-8,U2e=4.71238898038469,k7t=3.141592653589793,jg="org.eclipse.elk.alg.mrtree",Elt=.10000000149011612,nU="SUPER_ROOT",nA="org.eclipse.elk.alg.mrtree.graph",E7t=-17976931348623157e292,ou="org.eclipse.elk.alg.mrtree.intermediate",G2e="Processor compute fanout",rU={3:1,6:1,4:1,5:1,534:1,100:1,115:1},K2e="Set neighbors in level",CN="org.eclipse.elk.alg.mrtree.options",W2e="DESCENDANTS",T7t="org.eclipse.elk.mrtree.compaction",C7t="org.eclipse.elk.mrtree.edgeEndTextureLength",S7t="org.eclipse.elk.mrtree.treeLevel",_7t="org.eclipse.elk.mrtree.positionConstraint",A7t="org.eclipse.elk.mrtree.weighting",L7t="org.eclipse.elk.mrtree.edgeRoutingMode",D7t="org.eclipse.elk.mrtree.searchOrder",Y2e="Position Constraint",Mu="org.eclipse.elk.mrtree",X2e="org.eclipse.elk.tree",Q2e="Processor arrange level",sT="org.eclipse.elk.alg.mrtree.p2order",Xl="org.eclipse.elk.alg.mrtree.p4route",M7t="org.eclipse.elk.alg.radial",xw=6.283185307179586,I7t="Before",O7t=5e-324,iU="After",N7t="org.eclipse.elk.alg.radial.intermediate",J2e="COMPACTION",Tlt="org.eclipse.elk.alg.radial.intermediate.compaction",Z2e={3:1,4:1,5:1,100:1},P7t="org.eclipse.elk.alg.radial.intermediate.optimization",Clt="No implementation is available for the layout option ",rA="org.eclipse.elk.alg.radial.options",F7t="org.eclipse.elk.radial.centerOnRoot",B7t="org.eclipse.elk.radial.orderId",R7t="org.eclipse.elk.radial.radius",sU="org.eclipse.elk.radial.rotate",Slt="org.eclipse.elk.radial.compactor",_lt="org.eclipse.elk.radial.compactionStepSize",j7t="org.eclipse.elk.radial.sorter",$7t="org.eclipse.elk.radial.wedgeCriteria",z7t="org.eclipse.elk.radial.optimizationCriteria",Alt="org.eclipse.elk.radial.rotation.targetAngle",Llt="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",q7t="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",twe="Compaction",H7t="rotation",zh="org.eclipse.elk.radial",ewe="org.eclipse.elk.alg.radial.p1position.wedge",V7t="org.eclipse.elk.alg.radial.sorting",nwe=5.497787143782138,rwe=3.9269908169872414,iwe=2.356194490192345,swe="org.eclipse.elk.alg.rectpacking",aU="org.eclipse.elk.alg.rectpacking.intermediate",Dlt="org.eclipse.elk.alg.rectpacking.options",U7t="org.eclipse.elk.rectpacking.trybox",G7t="org.eclipse.elk.rectpacking.currentPosition",K7t="org.eclipse.elk.rectpacking.desiredPosition",W7t="org.eclipse.elk.rectpacking.inNewRow",Y7t="org.eclipse.elk.rectpacking.widthApproximation.strategy",X7t="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Q7t="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",J7t="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Z7t="org.eclipse.elk.rectpacking.packing.strategy",tTt="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",eTt="org.eclipse.elk.rectpacking.packing.compaction.iterations",nTt="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Mlt="widthApproximation",awe="Compaction Strategy",owe="packing.compaction",Ol="org.eclipse.elk.rectpacking",aT="org.eclipse.elk.alg.rectpacking.p1widthapproximation",oU="org.eclipse.elk.alg.rectpacking.p2packing",cwe="No Compaction",rTt="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",SN="org.eclipse.elk.alg.rectpacking.util",cU="No implementation available for ",d3="org.eclipse.elk.alg.spore",g3="org.eclipse.elk.alg.spore.options",uv="org.eclipse.elk.sporeCompaction",Ilt="org.eclipse.elk.underlyingLayoutAlgorithm",iTt="org.eclipse.elk.processingOrder.treeConstruction",sTt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Olt="org.eclipse.elk.processingOrder.preferredRoot",Nlt="org.eclipse.elk.processingOrder.rootSelection",Plt="org.eclipse.elk.structure.structureExtractionStrategy",aTt="org.eclipse.elk.compaction.compactionStrategy",oTt="org.eclipse.elk.compaction.orthogonal",cTt="org.eclipse.elk.overlapRemoval.maxIterations",uTt="org.eclipse.elk.overlapRemoval.runScanline",Flt="processingOrder",uwe="overlapRemoval",oT="org.eclipse.elk.sporeOverlap",lwe="org.eclipse.elk.alg.spore.p1structure",Blt="org.eclipse.elk.alg.spore.p2processingorder",Rlt="org.eclipse.elk.alg.spore.p3execution",hwe="Topdown Layout",fwe="Invalid index: ",cT="org.eclipse.elk.core.alg",L5={341:1},p3={294:1},dwe="Make sure its type is registered with the ",lTt=" utility class.",uT="true",jlt="false",gwe="Couldn't clone property '",lv=.05,Nl="org.eclipse.elk.core.options",pwe=1.2999999523162842,hv="org.eclipse.elk.box",hTt="org.eclipse.elk.expandNodes",fTt="org.eclipse.elk.box.packingMode",bwe="org.eclipse.elk.algorithm",wwe="org.eclipse.elk.resolvedAlgorithm",dTt="org.eclipse.elk.bendPoints",KSn="org.eclipse.elk.labelManager",mwe="org.eclipse.elk.scaleFactor",vwe="org.eclipse.elk.childAreaWidth",ywe="org.eclipse.elk.childAreaHeight",xwe="org.eclipse.elk.animate",kwe="org.eclipse.elk.animTimeFactor",Ewe="org.eclipse.elk.layoutAncestors",Twe="org.eclipse.elk.maxAnimTime",Cwe="org.eclipse.elk.minAnimTime",Swe="org.eclipse.elk.progressBar",_we="org.eclipse.elk.validateGraph",Awe="org.eclipse.elk.validateOptions",Lwe="org.eclipse.elk.zoomToFit",WSn="org.eclipse.elk.font.name",Dwe="org.eclipse.elk.font.size",gTt="org.eclipse.elk.topdown.sizeApproximator",pTt="org.eclipse.elk.topdown.scaleCap",Mwe="org.eclipse.elk.edge.type",Iwe="partitioning",Owe="nodeLabels",uU="portAlignment",$lt="nodeSize",zlt="port",bTt="portLabels",_N="topdown",Nwe="insideSelfLoops",iA="org.eclipse.elk.fixed",lU="org.eclipse.elk.random",wTt={3:1,34:1,22:1,347:1},Pwe="port must have a parent node to calculate the port side",Fwe="The edge needs to have exactly one edge section. Found: ",sA="org.eclipse.elk.core.util.adapters",qh="org.eclipse.emf.ecore",D5="org.eclipse.elk.graph",Bwe="EMapPropertyHolder",Rwe="ElkBendPoint",jwe="ElkGraphElement",$we="ElkConnectableShape",mTt="ElkEdge",zwe="ElkEdgeSection",qwe="EModelElement",Hwe="ENamedElement",vTt="ElkLabel",yTt="ElkNode",xTt="ElkPort",Vwe={94:1,93:1},Pk="org.eclipse.emf.common.notify.impl",Jb="The feature '",aA="' is not a valid changeable feature",Uwe="Expecting null",qlt="' is not a valid feature",Gwe="The feature ID",Kwe=" is not a valid feature ID",Fc=32768,Wwe={110:1,94:1,93:1,58:1,54:1,99:1},Rn="org.eclipse.emf.ecore.impl",kw="org.eclipse.elk.graph.impl",oA="Recursive containment not allowed for ",lT="The datatype '",fv="' is not a valid classifier",Hlt="The value '",M5={195:1,3:1,4:1},Vlt="The class '",hT="http://www.eclipse.org/elk/ElkGraph",kTt="property",cA="value",Ult="source",Ywe="properties",Xwe="identifier",Glt="height",Klt="width",Wlt="parent",Ylt="text",Xlt="children",Qwe="hierarchical",ETt="sources",Qlt="targets",TTt="sections",hU="bendPoints",CTt="outgoingShape",STt="incomingShape",_Tt="outgoingSections",ATt="incomingSections",oo="org.eclipse.emf.common.util",LTt="Severe implementation error in the Json to ElkGraph importer.",a0="id",Ba="org.eclipse.elk.graph.json",DTt="Unhandled parameter types: ",Jwe="startPoint",Zwe="An edge must have at least one source and one target (edge id: '",fT="').",tme="Referenced edge section does not exist: ",eme=" (edge id: '",MTt="target",nme="sourcePoint",rme="targetPoint",fU="group",pi="name",ime="connectableShape cannot be null",sme="edge cannot be null",Jlt="Passed edge is not 'simple'.",dU="org.eclipse.elk.graph.util",AN="The 'no duplicates' constraint is violated",Zlt="targetIndex=",Ew=", size=",tht="sourceIndex=",o0={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},eht={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},gU="logging",ame="measureExecutionTime",ome="parser.parse.1",cme="parser.parse.2",pU="parser.next.1",nht="parser.next.2",ume="parser.next.3",lme="parser.next.4",Tw="parser.factor.1",ITt="parser.factor.2",hme="parser.factor.3",fme="parser.factor.4",dme="parser.factor.5",gme="parser.factor.6",pme="parser.atom.1",bme="parser.atom.2",wme="parser.atom.3",OTt="parser.atom.4",rht="parser.atom.5",NTt="parser.cc.1",bU="parser.cc.2",mme="parser.cc.3",vme="parser.cc.5",PTt="parser.cc.6",FTt="parser.cc.7",iht="parser.cc.8",yme="parser.ope.1",xme="parser.ope.2",kme="parser.ope.3",zp="parser.descape.1",Eme="parser.descape.2",Tme="parser.descape.3",Cme="parser.descape.4",Sme="parser.descape.5",Hh="parser.process.1",_me="parser.quantifier.1",Ame="parser.quantifier.2",Lme="parser.quantifier.3",Dme="parser.quantifier.4",BTt="parser.quantifier.5",Mme="org.eclipse.emf.common.notify",RTt={424:1,686:1},Ime={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},LN={378:1,152:1},uA="index=",sht={3:1,4:1,5:1,129:1},Ome={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},jTt={3:1,6:1,4:1,5:1,198:1},Nme={3:1,4:1,5:1,173:1,379:1},Pme=";/?:@&=+$,",Fme="invalid authority: ",Bme="EAnnotation",Rme="ETypedElement",jme="EStructuralFeature",$me="EAttribute",zme="EClassifier",qme="EEnumLiteral",Hme="EGenericType",Vme="EOperation",Ume="EParameter",Gme="EReference",Kme="ETypeParameter",Yi="org.eclipse.emf.ecore.util",aht={79:1},$Tt={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},Wme="org.eclipse.emf.ecore.util.FeatureMap$Entry",ol=8192,b3=2048,lA="byte",wU="char",hA="double",fA="float",dA="int",gA="long",pA="short",Yme="java.lang.Object",I5={3:1,4:1,5:1,254:1},zTt={3:1,4:1,5:1,688:1},Xme={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},ic={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},DN="mixed",ti="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",lf="kind",Qme={3:1,4:1,5:1,689:1},qTt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},mU={20:1,31:1,56:1,16:1,15:1,61:1,71:1},vU={51:1,128:1,287:1},yU={76:1,343:1},xU="The value of type '",kU="' must be of type '",O5=1352,hf="http://www.eclipse.org/emf/2002/Ecore",EU=-32768,dv="constraints",Ka="baseType",Jme="getEStructuralFeature",Zme="getFeatureID",bA="feature",tve="getOperationID",HTt="operation",eve="defaultValue",nve="eTypeParameters",rve="isInstance",ive="getEEnumLiteral",sve="eContainingClass",li={57:1},ave={3:1,4:1,5:1,124:1},ove="org.eclipse.emf.ecore.resource",cve={94:1,93:1,599:1,2034:1},oht="org.eclipse.emf.ecore.resource.impl",VTt="unspecified",MN="simple",TU="attribute",uve="attributeWildcard",CU="element",cht="elementWildcard",I1="collapse",uht="itemType",SU="namespace",IN="##targetNamespace",ff="whiteSpace",UTt="wildcards",Cw="http://www.eclipse.org/emf/2003/XMLType",lht="##any",dT="uninitialized",ON="The multiplicity constraint is violated",_U="org.eclipse.emf.ecore.xml.type",lve="ProcessingInstruction",hve="SimpleAnyType",fve="XMLTypeDocumentRoot",$s="org.eclipse.emf.ecore.xml.type.impl",NN="INF",dve="processing",gve="ENTITIES_._base",GTt="minLength",KTt="ENTITY",AU="NCName",pve="IDREFS_._base",WTt="integer",hht="token",fht="pattern",bve="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",YTt="\\i\\c*",wve="[\\i-[:]][\\c-[:]]*",mve="nonPositiveInteger",PN="maxInclusive",XTt="NMTOKEN",vve="NMTOKENS_._base",QTt="nonNegativeInteger",FN="minInclusive",yve="normalizedString",xve="unsignedByte",kve="unsignedInt",Eve="18446744073709551615",Tve="unsignedShort",Cve="processingInstruction",qp="org.eclipse.emf.ecore.xml.type.internal",gT=1114111,Sve="Internal Error: shorthands: \\u",wA="xml:isDigit",dht="xml:isWord",ght="xml:isSpace",pht="xml:isNameChar",bht="xml:isInitialNameChar",_ve="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",Ave="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Lve="Private Use",wht="ASSIGNED",mht="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",JTt="UNASSIGNED",pT={3:1,122:1},Dve="org.eclipse.emf.ecore.xml.type.util",LU={3:1,4:1,5:1,381:1},ZTt="org.eclipse.xtext.xbase.lib",Mve="Cannot add elements to a Range",Ive="Cannot set elements in a Range",Ove="Cannot remove elements from a Range",Nve="user.agent",l,DU,vht;b.goog=b.goog||{},b.goog.global=b.goog.global||b,DU={},D(1,null,{},S),l.Fb=function(e){return MQt(this,e)},l.Gb=function(){return this.Rm},l.Hb=function(){return Em(this)},l.Ib=function(){var e;return V2(Wl(this))+"@"+(e=$i(this)>>>0,e.toString(16))},l.equals=function(t){return this.Fb(t)},l.hashCode=function(){return this.Hb()},l.toString=function(){return this.Ib()};var Pve,Fve,Bve;D(296,1,{296:1,2124:1},Y4t),l.ve=function(e){var n;return n=new Y4t,n.i=4,e>1?n.c=Zne(this,e-1):n.c=this,n},l.we=function(){return wg(this),this.b},l.xe=function(){return V2(this)},l.ye=function(){return wg(this),this.k},l.ze=function(){return(this.i&4)!=0},l.Ae=function(){return(this.i&1)!=0},l.Ib=function(){return a4t(this)},l.i=0;var aa=I(Sc,"Object",1),t9t=I(Sc,"Class",296);D(2096,1,tN),I(eN,"Optional",2096),D(1191,2096,tN,_),l.Fb=function(e){return e===this},l.Hb=function(){return 2040732332},l.Ib=function(){return"Optional.absent()"},l.Jb=function(e){return Hr(e),UC(),yht};var yht;I(eN,"Absent",1191),D(636,1,{},ert),I(eN,"Joiner",636);var YSn=os(eN,"Predicate");D(589,1,{178:1,589:1,3:1,46:1},Rj),l.Mb=function(e){return Zce(this,e)},l.Lb=function(e){return Zce(this,e)},l.Fb=function(e){var n;return Lt(e,589)?(n=u(e,589),U6t(this.a,n.a)):!1},l.Hb=function(){return e5t(this.a)+306654252},l.Ib=function(){return P4n(this.a)},I(eN,"Predicates/AndPredicate",589),D(419,2096,{419:1,3:1},FC),l.Fb=function(e){var n;return Lt(e,419)?(n=u(e,419),Ti(this.a,n.a)):!1},l.Hb=function(){return 1502476572+$i(this.a)},l.Ib=function(){return cbe+this.a+")"},l.Jb=function(e){return new FC(Qz(e.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},I(eN,"Present",419),D(204,1,V7),l.Nb=function(e){Na(this,e)},l.Qb=function(){yWt()},I(on,"UnmodifiableIterator",204),D(2076,204,U7),l.Qb=function(){yWt()},l.Rb=function(e){throw at(new Vr)},l.Wb=function(e){throw at(new Vr)},I(on,"UnmodifiableListIterator",2076),D(399,2076,U7),l.Ob=function(){return this.c<this.d},l.Sb=function(){return this.c>0},l.Pb=function(){if(this.c>=this.d)throw at(new cc);return this.Xb(this.c++)},l.Tb=function(){return this.c},l.Ub=function(){if(this.c<=0)throw at(new cc);return this.Xb(--this.c)},l.Vb=function(){return this.c-1},l.c=0,l.d=0,I(on,"AbstractIndexedListIterator",399),D(713,204,V7),l.Ob=function(){return rat(this)},l.Pb=function(){return t4t(this)},l.e=1,I(on,"AbstractIterator",713),D(2084,1,{229:1}),l.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},l.Fb=function(e){return Cat(this,e)},l.Hb=function(){return $i(this.Zb())},l.dc=function(){return this.gc()==0},l.ec=function(){return U6(this)},l.Ib=function(){return rc(this.Zb())},I(on,"AbstractMultimap",2084),D(742,2084,pw),l.$b=function(){qq(this)},l._b=function(e){return jWt(this,e)},l.ac=function(){return new vE(this,this.c)},l.ic=function(e){return this.hc()},l.bc=function(){return new W4(this,this.c)},l.jc=function(){return this.mc(this.hc())},l.kc=function(){return new iWt(this)},l.lc=function(){return Not(this.c.vc().Nc(),new F,64,this.d)},l.cc=function(e){return Ai(this,e)},l.fc=function(e){return hO(this,e)},l.gc=function(){return this.d},l.mc=function(e){return mn(),new Ta(e)},l.nc=function(){return new rWt(this)},l.oc=function(){return Not(this.c.Cc().Nc(),new M,64,this.d)},l.pc=function(e,n){return new yq(this,e,n,null)},l.d=0,I(on,"AbstractMapBasedMultimap",742),D(1696,742,pw),l.hc=function(){return new wu(this.a)},l.jc=function(){return mn(),mn(),co},l.cc=function(e){return u(Ai(this,e),15)},l.fc=function(e){return u(hO(this,e),15)},l.Zb=function(){return Q6(this)},l.Fb=function(e){return Cat(this,e)},l.qc=function(e){return u(Ai(this,e),15)},l.rc=function(e){return u(hO(this,e),15)},l.mc=function(e){return ast(u(e,15))},l.pc=function(e,n){return aie(this,e,u(n,15),null)},I(on,"AbstractListMultimap",1696),D(748,1,wa),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.c.Ob()||this.e.Ob()},l.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),44),this.b=e.ld(),this.a=u(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},l.Qb=function(){this.e.Qb(),u(nf(this.a),16).dc()&&this.c.Qb(),--this.d.d},I(on,"AbstractMapBasedMultimap/Itr",748),D(1129,748,wa,rWt),l.sc=function(e,n){return n},I(on,"AbstractMapBasedMultimap/1",1129),D(1130,1,{},M),l.Kb=function(e){return u(e,16).Nc()},I(on,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),D(1131,748,wa,iWt),l.sc=function(e,n){return new bm(e,n)},I(on,"AbstractMapBasedMultimap/2",1131);var e9t=os(xr,"Map");D(2065,1,sv),l.wc=function(e){e_(this,e)},l.yc=function(e,n,r){return Vat(this,e,n,r)},l.$b=function(){this.vc().$b()},l.tc=function(e){return bot(this,e)},l._b=function(e){return!!Vxt(this,e,!1)},l.uc=function(e){var n,r,s;for(r=this.vc().Kc();r.Ob();)if(n=u(r.Pb(),44),s=n.md(),$t(e)===$t(s)||e!=null&&Ti(e,s))return!0;return!1},l.Fb=function(e){var n,r,s;if(e===this)return!0;if(!Lt(e,85)||(s=u(e,85),this.gc()!=s.gc()))return!1;for(r=s.vc().Kc();r.Ob();)if(n=u(r.Pb(),44),!this.tc(n))return!1;return!0},l.xc=function(e){return Ko(Vxt(this,e,!1))},l.Hb=function(){return U4t(this.vc())},l.dc=function(){return this.gc()==0},l.ec=function(){return new cr(this)},l.zc=function(e,n){throw at(new hp("Put not supported on this map"))},l.Ac=function(e){t_(this,e)},l.Bc=function(e){return Ko(Vxt(this,e,!0))},l.gc=function(){return this.vc().gc()},l.Ib=function(){return hfe(this)},l.Cc=function(){return new si(this)},I(xr,"AbstractMap",2065),D(2085,2065,sv),l.bc=function(){return new v$(this)},l.vc=function(){return nee(this)},l.ec=function(){var e;return e=this.g,e||(this.g=this.bc())},l.Cc=function(){var e;return e=this.i,e||(this.i=new LYt(this))},I(on,"Maps/ViewCachingAbstractMap",2085),D(402,2085,sv,vE),l.xc=function(e){return tgn(this,e)},l.Bc=function(e){return Ebn(this,e)},l.$b=function(){this.d==this.e.c?this.e.$b():Az(new ryt(this))},l._b=function(e){return Bue(this.d,e)},l.Ec=function(){return new jj(this)},l.Dc=function(){return this.Ec()},l.Fb=function(e){return this===e||Ti(this.d,e)},l.Hb=function(){return $i(this.d)},l.ec=function(){return this.e.ec()},l.gc=function(){return this.d.gc()},l.Ib=function(){return rc(this.d)},I(on,"AbstractMapBasedMultimap/AsMap",402);var gh=os(Sc,"Iterable");D(31,1,o3),l.Jc=function(e){Fa(this,e)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new gn(this,0)},l.Oc=function(){return new ln(null,this.Nc())},l.Fc=function(e){throw at(new hp("Add not supported on this collection"))},l.Gc=function(e){return Ma(this,e)},l.$b=function(){Hyt(this)},l.Hc=function(e){return Ky(this,e,!1)},l.Ic=function(e){return rO(this,e)},l.dc=function(){return this.gc()==0},l.Mc=function(e){return Ky(this,e,!0)},l.Pc=function(){return dyt(this)},l.Qc=function(e){return v_(this,e)},l.Ib=function(){return Hb(this)},I(xr,"AbstractCollection",31);var df=os(xr,"Set");D(dd,31,sl),l.Nc=function(){return new gn(this,1)},l.Fb=function(e){return Ale(this,e)},l.Hb=function(){return U4t(this)},I(xr,"AbstractSet",dd),D(2068,dd,sl),I(on,"Sets/ImprovedAbstractSet",2068),D(2069,2068,sl),l.$b=function(){this.Rc().$b()},l.Hc=function(e){return fle(this,e)},l.dc=function(){return this.Rc().dc()},l.Mc=function(e){var n;return this.Hc(e)&&Lt(e,44)?(n=u(e,44),this.Rc().ec().Mc(n.ld())):!1},l.gc=function(){return this.Rc().gc()},I(on,"Maps/EntrySet",2069),D(1127,2069,sl,jj),l.Hc=function(e){return m5t(this.a.d.vc(),e)},l.Kc=function(){return new ryt(this.a)},l.Rc=function(){return this.a},l.Mc=function(e){var n;return m5t(this.a.d.vc(),e)?(n=u(nf(u(e,44)),44),qdn(this.a.e,n.ld()),!0):!1},l.Nc=function(){return pI(this.a.d.vc().Nc(),new $j(this.a))},I(on,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),D(1128,1,{},$j),l.Kb=function(e){return ise(this.a,u(e,44))},I(on,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),D(746,1,wa,ryt),l.Nb=function(e){Na(this,e)},l.Pb=function(){var e;return e=u(this.b.Pb(),44),this.a=u(e.md(),16),ise(this.c,e)},l.Ob=function(){return this.b.Ob()},l.Qb=function(){AE(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},I(on,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),D(542,2068,sl,v$),l.$b=function(){this.b.$b()},l.Hc=function(e){return this.b._b(e)},l.Jc=function(e){Hr(e),this.b.wc(new Uj(e))},l.dc=function(){return this.b.dc()},l.Kc=function(){return new GC(this.b.vc().Kc())},l.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},l.gc=function(){return this.b.gc()},I(on,"Maps/KeySet",542),D(327,542,sl,W4),l.$b=function(){var e;Az((e=this.b.vc().Kc(),new _wt(this,e)))},l.Ic=function(e){return this.b.ec().Ic(e)},l.Fb=function(e){return this===e||Ti(this.b.ec(),e)},l.Hb=function(){return $i(this.b.ec())},l.Kc=function(){var e;return e=this.b.vc().Kc(),new _wt(this,e)},l.Mc=function(e){var n,r;return r=0,n=u(this.b.Bc(e),16),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},l.Nc=function(){return this.b.ec().Nc()},I(on,"AbstractMapBasedMultimap/KeySet",327),D(747,1,wa,_wt),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.c.Ob()},l.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},l.Qb=function(){var e;AE(!!this.a),e=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},I(on,"AbstractMapBasedMultimap/KeySet/1",747),D(502,402,{85:1,133:1},cI),l.bc=function(){return this.Sc()},l.ec=function(){return this.Uc()},l.Sc=function(){return new FM(this.c,this.Wc())},l.Tc=function(){return this.Wc().Tc()},l.Uc=function(){var e;return e=this.b,e||(this.b=this.Sc())},l.Vc=function(){return this.Wc().Vc()},l.Wc=function(){return u(this.d,133)},I(on,"AbstractMapBasedMultimap/SortedAsMap",502),D(446,502,h8t,SS),l.bc=function(){return new mE(this.a,u(u(this.d,133),139))},l.Sc=function(){return new mE(this.a,u(u(this.d,133),139))},l.ec=function(){var e;return e=this.b,u(e||(this.b=new mE(this.a,u(u(this.d,133),139))),277)},l.Uc=function(){var e;return e=this.b,u(e||(this.b=new mE(this.a,u(u(this.d,133),139))),277)},l.Wc=function(){return u(u(this.d,133),139)},l.Xc=function(e){return u(u(this.d,133),139).Xc(e)},l.Yc=function(e){return u(u(this.d,133),139).Yc(e)},l.Zc=function(e,n){return new SS(this.a,u(u(this.d,133),139).Zc(e,n))},l.$c=function(e){return u(u(this.d,133),139).$c(e)},l._c=function(e){return u(u(this.d,133),139)._c(e)},l.ad=function(e,n){return new SS(this.a,u(u(this.d,133),139).ad(e,n))},I(on,"AbstractMapBasedMultimap/NavigableAsMap",446),D(501,327,ube,FM),l.Nc=function(){return this.b.ec().Nc()},I(on,"AbstractMapBasedMultimap/SortedKeySet",501),D(401,501,f8t,mE),I(on,"AbstractMapBasedMultimap/NavigableKeySet",401),D(551,31,o3,yq),l.Fc=function(e){var n,r;return Ll(this),r=this.d.dc(),n=this.d.Fc(e),n&&(++this.f.d,r&&fI(this)),n},l.Gc=function(e){var n,r,s;return e.dc()?!1:(s=(Ll(this),this.d.gc()),n=this.d.Gc(e),n&&(r=this.d.gc(),this.f.d+=r-s,s==0&&fI(this)),n)},l.$b=function(){var e;e=(Ll(this),this.d.gc()),e!=0&&(this.d.$b(),this.f.d-=e,Nz(this))},l.Hc=function(e){return Ll(this),this.d.Hc(e)},l.Ic=function(e){return Ll(this),this.d.Ic(e)},l.Fb=function(e){return e===this?!0:(Ll(this),Ti(this.d,e))},l.Hb=function(){return Ll(this),$i(this.d)},l.Kc=function(){return Ll(this),new $vt(this)},l.Mc=function(e){var n;return Ll(this),n=this.d.Mc(e),n&&(--this.f.d,Nz(this)),n},l.gc=function(){return wQt(this)},l.Nc=function(){return Ll(this),this.d.Nc()},l.Ib=function(){return Ll(this),rc(this.d)},I(on,"AbstractMapBasedMultimap/WrappedCollection",551);var Vh=os(xr,"List");D(744,551,{20:1,31:1,16:1,15:1},byt),l.jd=function(e){rw(this,e)},l.Nc=function(){return Ll(this),this.d.Nc()},l.bd=function(e,n){var r;Ll(this),r=this.d.dc(),u(this.d,15).bd(e,n),++this.a.d,r&&fI(this)},l.cd=function(e,n){var r,s,o;return n.dc()?!1:(o=(Ll(this),this.d.gc()),r=u(this.d,15).cd(e,n),r&&(s=this.d.gc(),this.a.d+=s-o,o==0&&fI(this)),r)},l.Xb=function(e){return Ll(this),u(this.d,15).Xb(e)},l.dd=function(e){return Ll(this),u(this.d,15).dd(e)},l.ed=function(){return Ll(this),new KQt(this)},l.fd=function(e){return Ll(this),new bne(this,e)},l.gd=function(e){var n;return Ll(this),n=u(this.d,15).gd(e),--this.a.d,Nz(this),n},l.hd=function(e,n){return Ll(this),u(this.d,15).hd(e,n)},l.kd=function(e,n){return Ll(this),aie(this.a,this.e,u(this.d,15).kd(e,n),this.b?this.b:this)},I(on,"AbstractMapBasedMultimap/WrappedList",744),D(1126,744,{20:1,31:1,16:1,15:1,59:1},FJt),I(on,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),D(628,1,wa,$vt),l.Nb=function(e){Na(this,e)},l.Ob=function(){return jE(this),this.b.Ob()},l.Pb=function(){return jE(this),this.b.Pb()},l.Qb=function(){yJt(this)},I(on,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),D(745,628,P0,KQt,bne),l.Qb=function(){yJt(this)},l.Rb=function(e){var n;n=wQt(this.a)==0,(jE(this),u(this.b,128)).Rb(e),++this.a.a.d,n&&fI(this.a)},l.Sb=function(){return(jE(this),u(this.b,128)).Sb()},l.Tb=function(){return(jE(this),u(this.b,128)).Tb()},l.Ub=function(){return(jE(this),u(this.b,128)).Ub()},l.Vb=function(){return(jE(this),u(this.b,128)).Vb()},l.Wb=function(e){(jE(this),u(this.b,128)).Wb(e)},I(on,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),D(743,551,ube,svt),l.Nc=function(){return Ll(this),this.d.Nc()},I(on,"AbstractMapBasedMultimap/WrappedSortedSet",743),D(1125,743,f8t,qQt),I(on,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),D(1124,551,sl,rZt),l.Nc=function(){return Ll(this),this.d.Nc()},I(on,"AbstractMapBasedMultimap/WrappedSet",1124),D(1133,1,{},F),l.Kb=function(e){return Jdn(u(e,44))},I(on,"AbstractMapBasedMultimap/lambda$1$Type",1133),D(1132,1,{},mnt),l.Kb=function(e){return new bm(this.a,e)},I(on,"AbstractMapBasedMultimap/lambda$2$Type",1132);var Sw=os(xr,"Map/Entry");D(358,1,Fct),l.Fb=function(e){var n;return Lt(e,44)?(n=u(e,44),Ud(this.ld(),n.ld())&&Ud(this.md(),n.md())):!1},l.Hb=function(){var e,n;return e=this.ld(),n=this.md(),(e==null?0:$i(e))^(n==null?0:$i(n))},l.nd=function(e){throw at(new Vr)},l.Ib=function(){return this.ld()+"="+this.md()},I(on,lbe,358),D(2086,31,o3),l.$b=function(){this.od().$b()},l.Hc=function(e){var n;return Lt(e,44)?(n=u(e,44),v1n(this.od(),n.ld(),n.md())):!1},l.Mc=function(e){var n;return Lt(e,44)?(n=u(e,44),zre(this.od(),n.ld(),n.md())):!1},l.gc=function(){return this.od().d},I(on,"Multimaps/Entries",2086),D(749,2086,o3,qj),l.Kc=function(){return this.a.kc()},l.od=function(){return this.a},l.Nc=function(){return this.a.lc()},I(on,"AbstractMultimap/Entries",749),D(750,749,sl,iwt),l.Nc=function(){return this.a.lc()},l.Fb=function(e){return l6t(this,e)},l.Hb=function(){return Joe(this)},I(on,"AbstractMultimap/EntrySet",750),D(751,31,o3,bb),l.$b=function(){this.a.$b()},l.Hc=function(e){return wbn(this.a,e)},l.Kc=function(){return this.a.nc()},l.gc=function(){return this.a.d},l.Nc=function(){return this.a.oc()},I(on,"AbstractMultimap/Values",751),D(2087,31,{849:1,20:1,31:1,16:1}),l.Jc=function(e){Hr(e),X4(this).Jc(new Tnt(e))},l.Nc=function(){var e;return e=X4(this).Nc(),Not(e,new wt,64|e.yd()&1296,this.a.d)},l.Fc=function(e){return fwt(),!0},l.Gc=function(e){return Hr(this),Hr(e),Lt(e,552)?k1n(u(e,849)):!e.dc()&&Wst(this,e.Kc())},l.Hc=function(e){var n;return n=u(Gy(Q6(this.a),e),16),(n?n.gc():0)>0},l.Fb=function(e){return Vxn(this,e)},l.Hb=function(){return $i(X4(this))},l.dc=function(){return X4(this).dc()},l.Mc=function(e){return C1e(this,e,1)>0},l.Ib=function(){return rc(X4(this))},I(on,"AbstractMultiset",2087),D(2089,2068,sl),l.$b=function(){qq(this.a.a)},l.Hc=function(e){var n,r;return Lt(e,503)?(r=u(e,425),u(r.a.md(),16).gc()<=0?!1:(n=gre(this.a,r.a.ld()),n==u(r.a.md(),16).gc())):!1},l.Mc=function(e){var n,r,s,o;return Lt(e,503)&&(r=u(e,425),n=r.a.ld(),s=u(r.a.md(),16).gc(),s!=0)?(o=this.a,N5n(o,n,s)):!1},I(on,"Multisets/EntrySet",2089),D(1139,2089,sl,vnt),l.Kc=function(){return new uWt(nee(Q6(this.a.a)).Kc())},l.gc=function(){return Q6(this.a.a).gc()},I(on,"AbstractMultiset/EntrySet",1139),D(627,742,pw),l.hc=function(){return this.pd()},l.jc=function(){return this.qd()},l.cc=function(e){return this.rd(e)},l.fc=function(e){return this.sd(e)},l.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},l.qd=function(){return mn(),mn(),FU},l.Fb=function(e){return Cat(this,e)},l.rd=function(e){return u(Ai(this,e),21)},l.sd=function(e){return u(hO(this,e),21)},l.mc=function(e){return mn(),new dE(u(e,21))},l.pc=function(e,n){return new rZt(this,e,u(n,21))},I(on,"AbstractSetMultimap",627),D(1723,627,pw),l.hc=function(){return new pp(this.b)},l.pd=function(){return new pp(this.b)},l.jc=function(){return Byt(new pp(this.b))},l.qd=function(){return Byt(new pp(this.b))},l.cc=function(e){return u(u(Ai(this,e),21),87)},l.rd=function(e){return u(u(Ai(this,e),21),87)},l.fc=function(e){return u(u(hO(this,e),21),87)},l.sd=function(e){return u(u(hO(this,e),21),87)},l.mc=function(e){return Lt(e,277)?Byt(u(e,277)):(mn(),new Vmt(u(e,87)))},l.Zb=function(){var e;return e=this.f,e||(this.f=Lt(this.c,139)?new SS(this,u(this.c,139)):Lt(this.c,133)?new cI(this,u(this.c,133)):new vE(this,this.c))},l.pc=function(e,n){return Lt(n,277)?new qQt(this,e,u(n,277)):new svt(this,e,u(n,87))},I(on,"AbstractSortedSetMultimap",1723),D(1724,1723,pw),l.Zb=function(){var e;return e=this.f,u(u(e||(this.f=Lt(this.c,139)?new SS(this,u(this.c,139)):Lt(this.c,133)?new cI(this,u(this.c,133)):new vE(this,this.c)),133),139)},l.ec=function(){var e;return e=this.i,u(u(e||(this.i=Lt(this.c,139)?new mE(this,u(this.c,139)):Lt(this.c,133)?new FM(this,u(this.c,133)):new W4(this,this.c)),87),277)},l.bc=function(){return Lt(this.c,139)?new mE(this,u(this.c,139)):Lt(this.c,133)?new FM(this,u(this.c,133)):new W4(this,this.c)},I(on,"AbstractSortedKeySortedSetMultimap",1724),D(2109,1,{2046:1}),l.Fb=function(e){return pyn(this,e)},l.Hb=function(){var e;return U4t((e=this.g,e||(this.g=new xM(this))))},l.Ib=function(){var e;return hfe((e=this.f,e||(this.f=new $mt(this))))},I(on,"AbstractTable",2109),D(679,dd,sl,xM),l.$b=function(){xWt()},l.Hc=function(e){var n,r;return Lt(e,478)?(n=u(e,697),r=u(Gy(See(this.a),Cb(n.c.e,n.b)),85),!!r&&m5t(r.vc(),new bm(Cb(n.c.c,n.a),ik(n.c,n.b,n.a)))):!1},l.Kc=function(){return vhn(this.a)},l.Mc=function(e){var n,r;return Lt(e,478)?(n=u(e,697),r=u(Gy(See(this.a),Cb(n.c.e,n.b)),85),!!r&&Xbn(r.vc(),new bm(Cb(n.c.c,n.a),ik(n.c,n.b,n.a)))):!1},l.gc=function(){return Lte(this.a)},l.Nc=function(){return C1n(this.a)},I(on,"AbstractTable/CellSet",679),D(2025,31,o3,xnt),l.$b=function(){xWt()},l.Hc=function(e){return o3n(this.a,e)},l.Kc=function(){return yhn(this.a)},l.gc=function(){return Lte(this.a)},l.Nc=function(){return $re(this.a)},I(on,"AbstractTable/Values",2025),D(1697,1696,pw),I(on,"ArrayListMultimapGwtSerializationDependencies",1697),D(520,1697,pw,irt,s3t),l.hc=function(){return new wu(this.a)},l.a=0,I(on,"ArrayListMultimap",520),D(678,2109,{678:1,2046:1,3:1},R1e),I(on,"ArrayTable",678),D(2021,399,U7,xJt),l.Xb=function(e){return new X4t(this.a,e)},I(on,"ArrayTable/1",2021),D(2022,1,{},bnt),l.td=function(e){return new X4t(this.a,e)},I(on,"ArrayTable/1methodref$getCell$Type",2022),D(2110,1,{697:1}),l.Fb=function(e){var n;return e===this?!0:Lt(e,478)?(n=u(e,697),Ud(Cb(this.c.e,this.b),Cb(n.c.e,n.b))&&Ud(Cb(this.c.c,this.a),Cb(n.c.c,n.a))&&Ud(ik(this.c,this.b,this.a),ik(n.c,n.b,n.a))):!1},l.Hb=function(){return lO(lt(ut(aa,1),Ln,1,5,[Cb(this.c.e,this.b),Cb(this.c.c,this.a),ik(this.c,this.b,this.a)]))},l.Ib=function(){return"("+Cb(this.c.e,this.b)+","+Cb(this.c.c,this.a)+")="+ik(this.c,this.b,this.a)},I(on,"Tables/AbstractCell",2110),D(478,2110,{478:1,697:1},X4t),l.a=0,l.b=0,l.d=0,I(on,"ArrayTable/2",478),D(2024,1,{},wnt),l.td=function(e){return hae(this.a,e)},I(on,"ArrayTable/2methodref$getValue$Type",2024),D(2023,399,U7,kJt),l.Xb=function(e){return hae(this.a,e)},I(on,"ArrayTable/3",2023),D(2077,2065,sv),l.$b=function(){Az(this.kc())},l.vc=function(){return new Vj(this)},l.lc=function(){return new ane(this.kc(),this.gc())},I(on,"Maps/IteratorBasedAbstractMap",2077),D(842,2077,sv),l.$b=function(){throw at(new Vr)},l._b=function(e){return $Wt(this.c,e)},l.kc=function(){return new EJt(this,this.c.b.c.gc())},l.lc=function(){return _it(this.c.b.c.gc(),16,new zj(this))},l.xc=function(e){var n;return n=u(_S(this.c,e),17),n?this.vd(n.a):null},l.dc=function(){return this.c.b.c.dc()},l.ec=function(){return Pit(this.c)},l.zc=function(e,n){var r;if(r=u(_S(this.c,e),17),!r)throw at(new zn(this.ud()+" "+e+" not in "+Pit(this.c)));return this.wd(r.a,n)},l.Bc=function(e){throw at(new Vr)},l.gc=function(){return this.c.b.c.gc()},I(on,"ArrayTable/ArrayMap",842),D(2020,1,{},zj),l.td=function(e){return Aee(this.a,e)},I(on,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),D(2018,358,Fct,fYt),l.ld=function(){return Osn(this.a,this.b)},l.md=function(){return this.a.vd(this.b)},l.nd=function(e){return this.a.wd(this.b,e)},l.b=0,I(on,"ArrayTable/ArrayMap/1",2018),D(2019,399,U7,EJt),l.Xb=function(e){return Aee(this.a,e)},I(on,"ArrayTable/ArrayMap/2",2019),D(2017,842,sv,pee),l.ud=function(){return"Column"},l.vd=function(e){return ik(this.b,this.a,e)},l.wd=function(e,n){return Rce(this.b,this.a,e,n)},l.a=0,I(on,"ArrayTable/Row",2017),D(843,842,sv,$mt),l.vd=function(e){return new pee(this.a,e)},l.zc=function(e,n){return u(n,85),trn()},l.wd=function(e,n){return u(n,85),ern()},l.ud=function(){return"Row"},I(on,"ArrayTable/RowMap",843),D(1157,1,fh,dYt),l.Ad=function(e){return(this.a.yd()&-262&e)!=0},l.yd=function(){return this.a.yd()&-262},l.zd=function(){return this.a.zd()},l.Nb=function(e){this.a.Nb(new pYt(e,this.b))},l.Bd=function(e){return this.a.Bd(new gYt(e,this.b))},I(on,"CollectSpliterators/1",1157),D(1158,1,ir,gYt),l.Cd=function(e){this.a.Cd(this.b.Kb(e))},I(on,"CollectSpliterators/1/lambda$0$Type",1158),D(1159,1,ir,pYt),l.Cd=function(e){this.a.Cd(this.b.Kb(e))},I(on,"CollectSpliterators/1/lambda$1$Type",1159),D(1154,1,fh,RZt),l.Ad=function(e){return((16464|this.b)&e)!=0},l.yd=function(){return 16464|this.b},l.zd=function(){return this.a.zd()},l.Nb=function(e){this.a.Qe(new wYt(e,this.c))},l.Bd=function(e){return this.a.Re(new bYt(e,this.c))},l.b=0,I(on,"CollectSpliterators/1WithCharacteristics",1154),D(1155,1,nN,bYt),l.Dd=function(e){this.a.Cd(this.b.td(e))},I(on,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),D(1156,1,nN,wYt),l.Dd=function(e){this.a.Cd(this.b.td(e))},I(on,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),D(1150,1,fh),l.Ad=function(e){return(this.a&e)!=0},l.yd=function(){return this.a},l.zd=function(){return this.e&&(this.b=Amt(this.b,this.e.zd())),Amt(this.b,0)},l.Nb=function(e){this.e&&(this.e.Nb(e),this.e=null),this.c.Nb(new mYt(this,e)),this.b=0},l.Bd=function(e){for(;;){if(this.e&&this.e.Bd(e))return bS(this.b,rN)&&(this.b=sf(this.b,1)),!0;if(this.e=null,!this.c.Bd(new knt(this)))return!1}},l.a=0,l.b=0,I(on,"CollectSpliterators/FlatMapSpliterator",1150),D(1152,1,ir,knt),l.Cd=function(e){Man(this.a,e)},I(on,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),D(1153,1,ir,mYt),l.Cd=function(e){nhn(this.a,this.b,e)},I(on,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),D(1151,1150,fh,iie),I(on,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),D(253,1,Bct),l.Fd=function(e){return this.Ed(u(e,253))},l.Ed=function(e){var n;return e==(Wnt(),kht)?1:e==(Knt(),xht)?-1:(n=(Ez(),JI(this.a,e.a)),n!=0?n:Lt(this,526)==Lt(e,526)?0:Lt(this,526)?1:-1)},l.Id=function(){return this.a},l.Fb=function(e){return bxt(this,e)},I(on,"Cut",253),D(1823,253,Bct,nWt),l.Ed=function(e){return e==this?0:1},l.Gd=function(e){throw at(new j2t)},l.Hd=function(e){e.a+="+∞)"},l.Id=function(){throw at(new Ro(fbe))},l.Hb=function(){return pg(),ext(this)},l.Jd=function(e){return!1},l.Ib=function(){return"+∞"};var xht;I(on,"Cut/AboveAll",1823),D(526,253,{253:1,526:1,3:1,34:1},LJt),l.Gd=function(e){tu((e.a+="(",e),this.a)},l.Hd=function(e){Db(tu(e,this.a),93)},l.Hb=function(){return~$i(this.a)},l.Jd=function(e){return Ez(),JI(this.a,e)<0},l.Ib=function(){return"/"+this.a+"\\"},I(on,"Cut/AboveValue",526),D(1822,253,Bct,eWt),l.Ed=function(e){return e==this?0:-1},l.Gd=function(e){e.a+="(-∞"},l.Hd=function(e){throw at(new j2t)},l.Id=function(){throw at(new Ro(fbe))},l.Hb=function(){return pg(),ext(this)},l.Jd=function(e){return!0},l.Ib=function(){return"-∞"};var kht;I(on,"Cut/BelowAll",1822),D(1824,253,Bct,DJt),l.Gd=function(e){tu((e.a+="[",e),this.a)},l.Hd=function(e){Db(tu(e,this.a),41)},l.Hb=function(){return $i(this.a)},l.Jd=function(e){return Ez(),JI(this.a,e)<=0},l.Ib=function(){return"\\"+this.a+"/"},I(on,"Cut/BelowValue",1824),D(547,1,F0),l.Jc=function(e){Fa(this,e)},l.Ib=function(){return w2n(u(Qz(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},I(on,"FluentIterable",547),D(442,547,F0,vS),l.Kc=function(){return new rr(sr(this.a.Kc(),new z))},I(on,"FluentIterable/2",442),D(1059,547,F0,RQt),l.Kc=function(){return A0(this)},I(on,"FluentIterable/3",1059),D(724,399,U7,zmt),l.Xb=function(e){return this.a[e].Kc()},I(on,"FluentIterable/3/1",724),D(2070,1,{}),l.Ib=function(){return rc(this.Kd().b)},I(on,"ForwardingObject",2070),D(2071,2070,dbe),l.Kd=function(){return this.Ld()},l.Jc=function(e){Fa(this,e)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new gn(this,0)},l.Oc=function(){return new ln(null,this.Nc())},l.Fc=function(e){return this.Ld(),qWt()},l.Gc=function(e){return this.Ld(),HWt()},l.$b=function(){this.Ld(),VWt()},l.Hc=function(e){return this.Ld().Hc(e)},l.Ic=function(e){return this.Ld().Ic(e)},l.dc=function(){return this.Ld().b.dc()},l.Kc=function(){return this.Ld().Kc()},l.Mc=function(e){return this.Ld(),UWt()},l.gc=function(){return this.Ld().b.gc()},l.Pc=function(){return this.Ld().Pc()},l.Qc=function(e){return this.Ld().Qc(e)},I(on,"ForwardingCollection",2071),D(2078,31,d8t),l.Kc=function(){return this.Od()},l.Fc=function(e){throw at(new Vr)},l.Gc=function(e){throw at(new Vr)},l.Md=function(){var e;return e=this.c,e||(this.c=this.Nd())},l.$b=function(){throw at(new Vr)},l.Hc=function(e){return e!=null&&Ky(this,e,!1)},l.Nd=function(){switch(this.gc()){case 0:return Dm(),Dm(),Eht;case 1:return Dm(),new Ait(Hr(this.Od().Pb()));default:return new yyt(this,this.Pc())}},l.Mc=function(e){throw at(new Vr)},I(on,"ImmutableCollection",2078),D(727,2078,d8t,B2t),l.Kc=function(){return sk(this.a.Kc())},l.Hc=function(e){return e!=null&&this.a.Hc(e)},l.Ic=function(e){return this.a.Ic(e)},l.dc=function(){return this.a.dc()},l.Od=function(){return sk(this.a.Kc())},l.gc=function(){return this.a.gc()},l.Pc=function(){return this.a.Pc()},l.Qc=function(e){return this.a.Qc(e)},l.Ib=function(){return rc(this.a)},I(on,"ForwardingImmutableCollection",727),D(306,2078,G7),l.Kc=function(){return this.Od()},l.ed=function(){return this.Pd(0)},l.fd=function(e){return this.Pd(e)},l.jd=function(e){rw(this,e)},l.Nc=function(){return new gn(this,16)},l.kd=function(e,n){return this.Qd(e,n)},l.bd=function(e,n){throw at(new Vr)},l.cd=function(e,n){throw at(new Vr)},l.Md=function(){return this},l.Fb=function(e){return Ixn(this,e)},l.Hb=function(){return Spn(this)},l.dd=function(e){return e==null?-1:Ymn(this,e)},l.Od=function(){return this.Pd(0)},l.Pd=function(e){return ait(this,e)},l.gd=function(e){throw at(new Vr)},l.hd=function(e,n){throw at(new Vr)},l.Qd=function(e,n){var r;return uH((r=new AYt(this),new xp(r,e,n)))};var Eht;I(on,"ImmutableList",306),D(2105,306,G7),l.Kc=function(){return sk(this.Rd().Kc())},l.kd=function(e,n){return uH(this.Rd().kd(e,n))},l.Hc=function(e){return e!=null&&this.Rd().Hc(e)},l.Ic=function(e){return this.Rd().Ic(e)},l.Fb=function(e){return Ti(this.Rd(),e)},l.Xb=function(e){return Cb(this,e)},l.Hb=function(){return $i(this.Rd())},l.dd=function(e){return this.Rd().dd(e)},l.dc=function(){return this.Rd().dc()},l.Od=function(){return sk(this.Rd().Kc())},l.gc=function(){return this.Rd().gc()},l.Qd=function(e,n){return uH(this.Rd().kd(e,n))},l.Pc=function(){return this.Rd().Qc(Vt(aa,Ln,1,this.Rd().gc(),5,1))},l.Qc=function(e){return this.Rd().Qc(e)},l.Ib=function(){return rc(this.Rd())},I(on,"ForwardingImmutableList",2105),D(729,1,K7),l.vc=function(){return K2(this)},l.wc=function(e){e_(this,e)},l.ec=function(){return Pit(this)},l.yc=function(e,n,r){return Vat(this,e,n,r)},l.Cc=function(){return this.Vd()},l.$b=function(){throw at(new Vr)},l._b=function(e){return this.xc(e)!=null},l.uc=function(e){return this.Vd().Hc(e)},l.Td=function(){return new lKt(this)},l.Ud=function(){return new hKt(this)},l.Fb=function(e){return mbn(this,e)},l.Hb=function(){return K2(this).Hb()},l.dc=function(){return this.gc()==0},l.zc=function(e,n){return Znn()},l.Bc=function(e){throw at(new Vr)},l.Ib=function(){return s4n(this)},l.Vd=function(){return this.e?this.e:this.e=this.Ud()},l.c=null,l.d=null,l.e=null;var Rve;I(on,"ImmutableMap",729),D(730,729,K7),l._b=function(e){return $Wt(this,e)},l.uc=function(e){return NYt(this.b,e)},l.Sd=function(){return Nue(new ynt(this))},l.Td=function(){return Nue(Xee(this.b))},l.Ud=function(){return Vd(),new B2t(Yee(this.b))},l.Fb=function(e){return PYt(this.b,e)},l.xc=function(e){return _S(this,e)},l.Hb=function(){return $i(this.b.c)},l.dc=function(){return this.b.c.dc()},l.gc=function(){return this.b.c.gc()},l.Ib=function(){return rc(this.b.c)},I(on,"ForwardingImmutableMap",730),D(2072,2071,Rct),l.Kd=function(){return this.Wd()},l.Ld=function(){return this.Wd()},l.Nc=function(){return new gn(this,1)},l.Fb=function(e){return e===this||this.Wd().Fb(e)},l.Hb=function(){return this.Wd().Hb()},I(on,"ForwardingSet",2072),D(1085,2072,Rct,ynt),l.Kd=function(){return BE(this.a.b)},l.Ld=function(){return BE(this.a.b)},l.Hc=function(e){if(Lt(e,44)&&u(e,44).ld()==null)return!1;try{return OYt(BE(this.a.b),e)}catch(n){if(n=es(n),Lt(n,212))return!1;throw at(n)}},l.Wd=function(){return BE(this.a.b)},l.Qc=function(e){var n;return n=Nne(BE(this.a.b),e),BE(this.a.b).b.gc()<n.length&&ls(n,BE(this.a.b).b.gc(),null),n},I(on,"ForwardingImmutableMap/1",1085),D(2079,2078,Ek),l.Kc=function(){return this.Od()},l.Nc=function(){return new gn(this,1)},l.Fb=function(e){return l6t(this,e)},l.Hb=function(){return Joe(this)},I(on,"ImmutableSet",2079),D(719,2079,Ek),l.Kc=function(){return sk(new eo(this.a.b.Kc()))},l.Hc=function(e){return e!=null&&BM(this.a,e)},l.Ic=function(e){return MYt(this.a,e)},l.Hb=function(){return $i(this.a.b)},l.dc=function(){return this.a.b.dc()},l.Od=function(){return sk(new eo(this.a.b.Kc()))},l.gc=function(){return this.a.b.gc()},l.Pc=function(){return this.a.b.Pc()},l.Qc=function(e){return IYt(this.a,e)},l.Ib=function(){return rc(this.a.b)},I(on,"ForwardingImmutableSet",719),D(2073,2072,gbe),l.Kd=function(){return this.b},l.Ld=function(){return this.b},l.Wd=function(){return this.b},l.Nc=function(){return new D$(this)},I(on,"ForwardingSortedSet",2073),D(543,2077,K7,OH),l.Ac=function(e){t_(this,e)},l.Cc=function(){var e;return e=this.d,new Zrt(e||(this.d=new wb(this)))},l.$b=function(){NI(this)},l._b=function(e){return!!JS(this,e,qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))))},l.uc=function(e){return eoe(this,e)},l.kc=function(){return new TJt(this,this)},l.wc=function(e){Wne(this,e)},l.xc=function(e){return n5(this,e)},l.ec=function(){return new tit(this)},l.zc=function(e,n){return uV(this,e,n)},l.Bc=function(e){var n;return n=JS(this,e,qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15)))),n?(p5(this,n),n.e=null,n.c=null,n.i):null},l.gc=function(){return this.i},l.xd=function(){var e;return e=this.d,new Zrt(e||(this.d=new wb(this)))},l.f=0,l.g=0,l.i=0,I(on,"HashBiMap",543),D(544,1,wa),l.Nb=function(e){Na(this,e)},l.Ob=function(){return oie(this)},l.Pb=function(){var e;if(!oie(this))throw at(new cc);return e=u(nf(this.c),302),this.c=e.c,this.f=e,--this.d,this.Xd(e)},l.Qb=function(){if(this.e.g!=this.b)throw at(new Th);if(!this.f)throw at(new Ro(l8t));p5(this.e,this.f),this.b=this.e.g,this.f=null},l.b=0,l.d=0,l.f=null,I(on,"HashBiMap/Itr",544),D(1023,544,wa,TJt),l.Xd=function(e){return new vYt(this,e)},I(on,"HashBiMap/1",1023),D(Uf,358,Fct,vYt),l.ld=function(){return this.a.g},l.md=function(){return this.a.i},l.nd=function(e){var n,r,s;return r=this.a.i,s=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),s==this.a.f&&($t(e)===$t(r)||e!=null&&Ti(e,r))?e:(Pce(!ZS(this.b.a,e,s),e),p5(this.b.a,this.a),n=new Uz(this.a.g,this.a.a,e,s),NO(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)},I(on,"HashBiMap/1/MapEntry",Uf),D(246,358,{358:1,246:1,3:1,44:1},bm),l.ld=function(){return this.g},l.md=function(){return this.i},l.nd=function(e){throw at(new Vr)},I(on,"ImmutableEntry",246),D(302,246,{358:1,302:1,246:1,3:1,44:1},Uz),l.a=0,l.f=0;var Tht=I(on,"HashBiMap/BiEntry",302);D(619,2077,K7,wb),l.Ac=function(e){t_(this,e)},l.Cc=function(){return new tit(this.a)},l.$b=function(){NI(this.a)},l._b=function(e){return eoe(this.a,e)},l.kc=function(){return new CJt(this,this.a)},l.wc=function(e){Hr(e),Wne(this.a,new Hj(e))},l.xc=function(e){return Hq(this,e)},l.ec=function(){return new Zrt(this)},l.zc=function(e,n){return qEn(this.a,e,n,!1)},l.Bc=function(e){var n;return n=ZS(this.a,e,qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15)))),n?(p5(this.a,n),n.e=null,n.c=null,n.g):null},l.gc=function(){return this.a.i},l.xd=function(){return new tit(this.a)},I(on,"HashBiMap/Inverse",619),D(1020,544,wa,CJt),l.Xd=function(e){return new yYt(this,e)},I(on,"HashBiMap/Inverse/1",1020),D(1021,358,Fct,yYt),l.ld=function(){return this.a.i},l.md=function(){return this.a.g},l.nd=function(e){var n,r,s;return s=this.a.g,n=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),n==this.a.a&&($t(e)===$t(s)||e!=null&&Ti(e,s))?e:(Pce(!JS(this.b.a.a,e,n),e),p5(this.b.a.a,this.a),r=new Uz(e,n,this.a.i,this.a.f),this.a=r,NO(this.b.a.a,r,null),this.b.b=this.b.a.a.g,s)},I(on,"HashBiMap/Inverse/1/InverseEntry",1021),D(620,542,sl,Zrt),l.Kc=function(){return new sWt(this.a.a)},l.Mc=function(e){var n;return n=ZS(this.a.a,e,qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15)))),n?(p5(this.a.a,n),!0):!1},I(on,"HashBiMap/Inverse/InverseKeySet",620),D(1019,544,wa,sWt),l.Xd=function(e){return e.i},I(on,"HashBiMap/Inverse/InverseKeySet/1",1019),D(1022,1,{},Hj),l.Yd=function(e,n){Mnn(this.a,e,n)},I(on,"HashBiMap/Inverse/lambda$0$Type",1022),D(618,542,sl,tit),l.Kc=function(){return new aWt(this.a)},l.Mc=function(e){var n;return n=JS(this.a,e,qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15)))),n?(p5(this.a,n),n.e=null,n.c=null,!0):!1},I(on,"HashBiMap/KeySet",618),D(1018,544,wa,aWt),l.Xd=function(e){return e.g},I(on,"HashBiMap/KeySet/1",1018),D(1123,627,pw),I(on,"HashMultimapGwtSerializationDependencies",1123),D(271,1123,pw,Fm),l.hc=function(){return new w$(zy(this.a))},l.pd=function(){return new w$(zy(this.a))},l.a=2,I(on,"HashMultimap",271),D(2097,306,G7),l.Hc=function(e){return this.Zd().Hc(e)},l.dc=function(){return this.Zd().dc()},l.gc=function(){return this.Zd().gc()},I(on,"ImmutableAsList",2097),D(2030,730,K7),l.Vd=function(){return Vd(),new D6(this.a)},l.Cc=function(){return Vd(),new D6(this.a)},l.xd=function(){return Vd(),new D6(this.a)},I(on,"ImmutableBiMap",2030),D(2075,1,{}),I(on,"ImmutableCollection/Builder",2075),D(1035,719,Ek,oWt),I(on,"ImmutableEnumSet",1035),D(980,399,U7,FZt),l.Xb=function(e){return this.a.Xb(e)},I(on,"ImmutableList/1",980),D(979,2075,{},CZt),I(on,"ImmutableList/Builder",979),D(623,204,V7,aE),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),44).ld()},I(on,"ImmutableMap/1",623),D(1054,1,{},R),l.Kb=function(e){return u(e,44).ld()},I(on,"ImmutableMap/2methodref$getKey$Type",1054),D(1053,1,{},SZt),I(on,"ImmutableMap/Builder",1053),D(2098,2079,Ek),l.Md=function(){var e;return e=this.b,e||(this.b=new jnt(this))},l.Nd=function(){return new yyt(this,v_(this,Vt(aa,Ln,1,this.gc(),5,1)))},I(on,"ImmutableSet/CachingAsList",2098),D(2099,2098,Ek),l.Kc=function(){var e;return e=K2(this.a).Od(),new aE(e)},l.Nd=function(){return new jnt(this)},l.Jc=function(e){var n,r;for(Hr(e),r=this.gc(),n=0;n<r;n++)e.Cd(u(K2(this.a).Md().Xb(n),44).ld())},l.Od=function(){var e;return e=this.b,ait(e||(this.b=new jnt(this)),0)},l.Nc=function(){return _it(this.gc(),1296,new kM(this))},I(on,"IndexedImmutableSet",2099),D(1230,2099,Ek,lKt),l.Kc=function(){var e;return e=K2(this.a).Od(),new aE(e)},l.Hc=function(e){return this.a._b(e)},l.Jc=function(e){Hr(e),e_(this.a,new S4(e))},l.Od=function(){var e;return e=K2(this.a).Od(),new aE(e)},l.gc=function(){return this.a.gc()},l.Nc=function(){return pI(K2(this.a).Nc(),new R)},I(on,"ImmutableMapKeySet",1230),D(1231,1,{},S4),l.Yd=function(e,n){Vd(),this.a.Cd(e)},I(on,"ImmutableMapKeySet/lambda$0$Type",1231),D(1227,2078,d8t,hKt),l.Kc=function(){return new Cit(this)},l.Md=function(){var e;return e=K2(this.a).Md(),new XQt(this,e)},l.Hc=function(e){return e!=null&&gyn(new Cit(this),e)},l.Od=function(){return new Cit(this)},l.gc=function(){return this.a.gc()},l.Nc=function(){return pI(K2(this.a).Nc(),new B)},I(on,"ImmutableMapValues",1227),D(1228,1,{},B),l.Kb=function(e){return u(e,44).md()},I(on,"ImmutableMapValues/0methodref$getValue$Type",1228),D(637,204,V7,Cit),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return u(this.a.Pb(),44).md()},I(on,"ImmutableMapValues/1",637),D(1229,2097,G7,XQt),l.Zd=function(){return this.a},l.Xb=function(e){return u(this.b.Xb(e),44).md()},I(on,"ImmutableMapValues/2",1229),D(1232,1,{},kM),l.td=function(e){return Dee(this.a,e)},I(on,"IndexedImmutableSet/0methodref$get$Type",1232),D(638,2097,G7,jnt),l.Zd=function(){return this.a},l.Xb=function(e){return Dee(this.a,e)},l.gc=function(){return this.a.a.gc()},I(on,"IndexedImmutableSet/1",638),D(43,1,{},z),l.Kb=function(e){return u(e,20).Kc()},l.Fb=function(e){return this===e},I(on,"Iterables/10",43),D(1055,547,F0,mte),l.Jc=function(e){Hr(e),this.b.Jc(new xYt(this.a,e))},l.Kc=function(){return Emt(this)},I(on,"Iterables/4",1055),D(1056,1,ir,xYt),l.Cd=function(e){Jrn(this.b,this.a,e)},I(on,"Iterables/4/lambda$0$Type",1056),D(1057,547,F0,vte),l.Jc=function(e){Hr(e),Fa(this.a,new EYt(e,this.b))},l.Kc=function(){return sr(new Zn(this.a),this.b)},I(on,"Iterables/5",1057),D(1058,1,ir,EYt),l.Cd=function(e){this.a.Cd(jQt(e))},I(on,"Iterables/5/lambda$0$Type",1058),D(1087,204,V7,b6),l.Ob=function(){return this.a.Ob()},l.Pb=function(){return this.a.Pb()},I(on,"Iterators/1",1087),D(1088,713,V7,kYt),l.Yb=function(){for(var e;this.b.Ob();)if(e=this.b.Pb(),this.a.Lb(e))return e;return this.e=2,null},I(on,"Iterators/5",1088),D(496,1,wa),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.$d(this.b.Pb())},l.Qb=function(){this.b.Qb()},I(on,"TransformedIterator",496),D(1089,496,wa,SJt),l.$d=function(e){return this.a.Kb(e)},I(on,"Iterators/6",1089),D(732,204,V7,EM),l.Ob=function(){return!this.a},l.Pb=function(){if(this.a)throw at(new cc);return this.a=!0,this.b},l.a=!1,I(on,"Iterators/9",732),D(1086,399,U7,Vte),l.Xb=function(e){return this.a[this.b+e]},l.b=0;var jve;I(on,"Iterators/ArrayItr",1086),D(37,1,{37:1,51:1},rr),l.Nb=function(e){Na(this,e)},l.Ob=function(){return Mr(this)},l.Pb=function(){return dr(this)},l.Qb=function(){if(!this.c)throw at(new Ro(l8t));this.c.Qb(),this.c=null},I(on,"Iterators/ConcatenatedIterator",37),D(22,1,{3:1,34:1,22:1}),l.Fd=function(e){return bWt(this,u(e,22))},l.Fb=function(e){return this===e},l.Hb=function(){return Em(this)},l.Ib=function(){return cit(this)},l.g=0;var Pr=I(Sc,"Enum",22);D(549,22,{549:1,3:1,34:1,22:1,51:1},oJt),l.Nb=function(e){Na(this,e)},l.Ob=function(){return!1},l.Pb=function(){throw at(new cc)},l.Qb=function(){AE(!1)};var Cht,$ve=Lr(on,"Iterators/EmptyModifiableIterator",549,Pr,lln,Isn),zve;D(1907,627,pw),I(on,"LinkedHashMultimapGwtSerializationDependencies",1907),D(1908,1907,pw,Cue),l.hc=function(){return new iit(zy(this.b))},l.$b=function(){qq(this),LM(this.a,this.a)},l.pd=function(){return new iit(zy(this.b))},l.ic=function(e){return new oue(this,e,this.b)},l.kc=function(){return new Myt(this)},l.lc=function(){var e;return new gn((e=this.g,u(e||(this.g=new iwt(this)),21)),17)},l.ec=function(){var e;return e=this.i,e||(this.i=new W4(this,this.c))},l.nc=function(){return new awt(new Myt(this))},l.oc=function(){var e;return pI(new gn((e=this.g,u(e||(this.g=new iwt(this)),21)),17),new Y)},l.b=2,I(on,"LinkedHashMultimap",1908),D(1911,1,{},Y),l.Kb=function(e){return u(e,44).md()},I(on,"LinkedHashMultimap/0methodref$getValue$Type",1911),D(834,1,wa,Myt),l.Nb=function(e){Na(this,e)},l.Pb=function(){return Epn(this)},l.Ob=function(){return this.a!=this.b.a},l.Qb=function(){AE(!!this.c),zre(this.b,this.c.g,this.c.i),this.c=null},I(on,"LinkedHashMultimap/1",834),D(227,246,{358:1,246:1,227:1,604:1,3:1,44:1},jyt),l._d=function(){return u(nf(this.f),604)},l.ae=function(e){this.c=e},l.be=function(e){this.f=e},l.d=0;var qve=I(on,"LinkedHashMultimap/ValueEntry",227);D(1909,2068,{604:1,20:1,31:1,16:1,21:1},oue),l.Fc=function(e){var n,r,s,o,h;for(h=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),n=h&this.b.length-1,o=this.b[n],r=o;r;r=r.a)if(r.d==h&&Ud(r.i,e))return!1;return s=new jyt(this.c,e,h,o),vWt(this.d,s),s.f=this,this.d=s,LM(u(nf(this.g.a.b),227),s),LM(s,this.g.a),this.b[n]=s,++this.f,++this.e,fyn(this),!0},l.$b=function(){var e,n;for(zM(this.b,null),this.f=0,e=this.a;e!=this;e=e._d())n=u(e,227),LM(u(nf(n.b),227),u(nf(n.e),227));this.a=this,this.d=this,++this.e},l.Hc=function(e){var n,r;for(r=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),n=this.b[r&this.b.length-1];n;n=n.a)if(n.d==r&&Ud(n.i,e))return!0;return!1},l.Jc=function(e){var n;for(Hr(e),n=this.a;n!=this;n=n._d())e.Cd(u(n,227).i)},l._d=function(){return this.a},l.Kc=function(){return new Fee(this)},l.Mc=function(e){return Hde(this,e)},l.ae=function(e){this.d=e},l.be=function(e){this.a=e},l.gc=function(){return this.f},l.e=0,l.f=0,I(on,"LinkedHashMultimap/ValueSet",1909),D(1910,1,wa,Fee),l.Nb=function(e){Na(this,e)},l.Ob=function(){return eyt(this),this.b!=this.c},l.Pb=function(){var e,n;if(eyt(this),this.b==this.c)throw at(new cc);return e=u(this.b,227),n=e.i,this.d=e,this.b=u(nf(e.f),604),n},l.Qb=function(){eyt(this),AE(!!this.d),Hde(this.c,this.d.i),this.a=this.c.e,this.d=null},l.a=0,I(on,"LinkedHashMultimap/ValueSet/1",1910),D(780,2084,pw,TQt),l.Zb=function(){var e;return e=this.f,e||(this.f=new Rwt(this))},l.Fb=function(e){return Cat(this,e)},l.cc=function(e){return new ort(this,e)},l.fc=function(e){return H3t(this,e)},l.$b=function(){mee(this)},l._b=function(e){return DYt(this,e)},l.ac=function(){return new Rwt(this)},l.bc=function(){return new Ent(this)},l.qc=function(e){return new ort(this,e)},l.dc=function(){return!this.a},l.rc=function(e){return H3t(this,e)},l.gc=function(){return this.d},l.c=0,l.d=0,I(on,"LinkedListMultimap",780),D(56,31,W7),l.jd=function(e){rw(this,e)},l.Nc=function(){return new gn(this,16)},l.bd=function(e,n){throw at(new hp("Add not supported on this list"))},l.Fc=function(e){return this.bd(this.gc(),e),!0},l.cd=function(e,n){var r,s,o;for(Wn(n),r=!1,o=n.Kc();o.Ob();)s=o.Pb(),this.bd(e++,s),r=!0;return r},l.$b=function(){this.ce(0,this.gc())},l.Fb=function(e){return U6t(this,e)},l.Hb=function(){return e5t(this)},l.dd=function(e){return Loe(this,e)},l.Kc=function(){return new gr(this)},l.ed=function(){return this.fd(0)},l.fd=function(e){return new La(this,e)},l.gd=function(e){throw at(new hp("Remove not supported on this list"))},l.ce=function(e,n){var r,s;for(s=this.fd(e),r=e;r<n;++r)s.Pb(),s.Qb()},l.hd=function(e,n){throw at(new hp("Set not supported on this list"))},l.kd=function(e,n){return new xp(this,e,n)},l.j=0,I(xr,"AbstractList",56),D(2062,56,W7),l.bd=function(e,n){CE(this,e,n)},l.cd=function(e,n){return cue(this,e,n)},l.Xb=function(e){return jh(this,e)},l.Kc=function(){return this.fd(0)},l.gd=function(e){return Tot(this,e)},l.hd=function(e,n){var r,s;r=this.fd(e);try{return s=r.Pb(),r.Wb(n),s}catch(o){throw o=es(o),Lt(o,112)?at(new Bo("Can't set element "+e)):at(o)}},I(xr,"AbstractSequentialList",2062),D(646,2062,W7,ort),l.fd=function(e){return AJt(this,e)},l.gc=function(){var e;return e=u(tr(this.a.b,this.b),260),e?e.a:0},I(on,"LinkedListMultimap/1",646),D(1316,2068,sl,Ent),l.Hc=function(e){return DYt(this.a,e)},l.Kc=function(){return new Koe(this.a)},l.Mc=function(e){return!H3t(this.a,e).a.dc()},l.gc=function(){return QC(this.a.b)},I(on,"LinkedListMultimap/1KeySetImpl",1316),D(1315,1,wa,Koe),l.Nb=function(e){Na(this,e)},l.Ob=function(){return nyt(this),!!this.c},l.Pb=function(){if(nyt(this),!this.c)throw at(new cc);this.a=this.c,qs(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!qs(this.d,this.c.a));return this.a.a},l.Qb=function(){nyt(this),AE(!!this.a),Az(new Hst(this.e,this.a.a)),this.a=null,this.b=this.e.c},l.b=0,I(on,"LinkedListMultimap/DistinctKeyIterator",1315),D(260,1,{260:1},Yyt),l.a=0,I(on,"LinkedListMultimap/KeyList",260),D(511,358,{358:1,511:1,44:1},TYt),l.ld=function(){return this.a},l.md=function(){return this.f},l.nd=function(e){var n;return n=this.f,this.f=e,n},I(on,"LinkedListMultimap/Node",511),D(566,1,P0,Hst,Zfe),l.Nb=function(e){Na(this,e)},l.Rb=function(e){this.e=Ckt(this.f,this.b,e,this.c),++this.d,this.a=null},l.Ob=function(){return!!this.c},l.Sb=function(){return!!this.e},l.Pb=function(){return s4t(this)},l.Tb=function(){return this.d},l.Ub=function(){return Pae(this)},l.Vb=function(){return this.d-1},l.Qb=function(){AE(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,L6n(this.f,this.a),this.a=null},l.Wb=function(e){Rmt(!!this.a),this.a.f=e},l.d=0,I(on,"LinkedListMultimap/ValueForKeyIterator",566),D(1031,56,W7),l.bd=function(e,n){this.a.bd(e,n)},l.cd=function(e,n){return this.a.cd(e,n)},l.Hc=function(e){return this.a.Hc(e)},l.Xb=function(e){return this.a.Xb(e)},l.gd=function(e){return this.a.gd(e)},l.hd=function(e,n){return this.a.hd(e,n)},l.gc=function(){return this.a.gc()},I(on,"Lists/AbstractListWrapper",1031),D(1032,1031,bbe),I(on,"Lists/RandomAccessListWrapper",1032),D(1034,1032,bbe,AYt),l.fd=function(e){return this.a.fd(e)},I(on,"Lists/1",1034),D(441,56,{441:1,20:1,31:1,56:1,16:1,15:1},Awt),l.bd=function(e,n){this.a.bd(OE(this,e),n)},l.$b=function(){this.a.$b()},l.Xb=function(e){return this.a.Xb(Dyt(this,e))},l.Kc=function(){return yre(this,0)},l.fd=function(e){return yre(this,e)},l.gd=function(e){return this.a.gd(Dyt(this,e))},l.ce=function(e,n){(Xre(e,n,this.a.gc()),Bh(this.a.kd(OE(this,n),OE(this,e)))).$b()},l.hd=function(e,n){return this.a.hd(Dyt(this,e),n)},l.gc=function(){return this.a.gc()},l.kd=function(e,n){return Xre(e,n,this.a.gc()),Bh(this.a.kd(OE(this,n),OE(this,e)))},I(on,"Lists/ReverseList",441),D(1030,441,{441:1,20:1,31:1,56:1,16:1,15:1,59:1},cWt),I(on,"Lists/RandomAccessReverseList",1030),D(1033,1,P0,CYt),l.Nb=function(e){Na(this,e)},l.Rb=function(e){this.c.Rb(e),this.c.Ub(),this.a=!1},l.Ob=function(){return this.c.Sb()},l.Sb=function(){return this.c.Ob()},l.Pb=function(){if(!this.c.Sb())throw at(new cc);return this.a=!0,this.c.Ub()},l.Tb=function(){return OE(this.b,this.c.Tb())},l.Ub=function(){if(!this.c.Ob())throw at(new cc);return this.a=!0,this.c.Pb()},l.Vb=function(){return OE(this.b,this.c.Tb())-1},l.Qb=function(){AE(this.a),this.c.Qb(),this.a=!1},l.Wb=function(e){Rmt(this.a),this.c.Wb(e)},l.a=!1,I(on,"Lists/ReverseList/1",1033),D(440,496,wa,GC),l.$d=function(e){return L$(e)},I(on,"Maps/1",440),D(712,496,wa,awt),l.$d=function(e){return u(e,44).md()},I(on,"Maps/2",712),D(975,496,wa,_Jt),l.$d=function(e){return new bm(e,IQt(this.a,e))},I(on,"Maps/3",975),D(972,2069,sl,Vj),l.Jc=function(e){Fnn(this.a,e)},l.Kc=function(){return this.a.kc()},l.Rc=function(){return this.a},l.Nc=function(){return this.a.lc()},I(on,"Maps/IteratorBasedAbstractMap/1",972),D(973,1,{},Uj),l.Yd=function(e,n){this.a.Cd(e)},I(on,"Maps/KeySet/lambda$0$Type",973),D(971,31,o3,LYt),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a.uc(e)},l.Jc=function(e){Hr(e),this.a.wc(new gy(e))},l.dc=function(){return this.a.dc()},l.Kc=function(){return new awt(this.a.vc().Kc())},l.Mc=function(e){var n,r;try{return Ky(this,e,!0)}catch(s){if(s=es(s),Lt(s,48)){for(r=this.a.vc().Kc();r.Ob();)if(n=u(r.Pb(),44),Ud(e,n.md()))return this.a.Bc(n.ld()),!0;return!1}else throw at(s)}},l.gc=function(){return this.a.gc()},I(on,"Maps/Values",971),D(974,1,{},gy),l.Yd=function(e,n){this.a.Cd(n)},I(on,"Maps/Values/lambda$0$Type",974),D(752,2085,sv,Rwt),l.xc=function(e){return this.a._b(e)?this.a.cc(e):null},l.Bc=function(e){return this.a._b(e)?this.a.fc(e):null},l.$b=function(){this.a.$b()},l._b=function(e){return this.a._b(e)},l.Ec=function(){return new TM(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()},I(on,"Multimaps/AsMap",752),D(1134,2069,sl,TM),l.Kc=function(){return esn(this.a.a.ec(),new CM(this))},l.Rc=function(){return this.a},l.Mc=function(e){var n;return fle(this,e)?(n=u(nf(u(e,44)),44),Unn(this.a,n.ld()),!0):!1},I(on,"Multimaps/AsMap/EntrySet",1134),D(1138,1,{},CM),l.Kb=function(e){return IQt(this,e)},l.Fb=function(e){return this===e},I(on,"Multimaps/AsMap/EntrySet/1",1138),D(552,2087,{552:1,849:1,20:1,31:1,16:1},Gj),l.$b=function(){qq(this.a)},l.Hc=function(e){return jWt(this.a,e)},l.Jc=function(e){Hr(e),Fa(BS(this.a),new oE(e))},l.Kc=function(){return new GC(BS(this.a).a.kc())},l.gc=function(){return this.a.d},l.Nc=function(){return pI(BS(this.a).Nc(),new nt)},I(on,"Multimaps/Keys",552),D(1136,1,{},nt),l.Kb=function(e){return u(e,44).ld()},I(on,"Multimaps/Keys/0methodref$getKey$Type",1136),D(1135,496,wa,uWt),l.$d=function(e){return new w6(u(e,44))},I(on,"Multimaps/Keys/1",1135),D(2088,1,{425:1}),l.Fb=function(e){var n;return Lt(e,503)?(n=u(e,425),u(this.a.md(),16).gc()==u(n.a.md(),16).gc()&&Ud(this.a.ld(),n.a.ld())):!1},l.Hb=function(){var e;return e=this.a.ld(),(e==null?0:$i(e))^u(this.a.md(),16).gc()},l.Ib=function(){var e,n;return n=ES(this.a.ld()),e=u(this.a.md(),16).gc(),e==1?n:n+" x "+e},I(on,"Multisets/AbstractEntry",2088),D(503,2088,{503:1,425:1},w6),I(on,"Multimaps/Keys/1/1",503),D(1137,1,ir,oE),l.Cd=function(e){this.a.Cd(u(e,44).ld())},I(on,"Multimaps/Keys/lambda$1$Type",1137),D(1140,1,ir,ot),l.Cd=function(e){Tun(u(e,425))},I(on,"Multiset/lambda$0$Type",1140),D(753,1,ir,Tnt),l.Cd=function(e){ugn(this.a,u(e,425))},I(on,"Multiset/lambda$1$Type",753),D(1141,1,{},ft),I(on,"Multisets/0methodref$add$Type",1141),D(754,1,{},wt),l.Kb=function(e){return I1n(u(e,425))},I(on,"Multisets/lambda$1$Type",754),D(2106,1,tN),I(on,"RangeGwtSerializationDependencies",2106),D(521,2106,{178:1,521:1,3:1,46:1},oxt),l.Lb=function(e){return iee(this,u(e,34))},l.Mb=function(e){return iee(this,u(e,34))},l.Fb=function(e){var n;return Lt(e,521)?(n=u(e,521),bxt(this.a,n.a)&&bxt(this.b,n.b)):!1},l.Hb=function(){return this.a.Hb()*31+this.b.Hb()},l.Ib=function(){return kie(this.a,this.b)},I(on,"Range",521),D(654,2097,G7,yyt),l.fd=function(e){return ait(this.b,e)},l.Zd=function(){return this.a},l.Xb=function(e){return Cb(this.b,e)},l.Pd=function(e){return ait(this.b,e)},I(on,"RegularImmutableAsList",654),D(656,2105,G7,ust),l.Rd=function(){return this.a},I(on,"RegularImmutableList",656),D(548,730,K7,owt,cwt),I(on,"RegularImmutableMap",548),D(731,719,Ek,Pwt);var n9t;I(on,"RegularImmutableSet",731),D(2074,dd,sl),l.Kc=function(){return new qyt(this.a,this.b)},l.Fc=function(e){throw at(new Vr)},l.Gc=function(e){throw at(new Vr)},l.$b=function(){throw at(new Vr)},l.Mc=function(e){throw at(new Vr)},I(on,"Sets/SetView",2074),D(976,2074,sl,_Yt),l.Kc=function(){return new qyt(this.a,this.b)},l.Hc=function(e){return Dit(this.a,e)&&this.b.Hc(e)},l.Ic=function(e){return rO(this.a,e)&&this.b.Ic(e)},l.dc=function(){return Xle(this.b,this.a)},l.Lc=function(){return _i(new ln(null,new gn(this.a,1)),new Wj(this.b))},l.gc=function(){return tO(this)},l.Oc=function(){return _i(new ln(null,new gn(this.a,1)),new Kj(this.b))},I(on,"Sets/2",976),D(977,1,Kr,Kj),l.Mb=function(e){return this.a.Hc(e)},I(on,"Sets/2/0methodref$contains$Type",977),D(714,713,V7,qyt),l.Yb=function(){for(var e;_mt(this.a);)if(e=GS(this.a),this.c.Hc(e))return e;return this.e=2,null},I(on,"Sets/2/1",714),D(978,1,Kr,Wj),l.Mb=function(e){return this.a.Hc(e)},I(on,"Sets/2/1methodref$contains$Type",978),D(616,2073,{616:1,3:1,20:1,16:1,277:1,21:1,87:1},$ne),l.Kd=function(){return this.b},l.Ld=function(){return this.b},l.Wd=function(){return this.b},l.Jc=function(e){this.a.Jc(e)},l.Lc=function(){return this.a.Lc()},l.Oc=function(){return this.a.Oc()},I(on,"Sets/UnmodifiableNavigableSet",616),D(2031,2030,K7,Vee),l.Vd=function(){return Vd(),new D6(this.a)},l.Cc=function(){return Vd(),new D6(this.a)},l.xd=function(){return Vd(),new D6(this.a)},I(on,"SingletonImmutableBiMap",2031),D(657,2105,G7,Ait),l.Rd=function(){return this.a},I(on,"SingletonImmutableList",657),D(363,2079,Ek,D6),l.Kc=function(){return new EM(this.a)},l.Hc=function(e){return Ti(this.a,e)},l.Od=function(){return new EM(this.a)},l.gc=function(){return 1},I(on,"SingletonImmutableSet",363),D(1148,1,{},mt),l.Kb=function(e){return u(e,159)},I(on,"Streams/lambda$0$Type",1148),D(1149,1,kV,Yj),l.de=function(){zdn(this.a)},I(on,"Streams/lambda$1$Type",1149),D(1725,1724,pw,Tne),l.Zb=function(){var e;return e=this.f,u(u(e||(this.f=Lt(this.c,139)?new SS(this,u(this.c,139)):Lt(this.c,133)?new cI(this,u(this.c,133)):new vE(this,this.c)),133),139)},l.hc=function(){return new pp(this.b)},l.pd=function(){return new pp(this.b)},l.ec=function(){var e;return e=this.i,u(u(e||(this.i=Lt(this.c,139)?new mE(this,u(this.c,139)):Lt(this.c,133)?new FM(this,u(this.c,133)):new W4(this,this.c)),87),277)},l.ac=function(){return Lt(this.c,139)?new SS(this,u(this.c,139)):Lt(this.c,133)?new cI(this,u(this.c,133)):new vE(this,this.c)},l.ic=function(e){return e==null&&this.a.Ne(e,e),new pp(this.b)},I(on,"TreeMultimap",1725),D(82,1,{3:1,82:1}),l.ee=function(e){return new Error(e)},l.fe=function(){return this.e},l.ge=function(){var e,n,r;for(r=(this.k==null&&(this.k=Vt(Sht,ue,82,0,0,1)),this.k),n=Vt(aa,Ln,1,r.length,5,1),e=0;e<r.length;e++)n[e]=r[e].e;return n},l.he=function(){return this.f},l.ie=function(){return this.g},l.je=function(){znn(this,x1n(this.ee(eq(this,this.g)))),fKt(this)},l.Ib=function(){return eq(this,this.ie())},l.e=wbe,l.i=!1,l.n=!0;var Sht=I(Sc,"Throwable",82);D(103,82,{3:1,103:1,82:1}),I(Sc,"Exception",103),D(63,103,Pg,q2,uc),I(Sc,"RuntimeException",63),D(607,63,Pg),I(Sc,"JsException",607),D(875,607,Pg),I(sN,"JavaScriptExceptionBase",875),D(485,875,{485:1,3:1,103:1,63:1,82:1},Tue),l.ie=function(){return Fyn(this),this.c},l.ke=function(){return $t(this.b)===$t(r9t)?null:this.b};var r9t;I(p8t,"JavaScriptException",485);var Hve=I(p8t,"JavaScriptObject$",0),_ht;D(2047,1,{}),I(p8t,"Scheduler",2047);var MU=0,Vve=0,IU=-1;D(902,2047,{},ct);var i9t;I(sN,"SchedulerImpl",902);var Aht;D(2058,1,{}),I(sN,"StackTraceCreator/Collector",2058),D(876,2058,{},rt),l.le=function(e){var n={},r=[];e[zct]=r;for(var s=arguments.callee.caller;s;){var o=($E(),s.name||(s.name=kgn(s.toString())));r.push(o);var h=":"+o,d=n[h];if(d){var m,k;for(m=0,k=d.length;m<k;m++)if(d[m]===s)return}(d||(n[h]=[])).push(s),s=s.caller}},l.me=function(e){var n,r,s,o;for(s=($E(),e&&e[zct]?e[zct]:[]),r=s.length,o=Vt(m9t,ue,319,r,0,1),n=0;n<r;n++)o[n]=new est(s[n],null,-1);return o},I(sN,"StackTraceCreator/CollectorLegacy",876),D(2059,2058,{}),l.le=function(e){},l.ne=function(e,n,r,s){return new est(n,e+"@"+s,r<0?-1:r)},l.me=function(e){var n,r,s,o,h,d;if(o=uvn(e),h=Vt(m9t,ue,319,0,0,1),n=0,s=o.length,s==0)return h;for(d=xpe(this,o[0]),hn(d.d,$ct)||(h[n++]=d),r=1;r<s;r++)h[n++]=xpe(this,o[r]);return h},I(sN,"StackTraceCreator/CollectorModern",2059),D(877,2059,{},it),l.ne=function(e,n,r,s){return new est(n,e,-1)},I(sN,"StackTraceCreator/CollectorModernNoSourceMap",877),D(1064,1,{}),I(w8t,ybe,1064),D(624,1064,{624:1},Lee);var s9t;I(aut,ybe,624),D(2101,1,{}),I(w8t,xbe,2101),D(2102,2101,{}),I(aut,xbe,2102),D(1120,1,{},gt);var mA;I(aut,"LocaleInfo",1120),D(2027,1,{},Q),l.a=0,I(aut,"TimeZone",2027),D(1293,2102,{},dt),I("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1293),D(443,1,{443:1},ote),l.a=!1,l.b=0,I(w8t,"DateTimeFormat/PatternPart",443),D(206,1,kbe,x$,Q4t,avt),l.Fd=function(e){return b1n(this,u(e,206))},l.Fb=function(e){return Lt(e,206)&&vm(Pc(this.q.getTime()),Pc(u(e,206).q.getTime()))},l.Hb=function(){var e;return e=Pc(this.q.getTime()),qr(vst(e,Ab(e,32)))},l.Ib=function(){var e,n,r;return r=-this.q.getTimezoneOffset(),e=(r>=0?"+":"")+(r/60|0),n=nz(b.Math.abs(r)%60),(Efe(),rye)[this.q.getDay()]+" "+iye[this.q.getMonth()]+" "+nz(this.q.getDate())+" "+nz(this.q.getHours())+":"+nz(this.q.getMinutes())+":"+nz(this.q.getSeconds())+" GMT"+e+n+" "+this.q.getFullYear()};var OU=I(xr,"Date",206);D(2015,206,kbe,Ghe),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,I("com.google.gwt.i18n.shared.impl","DateRecord",2015),D(2064,1,{}),l.pe=function(){return null},l.qe=function(){return null},l.re=function(){return null},l.se=function(){return null},l.te=function(){return null},I(Ck,"JSONValue",2064),D(221,2064,{221:1},cp,Xj),l.Fb=function(e){return Lt(e,221)?o3t(this.a,u(e,221).a):!1},l.oe=function(){return Tnn},l.Hb=function(){return Xyt(this.a)},l.pe=function(){return this},l.Ib=function(){var e,n,r;for(r=new eh("["),n=0,e=this.a.length;n<e;n++)n>0&&(r.a+=","),tu(r,$y(this,n));return r.a+="]",r.a},I(Ck,"JSONArray",221),D(492,2064,{492:1},xc),l.oe=function(){return Cnn},l.qe=function(){return this},l.Ib=function(){return Pn(),""+this.a},l.a=!1;var Uve,Gve;I(Ck,"JSONBoolean",492),D(997,63,Pg,lWt),I(Ck,"JSONException",997),D(1036,2064,{},K),l.oe=function(){return Snn},l.Ib=function(){return Vu};var Kve;I(Ck,"JSONNull",1036),D(263,2064,{263:1},cE),l.Fb=function(e){return Lt(e,263)?this.a==u(e,263).a:!1},l.oe=function(){return knn},l.Hb=function(){return F6(this.a)},l.re=function(){return this},l.Ib=function(){return this.a+""},l.a=0,I(Ck,"JSONNumber",263),D(190,2064,{190:1},_6,uE),l.Fb=function(e){return Lt(e,190)?o3t(this.a,u(e,190).a):!1},l.oe=function(){return Enn},l.Hb=function(){return Xyt(this.a)},l.se=function(){return this},l.Ib=function(){var e,n,r,s,o,h,d;for(d=new eh("{"),e=!0,h=cat(this,Vt(Pe,ue,2,0,6,1)),r=h,s=0,o=r.length;s<o;++s)n=r[s],e?e=!1:d.a+=ao,ni(d,j1e(n)),d.a+=":",tu(d,vg(this,n));return d.a+="}",d.a},I(Ck,"JSONObject",190),D(605,dd,sl,crt),l.Hc=function(e){return ba(e)&&srn(this.a,Gr(e))},l.Kc=function(){return new gr(new hl(this.b))},l.gc=function(){return this.b.length},I(Ck,"JSONObject/1",605);var Lht;D(211,2064,{211:1},Oy),l.Fb=function(e){return Lt(e,211)?hn(this.a,u(e,211).a):!1},l.oe=function(){return xnn},l.Hb=function(){return _p(this.a)},l.te=function(){return this},l.Ib=function(){return j1e(this.a)},I(Ck,"JSONString",211);var Zb,a9t,Wve,o9t,c9t;D(2060,1,{533:1}),I(m8t,"OutputStream",2060),D(2061,2060,{533:1}),I(m8t,"FilterOutputStream",2061),D(878,2061,{533:1},Ot),I(m8t,"PrintStream",878),D(427,1,{483:1}),l.Ib=function(){return this.a},I(Sc,"AbstractStringBuilder",427),D(538,63,Pg,f$),I(Sc,"ArithmeticException",538),D(77,63,out,$2t,Bo),I(Sc,"IndexOutOfBoundsException",77),D(333,77,{3:1,333:1,103:1,77:1,63:1,82:1},Y2t,gwt),I(Sc,"ArrayIndexOutOfBoundsException",333),D(537,63,Pg,$nt,wWt),I(Sc,"ArrayStoreException",537),D(295,82,Ebe,Znt),I(Sc,"Error",295),D(200,295,Ebe,j2t,I3t),I(Sc,"AssertionError",200),Pve={3:1,484:1,34:1};var t2,bT,ys=I(Sc,"Boolean",484);D(242,1,{3:1,242:1});var u9t;I(Sc,"Number",242),D(222,242,{3:1,222:1,34:1,242:1},gi),l.Fd=function(e){return nrn(this,u(e,222))},l.ue=function(){return this.a},l.Fb=function(e){return Lt(e,222)&&u(e,222).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var Fk=I(Sc,"Byte",222),l9t;D(180,1,{3:1,180:1,34:1},ss),l.Fd=function(e){return rrn(this,u(e,180))},l.Fb=function(e){return Lt(e,180)&&u(e,180).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return String.fromCharCode(this.a)},l.a=0;var h9t,vA=I(Sc,"Character",180),f9t;D(212,63,{3:1,212:1,103:1,63:1,82:1},dKt,fE),I(Sc,"ClassCastException",212),Fve={3:1,34:1,345:1,242:1};var zs=I(Sc,"Double",345);D(161,242,{3:1,34:1,161:1,242:1},na,z2t),l.Fd=function(e){return win(this,u(e,161))},l.ue=function(){return this.a},l.Fb=function(e){return Lt(e,161)&&OZt(this.a,u(e,161).a)},l.Hb=function(){return Ys(this.a)},l.Ib=function(){return""+this.a},l.a=0;var wT=I(Sc,"Float",161);D(33,63,{3:1,103:1,33:1,63:1,82:1},DM,zn,due),I(Sc,"IllegalArgumentException",33),D(73,63,Pg,Xu,Ro),I(Sc,"IllegalStateException",73),D(17,242,{3:1,34:1,17:1,242:1},wr),l.Fd=function(e){return vmt(this,u(e,17))},l.ue=function(){return this.a},l.Fb=function(e){return Lt(e,17)&&u(e,17).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var Ra=I(Sc,"Integer",17),d9t,Yve;D(168,242,{3:1,34:1,168:1,242:1},Cr),l.Fd=function(e){return bin(this,u(e,168))},l.ue=function(){return tw(this.a)},l.Fb=function(e){return Lt(e,168)&&vm(u(e,168).a,this.a)},l.Hb=function(){return pan(this.a)},l.Ib=function(){return""+OS(this.a)},l.a=0;var gv=I(Sc,"Long",168),g9t;D(2140,1,{}),D(1904,63,Pg,mWt),I(Sc,"NegativeArraySizeException",1904),D(169,607,{3:1,103:1,169:1,63:1,82:1},E6,A6),l.ee=function(e){return new TypeError(e)},I(Sc,"NullPointerException",169);var p9t,Dht,Xve,b9t;D(130,33,{3:1,103:1,33:1,130:1,63:1,82:1},jd),I(Sc,"NumberFormatException",130),D(191,242,{3:1,34:1,242:1,191:1},$n),l.Fd=function(e){return irn(this,u(e,191))},l.ue=function(){return this.a},l.Fb=function(e){return Lt(e,191)&&u(e,191).a==this.a},l.Hb=function(){return this.a},l.Ib=function(){return""+this.a},l.a=0;var pv=I(Sc,"Short",191),w9t;D(319,1,{3:1,319:1},est),l.Fb=function(e){var n;return Lt(e,319)?(n=u(e,319),this.c==n.c&&this.d==n.d&&this.a==n.a&&this.b==n.b):!1},l.Hb=function(){return lO(lt(ut(aa,1),Ln,1,5,[he(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 m9t=I(Sc,"StackTraceElement",319);Bve={3:1,483:1,34:1,2:1};var Pe=I(Sc,g8t,2);D(111,427,{483:1},dp,YC,ef),I(Sc,"StringBuffer",111),D(104,427,{483:1},yb,I4,eh),I(Sc,"StringBuilder",104),D(702,77,out,dwt),I(Sc,"StringIndexOutOfBoundsException",702),D(2145,1,{});var Qve;D(48,63,{3:1,103:1,63:1,82:1,48:1},Vr,hp),I(Sc,"UnsupportedOperationException",48),D(247,242,{3:1,34:1,242:1,247:1},gO,Twt),l.Fd=function(e){return wge(this,u(e,247))},l.ue=function(){return Jy(Uge(this))},l.Fb=function(e){var n;return this===e?!0:Lt(e,247)?(n=u(e,247),this.e==n.e&&wge(this,n)==0):!1},l.Hb=function(){var e;return this.b!=0?this.b:this.a<54?(e=Pc(this.f),this.b=qr(sa(e,-1)),this.b=33*this.b+qr(sa(_m(e,32),-1)),this.b=17*this.b+Ys(this.e),this.b):(this.b=17*Lue(this.c)+Ys(this.e),this.b)},l.Ib=function(){return Uge(this)},l.a=0,l.b=0,l.d=0,l.e=0,l.f=0;var Jve,_w,v9t,y9t,x9t,k9t,E9t,T9t,Mht=I("java.math","BigDecimal",247);D(92,242,{3:1,34:1,242:1,92:1},kg,xre,Y2,Dle,Sb),l.Fd=function(e){return Sle(this,u(e,92))},l.ue=function(){return Jy(Oct(this,0))},l.Fb=function(e){return R5t(this,e)},l.Hb=function(){return Lue(this)},l.Ib=function(){return Oct(this,0)},l.b=-2,l.c=0,l.d=0,l.e=0;var Zve,NU,tye,Iht,PU,yA,N5=I("java.math","BigInteger",92),eye,nye,Bk,xA;D(497,2065,sv),l.$b=function(){dl(this)},l._b=function(e){return Tu(this,e)},l.uc=function(e){return lue(this,e,this.i)||lue(this,e,this.f)},l.vc=function(){return new mr(this)},l.xc=function(e){return tr(this,e)},l.zc=function(e,n){return hi(this,e,n)},l.Bc=function(e){return rk(this,e)},l.gc=function(){return QC(this)},l.g=0,I(xr,"AbstractHashMap",497),D(267,dd,sl,mr),l.$b=function(){this.a.$b()},l.Hc=function(e){return Qre(this,e)},l.Kc=function(){return new sw(this.a)},l.Mc=function(e){var n;return Qre(this,e)?(n=u(e,44).ld(),this.a.Bc(n),!0):!1},l.gc=function(){return this.a.gc()},I(xr,"AbstractHashMap/EntrySet",267),D(268,1,wa,sw),l.Nb=function(e){Na(this,e)},l.Pb=function(){return Um(this)},l.Ob=function(){return this.b},l.Qb=function(){Sae(this)},l.b=!1,l.d=0,I(xr,"AbstractHashMap/EntrySetIterator",268),D(426,1,wa,gr),l.Nb=function(e){Na(this,e)},l.Ob=function(){return frt(this)},l.Pb=function(){return Uyt(this)},l.Qb=function(){Kl(this)},l.b=0,l.c=-1,I(xr,"AbstractList/IteratorImpl",426),D(98,426,P0,La),l.Qb=function(){Kl(this)},l.Rb=function(e){Ly(this,e)},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Ub=function(){return ur(this.b>0),this.a.Xb(this.c=--this.b)},l.Vb=function(){return this.b-1},l.Wb=function(e){_y(this.c!=-1),this.a.hd(this.c,e)},I(xr,"AbstractList/ListIteratorImpl",98),D(244,56,W7,xp),l.bd=function(e,n){Fy(e,this.b),this.c.bd(this.a+e,n),++this.b},l.Xb=function(e){return vn(e,this.b),this.c.Xb(this.a+e)},l.gd=function(e){var n;return vn(e,this.b),n=this.c.gd(this.a+e),--this.b,n},l.hd=function(e,n){return vn(e,this.b),this.c.hd(this.a+e,n)},l.gc=function(){return this.b},l.a=0,l.b=0,I(xr,"AbstractList/SubList",244),D(266,dd,sl,cr),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a._b(e)},l.Kc=function(){var e;return e=this.a.vc().Kc(),new vi(e)},l.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},l.gc=function(){return this.a.gc()},I(xr,"AbstractMap/1",266),D(541,1,wa,vi),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var e;return e=u(this.a.Pb(),44),e.ld()},l.Qb=function(){this.a.Qb()},I(xr,"AbstractMap/1/1",541),D(231,31,o3,si),l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a.uc(e)},l.Kc=function(){var e;return e=this.a.vc().Kc(),new Qi(e)},l.gc=function(){return this.a.gc()},I(xr,"AbstractMap/2",231),D(300,1,wa,Qi),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var e;return e=u(this.a.Pb(),44),e.md()},l.Qb=function(){this.a.Qb()},I(xr,"AbstractMap/2/1",300),D(493,1,{493:1,44:1}),l.Fb=function(e){var n;return Lt(e,44)?(n=u(e,44),Nc(this.d,n.ld())&&Nc(this.e,n.md())):!1},l.ld=function(){return this.d},l.md=function(){return this.e},l.Hb=function(){return V4(this.d)^V4(this.e)},l.nd=function(e){return fvt(this,e)},l.Ib=function(){return this.d+"="+this.e},I(xr,"AbstractMap/AbstractEntry",493),D(397,493,{493:1,397:1,44:1},I$),I(xr,"AbstractMap/SimpleEntry",397),D(2082,1,lut),l.Fb=function(e){var n;return Lt(e,44)?(n=u(e,44),Nc(this.ld(),n.ld())&&Nc(this.md(),n.md())):!1},l.Hb=function(){return V4(this.ld())^V4(this.md())},l.Ib=function(){return this.ld()+"="+this.md()},I(xr,lbe,2082),D(2090,2065,h8t),l.Xc=function(e){return srt(this.Ee(e))},l.tc=function(e){return rse(this,e)},l._b=function(e){return dvt(this,e)},l.vc=function(){return new Es(this)},l.Tc=function(){return wee(this.Ge())},l.Yc=function(e){return srt(this.He(e))},l.xc=function(e){var n;return n=e,Ko(this.Fe(n))},l.$c=function(e){return srt(this.Ie(e))},l.ec=function(){return new ks(this)},l.Vc=function(){return wee(this.Je())},l._c=function(e){return srt(this.Ke(e))},I(xr,"AbstractNavigableMap",2090),D(629,dd,sl,Es),l.Hc=function(e){return Lt(e,44)&&rse(this.b,u(e,44))},l.Kc=function(){return this.b.De()},l.Mc=function(e){var n;return Lt(e,44)?(n=u(e,44),this.b.Le(n)):!1},l.gc=function(){return this.b.gc()},I(xr,"AbstractNavigableMap/EntrySet",629),D(1146,dd,f8t,ks),l.Nc=function(){return new D$(this)},l.$b=function(){this.a.$b()},l.Hc=function(e){return dvt(this.a,e)},l.Kc=function(){var e;return e=this.a.vc().b.De(),new as(e)},l.Mc=function(e){return dvt(this.a,e)?(this.a.Bc(e),!0):!1},l.gc=function(){return this.a.gc()},I(xr,"AbstractNavigableMap/NavigableKeySet",1146),D(1147,1,wa,as),l.Nb=function(e){Na(this,e)},l.Ob=function(){return frt(this.a.a)},l.Pb=function(){var e;return e=$Jt(this.a),e.ld()},l.Qb=function(){GZt(this.a)},I(xr,"AbstractNavigableMap/NavigableKeySet/1",1147),D(2103,31,o3),l.Fc=function(e){return V6(D7(this,e),X7),!0},l.Gc=function(e){return Wn(e),wI(e!=this,"Can't add a queue to itself"),Ma(this,e)},l.$b=function(){for(;Yst(this)!=null;);},I(xr,"AbstractQueue",2103),D(310,31,{4:1,20:1,31:1,16:1},K4,Gre),l.Fc=function(e){return w3t(this,e),!0},l.$b=function(){E3t(this)},l.Hc=function(e){return Ice(new $S(this),e)},l.dc=function(){return WC(this)},l.Kc=function(){return new $S(this)},l.Mc=function(e){return ofn(new $S(this),e)},l.gc=function(){return this.c-this.b&this.a.length-1},l.Nc=function(){return new gn(this,272)},l.Qc=function(e){var n;return n=this.c-this.b&this.a.length-1,e.length<n&&(e=g$(new Array(n),e)),Uoe(this,e,n),e.length>n&&ls(e,n,null),e},l.b=0,l.c=0,I(xr,"ArrayDeque",310),D(458,1,wa,$S),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.a!=this.b},l.Pb=function(){return cH(this)},l.Qb=function(){Aoe(this)},l.a=0,l.b=0,l.c=-1,I(xr,"ArrayDeque/IteratorImpl",458),D(13,56,Cbe,fe,wu,fl),l.bd=function(e,n){Sm(this,e,n)},l.Fc=function(e){return ge(this,e)},l.cd=function(e,n){return l5t(this,e,n)},l.Gc=function(e){return Hs(this,e)},l.$b=function(){wy(this.c,0)},l.Hc=function(e){return Xo(this,e,0)!=-1},l.Jc=function(e){Cu(this,e)},l.Xb=function(e){return Oe(this,e)},l.dd=function(e){return Xo(this,e,0)},l.dc=function(){return this.c.length==0},l.Kc=function(){return new G(this)},l.gd=function(e){return Ep(this,e)},l.Mc=function(e){return zu(this,e)},l.ce=function(e,n){pre(this,e,n)},l.hd=function(e,n){return Mh(this,e,n)},l.gc=function(){return this.c.length},l.jd=function(e){Ds(this,e)},l.Pc=function(){return Tz(this.c)},l.Qc=function(e){return ld(this,e)};var XSn=I(xr,"ArrayList",13);D(7,1,wa,G),l.Nb=function(e){Na(this,e)},l.Ob=function(){return lc(this)},l.Pb=function(){return et(this)},l.Qb=function(){PS(this)},l.a=0,l.b=-1,I(xr,"ArrayList/1",7),D(2112,b.Function,{},It),l.Me=function(e,n){return Bi(e,n)},D(151,56,Sbe,hl),l.Hc=function(e){return Loe(this,e)!=-1},l.Jc=function(e){var n,r,s,o;for(Wn(e),r=this.a,s=0,o=r.length;s<o;++s)n=r[s],e.Cd(n)},l.Xb=function(e){return Mte(this,e)},l.hd=function(e,n){var r;return r=(vn(e,this.a.length),this.a[e]),ls(this.a,e,n),r},l.gc=function(){return this.a.length},l.jd=function(e){Mit(this.a,this.a.length,e)},l.Pc=function(){return $le(this,Vt(aa,Ln,1,this.a.length,5,1))},l.Qc=function(e){return $le(this,e)},I(xr,"Arrays/ArrayList",151);var co,q0,FU;D(953,56,Sbe,jt),l.Hc=function(e){return!1},l.Xb=function(e){return bmt(e)},l.Kc=function(){return mn(),yE(),mT},l.ed=function(){return mn(),yE(),mT},l.gc=function(){return 0},I(xr,"Collections/EmptyList",953),D(954,1,P0,xt),l.Nb=function(e){Na(this,e)},l.Rb=function(e){throw at(new Vr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw at(new cc)},l.Tb=function(){return 0},l.Ub=function(){throw at(new cc)},l.Vb=function(){return-1},l.Qb=function(){throw at(new Xu)},l.Wb=function(e){throw at(new Xu)};var mT;I(xr,"Collections/EmptyListIterator",954),D(956,2065,K7,Ft),l._b=function(e){return!1},l.uc=function(e){return!1},l.vc=function(){return mn(),FU},l.xc=function(e){return null},l.ec=function(){return mn(),FU},l.gc=function(){return 0},l.Cc=function(){return mn(),co},I(xr,"Collections/EmptyMap",956),D(955,dd,Ek,Ct),l.Hc=function(e){return!1},l.Kc=function(){return mn(),yE(),mT},l.gc=function(){return 0},I(xr,"Collections/EmptySet",955),D(608,56,{3:1,20:1,31:1,56:1,16:1,15:1},pa),l.Hc=function(e){return Nc(this.a,e)},l.Xb=function(e){return vn(e,1),this.a},l.gc=function(){return 1},I(xr,"Collections/SingletonList",608),D(384,1,dbe,Ta),l.Jc=function(e){Fa(this,e)},l.Lc=function(){return new ln(null,this.Nc())},l.Nc=function(){return new gn(this,0)},l.Oc=function(){return new ln(null,this.Nc())},l.Fc=function(e){return qWt()},l.Gc=function(e){return HWt()},l.$b=function(){VWt()},l.Hc=function(e){return BM(this,e)},l.Ic=function(e){return MYt(this,e)},l.dc=function(){return this.b.dc()},l.Kc=function(){return new eo(this.b.Kc())},l.Mc=function(e){return UWt()},l.gc=function(){return this.b.gc()},l.Pc=function(){return this.b.Pc()},l.Qc=function(e){return IYt(this,e)},l.Ib=function(){return rc(this.b)},I(xr,"Collections/UnmodifiableCollection",384),D(383,1,wa,eo),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.b.Ob()},l.Pb=function(){return this.b.Pb()},l.Qb=function(){GWt()},I(xr,"Collections/UnmodifiableCollectionIterator",383),D(540,384,_be,uz),l.Nc=function(){return new gn(this,16)},l.bd=function(e,n){throw at(new Vr)},l.cd=function(e,n){throw at(new Vr)},l.Fb=function(e){return Ti(this.a,e)},l.Xb=function(e){return this.a.Xb(e)},l.Hb=function(){return $i(this.a)},l.dd=function(e){return this.a.dd(e)},l.dc=function(){return this.a.dc()},l.ed=function(){return new Hmt(this.a.fd(0))},l.fd=function(e){return new Hmt(this.a.fd(e))},l.gd=function(e){throw at(new Vr)},l.hd=function(e,n){throw at(new Vr)},l.jd=function(e){throw at(new Vr)},l.kd=function(e,n){return new uz(this.a.kd(e,n))},I(xr,"Collections/UnmodifiableList",540),D(705,383,P0,Hmt),l.Qb=function(){GWt()},l.Rb=function(e){throw at(new Vr)},l.Sb=function(){return this.a.Sb()},l.Tb=function(){return this.a.Tb()},l.Ub=function(){return this.a.Ub()},l.Vb=function(){return this.a.Vb()},l.Wb=function(e){throw at(new Vr)},I(xr,"Collections/UnmodifiableListIterator",705),D(609,1,sv,Kn),l.wc=function(e){e_(this,e)},l.yc=function(e,n,r){return Vat(this,e,n,r)},l.$b=function(){throw at(new Vr)},l._b=function(e){return this.c._b(e)},l.uc=function(e){return NYt(this,e)},l.vc=function(){return BE(this)},l.Fb=function(e){return PYt(this,e)},l.xc=function(e){return this.c.xc(e)},l.Hb=function(){return $i(this.c)},l.dc=function(){return this.c.dc()},l.ec=function(){return Xee(this)},l.zc=function(e,n){throw at(new Vr)},l.Bc=function(e){throw at(new Vr)},l.gc=function(){return this.c.gc()},l.Ib=function(){return rc(this.c)},l.Cc=function(){return Yee(this)},I(xr,"Collections/UnmodifiableMap",609),D(396,384,Rct,dE),l.Nc=function(){return new gn(this,1)},l.Fb=function(e){return Ti(this.b,e)},l.Hb=function(){return $i(this.b)},I(xr,"Collections/UnmodifiableSet",396),D(957,396,Rct,kWt),l.Hc=function(e){return OYt(this,e)},l.Ic=function(e){return this.b.Ic(e)},l.Kc=function(){var e;return e=this.b.Kc(),new mo(e)},l.Pc=function(){var e;return e=this.b.Pc(),Aie(e,e.length),e},l.Qc=function(e){return Nne(this,e)},I(xr,"Collections/UnmodifiableMap/UnmodifiableEntrySet",957),D(958,1,wa,mo),l.Nb=function(e){Na(this,e)},l.Pb=function(){return new nr(u(this.a.Pb(),44))},l.Ob=function(){return this.a.Ob()},l.Qb=function(){throw at(new Vr)},I(xr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",958),D(703,1,lut,nr),l.Fb=function(e){return this.a.Fb(e)},l.ld=function(){return this.a.ld()},l.md=function(){return this.a.md()},l.Hb=function(){return this.a.Hb()},l.nd=function(e){throw at(new Vr)},l.Ib=function(){return rc(this.a)},I(xr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",703),D(610,540,{20:1,16:1,15:1,59:1},nrt),I(xr,"Collections/UnmodifiableRandomAccessList",610),D(704,396,gbe,Vmt),l.Nc=function(){return new D$(this)},l.Fb=function(e){return Ti(this.a,e)},l.Hb=function(){return $i(this.a)},I(xr,"Collections/UnmodifiableSortedSet",704),D(858,1,hut,kt),l.Ne=function(e,n){var r;return r=Sie(u(e,12),u(n,12)),r!=0?r:age(u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(xr,"Comparator/lambda$0$Type",858);var C9t,Oht,S9t;D(769,1,hut,Gt),l.Ne=function(e,n){return Sun(u(e,34),u(n,34))},l.Fb=function(e){return this===e},l.Oe=function(){return Nm(),S9t},I(xr,"Comparators/NaturalOrderComparator",769),D(1226,1,hut,Fe),l.Ne=function(e,n){return Cun(u(e,34),u(n,34))},l.Fb=function(e){return this===e},l.Oe=function(){return Nm(),Oht},I(xr,"Comparators/ReverseNaturalOrderComparator",1226),D(52,1,hut,Be),l.Fb=function(e){return this===e},l.Ne=function(e,n){return this.a.Ne(n,e)},l.Oe=function(){return this.a},I(xr,"Comparators/ReversedComparator",52),D(175,63,Pg,Th),I(xr,"ConcurrentModificationException",175);var rye,iye;D(1948,1,uN,Mt),l.Pe=function(e){ule(this,e)},l.Ib=function(){return"DoubleSummaryStatistics[count = "+OS(this.a)+", avg = "+(drt(this.a,0)?B3t(this)/tw(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+B3t(this)+"]"},l.a=0,l.b=Vs,l.c=Zi,l.d=0,l.e=0,l.f=0,I(xr,"DoubleSummaryStatistics",1948),D(1868,63,Pg,gKt),I(xr,"EmptyStackException",1868),D(460,2065,sv,d_),l.zc=function(e,n){return gvt(this,e,n)},l.$b=function(){Bee(this)},l._b=function(e){return JYt(this,e)},l.uc=function(e){var n,r;for(r=new I6(this.a);r.a<r.c.a.length;)if(n=GS(r),Nc(e,this.b[n.g]))return!0;return!1},l.vc=function(){return new Ls(this)},l.xc=function(e){return Io(this,e)},l.Bc=function(e){return c3t(this,e)},l.gc=function(){return this.a.c},I(xr,"EnumMap",460),D(1340,dd,sl,Ls),l.$b=function(){Bee(this.a)},l.Hc=function(e){return Jre(this,e)},l.Kc=function(){return new Fte(this.a)},l.Mc=function(e){var n;return Jre(this,e)?(n=u(e,44).ld(),c3t(this.a,n),!0):!1},l.gc=function(){return this.a.a.c},I(xr,"EnumMap/EntrySet",1340),D(1341,1,wa,Fte),l.Nb=function(e){Na(this,e)},l.Pb=function(){return this.b=GS(this.a),new tXt(this.c,this.b)},l.Ob=function(){return _mt(this.a)},l.Qb=function(){_y(!!this.b),c3t(this.c,this.b),this.b=null},I(xr,"EnumMap/EntrySetIterator",1341),D(1342,2082,lut,tXt),l.ld=function(){return this.a},l.md=function(){return this.b.b[this.a.g]},l.nd=function(e){return Qvt(this.b.b,this.a.g,e)},I(xr,"EnumMap/MapEntry",1342),D(181,dd,{20:1,31:1,16:1,181:1,21:1});var sye=I(xr,"EnumSet",181);D(162,181,{20:1,31:1,16:1,181:1,162:1,21:1},_h),l.Fc=function(e){return zf(this,u(e,22))},l.Hc=function(e){return Dit(this,e)},l.Kc=function(){return new I6(this)},l.Mc=function(e){return Ute(this,e)},l.gc=function(){return this.c},l.c=0,I(xr,"EnumSet/EnumSetImpl",162),D(356,1,wa,I6),l.Nb=function(e){Na(this,e)},l.Pb=function(){return GS(this)},l.Ob=function(){return _mt(this)},l.Qb=function(){_y(this.b!=-1),ls(this.c.b,this.b,null),--this.c.c,this.b=-1},l.a=-1,l.b=-1,I(xr,"EnumSet/EnumSetImpl/IteratorImpl",356),D(45,497,E5,_r,M6,mQt),l.Be=function(e,n){return $t(e)===$t(n)||e!=null&&Ti(e,n)},l.Ce=function(e){var n;return e==null?0:(n=$i(e),n|0)},I(xr,"HashMap",45),D(49,dd,v8t,Os,w$,LS),l.Fc=function(e){return qs(this,e)},l.$b=function(){this.a.$b()},l.Hc=function(e){return x1(this,e)},l.dc=function(){return this.a.gc()==0},l.Kc=function(){return this.a.ec().Kc()},l.Mc=function(e){return Imt(this,e)},l.gc=function(){return this.a.gc()};var QSn=I(xr,"HashSet",49);D(1897,1,nN,pn),l.Dd=function(e){vce(this,e)},l.Ib=function(){return"IntSummaryStatistics[count = "+OS(this.a)+", avg = "+(drt(this.a,0)?tw(this.d)/tw(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+OS(this.d)+"]"},l.a=0,l.b=Ga,l.c=xi,l.d=0,I(xr,"IntSummaryStatistics",1897),D(1062,1,F0,FQt),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return new G3t(this)},l.c=0,I(xr,"InternalHashCodeMap",1062),D(726,1,wa,G3t),l.Nb=function(e){Na(this,e)},l.Pb=function(){return this.d=this.a[this.c++],this.d},l.Ob=function(){var e;return this.c<this.a.length?!0:(e=this.b.next(),e.done?!1:(this.a=e.value[1],this.c=0,!0))},l.Qb=function(){R6t(this.e,this.d.ld()),this.c!=0&&--this.c},l.c=0,l.d=null,I(xr,"InternalHashCodeMap/1",726);var aye;D(1060,1,F0,BQt),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return new T3t(this)},l.c=0,l.d=0,I(xr,"InternalStringMap",1060),D(725,1,wa,T3t),l.Nb=function(e){Na(this,e)},l.Pb=function(){return this.c=this.a,this.a=this.b.next(),new HZt(this.d,this.c,this.d.d)},l.Ob=function(){return!this.a.done},l.Qb=function(){Tce(this.d,this.c.value[0])},I(xr,"InternalStringMap/1",725),D(1061,2082,lut,HZt),l.ld=function(){return this.b.value[0]},l.md=function(){return this.a.d!=this.c?iS(this.a,this.b.value[0]):this.b.value[1]},l.nd=function(e){return Km(this.a,this.b.value[0],e)},l.c=0,I(xr,"InternalStringMap/2",1061),D(215,45,E5,kp,U3t),l.$b=function(){pZt(this)},l._b=function(e){return ZYt(this,e)},l.uc=function(e){var n;for(n=this.d.a;n!=this.d;){if(Nc(n.e,e))return!0;n=n.a}return!1},l.vc=function(){return new oc(this)},l.xc=function(e){return od(this,e)},l.zc=function(e,n){return Op(this,e,n)},l.Bc=function(e){return Eae(this,e)},l.gc=function(){return QC(this.e)},l.c=!1,I(xr,"LinkedHashMap",215),D(400,397,{493:1,397:1,400:1,44:1},RJt,zvt),I(xr,"LinkedHashMap/ChainEntry",400),D(715,dd,sl,oc),l.$b=function(){pZt(this.a)},l.Hc=function(e){return Zre(this,e)},l.Kc=function(){return new Oyt(this)},l.Mc=function(e){var n;return Zre(this,e)?(n=u(e,44).ld(),Eae(this.a,n),!0):!1},l.gc=function(){return QC(this.a.e)},I(xr,"LinkedHashMap/EntrySet",715),D(716,1,wa,Oyt),l.Nb=function(e){Na(this,e)},l.Pb=function(){return Aae(this)},l.Ob=function(){return this.c!=this.d.a.d},l.Qb=function(){_y(!!this.a),wit(this.d.a.e.g,this.b),Zvt(this.a),rk(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},l.b=0,I(xr,"LinkedHashMap/EntrySet/EntryIterator",716),D(174,49,v8t,zd,iit,ayt);var JSn=I(xr,"LinkedHashSet",174);D(67,2062,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1},Ki,pit),l.Fc=function(e){return Zr(this,e)},l.$b=function(){nh(this)},l.fd=function(e){return Dr(this,e)},l.gc=function(){return this.b},l.b=0;var ZSn=I(xr,"LinkedList",67);D(981,1,P0,VZt),l.Nb=function(e){Na(this,e)},l.Rb=function(e){kI(this,e)},l.Ob=function(){return IM(this)},l.Sb=function(){return this.b.b!=this.d.a},l.Pb=function(){return Ar(this)},l.Tb=function(){return this.a},l.Ub=function(){return Wre(this)},l.Vb=function(){return this.a-1},l.Qb=function(){Qst(this)},l.Wb=function(e){_y(!!this.c),this.c.c=e},l.a=0,l.c=null,I(xr,"LinkedList/ListIteratorImpl",981),D(617,1,{},Ae),I(xr,"LinkedList/Node",617),D(2057,1,{});var _9t,oye;I(xr,"Locale",2057),D(873,2057,{},ye),l.Ib=function(){return""},I(xr,"Locale/1",873),D(874,2057,{},tn),l.Ib=function(){return"unknown"},I(xr,"Locale/4",874),D(112,63,{3:1,103:1,63:1,82:1,112:1},cc,cne),I(xr,"NoSuchElementException",112),D(474,1,{474:1},Ynt),l.Fb=function(e){var n;return e===this?!0:Lt(e,474)?(n=u(e,474),Nc(this.a,n.a)):!1},l.Hb=function(){return V4(this.a)},l.Ib=function(){return this.a!=null?cbe+ES(this.a)+")":"Optional.empty()"};var A9t;I(xr,"Optional",474),D(414,1,{414:1},kQt,oit),l.Fb=function(e){var n;return e===this?!0:Lt(e,414)?(n=u(e,414),this.a==n.a&&Bi(this.b,n.b)==0):!1},l.Hb=function(){return this.a?Ys(this.b):0},l.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},l.a=!1,l.b=0;var Nht;I(xr,"OptionalDouble",414),D(524,1,{524:1},EQt,jJt),l.Fb=function(e){var n;return e===this?!0:Lt(e,524)?(n=u(e,524),this.a==n.a&&jc(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 cye;I(xr,"OptionalInt",524),D(510,2103,o3,Rz),l.Gc=function(e){return xxt(this,e)},l.$b=function(){wy(this.b.c,0)},l.Hc=function(e){return(e==null?-1:Xo(this.b,e,0))!=-1},l.Kc=function(){return new Vn(this)},l.Mc=function(e){return Voe(this,e)},l.gc=function(){return this.b.c.length},l.Nc=function(){return new gn(this,256)},l.Pc=function(){return Tz(this.b.c)},l.Qc=function(e){return ld(this.b,e)},I(xr,"PriorityQueue",510),D(1296,1,wa,Vn),l.Nb=function(e){Na(this,e)},l.Ob=function(){return this.a<this.c.b.c.length},l.Pb=function(){return ur(this.a<this.c.b.c.length),this.b=this.a++,Oe(this.c.b,this.b)},l.Qb=function(){_y(this.b!=-1),sat(this.c,this.a=this.b),this.b=-1},l.a=0,l.b=-1,I(xr,"PriorityQueue/1",1296),D(234,1,{234:1},Kat,pq),l.a=0,l.b=0;var L9t,D9t,t_n=0;I(xr,"Random",234),D(25,1,fh,gn,Lm,ane),l.Ad=function(e){return(this.a&e)!=0},l.yd=function(){return this.a},l.zd=function(){return wyt(this),this.c},l.Nb=function(e){wyt(this),this.d.Nb(e)},l.Bd=function(e){return toe(this,e)},l.a=0,l.c=0,I(xr,"Spliterators/IteratorSpliterator",25),D(494,25,fh,D$),I(xr,"SortedSet/1",494),D(611,1,uN,Ya),l.Pe=function(e){this.a.Cd(e)},I(xr,"Spliterator/OfDouble/0methodref$accept$Type",611),D(612,1,uN,us),l.Pe=function(e){this.a.Cd(e)},I(xr,"Spliterator/OfDouble/1methodref$accept$Type",612),D(613,1,nN,kc),l.Dd=function(e){this.a.Cd(he(e))},I(xr,"Spliterator/OfInt/2methodref$accept$Type",613),D(614,1,nN,Ca),l.Dd=function(e){this.a.Cd(he(e))},I(xr,"Spliterator/OfInt/3methodref$accept$Type",614),D(625,1,fh),l.Nb=function(e){Ewt(this,e)},l.Ad=function(e){return(this.d&e)!=0},l.yd=function(){return this.d},l.zd=function(){return this.e},l.d=0,l.e=0,I(xr,"Spliterators/BaseSpliterator",625),D(736,625,fh),l.Qe=function(e){N4(this,e)},l.Nb=function(e){Lt(e,189)?N4(this,u(e,189)):N4(this,new us(e))},l.Bd=function(e){return Lt(e,189)?this.Re(u(e,189)):this.Re(new Ya(e))},I(xr,"Spliterators/AbstractDoubleSpliterator",736),D(735,625,fh),l.Qe=function(e){N4(this,e)},l.Nb=function(e){Lt(e,202)?N4(this,u(e,202)):N4(this,new Ca(e))},l.Bd=function(e){return Lt(e,202)?this.Re(u(e,202)):this.Re(new kc(e))},I(xr,"Spliterators/AbstractIntSpliterator",735),D(499,625,fh),I(xr,"Spliterators/AbstractSpliterator",499),D(706,1,fh),l.Nb=function(e){Ewt(this,e)},l.Ad=function(e){return(this.b&e)!=0},l.yd=function(){return this.b},l.zd=function(){return this.d-this.c},l.b=0,l.c=0,l.d=0,I(xr,"Spliterators/BaseArraySpliterator",706),D(960,706,fh,Ste),l.Se=function(e,n){orn(this,u(e,41),n)},l.Nb=function(e){Xit(this,e)},l.Bd=function(e){return xq(this,e)},I(xr,"Spliterators/ArraySpliterator",960),D(707,706,fh,$Zt),l.Se=function(e,n){crn(this,u(e,189),n)},l.Qe=function(e){Xit(this,e)},l.Nb=function(e){Lt(e,189)?Xit(this,u(e,189)):Xit(this,new us(e))},l.Re=function(e){return xq(this,e)},l.Bd=function(e){return Lt(e,189)?xq(this,u(e,189)):xq(this,new Ya(e))},I(xr,"Spliterators/DoubleArraySpliterator",707),D(2066,1,fh),l.Nb=function(e){Ewt(this,e)},l.Ad=function(e){return(16448&e)!=0},l.yd=function(){return 16448},l.zd=function(){return 0};var uye;I(xr,"Spliterators/EmptySpliterator",2066),D(959,2066,fh,sn),l.Qe=function(e){Df(e)},l.Nb=function(e){Lt(e,202)?Df(u(e,202)):Df(new Ca(e))},l.Re=function(e){return Bwt(e)},l.Bd=function(e){return Lt(e,202)?Bwt(u(e,202)):Bwt(new kc(e))},I(xr,"Spliterators/EmptySpliterator/OfInt",959),D(588,56,Abe,u$),l.bd=function(e,n){IE(e,this.a.c.length+1),Sm(this.a,e,n)},l.Fc=function(e){return ge(this.a,e)},l.cd=function(e,n){return IE(e,this.a.c.length+1),l5t(this.a,e,n)},l.Gc=function(e){return Hs(this.a,e)},l.$b=function(){wy(this.a.c,0)},l.Hc=function(e){return Xo(this.a,e,0)!=-1},l.Ic=function(e){return rO(this.a,e)},l.Jc=function(e){Cu(this.a,e)},l.Xb=function(e){return IE(e,this.a.c.length),Oe(this.a,e)},l.dd=function(e){return Xo(this.a,e,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return new G(this.a)},l.gd=function(e){return IE(e,this.a.c.length),Ep(this.a,e)},l.ce=function(e,n){pre(this.a,e,n)},l.hd=function(e,n){return IE(e,this.a.c.length),Mh(this.a,e,n)},l.gc=function(){return this.a.c.length},l.jd=function(e){Ds(this.a,e)},l.kd=function(e,n){return new xp(this.a,e,n)},l.Pc=function(){return Tz(this.a.c)},l.Qc=function(e){return ld(this.a,e)},l.Ib=function(){return Hb(this.a)},I(xr,"Vector",588),D(824,588,Abe,X2t),I(xr,"Stack",824),D(213,1,{213:1},aw),l.Ib=function(){return Kre(this)},I(xr,"StringJoiner",213),D(553,2090,{3:1,85:1,139:1,133:1},BYt,Bit),l.$b=function(){gWt(this)},l.De=function(){return new tie(this)},l.vc=function(){return new IJt(this)},l.Ee=function(e){return E7(this,e,!0)},l.Fe=function(e){return sue(this,e)},l.Ge=function(){return J3t(this)},l.He=function(e){return yO(this,e,!0)},l.Ie=function(e){return E7(this,e,!1)},l.Je=function(){return dae(this)},l.Ke=function(e){return yO(this,e,!1)},l.Zc=function(e,n){return bre(this,e,n)},l.zc=function(e,n){return Yce(this,e,n)},l.Bc=function(e){return jne(this,e)},l.Le=function(e){return q3t(this,e)},l.gc=function(){return this.c},l.ad=function(e,n){return wre(this,e,n)},l.c=0,I(xr,"TreeMap",553),D(554,1,wa,tie,uat),l.Nb=function(e){Na(this,e)},l.Pb=function(){return $Jt(this)},l.Ob=function(){return frt(this.a)},l.Qb=function(){GZt(this)},I(xr,"TreeMap/EntryIterator",554),D(1142,629,sl,IJt),l.$b=function(){gWt(this.a)},I(xr,"TreeMap/EntrySet",1142),D(447,397,{493:1,397:1,44:1,447:1},Rst),l.b=!1;var e_n=I(xr,"TreeMap/Node",447);D(630,1,{},be),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,I(xr,"TreeMap/State",630),D(631,2090,h8t,Rot),l.De=function(){return new uat(this.c,this.f,this.b,this.a,this.e,this.d)},l.vc=function(){return new Es(this)},l.Ee=function(e){return yz(this,E7(this.c,e,!0))},l.Fe=function(e){return yz(this,sue(this.c,e))},l.Ge=function(){var e;return this.f.Te()?this.a?e=E7(this.c,this.b,!0):e=E7(this.c,this.b,!1):e=J3t(this.c),e&&Vz(this,e.d)?e:null},l.He=function(e){return yz(this,yO(this.c,e,!0))},l.Ie=function(e){return yz(this,E7(this.c,e,!1))},l.Je=function(){var e;return this.f.Ue()?this.d?e=yO(this.c,this.e,!0):e=yO(this.c,this.e,!1):e=dae(this.c),e&&Vz(this,e.d)?e:null},l.Ke=function(e){return yz(this,yO(this.c,e,!1))},l.Zc=function(e,n){if(this.f.Ue()&&this.c.a.Ne(e,this.e)>0)throw at(new zn(k8t+e+" greater than "+this.e));return this.f.Te()?Rne(this.c,this.b,this.a,e,n):bre(this.c,e,n)},l.zc=function(e,n){if(!Eot(this.c,this.f,e,this.b,this.a,this.e,this.d))throw at(new zn(e+" outside the range "+this.b+" to "+this.e));return Yce(this.c,e,n)},l.Bc=function(e){var n;return n=e,Eot(this.c,this.f,n,this.b,this.a,this.e,this.d)?jne(this.c,n):null},l.Le=function(e){return Vz(this,e.ld())&&q3t(this.c,e)},l.gc=function(){var e,n,r;if(this.f.Te()?this.a?n=E7(this.c,this.b,!0):n=E7(this.c,this.b,!1):n=J3t(this.c),!(n&&Vz(this,n.d)&&n))return 0;for(e=0,r=new uat(this.c,this.f,this.b,this.a,this.e,this.d);frt(r.a);r.b=u(Uyt(r.a),44))++e;return e},l.ad=function(e,n){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw at(new zn(k8t+e+Lbe+this.b));return this.f.Ue()?Rne(this.c,e,n,this.e,this.d):wre(this.c,e,n)},l.a=!1,l.d=!1,I(xr,"TreeMap/SubMap",631),D(303,22,gut,M$),l.Te=function(){return!1},l.Ue=function(){return!1};var Pht,Fht,Bht,Rht,BU=Lr(xr,"TreeMap/SubMapType",303,Pr,N1n,Van);D(1143,303,gut,VQt),l.Ue=function(){return!0},Lr(xr,"TreeMap/SubMapType/1",1143,BU,null,null),D(1144,303,gut,ZQt),l.Te=function(){return!0},l.Ue=function(){return!0},Lr(xr,"TreeMap/SubMapType/2",1144,BU,null,null),D(1145,303,gut,HQt),l.Te=function(){return!0},Lr(xr,"TreeMap/SubMapType/3",1145,BU,null,null);var lye;D(157,dd,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},q2t,pp,ra),l.Nc=function(){return new D$(this)},l.Fc=function(e){return yI(this,e)},l.$b=function(){this.a.$b()},l.Hc=function(e){return this.a._b(e)},l.Kc=function(){return this.a.ec().Kc()},l.Mc=function(e){return rit(this,e)},l.gc=function(){return this.a.gc()};var n_n=I(xr,"TreeSet",157);D(1082,1,{},no),l.Ve=function(e,n){return oan(this.a,e,n)},I(put,"BinaryOperator/lambda$0$Type",1082),D(1083,1,{},ql),l.Ve=function(e,n){return can(this.a,e,n)},I(put,"BinaryOperator/lambda$1$Type",1083),D(952,1,{},Ne),l.Kb=function(e){return e},I(put,"Function/lambda$0$Type",952),D(395,1,Kr,Sl),l.Mb=function(e){return!this.a.Mb(e)},I(put,"Predicate/lambda$2$Type",395),D(581,1,{581:1});var hye=I(V_,"Handler",581);D(2107,1,tN),l.xe=function(){return"DUMMY"},l.Ib=function(){return this.xe()};var M9t;I(V_,"Level",2107),D(1706,2107,tN,Xt),l.xe=function(){return"INFO"},I(V_,"Level/LevelInfo",1706),D(1843,1,{},mKt);var jht;I(V_,"LogManager",1843),D(1896,1,tN,UZt),l.b=null,I(V_,"LogRecord",1896),D(525,1,{525:1},Ast),l.e=!1;var fye=!1,dye=!1,wd=!1,gye=!1,pye=!1;I(V_,"Logger",525),D(835,581,{581:1},_e),I(V_,"SimpleConsoleLogHandler",835),D(108,22,{3:1,34:1,22:1,108:1},prt);var I9t,sc,w3,Ho=Lr(Us,"Collector/Characteristics",108,Pr,xfn,Uan),bye;D(758,1,{},Tyt),I(Us,"CollectorImpl",758),D(1074,1,{},xe),l.Ve=function(e,n){return e2n(u(e,213),u(n,213))},I(Us,"Collectors/10methodref$merge$Type",1074),D(1075,1,{},Mn),l.Kb=function(e){return Kre(u(e,213))},I(Us,"Collectors/11methodref$toString$Type",1075),D(1076,1,{},mb),l.Kb=function(e){return Pn(),!!mmt(e)},I(Us,"Collectors/12methodref$test$Type",1076),D(144,1,{},ce),l.Yd=function(e,n){u(e,16).Fc(n)},I(Us,"Collectors/20methodref$add$Type",144),D(146,1,{},Br),l.Xe=function(){return new fe},I(Us,"Collectors/21methodref$ctor$Type",146),D(359,1,{},we),l.Xe=function(){return new Os},I(Us,"Collectors/23methodref$ctor$Type",359),D(360,1,{},Fi),l.Yd=function(e,n){qs(u(e,49),n)},I(Us,"Collectors/24methodref$add$Type",360),D(1069,1,{},mi),l.Ve=function(e,n){return RYt(u(e,15),u(n,16))},I(Us,"Collectors/4methodref$addAll$Type",1069),D(1073,1,{},ga),l.Yd=function(e,n){Eg(u(e,213),u(n,483))},I(Us,"Collectors/9methodref$add$Type",1073),D(1072,1,{},cte),l.Xe=function(){return new aw(this.a,this.b,this.c)},I(Us,"Collectors/lambda$15$Type",1072),D(1077,1,{},Ss),l.Xe=function(){var e;return e=new kp,Op(e,(Pn(),!1),new fe),Op(e,!0,new fe),e},I(Us,"Collectors/lambda$22$Type",1077),D(1078,1,{},vb),l.Xe=function(){return lt(ut(aa,1),Ln,1,5,[this.a])},I(Us,"Collectors/lambda$25$Type",1078),D(1079,1,{},v1),l.Yd=function(e,n){_un(this.a,nw(e))},I(Us,"Collectors/lambda$26$Type",1079),D(1080,1,{},up),l.Ve=function(e,n){return eln(this.a,nw(e),nw(n))},I(Us,"Collectors/lambda$27$Type",1080),D(1081,1,{},za),l.Kb=function(e){return nw(e)[0]},I(Us,"Collectors/lambda$28$Type",1081),D(728,1,{},br),l.Ve=function(e,n){return iyt(e,n)},I(Us,"Collectors/lambda$4$Type",728),D(145,1,{},An),l.Ve=function(e,n){return Frn(u(e,16),u(n,16))},I(Us,"Collectors/lambda$42$Type",145),D(361,1,{},Nn),l.Ve=function(e,n){return Brn(u(e,49),u(n,49))},I(Us,"Collectors/lambda$50$Type",361),D(362,1,{},Bn),l.Kb=function(e){return u(e,49)},I(Us,"Collectors/lambda$51$Type",362),D(1068,1,{},Bd),l.Yd=function(e,n){obn(this.a,u(e,85),n)},I(Us,"Collectors/lambda$7$Type",1068),D(1070,1,{},ke),l.Ve=function(e,n){return Bpn(u(e,85),u(n,85),new mi)},I(Us,"Collectors/lambda$8$Type",1070),D(1071,1,{},cm),l.Kb=function(e){return N2n(this.a,u(e,85))},I(Us,"Collectors/lambda$9$Type",1071),D(550,1,{}),l.$e=function(){jS(this)},l.d=!1,I(Us,"TerminatableStream",550),D(827,550,E8t,rvt),l.$e=function(){jS(this)},I(Us,"DoubleStreamImpl",827),D(1847,736,fh,ute),l.Re=function(e){return Bmn(this,u(e,189))},l.a=null,I(Us,"DoubleStreamImpl/2",1847),D(1848,1,uN,py),l.Pe=function(e){Din(this.a,e)},I(Us,"DoubleStreamImpl/2/lambda$0$Type",1848),D(1845,1,uN,y6),l.Pe=function(e){Lin(this.a,e)},I(Us,"DoubleStreamImpl/lambda$0$Type",1845),D(1846,1,uN,_4),l.Pe=function(e){ule(this.a,e)},I(Us,"DoubleStreamImpl/lambda$2$Type",1846),D(1397,735,fh,Jie),l.Re=function(e){return E1n(this,u(e,202))},l.a=0,l.b=0,l.c=0,I(Us,"IntStream/5",1397),D(806,550,E8t,ivt),l.$e=function(){jS(this)},l._e=function(){return Mb(this),this.a},I(Us,"IntStreamImpl",806),D(807,550,E8t,Lwt),l.$e=function(){jS(this)},l._e=function(){return Mb(this),jmt(),uye},I(Us,"IntStreamImpl/Empty",807),D(1687,1,nN,x6),l.Dd=function(e){vce(this.a,e)},I(Us,"IntStreamImpl/lambda$4$Type",1687);var r_n=os(Us,"Stream");D(26,550,{533:1,687:1,848:1},ln),l.$e=function(){jS(this)};var Rk;I(Us,"StreamImpl",26),D(1102,499,fh,BZt),l.Bd=function(e){for(;S0n(this);){if(this.a.Bd(e))return!0;jS(this.b),this.b=null,this.a=null}return!1},I(Us,"StreamImpl/1",1102),D(1103,1,ir,BC),l.Cd=function(e){Zcn(this.a,u(e,848))},I(Us,"StreamImpl/1/lambda$0$Type",1103),D(1104,1,Kr,A4),l.Mb=function(e){return qs(this.a,e)},I(Us,"StreamImpl/1methodref$add$Type",1104),D(1105,499,fh,wne),l.Bd=function(e){var n;return this.a||(n=new fe,this.b.a.Nb(new k0(n)),mn(),Ds(n,this.c),this.a=new gn(n,16)),toe(this.a,e)},l.a=null,I(Us,"StreamImpl/5",1105),D(1106,1,ir,k0),l.Cd=function(e){ge(this.a,e)},I(Us,"StreamImpl/5/2methodref$add$Type",1106),D(737,499,fh,Z3t),l.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new eXt(this,e)););return this.b},l.b=!1,I(Us,"StreamImpl/FilterSpliterator",737),D(1096,1,ir,eXt),l.Cd=function(e){Yun(this.a,this.b,e)},I(Us,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),D(1091,736,fh,use),l.Re=function(e){return Lan(this,u(e,189))},I(Us,"StreamImpl/MapToDoubleSpliterator",1091),D(1095,1,ir,nXt),l.Cd=function(e){Zrn(this.a,this.b,e)},I(Us,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),D(1090,735,fh,lse),l.Re=function(e){return Dan(this,u(e,202))},I(Us,"StreamImpl/MapToIntSpliterator",1090),D(1094,1,ir,rXt),l.Cd=function(e){tin(this.a,this.b,e)},I(Us,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),D(734,499,fh,R3t),l.Bd=function(e){return NZt(this,e)},I(Us,"StreamImpl/MapToObjSpliterator",734),D(1093,1,ir,iXt),l.Cd=function(e){ein(this.a,this.b,e)},I(Us,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),D(1092,499,fh,joe),l.Bd=function(e){for(;drt(this.b,0);){if(!this.a.Bd(new pe))return!1;this.b=sf(this.b,1)}return this.a.Bd(e)},l.b=0,I(Us,"StreamImpl/SkipSpliterator",1092),D(1097,1,ir,pe),l.Cd=function(e){},I(Us,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),D(626,1,ir,Je),l.Cd=function(e){Cnt(this,e)},I(Us,"StreamImpl/ValueConsumer",626),D(1098,1,ir,an),l.Cd=function(e){U2()},I(Us,"StreamImpl/lambda$0$Type",1098),D(1099,1,ir,xn),l.Cd=function(e){U2()},I(Us,"StreamImpl/lambda$1$Type",1099),D(1100,1,{},J1),l.Ve=function(e,n){return con(this.a,e,n)},I(Us,"StreamImpl/lambda$4$Type",1100),D(1101,1,ir,sXt),l.Cd=function(e){gan(this.b,this.a,e)},I(Us,"StreamImpl/lambda$5$Type",1101),D(1107,1,ir,E0),l.Cd=function(e){Cpn(this.a,u(e,380))},I(Us,"TerminatableStream/lambda$0$Type",1107),D(2142,1,{}),D(2014,1,{},qa),I("javaemul.internal","ConsoleLogger",2014);var i_n=0;D(2134,1,{}),D(1830,1,ir,xo),l.Cd=function(e){u(e,317)},I(Q7,"BowyerWatsonTriangulation/lambda$0$Type",1830),D(1831,1,ir,$2),l.Cd=function(e){Ma(this.a,u(e,317).e)},I(Q7,"BowyerWatsonTriangulation/lambda$1$Type",1831),D(1832,1,ir,ko),l.Cd=function(e){u(e,177)},I(Q7,"BowyerWatsonTriangulation/lambda$2$Type",1832),D(1827,1,Xr,Zj),l.Ne=function(e,n){return cdn(this.a,u(e,177),u(n,177))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Q7,"NaiveMinST/lambda$0$Type",1827),D(506,1,{},by),I(Q7,"NodeMicroLayout",506),D(177,1,{177:1},O6),l.Fb=function(e){var n;return Lt(e,177)?(n=u(e,177),Nc(this.a,n.a)&&Nc(this.b,n.b)||Nc(this.a,n.b)&&Nc(this.b,n.a)):!1},l.Hb=function(){return V4(this.a)+V4(this.b)};var s_n=I(Q7,"TEdge",177);D(317,1,{317:1},Bkt),l.Fb=function(e){var n;return Lt(e,317)?(n=u(e,317),Aq(this,n.a)&&Aq(this,n.b)&&Aq(this,n.c)):!1},l.Hb=function(){return V4(this.a)+V4(this.b)+V4(this.c)},I(Q7,"TTriangle",317),D(225,1,{225:1},iz),I(Q7,"Tree",225),D(1218,1,{},nre),I(Ibe,"Scanline",1218);var wye=os(Ibe,Obe);D(1758,1,{},Qae),I(j0,"CGraph",1758),D(316,1,{316:1},sre),l.b=0,l.c=0,l.d=0,l.g=0,l.i=0,l.k=Vs,I(j0,"CGroup",316),D(830,1,{},U2t),I(j0,"CGroup/CGroupBuilder",830),D(60,1,{60:1},wZt),l.Ib=function(){var e;return this.j?Gr(this.j.Kb(this)):(wg(RU),RU.o+"@"+(e=Em(this)>>>0,e.toString(16)))},l.f=0,l.i=Vs;var RU=I(j0,"CNode",60);D(829,1,{},G2t),I(j0,"CNode/CNodeBuilder",829);var mye;D(1590,1,{},va),l.ff=function(e,n){return 0},l.gf=function(e,n){return 0},I(j0,Pbe,1590),D(1853,1,{},Ha),l.cf=function(e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(T=Zi,s=new G(e.a.b);s.a<s.c.c.length;)n=u(et(s),60),T=b.Math.min(T,n.a.j.d.c+n.b.a);for(U=new Ki,d=new G(e.a.a);d.a<d.c.c.length;)h=u(et(d),316),h.k=T,h.g==0&&hs(U,h,U.c.b,U.c);for(;U.b!=0;){for(h=u(U.b==0?null:(ur(U.b!=0),Oh(U,U.a.a)),316),o=h.j.d.c,$=h.a.a.ec().Kc();$.Ob();)A=u($.Pb(),60),tt=h.k+A.b.a,!$bn(e,h,e.d)||A.d.c<tt?A.i=tt:A.i=A.d.c;for(o-=h.j.i,h.b+=o,e.d==(Rs(),tc)||e.d==kd?h.c+=o:h.c-=o,P=h.a.a.ec().Kc();P.Ob();)for(A=u(P.Pb(),60),k=A.c.Kc();k.Ob();)m=u(k.Pb(),60),bg(e.d)?J=e.g.ff(A,m):J=e.g.gf(A,m),m.a.k=b.Math.max(m.a.k,A.i+A.d.b+J-m.b.a),Cne(e,m,e.d)&&(m.a.k=b.Math.max(m.a.k,m.d.c-m.b.a)),--m.a.g,m.a.g==0&&Zr(U,m.a)}for(r=new G(e.a.b);r.a<r.c.c.length;)n=u(et(r),60),n.d.c=n.i},I(j0,"LongestPathCompaction",1853),D(1756,1,{},$1e),l.e=!1;var vye,yye,xye,$ht=I(j0,Rbe,1756);D(1757,1,ir,Mnt),l.Cd=function(e){zpn(this.a,u(e,42))},I(j0,jbe,1757),D(1854,1,{},ds),l.df=function(e){var n,r,s,o,h,d,m;for(r=new G(e.a.b);r.a<r.c.c.length;)n=u(et(r),60),n.c.$b();for(o=new G(e.a.b);o.a<o.c.c.length;)for(s=u(et(o),60),d=new G(e.a.b);d.a<d.c.c.length;)h=u(et(d),60),s!=h&&(s.a&&s.a==h.a||(bg(e.d)?m=e.g.gf(s,h):m=e.g.ff(s,h),(h.d.c>s.d.c||s.d.c==h.d.c&&s.d.b<h.d.b)&&Swn(h.d.d+h.d.a+m,s.d.d)&&J5t(h.d.d,s.d.d+s.d.a+m)&&s.c.Fc(h)))},I(j0,"QuadraticConstraintCalculation",1854),D(529,1,{529:1},Rnt),l.a=!1,l.b=!1,l.c=!1,l.d=!1,I(j0,$be,529),D(817,1,{},uyt),l.df=function(e){this.c=e,OO(this,new d1)},I(j0,zbe,817),D(1784,1,{693:1},_ne),l.bf=function(e){z4n(this,u(e,472))},I(j0,qbe,1784),D(1785,1,Xr,Fu),l.Ne=function(e,n){return Jln(u(e,60),u(n,60))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(j0,Hbe,1785),D(472,1,{472:1},jwt),l.a=!1,I(j0,Vbe,472),D(1786,1,Xr,Zs),l.Ne=function(e,n){return Jvn(u(e,472),u(n,472))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(j0,Ube,1786),D(1787,1,t0,d1),l.Lb=function(e){return u(e,60),!0},l.Fb=function(e){return this===e},l.Mb=function(e){return u(e,60),!0},I(j0,"ScanlineConstraintCalculator/lambda$1$Type",1787),D(436,22,{3:1,34:1,22:1,436:1},$wt);var O9t,zht,N9t=Lr(vut,"HighLevelSortingCriterion",436,Pr,_hn,Gan),kye;D(435,22,{3:1,34:1,22:1,435:1},zwt);var P9t,qht,F9t=Lr(vut,"LowLevelSortingCriterion",435,Pr,Ahn,Kan),Eye,P5=os(pc,"ILayoutMetaDataProvider");D(864,1,uf,Tj),l.hf=function(e){Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,_8t),yut),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),H9t),(Fp(),ts)),J9t),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,A8t),yut),"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."),z9t),ts),F9t),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,L8t),yut),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),j9t),ts),N9t),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,D8t),yut),"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."),(Pn(),!0)),oa),ys),en(_n))))};var B9t,R9t,j9t,$9t,z9t,q9t,H9t;I(vut,"PolyominoOptions",864),D(257,22,{3:1,34:1,22:1,257:1},P4);var V9t,U9t,G9t,K9t,W9t,Y9t,Hht,X9t,Q9t,J9t=Lr(vut,"TraversalStrategy",257,Pr,Cgn,Wan),Tye;D(218,1,{218:1},I2),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 Cye=I(U_,"NEdge",218);D(182,1,{},tf),I(U_,"NEdge/NEdgeBuilder",182),D(662,1,{},znt),I(U_,"NGraph",662),D(125,1,{125:1},dse),l.c=-1,l.d=0,l.e=0,l.i=-1,l.j=!1;var Z9t=I(U_,"NNode",125);D(808,1,_be,H2t),l.Jc=function(e){Fa(this,e)},l.Lc=function(){return new ln(null,new gn(this,16))},l.jd=function(e){rw(this,e)},l.Nc=function(){return new gn(this,16)},l.Oc=function(){return new ln(null,new gn(this,16))},l.bd=function(e,n){++this.b,Sm(this.a,e,n)},l.Fc=function(e){return lz(this,e)},l.cd=function(e,n){return++this.b,l5t(this.a,e,n)},l.Gc=function(e){return++this.b,Hs(this.a,e)},l.$b=function(){++this.b,wy(this.a.c,0)},l.Hc=function(e){return Xo(this.a,e,0)!=-1},l.Ic=function(e){return rO(this.a,e)},l.Xb=function(e){return Oe(this.a,e)},l.dd=function(e){return Xo(this.a,e,0)},l.dc=function(){return this.a.c.length==0},l.Kc=function(){return sk(new G(this.a))},l.ed=function(){throw at(new Vr)},l.fd=function(e){throw at(new Vr)},l.gd=function(e){return++this.b,Ep(this.a,e)},l.Mc=function(e){return Umt(this,e)},l.hd=function(e,n){return++this.b,Mh(this.a,e,n)},l.gc=function(){return this.a.c.length},l.kd=function(e,n){return new xp(this.a,e,n)},l.Pc=function(){return Tz(this.a.c)},l.Qc=function(e){return ld(this.a,e)},l.b=0,I(U_,"NNode/ChangeAwareArrayList",808),D(275,1,{},H2),I(U_,"NNode/NNodeBuilder",275),D(1695,1,{},ll),l.a=!1,l.f=xi,l.j=0,I(U_,"NetworkSimplex",1695),D(1314,1,ir,Int),l.Cd=function(e){kpe(this.a,u(e,695),!0,!1)},I(Gbe,"NodeLabelAndSizeCalculator/lambda$0$Type",1314),D(565,1,{},RC),l.b=!0,l.c=!0,l.d=!0,l.e=!0,I(Gbe,"NodeMarginCalculator",565),D(217,1,{217:1}),l.j=!1,l.k=!1;var Sye=I(ww,"Cell",217);D(127,217,{127:1,217:1},bZt),l.jf=function(){return Cz(this)},l.kf=function(){var e;return e=this.n,this.a.a+e.b+e.c},I(ww,"AtomicCell",127),D(237,22,{3:1,34:1,22:1,237:1},brt);var Ac,xu,Lc,m3=Lr(ww,"ContainerArea",237,Pr,Tfn,Yan),_ye;D(336,217,Kbe),I(ww,"ContainerCell",336),D(1538,336,Kbe,ale),l.jf=function(){var e;return e=0,this.e?this.b?e=this.b.b:this.a[1][1]&&(e=this.a[1][1].jf()):e=F5t(this,khe(this,!0)),e>0?e+this.n.d+this.n.a:0},l.kf=function(){var e,n,r,s,o;if(o=0,this.e)this.b?o=this.b.a:this.a[1][1]&&(o=this.a[1][1].kf());else if(this.g)o=F5t(this,Cot(this,null,!0));else for(n=(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])),r=0,s=n.length;r<s;++r)e=n[r],o=b.Math.max(o,F5t(this,Cot(this,e,!0)));return o>0?o+this.n.b+this.n.c:0},l.lf=function(){var e,n,r,s,o;if(this.g)for(e=Cot(this,null,!1),r=(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])),s=0,o=r.length;s<o;++s)n=r[s],n0e(this,n,e);else for(r=(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])),s=0,o=r.length;s<o;++s)n=r[s],e=Cot(this,n,!1),n0e(this,n,e)},l.mf=function(){var e,n,r,s;n=this.i,e=this.n,s=khe(this,!1),N3t(this,(A1(),Ac),n.d+e.d,s),N3t(this,Lc,n.d+n.a-e.a-s[2],s),r=n.a-e.d-e.a,s[0]>0&&(s[0]+=this.d,r-=s[0]),s[2]>0&&(s[2]+=this.d,r-=s[2]),this.c.a=b.Math.max(0,r),this.c.d=n.d+e.d+(this.c.a-r)/2,s[1]=b.Math.max(s[1],r),N3t(this,xu,n.d+e.d+s[0]-(s[1]-r)/2,s)},l.b=null,l.d=0,l.e=!1,l.f=!1,l.g=!1;var Vht=0,jU=0;I(ww,"GridContainerCell",1538),D(470,22,{3:1,34:1,22:1,470:1},wrt);var e2,c0,Gf,Aye=Lr(ww,"HorizontalLabelAlignment",470,Pr,Efn,Xan),Lye;D(314,217,{217:1,314:1},qne,Zae,Pne),l.jf=function(){return kte(this)},l.kf=function(){return Jvt(this)},l.a=0,l.c=!1;var a_n=I(ww,"LabelCell",314);D(252,336,{217:1,336:1,252:1},p_),l.jf=function(){return PO(this)},l.kf=function(){return FO(this)},l.lf=function(){dct(this)},l.mf=function(){gct(this)},l.b=0,l.c=0,l.d=!1,I(ww,"StripContainerCell",252),D(1691,1,Kr,Ic),l.Mb=function(e){return Xnn(u(e,217))},I(ww,"StripContainerCell/lambda$0$Type",1691),D(1692,1,{},wc),l.Ye=function(e){return u(e,217).kf()},I(ww,"StripContainerCell/lambda$1$Type",1692),D(1693,1,Kr,Ea),l.Mb=function(e){return Qnn(u(e,217))},I(ww,"StripContainerCell/lambda$2$Type",1693),D(1694,1,{},gu),l.Ye=function(e){return u(e,217).jf()},I(ww,"StripContainerCell/lambda$3$Type",1694),D(471,22,{3:1,34:1,22:1,471:1},mrt);var Kf,n2,O1,Dye=Lr(ww,"VerticalLabelAlignment",471,Pr,kfn,Qan),Mye;D(800,1,{},Zkt),l.c=0,l.d=0,l.k=0,l.s=0,l.t=0,l.v=!1,l.w=0,l.D=!1,I(SV,"NodeContext",800),D(1536,1,Xr,ta),l.Ne=function(e,n){return NQt(u(e,64),u(n,64))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(SV,"NodeContext/0methodref$comparePortSides$Type",1536),D(1537,1,Xr,fo),l.Ne=function(e,n){return S3n(u(e,117),u(n,117))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(SV,"NodeContext/1methodref$comparePortContexts$Type",1537),D(164,22,{3:1,34:1,22:1,164:1},Nh);var Iye,Oye,Nye,Pye,Fye,Bye,Rye,jye,$ye,zye,qye,Hye,Vye,Uye,Gye,Kye,Wye,Yye,Xye,Qye,Jye,Uht,Zye=Lr(SV,"NodeLabelLocation",164,Pr,not,Jan),t3e;D(117,1,{117:1},q1e),l.a=!1,I(SV,"PortContext",117),D(1541,1,ir,mc),l.Cd=function(e){ZWt(u(e,314))},I(hN,Wbe,1541),D(1542,1,Kr,ca),l.Mb=function(e){return!!u(e,117).c},I(hN,Ybe,1542),D(1543,1,ir,ya),l.Cd=function(e){ZWt(u(e,117).c)},I(hN,"LabelPlacer/lambda$2$Type",1543);var tCt;D(1540,1,ir,ea),l.Cd=function(e){Ay(),Lnn(u(e,117))},I(hN,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),D(801,1,ir,Mvt),l.Cd=function(e){Hrn(this.b,this.c,this.a,u(e,187))},l.a=!1,l.c=!1,I(hN,"NodeLabelCellCreator/lambda$0$Type",801),D(1539,1,ir,Ont),l.Cd=function(e){Inn(this.a,u(e,187))},I(hN,"PortContextCreator/lambda$0$Type",1539);var $U;D(1902,1,{},Zl),I(Z7,"GreedyRectangleStripOverlapRemover",1902),D(1903,1,Xr,Uc),l.Ne=function(e,n){return xsn(u(e,226),u(n,226))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Z7,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),D(1849,1,{},kKt),l.a=5,l.e=0,I(Z7,"RectangleStripOverlapRemover",1849),D(1850,1,Xr,rm),l.Ne=function(e,n){return ksn(u(e,226),u(n,226))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Z7,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),D(1852,1,Xr,kh),l.Ne=function(e,n){return hln(u(e,226),u(n,226))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Z7,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),D(417,22,{3:1,34:1,22:1,417:1},O$);var BN,Ght,Kht,RN,e3e=Lr(Z7,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Pr,B1n,Zan),n3e;D(226,1,{226:1},Oit),I(Z7,"RectangleStripOverlapRemover/RectangleNode",226),D(1851,1,ir,Nnt),l.Cd=function(e){Jmn(this.a,u(e,226))},I(Z7,"RectangleStripOverlapRemover/lambda$1$Type",1851),D(1323,1,Xr,Md),l.Ne=function(e,n){return mTn(u(e,176),u(n,176))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),D(1326,1,{},w0),l.Kb=function(e){return u(e,334).a},I(e0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),D(1327,1,Kr,Id),l.Mb=function(e){return u(e,332).a},I(e0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),D(1328,1,Kr,m0),l.Mb=function(e){return u(e,332).a},I(e0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),D(1321,1,Xr,hg),l.Ne=function(e,n){return W8n(u(e,176),u(n,176))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),D(1324,1,{},Gi),l.Kb=function(e){return u(e,334).a},I(e0,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),D(781,1,Xr,cn),l.Ne=function(e,n){return Dpn(u(e,176),u(n,176))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/MinNumOfExtensionsComparator",781),D(1319,1,Xr,Nr),l.Ne=function(e,n){return Rgn(u(e,330),u(n,330))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/MinPerimeterComparator",1319),D(1320,1,Xr,Si),l.Ne=function(e,n){return kmn(u(e,330),u(n,330))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),D(1322,1,Xr,vc),l.Ne=function(e,n){return pEn(u(e,176),u(n,176))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(e0,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),D(1325,1,{},Rc),l.Kb=function(e){return u(e,334).a},I(e0,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),D(782,1,{},qwt),l.Ve=function(e,n){return L1n(this,u(e,42),u(n,176))},I(e0,"SuccessorCombination",782),D(649,1,{},Eh),l.Ve=function(e,n){var r;return U5n((r=u(e,42),u(n,176),r))},I(e0,"SuccessorJitter",649),D(648,1,{},Zc),l.Ve=function(e,n){var r;return Mkn((r=u(e,42),u(n,176),r))},I(e0,"SuccessorLineByLine",648),D(573,1,{},Qh),l.Ve=function(e,n){var r;return Uxn((r=u(e,42),u(n,176),r))},I(e0,"SuccessorManhattan",573),D(1344,1,{},Od),l.Ve=function(e,n){var r;return ekn((r=u(e,42),u(n,176),r))},I(e0,"SuccessorMaxNormWindingInMathPosSense",1344),D(409,1,{},L4),l.Ve=function(e,n){return kyt(this,e,n)},l.c=!1,l.d=!1,l.e=!1,l.f=!1,I(e0,"SuccessorQuadrantsGeneric",409),D(1345,1,{},cs),l.Kb=function(e){return u(e,334).a},I(e0,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),D(332,22,{3:1,34:1,22:1,332:1},N$),l.a=!1;var jN,$N,zN,qN,r3e=Lr(AV,N8t,332,Pr,P1n,ton),i3e;D(1317,1,{}),l.Ib=function(){var e,n,r,s,o,h;for(r=" ",e=he(0),o=0;o<this.o;o++)r+=""+e.a,e=he(iZt(e.a));for(r+=`
1470 Expecting `+pn.join(", ")+", got '"+(this.terminals_[jt]||jt)+"'":Ae="Parse error on line "+(ct+1)+": Unexpected "+(jt==gt?"end of input":"'"+(this.terminals_[jt]||jt)+"'"),this.parseError(Ae,{text:dt.match,token:this.terminals_[jt]||jt,line:dt.yylineno,loc:V,expected:pn})}if(Ft[0]instanceof Array&&Ft.length>1)throw new Error("Parse Error: multiple actions possible at state: "+xt+", token: "+jt);switch(Ft[0]){case 1:Y.push(jt),ot.push(dt.yytext),ft.push(dt.yylloc),Y.push(Ft[1]),jt=null,rt=dt.yyleng,mt=dt.yytext,ct=dt.yylineno,V=dt.yylloc;break;case 2:if(Fe=this.productions_[Ft[1]][1],kt.$=ot[ot.length-Fe],kt._$={first_line:ft[ft.length-(Fe||1)].first_line,last_line:ft[ft.length-1].last_line,first_column:ft[ft.length-(Fe||1)].first_column,last_column:ft[ft.length-1].last_column},Ot&&(kt._$.range=[ft[ft.length-(Fe||1)].range[0],ft[ft.length-1].range[1]]),Ct=this.performAction.apply(kt,[mt,rt,ct,K.yy,Ft[1],ot,ft].concat(Q)),typeof Ct<"u")return Ct;Fe&&(Y=Y.slice(0,-1*Fe*2),ot=ot.slice(0,-1*Fe),ft=ft.slice(0,-1*Fe)),Y.push(this.productions_[Ft[1]][0]),ot.push(kt.$),ft.push(kt._$),Mt=wt[Y[Y.length-2]][Y[Y.length-1]],Y.push(Mt);break;case 3:return!0}}return!0}},M=function(){var R={EOF:1,parseError:function(z,Y){if(this.yy.parser)this.yy.parser.parseError(z,Y);else throw new Error(z)},setInput:function(B,z){return this.yy=z||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 z=B.match(/(?:\r\n?|\n).*/g);return z?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),B},unput:function(B){var z=B.length,Y=B.split(/(?:\r\n?|\n)/g);this._input=B+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-z),this.offset-=z;var nt=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),Y.length-1&&(this.yylineno-=Y.length-1);var ot=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:Y?(Y.length===nt.length?this.yylloc.first_column:0)+nt[nt.length-Y.length].length-Y[0].length:this.yylloc.first_column-z},this.options.ranges&&(this.yylloc.range=[ot[0],ot[0]+this.yyleng-z]),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).
1472 `+z+"^"},test_match:function(B,z){var Y,nt,ot;if(this.options.backtrack_lexer&&(ot={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&&(ot.yylloc.range=this.yylloc.range.slice(0))),nt=B[0].match(/(?:\r\n?|\n).*/g),nt&&(this.yylineno+=nt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:nt?nt[nt.length-1].length-nt[nt.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],Y=this.performAction.call(this,this.yy,this,z,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Y)return Y;if(this._backtrack){for(var ft in ot)this[ft]=ot[ft];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var B,z,Y,nt;this._more||(this.yytext="",this.match="");for(var ot=this._currentRules(),ft=0;ft<ot.length;ft++)if(Y=this._input.match(this.rules[ot[ft]]),Y&&(!z||Y[0].length>z[0].length)){if(z=Y,nt=ft,this.options.backtrack_lexer){if(B=this.test_match(Y,ot[ft]),B!==!1)return B;if(this._backtrack){z=!1;continue}else return!1}else if(!this.options.flex)break}return z?(B=this.test_match(z,ot[nt]),B!==!1?B:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
1530 Expecting `+_e.join(", ")+", got '"+(this.terminals_[pn]||pn)+"'":xe="Parse error on line "+(V+1)+": Unexpected "+(pn==jt?"end of input":"'"+(this.terminals_[pn]||pn)+"'"),this.parseError(xe,{text:Ft.match,token:this.terminals_[pn]||pn,line:Ft.yylineno,loc:Gt,expected:_e})}if(ye[0]instanceof Array&&ye.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ae+", token: "+pn);switch(ye[0]){case 1:it.push(pn),Q.push(Ft.yytext),dt.push(Ft.yylloc),it.push(ye[1]),pn=null,Ot=Ft.yyleng,yt=Ft.yytext,V=Ft.yylineno,Gt=Ft.yylloc;break;case 2:if(Ne=this.productions_[ye[1]][1],sn.$=Q[Q.length-Ne],sn._$={first_line:dt[dt.length-(Ne||1)].first_line,last_line:dt[dt.length-1].last_line,first_column:dt[dt.length-(Ne||1)].first_column,last_column:dt[dt.length-1].last_column},Fe&&(sn._$.range=[dt[dt.length-(Ne||1)].range[0],dt[dt.length-1].range[1]]),tn=this.performAction.apply(sn,[yt,Ot,V,Ct.yy,ye[1],Q,dt].concat(xt)),typeof tn<"u")return tn;Ne&&(it=it.slice(0,-1*Ne*2),Q=Q.slice(0,-1*Ne),dt=dt.slice(0,-1*Ne)),it.push(this.productions_[ye[1]][0]),Q.push(sn.$),dt.push(sn._$),Xt=K[it[it.length-2]][it[it.length-1]],it.push(Xt);break;case 3:return!0}}return!0}},ft=function(){var mt={EOF:1,parseError:function(rt,it){if(this.yy.parser)this.yy.parser.parseError(rt,it);else throw new Error(rt)},setInput:function(ct,rt){return this.yy=rt||this.yy||{},this._input=ct,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ct=this._input[0];this.yytext+=ct,this.yyleng++,this.offset++,this.match+=ct,this.matched+=ct;var rt=ct.match(/(?:\r\n?|\n).*/g);return rt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ct},unput:function(ct){var rt=ct.length,it=ct.split(/(?:\r\n?|\n)/g);this._input=ct+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-rt),this.offset-=rt;var gt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),it.length-1&&(this.yylineno-=it.length-1);var Q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:it?(it.length===gt.length?this.yylloc.first_column:0)+gt[gt.length-it.length].length-it[0].length:this.yylloc.first_column-rt},this.options.ranges&&(this.yylloc.range=[Q[0],Q[0]+this.yyleng-rt]),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).
1532 `+rt+"^"},test_match:function(ct,rt){var it,gt,Q;if(this.options.backtrack_lexer&&(Q={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&&(Q.yylloc.range=this.yylloc.range.slice(0))),gt=ct[0].match(/(?:\r\n?|\n).*/g),gt&&(this.yylineno+=gt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:gt?gt[gt.length-1].length-gt[gt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ct[0].length},this.yytext+=ct[0],this.match+=ct[0],this.matches=ct,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ct[0].length),this.matched+=ct[0],it=this.performAction.call(this,this.yy,this,rt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),it)return it;if(this._backtrack){for(var dt in Q)this[dt]=Q[dt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ct,rt,it,gt;this._more||(this.yytext="",this.match="");for(var Q=this._currentRules(),dt=0;dt<Q.length;dt++)if(it=this._input.match(this.rules[Q[dt]]),it&&(!rt||it[0].length>rt[0].length)){if(rt=it,gt=dt,this.options.backtrack_lexer){if(ct=this.test_match(it,Q[dt]),ct!==!1)return ct;if(this._backtrack){rt=!1;continue}else return!1}else if(!this.options.flex)break}return rt?(ct=this.test_match(rt,Q[gt]),ct!==!1?ct:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
1534 In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=typeof window>"u"?null:window,z=B?B.navigator:null;B&&B.document;var Y=f(""),nt=f({}),ot=f(function(){}),ft=typeof HTMLElement>"u"?"undefined":f(HTMLElement),wt=function(p){return p&&p.instanceString&&ct(p.instanceString)?p.instanceString():null},mt=function(p){return p!=null&&f(p)==Y},ct=function(p){return p!=null&&f(p)===ot},rt=function(p){return!yt(p)&&(Array.isArray?Array.isArray(p):p!=null&&p instanceof Array)},it=function(p){return p!=null&&f(p)===nt&&!rt(p)&&p.constructor===Object},gt=function(p){return p!=null&&f(p)===nt},Q=function(p){return p!=null&&f(p)===f(1)&&!isNaN(p)},dt=function(p){return Q(p)&&Math.floor(p)===p},K=function(p){if(ft!=="undefined")return p!=null&&p instanceof HTMLElement},yt=function(p){return V(p)||Ot(p)},V=function(p){return wt(p)==="collection"&&p._private.single},Ot=function(p){return wt(p)==="collection"&&!p._private.single},It=function(p){return wt(p)==="core"},jt=function(p){return wt(p)==="stylesheet"},xt=function(p){return wt(p)==="event"},Ft=function(p){return p==null?!0:!!(p===""||p.match(/^\s+$/))},Ct=function(p){return typeof HTMLElement>"u"?!1:p instanceof HTMLElement},kt=function(p){return it(p)&&Q(p.x1)&&Q(p.x2)&&Q(p.y1)&&Q(p.y2)},Gt=function(p){return gt(p)&&ct(p.then)},Fe=function(){return z&&z.userAgent.match(/msie|trident|edge/i)},Mt=function(p,x){x||(x=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var O=[],N=0;N<arguments.length;N++)O.push(arguments[N]);return O.join("$")});var C=function L(){var O=this,N=arguments,j,H=x.apply(O,N),q=L.cache;return(j=q[H])||(j=q[H]=p.apply(O,N)),j};return C.cache={},C},pn=Mt(function(y){return y.replace(/([A-Z])/g,function(p){return"-"+p.toLowerCase()})}),Ae=Mt(function(y){return y.replace(/(-\w)/g,function(p){return p[1].toUpperCase()})}),ye=Mt(function(y,p){return y+p[0].toUpperCase()+p.substring(1)},function(y,p){return y+"$"+p}),tn=function(p){return Ft(p)?p:p.charAt(0).toUpperCase()+p.substring(1)},sn="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",be="rgb[a]?\\(("+sn+"[%]?)\\s*,\\s*("+sn+"[%]?)\\s*,\\s*("+sn+"[%]?)(?:\\s*,\\s*("+sn+"))?\\)",Ne="rgb[a]?\\((?:"+sn+"[%]?)\\s*,\\s*(?:"+sn+"[%]?)\\s*,\\s*(?:"+sn+"[%]?)(?:\\s*,\\s*(?:"+sn+"))?\\)",Xt="hsl[a]?\\(("+sn+")\\s*,\\s*("+sn+"[%])\\s*,\\s*("+sn+"[%])(?:\\s*,\\s*("+sn+"))?\\)",_e="hsl[a]?\\((?:"+sn+")\\s*,\\s*(?:"+sn+"[%])\\s*,\\s*(?:"+sn+"[%])(?:\\s*,\\s*(?:"+sn+"))?\\)",xe="\\#[0-9a-fA-F]{3}",Mn="\\#[0-9a-fA-F]{6}",ce=function(p,x){return p<x?-1:p>x?1:0},Br=function(p,x){return-1*ce(p,x)},we=Object.assign!=null?Object.assign.bind(Object):function(y){for(var p=arguments,x=1;x<p.length;x++){var C=p[x];if(C!=null)for(var L=Object.keys(C),O=0;O<L.length;O++){var N=L[O];y[N]=C[N]}}return y},Fi=function(p){if(!(!(p.length===4||p.length===7)||p[0]!=="#")){var x=p.length===4,C,L,O,N=16;return x?(C=parseInt(p[1]+p[1],N),L=parseInt(p[2]+p[2],N),O=parseInt(p[3]+p[3],N)):(C=parseInt(p[1]+p[2],N),L=parseInt(p[3]+p[4],N),O=parseInt(p[5]+p[6],N)),[C,L,O]}},mi=function(p){var x,C,L,O,N,j,H,q;function W(pt,_t,St){return St<0&&(St+=1),St>1&&(St-=1),St<1/6?pt+(_t-pt)*6*St:St<1/2?_t:St<2/3?pt+(_t-pt)*(2/3-St)*6:pt}var Z=new RegExp("^"+Xt+"$").exec(p);if(Z){if(C=parseInt(Z[1]),C<0?C=(360- -1*C%360)%360:C>360&&(C=C%360),C/=360,L=parseFloat(Z[2]),L<0||L>100||(L=L/100,O=parseFloat(Z[3]),O<0||O>100)||(O=O/100,N=Z[4],N!==void 0&&(N=parseFloat(N),N<0||N>1)))return;if(L===0)j=H=q=Math.round(O*255);else{var st=O<.5?O*(1+L):O+L-O*L,bt=2*O-st;j=Math.round(255*W(bt,st,C+1/3)),H=Math.round(255*W(bt,st,C)),q=Math.round(255*W(bt,st,C-1/3))}x=[j,H,q,N]}return x},ga=function(p){var x,C=new RegExp("^"+be+"$").exec(p);if(C){x=[];for(var L=[],O=1;O<=3;O++){var N=C[O];if(N[N.length-1]==="%"&&(L[O]=!0),N=parseFloat(N),L[O]&&(N=N/100*255),N<0||N>255)return;x.push(Math.floor(N))}var j=L[1]||L[2]||L[3],H=L[1]&&L[2]&&L[3];if(j&&!H)return;var q=C[4];if(q!==void 0){if(q=parseFloat(q),q<0||q>1)return;x.push(q)}}return x},Ss=function(p){return br[p.toLowerCase()]},za=function(p){return(rt(p)?p:null)||Ss(p)||Fi(p)||ga(p)||mi(p)},br={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]},An=function(p){for(var x=p.map,C=p.keys,L=C.length,O=0;O<L;O++){var N=C[O];if(it(N))throw Error("Tried to set map with object key");O<C.length-1?(x[N]==null&&(x[N]={}),x=x[N]):x[N]=p.value}},Nn=function(p){for(var x=p.map,C=p.keys,L=C.length,O=0;O<L;O++){var N=C[O];if(it(N))throw Error("Tried to get map with object key");if(x=x[N],x==null)return x}return x};function Bn(y){var p=typeof y;return y!=null&&(p=="object"||p=="function")}var ke=Bn,pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Z0<"u"?Z0:typeof self<"u"?self:{};function Je(y,p){return p={exports:{}},y(p,p.exports),p.exports}var an=typeof pe=="object"&&pe&&pe.Object===Object&&pe,xn=an,qa=typeof self=="object"&&self&&self.Object===Object&&self,xo=xn||qa||Function("return this")(),ko=xo,va=function(){return ko.Date.now()},Ha=va,ds=/\s/;function Fu(y){for(var p=y.length;p--&&ds.test(y.charAt(p)););return p}var Zs=Fu,d1=/^\s+/;function I2(y){return y&&y.slice(0,Zs(y)+1).replace(d1,"")}var ll=I2,Ic=ko.Symbol,wc=Ic,Ea=Object.prototype,gu=Ea.hasOwnProperty,ta=Ea.toString,fo=wc?wc.toStringTag:void 0;function mc(y){var p=gu.call(y,fo),x=y[fo];try{y[fo]=void 0;var C=!0}catch{}var L=ta.call(y);return C&&(p?y[fo]=x:delete y[fo]),L}var ca=mc,ya=Object.prototype,ea=ya.toString;function Zl(y){return ea.call(y)}var Uc=Zl,rm="[object Null]",kh="[object Undefined]",Md=wc?wc.toStringTag:void 0;function w0(y){return y==null?y===void 0?kh:rm:Md&&Md in Object(y)?ca(y):Uc(y)}var Id=w0;function m0(y){return y!=null&&typeof y=="object"}var hg=m0,Gi="[object Symbol]";function cn(y){return typeof y=="symbol"||hg(y)&&Id(y)==Gi}var Nr=cn,Si=0/0,vc=/^[-+]0x[0-9a-f]+$/i,Rc=/^0b[01]+$/i,Eh=/^0o[0-7]+$/i,Zc=parseInt;function Qh(y){if(typeof y=="number")return y;if(Nr(y))return Si;if(ke(y)){var p=typeof y.valueOf=="function"?y.valueOf():y;y=ke(p)?p+"":p}if(typeof y!="string")return y===0?y:+y;y=ll(y);var x=Rc.test(y);return x||Eh.test(y)?Zc(y.slice(2),x?2:8):vc.test(y)?Si:+y}var Od=Qh,cs="Expected a function",As=Math.max,to=Math.min;function Ci(y,p,x){var C,L,O,N,j,H,q=0,W=!1,Z=!1,st=!0;if(typeof y!="function")throw new TypeError(cs);p=Od(p)||0,ke(x)&&(W=!!x.leading,Z="maxWait"in x,O=Z?As(Od(x.maxWait)||0,p):O,st="trailing"in x?!!x.trailing:st);function bt(ee){var Ut=C,de=L;return C=L=void 0,q=ee,N=y.apply(de,Ut),N}function pt(ee){return q=ee,j=setTimeout(Et,p),W?bt(ee):N}function _t(ee){var Ut=ee-H,de=ee-q,Yt=p-Ut;return Z?to(Yt,O-de):Yt}function St(ee){var Ut=ee-H,de=ee-q;return H===void 0||Ut>=p||Ut<0||Z&&de>=O}function Et(){var ee=Ha();if(St(ee))return Nt(ee);j=setTimeout(Et,_t(ee))}function Nt(ee){return j=void 0,st&&C?bt(ee):(C=L=void 0,N)}function Pt(){j!==void 0&&clearTimeout(j),q=0,C=H=L=j=void 0}function qt(){return j===void 0?N:Nt(Ha())}function re(){var ee=Ha(),Ut=St(ee);if(C=arguments,L=this,H=ee,Ut){if(j===void 0)return pt(H);if(Z)return clearTimeout(j),j=setTimeout(Et,p),bt(H)}return j===void 0&&(j=setTimeout(Et,p)),N}return re.cancel=Pt,re.flush=qt,re}var pu=Ci,Le=B?B.performance:null,iy=Le&&Le.now?function(){return Le.now()}:function(){return Date.now()},$e=function(){if(B){if(B.requestAnimationFrame)return function(y){B.requestAnimationFrame(y)};if(B.mozRequestAnimationFrame)return function(y){B.mozRequestAnimationFrame(y)};if(B.webkitRequestAnimationFrame)return function(y){B.webkitRequestAnimationFrame(y)};if(B.msRequestAnimationFrame)return function(y){B.msRequestAnimationFrame(y)}}return function(y){y&&setTimeout(function(){y(iy())},1e3/60)}}(),g1=function(p){return $e(p)},ip=iy,sy=9261,D8=65599,g4=5381,th=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sy,C=x,L;L=p.next(),!L.done;)C=C*D8+L.value|0;return C},fg=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sy;return x*D8+p|0},O2=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g4;return(x<<5)+x+p|0},M8=function(p,x){return p*2097152+x},N2=function(p){return p[0]*2097152+p[1]},p4=function(p,x){return[fg(p[0],x[0]),O2(p[1],x[1])]},U1=function(p,x){var C={value:0,done:!1},L=0,O=p.length,N={next:function(){return L<O?C.value=p[L++]:C.done=!0,C}};return th(N,x)},Nd=function(p,x){var C={value:0,done:!1},L=0,O=p.length,N={next:function(){return L<O?C.value=p.charCodeAt(L++):C.done=!0,C}};return th(N,x)},Pd=function(){return I8(arguments)},I8=function(p){for(var x,C=0;C<p.length;C++){var L=p[C];C===0?x=Nd(L):x=Nd(L,x)}return x},im=!0,Gx=console.warn!=null,hb=console.trace!=null,Kx=Number.MAX_SAFE_INTEGER||9007199254740991,b4=function(){return!0},ay=function(){return!1},sp=function(){return 0},BD=function(){},$l=function(p){throw new Error(p)},U9=function(p){if(p!==void 0)im=!!p;else return im},Gc=function(p){U9()&&(Gx?console.warn(p):(console.log(p),hb&&console.trace()))},$X=function(p){return we({},p)},P2=function(p){return p==null?p:rt(p)?p.slice():it(p)?$X(p):p},zX=function(p){return p.slice()},MB=function(p,x){for(x=p="";p++<36;x+=p*51&52?(p^15?8^Math.random()*(p^20?16:4):4).toString(16):"-");return x},qX={},IB=function(){return qX},p1=function(p){var x=Object.keys(p);return function(C){for(var L={},O=0;O<x.length;O++){var N=x[O],j=C==null?void 0:C[N];L[N]=j===void 0?p[N]:j}return L}},oy=function(p,x,C){for(var L=p.length-1;L>=0&&!(p[L]===x&&(p.splice(L,1),C));L--);},G9=function(p){p.splice(0,p.length)},OB=function(p,x){for(var C=0;C<x.length;C++){var L=x[C];p.push(L)}},fb=function(p,x,C){return C&&(x=ye(C,x)),p[x]},cy=function(p,x,C,L){C&&(x=ye(C,x)),p[x]=L},HX=function(){function y(){g(this,y),this._obj={}}return v(y,[{key:"set",value:function(x,C){return this._obj[x]=C,this}},{key:"delete",value:function(x){return this._obj[x]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(x){return this._obj[x]!==void 0}},{key:"get",value:function(x){return this._obj[x]}}]),y}(),F2=typeof Map<"u"?Map:HX,VX="undefined",UX=function(){function y(p){if(g(this,y),this._obj=Object.create(null),this.size=0,p!=null){var x;p.instanceString!=null&&p.instanceString()===this.instanceString()?x=p.toArray():x=p;for(var C=0;C<x.length;C++)this.add(x[C])}}return v(y,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(x){var C=this._obj;C[x]!==1&&(C[x]=1,this.size++)}},{key:"delete",value:function(x){var C=this._obj;C[x]===1&&(C[x]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(x){return this._obj[x]===1}},{key:"toArray",value:function(){var x=this;return Object.keys(this._obj).filter(function(C){return x.has(C)})}},{key:"forEach",value:function(x,C){return this.toArray().forEach(x,C)}}]),y}(),Wx=(typeof Set>"u"?"undefined":f(Set))!==VX?Set:UX,K9=function(p,x){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(p===void 0||x===void 0||!It(p)){$l("An element must have a core reference and parameters set");return}var L=x.group;if(L==null&&(x.data&&x.data.source!=null&&x.data.target!=null?L="edges":L="nodes"),L!=="nodes"&&L!=="edges"){$l("An element must be of type `nodes` or `edges`; you specified `"+L+"`");return}this.length=1,this[0]=this;var O=this._private={cy:p,single:!0,data:x.data||{},position:x.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:L,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!x.selected,selectable:x.selectable===void 0?!0:!!x.selectable,locked:!!x.locked,grabbed:!1,grabbable:x.grabbable===void 0?!0:!!x.grabbable,pannable:x.pannable===void 0?L==="edges":!!x.pannable,active:!1,classes:new Wx,animation:{current:[],queue:[]},rscratch:{},scratch:x.scratch||{},edges:[],children:[],parent:x.parent&&x.parent.isNode()?x.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(O.position.x==null&&(O.position.x=0),O.position.y==null&&(O.position.y=0),x.renderedPosition){var N=x.renderedPosition,j=p.pan(),H=p.zoom();O.position={x:(N.x-j.x)/H,y:(N.y-j.y)/H}}var q=[];rt(x.classes)?q=x.classes:mt(x.classes)&&(q=x.classes.split(/\s+/));for(var W=0,Z=q.length;W<Z;W++){var st=q[W];!st||st===""||O.classes.add(st)}this.createEmitter();var bt=x.style||x.css;bt&&(Gc("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(bt)),(C===void 0||C)&&this.restore()},NB=function(p){return p={bfs:p.bfs||!p.dfs,dfs:p.dfs||!p.bfs},function(C,L,O){var N;it(C)&&!yt(C)&&(N=C,C=N.roots||N.root,L=N.visit,O=N.directed),O=arguments.length===2&&!ct(L)?L:O,L=ct(L)?L:function(){};for(var j=this._private.cy,H=C=mt(C)?this.filter(C):C,q=[],W=[],Z={},st={},bt={},pt=0,_t,St=this.byGroup(),Et=St.nodes,Nt=St.edges,Pt=0;Pt<H.length;Pt++){var qt=H[Pt],re=qt.id();qt.isNode()&&(q.unshift(qt),p.bfs&&(bt[re]=!0,W.push(qt)),st[re]=0)}for(var ee=function(){var ze=p.bfs?q.shift():q.pop(),me=ze.id();if(p.dfs){if(bt[me])return"continue";bt[me]=!0,W.push(ze)}var yn=st[me],nn=Z[me],qe=nn!=null?nn.source():null,Tn=nn!=null?nn.target():null,Xn=nn==null?void 0:ze.same(qe)?Tn[0]:qe[0],lr=void 0;if(lr=L(ze,nn,Xn,pt++,yn),lr===!0)return _t=ze,"break";if(lr===!1)return"break";for(var Sn=ze.connectedEdges().filter(function(Cr){return(!O||Cr.source().same(ze))&&Nt.has(Cr)}),or=0;or<Sn.length;or++){var pr=Sn[or],kr=pr.connectedNodes().filter(function(Cr){return!Cr.same(ze)&&Et.has(Cr)}),wr=kr.id();kr.length!==0&&!bt[wr]&&(kr=kr[0],q.push(kr),p.bfs&&(bt[wr]=!0,W.push(kr)),Z[wr]=pr,st[wr]=st[me]+1)}};q.length!==0;){var Ut=ee();if(Ut!=="continue"&&Ut==="break")break}for(var de=j.collection(),Yt=0;Yt<W.length;Yt++){var Ee=W[Yt],Te=Z[Ee.id()];Te!=null&&de.push(Te),de.push(Ee)}return{path:j.collection(de),found:j.collection(_t)}}},O8={breadthFirstSearch:NB({bfs:!0}),depthFirstSearch:NB({dfs:!0})};O8.bfs=O8.breadthFirstSearch,O8.dfs=O8.depthFirstSearch;var GX=Je(function(y,p){(function(){var x,C,L,O,N,j,H,q,W,Z,st,bt,pt,_t,St;L=Math.floor,Z=Math.min,C=function(Et,Nt){return Et<Nt?-1:Et>Nt?1:0},W=function(Et,Nt,Pt,qt,re){var ee;if(Pt==null&&(Pt=0),re==null&&(re=C),Pt<0)throw new Error("lo must be non-negative");for(qt==null&&(qt=Et.length);Pt<qt;)ee=L((Pt+qt)/2),re(Nt,Et[ee])<0?qt=ee:Pt=ee+1;return[].splice.apply(Et,[Pt,Pt-Pt].concat(Nt)),Nt},j=function(Et,Nt,Pt){return Pt==null&&(Pt=C),Et.push(Nt),_t(Et,0,Et.length-1,Pt)},N=function(Et,Nt){var Pt,qt;return Nt==null&&(Nt=C),Pt=Et.pop(),Et.length?(qt=Et[0],Et[0]=Pt,St(Et,0,Nt)):qt=Pt,qt},q=function(Et,Nt,Pt){var qt;return Pt==null&&(Pt=C),qt=Et[0],Et[0]=Nt,St(Et,0,Pt),qt},H=function(Et,Nt,Pt){var qt;return Pt==null&&(Pt=C),Et.length&&Pt(Et[0],Nt)<0&&(qt=[Et[0],Nt],Nt=qt[0],Et[0]=qt[1],St(Et,0,Pt)),Nt},O=function(Et,Nt){var Pt,qt,re,ee,Ut,de;for(Nt==null&&(Nt=C),ee=(function(){de=[];for(var Yt=0,Ee=L(Et.length/2);0<=Ee?Yt<Ee:Yt>Ee;0<=Ee?Yt++:Yt--)de.push(Yt);return de}).apply(this).reverse(),Ut=[],qt=0,re=ee.length;qt<re;qt++)Pt=ee[qt],Ut.push(St(Et,Pt,Nt));return Ut},pt=function(Et,Nt,Pt){var qt;if(Pt==null&&(Pt=C),qt=Et.indexOf(Nt),qt!==-1)return _t(Et,0,qt,Pt),St(Et,qt,Pt)},st=function(Et,Nt,Pt){var qt,re,ee,Ut,de;if(Pt==null&&(Pt=C),re=Et.slice(0,Nt),!re.length)return re;for(O(re,Pt),de=Et.slice(Nt),ee=0,Ut=de.length;ee<Ut;ee++)qt=de[ee],H(re,qt,Pt);return re.sort(Pt).reverse()},bt=function(Et,Nt,Pt){var qt,re,ee,Ut,de,Yt,Ee,Te,ie;if(Pt==null&&(Pt=C),Nt*10<=Et.length){if(ee=Et.slice(0,Nt).sort(Pt),!ee.length)return ee;for(re=ee[ee.length-1],Ee=Et.slice(Nt),Ut=0,Yt=Ee.length;Ut<Yt;Ut++)qt=Ee[Ut],Pt(qt,re)<0&&(W(ee,qt,0,null,Pt),ee.pop(),re=ee[ee.length-1]);return ee}for(O(Et,Pt),ie=[],de=0,Te=Z(Nt,Et.length);0<=Te?de<Te:de>Te;0<=Te?++de:--de)ie.push(N(Et,Pt));return ie},_t=function(Et,Nt,Pt,qt){var re,ee,Ut;for(qt==null&&(qt=C),re=Et[Pt];Pt>Nt;){if(Ut=Pt-1>>1,ee=Et[Ut],qt(re,ee)<0){Et[Pt]=ee,Pt=Ut;continue}break}return Et[Pt]=re},St=function(Et,Nt,Pt){var qt,re,ee,Ut,de;for(Pt==null&&(Pt=C),re=Et.length,de=Nt,ee=Et[Nt],qt=2*Nt+1;qt<re;)Ut=qt+1,Ut<re&&!(Pt(Et[qt],Et[Ut])<0)&&(qt=Ut),Et[Nt]=Et[qt],Nt=qt,qt=2*Nt+1;return Et[Nt]=ee,_t(Et,de,Nt,Pt)},x=function(){Et.push=j,Et.pop=N,Et.replace=q,Et.pushpop=H,Et.heapify=O,Et.updateItem=pt,Et.nlargest=st,Et.nsmallest=bt;function Et(Nt){this.cmp=Nt??C,this.nodes=[]}return Et.prototype.push=function(Nt){return j(this.nodes,Nt,this.cmp)},Et.prototype.pop=function(){return N(this.nodes,this.cmp)},Et.prototype.peek=function(){return this.nodes[0]},Et.prototype.contains=function(Nt){return this.nodes.indexOf(Nt)!==-1},Et.prototype.replace=function(Nt){return q(this.nodes,Nt,this.cmp)},Et.prototype.pushpop=function(Nt){return H(this.nodes,Nt,this.cmp)},Et.prototype.heapify=function(){return O(this.nodes,this.cmp)},Et.prototype.updateItem=function(Nt){return pt(this.nodes,Nt,this.cmp)},Et.prototype.clear=function(){return this.nodes=[]},Et.prototype.empty=function(){return this.nodes.length===0},Et.prototype.size=function(){return this.nodes.length},Et.prototype.clone=function(){var Nt;return Nt=new Et,Nt.nodes=this.nodes.slice(0),Nt},Et.prototype.toArray=function(){return this.nodes.slice(0)},Et.prototype.insert=Et.prototype.push,Et.prototype.top=Et.prototype.peek,Et.prototype.front=Et.prototype.peek,Et.prototype.has=Et.prototype.contains,Et.prototype.copy=Et.prototype.clone,Et}(),function(Et,Nt){return y.exports=Nt()}(this,function(){return x})}).call(pe)}),N8=GX,KX=p1({root:null,weight:function(p){return 1},directed:!1}),WX={dijkstra:function(p){if(!it(p)){var x=arguments;p={root:x[0],weight:x[1],directed:x[2]}}var C=KX(p),L=C.root,O=C.weight,N=C.directed,j=this,H=O,q=mt(L)?this.filter(L)[0]:L[0],W={},Z={},st={},bt=this.byGroup(),pt=bt.nodes,_t=bt.edges;_t.unmergeBy(function(yn){return yn.isLoop()});for(var St=function(nn){return W[nn.id()]},Et=function(nn,qe){W[nn.id()]=qe,Nt.updateItem(nn)},Nt=new N8(function(yn,nn){return St(yn)-St(nn)}),Pt=0;Pt<pt.length;Pt++){var qt=pt[Pt];W[qt.id()]=qt.same(q)?0:1/0,Nt.push(qt)}for(var re=function(nn,qe){for(var Tn=(N?nn.edgesTo(qe):nn.edgesWith(qe)).intersect(_t),Xn=1/0,lr,Sn=0;Sn<Tn.length;Sn++){var or=Tn[Sn],pr=H(or);(pr<Xn||!lr)&&(Xn=pr,lr=or)}return{edge:lr,dist:Xn}};Nt.size()>0;){var ee=Nt.pop(),Ut=St(ee),de=ee.id();if(st[de]=Ut,Ut!==1/0)for(var Yt=ee.neighborhood().intersect(pt),Ee=0;Ee<Yt.length;Ee++){var Te=Yt[Ee],ie=Te.id(),ze=re(ee,Te),me=Ut+ze.dist;me<St(Te)&&(Et(Te,me),Z[ie]={node:ee,edge:ze.edge})}}return{distanceTo:function(nn){var qe=mt(nn)?pt.filter(nn)[0]:nn[0];return st[qe.id()]},pathTo:function(nn){var qe=mt(nn)?pt.filter(nn)[0]:nn[0],Tn=[],Xn=qe,lr=Xn.id();if(qe.length>0)for(Tn.unshift(qe);Z[lr];){var Sn=Z[lr];Tn.unshift(Sn.edge),Tn.unshift(Sn.node),Xn=Sn.node,lr=Xn.id()}return j.spawn(Tn)}}}},YX={kruskal:function(p){p=p||function(Pt){return 1};for(var x=this.byGroup(),C=x.nodes,L=x.edges,O=C.length,N=new Array(O),j=C,H=function(qt){for(var re=0;re<N.length;re++){var ee=N[re];if(ee.has(qt))return re}},q=0;q<O;q++)N[q]=this.spawn(C[q]);for(var W=L.sort(function(Pt,qt){return p(Pt)-p(qt)}),Z=0;Z<W.length;Z++){var st=W[Z],bt=st.source()[0],pt=st.target()[0],_t=H(bt),St=H(pt),Et=N[_t],Nt=N[St];_t!==St&&(j.merge(st),Et.merge(Nt),N.splice(St,1))}return j}},XX=p1({root:null,goal:null,weight:function(p){return 1},heuristic:function(p){return 0},directed:!1}),QX={aStar:function(p){var x=this.cy(),C=XX(p),L=C.root,O=C.goal,N=C.heuristic,j=C.directed,H=C.weight;L=x.collection(L)[0],O=x.collection(O)[0];var q=L.id(),W=O.id(),Z={},st={},bt={},pt=new N8(function(lr,Sn){return st[lr.id()]-st[Sn.id()]}),_t=new Wx,St={},Et={},Nt=function(Sn,or){pt.push(Sn),_t.add(or)},Pt,qt,re=function(){Pt=pt.pop(),qt=Pt.id(),_t.delete(qt)},ee=function(Sn){return _t.has(Sn)};Nt(L,q),Z[q]=0,st[q]=N(L);for(var Ut=0;pt.size()>0;){if(re(),Ut++,qt===W){for(var de=[],Yt=O,Ee=W,Te=Et[Ee];de.unshift(Yt),Te!=null&&de.unshift(Te),Yt=St[Ee],Yt!=null;)Ee=Yt.id(),Te=Et[Ee];return{found:!0,distance:Z[qt],path:this.spawn(de),steps:Ut}}bt[qt]=!0;for(var ie=Pt._private.edges,ze=0;ze<ie.length;ze++){var me=ie[ze];if(this.hasElementWithId(me.id())&&!(j&&me.data("source")!==qt)){var yn=me.source(),nn=me.target(),qe=yn.id()!==qt?yn:nn,Tn=qe.id();if(this.hasElementWithId(Tn)&&!bt[Tn]){var Xn=Z[qt]+H(me);if(!ee(Tn)){Z[Tn]=Xn,st[Tn]=Xn+N(qe),Nt(qe,Tn),St[Tn]=Pt,Et[Tn]=me;continue}Xn<Z[Tn]&&(Z[Tn]=Xn,st[Tn]=Xn+N(qe),St[Tn]=Pt,Et[Tn]=me)}}}}return{found:!1,distance:void 0,path:void 0,steps:Ut}}},JX=p1({weight:function(p){return 1},directed:!1}),ZX={floydWarshall:function(p){for(var x=this.cy(),C=JX(p),L=C.weight,O=C.directed,N=L,j=this.byGroup(),H=j.nodes,q=j.edges,W=H.length,Z=W*W,st=function(pr){return H.indexOf(pr)},bt=function(pr){return H[pr]},pt=new Array(Z),_t=0;_t<Z;_t++){var St=_t%W,Et=(_t-St)/W;Et===St?pt[_t]=0:pt[_t]=1/0}for(var Nt=new Array(Z),Pt=new Array(Z),qt=0;qt<q.length;qt++){var re=q[qt],ee=re.source()[0],Ut=re.target()[0];if(ee!==Ut){var de=st(ee),Yt=st(Ut),Ee=de*W+Yt,Te=N(re);if(pt[Ee]>Te&&(pt[Ee]=Te,Nt[Ee]=Yt,Pt[Ee]=re),!O){var ie=Yt*W+de;!O&&pt[ie]>Te&&(pt[ie]=Te,Nt[ie]=de,Pt[ie]=re)}}}for(var ze=0;ze<W;ze++)for(var me=0;me<W;me++)for(var yn=me*W+ze,nn=0;nn<W;nn++){var qe=me*W+nn,Tn=ze*W+nn;pt[yn]+pt[Tn]<pt[qe]&&(pt[qe]=pt[yn]+pt[Tn],Nt[qe]=Nt[yn])}var Xn=function(pr){return(mt(pr)?x.filter(pr):pr)[0]},lr=function(pr){return st(Xn(pr))},Sn={distance:function(pr,kr){var wr=lr(pr),Cr=lr(kr);return pt[wr*W+Cr]},path:function(pr,kr){var wr=lr(pr),Cr=lr(kr),$n=bt(wr);if(wr===Cr)return $n.collection();if(Nt[wr*W+Cr]==null)return x.collection();var cr=x.collection(),mr=wr,Sr;for(cr.merge($n);wr!==Cr;)mr=wr,wr=Nt[wr*W+Cr],Sr=Pt[mr*W+wr],cr.merge(Sr),cr.merge(bt(wr));return cr}};return Sn}},tQ=p1({weight:function(p){return 1},directed:!1,root:null}),eQ={bellmanFord:function(p){var x=this,C=tQ(p),L=C.weight,O=C.directed,N=C.root,j=L,H=this,q=this.cy(),W=this.byGroup(),Z=W.edges,st=W.nodes,bt=st.length,pt=new F2,_t=!1,St=[];N=q.collection(N)[0],Z.unmergeBy(function(ks){return ks.isLoop()});for(var Et=Z.length,Nt=function(as){var Es=pt.get(as.id());return Es||(Es={},pt.set(as.id(),Es)),Es},Pt=function(as){return(mt(as)?q.$(as):as)[0]},qt=function(as){return Nt(Pt(as)).dist},re=function(as){for(var Es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N,eo=Pt(as),Ta=[],pa=eo;;){if(pa==null)return x.spawn();var mo=Nt(pa),Kn=mo.edge,G=mo.pred;if(Ta.unshift(pa[0]),pa.same(Es)&&Ta.length>0)break;Kn!=null&&Ta.unshift(Kn),pa=G}return H.spawn(Ta)},ee=0;ee<bt;ee++){var Ut=st[ee],de=Nt(Ut);Ut.same(N)?de.dist=0:de.dist=1/0,de.pred=null,de.edge=null}for(var Yt=!1,Ee=function(as,Es,eo,Ta,pa,mo){var Kn=Ta.dist+mo;Kn<pa.dist&&!eo.same(Ta.edge)&&(pa.dist=Kn,pa.pred=as,pa.edge=eo,Yt=!0)},Te=1;Te<bt;Te++){Yt=!1;for(var ie=0;ie<Et;ie++){var ze=Z[ie],me=ze.source(),yn=ze.target(),nn=j(ze),qe=Nt(me),Tn=Nt(yn);Ee(me,yn,ze,qe,Tn,nn),O||Ee(yn,me,ze,Tn,qe,nn)}if(!Yt)break}if(Yt)for(var Xn=[],lr=0;lr<Et;lr++){var Sn=Z[lr],or=Sn.source(),pr=Sn.target(),kr=j(Sn),wr=Nt(or).dist,Cr=Nt(pr).dist;if(wr+kr<Cr||!O&&Cr+kr<wr)if(_t||(Gc("Graph contains a negative weight cycle for Bellman-Ford"),_t=!0),p.findNegativeWeightCycles!==!1){var $n=[];wr+kr<Cr&&$n.push(or),!O&&Cr+kr<wr&&$n.push(pr);for(var cr=$n.length,mr=0;mr<cr;mr++){var Sr=$n[mr],gi=[Sr];gi.push(Nt(Sr).edge);for(var ss=Nt(Sr).pred;gi.indexOf(ss)===-1;)gi.push(ss),gi.push(Nt(ss).edge),ss=Nt(ss).pred;gi=gi.slice(gi.indexOf(ss));for(var na=gi[0].id(),vi=0,si=2;si<gi.length;si+=2)gi[si].id()<na&&(na=gi[si].id(),vi=si);gi=gi.slice(vi).concat(gi.slice(0,vi)),gi.push(gi[0]);var Qi=gi.map(function(ks){return ks.id()}).join(",");Xn.indexOf(Qi)===-1&&(St.push(H.spawn(gi)),Xn.push(Qi))}}else break}return{distanceTo:qt,pathTo:re,hasNegativeWeightCycle:_t,negativeWeightCycles:St}}},nQ=Math.sqrt(2),rQ=function(p,x,C){C.length===0&&$l("Karger-Stein must be run on a connected (sub)graph");for(var L=C[p],O=L[1],N=L[2],j=x[O],H=x[N],q=C,W=q.length-1;W>=0;W--){var Z=q[W],st=Z[1],bt=Z[2];(x[st]===j&&x[bt]===H||x[st]===H&&x[bt]===j)&&q.splice(W,1)}for(var pt=0;pt<q.length;pt++){var _t=q[pt];_t[1]===H?(q[pt]=_t.slice(),q[pt][1]=j):_t[2]===H&&(q[pt]=_t.slice(),q[pt][2]=j)}for(var St=0;St<x.length;St++)x[St]===H&&(x[St]=j);return q},RD=function(p,x,C,L){for(;C>L;){var O=Math.floor(Math.random()*x.length);x=rQ(O,p,x),C--}return x},iQ={kargerStein:function(){var p=this,x=this.byGroup(),C=x.nodes,L=x.edges;L.unmergeBy(function(Tn){return Tn.isLoop()});var O=C.length,N=L.length,j=Math.ceil(Math.pow(Math.log(O)/Math.LN2,2)),H=Math.floor(O/nQ);if(O<2){$l("At least 2 nodes are required for Karger-Stein algorithm");return}for(var q=[],W=0;W<N;W++){var Z=L[W];q.push([W,C.indexOf(Z.source()),C.indexOf(Z.target())])}for(var st=1/0,bt=[],pt=new Array(O),_t=new Array(O),St=new Array(O),Et=function(Xn,lr){for(var Sn=0;Sn<O;Sn++)lr[Sn]=Xn[Sn]},Nt=0;Nt<=j;Nt++){for(var Pt=0;Pt<O;Pt++)_t[Pt]=Pt;var qt=RD(_t,q.slice(),O,H),re=qt.slice();Et(_t,St);var ee=RD(_t,qt,H,2),Ut=RD(St,re,H,2);ee.length<=Ut.length&&ee.length<st?(st=ee.length,bt=ee,Et(_t,pt)):Ut.length<=ee.length&&Ut.length<st&&(st=Ut.length,bt=Ut,Et(St,pt))}for(var de=this.spawn(bt.map(function(Tn){return L[Tn[0]]})),Yt=this.spawn(),Ee=this.spawn(),Te=pt[0],ie=0;ie<pt.length;ie++){var ze=pt[ie],me=C[ie];ze===Te?Yt.merge(me):Ee.merge(me)}var yn=function(Xn){var lr=p.spawn();return Xn.forEach(function(Sn){lr.merge(Sn),Sn.connectedEdges().forEach(function(or){p.contains(or)&&!de.contains(or)&&lr.merge(or)})}),lr},nn=[yn(Yt),yn(Ee)],qe={cut:de,components:nn,partition1:Yt,partition2:Ee};return qe}},sQ=function(p){return{x:p.x,y:p.y}},W9=function(p,x,C){return{x:p.x*x+C.x,y:p.y*x+C.y}},PB=function(p,x,C){return{x:(p.x-C.x)/x,y:(p.y-C.y)/x}},Yx=function(p){return{x:p[0],y:p[1]}},aQ=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=1/0,O=x;O<C;O++){var N=p[O];isFinite(N)&&(L=Math.min(N,L))}return L},oQ=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=-1/0,O=x;O<C;O++){var N=p[O];isFinite(N)&&(L=Math.max(N,L))}return L},cQ=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=0,O=0,N=x;N<C;N++){var j=p[N];isFinite(j)&&(L+=j,O++)}return L/O},uQ=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,O=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,N=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;L?p=p.slice(x,C):(C<p.length&&p.splice(C,p.length-C),x>0&&p.splice(0,x));for(var j=0,H=p.length-1;H>=0;H--){var q=p[H];N?isFinite(q)||(p[H]=-1/0,j++):p.splice(H,1)}O&&p.sort(function(st,bt){return st-bt});var W=p.length,Z=Math.floor(W/2);return W%2!==0?p[Z+1+j]:(p[Z-1+j]+p[Z+j])/2},lQ=function(p){return Math.PI*p/180},Y9=function(p,x){return Math.atan2(x,p)-Math.PI/2},jD=Math.log2||function(y){return Math.log(y)/Math.log(2)},FB=function(p){return p>0?1:p<0?-1:0},w4=function(p,x){return Math.sqrt(m4(p,x))},m4=function(p,x){var C=x.x-p.x,L=x.y-p.y;return C*C+L*L},hQ=function(p){for(var x=p.length,C=0,L=0;L<x;L++)C+=p[L];for(var O=0;O<x;O++)p[O]=p[O]/C;return p},Lf=function(p,x,C,L){return(1-L)*(1-L)*p+2*(1-L)*L*x+L*L*C},Xx=function(p,x,C,L){return{x:Lf(p.x,x.x,C.x,L),y:Lf(p.y,x.y,C.y,L)}},fQ=function(p,x,C,L){var O={x:x.x-p.x,y:x.y-p.y},N=w4(p,x),j={x:O.x/N,y:O.y/N};return C=C??0,L=L??C*N,{x:p.x+j.x*L,y:p.y+j.y*L}},P8=function(p,x,C){return Math.max(p,Math.min(C,x))},v0=function(p){if(p==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(p.x1!=null&&p.y1!=null){if(p.x2!=null&&p.y2!=null&&p.x2>=p.x1&&p.y2>=p.y1)return{x1:p.x1,y1:p.y1,x2:p.x2,y2:p.y2,w:p.x2-p.x1,h:p.y2-p.y1};if(p.w!=null&&p.h!=null&&p.w>=0&&p.h>=0)return{x1:p.x1,y1:p.y1,x2:p.x1+p.w,y2:p.y1+p.h,w:p.w,h:p.h}}},dQ=function(p){return{x1:p.x1,x2:p.x2,w:p.w,y1:p.y1,y2:p.y2,h:p.h}},gQ=function(p){p.x1=1/0,p.y1=1/0,p.x2=-1/0,p.y2=-1/0,p.w=0,p.h=0},pQ=function(p,x,C){return{x1:p.x1+x,x2:p.x2+x,y1:p.y1+C,y2:p.y2+C,w:p.w,h:p.h}},BB=function(p,x){p.x1=Math.min(p.x1,x.x1),p.x2=Math.max(p.x2,x.x2),p.w=p.x2-p.x1,p.y1=Math.min(p.y1,x.y1),p.y2=Math.max(p.y2,x.y2),p.h=p.y2-p.y1},bQ=function(p,x,C){p.x1=Math.min(p.x1,x),p.x2=Math.max(p.x2,x),p.w=p.x2-p.x1,p.y1=Math.min(p.y1,C),p.y2=Math.max(p.y2,C),p.h=p.y2-p.y1},X9=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return p.x1-=x,p.x2+=x,p.y1-=x,p.y2+=x,p.w=p.x2-p.x1,p.h=p.y2-p.y1,p},Q9=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],C,L,O,N;if(x.length===1)C=L=O=N=x[0];else if(x.length===2)C=O=x[0],N=L=x[1];else if(x.length===4){var j=E(x,4);C=j[0],L=j[1],O=j[2],N=j[3]}return p.x1-=N,p.x2+=L,p.y1-=C,p.y2+=O,p.w=p.x2-p.x1,p.h=p.y2-p.y1,p},RB=function(p,x){p.x1=x.x1,p.y1=x.y1,p.x2=x.x2,p.y2=x.y2,p.w=p.x2-p.x1,p.h=p.y2-p.y1},$D=function(p,x){return!(p.x1>x.x2||x.x1>p.x2||p.x2<x.x1||x.x2<p.x1||p.y2<x.y1||x.y2<p.y1||p.y1>x.y2||x.y1>p.y2)},Qx=function(p,x,C){return p.x1<=x&&x<=p.x2&&p.y1<=C&&C<=p.y2},wQ=function(p,x){return Qx(p,x.x,x.y)},jB=function(p,x){return Qx(p,x.x1,x.y1)&&Qx(p,x.x2,x.y2)},$B=function(p,x,C,L,O,N,j){var H=R8(O,N),q=O/2,W=N/2,Z;{var st=C-q+H-j,bt=L-W-j,pt=C+q-H+j,_t=bt;if(Z=uy(p,x,C,L,st,bt,pt,_t,!1),Z.length>0)return Z}{var St=C+q+j,Et=L-W+H-j,Nt=St,Pt=L+W-H+j;if(Z=uy(p,x,C,L,St,Et,Nt,Pt,!1),Z.length>0)return Z}{var qt=C-q+H-j,re=L+W+j,ee=C+q-H+j,Ut=re;if(Z=uy(p,x,C,L,qt,re,ee,Ut,!1),Z.length>0)return Z}{var de=C-q-j,Yt=L-W+H-j,Ee=de,Te=L+W-H+j;if(Z=uy(p,x,C,L,de,Yt,Ee,Te,!1),Z.length>0)return Z}var ie;{var ze=C-q+H,me=L-W+H;if(ie=F8(p,x,C,L,ze,me,H+j),ie.length>0&&ie[0]<=ze&&ie[1]<=me)return[ie[0],ie[1]]}{var yn=C+q-H,nn=L-W+H;if(ie=F8(p,x,C,L,yn,nn,H+j),ie.length>0&&ie[0]>=yn&&ie[1]<=nn)return[ie[0],ie[1]]}{var qe=C+q-H,Tn=L+W-H;if(ie=F8(p,x,C,L,qe,Tn,H+j),ie.length>0&&ie[0]>=qe&&ie[1]>=Tn)return[ie[0],ie[1]]}{var Xn=C-q+H,lr=L+W-H;if(ie=F8(p,x,C,L,Xn,lr,H+j),ie.length>0&&ie[0]<=Xn&&ie[1]>=lr)return[ie[0],ie[1]]}return[]},mQ=function(p,x,C,L,O,N,j){var H=j,q=Math.min(C,O),W=Math.max(C,O),Z=Math.min(L,N),st=Math.max(L,N);return q-H<=p&&p<=W+H&&Z-H<=x&&x<=st+H},vQ=function(p,x,C,L,O,N,j,H,q){var W={x1:Math.min(C,j,O)-q,x2:Math.max(C,j,O)+q,y1:Math.min(L,H,N)-q,y2:Math.max(L,H,N)+q};return!(p<W.x1||p>W.x2||x<W.y1||x>W.y2)},yQ=function(p,x,C,L){C-=L;var O=x*x-4*p*C;if(O<0)return[];var N=Math.sqrt(O),j=2*p,H=(-x+N)/j,q=(-x-N)/j;return[H,q]},xQ=function(p,x,C,L,O){var N=1e-5;p===0&&(p=N),x/=p,C/=p,L/=p;var j,H,q,W,Z,st,bt,pt;if(H=(3*C-x*x)/9,q=-(27*L)+x*(9*C-2*(x*x)),q/=54,j=H*H*H+q*q,O[1]=0,bt=x/3,j>0){Z=q+Math.sqrt(j),Z=Z<0?-Math.pow(-Z,1/3):Math.pow(Z,1/3),st=q-Math.sqrt(j),st=st<0?-Math.pow(-st,1/3):Math.pow(st,1/3),O[0]=-bt+Z+st,bt+=(Z+st)/2,O[4]=O[2]=-bt,bt=Math.sqrt(3)*(-st+Z)/2,O[3]=bt,O[5]=-bt;return}if(O[5]=O[3]=0,j===0){pt=q<0?-Math.pow(-q,1/3):Math.pow(q,1/3),O[0]=-bt+2*pt,O[4]=O[2]=-(pt+bt);return}H=-H,W=H*H*H,W=Math.acos(q/Math.sqrt(W)),pt=2*Math.sqrt(H),O[0]=-bt+pt*Math.cos(W/3),O[2]=-bt+pt*Math.cos((W+2*Math.PI)/3),O[4]=-bt+pt*Math.cos((W+4*Math.PI)/3)},kQ=function(p,x,C,L,O,N,j,H){var q=1*C*C-4*C*O+2*C*j+4*O*O-4*O*j+j*j+L*L-4*L*N+2*L*H+4*N*N-4*N*H+H*H,W=1*9*C*O-3*C*C-3*C*j-6*O*O+3*O*j+9*L*N-3*L*L-3*L*H-6*N*N+3*N*H,Z=1*3*C*C-6*C*O+C*j-C*p+2*O*O+2*O*p-j*p+3*L*L-6*L*N+L*H-L*x+2*N*N+2*N*x-H*x,st=1*C*O-C*C+C*p-O*p+L*N-L*L+L*x-N*x,bt=[];xQ(q,W,Z,st,bt);for(var pt=1e-7,_t=[],St=0;St<6;St+=2)Math.abs(bt[St+1])<pt&&bt[St]>=0&&bt[St]<=1&&_t.push(bt[St]);_t.push(1),_t.push(0);for(var Et=-1,Nt,Pt,qt,re=0;re<_t.length;re++)Nt=Math.pow(1-_t[re],2)*C+2*(1-_t[re])*_t[re]*O+_t[re]*_t[re]*j,Pt=Math.pow(1-_t[re],2)*L+2*(1-_t[re])*_t[re]*N+_t[re]*_t[re]*H,qt=Math.pow(Nt-p,2)+Math.pow(Pt-x,2),Et>=0?qt<Et&&(Et=qt):Et=qt;return Et},EQ=function(p,x,C,L,O,N){var j=[p-C,x-L],H=[O-C,N-L],q=H[0]*H[0]+H[1]*H[1],W=j[0]*j[0]+j[1]*j[1],Z=j[0]*H[0]+j[1]*H[1],st=Z*Z/q;return Z<0?W:st>q?(p-O)*(p-O)+(x-N)*(x-N):W-st},y0=function(p,x,C){for(var L,O,N,j,H,q=0,W=0;W<C.length/2;W++)if(L=C[W*2],O=C[W*2+1],W+1<C.length/2?(N=C[(W+1)*2],j=C[(W+1)*2+1]):(N=C[(W+1-C.length/2)*2],j=C[(W+1-C.length/2)*2+1]),!(L==p&&N==p))if(L>=p&&p>=N||L<=p&&p<=N)H=(p-L)/(N-L)*(j-O)+O,H>x&&q++;else continue;return q%2!==0},sm=function(p,x,C,L,O,N,j,H,q){var W=new Array(C.length),Z;H[0]!=null?(Z=Math.atan(H[1]/H[0]),H[0]<0?Z=Z+Math.PI/2:Z=-Z-Math.PI/2):Z=H;for(var st=Math.cos(-Z),bt=Math.sin(-Z),pt=0;pt<W.length/2;pt++)W[pt*2]=N/2*(C[pt*2]*st-C[pt*2+1]*bt),W[pt*2+1]=j/2*(C[pt*2+1]*st+C[pt*2]*bt),W[pt*2]+=L,W[pt*2+1]+=O;var _t;if(q>0){var St=Z9(W,-q);_t=J9(St)}else _t=W;return y0(p,x,_t)},TQ=function(p,x,C,L,O,N,j){for(var H=new Array(C.length),q=N/2,W=j/2,Z=HD(N,j),st=Z*Z,bt=0;bt<C.length/4;bt++){var pt=void 0,_t=void 0;bt===0?pt=C.length-2:pt=bt*4-2,_t=bt*4+2;var St=L+q*C[bt*4],Et=O+W*C[bt*4+1],Nt=-C[pt]*C[_t]-C[pt+1]*C[_t+1],Pt=Z/Math.tan(Math.acos(Nt)/2),qt=St-Pt*C[pt],re=Et-Pt*C[pt+1],ee=St+Pt*C[_t],Ut=Et+Pt*C[_t+1];H[bt*4]=qt,H[bt*4+1]=re,H[bt*4+2]=ee,H[bt*4+3]=Ut;var de=C[pt+1],Yt=-C[pt],Ee=de*C[_t]+Yt*C[_t+1];Ee<0&&(de*=-1,Yt*=-1);var Te=qt+de*Z,ie=re+Yt*Z,ze=Math.pow(Te-p,2)+Math.pow(ie-x,2);if(ze<=st)return!0}return y0(p,x,H)},J9=function(p){for(var x=new Array(p.length/2),C,L,O,N,j,H,q,W,Z=0;Z<p.length/4;Z++){C=p[Z*4],L=p[Z*4+1],O=p[Z*4+2],N=p[Z*4+3],Z<p.length/4-1?(j=p[(Z+1)*4],H=p[(Z+1)*4+1],q=p[(Z+1)*4+2],W=p[(Z+1)*4+3]):(j=p[0],H=p[1],q=p[2],W=p[3]);var st=uy(C,L,O,N,j,H,q,W,!0);x[Z*2]=st[0],x[Z*2+1]=st[1]}return x},Z9=function(p,x){for(var C=new Array(p.length*2),L,O,N,j,H=0;H<p.length/2;H++){L=p[H*2],O=p[H*2+1],H<p.length/2-1?(N=p[(H+1)*2],j=p[(H+1)*2+1]):(N=p[0],j=p[1]);var q=j-O,W=-(N-L),Z=Math.sqrt(q*q+W*W),st=q/Z,bt=W/Z;C[H*4]=L+st*x,C[H*4+1]=O+bt*x,C[H*4+2]=N+st*x,C[H*4+3]=j+bt*x}return C},CQ=function(p,x,C,L,O,N){var j=C-p,H=L-x;j/=O,H/=N;var q=Math.sqrt(j*j+H*H),W=q-1;if(W<0)return[];var Z=W/q;return[(C-p)*Z+p,(L-x)*Z+x]},v4=function(p,x,C,L,O,N,j){return p-=O,x-=N,p/=C/2+j,x/=L/2+j,p*p+x*x<=1},F8=function(p,x,C,L,O,N,j){var H=[C-p,L-x],q=[p-O,x-N],W=H[0]*H[0]+H[1]*H[1],Z=2*(q[0]*H[0]+q[1]*H[1]),st=q[0]*q[0]+q[1]*q[1]-j*j,bt=Z*Z-4*W*st;if(bt<0)return[];var pt=(-Z+Math.sqrt(bt))/(2*W),_t=(-Z-Math.sqrt(bt))/(2*W),St=Math.min(pt,_t),Et=Math.max(pt,_t),Nt=[];if(St>=0&&St<=1&&Nt.push(St),Et>=0&&Et<=1&&Nt.push(Et),Nt.length===0)return[];var Pt=Nt[0]*H[0]+p,qt=Nt[0]*H[1]+x;if(Nt.length>1){if(Nt[0]==Nt[1])return[Pt,qt];var re=Nt[1]*H[0]+p,ee=Nt[1]*H[1]+x;return[Pt,qt,re,ee]}else return[Pt,qt]},zD=function(p,x,C){return x<=p&&p<=C||C<=p&&p<=x?p:p<=x&&x<=C||C<=x&&x<=p?x:C},uy=function(p,x,C,L,O,N,j,H,q){var W=p-O,Z=C-p,st=j-O,bt=x-N,pt=L-x,_t=H-N,St=st*bt-_t*W,Et=Z*bt-pt*W,Nt=_t*Z-st*pt;if(Nt!==0){var Pt=St/Nt,qt=Et/Nt,re=.001,ee=0-re,Ut=1+re;return ee<=Pt&&Pt<=Ut&&ee<=qt&&qt<=Ut?[p+Pt*Z,x+Pt*pt]:q?[p+Pt*Z,x+Pt*pt]:[]}else return St===0||Et===0?zD(p,C,j)===j?[j,H]:zD(p,C,O)===O?[O,N]:zD(O,j,C)===C?[C,L]:[]:[]},B8=function(p,x,C,L,O,N,j,H){var q=[],W,Z=new Array(C.length),st=!0;N==null&&(st=!1);var bt;if(st){for(var pt=0;pt<Z.length/2;pt++)Z[pt*2]=C[pt*2]*N+L,Z[pt*2+1]=C[pt*2+1]*j+O;if(H>0){var _t=Z9(Z,-H);bt=J9(_t)}else bt=Z}else bt=C;for(var St,Et,Nt,Pt,qt=0;qt<bt.length/2;qt++)St=bt[qt*2],Et=bt[qt*2+1],qt<bt.length/2-1?(Nt=bt[(qt+1)*2],Pt=bt[(qt+1)*2+1]):(Nt=bt[0],Pt=bt[1]),W=uy(p,x,L,O,St,Et,Nt,Pt),W.length!==0&&q.push(W[0],W[1]);return q},SQ=function(p,x,C,L,O,N,j,H){for(var q=[],W,Z=new Array(C.length),st=N/2,bt=j/2,pt=HD(N,j),_t=0;_t<C.length/4;_t++){var St=void 0,Et=void 0;_t===0?St=C.length-2:St=_t*4-2,Et=_t*4+2;var Nt=L+st*C[_t*4],Pt=O+bt*C[_t*4+1],qt=-C[St]*C[Et]-C[St+1]*C[Et+1],re=pt/Math.tan(Math.acos(qt)/2),ee=Nt-re*C[St],Ut=Pt-re*C[St+1],de=Nt+re*C[Et],Yt=Pt+re*C[Et+1];_t===0?(Z[C.length-2]=ee,Z[C.length-1]=Ut):(Z[_t*4-2]=ee,Z[_t*4-1]=Ut),Z[_t*4]=de,Z[_t*4+1]=Yt;var Ee=C[St+1],Te=-C[St],ie=Ee*C[Et]+Te*C[Et+1];ie<0&&(Ee*=-1,Te*=-1);var ze=ee+Ee*pt,me=Ut+Te*pt;W=F8(p,x,L,O,ze,me,pt),W.length!==0&&q.push(W[0],W[1])}for(var yn=0;yn<Z.length/4;yn++)W=uy(p,x,L,O,Z[yn*4],Z[yn*4+1],Z[yn*4+2],Z[yn*4+3],!1),W.length!==0&&q.push(W[0],W[1]);if(q.length>2){for(var nn=[q[0],q[1]],qe=Math.pow(nn[0]-p,2)+Math.pow(nn[1]-x,2),Tn=1;Tn<q.length/2;Tn++){var Xn=Math.pow(q[Tn*2]-p,2)+Math.pow(q[Tn*2+1]-x,2);Xn<=qe&&(nn[0]=q[Tn*2],nn[1]=q[Tn*2+1],qe=Xn)}return nn}return q},tC=function(p,x,C){var L=[p[0]-x[0],p[1]-x[1]],O=Math.sqrt(L[0]*L[0]+L[1]*L[1]),N=(O-C)/O;return N<0&&(N=1e-5),[x[0]+N*L[0],x[1]+N*L[1]]},Fd=function(p,x){var C=qD(p,x);return C=zB(C),C},zB=function(p){for(var x,C,L=p.length/2,O=1/0,N=1/0,j=-1/0,H=-1/0,q=0;q<L;q++)x=p[2*q],C=p[2*q+1],O=Math.min(O,x),j=Math.max(j,x),N=Math.min(N,C),H=Math.max(H,C);for(var W=2/(j-O),Z=2/(H-N),st=0;st<L;st++)x=p[2*st]=p[2*st]*W,C=p[2*st+1]=p[2*st+1]*Z,O=Math.min(O,x),j=Math.max(j,x),N=Math.min(N,C),H=Math.max(H,C);if(N<-1)for(var bt=0;bt<L;bt++)C=p[2*bt+1]=p[2*bt+1]+(-1-N);return p},qD=function(p,x){var C=1/p*2*Math.PI,L=p%2===0?Math.PI/2+C/2:Math.PI/2;L+=x;for(var O=new Array(p*2),N,j=0;j<p;j++)N=j*C+L,O[2*j]=Math.cos(N),O[2*j+1]=Math.sin(-N);return O},R8=function(p,x){return Math.min(p/4,x/4,8)},HD=function(p,x){return Math.min(p/10,x/10,8)},qB=function(){return 8},_Q=function(p,x,C){return[p-2*x+C,2*(x-p),p]},VD=function(p,x){return{heightOffset:Math.min(15,.05*x),widthOffset:Math.min(100,.25*p),ctrlPtOffsetPct:.05}},AQ=p1({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(p){return 1}}),LQ={pageRank:function(p){for(var x=AQ(p),C=x.dampingFactor,L=x.precision,O=x.iterations,N=x.weight,j=this._private.cy,H=this.byGroup(),q=H.nodes,W=H.edges,Z=q.length,st=Z*Z,bt=W.length,pt=new Array(st),_t=new Array(Z),St=(1-C)/Z,Et=0;Et<Z;Et++){for(var Nt=0;Nt<Z;Nt++){var Pt=Et*Z+Nt;pt[Pt]=0}_t[Et]=0}for(var qt=0;qt<bt;qt++){var re=W[qt],ee=re.data("source"),Ut=re.data("target");if(ee!==Ut){var de=q.indexOfId(ee),Yt=q.indexOfId(Ut),Ee=N(re),Te=Yt*Z+de;pt[Te]+=Ee,_t[de]+=Ee}}for(var ie=1/Z+St,ze=0;ze<Z;ze++)if(_t[ze]===0)for(var me=0;me<Z;me++){var yn=me*Z+ze;pt[yn]=ie}else for(var nn=0;nn<Z;nn++){var qe=nn*Z+ze;pt[qe]=pt[qe]/_t[ze]+St}for(var Tn=new Array(Z),Xn=new Array(Z),lr,Sn=0;Sn<Z;Sn++)Tn[Sn]=1;for(var or=0;or<O;or++){for(var pr=0;pr<Z;pr++)Xn[pr]=0;for(var kr=0;kr<Z;kr++)for(var wr=0;wr<Z;wr++){var Cr=kr*Z+wr;Xn[kr]+=pt[Cr]*Tn[wr]}hQ(Xn),lr=Tn,Tn=Xn,Xn=lr;for(var $n=0,cr=0;cr<Z;cr++){var mr=lr[cr]-Tn[cr];$n+=mr*mr}if($n<L)break}var Sr={rank:function(ss){return ss=j.collection(ss)[0],Tn[q.indexOf(ss)]}};return Sr}},HB=p1({root:null,weight:function(p){return 1},directed:!1,alpha:0}),Jx={degreeCentralityNormalized:function(p){p=HB(p);var x=this.cy(),C=this.nodes(),L=C.length;if(p.directed){for(var W={},Z={},st=0,bt=0,pt=0;pt<L;pt++){var _t=C[pt],St=_t.id();p.root=_t;var Et=this.degreeCentrality(p);st<Et.indegree&&(st=Et.indegree),bt<Et.outdegree&&(bt=Et.outdegree),W[St]=Et.indegree,Z[St]=Et.outdegree}return{indegree:function(Pt){return st==0?0:(mt(Pt)&&(Pt=x.filter(Pt)),W[Pt.id()]/st)},outdegree:function(Pt){return bt===0?0:(mt(Pt)&&(Pt=x.filter(Pt)),Z[Pt.id()]/bt)}}}else{for(var O={},N=0,j=0;j<L;j++){var H=C[j];p.root=H;var q=this.degreeCentrality(p);N<q.degree&&(N=q.degree),O[H.id()]=q.degree}return{degree:function(Pt){return N===0?0:(mt(Pt)&&(Pt=x.filter(Pt)),O[Pt.id()]/N)}}}},degreeCentrality:function(p){p=HB(p);var x=this.cy(),C=this,L=p,O=L.root,N=L.weight,j=L.directed,H=L.alpha;if(O=x.collection(O)[0],j){for(var bt=O.connectedEdges(),pt=bt.filter(function(ee){return ee.target().same(O)&&C.has(ee)}),_t=bt.filter(function(ee){return ee.source().same(O)&&C.has(ee)}),St=pt.length,Et=_t.length,Nt=0,Pt=0,qt=0;qt<pt.length;qt++)Nt+=N(pt[qt]);for(var re=0;re<_t.length;re++)Pt+=N(_t[re]);return{indegree:Math.pow(St,1-H)*Math.pow(Nt,H),outdegree:Math.pow(Et,1-H)*Math.pow(Pt,H)}}else{for(var q=O.connectedEdges().intersection(C),W=q.length,Z=0,st=0;st<q.length;st++)Z+=N(q[st]);return{degree:Math.pow(W,1-H)*Math.pow(Z,H)}}}};Jx.dc=Jx.degreeCentrality,Jx.dcn=Jx.degreeCentralityNormalised=Jx.degreeCentralityNormalized;var VB=p1({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),Zx={closenessCentralityNormalized:function(p){for(var x=VB(p),C=x.harmonic,L=x.weight,O=x.directed,N=this.cy(),j={},H=0,q=this.nodes(),W=this.floydWarshall({weight:L,directed:O}),Z=0;Z<q.length;Z++){for(var st=0,bt=q[Z],pt=0;pt<q.length;pt++)if(Z!==pt){var _t=W.distance(bt,q[pt]);C?st+=1/_t:st+=_t}C||(st=1/st),H<st&&(H=st),j[bt.id()]=st}return{closeness:function(Et){return H==0?0:(mt(Et)?Et=N.filter(Et)[0].id():Et=Et.id(),j[Et]/H)}}},closenessCentrality:function(p){var x=VB(p),C=x.root,L=x.weight,O=x.directed,N=x.harmonic;C=this.filter(C)[0];for(var j=this.dijkstra({root:C,weight:L,directed:O}),H=0,q=this.nodes(),W=0;W<q.length;W++){var Z=q[W];if(!Z.same(C)){var st=j.distanceTo(Z);N?H+=1/st:H+=st}}return N?H:1/H}};Zx.cc=Zx.closenessCentrality,Zx.ccn=Zx.closenessCentralityNormalised=Zx.closenessCentralityNormalized;var DQ=p1({weight:null,directed:!1}),UD={betweennessCentrality:function(p){for(var x=DQ(p),C=x.directed,L=x.weight,O=L!=null,N=this.cy(),j=this.nodes(),H={},q={},W=0,Z={set:function(Pt,qt){q[Pt]=qt,qt>W&&(W=qt)},get:function(Pt){return q[Pt]}},st=0;st<j.length;st++){var bt=j[st],pt=bt.id();C?H[pt]=bt.outgoers().nodes():H[pt]=bt.openNeighborhood().nodes(),Z.set(pt,0)}for(var _t=function(Pt){for(var qt=j[Pt].id(),re=[],ee={},Ut={},de={},Yt=new N8(function(wr,Cr){return de[wr]-de[Cr]}),Ee=0;Ee<j.length;Ee++){var Te=j[Ee].id();ee[Te]=[],Ut[Te]=0,de[Te]=1/0}for(Ut[qt]=1,de[qt]=0,Yt.push(qt);!Yt.empty();){var ie=Yt.pop();if(re.push(ie),O)for(var ze=0;ze<H[ie].length;ze++){var me=H[ie][ze],yn=N.getElementById(ie),nn=void 0;yn.edgesTo(me).length>0?nn=yn.edgesTo(me)[0]:nn=me.edgesTo(yn)[0];var qe=L(nn);me=me.id(),de[me]>de[ie]+qe&&(de[me]=de[ie]+qe,Yt.nodes.indexOf(me)<0?Yt.push(me):Yt.updateItem(me),Ut[me]=0,ee[me]=[]),de[me]==de[ie]+qe&&(Ut[me]=Ut[me]+Ut[ie],ee[me].push(ie))}else for(var Tn=0;Tn<H[ie].length;Tn++){var Xn=H[ie][Tn].id();de[Xn]==1/0&&(Yt.push(Xn),de[Xn]=de[ie]+1),de[Xn]==de[ie]+1&&(Ut[Xn]=Ut[Xn]+Ut[ie],ee[Xn].push(ie))}}for(var lr={},Sn=0;Sn<j.length;Sn++)lr[j[Sn].id()]=0;for(;re.length>0;){for(var or=re.pop(),pr=0;pr<ee[or].length;pr++){var kr=ee[or][pr];lr[kr]=lr[kr]+Ut[kr]/Ut[or]*(1+lr[or])}or!=j[Pt].id()&&Z.set(or,Z.get(or)+lr[or])}},St=0;St<j.length;St++)_t(St);var Et={betweenness:function(Pt){var qt=N.collection(Pt).id();return Z.get(qt)},betweennessNormalized:function(Pt){if(W==0)return 0;var qt=N.collection(Pt).id();return Z.get(qt)/W}};return Et.betweennessNormalised=Et.betweennessNormalized,Et}};UD.bc=UD.betweennessCentrality;var MQ=p1({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(y){return 1}]}),IQ=function(p){return MQ(p)},OQ=function(p,x){for(var C=0,L=0;L<x.length;L++)C+=x[L](p);return C},NQ=function(p,x,C){for(var L=0;L<x;L++)p[L*x+L]=C},UB=function(p,x){for(var C,L=0;L<x;L++){C=0;for(var O=0;O<x;O++)C+=p[O*x+L];for(var N=0;N<x;N++)p[N*x+L]=p[N*x+L]/C}},PQ=function(p,x,C){for(var L=new Array(C*C),O=0;O<C;O++){for(var N=0;N<C;N++)L[O*C+N]=0;for(var j=0;j<C;j++)for(var H=0;H<C;H++)L[O*C+H]+=p[O*C+j]*x[j*C+H]}return L},FQ=function(p,x,C){for(var L=p.slice(0),O=1;O<C;O++)p=PQ(p,L,x);return p},GB=function(p,x,C){for(var L=new Array(x*x),O=0;O<x*x;O++)L[O]=Math.pow(p[O],C);return UB(L,x),L},BQ=function(p,x,C,L){for(var O=0;O<C;O++){var N=Math.round(p[O]*Math.pow(10,L))/Math.pow(10,L),j=Math.round(x[O]*Math.pow(10,L))/Math.pow(10,L);if(N!==j)return!1}return!0},RQ=function(p,x,C,L){for(var O=[],N=0;N<x;N++){for(var j=[],H=0;H<x;H++)Math.round(p[N*x+H]*1e3)/1e3>0&&j.push(C[H]);j.length!==0&&O.push(L.collection(j))}return O},jQ=function(p,x){for(var C=0;C<p.length;C++)if(!x[C]||p[C].id()!==x[C].id())return!1;return!0},$Q=function(p){for(var x=0;x<p.length;x++)for(var C=0;C<p.length;C++)x!=C&&jQ(p[x],p[C])&&p.splice(C,1);return p},KB=function(p){for(var x=this.nodes(),C=this.edges(),L=this.cy(),O=IQ(p),N={},j=0;j<x.length;j++)N[x[j].id()]=j;for(var H=x.length,q=H*H,W=new Array(q),Z,st=0;st<q;st++)W[st]=0;for(var bt=0;bt<C.length;bt++){var pt=C[bt],_t=N[pt.source().id()],St=N[pt.target().id()],Et=OQ(pt,O.attributes);W[_t*H+St]+=Et,W[St*H+_t]+=Et}NQ(W,H,O.multFactor),UB(W,H);for(var Nt=!0,Pt=0;Nt&&Pt<O.maxIterations;)Nt=!1,Z=FQ(W,H,O.expandFactor),W=GB(Z,H,O.inflateFactor),BQ(W,Z,q,4)||(Nt=!0),Pt++;var qt=RQ(W,H,x,L);return qt=$Q(qt),qt},zQ={markovClustering:KB,mcl:KB},qQ=function(p){return p},WB=function(p,x){return Math.abs(x-p)},YB=function(p,x,C){return p+WB(x,C)},XB=function(p,x,C){return p+Math.pow(C-x,2)},HQ=function(p){return Math.sqrt(p)},VQ=function(p,x,C){return Math.max(p,WB(x,C))},j8=function(p,x,C,L,O){for(var N=arguments.length>5&&arguments[5]!==void 0?arguments[5]:qQ,j=L,H,q,W=0;W<p;W++)H=x(W),q=C(W),j=O(j,H,q);return N(j)},t6={euclidean:function(p,x,C){return p>=2?j8(p,x,C,0,XB,HQ):j8(p,x,C,0,YB)},squaredEuclidean:function(p,x,C){return j8(p,x,C,0,XB)},manhattan:function(p,x,C){return j8(p,x,C,0,YB)},max:function(p,x,C){return j8(p,x,C,-1/0,VQ)}};t6["squared-euclidean"]=t6.squaredEuclidean,t6.squaredeuclidean=t6.squaredEuclidean;function eC(y,p,x,C,L,O){var N;return ct(y)?N=y:N=t6[y]||t6.euclidean,p===0&&ct(y)?N(L,O):N(p,x,C,L,O)}var UQ=p1({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),GD=function(p){return UQ(p)},nC=function(p,x,C,L,O){var N=O!=="kMedoids",j=N?function(Z){return C[Z]}:function(Z){return L[Z](C)},H=function(st){return L[st](x)},q=C,W=x;return eC(p,L.length,j,H,q,W)},KD=function(p,x,C){for(var L=C.length,O=new Array(L),N=new Array(L),j=new Array(x),H=null,q=0;q<L;q++)O[q]=p.min(C[q]).value,N[q]=p.max(C[q]).value;for(var W=0;W<x;W++){H=[];for(var Z=0;Z<L;Z++)H[Z]=Math.random()*(N[Z]-O[Z])+O[Z];j[W]=H}return j},QB=function(p,x,C,L,O){for(var N=1/0,j=0,H=0;H<x.length;H++){var q=nC(C,p,x[H],L,O);q<N&&(N=q,j=H)}return j},JB=function(p,x,C){for(var L=[],O=null,N=0;N<x.length;N++)O=x[N],C[O.id()]===p&&L.push(O);return L},GQ=function(p,x,C){return Math.abs(x-p)<=C},KQ=function(p,x,C){for(var L=0;L<p.length;L++)for(var O=0;O<p[L].length;O++){var N=Math.abs(p[L][O]-x[L][O]);if(N>C)return!1}return!0},WQ=function(p,x,C){for(var L=0;L<C;L++)if(p===x[L])return!0;return!1},ZB=function(p,x){var C=new Array(x);if(p.length<50)for(var L=0;L<x;L++){for(var O=p[Math.floor(Math.random()*p.length)];WQ(O,C,L);)O=p[Math.floor(Math.random()*p.length)];C[L]=O}else for(var N=0;N<x;N++)C[N]=p[Math.floor(Math.random()*p.length)];return C},tR=function(p,x,C){for(var L=0,O=0;O<x.length;O++)L+=nC("manhattan",x[O],p,C,"kMedoids");return L},YQ=function(p){var x=this.cy(),C=this.nodes(),L=null,O=GD(p),N=new Array(O.k),j={},H;O.testMode?typeof O.testCentroids=="number"?(O.testCentroids,H=KD(C,O.k,O.attributes)):f(O.testCentroids)==="object"?H=O.testCentroids:H=KD(C,O.k,O.attributes):H=KD(C,O.k,O.attributes);for(var q=!0,W=0;q&&W<O.maxIterations;){for(var Z=0;Z<C.length;Z++)L=C[Z],j[L.id()]=QB(L,H,O.distance,O.attributes,"kMeans");q=!1;for(var st=0;st<O.k;st++){var bt=JB(st,C,j);if(bt.length!==0){for(var pt=O.attributes.length,_t=H[st],St=new Array(pt),Et=new Array(pt),Nt=0;Nt<pt;Nt++){Et[Nt]=0;for(var Pt=0;Pt<bt.length;Pt++)L=bt[Pt],Et[Nt]+=O.attributes[Nt](L);St[Nt]=Et[Nt]/bt.length,GQ(St[Nt],_t[Nt],O.sensitivityThreshold)||(q=!0)}H[st]=St,N[st]=x.collection(bt)}}W++}return N},XQ=function(p){var x=this.cy(),C=this.nodes(),L=null,O=GD(p),N=new Array(O.k),j,H={},q,W=new Array(O.k);O.testMode?typeof O.testCentroids=="number"||(f(O.testCentroids)==="object"?j=O.testCentroids:j=ZB(C,O.k)):j=ZB(C,O.k);for(var Z=!0,st=0;Z&&st<O.maxIterations;){for(var bt=0;bt<C.length;bt++)L=C[bt],H[L.id()]=QB(L,j,O.distance,O.attributes,"kMedoids");Z=!1;for(var pt=0;pt<j.length;pt++){var _t=JB(pt,C,H);if(_t.length!==0){W[pt]=tR(j[pt],_t,O.attributes);for(var St=0;St<_t.length;St++)q=tR(_t[St],_t,O.attributes),q<W[pt]&&(W[pt]=q,j[pt]=_t[St],Z=!0);N[pt]=x.collection(_t)}}st++}return N},QQ=function(p,x,C,L,O){for(var N,j,H=0;H<x.length;H++)for(var q=0;q<p.length;q++)L[H][q]=Math.pow(C[H][q],O.m);for(var W=0;W<p.length;W++)for(var Z=0;Z<O.attributes.length;Z++){N=0,j=0;for(var st=0;st<x.length;st++)N+=L[st][W]*O.attributes[Z](x[st]),j+=L[st][W];p[W][Z]=N/j}},JQ=function(p,x,C,L,O){for(var N=0;N<p.length;N++)x[N]=p[N].slice();for(var j,H,q,W=2/(O.m-1),Z=0;Z<C.length;Z++)for(var st=0;st<L.length;st++){j=0;for(var bt=0;bt<C.length;bt++)H=nC(O.distance,L[st],C[Z],O.attributes,"cmeans"),q=nC(O.distance,L[st],C[bt],O.attributes,"cmeans"),j+=Math.pow(H/q,W);p[st][Z]=1/j}},ZQ=function(p,x,C,L){for(var O=new Array(C.k),N=0;N<O.length;N++)O[N]=[];for(var j,H,q=0;q<x.length;q++){j=-1/0,H=-1;for(var W=0;W<x[0].length;W++)x[q][W]>j&&(j=x[q][W],H=W);O[H].push(p[q])}for(var Z=0;Z<O.length;Z++)O[Z]=L.collection(O[Z]);return O},eR=function(p){var x=this.cy(),C=this.nodes(),L=GD(p),O,N,j,H,q;H=new Array(C.length);for(var W=0;W<C.length;W++)H[W]=new Array(L.k);j=new Array(C.length);for(var Z=0;Z<C.length;Z++)j[Z]=new Array(L.k);for(var st=0;st<C.length;st++){for(var bt=0,pt=0;pt<L.k;pt++)j[st][pt]=Math.random(),bt+=j[st][pt];for(var _t=0;_t<L.k;_t++)j[st][_t]=j[st][_t]/bt}N=new Array(L.k);for(var St=0;St<L.k;St++)N[St]=new Array(L.attributes.length);q=new Array(C.length);for(var Et=0;Et<C.length;Et++)q[Et]=new Array(L.k);for(var Nt=!0,Pt=0;Nt&&Pt<L.maxIterations;)Nt=!1,QQ(N,C,j,q,L),JQ(j,H,N,C,L),KQ(j,H,L.sensitivityThreshold)||(Nt=!0),Pt++;return O=ZQ(C,j,L,x),{clusters:O,degreeOfMembership:j}},tJ={kMeans:YQ,kMedoids:XQ,fuzzyCMeans:eR,fcm:eR},eJ=p1({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),nJ={single:"min",complete:"max"},rJ=function(p){var x=eJ(p),C=nJ[x.linkage];return C!=null&&(x.linkage=C),x},nR=function(p,x,C,L,O){for(var N=0,j=1/0,H,q=O.attributes,W=function(Yt,Ee){return eC(O.distance,q.length,function(Te){return q[Te](Yt)},function(Te){return q[Te](Ee)},Yt,Ee)},Z=0;Z<p.length;Z++){var st=p[Z].key,bt=C[st][L[st]];bt<j&&(N=st,j=bt)}if(O.mode==="threshold"&&j>=O.threshold||O.mode==="dendrogram"&&p.length===1)return!1;var pt=x[N],_t=x[L[N]],St;O.mode==="dendrogram"?St={left:pt,right:_t,key:pt.key}:St={value:pt.value.concat(_t.value),key:pt.key},p[pt.index]=St,p.splice(_t.index,1),x[pt.key]=St;for(var Et=0;Et<p.length;Et++){var Nt=p[Et];pt.key===Nt.key?H=1/0:O.linkage==="min"?(H=C[pt.key][Nt.key],C[pt.key][Nt.key]>C[_t.key][Nt.key]&&(H=C[_t.key][Nt.key])):O.linkage==="max"?(H=C[pt.key][Nt.key],C[pt.key][Nt.key]<C[_t.key][Nt.key]&&(H=C[_t.key][Nt.key])):O.linkage==="mean"?H=(C[pt.key][Nt.key]*pt.size+C[_t.key][Nt.key]*_t.size)/(pt.size+_t.size):O.mode==="dendrogram"?H=W(Nt.value,pt.value):H=W(Nt.value[0],pt.value[0]),C[pt.key][Nt.key]=C[Nt.key][pt.key]=H}for(var Pt=0;Pt<p.length;Pt++){var qt=p[Pt].key;if(L[qt]===pt.key||L[qt]===_t.key){for(var re=qt,ee=0;ee<p.length;ee++){var Ut=p[ee].key;C[qt][Ut]<C[qt][re]&&(re=Ut)}L[qt]=re}p[Pt].index=Pt}return pt.key=_t.key=pt.index=_t.index=null,!0},rC=function y(p,x,C){p&&(p.value?x.push(p.value):(p.left&&y(p.left,x),p.right&&y(p.right,x)))},iJ=function y(p,x){if(!p)return"";if(p.left&&p.right){var C=y(p.left,x),L=y(p.right,x),O=x.add({group:"nodes",data:{id:C+","+L}});return x.add({group:"edges",data:{source:C,target:O.id()}}),x.add({group:"edges",data:{source:L,target:O.id()}}),O.id()}else if(p.value)return p.value.id()},sJ=function y(p,x,C){if(!p)return[];var L=[],O=[],N=[];return x===0?(p.left&&rC(p.left,L),p.right&&rC(p.right,O),N=L.concat(O),[C.collection(N)]):x===1?p.value?[C.collection(p.value)]:(p.left&&rC(p.left,L),p.right&&rC(p.right,O),[C.collection(L),C.collection(O)]):p.value?[C.collection(p.value)]:(p.left&&(L=y(p.left,x-1,C)),p.right&&(O=y(p.right,x-1,C)),L.concat(O))},rR=function(p){for(var x=this.cy(),C=this.nodes(),L=rJ(p),O=L.attributes,N=function(Pt,qt){return eC(L.distance,O.length,function(re){return O[re](Pt)},function(re){return O[re](qt)},Pt,qt)},j=[],H=[],q=[],W=[],Z=0;Z<C.length;Z++){var st={value:L.mode==="dendrogram"?C[Z]:[C[Z]],key:Z,index:Z};j[Z]=st,W[Z]=st,H[Z]=[],q[Z]=0}for(var bt=0;bt<j.length;bt++)for(var pt=0;pt<=bt;pt++){var _t=void 0;L.mode==="dendrogram"?_t=bt===pt?1/0:N(j[bt].value,j[pt].value):_t=bt===pt?1/0:N(j[bt].value[0],j[pt].value[0]),H[bt][pt]=_t,H[pt][bt]=_t,_t<H[bt][q[bt]]&&(q[bt]=pt)}for(var St=nR(j,W,H,q,L);St;)St=nR(j,W,H,q,L);var Et;return L.mode==="dendrogram"?(Et=sJ(j[0],L.dendrogramDepth,x),L.addDendrogram&&iJ(j[0],x)):(Et=new Array(j.length),j.forEach(function(Nt,Pt){Nt.key=Nt.index=null,Et[Pt]=x.collection(Nt.value)})),Et},aJ={hierarchicalClustering:rR,hca:rR},oJ=p1({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),cJ=function(p){var x=p.damping,C=p.preference;.5<=x&&x<1||$l("Damping must range on [0.5, 1). Got: ".concat(x));var L=["median","mean","min","max"];return L.some(function(O){return O===C})||Q(C)||$l("Preference must be one of [".concat(L.map(function(O){return"'".concat(O,"'")}).join(", "),"] or a number. Got: ").concat(C)),oJ(p)},uJ=function(p,x,C,L){var O=function(j,H){return L[H](j)};return-eC(p,L.length,function(N){return O(x,N)},function(N){return O(C,N)},x,C)},lJ=function(p,x){var C=null;return x==="median"?C=uQ(p):x==="mean"?C=cQ(p):x==="min"?C=aQ(p):x==="max"?C=oQ(p):C=x,C},hJ=function(p,x,C){for(var L=[],O=0;O<p;O++)x[O*p+O]+C[O*p+O]>0&&L.push(O);return L},iR=function(p,x,C){for(var L=[],O=0;O<p;O++){for(var N=-1,j=-1/0,H=0;H<C.length;H++){var q=C[H];x[O*p+q]>j&&(N=q,j=x[O*p+q])}N>0&&L.push(N)}for(var W=0;W<C.length;W++)L[C[W]]=C[W];return L},fJ=function(p,x,C){for(var L=iR(p,x,C),O=0;O<C.length;O++){for(var N=[],j=0;j<L.length;j++)L[j]===C[O]&&N.push(j);for(var H=-1,q=-1/0,W=0;W<N.length;W++){for(var Z=0,st=0;st<N.length;st++)Z+=x[N[st]*p+N[W]];Z>q&&(H=W,q=Z)}C[O]=N[H]}return L=iR(p,x,C),L},sR=function(p){for(var x=this.cy(),C=this.nodes(),L=cJ(p),O={},N=0;N<C.length;N++)O[C[N].id()]=N;var j,H,q,W,Z,st;j=C.length,H=j*j,q=new Array(H);for(var bt=0;bt<H;bt++)q[bt]=-1/0;for(var pt=0;pt<j;pt++)for(var _t=0;_t<j;_t++)pt!==_t&&(q[pt*j+_t]=uJ(L.distance,C[pt],C[_t],L.attributes));W=lJ(q,L.preference);for(var St=0;St<j;St++)q[St*j+St]=W;Z=new Array(H);for(var Et=0;Et<H;Et++)Z[Et]=0;st=new Array(H);for(var Nt=0;Nt<H;Nt++)st[Nt]=0;for(var Pt=new Array(j),qt=new Array(j),re=new Array(j),ee=0;ee<j;ee++)Pt[ee]=0,qt[ee]=0,re[ee]=0;for(var Ut=new Array(j*L.minIterations),de=0;de<Ut.length;de++)Ut[de]=0;var Yt;for(Yt=0;Yt<L.maxIterations;Yt++){for(var Ee=0;Ee<j;Ee++){for(var Te=-1/0,ie=-1/0,ze=-1,me=0,yn=0;yn<j;yn++)Pt[yn]=Z[Ee*j+yn],me=st[Ee*j+yn]+q[Ee*j+yn],me>=Te?(ie=Te,Te=me,ze=yn):me>ie&&(ie=me);for(var nn=0;nn<j;nn++)Z[Ee*j+nn]=(1-L.damping)*(q[Ee*j+nn]-Te)+L.damping*Pt[nn];Z[Ee*j+ze]=(1-L.damping)*(q[Ee*j+ze]-ie)+L.damping*Pt[ze]}for(var qe=0;qe<j;qe++){for(var Tn=0,Xn=0;Xn<j;Xn++)Pt[Xn]=st[Xn*j+qe],qt[Xn]=Math.max(0,Z[Xn*j+qe]),Tn+=qt[Xn];Tn-=qt[qe],qt[qe]=Z[qe*j+qe],Tn+=qt[qe];for(var lr=0;lr<j;lr++)st[lr*j+qe]=(1-L.damping)*Math.min(0,Tn-qt[lr])+L.damping*Pt[lr];st[qe*j+qe]=(1-L.damping)*(Tn-qt[qe])+L.damping*Pt[qe]}for(var Sn=0,or=0;or<j;or++){var pr=st[or*j+or]+Z[or*j+or]>0?1:0;Ut[Yt%L.minIterations*j+or]=pr,Sn+=pr}if(Sn>0&&(Yt>=L.minIterations-1||Yt==L.maxIterations-1)){for(var kr=0,wr=0;wr<j;wr++){re[wr]=0;for(var Cr=0;Cr<L.minIterations;Cr++)re[wr]+=Ut[Cr*j+wr];(re[wr]===0||re[wr]===L.minIterations)&&kr++}if(kr===j)break}}for(var $n=hJ(j,Z,st),cr=fJ(j,q,$n),mr={},Sr=0;Sr<$n.length;Sr++)mr[$n[Sr]]=[];for(var gi=0;gi<C.length;gi++){var ss=O[C[gi].id()],na=cr[ss];na!=null&&mr[na].push(C[gi])}for(var vi=new Array($n.length),si=0;si<$n.length;si++)vi[si]=x.collection(mr[$n[si]]);return vi},dJ={affinityPropagation:sR,ap:sR},gJ=p1({root:void 0,directed:!1}),pJ={hierholzer:function(p){if(!it(p)){var x=arguments;p={root:x[0],directed:x[1]}}var C=gJ(p),L=C.root,O=C.directed,N=this,j=!1,H,q,W;L&&(W=mt(L)?this.filter(L)[0].id():L[0].id());var Z={},st={};O?N.forEach(function(Nt){var Pt=Nt.id();if(Nt.isNode()){var qt=Nt.indegree(!0),re=Nt.outdegree(!0),ee=qt-re,Ut=re-qt;ee==1?H?j=!0:H=Pt:Ut==1?q?j=!0:q=Pt:(Ut>1||ee>1)&&(j=!0),Z[Pt]=[],Nt.outgoers().forEach(function(de){de.isEdge()&&Z[Pt].push(de.id())})}else st[Pt]=[void 0,Nt.target().id()]}):N.forEach(function(Nt){var Pt=Nt.id();if(Nt.isNode()){var qt=Nt.degree(!0);qt%2&&(H?q?j=!0:q=Pt:H=Pt),Z[Pt]=[],Nt.connectedEdges().forEach(function(re){return Z[Pt].push(re.id())})}else st[Pt]=[Nt.source().id(),Nt.target().id()]});var bt={found:!1,trail:void 0};if(j)return bt;if(q&&H)if(O){if(W&&q!=W)return bt;W=q}else{if(W&&q!=W&&H!=W)return bt;W||(W=q)}else W||(W=N[0].id());var pt=function(Pt){for(var qt=Pt,re=[Pt],ee,Ut,de;Z[qt].length;)ee=Z[qt].shift(),Ut=st[ee][0],de=st[ee][1],qt!=de?(Z[de]=Z[de].filter(function(Yt){return Yt!=ee}),qt=de):!O&&qt!=Ut&&(Z[Ut]=Z[Ut].filter(function(Yt){return Yt!=ee}),qt=Ut),re.unshift(ee),re.unshift(qt);return re},_t=[],St=[];for(St=pt(W);St.length!=1;)Z[St[0]].length==0?(_t.unshift(N.getElementById(St.shift())),_t.unshift(N.getElementById(St.shift()))):St=pt(St.shift()).concat(St);_t.unshift(N.getElementById(St.shift()));for(var Et in Z)if(Z[Et].length)return bt;return bt.found=!0,bt.trail=this.spawn(_t,!0),bt}},iC=function(){var p=this,x={},C=0,L=0,O=[],N=[],j={},H=function(st,bt){for(var pt=N.length-1,_t=[],St=p.spawn();N[pt].x!=st||N[pt].y!=bt;)_t.push(N.pop().edge),pt--;_t.push(N.pop().edge),_t.forEach(function(Et){var Nt=Et.connectedNodes().intersection(p);St.merge(Et),Nt.forEach(function(Pt){var qt=Pt.id(),re=Pt.connectedEdges().intersection(p);St.merge(Pt),x[qt].cutVertex?St.merge(re.filter(function(ee){return ee.isLoop()})):St.merge(re)})}),O.push(St)},q=function Z(st,bt,pt){st===pt&&(L+=1),x[bt]={id:C,low:C++,cutVertex:!1};var _t=p.getElementById(bt).connectedEdges().intersection(p);if(_t.size()===0)O.push(p.spawn(p.getElementById(bt)));else{var St,Et,Nt,Pt;_t.forEach(function(qt){St=qt.source().id(),Et=qt.target().id(),Nt=St===bt?Et:St,Nt!==pt&&(Pt=qt.id(),j[Pt]||(j[Pt]=!0,N.push({x:bt,y:Nt,edge:qt})),Nt in x?x[bt].low=Math.min(x[bt].low,x[Nt].id):(Z(st,Nt,bt),x[bt].low=Math.min(x[bt].low,x[Nt].low),x[bt].id<=x[Nt].low&&(x[bt].cutVertex=!0,H(bt,Nt))))})}};p.forEach(function(Z){if(Z.isNode()){var st=Z.id();st in x||(L=0,q(st,st),x[st].cutVertex=L>1)}});var W=Object.keys(x).filter(function(Z){return x[Z].cutVertex}).map(function(Z){return p.getElementById(Z)});return{cut:p.spawn(W),components:O}},bJ={hopcroftTarjanBiconnected:iC,htbc:iC,htb:iC,hopcroftTarjanBiconnectedComponents:iC},sC=function(){var p=this,x={},C=0,L=[],O=[],N=p.spawn(p),j=function H(q){O.push(q),x[q]={index:C,low:C++,explored:!1};var W=p.getElementById(q).connectedEdges().intersection(p);if(W.forEach(function(_t){var St=_t.target().id();St!==q&&(St in x||H(St),x[St].explored||(x[q].low=Math.min(x[q].low,x[St].low)))}),x[q].index===x[q].low){for(var Z=p.spawn();;){var st=O.pop();if(Z.merge(p.getElementById(st)),x[st].low=x[q].index,x[st].explored=!0,st===q)break}var bt=Z.edgesWith(Z),pt=Z.merge(bt);L.push(pt),N=N.difference(pt)}};return p.forEach(function(H){if(H.isNode()){var q=H.id();q in x||j(q)}}),{cut:N,components:L}},wJ={tarjanStronglyConnected:sC,tsc:sC,tscc:sC,tarjanStronglyConnectedComponents:sC},aR={};[O8,WX,YX,QX,ZX,eQ,iQ,LQ,Jx,Zx,UD,zQ,tJ,aJ,dJ,pJ,bJ,wJ].forEach(function(y){we(aR,y)});/*!
1544 */var K8=function(p,x){this.recycle(p,x)};function W8(){return!1}function Y8(){return!0}K8.prototype={instanceString:function(){return"event"},recycle:function(p,x){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=W8,p!=null&&p.preventDefault?(this.type=p.type,this.isDefaultPrevented=p.defaultPrevented?Y8:W8):p!=null&&p.type?x=p:this.type=p,x!=null&&(this.originalEvent=x.originalEvent,this.type=x.type!=null?x.type:this.type,this.cy=x.cy,this.target=x.target,this.position=x.position,this.renderedPosition=x.renderedPosition,this.namespace=x.namespace,this.layout=x.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var C=this.position,L=this.cy.zoom(),O=this.cy.pan();this.renderedPosition={x:C.x*L+O.x,y:C.y*L+O.y}}this.timeStamp=p&&p.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Y8;var p=this.originalEvent;p&&p.preventDefault&&p.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Y8;var p=this.originalEvent;p&&p.stopPropagation&&p.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Y8,this.stopPropagation()},isDefaultPrevented:W8,isPropagationStopped:W8,isImmediatePropagationStopped:W8};var GR=/^([^.]+)(\.(?:[^.]+))?$/,Ytt=".*",KR={qualifierCompare:function(p,x){return p===x},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(p){return p},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},WR=Object.keys(KR),Xtt={};function dC(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xtt,p=arguments.length>1?arguments[1]:void 0,x=0;x<WR.length;x++){var C=WR[x];this[C]=y[C]||KR[C]}this.context=p||this.context,this.listeners=[],this.emitting=0}var pb=dC.prototype,YR=function(p,x,C,L,O,N,j){ct(L)&&(O=L,L=null),j&&(N==null?N=j:N=we({},N,j));for(var H=rt(C)?C:C.split(/\s+/),q=0;q<H.length;q++){var W=H[q];if(!Ft(W)){var Z=W.match(GR);if(Z){var st=Z[1],bt=Z[2]?Z[2]:null,pt=x(p,W,st,bt,L,O,N);if(pt===!1)break}}}},XR=function(p,x){return p.addEventFields(p.context,x),new K8(x.type,x)},gC=function(p,x,C){if(xt(C)){x(p,C);return}else if(it(C)){x(p,XR(p,C));return}for(var L=rt(C)?C:C.split(/\s+/),O=0;O<L.length;O++){var N=L[O];if(!Ft(N)){var j=N.match(GR);if(j){var H=j[1],q=j[2]?j[2]:null,W=XR(p,{type:H,namespace:q,target:p.context});x(p,W)}}}};pb.on=pb.addListener=function(y,p,x,C,L){return YR(this,function(O,N,j,H,q,W,Z){ct(W)&&O.listeners.push({event:N,callback:W,type:j,namespace:H,qualifier:q,conf:Z})},y,p,x,C,L),this},pb.one=function(y,p,x,C){return this.on(y,p,x,C,{one:!0})},pb.removeListener=pb.off=function(y,p,x,C){var L=this;this.emitting!==0&&(this.listeners=zX(this.listeners));for(var O=this.listeners,N=function(q){var W=O[q];YR(L,function(Z,st,bt,pt,_t,St){if((W.type===bt||y==="*")&&(!pt&&W.namespace!==".*"||W.namespace===pt)&&(!_t||Z.qualifierCompare(W.qualifier,_t))&&(!St||W.callback===St))return O.splice(q,1),!1},y,p,x,C)},j=O.length-1;j>=0;j--)N(j);return this},pb.removeAllListeners=function(){return this.removeListener("*")},pb.emit=pb.trigger=function(y,p,x){var C=this.listeners,L=C.length;return this.emitting++,rt(p)||(p=[p]),gC(this,function(O,N){x!=null&&(C=[{event:N.event,type:N.type,namespace:N.namespace,callback:x}],L=C.length);for(var j=function(W){var Z=C[W];if(Z.type===N.type&&(!Z.namespace||Z.namespace===N.namespace||Z.namespace===Ytt)&&O.eventMatches(O.context,Z,N)){var st=[N];p!=null&&OB(st,p),O.beforeEmit(O.context,Z,N),Z.conf&&Z.conf.one&&(O.listeners=O.listeners.filter(function(_t){return _t!==Z}));var bt=O.callbackContext(O.context,Z,N),pt=Z.callback.apply(bt,st);O.afterEmit(O.context,Z,N),pt===!1&&(N.stopPropagation(),N.preventDefault())}},H=0;H<L;H++)j(H);O.bubble(O.context)&&!N.isPropagationStopped()&&O.parent(O.context).emit(N,p)},y),this.emitting--,this};var Qtt={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,C){var L=x.qualifier;return L!=null?p!==C.target&&V(C.target)&&L.matches(C.target):!0},addEventFields:function(p,x){x.cy=p.cy(),x.target=p},callbackContext:function(p,x,C){return x.qualifier!=null?C.target:p},beforeEmit:function(p,x){x.conf&&x.conf.once&&x.conf.onceCollection.removeListener(x.event,x.qualifier,x.callback)},bubble:function(){return!0},parent:function(p){return p.isChild()?p.parent():p.cy()}},E4=function(p){return mt(p)?new ly(p):p},QR={createEmitter:function(){for(var p=0;p<this.length;p++){var x=this[p],C=x._private;C.emitter||(C.emitter=new dC(Qtt,x))}return this},emitter:function(){return this._private.emitter},on:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().on(p,L,C)}return this},removeListener:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().removeListener(p,L,C)}return this},removeAllListeners:function(){for(var p=0;p<this.length;p++){var x=this[p];x.emitter().removeAllListeners()}return this},one:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().one(p,L,C)}return this},once:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().on(p,L,C,{once:!0,onceCollection:this})}},emit:function(p,x){for(var C=0;C<this.length;C++){var L=this[C];L.emitter().emit(p,x)}return this},emitAndNotify:function(p,x){if(this.length!==0)return this.cy().notify(p,this),this.emit(p,x),this}};Kc.eventAliasesOn(QR);var aM={nodes:function(p){return this.filter(function(x){return x.isNode()}).filter(p)},edges:function(p){return this.filter(function(x){return x.isEdge()}).filter(p)},byGroup:function(){for(var p=this.spawn(),x=this.spawn(),C=0;C<this.length;C++){var L=this[C];L.isNode()?p.push(L):x.push(L)}return{nodes:p,edges:x}},filter:function(p,x){if(p===void 0)return this;if(mt(p)||yt(p))return new ly(p).filter(this);if(ct(p)){for(var C=this.spawn(),L=this,O=0;O<L.length;O++){var N=L[O],j=x?p.apply(x,[N,O,L]):p(N,O,L);j&&C.push(N)}return C}return this.spawn()},not:function(p){if(p){mt(p)&&(p=this.filter(p));for(var x=this.spawn(),C=0;C<this.length;C++){var L=this[C],O=p.has(L);O||x.push(L)}return x}else return this},absoluteComplement:function(){var p=this.cy();return p.mutableElements().not(this)},intersect:function(p){if(mt(p)){var x=p;return this.filter(x)}for(var C=this.spawn(),L=this,O=p,N=this.length<p.length,j=N?L:O,H=N?O:L,q=0;q<j.length;q++){var W=j[q];H.has(W)&&C.push(W)}return C},xor:function(p){var x=this._private.cy;mt(p)&&(p=x.$(p));var C=this.spawn(),L=this,O=p,N=function(H,q){for(var W=0;W<H.length;W++){var Z=H[W],st=Z._private.data.id,bt=q.hasElementWithId(st);bt||C.push(Z)}};return N(L,O),N(O,L),C},diff:function(p){var x=this._private.cy;mt(p)&&(p=x.$(p));var C=this.spawn(),L=this.spawn(),O=this.spawn(),N=this,j=p,H=function(W,Z,st){for(var bt=0;bt<W.length;bt++){var pt=W[bt],_t=pt._private.data.id,St=Z.hasElementWithId(_t);St?O.merge(pt):st.push(pt)}};return H(N,j,C),H(j,N,L),{left:C,right:L,both:O}},add:function(p){var x=this._private.cy;if(!p)return this;if(mt(p)){var C=p;p=x.mutableElements().filter(C)}for(var L=this.spawnSelf(),O=0;O<p.length;O++){var N=p[O],j=!this.has(N);j&&L.push(N)}return L},merge:function(p){var x=this._private,C=x.cy;if(!p)return this;if(p&&mt(p)){var L=p;p=C.mutableElements().filter(L)}for(var O=x.map,N=0;N<p.length;N++){var j=p[N],H=j._private.data.id,q=!O.has(H);if(q){var W=this.length++;this[W]=j,O.set(H,{ele:j,index:W})}}return this},unmergeAt:function(p){var x=this[p],C=x.id(),L=this._private,O=L.map;this[p]=void 0,O.delete(C);var N=p===this.length-1;if(this.length>1&&!N){var j=this.length-1,H=this[j],q=H._private.data.id;this[j]=void 0,this[p]=H,O.set(q,{ele:H,index:p})}return this.length--,this},unmergeOne:function(p){p=p[0];var x=this._private,C=p._private.data.id,L=x.map,O=L.get(C);if(!O)return this;var N=O.index;return this.unmergeAt(N),this},unmerge:function(p){var x=this._private.cy;if(!p)return this;if(p&&mt(p)){var C=p;p=x.mutableElements().filter(C)}for(var L=0;L<p.length;L++)this.unmergeOne(p[L]);return this},unmergeBy:function(p){for(var x=this.length-1;x>=0;x--){var C=this[x];p(C)&&this.unmergeAt(x)}return this},map:function(p,x){for(var C=[],L=this,O=0;O<L.length;O++){var N=L[O],j=x?p.apply(x,[N,O,L]):p(N,O,L);C.push(j)}return C},reduce:function(p,x){for(var C=x,L=this,O=0;O<L.length;O++)C=p(C,L[O],O,L);return C},max:function(p,x){for(var C=-1/0,L,O=this,N=0;N<O.length;N++){var j=O[N],H=x?p.apply(x,[j,N,O]):p(j,N,O);H>C&&(C=H,L=j)}return{value:C,ele:L}},min:function(p,x){for(var C=1/0,L,O=this,N=0;N<O.length;N++){var j=O[N],H=x?p.apply(x,[j,N,O]):p(j,N,O);H<C&&(C=H,L=j)}return{value:C,ele:L}}},Oc=aM;Oc.u=Oc["|"]=Oc["+"]=Oc.union=Oc.or=Oc.add,Oc["\\"]=Oc["!"]=Oc["-"]=Oc.difference=Oc.relativeComplement=Oc.subtract=Oc.not,Oc.n=Oc["&"]=Oc["."]=Oc.and=Oc.intersection=Oc.intersect,Oc["^"]=Oc["(+)"]=Oc["(-)"]=Oc.symmetricDifference=Oc.symdiff=Oc.xor,Oc.fnFilter=Oc.filterFn=Oc.stdFilter=Oc.filter,Oc.complement=Oc.abscomp=Oc.absoluteComplement;var oM={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 p=this[0];if(p)return p._private.group}},cM=function(p,x){var C=p.cy(),L=C.hasCompoundNodes();function O(W){var Z=W.pstyle("z-compound-depth");return Z.value==="auto"?L?W.zDepth():0:Z.value==="bottom"?-1:Z.value==="top"?Kx:0}var N=O(p)-O(x);if(N!==0)return N;function j(W){var Z=W.pstyle("z-index-compare");return Z.value==="auto"&&W.isNode()?1:0}var H=j(p)-j(x);if(H!==0)return H;var q=p.pstyle("z-index").value-x.pstyle("z-index").value;return q!==0?q:p.poolIndex()-x.poolIndex()},pC={forEach:function(p,x){if(ct(p))for(var C=this.length,L=0;L<C;L++){var O=this[L],N=x?p.apply(x,[O,L,this]):p(O,L,this);if(N===!1)break}return this},toArray:function(){for(var p=[],x=0;x<this.length;x++)p.push(this[x]);return p},slice:function(p,x){var C=[],L=this.length;x==null&&(x=L),p==null&&(p=0),p<0&&(p=L+p),x<0&&(x=L+x);for(var O=p;O>=0&&O<x&&O<L;O++)C.push(this[O]);return this.spawn(C)},size:function(){return this.length},eq:function(p){return this[p]||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(p){if(!ct(p))return this;var x=this.toArray().sort(p);return this.spawn(x)},sortByZIndex:function(){return this.sort(cM)},zDepth:function(){var p=this[0];if(p){var x=p._private,C=x.group;if(C==="nodes"){var L=x.data.parent?p.parents().size():0;return p.isParent()?L:Kx-1}else{var O=x.source,N=x.target,j=O.zDepth(),H=N.zDepth();return Math.max(j,H,0)}}}};pC.each=pC.forEach;var Jtt=function(){var p="undefined",x=(typeof Symbol>"u"?"undefined":f(Symbol))!=p&&f(Symbol.iterator)!=p;x&&(pC[Symbol.iterator]=function(){var C=this,L={value:void 0,done:!1},O=0,N=this.length;return b({next:function(){return O<N?L.value=C[O++]:(L.value=void 0,L.done=!0),L}},Symbol.iterator,function(){return this})})};Jtt();var Ztt=p1({nodeDimensionsIncludeLabels:!1}),bC={layoutDimensions:function(p){p=Ztt(p);var x;if(!this.takesUpSpace())x={w:0,h:0};else if(p.nodeDimensionsIncludeLabels){var C=this.boundingBox();x={w:C.w,h:C.h}}else x={w:this.outerWidth(),h:this.outerHeight()};return(x.w===0||x.h===0)&&(x.w=x.h=1),x},layoutPositions:function(p,x,C){var L=this.nodes().filter(function(re){return!re.isParent()}),O=this.cy(),N=x.eles,j=function(ee){return ee.id()},H=Mt(C,j);p.emit({type:"layoutstart",layout:p}),p.animations=[];var q=function(ee,Ut,de){var Yt={x:Ut.x1+Ut.w/2,y:Ut.y1+Ut.h/2},Ee={x:(de.x-Yt.x)*ee,y:(de.y-Yt.y)*ee};return{x:Yt.x+Ee.x,y:Yt.y+Ee.y}},W=x.spacingFactor&&x.spacingFactor!==1,Z=function(){if(!W)return null;for(var ee=v0(),Ut=0;Ut<L.length;Ut++){var de=L[Ut],Yt=H(de,Ut);bQ(ee,Yt.x,Yt.y)}return ee},st=Z(),bt=Mt(function(re,ee){var Ut=H(re,ee);if(W){var de=Math.abs(x.spacingFactor);Ut=q(de,st,Ut)}return x.transform!=null&&(Ut=x.transform(re,Ut)),Ut},j);if(x.animate){for(var pt=0;pt<L.length;pt++){var _t=L[pt],St=bt(_t,pt),Et=x.animateFilter==null||x.animateFilter(_t,pt);if(Et){var Nt=_t.animation({position:St,duration:x.animationDuration,easing:x.animationEasing});p.animations.push(Nt)}else _t.position(St)}if(x.fit){var Pt=O.animation({fit:{boundingBox:N.boundingBoxAt(bt),padding:x.padding},duration:x.animationDuration,easing:x.animationEasing});p.animations.push(Pt)}else if(x.zoom!==void 0&&x.pan!==void 0){var qt=O.animation({zoom:x.zoom,pan:x.pan,duration:x.animationDuration,easing:x.animationEasing});p.animations.push(qt)}p.animations.forEach(function(re){return re.play()}),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),e6.all(p.animations.map(function(re){return re.promise()})).then(function(){p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p})})}else L.positions(bt),x.fit&&O.fit(x.eles,x.padding),x.zoom!=null&&O.zoom(x.zoom),x.pan&&O.pan(x.pan),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p});return this},layout:function(p){var x=this.cy();return x.makeLayout(we({},p,{eles:this}))}};bC.createLayout=bC.makeLayout=bC.layout;function tet(y,p,x){var C=x._private,L=C.styleCache=C.styleCache||[],O;return(O=L[y])!=null||(O=L[y]=p(x)),O}function wC(y,p){return y=Nd(y),function(C){return tet(y,p,C)}}function mC(y,p){y=Nd(y);var x=function(L){return p.call(L)};return function(){var L=this[0];if(L)return tet(y,x,L)}}var b1={recalculateRenderedStyle:function(p){var x=this.cy(),C=x.renderer(),L=x.styleEnabled();return C&&L&&C.recalculateRenderedStyle(this,p),this},dirtyStyleCache:function(){var p=this.cy(),x=function(O){return O._private.styleCache=null};if(p.hasCompoundNodes()){var C;C=this.spawnSelf().merge(this.descendants()).merge(this.parents()),C.merge(C.connectedEdges()),C.forEach(x)}else this.forEach(function(L){x(L),L.connectedEdges().forEach(x)});return this},updateStyle:function(p){var x=this._private.cy;if(!x.styleEnabled())return this;if(x.batching()){var C=x._private.batchStyleEles;return C.merge(this),this}var L=x.hasCompoundNodes(),O=this;p=!!(p||p===void 0),L&&(O=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var N=O;return p?N.emitAndNotify("style"):N.emit("style"),O.forEach(function(j){return j._private.styleDirty=!0}),this},cleanStyle:function(){var p=this.cy();if(p.styleEnabled())for(var x=0;x<this.length;x++){var C=this[x];C._private.styleDirty&&(C._private.styleDirty=!1,p.style().apply(C))}},parsedStyle:function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=this[0],L=C.cy();if(L.styleEnabled()&&C){this.cleanStyle();var O=C._private.style[p];return O??(x?L.style().getDefaultProperty(p):null)}},numericStyle:function(p){var x=this[0];if(x.cy().styleEnabled()&&x){var C=x.pstyle(p);return C.pfValue!==void 0?C.pfValue:C.value}},numericStyleUnits:function(p){var x=this[0];if(x.cy().styleEnabled()&&x)return x.pstyle(p).units},renderedStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var C=this[0];if(C)return x.style().getRenderedStyle(C,p)},style:function(p,x){var C=this.cy();if(!C.styleEnabled())return this;var L=!1,O=C.style();if(it(p)){var N=p;O.applyBypass(this,N,L),this.emitAndNotify("style")}else if(mt(p))if(x===void 0){var j=this[0];return j?O.getStylePropertyValue(j,p):void 0}else O.applyBypass(this,p,x,L),this.emitAndNotify("style");else if(p===void 0){var H=this[0];return H?O.getRawStyle(H):void 0}return this},removeStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var C=!1,L=x.style(),O=this;if(p===void 0)for(var N=0;N<O.length;N++){var j=O[N];L.removeAllBypasses(j,C)}else{p=p.split(/\s+/);for(var H=0;H<O.length;H++){var q=O[H];L.removeBypasses(q,p,C)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var p=this.cy();if(!p.styleEnabled())return 1;var x=p.hasCompoundNodes(),C=this[0];if(C){var L=C._private,O=C.pstyle("opacity").value;if(!x)return O;var N=L.data.parent?C.parents():null;if(N)for(var j=0;j<N.length;j++){var H=N[j],q=H.pstyle("opacity").value;O=q*O}return O}},transparent:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0],C=x.cy().hasCompoundNodes();if(x)return C?x.effectiveOpacity()===0:x.pstyle("opacity").value===0},backgrounding:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0];return!!x._private.backgrounding}};function uM(y,p){var x=y._private,C=x.data.parent?y.parents():null;if(C)for(var L=0;L<C.length;L++){var O=C[L];if(!p(O))return!1}return!0}function lM(y){var p=y.ok,x=y.edgeOkViaNode||y.ok,C=y.parentOk||y.ok;return function(){var L=this.cy();if(!L.styleEnabled())return!0;var O=this[0],N=L.hasCompoundNodes();if(O){var j=O._private;if(!p(O))return!1;if(O.isNode())return!N||uM(O,C);var H=j.source,q=j.target;return x(H)&&(!N||uM(H,x))&&(H===q||x(q)&&(!N||uM(q,x)))}}}var u6=wC("eleTakesUpSpace",function(y){return y.pstyle("display").value==="element"&&y.width()!==0&&(y.isNode()?y.height()!==0:!0)});b1.takesUpSpace=mC("takesUpSpace",lM({ok:u6}));var eet=wC("eleInteractive",function(y){return y.pstyle("events").value==="yes"&&y.pstyle("visibility").value==="visible"&&u6(y)}),net=wC("parentInteractive",function(y){return y.pstyle("visibility").value==="visible"&&u6(y)});b1.interactive=mC("interactive",lM({ok:eet,parentOk:net,edgeOkViaNode:u6})),b1.noninteractive=function(){var y=this[0];if(y)return!y.interactive()};var ret=wC("eleVisible",function(y){return y.pstyle("visibility").value==="visible"&&y.pstyle("opacity").pfValue!==0&&u6(y)}),iet=u6;b1.visible=mC("visible",lM({ok:ret,edgeOkViaNode:iet})),b1.hidden=function(){var y=this[0];if(y)return!y.visible()},b1.isBundledBezier=mC("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),b1.bypass=b1.css=b1.style,b1.renderedCss=b1.renderedStyle,b1.removeBypass=b1.removeCss=b1.removeStyle,b1.pstyle=b1.parsedStyle;var x0={};function vC(y){return function(){var p=arguments,x=[];if(p.length===2){var C=p[0],L=p[1];this.on(y.event,C,L)}else if(p.length===1&&ct(p[0])){var O=p[0];this.on(y.event,O)}else if(p.length===0||p.length===1&&rt(p[0])){for(var N=p.length===1?p[0]:null,j=0;j<this.length;j++){var H=this[j],q=!y.ableField||H._private[y.ableField],W=H._private[y.field]!=y.value;if(y.overrideAble){var Z=y.overrideAble(H);if(Z!==void 0&&(q=Z,!Z))return this}q&&(H._private[y.field]=y.value,W&&x.push(H))}var st=this.spawn(x);st.updateStyle(),st.emit(y.event),N&&st.emit(N)}return this}}function l6(y){x0[y.field]=function(){var p=this[0];if(p){if(y.overrideField){var x=y.overrideField(p);if(x!==void 0)return x}return p._private[y.field]}},x0[y.on]=vC({event:y.on,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!0}),x0[y.off]=vC({event:y.off,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!1})}l6({field:"locked",overrideField:function(p){return p.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),l6({field:"grabbable",overrideField:function(p){return p.cy().autoungrabify()||p.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),l6({field:"selected",ableField:"selectable",overrideAble:function(p){return p.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),l6({field:"selectable",overrideField:function(p){return p.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),x0.deselect=x0.unselect,x0.grabbed=function(){var y=this[0];if(y)return y._private.grabbed},l6({field:"active",on:"activate",off:"unactivate"}),l6({field:"pannable",on:"panify",off:"unpanify"}),x0.inactive=function(){var y=this[0];if(y)return!y._private.active};var K1={},JR=function(p){return function(C){for(var L=this,O=[],N=0;N<L.length;N++){var j=L[N];if(j.isNode()){for(var H=!1,q=j.connectedEdges(),W=0;W<q.length;W++){var Z=q[W],st=Z.source(),bt=Z.target();if(p.noIncomingEdges&&bt===j&&st!==j||p.noOutgoingEdges&&st===j&&bt!==j){H=!0;break}}H||O.push(j)}}return this.spawn(O,!0).filter(C)}},ZR=function(p){return function(x){for(var C=this,L=[],O=0;O<C.length;O++){var N=C[O];if(N.isNode())for(var j=N.connectedEdges(),H=0;H<j.length;H++){var q=j[H],W=q.source(),Z=q.target();p.outgoing&&W===N?(L.push(q),L.push(Z)):p.incoming&&Z===N&&(L.push(q),L.push(W))}}return this.spawn(L,!0).filter(x)}},tj=function(p){return function(x){for(var C=this,L=[],O={};;){var N=p.outgoing?C.outgoers():C.incomers();if(N.length===0)break;for(var j=!1,H=0;H<N.length;H++){var q=N[H],W=q.id();O[W]||(O[W]=!0,L.push(q),j=!0)}if(!j)break;C=N}return this.spawn(L,!0).filter(x)}};K1.clearTraversalCache=function(){for(var y=0;y<this.length;y++)this[y]._private.traversalCache=null},we(K1,{roots:JR({noIncomingEdges:!0}),leaves:JR({noOutgoingEdges:!0}),outgoers:ap(ZR({outgoing:!0}),"outgoers"),successors:tj({outgoing:!0}),incomers:ap(ZR({incoming:!0}),"incomers"),predecessors:tj({incoming:!0})}),we(K1,{neighborhood:ap(function(y){for(var p=[],x=this.nodes(),C=0;C<x.length;C++)for(var L=x[C],O=L.connectedEdges(),N=0;N<O.length;N++){var j=O[N],H=j.source(),q=j.target(),W=L===H?q:H;W.length>0&&p.push(W[0]),p.push(j[0])}return this.spawn(p,!0).filter(y)},"neighborhood"),closedNeighborhood:function(p){return this.neighborhood().add(this).filter(p)},openNeighborhood:function(p){return this.neighborhood(p)}}),K1.neighbourhood=K1.neighborhood,K1.closedNeighbourhood=K1.closedNeighborhood,K1.openNeighbourhood=K1.openNeighborhood,we(K1,{source:ap(function(p){var x=this[0],C;return x&&(C=x._private.source||x.cy().collection()),C&&p?C.filter(p):C},"source"),target:ap(function(p){var x=this[0],C;return x&&(C=x._private.target||x.cy().collection()),C&&p?C.filter(p):C},"target"),sources:ej({attr:"source"}),targets:ej({attr:"target"})});function ej(y){return function(x){for(var C=[],L=0;L<this.length;L++){var O=this[L],N=O._private[y.attr];N&&C.push(N)}return this.spawn(C,!0).filter(x)}}we(K1,{edgesWith:ap(nj(),"edgesWith"),edgesTo:ap(nj({thisIsSrc:!0}),"edgesTo")});function nj(y){return function(x){var C=[],L=this._private.cy,O=y||{};mt(x)&&(x=L.$(x));for(var N=0;N<x.length;N++)for(var j=x[N]._private.edges,H=0;H<j.length;H++){var q=j[H],W=q._private.data,Z=this.hasElementWithId(W.source)&&x.hasElementWithId(W.target),st=x.hasElementWithId(W.source)&&this.hasElementWithId(W.target),bt=Z||st;bt&&((O.thisIsSrc||O.thisIsTgt)&&(O.thisIsSrc&&!Z||O.thisIsTgt&&!st)||C.push(q))}return this.spawn(C,!0)}}we(K1,{connectedEdges:ap(function(y){for(var p=[],x=this,C=0;C<x.length;C++){var L=x[C];if(L.isNode())for(var O=L._private.edges,N=0;N<O.length;N++){var j=O[N];p.push(j)}}return this.spawn(p,!0).filter(y)},"connectedEdges"),connectedNodes:ap(function(y){for(var p=[],x=this,C=0;C<x.length;C++){var L=x[C];L.isEdge()&&(p.push(L.source()[0]),p.push(L.target()[0]))}return this.spawn(p,!0).filter(y)},"connectedNodes"),parallelEdges:ap(rj(),"parallelEdges"),codirectedEdges:ap(rj({codirected:!0}),"codirectedEdges")});function rj(y){var p={codirected:!1};return y=we({},p,y),function(C){for(var L=[],O=this.edges(),N=y,j=0;j<O.length;j++)for(var H=O[j],q=H._private,W=q.source,Z=W._private.data.id,st=q.data.target,bt=W._private.edges,pt=0;pt<bt.length;pt++){var _t=bt[pt],St=_t._private.data,Et=St.target,Nt=St.source,Pt=Et===st&&Nt===Z,qt=Z===Et&&st===Nt;(N.codirected&&Pt||!N.codirected&&(Pt||qt))&&L.push(_t)}return this.spawn(L,!0).filter(C)}}we(K1,{components:function(p){var x=this,C=x.cy(),L=C.collection(),O=p==null?x.nodes():p.nodes(),N=[];p!=null&&O.empty()&&(O=p.sources());var j=function(W,Z){L.merge(W),O.unmerge(W),Z.merge(W)};if(O.empty())return x.spawn();var H=function(){var W=C.collection();N.push(W);var Z=O[0];j(Z,W),x.bfs({directed:!1,roots:Z,visit:function(bt){return j(bt,W)}}),W.forEach(function(st){st.connectedEdges().forEach(function(bt){x.has(bt)&&W.has(bt.source())&&W.has(bt.target())&&W.merge(bt)})})};do H();while(O.length>0);return N},component:function(){var p=this[0];return p.cy().mutableElements().components(p)[0]}}),K1.componentsOf=K1.components;var w1=function(p,x){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(p===void 0){$l("A collection must have a reference to the core");return}var O=new F2,N=!1;if(!x)x=[];else if(x.length>0&&it(x[0])&&!V(x[0])){N=!0;for(var j=[],H=new Wx,q=0,W=x.length;q<W;q++){var Z=x[q];Z.data==null&&(Z.data={});var st=Z.data;if(st.id==null)st.id=MB();else if(p.hasElementWithId(st.id)||H.has(st.id))continue;var bt=new K9(p,Z,!1);j.push(bt),H.add(st.id)}x=j}this.length=0;for(var pt=0,_t=x.length;pt<_t;pt++){var St=x[pt][0];if(St!=null){var Et=St._private.data.id;(!C||!O.has(Et))&&(C&&O.set(Et,{index:this.length,ele:St}),this[this.length]=St,this.length++)}}this._private={eles:this,cy:p,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(Nt){this.lazyMap=Nt},rebuildMap:function(){for(var Pt=this.lazyMap=new F2,qt=this.eles,re=0;re<qt.length;re++){var ee=qt[re];Pt.set(ee.id(),{index:re,ele:ee})}}},C&&(this._private.map=O),N&&!L&&this.restore()},Bu=K9.prototype=w1.prototype=Object.create(Array.prototype);Bu.instanceString=function(){return"collection"},Bu.spawn=function(y,p){return new w1(this.cy(),y,p)},Bu.spawnSelf=function(){return this.spawn(this)},Bu.cy=function(){return this._private.cy},Bu.renderer=function(){return this._private.cy.renderer()},Bu.element=function(){return this[0]},Bu.collection=function(){return Ot(this)?this:new w1(this._private.cy,[this])},Bu.unique=function(){return new w1(this._private.cy,this,!0)},Bu.hasElementWithId=function(y){return y=""+y,this._private.map.has(y)},Bu.getElementById=function(y){y=""+y;var p=this._private.cy,x=this._private.map.get(y);return x?x.ele:new w1(p)},Bu.$id=Bu.getElementById,Bu.poolIndex=function(){var y=this._private.cy,p=y._private.elements,x=this[0]._private.data.id;return p._private.map.get(x).index},Bu.indexOf=function(y){var p=y[0]._private.data.id;return this._private.map.get(p).index},Bu.indexOfId=function(y){return y=""+y,this._private.map.get(y).index},Bu.json=function(y){var p=this.element(),x=this.cy();if(p==null&&y)return this;if(p!=null){var C=p._private;if(it(y)){if(x.startBatch(),y.data){p.data(y.data);var L=C.data;if(p.isEdge()){var O=!1,N={},j=y.data.source,H=y.data.target;j!=null&&j!=L.source&&(N.source=""+j,O=!0),H!=null&&H!=L.target&&(N.target=""+H,O=!0),O&&(p=p.move(N))}else{var q="parent"in y.data,W=y.data.parent;q&&(W!=null||L.parent!=null)&&W!=L.parent&&(W===void 0&&(W=null),W!=null&&(W=""+W),p=p.move({parent:W}))}}y.position&&p.position(y.position);var Z=function(_t,St,Et){var Nt=y[_t];Nt!=null&&Nt!==C[_t]&&(Nt?p[St]():p[Et]())};return Z("removed","remove","restore"),Z("selected","select","unselect"),Z("selectable","selectify","unselectify"),Z("locked","lock","unlock"),Z("grabbable","grabify","ungrabify"),Z("pannable","panify","unpanify"),y.classes!=null&&p.classes(y.classes),x.endBatch(),this}else if(y===void 0){var st={data:P2(C.data),position:P2(C.position),group:C.group,removed:C.removed,selected:C.selected,selectable:C.selectable,locked:C.locked,grabbable:C.grabbable,pannable:C.pannable,classes:null};st.classes="";var bt=0;return C.classes.forEach(function(pt){return st.classes+=bt++===0?pt:" "+pt}),st}}},Bu.jsons=function(){for(var y=[],p=0;p<this.length;p++){var x=this[p],C=x.json();y.push(C)}return y},Bu.clone=function(){for(var y=this.cy(),p=[],x=0;x<this.length;x++){var C=this[x],L=C.json(),O=new K9(y,L,!1);p.push(O)}return new w1(y,p)},Bu.copy=Bu.clone,Bu.restore=function(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,C=x.cy(),L=C._private,O=[],N=[],j,H=0,q=x.length;H<q;H++){var W=x[H];p&&!W.removed()||(W.isNode()?O.push(W):N.push(W))}j=O.concat(N);var Z,st=function(){j.splice(Z,1),Z--};for(Z=0;Z<j.length;Z++){var bt=j[Z],pt=bt._private,_t=pt.data;if(bt.clearTraversalCache(),!(!p&&!pt.removed)){if(_t.id===void 0)_t.id=MB();else if(Q(_t.id))_t.id=""+_t.id;else if(Ft(_t.id)||!mt(_t.id)){$l("Can not create element with invalid string ID `"+_t.id+"`"),st();continue}else if(C.hasElementWithId(_t.id)){$l("Can not create second element with ID `"+_t.id+"`"),st();continue}}var St=_t.id;if(bt.isNode()){var Et=pt.position;Et.x==null&&(Et.x=0),Et.y==null&&(Et.y=0)}if(bt.isEdge()){for(var Nt=bt,Pt=["source","target"],qt=Pt.length,re=!1,ee=0;ee<qt;ee++){var Ut=Pt[ee],de=_t[Ut];Q(de)&&(de=_t[Ut]=""+_t[Ut]),de==null||de===""?($l("Can not create edge `"+St+"` with unspecified "+Ut),re=!0):C.hasElementWithId(de)||($l("Can not create edge `"+St+"` with nonexistant "+Ut+" `"+de+"`"),re=!0)}if(re){st();continue}var Yt=C.getElementById(_t.source),Ee=C.getElementById(_t.target);Yt.same(Ee)?Yt._private.edges.push(Nt):(Yt._private.edges.push(Nt),Ee._private.edges.push(Nt)),Nt._private.source=Yt,Nt._private.target=Ee}pt.map=new F2,pt.map.set(St,{ele:bt,index:0}),pt.removed=!1,p&&C.addToPool(bt)}for(var Te=0;Te<O.length;Te++){var ie=O[Te],ze=ie._private.data;Q(ze.parent)&&(ze.parent=""+ze.parent);var me=ze.parent,yn=me!=null;if(yn||ie._private.parent){var nn=ie._private.parent?C.collection().merge(ie._private.parent):C.getElementById(me);if(nn.empty())ze.parent=void 0;else if(nn[0].removed())Gc("Node added with missing parent, reference to parent removed"),ze.parent=void 0,ie._private.parent=null;else{for(var qe=!1,Tn=nn;!Tn.empty();){if(ie.same(Tn)){qe=!0,ze.parent=void 0;break}Tn=Tn.parent()}qe||(nn[0]._private.children.push(ie),ie._private.parent=nn[0],L.hasCompoundNodes=!0)}}}if(j.length>0){for(var Xn=j.length===x.length?x:new w1(C,j),lr=0;lr<Xn.length;lr++){var Sn=Xn[lr];Sn.isNode()||(Sn.parallelEdges().clearTraversalCache(),Sn.source().clearTraversalCache(),Sn.target().clearTraversalCache())}var or;L.hasCompoundNodes?or=C.collection().merge(Xn).merge(Xn.connectedNodes()).merge(Xn.parent()):or=Xn,or.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(y),y?Xn.emitAndNotify("add"):p&&Xn.emit("add")}return x},Bu.removed=function(){var y=this[0];return y&&y._private.removed},Bu.inside=function(){var y=this[0];return y&&!y._private.removed},Bu.remove=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,C=[],L={},O=x._private.cy;function N(me){for(var yn=me._private.edges,nn=0;nn<yn.length;nn++)H(yn[nn])}function j(me){for(var yn=me._private.children,nn=0;nn<yn.length;nn++)H(yn[nn])}function H(me){var yn=L[me.id()];p&&me.removed()||yn||(L[me.id()]=!0,me.isNode()?(C.push(me),N(me),j(me)):C.unshift(me))}for(var q=0,W=x.length;q<W;q++){var Z=x[q];H(Z)}function st(me,yn){var nn=me._private.edges;oy(nn,yn),me.clearTraversalCache()}function bt(me){me.clearTraversalCache()}var pt=[];pt.ids={};function _t(me,yn){yn=yn[0],me=me[0];var nn=me._private.children,qe=me.id();oy(nn,yn),yn._private.parent=null,pt.ids[qe]||(pt.ids[qe]=!0,pt.push(me))}x.dirtyCompoundBoundsCache(),p&&O.removeFromPool(C);for(var St=0;St<C.length;St++){var Et=C[St];if(Et.isEdge()){var Nt=Et.source()[0],Pt=Et.target()[0];st(Nt,Et),st(Pt,Et);for(var qt=Et.parallelEdges(),re=0;re<qt.length;re++){var ee=qt[re];bt(ee),ee.isBundledBezier()&&ee.dirtyBoundingBoxCache()}}else{var Ut=Et.parent();Ut.length!==0&&_t(Ut,Et)}p&&(Et._private.removed=!0)}var de=O._private.elements;O._private.hasCompoundNodes=!1;for(var Yt=0;Yt<de.length;Yt++){var Ee=de[Yt];if(Ee.isParent()){O._private.hasCompoundNodes=!0;break}}var Te=new w1(this.cy(),C);Te.size()>0&&(y?Te.emitAndNotify("remove"):p&&Te.emit("remove"));for(var ie=0;ie<pt.length;ie++){var ze=pt[ie];(!p||!ze.removed())&&ze.updateStyle()}return Te},Bu.move=function(y){var p=this._private.cy,x=this,C=!1,L=!1,O=function(pt){return pt==null?pt:""+pt};if(y.source!==void 0||y.target!==void 0){var N=O(y.source),j=O(y.target),H=N!=null&&p.hasElementWithId(N),q=j!=null&&p.hasElementWithId(j);(H||q)&&(p.batch(function(){x.remove(C,L),x.emitAndNotify("moveout");for(var bt=0;bt<x.length;bt++){var pt=x[bt],_t=pt._private.data;pt.isEdge()&&(H&&(_t.source=N),q&&(_t.target=j))}x.restore(C,L)}),x.emitAndNotify("move"))}else if(y.parent!==void 0){var W=O(y.parent),Z=W===null||p.hasElementWithId(W);if(Z){var st=W===null?void 0:W;p.batch(function(){var bt=x.remove(C,L);bt.emitAndNotify("moveout");for(var pt=0;pt<x.length;pt++){var _t=x[pt],St=_t._private.data;_t.isNode()&&(St.parent=st)}bt.restore(C,L)}),x.emitAndNotify("move")}}return this},[aR,ktt,lC,hy,a6,fy,q8,sM,QR,aM,oM,pC,bC,b1,x0,K1].forEach(function(y){we(Bu,y)});var set={add:function(p){var x,C=this;if(yt(p)){var L=p;if(L._private.cy===C)x=L.restore();else{for(var O=[],N=0;N<L.length;N++){var j=L[N];O.push(j.json())}x=new w1(C,O)}}else if(rt(p)){var H=p;x=new w1(C,H)}else if(it(p)&&(rt(p.nodes)||rt(p.edges))){for(var q=p,W=[],Z=["nodes","edges"],st=0,bt=Z.length;st<bt;st++){var pt=Z[st],_t=q[pt];if(rt(_t))for(var St=0,Et=_t.length;St<Et;St++){var Nt=we({group:pt},_t[St]);W.push(Nt)}}x=new w1(C,W)}else{var Pt=p;x=new K9(C,Pt).collection()}return x},remove:function(p){if(!yt(p)){if(mt(p)){var x=p;p=this.$(x)}}return p.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function aet(y,p,x,C){var L=4,O=.001,N=1e-7,j=10,H=11,q=1/(H-1),W=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var Z=0;Z<4;++Z)if(typeof arguments[Z]!="number"||isNaN(arguments[Z])||!isFinite(arguments[Z]))return!1;y=Math.min(y,1),x=Math.min(x,1),y=Math.max(y,0),x=Math.max(x,0);var st=W?new Float32Array(H):new Array(H);function bt(Ee,Te){return 1-3*Te+3*Ee}function pt(Ee,Te){return 3*Te-6*Ee}function _t(Ee){return 3*Ee}function St(Ee,Te,ie){return((bt(Te,ie)*Ee+pt(Te,ie))*Ee+_t(Te))*Ee}function Et(Ee,Te,ie){return 3*bt(Te,ie)*Ee*Ee+2*pt(Te,ie)*Ee+_t(Te)}function Nt(Ee,Te){for(var ie=0;ie<L;++ie){var ze=Et(Te,y,x);if(ze===0)return Te;var me=St(Te,y,x)-Ee;Te-=me/ze}return Te}function Pt(){for(var Ee=0;Ee<H;++Ee)st[Ee]=St(Ee*q,y,x)}function qt(Ee,Te,ie){var ze,me,yn=0;do me=Te+(ie-Te)/2,ze=St(me,y,x)-Ee,ze>0?ie=me:Te=me;while(Math.abs(ze)>N&&++yn<j);return me}function re(Ee){for(var Te=0,ie=1,ze=H-1;ie!==ze&&st[ie]<=Ee;++ie)Te+=q;--ie;var me=(Ee-st[ie])/(st[ie+1]-st[ie]),yn=Te+me*q,nn=Et(yn,y,x);return nn>=O?Nt(Ee,yn):nn===0?yn:qt(Ee,Te,Te+q)}var ee=!1;function Ut(){ee=!0,(y!==p||x!==C)&&Pt()}var de=function(Te){return ee||Ut(),y===p&&x===C?Te:Te===0?0:Te===1?1:St(re(Te),p,C)};de.getControlPoints=function(){return[{x:y,y:p},{x,y:C}]};var Yt="generateBezier("+[y,p,x,C]+")";return de.toString=function(){return Yt},de}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var oet=function(){function y(C){return-C.tension*C.x-C.friction*C.v}function p(C,L,O){var N={x:C.x+O.dx*L,v:C.v+O.dv*L,tension:C.tension,friction:C.friction};return{dx:N.v,dv:y(N)}}function x(C,L){var O={dx:C.v,dv:y(C)},N=p(C,L*.5,O),j=p(C,L*.5,N),H=p(C,L,j),q=1/6*(O.dx+2*(N.dx+j.dx)+H.dx),W=1/6*(O.dv+2*(N.dv+j.dv)+H.dv);return C.x=C.x+q*L,C.v=C.v+W*L,C}return function C(L,O,N){var j={x:-1,v:0,tension:null,friction:null},H=[0],q=0,W=1/1e4,Z=16/1e3,st,bt,pt;for(L=parseFloat(L)||500,O=parseFloat(O)||20,N=N||null,j.tension=L,j.friction=O,st=N!==null,st?(q=C(L,O),bt=q/N*Z):bt=Z;pt=x(pt||j,bt),H.push(1+pt.x),q+=16,Math.abs(pt.x)>W&&Math.abs(pt.v)>W;);return st?function(_t){return H[_t*(H.length-1)|0]}:q}}(),Ru=function(p,x,C,L){var O=aet(p,x,C,L);return function(N,j,H){return N+(j-N)*O(H)}},yC={linear:function(p,x,C){return p+(x-p)*C},ease:Ru(.25,.1,.25,1),"ease-in":Ru(.42,0,1,1),"ease-out":Ru(0,0,.58,1),"ease-in-out":Ru(.42,0,.58,1),"ease-in-sine":Ru(.47,0,.745,.715),"ease-out-sine":Ru(.39,.575,.565,1),"ease-in-out-sine":Ru(.445,.05,.55,.95),"ease-in-quad":Ru(.55,.085,.68,.53),"ease-out-quad":Ru(.25,.46,.45,.94),"ease-in-out-quad":Ru(.455,.03,.515,.955),"ease-in-cubic":Ru(.55,.055,.675,.19),"ease-out-cubic":Ru(.215,.61,.355,1),"ease-in-out-cubic":Ru(.645,.045,.355,1),"ease-in-quart":Ru(.895,.03,.685,.22),"ease-out-quart":Ru(.165,.84,.44,1),"ease-in-out-quart":Ru(.77,0,.175,1),"ease-in-quint":Ru(.755,.05,.855,.06),"ease-out-quint":Ru(.23,1,.32,1),"ease-in-out-quint":Ru(.86,0,.07,1),"ease-in-expo":Ru(.95,.05,.795,.035),"ease-out-expo":Ru(.19,1,.22,1),"ease-in-out-expo":Ru(1,0,0,1),"ease-in-circ":Ru(.6,.04,.98,.335),"ease-out-circ":Ru(.075,.82,.165,1),"ease-in-out-circ":Ru(.785,.135,.15,.86),spring:function(p,x,C){if(C===0)return yC.linear;var L=oet(p,x,C);return function(O,N,j){return O+(N-O)*L(j)}},"cubic-bezier":Ru};function ij(y,p,x,C,L){if(C===1||p===x)return x;var O=L(p,x,C);return y==null||((y.roundValue||y.color)&&(O=Math.round(O)),y.min!==void 0&&(O=Math.max(O,y.min)),y.max!==void 0&&(O=Math.min(O,y.max))),O}function sj(y,p){return y.pfValue!=null||y.value!=null?y.pfValue!=null&&(p==null||p.type.units!=="%")?y.pfValue:y.value:y}function h6(y,p,x,C,L){var O=L!=null?L.type:null;x<0?x=0:x>1&&(x=1);var N=sj(y,L),j=sj(p,L);if(Q(N)&&Q(j))return ij(O,N,j,x,C);if(rt(N)&&rt(j)){for(var H=[],q=0;q<j.length;q++){var W=N[q],Z=j[q];if(W!=null&&Z!=null){var st=ij(O,W,Z,x,C);H.push(st)}else H.push(Z)}return H}}function cet(y,p,x,C){var L=!C,O=y._private,N=p._private,j=N.easing,H=N.startTime,q=C?y:y.cy(),W=q.style();if(!N.easingImpl)if(j==null)N.easingImpl=yC.linear;else{var Z;if(mt(j)){var st=W.parse("transition-timing-function",j);Z=st.value}else Z=j;var bt,pt;mt(Z)?(bt=Z,pt=[]):(bt=Z[1],pt=Z.slice(2).map(function(Xn){return+Xn})),pt.length>0?(bt==="spring"&&pt.push(N.duration),N.easingImpl=yC[bt].apply(null,pt)):N.easingImpl=yC[bt]}var _t=N.easingImpl,St;if(N.duration===0?St=1:St=(x-H)/N.duration,N.applying&&(St=N.progress),St<0?St=0:St>1&&(St=1),N.delay==null){var Et=N.startPosition,Nt=N.position;if(Nt&&L&&!y.locked()){var Pt={};X8(Et.x,Nt.x)&&(Pt.x=h6(Et.x,Nt.x,St,_t)),X8(Et.y,Nt.y)&&(Pt.y=h6(Et.y,Nt.y,St,_t)),y.position(Pt)}var qt=N.startPan,re=N.pan,ee=O.pan,Ut=re!=null&&C;Ut&&(X8(qt.x,re.x)&&(ee.x=h6(qt.x,re.x,St,_t)),X8(qt.y,re.y)&&(ee.y=h6(qt.y,re.y,St,_t)),y.emit("pan"));var de=N.startZoom,Yt=N.zoom,Ee=Yt!=null&&C;Ee&&(X8(de,Yt)&&(O.zoom=P8(O.minZoom,h6(de,Yt,St,_t),O.maxZoom)),y.emit("zoom")),(Ut||Ee)&&y.emit("viewport");var Te=N.style;if(Te&&Te.length>0&&L){for(var ie=0;ie<Te.length;ie++){var ze=Te[ie],me=ze.name,yn=ze,nn=N.startStyle[me],qe=W.properties[nn.name],Tn=h6(nn,yn,St,_t,qe);W.overrideBypass(y,me,Tn)}y.emit("style")}}return N.progress=St,St}function X8(y,p){return y==null||p==null?!1:Q(y)&&Q(p)?!0:!!(y&&p)}function uet(y,p,x,C){var L=p._private;L.started=!0,L.startTime=x-L.progress*L.duration}function aj(y,p){var x=p._private.aniEles,C=[];function L(W,Z){var st=W._private,bt=st.animation.current,pt=st.animation.queue,_t=!1;if(bt.length===0){var St=pt.shift();St&&bt.push(St)}for(var Et=function(ee){for(var Ut=ee.length-1;Ut>=0;Ut--){var de=ee[Ut];de()}ee.splice(0,ee.length)},Nt=bt.length-1;Nt>=0;Nt--){var Pt=bt[Nt],qt=Pt._private;if(qt.stopped){bt.splice(Nt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,Et(qt.frames);continue}!qt.playing&&!qt.applying||(qt.playing&&qt.applying&&(qt.applying=!1),qt.started||uet(W,Pt,y),cet(W,Pt,y,Z),qt.applying&&(qt.applying=!1),Et(qt.frames),qt.step!=null&&qt.step(y),Pt.completed()&&(bt.splice(Nt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,Et(qt.completes)),_t=!0)}return!Z&&bt.length===0&&pt.length===0&&C.push(W),_t}for(var O=!1,N=0;N<x.length;N++){var j=x[N],H=L(j);O=O||H}var q=L(p,!0);(O||q)&&(x.length>0?p.notify("draw",x):p.notify("draw")),x.unmerge(C),p.emit("step")}var het={animate:Kc.animate(),animation:Kc.animation(),animated:Kc.animated(),clearQueue:Kc.clearQueue(),delay:Kc.delay(),delayAnimation:Kc.delayAnimation(),stop:Kc.stop(),addToAnimationPool:function(p){var x=this;x.styleEnabled()&&x._private.aniEles.merge(p)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var p=this;if(p._private.animationsRunning=!0,!p.styleEnabled())return;function x(){p._private.animationsRunning&&g1(function(O){aj(O,p),x()})}var C=p.renderer();C&&C.beforeRender?C.beforeRender(function(O,N){aj(N,p)},C.beforeRenderPriorities.animations):x()}},fet={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,C){var L=x.qualifier;return L!=null?p!==C.target&&V(C.target)&&L.matches(C.target):!0},addEventFields:function(p,x){x.cy=p,x.target=p},callbackContext:function(p,x,C){return x.qualifier!=null?C.target:p}},xC=function(p){return mt(p)?new ly(p):p},oj={createEmitter:function(){var p=this._private;return p.emitter||(p.emitter=new dC(fet,this)),this},emitter:function(){return this._private.emitter},on:function(p,x,C){return this.emitter().on(p,xC(x),C),this},removeListener:function(p,x,C){return this.emitter().removeListener(p,xC(x),C),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(p,x,C){return this.emitter().one(p,xC(x),C),this},once:function(p,x,C){return this.emitter().one(p,xC(x),C),this},emit:function(p,x){return this.emitter().emit(p,x),this},emitAndNotify:function(p,x){return this.emit(p),this.notify(p,x),this}};Kc.eventAliasesOn(oj);var hM={png:function(p){var x=this._private.renderer;return p=p||{},x.png(p)},jpg:function(p){var x=this._private.renderer;return p=p||{},p.bg=p.bg||"#fff",x.jpg(p)}};hM.jpeg=hM.jpg;var kC={layout:function(p){var x=this;if(p==null){$l("Layout options must be specified to make a layout");return}if(p.name==null){$l("A `name` must be specified to make a layout");return}var C=p.name,L=x.extension("layout",C);if(L==null){$l("No such layout `"+C+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var O;mt(p.eles)?O=x.$(p.eles):O=p.eles!=null?p.eles:x.$();var N=new L(we({},p,{cy:x,eles:O}));return N}};kC.createLayout=kC.makeLayout=kC.layout;var det={notify:function(p,x){var C=this._private;if(this.batching()){C.batchNotifications=C.batchNotifications||{};var L=C.batchNotifications[p]=C.batchNotifications[p]||this.collection();x!=null&&L.merge(x);return}if(C.notificationsEnabled){var O=this.renderer();this.destroyed()||!O||O.notify(p,x)}},notifications:function(p){var x=this._private;return p===void 0?x.notificationsEnabled:(x.notificationsEnabled=!!p,this)},noNotifications:function(p){this.notifications(!1),p(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var p=this._private;return p.batchCount==null&&(p.batchCount=0),p.batchCount===0&&(p.batchStyleEles=this.collection(),p.batchNotifications={}),p.batchCount++,this},endBatch:function(){var p=this._private;if(p.batchCount===0)return this;if(p.batchCount--,p.batchCount===0){p.batchStyleEles.updateStyle();var x=this.renderer();Object.keys(p.batchNotifications).forEach(function(C){var L=p.batchNotifications[C];L.empty()?x.notify(C):x.notify(C,L)})}return this},batch:function(p){return this.startBatch(),p(),this.endBatch(),this},batchData:function(p){var x=this;return this.batch(function(){for(var C=Object.keys(p),L=0;L<C.length;L++){var O=C[L],N=p[O],j=x.getElementById(O);j.data(N)}})}},get=p1({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),fM={renderTo:function(p,x,C,L){var O=this._private.renderer;return O.renderTo(p,x,C,L),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(p){var x=this,C=x.extension("renderer",p.name);if(C==null){$l("Can not initialise: No such renderer `".concat(p.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}p.wheelSensitivity!==void 0&&Gc("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var L=get(p);L.cy=x,x._private.renderer=new C(L),this.notify("init")},destroyRenderer:function(){var p=this;p.notify("destroy");var x=p.container();if(x)for(x._cyreg=null;x.childNodes.length>0;)x.removeChild(x.childNodes[0]);p._private.renderer=null,p.mutableElements().forEach(function(C){var L=C._private;L.rscratch={},L.rstyle={},L.animation.current=[],L.animation.queue=[]})},onRender:function(p){return this.on("render",p)},offRender:function(p){return this.off("render",p)}};fM.invalidateDimensions=fM.resize;var EC={collection:function(p,x){return mt(p)?this.$(p):yt(p)?p.collection():rt(p)?(x||(x={}),new w1(this,p,x.unique,x.removed)):new w1(this)},nodes:function(p){var x=this.$(function(C){return C.isNode()});return p?x.filter(p):x},edges:function(p){var x=this.$(function(C){return C.isEdge()});return p?x.filter(p):x},$:function(p){var x=this._private.elements;return p?x.filter(p):x.spawnSelf()},mutableElements:function(){return this._private.elements}};EC.elements=EC.filter=EC.$;var W1={},Q8="t",pet="f";W1.apply=function(y){for(var p=this,x=p._private,C=x.cy,L=C.collection(),O=0;O<y.length;O++){var N=y[O],j=p.getContextMeta(N);if(!j.empty){var H=p.getContextStyle(j),q=p.applyContextStyle(j,H,N);N._private.appliedInitStyle?p.updateTransitions(N,q.diffProps):N._private.appliedInitStyle=!0;var W=p.updateStyleHints(N);W&&L.push(N)}}return L},W1.getPropertiesDiff=function(y,p){var x=this,C=x._private.propDiffs=x._private.propDiffs||{},L=y+"-"+p,O=C[L];if(O)return O;for(var N=[],j={},H=0;H<x.length;H++){var q=x[H],W=y[H]===Q8,Z=p[H]===Q8,st=W!==Z,bt=q.mappedProperties.length>0;if(st||Z&&bt){var pt=void 0;st&&bt||st?pt=q.properties:bt&&(pt=q.mappedProperties);for(var _t=0;_t<pt.length;_t++){for(var St=pt[_t],Et=St.name,Nt=!1,Pt=H+1;Pt<x.length;Pt++){var qt=x[Pt],re=p[Pt]===Q8;if(re&&(Nt=qt.properties[St.name]!=null,Nt))break}!j[Et]&&!Nt&&(j[Et]=!0,N.push(Et))}}}return C[L]=N,N},W1.getContextMeta=function(y){for(var p=this,x="",C,L=y._private.styleCxtKey||"",O=0;O<p.length;O++){var N=p[O],j=N.selector&&N.selector.matches(y);j?x+=Q8:x+=pet}return C=p.getPropertiesDiff(L,x),y._private.styleCxtKey=x,{key:x,diffPropNames:C,empty:C.length===0}},W1.getContextStyle=function(y){var p=y.key,x=this,C=this._private.contextStyles=this._private.contextStyles||{};if(C[p])return C[p];for(var L={_private:{key:p}},O=0;O<x.length;O++){var N=x[O],j=p[O]===Q8;if(j)for(var H=0;H<N.properties.length;H++){var q=N.properties[H];L[q.name]=q}}return C[p]=L,L},W1.applyContextStyle=function(y,p,x){for(var C=this,L=y.diffPropNames,O={},N=C.types,j=0;j<L.length;j++){var H=L[j],q=p[H],W=x.pstyle(H);if(!q)if(W)W.bypass?q={name:H,deleteBypassed:!0}:q={name:H,delete:!0};else continue;if(W!==q){if(q.mapped===N.fn&&W!=null&&W.mapping!=null&&W.mapping.value===q.value){var Z=W.mapping,st=Z.fnValue=q.value(x);if(st===Z.prevFnValue)continue}var bt=O[H]={prev:W};C.applyParsedProperty(x,q),bt.next=x.pstyle(H),bt.next&&bt.next.bypass&&(bt.next=bt.next.bypassed)}}return{diffProps:O}},W1.updateStyleHints=function(y){var p=y._private,x=this,C=x.propertyGroupNames,L=x.propertyGroupKeys,O=function(gi,ss,na){return x.getPropertiesHash(gi,ss,na)},N=p.styleKey;if(y.removed())return!1;var j=p.group==="nodes",H=y._private.style;C=Object.keys(H);for(var q=0;q<L.length;q++){var W=L[q];p.styleKeys[W]=[sy,g4]}for(var Z=function(gi,ss){return p.styleKeys[ss][0]=fg(gi,p.styleKeys[ss][0])},st=function(gi,ss){return p.styleKeys[ss][1]=O2(gi,p.styleKeys[ss][1])},bt=function(gi,ss){Z(gi,ss),st(gi,ss)},pt=function(gi,ss){for(var na=0;na<gi.length;na++){var vi=gi.charCodeAt(na);Z(vi,ss),st(vi,ss)}},_t=2e9,St=function(gi){return-128<gi&&gi<128&&Math.floor(gi)!==gi?_t-(gi*1024|0):gi},Et=0;Et<C.length;Et++){var Nt=C[Et],Pt=H[Nt];if(Pt!=null){var qt=this.properties[Nt],re=qt.type,ee=qt.groupKey,Ut=void 0;qt.hashOverride!=null?Ut=qt.hashOverride(y,Pt):Pt.pfValue!=null&&(Ut=Pt.pfValue);var de=qt.enums==null?Pt.value:null,Yt=Ut!=null,Ee=de!=null,Te=Yt||Ee,ie=Pt.units;if(re.number&&Te&&!re.multiple){var ze=Yt?Ut:de;bt(St(ze),ee),!Yt&&ie!=null&&pt(ie,ee)}else pt(Pt.strValue,ee)}}for(var me=[sy,g4],yn=0;yn<L.length;yn++){var nn=L[yn],qe=p.styleKeys[nn];me[0]=fg(qe[0],me[0]),me[1]=O2(qe[1],me[1])}p.styleKey=M8(me[0],me[1]);var Tn=p.styleKeys;p.labelDimsKey=N2(Tn.labelDimensions);var Xn=O(y,["label"],Tn.labelDimensions);if(p.labelKey=N2(Xn),p.labelStyleKey=N2(p4(Tn.commonLabel,Xn)),!j){var lr=O(y,["source-label"],Tn.labelDimensions);p.sourceLabelKey=N2(lr),p.sourceLabelStyleKey=N2(p4(Tn.commonLabel,lr));var Sn=O(y,["target-label"],Tn.labelDimensions);p.targetLabelKey=N2(Sn),p.targetLabelStyleKey=N2(p4(Tn.commonLabel,Sn))}if(j){var or=p.styleKeys,pr=or.nodeBody,kr=or.nodeBorder,wr=or.nodeOutline,Cr=or.backgroundImage,$n=or.compound,cr=or.pie,mr=[pr,kr,wr,Cr,$n,cr].filter(function(Sr){return Sr!=null}).reduce(p4,[sy,g4]);p.nodeKey=N2(mr),p.hasPie=cr!=null&&cr[0]!==sy&&cr[1]!==g4}return N!==p.styleKey},W1.clearStyleHints=function(y){var p=y._private;p.styleCxtKey="",p.styleKeys={},p.styleKey=null,p.labelKey=null,p.labelStyleKey=null,p.sourceLabelKey=null,p.sourceLabelStyleKey=null,p.targetLabelKey=null,p.targetLabelStyleKey=null,p.nodeKey=null,p.hasPie=null},W1.applyParsedProperty=function(y,p){var x=this,C=p,L=y._private.style,O,N=x.types,j=x.properties[C.name].type,H=C.bypass,q=L[C.name],W=q&&q.bypass,Z=y._private,st="mapping",bt=function(pr){return pr==null?null:pr.pfValue!=null?pr.pfValue:pr.value},pt=function(){var pr=bt(q),kr=bt(C);x.checkTriggers(y,C.name,pr,kr)};if(p.name==="curve-style"&&y.isEdge()&&(p.value!=="bezier"&&y.isLoop()||p.value==="haystack"&&(y.source().isParent()||y.target().isParent()))&&(C=p=this.parse(p.name,"bezier",H)),C.delete)return L[C.name]=void 0,pt(),!0;if(C.deleteBypassed)return q?q.bypass?(q.bypassed=void 0,pt(),!0):!1:(pt(),!0);if(C.deleteBypass)return q?q.bypass?(L[C.name]=q.bypassed,pt(),!0):!1:(pt(),!0);var _t=function(){Gc("Do not assign mappings to elements without corresponding data (i.e. ele `"+y.id()+"` has no mapping for property `"+C.name+"` with data field `"+C.field+"`); try a `["+C.field+"]` selector to limit scope to elements with `"+C.field+"` defined")};switch(C.mapped){case N.mapData:{for(var St=C.field.split("."),Et=Z.data,Nt=0;Nt<St.length&&Et;Nt++){var Pt=St[Nt];Et=Et[Pt]}if(Et==null)return _t(),!1;var qt;if(Q(Et)){var re=C.fieldMax-C.fieldMin;re===0?qt=0:qt=(Et-C.fieldMin)/re}else return Gc("Do not use continuous mappers without specifying numeric data (i.e. `"+C.field+": "+Et+"` for `"+y.id()+"` is non-numeric)"),!1;if(qt<0?qt=0:qt>1&&(qt=1),j.color){var ee=C.valueMin[0],Ut=C.valueMax[0],de=C.valueMin[1],Yt=C.valueMax[1],Ee=C.valueMin[2],Te=C.valueMax[2],ie=C.valueMin[3]==null?1:C.valueMin[3],ze=C.valueMax[3]==null?1:C.valueMax[3],me=[Math.round(ee+(Ut-ee)*qt),Math.round(de+(Yt-de)*qt),Math.round(Ee+(Te-Ee)*qt),Math.round(ie+(ze-ie)*qt)];O={bypass:C.bypass,name:C.name,value:me,strValue:"rgb("+me[0]+", "+me[1]+", "+me[2]+")"}}else if(j.number){var yn=C.valueMin+(C.valueMax-C.valueMin)*qt;O=this.parse(C.name,yn,C.bypass,st)}else return!1;if(!O)return _t(),!1;O.mapping=C,C=O;break}case N.data:{for(var nn=C.field.split("."),qe=Z.data,Tn=0;Tn<nn.length&&qe;Tn++){var Xn=nn[Tn];qe=qe[Xn]}if(qe!=null&&(O=this.parse(C.name,qe,C.bypass,st)),!O)return _t(),!1;O.mapping=C,C=O;break}case N.fn:{var lr=C.value,Sn=C.fnValue!=null?C.fnValue:lr(y);if(C.prevFnValue=Sn,Sn==null)return Gc("Custom function mappers may not return null (i.e. `"+C.name+"` for ele `"+y.id()+"` is null)"),!1;if(O=this.parse(C.name,Sn,C.bypass,st),!O)return Gc("Custom function mappers may not return invalid values for the property type (i.e. `"+C.name+"` for ele `"+y.id()+"` is invalid)"),!1;O.mapping=P2(C),C=O;break}case void 0:break;default:return!1}return H?(W?C.bypassed=q.bypassed:C.bypassed=q,L[C.name]=C):W?q.bypassed=C:L[C.name]=C,pt(),!0},W1.cleanElements=function(y,p){for(var x=0;x<y.length;x++){var C=y[x];if(this.clearStyleHints(C),C.dirtyCompoundBoundsCache(),C.dirtyBoundingBoxCache(),!p)C._private.style={};else for(var L=C._private.style,O=Object.keys(L),N=0;N<O.length;N++){var j=O[N],H=L[j];H!=null&&(H.bypass?H.bypassed=null:L[j]=null)}}},W1.update=function(){var y=this._private.cy,p=y.mutableElements();p.updateStyle()},W1.updateTransitions=function(y,p){var x=this,C=y._private,L=y.pstyle("transition-property").value,O=y.pstyle("transition-duration").pfValue,N=y.pstyle("transition-delay").pfValue;if(L.length>0&&O>0){for(var j={},H=!1,q=0;q<L.length;q++){var W=L[q],Z=y.pstyle(W),st=p[W];if(st){var bt=st.prev,pt=bt,_t=st.next!=null?st.next:Z,St=!1,Et=void 0,Nt=1e-6;pt&&(Q(pt.pfValue)&&Q(_t.pfValue)?(St=_t.pfValue-pt.pfValue,Et=pt.pfValue+Nt*St):Q(pt.value)&&Q(_t.value)?(St=_t.value-pt.value,Et=pt.value+Nt*St):rt(pt.value)&&rt(_t.value)&&(St=pt.value[0]!==_t.value[0]||pt.value[1]!==_t.value[1]||pt.value[2]!==_t.value[2],Et=pt.strValue),St&&(j[W]=_t.strValue,this.applyBypass(y,W,Et),H=!0))}}if(!H)return;C.transitioning=!0,new e6(function(Pt){N>0?y.delayAnimation(N).play().promise().then(Pt):Pt()}).then(function(){return y.animation({style:j,duration:O,easing:y.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){x.removeBypasses(y,L),y.emitAndNotify("style"),C.transitioning=!1})}else C.transitioning&&(this.removeBypasses(y,L),y.emitAndNotify("style"),C.transitioning=!1)},W1.checkTrigger=function(y,p,x,C,L,O){var N=this.properties[p],j=L(N);j!=null&&j(x,C)&&O(N)},W1.checkZOrderTrigger=function(y,p,x,C){var L=this;this.checkTrigger(y,p,x,C,function(O){return O.triggersZOrder},function(){L._private.cy.notify("zorder",y)})},W1.checkBoundsTrigger=function(y,p,x,C){this.checkTrigger(y,p,x,C,function(L){return L.triggersBounds},function(L){y.dirtyCompoundBoundsCache(),y.dirtyBoundingBoxCache(),L.triggersBoundsOfParallelBeziers&&p==="curve-style"&&(x==="bezier"||C==="bezier")&&y.parallelEdges().forEach(function(O){O.isBundledBezier()&&O.dirtyBoundingBoxCache()}),L.triggersBoundsOfConnectedEdges&&p==="display"&&(x==="none"||C==="none")&&y.connectedEdges().forEach(function(O){O.dirtyBoundingBoxCache()})})},W1.checkTriggers=function(y,p,x,C){y.dirtyStyleCache(),this.checkZOrderTrigger(y,p,x,C),this.checkBoundsTrigger(y,p,x,C)};var J8={};J8.applyBypass=function(y,p,x,C){var L=this,O=[],N=!0;if(p==="*"||p==="**"){if(x!==void 0)for(var j=0;j<L.properties.length;j++){var H=L.properties[j],q=H.name,W=this.parse(q,x,!0);W&&O.push(W)}}else if(mt(p)){var Z=this.parse(p,x,!0);Z&&O.push(Z)}else if(it(p)){var st=p;C=x;for(var bt=Object.keys(st),pt=0;pt<bt.length;pt++){var _t=bt[pt],St=st[_t];if(St===void 0&&(St=st[Ae(_t)]),St!==void 0){var Et=this.parse(_t,St,!0);Et&&O.push(Et)}}}else return!1;if(O.length===0)return!1;for(var Nt=!1,Pt=0;Pt<y.length;Pt++){for(var qt=y[Pt],re={},ee=void 0,Ut=0;Ut<O.length;Ut++){var de=O[Ut];if(C){var Yt=qt.pstyle(de.name);ee=re[de.name]={prev:Yt}}Nt=this.applyParsedProperty(qt,P2(de))||Nt,C&&(ee.next=qt.pstyle(de.name))}Nt&&this.updateStyleHints(qt),C&&this.updateTransitions(qt,re,N)}return Nt},J8.overrideBypass=function(y,p,x){p=pn(p);for(var C=0;C<y.length;C++){var L=y[C],O=L._private.style[p],N=this.properties[p].type,j=N.color,H=N.mutiple,q=O?O.pfValue!=null?O.pfValue:O.value:null;!O||!O.bypass?this.applyBypass(L,p,x):(O.value=x,O.pfValue!=null&&(O.pfValue=x),j?O.strValue="rgb("+x.join(",")+")":H?O.strValue=x.join(" "):O.strValue=""+x,this.updateStyleHints(L)),this.checkTriggers(L,p,q,x)}},J8.removeAllBypasses=function(y,p){return this.removeBypasses(y,this.propertyNames,p)},J8.removeBypasses=function(y,p,x){for(var C=!0,L=0;L<y.length;L++){for(var O=y[L],N={},j=0;j<p.length;j++){var H=p[j],q=this.properties[H],W=O.pstyle(q.name);if(!(!W||!W.bypass)){var Z="",st=this.parse(H,Z,!0),bt=N[q.name]={prev:W};this.applyParsedProperty(O,st),bt.next=O.pstyle(q.name)}}this.updateStyleHints(O),x&&this.updateTransitions(O,N,C)}};var dM={};dM.getEmSizeInPixels=function(){var y=this.containerCss("font-size");return y!=null?parseFloat(y):1},dM.containerCss=function(y){var p=this._private.cy,x=p.container(),C=p.window();if(C&&x&&C.getComputedStyle)return C.getComputedStyle(x).getPropertyValue(y)};var R2={};R2.getRenderedStyle=function(y,p){return p?this.getStylePropertyValue(y,p,!0):this.getRawStyle(y,!0)},R2.getRawStyle=function(y,p){var x=this;if(y=y[0],y){for(var C={},L=0;L<x.properties.length;L++){var O=x.properties[L],N=x.getStylePropertyValue(y,O.name,p);N!=null&&(C[O.name]=N,C[Ae(O.name)]=N)}return C}},R2.getIndexedStyle=function(y,p,x,C){var L=y.pstyle(p)[x][C];return L??y.cy().style().getDefaultProperty(p)[x][0]},R2.getStylePropertyValue=function(y,p,x){var C=this;if(y=y[0],y){var L=C.properties[p];L.alias&&(L=L.pointsTo);var O=L.type,N=y.pstyle(L.name);if(N){var j=N.value,H=N.units,q=N.strValue;if(x&&O.number&&j!=null&&Q(j)){var W=y.cy().zoom(),Z=function(St){return St*W},st=function(St,Et){return Z(St)+Et},bt=rt(j),pt=bt?H.every(function(_t){return _t!=null}):H!=null;return pt?bt?j.map(function(_t,St){return st(_t,H[St])}).join(" "):st(j,H):bt?j.map(function(_t){return mt(_t)?_t:""+Z(_t)}).join(" "):""+Z(j)}else if(q!=null)return q}return null}},R2.getAnimationStartStyle=function(y,p){for(var x={},C=0;C<p.length;C++){var L=p[C],O=L.name,N=y.pstyle(O);N!==void 0&&(it(N)?N=this.parse(O,N.strValue):N=this.parse(O,N)),N&&(x[O]=N)}return x},R2.getPropsList=function(y){var p=this,x=[],C=y,L=p.properties;if(C)for(var O=Object.keys(C),N=0;N<O.length;N++){var j=O[N],H=C[j],q=L[j]||L[pn(j)],W=this.parse(q.name,H);W&&x.push(W)}return x},R2.getNonDefaultPropertiesHash=function(y,p,x){var C=x.slice(),L,O,N,j,H,q;for(H=0;H<p.length;H++)if(L=p[H],O=y.pstyle(L,!1),O!=null)if(O.pfValue!=null)C[0]=fg(j,C[0]),C[1]=O2(j,C[1]);else for(N=O.strValue,q=0;q<N.length;q++)j=N.charCodeAt(q),C[0]=fg(j,C[0]),C[1]=O2(j,C[1]);return C},R2.getPropertiesHash=R2.getNonDefaultPropertiesHash;var TC={};TC.appendFromJson=function(y){for(var p=this,x=0;x<y.length;x++){var C=y[x],L=C.selector,O=C.style||C.css,N=Object.keys(O);p.selector(L);for(var j=0;j<N.length;j++){var H=N[j],q=O[H];p.css(H,q)}}return p},TC.fromJson=function(y){var p=this;return p.resetToDefault(),p.appendFromJson(y),p},TC.json=function(){for(var y=[],p=this.defaultLength;p<this.length;p++){for(var x=this[p],C=x.selector,L=x.properties,O={},N=0;N<L.length;N++){var j=L[N];O[j.name]=j.strValue}y.push({selector:C?C.toString():"core",style:O})}return y};var gM={};gM.appendFromString=function(y){var p=this,x=this,C=""+y,L,O,N;C=C.replace(/[/][*](\s|.)+?[*][/]/g,"");function j(){C.length>L.length?C=C.substr(L.length):C=""}function H(){O.length>N.length?O=O.substr(N.length):O=""}for(;;){var q=C.match(/^\s*$/);if(q)break;var W=C.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!W){Gc("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+C);break}L=W[0];var Z=W[1];if(Z!=="core"){var st=new ly(Z);if(st.invalid){Gc("Skipping parsing of block: Invalid selector found in string stylesheet: "+Z),j();continue}}var bt=W[2],pt=!1;O=bt;for(var _t=[];;){var St=O.match(/^\s*$/);if(St)break;var Et=O.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!Et){Gc("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+bt),pt=!0;break}N=Et[0];var Nt=Et[1],Pt=Et[2],qt=p.properties[Nt];if(!qt){Gc("Skipping property: Invalid property name in: "+N),H();continue}var re=x.parse(Nt,Pt);if(!re){Gc("Skipping property: Invalid property definition in: "+N),H();continue}_t.push({name:Nt,val:Pt}),H()}if(pt){j();break}x.selector(Z);for(var ee=0;ee<_t.length;ee++){var Ut=_t[ee];x.css(Ut.name,Ut.val)}j()}return x},gM.fromString=function(y){var p=this;return p.resetToDefault(),p.appendFromString(y),p};var m1={};(function(){var y=sn,p=Ne,x=_e,C=xe,L=Mn,O=function(mr){return"^"+mr+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},N=function(mr){var Sr=y+"|\\w+|"+p+"|"+x+"|"+C+"|"+L;return"^"+mr+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+y+")\\s*\\,\\s*("+y+")\\s*,\\s*("+Sr+")\\s*\\,\\s*("+Sr+")\\)$"},j=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];m1.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},nonNegativeNumber:{number:!0,min: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","null"],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","right-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"]},arrowWidth:{number:!0,units:"%|px|em",implicitUnits:"px",enums:["match-line"]},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:O("data")},layoutData:{mapping:!0,regex:O("layoutData")},scratch:{mapping:!0,regex:O("scratch")},mapData:{mapping:!0,regex:N("mapData")},mapLayoutData:{mapping:!0,regex:N("mapLayoutData")},mapScratch:{mapping:!0,regex:N("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:j,singleRegexMatchValue:!0},urls:{regexes:j,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","endpoints"]},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,Sr){switch(mr.length){case 2:return Sr[0]!=="deg"&&Sr[0]!=="rad"&&Sr[1]!=="deg"&&Sr[1]!=="rad";case 1:return mt(mr[0])||Sr[0]==="deg"||Sr[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(mr){var Sr=mr.length;return Sr===1||Sr===2||Sr===4}}};var H={zeroNonZero:function(mr,Sr){return(mr==null||Sr==null)&&mr!==Sr||mr==0&&Sr!=0?!0:mr!=0&&Sr==0},any:function(mr,Sr){return mr!=Sr},emptyNonEmpty:function(mr,Sr){var gi=Ft(mr),ss=Ft(Sr);return gi&&!ss||!gi&&ss}},q=m1.types,W=[{name:"label",type:q.text,triggersBounds:H.any,triggersZOrder:H.emptyNonEmpty},{name:"text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any}],Z=[{name:"source-label",type:q.text,triggersBounds:H.any},{name:"source-text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"source-text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"source-text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"source-text-offset",type:q.size,triggersBounds:H.any}],st=[{name:"target-label",type:q.text,triggersBounds:H.any},{name:"target-text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"target-text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"target-text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"target-text-offset",type:q.size,triggersBounds:H.any}],bt=[{name:"font-family",type:q.fontFamily,triggersBounds:H.any},{name:"font-style",type:q.fontStyle,triggersBounds:H.any},{name:"font-weight",type:q.fontWeight,triggersBounds:H.any},{name:"font-size",type:q.size,triggersBounds:H.any},{name:"text-transform",type:q.textTransform,triggersBounds:H.any},{name:"text-wrap",type:q.textWrap,triggersBounds:H.any},{name:"text-overflow-wrap",type:q.textOverflowWrap,triggersBounds:H.any},{name:"text-max-width",type:q.size,triggersBounds:H.any},{name:"text-outline-width",type:q.size,triggersBounds:H.any},{name:"line-height",type:q.positiveNumber,triggersBounds:H.any}],pt=[{name:"text-valign",type:q.valign,triggersBounds:H.any},{name:"text-halign",type:q.halign,triggersBounds:H.any},{name:"color",type:q.color},{name:"text-outline-color",type:q.color},{name:"text-outline-opacity",type:q.zeroOneNumber},{name:"text-background-color",type:q.color},{name:"text-background-opacity",type:q.zeroOneNumber},{name:"text-background-padding",type:q.size,triggersBounds:H.any},{name:"text-border-opacity",type:q.zeroOneNumber},{name:"text-border-color",type:q.color},{name:"text-border-width",type:q.size,triggersBounds:H.any},{name:"text-border-style",type:q.borderStyle,triggersBounds:H.any},{name:"text-background-shape",type:q.textBackgroundShape,triggersBounds:H.any},{name:"text-justification",type:q.justification}],_t=[{name:"events",type:q.bool,triggersZOrder:H.any},{name:"text-events",type:q.bool,triggersZOrder:H.any}],St=[{name:"display",type:q.display,triggersZOrder:H.any,triggersBounds:H.any,triggersBoundsOfConnectedEdges:!0},{name:"visibility",type:q.visibility,triggersZOrder:H.any},{name:"opacity",type:q.zeroOneNumber,triggersZOrder:H.zeroNonZero},{name:"text-opacity",type:q.zeroOneNumber},{name:"min-zoomed-font-size",type:q.size},{name:"z-compound-depth",type:q.zCompoundDepth,triggersZOrder:H.any},{name:"z-index-compare",type:q.zIndexCompare,triggersZOrder:H.any},{name:"z-index",type:q.number,triggersZOrder:H.any}],Et=[{name:"overlay-padding",type:q.size,triggersBounds:H.any},{name:"overlay-color",type:q.color},{name:"overlay-opacity",type:q.zeroOneNumber,triggersBounds:H.zeroNonZero},{name:"overlay-shape",type:q.overlayShape,triggersBounds:H.any}],Nt=[{name:"underlay-padding",type:q.size,triggersBounds:H.any},{name:"underlay-color",type:q.color},{name:"underlay-opacity",type:q.zeroOneNumber,triggersBounds:H.zeroNonZero},{name:"underlay-shape",type:q.overlayShape,triggersBounds:H.any}],Pt=[{name:"transition-property",type:q.propList},{name:"transition-duration",type:q.time},{name:"transition-delay",type:q.time},{name:"transition-timing-function",type:q.easing}],qt=function(mr,Sr){return Sr.value==="label"?-mr.poolIndex():Sr.pfValue},re=[{name:"height",type:q.nodeSize,triggersBounds:H.any,hashOverride:qt},{name:"width",type:q.nodeSize,triggersBounds:H.any,hashOverride:qt},{name:"shape",type:q.nodeShape,triggersBounds:H.any},{name:"shape-polygon-points",type:q.polygonPointList,triggersBounds:H.any},{name:"background-color",type:q.color},{name:"background-fill",type:q.fill},{name:"background-opacity",type:q.zeroOneNumber},{name:"background-blacken",type:q.nOneOneNumber},{name:"background-gradient-stop-colors",type:q.colors},{name:"background-gradient-stop-positions",type:q.percentages},{name:"background-gradient-direction",type:q.gradientDirection},{name:"padding",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"padding-relative-to",type:q.paddingRelativeTo,triggersBounds:H.any},{name:"bounds-expansion",type:q.boundsExpansion,triggersBounds:H.any}],ee=[{name:"border-color",type:q.color},{name:"border-opacity",type:q.zeroOneNumber},{name:"border-width",type:q.size,triggersBounds:H.any},{name:"border-style",type:q.borderStyle}],Ut=[{name:"outline-color",type:q.color},{name:"outline-opacity",type:q.zeroOneNumber},{name:"outline-width",type:q.size,triggersBounds:H.any},{name:"outline-style",type:q.borderStyle},{name:"outline-offset",type:q.size,triggersBounds:H.any}],de=[{name:"background-image",type:q.urls},{name:"background-image-crossorigin",type:q.bgCrossOrigin},{name:"background-image-opacity",type:q.zeroOneNumbers},{name:"background-image-containment",type:q.bgContainment},{name:"background-image-smoothing",type:q.bools},{name:"background-position-x",type:q.bgPos},{name:"background-position-y",type:q.bgPos},{name:"background-width-relative-to",type:q.bgRelativeTo},{name:"background-height-relative-to",type:q.bgRelativeTo},{name:"background-repeat",type:q.bgRepeat},{name:"background-fit",type:q.bgFit},{name:"background-clip",type:q.bgClip},{name:"background-width",type:q.bgWH},{name:"background-height",type:q.bgWH},{name:"background-offset-x",type:q.bgPos},{name:"background-offset-y",type:q.bgPos}],Yt=[{name:"position",type:q.position,triggersBounds:H.any},{name:"compound-sizing-wrt-labels",type:q.compoundIncludeLabels,triggersBounds:H.any},{name:"min-width",type:q.size,triggersBounds:H.any},{name:"min-width-bias-left",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-width-bias-right",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-height",type:q.size,triggersBounds:H.any},{name:"min-height-bias-top",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-height-bias-bottom",type:q.sizeMaybePercent,triggersBounds:H.any}],Ee=[{name:"line-style",type:q.lineStyle},{name:"line-color",type:q.color},{name:"line-fill",type:q.fill},{name:"line-cap",type:q.lineCap},{name:"line-opacity",type:q.zeroOneNumber},{name:"line-dash-pattern",type:q.numbers},{name:"line-dash-offset",type:q.number},{name:"line-gradient-stop-colors",type:q.colors},{name:"line-gradient-stop-positions",type:q.percentages},{name:"curve-style",type:q.curveStyle,triggersBounds:H.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:q.zeroOneNumber,triggersBounds:H.any},{name:"source-endpoint",type:q.edgeEndpoint,triggersBounds:H.any},{name:"target-endpoint",type:q.edgeEndpoint,triggersBounds:H.any},{name:"control-point-step-size",type:q.size,triggersBounds:H.any},{name:"control-point-distances",type:q.bidirectionalSizes,triggersBounds:H.any},{name:"control-point-weights",type:q.numbers,triggersBounds:H.any},{name:"segment-distances",type:q.bidirectionalSizes,triggersBounds:H.any},{name:"segment-weights",type:q.numbers,triggersBounds:H.any},{name:"taxi-turn",type:q.bidirectionalSizeMaybePercent,triggersBounds:H.any},{name:"taxi-turn-min-distance",type:q.size,triggersBounds:H.any},{name:"taxi-direction",type:q.axisDirection,triggersBounds:H.any},{name:"edge-distances",type:q.edgeDistances,triggersBounds:H.any},{name:"arrow-scale",type:q.positiveNumber,triggersBounds:H.any},{name:"loop-direction",type:q.angle,triggersBounds:H.any},{name:"loop-sweep",type:q.angle,triggersBounds:H.any},{name:"source-distance-from-node",type:q.size,triggersBounds:H.any},{name:"target-distance-from-node",type:q.size,triggersBounds:H.any}],Te=[{name:"ghost",type:q.bool,triggersBounds:H.any},{name:"ghost-offset-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"ghost-offset-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"ghost-opacity",type:q.zeroOneNumber}],ie=[{name:"selection-box-color",type:q.color},{name:"selection-box-opacity",type:q.zeroOneNumber},{name:"selection-box-border-color",type:q.color},{name:"selection-box-border-width",type:q.size},{name:"active-bg-color",type:q.color},{name:"active-bg-opacity",type:q.zeroOneNumber},{name:"active-bg-size",type:q.size},{name:"outside-texture-bg-color",type:q.color},{name:"outside-texture-bg-opacity",type:q.zeroOneNumber}],ze=[];m1.pieBackgroundN=16,ze.push({name:"pie-size",type:q.sizeMaybePercent});for(var me=1;me<=m1.pieBackgroundN;me++)ze.push({name:"pie-"+me+"-background-color",type:q.color}),ze.push({name:"pie-"+me+"-background-size",type:q.percent}),ze.push({name:"pie-"+me+"-background-opacity",type:q.zeroOneNumber});var yn=[],nn=m1.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:q.arrowShape,triggersBounds:H.any},{name:"arrow-color",type:q.color},{name:"arrow-fill",type:q.arrowFill},{name:"arrow-width",type:q.arrowWidth}].forEach(function(cr){nn.forEach(function(mr){var Sr=mr+"-"+cr.name,gi=cr.type,ss=cr.triggersBounds;yn.push({name:Sr,type:gi,triggersBounds:ss})})},{});var qe=m1.properties=[].concat(_t,Pt,St,Et,Nt,Te,pt,bt,W,Z,st,re,ee,Ut,de,ze,Yt,Ee,yn,ie),Tn=m1.propertyGroups={behavior:_t,transition:Pt,visibility:St,overlay:Et,underlay:Nt,ghost:Te,commonLabel:pt,labelDimensions:bt,mainLabel:W,sourceLabel:Z,targetLabel:st,nodeBody:re,nodeBorder:ee,nodeOutline:Ut,backgroundImage:de,pie:ze,compound:Yt,edgeLine:Ee,edgeArrow:yn,core:ie},Xn=m1.propertyGroupNames={},lr=m1.propertyGroupKeys=Object.keys(Tn);lr.forEach(function(cr){Xn[cr]=Tn[cr].map(function(mr){return mr.name}),Tn[cr].forEach(function(mr){return mr.groupKey=cr})});var Sn=m1.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"}];m1.propertyNames=qe.map(function(cr){return cr.name});for(var or=0;or<qe.length;or++){var pr=qe[or];qe[pr.name]=pr}for(var kr=0;kr<Sn.length;kr++){var wr=Sn[kr],Cr=qe[wr.pointsTo],$n={name:wr.name,alias:!0,pointsTo:Cr};qe.push($n),qe[wr.name]=$n}})(),m1.getDefaultProperty=function(y){return this.getDefaultProperties()[y]},m1.getDefaultProperties=function(){var y=this._private;if(y.defaultProperties!=null)return y.defaultProperties;for(var p=we({"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","outline-color":"#999","outline-opacity":1,"outline-width":0,"outline-offset":0,"outline-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(H,q){for(var W=1;W<=m1.pieBackgroundN;W++){var Z=q.name.replace("{{i}}",W),st=q.value;H[Z]=st}return H},{}),{"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"},{name:"arrow-width",value:1}].reduce(function(H,q){return m1.arrowPrefixes.forEach(function(W){var Z=W+"-"+q.name,st=q.value;H[Z]=st}),H},{})),x={},C=0;C<this.properties.length;C++){var L=this.properties[C];if(!L.pointsTo){var O=L.name,N=p[O],j=this.parse(O,N);x[O]=j}}return y.defaultProperties=x,y.defaultProperties},m1.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 CC={};CC.parse=function(y,p,x,C){var L=this;if(ct(p))return L.parseImplWarn(y,p,x,C);var O=C==="mapping"||C===!0||C===!1||C==null?"dontcare":C,N=x?"t":"f",j=""+p,H=Pd(y,j,N,O),q=L.propCache=L.propCache||[],W;return(W=q[H])||(W=q[H]=L.parseImplWarn(y,p,x,C)),(x||C==="mapping")&&(W=P2(W),W&&(W.value=P2(W.value))),W},CC.parseImplWarn=function(y,p,x,C){var L=this.parseImpl(y,p,x,C);return!L&&p!=null&&Gc("The style property `".concat(y,": ").concat(p,"` is invalid")),L&&(L.name==="width"||L.name==="height")&&p==="label"&&Gc("The style value of `label` is deprecated for `"+L.name+"`"),L},CC.parseImpl=function(y,p,x,C){var L=this;y=pn(y);var O=L.properties[y],N=p,j=L.types;if(!O||p===void 0)return null;O.alias&&(O=O.pointsTo,y=O.name);var H=mt(p);H&&(p=p.trim());var q=O.type;if(!q)return null;if(x&&(p===""||p===null))return{name:y,value:p,bypass:!0,deleteBypass:!0};if(ct(p))return{name:y,value:p,strValue:"fn",mapped:j.fn,bypass:x};var W,Z;if(!(!H||C||p.length<7||p[1]!=="a")){if(p.length>=7&&p[0]==="d"&&(W=new RegExp(j.data.regex).exec(p))){if(x)return!1;var st=j.data;return{name:y,value:W,strValue:""+p,mapped:st,field:W[1],bypass:x}}else if(p.length>=10&&p[0]==="m"&&(Z=new RegExp(j.mapData.regex).exec(p))){if(x||q.multiple)return!1;var bt=j.mapData;if(!(q.color||q.number))return!1;var pt=this.parse(y,Z[4]);if(!pt||pt.mapped)return!1;var _t=this.parse(y,Z[5]);if(!_t||_t.mapped)return!1;if(pt.pfValue===_t.pfValue||pt.strValue===_t.strValue)return Gc("`"+y+": "+p+"` is not a valid mapper because the output range is zero; converting to `"+y+": "+pt.strValue+"`"),this.parse(y,pt.strValue);if(q.color){var St=pt.value,Et=_t.value,Nt=St[0]===Et[0]&&St[1]===Et[1]&&St[2]===Et[2]&&(St[3]===Et[3]||(St[3]==null||St[3]===1)&&(Et[3]==null||Et[3]===1));if(Nt)return!1}return{name:y,value:Z,strValue:""+p,mapped:bt,field:Z[1],fieldMin:parseFloat(Z[2]),fieldMax:parseFloat(Z[3]),valueMin:pt.value,valueMax:_t.value,bypass:x}}}if(q.multiple&&C!=="multiple"){var Pt;if(H?Pt=p.split(/\s+/):rt(p)?Pt=p:Pt=[p],q.evenMultiple&&Pt.length%2!==0)return null;for(var qt=[],re=[],ee=[],Ut="",de=!1,Yt=0;Yt<Pt.length;Yt++){var Ee=L.parse(y,Pt[Yt],x,"multiple");de=de||mt(Ee.value),qt.push(Ee.value),ee.push(Ee.pfValue!=null?Ee.pfValue:Ee.value),re.push(Ee.units),Ut+=(Yt>0?" ":"")+Ee.strValue}return q.validate&&!q.validate(qt,re)?null:q.singleEnum&&de?qt.length===1&&mt(qt[0])?{name:y,value:qt[0],strValue:qt[0],bypass:x}:null:{name:y,value:qt,pfValue:ee,strValue:Ut,bypass:x,units:re}}var Te=function(){for(var mr=0;mr<q.enums.length;mr++){var Sr=q.enums[mr];if(Sr===p)return{name:y,value:p,strValue:""+p,bypass:x}}return null};if(q.number){var ie,ze="px";if(q.units&&(ie=q.units),q.implicitUnits&&(ze=q.implicitUnits),!q.unitless)if(H){var me="px|em"+(q.allowPercent?"|\\%":"");ie&&(me=ie);var yn=p.match("^("+sn+")("+me+")?$");yn&&(p=yn[1],ie=yn[2]||ze)}else(!ie||q.implicitUnits)&&(ie=ze);if(p=parseFloat(p),isNaN(p)&&q.enums===void 0)return null;if(isNaN(p)&&q.enums!==void 0)return p=N,Te();if(q.integer&&!dt(p)||q.min!==void 0&&(p<q.min||q.strictMin&&p===q.min)||q.max!==void 0&&(p>q.max||q.strictMax&&p===q.max))return null;var nn={name:y,value:p,strValue:""+p+(ie||""),units:ie,bypass:x};return q.unitless||ie!=="px"&&ie!=="em"?nn.pfValue=p:nn.pfValue=ie==="px"||!ie?p:this.getEmSizeInPixels()*p,(ie==="ms"||ie==="s")&&(nn.pfValue=ie==="ms"?p:1e3*p),(ie==="deg"||ie==="rad")&&(nn.pfValue=ie==="rad"?p:lQ(p)),ie==="%"&&(nn.pfValue=p/100),nn}else if(q.propList){var qe=[],Tn=""+p;if(Tn!=="none"){for(var Xn=Tn.split(/\s*,\s*|\s+/),lr=0;lr<Xn.length;lr++){var Sn=Xn[lr].trim();L.properties[Sn]?qe.push(Sn):Gc("`"+Sn+"` is not a valid property name")}if(qe.length===0)return null}return{name:y,value:qe,strValue:qe.length===0?"none":qe.join(" "),bypass:x}}else if(q.color){var or=za(p);return or?{name:y,value:or,pfValue:or,strValue:"rgb("+or[0]+","+or[1]+","+or[2]+")",bypass:x}:null}else if(q.regex||q.regexes){if(q.enums){var pr=Te();if(pr)return pr}for(var kr=q.regexes?q.regexes:[q.regex],wr=0;wr<kr.length;wr++){var Cr=new RegExp(kr[wr]),$n=Cr.exec(p);if($n)return{name:y,value:q.singleRegexMatchValue?$n[1]:$n,strValue:""+p,bypass:x}}return null}else return q.string?{name:y,value:""+p,strValue:""+p,bypass:x}:q.enums?Te():null};var Y1=function y(p){if(!(this instanceof y))return new y(p);if(!It(p)){$l("A style must have a core reference");return}this._private={cy:p,coreStyle:{}},this.length=0,this.resetToDefault()},X1=Y1.prototype;X1.instanceString=function(){return"style"},X1.clear=function(){for(var y=this._private,p=y.cy,x=p.elements(),C=0;C<this.length;C++)this[C]=void 0;return this.length=0,y.contextStyles={},y.propDiffs={},this.cleanElements(x,!0),x.forEach(function(L){var O=L[0]._private;O.styleDirty=!0,O.appliedInitStyle=!1}),this},X1.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},X1.core=function(y){return this._private.coreStyle[y]||this.getDefaultProperty(y)},X1.selector=function(y){var p=y==="core"?null:new ly(y),x=this.length++;return this[x]={selector:p,properties:[],mappedProperties:[],index:x},this},X1.css=function(){var y=this,p=arguments;if(p.length===1)for(var x=p[0],C=0;C<y.properties.length;C++){var L=y.properties[C],O=x[L.name];O===void 0&&(O=x[Ae(L.name)]),O!==void 0&&this.cssRule(L.name,O)}else p.length===2&&this.cssRule(p[0],p[1]);return this},X1.style=X1.css,X1.cssRule=function(y,p){var x=this.parse(y,p);if(x){var C=this.length-1;this[C].properties.push(x),this[C].properties[x.name]=x,x.name.match(/pie-(\d+)-background-size/)&&x.value&&(this._private.hasPie=!0),x.mapped&&this[C].mappedProperties.push(x);var L=!this[C].selector;L&&(this._private.coreStyle[x.name]=x)}return this},X1.append=function(y){return jt(y)?y.appendToStyle(this):rt(y)?this.appendFromJson(y):mt(y)&&this.appendFromString(y),this},Y1.fromJson=function(y,p){var x=new Y1(y);return x.fromJson(p),x},Y1.fromString=function(y,p){return new Y1(y).fromString(p)},[W1,J8,dM,R2,TC,gM,m1,CC].forEach(function(y){we(X1,y)}),Y1.types=X1.types,Y1.properties=X1.properties,Y1.propertyGroups=X1.propertyGroups,Y1.propertyGroupNames=X1.propertyGroupNames,Y1.propertyGroupKeys=X1.propertyGroupKeys;var bet={style:function(p){if(p){var x=this.setStyle(p);x.update()}return this._private.style},setStyle:function(p){var x=this._private;return jt(p)?x.style=p.generateStyle(this):rt(p)?x.style=Y1.fromJson(this,p):mt(p)?x.style=Y1.fromString(this,p):x.style=Y1(this),x.style},updateStyle:function(){this.mutableElements().updateStyle()}},wet="single",T4={autolock:function(p){if(p!==void 0)this._private.autolock=!!p;else return this._private.autolock;return this},autoungrabify:function(p){if(p!==void 0)this._private.autoungrabify=!!p;else return this._private.autoungrabify;return this},autounselectify:function(p){if(p!==void 0)this._private.autounselectify=!!p;else return this._private.autounselectify;return this},selectionType:function(p){var x=this._private;if(x.selectionType==null&&(x.selectionType=wet),p!==void 0)(p==="additive"||p==="single")&&(x.selectionType=p);else return x.selectionType;return this},panningEnabled:function(p){if(p!==void 0)this._private.panningEnabled=!!p;else return this._private.panningEnabled;return this},userPanningEnabled:function(p){if(p!==void 0)this._private.userPanningEnabled=!!p;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(p){if(p!==void 0)this._private.zoomingEnabled=!!p;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(p){if(p!==void 0)this._private.userZoomingEnabled=!!p;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(p){if(p!==void 0)this._private.boxSelectionEnabled=!!p;else return this._private.boxSelectionEnabled;return this},pan:function(){var p=arguments,x=this._private.pan,C,L,O,N,j;switch(p.length){case 0:return x;case 1:if(mt(p[0]))return C=p[0],x[C];if(it(p[0])){if(!this._private.panningEnabled)return this;O=p[0],N=O.x,j=O.y,Q(N)&&(x.x=N),Q(j)&&(x.y=j),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;C=p[0],L=p[1],(C==="x"||C==="y")&&Q(L)&&(x[C]=L),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(p,x){var C=arguments,L=this._private.pan,O,N,j,H,q;if(!this._private.panningEnabled)return this;switch(C.length){case 1:it(p)&&(j=C[0],H=j.x,q=j.y,Q(H)&&(L.x+=H),Q(q)&&(L.y+=q),this.emit("pan viewport"));break;case 2:O=p,N=x,(O==="x"||O==="y")&&Q(N)&&(L[O]+=N),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(p,x){var C=this.getFitViewport(p,x);if(C){var L=this._private;L.zoom=C.zoom,L.pan=C.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(p,x){if(Q(p)&&x===void 0&&(x=p,p=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var C;if(mt(p)){var L=p;p=this.$(L)}else if(kt(p)){var O=p;C={x1:O.x1,y1:O.y1,x2:O.x2,y2:O.y2},C.w=C.x2-C.x1,C.h=C.y2-C.y1}else yt(p)||(p=this.mutableElements());if(!(yt(p)&&p.empty())){C=C||p.boundingBox();var N=this.width(),j=this.height(),H;if(x=Q(x)?x:0,!isNaN(N)&&!isNaN(j)&&N>0&&j>0&&!isNaN(C.w)&&!isNaN(C.h)&&C.w>0&&C.h>0){H=Math.min((N-2*x)/C.w,(j-2*x)/C.h),H=H>this._private.maxZoom?this._private.maxZoom:H,H=H<this._private.minZoom?this._private.minZoom:H;var q={x:(N-H*(C.x1+C.x2))/2,y:(j-H*(C.y1+C.y2))/2};return{zoom:H,pan:q}}}}},zoomRange:function(p,x){var C=this._private;if(x==null){var L=p;p=L.min,x=L.max}return Q(p)&&Q(x)&&p<=x?(C.minZoom=p,C.maxZoom=x):Q(p)&&x===void 0&&p<=C.maxZoom?C.minZoom=p:Q(x)&&p===void 0&&x>=C.minZoom&&(C.maxZoom=x),this},minZoom:function(p){return p===void 0?this._private.minZoom:this.zoomRange({min:p})},maxZoom:function(p){return p===void 0?this._private.maxZoom:this.zoomRange({max:p})},getZoomedViewport:function(p){var x=this._private,C=x.pan,L=x.zoom,O,N,j=!1;if(x.zoomingEnabled||(j=!0),Q(p)?N=p:it(p)&&(N=p.level,p.position!=null?O=W9(p.position,L,C):p.renderedPosition!=null&&(O=p.renderedPosition),O!=null&&!x.panningEnabled&&(j=!0)),N=N>x.maxZoom?x.maxZoom:N,N=N<x.minZoom?x.minZoom:N,j||!Q(N)||N===L||O!=null&&(!Q(O.x)||!Q(O.y)))return null;if(O!=null){var H=C,q=L,W=N,Z={x:-W/q*(O.x-H.x)+O.x,y:-W/q*(O.y-H.y)+O.y};return{zoomed:!0,panned:!0,zoom:W,pan:Z}}else return{zoomed:!0,panned:!1,zoom:N,pan:C}},zoom:function(p){if(p===void 0)return this._private.zoom;var x=this.getZoomedViewport(p),C=this._private;return x==null||!x.zoomed?this:(C.zoom=x.zoom,x.panned&&(C.pan.x=x.pan.x,C.pan.y=x.pan.y),this.emit("zoom"+(x.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(p){var x=this._private,C=!0,L=!0,O=[],N=!1,j=!1;if(!p)return this;if(Q(p.zoom)||(C=!1),it(p.pan)||(L=!1),!C&&!L)return this;if(C){var H=p.zoom;H<x.minZoom||H>x.maxZoom||!x.zoomingEnabled?N=!0:(x.zoom=H,O.push("zoom"))}if(L&&(!N||!p.cancelOnFailedZoom)&&x.panningEnabled){var q=p.pan;Q(q.x)&&(x.pan.x=q.x,j=!1),Q(q.y)&&(x.pan.y=q.y,j=!1),j||O.push("pan")}return O.length>0&&(O.push("viewport"),this.emit(O.join(" ")),this.notify("viewport")),this},center:function(p){var x=this.getCenterPan(p);return x&&(this._private.pan=x,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(p,x){if(this._private.panningEnabled){if(mt(p)){var C=p;p=this.mutableElements().filter(C)}else yt(p)||(p=this.mutableElements());if(p.length!==0){var L=p.boundingBox(),O=this.width(),N=this.height();x=x===void 0?this._private.zoom:x;var j={x:(O-x*(L.x1+L.x2))/2,y:(N-x*(L.y1+L.y2))/2};return j}}},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 p=this._private,x=p.container,C=this;return p.sizeCache=p.sizeCache||(x?function(){var L=C.window().getComputedStyle(x),O=function(j){return parseFloat(L.getPropertyValue(j))};return{width:x.clientWidth-O("padding-left")-O("padding-right"),height:x.clientHeight-O("padding-top")-O("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var p=this._private.pan,x=this._private.zoom,C=this.renderedExtent(),L={x1:(C.x1-p.x)/x,x2:(C.x2-p.x)/x,y1:(C.y1-p.y)/x,y2:(C.y2-p.y)/x};return L.w=L.x2-L.x1,L.h=L.y2-L.y1,L},renderedExtent:function(){var p=this.width(),x=this.height();return{x1:0,y1:0,x2:p,y2:x,w:p,h:x}},multiClickDebounceTime:function(p){if(p)this._private.multiClickDebounceTime=p;else return this._private.multiClickDebounceTime;return this}};T4.centre=T4.center,T4.autolockNodes=T4.autolock,T4.autoungrabifyNodes=T4.autoungrabify;var Z8={data:Kc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Kc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Kc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Kc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Z8.attr=Z8.data,Z8.removeAttr=Z8.removeData;var tE=function(p){var x=this;p=we({},p);var C=p.container;C&&!K(C)&&K(C[0])&&(C=C[0]);var L=C?C._cyreg:null;L=L||{},L&&L.cy&&(L.cy.destroy(),L={});var O=L.readies=L.readies||[];C&&(C._cyreg=L),L.cy=x;var N=B!==void 0&&C!==void 0&&!p.headless,j=p;j.layout=we({name:N?"grid":"null"},j.layout),j.renderer=we({name:N?"canvas":"null"},j.renderer);var H=function(pt,_t,St){return _t!==void 0?_t:St!==void 0?St:pt},q=this._private={container:C,ready:!1,options:j,elements:new w1(this),listeners:[],aniEles:new w1(this),data:j.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:H(!0,j.zoomingEnabled),userZoomingEnabled:H(!0,j.userZoomingEnabled),panningEnabled:H(!0,j.panningEnabled),userPanningEnabled:H(!0,j.userPanningEnabled),boxSelectionEnabled:H(!0,j.boxSelectionEnabled),autolock:H(!1,j.autolock,j.autolockNodes),autoungrabify:H(!1,j.autoungrabify,j.autoungrabifyNodes),autounselectify:H(!1,j.autounselectify),styleEnabled:j.styleEnabled===void 0?N:j.styleEnabled,zoom:Q(j.zoom)?j.zoom:1,pan:{x:it(j.pan)&&Q(j.pan.x)?j.pan.x:0,y:it(j.pan)&&Q(j.pan.y)?j.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:H(250,j.multiClickDebounceTime)};this.createEmitter(),this.selectionType(j.selectionType),this.zoomRange({min:j.minZoom,max:j.maxZoom});var W=function(pt,_t){var St=pt.some(Gt);if(St)return e6.all(pt).then(_t);_t(pt)};q.styleEnabled&&x.setStyle([]);var Z=we({},j,j.renderer);x.initRenderer(Z);var st=function(pt,_t,St){x.notifications(!1);var Et=x.mutableElements();Et.length>0&&Et.remove(),pt!=null&&(it(pt)||rt(pt))&&x.add(pt),x.one("layoutready",function(Pt){x.notifications(!0),x.emit(Pt),x.one("load",_t),x.emitAndNotify("load")}).one("layoutstop",function(){x.one("done",St),x.emit("done")});var Nt=we({},x._private.options.layout);Nt.eles=x.elements(),x.layout(Nt).run()};W([j.style,j.elements],function(bt){var pt=bt[0],_t=bt[1];q.styleEnabled&&x.style().append(pt),st(_t,function(){x.startAnimationLoop(),q.ready=!0,ct(j.ready)&&x.on("ready",j.ready);for(var St=0;St<O.length;St++){var Et=O[St];x.on("ready",Et)}L&&(L.readies=[]),x.emit("ready")},j.done)})},SC=tE.prototype;we(SC,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(p){return this.isReady()?this.emitter().emit("ready",[],p):this.on("ready",p),this},destroy:function(){var p=this;if(!p.destroyed())return p.stopAnimationLoop(),p.destroyRenderer(),this.emit("destroy"),p._private.destroyed=!0,p},hasElementWithId:function(p){return this._private.elements.hasElementWithId(p)},getElementById:function(p){return this._private.elements.getElementById(p)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(p){return this._private.elements.merge(p),this},removeFromPool:function(p){return this._private.elements.unmerge(p),this},container:function(){return this._private.container||null},window:function(){var p=this._private.container;if(p==null)return B;var x=this._private.container.ownerDocument;return x===void 0||x==null?B:x.defaultView||B},mount:function(p){if(p!=null){var x=this,C=x._private,L=C.options;return!K(p)&&K(p[0])&&(p=p[0]),x.stopAnimationLoop(),x.destroyRenderer(),C.container=p,C.styleEnabled=!0,x.invalidateSize(),x.initRenderer(we({},L,L.renderer,{name:L.renderer.name==="null"?"canvas":L.renderer.name})),x.startAnimationLoop(),x.style(L.style),x.emit("mount"),x}},unmount:function(){var p=this;return p.stopAnimationLoop(),p.destroyRenderer(),p.initRenderer({name:"null"}),p.emit("unmount"),p},options:function(){return P2(this._private.options)},json:function(p){var x=this,C=x._private,L=x.mutableElements(),O=function(qt){return x.getElementById(qt.id())};if(it(p)){if(x.startBatch(),p.elements){var N={},j=function(qt,re){for(var ee=[],Ut=[],de=0;de<qt.length;de++){var Yt=qt[de];if(!Yt.data.id){Gc("cy.json() cannot handle elements without an ID attribute");continue}var Ee=""+Yt.data.id,Te=x.getElementById(Ee);N[Ee]=!0,Te.length!==0?Ut.push({ele:Te,json:Yt}):(re&&(Yt.group=re),ee.push(Yt))}x.add(ee);for(var ie=0;ie<Ut.length;ie++){var ze=Ut[ie],me=ze.ele,yn=ze.json;me.json(yn)}};if(rt(p.elements))j(p.elements);else for(var H=["nodes","edges"],q=0;q<H.length;q++){var W=H[q],Z=p.elements[W];rt(Z)&&j(Z,W)}var st=x.collection();L.filter(function(Pt){return!N[Pt.id()]}).forEach(function(Pt){Pt.isParent()?st.merge(Pt):Pt.remove()}),st.forEach(function(Pt){return Pt.children().move({parent:null})}),st.forEach(function(Pt){return O(Pt).remove()})}p.style&&x.style(p.style),p.zoom!=null&&p.zoom!==C.zoom&&x.zoom(p.zoom),p.pan&&(p.pan.x!==C.pan.x||p.pan.y!==C.pan.y)&&x.pan(p.pan),p.data&&x.data(p.data);for(var bt=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],pt=0;pt<bt.length;pt++){var _t=bt[pt];p[_t]!=null&&x[_t](p[_t])}return x.endBatch(),this}else{var St=!!p,Et={};St?Et.elements=this.elements().map(function(Pt){return Pt.json()}):(Et.elements={},L.forEach(function(Pt){var qt=Pt.group();Et.elements[qt]||(Et.elements[qt]=[]),Et.elements[qt].push(Pt.json())})),this._private.styleEnabled&&(Et.style=x.style().json()),Et.data=P2(x.data());var Nt=C.options;return Et.zoomingEnabled=C.zoomingEnabled,Et.userZoomingEnabled=C.userZoomingEnabled,Et.zoom=C.zoom,Et.minZoom=C.minZoom,Et.maxZoom=C.maxZoom,Et.panningEnabled=C.panningEnabled,Et.userPanningEnabled=C.userPanningEnabled,Et.pan=P2(C.pan),Et.boxSelectionEnabled=C.boxSelectionEnabled,Et.renderer=P2(Nt.renderer),Et.hideEdgesOnViewport=Nt.hideEdgesOnViewport,Et.textureOnViewport=Nt.textureOnViewport,Et.wheelSensitivity=Nt.wheelSensitivity,Et.motionBlur=Nt.motionBlur,Et.multiClickDebounceTime=Nt.multiClickDebounceTime,Et}}}),SC.$id=SC.getElementById,[set,het,oj,hM,kC,det,fM,EC,bet,T4,Z8].forEach(function(y){we(SC,y)});var met={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}},vet={maximal:!1,acyclic:!1},f6=function(p){return p.scratch("breadthfirst")},cj=function(p,x){return p.scratch("breadthfirst",x)};function uj(y){this.options=we({},met,vet,y)}uj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=C.nodes().filter(function(vi){return!vi.isParent()}),O=C,N=p.directed,j=p.acyclic||p.maximal||p.maximalAdjustments>0,H=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),q;if(yt(p.roots))q=p.roots;else if(rt(p.roots)){for(var W=[],Z=0;Z<p.roots.length;Z++){var st=p.roots[Z],bt=x.getElementById(st);W.push(bt)}q=x.collection(W)}else if(mt(p.roots))q=x.$(p.roots);else if(N)q=L.roots();else{var pt=C.components();q=x.collection();for(var _t=function(si){var Qi=pt[si],ks=Qi.maxDegree(!1),as=Qi.filter(function(Es){return Es.degree(!1)===ks});q=q.add(as)},St=0;St<pt.length;St++)_t(St)}var Et=[],Nt={},Pt=function(si,Qi){Et[Qi]==null&&(Et[Qi]=[]);var ks=Et[Qi].length;Et[Qi].push(si),cj(si,{index:ks,depth:Qi})},qt=function(si,Qi){var ks=f6(si),as=ks.depth,Es=ks.index;Et[as][Es]=null,Pt(si,Qi)};O.bfs({roots:q,directed:p.directed,visit:function(si,Qi,ks,as,Es){var eo=si[0],Ta=eo.id();Pt(eo,Es),Nt[Ta]=!0}});for(var re=[],ee=0;ee<L.length;ee++){var Ut=L[ee];Nt[Ut.id()]||re.push(Ut)}var de=function(si){for(var Qi=Et[si],ks=0;ks<Qi.length;ks++){var as=Qi[ks];if(as==null){Qi.splice(ks,1),ks--;continue}cj(as,{depth:si,index:ks})}},Yt=function(){for(var si=0;si<Et.length;si++)de(si)},Ee=function(si,Qi){for(var ks=f6(si),as=si.incomers().filter(function(G){return G.isNode()&&C.has(G)}),Es=-1,eo=si.id(),Ta=0;Ta<as.length;Ta++){var pa=as[Ta],mo=f6(pa);Es=Math.max(Es,mo.depth)}if(ks.depth<=Es){if(!p.acyclic&&Qi[eo])return null;var Kn=Es+1;return qt(si,Kn),Qi[eo]=Kn,!0}return!1};if(N&&j){var Te=[],ie={},ze=function(si){return Te.push(si)},me=function(){return Te.shift()};for(L.forEach(function(vi){return Te.push(vi)});Te.length>0;){var yn=me(),nn=Ee(yn,ie);if(nn)yn.outgoers().filter(function(vi){return vi.isNode()&&C.has(vi)}).forEach(ze);else if(nn===null){Gc("Detected double maximal shift for node `"+yn.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}Yt();var qe=0;if(p.avoidOverlap)for(var Tn=0;Tn<L.length;Tn++){var Xn=L[Tn],lr=Xn.layoutDimensions(p),Sn=lr.w,or=lr.h;qe=Math.max(qe,Sn,or)}var pr={},kr=function(si){if(pr[si.id()])return pr[si.id()];for(var Qi=f6(si).depth,ks=si.neighborhood(),as=0,Es=0,eo=0;eo<ks.length;eo++){var Ta=ks[eo];if(!(Ta.isEdge()||Ta.isParent()||!L.has(Ta))){var pa=f6(Ta);if(pa!=null){var mo=pa.index,Kn=pa.depth;if(!(mo==null||Kn==null)){var G=Et[Kn].length;Kn<Qi&&(as+=mo/G,Es++)}}}}return Es=Math.max(1,Es),as=as/Es,Es===0&&(as=0),pr[si.id()]=as,as},wr=function(si,Qi){var ks=kr(si),as=kr(Qi),Es=ks-as;return Es===0?ce(si.id(),Qi.id()):Es};p.depthSort!==void 0&&(wr=p.depthSort);for(var Cr=0;Cr<Et.length;Cr++)Et[Cr].sort(wr),de(Cr);for(var $n=[],cr=0;cr<re.length;cr++)$n.push(re[cr]);Et.unshift($n),Yt();for(var mr=0,Sr=0;Sr<Et.length;Sr++)mr=Math.max(Et[Sr].length,mr);var gi={x:H.x1+H.w/2,y:H.x1+H.h/2},ss=Et.reduce(function(vi,si){return Math.max(vi,si.length)},0),na=function(si){var Qi=f6(si),ks=Qi.depth,as=Qi.index,Es=Et[ks].length,eo=Math.max(H.w/((p.grid?ss:Es)+1),qe),Ta=Math.max(H.h/(Et.length+1),qe),pa=Math.min(H.w/2/Et.length,H.h/2/Et.length);if(pa=Math.max(pa,qe),p.circle){var Kn=pa*ks+pa-(Et.length>0&&Et[0].length<=3?pa/2:0),G=2*Math.PI/Et[ks].length*as;return ks===0&&Et[0].length===1&&(Kn=1),{x:gi.x+Kn*Math.cos(G),y:gi.y+Kn*Math.sin(G)}}else{var mo={x:gi.x+(as+1-(Es+1)/2)*eo,y:(ks+1)*Ta};return mo}};return C.nodes().layoutPositions(this,p,na),this};var yet={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(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function lj(y){this.options=we({},yet,y)}lj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,O=C.nodes().not(":parent");p.sort&&(O=O.sort(p.sort));for(var N=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),j={x:N.x1+N.w/2,y:N.y1+N.h/2},H=p.sweep===void 0?2*Math.PI-2*Math.PI/O.length:p.sweep,q=H/Math.max(1,O.length-1),W,Z=0,st=0;st<O.length;st++){var bt=O[st],pt=bt.layoutDimensions(p),_t=pt.w,St=pt.h;Z=Math.max(Z,_t,St)}if(Q(p.radius)?W=p.radius:O.length<=1?W=0:W=Math.min(N.h,N.w)/2-Z,O.length>1&&p.avoidOverlap){Z*=1.75;var Et=Math.cos(q)-Math.cos(0),Nt=Math.sin(q)-Math.sin(0),Pt=Math.sqrt(Z*Z/(Et*Et+Nt*Nt));W=Math.max(Pt,W)}var qt=function(ee,Ut){var de=p.startAngle+Ut*q*(L?1:-1),Yt=W*Math.cos(de),Ee=W*Math.sin(de),Te={x:j.x+Yt,y:j.y+Ee};return Te};return C.nodes().layoutPositions(this,p,qt),this};var xet={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(p){return p.degree()},levelWidth:function(p){return p.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function hj(y){this.options=we({},xet,y)}hj.prototype.run=function(){for(var y=this.options,p=y,x=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,C=y.cy,L=p.eles,O=L.nodes().not(":parent"),N=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:C.width(),h:C.height()}),j={x:N.x1+N.w/2,y:N.y1+N.h/2},H=[],q=0,W=0;W<O.length;W++){var Z=O[W],st=void 0;st=p.concentric(Z),H.push({value:st,node:Z}),Z._private.scratch.concentric=st}O.updateStyle();for(var bt=0;bt<O.length;bt++){var pt=O[bt],_t=pt.layoutDimensions(p);q=Math.max(q,_t.w,_t.h)}H.sort(function(vi,si){return si.value-vi.value});for(var St=p.levelWidth(O),Et=[[]],Nt=Et[0],Pt=0;Pt<H.length;Pt++){var qt=H[Pt];if(Nt.length>0){var re=Math.abs(Nt[0].value-qt.value);re>=St&&(Nt=[],Et.push(Nt))}Nt.push(qt)}var ee=q+p.minNodeSpacing;if(!p.avoidOverlap){var Ut=Et.length>0&&Et[0].length>1,de=Math.min(N.w,N.h)/2-ee,Yt=de/(Et.length+Ut?1:0);ee=Math.min(ee,Yt)}for(var Ee=0,Te=0;Te<Et.length;Te++){var ie=Et[Te],ze=p.sweep===void 0?2*Math.PI-2*Math.PI/ie.length:p.sweep,me=ie.dTheta=ze/Math.max(1,ie.length-1);if(ie.length>1&&p.avoidOverlap){var yn=Math.cos(me)-Math.cos(0),nn=Math.sin(me)-Math.sin(0),qe=Math.sqrt(ee*ee/(yn*yn+nn*nn));Ee=Math.max(qe,Ee)}ie.r=Ee,Ee+=ee}if(p.equidistant){for(var Tn=0,Xn=0,lr=0;lr<Et.length;lr++){var Sn=Et[lr],or=Sn.r-Xn;Tn=Math.max(Tn,or)}Xn=0;for(var pr=0;pr<Et.length;pr++){var kr=Et[pr];pr===0&&(Xn=kr.r),kr.r=Xn,Xn+=Tn}}for(var wr={},Cr=0;Cr<Et.length;Cr++)for(var $n=Et[Cr],cr=$n.dTheta,mr=$n.r,Sr=0;Sr<$n.length;Sr++){var gi=$n[Sr],ss=p.startAngle+(x?1:-1)*cr*Sr,na={x:j.x+mr*Math.cos(ss),y:j.y+mr*Math.sin(ss)};wr[gi.node.id()]=na}return L.nodes().layoutPositions(this,p,function(vi){var si=vi.id();return wr[si]}),this};var pM,ket={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(p,x){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(p){return 2048},nodeOverlap:4,idealEdgeLength:function(p){return 32},edgeElasticity:function(p){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function _C(y){this.options=we({},ket,y),this.options.layout=this;var p=this.options.eles.nodes(),x=this.options.eles.edges(),C=x.filter(function(L){var O=L.source().data("id"),N=L.target().data("id"),j=p.some(function(q){return q.data("id")===O}),H=p.some(function(q){return q.data("id")===N});return!j||!H});this.options.eles=this.options.eles.not(C)}_C.prototype.run=function(){var y=this.options,p=y.cy,x=this;x.stopped=!1,(y.animate===!0||y.animate===!1)&&x.emit({type:"layoutstart",layout:x}),y.debug===!0?pM=!0:pM=!1;var C=Eet(p,x,y);pM&&_et(C),y.randomize&&Aet(C);var L=ip(),O=function(){Let(C,p,y),y.fit===!0&&p.fit(y.padding)},N=function(st){return!(x.stopped||st>=y.numIter||(Det(C,y),C.temperature=C.temperature*y.coolingFactor,C.temperature<y.minTemp))},j=function(){if(y.animate===!0||y.animate===!1)O(),x.one("layoutstop",y.stop),x.emit({type:"layoutstop",layout:x});else{var st=y.eles.nodes(),bt=fj(C,y,st);st.layoutPositions(x,y,bt)}},H=0,q=!0;if(y.animate===!0){var W=function Z(){for(var st=0;q&&st<y.refresh;)q=N(H),H++,st++;if(!q)gj(C,y),j();else{var bt=ip();bt-L>=y.animationThreshold&&O(),g1(Z)}};W()}else{for(;q;)q=N(H),H++;gj(C,y),j()}return this},_C.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},_C.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var Eet=function(p,x,C){for(var L=C.eles.edges(),O=C.eles.nodes(),N=v0(C.boundingBox?C.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()}),j={isCompound:p.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:O.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:L.size(),temperature:C.initialTemp,clientWidth:N.w,clientHeight:N.h,boundingBox:N},H=C.eles.components(),q={},W=0;W<H.length;W++)for(var Z=H[W],st=0;st<Z.length;st++){var bt=Z[st];q[bt.id()]=W}for(var W=0;W<j.nodeSize;W++){var pt=O[W],_t=pt.layoutDimensions(C),St={};St.isLocked=pt.locked(),St.id=pt.data("id"),St.parentId=pt.data("parent"),St.cmptId=q[pt.id()],St.children=[],St.positionX=pt.position("x"),St.positionY=pt.position("y"),St.offsetX=0,St.offsetY=0,St.height=_t.w,St.width=_t.h,St.maxX=St.positionX+St.width/2,St.minX=St.positionX-St.width/2,St.maxY=St.positionY+St.height/2,St.minY=St.positionY-St.height/2,St.padLeft=parseFloat(pt.style("padding")),St.padRight=parseFloat(pt.style("padding")),St.padTop=parseFloat(pt.style("padding")),St.padBottom=parseFloat(pt.style("padding")),St.nodeRepulsion=ct(C.nodeRepulsion)?C.nodeRepulsion(pt):C.nodeRepulsion,j.layoutNodes.push(St),j.idToIndex[St.id]=W}for(var Et=[],Nt=0,Pt=-1,qt=[],W=0;W<j.nodeSize;W++){var pt=j.layoutNodes[W],re=pt.parentId;re!=null?j.layoutNodes[j.idToIndex[re]].children.push(pt.id):(Et[++Pt]=pt.id,qt.push(pt.id))}for(j.graphSet.push(qt);Nt<=Pt;){var ee=Et[Nt++],Ut=j.idToIndex[ee],bt=j.layoutNodes[Ut],de=bt.children;if(de.length>0){j.graphSet.push(de);for(var W=0;W<de.length;W++)Et[++Pt]=de[W]}}for(var W=0;W<j.graphSet.length;W++)for(var Yt=j.graphSet[W],st=0;st<Yt.length;st++){var Ee=j.idToIndex[Yt[st]];j.indexToGraph[Ee]=W}for(var W=0;W<j.edgeSize;W++){var Te=L[W],ie={};ie.id=Te.data("id"),ie.sourceId=Te.data("source"),ie.targetId=Te.data("target");var ze=ct(C.idealEdgeLength)?C.idealEdgeLength(Te):C.idealEdgeLength,me=ct(C.edgeElasticity)?C.edgeElasticity(Te):C.edgeElasticity,yn=j.idToIndex[ie.sourceId],nn=j.idToIndex[ie.targetId],qe=j.indexToGraph[yn],Tn=j.indexToGraph[nn];if(qe!=Tn){for(var Xn=Tet(ie.sourceId,ie.targetId,j),lr=j.graphSet[Xn],Sn=0,St=j.layoutNodes[yn];lr.indexOf(St.id)===-1;)St=j.layoutNodes[j.idToIndex[St.parentId]],Sn++;for(St=j.layoutNodes[nn];lr.indexOf(St.id)===-1;)St=j.layoutNodes[j.idToIndex[St.parentId]],Sn++;ze*=Sn*C.nestingFactor}ie.idealLength=ze,ie.elasticity=me,j.layoutEdges.push(ie)}return j},Tet=function(p,x,C){var L=Cet(p,x,0,C);return 2>L.count?0:L.graph},Cet=function y(p,x,C,L){var O=L.graphSet[C];if(-1<O.indexOf(p)&&-1<O.indexOf(x))return{count:2,graph:C};for(var N=0,j=0;j<O.length;j++){var H=O[j],q=L.idToIndex[H],W=L.layoutNodes[q].children;if(W.length!==0){var Z=L.indexToGraph[L.idToIndex[W[0]]],st=y(p,x,Z,L);if(st.count!==0)if(st.count===1){if(N++,N===2)break}else return st}}return{count:N,graph:C}},_et,Aet=function(p,x){for(var C=p.clientWidth,L=p.clientHeight,O=0;O<p.nodeSize;O++){var N=p.layoutNodes[O];N.children.length===0&&!N.isLocked&&(N.positionX=Math.random()*C,N.positionY=Math.random()*L)}},fj=function(p,x,C){var L=p.boundingBox,O={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return x.boundingBox&&(C.forEach(function(N){var j=p.layoutNodes[p.idToIndex[N.data("id")]];O.x1=Math.min(O.x1,j.positionX),O.x2=Math.max(O.x2,j.positionX),O.y1=Math.min(O.y1,j.positionY),O.y2=Math.max(O.y2,j.positionY)}),O.w=O.x2-O.x1,O.h=O.y2-O.y1),function(N,j){var H=p.layoutNodes[p.idToIndex[N.data("id")]];if(x.boundingBox){var q=(H.positionX-O.x1)/O.w,W=(H.positionY-O.y1)/O.h;return{x:L.x1+q*L.w,y:L.y1+W*L.h}}else return{x:H.positionX,y:H.positionY}}},Let=function(p,x,C){var L=C.layout,O=C.eles.nodes(),N=fj(p,C,O);O.positions(N),p.ready!==!0&&(p.ready=!0,L.one("layoutready",C.ready),L.emit({type:"layoutready",layout:this}))},Det=function(p,x,C){Met(p,x),Net(p),Pet(p,x),Fet(p),Bet(p)},Met=function(p,x){for(var C=0;C<p.graphSet.length;C++)for(var L=p.graphSet[C],O=L.length,N=0;N<O;N++)for(var j=p.layoutNodes[p.idToIndex[L[N]]],H=N+1;H<O;H++){var q=p.layoutNodes[p.idToIndex[L[H]]];Iet(j,q,p,x)}},dj=function(p){return-p+2*p*Math.random()},Iet=function(p,x,C,L){var O=p.cmptId,N=x.cmptId;if(!(O!==N&&!C.isCompound)){var j=x.positionX-p.positionX,H=x.positionY-p.positionY,q=1;j===0&&H===0&&(j=dj(q),H=dj(q));var W=Oet(p,x,j,H);if(W>0)var Z=L.nodeOverlap*W,st=Math.sqrt(j*j+H*H),bt=Z*j/st,pt=Z*H/st;else var _t=AC(p,j,H),St=AC(x,-1*j,-1*H),Et=St.x-_t.x,Nt=St.y-_t.y,Pt=Et*Et+Nt*Nt,st=Math.sqrt(Pt),Z=(p.nodeRepulsion+x.nodeRepulsion)/Pt,bt=Z*Et/st,pt=Z*Nt/st;p.isLocked||(p.offsetX-=bt,p.offsetY-=pt),x.isLocked||(x.offsetX+=bt,x.offsetY+=pt)}},Oet=function(p,x,C,L){if(C>0)var O=p.maxX-x.minX;else var O=x.maxX-p.minX;if(L>0)var N=p.maxY-x.minY;else var N=x.maxY-p.minY;return O>=0&&N>=0?Math.sqrt(O*O+N*N):0},AC=function(p,x,C){var L=p.positionX,O=p.positionY,N=p.height||1,j=p.width||1,H=C/x,q=N/j,W={};return x===0&&0<C||x===0&&0>C?(W.x=L,W.y=O+N/2,W):0<x&&-1*q<=H&&H<=q?(W.x=L+j/2,W.y=O+j*C/2/x,W):0>x&&-1*q<=H&&H<=q?(W.x=L-j/2,W.y=O-j*C/2/x,W):0<C&&(H<=-1*q||H>=q)?(W.x=L+N*x/2/C,W.y=O+N/2,W):(0>C&&(H<=-1*q||H>=q)&&(W.x=L-N*x/2/C,W.y=O-N/2),W)},Net=function(p,x){for(var C=0;C<p.edgeSize;C++){var L=p.layoutEdges[C],O=p.idToIndex[L.sourceId],N=p.layoutNodes[O],j=p.idToIndex[L.targetId],H=p.layoutNodes[j],q=H.positionX-N.positionX,W=H.positionY-N.positionY;if(!(q===0&&W===0)){var Z=AC(N,q,W),st=AC(H,-1*q,-1*W),bt=st.x-Z.x,pt=st.y-Z.y,_t=Math.sqrt(bt*bt+pt*pt),St=Math.pow(L.idealLength-_t,2)/L.elasticity;if(_t!==0)var Et=St*bt/_t,Nt=St*pt/_t;else var Et=0,Nt=0;N.isLocked||(N.offsetX+=Et,N.offsetY+=Nt),H.isLocked||(H.offsetX-=Et,H.offsetY-=Nt)}}},Pet=function(p,x){if(x.gravity!==0)for(var C=1,L=0;L<p.graphSet.length;L++){var O=p.graphSet[L],N=O.length;if(L===0)var j=p.clientHeight/2,H=p.clientWidth/2;else var q=p.layoutNodes[p.idToIndex[O[0]]],W=p.layoutNodes[p.idToIndex[q.parentId]],j=W.positionX,H=W.positionY;for(var Z=0;Z<N;Z++){var st=p.layoutNodes[p.idToIndex[O[Z]]];if(!st.isLocked){var bt=j-st.positionX,pt=H-st.positionY,_t=Math.sqrt(bt*bt+pt*pt);if(_t>C){var St=x.gravity*bt/_t,Et=x.gravity*pt/_t;st.offsetX+=St,st.offsetY+=Et}}}}},Fet=function(p,x){var C=[],L=0,O=-1;for(C.push.apply(C,p.graphSet[0]),O+=p.graphSet[0].length;L<=O;){var N=C[L++],j=p.idToIndex[N],H=p.layoutNodes[j],q=H.children;if(0<q.length&&!H.isLocked){for(var W=H.offsetX,Z=H.offsetY,st=0;st<q.length;st++){var bt=p.layoutNodes[p.idToIndex[q[st]]];bt.offsetX+=W,bt.offsetY+=Z,C[++O]=q[st]}H.offsetX=0,H.offsetY=0}}},Bet=function(p,x){for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];0<L.children.length&&(L.maxX=void 0,L.minX=void 0,L.maxY=void 0,L.minY=void 0)}for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];if(!(0<L.children.length||L.isLocked)){var O=Ret(L.offsetX,L.offsetY,p.temperature);L.positionX+=O.x,L.positionY+=O.y,L.offsetX=0,L.offsetY=0,L.minX=L.positionX-L.width,L.maxX=L.positionX+L.width,L.minY=L.positionY-L.height,L.maxY=L.positionY+L.height,jet(L,p)}}for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];0<L.children.length&&!L.isLocked&&(L.positionX=(L.maxX+L.minX)/2,L.positionY=(L.maxY+L.minY)/2,L.width=L.maxX-L.minX,L.height=L.maxY-L.minY)}},Ret=function(p,x,C){var L=Math.sqrt(p*p+x*x);if(L>C)var O={x:C*p/L,y:C*x/L};else var O={x:p,y:x};return O},jet=function y(p,x){var C=p.parentId;if(C!=null){var L=x.layoutNodes[x.idToIndex[C]],O=!1;if((L.maxX==null||p.maxX+L.padRight>L.maxX)&&(L.maxX=p.maxX+L.padRight,O=!0),(L.minX==null||p.minX-L.padLeft<L.minX)&&(L.minX=p.minX-L.padLeft,O=!0),(L.maxY==null||p.maxY+L.padBottom>L.maxY)&&(L.maxY=p.maxY+L.padBottom,O=!0),(L.minY==null||p.minY-L.padTop<L.minY)&&(L.minY=p.minY-L.padTop,O=!0),O)return y(L,x)}},gj=function(p,x){for(var C=p.layoutNodes,L=[],O=0;O<C.length;O++){var N=C[O],j=N.cmptId,H=L[j]=L[j]||[];H.push(N)}for(var q=0,O=0;O<L.length;O++){var W=L[O];if(W){W.x1=1/0,W.x2=-1/0,W.y1=1/0,W.y2=-1/0;for(var Z=0;Z<W.length;Z++){var st=W[Z];W.x1=Math.min(W.x1,st.positionX-st.width/2),W.x2=Math.max(W.x2,st.positionX+st.width/2),W.y1=Math.min(W.y1,st.positionY-st.height/2),W.y2=Math.max(W.y2,st.positionY+st.height/2)}W.w=W.x2-W.x1,W.h=W.y2-W.y1,q+=W.w*W.h}}L.sort(function(Nt,Pt){return Pt.w*Pt.h-Nt.w*Nt.h});for(var bt=0,pt=0,_t=0,St=0,Et=Math.sqrt(q)*p.clientWidth/p.clientHeight,O=0;O<L.length;O++){var W=L[O];if(W){for(var Z=0;Z<W.length;Z++){var st=W[Z];st.isLocked||(st.positionX+=bt-W.x1,st.positionY+=pt-W.y1)}bt+=W.w+x.componentSpacing,_t+=W.w+x.componentSpacing,St=Math.max(St,W.h),_t>Et&&(pt+=St+x.componentSpacing,bt=0,_t=0,St=0)}}},$et={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(p){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function pj(y){this.options=we({},$et,y)}pj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=C.nodes().not(":parent");p.sort&&(L=L.sort(p.sort));var O=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()});if(O.h===0||O.w===0)C.nodes().layoutPositions(this,p,function(pr){return{x:O.x1,y:O.y1}});else{var N=L.size(),j=Math.sqrt(N*O.h/O.w),H=Math.round(j),q=Math.round(O.w/O.h*j),W=function(kr){if(kr==null)return Math.min(H,q);var wr=Math.min(H,q);wr==H?H=kr:q=kr},Z=function(kr){if(kr==null)return Math.max(H,q);var wr=Math.max(H,q);wr==H?H=kr:q=kr},st=p.rows,bt=p.cols!=null?p.cols:p.columns;if(st!=null&&bt!=null)H=st,q=bt;else if(st!=null&&bt==null)H=st,q=Math.ceil(N/H);else if(st==null&&bt!=null)q=bt,H=Math.ceil(N/q);else if(q*H>N){var pt=W(),_t=Z();(pt-1)*_t>=N?W(pt-1):(_t-1)*pt>=N&&Z(_t-1)}else for(;q*H<N;){var St=W(),Et=Z();(Et+1)*St>=N?Z(Et+1):W(St+1)}var Nt=O.w/q,Pt=O.h/H;if(p.condense&&(Nt=0,Pt=0),p.avoidOverlap)for(var qt=0;qt<L.length;qt++){var re=L[qt],ee=re._private.position;(ee.x==null||ee.y==null)&&(ee.x=0,ee.y=0);var Ut=re.layoutDimensions(p),de=p.avoidOverlapPadding,Yt=Ut.w+de,Ee=Ut.h+de;Nt=Math.max(Nt,Yt),Pt=Math.max(Pt,Ee)}for(var Te={},ie=function(kr,wr){return!!Te["c-"+kr+"-"+wr]},ze=function(kr,wr){Te["c-"+kr+"-"+wr]=!0},me=0,yn=0,nn=function(){yn++,yn>=q&&(yn=0,me++)},qe={},Tn=0;Tn<L.length;Tn++){var Xn=L[Tn],lr=p.position(Xn);if(lr&&(lr.row!==void 0||lr.col!==void 0)){var Sn={row:lr.row,col:lr.col};if(Sn.col===void 0)for(Sn.col=0;ie(Sn.row,Sn.col);)Sn.col++;else if(Sn.row===void 0)for(Sn.row=0;ie(Sn.row,Sn.col);)Sn.row++;qe[Xn.id()]=Sn,ze(Sn.row,Sn.col)}}var or=function(kr,wr){var Cr,$n;if(kr.locked()||kr.isParent())return!1;var cr=qe[kr.id()];if(cr)Cr=cr.col*Nt+Nt/2+O.x1,$n=cr.row*Pt+Pt/2+O.y1;else{for(;ie(me,yn);)nn();Cr=yn*Nt+Nt/2+O.x1,$n=me*Pt+Pt/2+O.y1,ze(me,yn),nn()}return{x:Cr,y:$n}};L.layoutPositions(this,p,or)}return this};var zet={ready:function(){},stop:function(){}};function bM(y){this.options=we({},zet,y)}bM.prototype.run=function(){var y=this.options,p=y.eles,x=this;return y.cy,x.emit("layoutstart"),p.nodes().positions(function(){return{x:0,y:0}}),x.one("layoutready",y.ready),x.emit("layoutready"),x.one("layoutstop",y.stop),x.emit("layoutstop"),this},bM.prototype.stop=function(){return this};var qet={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,spacingFactor:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function bj(y){this.options=we({},qet,y)}bj.prototype.run=function(){var y=this.options,p=y.eles,x=p.nodes(),C=ct(y.positions);function L(O){if(y.positions==null)return sQ(O.position());if(C)return y.positions(O);var N=y.positions[O._private.data.id];return N??null}return x.layoutPositions(this,y,function(O,N){var j=L(O);return O.locked()||j==null?!1:j}),this};var Het={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function wj(y){this.options=we({},Het,y)}wj.prototype.run=function(){var y=this.options,p=y.cy,x=y.eles,C=v0(y.boundingBox?y.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()}),L=function(N,j){return{x:C.x1+Math.round(Math.random()*C.w),y:C.y1+Math.round(Math.random()*C.h)}};return x.nodes().layoutPositions(this,y,L),this};var Vet=[{name:"breadthfirst",impl:uj},{name:"circle",impl:lj},{name:"concentric",impl:hj},{name:"cose",impl:_C},{name:"grid",impl:pj},{name:"null",impl:bM},{name:"preset",impl:bj},{name:"random",impl:wj}];function mj(y){this.options=y,this.notifications=0}var vj=function(){},yj=function(){throw new Error("A headless instance can not render images")};mj.prototype={recalculateRenderedStyle:vj,notify:function(){this.notifications++},init:vj,isHeadless:function(){return!0},png:yj,jpg:yj};var wM={};wM.arrowShapeWidth=.3,wM.registerArrowShapes=function(){var y=this.arrowShapes={},p=this,x=function(q,W,Z,st,bt,pt,_t){var St=bt.x-Z/2-_t,Et=bt.x+Z/2+_t,Nt=bt.y-Z/2-_t,Pt=bt.y+Z/2+_t,qt=St<=q&&q<=Et&&Nt<=W&&W<=Pt;return qt},C=function(q,W,Z,st,bt){var pt=q*Math.cos(st)-W*Math.sin(st),_t=q*Math.sin(st)+W*Math.cos(st),St=pt*Z,Et=_t*Z,Nt=St+bt.x,Pt=Et+bt.y;return{x:Nt,y:Pt}},L=function(q,W,Z,st){for(var bt=[],pt=0;pt<q.length;pt+=2){var _t=q[pt],St=q[pt+1];bt.push(C(_t,St,W,Z,st))}return bt},O=function(q){for(var W=[],Z=0;Z<q.length;Z++){var st=q[Z];W.push(st.x,st.y)}return W},N=function(q){return q.pstyle("width").pfValue*q.pstyle("arrow-scale").pfValue*2},j=function(q,W){mt(W)&&(W=y[W]),y[q]=we({name:q,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(st,bt,pt,_t,St,Et){var Nt=O(L(this.points,pt+2*Et,_t,St)),Pt=y0(st,bt,Nt);return Pt},roughCollide:x,draw:function(st,bt,pt,_t){var St=L(this.points,bt,pt,_t);p.arrowShapeImpl("polygon")(st,St)},spacing:function(st){return 0},gap:N},W)};j("none",{collide:ay,roughCollide:ay,draw:BD,spacing:sp,gap:sp}),j("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),j("arrow","triangle"),j("triangle-backcurve",{points:y.triangle.points,controlPoint:[0,-.15],roughCollide:x,draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=this.controlPoint,St=C(_t[0],_t[1],W,Z,st);p.arrowShapeImpl(this.name)(q,pt,St)},gap:function(q){return N(q)*.8}}),j("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(q,W,Z,st,bt,pt,_t){var St=O(L(this.points,Z+2*_t,st,bt)),Et=O(L(this.pointsTee,Z+2*_t,st,bt)),Nt=y0(q,W,St)||y0(q,W,Et);return Nt},draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=L(this.pointsTee,W,Z,st);p.arrowShapeImpl(this.name)(q,pt,_t)}}),j("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(q,W,Z,st,bt,pt,_t){var St=bt,Et=Math.pow(St.x-q,2)+Math.pow(St.y-W,2)<=Math.pow((Z+2*_t)*this.radius,2),Nt=O(L(this.points,Z+2*_t,st,bt));return y0(q,W,Nt)||Et},draw:function(q,W,Z,st,bt){var pt=L(this.pointsTr,W,Z,st);p.arrowShapeImpl(this.name)(q,pt,st.x,st.y,this.radius*W)},spacing:function(q){return p.getArrowWidth(q.pstyle("width").pfValue,q.pstyle("arrow-scale").value)*this.radius}}),j("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(q,W){var Z=this.baseCrossLinePts.slice(),st=W/q,bt=3,pt=5;return Z[bt]=Z[bt]-st,Z[pt]=Z[pt]-st,Z},collide:function(q,W,Z,st,bt,pt,_t){var St=O(L(this.points,Z+2*_t,st,bt)),Et=O(L(this.crossLinePts(Z,pt),Z+2*_t,st,bt)),Nt=y0(q,W,St)||y0(q,W,Et);return Nt},draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=L(this.crossLinePts(W,bt),W,Z,st);p.arrowShapeImpl(this.name)(q,pt,_t)}}),j("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(q){return N(q)*.525}}),j("circle",{radius:.15,collide:function(q,W,Z,st,bt,pt,_t){var St=bt,Et=Math.pow(St.x-q,2)+Math.pow(St.y-W,2)<=Math.pow((Z+2*_t)*this.radius,2);return Et},draw:function(q,W,Z,st,bt){p.arrowShapeImpl(this.name)(q,st.x,st.y,this.radius*W)},spacing:function(q){return p.getArrowWidth(q.pstyle("width").pfValue,q.pstyle("arrow-scale").value)*this.radius}}),j("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(q){return 1},gap:function(q){return 1}}),j("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),j("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(q){return q.pstyle("width").pfValue*q.pstyle("arrow-scale").value}}),j("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(q){return .95*q.pstyle("width").pfValue*q.pstyle("arrow-scale").value}})};var C4={};C4.projectIntoViewport=function(y,p){var x=this.cy,C=this.findContainerClientCoords(),L=C[0],O=C[1],N=C[4],j=x.pan(),H=x.zoom(),q=((y-L)/N-j.x)/H,W=((p-O)/N-j.y)/H;return[q,W]},C4.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var y=this.container,p=y.getBoundingClientRect(),x=this.cy.window().getComputedStyle(y),C=function(Et){return parseFloat(x.getPropertyValue(Et))},L={left:C("padding-left"),right:C("padding-right"),top:C("padding-top"),bottom:C("padding-bottom")},O={left:C("border-left-width"),right:C("border-right-width"),top:C("border-top-width"),bottom:C("border-bottom-width")},N=y.clientWidth,j=y.clientHeight,H=L.left+L.right,q=L.top+L.bottom,W=O.left+O.right,Z=p.width/(N+W),st=N-H,bt=j-q,pt=p.left+L.left+O.left,_t=p.top+L.top+O.top;return this.containerBB=[pt,_t,st,bt,Z]},C4.invalidateContainerClientCoordsCache=function(){this.containerBB=null},C4.findNearestElement=function(y,p,x,C){return this.findNearestElements(y,p,x,C)[0]},C4.findNearestElements=function(y,p,x,C){var L=this,O=this,N=O.getCachedZSortedEles(),j=[],H=O.cy.zoom(),q=O.cy.hasCompoundNodes(),W=(C?24:8)/H,Z=(C?8:2)/H,st=(C?8:2)/H,bt=1/0,pt,_t;x&&(N=N.interactive);function St(Ut,de){if(Ut.isNode()){if(_t)return;_t=Ut,j.push(Ut)}if(Ut.isEdge()&&(de==null||de<bt))if(pt){if(pt.pstyle("z-compound-depth").value===Ut.pstyle("z-compound-depth").value&&pt.pstyle("z-compound-depth").value===Ut.pstyle("z-compound-depth").value){for(var Yt=0;Yt<j.length;Yt++)if(j[Yt].isEdge()){j[Yt]=Ut,pt=Ut,bt=de??bt;break}}}else j.push(Ut),pt=Ut,bt=de??bt}function Et(Ut){var de=Ut.outerWidth()+2*Z,Yt=Ut.outerHeight()+2*Z,Ee=de/2,Te=Yt/2,ie=Ut.position();if(ie.x-Ee<=y&&y<=ie.x+Ee&&ie.y-Te<=p&&p<=ie.y+Te){var ze=O.nodeShapes[L.getNodeShape(Ut)];if(ze.checkPoint(y,p,0,de,Yt,ie.x,ie.y))return St(Ut,0),!0}}function Nt(Ut){var de=Ut._private,Yt=de.rscratch,Ee=Ut.pstyle("width").pfValue,Te=Ut.pstyle("arrow-scale").value,ie=Ee/2+W,ze=ie*ie,me=ie*2,Tn=de.source,Xn=de.target,yn;if(Yt.edgeType==="segments"||Yt.edgeType==="straight"||Yt.edgeType==="haystack"){for(var nn=Yt.allpts,qe=0;qe+3<nn.length;qe+=2)if(mQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],me)&&ze>(yn=EQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3])))return St(Ut,yn),!0}else if(Yt.edgeType==="bezier"||Yt.edgeType==="multibezier"||Yt.edgeType==="self"||Yt.edgeType==="compound"){for(var nn=Yt.allpts,qe=0;qe+5<Yt.allpts.length;qe+=4)if(vQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],nn[qe+4],nn[qe+5],me)&&ze>(yn=kQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],nn[qe+4],nn[qe+5])))return St(Ut,yn),!0}for(var Tn=Tn||de.source,Xn=Xn||de.target,lr=L.getArrowWidth(Ee,Te),Sn=[{name:"source",x:Yt.arrowStartX,y:Yt.arrowStartY,angle:Yt.srcArrowAngle},{name:"target",x:Yt.arrowEndX,y:Yt.arrowEndY,angle:Yt.tgtArrowAngle},{name:"mid-source",x:Yt.midX,y:Yt.midY,angle:Yt.midsrcArrowAngle},{name:"mid-target",x:Yt.midX,y:Yt.midY,angle:Yt.midtgtArrowAngle}],qe=0;qe<Sn.length;qe++){var or=Sn[qe],pr=O.arrowShapes[Ut.pstyle(or.name+"-arrow-shape").value],kr=Ut.pstyle("width").pfValue;if(pr.roughCollide(y,p,lr,or.angle,{x:or.x,y:or.y},kr,W)&&pr.collide(y,p,lr,or.angle,{x:or.x,y:or.y},kr,W))return St(Ut),!0}q&&j.length>0&&(Et(Tn),Et(Xn))}function Pt(Ut,de,Yt){return fb(Ut,de,Yt)}function qt(Ut,de){var Yt=Ut._private,Ee=st,Te;de?Te=de+"-":Te="",Ut.boundingBox();var ie=Yt.labelBounds[de||"main"],ze=Ut.pstyle(Te+"label").value,me=Ut.pstyle("text-events").strValue==="yes";if(!(!me||!ze)){var yn=Pt(Yt.rscratch,"labelX",de),nn=Pt(Yt.rscratch,"labelY",de),qe=Pt(Yt.rscratch,"labelAngle",de),Tn=Ut.pstyle(Te+"text-margin-x").pfValue,Xn=Ut.pstyle(Te+"text-margin-y").pfValue,lr=ie.x1-Ee-Tn,Sn=ie.x2+Ee-Tn,or=ie.y1-Ee-Xn,pr=ie.y2+Ee-Xn;if(qe){var kr=Math.cos(qe),wr=Math.sin(qe),Cr=function(na,vi){return na=na-yn,vi=vi-nn,{x:na*kr-vi*wr+yn,y:na*wr+vi*kr+nn}},$n=Cr(lr,or),cr=Cr(lr,pr),mr=Cr(Sn,or),Sr=Cr(Sn,pr),gi=[$n.x+Tn,$n.y+Xn,mr.x+Tn,mr.y+Xn,Sr.x+Tn,Sr.y+Xn,cr.x+Tn,cr.y+Xn];if(y0(y,p,gi))return St(Ut),!0}else if(Qx(ie,y,p))return St(Ut),!0}}for(var re=N.length-1;re>=0;re--){var ee=N[re];ee.isNode()?Et(ee)||qt(ee):Nt(ee)||qt(ee)||qt(ee,"source")||qt(ee,"target")}return j},C4.getAllInBox=function(y,p,x,C){var L=this.getCachedZSortedEles().interactive,O=[],N=Math.min(y,x),j=Math.max(y,x),H=Math.min(p,C),q=Math.max(p,C);y=N,x=j,p=H,C=q;for(var W=v0({x1:y,y1:p,x2:x,y2:C}),Z=0;Z<L.length;Z++){var st=L[Z];if(st.isNode()){var bt=st,pt=bt.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});$D(W,pt)&&!jB(pt,W)&&O.push(bt)}else{var _t=st,St=_t._private,Et=St.rscratch;if(Et.startX!=null&&Et.startY!=null&&!Qx(W,Et.startX,Et.startY)||Et.endX!=null&&Et.endY!=null&&!Qx(W,Et.endX,Et.endY))continue;if(Et.edgeType==="bezier"||Et.edgeType==="multibezier"||Et.edgeType==="self"||Et.edgeType==="compound"||Et.edgeType==="segments"||Et.edgeType==="haystack"){for(var Nt=St.rstyle.bezierPts||St.rstyle.linePts||St.rstyle.haystackPts,Pt=!0,qt=0;qt<Nt.length;qt++)if(!wQ(W,Nt[qt])){Pt=!1;break}Pt&&O.push(_t)}else(Et.edgeType==="haystack"||Et.edgeType==="straight")&&O.push(_t)}}return O};var LC={};LC.calculateArrowAngles=function(y){var p=y._private.rscratch,x=p.edgeType==="haystack",C=p.edgeType==="bezier",L=p.edgeType==="multibezier",O=p.edgeType==="segments",N=p.edgeType==="compound",j=p.edgeType==="self",H,q,W,Z,st,bt,Et,Nt;if(x?(W=p.haystackPts[0],Z=p.haystackPts[1],st=p.haystackPts[2],bt=p.haystackPts[3]):(W=p.arrowStartX,Z=p.arrowStartY,st=p.arrowEndX,bt=p.arrowEndY),Et=p.midX,Nt=p.midY,O)H=W-p.segpts[0],q=Z-p.segpts[1];else if(L||N||j||C){var pt=p.allpts,_t=Lf(pt[0],pt[2],pt[4],.1),St=Lf(pt[1],pt[3],pt[5],.1);H=W-_t,q=Z-St}else H=W-Et,q=Z-Nt;p.srcArrowAngle=Y9(H,q);var Et=p.midX,Nt=p.midY;if(x&&(Et=(W+st)/2,Nt=(Z+bt)/2),H=st-W,q=bt-Z,O){var pt=p.allpts;if(pt.length/2%2===0){var Pt=pt.length/2,qt=Pt-2;H=pt[Pt]-pt[qt],q=pt[Pt+1]-pt[qt+1]}else{var Pt=pt.length/2-1,qt=Pt-2,re=Pt+2;H=pt[Pt]-pt[qt],q=pt[Pt+1]-pt[qt+1]}}else if(L||N||j){var pt=p.allpts,ee=p.ctrlpts,Ut,de,Yt,Ee;if(ee.length/2%2===0){var Te=pt.length/2-1,ie=Te+2,ze=ie+2;Ut=Lf(pt[Te],pt[ie],pt[ze],0),de=Lf(pt[Te+1],pt[ie+1],pt[ze+1],0),Yt=Lf(pt[Te],pt[ie],pt[ze],1e-4),Ee=Lf(pt[Te+1],pt[ie+1],pt[ze+1],1e-4)}else{var ie=pt.length/2-1,Te=ie-2,ze=ie+2;Ut=Lf(pt[Te],pt[ie],pt[ze],.4999),de=Lf(pt[Te+1],pt[ie+1],pt[ze+1],.4999),Yt=Lf(pt[Te],pt[ie],pt[ze],.5),Ee=Lf(pt[Te+1],pt[ie+1],pt[ze+1],.5)}H=Yt-Ut,q=Ee-de}if(p.midtgtArrowAngle=Y9(H,q),p.midDispX=H,p.midDispY=q,H*=-1,q*=-1,O){var pt=p.allpts;if(pt.length/2%2!==0){var Pt=pt.length/2-1,re=Pt+2;H=-(pt[re]-pt[Pt]),q=-(pt[re+1]-pt[Pt+1])}}if(p.midsrcArrowAngle=Y9(H,q),O)H=st-p.segpts[p.segpts.length-2],q=bt-p.segpts[p.segpts.length-1];else if(L||N||j||C){var pt=p.allpts,me=pt.length,_t=Lf(pt[me-6],pt[me-4],pt[me-2],.9),St=Lf(pt[me-5],pt[me-3],pt[me-1],.9);H=st-_t,q=bt-St}else H=st-Et,q=bt-Nt;p.tgtArrowAngle=Y9(H,q)},LC.getArrowWidth=LC.getArrowHeight=function(y,p){var x=this.arrowWidthCache=this.arrowWidthCache||{},C=x[y+", "+p];return C||(C=Math.max(Math.pow(y*13.37,.9),29)*p,x[y+", "+p]=C,C)};var Q1={};Q1.findMidptPtsEtc=function(y,p){var x=p.posPts,C=p.intersectionPts,L=p.vectorNormInverse,O,N=y.pstyle("source-endpoint"),j=y.pstyle("target-endpoint"),H=N.units!=null&&j.units!=null,q=function(re,ee,Ut,de){var Yt=de-ee,Ee=Ut-re,Te=Math.sqrt(Ee*Ee+Yt*Yt);return{x:-Yt/Te,y:Ee/Te}},W=y.pstyle("edge-distances").value;switch(W){case"node-position":O=x;break;case"intersection":O=C;break;case"endpoints":{if(H){var Z=this.manualEndptToPx(y.source()[0],N),st=E(Z,2),bt=st[0],pt=st[1],_t=this.manualEndptToPx(y.target()[0],j),St=E(_t,2),Et=St[0],Nt=St[1],Pt={x1:bt,y1:pt,x2:Et,y2:Nt};L=q(bt,pt,Et,Nt),O=Pt}else Gc("Edge ".concat(y.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),O=C;break}}return{midptPts:O,vectorNormInverse:L}},Q1.findHaystackPoints=function(y){for(var p=0;p<y.length;p++){var x=y[p],C=x._private,L=C.rscratch;if(!L.haystack){var O=Math.random()*2*Math.PI;L.source={x:Math.cos(O),y:Math.sin(O)},O=Math.random()*2*Math.PI,L.target={x:Math.cos(O),y:Math.sin(O)}}var N=C.source,j=C.target,H=N.position(),q=j.position(),W=N.width(),Z=j.width(),st=N.height(),bt=j.height(),pt=x.pstyle("haystack-radius").value,_t=pt/2;L.haystackPts=L.allpts=[L.source.x*W*_t+H.x,L.source.y*st*_t+H.y,L.target.x*Z*_t+q.x,L.target.y*bt*_t+q.y],L.midX=(L.allpts[0]+L.allpts[2])/2,L.midY=(L.allpts[1]+L.allpts[3])/2,L.edgeType="haystack",L.haystack=!0,this.storeEdgeProjections(x),this.calculateArrowAngles(x),this.recalculateEdgeLabelProjections(x),this.calculateLabelAngles(x)}},Q1.findSegmentsPoints=function(y,p){var x=y._private.rscratch,C=y.pstyle("segment-weights"),L=y.pstyle("segment-distances"),O=Math.min(C.pfValue.length,L.pfValue.length);x.edgeType="segments",x.segpts=[];for(var N=0;N<O;N++){var j=C.pfValue[N],H=L.pfValue[N],q=1-j,W=j,Z=this.findMidptPtsEtc(y,p),st=Z.midptPts,bt=Z.vectorNormInverse,pt={x:st.x1*q+st.x2*W,y:st.y1*q+st.y2*W};x.segpts.push(pt.x+bt.x*H,pt.y+bt.y*H)}},Q1.findLoopPoints=function(y,p,x,C){var L=y._private.rscratch,O=p.dirCounts,N=p.srcPos,j=y.pstyle("control-point-distances"),H=j?j.pfValue[0]:void 0,q=y.pstyle("loop-direction").pfValue,W=y.pstyle("loop-sweep").pfValue,Z=y.pstyle("control-point-step-size").pfValue;L.edgeType="self";var st=x,bt=Z;C&&(st=0,bt=H);var pt=q-Math.PI/2,_t=pt-W/2,St=pt+W/2,Et=q+"_"+W;st=O[Et]===void 0?O[Et]=0:++O[Et],L.ctrlpts=[N.x+Math.cos(_t)*1.4*bt*(st/3+1),N.y+Math.sin(_t)*1.4*bt*(st/3+1),N.x+Math.cos(St)*1.4*bt*(st/3+1),N.y+Math.sin(St)*1.4*bt*(st/3+1)]},Q1.findCompoundLoopPoints=function(y,p,x,C){var L=y._private.rscratch;L.edgeType="compound";var O=p.srcPos,N=p.tgtPos,j=p.srcW,H=p.srcH,q=p.tgtW,W=p.tgtH,Z=y.pstyle("control-point-step-size").pfValue,st=y.pstyle("control-point-distances"),bt=st?st.pfValue[0]:void 0,pt=x,_t=Z;C&&(pt=0,_t=bt);var St=50,Et={x:O.x-j/2,y:O.y-H/2},Nt={x:N.x-q/2,y:N.y-W/2},Pt={x:Math.min(Et.x,Nt.x),y:Math.min(Et.y,Nt.y)},qt=.5,re=Math.max(qt,Math.log(j*.01)),ee=Math.max(qt,Math.log(q*.01));L.ctrlpts=[Pt.x,Pt.y-(1+Math.pow(St,1.12)/100)*_t*(pt/3+1)*re,Pt.x-(1+Math.pow(St,1.12)/100)*_t*(pt/3+1)*ee,Pt.y]},Q1.findStraightEdgePoints=function(y){y._private.rscratch.edgeType="straight"},Q1.findBezierPoints=function(y,p,x,C,L){var O=y._private.rscratch,N=y.pstyle("control-point-step-size").pfValue,j=y.pstyle("control-point-distances"),H=y.pstyle("control-point-weights"),q=j&&H?Math.min(j.value.length,H.value.length):1,W=j?j.pfValue[0]:void 0,Z=H.value[0],st=C;O.edgeType=st?"multibezier":"bezier",O.ctrlpts=[];for(var bt=0;bt<q;bt++){var pt=(.5-p.eles.length/2+x)*N*(L?-1:1),_t=void 0,St=FB(pt);st&&(W=j?j.pfValue[bt]:N,Z=H.value[bt]),C?_t=W:_t=W!==void 0?St*W:void 0;var Et=_t!==void 0?_t:pt,Nt=1-Z,Pt=Z,qt=this.findMidptPtsEtc(y,p),re=qt.midptPts,ee=qt.vectorNormInverse,Ut={x:re.x1*Nt+re.x2*Pt,y:re.y1*Nt+re.y2*Pt};O.ctrlpts.push(Ut.x+ee.x*Et,Ut.y+ee.y*Et)}},Q1.findTaxiPoints=function(y,p){var x=y._private.rscratch;x.edgeType="segments";var C="vertical",L="horizontal",O="leftward",N="rightward",j="downward",H="upward",q="auto",W=p.posPts,Z=p.srcW,st=p.srcH,bt=p.tgtW,pt=p.tgtH,_t=y.pstyle("edge-distances").value,St=_t!=="node-position",Et=y.pstyle("taxi-direction").value,Nt=Et,Pt=y.pstyle("taxi-turn"),qt=Pt.units==="%",re=Pt.pfValue,ee=re<0,Ut=y.pstyle("taxi-turn-min-distance").pfValue,de=St?(Z+bt)/2:0,Yt=St?(st+pt)/2:0,Ee=W.x2-W.x1,Te=W.y2-W.y1,ie=function(hr,us){return hr>0?Math.max(hr-us,0):Math.min(hr+us,0)},ze=ie(Ee,de),me=ie(Te,Yt),yn=!1;Nt===q?Et=Math.abs(ze)>Math.abs(me)?L:C:Nt===H||Nt===j?(Et=C,yn=!0):(Nt===O||Nt===N)&&(Et=L,yn=!0);var nn=Et===C,qe=nn?me:ze,Tn=nn?Te:Ee,Xn=FB(Tn),lr=!1;!(yn&&(qt||ee))&&(Nt===j&&Tn<0||Nt===H&&Tn>0||Nt===O&&Tn>0||Nt===N&&Tn<0)&&(Xn*=-1,qe=Xn*Math.abs(qe),lr=!0);var Sn;if(qt){var or=re<0?1+re:re;Sn=or*qe}else{var pr=re<0?qe:0;Sn=pr+re*Xn}var kr=function(hr){return Math.abs(hr)<Ut||Math.abs(hr)>=Math.abs(qe)},wr=kr(Sn),Cr=kr(Math.abs(qe)-Math.abs(Sn)),$n=wr||Cr;if($n&&!lr)if(nn){var cr=Math.abs(Tn)<=st/2,mr=Math.abs(Ee)<=bt/2;if(cr){var Sr=(W.x1+W.x2)/2,gi=W.y1,ss=W.y2;x.segpts=[Sr,gi,Sr,ss]}else if(mr){var na=(W.y1+W.y2)/2,vi=W.x1,si=W.x2;x.segpts=[vi,na,si,na]}else x.segpts=[W.x1,W.y2]}else{var Qi=Math.abs(Tn)<=Z/2,ks=Math.abs(Te)<=pt/2;if(Qi){var as=(W.y1+W.y2)/2,Es=W.x1,eo=W.x2;x.segpts=[Es,as,eo,as]}else if(ks){var Ta=(W.x1+W.x2)/2,pa=W.y1,mo=W.y2;x.segpts=[Ta,pa,Ta,mo]}else x.segpts=[W.x2,W.y1]}else if(nn){var Kn=W.y1+Sn+(St?st/2*Xn:0),G=W.x1,Vn=W.x2;x.segpts=[G,Kn,Vn,Kn]}else{var gr=W.x1+Sn+(St?Z/2*Xn:0),nr=W.y1,Be=W.y2;x.segpts=[gr,nr,gr,Be]}},Q1.tryToCorrectInvalidPoints=function(y,p){var x=y._private.rscratch;if(x.edgeType==="bezier"){var C=p.srcPos,L=p.tgtPos,O=p.srcW,N=p.srcH,j=p.tgtW,H=p.tgtH,q=p.srcShape,W=p.tgtShape,Z=!Q(x.startX)||!Q(x.startY),st=!Q(x.arrowStartX)||!Q(x.arrowStartY),bt=!Q(x.endX)||!Q(x.endY),pt=!Q(x.arrowEndX)||!Q(x.arrowEndY),_t=3,St=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth,Et=_t*St,Nt=w4({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.startX,y:x.startY}),Pt=Nt<Et,qt=w4({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.endX,y:x.endY}),re=qt<Et,ee=!1;if(Z||st||Pt){ee=!0;var Ut={x:x.ctrlpts[0]-C.x,y:x.ctrlpts[1]-C.y},de=Math.sqrt(Ut.x*Ut.x+Ut.y*Ut.y),Yt={x:Ut.x/de,y:Ut.y/de},Ee=Math.max(O,N),Te={x:x.ctrlpts[0]+Yt.x*2*Ee,y:x.ctrlpts[1]+Yt.y*2*Ee},ie=q.intersectLine(C.x,C.y,O,N,Te.x,Te.y,0);Pt?(x.ctrlpts[0]=x.ctrlpts[0]+Yt.x*(Et-Nt),x.ctrlpts[1]=x.ctrlpts[1]+Yt.y*(Et-Nt)):(x.ctrlpts[0]=ie[0]+Yt.x*Et,x.ctrlpts[1]=ie[1]+Yt.y*Et)}if(bt||pt||re){ee=!0;var ze={x:x.ctrlpts[0]-L.x,y:x.ctrlpts[1]-L.y},me=Math.sqrt(ze.x*ze.x+ze.y*ze.y),yn={x:ze.x/me,y:ze.y/me},nn=Math.max(O,N),qe={x:x.ctrlpts[0]+yn.x*2*nn,y:x.ctrlpts[1]+yn.y*2*nn},Tn=W.intersectLine(L.x,L.y,j,H,qe.x,qe.y,0);re?(x.ctrlpts[0]=x.ctrlpts[0]+yn.x*(Et-qt),x.ctrlpts[1]=x.ctrlpts[1]+yn.y*(Et-qt)):(x.ctrlpts[0]=Tn[0]+yn.x*Et,x.ctrlpts[1]=Tn[1]+yn.y*Et)}ee&&this.findEndpoints(y)}},Q1.storeAllpts=function(y){var p=y._private.rscratch;if(p.edgeType==="multibezier"||p.edgeType==="bezier"||p.edgeType==="self"||p.edgeType==="compound"){p.allpts=[],p.allpts.push(p.startX,p.startY);for(var x=0;x+1<p.ctrlpts.length;x+=2)p.allpts.push(p.ctrlpts[x],p.ctrlpts[x+1]),x+3<p.ctrlpts.length&&p.allpts.push((p.ctrlpts[x]+p.ctrlpts[x+2])/2,(p.ctrlpts[x+1]+p.ctrlpts[x+3])/2);p.allpts.push(p.endX,p.endY);var C,L;p.ctrlpts.length/2%2===0?(C=p.allpts.length/2-1,p.midX=p.allpts[C],p.midY=p.allpts[C+1]):(C=p.allpts.length/2-3,L=.5,p.midX=Lf(p.allpts[C],p.allpts[C+2],p.allpts[C+4],L),p.midY=Lf(p.allpts[C+1],p.allpts[C+3],p.allpts[C+5],L))}else if(p.edgeType==="straight")p.allpts=[p.startX,p.startY,p.endX,p.endY],p.midX=(p.startX+p.endX+p.arrowStartX+p.arrowEndX)/4,p.midY=(p.startY+p.endY+p.arrowStartY+p.arrowEndY)/4;else if(p.edgeType==="segments")if(p.allpts=[],p.allpts.push(p.startX,p.startY),p.allpts.push.apply(p.allpts,p.segpts),p.allpts.push(p.endX,p.endY),p.segpts.length%4===0){var O=p.segpts.length/2,N=O-2;p.midX=(p.segpts[N]+p.segpts[O])/2,p.midY=(p.segpts[N+1]+p.segpts[O+1])/2}else{var j=p.segpts.length/2-1;p.midX=p.segpts[j],p.midY=p.segpts[j+1]}},Q1.checkForInvalidEdgeWarning=function(y){var p=y[0]._private.rscratch;p.nodesOverlap||Q(p.startX)&&Q(p.startY)&&Q(p.endX)&&Q(p.endY)?p.loggedErr=!1:p.loggedErr||(p.loggedErr=!0,Gc("Edge `"+y.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},Q1.findEdgeControlPoints=function(y){var p=this;if(!(!y||y.length===0)){for(var x=this,C=x.cy,L=C.hasCompoundNodes(),O={map:new F2,get:function(Ut){var de=this.map.get(Ut[0]);return de!=null?de.get(Ut[1]):null},set:function(Ut,de){var Yt=this.map.get(Ut[0]);Yt==null&&(Yt=new F2,this.map.set(Ut[0],Yt)),Yt.set(Ut[1],de)}},N=[],j=[],H=0;H<y.length;H++){var q=y[H],W=q._private,Z=q.pstyle("curve-style").value;if(!(q.removed()||!q.takesUpSpace())){if(Z==="haystack"){j.push(q);continue}var st=Z==="unbundled-bezier"||Z==="segments"||Z==="straight"||Z==="straight-triangle"||Z==="taxi",bt=Z==="unbundled-bezier"||Z==="bezier",pt=W.source,_t=W.target,St=pt.poolIndex(),Et=_t.poolIndex(),Nt=[St,Et].sort(),Pt=O.get(Nt);Pt==null&&(Pt={eles:[]},O.set(Nt,Pt),N.push(Nt)),Pt.eles.push(q),st&&(Pt.hasUnbundled=!0),bt&&(Pt.hasBezier=!0)}}for(var qt=function(Ut){var de=N[Ut],Yt=O.get(de),Ee=void 0;if(!Yt.hasUnbundled){var Te=Yt.eles[0].parallelEdges().filter(function(mo){return mo.isBundledBezier()});G9(Yt.eles),Te.forEach(function(mo){return Yt.eles.push(mo)}),Yt.eles.sort(function(mo,Kn){return mo.poolIndex()-Kn.poolIndex()})}var ie=Yt.eles[0],ze=ie.source(),me=ie.target();if(ze.poolIndex()>me.poolIndex()){var yn=ze;ze=me,me=yn}var nn=Yt.srcPos=ze.position(),qe=Yt.tgtPos=me.position(),Tn=Yt.srcW=ze.outerWidth(),Xn=Yt.srcH=ze.outerHeight(),lr=Yt.tgtW=me.outerWidth(),Sn=Yt.tgtH=me.outerHeight(),or=Yt.srcShape=x.nodeShapes[p.getNodeShape(ze)],pr=Yt.tgtShape=x.nodeShapes[p.getNodeShape(me)];Yt.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var kr=0;kr<Yt.eles.length;kr++){var wr=Yt.eles[kr],Cr=wr[0]._private.rscratch,$n=wr.pstyle("curve-style").value,cr=$n==="unbundled-bezier"||$n==="segments"||$n==="taxi",mr=!ze.same(wr.source());if(!Yt.calculatedIntersection&&ze!==me&&(Yt.hasBezier||Yt.hasUnbundled)){Yt.calculatedIntersection=!0;var Sr=or.intersectLine(nn.x,nn.y,Tn,Xn,qe.x,qe.y,0),gi=Yt.srcIntn=Sr,ss=pr.intersectLine(qe.x,qe.y,lr,Sn,nn.x,nn.y,0),na=Yt.tgtIntn=ss,vi=Yt.intersectionPts={x1:Sr[0],x2:ss[0],y1:Sr[1],y2:ss[1]},si=Yt.posPts={x1:nn.x,x2:qe.x,y1:nn.y,y2:qe.y},Qi=ss[1]-Sr[1],ks=ss[0]-Sr[0],as=Math.sqrt(ks*ks+Qi*Qi),Es=Yt.vector={x:ks,y:Qi},eo=Yt.vectorNorm={x:Es.x/as,y:Es.y/as},Ta={x:-eo.y,y:eo.x};Yt.nodesOverlap=!Q(as)||pr.checkPoint(Sr[0],Sr[1],0,lr,Sn,qe.x,qe.y)||or.checkPoint(ss[0],ss[1],0,Tn,Xn,nn.x,nn.y),Yt.vectorNormInverse=Ta,Ee={nodesOverlap:Yt.nodesOverlap,dirCounts:Yt.dirCounts,calculatedIntersection:!0,hasBezier:Yt.hasBezier,hasUnbundled:Yt.hasUnbundled,eles:Yt.eles,srcPos:qe,tgtPos:nn,srcW:lr,srcH:Sn,tgtW:Tn,tgtH:Xn,srcIntn:na,tgtIntn:gi,srcShape:pr,tgtShape:or,posPts:{x1:si.x2,y1:si.y2,x2:si.x1,y2:si.y1},intersectionPts:{x1:vi.x2,y1:vi.y2,x2:vi.x1,y2:vi.y1},vector:{x:-Es.x,y:-Es.y},vectorNorm:{x:-eo.x,y:-eo.y},vectorNormInverse:{x:-Ta.x,y:-Ta.y}}}var pa=mr?Ee:Yt;Cr.nodesOverlap=pa.nodesOverlap,Cr.srcIntn=pa.srcIntn,Cr.tgtIntn=pa.tgtIntn,L&&(ze.isParent()||ze.isChild()||me.isParent()||me.isChild())&&(ze.parents().anySame(me)||me.parents().anySame(ze)||ze.same(me)&&ze.isParent())?p.findCompoundLoopPoints(wr,pa,kr,cr):ze===me?p.findLoopPoints(wr,pa,kr,cr):$n==="segments"?p.findSegmentsPoints(wr,pa):$n==="taxi"?p.findTaxiPoints(wr,pa):$n==="straight"||!cr&&Yt.eles.length%2===1&&kr===Math.floor(Yt.eles.length/2)?p.findStraightEdgePoints(wr):p.findBezierPoints(wr,pa,kr,cr,mr),p.findEndpoints(wr),p.tryToCorrectInvalidPoints(wr,pa),p.checkForInvalidEdgeWarning(wr),p.storeAllpts(wr),p.storeEdgeProjections(wr),p.calculateArrowAngles(wr),p.recalculateEdgeLabelProjections(wr),p.calculateLabelAngles(wr)}},re=0;re<N.length;re++)qt(re);this.findHaystackPoints(j)}};function xj(y){var p=[];if(y!=null){for(var x=0;x<y.length;x+=2){var C=y[x],L=y[x+1];p.push({x:C,y:L})}return p}}Q1.getSegmentPoints=function(y){var p=y[0]._private.rscratch,x=p.edgeType;if(x==="segments")return this.recalculateRenderedStyle(y),xj(p.segpts)},Q1.getControlPoints=function(y){var p=y[0]._private.rscratch,x=p.edgeType;if(x==="bezier"||x==="multibezier"||x==="self"||x==="compound")return this.recalculateRenderedStyle(y),xj(p.ctrlpts)},Q1.getEdgeMidpoint=function(y){var p=y[0]._private.rscratch;return this.recalculateRenderedStyle(y),{x:p.midX,y:p.midY}};var eE={};eE.manualEndptToPx=function(y,p){var x=this,C=y.position(),L=y.outerWidth(),O=y.outerHeight();if(p.value.length===2){var N=[p.pfValue[0],p.pfValue[1]];return p.units[0]==="%"&&(N[0]=N[0]*L),p.units[1]==="%"&&(N[1]=N[1]*O),N[0]+=C.x,N[1]+=C.y,N}else{var j=p.pfValue[0];j=-Math.PI/2+j;var H=2*Math.max(L,O),q=[C.x+Math.cos(j)*H,C.y+Math.sin(j)*H];return x.nodeShapes[this.getNodeShape(y)].intersectLine(C.x,C.y,L,O,q[0],q[1],0)}},eE.findEndpoints=function(y){var p=this,x,C=y.source()[0],L=y.target()[0],O=C.position(),N=L.position(),j=y.pstyle("target-arrow-shape").value,H=y.pstyle("source-arrow-shape").value,q=y.pstyle("target-distance-from-node").pfValue,W=y.pstyle("source-distance-from-node").pfValue,Z=y.pstyle("curve-style").value,st=y._private.rscratch,bt=st.edgeType,pt=Z==="taxi",_t=bt==="self"||bt==="compound",St=bt==="bezier"||bt==="multibezier"||_t,Et=bt!=="bezier",Nt=bt==="straight"||bt==="segments",Pt=bt==="segments",qt=St||Et||Nt,re=_t||pt,ee=y.pstyle("source-endpoint"),Ut=re?"outside-to-node":ee.value,de=y.pstyle("target-endpoint"),Yt=re?"outside-to-node":de.value;st.srcManEndpt=ee,st.tgtManEndpt=de;var Ee,Te,ie,ze;if(St){var me=[st.ctrlpts[0],st.ctrlpts[1]],yn=Et?[st.ctrlpts[st.ctrlpts.length-2],st.ctrlpts[st.ctrlpts.length-1]]:me;Ee=yn,Te=me}else if(Nt){var nn=Pt?st.segpts.slice(0,2):[N.x,N.y],qe=Pt?st.segpts.slice(st.segpts.length-2):[O.x,O.y];Ee=qe,Te=nn}if(Yt==="inside-to-node")x=[N.x,N.y];else if(de.units)x=this.manualEndptToPx(L,de);else if(Yt==="outside-to-line")x=st.tgtIntn;else if(Yt==="outside-to-node"||Yt==="outside-to-node-or-label"?ie=Ee:(Yt==="outside-to-line"||Yt==="outside-to-line-or-label")&&(ie=[O.x,O.y]),x=p.nodeShapes[this.getNodeShape(L)].intersectLine(N.x,N.y,L.outerWidth(),L.outerHeight(),ie[0],ie[1],0),Yt==="outside-to-node-or-label"||Yt==="outside-to-line-or-label"){var Tn=L._private.rscratch,Xn=Tn.labelWidth,lr=Tn.labelHeight,Sn=Tn.labelX,or=Tn.labelY,pr=Xn/2,kr=lr/2,wr=L.pstyle("text-valign").value;wr==="top"?or-=kr:wr==="bottom"&&(or+=kr);var Cr=L.pstyle("text-halign").value;Cr==="left"?Sn-=pr:Cr==="right"&&(Sn+=pr);var $n=B8(ie[0],ie[1],[Sn-pr,or-kr,Sn+pr,or-kr,Sn+pr,or+kr,Sn-pr,or+kr],N.x,N.y);if($n.length>0){var cr=O,mr=m4(cr,Yx(x)),Sr=m4(cr,Yx($n)),gi=mr;if(Sr<mr&&(x=$n,gi=Sr),$n.length>2){var ss=m4(cr,{x:$n[2],y:$n[3]});ss<gi&&(x=[$n[2],$n[3]])}}}var na=tC(x,Ee,p.arrowShapes[j].spacing(y)+q),vi=tC(x,Ee,p.arrowShapes[j].gap(y)+q);if(st.endX=vi[0],st.endY=vi[1],st.arrowEndX=na[0],st.arrowEndY=na[1],Ut==="inside-to-node")x=[O.x,O.y];else if(ee.units)x=this.manualEndptToPx(C,ee);else if(Ut==="outside-to-line")x=st.srcIntn;else if(Ut==="outside-to-node"||Ut==="outside-to-node-or-label"?ze=Te:(Ut==="outside-to-line"||Ut==="outside-to-line-or-label")&&(ze=[N.x,N.y]),x=p.nodeShapes[this.getNodeShape(C)].intersectLine(O.x,O.y,C.outerWidth(),C.outerHeight(),ze[0],ze[1],0),Ut==="outside-to-node-or-label"||Ut==="outside-to-line-or-label"){var si=C._private.rscratch,Qi=si.labelWidth,ks=si.labelHeight,as=si.labelX,Es=si.labelY,eo=Qi/2,Ta=ks/2,pa=C.pstyle("text-valign").value;pa==="top"?Es-=Ta:pa==="bottom"&&(Es+=Ta);var mo=C.pstyle("text-halign").value;mo==="left"?as-=eo:mo==="right"&&(as+=eo);var Kn=B8(ze[0],ze[1],[as-eo,Es-Ta,as+eo,Es-Ta,as+eo,Es+Ta,as-eo,Es+Ta],O.x,O.y);if(Kn.length>0){var G=N,Vn=m4(G,Yx(x)),gr=m4(G,Yx(Kn)),nr=Vn;if(gr<Vn&&(x=[Kn[0],Kn[1]],nr=gr),Kn.length>2){var Be=m4(G,{x:Kn[2],y:Kn[3]});Be<nr&&(x=[Kn[2],Kn[3]])}}}var Ls=tC(x,Te,p.arrowShapes[H].spacing(y)+W),hr=tC(x,Te,p.arrowShapes[H].gap(y)+W);st.startX=hr[0],st.startY=hr[1],st.arrowStartX=Ls[0],st.arrowStartY=Ls[1],qt&&(!Q(st.startX)||!Q(st.startY)||!Q(st.endX)||!Q(st.endY)?st.badLine=!0:st.badLine=!1)},eE.getSourceEndpoint=function(y){var p=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),p.edgeType){case"haystack":return{x:p.haystackPts[0],y:p.haystackPts[1]};default:return{x:p.arrowStartX,y:p.arrowStartY}}},eE.getTargetEndpoint=function(y){var p=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),p.edgeType){case"haystack":return{x:p.haystackPts[2],y:p.haystackPts[3]};default:return{x:p.arrowEndX,y:p.arrowEndY}}};var mM={};function kj(y,p,x){for(var C=function(q,W,Z,st){return Lf(q,W,Z,st)},L=p._private,O=L.rstyle.bezierPts,N=0;N<y.bezierProjPcts.length;N++){var j=y.bezierProjPcts[N];O.push({x:C(x[0],x[2],x[4],j),y:C(x[1],x[3],x[5],j)})}}mM.storeEdgeProjections=function(y){var p=y._private,x=p.rscratch,C=x.edgeType;if(p.rstyle.bezierPts=null,p.rstyle.linePts=null,p.rstyle.haystackPts=null,C==="multibezier"||C==="bezier"||C==="self"||C==="compound"){p.rstyle.bezierPts=[];for(var L=0;L+5<x.allpts.length;L+=4)kj(this,y,x.allpts.slice(L,L+6))}else if(C==="segments")for(var O=p.rstyle.linePts=[],L=0;L+1<x.allpts.length;L+=2)O.push({x:x.allpts[L],y:x.allpts[L+1]});else if(C==="haystack"){var N=x.haystackPts;p.rstyle.haystackPts=[{x:N[0],y:N[1]},{x:N[2],y:N[3]}]}p.rstyle.arrowWidth=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth},mM.recalculateEdgeProjections=function(y){this.findEdgeControlPoints(y)};var j2={};j2.recalculateNodeLabelProjection=function(y){var p=y.pstyle("label").strValue;if(!Ft(p)){var x,C,L=y._private,O=y.width(),N=y.height(),j=y.padding(),H=y.position(),q=y.pstyle("text-halign").strValue,W=y.pstyle("text-valign").strValue,Z=L.rscratch,st=L.rstyle;switch(q){case"left":x=H.x-O/2-j;break;case"right":x=H.x+O/2+j;break;default:x=H.x}switch(W){case"top":C=H.y-N/2-j;break;case"bottom":C=H.y+N/2+j;break;default:C=H.y}Z.labelX=x,Z.labelY=C,st.labelX=x,st.labelY=C,this.calculateLabelAngles(y),this.applyLabelDimensions(y)}};var Ej=function(p,x){var C=Math.atan(x/p);return p===0&&C<0&&(C=C*-1),C},DC=function(p,x){var C=x.x-p.x,L=x.y-p.y;return Ej(C,L)},Uet=function(p,x,C,L){var O=P8(0,L-.001,1),N=P8(0,L+.001,1),j=Xx(p,x,C,O),H=Xx(p,x,C,N);return DC(j,H)};j2.recalculateEdgeLabelProjections=function(y){var p,x=y._private,C=x.rscratch,L=this,O={mid:y.pstyle("label").strValue,source:y.pstyle("source-label").strValue,target:y.pstyle("target-label").strValue};if(O.mid||O.source||O.target){p={x:C.midX,y:C.midY};var N=function(Z,st,bt){cy(x.rscratch,Z,st,bt),cy(x.rstyle,Z,st,bt)};N("labelX",null,p.x),N("labelY",null,p.y);var j=Ej(C.midDispX,C.midDispY);N("labelAutoAngle",null,j);var H=function W(){if(W.cache)return W.cache;for(var Z=[],st=0;st+5<C.allpts.length;st+=4){var bt={x:C.allpts[st],y:C.allpts[st+1]},pt={x:C.allpts[st+2],y:C.allpts[st+3]},_t={x:C.allpts[st+4],y:C.allpts[st+5]};Z.push({p0:bt,p1:pt,p2:_t,startDist:0,length:0,segments:[]})}var St=x.rstyle.bezierPts,Et=L.bezierProjPcts.length;function Nt(Ut,de,Yt,Ee,Te){var ie=w4(de,Yt),ze=Ut.segments[Ut.segments.length-1],me={p0:de,p1:Yt,t0:Ee,t1:Te,startDist:ze?ze.startDist+ze.length:0,length:ie};Ut.segments.push(me),Ut.length+=ie}for(var Pt=0;Pt<Z.length;Pt++){var qt=Z[Pt],re=Z[Pt-1];re&&(qt.startDist=re.startDist+re.length),Nt(qt,qt.p0,St[Pt*Et],0,L.bezierProjPcts[0]);for(var ee=0;ee<Et-1;ee++)Nt(qt,St[Pt*Et+ee],St[Pt*Et+ee+1],L.bezierProjPcts[ee],L.bezierProjPcts[ee+1]);Nt(qt,St[Pt*Et+Et-1],qt.p2,L.bezierProjPcts[Et-1],1)}return W.cache=Z},q=function(Z){var st,bt=Z==="source";if(O[Z]){var pt=y.pstyle(Z+"-text-offset").pfValue;switch(C.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var _t=H(),St,Et=0,Nt=0,Pt=0;Pt<_t.length;Pt++){for(var qt=_t[bt?Pt:_t.length-1-Pt],re=0;re<qt.segments.length;re++){var ee=qt.segments[bt?re:qt.segments.length-1-re],Ut=Pt===_t.length-1&&re===qt.segments.length-1;if(Et=Nt,Nt+=ee.length,Nt>=pt||Ut){St={cp:qt,segment:ee};break}}if(St)break}var de=St.cp,Yt=St.segment,Ee=(pt-Et)/Yt.length,Te=Yt.t1-Yt.t0,ie=bt?Yt.t0+Te*Ee:Yt.t1-Te*Ee;ie=P8(0,ie,1),p=Xx(de.p0,de.p1,de.p2,ie),st=Uet(de.p0,de.p1,de.p2,ie);break}case"straight":case"segments":case"haystack":{for(var ze=0,me,yn,nn,qe,Tn=C.allpts.length,Xn=0;Xn+3<Tn&&(bt?(nn={x:C.allpts[Xn],y:C.allpts[Xn+1]},qe={x:C.allpts[Xn+2],y:C.allpts[Xn+3]}):(nn={x:C.allpts[Tn-2-Xn],y:C.allpts[Tn-1-Xn]},qe={x:C.allpts[Tn-4-Xn],y:C.allpts[Tn-3-Xn]}),me=w4(nn,qe),yn=ze,ze+=me,!(ze>=pt));Xn+=2);var lr=pt-yn,Sn=lr/me;Sn=P8(0,Sn,1),p=fQ(nn,qe,Sn),st=DC(nn,qe);break}}N("labelX",Z,p.x),N("labelY",Z,p.y),N("labelAutoAngle",Z,st)}};q("source"),q("target"),this.applyLabelDimensions(y)}},j2.applyLabelDimensions=function(y){this.applyPrefixedLabelDimensions(y),y.isEdge()&&(this.applyPrefixedLabelDimensions(y,"source"),this.applyPrefixedLabelDimensions(y,"target"))},j2.applyPrefixedLabelDimensions=function(y,p){var x=y._private,C=this.getLabelText(y,p),L=this.calculateLabelDimensions(y,C),O=y.pstyle("line-height").pfValue,N=y.pstyle("text-wrap").strValue,j=fb(x.rscratch,"labelWrapCachedLines",p)||[],H=N!=="wrap"?1:Math.max(j.length,1),q=L.height/H,W=q*O,Z=L.width,st=L.height+(H-1)*(O-1)*q;cy(x.rstyle,"labelWidth",p,Z),cy(x.rscratch,"labelWidth",p,Z),cy(x.rstyle,"labelHeight",p,st),cy(x.rscratch,"labelHeight",p,st),cy(x.rscratch,"labelLineHeight",p,W)},j2.getLabelText=function(y,p){var x=y._private,C=p?p+"-":"",L=y.pstyle(C+"label").strValue,O=y.pstyle("text-transform").value,N=function(lr,Sn){return Sn?(cy(x.rscratch,lr,p,Sn),Sn):fb(x.rscratch,lr,p)};if(!L)return"";O=="none"||(O=="uppercase"?L=L.toUpperCase():O=="lowercase"&&(L=L.toLowerCase()));var j=y.pstyle("text-wrap").value;if(j==="wrap"){var H=N("labelKey");if(H!=null&&N("labelWrapKey")===H)return N("labelWrapCachedText");for(var q="​",W=L.split(`
1638 Expecting `+Ct.join(", ")+", got '"+(this.terminals_[K]||K)+"'":kt="Parse error on line "+(nt+1)+": Unexpected "+(K==wt?"end of input":"'"+(this.terminals_[K]||K)+"'"),this.parseError(kt,{text:ct.match,token:this.terminals_[K]||K,line:ct.yylineno,loc:gt,expected:Ct})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+yt+", token: "+K);switch(V[0]){case 1:M.push(K),R.push(ct.yytext),B.push(ct.yylloc),M.push(V[1]),K=null,ot=ct.yyleng,Y=ct.yytext,nt=ct.yylineno,gt=ct.yylloc;break;case 2:if(xt=this.productions_[V[1]][1],It.$=R[R.length-xt],It._$={first_line:B[B.length-(xt||1)].first_line,last_line:B[B.length-1].last_line,first_column:B[B.length-(xt||1)].first_column,last_column:B[B.length-1].last_column},Q&&(It._$.range=[B[B.length-(xt||1)].range[0],B[B.length-1].range[1]]),Ot=this.performAction.apply(It,[Y,ot,nt,rt.yy,V[1],R,B].concat(mt)),typeof Ot<"u")return Ot;xt&&(M=M.slice(0,-1*xt*2),R=R.slice(0,-1*xt),B=B.slice(0,-1*xt)),M.push(this.productions_[V[1]][0]),R.push(It.$),B.push(It._$),Ft=z[M[M.length-2]][M[M.length-1]],M.push(Ft);break;case 3:return!0}}return!0}},v=function(){var E={EOF:1,parseError:function(_,M){if(this.yy.parser)this.yy.parser.parseError(_,M);else throw new Error(_)},setInput:function(S,_){return this.yy=_||this.yy||{},this._input=S,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 S=this._input[0];this.yytext+=S,this.yyleng++,this.offset++,this.match+=S,this.matched+=S;var _=S.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),S},unput:function(S){var _=S.length,M=S.split(/(?:\r\n?|\n)/g);this._input=S+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;var F=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===F.length?this.yylloc.first_column:0)+F[F.length-M.length].length-M[0].length:this.yylloc.first_column-_},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-_]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
1640 `+_+"^"},test_match:function(S,_){var M,F,R;if(this.options.backtrack_lexer&&(R={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(R.yylloc.range=this.yylloc.range.slice(0))),F=S[0].match(/(?:\r\n?|\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+S[0].length},this.yytext+=S[0],this.match+=S[0],this.matches=S,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(S[0].length),this.matched+=S[0],M=this.performAction.call(this,this.yy,this,_,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),M)return M;if(this._backtrack){for(var B in R)this[B]=R[B];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var S,_,M,F;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),B=0;B<R.length;B++)if(M=this._input.match(this.rules[R[B]]),M&&(!_||M[0].length>_[0].length)){if(_=M,F=B,this.options.backtrack_lexer){if(S=this.test_match(M,R[B]),S!==!1)return S;if(this._backtrack){_=!1;continue}else return!1}else if(!this.options.flex)break}return _?(S=this.test_match(_,R[F]),S!==!1?S:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
1645 Expecting `+Xt.join(", ")+", got '"+(this.terminals_[Mt]||Mt)+"'":_e="Parse error on line "+(yt+1)+": Unexpected "+(Mt==It?"end of input":"'"+(this.terminals_[Mt]||Mt)+"'"),this.parseError(_e,{text:xt.match,token:this.terminals_[Mt]||Mt,line:xt.yylineno,loc:kt,expected:Xt})}if(Ae[0]instanceof Array&&Ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pn+", token: "+Mt);switch(Ae[0]){case 1:rt.push(Mt),gt.push(xt.yytext),Q.push(xt.yylloc),rt.push(Ae[1]),Mt=null,V=xt.yyleng,K=xt.yytext,yt=xt.yylineno,kt=xt.yylloc;break;case 2:if(be=this.productions_[Ae[1]][1],tn.$=gt[gt.length-be],tn._$={first_line:Q[Q.length-(be||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(be||1)].first_column,last_column:Q[Q.length-1].last_column},Gt&&(tn._$.range=[Q[Q.length-(be||1)].range[0],Q[Q.length-1].range[1]]),ye=this.performAction.apply(tn,[K,V,yt,Ft.yy,Ae[1],gt,Q].concat(jt)),typeof ye<"u")return ye;be&&(rt=rt.slice(0,-1*be*2),gt=gt.slice(0,-1*be),Q=Q.slice(0,-1*be)),rt.push(this.productions_[Ae[1]][0]),gt.push(tn.$),Q.push(tn._$),Ne=dt[rt[rt.length-2]][rt[rt.length-1]],rt.push(Ne);break;case 3:return!0}}return!0}},ot=function(){var wt={EOF:1,parseError:function(ct,rt){if(this.yy.parser)this.yy.parser.parseError(ct,rt);else throw new Error(ct)},setInput:function(mt,ct){return this.yy=ct||this.yy||{},this._input=mt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var mt=this._input[0];this.yytext+=mt,this.yyleng++,this.offset++,this.match+=mt,this.matched+=mt;var ct=mt.match(/(?:\r\n?|\n).*/g);return ct?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),mt},unput:function(mt){var ct=mt.length,rt=mt.split(/(?:\r\n?|\n)/g);this._input=mt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ct),this.offset-=ct;var it=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),rt.length-1&&(this.yylineno-=rt.length-1);var gt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:rt?(rt.length===it.length?this.yylloc.first_column:0)+it[it.length-rt.length].length-rt[0].length:this.yylloc.first_column-ct},this.options.ranges&&(this.yylloc.range=[gt[0],gt[0]+this.yyleng-ct]),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).
1647 `+ct+"^"},test_match:function(mt,ct){var rt,it,gt;if(this.options.backtrack_lexer&&(gt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(gt.yylloc.range=this.yylloc.range.slice(0))),it=mt[0].match(/(?:\r\n?|\n).*/g),it&&(this.yylineno+=it.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:it?it[it.length-1].length-it[it.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+mt[0].length},this.yytext+=mt[0],this.match+=mt[0],this.matches=mt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(mt[0].length),this.matched+=mt[0],rt=this.performAction.call(this,this.yy,this,ct,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),rt)return rt;if(this._backtrack){for(var Q in gt)this[Q]=gt[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var mt,ct,rt,it;this._more||(this.yytext="",this.match="");for(var gt=this._currentRules(),Q=0;Q<gt.length;Q++)if(rt=this._input.match(this.rules[gt[Q]]),rt&&(!ct||rt[0].length>ct[0].length)){if(ct=rt,it=Q,this.options.backtrack_lexer){if(mt=this.test_match(rt,gt[Q]),mt!==!1)return mt;if(this._backtrack){ct=!1;continue}else return!1}else if(!this.options.flex)break}return ct?(mt=this.test_match(ct,gt[it]),mt!==!1?mt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.