Lines Matching refs:rE

1330 `,c2t=function(i,a){return LY(i,a)},itn=function(i,a){const g=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),w=i.append("g");w.append("circle").attr("cx",a.cx-15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),w.append("circle").attr("cx",a.cx+15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function v(S){const _=YL().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);S.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(S){const _=YL().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);S.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function E(S){S.append("line").attr("class","mouth").attr("stroke",2).attr("x1",a.cx-5).attr("y1",a.cy+7).attr("x2",a.cx+5).attr("y2",a.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.score>3?v(w):a.score<3?b(w):E(w),g},mHt=function(i,a){const f=i.append("circle");return f.attr("cx",a.cx),f.attr("cy",a.cy),f.attr("class","actor-"+a.pos),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("r",a.r),f.class!==void 0&&f.attr("class",f.class),a.title!==void 0&&f.append("title").text(a.title),f},vHt=function(i,a){return URe(i,a)},stn=function(i,a){function f(w,v,b,E,S){return w+","+v+" "+(w+b)+","+v+" "+(w+b)+","+(v+E-S)+" "+(w+b-S*1.2)+","+(v+E)+" "+w+","+(v+E)}const g=i.append("polygon");g.attr("points",f(a.x,a.y,50,20,7)),g.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,vHt(i,a)},atn=function(i,a,f){const g=i.append("g"),w=_9();w.x=a.x,w.y=a.y,w.fill=a.fill,w.width=f.width*a.taskCount+f.diagramMarginX*(a.taskCount-1),w.height=f.height,w.class="journey-section section-type-"+a.num,w.rx=3,w.ry=3,c2t(g,w),xHt(f)(a.text,g,w.x,w.y,w.width,w.height,{class:"journey-section section-type-"+a.num},f,a.colour)};let yHt=-1;const otn=function(i,a,f){const g=a.x+f.width/2,w=i.append("g");yHt++;const v=300+5*30;w.append("line").attr("id","task"+yHt).attr("x1",g).attr("y1",a.y).attr("x2",g).attr("y2",v).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),itn(w,{cx:g,cy:300+(5-a.score)*30,score:a.score});const b=_9();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,c2t(w,b);let E=a.x+14;a.people.forEach(S=>{const _=a.actors[S].color,M={cx:E,cy:a.y,r:7,fill:_,stroke:"#000",title:S,pos:a.actors[S].position};mHt(w,M),E+=10}),xHt(f)(a.task,w,b.x,b.y,b.width,b.height,{class:"task"},f,a.colour)},ctn=function(i,a){sRt(i,a)},xHt=function(){function i(w,v,b,E,S,_,M,F){const R=v.append("text").attr("x",b+S/2).attr("y",E+_/2+5).style("font-color",F).style("text-anchor","middle").text(w);g(R,M)}function a(w,v,b,E,S,_,M,F,R){const{taskFontSize:B,taskFontFamily:z}=F,Y=w.split(/<br\s*\/?>/gi);for(let nt=0;nt<Y.length;nt++){const ot=nt*B-B*(Y.length-1)/2,ft=v.append("text").attr("x",b+S/2).attr("y",E).attr("fill",R).style("text-anchor","middle").style("font-size",B).style("font-family",z);ft.append("tspan").attr("x",b+S/2).attr("dy",ot).text(Y[nt]),ft.attr("y",E+_/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(ft,M)}}function f(w,v,b,E,S,_,M,F){const R=v.append("switch"),z=R.append("foreignObject").attr("x",b).attr("y",E).attr("width",S).attr("height",_).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");z.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),a(w,R,b,E,S,_,M,F),g(z,M)}function g(w,v){for(const b in v)b in v&&w.attr(b,v[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?i:a}}(),_B={drawRect:c2t,drawCircle:mHt,drawSection:atn,drawText:vHt,drawLabel:stn,drawTask:otn,drawBackgroundRect:ctn,initGraphics:function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},utn=function(i){Object.keys(i).forEach(function(f){DX[f]=i[f]})},Vx={};function ltn(i){const a=Re().journey;let f=60;Object.keys(Vx).forEach(g=>{const w=Vx[g].color,v={cx:20,cy:f,r:7,fill:w,stroke:"#000",pos:Vx[g].position};_B.drawCircle(i,v);const b={x:40,y:f+7,fill:"#666",text:g,textMargin:a.boxTextMargin|5};_B.drawText(i,b),f+=20})}const DX=Re().journey,q9=DX.leftMargin,htn=function(i,a,f,g){const w=Re().journey,v=Re().securityLevel;let b;v==="sandbox"&&(b=Tr("#i"+a));const E=Tr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body");em.init();const S=E.select("#"+a);_B.initGraphics(S);const _=g.db.getTasks(),M=g.db.getDiagramTitle(),F=g.db.getActors();for(const ot in Vx)delete Vx[ot];let R=0;F.forEach(ot=>{Vx[ot]={color:w.actorColours[R%w.actorColours.length],position:R},R++}),ltn(S),em.insert(0,0,q9,Object.keys(Vx).length*50),ftn(S,_,0);const B=em.getBounds();M&&S.append("text").text(M).attr("x",q9).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const z=B.stopy-B.starty+2*w.diagramMarginY,Y=q9+B.stopx+2*w.diagramMarginX;sg(S,z,Y,w.useMaxWidth),S.append("line").attr("x1",q9).attr("y1",w.height*4).attr("x2",Y-q9-4).attr("y2",w.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const nt=M?70:0;S.attr("viewBox",`${B.startx} -25 ${Y} ${z+nt}`),S.attr("preserveAspectRatio","xMinYMin meet"),S.attr("height",z+nt+25)},em={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(i,a,f,g){i[a]===void 0?i[a]=f:i[a]=g(f,i[a])},updateBounds:function(i,a,f,g){const w=Re().journey,v=this;let b=0;function E(S){return function(M){b++;const F=v.sequenceItems.length-b+1;v.updateVal(M,"starty",a-F*w.boxMargin,Math.min),v.updateVal(M,"stopy",g+F*w.boxMargin,Math.max),v.updateVal(em.data,"startx",i-F*w.boxMargin,Math.min),v.updateVal(em.data,"stopx",f+F*w.boxMargin,Math.max),S!=="activation"&&(v.updateVal(M,"startx",i-F*w.boxMargin,Math.min),v.updateVal(M,"stopx",f+F*w.boxMargin,Math.max),v.updateVal(em.data,"starty",a-F*w.boxMargin,Math.min),v.updateVal(em.data,"stopy",g+F*w.boxMargin,Math.max))}}this.sequenceItems.forEach(E())},insert:function(i,a,f,g){const w=Math.min(i,f),v=Math.max(i,f),b=Math.min(a,g),E=Math.max(a,g);this.updateVal(em.data,"startx",w,Math.min),this.updateVal(em.data,"starty",b,Math.min),this.updateVal(em.data,"stopx",v,Math.max),this.updateVal(em.data,"stopy",E,Math.max),this.updateBounds(w,b,v,E)},bumpVerticalPos:function(i){this.verticalPos=this.verticalPos+i,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},u2t=DX.sectionFills,kHt=DX.sectionColours,ftn=function(i,a,f){const g=Re().journey;let w="";const v=g.height*2+g.diagramMarginY,b=f+v;let E=0,S="#CCC",_="black",M=0;for(const[F,R]of a.entries()){if(w!==R.section){S=u2t[E%u2t.length],M=E%u2t.length,_=kHt[E%kHt.length];let z=0;const Y=R.section;for(let ot=F;ot<a.length&&a[ot].section==Y;ot++)z=z+1;const nt={x:F*g.taskMargin+F*g.width+q9,y:50,text:R.section,fill:S,num:M,colour:_,taskCount:z};_B.drawSection(i,nt,g),w=R.section,E++}const B=R.people.reduce((z,Y)=>(Vx[Y]&&(z[Y]=Vx[Y]),z),{});R.x=F*g.taskMargin+F*g.width+q9,R.y=b,R.width=g.diagramMarginX,R.height=g.diagramMarginY,R.colour=_,R.fill=S,R.num=M,R.actors=B,_B.drawTask(i,R,g),em.insert(R.x,R.y,R.x+R.width+g.taskMargin,300+5*30)}},EHt={setConf:utn,draw:htn},dtn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:YZe,db:wHt,renderer:EHt,styles:rtn,init:i=>{EHt.setConf(i.journey),wHt.clear()}}},Symbol.toStringTag,{value:"Module"})),gtn=(i,a,f)=>{const{parentById:g}=f,w=new Set;let v=i;for(;v;){if(w.add(v),v===a)return v;v=g[v]}for(v=a;v;){if(w.has(v))return v;v=g[v]}return"root"};function MX(i){throw new Error('Could not dynamically require "'+i+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var THt={exports:{}};(function(i,a){(function(f){i.exports=f()})(function(){return function(){function f(g,w,v){function b(_,M){if(!w[_]){if(!g[_]){var F=typeof MX=="function"&&MX;if(!M&&F)return F(_,!0);if(E)return E(_,!0);var R=new Error("Cannot find module '"+_+"'");throw R.code="MODULE_NOT_FOUND",R}var B=w[_]={exports:{}};g[_][0].call(B.exports,function(z){var Y=g[_][1][z];return b(Y||z)},B,B.exports,f,g,w,v)}return w[_].exports}for(var E=typeof MX=="function"&&MX,S=0;S<v.length;S++)b(v[S]);return b}return f}()({1:[function(f,g,w){Object.defineProperty(w,"__esModule",{value:!0});var v=function(){function _(M,F){for(var R=0;R<F.length;R++){var B=F[R];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(M,B.key,B)}}return function(M,F,R){return F&&_(M.prototype,F),R&&_(M,R),M}}();function b(_,M){if(!(_ instanceof M))throw new TypeError("Cannot call a class as a function")}var E=function(){function _(){var M=this,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},R=F.defaultLayoutOptions,B=R===void 0?{}:R,z=F.algorithms,Y=z===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:z,nt=F.workerFactory,ot=F.workerUrl;if(b(this,_),this.defaultLayoutOptions=B,this.initialized=!1,typeof ot>"u"&&typeof nt>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ft=nt;typeof ot<"u"&&typeof nt>"u"&&(ft=function(ct){return new Worker(ct)});var wt=ft(ot);if(typeof wt.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new S(wt),this.worker.postMessage({cmd:"register",algorithms:Y}).then(function(mt){return M.initialized=!0}).catch(console.err)}return v(_,[{key:"layout",value:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=R.layoutOptions,z=B===void 0?this.defaultLayoutOptions:B,Y=R.logging,nt=Y===void 0?!1:Y,ot=R.measureExecutionTime,ft=ot===void 0?!1:ot;return F?this.worker.postMessage({cmd:"layout",graph:F,layoutOptions:z,options:{logging:nt,measureExecutionTime:ft}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),_}();w.default=E;var S=function(){function _(M){var F=this;if(b(this,_),M===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=M,this.worker.onmessage=function(R){setTimeout(function(){F.receive(F,R)},0)}}return v(_,[{key:"postMessage",value:function(F){var R=this.id||0;this.id=R+1,F.id=R;var B=this;return new Promise(function(z,Y){B.resolvers[R]=function(nt,ot){nt?(B.convertGwtStyleError(nt),Y(nt)):z(ot)},B.worker.postMessage(F)})}},{key:"receive",value:function(F,R){var B=R.data,z=F.resolvers[B.id];z&&(delete F.resolvers[B.id],B.error?z(B.error):z(null,B.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(F){if(F){var R=F.__java$exception;R&&(R.cause&&R.cause.backingJsObject&&(F.cause=R.cause.backingJsObject,this.convertGwtStyleError(F.cause)),delete F.__java$exception)}}}]),_}()},{}],2:[function(f,g,w){(function(v){(function(){var b;typeof window<"u"?b=window:typeof v<"u"?b=v:typeof self<"u"&&(b=self);var E;function S(){}function _(){}function M(){}function F(){}function R(){}function B(){}function z(){}function Y(){}function nt(){}function ot(){}function ft(){}function wt(){}function mt(){}function ct(){}function rt(){}function it(){}function gt(){}function Q(){}function dt(){}function K(){}function yt(){}function V(){}function Ot(){}function It(){}function jt(){}function xt(){}function Ft(){}function Ct(){}function kt(){}function Gt(){}function Fe(){}function Mt(){}function pn(){}function Ae(){}function ye(){}function tn(){}function sn(){}function be(){}function Ne(){}function Xt(){}function _e(){}function xe(){}function Mn(){}function ce(){}function Br(){}function we(){}function Fi(){}function mi(){}function ga(){}function Ss(){}function za(){}function br(){}function An(){}function Nn(){}function Bn(){}function ke(){}function pe(){}function Je(){}function an(){}function xn(){}function qa(){}function xo(){}function ko(){}function va(){}function Ha(){}function ds(){}function Fu(){}function Zs(){}function d1(){}function I2(){}function ll(){}function Ic(){}function wc(){}function Ea(){}function gu(){}function ta(){}function fo(){}function mc(){}function ca(){}function ya(){}function ea(){}function Zl(){}function Uc(){}function rm(){}function kh(){}function Md(){}function w0(){}function Id(){}function m0(){}function hg(){}function Gi(){}function cn(){}function Nr(){}function Si(){}function vc(){}function Rc(){}function Eh(){}function Zc(){}function Qh(){}function Od(){}function cs(){}function As(){}function to(){}function Ci(){}function pu(){}function Le(){}function iy(){}function $e(){}function g1(){}function ip(){}function sy(){}function D8(){}function g4(){}function th(){}function fg(){}function O2(){}function M8(){}function N2(){}function p4(){}function U1(){}function Nd(){}function Pd(){}function I8(){}function im(){}function Gx(){}function hb(){}function Kx(){}function b4(){}function ay(){}function sp(){}function BD(){}function $l(){}function U9(){}function Gc(){}function $X(){}function P2(){}function zX(){}function MB(){}function qX(){}function IB(){}function p1(){}function oy(){}function G9(){}function OB(){}function fb(){}function cy(){}function HX(){}function F2(){}function VX(){}function UX(){}function Wx(){}function K9(){}function NB(){}function O8(){}function GX(){}function N8(){}function KX(){}function WX(){}function YX(){}function XX(){}function QX(){}function JX(){}function ZX(){}function tQ(){}function eQ(){}function nQ(){}function rQ(){}function RD(){}function iQ(){}function sQ(){}function W9(){}function PB(){}function Yx(){}function aQ(){}function oQ(){}function cQ(){}function uQ(){}function lQ(){}function Y9(){}function jD(){}function FB(){}function w4(){}function m4(){}function hQ(){}function Lf(){}function Xx(){}function fQ(){}function P8(){}function v0(){}function dQ(){}function gQ(){}function pQ(){}function BB(){}function bQ(){}function X9(){}function Q9(){}function RB(){}function $D(){}function Qx(){}function wQ(){}function jB(){}function $B(){}function mQ(){}function vQ(){}function yQ(){}function xQ(){}function kQ(){}function EQ(){}function y0(){}function sm(){}function TQ(){}function J9(){}function Z9(){}function CQ(){}function v4(){}function F8(){}function zD(){}function uy(){}function B8(){}function SQ(){}function tC(){}function Fd(){}function zB(){}function qD(){}function R8(){}function HD(){}function qB(){}function _Q(){}function VD(){}function AQ(){}function LQ(){}function HB(){}function Jx(){}function VB(){}function Zx(){}function DQ(){}function UD(){}function MQ(){}function IQ(){}function OQ(){}function NQ(){}function UB(){}function PQ(){}function FQ(){}function GB(){}function BQ(){}function RQ(){}function jQ(){}function $Q(){}function KB(){}function zQ(){}function qQ(){}function WB(){}function YB(){}function XB(){}function HQ(){}function VQ(){}function j8(){}function t6(){}function eC(){}function UQ(){}function GD(){}function nC(){}function KD(){}function QB(){}function JB(){}function GQ(){}function KQ(){}function WQ(){}function ZB(){}function tR(){}function YQ(){}function XQ(){}function QQ(){}function JQ(){}function ZQ(){}function eR(){}function tJ(){}function eJ(){}function nJ(){}function rJ(){}function nR(){}function rC(){}function iJ(){}function sJ(){}function rR(){}function aJ(){}function oJ(){}function cJ(){}function uJ(){}function lJ(){}function hJ(){}function iR(){}function fJ(){}function sR(){}function dJ(){}function gJ(){}function pJ(){}function iC(){}function bJ(){}function sC(){}function wJ(){}function aR(){}function oR(){}function cR(){}function uR(){}function am(){}function lR(){}function hR(){}function fR(){}function dR(){}function mJ(){}function e6(){}function WD(){}function y4(){}function vJ(){}function yJ(){}function aC(){}function gR(){}function xJ(){}function kJ(){}function EJ(){}function TJ(){}function CJ(){}function SJ(){}function _J(){}function AJ(){}function LJ(){}function DJ(){}function oC(){}function pR(){}function MJ(){}function IJ(){}function OJ(){}function NJ(){}function PJ(){}function bR(){}function wR(){}function FJ(){}function mR(){}function vR(){}function BJ(){}function RJ(){}function jJ(){}function $J(){}function zJ(){}function qJ(){}function HJ(){}function VJ(){}function YD(){}function UJ(){}function $8(){}function yR(){}function GJ(){}function KJ(){}function WJ(){}function YJ(){}function XJ(){}function QJ(){}function JJ(){}function ZJ(){}function tZ(){}function eZ(){}function nZ(){}function rZ(){}function iZ(){}function sZ(){}function aZ(){}function n6(){}function xR(){}function oZ(){}function cZ(){}function uZ(){}function kR(){}function lZ(){}function cC(){}function hZ(){}function fZ(){}function dZ(){}function gZ(){}function pZ(){}function bZ(){}function wZ(){}function mZ(){}function vZ(){}function yZ(){}function r6(){}function xZ(){}function kZ(){}function EZ(){}function TZ(){}function CZ(){}function SZ(){}function _Z(){}function AZ(){}function uC(){}function LZ(){}function DZ(){}function MZ(){}function IZ(){}function OZ(){}function NZ(){}function PZ(){}function FZ(){}function i6(){}function ER(){}function BZ(){}function XD(){}function RZ(){}function jZ(){}function $Z(){}function zZ(){}function qZ(){}function HZ(){}function VZ(){}function TR(){}function UZ(){}function CR(){}function GZ(){}function SR(){}function _R(){}function AR(){}function KZ(){}function WZ(){}function LR(){}function YZ(){}function DR(){}function XZ(){}function QZ(){}function QD(){}function JZ(){}function ZZ(){}function ttt(){}function ett(){}function ntt(){}function MR(){}function rtt(){}function itt(){}function stt(){}function A2t(){}function att(){}function ott(){}function ctt(){}function utt(){}function ltt(){}function htt(){}function ftt(){}function dtt(){}function gtt(){}function ptt(){}function btt(){}function wtt(){}function mtt(){}function vtt(){}function ytt(){}function xtt(){}function Kc(){}function ktt(){}function lC(){}function yc(){}function bu(){}function Xi(){}function JD(){}function Ett(){}function Ttt(){}function Ctt(){}function s6(){}function B2(){}function z8(){}function Stt(){}function ZD(){}function _tt(){}function Att(){}function Ltt(){}function IR(){}function Dtt(){}function Mtt(){}function tM(){}function Itt(){}function zl(){}function Yu(){}function OR(){}function Ott(){}function Ntt(){}function ly(){}function x4(){}function hy(){}function ap(){}function a6(){}function eM(){}function NR(){}function PR(){}function Ptt(){}function G1(){}function FR(){}function fy(){}function q8(){}function nM(){}function o6(){}function db(){}function BR(){}function RR(){}function jR(){}function Ftt(){}function c6(){}function dy(){}function op(){}function gb(){}function k4(){}function H8(){}function hC(){}function rM(){}function Btt(){}function Rtt(){}function $R(){}function zR(){}function je(){}function V8(){}function qR(){}function HR(){}function jtt(){}function U8(){}function G8(){}function VR(){}function $tt(){}function ztt(){}function qtt(){}function Htt(){}function Vtt(){}function Utt(){}function iM(){}function Gtt(){}function Ktt(){}function UR(){}function fC(){}function Wtt(){}function sM(){}function K8(){}function W8(){}function Y8(){}function GR(){}function Ytt(){}function KR(){}function WR(){}function Xtt(){}function dC(){}function pb(){}function YR(){}function XR(){}function gC(){}function Qtt(){}function E4(){}function QR(){}function aM(){}function Oc(){}function oM(){}function cM(){}function pC(){}function Jtt(){}function Ztt(){}function bC(){}function tet(){}function wC(){}function mC(){}function b1(){}function uM(){}function lM(){}function u6(){}function eet(){}function net(){}function ret(){}function iet(){}function x0(){}function vC(){}function l6(){}function K1(){}function JR(){}function ZR(){}function tj(){}function ej(){}function nj(){}function rj(){}function w1(){}function Bu(){}function set(){}function aet(){}function oet(){}function Ru(){}function yC(){}function ij(){}function sj(){}function h6(){}function cet(){}function X8(){}function uet(){}function aj(){}function het(){}function fet(){}function xC(){}function oj(){}function hM(){}function kC(){}function det(){}function get(){}function fM(){}function EC(){}function W1(){}function Q8(){}function pet(){}function J8(){}function dM(){}function R2(){}function TC(){}function gM(){}function m1(){}function CC(){}function Y1(){}function X1(){}function bet(){}function wet(){}function T4(){}function Z8(){}function tE(){}function SC(){}function met(){}function vet(){}function f6(){}function cj(){}function uj(){}function yet(){}function lj(){}function xet(){}function hj(){}function pM(){}function ket(){}function _C(){}function Eet(){}function Tet(){}function Cet(){}function _et(){}function Aet(){}function fj(){}function Let(){}function Det(){}function Met(){}function dj(){}function Iet(){}function Oet(){}function AC(){}function Net(){}function Pet(){}function Fet(){}function Bet(){}function Ret(){}function jet(){}function gj(){}function $et(){}function pj(){}function zet(){}function bM(){}function qet(){}function bj(){}function Het(){}function wj(){}function Vet(){}function mj(){}function vj(){}function yj(){}function wM(){}function C4(){}function LC(){}function Q1(){}function xj(){}function eE(){}function mM(){}function kj(){}function j2(){}function Ej(){}function DC(){UC()}function Uet(){jM()}function Tj(){RH()}function Cj(){Mat()}function Sj(){b_()}function MC(){u6t()}function IC(){Vf()}function _j(){vxt()}function Aj(){TO()}function d6(){$M()}function om(){gI()}function nE(){UYt()}function Lj(){ok()}function Get(){vse()}function Dj(){m4t()}function g6(){ore()}function vM(){v4t()}function Mj(){Xse()}function Ket(){are()}function Ij(){g7()}function OC(){Ooe()}function NC(){Ioe()}function yM(){nie()}function Wet(){Noe()}function Yet(){Vb()}function Xet(){T$()}function Qet(){o8t()}function Jet(){De()}function Zet(){Poe()}function tnt(){cce()}function ent(){cre()}function nnt(){Ohe()}function rnt(){ure()}function int(){W0e()}function snt(){j6t()}function ant(){Sg()}function ont(){Wue()}function p6(){Cc()}function cnt(){mre()}function rE(){ak()}function Jh(){xkt()}function unt(){Ub()}function iE(){kkt()}function PC(){fd()}function lnt(){LO()}function hnt(){rct()}function fnt(){fot()}function Zh(){WZt()}function dnt(){Tq()}function gnt(){VH()}function Oj(){ai()}function pnt(){aH()}function Nj(){Y5t()}function Pj(){fat()}function Fj(){fV()}function Bj(){Okt()}function Df(t){Wn(t)}function Rj(t){this.a=t}function FC(t){this.a=t}function jj(t){this.a=t}function $j(t){this.a=t}function bnt(t){this.a=t}function wnt(t){this.a=t}function zj(t){this.a=t}function mnt(t){this.a=t}function qj(t){this.a=t}function bb(t){this.a=t}function vnt(t){this.a=t}function ynt(t){this.a=t}function xM(t){this.a=t}function xnt(t){this.a=t}function knt(t){this.a=t}function sE(t){this.a=t}function wb(t){this.a=t}function Hj(t){this.a=t}function aE(t){this.a=t}function S4(t){this.a=t}function kM(t){this.a=t}function b6(t){this.a=t}function EM(t){this.b=t}function dg(t){this.c=t}function Ent(t){this.a=t}function gy(t){this.a=t}function Vj(t){this.a=t}function Uj(t){this.a=t}function TM(t){this.a=t}function CM(t){this.a=t}function Gj(t){this.a=t}function w6(t){this.a=t}function oE(t){this.a=t}function Tnt(t){this.a=t}function Kj(t){this.a=t}function Wj(t){this.a=t}function Yj(t){this.a=t}function Xj(t){this.a=t}function xc(t){this.a=t}function cE(t){this.a=t}function uE(t){this.a=t}function cp(){this.a=[]}function Cnt(t,e){t.a=e}function Snt(t,e){t.a=e}function _nt(t,e){t.b=e}function Ant(t,e){t.b=e}function Lnt(t,e){t.b=e}function Qj(t,e){t.j=e}function L2t(t,e){t.g=e}function Jj(t,e){t.i=e}function Dnt(t,e){t.c=e}function m6(t,e){t.c=e}function D2t(t,e){t.d=e}function v6(t,e){t.d=e}function y(t,e){t.k=e}function p(t,e){t.c=e}function x(t,e){t.c=e}function C(t,e){t.a=e}function L(t,e){t.a=e}function O(t,e){t.f=e}function N(t,e){t.a=e}function j(t,e){t.b=e}function H(t,e){t.d=e}function q(t,e){t.i=e}function W(t,e){t.o=e}function Z(t,e){t.r=e}function st(t,e){t.a=e}function bt(t,e){t.b=e}function pt(t,e){t.e=e}function _t(t,e){t.f=e}function St(t,e){t.g=e}function Et(t,e){t.e=e}function Nt(t,e){t.f=e}function Pt(t,e){t.f=e}function qt(t,e){t.a=e}function re(t,e){t.b=e}function ee(t,e){t.n=e}function Ut(t,e){t.a=e}function de(t,e){t.c=e}function Yt(t,e){t.c=e}function Ee(t,e){t.c=e}function Te(t,e){t.a=e}function ie(t,e){t.a=e}function ze(t,e){t.d=e}function me(t,e){t.d=e}function yn(t,e){t.e=e}function nn(t,e){t.e=e}function qe(t,e){t.g=e}function Tn(t,e){t.f=e}function Xn(t,e){t.j=e}function lr(t,e){t.a=e}function Sn(t,e){t.a=e}function or(t,e){t.b=e}function pr(t){t.b=t.a}function kr(t){t.c=t.d.d}function wr(t){this.a=t}function Cr(t){this.a=t}function $n(t){this.a=t}function cr(t){this.a=t}function mr(t){this.a=t}function Sr(t){this.a=t}function gi(t){this.a=t}function ss(t){this.a=t}function na(t){this.a=t}function vi(t){this.a=t}function si(t){this.a=t}function Qi(t){this.a=t}function ks(t){this.a=t}function as(t){this.a=t}function Es(t){this.b=t}function eo(t){this.b=t}function Ta(t){this.b=t}function pa(t){this.a=t}function mo(t){this.a=t}function Kn(t){this.c=t}function G(t){this.c=t}function Vn(t){this.c=t}function gr(t){this.d=t}function nr(t){this.a=t}function Be(t){this.a=t}function Ls(t){this.a=t}function hr(t){this.a=t}function us(t){this.a=t}function Ya(t){this.a=t}function kc(t){this.a=t}function Ca(t){this.a=t}function oc(t){this.a=t}function ra(t){this.a=t}function no(t){this.a=t}function ql(t){this.a=t}function Sl(t){this.a=t}function mb(t){this.a=t}function vb(t){this.a=t}function v1(t){this.a=t}function up(t){this.a=t}function Bd(t){this.a=t}function cm(t){this.a=t}function py(t){this.a=t}function y6(t){this.a=t}function _4(t){this.a=t}function x6(t){this.a=t}function BC(t){this.a=t}function A4(t){this.a=t}function k0(t){this.a=t}function J1(t){this.a=t}function E0(t){this.a=t}function by(t){this.a=t}function $2(t){this.a=t}function Zj(t){this.a=t}function Mnt(t){this.a=t}function Int(t){this.a=t}function RC(t){this.a=t}function Ont(t){this.a=t}function Nnt(t){this.a=t}function L4(t){this.a=t}function t$(t){this.a=t}function lE(t){this.a=t}function SM(t){this.a=t}function jC(t){this.a=t}function e$(t){this.a=t}function n$(t){this.a=t}function Pnt(t){this.a=t}function lp(t){this.a=t}function $C(t){this.a=t}function _M(t){this.a=t}function z2(t){this.a=t}function T0(t){this.e=t}function D4(t){this.a=t}function yVt(t){this.a=t}function k6(t){this.a=t}function M2t(t){this.a=t}function xVt(t){this.a=t}function kVt(t){this.a=t}function EVt(t){this.a=t}function TVt(t){this.a=t}function CVt(t){this.a=t}function SVt(t){this.a=t}function _Vt(t){this.a=t}function AVt(t){this.a=t}function LVt(t){this.a=t}function DVt(t){this.a=t}function MVt(t){this.a=t}function I2t(t){this.a=t}function IVt(t){this.a=t}function OVt(t){this.a=t}function NVt(t){this.a=t}function PVt(t){this.a=t}function FVt(t){this.a=t}function BVt(t){this.a=t}function RVt(t){this.a=t}function jVt(t){this.a=t}function $Vt(t){this.a=t}function zVt(t){this.a=t}function qVt(t){this.a=t}function HVt(t){this.a=t}function VVt(t){this.a=t}function UVt(t){this.a=t}function GVt(t){this.a=t}function KVt(t){this.a=t}function WVt(t){this.a=t}function YVt(t){this.a=t}function XVt(t){this.a=t}function QVt(t){this.a=t}function JVt(t){this.a=t}function ZVt(t){this.a=t}function tUt(t){this.a=t}function eUt(t){this.a=t}function nUt(t){this.a=t}function rUt(t){this.a=t}function iUt(t){this.a=t}function sUt(t){this.a=t}function aUt(t){this.a=t}function oUt(t){this.a=t}function cUt(t){this.a=t}function uUt(t){this.a=t}function lUt(t){this.a=t}function hUt(t){this.a=t}function fUt(t){this.a=t}function dUt(t){this.a=t}function gUt(t){this.a=t}function pUt(t){this.a=t}function bUt(t){this.c=t}function wUt(t){this.b=t}function mUt(t){this.a=t}function vUt(t){this.a=t}function yUt(t){this.a=t}function xUt(t){this.a=t}function kUt(t){this.a=t}function EUt(t){this.a=t}function TUt(t){this.a=t}function CUt(t){this.a=t}function SUt(t){this.a=t}function _Ut(t){this.a=t}function AUt(t){this.a=t}function LUt(t){this.a=t}function DUt(t){this.a=t}function MUt(t){this.a=t}function IUt(t){this.a=t}function OUt(t){this.a=t}function NUt(t){this.a=t}function PUt(t){this.a=t}function FUt(t){this.a=t}function BUt(t){this.a=t}function RUt(t){this.a=t}function jUt(t){this.a=t}function $Ut(t){this.a=t}function zUt(t){this.a=t}function qUt(t){this.a=t}function HUt(t){this.a=t}function VUt(t){this.a=t}function gg(t){this.a=t}function M4(t){this.a=t}function UUt(t){this.a=t}function GUt(t){this.a=t}function KUt(t){this.a=t}function WUt(t){this.a=t}function YUt(t){this.a=t}function XUt(t){this.a=t}function QUt(t){this.a=t}function JUt(t){this.a=t}function ZUt(t){this.a=t}function tGt(t){this.a=t}function eGt(t){this.a=t}function nGt(t){this.a=t}function rGt(t){this.a=t}function iGt(t){this.a=t}function sGt(t){this.a=t}function aGt(t){this.a=t}function oGt(t){this.a=t}function cGt(t){this.a=t}function uGt(t){this.a=t}function lGt(t){this.a=t}function hGt(t){this.a=t}function fGt(t){this.a=t}function dGt(t){this.a=t}function gGt(t){this.a=t}function pGt(t){this.a=t}function bGt(t){this.a=t}function r$(t){this.a=t}function wGt(t){this.f=t}function mGt(t){this.a=t}function vGt(t){this.a=t}function yGt(t){this.a=t}function xGt(t){this.a=t}function kGt(t){this.a=t}function EGt(t){this.a=t}function TGt(t){this.a=t}function CGt(t){this.a=t}function SGt(t){this.a=t}function _Gt(t){this.a=t}function AGt(t){this.a=t}function LGt(t){this.a=t}function DGt(t){this.a=t}function MGt(t){this.a=t}function IGt(t){this.a=t}function OGt(t){this.a=t}function NGt(t){this.a=t}function PGt(t){this.a=t}function FGt(t){this.a=t}function BGt(t){this.a=t}function RGt(t){this.a=t}function jGt(t){this.a=t}function $Gt(t){this.a=t}function zGt(t){this.a=t}function qGt(t){this.a=t}function HGt(t){this.a=t}function VGt(t){this.a=t}function UGt(t){this.a=t}function Fnt(t){this.a=t}function O2t(t){this.a=t}function Oi(t){this.b=t}function GGt(t){this.a=t}function KGt(t){this.a=t}function WGt(t){this.a=t}function YGt(t){this.a=t}function XGt(t){this.a=t}function QGt(t){this.a=t}function JGt(t){this.a=t}function ZGt(t){this.b=t}function tKt(t){this.a=t}function AM(t){this.a=t}function eKt(t){this.a=t}function nKt(t){this.a=t}function N2t(t){this.c=t}function i$(t){this.e=t}function s$(t){this.a=t}function a$(t){this.a=t}function Bnt(t){this.a=t}function rKt(t){this.d=t}function iKt(t){this.a=t}function P2t(t){this.a=t}function F2t(t){this.a=t}function um(t){this.e=t}function vnn(){this.a=0}function _r(){dl(this)}function fe(){Qrt(this)}function Rnt(){zee(this)}function sKt(){}function lm(){this.c=qIt}function aKt(t,e){t.b+=e}function ynn(t,e){e.Wb(t)}function xnn(t){return t.a}function knn(t){return t.a}function Enn(t){return t.a}function Tnn(t){return t.a}function Cnn(t){return t.a}function at(t){return t.e}function Snn(){return null}function _nn(){return null}function Ann(){xwt(),oSn()}function Lnn(t){t.b.Of(t.e)}function oKt(t){t.b=new irt}function zC(t,e){t.b=e-t.b}function qC(t,e){t.a=e-t.a}function In(t,e){t.push(e)}function cKt(t,e){t.sort(e)}function uKt(t,e){e.jd(t.a)}function Dnn(t,e){Xs(e,t)}function Mnn(t,e,n){t.Yd(n,e)}function LM(t,e){t.e=e,e.b=t}function B2t(t){Vd(),this.a=t}function lKt(t){Vd(),this.a=t}function hKt(t){Vd(),this.a=t}function jnt(t){Dm(),this.a=t}function fKt(t){$E(),Aht.le(t)}function R2t(){R2t=V,new _r}function q2(){MJt.call(this)}function j2t(){MJt.call(this)}function $2t(){q2.call(this)}function $nt(){q2.call(this)}function dKt(){q2.call(this)}function DM(){q2.call(this)}function Xu(){q2.call(this)}function E6(){q2.call(this)}function Vr(){q2.call(this)}function Th(){q2.call(this)}function gKt(){q2.call(this)}function cc(){q2.call(this)}function pKt(){q2.call(this)}function bKt(){this.a=this}function o$(){this.Bb|=256}function wKt(){this.b=new TQt}function wy(t,e){t.length=e}function c$(t,e){ge(t.a,e)}function Inn(t,e){h6t(t.c,e)}function Onn(t,e){qs(t.b,e)}function Nnn(t,e){IH(t.a,e)}function Pnn(t,e){jat(t.a,e)}function hE(t,e){Ei(t.e,e)}function T6(t){WH(t.c,t.b)}function Fnn(t,e){t.kc().Nb(e)}function z2t(t){this.a=A2n(t)}function Os(){this.a=new _r}function mKt(){this.a=new _r}function q2t(){this.a=new BYt}function u$(){this.a=new fe}function znt(){this.a=new fe}function H2t(){this.a=new fe}function tf(){this.a=new I2}function H2(){this.a=new dse}function V2t(){this.a=new O2}function U2t(){this.a=new sre}function G2t(){this.a=new wZt}function vKt(){this.a=new fe}function yKt(){this.a=new fe}function xKt(){this.a=new fe}function K2t(){this.a=new fe}function kKt(){this.d=new fe}function EKt(){this.a=new Cre}function TKt(){this.a=new Os}function CKt(){this.a=new _r}function SKt(){this.b=new _r}function _Kt(){this.b=new fe}function W2t(){this.e=new fe}function AKt(){this.a=new Yet}function LKt(){this.d=new fe}function DKt(){Dne.call(this)}function MKt(){Dne.call(this)}function IKt(){fe.call(this)}function Y2t(){$2t.call(this)}function X2t(){u$.call(this)}function OKt(){gz.call(this)}function NKt(){K2t.call(this)}function HC(){sKt.call(this)}function qnt(){HC.call(this)}function C6(){sKt.call(this)}function Q2t(){C6.call(this)}function PKt(){ewt.call(this)}function FKt(){ewt.call(this)}function BKt(){ewt.call(this)}function RKt(){nwt.call(this)}function VC(){Wtt.call(this)}function J2t(){Wtt.call(this)}function Qu(){Ki.call(this)}function jKt(){tWt.call(this)}function $Kt(){tWt.call(this)}function zKt(){_r.call(this)}function qKt(){_r.call(this)}function HKt(){_r.call(this)}function Hnt(){Roe.call(this)}function VKt(){Os.call(this)}function UKt(){o$.call(this)}function Vnt(){Pmt.call(this)}function Z2t(){_r.call(this)}function Unt(){Pmt.call(this)}function Gnt(){_r.call(this)}function GKt(){_r.call(this)}function twt(){E4.call(this)}function KKt(){twt.call(this)}function WKt(){E4.call(this)}function YKt(){kj.call(this)}function ewt(){this.a=new Os}function XKt(){this.a=new _r}function QKt(){this.a=new fe}function nwt(){this.a=new _r}function S6(){this.a=new Ki}function JKt(){this.j=new fe}function ZKt(){this.a=new QWt}function tWt(){this.a=new Qtt}function rwt(){this.a=new Xi}function UC(){UC=V,yht=new _}function Knt(){Knt=V,xht=new nWt}function Wnt(){Wnt=V,kht=new eWt}function eWt(){sE.call(this,"")}function nWt(){sE.call(this,"")}function rWt(t){ooe.call(this,t)}function iWt(t){ooe.call(this,t)}function iwt(t){qj.call(this,t)}function swt(t){SYt.call(this,t)}function Bnn(t){SYt.call(this,t)}function Rnn(t){swt.call(this,t)}function jnn(t){swt.call(this,t)}function $nn(t){swt.call(this,t)}function sWt(t){Sst.call(this,t)}function aWt(t){Sst.call(this,t)}function oWt(t){jZt.call(this,t)}function cWt(t){Awt.call(this,t)}function GC(t){y$.call(this,t)}function awt(t){y$.call(this,t)}function uWt(t){y$.call(this,t)}function owt(t){c4n.call(this,t)}function cwt(t){owt.call(this,t)}function uc(t){aee.call(this,t)}function lWt(t){uc.call(this,t)}function _6(){uE.call(this,{})}function hWt(){hWt=V,Kve=new K}function l$(){l$=V,Cht=new oJt}function fWt(){fWt=V,r9t=new S}function uwt(){uwt=V,i9t=new ct}function h$(){h$=V,mA=new gt}function Ynt(t){EE(),this.a=t}function Xnt(t){F4t(),this.a=t}function my(t){Nit(),this.f=t}function Qnt(t){Nit(),this.f=t}function dWt(t){KZt(),this.a=t}function gWt(t){t.b=null,t.c=0}function znn(t,e){t.e=e,Wde(t,e)}function qnn(t,e){t.a=e,Y4n(t)}function Jnt(t,e,n){t.a[e.g]=n}function Hnn(t,e,n){lyn(n,t,e)}function Vnn(t,e){jan(e.i,t.n)}function pWt(t,e){ubn(t).Cd(e)}function Unn(t,e){t.a.ec().Mc(e)}function bWt(t,e){return t.g-e.g}function Gnn(t,e){return t*t/e}function Ie(t){return Wn(t),t}function Rt(t){return Wn(t),t}function MM(t){return Wn(t),t}function Knn(t){return new cE(t)}function Wnn(t){return new Oy(t)}function lwt(t){return Wn(t),t}function Ynn(t){return Wn(t),t}function f$(t){uc.call(this,t)}function Bo(t){uc.call(this,t)}function wWt(t){uc.call(this,t)}function Znt(t){aee.call(this,t)}function fE(t){uc.call(this,t)}function zn(t){uc.call(this,t)}function Ro(t){uc.call(this,t)}function mWt(t){uc.call(this,t)}function A6(t){uc.call(this,t)}function hp(t){uc.call(this,t)}function fp(t){uc.call(this,t)}function L6(t){uc.call(this,t)}function Rd(t){uc.call(this,t)}function trt(t){uc.call(this,t)}function Yr(t){uc.call(this,t)}function hl(t){Wn(t),this.a=t}function hwt(t){return cw(t),t}function KC(t){Eyt(t,t.length)}function WC(t){return t.b==t.c}function vy(t){return!!t&&t.b}function Xnn(t){return!!t&&t.k}function Qnn(t){return!!t&&t.j}function Jnn(t,e,n){t.c.Ef(e,n)}function vWt(t,e){t.be(e),e.ae(t)}function D6(t){Vd(),this.a=Hr(t)}function ert(){this.a=Gr(Hr(ao))}function yWt(){throw at(new Vr)}function Znn(){throw at(new Vr)}function fwt(){throw at(new Vr)}function xWt(){throw at(new Vr)}function trn(){throw at(new Vr)}function ern(){throw at(new Vr)}function d$(){d$=V,$E()}function dp(){Sr.call(this,"")}function YC(){Sr.call(this,"")}function yb(){Sr.call(this,"")}function I4(){Sr.call(this,"")}function dwt(t){Bo.call(this,t)}function gwt(t){Bo.call(this,t)}function jd(t){zn.call(this,t)}function dE(t){Ta.call(this,t)}function kWt(t){dE.call(this,t)}function nrt(t){uz.call(this,t)}function rrt(t){Kmt.call(this,t,0)}function irt(){s3t.call(this,12,3)}function ut(t,e){return Zne(t,e)}function g$(t,e){return zst(t,e)}function nrn(t,e){return t.a-e.a}function rrn(t,e){return t.a-e.a}function irn(t,e){return t.a-e.a}function srn(t,e){return e in t.a}function EWt(t){return t.a?t.b:0}function arn(t){return t.a?t.b:0}function orn(t,e,n){e.Cd(t.a[n])}function crn(t,e,n){e.Pe(t.a[n])}function urn(t,e){t.b=new io(e)}function lrn(t,e){return t.b=e,t}function TWt(t,e){return t.c=e,t}function CWt(t,e){return t.f=e,t}function hrn(t,e){return t.g=e,t}function pwt(t,e){return t.a=e,t}function bwt(t,e){return t.f=e,t}function frn(t,e){return t.k=e,t}function wwt(t,e){return t.a=e,t}function drn(t,e){return t.e=e,t}function mwt(t,e){return t.e=e,t}function grn(t,e){return t.f=e,t}function prn(t,e){t.b=!0,t.d=e}function brn(t,e){return t.b-e.b}function wrn(t,e){return t.g-e.g}function mrn(t,e){return t?0:e-1}function SWt(t,e){return t?0:e-1}function vrn(t,e){return t?e-1:0}function yrn(t,e){return t.s-e.s}function xrn(t,e){return e.rg(t)}function hm(t,e){return t.b=e,t}function p$(t,e){return t.a=e,t}function fm(t,e){return t.c=e,t}function dm(t,e){return t.d=e,t}function gm(t,e){return t.e=e,t}function vwt(t,e){return t.f=e,t}function XC(t,e){return t.a=e,t}function gE(t,e){return t.b=e,t}function pE(t,e){return t.c=e,t}function Ve(t,e){return t.c=e,t}function fn(t,e){return t.b=e,t}function Ue(t,e){return t.d=e,t}function Ge(t,e){return t.e=e,t}function krn(t,e){return t.f=e,t}function Ke(t,e){return t.g=e,t}function We(t,e){return t.a=e,t}function Ye(t,e){return t.i=e,t}function Xe(t,e){return t.j=e,t}function Ern(t,e){Vb(),hc(e,t)}function Trn(t,e,n){$un(t.a,e,n)}function b$(t){pit.call(this,t)}function _Wt(t){H2n.call(this,t)}function AWt(t){one.call(this,t)}function ywt(t){one.call(this,t)}function xb(t){$m.call(this,t)}function LWt(t){ist.call(this,t)}function DWt(t){ist.call(this,t)}function MWt(){Lmt.call(this,"")}function Sa(){this.a=0,this.b=0}function IWt(){this.b=0,this.a=0}function OWt(t,e){t.b=0,Hy(t,e)}function NWt(t,e){return t.k=e,t}function Crn(t,e){return t.j=e,t}function Srn(t,e){t.c=e,t.b=!0}function PWt(){PWt=V,aye=Byn()}function kb(){kb=V,Z7e=Wvn()}function FWt(){FWt=V,da=a3n()}function xwt(){xwt=V,b2=e7()}function bE(){bE=V,zIt=Yvn()}function BWt(){BWt=V,BTe=Xvn()}function kwt(){kwt=V,Bc=G4n()}function y1(t){return t.e&&t.e()}function RWt(t){return t.l|t.m<<22}function jWt(t,e){return t.c._b(e)}function $Wt(t,e){return Bue(t.b,e)}function srt(t){return t?t.d:null}function _rn(t){return t?t.g:null}function Arn(t){return t?t.i:null}function V2(t){return wg(t),t.o}function O4(t,e){return t.a+=e,t}function art(t,e){return t.a+=e,t}function gp(t,e){return t.a+=e,t}function pm(t,e){return t.a+=e,t}function Ewt(t,e){for(;t.Bd(e););}function w$(t){this.a=new M6(t)}function zWt(){throw at(new Vr)}function qWt(){throw at(new Vr)}function HWt(){throw at(new Vr)}function VWt(){throw at(new Vr)}function UWt(){throw at(new Vr)}function GWt(){throw at(new Vr)}function pp(t){this.a=new Bit(t)}function KWt(){this.a=new L_(PLt)}function WWt(){this.b=new L_(tLt)}function YWt(){this.a=new L_(sDt)}function XWt(){this.b=new L_(bdt)}function QWt(){this.b=new L_(bdt)}function m$(t){this.a=0,this.b=t}function Twt(t){Spe(),ySn(this,t)}function wE(t){return Mb(t),t.a}function IM(t){return t.b!=t.d.c}function Cwt(t,e){return t.d[e.p]}function JWt(t,e){return Bkn(t,e)}function Swt(t,e,n){t.splice(e,n)}function N4(t,e){for(;t.Re(e););}function ZWt(t){t.c?f0e(t):d0e(t)}function tYt(){throw at(new Vr)}function eYt(){throw at(new Vr)}function nYt(){throw at(new Vr)}function rYt(){throw at(new Vr)}function iYt(){throw at(new Vr)}function sYt(){throw at(new Vr)}function aYt(){throw at(new Vr)}function oYt(){throw at(new Vr)}function cYt(){throw at(new Vr)}function uYt(){throw at(new Vr)}function Lrn(){throw at(new cc)}function Drn(){throw at(new cc)}function OM(t){this.a=new lYt(t)}function lYt(t){Ngn(this,t,f4n())}function NM(t){return!t||$ee(t)}function PM(t){return _d[t]!=-1}function Mrn(){MU!=0&&(MU=0),IU=-1}function hYt(){vht==null&&(vht=[])}function FM(t,e){W4.call(this,t,e)}function mE(t,e){FM.call(this,t,e)}function fYt(t,e){this.a=t,this.b=e}function dYt(t,e){this.a=t,this.b=e}function gYt(t,e){this.a=t,this.b=e}function pYt(t,e){this.a=t,this.b=e}function bYt(t,e){this.a=t,this.b=e}function wYt(t,e){this.a=t,this.b=e}function mYt(t,e){this.a=t,this.b=e}function vE(t,e){this.e=t,this.d=e}function _wt(t,e){this.b=t,this.c=e}function vYt(t,e){this.b=t,this.a=e}function yYt(t,e){this.b=t,this.a=e}function xYt(t,e){this.b=t,this.a=e}function kYt(t,e){this.b=t,this.a=e}function EYt(t,e){this.a=t,this.b=e}function ort(t,e){this.a=t,this.b=e}function TYt(t,e){this.a=t,this.f=e}function bm(t,e){this.g=t,this.i=e}function Rr(t,e){this.f=t,this.g=e}function CYt(t,e){this.b=t,this.c=e}function SYt(t){Bmt(t.dc()),this.c=t}function Irn(t,e){this.a=t,this.b=e}function _Yt(t,e){this.a=t,this.b=e}function AYt(t){this.a=u(Hr(t),15)}function Awt(t){this.a=u(Hr(t),15)}function LYt(t){this.a=u(Hr(t),85)}function v$(t){this.b=u(Hr(t),85)}function y$(t){this.b=u(Hr(t),51)}function x$(){this.q=new b.Date}function crt(t,e){this.a=t,this.b=e}function DYt(t,e){return Tu(t.b,e)}function BM(t,e){return t.b.Hc(e)}function MYt(t,e){return t.b.Ic(e)}function IYt(t,e){return t.b.Qc(e)}function OYt(t,e){return t.b.Hc(e)}function NYt(t,e){return t.c.uc(e)}function PYt(t,e){return Ti(t.c,e)}function x1(t,e){return t.a._b(e)}function FYt(t,e){return t>e&&e<z_}function QC(t){return t.f.c+t.i.c}function Orn(t){return Cee(),t?Gve:Uve}function M6(t){Wce.call(this,t,0)}function BYt(){Bit.call(this,null)}function I6(t){this.c=t,Fae(this)}function Ki(){eJt(this),nh(this)}function pg(){pg=V,Qve=new Ot}function yE(){yE=V,mT=new xt}function yy(){yy=V,Nht=new kQt}function k$(){k$=V,cye=new EQt}function xE(){xE=V,M9t=new Xt}function Lwt(){Bst.call(this,null)}function U2(){U2=V,Rk=new an}function ms(t,e){Mb(t),t.a.Nb(e)}function Nrn(t,e){return t.a.Xc(e)}function Prn(t,e){return t.a.Yc(e)}function urt(t,e){return t.a.$c(e)}function lrt(t,e){return t.a._c(e)}function Frn(t,e){return t.Gc(e),t}function Brn(t,e){return Ma(t,e),t}function Rrn(t,e){Got(Qt(t.a),e)}function jrn(t,e){Got(Qt(t.a),e)}function RYt(t,e){return t.Gc(e),t}function $rn(t,e){return t.a.f=e,t}function jYt(t,e){return t.a.d=e,t}function $Yt(t,e){return t.a.g=e,t}function zYt(t,e){return t.a.j=e,t}function Mf(t,e){return t.a.a=e,t}function If(t,e){return t.a.d=e,t}function Of(t,e){return t.a.e=e,t}function Nf(t,e){return t.a.g=e,t}function RM(t,e){return t.a.f=e,t}function zrn(t){return t.b=!1,t}function qYt(){qYt=V,mye=new va}function E$(){E$=V,Wht=new KJt}function Dwt(){Dwt=V,n4e=new N2}function HYt(){HYt=V,r4e=new hb}function Mwt(){Mwt=V,i4e=new Wte}function Iwt(){Iwt=V,_Ct=new sp}function VYt(){VYt=V,d4e=new p1}function JC(){JC=V,p4e=new oy}function jM(){jM=V,v4e=new W9}function $M(){$M=V,m4e=new Sa}function UYt(){UYt=V,E4e=new y0}function ZC(){ZC=V,M4e=new iC}function T$(){T$=V,R5=new CJ}function C$(){C$=V,D6e=new $tt}function S$(){S$=V,wdt=new KYt}function _$(){_$=V,mdt=new GJt}function tS(){tS=V,kP=new Kee}function GYt(){Moe(),this.c=new irt}function KYt(){Rr.call(this,A2e,0)}function qrn(t,e,n){jo(t.d,e.f,n)}function Hrn(t,e,n,r){vmn(t,r,e,n)}function Vrn(t,e,n,r){V6n(r,t,e,n)}function Urn(t,e,n,r){yCn(r,t,e,n)}function eS(t,e){Op(t.c.c,e.b,e)}function wm(t,e){Op(t.c.b,e.c,e)}function Grn(t){return t.e.b+t.f.b}function Krn(t){return t.e.a+t.f.a}function Wrn(t){return t.b?t.b:t.a}function Yrn(t){return(t.c+t.a)/2}function WYt(t,e){return Lvn(t.a,e)}function nS(t,e){return t.a=e.g,t}function Owt(){Owt=V,$It=new GKt}function YYt(){YYt=V,vTe=new HKt}function xy(){xy=V,Q7e=new ztt}function XYt(){XYt=V,sTe=new Ytt}function QYt(){QYt=V,mTe=new qKt}function Eb(){Eb=V,yf=new Z2t}function A$(){A$=V,KK=new _r}function rS(){rS=V,i0t=new sJt}function bp(){bp=V,KP=new aJt}function hrt(){hrt=V,OTe=new wet}function vo(){vo=V,PTe=new T4}function Tb(){Tb=V,y2=new Ej}function Nwt(){Nwt=V,QIt=new fe}function L$(t){return u(t,44).ld()}function frt(t){return t.b<t.d.gc()}function Xrn(t,e){return e.split(t)}function drt(t,e){return $c(t,e)>0}function grt(t,e){return $c(t,e)<0}function JYt(t,e){return Dit(t.a,e)}function Qrn(t,e){tre.call(this,t,e)}function Pwt(t){Yit(),jZt.call(this,t)}function Fwt(t,e){Kte(t,t.length,e)}function zM(t,e){xee(t,t.length,e)}function iS(t,e){return t.a.get(e)}function ZYt(t,e){return Tu(t.e,e)}function Bwt(t){return Wn(t),!1}function Rwt(t){this.a=u(Hr(t),229)}function D$(t){gn.call(this,t,21)}function M$(t,e){Rr.call(this,t,e)}function prt(t,e){Rr.call(this,t,e)}function tXt(t,e){this.b=t,this.a=e}function I$(t,e){this.d=t,this.e=e}function eXt(t,e){this.a=t,this.b=e}function nXt(t,e){this.a=t,this.b=e}function rXt(t,e){this.a=t,this.b=e}function iXt(t,e){this.a=t,this.b=e}function O6(t,e){this.a=t,this.b=e}function sXt(t,e){this.b=t,this.a=e}function jwt(t,e){this.b=t,this.a=e}function $wt(t,e){Rr.call(this,t,e)}function zwt(t,e){Rr.call(this,t,e)}function P4(t,e){Rr.call(this,t,e)}function brt(t,e){Rr.call(this,t,e)}function wrt(t,e){Rr.call(this,t,e)}function mrt(t,e){Rr.call(this,t,e)}function O$(t,e){Rr.call(this,t,e)}function qwt(t,e){this.b=t,this.a=e}function N$(t,e){Rr.call(this,t,e)}function Hwt(t,e){this.b=t,this.a=e}function P$(t,e){Rr.call(this,t,e)}function aXt(t,e){this.b=t,this.a=e}function Vwt(t,e){Rr.call(this,t,e)}function vrt(t,e){Rr.call(this,t,e)}function qM(t,e){Rr.call(this,t,e)}function sS(t,e,n){t.splice(e,0,n)}function Jrn(t,e,n){t.Mb(n)&&e.Cd(n)}function Zrn(t,e,n){e.Pe(t.a.Ye(n))}function tin(t,e,n){e.Dd(t.a.Ze(n))}function ein(t,e,n){e.Cd(t.a.Kb(n))}function nin(t,e){return Zu(t.c,e)}function rin(t,e){return Zu(t.e,e)}function F$(t,e){Rr.call(this,t,e)}function B$(t,e){Rr.call(this,t,e)}function aS(t,e){Rr.call(this,t,e)}function Uwt(t,e){Rr.call(this,t,e)}function Ns(t,e){Rr.call(this,t,e)}function R$(t,e){Rr.call(this,t,e)}function oXt(t,e){this.a=t,this.b=e}function cXt(t,e){this.a=t,this.b=e}function uXt(t,e){this.a=t,this.b=e}function lXt(t,e){this.a=t,this.b=e}function hXt(t,e){this.a=t,this.b=e}function fXt(t,e){this.a=t,this.b=e}function dXt(t,e){this.b=t,this.a=e}function gXt(t,e){this.b=t,this.a=e}function Gwt(t,e){this.b=t,this.a=e}function kE(t,e){this.c=t,this.d=e}function pXt(t,e){this.e=t,this.d=e}function bXt(t,e){this.a=t,this.b=e}function wXt(t,e){this.a=t,this.b=e}function mXt(t,e){this.a=t,this.b=e}function vXt(t,e){this.b=t,this.a=e}function yXt(t,e){this.b=e,this.c=t}function j$(t,e){Rr.call(this,t,e)}function HM(t,e){Rr.call(this,t,e)}function yrt(t,e){Rr.call(this,t,e)}function Kwt(t,e){Rr.call(this,t,e)}function oS(t,e){Rr.call(this,t,e)}function xrt(t,e){Rr.call(this,t,e)}function krt(t,e){Rr.call(this,t,e)}function VM(t,e){Rr.call(this,t,e)}function Wwt(t,e){Rr.call(this,t,e)}function Ert(t,e){Rr.call(this,t,e)}function cS(t,e){Rr.call(this,t,e)}function Ywt(t,e){Rr.call(this,t,e)}function uS(t,e){Rr.call(this,t,e)}function lS(t,e){Rr.call(this,t,e)}function ky(t,e){Rr.call(this,t,e)}function Trt(t,e){Rr.call(this,t,e)}function Crt(t,e){Rr.call(this,t,e)}function Xwt(t,e){Rr.call(this,t,e)}function UM(t,e){Rr.call(this,t,e)}function F4(t,e){Rr.call(this,t,e)}function Srt(t,e){Rr.call(this,t,e)}function $$(t,e){Rr.call(this,t,e)}function GM(t,e){Rr.call(this,t,e)}function Ey(t,e){Rr.call(this,t,e)}function z$(t,e){Rr.call(this,t,e)}function Qwt(t,e){Rr.call(this,t,e)}function _rt(t,e){Rr.call(this,t,e)}function Art(t,e){Rr.call(this,t,e)}function Lrt(t,e){Rr.call(this,t,e)}function Drt(t,e){Rr.call(this,t,e)}function Mrt(t,e){Rr.call(this,t,e)}function Irt(t,e){Rr.call(this,t,e)}function Ort(t,e){Rr.call(this,t,e)}function xXt(t,e){this.b=t,this.a=e}function Jwt(t,e){Rr.call(this,t,e)}function kXt(t,e){this.a=t,this.b=e}function EXt(t,e){this.a=t,this.b=e}function TXt(t,e){this.a=t,this.b=e}function Zwt(t,e){Rr.call(this,t,e)}function tmt(t,e){Rr.call(this,t,e)}function CXt(t,e){this.a=t,this.b=e}function iin(t,e){return LE(),e!=t}function KM(t){return ur(t.a),t.b}function Nrt(t){return hxn(t,t.c),t}function SXt(){return PWt(),new aye}function _Xt(){vz(),this.a=new wvt}function AXt(){rV(),this.a=new Os}function LXt(){gst(),this.b=new Os}function DXt(t,e){this.b=t,this.d=e}function MXt(t,e){this.a=t,this.b=e}function IXt(t,e){this.a=t,this.b=e}function OXt(t,e){this.a=t,this.b=e}function NXt(t,e){this.b=t,this.a=e}function emt(t,e){Rr.call(this,t,e)}function nmt(t,e){Rr.call(this,t,e)}function q$(t,e){Rr.call(this,t,e)}function mm(t,e){Rr.call(this,t,e)}function Prt(t,e){Rr.call(this,t,e)}function H$(t,e){Rr.call(this,t,e)}function rmt(t,e){Rr.call(this,t,e)}function imt(t,e){Rr.call(this,t,e)}function WM(t,e){Rr.call(this,t,e)}function smt(t,e){Rr.call(this,t,e)}function Frt(t,e){Rr.call(this,t,e)}function V$(t,e){Rr.call(this,t,e)}function Brt(t,e){Rr.call(this,t,e)}function Rrt(t,e){Rr.call(this,t,e)}function jrt(t,e){Rr.call(this,t,e)}function $rt(t,e){Rr.call(this,t,e)}function amt(t,e){Rr.call(this,t,e)}function zrt(t,e){Rr.call(this,t,e)}function omt(t,e){Rr.call(this,t,e)}function YM(t,e){Rr.call(this,t,e)}function qrt(t,e){Rr.call(this,t,e)}function cmt(t,e){Rr.call(this,t,e)}function XM(t,e){Rr.call(this,t,e)}function umt(t,e){Rr.call(this,t,e)}function PXt(t,e){this.b=t,this.a=e}function FXt(t,e){this.b=t,this.a=e}function BXt(t,e){this.b=t,this.a=e}function RXt(t,e){this.b=t,this.a=e}function lmt(t,e){this.a=t,this.b=e}function jXt(t,e){this.a=t,this.b=e}function $Xt(t,e){this.a=t,this.b=e}function ae(t,e){this.a=t,this.b=e}function hS(t,e){Rr.call(this,t,e)}function QM(t,e){Rr.call(this,t,e)}function N6(t,e){Rr.call(this,t,e)}function fS(t,e){Rr.call(this,t,e)}function JM(t,e){Rr.call(this,t,e)}function Hrt(t,e){Rr.call(this,t,e)}function U$(t,e){Rr.call(this,t,e)}function dS(t,e){Rr.call(this,t,e)}function Vrt(t,e){Rr.call(this,t,e)}function G$(t,e){Rr.call(this,t,e)}function B4(t,e){Rr.call(this,t,e)}function ZM(t,e){Rr.call(this,t,e)}function gS(t,e){Rr.call(this,t,e)}function pS(t,e){Rr.call(this,t,e)}function tI(t,e){Rr.call(this,t,e)}function K$(t,e){Rr.call(this,t,e)}function R4(t,e){Rr.call(this,t,e)}function Urt(t,e){Rr.call(this,t,e)}function zXt(t,e){Rr.call(this,t,e)}function W$(t,e){Rr.call(this,t,e)}function qXt(t,e){this.a=t,this.b=e}function HXt(t,e){this.a=t,this.b=e}function VXt(t,e){this.a=t,this.b=e}function UXt(t,e){this.a=t,this.b=e}function GXt(t,e){this.a=t,this.b=e}function KXt(t,e){this.a=t,this.b=e}function Ws(t,e){this.a=t,this.b=e}function WXt(t,e){this.a=t,this.b=e}function YXt(t,e){this.a=t,this.b=e}function XXt(t,e){this.a=t,this.b=e}function QXt(t,e){this.a=t,this.b=e}function JXt(t,e){this.a=t,this.b=e}function ZXt(t,e){this.a=t,this.b=e}function tQt(t,e){this.b=t,this.a=e}function eQt(t,e){this.b=t,this.a=e}function nQt(t,e){this.b=t,this.a=e}function rQt(t,e){this.b=t,this.a=e}function iQt(t,e){this.a=t,this.b=e}function sQt(t,e){this.a=t,this.b=e}function Y$(t,e){Rr.call(this,t,e)}function aQt(t,e){this.a=t,this.b=e}function oQt(t,e){this.a=t,this.b=e}function P6(t,e){Rr.call(this,t,e)}function cQt(t,e){this.f=t,this.c=e}function hmt(t,e){return Zu(t.g,e)}function sin(t,e){return Zu(e.b,t)}function uQt(t,e){return Yat(t.a,e)}function ain(t,e){return-t.b.af(e)}function oin(t,e){t&&hi(VP,t,e)}function fmt(t,e){t.i=null,Gq(t,e)}function cin(t,e,n){tfe(e,zot(t,n))}function uin(t,e,n){tfe(e,zot(t,n))}function lin(t,e){R6n(t.a,u(e,58))}function lQt(t,e){N0n(t.a,u(e,12))}function X$(t,e){this.a=t,this.b=e}function hQt(t,e){this.a=t,this.b=e}function fQt(t,e){this.a=t,this.b=e}function dQt(t,e){this.a=t,this.b=e}function gQt(t,e){this.a=t,this.b=e}function pQt(t,e){this.d=t,this.b=e}function bQt(t,e){this.e=t,this.a=e}function eI(t,e){this.b=t,this.c=e}function dmt(t,e){this.i=t,this.g=e}function gmt(t,e){this.d=t,this.e=e}function hin(t,e){Y0n(new Zn(t),e)}function Q$(t){return wO(t.c,t.b)}function Ko(t){return t?t.md():null}function $t(t){return t??null}function ba(t){return typeof t===Nct}function Ty(t){return typeof t===kk}function Cy(t){return typeof t===u8t}function vm(t,e){return $c(t,e)==0}function J$(t,e){return $c(t,e)>=0}function bS(t,e){return $c(t,e)!=0}function Z$(t,e){return fpn(t.Kc(),e)}function Cb(t,e){return t.Rd().Xb(e)}function wQt(t){return Ll(t),t.d.gc()}function tz(t){return AS(t==null),t}function wS(t,e){return t.a+=""+e,t}function Mo(t,e){return t.a+=""+e,t}function mS(t,e){return t.a+=""+e,t}function tu(t,e){return t.a+=""+e,t}function ni(t,e){return t.a+=""+e,t}function pmt(t,e){return t.a+=""+e,t}function fin(t){return""+(Wn(t),t)}function mQt(t){dl(this),t_(this,t)}function vQt(){i3t(),lyt.call(this)}function yQt(t,e){pyt.call(this,t,e)}function xQt(t,e){pyt.call(this,t,e)}function ez(t,e){pyt.call(this,t,e)}function ro(t,e){hs(t,e,t.c.b,t.c)}function j4(t,e){hs(t,e,t.a,t.a.a)}function bmt(t){return vn(t,0),null}function kQt(){this.b=0,this.a=!1}function EQt(){this.b=0,this.a=!1}function TQt(){this.b=new M6(zy(12))}function CQt(){CQt=V,t3e=$r(not())}function SQt(){SQt=V,k4e=$r(Bde())}function _Qt(){_Qt=V,Uke=$r(pce())}function wmt(){wmt=V,R2t(),s9t=new _r}function k1(t){return t.a=0,t.b=0,t}function AQt(t,e){return t.a=e.g+1,t}function Grt(t,e){Dy.call(this,t,e)}function un(t,e){rs.call(this,t,e)}function $4(t,e){dmt.call(this,t,e)}function LQt(t,e){sI.call(this,t,e)}function Krt(t,e){o7.call(this,t,e)}function ui(t,e){A$(),hi(KK,t,e)}function DQt(t,e){t.q.setTime(tw(e))}function din(t){b.clearTimeout(t)}function gin(t){return Hr(t),new vS(t)}function MQt(t,e){return $t(t)===$t(e)}function IQt(t,e){return t.a.a.a.cc(e)}function Wrt(t,e){return Lh(t.a,0,e)}function mmt(t){return wln(u(t,74))}function F6(t){return Ys((Wn(t),t))}function pin(t){return Ys((Wn(t),t))}function OQt(t){return Eu(t.l,t.m,t.h)}function vmt(t,e){return jc(t.a,e.a)}function bin(t,e){return vee(t.a,e.a)}function win(t,e){return Bi(t.a,e.a)}function $d(t,e){return t.indexOf(e)}function min(t,e){return t.j[e.p]==2}function ym(t,e){return t==e?0:t?1:-1}function nz(t){return t<10?"0"+t:""+t}function ec(t){return typeof t===u8t}function vin(t){return t==bv||t==y3}function yin(t){return t==bv||t==v3}function NQt(t,e){return jc(t.g,e.g)}function ymt(t){return Xo(t.b.b,t,0)}function PQt(){Lz.call(this,0,0,0,0)}function zd(){hr.call(this,new kp)}function xmt(t,e){GE(t,0,t.length,e)}function xin(t,e){return ge(t.a,e),e}function kin(t,e){return Bf(),e.a+=t}function Ein(t,e){return Bf(),e.a+=t}function Tin(t,e){return Bf(),e.c+=t}function Cin(t,e){return ge(t.c,e),t}function kmt(t,e){return ch(t.a,e),t}function FQt(t){this.a=SXt(),this.b=t}function BQt(t){this.a=SXt(),this.b=t}function io(t){this.a=t.a,this.b=t.b}function vS(t){this.a=t,DC.call(this)}function RQt(t){this.a=t,DC.call(this)}function B6(){Ah.call(this,0,0,0,0)}function rz(t){return ch(new Fs,t)}function jQt(t){return Kz(u(t,123))}function Hl(t){return t.vh()&&t.wh()}function z4(t){return t!=Td&&t!=d2}function bg(t){return t==Uo||t==tc}function q4(t){return t==Gh||t==kd}function $Qt(t){return t==J5||t==Q5}function Sin(t,e){return jc(t.g,e.g)}function zQt(t,e){return new o7(e,t)}function _in(t,e){return new o7(e,t)}function Emt(t){return Wcn(t.b.Kc(),t.a)}function Yrt(t,e){p7(t,e),t7(t,t.D)}function Xrt(t,e,n){Rq(t,e),Bq(t,n)}function H4(t,e,n){qm(t,e),zm(t,n)}function Ch(t,e,n){Su(t,e),_u(t,n)}function nI(t,e,n){XE(t,e),JE(t,n)}function rI(t,e,n){QE(t,e),ZE(t,n)}function qQt(t,e,n){svt.call(this,t,e,n)}function Tmt(t){cQt.call(this,t,!0)}function HQt(){M$.call(this,"Tail",3)}function VQt(){M$.call(this,"Head",1)}function Sb(t){Xd(),cpn.call(this,t)}function xm(t){Lz.call(this,t,t,t,t)}function Qrt(t){t.c=Vt(aa,Ln,1,0,5,1)}function Cmt(t){return t.b&&bct(t),t.a}function Smt(t){return t.b&&bct(t),t.c}function Ain(t,e){wd||(t.b=e)}function Lin(t,e){return t[t.length]=e}function Din(t,e){return t[t.length]=e}function Min(t,e){return qy(e,ed(t))}function Iin(t,e){return qy(e,ed(t))}function Oin(t,e){return Hq(Kit(t.d),e)}function Nin(t,e){return Hq(Kit(t.g),e)}function Pin(t,e){return Hq(Kit(t.j),e)}function _a(t,e){rs.call(this,t.b,e)}function Fin(t,e){Or(Wc(t.a),hre(e))}function Bin(t,e){Or(Al(t.a),fre(e))}function Rin(t,e,n){Ch(n,n.i+t,n.j+e)}function UQt(t,e,n){ls(t.c[e.g],e.g,n)}function jin(t,e,n){u(t.c,71).Gi(e,n)}function Jrt(t,e,n){return ls(t,e,n),n}function GQt(t){Cu(t.Sf(),new Int(t))}function V4(t){return t!=null?$i(t):0}function $in(t){return t==null?0:$i(t)}function yS(t){yi(),um.call(this,t)}function KQt(t){this.a=t,$vt.call(this,t)}function Z1(){Z1=V,b.Math.log(2)}function Sh(){Sh=V,Q0=(XYt(),sTe)}function WQt(){WQt=V,I1t=new d_(Udt)}function Ur(){Ur=V,new YQt,new fe}function YQt(){new _r,new _r,new _r}function zin(){throw at(new hp(Mve))}function qin(){throw at(new hp(Mve))}function Hin(){throw at(new hp(Ive))}function Vin(){throw at(new hp(Ive))}function Zrt(t){this.a=t,v$.call(this,t)}function tit(t){this.a=t,v$.call(this,t)}function XQt(t,e){Dm(),this.a=t,this.b=e}function Uin(t,e){Hr(e),X4(t).Jc(new ot)}function Ds(t,e){Mit(t.c,t.c.length,e)}function lc(t){return t.a<t.c.c.length}function _mt(t){return t.a<t.c.a.length}function QQt(t,e){return t.a?t.b:e.We()}function jc(t,e){return t<e?-1:t>e?1:0}function Amt(t,e){return $c(t,e)>0?t:e}function Eu(t,e,n){return{l:t,m:e,h:n}}function Gin(t,e){t.a!=null&&lQt(e,t.a)}function Kin(t){Xa(t,null),xa(t,null)}function Win(t,e,n){return hi(t.g,n,e)}function U4(t,e,n){return Q5t(e,n,t.c)}function Yin(t,e,n){return hi(t.k,n,e)}function Xin(t,e,n){return P9n(t,e,n),n}function Qin(t,e){return rh(),e.n.b+=t}function JQt(t){Qyt.call(this),this.b=t}function Lmt(t){bvt.call(this),this.a=t}function ZQt(){M$.call(this,"Range",2)}function iz(t){this.b=t,this.a=new fe}function tJt(t){this.b=new pu,this.a=t}function eJt(t){t.a=new Ae,t.c=new Ae}function nJt(t){t.a=new _r,t.d=new _r}function rJt(t){pst(t,null),bst(t,null)}function iJt(t,e){return B9n(t.a,e,null)}function Jin(t,e){return hi(t.a,e.a,e)}function Oa(t){return new ae(t.a,t.b)}function Dmt(t){return new ae(t.c,t.d)}function Zin(t){return new ae(t.c,t.d)}function xS(t,e){return YTn(t.c,t.b,e)}function Lt(t,e){return t!=null&&aot(t,e)}function eit(t,e){return qpn(t.Kc(),e)!=-1}function sz(t){return t.Ob()?t.Pb():null}function tsn(t){this.b=(mn(),new Kn(t))}function Mmt(t){this.a=t,_r.call(this)}function sJt(){sI.call(this,null,null)}function aJt(){fz.call(this,null,null)}function oJt(){Rr.call(this,"INSTANCE",0)}function cJt(){Dxt(),this.a=new L_(SCt)}function uJt(t){return af(t,0,t.length)}function esn(t,e){return new _Jt(t.Kc(),e)}function Imt(t,e){return t.a.Bc(e)!=null}function lJt(t,e){Ir(t),t.Gc(u(e,15))}function nsn(t,e,n){t.c.bd(e,u(n,136))}function rsn(t,e,n){t.c.Ui(e,u(n,136))}function hJt(t,e){t.c&&(Zvt(e),Bne(e))}function isn(t,e){t.q.setHours(e),N_(t,e)}function ssn(t,e){Tm(e,t.a.a.a,t.a.a.b)}function asn(t,e,n,r){ls(t.a[e.g],n.g,r)}function nit(t,e,n){return t.a[e.g][n.g]}function osn(t,e){return t.e[e.c.p][e.p]}function csn(t,e){return t.c[e.c.p][e.p]}function td(t,e){return t.a[e.c.p][e.p]}function usn(t,e){return t.j[e.p]=y6n(e)}function rit(t,e){return t.a.Bc(e)!=null}function lsn(t,e){return Rt(Ht(e.a))<=t}function hsn(t,e){return Rt(Ht(e.a))>=t}function fsn(t,e){return F3t(t.f,e.Pg())}function R6(t,e){return t.a*e.a+t.b*e.b}function dsn(t,e){return t.a<_vt(e)?-1:1}function gsn(t,e){return F3t(t.b,e.Pg())}function psn(t,e,n){return n?e!=0:e!=t-1}function fJt(t,e,n){t.a=e^1502,t.b=n^dut}function bsn(t,e,n){return t.a=e,t.b=n,t}function qd(t,e){return t.a*=e,t.b*=e,t}function ge(t,e){return In(t.c,e),!0}function kS(t,e,n){return ls(t.g,e,n),n}function Ps(t,e,n){mI.call(this,t,e,n)}function az(t,e,n){Ps.call(this,t,e,n)}function Omt(t,e,n){kz.call(this,t,e,n)}function dJt(t,e,n){kz.call(this,t,e,n)}function gJt(t,e,n){Omt.call(this,t,e,n)}function Ju(t,e,n){Ps.call(this,t,e,n)}function pJt(t,e,n){az.call(this,t,e,n)}function Nmt(t,e,n){mI.call(this,t,e,n)}function G4(t,e,n){mI.call(this,t,e,n)}function bJt(t,e,n){Nmt.call(this,t,e,n)}function oz(t){t.j=Vt(m9t,ue,319,0,0,1)}function K4(){this.a=Vt(aa,Ln,1,8,5,1)}function Pmt(){this.Bb|=256,this.Bb|=512}function Zn(t){this.i=t,this.f=this.i.j}function _b(t){this.c=t,this.a=this.c.a}function W4(t,e){this.a=t,v$.call(this,e)}function Fmt(t,e){return I2n(t,new yb,e).a}function Bmt(t){if(!t)throw at(new DM)}function Rmt(t){if(!t)throw at(new Xu)}function jmt(){jmt=V,jmt(),uye=new sn}function wJt(){wJt=V,hrt(),NTe=new Bj}function EE(){EE=V,A9t=new Ynt(null)}function wsn(t){SI(t,sme),ZH(t,PCn(t))}function mJt(t){t.a=u(jn(t.b.a,4),129)}function vJt(t){t.a=u(jn(t.b.a,4),129)}function yJt(t){t.b.Qb(),--t.d.f.d,Nz(t.d)}function $mt(t){this.a=t,dg.call(this,t.d)}function xJt(t,e){this.a=t,rrt.call(this,e)}function kJt(t,e){this.a=t,rrt.call(this,e)}function EJt(t,e){this.a=t,rrt.call(this,e)}function zmt(t,e){this.a=e,rrt.call(this,t)}function TJt(t,e){this.a=e,Sst.call(this,t)}function CJt(t,e){this.a=t,Sst.call(this,e)}function SJt(t,e){this.a=e,y$.call(this,t)}function _Jt(t,e){this.a=e,y$.call(this,t)}function sr(t,e){return Hr(e),new SJt(t,e)}function AJt(t,e){return new Zfe(t.a,t.b,e)}function qmt(t,e,n){return t.indexOf(e,n)}function cz(t,e){return t.lastIndexOf(e)}function ES(t){return t==null?Vu:rc(t)}function msn(t){return t==null?null:t.name}function vsn(t){return t.l+t.m*Sk+t.h*bw}function ysn(t){return IM(t.a)?dre(t):null}function ef(t){Sr.call(this,(Wn(t),t))}function eh(t){Sr.call(this,(Wn(t),t))}function LJt(t){sE.call(this,u(Hr(t),34))}function DJt(t){sE.call(this,u(Hr(t),34))}function iit(t){hr.call(this,new U3t(t))}function uz(t){Ta.call(this,t),this.a=t}function Hmt(t){eo.call(this,t),this.a=t}function Vmt(t){dE.call(this,t),this.a=t}function MJt(){oz(this),Xz(this),this.je()}function IJt(t){this.a=t,Es.call(this,t)}function Vl(t){return ur(t.a!=null),t.a}function OJt(t,e){return ge(e.a,t.a),t.a}function NJt(t,e){return ge(e.b,t.a),t.a}function km(t,e){return ge(e.a,t.a),t.a}function iI(t,e,n){return dat(t,e,e,n),t}function lz(t,e){return++t.b,ge(t.a,e)}function Umt(t,e){return++t.b,zu(t.a,e)}function xsn(t,e){return Bi(t.c.d,e.c.d)}function ksn(t,e){return Bi(t.c.c,e.c.c)}function Esn(t,e){return Bi(t.n.a,e.n.a)}function ju(t,e){return u(Ai(t.b,e),15)}function Tsn(t,e){return t.n.b=(Wn(e),e)}function Csn(t,e){return t.n.b=(Wn(e),e)}function Zu(t,e){return!!e&&t.b[e.g]==e}function TS(t){return lc(t.a)||lc(t.b)}function Em(t){return t.$H||(t.$H=++i_n)}function Ssn(t){return t.a!=null?t.a:null}function _sn(t,e){return Bi(t.e.b,e.e.b)}function Asn(t,e){return Bi(t.e.a,e.e.a)}function Lsn(t,e,n){return bie(t,e,n,t.b)}function Gmt(t,e,n){return bie(t,e,n,t.c)}function Dsn(t){return Bf(),!!t&&!t.dc()}function PJt(){ZC(),this.b=new WVt(this)}function hz(){hz=V,$U=new rs(Xbe,0)}function Pn(){Pn=V,t2=!1,bT=!0}function wp(t){var e;e=t.a,t.a=t.b,t.b=e}function sI(t,e){rS(),this.a=t,this.b=e}function fz(t,e){bp(),this.b=t,this.c=e}function sit(t,e){Nit(),this.f=e,this.d=t}function Kmt(t,e){P3t(e,t),this.d=t,this.c=e}function Wmt(t,e){ixt.call(this,t,e,null)}function FJt(t,e,n,r){byt.call(this,t,e,n,r)}function j6(t){this.d=t,Zn.call(this,t)}function $6(t){this.c=t,Zn.call(this,t)}function aI(t){this.c=t,j6.call(this,t)}function Msn(t){return new By(3,t)}function C0(t){return oh(t,c3),new wu(t)}function BJt(t){return $E(),parseInt(t)||-1}function Isn(t){return l$(),jr((Vne(),zve),t)}function TE(t,e,n){return qmt(t,Hu(e),n)}function ait(t,e){return new FZt(t,t.gc(),e)}function Osn(t,e){return Pit(t.c).Md().Xb(e)}function CE(t,e,n){var r;r=t.fd(e),r.Rb(n)}function Ymt(t,e,n){u(UI(t,e),21).Fc(n)}function Nsn(t,e,n){jat(t.a,n),IH(t.a,e)}function oI(t){Lt(t,158)&&u(t,158).pi()}function RJt(t){zvt.call(this,t,null,null)}function oit(t){yy(),this.b=t,this.a=!0}function jJt(t){k$(),this.b=t,this.a=!0}function SE(t){return ur(t.b!=0),t.a.a.c}function Pf(t){return ur(t.b!=0),t.c.b.c}function Psn(t,e){return dat(t,e,e+1,""),t}function qi(t,e){return!!t.q&&Tu(t.q,e)}function $Jt(t){return t.b=u(Uyt(t.a),44)}function Fsn(t){return t.f!=null?t.f:""+t.g}function cit(t){return t.f!=null?t.f:""+t.g}function Bsn(t,e){return t>0?e/(t*t):e*100}function Rsn(t,e){return t>0?e*e/t:e*e*100}function Sy(t,e){return u(od(t.a,e),34)}function jsn(t,e){return Vb(),dn(t,e.e,e)}function $sn(t,e,n){return C$(),n.Mg(t,e)}function zsn(t){return Sg(),t.e.a+t.f.a/2}function qsn(t,e,n){return Sg(),n.e.a-t*e}function Hsn(t){return Sg(),t.e.b+t.f.b/2}function Vsn(t,e,n){return Sg(),n.e.b-t*e}function zJt(t){t.d=new RJt(t),t.e=new _r}function qJt(){this.a=new Fm,this.b=new Fm}function HJt(t){this.c=t,this.a=1,this.b=1}function VJt(t){Ict(),oKt(this),this.Ff(t)}function Usn(t,e,n){Tq(),t.pf(e)&&n.Cd(t)}function Gsn(t,e,n){return ge(e,ele(t,n))}function Tm(t,e,n){return t.a+=e,t.b+=n,t}function Ksn(t,e,n){return t.a*=e,t.b*=n,t}function Xmt(t,e){return t.a=e.a,t.b=e.b,t}function dz(t){return t.a=-t.a,t.b=-t.b,t}function CS(t,e,n){return t.a-=e,t.b-=n,t}function UJt(t){Ki.call(this),XS(this,t)}function GJt(){Rr.call(this,"GROW_TREE",0)}function KJt(){Rr.call(this,"POLYOMINO",0)}function Ul(t,e,n){nl.call(this,t,e,n,2)}function Wsn(t,e,n){h_(Wc(t.a),e,hre(n))}function WJt(t,e){rS(),sI.call(this,t,e)}function Qmt(t,e){bp(),fz.call(this,t,e)}function YJt(t,e){bp(),Qmt.call(this,t,e)}function XJt(t,e){bp(),fz.call(this,t,e)}function Ysn(t,e){return t.c.Fc(u(e,136))}function Xsn(t,e,n){h_(Al(t.a),e,fre(n))}function QJt(t){this.c=t,Su(t,0),_u(t,0)}function uit(t,e){Sh(),Iz.call(this,t,e)}function JJt(t,e){Sh(),uit.call(this,t,e)}function Jmt(t,e){Sh(),uit.call(this,t,e)}function Zmt(t,e){Sh(),Iz.call(this,t,e)}function ZJt(t,e){Sh(),Jmt.call(this,t,e)}function tZt(t,e){Sh(),Zmt.call(this,t,e)}function eZt(t,e){Sh(),Iz.call(this,t,e)}function Qsn(t,e,n){return e.zl(t.e,t.c,n)}function Jsn(t,e,n){return e.Al(t.e,t.c,n)}function tvt(t,e,n){return pV(VI(t,e),n)}function lit(t,e){return jb(t.e,u(e,54))}function Zsn(t){return t==null?null:TCn(t)}function tan(t){return t==null?null:w4n(t)}function ean(t){return t==null?null:rc(t)}function nan(t){return t==null?null:rc(t)}function Me(t){return AS(t==null||Ty(t)),t}function Ht(t){return AS(t==null||Cy(t)),t}function Gr(t){return AS(t==null||ba(t)),t}function wg(t){t.o==null&&Yxn(t)}function evt(t){if(!t)throw at(new DM)}function ran(t){if(!t)throw at(new $nt)}function ur(t){if(!t)throw at(new cc)}function _y(t){if(!t)throw at(new Xu)}function nZt(t){if(!t)throw at(new Th)}function _E(){_E=V,GP=new jKt,new $Kt}function Y4(){Y4=V,ex=new Oi("root")}function nvt(){Roe.call(this),this.Bb|=po}function ian(t,e){this.d=t,kr(this),this.b=e}function rvt(t,e){Bst.call(this,t),this.a=e}function ivt(t,e){Bst.call(this,t),this.a=e}function svt(t,e,n){yq.call(this,t,e,n,null)}function rZt(t,e,n){yq.call(this,t,e,n,null)}function cI(t,e){this.c=t,vE.call(this,t,e)}function SS(t,e){this.a=t,cI.call(this,t,e)}function avt(t){this.q=new b.Date(tw(t))}function iZt(t){return t>8?0:t+1}function sZt(t,e){wd||ge(t.a,e)}function san(t,e){return $M(),a7(e.d.i,t)}function aan(t,e){return ok(),new F0e(e,t)}function oan(t,e,n){return t.Ne(e,n)<=0?n:e}function can(t,e,n){return t.Ne(e,n)<=0?e:n}function uan(t,e){return u(od(t.b,e),143)}function lan(t,e){return u(od(t.c,e),233)}function hit(t){return u(Oe(t.a,t.b),293)}function aZt(t){return new ae(t.c,t.d+t.a)}function oZt(t){return Wn(t),t?1231:1237}function cZt(t){return rh(),$Qt(u(t,203))}function Ay(){Ay=V,tCt=en((Yl(),qw))}function han(t,e){e.a?pxn(t,e):rit(t.a,e.b)}function uI(t,e,n){++t.j,t.tj(),Fst(t,e,n)}function uZt(t,e,n){++t.j,t.qj(e,t.Zi(e,n))}function lZt(t,e,n){var r;r=t.fd(e),r.Rb(n)}function ovt(t,e,n){return n=hh(t,e,6,n),n}function cvt(t,e,n){return n=hh(t,e,3,n),n}function uvt(t,e,n){return n=hh(t,e,9,n),n}function Hd(t,e){return SI(e,I8t),t.f=e,t}function lvt(t,e){return(e&xi)%t.d.length}function hZt(t,e,n){return qkt(t.c,t.b,e,n)}function fZt(t,e){this.c=t,$m.call(this,e)}function dZt(t,e){this.a=t,ZGt.call(this,e)}function lI(t,e){this.a=t,ZGt.call(this,e)}function rs(t,e){Oi.call(this,t),this.a=e}function hvt(t,e){N2t.call(this,t),this.a=e}function fit(t,e){N2t.call(this,t),this.a=e}function fan(t){U5t.call(this,0,0),this.f=t}function gZt(t,e,n){return t.a+=af(e,0,n),t}function hI(t){return!t.a&&(t.a=new dt),t.a}function fvt(t,e){var n;return n=t.e,t.e=e,n}function dvt(t,e){var n;return n=e,!!t.Fe(n)}function dan(t,e){return Pn(),t==e?0:t?1:-1}function Ly(t,e){t.a.bd(t.b,e),++t.b,t.c=-1}function fI(t){t.b?fI(t.b):t.f.c.zc(t.e,t.d)}function pZt(t){dl(t.e),t.d.b=t.d,t.d.a=t.d}function gan(t,e,n){U2(),Cnt(t,e.Ve(t.a,n))}function gvt(t,e,n){return W6(t,u(e,22),n)}function Ff(t,e){return g$(new Array(e),t)}function pan(t){return qr(Ab(t,32))^qr(t)}function dit(t){return String.fromCharCode(t)}function ban(t){return t==null?null:t.message}function wan(t,e,n){return t.apply(e,n)}function man(t,e){var n;n=t[fut],n.call(t,e)}function van(t,e){var n;n=t[fut],n.call(t,e)}function yan(t,e){return $M(),!a7(e.d.i,t)}function pvt(t,e,n,r){Lz.call(this,t,e,n,r)}function bZt(){gz.call(this),this.a=new Sa}function bvt(){this.n=new Sa,this.o=new Sa}function wZt(){this.b=new Sa,this.c=new fe}function mZt(){this.a=new fe,this.b=new fe}function vZt(){this.a=new O2,this.b=new wKt}function wvt(){this.b=new kp,this.a=new kp}function yZt(){this.b=new Os,this.a=new Os}function xZt(){this.b=new _r,this.a=new _r}function kZt(){this.b=new WWt,this.a=new uC}function EZt(){this.a=new Xet,this.b=new AJ}function TZt(){this.a=new fe,this.d=new fe}function gz(){this.n=new C6,this.i=new B6}function CZt(t){this.a=(oh(t,c3),new wu(t))}function SZt(t){this.a=(oh(t,c3),new wu(t))}function xan(t){return t<100?null:new xb(t)}function kan(t,e){return t.n.a=(Wn(e),e+10)}function Ean(t,e){return t.n.a=(Wn(e),e+10)}function Tan(t,e){return e==t||L7(JH(e),t)}function _Zt(t,e){return hi(t.a,e,"")==null}function Can(t,e){var n;return n=e.qi(t.a),n}function ki(t,e){return t.a+=e.a,t.b+=e.b,t}function ia(t,e){return t.a-=e.a,t.b-=e.b,t}function San(t){return wy(t.j.c,0),t.a=-1,t}function mvt(t,e,n){return n=hh(t,e,11,n),n}function _an(t,e,n){n!=null&&Vq(e,wot(t,n))}function Aan(t,e,n){n!=null&&Uq(e,wot(t,n))}function z6(t,e,n,r){Jt.call(this,t,e,n,r)}function vvt(t,e,n,r){Jt.call(this,t,e,n,r)}function AZt(t,e,n,r){vvt.call(this,t,e,n,r)}function LZt(t,e,n,r){jz.call(this,t,e,n,r)}function git(t,e,n,r){jz.call(this,t,e,n,r)}function yvt(t,e,n,r){jz.call(this,t,e,n,r)}function DZt(t,e,n,r){git.call(this,t,e,n,r)}function xvt(t,e,n,r){git.call(this,t,e,n,r)}function kn(t,e,n,r){yvt.call(this,t,e,n,r)}function MZt(t,e,n,r){xvt.call(this,t,e,n,r)}function IZt(t,e,n,r){vyt.call(this,t,e,n,r)}function Dy(t,e){Bo.call(this,uA+t+Ew+e)}function kvt(t,e){return t.jk().wi().ri(t,e)}function Evt(t,e){return t.jk().wi().ti(t,e)}function OZt(t,e){return Wn(t),$t(t)===$t(e)}function hn(t,e){return Wn(t),$t(t)===$t(e)}function Lan(t,e){return t.b.Bd(new nXt(t,e))}function Dan(t,e){return t.b.Bd(new rXt(t,e))}function NZt(t,e){return t.b.Bd(new iXt(t,e))}function Man(t,e){return t.e=u(t.d.Kb(e),159)}function Tvt(t,e,n){return t.lastIndexOf(e,n)}function Ian(t,e,n){return Bi(t[e.a],t[n.a])}function Oan(t,e){return Zt(e,(De(),iP),t)}function Nan(t,e){return jc(e.a.d.p,t.a.d.p)}function Pan(t,e){return jc(t.a.d.p,e.a.d.p)}function Fan(t,e){return Bi(t.c-t.s,e.c-e.s)}function Ban(t,e){return Bi(t.b.e.a,e.b.e.a)}function Ran(t,e){return Bi(t.c.e.a,e.c.e.a)}function PZt(t){return t.c?Xo(t.c.a,t,0):-1}function q6(t){return t==zw||t==Y0||t==hu}function Cvt(t,e){this.c=t,zit.call(this,t,e)}function FZt(t,e,n){this.a=t,Kmt.call(this,e,n)}function BZt(t){this.c=t,ez.call(this,rN,0)}function RZt(t,e,n){this.c=e,this.b=n,this.a=t}function dI(t){LE(),this.d=t,this.a=new K4}function jZt(t){Vd(),this.a=(mn(),new dE(t))}function jan(t,e){bg(t.f)?zxn(t,e):m3n(t,e)}function $Zt(t,e){Jcn.call(this,t,t.length,e)}function $an(t,e){wd||e&&(t.d=e)}function zZt(t,e){return Lt(e,15)&&b0e(t.c,e)}function zan(t,e,n){return u(t.c,71).Wk(e,n)}function pz(t,e,n){return u(t.c,71).Xk(e,n)}function qan(t,e,n){return Qsn(t,u(e,343),n)}function Svt(t,e,n){return Jsn(t,u(e,343),n)}function Han(t,e,n){return cfe(t,u(e,343),n)}function qZt(t,e,n){return M3n(t,u(e,343),n)}function _S(t,e){return e==null?null:Gy(t.b,e)}function _vt(t){return Cy(t)?(Wn(t),t):t.ue()}function bz(t){return!isNaN(t)&&!isFinite(t)}function pit(t){eJt(this),nh(this),Ma(this,t)}function fl(t){Qrt(this),Hvt(this.c,0,t.Pc())}function _h(t,e,n){this.a=t,this.b=e,this.c=n}function HZt(t,e,n){this.a=t,this.b=e,this.c=n}function VZt(t,e,n){this.d=t,this.b=n,this.a=e}function UZt(t){this.a=t,pg(),Pc(Date.now())}function GZt(t){Kl(t.a),q3t(t.c,t.b),t.b=null}function bit(){bit=V,_9t=new ye,oye=new tn}function KZt(){KZt=V,lTe=Vt(aa,Ln,1,0,5,1)}function WZt(){WZt=V,ATe=Vt(aa,Ln,1,0,5,1)}function Avt(){Avt=V,LTe=Vt(aa,Ln,1,0,5,1)}function Vd(){Vd=V,new B2t((mn(),mn(),co))}function Van(t){return KE(),jr((tae(),lye),t)}function Uan(t){return bl(),jr((Vse(),bye),t)}function Gan(t){return TH(),jr((Lie(),kye),t)}function Kan(t){return Mq(),jr((Die(),Eye),t)}function Wan(t){return aV(),jr((Lce(),Tye),t)}function Yan(t){return A1(),jr((qse(),_ye),t)}function Xan(t){return pl(),jr((zse(),Lye),t)}function Qan(t){return qu(),jr((Hse(),Mye),t)}function Jan(t){return yV(),jr((CQt(),t3e),t)}function Zan(t){return Gm(),jr((nae(),n3e),t)}function ton(t){return dk(),jr((iae(),i3e),t)}function eon(t){return m_(),jr((rae(),o3e),t)}function non(t){return E$(),jr((eie(),c3e),t)}function ron(t){return Iq(),jr((Mie(),C3e),t)}function ion(t){return WS(),jr((Use(),Q3e),t)}function son(t){return Ua(),jr((jae(),e4e),t)}function aon(t){return u7(),jr((aae(),a4e),t)}function oon(t){return lw(),jr((sae(),f4e),t)}function Lvt(t,e){if(!t)throw at(new zn(e))}function AE(t){if(!t)throw at(new Ro(l8t))}function wit(t,e){if(t!=e)throw at(new Th)}function YZt(t,e,n){this.a=t,this.b=e,this.c=n}function Dvt(t,e,n){this.a=t,this.b=e,this.c=n}function XZt(t,e,n){this.a=t,this.b=e,this.c=n}function wz(t,e,n){this.b=t,this.a=e,this.c=n}function Mvt(t,e,n){this.b=t,this.c=e,this.a=n}function Ivt(t,e,n){this.a=t,this.b=e,this.c=n}function mz(t,e,n){this.e=e,this.b=t,this.d=n}function QZt(t,e,n){this.b=t,this.a=e,this.c=n}function con(t,e,n){return U2(),t.a.Yd(e,n),e}function mit(t){var e;return e=new ll,e.e=t,e}function Ovt(t){var e;return e=new kKt,e.b=t,e}function gI(){gI=V,XU=new pQ,QU=new BB}function vz(){vz=V,_4e=new SQ,S4e=new tC}function Bf(){Bf=V,I4e=new iJ,O4e=new sJ}function uon(t){return Vm(),jr((Ese(),H4e),t)}function lon(t){return Za(),jr((SQt(),k4e),t)}function hon(t){return rH(),jr((cae(),C4e),t)}function fon(t){return ud(),jr((oae(),F4e),t)}function don(t){return Qy(),jr(($ae(),R4e),t)}function gon(t){return iV(),jr((gce(),V4e),t)}function pon(t){return wk(),jr((hoe(),U4e),t)}function bon(t){return Eq(),jr((Pie(),G4e),t)}function won(t){return QS(),jr((yse(),K4e),t)}function mon(t){return $q(),jr((xse(),W4e),t)}function von(t){return Ip(),jr((zae(),Y4e),t)}function yon(t){return YI(),jr((Nie(),X4e),t)}function xon(t){return M7(),jr((goe(),n5e),t)}function kon(t){return Co(),jr((Uce(),r5e),t)}function Eon(t){return c7(),jr((Cse(),i5e),t)}function Ton(t){return Cg(),jr((Tse(),a5e),t)}function Con(t){return fq(),jr((zie(),o5e),t)}function Son(t){return AO(),jr((doe(),e5e),t)}function _on(t){return ow(),jr((kse(),J4e),t)}function Aon(t){return UH(),jr((foe(),Z4e),t)}function Lon(t){return qI(),jr((Oie(),t5e),t)}function Don(t){return Rh(),jr((Hae(),c5e),t)}function Mon(t){return Bp(),jr((Sce(),I6e),t)}function Ion(t){return o_(),jr((Sse(),O6e),t)}function Oon(t){return Yy(),jr((uae(),N6e),t)}function Non(t){return w_(),jr((qae(),P6e),t)}function Pon(t){return cf(),jr((Gce(),F6e),t)}function Fon(t){return Wd(),jr((lae(),B6e),t)}function Bon(t){return KI(),jr((Fie(),R6e),t)}function Ron(t){return To(),jr((Lse(),$6e),t)}function jon(t){return tH(),jr((_se(),z6e),t)}function $on(t){return i_(),jr((Ase(),q6e),t)}function zon(t){return b7(),jr((Mse(),H6e),t)}function qon(t){return jq(),jr((Dse(),V6e),t)}function Hon(t){return iH(),jr((Ise(),U6e),t)}function Von(t){return Hm(),jr(($se(),oke),t)}function Uon(t){return US(),jr((Bie(),fke),t)}function Gon(t){return Gd(),jr((Rie(),vke),t)}function Kon(t){return nd(),jr((jie(),xke),t)}function Won(t){return C1(),jr(($ie(),Fke),t)}function Yon(t){return Bm(),jr((qie(),Hke),t)}function Xon(t){return bk(),jr((wae(),Vke),t)}function Qon(t){return I_(),jr((_Qt(),Uke),t)}function Jon(t){return s_(),jr((Ose(),Gke),t)}function Zon(t){return a_(),jr((bae(),p8e),t)}function tcn(t){return uq(),jr((Vie(),b8e),t)}function ecn(t){return Kq(),jr((Uie(),x8e),t)}function ncn(t){return zH(),jr((Vae(),E8e),t)}function rcn(t){return uO(),jr((Nse(),C8e),t)}function icn(t){return Cq(),jr((Hie(),T8e),t)}function scn(t){return NH(),jr((pae(),U8e),t)}function acn(t){return Zq(),jr((Pse(),G8e),t)}function ocn(t){return vH(),jr((Fse(),K8e),t)}function ccn(t){return DH(),jr((Bse(),Y8e),t)}function ucn(t){return dH(),jr((Rse(),J8e),t)}function lcn(t){return wq(),jr((Gie(),vEe),t)}function hcn(t){return r7(),jr((Iie(),x4e),t)}function fcn(t){return Un(),jr((poe(),b4e),t)}function dcn(t){return Sq(),jr((jse(),yEe),t)}function gcn(t){return gat(),jr((Kie(),xEe),t)}function pcn(t){return A_(),jr((Uae(),EEe),t)}function bcn(t){return S$(),jr((uie(),CEe),t)}function wcn(t){return pO(),jr((Kse(),TEe),t)}function mcn(t){return _$(),jr((lie(),_Ee),t)}function vcn(t){return BI(),jr((Wie(),AEe),t)}function ycn(t){return DO(),jr((Gae(),LEe),t)}function xcn(t){return tS(),jr((hie(),UEe),t)}function kcn(t){return sO(),jr((Yie(),GEe),t)}function Ecn(t){return D1(),jr((Wae(),JEe),t)}function Tcn(t){return Fp(),jr((fce(),t7e),t)}function Ccn(t){return I0(),jr((boe(),e7e),t)}function Scn(t){return fw(),jr((woe(),o7e),t)}function _cn(t){return Rs(),jr((Kae(),S7e),t)}function Acn(t){return cd(),jr((Wse(),_7e),t)}function Lcn(t){return Lg(),jr((mae(),A7e),t)}function Dcn(t){return HH(),jr((moe(),L7e),t)}function Mcn(t){return Ag(),jr((Gse(),M7e),t)}function Icn(t){return uh(),jr((vae(),O7e),t)}function Ocn(t){return e3(),jr((Ace(),N7e),t)}function Ncn(t){return o5(),jr((Yae(),P7e),t)}function Pcn(t){return ka(),jr((voe(),F7e),t)}function Fcn(t){return wl(),jr((yoe(),B7e),t)}function Bcn(t){return ve(),jr((Xae(),R7e),t)}function Rcn(t){return Yl(),jr((yae(),H7e),t)}function jcn(t){return Ml(),jr((_ce(),V7e),t)}function $cn(t){return lk(),jr((Yse(),U7e),t)}function zcn(t,e){return Wn(t),t+(Wn(e),e)}function qcn(t){return vit(),jr((Xie(),G7e),t)}function Hcn(t){return pH(),jr((xae(),K7e),t)}function Vcn(t){return sH(),jr((kae(),X7e),t)}function LE(){LE=V,JAt=(ve(),Gn),nK=Jn}function vit(){vit=V,bIt=new _te,wIt=new fee}function Ucn(t){return!t.e&&(t.e=new fe),t.e}function yit(t,e){this.c=t,this.a=e,this.b=e-t}function JZt(t,e,n){this.a=t,this.b=e,this.c=n}function xit(t,e,n){this.a=t,this.b=e,this.c=n}function Nvt(t,e,n){this.a=t,this.b=e,this.c=n}function Pvt(t,e,n){this.a=t,this.b=e,this.c=n}function ZZt(t,e,n){this.a=t,this.b=e,this.c=n}function tte(t,e,n){this.a=t,this.b=e,this.c=n}function mp(t,e,n){this.e=t,this.a=e,this.c=n}function ete(t,e,n){Sh(),Zyt.call(this,t,e,n)}function kit(t,e,n){Sh(),Fyt.call(this,t,e,n)}function Fvt(t,e,n){Sh(),Fyt.call(this,t,e,n)}function Bvt(t,e,n){Sh(),Fyt.call(this,t,e,n)}function nte(t,e,n){Sh(),kit.call(this,t,e,n)}function Rvt(t,e,n){Sh(),kit.call(this,t,e,n)}function rte(t,e,n){Sh(),Rvt.call(this,t,e,n)}function ite(t,e,n){Sh(),Fvt.call(this,t,e,n)}function ste(t,e,n){Sh(),Bvt.call(this,t,e,n)}function Eit(t){Lz.call(this,t.d,t.c,t.a,t.b)}function jvt(t){Lz.call(this,t.d,t.c,t.a,t.b)}function $vt(t){this.d=t,kr(this),this.b=Vun(t.d)}function Gcn(t){return O7(),jr((dce(),uTe),t)}function pI(t,e){return Hr(t),Hr(e),new dYt(t,e)}function H6(t,e){return Hr(t),Hr(e),new mte(t,e)}function Kcn(t,e){return Hr(t),Hr(e),new vte(t,e)}function Wcn(t,e){return Hr(t),Hr(e),new kYt(t,e)}function Tit(t){return ur(t.b!=0),Oh(t,t.a.a)}function Ycn(t){return ur(t.b!=0),Oh(t,t.c.b)}function Xcn(t){return!t.c&&(t.c=new x0),t.c}function DE(t){var e;return e=new fe,Wst(e,t),e}function Qcn(t){var e;return e=new Os,Wst(e,t),e}function ate(t){var e;return e=new q2t,oat(e,t),e}function bI(t){var e;return e=new Ki,oat(e,t),e}function u(t,e){return AS(t==null||aot(t,e)),t}function Jcn(t,e,n){see.call(this,e,n),this.a=t}function ote(t,e){this.c=t,this.b=e,this.a=!1}function cte(){this.a=";,;",this.b="",this.c=""}function ute(t,e,n){this.b=t,yQt.call(this,e,n)}function zvt(t,e,n){this.c=t,I$.call(this,e,n)}function qvt(t,e,n){kE.call(this,t,e),this.b=n}function Hvt(t,e,n){N6t(n,0,t,e,n.length,!1)}function S0(t,e,n,r,s){t.b=e,t.c=n,t.d=r,t.a=s}function Vvt(t,e,n,r,s){t.d=e,t.c=n,t.a=r,t.b=s}function Zcn(t,e){e&&(t.b=e,t.a=(Mb(e),e.a))}function wI(t,e){if(!t)throw at(new zn(e))}function V6(t,e){if(!t)throw at(new Ro(e))}function Uvt(t,e){if(!t)throw at(new wWt(e))}function tun(t,e){return T$(),jc(t.d.p,e.d.p)}function eun(t,e){return Sg(),Bi(t.e.b,e.e.b)}function nun(t,e){return Sg(),Bi(t.e.a,e.e.a)}function run(t,e){return jc(Tte(t.d),Tte(e.d))}function yz(t,e){return e&&Vz(t,e.d)?e:null}function iun(t,e){return e==(ve(),Gn)?t.c:t.d}function Gvt(t){return Fb(rln(ec(t)?rf(t):t))}function sun(t){return new ae(t.c+t.b,t.d+t.a)}function lte(t){return t!=null&&!Uat(t,CL,SL)}function aun(t,e){return(que(t)<<4|que(e))&js}function hte(t,e,n,r,s){t.c=e,t.d=n,t.b=r,t.a=s}function Kvt(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function Wvt(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function oun(t,e){var n;return n=t.c,S4t(t,e),n}function Yvt(t,e){return e<0?t.g=-1:t.g=e,t}function xz(t,e){return pgn(t),t.a*=e,t.b*=e,t}function fte(t,e,n){aoe.call(this,e,n),this.d=t}function mI(t,e,n){gmt.call(this,t,e),this.c=n}function kz(t,e,n){gmt.call(this,t,e),this.c=n}function Xvt(t){Avt(),E4.call(this),this.ci(t)}function dte(){VE(),Aln.call(this,(Eb(),yf))}function gte(t){return yi(),new _0(0,t)}function pte(){pte=V,a0t=(mn(),new pa(lht))}function Ez(){Ez=V,new oxt((Wnt(),kht),(Knt(),xht))}function bte(){bte=V,d9t=Vt(Ra,ue,17,256,0,1)}function wte(){this.b=Rt(Ht(Se((Vf(),eft))))}function Cit(t){this.b=t,this.a=K2(this.b.a).Od()}function mte(t,e){this.b=t,this.a=e,DC.call(this)}function vte(t,e){this.a=t,this.b=e,DC.call(this)}function yte(t,e,n){this.a=t,$4.call(this,e,n)}function xte(t,e,n){this.a=t,$4.call(this,e,n)}function ME(t,e,n){var r;r=new Oy(n),_1(t,e,r)}function Qvt(t,e,n){var r;return r=t[e],t[e]=n,r}function Tz(t){var e;return e=t.slice(),zst(e,t)}function Cz(t){var e;return e=t.n,t.a.b+e.d+e.a}function kte(t){var e;return e=t.n,t.e.b+e.d+e.a}function Jvt(t){var e;return e=t.n,t.e.a+e.b+e.c}function Zvt(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function Zr(t,e){return hs(t,e,t.c.b,t.c),!0}function cun(t){return t.a?t.a:Zit(t)}function uun(t){return J6(),O0(t)==Ji(qb(t))}function lun(t){return J6(),qb(t)==Ji(O0(t))}function Cm(t,e){return k_(t,new kE(e.a,e.b))}function hun(t,e){return Gz(),got(t,e),new Vee(t,e)}function fun(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function Ete(t){return t.b.c.length-t.e.c.length}function Tte(t){return t.e.c.length-t.g.c.length}function Sit(t){return t.e.c.length+t.g.c.length}function vI(t){return t==0||isNaN(t)?t:t<0?-1:1}function dun(t){return!go(t)&&t.c.i.c==t.d.i.c}function gun(t){return rh(),(ve(),Ou).Hc(t.j)}function pun(t,e,n){return Sg(),n.e.a+n.f.a+t*e}function bun(t,e,n){return Sg(),n.e.b+n.f.b+t*e}function wun(t,e,n){return hi(t.b,u(n.b,18),e)}function mun(t,e,n){return hi(t.b,u(n.b,18),e)}function vun(t,e,n){sCn(t.a,t.b,t.c,u(e,166),n)}function tyt(t,e,n,r){txt.call(this,t,e,n,r,0,0)}function Cte(t){Avt(),Xvt.call(this,t),this.a=-1}function Ste(t,e){see.call(this,e,1040),this.a=t}function _te(){zXt.call(this,"COUNT_CHILDREN",0)}function Sz(t,e){eI.call(this,t,e),this.a=this}function os(t,e){var n;return n=Wit(t,e),n.i=2,n}function _z(t,e){var n;return++t.j,n=t.Cj(e),n}function ri(t,e,n){return t.a=-1,Ymt(t,e.g,n),t}function yun(t,e){return ge(t,new ae(e.a,e.b))}function Ate(t){return ak(),Vt(aK,rU,39,t,0,1)}function Lte(t){return t.e.Rd().gc()*t.c.Rd().gc()}function _it(t,e,n){return new RZt(Dln(t)._e(),n,e)}function xun(t,e){_4t(t,e==null?null:(Wn(e),e))}function kun(t,e){C4t(t,e==null?null:(Wn(e),e))}function Eun(t,e){C4t(t,e==null?null:(Wn(e),e))}function AS(t){if(!t)throw at(new fE(null))}function eyt(t){if(t.c.e!=t.a)throw at(new Th)}function nyt(t){if(t.e.c!=t.b)throw at(new Th)}function Az(t){for(Hr(t);t.Ob();)t.Pb(),t.Qb()}function Ait(t){Dm(),this.a=(mn(),new pa(Hr(t)))}function ryt(t){this.c=t,this.b=this.c.d.vc().Kc()}function Tun(t){t.a.ld(),u(t.a.md(),16).gc(),fwt()}function Dte(t,e){return t.a+=af(e,0,e.length),t}function Oe(t,e){return vn(e,t.c.length),t.c[e]}function Mte(t,e){return vn(e,t.a.length),t.a[e]}function Cun(t,e){return Wn(e),JI(e,(Wn(t),t))}function Sun(t,e){return Wn(t),JI(t,(Wn(e),e))}function G2(t,e,n,r,s,o){return efe(t,e,n,r,s,0,o)}function _un(t,e){return ls(e,0,iyt(e[0],Mg(1)))}function Aun(t,e){return Mg(Qa(Mg(t.a).a,e.a))}function iyt(t,e){return Aun(u(t,168),u(e,168))}function Ite(){Ite=V,g9t=Vt(gv,ue,168,256,0,1)}function Ote(){Ote=V,w9t=Vt(pv,ue,191,256,0,1)}function Nte(){Nte=V,l9t=Vt(Fk,ue,222,256,0,1)}function Pte(){Pte=V,f9t=Vt(vA,ue,180,128,0,1)}function syt(){S0(this,!1,!1,!1,!1)}function ayt(t){hr.call(this,new kp),Ma(this,t)}function LS(t){this.a=new M6(t.gc()),Ma(this,t)}function Fte(t){this.c=t,this.a=new I6(this.c.a)}function Bte(t){this.a=t,this.c=new _r,Qpn(this)}function Rte(){this.d=new ae(0,0),this.e=new Os}function ln(t,e){U2(),Bst.call(this,t),this.a=e}function Lz(t,e,n,r){Vvt(this,t,e,n,r)}function Lun(t,e,n){return jc(e.d[t.g],n.d[t.g])}function Dun(t,e,n){return jc(t.d[e.p],t.d[n.p])}function Mun(t,e,n){return jc(t.d[e.p],t.d[n.p])}function Iun(t,e,n){return jc(t.d[e.p],t.d[n.p])}function Oun(t,e,n){return jc(t.d[e.p],t.d[n.p])}function Dz(t,e,n){return b.Math.min(n/t,1/e)}function jte(t,e){return t?0:b.Math.max(0,e-1)}function Lit(t,e){return t==null?e==null:hn(t,e)}function Nun(t,e){return t==null?e==null:kH(t,e)}function $te(t){return t.q?t.q:(mn(),mn(),q0)}function zte(t){return t.c-u(Oe(t.a,t.b),293).b}function Gl(t){return t.c?t.c.f:t.e.b}function tl(t){return t.c?t.c.g:t.e.a}function Pun(t,e){return t.a==null&&E0e(t),t.a[e]}function qte(t){var e;return e=rfe(t),e?qte(e):t}function Mz(t,e){return yi(),new Cyt(t,e)}function _0(t,e){yi(),um.call(this,t),this.a=e}function Iz(t,e){Sh(),i$.call(this,e),this.a=t}function DS(t,e,n){this.a=t,Ps.call(this,e,n,2)}function Hte(t){this.b=new Ki,this.a=t,this.c=-1}function Vte(t){Kmt.call(this,0,0),this.a=t,this.b=0}function Oz(t){$m.call(this,t.gc()),gs(this,t)}function Nz(t){t.b?Nz(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function oyt(t){return Array.isArray(t)&&t.Tm===yt}function Dit(t,e){return Lt(e,22)&&Zu(t,u(e,22))}function Ute(t,e){return Lt(e,22)&&lgn(t,u(e,22))}function Eo(t,e){return wue(t,e,$dn(t,t.b.Ce(e)))}function Fun(t,e){return t.a.get(e)!==void 0}function cyt(t){return Dl(t,26)*q_+Dl(t,27)*H_}function Gte(t,e){return Lgn(new Ss,new mb(t),e)}function Mit(t,e,n){pue(0,e,t.length),GE(t,0,e,n)}function Sm(t,e,n){Fy(e,t.c.length),sS(t.c,e,n)}function Pz(t,e,n){var r;t&&(r=t.i,r.c=e,r.b=n)}function Fz(t,e,n){var r;t&&(r=t.i,r.d=e,r.a=n)}function Kte(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function Bun(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function Hi(t,e){var n;return n=en(t),J4t(n,e),n}function Run(t,e){return!t&&(t=[]),t[t.length]=e,t}function Iit(t,e){ki(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function jun(t,e){Iit(t,ia(new ae(e.a,e.b),t.c))}function Oit(t,e){this.b=new Ki,this.a=t,this.c=e}function Wte(){this.b=new ay,this.c=new Ane(this)}function uyt(){this.d=new Zs,this.e=new _ne(this)}function lyt(){i3t(),this.f=new Ki,this.e=new Ki}function Yte(){rh(),this.k=new _r,this.d=new Os}function Nit(){Nit=V,J7e=new _a((ai(),Pl),0)}function Xte(){Xte=V,jve=new Vte(Vt(aa,Ln,1,0,5,1))}function $un(t,e,n){return qs(t,new O6(e.a,n.a))}function zun(t,e,n){return-jc(t.f[e.p],t.f[n.p])}function qun(t,e,n){fde(n,t,1),ge(e,new hXt(n,t))}function Hun(t,e,n){x_(n,t,1),ge(e,new gXt(n,t))}function Qte(t,e,n){this.a=t,az.call(this,e,n,22)}function Jte(t,e,n){this.a=t,az.call(this,e,n,14)}function Zte(t,e,n,r){Sh(),Bre.call(this,t,e,n,r)}function tee(t,e,n,r){Sh(),Bre.call(this,t,e,n,r)}function el(t,e,n){return t.a=-1,Ymt(t,e.g+1,n),t}function hyt(t,e,n){return n=hh(t,u(e,54),7,n),n}function fyt(t,e,n){return n=hh(t,u(e,54),3,n),n}function qr(t){return ec(t)?t|0:RWt(t)}function eee(t){return yi(),new lst(10,t,0)}function nee(t){var e;return e=t.f,e||(t.f=t.Dc())}function U6(t){var e;return e=t.i,e||(t.i=t.bc())}function Bz(t){if(t.e.j!=t.d)throw at(new Th)}function K2(t){return t.c?t.c:t.c=t.Sd()}function Pit(t){return t.d?t.d:t.d=t.Td()}function MS(t,e){return Own(VI(t,e))?e.zi():null}function Vun(t){return Lt(t,15)?u(t,15).ed():t.Kc()}function dyt(t){return t.Qc(Vt(aa,Ln,1,t.gc(),5,1))}function ree(t){return t!=null&&$it(t)&&t.Tm!==yt}function gyt(t){return!Array.isArray(t)&&t.Tm===yt}function iee(t,e){return Hr(e),t.a.Jd(e)&&!t.b.Jd(e)}function Uun(t,e){return Eu(t.l&e.l,t.m&e.m,t.h&e.h)}function Gun(t,e){return Eu(t.l|e.l,t.m|e.m,t.h|e.h)}function Kun(t,e){return Eu(t.l^e.l,t.m^e.m,t.h^e.h)}function Rf(t,e){return Fb(Pfe(ec(t)?rf(t):t,e))}function _m(t,e){return Fb(H6t(ec(t)?rf(t):t,e))}function Ab(t,e){return Fb(A4n(ec(t)?rf(t):t,e))}function Wun(t,e){return dan((Wn(t),t),(Wn(e),e))}function Fit(t,e){return Bi((Wn(t),t),(Wn(e),e))}function Rz(t){this.b=new wu(11),this.a=(Nm(),t)}function rr(t){this.a=(Xte(),jve),this.d=u(Hr(t),51)}function see(t,e){this.c=0,this.d=t,this.b=e|64|Jd}function pyt(t,e){this.e=t,this.d=e&64?e|Jd:e}function Bit(t){this.b=null,this.a=(Nm(),t||C9t)}function aee(t){oz(this),this.g=t,Xz(this),this.je()}function W2(t){Tb(),this.a=0,this.b=t-1,this.c=1}function byt(t,e,n,r){this.a=t,yq.call(this,t,e,n,r)}function Yun(t,e,n){t.a.Mb(n)&&(t.b=!0,e.Cd(n))}function wyt(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function IE(t,e){if(t<0||t>=e)throw at(new Y2t)}function My(t,e){return dO(t,(Wn(e),new no(e)))}function G6(t,e){return dO(t,(Wn(e),new ql(e)))}function oee(t,e,n){return RSn(t,u(e,12),u(n,12))}function cee(t){return rl(),u(t,12).g.c.length!=0}function uee(t){return rl(),u(t,12).e.c.length!=0}function Xun(t,e){return ok(),Bi(e.a.o.a,t.a.o.a)}function Qun(t,e){e.Bb&Fc&&!t.a.o&&(t.a.o=e)}function Jun(t,e){e.Ug("General 'Rotator",1),fCn(t)}function Zun(t,e,n){e.qf(n,Rt(Ht(tr(t.b,n)))*t.a)}function lee(t,e,n){return w5(),i7(t,e)&&i7(t,n)}function IS(t){return wl(),!t.Hc(Hg)&&!t.Hc(g2)}function tln(t){return t.e?$3t(t.e):null}function OS(t){return ec(t)?""+t:p0e(t)}function myt(t){var e;for(e=t;e.f;)e=e.f;return e}function eln(t,e,n){return ls(e,0,iyt(e[0],n[0])),e}function vp(t,e,n,r){var s;s=t.i,s.i=e,s.a=n,s.b=r}function Jt(t,e,n,r){Ps.call(this,t,e,n),this.b=r}function ha(t,e,n,r,s){jst.call(this,t,e,n,r,s,-1)}function NS(t,e,n,r,s){jI.call(this,t,e,n,r,s,-1)}function jz(t,e,n,r){mI.call(this,t,e,n),this.b=r}function hee(t){cQt.call(this,t,!1),this.a=!1}function fee(){zXt.call(this,"LOOKAHEAD_LAYOUT",1)}function dee(t){this.b=t,j6.call(this,t),mJt(this)}function gee(t){this.b=t,aI.call(this,t),vJt(this)}function Iy(t,e,n){this.a=t,z6.call(this,e,n,5,6)}function vyt(t,e,n,r){this.b=t,Ps.call(this,e,n,r)}function pee(t,e){this.b=t,dg.call(this,t.b),this.a=e}function bee(t){this.a=Zle(t.a),this.b=new fl(t.b)}function yyt(t,e){Dm(),Irn.call(this,t,uH(new hl(e)))}function $z(t,e){return yi(),new Pyt(t,e,0)}function Rit(t,e){return yi(),new Pyt(6,t,e)}function Na(t,e){for(Wn(e);t.Ob();)e.Cd(t.Pb())}function Tu(t,e){return ba(e)?ost(t,e):!!Eo(t.f,e)}function jit(t,e){return e.Vh()?jb(t.b,u(e,54)):e}function nln(t,e){return hn(t.substr(0,e.length),e)}function A0(t){return new rr(new zmt(t.a.length,t.a))}function zz(t){return new ae(t.c+t.b/2,t.d+t.a/2)}function rln(t){return Eu(~t.l&Il,~t.m&Il,~t.h&Fg)}function $it(t){return typeof t===ZO||typeof t===Pct}function dl(t){t.f=new FQt(t),t.i=new BQt(t),++t.g}function wee(t){if(!t)throw at(new cc);return t.d}function K6(t){var e;return e=r_(t),ur(e!=null),e}function iln(t){var e;return e=y2n(t),ur(e!=null),e}function OE(t,e){var n;return n=t.a.gc(),P3t(e,n),n-e}function qs(t,e){var n;return n=t.a.zc(e,t),n==null}function yI(t,e){return t.a.zc(e,(Pn(),t2))==null}function xyt(t){return new ln(null,uln(t,t.length))}function kyt(t,e,n){return jge(t,u(e,42),u(n,176))}function W6(t,e,n){return zf(t.a,e),Qvt(t.b,e.g,n)}function sln(t,e,n){IE(n,t.a.c.length),Mh(t.a,n,e)}function zt(t,e,n,r){pue(e,n,t.length),aln(t,e,n,r)}function aln(t,e,n,r){var s;for(s=e;s<n;++s)t[s]=r}function Eyt(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function Y2(t,e,n){Xd(),this.e=t,this.d=e,this.a=n}function Tyt(t,e,n){this.c=t,this.a=e,mn(),this.b=n}function zit(t,e){this.d=t,Zn.call(this,t),this.e=e}function E1(t,e,n){return Cbn(t,e.g,n),zf(t.c,e),t}function oln(t){return x5(t,(Rs(),Uo)),t.d=!0,t}function qit(t){return!t.j&&Xn(t,hEn(t.g,t.b)),t.j}function mee(t){t.a=null,t.e=null,dl(t.b),t.d=0,++t.c}function PS(t){_y(t.b!=-1),Ep(t.c,t.a=t.b),t.b=-1}function Cyt(t,e){um.call(this,1),this.a=t,this.b=e}function cln(t,e){return t>0?b.Math.log(t/e):-100}function vee(t,e){return $c(t,e)<0?-1:$c(t,e)>0?1:0}function xI(t,e){lJt(t,Lt(e,160)?e:u(e,2036).Rl())}function Syt(t,e){if(t==null)throw at(new A6(e))}function uln(t,e){return hgn(e,t.length),new Ste(t,e)}function _yt(t,e){return e?Ma(t,e):!1}function lln(){return l$(),lt(ut($ve,1),te,549,0,[Cht])}function FS(t){return t.e==0?t:new Y2(-t.e,t.d,t.a)}function hln(t,e){return Bi(t.c.c+t.c.b,e.c.c+e.c.b)}function kI(t,e){hs(t.d,e,t.b.b,t.b),++t.a,t.c=null}function yee(t,e){return t.c?yee(t.c,e):ge(t.b,e),t}function fln(t,e,n){var r;return r=$y(t,e),Est(t,e,n),r}function xee(t,e,n){var r;for(r=0;r<e;++r)ls(t,r,n)}function kee(t,e,n,r,s){for(;e<n;)r[s++]=Va(t,e++)}function NE(t,e,n,r,s){Mot(t,u(Ai(e.k,n),15),n,r,s)}function Am(t,e){ms(Wo(t.Oc(),new oR),new rUt(e))}function dln(t,e){return Bi(t.e.a+t.f.a,e.e.a+e.f.a)}function gln(t,e){return Bi(t.e.b+t.f.b,e.e.b+e.f.b)}function Hit(t){return b.Math.abs(t.d.e-t.e.e)-t.a}function pln(t){return t==Zi?NN:t==Vs?"-INF":""+t}function bln(t){return t==Zi?NN:t==Vs?"-INF":""+t}function wln(t){return J6(),Ji(O0(t))==Ji(qb(t))}function mln(t,e,n){return u(t.c.hd(e,u(n,136)),44)}function vln(t,e){Y6(t,new Oy(e.f!=null?e.f:""+e.g))}function yln(t,e){Y6(t,new Oy(e.f!=null?e.f:""+e.g))}function gs(t,e){return t.Si()&&(e=Yne(t,e)),t.Fi(e)}function Vit(t,e){return e=t.Yk(null,e),wfe(t,null,e)}function xln(t,e){++t.j,Dot(t,t.i,e),V5n(t,u(e,343))}function Ayt(t){t?Xxt(t,(pg(),Qve)):Chn((pg(),t))}function Lm(t){this.d=(Wn(t),t),this.a=0,this.c=rN}function Uit(t,e){this.d=f2n(t),this.c=e,this.a=.5*e}function Eee(t){Qyt.call(this),this.a=t,ge(t.a,this)}function Tee(){kp.call(this),this.a=!0,this.b=!0}function Cee(){Cee=V,Uve=new xc(!1),Gve=new xc(!0)}function BS(t){var e;return e=t.g,e||(t.g=new qj(t))}function qz(t){var e;return e=t.k,e||(t.k=new bb(t))}function Lyt(t){var e;return e=t.k,e||(t.k=new bb(t))}function kln(t){var e;return e=t.i,e||(t.i=new xnt(t))}function See(t){var e;return e=t.f,e||(t.f=new $mt(t))}function Git(t){var e;return e=t.j,e||(t.j=new Gj(t))}function Kit(t){var e;return e=t.d,e||(t.d=new wb(t))}function _ee(t,e,n){return yi(),new kre(t,e,n)}function Aee(t,e){return OI(e,t.c.b.c.gc()),new fYt(t,e)}function Dyt(t,e){var n;return n=t.a.gc(),OI(e,n),n-1-e}function I(t,e,n){var r;return r=Wit(t,e),Toe(n,r),r}function Wit(t,e){var n;return n=new Y4t,n.j=t,n.d=e,n}function Hr(t){if(t==null)throw at(new E6);return t}function Oy(t){if(t==null)throw at(new E6);this.a=t}function Lee(t){R2t(),this.b=new fe,this.a=t,g9n(this,t)}function Myt(t){this.b=t,this.a=u(nf(this.b.a.e),227)}function Dm(){Dm=V,Vd(),Eht=new ust((mn(),mn(),co))}function Yit(){Yit=V,Vd(),n9t=new Pwt((mn(),mn(),FU))}function Lb(){Lb=V,Fn=H5n(),wn(),G3&&Vvn()}function Hz(t){t.s=NaN,t.c=NaN,tde(t,t.e),tde(t,t.j)}function fr(t){return(t.i==null&&Qd(t),t.i).length}function Dee(t,e){return u(K2(t.a).Md().Xb(e),44).ld()}function tr(t,e){return ba(e)?nu(t,e):Ko(Eo(t.f,e))}function Eln(t,e){return J6(),t==O0(e)?qb(e):O0(e)}function Tln(t,e,n,r){return n==0||(n-r)/n<t.e||e>=t.g}function ls(t,e,n){return ran(n==null||JEn(t,n)),t[e]=n}function Iyt(t,e){return qn(e,t.length+1),t.substr(e)}function Xit(t,e){for(Wn(e);t.c<t.d;)t.Se(e,t.c++)}function Oyt(t){this.d=t,this.c=t.a.d.a,this.b=t.a.e.g}function Mee(t){this.c=t,this.a=new Ki,this.b=new Ki}function eu(t){this.c=new Sa,this.a=new fe,this.b=t}function Iee(t){this.b=new fe,this.a=new fe,this.c=t}function Cln(t,e,n){u(e.b,68),Cu(e.a,new Nvt(t,n,e))}function Sln(t,e){return ok(),u(Io(t,e.d),15).Fc(e)}function Y6(t,e){var n;n=t.a.length,$y(t,n),Est(t,n,e)}function Oee(t,e){var n;n=console[t],n.call(console,e)}function Nee(t,e){var n;++t.j,n=t.Ej(),t.rj(t.Zi(n,e))}function Qit(t,e,n){var r;return r=aat(t,e,n),wkt(t,r)}function Mm(t){return!t.d&&(t.d=new Ps(Do,t,1)),t.d}function _ln(t){return!t.a&&(t.a=new Ps(p2,t,4)),t.a}function PE(t,e){return t.a+=String.fromCharCode(e),t}function Db(t,e){return t.a+=String.fromCharCode(e),t}function Nyt(t,e,n){this.a=t,N2t.call(this,e),this.b=n}function Pee(t,e,n){this.a=t,b3t.call(this,8,e,null,n)}function Pyt(t,e,n){um.call(this,t),this.a=e,this.b=n}function Fyt(t,e,n){i$.call(this,e),this.a=t,this.b=n}function Fee(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function Aln(t){this.a=(Wn(ti),ti),this.b=t,new Z2t}function Bee(t){Hyt(t.a),t.b=Vt(aa,Ln,1,t.b.length,5,1)}function Kl(t){_y(t.c!=-1),t.d.gd(t.c),t.b=t.c,t.c=-1}function RS(t){return b.Math.sqrt(t.a*t.a+t.b*t.b)}function Vz(t,e){return Eot(t.c,t.f,e,t.b,t.a,t.e,t.d)}function Im(t,e){return IE(e,t.a.c.length),Oe(t.a,e)}function Ud(t,e){return $t(t)===$t(e)||t!=null&&Ti(t,e)}function Ree(t){return Lt(t,102)&&(u(t,19).Bb&Fc)!=0}function jee(t){return nf(t),Lt(t,483)?u(t,483):rc(t)}function $ee(t){return t?t.dc():!t.Kc().Ob()}function Lln(t){return W3?ost(W3,t):!1}function Dln(t){return 0>=t?new Lwt:Pgn(t-1)}function Pa(t){return!t.a&&t.c?t.c.b:t.a}function Byt(t){return Lt(t,616)?t:new $ne(t)}function Mb(t){t.c?Mb(t.c):($b(t),t.d=!0)}function jS(t){t.c?t.c.$e():(t.d=!0,Z6n(t))}function zee(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function qee(t){var e,n;return e=t.c.i.c,n=t.d.i.c,e==n}function Mln(t,e){var n;n=t.Ih(e),n>=0?t.ki(n):C6t(t,e)}function Hee(t,e){t.c<0||t.b.b<t.c?ro(t.b,e):t.a.tf(e)}function Iln(t,e){Or((!t.a&&(t.a=new lI(t,t)),t.a),e)}function Oln(t,e){Iit(u(e.b,68),t),Cu(e.a,new t$(t))}function Nln(t,e){return jc(e.j.c.length,t.j.c.length)}function Pln(t,e,n){return ck(),n.Lg(t,u(e.ld(),149))}function nf(t){if(t==null)throw at(new E6);return t}function Wn(t){if(t==null)throw at(new E6);return t}function Fln(t){if(t.p!=4)throw at(new Xu);return t.e}function Bln(t){if(t.p!=3)throw at(new Xu);return t.e}function Rln(t){if(t.p!=3)throw at(new Xu);return t.j}function jln(t){if(t.p!=4)throw at(new Xu);return t.j}function $ln(t){if(t.p!=6)throw at(new Xu);return t.f}function zln(t){if(t.p!=6)throw at(new Xu);return t.k}function Ryt(t){return!t.b&&(t.b=new s$(new Gnt)),t.b}function Om(t){return t.c==-2&&Ee(t,N3n(t.g,t.b)),t.c}function FE(t,e){var n;return n=Wit("",t),n.n=e,n.i=1,n}function Uz(t,e,n,r){bm.call(this,t,n),this.a=e,this.f=r}function jyt(t,e,n,r){bm.call(this,t,e),this.d=n,this.a=r}function Vee(t,e){tsn.call(this,Fgn(Hr(t),Hr(e))),this.a=e}function Fs(){JKt.call(this),wy(this.j.c,0),this.a=-1}function Uee(){r6t.call(this,hf,(bE(),zIt)),uTn(this)}function Gee(){r6t.call(this,Cw,(BWt(),BTe)),t9n(this)}function Kee(){Rr.call(this,"DELAUNAY_TRIANGULATION",0)}function qln(t){return String.fromCharCode.apply(null,t)}function hi(t,e,n){return ba(e)?jo(t,e,n):yu(t.f,e,n)}function $yt(t){return mn(),t?t.Oe():(Nm(),Nm(),S9t)}function Hln(t){return oh(t,jct),Oq(Qa(Qa(5,t),t/10|0))}function Wee(t,e){return Ez(),new oxt(new DJt(t),new LJt(e))}function Gz(){Gz=V,Rve=new cwt(lt(ut(Sw,1),xV,44,0,[]))}function Yee(t){return!t.d&&(t.d=new Ta(t.c.Cc())),t.d}function BE(t){return!t.a&&(t.a=new kWt(t.c.vc())),t.a}function Xee(t){return!t.b&&(t.b=new dE(t.c.ec())),t.b}function L0(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function Qee(t,e){var n;return n=new eu(t),In(e.c,n),n}function Jee(t,e){t.u.Hc((wl(),Hg))&&F5n(t,e),t0n(t,e)}function Nc(t,e){return $t(t)===$t(e)||t!=null&&Ti(t,e)}function Io(t,e){return Dit(t.a,e)?t.b[u(e,22).g]:null}function Vln(){return E$(),lt(ut(rCt,1),te,488,0,[Wht])}function Uln(){return S$(),lt(ut(IDt,1),te,489,0,[wdt])}function Gln(){return _$(),lt(ut(SEe,1),te,558,0,[mdt])}function Kln(){return tS(),lt(ut(ZDt,1),te,539,0,[kP])}function Kz(t){return!t.n&&(t.n=new Jt(Po,t,1,7)),t.n}function Jit(t){return!t.c&&(t.c=new Jt(kl,t,9,9)),t.c}function zyt(t){return!t.c&&(t.c=new kn(vr,t,5,8)),t.c}function Wln(t){return!t.b&&(t.b=new kn(vr,t,4,7)),t.b}function EI(t){return t.j.c.length=0,Hyt(t.c),San(t.a),t}function RE(t){return t.e==dT&&nn(t,qwn(t.g,t.b)),t.e}function TI(t){return t.f==dT&&Tn(t,Ovn(t.g,t.b)),t.f}function fi(t,e,n,r){return xce(t,e,n,!1),lH(t,r),t}function Zee(t,e){this.b=t,zit.call(this,t,e),mJt(this)}function tne(t,e){this.b=t,Cvt.call(this,t,e),vJt(this)}function $S(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function qyt(t,e){this.b=t,this.c=e,this.a=new I6(this.b)}function Va(t,e){return qn(e,t.length),t.charCodeAt(e)}function Yln(t,e){L5t(t,Rt(_g(e,"x")),Rt(_g(e,"y")))}function Xln(t,e){L5t(t,Rt(_g(e,"x")),Rt(_g(e,"y")))}function _i(t,e){return $b(t),new ln(t,new Z3t(e,t.a))}function Wo(t,e){return $b(t),new ln(t,new R3t(e,t.a))}function Ny(t,e){return $b(t),new rvt(t,new use(e,t.a))}function Wz(t,e){return $b(t),new ivt(t,new lse(e,t.a))}function Qln(t,e){return new Tne(u(Hr(t),50),u(Hr(e),50))}function Jln(t,e){return Bi(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function ene(t,e,n){n.a?_u(t,e.b-t.f/2):Su(t,e.a-t.g/2)}function Zln(t,e){return Bi(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function thn(t,e){return Iwt(),Bi((Wn(t),t),(Wn(e),e))}function ehn(t){return t!=null&&BM(WK,t.toLowerCase())}function Hyt(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function X4(t){var e;return e=t.b,!e&&(t.b=e=new vnt(t)),e}function Zit(t){var e;return e=jgn(t),e||null}function nne(t,e){var n,r;return n=t/e,r=Ys(n),n>r&&++r,r}function nhn(t,e,n){var r;r=u(t.d.Kb(n),159),r&&r.Nb(e)}function rhn(t,e,n){sTn(t.a,n),Fpn(n),Sxn(t.b,n),STn(e,n)}function Yz(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function Vyt(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function rne(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function Ah(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function ine(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function tst(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function sne(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function est(t,e,n){this.a=b8t,this.d=t,this.b=e,this.c=n}function X6(t,e,n,r){Rr.call(this,t,e),this.a=n,this.b=r}function ane(t,e){this.d=(Wn(t),t),this.a=16449,this.c=e}function one(t){this.a=new fe,this.e=Vt(Fr,ue,53,t,0,2)}function ihn(t){t.Ug("No crossing minimization",1),t.Vg()}function cne(){uc.call(this,"There is no more element.")}function une(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function lne(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function X2(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function hne(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function fne(t,e,n,r){Sh(),hse.call(this,e,n,r),this.a=t}function dne(t,e,n,r){Sh(),hse.call(this,e,n,r),this.a=t}function nst(t,e,n){var r,s;return r=n8t(t),s=e.ti(n,r),s}function mg(t){var e,n;return n=(e=new lm,e),YE(n,t),n}function rst(t){var e,n;return n=(e=new lm,e),a6t(n,t),n}function shn(t,e){var n;return n=tr(t.f,e),j4t(e,n),null}function gne(t){return!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b}function pne(t){return AS(t==null||$it(t)&&t.Tm!==yt),t}function Xz(t){return t.n&&(t.e!==wbe&&t.je(),t.j=null),t}function jE(t){if(Ll(t.d),t.d.d!=t.c)throw at(new Th)}function Uyt(t){return ur(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function nh(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function ist(t){this.f=t,this.c=this.f.e,t.f>0&&Khe(this)}function bne(t,e){this.a=t,ian.call(this,t,u(t.d,15).fd(e))}function ahn(t,e){return Bi(tl(t)*Gl(t),tl(e)*Gl(e))}function ohn(t,e){return Bi(tl(t)*Gl(t),tl(e)*Gl(e))}function chn(t){return Zm(t)&&Ie(Me(ne(t,(De(),Mw))))}function uhn(t,e){return dn(t,u(X(e,(De(),OT)),17),e)}function lhn(t,e){return u(X(t,(oe(),Uk)),15).Fc(e),e}function Gyt(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function wne(t,e,n,r){this.b=t,this.c=r,ez.call(this,e,n)}function hhn(t,e,n){t.i=0,t.e=0,e!=n&&tue(t,e,n)}function fhn(t,e,n){t.i=0,t.e=0,e!=n&&eue(t,e,n)}function dhn(t,e,n){return ZC(),$2n(u(tr(t.e,e),529),n)}function Q6(t){var e;return e=t.f,e||(t.f=new vE(t,t.c))}function mne(t,e){return a5(t.j,e.s,e.c)+a5(e.e,t.s,t.c)}function vne(t,e){t.e&&!t.e.a&&(aKt(t.e,e),vne(t.e,e))}function yne(t,e){t.d&&!t.d.a&&(aKt(t.d,e),yne(t.d,e))}function ghn(t,e){return-Bi(tl(t)*Gl(t),tl(e)*Gl(e))}function phn(t){return u(t.ld(),149).Pg()+":"+rc(t.md())}function xne(){Fot(this,new Fj),this.wb=(Lb(),Fn),bE()}function kne(t){this.b=new fe,Hs(this.b,this.b),this.a=t}function Kyt(t,e){new Ki,this.a=new Qu,this.b=t,this.c=e}function Nm(){Nm=V,C9t=new Gt,Oht=new Gt,S9t=new Fe}function mn(){mn=V,co=new jt,q0=new Ft,FU=new Ct}function Wyt(){Wyt=V,vye=new Ha,xye=new uyt,yye=new ds}function J6(){J6=V,VU=new fe,Jht=new _r,Qht=new fe}function Qz(t,e){if(t==null)throw at(new A6(e));return t}function Jz(t){return!t.a&&(t.a=new Jt(bi,t,10,11)),t.a}function Di(t){return!t.q&&(t.q=new Jt(vf,t,11,10)),t.q}function Qt(t){return!t.s&&(t.s=new Jt(Wu,t,21,17)),t.s}function bhn(t){return Hr(t),uhe(new rr(sr(t.a.Kc(),new z)))}function whn(t,e){return Wl(t),Wl(e),bWt(u(t,22),u(e,22))}function Q2(t,e,n){var r,s;r=_vt(n),s=new cE(r),_1(t,e,s)}function sst(t,e,n,r,s,o){jI.call(this,t,e,n,r,s,o?-2:-1)}function Ene(t,e,n,r){gmt.call(this,e,n),this.b=t,this.a=r}function Tne(t,e){Rnn.call(this,new Bit(t)),this.a=t,this.b=e}function Yyt(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function mhn(t){Bf();var e;e=u(t.g,10),e.n.a=t.d.c+e.d.b}function $E(){$E=V;var t,e;e=!Cwn(),t=new it,Aht=e?new rt:t}function ast(t){return mn(),Lt(t,59)?new nrt(t):new uz(t)}function Zz(t){return Lt(t,16)?new LS(u(t,16)):Qcn(t.Kc())}function vhn(t){return new xJt(t,t.e.Rd().gc()*t.c.Rd().gc())}function yhn(t){return new kJt(t,t.e.Rd().gc()*t.c.Rd().gc())}function Xyt(t){return t&&t.hashCode?t.hashCode():Em(t)}function ost(t,e){return e==null?!!Eo(t.f,null):Fun(t.i,e)}function xhn(t,e){var n;return n=Imt(t.a,e),n&&(e.d=null),n}function Cne(t,e,n){return t.f?t.f.ef(e,n):!1}function CI(t,e,n,r){ls(t.c[e.g],n.g,r),ls(t.c[n.g],e.g,r)}function cst(t,e,n,r){ls(t.c[e.g],e.g,n),ls(t.b[e.g],e.g,r)}function khn(t,e,n){return Rt(Ht(n.a))<=t&&Rt(Ht(n.b))>=e}function Sne(t,e){this.g=t,this.d=lt(ut(V0,1),jp,10,0,[e])}function _ne(t){this.c=t,this.b=new pp(u(Hr(new Fu),50))}function Ane(t){this.c=t,this.b=new pp(u(Hr(new b4),50))}function Lne(t){this.b=t,this.a=new pp(u(Hr(new Ci),50))}function Dne(){this.b=new Os,this.d=new Ki,this.e=new X2t}function Qyt(){this.c=new Sa,this.d=new Sa,this.e=new Sa}function Pm(){this.a=new Qu,this.b=(oh(3,c3),new wu(3))}function yp(t,e){this.e=t,this.a=aa,this.b=M0e(e),this.c=e}function tq(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function Mne(t,e,n,r,s,o){this.a=t,tat.call(this,e,n,r,s,o)}function Ine(t,e,n,r,s,o){this.a=t,tat.call(this,e,n,r,s,o)}function Ib(t,e,n,r,s,o,h){return new Cst(t.e,e,n,r,s,o,h)}function Ehn(t,e,n){return n>=0&&hn(t.substr(n,e.length),e)}function One(t,e){return Lt(e,149)&&hn(t.b,u(e,149).Pg())}function Thn(t,e){return t.a?e.Gh().Kc():u(e.Gh(),71).Ii()}function Nne(t,e){var n;return n=t.b.Qc(e),Aie(n,t.b.gc()),n}function SI(t,e){if(t==null)throw at(new A6(e));return t}function Yo(t){return t.u||(_l(t),t.u=new dZt(t,t)),t.u}function ust(t){this.a=(mn(),Lt(t,59)?new nrt(t):new uz(t))}function $u(t){var e;return e=u(jn(t,16),29),e||t.ii()}function eq(t,e){var n;return n=V2(t.Rm),e==null?n:n+": "+e}function Lh(t,e,n){return Da(e,n,t.length),t.substr(e,n-e)}function Pne(t,e){gz.call(this),c4t(this),this.a=t,this.c=e}function Chn(t){t&&eq(t,t.ie())}function Shn(t){d$(),b.setTimeout(function(){throw t},0)}function _hn(){return TH(),lt(ut(N9t,1),te,436,0,[zht,O9t])}function Ahn(){return Mq(),lt(ut(F9t,1),te,435,0,[P9t,qht])}function Lhn(){return Iq(),lt(ut(lCt,1),te,432,0,[Zht,UU])}function Dhn(){return r7(),lt(ut(y4e,1),te,517,0,[KN,dft])}function Mhn(){return qI(),lt(ut(NSt,1),te,487,0,[OSt,EG])}function Ihn(){return YI(),lt(ut(MSt,1),te,428,0,[xG,DSt])}function Ohn(){return Eq(),lt(ut(ESt,1),te,431,0,[kSt,Aft])}function Nhn(){return KI(),lt(ut(jAt,1),te,430,0,[T1t,C1t])}function Phn(){return US(),lt(ut(hke,1),te,531,0,[KA,GA])}function Fhn(){return Gd(),lt(ut(mke,1),te,523,0,[Dv,Gp])}function Bhn(){return nd(),lt(ut(yke,1),te,522,0,[Fw,yd])}function Rhn(){return C1(),lt(ut(Pke,1),te,528,0,[F3,o2])}function jhn(){return fq(),lt(ut(KSt,1),te,429,0,[Hft,GSt])}function $hn(){return wq(),lt(ut(CDt,1),te,490,0,[gdt,TDt])}function zhn(){return gat(),lt(ut(MDt,1),te,491,0,[LDt,DDt])}function qhn(){return uq(),lt(ut(NLt,1),te,433,0,[K1t,OLt])}function Hhn(){return Cq(),lt(ut(BLt,1),te,434,0,[FLt,Z1t])}function Vhn(){return Bm(),lt(ut(qke,1),te,464,0,[c2,Z5])}function Uhn(){return Kq(),lt(ut(PLt,1),te,500,0,[hK,nx])}function Ghn(){return BI(),lt(ut(ODt,1),te,438,0,[vdt,kK])}function Khn(){return sO(),lt(ut(eMt,1),te,437,0,[TK,tMt])}function Whn(){return vit(),lt(ut(jK,1),te,347,0,[bIt,wIt])}function nq(t,e,n,r){return n>=0?t.Uh(e,n,r):t.Ch(null,n,r)}function _I(t){return t.b.b==0?t.a.sf():Tit(t.b)}function Yhn(t){if(t.p!=5)throw at(new Xu);return qr(t.f)}function Xhn(t){if(t.p!=5)throw at(new Xu);return qr(t.k)}function Jyt(t){return $t(t.a)===$t((fat(),r0t))&&WTn(t),t.a}function Qhn(t,e){t.b=e,t.c>0&&t.b>0&&(t.g=Dz(t.c,t.b,t.a))}function Jhn(t,e){t.c=e,t.c>0&&t.b>0&&(t.g=Dz(t.c,t.b,t.a))}function Fne(t,e){st(this,new ae(t.a,t.b)),bt(this,bI(e))}function Fm(){jnn.call(this,new M6(zy(12))),Bmt(!0),this.a=2}function lst(t,e,n){yi(),um.call(this,t),this.b=e,this.a=n}function Zyt(t,e,n){Sh(),i$.call(this,e),this.a=t,this.b=n}function Bne(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function Zhn(t){return t.b==0?null:(ur(t.b!=0),Oh(t,t.a.a))}function nu(t,e){return e==null?Ko(Eo(t.f,null)):iS(t.i,e)}function Rne(t,e,n,r,s){return new Rot(t,(KE(),Bht),e,n,r,s)}function rq(t,e){return Cie(e),Egn(t,Vt(Fr,ii,28,e,15,1),e)}function iq(t,e){return Qz(t,"set1"),Qz(e,"set2"),new _Yt(t,e)}function tfn(t,e){var n=_ht[t.charCodeAt(0)];return n??t}function jne(t,e){var n,r;return n=e,r=new be,dpe(t,n,r),r.d}function hst(t,e,n,r){var s;s=new bZt,e.a[n.g]=s,W6(t.b,r,s)}function efn(t,e){var n;return n=ygn(t.f,e),ki(dz(n),t.f.d)}function sq(t){var e;Mgn(t.a),GQt(t.a),e=new RC(t.a),j5t(e)}function nfn(t,e){x0e(t,!0),Cu(t.e.Rf(),new Mvt(t,!0,e))}function rfn(t,e){return J6(),t==Ji(O0(e))||t==Ji(qb(e))}function ifn(t,e){return Sg(),u(X(e,(Cc(),h0)),17).a==t}function Ys(t){return Math.max(Math.min(t,xi),-2147483648)|0}function $ne(t){this.a=u(Hr(t),277),this.b=(mn(),new Vmt(t))}function zne(t,e,n){this.i=new fe,this.b=t,this.g=e,this.a=n}function t3t(t,e,n){this.a=new fe,this.e=t,this.f=e,this.c=n}function aq(t,e,n){this.c=new fe,this.e=t,this.f=e,this.b=n}function qne(t){gz.call(this),c4t(this),this.a=t,this.c=!0}function sfn(t){function e(){}return e.prototype=t||{},new e}function afn(t){if(t.Ae())return null;var e=t.n;return DU[e]}function AI(t){return t.Db>>16!=3?null:u(t.Cb,27)}function ed(t){return t.Db>>16!=9?null:u(t.Cb,27)}function Hne(t){return t.Db>>16!=6?null:u(t.Cb,74)}function Bm(){Bm=V,c2=new nmt(_k,0),Z5=new nmt(Ak,1)}function Gd(){Gd=V,Dv=new Zwt(Ak,0),Gp=new Zwt(_k,1)}function nd(){nd=V,Fw=new tmt(xut,0),yd=new tmt("UP",1)}function Vne(){Vne=V,zve=$r((l$(),lt(ut($ve,1),te,549,0,[Cht])))}function Une(t){var e;return e=new w$(zy(t.length)),J4t(e,t),e}function Gne(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function ofn(t,e){return Ice(t,e)?(Aoe(t),!0):!1}function vg(t,e){if(e==null)throw at(new E6);return _wn(t,e)}function LI(t,e){var n;n=t.q.getHours(),t.q.setDate(e),N_(t,n)}function e3t(t,e,n){var r;r=t.Ih(e),r>=0?t.bi(r,n):J6t(t,e,n)}function Kne(t,e){var n;return n=t.Ih(e),n>=0?t.Wh(n):Vot(t,e)}function Wne(t,e){var n;for(Hr(e),n=t.a;n;n=n.c)e.Yd(n.g,n.i)}function fst(t,e,n){var r;r=Jce(t,e,n),t.b=new Yq(r.c.length)}function Q4(t,e,n){oq(),t&&hi(t0t,t,e),t&&hi(VP,t,n)}function cfn(t,e){return vz(),Pn(),u(e.a,17).a<t}function ufn(t,e){return vz(),Pn(),u(e.b,17).a<t}function dst(t,e){return b.Math.abs(t)<b.Math.abs(e)?t:e}function lfn(t){return!t.a&&(t.a=new Jt(bi,t,10,11)),t.a.i>0}function n3t(t){var e;return e=t.d,e=t.bj(t.f),Or(t,e),e.Ob()}function Yne(t,e){var n;return n=new ayt(e),yfe(n,t),new fl(n)}function hfn(t){if(t.p!=0)throw at(new Xu);return bS(t.f,0)}function ffn(t){if(t.p!=0)throw at(new Xu);return bS(t.k,0)}function Xne(t){return t.Db>>16!=7?null:u(t.Cb,241)}function zE(t){return t.Db>>16!=6?null:u(t.Cb,241)}function Qne(t){return t.Db>>16!=7?null:u(t.Cb,167)}function Ji(t){return t.Db>>16!=11?null:u(t.Cb,27)}function Py(t){return t.Db>>16!=17?null:u(t.Cb,29)}function Jne(t){return t.Db>>16!=3?null:u(t.Cb,155)}function r3t(t){var e;return $b(t),e=new Os,_i(t,new A4(e))}function Zne(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.ve(e))}function dfn(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),N_(t,n)}function tre(t,e){oz(this),this.f=e,this.g=t,Xz(this),this.je()}function ere(t,e){this.a=t,this.c=Oa(this.a),this.b=new tq(e)}function nre(t,e,n){this.a=e,this.c=t,this.b=(Hr(n),new fl(n))}function rre(t,e,n){this.a=e,this.c=t,this.b=(Hr(n),new fl(n))}function ire(t){this.a=t,this.b=Vt(cke,ue,2043,t.e.length,0,2)}function sre(){this.a=new zd,this.e=new Os,this.g=0,this.i=0}function oq(){oq=V,t0t=new _r,VP=new _r,oin(sye,new dC)}function are(){are=V,G6e=el(new Fs,(Ua(),Zo),(Za(),WN))}function i3t(){i3t=V,K6e=el(new Fs,(Ua(),Zo),(Za(),WN))}function ore(){ore=V,Y6e=el(new Fs,(Ua(),Zo),(Za(),WN))}function cre(){cre=V,dke=ri(new Fs,(Ua(),Zo),(Za(),CA))}function rh(){rh=V,bke=ri(new Fs,(Ua(),Zo),(Za(),CA))}function ure(){ure=V,wke=ri(new Fs,(Ua(),Zo),(Za(),CA))}function gst(){gst=V,kke=ri(new Fs,(Ua(),Zo),(Za(),CA))}function zS(t,e,n,r,s,o){return new Tg(t.e,e,t.Lj(),n,r,s,o)}function jo(t,e,n){return e==null?yu(t.f,null,n):Km(t.i,e,n)}function Xa(t,e){t.c&&zu(t.c.g,t),t.c=e,t.c&&ge(t.c.g,t)}function Aa(t,e){t.c&&zu(t.c.a,t),t.c=e,t.c&&ge(t.c.a,t)}function hc(t,e){t.i&&zu(t.i.j,t),t.i=e,t.i&&ge(t.i.j,t)}function xa(t,e){t.d&&zu(t.d.e,t),t.d=e,t.d&&ge(t.d.e,t)}function pst(t,e){t.a&&zu(t.a.k,t),t.a=e,t.a&&ge(t.a.k,t)}function bst(t,e){t.b&&zu(t.b.f,t),t.b=e,t.b&&ge(t.b.f,t)}function lre(t,e){Cln(t,t.b,t.c),u(t.b.b,68),e&&u(e.b,68).b}function gfn(t,e){return Bi(u(t.c,65).c.e.b,u(e.c,65).c.e.b)}function pfn(t,e){return Bi(u(t.c,65).c.e.a,u(e.c,65).c.e.a)}function bfn(t){return Iat(),Pn(),u(t.a,86).d.e!=0}function cq(t,e){Lt(t.Cb,184)&&(u(t.Cb,184).tb=null),mu(t,e)}function wst(t,e){Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),4),mu(t,e)}function wfn(t,e){D5t(t,e),Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),2)}function mfn(t,e){var n,r;n=e.c,r=n!=null,r&&Y6(t,new Oy(e.c))}function hre(t){var e,n;return n=(bE(),e=new lm,e),YE(n,t),n}function fre(t){var e,n;return n=(bE(),e=new lm,e),YE(n,t),n}function dre(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function vfn(t,e,n){return ge(t.a,(Gz(),got(e,n),new bm(e,n))),t}function ru(t,e){return vo(),Gst(e)?new Sz(e,t):new eI(e,t)}function DI(t){return Xd(),$c(t,0)>=0?zb(t):FS(zb(Cp(t)))}function yfn(t){var e;return e=u(Tz(t.b),9),new _h(t.a,e,t.c)}function gre(t,e){var n;return n=u(Gy(Q6(t.a),e),16),n?n.gc():0}function pre(t,e,n){var r;$ue(e,n,t.c.length),r=n-e,Swt(t.c,e,r)}function xp(t,e,n){$ue(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function Z6(t){this.c=new Ki,this.b=t.b,this.d=t.c,this.a=t.a}function mst(t){this.a=b.Math.cos(t),this.b=b.Math.sin(t)}function J2(t,e,n,r){this.c=t,this.d=r,pst(this,e),bst(this,n)}function s3t(t,e){Bnn.call(this,new M6(zy(t))),oh(e,hbe),this.a=e}function bre(t,e,n){return new Rot(t,(KE(),Fht),null,!1,e,n)}function wre(t,e,n){return new Rot(t,(KE(),Rht),e,n,null,!1)}function xfn(){return bl(),lt(ut(Ho,1),te,108,0,[I9t,sc,w3])}function kfn(){return qu(),lt(ut(Dye,1),te,471,0,[O1,n2,Kf])}function Efn(){return pl(),lt(ut(Aye,1),te,470,0,[c0,e2,Gf])}function Tfn(){return A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])}function Cfn(){return WS(),lt(ut(CCt,1),te,391,0,[rft,nft,ift])}function Sfn(){return Vm(),lt(ut(vft,1),te,372,0,[mv,r2,wv])}function _fn(){return QS(),lt(ut(CSt,1),te,322,0,[_A,QN,TSt])}function Afn(){return $q(),lt(ut(_St,1),te,351,0,[SSt,yG,Lft])}function Lfn(){return ow(),lt(ut(Q4e,1),te,459,0,[Ift,_T,z5])}function Dfn(){return c7(),lt(ut(qft,1),te,298,0,[$ft,zft,JN])}function Mfn(){return Cg(),lt(ut(s5e,1),te,311,0,[ZN,H5,qk])}function Ifn(){return o_(),lt(ut(LAt,1),te,390,0,[w1t,AAt,QG])}function Ofn(){return To(),lt(ut(j6e,1),te,462,0,[HA,vl,ku])}function Nfn(){return tH(),lt(ut(qAt,1),te,387,0,[$At,S1t,zAt])}function Pfn(){return i_(),lt(ut(HAt,1),te,349,0,[A1t,_1t,lP])}function Ffn(){return b7(),lt(ut(UAt,1),te,350,0,[L1t,VAt,VA])}function Bfn(){return jq(),lt(ut(WAt,1),te,352,0,[KAt,D1t,GAt])}function Rfn(){return iH(),lt(ut(YAt,1),te,388,0,[M1t,$T,P3])}function jfn(){return Hm(),lt(ut(ake,1),te,463,0,[hP,UA,eK])}function rd(t){return dc(lt(ut(la,1),ue,8,0,[t.i.n,t.n,t.a]))}function $fn(){return s_(),lt(ut(fLt,1),te,392,0,[hLt,N1t,dP])}function mre(){mre=V,w8e=el(new Fs,(bk(),YA),(I_(),nLt))}function uq(){uq=V,K1t=new rmt("DFS",0),OLt=new rmt("BFS",1)}function vre(t,e,n){var r;r=new hZ,r.b=e,r.a=n,++e.b,ge(t.d,r)}function zfn(t,e,n){var r;r=new io(n.d),ki(r,t),L5t(e,r.a,r.b)}function qfn(t,e){fJt(t,qr(sa(_m(e,24),TV)),qr(sa(e,TV)))}function Fy(t,e){if(t<0||t>e)throw at(new Bo(C8t+t+S8t+e))}function vn(t,e){if(t<0||t>=e)throw at(new Bo(C8t+t+S8t+e))}function qn(t,e){if(t<0||t>=e)throw at(new dwt(C8t+t+S8t+e))}function gn(t,e){this.b=(Wn(t),t),this.a=e&u3?e:e|64|Jd}function a3t(t){var e;return $b(t),e=(Nm(),Nm(),Oht),Pq(t,e)}function Hfn(t,e,n){var r;return r=B_(t,e,!1),r.b<=e&&r.a<=n}function Vfn(){return Sq(),lt(ut(ADt,1),te,439,0,[pdt,_Dt,SDt])}function Ufn(){return dH(),lt(ut(cDt,1),te,394,0,[oDt,hdt,aDt])}function Gfn(){return vH(),lt(ut(sDt,1),te,445,0,[mP,pK,sdt])}function Kfn(){return DH(),lt(ut(W8e,1),te,455,0,[adt,cdt,odt])}function Wfn(){return uO(),lt(ut($Lt,1),te,393,0,[fK,RLt,jLt])}function Yfn(){return Zq(),lt(ut(iDt,1),te,299,0,[idt,rDt,nDt])}function Xfn(){return cd(),lt(ut(XMt,1),te,278,0,[GT,$3,KT])}function Qfn(){return lk(),lt(ut(pIt,1),te,280,0,[gIt,q3,RK])}function Jfn(){return Ag(),lt(ut(cIt,1),te,346,0,[IK,Xp,bL])}function Zfn(){return pO(),lt(ut(bdt,1),te,444,0,[vK,yK,xK])}function Rm(t){return Hr(t),Lt(t,16)?new fl(u(t,16)):DE(t.Kc())}function o3t(t,e){return t&&t.equals?t.equals(e):$t(t)===$t(e)}function sa(t,e){return Fb(Uun(ec(t)?rf(t):t,ec(e)?rf(e):e))}function T1(t,e){return Fb(Gun(ec(t)?rf(t):t,ec(e)?rf(e):e))}function vst(t,e){return Fb(Kun(ec(t)?rf(t):t,ec(e)?rf(e):e))}function t1n(t,e){var n;return n=(Wn(t),t).g,evt(!!n),Wn(e),n(e)}function yre(t,e){var n,r;return r=OE(t,e),n=t.a.fd(r),new CYt(t,n)}function e1n(t){return t.Db>>16!=6?null:u(Kot(t),241)}function n1n(t){if(t.p!=2)throw at(new Xu);return qr(t.f)&js}function r1n(t){if(t.p!=2)throw at(new Xu);return qr(t.k)&js}function et(t){return ur(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function i1n(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function s1n(t,e){var n;n=Rt(Ht(t.a.of((ai(),LK)))),Fpe(t,e,n)}function xre(t,e){Y2.call(this,1,2,lt(ut(Fr,1),ii,28,15,[t,e]))}function kre(t,e,n){um.call(this,25),this.b=t,this.a=e,this.c=n}function ih(t){yi(),um.call(this,t),this.c=!1,this.a=!1}function a1n(t){return t.a==(VE(),JK)&&ie(t,y8n(t.g,t.b)),t.a}function tk(t){return t.d==(VE(),JK)&&me(t,v7n(t.g,t.b)),t.d}function o1n(t,e){return YS(),t.c==e.c?Bi(e.d,t.d):Bi(e.c,t.c)}function c1n(t,e){return YS(),t.c==e.c?Bi(e.d,t.d):Bi(t.c,e.c)}function u1n(t,e){return YS(),t.c==e.c?Bi(t.d,e.d):Bi(t.c,e.c)}function l1n(t,e){return YS(),t.c==e.c?Bi(t.d,e.d):Bi(e.c,t.c)}function c3t(t,e){return Ute(t.a,e)?Qvt(t.b,u(e,22).g,null):null}function h1n(t){return Qa(Rf(Pc(Dl(t,32)),32),Pc(Dl(t,32)))}function u3t(t){return t.b==null||t.b.length==0?"n_"+t.a:"n_"+t.b}function Z2(t){return t.c==null||t.c.length==0?"n_"+t.g:"n_"+t.c}function Ere(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function f1n(t,e){var n;n=u(tr(t.g,e),60),Cu(e.d,new wXt(t,n))}function d1n(t,e){var n,r;return n=She(t),r=She(e),n<r?-1:n>r?1:0}function Tre(t,e){var n,r;return n=qst(e),r=n,u(tr(t.c,r),17).a}function yst(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function g1n(t,e,n){var r;t.n&&e&&n&&(r=new Ktt,ge(t.e,r))}function xst(t,e){if(qs(t.a,e),e.d)throw at(new uc(Nbe));e.d=t}function l3t(t,e){this.a=new fe,this.d=new fe,this.f=t,this.c=e}function Cre(){this.c=new cJt,this.a=new gse,this.b=new SKt,VYt()}function Sre(){ck(),this.b=new _r,this.a=new _r,this.c=new fe}function _re(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function Are(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function Lre(t,e,n,r,s,o){l4t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Dre(t,e,n,r,s,o){h4t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Mre(t,e,n,r,s,o){A3t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Ire(t,e,n,r,s,o){g4t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Ore(t,e,n,r,s,o){L3t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Nre(t,e,n,r,s,o){f4t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Pre(t,e,n,r,s,o){d4t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Fre(t,e,n,r,s,o){D3t.call(this,t,e,n,r,s),o&&(this.o=-2)}function Bre(t,e,n,r){i$.call(this,n),this.b=t,this.c=e,this.d=r}function Rre(t,e){this.f=t,this.a=(VE(),QK),this.c=QK,this.b=e}function jre(t,e){this.g=t,this.d=(VE(),JK),this.a=JK,this.b=e}function h3t(t,e){!t.c&&(t.c=new ps(t,0)),gV(t.c,(Ni(),AL),e)}function p1n(t,e){return Qxn(t,e,Lt(e,102)&&(u(e,19).Bb&po)!=0)}function b1n(t,e){return vee(Pc(t.q.getTime()),Pc(e.q.getTime()))}function $re(t){return _it(t.e.Rd().gc()*t.c.Rd().gc(),16,new wnt(t))}function w1n(t){return!!t.u&&Wc(t.u.a).i!=0&&!(t.n&&lot(t.n))}function m1n(t){return!!t.a&&Al(t.a.a).i!=0&&!(t.b&&hot(t.b))}function f3t(t,e){return e==0?!!t.o&&t.o.f!=0:iot(t,e)}function v1n(t,e,n){var r;return r=u(t.Zb().xc(e),16),!!r&&r.Hc(n)}function zre(t,e,n){var r;return r=u(t.Zb().xc(e),16),!!r&&r.Mc(n)}function qre(t,e){var n;return n=1-e,t.a[n]=Wq(t.a[n],n),Wq(t,e)}function Hre(t,e){var n,r;return r=sa(t,So),n=Rf(e,32),T1(n,r)}function Vre(t,e,n){var r;r=(Hr(t),new fl(t)),xvn(new nre(r,e,n))}function MI(t,e,n){var r;r=(Hr(t),new fl(t)),kvn(new rre(r,e,n))}function Ec(t,e,n,r,s,o){return xce(t,e,n,o),x5t(t,r),k5t(t,s),t}function Ure(t,e,n,r){return t.a+=""+Lh(e==null?Vu:rc(e),n,r),t}function La(t,e){this.a=t,gr.call(this,t),Fy(e,t.gc()),this.b=e}function Gre(t){this.a=Vt(aa,Ln,1,W4t(b.Math.max(8,t))<<1,5,1)}function II(t){return u(ld(t,Vt(V0,jp,10,t.c.length,0,1)),199)}function Kd(t){return u(ld(t,Vt(hft,Rut,18,t.c.length,0,1)),482)}function Kre(t){return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function qS(t){for(;t.d>0&&t.a[--t.d]==0;);t.a[t.d++]==0&&(t.e=0)}function Wre(t){return ur(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function y1n(t,e,n){t.a=e,t.c=n,t.b.a.$b(),nh(t.d),wy(t.e.a.c,0)}function Yre(t,e){var n;t.e=new rwt,n=n3(e),Ds(n,t.c),l0e(t,n,0)}function Bs(t,e,n,r){var s;s=new q8,s.a=e,s.b=n,s.c=r,Zr(t.a,s)}function le(t,e,n,r){var s;s=new q8,s.a=e,s.b=n,s.c=r,Zr(t.b,s)}function Xre(t,e,n){if(t<0||e<t||e>n)throw at(new Bo(O4n(t,e,n)))}function OI(t,e){if(t<0||t>=e)throw at(new Bo(l5n(t,e)));return t}function x1n(t){if(!("stack"in t))try{throw t}catch{}return t}function J4(t){return ZC(),Lt(t.g,10)?u(t.g,10):null}function k1n(t){return X4(t).dc()?!1:(Uin(t,new ft),!0)}function tw(t){var e;return ec(t)?(e=t,e==-0?0:e):B0n(t)}function Qre(t,e){return Lt(e,44)?bot(t.a,u(e,44)):!1}function Jre(t,e){return Lt(e,44)?bot(t.a,u(e,44)):!1}function Zre(t,e){return Lt(e,44)?bot(t.a,u(e,44)):!1}function d3t(t){var e;return Mb(t),e=new Mt,N4(t.a,new _4(e)),e}function g3t(){var t,e,n;return e=(n=(t=new lm,t),n),ge(QIt,e),e}function lq(t){var e;return Mb(t),e=new pn,N4(t.a,new x6(e)),e}function E1n(t,e){return t.a<=t.b?(e.Dd(t.a++),!0):!1}function tie(t){uat.call(this,t,(KE(),Pht),null,!1,null,!1)}function eie(){eie=V,c3e=$r((E$(),lt(ut(rCt,1),te,488,0,[Wht])))}function nie(){nie=V,QAt=Wee(he(1),he(4)),XAt=Wee(he(1),he(2))}function T1n(t,e){return new xit(e,CS(Oa(e.e),t,t),(Pn(),!0))}function hq(t){return new wu((oh(t,jct),Oq(Qa(Qa(5,t),t/10|0))))}function C1n(t){return _it(t.e.Rd().gc()*t.c.Rd().gc(),273,new bnt(t))}function rie(t){return u(ld(t,Vt(w4e,f2e,12,t.c.length,0,1)),2042)}function S1n(t){return rh(),!go(t)&&!(!go(t)&&t.c.i.c==t.d.i.c)}function _1n(t,e){return ak(),u(X(e,(Cc(),tx)),17).a>=t.gc()}function HS(t,e){uSn(e,t),Kvt(t.d),Kvt(u(X(t,(De(),VG)),214))}function kst(t,e){lSn(e,t),Wvt(t.d),Wvt(u(X(t,(De(),VG)),214))}function A1n(t,e,n){t.d&&zu(t.d.e,t),t.d=e,t.d&&Sm(t.d.e,n,t)}function L1n(t,e,n){return n.f.c.length>0?kyt(t.a,e,n):kyt(t.b,e,n)}function D1n(t,e,n){var r;r=Kwn();try{return wan(t,e,n)}finally{kdn(r)}}function jm(t,e){var n,r;return n=vg(t,e),r=null,n&&(r=n.pe()),r}function VS(t,e){var n,r;return n=vg(t,e),r=null,n&&(r=n.se()),r}function qE(t,e){var n,r;return n=$y(t,e),r=null,n&&(r=n.se()),r}function yg(t,e){var n,r;return n=vg(t,e),r=null,n&&(r=d6t(n)),r}function M1n(t,e,n){var r;return r=T7(n),uV(t.g,r,e),uV(t.i,e,n),e}function p3t(t,e,n){this.d=new gUt(this),this.e=t,this.i=e,this.f=n}function iie(t,e,n,r){this.e=null,this.c=t,this.d=e,this.a=n,this.b=r}function sie(t,e,n,r){nJt(this),this.c=t,this.e=e,this.f=n,this.b=r}function b3t(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function aie(t,e,n,r){return Lt(n,59)?new FJt(t,e,n,r):new byt(t,e,n,r)}function HE(t){return Lt(t,16)?u(t,16).dc():!t.Kc().Ob()}function oie(t){if(t.e.g!=t.b)throw at(new Th);return!!t.c&&t.d>0}function Ar(t){return ur(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function w3t(t,e){Wn(e),ls(t.a,t.c,e),t.c=t.c+1&t.a.length-1,Lhe(t)}function Ob(t,e){Wn(e),t.b=t.b-1&t.a.length-1,ls(t.a,t.b,e),Lhe(t)}function cie(t){var e;e=t.Gh(),this.a=Lt(e,71)?u(e,71).Ii():e.Kc()}function I1n(t){return new gn(wgn(u(t.a.md(),16).gc(),t.a.ld()),16)}function uie(){uie=V,CEe=$r((S$(),lt(ut(IDt,1),te,489,0,[wdt])))}function lie(){lie=V,_Ee=$r((_$(),lt(ut(SEe,1),te,558,0,[mdt])))}function hie(){hie=V,UEe=$r((tS(),lt(ut(ZDt,1),te,539,0,[kP])))}function O1n(){return lw(),lt(ut(LCt,1),te,389,0,[x3,ACt,uft,lft])}function N1n(){return KE(),lt(ut(BU,1),te,303,0,[Pht,Fht,Bht,Rht])}function P1n(){return dk(),lt(ut(r3e,1),te,332,0,[$N,jN,zN,qN])}function F1n(){return m_(),lt(ut(a3e,1),te,406,0,[HN,zU,qU,VN])}function B1n(){return Gm(),lt(ut(e3e,1),te,417,0,[RN,BN,Ght,Kht])}function R1n(){return u7(),lt(ut(s4e,1),te,416,0,[bv,y3,v3,F5])}function j1n(){return ud(),lt(ut(P4e,1),te,421,0,[zk,yT,xT,mft])}function $1n(){return rH(),lt(ut(T4e,1),te,371,0,[wft,gG,pG,YN])}function z1n(){return Yy(),lt(ut(v1t,1),te,203,0,[JG,m1t,J5,Q5])}function q1n(){return Wd(),lt(ut(RAt,1),te,284,0,[Up,BAt,k1t,E1t])}function H1n(t){var e;return t.j==(ve(),Er)&&(e=J1e(t),Zu(e,Jn))}function V1n(t,e){var n;n=e.a,Xa(n,e.c.d),xa(n,e.d.d),Vy(n.a,t.n)}function m3t(t,e){var n;return n=u(od(t.b,e),67),!n&&(n=new Ki),n}function ek(t){return ZC(),Lt(t.g,154)?u(t.g,154):null}function U1n(t){t.a=null,t.e=null,wy(t.b.c,0),wy(t.f.c,0),t.c=null}function fq(){fq=V,Hft=new Xwt(J7,0),GSt=new Xwt("TOP_LEFT",1)}function US(){US=V,KA=new Jwt("UPPER",0),GA=new Jwt("LOWER",1)}function G1n(t,e){return R6(new ae(e.e.a+e.f.a/2,e.e.b+e.f.b/2),t)}function fie(t,e){return u(Vl(My(u(Ai(t.k,e),15).Oc(),R5)),113)}function die(t,e){return u(Vl(G6(u(Ai(t.k,e),15).Oc(),R5)),113)}function K1n(){return bk(),lt(ut(tLt,1),te,405,0,[sK,WA,YA,XA])}function W1n(){return a_(),lt(ut(ILt,1),te,353,0,[G1t,lK,U1t,V1t])}function Y1n(){return NH(),lt(ut(eDt,1),te,354,0,[rdt,ZLt,tDt,JLt])}function X1n(){return Yl(),lt(ut(xL,1),te,386,0,[RP,qw,BP,z3])}function Q1n(){return uh(),lt(ut(I7e,1),te,290,0,[NP,K0,h2,OP])}function J1n(){return Lg(),lt(ut(Udt,1),te,223,0,[Vdt,IP,WT,e8])}function Z1n(){return pH(),lt(ut(xIt,1),te,320,0,[Wdt,mIt,yIt,vIt])}function tdn(){return sH(),lt(ut(Y7e,1),te,415,0,[Ydt,EIt,kIt,TIt])}function edn(t){return oq(),Tu(t0t,t)?u(tr(t0t,t),341).Qg():null}function Dh(t,e,n){return e<0?Vot(t,n):u(n,69).wk().Bk(t,t.hi(),e)}function ndn(t,e,n){var r;return r=T7(n),uV(t.j,r,e),hi(t.k,e,n),e}function rdn(t,e,n){var r;return r=T7(n),uV(t.d,r,e),hi(t.e,e,n),e}function gie(t){var e,n;return e=(kb(),n=new sM,n),t&&ZH(e,t),e}function v3t(t){var e;return e=t.aj(t.i),t.i>0&&Xc(t.g,0,e,0,t.i),e}function pie(t,e){var n;for(n=t.j.c.length;n<e;n++)ge(t.j,t.Ng())}function bie(t,e,n,r){var s;return s=r[e.g][n.g],Rt(Ht(X(t.a,s)))}function wie(t,e){A$();var n;return n=u(tr(KK,t),57),!n||n.fk(e)}function idn(t){if(t.p!=1)throw at(new Xu);return qr(t.f)<<24>>24}function sdn(t){if(t.p!=1)throw at(new Xu);return qr(t.k)<<24>>24}function adn(t){if(t.p!=7)throw at(new Xu);return qr(t.k)<<16>>16}function odn(t){if(t.p!=7)throw at(new Xu);return qr(t.f)<<16>>16}function Z4(t,e){return e.e==0||t.e==0?yA:(F7(),Zot(t,e))}function mie(t,e){return $t(e)===$t(t)?"(this Map)":e==null?Vu:rc(e)}function cdn(t,e,n){return Fit(Ht(Ko(Eo(t.f,e))),Ht(Ko(Eo(t.f,n))))}function udn(t,e,n){var r;r=u(tr(t.g,n),60),ge(t.a.c,new Ws(e,r))}function vie(t,e,n){t.i=0,t.e=0,e!=n&&(eue(t,e,n),tue(t,e,n))}function ldn(t,e,n,r,s){var o;o=h6n(s,n,r),ge(e,r5n(s,o)),W3n(t,s,e)}function y3t(t,e,n,r,s){this.i=t,this.a=e,this.e=n,this.j=r,this.f=s}function yie(t,e){Qyt.call(this),this.a=t,this.b=e,ge(this.a.b,this)}function xie(t){this.b=new _r,this.c=new _r,this.d=new _r,this.a=t}function kie(t,e){var n;return n=new I4,t.Gd(n),n.a+="..",e.Hd(n),n.a}function Eie(t,e){var n;for(n=e;n;)Tm(t,n.i,n.j),n=Ji(n);return t}function Tie(t,e,n){var r;return r=T7(n),hi(t.b,r,e),hi(t.c,e,n),e}function xg(t){var e;for(e=0;t.Ob();)t.Pb(),e=Qa(e,1);return Oq(e)}function D0(t,e){vo();var n;return n=u(t,69).vk(),l4n(n,e),n.xl(e)}function hdn(t,e,n){if(n){var r=n.oe();t.a[e]=r(n)}else delete t.a[e]}function x3t(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+Wb),N_(t,n)}function fdn(t,e){return u(e==null?Ko(Eo(t.f,null)):iS(t.i,e),288)}function k3t(t,e){return t==(Un(),xs)&&e==xs?4:t==xs||e==xs?8:32}function dq(t,e,n){return hV(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0)}function ddn(t,e,n){return $7(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0)}function gdn(t,e,n){return i6n(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0)}function E3t(t){t.b!=t.c&&(t.a=Vt(aa,Ln,1,8,5,1),t.b=0,t.c=0)}function GS(t){return ur(t.a<t.c.a.length),t.b=t.a,Fae(t),t.c.b[t.b]}function Wc(t){return t.n||(_l(t),t.n=new Qte(t,Do,t),Yo(t)),t.n}function Cie(t){if(t<0)throw at(new mWt("Negative array size: "+t))}function Est(t,e,n){if(n){var r=n.oe();n=r(n)}else n=void 0;t.a[e]=n}function Sie(t,e){g7();var n;return n=t.j.g-e.j.g,n!=0?n:0}function pdn(t,e){return pg(),Or(Qt(t.a),e)}function bdn(t,e){return pg(),Or(Qt(t.a),e)}function kg(t,e){Xd(),Y2.call(this,t,1,lt(ut(Fr,1),ii,28,15,[e]))}function By(t,e){yi(),um.call(this,t),this.a=e,this.c=-1,this.b=-1}function Ry(t,e,n,r){_re.call(this,1,n,r),this.c=t,this.b=e}function Tst(t,e,n,r){Are.call(this,1,n,r),this.c=t,this.b=e}function Cst(t,e,n,r,s,o,h){tat.call(this,e,r,s,o,h),this.c=t,this.a=n}function ew(t,e,n){this.e=t,this.a=aa,this.b=M0e(e),this.c=e,this.d=n}function Sst(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function T3t(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function _ie(t){this.c=t,this.a=u(of(t),156),this.b=this.a.jk().wi()}function kp(){_r.call(this),zJt(this),this.d.b=this.d,this.d.a=this.d}function hs(t,e,n,r){var s;s=new Ae,s.c=e,s.b=n,s.a=r,r.b=n.a=s,++t.b}function wdn(t,e){var n;return n=e!=null?nu(t,e):Ko(Eo(t.f,e)),tz(n)}function mdn(t,e){var n;return n=e!=null?nu(t,e):Ko(Eo(t.f,e)),tz(n)}function nc(t,e){var n;return e.b.Kb(Tae(t,e.c.Xe(),(n=new J1(e),n)))}function vdn(t,e){var n;return Cie(e),n=t.slice(0,e),n.length=e,zst(n,t)}function Aie(t,e){var n;for(n=0;n<e;++n)ls(t,n,new nr(u(t[n],44)))}function ydn(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function gq(t){var e;return t?new ayt(t):(e=new zd,oat(e,t),e)}function xdn(t,e){var n,r;r=!1;do n=Vce(t,e),r=r|n;while(n);return r}function kdn(t){t&&W0n((uwt(),i9t)),--MU,t&&IU!=-1&&(din(IU),IU=-1)}function pq(t){Qxt(),fJt(this,qr(sa(_m(t,24),TV)),qr(sa(t,TV)))}function Lie(){Lie=V,kye=$r((TH(),lt(ut(N9t,1),te,436,0,[zht,O9t])))}function Die(){Die=V,Eye=$r((Mq(),lt(ut(F9t,1),te,435,0,[P9t,qht])))}function Mie(){Mie=V,C3e=$r((Iq(),lt(ut(lCt,1),te,432,0,[Zht,UU])))}function Iie(){Iie=V,x4e=$r((r7(),lt(ut(y4e,1),te,517,0,[KN,dft])))}function Oie(){Oie=V,t5e=$r((qI(),lt(ut(NSt,1),te,487,0,[OSt,EG])))}function Nie(){Nie=V,X4e=$r((YI(),lt(ut(MSt,1),te,428,0,[xG,DSt])))}function Pie(){Pie=V,G4e=$r((Eq(),lt(ut(ESt,1),te,431,0,[kSt,Aft])))}function Fie(){Fie=V,R6e=$r((KI(),lt(ut(jAt,1),te,430,0,[T1t,C1t])))}function Bie(){Bie=V,fke=$r((US(),lt(ut(hke,1),te,531,0,[KA,GA])))}function Rie(){Rie=V,vke=$r((Gd(),lt(ut(mke,1),te,523,0,[Dv,Gp])))}function jie(){jie=V,xke=$r((nd(),lt(ut(yke,1),te,522,0,[Fw,yd])))}function $ie(){$ie=V,Fke=$r((C1(),lt(ut(Pke,1),te,528,0,[F3,o2])))}function zie(){zie=V,o5e=$r((fq(),lt(ut(KSt,1),te,429,0,[Hft,GSt])))}function qie(){qie=V,Hke=$r((Bm(),lt(ut(qke,1),te,464,0,[c2,Z5])))}function Hie(){Hie=V,T8e=$r((Cq(),lt(ut(BLt,1),te,434,0,[FLt,Z1t])))}function Vie(){Vie=V,b8e=$r((uq(),lt(ut(NLt,1),te,433,0,[K1t,OLt])))}function Uie(){Uie=V,x8e=$r((Kq(),lt(ut(PLt,1),te,500,0,[hK,nx])))}function Gie(){Gie=V,vEe=$r((wq(),lt(ut(CDt,1),te,490,0,[gdt,TDt])))}function Kie(){Kie=V,xEe=$r((gat(),lt(ut(MDt,1),te,491,0,[LDt,DDt])))}function Wie(){Wie=V,AEe=$r((BI(),lt(ut(ODt,1),te,438,0,[vdt,kK])))}function Yie(){Yie=V,GEe=$r((sO(),lt(ut(eMt,1),te,437,0,[TK,tMt])))}function Xie(){Xie=V,G7e=$r((vit(),lt(ut(jK,1),te,347,0,[bIt,wIt])))}function Edn(){return Rs(),lt(ut(gL,1),te,88,0,[Ed,tc,Uo,kd,Gh])}function Tdn(){return ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])}function Cdn(t,e,n){return u(e==null?yu(t.f,null,n):Km(t.i,e,n),288)}function Sdn(t){return(t.k==(Un(),xs)||t.k==Ms)&&qi(t,(oe(),MA))}function _st(t){return t.c&&t.d?u3t(t.c)+"->"+u3t(t.d):"e_"+Em(t)}function Fa(t,e){var n,r;for(Wn(e),r=t.Kc();r.Ob();)n=r.Pb(),e.Cd(n)}function _dn(t,e){var n;n=new _6,Q2(n,"x",e.a),Q2(n,"y",e.b),Y6(t,n)}function Adn(t,e){var n;n=new _6,Q2(n,"x",e.a),Q2(n,"y",e.b),Y6(t,n)}function Qie(t,e){var n;for(n=e;n;)Tm(t,-n.i,-n.j),n=Ji(n);return t}function C3t(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function Mh(t,e,n){var r;return r=(vn(e,t.c.length),t.c[e]),t.c[e]=n,r}function S3t(t,e,n){t.a.c.length=0,ZTn(t,e,n),t.a.c.length==0||_En(t,e)}function NI(t){t.i=0,zM(t.b,null),zM(t.c,null),t.a=null,t.e=null,++t.g}function bq(){bq=V,wd=!0,fye=!1,dye=!1,pye=!1,gye=!1}function Ast(t){bq(),!wd&&(this.c=t,this.e=!0,this.a=new fe)}function Jie(t,e){this.c=0,this.b=e,xQt.call(this,t,17493),this.a=this.c}function Zie(t){nbe(),oKt(this),this.a=new Ki,s5t(this,t),Zr(this.a,t)}function tse(){Qrt(this),this.b=new ae(Zi,Zi),this.a=new ae(Vs,Vs)}function wq(){wq=V,gdt=new amt(eEt,0),TDt=new amt("TARGET_WIDTH",1)}function t5(t,e){return($b(t),wE(new ln(t,new Z3t(e,t.a)))).Bd(Rk)}function Ldn(){return Ua(),lt(ut(SCt,1),te,367,0,[Wf,H0,Qc,cu,Zo])}function Ddn(){return Qy(),lt(ut(B4e,1),te,375,0,[XN,mG,vG,wG,bG])}function Mdn(){return Ip(),lt(ut(LSt,1),te,348,0,[Dft,ASt,Mft,ST,CT])}function Idn(){return w_(),lt(ut(MAt,1),te,323,0,[DAt,y1t,x1t,zA,qA])}function Odn(){return Rh(),lt(ut(a_t,1),te,171,0,[rP,OA,s2,NA,S3])}function Ndn(){return zH(),lt(ut(k8e,1),te,368,0,[Q1t,W1t,J1t,Y1t,X1t])}function Pdn(){return A_(),lt(ut(kEe,1),te,373,0,[rx,Xk,aL,sL,xP])}function Fdn(){return DO(),lt(ut(BDt,1),te,324,0,[NDt,ydt,FDt,xdt,PDt])}function Bdn(){return D1(),lt(ut(G0,1),te,170,0,[_n,Qs,f0,Bw,Wp])}function Rdn(){return o5(),lt(ut(mL,1),te,256,0,[f2,PP,uIt,wL,lIt])}function jdn(t){return d$(),function(){return D1n(t,this,arguments)}}function go(t){return!t.c||!t.d?!1:!!t.c.i&&t.c.i==t.d.i}function _3t(t,e){return Lt(e,143)?hn(t.c,u(e,143).c):!1}function _l(t){return t.t||(t.t=new QGt(t),h_(new dWt(t),0,t.t)),t.t}function ese(t){this.b=t,Zn.call(this,t),this.a=u(jn(this.b.a,4),129)}function nse(t){this.b=t,$6.call(this,t),this.a=u(jn(this.b.a,4),129)}function jf(t,e,n,r,s){fse.call(this,e,r,s),this.c=t,this.b=n}function A3t(t,e,n,r,s){_re.call(this,e,r,s),this.c=t,this.a=n}function L3t(t,e,n,r,s){Are.call(this,e,r,s),this.c=t,this.a=n}function D3t(t,e,n,r,s){fse.call(this,e,r,s),this.c=t,this.a=n}function Lst(t,e){var n;return n=u(od(t.d,e),23),n||u(od(t.e,e),23)}function rse(t,e){var n,r;return n=e.ld(),r=t.Fe(n),!!r&&Nc(r.e,e.md())}function ise(t,e){var n;return n=e.ld(),new bm(n,t.e.pc(n,u(e.md(),16)))}function $dn(t,e){var n;return n=t.a.get(e),n??Vt(aa,Ln,1,0,5,1)}function sse(t){var e;return e=t.length,hn(Qn.substr(Qn.length-e,e),t)}function dr(t){if(Mr(t))return t.c=t.a,t.a.Pb();throw at(new cc)}function M3t(t,e){return e==0||t.e==0?t:e>0?Yde(t,e):mle(t,-e)}function nk(t,e){return e==0||t.e==0?t:e>0?mle(t,e):Yde(t,-e)}function I3t(t){Qrn.call(this,t==null?Vu:rc(t),Lt(t,82)?u(t,82):null)}function ase(t){var e;return t.c||(e=t.r,Lt(e,90)&&(t.c=u(e,29))),t.c}function Dst(t){var e;return e=new Pm,Qo(e,t),Zt(e,(De(),Vo),null),e}function ose(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(Un(),Ms)&&n.k==Ms}function Mst(t){var e,n,r;return e=t&Il,n=t>>22&Il,r=t<0?Fg:0,Eu(e,n,r)}function zdn(t){var e,n,r,s;for(n=t,r=0,s=n.length;r<s;++r)e=n[r],jS(e)}function qdn(t,e){var n,r;n=u(Qbn(t.c,e),16),n&&(r=n.gc(),n.$b(),t.d-=r)}function Ist(t,e,n){var r;return r=t.Ih(e),r>=0?t.Lh(r,n,!0):tv(t,e,n)}function Hdn(t,e,n){return Bi(R6(S7(t),Oa(e.b)),R6(S7(t),Oa(n.b)))}function Vdn(t,e,n){return Bi(R6(S7(t),Oa(e.e)),R6(S7(t),Oa(n.e)))}function Udn(t,e){return b.Math.min(Nb(e.a,t.d.d.c),Nb(e.b,t.d.d.c))}function PI(t,e){t._i(t.i+1),kS(t,t.i,t.Zi(t.i,e)),t.Mi(t.i++,e),t.Ni()}function KS(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.Oi(n,e),t.Ni()}function cse(t,e,n){var r;r=new Mmt(t.a),t_(r,t.a.a),yu(r.f,e,n),t.a.a=r}function O3t(t,e,n,r){var s;for(s=0;s<jU;s++)Pz(t.a[s][e.g],n,r[e.g])}function N3t(t,e,n,r){var s;for(s=0;s<Vht;s++)Fz(t.a[e.g][s],n,r[e.g])}function Ai(t,e){var n;return n=u(t.c.xc(e),16),!n&&(n=t.ic(e)),t.pc(e,n)}function Gdn(t){var e;return e=(Hr(t),t?new fl(t):DE(t.Kc())),IO(e),uH(e)}function id(t){var e,n;return Hr(t),e=Hln(t.length),n=new wu(e),J4t(n,t),n}function Ost(t,e,n,r){var s;return s=Vt(Fr,ii,28,e,15,1),d3n(s,t,e,n,r),s}function P3t(t,e){if(t<0||t>e)throw at(new Bo(x6t(t,e,"index")));return t}function Ep(t,e){var n;return n=(vn(e,t.c.length),t.c[e]),Swt(t.c,e,1),n}function F3t(t,e){var n,r;return n=(Wn(t),t),r=(Wn(e),e),n==r?0:n<r?-1:1}function B3t(t){var e;return e=t.e+t.f,isNaN(e)&&bz(t.d)?t.d:e}function Kdn(t){return t.e=3,t.d=t.Yb(),t.e!=2?(t.e=0,!0):!1}function Eg(t,e){return t.a?ni(t.a,t.b):t.a=new eh(t.d),mS(t.a,e),t}function rk(t,e){return ba(e)?e==null?R6t(t.f,null):Tce(t.i,e):R6t(t.f,e)}function use(t,e){yQt.call(this,e.zd(),e.yd()&-6),Wn(t),this.a=t,this.b=e}function lse(t,e){xQt.call(this,e.zd(),e.yd()&-6),Wn(t),this.a=t,this.b=e}function R3t(t,e){ez.call(this,e.zd(),e.yd()&-6),Wn(t),this.a=t,this.b=e}function hse(t,e,n){i$.call(this,n),this.b=t,this.c=e,this.d=(Xat(),s0t)}function fse(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function sd(t){this.c=t,this.a=new G(this.c.a),this.b=new G(this.c.b)}function mq(){this.e=new fe,this.c=new fe,this.d=new fe,this.b=new fe}function dse(){this.g=new H2t,this.b=new H2t,this.a=new fe,this.k=new fe}function gse(){this.a=new K2t,this.b=new NKt,this.d=new $l,this.e=new qX}function pse(t,e,n){this.a=t,this.c=e,this.d=n,ge(e.e,this),ge(n.b,this)}function j3t(t,e,n){var r,s;for(r=0,s=0;s<e.length;s++)r+=t.tg(e[s],r,n)}function Wdn(t,e){var n;return n=d9n(t,e),t.b=new Yq(n.c.length),ITn(t,n)}function Ydn(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),N_(t,n)}function Nst(t){var e;return e=t.b,e.b==0?null:u(jh(e,0),65).b}function $3t(t){if(t.a){if(t.e)return $3t(t.e)}else return t;return null}function Xdn(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function bse(t){var e;return t.a||(e=t.r,Lt(e,156)&&(t.a=u(e,156))),t.a}function Qdn(t,e,n){var r;return++t.e,--t.f,r=u(t.d[e].gd(n),136),r.md()}function Jdn(t){var e,n;return e=t.ld(),n=u(t.md(),16),pI(n.Nc(),new mnt(e))}function wse(t,e){return Tu(t.a,e)?(rk(t.a,e),!0):!1}function ik(t,e,n){return OI(e,t.e.Rd().gc()),OI(n,t.c.Rd().gc()),t.a[e][n]}function vq(t,e,n){this.a=t,this.b=e,this.c=n,ge(t.t,this),ge(e.i,this)}function yq(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function FI(){this.b=new Ki,this.a=new Ki,this.b=new Ki,this.a=new Ki}function VE(){VE=V;var t,e;QK=(bE(),e=new o$,e),JK=(t=new Hnt,t)}function Zdn(t){var e;return $b(t),e=new ute(t,t.a.e,t.a.d|4),new rvt(t,e)}function mse(t){var e;for(Mb(t),e=0;t.a.Bd(new xn);)e=Qa(e,1);return e}function xq(t,e){return Wn(e),t.c<t.d?(t.Se(e,t.c++),!0):!1}function wu(t){Qrt(this),wI(t>=0,"Initial capacity must not be negative")}function kq(){kq=V,oL=new Oi("org.eclipse.elk.labels.labelManager")}function vse(){vse=V,wSt=new rs("separateLayerConnections",(rH(),wft))}function C1(){C1=V,F3=new emt("REGULAR",0),o2=new emt("CRITICAL",1)}function BI(){BI=V,vdt=new cmt("FIXED",0),kK=new cmt("CENTER_NODE",1)}function Eq(){Eq=V,kSt=new Kwt("QUADRATIC",0),Aft=new Kwt("SCANLINE",1)}function yse(){yse=V,K4e=$r((QS(),lt(ut(CSt,1),te,322,0,[_A,QN,TSt])))}function xse(){xse=V,W4e=$r(($q(),lt(ut(_St,1),te,351,0,[SSt,yG,Lft])))}function kse(){kse=V,J4e=$r((ow(),lt(ut(Q4e,1),te,459,0,[Ift,_T,z5])))}function Ese(){Ese=V,H4e=$r((Vm(),lt(ut(vft,1),te,372,0,[mv,r2,wv])))}function Tse(){Tse=V,a5e=$r((Cg(),lt(ut(s5e,1),te,311,0,[ZN,H5,qk])))}function Cse(){Cse=V,i5e=$r((c7(),lt(ut(qft,1),te,298,0,[$ft,zft,JN])))}function Sse(){Sse=V,O6e=$r((o_(),lt(ut(LAt,1),te,390,0,[w1t,AAt,QG])))}function _se(){_se=V,z6e=$r((tH(),lt(ut(qAt,1),te,387,0,[$At,S1t,zAt])))}function Ase(){Ase=V,q6e=$r((i_(),lt(ut(HAt,1),te,349,0,[A1t,_1t,lP])))}function Lse(){Lse=V,$6e=$r((To(),lt(ut(j6e,1),te,462,0,[HA,vl,ku])))}function Dse(){Dse=V,V6e=$r((jq(),lt(ut(WAt,1),te,352,0,[KAt,D1t,GAt])))}function Mse(){Mse=V,H6e=$r((b7(),lt(ut(UAt,1),te,350,0,[L1t,VAt,VA])))}function Ise(){Ise=V,U6e=$r((iH(),lt(ut(YAt,1),te,388,0,[M1t,$T,P3])))}function Ose(){Ose=V,Gke=$r((s_(),lt(ut(fLt,1),te,392,0,[hLt,N1t,dP])))}function Nse(){Nse=V,C8e=$r((uO(),lt(ut($Lt,1),te,393,0,[fK,RLt,jLt])))}function Pse(){Pse=V,G8e=$r((Zq(),lt(ut(iDt,1),te,299,0,[idt,rDt,nDt])))}function Fse(){Fse=V,K8e=$r((vH(),lt(ut(sDt,1),te,445,0,[mP,pK,sdt])))}function Bse(){Bse=V,Y8e=$r((DH(),lt(ut(W8e,1),te,455,0,[adt,cdt,odt])))}function Rse(){Rse=V,J8e=$r((dH(),lt(ut(cDt,1),te,394,0,[oDt,hdt,aDt])))}function jse(){jse=V,yEe=$r((Sq(),lt(ut(ADt,1),te,439,0,[pdt,_Dt,SDt])))}function $se(){$se=V,oke=$r((Hm(),lt(ut(ake,1),te,463,0,[hP,UA,eK])))}function zse(){zse=V,Lye=$r((pl(),lt(ut(Aye,1),te,470,0,[c0,e2,Gf])))}function qse(){qse=V,_ye=$r((A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])))}function Hse(){Hse=V,Mye=$r((qu(),lt(ut(Dye,1),te,471,0,[O1,n2,Kf])))}function Vse(){Vse=V,bye=$r((bl(),lt(ut(Ho,1),te,108,0,[I9t,sc,w3])))}function Use(){Use=V,Q3e=$r((WS(),lt(ut(CCt,1),te,391,0,[rft,nft,ift])))}function Gse(){Gse=V,M7e=$r((Ag(),lt(ut(cIt,1),te,346,0,[IK,Xp,bL])))}function Kse(){Kse=V,TEe=$r((pO(),lt(ut(bdt,1),te,444,0,[vK,yK,xK])))}function Wse(){Wse=V,_7e=$r((cd(),lt(ut(XMt,1),te,278,0,[GT,$3,KT])))}function Yse(){Yse=V,U7e=$r((lk(),lt(ut(pIt,1),te,280,0,[gIt,q3,RK])))}function ad(t,e){return!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),Yat(t.o,e)}function t0n(t,e){var n;t.C&&(n=u(Io(t.b,e),127).n,n.d=t.C.d,n.a=t.C.a)}function z3t(t){var e,n,r,s;s=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=s,t.c=e}function e0n(t){return!t.g&&(t.g=new gC),!t.g.b&&(t.g.b=new KGt(t)),t.g.b}function RI(t){return!t.g&&(t.g=new gC),!t.g.c&&(t.g.c=new XGt(t)),t.g.c}function n0n(t){return!t.g&&(t.g=new gC),!t.g.d&&(t.g.d=new WGt(t)),t.g.d}function r0n(t){return!t.g&&(t.g=new gC),!t.g.a&&(t.g.a=new YGt(t)),t.g.a}function i0n(t,e,n,r){return n&&(r=n.Rh(e,ns(n.Dh(),t.c.uk()),null,r)),r}function s0n(t,e,n,r){return n&&(r=n.Th(e,ns(n.Dh(),t.c.uk()),null,r)),r}function Pst(t,e,n,r){var s;return s=Vt(Fr,ii,28,e+1,15,1),u7n(s,t,e,n,r),s}function Vt(t,e,n,r,s,o){var h;return h=yhe(s,r),s!=10&&lt(ut(t,o),e,n,s,h),h}function a0n(t,e,n){var r,s;for(s=new o7(e,t),r=0;r<n;++r)LH(s);return s}function Fst(t,e,n){var r,s;if(n!=null)for(r=0;r<e;++r)s=n[r],t.Qi(r,s)}function q3t(t,e){var n;return n=new be,n.c=!0,n.d=e.md(),dpe(t,e.ld(),n)}function o0n(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),N_(t,n)}function H3t(t,e){var n,r;return n=e,r=ast(DE(new Hst(t,n))),Az(new Hst(t,n)),r}function c0n(t,e){e.Ug("Label management",1),tz(X(t,(kq(),oL))),e.Vg()}function u0n(t,e,n,r){dge(t,e,n,$7(t,e,r,Lt(e,102)&&(u(e,19).Bb&po)!=0))}function V3t(t,e,n){u(t.b,68),u(t.b,68),u(t.b,68),Cu(t.a,new YZt(n,e,t))}function Da(t,e,n){if(t<0||e>n||e<t)throw at(new dwt(CV+t+T8t+e+x8t+n))}function Bst(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new fe)}function Rst(t,e){I$.call(this,t,e),this.a=Vt(e_n,xV,447,2,0,1),this.b=!0}function U3t(t){Wce.call(this,t,0),zJt(this),this.d.b=this.d,this.d.a=this.d}function G3t(t){this.e=t,this.b=this.e.a.entries(),this.a=Vt(aa,Ln,1,0,5,1)}function Xse(){Xse=V,W6e=el(ri(new Fs,(Ua(),Wf),(Za(),gft)),Zo,WN)}function l0n(){return UH(),lt(ut(ISt,1),te,283,0,[Nft,Oft,Fft,Pft,Bft,kG])}function h0n(){return AO(),lt(ut(jSt,1),te,281,0,[TG,FSt,RSt,PSt,BSt,Rft])}function f0n(){return M7(),lt(ut(USt,1),te,282,0,[AA,zSt,VSt,HSt,qSt,$St])}function d0n(){return wk(),lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5])}function g0n(){return Un(),lt(ut(fft,1),te,273,0,[xs,fa,Ms,uu,Vc,md])}function p0n(){return wl(),lt(ut(OK,1),te,279,0,[g2,Hg,FP,yL,vL,n8])}function b0n(){return ka(),lt(ut(hIt,1),te,101,0,[d2,Td,YT,zw,Y0,hu])}function w0n(){return HH(),lt(ut(nIt,1),te,321,0,[Gdt,ZMt,eIt,QMt,tIt,JMt])}function m0n(){return I0(),lt(ut(aMt,1),te,255,0,[_dt,EP,TP,_K,CK,SK])}function v0n(){return fw(),lt(ut(Mdt,1),te,297,0,[Ddt,hL,lL,Ldt,cL,uL])}function K3t(t){var e;return!t.a&&t.b!=-1&&(e=t.c.Dh(),t.a=En(e,t.b)),t.a}function Or(t,e){return t.Si()&&t.Hc(e)?!1:(t.Hi(e),!0)}function S1(t,e){return SI(e,"Horizontal alignment cannot be null"),t.b=e,t}function Qse(t,e,n){yi();var r;return r=Gb(t,e),n&&r&&Lln(t)&&(r=null),r}function W3t(t,e,n){var r;r=t.b[n.c.p][n.p],r.b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function Y3t(t,e,n){var r;t.d[e.g]=n,r=t.g.c,r[e.g]=b.Math.max(r[e.g],n+1)}function Nb(t,e){var n,r;return n=t.a-e.a,r=t.b-e.b,b.Math.sqrt(n*n+r*r)}function X3t(t,e){var n,r;for(r=e.Kc();r.Ob();)n=u(r.Pb(),36),q0e(t,n,0,0)}function Tp(t,e,n){var r,s;for(s=t.Kc();s.Ob();)r=u(s.Pb(),36),B7(r,e,n)}function y0n(t){var e,n;for(n=Dr(t.a,0);n.b!=n.d.c;)e=u(Ar(n),65),A6t(e)}function Jse(t,e){return ZYt(t.e,e)||Op(t.e,e,new qle(e)),u(od(t.e,e),113)}function gl(t,e,n,r){return Wn(t),Wn(e),Wn(n),Wn(r),new Tyt(t,e,new Ne)}function nl(t,e,n,r){this.ak(),this.a=e,this.b=t,this.c=new vyt(this,e,n,r)}function jst(t,e,n,r,s,o){b3t.call(this,e,r,s,o),this.c=t,this.b=n}function jI(t,e,n,r,s,o){b3t.call(this,e,r,s,o),this.c=t,this.a=n}function $I(t,e){var n,r,s;return s=t.r,r=t.d,n=B_(t,e,!0),n.b!=s||n.a!=r}function zI(t,e,n){var r,s;return s=(r=N7(t.b,e),r),s?pV(VI(t,s),n):null}function x0n(t,e,n){var r,s,o;r=vg(t,n),s=null,r&&(s=d6t(r)),o=s,jle(e,n,o)}function k0n(t,e,n){var r,s,o;r=vg(t,n),s=null,r&&(s=d6t(r)),o=s,jle(e,n,o)}function UE(t,e){var n;return n=t.Ih(e),n>=0?t.Lh(n,!0,!0):tv(t,e,!0)}function E0n(t,e,n){var r;return r=Jce(t,e,n),t.b=new Yq(r.c.length),ukt(t,r)}function T0n(t){if(t.b<=0)throw at(new cc);return--t.b,t.a-=t.c.c,he(t.a)}function C0n(t){var e;if(!t.a)throw at(new cne);return e=t.a,t.a=Ji(t.a),e}function S0n(t){for(;!t.a;)if(!NZt(t.c,new BC(t)))return!1;return!0}function sk(t){var e;return Hr(t),Lt(t,204)?(e=u(t,204),e):new b6(t)}function _0n(t){Tq(),u(t.of((ai(),j3)),181).Fc((wl(),FP)),t.qf(zdt,null)}function Tq(){Tq=V,YEe=new NR,QEe=new PR,XEe=pbn((ai(),zdt),YEe,l2,QEe)}function Cq(){Cq=V,FLt=new smt("LEAF_NUMBER",0),Z1t=new smt("NODE_SIZE",1)}function $st(t){t.a=Vt(Fr,ii,28,t.b+1,15,1),t.c=Vt(Fr,ii,28,t.b,15,1),t.d=0}function A0n(t,e){t.a.Ne(e.d,t.b)>0&&(ge(t.c,new qvt(e.c,e.d,t.d)),t.b=e.d)}function Q3t(t,e){if(t.g==null||e>=t.i)throw at(new Grt(e,t.i));return t.g[e]}function Zse(t,e,n){if(d7(t,n),n!=null&&!t.fk(n))throw at(new $nt);return n}function zst(t,e){return WI(e)!=10&&lt(Wl(e),e.Sm,e.__elementTypeId$,WI(e),t),t}function GE(t,e,n,r){var s;r=(Nm(),r||C9t),s=t.slice(e,n),k6t(s,t,e,n,-e,r)}function Ih(t,e,n,r,s){return e<0?tv(t,n,r):u(n,69).wk().yk(t,t.hi(),e,r,s)}function L0n(t,e){return Bi(Rt(Ht(X(t,(oe(),xv)))),Rt(Ht(X(e,xv))))}function tae(){tae=V,lye=$r((KE(),lt(ut(BU,1),te,303,0,[Pht,Fht,Bht,Rht])))}function KE(){KE=V,Pht=new M$("All",0),Fht=new VQt,Bht=new ZQt,Rht=new HQt}function pl(){pl=V,c0=new wrt(_k,0),e2=new wrt(J7,1),Gf=new wrt(Ak,2)}function eae(){eae=V,fV(),sOt=Zi,JTe=Vs,aOt=new na(Zi),ZTe=new na(Vs)}function nae(){nae=V,n3e=$r((Gm(),lt(ut(e3e,1),te,417,0,[RN,BN,Ght,Kht])))}function rae(){rae=V,o3e=$r((m_(),lt(ut(a3e,1),te,406,0,[HN,zU,qU,VN])))}function iae(){iae=V,i3e=$r((dk(),lt(ut(r3e,1),te,332,0,[$N,jN,zN,qN])))}function sae(){sae=V,f4e=$r((lw(),lt(ut(LCt,1),te,389,0,[x3,ACt,uft,lft])))}function aae(){aae=V,a4e=$r((u7(),lt(ut(s4e,1),te,416,0,[bv,y3,v3,F5])))}function oae(){oae=V,F4e=$r((ud(),lt(ut(P4e,1),te,421,0,[zk,yT,xT,mft])))}function cae(){cae=V,C4e=$r((rH(),lt(ut(T4e,1),te,371,0,[wft,gG,pG,YN])))}function uae(){uae=V,N6e=$r((Yy(),lt(ut(v1t,1),te,203,0,[JG,m1t,J5,Q5])))}function lae(){lae=V,B6e=$r((Wd(),lt(ut(RAt,1),te,284,0,[Up,BAt,k1t,E1t])))}function qI(){qI=V,OSt=new Ywt(r0,0),EG=new Ywt("IMPROVE_STRAIGHTNESS",1)}function hae(t,e){var n,r;return r=e/t.c.Rd().gc()|0,n=e%t.c.Rd().gc(),ik(t,r,n)}function fae(t){var e;if(t.nl())for(e=t.i-1;e>=0;--e)Dt(t,e);return v3t(t)}function J3t(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function dae(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[1];)n=e;return n}function D0n(t){return Lt(t,180)?""+u(t,180).a:t==null?null:rc(t)}function M0n(t){return Lt(t,180)?""+u(t,180).a:t==null?null:rc(t)}function gae(t,e){if(e.a)throw at(new uc(Nbe));qs(t.a,e),e.a=t,!t.j&&(t.j=e)}function Z3t(t,e){ez.call(this,e.zd(),e.yd()&-16449),Wn(t),this.a=t,this.c=e}function I0n(t,e){return new xit(e,Tm(Oa(e.e),e.f.a+t,e.f.b+t),(Pn(),!1))}function O0n(t,e){return LE(),ge(t,new Ws(e,he(e.e.c.length+e.g.c.length)))}function N0n(t,e){return LE(),ge(t,new Ws(e,he(e.e.c.length+e.g.c.length)))}function pae(){pae=V,U8e=$r((NH(),lt(ut(eDt,1),te,354,0,[rdt,ZLt,tDt,JLt])))}function bae(){bae=V,p8e=$r((a_(),lt(ut(ILt,1),te,353,0,[G1t,lK,U1t,V1t])))}function wae(){wae=V,Vke=$r((bk(),lt(ut(tLt,1),te,405,0,[sK,WA,YA,XA])))}function mae(){mae=V,A7e=$r((Lg(),lt(ut(Udt,1),te,223,0,[Vdt,IP,WT,e8])))}function vae(){vae=V,O7e=$r((uh(),lt(ut(I7e,1),te,290,0,[NP,K0,h2,OP])))}function yae(){yae=V,H7e=$r((Yl(),lt(ut(xL,1),te,386,0,[RP,qw,BP,z3])))}function xae(){xae=V,K7e=$r((pH(),lt(ut(xIt,1),te,320,0,[Wdt,mIt,yIt,vIt])))}function kae(){kae=V,X7e=$r((sH(),lt(ut(Y7e,1),te,415,0,[Ydt,EIt,kIt,TIt])))}function Sq(){Sq=V,pdt=new zrt(J2e,0),_Dt=new zrt(y7t,1),SDt=new zrt(r0,2)}function jy(t,e,n,r,s){return Wn(t),Wn(e),Wn(n),Wn(r),Wn(s),new Tyt(t,e,r)}function Eae(t,e){var n;return n=u(rk(t.e,e),400),n?(Zvt(n),n.e):null}function zu(t,e){var n;return n=Xo(t,e,0),n==-1?!1:(Ep(t,n),!0)}function Tae(t,e,n){var r;return Mb(t),r=new Je,r.a=e,t.a.Nb(new sXt(r,n)),r.a}function P0n(t){var e;return Mb(t),e=Vt(ma,No,28,0,15,1),N4(t.a,new y6(e)),e}function t4t(t){var e;if(!rat(t))throw at(new cc);return t.e=1,e=t.d,t.d=null,e}function Cp(t){var e;return ec(t)&&(e=0-t,!isNaN(e))?e:Fb(h7(t))}function Xo(t,e,n){for(;n<t.c.length;++n)if(Nc(e,t.c[n]))return n;return-1}function qst(t){var e,n;return n=u(Oe(t.j,0),12),e=u(X(n,(oe(),Li)),12),e}function Hst(t,e){var n;this.f=t,this.b=e,n=u(tr(t.b,e),260),this.c=n?n.b:null}function Cae(){Bf(),this.b=new _r,this.f=new _r,this.g=new _r,this.e=new _r}function _q(t){oz(this),this.g=t?eq(t,t.ie()):null,this.f=t,Xz(this),this.je()}function Vst(t){var e;e=t.jj(),e!=null&&t.d!=-1&&u(e,94).xh(t),t.i&&t.i.oj()}function HI(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--u(Oe(t.c.a,e),10).p}function Sae(t){_y(!!t.c),wit(t.f.g,t.d),t.c.Qb(),t.c=null,t.b=q4t(t),t.d=t.f.g}function Al(t){return t.b||(t.b=new Jte(t,Do,t),!t.a&&(t.a=new lI(t,t))),t.b}function VI(t,e){var n,r;return n=u(e,690),r=n.xi(),!r&&n.Ai(r=new bQt(t,e)),r}function $o(t,e){var n,r;return n=u(e,692),r=n.$k(),!r&&n.cl(r=new jre(t,e)),r}function e4t(t,e){ZC();var n,r;return n=ek(t),r=ek(e),!!n&&!!r&&!Xle(n.k,r.k)}function Aq(t,e){return Nc(e,Oe(t.f,0))||Nc(e,Oe(t.f,1))||Nc(e,Oe(t.f,2))}function UI(t,e){if(e<0)throw at(new Bo(fwe+e));return pie(t,e+1),Oe(t.j,e)}function _ae(t,e,n,r){if(!t)throw at(new zn(M_(e,lt(ut(aa,1),Ln,1,5,[n,r]))))}function Tg(t,e,n,r,s,o,h){tat.call(this,e,r,s,o,h),this.c=t,this.b=n}function M0(t,e,n){var r,s;for(r=10,s=0;s<n-1;s++)e<r&&(t.a+="0"),r*=10;t.a+=e}function Lq(t){var e,n;return n=t.length,e=Vt(Yh,Zd,28,n,15,1),kee(t,0,n,e,0),e}function GI(t){Nte();var e,n;return e=t+128,n=l9t[e],!n&&(n=l9t[e]=new gi(t)),n}function Aae(t){return wit(t.d.a.e.g,t.b),ur(t.c!=t.d.a.d),t.a=t.c,t.c=t.c.a,t.a}function F0n(t){switch(t.g){case 0:return xi;case 1:return-1;default:return 0}}function B0n(t){return Lxt(t,(WE(),c9t))<0?-vsn(h7(t)):t.l+t.m*Sk+t.h*bw}function Lae(t){(this.q?this.q:(mn(),mn(),q0)).Ac(t.q?t.q:(mn(),mn(),q0))}function R0n(t,e){q6(u(u(t.f,27).of((ai(),fL)),101))&&U2n(Jit(u(t.f,27)),e)}function Ust(t,e){var n;return n=ns(t.d,e),n>=0?AH(t,n,!0,!0):tv(t,e,!0)}function n4t(t){var e;return e=nw(jn(t,32)),e==null&&(Au(t),e=nw(jn(t,32))),e}function r4t(t){var e;return t.Oh()||(e=fr(t.Dh())-t.ji(),t.$h().Mk(e)),t.zh()}function Dae(t,e){eCt=new Le,s3e=e,kA=t,u(kA.b,68),V3t(kA,eCt,null),Gge(kA)}function WS(){WS=V,rft=new vrt("XY",0),nft=new vrt("X",1),ift=new vrt("Y",2)}function qu(){qu=V,O1=new mrt("TOP",0),n2=new mrt(J7,1),Kf=new mrt(O8t,2)}function Cg(){Cg=V,ZN=new Crt(r0,0),H5=new Crt("TOP",1),qk=new Crt(O8t,2)}function KI(){KI=V,T1t=new Qwt("INPUT_ORDER",0),C1t=new Qwt("PORT_DEGREE",1)}function WE(){WE=V,a9t=Eu(Il,Il,524287),Wve=Eu(0,0,aN),o9t=Mst(1),Mst(2),c9t=Mst(0)}function Gst(t){var e;return t.d!=t.r&&(e=of(t),t.e=!!e&&e.lk()==Wme,t.d=e),t.e}function Kst(t,e,n){var r;return r=t.g[e],kS(t,e,t.Zi(e,n)),t.Ri(e,n,r),t.Ni(),r}function Dq(t,e){var n;return n=t.dd(e),n>=0?(t.gd(n),!0):!1}function Wst(t,e){var n;for(Hr(t),Hr(e),n=!1;e.Ob();)n=n|t.Fc(e.Pb());return n}function od(t,e){var n;return n=u(tr(t.e,e),400),n?(hJt(t,n),n.e):null}function Mae(t){var e,n;return e=t/60|0,n=t%60,n==0?""+e:""+e+":"+(""+n)}function $y(t,e){var n=t.a[e],r=(yat(),Lht)[typeof n];return r?r(n):f5t(typeof n)}function fc(t,e){var n,r;return $b(t),r=new R3t(e,t.a),n=new BZt(r),new ln(t,n)}function Yst(t){var e;return e=t.b.c.length==0?null:Oe(t.b,0),e!=null&&sat(t,0),e}function j0n(t,e){var n,r,s;s=e.c.i,n=u(tr(t.f,s),60),r=n.d.c-n.e.c,P4t(e.a,r,0)}function i4t(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function Iae(t,e,n,r){yi(),um.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function Oae(t,e){for(;e[0]<t.length&&$d(` 	\r

1334 `)}return[]}function lvn(t){var e;return e=(Doe(),Yve),e[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[t&15]<<28}function Lhe(t){var e,n,r;t.b==t.c&&(r=t.a.length,n=W4t(b.Math.max(8,r))<<1,t.b!=0?(e=Ff(t.a,n),Uoe(t,e,r),t.a=e,t.b=0):wy(t.a,n),t.c=r)}function hvn(t,e){var n;return n=t.b,n.pf((ai(),Pl))?n.ag()==(ve(),Gn)?-n.Mf().a-Rt(Ht(n.of(Pl))):e+Rt(Ht(n.of(Pl))):n.ag()==(ve(),Gn)?-n.Mf().a:e}function EO(t){var e;return t.b.c.length!=0&&u(Oe(t.b,0),72).a?u(Oe(t.b,0),72).a:(e=Zit(t),e??""+(t.c?Xo(t.c.a,t,0):-1))}function BH(t){var e;return t.f.c.length!=0&&u(Oe(t.f,0),72).a?u(Oe(t.f,0),72).a:(e=Zit(t),e??""+(t.i?Xo(t.i.j,t,0):-1))}function fvn(t,e){var n,r;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(r=u(t.Xb(n),131),n==t.gc()-1||!r.o)return new Ws(he(n),r);return null}function dvn(t,e,n){var r,s,o,h,d;for(o=t.c,d=n?e:t,r=n?t:e,s=d.p+1;s<r.p;++s)if(h=u(Oe(o.a,s),10),!(h.k==(Un(),md)||zvn(h)))return!1;return!0}function wxt(t){var e,n,r,s,o;for(o=0,s=Vs,r=0,n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),172),o+=e.r+(r>0?t.c:0),s=b.Math.max(s,e.d),++r;t.e=o,t.b=s}function gvn(t){var e,n;if(!t.b)for(t.b=hq(u(t.f,123).kh().i),n=new Zn(u(t.f,123).kh());n.e!=n.i.gc();)e=u(ar(n),135),ge(t.b,new Qnt(e));return t.b}function pvn(t,e){var n,r,s;if(e.dc())return _E(),_E(),GP;for(n=new fZt(t,e.gc()),s=new Zn(t);s.e!=s.i.gc();)r=ar(s),e.Hc(r)&&Or(n,r);return n}function mxt(t,e,n,r){return e==0?r?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),t.o):(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),RI(t.o)):AH(t,e,n,r)}function kot(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)oI(Dt(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)oI(Dt(t.vb,e));MS((il(),ja),t),t.Bb|=1}function Ui(t,e,n,r,s,o,h,d,m,k,T,A,P,$){return u1e(t,e,r,null,s,o,h,d,m,k,P,!0,$),D5t(t,T),Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),2),n&&L4t(t,n),M5t(t,A),t}function bvn(t){var e,n;if(t==null)return null;n=0;try{n=lh(t,Ga,xi)&js}catch(r){if(r=es(r),Lt(r,130))e=Lq(t),n=e[0];else throw at(r)}return ZI(n)}function wvn(t){var e,n;if(t==null)return null;n=0;try{n=lh(t,Ga,xi)&js}catch(r){if(r=es(r),Lt(r,130))e=Lq(t),n=e[0];else throw at(r)}return ZI(n)}function mvn(t,e){var n,r,s;return s=t.h-e.h,s<0||(n=t.l-e.l,r=t.m-e.m+(n>>22),s+=r>>22,s<0)?!1:(t.l=n&Il,t.m=r&Il,t.h=s&Fg,!0)}function Eot(t,e,n,r,s,o,h){var d,m;return!(e.Te()&&(m=t.a.Ne(n,r),m<0||!s&&m==0)||e.Ue()&&(d=t.a.Ne(n,o),d>0||!h&&d==0))}function vvn(t,e){g7();var n;if(n=t.j.g-e.j.g,n!=0)return 0;switch(t.j.g){case 2:return Hat(e,ySt)-Hat(t,ySt);case 4:return Hat(t,vSt)-Hat(e,vSt)}return 0}function yvn(t){switch(t.g){case 0:return Oft;case 1:return Nft;case 2:return Pft;case 3:return Fft;case 4:return kG;case 5:return Bft;default:return null}}function qo(t,e,n){var r,s;return r=(s=new Unt,uw(s,e),mu(s,n),Or((!t.c&&(t.c=new Jt(Ov,t,12,10)),t.c),s),s),Sp(r,0),Hy(r,1),Mp(r,!0),Dp(r,!0),r}function pk(t,e){var n,r;if(e>=t.i)throw at(new Grt(e,t.i));return++t.j,n=t.g[e],r=t.i-e-1,r>0&&Xc(t.g,e+1,t.g,e,r),ls(t.g,--t.i,null),t.Qi(e,n),t.Ni(),n}function Dhe(t,e){var n,r;return t.Db>>16==17?t.Cb.Th(t,21,mf,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 xvn(t){var e,n,r,s;for(mn(),Ds(t.c,t.a),s=new G(t.c);s.a<s.c.c.length;)for(r=et(s),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),693),e.bf(r)}function kvn(t){var e,n,r,s;for(mn(),Ds(t.c,t.a),s=new G(t.c);s.a<s.c.c.length;)for(r=et(s),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),382),e.bf(r)}function Evn(t){var e,n,r,s,o;for(s=xi,o=null,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),218),n.d.j^n.e.j&&(e=n.e.e-n.d.e-n.a,e<s&&(s=e,o=n));return o}function vxt(){vxt=V,V3e=new un(K8t,(Pn(),!1)),z3e=new un(W8t,100),mCt=(WS(),rft),q3e=new un(Y8t,mCt),H3e=new un(X8t,n0),U3e=new un(Q8t,he(xi))}function Mhe(t,e,n){var r,s,o,h,d,m,k,T;for(k=0,s=t.a[e],o=0,h=s.length;o<h;++o)for(r=s[o],T=c_(r,n),m=T.Kc();m.Ob();)d=u(m.Pb(),12),hi(t.f,d,he(k++))}function Tvn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new W2(s),h=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);h.Ob();)o=u(h.Pb(),17),dn(t,e,mk($y(n,o.a)))}function Cvn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new W2(s),h=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);h.Ob();)o=u(h.Pb(),17),dn(t,e,mk($y(n,o.a)))}function yxt(t){Vb();var e;return e=u(v_(U6(t.k),Vt(bo,qc,64,2,0,1)),126),GE(e,0,e.length,null),e[0]==(ve(),Hn)&&e[1]==Gn&&(ls(e,0,Gn),ls(e,1,Hn)),e}function Ihe(t,e,n){var r,s,o;return s=dkn(t,e,n),o=ukt(t,s),$st(t.b),yst(t,e,n),mn(),Ds(s,new EUt(t)),r=ukt(t,s),$st(t.b),yst(t,n,e),new Ws(he(o),he(r))}function Ohe(){Ohe=V,gke=ri(new Fs,(Ua(),Zo),(Za(),CA)),rK=new rs("linearSegments.inputPrio",he(0)),iK=new rs("linearSegments.outputPrio",he(0))}function bk(){bk=V,sK=new q$("P1_TREEIFICATION",0),WA=new q$("P2_NODE_ORDERING",1),YA=new q$("P3_NODE_PLACEMENT",2),XA=new q$("P4_EDGE_ROUTING",3)}function Svn(t){var e,n,r,s;for(n=0,e=0,s=new Zn(t);s.e!=s.i.gc();)r=u(ar(s),27),n=b.Math.max(r.g+r.i,n),e=b.Math.max(r.f+r.j,e);return new ae(n,e)}function _vn(t,e){var n,r,s,o;for(o=0,r=new G(t);r.a<r.c.c.length;)n=u(et(r),27),o+=b.Math.pow(n.g*n.f-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function uh(){uh=V,NP=new G$("UNKNOWN",0),K0=new G$("ABOVE",1),h2=new G$("BELOW",2),OP=new G$("INLINE",3),new rs("org.eclipse.elk.labelSide",NP)}function Nhe(t,e){var n;if(t.Yi()&&e!=null){for(n=0;n<t.i;++n)if(Ti(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if($t(t.g[n])===$t(e))return n;return-1}function Avn(t,e,n){var r,s;return e.c==(To(),ku)&&n.c==vl?-1:e.c==vl&&n.c==ku?1:(r=xue(e.a,t.a),s=xue(n.a,t.a),e.c==ku?s-r:r-s)}function Xy(t,e,n){if(n&&(e<0||e>n.a.c.length))throw at(new zn("index must be >= 0 and <= layer node count"));t.c&&zu(t.c.a,t),t.c=n,n&&Sm(n.a,e,t)}function Phe(t,e){var n,r,s;for(r=new rr(sr(Dg(t).a.Kc(),new z));Mr(r);)return n=u(dr(r),18),s=u(e.Kb(n),10),new FC(Hr(s.n.b+s.o.b/2));return UC(),UC(),yht}function Fhe(t,e){this.c=new _r,this.a=t,this.b=e,this.d=u(X(t,(oe(),G5)),312),$t(X(t,(De(),iAt)))===$t((qI(),EG))?this.e=new MKt:this.e=new DKt}function y_(t,e){var n,r;return r=null,t.pf((ai(),Zk))&&(n=u(t.of(Zk),96),n.pf(e)&&(r=n.of(e))),r==null&&t.Tf()&&(r=t.Tf().of(e)),r==null&&(r=Se(e)),r}function Tot(t,e){var n,r;n=t.fd(e);try{return r=n.Pb(),n.Qb(),r}catch(s){throw s=es(s),Lt(s,112)?at(new Bo("Can't remove element "+e)):at(s)}}function Lvn(t,e){var n,r,s;if(r=new x$,s=new Q4t(r.q.getFullYear()-Wb,r.q.getMonth(),r.q.getDate()),n=$7n(t,e,s),n==0||n<e.length)throw at(new zn(e));return s}function xxt(t,e){var n,r,s;for(Wn(e),evt(e!=t),s=t.b.c.length,r=e.Kc();r.Ob();)n=r.Pb(),ge(t.b,Wn(n));return s!=t.b.c.length?(a5t(t,0),!0):!1}function TO(){TO=V,kCt=(ai(),AP),new _a(Idt,(Pn(),!0)),K3e=jw,W3e=lx,Y3e=l2,G3e=ux,TCt=LP,X3e=j3,xCt=(vxt(),V3e),vCt=q3e,yCt=H3e,ECt=U3e,YU=z3e}function Dvn(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw at(new zn("'port' must be either the source port or target port of the edge."))}function Mvn(t,e,n){var r,s;switch(s=t.o,r=t.d,e.g){case 1:return-r.d-n;case 3:return s.b+r.a+n;case 2:return s.a+r.c+n;case 4:return-r.b-n;default:return 0}}function kxt(t,e,n,r){var s,o,h,d;for(Aa(e,u(r.Xb(0),30)),d=r.kd(1,r.gc()),o=u(n.Kb(e),20).Kc();o.Ob();)s=u(o.Pb(),18),h=s.c.i==e?s.d.i:s.c.i,kxt(t,h,n,d)}function Bhe(t){var e;return e=new _r,qi(t,(oe(),Xft))?u(X(t,Xft),85):(ms(_i(new ln(null,new gn(t.j,16)),new GQ),new VVt(e)),Zt(t,Xft,e),e)}function Rhe(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new G(t);h.a<h.c.c.length;)o=u(et(h),186),r=b.Math.max(r,o.e),s+=o.b+(n>0?e:0),++n;return new ae(r,s)}function Ext(t,e){var n,r;return t.Db>>16==6?t.Cb.Th(t,6,Ts,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),$K)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Txt(t,e){var n,r;return t.Db>>16==7?t.Cb.Th(t,1,zP,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),SIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Cxt(t,e){var n,r;return t.Db>>16==9?t.Cb.Th(t,9,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),AIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function jhe(t,e){var n,r;return t.Db>>16==5?t.Cb.Th(t,9,YK,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),Zp)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function $he(t,e){var n,r;return t.Db>>16==7?t.Cb.Th(t,6,F1,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),eb)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Sxt(t,e){var n,r;return t.Db>>16==3?t.Cb.Th(t,0,HP,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),Jp)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function zhe(){this.a=new WR,this.g=new OH,this.j=new OH,this.b=new _r,this.d=new OH,this.i=new OH,this.k=new _r,this.c=new _r,this.e=new _r,this.f=new _r}function Ivn(t,e,n){var r,s,o;for(n<0&&(n=0),o=t.i,s=n;s<o;s++)if(r=Dt(t,s),e==null){if(r==null)return s}else if($t(e)===$t(r)||Ti(e,r))return s;return-1}function Ovn(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),SU)),hn(IN,r)?MS(t,sh(e.qk())):r):null}function _7(t,e){var n,r;if(e){if(e==t)return!0;for(n=0,r=u(e,54).Ph();r&&r!=e;r=r.Ph()){if(++n>uut)return _7(t,r);if(r==t)return!0}}return!1}function Nvn(t){switch(hz(),t.q.g){case 5:T1e(t,(ve(),Hn)),T1e(t,Er);break;case 4:Cde(t,(ve(),Hn)),Cde(t,Er);break;default:Ape(t,(ve(),Hn)),Ape(t,Er)}}function Pvn(t){switch(hz(),t.q.g){case 5:H1e(t,(ve(),Jn)),H1e(t,Gn);break;case 4:Kle(t,(ve(),Jn)),Kle(t,Gn);break;default:Lpe(t,(ve(),Jn)),Lpe(t,Gn)}}function Fvn(t){var e,n;e=u(X(t,(Vf(),N3e)),17),e?(n=e.a,n==0?Zt(t,(Pb(),WU),new Kat):Zt(t,(Pb(),WU),new pq(n))):Zt(t,(Pb(),WU),new pq(1))}function Bvn(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function Rvn(t,e){switch(t.g){case 0:return e==(Rh(),s2)?gG:pG;case 1:return e==(Rh(),s2)?gG:YN;case 2:return e==(Rh(),s2)?YN:pG;default:return YN}}function CO(t,e){var n,r,s;for(zu(t.a,e),t.e-=e.r+(t.a.c.length==0?0:t.c),s=O7t,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),s=b.Math.max(s,n.d);t.b=s}function _xt(t,e){var n,r;return t.Db>>16==3?t.Cb.Th(t,12,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),CIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Axt(t,e){var n,r;return t.Db>>16==11?t.Cb.Th(t,10,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),_It)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function qhe(t,e){var n,r;return t.Db>>16==10?t.Cb.Th(t,11,mf,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),tb)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Hhe(t,e){var n,r;return t.Db>>16==10?t.Cb.Th(t,12,vf,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),K3)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function of(t){var e;return!(t.Bb&1)&&t.r&&t.r.Vh()&&(e=u(t.r,54),t.r=u(jb(t,e),142),t.r!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,8,e,t.r))),t.r}function Cot(t,e,n){var r;return r=lt(ut(ma,1),No,28,15,[t6t(t,(A1(),Ac),e,n),t6t(t,xu,e,n),t6t(t,Lc,e,n)]),t.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function jvn(t,e){var n,r,s;if(s=umn(t,e),s.c.length!=0)for(Ds(s,new Z9),n=s.c.length,r=0;r<n;r++)I7(t,(vn(r,s.c.length),u(s.c[r],292)),c8n(t,s,r))}function $vn(t){var e,n,r,s;for(s=u(Ai(t.a,(Qy(),bG)),15).Kc();s.Ob();)for(r=u(s.Pb(),105),n=U6(r.k).Kc();n.Ob();)e=u(n.Pb(),64),NE(t,r,e,(Vm(),r2),1)}function zvn(t){var e,n;if(t.k==(Un(),fa)){for(n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!go(e)&&t.c==Pxt(e,t).c)return!0}return!1}function qvn(t){var e,n;if(t.k==(Un(),fa)){for(n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!go(e)&&e.c.i.c==e.d.i.c)return!0}return!1}function Hvn(t,e){var n,r,s,o,h;if(e)for(s=e.a.length,n=new W2(s),h=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);h.Ob();)o=u(h.Pb(),17),r=qE(e,o.a),r&&mde(t,r)}function Vvn(){Nwt();var t,e;for(MSn((Lb(),Fn)),xSn(Fn),kot(Fn),qIt=(wn(),Sd),e=new G(QIt);e.a<e.c.c.length;)t=u(et(e),248),H7(t,Sd,null);return!0}function Lxt(t,e){var n,r,s,o,h,d,m,k;return m=t.h>>19,k=e.h>>19,m!=k?k-m:(s=t.h,d=e.h,s!=d?s-d:(r=t.m,h=e.m,r!=h?r-h:(n=t.l,o=e.l,n-o)))}function RH(){RH=V,H9t=(aV(),Hht),q9t=new un(_8t,H9t),z9t=(Mq(),qht),$9t=new un(A8t,z9t),j9t=(TH(),zht),R9t=new un(L8t,j9t),B9t=new un(D8t,(Pn(),!0))}function x_(t,e,n){var r,s;r=e*n,Lt(t.g,154)?(s=ek(t),s.f.d?s.f.a||(t.d.a+=r+gd):(t.d.d-=r+gd,t.d.a+=r+gd)):Lt(t.g,10)&&(t.d.d-=r,t.d.a+=2*r)}function Vhe(t,e,n){var r,s,o,h,d;for(s=t[n.g],d=new G(e.d);d.a<d.c.c.length;)h=u(et(d),105),o=h.i,o&&o.i==n&&(r=h.d[n.g],s[r]=b.Math.max(s[r],o.j.b))}function Uvn(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new G(e.d);h.a<h.c.c.length;)o=u(et(h),315),PH(o),r=b.Math.max(r,o.b),s+=o.d+(n>0?t.b:0),++n;e.b=r,e.e=s}function Uhe(t){var e,n,r;if(r=t.b,FYt(t.i,r.length)){for(n=r.length*2,t.b=Vt(Tht,iN,302,n,0,1),t.c=Vt(Tht,iN,302,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)NO(t,e,e);++t.g}}function Gvn(t,e,n,r){var s,o,h,d;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)d=h-e.k+r,u5(e,s,h)?jmn(t,o,d)||rvn(t,o,d):ghe(e,s,h)&&(lhe(t,o,d)||ivn(t,o,d))}function k_(t,e){return t.b.a=b.Math.min(t.b.a,e.c),t.b.b=b.Math.min(t.b.b,e.d),t.a.a=b.Math.max(t.a.a,e.c),t.a.b=b.Math.max(t.a.b,e.d),In(t.c,e),!0}function Kvn(t,e,n){var r;r=e.c.i,r.k==(Un(),fa)?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12))):(Zt(t,(oe(),N1),e.c),Zt(t,gf,n.d))}function A7(t,e,n){w5();var r,s,o,h,d,m;return h=e/2,o=n/2,r=b.Math.abs(t.a),s=b.Math.abs(t.b),d=1,m=1,r>h&&(d=h/r),s>o&&(m=o/s),qd(t,b.Math.min(d,m)),t}function Wvn(){fV();var t,e;try{if(e=u(jxt((Eb(),yf),hT),2113),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new W8}function Yvn(){fV();var t,e;try{if(e=u(jxt((Eb(),yf),hf),2040),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new l6}function Xvn(){eae();var t,e;try{if(e=u(jxt((Eb(),yf),Cw),2122),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new Z8}function Qvn(t,e,n){var r,s;return s=t.e,t.e=e,t.Db&4&&!(t.Db&1)&&(r=new ha(t,1,4,s,e),n?n.nj(r):n=r),s!=e&&(e?n=H7(t,QH(t,e),n):n=H7(t,t.a,n)),n}function Ghe(){x$.call(this),this.e=-1,this.a=!1,this.p=Ga,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Ga}function Jvn(t,e){var n,r,s;if(r=t.b.d.d,t.a||(r+=t.b.d.a),s=e.b.d.d,e.a||(s+=e.b.d.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Zvn(t,e){var n,r,s;if(r=t.b.b.d,t.a||(r+=t.b.b.a),s=e.b.b.d,e.a||(s+=e.b.b.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tyn(t,e){var n,r,s;if(r=t.b.g.d,t.a||(r+=t.b.g.a),s=e.b.g.d,e.a||(s+=e.b.g.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Dxt(){Dxt=V,J3e=el(ri(ri(ri(new Fs,(Ua(),cu),(Za(),sSt)),cu,aSt),Zo,oSt),Zo,WCt),t4e=ri(ri(new Fs,cu,zCt),cu,YCt),Z3e=el(new Fs,Zo,QCt)}function eyn(t){var e,n,r,s,o;for(e=u(X(t,(oe(),MA)),85),o=t.n,r=e.Cc().Kc();r.Ob();)n=u(r.Pb(),314),s=n.i,s.c+=o.a,s.d+=o.b,n.c?f0e(n):d0e(n);Zt(t,MA,null)}function nyn(t,e,n){var r,s;switch(s=t.b,r=s.d,e.g){case 1:return-r.d-n;case 2:return s.o.a+r.c+n;case 3:return s.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function ryn(t,e,n){var r,s;for(n.Ug("Interactive node placement",1),t.a=u(X(e,(oe(),G5)),312),s=new G(e.b);s.a<s.c.c.length;)r=u(et(s),30),Ykn(t,r);n.Vg()}function iyn(t){var e,n,r,s,o;if(r=0,s=S5,t.b)for(e=0;e<360;e++)n=e*.017453292519943295,Skt(t,t.d,0,0,xw,n),o=t.b.Dg(t.d),o<s&&(r=n,s=o);Skt(t,t.d,0,0,xw,r)}function syn(t,e){var n,r,s,o;for(o=new _r,e.e=null,e.f=null,r=new G(e.i);r.a<r.c.c.length;)n=u(et(r),68),s=u(tr(t.g,n.a),42),n.a=zz(n.b),hi(o,n.a,s);t.g=o}function ayn(t,e,n){var r,s,o,h,d,m;for(s=e-t.e,o=s/t.d.c.length,h=0,m=new G(t.d);m.a<m.c.c.length;)d=u(et(m),315),r=t.b-d.b+n,ple(d,d.e+h*o,d.f),qmn(d,o,r),++h}function Khe(t){var e;if(t.f._j(),t.b!=-1){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if(e=t.f.d[t.a],e&&e.i!=0){t.b=0;return}t.b=-1}function oyn(t,e){var n,r,s;for(s=e.c.length,n=u5n(t,s==0?"":(vn(0,e.c.length),Gr(e.c[0]))),r=1;r<s&&n;++r)n=u(n,54).Zh((vn(r,e.c.length),Gr(e.c[r])));return n}function Whe(t,e){var n,r;for(r=new G(e);r.a<r.c.c.length;)n=u(et(r),10),t.c[n.c.p][n.p].a=cyt(t.i),t.c[n.c.p][n.p].d=Rt(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function cyn(t,e){var n,r,s,o;for(o=0,r=new G(t);r.a<r.c.c.length;)n=u(et(r),163),o+=b.Math.pow(tl(n)*Gl(n)-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function Yhe(t,e){var n,r,s,o;for(o=0,s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),o=b.Math.max(o,r.e.a+r.b.Mf().a);n=u(Io(t.b,e),127),n.n.b=0,n.a.a=o}function Xhe(t,e){var n,r,s,o;for(n=0,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),n=b.Math.max(n,s.e.b+s.b.Mf().b);r=u(Io(t.b,e),127),r.n.d=0,r.a.b=n}function Qhe(t,e,n,r){var s,o,h;return o=V8n(t,e,n,r),h=wkt(t,o),Pot(t,e,n,r),$st(t.b),mn(),Ds(o,new TUt(t)),s=wkt(t,o),Pot(t,n,e,r),$st(t.b),new Ws(he(h),he(s))}function uyn(t,e){var n;e.Ug("Delaunay triangulation",1),n=new fe,Cu(t.i,new aGt(n)),Ie(Me(X(t,(s7(),EA)))),t.e?Ma(t.e,Gpe(n)):t.e=Gpe(n),e.Vg()}function lyn(t,e,n){var r,s;for(rI(t,t.j+e,t.k+n),s=new Zn((!t.a&&(t.a=new Ps(vh,t,5)),t.a));s.e!=s.i.gc();)r=u(ar(s),377),Xrt(r,r.a+e,r.b+n);nI(t,t.b+e,t.c+n)}function Mxt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new kn(Ts,t,7,4)),vu(t.e,e,r);case 8:return!t.d&&(t.d=new kn(Ts,t,8,5)),vu(t.d,e,r)}return Iot(t,e,n,r)}function Ixt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new kn(Ts,t,7,4)),so(t.e,e,r);case 8:return!t.d&&(t.d=new kn(Ts,t,8,5)),so(t.d,e,r)}return pat(t,e,n,r)}function hyn(t,e,n){var r,s,o,h,d;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),s=qE(n,h.a),s&&E1e(t,s,e)}function SO(t,e,n){var r,s,o,h,d;return t._j(),o=e==null?0:$i(e),t.f>0&&(h=(o&xi)%t.d.length,s=I6t(t,h,o,e),s)?(d=s.nd(n),d):(r=t.ck(o,e,n),t.c.Fc(r),null)}function Oxt(t,e){var n,r,s,o;switch(Lp(t,e).Kl()){case 3:case 2:{for(n=v5(e),s=0,o=n.i;s<o;++s)if(r=u(Dt(n,s),35),Om($o(t,r))==5)return r;break}}return null}function fyn(t){var e,n,r,s,o;if(FYt(t.f,t.b.length))for(r=Vt(qve,iN,227,t.b.length*2,0,1),t.b=r,s=r.length-1,n=t.a;n!=t;n=n._d())o=u(n,227),e=o.d&s,o.a=r[e],r[e]=o}function dyn(t){var e,n;return n=u(X(t,(oe(),lu)),21),e=rz(Dke),n.Hc((Co(),q5))&&ch(e,Oke),n.Hc(DA)&&ch(e,Nke),n.Hc(AT)&&ch(e,Mke),n.Hc(LT)&&ch(e,Ike),e}function Nxt(t){if(t<0)throw at(new zn("The input must be positive"));return t<iMt.length?tw(iMt[t]):b.Math.sqrt(xw*t)*(Hbn(t,t)/p5t(2.718281828459045,t))}function L7(t,e){var n;if(t.Yi()&&e!=null){for(n=0;n<t.i;++n)if(Ti(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if($t(t.g[n])===$t(e))return!0;return!1}function gyn(t,e){if(e==null){for(;t.a.Ob();)if(u(t.a.Pb(),44).md()==null)return!0}else for(;t.a.Ob();)if(Ti(e,u(t.a.Pb(),44).md()))return!0;return!1}function pyn(t,e){var n,r,s;return e===t?!0:Lt(e,678)?(s=u(e,2046),Ale((r=t.g,r||(t.g=new xM(t))),(n=s.g,n||(s.g=new xM(s))))):!1}function byn(t){var e,n,r,s;for(e="gA",n="vz",s=b.Math.min(t.length,5),r=s-1;r>=0;r--)if(hn(t[r].d,e)||hn(t[r].d,n)){t.length>=r+1&&t.splice(0,r+1);break}return t}function _O(t,e){var n;return ec(t)&&ec(e)&&(n=t/e,oN<n&&n<bw)?n<0?b.Math.ceil(n):b.Math.floor(n):Fb(Gkt(ec(t)?rf(t):t,ec(e)?rf(e):e,!1))}function Pxt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw at(new zn("'node' must either be the source node or target node of the edge."))}function wyn(t){var e,n,r,s;if(s=u(X(t,(oe(),XSt)),36),s){for(r=new Sa,e=Pa(t.c.i);e!=s;)n=e.e,e=Pa(n),Tm(ki(ki(r,n.n),e.c),e.d.b,e.d.d);return r}return m4e}function myn(t){var e;e=u(X(t,(oe(),kv)),337),ms(fc(new ln(null,new gn(e.d,16)),new zQ),new RVt(t)),ms(_i(new ln(null,new gn(e.d,16)),new qQ),new $Vt(t))}function Sot(t,e){var n,r,s,o;for(s=e?_s(t):ua(t),r=new rr(sr(s.a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),o=Pxt(n,t),o.k==(Un(),fa)&&o.c!=t.c)return o;return null}function vyn(t){var e,n,r;for(n=new G(t.p);n.a<n.c.c.length;)e=u(et(n),10),e.k==(Un(),xs)&&(r=e.o.b,t.i=b.Math.min(t.i,r),t.g=b.Math.max(t.g,r))}function Jhe(t,e,n){var r,s,o;for(o=new G(e);o.a<o.c.c.length;)r=u(et(o),10),t.c[r.c.p][r.p].e=!1;for(s=new G(e);s.a<s.c.c.length;)r=u(et(s),10),Jkt(t,r,n)}function _ot(t,e,n){var r,s;r=a5(e.j,n.s,n.c)+a5(n.e,e.s,e.c),s=a5(n.j,e.s,e.c)+a5(e.e,n.s,n.c),r==s?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=b.Math.min(r,s))}function Zhe(t){var e;e=u(X(u(jh(t.b,0),39),(Cc(),SLt)),107),Zt(t,(ji(),zT),new ae(0,0)),U0e(new FI,t,e.b+e.c-Rt(Ht(X(t,R1t))),e.d+e.a-Rt(Ht(X(t,j1t))))}function tfe(t,e){var n,r;if(r=!1,ba(e)&&(r=!0,Y6(t,new Oy(Gr(e)))),r||Lt(e,242)&&(r=!0,Y6(t,(n=_vt(u(e,242)),new cE(n)))),!r)throw at(new Znt(LTt))}function yyn(t,e,n,r){var s,o,h;return s=new Tg(t.e,1,10,(h=e.c,Lt(h,90)?u(h,29):(wn(),xf)),(o=n.c,Lt(o,90)?u(o,29):(wn(),xf)),Np(t,e),!1),r?r.nj(s):r=s,r}function Fxt(t){var e,n;switch(u(X(Pa(t),(De(),Q_t)),429).g){case 0:return e=t.n,n=t.o,new ae(e.a+n.a/2,e.b+n.b/2);case 1:return new io(t.n);default:return null}}function AO(){AO=V,TG=new uS(r0,0),FSt=new uS("LEFTUP",1),RSt=new uS("RIGHTUP",2),PSt=new uS("LEFTDOWN",3),BSt=new uS("RIGHTDOWN",4),Rft=new uS("BALANCED",5)}function xyn(t,e,n){var r,s,o;if(r=Bi(t.a[e.p],t.a[n.p]),r==0){if(s=u(X(e,(oe(),Uk)),15),o=u(X(n,Uk),15),s.Hc(n))return-1;if(o.Hc(e))return 1}return r}function kyn(t){switch(t.g){case 1:return new mtt;case 2:return new vtt;case 3:return new wtt;case 0:return null;default:throw at(new zn(Clt+(t.f!=null?t.f:""+t.g)))}}function Bxt(t,e,n){switch(e){case 1:!t.n&&(t.n=new Jt(Po,t,1,7)),Ir(t.n),!t.n&&(t.n=new Jt(Po,t,1,7)),gs(t.n,u(n,16));return;case 2:n7(t,Gr(n));return}r5t(t,e,n)}function Rxt(t,e,n){switch(e){case 3:zm(t,Rt(Ht(n)));return;case 4:qm(t,Rt(Ht(n)));return;case 5:Su(t,Rt(Ht(n)));return;case 6:_u(t,Rt(Ht(n)));return}Bxt(t,e,n)}function jH(t,e,n){var r,s,o;o=(r=new Unt,r),s=hd(o,e,null),s&&s.oj(),mu(o,n),Or((!t.c&&(t.c=new Jt(Ov,t,12,10)),t.c),o),Sp(o,0),Hy(o,1),Mp(o,!0),Dp(o,!0)}function jxt(t,e){var n,r,s;return n=iS(t.i,e),Lt(n,241)?(s=u(n,241),s.zi()==null,s.wi()):Lt(n,507)?(r=u(n,2037),s=r.b,s):null}function Eyn(t,e,n,r){var s,o;return Hr(e),Hr(n),o=u(_S(t.d,e),17),_ae(!!o,"Row %s not in %s",e,t.e),s=u(_S(t.b,n),17),_ae(!!s,"Column %s not in %s",n,t.c),Rce(t,o.a,s.a,r)}function efe(t,e,n,r,s,o,h){var d,m,k,T,A;if(T=s[o],k=o==h-1,d=k?r:0,A=yhe(d,T),r!=10&&lt(ut(t,h-o),e[o],n[o],d,A),!k)for(++o,m=0;m<T;++m)A[m]=efe(t,e,n,r,s,o,h);return A}function E_(t){if(t.g==-1)throw at(new Xu);t.Xj();try{t.i.gd(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(e){throw e=es(e),Lt(e,77)?at(new Th):at(e)}}function Tyn(t){var e,n,r,s;for(s=-1,r=0,n=new G(t);n.a<n.c.c.length;){if(e=u(et(n),249),e.c==(To(),vl)){s=r==0?0:r-1;break}else r==t.c.length-1&&(s=r);r+=1}return s}function Cyn(t){var e,n,r,s;for(s=0,e=0,r=new G(t.c);r.a<r.c.c.length;)n=u(et(r),27),Su(n,t.e+s),_u(n,t.f),s+=n.g+t.b,e=b.Math.max(e,n.f+t.b);t.d=s-t.b,t.a=e-t.b}function h5(t){var e,n,r;for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),60),r=e.d.c,e.d.c=e.d.d,e.d.d=r,r=e.d.b,e.d.b=e.d.a,e.d.a=r,r=e.b.a,e.b.a=e.b.b,e.b.b=r;nkt(t)}function f5(t){var e,n,r;for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=e.g.c,e.g.c=e.g.d,e.g.d=r,r=e.g.b,e.g.b=e.g.a,e.g.a=r,r=e.e.a,e.e.a=e.e.b,e.e.b=r;eV(t)}function Syn(t){var e,n,r,s,o;for(o=U6(t.k),n=(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])),r=0,s=n.length;r<s;++r)if(e=n[r],e!=bc&&!o.Hc(e))return e;return null}function Aot(t,e){var n,r;return r=u(Ssn(f7(_i(new ln(null,new gn(e.j,16)),new DJ))),12),r&&(n=u(Oe(r.e,0),18),n)?u(X(n,(oe(),Pi)),17).a:F0n(t.b)}function _yn(t,e){var n,r,s,o;for(o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),KC(t.d),r=new rr(sr(_s(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),Z1e(t,s,n.d.i)}function Ayn(t,e){var n,r;for(zu(t.b,e),r=new G(t.n);r.a<r.c.c.length;)if(n=u(et(r),209),Xo(n.c,e,0)!=-1){zu(n.c,e),Cyn(n),n.c.c.length==0&&zu(t.n,n);break}Oge(t)}function nfe(t,e){var n,r,s,o,h;for(h=t.f,s=0,o=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),kO(n,t.e,h),$I(n,e),o=b.Math.max(o,n.r),h+=n.d+t.c,s=h;t.d=o,t.b=s}function rfe(t){var e,n;return n=jO(t),HE(n)?null:(e=(Hr(n),u(uhe(new rr(sr(n.a.Kc(),new z))),74)),Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)))}function $H(t){var e;return t.o||(e=t.uk(),e?t.o=new Nyt(t,t,null):t.al()?t.o=new hvt(t,null):Om($o((il(),ja),t))==1?t.o=new _ie(t):t.o=new fit(t,null)),t.o}function Lyn(t,e,n,r){var s,o,h,d,m;n.Xh(e)&&(s=(h=e,h?u(r,54).gi(h):null),s&&(m=n.Mh(e),d=e.t,d>1||d==-1?(o=u(m,15),s.Wb(awn(t,o))):s.Wb(lct(t,u(m,58)))))}function Dyn(t,e,n,r){hYt();var s=vht;function o(){for(var h=0;h<s.length;h++)s[h]()}if(t)try{l9e(o)()}catch(h){t(e,h)}else l9e(o)()}function Myn(t,e){var n,r,s,o;for(s=(o=new cr(t.b).a.vc().Kc(),new vi(o));s.a.Ob();)if(r=(n=u(s.a.Pb(),44),u(n.ld(),34)),vmt(e,u(r,17))<0)return!1;return!0}function Iyn(t,e){var n,r,s,o;for(s=(o=new cr(t.b).a.vc().Kc(),new vi(o));s.a.Ob();)if(r=(n=u(s.a.Pb(),44),u(n.ld(),34)),vmt(e,u(r,17))>0)return!1;return!0}function Oyn(t){var e,n,r,s,o;for(r=new sw(new mr(t.b).a);r.b;)n=Um(r),e=u(n.ld(),10),o=u(u(n.md(),42).a,10),s=u(u(n.md(),42).b,8),ki(k1(e.n),ki(Oa(o.n),s))}function Nyn(t){switch(u(X(t.b,(De(),V_t)),387).g){case 1:ms(Wo(fc(new ln(null,new gn(t.d,16)),new WD),new y4),new vJ);break;case 2:L8n(t);break;case 0:o5n(t)}}function Pyn(t,e,n){var r,s,o;for(r=n,!r&&(r=new S6),r.Ug("Layout",t.a.c.length),o=new G(t.a);o.a<o.c.c.length;){if(s=u(et(o),47),r.$g())return;s.Kf(e,r.eh(1))}r.Vg()}function fw(){fw=V,Ddt=new fS("V_TOP",0),hL=new fS("V_CENTER",1),lL=new fS("V_BOTTOM",2),Ldt=new fS("H_LEFT",3),cL=new fS("H_CENTER",4),uL=new fS("H_RIGHT",5)}function $xt(t){var e;return t.Db&64?bH(t):(e=new ef(bH(t)),e.a+=" (abstract: ",gp(e,(t.Bb&256)!=0),e.a+=", interface: ",gp(e,(t.Bb&512)!=0),e.a+=")",e.a)}function Fyn(t){var e;t.c==null&&(e=$t(t.b)===$t(r9t)?null:t.b,t.d=e==null?Vu:ree(e)?msn(pne(e)):ba(e)?g8t:V2(Wl(e)),t.a=t.a+": "+(ree(e)?ban(pne(e)):e+""),t.c="("+t.d+") "+t.a)}function Byn(){function t(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===Pct&&Map.prototype.entries&&t()?Map:ECn()}function Ryn(t,e){var n,r,s,o;for(o=new La(t.e,0),n=0;o.b<o.d.gc();){if(r=Rt((ur(o.b<o.d.gc()),Ht(o.d.Xb(o.c=o.b++)))),s=r-e,s>xlt)return n;s>-1e-6&&++n}return n}function zxt(t,e){var n;e!=t.b?(n=null,t.b&&(n=nq(t.b,t,-4,n)),e&&(n=gk(e,t,-4,n)),n=Mue(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function ife(t,e){var n;e!=t.f?(n=null,t.f&&(n=nq(t.f,t,-1,n)),e&&(n=gk(e,t,-1,n)),n=Due(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,0,e,e))}function jyn(t,e,n,r){var s,o,h,d;return Hl(t.e)&&(s=e.Lk(),d=e.md(),o=n.md(),h=Ib(t,1,s,d,o,s.Jk()?$7(t,s,o,Lt(s,102)&&(u(s,19).Bb&po)!=0):-1,!0),r?r.nj(h):r=h),r}function sfe(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new dp,e=n.Kc();e.Ob();)Mo(r,(Ni(),Gr(e.Pb()))),r.a+=" ";return Wrt(r,r.a.length-1)}function afe(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new dp,e=n.Kc();e.Ob();)Mo(r,(Ni(),Gr(e.Pb()))),r.a+=" ";return Wrt(r,r.a.length-1)}function $yn(t,e,n){var r,s;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?Fit(r.a,s.a):r.a!=null?-1:s.a!=null?1:0}function zyn(t,e,n){return n.Ug("Tree layout",1),EI(t.b),E1(t.b,(bk(),sK),sK),E1(t.b,WA,WA),E1(t.b,YA,YA),E1(t.b,XA,XA),t.a=XO(t.b,e),Pyn(t,e,n.eh(1)),n.Vg(),e}function qyn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new W2(o),d=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);d.Ob();)h=u(d.Pb(),17),s=qE(e,h.a),r=new _Gt(t),Xln(r.a,s)}function Hyn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new W2(o),d=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);d.Ob();)h=u(d.Pb(),17),s=qE(e,h.a),r=new mGt(t),Yln(r.a,s)}function Vyn(t){var e;if(t!=null&&t.length>0&&Va(t,t.length-1)==33)try{return e=pde(Lh(t,0,t.length-1)),e.e==null}catch(n){if(n=es(n),!Lt(n,33))throw at(n)}return!1}function Uyn(t,e,n){var r,s,o;switch(r=Pa(e),s=fH(r),o=new Yc,hc(o,e),n.g){case 1:Xs(o,bO(hk(s)));break;case 2:Xs(o,hk(s))}return Zt(o,(De(),D3),Ht(X(t,D3))),o}function qxt(t){var e,n;return e=u(dr(new rr(sr(ua(t.a).a.Kc(),new z))),18),n=u(dr(new rr(sr(_s(t.a).a.Kc(),new z))),18),Ie(Me(X(e,(oe(),vd))))||Ie(Me(X(n,vd)))}function Qy(){Qy=V,XN=new HM("ONE_SIDE",0),mG=new HM("TWO_SIDES_CORNER",1),vG=new HM("TWO_SIDES_OPPOSING",2),wG=new HM("THREE_SIDES",3),bG=new HM("FOUR_SIDES",4)}function ofe(t,e){var n,r,s,o;for(o=new fe,s=0,r=e.Kc();r.Ob();){for(n=he(u(r.Pb(),17).a+s);n.a<t.f&&!Pun(t,n.a);)n=he(n.a+1),++s;if(n.a>=t.f)break;In(o.c,n)}return o}function Gyn(t,e){var n,r,s,o,h;for(o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),r=new rr(sr(ua(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),h=n.c.i.p,t.n[h]=t.n[h]-1}function Kyn(t){var e,n;for(n=new G(t.e.b);n.a<n.c.c.length;)e=u(et(n),30),q9n(t,e);ms(_i(fc(fc(new ln(null,new gn(t.e.b,16)),new rZ),new oZ),new cZ),new RUt(t))}function Hxt(t,e){return e?t.mj(e)?!1:t.i?t.i.nj(e):Lt(e,152)?(t.i=u(e,152),!0):(t.i=new YR,t.i.nj(e)):!1}function cfe(t,e,n){var r,s,o;return r=e.Lk(),o=e.md(),s=r.Jk()?Ib(t,3,r,null,o,$7(t,r,o,Lt(r,102)&&(u(r,19).Bb&po)!=0),!0):Ib(t,1,r,r.ik(),o,-1,!0),n?n.nj(s):n=s,n}function Wyn(t){if(t=su(t,!0),hn(uT,t)||hn("1",t))return Pn(),bT;if(hn(jlt,t)||hn("0",t))return Pn(),t2;throw at(new trt("Invalid boolean value: '"+t+"'"))}function Vxt(t,e,n){var r,s,o;for(s=t.vc().Kc();s.Ob();)if(r=u(s.Pb(),44),o=r.ld(),$t(e)===$t(o)||e!=null&&Ti(e,o))return n&&(r=new I$(r.ld(),r.md()),s.Qb()),r;return null}function Yyn(t){Ay();var e,n,r;t.B.Hc((Ml(),NK))&&(r=t.f.i,e=new tq(t.a.c),n=new C6,n.b=e.c-r.c,n.d=e.d-r.d,n.c=r.c+r.b-(e.c+e.b),n.a=r.d+r.a-(e.d+e.a),t.e.$f(n))}function ufe(t,e,n,r){var s,o,h;for(h=b.Math.min(n,xge(u(t.b,68),e,n,r)),o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),225),s!=e&&(h=b.Math.min(h,ufe(s,e,h,r)));return h}function Uxt(t){var e,n,r,s;for(s=Vt(V0,ue,199,t.b.c.length,0,2),r=new La(t.b,0);r.b<r.d.gc();)e=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),30)),n=r.b-1,s[n]=II(e.a);return s}function Gxt(t,e,n){var r,s,o;r=u(od(t.a,n),34),r!=null&&(o=u(od(t.b,r),67),Ky(o,n,!0)),s=u(od(t.b,e),67),s||(s=new Ki,Op(t.b,e,s)),hs(s,n,s.c.b,s.c),Op(t.a,n,e)}function Lot(t,e,n,r,s){var o,h,d,m;for(h=drn(wwt(Ovt(ymn(n)),r),Mvn(t,n,s)),m=Pp(t,n).Kc();m.Ob();)d=u(m.Pb(),12),e[d.p]&&(o=e[d.p].i,ge(h.d,new Oit(o,T5t(h,o))));H5t(h)}function Kxt(t,e){this.f=new _r,this.b=new _r,this.j=new _r,this.a=t,this.c=e,this.c>0&&Mhe(this,this.c-1,(ve(),Jn)),this.c<this.a.length-1&&Mhe(this,this.c+1,(ve(),Gn))}function Xyn(t,e){var n,r,s,o,h;for(o=new G(e.d);o.a<o.c.c.length;)for(s=u(et(o),105),h=u(tr(t.c,s),118).o,r=new I6(s.b);r.a<r.c.a.length;)n=u(GS(r),64),Y3t(s,n,h)}function Wxt(t){t.length>0&&t[0].length>0&&(this.c=Ie(Me(X(Pa(t[0][0]),(oe(),ZSt))))),this.a=Vt(nke,ue,2117,t.length,0,2),this.b=Vt(rke,ue,2118,t.length,0,2),this.d=new Cue}function Qyn(t){return t.c.length==0?!1:(vn(0,t.c.length),u(t.c[0],18)).c.i.k==(Un(),fa)?!0:t5(Wo(new ln(null,new gn(t,16)),new WJ),new YJ)}function lfe(t,e){var n,r,s,o,h,d,m;for(d=n3(e),o=e.f,m=e.g,h=b.Math.sqrt(o*o+m*m),s=0,r=new G(d);r.a<r.c.c.length;)n=u(et(r),27),s+=lfe(t,n);return b.Math.max(s,h)}function ka(){ka=V,d2=new gS(G_,0),Td=new gS("FREE",1),YT=new gS("FIXED_SIDE",2),zw=new gS("FIXED_ORDER",3),Y0=new gS("FIXED_RATIO",4),hu=new gS("FIXED_POS",5)}function Jyn(t,e){var n,r,s;if(n=e.qi(t.a),n){for(s=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),ff)),r=1;r<(il(),eOt).length;++r)if(hn(eOt[r],s))return r}return 0}function Zyn(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function t3n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function hfe(t){var e,n,r;for(r=new aw(ao,"{","}"),n=t.vc().Kc();n.Ob();)e=u(n.Pb(),44),Eg(r,mie(t,e.ld())+"="+mie(t,e.md()));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function e3n(t){for(var e,n,r,s;!WC(t.o);)n=u(K6(t.o),42),r=u(n.a,125),e=u(n.b,218),s=gH(e,r),e.e==r?(lz(s.g,e),r.e=s.e+e.a):(lz(s.b,e),r.e=s.e-e.a),ge(t.e.a,r)}function Yxt(t,e){var n,r,s;for(n=null,s=u(e.Kb(t),20).Kc();s.Ob();)if(r=u(s.Pb(),18),!n)n=r.c.i==t?r.d.i:r.c.i;else if((r.c.i==t?r.d.i:r.c.i)!=n)return!1;return!0}function ffe(t,e){var n,r,s,o,h;for(n=Dde(t,!1,e),s=new G(n);s.a<s.c.c.length;)r=u(et(s),132),r.d==0?(pst(r,null),bst(r,null)):(o=r.a,h=r.b,pst(r,h),bst(r,o))}function n3n(t){var e,n;return e=new Fs,ch(e,Bke),n=u(X(t,(oe(),lu)),21),n.Hc((Co(),DA))&&ch(e,zke),n.Hc(AT)&&ch(e,Rke),n.Hc(q5)&&ch(e,$ke),n.Hc(LT)&&ch(e,jke),e}function Xxt(t,e,n){var r,s,o,h,d;for(J2n(t),s=(t.k==null&&(t.k=Vt(Sht,ue,82,0,0,1)),t.k),o=0,h=s.length;o<h;++o)r=s[o],Xxt(r);d=t.f,d&&Xxt(d)}function r3n(t){var e,n,r,s;for(VTn(t),n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)e=u(dr(n),18),r=e.c.i==t,s=r?e.d:e.c,r?xa(e,null):Xa(e,null),Zt(e,(oe(),r_t),s),wxn(t,s.i)}function i3n(t,e,n,r){var s,o;switch(o=e.i,s=n[o.g][t.d[o.g]],o.g){case 1:s-=r+e.j.b,e.g.b=s;break;case 3:s+=r,e.g.b=s;break;case 4:s-=r+e.j.a,e.g.a=s;break;case 2:s+=r,e.g.a=s}}function s3n(t){var e,n,r;for(n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)if(e=u(ar(n),27),r=jO(e),!Mr(new rr(sr(r.a.Kc(),new z))))return e;return null}function zH(){zH=V,Q1t=new WM("OVERLAP_REMOVAL",0),W1t=new WM(J2e,1),J1t=new WM("ROTATION",2),Y1t=new WM("GRAPH_SIZE_CALCULATION",3),X1t=new WM("OUTGOING_EDGE_ANGLES",4)}function a3n(){var t;return oTe?u(N7((Eb(),yf),hT),2115):(t=u(Lt(nu((Eb(),yf),hT),569)?nu(yf,hT):new nde,569),oTe=!0,A9n(t),USn(t),kot(t),jo(yf,hT,t),t)}function Dot(t,e,n){var r,s;if(t.j==0)return n;if(s=u(koe(t,e,n),76),r=n.Lk(),!r.rk()||!t.a.am(r))throw at(new uc("Invalid entry feature '"+r.qk().zb+"."+r.xe()+"'"));return s}function o3n(t,e){var n,r,s,o,h,d,m,k;for(d=t.a,m=0,k=d.length;m<k;++m)for(h=d[m],r=h,s=0,o=r.length;s<o;++s)if(n=r[s],$t(e)===$t(n)||e!=null&&Ti(e,n))return!0;return!1}function c3n(t){var e,n,r;return $c(t,0)>=0?(n=_O(t,EV),r=mO(t,EV)):(e=Ab(t,1),n=_O(e,5e8),r=mO(e,5e8),r=Qa(Rf(r,1),sa(t,1))),T1(Rf(r,32),sa(n,So))}function dfe(t,e,n){var r,s;switch(r=(ur(e.b!=0),u(Oh(e,e.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=t.f;break;case 3:r.a=0;break;default:r.a=t.g}return s=Dr(e,0),kI(s,r),e}function gfe(t,e,n,r){var s,o,h,d,m;switch(m=t.b,o=e.d,h=o.j,d=sxt(h,m.d[h.g],n),s=ki(Oa(o.n),o.a),o.j.g){case 1:case 3:d.a+=s.a;break;case 2:case 4:d.b+=s.b}hs(r,d,r.c.b,r.c)}function u3n(t,e,n){var r,s,o,h;for(h=Xo(t.e,e,0),o=new W2t,o.b=n,r=new La(t.e,h);r.b<r.d.gc();)s=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),10)),s.p=n,ge(o.e,s),Kl(r);return o}function l3n(t,e,n,r){var s,o,h,d,m;for(s=null,o=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),m=h.i+h.g,t<h.j+h.f+r&&(s?n.i-m<n.i-o&&(s=h):s=h,o=s.i+s.g);return s?o+r:0}function h3n(t,e,n,r){var s,o,h,d,m;for(o=null,s=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),m=h.j+h.f,t<h.i+h.g+r&&(o?n.j-m<n.j-s&&(o=h):o=h,s=o.j+o.f);return o?s+r:0}function f3n(t){var e,n,r;for(e=!1,r=t.b.c.length,n=0;n<r;n++)t5t(u(Oe(t.b,n),443))?!e&&n+1<r&&t5t(u(Oe(t.b,n+1),443))&&(e=!0,u(Oe(t.b,n),443).a=!0):e=!1}function d3n(t,e,n,r,s){var o,h;for(o=0,h=0;h<s;h++)o=Qa(o,sf(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<n;h++)o=Qa(o,sa(e[h],So)),t[h]=qr(o),o=_m(o,32)}function g3n(t,e){F7();var n,r;for(r=(Xd(),NU),n=t;e>1;e>>=1)e&1&&(r=Z4(r,n)),n.d==1?n=Z4(n,n):n=new Dle(Q0e(n.a,n.d,Vt(Fr,ii,28,n.d<<1,15,1)));return r=Z4(r,n),r}function Qxt(){Qxt=V;var t,e,n,r;for(L9t=Vt(ma,No,28,25,15,1),D9t=Vt(ma,No,28,33,15,1),r=152587890625e-16,e=32;e>=0;e--)D9t[e]=r,r*=.5;for(n=1,t=24;t>=0;t--)L9t[t]=n,n*=.5}function p3n(t){var e,n;if(Ie(Me(ne(t,(De(),L3))))){for(n=new rr(sr(Og(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),74),Zm(e)&&Ie(Me(ne(e,Mw))))return!0}return!1}function pfe(t,e){var n,r,s;qs(t.f,e)&&(e.b=t,r=e.c,Xo(t.j,r,0)!=-1||ge(t.j,r),s=e.d,Xo(t.j,s,0)!=-1||ge(t.j,s),n=e.a.b,n.c.length!=0&&(!t.i&&(t.i=new Fle(t)),ypn(t.i,n)))}function b3n(t){var e,n,r,s,o;return n=t.c.d,r=n.j,s=t.d.d,o=s.j,r==o?n.p<s.p?0:1:hH(r)==o?0:C5t(r)==o?1:(e=t.b,Zu(e.b,hH(r))?0:1)}function dw(t){var e;this.d=new _r,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new Hte(t.e),this.a=t.a,t.f?this.g=t.f:this.g=(e=u(y1(GK),9),new _h(e,u(Ff(e,e.length),9),0))}function qH(t,e){var n,r,s,o,h,d;s=t,h=VS(s,"layoutOptions"),!h&&(h=VS(s,Ywe)),h&&(d=h,r=null,d&&(r=(o=cat(d,Vt(Pe,ue,2,0,6,1)),new crt(d,o))),r&&(n=new nQt(d,e),Fa(r,n)))}function Jo(t){if(Lt(t,207))return u(t,27);if(Lt(t,193))return ed(u(t,123));throw at(t?new hp("Only support nodes and ports."):new A6(ime))}function w3n(t,e,n,r){return(e>=0&&hn(t.substr(e,3),"GMT")||e>=0&&hn(t.substr(e,3),"UTC"))&&(n[0]=e+3),Lkt(t,n,r)}function m3n(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),72),s=n.n,s.a=o,t.i==(ve(),Hn)?s.b=h+t.j.b-n.o.b:s.b=h,ki(s,e),o+=n.o.a+t.e}function bfe(t,e,n){if(t.b)throw at(new Ro("The task is already done."));return t.p!=null?!1:(t.p=e,t.r=n,t.k&&(t.o=(pg(),Ja(Pc(Date.now()),Rp))),!0)}function Jxt(t){var e,n,r,s,o,h,d;return d=new _6,n=t.Pg(),s=n!=null,s&&ME(d,a0,t.Pg()),r=t.xe(),o=r!=null,o&&ME(d,pi,t.xe()),e=t.Og(),h=e!=null,h&&ME(d,"description",t.Og()),d}function wfe(t,e,n){var r,s,o;return o=t.q,t.q=e,t.Db&4&&!(t.Db&1)&&(s=new ha(t,1,9,o,e),n?n.nj(s):n=s),e?(r=e.c,r!=t.r&&(n=t.Yk(r,n))):t.r&&(n=t.Yk(null,n)),n}function v3n(t,e,n){var r,s,o,h,d;for(n=(d=e,gk(d,t.e,-1-t.c,n)),h=Ryt(t.a),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,t.a),n);return n}function y3n(t,e,n){var r,s,o,h,d;for(n=(d=e,nq(d,t.e,-1-t.c,n)),h=Ryt(t.a),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,t.a),n);return n}function x3n(t,e,n,r){var s,o,h;if(r==0)Xc(e,0,t,n,t.length-n);else for(h=32-r,t[t.length-1]=0,o=t.length-1;o>n;o--)t[o]|=e[o-n-1]>>>h,t[o-1]=e[o-n-1]<<r;for(s=0;s<n;s++)t[s]=0}function k3n(t){var e,n,r,s,o;for(e=0,n=0,o=t.Kc();o.Ob();)r=u(o.Pb(),117),e=b.Math.max(e,r.d.b),n=b.Math.max(n,r.d.c);for(s=t.Kc();s.Ob();)r=u(s.Pb(),117),r.d.b=e,r.d.c=n}function E3n(t){var e,n,r,s,o;for(n=0,e=0,o=t.Kc();o.Ob();)r=u(o.Pb(),117),n=b.Math.max(n,r.d.d),e=b.Math.max(e,r.d.a);for(s=t.Kc();s.Ob();)r=u(s.Pb(),117),r.d.d=n,r.d.a=e}function Mot(t,e,n,r,s){var o,h;o=u(nc(_i(e.Oc(),new uR),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),IO(o),h=u(iw(t.b,n,r),15),s==0?h.cd(0,o):h.Gc(o)}function T3n(t,e,n){n.Ug("Grow Tree",1),t.b=e.f,Ie(Me(X(e,(s7(),EA))))?(t.c=new Le,lre(t,null)):t.c=new Le,t.a=!1,jde(t,e.f),Zt(e,nCt,(Pn(),!!t.a)),n.Vg()}function Zxt(t){var e,n,r,s;for(e=null,s=new G(t.Rf());s.a<s.c.c.length;)r=u(et(s),187),n=new Ah(r.Lf().a,r.Lf().b,r.Mf().a,r.Mf().b),e?T_(e,n):e=n;return!e&&(e=new B6),e}function Iot(t,e,n,r){var s,o;return n==1?(!t.n&&(t.n=new Jt(Po,t,1,7)),vu(t.n,e,r)):(o=u(En((s=u(jn(t,16),29),s||t.ii()),n),69),o.wk().zk(t,Au(t),n-fr(t.ii()),e,r))}function Oot(t,e,n){var r,s,o,h,d;for(r=n.gc(),t._i(t.i+r),d=t.i-e,d>0&&Xc(t.g,e,t.g,e+r,d),h=n.Kc(),t.i+=r,s=0;s<r;++s)o=h.Pb(),kS(t,e,t.Zi(e,o)),t.Mi(e,o),t.Ni(),++e;return r!=0}function hd(t,e,n){var r;return e!=t.q?(t.q&&(n=nq(t.q,t,-10,n)),e&&(n=gk(e,t,-10,n)),n=wfe(t,e,n)):t.Db&4&&!(t.Db&1)&&(r=new ha(t,1,9,e,e),n?n.nj(r):n=r),n}function Not(t,e,n,r){return Lvt((n&Jd)==0,"flatMap does not support SUBSIZED characteristic"),Lvt((n&4)==0,"flatMap does not support SORTED characteristic"),Hr(t),Hr(e),new iie(t,e,n,r)}function C3n(t,e){Syt(e,"Cannot suppress a null exception."),wI(e!=t,"Exception can not suppress itself."),!t.i&&(t.k==null?t.k=lt(ut(Sht,1),ue,82,0,[e]):t.k[t.k.length]=e)}function S3n(t,e){var n;if(n=NQt(t.b.ag(),e.b.ag()),n!=0)return n;switch(t.b.ag().g){case 1:case 2:return jc(t.b.Nf(),e.b.Nf());case 3:case 4:return jc(e.b.Nf(),t.b.Nf())}return 0}function _3n(t){var e,n,r;for(r=t.e.c.length,t.a=G2(Fr,[ue,ii],[53,28],15,[r,r],2),n=new G(t.c);n.a<n.c.c.length;)e=u(et(n),289),t.a[e.c.a][e.d.a]+=u(X(e,(Vf(),jk)),17).a}function A3n(t,e){var n,r,s,o,h;if(t==null)return null;for(h=Vt(Yh,Zd,28,2*e,15,1),r=0,s=0;r<e;++r)n=t[r]>>4&15,o=t[r]&15,h[s++]=LIt[n],h[s++]=LIt[o];return af(h,0,h.length)}function Hu(t){var e,n;return t>=po?(e=cN+(t-po>>10&1023)&js,n=56320+(t-po&1023)&js,String.fromCharCode(e)+(""+String.fromCharCode(n))):String.fromCharCode(t&js)}function L3n(t,e){Ay();var n,r,s,o;return s=u(u(Ai(t.r,e),21),87),s.gc()>=2?(r=u(s.Kc().Pb(),117),n=t.u.Hc((wl(),yL)),o=t.u.Hc(n8),!r.a&&!n&&(s.gc()==2||o)):!1}function mfe(t,e,n,r,s){var o,h,d;for(o=i0e(t,e,n,r,s),d=!1;!o;)YH(t,s,!0),d=!0,o=i0e(t,e,n,r,s);d&&YH(t,s,!1),h=mat(s),h.c.length!=0&&(t.d&&t.d.Gg(h),mfe(t,s,n,r,h))}function HH(){HH=V,Gdt=new dS(r0,0),ZMt=new dS("DIRECTED",1),eIt=new dS("UNDIRECTED",2),QMt=new dS("ASSOCIATION",3),tIt=new dS("GENERALIZATION",4),JMt=new dS("DEPENDENCY",5)}function D3n(t,e){var n;if(!ed(t))throw at(new Ro(Pwe));switch(n=ed(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function M3n(t,e,n){var r,s,o;return r=e.Lk(),o=e.md(),s=r.Jk()?Ib(t,4,r,o,null,$7(t,r,o,Lt(r,102)&&(u(r,19).Bb&po)!=0),!0):Ib(t,r.tk()?2:1,r,o,r.ik(),-1,!0),n?n.nj(s):n=s,n}function D7(t,e){var n,r;for(Wn(e),r=t.b.c.length,ge(t.b,e);r>0;){if(n=r,r=(r-1)/2|0,t.a.Ne(Oe(t.b,r),e)<=0)return Mh(t.b,n,e),!0;Mh(t.b,n,Oe(t.b,r))}return Mh(t.b,r,e),!0}function t6t(t,e,n,r){var s,o;if(s=0,n)s=oH(t.a[n.g][e.g],r);else for(o=0;o<jU;o++)s=b.Math.max(s,oH(t.a[o][e.g],r));return e==(A1(),xu)&&t.b&&(s=b.Math.max(s,t.b.a)),s}function I3n(t,e){var n,r,s,o,h,d;return s=t.i,o=e.i,!s||!o||s.i!=o.i||s.i==(ve(),Jn)||s.i==(ve(),Gn)?!1:(h=s.g.a,n=h+s.j.a,d=o.g.a,r=d+o.j.a,h<=r&&n>=d)}function vfe(t){switch(t.g){case 0:return new Stt;case 1:return new _tt;default:throw at(new zn("No implementation is available for the width approximator "+(t.f!=null?t.f:""+t.g)))}}function e6t(t,e,n,r){var s;if(s=!1,ba(r)&&(s=!0,ME(e,n,Gr(r))),s||Ty(r)&&(s=!0,e6t(t,e,n,r)),s||Lt(r,242)&&(s=!0,Q2(e,n,u(r,242))),!s)throw at(new Znt(LTt))}function O3n(t,e){var n,r,s;if(n=e.qi(t.a),n&&(s=L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),lf),s!=null)){for(r=1;r<(il(),ZIt).length;++r)if(hn(ZIt[r],s))return r}return 0}function N3n(t,e){var n,r,s;if(n=e.qi(t.a),n&&(s=L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),lf),s!=null)){for(r=1;r<(il(),tOt).length;++r)if(hn(tOt[r],s))return r}return 0}function yfe(t,e){var n,r,s,o;if(Wn(e),o=t.a.gc(),o<e.gc())for(n=t.a.ec().Kc();n.Ob();)r=n.Pb(),e.Hc(r)&&n.Qb();else for(s=e.Kc();s.Ob();)r=s.Pb(),t.a.Bc(r)!=null;return o!=t.a.gc()}function xfe(t){var e,n;switch(n=Oa(dc(lt(ut(la,1),ue,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function P3n(t){var e;for(e=(ok(),u(dr(new rr(sr(ua(t).a.Kc(),new z))),18).c.i);e.k==(Un(),fa);)Zt(e,(oe(),nP),(Pn(),!0)),e=u(dr(new rr(sr(ua(e).a.Kc(),new z))),18).c.i}function Pot(t,e,n,r){var s,o,h,d;for(d=c_(e,r),h=d.Kc();h.Ob();)s=u(h.Pb(),12),t.d[s.p]=t.d[s.p]+t.c[n.p];for(d=c_(n,r),o=d.Kc();o.Ob();)s=u(o.Pb(),12),t.d[s.p]=t.d[s.p]-t.c[e.p]}function n6t(t,e,n){var r,s;for(s=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));s.e!=s.i.gc();)r=u(ar(s),27),Ch(r,r.i+e,r.j+n);Fa((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b),new UXt(e,n))}function F3n(t,e,n,r){var s,o;for(o=e,s=o.d==null||t.a.Ne(n.d,o.d)>0?1:0;o.a[s]!=n;)o=o.a[s],s=t.a.Ne(n.d,o.d)>0?1:0;o.a[s]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function B3n(t){var e,n,r,s;for(e=new fe,n=Vt(Fl,$0,28,t.a.c.length,16,1),Eyt(n,n.length),s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),125),n[r.d]||(In(e.c,r),zle(t,r,n));return e}function kfe(t,e){var n,r,s,o,h;for(s=e==1?oft:aft,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),88),h=u(Ai(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),42),zu(t.b.b,o.b),zu(t.b.a,u(o.b,86).d)}function R3n(t,e){var n;e.Ug("Hierarchical port position processing",1),n=t.b,n.c.length>0&&K0e((vn(0,n.c.length),u(n.c[0],30)),t),n.c.length>1&&K0e(u(Oe(n,n.c.length-1),30),t),e.Vg()}function j3n(t){wl();var e,n;return e=Hi(Hg,lt(ut(OK,1),te,279,0,[g2])),!(tO(iq(e,t))>1||(n=Hi(yL,lt(ut(OK,1),te,279,0,[vL,n8])),tO(iq(n,t))>1))}function r6t(t,e){var n;n=nu((Eb(),yf),t),Lt(n,507)?jo(yf,t,new fQt(this,e)):jo(yf,t,this),Fot(this,e),e==(bE(),zIt)?(this.wb=u(this,2038),u(e,2040)):this.wb=(Lb(),Fn)}function $3n(t){var e,n,r;if(t==null)return null;for(e=null,n=0;n<TL.length;++n)try{return WYt(TL[n],t)}catch(s){if(s=es(s),Lt(s,33))r=s,e=r;else throw at(s)}throw at(new _q(e))}function Efe(){Efe=V,rye=lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),iye=lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Tfe(t){var e,n,r;e=hn(typeof e,but)?null:new qa,e&&(xE(),n=(r=900,r>=Rp?"error":r>=900?"warn":r>=800?"info":"log"),Oee(n,t.a),t.b&&ikt(e,n,t.b,"Exception: ",!0))}function X(t,e){var n,r;return r=(!t.q&&(t.q=new _r),tr(t.q,e)),r??(n=e.Sg(),Lt(n,4)&&(n==null?(!t.q&&(t.q=new _r),rk(t.q,e)):(!t.q&&(t.q=new _r),hi(t.q,e,n))),n)}function Ua(){Ua=V,Wf=new qM("P1_CYCLE_BREAKING",0),H0=new qM("P2_LAYERING",1),Qc=new qM("P3_NODE_ORDERING",2),cu=new qM("P4_NODE_PLACEMENT",3),Zo=new qM("P5_EDGE_ROUTING",4)}function z3n(t,e){YS();var n;if(t.c==e.c){if(t.b==e.b||Wgn(t.b,e.b)){if(n=vin(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return jc(t.b.g,e.b.g)}else return Bi(t.c,e.c)}function Cfe(t,e){var n,r,s;if(s6t(t,e))return!0;for(r=new G(e);r.a<r.c.c.length;)if(n=u(et(r),27),s=rfe(n),sV(t,n,s)||_ue(t,n)-t.g<=t.a)return!0;return!1}function LO(){LO=V,EK=(rct(),WDt),Tdt=qEe,Edt=zEe,zDt=REe,kdt=$Ee,$Dt=new xm(8),MEe=new _a((ai(),Yp),$Dt),IEe=new _a($w,8),OEe=GDt,RDt=NEe,jDt=PEe,DEe=new _a(SP,(Pn(),!1))}function VH(){VH=V,hMt=new xm(15),s7e=new _a((ai(),Yp),hMt),a7e=new _a($w,15),fMt=new _a(DP,he(0)),cMt=f7e,r7e=jw,i7e=l2,oMt=new _a(sx,pwe),uMt=AP,lMt=lx,Adt=l7e,n7e=CP}function O0(t){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)throw at(new zn(Jlt));return Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))}function Sfe(t){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)throw at(new zn(Jlt));return iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))}function _fe(t){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)throw at(new zn(Jlt));return iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))}function qb(t){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)throw at(new zn(Jlt));return Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))}function i6t(t,e,n){var r,s,o;if(++t.j,s=t.Ej(),e>=s||e<0)throw at(new Bo(Zlt+e+Ew+s));if(n>=s||n<0)throw at(new Bo(tht+n+Ew+s));return e!=n?r=(o=t.Cj(n),t.qj(e,o),o):r=t.xj(n),r}function Afe(t){var e,n,r;if(r=t,t)for(e=0,n=t.Eh();n;n=n.Eh()){if(++e>uut)return Afe(n);if(r=n,n==t)throw at(new Ro("There is a cycle in the containment hierarchy of "+t))}return r}function Hb(t){var e,n,r;for(r=new aw(ao,"[","]"),n=t.Kc();n.Ob();)e=n.Pb(),Eg(r,$t(e)===$t(t)?"(this Collection)":e==null?Vu:rc(e));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function s6t(t,e){var n,r;if(r=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?r=r|sV(t,u(e.Xb(n),27),u(e.Xb(n+1),27)):r=r|sV(t,u(e.Xb(n),27),u(e.Xb(0),27));return r}function Lfe(t,e){var n;e!=t.a?(n=null,t.a&&(n=u(t.a,54).Th(t,4,F1,n)),e&&(n=u(e,54).Rh(t,4,F1,n)),n=b5t(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,1,e,e))}function a6t(t,e){var n;e!=t.e?(t.e&&wse(Ryt(t.e),t),e&&(!e.b&&(e.b=new s$(new Gnt)),_Zt(e.b,t)),n=Qvn(t,e,null),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,4,e,e))}function q3n(t,e){var n;n=e.o,bg(t.f)?(t.j.a=b.Math.max(t.j.a,n.a),t.j.b+=n.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=n.a,t.j.b=b.Math.max(t.j.b,n.b),t.d.c.length>1&&(t.j.a+=t.e))}function Vb(){Vb=V,$4e=lt(ut(bo,1),qc,64,0,[(ve(),Hn),Jn,Er]),j4e=lt(ut(bo,1),qc,64,0,[Jn,Er,Gn]),z4e=lt(ut(bo,1),qc,64,0,[Er,Gn,Hn]),q4e=lt(ut(bo,1),qc,64,0,[Gn,Hn,Jn])}function H3n(t,e,n,r){var s,o,h,d,m,k,T;if(h=t.c.d,d=t.d.d,h.j!=d.j)for(T=t.b,s=h.j,m=null;s!=d.j;)m=e==0?hH(s):C5t(s),o=sxt(s,T.d[s.g],n),k=sxt(m,T.d[m.g],n),Zr(r,ki(o,k)),s=m}function V3n(t,e,n,r){var s,o,h,d,m;return h=Ihe(t.a,e,n),d=u(h.a,17).a,o=u(h.b,17).a,r&&(m=u(X(e,(oe(),ml)),10),s=u(X(n,ml),10),m&&s&&(vie(t.b,m,s),d+=t.b.i,o+=t.b.e)),d>o}function Dfe(t){var e,n,r,s,o,h,d,m,k;for(this.a=Zle(t),this.b=new fe,n=t,r=0,s=n.length;r<s;++r)for(e=n[r],o=new fe,ge(this.b,o),d=e,m=0,k=d.length;m<k;++m)h=d[m],ge(o,new fl(h.j))}function U3n(t,e,n){var r,s,o;return o=0,r=n[e],e<n.length-1&&(s=n[e+1],t.b[e]?(o=qSn(t.d,r,s),o+=Qit(t.a,r,(ve(),Jn)),o+=Qit(t.a,s,Gn)):o=E0n(t.a,r,s)),t.c[e]&&(o+=Wdn(t.a,r)),o}function G3n(t,e,n,r,s){var o,h,d,m;for(m=null,d=new G(r);d.a<d.c.c.length;)if(h=u(et(d),452),h!=n&&Xo(h.e,s,0)!=-1){m=h;break}o=Dst(s),Xa(o,n.b),xa(o,m.b),dn(t.a,s,new wz(o,e,n.f))}function K3n(t){var e,n,r,s;if(q4(u(X(t.b,(De(),ph)),88)))return 0;for(e=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),10),n.k==(Un(),xs)&&(s=n.o.a,e=b.Math.max(e,s));return e}function Mfe(t){for(;t.g.c!=0&&t.d.c!=0;)hit(t.g).c>hit(t.d).c?(t.i+=t.g.c,Qat(t.d)):hit(t.d).c>hit(t.g).c?(t.e+=t.d.c,Qat(t.g)):(t.i+=zte(t.g),t.e+=zte(t.d),Qat(t.g),Qat(t.d))}function W3n(t,e,n){var r,s,o,h;for(o=e.q,h=e.r,new J2((C1(),o2),e,o,1),new J2(o2,o,h,1),s=new G(n);s.a<s.c.c.length;)r=u(et(s),118),r!=o&&r!=e&&r!=h&&(Hkt(t.a,r,e),Hkt(t.a,r,h))}function Ife(t,e,n,r){t.a.d=b.Math.min(e,n),t.a.a=b.Math.max(e,r)-t.a.d,e<n?(t.b=.5*(e+n),t.g=klt*t.b+.9*e,t.f=klt*t.b+.9*n):(t.b=.5*(e+r),t.g=klt*t.b+.9*r,t.f=klt*t.b+.9*e)}function Y3n(t){var e,n,r,s;if(t.b!=0){for(e=new Ki,s=Dr(t,0);s.b!=s.d.c;)r=u(Ar(s),39),Ma(e,wat(r)),n=r.e,n.a=u(X(r,(ji(),pP)),17).a,n.b=u(X(r,bP),17).a;return e}return new Ki}function X3n(t){switch(u(X(t,(De(),Iu)),171).g){case 1:Zt(t,Iu,(Rh(),NA));break;case 2:Zt(t,Iu,(Rh(),S3));break;case 3:Zt(t,Iu,(Rh(),OA));break;case 4:Zt(t,Iu,(Rh(),s2))}}function Q3n(t,e,n){var r;n.Ug("Self-Loop routing",1),r=C2n(e),tz(X(e,(kq(),oL))),ms(Wo(_i(_i(fc(new ln(null,new gn(e.b,16)),new VQ),new j8),new t6),new eC),new oXt(t,r)),n.Vg()}function M7(){M7=V,AA=new lS(r0,0),zSt=new lS(_k,1),VSt=new lS(Ak,2),HSt=new lS("LEFT_RIGHT_CONSTRAINT_LOCKING",3),qSt=new lS("LEFT_RIGHT_CONNECTION_LOCKING",4),$St=new lS(L2e,5)}function Ofe(t,e,n){var r,s,o,h,d,m,k;d=n.a/2,o=n.b/2,r=b.Math.abs(e.a-t.a),s=b.Math.abs(e.b-t.b),m=1,k=1,r>d&&(m=d/r),s>o&&(k=o/s),h=b.Math.min(m,k),t.a+=h*(e.a-t.a),t.b+=h*(e.b-t.b)}function J3n(t,e,n,r,s){var o,h;for(h=!1,o=u(Oe(n.b,0),27);_7n(t,e,o,r,s)&&(h=!0,Ayn(n,o),n.b.c.length!=0);)o=u(Oe(n.b,0),27);return n.b.c.length==0&&CO(n.j,n),h&&PH(e.q),h}function Z3n(t,e){w5();var n,r,s,o;if(e.b<2)return!1;for(o=Dr(e,0),n=u(Ar(o),8),r=n;o.b!=o.d.c;){if(s=u(Ar(o),8),Jot(t,r,s))return!0;r=s}return!!Jot(t,r,n)}function o6t(t,e,n,r){var s,o;return n==0?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),pz(t.o,e,r)):(o=u(En((s=u(jn(t,16),29),s||t.ii()),n),69),o.wk().Ak(t,Au(t),n-fr(t.ii()),e,r))}function Fot(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=u(t.sb,54).Th(t,1,EL,n)),e&&(n=u(e,54).Rh(t,1,EL,n)),n=v5t(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,4,e,e))}function t4n(t,e){var n,r,s,o;if(e)s=_g(e,"x"),n=new TGt(t),XE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new CGt(t),JE(r.a,(Wn(o),o));else throw at(new Rd("All edge sections need an end point."))}function e4n(t,e){var n,r,s,o;if(e)s=_g(e,"x"),n=new xGt(t),QE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new kGt(t),ZE(r.a,(Wn(o),o));else throw at(new Rd("All edge sections need a start point."))}function n4n(t,e){var n,r,s,o,h,d,m;for(r=aue(t),o=0,d=r.length;o<d;++o)Tfe(e);for(m=!wd&&t.e?wd?null:t.d:null;m;){for(n=aue(m),s=0,h=n.length;s<h;++s)Tfe(e);m=!wd&&m.e?wd?null:m.d:null}}function Nfe(t,e){var n,r;r=u(X(e,(De(),bs)),101),Zt(e,(oe(),i_t),r),n=e.e,n&&(ms(new ln(null,new gn(n.a,16)),new lp(t)),ms(fc(new ln(null,new gn(n.b,16)),new p4),new $C(t)))}function Un(){Un=V,xs=new aS("NORMAL",0),fa=new aS("LONG_EDGE",1),Ms=new aS("EXTERNAL_PORT",2),uu=new aS("NORTH_SOUTH_PORT",3),Vc=new aS("LABEL",4),md=new aS("BREAKING_POINT",5)}function r4n(t){var e,n,r,s;if(e=!1,qi(t,(oe(),MA)))for(n=u(X(t,MA),85),s=new G(t.j);s.a<s.c.c.length;)r=u(et(s),12),f6n(r)&&(e||(C5n(Pa(t)),e=!0),mwn(u(n.xc(r),314)))}function i4n(t){var e,n,r,s,o,h,d,m,k;return k=Jxt(t),n=t.e,o=n!=null,o&&ME(k,fU,t.e),d=t.k,h=!!d,h&&ME(k,"type",cit(t.k)),r=NM(t.j),s=!r,s&&(m=new cp,_1(k,Qlt,m),e=new UGt(m),Fa(t.j,e)),k}function s4n(t){var e,n,r,s;for(s=Db((oh(t.gc(),"size"),new I4),123),r=!0,n=K2(t).Kc();n.Ob();)e=u(n.Pb(),44),r||(s.a+=ao),r=!1,tu(Db(tu(s,e.ld()),61),e.md());return(s.a+="}",s).a}function Pfe(t,e){var n,r,s;return e&=63,e<22?(n=t.l<<e,r=t.m<<e|t.l>>22-e,s=t.h<<e|t.m>>22-e):e<44?(n=0,r=t.l<<e-22,s=t.m<<e-22|t.l>>44-e):(n=0,r=0,s=t.l<<e-44),Eu(n&Il,r&Il,s&Fg)}function Jy(t){if(u9t==null&&(u9t=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!u9t.test(t))throw at(new jd(av+t+'"'));return parseFloat(t)}function Ffe(t,e){var n,r,s,o,h;for(s=e==1?oft:aft,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),88),h=u(Ai(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),42),ge(t.b.b,u(o.b,86)),ge(t.b.a,u(o.b,86).d)}function a4n(t,e){var n,r,s,o;for(o=e.b.j,t.a=Vt(Fr,ii,28,o.c.length,15,1),s=0,r=0;r<o.c.length;r++)n=(vn(r,o.c.length),u(o.c[r],12)),n.e.c.length==0&&n.g.c.length==0?s+=1:s+=3,t.a[r]=s}function UH(){UH=V,Nft=new cS("ALWAYS_UP",0),Oft=new cS("ALWAYS_DOWN",1),Fft=new cS("DIRECTION_UP",2),Pft=new cS("DIRECTION_DOWN",3),Bft=new cS("SMART_UP",4),kG=new cS("SMART_DOWN",5)}function o4n(t,e){if(t<0||e<0)throw at(new zn("k and n must be positive"));if(e>t)throw at(new zn("k must be smaller than n"));return e==0||e==t?1:t==0?0:Nxt(t)/(Nxt(e)*Nxt(t-e))}function c6t(t,e){var n,r,s,o;for(n=new Tmt(t);n.g==null&&!n.c?n3t(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)if(o=u(XH(n),58),Lt(o,167))for(r=u(o,167),s=0;s<e.length;s++)e[s].Kg(r)}function Bot(t){var e;return t.Db&64?zat(t):(e=new ef(zat(t)),e.a+=" (height: ",O4(e,t.f),e.a+=", width: ",O4(e,t.g),e.a+=", x: ",O4(e,t.i),e.a+=", y: ",O4(e,t.j),e.a+=")",e.a)}function c4n(t){var e,n,r,s,o,h,d;for(e=new kp,r=t,s=0,o=r.length;s<o;++s)if(n=r[s],h=Hr(n.ld()),d=Op(e,h,Hr(n.md())),d!=null)throw at(new zn("duplicate key: "+h));this.b=(mn(),new Kn(e))}function u4n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,String.fromCharCode(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function u6t(){u6t=V,uCt=(Iq(),UU),v3e=new un(MV,uCt),he(1),m3e=new un(V8t,he(300)),he(0),k3e=new un(U8t,he(0)),E3e=new un(Out,n0),y3e=new un(Nut,5),T3e=UU,x3e=Zht}function l4n(t,e){var n;if(e!=null&&!t.c.Hk().fk(e))throw n=Lt(e,58)?u(e,58).Dh().zb:V2(Wl(e)),at(new fE(Jb+t.c.xe()+"'s type '"+t.c.Hk().xe()+"' does not permit a value of type '"+n+"'"))}function h4n(t,e,n){var r,s;for(s=new La(t.b,0);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),72)),$t(X(r,(oe(),n_t)))===$t(e)&&(p6t(r.n,Pa(t.c.i),n),Kl(s),ge(e.b,r))}function Bfe(t){var e,n;return n=b.Math.sqrt((t.k==null&&(t.k=N4t(t,new FJ)),Rt(t.k)/(t.b*(t.g==null&&(t.g=nce(t,new wR)),Rt(t.g))))),e=qr(Pc(b.Math.round(n))),e=b.Math.min(e,t.f),e}function f4n(){var t,e,n;for(e=0,t=0;t<1;t++){if(n=B6t((qn(t,1),"X".charCodeAt(t))),n==0)throw at(new Yr((qn(t,1+1),"Unknown Option: "+"X".substr(t))));e|=n}return e}function Yc(){rl(),bvt.call(this),this.j=(ve(),bc),this.a=new Sa,new qnt,this.f=(oh(2,c3),new wu(2)),this.e=(oh(4,c3),new wu(4)),this.g=(oh(4,c3),new wu(4)),this.b=new uXt(this.e,this.g)}function d4n(t,e){var n,r;return!(Ie(Me(X(e,(oe(),vd))))||(r=e.c.i,t==(Rh(),OA)&&r.k==(Un(),Vc))||(n=u(X(r,(De(),Iu)),171),n==s2))}function g4n(t,e){var n,r;return!(Ie(Me(X(e,(oe(),vd))))||(r=e.d.i,t==(Rh(),NA)&&r.k==(Un(),Vc))||(n=u(X(r,(De(),Iu)),171),n==S3))}function p4n(t,e){var n,r,s,o,h,d,m;for(h=t.d,m=t.o,d=new Ah(-h.b,-h.d,h.b+m.a+h.c,h.d+m.b+h.a),r=e,s=0,o=r.length;s<o;++s)n=r[s],n&&T_(d,n.i);h.b=-d.c,h.d=-d.d,h.c=d.b-h.b-m.a,h.a=d.a-h.d-m.b}function b4n(t,e){if(e.a)switch(u(X(e.b,(oe(),i_t)),101).g){case 0:case 1:Nyn(e);case 2:ms(new ln(null,new gn(e.d,16)),new GB),mxn(t.a,e)}else ms(new ln(null,new gn(e.d,16)),new GB)}function DO(){DO=V,NDt=new XM("CENTER_DISTANCE",0),ydt=new XM("CIRCLE_UNDERLAP",1),FDt=new XM("RECTANGLE_UNDERLAP",2),xdt=new XM("INVERTED_OVERLAP",3),PDt=new XM("MINIMUM_ROOT_DISTANCE",4)}function w4n(t){hkt();var e,n,r,s,o;if(t==null)return null;for(r=t.length,s=r*2,e=Vt(Yh,Zd,28,s,15,1),n=0;n<r;n++)o=t[n],o<0&&(o+=256),e[n*2]=tW[o>>4],e[n*2+1]=tW[o&15];return af(e,0,e.length)}function m4n(t){Gz();var e,n,r;switch(r=t.c.length,r){case 0:return Rve;case 1:return e=u(m1e(new G(t)),44),hun(e.ld(),e.md());default:return n=u(ld(t,Vt(Sw,xV,44,t.c.length,0,1)),173),new owt(n)}}function v4n(t){var e,n,r,s,o,h;for(e=new K4,n=new K4,Ob(e,t),Ob(n,t);n.b!=n.c;)for(s=u(K6(n),36),h=new G(s.a);h.a<h.c.c.length;)o=u(et(h),10),o.e&&(r=o.e,Ob(e,r),Ob(n,r));return e}function Pp(t,e){switch(e.g){case 1:return H6(t.j,(rl(),NCt));case 2:return H6(t.j,(rl(),ICt));case 3:return H6(t.j,(rl(),FCt));case 4:return H6(t.j,(rl(),BCt));default:return mn(),mn(),co}}function y4n(t,e){var n,r,s;n=iun(e,t.e),r=u(tr(t.g.f,n),17).a,s=t.a.c.length-1,t.a.c.length!=0&&u(Oe(t.a,s),293).c==r?(++u(Oe(t.a,s),293).a,++u(Oe(t.a,s),293).b):ge(t.a,new HJt(r))}function x4n(t,e,n){var r,s;return r=B8n(t,e,n),r!=0?r:qi(e,(oe(),Pi))&&qi(n,Pi)?(s=jc(u(X(e,Pi),17).a,u(X(n,Pi),17).a),s<0?VO(t,e,n):s>0&&VO(t,n,e),s):oxn(t,e,n)}function Ub(){Ub=V,H8e=(ai(),Jk),V8e=$w,j8e=jw,$8e=lx,z8e=l2,R8e=ux,GLt=LP,q8e=j3,tdt=(xkt(),_8e),edt=A8e,WLt=I8e,ndt=P8e,YLt=O8e,XLt=N8e,KLt=L8e,dK=D8e,gK=M8e,wP=F8e,QLt=B8e,ULt=S8e}function Rfe(t,e){var n,r,s,o,h;if(t.e<=e||Hfn(t,t.g,e))return t.g;for(o=t.r,r=t.g,h=t.r,s=(o-r)/2+r;r+1<o;)n=B_(t,s,!1),n.b<=s&&n.a<=e?(h=s,o=s):r=s,s=(o-r)/2+r;return h}function k4n(t,e,n){var r;r=a0e(t,e,!0),bfe(n,"Recursive Graph Layout",r),c6t(e,lt(ut(nMt,1),Ln,536,0,[new dnt])),ad(e,(ai(),fx))||c6t(e,lt(ut(nMt,1),Ln,536,0,[new FR])),c8t(t,e,null,n),jfe(n)}function jfe(t){var e;if(t.p==null)throw at(new Ro("The task has not begun yet."));t.b||(t.k&&(e=(pg(),Ja(Pc(Date.now()),Rp)),t.q=tw(sf(e,t.o))*1e-9),t.c<t.r&&x4t(t,t.r-t.c),t.b=!0)}function MO(t){var e,n,r;for(r=new Qu,Zr(r,new ae(t.j,t.k)),n=new Zn((!t.a&&(t.a=new Ps(vh,t,5)),t.a));n.e!=n.i.gc();)e=u(ar(n),377),Zr(r,new ae(e.a,e.b));return Zr(r,new ae(t.b,t.c)),r}function E4n(t,e,n,r,s){var o,h,d,m,k,T;if(s)for(m=s.a.length,o=new W2(m),T=(o.b-o.a)*o.c<0?(Tb(),y2):new _b(o);T.Ob();)k=u(T.Pb(),17),d=qE(s,k.a),h=new lne(t,e,n,r),UEn(h.a,h.b,h.c,h.d,d)}function l6t(t,e){var n;if($t(t)===$t(e))return!0;if(Lt(e,21)){n=u(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(r){if(r=es(r),Lt(r,169)||Lt(r,212))return!1;throw at(r)}}return!1}function Rot(t,e,n,r,s,o){switch(this.c=t,e.g){case 2:if(t.a.Ne(s,n)<0)throw at(new zn(k8t+s+Lbe+n));break;case 1:t.a.Ne(s,s);break;case 3:t.a.Ne(n,n)}this.f=e,this.b=n,this.a=r,this.e=s,this.d=o}function h6t(t,e){var n;ge(t.d,e),n=e.Mf(),t.c?(t.e.a=b.Math.max(t.e.a,n.a),t.e.b+=n.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=n.a,t.e.b=b.Math.max(t.e.b,n.b),t.d.c.length>1&&(t.e.a+=t.a))}function T4n(t){var e,n,r,s;switch(s=t.i,e=s.b,r=s.j,n=s.g,s.a.g){case 0:n.a=(t.g.b.o.a-r.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-r.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function C4n(t,e,n){var r,s,o;for(s=new rr(sr(Dg(n).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!go(r)&&!(!go(r)&&r.c.i.c==r.d.i.c)&&(o=Lde(t,r,n,new IKt),o.c.length>1&&In(e.c,o))}function $fe(t,e,n,r,s){if(r<e||s<n)throw at(new zn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>r&&(t.a=r),t.b<n?t.b=n:t.b>s&&(t.b=s),t}function S4n(t){if(Lt(t,143))return rkn(u(t,143));if(Lt(t,233))return K2n(u(t,233));if(Lt(t,23))return i4n(u(t,23));throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[t])))))}function _4n(t,e,n,r,s){var o,h,d;for(o=!0,h=0;h<r;h++)o=o&n[h]==0;if(s==0)Xc(n,r,t,0,e),h=e;else{for(d=32-s,o=o&n[h]<<d==0,h=0;h<e-1;h++)t[h]=n[h+r]>>>s|n[h+r+1]<<d;t[h]=n[h+r]>>>s,++h}return o}function f6t(t,e,n,r){var s,o,h;if(e.k==(Un(),fa)){for(o=new rr(sr(ua(e).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),h=s.c.i.k,h==fa&&t.c.a[s.c.i.c.p]==r&&t.c.a[e.c.p]==n)return!0}return!1}function A4n(t,e){var n,r,s,o;return e&=63,n=t.h&Fg,e<22?(o=n>>>e,s=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=0,s=n>>>e-22,r=t.m>>e-22|t.h<<44-e):(o=0,s=0,r=n>>>e-44),Eu(r&Il,s&Il,o&Fg)}function zfe(t,e,n,r){var s;this.b=r,this.e=t==(Hm(),UA),s=e[n],this.d=G2(Fl,[ue,$0],[183,28],16,[s.length,s.length],2),this.a=G2(Fr,[ue,ii],[53,28],15,[s.length,s.length],2),this.c=new Kxt(e,n)}function L4n(t){var e,n,r;for(t.k=new s3t((ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,t.j.c.length),r=new G(t.j);r.a<r.c.c.length;)n=u(et(r),113),e=n.d.j,dn(t.k,e,n);t.e=H6n(U6(t.k))}function qfe(t,e){var n,r,s;qs(t.d,e),n=new AZ,hi(t.c,e,n),n.f=Fat(e.c),n.a=Fat(e.d),n.d=(D_(),s=e.c.i.k,s==(Un(),xs)||s==md),n.e=(r=e.d.i.k,r==xs||r==md),n.b=e.c.j==(ve(),Gn),n.c=e.d.j==Jn}function D4n(t){var e,n,r,s,o;for(o=xi,s=xi,r=new G(s5(t));r.a<r.c.c.length;)n=u(et(r),218),e=n.e.e-n.d.e,n.e==t&&e<s?s=e:e<o&&(o=e);return s==xi&&(s=-1),o==xi&&(o=-1),new Ws(he(s),he(o))}function M4n(t,e){var n,r,s;return s=S5,r=(m_(),HN),s=b.Math.abs(t.b),n=b.Math.abs(e.f-t.b),n<s&&(s=n,r=qU),n=b.Math.abs(t.a),n<s&&(s=n,r=VN),n=b.Math.abs(e.g-t.a),n<s&&(s=n,r=zU),r}function I4n(t,e){var n,r,s,o;for(n=e.a.o.a,o=new xp(Pa(e.a).b,e.c,e.f+1),s=new gr(o);s.b<s.d.gc();)if(r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),30)),r.c.a>=n)return I7(t,e,r.p),!0;return!1}function d5(t,e,n,r){var s,o,h,d,m,k;for(h=n.length,o=0,s=-1,k=Nae((qn(e,t.length+1),t.substr(e)),(bit(),_9t)),d=0;d<h;++d)m=n[d].length,m>o&&nln(k,Nae(n[d],_9t))&&(s=d,o=m);return s>=0&&(r[0]=e+o),s}function Hfe(t){var e;return t.Db&64?Bot(t):(e=new eh(vTt),!t.a||ni(ni((e.a+=' "',e),t.a),'"'),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function Vfe(t,e,n){var r,s,o,h,d;for(d=Lu(t.e.Dh(),e),s=u(t.g,124),r=0,h=0;h<t.i;++h)if(o=s[h],d.am(o.Lk())){if(r==n)return r3(t,h),vo(),u(e,69).xk()?o:o.md();++r}throw at(new Bo(uA+n+Ew+r))}function Ufe(t){var e,n,r;if(e=t.c,e==2||e==7||e==1)return yi(),yi(),OL;for(r=i8t(t),n=null;(e=t.c)!=2&&e!=7&&e!=1;)n||(n=(yi(),yi(),new yS(1)),gw(n,r),r=n),gw(n,i8t(t));return r}function O4n(t,e,n){return t<0||t>n?x6t(t,n,"start index"):e<0||e>n?x6t(e,n,"end index"):M_("end index (%s) must not be less than start index (%s)",lt(ut(aa,1),Ln,1,5,[he(e),he(t)]))}function Gfe(t,e){var n,r,s,o;for(r=0,s=t.length;r<s;r++){o=t[r];try{o[1]?o[0].Um()&&(e=Run(e,o)):o[0].Um()}catch(h){if(h=es(h),Lt(h,82))n=h,d$(),Shn(Lt(n,485)?u(n,485).ke():n);else throw at(h)}}return e}function I7(t,e,n){var r,s,o;for(n!=e.c+e.b.gc()&&Z7n(e.a,ppn(e,n-e.c)),o=e.a.c.p,t.a[o]=b.Math.max(t.a[o],e.a.o.a),s=u(X(e.a,(oe(),IA)),15).Kc();s.Ob();)r=u(s.Pb(),72),Zt(r,bft,(Pn(),!0))}function N4n(t,e){var n,r,s;s=hkn(e),Zt(e,(oe(),Kft),s),s&&(r=xi,Eo(t.f,s)&&(r=u(Ko(Eo(t.f,s)),17).a),n=u(Oe(e.g,0),18),Ie(Me(X(n,vd)))||hi(t,s,he(b.Math.min(u(X(n,Pi),17).a,r))))}function Kfe(t,e,n){var r,s,o,h,d;for(e.p=-1,d=Ym(e,(To(),ku)).Kc();d.Ob();)for(h=u(d.Pb(),12),s=new G(h.g);s.a<s.c.c.length;)r=u(et(s),18),o=r.d.i,e!=o&&(o.p<0?n.Fc(r):o.p>0&&Kfe(t,o,n));e.p=0}function He(t){var e;this.c=new Ki,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=(e=u(y1(G0),9),new _h(e,u(Ff(e,e.length),9),0)),this.g=t.f}function P4n(t){var e,n,r,s;for(e=Db(ni(new eh("Predicates."),"and"),40),n=!0,s=new gr(t);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),n||(e.a+=","),e.a+=""+r,n=!1;return(e.a+=")",e).a}function Wfe(t,e,n){var r,s,o;if(!(n<=e+2))for(s=(n-e)/2|0,r=0;r<s;++r)o=(vn(e+r,t.c.length),u(t.c[e+r],12)),Mh(t,e+r,(vn(n-r-1,t.c.length),u(t.c[n-r-1],12))),vn(n-r-1,t.c.length),t.c[n-r-1]=o}function F4n(t,e,n){var r,s,o,h,d,m,k,T;o=t.d.p,d=o.e,m=o.r,t.g=new dI(m),h=t.d.o.c.p,r=h>0?d[h-1]:Vt(V0,jp,10,0,0,1),s=d[h],k=h<d.length-1?d[h+1]:Vt(V0,jp,10,0,0,1),T=e==n-1,T?fst(t.g,s,k):fst(t.g,r,s)}function Yfe(t){var e;this.j=new fe,this.f=new Os,this.b=(e=u(y1(bo),9),new _h(e,u(Ff(e,e.length),9),0)),this.d=Vt(Fr,ii,28,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,15,1),this.g=t}function Xfe(t,e){var n,r,s;if(e.c.length!=0){for(n=Cfe(t,e),s=!1;!n;)YH(t,e,!0),s=!0,n=Cfe(t,e);s&&YH(t,e,!1),r=mat(e),t.b&&t.b.Gg(r),t.a=_ue(t,(vn(0,e.c.length),u(e.c[0],27))),Xfe(t,r)}}function jot(t,e){var n,r,s;if(r=En(t.Dh(),e),n=e-t.ji(),n<0)if(r)if(r.rk())s=t.Ih(r),s>=0?t.ki(s):C6t(t,r);else throw at(new zn(Jb+r.xe()+aA));else throw at(new zn(Gwe+e+Kwe));else Ph(t,n,r)}function d6t(t){var e,n;if(n=null,e=!1,Lt(t,211)&&(e=!0,n=u(t,211).a),e||Lt(t,263)&&(e=!0,n=""+u(t,263).a),e||Lt(t,492)&&(e=!0,n=""+u(t,492).a),!e)throw at(new Znt(LTt));return n}function g6t(t,e,n){var r,s,o,h,d,m;for(m=Lu(t.e.Dh(),e),r=0,d=t.i,s=u(t.g,124),h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())){if(n==r)return h;++r,d=h+1}if(n==r)return d;throw at(new Bo(uA+n+Ew+r))}function B4n(t,e){var n,r,s,o;if(t.f.c.length==0)return null;for(o=new B6,r=new G(t.f);r.a<r.c.c.length;)n=u(et(r),72),s=n.o,o.b=b.Math.max(o.b,s.a),o.a+=s.b;return o.a+=(t.f.c.length-1)*e,o}function R4n(t){var e,n,r,s;for(n=new Ki,Ma(n,t.o),r=new X2t;n.b!=0;)e=u(n.b==0?null:(ur(n.b!=0),Oh(n,n.a.a)),515),s=Ppe(t,e,!0),s&&ge(r.a,e);for(;r.a.c.length!=0;)e=u(gue(r),515),Ppe(t,e,!1)}function Fp(){Fp=V,rMt=new N6(G_,0),oa=new N6("BOOLEAN",1),ac=new N6("INT",2),ix=new N6("STRING",3),Wa=new N6("DOUBLE",4),ts=new N6("ENUM",5),Qk=new N6("ENUMSET",6),xd=new N6("OBJECT",7)}function T_(t,e){var n,r,s,o,h;r=b.Math.min(t.c,e.c),o=b.Math.min(t.d,e.d),s=b.Math.max(t.c+t.b,e.c+e.b),h=b.Math.max(t.d+t.a,e.d+e.a),s<r&&(n=r,r=s,s=n),h<o&&(n=o,o=h,h=n),hte(t,r,o,s-r,h-o)}function Qfe(t,e){var n,r;if(t.f){for(;e.Ob();)if(n=u(e.Pb(),76),r=n.Lk(),Lt(r,102)&&u(r,19).Bb&Fc&&(!t.e||r.pk()!=QT||r.Lj()!=0)&&n.md()!=null)return e.Ub(),!0;return!1}else return e.Ob()}function Jfe(t,e){var n,r;if(t.f){for(;e.Sb();)if(n=u(e.Ub(),76),r=n.Lk(),Lt(r,102)&&u(r,19).Bb&Fc&&(!t.e||r.pk()!=QT||r.Lj()!=0)&&n.md()!=null)return e.Pb(),!0;return!1}else return e.Sb()}function il(){il=V,tOt=lt(ut(Pe,1),ue,2,6,[VTt,MN,TU,uve,CU,cht,fU]),ZIt=lt(ut(Pe,1),ue,2,6,[VTt,"empty",MN,DN,"elementOnly"]),eOt=lt(ut(Pe,1),ue,2,6,[VTt,"preserve","replace",I1]),ja=new dte}function p6t(t,e,n){var r,s,o;if(e!=n){r=e;do ki(t,r.c),s=r.e,s&&(o=r.d,Tm(t,o.b,o.d),ki(t,s.n),r=Pa(s));while(s);r=n;do ia(t,r.c),s=r.e,s&&(o=r.d,CS(t,o.b,o.d),ia(t,s.n),r=Pa(s));while(s)}}function $ot(t,e,n,r){var s,o,h,d,m;if(r.f.c+r.i.c==0)for(h=t.a[t.c],d=0,m=h.length;d<m;++d)o=h[d],hi(r,o,new lce(t,o,n));return s=u(Ko(Eo(r.f,e)),677),s.b=0,s.c=s.f,s.c==0||pr(u(Oe(s.a,s.b),293)),s}function wk(){wk=V,ET=new oS("MEDIAN_LAYER",0),SA=new oS("TAIL_LAYER",1),kT=new oS("HEAD_LAYER",2),T3=new oS("SPACE_EFFICIENT_LAYER",3),$5=new oS("WIDEST_LAYER",4),j5=new oS("CENTER_LAYER",5)}function b6t(t){var e,n,r,s;for(t.e=0,s=Dr(t.f,0);s.b!=s.d.c;)r=u(Ar(s),10),r.p>=t.d.b.c.length&&(e=new eu(t.d),e.p=r.p-1,ge(t.d.b,e),n=new eu(t.d),n.p=r.p,ge(t.d.b,n)),Aa(r,u(Oe(t.d.b,r.p),30))}function w6t(t,e,n){var r,s,o;if(!t.b[e.g]){for(t.b[e.g]=!0,r=n,!r&&(r=new FI),Zr(r.b,e),o=t.a[e.g].Kc();o.Ob();)s=u(o.Pb(),65),s.b!=e&&w6t(t,s.b,r),s.c!=e&&w6t(t,s.c,r),Zr(r.a,s);return r}return null}function j4n(t){switch(t.g){case 0:case 1:case 2:return ve(),Hn;case 3:case 4:case 5:return ve(),Er;case 6:case 7:case 8:return ve(),Gn;case 9:case 10:case 11:return ve(),Jn;default:return ve(),bc}}function $4n(t,e){var n;return t.c.length==0?!1:(n=hle((vn(0,t.c.length),u(t.c[0],18)).c.i),rh(),n==(Yy(),J5)||n==Q5?!0:t5(Wo(new ln(null,new gn(t,16)),new XJ),new MUt(e)))}function zot(t,e){if(Lt(e,207))return Nin(t,u(e,27));if(Lt(e,193))return Pin(t,u(e,123));if(Lt(e,451))return Oin(t,u(e,166));throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[e])))))}function Zfe(t,e,n){var r,s;if(this.f=t,r=u(tr(t.b,e),260),s=r?r.a:0,P3t(n,s),n>=(s/2|0))for(this.e=r?r.c:null,this.d=s;n++<s;)Pae(this);else for(this.c=r?r.b:null;n-- >0;)s4t(this);this.b=e,this.a=null}function z4n(t,e){var n,r;e.a?xkn(t,e):(n=u(lrt(t.b,e.b),60),n&&n==t.a[e.b.f]&&n.a&&n.a!=e.b.a&&n.c.Fc(e.b),r=u(urt(t.b,e.b),60),r&&t.a[r.f]==e.b&&r.a&&r.a!=e.b.a&&e.b.c.Fc(r),rit(t.b,e.b))}function t1e(t,e){var n,r;if(n=u(Io(t.b,e),127),u(u(Ai(t.r,e),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((Yl(),qw))&&_0e(t,e),r=pmn(t,e),tct(t,e)==(o5(),f2)&&(r+=2*t.w),n.a.a=r}function e1e(t,e){var n,r;if(n=u(Io(t.b,e),127),u(u(Ai(t.r,e),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((Yl(),qw))&&A0e(t,e),r=gmn(t,e),tct(t,e)==(o5(),f2)&&(r+=2*t.w),n.a.b=r}function q4n(t,e){var n,r,s,o;for(o=new fe,r=new G(e);r.a<r.c.c.length;)n=u(et(r),68),ge(o,new Hwt(n,!0)),ge(o,new Hwt(n,!1));s=new Lne(t),s.a.a.$b(),Vre(o,t.b,new hl(lt(ut(wye,1),Ln,693,0,[s])))}function n1e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;return m=t.a,$=t.b,k=e.a,U=e.b,T=n.a,J=n.b,A=r.a,tt=r.b,o=m*U-$*k,h=T*tt-J*A,s=(m-k)*(J-tt)-($-U)*(T-A),d=(o*(T-A)-h*(m-k))/s,P=(o*(J-tt)-h*($-U))/s,new ae(d,P)}function H4n(t,e){var n,r,s;e.Ug("End label pre-processing",1),n=Rt(Ht(X(t,(De(),Y5)))),r=Rt(Ht(X(t,O3))),s=q4(u(X(t,ph),88)),ms(fc(new ln(null,new gn(t.b,16)),new RD),new XZt(n,r,s)),e.Vg()}function m6t(t,e){var n,r,s;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,r=new rr(sr(_s(e).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!go(n)&&(s=n.d.i,t.a[s.p]?ge(t.b,n):m6t(t,s));t.a[e.p]=!1}}function r1e(t,e,n){var r;switch(r=0,u(X(e,(De(),Iu)),171).g){case 2:r=2*-n+t.a,++t.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+t.b,++t.b}return qi(e,(oe(),Pi))&&(r+=u(X(e,Pi),17).a),r}function i1e(t,e,n){var r,s,o;for(n.zc(e,t),ge(t.n,e),o=t.p.zg(e),e.j==t.p.Ag()?Zue(t.e,o):Zue(t.j,o),Hz(t),s=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(e),new k6(e)])));Mr(s);)r=u(dr(s),12),n._b(r)||i1e(t,r,n)}function V4n(t,e,n){var r,s,o;for(n.Ug("Processor set neighbors",1),t.a=e.b.b==0?1:e.b.b,s=null,r=Dr(e.b,0);!s&&r.b!=r.d.c;)o=u(Ar(r),39),Ie(Me(X(o,(ji(),u2))))&&(s=o);s&&u0e(t,new gg(s),n),n.Vg()}function v6t(t){var e,n,r;return n=u(ne(t,(ai(),jw)),21),n.Hc((Yl(),z3))?(r=u(ne(t,l2),21),e=new io(u(ne(t,lx),8)),r.Hc((Ml(),XT))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Sa}function y6t(t){var e,n,r;if(!t.b){for(r=new Ztt,n=new $6(F_(t));n.e!=n.i.gc();)e=u(sot(n),19),e.Bb&Fc&&Or(r,e);Uy(r),t.b=new $4((u(Dt(Qt((Lb(),Fn).o),8),19),r.i),r.g),_l(t).b&=-9}return t.b}function Zy(t){var e,n,r;for(n=t.length,r=0;r<n&&(qn(r,t.length),t.charCodeAt(r)<=32);)++r;for(e=n;e>r&&(qn(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return r>0||e<n?(Da(r,e,t.length),t.substr(r,e-r)):t}function U4n(t,e){var n,r,s,o,h,d,m,k;m=u(v_(U6(e.k),Vt(bo,qc,64,2,0,1)),126),k=e.g,n=die(e,m[0]),s=fie(e,m[1]),r=yot(t,k,n,s),o=die(e,m[1]),d=fie(e,m[0]),h=yot(t,k,o,d),r<=h?(e.a=n,e.c=s):(e.a=o,e.c=d)}function IO(t){var e;mn();var n,r,s,o,h,d;if(Lt(t,59))for(o=0,s=t.gc()-1;o<s;++o,--s)e=t.Xb(o),t.hd(o,t.Xb(s)),t.hd(s,e);else for(n=t.ed(),h=t.fd(t.gc());n.Tb()<h.Vb();)r=n.Pb(),d=h.Ub(),n.Wb(d),h.Wb(r)}function GH(t,e){var n,r,s,o,h,d;for(d=0,o=new K4,Ob(o,e);o.b!=o.c;)for(h=u(K6(o),219),d+=_he(h.d,h.e),s=new G(h.b);s.a<s.c.c.length;)r=u(et(s),36),n=u(Oe(t.b,r.p),219),n.s||(d+=GH(t,n));return d}function s1e(t,e,n,r,s){var o,h,d,m,k;if(e)for(d=e.Kc();d.Ob();)for(h=u(d.Pb(),10),k=pkt(h,(To(),ku),n).Kc();k.Ob();)m=u(k.Pb(),12),o=u(Ko(Eo(s.f,m)),118),o||(o=new eO(t.d),In(r.c,o),i1e(o,m,s))}function a1e(t,e,n){var r,s;Cce(this),e==(Bm(),c2)?qs(this.r,t.c):qs(this.w,t.c),n==c2?qs(this.r,t.d):qs(this.w,t.d),qfe(this,t),r=Fat(t.c),s=Fat(t.d),Ife(this,r,s,s),this.o=(D_(),b.Math.abs(r-s)<.2)}function o1e(t,e,n){var r,s,o,h,d,m;if(d=u(jn(t.a,8),2035),d!=null)for(s=d,o=0,h=s.length;o<h;++o)null.Um();r=n,t.a.Db&1||(m=new Pee(t,n,e),r.dj(m)),Lt(r,686)?u(r,686).fj(t.a):r.cj()==t.a&&r.ej(null)}function G4n(){var t;return t9e?u(N7((Eb(),yf),Cw),2044):(kCn(),t=u(Lt(nu((Eb(),yf),Cw),594)?nu(yf,Cw):new Gee,594),t9e=!0,cSn(t),HSn(t),hi((Owt(),$It),t,new tE),kot(t),jo(yf,Cw,t),t)}function K4n(t,e,n,r){var s;return s=d5(t,n,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut]),e),s<0&&(s=d5(t,n,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function W4n(t,e,n,r){var s;return s=d5(t,n,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut]),e),s<0&&(s=d5(t,n,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function yu(t,e,n){var r,s,o,h;if(h=t.b.Ce(e),s=(r=t.a.get(h),r??Vt(aa,Ln,1,0,5,1)),s.length==0)t.a.set(h,s);else if(o=wue(t,e,s),o)return o.nd(n);return ls(s,s.length,new I$(e,n)),++t.c,++t.b.g,null}function Y4n(t){var e,n,r;for(o6n(t),r=new fe,n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),ge(r,new Gwt(e,!0)),ge(r,new Gwt(e,!1));Fmn(t.c),MI(r,t.b,new hl(lt(ut(GN,1),Ln,382,0,[t.c]))),yxn(t)}function OO(t,e){var n,r,s;for(s=new fe,r=new G(t.c.a.b);r.a<r.c.c.length;)n=u(et(r),60),e.Lb(n)&&(ge(s,new jwt(n,!0)),ge(s,new jwt(n,!1)));Pmn(t.e),Vre(s,t.d,new hl(lt(ut(wye,1),Ln,693,0,[t.e])))}function X4n(t){var e,n,r,s;for(n=new _r,s=new G(t.d);s.a<s.c.c.length;)r=u(et(s),187),e=u(r.of((oe(),Vk)),18),Eo(n.f,e)||hi(n,e,new kne(e)),ge(u(Ko(Eo(n.f,e)),465).b,r);return new fl(new si(n))}function Q4n(t,e){var n,r,s,o,h;for(r=new Gre(t.j.c.length),n=null,o=new G(t.j);o.a<o.c.c.length;)s=u(et(o),12),s.j!=n&&(r.b==r.c||Ede(r,n,e),E3t(r),n=s.j),h=sde(s),h&&w3t(r,h);r.b==r.c||Ede(r,n,e)}function J4n(t,e){var n,r,s;for(r=new La(t.b,0);r.b<r.d.gc();)n=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),72)),s=u(X(n,(De(),l0)),278),s==(cd(),$3)&&(Kl(r),ge(e.b,n),qi(n,(oe(),Vk))||Zt(n,Vk,t))}function Z4n(t){var e,n,r,s,o;for(e=xg(new rr(sr(_s(t).a.Kc(),new z))),s=new rr(sr(ua(t).a.Kc(),new z));Mr(s);)r=u(dr(s),18),n=r.c.i,o=xg(new rr(sr(_s(n).a.Kc(),new z))),e=b.Math.max(e,o);return he(e)}function c1e(t,e,n){var r,s,o;r=u(ne(t,(ai(),CP)),21),s=0,o=0,e.a>n.a&&(r.Hc((fw(),cL))?s=(e.a-n.a)/2:r.Hc(uL)&&(s=e.a-n.a)),e.b>n.b&&(r.Hc((fw(),hL))?o=(e.b-n.b)/2:r.Hc(lL)&&(o=e.b-n.b)),n6t(t,s,o)}function u1e(t,e,n,r,s,o,h,d,m,k,T,A,P){Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),4),mu(t,n),t.f=h,v7(t,d),x7(t,m),m7(t,k),y7(t,T),Mp(t,A),k7(t,P),Dp(t,!0),Sp(t,s),t.Zk(o),uw(t,e),r!=null&&(t.i=null,Gq(t,r))}function x6t(t,e,n){if(t<0)return M_(abe,lt(ut(aa,1),Ln,1,5,[n,he(t)]));if(e<0)throw at(new zn(obe+e));return M_("%s (%s) must not be greater than size (%s)",lt(ut(aa,1),Ln,1,5,[n,he(t),he(e)]))}function k6t(t,e,n,r,s,o){var h,d,m,k;if(h=r-n,h<7){F2n(e,n,r,o);return}if(m=n+s,d=r+s,k=m+(d-m>>1),k6t(e,t,m,k,-s,o),k6t(e,t,k,d,-s,o),o.Ne(t[k-1],t[k])<=0){for(;n<r;)ls(e,n++,t[m++]);return}Vbn(t,m,k,d,e,n,r,o)}function t5n(t,e){var n,r,s,o,h,d,m;for(m=e.d,s=e.b.j,d=new G(m);d.a<d.c.c.length;)for(h=u(et(d),105),o=Vt(Fl,$0,28,s.c.length,16,1),hi(t.b,h,o),n=h.a.d.p-1,r=h.c.d.p;n!=r;)n=(n+1)%s.c.length,o[n]=!0}function e5n(t,e){if(m4t(),qi(t,(oe(),Pi))&&qi(e,Pi))return jc(u(X(t,Pi),17).a,u(X(e,Pi),17).a);throw at(new L6("The BF model order layer assigner requires all real nodes to have a model order."))}function n5n(t,e){if(v4t(),qi(t,(oe(),Pi))&&qi(e,Pi))return jc(u(X(t,Pi),17).a,u(X(e,Pi),17).a);throw at(new L6("The DF model order layer assigner requires all real nodes to have a model order."))}function r5n(t,e){for(t.r=new eO(t.p),Z(t.r,t),Ma(t.r.j,t.j),nh(t.j),Zr(t.j,e),Zr(t.r.e,e),Hz(t),Hz(t.r);t.f.c.length!=0;)rJt(u(Oe(t.f,0),132));for(;t.k.c.length!=0;)rJt(u(Oe(t.k,0),132));return t.r}function qot(t,e,n){var r,s,o;if(s=En(t.Dh(),e),r=e-t.ji(),r<0)if(s)if(s.rk())o=t.Ih(s),o>=0?t.bi(o,n):J6t(t,s,n);else throw at(new zn(Jb+s.xe()+aA));else throw at(new zn(Gwe+e+Kwe));else Fh(t,r,s,n)}function l1e(t){var e,n;if(t.f){for(;t.n>0;){if(e=u(t.k.Xb(t.n-1),76),n=e.Lk(),Lt(n,102)&&u(n,19).Bb&Fc&&(!t.e||n.pk()!=QT||n.Lj()!=0)&&e.md()!=null)return!0;--t.n}return!1}else return t.n>0}function h1e(t){var e,n,r,s;if(n=u(t,54)._h(),n)try{if(r=null,e=N7((Eb(),yf),X0e(W2n(n))),e&&(s=e.ai(),s&&(r=s.Fl(Ynn(n.e)))),r&&r!=t)return h1e(r)}catch(o){if(o=es(o),!Lt(o,63))throw at(o)}return t}function i5n(t,e,n){var r,s,o;n.Ug("Remove overlaps",1),n.dh(e,I7t),r=u(ne(e,(Y4(),ex)),27),t.f=r,t.a=oot(u(ne(e,(Ub(),wP)),299)),s=Ht(ne(e,(ai(),$w))),St(t,(Wn(s),s)),o=n3(r),mpe(t,e,o,n),n.dh(e,iU)}function s5n(t){var e,n,r;if(Ie(Me(ne(t,(ai(),_P))))){for(r=new fe,n=new rr(sr(Og(t).a.Kc(),new z));Mr(n);)e=u(dr(n),74),Zm(e)&&Ie(Me(ne(e,Ndt)))&&In(r.c,e);return r}else return mn(),mn(),co}function f1e(t){if(!t)return hWt(),Kve;var e=t.valueOf?t.valueOf():t;if(e!==t){var n=Lht[typeof e];return n?n(e):f5t(typeof e)}else return t instanceof Array||t instanceof b.Array?new Xj(t):new uE(t)}function d1e(t,e,n){var r,s,o;switch(o=t.o,r=u(Io(t.p,n),252),s=r.i,s.b=FO(r),s.a=PO(r),s.b=b.Math.max(s.b,o.a),s.b>o.a&&!e&&(s.b=o.a),s.c=-(s.b-o.a)/2,n.g){case 1:s.d=-s.a;break;case 3:s.d=o.b}dct(r),gct(r)}function g1e(t,e,n){var r,s,o;switch(o=t.o,r=u(Io(t.p,n),252),s=r.i,s.b=FO(r),s.a=PO(r),s.a=b.Math.max(s.a,o.b),s.a>o.b&&!e&&(s.a=o.b),s.d=-(s.a-o.b)/2,n.g){case 4:s.c=-s.b;break;case 2:s.c=o.a}dct(r),gct(r)}function a5n(t,e){var n,r,s,o,h;if(!e.dc()){if(s=u(e.Xb(0),131),e.gc()==1){Ude(t,s,s,1,0,e);return}for(n=1;n<e.gc();)(s.j||!s.o)&&(o=fvn(e,n),o&&(r=u(o.a,17).a,h=u(o.b,131),Ude(t,s,h,n,r,e),n=r+1,s=h))}}function o5n(t){var e,n,r,s,o,h;for(h=new fl(t.d),Ds(h,new e6),e=(iV(),lt(ut(xSt,1),te,276,0,[xft,Tft,yft,_ft,Eft,kft,Sft,Cft])),n=0,o=new G(h);o.a<o.c.c.length;)s=u(et(o),105),r=e[n%e.length],axn(s,r),++n}function c5n(t,e){w5();var n,r,s,o;if(e.b<2)return!1;for(o=Dr(e,0),n=u(Ar(o),8),r=n;o.b!=o.d.c;){if(s=u(Ar(o),8),!(i7(t,r)&&i7(t,s)))return!1;r=s}return!!(i7(t,r)&&i7(t,n))}function E6t(t,e){var n,r,s,o,h,d,m,k,T,A;return T=null,A=t,h=_g(A,"x"),n=new LGt(e),$0n(n.a,h),d=_g(A,"y"),r=new DGt(e),z0n(r.a,d),m=_g(A,Klt),s=new MGt(e),q0n(s.a,m),k=_g(A,Glt),o=new IGt(e),T=(H0n(o.a,k),k),T}function t3(t,e){T0e(t,e),t.b&1&&(t.a.a=null),t.b&2&&(t.a.f=null),t.b&4&&(t.a.g=null,t.a.i=null),t.b&16&&(t.a.d=null,t.a.e=null),t.b&8&&(t.a.b=null),t.b&32&&(t.a.j=null,t.a.c=null)}function u5n(t,e){var n,r,s;if(s=0,e.length>0)try{s=lh(e,Ga,xi)}catch(o){throw o=es(o),Lt(o,130)?(r=o,at(new _q(r))):at(o)}return n=(!t.a&&(t.a=new Bnt(t)),t.a),s<n.i&&s>=0?u(Dt(n,s),58):null}function l5n(t,e){if(t<0)return M_(abe,lt(ut(aa,1),Ln,1,5,["index",he(t)]));if(e<0)throw at(new zn(obe+e));return M_("%s (%s) must be less than size (%s)",lt(ut(aa,1),Ln,1,5,["index",he(t),he(e)]))}function h5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function f5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function d5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function g5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function p1e(t,e){var n,r,s,o,h,d;for(n=t.b.c.length,s=Oe(t.b,e);e*2+1<n&&(r=(o=2*e+1,h=o+1,d=o,h<n&&t.a.Ne(Oe(t.b,h),Oe(t.b,o))<0&&(d=h),d),!(t.a.Ne(s,Oe(t.b,r))<0));)Mh(t.b,e,Oe(t.b,r)),e=r;Mh(t.b,e,s)}function Hot(t,e,n){var r,s;return r=n.d,s=n.e,t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]&&t.g[s.d]<=t.i[e.d]&&t.i[e.d]<=t.i[s.d]?!(t.i[r.d]<t.i[s.d]):t.i[r.d]<t.i[s.d]}function p5n(t,e){var n;if(n=u(X(e,(De(),FA)),322),n!=t)throw at(new L6("The hierarchy aware processor "+n+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}function b5n(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new Jt(Wu,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(Dt(r,s),179),Om($o(t,n))){case 2:case 3:!o&&(o=new fe),In(o.c,n)}return o||(mn(),mn(),co)}function b1e(t,e,n){var r,s,o,h,d,m;for(m=Zi,o=new G(Nde(t.b));o.a<o.c.c.length;)for(s=u(et(o),177),d=new G(Nde(e.b));d.a<d.c.c.length;)h=u(et(d),177),r=jpn(s.a,s.b,h.a,h.b,n),m=b.Math.min(m,r);return m}function Xs(t,e){if(!e)throw at(new E6);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function w5n(t,e){var n,r,s;return Lt(e.g,10)&&u(e.g,10).k==(Un(),Ms)?Zi:(s=ek(e),s?b.Math.max(0,t.b/2-.5):(n=J4(e),n?(r=Rt(Ht(Wy(n,(De(),Av)))),b.Math.max(0,r/2-.5)):Zi))}function m5n(t,e){var n,r,s;return Lt(e.g,10)&&u(e.g,10).k==(Un(),Ms)?Zi:(s=ek(e),s?b.Math.max(0,t.b/2-.5):(n=J4(e),n?(r=Rt(Ht(Wy(n,(De(),Av)))),b.Math.max(0,r/2-.5)):Zi))}function v5n(t,e){Bf();var n,r,s,o,h,d;for(n=null,h=e.Kc();h.Ob();)o=u(h.Pb(),131),!o.o&&(r=Zin(o.a),s=sun(o.a),d=new P_(r,s,null,u(o.d.a.ec().Kc().Pb(),18)),ge(d.c,o.a),In(t.c,d),n&&ge(n.d,d),n=d)}function y5n(t){var e,n,r,s,o,h;for(h=c_(t.d,t.e),o=h.Kc();o.Ob();)for(s=u(o.Pb(),12),r=t.e==(ve(),Gn)?s.e:s.g,n=new G(r);n.a<n.c.c.length;)e=u(et(n),18),!go(e)&&e.c.i.c!=e.d.i.c&&(y4n(t,e),++t.f,++t.c)}function w1e(t,e){var n,r;if(e.dc())return mn(),mn(),co;for(r=new fe,ge(r,he(Ga)),n=1;n<t.f;++n)t.a==null&&E0e(t),t.a[n]&&ge(r,he(n));return r.c.length==1?(mn(),mn(),co):(ge(r,he(xi)),D7n(e,r))}function x5n(t,e){var n,r,s,o,h,d,m;h=e.c.i.k!=(Un(),xs),m=h?e.d:e.c,n=Dvn(e,m).i,s=u(tr(t.k,m),125),r=t.i[n.p].a,PZt(m.i)<(n.c?Xo(n.c.a,n,0):-1)?(o=s,d=r):(o=r,d=s),Hf(Of(If(Nf(Mf(new tf,0),4),o),d))}function k5n(t,e,n){var r,s,o,h,d,m;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=wot(t,mk($y(n,h.a))),m&&(o=(!e.b&&(e.b=new kn(vr,e,4,7)),e.b),Or(o,m))}function E5n(t,e,n){var r,s,o,h,d,m;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=wot(t,mk($y(n,h.a))),m&&(o=(!e.c&&(e.c=new kn(vr,e,5,8)),e.c),Or(o,m))}function NO(t,e,n){var r,s;r=e.a&t.f,e.b=t.b[r],t.b[r]=e,s=e.f&t.f,e.d=t.c[s],t.c[s]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function m1e(t){var e,n,r;if(e=t.Pb(),!t.Ob())return e;for(r=tu(ni(new yb,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)tu((r.a+=ao,r),t.Pb());throw t.Ob()&&(r.a+=", ..."),r.a+=">",at(new zn(r.a))}function T5n(t){var e,n;return n=-t.a,e=lt(ut(Yh,1),Zd,28,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&js,e[2]=e[2]+(n/60|0)%10&js,e[3]=e[3]+(n%60/10|0)&js,e[4]=e[4]+n%10&js,af(e,0,e.length)}function T6t(t){var e,n,r,s;for(t.g=new d_(u(Hr(bo),296)),r=0,n=(ve(),Hn),e=0;e<t.j.c.length;e++)s=u(Oe(t.j,e),12),s.j!=n&&(r!=e&&W6(t.g,n,new Ws(he(r),he(e))),n=s.j,r=e);W6(t.g,n,new Ws(he(r),he(e)))}function C5n(t){var e,n,r,s,o,h,d;for(r=0,n=new G(t.b);n.a<n.c.c.length;)for(e=u(et(n),30),o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),s.p=r++,d=new G(s.j);d.a<d.c.c.length;)h=u(et(d),12),h.p=r++}function C6t(t,e){var n,r,s;if(s=y5((il(),ja),t.Dh(),e),s)vo(),u(s,69).xk()||(s=tk($o(ja,s))),r=(n=t.Ih(s),u(n>=0?t.Lh(n,!0,!0):tv(t,s,!0),160)),u(r,220).Zl(e);else throw at(new zn(Jb+e.xe()+aA))}function S6t(t){var e,n;return t>-0x800000000000&&t<0x800000000000?t==0?0:(e=t<0,e&&(t=-t),n=Ys(b.Math.floor(b.Math.log(t)/.6931471805599453)),(!e||t!=b.Math.pow(2,n))&&++n,n):Dce(Pc(t))}function S5n(t){var e,n,r,s,o,h,d;for(o=new zd,n=new G(t);n.a<n.c.c.length;)e=u(et(n),132),h=e.a,d=e.b,!(o.a._b(h)||o.a._b(d))&&(s=h,r=d,h.e.b+h.j.b>2&&d.e.b+d.j.b<=2&&(s=d,r=h),o.a.zc(s,o),s.q=r);return o}function _5n(t,e,n){n.Ug("Eades radial",1),n.dh(e,iU),t.d=u(ne(e,(Y4(),ex)),27),t.c=Rt(Ht(ne(e,(Ub(),gK)))),t.e=oot(u(ne(e,wP),299)),t.a=nwn(u(ne(e,QLt),434)),t.b=kyn(u(ne(e,KLt),354)),iyn(t),n.dh(e,iU)}function A5n(t,e){if(e.Ug("Target Width Setter",1),ad(t,(fd(),ddt)))Mi(t,(N0(),B3),Ht(ne(t,ddt)));else throw at(new fp("A target width has to be set if the TargetWidthWidthApproximator should be used."));e.Vg()}function v1e(t,e){var n,r,s;return r=new Ig(t),Qo(r,e),Zt(r,(oe(),MG),e),Zt(r,(De(),bs),(ka(),hu)),Zt(r,u0,(I0(),SK)),y(r,(Un(),Ms)),n=new Yc,hc(n,r),Xs(n,(ve(),Gn)),s=new Yc,hc(s,r),Xs(s,Jn),r}function y1e(t){switch(t.g){case 0:return new Xnt((Hm(),hP));case 1:return new Zet;case 2:return new tnt;default:throw at(new zn("No implementation is available for the crossing minimizer "+(t.f!=null?t.f:""+t.g)))}}function x1e(t,e){var n,r,s,o,h;for(t.c[e.p]=!0,ge(t.a,e),h=new G(e.j);h.a<h.c.c.length;)for(o=u(et(h),12),r=new sd(o.b);lc(r.a)||lc(r.b);)n=u(lc(r.a)?et(r.a):et(r.b),18),s=Awn(o,n).i,t.c[s.p]||x1e(t,s)}function k1e(t){var e,n,r,s,o,h,d;for(h=0,n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)e=u(ar(n),27),d=e.g,s=e.f,r=b.Math.sqrt(d*d+s*s),h=b.Math.max(r,h),o=k1e(e),h=b.Math.max(o,h);return h}function wl(){wl=V,g2=new pS("OUTSIDE",0),Hg=new pS("INSIDE",1),FP=new pS("NEXT_TO_PORT_IF_POSSIBLE",2),yL=new pS("ALWAYS_SAME_SIDE",3),vL=new pS("ALWAYS_OTHER_SAME_SIDE",4),n8=new pS("SPACE_EFFICIENT",5)}function E1e(t,e,n){var r,s,o,h,d,m;return r=M1n(t,(s=(kb(),o=new VC,o),n&&tV(s,n),s),e),n7(r,yg(e,a0)),qH(e,r),qxn(e,r),E6t(e,r),h=e,d=jm(h,"ports"),m=new sQt(t,r),S6n(m.a,m.b,d),xat(t,e,r),Npn(t,e,r),r}function L5n(t){var e,n;return n=-t.a,e=lt(ut(Yh,1),Zd,28,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&js,e[2]=e[2]+(n/60|0)%10&js,e[4]=e[4]+(n%60/10|0)&js,e[5]=e[5]+n%10&js,af(e,0,e.length)}function D5n(t){var e;return e=lt(ut(Yh,1),Zd,28,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&js,e[5]=e[5]+(t/60|0)%10&js,e[7]=e[7]+(t%60/10|0)&js,e[8]=e[8]+t%10&js,af(e,0,e.length)}function M5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+OS(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function _6t(t,e){var n,r,s;for(s=xi,r=new G(s5(e));r.a<r.c.c.length;)n=u(et(r),218),n.f&&!t.c[n.c]&&(t.c[n.c]=!0,s=b.Math.min(s,_6t(t,gH(n,e))));return t.i[e.d]=t.j,t.g[e.d]=b.Math.min(s,t.j++),t.g[e.d]}function T1e(t,e){var n,r,s;for(s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),r.e.b=(n=r.b,n.pf((ai(),Pl))?n.ag()==(ve(),Hn)?-n.Mf().b-Rt(Ht(n.of(Pl))):Rt(Ht(n.of(Pl))):n.ag()==(ve(),Hn)?-n.Mf().b:0)}function I5n(t){var e,n,r,s,o,h,d;for(n=Smt(t.e),o=qd(CS(Oa(Cmt(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-o.a,s=n.b-o.b,d=0;d<t.c;d++){for(r=e,h=0;h<t.d;h++)G2n(t.e,new Ah(r,s,t.a,t.b))&&cV(t,h,d,!1,!0),r+=t.a;s+=t.b}}function A6t(t){var e,n,r,s,o;e=t.a,n=t.b,s=t.c,r=new ae(n.e.a+n.f.a/2,n.e.b+n.f.b/2),o=new ae(s.e.a+s.f.a/2,s.e.b+s.f.b/2),hs(e,r,e.a,e.a.a),hs(e,o,e.c.b,e.c),Ofe(r,u(jh(e,1),8),t.b.f),Ofe(o,u(jh(e,e.b-2),8),t.c.f)}function mk(t){var e,n;if(n=!1,Lt(t,211))return n=!0,u(t,211).a;if(!n&&Lt(t,263)&&(e=u(t,263).a%1==0,e))return n=!0,he(pin(u(t,263).a));throw at(new Rd("Id must be a string or an integer: '"+t+"'."))}function O5n(t,e){var n,r,s,o,h,d;for(o=null,s=new hee((!t.a&&(t.a=new Bnt(t)),t.a));O6t(s);)if(n=u(XH(s),58),r=(h=n.Dh(),d=(v5(h),h.o),!d||!n.Xh(d)?null:kvt(bat(d),n.Mh(d))),r!=null&&hn(r,e)){o=n;break}return o}function C1e(t,e,n){var r,s,o,h,d;if(oh(n,"occurrences"),n==0)return d=u(Gy(Q6(t.a),e),16),d?d.gc():0;if(h=u(Gy(Q6(t.a),e),16),!h)return 0;if(o=h.gc(),n>=o)h.$b();else for(s=h.Kc(),r=0;r<n;r++)s.Pb(),s.Qb();return o}function N5n(t,e,n){var r,s,o,h;return oh(n,"oldCount"),oh(0,"newCount"),r=u(Gy(Q6(t.a),e),16),(r?r.gc():0)==n?(oh(0,"count"),s=(o=u(Gy(Q6(t.a),e),16),o?o.gc():0),h=-s,h>0?fwt():h<0&&C1e(t,e,-h),!0):!1}function PO(t){var e,n,r,s,o,h,d;if(d=0,t.b==0){for(h=ahe(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}else d=EWt(lat(Ny(_i(xyt(t.a),new Ea),new gu)));return d>0?d+t.n.d+t.n.a:0}function FO(t){var e,n,r,s,o,h,d;if(d=0,t.b==0)d=EWt(lat(Ny(_i(xyt(t.a),new Ic),new wc)));else{for(h=ohe(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}return d>0?d+t.n.b+t.n.c:0}function P5n(t){var e,n;if(t.c.length!=2)throw at(new Ro("Order only allowed for two paths."));e=(vn(0,t.c.length),u(t.c[0],18)),n=(vn(1,t.c.length),u(t.c[1],18)),e.d.i!=n.c.i&&(t.c.length=0,In(t.c,n),In(t.c,e))}function S1e(t,e,n){var r;for(H4(n,e.g,e.f),Ch(n,e.i,e.j),r=0;r<(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i;r++)S1e(t,u(Dt((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),r),27),u(Dt((!n.a&&(n.a=new Jt(bi,n,10,11)),n.a),r),27))}function F5n(t,e){var n,r,s,o;for(o=u(Io(t.b,e),127),n=o.a,s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),r.c&&(n.a=b.Math.max(n.a,Jvt(r.c)));if(n.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function B5n(t,e){var n,r,s;return n=u(X(e,(Vf(),jk)),17).a-u(X(t,jk),17).a,n==0?(r=ia(Oa(u(X(t,(Pb(),UN)),8)),u(X(t,TA),8)),s=ia(Oa(u(X(e,UN),8)),u(X(e,TA),8)),Bi(r.a*r.b,s.a*s.b)):n}function R5n(t,e){var n,r,s;return n=u(X(e,(Cc(),uK)),17).a-u(X(t,uK),17).a,n==0?(r=ia(Oa(u(X(t,(ji(),gP)),8)),u(X(t,zT),8)),s=ia(Oa(u(X(e,gP),8)),u(X(e,zT),8)),Bi(r.a*r.b,s.a*s.b)):n}function _1e(t){var e,n;return n=new yb,n.a+="e_",e=Mpn(t),e!=null&&(n.a+=""+e),t.c&&t.d&&(ni((n.a+=" ",n),BH(t.c)),ni(tu((n.a+="[",n),t.c.i),"]"),ni((n.a+=But,n),BH(t.d)),ni(tu((n.a+="[",n),t.d.i),"]")),n.a}function A1e(t){switch(t.g){case 0:return new cnt;case 1:return new rE;case 2:return new ont;case 3:return new ant;default:throw at(new zn("No implementation is available for the layout phase "+(t.f!=null?t.f:""+t.g)))}}function L6t(t,e,n,r,s){var o;switch(o=0,s.g){case 1:o=b.Math.max(0,e.b+t.b-(n.b+r));break;case 3:o=b.Math.max(0,-t.b-r);break;case 2:o=b.Math.max(0,-t.a-r);break;case 4:o=b.Math.max(0,e.a+t.a-(n.a+r))}return o}function j5n(t,e,n){var r,s,o,h,d;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),o=qE(n,h.a),ETt in o.a||Qlt in o.a?Z8n(t,o,e):mSn(t,o,e),wsn(u(tr(t.b,T7(o)),74))}function D6t(t){var e,n;switch(t.b){case-1:return!0;case 0:return n=t.t,n>1||n==-1?(t.b=-1,!0):(e=of(t),e&&(vo(),e.lk()==Wme)?(t.b=-1,!0):(t.b=1,!1));default:case 1:return!1}}function M6t(t,e){var n,r,s,o;if(wi(t),t.c!=0||t.a!=123)throw at(new Yr(Qr((Ur(),bme))));if(o=e==112,r=t.d,n=TE(t.i,125,r),n<0)throw at(new Yr(Qr((Ur(),wme))));return s=Lh(t.i,r,n),t.d=n+1,Qse(s,o,(t.e&512)==512)}function L1e(t){var e,n,r,s,o,h,d;if(r=t.a.c.length,r>0)for(h=t.c.d,d=t.d.d,s=qd(ia(new ae(d.a,d.b),h),1/(r+1)),o=new ae(h.a,h.b),n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),250),e.d.a=o.a+s.a,e.d.b=o.b+s.b,ki(o,s)}function $5n(t,e){var n,r,s;if(!e)nat(t,null),t7(t,null);else if(e.i&4)for(r="[]",n=e.c;;n=n.c){if(!(n.i&4)){s=lwt((wg(n),n.o+r)),nat(t,s),t7(t,s);break}r+="[]"}else s=lwt((wg(e),e.o)),nat(t,s),t7(t,s);t.hl(e)}function C_(t,e,n,r,s){var o,h,d,m;return m=lit(t,u(s,58)),$t(m)!==$t(s)?(d=u(t.g[n],76),o=D0(e,m),kS(t,n,Dot(t,n,o)),Hl(t.e)&&(h=Ib(t,9,o.Lk(),s,m,r,!1),Hxt(h,new Tg(t.e,9,t.c,d,o,r,!1)),Vst(h)),m):s}function z5n(t,e,n){var r,s,o,h,d,m;for(r=u(Ai(t.c,e),15),s=u(Ai(t.c,n),15),o=r.fd(r.gc()),h=s.fd(s.gc());o.Sb()&&h.Sb();)if(d=u(o.Ub(),17),m=u(h.Ub(),17),d!=m)return jc(d.a,m.a);return!o.Ob()&&!h.Ob()?0:o.Ob()?1:-1}function q5n(t){var e,n,r,s,o,h,d;for(d=C0(t.c.length),s=new G(t);s.a<s.c.c.length;){for(r=u(et(s),10),h=new Os,o=_s(r),n=new rr(sr(o.a.Kc(),new z));Mr(n);)e=u(dr(n),18),e.c.i==e.d.i||qs(h,e.d.i);In(d.c,h)}return d}function D1e(t,e){var n,r,s;try{return s=t1n(t.a,e),s}catch(o){if(o=es(o),Lt(o,33)){try{if(r=lh(e,Ga,xi),n=y1(t.a),r>=0&&r<n.length)return n[r]}catch(h){if(h=es(h),!Lt(h,130))throw at(h)}return null}else throw at(o)}}function Vot(t,e){var n,r,s;if(s=y5((il(),ja),t.Dh(),e),s)return vo(),u(s,69).xk()||(s=tk($o(ja,s))),r=(n=t.Ih(s),u(n>=0?t.Lh(n,!0,!0):tv(t,s,!0),160)),u(r,220).Wl(e);throw at(new zn(Jb+e.xe()+qlt))}function H5n(){Nwt();var t;return ITe?u(N7((Eb(),yf),hf),2038):(ui(Sw,new gM),R9n(),t=u(Lt(nu((Eb(),yf),hf),560)?nu(yf,hf):new Uee,560),ITe=!0,jSn(t),GSn(t),hi((Owt(),$It),t,new K1),jo(yf,hf,t),t)}function V5n(t,e){var n,r,s,o;t.j=-1,Hl(t.e)?(n=t.i,o=t.i!=0,PI(t,e),r=new Tg(t.e,3,t.c,null,e,n,o),s=e.zl(t.e,t.c,null),s=cfe(t,e,s),s?(s.nj(r),s.oj()):Ei(t.e,r)):(PI(t,e),s=e.zl(t.e,t.c,null),s&&s.oj())}function KH(t,e){var n,r,s;if(s=0,r=e[0],r>=t.length)return-1;for(n=(qn(r,t.length),t.charCodeAt(r));n>=48&&n<=57&&(s=s*10+(n-48),++r,!(r>=t.length));)n=(qn(r,t.length),t.charCodeAt(r));return r>e[0]?e[0]=r:s=-1,s}function U5n(t){var e,n,r,s,o;return s=u(t.a,17).a,o=u(t.b,17).a,n=s,r=o,e=b.Math.max(b.Math.abs(s),b.Math.abs(o)),s<=0&&s==o?(n=0,r=o-1):s==-e&&o!=e?(n=o,r=s,o>=0&&++n):(n=-o,r=s),new Ws(he(n),he(r))}function G5n(t,e,n,r){var s,o,h,d,m,k;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)if(d=h-e.k+r,m=o,k=d,m+=t.j,k+=t.k,m>=0&&k>=0&&m<t.o&&k<t.p&&(!dhe(e,s,h)&&lhe(t,o,d)||u5(e,s,h)&&!Rmn(t,o,d)))return!0;return!1}function K5n(t,e,n){var r,s,o,h,d;h=t.c,d=t.d,o=dc(lt(ut(la,1),ue,8,0,[h.i.n,h.n,h.a])).b,s=(o+dc(lt(ut(la,1),ue,8,0,[d.i.n,d.n,d.a])).b)/2,r=null,h.j==(ve(),Jn)?r=new ae(e+h.i.c.c.a+n,s):r=new ae(e-n,s),CE(t.a,0,r)}function Zm(t){var e,n,r,s;for(e=null,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)])));Mr(r);)if(n=u(dr(r),84),s=Jo(n),!e)e=s;else if(e!=s)return!1;return!0}function Uot(t,e,n){var r;if(++t.j,e>=t.i)throw at(new Bo(Zlt+e+Ew+t.i));if(n>=t.i)throw at(new Bo(tht+n+Ew+t.i));return r=t.g[n],e!=n&&(e<n?Xc(t.g,e,t.g,e+1,n-e):Xc(t.g,n+1,t.g,n,e-n),ls(t.g,e,r),t.Pi(e,r,n),t.Ni()),r}function dn(t,e,n){var r;if(r=u(t.c.xc(e),16),r)return r.Fc(n)?(++t.d,!0):!1;if(r=t.ic(e),r.Fc(n))return++t.d,t.c.zc(e,r),!0;throw at(new I3t("New Collection violated the Collection spec"))}function BO(t){var e,n,r;return t<0?0:t==0?32:(r=-(t>>16),e=r>>16&16,n=16-e,t=t>>e,r=t-256,e=r>>16&8,n+=e,t<<=e,r=t-u3,e=r>>16&4,n+=e,t<<=e,r=t-Jd,e=r>>16&2,n+=e,t<<=e,r=t>>14,e=r&~(r>>1),n+2-e)}function W5n(t){J6();var e,n,r,s;for(VU=new fe,Jht=new _r,Qht=new fe,e=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),RCn(e),s=new Zn(e);s.e!=s.i.gc();)r=u(ar(s),27),Xo(VU,r,0)==-1&&(n=new fe,ge(Qht,n),Ile(r,n));return Qht}function Y5n(t,e,n){var r,s,o,h;t.a=n.b.d,Lt(e,326)?(s=b5(u(e,74),!1,!1),o=MO(s),r=new jC(t),Fa(o,r),KO(o,s),e.of((ai(),Iv))!=null&&Fa(u(e.of(Iv),75),r)):(h=u(e,422),h.rh(h.nh()+t.a.a),h.sh(h.oh()+t.a.b))}function X5n(t,e){var n,r,s;for(s=new fe,r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.c.g==t.g&&$t(X(n.b,(Cc(),h0)))!==$t(X(n.c,h0))&&!t5(new ln(null,new gn(s,16)),new HUt(n))&&In(s.c,n);return Ds(s,new DZ),s}function M1e(t,e,n){var r,s,o,h;return Lt(e,153)&&Lt(n,153)?(o=u(e,153),h=u(n,153),t.a[o.a][h.a]+t.a[h.a][o.a]):Lt(e,250)&&Lt(n,250)&&(r=u(e,250),s=u(n,250),r.a==s.a)?u(X(s.a,(Vf(),jk)),17).a:0}function I1e(t,e){var n,r,s,o,h,d,m,k;for(k=Rt(Ht(X(e,(De(),jA)))),m=t[0].n.a+t[0].o.a+t[0].d.c+k,d=1;d<t.length;d++)r=t[d].n,s=t[d].o,n=t[d].d,o=r.a-n.b-m,o<0&&(r.a-=o),h=e.f,h.a=b.Math.max(h.a,r.a+s.a),m=r.a+s.a+n.c+k}function Q5n(t,e){var n,r,s,o,h,d;return r=u(u(tr(t.g,e.a),42).a,68),s=u(u(tr(t.g,e.b),42).a,68),o=r.b,h=s.b,n=ETn(o,h),n>=0?n:(d=RS(ia(new ae(h.c+h.b/2,h.d+h.a/2),new ae(o.c+o.b/2,o.d+o.a/2))),-(ige(o,h)-1)*d)}function J5n(t,e,n){var r;ms(new ln(null,(!n.a&&(n.a=new Jt(Wi,n,6,6)),new gn(n.a,16))),new GXt(t,e)),ms(new ln(null,(!n.n&&(n.n=new Jt(Po,n,1,7)),new gn(n.n,16))),new KXt(t,e)),r=u(ne(n,(ai(),Iv)),75),r&&P4t(r,t,e)}function tv(t,e,n){var r,s,o;if(o=y5((il(),ja),t.Dh(),e),o)return vo(),u(o,69).xk()||(o=tk($o(ja,o))),s=(r=t.Ih(o),u(r>=0?t.Lh(r,!0,!0):tv(t,o,!0),160)),u(s,220).Sl(e,n);throw at(new zn(Jb+e.xe()+qlt))}function I6t(t,e,n,r){var s,o,h,d,m;if(s=t.d[e],s){if(o=s.g,m=s.i,r!=null){for(d=0;d<m;++d)if(h=u(o[d],136),h.Bi()==n&&Ti(r,h.ld()))return h}else for(d=0;d<m;++d)if(h=u(o[d],136),$t(h.ld())===$t(r))return h}return null}function Z5n(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new Jt(Wu,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(Dt(r,s),179),Om($o(t,n))){case 4:case 5:case 6:{!o&&(o=new fe),In(o.c,n);break}}return o||(mn(),mn(),co)}function RO(t,e){var n;if(e<0)throw at(new f$("Negative exponent"));if(e==0)return NU;if(e==1||R5t(t,NU)||R5t(t,yA))return t;if(!ide(t,0)){for(n=1;!ide(t,n);)++n;return Z4(cwn(n*e),RO(M3t(t,n),e))}return g3n(t,e)}function txn(t,e){var n,r,s;if($t(t)===$t(e))return!0;if(t==null||e==null||t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(r=t[n],s=e[n],!($t(r)===$t(s)||r!=null&&Ti(r,s)))return!1;return!0}function O1e(t){Mwt();var e,n,r;for(this.b=i4e,this.c=(Rs(),Ed),this.f=(HYt(),r4e),this.a=t,mwt(this,new Kx),eV(this),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),86),n.d||(e=new Zat(lt(ut(sft,1),Ln,86,0,[n])),ge(t.a,e))}function exn(t,e,n){var r,s,o,h,d,m;if(!t||t.c.length==0)return null;for(o=new Pne(e,!n),s=new G(t);s.a<s.c.c.length;)r=u(et(s),72),h6t(o,(JC(),new T0(r)));return h=o.i,h.a=(m=o.n,o.e.b+m.d+m.a),h.b=(d=o.n,o.e.a+d.b+d.c),o}function N1e(t){var e,n,r,s,o,h,d;for(d=II(t.a),xmt(d,new Lf),n=null,s=d,o=0,h=s.length;o<h&&(r=s[o],r.k==(Un(),Ms));++o)e=u(X(r,(oe(),Dc)),64),!(e!=(ve(),Gn)&&e!=Jn)&&(n&&u(X(n,Uk),15).Fc(r),n=r)}function nxn(t,e,n){var r,s,o,h,d,m,k;m=(vn(e,t.c.length),u(t.c[e],339)),Ep(t,e),m.b/2>=n&&(r=e,k=(m.c+m.a)/2,h=k-n,m.c<=k-n&&(s=new yit(m.c,h),Sm(t,r++,s)),d=k+n,d<=m.a&&(o=new yit(d,m.a),Fy(r,t.c.length),sS(t.c,r,o)))}function P1e(t,e,n){var r,s,o,h,d,m;if(!e.dc()){for(s=new Ki,m=e.Kc();m.Ob();)for(d=u(m.Pb(),39),hi(t.a,he(d.g),he(n)),h=(r=Dr(new gg(d).a.d,0),new M4(r));IM(h.a);)o=u(Ar(h.a),65).c,hs(s,o,s.c.b,s.c);P1e(t,s,n+1)}}function O6t(t){var e;if(!t.c&&t.g==null)t.d=t.bj(t.f),Or(t,t.d),e=t.d;else{if(t.g==null)return!0;if(t.i==0)return!1;e=u(t.g[t.i-1],51)}return e==t.b&&null.Vm>=null.Um()?(XH(t),O6t(t)):e.Ob()}function F1e(t){if(this.a=t,t.c.i.k==(Un(),Ms))this.c=t.c,this.d=u(X(t.c.i,(oe(),Dc)),64);else if(t.d.i.k==Ms)this.c=t.d,this.d=u(X(t.d.i,(oe(),Dc)),64);else throw at(new zn("Edge "+t+" is not an external edge."))}function B1e(t,e){var n,r,s;s=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,s,t.b)),e?e!=t&&(mu(t,e.zb),Zst(t,e.d),n=(r=e.c,r??e.zb),eat(t,n==null||hn(n,e.zb)?null:n)):(mu(t,null),Zst(t,0),eat(t,null))}function R1e(t,e){var n;this.e=(Dm(),Hr(t),Dm(),W5t(t)),this.c=(Hr(e),W5t(e)),Bmt(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Jue(this.e),this.b=Jue(this.c),n=G2(aa,[ue,Ln],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,_gn(this)}function j1e(t){!_ht&&(_ht=XCn());var e=t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(n){return tfn(n)});return'"'+e+'"'}function N6t(t,e,n,r,s,o){var h,d,m,k,T;if(s!=0)for($t(t)===$t(n)&&(t=t.slice(e,e+s),e=0),m=n,d=e,k=e+s;d<k;)h=b.Math.min(d+1e4,k),s=h-d,T=t.slice(d,h),T.splice(0,0,r,o?s:0),Array.prototype.splice.apply(m,T),d=h,r+=s}function $1e(t){Wyt();var e,n;for(this.b=vye,this.c=xye,this.g=(qYt(),mye),this.d=(Rs(),Ed),this.a=t,nkt(this),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),60),!e.a&&OJt(Coe(new U2t,lt(ut(RU,1),Ln,60,0,[e])),t),e.e=new tq(e.d)}function rxn(t){var e,n,r,s,o,h;for(s=t.e.c.length,r=Vt(Vh,l3,15,s,0,1),h=new G(t.e);h.a<h.c.c.length;)o=u(et(h),153),r[o.a]=new Ki;for(n=new G(t.c);n.a<n.c.c.length;)e=u(et(n),289),r[e.c.a].Fc(e),r[e.d.a].Fc(e);return r}function ixn(t,e){var n,r,s,o,h;if(n=u(jn(t.a,4),129),h=n==null?0:n.length,e>=h)throw at(new Dy(e,h));return s=n[e],h==1?r=null:(r=Vt(e0t,sht,424,h-1,0,1),Xc(n,0,r,0,e),o=h-e-1,o>0&&Xc(n,e+1,r,e,o)),C7(t,r),o1e(t,e,s),s}function z1e(t){var e,n;if(t.f){for(;t.n<t.o;){if(e=u(t.j?t.j.$i(t.n):t.k.Xb(t.n),76),n=e.Lk(),Lt(n,102)&&u(n,19).Bb&Fc&&(!t.e||n.pk()!=QT||n.Lj()!=0)&&e.md()!=null)return!0;++t.n}return!1}else return t.n<t.o}function vk(){vk=V,s8=u(Dt(Qt((kwt(),Bc).qb),6),35),i8=u(Dt(Qt(Bc.qb),3),35),o0t=u(Dt(Qt(Bc.qb),4),35),c0t=u(Dt(Qt(Bc.qb),5),19),$H(s8),$H(i8),$H(o0t),$H(c0t),FTe=new hl(lt(ut(Wu,1),I5,179,0,[s8,i8]))}function q1e(t,e){var n;this.d=new HC,this.b=e,this.e=new io(e.Lf()),n=t.u.Hc((wl(),FP)),t.u.Hc(Hg)?t.D?this.a=n&&!e.bg():this.a=!0:t.u.Hc(g2)?n?this.a=!(e.Uf().Kc().Ob()||e.Wf().Kc().Ob()):this.a=!1:this.a=!1}function H1e(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),s.e.a=(r=s.b,r.pf((ai(),Pl))?r.ag()==(ve(),Gn)?-r.Mf().a-Rt(Ht(r.of(Pl))):n+Rt(Ht(r.of(Pl))):r.ag()==(ve(),Gn)?-r.Mf().a:n)}function V1e(t,e){var n,r,s,o;n=u(X(t,(De(),ph)),88),o=u(ne(e,NT),64),s=u(X(t,bs),101),s!=(ka(),Td)&&s!=d2?o==(ve(),bc)&&(o=Pkt(e,n),o==bc&&(o=hk(n))):(r=Vge(e),r>0?o=hk(n):o=bO(hk(n))),Mi(e,NT,o)}function sxn(t,e){var n;e.Ug("Partition preprocessing",1),n=u(nc(_i(fc(_i(new ln(null,new gn(t.a,16)),new AQ),new LQ),new HB),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),ms(n.Oc(),new Jx),e.Vg()}function axn(t,e){var n,r,s,o,h;for(h=t.j,e.a!=e.b&&Ds(h,new aC),s=h.c.length/2|0,r=0;r<s;r++)o=(vn(r,h.c.length),u(h.c[r],113)),o.c&&Xs(o.d,e.a);for(n=s;n<h.c.length;n++)o=(vn(n,h.c.length),u(h.c[n],113)),o.c&&Xs(o.d,e.b)}function oxn(t,e,n){var r,s,o;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?(o=Fit(r.a,s.a),o<0?VO(t,e,n):o>0&&VO(t,n,e),o):r.a!=null?(VO(t,e,n),-1):s.a!=null?(VO(t,n,e),1):0}function cxn(t,e){var n,r,s,o,h;for(s=e.b.b,t.a=Vt(Vh,l3,15,s,0,1),t.b=Vt(Fl,$0,28,s,16,1),h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),t.a[o.g]=new Ki;for(r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function U1e(t,e){var n,r,s,o;t.Pj()?(n=t.Ej(),o=t.Qj(),++t.j,t.qj(n,t.Zi(n,e)),r=t.Ij(3,null,e,n,o),t.Mj()?(s=t.Nj(e,null),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(Nee(t,e),t.Mj()&&(s=t.Nj(e,null),s&&s.oj()))}function P6t(t,e,n){var r,s,o;t.Pj()?(o=t.Qj(),fO(t,e,n),r=t.Ij(3,null,n,e,o),t.Mj()?(s=t.Nj(n,null),t.Tj()&&(s=t.Uj(n,s)),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(fO(t,e,n),t.Mj()&&(s=t.Nj(n,null),s&&s.oj()))}function WH(t,e){var n,r,s,o,h;for(h=Lu(t.e.Dh(),e),s=new pb,n=u(t.g,124),o=t.i;--o>=0;)r=n[o],h.am(r.Lk())&&Or(s,r);!$pe(t,s)&&Hl(t.e)&&hE(t,e.Jk()?Ib(t,6,e,(mn(),co),null,-1,!1):Ib(t,e.tk()?2:1,e,null,null,-1,!1))}function uxn(t,e){var n,r,s,o,h;return t.a==(M7(),AA)?!0:(o=e.a.c,n=e.a.c+e.a.b,!(e.j&&(r=e.A,h=r.c.c.a-r.o.a/2,s=o-(r.n.a+r.o.a),s>h)||e.q&&(r=e.C,h=r.c.c.a-r.o.a/2,s=r.n.a-n,s>h)))}function G1e(t){gst();var e,n,r,s,o,h,d;for(n=new kp,s=new G(t.e.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),d=t.g[o.p],e=u(od(n,d),15),e||(e=new fe,Op(n,d,e)),e.Fc(o);return n}function K1e(t){var e;return t.Db&64?qf(t):(e=new ef(qf(t)),e.a+=" (startX: ",O4(e,t.j),e.a+=", startY: ",O4(e,t.k),e.a+=", endX: ",O4(e,t.b),e.a+=", endY: ",O4(e,t.c),e.a+=", identifier: ",Mo(e,t.d),e.a+=")",e.a)}function F6t(t){var e;return t.Db&64?u_(t):(e=new ef(u_(t)),e.a+=" (ordered: ",gp(e,(t.Bb&256)!=0),e.a+=", unique: ",gp(e,(t.Bb&512)!=0),e.a+=", lowerBound: ",art(e,t.s),e.a+=", upperBound: ",art(e,t.t),e.a+=")",e.a)}function W1e(t,e,n,r,s,o,h,d){var m;return Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),4),mu(t,n),t.f=r,v7(t,s),x7(t,o),m7(t,h),y7(t,!1),Mp(t,!0),k7(t,d),Dp(t,!0),Sp(t,0),t.b=0,Hy(t,1),m=hd(t,e,null),m&&m.oj(),qat(t,!1),t}function Y1e(t,e){var n,r,s,o;return n=u(nu(t.a,e),525),n||(r=new Ast(e),s=(bq(),wd?null:r.c),o=Lh(s,0,b.Math.max(0,cz(s,Hu(46)))),$an(r,Y1e(t,o)),(wd?null:r.c).length==0&&sZt(r,new _e),jo(t.a,wd?null:r.c,r),r)}function lxn(t,e){var n;t.b=e,t.g=new fe,n=gxn(t.b),t.e=n,t.f=n,t.c=Ie(Me(X(t.b,(RH(),B9t)))),t.a=Ht(X(t.b,(ai(),sx))),t.a==null&&(t.a=1),Rt(t.a)>1?t.e*=Rt(t.a):t.f/=Rt(t.a),Mbn(t),Bwn(t),N8n(t),Zt(t.b,(b_(),HU),t.g)}function X1e(t,e,n){var r,s,o,h,d,m;for(r=0,m=n,e||(r=n*(t.c.length-1),m*=-1),o=new G(t);o.a<o.c.c.length;){for(s=u(et(o),10),Zt(s,(De(),u0),(I0(),SK)),s.o.a=r,d=Pp(s,(ve(),Jn)).Kc();d.Ob();)h=u(d.Pb(),12),h.n.a=r;r+=m}}function yk(t,e,n){var r,s,o,h,d,m;return d=t.pl(n),d!=n?(h=t.g[e],m=d,kS(t,e,t.Zi(e,m)),o=h,t.Ri(e,m,o),t.al()&&(r=n,s=t.Oj(r,null),!u(d,54).Ph()&&(s=t.Nj(m,s)),s&&s.oj()),Hl(t.e)&&hE(t,t.Ij(9,n,d,e,!1)),d):n}function hxn(t,e){var n,r,s,o;for(r=new G(t.a.a);r.a<r.c.c.length;)n=u(et(r),194),n.g=!0;for(o=new G(t.a.b);o.a<o.c.c.length;)s=u(et(o),86),s.k=Ie(Me(t.e.Kb(new Ws(s,e)))),s.d.g=s.d.g&Ie(Me(t.e.Kb(new Ws(s,e))));return t}function Q1e(t,e){var n,r;if(t.c.length!=0){if(t.c.length==2)xk((vn(0,t.c.length),u(t.c[0],10)),(uh(),K0)),xk((vn(1,t.c.length),u(t.c[1],10)),h2);else for(r=new G(t);r.a<r.c.c.length;)n=u(et(r),10),xk(n,e);t.c.length=0}}function J1e(t){var e,n,r,s,o;if(n=(e=u(y1(bo),9),new _h(e,u(Ff(e,e.length),9),0)),o=u(X(t,(oe(),ml)),10),o)for(s=new G(o.j);s.a<s.c.c.length;)r=u(et(s),12),$t(X(r,Li))===$t(t)&&TS(new sd(r.b))&&zf(n,r.j);return n}function Z1e(t,e,n){var r,s,o,h,d;if(!t.d[n.p]){for(s=new rr(sr(_s(n).a.Kc(),new z));Mr(s);){for(r=u(dr(s),18),d=r.d.i,h=new rr(sr(ua(d).a.Kc(),new z));Mr(h);)o=u(dr(h),18),o.c.i==e&&(t.a[o.p]=!0);Z1e(t,e,d)}t.d[n.p]=!0}}function fxn(t,e){var n,r,s,o,h,d,m;if(r=Gue(t.Db&254),r==1)t.Eb=null;else if(o=nw(t.Eb),r==2)s=vot(t,e),t.Eb=o[s==0?1:0];else{for(h=Vt(aa,Ln,1,r-1,5,1),n=2,d=0,m=0;n<=128;n<<=1)n==e?++d:t.Db&n&&(h[m++]=o[d++]);t.Eb=h}t.Db&=~e}function B6t(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=Uf}return e}function dxn(t,e,n,r,s){var o,h,d,m;if($t(t)===$t(e)&&r==s){Q0e(t,r,n);return}for(d=0;d<r;d++){for(h=0,o=t[d],m=0;m<s;m++)h=Qa(Qa(Ja(sa(o,So),sa(e[m],So)),sa(n[d+m],So)),sa(qr(h),So)),n[d+m]=qr(h),h=Ab(h,32);n[d+s]=qr(h)}}function gxn(t){var e,n,r,s,o,h,d,m,k,T,A;for(T=0,k=0,s=t.a,d=s.a.gc(),r=s.a.ec().Kc();r.Ob();)n=u(r.Pb(),567),e=(n.b&&bct(n),n.a),A=e.a,h=e.b,T+=A+h,k+=A*h;return m=b.Math.sqrt(400*d*k-4*k+T*T)+T,o=2*(100*d-1),o==0?m:m/o}function tde(t,e){e.b!=0&&(isNaN(t.s)?t.s=Rt((ur(e.b!=0),Ht(e.a.a.c))):t.s=b.Math.min(t.s,Rt((ur(e.b!=0),Ht(e.a.a.c)))),isNaN(t.c)?t.c=Rt((ur(e.b!=0),Ht(e.c.b.c))):t.c=b.Math.max(t.c,Rt((ur(e.b!=0),Ht(e.c.b.c)))))}function S_(t){var e,n,r,s;for(e=null,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)])));Mr(r);)if(n=u(dr(r),84),s=Jo(n),!e)e=Ji(s);else if(e!=Ji(s))return!0;return!1}function Got(t,e){var n,r,s,o;t.Pj()?(n=t.i,o=t.Qj(),PI(t,e),r=t.Ij(3,null,e,n,o),t.Mj()?(s=t.Nj(e,null),t.Tj()&&(s=t.Uj(e,s)),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(PI(t,e),t.Mj()&&(s=t.Nj(e,null),s&&s.oj()))}function pxn(t,e){var n,r,s,o;if(o=yI(t.a,e.b),!o)throw at(new Ro("Invalid hitboxes for scanline overlap calculation."));for(s=!1,r=t.a.a.ec().Kc();r.Ob();)if(n=u(r.Pb(),68),Kpn(e.b,n))Trn(t.b.a,e.b,n),s=!0;else if(s)break}function bxn(t){var e;if(!t.a)throw at(new Ro("IDataType class expected for layout option "+t.f));if(e=edn(t.a),e==null)throw at(new Ro("Couldn't create new instance of property '"+t.f+"'. "+dwe+(wg(UP),UP.k)+lTt));return u(e,423)}function Kot(t){var e,n,r,s,o;return o=t.Ph(),o&&o.Vh()&&(s=jb(t,o),s!=o)?(n=t.Fh(),r=(e=t.Fh(),e>=0?t.Ah(null):t.Ph().Th(t,-1-e,null,null)),t.Bh(u(s,54),n),r&&r.oj(),t.vh()&&t.wh()&&n>-1&&Ei(t,new ha(t,9,n,o,s)),s):o}function R6t(t,e){var n,r,s,o,h;for(o=t.b.Ce(e),r=(n=t.a.get(o),n??Vt(aa,Ln,1,0,5,1)),h=0;h<r.length;h++)if(s=r[h],t.b.Be(e,s.ld()))return r.length==1?(r.length=0,man(t.a,o)):r.splice(h,1),--t.c,++t.b.g,s.md();return null}function ede(t){var e,n,r,s,o,h,d,m;for(h=0,o=t.f.e,r=0;r<o.c.length;++r)for(d=(vn(r,o.c.length),u(o.c[r],153)),s=r+1;s<o.c.length;++s)m=(vn(s,o.c.length),u(o.c[s],153)),n=Nb(d.d,m.d),e=n-t.a[d.a][m.a],h+=t.i[d.a][m.a]*e*e;return h}function wxn(t,e){var n;if(!qi(e,(De(),Iu))&&(n=Rvn(u(X(e,wSt),371),u(X(t,Iu),171)),Zt(e,wSt,n),!Mr(new rr(sr(Dg(e).a.Kc(),new z)))))switch(n.g){case 1:Zt(e,Iu,(Rh(),OA));break;case 2:Zt(e,Iu,(Rh(),NA))}}function mxn(t,e){var n;M8n(t),t.a=(n=new irt,ms(new ln(null,new gn(e.d,16)),new iUt(n)),n),K8n(t,u(X(e.b,(De(),i1t)),349)),Cmn(t),Cxn(t),$vn(t),Smn(t),jTn(t,e),ms(fc(new ln(null,$re(kln(t.b).a)),new sC),new wJ),e.a=!1,t.a=null}function j6t(){j6t=V,Wke=new un(T7t,(Pn(),!1)),Yke=new un(C7t,7),he(0),Zke=new un(S7t,he(0)),Qke=new un(_7t,he(-1)),yLt=(a_(),G1t),t8e=new un(A7t,yLt),mLt=(s_(),dP),Xke=new un(L7t,mLt),vLt=(uq(),K1t),Jke=new un(D7t,vLt)}function nde(){r6t.call(this,hT,(kb(),Z7e)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function O7(){O7=V,Zdt=new P6(D2e,0),VK=new P6("INSIDE_SELF_LOOPS",1),UK=new P6("MULTI_EDGES",2),HK=new P6("EDGE_LABELS",3),Jdt=new P6("PORTS",4),qK=new P6("COMPOUND",5),zK=new P6("CLUSTERS",6),Qdt=new P6("DISCONNECTED",7)}function rde(t,e,n){var r,s,o;t.Pj()?(o=t.Qj(),++t.j,t.qj(e,t.Zi(e,n)),r=t.Ij(3,null,n,e,o),t.Mj()?(s=t.Nj(n,null),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(++t.j,t.qj(e,t.Zi(e,n)),t.Mj()&&(s=t.Nj(n,null),s&&s.oj()))}function ide(t,e){var n,r,s;if(e==0)return(t.a[0]&1)!=0;if(e<0)throw at(new f$("Negative bit address"));if(s=e>>5,s>=t.d)return t.e<0;if(n=t.a[s],e=1<<(e&31),t.e<0){if(r=uce(t),s<r)return!1;r==s?n=-n:n=~n}return(n&e)!=0}function vxn(t,e,n,r){var s;u(n.b,68),u(n.b,68),u(r.b,68),u(r.b,68),s=ia(Oa(u(n.b,68).c),u(r.b,68).c),xz(s,b1e(u(n.b,68),u(r.b,68),s)),u(r.b,68),u(r.b,68),u(r.b,68).c.a+s.a,u(r.b,68).c.b+s.b,u(r.b,68),Cu(r.a,new Pvt(t,e,r))}function $6t(t,e){var n,r,s,o,h,d,m;if(o=e.e,o){for(n=Kot(o),r=u(t.g,689),h=0;h<t.i;++h)if(m=r[h],dot(m)==n&&(s=(!m.d&&(m.d=new Ps(Do,m,1)),m.d),d=u(n.Mh(oct(o,o.Cb,o.Db>>16)),15).dd(o),d<s.i))return $6t(t,u(Dt(s,d),89))}return e}function D(t,e,n){var r=DU,s,o=r[t],h=o instanceof Array?o[0]:null;o&&!h?l=o:(l=(s=e&&e.prototype,!s&&(s=DU[e]),sfn(s)),l.Sm=n,!e&&(l.Tm=yt),r[t]=l);for(var d=3;d<arguments.length;++d)arguments[d].prototype=l;h&&(l.Rm=h)}function Mr(t){for(var e;!u(Hr(t.a),51).Ob();){if(t.d=lbn(t),!t.d)return!1;if(t.a=u(t.d.Pb(),51),Lt(t.a,37)){if(e=u(t.a,37),t.a=e.a,!t.b&&(t.b=new K4),Ob(t.b,t.d),e.b)for(;!WC(e.b);)Ob(t.b,u(iln(e.b),51));t.d=e.d}}return!0}function z6t(t,e){var n,r,s,o;for(s=1,e.j=!0,o=null,r=new G(s5(e));r.a<r.c.c.length;)n=u(et(r),218),t.c[n.c]||(t.c[n.c]=!0,o=gH(n,e),n.f?s+=z6t(t,o):!o.j&&n.a==n.e.e-n.d.e&&(n.f=!0,qs(t.p,n),s+=z6t(t,o)));return s}function yxn(t){var e,n,r;for(n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=(Wn(0),0),r>0&&(!(bg(t.a.c)&&e.n.d)&&!(q4(t.a.c)&&e.n.b)&&(e.g.d+=b.Math.max(0,r/2-.5)),!(bg(t.a.c)&&e.n.a)&&!(q4(t.a.c)&&e.n.c)&&(e.g.a-=r-1))}function sde(t){var e,n,r,s,o;if(s=new fe,o=tge(t,s),e=u(X(t,(oe(),ml)),10),e)for(r=new G(e.j);r.a<r.c.c.length;)n=u(et(r),12),$t(X(n,Li))===$t(t)&&(o=b.Math.max(o,tge(n,s)));return s.c.length==0||Zt(t,V5,o),o!=-1?s:null}function ade(t,e,n){var r,s,o,h,d,m;o=u(Oe(e.e,0),18).c,r=o.i,s=r.k,m=u(Oe(n.g,0),18).d,h=m.i,d=h.k,s==(Un(),fa)?Zt(t,(oe(),N1),u(X(r,N1),12)):Zt(t,(oe(),N1),o),d==fa?Zt(t,(oe(),gf),u(X(h,gf),12)):Zt(t,(oe(),gf),m)}function q6t(t){var e,n,r;this.c=t,r=u(X(t,(De(),ph)),88),e=Rt(Ht(X(t,OG))),n=Rt(Ht(X(t,bAt))),r==(Rs(),Uo)||r==tc||r==Ed?this.b=e*n:this.b=1/(e*n),this.j=Rt(Ht(X(t,X5))),this.e=Rt(Ht(X(t,Av))),this.f=t.b.c.length}function H6t(t,e){var n,r,s,o,h;return e&=63,n=t.h,r=(n&aN)!=0,r&&(n|=-1048576),e<22?(h=n>>e,o=t.m>>e|n<<22-e,s=t.l>>e|t.m<<22-e):e<44?(h=r?Fg:0,o=n>>e-22,s=t.m>>e-22|n<<44-e):(h=r?Fg:0,o=r?Il:0,s=n>>e-44),Eu(s&Il,o&Il,h&Fg)}function Wot(t){var e,n,r,s,o,h;for(this.c=new fe,this.d=t,r=Zi,s=Zi,e=Vs,n=Vs,h=Dr(t,0);h.b!=h.d.c;)o=u(Ar(h),8),r=b.Math.min(r,o.a),s=b.Math.min(s,o.b),e=b.Math.max(e,o.a),n=b.Math.max(n,o.b);this.a=new Ah(r,s,e-r,n-s)}function ode(t,e){var n,r,s,o,h,d;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;)for(h=u(et(d),10),h.k==(Un(),Vc)&&xk(h,e),r=new rr(sr(_s(h).a.Kc(),new z));Mr(r);)n=u(dr(r),18),Nce(n,e)}function xxn(t,e){var n,r,s;for(e.Ug("Layer constraint preprocessing",1),n=new fe,s=new La(t.a,0);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),10)),Wpn(r)&&(r3n(r),In(n.c,r),Kl(s));n.c.length==0||Zt(t,(oe(),Uft),n),e.Vg()}function kxn(t){var e,n;for(t.e=Vt(Fr,ii,28,t.p.c.length,15,1),t.k=Vt(Fr,ii,28,t.p.c.length,15,1),n=new G(t.p);n.a<n.c.c.length;)e=u(et(n),10),t.e[e.p]=xg(new rr(sr(ua(e).a.Kc(),new z))),t.k[e.p]=xg(new rr(sr(_s(e).a.Kc(),new z)))}function Exn(t){var e,n,r,s,o,h;for(s=0,t.q=new fe,e=new Os,h=new G(t.p);h.a<h.c.c.length;){for(o=u(et(h),10),o.p=s,r=new rr(sr(_s(o).a.Kc(),new z));Mr(r);)n=u(dr(r),18),qs(e,n.d.i);e.a.Bc(o)!=null,ge(t.q,new LS(e)),e.a.$b(),++s}}function cde(t,e){var n,r,s,o,h,d,m,k,T;if(t.a.f>0&&Lt(e,44)&&(t.a._j(),k=u(e,44),m=k.ld(),o=m==null?0:$i(m),h=lvt(t.a,o),n=t.a.d[h],n)){for(r=u(n.g,379),T=n.i,d=0;d<T;++d)if(s=r[d],s.Bi()==o&&s.Fb(k))return cde(t,k),!0}return!1}function Txn(t){var e,n,r,s,o,h,d;if(e=t.qi(hf),e&&(d=Gr(L1((!e.b&&(e.b=new Ul((wn(),wo),Mc,e)),e.b),"settingDelegates")),d!=null)){for(n=new fe,s=s3(d,"\\w+"),o=0,h=s.length;o<h;++o)r=s[o],In(n.c,r);return n}return mn(),mn(),co}function Cxn(t){var e,n,r,s;for(s=u(Ai(t.a,(Qy(),wG)),15).Kc();s.Ob();)r=u(s.Pb(),105),n=(e=U6(r.k),e.Hc((ve(),Hn))?e.Hc(Jn)?e.Hc(Er)?e.Hc(Gn)?null:$4e:q4e:z4e:j4e),NE(t,r,n[0],(Vm(),wv),0),NE(t,r,n[1],r2,1),NE(t,r,n[2],mv,1)}function Sxn(t,e){var n,r;n=aEn(e),Kkn(t,e,n),ffe(t.a,u(X(Pa(e.b),(oe(),Kk)),234)),AEn(t),Xyn(t,e),r=Vt(Fr,ii,28,e.b.j.c.length,15,1),Act(t,e,(ve(),Hn),r,n),Act(t,e,Jn,r,n),Act(t,e,Er,r,n),Act(t,e,Gn,r,n),t.a=null,t.c=null,t.b=null}function V6t(t,e,n){switch(e){case 7:!t.e&&(t.e=new kn(Ts,t,7,4)),Ir(t.e),!t.e&&(t.e=new kn(Ts,t,7,4)),gs(t.e,u(n,16));return;case 8:!t.d&&(t.d=new kn(Ts,t,8,5)),Ir(t.d),!t.d&&(t.d=new kn(Ts,t,8,5)),gs(t.d,u(n,16));return}Rxt(t,e,n)}function U6t(t,e){var n,r,s,o,h;if($t(e)===$t(t))return!0;if(!Lt(e,15)||(h=u(e,15),t.gc()!=h.gc()))return!1;for(o=h.Kc(),r=t.Kc();r.Ob();)if(n=r.Pb(),s=o.Pb(),!($t(n)===$t(s)||n!=null&&Ti(n,s)))return!1;return!0}function _xn(t,e){var n,r,s,o;for(o=u(nc(fc(fc(new ln(null,new gn(e.b,16)),new X9),new Q9),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),o.Jc(new RB),n=0,s=o.Kc();s.Ob();)r=u(s.Pb(),12),r.p==-1&&G6t(t,r,n++)}function ude(t){switch(t.g){case 0:return new rnt;case 1:return new ent;case 2:return new nnt;case 3:return new LXt;case 4:return new Yte;default:throw at(new zn("No implementation is available for the node placer "+(t.f!=null?t.f:""+t.g)))}}function lde(t){switch(t.g){case 0:return new lyt;case 1:return new Ket;case 2:return new Mj;case 3:return new g6;case 4:return new vQt;default:throw at(new zn("No implementation is available for the cycle breaker "+(t.f!=null?t.f:""+t.g)))}}function Axn(t,e){var n,r,s,o,h;r=new Ki,hs(r,e,r.c.b,r.c);do for(n=(ur(r.b!=0),u(Oh(r,r.a.a),39)),t.b[n.g]=1,o=Dr(n.d,0);o.b!=o.d.c;)s=u(Ar(o),65),h=s.c,t.b[h.g]==1?Zr(t.a,s):t.b[h.g]==2?t.b[h.g]=1:hs(r,h,r.c.b,r.c);while(r.b!=0)}function Lxn(t,e,n){var r;r=null,e&&(r=e.d),k_(t,new kE(e.n.a-r.b+n.a,e.n.b-r.d+n.b)),k_(t,new kE(e.n.a-r.b+n.a,e.n.b+e.o.b+r.a+n.b)),k_(t,new kE(e.n.a+e.o.a+r.c+n.a,e.n.b-r.d+n.b)),k_(t,new kE(e.n.a+e.o.a+r.c+n.a,e.n.b+e.o.b+r.a+n.b))}function G6t(t,e,n){var r,s,o;for(e.p=n,o=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(e),new k6(e)])));Mr(o);)r=u(dr(o),12),r.p==-1&&G6t(t,r,n);if(e.i.k==(Un(),fa))for(s=new G(e.i.j);s.a<s.c.c.length;)r=u(et(s),12),r!=e&&r.p==-1&&G6t(t,r,n)}function Dxn(t,e){var n,r,s,o,h,d;for(r=new kp,h=gq(new hl(t.g)),o=h.a.ec().Kc();o.Ob();){if(s=u(o.Pb(),10),!s){e.bh("There are no classes in a balanced layout.");break}d=t.j[s.p],n=u(od(r,d),15),n||(n=new fe,Op(r,d,n)),n.Fc(s)}return r}function hde(t){var e,n,r,s,o;if(s=u(nc(r3t(a3t(t)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),r=S5,s.gc()>=2)for(n=s.Kc(),e=Ht(n.Pb());n.Ob();)o=e,e=Ht(n.Pb()),r=b.Math.min(r,(Wn(e),e-(Wn(o),o)));return r}function Mxn(t,e){var n,r,s;for(s=new fe,r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.b.g==t.g&&!hn(n.b.c,nU)&&$t(X(n.b,(Cc(),h0)))!==$t(X(n.c,h0))&&!t5(new ln(null,new gn(s,16)),new VUt(n))&&In(s.c,n);return Ds(s,new NZ),s}function Ixn(t,e){var n,r,s;if($t(e)===$t(Hr(t)))return!0;if(!Lt(e,15)||(r=u(e,15),s=t.gc(),s!=r.gc()))return!1;if(Lt(r,59)){for(n=0;n<s;n++)if(!Ud(t.Xb(n),r.Xb(n)))return!1;return!0}else return Omn(t.Kc(),r.Kc())}function Oxn(t,e,n,r,s,o){var h,d,m,k;for(d=!wE(_i(t.Oc(),new Sl(new sm))).Bd((U2(),Rk)),h=t,o==(Rs(),Gh)&&(h=Bh(h)),k=h.Kc();k.Ob();)m=u(k.Pb(),72),m.n.a=e.a,d?m.n.b=e.b+(r.b-m.o.b)/2:s?m.n.b=e.b:m.n.b=e.b+r.b-m.o.b,e.a+=m.o.a+n}function Nxn(t,e){var n,r,s,o,h;for(e.Ug("Port side processing",1),h=new G(t.a);h.a<h.c.c.length;)s=u(et(h),10),Cge(s);for(r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),10),Cge(s);e.Vg()}function Pxn(t,e,n){var r,s,o,h,d,m,k;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=qE(n,h.a),m&&(k=xgn(yg(m,Ylt),e),hi(t.f,k,m),s=a0 in m.a,s&&n7(k,yg(m,a0)),qH(m,k),E6t(m,k))}function Fxn(t,e,n){var r,s,o,h,d;if(d=n,!d&&(d=Yvt(new S6,0)),d.Ug(u2e,1),ope(t.c,e),h=$9n(t.a,e),h.gc()==1)qge(u(h.Xb(0),36),d);else for(o=1/h.gc(),s=h.Kc();s.Ob();){if(r=u(s.Pb(),36),n.$g())return;qge(r,d.eh(o))}Jnn(t.a,h,e),g8n(e),d.Vg()}function fde(t,e,n){var r,s,o,h,d;if(s=t.f,!s&&(s=u(t.a.a.ec().Kc().Pb(),60)),x_(s,e,n),t.a.a.gc()!=1)for(r=e*n,h=t.a.a.ec().Kc();h.Ob();)o=u(h.Pb(),60),o!=s&&(d=ek(o),d.f.d?(o.d.d+=r+gd,o.d.a-=r+gd):d.f.a&&(o.d.a-=r+gd))}function Yot(t,e,n,r,s){var o,h,d,m,k,T,A,P,$;return h=n-t,d=r-e,o=b.Math.atan2(h,d),m=o+Mut,k=o-Mut,T=s*b.Math.sin(m)+t,P=s*b.Math.cos(m)+e,A=s*b.Math.sin(k)+t,$=s*b.Math.cos(k)+e,id(lt(ut(la,1),ue,8,0,[new ae(T,P),new ae(A,$)]))}function Bxn(t,e,n,r){var s,o,h,d,m,k,T,A;s=n,T=e,o=T;do o=t.a[o.p],d=(A=t.g[o.p],Rt(t.p[A.p])+Rt(t.d[o.p])-o.d.d),m=Bgn(o,r),m&&(h=(k=t.g[m.p],Rt(t.p[k.p])+Rt(t.d[m.p])+m.o.b+m.d.a),s=b.Math.min(s,d-(h+U4(t.k,o,m))));while(T!=o);return s}function Rxn(t,e,n,r){var s,o,h,d,m,k,T,A;s=n,T=e,o=T;do o=t.a[o.p],h=(A=t.g[o.p],Rt(t.p[A.p])+Rt(t.d[o.p])+o.o.b+o.d.a),m=Hpn(o,r),m&&(d=(k=t.g[m.p],Rt(t.p[k.p])+Rt(t.d[m.p])-m.d.d),s=b.Math.min(s,d-(h+U4(t.k,o,m))));while(T!=o);return s}function dde(t,e){var n;if(e.Ug("Equal Whitespace Eliminator",1),ad(t,(N0(),wK)))Gbn(u(ne(t,wK),15),Rt(Ht(ne(t,HT))),(n=Rt(Ht(ne(t,tL))),Rt(Ht(ne(t,(fd(),iL)))),n));else throw at(new fp("The graph does not contain rows."));e.Vg()}function ne(t,e){var n,r;return r=(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),L1(t.o,e)),r??(n=e.Sg(),Lt(n,4)&&(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))),n)}function e3(){e3=V,Qf=new B4("H_LEFT",0),qg=new B4("H_CENTER",1),Jf=new B4("H_RIGHT",2),t1=new B4("V_TOP",3),W0=new B4("V_CENTER",4),bf=new B4("V_BOTTOM",5),bh=new B4("INSIDE",6),Zf=new B4("OUTSIDE",7),pf=new B4("H_PRIORITY",8)}function jxn(t,e){var n,r,s,o,h,d,m;if(!e.f)throw at(new zn("The input edge is not a tree edge."));for(o=null,s=xi,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),218),d=n.d,m=n.e,Hot(t,d,e)&&!Hot(t,m,e)&&(h=m.e-d.e-n.a,h<s&&(s=h,o=n));return o}function $xn(t){var e,n,r,s,o,h;if(!(t.f.e.c.length<=1)){e=0,s=ede(t),n=Zi;do{for(e>0&&(s=n),h=new G(t.f.e);h.a<h.c.c.length;)o=u(et(h),153),!Ie(Me(X(o,(TO(),xCt))))&&(r=ZEn(t,o),ki(k1(o.d),r));n=ede(t)}while(!Tln(t,e++,s,n))}}function zxn(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),72),s=n.n,t.a==(ud(),yT)||t.i==(ve(),Jn)?s.a=o:t.a==xT||t.i==(ve(),Gn)?s.a=o+t.j.a-n.o.a:s.a=o+(t.j.a-n.o.a)/2,s.b=h,ki(s,e),h+=n.o.b+t.e}function qxn(t,e){var n,r,s,o,h,d,m,k,T,A;k=t,m=VS(k,"individualSpacings"),m&&(r=ad(e,(ai(),Zk)),h=!r,h&&(s=new iM,Mi(e,Zk,s)),d=u(ne(e,Zk),385),A=m,o=null,A&&(o=(T=cat(A,Vt(Pe,ue,2,0,6,1)),new crt(A,T))),o&&(n=new rQt(A,d),Fa(o,n)))}function Hxn(t,e){var n,r,s,o,h,d,m,k,T,A,P;return m=null,A=t,T=null,(nme in A.a||rme in A.a||hU in A.a)&&(k=null,P=V4t(e),h=VS(A,nme),n=new AGt(P),iwn(n.a,h),d=VS(A,rme),r=new RGt(P),swn(r.a,d),o=jm(A,hU),s=new zGt(P),k=(Hyn(s.a,o),o),T=k),m=T,m}function Vxn(t,e){var n,r,s;if(e===t)return!0;if(Lt(e,552)){if(s=u(e,849),t.a.d!=s.a.d||X4(t).gc()!=X4(s).gc())return!1;for(r=X4(s).Kc();r.Ob();)if(n=u(r.Pb(),425),gre(t,n.a.ld())!=u(n.a.md(),16).gc())return!1;return!0}return!1}function Uxn(t){var e,n,r,s;return r=u(t.a,17).a,s=u(t.b,17).a,e=r,n=s,r==0&&s==0?n-=1:r==-1&&s<=0?(e=0,n-=2):r<=0&&s>0?(e-=1,n-=1):r>=0&&s<0?(e+=1,n+=1):r>0&&s>=0?(e-=1,n+=1):(e+=1,n-=1),new Ws(he(e),he(n))}function Gxn(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?$i(t.a)-$i(e.a):t.d==(US(),KA)&&e.d==GA?-1:t.d==GA&&e.d==KA?1:0}function gde(t,e){var n,r,s,o,h;return o=e.a,o.c.i==e.b?h=o.d:h=o.c,o.c.i==e.b?r=o.c:r=o.d,s=gwn(t.a,h,r),s>0&&s<S5?(n=Bxn(t.a,r.i,s,t.c),coe(t.a,r.i,-n),n>0):s<0&&-s<S5?(n=Rxn(t.a,r.i,-s,t.c),coe(t.a,r.i,n),n>0):!1}function Kxn(t,e,n,r){var s,o,h,d,m,k,T,A;for(s=(e-t.d)/t.c.c.length,o=0,t.a+=n,t.d=e,A=new G(t.c);A.a<A.c.c.length;)T=u(et(A),27),k=T.g,m=T.f,Su(T,T.i+o*s),_u(T,T.j+r*n),qm(T,T.g+s),zm(T,t.a),++o,d=T.g,h=T.f,c1e(T,new ae(d,h),new ae(k,m))}function Wxn(t){var e,n,r,s,o,h,d;if(t==null)return null;for(d=t.length,s=(d+1)/2|0,h=Vt(ul,M5,28,s,15,1),d%2!=0&&(h[--s]=gkt((qn(d-1,t.length),t.charCodeAt(d-1)))),n=0,r=0;n<s;++n)e=gkt(Va(t,r++)),o=gkt(Va(t,r++)),h[n]=(e<<4|o)<<24>>24;return h}function Yxn(t){if(t.ze()){var e=t.c;e.Ae()?t.o="["+e.n:e.ze()?t.o="["+e.xe():t.o="[L"+e.xe()+";",t.b=e.we()+"[]",t.k=e.ye()+"[]";return}var n=t.j,r=t.d;r=r.split("/"),t.o=Jat(".",[n,Jat("$",r)]),t.b=Jat(".",[n,Jat(".",r)]),t.k=r[r.length-1]}function Xxn(t,e){var n,r,s,o,h;for(h=null,o=new G(t.e.a);o.a<o.c.c.length;)if(s=u(et(o),125),s.b.a.c.length==s.g.a.c.length){for(r=s.e,h=D4n(s),n=s.e-u(h.a,17).a+1;n<s.e+u(h.b,17).a;n++)e[n]<e[r]&&(r=n);e[r]<e[s.e]&&(--e[s.e],++e[r],s.e=r)}}function Xot(t){var e,n,r,s,o,h,d,m;for(s=Zi,r=Vs,n=new G(t.e.b);n.a<n.c.c.length;)for(e=u(et(n),30),h=new G(e.a);h.a<h.c.c.length;)o=u(et(h),10),m=Rt(t.p[o.p]),d=m+Rt(t.b[t.g[o.p].p]),s=b.Math.min(s,m),r=b.Math.max(r,d);return r-s}function pde(t){Tct();var e,n,r,s;return r=$d(t,Hu(35)),e=r==-1?t:(Da(0,r,t.length),t.substr(0,r)),n=r==-1?null:(qn(r+1,t.length+1),t.substr(r+1)),s=fdn(jIt,e),s?n!=null&&(s=uue(s,(Wn(n),n))):(s=OSn(e),Cdn(jIt,e,s),n!=null&&(s=uue(s,n))),s}function K6t(t,e,n,r){var s,o,h,d,m;for(s=Ekt(t,e),d=0,m=s.gc();d<m;++d)if(o=u(s.Xb(d),179),hn(r,RE($o(t,o)))){if(h=TI($o(t,o)),n==null){if(h==null)return o}else if(hn(n,h))return o}return null}function W6t(t,e,n,r){var s,o,h,d,m;for(s=cct(t,e),d=0,m=s.gc();d<m;++d)if(o=u(s.Xb(d),179),hn(r,RE($o(t,o)))){if(h=TI($o(t,o)),n==null){if(h==null)return o}else if(hn(n,h))return o}return null}function Qxn(t,e,n){var r,s,o,h,d,m;if(h=new pb,d=Lu(t.e.Dh(),e),r=u(t.g,124),vo(),u(e,69).xk())for(o=0;o<t.i;++o)s=r[o],d.am(s.Lk())&&Or(h,s);else for(o=0;o<t.i;++o)s=r[o],d.am(s.Lk())&&(m=s.md(),Or(h,n?C_(t,e,o,h.i,m):m));return v3t(h)}function bde(t){var e,n,r,s,o,h,d;if(t&&(e=t.qi(hf),e&&(h=Gr(L1((!e.b&&(e.b=new Ul((wn(),wo),Mc,e)),e.b),"conversionDelegates")),h!=null))){for(d=new fe,r=s3(h,"\\w+"),s=0,o=r.length;s<o;++s)n=r[s],In(d.c,n);return d}return mn(),mn(),co}function wde(t,e){var n,r,s,o,h,d,m,k;for(h=e==1?oft:aft,o=h.a.ec().Kc();o.Ob();)for(s=u(o.Pb(),88),m=u(Ai(t.f.c,s),21).Kc();m.Ob();)switch(d=u(m.Pb(),42),r=u(d.b,86),k=u(d.a,194),n=k.c,s.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function Jxn(t,e){var n,r,s,o,h;for(n=new d_(TT),s=(wk(),lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5])),o=0,h=s.length;o<h;++o)r=s[o],gvt(n,r,new fe);return ms(Wo(_i(fc(new ln(null,new gn(t.b,16)),new TQ),new J9),new FVt(e)),new BVt(n)),n}function YH(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=e.Kc();o.Ob();)s=u(o.Pb(),27),T=s.i+s.g/2,P=s.j+s.f/2,m=t.f,h=m.i+m.g/2,d=m.j+m.f/2,k=T-h,A=P-d,r=b.Math.sqrt(k*k+A*A),k*=t.e/r,A*=t.e/r,n?(T-=k,P-=A):(T+=k,P+=A),Su(s,T-s.g/2),_u(s,P-s.f/2)}function g5(t){var e,n,r;if(!t.c&&t.b!=null){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(r=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=r,r=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=r);t.c=!0}}function Zxn(t,e){var n,r,s,o,h,d,m,k,T;for(k=-1,T=0,h=t,d=0,m=h.length;d<m;++d){for(o=h[d],n=new fte(k==-1?t[0]:t[k],e,(o_(),QG)),r=0;r<o.length;r++)for(s=r+1;s<o.length;s++)qi(o[r],(oe(),Pi))&&qi(o[s],Pi)&&Kpe(n,o[r],o[s])>0&&++T;++k}return T}function qf(t){var e,n;return n=new eh(V2(t.Rm)),n.a+="@",ni(n,(e=$i(t)>>>0,e.toString(16))),t.Vh()?(n.a+=" (eProxyURI: ",tu(n,t._h()),t.Kh()&&(n.a+=" eClass: ",tu(n,t.Kh())),n.a+=")"):t.Kh()&&(n.a+=" (eClass: ",tu(n,t.Kh()),n.a+=")"),n.a}function __(t){var e,n,r,s;if(t.e)throw at(new Ro((wg($ht),wut+$ht.k+mut)));for(t.d==(Rs(),Ed)&&bV(t,Uo),n=new G(t.a.a);n.a<n.c.c.length;)e=u(et(n),316),e.g=e.i;for(s=new G(t.a.b);s.a<s.c.c.length;)r=u(et(s),60),r.i=Vs;return t.b.cf(t),t}function t6n(t,e){var n,r,s,o,h;if(e<2*t.b)throw at(new zn("The knot vector must have at least two time the dimension elements."));for(t.f=1,s=0;s<t.b;s++)ge(t.e,0);for(h=e+1-2*t.b,n=h,o=1;o<h;o++)ge(t.e,o/n);if(t.d)for(r=0;r<t.b;r++)ge(t.e,1)}function mde(t,e){var n,r,s,o,h,d,m,k,T;if(k=e,T=u(Hq(Kit(t.i),k),27),!T)throw s=yg(k,a0),d="Unable to find elk node for json object '"+s,m=d+"' Panic!",at(new Rd(m));o=jm(k,"edges"),n=new YXt(t,T),j5n(n.a,n.b,o),h=jm(k,Xlt),r=new yGt(t),Hvn(r.a,h)}function vde(t,e,n,r){var s,o,h,d,m;if(r!=null){if(s=t.d[e],s){for(o=s.g,m=s.i,d=0;d<m;++d)if(h=u(o[d],136),h.Bi()==n&&Ti(r,h.ld()))return d}}else if(s=t.d[e],s){for(o=s.g,m=s.i,d=0;d<m;++d)if(h=u(o[d],136),$t(h.ld())===$t(r))return d}return-1}function N7(t,e){var n,r,s;return n=e==null?Ko(Eo(t.f,null)):iS(t.i,e),Lt(n,241)?(s=u(n,241),s.zi()==null,s):Lt(n,507)?(r=u(n,2037),s=r.a,s&&(s.yb==null||(e==null?yu(t.f,null,s):Km(t.i,e,s))),s):null}function e6n(t){hkt();var e,n,r,s,o,h,d;if(t==null||(s=t.length,s%2!=0))return null;for(e=Lq(t),o=s/2|0,n=Vt(ul,M5,28,o,15,1),r=0;r<o;r++){if(h=ML[e[r*2]],h==-1||(d=ML[e[r*2+1]],d==-1))return null;n[r]=(h<<4|d)<<24>>24}return n}function n6n(t,e,n){var r,s,o;if(s=u(Io(t.i,e),314),!s)if(s=new Zae(t.d,e,n),W6(t.i,e,s),Z5t(e))asn(t.a,e.c,e.b,s);else switch(o=j4n(e),r=u(Io(t.p,o),252),o.g){case 1:case 3:s.j=!0,Jnt(r,e.b,s);break;case 4:case 2:s.k=!0,Jnt(r,e.c,s)}return s}function r6n(t,e){var n,r,s,o,h,d,m,k,T;for(m=C0(t.c-t.b&t.a.length-1),k=null,T=null,o=new $S(t);o.a!=o.b;)s=u(cH(o),10),n=(d=u(X(s,(oe(),N1)),12),d?d.i:null),r=(h=u(X(s,gf),12),h?h.i:null),(k!=n||T!=r)&&(Q1e(m,e),k=n,T=r),In(m.c,s);Q1e(m,e)}function i6n(t,e,n,r){var s,o,h,d,m,k;if(d=new pb,m=Lu(t.e.Dh(),e),s=u(t.g,124),vo(),u(e,69).xk())for(h=0;h<t.i;++h)o=s[h],m.am(o.Lk())&&Or(d,o);else for(h=0;h<t.i;++h)o=s[h],m.am(o.Lk())&&(k=o.md(),Or(d,r?C_(t,e,h,d.i,k):k));return G5t(d,n)}function yde(t,e){var n,r,s,o,h,d,m,k;if(s=t.b[e.p],s>=0)return s;for(o=1,d=new G(e.j);d.a<d.c.c.length;)for(h=u(et(d),12),r=new G(h.g);r.a<r.c.c.length;)n=u(et(r),18),k=n.d.i,e!=k&&(m=yde(t,k),o=b.Math.max(o,m+1));return Z2n(t,e,o),o}function xde(t,e){var n,r,s,o,h,d,m,k;if(s=t.b[e.p],s>=0)return s;for(o=1,d=new G(e.j);d.a<d.c.c.length;)for(h=u(et(d),12),r=new G(h.e);r.a<r.c.c.length;)n=u(et(r),18),k=n.c.i,e!=k&&(m=xde(t,k),o=b.Math.max(o,m+1));return Dmn(t,e,o),o}function kde(t,e,n){var r,s,o;for(r=1;r<t.c.length;r++){for(o=(vn(r,t.c.length),u(t.c[r],10)),s=r;s>0&&e.Ne((vn(s-1,t.c.length),u(t.c[s-1],10)),o)>0;)Mh(t,s,(vn(s-1,t.c.length),u(t.c[s-1],10))),--s;vn(s,t.c.length),t.c[s]=o}n.a=new _r,n.b=new _r}function s6n(t,e,n){var r,s,o,h,d,m,k,T;for(T=(r=u(e.e&&e.e(),9),new _h(r,u(Ff(r,r.length),9),0)),m=s3(n,"[\\[\\]\\s,]+"),o=m,h=0,d=o.length;h<d;++h)if(s=o[h],Zy(s).length!=0){if(k=D1e(t,s),k==null)return null;zf(T,u(k,22))}return T}function a6n(t){var e,n,r,s;for(s=t.length,e=null,r=0;r<s;r++)n=(qn(r,t.length),t.charCodeAt(r)),$d(".*+?{[()|\\^$",Hu(n))>=0?(e||(e=new YC,r>0&&Mo(e,(Da(0,r,t.length),t.substr(0,r)))),e.a+="\\",PE(e,n&js)):e&&PE(e,n&js);return e?e.a:t}function o6n(t){var e,n,r;for(n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=(Wn(0),0),r>0&&(!(bg(t.a.c)&&e.n.d)&&!(q4(t.a.c)&&e.n.b)&&(e.g.d-=b.Math.max(0,r/2-.5)),!(bg(t.a.c)&&e.n.a)&&!(q4(t.a.c)&&e.n.c)&&(e.g.a+=b.Math.max(0,r-1)))}function Ede(t,e,n){var r,s;if((t.c-t.b&t.a.length-1)==2)e==(ve(),Hn)||e==Jn?(Nq(u(r_(t),15),(uh(),K0)),Nq(u(r_(t),15),h2)):(Nq(u(r_(t),15),(uh(),h2)),Nq(u(r_(t),15),K0));else for(s=new $S(t);s.a!=s.b;)r=u(cH(s),15),Nq(r,n)}function c6n(t,e){var n,r,s,o,h,d,m;for(s=DE(new O2t(t)),d=new La(s,s.c.length),o=DE(new O2t(e)),m=new La(o,o.c.length),h=null;d.b>0&&m.b>0&&(n=(ur(d.b>0),u(d.a.Xb(d.c=--d.b),27)),r=(ur(m.b>0),u(m.a.Xb(m.c=--m.b),27)),n==r);)h=n;return h}function Tde(t,e,n){var r,s,o,h;Tre(t,e)>Tre(t,n)?(r=gc(n,(ve(),Jn)),t.d=r.dc()?0:Sit(u(r.Xb(0),12)),h=gc(e,Gn),t.b=h.dc()?0:Sit(u(h.Xb(0),12))):(s=gc(n,(ve(),Gn)),t.d=s.dc()?0:Sit(u(s.Xb(0),12)),o=gc(e,Jn),t.b=o.dc()?0:Sit(u(o.Xb(0),12)))}function Cde(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),s.e.a=n*Rt(Ht(s.b.of($U))),s.e.b=(r=s.b,r.pf((ai(),Pl))?r.ag()==(ve(),Hn)?-r.Mf().b-Rt(Ht(r.of(Pl))):Rt(Ht(r.of(Pl))):r.ag()==(ve(),Hn)?-r.Mf().b:0)}function u6n(t,e){var n,r,s,o;for(e.Ug("Self-Loop pre-processing",1),r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),10),Y2n(n)&&(s=(o=new Ble(n),Zt(n,(oe(),kv),o),OEn(o),o),ms(Wo(fc(new ln(null,new gn(s.d,16)),new YB),new XB),new HQ),Skn(s));e.Vg()}function l6n(t){var e,n,r,s,o,h,d,m;e=!0,s=null,o=null;t:for(m=new G(t.a);m.a<m.c.c.length;)for(d=u(et(m),10),r=new rr(sr(ua(d).a.Kc(),new z));Mr(r);){if(n=u(dr(r),18),s&&s!=d){e=!1;break t}if(s=d,h=n.c.i,o&&o!=h){e=!1;break t}o=h}return e}function h6n(t,e,n){var r,s,o,h,d,m;for(o=-1,d=-1,h=0;h<e.c.length&&(s=(vn(h,e.c.length),u(e.c[h],339)),!(s.c>t.c));h++)s.a>=t.s&&(o<0&&(o=h),d=h);return m=(t.s+t.c)/2,o>=0&&(r=Q8n(t,e,o,d),m=Yrn((vn(r,e.c.length),u(e.c[r],339))),nxn(e,r,n)),m}function zr(t,e,n){var r,s,o,h,d,m,k;for(h=(o=new aM,o),_4t(h,(Wn(e),e)),k=(!h.b&&(h.b=new Ul((wn(),wo),Mc,h)),h.b),m=1;m<n.length;m+=2)SO(k,n[m-1],n[m]);for(r=(!t.Ab&&(t.Ab=new Jt(ci,t,0,3)),t.Ab),d=0;d<0;++d)s=_ln(u(Dt(r,r.i-1),598)),r=s;Or(r,h)}function Sde(t,e,n){var r,s,o;for(fan.call(this,new fe),this.a=e,this.b=n,this.e=t,r=(t.b&&bct(t),t.a),this.d=nne(r.a,this.a),this.c=nne(r.b,this.b),a2n(this,this.d,this.c),I5n(this),o=this.e.e.a.ec().Kc();o.Ob();)s=u(o.Pb(),272),s.c.c.length>0&&KTn(this,s)}function Y6t(t,e,n,r,s,o){var h,d,m;if(!s[e.a]){for(s[e.a]=!0,h=r,!h&&(h=new mq),ge(h.e,e),m=o[e.a].Kc();m.Ob();)d=u(m.Pb(),289),!(d.d==n||d.c==n)&&(d.c!=e&&Y6t(t,d.c,e,h,s,o),d.d!=e&&Y6t(t,d.d,e,h,s,o),ge(h.c,d),Hs(h.d,d.b));return h}return null}function f6n(t){var e,n,r,s,o,h,d;for(e=0,s=new G(t.e);s.a<s.c.c.length;)r=u(et(s),18),n=t5(new ln(null,new gn(r.b,16)),new oQ),n&&++e;for(h=new G(t.g);h.a<h.c.c.length;)o=u(et(h),18),d=t5(new ln(null,new gn(o.b,16)),new cQ),d&&++e;return e>=2}function d6n(t,e,n,r,s){var o,h,d,m,k,T;for(o=t.c.d.j,h=u(jh(n,0),8),T=1;T<n.b;T++)k=u(jh(n,T),8),hs(r,h,r.c.b,r.c),d=qd(ki(new io(h),k),.5),m=qd(new mst(i5t(o)),s),ki(d,m),hs(r,d,r.c.b,r.c),h=k,o=e==0?hH(o):C5t(o);Zr(r,(ur(n.b!=0),u(n.c.b.c,8)))}function g6n(t){e3();var e,n,r;return n=Hi(bh,lt(ut(Lo,1),te,95,0,[Zf])),!(tO(iq(n,t))>1||(e=Hi(Qf,lt(ut(Lo,1),te,95,0,[qg,Jf])),tO(iq(e,t))>1)||(r=Hi(t1,lt(ut(Lo,1),te,95,0,[W0,bf])),tO(iq(r,t))>1))}function X6t(t,e,n){var r,s,o;for(o=new G(t.t);o.a<o.c.c.length;)r=u(et(o),274),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Zr(e,r.b));for(s=new G(t.i);s.a<s.c.c.length;)r=u(et(s),274),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Zr(n,r.a))}function XH(t){var e,n,r,s,o;if(t.g==null&&(t.d=t.bj(t.f),Or(t,t.d),t.c))return o=t.f,o;if(e=u(t.g[t.i-1],51),s=e.Pb(),t.e=e,n=t.bj(s),n.Ob())t.d=n,Or(t,n);else for(t.d=null;!e.Ob()&&(ls(t.g,--t.i,null),t.i!=0);)r=u(t.g[t.i-1],51),e=r;return s}function p6n(t,e){var n,r,s,o,h,d;if(r=e,s=r.Lk(),Ng(t.e,s)){if(s.Si()&&dq(t,s,r.md()))return!1}else for(d=Lu(t.e.Dh(),s),n=u(t.g,124),o=0;o<t.i;++o)if(h=n[o],d.am(h.Lk()))return Ti(h,r)?!1:(u(c5(t,o,e),76),!0);return Or(t,e)}function b6n(t,e,n,r){var s,o,h,d;for(s=new Ig(t),y(s,(Un(),Vc)),Zt(s,(oe(),Li),e),Zt(s,IA,r),Zt(s,(De(),bs),(ka(),hu)),Zt(s,N1,e.c),Zt(s,gf,e.d),t0e(e,s),d=b.Math.floor(n/2),h=new G(s.j);h.a<h.c.c.length;)o=u(et(h),12),o.n.b=d;return s}function _de(t){var e,n,r,s,o,h,d;for(e=0,r=new G(t.a);r.a<r.c.c.length;)for(n=u(et(r),10),o=new rr(sr(_s(n).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t==s.d.i.c&&s.c.j==(ve(),Gn)&&(h=rd(s.c).b,d=rd(s.d).b,e=b.Math.max(e,b.Math.abs(d-h)));return e}function Ade(t,e,n){var r,s,o,h,d;for(n.Ug("ELK Force",1),Ie(Me(ne(e,(Vf(),dCt))))||sq((r=new by((xy(),new my(e))),r)),d=qce(e),Fvn(d),ibn(t,u(X(d,fCt),432)),h=yge(t.a,d),o=h.Kc();o.Ob();)s=u(o.Pb(),235),o7n(t.b,s,n.eh(1/h.gc()));d=Npe(h),Vpe(d),n.Vg()}function Q6t(t,e,n){switch(n.g){case 1:return new ae(e.a,b.Math.min(t.d.b,e.b));case 2:return new ae(b.Math.max(t.c.a,e.a),e.b);case 3:return new ae(e.a,b.Math.max(t.c.b,e.b));case 4:return new ae(b.Math.min(e.a,t.d.a),e.b)}return new ae(e.a,e.b)}function jO(t){var e,n,r;for(e=C0(1+(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c).i),ge(e,(!t.d&&(t.d=new kn(Ts,t,8,5)),t.d)),r=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));r.e!=r.i.gc();)n=u(ar(r),123),ge(e,(!n.d&&(n.d=new kn(Ts,n,8,5)),n.d));return Hr(e),new vS(e)}function Og(t){var e,n,r;for(e=C0(1+(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c).i),ge(e,(!t.e&&(t.e=new kn(Ts,t,7,4)),t.e)),r=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));r.e!=r.i.gc();)n=u(ar(r),123),ge(e,(!n.e&&(n.e=new kn(Ts,n,7,4)),n.e));return Hr(e),new vS(e)}function w6n(t){var e,n,r,s;if(t==null)return null;if(r=su(t,!0),s=NN.length,hn(r.substr(r.length-s,s),NN)){if(n=r.length,n==4){if(e=(qn(0,r.length),r.charCodeAt(0)),e==43)return sOt;if(e==45)return JTe}else if(n==3)return sOt}return Jy(r)}function m6n(t,e){var n,r,s,o,h;if(e.Ug("Breaking Point Processor",1),eCn(t),Ie(Me(X(t,(De(),xAt))))){for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),n=0,h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),o.p=n++;X7n(t),Gde(t,!0),Gde(t,!1)}e.Vg()}function v6n(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(A=r?(ve(),Gn):(ve(),Jn),s=!1,m=e[n],k=0,T=m.length;k<T;++k)d=m[k],!q6(u(X(d,(De(),bs)),101))&&(h=d.e,P=!gc(d,A).dc()&&!!h,P&&(o=Uxt(h),t.b=new Kxt(o,r?0:o.length-1)),s=s|a8n(t,d,A,P));return s}function Lde(t,e,n,r){var s,o,h;if(h=Pxt(e,n),In(r.c,e),t.j[h.p]==-1||t.j[h.p]==2||t.a[e.p])return r;for(t.j[h.p]=-1,o=new rr(sr(Dg(h).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!(!(!go(s)&&!(!go(s)&&s.c.i.c==s.d.i.c))||s==e))return Lde(t,s,h,r);return r}function y6n(t){var e,n,r,s;for(e=0,n=0,s=new G(t.j);s.a<s.c.c.length;)if(r=u(et(s),12),e=qr(Qa(e,mse(_i(new ln(null,new gn(r.e,16)),new n6)))),n=qr(Qa(n,mse(_i(new ln(null,new gn(r.g,16)),new xR)))),e>1||n>1)return 2;return e+n==1?2:0}function Dl(t,e){var n,r,s,o,h,d;return o=t.a*dut+t.b*1502,d=t.b*dut+11,n=b.Math.floor(d*lN),o+=n,d-=n*y8t,o%=y8t,t.a=o,t.b=d,e<=24?b.Math.floor(t.a*L9t[e]):(s=t.a*(1<<e-24),h=b.Math.floor(t.b*D9t[e]),r=s+h,r>=2147483648&&(r-=4294967296),r)}function Dde(t,e,n){var r,s,o,h,d,m,k;for(o=new fe,k=new Ki,h=new Ki,B7n(t,k,h,e),p9n(t,k,h,e,n),m=new G(t);m.a<m.c.c.length;)for(d=u(et(m),118),s=new G(d.k);s.a<s.c.c.length;)r=u(et(s),132),(!e||r.c==(C1(),o2))&&d.g>r.b.g&&In(o.c,r);return o}function x6n(t,e,n){var r,s,o,h,d,m;for(d=t.c,h=(n.q?n.q:(mn(),mn(),q0)).vc().Kc();h.Ob();)o=u(h.Pb(),44),r=!wE(_i(new ln(null,new gn(d,16)),new Sl(new jXt(e,o)))).Bd((U2(),Rk)),r&&(m=o.md(),Lt(m,4)&&(s=nxt(m),s!=null&&(m=s)),e.qf(u(o.ld(),149),m))}function k6n(t,e,n){var r,s;if(EI(t.b),E1(t.b,(pO(),vK),(tS(),kP)),E1(t.b,yK,e.g),E1(t.b,xK,e.a),t.a=XO(t.b,e),n.Ug("Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),47),r.Kf(e,n.eh(1));n.Vg()}function J6t(t,e,n){var r,s,o;if(o=y5((il(),ja),t.Dh(),e),o){if(vo(),!u(o,69).xk()&&(o=tk($o(ja,o)),!o))throw at(new zn(Jb+e.xe()+aA));s=(r=t.Ih(o),u(r>=0?t.Lh(r,!0,!0):tv(t,o,!0),160)),u(s,220).Xl(e,n)}else throw at(new zn(Jb+e.xe()+aA))}function QH(t,e){var n,r,s,o,h;if(e){for(o=Lt(t.Cb,90)||Lt(t.Cb,102),h=!o&&Lt(t.Cb,331),r=new Zn((!e.a&&(e.a=new DS(e,Do,e)),e.a));r.e!=r.i.gc();)if(n=u(ar(r),89),s=lV(n),o?Lt(s,90):h?Lt(s,156):s)return s;return o?(wn(),xf):(wn(),Sd)}else return null}function E6n(t,e){var n,r,s,o;for(e.Ug("Resize child graph to fit parent.",1),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),30),Hs(t.a,n.a),n.a.c.length=0;for(o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),10),Aa(s,null);t.b.c.length=0,Hkn(t),t.e&&$En(t.e,t),e.Vg()}function T6n(t,e){var n,r,s,o,h;for(e.Ug("Edge joining",1),n=Ie(Me(X(t,(De(),f1t)))),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new La(r.a,0);h.b<h.d.gc();)o=(ur(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),10)),o.k==(Un(),fa)&&(_ct(o,n),Kl(h));e.Vg()}function C6n(t,e){var n,r,s,o,h;for(n=new fe,s=fc(new ln(null,new gn(t,16)),new xZ),o=fc(new ln(null,new gn(t,16)),new kZ),h=P0n(Zdn(Ny(ikn(lt(ut(r_n,1),Ln,848,0,[s,o])),new EZ))),r=1;r<h.length;r++)h[r]-h[r-1]>=2*e&&ge(n,new yit(h[r-1]+e,h[r]-e));return n}function S6n(t,e,n){var r,s,o,h,d,m,k,T;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),s=qE(n,h.a),s&&(m=ndn(t,(k=(kb(),T=new J2t,T),e&&Z6t(k,e),k),s),n7(m,yg(s,a0)),qH(s,m),E6t(s,m),xat(t,s,m))}function JH(t){var e,n,r,s,o,h;if(!t.j){if(h=new bC,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),s=JH(n),gs(h,s),Or(h,n);e.a.Bc(t)!=null}Uy(h),t.j=new $4((u(Dt(Qt((Lb(),Fn).o),11),19),h.i),h.g),_l(t).b&=-33}return t.j}function _6n(t){var e,n,r,s;if(t==null)return null;if(r=su(t,!0),s=NN.length,hn(r.substr(r.length-s,s),NN)){if(n=r.length,n==4){if(e=(qn(0,r.length),r.charCodeAt(0)),e==43)return aOt;if(e==45)return ZTe}else if(n==3)return aOt}return new z2t(r)}function A6n(t){var e,n,r;return n=t.l,n&n-1||(r=t.m,r&r-1)||(e=t.h,e&e-1)||e==0&&r==0&&n==0?-1:e==0&&r==0&&n!=0?w4t(n):e==0&&r!=0&&n==0?w4t(r)+22:e!=0&&r==0&&n==0?w4t(e)+44:-1}function p5(t,e){var n,r,s,o,h;for(s=e.a&t.f,o=null,r=t.b[s];;r=r.b){if(r==e){o?o.b=e.b:t.b[s]=e.b;break}o=r}for(h=e.f&t.f,o=null,n=t.c[h];;n=n.d){if(n==e){o?o.d=e.d:t.c[h]=e.d;break}o=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function L6n(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,!e.e&&!e.c?(n=u(nf(u(rk(t.b,e.a),260)),260),n.a=0,++t.c):(n=u(nf(u(tr(t.b,e.a),260)),260),--n.a,e.e?e.e.c=e.c:n.b=u(nf(e.c),511),e.c?e.c.e=e.e:n.c=u(nf(e.e),511)),--t.d}function D6n(t){var e,n,r,s,o,h,d,m,k,T;for(n=t.o,e=t.p,h=xi,s=Ga,d=xi,o=Ga,k=0;k<n;++k)for(T=0;T<e;++T)u5(t,k,T)&&(h=b.Math.min(h,k),s=b.Math.max(s,k),d=b.Math.min(d,T),o=b.Math.max(o,T));return m=s-h+1,r=o-d+1,new sne(he(h),he(d),he(m),he(r))}function Qot(t,e){var n,r,s,o;for(o=new La(t,0),n=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),148));o.b<o.d.gc();)r=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),148)),s=new qvt(r.c,n.d,e),ur(o.b>0),o.a.Xb(o.c=--o.b),Ly(o,s),ur(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),s.a=!1,n=r}function Mde(t){var e,n,r,s,o,h;for(s=u(X(t,(oe(),AG)),12),h=new G(t.j);h.a<h.c.c.length;){for(o=u(et(h),12),r=new G(o.g);r.a<r.c.c.length;)return e=u(et(r),18),xa(e,s),o;for(n=new G(o.e);n.a<n.c.c.length;)return e=u(et(n),18),Xa(e,s),o}return null}function Ide(t,e,n){var r,s,o,h,d,m;for(m=u(Sy(t.a,e),17).a,n?Gxt(t.a,he(m+1),e):Gxt(t.a,he(m-1),e),h=new zd,s=new rr(sr((n?_s(e):ua(e)).a.Kc(),new z));Mr(s);)r=u(dr(s),18),n?o=r.d.i:o=r.c.i,$t(Sy(t.a,o))===$t(Sy(t.a,e))&&(d=h.a.zc(o,h),d==null);return h}function M6n(t,e,n){var r,s;r=Pc(n.q.getTime()),$c(r,0)<0?(s=Rp-qr(mO(Cp(r),Rp)),s==Rp&&(s=0)):s=qr(mO(r,Rp)),e==1?(s=b.Math.min((s+50)/100|0,9),Db(t,48+s&js)):e==2?(s=b.Math.min((s+5)/10|0,99),M0(t,s,2)):(M0(t,s,3),e>3&&M0(t,0,e-3))}function I6n(t){var e,n,r,s;return $t(X(t,(De(),A3)))===$t((Ag(),Xp))?!t.e&&$t(X(t,iP))!==$t((c7(),JN)):(r=u(X(t,e1t),298),s=Ie(Me(X(t,n1t)))||$t(X(t,FA))===$t((QS(),QN)),e=u(X(t,R_t),17).a,n=t.a.c.length,!s&&r!=(c7(),JN)&&(e==0||e>n))}function O6n(t){var e,n;for(n=0;n<t.c.length&&!(Ete((vn(n,t.c.length),u(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(Ete((vn(e,t.c.length),u(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function Ode(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=6&&e){if(_7(t,e))throw at(new zn(oA+K1e(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Ext(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,6,r)),r=ovt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,6,e,e))}function ZH(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(_7(t,e))throw at(new zn(oA+Nge(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?_xt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,12,r)),r=cvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function Z6t(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=9&&e){if(_7(t,e))throw at(new zn(oA+I0e(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Cxt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,9,r)),r=uvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,9,e,e))}function P7(t){var e,n,r,s,o;if(r=of(t),o=t.j,o==null&&r)return t.Jk()?null:r.ik();if(Lt(r,156)){if(n=r.jk(),n&&(s=n.wi(),s!=t.i)){if(e=u(r,156),e.nk())try{t.g=s.ti(e,o)}catch(h){if(h=es(h),Lt(h,82))t.g=null;else throw at(h)}t.i=s}return t.g}return null}function Nde(t){var e;return e=new fe,ge(e,new O6(new ae(t.c,t.d),new ae(t.c+t.b,t.d))),ge(e,new O6(new ae(t.c,t.d),new ae(t.c,t.d+t.a))),ge(e,new O6(new ae(t.c+t.b,t.d+t.a),new ae(t.c+t.b,t.d))),ge(e,new O6(new ae(t.c+t.b,t.d+t.a),new ae(t.c,t.d+t.a))),e}function N6n(t){var e,n,r;if(t==null)return Vu;try{return rc(t)}catch(s){if(s=es(s),Lt(s,103))return e=s,r=V2(Wl(t))+"@"+(n=(pg(),ext(t)>>>0),n.toString(16)),Wwn(Opn(),(xE(),"Exception during lenientFormat for "+r),e),"<"+r+" threw "+V2(e.Rm)+">";throw at(s)}}function P6n(t,e,n){var r,s,o;for(o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),74),r=u(tr(t.b,s),272),!r&&(Ji(O0(s))==Ji(qb(s))?kkn(t,s,n):O0(s)==Ji(qb(s))?tr(t.c,s)==null&&tr(t.b,qb(s))!=null&&fpe(t,s,n,!1):tr(t.d,s)==null&&tr(t.b,O0(s))!=null&&fpe(t,s,n,!0))}function F6n(t,e){var n,r,s,o,h,d,m;for(s=t.Kc();s.Ob();)for(r=u(s.Pb(),10),d=new Yc,hc(d,r),Xs(d,(ve(),Jn)),Zt(d,(oe(),IG),(Pn(),!0)),h=e.Kc();h.Ob();)o=u(h.Pb(),10),m=new Yc,hc(m,o),Xs(m,Gn),Zt(m,IG,!0),n=new Pm,Zt(n,IG,!0),Xa(n,d),xa(n,m)}function B6n(t,e,n,r){var s,o,h,d;s=wle(t,e,n),o=wle(t,n,e),h=u(tr(t.c,e),118),d=u(tr(t.c,n),118),s<o?new J2((C1(),F3),h,d,o-s):o<s?new J2((C1(),F3),d,h,s-o):(s!=0||!(!e.i||!n.i)&&r[e.i.c][n.i.c])&&(new J2((C1(),F3),h,d,0),new J2(F3,d,h,0))}function Pde(t,e){var n,r,s,o,h,d,m;for(s=0,h=new G(e.a);h.a<h.c.c.length;)for(o=u(et(h),10),s+=o.o.b+o.d.a+o.d.d+t.e,r=new rr(sr(ua(o).a.Kc(),new z));Mr(r);)n=u(dr(r),18),n.c.i.k==(Un(),uu)&&(m=n.c.i,d=u(X(m,(oe(),Li)),10),s+=d.o.b+d.d.a+d.d.d);return s}function A_(){A_=V,rx=new YM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Xk=new YM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),aL=new YM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),sL=new YM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),xP=new YM("WHOLE_DRAWING",4)}function R6n(t,e){if(Lt(e,207))return c2n(t,u(e,27));if(Lt(e,193))return p2n(t,u(e,123));if(Lt(e,366))return shn(t,u(e,135));if(Lt(e,326))return k7n(t,u(e,74));if(e)return null;throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[e])))))}function j6n(t){var e,n,r,s,o,h,d;for(o=new Ki,s=new G(t.d.a);s.a<s.c.c.length;)r=u(et(s),125),r.b.a.c.length==0&&hs(o,r,o.c.b,o.c);if(o.b>1)for(e=km((n=new H2,++t.b,n),t.d),d=Dr(o,0);d.b!=d.d.c;)h=u(Ar(d),125),Hf(Of(If(Nf(Mf(new tf,1),0),e),h))}function $6n(t,e,n){var r,s,o,h,d;for(n.Ug("Breaking Point Removing",1),t.a=u(X(e,(De(),zg)),223),o=new G(e.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(Rm(s.a));d.a<d.c.c.length;)h=u(et(d),10),Bae(h)&&(r=u(X(h,(oe(),vv)),313),!r.d&&Cpe(t,r));n.Vg()}function tV(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=11&&e){if(_7(t,e))throw at(new zn(oA+vkt(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Axt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,10,r)),r=mvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,11,e,e))}function z6n(t){var e,n,r,s;for(r=new sw(new mr(t.b).a);r.b;)n=Um(r),s=u(n.ld(),12),e=u(n.md(),10),Zt(e,(oe(),Li),s),Zt(s,ml,e),Zt(s,eP,(Pn(),!0)),Xs(s,u(X(e,Dc),64)),X(e,Dc),Zt(s.i,(De(),bs),(ka(),YT)),u(X(Pa(s.i),lu),21).Fc((Co(),DT))}function q6n(t,e,n){var r,s,o,h,d,m;if(o=0,h=0,t.c)for(m=new G(t.d.i.j);m.a<m.c.c.length;)d=u(et(m),12),o+=d.e.c.length;else o=1;if(t.d)for(m=new G(t.c.i.j);m.a<m.c.c.length;)d=u(et(m),12),h+=d.g.c.length;else h=1;return s=Ys(vI(h-o)),r=(n+e)/2+(n-e)*(.4*s),r}function H6n(t){Qy();var e,n;if(t.Hc((ve(),bc)))throw at(new zn("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return XN;case 2:return e=t.Hc(Jn)&&t.Hc(Gn),n=t.Hc(Hn)&&t.Hc(Er),e||n?vG:mG;case 3:return wG;case 4:return bG;default:return null}}function Jot(t,e,n){return w5(),i7(t,e)&&i7(t,n)?!1:Lct(new ae(t.c,t.d),new ae(t.c+t.b,t.d),e,n)||Lct(new ae(t.c+t.b,t.d),new ae(t.c+t.b,t.d+t.a),e,n)||Lct(new ae(t.c+t.b,t.d+t.a),new ae(t.c,t.d+t.a),e,n)||Lct(new ae(t.c,t.d+t.a),new ae(t.c,t.d),e,n)}function tkt(t,e){var n,r,s,o;if(!t.dc()){for(n=0,r=t.gc();n<r;++n)if(o=Gr(t.Xb(n)),o==null?e==null:hn(o.substr(0,3),"!##")?e!=null&&(s=e.length,!hn(o.substr(o.length-s,s),e)||o.length!=e.length+3)&&!hn(Cw,e):hn(o,lht)&&!hn(Cw,e)||hn(o,e))return!0}return!1}function V6n(t,e,n,r){var s,o,h,d,m,k;for(h=t.j.c.length,m=Vt(a_n,M8t,314,h,0,1),d=0;d<h;d++)o=u(Oe(t.j,d),12),o.p=d,m[d]=exn(sde(o),n,r);for(pkn(t,m,n,e,r),k=new _r,s=0;s<m.length;s++)m[s]&&hi(k,u(Oe(t.j,s),12),m[s]);k.f.c+k.i.c!=0&&(Zt(t,(oe(),MA),k),p4n(t,m))}function U6n(t,e){var n,r,s,o,h,d;for(e.Ug("Partition postprocessing",1),r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)for(s=u(et(o),10),d=new G(s.j);d.a<d.c.c.length;)h=u(et(d),12),Ie(Me(X(h,(oe(),IG))))&&PS(d);e.Vg()}function G6n(t,e,n){var r,s,o;for(s=new G(t.a.b);s.a<s.c.c.length;)if(r=u(et(s),60),o=J4(r),o&&o.k==(Un(),Ms))switch(u(X(o,(oe(),Dc)),64).g){case 4:o.n.a=e.a;break;case 2:o.n.a=n.a-(o.o.a+o.d.c);break;case 1:o.n.b=e.b;break;case 3:o.n.b=n.b-(o.o.b+o.d.a)}}function K6n(t,e,n){var r,s,o;for(n.Ug("Processor determine the height for each level",1),t.a=e.b.b==0?1:e.b.b,s=null,r=Dr(e.b,0);!s&&r.b!=r.d.c;)o=u(Ar(r),39),Ie(Me(X(o,(ji(),u2))))&&(s=o);s&&Tge(t,id(lt(ut(aK,1),rU,39,0,[s])),n,u(X(e,(Cc(),Mv)),88)),n.Vg()}function W6n(t){var e,n,r,s,o,h;for(r=(kb(),o=new VC,o),$O(r,t),n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)e=u(ar(n),27),h=(s=new VC,s),tV(h,r),H4(h,e.g,e.f),n7(h,e.k),Ch(h,e.i,e.j),Or((!r.a&&(r.a=new Jt(bi,r,10,11)),r.a),h),$O(h,e);return r}function Y6n(t,e,n){var r,s,o,h,d;return s=u(ne(e,(VH(),fMt)),17),!s&&(s=he(0)),o=u(ne(n,fMt),17),!o&&(o=he(0)),s.a>o.a?-1:s.a<o.a?1:t.a&&(r=Bi(e.j,n.j),r!=0||(r=Bi(e.i,n.i),r!=0))?r:(h=e.g*e.f,d=n.g*n.f,Bi(h,d))}function X6n(t,e){var n,r,s,o,h,d,m,k,T,A;if(++t.e,m=t.d==null?0:t.d.length,e>m){for(T=t.d,t.d=Vt(MIt,jTt,66,2*m+4,0,1),o=0;o<m;++o)if(k=T[o],k)for(r=k.g,A=k.i,d=0;d<A;++d)s=u(r[d],136),h=lvt(t,s.Bi()),n=t.d[h],!n&&(n=t.d[h]=t.dk()),n.Fc(s);return!0}else return!1}function Q6n(t,e,n){var r,s,o,h,d,m;if(s=n,o=s.Lk(),Ng(t.e,o)){if(o.Si()){for(r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],Ti(d,s)&&h!=e)throw at(new zn(AN))}}else for(m=Lu(t.e.Dh(),o),r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],m.am(d.Lk()))throw at(new zn(ON));h_(t,e,n)}function Fde(t,e){var n,r,s,o,h,d;for(n=u(X(e,(oe(),$g)),21),h=u(Ai((Ict(),Ri),n),21),d=u(Ai(oi,n),21),o=h.Kc();o.Ob();)if(r=u(o.Pb(),21),!u(Ai(t.b,r),15).dc())return!1;for(s=d.Kc();s.Ob();)if(r=u(s.Pb(),21),!u(Ai(t.b,r),15).dc())return!1;return!0}function ekt(t,e){var n,r,s,o,h,d,m,k,T;if(t.a.c.length==1)return Rfe(u(Oe(t.a,0),172),e);for(h=Kbn(t),m=0,k=t.d,o=h,T=t.d,d=(k-o)/2+o;o+1<k;){for(m=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),m+=(s=B_(n,d,!1),s.a);m<e?(T=d,k=d):o=d,d=(k-o)/2+o}return T}function $O(t,e){var n,r,s,o,h;if(!e)return t;if(Lt(e,342))for(s=u(e,342),o=(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),t.o),r=s.gh().c.Kc();r.e!=r.i.gc();)n=u(r.Yj(),44),h=n.md(),SO(o,u(n.ld(),149),h);else!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),Hoe(t.o,e.nf());return t}function J6n(t){var e,n,r,s,o;return isNaN(t)?(WE(),c9t):t<-9223372036854776e3?(WE(),Wve):t>=9223372036854776e3?(WE(),a9t):(s=!1,t<0&&(s=!0,t=-t),r=0,t>=bw&&(r=Ys(t/bw),t-=r*bw),n=0,t>=Sk&&(n=Ys(t/Sk),t-=n*Sk),e=Ys(t),o=Eu(e,n,r),s&&kat(o),o)}function Z6n(t){var e,n,r,s,o;if(o=new fe,Cu(t.b,new E0(o)),t.b.c.length=0,o.c.length!=0){for(e=(vn(0,o.c.length),u(o.c[0],82)),n=1,r=o.c.length;n<r;++n)s=(vn(n,o.c.length),u(o.c[n],82)),s!=e&&C3n(e,s);if(Lt(e,63))throw at(u(e,63));if(Lt(e,295))throw at(u(e,295))}}function tkn(t,e){var n,r,s,o;for(n=!e||!t.u.Hc((wl(),Hg)),o=0,s=new G(t.e.Xf());s.a<s.c.c.length;){if(r=u(et(s),852),r.ag()==(ve(),bc))throw at(new zn("Label and node size calculator can only be used with ports that have port sides assigned."));r.Qf(o++),qbn(t,r,n)}}function nkt(t){var e,n,r,s,o;for(n=new G(t.a.a);n.a<n.c.c.length;){for(e=u(et(n),316),e.j=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),60),k1(r.b),(!e.j||r.d.c<e.j.d.c)&&(e.j=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),60),r.b.a=r.d.c-e.j.d.c,r.b.b=r.d.d-e.j.d.d}return t}function eV(t){var e,n,r,s,o;for(n=new G(t.a.a);n.a<n.c.c.length;){for(e=u(et(n),194),e.f=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),86),k1(r.e),(!e.f||r.g.c<e.f.g.c)&&(e.f=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),86),r.e.a=r.g.c-e.f.g.c,r.e.b=r.g.d-e.f.g.d}return t}function ekn(t){var e,n,r;return n=u(t.a,17).a,r=u(t.b,17).a,e=b.Math.max(b.Math.abs(n),b.Math.abs(r)),n<e&&r==-e?new Ws(he(n+1),he(r)):n==e&&r<e?new Ws(he(n),he(r+1)):n>=-e&&r==e?new Ws(he(n-1),he(r)):new Ws(he(n),he(r-1))}function Bde(){return Za(),lt(ut(h_n,1),te,81,0,[KCt,VCt,B5,gft,fSt,nG,fG,E3,lSt,eSt,cSt,k3,hSt,JCt,dSt,RCt,aG,pft,tG,uG,pSt,cG,jCt,uSt,bSt,lG,gSt,eG,YCt,aSt,sSt,dG,qCt,ZU,iG,zCt,vT,rSt,ZCt,oSt,CA,UCt,HCt,iSt,tSt,sG,hG,$Ct,oG,nSt,rG,XCt,WCt,WN,JU,QCt,GCt])}function nkn(t,e,n){t.d=0,t.b=0,e.k==(Un(),uu)&&n.k==uu&&u(X(e,(oe(),Li)),10)==u(X(n,Li),10)&&(qst(e).j==(ve(),Hn)?Tde(t,e,n):Tde(t,n,e)),e.k==uu&&n.k==fa?qst(e).j==(ve(),Hn)?t.d=1:t.b=1:n.k==uu&&e.k==fa&&(qst(n).j==(ve(),Hn)?t.b=1:t.d=1),$mn(t,e,n)}function rkn(t){var e,n,r,s,o,h,d,m,k,T,A;return A=Jxt(t),e=t.a,m=e!=null,m&&ME(A,"category",t.a),s=NM(new cr(t.d)),h=!s,h&&(k=new cp,_1(A,"knownOptions",k),n=new qGt(k),Fa(new cr(t.d),n)),o=NM(t.g),d=!o,d&&(T=new cp,_1(A,"supportedFeatures",T),r=new HGt(T),Fa(t.g,r)),A}function ikn(t){var e,n,r,s,o,h,d,m,k;for(r=!1,e=336,n=0,o=new CZt(t.length),d=t,m=0,k=d.length;m<k;++m)h=d[m],r=r|($b(h),!1),s=(Mb(h),h.a),ge(o.a,Hr(s)),e&=s.yd(),n=kbn(n,s.zd());return u(u(yee(new ln(null,Not(new gn((Dm(),W5t(o.a)),16),new mt,e,n)),new Yj(t)),687),848)}function skn(t,e){var n;t.d&&(e.c!=t.e.c||Ygn(t.e.b,e.b))&&(ge(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),yin(e.b)?t.c=e:t.b=e,(e.b==(u7(),bv)&&!e.a||e.b==v3&&e.a||e.b==F5&&e.a||e.b==y3&&!e.a)&&t.c&&t.b&&(n=new Ah(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function L_(t){var e;if(JKt.call(this),this.i=new eM,this.g=t,this.f=u(t.e&&t.e(),9).length,this.f==0)throw at(new zn("There must be at least one phase in the phase enumeration."));this.c=(e=u(y1(this.g),9),new _h(e,u(Ff(e,e.length),9),0)),this.a=new Fs,this.b=new _r}function rkt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=7&&e){if(_7(t,e))throw at(new zn(oA+Hfe(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Txt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=u(e,54).Rh(t,1,zP,r)),r=hyt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,7,e,e))}function Rde(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(_7(t,e))throw at(new zn(oA+zue(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Sxt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=u(e,54).Rh(t,0,HP,r)),r=fyt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function Zot(t,e){F7();var n,r,s,o,h,d,m,k,T;return e.d>t.d&&(d=t,t=e,e=d),e.d<63?Gkn(t,e):(h=(t.d&-2)<<4,k=M3t(t,h),T=M3t(e,h),r=vct(t,nk(k,h)),s=vct(e,nk(T,h)),m=Zot(k,T),n=Zot(r,s),o=Zot(vct(k,r),vct(s,T)),o=Sct(Sct(o,m),n),o=nk(o,h),m=nk(m,h<<1),Sct(Sct(m,o),n))}function Bp(){Bp=V,b1t=new F4(q2e,0),TAt=new F4("LONGEST_PATH",1),CAt=new F4("LONGEST_PATH_SOURCE",2),p1t=new F4("COFFMAN_GRAHAM",3),EAt=new F4(qut,4),SAt=new F4("STRETCH_WIDTH",5),XG=new F4("MIN_WIDTH",6),RT=new F4("BF_MODEL_ORDER",7),jT=new F4("DF_MODEL_ORDER",8)}function akn(t,e,n){var r,s,o,h,d;for(h=c_(t,n),d=Vt(V0,jp,10,e.length,0,1),r=0,o=h.Kc();o.Ob();)s=u(o.Pb(),12),Ie(Me(X(s,(oe(),eP))))&&(d[r++]=u(X(s,ml),10));if(r<e.length)throw at(new Ro("Expected "+e.length+" hierarchical ports, but found only "+r+"."));return d}function okn(t,e){var n,r,s,o,h,d;if(!t.tb){for(o=(!t.rb&&(t.rb=new Iy(t,B1,t)),t.rb),d=new M6(o.i),s=new Zn(o);s.e!=s.i.gc();)r=u(ar(s),142),h=r.xe(),n=u(h==null?yu(d.f,null,r):Km(d.i,h,r),142),n&&(h==null?yu(d.f,null,n):Km(d.i,h,n));t.tb=d}return u(nu(t.tb,e),142)}function zO(t,e){var n,r,s,o,h;if((t.i==null&&Qd(t),t.i).length,!t.p){for(h=new M6((3*t.g.i/2|0)+1),s=new $6(t.g);s.e!=s.i.gc();)r=u(sot(s),179),o=r.xe(),n=u(o==null?yu(h.f,null,r):Km(h.i,o,r),179),n&&(o==null?yu(h.f,null,n):Km(h.i,o,n));t.p=h}return u(nu(t.p,e),179)}function ikt(t,e,n,r,s){var o,h,d,m,k;for(Pwn(r+eq(n,n.ie()),s),Oee(e,ewn(n)),o=n.f,o&&ikt(t,e,o,"Caused by: ",!1),d=(n.k==null&&(n.k=Vt(Sht,ue,82,0,0,1)),n.k),m=0,k=d.length;m<k;++m)h=d[m],ikt(t,e,h,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function qO(t,e,n,r){var s,o,h,d,m;for(m=e.e,d=m.length,h=e.q.ug(m,n?0:d-1,n),s=m[n?0:d-1],h=h|C0e(t,s,n,r),o=n?1:d-2;n?o<d:o>=0;o+=n?1:-1)h=h|e.c.lg(m,o,n,r&&!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,(oe(),U5))))),h=h|e.q.ug(m,o,n),h=h|C0e(t,m[o],n,r);return qs(t.c,e),h}function nV(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=rie(t.j),A=0,P=T.length;A<P;++A){if(k=T[A],n==(To(),vl)||n==HA)for(m=Kd(k.g),s=m,o=0,h=s.length;o<h;++o)r=s[o],g4n(e,r)&&nv(r,!0);if(n==ku||n==HA)for(d=Kd(k.e),s=d,o=0,h=s.length;o<h;++o)r=s[o],d4n(e,r)&&nv(r,!0)}}function ckn(t){var e,n;switch(e=null,n=null,Syn(t).g){case 1:e=(ve(),Jn),n=Gn;break;case 2:e=(ve(),Er),n=Hn;break;case 3:e=(ve(),Gn),n=Jn;break;case 4:e=(ve(),Hn),n=Er}C(t,u(Vl(G6(u(Ai(t.k,e),15).Oc(),R5)),113)),x(t,u(Vl(My(u(Ai(t.k,n),15).Oc(),R5)),113))}function ukn(t){var e,n,r,s,o,h;if(s=u(Oe(t.j,0),12),s.e.c.length+s.g.c.length==0)t.n.a=0;else{for(h=0,r=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(s),new k6(s)])));Mr(r);)n=u(dr(r),12),h+=n.i.n.a+n.n.a+n.a.a;e=u(X(t,(De(),Sv)),8),o=e?e.a:0,t.n.a=h/(s.e.c.length+s.g.c.length)-o}}function jde(t,e){var n,r,s;for(r=new G(e.a);r.a<r.c.c.length;)n=u(et(r),225),Iit(u(n.b,68),ia(Oa(u(e.b,68).c),u(e.b,68).a)),s=ige(u(e.b,68).b,u(n.b,68).b),s>1&&(t.a=!0),jun(u(n.b,68),ki(Oa(u(e.b,68).c),qd(ia(Oa(u(n.b,68).a),u(e.b,68).a),s))),lre(t,e),jde(t,n)}function $de(t){var e,n,r,s,o,h,d;for(o=new G(t.a.a);o.a<o.c.c.length;)r=u(et(o),194),r.e=0,r.d.a.$b();for(s=new G(t.a.a);s.a<s.c.c.length;)for(r=u(et(s),194),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),86),d=e.f.Kc();d.Ob();)h=u(d.Pb(),86),h.d!=r&&(qs(r.d,h),++h.d.e)}function lkn(t){var e,n,r,s,o,h,d,m;for(m=t.j.c.length,n=0,e=m,s=2*m,d=new G(t.j);d.a<d.c.c.length;)switch(h=u(et(d),12),h.j.g){case 2:case 4:h.p=-1;break;case 1:case 3:r=h.e.c.length,o=h.g.c.length,r>0&&o>0?h.p=e++:r>0?h.p=n++:o>0?h.p=s++:h.p=n++}mn(),Ds(t.j,new R8)}function hkn(t){var e,n;n=null,e=u(Oe(t.g,0),18);do{if(n=e.d.i,qi(n,(oe(),gf)))return u(X(n,gf),12).i;if(n.k!=(Un(),xs)&&Mr(new rr(sr(_s(n).a.Kc(),new z))))e=u(dr(new rr(sr(_s(n).a.Kc(),new z))),18);else if(n.k!=xs)return null}while(n&&n.k!=(Un(),xs));return n}function fkn(t,e){var n,r,s,o,h,d,m,k,T;for(d=e.j,h=e.g,m=u(Oe(d,d.c.length-1),113),T=(vn(0,d.c.length),u(d.c[0],113)),k=yot(t,h,m,T),o=1;o<d.c.length;o++)n=(vn(o-1,d.c.length),u(d.c[o-1],113)),s=(vn(o,d.c.length),u(d.c[o],113)),r=yot(t,h,n,s),r>k&&(m=n,T=s,k=r);e.a=T,e.c=m}function dkn(t,e,n){var r,s,o,h,d,m,k;for(k=new pp(new SUt(t)),h=lt(ut(w4e,1),f2e,12,0,[e,n]),d=0,m=h.length;d<m;++d)for(o=h[d],k.a.zc(o,(Pn(),t2))==null,s=new sd(o.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),r.c==r.d||yI(k,o==r.c?r.d:r.c);return Hr(k),new fl(k)}function Hf(t){if(!t.a.d||!t.a.e)throw at(new Ro((wg(Cye),Cye.k+" must have a source and target "+(wg(Z9t),Z9t.k)+" specified.")));if(t.a.d==t.a.e)throw at(new Ro("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return lz(t.a.d.g,t.a),lz(t.a.e.b,t.a),t.a}function gkn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Constraints Postprocessor",1),h=0,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m=0,d=!1,r=new G(s.a);r.a<r.c.c.length;)n=u(et(r),10),n.k==(Un(),xs)&&(d=!0,Zt(n,(De(),qG),he(h)),Zt(n,RG,he(m)),++m);d&&++h}e.Vg()}function zde(t,e,n){var r,s,o,h,d,m;if(r=0,e.b!=0&&n.b!=0){o=Dr(e,0),h=Dr(n,0),d=Rt(Ht(Ar(o))),m=Rt(Ht(Ar(h))),s=!0;do{if(d>m-t.b&&d<m+t.b)return-1;d>m-t.a&&d<m+t.a&&++r,d<=m&&o.b!=o.d.c?d=Rt(Ht(Ar(o))):m<=d&&h.b!=h.d.c?m=Rt(Ht(Ar(h))):s=!1}while(s)}return r}function qde(t,e){var n,r;return EI(t.a),E1(t.a,(Kq(),hK),hK),E1(t.a,nx,nx),r=new Fs,ri(r,nx,(zH(),Q1t)),$t(ne(e,(Ub(),edt)))!==$t((uO(),fK))&&ri(r,nx,W1t),Ie(Me(ne(e,WLt)))&&ri(r,nx,J1t),ri(r,nx,Y1t),Ie(Me(ne(e,XLt)))&&el(r,nx,X1t),kmt(t.a,r),n=XO(t.a,e),n}function pkn(t,e,n,r,s){var o,h,d,m;for(m=(o=u(y1(bo),9),new _h(o,u(Ff(o,o.length),9),0)),d=new G(t.j);d.a<d.c.c.length;)h=u(et(d),12),e[h.p]&&(zCn(h,e[h.p],r),zf(m,h.j));s?(Lot(t,e,(ve(),Jn),2*n,r),Lot(t,e,Gn,2*n,r)):(Lot(t,e,(ve(),Hn),2*n,r),Lot(t,e,Er,2*n,r))}function bkn(t){var e,n;for(n=new rr(sr(_s(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),e.d.i.k!=(Un(),Vc))throw at(new fp(zut+EO(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function wkn(t,e,n){var r,s,o,h,d;for(n.Ug("Longest path layering",1),t.a=e,d=t.a.a,t.b=Vt(Fr,ii,28,d.c.length,15,1),r=0,h=new G(d);h.a<h.c.c.length;)s=u(et(h),10),s.p=r,t.b[r]=-1,++r;for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),10),yde(t,s);d.c.length=0,t.a=null,t.b=null,n.Vg()}function mkn(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(m=0,T=new G(t.a);T.a<T.c.c.length;){for(k=u(et(T),10),d=0,o=new rr(sr(ua(k).a.Kc(),new z));Mr(o);)s=u(dr(o),18),A=rd(s.c).b,P=rd(s.d).b,d=b.Math.max(d,b.Math.abs(P-A));m=b.Math.max(m,d)}return h=r*b.Math.min(1,e/n)*m,h}function vkn(t,e){var n,r,s,o,h;for(h=u(X(e,(Cc(),ALt)),433),o=Dr(e.b,0);o.b!=o.d.c;)if(s=u(Ar(o),39),t.b[s.g]==0){switch(h.g){case 0:ihe(t,s);break;case 1:Axn(t,s)}t.b[s.g]=2}for(r=Dr(t.a,0);r.b!=r.d.c;)n=u(Ar(r),65),Ky(n.b.d,n,!0),Ky(n.c.b,n,!0);Zt(e,(ji(),wLt),t.a)}function skt(t){var e;return e=new YC,t&256&&(e.a+="F"),t&128&&(e.a+="H"),t&512&&(e.a+="X"),t&2&&(e.a+="i"),t&8&&(e.a+="m"),t&4&&(e.a+="s"),t&32&&(e.a+="u"),t&64&&(e.a+="w"),t&16&&(e.a+="x"),t&Uf&&(e.a+=","),lwt(e.a)}function ykn(t,e){var n,r,s,o,h,d;e.Ug(cwe,1),s=u(ne(t,(fd(),rL)),107),o=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),h=Svn(o),d=b.Math.max(h.a,Rt(Ht(ne(t,(N0(),nL))))-(s.b+s.c)),r=b.Math.max(h.b,Rt(Ht(ne(t,bK)))-(s.d+s.a)),n=r-h.b,Mi(t,tL,n),Mi(t,HT,d),Mi(t,eL,r+n),e.Vg()}function Lu(t,e){vo();var n,r,s,o;return e?e==(Ni(),QTe)||(e==jTe||e==Hw||e==RTe)&&t!=iOt?new t8t(t,e):(r=u(e,692),n=r.$k(),n||(RE($o((il(),ja),e)),n=r.$k()),o=(!n.i&&(n.i=new _r),n.i),s=u(Ko(Eo(o.f,t)),2041),!s&&hi(o,t,s=new t8t(t,e)),s):PTe}function xkn(t,e){var n,r;if(r=yI(t.b,e.b),!r)throw at(new Ro("Invalid hitboxes for scanline constraint calculation."));(Oce(e.b,u(Prn(t.b,e.b),60))||Oce(e.b,u(Nrn(t.b,e.b),60)))&&(pg(),String.fromCharCode(10)),t.a[e.b.f]=u(lrt(t.b,e.b),60),n=u(urt(t.b,e.b),60),n&&(t.a[n.f]=e.b)}function kkn(t,e,n){var r,s,o,h,d,m,k,T,A;for(o=b5(e,!1,!1),k=MO(o),A=Rt(Ht(ne(e,(b_(),Xht)))),s=Jpe(k,A+t.a),T=new Wot(s),Qo(T,e),hi(t.b,e,T),In(n.c,T),m=(!e.n&&(e.n=new Jt(Po,e,1,7)),e.n),d=new Zn(m);d.e!=d.i.gc();)h=u(ar(d),135),r=HO(t,h,!0,0,0),In(n.c,r);return T}function Ekn(t,e){var n,r,s,o,h,d,m;for(s=new fe,n=0;n<=t.j;n++)r=new eu(e),r.p=t.j-n,In(s.c,r);for(d=new G(t.p);d.a<d.c.c.length;)h=u(et(d),10),Aa(h,u(Oe(s,t.j-t.g[h.p]),30));for(o=new G(s);o.a<o.c.c.length;)m=u(et(o),30),m.a.c.length==0&&PS(o);e.b.c.length=0,Hs(e.b,s)}function Tkn(t,e){var n,r,s,o,h,d,m,k,T;for(m=u(X(t,(oe(),Li)),12),k=dc(lt(ut(la,1),ue,8,0,[m.i.n,m.n,m.a])).a,T=t.i.n.b,n=Kd(t.e),s=n,o=0,h=s.length;o<h;++o)r=s[o],xa(r,m),ro(r.a,new ae(k,T)),e&&(d=u(X(r,(De(),Vo)),75),d||(d=new Qu,Zt(r,Vo,d)),Zr(d,new ae(k,T)))}function Ckn(t,e){var n,r,s,o,h,d,m,k,T;for(s=u(X(t,(oe(),Li)),12),k=dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).a,T=t.i.n.b,n=Kd(t.g),h=n,d=0,m=h.length;d<m;++d)o=h[d],Xa(o,s),j4(o.a,new ae(k,T)),e&&(r=u(X(o,(De(),Vo)),75),r||(r=new Qu,Zt(o,Vo,r)),Zr(r,new ae(k,T)))}function Skn(t){var e,n,r,s,o,h,d,m,k;if(r=t.b,o=r.e,h=q6(u(X(r,(De(),bs)),101)),n=!!o&&u(X(o,(oe(),lu)),21).Hc((Co(),Uh)),!(h||n))for(k=(d=new si(t.e).a.vc().Kc(),new Qi(d));k.a.Ob();)m=(e=u(k.a.Pb(),44),u(e.md(),113)),m.a&&(s=m.d,hc(s,null),m.c=!0,t.a=!0)}function _kn(t,e){var n,r,s,o;for(e.Ug("Semi-Interactive Crossing Minimization Processor",1),n=!1,s=new G(t.b);s.a<s.c.c.length;)r=u(et(s),30),o=dO(Pq(_i(_i(new ln(null,new gn(r.a,16)),new GD),new nC),new KD),new QB),n=n|o.a!=null;n&&Zt(t,(oe(),ZSt),(Pn(),!0)),e.Vg()}function Akn(t,e){var n,r,s,o,h,d;for(t.b=new fe,t.d=u(X(e,(oe(),Kk)),234),t.e=h1n(t.d),o=new Ki,s=id(lt(ut(g4e,1),l2e,36,0,[e])),h=0;h<s.c.length;)r=(vn(h,s.c.length),u(s.c[h],36)),r.p=h++,n=new rpe(r,t.a,t.b),Hs(s,n.b),ge(t.b,n),n.s&&(d=Dr(o,0),kI(d,n));return t.c=new Os,o}function Lkn(t,e){var n,r,s,o,h,d;for(h=u(u(Ai(t.r,e),21),87).Kc();h.Ob();)o=u(h.Pb(),117),n=o.c?Jvt(o.c):0,n>0?o.a?(d=o.b.Mf().a,n>d&&(s=(n-d)/2,o.d.b=s,o.d.c=s)):o.d.c=t.s+n:IS(t.u)&&(r=Zxt(o.b),r.c<0&&(o.d.b=-r.c),r.c+r.b>o.b.Mf().a&&(o.d.c=r.c+r.b-o.b.Mf().a))}function Dkn(t,e){var n,r,s,o,h;h=new fe,n=e;do o=u(tr(t.b,n),131),o.B=n.c,o.D=n.d,In(h.c,o),n=u(tr(t.k,n),18);while(n);return r=(vn(0,h.c.length),u(h.c[0],131)),r.j=!0,r.A=u(r.d.a.ec().Kc().Pb(),18).c.i,s=u(Oe(h,h.c.length-1),131),s.q=!0,s.C=u(s.d.a.ec().Kc().Pb(),18).d.i,h}function Mkn(t){var e,n;if(e=u(t.a,17).a,n=u(t.b,17).a,e>=0){if(e==n)return new Ws(he(-e-1),he(-e-1));if(e==-n)return new Ws(he(-e),he(n+1))}return b.Math.abs(e)>b.Math.abs(n)?e<0?new Ws(he(-e),he(n)):new Ws(he(-e),he(n+1)):new Ws(he(e+1),he(n))}function Ikn(t){var e,n;n=u(X(t,(De(),Iu)),171),e=u(X(t,(oe(),Aw)),311),n==(Rh(),s2)?(Zt(t,Iu,rP),Zt(t,Aw,(Cg(),H5))):n==S3?(Zt(t,Iu,rP),Zt(t,Aw,(Cg(),qk))):e==(Cg(),H5)?(Zt(t,Iu,s2),Zt(t,Aw,ZN)):e==qk&&(Zt(t,Iu,S3),Zt(t,Aw,ZN))}function rV(){rV=V,fP=new pZ,Dke=ri(new Fs,(Ua(),Qc),(Za(),tG)),Oke=el(ri(new Fs,Qc,cG),Zo,oG),Nke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),Mke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),Ike=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function D_(){D_=V,Bke=ri(el(new Fs,(Ua(),Zo),(Za(),XCt)),Qc,tG),zke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),Rke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),$ke=ri(ri(new Fs,Qc,cG),Zo,oG),jke=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function Okn(t,e,n,r,s){var o,h;(!go(e)&&e.c.i.c==e.d.i.c||!qoe(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])),n))&&!go(e)&&(e.c==s?CE(e.a,0,new io(n)):Zr(e.a,new io(n)),r&&!x1(t.a,n)&&(h=u(X(e,(De(),Vo)),75),h||(h=new Qu,Zt(e,Vo,h)),o=new io(n),hs(h,o,h.c.b,h.c),qs(t.a,o)))}function Hde(t,e){var n,r,s,o;for(o=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),n=o&t.b.length-1,s=null,r=t.b[n];r;s=r,r=r.a)if(r.d==o&&Ud(r.i,e))return s?s.a=r.a:t.b[n]=r.a,vWt(u(nf(r.c),604),u(nf(r.f),604)),LM(u(nf(r.b),227),u(nf(r.e),227)),--t.f,++t.e,!0;return!1}function Nkn(t){var e,n;for(n=new rr(sr(ua(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),e.c.i.k!=(Un(),Vc))throw at(new fp(zut+EO(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function Pkn(t,e,n){var r,s,o,h,d,m,k;if(s=Gue(t.Db&254),s==0)t.Eb=n;else{if(s==1)d=Vt(aa,Ln,1,2,5,1),o=vot(t,e),o==0?(d[0]=n,d[1]=t.Eb):(d[0]=t.Eb,d[1]=n);else for(d=Vt(aa,Ln,1,s+1,5,1),h=nw(t.Eb),r=2,m=0,k=0;r<=128;r<<=1)r==e?d[k++]=n:t.Db&r&&(d[k++]=h[m++]);t.Eb=d}t.Db|=e}function Vde(t,e,n){var r,s,o,h;for(this.b=new fe,s=0,r=0,h=new G(t);h.a<h.c.c.length;)o=u(et(h),176),n&&q7n(o),ge(this.b,o),s+=o.o,r+=o.p;this.b.c.length>0&&(o=u(Oe(this.b,0),176),s+=o.o,r+=o.p),s*=2,r*=2,e>1?s=Ys(b.Math.ceil(s*e)):r=Ys(b.Math.ceil(r/e)),this.a=new U5t(s,r)}function Ude(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht;for(T=r,e.j&&e.o?($=u(tr(t.f,e.A),60),J=$.d.c+$.d.b,--T):J=e.a.c+e.a.b,A=s,n.q&&n.o?($=u(tr(t.f,n.C),60),k=$.d.c,++A):k=n.a.c,tt=k-J,m=b.Math.max(2,A-T),d=tt/m,U=J+d,P=T;P<A;++P)h=u(o.Xb(P),131),ht=h.a.b,h.a.c=U-ht/2,U+=d}function Gde(t,e){var n,r,s,o,h,d,m,k,T,A,P;s=e?new IJ:new OJ,o=!1;do for(o=!1,k=e?Bh(t.b):t.b,m=k.Kc();m.Ob();)for(d=u(m.Pb(),30),P=Rm(d.a),e||Bh(P),A=new G(P);A.a<A.c.c.length;)T=u(et(A),10),s.Mb(T)&&(r=T,n=u(X(T,(oe(),vv)),313),h=e?n.b:n.k,o=m0e(r,h,e,!1));while(o)}function akt(t,e,n,r,s,o){var h,d,m,k,T,A;for(k=n.c.length,o&&(t.c=Vt(Fr,ii,28,e.length,15,1)),h=s?0:e.length-1;s?h<e.length:h>=0;h+=s?1:-1){for(d=e[h],m=r==(ve(),Jn)?s?gc(d,r):Bh(gc(d,r)):s?Bh(gc(d,r)):gc(d,r),o&&(t.c[d.p]=m.gc()),A=m.Kc();A.Ob();)T=u(A.Pb(),12),t.d[T.p]=k++;Hs(n,m)}}function Kde(t,e,n){var r,s,o,h,d,m,k,T;for(o=Rt(Ht(t.b.Kc().Pb())),k=Rt(Ht(Ipn(e.b))),r=qd(Oa(t.a),k-n),s=qd(Oa(e.a),n-o),T=ki(r,s),qd(T,1/(k-o)),this.a=T,this.b=new fe,d=!0,h=t.b.Kc(),h.Pb();h.Ob();)m=Rt(Ht(h.Pb())),d&&m-n>xlt&&(this.b.Fc(n),d=!1),this.b.Fc(m);d&&this.b.Fc(n)}function Fkn(t){var e,n,r,s;if(tEn(t,t.n),t.d.c.length>0){for(KC(t.c);z6t(t,u(et(new G(t.e.a)),125))<t.e.a.c.length;){for(e=Evn(t),s=e.e.e-e.d.e-e.a,e.e.j&&(s=-s),r=new G(t.e.a);r.a<r.c.c.length;)n=u(et(r),125),n.j&&(n.e+=s);KC(t.c)}KC(t.c),_6t(t,u(et(new G(t.e.a)),125)),Qge(t)}}function Bkn(t,e){ck();var n,r;if(n=Lst(e7(),e.Pg()),n){if(r=n.j,Lt(t,207))return lfn(u(t,27))?Zu(r,(D1(),Qs))||Zu(r,_n):Zu(r,(D1(),Qs));if(Lt(t,326))return Zu(r,(D1(),f0));if(Lt(t,193))return Zu(r,(D1(),Bw));if(Lt(t,366))return Zu(r,(D1(),Wp))}return!0}function Rkn(t,e,n){var r,s,o,h,d,m;if(s=n,o=s.Lk(),Ng(t.e,o)){if(o.Si()){for(r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],Ti(d,s)&&h!=e)throw at(new zn(AN))}}else for(m=Lu(t.e.Dh(),o),r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],m.am(d.Lk())&&h!=e)throw at(new zn(ON));return u(c5(t,e,n),76)}function Wde(t,e){if(e instanceof Object)try{if(e.__java$exception=t,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var r=n.he();return r&&r.fe()}},suppressed:{get:function(){return n.ge()}}})}catch{}}function Yde(t,e){var n,r,s,o,h;if(r=e>>5,e&=31,r>=t.d)return t.e<0?(Xd(),Zve):(Xd(),yA);if(o=t.d-r,s=Vt(Fr,ii,28,o+1,15,1),_4n(s,o,t.a,r,e),t.e<0){for(n=0;n<r&&t.a[n]==0;n++);if(n<r||e>0&&t.a[n]<<32-e){for(n=0;n<o&&s[n]==-1;n++)s[n]=0;n==o&&++o,++s[n]}}return h=new Y2(t.e,o,s),qS(h),h}function Xde(t){var e,n,r,s;return s=ed(t),n=new lE(s),r=new SM(s),e=new fe,Hs(e,(!t.d&&(t.d=new kn(Ts,t,8,5)),t.d)),Hs(e,(!t.e&&(t.e=new kn(Ts,t,7,4)),t.e)),u(nc(Wo(_i(new ln(null,new gn(e,16)),n),r),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21)}function jkn(t,e){var n;switch(n=u(X(t,(De(),$G)),283),e.Ug("Label side selection ("+n+")",1),n.g){case 0:ode(t,(uh(),K0));break;case 1:ode(t,(uh(),h2));break;case 2:Sge(t,(uh(),K0));break;case 3:Sge(t,(uh(),h2));break;case 4:s0e(t,(uh(),K0));break;case 5:s0e(t,(uh(),h2))}e.Vg()}function Ng(t,e){vo();var n,r,s;return e.Jk()?!0:e.Ik()==-2?e==(vk(),s8)||e==i8||e==o0t||e==c0t?!0:(s=t.Dh(),ns(s,e)>=0?!1:(n=y5((il(),ja),s,e),n?(r=n.Ik(),(r>1||r==-1)&&Om($o(ja,n))!=3):!0)):!1}function $kn(t,e,n,r){var s,o,h,d,m;return d=Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)),m=Jo(u(Dt((!e.c&&(e.c=new kn(vr,e,5,8)),e.c),0),84)),Ji(d)==Ji(m)||qy(m,d)?null:(h=AI(e),h==n?r:(o=u(tr(t.a,h),10),o&&(s=o.e,s)?s:null))}function zkn(t,e,n){var r,s,o,h,d;for(n.Ug("Longest path to source layering",1),t.a=e,d=t.a.a,t.b=Vt(Fr,ii,28,d.c.length,15,1),r=0,h=new G(d);h.a<h.c.c.length;)s=u(et(h),10),s.p=r,t.b[r]=-1,++r;for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),10),xde(t,s);d.c.length=0,t.a=null,t.b=null,n.Vg()}function okt(t,e,n){var r,s,o,h,d,m;if(r=vrn(n,t.length),h=t[r],o=SWt(n,h.length),h[o].k==(Un(),Ms))for(m=e.j,s=0;s<m.c.length;s++)d=(vn(s,m.c.length),u(m.c[s],12)),(n?d.j==(ve(),Jn):d.j==(ve(),Gn))&&Ie(Me(X(d,(oe(),eP))))&&(Mh(m,s,u(X(h[o],(oe(),Li)),12)),o+=n?1:-1)}function qkn(t,e){var n,r,s,o,h,d,m,k;e.Ug("Greedy Width Approximator",1),n=Rt(Ht(ne(t,(fd(),mK)))),m=u(ne(t,rL),107),o=u(ne(t,xDt),394),h=Ie(Me(ne(t,yDt))),d=Rt(Ht(ne(t,iL))),k=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),M4t(k),s=new JZt(n,o,h),r=J8n(s,k,d,m),Mi(t,(N0(),B3),r.c),e.Vg()}function Qde(t){if(t.g==null)switch(t.p){case 0:t.g=hfn(t)?(Pn(),bT):(Pn(),t2);break;case 1:t.g=GI(idn(t));break;case 2:t.g=ZI(n1n(t));break;case 3:t.g=Bln(t);break;case 4:t.g=new na(Fln(t));break;case 6:t.g=Mg($ln(t));break;case 5:t.g=he(Yhn(t));break;case 7:t.g=w7(odn(t))}return t.g}function ckt(t){if(t.n==null)switch(t.p){case 0:t.n=ffn(t)?(Pn(),bT):(Pn(),t2);break;case 1:t.n=GI(sdn(t));break;case 2:t.n=ZI(r1n(t));break;case 3:t.n=Rln(t);break;case 4:t.n=new na(jln(t));break;case 6:t.n=Mg(zln(t));break;case 5:t.n=he(Xhn(t));break;case 7:t.n=w7(adn(t))}return t.n}function Jde(t,e,n,r){var s,o,h,d,m;if(d=(vo(),u(e,69).xk()),Ng(t.e,e)){if(e.Si()&&hV(t,e,r,Lt(e,102)&&(u(e,19).Bb&po)!=0))throw at(new zn(AN))}else for(m=Lu(t.e.Dh(),e),s=u(t.g,124),h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk()))throw at(new zn(ON));h_(t,g6t(t,e,n),d?u(r,76):D0(e,r))}function Zde(t){var e,n,r,s,o,h,d;for(o=new G(t.a.a);o.a<o.c.c.length;)r=u(et(o),316),r.g=0,r.i=0,r.e.a.$b();for(s=new G(t.a.a);s.a<s.c.c.length;)for(r=u(et(s),316),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),60),d=e.c.Kc();d.Ob();)h=u(d.Pb(),60),h.a!=r&&(qs(r.e,h),++h.a.g,++h.a.i)}function Hkn(t){var e,n,r,s,o;s=u(X(t,(De(),Ow)),21),o=u(X(t,GG),21),n=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new io(n),s.Hc((Yl(),z3))&&(r=u(X(t,IT),8),o.Hc((Ml(),XT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),U7n(t,n,e)}function Vkn(t,e){var n,r,s;e.a?(yI(t.b,e.b),t.a[e.b.i]=u(lrt(t.b,e.b),86),n=u(urt(t.b,e.b),86),n&&(t.a[n.i]=e.b)):(r=u(lrt(t.b,e.b),86),r&&r==t.a[e.b.i]&&r.d&&r.d!=e.b.d&&r.f.Fc(e.b),s=u(urt(t.b,e.b),86),s&&t.a[s.i]==e.b&&s.d&&s.d!=e.b.d&&e.b.f.Fc(s),rit(t.b,e.b))}function t0e(t,e){var n,r,s,o,h,d;return o=t.d,d=Rt(Ht(X(t,(De(),Hp)))),d<0&&(d=0,Zt(t,Hp,d)),e.o.b=d,h=b.Math.floor(d/2),r=new Yc,Xs(r,(ve(),Gn)),hc(r,e),r.n.b=h,s=new Yc,Xs(s,Jn),hc(s,e),s.n.b=h,xa(t,r),n=new Pm,Qo(n,t),Zt(n,Vo,null),Xa(n,s),xa(n,o),i7n(e,t,n),J4n(t,n),n}function Ukn(t){var e,n;return n=u(X(t,(oe(),lu)),21),e=new Fs,n.Hc((Co(),LA))&&(ch(e,Ske),ch(e,ZAt)),(n.Hc(DT)||Ie(Me(X(t,(De(),a1t)))))&&(ch(e,ZAt),n.Hc(q5)&&ch(e,Ake)),n.Hc(Uh)&&ch(e,Cke),n.Hc(DA)&&ch(e,Lke),n.Hc(SG)&&ch(e,_ke),n.Hc(AT)&&ch(e,Eke),n.Hc(LT)&&ch(e,Tke),e}function Gkn(t,e){var n,r,s,o,h,d,m,k,T,A,P;return r=t.d,o=e.d,d=r+o,m=t.e!=e.e?-1:1,d==2?(T=Ja(sa(t.a[0],So),sa(e.a[0],So)),P=qr(T),A=qr(Ab(T,32)),A==0?new kg(m,P):new Y2(m,2,lt(ut(Fr,1),ii,28,15,[P,A]))):(n=t.a,s=e.a,h=Vt(Fr,ii,28,d,15,1),Ubn(n,r,s,o,h),k=new Y2(m,d,h),qS(k),k)}function e0e(t,e,n,r){var s,o;if(e){if(s=t.a.Ne(n.d,e.d),s==0)return r.d=fvt(e,n.e),r.b=!0,e;o=s<0?0:1,e.a[o]=e0e(t,e.a[o],n,r),vy(e.a[o])&&(vy(e.a[1-o])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):vy(e.a[o].a[o])?e=Wq(e,1-o):vy(e.a[o].a[1-o])&&(e=qre(e,1-o)))}else return n;return e}function n0e(t,e,n){var r,s,o,h;s=t.i,r=t.n,O3t(t,(A1(),Ac),s.c+r.b,n),O3t(t,Lc,s.c+s.b-r.c-n[2],n),h=s.b-r.b-r.c,n[0]>0&&(n[0]+=t.d,h-=n[0]),n[2]>0&&(n[2]+=t.d,h-=n[2]),o=b.Math.max(0,h),n[1]=b.Math.max(n[1],h),O3t(t,xu,s.c+r.b+n[0]-(n[1]-h)/2,n),e==xu&&(t.c.b=o,t.c.c=s.c+r.b+(o-h)/2)}function r0e(){this.c=Vt(ma,No,28,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,15,1),this.b=Vt(ma,No,28,lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]).length,15,1),this.a=Vt(ma,No,28,lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]).length,15,1),Fwt(this.c,Zi),Fwt(this.b,Vs),Fwt(this.a,Vs)}function iu(t,e,n){var r,s,o,h;if(e<=n?(s=e,o=n):(s=n,o=e),r=0,t.b==null)t.b=Vt(Fr,ii,28,2,15,1),t.b[0]=s,t.b[1]=o,t.c=!0;else{if(r=t.b.length,t.b[r-1]+1==s){t.b[r-1]=o;return}h=Vt(Fr,ii,28,r+2,15,1),Xc(t.b,0,h,0,r),t.b=h,t.b[r-1]>=s&&(t.c=!1,t.a=!1),t.b[r++]=s,t.b[r]=o,t.c||g5(t)}}function Kkn(t,e,n){var r,s,o,h,d,m,k;for(k=e.d,t.a=new wu(k.c.length),t.c=new _r,d=new G(k);d.a<d.c.c.length;)h=u(et(d),105),o=new eO(null),ge(t.a,o),hi(t.c,h,o);for(t.b=new _r,t5n(t,e),r=0;r<k.c.length-1;r++)for(m=u(Oe(e.d,r),105),s=r+1;s<k.c.length;s++)B6n(t,m,u(Oe(e.d,s),105),n)}function n3(t){var e,n,r,s,o;for(s=new fe,e=new LS((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),r=new rr(sr(Og(t).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)||(o=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),e.a._b(o)||In(s.c,o));return s}function Wkn(t,e,n){var r,s,o;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,(t.e&16)==16&&(t.i=iEn(t.i)),t.j=t.i.length,wi(t),o=Xm(t),t.d!=t.j)throw at(new Yr(Qr((Ur(),ome))));if(t.g){for(r=0;r<t.g.a.c.length;r++)if(s=u(Im(t.g,r),592),t.f<=s.a)throw at(new Yr(Qr((Ur(),cme))));t.g.a.c.length=0}return o}function Ykn(t,e){var n,r,s,o,h,d,m;for(n=Vs,d=(Un(),xs),s=new G(e.a);s.a<s.c.c.length;)r=u(et(s),10),o=r.k,o!=xs&&(h=Ht(X(r,(oe(),e_t))),h==null?(n=b.Math.max(n,0),r.n.b=n+Gmt(t.a,o,d)):r.n.b=(Wn(h),h)),m=Gmt(t.a,o,d),r.n.b<n+m+r.d.d&&(r.n.b=n+m+r.d.d),n=r.n.b+r.o.b+r.d.a,d=o}function i0e(t,e,n,r,s){var o,h,d,m,k,T;if(t.d&&t.d.Gg(s),o=u(s.Xb(0),27),she(t,n,o,!1)||(h=u(s.Xb(s.gc()-1),27),she(t,r,h,!0))||s6t(t,s))return!0;for(T=s.Kc();T.Ob();)for(k=u(T.Pb(),27),m=e.Kc();m.Ob();)if(d=u(m.Pb(),27),sV(t,k,d))return!0;return!1}function Xkn(t,e,n){var r,s,o,h,d,m,k,T,A,P;P=e.c.length,A=(k=t.Ih(n),u(k>=0?t.Lh(k,!1,!0):tv(t,n,!1),61));t:for(o=A.Kc();o.Ob();){for(s=u(o.Pb(),58),T=0;T<P;++T)if(h=(vn(T,e.c.length),u(e.c[T],76)),m=h.md(),d=h.Lk(),r=s.Nh(d,!1),m==null?r!=null:!Ti(m,r))continue t;return s}return null}function Qkn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Comment post-processing",1),o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),r=new fe,d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),m=u(X(h,(oe(),Wk)),15),n=u(X(h,Hk),15),(m||n)&&(gCn(h,m,n),m&&Hs(r,m),n&&Hs(r,n));Hs(s.a,r)}e.Vg()}function Jkn(t,e,n,r){var s,o,h,d;for(s=u(Pp(e,(ve(),Gn)).Kc().Pb(),12),o=u(Pp(e,Jn).Kc().Pb(),12),d=new G(t.j);d.a<d.c.c.length;){for(h=u(et(d),12);h.e.c.length!=0;)xa(u(Oe(h.e,0),18),s);for(;h.g.c.length!=0;)Xa(u(Oe(h.g,0),18),o)}n||Zt(e,(oe(),N1),null),r||Zt(e,(oe(),gf),null)}function b5(t,e,n){var r,s;if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)return V4t(t);if(r=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),e&&(Ir((!r.a&&(r.a=new Ps(vh,r,5)),r.a)),QE(r,0),ZE(r,0),XE(r,0),JE(r,0)),n)for(s=(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a);s.i>1;)r3(s,s.i-1);return r}function s0e(t,e){var n,r,s,o,h,d,m;for(n=new K4,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m=!0,r=0,d=new G(s.a);d.a<d.c.c.length;)switch(h=u(et(d),10),h.k.g){case 4:++r;case 1:w3t(n,h);break;case 0:Q4n(h,e);default:n.b==n.c||Y0e(n,r,m,!1,e),m=!1,r=0}n.b==n.c||Y0e(n,r,m,!0,e)}}function ukt(t,e){var n,r,s,o,h,d;for(n=0,d=new G(e);d.a<d.c.c.length;){for(h=u(et(d),12),c5t(t.b,t.d[h.p]),s=new sd(h.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),o=Cwt(t,h==r.c?r.d:r.c),o>t.d[h.p]&&(n+=C3t(t.b,o),Ob(t.a,he(o)));for(;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function Zkn(t){var e,n,r,s,o,h,d,m,k;for(t.a=new wvt,k=0,s=0,r=new G(t.i.b);r.a<r.c.c.length;){for(e=u(et(r),30),e.p=s,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p=k,++k;++s}for(o=t.r==(cf(),Lv),h=o?_4e:S4e,n=new G(t.i.b);n.a<n.c.c.length;)e=u(et(n),30),Ds(e.a,h),J0n(t.a,he(e.p),e.a)}function a0e(t,e,n){var r,s,o,h;for(o=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,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),(!r.a&&(r.a=new Jt(bi,r,10,11)),r.a).i==0||(o+=a0e(t,r,!1));if(n)for(h=Ji(e);h;)o+=(!h.a&&(h.a=new Jt(bi,h,10,11)),h.a).i,h=Ji(h);return o}function r3(t,e){var n,r,s,o;return t.Pj()?(r=null,s=t.Qj(),t.Tj()&&(r=t.Vj(t.$i(e),null)),n=t.Ij(4,o=pk(t,e),null,e,s),t.Mj()&&o!=null&&(r=t.Oj(o,r)),r?(r.nj(n),r.oj()):t.Jj(n),o):(o=pk(t,e),t.Mj()&&o!=null&&(r=t.Oj(o,null),r&&r.oj()),o)}function t8n(t){var e,n,r,s,o,h,d,m,k,T;for(k=t.a,e=new Os,m=0,r=new G(t.d);r.a<r.c.c.length;){for(n=u(et(r),226),T=0,rw(n.b,new Uc),h=Dr(n.b,0);h.b!=h.d.c;)o=u(Ar(h),226),e.a._b(o)&&(s=n.c,d=o.c,T<d.d+d.a+k&&T+s.a+k>d.d&&(T=d.d+d.a+k));n.c.d=T,e.a.zc(n,e),m=b.Math.max(m,n.c.d+n.c.a)}return m}function Co(){Co=V,CG=new ky("COMMENTS",0),Uh=new ky("EXTERNAL_PORTS",1),LA=new ky("HYPEREDGES",2),SG=new ky("HYPERNODES",3),DT=new ky("NON_FREE_PORTS",4),q5=new ky("NORTH_SOUTH_PORTS",5),DA=new ky(D2e,6),AT=new ky("CENTER_LABELS",7),LT=new ky("END_LABELS",8),_G=new ky("PARTITIONS",9)}function e8n(t,e,n,r,s){return r<0?(r=d5(t,s,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct]),e),r<0&&(r=d5(t,s,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function n8n(t,e,n,r,s){return r<0?(r=d5(t,s,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct]),e),r<0&&(r=d5(t,s,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function r8n(t,e,n,r,s,o){var h,d,m,k;if(d=32,r<0){if(e[0]>=t.length||(d=Va(t,e[0]),d!=43&&d!=45)||(++e[0],r=KH(t,e),r<0))return!1;d==45&&(r=-r)}return d==32&&e[0]-n==2&&s.b==2&&(m=new x$,k=m.q.getFullYear()-Wb+Wb-80,h=k%100,o.a=r==h,r+=(k/100|0)*100+(r<h?100:0)),o.p=r,!0}function o0e(t,e){var n,r,s,o,h;Ji(t)&&(h=u(X(e,(De(),Ow)),181),$t(ne(t,bs))===$t((ka(),d2))&&Mi(t,bs,Td),r=(xy(),new my(Ji(t))),o=new sit(Ji(t)?new my(Ji(t)):null,t),s=kpe(r,o,!1,!0),zf(h,(Yl(),z3)),n=u(X(e,IT),8),n.a=b.Math.max(s.a,n.a),n.b=b.Math.max(s.b,n.b))}function i8n(t,e,n){var r,s,o,h,d,m;for(h=u(X(t,(oe(),Uft)),15).Kc();h.Ob();){switch(o=u(h.Pb(),10),u(X(o,(De(),Iu)),171).g){case 2:Aa(o,e);break;case 4:Aa(o,n)}for(s=new rr(sr(Dg(o).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!(r.c&&r.d)&&(d=!r.d,m=u(X(r,r_t),12),d?xa(r,m):Xa(r,m))}}function iV(){iV=V,xft=new X6(_V,0,(ve(),Hn),Hn),Tft=new X6(Eut,1,Er,Er),yft=new X6(kut,2,Jn,Jn),_ft=new X6(Tut,3,Gn,Gn),Eft=new X6("NORTH_WEST_CORNER",4,Gn,Hn),kft=new X6("NORTH_EAST_CORNER",5,Hn,Jn),Sft=new X6("SOUTH_WEST_CORNER",6,Er,Gn),Cft=new X6("SOUTH_EAST_CORNER",7,Jn,Er)}function s8n(t){var e,n,r,s,o,h;for(o=new Os,e=new LS((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),s=new rr(sr(Og(t).a.Kc(),new z));Mr(s);)r=u(dr(s),74),Lt(Dt((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),0),193)||(h=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)),e.a._b(h)||(n=o.a.zc(h,o),n==null));return o}function w5(){w5=V,iMt=lt(ut(x2,1),cut,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function F7(){F7=V;var t,e;for(Bk=Vt(N5,ue,92,32,0,1),xA=Vt(N5,ue,92,32,0,1),t=1,e=0;e<=18;e++)Bk[e]=(Xd(),$c(t,0)>=0?zb(t):FS(zb(Cp(t)))),xA[e]=J$(Rf(t,e),0)?zb(Rf(t,e)):FS(zb(Cp(Rf(t,e)))),t=Ja(t,5);for(;e<xA.length;e++)Bk[e]=Z4(Bk[e-1],Bk[1]),xA[e]=Z4(xA[e-1],(Xd(),Iht))}function c0e(t,e){var n,r,s,o,h;if(t.c.length==0)return new Ws(he(0),he(0));for(n=(vn(0,t.c.length),u(t.c[0],12)).j,h=0,o=e.g,r=e.g+1;h<t.c.length-1&&n.g<o;)++h,n=(vn(h,t.c.length),u(t.c[h],12)).j;for(s=h;s<t.c.length-1&&n.g<r;)++s,n=(vn(h,t.c.length),u(t.c[h],12)).j;return new Ws(he(h),he(s))}function a8n(t,e,n,r){var s,o,h,d,m,k,T;m=gc(e,n),(n==(ve(),Er)||n==Gn)&&(m=Bh(m)),h=!1;do for(s=!1,o=0;o<m.gc()-1;o++)k=u(m.Xb(o),12),d=u(m.Xb(o+1),12),V3n(t,k,d,r)&&(h=!0,yst(t.a,u(m.Xb(o),12),u(m.Xb(o+1),12)),T=u(m.Xb(o+1),12),m.hd(o+1,u(m.Xb(o),12)),m.hd(o,T),s=!0);while(s);return h}function o8n(t,e,n){var r,s,o,h;for(n.Ug(G2e,1),s=u(nc(_i(new ln(null,new gn(e.b,16)),new GZ),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),P1e(t,s,0),h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),r=tr(t.a,he(o.g))!=null?u(tr(t.a,he(o.g)),17).a:0,Zt(o,(Cc(),h0),he(r));n.Vg()}function sV(t,e,n){var r,s,o,h,d,m,k,T;return d=e.i-t.g/2,m=n.i-t.g/2,k=e.j-t.g/2,T=n.j-t.g/2,o=e.g+t.g,h=n.g+t.g,r=e.f+t.g,s=n.f+t.g,d<m+h&&m<d&&k<T+s&&T<k||m<d+o&&d<m&&T<k+r&&k<T||d<m+h&&m<d&&k<T&&T<k+r?!0:m<d+o&&d<m&&k<T+s&&T<k}function c8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=e.c.length,h=(vn(n,e.c.length),u(e.c[n],292)),d=h.a.o.a,A=h.c,P=0,k=h.c;k<=h.f;k++){if(d<=t.a[k])return k;for(T=t.a[k],m=null,s=n+1;s<o;s++)r=(vn(s,e.c.length),u(e.c[s],292)),r.c<=k&&r.f>=k&&(m=r);m&&(T=b.Math.max(T,m.a.o.a)),T>P&&(A=k,P=T)}return A}function u8n(t){var e,n,r,s,o,h,d;for(o=new pp(u(Hr(new kh),50)),d=Vs,n=new G(t.d);n.a<n.c.c.length;){for(e=u(et(n),226),d=e.c.c;o.a.gc()!=0&&(h=u(o.a.Tc(),226),h.c.c+h.c.b<d);)o.a.Bc(h)!=null;for(s=o.a.ec().Kc();s.Ob();)r=u(s.Pb(),226),Zr(r.b,e),Zr(e.b,r);o.a.zc(e,(Pn(),t2))==null}}function u0e(t,e,n){var r,s,o,h,d;if(!HE(e)){for(d=n.eh((Lt(e,16)?u(e,16).gc():xg(e.Kc()))/t.a|0),d.Ug(K2e,1),h=new _R,o=null,s=e.Kc();s.Ob();)r=u(s.Pb(),39),h=ah(lt(ut(gh,1),Ln,20,0,[h,new gg(r)])),o&&(Zt(o,(ji(),Kke),r),Zt(r,$1t,o),Nst(r)==Nst(o)&&(Zt(o,z1t,r),Zt(r,oK,o))),o=r;d.Vg(),u0e(t,h,n)}}function l8n(t,e){var n,r,s;if(e==null){for(r=(!t.a&&(t.a=new Jt(Vg,t,9,5)),new Zn(t.a));r.e!=r.i.gc();)if(n=u(ar(r),694),s=n.c,(s??n.zb)==null)return n}else for(r=(!t.a&&(t.a=new Jt(Vg,t,9,5)),new Zn(t.a));r.e!=r.i.gc();)if(n=u(ar(r),694),hn(e,(s=n.c,s??n.zb)))return n;return null}function tct(t,e){var n;switch(n=null,e.g){case 1:t.e.pf((ai(),Bdt))&&(n=u(t.e.of(Bdt),256));break;case 3:t.e.pf((ai(),Rdt))&&(n=u(t.e.of(Rdt),256));break;case 2:t.e.pf((ai(),Fdt))&&(n=u(t.e.of(Fdt),256));break;case 4:t.e.pf((ai(),jdt))&&(n=u(t.e.of(jdt),256))}return!n&&(n=u(t.e.of((ai(),OMt)),256)),n}function l0e(t,e,n){var r,s,o,h,d,m;for(s=n,o=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),Mi(h,(Ub(),dK),he(s++)),m=n3(h),r=b.Math.atan2(h.j+h.f/2,h.i+h.g/2),r+=r<0?xw:0,r<.7853981633974483||r>nwe?Ds(m,t.b):r<=nwe&&r>rwe?Ds(m,t.d):r<=rwe&&r>iwe?Ds(m,t.c):r<=iwe&&Ds(m,t.a),o=l0e(t,m,o);return s}function h0e(t,e,n,r){var s,o,h,d,m,k;for(s=(r.c+r.a)/2,nh(e.j),Zr(e.j,s),nh(n.e),Zr(n.e,s),k=new IWt,d=new G(t.f);d.a<d.c.c.length;)o=u(et(d),132),m=o.a,_ot(k,e,m),_ot(k,n,m);for(h=new G(t.k);h.a<h.c.c.length;)o=u(et(h),132),m=o.b,_ot(k,e,m),_ot(k,n,m);return k.b+=2,k.a+=mne(e,t.q),k.a+=mne(t.q,n),k}function h8n(t,e,n){var r;n.Ug("Processor arrange node",1),Ie(Me(X(e,(Cc(),kLt)))),r=u(Vl(f7(_i(new ln(null,new gn(e.b,16)),new att))),39),t.a=u(X(e,MLt),353),t.a==(a_(),U1t)||t.a==lK?Epe(t,new hl(lt(ut(aK,1),rU,39,0,[r])),n.eh(1)):t.a==V1t&&Qpe(t,new hl(lt(ut(aK,1),rU,39,0,[r])),n.eh(1)),n.Vg()}function fd(){fd=V,mK=new _a((ai(),sx),1.3),pEe=new _a(R3,(Pn(),!1)),wDt=new xm(15),rL=new _a(Yp,wDt),iL=new _a($w,15),hEe=CP,gEe=jw,bEe=lx,wEe=l2,dEe=ux,gDt=LP,mEe=j3,xDt=(kkt(),cEe),yDt=oEe,ddt=lEe,kDt=uEe,bDt=iEe,fdt=rEe,pDt=nEe,vDt=aEe,dDt=AP,fEe=Pdt,vP=tEe,fDt=Z8e,yP=eEe,mDt=sEe}function f0e(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.d,t.f==(qu(),n2)?d+=(n.a-t.e.b)/2:t.f==Kf&&(d+=n.a-t.e.b),s=new G(t.d);s.a<s.c.c.length;){switch(r=u(et(s),187),h=r.Mf(),o=new Sa,o.b=d,d+=h.b+t.a,t.b.g){case 0:o.a=n.c+e.b;break;case 1:o.a=n.c+e.b+(n.b-h.a)/2;break;case 2:o.a=n.c+n.b-e.c-h.a}r.Of(o)}}function d0e(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.c,t.b==(pl(),e2)?d+=(n.b-t.e.a)/2:t.b==Gf&&(d+=n.b-t.e.a),s=new G(t.d);s.a<s.c.c.length;){switch(r=u(et(s),187),h=r.Mf(),o=new Sa,o.a=d,d+=h.a+t.a,t.f.g){case 0:o.b=n.d+e.d;break;case 1:o.b=n.d+e.d+(n.a-h.b)/2;break;case 2:o.b=n.d+n.a-e.a-h.b}r.Of(o)}}function f8n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;T=n.a.c,h=n.a.c+n.a.b,o=u(tr(n.c,e),467),$=o.f,U=o.a,m=new ae(T,$),A=new ae(h,U),s=T,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new ae(s,$),P=new ae(s,U),XS(e.a,lt(ut(la,1),ue,8,0,[m,k])),d=n.d.a.gc()>1,d&&(r=new ae(s,n.b),Zr(e.a,r)),XS(e.a,lt(ut(la,1),ue,8,0,[P,A]))}function lkt(t,e,n){var r,s;for(e<t.d.b.c.length?(t.b=u(Oe(t.d.b,e),30),t.a=u(Oe(t.d.b,e-1),30),t.c=e):(t.a=new eu(t.d),t.a.p=e-1,ge(t.d.b,t.a),t.b=new eu(t.d),t.b.p=e,ge(t.d.b,t.b),t.c=e),Aa(n,t.b),s=new rr(sr(ua(n).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!r.c.i.c&&r.c.i.k==(Un(),Vc)&&Aa(r.c.i,t.a)}function g0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,lU),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new HR))),le(t,lU,ov,fIt),le(t,lU,h3,15),le(t,lU,IV,he(0)),le(t,lU,Dk,tT)}function hkt(){hkt=V;var t,e,n,r,s,o;for(ML=Vt(ul,M5,28,255,15,1),tW=Vt(Yh,Zd,28,16,15,1),e=0;e<255;e++)ML[e]=-1;for(n=57;n>=48;n--)ML[n]=n-48<<24>>24;for(r=70;r>=65;r--)ML[r]=r-65+10<<24>>24;for(s=102;s>=97;s--)ML[s]=s-97+10<<24>>24;for(o=0;o<10;o++)tW[o]=48+o&js;for(t=10;t<=15;t++)tW[t]=65+t-10&js}function d8n(t,e){e.Ug("Process graph bounds",1),Zt(t,(ji(),R1t),KM(hat(Ny(new ln(null,new gn(t.b,16)),new zZ)))),Zt(t,j1t,KM(hat(Ny(new ln(null,new gn(t.b,16)),new qZ)))),Zt(t,pLt,KM(lat(Ny(new ln(null,new gn(t.b,16)),new HZ)))),Zt(t,bLt,KM(lat(Ny(new ln(null,new gn(t.b,16)),new VZ)))),e.Vg()}function g8n(t){var e,n,r,s,o;s=u(X(t,(De(),Ow)),21),o=u(X(t,GG),21),n=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new io(n),s.Hc((Yl(),z3))&&(r=u(X(t,IT),8),o.Hc((Ml(),XT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),Ie(Me(X(t,c1t)))||V7n(t,n,e)}function p8n(t,e){var n,r,s,o;for(o=gc(e,(ve(),Er)).Kc();o.Ob();)r=u(o.Pb(),12),n=u(X(r,(oe(),ml)),10),n&&Hf(Of(If(Nf(Mf(new tf,0),.1),t.i[e.p].d),t.i[n.p].a));for(s=gc(e,Hn).Kc();s.Ob();)r=u(s.Pb(),12),n=u(X(r,(oe(),ml)),10),n&&Hf(Of(If(Nf(Mf(new tf,0),.1),t.i[n.p].d),t.i[e.p].a))}function ect(t){var e,n,r,s,o,h;if(!t.c){if(h=new Oc,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Wc(t));r.e!=r.i.gc();)n=u(ar(r),89),s=lV(n),Lt(s,90)&&gs(h,ect(u(s,29))),Or(h,n);e.a.Bc(t)!=null,e.a.gc()==0}lwn(h),Uy(h),t.c=new $4((u(Dt(Qt((Lb(),Fn).o),15),19),h.i),h.g),_l(t).b&=-33}return t.c}function fkt(t){var e;if(t.c!=10)throw at(new Yr(Qr((Ur(),pU))));switch(e=t.a,e){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw at(new Yr(Qr((Ur(),Hh))))}return e}function p0e(t){var e,n,r,s,o;if(t.l==0&&t.m==0&&t.h==0)return"0";if(t.h==aN&&t.m==0&&t.l==0)return"-9223372036854775808";if(t.h>>19)return"-"+p0e(h7(t));for(n=t,r="";!(n.l==0&&n.m==0&&n.h==0);){if(s=Mst(EV),n=Gkt(n,s,!0),e=""+RWt(Zb),!(n.l==0&&n.m==0&&n.h==0))for(o=9-e.length;o>0;o--)e="0"+e;r=e+r}return r}function b8n(t){var e,n,r,s,o,h,d;for(e=!1,n=0,s=new G(t.d.b);s.a<s.c.c.length;)for(r=u(et(s),30),r.p=n++,h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),!e&&!HE(Dg(o))&&(e=!0);d=Hi((Rs(),Ed),lt(ut(gL,1),te,88,0,[Uo,tc])),e||(zf(d,Gh),zf(d,kd)),t.a=new Qae(d),dl(t.f),dl(t.b),dl(t.e),dl(t.g)}function w8n(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);if(e[t]!==void 0)return!1;var n=Object.getOwnPropertyNames(e);return!(n.length!=0||(e[t]=42,e[t]!==42)||Object.getOwnPropertyNames(e).length==0)}function m8n(t,e,n){var r,s,o,h,d,m,k,T,A;for(r=n.c,s=n.d,d=rd(e.c),m=rd(e.d),r==e.c?(d=Q6t(t,d,s),m=xfe(e.d)):(d=xfe(e.c),m=Q6t(t,m,s)),k=new b$(e.a),hs(k,d,k.a,k.a.a),hs(k,m,k.c.b,k.c),h=e.c==r,A=new yKt,o=0;o<k.b-1;++o)T=new Ws(u(jh(k,o),8),u(jh(k,o+1),8)),h&&o==0||!h&&o==k.b-2?A.b=T:ge(A.a,T);return A}function v8n(t,e){var n,r,s,o;if(o=t.j.g-e.j.g,o!=0)return o;if(n=u(X(t,(De(),Vp)),17),r=u(X(e,Vp),17),n&&r&&(s=n.a-r.a,s!=0))return s;switch(t.j.g){case 1:return Bi(t.n.a,e.n.a);case 2:return Bi(t.n.b,e.n.b);case 3:return Bi(e.n.a,t.n.a);case 4:return Bi(e.n.b,t.n.b);default:throw at(new Ro(Z8t))}}function dkt(t,e,n,r){var s,o,h,d,m;if(xg((gI(),new rr(sr(Dg(e).a.Kc(),new z))))>=t.a||!Yxt(e,n))return-1;if(HE(u(r.Kb(e),20)))return 1;for(s=0,h=u(r.Kb(e),20).Kc();h.Ob();)if(o=u(h.Pb(),18),m=o.c.i==e?o.d.i:o.c.i,d=dkt(t,m,n,r),d==-1||(s=b.Math.max(s,d),s>t.c-1))return-1;return s+1}function b0e(t,e){var n,r,s,o,h,d;if($t(e)===$t(t))return!0;if(!Lt(e,15)||(r=u(e,15),d=t.gc(),r.gc()!=d))return!1;if(h=r.Kc(),t.Yi()){for(n=0;n<d;++n)if(s=t.Vi(n),o=h.Pb(),s==null?o!=null:!Ti(s,o))return!1}else for(n=0;n<d;++n)if(s=t.Vi(n),o=h.Pb(),$t(s)!==$t(o))return!1;return!0}function w0e(t,e){var n,r,s,o,h,d;if(t.f>0){if(t._j(),e!=null){for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,379),d=n.i,h=0;h<d;++h)if(s=r[h],Ti(e,s.md()))return!0}}else for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,379),d=n.i,h=0;h<d;++h)if(s=r[h],$t(e)===$t(s.md()))return!0}}return!1}function y8n(t,e){var n,r,s;return n=e.qi(t.a),n&&(s=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),"affiliation")),s!=null)?(r=cz(s,Hu(35)),r==-1?Rat(t,MS(t,sh(e.qk())),s):r==0?Rat(t,null,(qn(1,s.length+1),s.substr(1))):Rat(t,(Da(0,r,s.length),s.substr(0,r)),(qn(r+1,s.length+1),s.substr(r+1)))):null}function x8n(t,e,n){var r,s,o,h;n.Ug("Orthogonally routing hierarchical port edges",1),t.a=0,r=bTn(e),x9n(e,r),s9n(t,e,r),xCn(e),s=u(X(e,(De(),bs)),101),o=e.b,vpe((vn(0,o.c.length),u(o.c[0],30)),s,e),vpe(u(Oe(o,o.c.length-1),30),s,e),h=e.b,Lge((vn(0,h.c.length),u(h.c[0],30))),Lge(u(Oe(h,h.c.length-1),30)),n.Vg()}function gkt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw at(new jd("Invalid hexadecimal"))}}function aV(){aV=V,Q9t=new P4("SPIRAL",0),K9t=new P4("LINE_BY_LINE",1),W9t=new P4("MANHATTAN",2),G9t=new P4("JITTER",3),Hht=new P4("QUADRANTS_LINE_BY_LINE",4),X9t=new P4("QUADRANTS_MANHATTAN",5),Y9t=new P4("QUADRANTS_JITTER",6),U9t=new P4("COMBINE_LINE_BY_LINE_MANHATTAN",7),V9t=new P4("COMBINE_JITTER_MANHATTAN",8)}function m0e(t,e,n,r){var s,o,h,d,m,k;for(m=Sot(t,n),k=Sot(e,n),s=!1;m&&k&&(r||dvn(m,k,n));)h=Sot(m,n),d=Sot(k,n),HI(e),HI(t),o=m.c,_ct(m,!1),_ct(k,!1),n?(Xy(e,k.p,o),e.p=k.p,Xy(t,m.p+1,o),t.p=m.p):(Xy(t,m.p,o),t.p=m.p,Xy(e,k.p+1,o),e.p=k.p),Aa(m,null),Aa(k,null),m=h,k=d,s=!0;return s}function v0e(t){switch(t.g){case 0:return new Wet;case 1:return new NC;case 3:return new GYt;case 4:return new zJ;case 5:return new yZt;case 6:return new yM;case 2:return new OC;case 7:return new Dj;case 8:return new vM;default:throw at(new zn("No implementation is available for the layerer "+(t.f!=null?t.f:""+t.g)))}}function k8n(t,e,n,r){var s,o,h,d,m;for(s=!1,o=!1,d=new G(r.j);d.a<d.c.c.length;)h=u(et(d),12),$t(X(h,(oe(),Li)))===$t(n)&&(h.g.c.length==0?h.e.c.length==0||(s=!0):o=!0);return m=0,s&&s^o?m=n.j==(ve(),Hn)?-t.e[r.c.p][r.p]:e-t.e[r.c.p][r.p]:o&&s^o?m=t.e[r.c.p][r.p]+1:s&&o&&(m=n.j==(ve(),Hn)?0:e/2),m}function nct(t,e,n,r,s,o,h,d){var m,k,T;for(m=0,e!=null&&(m^=_p(e.toLowerCase())),n!=null&&(m^=_p(n)),r!=null&&(m^=_p(r)),h!=null&&(m^=_p(h)),d!=null&&(m^=_p(d)),k=0,T=o.length;k<T;k++)m^=_p(o[k]);t?m|=256:m&=-257,s?m|=16:m&=-17,this.f=m,this.i=e==null?null:(Wn(e),e),this.a=n,this.d=r,this.j=o,this.g=h,this.e=d}function pkt(t,e,n){var r,s;switch(s=null,e.g){case 1:s=(rl(),OCt);break;case 2:s=(rl(),PCt)}switch(r=null,n.g){case 1:r=(rl(),NCt);break;case 2:r=(rl(),ICt);break;case 3:r=(rl(),FCt);break;case 4:r=(rl(),BCt)}return s&&r?H6(t.j,new Rj(new hl(lt(ut(YSn,1),Ln,178,0,[u(Hr(s),178),u(Hr(r),178)])))):(mn(),mn(),co)}function E8n(t){var e,n,r;switch(e=u(X(t,(De(),IT)),8),Zt(t,IT,new ae(e.b,e.a)),u(X(t,u0),255).g){case 1:Zt(t,u0,(I0(),_K));break;case 2:Zt(t,u0,(I0(),CK));break;case 3:Zt(t,u0,(I0(),EP));break;case 4:Zt(t,u0,(I0(),TP))}(t.q?t.q:(mn(),mn(),q0))._b(I3)&&(n=u(X(t,I3),8),r=n.a,n.a=n.b,n.b=r)}function y0e(t,e,n,r,s,o){if(this.b=n,this.d=s,t>=e.length)throw at(new Bo("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new dI(r),aat(this.e,this.c,(ve(),Gn)),this.i=new dI(r),aat(this.i,this.c,Jn),this.f=new Bte(this.c),this.a=!o&&s.i&&!s.s&&this.c[0].k==(Un(),Ms),this.a&&F4n(this,t,e.length)}function x0e(t,e){var n,r,s,o,h,d;o=!t.B.Hc((Ml(),jP)),h=t.B.Hc(Kdt),t.a=new ale(h,o,t.c),t.n&&Gyt(t.a.n,t.n),Jnt(t.g,(A1(),xu),t.a),e||(r=new p_(1,o,t.c),r.n.a=t.k,W6(t.p,(ve(),Hn),r),s=new p_(1,o,t.c),s.n.d=t.k,W6(t.p,Er,s),d=new p_(0,o,t.c),d.n.c=t.k,W6(t.p,Gn,d),n=new p_(0,o,t.c),n.n.b=t.k,W6(t.p,Jn,n))}function T8n(t){var e,n,r;switch(e=u(X(t.d,(De(),zg)),223),e.g){case 2:n=fSn(t);break;case 3:n=(r=new fe,ms(_i(Wo(fc(fc(new ln(null,new gn(t.d.b,16)),new dJ),new gJ),new pJ),new rC),new nUt(r)),r);break;default:throw at(new Ro("Compaction not supported for "+e+" edges."))}NTn(t,n),Fa(new cr(t.g),new tUt(t))}function C8n(t,e){var n,r,s,o,h,d,m;if(e.Ug("Process directions",1),n=u(X(t,(Cc(),Mv)),88),n!=(Rs(),kd))for(s=Dr(t.b,0);s.b!=s.d.c;){switch(r=u(Ar(s),39),d=u(X(r,(ji(),pP)),17).a,m=u(X(r,bP),17).a,n.g){case 4:m*=-1;break;case 1:o=d,d=m,m=o;break;case 2:h=d,d=-m,m=h}Zt(r,pP,he(d)),Zt(r,bP,he(m))}e.Vg()}function S8n(t,e){var n;return n=new As,e&&Qo(n,u(tr(t.a,zP),96)),Lt(e,422)&&Qo(n,u(tr(t.a,qP),96)),Lt(e,366)?(Qo(n,u(tr(t.a,Po),96)),n):(Lt(e,84)&&Qo(n,u(tr(t.a,vr),96)),Lt(e,207)?(Qo(n,u(tr(t.a,bi),96)),n):Lt(e,193)?(Qo(n,u(tr(t.a,kl),96)),n):(Lt(e,326)&&Qo(n,u(tr(t.a,Ts),96)),n))}function _8n(t){var e,n,r,s,o,h,d,m;for(m=new tse,d=new G(t.a);d.a<d.c.c.length;)if(h=u(et(d),10),h.k!=(Un(),Ms)){for(Lxn(m,h,new Sa),o=new rr(sr(_s(h).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!(s.c.i.k==Ms||s.d.i.k==Ms))for(r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),e=n,k_(m,new kE(e.a,e.b))}return m}function rct(){rct=V,WDt=new Oi(Ilt),KDt=(tS(),kP),GDt=new un(Plt,KDt),UDt=(sO(),TK),qEe=new un(iTt,UDt),VDt=(DO(),ydt),zEe=new un(sTt,VDt),REe=new un(Olt,null),HDt=(BI(),kK),$Ee=new un(Nlt,HDt),qDt=(S$(),wdt),NEe=new un(aTt,qDt),PEe=new un(oTt,(Pn(),!1)),FEe=new un(cTt,he(64)),BEe=new un(uTt,!0),jEe=vdt}function k0e(t,e){var n,r,s,o,h,d,m,k,T,A;for(t.p=1,s=t.c,A=new zd,T=Ym(t,(To(),ku)).Kc();T.Ob();)for(k=u(T.Pb(),12),r=new G(k.g);r.a<r.c.c.length;)n=u(et(r),18),m=n.d.i,t!=m&&(o=m.c,o.p<=s.p&&(h=s.p+1,h==e.b.c.length?(d=new eu(e),d.p=h,ge(e.b,d),Aa(m,d)):(d=u(Oe(e.b,h),30),Aa(m,d)),A.a.zc(m,A)));return A}function A8n(t,e){var n,r;if(n=u(X(t,(ji(),P1t)),15),!n||n.gc()<1)return null;if(n.gc()==1)return u(n.Xb(0),39);switch(r=null,e.g){case 2:r=u(Vl(G6(n.Oc(),new RZ)),39);break;case 1:r=u(Vl(My(n.Oc(),new i6)),39);break;case 4:r=u(Vl(G6(n.Oc(),new ER)),39);break;case 3:r=u(Vl(My(n.Oc(),new BZ)),39)}return r}function E0e(t){var e,n,r,s,o,h;if(t.a==null)if(t.a=Vt(Fl,$0,28,t.c.b.c.length,16,1),t.a[0]=!1,qi(t.c,(De(),g1t)))for(r=u(X(t.c,g1t),15),n=r.Kc();n.Ob();)e=u(n.Pb(),17).a,e>0&&e<t.a.length&&(t.a[e]=!1);else for(h=new G(t.c.b),h.a<h.c.c.length&&et(h),s=1;h.a<h.c.c.length;)o=u(et(h),30),t.a[s++]=l6n(o)}function N0(){N0=V,tL=new Oi("additionalHeight"),eL=new Oi("drawingHeight"),HT=new Oi("drawingWidth"),bK=new Oi("minHeight"),nL=new Oi("minWidth"),wK=new Oi("rows"),B3=new Oi("targetWidth"),ldt=new rs("minRowIncrease",0),Q8e=new rs("maxRowIncrease",0),udt=new rs("minRowDecrease",0),X8e=new rs("maxRowDecrease",0)}function T0e(t,e){var n,r,s,o;switch(s=t.b,e){case 1:{t.b|=1,t.b|=4,t.b|=8;break}case 2:{t.b|=2,t.b|=4,t.b|=8;break}case 4:{t.b|=1,t.b|=2,t.b|=4,t.b|=8;break}case 3:{t.b|=16,t.b|=8;break}case 0:{t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4;break}}if(t.b!=s&&t.c)for(r=new Zn(t.c);r.e!=r.i.gc();)o=u(ar(r),481),n=_l(o),t3(n,e)}function C0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(s=!1,h=e,d=0,m=h.length;d<m;++d)o=h[d],Ie((Pn(),!!o.e))&&!u(Oe(t.b,o.e.p),219).s&&(s=s|(k=o.e,T=u(Oe(t.b,k.p),219),A=T.e,P=SWt(n,A.length),$=A[P][0],$.k==(Un(),Ms)?A[P]=akn(o,A[P],n?(ve(),Gn):(ve(),Jn)):T.c.mg(A,n),U=qO(t,T,n,r),okt(T.e,T.o,n),U));return s}function S0e(t,e){var n,r,s,o,h;for(o=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,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),$t(ne(r,(ai(),cx)))!==$t((Ag(),bL))&&(h=u(ne(e,fx),143),n=u(ne(r,fx),143),(h==n||h&&_3t(h,n))&&(!r.a&&(r.a=new Jt(bi,r,10,11)),r.a).i!=0&&(o+=S0e(t,r)));return o}function L8n(t){var e,n,r,s,o,h,d;for(r=0,d=0,h=new G(t.d);h.a<h.c.c.length;)o=u(et(h),105),s=u(nc(_i(new ln(null,new gn(o.j,16)),new gR),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),n=null,r<=d?(n=(ve(),Hn),r+=s.gc()):d<r&&(n=(ve(),Er),d+=s.gc()),e=n,ms(Wo(s.Oc(),new yJ),new sUt(e))}function D8n(t){var e,n,r,s,o;for(o=new wu(t.a.c.length),s=new G(t.a);s.a<s.c.c.length;){switch(r=u(et(s),10),n=u(X(r,(De(),Iu)),171),e=null,n.g){case 1:case 2:e=(ow(),z5);break;case 3:case 4:e=(ow(),_T)}e?(Zt(r,(oe(),DG),(ow(),z5)),e==_T?nV(r,n,(To(),vl)):e==z5&&nV(r,n,(To(),ku))):In(o.c,r)}return o}function M8n(t){var e,n,r,s,o,h,d,m;for(t.b=new R1e(new hl((ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]))),new hl((Vm(),lt(ut(vft,1),te,372,0,[mv,r2,wv])))),h=lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]),d=0,m=h.length;d<m;++d)for(o=h[d],n=lt(ut(vft,1),te,372,0,[mv,r2,wv]),r=0,s=n.length;r<s;++r)e=n[r],Eyn(t.b,o,e,new fe)}function _0e(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=u(u(Ai(t.r,e),21),87),d=t.u.Hc((wl(),g2)),n=t.u.Hc(yL),r=t.u.Hc(vL),k=t.u.Hc(n8),A=t.B.Hc((Ml(),BK)),T=!n&&!r&&(k||h.gc()==2),Lkn(t,e),s=null,m=null,d){for(o=h.Kc(),s=u(o.Pb(),117),m=s;o.Ob();)m=u(o.Pb(),117);s.d.b=0,m.d.c=0,T&&!s.a&&(s.d.c=0)}A&&(k3n(h),d&&(s.d.b=0,m.d.c=0))}function A0e(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=u(u(Ai(t.r,e),21),87),d=t.u.Hc((wl(),g2)),n=t.u.Hc(yL),r=t.u.Hc(vL),m=t.u.Hc(n8),A=t.B.Hc((Ml(),BK)),k=!n&&!r&&(m||h.gc()==2),QEn(t,e),T=null,s=null,d){for(o=h.Kc(),T=u(o.Pb(),117),s=T;o.Ob();)s=u(o.Pb(),117);T.d.d=0,s.d.a=0,k&&!T.a&&(T.d.a=0)}A&&(E3n(h),d&&(T.d.d=0,s.d.a=0))}function L0e(t,e,n){var r,s,o,h,d,m,k,T;if(s=e.k,e.p>=0)return!1;if(e.p=n.b,ge(n.e,e),s==(Un(),fa)||s==uu){for(h=new G(e.j);h.a<h.c.c.length;)for(o=u(et(h),12),T=(r=new G(new k6(o).a.g),new M2t(r));lc(T.a);)if(k=u(et(T.a),18).d,d=k.i,m=d.k,e.c!=d.c&&(m==fa||m==uu)&&L0e(t,d,n))return!0}return!0}function oV(t){var e;return t.Db&64?F6t(t):(e=new ef(F6t(t)),e.a+=" (changeable: ",gp(e,(t.Bb&Uf)!=0),e.a+=", volatile: ",gp(e,(t.Bb&b3)!=0),e.a+=", transient: ",gp(e,(t.Bb&u3)!=0),e.a+=", defaultValueLiteral: ",Mo(e,t.j),e.a+=", unsettable: ",gp(e,(t.Bb&ol)!=0),e.a+=", derived: ",gp(e,(t.Bb&Jd)!=0),e.a+=")",e.a)}function I8n(t,e){var n,r,s,o,h;return s=e.qi(t.a),s&&(r=(!s.b&&(s.b=new Ul((wn(),wo),Mc,s)),s.b),n=Gr(L1(r,Ka)),n!=null&&(o=n.lastIndexOf("#"),h=o==-1?tvt(t,e.jk(),n):o==0?zI(t,null,(qn(1,n.length+1),n.substr(1))):zI(t,(Da(0,o,n.length),n.substr(0,o)),(qn(o+1,n.length+1),n.substr(o+1))),Lt(h,156)))?u(h,156):null}function O8n(t,e){var n,r,s,o,h;return r=e.qi(t.a),r&&(n=(!r.b&&(r.b=new Ul((wn(),wo),Mc,r)),r.b),o=Gr(L1(n,uht)),o!=null&&(s=o.lastIndexOf("#"),h=s==-1?tvt(t,e.jk(),o):s==0?zI(t,null,(qn(1,o.length+1),o.substr(1))):zI(t,(Da(0,s,o.length),o.substr(0,s)),(qn(s+1,o.length+1),o.substr(s+1))),Lt(h,156)))?u(h,156):null}function N8n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(s=D6n(t.d),h=u(X(t.b,(b_(),oCt)),107),d=h.b+h.c,m=h.d+h.a,T=s.d.a*t.e+d,k=s.b.a*t.f+m,Lnt(t.b,new ae(T,k)),P=new G(t.g);P.a<P.c.c.length;)A=u(et(P),568),e=A.g-s.a.a,n=A.i-s.c.a,r=ki(Ksn(new ae(e,n),A.a,A.b),qd(CS(Oa(Cmt(A.e)),A.d*A.a,A.c*A.b),-.5)),o=Smt(A.e),prn(A.e,ia(r,o))}function P8n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(e.Ug("Restoring reversed edges",1),m=new G(t.b);m.a<m.c.c.length;)for(d=u(et(m),30),T=new G(d.a);T.a<T.c.c.length;)for(k=u(et(T),10),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),h=Kd(A.g),r=h,s=0,o=r.length;s<o;++s)n=r[s],Ie(Me(X(n,(oe(),vd))))&&nv(n,!1);e.Vg()}function F8n(t,e,n,r){var s,o,h,d,m;for(m=Vt(ma,ue,109,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,0,2),o=lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]),h=0,d=o.length;h<d;++h)s=o[h],m[s.g]=Vt(ma,No,28,t.c[s.g],15,1);return Vhe(m,t,Hn),Vhe(m,t,Er),mot(m,t,Hn,e,n,r),mot(m,t,Jn,e,n,r),mot(m,t,Er,e,n,r),mot(m,t,Gn,e,n,r),m}function B8n(t,e,n){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.b,e)){if(x1(u(tr(t.b,e),49),n))return-1}else hi(t.b,e,new Os);if(Tu(t.b,n)){if(x1(u(tr(t.b,n),49),e))return 1}else hi(t.b,n,new Os);return 0}function R8n(t){var e,n,r,s,o,h;t.q==(ka(),Y0)||t.q==hu||(s=t.f.n.d+Cz(u(Io(t.b,(ve(),Hn)),127))+t.c,e=t.f.n.a+Cz(u(Io(t.b,Er),127))+t.c,r=u(Io(t.b,Jn),127),h=u(Io(t.b,Gn),127),o=b.Math.max(0,r.n.d-s),o=b.Math.max(o,h.n.d-s),n=b.Math.max(0,r.n.a-e),n=b.Math.max(n,h.n.a-e),r.n.d=o,h.n.d=o,r.n.a=n,h.n.a=n)}function bkt(t,e,n,r){var s,o,h,d,m,k;if(n==null){for(s=u(t.g,124),d=0;d<t.i;++d)if(h=s[d],h.Lk()==e)return so(t,h,r)}return o=(vo(),u(e,69).xk()?u(n,76):D0(e,n)),Hl(t.e)?(k=!wO(t,e),r=vu(t,o,r),m=e.Jk()?Ib(t,3,e,null,n,$7(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0),k):Ib(t,1,e,e.ik(),n,-1,k),r?r.nj(m):r=m):r=vu(t,o,r),r}function D0e(){this.b=new kp,this.d=new kp,this.e=new kp,this.c=new kp,this.a=new _r,this.f=new _r,Q4(la,new Ptt,new nM),Q4(sMt,new k4,new H8),Q4(DCt,new hC,new rM),Q4(MCt,new Btt,new Rtt),Q4(W7e,new $R,new zR),Q4(XSn,new o6,new db),Q4(ZSn,new BR,new RR),Q4(QSn,new jR,new Ftt),Q4(JSn,new c6,new dy),Q4(n_n,new op,new gb)}function M_(t,e){var n,r,s,o,h;for(t=t==null?Vu:(Wn(t),t),s=0;s<e.length;s++)e[s]=N6n(e[s]);for(n=new I4,h=0,r=0;r<e.length&&(o=t.indexOf("%s",h),o!=-1);)n.a+=""+Lh(t==null?Vu:(Wn(t),t),h,o),tu(n,e[r++]),h=o+2;if(Ure(n,t,h,t.length),r<e.length){for(n.a+=" [",tu(n,e[r++]);r<e.length;)n.a+=ao,tu(n,e[r++]);n.a+="]"}return n.a}function wkt(t,e){var n,r,s,o,h,d,m;for(n=0,m=new G(e);m.a<m.c.c.length;){for(d=u(et(m),12),c5t(t.b,t.d[d.p]),h=0,s=new sd(d.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),qee(r)?(o=Cwt(t,d==r.c?r.d:r.c),o>t.d[d.p]&&(n+=C3t(t.b,o),Ob(t.a,he(o)))):++h;for(n+=t.b.d*h;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function M0e(t){var e,n,r,s,o,h;return o=0,e=of(t),e.kk()&&(o|=4),t.Bb&ol&&(o|=2),Lt(t,102)?(n=u(t,19),s=yo(n),n.Bb&Fc&&(o|=32),s&&(fr(Py(s)),o|=8,h=s.t,(h>1||h==-1)&&(o|=16),s.Bb&Fc&&(o|=64)),n.Bb&po&&(o|=b3),o|=Uf):Lt(e,468)?o|=512:(r=e.kk(),r&&r.i&1&&(o|=256)),t.Bb&512&&(o|=128),o}function j8n(t,e){var n;return t.f==a0t?(n=Om($o((il(),ja),e)),t.e?n==4&&e!=(vk(),s8)&&e!=(vk(),i8)&&e!=(vk(),o0t)&&e!=(vk(),c0t):n==2):t.d&&(t.d.Hc(e)||t.d.Hc(tk($o((il(),ja),e)))||t.d.Hc(y5((il(),ja),t.b,e)))?!0:t.f&&tkt((il(),t.f),TI($o(ja,e)))?(n=Om($o(ja,e)),t.e?n==4:n==2):!1}function $8n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(P=-1,$=0,k=t,T=0,A=k.length;T<A;++T){for(m=k[T],o=m,h=0,d=o.length;h<d;++h)for(s=o[h],e=new sie(P==-1?t[0]:t[P],u(X(Pa(s),(De(),U0)),284),Bhe(s),Ie(Me(X(Pa(s),Zft)))),n=0;n<s.j.c.length;n++)for(r=n+1;r<s.j.c.length;r++)oee(e,u(Oe(s.j,n),12),u(Oe(s.j,r),12))>0&&++$;++P}return $}function z8n(t,e,n,r){var s,o,h,d,m,k,T,A;return h=u(ne(n,(ai(),Jk)),8),m=h.a,T=h.b+t,s=b.Math.atan2(T,m),s<0&&(s+=xw),s+=e,s>xw&&(s-=xw),d=u(ne(r,Jk),8),k=d.a,A=d.b+t,o=b.Math.atan2(A,k),o<0&&(o+=xw),o+=e,o>xw&&(o-=xw),Z1(),$f(1e-10),b.Math.abs(s-o)<=1e-10||s==o||isNaN(s)&&isNaN(o)?0:s<o?-1:s>o?1:ym(isNaN(s),isNaN(o))}function ict(t){var e,n,r,s,o,h,d;for(d=new _r,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),60),hi(d,e,new fe);for(s=new G(t.a.b);s.a<s.c.c.length;)for(e=u(et(s),60),e.i=Vs,h=e.c.Kc();h.Ob();)o=u(h.Pb(),60),u(Ko(Eo(d.f,o)),15).Fc(e);for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),60),e.c.$b(),e.c=u(Ko(Eo(d.f,e)),15);Zde(t)}function sct(t){var e,n,r,s,o,h,d;for(d=new _r,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),86),hi(d,e,new fe);for(s=new G(t.a.b);s.a<s.c.c.length;)for(e=u(et(s),86),e.o=Vs,h=e.f.Kc();h.Ob();)o=u(h.Pb(),86),u(Ko(Eo(d.f,o)),15).Fc(e);for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),e.f.$b(),e.f=u(Ko(Eo(d.f,e)),15);$de(t)}function q8n(t,e,n,r){var s,o;for(Gvn(t,e,n,r),L2t(e,t.j-e.j+n),Jj(e,t.k-e.k+r),o=new G(e.f);o.a<o.c.c.length;)switch(s=u(et(o),334),s.a.g){case 0:l7(t,e.g+s.b.a,0,e.g+s.c.a,e.i-1);break;case 1:l7(t,e.g+e.o,e.i+s.b.a,t.o-1,e.i+s.c.a);break;case 2:l7(t,e.g+s.b.a,e.i+e.p,e.g+s.c.a,t.p-1);break;default:l7(t,0,e.i+s.b.a,e.g-1,e.i+s.c.a)}}function H8n(t,e){var n,r,s,o,h,d,m,k;for(o=new fe,e.b.c.length=0,n=u(nc(a3t(new ln(null,new gn(new cr(t.a.b),1))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),s=n.Kc();s.Ob();)if(r=u(s.Pb(),17),h=m3t(t.a,r),h.b!=0)for(d=new eu(e),In(o.c,d),d.p=r.a,k=Dr(h,0);k.b!=k.d.c;)m=u(Ar(k),10),Aa(m,d);Hs(e.b,o)}function cV(t,e,n,r,s){var o,h,d;try{if(e>=t.o)throw at(new Y2t);d=e>>5,h=e&31,o=Rf(1,qr(Rf(h,1))),s?t.n[n][d]=T1(t.n[n][d],o):t.n[n][d]=sa(t.n[n][d],Gvt(o)),o=Rf(o,1),r?t.n[n][d]=T1(t.n[n][d],o):t.n[n][d]=sa(t.n[n][d],Gvt(o))}catch(m){throw m=es(m),Lt(m,333)?at(new Bo(Cut+t.o+"*"+t.p+Sut+e+ao+n+_ut)):at(m)}}function V8n(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(P=new pp(new CUt(t)),d=lt(ut(V0,1),jp,10,0,[e,n]),m=0,k=d.length;m<k;++m)for(h=d[m],A=c_(h,r).Kc();A.Ob();)for(T=u(A.Pb(),12),o=new sd(T.b);lc(o.a)||lc(o.b);)s=u(lc(o.a)?et(o.a):et(o.b),18),go(s)||(P.a.zc(T,(Pn(),t2))==null,qee(s)&&yI(P,T==s.c?s.d:s.c));return Hr(P),new fl(P)}function mkt(t,e,n,r){var s,o,h;e&&(o=Rt(Ht(X(e,(ji(),Kp))))+r,h=n+Rt(Ht(X(e,cK)))/2,Zt(e,pP,he(qr(Pc(b.Math.round(o))))),Zt(e,bP,he(qr(Pc(b.Math.round(h))))),e.d.b==0||mkt(t,u(sz((s=Dr(new gg(e).a.d,0),new M4(s))),39),n+Rt(Ht(X(e,cK)))+t.b,r+Rt(Ht(X(e,qT)))),X(e,z1t)!=null&&mkt(t,u(X(e,z1t),39),n,r))}function U8n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(m=Pa(e.a),s=Rt(Ht(X(m,(De(),Pw))))*2,T=Rt(Ht(X(m,X5))),k=b.Math.max(s,T),o=Vt(ma,No,28,e.f-e.c+1,15,1),r=-k,n=0,d=e.b.Kc();d.Ob();)h=u(d.Pb(),10),r+=t.a[h.c.p]+k,o[n++]=r;for(r+=t.a[e.a.c.p]+k,o[n++]=r,P=new G(e.e);P.a<P.c.c.length;)A=u(et(P),10),r+=t.a[A.c.p]+k,o[n++]=r;return o}function G8n(t,e){var n,r,s,o;if(o=u(ne(t,(ai(),hx)),64).g-u(ne(e,hx),64).g,o!=0)return o;if(n=u(ne(t,$dt),17),r=u(ne(e,$dt),17),n&&r&&(s=n.a-r.a,s!=0))return s;switch(u(ne(t,hx),64).g){case 1:return Bi(t.i,e.i);case 2:return Bi(t.j,e.j);case 3:return Bi(e.i,t.i);case 4:return Bi(e.j,t.j);default:throw at(new Ro(Z8t))}}function vkt(t){var e,n,r;return t.Db&64?Bot(t):(e=new eh(yTt),n=t.k,n?ni(ni((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!r||ni(ni((e.a+=' "',e),r),'"'))),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function I0e(t){var e,n,r;return t.Db&64?Bot(t):(e=new eh(xTt),n=t.k,n?ni(ni((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!r||ni(ni((e.a+=' "',e),r),'"'))),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function K8n(t,e){var n,r,s,o,h;for(e==(i_(),_1t)&&IO(u(Ai(t.a,(Qy(),XN)),15)),s=u(Ai(t.a,(Qy(),XN)),15).Kc();s.Ob();)switch(r=u(s.Pb(),105),n=u(Oe(r.j,0),113).d.j,o=new fl(r.j),Ds(o,new cR),e.g){case 2:Mot(t,o,n,(Vm(),r2),1);break;case 1:case 0:h=O6n(o),Mot(t,new xp(o,0,h),n,(Vm(),r2),0),Mot(t,new xp(o,h,o.c.length),n,r2,1)}}function act(t,e){var n,r,s,o,h,d,m;if(e==null||e.length==0)return null;if(s=u(nu(t.a,e),143),!s){for(r=(d=new si(t.b).a.vc().Kc(),new Qi(d));r.a.Ob();)if(n=(o=u(r.a.Pb(),44),u(o.md(),143)),h=n.c,m=e.length,hn(h.substr(h.length-m,m),e)&&(e.length==h.length||Va(h,h.length-e.length-1)==46)){if(s)return null;s=n}s&&jo(t.a,e,s)}return s}function W8n(t,e){var n,r,s,o;return n=new Gi,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(),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(),s<o?-1:s==o?0:1}function O0e(t){var e,n,r;qi(t,(De(),Tv))&&(r=u(X(t,Tv),21),!r.dc()&&(n=(e=u(y1(Lo),9),new _h(e,u(Ff(e,e.length),9),0)),r.Hc((e3(),bh))?zf(n,bh):zf(n,Zf),r.Hc(pf)||zf(n,pf),r.Hc(Qf)?zf(n,t1):r.Hc(qg)?zf(n,W0):r.Hc(Jf)&&zf(n,bf),r.Hc(t1)?zf(n,Qf):r.Hc(W0)?zf(n,qg):r.Hc(bf)&&zf(n,Jf),Zt(t,Tv,n)))}function Y8n(t){var e,n,r,s,o,h,d;for(s=u(X(t,(oe(),yv)),10),r=t.j,n=(vn(0,r.c.length),u(r.c[0],12)),h=new G(s.j);h.a<h.c.c.length;)if(o=u(et(h),12),$t(o)===$t(X(n,Li))){o.j==(ve(),Hn)&&t.p>s.p?(Xs(o,Er),o.d&&(d=o.o.b,e=o.a.b,o.a.b=d-e)):o.j==Er&&s.p>t.p&&(Xs(o,Hn),o.d&&(d=o.o.b,e=o.a.b,o.a.b=-(d-e)));break}return s}function HO(t,e,n,r,s){var o,h,d,m,k,T,A;if(!(Lt(e,207)||Lt(e,366)||Lt(e,193)))throw at(new zn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return h=t.a/2,m=e.i+r-h,T=e.j+s-h,k=m+e.g+t.a,A=T+e.f+t.a,o=new Qu,Zr(o,new ae(m,T)),Zr(o,new ae(m,A)),Zr(o,new ae(k,A)),Zr(o,new ae(k,T)),d=new Wot(o),Qo(d,e),n&&hi(t.b,e,d),d}function B7(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=new ae(e,n),T=new G(t.a);T.a<T.c.c.length;)for(k=u(et(T),10),ki(k.n,o),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),s=new G(A.g);s.a<s.c.c.length;)for(r=u(et(s),18),Vy(r.a,o),h=u(X(r,(De(),Vo)),75),h&&Vy(h,o),m=new G(r.b);m.a<m.c.c.length;)d=u(et(m),72),ki(d.n,o)}function X8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=new ae(e,n),T=new G(t.a);T.a<T.c.c.length;)for(k=u(et(T),10),ki(k.n,o),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),s=new G(A.g);s.a<s.c.c.length;)for(r=u(et(s),18),Vy(r.a,o),h=u(X(r,(De(),Vo)),75),h&&Vy(h,o),m=new G(r.b);m.a<m.c.c.length;)d=u(et(m),72),ki(d.n,o)}function N0e(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==0)throw at(new L6("Edges must have a source."));if((!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i==0)throw at(new L6("Edges must have a target."));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)))throw at(new L6("Hyperedges are not supported."))}function ykt(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=0,o=new K4,Ob(o,e);o.b!=o.c;)for(m=u(K6(o),219),k=0,T=u(X(e.j,(De(),U0)),284),h=Rt(Ht(X(e.j,FG))),d=Rt(Ht(X(e.j,F_t))),T!=(Wd(),Up)&&(k+=h*Zxn(m.e,T),k+=d*$8n(m.e)),A+=_he(m.d,m.e)+k,s=new G(m.b);s.a<s.c.c.length;)r=u(et(s),36),n=u(Oe(t.b,r.p),219),n.s||(A+=GH(t,n));return A}function Xd(){Xd=V;var t;for(NU=new kg(1,1),Iht=new kg(1,10),yA=new kg(0,0),Zve=new kg(-1,1),tye=lt(ut(N5,1),ue,92,0,[yA,NU,new kg(1,2),new kg(1,3),new kg(1,4),new kg(1,5),new kg(1,6),new kg(1,7),new kg(1,8),new kg(1,9),Iht]),PU=Vt(N5,ue,92,32,0,1),t=0;t<PU.length;t++)PU[t]=J$(Rf(1,t),0)?zb(Rf(1,t)):FS(zb(Cp(Rf(1,t))))}function P0e(t,e,n,r,s,o,h){if(t.c=r.Lf().a,t.d=r.Lf().b,s&&(t.c+=s.Lf().a,t.d+=s.Lf().b),t.b=e.Mf().a,t.a=e.Mf().b,!s)n?t.c-=h+e.Mf().a:t.c+=r.Mf().a+h;else switch(s.ag().g){case 0:case 2:t.c+=s.Mf().a+h+o.a+h;break;case 4:t.c-=h+o.a+h+e.Mf().a;break;case 1:t.c+=s.Mf().a+h,t.d-=h+o.b+h+e.Mf().b;break;case 3:t.c+=s.Mf().a+h,t.d+=s.Mf().b+h+o.b+h}}function F0e(t,e){var n,r;for(this.b=new fe,this.e=new fe,this.a=t,this.d=e,dmn(this),vwn(this),this.b.dc()?this.c=t.c.p:this.c=u(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=t.c.p:this.f=u(Oe(this.e,this.e.c.length-1),10).c.p,r=u(X(t,(oe(),IA)),15).Kc();r.Ob();)if(n=u(r.Pb(),72),qi(n,(De(),jG))){this.d=u(X(n,jG),232);break}}function R7(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.e,e),49),h=u(tr(t.e,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),10),r.a.zc(k,r),qs(u(tr(t.e,k),49),e),Ma(u(tr(t.e,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function VO(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.b,e),49),h=u(tr(t.b,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),10),r.a.zc(k,r),qs(u(tr(t.b,k),49),e),Ma(u(tr(t.b,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function $h(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.d,e),49),h=u(tr(t.d,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),12),r.a.zc(k,r),qs(u(tr(t.d,k),49),e),Ma(u(tr(t.d,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),12),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function Q8n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;if(o=n,n<r)for(P=($=new eO(t.p),U=new eO(t.p),Ma($.e,t.e),$.q=t.q,$.r=U,Hz($),Ma(U.j,t.j),U.r=$,Hz(U),new Ws($,U)),A=u(P.a,118),T=u(P.b,118),s=(vn(o,e.c.length),u(e.c[o],339)),h=h0e(t,A,T,s),k=n+1;k<=r;k++)d=(vn(k,e.c.length),u(e.c[k],339)),m=h0e(t,A,T,d),fmn(d,m,s,h)&&(s=d,h=m,o=k);return o}function J8n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(h=u(Dt(e,0),27),Su(h,0),_u(h,0),P=new fe,In(P.c,h),d=h,o=new tyt(t.a,h.g,h.f,(A_(),xP)),$=1;$<e.i;$++)U=u(Dt(e,$),27),m=wct(t,rx,U,d,o,P,n),k=wct(t,Xk,U,d,o,P,n),T=wct(t,aL,U,d,o,P,n),A=wct(t,sL,U,d,o,P,n),s=_Tn(t,m,k,T,A,U,d,r),Su(U,s.d),_u(U,s.e),Pt(s,xP),o=s,d=U,In(P.c,U);return o}function Z8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(T=null,P=e,A=Tie(t,gie(n),P),n7(A,yg(P,a0)),h=jm(P,ETt),r=new XXt(t,A),k5n(r.a,r.b,h),d=jm(P,Qlt),s=new QXt(t,A),E5n(s.a,s.b,d),(!A.b&&(A.b=new kn(vr,A,4,7)),A.b).i==0||(!A.c&&(A.c=new kn(vr,A,5,8)),A.c).i==0)throw o=yg(P,a0),m=Zwe+o,k=m+fT,at(new Rd(k));return qH(P,A),rSn(t,P,A),T=xat(t,P,A),T}function tEn(t,e){var n,r,s,o,h,d,m;for(s=Vt(Fr,ii,28,t.e.a.c.length,15,1),h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),s[o.d]+=o.b.a.c.length;for(d=bI(e);d.b!=0;)for(o=u(d.b==0?null:(ur(d.b!=0),Oh(d,d.a.a)),125),r=sk(new G(o.g.a));r.Ob();)n=u(r.Pb(),218),m=n.e,m.e=b.Math.max(m.e,o.e+n.a),--s[m.d],s[m.d]==0&&hs(d,m,d.c.b,d.c)}function B0e(t){var e,n,r,s,o,h,d,m,k,T,A;for(n=Ga,s=xi,d=new G(t.e.a);d.a<d.c.c.length;)o=u(et(d),125),s=b.Math.min(s,o.e),n=b.Math.max(n,o.e);for(e=Vt(Fr,ii,28,n-s+1,15,1),h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),o.e-=s,++e[o.e];if(r=0,t.k!=null)for(k=t.k,T=0,A=k.length;T<A&&(m=k[T],e[r++]+=m,e.length!=r);++T);return e}function eEn(t,e){var n,r,s,o,h,d;if(e.Ug("Edge routing",1),s=u(X(t,(Cc(),q1t)),392),s==(s_(),N1t))y0n(t);else if(s==dP)for(u(Vl(f7(_i(new ln(null,new gn(t.b,16)),new OZ))),39),o=Rt(Ht(X(t,LLt))),h=Rt(Ht(X(t,TLt))),d=u(X(t,Mv),88),aSn(t,d,o),BSn(t,d,o,h),zSn(t,d,o,h),r=Dr(t.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.a.b<2&&A6t(n);e.Vg()}function R0e(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(ckt(t),17).a==t.o;case 1:case 2:{if(t.o==-2)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return vm(t.k,t.f);case 3:case 4:return t.j==t.e;default:return t.n==null?t.g==null:Ti(t.n,t.g)}}default:return!1}}function nEn(t,e){var n,r,s;switch(e.Ug("Breaking Point Insertion",1),r=new q6t(t),u(X(t,(De(),d1t)),351).g){case 2:s=new mR;break;case 0:s=new oC;break;default:s=new vR}if(n=s.og(t,r),Ie(Me(X(t,yAt)))&&(n=UTn(t,n)),!s.pg()&&qi(t,WG))switch(u(X(t,WG),352).g){case 2:n=w1e(r,n);break;case 1:n=ofe(r,n)}if(n.dc()){e.Vg();return}hSn(t,n),e.Vg()}function j0e(t,e,n){var r,s,o,h,d,m,k,T,A;for(o=new wu(e.c.length),k=new G(e);k.a<k.c.c.length;)h=u(et(k),10),ge(o,t.b[h.c.p][h.p]);for($Tn(t,o,n),A=null;A=M9n(o);)y7n(t,u(A.a,239),u(A.b,239),o);for(e.c.length=0,s=new G(o);s.a<s.c.c.length;)for(r=u(et(s),239),d=r.d,m=0,T=d.length;m<T;++m)h=d[m],In(e.c,h),t.a[h.c.p][h.p].a=td(r.g,r.d[0]).a}function $0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,iA),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new qR))),le(t,iA,ov,oIt),le(t,iA,JV,Se(pL)),le(t,iA,dTt,Se(rIt)),le(t,iA,_5,Se(iIt)),le(t,iA,Ik,Se(aIt)),le(t,iA,eT,Se(sIt))}function uV(t,e,n){var r,s,o,h,d;if(r=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),d=qr(Ja(B0,L0(qr(Ja(n==null?0:$i(n),R0)),15))),o=JS(t,e,r),o&&d==o.f&&Ud(n,o.i))return n;if(h=ZS(t,n,d),h)throw at(new zn("value already present: "+n));return s=new Uz(e,r,n,d),o?(p5(t,o),NO(t,s,o),o.e=null,o.c=null,o.i):(NO(t,s,null),Uhe(t),null)}function rEn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;T=n.a.c,h=n.a.c+n.a.b,o=u(tr(n.c,e),467),$=o.f,U=o.a,o.b?m=new ae(h,$):m=new ae(T,$),o.c?A=new ae(T,U):A=new ae(h,U),s=T,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new ae(s,$),P=new ae(s,U),XS(e.a,lt(ut(la,1),ue,8,0,[m,k])),d=n.d.a.gc()>1,d&&(r=new ae(s,n.b),Zr(e.a,r)),XS(e.a,lt(ut(la,1),ue,8,0,[P,A]))}function cf(){cf=V,ZG=new Ey(r0,0),cP=new Ey("NIKOLOV",1),uP=new Ey("NIKOLOV_PIXEL",2),OAt=new Ey("NIKOLOV_IMPROVED",3),NAt=new Ey("NIKOLOV_IMPROVED_PIXEL",4),IAt=new Ey("DUMMYNODE_PERCENTAGE",5),PAt=new Ey("NODECOUNT_PERCENTAGE",6),tK=new Ey("NO_BOUNDARY",7),Lv=new Ey("MODEL_ORDER_LEFT_TO_RIGHT",8),N3=new Ey("MODEL_ORDER_RIGHT_TO_LEFT",9)}function iEn(t){var e,n,r,s,o;for(r=t.length,e=new YC,o=0;o<r;)if(n=Va(t,o++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;o<r&&(n=Va(t,o++),!(n==13||n==10)););continue}n==92&&o<r?(s=(qn(o,t.length),t.charCodeAt(o)))==35||s==9||s==10||s==12||s==13||s==32?(PE(e,s&js),++o):(e.a+="\\",PE(e,s&js),++o):PE(e,n&js)}return e.a}function xkt(){xkt=V,S8e=new un(F7t,(Pn(),!1)),D8e=new un(B7t,he(0)),M8e=new un(R7t,0),I8e=new un(sU,!1),zLt=(uO(),fK),A8e=new un(Slt,zLt),he(0),_8e=new un(_lt,he(1)),HLt=(Zq(),idt),F8e=new un(j7t,HLt),VLt=(Cq(),Z1t),B8e=new un($7t,VLt),qLt=(NH(),rdt),L8e=new un(z7t,qLt),P8e=new un(Alt,0),O8e=new un(Llt,!1),N8e=new un(q7t,!1)}function sEn(t,e){var n,r,s;for(r=new G(e);r.a<r.c.c.length;)if(n=u(et(r),27),dn(t.a,n,n),dn(t.b,n,n),s=n3(n),s.c.length!=0)for(t.d&&t.d.Gg(s),dn(t.a,n,(vn(0,s.c.length),u(s.c[0],27))),dn(t.b,n,u(Oe(s,s.c.length-1),27));mat(s).c.length!=0;)s=mat(s),t.d&&t.d.Gg(s),dn(t.a,n,(vn(0,s.c.length),u(s.c[0],27))),dn(t.b,n,u(Oe(s,s.c.length-1),27))}function oct(t,e,n){var r,s,o,h,d,m;if(e)if(n<=-1){if(r=En(e.Dh(),-1-n),Lt(r,102))return u(r,19);for(h=u(e.Mh(r),160),d=0,m=h.gc();d<m;++d)if($t(h.Ul(d))===$t(t)&&(s=h.Tl(d),Lt(s,102)&&(o=u(s,19),o.Bb&Fc)))return o;throw at(new Ro("The containment feature could not be located"))}else return yo(u(En(t.Dh(),n),19));else return null}function aEn(t){var e,n,r,s,o,h,d,m,k,T;for(n=0,d=new G(t.d);d.a<d.c.c.length;)h=u(et(d),105),h.i&&(h.i.c=n++);for(e=G2(Fl,[ue,$0],[183,28],16,[n,n],2),T=t.d,s=0;s<T.c.length;s++)if(m=(vn(s,T.c.length),u(T.c[s],105)),m.i)for(o=s+1;o<T.c.length;o++)k=(vn(o,T.c.length),u(T.c[o],105)),k.i&&(r=I3n(m,k),e[m.i.c][k.i.c]=r,e[k.i.c][m.i.c]=r);return e}function kkt(){kkt=V,sEe=new un(U7t,(Pn(),!1)),he(-1),Z8e=new un(G7t,he(-1)),he(-1),tEe=new un(K7t,he(-1)),eEe=new un(W7t,!1),hDt=(wq(),gdt),uEe=new un(Y7t,hDt),lEe=new un(X7t,-1),lDt=(dH(),hdt),cEe=new un(Q7t,lDt),oEe=new un(J7t,!0),uDt=(Sq(),pdt),iEe=new un(Z7t,uDt),rEe=new un(tTt,!1),he(1),nEe=new un(eTt,he(1)),aEe=new Oi(nTt)}function I_(){I_=V,O1t=new mm("ROOT_PROC",0),iLt=new mm("FAN_PROC",1),cLt=new mm("LEVEL_PROC",2),uLt=new mm("NEIGHBORS_PROC",3),oLt=new mm("LEVEL_HEIGHT",4),rLt=new mm("DIRECTION_PROC",5),lLt=new mm("NODE_POSITION_PROC",6),eLt=new mm("COMPACTION_PROC",7),aLt=new mm("LEVEL_COORDS",8),sLt=new mm("GRAPH_BOUNDS_PROC",9),nLt=new mm("DETREEIFYING_PROC",10)}function Ekt(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=Yo(e),k=null,s=!1,d=0,T=Wc(A.a).i;d<T;++d)h=u(QO(A,d,(o=u(Dt(Wc(A.a),d),89),m=o.c,Lt(m,90)?u(m,29):(wn(),xf))),29),n=Ekt(t,h),n.dc()||(k?(s||(s=!0,k=new Oz(k)),k.Gc(n)):k=n);return r=b5n(t,e),r.dc()?k||(mn(),mn(),co):k?(s||(k=new Oz(k)),k.Gc(r),k):r}function cct(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=Yo(e),k=null,r=!1,d=0,T=Wc(A.a).i;d<T;++d)o=u(QO(A,d,(s=u(Dt(Wc(A.a),d),89),m=s.c,Lt(m,90)?u(m,29):(wn(),xf))),29),n=cct(t,o),n.dc()||(k?(r||(r=!0,k=new Oz(k)),k.Gc(n)):k=n);return h=Z5n(t,e),h.dc()?k||(mn(),mn(),co):k?(r||(k=new Oz(k)),k.Gc(h),k):h}function oEn(t){var e,n,r,s;r=t.o,Ay(),t.A.dc()||Ti(t.A,tCt)?s=r.a:(s=FO(t.f),t.A.Hc((Yl(),BP))&&!t.B.Hc((Ml(),kL))&&(s=b.Math.max(s,FO(u(Io(t.p,(ve(),Hn)),252))),s=b.Math.max(s,FO(u(Io(t.p,Er),252)))),e=wce(t),e&&(s=b.Math.max(s,e.a))),Ie(Me(t.e.Tf().of((ai(),R3))))?r.a=b.Math.max(r.a,s):r.a=s,n=t.f.i,n.c=0,n.b=s,dct(t.f)}function UO(t,e,n){var r,s,o,h,d,m;if(Lt(e,76))return so(t,e,n);for(d=null,o=null,r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],Ti(e,s.md())&&(o=s.Lk(),Lt(o,102)&&u(o,19).Bb&Fc)){d=s;break}return d&&(Hl(t.e)&&(m=o.Jk()?Ib(t,4,o,e,null,$7(t,o,e,Lt(o,102)&&(u(o,19).Bb&po)!=0),!0):Ib(t,o.tk()?2:1,o,e,o.ik(),-1,!0),n?n.nj(m):n=m),n=UO(t,d,n)),n}function cEn(t,e,n){var r,s,o,h;if(h=Lu(t.e.Dh(),e),r=u(t.g,124),vo(),u(e,69).xk()){for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&Ti(s,n))return r3(t,o),!0}else if(n!=null){for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&Ti(n,s.md()))return r3(t,o),!0}else for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&s.md()==null)return r3(t,o),!0;return!1}function uEn(t,e){var n,r,s,o,h;if(e.Ug("Node and Port Label Placement and Node Sizing",1),GQt((JC(),new tst(t,!0,!0,new kQ))),u(X(t,(oe(),lu)),21).Hc((Co(),Uh)))for(o=u(X(t,(De(),M3)),21),s=o.Hc((wl(),FP)),h=Ie(Me(X(t,lAt))),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),30),ms(_i(new ln(null,new gn(n.a,16)),new EQ),new QZt(o,s,h));e.Vg()}function lEn(t,e){var n,r,s,o,h;for(t.c==null||t.c.length<e.c.length?t.c=Vt(Fl,$0,28,e.c.length,16,1):KC(t.c),t.a=new fe,r=0,h=new G(e);h.a<h.c.c.length;)s=u(et(h),10),s.p=r++;for(n=new Ki,o=new G(e);o.a<o.c.c.length;)s=u(et(o),10),t.c[s.p]||(x1e(t,s),n.b==0||(ur(n.b!=0),u(n.a.a.c,15)).gc()<t.a.c.length?j4(n,t.a):ro(n,t.a),t.a=new fe);return n}function z0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,oT),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new zl))),le(t,oT,Ilt,Se(JDt)),le(t,oT,ov,QDt),le(t,oT,h3,8),le(t,oT,Plt,Se(VEe)),le(t,oT,cTt,Se(YDt)),le(t,oT,uTt,Se(XDt)),le(t,oT,TN,(Pn(),!1))}function hEn(t,e){var n,r,s,o,h,d,m;if(n=e.qi(t.a),n&&(m=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),UTt)),m!=null)){for(r=new fe,o=s3(m,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],hn(s,"##other")?ge(r,"!##"+MS(t,sh(e.qk()))):hn(s,"##local")?r.c.push(null):hn(s,IN)?ge(r,MS(t,sh(e.qk()))):In(r.c,s);return r}return mn(),mn(),co}function q0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;for(h=Tm(e.c,n,r),A=new G(e.a);A.a<A.c.c.length;){for(T=u(et(A),10),ki(T.n,h),$=new G(T.j);$.a<$.c.c.length;)for(P=u(et($),12),o=new G(P.g);o.a<o.c.c.length;)for(s=u(et(o),18),Vy(s.a,h),d=u(X(s,(De(),Vo)),75),d&&Vy(d,h),k=new G(s.b);k.a<k.c.c.length;)m=u(et(k),72),ki(m.n,h);ge(t.a,T),T.a=t}}function GO(t){var e,n,r,s,o,h,d,m;if(t.d)throw at(new Ro((wg(cft),wut+cft.k+mut)));for(t.c==(Rs(),Ed)&&x5(t,Uo),n=new G(t.a.a);n.a<n.c.c.length;)e=u(et(n),194),e.e=0;for(h=new G(t.a.b);h.a<h.c.c.length;)for(o=u(et(h),86),o.o=Vs,s=o.f.Kc();s.Ob();)r=u(s.Pb(),86),++r.d.e;for(lCn(t),m=new G(t.a.b);m.a<m.c.c.length;)d=u(et(m),86),d.k=!0;return t}function fEn(t,e){var n,r,s,o,h,d,m,k;for(d=new Yfe(t),n=new Ki,hs(n,e,n.c.b,n.c);n.b!=0;){for(r=u(n.b==0?null:(ur(n.b!=0),Oh(n,n.a.a)),113),r.d.p=1,h=new G(r.e);h.a<h.c.c.length;)s=u(et(h),340),pfe(d,s),k=s.d,k.d.p==0&&hs(n,k,n.c.b,n.c);for(o=new G(r.b);o.a<o.c.c.length;)s=u(et(o),340),pfe(d,s),m=s.c,m.d.p==0&&hs(n,m,n.c.b,n.c)}return d}function H0e(t){var e,n,r,s,o;if(r=Rt(Ht(ne(t,(ai(),w7e)))),r!=1)for(H4(t,r*t.g,r*t.f),n=gin(Kcn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c),new Vtt)),o=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n),(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c),n])));Mr(o);)s=u(dr(o),422),s.qh(r*s.nh(),r*s.oh()),s.ph(r*s.mh(),r*s.lh()),e=u(s.of(PMt),8),e&&(e.a*=r,e.b*=r)}function Tkt(t,e,n){var r,s,o,h,d;if(h=(vo(),u(e,69).xk()),Ng(t.e,e)){if(e.Si()&&hV(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0))return!1}else for(d=Lu(t.e.Dh(),e),r=u(t.g,124),o=0;o<t.i;++o)if(s=r[o],d.am(s.Lk()))return(h?Ti(s,n):n==null?s.md()==null:Ti(n,s.md()))?!1:(u(c5(t,o,h?u(n,76):D0(e,n)),76),!0);return Or(t,h?u(n,76):D0(e,n))}function dEn(t,e,n,r,s){var o,h,d,m,k,T,A,P;for(h=new G(t.b);h.a<h.c.c.length;)for(o=u(et(h),30),P=II(o.a),k=P,T=0,A=k.length;T<A;++T)switch(m=k[T],u(X(m,(De(),Iu)),171).g){case 1:Nkn(m),Aa(m,e),nhe(m,!0,r);break;case 3:bkn(m),Aa(m,n),nhe(m,!1,s)}for(d=new La(t.b,0);d.b<d.d.gc();)(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)).a.c.length==0&&Kl(d)}function gEn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for($=e.length,m=$,qn(0,e.length),e.charCodeAt(0)==45?(A=-1,P=1,--$):(A=1,P=0),o=(mct(),nye)[10],s=$/o|0,tt=$%o,tt!=0&&++s,d=Vt(Fr,ii,28,s,15,1),n=eye[8],h=0,U=P+(tt==0?o:tt),J=P;J<m;J=U,U=J+o)r=lh((Da(J,U,e.length),e.substr(J,U-J)),Ga,xi),k=(F7(),cxt(d,d,h,n)),k+=pwn(d,h,r),d[h++]=k;T=h,t.e=A,t.d=T,t.a=d,qS(t)}function pEn(t,e){var n,r,s,o;return n=new Rc,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(),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(),s=s==1?1:0,o=o==1?1:0,s<o?-1:s==o?0:1}function bEn(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(d=t.i,s=Ie(Me(X(d,(De(),L3)))),T=0,r=0,k=new G(t.g);k.a<k.c.c.length;)m=u(et(k),18),h=go(m),o=h&&s&&Ie(Me(X(m,Mw))),P=m.d.i,h&&o?++r:h&&!o?++T:Pa(P).e==d?++r:++T;for(n=new G(t.e);n.a<n.c.c.length;)e=u(et(n),18),h=go(e),o=h&&s&&Ie(Me(X(e,Mw))),A=e.c.i,h&&o?++T:h&&!o?++r:Pa(A).e==d?++T:++r;return T-r}function m5(t,e,n,r){this.e=t,this.k=u(X(t,(oe(),G5)),312),this.g=Vt(V0,jp,10,e,0,1),this.b=Vt(zs,ue,345,e,7,1),this.a=Vt(V0,jp,10,e,0,1),this.d=Vt(zs,ue,345,e,7,1),this.j=Vt(V0,jp,10,e,0,1),this.i=Vt(zs,ue,345,e,7,1),this.p=Vt(zs,ue,345,e,7,1),this.n=Vt(ys,ue,484,e,8,1),zM(this.n,(Pn(),!1)),this.f=Vt(ys,ue,484,e,8,1),zM(this.f,!0),this.o=n,this.c=r}function V0e(t,e){var n,r,s,o,h,d;if(!e.dc())if(u(e.Xb(0),292).d==(wk(),T3))jvn(t,e);else for(r=e.Kc();r.Ob();){switch(n=u(r.Pb(),292),n.d.g){case 5:I7(t,n,V2n(t,n));break;case 0:I7(t,n,(h=n.f-n.c+1,d=(h-1)/2|0,n.c+d));break;case 4:I7(t,n,Q0n(t,n));break;case 2:ole(n),I7(t,n,(o=qxt(n),o?n.c:n.f));break;case 1:ole(n),I7(t,n,(s=qxt(n),s?n.f:n.c))}P3n(n.a)}}function Ckt(t,e,n,r){var s,o,h;return h=new TYt(e,n),t.a?r?(s=u(nf(u(tr(t.b,e),260)),260),++s.a,h.d=r.d,h.e=r.e,h.b=r,h.c=r,r.e?r.e.c=h:s.b=h,r.d?r.d.b=h:t.a=h,r.d=h,r.e=h):(u(nf(t.e),511).b=h,h.d=t.e,t.e=h,s=u(tr(t.b,e),260),s?(++s.a,o=s.c,o.c=h,h.e=o,s.c=h):(hi(t.b,e,s=new Yyt(h)),++t.c)):(t.a=t.e=h,hi(t.b,e,new Yyt(h)),++t.c),++t.d,h}function uct(t,e){var n,r,s,o,h;if(e.Ug("Network simplex",1),t.e.a.c.length<1){e.Vg();return}for(o=new G(t.e.a);o.a<o.c.c.length;)s=u(et(o),125),s.e=0;for(h=t.e.a.c.length>=40,h&&s7n(t),gTn(t),Fkn(t),n=Xue(t),r=0;n&&r<t.f;)xEn(t,n,jxn(t,n)),n=Xue(t),++r;h&&e3n(t),t.a?Xxn(t,B0e(t)):B0e(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,e.Vg()}function wEn(t,e){var n,r,s,o,h,d,m;if(!e.e){for(e.e=!0,r=e.d.a.ec().Kc();r.Ob();){if(n=u(r.Pb(),18),e.o&&e.d.a.gc()<=1){h=e.a.c,d=e.a.c+e.a.b,m=new ae(h+(d-h)/2,e.b),Zr(u(e.d.a.ec().Kc().Pb(),18).a,m);continue}if(s=u(tr(e.c,n),467),s.b||s.c){rEn(t,n,e);continue}o=t.d==(b7(),VA)&&(s.d||s.e)&&uxn(t,e)&&e.d.a.gc()<=1,o?V9n(n,e):f8n(t,n,e)}e.k&&Fa(e.d,new w4)}}function Skt(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=o,d=(r+s)/2+P,tt=n*b.Math.cos(d),ht=n*b.Math.sin(d),Tt=tt-e.g/2,At=ht-e.f/2,Su(e,Tt),_u(e,At),A=t.a.Eg(e),J=2*b.Math.acos(n/n+t.c),J<s-r?($=J/A,h=(r+s-J)/2):($=(s-r)/A,h=r),U=n3(e),t.e&&(t.e.Fg(t.d),t.e.Gg(U)),k=new G(U);k.a<k.c.c.length;)m=u(et(k),27),T=t.a.Eg(m),Skt(t,m,n+t.c,h,h+$*T,o),h+=$*T}function mEn(t,e,n){var r;switch(r=n.q.getMonth(),e){case 5:ni(t,lt(ut(Pe,1),ue,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:ni(t,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct])[r]);break;case 3:ni(t,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:M0(t,r+1,e)}}function vEn(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(m=new ae(n,r),ia(m,u(X(e,(Pb(),TA)),8)),P=new G(e.e);P.a<P.c.c.length;)A=u(et(P),153),ki(A.d,m),ge(t.e,A);for(d=new G(e.c);d.a<d.c.c.length;){for(h=u(et(d),289),o=new G(h.a);o.a<o.c.c.length;)s=u(et(o),250),ki(s.d,m);ge(t.c,h)}for(T=new G(e.d);T.a<T.c.c.length;)k=u(et(T),453),ki(k.d,m),ge(t.d,k)}function _kt(t,e){var n,r,s,o,h,d,m,k;for(m=new G(e.j);m.a<m.c.c.length;)for(d=u(et(m),12),s=new sd(d.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),n=r.c==d?r.d:r.c,o=n.i,e!=o&&(k=u(X(r,(De(),PT)),17).a,k<0&&(k=0),h=o.p,t.b[h]==0&&(r.d==n?(t.a[h]-=k+1,t.a[h]<=0&&t.c[h]>0&&Zr(t.f,o)):(t.c[h]-=k+1,t.c[h]<=0&&t.a[h]>0&&Zr(t.e,o))))}function U0e(t,e,n,r){var s,o,h,d,m,k,T;for(m=new ae(n,r),ia(m,u(X(e,(ji(),zT)),8)),T=Dr(e.b,0);T.b!=T.d.c;)k=u(Ar(T),39),ki(k.e,m),Zr(t.b,k);for(d=u(nc(r3t(new ln(null,new gn(e.a,16))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15).Kc();d.Ob();){for(h=u(d.Pb(),65),o=Dr(h.a,0);o.b!=o.d.c;)s=u(Ar(o),8),s.a+=m.a,s.b+=m.b;Zr(t.a,h)}}function Akt(t,e){var n,r,s,o;if(0<(Lt(t,16)?u(t,16).gc():xg(t.Kc()))){if(s=e,1<s){for(--s,o=new MZ,r=t.Kc();r.Ob();)n=u(r.Pb(),39),o=ah(lt(ut(gh,1),Ln,20,0,[o,new gg(n)]));return Akt(o,s)}if(s<0){for(o=new IZ,r=t.Kc();r.Ob();)n=u(r.Pb(),39),o=ah(lt(ut(gh,1),Ln,20,0,[o,new gg(n)]));if(0<(Lt(o,16)?u(o,16).gc():xg(o.Kc())))return Akt(o,s)}}return u(sz(t.Kc()),39)}function yEn(t,e,n){var r,s,o,h;for(n.Ug("Processor order nodes",2),t.b=Rt(Ht(X(e,(Cc(),H1t)))),t.a=u(X(e,Mv),88),t.a==(Rs(),Ed)&&(t.a=kd,Zt(e,Mv,t.a)),s=new Ki,h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),Ie(Me(X(o,(ji(),u2))))&&hs(s,o,s.c.b,s.c);r=(ur(s.b!=0),u(s.a.a.c,39)),zge(t,r),n.fh(1),mkt(t,r,0-Rt(Ht(X(r,(ji(),cK))))/2,0),n.fh(1),n.Vg()}function Ml(){Ml=V,XT=new R4("DEFAULT_MINIMUM_SIZE",0),$P=new R4("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),NK=new R4("COMPUTE_PADDING",2),kL=new R4("OUTSIDE_NODE_LABELS_OVERHANG",3),PK=new R4("PORTS_OVERHANG",4),BK=new R4("UNIFORM_PORT_SPACING",5),FK=new R4("SPACE_EFFICIENT_PORT_LABELS",6),Kdt=new R4("FORCE_TABULAR_NODE_LABELS",7),jP=new R4("ASYMMETRICAL",8)}function lct(t,e){var n,r,s,o,h,d,m,k;if(e){if(n=(o=e.Dh(),o?sh(o).wi().si(o):null),n){for(Op(t,e,n),s=e.Dh(),m=0,k=(s.i==null&&Qd(s),s.i).length;m<k;++m)d=(r=(s.i==null&&Qd(s),s.i),m>=0&&m<r.length?r[m]:null),d.rk()&&!d.sk()&&(Lt(d,331)?mmn(t,u(d,35),e,n):(h=u(d,19),h.Bb&Fc&&Lyn(t,h,e,n)));e.Vh()&&u(n,54).ei(u(e,54)._h())}return n}else return null}function xEn(t,e,n){var r,s,o;if(!e.f)throw at(new zn("Given leave edge is no tree edge."));if(n.f)throw at(new zn("Given enter edge is a tree edge already."));for(e.f=!1,Imt(t.p,e),n.f=!0,qs(t.p,n),r=n.e.e-n.d.e-n.a,Hot(t,n.e,e)||(r=-r),o=new G(t.e.a);o.a<o.c.c.length;)s=u(et(o),125),Hot(t,s,e)||(s.e+=r);t.j=1,KC(t.c),_6t(t,u(et(new G(t.e.a)),125)),Qge(t)}function G0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;if(fgn(t,e,n),o=e[n],$=r?(ve(),Gn):(ve(),Jn),psn(e.length,n,r)){for(s=e[r?n-1:n+1],j3t(t,s,r?(To(),ku):(To(),vl)),m=o,T=0,P=m.length;T<P;++T)h=m[T],fxt(t,h,$);for(j3t(t,o,r?(To(),vl):(To(),ku)),d=s,k=0,A=d.length;k<A;++k)h=d[k],h.e||fxt(t,h,bO($))}else for(d=o,k=0,A=d.length;k<A;++k)h=d[k],fxt(t,h,$);return!1}function kEn(t,e,n,r,s){var o,h,d,m,k,T,A;for(mn(),Ds(t,new VR),d=new La(t,0),A=new fe,o=0;d.b<d.d.gc();)h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),163)),A.c.length!=0&&tl(h)*Gl(h)>o*2?(T=new Fq(A),k=tl(h)/Gl(h),m=Mct(T,e,new C6,n,r,s,k),ki(k1(T.e),m),A.c.length=0,o=0,In(A.c,T),In(A.c,h),o=tl(T)*Gl(T)+tl(h)*Gl(h)):(In(A.c,h),o+=tl(h)*Gl(h));return A}function K0e(t,e){var n,r,s,o,h,d;if(d=u(X(e,(De(),bs)),101),d==(ka(),Y0)||d==hu)for(s=new ae(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,h=new G(t.a);h.a<h.c.c.length;)o=u(et(h),10),o.k==(Un(),Ms)&&(n=u(X(o,(oe(),Dc)),64),!(n!=(ve(),Jn)&&n!=Gn)&&(r=Rt(Ht(X(o,xv))),d==Y0&&(r*=s),o.n.b=r-u(X(o,Sv),8).b,nH(o,!1,!0)))}function EEn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;if(Hl(t.e)){if(e!=n&&(s=u(t.g,124),$=s[n],h=$.Lk(),Ng(t.e,h))){for(U=Lu(t.e.Dh(),h),m=-1,d=-1,r=0,k=0,A=e>n?e:n;k<=A;++k)k==n?d=r++:(o=s[k],T=U.am(o.Lk()),k==e&&(m=k==A&&!T?r-1:r),T&&++r);return P=u(f_(t,e,n),76),d!=m&&hE(t,new jI(t.e,7,h,he(d),$.md(),m)),P}}else return u(Uot(t,e,n),76);return u(f_(t,e,n),76)}function TEn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Port order processing",1),m=u(X(t,(De(),hAt)),430),r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),10),h=u(X(s,bs),101),d=s.j,h==(ka(),zw)||h==Y0||h==hu?(mn(),Ds(d,mSt)):h!=Td&&h!=d2&&(mn(),Ds(d,D4e),Lmn(d),m==(KI(),C1t)&&Ds(d,L4e)),s.i=!0,T6t(s);e.Vg()}function CEn(t){var e,n,r,s,o,h,d,m;for(m=new _r,e=new znt,h=t.Kc();h.Ob();)s=u(h.Pb(),10),d=km(RM(new H2,s),e),yu(m.f,s,d);for(o=t.Kc();o.Ob();)for(s=u(o.Pb(),10),r=new rr(sr(_s(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!go(n)&&Hf(Of(If(Mf(Nf(new tf,b.Math.max(1,u(X(n,(De(),fAt)),17).a)),1),u(tr(m,n.c.i),125)),u(tr(m,n.d.i),125)));return e}function W0e(){W0e=V,Ske=ri(new Fs,(Ua(),cu),(Za(),rSt)),ZAt=ri(new Fs,Qc,tG),Ake=el(ri(new Fs,Qc,cG),Zo,oG),Cke=el(ri(ri(new Fs,Qc,JCt),cu,ZCt),Zo,tSt),Lke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),_ke=el(new Fs,Zo,iSt),Eke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),Tke=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function SEn(t,e,n,r,s,o){var h,d,m,k,T,A,P;for(k=Xce(e)-Xce(t),h=Pfe(e,k),m=Eu(0,0,0);k>=0&&(d=mvn(t,h),!(d&&(k<22?m.l|=1<<k:k<44?m.m|=1<<k-22:m.h|=1<<k-44,t.l==0&&t.m==0&&t.h==0)));)T=h.m,A=h.h,P=h.l,h.h=A>>>1,h.m=T>>>1|(A&1)<<21,h.l=P>>>1|(T&1)<<21,--k;return n&&kat(m),o&&(r?(Zb=h7(t),s&&(Zb=Mce(Zb,(WE(),o9t)))):Zb=Eu(t.l,t.m,t.h)),m}function _En(t,e){var n,r,s,o,h,d,m,k,T,A;for(k=t.e[e.c.p][e.p]+1,m=e.c.a.c.length+1,d=new G(t.a);d.a<d.c.c.length;){for(h=u(et(d),12),A=0,o=0,s=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(h),new k6(h)])));Mr(s);)r=u(dr(s),12),r.i.c==e.c&&(A+=osn(t,r.i)+1,++o);n=A/o,T=h.j,T==(ve(),Jn)?n<k?t.f[h.p]=t.c-n:t.f[h.p]=t.b+(m-n):T==Gn&&(n<k?t.f[h.p]=t.b+n:t.f[h.p]=t.c-(m-n))}}function lh(t,e,n){var r,s,o,h,d;if(t==null)throw at(new jd(Vu));for(o=t.length,h=o>0&&(qn(0,t.length),t.charCodeAt(0)==45||(qn(0,t.length),t.charCodeAt(0)==43))?1:0,r=h;r<o;r++)if(_le((qn(r,t.length),t.charCodeAt(r)))==-1)throw at(new jd(av+t+'"'));if(d=parseInt(t,10),s=d<e,isNaN(d))throw at(new jd(av+t+'"'));if(s||d>n)throw at(new jd(av+t+'"'));return d}function AEn(t){var e,n,r,s,o,h,d;for(h=new Ki,o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),118),H(s,s.f.c.length),q(s,s.k.c.length),s.i==0&&(s.o=0,hs(h,s,h.c.b,h.c));for(;h.b!=0;)for(s=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),118),r=s.o+1,n=new G(s.f);n.a<n.c.c.length;)e=u(et(n),132),d=e.a,W(d,b.Math.max(d.o,r)),q(d,d.i-1),d.i==0&&hs(h,d,h.c.b,h.c)}function LEn(t){var e,n,r,s,o,h,d,m;for(h=new G(t);h.a<h.c.c.length;){for(o=u(et(h),74),r=Jo(u(Dt((!o.b&&(o.b=new kn(vr,o,4,7)),o.b),0),84)),d=r.i,m=r.j,s=u(Dt((!o.a&&(o.a=new Jt(Wi,o,6,6)),o.a),0),166),rI(s,s.j+d,s.k+m),nI(s,s.b+d,s.c+m),n=new Zn((!s.a&&(s.a=new Ps(vh,s,5)),s.a));n.e!=n.i.gc();)e=u(ar(n),377),Xrt(e,e.a+d,e.b+m);P4t(u(ne(o,(ai(),Iv)),75),d,m)}}function j7(t){var e;switch(t){case 100:return k5(wA,!0);case 68:return k5(wA,!1);case 119:return k5(dht,!0);case 87:return k5(dht,!1);case 115:return k5(ght,!0);case 83:return k5(ght,!1);case 99:return k5(pht,!0);case 67:return k5(pht,!1);case 105:return k5(bht,!0);case 73:return k5(bht,!1);default:throw at(new uc((e=t,Sve+e.toString(16))))}}function DEn(t){var e,n,r,s,o;switch(s=u(Oe(t.a,0),10),e=new Ig(t),ge(t.a,e),e.o.a=b.Math.max(1,s.o.a),e.o.b=b.Math.max(1,s.o.b),e.n.a=s.n.a,e.n.b=s.n.b,u(X(s,(oe(),Dc)),64).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return r=new Yc,hc(r,e),n=new Pm,o=u(Oe(s.j,0),12),Xa(n,o),xa(n,r),ki(k1(r.n),o.n),ki(k1(r.a),o.a),e}function Y0e(t,e,n,r,s){n&&(!r||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.b],10).k==(Un(),Vc)?xk(u(t.a[t.b],10),(uh(),K0)):r&&(!n||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.c-1&t.a.length-1],10).k==(Un(),Vc)?xk(u(t.a[t.c-1&t.a.length-1],10),(uh(),h2)):(t.c-t.b&t.a.length-1)==2?(xk(u(r_(t),10),(uh(),K0)),xk(u(r_(t),10),h2)):r6n(t,s),E3t(t)}function MEn(t,e,n){var r,s,o,h,d;for(o=0,s=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));s.e!=s.i.gc();)r=u(ar(s),27),h="",(!r.n&&(r.n=new Jt(Po,r,1,7)),r.n).i==0||(h=u(Dt((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n),0),135).a),d=new Eat(o++,e,h),Qo(d,r),Zt(d,(ji(),JA),r),d.e.b=r.j+r.f/2,d.f.a=b.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=b.Math.max(r.f,1),Zr(e.b,d),yu(n.f,r,d)}function IEn(t){var e,n,r,s,o;r=u(X(t,(oe(),Li)),27),o=u(ne(r,(De(),Ow)),181).Hc((Yl(),qw)),t.e||(s=u(X(t,lu),21),e=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s.Hc((Co(),Uh))?(Mi(r,bs,(ka(),hu)),rv(r,e.a,e.b,!1,!0)):Ie(Me(ne(r,c1t)))||rv(r,e.a,e.b,!0,!0)),o?Mi(r,Ow,en(qw)):Mi(r,Ow,(n=u(y1(xL),9),new _h(n,u(Ff(n,n.length),9),0)))}function Lkt(t,e,n){var r,s,o,h;if(e[0]>=t.length)return n.o=0,!0;switch(Va(t,e[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++e[0],o=e[0],h=KH(t,e),h==0&&e[0]==o)return!1;if(e[0]<t.length&&Va(t,e[0])==58){if(r=h*60,++e[0],o=e[0],h=KH(t,e),h==0&&e[0]==o)return!1;r+=h}else r=h,r<24&&e[0]-o<=2?r*=60:r=r%100+(r/100|0)*60;return r*=s,n.o=-r,!0}function OEn(t){var e,n,r,s,o,h,d,m,k;for(h=new fe,r=new rr(sr(_s(t.b).a.Kc(),new z));Mr(r);)n=u(dr(r),18),go(n)&&ge(h,new pse(n,Jse(t,n.c),Jse(t,n.d)));for(k=(o=new si(t.e).a.vc().Kc(),new Qi(o));k.a.Ob();)d=(e=u(k.a.Pb(),44),u(e.md(),113)),d.d.p=0;for(m=(s=new si(t.e).a.vc().Kc(),new Qi(s));m.a.Ob();)d=(e=u(m.a.Pb(),44),u(e.md(),113)),d.d.p==0&&ge(t.d,fEn(t,d))}function NEn(t){var e,n,r,s,o,h,d;for(o=ed(t),s=new Zn((!t.e&&(t.e=new kn(Ts,t,7,4)),t.e));s.e!=s.i.gc();)if(r=u(ar(s),74),d=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)),!qy(d,o))return!0;for(n=new Zn((!t.d&&(t.d=new kn(Ts,t,8,5)),t.d));n.e!=n.i.gc();)if(e=u(ar(n),74),h=Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)),!qy(h,o))return!0;return!1}function PEn(t,e){var n,r,s,o,h,d,m,k,T;for(h=new G(e.b);h.a<h.c.c.length;)for(o=u(et(h),30),k=new G(o.a);k.a<k.c.c.length;){for(m=u(et(k),10),T=new fe,d=0,r=new rr(sr(ua(m).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!(go(n)||!go(n)&&n.c.i.c==n.d.i.c)&&(s=u(X(n,(De(),Yk)),17).a,s>d&&(d=s,T.c.length=0),s==d&&ge(T,new Ws(n.c.i,n)));mn(),Ds(T,t.c),Sm(t.b,m.p,T)}}function FEn(t,e){var n,r,s,o,h,d,m,k,T;for(h=new G(e.b);h.a<h.c.c.length;)for(o=u(et(h),30),k=new G(o.a);k.a<k.c.c.length;){for(m=u(et(k),10),T=new fe,d=0,r=new rr(sr(_s(m).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!(go(n)||!go(n)&&n.c.i.c==n.d.i.c)&&(s=u(X(n,(De(),Yk)),17).a,s>d&&(d=s,T.c.length=0),s==d&&ge(T,new Ws(n.d.i,n)));mn(),Ds(T,t.c),Sm(t.f,m.p,T)}}function BEn(t,e){var n,r,s,o,h,d,m,k;if(k=Me(X(e,(Cc(),l8e))),k==null||(Wn(k),k)){for(cxn(t,e),s=new fe,m=Dr(e.b,0);m.b!=m.d.c;)h=u(Ar(m),39),n=w6t(t,h,null),n&&(Qo(n,e),In(s.c,n));if(t.a=null,t.b=null,s.c.length>1)for(r=new G(s);r.a<r.c.c.length;)for(n=u(et(r),121),o=0,d=Dr(n.b,0);d.b!=d.d.c;)h=u(Ar(d),39),h.g=o++;return s}return id(lt(ut(p_n,1),n2e,121,0,[e]))}function REn(t){var e,n,r,s,o,h,d,m;for(m=new Qu,e=Dr(t,0),d=null,n=u(Ar(e),8),s=u(Ar(e),8);e.b!=e.d.c;)d=n,n=s,s=u(Ar(e),8),o=noe(ia(new ae(d.a,d.b),n)),h=noe(ia(new ae(s.a,s.b),n)),r=10,r=b.Math.min(r,b.Math.abs(o.a+o.b)/2),r=b.Math.min(r,b.Math.abs(h.a+h.b)/2),o.a=vI(o.a)*r,o.b=vI(o.b)*r,h.a=vI(h.a)*r,h.b=vI(h.b)*r,Zr(m,ki(o,n)),Zr(m,ki(h,n));return m}function jEn(t,e,n){var r,s,o,h,d,m;if(n.Ug("Minimize Crossings "+t.a,1),r=e.b.c.length==0||!wE(_i(new ln(null,new gn(e.b,16)),new Sl(new VJ))).Bd((U2(),Rk)),m=e.b.c.length==1&&u(Oe(e.b,0),30).a.c.length==1,o=$t(X(e,(De(),A3)))===$t((Ag(),Xp)),r||m&&!o){n.Vg();return}s=Akn(t,e),h=(d=u(jh(s,0),219),d.c.kg()?d.c.eg()?new yUt(t):new xUt(t):new vUt(t)),bbn(s,h),Wbn(t),n.Vg()}function hh(t,e,n,r){var s,o,h,d,m;return h=t.Ph(),m=t.Jh(),s=null,m?e&&!(oct(t,e,n).Bb&po)?(r=so(m.El(),t,r),t.di(null),s=e.Qh()):m=null:(h&&(m=h.Qh()),e&&(s=e.Qh())),m!=s&&m&&m.Il(t),d=t.Fh(),t.Bh(e,n),m!=s&&s&&s.Hl(t),t.vh()&&t.wh()&&(h&&d>=0&&d!=n&&(o=new ha(t,1,d,h,null),r?r.nj(o):r=o),n>=0&&(o=new ha(t,1,n,d==n?h:null,e),r?r.nj(o):r=o)),r}function X0e(t){var e,n,r;if(t.b==null){if(r=new dp,t.i!=null&&(Mo(r,t.i),r.a+=":"),t.f&256){for(t.f&256&&t.a!=null&&(ehn(t.i)||(r.a+="//"),Mo(r,t.a)),t.d!=null&&(r.a+="/",Mo(r,t.d)),t.f&16&&(r.a+="/"),e=0,n=t.j.length;e<n;e++)e!=0&&(r.a+="/"),Mo(r,t.j[e]);t.g!=null&&(r.a+="?",Mo(r,t.g))}else Mo(r,t.a);t.e!=null&&(r.a+="#",Mo(r,t.e)),t.b=r.a}return t.b}function $En(t,e){var n,r,s,o,h,d;for(s=new G(e.a);s.a<s.c.c.length;)r=u(et(s),10),o=X(r,(oe(),Li)),Lt(o,12)&&(h=u(o,12),d=gge(e,r,h.o.a,h.o.b),h.n.a=d.a,h.n.b=d.b,Xs(h,u(X(r,Dc),64)));n=new ae(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),u(X(e,(oe(),lu)),21).Hc((Co(),Uh))?(Zt(t,(De(),bs),(ka(),hu)),u(X(Pa(t),lu),21).Fc(DT),npe(t,n,!1)):npe(t,n,!0)}function zEn(t,e,n,r,s){var o,h,d,m;o=new Ig(t),y(o,(Un(),uu)),Zt(o,(De(),bs),(ka(),hu)),Zt(o,(oe(),Li),e.c.i),h=new Yc,Zt(h,Li,e.c),Xs(h,s),hc(h,o),Zt(e.c,ml,o),d=new Ig(t),y(d,uu),Zt(d,bs,hu),Zt(d,Li,e.d.i),m=new Yc,Zt(m,Li,e.d),Xs(m,s),hc(m,d),Zt(e.d,ml,d),Xa(e,h),xa(e,m),Fy(0,n.c.length),sS(n.c,0,o),In(r.c,d),Zt(o,LG,he(1)),Zt(d,LG,he(1))}function qEn(t,e,n,r){var s,o,h,d,m;if(m=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),s=qr(Ja(B0,L0(qr(Ja(n==null?0:$i(n),R0)),15))),d=ZS(t,e,m),h=JS(t,n,s),d&&s==d.a&&Ud(n,d.g))return n;if(h&&!r)throw at(new zn("key already present: "+n));return d&&p5(t,d),h&&p5(t,h),o=new Uz(n,s,e,m),NO(t,o,h),h&&(h.e=null,h.c=null),d&&(d.e=null,d.c=null),Uhe(t),d?d.g:null}function Q0e(t,e,n){var r,s,o,h,d;for(o=0;o<e;o++){for(r=0,d=o+1;d<e;d++)r=Qa(Qa(Ja(sa(t[o],So),sa(t[d],So)),sa(n[o+d],So)),sa(qr(r),So)),n[o+d]=qr(r),r=Ab(r,32);n[o+e]=qr(r)}for(tpn(n,n,e<<1),r=0,s=0,h=0;s<e;++s,h++)r=Qa(Qa(Ja(sa(t[s],So),sa(t[s],So)),sa(n[h],So)),sa(qr(r),So)),n[h]=qr(r),r=Ab(r,32),++h,r=Qa(r,sa(n[h],So)),n[h]=qr(r),r=Ab(r,32);return n}function J0e(t,e,n){var r,s,o,h,d,m,k,T;if(!HE(e)){for(m=Rt(Ht(Wy(n.c,(De(),jA)))),k=u(Wy(n.c,oP),140),!k&&(k=new HC),r=n.a,s=null,d=e.Kc();d.Ob();)h=u(d.Pb(),12),T=0,s?(T=m,T+=s.o.b):T=k.d,o=km(RM(new H2,h),t.f),hi(t.k,h,o),Hf(Of(If(Mf(Nf(new tf,0),Ys(b.Math.ceil(T))),r),o)),s=h,r=o;Hf(Of(If(Mf(Nf(new tf,0),Ys(b.Math.ceil(k.a+s.o.b))),r),n.d))}}function HEn(t,e,n,r,s,o,h,d){var m,k,T,A,P,$;return $=!1,P=o-n.s,T=n.t-e.f+(k=B_(n,P,!1),k.a),r.g+d>P?!1:(A=(m=B_(r,P,!1),m.a),T+d+A<=e.b&&($I(n,o-n.s),n.c=!0,$I(r,o-n.s),kO(r,n.s,n.t+n.d+d),r.k=!0,R4t(n.q,r),$=!0,s&&(zq(e,r),r.j=e,t.c.length>h&&(CO((vn(h,t.c.length),u(t.c[h],186)),r),(vn(h,t.c.length),u(t.c[h],186)).a.c.length==0&&Ep(t,h)))),$)}function VEn(t,e){var n,r,s,o,h,d;if(e.Ug("Partition midprocessing",1),s=new Fm,ms(_i(new ln(null,new gn(t.a,16)),new qB),new HVt(s)),s.d!=0){for(d=u(nc(a3t((o=s.i,new ln(null,(o||(s.i=new W4(s,s.c))).Nc()))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),r=d.Kc(),n=u(r.Pb(),17);r.Ob();)h=u(r.Pb(),17),F6n(u(Ai(s,n),21),u(Ai(s,h),21)),n=h;e.Vg()}}function Z0e(t,e,n){var r,s,o,h,d,m,k,T;if(e.p==0){for(e.p=1,h=n,h||(s=new fe,o=(r=u(y1(bo),9),new _h(r,u(Ff(r,r.length),9),0)),h=new Ws(s,o)),u(h.a,15).Fc(e),e.k==(Un(),Ms)&&u(h.b,21).Fc(u(X(e,(oe(),Dc)),64)),m=new G(e.j);m.a<m.c.c.length;)for(d=u(et(m),12),T=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(d),new k6(d)])));Mr(T);)k=u(dr(T),12),Z0e(t,k.i,h);return h}return null}function O_(t,e){var n,r,s,o,h;if(t.Ab){if(t.Ab){if(h=t.Ab.i,h>0){if(s=u(t.Ab.g,2033),e==null){for(o=0;o<h;++o)if(n=s[o],n.d==null)return n}else for(o=0;o<h;++o)if(n=s[o],hn(e,n.d))return n}}else if(e==null){for(r=new Zn(t.Ab);r.e!=r.i.gc();)if(n=u(ar(r),598),n.d==null)return n}else for(r=new Zn(t.Ab);r.e!=r.i.gc();)if(n=u(ar(r),598),hn(e,n.d))return n}return null}function UEn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;$=rdn(t,V4t(e),s),A4t($,yg(s,a0)),E=null,U=s,J=VS(U,Jwe),tt=new vGt($),e4n(tt.a,J),ht=VS(U,"endPoint"),Tt=new EGt($),t4n(Tt.a,ht),At=jm(U,hU),Bt=new SGt($),qyn(Bt.a,At),A=yg(s,STt),o=new JXt(t,$),_an(o.a,o.b,A),P=yg(s,CTt),h=new ZXt(t,$),Aan(h.a,h.b,P),k=jm(s,ATt),d=new tQt(n,$),Tvn(d.b,d.a,k),T=jm(s,_Tt),m=new eQt(r,$),Cvn(m.b,m.a,T)}function Dkt(t,e,n){var r,s,o,h,d;switch(d=null,e.g){case 1:for(s=new G(t.j);s.a<s.c.c.length;)if(r=u(et(s),12),Ie(Me(X(r,(oe(),Gft)))))return r;d=new Yc,Zt(d,(oe(),Gft),(Pn(),!0));break;case 2:for(h=new G(t.j);h.a<h.c.c.length;)if(o=u(et(h),12),Ie(Me(X(o,(oe(),Wft)))))return o;d=new Yc,Zt(d,(oe(),Wft),(Pn(),!0))}return d&&(hc(d,t),Xs(d,n),_mn(d.n,t.o,n)),d}function tge(t,e){var n,r,s,o,h,d;for(d=-1,h=new Ki,r=new sd(t.b);lc(r.a)||lc(r.b);){for(n=u(lc(r.a)?et(r.a):et(r.b),18),d=b.Math.max(d,Rt(Ht(X(n,(De(),Hp))))),n.c==t?ms(_i(new ln(null,new gn(n.b,16)),new iQ),new LVt(h)):ms(_i(new ln(null,new gn(n.b,16)),new sQ),new DVt(h)),o=Dr(h,0);o.b!=o.d.c;)s=u(Ar(o),72),qi(s,(oe(),Vk))||Zt(s,Vk,n);Hs(e,h),nh(h)}return d}function ev(t,e,n,r,s){var o,h,d,m,k;d=s?r.b:r.a,!x1(t.a,r)&&(k=d>n.s&&d<n.c,m=!1,n.e.b!=0&&n.j.b!=0&&(m=m|(b.Math.abs(d-Rt(Ht(SE(n.e))))<n0&&b.Math.abs(d-Rt(Ht(SE(n.j))))<n0),m=m|(b.Math.abs(d-Rt(Ht(Pf(n.e))))<n0&&b.Math.abs(d-Rt(Ht(Pf(n.j))))<n0)),(k||m)&&(h=u(X(e,(De(),Vo)),75),h||(h=new Qu,Zt(e,Vo,h)),o=new io(r),hs(h,o,h.c.b,h.c),qs(t.a,o)))}function GEn(t,e,n,r){var s,o,h,d,m,k,T;if(G5n(t,e,n,r))return!0;for(h=new G(e.f);h.a<h.c.c.length;){switch(o=u(et(h),334),d=!1,m=t.j-e.j+n,k=m+e.o,T=t.k-e.k+r,s=T+e.p,o.a.g){case 0:d=_at(t,m+o.b.a,0,m+o.c.a,T-1);break;case 1:d=_at(t,k,T+o.b.a,t.o-1,T+o.c.a);break;case 2:d=_at(t,m+o.b.a,s,m+o.c.a,t.p-1);break;default:d=_at(t,0,T+o.b.a,m-1,T+o.c.a)}if(d)return!0}return!1}function KEn(t,e,n){var r,s,o,h,d,m,k,T,A;for(n.Ug("Processor set coordinates",1),t.a=e.b.b==0?1:e.b.b,k=null,r=Dr(e.b,0);!k&&r.b!=r.d.c;)A=u(Ar(r),39),Ie(Me(X(A,(ji(),u2))))&&(k=A,m=A.e,m.a=u(X(A,pP),17).a,m.b=u(X(A,bP),17).a);d=wat(k),T=1;do d=Y3n((s=d,n.eh(T),s)),T=d.b/t.a|0;while(d.b!=0);for(h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),ia(o.e,new ae(o.f.a/2,o.f.b/2));n.Vg()}function WEn(t,e,n){var r,s,o,h,d,m,k,T;for(n.Ug(G2e,1),dl(t.b),dl(t.a),d=null,o=Dr(e.b,0);!d&&o.b!=o.d.c;)k=u(Ar(o),39),Ie(Me(X(k,(ji(),u2))))&&(d=k);for(m=new Ki,hs(m,d,m.c.b,m.c),Dpe(t,m),T=Dr(e.b,0);T.b!=T.d.c;)k=u(Ar(T),39),h=Gr(X(k,(ji(),QA))),s=nu(t.b,h)!=null?u(nu(t.b,h),17).a:0,Zt(k,B1t,he(s)),r=1+(nu(t.a,h)!=null?u(nu(t.a,h),17).a:0),Zt(k,gLt,he(r));n.Vg()}function ege(t){wm(t,new dw(gm(hm(dm(fm(new G1,hv),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new V8))),le(t,hv,ov,hMt),le(t,hv,h3,15),le(t,hv,gN,he(0)),le(t,hv,hTt,Se(cMt)),le(t,hv,_5,Se(r7e)),le(t,hv,Mk,Se(i7e)),le(t,hv,Dk,pwe),le(t,hv,Y_,Se(uMt)),le(t,hv,Ik,Se(lMt)),le(t,hv,fTt,Se(Adt)),le(t,hv,QV,Se(n7e))}function nge(t,e){var n,r,s,o,h,d,m,k,T;if(s=t.i,h=s.o.a,o=s.o.b,h<=0&&o<=0)return ve(),bc;switch(k=t.n.a,T=t.n.b,d=t.o.a,n=t.o.b,e.g){case 2:case 1:if(k<0)return ve(),Gn;if(k+d>h)return ve(),Jn;break;case 4:case 3:if(T<0)return ve(),Hn;if(T+n>o)return ve(),Er}return m=(k+d/2)/h,r=(T+n/2)/o,m+r<=1&&m-r<=0?(ve(),Gn):m+r>=1&&m-r>=0?(ve(),Jn):r<.5?(ve(),Hn):(ve(),Er)}function YEn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(n=!1,T=Rt(Ht(X(e,(De(),Av)))),U=Kb*T,s=new G(e.b);s.a<s.c.c.length;)for(r=u(et(s),30),k=new G(r.a),o=u(et(k),10),A=myt(t.a[o.p]);k.a<k.c.c.length;)d=u(et(k),10),P=myt(t.a[d.p]),A!=P&&($=U4(t.b,o,d),h=o.n.b+o.o.b+o.d.a+A.a+$,m=d.n.b-d.d.d+P.a,h>m+U&&(J=A.g+P.g,P.a=(P.g*P.a+A.g*A.a)/J,P.g=J,A.f=P,n=!0)),o=d,A=P;return n}function rge(t,e,n,r,s,o,h){var d,m,k,T,A,P;for(P=new B6,k=e.Kc();k.Ob();)for(d=u(k.Pb(),853),A=new G(d.Rf());A.a<A.c.c.length;)T=u(et(A),187),$t(T.of((ai(),Odt)))===$t((cd(),KT))&&(P0e(P,T,!1,r,s,o,h),T_(t,P));for(m=n.Kc();m.Ob();)for(d=u(m.Pb(),853),A=new G(d.Rf());A.a<A.c.c.length;)T=u(et(A),187),$t(T.of((ai(),Odt)))===$t((cd(),$3))&&(P0e(P,T,!0,r,s,o,h),T_(t,P))}function XEn(t,e,n){var r,s,o,h,d,m,k;for(h=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));h.e!=h.i.gc();)for(o=u(ar(h),27),s=new rr(sr(Og(o).a.Kc(),new z));Mr(s);)r=u(dr(s),74),!S_(r)&&!S_(r)&&!Zm(r)&&(m=u(Ko(Eo(n.f,o)),39),k=u(tr(n,Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))),39),m&&k&&(d=new Kyt(m,k),Zt(d,(ji(),JA),r),Qo(d,r),Zr(m.d,d),Zr(k.b,d),Zr(e.a,d)))}function QEn(t,e){var n,r,s,o,h,d,m,k;for(m=u(u(Ai(t.r,e),21),87).Kc();m.Ob();)d=u(m.Pb(),117),s=d.c?kte(d.c):0,s>0?d.a?(k=d.b.Mf().b,s>k&&(t.v||d.c.d.c.length==1?(h=(s-k)/2,d.d.d=h,d.d.a=h):(n=u(Oe(d.c.d,0),187).Mf().b,r=(n-k)/2,d.d.d=b.Math.max(0,r),d.d.a=s-r-k))):d.d.a=t.t+s:IS(t.u)&&(o=Zxt(d.b),o.d<0&&(d.d.d=-o.d),o.d+o.a>d.b.Mf().b&&(d.d.a=o.d+o.a-d.b.Mf().b))}function Vf(){Vf=V,jk=new _a((ai(),DP),he(1)),KU=new _a($w,80),F3e=new _a(zMt,5),S3e=new _a(sx,tT),N3e=new _a(qdt,he(1)),P3e=new _a(Hdt,(Pn(),!0)),gCt=new xm(50),I3e=new _a(Yp,gCt),hCt=AP,pCt=fL,_3e=new _a(Idt,!1),dCt=LP,D3e=R3,M3e=l2,L3e=jw,A3e=ux,O3e=j3,fCt=(u6t(),v3e),eft=E3e,GU=m3e,tft=y3e,bCt=k3e,j3e=dL,$3e=MK,R3e=MP,B3e=DK,wCt=(lk(),q3),new _a(t8,wCt)}function JEn(t,e){var n;switch(WI(t)){case 6:return ba(e);case 7:return Cy(e);case 8:return Ty(e);case 3:return Array.isArray(e)&&(n=WI(e),!(n>=14&&n<=16));case 11:return e!=null&&typeof e===Pct;case 12:return e!=null&&(typeof e===ZO||typeof e==Pct);case 0:return aot(e,t.__elementTypeId$);case 2:return $it(e)&&e.Tm!==yt;case 1:return $it(e)&&e.Tm!==yt||aot(e,t.__elementTypeId$);default:return!0}}function ige(t,e){var n,r,s,o;return r=b.Math.min(b.Math.abs(t.c-(e.c+e.b)),b.Math.abs(t.c+t.b-e.c)),o=b.Math.min(b.Math.abs(t.d-(e.d+e.a)),b.Math.abs(t.d+t.a-e.d)),n=b.Math.abs(t.c+t.b/2-(e.c+e.b/2)),n>t.b/2+e.b/2||(s=b.Math.abs(t.d+t.a/2-(e.d+e.a/2)),s>t.a/2+e.a/2)?1:n==0&&s==0?0:n==0?o/s+1:s==0?r/n+1:b.Math.min(r/n,o/s)+1}function ZEn(t,e){var n,r,s,o,h,d,m;for(o=0,d=0,m=0,s=new G(t.f.e);s.a<s.c.c.length;)r=u(et(s),153),e!=r&&(h=t.i[e.a][r.a],o+=h,n=Nb(e.d,r.d),n>0&&t.d!=(WS(),ift)&&(d+=h*(r.d.a+t.a[e.a][r.a]*(e.d.a-r.d.a)/n)),n>0&&t.d!=(WS(),nft)&&(m+=h*(r.d.b+t.a[e.a][r.a]*(e.d.b-r.d.b)/n)));switch(t.d.g){case 1:return new ae(d/o,e.d.b);case 2:return new ae(e.d.a,m/o);default:return new ae(d/o,m/o)}}function sge(t){var e,n,r,s,o,h;for(n=(!t.a&&(t.a=new Ps(vh,t,5)),t.a).i+2,h=new wu(n),ge(h,new ae(t.j,t.k)),ms(new ln(null,(!t.a&&(t.a=new Ps(vh,t,5)),new gn(t.a,16))),new pGt(h)),ge(h,new ae(t.b,t.c)),e=1;e<h.c.length-1;)r=(vn(e-1,h.c.length),u(h.c[e-1],8)),s=(vn(e,h.c.length),u(h.c[e],8)),o=(vn(e+1,h.c.length),u(h.c[e+1],8)),r.a==s.a&&s.a==o.a||r.b==s.b&&s.b==o.b?Ep(h,e):++e;return h}function age(t,e){g7();var n,r,s,o,h;if(h=u(X(t.i,(De(),bs)),101),o=t.j.g-e.j.g,o!=0||!(h==(ka(),zw)||h==Y0||h==hu))return 0;if(h==(ka(),zw)&&(n=u(X(t,Vp),17),r=u(X(e,Vp),17),n&&r&&(s=n.a-r.a,s!=0)))return s;switch(t.j.g){case 1:return Bi(t.n.a,e.n.a);case 2:return Bi(t.n.b,e.n.b);case 3:return Bi(e.n.a,t.n.a);case 4:return Bi(e.n.b,t.n.b);default:throw at(new Ro(Z8t))}}function oge(t,e){var n,r,s,o,h,d,m;for(n=NJt(zYt(jYt($Yt(new G2t,e),new tq(e.e)),O4e),t.a),e.j.c.length==0||gae(u(Oe(e.j,0),60).a,n),m=new Rnt,hi(t.e,n,m),h=new Os,d=new Os,o=new G(e.k);o.a<o.c.c.length;)s=u(et(o),18),qs(h,s.c),qs(d,s.d);r=h.a.gc()-d.a.gc(),r<0?(aO(m,!0,(Rs(),Uo)),aO(m,!1,tc)):r>0&&(aO(m,!1,(Rs(),Uo)),aO(m,!0,tc)),Cu(e.g,new mXt(t,n)),hi(t.g,e,n)}function cge(){cge=V;var t;for(p9t=lt(ut(Fr,1),ii,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Dht=Vt(Fr,ii,28,37,15,1),Xve=lt(ut(Fr,1),ii,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),b9t=Vt(x2,cut,28,37,14,1),t=2;t<=36;t++)Dht[t]=Ys(b.Math.pow(t,p9t[t])),b9t[t]=_O(rN,Dht[t])}function t7n(t){var e;if((!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));return e=new Qu,iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))&&Ma(e,Xpe(t,iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)),!1)),iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))&&Ma(e,Xpe(t,iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84)),!0)),e}function uge(t,e){var n,r,s,o,h;for(e.d?s=t.a.c==(Gd(),Dv)?ua(e.b):_s(e.b):s=t.a.c==(Gd(),Gp)?ua(e.b):_s(e.b),o=!1,r=new rr(sr(s.a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),h=Ie(t.a.f[t.a.g[e.b.p].p]),!(!h&&!go(n)&&n.c.i.c==n.d.i.c)&&!(Ie(t.a.n[t.a.g[e.b.p].p])||Ie(t.a.n[t.a.g[e.b.p].p]))&&(o=!0,x1(t.b,t.a.g[tvn(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=o,e.a=null,e}function Mkt(t,e,n){var r,s,o,h,d,m,k;if(r=n.gc(),r==0)return!1;if(t.Pj())if(m=t.Qj(),z5t(t,e,n),h=r==1?t.Ij(3,null,n.Kc().Pb(),e,m):t.Ij(5,null,n,e,m),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)k=t.xj(s),d=t.Nj(k,d),d=d;d?(d.nj(h),d.oj()):t.Jj(h)}else t.Jj(h);else if(z5t(t,e,n),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)d=t.Nj(t.xj(s),d);d&&d.oj()}return!0}function lge(t,e,n){var r,s,o,h,d;return t.Pj()?(s=null,o=t.Qj(),r=t.Ij(1,d=(h=t.Dj(e,t.Zi(e,n)),h),n,e,o),t.Mj()&&!(t.Yi()&&d?Ti(d,n):$t(d)===$t(n))&&(d&&(s=t.Oj(d,s)),s=t.Nj(n,s)),s?(s.nj(r),s.oj()):t.Jj(r),d):(d=(h=t.Dj(e,t.Zi(e,n)),h),t.Mj()&&!(t.Yi()&&d?Ti(d,n):$t(d)===$t(n))&&(s=null,d&&(s=t.Oj(d,null)),s=t.Nj(n,s),s&&s.oj()),d)}function Ikt(t,e){var n,r,s,o,h,d,m,k,T;if(t.e=e,t.f=u(X(e,(Pb(),WU)),234),_3n(e),t.d=b.Math.max(e.e.c.length*16+e.c.c.length,256),!Ie(Me(X(e,(Vf(),hCt)))))for(T=t.e.e.c.length,m=new G(e.e);m.a<m.c.c.length;)d=u(et(m),153),k=d.d,k.a=cyt(t.f)*T,k.b=cyt(t.f)*T;for(n=e.b,o=new G(e.c);o.a<o.c.c.length;)if(s=u(et(o),289),r=u(X(s,bCt),17).a,r>0){for(h=0;h<r;h++)ge(n,new Eee(s));L1e(s)}}function hge(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;if(P=new Oy(t.Zg()),_1(e,pi,P),n&&!t.Xg().a.dc())for(T=new cp,_1(e,"logs",T),d=0,U=new eo(t.Xg().b.Kc());U.b.Ob();)$=Gr(U.b.Pb()),A=new Oy($),$y(T,d),Est(T,d,A),++d;if(r&&(k=new cE(t.Wg()),_1(e,"executionTime",k)),!t.Yg().a.dc())for(h=new cp,_1(e,Xlt,h),d=0,o=new eo(t.Yg().b.Kc());o.b.Ob();)s=u(o.b.Pb(),871),m=new _6,$y(h,d),Est(h,d,m),hge(s,m,n,r),++d}function Okt(){Okt=V,hrt(),u9e=new j2,lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(bve)])]),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(YTt)])]),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(wve)]),lt(ut(r8,1),LU,600,0,[new OM(YTt)])]),new Sb("-1"),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM("\\c+")])]),new Sb("0"),new Sb("0"),new Sb("1"),new Sb("0"),new Sb(Eve)}function e7n(t,e){var n,r,s,o,h,d,m,k,T,A;for(e.Ug("Hypernodes processing",1),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),d=new G(r.a);d.a<d.c.c.length;)if(h=u(et(d),10),Ie(Me(X(h,(De(),zG))))&&h.j.c.length<=2){for(A=0,T=0,n=0,o=0,k=new G(h.j);k.a<k.c.c.length;)switch(m=u(et(k),12),m.j.g){case 1:++A;break;case 2:++T;break;case 3:++n;break;case 4:++o}A==0&&n==0&&sSn(t,h,o<=T)}e.Vg()}function n7n(t,e,n,r,s){var o,h,d,m,k,T,A;for(h=new G(e);h.a<h.c.c.length;){if(o=u(et(h),18),m=o.c,n.a._b(m))k=(Bm(),c2);else if(r.a._b(m))k=(Bm(),Z5);else throw at(new zn("Source port must be in one of the port sets."));if(T=o.d,n.a._b(T))A=(Bm(),c2);else if(r.a._b(T))A=(Bm(),Z5);else throw at(new zn("Target port must be in one of the port sets."));d=new a1e(o,k,A),hi(t.b,o,d),In(s.c,d)}}function lV(t){var e,n;return t.c&&t.c.Vh()&&(n=u(t.c,54),t.c=u(jb(t,n),142),t.c!=n&&(t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,2,n,t.c)),Lt(t.Cb,411)?t.Db>>16==-15&&t.Cb.Yh()&&Vst(new jst(t.Cb,9,13,n,t.c,Np(Al(u(t.Cb,62)),t))):Lt(t.Cb,90)&&t.Db>>16==-23&&t.Cb.Yh()&&(e=t.c,Lt(e,90)||(e=(wn(),xf)),Lt(n,90)||(n=(wn(),xf)),Vst(new jst(t.Cb,9,10,n,e,Np(Wc(u(t.Cb,29)),t)))))),t.c}function r7n(t,e,n){var r,s,o,h,d,m,k,T,A;for(n.Ug("Hyperedge merging",1),_xn(t,e),m=new La(e.b,0);m.b<m.d.gc();)if(d=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),30)),T=d.a,T.c.length!=0)for(r=null,s=null,o=null,h=null,k=0;k<T.c.length;k++)r=(vn(k,T.c.length),u(T.c[k],10)),s=r.k,s==(Un(),fa)&&h==fa&&(A=J7n(r,o),A.a&&(Jkn(r,o,A.b,A.c),vn(k,T.c.length),Swt(T.c,k,1),--k,r=o,s=h)),o=r,h=s;n.Vg()}function fge(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;if(e==n)return!0;if(e=$6t(t,e),n=$6t(t,n),r=dot(e),r){if(T=dot(n),T!=r)return T?(m=r.mk(),U=T.mk(),m==U&&m!=null):!1;if(h=(!e.d&&(e.d=new Ps(Do,e,1)),e.d),o=h.i,P=(!n.d&&(n.d=new Ps(Do,n,1)),n.d),o==P.i){for(k=0;k<o;++k)if(s=u(Dt(h,k),89),A=u(Dt(P,k),89),!fge(t,s,A))return!1}return!0}else return d=e.e,$=n.e,d==$}function dge(t,e,n,r){var s,o,h,d,m,k,T,A;if(Ng(t.e,e)){for(A=Lu(t.e.Dh(),e),o=u(t.g,124),T=null,m=-1,d=-1,s=0,k=0;k<t.i;++k)h=o[k],A.am(h.Lk())&&(s==n&&(m=k),s==r&&(d=k,T=h.md()),++s);if(m==-1)throw at(new Bo(Zlt+n+Ew+s));if(d==-1)throw at(new Bo(tht+r+Ew+s));return f_(t,m,d),Hl(t.e)&&hE(t,Ib(t,7,e,he(r),T,n,!0)),T}else throw at(new zn("The feature must be many-valued to support move"))}function gge(t,e,n,r){var s,o,h,d,m;switch(m=new io(e.n),m.a+=e.o.a/2,m.b+=e.o.b/2,d=Rt(Ht(X(e,(De(),D3)))),o=t.f,h=t.d,s=t.c,u(X(e,(oe(),Dc)),64).g){case 1:m.a+=h.b+s.a-n/2,m.b=-r-d,e.n.b=-(h.d+d+s.b);break;case 2:m.a=o.a+h.b+h.c+d,m.b+=h.d+s.b-r/2,e.n.a=o.a+h.c+d-s.a;break;case 3:m.a+=h.b+s.a-n/2,m.b=o.b+h.d+h.a+d,e.n.b=o.b+h.a+d-s.b;break;case 4:m.a=-n-d,m.b+=h.d+s.b-r/2,e.n.a=-(h.b+d+s.a)}return m}function pge(t){var e,n,r,s,o,h;return r=new y4t,Qo(r,t),$t(X(r,(De(),ph)))===$t((Rs(),Ed))&&Zt(r,ph,fH(r)),X(r,(kq(),oL))==null&&(h=u(Afe(t),167),Zt(r,oL,tz(h.of(oL)))),Zt(r,(oe(),Li),t),Zt(r,lu,(e=u(y1(jft),9),new _h(e,u(Ff(e,e.length),9),0))),s=nCn((Ji(t)&&(xy(),new my(Ji(t))),xy(),new sit(Ji(t)?new my(Ji(t)):null,t)),tc),o=u(X(r,aAt),107),n=r.d,Gne(n,o),Gne(n,s),r}function i7n(t,e,n){var r,s;r=e.c.i,s=n.d.i,r.k==(Un(),fa)?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12)),Zt(t,C3,Me(X(r,C3)))):r.k==Vc?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12)),Zt(t,C3,(Pn(),!0))):s.k==Vc?(Zt(t,(oe(),N1),u(X(s,N1),12)),Zt(t,gf,u(X(s,gf),12)),Zt(t,C3,(Pn(),!0))):(Zt(t,(oe(),N1),e.c),Zt(t,gf,n.d))}function s7n(t){var e,n,r,s,o,h,d;for(t.o=new K4,r=new Ki,h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),s5(o).c.length==1&&hs(r,o,r.c.b,r.c);for(;r.b!=0;)o=u(r.b==0?null:(ur(r.b!=0),Oh(r,r.a.a)),125),s5(o).c.length!=0&&(e=u(Oe(s5(o),0),218),n=o.g.a.c.length>0,d=gH(e,o),Umt(n?d.b:d.g,e),s5(d).c.length==1&&hs(r,d,r.c.b,r.c),s=new Ws(o,e),Ob(t.o,s),zu(t.e.a,o))}function bge(t,e){var n,r,s,o,h,d,m;return r=b.Math.abs(zz(t.b).a-zz(e.b).a),d=b.Math.abs(zz(t.b).b-zz(e.b).b),s=0,m=0,n=1,h=1,r>t.b.b/2+e.b.b/2&&(s=b.Math.min(b.Math.abs(t.b.c-(e.b.c+e.b.b)),b.Math.abs(t.b.c+t.b.b-e.b.c)),n=1-s/r),d>t.b.a/2+e.b.a/2&&(m=b.Math.min(b.Math.abs(t.b.d-(e.b.d+e.b.a)),b.Math.abs(t.b.d+t.b.a-e.b.d)),h=1-m/d),o=b.Math.min(n,h),(1-o)*b.Math.sqrt(r*r+d*d)}function a7n(t){var e,n,r,s;for(Dct(t,t.e,t.f,(Bm(),c2),!0,t.c,t.i),Dct(t,t.e,t.f,c2,!1,t.c,t.i),Dct(t,t.e,t.f,Z5,!0,t.c,t.i),Dct(t,t.e,t.f,Z5,!1,t.c,t.i),n7n(t,t.c,t.e,t.f,t.i),r=new La(t.i,0);r.b<r.d.gc();)for(e=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),131)),s=new La(t.i,r.b);s.b<s.d.gc();)n=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),131)),GTn(e,n);pSn(t.i,u(X(t.d,(oe(),Kk)),234)),L9n(t.i)}function hct(t,e){var n,r;if(e!=null){if(r=Jm(t),r)if(r.i&1){if(r==Fl)return Ty(e);if(r==Fr)return Lt(e,17);if(r==Y3)return Lt(e,161);if(r==ul)return Lt(e,222);if(r==Yh)return Lt(e,180);if(r==ma)return Cy(e);if(r==wx)return Lt(e,191);if(r==x2)return Lt(e,168)}else return A$(),n=u(tr(KK,r),57),!n||n.fk(e);else if(Lt(e,58))return t.dl(u(e,58))}return!1}function Nkt(){Nkt=V;var t,e,n,r,s,o,h,d,m;for(_d=Vt(ul,M5,28,255,15,1),nb=Vt(Yh,Zd,28,64,15,1),e=0;e<255;e++)_d[e]=-1;for(n=90;n>=65;n--)_d[n]=n-65<<24>>24;for(r=122;r>=97;r--)_d[r]=r-97+26<<24>>24;for(s=57;s>=48;s--)_d[s]=s-48+52<<24>>24;for(_d[43]=62,_d[47]=63,o=0;o<=25;o++)nb[o]=65+o&js;for(h=26,m=0;h<=51;++h,m++)nb[h]=97+m&js;for(t=52,d=0;t<=61;++t,d++)nb[t]=48+d&js;nb[62]=43,nb[63]=47}function wge(t,e){var n,r,s,o,h,d;return s=O4t(t),d=O4t(e),s==d?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,n=(t.d>0?t.d:b.Math.floor((t.a-1)*Tbe)+1)-(e.d>0?e.d:b.Math.floor((e.a-1)*Tbe)+1),n>r+1?s:n<r-1?-s:(o=(!t.c&&(t.c=DI(Pc(t.f))),t.c),h=(!e.c&&(e.c=DI(Pc(e.f))),e.c),r<0?o=Z4(o,Age(-r)):r>0&&(h=Z4(h,Age(r))),Sle(o,h))):s<d?-1:1}function o7n(t,e,n){var r,s,o,h,d,m,k,T;for(n.Ug(i2e,1),t.vf(e),o=0;t.xf(o)&&!n.$g();){for(t.wf(),T=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(T);)for(m=u(dr(T),309),d=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(d);)h=u(dr(d),309),h!=m&&(s=t.uf(h,m),s&&ki(m.c,s));for(k=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(k);)m=u(dr(k),309),r=m.c,$fe(r,-t.d,-t.d,t.d,t.d),ki(m.d,r),r.a=0,r.b=0;++o}n.Vg()}function c7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(t.dc())return new Sa;for(k=0,A=0,s=t.Kc();s.Ob();)r=u(s.Pb(),36),o=r.f,k=b.Math.max(k,o.a),A+=o.a*o.b;for(k=b.Math.max(k,b.Math.sqrt(A)*Rt(Ht(X(u(t.Kc().Pb(),36),(De(),OG))))),P=0,$=0,m=0,n=e,d=t.Kc();d.Ob();)h=u(d.Pb(),36),T=h.f,P+T.a>k&&(P=0,$+=m+e,m=0),B7(h,P,$),n=b.Math.max(n,P+T.a),m=b.Math.max(m,T.b),P+=T.a+e;return new ae(n+e,$+m+e)}function Pkt(t,e){var n,r,s,o,h,d,m;if(!ed(t))throw at(new Ro(Pwe));if(r=ed(t),o=r.g,s=r.f,o<=0&&s<=0)return ve(),bc;switch(d=t.i,m=t.j,e.g){case 2:case 1:if(d<0)return ve(),Gn;if(d+t.g>o)return ve(),Jn;break;case 4:case 3:if(m<0)return ve(),Hn;if(m+t.f>s)return ve(),Er}return h=(d+t.g/2)/o,n=(m+t.f/2)/s,h+n<=1&&h-n<=0?(ve(),Gn):h+n>=1&&h-n>=0?(ve(),Jn):n<.5?(ve(),Hn):(ve(),Er)}function u7n(t,e,n,r,s){var o,h;if(o=Qa(sa(e[0],So),sa(r[0],So)),t[0]=qr(o),o=_m(o,32),n>=s){for(h=1;h<s;h++)o=Qa(o,Qa(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<n;h++)o=Qa(o,sa(e[h],So)),t[h]=qr(o),o=_m(o,32)}else{for(h=1;h<n;h++)o=Qa(o,Qa(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<s;h++)o=Qa(o,sa(r[h],So)),t[h]=qr(o),o=_m(o,32)}$c(o,0)!=0&&(t[h]=qr(o))}function i3(t){yi();var e,n,r,s,o,h;if(t.e!=4&&t.e!=5)throw at(new zn("Token#complementRanges(): must be RANGE: "+t.e));for(o=t,g5(o),R_(o),r=o.b.length+2,o.b[0]==0&&(r-=2),n=o.b[o.b.length-1],n==gT&&(r-=2),s=new ih(4),s.b=Vt(Fr,ii,28,r,15,1),h=0,o.b[0]>0&&(s.b[h++]=0,s.b[h++]=o.b[0]-1),e=1;e<o.b.length-2;e+=2)s.b[h++]=o.b[e]+1,s.b[h++]=o.b[e+1]-1;return n!=gT&&(s.b[h++]=n+1,s.b[h]=gT),s.a=!0,s}function l7n(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Layer constraint edge reversal",1),h=new G(t.b);h.a<h.c.c.length;){for(o=u(et(h),30),T=-1,n=new fe,k=II(o.a),s=0;s<k.length;s++)r=u(X(k[s],(oe(),Aw)),311),T==-1?r!=(Cg(),H5)&&(T=s):r==(Cg(),H5)&&(Aa(k[s],null),Xy(k[s],T++,o)),r==(Cg(),qk)&&In(n.c,k[s]);for(m=new G(n);m.a<m.c.c.length;)d=u(et(m),10),Aa(d,null),Aa(d,o)}e.Vg()}function fct(t,e,n){var r,s,o,h,d,m,k,T;if(r=n.gc(),r==0)return!1;if(t.Pj())if(k=t.Qj(),Oot(t,e,n),h=r==1?t.Ij(3,null,n.Kc().Pb(),e,k):t.Ij(5,null,n,e,k),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)T=t.g[s],d=t.Nj(T,d),d=t.Uj(T,d);d?(d.nj(h),d.oj()):t.Jj(h)}else t.Jj(h);else if(Oot(t,e,n),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)m=t.g[s],d=t.Nj(m,d);d&&d.oj()}return!0}function h7n(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Hierarchical port dummy size processing",1),m=new fe,T=new fe,r=Rt(Ht(X(t,(De(),W5)))),n=r*2,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m.c.length=0,T.c.length=0,d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(k=u(X(h,(oe(),Dc)),64),k==(ve(),Hn)?In(m.c,h):k==Er&&In(T.c,h));X1e(m,!0,n),X1e(T,!1,n)}e.Vg()}function Fkt(t,e,n,r){var s,o,h,d,m;for(h=new G(t.k);h.a<h.c.c.length;)s=u(et(h),132),(!r||s.c==(C1(),o2))&&(m=s.b,m.g<0&&s.d>0&&(H(m,m.d-s.d),s.c==(C1(),o2)&&N(m,m.a-s.d),m.d<=0&&m.i>0&&hs(e,m,e.c.b,e.c)));for(o=new G(t.f);o.a<o.c.c.length;)s=u(et(o),132),(!r||s.c==(C1(),o2))&&(d=s.a,d.g<0&&s.d>0&&(q(d,d.i-s.d),s.c==(C1(),o2)&&j(d,d.b-s.d),d.i<=0&&d.d>0&&hs(n,d,n.c.b,n.c)))}function f7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$;for(mn(),Ds(t,new U8),h=bI(t),$=new fe,P=new fe,d=null,m=0;h.b!=0;)o=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),163),!d||tl(d)*Gl(d)/2<tl(o)*Gl(o)?(d=o,In($.c,o)):(m+=tl(o)*Gl(o),In(P.c,o),P.c.length>1&&(m>tl(d)*Gl(d)/2||h.b==0)&&(A=new Fq(P),T=tl(d)/Gl(d),k=Mct(A,e,new C6,n,r,s,T),ki(k1(A.e),k),d=A,In($.c,A),m=0,P.c.length=0));return Hs($,P),$}function Xc(t,e,n,r,s){pg();var o,h,d,m,k,T,A;if(Syt(t,"src"),Syt(n,"dest"),A=Wl(t),m=Wl(n),Uvt((A.i&4)!=0,"srcType is not an array"),Uvt((m.i&4)!=0,"destType is not an array"),T=A.c,h=m.c,Uvt(T.i&1?T==h:(h.i&1)==0,"Array types don't match"),Jpn(t,e,n,r,s),!(T.i&1)&&A!=m)if(k=nw(t),o=nw(n),$t(t)===$t(n)&&e<r)for(e+=s,d=r+s;d-- >r;)ls(o,d,k[--e]);else for(d=r+s;r<d;)ls(o,r++,k[e++]);else N6t(t,e,n,r,s,!0)}function mge(t,e){var n,r,s,o,h,d,m,k,T;switch(e.Ug("Box layout",2),s=MM(Ht(ne(t,(VH(),a7e)))),o=u(ne(t,s7e),107),n=Ie(Me(ne(t,cMt))),r=Ie(Me(ne(t,uMt))),u(ne(t,Adt),320).g){case 0:h=(T=new fl((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),mn(),Ds(T,new fGt(r)),T),d=v6t(t),m=Ht(ne(t,oMt)),(m==null||(Wn(m),m<=0))&&(m=1.3),k=VCn(h,s,o,d.a,d.b,n,(Wn(m),m)),rv(t,k.a,k.b,!1,!0);break;default:FTn(t,s,o,n)}e.Vg()}function d7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U;for(P=Ryn(t,n),m=0;m<e;m++){for(Ly(s,n),$=new fe,U=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),418)),T=P+m;T<t.b;T++)d=U,U=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),418)),ge($,new Kde(d,U,n));for(A=P+m;A<t.b;A++)ur(r.b>0),r.a.Xb(r.c=--r.b),A>P+m&&Kl(r);for(h=new G($);h.a<h.c.c.length;)o=u(et(h),418),Ly(r,o);if(m<e-1)for(k=P+m;k<t.b;k++)ur(r.b>0),r.a.Xb(r.c=--r.b)}}function g7n(){yi();var t,e,n,r,s,o;if(l0t)return l0t;for(t=new ih(4),a3(t,Gb(wht,!0)),$_(t,Gb("M",!0)),$_(t,Gb("C",!0)),o=new ih(4),r=0;r<11;r++)iu(o,r,r);return e=new ih(4),a3(e,Gb("M",!0)),iu(e,4448,4607),iu(e,65438,65439),s=new yS(2),gw(s,t),gw(s,OL),n=new yS(2),n.Jm(Mz(o,Gb("L",!0))),n.Jm(e),n=new By(3,n),n=new Cyt(s,n),l0t=n,l0t}function s3(t,e){var n,r,s,o,h,d,m,k;for(n=new RegExp(e,"g"),m=Vt(Pe,ue,2,0,6,1),r=0,k=t,o=null;;)if(d=n.exec(k),d==null||k==""){m[r]=k;break}else h=d.index,m[r]=(Da(0,h,k.length),k.substr(0,h)),k=Lh(k,h+d[0].length,k.length),n.lastIndex=0,o==k&&(m[r]=(Da(0,1,k.length),k.substr(0,1)),k=(qn(1,k.length+1),k.substr(1))),o=k,++r;if(t.length>0){for(s=m.length;s>0&&m[s-1]=="";)--s;s<m.length&&(m.length=s)}return m}function Cc(){Cc=V,_Lt=new xm(20),SLt=new _a((ai(),Yp),_Lt),H1t=new _a($w,20),LLt=new _a(qMt,3),e8e=new _a(sx,tT),uK=new _a(DP,he(1)),l8e=new _a(Hdt,(Pn(),!0)),kLt=SP,ELt=(Rs(),Ed),Mv=new _a(Rw,ELt),n8e=AP,r8e=Pdt,s8e=jw,a8e=R3,o8e=lx,c8e=l2,i8e=ux,CLt=LP,u8e=j3,MLt=(j6t(),t8e),ALt=Jke,d8e=dL,g8e=MK,f8e=MP,h8e=DK,DLt=(lk(),q3),new _a(t8,DLt),tx=Qke,q1t=Xke,h0=Zke,xLt=Wke,TLt=Yke}function p7n(t){var e,n;if(e=Gr(ne(t,(ai(),VT))),!bce(e,t)&&!ad(t,fx)&&((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a).i!=0||Ie(Me(ne(t,_P)))))if(e==null||Zy(e).length==0){if(!bce(Qn,t))throw n=ni(ni(new eh("Unable to load default layout algorithm "),Qn)," for unconfigured node "),wV(t,n),at(new fp(n.a))}else throw n=ni(ni(new eh("Layout algorithm '"),e),"' not found for "),wV(t,n),at(new fp(n.a))}function dct(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(n=t.i,e=t.n,t.b==0)for($=n.c+e.b,P=n.b-e.b-e.c,h=t.a,m=0,T=h.length;m<T;++m)s=h[m],Pz(s,$,P);else r=ohe(t,!1),Pz(t.a[0],n.c+e.b,r[0]),Pz(t.a[2],n.c+n.b-e.c-r[2],r[2]),A=n.b-e.b-e.c,r[0]>0&&(A-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(A-=r[2]+t.c),r[1]=b.Math.max(r[1],A),Pz(t.a[1],n.c+e.b+r[0]-(r[1]-A)/2,r[1]);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],Lt(s,336)&&u(s,336).lf()}function b7n(t){var e,n,r,s,o,h,d,m,k,T,A;for(A=new fZ,A.d=0,h=new G(t.b);h.a<h.c.c.length;)o=u(et(h),30),A.d+=o.a.c.length;for(r=0,s=0,A.a=Vt(Fr,ii,28,t.b.c.length,15,1),k=0,T=0,A.e=Vt(Fr,ii,28,A.d,15,1),n=new G(t.b);n.a<n.c.c.length;)for(e=u(et(n),30),e.p=r++,A.a[e.p]=s++,T=0,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p=k++,A.e[d.p]=T++;return A.c=new jUt(A),A.b=C0(A.d),PEn(A,t),A.f=C0(A.d),FEn(A,t),A}function vge(t,e){var n,r,s,o;for(o=u(Oe(t.n,t.n.c.length-1),209).d,t.p=b.Math.min(t.p,e.g),t.r=b.Math.max(t.r,o),t.g=b.Math.max(t.g,e.g+(t.b.c.length==1?0:t.i)),t.o=b.Math.min(t.o,e.f),t.e+=e.f+(t.b.c.length==1?0:t.i),t.f=b.Math.max(t.f,e.f),s=t.n.c.length>0?(t.n.c.length-1)*t.i:0,r=new G(t.n);r.a<r.c.c.length;)n=u(et(r),209),s+=n.a;t.d=s,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),wxt(t.j)}function yge(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=Me(X(e,(Vf(),P3e))),T==null||(Wn(T),T)){for(A=Vt(Fl,$0,28,e.e.c.length,16,1),h=rxn(e),s=new Ki,k=new G(e.e);k.a<k.c.c.length;)d=u(et(k),153),n=Y6t(t,d,null,null,A,h),n&&(Qo(n,e),hs(s,n,s.c.b,s.c));if(s.b>1)for(r=Dr(s,0);r.b!=r.d.c;)for(n=u(Ar(r),235),o=0,m=new G(n.e);m.a<m.c.c.length;)d=u(et(m),153),d.a=o++;return s}return id(lt(ut(c_n,1),n2e,235,0,[e]))}function Qd(t){var e,n,r,s,o,h,d;if(!t.g){if(d=new oM,e=_L,h=e.a.zc(t,e),h==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),gs(d,Qd(n));e.a.Bc(t)!=null,e.a.gc()==0}for(s=d.i,o=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));o.e!=o.i.gc();++s)ee(u(ar(o),461),s);gs(d,(!t.s&&(t.s=new Jt(Wu,t,21,17)),t.s)),Uy(d),t.g=new Kce(t,d),t.i=u(d.g,254),t.i==null&&(t.i=r0t),t.p=null,_l(t).b&=-5}return t.g}function w7n(t,e){var n,r,s,o,h,d,m,k,T;if(n=e.qi(t.a),n&&(m=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),"memberTypes")),m!=null)){for(k=new fe,o=s3(m,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],r=s.lastIndexOf("#"),T=r==-1?tvt(t,e.jk(),s):r==0?zI(t,null,(qn(1,s.length+1),s.substr(1))):zI(t,(Da(0,r,s.length),s.substr(0,r)),(qn(r+1,s.length+1),s.substr(r+1))),Lt(T,156)&&ge(k,u(T,156));return k}return mn(),mn(),co}function gct(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;if(r=t.i,n=t.n,t.b==0)e=ahe(t,!1),Fz(t.a[0],r.d+n.d,e[0]),Fz(t.a[2],r.d+r.a-n.a-e[2],e[2]),P=r.a-n.d-n.a,A=P,e[0]>0&&(e[0]+=t.c,A-=e[0]),e[2]>0&&(A-=e[2]+t.c),e[1]=b.Math.max(e[1],A),Fz(t.a[1],r.d+n.d+e[0]-(e[1]-A)/2,e[1]);else for(U=r.d+n.d,$=r.a-n.d-n.a,h=t.a,m=0,T=h.length;m<T;++m)s=h[m],Fz(s,U,$);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],Lt(s,336)&&u(s,336).mf()}function m7n(t){var e,n,r,s,o,h,d,m,k,T;for(T=Vt(Fr,ii,28,t.b.c.length+1,15,1),k=new Os,r=0,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),T[r++]=k.a.gc(),m=new G(s.a);m.a<m.c.c.length;)for(h=u(et(m),10),n=new rr(sr(_s(h).a.Kc(),new z));Mr(n);)e=u(dr(n),18),k.a.zc(e,k);for(d=new G(s.a);d.a<d.c.c.length;)for(h=u(et(d),10),n=new rr(sr(ua(h).a.Kc(),new z));Mr(n);)e=u(dr(n),18),k.a.Bc(e)!=null}return T}function hV(t,e,n,r){var s,o,h,d,m;if(m=Lu(t.e.Dh(),e),s=u(t.g,124),vo(),u(e,69).xk()){for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&Ti(o,n))return!0}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],m.am(o.Lk())&&Ti(n,o.md()))return!0;if(r){for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&$t(n)===$t(lit(t,u(o.md(),58))))return!0}}else for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&o.md()==null)return!1;return!1}function v7n(t,e){var n,r,s,o,h,d;if(n=e.qi(t.a),n&&(d=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),fU)),d!=null))switch(s=cz(d,Hu(35)),r=e.qk(),s==-1?(h=MS(t,sh(r)),o=d):s==0?(h=null,o=(qn(1,d.length+1),d.substr(1))):(h=(Da(0,s,d.length),d.substr(0,s)),o=(qn(s+1,d.length+1),d.substr(s+1))),Om($o(t,e))){case 2:case 3:return Zpn(t,r,h,o);case 0:case 4:case 5:case 6:return tbn(t,r,h,o)}return null}function xge(t,e,n,r){var s,o,h,d;for(d=n,h=new G(e.a);h.a<h.c.c.length;){if(o=u(et(h),225),s=u(o.b,68),Wm(t.b.c,s.b.c+s.b.b)<=0&&Wm(s.b.c,t.b.c+t.b.b)<=0&&Wm(t.b.d,s.b.d+s.b.a)<=0&&Wm(s.b.d,t.b.d+t.b.a)<=0){if(Wm(s.b.c,t.b.c+t.b.b)==0&&r.a<0||Wm(s.b.c+s.b.b,t.b.c)==0&&r.a>0||Wm(s.b.d,t.b.d+t.b.a)==0&&r.b<0||Wm(s.b.d+s.b.a,t.b.d)==0&&r.b>0){d=0;break}}else d=b.Math.min(d,b1e(t,s,r));d=b.Math.min(d,xge(t,o,d,r))}return d}function KO(t,e){var n,r,s,o,h,d,m;if(t.b<2)throw at(new zn("The vector chain must contain at least a source and a target point."));for(s=(ur(t.b!=0),u(t.a.a.c,8)),rI(e,s.a,s.b),m=new j6((!e.a&&(e.a=new Ps(vh,e,5)),e.a)),h=Dr(t,1);h.a<t.b-1;)d=u(Ar(h),8),m.e!=m.i.gc()?n=u(ar(m),377):(n=(kb(),r=new fC,r),lle(m,n)),Xrt(n,d.a,d.b);for(;m.e!=m.i.gc();)ar(m),E_(m);o=(ur(t.b!=0),u(t.c.b.c,8)),nI(e,o.a,o.b)}function kge(t,e,n,r){var s,o,h,d,m,k;if(k=Lu(t.e.Dh(),e),h=u(t.g,124),Ng(t.e,e)){if(e.Si()&&(o=$7(t,e,r,Lt(e,102)&&(u(e,19).Bb&po)!=0),o>=0&&o!=n))throw at(new zn(AN));for(s=0,m=0;m<t.i;++m)if(d=h[m],k.am(d.Lk())){if(s==n)return u(c5(t,m,(vo(),u(e,69).xk()?u(r,76):D0(e,r))),76);++s}throw at(new Bo(uA+n+Ew+s))}else{for(m=0;m<t.i;++m)if(d=h[m],k.am(d.Lk()))return vo(),u(e,69).xk()?d:d.md();return null}}function Ege(t,e){var n,r,s,o,h,d,m,k,T;for(n=0,s=new G((vn(0,t.c.length),u(t.c[0],105)).g.b.j);s.a<s.c.c.length;)r=u(et(s),12),r.p=n++;for(e==(ve(),Hn)?Ds(t,new xJ):Ds(t,new kJ),d=0,T=t.c.length-1;d<T;)h=(vn(d,t.c.length),u(t.c[d],105)),k=(vn(T,t.c.length),u(t.c[T],105)),o=e==Hn?h.c:h.a,m=e==Hn?k.a:k.c,vp(h,e,(ud(),xT),o),vp(k,e,yT,m),++d,--T;d==T&&vp((vn(d,t.c.length),u(t.c[d],105)),e,(ud(),zk),null)}function y7n(t,e,n,r){var s,o,h,d,m,k;for(h=new tpe(t,e,n),m=new La(r,0),s=!1;m.b<m.d.gc();)d=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),239)),d==e||d==n?Kl(m):!s&&Rt(td(d.g,d.d[0]).a)>Rt(td(h.g,h.d[0]).a)?(ur(m.b>0),m.a.Xb(m.c=--m.b),Ly(m,h),s=!0):d.e&&d.e.gc()>0&&(o=(!d.e&&(d.e=new fe),d.e).Mc(e),k=(!d.e&&(d.e=new fe),d.e).Mc(n),(o||k)&&((!d.e&&(d.e=new fe),d.e).Fc(h),++h.c));s||In(r.c,h)}function x7n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;return A=t.a.i+t.a.g/2,P=t.a.i+t.a.g/2,U=e.i+e.g/2,tt=e.j+e.f/2,d=new ae(U,tt),k=u(ne(e,(ai(),Jk)),8),k.a=k.a+A,k.b=k.b+P,o=(d.b-k.b)/(d.a-k.a),r=d.b-o*d.a,J=n.i+n.g/2,ht=n.j+n.f/2,m=new ae(J,ht),T=u(ne(n,Jk),8),T.a=T.a+A,T.b=T.b+P,h=(m.b-T.b)/(m.a-T.a),s=m.b-h*m.a,$=(r-s)/(h-o),k.a<$&&d.a<$||$<k.a&&$<d.a?!1:!(T.a<$&&m.a<$||$<T.a&&$<m.a)}function k7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(P=u(tr(t.c,e),190),!P)throw at(new Rd("Edge did not exist in input."));return k=T7(P),o=NM((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a)),d=!o,d&&($=new cp,n=new ZZt(t,k,$),hin((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a),n),_1(P,TTt,$)),s=ad(e,(ai(),Iv)),s&&(T=u(ne(e,Iv),75),h=!T||$ee(T),m=!h,m&&(A=new cp,r=new FGt(A),Fa(T,r),_1(P,"junctionPoints",A))),ME(P,"container",AI(e).k),null}function Tge(t,e,n,r){var s,o,h,d,m,k;if(!HE(e)){if(k=n.eh((Lt(e,16)?u(e,16).gc():xg(e.Kc()))/t.a|0),k.Ug(K2e,1),m=new CR,d=0,r==(Rs(),Uo)||r==tc)for(h=e.Kc();h.Ob();)s=u(h.Pb(),39),m=ah(lt(ut(gh,1),Ln,20,0,[m,new gg(s)])),d<s.f.a&&(d=s.f.a);else for(h=e.Kc();h.Ob();)s=u(h.Pb(),39),m=ah(lt(ut(gh,1),Ln,20,0,[m,new gg(s)])),d<s.f.b&&(d=s.f.b);for(o=e.Kc();o.Ob();)s=u(o.Pb(),39),Zt(s,(ji(),cK),d);k.Vg(),Tge(t,m,n,r)}}function Bkt(t,e,n){var r,s,o,h,d,m,k,T;this.a=t,this.b=e,this.c=n,this.e=id(lt(ut(s_n,1),Ln,177,0,[new O6(t,e),new O6(e,n),new O6(n,t)])),this.f=id(lt(ut(la,1),ue,8,0,[t,e,n])),this.d=(r=ia(Oa(this.b),this.a),s=ia(Oa(this.c),this.a),o=ia(Oa(this.c),this.b),h=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),d=s.a*(this.a.a+this.c.a)+s.b*(this.a.b+this.c.b),m=2*(r.a*o.b-r.b*o.a),k=(s.b*h-r.b*d)/m,T=(r.a*d-s.a*h)/m,new ae(k,T))}function nv(t,e){var n,r,s,o,h,d;for(o=t.c,h=t.d,Xa(t,null),xa(t,null),e&&Ie(Me(X(h,(oe(),Gft))))?Xa(t,Dkt(h.i,(To(),ku),(ve(),Jn))):Xa(t,h),e&&Ie(Me(X(o,(oe(),Wft))))?xa(t,Dkt(o.i,(To(),vl),(ve(),Gn))):xa(t,o),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),72),s=u(X(n,(De(),l0)),278),s==(cd(),KT)?Zt(n,l0,$3):s==$3&&Zt(n,l0,KT);d=Ie(Me(X(t,(oe(),vd)))),Zt(t,vd,(Pn(),!d)),t.a=cO(t.a)}function E7n(t,e){var n,r,s,o,h;return n=S7(u(X(e,(Cc(),Mv)),88)),t.b.b==0?null:(h=u(nc(Wo(new ln(null,new gn(t.b,16)),new PZ),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),o=u(nc(_i(new ln(null,new gn(e.b,16)),new zUt(h)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),s=Ht(Vl(My(Wo(o.Oc(),new qUt(n)),(Nm(),Nm(),Oht)))),r=u(Vl(f7(_i(o.Oc(),new OXt(n,s)))),39),r)}function T7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;n=km(new H2,t.f),k=t.i[e.c.i.p],$=t.i[e.d.i.p],m=e.c,P=e.d,d=m.a.b,A=P.a.b,k.b||(d+=m.n.b),$.b||(A+=P.n.b),T=Ys(b.Math.max(0,d-A)),h=Ys(b.Math.max(0,A-d)),U=(J=b.Math.max(1,u(X(e,(De(),Yk)),17).a),tt=k3t(e.c.i.k,e.d.i.k),J*tt),s=Hf(Of(If(Mf(Nf(new tf,U),h),n),u(tr(t.k,e.c),125))),o=Hf(Of(If(Mf(Nf(new tf,U),T),n),u(tr(t.k,e.d),125))),r=new kXt(s,o),t.c[e.p]=r}function C7n(t,e,n){var r,s,o,h,d,m;for(r=0,o=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));o.e!=o.i.gc();)s=u(ar(o),27),h="",(!s.n&&(s.n=new Jt(Po,s,1,7)),s.n).i==0||(h=u(Dt((!s.n&&(s.n=new Jt(Po,s,1,7)),s.n),0),135).a),d=new JQt(h),Qo(d,s),Zt(d,(Pb(),$k),s),d.a=r++,d.d.a=s.i+s.g/2,d.d.b=s.j+s.f/2,d.e.a=b.Math.max(s.g,1),d.e.b=b.Math.max(s.f,1),ge(e.e,d),yu(n.f,s,d),m=u(ne(s,(Vf(),pCt)),101),m==(ka(),d2)&&(m=Td)}function S7n(t,e){var n,r,s,o,h,d,m;e.Ug("Layer constraint postprocessing",1),m=t.b,m.c.length!=0&&(r=(vn(0,m.c.length),u(m.c[0],30)),h=u(Oe(m,m.c.length-1),30),n=new eu(t),o=new eu(t),dEn(t,r,h,n,o),n.a.c.length==0||(Fy(0,m.c.length),sS(m.c,0,n)),o.a.c.length==0||In(m.c,o)),qi(t,(oe(),Uft))&&(s=new eu(t),d=new eu(t),i8n(t,s,d),s.a.c.length==0||(Fy(0,m.c.length),sS(m.c,0,s)),d.a.c.length==0||In(m.c,d)),e.Vg()}function WO(t){var e,n,r;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:r="\\"+String.fromCharCode(t&js);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:t<32?(n=(e=t>>>0,"0"+e.toString(16)),r="\\x"+Lh(n,n.length-2,n.length)):t>=po?(n=(e=t>>>0,"0"+e.toString(16)),r="\\v"+Lh(n,n.length-6,n.length)):r=""+String.fromCharCode(t&js)}return r}function Cge(t){var e,n,r;if(z4(u(X(t,(De(),bs)),101)))for(n=new G(t.j);n.a<n.c.c.length;)e=u(et(n),12),e.j==(ve(),bc)&&(r=u(X(e,(oe(),ml)),10),r?Xs(e,u(X(r,Dc),64)):e.e.c.length-e.g.c.length<0?Xs(e,Jn):Xs(e,Gn));else{for(n=new G(t.j);n.a<n.c.c.length;)e=u(et(n),12),r=u(X(e,(oe(),ml)),10),r?Xs(e,u(X(r,Dc),64)):e.e.c.length-e.g.c.length<0?Xs(e,(ve(),Jn)):Xs(e,(ve(),Gn));Zt(t,bs,(ka(),YT))}}function Rkt(t){var e,n,r,s,o,h;for(this.e=new fe,this.a=new fe,n=t.b-1;n<3;n++)CE(t,0,u(jh(t,0),8));if(t.b<4)throw at(new zn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,t6n(this,t.b+this.b-1),h=new fe,o=new G(this.e),e=0;e<this.b-1;e++)ge(h,Ht(et(o)));for(s=Dr(t,0);s.b!=s.d.c;)r=u(Ar(s),8),ge(h,Ht(et(o))),ge(this.a,new Fne(r,h)),vn(0,h.c.length),h.c.splice(0,1)}function Sge(t,e){var n,r,s,o,h,d,m,k,T;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;)for(h=u(et(d),10),h.k==(Un(),Vc)&&(m=(k=u(dr(new rr(sr(ua(h).a.Kc(),new z))),18),T=u(dr(new rr(sr(_s(h).a.Kc(),new z))),18),!Ie(Me(X(k,(oe(),vd))))||!Ie(Me(X(T,vd)))?e:zce(e)),xk(h,m)),r=new rr(sr(_s(h).a.Kc(),new z));Mr(r);)n=u(dr(r),18),m=Ie(Me(X(n,(oe(),vd))))?zce(e):e,Nce(n,m)}function _7n(t,e,n,r,s){var o,h,d;if(n.f>=e.o&&n.f<=e.f||e.a*.5<=n.f&&e.a*1.5>=n.f){if(h=u(Oe(e.n,e.n.c.length-1),209),h.e+h.d+n.g+s<=r&&(o=u(Oe(e.n,e.n.c.length-1),209),o.f-t.f+n.f<=t.b||t.a.c.length==1))return O5t(e,n),!0;if(e.s+n.g<=r&&(e.t+e.d+n.f+s<=t.b||t.a.c.length==1))return ge(e.b,n),d=u(Oe(e.n,e.n.c.length-1),209),ge(e.n,new aq(e.s,d.f+d.a+e.i,e.i)),dxt(u(Oe(e.n,e.n.c.length-1),209),n),vge(e,n),!0}return!1}function _ge(t,e,n){var r,s,o,h;return t.Pj()?(s=null,o=t.Qj(),r=t.Ij(1,h=Kst(t,e,n),n,e,o),t.Mj()&&!(t.Yi()&&h!=null?Ti(h,n):$t(h)===$t(n))?(h!=null&&(s=t.Oj(h,s)),s=t.Nj(n,s),t.Tj()&&(s=t.Wj(h,n,s)),s?(s.nj(r),s.oj()):t.Jj(r)):(t.Tj()&&(s=t.Wj(h,n,s)),s?(s.nj(r),s.oj()):t.Jj(r)),h):(h=Kst(t,e,n),t.Mj()&&!(t.Yi()&&h!=null?Ti(h,n):$t(h)===$t(n))&&(s=null,h!=null&&(s=t.Oj(h,null)),s=t.Nj(n,s),s&&s.oj()),h)}function A7n(t,e){var n,r,s,o,h;if(e.Ug("Path-Like Graph Wrapping",1),t.b.c.length==0){e.Vg();return}if(s=new q6t(t),h=(s.i==null&&(s.i=N4t(s,new bR)),Rt(s.i)*s.f),n=h/(s.i==null&&(s.i=N4t(s,new bR)),Rt(s.i)),s.b>n){e.Vg();return}switch(u(X(t,(De(),d1t)),351).g){case 2:o=new mR;break;case 0:o=new oC;break;default:o=new vR}if(r=o.og(t,s),!o.pg())switch(u(X(t,WG),352).g){case 2:r=w1e(s,r);break;case 1:r=ofe(s,r)}TTn(t,s,r),e.Vg()}function N_(t,e){var n,r,s,o,h,d,m,k;e%=24,t.q.getHours()!=e&&(r=new b.Date(t.q.getTime()),r.setDate(r.getDate()+1),d=t.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(m=d/60|0,k=d%60,s=t.q.getDate(),n=t.q.getHours(),n+m>=24&&++s,o=new b.Date(t.q.getFullYear(),t.q.getMonth(),s,e+m,t.q.getMinutes()+k,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(o.getTime()))),h=t.q.getTime(),t.q.setTime(h+36e5),t.q.getHours()!=e&&t.q.setTime(h)}function L7n(t,e){var n,r,s,o;if(qfn(t.d,t.e),t.c.a.$b(),Rt(Ht(X(e.j,(De(),FG))))!=0||Rt(Ht(X(e.j,FG)))!=0)for(n=S5,$t(X(e.j,U0))!==$t((Wd(),Up))&&Zt(e.j,(oe(),i2),(Pn(),!0)),o=u(X(e.j,$A),17).a,s=0;s<o&&(r=H7n(t,e),!(r<n&&(n=r,Qoe(t),n==0)));s++);else for(n=xi,$t(X(e.j,U0))!==$t((Wd(),Up))&&Zt(e.j,(oe(),i2),(Pn(),!0)),o=u(X(e.j,$A),17).a,s=0;s<o&&(r=Ige(t,e),!(r<n&&(n=r,Qoe(t),n==0)));s++);}function D7n(t,e){var n,r,s,o,h,d,m,k;for(h=new fe,d=0,n=0,m=0;d<e.c.length-1&&n<t.gc();){for(r=u(t.Xb(n),17).a+m;(vn(d+1,e.c.length),u(e.c[d+1],17)).a<r;)++d;for(k=0,o=r-(vn(d,e.c.length),u(e.c[d],17)).a,s=(vn(d+1,e.c.length),u(e.c[d+1],17)).a-r,o>s&&++k,ge(h,(vn(d+k,e.c.length),u(e.c[d+k],17))),m+=(vn(d+k,e.c.length),u(e.c[d+k],17)).a-r,++n;n<t.gc()&&u(t.Xb(n),17).a+m<=(vn(d+k,e.c.length),u(e.c[d+k],17)).a;)++n;d+=1+k}return h}function M7n(t,e){var n,r,s,o,h;for(h=new rr(sr(ua(e).a.Kc(),new z));Mr(h);)if(o=u(dr(h),18),t.f.b==0?(s=o.c.i.k==(Un(),xs)&&!!o.c.i.c&&o.c.i.c.p==t.c,Mr(new rr(sr(ua(o.c.i).a.Kc(),new z)))?(n=u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.c,r=o.c.i.k==Vc&&!!n&&n.p==t.c):r=!1):(s=o.c.i.k==(Un(),xs)&&o.c.i.p==t.c,r=o.c.i.k==Vc&&u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.p==t.c),s||r)return!0;return!1}function I7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=new fe,ht=gq(r),tt=e*t.a,A=0,U=0,o=new Os,h=new Os,d=new fe,Tt=0,At=0,$=0,J=0,k=0,T=0;ht.a.gc()!=0;)m=S2n(ht,s,h),m&&(ht.a.Bc(m)!=null,In(d.c,m),o.a.zc(m,o),U=t.f[m.p],Tt+=t.e[m.p]-U*t.b,A=t.c[m.p],At+=A*t.b,T+=U*t.b,J+=t.e[m.p]),(!m||ht.a.gc()==0||Tt>=tt&&t.e[m.p]>U*t.b||At>=n*tt)&&(In(P.c,d),d=new fe,Ma(h,o),o.a.$b(),k-=T,$=b.Math.max($,k*t.b+J),k+=At,Tt=At,At=0,T=0,J=0);return new Ws($,P)}function pct(t){var e,n,r,s,o,h,d;if(!t.d){if(d=new Jtt,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),gs(d,pct(n));e.a.Bc(t)!=null,e.a.gc()==0}for(h=d.i,s=(!t.q&&(t.q=new Jt(vf,t,11,10)),new Zn(t.q));s.e!=s.i.gc();++h)u(ar(s),411);gs(d,(!t.q&&(t.q=new Jt(vf,t,11,10)),t.q)),Uy(d),t.d=new $4((u(Dt(Qt((Lb(),Fn).o),9),19),d.i),d.g),t.e=u(d.g,688),t.e==null&&(t.e=DTe),_l(t).b&=-17}return t.d}function $7(t,e,n,r){var s,o,h,d,m,k;if(k=Lu(t.e.Dh(),e),m=0,s=u(t.g,124),vo(),u(e,69).xk()){for(h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if(Ti(o,n))return m;++m}}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],k.am(o.Lk())){if(Ti(n,o.md()))return m;++m}if(r){for(m=0,h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if($t(n)===$t(lit(t,u(o.md(),58))))return m;++m}}}else for(h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if(o.md()==null)return m;++m}return-1}function O7n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J;if(n.Xh(e)&&(T=($=e,$?u(r,54).gi($):null),T))if(J=n.Nh(e,t.a),U=e.t,U>1||U==-1)if(A=u(J,71),P=u(T,71),A.dc())P.$b();else for(h=!!yo(e),o=0,d=t.a?A.Kc():A.Ii();d.Ob();)k=u(d.Pb(),58),s=u(od(t,k),58),s?(h?(m=P.dd(s),m==-1?P.Gi(o,s):o!=m&&P.Ui(o,s)):P.Gi(o,s),++o):t.b&&!h&&(P.Gi(o,k),++o);else J==null?T.Wb(null):(s=od(t,J),s==null?t.b&&!yo(e)&&T.Wb(J):T.Wb(s))}function N7n(t,e){var n,r,s,o,h,d,m,k;for(n=new gQ,s=new rr(sr(ua(e).a.Kc(),new z));Mr(s);)if(r=u(dr(s),18),!go(r)&&(d=r.c.i,Yxt(d,QU))){if(k=dkt(t,d,QU,XU),k==-1)continue;n.b=b.Math.max(n.b,k),!n.a&&(n.a=new fe),ge(n.a,d)}for(h=new rr(sr(_s(e).a.Kc(),new z));Mr(h);)if(o=u(dr(h),18),!go(o)&&(m=o.d.i,Yxt(m,XU))){if(k=dkt(t,m,XU,QU),k==-1)continue;n.d=b.Math.max(n.d,k),!n.c&&(n.c=new fe),ge(n.c,m)}return n}function P7n(t,e,n,r){var s,o,h,d,m,k,T;if(n.d.i!=e.i){for(s=new Ig(t),y(s,(Un(),fa)),Zt(s,(oe(),Li),n),Zt(s,(De(),bs),(ka(),hu)),In(r.c,s),h=new Yc,hc(h,s),Xs(h,(ve(),Gn)),d=new Yc,hc(d,s),Xs(d,Jn),T=n.d,xa(n,h),o=new Pm,Qo(o,n),Zt(o,Vo,null),Xa(o,d),xa(o,T),k=new La(n.b,0);k.b<k.d.gc();)m=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),72)),$t(X(m,l0))===$t((cd(),$3))&&(Zt(m,Vk,n),Kl(k),ge(o.b,m));ade(s,h,d)}}function F7n(t,e,n,r){var s,o,h,d,m,k,T;if(n.c.i!=e.i)for(s=new Ig(t),y(s,(Un(),fa)),Zt(s,(oe(),Li),n),Zt(s,(De(),bs),(ka(),hu)),In(r.c,s),h=new Yc,hc(h,s),Xs(h,(ve(),Gn)),d=new Yc,hc(d,s),Xs(d,Jn),xa(n,h),o=new Pm,Qo(o,n),Zt(o,Vo,null),Xa(o,d),xa(o,e),ade(s,h,d),k=new La(n.b,0);k.b<k.d.gc();)m=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),72)),T=u(X(m,l0),278),T==(cd(),$3)&&(qi(m,Vk)||Zt(m,Vk,n),Kl(k),ge(o.b,m))}function Age(t){F7();var e,n,r,s;if(e=Ys(t),t<xA.length)return xA[e];if(t<=50)return RO((Xd(),Iht),e);if(t<=Rp)return nk(RO(Bk[1],e),e);if(t>1e6)throw at(new f$("power of ten too big"));if(t<=xi)return nk(RO(Bk[1],e),e);for(r=RO(Bk[1],xi),s=r,n=Pc(t-xi),e=Ys(t%xi);$c(n,xi)>0;)s=Z4(s,r),n=sf(n,xi);for(s=Z4(s,RO(Bk[1],e)),s=nk(s,xi),n=Pc(t-xi);$c(n,xi)>0;)s=nk(s,xi),n=sf(n,xi);return s=nk(s,e),s}function Lge(t){var e,n,r,s,o,h,d,m,k,T;for(m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),d.k==(Un(),Ms)&&(s=u(X(d,(oe(),Dc)),64),s==(ve(),Jn)||s==Gn))for(r=new rr(sr(Dg(d).a.Kc(),new z));Mr(r);)n=u(dr(r),18),e=n.a,e.b!=0&&(k=n.c,k.i==d&&(o=(ur(e.b!=0),u(e.a.a.c,8)),o.b=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])).b),T=n.d,T.i==d&&(h=(ur(e.b!=0),u(e.c.b.c,8)),h.b=dc(lt(ut(la,1),ue,8,0,[T.i.n,T.n,T.a])).b))}function P_(t,e,n,r){var s,o,h;if(this.j=new fe,this.k=new fe,this.b=new fe,this.c=new fe,this.e=new B6,this.i=new Qu,this.f=new Rnt,this.d=new fe,this.g=new fe,ge(this.b,t),ge(this.b,e),this.e.c=b.Math.min(t.a,e.a),this.e.d=b.Math.min(t.b,e.b),this.e.b=b.Math.abs(t.a-e.a),this.e.a=b.Math.abs(t.b-e.b),s=u(X(r,(De(),Vo)),75),s)for(h=Dr(s,0);h.b!=h.d.c;)o=u(Ar(h),8),u4t(o.a,t.a)&&Zr(this.i,o);n&&ge(this.j,n),ge(this.k,r)}function B7n(t,e,n,r){var s,o,h,d,m,k,T;for(d=-1,T=new G(t);T.a<T.c.c.length;)k=u(et(T),118),k.g=d--,s=qr(lq(Wz(_i(new ln(null,new gn(k.f,16)),new bZ),new wZ)).d),o=qr(lq(Wz(_i(new ln(null,new gn(k.k,16)),new mZ),new vZ)).d),h=s,m=o,r||(h=qr(lq(Wz(new ln(null,new gn(k.f,16)),new yZ)).d),m=qr(lq(Wz(new ln(null,new gn(k.k,16)),new gZ)).d)),k.d=h,k.a=s,k.i=m,k.b=o,m==0?hs(n,k,n.c.b,n.c):h==0&&hs(e,k,e.c.b,e.c)}function xk(t,e){var n,r,s,o,h,d;if(t.k==(Un(),Vc)&&(n=t.k==Vc&&!wE(_i(u(X(t,(oe(),IA)),15).Oc(),new Sl(new OB))).Bd((U2(),Rk))?(uh(),OP):e,Zt(t,(oe(),Gk),n),n!=(uh(),h2)))for(r=u(X(t,Li),18),d=Rt(Ht(X(r,(De(),Hp)))),h=0,n==K0?h=t.o.b-b.Math.ceil(d/2):n==OP&&(h=b.Math.ceil(t.o.b-Rt(Ht(X(Pa(t),Y5)))-d)/2,t.o.b-=Rt(Ht(X(Pa(t),Y5))),t.o.b-=d),o=new G(t.j);o.a<o.c.c.length;)s=u(et(o),12),s.n.b=h}function Dge(t,e,n){var r,s,o,h,d,m,k,T,A;for(s=!0,h=new G(t.b);h.a<h.c.c.length;){for(o=u(et(h),30),k=Vs,T=null,m=new G(o.a);m.a<m.c.c.length;)if(d=u(et(m),10),A=Rt(e.p[d.p])+Rt(e.d[d.p])-d.d.d,r=Rt(e.p[d.p])+Rt(e.d[d.p])+d.o.b+d.d.a,A>k&&r>k)T=d,k=Rt(e.p[d.p])+Rt(e.d[d.p])+d.o.b+d.d.a;else{s=!1,n._g()&&n.bh("bk node placement breaks on "+d+" which should have been after "+T);break}if(!s)break}return n._g()&&n.bh(e+" is feasible: "+s),s}function jkt(t,e,n,r){var s,o,h,d,m,k,T,A,P;if(o=new Ig(t),y(o,(Un(),uu)),Zt(o,(De(),bs),(ka(),hu)),s=0,e){for(h=new Yc,Zt(h,(oe(),Li),e),Zt(o,Li,e.i),Xs(h,(ve(),Gn)),hc(h,o),P=Kd(e.e),k=P,T=0,A=k.length;T<A;++T)m=k[T],xa(m,h);Zt(e,ml,o),++s}if(n){for(d=new Yc,Zt(o,(oe(),Li),n.i),Zt(d,Li,n),Xs(d,(ve(),Jn)),hc(d,o),P=Kd(n.g),k=P,T=0,A=k.length;T<A;++T)m=k[T],Xa(m,d);Zt(n,ml,o),++s}return Zt(o,(oe(),LG),he(s)),In(r.c,o),o}function R7n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(n=(k=new si(t.c.b).a.vc().Kc(),new Qi(k));n.a.Ob();)e=(d=u(n.a.Pb(),44),u(d.md(),143)),s=e.a,s==null&&(s=""),r=lan(t.c,s),!r&&s.length==0&&(r=Jbn(t)),r&&!Ky(r.c,e,!1)&&Zr(r.c,e);for(h=Dr(t.a,0);h.b!=h.d.c;)o=u(Ar(h),486),T=Lst(t.c,o.a),$=Lst(t.c,o.b),T&&$&&Zr(T.c,new Ws($,o.c));for(nh(t.a),P=Dr(t.b,0);P.b!=P.d.c;)A=u(Ar(P),486),e=uan(t.c,A.a),m=Lst(t.c,A.b),e&&m&&qrn(e,m,A.c);nh(t.b)}function j7n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;o=new uE(t),h=new zhe,s=(NI(h.g),NI(h.j),dl(h.b),NI(h.d),NI(h.i),dl(h.k),dl(h.c),dl(h.e),$=E1e(h,o,null),mde(h,o),$),e&&(k=new uE(e),d=W7n(k),c6t(s,lt(ut(nMt,1),Ln,536,0,[d]))),P=!1,A=!1,n&&(k=new uE(n),gU in k.a&&(P=vg(k,gU).qe().a),ame in k.a&&(A=vg(k,ame).qe().a)),T=NWt(Eoe(new S6,P),A),k4n(new hy,s,T),gU in o.a&&_1(o,gU,null),(P||A)&&(m=new _6,hge(T,m,P,A),_1(o,gU,m)),r=new OGt(h),abn(new Tmt(s),r)}function $7n(t,e,n){var r,s,o,h,d,m,k,T,A;for(h=new Ghe,k=lt(ut(Fr,1),ii,28,15,[0]),s=-1,o=0,r=0,m=0;m<t.b.c.length;++m)if(T=u(Oe(t.b,m),443),T.b>0){if(s<0&&T.a&&(s=m,o=k[0],r=0),s>=0){if(d=T.b,m==s&&(d-=r++,d==0))return 0;if(!Ope(e,k,T,d,h)){m=s-1,k[0]=o;continue}}else if(s=-1,!Ope(e,k,T,0,h))return 0}else{if(s=-1,Va(T.c,0)==32){if(A=k[0],Oae(e,k),k[0]>A)continue}else if(Ehn(e,T.c,k[0])){k[0]+=T.c.length;continue}return 0}return CCn(h,n)?k[0]:0}function z7n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=new Rz(new e$(n)),d=Vt(Fl,$0,28,t.f.e.c.length,16,1),Eyt(d,d.length),n[e.a]=0,k=new G(t.f.e);k.a<k.c.c.length;)m=u(et(k),153),m.a!=e.a&&(n[m.a]=xi),V6(D7(T,m),X7);for(;T.b.c.length!=0;)for(A=u(Yst(T),153),d[A.a]=!0,o=AJt(new ort(t.b,A),0);o.c;)s=u(s4t(o),289),P=Zmn(s,A),!d[P.a]&&(qi(s,(TO(),YU))?h=Rt(Ht(X(s,YU))):h=t.c,r=n[A.a]+h,r<n[P.a]&&(n[P.a]=r,Voe(T,P),V6(D7(T,P),X7)))}function q7n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;for(h=t.o,r=Vt(Fr,ii,28,h,15,1),s=Vt(Fr,ii,28,h,15,1),n=t.p,e=Vt(Fr,ii,28,n,15,1),o=Vt(Fr,ii,28,n,15,1),k=0;k<h;k++){for(A=0;A<n&&!u5(t,k,A);)++A;r[k]=A}for(T=0;T<h;T++){for(A=n-1;A>=0&&!u5(t,T,A);)--A;s[T]=A}for($=0;$<n;$++){for(d=0;d<h&&!u5(t,d,$);)++d;e[$]=d}for(U=0;U<n;U++){for(d=h-1;d>=0&&!u5(t,d,U);)--d;o[U]=d}for(m=0;m<h;m++)for(P=0;P<n;P++)m<o[P]&&m>e[P]&&P<s[m]&&P>r[m]&&cV(t,m,P,!1,!0)}function $kt(t){var e,n,r,s,o,h,d,m;n=Ie(Me(X(t,(Vf(),_3e)))),o=t.a.c.d,d=t.a.d.d,n?(h=qd(ia(new ae(d.a,d.b),o),.5),m=qd(Oa(t.e),.5),e=ia(ki(new ae(o.a,o.b),h),m),Xmt(t.d,e)):(s=Rt(Ht(X(t.a,F3e))),r=t.d,o.a>=d.a?o.b>=d.b?(r.a=d.a+(o.a-d.a)/2+s,r.b=d.b+(o.b-d.b)/2-s-t.e.b):(r.a=d.a+(o.a-d.a)/2+s,r.b=o.b+(d.b-o.b)/2+s):o.b>=d.b?(r.a=o.a+(d.a-o.a)/2+s,r.b=d.b+(o.b-d.b)/2+s):(r.a=o.a+(d.a-o.a)/2+s,r.b=o.b+(d.b-o.b)/2-s-t.e.b))}function F_(t){var e,n,r,s,o,h,d,m;if(!t.f){if(m=new cM,d=new cM,e=_L,h=e.a.zc(t,e),h==null){for(o=new Zn(Yo(t));o.e!=o.i.gc();)s=u(ar(o),29),gs(m,F_(s));e.a.Bc(t)!=null,e.a.gc()==0}for(r=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));r.e!=r.i.gc();)n=u(ar(r),179),Lt(n,102)&&Or(d,u(n,19));Uy(d),t.r=new yte(t,(u(Dt(Qt((Lb(),Fn).o),6),19),d.i),d.g),gs(m,t.r),Uy(m),t.f=new $4((u(Dt(Qt(Fn.o),5),19),m.i),m.g),_l(t).b&=-3}return t.f}function Mge(t){wm(t,new dw(gm(hm(dm(fm(new G1,vw),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new g1))),le(t,vw,Lut,Se(cCt)),le(t,vw,Dut,Se(Xht)),le(t,vw,Dk,Se(f3e)),le(t,vw,ov,Se(oCt)),le(t,vw,A8t,Se(b3e)),le(t,vw,L8t,Se(p3e)),le(t,vw,_8t,Se(w3e)),le(t,vw,D8t,Se(g3e)),le(t,vw,B8t,Se(d3e)),le(t,vw,R8t,Se(Yht)),le(t,vw,j8t,Se(aCt)),le(t,vw,$8t,Se(HU))}function fV(){fV=V,LIt=lt(ut(Yh,1),Zd,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),aTe=new RegExp(`[
1351 `;return o};var p_n=I(nA,"TGraph",121);D(643,508,{3:1,508:1,643:1,96:1,137:1}),I(nA,"TShape",643),D(39,643,{3:1,508:1,39:1,643:1,96:1,137:1},Eat),l.Ib=function(){return Z2(this)};var aK=I(nA,"TNode",39);D(236,1,F0,gg),l.Jc=function(e){Fa(this,e)},l.Kc=function(){var e;return e=Dr(this.a.d,0),new M4(e)},I(nA,"TNode/2",236),D(329,1,wa,M4),l.Nb=function(e){Na(this,e)},l.Pb=function(){return u(Ar(this.a),65).c},l.Ob=function(){return IM(this.a)},l.Qb=function(){Qst(this.a)},I(nA,"TNode/2/1",329),D(1923,1,zi,FZ),l.Kf=function(e,n){LSn(this,u(e,121),n)},I(ou,"CompactionProcessor",1923),D(1924,1,Xr,UUt),l.Ne=function(e,n){return bpn(this.a,u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$0$Type",1924),D(1925,1,Kr,NXt),l.Mb=function(e){return khn(this.b,this.a,u(e,42))},l.a=0,l.b=0,I(ou,"CompactionProcessor/lambda$1$Type",1925),D(1934,1,Xr,i6),l.Ne=function(e,n){return dln(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$10$Type",1934),D(1935,1,Xr,ER),l.Ne=function(e,n){return _sn(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$11$Type",1935),D(1936,1,Xr,BZ),l.Ne=function(e,n){return gln(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$12$Type",1936),D(1926,1,Kr,GUt),l.Mb=function(e){return lsn(this.a,u(e,42))},l.a=0,I(ou,"CompactionProcessor/lambda$2$Type",1926),D(1927,1,Kr,KUt),l.Mb=function(e){return hsn(this.a,u(e,42))},l.a=0,I(ou,"CompactionProcessor/lambda$3$Type",1927),D(1928,1,Kr,XD),l.Mb=function(e){return u(e,39).c.indexOf(nU)==-1},I(ou,"CompactionProcessor/lambda$4$Type",1928),D(1929,1,{},WUt),l.Kb=function(e){return T1n(this.a,u(e,39))},l.a=0,I(ou,"CompactionProcessor/lambda$5$Type",1929),D(1930,1,{},YUt),l.Kb=function(e){return I0n(this.a,u(e,39))},l.a=0,I(ou,"CompactionProcessor/lambda$6$Type",1930),D(1931,1,Xr,XUt),l.Ne=function(e,n){return Hdn(this.a,u(e,240),u(n,240))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$7$Type",1931),D(1932,1,Xr,QUt),l.Ne=function(e,n){return Vdn(this.a,u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$8$Type",1932),D(1933,1,Xr,RZ),l.Ne=function(e,n){return Asn(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(ou,"CompactionProcessor/lambda$9$Type",1933),D(1921,1,zi,jZ),l.Kf=function(e,n){C8n(u(e,121),n)},I(ou,"DirectionProcessor",1921),D(1913,1,zi,xZt),l.Kf=function(e,n){WEn(this,u(e,121),n)},I(ou,"FanProcessor",1913),D(1937,1,zi,$Z),l.Kf=function(e,n){d8n(u(e,121),n)},I(ou,"GraphBoundsProcessor",1937),D(1938,1,{},zZ),l.Ye=function(e){return u(e,39).e.a},I(ou,"GraphBoundsProcessor/lambda$0$Type",1938),D(1939,1,{},qZ),l.Ye=function(e){return u(e,39).e.b},I(ou,"GraphBoundsProcessor/lambda$1$Type",1939),D(1940,1,{},HZ),l.Ye=function(e){return Krn(u(e,39))},I(ou,"GraphBoundsProcessor/lambda$2$Type",1940),D(1941,1,{},VZ),l.Ye=function(e){return Grn(u(e,39))},I(ou,"GraphBoundsProcessor/lambda$3$Type",1941),D(262,22,{3:1,34:1,22:1,262:1,196:1},mm),l.dg=function(){switch(this.g){case 0:return new QKt;case 1:return new xZt;case 2:return new XKt;case 3:return new SR;case 4:return new UZ;case 8:return new TR;case 5:return new jZ;case 6:return new AR;case 7:return new FZ;case 9:return new $Z;case 10:return new KZ;default:throw at(new zn(jut+(this.f!=null?this.f:""+this.g)))}};var eLt,nLt,rLt,iLt,sLt,aLt,oLt,cLt,uLt,lLt,O1t,b_n=Lr(ou,$ut,262,Pr,pce,Qon),Uke;D(1920,1,zi,TR),l.Kf=function(e,n){SCn(u(e,121),n)},I(ou,"LevelCoordinatesProcessor",1920),D(1918,1,zi,UZ),l.Kf=function(e,n){K6n(this,u(e,121),n)},l.a=0,I(ou,"LevelHeightProcessor",1918),D(1919,1,F0,CR),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return mn(),yE(),mT},I(ou,"LevelHeightProcessor/1",1919),D(1914,1,zi,XKt),l.Kf=function(e,n){o8n(this,u(e,121),n)},I(ou,"LevelProcessor",1914),D(1915,1,Kr,GZ),l.Mb=function(e){return Ie(Me(X(u(e,39),(ji(),u2))))},I(ou,"LevelProcessor/lambda$0$Type",1915),D(1916,1,zi,SR),l.Kf=function(e,n){V4n(this,u(e,121),n)},l.a=0,I(ou,"NeighborsProcessor",1916),D(1917,1,F0,_R),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return mn(),yE(),mT},I(ou,"NeighborsProcessor/1",1917),D(1922,1,zi,AR),l.Kf=function(e,n){KEn(this,u(e,121),n)},l.a=0,I(ou,"NodePositionProcessor",1922),D(1912,1,zi,QKt),l.Kf=function(e,n){ATn(this,u(e,121),n)},I(ou,"RootProcessor",1912),D(1942,1,zi,KZ),l.Kf=function(e,n){Tmn(u(e,121),n)},I(ou,"Untreeifyer",1942),D(392,22,{3:1,34:1,22:1,392:1},Prt);var dP,N1t,hLt,fLt=Lr(CN,"EdgeRoutingMode",392,Pr,$fn,Jon),Gke,gP,zT,P1t,dLt,gLt,F1t,B1t,pLt,R1t,bLt,j1t,QA,$1t,oK,cK,Xf,P1,qT,JA,ZA,Kp,wLt,Kke,z1t,u2,pP,bP;D(862,1,uf,snt),l.hf=function(e){Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,T7t),""),Y2e),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Pn(),!1)),(Fp(),oa)),ys),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,C7t),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,S7t),""),"Tree Level"),"The index for the tree level the node is in"),he(0)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,_7t),""),Y2e),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),he(-1)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,A7t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),yLt),ts),ILt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,L7t),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),mLt),ts),fLt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,D7t),""),"Search Order"),"Which search order to use when computing a spanning tree."),vLt),ts),NLt),en(_n)))),Rpe((new p6,e))};var Wke,Yke,Xke,mLt,Qke,Jke,vLt,Zke,t8e,yLt;I(CN,"MrTreeMetaDataProvider",862),D(1006,1,uf,p6),l.hf=function(e){Rpe(e)};var e8e,xLt,kLt,Mv,ELt,TLt,q1t,n8e,r8e,i8e,s8e,a8e,o8e,c8e,CLt,SLt,_Lt,u8e,tx,uK,ALt,l8e,LLt,H1t,h8e,f8e,d8e,DLt,g8e,h0,MLt;I(CN,"MrTreeOptions",1006),D(1007,1,{},WZ),l.sf=function(){var e;return e=new kZt,e},l.tf=function(e){},I(CN,"MrTreeOptions/MrtreeFactory",1007),D(353,22,{3:1,34:1,22:1,353:1},H$);var V1t,lK,U1t,G1t,ILt=Lr(CN,"OrderWeighting",353,Pr,W1n,Zon),p8e;D(433,22,{3:1,34:1,22:1,433:1},rmt);var OLt,K1t,NLt=Lr(CN,"TreeifyingOrder",433,Pr,qhn,tcn),b8e;D(1486,1,_o,cnt),l.rg=function(e){return u(e,121),w8e},l.Kf=function(e,n){ipn(this,u(e,121),n)};var w8e;I("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),D(1487,1,_o,rE),l.rg=function(e){return u(e,121),m8e},l.Kf=function(e,n){h8n(this,u(e,121),n)};var m8e;I(sT,"NodeOrderer",1487),D(1494,1,{},A2t),l.td=function(e){return Ate(e)},I(sT,"NodeOrderer/0methodref$lambda$6$Type",1494),D(1488,1,Kr,att),l.Mb=function(e){return ak(),Ie(Me(X(u(e,39),(ji(),u2))))},I(sT,"NodeOrderer/lambda$0$Type",1488),D(1489,1,Kr,ott),l.Mb=function(e){return ak(),u(X(u(e,39),(Cc(),tx)),17).a<0},I(sT,"NodeOrderer/lambda$1$Type",1489),D(1490,1,Kr,ZUt),l.Mb=function(e){return Ogn(this.a,u(e,39))},I(sT,"NodeOrderer/lambda$2$Type",1490),D(1491,1,Kr,JUt),l.Mb=function(e){return _1n(this.a,u(e,39))},I(sT,"NodeOrderer/lambda$3$Type",1491),D(1492,1,Xr,ctt),l.Ne=function(e,n){return ngn(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(sT,"NodeOrderer/lambda$4$Type",1492),D(1493,1,Kr,utt),l.Mb=function(e){return ak(),u(X(u(e,39),(ji(),B1t)),17).a!=0},I(sT,"NodeOrderer/lambda$5$Type",1493),D(1495,1,_o,ont),l.rg=function(e){return u(e,121),v8e},l.Kf=function(e,n){yEn(this,u(e,121),n)},l.b=0;var v8e;I("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),D(1496,1,_o,ant),l.rg=function(e){return u(e,121),y8e},l.Kf=function(e,n){eEn(u(e,121),n)};var y8e,w_n=I(Xl,"EdgeRouter",1496);D(1498,1,Xr,stt),l.Ne=function(e,n){return jc(u(e,17).a,u(n,17).a)},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/0methodref$compare$Type",1498),D(1503,1,{},YZ),l.Ye=function(e){return Rt(Ht(e))},I(Xl,"EdgeRouter/1methodref$doubleValue$Type",1503),D(1505,1,Xr,DR),l.Ne=function(e,n){return Bi(Rt(Ht(e)),Rt(Ht(n)))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/2methodref$compare$Type",1505),D(1507,1,Xr,XZ),l.Ne=function(e,n){return Bi(Rt(Ht(e)),Rt(Ht(n)))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/3methodref$compare$Type",1507),D(1509,1,{},LR),l.Ye=function(e){return Rt(Ht(e))},I(Xl,"EdgeRouter/4methodref$doubleValue$Type",1509),D(1511,1,Xr,QZ),l.Ne=function(e,n){return Bi(Rt(Ht(e)),Rt(Ht(n)))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/5methodref$compare$Type",1511),D(1513,1,Xr,QD),l.Ne=function(e,n){return Bi(Rt(Ht(e)),Rt(Ht(n)))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/6methodref$compare$Type",1513),D(1497,1,{},JZ),l.Kb=function(e){return Sg(),u(X(u(e,39),(Cc(),h0)),17)},I(Xl,"EdgeRouter/lambda$0$Type",1497),D(1508,1,{},ZZ),l.Kb=function(e){return zsn(u(e,39))},I(Xl,"EdgeRouter/lambda$11$Type",1508),D(1510,1,{},PXt),l.Kb=function(e){return pun(this.b,this.a,u(e,39))},l.a=0,l.b=0,I(Xl,"EdgeRouter/lambda$13$Type",1510),D(1512,1,{},FXt),l.Kb=function(e){return qsn(this.b,this.a,u(e,39))},l.a=0,l.b=0,I(Xl,"EdgeRouter/lambda$15$Type",1512),D(1514,1,Xr,ttt),l.Ne=function(e,n){return tmn(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$17$Type",1514),D(1515,1,Xr,ett),l.Ne=function(e,n){return emn(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$18$Type",1515),D(1516,1,Xr,ntt),l.Ne=function(e,n){return rmn(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$19$Type",1516),D(1499,1,Kr,tGt),l.Mb=function(e){return ifn(this.a,u(e,39))},l.a=0,I(Xl,"EdgeRouter/lambda$2$Type",1499),D(1517,1,Xr,MR),l.Ne=function(e,n){return nmn(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$20$Type",1517),D(1500,1,Xr,rtt),l.Ne=function(e,n){return eun(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$3$Type",1500),D(1501,1,Xr,itt),l.Ne=function(e,n){return nun(u(e,39),u(n,39))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"EdgeRouter/lambda$4$Type",1501),D(1502,1,{},ltt),l.Kb=function(e){return Hsn(u(e,39))},I(Xl,"EdgeRouter/lambda$5$Type",1502),D(1504,1,{},BXt),l.Kb=function(e){return bun(this.b,this.a,u(e,39))},l.a=0,l.b=0,I(Xl,"EdgeRouter/lambda$7$Type",1504),D(1506,1,{},RXt),l.Kb=function(e){return Vsn(this.b,this.a,u(e,39))},l.a=0,l.b=0,I(Xl,"EdgeRouter/lambda$9$Type",1506),D(675,1,{675:1},bhe),l.e=0,l.f=!1,l.g=!1,I(Xl,"MultiLevelEdgeNodeNodeGap",675),D(1943,1,Xr,htt),l.Ne=function(e,n){return gfn(u(e,240),u(n,240))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),D(1944,1,Xr,ftt),l.Ne=function(e,n){return pfn(u(e,240),u(n,240))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Xl,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var ex;D(500,22,{3:1,34:1,22:1,500:1,188:1,196:1},imt),l.dg=function(){return nle(this)},l.qg=function(){return nle(this)};var hK,nx,PLt=Lr(M7t,"RadialLayoutPhases",500,Pr,Uhn,ecn),x8e;D(1113,205,mw,KWt),l.rf=function(e,n){var r,s,o,h,d,m;if(r=qde(this,e),n.Ug("Radial layout",r.c.length),Ie(Me(ne(e,(Ub(),GLt))))||sq((s=new by((xy(),new my(e))),s)),m=s3n(e),Mi(e,(Y4(),ex),m),!m)throw at(new zn("The given graph is not a tree!"));for(o=Rt(Ht(ne(e,gK))),o==0&&(o=k1e(e)),Mi(e,gK,o),d=new G(qde(this,e));d.a<d.c.c.length;)h=u(et(d),47),h.Kf(e,n.eh(1));n.Vg()},I(M7t,"RadialLayoutProvider",1113),D(556,1,Xr,m$),l.Ne=function(e,n){return z8n(this.a,this.b,u(e,27),u(n,27))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},l.a=0,l.b=0,I(M7t,"RadialUtil/lambda$0$Type",556),D(1395,1,zi,dtt),l.Kf=function(e,n){ICn(u(e,27),n)},I(N7t,"CalculateGraphSize",1395),D(1396,1,zi,gtt),l.Kf=function(e,n){tTn(u(e,27))},I(N7t,"EdgeAngleCalculator",1396),D(368,22,{3:1,34:1,22:1,368:1,196:1},WM),l.dg=function(){switch(this.g){case 0:return new ytt;case 1:return new ptt;case 2:return new xtt;case 3:return new dtt;case 4:return new gtt;default:throw at(new zn(jut+(this.f!=null?this.f:""+this.g)))}};var W1t,Y1t,X1t,Q1t,J1t,k8e=Lr(N7t,$ut,368,Pr,Ndn,ncn),E8e;D(653,1,{}),l.e=1,l.g=0,I(Tlt,"AbstractRadiusExtensionCompaction",653),D(1834,653,{},qJt),l.Cg=function(e){var n,r,s,o,h,d,m,k,T;for(this.c=u(ne(e,(Y4(),ex)),27),_t(this,this.c),this.d=oot(u(ne(e,(Ub(),wP)),299)),k=u(ne(e,tdt),17),k&&pt(this,k.a),m=Ht(ne(e,(ai(),$w))),St(this,(Wn(m),m)),T=n3(this.c),this.d&&this.d.Gg(T),sEn(this,T),d=new hl(lt(ut(bi,1),Z2e,27,0,[this.c])),r=0;r<2;r++)for(n=0;n<T.c.length;n++)o=new hl(lt(ut(bi,1),Z2e,27,0,[(vn(n,T.c.length),u(T.c[n],27))])),h=n<T.c.length-1?(vn(n+1,T.c.length),u(T.c[n+1],27)):(vn(0,T.c.length),u(T.c[0],27)),s=n==0?u(Oe(T,T.c.length-1),27):(vn(n-1,T.c.length),u(T.c[n-1],27)),mfe(this,(vn(n,T.c.length),u(T.c[n],27),d),s,h,o)},I(Tlt,"AnnulusWedgeCompaction",1834),D(1393,1,zi,ptt),l.Kf=function(e,n){Jgn(u(e,27),n)},I(Tlt,"GeneralCompactor",1393),D(1833,653,{},btt),l.Cg=function(e){var n,r,s,o;r=u(ne(e,(Y4(),ex)),27),this.f=r,this.b=oot(u(ne(e,(Ub(),wP)),299)),o=u(ne(e,tdt),17),o&&pt(this,o.a),s=Ht(ne(e,(ai(),$w))),St(this,(Wn(s),s)),n=n3(r),this.b&&this.b.Gg(n),Xfe(this,n)},l.a=0,I(Tlt,"RadialCompaction",1833),D(1842,1,{},wtt),l.Dg=function(e){var n,r,s,o,h,d;for(this.a=e,n=0,d=n3(e),s=0,h=new G(d);h.a<h.c.c.length;)for(o=u(et(h),27),++s,r=s;r<d.c.length;r++)x7n(this,o,(vn(r,d.c.length),u(d.c[r],27)))&&(n+=1);return n},I(P7t,"CrossingMinimizationPosition",1842),D(1840,1,{},mtt),l.Dg=function(e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(s=0,r=new rr(sr(Og(e).a.Kc(),new z));Mr(r);)n=u(dr(r),74),m=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),T=m.i+m.g/2,A=m.j+m.f/2,o=e.i+e.g/2,h=e.j+e.f/2,P=new Sa,P.a=T-o,P.b=A-h,d=new ae(P.a,P.b),A7(d,e.g,e.f),P.a-=d.a,P.b-=d.b,o=T-P.a,h=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=o+P.a,A=h+P.b,$=T-o,U=A-h,s+=b.Math.sqrt($*$+U*U);return s},I(P7t,"EdgeLengthOptimization",1840),D(1841,1,{},vtt),l.Dg=function(e){var n,r,s,o,h,d,m,k,T,A,P;for(s=0,r=new rr(sr(Og(e).a.Kc(),new z));Mr(r);)n=u(dr(r),74),m=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),k=m.i+m.g/2,T=m.j+m.f/2,o=u(ne(m,(ai(),Jk)),8),h=e.i+o.a+e.g/2,d=e.j+o.b+e.f,A=k-h,P=T-d,s+=b.Math.sqrt(A*A+P*P);return s},I(P7t,"EdgeLengthPositionOptimization",1841),D(1392,653,zi,ytt),l.Kf=function(e,n){i5n(this,u(e,27),n)},I("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1392),D(1394,1,zi,xtt),l.Kf=function(e,n){Jun(u(e,27),n)},I("org.eclipse.elk.alg.radial.intermediate.rotation","GeneralRotator",1394),D(434,22,{3:1,34:1,22:1,434:1},smt);var FLt,Z1t,BLt=Lr(rA,"AnnulusWedgeCriteria",434,Pr,Hhn,icn),T8e;D(393,22,{3:1,34:1,22:1,393:1},Frt);var fK,RLt,jLt,$Lt=Lr(rA,F8t,393,Pr,Wfn,rcn),C8e;D(863,1,uf,Jh),l.hf=function(e){Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,F7t),""),"Center On Root"),"Centers the layout on the root of the tree i.e. so that the central node is also the center node of the final layout. This introduces additional whitespace."),(Pn(),!1)),(Fp(),oa)),ys),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,B7t),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),he(0)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,R7t),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,sU),""),"Rotate"),"The rotate option determines whether a rotation of the layout should be performed."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Slt),""),twe),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),zLt),ts),$Lt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,_lt),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),he(1)),ac),Ra),en(_n)))),Bs(e,_lt,Slt,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,j7t),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),HLt),ts),iDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,$7t),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),VLt),ts),BLt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,z7t),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),qLt),ts),eDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Alt),H7t),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),Wa),zs),en(_n)))),Bs(e,Alt,sU,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Llt),H7t),"Additional Wedge Space"),"If set to true, modifies the target angle by rotating further such that space is left for an edge to pass in between the nodes. This option should only be used in conjunction with top-down layout."),!1),oa),ys),en(_n)))),Bs(e,Llt,sU,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,q7t),H7t),"Outgoing Edge Angles"),"Calculate the required angle of connected nodes to leave space for an incoming edge. This option should only be used in conjunction with top-down layout."),!1),oa),ys),en(_n)))),Mpe((new unt,e))};var S8e,_8e,A8e,zLt,L8e,qLt,D8e,M8e,I8e,O8e,N8e,P8e,F8e,HLt,B8e,VLt;I(rA,"RadialMetaDataProvider",863),D(1008,1,uf,unt),l.hf=function(e){Mpe(e)};var ULt,tdt,edt,R8e,j8e,$8e,z8e,GLt,KLt,dK,q8e,H8e,gK,WLt,YLt,XLt,ndt,wP,V8e,QLt;I(rA,"RadialOptions",1008),D(1009,1,{},Kc),l.sf=function(){var e;return e=new KWt,e},l.tf=function(e){},I(rA,"RadialOptions/RadialFactory",1009),D(354,22,{3:1,34:1,22:1,354:1},V$);var JLt,ZLt,tDt,rdt,eDt=Lr(rA,"RadialTranslationStrategy",354,Pr,Y1n,scn),U8e;D(299,22,{3:1,34:1,22:1,299:1},Brt);var nDt,idt,rDt,iDt=Lr(rA,"SortingStrategy",299,Pr,Yfn,acn),G8e;D(1476,1,_o,ktt),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){_5n(this,u(e,27),n)},l.c=0,I("org.eclipse.elk.alg.radial.p1position","EadesRadial",1476),D(1838,1,{},lC),l.Eg=function(e){return Jle(e)},I(ewe,"AnnulusWedgeByLeafs",1838),D(1839,1,{},yc),l.Eg=function(e){return lfe(this,e)},I(ewe,"AnnulusWedgeByNodeSpace",1839),D(1477,1,_o,bu),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){R2n(this,u(e,27),n)},I("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1477),D(826,1,{},rwt),l.Fg=function(e){},l.Gg=function(e){uKt(this,e)},I(V7t,"IDSorter",826),D(1837,1,Xr,Xi),l.Ne=function(e,n){return Zgn(u(e,27),u(n,27))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(V7t,"IDSorter/lambda$0$Type",1837),D(1836,1,{},rce),l.Fg=function(e){Yre(this,e)},l.Gg=function(e){var n;e.dc()||(this.e||(n=qte(u(e.Xb(0),27)),Yre(this,n)),uKt(this.e,e))},I(V7t,"PolarCoordinateSorter",1836),D(445,22,{3:1,34:1,22:1,445:1},Rrt);var mP,pK,sdt,sDt=Lr(swe,"RectPackingLayoutPhases",445,Pr,Gfn,ocn),K8e;D(1118,205,mw,YWt),l.rf=function(e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;if(n.Ug("Rectangle Packing",1),A=u(ne(e,(fd(),rL)),107),m=Ie(Me(ne(e,pEe))),T=Rt(Ht(ne(e,iL))),Bt=Ie(Me(ne(e,mDt))),J=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),At=!1,Bt&&J.i>=3)for(ht=u(Dt(J,0),27),Tt=u(Dt(J,1),27),o=0;o+2<J.i;)if(tt=ht,ht=Tt,Tt=u(Dt(J,o+2),27),tt.f>=ht.f+Tt.f+T||Tt.f>=tt.f+ht.f+T){At=!0;break}else++o;else At=!0;if(!At){for(P=J.i,d=new Zn(J);d.e!=d.i.gc();)h=u(ar(d),27),Mi(h,(ai(),DP),he(P)),--P;mge(e,new S6),n.Vg();return}for(r=(EI(this.a),E1(this.a,(vH(),mP),u(ne(e,kDt),188)),E1(this.a,pK,u(ne(e,bDt),188)),E1(this.a,sdt,u(ne(e,vDt),188)),kmt(this.a,(Wt=new Fs,ri(Wt,mP,(DH(),cdt)),ri(Wt,pK,odt),Ie(Me(ne(e,dDt)))&&ri(Wt,mP,adt),Wt)),XO(this.a,e)),k=1/r.c.length,U=new G(r);U.a<U.c.c.length;){if($=u(et(U),47),n.$g())return;$.Kf(e,n.eh(k))}kpn(J,A),m||rv(e,Rt(Ht(ne(e,(N0(),HT))))+(A.b+A.c),Rt(Ht(ne(e,eL)))+(A.d+A.a),!1,!0),Ie(Me(ne(e,gDt)))||sq((s=new by((xy(),new my(e))),s)),n.Vg()},I(swe,"RectPackingLayoutProvider",1118),D(1518,1,zi,JD),l.Kf=function(e,n){eTn(u(e,27),n)},I(aU,"InteractiveNodeReorderer",1518),D(1519,1,Xr,Ett),l.Ne=function(e,n){return cbn(u(e,27),u(n,27))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(aU,"InteractiveNodeReorderer/lambda$0$Type",1519),D(455,22,{3:1,34:1,22:1,455:1,196:1},jrt),l.dg=function(){switch(this.g){case 0:return new JD;case 1:return new Ctt;case 2:return new Ttt}return null};var adt,odt,cdt,W8e=Lr(aU,$ut,455,Pr,Kfn,ccn),Y8e;D(1521,1,zi,Ttt),l.Kf=function(e,n){kwn(u(e,27),n)},I(aU,"MinSizePostProcessor",1521),D(1520,1,zi,Ctt),l.Kf=function(e,n){ybn(u(e,27),n)},I(aU,"MinSizePreProcessor",1520);var tL,eL,HT,X8e,Q8e,bK,udt,ldt,nL,wK,B3;D(394,22,{3:1,34:1,22:1,394:1},$rt);var aDt,oDt,hdt,cDt=Lr(Dlt,"OptimizationGoal",394,Pr,Ufn,ucn),J8e;D(867,1,uf,iE),l.hf=function(e){Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,U7t),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(Pn(),!1)),(Fp(),oa)),ys),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,G7t),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),he(-1)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,K7t),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),he(-1)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,W7t),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),oa),ys),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Y7t),Mlt),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),hDt),ts),CDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,X7t),Mlt),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Q7t),Mlt),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),lDt),ts),cDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,J7t),Mlt),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Z7t),"packing"),awe),"Strategy for finding an initial placement on nodes."),uDt),ts),ADt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,tTt),owe),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,eTt),owe),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),he(1)),ac),Ra),en(_n)))),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,nTt),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),ts),MDt),en(_n)))),Wpe((new PC,e))};var Z8e,tEe,eEe,nEe,rEe,iEe,uDt,sEe,aEe,oEe,cEe,lDt,uEe,hDt,lEe;I(Dlt,"RectPackingMetaDataProvider",867),D(1016,1,uf,PC),l.hf=function(e){Wpe(e)};var mK,hEe,fDt,vP,dDt,fEe,yP,dEe,gEe,pEe,bEe,wEe,gDt,pDt,fdt,bDt,rL,wDt,mEe,iL,mDt,vDt,yDt,xDt,kDt,ddt;I(Dlt,"RectPackingOptions",1016),D(1017,1,{},s6),l.sf=function(){var e;return e=new YWt,e},l.tf=function(e){},I(Dlt,"RectPackingOptions/RectpackingFactory",1017),D(1705,1,{},JZt),l.a=0,l.c=!1,I(aT,"AreaApproximation",1705);var EDt=os(aT,"BestCandidateFilter");D(673,1,{535:1},B2),l.Hg=function(e,n,r){var s,o,h,d,m,k;for(k=new fe,h=Zi,m=new G(e);m.a<m.c.c.length;)d=u(et(m),238),h=b.Math.min(h,(d.c+(r.b+r.c))*(d.b+(r.d+r.a)));for(o=new G(e);o.a<o.c.c.length;)s=u(et(o),238),(s.c+(r.b+r.c))*(s.b+(r.d+r.a))==h&&In(k.c,s);return k},I(aT,"AreaFilter",673),D(674,1,{535:1},z8),l.Hg=function(e,n,r){var s,o,h,d,m,k;for(m=new fe,k=Zi,d=new G(e);d.a<d.c.c.length;)h=u(et(d),238),k=b.Math.min(k,b.Math.abs((h.c+(r.b+r.c))/(h.b+(r.d+r.a))-n));for(o=new G(e);o.a<o.c.c.length;)s=u(et(o),238),b.Math.abs((s.c+(r.b+r.c))/(s.b+(r.d+r.a))-n)==k&&In(m.c,s);return m},I(aT,"AspectRatioFilter",674),D(1469,1,_o,Stt),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){qkn(u(e,27),n)},I(aT,"GreedyWidthApproximator",1469),D(672,1,{535:1},ZD),l.Hg=function(e,n,r){var s,o,h,d,m,k;for(k=new fe,h=Vs,m=new G(e);m.a<m.c.c.length;)d=u(et(m),238),h=b.Math.max(h,Dz(d.c+(r.b+r.c),d.b+(r.d+r.a),d.a));for(o=new G(e);o.a<o.c.c.length;)s=u(et(o),238),Dz(s.c+(r.b+r.c),s.b+(r.d+r.a),s.a)==h&&In(k.c,s);return k},I(aT,"ScaleMeasureFilter",672),D(1470,1,_o,_tt),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){A5n(u(e,27),n)},I(aT,"TargetWidthWidthApproximator",1470),D(490,22,{3:1,34:1,22:1,490:1,188:1,196:1},amt),l.dg=function(){return vfe(this)},l.qg=function(){return vfe(this)};var gdt,TDt,CDt=Lr(aT,"WidthApproximationStrategy",490,Pr,$hn,lcn),vEe;D(1471,1,_o,Att),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){qCn(this,u(e,27),n)},I(oU,"Compactor",1471),D(1473,1,_o,Ltt),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){ykn(u(e,27),n)},I(oU,"NoPlacement",1473),D(439,22,{3:1,34:1,22:1,439:1,188:1,196:1},zrt),l.dg=function(){return Oue(this)},l.qg=function(){return Oue(this)};var pdt,SDt,_Dt,ADt=Lr(oU,"PackingStrategy",439,Pr,Vfn,dcn),yEe;D(810,1,{},lmt),l.a=0,l.b=0,l.c=0,l.d=Zi,l.e=0,l.f=Zi,I(oU,"RowFillingAndCompaction",810),D(1472,1,_o,IR),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){i9n(u(e,27),n)},I(oU,"SimplePlacement",1472),D(1474,1,_o,Dtt),l.rg=function(e){return u(e,27),null},l.Kf=function(e,n){this.Ig(u(e,27),n)},l.Ig=function(e,n){dde(e,n)},I(rTt,"EqualWhitespaceEliminator",1474),D(1475,1474,_o,Mtt),l.Ig=function(e,n){var r,s,o,h,d;n.Ug("To Aspect Ratio Whitesapce Eliminator",1),d=Rt(Ht(ne(e,(N0(),HT)))),h=Rt(Ht(ne(e,eL))),o=Rt(Ht(ne(e,(fd(),mK)))),r=Rt(Ht(ne(e,tL))),s=d/h,s<o?(d=h*o,Mi(e,HT,d)):(r+=d/o-h,Mi(e,tL,r),Mi(e,eL,h+r)),dde(e,n),n.Vg()},I(rTt,"ToAspectratioNodeExpander",1475),D(491,22,{3:1,34:1,22:1,491:1,188:1,196:1},omt),l.dg=function(){return oce(this)},l.qg=function(){return oce(this)};var LDt,DDt,MDt=Lr(rTt,"WhiteSpaceEliminationStrategy",491,Pr,zhn,gcn),xEe;D(172,1,{172:1},Tat),l.a=0,l.c=!1,l.d=0,l.e=0,l.f=0,l.g=0,l.i=0,l.k=!1,l.o=Zi,l.p=Zi,l.r=0,l.s=0,l.t=0,I(SN,"Block",172),D(209,1,{209:1},aq),l.a=0,l.b=0,l.d=0,l.e=0,l.f=0,I(SN,"BlockRow",209),D(315,1,{315:1},t3t),l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,I(SN,"BlockStack",315),D(238,1,{238:1},tyt,txt),l.a=0,l.b=0,l.c=0,l.d=0,l.e=0,l.g=0;var m_n=I(SN,"DrawingData",238);D(373,22,{3:1,34:1,22:1,373:1},YM);var Xk,rx,sL,aL,xP,kEe=Lr(SN,"DrawingDataDescriptor",373,Pr,Pdn,pcn),EEe;D(186,1,{186:1},l3t),l.b=0,l.c=0,l.e=0,l.f=0,I(SN,"RectRow",186),D(763,1,{},h5t),l.j=0,I(d3,m2e,763),D(1209,1,{},tM),l.af=function(e){return Nb(e.a,e.b)},I(d3,q8t,1209),D(1210,1,{},eGt),l.af=function(e){return Udn(this.a,e)},I(d3,v2e,1210),D(1211,1,{},nGt),l.af=function(e){return hmn(this.a,e)},I(d3,y2e,1211),D(1212,1,{},rGt),l.af=function(e){return Ypn(this.a,e)},I(d3,"ElkGraphImporter/lambda$3$Type",1212),D(1213,1,{},iGt),l.af=function(e){return Q5n(this.a,e)},I(d3,x2e,1213),D(1115,205,mw,XWt),l.rf=function(e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(ad(e,(LO(),EK))&&(U=Gr(ne(e,(fot(),JDt))),h=act(e7(),U),h&&(d=u(_I(h.f),205),d.rf(e,n.eh(1)))),Mi(e,kdt,(BI(),kK)),Mi(e,Edt,(DO(),xdt)),Mi(e,Tdt,(sO(),TK)),m=u(ne(e,(fot(),YDt)),17).a,n.Ug("Overlap removal",1),Ie(Me(ne(e,HEe))),k=new Os,T=new sGt(k),s=new h5t,r=Ype(s,e),A=!0,o=0;o<m&&A;){if(Ie(Me(ne(e,XDt)))){if(k.a.$b(),q4n(new tJt(T),r.i),k.a.gc()==0)break;r.e=k}for(EI(this.b),E1(this.b,(pO(),vK),(tS(),kP)),E1(this.b,yK,r.g),E1(this.b,xK,(_$(),mdt)),this.a=XO(this.b,r),$=new G(this.a);$.a<$.c.c.length;)P=u(et($),47),P.Kf(r,n.eh(1));syn(s,r),A=Ie(Me(X(r,(s7(),nCt)))),++o}cpe(s,r),n.Vg()},I(d3,"OverlapRemovalLayoutProvider",1115),D(1116,1,{},sGt),I(d3,"OverlapRemovalLayoutProvider/lambda$0$Type",1116),D(444,22,{3:1,34:1,22:1,444:1},qrt);var vK,yK,xK,bdt=Lr(d3,"SPOrEPhases",444,Pr,Zfn,wcn),TEe;D(1219,1,{},QWt),I(d3,"ShrinkTree",1219),D(1117,205,mw,ZKt),l.rf=function(e,n){var r,s,o,h,d;ad(e,(LO(),EK))&&(d=Gr(ne(e,EK)),o=act(e7(),d),o&&(h=u(_I(o.f),205),h.rf(e,n.eh(1)))),s=new h5t,r=Ype(s,e),k6n(this.a,r,n.eh(1)),cpe(s,r)},I(d3,"ShrinkTreeLayoutProvider",1117),D(305,137,{3:1,305:1,96:1,137:1},zne),l.c=!1,I("org.eclipse.elk.alg.spore.graph","Graph",305),D(489,22,{3:1,34:1,22:1,489:1,188:1,196:1},KYt),l.dg=function(){return nue(this)},l.qg=function(){return nue(this)};var wdt,IDt=Lr(g3,F8t,489,Pr,Uln,bcn),CEe;D(558,22,{3:1,34:1,22:1,558:1,188:1,196:1},GJt),l.dg=function(){return new OR},l.qg=function(){return new OR};var mdt,SEe=Lr(g3,"OverlapRemovalStrategy",558,Pr,Gln,mcn),_Ee;D(438,22,{3:1,34:1,22:1,438:1},cmt);var kK,vdt,ODt=Lr(g3,"RootSelection",438,Pr,Ghn,vcn),AEe;D(324,22,{3:1,34:1,22:1,324:1},XM);var NDt,ydt,xdt,PDt,FDt,BDt=Lr(g3,"SpanningTreeCostFunction",324,Pr,Fdn,ycn),LEe;D(1014,1,uf,lnt),l.hf=function(e){Rge(e)};var RDt,jDt,DEe,MEe,$Dt,zDt,kdt,Edt,Tdt,IEe,OEe,EK;I(g3,"SporeCompactionOptions",1014),D(1015,1,{},Itt),l.sf=function(){var e;return e=new ZKt,e},l.tf=function(e){},I(g3,"SporeCompactionOptions/SporeCompactionFactory",1015),D(866,1,uf,hnt),l.hf=function(e){Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,Ilt),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(Fp(),ix)),Pe),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Plt),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),KDt),ts),ZDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,iTt),Flt),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),UDt),ts),eMt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,sTt),Flt),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),VDt),ts),BDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Olt),Flt),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),ix),Pe),en(_n)))),Bs(e,Olt,Nlt,jEe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Nlt),Flt),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),HDt),ts),ODt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,aTt),BEt),awe),"This option defines how the compaction is applied."),qDt),ts),IDt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,oTt),BEt),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(Pn(),!1)),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,cTt),uwe),"Upper limit for iterations of overlap removal"),null),he(64)),ac),Ra),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,uTt),uwe),"Whether to run a supplementary scanline overlap check."),null),!0),oa),ys),en(_n)))),z0e((new fnt,e)),Rge((new lnt,e))};var NEe,qDt,PEe,FEe,BEe,REe,jEe,$Ee,HDt,zEe,VDt,qEe,UDt,GDt,KDt,WDt;I(g3,"SporeMetaDataProvider",866),D(1012,1,uf,fnt),l.hf=function(e){z0e(e)};var HEe,YDt,XDt,QDt,VEe,JDt;I(g3,"SporeOverlapRemovalOptions",1012),D(1013,1,{},zl),l.sf=function(){var e;return e=new XWt,e},l.tf=function(e){},I(g3,"SporeOverlapRemovalOptions/SporeOverlapFactory",1013),D(539,22,{3:1,34:1,22:1,539:1,188:1,196:1},Kee),l.dg=function(){return rue(this)},l.qg=function(){return rue(this)};var kP,ZDt=Lr(g3,"StructureExtractionStrategy",539,Pr,Kln,xcn),UEe;D(437,22,{3:1,34:1,22:1,437:1,188:1,196:1},umt),l.dg=function(){return rle(this)},l.qg=function(){return rle(this)};var tMt,TK,eMt=Lr(g3,"TreeConstructionStrategy",437,Pr,Khn,kcn),GEe;D(1463,1,_o,Yu),l.rg=function(e){return u(e,305),new Fs},l.Kf=function(e,n){uyn(u(e,305),n)},I(lwe,"DelaunayTriangulationPhase",1463),D(1464,1,ir,aGt),l.Cd=function(e){ge(this.a,u(e,68).a)},I(lwe,"DelaunayTriangulationPhase/lambda$0$Type",1464),D(794,1,_o,nwt),l.rg=function(e){return u(e,305),new Fs},l.Kf=function(e,n){this.Jg(u(e,305),n)},l.Jg=function(e,n){var r,s,o;n.Ug("Minimum spanning tree construction",1),e.d?s=e.d.a:s=u(Oe(e.i,0),68).a,Ie(Me(X(e,(s7(),EA))))?o=Cct(e.e,s,(r=e.b,r)):o=Cct(e.e,s,e.b),jce(this,o,e),n.Vg()},I(Blt,"MinSTPhase",794),D(1466,794,_o,RKt),l.Jg=function(e,n){var r,s,o,h;n.Ug("Maximum spanning tree construction",1),r=new oGt(e),e.d?o=e.d.c:o=u(Oe(e.i,0),68).c,Ie(Me(X(e,(s7(),EA))))?h=Cct(e.e,o,(s=r,s)):h=Cct(e.e,o,r),jce(this,h,e),n.Vg()},I(Blt,"MaxSTPhase",1466),D(1467,1,{},oGt),l.af=function(e){return ain(this.a,e)},I(Blt,"MaxSTPhase/lambda$0$Type",1467),D(1465,1,ir,cGt),l.Cd=function(e){Jin(this.a,u(e,68))},I(Blt,"MinSTPhase/lambda$0$Type",1465),D(796,1,_o,OR),l.rg=function(e){return u(e,305),new Fs},l.Kf=function(e,n){T3n(this,u(e,305),n)},l.a=!1,I(Rlt,"GrowTreePhase",796),D(797,1,ir,Nvt),l.Cd=function(e){$pn(this.a,this.b,this.c,u(e,225))},I(Rlt,"GrowTreePhase/lambda$0$Type",797),D(1468,1,_o,Ott),l.rg=function(e){return u(e,305),new Fs},l.Kf=function(e,n){Imn(this,u(e,305),n)},I(Rlt,"ShrinkTreeCompactionPhase",1468),D(795,1,ir,Pvt),l.Cd=function(e){vxn(this.a,this.b,this.c,u(e,225))},I(Rlt,"ShrinkTreeCompactionPhase/lambda$0$Type",795);var nMt=os(_c,"IGraphElementVisitor");D(872,1,{536:1},Sre),l.Kg=function(e){var n;n=S8n(this,e),Qo(n,u(tr(this.b,e),96)),x6n(this,e,n)};var KEe,WEe;I(T5,"LayoutConfigurator",872);var v_n=os(T5,"LayoutConfigurator/IPropertyHolderOptionFilter");D(944,1,{2032:1},Ntt),l.Lg=function(e,n){return ck(),!e.pf(n)},I(T5,"LayoutConfigurator/lambda$0$Type",944),D(943,1,{845:1},ly),l.Mg=function(e,n){return ck(),!e.pf(n)},I(T5,"LayoutConfigurator/lambda$1$Type",943),D(945,1,{2032:1},x4),l.Lg=function(e,n){return JWt(e,n)},I(T5,"LayoutConfigurator/lambda$2$Type",945),D(946,1,Kr,jXt),l.Mb=function(e){return Pln(this.a,this.b,u(e,2032))},I(T5,"LayoutConfigurator/lambda$3$Type",946),D(869,1,{},hy),I(T5,"RecursiveGraphLayoutEngine",869),D(224,63,Pg,pKt,fp),I(T5,"UnsupportedConfigurationException",224),D(370,63,Pg,L6),I(T5,"UnsupportedGraphException",370),D(761,1,{}),I(_c,"AbstractRandomListAccessor",761),D(449,761,{},L_),l.Ng=function(){return null},l.d=!0,l.e=!0,l.f=0,I(cT,"AlgorithmAssembler",449),D(1200,1,Kr,ap),l.Mb=function(e){return!!u(e,106)},I(cT,"AlgorithmAssembler/lambda$0$Type",1200),D(1201,1,{},uGt),l.Kb=function(e){return xrn(this.a,u(e,106))},I(cT,"AlgorithmAssembler/lambda$1$Type",1201),D(1202,1,Kr,a6),l.Mb=function(e){return!!u(e,80)},I(cT,"AlgorithmAssembler/lambda$2$Type",1202),D(1203,1,ir,lGt),l.Cd=function(e){ch(this.a,u(e,80))},I(cT,"AlgorithmAssembler/lambda$3$Type",1203),D(1204,1,ir,$Xt),l.Cd=function(e){Gsn(this.a,this.b,u(e,196))},I(cT,"AlgorithmAssembler/lambda$4$Type",1204),D(1343,1,Xr,eM),l.Ne=function(e,n){return whn(u(e,196),u(n,196))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(cT,"EnumBasedFactoryComparator",1343),D(80,761,{80:1},Fs),l.Ng=function(){return new Os},l.a=0,I(cT,"LayoutProcessorConfiguration",80),D(1025,1,{536:1},dnt),l.Kg=function(e){e_(XEe,new hGt(e))};var YEe,XEe,QEe;I(pc,"DeprecatedLayoutOptionReplacer",1025),D(1026,1,ir,NR),l.Cd=function(e){_0n(u(e,167))},I(pc,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1026),D(1027,1,ir,PR),l.Cd=function(e){fwn(u(e,167))},I(pc,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1027),D(1028,1,{},hGt),l.Yd=function(e,n){Usn(this.a,u(e,149),u(n,41))},I(pc,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1028),D(143,1,{701:1,143:1},dw),l.Fb=function(e){return _3t(this,e)},l.Og=function(){return this.b},l.Pg=function(){return this.c},l.xe=function(){return this.e},l.Hb=function(){return _p(this.c)},l.Ib=function(){return"Layout Algorithm: "+this.c};var y_n=I(pc,"LayoutAlgorithmData",143);D(269,1,{},G1),I(pc,"LayoutAlgorithmData/Builder",269),D(1029,1,{536:1},FR),l.Kg=function(e){Lt(e,207)&&!Ie(Me(e.of((ai(),AK))))&&p7n(u(e,27))},I(pc,"LayoutAlgorithmResolver",1029),D(233,1,{701:1,233:1},Z6),l.Fb=function(e){return Lt(e,233)?hn(this.b,u(e,233).b):!1},l.Og=function(){return this.a},l.Pg=function(){return this.b},l.xe=function(){return this.d},l.Hb=function(){return _p(this.b)},l.Ib=function(){return"Layout Type: "+this.b},I(pc,"LayoutCategoryData",233),D(357,1,{},fy),I(pc,"LayoutCategoryData/Builder",357),D(879,1,{},D0e);var Cdt;I(pc,"LayoutMetaDataService",879),D(880,1,{},Mee),I(pc,"LayoutMetaDataService/Registry",880),D(486,1,{486:1},q8),I(pc,"LayoutMetaDataService/Registry/Triple",486),D(881,1,L5,Ptt),l.Qg=function(){return new Sa},I(pc,"LayoutMetaDataService/lambda$0$Type",881),D(882,1,p3,nM),l.Rg=function(e){return Oa(u(e,8))},I(pc,"LayoutMetaDataService/lambda$1$Type",882),D(891,1,L5,o6),l.Qg=function(){return new fe},I(pc,"LayoutMetaDataService/lambda$10$Type",891),D(892,1,p3,db),l.Rg=function(e){return new fl(u(e,13))},I(pc,"LayoutMetaDataService/lambda$11$Type",892),D(893,1,L5,BR),l.Qg=function(){return new Ki},I(pc,"LayoutMetaDataService/lambda$12$Type",893),D(894,1,p3,RR),l.Rg=function(e){return bI(u(e,67))},I(pc,"LayoutMetaDataService/lambda$13$Type",894),D(895,1,L5,jR),l.Qg=function(){return new Os},I(pc,"LayoutMetaDataService/lambda$14$Type",895),D(896,1,p3,Ftt),l.Rg=function(e){return Zz(u(e,49))},I(pc,"LayoutMetaDataService/lambda$15$Type",896),D(897,1,L5,c6),l.Qg=function(){return new zd},I(pc,"LayoutMetaDataService/lambda$16$Type",897),D(898,1,p3,dy),l.Rg=function(e){return gq(u(e,49))},I(pc,"LayoutMetaDataService/lambda$17$Type",898),D(899,1,L5,op),l.Qg=function(){return new q2t},I(pc,"LayoutMetaDataService/lambda$18$Type",899),D(900,1,p3,gb),l.Rg=function(e){return ate(u(e,157))},I(pc,"LayoutMetaDataService/lambda$19$Type",900),D(883,1,L5,k4),l.Qg=function(){return new Qu},I(pc,"LayoutMetaDataService/lambda$2$Type",883),D(884,1,p3,H8),l.Rg=function(e){return new b$(u(e,75))},I(pc,"LayoutMetaDataService/lambda$3$Type",884),D(885,1,L5,hC),l.Qg=function(){return new HC},I(pc,"LayoutMetaDataService/lambda$4$Type",885),D(886,1,p3,rM),l.Rg=function(e){return new Eit(u(e,140))},I(pc,"LayoutMetaDataService/lambda$5$Type",886),D(887,1,L5,Btt),l.Qg=function(){return new C6},I(pc,"LayoutMetaDataService/lambda$6$Type",887),D(888,1,p3,Rtt),l.Rg=function(e){return new jvt(u(e,107))},I(pc,"LayoutMetaDataService/lambda$7$Type",888),D(889,1,L5,$R),l.Qg=function(){return new iM},I(pc,"LayoutMetaDataService/lambda$8$Type",889),D(890,1,p3,zR),l.Rg=function(e){return new Lae(u(e,385))},I(pc,"LayoutMetaDataService/lambda$9$Type",890);var Sdt=os(fN,"IProperty");D(23,1,{34:1,701:1,23:1,149:1},He),l.Fd=function(e){return fsn(this,u(e,149))},l.Fb=function(e){return Lt(e,23)?hn(this.f,u(e,23).f):Lt(e,149)&&hn(this.f,u(e,149).Pg())},l.Sg=function(){var e;if(Lt(this.b,4)){if(e=nxt(this.b),e==null)throw at(new Ro(gwe+this.f+"'. Make sure it's type is registered with the "+(wg(UP),UP.k)+lTt));return e}else return this.b},l.Og=function(){return this.d},l.Pg=function(){return this.f},l.xe=function(){return this.i},l.Hb=function(){return _p(this.f)},l.Ib=function(){return"Layout Option: "+this.f},I(pc,"LayoutOptionData",23),D(24,1,{},je),I(pc,"LayoutOptionData/Builder",24),D(170,22,{3:1,34:1,22:1,170:1},QM);var f0,Wp,Qs,_n,Bw,G0=Lr(pc,"LayoutOptionData/Target",170,Pr,Bdn,Ecn),JEe;D(285,22,{3:1,34:1,22:1,285:1},N6);var oa,Wa,ts,Qk,ac,xd,ix,rMt,ZEe=Lr(pc,"LayoutOptionData/Type",285,Pr,ign,Tcn),t7e,oL,iMt;D(116,1,{116:1},B6,Ah,tq),l.Fb=function(e){var n;return e==null||!Lt(e,116)?!1:(n=u(e,116),Nc(this.c,n.c)&&Nc(this.d,n.d)&&Nc(this.b,n.b)&&Nc(this.a,n.a))},l.Hb=function(){return lO(lt(ut(aa,1),Ln,1,5,[this.c,this.d,this.b,this.a]))},l.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},l.a=0,l.b=0,l.c=0,l.d=0,I(yN,"ElkRectangle",116),D(8,1,{3:1,4:1,8:1,423:1},Sa,mst,ae,io),l.Fb=function(e){return qoe(this,e)},l.Hb=function(){return F6(this.a)+lvn(F6(this.b))},l.cg=function(e){var n,r,s,o;for(s=0;s<e.length&&Sue((qn(s,e.length),e.charCodeAt(s)),d2e);)++s;for(n=e.length;n>0&&Sue((qn(n-1,e.length),e.charCodeAt(n-1)),g2e);)--n;if(s>=n)throw at(new zn("The given string does not contain any numbers."));if(o=s3((Da(s,n,e.length),e.substr(s,n-s)),`,|;|\r|
1547 `),Et=0;Et<St.length;Et++){var Nt=St[Et],Pt=st.measureText(Nt),qt=Math.ceil(Pt.width),re=H;pt=Math.max(qt,pt),_t+=re}return pt+=N,_t+=N,L[C]={width:pt,height:_t}},j2.calculateLabelAngle=function(y,p){var x=y._private,C=x.rscratch,L=y.isEdge(),O=p?p+"-":"",N=y.pstyle(O+"text-rotation"),j=N.strValue;return j==="none"?0:L&&j==="autorotate"?C.labelAutoAngle:j==="autorotate"?0:N.pfValue},j2.calculateLabelAngles=function(y){var p=this,x=y.isEdge(),C=y._private,L=C.rscratch;L.labelAngle=p.calculateLabelAngle(y),x&&(L.sourceLabelAngle=p.calculateLabelAngle(y,"source"),L.targetLabelAngle=p.calculateLabelAngle(y,"target"))};var Tj={},Cj=28,Sj=!1;Tj.getNodeShape=function(y){var p=this,x=y.pstyle("shape").value;if(x==="cutrectangle"&&(y.width()<Cj||y.height()<Cj))return Sj||(Gc("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Sj=!0),"rectangle";if(y.isParent())return x==="rectangle"||x==="roundrectangle"||x==="round-rectangle"||x==="cutrectangle"||x==="cut-rectangle"||x==="barrel"?x:"rectangle";if(x==="polygon"){var C=y.pstyle("shape-polygon-points").value;return p.nodeShapes.makePolygon(C).name}return x};var MC={};MC.registerCalculationListeners=function(){var y=this.cy,p=y.collection(),x=this,C=function(N){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(p.merge(N),j)for(var H=0;H<N.length;H++){var q=N[H],W=q._private,Z=W.rstyle;Z.clean=!1,Z.cleanConnected=!1}};x.binder(y).on("bounds.* dirty.*",function(N){var j=N.target;C(j)}).on("style.* background.*",function(N){var j=N.target;C(j,!1)});var L=function(N){if(N){var j=x.onUpdateEleCalcsFns;p.cleanStyle();for(var H=0;H<p.length;H++){var q=p[H],W=q._private.rstyle;q.isNode()&&!W.cleanConnected&&(C(q.connectedEdges()),W.cleanConnected=!0)}if(j)for(var Z=0;Z<j.length;Z++){var st=j[Z];st(N,p)}x.recalculateRenderedStyle(p),p=y.collection()}};x.flushRenderedStyleQueue=function(){L(!0)},x.beforeRender(L,x.beforeRenderPriorities.eleCalcs)},MC.onUpdateEleCalcs=function(y){var p=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];p.push(y)},MC.recalculateRenderedStyle=function(y,p){var x=function(qt){return qt._private.rstyle.cleanConnected},C=[],L=[];if(!this.destroyed){p===void 0&&(p=!0);for(var O=0;O<y.length;O++){var N=y[O],j=N._private,H=j.rstyle;N.isEdge()&&(!x(N.source())||!x(N.target()))&&(H.clean=!1),!(p&&H.clean||N.removed())&&N.pstyle("display").value!=="none"&&(j.group==="nodes"?L.push(N):C.push(N),H.clean=!0)}for(var q=0;q<L.length;q++){var W=L[q],Z=W._private,st=Z.rstyle,bt=W.position();this.recalculateNodeLabelProjection(W),st.nodeX=bt.x,st.nodeY=bt.y,st.nodeW=W.pstyle("width").pfValue,st.nodeH=W.pstyle("height").pfValue}this.recalculateEdgeProjections(C);for(var pt=0;pt<C.length;pt++){var _t=C[pt],St=_t._private,Et=St.rstyle,Nt=St.rscratch;Et.srcX=Nt.arrowStartX,Et.srcY=Nt.arrowStartY,Et.tgtX=Nt.arrowEndX,Et.tgtY=Nt.arrowEndY,Et.midX=Nt.midX,Et.midY=Nt.midY,Et.labelAngle=Nt.labelAngle,Et.sourceLabelAngle=Nt.sourceLabelAngle,Et.targetLabelAngle=Nt.targetLabelAngle}}};var IC={};IC.updateCachedGrabbedEles=function(){var y=this.cachedZSortedEles;if(y){y.drag=[],y.nondrag=[];for(var p=[],x=0;x<y.length;x++){var C=y[x],L=C._private.rscratch;C.grabbed()&&!C.isParent()?p.push(C):L.inDragLayer?y.drag.push(C):y.nondrag.push(C)}for(var x=0;x<p.length;x++){var C=p[x];y.drag.push(C)}}},IC.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},IC.getCachedZSortedEles=function(y){if(y||!this.cachedZSortedEles){var p=this.cy.mutableElements().toArray();p.sort(cM),p.interactive=p.filter(function(x){return x.interactive()}),this.cachedZSortedEles=p,this.updateCachedGrabbedEles()}else p=this.cachedZSortedEles;return p};var _j={};[C4,LC,Q1,eE,mM,j2,Tj,MC,IC].forEach(function(y){we(_j,y)});var Aj={};Aj.getCachedImage=function(y,p,x){var C=this,L=C.imageCache=C.imageCache||{},O=L[y];if(O)return O.image.complete||O.image.addEventListener("load",x),O.image;O=L[y]=L[y]||{};var N=O.image=new Image;N.addEventListener("load",x),N.addEventListener("error",function(){N.error=!0});var j="data:",H=y.substring(0,j.length).toLowerCase()===j;return H||(p=p==="null"?null:p,N.crossOrigin=p),N.src=y,N};var d6={};d6.registerBinding=function(y,p,x,C){var L=Array.prototype.slice.apply(arguments,[1]),O=this.binder(y);return O.on.apply(O,L)},d6.binder=function(y){var p=this,x=p.cy.window(),C=y===x||y===x.document||y===x.document.body||Ct(y);if(p.supportsPassiveEvents==null){var L=!1;try{var O=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});x.addEventListener("test",null,O)}catch{}p.supportsPassiveEvents=L}var N=function(H,q,W){var Z=Array.prototype.slice.call(arguments);return C&&p.supportsPassiveEvents&&(Z[2]={capture:W??!1,passive:!1,once:!1}),p.bindings.push({target:y,args:Z}),(y.addEventListener||y.on).apply(y,Z),this};return{on:N,addEventListener:N,addListener:N,bind:N}},d6.nodeIsDraggable=function(y){return y&&y.isNode()&&!y.locked()&&y.grabbable()},d6.nodeIsGrabbable=function(y){return this.nodeIsDraggable(y)&&y.interactive()},d6.load=function(){var y=this,p=y.cy.window(),x=function(G){return G.selected()},C=function(G,Vn,gr,nr){G==null&&(G=y.cy);for(var Be=0;Be<Vn.length;Be++){var Ls=Vn[Be];G.emit({originalEvent:gr,type:Ls,position:nr})}},L=function(G){return G.shiftKey||G.metaKey||G.ctrlKey},O=function(G,Vn){var gr=!0;if(y.cy.hasCompoundNodes()&&G&&G.pannable())for(var nr=0;Vn&&nr<Vn.length;nr++){var G=Vn[nr];if(G.isNode()&&G.isParent()&&!G.pannable()){gr=!1;break}}else gr=!0;return gr},N=function(G){G[0]._private.grabbed=!0},j=function(G){G[0]._private.grabbed=!1},H=function(G){G[0]._private.rscratch.inDragLayer=!0},q=function(G){G[0]._private.rscratch.inDragLayer=!1},W=function(G){G[0]._private.rscratch.isGrabTarget=!0},Z=function(G){G[0]._private.rscratch.isGrabTarget=!1},st=function(G,Vn){var gr=Vn.addToList,nr=gr.has(G);!nr&&G.grabbable()&&!G.locked()&&(gr.merge(G),N(G))},bt=function(G,Vn){if(G.cy().hasCompoundNodes()&&!(Vn.inDragLayer==null&&Vn.addToList==null)){var gr=G.descendants();Vn.inDragLayer&&(gr.forEach(H),gr.connectedEdges().forEach(H)),Vn.addToList&&st(gr,Vn)}},pt=function(G,Vn){Vn=Vn||{};var gr=G.cy().hasCompoundNodes();Vn.inDragLayer&&(G.forEach(H),G.neighborhood().stdFilter(function(nr){return!gr||nr.isEdge()}).forEach(H)),Vn.addToList&&G.forEach(function(nr){st(nr,Vn)}),bt(G,Vn),Et(G,{inDragLayer:Vn.inDragLayer}),y.updateCachedGrabbedEles()},_t=pt,St=function(G){G&&(y.getCachedZSortedEles().forEach(function(Vn){j(Vn),q(Vn),Z(Vn)}),y.updateCachedGrabbedEles())},Et=function(G,Vn){if(!(Vn.inDragLayer==null&&Vn.addToList==null)&&G.cy().hasCompoundNodes()){var gr=G.ancestors().orphans();if(!gr.same(G)){var nr=gr.descendants().spawnSelf().merge(gr).unmerge(G).unmerge(G.descendants()),Be=nr.connectedEdges();Vn.inDragLayer&&(Be.forEach(H),nr.forEach(H)),Vn.addToList&&nr.forEach(function(Ls){st(Ls,Vn)})}}},Nt=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},Pt=typeof MutationObserver<"u",qt=typeof ResizeObserver<"u";Pt?(y.removeObserver=new MutationObserver(function(Kn){for(var G=0;G<Kn.length;G++){var Vn=Kn[G],gr=Vn.removedNodes;if(gr)for(var nr=0;nr<gr.length;nr++){var Be=gr[nr];if(Be===y.container){y.destroy();break}}}}),y.container.parentNode&&y.removeObserver.observe(y.container.parentNode,{childList:!0})):y.registerBinding(y.container,"DOMNodeRemoved",function(Kn){y.destroy()});var re=pu(function(){y.cy.resize()},100);Pt&&(y.styleObserver=new MutationObserver(re),y.styleObserver.observe(y.container,{attributes:!0})),y.registerBinding(p,"resize",re),qt&&(y.resizeObserver=new ResizeObserver(re),y.resizeObserver.observe(y.container));var ee=function(G,Vn){for(;G!=null;)Vn(G),G=G.parentNode},Ut=function(){y.invalidateContainerClientCoordsCache()};ee(y.container,function(Kn){y.registerBinding(Kn,"transitionend",Ut),y.registerBinding(Kn,"animationend",Ut),y.registerBinding(Kn,"scroll",Ut)}),y.registerBinding(y.container,"contextmenu",function(Kn){Kn.preventDefault()});var de=function(){return y.selection[4]!==0},Yt=function(G){for(var Vn=y.findContainerClientCoords(),gr=Vn[0],nr=Vn[1],Be=Vn[2],Ls=Vn[3],hr=G.touches?G.touches:[G],us=!1,Ya=0;Ya<hr.length;Ya++){var kc=hr[Ya];if(gr<=kc.clientX&&kc.clientX<=gr+Be&&nr<=kc.clientY&&kc.clientY<=nr+Ls){us=!0;break}}if(!us)return!1;for(var Ca=y.container,oc=G.target,ra=oc.parentNode,no=!1;ra;){if(ra===Ca){no=!0;break}ra=ra.parentNode}return!!no};y.registerBinding(y.container,"mousedown",function(G){if(Yt(G)){G.preventDefault(),Nt(),y.hoverData.capture=!0,y.hoverData.which=G.which;var Vn=y.cy,gr=[G.clientX,G.clientY],nr=y.projectIntoViewport(gr[0],gr[1]),Be=y.selection,Ls=y.findNearestElements(nr[0],nr[1],!0,!1),hr=Ls[0],us=y.dragData.possibleDragElements;y.hoverData.mdownPos=nr,y.hoverData.mdownGPos=gr;var Ya=function(){y.hoverData.tapholdCancelled=!1,clearTimeout(y.hoverData.tapholdTimeout),y.hoverData.tapholdTimeout=setTimeout(function(){if(!y.hoverData.tapholdCancelled){var ql=y.hoverData.down;ql?ql.emit({originalEvent:G,type:"taphold",position:{x:nr[0],y:nr[1]}}):Vn.emit({originalEvent:G,type:"taphold",position:{x:nr[0],y:nr[1]}})}},y.tapholdDuration)};if(G.which==3){y.hoverData.cxtStarted=!0;var kc={originalEvent:G,type:"cxttapstart",position:{x:nr[0],y:nr[1]}};hr?(hr.activate(),hr.emit(kc),y.hoverData.down=hr):Vn.emit(kc),y.hoverData.downTime=new Date().getTime(),y.hoverData.cxtDragged=!1}else if(G.which==1){hr&&hr.activate();{if(hr!=null&&y.nodeIsGrabbable(hr)){var Ca=function(ql){return{originalEvent:G,type:ql,position:{x:nr[0],y:nr[1]}}},oc=function(ql){ql.emit(Ca("grab"))};if(W(hr),!hr.selected())us=y.dragData.possibleDragElements=Vn.collection(),_t(hr,{addToList:us}),hr.emit(Ca("grabon")).emit(Ca("grab"));else{us=y.dragData.possibleDragElements=Vn.collection();var ra=Vn.$(function(no){return no.isNode()&&no.selected()&&y.nodeIsGrabbable(no)});pt(ra,{addToList:us}),hr.emit(Ca("grabon")),ra.forEach(oc)}y.redrawHint("eles",!0),y.redrawHint("drag",!0)}y.hoverData.down=hr,y.hoverData.downs=Ls,y.hoverData.downTime=new Date().getTime()}C(hr,["mousedown","tapstart","vmousedown"],G,{x:nr[0],y:nr[1]}),hr==null?(Be[4]=1,y.data.bgActivePosistion={x:nr[0],y:nr[1]},y.redrawHint("select",!0),y.redraw()):hr.pannable()&&(Be[4]=1),Ya()}Be[0]=Be[2]=nr[0],Be[1]=Be[3]=nr[1]}},!1),y.registerBinding(p,"mousemove",function(G){var Vn=y.hoverData.capture;if(!(!Vn&&!Yt(G))){var gr=!1,nr=y.cy,Be=nr.zoom(),Ls=[G.clientX,G.clientY],hr=y.projectIntoViewport(Ls[0],Ls[1]),us=y.hoverData.mdownPos,Ya=y.hoverData.mdownGPos,kc=y.selection,Ca=null;!y.hoverData.draggingEles&&!y.hoverData.dragging&&!y.hoverData.selecting&&(Ca=y.findNearestElement(hr[0],hr[1],!0,!1));var oc=y.hoverData.last,ra=y.hoverData.down,no=[hr[0]-kc[2],hr[1]-kc[3]],ql=y.dragData.possibleDragElements,Sl;if(Ya){var mb=Ls[0]-Ya[0],vb=mb*mb,v1=Ls[1]-Ya[1],up=v1*v1,Bd=vb+up;y.hoverData.isOverThresholdDrag=Sl=Bd>=y.desktopTapThreshold2}var cm=L(G);Sl&&(y.hoverData.tapholdCancelled=!0);var py=function(){var $2=y.hoverData.dragDelta=y.hoverData.dragDelta||[];$2.length===0?($2.push(no[0]),$2.push(no[1])):($2[0]+=no[0],$2[1]+=no[1])};gr=!0,C(Ca,["mousemove","vmousemove","tapdrag"],G,{x:hr[0],y:hr[1]});var y6=function(){y.data.bgActivePosistion=void 0,y.hoverData.selecting||nr.emit({originalEvent:G,type:"boxstart",position:{x:hr[0],y:hr[1]}}),kc[4]=1,y.hoverData.selecting=!0,y.redrawHint("select",!0),y.redraw()};if(y.hoverData.which===3){if(Sl){var _4={originalEvent:G,type:"cxtdrag",position:{x:hr[0],y:hr[1]}};ra?ra.emit(_4):nr.emit(_4),y.hoverData.cxtDragged=!0,(!y.hoverData.cxtOver||Ca!==y.hoverData.cxtOver)&&(y.hoverData.cxtOver&&y.hoverData.cxtOver.emit({originalEvent:G,type:"cxtdragout",position:{x:hr[0],y:hr[1]}}),y.hoverData.cxtOver=Ca,Ca&&Ca.emit({originalEvent:G,type:"cxtdragover",position:{x:hr[0],y:hr[1]}}))}}else if(y.hoverData.dragging){if(gr=!0,nr.panningEnabled()&&nr.userPanningEnabled()){var x6;if(y.hoverData.justStartedPan){var BC=y.hoverData.mdownPos;x6={x:(hr[0]-BC[0])*Be,y:(hr[1]-BC[1])*Be},y.hoverData.justStartedPan=!1}else x6={x:no[0]*Be,y:no[1]*Be};nr.panBy(x6),nr.emit("dragpan"),y.hoverData.dragged=!0}hr=y.projectIntoViewport(G.clientX,G.clientY)}else if(kc[4]==1&&(ra==null||ra.pannable())){if(Sl){if(!y.hoverData.dragging&&nr.boxSelectionEnabled()&&(cm||!nr.panningEnabled()||!nr.userPanningEnabled()))y6();else if(!y.hoverData.selecting&&nr.panningEnabled()&&nr.userPanningEnabled()){var A4=O(ra,y.hoverData.downs);A4&&(y.hoverData.dragging=!0,y.hoverData.justStartedPan=!0,kc[4]=0,y.data.bgActivePosistion=Yx(us),y.redrawHint("select",!0),y.redraw())}ra&&ra.pannable()&&ra.active()&&ra.unactivate()}}else{if(ra&&ra.pannable()&&ra.active()&&ra.unactivate(),(!ra||!ra.grabbed())&&Ca!=oc&&(oc&&C(oc,["mouseout","tapdragout"],G,{x:hr[0],y:hr[1]}),Ca&&C(Ca,["mouseover","tapdragover"],G,{x:hr[0],y:hr[1]}),y.hoverData.last=Ca),ra)if(Sl){if(nr.boxSelectionEnabled()&&cm)ra&&ra.grabbed()&&(St(ql),ra.emit("freeon"),ql.emit("free"),y.dragData.didDrag&&(ra.emit("dragfreeon"),ql.emit("dragfree"))),y6();else if(ra&&ra.grabbed()&&y.nodeIsDraggable(ra)){var k0=!y.dragData.didDrag;k0&&y.redrawHint("eles",!0),y.dragData.didDrag=!0,y.hoverData.draggingEles||pt(ql,{inDragLayer:!0});var J1={x:0,y:0};if(Q(no[0])&&Q(no[1])&&(J1.x+=no[0],J1.y+=no[1],k0)){var E0=y.hoverData.dragDelta;E0&&Q(E0[0])&&Q(E0[1])&&(J1.x+=E0[0],J1.y+=E0[1])}y.hoverData.draggingEles=!0,ql.silentShift(J1).emit("position drag"),y.redrawHint("drag",!0),y.redraw()}}else py();gr=!0}if(kc[2]=hr[0],kc[3]=hr[1],gr)return G.stopPropagation&&G.stopPropagation(),G.preventDefault&&G.preventDefault(),!1}},!1);var Ee,Te,ie;y.registerBinding(p,"mouseup",function(G){var Vn=y.hoverData.capture;if(Vn){y.hoverData.capture=!1;var gr=y.cy,nr=y.projectIntoViewport(G.clientX,G.clientY),Be=y.selection,Ls=y.findNearestElement(nr[0],nr[1],!0,!1),hr=y.dragData.possibleDragElements,us=y.hoverData.down,Ya=L(G);if(y.data.bgActivePosistion&&(y.redrawHint("select",!0),y.redraw()),y.hoverData.tapholdCancelled=!0,y.data.bgActivePosistion=void 0,us&&us.unactivate(),y.hoverData.which===3){var kc={originalEvent:G,type:"cxttapend",position:{x:nr[0],y:nr[1]}};if(us?us.emit(kc):gr.emit(kc),!y.hoverData.cxtDragged){var Ca={originalEvent:G,type:"cxttap",position:{x:nr[0],y:nr[1]}};us?us.emit(Ca):gr.emit(Ca)}y.hoverData.cxtDragged=!1,y.hoverData.which=null}else if(y.hoverData.which===1){if(C(Ls,["mouseup","tapend","vmouseup"],G,{x:nr[0],y:nr[1]}),!y.dragData.didDrag&&!y.hoverData.dragged&&!y.hoverData.selecting&&!y.hoverData.isOverThresholdDrag&&(C(us,["click","tap","vclick"],G,{x:nr[0],y:nr[1]}),Te=!1,G.timeStamp-ie<=gr.multiClickDebounceTime()?(Ee&&clearTimeout(Ee),Te=!0,ie=null,C(us,["dblclick","dbltap","vdblclick"],G,{x:nr[0],y:nr[1]})):(Ee=setTimeout(function(){Te||C(us,["oneclick","onetap","voneclick"],G,{x:nr[0],y:nr[1]})},gr.multiClickDebounceTime()),ie=G.timeStamp)),us==null&&!y.dragData.didDrag&&!y.hoverData.selecting&&!y.hoverData.dragged&&!L(G)&&(gr.$(x).unselect(["tapunselect"]),hr.length>0&&y.redrawHint("eles",!0),y.dragData.possibleDragElements=hr=gr.collection()),Ls==us&&!y.dragData.didDrag&&!y.hoverData.selecting&&Ls!=null&&Ls._private.selectable&&(y.hoverData.dragging||(gr.selectionType()==="additive"||Ya?Ls.selected()?Ls.unselect(["tapunselect"]):Ls.select(["tapselect"]):Ya||(gr.$(x).unmerge(Ls).unselect(["tapunselect"]),Ls.select(["tapselect"]))),y.redrawHint("eles",!0)),y.hoverData.selecting){var oc=gr.collection(y.getAllInBox(Be[0],Be[1],Be[2],Be[3]));y.redrawHint("select",!0),oc.length>0&&y.redrawHint("eles",!0),gr.emit({type:"boxend",originalEvent:G,position:{x:nr[0],y:nr[1]}});var ra=function(Sl){return Sl.selectable()&&!Sl.selected()};gr.selectionType()==="additive"||Ya||gr.$(x).unmerge(oc).unselect(),oc.emit("box").stdFilter(ra).select().emit("boxselect"),y.redraw()}if(y.hoverData.dragging&&(y.hoverData.dragging=!1,y.redrawHint("select",!0),y.redrawHint("eles",!0),y.redraw()),!Be[4]){y.redrawHint("drag",!0),y.redrawHint("eles",!0);var no=us&&us.grabbed();St(hr),no&&(us.emit("freeon"),hr.emit("free"),y.dragData.didDrag&&(us.emit("dragfreeon"),hr.emit("dragfree")))}}Be[4]=0,y.hoverData.down=null,y.hoverData.cxtStarted=!1,y.hoverData.draggingEles=!1,y.hoverData.selecting=!1,y.hoverData.isOverThresholdDrag=!1,y.dragData.didDrag=!1,y.hoverData.dragged=!1,y.hoverData.dragDelta=[],y.hoverData.mdownPos=null,y.hoverData.mdownGPos=null}},!1);var ze=function(G){if(!y.scrollingPage){var Vn=y.cy,gr=Vn.zoom(),nr=Vn.pan(),Be=y.projectIntoViewport(G.clientX,G.clientY),Ls=[Be[0]*gr+nr.x,Be[1]*gr+nr.y];if(y.hoverData.draggingEles||y.hoverData.dragging||y.hoverData.cxtStarted||de()){G.preventDefault();return}if(Vn.panningEnabled()&&Vn.userPanningEnabled()&&Vn.zoomingEnabled()&&Vn.userZoomingEnabled()){G.preventDefault(),y.data.wheelZooming=!0,clearTimeout(y.data.wheelTimeout),y.data.wheelTimeout=setTimeout(function(){y.data.wheelZooming=!1,y.redrawHint("eles",!0),y.redraw()},150);var hr;G.deltaY!=null?hr=G.deltaY/-250:G.wheelDeltaY!=null?hr=G.wheelDeltaY/1e3:hr=G.wheelDelta/1e3,hr=hr*y.wheelSensitivity;var us=G.deltaMode===1;us&&(hr*=33);var Ya=Vn.zoom()*Math.pow(10,hr);G.type==="gesturechange"&&(Ya=y.gestureStartZoom*G.scale),Vn.zoom({level:Ya,renderedPosition:{x:Ls[0],y:Ls[1]}}),Vn.emit(G.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};y.registerBinding(y.container,"wheel",ze,!0),y.registerBinding(p,"scroll",function(G){y.scrollingPage=!0,clearTimeout(y.scrollingPageTimeout),y.scrollingPageTimeout=setTimeout(function(){y.scrollingPage=!1},250)},!0),y.registerBinding(y.container,"gesturestart",function(G){y.gestureStartZoom=y.cy.zoom(),y.hasTouchStarted||G.preventDefault()},!0),y.registerBinding(y.container,"gesturechange",function(Kn){y.hasTouchStarted||ze(Kn)},!0),y.registerBinding(y.container,"mouseout",function(G){var Vn=y.projectIntoViewport(G.clientX,G.clientY);y.cy.emit({originalEvent:G,type:"mouseout",position:{x:Vn[0],y:Vn[1]}})},!1),y.registerBinding(y.container,"mouseover",function(G){var Vn=y.projectIntoViewport(G.clientX,G.clientY);y.cy.emit({originalEvent:G,type:"mouseover",position:{x:Vn[0],y:Vn[1]}})},!1);var me,yn,nn,qe,Tn,Xn,lr,Sn,or,pr,kr,wr,Cr,$n=function(G,Vn,gr,nr){return Math.sqrt((gr-G)*(gr-G)+(nr-Vn)*(nr-Vn))},cr=function(G,Vn,gr,nr){return(gr-G)*(gr-G)+(nr-Vn)*(nr-Vn)},mr;y.registerBinding(y.container,"touchstart",mr=function(G){if(y.hasTouchStarted=!0,!!Yt(G)){Nt(),y.touchData.capture=!0,y.data.bgActivePosistion=void 0;var Vn=y.cy,gr=y.touchData.now,nr=y.touchData.earlier;if(G.touches[0]){var Be=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);gr[0]=Be[0],gr[1]=Be[1]}if(G.touches[1]){var Be=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);gr[2]=Be[0],gr[3]=Be[1]}if(G.touches[2]){var Be=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);gr[4]=Be[0],gr[5]=Be[1]}if(G.touches[1]){y.touchData.singleTouchMoved=!0,St(y.dragData.touchDragEles);var Ls=y.findContainerClientCoords();or=Ls[0],pr=Ls[1],kr=Ls[2],wr=Ls[3],me=G.touches[0].clientX-or,yn=G.touches[0].clientY-pr,nn=G.touches[1].clientX-or,qe=G.touches[1].clientY-pr,Cr=0<=me&&me<=kr&&0<=nn&&nn<=kr&&0<=yn&&yn<=wr&&0<=qe&&qe<=wr;var hr=Vn.pan(),us=Vn.zoom();Tn=$n(me,yn,nn,qe),Xn=cr(me,yn,nn,qe),lr=[(me+nn)/2,(yn+qe)/2],Sn=[(lr[0]-hr.x)/us,(lr[1]-hr.y)/us];var Ya=200,kc=Ya*Ya;if(Xn<kc&&!G.touches[2]){var Ca=y.findNearestElement(gr[0],gr[1],!0,!0),oc=y.findNearestElement(gr[2],gr[3],!0,!0);Ca&&Ca.isNode()?(Ca.activate().emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start=Ca):oc&&oc.isNode()?(oc.activate().emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start=oc):Vn.emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!0,y.touchData.cxtDragged=!1,y.data.bgActivePosistion=void 0,y.redraw();return}}if(G.touches[2])Vn.boxSelectionEnabled()&&G.preventDefault();else if(!G.touches[1]){if(G.touches[0]){var ra=y.findNearestElements(gr[0],gr[1],!0,!0),no=ra[0];if(no!=null&&(no.activate(),y.touchData.start=no,y.touchData.starts=ra,y.nodeIsGrabbable(no))){var ql=y.dragData.touchDragEles=Vn.collection(),Sl=null;y.redrawHint("eles",!0),y.redrawHint("drag",!0),no.selected()?(Sl=Vn.$(function(Bd){return Bd.selected()&&y.nodeIsGrabbable(Bd)}),pt(Sl,{addToList:ql})):_t(no,{addToList:ql}),W(no);var mb=function(cm){return{originalEvent:G,type:cm,position:{x:gr[0],y:gr[1]}}};no.emit(mb("grabon")),Sl?Sl.forEach(function(Bd){Bd.emit(mb("grab"))}):no.emit(mb("grab"))}C(no,["touchstart","tapstart","vmousedown"],G,{x:gr[0],y:gr[1]}),no==null&&(y.data.bgActivePosistion={x:Be[0],y:Be[1]},y.redrawHint("select",!0),y.redraw()),y.touchData.singleTouchMoved=!1,y.touchData.singleTouchStartTime=+new Date,clearTimeout(y.touchData.tapholdTimeout),y.touchData.tapholdTimeout=setTimeout(function(){y.touchData.singleTouchMoved===!1&&!y.pinching&&!y.touchData.selecting&&C(y.touchData.start,["taphold"],G,{x:gr[0],y:gr[1]})},y.tapholdDuration)}}if(G.touches.length>=1){for(var vb=y.touchData.startPosition=[null,null,null,null,null,null],v1=0;v1<gr.length;v1++)vb[v1]=nr[v1]=gr[v1];var up=G.touches[0];y.touchData.startGPosition=[up.clientX,up.clientY]}}},!1);var Sr;y.registerBinding(window,"touchmove",Sr=function(G){var Vn=y.touchData.capture;if(!(!Vn&&!Yt(G))){var gr=y.selection,nr=y.cy,Be=y.touchData.now,Ls=y.touchData.earlier,hr=nr.zoom();if(G.touches[0]){var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}if(G.touches[1]){var us=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);Be[2]=us[0],Be[3]=us[1]}if(G.touches[2]){var us=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);Be[4]=us[0],Be[5]=us[1]}var Ya=y.touchData.startGPosition,kc;if(Vn&&G.touches[0]&&Ya){for(var Ca=[],oc=0;oc<Be.length;oc++)Ca[oc]=Be[oc]-Ls[oc];var ra=G.touches[0].clientX-Ya[0],no=ra*ra,ql=G.touches[0].clientY-Ya[1],Sl=ql*ql,mb=no+Sl;kc=mb>=y.touchTapThreshold2}if(Vn&&y.touchData.cxt){G.preventDefault();var vb=G.touches[0].clientX-or,v1=G.touches[0].clientY-pr,up=G.touches[1].clientX-or,Bd=G.touches[1].clientY-pr,cm=cr(vb,v1,up,Bd),py=cm/Xn,y6=150,_4=y6*y6,x6=1.5,BC=x6*x6;if(py>=BC||cm>=_4){y.touchData.cxt=!1,y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var A4={originalEvent:G,type:"cxttapend",position:{x:Be[0],y:Be[1]}};y.touchData.start?(y.touchData.start.unactivate().emit(A4),y.touchData.start=null):nr.emit(A4)}}if(Vn&&y.touchData.cxt){var A4={originalEvent:G,type:"cxtdrag",position:{x:Be[0],y:Be[1]}};y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.touchData.start?y.touchData.start.emit(A4):nr.emit(A4),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxtDragged=!0;var k0=y.findNearestElement(Be[0],Be[1],!0,!0);(!y.touchData.cxtOver||k0!==y.touchData.cxtOver)&&(y.touchData.cxtOver&&y.touchData.cxtOver.emit({originalEvent:G,type:"cxtdragout",position:{x:Be[0],y:Be[1]}}),y.touchData.cxtOver=k0,k0&&k0.emit({originalEvent:G,type:"cxtdragover",position:{x:Be[0],y:Be[1]}}))}else if(Vn&&G.touches[2]&&nr.boxSelectionEnabled())G.preventDefault(),y.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,y.touchData.selecting||nr.emit({originalEvent:G,type:"boxstart",position:{x:Be[0],y:Be[1]}}),y.touchData.selecting=!0,y.touchData.didSelect=!0,gr[4]=1,!gr||gr.length===0||gr[0]===void 0?(gr[0]=(Be[0]+Be[2]+Be[4])/3,gr[1]=(Be[1]+Be[3]+Be[5])/3,gr[2]=(Be[0]+Be[2]+Be[4])/3+1,gr[3]=(Be[1]+Be[3]+Be[5])/3+1):(gr[2]=(Be[0]+Be[2]+Be[4])/3,gr[3]=(Be[1]+Be[3]+Be[5])/3),y.redrawHint("select",!0),y.redraw();else if(Vn&&G.touches[1]&&!y.touchData.didSelect&&nr.zoomingEnabled()&&nr.panningEnabled()&&nr.userZoomingEnabled()&&nr.userPanningEnabled()){G.preventDefault(),y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var J1=y.dragData.touchDragEles;if(J1){y.redrawHint("drag",!0);for(var E0=0;E0<J1.length;E0++){var by=J1[E0]._private;by.grabbed=!1,by.rscratch.inDragLayer=!1}}var $2=y.touchData.start,vb=G.touches[0].clientX-or,v1=G.touches[0].clientY-pr,up=G.touches[1].clientX-or,Bd=G.touches[1].clientY-pr,Zj=$n(vb,v1,up,Bd),Mnt=Zj/Tn;if(Cr){var Int=vb-me,RC=v1-yn,Ont=up-nn,Nnt=Bd-qe,L4=(Int+Ont)/2,t$=(RC+Nnt)/2,lE=nr.zoom(),SM=lE*Mnt,jC=nr.pan(),e$=Sn[0]*lE+jC.x,n$=Sn[1]*lE+jC.y,Pnt={x:-SM/lE*(e$-jC.x-L4)+e$,y:-SM/lE*(n$-jC.y-t$)+n$};if($2&&$2.active()){var J1=y.dragData.touchDragEles;St(J1),y.redrawHint("drag",!0),y.redrawHint("eles",!0),$2.unactivate().emit("freeon"),J1.emit("free"),y.dragData.didDrag&&($2.emit("dragfreeon"),J1.emit("dragfree"))}nr.viewport({zoom:SM,pan:Pnt,cancelOnFailedZoom:!0}),nr.emit("pinchzoom"),Tn=Zj,me=vb,yn=v1,nn=up,qe=Bd,y.pinching=!0}if(G.touches[0]){var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}if(G.touches[1]){var us=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);Be[2]=us[0],Be[3]=us[1]}if(G.touches[2]){var us=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);Be[4]=us[0],Be[5]=us[1]}}else if(G.touches[0]&&!y.touchData.didSelect){var lp=y.touchData.start,$C=y.touchData.last,k0;if(!y.hoverData.draggingEles&&!y.swipePanning&&(k0=y.findNearestElement(Be[0],Be[1],!0,!0)),Vn&&lp!=null&&G.preventDefault(),Vn&&lp!=null&&y.nodeIsDraggable(lp))if(kc){var J1=y.dragData.touchDragEles,_M=!y.dragData.didDrag;_M&&pt(J1,{inDragLayer:!0}),y.dragData.didDrag=!0;var z2={x:0,y:0};if(Q(Ca[0])&&Q(Ca[1])&&(z2.x+=Ca[0],z2.y+=Ca[1],_M)){y.redrawHint("eles",!0);var T0=y.touchData.dragDelta;T0&&Q(T0[0])&&Q(T0[1])&&(z2.x+=T0[0],z2.y+=T0[1])}y.hoverData.draggingEles=!0,J1.silentShift(z2).emit("position drag"),y.redrawHint("drag",!0),y.touchData.startPosition[0]==Ls[0]&&y.touchData.startPosition[1]==Ls[1]&&y.redrawHint("eles",!0),y.redraw()}else{var T0=y.touchData.dragDelta=y.touchData.dragDelta||[];T0.length===0?(T0.push(Ca[0]),T0.push(Ca[1])):(T0[0]+=Ca[0],T0[1]+=Ca[1])}if(C(lp||k0,["touchmove","tapdrag","vmousemove"],G,{x:Be[0],y:Be[1]}),(!lp||!lp.grabbed())&&k0!=$C&&($C&&$C.emit({originalEvent:G,type:"tapdragout",position:{x:Be[0],y:Be[1]}}),k0&&k0.emit({originalEvent:G,type:"tapdragover",position:{x:Be[0],y:Be[1]}})),y.touchData.last=k0,Vn)for(var E0=0;E0<Be.length;E0++)Be[E0]&&y.touchData.startPosition[E0]&&kc&&(y.touchData.singleTouchMoved=!0);if(Vn&&(lp==null||lp.pannable())&&nr.panningEnabled()&&nr.userPanningEnabled()){var D4=O(lp,y.touchData.starts);D4&&(G.preventDefault(),y.data.bgActivePosistion||(y.data.bgActivePosistion=Yx(y.touchData.startPosition)),y.swipePanning?(nr.panBy({x:Ca[0]*hr,y:Ca[1]*hr}),nr.emit("dragpan")):kc&&(y.swipePanning=!0,nr.panBy({x:ra*hr,y:ql*hr}),nr.emit("dragpan"),lp&&(lp.unactivate(),y.redrawHint("select",!0),y.touchData.start=null)));var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}}for(var oc=0;oc<Be.length;oc++)Ls[oc]=Be[oc];Vn&&G.touches.length>0&&!y.hoverData.draggingEles&&!y.swipePanning&&y.data.bgActivePosistion!=null&&(y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.redraw())}},!1);var gi;y.registerBinding(p,"touchcancel",gi=function(G){var Vn=y.touchData.start;y.touchData.capture=!1,Vn&&Vn.unactivate()});var ss,na,vi,si;if(y.registerBinding(p,"touchend",ss=function(G){var Vn=y.touchData.start,gr=y.touchData.capture;if(gr)G.touches.length===0&&(y.touchData.capture=!1),G.preventDefault();else return;var nr=y.selection;y.swipePanning=!1,y.hoverData.draggingEles=!1;var Be=y.cy,Ls=Be.zoom(),hr=y.touchData.now,us=y.touchData.earlier;if(G.touches[0]){var Ya=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);hr[0]=Ya[0],hr[1]=Ya[1]}if(G.touches[1]){var Ya=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);hr[2]=Ya[0],hr[3]=Ya[1]}if(G.touches[2]){var Ya=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);hr[4]=Ya[0],hr[5]=Ya[1]}Vn&&Vn.unactivate();var kc;if(y.touchData.cxt){if(kc={originalEvent:G,type:"cxttapend",position:{x:hr[0],y:hr[1]}},Vn?Vn.emit(kc):Be.emit(kc),!y.touchData.cxtDragged){var Ca={originalEvent:G,type:"cxttap",position:{x:hr[0],y:hr[1]}};Vn?Vn.emit(Ca):Be.emit(Ca)}y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!1,y.touchData.start=null,y.redraw();return}if(!G.touches[2]&&Be.boxSelectionEnabled()&&y.touchData.selecting){y.touchData.selecting=!1;var oc=Be.collection(y.getAllInBox(nr[0],nr[1],nr[2],nr[3]));nr[0]=void 0,nr[1]=void 0,nr[2]=void 0,nr[3]=void 0,nr[4]=0,y.redrawHint("select",!0),Be.emit({type:"boxend",originalEvent:G,position:{x:hr[0],y:hr[1]}});var ra=function(_4){return _4.selectable()&&!_4.selected()};oc.emit("box").stdFilter(ra).select().emit("boxselect"),oc.nonempty()&&y.redrawHint("eles",!0),y.redraw()}if(Vn!=null&&Vn.unactivate(),G.touches[2])y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);else if(!G.touches[1]){if(!G.touches[0]){if(!G.touches[0]){y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var no=y.dragData.touchDragEles;if(Vn!=null){var ql=Vn._private.grabbed;St(no),y.redrawHint("drag",!0),y.redrawHint("eles",!0),ql&&(Vn.emit("freeon"),no.emit("free"),y.dragData.didDrag&&(Vn.emit("dragfreeon"),no.emit("dragfree"))),C(Vn,["touchend","tapend","vmouseup","tapdragout"],G,{x:hr[0],y:hr[1]}),Vn.unactivate(),y.touchData.start=null}else{var Sl=y.findNearestElement(hr[0],hr[1],!0,!0);C(Sl,["touchend","tapend","vmouseup","tapdragout"],G,{x:hr[0],y:hr[1]})}var mb=y.touchData.startPosition[0]-hr[0],vb=mb*mb,v1=y.touchData.startPosition[1]-hr[1],up=v1*v1,Bd=vb+up,cm=Bd*Ls*Ls;y.touchData.singleTouchMoved||(Vn||Be.$(":selected").unselect(["tapunselect"]),C(Vn,["tap","vclick"],G,{x:hr[0],y:hr[1]}),na=!1,G.timeStamp-si<=Be.multiClickDebounceTime()?(vi&&clearTimeout(vi),na=!0,si=null,C(Vn,["dbltap","vdblclick"],G,{x:hr[0],y:hr[1]})):(vi=setTimeout(function(){na||C(Vn,["onetap","voneclick"],G,{x:hr[0],y:hr[1]})},Be.multiClickDebounceTime()),si=G.timeStamp)),Vn!=null&&!y.dragData.didDrag&&Vn._private.selectable&&cm<y.touchTapThreshold2&&!y.pinching&&(Be.selectionType()==="single"?(Be.$(x).unmerge(Vn).unselect(["tapunselect"]),Vn.select(["tapselect"])):Vn.selected()?Vn.unselect(["tapunselect"]):Vn.select(["tapselect"]),y.redrawHint("eles",!0)),y.touchData.singleTouchMoved=!0}}}for(var py=0;py<hr.length;py++)us[py]=hr[py];y.dragData.didDrag=!1,G.touches.length===0&&(y.touchData.dragDelta=[],y.touchData.startPosition=[null,null,null,null,null,null],y.touchData.startGPosition=null,y.touchData.didSelect=!1),G.touches.length<2&&(G.touches.length===1&&(y.touchData.startGPosition=[G.touches[0].clientX,G.touches[0].clientY]),y.pinching=!1,y.redrawHint("eles",!0),y.redraw())},!1),typeof TouchEvent>"u"){var Qi=[],ks=function(G){return{clientX:G.clientX,clientY:G.clientY,force:1,identifier:G.pointerId,pageX:G.pageX,pageY:G.pageY,radiusX:G.width/2,radiusY:G.height/2,screenX:G.screenX,screenY:G.screenY,target:G.target}},as=function(G){return{event:G,touch:ks(G)}},Es=function(G){Qi.push(as(G))},eo=function(G){for(var Vn=0;Vn<Qi.length;Vn++){var gr=Qi[Vn];if(gr.event.pointerId===G.pointerId){Qi.splice(Vn,1);return}}},Ta=function(G){var Vn=Qi.filter(function(gr){return gr.event.pointerId===G.pointerId})[0];Vn.event=G,Vn.touch=ks(G)},pa=function(G){G.touches=Qi.map(function(Vn){return Vn.touch})},mo=function(G){return G.pointerType==="mouse"||G.pointerType===4};y.registerBinding(y.container,"pointerdown",function(Kn){mo(Kn)||(Kn.preventDefault(),Es(Kn),pa(Kn),mr(Kn))}),y.registerBinding(y.container,"pointerup",function(Kn){mo(Kn)||(eo(Kn),pa(Kn),ss(Kn))}),y.registerBinding(y.container,"pointercancel",function(Kn){mo(Kn)||(eo(Kn),pa(Kn),gi(Kn))}),y.registerBinding(y.container,"pointermove",function(Kn){mo(Kn)||(Kn.preventDefault(),Ta(Kn),pa(Kn),Sr(Kn))})}};var om={};om.generatePolygon=function(y,p){return this.nodeShapes[y]={renderer:this,name:y,points:p,draw:function(C,L,O,N,j){this.renderer.nodeShapeImpl("polygon",C,L,O,N,j,this.points)},intersectLine:function(C,L,O,N,j,H,q){return B8(j,H,this.points,C,L,O/2,N/2,q)},checkPoint:function(C,L,O,N,j,H,q){return sm(C,L,this.points,H,q,N,j,[0,-1],O)}}},om.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){return CQ(O,N,p,x,C/2+j,L/2+j)},checkPoint:function(p,x,C,L,O,N,j){return v4(p,x,L,O,N,j,C)}}},om.generateRoundPolygon=function(y,p){for(var x=new Array(p.length*2),C=0;C<p.length/2;C++){var L=C*2,O=void 0;C<p.length/2-1?O=(C+1)*2:O=0,x[C*4]=p[L],x[C*4+1]=p[L+1];var N=p[O]-p[L],j=p[O+1]-p[L+1],H=Math.sqrt(N*N+j*j);x[C*4+2]=N/H,x[C*4+3]=j/H}return this.nodeShapes[y]={renderer:this,name:y,points:x,draw:function(W,Z,st,bt,pt){this.renderer.nodeShapeImpl("round-polygon",W,Z,st,bt,pt,this.points)},intersectLine:function(W,Z,st,bt,pt,_t,St){return SQ(pt,_t,this.points,W,Z,st,bt)},checkPoint:function(W,Z,st,bt,pt,_t,St){return TQ(W,Z,this.points,_t,St,bt,pt)}}},om.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){return $B(O,N,p,x,C,L,j)},checkPoint:function(p,x,C,L,O,N,j){var H=R8(L,O),q=H*2;return!!(sm(p,x,this.points,N,j,L,O-q,[0,-1],C)||sm(p,x,this.points,N,j,L-q,O,[0,-1],C)||v4(p,x,q,q,N-L/2+H,j-O/2+H,C)||v4(p,x,q,q,N+L/2-H,j-O/2+H,C)||v4(p,x,q,q,N+L/2-H,j+O/2-H,C)||v4(p,x,q,q,N-L/2+H,j+O/2-H,C))}}},om.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:qB(),points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},generateCutTrianglePts:function(p,x,C,L){var O=this.cornerLength,N=x/2,j=p/2,H=C-j,q=C+j,W=L-N,Z=L+N;return{topLeft:[H,W+O,H+O,W,H+O,W+O],topRight:[q-O,W,q,W+O,q-O,W+O],bottomRight:[q,Z-O,q-O,Z,q-O,Z-O],bottomLeft:[H+O,Z,H,Z-O,H+O,Z-O]}},intersectLine:function(p,x,C,L,O,N,j){var H=this.generateCutTrianglePts(C+2*j,L+2*j,p,x),q=[].concat.apply([],[H.topLeft.splice(0,4),H.topRight.splice(0,4),H.bottomRight.splice(0,4),H.bottomLeft.splice(0,4)]);return B8(O,N,q,p,x)},checkPoint:function(p,x,C,L,O,N,j){if(sm(p,x,this.points,N,j,L,O-2*this.cornerLength,[0,-1],C)||sm(p,x,this.points,N,j,L-2*this.cornerLength,O,[0,-1],C))return!0;var H=this.generateCutTrianglePts(L,O,N,j);return y0(p,x,H.topLeft)||y0(p,x,H.topRight)||y0(p,x,H.bottomRight)||y0(p,x,H.bottomLeft)}}},om.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){var H=.15,q=.5,W=.85,Z=this.generateBarrelBezierPts(C+2*j,L+2*j,p,x),st=function(_t){var St=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},H),Et=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},q),Nt=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},W);return[_t[0],_t[1],St.x,St.y,Et.x,Et.y,Nt.x,Nt.y,_t[4],_t[5]]},bt=[].concat(st(Z.topLeft),st(Z.topRight),st(Z.bottomRight),st(Z.bottomLeft));return B8(O,N,bt,p,x)},generateBarrelBezierPts:function(p,x,C,L){var O=x/2,N=p/2,j=C-N,H=C+N,q=L-O,W=L+O,Z=VD(p,x),st=Z.heightOffset,bt=Z.widthOffset,pt=Z.ctrlPtOffsetPct*p,_t={topLeft:[j,q+st,j+pt,q,j+bt,q],topRight:[H-bt,q,H-pt,q,H,q+st],bottomRight:[H,W-st,H-pt,W,H-bt,W],bottomLeft:[j+bt,W,j+pt,W,j,W-st]};return _t.topLeft.isTop=!0,_t.topRight.isTop=!0,_t.bottomLeft.isBottom=!0,_t.bottomRight.isBottom=!0,_t},checkPoint:function(p,x,C,L,O,N,j){var H=VD(L,O),q=H.heightOffset,W=H.widthOffset;if(sm(p,x,this.points,N,j,L,O-2*q,[0,-1],C)||sm(p,x,this.points,N,j,L-2*W,O,[0,-1],C))return!0;for(var Z=this.generateBarrelBezierPts(L,O,N,j),st=function(Ut,de,Yt){var Ee=Yt[4],Te=Yt[2],ie=Yt[0],ze=Yt[5],me=Yt[1],yn=Math.min(Ee,ie),nn=Math.max(Ee,ie),qe=Math.min(ze,me),Tn=Math.max(ze,me);if(yn<=Ut&&Ut<=nn&&qe<=de&&de<=Tn){var Xn=_Q(Ee,Te,ie),lr=yQ(Xn[0],Xn[1],Xn[2],Ut),Sn=lr.filter(function(or){return 0<=or&&or<=1});if(Sn.length>0)return Sn[0]}return null},bt=Object.keys(Z),pt=0;pt<bt.length;pt++){var _t=bt[pt],St=Z[_t],Et=st(p,x,St);if(Et!=null){var Nt=St[5],Pt=St[3],qt=St[1],re=Lf(Nt,Pt,qt,Et);if(St.isTop&&re<=x||St.isBottom&&x<=re)return!0}}return!1}}},om.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){var H=p-(C/2+j),q=x-(L/2+j),W=q,Z=p+(C/2+j),st=uy(O,N,p,x,H,q,Z,W,!1);return st.length>0?st:$B(O,N,p,x,C,L,j)},checkPoint:function(p,x,C,L,O,N,j){var H=R8(L,O),q=2*H;if(sm(p,x,this.points,N,j,L,O-q,[0,-1],C)||sm(p,x,this.points,N,j,L-q,O,[0,-1],C))return!0;var W=L/2+2*C,Z=O/2+2*C,st=[N-W,j-Z,N-W,j,N+W,j,N+W,j-Z];return!!(y0(p,x,st)||v4(p,x,q,q,N+L/2-H,j+O/2-H,C)||v4(p,x,q,q,N-L/2+H,j+O/2-H,C))}}},om.registerNodeShapes=function(){var y=this.nodeShapes={},p=this;this.generateEllipse(),this.generatePolygon("triangle",Fd(3,0)),this.generateRoundPolygon("round-triangle",Fd(3,0)),this.generatePolygon("rectangle",Fd(4,0)),y.square=y.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var x=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",x),this.generateRoundPolygon("round-diamond",x)}this.generatePolygon("pentagon",Fd(5,0)),this.generateRoundPolygon("round-pentagon",Fd(5,0)),this.generatePolygon("hexagon",Fd(6,0)),this.generateRoundPolygon("round-hexagon",Fd(6,0)),this.generatePolygon("heptagon",Fd(7,0)),this.generateRoundPolygon("round-heptagon",Fd(7,0)),this.generatePolygon("octagon",Fd(8,0)),this.generateRoundPolygon("round-octagon",Fd(8,0));var C=new Array(20);{var L=qD(5,0),O=qD(5,Math.PI/5),N=.5*(3-Math.sqrt(5));N*=1.57;for(var j=0;j<O.length/2;j++)O[j*2]*=N,O[j*2+1]*=N;for(var j=0;j<20/4;j++)C[j*4]=L[j*2],C[j*4+1]=L[j*2+1],C[j*4+2]=O[j*2],C[j*4+3]=O[j*2+1]}C=zB(C),this.generatePolygon("star",C),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var H=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",H),this.generateRoundPolygon("round-tag",H)}y.makePolygon=function(q){var W=q.join("$"),Z="polygon-"+W,st;return(st=this[Z])?st:p.generatePolygon(Z,q)}};var nE={};nE.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},nE.redraw=function(y){y=y||IB();var p=this;p.averageRedrawTime===void 0&&(p.averageRedrawTime=0),p.lastRedrawTime===void 0&&(p.lastRedrawTime=0),p.lastDrawTime===void 0&&(p.lastDrawTime=0),p.requestedFrame=!0,p.renderOptions=y},nE.beforeRender=function(y,p){if(!this.destroyed){p==null&&$l("Priority is not optional for beforeRender");var x=this.beforeRenderCallbacks;x.push({fn:y,priority:p}),x.sort(function(C,L){return L.priority-C.priority})}};var Lj=function(p,x,C){for(var L=p.beforeRenderCallbacks,O=0;O<L.length;O++)L[O].fn(x,C)};nE.startRenderLoop=function(){var y=this,p=y.cy;if(!y.renderLoopStarted){y.renderLoopStarted=!0;var x=function C(L){if(!y.destroyed){if(!p.batching())if(y.requestedFrame&&!y.skipFrame){Lj(y,!0,L);var O=ip();y.render(y.renderOptions);var N=y.lastDrawTime=ip();y.averageRedrawTime===void 0&&(y.averageRedrawTime=N-O),y.redrawCount===void 0&&(y.redrawCount=0),y.redrawCount++,y.redrawTotalTime===void 0&&(y.redrawTotalTime=0);var j=N-O;y.redrawTotalTime+=j,y.lastRedrawTime=j,y.averageRedrawTime=y.averageRedrawTime/2+j/2,y.requestedFrame=!1}else Lj(y,!1,L);y.skipFrame=!1,g1(C)}};g1(x)}};var Get=function(p){this.init(p)},Dj=Get,g6=Dj.prototype;g6.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],g6.init=function(y){var p=this;p.options=y,p.cy=y.cy;var x=p.container=y.cy.container(),C=p.cy.window();if(C){var L=C.document,O=L.head,N="__________cytoscape_stylesheet",j="__________cytoscape_container",H=L.getElementById(N)!=null;if(x.className.indexOf(j)<0&&(x.className=(x.className||"")+" "+j),!H){var q=L.createElement("style");q.id=N,q.textContent="."+j+" { position: relative; }",O.insertBefore(q,O.children[0])}var W=C.getComputedStyle(x),Z=W.getPropertyValue("position");Z==="static"&&Gc("A Cytoscape container has style position:static and so can not use UI extensions properly")}p.selection=[void 0,void 0,void 0,void 0,0],p.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],p.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},p.dragData={possibleDragElements:[]},p.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},p.redraws=0,p.showFps=y.showFps,p.debug=y.debug,p.hideEdgesOnViewport=y.hideEdgesOnViewport,p.textureOnViewport=y.textureOnViewport,p.wheelSensitivity=y.wheelSensitivity,p.motionBlurEnabled=y.motionBlur,p.forcedPixelRatio=Q(y.pixelRatio)?y.pixelRatio:null,p.motionBlur=y.motionBlur,p.motionBlurOpacity=y.motionBlurOpacity,p.motionBlurTransparency=1-p.motionBlurOpacity,p.motionBlurPxRatio=1,p.mbPxRBlurry=1,p.minMbLowQualFrames=4,p.fullQualityMb=!1,p.clearedForMotionBlur=[],p.desktopTapThreshold=y.desktopTapThreshold,p.desktopTapThreshold2=y.desktopTapThreshold*y.desktopTapThreshold,p.touchTapThreshold=y.touchTapThreshold,p.touchTapThreshold2=y.touchTapThreshold*y.touchTapThreshold,p.tapholdDuration=500,p.bindings=[],p.beforeRenderCallbacks=[],p.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},p.registerNodeShapes(),p.registerArrowShapes(),p.registerCalculationListeners()},g6.notify=function(y,p){var x=this,C=x.cy;if(!this.destroyed){if(y==="init"){x.load();return}if(y==="destroy"){x.destroy();return}(y==="add"||y==="remove"||y==="move"&&C.hasCompoundNodes()||y==="load"||y==="zorder"||y==="mount")&&x.invalidateCachedZSortedEles(),y==="viewport"&&x.redrawHint("select",!0),(y==="load"||y==="resize"||y==="mount")&&(x.invalidateContainerClientCoordsCache(),x.matchCanvasSize(x.container)),x.redrawHint("eles",!0),x.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},g6.destroy=function(){var y=this;y.destroyed=!0,y.cy.stopAnimationLoop();for(var p=0;p<y.bindings.length;p++){var x=y.bindings[p],C=x,L=C.target;(L.off||L.removeEventListener).apply(L,C.args)}if(y.bindings=[],y.beforeRenderCallbacks=[],y.onUpdateEleCalcsFns=[],y.removeObserver&&y.removeObserver.disconnect(),y.styleObserver&&y.styleObserver.disconnect(),y.resizeObserver&&y.resizeObserver.disconnect(),y.labelCalcDiv)try{document.body.removeChild(y.labelCalcDiv)}catch{}},g6.isHeadless=function(){return!1},[wM,_j,Aj,d6,om,nE].forEach(function(y){we(g6,y)});var vM=1e3/60,Mj={setupDequeueing:function(p){return function(){var C=this,L=this.renderer;if(!C.dequeueingSetup){C.dequeueingSetup=!0;var O=pu(function(){L.redrawHint("eles",!0),L.redrawHint("drag",!0),L.redraw()},p.deqRedrawThreshold),N=function(q,W){var Z=ip(),st=L.averageRedrawTime,bt=L.lastRedrawTime,pt=[],_t=L.cy.extent(),St=L.getPixelRatio();for(q||L.flushRenderedStyleQueue();;){var Et=ip(),Nt=Et-Z,Pt=Et-W;if(bt<vM){var qt=vM-(q?st:0);if(Pt>=p.deqFastCost*qt)break}else if(q){if(Nt>=p.deqCost*bt||Nt>=p.deqAvgCost*st)break}else if(Pt>=p.deqNoDrawCost*vM)break;var re=p.deq(C,St,_t);if(re.length>0)for(var ee=0;ee<re.length;ee++)pt.push(re[ee]);else break}pt.length>0&&(p.onDeqd(C,pt),!q&&p.shouldRedraw(C,pt,St,_t)&&O())},j=p.priority||BD;L.beforeRender(N,j(C))}}}},Ket=function(){function y(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ay;g(this,y),this.idsByKey=new F2,this.keyForId=new F2,this.cachesByLvl=new F2,this.lvls=[],this.getKey=p,this.doesEleInvalidateKey=x}return v(y,[{key:"getIdsFor",value:function(x){x==null&&$l("Can not get id list for null key");var C=this.idsByKey,L=this.idsByKey.get(x);return L||(L=new Wx,C.set(x,L)),L}},{key:"addIdForKey",value:function(x,C){x!=null&&this.getIdsFor(x).add(C)}},{key:"deleteIdForKey",value:function(x,C){x!=null&&this.getIdsFor(x).delete(C)}},{key:"getNumberOfIdsForKey",value:function(x){return x==null?0:this.getIdsFor(x).size}},{key:"updateKeyMappingFor",value:function(x){var C=x.id(),L=this.keyForId.get(C),O=this.getKey(x);this.deleteIdForKey(L,C),this.addIdForKey(O,C),this.keyForId.set(C,O)}},{key:"deleteKeyMappingFor",value:function(x){var C=x.id(),L=this.keyForId.get(C);this.deleteIdForKey(L,C),this.keyForId.delete(C)}},{key:"keyHasChangedFor",value:function(x){var C=x.id(),L=this.keyForId.get(C),O=this.getKey(x);return L!==O}},{key:"isInvalid",value:function(x){return this.keyHasChangedFor(x)||this.doesEleInvalidateKey(x)}},{key:"getCachesAt",value:function(x){var C=this.cachesByLvl,L=this.lvls,O=C.get(x);return O||(O=new F2,C.set(x,O),L.push(x)),O}},{key:"getCache",value:function(x,C){return this.getCachesAt(C).get(x)}},{key:"get",value:function(x,C){var L=this.getKey(x),O=this.getCache(L,C);return O!=null&&this.updateKeyMappingFor(x),O}},{key:"getForCachedKey",value:function(x,C){var L=this.keyForId.get(x.id()),O=this.getCache(L,C);return O}},{key:"hasCache",value:function(x,C){return this.getCachesAt(C).has(x)}},{key:"has",value:function(x,C){var L=this.getKey(x);return this.hasCache(L,C)}},{key:"setCache",value:function(x,C,L){L.key=x,this.getCachesAt(C).set(x,L)}},{key:"set",value:function(x,C,L){var O=this.getKey(x);this.setCache(O,C,L),this.updateKeyMappingFor(x)}},{key:"deleteCache",value:function(x,C){this.getCachesAt(C).delete(x)}},{key:"delete",value:function(x,C){var L=this.getKey(x);this.deleteCache(L,C)}},{key:"invalidateKey",value:function(x){var C=this;this.lvls.forEach(function(L){return C.deleteCache(x,L)})}},{key:"invalidate",value:function(x){var C=x.id(),L=this.keyForId.get(C);this.deleteKeyMappingFor(x);var O=this.doesEleInvalidateKey(x);return O&&this.invalidateKey(L),O||this.getNumberOfIdsForKey(L)===0}}]),y}(),Ij=25,OC=50,NC=-4,yM=3,Wet=7.99,Yet=8,Xet=1024,Qet=1024,Jet=1024,Zet=.2,tnt=.8,ent=10,nnt=.15,rnt=.1,int=.9,snt=.9,ant=100,ont=1,p6={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},cnt=p1({getKey:null,doesEleInvalidateKey:ay,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:b4,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),rE=function(p,x){var C=this;C.renderer=p,C.onDequeues=[];var L=cnt(x);we(C,L),C.lookup=new Ket(L.getKey,L.doesEleInvalidateKey),C.setupDequeueing()},Jh=rE.prototype;Jh.reasons=p6,Jh.getTextureQueue=function(y){var p=this;return p.eleImgCaches=p.eleImgCaches||{},p.eleImgCaches[y]=p.eleImgCaches[y]||[]},Jh.getRetiredTextureQueue=function(y){var p=this,x=p.eleImgCaches.retired=p.eleImgCaches.retired||{},C=x[y]=x[y]||[];return C},Jh.getElementQueue=function(){var y=this,p=y.eleCacheQueue=y.eleCacheQueue||new N8(function(x,C){return C.reqs-x.reqs});return p},Jh.getElementKeyToQueue=function(){var y=this,p=y.eleKeyToCacheQueue=y.eleKeyToCacheQueue||{};return p},Jh.getElement=function(y,p,x,C,L){var O=this,N=this.renderer,j=N.cy.zoom(),H=this.lookup;if(!p||p.w===0||p.h===0||isNaN(p.w)||isNaN(p.h)||!y.visible()||y.removed()||!O.allowEdgeTxrCaching&&y.isEdge()||!O.allowParentTxrCaching&&y.isParent())return null;if(C==null&&(C=Math.ceil(jD(j*x))),C<NC)C=NC;else if(j>=Wet||C>yM)return null;var q=Math.pow(2,C),W=p.h*q,Z=p.w*q,st=N.eleTextBiggerThanMin(y,q);if(!this.isVisible(y,st))return null;var bt=H.get(y,C);if(bt&&bt.invalidated&&(bt.invalidated=!1,bt.texture.invalidatedWidth-=bt.width),bt)return bt;var pt;if(W<=Ij?pt=Ij:W<=OC?pt=OC:pt=Math.ceil(W/OC)*OC,W>Jet||Z>Qet)return null;var _t=O.getTextureQueue(pt),St=_t[_t.length-2],Et=function(){return O.recycleTexture(pt,Z)||O.addTexture(pt,Z)};St||(St=_t[_t.length-1]),St||(St=Et()),St.width-St.usedWidth<Z&&(St=Et());for(var Nt=function(nn){return nn&&nn.scaledLabelShown===st},Pt=L&&L===p6.dequeue,qt=L&&L===p6.highQuality,re=L&&L===p6.downscale,ee,Ut=C+1;Ut<=yM;Ut++){var de=H.get(y,Ut);if(de){ee=de;break}}var Yt=ee&&ee.level===C+1?ee:null,Ee=function(){St.context.drawImage(Yt.texture.canvas,Yt.x,0,Yt.width,Yt.height,St.usedWidth,0,Z,W)};if(St.context.setTransform(1,0,0,1,0,0),St.context.clearRect(St.usedWidth,0,Z,pt),Nt(Yt))Ee();else if(Nt(ee))if(qt){for(var Te=ee.level;Te>C;Te--)Yt=O.getElement(y,p,x,Te,p6.downscale);Ee()}else return O.queueElement(y,ee.level-1),ee;else{var ie;if(!Pt&&!qt&&!re)for(var ze=C-1;ze>=NC;ze--){var me=H.get(y,ze);if(me){ie=me;break}}if(Nt(ie))return O.queueElement(y,C),ie;St.context.translate(St.usedWidth,0),St.context.scale(q,q),this.drawElement(St.context,y,p,st,!1),St.context.scale(1/q,1/q),St.context.translate(-St.usedWidth,0)}return bt={x:St.usedWidth,texture:St,level:C,scale:q,width:Z,height:W,scaledLabelShown:st},St.usedWidth+=Math.ceil(Z+Yet),St.eleCaches.push(bt),H.set(y,C,bt),O.checkTextureFullness(St),bt},Jh.invalidateElements=function(y){for(var p=0;p<y.length;p++)this.invalidateElement(y[p])},Jh.invalidateElement=function(y){var p=this,x=p.lookup,C=[],L=x.isInvalid(y);if(L){for(var O=NC;O<=yM;O++){var N=x.getForCachedKey(y,O);N&&C.push(N)}var j=x.invalidate(y);if(j)for(var H=0;H<C.length;H++){var q=C[H],W=q.texture;W.invalidatedWidth+=q.width,q.invalidated=!0,p.checkTextureUtility(W)}p.removeFromQueue(y)}},Jh.checkTextureUtility=function(y){y.invalidatedWidth>=Zet*y.width&&this.retireTexture(y)},Jh.checkTextureFullness=function(y){var p=this,x=p.getTextureQueue(y.height);y.usedWidth/y.width>tnt&&y.fullnessChecks>=ent?oy(x,y):y.fullnessChecks++},Jh.retireTexture=function(y){var p=this,x=y.height,C=p.getTextureQueue(x),L=this.lookup;oy(C,y),y.retired=!0;for(var O=y.eleCaches,N=0;N<O.length;N++){var j=O[N];L.deleteCache(j.key,j.level)}G9(O);var H=p.getRetiredTextureQueue(x);H.push(y)},Jh.addTexture=function(y,p){var x=this,C=x.getTextureQueue(y),L={};return C.push(L),L.eleCaches=[],L.height=y,L.width=Math.max(Xet,p),L.usedWidth=0,L.invalidatedWidth=0,L.fullnessChecks=0,L.canvas=x.renderer.makeOffscreenCanvas(L.width,L.height),L.context=L.canvas.getContext("2d"),L},Jh.recycleTexture=function(y,p){for(var x=this,C=x.getTextureQueue(y),L=x.getRetiredTextureQueue(y),O=0;O<L.length;O++){var N=L[O];if(N.width>=p)return N.retired=!1,N.usedWidth=0,N.invalidatedWidth=0,N.fullnessChecks=0,G9(N.eleCaches),N.context.setTransform(1,0,0,1,0,0),N.context.clearRect(0,0,N.width,N.height),oy(L,N),C.push(N),N}},Jh.queueElement=function(y,p){var x=this,C=x.getElementQueue(),L=x.getElementKeyToQueue(),O=this.getKey(y),N=L[O];if(N)N.level=Math.max(N.level,p),N.eles.merge(y),N.reqs++,C.updateItem(N);else{var j={eles:y.spawn().merge(y),level:p,reqs:1,key:O};C.push(j),L[O]=j}},Jh.dequeue=function(y){for(var p=this,x=p.getElementQueue(),C=p.getElementKeyToQueue(),L=[],O=p.lookup,N=0;N<ont&&x.size()>0;N++){var j=x.pop(),H=j.key,q=j.eles[0],W=O.hasCache(q,j.level);if(C[H]=null,W)continue;L.push(j);var Z=p.getBoundingBox(q);p.getElement(q,Z,y,j.level,p6.dequeue)}return L},Jh.removeFromQueue=function(y){var p=this,x=p.getElementQueue(),C=p.getElementKeyToQueue(),L=this.getKey(y),O=C[L];O!=null&&(O.eles.length===1?(O.reqs=Kx,x.updateItem(O),x.pop(),C[L]=null):O.eles.unmerge(y))},Jh.onDequeue=function(y){this.onDequeues.push(y)},Jh.offDequeue=function(y){oy(this.onDequeues,y)},Jh.setupDequeueing=Mj.setupDequeueing({deqRedrawThreshold:ant,deqCost:nnt,deqAvgCost:rnt,deqNoDrawCost:int,deqFastCost:snt,deq:function(p,x,C){return p.dequeue(x,C)},onDeqd:function(p,x){for(var C=0;C<p.onDequeues.length;C++){var L=p.onDequeues[C];L(x)}},shouldRedraw:function(p,x,C,L){for(var O=0;O<x.length;O++)for(var N=x[O].eles,j=0;j<N.length;j++){var H=N[j].boundingBox();if($D(H,L))return!0}return!1},priority:function(p){return p.renderer.beforeRenderPriorities.eleTxrDeq}});var unt=1,iE=-4,PC=2,lnt=3.99,hnt=50,fnt=50,Zh=.15,dnt=.1,gnt=.9,Oj=.9,pnt=1,Nj=250,Pj=4e3*4e3,Fj=!0,Bj=function(p){var x=this,C=x.renderer=p,L=C.cy;x.layersByLevel={},x.firstGet=!0,x.lastInvalidationTime=ip()-2*Nj,x.skipping=!1,x.eleTxrDeqs=L.collection(),x.scheduleElementRefinement=pu(function(){x.refineElementTextures(x.eleTxrDeqs),x.eleTxrDeqs.unmerge(x.eleTxrDeqs)},fnt),C.beforeRender(function(N,j){j-x.lastInvalidationTime<=Nj?x.skipping=!0:x.skipping=!1},C.beforeRenderPriorities.lyrTxrSkip);var O=function(j,H){return H.reqs-j.reqs};x.layersQueue=new N8(O),x.setupDequeueing()},Df=Bj.prototype,Rj=0,FC=Math.pow(2,53)-1;Df.makeLayer=function(y,p){var x=Math.pow(2,p),C=Math.ceil(y.w*x),L=Math.ceil(y.h*x),O=this.renderer.makeOffscreenCanvas(C,L),N={id:Rj=++Rj%FC,bb:y,level:p,width:C,height:L,canvas:O,context:O.getContext("2d"),eles:[],elesQueue:[],reqs:0},j=N.context,H=-N.bb.x1,q=-N.bb.y1;return j.scale(x,x),j.translate(H,q),N},Df.getLayers=function(y,p,x){var C=this,L=C.renderer,O=L.cy,N=O.zoom(),j=C.firstGet;if(C.firstGet=!1,x==null){if(x=Math.ceil(jD(N*p)),x<iE)x=iE;else if(N>=lnt||x>PC)return null}C.validateLayersElesOrdering(x,y);var H=C.layersByLevel,q=Math.pow(2,x),W=H[x]=H[x]||[],Z,st=C.levelIsComplete(x,y),bt,pt=function(){var Ee=function(yn){if(C.validateLayersElesOrdering(yn,y),C.levelIsComplete(yn,y))return bt=H[yn],!0},Te=function(yn){if(!bt)for(var nn=x+yn;iE<=nn&&nn<=PC&&!Ee(nn);nn+=yn);};Te(1),Te(-1);for(var ie=W.length-1;ie>=0;ie--){var ze=W[ie];ze.invalid&&oy(W,ze)}};if(!st)pt();else return W;var _t=function(){if(!Z){Z=v0();for(var Ee=0;Ee<y.length;Ee++)BB(Z,y[Ee].boundingBox())}return Z},St=function(Ee){Ee=Ee||{};var Te=Ee.after;_t();var ie=Z.w*q*(Z.h*q);if(ie>Pj)return null;var ze=C.makeLayer(Z,x);if(Te!=null){var me=W.indexOf(Te)+1;W.splice(me,0,ze)}else(Ee.insert===void 0||Ee.insert)&&W.unshift(ze);return ze};if(C.skipping&&!j)return null;for(var Et=null,Nt=y.length/unt,Pt=!j,qt=0;qt<y.length;qt++){var re=y[qt],ee=re._private.rscratch,Ut=ee.imgLayerCaches=ee.imgLayerCaches||{},de=Ut[x];if(de){Et=de;continue}if((!Et||Et.eles.length>=Nt||!jB(Et.bb,re.boundingBox()))&&(Et=St({insert:!0,after:Et}),!Et))return null;bt||Pt?C.queueLayer(Et,re):C.drawEleInLayer(Et,re,x,p),Et.eles.push(re),Ut[x]=Et}return bt||(Pt?null:W)},Df.getEleLevelForLayerLevel=function(y,p){return y},Df.drawEleInLayer=function(y,p,x,C){var L=this,O=this.renderer,N=y.context,j=p.boundingBox();j.w===0||j.h===0||!p.visible()||(x=L.getEleLevelForLayerLevel(x,C),O.setImgSmoothing(N,!1),O.drawCachedElement(N,p,null,null,x,Fj),O.setImgSmoothing(N,!0))},Df.levelIsComplete=function(y,p){var x=this,C=x.layersByLevel[y];if(!C||C.length===0)return!1;for(var L=0,O=0;O<C.length;O++){var N=C[O];if(N.reqs>0||N.invalid)return!1;L+=N.eles.length}return L===p.length},Df.validateLayersElesOrdering=function(y,p){var x=this.layersByLevel[y];if(x)for(var C=0;C<x.length;C++){for(var L=x[C],O=-1,N=0;N<p.length;N++)if(L.eles[0]===p[N]){O=N;break}if(O<0){this.invalidateLayer(L);continue}for(var j=O,N=0;N<L.eles.length;N++)if(L.eles[N]!==p[j+N]){this.invalidateLayer(L);break}}},Df.updateElementsInLayers=function(y,p){for(var x=this,C=V(y[0]),L=0;L<y.length;L++)for(var O=C?null:y[L],N=C?y[L]:y[L].ele,j=N._private.rscratch,H=j.imgLayerCaches=j.imgLayerCaches||{},q=iE;q<=PC;q++){var W=H[q];W&&(O&&x.getEleLevelForLayerLevel(W.level)!==O.level||p(W,N,O))}},Df.haveLayers=function(){for(var y=this,p=!1,x=iE;x<=PC;x++){var C=y.layersByLevel[x];if(C&&C.length>0){p=!0;break}}return p},Df.invalidateElements=function(y){var p=this;y.length!==0&&(p.lastInvalidationTime=ip(),!(y.length===0||!p.haveLayers())&&p.updateElementsInLayers(y,function(C,L,O){p.invalidateLayer(C)}))},Df.invalidateLayer=function(y){if(this.lastInvalidationTime=ip(),!y.invalid){var p=y.level,x=y.eles,C=this.layersByLevel[p];oy(C,y),y.elesQueue=[],y.invalid=!0,y.replacement&&(y.replacement.invalid=!0);for(var L=0;L<x.length;L++){var O=x[L]._private.rscratch.imgLayerCaches;O&&(O[p]=null)}}},Df.refineElementTextures=function(y){var p=this;p.updateElementsInLayers(y,function(C,L,O){var N=C.replacement;if(N||(N=C.replacement=p.makeLayer(C.bb,C.level),N.replaces=C,N.eles=C.eles),!N.reqs)for(var j=0;j<N.eles.length;j++)p.queueLayer(N,N.eles[j])})},Df.enqueueElementRefinement=function(y){this.eleTxrDeqs.merge(y),this.scheduleElementRefinement()},Df.queueLayer=function(y,p){var x=this,C=x.layersQueue,L=y.elesQueue,O=L.hasId=L.hasId||{};if(!y.replacement){if(p){if(O[p.id()])return;L.push(p),O[p.id()]=!0}y.reqs?(y.reqs++,C.updateItem(y)):(y.reqs=1,C.push(y))}},Df.dequeue=function(y){for(var p=this,x=p.layersQueue,C=[],L=0;L<pnt&&x.size()!==0;){var O=x.peek();if(O.replacement){x.pop();continue}if(O.replaces&&O!==O.replaces.replacement){x.pop();continue}if(O.invalid){x.pop();continue}var N=O.elesQueue.shift();N&&(p.drawEleInLayer(O,N,O.level,y),L++),C.length===0&&C.push(!0),O.elesQueue.length===0&&(x.pop(),O.reqs=0,O.replaces&&p.applyLayerReplacement(O),p.requestRedraw())}return C},Df.applyLayerReplacement=function(y){var p=this,x=p.layersByLevel[y.level],C=y.replaces,L=x.indexOf(C);if(!(L<0||C.invalid)){x[L]=y;for(var O=0;O<y.eles.length;O++){var N=y.eles[O]._private,j=N.imgLayerCaches=N.imgLayerCaches||{};j&&(j[y.level]=y)}p.requestRedraw()}},Df.requestRedraw=pu(function(){var y=this.renderer;y.redrawHint("eles",!0),y.redrawHint("drag",!0),y.redraw()},100),Df.setupDequeueing=Mj.setupDequeueing({deqRedrawThreshold:hnt,deqCost:Zh,deqAvgCost:dnt,deqNoDrawCost:gnt,deqFastCost:Oj,deq:function(p,x){return p.dequeue(x)},onDeqd:BD,shouldRedraw:b4,priority:function(p){return p.renderer.beforeRenderPriorities.lyrTxrDeq}});var jj={},$j;function bnt(y,p){for(var x=0;x<p.length;x++){var C=p[x];y.lineTo(C.x,C.y)}}function wnt(y,p,x){for(var C,L=0;L<p.length;L++){var O=p[L];L===0&&(C=O),y.lineTo(O.x,O.y)}y.quadraticCurveTo(x.x,x.y,C.x,C.y)}function zj(y,p,x){y.beginPath&&y.beginPath();for(var C=p,L=0;L<C.length;L++){var O=C[L];y.lineTo(O.x,O.y)}var N=x,j=x[0];y.moveTo(j.x,j.y);for(var L=1;L<N.length;L++){var O=N[L];y.lineTo(O.x,O.y)}y.closePath&&y.closePath()}function mnt(y,p,x,C,L){y.beginPath&&y.beginPath(),y.arc(x,C,L,0,Math.PI*2,!1);var O=p,N=O[0];y.moveTo(N.x,N.y);for(var j=0;j<O.length;j++){var H=O[j];y.lineTo(H.x,H.y)}y.closePath&&y.closePath()}function qj(y,p,x,C){y.arc(p,x,C,0,Math.PI*2,!1)}jj.arrowShapeImpl=function(y){return($j||($j={polygon:bnt,"triangle-backcurve":wnt,"triangle-tee":zj,"circle-triangle":mnt,"triangle-cross":zj,circle:qj}))[y]};var bb={};bb.drawElement=function(y,p,x,C,L,O){var N=this;p.isNode()?N.drawNode(y,p,x,C,L,O):N.drawEdge(y,p,x,C,L,O)},bb.drawElementOverlay=function(y,p){var x=this;p.isNode()?x.drawNodeOverlay(y,p):x.drawEdgeOverlay(y,p)},bb.drawElementUnderlay=function(y,p){var x=this;p.isNode()?x.drawNodeUnderlay(y,p):x.drawEdgeUnderlay(y,p)},bb.drawCachedElementPortion=function(y,p,x,C,L,O,N,j){var H=this,q=x.getBoundingBox(p);if(!(q.w===0||q.h===0)){var W=x.getElement(p,q,C,L,O);if(W!=null){var Z=j(H,p);if(Z===0)return;var st=N(H,p),bt=q.x1,pt=q.y1,_t=q.w,St=q.h,Et,Nt,Pt,qt,re;if(st!==0){var ee=x.getRotationPoint(p);Pt=ee.x,qt=ee.y,y.translate(Pt,qt),y.rotate(st),re=H.getImgSmoothing(y),re||H.setImgSmoothing(y,!0);var Ut=x.getRotationOffset(p);Et=Ut.x,Nt=Ut.y}else Et=bt,Nt=pt;var de;Z!==1&&(de=y.globalAlpha,y.globalAlpha=de*Z),y.drawImage(W.texture.canvas,W.x,0,W.width,W.height,Et,Nt,_t,St),Z!==1&&(y.globalAlpha=de),st!==0&&(y.rotate(-st),y.translate(-Pt,-qt),re||H.setImgSmoothing(y,!1))}else x.drawElement(y,p)}};var vnt=function(){return 0},ynt=function(p,x){return p.getTextAngle(x,null)},xM=function(p,x){return p.getTextAngle(x,"source")},xnt=function(p,x){return p.getTextAngle(x,"target")},knt=function(p,x){return x.effectiveOpacity()},sE=function(p,x){return x.pstyle("text-opacity").pfValue*x.effectiveOpacity()};bb.drawCachedElement=function(y,p,x,C,L,O){var N=this,j=N.data,H=j.eleTxrCache,q=j.lblTxrCache,W=j.slbTxrCache,Z=j.tlbTxrCache,st=p.boundingBox(),bt=O===!0?H.reasons.highQuality:null;if(!(st.w===0||st.h===0||!p.visible())&&(!C||$D(st,C))){var pt=p.isEdge(),_t=p.element()._private.rscratch.badLine;N.drawElementUnderlay(y,p),N.drawCachedElementPortion(y,p,H,x,L,bt,vnt,knt),(!pt||!_t)&&N.drawCachedElementPortion(y,p,q,x,L,bt,ynt,sE),pt&&!_t&&(N.drawCachedElementPortion(y,p,W,x,L,bt,xM,sE),N.drawCachedElementPortion(y,p,Z,x,L,bt,xnt,sE)),N.drawElementOverlay(y,p)}},bb.drawElements=function(y,p){for(var x=this,C=0;C<p.length;C++){var L=p[C];x.drawElement(y,L)}},bb.drawCachedElements=function(y,p,x,C){for(var L=this,O=0;O<p.length;O++){var N=p[O];L.drawCachedElement(y,N,x,C)}},bb.drawCachedNodes=function(y,p,x,C){for(var L=this,O=0;O<p.length;O++){var N=p[O];N.isNode()&&L.drawCachedElement(y,N,x,C)}},bb.drawLayeredElements=function(y,p,x,C){var L=this,O=L.data.lyrTxrCache.getLayers(p,x);if(O)for(var N=0;N<O.length;N++){var j=O[N],H=j.bb;H.w===0||H.h===0||y.drawImage(j.canvas,H.x1,H.y1,H.w,H.h)}else L.drawCachedElements(y,p,x,C)};var wb={};wb.drawEdge=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,j=p._private.rscratch;if(!(O&&!p.visible())&&!(j.badLine||j.allpts==null||isNaN(j.allpts[0]))){var H;x&&(H=x,y.translate(-H.x1,-H.y1));var q=O?p.pstyle("opacity").value:1,W=O?p.pstyle("line-opacity").value:1,Z=p.pstyle("curve-style").value,st=p.pstyle("line-style").value,bt=p.pstyle("width").pfValue,pt=p.pstyle("line-cap").value,_t=q*W,St=q*W,Et=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_t;Z==="straight-triangle"?(N.eleStrokeStyle(y,p,ie),N.drawEdgeTrianglePath(p,y,j.allpts)):(y.lineWidth=bt,y.lineCap=pt,N.eleStrokeStyle(y,p,ie),N.drawEdgePath(p,y,j.allpts,st),y.lineCap="butt")},Nt=function(){L&&N.drawEdgeOverlay(y,p)},Pt=function(){L&&N.drawEdgeUnderlay(y,p)},qt=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:St;N.drawArrowheads(y,p,ie)},re=function(){N.drawElementText(y,p,null,C)};y.lineJoin="round";var ee=p.pstyle("ghost").value==="yes";if(ee){var Ut=p.pstyle("ghost-offset-x").pfValue,de=p.pstyle("ghost-offset-y").pfValue,Yt=p.pstyle("ghost-opacity").value,Ee=_t*Yt;y.translate(Ut,de),Et(Ee),qt(Ee),y.translate(-Ut,-de)}Pt(),Et(),qt(),Nt(),re(),x&&y.translate(H.x1,H.y1)}};var Hj=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,C){if(C.visible()){var L=C.pstyle("".concat(p,"-opacity")).value;if(L!==0){var O=this,N=O.usePaths(),j=C._private.rscratch,H=C.pstyle("".concat(p,"-padding")).pfValue,q=2*H,W=C.pstyle("".concat(p,"-color")).value;x.lineWidth=q,j.edgeType==="self"&&!N?x.lineCap="butt":x.lineCap="round",O.colorStrokeStyle(x,W[0],W[1],W[2],L),O.drawEdgePath(C,x,j.allpts,"solid")}}}};wb.drawEdgeOverlay=Hj("overlay"),wb.drawEdgeUnderlay=Hj("underlay"),wb.drawEdgePath=function(y,p,x,C){var L=y._private.rscratch,O=p,N,j=!1,H=this.usePaths(),q=y.pstyle("line-dash-pattern").pfValue,W=y.pstyle("line-dash-offset").pfValue;if(H){var Z=x.join("$"),st=L.pathCacheKey&&L.pathCacheKey===Z;st?(N=p=L.pathCache,j=!0):(N=p=new Path2D,L.pathCacheKey=Z,L.pathCache=N)}if(O.setLineDash)switch(C){case"dotted":O.setLineDash([1,1]);break;case"dashed":O.setLineDash(q),O.lineDashOffset=W;break;case"solid":O.setLineDash([]);break}if(!j&&!L.badLine)switch(p.beginPath&&p.beginPath(),p.moveTo(x[0],x[1]),L.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var bt=2;bt+3<x.length;bt+=4)p.quadraticCurveTo(x[bt],x[bt+1],x[bt+2],x[bt+3]);break;case"straight":case"segments":case"haystack":for(var pt=2;pt+1<x.length;pt+=2)p.lineTo(x[pt],x[pt+1]);break}p=O,H?p.stroke(N):p.stroke(),p.setLineDash&&p.setLineDash([])},wb.drawEdgeTrianglePath=function(y,p,x){p.fillStyle=p.strokeStyle;for(var C=y.pstyle("width").pfValue,L=0;L+1<x.length;L+=2){var O=[x[L+2]-x[L],x[L+3]-x[L+1]],N=Math.sqrt(O[0]*O[0]+O[1]*O[1]),j=[O[1]/N,-O[0]/N],H=[j[0]*C/2,j[1]*C/2];p.beginPath(),p.moveTo(x[L]-H[0],x[L+1]-H[1]),p.lineTo(x[L]+H[0],x[L+1]+H[1]),p.lineTo(x[L+2],x[L+3]),p.closePath(),p.fill()}},wb.drawArrowheads=function(y,p,x){var C=p._private.rscratch,L=C.edgeType==="haystack";L||this.drawArrowhead(y,p,"source",C.arrowStartX,C.arrowStartY,C.srcArrowAngle,x),this.drawArrowhead(y,p,"mid-target",C.midX,C.midY,C.midtgtArrowAngle,x),this.drawArrowhead(y,p,"mid-source",C.midX,C.midY,C.midsrcArrowAngle,x),L||this.drawArrowhead(y,p,"target",C.arrowEndX,C.arrowEndY,C.tgtArrowAngle,x)},wb.drawArrowhead=function(y,p,x,C,L,O,N){if(!(isNaN(C)||C==null||isNaN(L)||L==null||isNaN(O)||O==null)){var j=this,H=p.pstyle(x+"-arrow-shape").value;if(H!=="none"){var q=p.pstyle(x+"-arrow-fill").value==="hollow"?"both":"filled",W=p.pstyle(x+"-arrow-fill").value,Z=p.pstyle("width").pfValue,st=p.pstyle(x+"-arrow-width"),bt=st.value==="match-line"?Z:st.pfValue;st.units==="%"&&(bt*=Z);var pt=p.pstyle("opacity").value;N===void 0&&(N=pt);var _t=y.globalCompositeOperation;(N!==1||W==="hollow")&&(y.globalCompositeOperation="destination-out",j.colorFillStyle(y,255,255,255,1),j.colorStrokeStyle(y,255,255,255,1),j.drawArrowShape(p,y,q,Z,H,bt,C,L,O),y.globalCompositeOperation=_t);var St=p.pstyle(x+"-arrow-color").value;j.colorFillStyle(y,St[0],St[1],St[2],N),j.colorStrokeStyle(y,St[0],St[1],St[2],N),j.drawArrowShape(p,y,W,Z,H,bt,C,L,O)}}},wb.drawArrowShape=function(y,p,x,C,L,O,N,j,H){var q=this,W=this.usePaths()&&L!=="triangle-cross",Z=!1,st,bt=p,pt={x:N,y:j},_t=y.pstyle("arrow-scale").value,St=this.getArrowWidth(C,_t),Et=q.arrowShapes[L];if(W){var Nt=q.arrowPathCache=q.arrowPathCache||[],Pt=Nd(L),qt=Nt[Pt];qt!=null?(st=p=qt,Z=!0):(st=p=new Path2D,Nt[Pt]=st)}Z||(p.beginPath&&p.beginPath(),W?Et.draw(p,1,0,{x:0,y:0},1):Et.draw(p,St,H,pt,C),p.closePath&&p.closePath()),p=bt,W&&(p.translate(N,j),p.rotate(H),p.scale(St,St)),(x==="filled"||x==="both")&&(W?p.fill(st):p.fill()),(x==="hollow"||x==="both")&&(p.lineWidth=O/(W?St:1),p.lineJoin="miter",W?p.stroke(st):p.stroke()),W&&(p.scale(1/St,1/St),p.rotate(-H),p.translate(-N,-j))};var aE={};aE.safeDrawImage=function(y,p,x,C,L,O,N,j,H,q){if(!(L<=0||O<=0||H<=0||q<=0))try{y.drawImage(p,x,C,L,O,N,j,H,q)}catch(W){Gc(W)}},aE.drawInscribedImage=function(y,p,x,C,L){var O=this,N=x.position(),j=N.x,H=N.y,q=x.cy().style(),W=q.getIndexedStyle.bind(q),Z=W(x,"background-fit","value",C),st=W(x,"background-repeat","value",C),bt=x.width(),pt=x.height(),_t=x.padding()*2,St=bt+(W(x,"background-width-relative-to","value",C)==="inner"?0:_t),Et=pt+(W(x,"background-height-relative-to","value",C)==="inner"?0:_t),Nt=x._private.rscratch,Pt=W(x,"background-clip","value",C),qt=Pt==="node",re=W(x,"background-image-opacity","value",C)*L,ee=W(x,"background-image-smoothing","value",C),Ut=p.width||p.cachedW,de=p.height||p.cachedH;(Ut==null||de==null)&&(document.body.appendChild(p),Ut=p.cachedW=p.width||p.offsetWidth,de=p.cachedH=p.height||p.offsetHeight,document.body.removeChild(p));var Yt=Ut,Ee=de;if(W(x,"background-width","value",C)!=="auto"&&(W(x,"background-width","units",C)==="%"?Yt=W(x,"background-width","pfValue",C)*St:Yt=W(x,"background-width","pfValue",C)),W(x,"background-height","value",C)!=="auto"&&(W(x,"background-height","units",C)==="%"?Ee=W(x,"background-height","pfValue",C)*Et:Ee=W(x,"background-height","pfValue",C)),!(Yt===0||Ee===0)){if(Z==="contain"){var Te=Math.min(St/Yt,Et/Ee);Yt*=Te,Ee*=Te}else if(Z==="cover"){var Te=Math.max(St/Yt,Et/Ee);Yt*=Te,Ee*=Te}var ie=j-St/2,ze=W(x,"background-position-x","units",C),me=W(x,"background-position-x","pfValue",C);ze==="%"?ie+=(St-Yt)*me:ie+=me;var yn=W(x,"background-offset-x","units",C),nn=W(x,"background-offset-x","pfValue",C);yn==="%"?ie+=(St-Yt)*nn:ie+=nn;var qe=H-Et/2,Tn=W(x,"background-position-y","units",C),Xn=W(x,"background-position-y","pfValue",C);Tn==="%"?qe+=(Et-Ee)*Xn:qe+=Xn;var lr=W(x,"background-offset-y","units",C),Sn=W(x,"background-offset-y","pfValue",C);lr==="%"?qe+=(Et-Ee)*Sn:qe+=Sn,Nt.pathCache&&(ie-=j,qe-=H,j=0,H=0);var or=y.globalAlpha;y.globalAlpha=re;var pr=O.getImgSmoothing(y),kr=!1;if(ee==="no"&&pr?(O.setImgSmoothing(y,!1),kr=!0):ee==="yes"&&!pr&&(O.setImgSmoothing(y,!0),kr=!0),st==="no-repeat")qt&&(y.save(),Nt.pathCache?y.clip(Nt.pathCache):(O.nodeShapes[O.getNodeShape(x)].draw(y,j,H,St,Et),y.clip())),O.safeDrawImage(y,p,0,0,Ut,de,ie,qe,Yt,Ee),qt&&y.restore();else{var wr=y.createPattern(p,st);y.fillStyle=wr,O.nodeShapes[O.getNodeShape(x)].draw(y,j,H,St,Et),y.translate(ie,qe),y.fill(),y.translate(-ie,-qe)}y.globalAlpha=or,kr&&O.setImgSmoothing(y,pr)}};var S4={};S4.eleTextBiggerThanMin=function(y,p){if(!p){var x=y.cy().zoom(),C=this.getPixelRatio(),L=Math.ceil(jD(x*C));p=Math.pow(2,L)}var O=y.pstyle("font-size").pfValue*p,N=y.pstyle("min-zoomed-font-size").pfValue;return!(O<N)},S4.drawElementText=function(y,p,x,C,L){var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this;if(C==null){if(O&&!N.eleTextBiggerThanMin(p))return}else if(C===!1)return;if(p.isNode()){var j=p.pstyle("label");if(!j||!j.value)return;var H=N.getLabelJustification(p);y.textAlign=H,y.textBaseline="bottom"}else{var q=p.element()._private.rscratch.badLine,W=p.pstyle("label"),Z=p.pstyle("source-label"),st=p.pstyle("target-label");if(q||(!W||!W.value)&&(!Z||!Z.value)&&(!st||!st.value))return;y.textAlign="center",y.textBaseline="bottom"}var bt=!x,pt;x&&(pt=x,y.translate(-pt.x1,-pt.y1)),L==null?(N.drawText(y,p,null,bt,O),p.isEdge()&&(N.drawText(y,p,"source",bt,O),N.drawText(y,p,"target",bt,O))):N.drawText(y,p,L,bt,O),x&&y.translate(pt.x1,pt.y1)},S4.getFontCache=function(y){var p;this.fontCaches=this.fontCaches||[];for(var x=0;x<this.fontCaches.length;x++)if(p=this.fontCaches[x],p.context===y)return p;return p={context:y},this.fontCaches.push(p),p},S4.setupTextStyle=function(y,p){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,C=p.pstyle("font-style").strValue,L=p.pstyle("font-size").pfValue+"px",O=p.pstyle("font-family").strValue,N=p.pstyle("font-weight").strValue,j=x?p.effectiveOpacity()*p.pstyle("text-opacity").value:1,H=p.pstyle("text-outline-opacity").value*j,q=p.pstyle("color").value,W=p.pstyle("text-outline-color").value;y.font=C+" "+N+" "+L+" "+O,y.lineJoin="round",this.colorFillStyle(y,q[0],q[1],q[2],j),this.colorStrokeStyle(y,W[0],W[1],W[2],H)};function kM(y,p,x,C,L){var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5,N=arguments.length>6?arguments[6]:void 0;y.beginPath(),y.moveTo(p+O,x),y.lineTo(p+C-O,x),y.quadraticCurveTo(p+C,x,p+C,x+O),y.lineTo(p+C,x+L-O),y.quadraticCurveTo(p+C,x+L,p+C-O,x+L),y.lineTo(p+O,x+L),y.quadraticCurveTo(p,x+L,p,x+L-O),y.lineTo(p,x+O),y.quadraticCurveTo(p,x,p+O,x),y.closePath(),N?y.stroke():y.fill()}S4.getTextAngle=function(y,p){var x,C=y._private,L=C.rscratch,O=p?p+"-":"",N=y.pstyle(O+"text-rotation"),j=fb(L,"labelAngle",p);return N.strValue==="autorotate"?x=y.isEdge()?j:0:N.strValue==="none"?x=0:x=N.pfValue,x},S4.drawText=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=p._private,N=O.rscratch,j=L?p.effectiveOpacity():1;if(!(L&&(j===0||p.pstyle("text-opacity").value===0))){x==="main"&&(x=null);var H=fb(N,"labelX",x),q=fb(N,"labelY",x),W,Z,st=this.getLabelText(p,x);if(st!=null&&st!==""&&!isNaN(H)&&!isNaN(q)){this.setupTextStyle(y,p,L);var bt=x?x+"-":"",pt=fb(N,"labelWidth",x),_t=fb(N,"labelHeight",x),St=p.pstyle(bt+"text-margin-x").pfValue,Et=p.pstyle(bt+"text-margin-y").pfValue,Nt=p.isEdge(),Pt=p.pstyle("text-halign").value,qt=p.pstyle("text-valign").value;Nt&&(Pt="center",qt="center"),H+=St,q+=Et;var re;switch(C?re=this.getTextAngle(p,x):re=0,re!==0&&(W=H,Z=q,y.translate(W,Z),y.rotate(re),H=0,q=0),qt){case"top":break;case"center":q+=_t/2;break;case"bottom":q+=_t;break}var ee=p.pstyle("text-background-opacity").value,Ut=p.pstyle("text-border-opacity").value,de=p.pstyle("text-border-width").pfValue,Yt=p.pstyle("text-background-padding").pfValue,Ee=p.pstyle("text-background-shape").strValue,Te=Ee.indexOf("round")===0,ie=2;if(ee>0||de>0&&Ut>0){var ze=H-Yt;switch(Pt){case"left":ze-=pt;break;case"center":ze-=pt/2;break}var me=q-_t-Yt,yn=pt+2*Yt,nn=_t+2*Yt;if(ee>0){var qe=y.fillStyle,Tn=p.pstyle("text-background-color").value;y.fillStyle="rgba("+Tn[0]+","+Tn[1]+","+Tn[2]+","+ee*j+")",Te?kM(y,ze,me,yn,nn,ie):y.fillRect(ze,me,yn,nn),y.fillStyle=qe}if(de>0&&Ut>0){var Xn=y.strokeStyle,lr=y.lineWidth,Sn=p.pstyle("text-border-color").value,or=p.pstyle("text-border-style").value;if(y.strokeStyle="rgba("+Sn[0]+","+Sn[1]+","+Sn[2]+","+Ut*j+")",y.lineWidth=de,y.setLineDash)switch(or){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"double":y.lineWidth=de/4,y.setLineDash([]);break;case"solid":y.setLineDash([]);break}if(Te?kM(y,ze,me,yn,nn,ie,"stroke"):y.strokeRect(ze,me,yn,nn),or==="double"){var pr=de/2;Te?kM(y,ze+pr,me+pr,yn-pr*2,nn-pr*2,ie,"stroke"):y.strokeRect(ze+pr,me+pr,yn-pr*2,nn-pr*2)}y.setLineDash&&y.setLineDash([]),y.lineWidth=lr,y.strokeStyle=Xn}}var kr=2*p.pstyle("text-outline-width").pfValue;if(kr>0&&(y.lineWidth=kr),p.pstyle("text-wrap").value==="wrap"){var wr=fb(N,"labelWrapCachedLines",x),Cr=fb(N,"labelLineHeight",x),$n=pt/2,cr=this.getLabelJustification(p);switch(cr==="auto"||(Pt==="left"?cr==="left"?H+=-pt:cr==="center"&&(H+=-$n):Pt==="center"?cr==="left"?H+=-$n:cr==="right"&&(H+=$n):Pt==="right"&&(cr==="center"?H+=$n:cr==="right"&&(H+=pt))),qt){case"top":q-=(wr.length-1)*Cr;break;case"center":case"bottom":q-=(wr.length-1)*Cr;break}for(var mr=0;mr<wr.length;mr++)kr>0&&y.strokeText(wr[mr],H,q),y.fillText(wr[mr],H,q),q+=Cr}else kr>0&&y.strokeText(st,H,q),y.fillText(st,H,q);re!==0&&(y.rotate(-re),y.translate(-W,-Z))}}};var b6={};b6.drawNode=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,j,H,q=p._private,W=q.rscratch,Z=p.position();if(!(!Q(Z.x)||!Q(Z.y))&&!(O&&!p.visible())){var st=O?p.effectiveOpacity():1,bt=N.usePaths(),pt,_t=!1,St=p.padding();j=p.width()+2*St,H=p.height()+2*St;var Et;x&&(Et=x,y.translate(-Et.x1,-Et.y1));for(var Nt=p.pstyle("background-image"),Pt=Nt.value,qt=new Array(Pt.length),re=new Array(Pt.length),ee=0,Ut=0;Ut<Pt.length;Ut++){var de=Pt[Ut],Yt=qt[Ut]=de!=null&&de!=="none";if(Yt){var Ee=p.cy().style().getIndexedStyle(p,"background-image-crossorigin","value",Ut);ee++,re[Ut]=N.getCachedImage(de,Ee,function(){q.backgroundTimestamp=Date.now(),p.emitAndNotify("background")})}}var Te=p.pstyle("background-blacken").value,ie=p.pstyle("border-width").pfValue,ze=p.pstyle("background-opacity").value*st,me=p.pstyle("border-color").value,yn=p.pstyle("border-style").value,nn=p.pstyle("border-opacity").value*st,qe=p.pstyle("outline-width").pfValue,Tn=p.pstyle("outline-color").value,Xn=p.pstyle("outline-style").value,lr=p.pstyle("outline-opacity").value*st,Sn=p.pstyle("outline-offset").value;y.lineJoin="miter";var or=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ze;N.eleFillStyle(y,p,Kn)},pr=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nn;N.colorStrokeStyle(y,me[0],me[1],me[2],Kn)},kr=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr;N.colorStrokeStyle(y,Tn[0],Tn[1],Tn[2],Kn)},wr=function(Kn,G,Vn,gr){var nr=N.nodePathCache=N.nodePathCache||[],Be=Pd(Vn==="polygon"?Vn+","+gr.join(","):Vn,""+G,""+Kn),Ls=nr[Be],hr,us=!1;return Ls!=null?(hr=Ls,us=!0,W.pathCache=hr):(hr=new Path2D,nr[Be]=W.pathCache=hr),{path:hr,cacheHit:us}},Cr=p.pstyle("shape").strValue,$n=p.pstyle("shape-polygon-points").pfValue;if(bt){y.translate(Z.x,Z.y);var cr=wr(j,H,Cr,$n);pt=cr.path,_t=cr.cacheHit}var mr=function(){if(!_t){var Kn=Z;bt&&(Kn={x:0,y:0}),N.nodeShapes[N.getNodeShape(p)].draw(pt||y,Kn.x,Kn.y,j,H)}bt?y.fill(pt):y.fill()},Sr=function(){for(var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:st,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Vn=q.backgrounding,gr=0,nr=0;nr<re.length;nr++){var Be=p.cy().style().getIndexedStyle(p,"background-image-containment","value",nr);if(G&&Be==="over"||!G&&Be==="inside"){gr++;continue}qt[nr]&&re[nr].complete&&!re[nr].error&&(gr++,N.drawInscribedImage(y,re[nr],p,nr,Kn))}q.backgrounding=gr!==ee,Vn!==q.backgrounding&&p.updateStyle(!1)},gi=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:st;N.hasPie(p)&&(N.drawPie(y,p,G),Kn&&(bt||N.nodeShapes[N.getNodeShape(p)].draw(y,Z.x,Z.y,j,H)))},ss=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:st,G=(Te>0?Te:-Te)*Kn,Vn=Te>0?0:255;Te!==0&&(N.colorFillStyle(y,Vn,Vn,Vn,G),bt?y.fill(pt):y.fill())},na=function(){if(ie>0){if(y.lineWidth=ie,y.lineCap="butt",y.setLineDash)switch(yn){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"solid":case"double":y.setLineDash([]);break}if(bt?y.stroke(pt):y.stroke(),yn==="double"){y.lineWidth=ie/3;var Kn=y.globalCompositeOperation;y.globalCompositeOperation="destination-out",bt?y.stroke(pt):y.stroke(),y.globalCompositeOperation=Kn}y.setLineDash&&y.setLineDash([])}},vi=function(){if(qe>0){if(y.lineWidth=qe,y.lineCap="butt",y.setLineDash)switch(Xn){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"solid":case"double":y.setLineDash([]);break}var Kn=Z;bt&&(Kn={x:0,y:0});var G=N.getNodeShape(p),Vn=(j+ie+(qe+Sn))/j,gr=(H+ie+(qe+Sn))/H,nr=j*Vn,Be=H*gr,Ls=N.nodeShapes[G].points,hr;if(bt){var us=wr(nr,Be,G,Ls);hr=us.path}if(G==="ellipse")N.drawEllipsePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(G)){var Ya=0,kc=0,Ca=0;G==="round-diamond"?Ya=(ie+Sn+qe)*1.4:G==="round-heptagon"?(Ya=(ie+Sn+qe)*1.075,Ca=-(ie/2+Sn+qe)/35):G==="round-hexagon"?Ya=(ie+Sn+qe)*1.12:G==="round-pentagon"?(Ya=(ie+Sn+qe)*1.13,Ca=-(ie/2+Sn+qe)/15):G==="round-tag"?(Ya=(ie+Sn+qe)*1.12,kc=(ie/2+qe+Sn)*.07):G==="round-triangle"&&(Ya=(ie+Sn+qe)*(Math.PI/2),Ca=-(ie+Sn/2+qe)/Math.PI),Ya!==0&&(Vn=(j+Ya)/j,gr=(H+Ya)/H),N.drawRoundPolygonPath(hr||y,Kn.x+kc,Kn.y+Ca,j*Vn,H*gr,Ls)}else if(["roundrectangle","round-rectangle"].includes(G))N.drawRoundRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["cutrectangle","cut-rectangle"].includes(G))N.drawCutRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["bottomroundrectangle","bottom-round-rectangle"].includes(G))N.drawBottomRoundRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(G==="barrel")N.drawBarrelPath(hr||y,Kn.x,Kn.y,nr,Be);else if(G.startsWith("polygon")||["rhomboid","right-rhomboid","round-tag","tag","vee"].includes(G)){var oc=(ie+qe+Sn)/j;Ls=J9(Z9(Ls,oc)),N.drawPolygonPath(hr||y,Kn.x,Kn.y,j,H,Ls)}else{var ra=(ie+qe+Sn)/j;Ls=J9(Z9(Ls,-ra)),N.drawPolygonPath(hr||y,Kn.x,Kn.y,j,H,Ls)}if(bt?y.stroke(hr):y.stroke(),Xn==="double"){y.lineWidth=ie/3;var no=y.globalCompositeOperation;y.globalCompositeOperation="destination-out",bt?y.stroke(hr):y.stroke(),y.globalCompositeOperation=no}y.setLineDash&&y.setLineDash([])}},si=function(){L&&N.drawNodeOverlay(y,p,Z,j,H)},Qi=function(){L&&N.drawNodeUnderlay(y,p,Z,j,H)},ks=function(){N.drawElementText(y,p,null,C)},as=p.pstyle("ghost").value==="yes";if(as){var Es=p.pstyle("ghost-offset-x").pfValue,eo=p.pstyle("ghost-offset-y").pfValue,Ta=p.pstyle("ghost-opacity").value,pa=Ta*st;y.translate(Es,eo),kr(),vi(),or(Ta*ze),mr(),Sr(pa,!0),pr(Ta*nn),na(),gi(Te!==0||ie!==0),Sr(pa,!1),ss(pa),y.translate(-Es,-eo)}bt&&y.translate(-Z.x,-Z.y),Qi(),bt&&y.translate(Z.x,Z.y),kr(),vi(),or(),mr(),Sr(st,!0),pr(),na(),gi(Te!==0||ie!==0),Sr(st,!1),ss(),bt&&y.translate(-Z.x,-Z.y),ks(),si(),x&&y.translate(Et.x1,Et.y1)}};var EM=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,C,L,O,N){var j=this;if(C.visible()){var H=C.pstyle("".concat(p,"-padding")).pfValue,q=C.pstyle("".concat(p,"-opacity")).value,W=C.pstyle("".concat(p,"-color")).value,Z=C.pstyle("".concat(p,"-shape")).value;if(q>0){if(L=L||C.position(),O==null||N==null){var st=C.padding();O=C.width()+2*st,N=C.height()+2*st}j.colorFillStyle(x,W[0],W[1],W[2],q),j.nodeShapes[Z].draw(x,L.x,L.y,O+H*2,N+H*2),x.fill()}}}};b6.drawNodeOverlay=EM("overlay"),b6.drawNodeUnderlay=EM("underlay"),b6.hasPie=function(y){return y=y[0],y._private.hasPie},b6.drawPie=function(y,p,x,C){p=p[0],C=C||p.position();var L=p.cy().style(),O=p.pstyle("pie-size"),N=C.x,j=C.y,H=p.width(),q=p.height(),W=Math.min(H,q)/2,Z=0,st=this.usePaths();st&&(N=0,j=0),O.units==="%"?W=W*O.pfValue:O.pfValue!==void 0&&(W=O.pfValue/2);for(var bt=1;bt<=L.pieBackgroundN;bt++){var pt=p.pstyle("pie-"+bt+"-background-size").value,_t=p.pstyle("pie-"+bt+"-background-color").value,St=p.pstyle("pie-"+bt+"-background-opacity").value*x,Et=pt/100;Et+Z>1&&(Et=1-Z);var Nt=1.5*Math.PI+2*Math.PI*Z,Pt=2*Math.PI*Et,qt=Nt+Pt;pt===0||Z>=1||Z+Et>1||(y.beginPath(),y.moveTo(N,j),y.arc(N,j,W,Nt,qt),y.closePath(),this.colorFillStyle(y,_t[0],_t[1],_t[2],St),y.fill(),Z+=Et)}};var dg={},Ent=100;dg.getPixelRatio=function(){var y=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var p=y.backingStorePixelRatio||y.webkitBackingStorePixelRatio||y.mozBackingStorePixelRatio||y.msBackingStorePixelRatio||y.oBackingStorePixelRatio||y.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/p},dg.paintCache=function(y){for(var p=this.paintCaches=this.paintCaches||[],x=!0,C,L=0;L<p.length;L++)if(C=p[L],C.context===y){x=!1;break}return x&&(C={context:y},p.push(C)),C},dg.createGradientStyleFor=function(y,p,x,C,L){var O,N=this.usePaths(),j=x.pstyle(p+"-gradient-stop-colors").value,H=x.pstyle(p+"-gradient-stop-positions").pfValue;if(C==="radial-gradient")if(x.isEdge()){var q=x.sourceEndpoint(),W=x.targetEndpoint(),Z=x.midpoint(),st=w4(q,Z),bt=w4(W,Z);O=y.createRadialGradient(Z.x,Z.y,0,Z.x,Z.y,Math.max(st,bt))}else{var pt=N?{x:0,y:0}:x.position(),_t=x.paddedWidth(),St=x.paddedHeight();O=y.createRadialGradient(pt.x,pt.y,0,pt.x,pt.y,Math.max(_t,St))}else if(x.isEdge()){var Et=x.sourceEndpoint(),Nt=x.targetEndpoint();O=y.createLinearGradient(Et.x,Et.y,Nt.x,Nt.y)}else{var Pt=N?{x:0,y:0}:x.position(),qt=x.paddedWidth(),re=x.paddedHeight(),ee=qt/2,Ut=re/2,de=x.pstyle("background-gradient-direction").value;switch(de){case"to-bottom":O=y.createLinearGradient(Pt.x,Pt.y-Ut,Pt.x,Pt.y+Ut);break;case"to-top":O=y.createLinearGradient(Pt.x,Pt.y+Ut,Pt.x,Pt.y-Ut);break;case"to-left":O=y.createLinearGradient(Pt.x+ee,Pt.y,Pt.x-ee,Pt.y);break;case"to-right":O=y.createLinearGradient(Pt.x-ee,Pt.y,Pt.x+ee,Pt.y);break;case"to-bottom-right":case"to-right-bottom":O=y.createLinearGradient(Pt.x-ee,Pt.y-Ut,Pt.x+ee,Pt.y+Ut);break;case"to-top-right":case"to-right-top":O=y.createLinearGradient(Pt.x-ee,Pt.y+Ut,Pt.x+ee,Pt.y-Ut);break;case"to-bottom-left":case"to-left-bottom":O=y.createLinearGradient(Pt.x+ee,Pt.y-Ut,Pt.x-ee,Pt.y+Ut);break;case"to-top-left":case"to-left-top":O=y.createLinearGradient(Pt.x+ee,Pt.y+Ut,Pt.x-ee,Pt.y-Ut);break}}if(!O)return null;for(var Yt=H.length===j.length,Ee=j.length,Te=0;Te<Ee;Te++)O.addColorStop(Yt?H[Te]:Te/(Ee-1),"rgba("+j[Te][0]+","+j[Te][1]+","+j[Te][2]+","+L+")");return O},dg.gradientFillStyle=function(y,p,x,C){var L=this.createGradientStyleFor(y,"background",p,x,C);if(!L)return null;y.fillStyle=L},dg.colorFillStyle=function(y,p,x,C,L){y.fillStyle="rgba("+p+","+x+","+C+","+L+")"},dg.eleFillStyle=function(y,p,x){var C=p.pstyle("background-fill").value;if(C==="linear-gradient"||C==="radial-gradient")this.gradientFillStyle(y,p,C,x);else{var L=p.pstyle("background-color").value;this.colorFillStyle(y,L[0],L[1],L[2],x)}},dg.gradientStrokeStyle=function(y,p,x,C){var L=this.createGradientStyleFor(y,"line",p,x,C);if(!L)return null;y.strokeStyle=L},dg.colorStrokeStyle=function(y,p,x,C,L){y.strokeStyle="rgba("+p+","+x+","+C+","+L+")"},dg.eleStrokeStyle=function(y,p,x){var C=p.pstyle("line-fill").value;if(C==="linear-gradient"||C==="radial-gradient")this.gradientStrokeStyle(y,p,C,x);else{var L=p.pstyle("line-color").value;this.colorStrokeStyle(y,L[0],L[1],L[2],x)}},dg.matchCanvasSize=function(y){var p=this,x=p.data,C=p.findContainerClientCoords(),L=C[2],O=C[3],N=p.getPixelRatio(),j=p.motionBlurPxRatio;(y===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_NODE]||y===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_DRAG])&&(N=j);var H=L*N,q=O*N,W;if(!(H===p.canvasWidth&&q===p.canvasHeight)){p.fontCaches=null;var Z=x.canvasContainer;Z.style.width=L+"px",Z.style.height=O+"px";for(var st=0;st<p.CANVAS_LAYERS;st++)W=x.canvases[st],W.width=H,W.height=q,W.style.width=L+"px",W.style.height=O+"px";for(var st=0;st<p.BUFFER_COUNT;st++)W=x.bufferCanvases[st],W.width=H,W.height=q,W.style.width=L+"px",W.style.height=O+"px";p.textureMult=1,N<=1&&(W=x.bufferCanvases[p.TEXTURE_BUFFER],p.textureMult=2,W.width=H*p.textureMult,W.height=q*p.textureMult),p.canvasWidth=H,p.canvasHeight=q}},dg.renderTo=function(y,p,x,C){this.render({forcedContext:y,forcedZoom:p,forcedPan:x,drawAllLayers:!0,forcedPxRatio:C})},dg.render=function(y){y=y||IB();var p=y.forcedContext,x=y.drawAllLayers,C=y.drawOnlyNodeLayer,L=y.forcedZoom,O=y.forcedPan,N=this,j=y.forcedPxRatio===void 0?this.getPixelRatio():y.forcedPxRatio,H=N.cy,q=N.data,W=q.canvasNeedsRedraw,Z=N.textureOnViewport&&!p&&(N.pinching||N.hoverData.dragging||N.swipePanning||N.data.wheelZooming),st=y.motionBlur!==void 0?y.motionBlur:N.motionBlur,bt=N.motionBlurPxRatio,pt=H.hasCompoundNodes(),_t=N.hoverData.draggingEles,St=!!(N.hoverData.selecting||N.touchData.selecting);st=st&&!p&&N.motionBlurEnabled&&!St;var Et=st;p||(N.prevPxRatio!==j&&(N.invalidateContainerClientCoordsCache(),N.matchCanvasSize(N.container),N.redrawHint("eles",!0),N.redrawHint("drag",!0)),N.prevPxRatio=j),!p&&N.motionBlurTimeout&&clearTimeout(N.motionBlurTimeout),st&&(N.mbFrames==null&&(N.mbFrames=0),N.mbFrames++,N.mbFrames<3&&(Et=!1),N.mbFrames>N.minMbLowQualFrames&&(N.motionBlurPxRatio=N.mbPxRBlurry)),N.clearingMotionBlur&&(N.motionBlurPxRatio=1),N.textureDrawLastFrame&&!Z&&(W[N.NODE]=!0,W[N.SELECT_BOX]=!0);var Nt=H.style(),Pt=H.zoom(),qt=L!==void 0?L:Pt,re=H.pan(),ee={x:re.x,y:re.y},Ut={zoom:Pt,pan:{x:re.x,y:re.y}},de=N.prevViewport,Yt=de===void 0||Ut.zoom!==de.zoom||Ut.pan.x!==de.pan.x||Ut.pan.y!==de.pan.y;!Yt&&!(_t&&!pt)&&(N.motionBlurPxRatio=1),O&&(ee=O),qt*=j,ee.x*=j,ee.y*=j;var Ee=N.getCachedZSortedEles();function Te(vi,si,Qi,ks,as){var Es=vi.globalCompositeOperation;vi.globalCompositeOperation="destination-out",N.colorFillStyle(vi,255,255,255,N.motionBlurTransparency),vi.fillRect(si,Qi,ks,as),vi.globalCompositeOperation=Es}function ie(vi,si){var Qi,ks,as,Es;!N.clearingMotionBlur&&(vi===q.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]||vi===q.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG])?(Qi={x:re.x*bt,y:re.y*bt},ks=Pt*bt,as=N.canvasWidth*bt,Es=N.canvasHeight*bt):(Qi=ee,ks=qt,as=N.canvasWidth,Es=N.canvasHeight),vi.setTransform(1,0,0,1,0,0),si==="motionBlur"?Te(vi,0,0,as,Es):!p&&(si===void 0||si)&&vi.clearRect(0,0,as,Es),x||(vi.translate(Qi.x,Qi.y),vi.scale(ks,ks)),O&&vi.translate(O.x,O.y),L&&vi.scale(L,L)}if(Z||(N.textureDrawLastFrame=!1),Z){if(N.textureDrawLastFrame=!0,!N.textureCache){N.textureCache={},N.textureCache.bb=H.mutableElements().boundingBox(),N.textureCache.texture=N.data.bufferCanvases[N.TEXTURE_BUFFER];var ze=N.data.bufferContexts[N.TEXTURE_BUFFER];ze.setTransform(1,0,0,1,0,0),ze.clearRect(0,0,N.canvasWidth*N.textureMult,N.canvasHeight*N.textureMult),N.render({forcedContext:ze,drawOnlyNodeLayer:!0,forcedPxRatio:j*N.textureMult});var Ut=N.textureCache.viewport={zoom:H.zoom(),pan:H.pan(),width:N.canvasWidth,height:N.canvasHeight};Ut.mpan={x:(0-Ut.pan.x)/Ut.zoom,y:(0-Ut.pan.y)/Ut.zoom}}W[N.DRAG]=!1,W[N.NODE]=!1;var me=q.contexts[N.NODE],yn=N.textureCache.texture,Ut=N.textureCache.viewport;me.setTransform(1,0,0,1,0,0),st?Te(me,0,0,Ut.width,Ut.height):me.clearRect(0,0,Ut.width,Ut.height);var nn=Nt.core("outside-texture-bg-color").value,qe=Nt.core("outside-texture-bg-opacity").value;N.colorFillStyle(me,nn[0],nn[1],nn[2],qe),me.fillRect(0,0,Ut.width,Ut.height);var Pt=H.zoom();ie(me,!1),me.clearRect(Ut.mpan.x,Ut.mpan.y,Ut.width/Ut.zoom/j,Ut.height/Ut.zoom/j),me.drawImage(yn,Ut.mpan.x,Ut.mpan.y,Ut.width/Ut.zoom/j,Ut.height/Ut.zoom/j)}else N.textureOnViewport&&!p&&(N.textureCache=null);var Tn=H.extent(),Xn=N.pinching||N.hoverData.dragging||N.swipePanning||N.data.wheelZooming||N.hoverData.draggingEles||N.cy.animated(),lr=N.hideEdgesOnViewport&&Xn,Sn=[];if(Sn[N.NODE]=!W[N.NODE]&&st&&!N.clearedForMotionBlur[N.NODE]||N.clearingMotionBlur,Sn[N.NODE]&&(N.clearedForMotionBlur[N.NODE]=!0),Sn[N.DRAG]=!W[N.DRAG]&&st&&!N.clearedForMotionBlur[N.DRAG]||N.clearingMotionBlur,Sn[N.DRAG]&&(N.clearedForMotionBlur[N.DRAG]=!0),W[N.NODE]||x||C||Sn[N.NODE]){var or=st&&!Sn[N.NODE]&&bt!==1,me=p||(or?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]:q.contexts[N.NODE]),pr=st&&!or?"motionBlur":void 0;ie(me,pr),lr?N.drawCachedNodes(me,Ee.nondrag,j,Tn):N.drawLayeredElements(me,Ee.nondrag,j,Tn),N.debug&&N.drawDebugPoints(me,Ee.nondrag),!x&&!st&&(W[N.NODE]=!1)}if(!C&&(W[N.DRAG]||x||Sn[N.DRAG])){var or=st&&!Sn[N.DRAG]&&bt!==1,me=p||(or?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG]:q.contexts[N.DRAG]);ie(me,st&&!or?"motionBlur":void 0),lr?N.drawCachedNodes(me,Ee.drag,j,Tn):N.drawCachedElements(me,Ee.drag,j,Tn),N.debug&&N.drawDebugPoints(me,Ee.drag),!x&&!st&&(W[N.DRAG]=!1)}if(N.showFps||!C&&W[N.SELECT_BOX]&&!x){var me=p||q.contexts[N.SELECT_BOX];if(ie(me),N.selection[4]==1&&(N.hoverData.selecting||N.touchData.selecting)){var Pt=N.cy.zoom(),kr=Nt.core("selection-box-border-width").value/Pt;me.lineWidth=kr,me.fillStyle="rgba("+Nt.core("selection-box-color").value[0]+","+Nt.core("selection-box-color").value[1]+","+Nt.core("selection-box-color").value[2]+","+Nt.core("selection-box-opacity").value+")",me.fillRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]),kr>0&&(me.strokeStyle="rgba("+Nt.core("selection-box-border-color").value[0]+","+Nt.core("selection-box-border-color").value[1]+","+Nt.core("selection-box-border-color").value[2]+","+Nt.core("selection-box-opacity").value+")",me.strokeRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]))}if(q.bgActivePosistion&&!N.hoverData.selecting){var Pt=N.cy.zoom(),wr=q.bgActivePosistion;me.fillStyle="rgba("+Nt.core("active-bg-color").value[0]+","+Nt.core("active-bg-color").value[1]+","+Nt.core("active-bg-color").value[2]+","+Nt.core("active-bg-opacity").value+")",me.beginPath(),me.arc(wr.x,wr.y,Nt.core("active-bg-size").pfValue/Pt,0,2*Math.PI),me.fill()}var Cr=N.lastRedrawTime;if(N.showFps&&Cr){Cr=Math.round(Cr);var $n=Math.round(1e3/Cr);me.setTransform(1,0,0,1,0,0),me.fillStyle="rgba(255, 0, 0, 0.75)",me.strokeStyle="rgba(255, 0, 0, 0.75)",me.lineWidth=1,me.fillText("1 frame = "+Cr+" ms = "+$n+" fps",0,20);var cr=60;me.strokeRect(0,30,250,20),me.fillRect(0,30,250*Math.min($n/cr,1),20)}x||(W[N.SELECT_BOX]=!1)}if(st&&bt!==1){var mr=q.contexts[N.NODE],Sr=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_NODE],gi=q.contexts[N.DRAG],ss=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_DRAG],na=function(si,Qi,ks){si.setTransform(1,0,0,1,0,0),ks||!Et?si.clearRect(0,0,N.canvasWidth,N.canvasHeight):Te(si,0,0,N.canvasWidth,N.canvasHeight);var as=bt;si.drawImage(Qi,0,0,N.canvasWidth*as,N.canvasHeight*as,0,0,N.canvasWidth,N.canvasHeight)};(W[N.NODE]||Sn[N.NODE])&&(na(mr,Sr,Sn[N.NODE]),W[N.NODE]=!1),(W[N.DRAG]||Sn[N.DRAG])&&(na(gi,ss,Sn[N.DRAG]),W[N.DRAG]=!1)}N.prevViewport=Ut,N.clearingMotionBlur&&(N.clearingMotionBlur=!1,N.motionBlurCleared=!0,N.motionBlur=!0),st&&(N.motionBlurTimeout=setTimeout(function(){N.motionBlurTimeout=null,N.clearedForMotionBlur[N.NODE]=!1,N.clearedForMotionBlur[N.DRAG]=!1,N.motionBlur=!1,N.clearingMotionBlur=!Z,N.mbFrames=0,W[N.NODE]=!0,W[N.DRAG]=!0,N.redraw()},Ent)),p||H.emit("render")};var gy={};gy.drawPolygonPath=function(y,p,x,C,L,O){var N=C/2,j=L/2;y.beginPath&&y.beginPath(),y.moveTo(p+N*O[0],x+j*O[1]);for(var H=1;H<O.length/2;H++)y.lineTo(p+N*O[H*2],x+j*O[H*2+1]);y.closePath()},gy.drawRoundPolygonPath=function(y,p,x,C,L,O){var N=C/2,j=L/2,H=HD(C,L);y.beginPath&&y.beginPath();for(var q=0;q<O.length/4;q++){var W=void 0,Z=void 0;q===0?W=O.length-2:W=q*4-2,Z=q*4+2;var st=p+N*O[q*4],bt=x+j*O[q*4+1],pt=-O[W]*O[Z]-O[W+1]*O[Z+1],_t=H/Math.tan(Math.acos(pt)/2),St=st-_t*O[W],Et=bt-_t*O[W+1],Nt=st+_t*O[Z],Pt=bt+_t*O[Z+1];q===0?y.moveTo(St,Et):y.lineTo(St,Et),y.arcTo(st,bt,Nt,Pt,H)}y.closePath()},gy.drawRoundRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=R8(C,L);y.beginPath&&y.beginPath(),y.moveTo(p,x-N),y.arcTo(p+O,x-N,p+O,x,j),y.arcTo(p+O,x+N,p,x+N,j),y.arcTo(p-O,x+N,p-O,x,j),y.arcTo(p-O,x-N,p,x-N,j),y.lineTo(p,x-N),y.closePath()},gy.drawBottomRoundRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=R8(C,L);y.beginPath&&y.beginPath(),y.moveTo(p,x-N),y.lineTo(p+O,x-N),y.lineTo(p+O,x),y.arcTo(p+O,x+N,p,x+N,j),y.arcTo(p-O,x+N,p-O,x,j),y.lineTo(p-O,x-N),y.lineTo(p,x-N),y.closePath()},gy.drawCutRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=qB();y.beginPath&&y.beginPath(),y.moveTo(p-O+j,x-N),y.lineTo(p+O-j,x-N),y.lineTo(p+O,x-N+j),y.lineTo(p+O,x+N-j),y.lineTo(p+O-j,x+N),y.lineTo(p-O+j,x+N),y.lineTo(p-O,x+N-j),y.lineTo(p-O,x-N+j),y.closePath()},gy.drawBarrelPath=function(y,p,x,C,L){var O=C/2,N=L/2,j=p-O,H=p+O,q=x-N,W=x+N,Z=VD(C,L),st=Z.widthOffset,bt=Z.heightOffset,pt=Z.ctrlPtOffsetPct*st;y.beginPath&&y.beginPath(),y.moveTo(j,q+bt),y.lineTo(j,W-bt),y.quadraticCurveTo(j+pt,W,j+st,W),y.lineTo(H-st,W),y.quadraticCurveTo(H-pt,W,H,W-bt),y.lineTo(H,q+bt),y.quadraticCurveTo(H-pt,q,H-st,q),y.lineTo(j+st,q),y.quadraticCurveTo(j+pt,q,j,q+bt),y.closePath()};for(var Vj=Math.sin(0),Uj=Math.cos(0),TM={},CM={},Gj=Math.PI/40,w6=0*Math.PI;w6<2*Math.PI;w6+=Gj)TM[w6]=Math.sin(w6),CM[w6]=Math.cos(w6);gy.drawEllipsePath=function(y,p,x,C,L){if(y.beginPath&&y.beginPath(),y.ellipse)y.ellipse(p,x,C/2,L/2,0,0,2*Math.PI);else for(var O,N,j=C/2,H=L/2,q=0*Math.PI;q<2*Math.PI;q+=Gj)O=p-j*TM[q]*Vj+j*CM[q]*Uj,N=x+H*CM[q]*Vj+H*TM[q]*Uj,q===0?y.moveTo(O,N):y.lineTo(O,N);y.closePath()};var oE={};oE.createBuffer=function(y,p){var x=document.createElement("canvas");return x.width=y,x.height=p,[x,x.getContext("2d")]},oE.bufferCanvasImage=function(y){var p=this.cy,x=p.mutableElements(),C=x.boundingBox(),L=this.findContainerClientCoords(),O=y.full?Math.ceil(C.w):L[2],N=y.full?Math.ceil(C.h):L[3],j=Q(y.maxWidth)||Q(y.maxHeight),H=this.getPixelRatio(),q=1;if(y.scale!==void 0)O*=y.scale,N*=y.scale,q=y.scale;else if(j){var W=1/0,Z=1/0;Q(y.maxWidth)&&(W=q*y.maxWidth/O),Q(y.maxHeight)&&(Z=q*y.maxHeight/N),q=Math.min(W,Z),O*=q,N*=q}j||(O*=H,N*=H,q*=H);var st=document.createElement("canvas");st.width=O,st.height=N,st.style.width=O+"px",st.style.height=N+"px";var bt=st.getContext("2d");if(O>0&&N>0){bt.clearRect(0,0,O,N),bt.globalCompositeOperation="source-over";var pt=this.getCachedZSortedEles();if(y.full)bt.translate(-C.x1*q,-C.y1*q),bt.scale(q,q),this.drawElements(bt,pt),bt.scale(1/q,1/q),bt.translate(C.x1*q,C.y1*q);else{var _t=p.pan(),St={x:_t.x*q,y:_t.y*q};q*=p.zoom(),bt.translate(St.x,St.y),bt.scale(q,q),this.drawElements(bt,pt),bt.scale(1/q,1/q),bt.translate(-St.x,-St.y)}y.bg&&(bt.globalCompositeOperation="destination-over",bt.fillStyle=y.bg,bt.rect(0,0,O,N),bt.fill())}return st};function Tnt(y,p){for(var x=atob(y),C=new ArrayBuffer(x.length),L=new Uint8Array(C),O=0;O<x.length;O++)L[O]=x.charCodeAt(O);return new Blob([C],{type:p})}function Kj(y){var p=y.indexOf(",");return y.substr(p+1)}function Wj(y,p,x){var C=function(){return p.toDataURL(x,y.quality)};switch(y.output){case"blob-promise":return new e6(function(L,O){try{p.toBlob(function(N){N!=null?L(N):O(new Error("`canvas.toBlob()` sent a null value in its callback"))},x,y.quality)}catch(N){O(N)}});case"blob":return Tnt(Kj(C()),x);case"base64":return Kj(C());case"base64uri":default:return C()}}oE.png=function(y){return Wj(y,this.bufferCanvasImage(y),"image/png")},oE.jpg=function(y){return Wj(y,this.bufferCanvasImage(y),"image/jpeg")};var Yj={};Yj.nodeShapeImpl=function(y,p,x,C,L,O,N){switch(y){case"ellipse":return this.drawEllipsePath(p,x,C,L,O);case"polygon":return this.drawPolygonPath(p,x,C,L,O,N);case"round-polygon":return this.drawRoundPolygonPath(p,x,C,L,O,N);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(p,x,C,L,O);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(p,x,C,L,O);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(p,x,C,L,O);case"barrel":return this.drawBarrelPath(p,x,C,L,O)}};var Xj=cE,xc=cE.prototype;xc.CANVAS_LAYERS=3,xc.SELECT_BOX=0,xc.DRAG=1,xc.NODE=2,xc.BUFFER_COUNT=3,xc.TEXTURE_BUFFER=0,xc.MOTIONBLUR_BUFFER_NODE=1,xc.MOTIONBLUR_BUFFER_DRAG=2;function cE(y){var p=this;p.data={canvases:new Array(xc.CANVAS_LAYERS),contexts:new Array(xc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(xc.CANVAS_LAYERS),bufferCanvases:new Array(xc.BUFFER_COUNT),bufferContexts:new Array(xc.CANVAS_LAYERS)};var x="-webkit-tap-highlight-color",C="rgba(0,0,0,0)";p.data.canvasContainer=document.createElement("div");var L=p.data.canvasContainer.style;p.data.canvasContainer.style[x]=C,L.position="relative",L.zIndex="0",L.overflow="hidden";var O=y.cy.container();O.appendChild(p.data.canvasContainer),O.style[x]=C;var N={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Fe()&&(N["-ms-touch-action"]="none",N["touch-action"]="none");for(var j=0;j<xc.CANVAS_LAYERS;j++){var H=p.data.canvases[j]=document.createElement("canvas");p.data.contexts[j]=H.getContext("2d"),Object.keys(N).forEach(function(Cr){H.style[Cr]=N[Cr]}),H.style.position="absolute",H.setAttribute("data-id","layer"+j),H.style.zIndex=String(xc.CANVAS_LAYERS-j),p.data.canvasContainer.appendChild(H),p.data.canvasNeedsRedraw[j]=!1}p.data.topCanvas=p.data.canvases[0],p.data.canvases[xc.NODE].setAttribute("data-id","layer"+xc.NODE+"-node"),p.data.canvases[xc.SELECT_BOX].setAttribute("data-id","layer"+xc.SELECT_BOX+"-selectbox"),p.data.canvases[xc.DRAG].setAttribute("data-id","layer"+xc.DRAG+"-drag");for(var j=0;j<xc.BUFFER_COUNT;j++)p.data.bufferCanvases[j]=document.createElement("canvas"),p.data.bufferContexts[j]=p.data.bufferCanvases[j].getContext("2d"),p.data.bufferCanvases[j].style.position="absolute",p.data.bufferCanvases[j].setAttribute("data-id","buffer"+j),p.data.bufferCanvases[j].style.zIndex=String(-j-1),p.data.bufferCanvases[j].style.visibility="hidden";p.pathsEnabled=!0;var q=v0(),W=function($n){return{x:($n.x1+$n.x2)/2,y:($n.y1+$n.y2)/2}},Z=function($n){return{x:-$n.w/2,y:-$n.h/2}},st=function($n){var cr=$n[0]._private,mr=cr.oldBackgroundTimestamp===cr.backgroundTimestamp;return!mr},bt=function($n){return $n[0]._private.nodeKey},pt=function($n){return $n[0]._private.labelStyleKey},_t=function($n){return $n[0]._private.sourceLabelStyleKey},St=function($n){return $n[0]._private.targetLabelStyleKey},Et=function($n,cr,mr,Sr,gi){return p.drawElement($n,cr,mr,!1,!1,gi)},Nt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"main",gi)},Pt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"source",gi)},qt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"target",gi)},re=function($n){return $n.boundingBox(),$n[0]._private.bodyBounds},ee=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.main||q},Ut=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.source||q},de=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.target||q},Yt=function($n,cr){return cr},Ee=function($n){return W(re($n))},Te=function($n,cr,mr){var Sr=$n?$n+"-":"";return{x:cr.x+mr.pstyle(Sr+"text-margin-x").pfValue,y:cr.y+mr.pstyle(Sr+"text-margin-y").pfValue}},ie=function($n,cr,mr){var Sr=$n[0]._private.rscratch;return{x:Sr[cr],y:Sr[mr]}},ze=function($n){return Te("",ie($n,"labelX","labelY"),$n)},me=function($n){return Te("source",ie($n,"sourceLabelX","sourceLabelY"),$n)},yn=function($n){return Te("target",ie($n,"targetLabelX","targetLabelY"),$n)},nn=function($n){return Z(re($n))},qe=function($n){return Z(Ut($n))},Tn=function($n){return Z(de($n))},Xn=function($n){var cr=ee($n),mr=Z(ee($n));if($n.isNode()){switch($n.pstyle("text-halign").value){case"left":mr.x=-cr.w;break;case"right":mr.x=0;break}switch($n.pstyle("text-valign").value){case"top":mr.y=-cr.h;break;case"bottom":mr.y=0;break}}return mr},lr=p.data.eleTxrCache=new rE(p,{getKey:bt,doesEleInvalidateKey:st,drawElement:Et,getBoundingBox:re,getRotationPoint:Ee,getRotationOffset:nn,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),Sn=p.data.lblTxrCache=new rE(p,{getKey:pt,drawElement:Nt,getBoundingBox:ee,getRotationPoint:ze,getRotationOffset:Xn,isVisible:Yt}),or=p.data.slbTxrCache=new rE(p,{getKey:_t,drawElement:Pt,getBoundingBox:Ut,getRotationPoint:me,getRotationOffset:qe,isVisible:Yt}),pr=p.data.tlbTxrCache=new rE(p,{getKey:St,drawElement:qt,getBoundingBox:de,getRotationPoint:yn,getRotationOffset:Tn,isVisible:Yt}),kr=p.data.lyrTxrCache=new Bj(p);p.onUpdateEleCalcs(function($n,cr){lr.invalidateElements(cr),Sn.invalidateElements(cr),or.invalidateElements(cr),pr.invalidateElements(cr),kr.invalidateElements(cr);for(var mr=0;mr<cr.length;mr++){var Sr=cr[mr]._private;Sr.oldBackgroundTimestamp=Sr.backgroundTimestamp}});var wr=function($n){for(var cr=0;cr<$n.length;cr++)kr.enqueueElementRefinement($n[cr].ele)};lr.onDequeue(wr),Sn.onDequeue(wr),or.onDequeue(wr),pr.onDequeue(wr)}xc.redrawHint=function(y,p){var x=this;switch(y){case"eles":x.data.canvasNeedsRedraw[xc.NODE]=p;break;case"drag":x.data.canvasNeedsRedraw[xc.DRAG]=p;break;case"select":x.data.canvasNeedsRedraw[xc.SELECT_BOX]=p;break}};var uE=typeof Path2D<"u";xc.path2dEnabled=function(y){if(y===void 0)return this.pathsEnabled;this.pathsEnabled=!!y},xc.usePaths=function(){return uE&&this.pathsEnabled},xc.setImgSmoothing=function(y,p){y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled=p:(y.webkitImageSmoothingEnabled=p,y.mozImageSmoothingEnabled=p,y.msImageSmoothingEnabled=p)},xc.getImgSmoothing=function(y){return y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled:y.webkitImageSmoothingEnabled||y.mozImageSmoothingEnabled||y.msImageSmoothingEnabled},xc.makeOffscreenCanvas=function(y,p){var x;return(typeof OffscreenCanvas>"u"?"undefined":f(OffscreenCanvas))!=="undefined"?x=new OffscreenCanvas(y,p):(x=document.createElement("canvas"),x.width=y,x.height=p),x},[jj,bb,wb,aE,S4,b6,dg,gy,oE,Yj].forEach(function(y){we(xc,y)});var cp=[{name:"null",impl:mj},{name:"base",impl:Dj},{name:"canvas",impl:Xj}],Cnt=[{type:"layout",extensions:Vet},{type:"renderer",extensions:cp}],Snt={},_nt={};function Ant(y,p,x){var C=x,L=function(de){Gc("Can not register `"+p+"` for `"+y+"` since `"+de+"` already exists in the prototype and can not be overridden")};if(y==="core"){if(tE.prototype[p])return L(p);tE.prototype[p]=x}else if(y==="collection"){if(w1.prototype[p])return L(p);w1.prototype[p]=x}else if(y==="layout"){for(var O=function(de){this.options=de,x.call(this,de),it(this._private)||(this._private={}),this._private.cy=de.cy,this._private.listeners=[],this.createEmitter()},N=O.prototype=Object.create(x.prototype),j=[],H=0;H<j.length;H++){var q=j[H];N[q]=N[q]||function(){return this}}N.start&&!N.run?N.run=function(){return this.start(),this}:!N.start&&N.run&&(N.start=function(){return this.run(),this});var W=x.prototype.stop;N.stop=function(){var Ut=this.options;if(Ut&&Ut.animate){var de=this.animations;if(de)for(var Yt=0;Yt<de.length;Yt++)de[Yt].stop()}return W?W.call(this):this.emit("layoutstop"),this},N.destroy||(N.destroy=function(){return this}),N.cy=function(){return this._private.cy};var Z=function(de){return de._private.cy},st={addEventFields:function(de,Yt){Yt.layout=de,Yt.cy=Z(de),Yt.target=de},bubble:function(){return!0},parent:function(de){return Z(de)}};we(N,{createEmitter:function(){return this._private.emitter=new dC(st,this),this},emitter:function(){return this._private.emitter},on:function(de,Yt){return this.emitter().on(de,Yt),this},one:function(de,Yt){return this.emitter().one(de,Yt),this},once:function(de,Yt){return this.emitter().one(de,Yt),this},removeListener:function(de,Yt){return this.emitter().removeListener(de,Yt),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(de,Yt){return this.emitter().emit(de,Yt),this}}),Kc.eventAliasesOn(N),C=O}else if(y==="renderer"&&p!=="null"&&p!=="base"){var bt=Lnt("renderer","base"),pt=bt.prototype,_t=x,St=x.prototype,Et=function(){bt.apply(this,arguments),_t.apply(this,arguments)},Nt=Et.prototype;for(var Pt in pt){var qt=pt[Pt],re=St[Pt]!=null;if(re)return L(Pt);Nt[Pt]=qt}for(var ee in St)Nt[ee]=St[ee];pt.clientFunctions.forEach(function(Ut){Nt[Ut]=Nt[Ut]||function(){$l("Renderer does not implement `renderer."+Ut+"()` on its prototype")}}),C=Et}else if(y==="__proto__"||y==="constructor"||y==="prototype")return $l(y+" is an illegal type to be registered, possibly lead to prototype pollutions");return An({map:Snt,keys:[y,p],value:C})}function Lnt(y,p){return Nn({map:Snt,keys:[y,p]})}function Qj(y,p,x,C,L){return An({map:_nt,keys:[y,p,x,C],value:L})}function L2t(y,p,x,C){return Nn({map:_nt,keys:[y,p,x,C]})}var Jj=function(){if(arguments.length===2)return Lnt.apply(null,arguments);if(arguments.length===3)return Ant.apply(null,arguments);if(arguments.length===4)return L2t.apply(null,arguments);if(arguments.length===5)return Qj.apply(null,arguments);$l("Invalid extension access syntax")};tE.prototype.extension=Jj,Cnt.forEach(function(y){y.extensions.forEach(function(p){Ant(y.type,p.name,p.impl)})});var Dnt=function y(){if(!(this instanceof y))return new y;this.length=0},m6=Dnt.prototype;m6.instanceString=function(){return"stylesheet"},m6.selector=function(y){var p=this.length++;return this[p]={selector:y,properties:[]},this},m6.css=function(y,p){var x=this.length-1;if(mt(y))this[x].properties.push({name:y,value:p});else if(it(y))for(var C=y,L=Object.keys(C),O=0;O<L.length;O++){var N=L[O],j=C[N];if(j!=null){var H=Y1.properties[N]||Y1.properties[Ae(N)];if(H!=null){var q=H.name,W=j;this[x].properties.push({name:q,value:W})}}}return this},m6.style=m6.css,m6.generateStyle=function(y){var p=new Y1(y);return this.appendToStyle(p)},m6.appendToStyle=function(y){for(var p=0;p<this.length;p++){var x=this[p],C=x.selector,L=x.properties;y.selector(C);for(var O=0;O<L.length;O++){var N=L[O];y.css(N.name,N.value)}}return y};var D2t="3.28.1",v6=function(p){if(p===void 0&&(p={}),it(p))return new tE(p);if(mt(p))return Jj.apply(Jj,arguments)};return v6.use=function(y){var p=Array.prototype.slice.call(arguments,1);return p.unshift(v6),y.apply(null,p),this},v6.warnings=function(y){return U9(y)},v6.version=D2t,v6.stylesheet=v6.Stylesheet=Dnt,v6})})(GHt);var een=GHt.exports;const KHt=e9(een);var WHt={exports:{}},p2t={exports:{}},b2t={exports:{}},YHt;function nen(){return YHt||(YHt=1,function(i,a){(function(g,w){i.exports=w()})(Z0,function(){return function(f){var g={};function w(v){if(g[v])return g[v].exports;var b=g[v]={i:v,l:!1,exports:{}};return f[v].call(b.exports,b,b.exports,w),b.l=!0,b.exports}return w.m=f,w.c=g,w.i=function(v){return v},w.d=function(v,b,E){w.o(v,b)||Object.defineProperty(v,b,{configurable:!1,enumerable:!0,get:E})},w.n=function(v){var b=v&&v.__esModule?function(){return v.default}:function(){return v};return w.d(b,"a",b),b},w.o=function(v,b){return Object.prototype.hasOwnProperty.call(v,b)},w.p="",w(w.s=26)}([function(f,g,w){function v(){}v.QUALITY=1,v.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,v.DEFAULT_INCREMENTAL=!1,v.DEFAULT_ANIMATION_ON_LAYOUT=!0,v.DEFAULT_ANIMATION_DURING_LAYOUT=!1,v.DEFAULT_ANIMATION_PERIOD=50,v.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,v.DEFAULT_GRAPH_MARGIN=15,v.NODE_DIMENSIONS_INCLUDE_LABELS=!1,v.SIMPLE_NODE_SIZE=40,v.SIMPLE_NODE_HALF_SIZE=v.SIMPLE_NODE_SIZE/2,v.EMPTY_COMPOUND_NODE_SIZE=40,v.MIN_EDGE_LENGTH=1,v.WORLD_BOUNDARY=1e6,v.INITIAL_WORLD_BOUNDARY=v.WORLD_BOUNDARY/1e3,v.WORLD_CENTER_X=1200,v.WORLD_CENTER_Y=900,f.exports=v},function(f,g,w){var v=w(2),b=w(8),E=w(9);function S(M,F,R){v.call(this,R),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=R,this.bendpoints=[],this.source=M,this.target=F}S.prototype=Object.create(v.prototype);for(var _ in v)S[_]=v[_];S.prototype.getSource=function(){return this.source},S.prototype.getTarget=function(){return this.target},S.prototype.isInterGraph=function(){return this.isInterGraph},S.prototype.getLength=function(){return this.length},S.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},S.prototype.getBendpoints=function(){return this.bendpoints},S.prototype.getLca=function(){return this.lca},S.prototype.getSourceInLca=function(){return this.sourceInLca},S.prototype.getTargetInLca=function(){return this.targetInLca},S.prototype.getOtherEnd=function(M){if(this.source===M)return this.target;if(this.target===M)return this.source;throw"Node is not incident with this edge"},S.prototype.getOtherEndInGraph=function(M,F){for(var R=this.getOtherEnd(M),B=F.getGraphManager().getRoot();;){if(R.getOwner()==F)return R;if(R.getOwner()==B)break;R=R.getOwner().getParent()}return null},S.prototype.updateLength=function(){var M=new Array(4);this.isOverlapingSourceAndTarget=b.getIntersection(this.target.getRect(),this.source.getRect(),M),this.isOverlapingSourceAndTarget||(this.lengthX=M[0]-M[2],this.lengthY=M[1]-M[3],Math.abs(this.lengthX)<1&&(this.lengthX=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},S.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=S},function(f,g,w){function v(b){this.vGraphObject=b}f.exports=v},function(f,g,w){var v=w(2),b=w(10),E=w(13),S=w(0),_=w(16),M=w(4);function F(B,z,Y,nt){Y==null&&nt==null&&(nt=z),v.call(this,nt),B.graphManager!=null&&(B=B.graphManager),this.estimatedSize=b.MIN_VALUE,this.inclusionTreeDepth=b.MAX_VALUE,this.vGraphObject=nt,this.edges=[],this.graphManager=B,Y!=null&&z!=null?this.rect=new E(z.x,z.y,Y.width,Y.height):this.rect=new E}F.prototype=Object.create(v.prototype);for(var R in v)F[R]=v[R];F.prototype.getEdges=function(){return this.edges},F.prototype.getChild=function(){return this.child},F.prototype.getOwner=function(){return this.owner},F.prototype.getWidth=function(){return this.rect.width},F.prototype.setWidth=function(B){this.rect.width=B},F.prototype.getHeight=function(){return this.rect.height},F.prototype.setHeight=function(B){this.rect.height=B},F.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},F.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},F.prototype.getCenter=function(){return new M(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},F.prototype.getLocation=function(){return new M(this.rect.x,this.rect.y)},F.prototype.getRect=function(){return this.rect},F.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},F.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},F.prototype.setRect=function(B,z){this.rect.x=B.x,this.rect.y=B.y,this.rect.width=z.width,this.rect.height=z.height},F.prototype.setCenter=function(B,z){this.rect.x=B-this.rect.width/2,this.rect.y=z-this.rect.height/2},F.prototype.setLocation=function(B,z){this.rect.x=B,this.rect.y=z},F.prototype.moveBy=function(B,z){this.rect.x+=B,this.rect.y+=z},F.prototype.getEdgeListToNode=function(B){var z=[],Y=this;return Y.edges.forEach(function(nt){if(nt.target==B){if(nt.source!=Y)throw"Incorrect edge source!";z.push(nt)}}),z},F.prototype.getEdgesBetween=function(B){var z=[],Y=this;return Y.edges.forEach(function(nt){if(!(nt.source==Y||nt.target==Y))throw"Incorrect edge source and/or target";(nt.target==B||nt.source==B)&&z.push(nt)}),z},F.prototype.getNeighborsList=function(){var B=new Set,z=this;return z.edges.forEach(function(Y){if(Y.source==z)B.add(Y.target);else{if(Y.target!=z)throw"Incorrect incidency!";B.add(Y.source)}}),B},F.prototype.withChildren=function(){var B=new Set,z,Y;if(B.add(this),this.child!=null)for(var nt=this.child.getNodes(),ot=0;ot<nt.length;ot++)z=nt[ot],Y=z.withChildren(),Y.forEach(function(ft){B.add(ft)});return B},F.prototype.getNoOfChildren=function(){var B=0,z;if(this.child==null)B=1;else for(var Y=this.child.getNodes(),nt=0;nt<Y.length;nt++)z=Y[nt],B+=z.getNoOfChildren();return B==0&&(B=1),B},F.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},F.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},F.prototype.scatter=function(){var B,z,Y=-S.INITIAL_WORLD_BOUNDARY,nt=S.INITIAL_WORLD_BOUNDARY;B=S.WORLD_CENTER_X+_.nextDouble()*(nt-Y)+Y;var ot=-S.INITIAL_WORLD_BOUNDARY,ft=S.INITIAL_WORLD_BOUNDARY;z=S.WORLD_CENTER_Y+_.nextDouble()*(ft-ot)+ot,this.rect.x=B,this.rect.y=z},F.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var B=this.getChild();if(B.updateBounds(!0),this.rect.x=B.getLeft(),this.rect.y=B.getTop(),this.setWidth(B.getRight()-B.getLeft()),this.setHeight(B.getBottom()-B.getTop()),S.NODE_DIMENSIONS_INCLUDE_LABELS){var z=B.getRight()-B.getLeft(),Y=B.getBottom()-B.getTop();this.labelWidth>z&&(this.rect.x-=(this.labelWidth-z)/2,this.setWidth(this.labelWidth)),this.labelHeight>Y&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-Y)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-Y),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(B){var z=this.rect.x;z>S.WORLD_BOUNDARY?z=S.WORLD_BOUNDARY:z<-S.WORLD_BOUNDARY&&(z=-S.WORLD_BOUNDARY);var Y=this.rect.y;Y>S.WORLD_BOUNDARY?Y=S.WORLD_BOUNDARY:Y<-S.WORLD_BOUNDARY&&(Y=-S.WORLD_BOUNDARY);var nt=new M(z,Y),ot=B.inverseTransformPoint(nt);this.setLocation(ot.x,ot.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=F},function(f,g,w){function v(b,E){b==null&&E==null?(this.x=0,this.y=0):(this.x=b,this.y=E)}v.prototype.getX=function(){return this.x},v.prototype.getY=function(){return this.y},v.prototype.setX=function(b){this.x=b},v.prototype.setY=function(b){this.y=b},v.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},v.prototype.getCopy=function(){return new v(this.x,this.y)},v.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},f.exports=v},function(f,g,w){var v=w(2),b=w(10),E=w(0),S=w(6),_=w(3),M=w(1),F=w(13),R=w(12),B=w(11);function z(nt,ot,ft){v.call(this,ft),this.estimatedSize=b.MIN_VALUE,this.margin=E.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=nt,ot!=null&&ot instanceof S?this.graphManager=ot:ot!=null&&ot instanceof Layout&&(this.graphManager=ot.graphManager)}z.prototype=Object.create(v.prototype);for(var Y in v)z[Y]=v[Y];z.prototype.getNodes=function(){return this.nodes},z.prototype.getEdges=function(){return this.edges},z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getParent=function(){return this.parent},z.prototype.getLeft=function(){return this.left},z.prototype.getRight=function(){return this.right},z.prototype.getTop=function(){return this.top},z.prototype.getBottom=function(){return this.bottom},z.prototype.isConnected=function(){return this.isConnected},z.prototype.add=function(nt,ot,ft){if(ot==null&&ft==null){var wt=nt;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(wt)>-1)throw"Node already in graph!";return wt.owner=this,this.getNodes().push(wt),wt}else{var mt=nt;if(!(this.getNodes().indexOf(ot)>-1&&this.getNodes().indexOf(ft)>-1))throw"Source or target not in graph!";if(!(ot.owner==ft.owner&&ot.owner==this))throw"Both owners must be this graph!";return ot.owner!=ft.owner?null:(mt.source=ot,mt.target=ft,mt.isInterGraph=!1,this.getEdges().push(mt),ot.edges.push(mt),ft!=ot&&ft.edges.push(mt),mt)}},z.prototype.remove=function(nt){var ot=nt;if(nt instanceof _){if(ot==null)throw"Node is null!";if(!(ot.owner!=null&&ot.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var ft=ot.edges.slice(),wt,mt=ft.length,ct=0;ct<mt;ct++)wt=ft[ct],wt.isInterGraph?this.graphManager.remove(wt):wt.source.owner.remove(wt);var rt=this.nodes.indexOf(ot);if(rt==-1)throw"Node not in owner node list!";this.nodes.splice(rt,1)}else if(nt instanceof M){var wt=nt;if(wt==null)throw"Edge is null!";if(!(wt.source!=null&&wt.target!=null))throw"Source and/or target is null!";if(!(wt.source.owner!=null&&wt.target.owner!=null&&wt.source.owner==this&&wt.target.owner==this))throw"Source and/or target owner is invalid!";var it=wt.source.edges.indexOf(wt),gt=wt.target.edges.indexOf(wt);if(!(it>-1&&gt>-1))throw"Source and/or target doesn't know this edge!";wt.source.edges.splice(it,1),wt.target!=wt.source&&wt.target.edges.splice(gt,1);var rt=wt.source.owner.getEdges().indexOf(wt);if(rt==-1)throw"Not in owner's edge list!";wt.source.owner.getEdges().splice(rt,1)}},z.prototype.updateLeftTop=function(){for(var nt=b.MAX_VALUE,ot=b.MAX_VALUE,ft,wt,mt,ct=this.getNodes(),rt=ct.length,it=0;it<rt;it++){var gt=ct[it];ft=gt.getTop(),wt=gt.getLeft(),nt>ft&&(nt=ft),ot>wt&&(ot=wt)}return nt==b.MAX_VALUE?null:(ct[0].getParent().paddingLeft!=null?mt=ct[0].getParent().paddingLeft:mt=this.margin,this.left=ot-mt,this.top=nt-mt,new R(this.left,this.top))},z.prototype.updateBounds=function(nt){for(var ot=b.MAX_VALUE,ft=-b.MAX_VALUE,wt=b.MAX_VALUE,mt=-b.MAX_VALUE,ct,rt,it,gt,Q,dt=this.nodes,K=dt.length,yt=0;yt<K;yt++){var V=dt[yt];nt&&V.child!=null&&V.updateBounds(),ct=V.getLeft(),rt=V.getRight(),it=V.getTop(),gt=V.getBottom(),ot>ct&&(ot=ct),ft<rt&&(ft=rt),wt>it&&(wt=it),mt<gt&&(mt=gt)}var Ot=new F(ot,wt,ft-ot,mt-wt);ot==b.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),dt[0].getParent().paddingLeft!=null?Q=dt[0].getParent().paddingLeft:Q=this.margin,this.left=Ot.x-Q,this.right=Ot.x+Ot.width+Q,this.top=Ot.y-Q,this.bottom=Ot.y+Ot.height+Q},z.calculateBounds=function(nt){for(var ot=b.MAX_VALUE,ft=-b.MAX_VALUE,wt=b.MAX_VALUE,mt=-b.MAX_VALUE,ct,rt,it,gt,Q=nt.length,dt=0;dt<Q;dt++){var K=nt[dt];ct=K.getLeft(),rt=K.getRight(),it=K.getTop(),gt=K.getBottom(),ot>ct&&(ot=ct),ft<rt&&(ft=rt),wt>it&&(wt=it),mt<gt&&(mt=gt)}var yt=new F(ot,wt,ft-ot,mt-wt);return yt},z.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},z.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},z.prototype.calcEstimatedSize=function(){for(var nt=0,ot=this.nodes,ft=ot.length,wt=0;wt<ft;wt++){var mt=ot[wt];nt+=mt.calcEstimatedSize()}return nt==0?this.estimatedSize=E.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=nt/Math.sqrt(this.nodes.length),this.estimatedSize},z.prototype.updateConnected=function(){var nt=this;if(this.nodes.length==0){this.isConnected=!0;return}var ot=new B,ft=new Set,wt=this.nodes[0],mt,ct,rt=wt.withChildren();for(rt.forEach(function(yt){ot.push(yt),ft.add(yt)});ot.length!==0;){wt=ot.shift(),mt=wt.getEdges();for(var it=mt.length,gt=0;gt<it;gt++){var Q=mt[gt];if(ct=Q.getOtherEndInGraph(wt,this),ct!=null&&!ft.has(ct)){var dt=ct.withChildren();dt.forEach(function(yt){ot.push(yt),ft.add(yt)})}}}if(this.isConnected=!1,ft.size>=this.nodes.length){var K=0;ft.forEach(function(yt){yt.owner==nt&&K++}),K==this.nodes.length&&(this.isConnected=!0)}},f.exports=z},function(f,g,w){var v,b=w(1);function E(S){v=w(5),this.layout=S,this.graphs=[],this.edges=[]}E.prototype.addRoot=function(){var S=this.layout.newGraph(),_=this.layout.newNode(null),M=this.add(S,_);return this.setRootGraph(M),this.rootGraph},E.prototype.add=function(S,_,M,F,R){if(M==null&&F==null&&R==null){if(S==null)throw"Graph is null!";if(_==null)throw"Parent node is null!";if(this.graphs.indexOf(S)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(S),S.parent!=null)throw"Already has a parent!";if(_.child!=null)throw"Already has a child!";return S.parent=_,_.child=S,S}else{R=M,F=_,M=S;var B=F.getOwner(),z=R.getOwner();if(!(B!=null&&B.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(z!=null&&z.getGraphManager()==this))throw"Target not in this graph mgr!";if(B==z)return M.isInterGraph=!1,B.add(M,F,R);if(M.isInterGraph=!0,M.source=F,M.target=R,this.edges.indexOf(M)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(M),!(M.source!=null&&M.target!=null))throw"Edge source and/or target is null!";if(!(M.source.edges.indexOf(M)==-1&&M.target.edges.indexOf(M)==-1))throw"Edge already in source and/or target incidency list!";return M.source.edges.push(M),M.target.edges.push(M),M}},E.prototype.remove=function(S){if(S instanceof v){var _=S;if(_.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(_==this.rootGraph||_.parent!=null&&_.parent.graphManager==this))throw"Invalid parent node!";var M=[];M=M.concat(_.getEdges());for(var F,R=M.length,B=0;B<R;B++)F=M[B],_.remove(F);var z=[];z=z.concat(_.getNodes());var Y;R=z.length;for(var B=0;B<R;B++)Y=z[B],_.remove(Y);_==this.rootGraph&&this.setRootGraph(null);var nt=this.graphs.indexOf(_);this.graphs.splice(nt,1),_.parent=null}else if(S instanceof b){if(F=S,F==null)throw"Edge is null!";if(!F.isInterGraph)throw"Not an inter-graph edge!";if(!(F.source!=null&&F.target!=null))throw"Source and/or target is null!";if(!(F.source.edges.indexOf(F)!=-1&&F.target.edges.indexOf(F)!=-1))throw"Source and/or target doesn't know this edge!";var nt=F.source.edges.indexOf(F);if(F.source.edges.splice(nt,1),nt=F.target.edges.indexOf(F),F.target.edges.splice(nt,1),!(F.source.owner!=null&&F.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(F.source.owner.getGraphManager().edges.indexOf(F)==-1)throw"Not in owner graph manager's edge list!";var nt=F.source.owner.getGraphManager().edges.indexOf(F);F.source.owner.getGraphManager().edges.splice(nt,1)}},E.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},E.prototype.getGraphs=function(){return this.graphs},E.prototype.getAllNodes=function(){if(this.allNodes==null){for(var S=[],_=this.getGraphs(),M=_.length,F=0;F<M;F++)S=S.concat(_[F].getNodes());this.allNodes=S}return this.allNodes},E.prototype.resetAllNodes=function(){this.allNodes=null},E.prototype.resetAllEdges=function(){this.allEdges=null},E.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},E.prototype.getAllEdges=function(){if(this.allEdges==null){var S=[],_=this.getGraphs();_.length;for(var M=0;M<_.length;M++)S=S.concat(_[M].getEdges());S=S.concat(this.edges),this.allEdges=S}return this.allEdges},E.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},E.prototype.setAllNodesToApplyGravitation=function(S){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=S},E.prototype.getRoot=function(){return this.rootGraph},E.prototype.setRootGraph=function(S){if(S.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=S,S.parent==null&&(S.parent=this.layout.newNode("Root node"))},E.prototype.getLayout=function(){return this.layout},E.prototype.isOneAncestorOfOther=function(S,_){if(!(S!=null&&_!=null))throw"assert failed";if(S==_)return!0;var M=S.getOwner(),F;do{if(F=M.getParent(),F==null)break;if(F==_)return!0;if(M=F.getOwner(),M==null)break}while(!0);M=_.getOwner();do{if(F=M.getParent(),F==null)break;if(F==S)return!0;if(M=F.getOwner(),M==null)break}while(!0);return!1},E.prototype.calcLowestCommonAncestors=function(){for(var S,_,M,F,R,B=this.getAllEdges(),z=B.length,Y=0;Y<z;Y++){if(S=B[Y],_=S.source,M=S.target,S.lca=null,S.sourceInLca=_,S.targetInLca=M,_==M){S.lca=_.getOwner();continue}for(F=_.getOwner();S.lca==null;){for(S.targetInLca=M,R=M.getOwner();S.lca==null;){if(R==F){S.lca=R;break}if(R==this.rootGraph)break;if(S.lca!=null)throw"assert failed";S.targetInLca=R.getParent(),R=S.targetInLca.getOwner()}if(F==this.rootGraph)break;S.lca==null&&(S.sourceInLca=F.getParent(),F=S.sourceInLca.getOwner())}if(S.lca==null)throw"assert failed"}},E.prototype.calcLowestCommonAncestor=function(S,_){if(S==_)return S.getOwner();var M=S.getOwner();do{if(M==null)break;var F=_.getOwner();do{if(F==null)break;if(F==M)return F;F=F.getParent().getOwner()}while(!0);M=M.getParent().getOwner()}while(!0);return M},E.prototype.calcInclusionTreeDepths=function(S,_){S==null&&_==null&&(S=this.rootGraph,_=1);for(var M,F=S.getNodes(),R=F.length,B=0;B<R;B++)M=F[B],M.inclusionTreeDepth=_,M.child!=null&&this.calcInclusionTreeDepths(M.child,_+1)},E.prototype.includesInvalidEdge=function(){for(var S,_=this.edges.length,M=0;M<_;M++)if(S=this.edges[M],this.isOneAncestorOfOther(S.source,S.target))return!0;return!1},f.exports=E},function(f,g,w){var v=w(0);function b(){}for(var E in v)b[E]=v[E];b.MAX_ITERATIONS=2500,b.DEFAULT_EDGE_LENGTH=50,b.DEFAULT_SPRING_STRENGTH=.45,b.DEFAULT_REPULSION_STRENGTH=4500,b.DEFAULT_GRAVITY_STRENGTH=.4,b.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,b.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,b.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,b.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,b.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,b.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,b.COOLING_ADAPTATION_FACTOR=.33,b.ADAPTATION_LOWER_NODE_LIMIT=1e3,b.ADAPTATION_UPPER_NODE_LIMIT=5e3,b.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,b.MAX_NODE_DISPLACEMENT=b.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,b.MIN_REPULSION_DIST=b.DEFAULT_EDGE_LENGTH/10,b.CONVERGENCE_CHECK_PERIOD=100,b.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,b.MIN_EDGE_LENGTH=1,b.GRID_CALCULATION_CHECK_PERIOD=10,f.exports=b},function(f,g,w){var v=w(12);function b(){}b.calcSeparationAmount=function(E,S,_,M){if(!E.intersects(S))throw"assert failed";var F=new Array(2);this.decideDirectionsForOverlappingNodes(E,S,F),_[0]=Math.min(E.getRight(),S.getRight())-Math.max(E.x,S.x),_[1]=Math.min(E.getBottom(),S.getBottom())-Math.max(E.y,S.y),E.getX()<=S.getX()&&E.getRight()>=S.getRight()?_[0]+=Math.min(S.getX()-E.getX(),E.getRight()-S.getRight()):S.getX()<=E.getX()&&S.getRight()>=E.getRight()&&(_[0]+=Math.min(E.getX()-S.getX(),S.getRight()-E.getRight())),E.getY()<=S.getY()&&E.getBottom()>=S.getBottom()?_[1]+=Math.min(S.getY()-E.getY(),E.getBottom()-S.getBottom()):S.getY()<=E.getY()&&S.getBottom()>=E.getBottom()&&(_[1]+=Math.min(E.getY()-S.getY(),S.getBottom()-E.getBottom()));var R=Math.abs((S.getCenterY()-E.getCenterY())/(S.getCenterX()-E.getCenterX()));S.getCenterY()===E.getCenterY()&&S.getCenterX()===E.getCenterX()&&(R=1);var B=R*_[0],z=_[1]/R;_[0]<z?z=_[0]:B=_[1],_[0]=-1*F[0]*(z/2+M),_[1]=-1*F[1]*(B/2+M)},b.decideDirectionsForOverlappingNodes=function(E,S,_){E.getCenterX()<S.getCenterX()?_[0]=-1:_[0]=1,E.getCenterY()<S.getCenterY()?_[1]=-1:_[1]=1},b.getIntersection2=function(E,S,_){var M=E.getCenterX(),F=E.getCenterY(),R=S.getCenterX(),B=S.getCenterY();if(E.intersects(S))return _[0]=M,_[1]=F,_[2]=R,_[3]=B,!0;var z=E.getX(),Y=E.getY(),nt=E.getRight(),ot=E.getX(),ft=E.getBottom(),wt=E.getRight(),mt=E.getWidthHalf(),ct=E.getHeightHalf(),rt=S.getX(),it=S.getY(),gt=S.getRight(),Q=S.getX(),dt=S.getBottom(),K=S.getRight(),yt=S.getWidthHalf(),V=S.getHeightHalf(),Ot=!1,It=!1;if(M===R){if(F>B)return _[0]=M,_[1]=Y,_[2]=R,_[3]=dt,!1;if(F<B)return _[0]=M,_[1]=ft,_[2]=R,_[3]=it,!1}else if(F===B){if(M>R)return _[0]=z,_[1]=F,_[2]=gt,_[3]=B,!1;if(M<R)return _[0]=nt,_[1]=F,_[2]=rt,_[3]=B,!1}else{var jt=E.height/E.width,xt=S.height/S.width,Ft=(B-F)/(R-M),Ct=void 0,kt=void 0,Gt=void 0,Fe=void 0,Mt=void 0,pn=void 0;if(-jt===Ft?M>R?(_[0]=ot,_[1]=ft,Ot=!0):(_[0]=nt,_[1]=Y,Ot=!0):jt===Ft&&(M>R?(_[0]=z,_[1]=Y,Ot=!0):(_[0]=wt,_[1]=ft,Ot=!0)),-xt===Ft?R>M?(_[2]=Q,_[3]=dt,It=!0):(_[2]=gt,_[3]=it,It=!0):xt===Ft&&(R>M?(_[2]=rt,_[3]=it,It=!0):(_[2]=K,_[3]=dt,It=!0)),Ot&&It)return!1;if(M>R?F>B?(Ct=this.getCardinalDirection(jt,Ft,4),kt=this.getCardinalDirection(xt,Ft,2)):(Ct=this.getCardinalDirection(-jt,Ft,3),kt=this.getCardinalDirection(-xt,Ft,1)):F>B?(Ct=this.getCardinalDirection(-jt,Ft,1),kt=this.getCardinalDirection(-xt,Ft,3)):(Ct=this.getCardinalDirection(jt,Ft,2),kt=this.getCardinalDirection(xt,Ft,4)),!Ot)switch(Ct){case 1:Fe=Y,Gt=M+-ct/Ft,_[0]=Gt,_[1]=Fe;break;case 2:Gt=wt,Fe=F+mt*Ft,_[0]=Gt,_[1]=Fe;break;case 3:Fe=ft,Gt=M+ct/Ft,_[0]=Gt,_[1]=Fe;break;case 4:Gt=ot,Fe=F+-mt*Ft,_[0]=Gt,_[1]=Fe;break}if(!It)switch(kt){case 1:pn=it,Mt=R+-V/Ft,_[2]=Mt,_[3]=pn;break;case 2:Mt=K,pn=B+yt*Ft,_[2]=Mt,_[3]=pn;break;case 3:pn=dt,Mt=R+V/Ft,_[2]=Mt,_[3]=pn;break;case 4:Mt=Q,pn=B+-yt*Ft,_[2]=Mt,_[3]=pn;break}}return!1},b.getCardinalDirection=function(E,S,_){return E>S?_:1+_%4},b.getIntersection=function(E,S,_,M){if(M==null)return this.getIntersection2(E,S,_);var F=E.x,R=E.y,B=S.x,z=S.y,Y=_.x,nt=_.y,ot=M.x,ft=M.y,wt=void 0,mt=void 0,ct=void 0,rt=void 0,it=void 0,gt=void 0,Q=void 0,dt=void 0,K=void 0;return ct=z-R,it=F-B,Q=B*R-F*z,rt=ft-nt,gt=Y-ot,dt=ot*nt-Y*ft,K=ct*gt-rt*it,K===0?null:(wt=(it*dt-gt*Q)/K,mt=(rt*Q-ct*dt)/K,new v(wt,mt))},b.angleOfVector=function(E,S,_,M){var F=void 0;return E!==_?(F=Math.atan((M-S)/(_-E)),_<E?F+=Math.PI:M<S&&(F+=this.TWO_PI)):M<S?F=this.ONE_AND_HALF_PI:F=this.HALF_PI,F},b.doIntersect=function(E,S,_,M){var F=E.x,R=E.y,B=S.x,z=S.y,Y=_.x,nt=_.y,ot=M.x,ft=M.y,wt=(B-F)*(ft-nt)-(ot-Y)*(z-R);if(wt===0)return!1;var mt=((ft-nt)*(ot-F)+(Y-ot)*(ft-R))/wt,ct=((R-z)*(ot-F)+(B-F)*(ft-R))/wt;return 0<mt&&mt<1&&0<ct&&ct<1},b.HALF_PI=.5*Math.PI,b.ONE_AND_HALF_PI=1.5*Math.PI,b.TWO_PI=2*Math.PI,b.THREE_PI=3*Math.PI,f.exports=b},function(f,g,w){function v(){}v.sign=function(b){return b>0?1:b<0?-1:0},v.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},v.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},f.exports=v},function(f,g,w){function v(){}v.MAX_VALUE=2147483647,v.MIN_VALUE=-2147483648,f.exports=v},function(f,g,w){var v=function(){function F(R,B){for(var z=0;z<B.length;z++){var Y=B[z];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(R,Y.key,Y)}}return function(R,B,z){return B&&F(R.prototype,B),z&&F(R,z),R}}();function b(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}var E=function(R){return{value:R,next:null,prev:null}},S=function(R,B,z,Y){return R!==null?R.next=B:Y.head=B,z!==null?z.prev=B:Y.tail=B,B.prev=R,B.next=z,Y.length++,B},_=function(R,B){var z=R.prev,Y=R.next;return z!==null?z.next=Y:B.head=Y,Y!==null?Y.prev=z:B.tail=z,R.prev=R.next=null,B.length--,R},M=function(){function F(R){var B=this;b(this,F),this.length=0,this.head=null,this.tail=null,R!=null&&R.forEach(function(z){return B.push(z)})}return v(F,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(B,z){return S(z.prev,E(B),z,this)}},{key:"insertAfter",value:function(B,z){return S(z,E(B),z.next,this)}},{key:"insertNodeBefore",value:function(B,z){return S(z.prev,B,z,this)}},{key:"insertNodeAfter",value:function(B,z){return S(z,B,z.next,this)}},{key:"push",value:function(B){return S(this.tail,E(B),null,this)}},{key:"unshift",value:function(B){return S(null,E(B),this.head,this)}},{key:"remove",value:function(B){return _(B,this)}},{key:"pop",value:function(){return _(this.tail,this).value}},{key:"popNode",value:function(){return _(this.tail,this)}},{key:"shift",value:function(){return _(this.head,this).value}},{key:"shiftNode",value:function(){return _(this.head,this)}},{key:"get_object_at",value:function(B){if(B<=this.length()){for(var z=1,Y=this.head;z<B;)Y=Y.next,z++;return Y.value}}},{key:"set_object_at",value:function(B,z){if(B<=this.length()){for(var Y=1,nt=this.head;Y<B;)nt=nt.next,Y++;nt.value=z}}}]),F}();f.exports=M},function(f,g,w){function v(b,E,S){this.x=null,this.y=null,b==null&&E==null&&S==null?(this.x=0,this.y=0):typeof b=="number"&&typeof E=="number"&&S==null?(this.x=b,this.y=E):b.constructor.name=="Point"&&E==null&&S==null&&(S=b,this.x=S.x,this.y=S.y)}v.prototype.getX=function(){return this.x},v.prototype.getY=function(){return this.y},v.prototype.getLocation=function(){return new v(this.x,this.y)},v.prototype.setLocation=function(b,E,S){b.constructor.name=="Point"&&E==null&&S==null?(S=b,this.setLocation(S.x,S.y)):typeof b=="number"&&typeof E=="number"&&S==null&&(parseInt(b)==b&&parseInt(E)==E?this.move(b,E):(this.x=Math.floor(b+.5),this.y=Math.floor(E+.5)))},v.prototype.move=function(b,E){this.x=b,this.y=E},v.prototype.translate=function(b,E){this.x+=b,this.y+=E},v.prototype.equals=function(b){if(b.constructor.name=="Point"){var E=b;return this.x==E.x&&this.y==E.y}return this==b},v.prototype.toString=function(){return new v().constructor.name+"[x="+this.x+",y="+this.y+"]"},f.exports=v},function(f,g,w){function v(b,E,S,_){this.x=0,this.y=0,this.width=0,this.height=0,b!=null&&E!=null&&S!=null&&_!=null&&(this.x=b,this.y=E,this.width=S,this.height=_)}v.prototype.getX=function(){return this.x},v.prototype.setX=function(b){this.x=b},v.prototype.getY=function(){return this.y},v.prototype.setY=function(b){this.y=b},v.prototype.getWidth=function(){return this.width},v.prototype.setWidth=function(b){this.width=b},v.prototype.getHeight=function(){return this.height},v.prototype.setHeight=function(b){this.height=b},v.prototype.getRight=function(){return this.x+this.width},v.prototype.getBottom=function(){return this.y+this.height},v.prototype.intersects=function(b){return!(this.getRight()<b.x||this.getBottom()<b.y||b.getRight()<this.x||b.getBottom()<this.y)},v.prototype.getCenterX=function(){return this.x+this.width/2},v.prototype.getMinX=function(){return this.getX()},v.prototype.getMaxX=function(){return this.getX()+this.width},v.prototype.getCenterY=function(){return this.y+this.height/2},v.prototype.getMinY=function(){return this.getY()},v.prototype.getMaxY=function(){return this.getY()+this.height},v.prototype.getWidthHalf=function(){return this.width/2},v.prototype.getHeightHalf=function(){return this.height/2},f.exports=v},function(f,g,w){var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};function b(){}b.lastID=0,b.createID=function(E){return b.isPrimitive(E)?E:(E.uniqueID!=null||(E.uniqueID=b.getString(),b.lastID++),E.uniqueID)},b.getString=function(E){return E==null&&(E=b.lastID),"Object#"+E},b.isPrimitive=function(E){var S=typeof E>"u"?"undefined":v(E);return E==null||S!="object"&&S!="function"},f.exports=b},function(f,g,w){function v(Y){if(Array.isArray(Y)){for(var nt=0,ot=Array(Y.length);nt<Y.length;nt++)ot[nt]=Y[nt];return ot}else return Array.from(Y)}var b=w(0),E=w(6),S=w(3),_=w(1),M=w(5),F=w(4),R=w(17),B=w(27);function z(Y){B.call(this),this.layoutQuality=b.QUALITY,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=b.DEFAULT_INCREMENTAL,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new E(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,Y!=null&&(this.isRemoteUse=Y)}z.RANDOM_SEED=1,z.prototype=Object.create(B.prototype),z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},z.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},z.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},z.prototype.newGraphManager=function(){var Y=new E(this);return this.graphManager=Y,Y},z.prototype.newGraph=function(Y){return new M(null,this.graphManager,Y)},z.prototype.newNode=function(Y){return new S(this.graphManager,Y)},z.prototype.newEdge=function(Y){return new _(null,null,Y)},z.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},z.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var Y;return this.checkLayoutSuccess()?Y=!1:Y=this.layout(),b.ANIMATE==="during"?!1:(Y&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,Y)},z.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},z.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var Y=this.graphManager.getAllEdges(),nt=0;nt<Y.length;nt++)Y[nt];for(var ot=this.graphManager.getRoot().getNodes(),nt=0;nt<ot.length;nt++)ot[nt];this.update(this.graphManager.getRoot())}},z.prototype.update=function(Y){if(Y==null)this.update2();else if(Y instanceof S){var nt=Y;if(nt.getChild()!=null)for(var ot=nt.getChild().getNodes(),ft=0;ft<ot.length;ft++)update(ot[ft]);if(nt.vGraphObject!=null){var wt=nt.vGraphObject;wt.update(nt)}}else if(Y instanceof _){var mt=Y;if(mt.vGraphObject!=null){var ct=mt.vGraphObject;ct.update(mt)}}else if(Y instanceof M){var rt=Y;if(rt.vGraphObject!=null){var it=rt.vGraphObject;it.update(rt)}}},z.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=b.QUALITY,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=b.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},z.prototype.transform=function(Y){if(Y==null)this.transform(new F(0,0));else{var nt=new R,ot=this.graphManager.getRoot().updateLeftTop();if(ot!=null){nt.setWorldOrgX(Y.x),nt.setWorldOrgY(Y.y),nt.setDeviceOrgX(ot.x),nt.setDeviceOrgY(ot.y);for(var ft=this.getAllNodes(),wt,mt=0;mt<ft.length;mt++)wt=ft[mt],wt.transform(nt)}}},z.prototype.positionNodesRandomly=function(Y){if(Y==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var nt,ot,ft=Y.getNodes(),wt=0;wt<ft.length;wt++)nt=ft[wt],ot=nt.getChild(),ot==null||ot.getNodes().length==0?nt.scatter():(this.positionNodesRandomly(ot),nt.updateBounds())},z.prototype.getFlatForest=function(){for(var Y=[],nt=!0,ot=this.graphManager.getRoot().getNodes(),ft=!0,wt=0;wt<ot.length;wt++)ot[wt].getChild()!=null&&(ft=!1);if(!ft)return Y;var mt=new Set,ct=[],rt=new Map,it=[];for(it=it.concat(ot);it.length>0&&nt;){for(ct.push(it[0]);ct.length>0&&nt;){var gt=ct[0];ct.splice(0,1),mt.add(gt);for(var Q=gt.getEdges(),wt=0;wt<Q.length;wt++){var dt=Q[wt].getOtherEnd(gt);if(rt.get(gt)!=dt)if(!mt.has(dt))ct.push(dt),rt.set(dt,gt);else{nt=!1;break}}}if(!nt)Y=[];else{var K=[].concat(v(mt));Y.push(K);for(var wt=0;wt<K.length;wt++){var yt=K[wt],V=it.indexOf(yt);V>-1&&it.splice(V,1)}mt=new Set,rt=new Map}}return Y},z.prototype.createDummyNodesForBendpoints=function(Y){for(var nt=[],ot=Y.source,ft=this.graphManager.calcLowestCommonAncestor(Y.source,Y.target),wt=0;wt<Y.bendpoints.length;wt++){var mt=this.newNode(null);mt.setRect(new Point(0,0),new Dimension(1,1)),ft.add(mt);var ct=this.newEdge(null);this.graphManager.add(ct,ot,mt),nt.add(mt),ot=mt}var ct=this.newEdge(null);return this.graphManager.add(ct,ot,Y.target),this.edgeToDummyNodes.set(Y,nt),Y.isInterGraph()?this.graphManager.remove(Y):ft.remove(Y),nt},z.prototype.createBendpointsFromDummyNodes=function(){var Y=[];Y=Y.concat(this.graphManager.getAllEdges()),Y=[].concat(v(this.edgeToDummyNodes.keys())).concat(Y);for(var nt=0;nt<Y.length;nt++){var ot=Y[nt];if(ot.bendpoints.length>0){for(var ft=this.edgeToDummyNodes.get(ot),wt=0;wt<ft.length;wt++){var mt=ft[wt],ct=new F(mt.getCenterX(),mt.getCenterY()),rt=ot.bendpoints.get(wt);rt.x=ct.x,rt.y=ct.y,mt.getOwner().remove(mt)}this.graphManager.add(ot,ot.source,ot.target)}}},z.transform=function(Y,nt,ot,ft){if(ot!=null&&ft!=null){var wt=nt;if(Y<=50){var mt=nt/ot;wt-=(nt-mt)/50*(50-Y)}else{var ct=nt*ft;wt+=(ct-nt)/50*(Y-50)}return wt}else{var rt,it;return Y<=50?(rt=9*nt/500,it=nt/10):(rt=9*nt/50,it=-8*nt),rt*Y+it}},z.findCenterOfTree=function(Y){var nt=[];nt=nt.concat(Y);var ot=[],ft=new Map,wt=!1,mt=null;(nt.length==1||nt.length==2)&&(wt=!0,mt=nt[0]);for(var ct=0;ct<nt.length;ct++){var rt=nt[ct],it=rt.getNeighborsList().size;ft.set(rt,rt.getNeighborsList().size),it==1&&ot.push(rt)}var gt=[];for(gt=gt.concat(ot);!wt;){var Q=[];Q=Q.concat(gt),gt=[];for(var ct=0;ct<nt.length;ct++){var rt=nt[ct],dt=nt.indexOf(rt);dt>=0&&nt.splice(dt,1);var K=rt.getNeighborsList();K.forEach(function(Ot){if(ot.indexOf(Ot)<0){var It=ft.get(Ot),jt=It-1;jt==1&&gt.push(Ot),ft.set(Ot,jt)}})}ot=ot.concat(gt),(nt.length==1||nt.length==2)&&(wt=!0,mt=nt[0])}return mt},z.prototype.setGraphManager=function(Y){this.graphManager=Y},f.exports=z},function(f,g,w){function v(){}v.seed=1,v.x=0,v.nextDouble=function(){return v.x=Math.sin(v.seed++)*1e4,v.x-Math.floor(v.x)},f.exports=v},function(f,g,w){var v=w(4);function b(E,S){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}b.prototype.getWorldOrgX=function(){return this.lworldOrgX},b.prototype.setWorldOrgX=function(E){this.lworldOrgX=E},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(E){this.lworldOrgY=E},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(E){this.lworldExtX=E},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(E){this.lworldExtY=E},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(E){this.ldeviceOrgX=E},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(E){this.ldeviceOrgY=E},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(E){this.ldeviceExtX=E},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(E){this.ldeviceExtY=E},b.prototype.transformX=function(E){var S=0,_=this.lworldExtX;return _!=0&&(S=this.ldeviceOrgX+(E-this.lworldOrgX)*this.ldeviceExtX/_),S},b.prototype.transformY=function(E){var S=0,_=this.lworldExtY;return _!=0&&(S=this.ldeviceOrgY+(E-this.lworldOrgY)*this.ldeviceExtY/_),S},b.prototype.inverseTransformX=function(E){var S=0,_=this.ldeviceExtX;return _!=0&&(S=this.lworldOrgX+(E-this.ldeviceOrgX)*this.lworldExtX/_),S},b.prototype.inverseTransformY=function(E){var S=0,_=this.ldeviceExtY;return _!=0&&(S=this.lworldOrgY+(E-this.ldeviceOrgY)*this.lworldExtY/_),S},b.prototype.inverseTransformPoint=function(E){var S=new v(this.inverseTransformX(E.x),this.inverseTransformY(E.y));return S},f.exports=b},function(f,g,w){function v(B){if(Array.isArray(B)){for(var z=0,Y=Array(B.length);z<B.length;z++)Y[z]=B[z];return Y}else return Array.from(B)}var b=w(15),E=w(7),S=w(0),_=w(8),M=w(9);function F(){b.call(this),this.useSmartIdealEdgeLengthCalculation=E.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=E.DEFAULT_EDGE_LENGTH,this.springConstant=E.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=E.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=E.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=E.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*E.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=E.MAX_ITERATIONS}F.prototype=Object.create(b.prototype);for(var R in b)F[R]=b[R];F.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=E.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},F.prototype.calcIdealEdgeLengths=function(){for(var B,z,Y,nt,ot,ft,wt=this.getGraphManager().getAllEdges(),mt=0;mt<wt.length;mt++)B=wt[mt],B.idealLength=this.idealEdgeLength,B.isInterGraph&&(Y=B.getSource(),nt=B.getTarget(),ot=B.getSourceInLca().getEstimatedSize(),ft=B.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(B.idealLength+=ot+ft-2*S.SIMPLE_NODE_SIZE),z=B.getLca().getInclusionTreeDepth(),B.idealLength+=E.DEFAULT_EDGE_LENGTH*E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(Y.getInclusionTreeDepth()+nt.getInclusionTreeDepth()-2*z))},F.prototype.initSpringEmbedder=function(){var B=this.getAllNodes().length;this.incremental?(B>E.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*E.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(B-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-E.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT_INCREMENTAL):(B>E.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(E.COOLING_ADAPTATION_FACTOR,1-(B-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*(1-E.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var B=this.getAllEdges(),z,Y=0;Y<B.length;Y++)z=B[Y],this.calcSpringForce(z,z.idealLength)},F.prototype.calcRepulsionForces=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y,nt,ot,ft,wt=this.getAllNodes(),mt;if(this.useFRGridVariant)for(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&B&&this.updateGrid(),mt=new Set,Y=0;Y<wt.length;Y++)ot=wt[Y],this.calculateRepulsionForceOfANode(ot,mt,B,z),mt.add(ot);else for(Y=0;Y<wt.length;Y++)for(ot=wt[Y],nt=Y+1;nt<wt.length;nt++)ft=wt[nt],ot.getOwner()==ft.getOwner()&&this.calcRepulsionForce(ot,ft)},F.prototype.calcGravitationalForces=function(){for(var B,z=this.getAllNodesToApplyGravitation(),Y=0;Y<z.length;Y++)B=z[Y],this.calcGravitationalForce(B)},F.prototype.moveNodes=function(){for(var B=this.getAllNodes(),z,Y=0;Y<B.length;Y++)z=B[Y],z.move()},F.prototype.calcSpringForce=function(B,z){var Y=B.getSource(),nt=B.getTarget(),ot,ft,wt,mt;if(this.uniformLeafNodeSizes&&Y.getChild()==null&&nt.getChild()==null)B.updateLengthSimple();else if(B.updateLength(),B.isOverlapingSourceAndTarget)return;ot=B.getLength(),ot!=0&&(ft=this.springConstant*(ot-z),wt=ft*(B.lengthX/ot),mt=ft*(B.lengthY/ot),Y.springForceX+=wt,Y.springForceY+=mt,nt.springForceX-=wt,nt.springForceY-=mt)},F.prototype.calcRepulsionForce=function(B,z){var Y=B.getRect(),nt=z.getRect(),ot=new Array(2),ft=new Array(4),wt,mt,ct,rt,it,gt,Q;if(Y.intersects(nt)){_.calcSeparationAmount(Y,nt,ot,E.DEFAULT_EDGE_LENGTH/2),gt=2*ot[0],Q=2*ot[1];var dt=B.noOfChildren*z.noOfChildren/(B.noOfChildren+z.noOfChildren);B.repulsionForceX-=dt*gt,B.repulsionForceY-=dt*Q,z.repulsionForceX+=dt*gt,z.repulsionForceY+=dt*Q}else this.uniformLeafNodeSizes&&B.getChild()==null&&z.getChild()==null?(wt=nt.getCenterX()-Y.getCenterX(),mt=nt.getCenterY()-Y.getCenterY()):(_.getIntersection(Y,nt,ft),wt=ft[2]-ft[0],mt=ft[3]-ft[1]),Math.abs(wt)<E.MIN_REPULSION_DIST&&(wt=M.sign(wt)*E.MIN_REPULSION_DIST),Math.abs(mt)<E.MIN_REPULSION_DIST&&(mt=M.sign(mt)*E.MIN_REPULSION_DIST),ct=wt*wt+mt*mt,rt=Math.sqrt(ct),it=this.repulsionConstant*B.noOfChildren*z.noOfChildren/ct,gt=it*wt/rt,Q=it*mt/rt,B.repulsionForceX-=gt,B.repulsionForceY-=Q,z.repulsionForceX+=gt,z.repulsionForceY+=Q},F.prototype.calcGravitationalForce=function(B){var z,Y,nt,ot,ft,wt,mt,ct;z=B.getOwner(),Y=(z.getRight()+z.getLeft())/2,nt=(z.getTop()+z.getBottom())/2,ot=B.getCenterX()-Y,ft=B.getCenterY()-nt,wt=Math.abs(ot)+B.getWidth()/2,mt=Math.abs(ft)+B.getHeight()/2,B.getOwner()==this.graphManager.getRoot()?(ct=z.getEstimatedSize()*this.gravityRangeFactor,(wt>ct||mt>ct)&&(B.gravitationForceX=-this.gravityConstant*ot,B.gravitationForceY=-this.gravityConstant*ft)):(ct=z.getEstimatedSize()*this.compoundGravityRangeFactor,(wt>ct||mt>ct)&&(B.gravitationForceX=-this.gravityConstant*ot*this.compoundGravityConstant,B.gravitationForceY=-this.gravityConstant*ft*this.compoundGravityConstant))},F.prototype.isConverged=function(){var B,z=!1;return this.totalIterations>this.maxIterations/3&&(z=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),B=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,B||z},F.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},F.prototype.calcNoOfChildrenForAllNodes=function(){for(var B,z=this.graphManager.getAllNodes(),Y=0;Y<z.length;Y++)B=z[Y],B.noOfChildren=B.getNoOfChildren()},F.prototype.calcGrid=function(B){var z=0,Y=0;z=parseInt(Math.ceil((B.getRight()-B.getLeft())/this.repulsionRange)),Y=parseInt(Math.ceil((B.getBottom()-B.getTop())/this.repulsionRange));for(var nt=new Array(z),ot=0;ot<z;ot++)nt[ot]=new Array(Y);for(var ot=0;ot<z;ot++)for(var ft=0;ft<Y;ft++)nt[ot][ft]=new Array;return nt},F.prototype.addNodeToGrid=function(B,z,Y){var nt=0,ot=0,ft=0,wt=0;nt=parseInt(Math.floor((B.getRect().x-z)/this.repulsionRange)),ot=parseInt(Math.floor((B.getRect().width+B.getRect().x-z)/this.repulsionRange)),ft=parseInt(Math.floor((B.getRect().y-Y)/this.repulsionRange)),wt=parseInt(Math.floor((B.getRect().height+B.getRect().y-Y)/this.repulsionRange));for(var mt=nt;mt<=ot;mt++)for(var ct=ft;ct<=wt;ct++)this.grid[mt][ct].push(B),B.setGridCoordinates(nt,ot,ft,wt)},F.prototype.updateGrid=function(){var B,z,Y=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),B=0;B<Y.length;B++)z=Y[B],this.addNodeToGrid(z,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},F.prototype.calculateRepulsionForceOfANode=function(B,z,Y,nt){if(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&Y||nt){var ot=new Set;B.surrounding=new Array;for(var ft,wt=this.grid,mt=B.startX-1;mt<B.finishX+2;mt++)for(var ct=B.startY-1;ct<B.finishY+2;ct++)if(!(mt<0||ct<0||mt>=wt.length||ct>=wt[0].length)){for(var rt=0;rt<wt[mt][ct].length;rt++)if(ft=wt[mt][ct][rt],!(B.getOwner()!=ft.getOwner()||B==ft)&&!z.has(ft)&&!ot.has(ft)){var it=Math.abs(B.getCenterX()-ft.getCenterX())-(B.getWidth()/2+ft.getWidth()/2),gt=Math.abs(B.getCenterY()-ft.getCenterY())-(B.getHeight()/2+ft.getHeight()/2);it<=this.repulsionRange&&gt<=this.repulsionRange&&ot.add(ft)}}B.surrounding=[].concat(v(ot))}for(mt=0;mt<B.surrounding.length;mt++)this.calcRepulsionForce(B,B.surrounding[mt])},F.prototype.calcRepulsionRange=function(){return 0},f.exports=F},function(f,g,w){var v=w(1),b=w(7);function E(_,M,F){v.call(this,_,M,F),this.idealLength=b.DEFAULT_EDGE_LENGTH}E.prototype=Object.create(v.prototype);for(var S in v)E[S]=v[S];f.exports=E},function(f,g,w){var v=w(3);function b(S,_,M,F){v.call(this,S,_,M,F),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}b.prototype=Object.create(v.prototype);for(var E in v)b[E]=v[E];b.prototype.setGridCoordinates=function(S,_,M,F){this.startX=S,this.finishX=_,this.startY=M,this.finishY=F},f.exports=b},function(f,g,w){function v(b,E){this.width=0,this.height=0,b!==null&&E!==null&&(this.height=E,this.width=b)}v.prototype.getWidth=function(){return this.width},v.prototype.setWidth=function(b){this.width=b},v.prototype.getHeight=function(){return this.height},v.prototype.setHeight=function(b){this.height=b},f.exports=v},function(f,g,w){var v=w(14);function b(){this.map={},this.keys=[]}b.prototype.put=function(E,S){var _=v.createID(E);this.contains(_)||(this.map[_]=S,this.keys.push(E))},b.prototype.contains=function(E){return v.createID(E),this.map[E]!=null},b.prototype.get=function(E){var S=v.createID(E);return this.map[S]},b.prototype.keySet=function(){return this.keys},f.exports=b},function(f,g,w){var v=w(14);function b(){this.set={}}b.prototype.add=function(E){var S=v.createID(E);this.contains(S)||(this.set[S]=E)},b.prototype.remove=function(E){delete this.set[v.createID(E)]},b.prototype.clear=function(){this.set={}},b.prototype.contains=function(E){return this.set[v.createID(E)]==E},b.prototype.isEmpty=function(){return this.size()===0},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAllTo=function(E){for(var S=Object.keys(this.set),_=S.length,M=0;M<_;M++)E.push(this.set[S[M]])},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAll=function(E){for(var S=E.length,_=0;_<S;_++){var M=E[_];this.add(M)}},f.exports=b},function(f,g,w){var v=function(){function _(M,F){for(var R=0;R<F.length;R++){var B=F[R];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(M,B.key,B)}}return function(M,F,R){return F&&_(M.prototype,F),R&&_(M,R),M}}();function b(_,M){if(!(_ instanceof M))throw new TypeError("Cannot call a class as a function")}var E=w(11),S=function(){function _(M,F){b(this,_),(F!==null||F!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var R=void 0;M instanceof E?R=M.size():R=M.length,this._quicksort(M,0,R-1)}return v(_,[{key:"_quicksort",value:function(F,R,B){if(R<B){var z=this._partition(F,R,B);this._quicksort(F,R,z),this._quicksort(F,z+1,B)}}},{key:"_partition",value:function(F,R,B){for(var z=this._get(F,R),Y=R,nt=B;;){for(;this.compareFunction(z,this._get(F,nt));)nt--;for(;this.compareFunction(this._get(F,Y),z);)Y++;if(Y<nt)this._swap(F,Y,nt),Y++,nt--;else return nt}}},{key:"_get",value:function(F,R){return F instanceof E?F.get_object_at(R):F[R]}},{key:"_set",value:function(F,R,B){F instanceof E?F.set_object_at(R,B):F[R]=B}},{key:"_swap",value:function(F,R,B){var z=this._get(F,R);this._set(F,R,this._get(F,B)),this._set(F,B,z)}},{key:"_defaultCompareFunction",value:function(F,R){return R>F}}]),_}();f.exports=S},function(f,g,w){var v=function(){function S(_,M){for(var F=0;F<M.length;F++){var R=M[F];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(_,R.key,R)}}return function(_,M,F){return M&&S(_.prototype,M),F&&S(_,F),_}}();function b(S,_){if(!(S instanceof _))throw new TypeError("Cannot call a class as a function")}var E=function(){function S(_,M){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,B=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,S),this.sequence1=_,this.sequence2=M,this.match_score=F,this.mismatch_penalty=R,this.gap_penalty=B,this.iMax=_.length+1,this.jMax=M.length+1,this.grid=new Array(this.iMax);for(var z=0;z<this.iMax;z++){this.grid[z]=new Array(this.jMax);for(var Y=0;Y<this.jMax;Y++)this.grid[z][Y]=0}this.tracebackGrid=new Array(this.iMax);for(var nt=0;nt<this.iMax;nt++){this.tracebackGrid[nt]=new Array(this.jMax);for(var ot=0;ot<this.jMax;ot++)this.tracebackGrid[nt][ot]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return v(S,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var M=1;M<this.jMax;M++)this.grid[0][M]=this.grid[0][M-1]+this.gap_penalty,this.tracebackGrid[0][M]=[!1,!1,!0];for(var F=1;F<this.iMax;F++)this.grid[F][0]=this.grid[F-1][0]+this.gap_penalty,this.tracebackGrid[F][0]=[!1,!0,!1];for(var R=1;R<this.iMax;R++)for(var B=1;B<this.jMax;B++){var z=void 0;this.sequence1[R-1]===this.sequence2[B-1]?z=this.grid[R-1][B-1]+this.match_score:z=this.grid[R-1][B-1]+this.mismatch_penalty;var Y=this.grid[R-1][B]+this.gap_penalty,nt=this.grid[R][B-1]+this.gap_penalty,ot=[z,Y,nt],ft=this.arrayAllMaxIndexes(ot);this.grid[R][B]=ot[ft[0]],this.tracebackGrid[R][B]=[ft.includes(0),ft.includes(1),ft.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var M=[];for(M.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});M[0];){var F=M[0],R=this.tracebackGrid[F.pos[0]][F.pos[1]];R[0]&&M.push({pos:[F.pos[0]-1,F.pos[1]-1],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),R[1]&&M.push({pos:[F.pos[0]-1,F.pos[1]],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:"-"+F.seq2}),R[2]&&M.push({pos:[F.pos[0],F.pos[1]-1],seq1:"-"+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),F.pos[0]===0&&F.pos[1]===0&&this.alignments.push({sequence1:F.seq1,sequence2:F.seq2}),M.shift()}return this.alignments}},{key:"getAllIndexes",value:function(M,F){for(var R=[],B=-1;(B=M.indexOf(F,B+1))!==-1;)R.push(B);return R}},{key:"arrayAllMaxIndexes",value:function(M){return this.getAllIndexes(M,Math.max.apply(null,M))}}]),S}();f.exports=E},function(f,g,w){var v=function(){};v.FDLayout=w(18),v.FDLayoutConstants=w(7),v.FDLayoutEdge=w(19),v.FDLayoutNode=w(20),v.DimensionD=w(21),v.HashMap=w(22),v.HashSet=w(23),v.IGeometry=w(8),v.IMath=w(9),v.Integer=w(10),v.Point=w(12),v.PointD=w(4),v.RandomSeed=w(16),v.RectangleD=w(13),v.Transform=w(17),v.UniqueIDGeneretor=w(14),v.Quicksort=w(24),v.LinkedList=w(11),v.LGraphObject=w(2),v.LGraph=w(5),v.LEdge=w(1),v.LGraphManager=w(6),v.LNode=w(3),v.Layout=w(15),v.LayoutConstants=w(0),v.NeedlemanWunsch=w(25),f.exports=v},function(f,g,w){function v(){this.listeners=[]}var b=v.prototype;b.addListener=function(E,S){this.listeners.push({event:E,callback:S})},b.removeListener=function(E,S){for(var _=this.listeners.length;_>=0;_--){var M=this.listeners[_];M.event===E&&M.callback===S&&this.listeners.splice(_,1)}},b.emit=function(E,S){for(var _=0;_<this.listeners.length;_++){var M=this.listeners[_];E===M.event&&M.callback(S)}},f.exports=v}])})}(b2t)),b2t.exports}var XHt;function ren(){return XHt||(XHt=1,function(i,a){(function(g,w){i.exports=w(nen())})(Z0,function(f){return function(g){var w={};function v(b){if(w[b])return w[b].exports;var E=w[b]={i:b,l:!1,exports:{}};return g[b].call(E.exports,E,E.exports,v),E.l=!0,E.exports}return v.m=g,v.c=w,v.i=function(b){return b},v.d=function(b,E,S){v.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:S})},v.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return v.d(E,"a",E),E},v.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},v.p="",v(v.s=7)}([function(g,w){g.exports=f},function(g,w,v){var b=v(0).FDLayoutConstants;function E(){}for(var S in b)E[S]=b[S];E.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,E.DEFAULT_RADIAL_SEPARATION=b.DEFAULT_EDGE_LENGTH,E.DEFAULT_COMPONENT_SEPERATION=60,E.TILE=!0,E.TILING_PADDING_VERTICAL=10,E.TILING_PADDING_HORIZONTAL=10,E.TREE_REDUCTION_ON_INCREMENTAL=!1,g.exports=E},function(g,w,v){var b=v(0).FDLayoutEdge;function E(_,M,F){b.call(this,_,M,F)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).LGraph;function E(_,M,F){b.call(this,_,M,F)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).LGraphManager;function E(_){b.call(this,_)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).FDLayoutNode,E=v(0).IMath;function S(M,F,R,B){b.call(this,M,F,R,B)}S.prototype=Object.create(b.prototype);for(var _ in b)S[_]=b[_];S.prototype.move=function(){var M=this.graphManager.getLayout();this.displacementX=M.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=M.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>M.coolingFactor*M.maxNodeDisplacement&&(this.displacementX=M.coolingFactor*M.maxNodeDisplacement*E.sign(this.displacementX)),Math.abs(this.displacementY)>M.coolingFactor*M.maxNodeDisplacement&&(this.displacementY=M.coolingFactor*M.maxNodeDisplacement*E.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),M.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},S.prototype.propogateDisplacementToChildren=function(M,F){for(var R=this.getChild().getNodes(),B,z=0;z<R.length;z++)B=R[z],B.getChild()==null?(B.moveBy(M,F),B.displacementX+=M,B.displacementY+=F):B.propogateDisplacementToChildren(M,F)},S.prototype.setPred1=function(M){this.pred1=M},S.prototype.getPred1=function(){return pred1},S.prototype.getPred2=function(){return pred2},S.prototype.setNext=function(M){this.next=M},S.prototype.getNext=function(){return next},S.prototype.setProcessed=function(M){this.processed=M},S.prototype.isProcessed=function(){return processed},g.exports=S},function(g,w,v){var b=v(0).FDLayout,E=v(4),S=v(3),_=v(5),M=v(2),F=v(1),R=v(0).FDLayoutConstants,B=v(0).LayoutConstants,z=v(0).Point,Y=v(0).PointD,nt=v(0).Layout,ot=v(0).Integer,ft=v(0).IGeometry,wt=v(0).LGraph,mt=v(0).Transform;function ct(){b.call(this),this.toBeTiled={}}ct.prototype=Object.create(b.prototype);for(var rt in b)ct[rt]=b[rt];ct.prototype.newGraphManager=function(){var it=new E(this);return this.graphManager=it,it},ct.prototype.newGraph=function(it){return new S(null,this.graphManager,it)},ct.prototype.newNode=function(it){return new _(this.graphManager,it)},ct.prototype.newEdge=function(it){return new M(null,null,it)},ct.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.isSubLayout||(F.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=F.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=F.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=R.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=R.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=R.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=R.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=R.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=R.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/R.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=R.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},ct.prototype.layout=function(){var it=B.DEFAULT_CREATE_BENDS_AS_NEEDED;return it&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},ct.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(F.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var gt=new Set(this.getAllNodes()),Q=this.nodesWithGravity.filter(function(yt){return gt.has(yt)});this.graphManager.setAllNodesToApplyGravitation(Q)}}else{var it=this.getFlatForest();if(it.length>0)this.positionNodesRadially(it);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var gt=new Set(this.getAllNodes()),Q=this.nodesWithGravity.filter(function(dt){return gt.has(dt)});this.graphManager.setAllNodesToApplyGravitation(Q),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},ct.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%R.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var it=new Set(this.getAllNodes()),gt=this.nodesWithGravity.filter(function(K){return it.has(K)});this.graphManager.setAllNodesToApplyGravitation(gt),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var Q=!this.isTreeGrowing&&!this.isGrowthFinished,dt=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(Q,dt),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},ct.prototype.getPositionsData=function(){for(var it=this.graphManager.getAllNodes(),gt={},Q=0;Q<it.length;Q++){var dt=it[Q].rect,K=it[Q].id;gt[K]={id:K,x:dt.getCenterX(),y:dt.getCenterY(),w:dt.width,h:dt.height}}return gt},ct.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var it=!1;if(R.ANIMATE==="during")this.emit("layoutstarted");else{for(;!it;)it=this.tick();this.graphManager.updateBounds()}},ct.prototype.calculateNodesToApplyGravitationTo=function(){var it=[],gt,Q=this.graphManager.getGraphs(),dt=Q.length,K;for(K=0;K<dt;K++)gt=Q[K],gt.updateConnected(),gt.isConnected||(it=it.concat(gt.getNodes()));return it},ct.prototype.createBendpoints=function(){var it=[];it=it.concat(this.graphManager.getAllEdges());var gt=new Set,Q;for(Q=0;Q<it.length;Q++){var dt=it[Q];if(!gt.has(dt)){var K=dt.getSource(),yt=dt.getTarget();if(K==yt)dt.getBendpoints().push(new Y),dt.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(dt),gt.add(dt);else{var V=[];if(V=V.concat(K.getEdgeListToNode(yt)),V=V.concat(yt.getEdgeListToNode(K)),!gt.has(V[0])){if(V.length>1){var Ot;for(Ot=0;Ot<V.length;Ot++){var It=V[Ot];It.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(It)}}V.forEach(function(jt){gt.add(jt)})}}}if(gt.size==it.length)break}},ct.prototype.positionNodesRadially=function(it){for(var gt=new z(0,0),Q=Math.ceil(Math.sqrt(it.length)),dt=0,K=0,yt=0,V=new Y(0,0),Ot=0;Ot<it.length;Ot++){Ot%Q==0&&(yt=0,K=dt,Ot!=0&&(K+=F.DEFAULT_COMPONENT_SEPERATION),dt=0);var It=it[Ot],jt=nt.findCenterOfTree(It);gt.x=yt,gt.y=K,V=ct.radialLayout(It,jt,gt),V.y>dt&&(dt=Math.floor(V.y)),yt=Math.floor(V.x+F.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Y(B.WORLD_CENTER_X-V.x/2,B.WORLD_CENTER_Y-V.y/2))},ct.radialLayout=function(it,gt,Q){var dt=Math.max(this.maxDiagonalInTree(it),F.DEFAULT_RADIAL_SEPARATION);ct.branchRadialLayout(gt,null,0,359,0,dt);var K=wt.calculateBounds(it),yt=new mt;yt.setDeviceOrgX(K.getMinX()),yt.setDeviceOrgY(K.getMinY()),yt.setWorldOrgX(Q.x),yt.setWorldOrgY(Q.y);for(var V=0;V<it.length;V++){var Ot=it[V];Ot.transform(yt)}var It=new Y(K.getMaxX(),K.getMaxY());return yt.inverseTransformPoint(It)},ct.branchRadialLayout=function(it,gt,Q,dt,K,yt){var V=(dt-Q+1)/2;V<0&&(V+=180);var Ot=(V+Q)%360,It=Ot*ft.TWO_PI/360,jt=K*Math.cos(It),xt=K*Math.sin(It);it.setCenter(jt,xt);var Ft=[];Ft=Ft.concat(it.getEdges());var Ct=Ft.length;gt!=null&&Ct--;for(var kt=0,Gt=Ft.length,Fe,Mt=it.getEdgesBetween(gt);Mt.length>1;){var pn=Mt[0];Mt.splice(0,1);var Ae=Ft.indexOf(pn);Ae>=0&&Ft.splice(Ae,1),Gt--,Ct--}gt!=null?Fe=(Ft.indexOf(Mt[0])+1)%Gt:Fe=0;for(var ye=Math.abs(dt-Q)/Ct,tn=Fe;kt!=Ct;tn=++tn%Gt){var sn=Ft[tn].getOtherEnd(it);if(sn!=gt){var be=(Q+kt*ye)%360,Ne=(be+ye)%360;ct.branchRadialLayout(sn,it,be,Ne,K+yt,yt),kt++}}},ct.maxDiagonalInTree=function(it){for(var gt=ot.MIN_VALUE,Q=0;Q<it.length;Q++){var dt=it[Q],K=dt.getDiagonal();K>gt&&(gt=K)}return gt},ct.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},ct.prototype.groupZeroDegreeMembers=function(){var it=this,gt={};this.memberGroups={},this.idToDummyNode={};for(var Q=[],dt=this.graphManager.getAllNodes(),K=0;K<dt.length;K++){var yt=dt[K],V=yt.getParent();this.getNodeDegreeWithChildren(yt)===0&&(V.id==null||!this.getToBeTiled(V))&&Q.push(yt)}for(var K=0;K<Q.length;K++){var yt=Q[K],Ot=yt.getParent().id;typeof gt[Ot]>"u"&&(gt[Ot]=[]),gt[Ot]=gt[Ot].concat(yt)}Object.keys(gt).forEach(function(It){if(gt[It].length>1){var jt="DummyCompound_"+It;it.memberGroups[jt]=gt[It];var xt=gt[It][0].getParent(),Ft=new _(it.graphManager);Ft.id=jt,Ft.paddingLeft=xt.paddingLeft||0,Ft.paddingRight=xt.paddingRight||0,Ft.paddingBottom=xt.paddingBottom||0,Ft.paddingTop=xt.paddingTop||0,it.idToDummyNode[jt]=Ft;var Ct=it.getGraphManager().add(it.newGraph(),Ft),kt=xt.getChild();kt.add(Ft);for(var Gt=0;Gt<gt[It].length;Gt++){var Fe=gt[It][Gt];kt.remove(Fe),Ct.add(Fe)}}})},ct.prototype.clearCompounds=function(){var it={},gt={};this.performDFSOnCompounds();for(var Q=0;Q<this.compoundOrder.length;Q++)gt[this.compoundOrder[Q].id]=this.compoundOrder[Q],it[this.compoundOrder[Q].id]=[].concat(this.compoundOrder[Q].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[Q].getChild()),this.compoundOrder[Q].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(it,gt)},ct.prototype.clearZeroDegreeMembers=function(){var it=this,gt=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(Q){var dt=it.idToDummyNode[Q];gt[Q]=it.tileNodes(it.memberGroups[Q],dt.paddingLeft+dt.paddingRight),dt.rect.width=gt[Q].width,dt.rect.height=gt[Q].height})},ct.prototype.repopulateCompounds=function(){for(var it=this.compoundOrder.length-1;it>=0;it--){var gt=this.compoundOrder[it],Q=gt.id,dt=gt.paddingLeft,K=gt.paddingTop;this.adjustLocations(this.tiledMemberPack[Q],gt.rect.x,gt.rect.y,dt,K)}},ct.prototype.repopulateZeroDegreeMembers=function(){var it=this,gt=this.tiledZeroDegreePack;Object.keys(gt).forEach(function(Q){var dt=it.idToDummyNode[Q],K=dt.paddingLeft,yt=dt.paddingTop;it.adjustLocations(gt[Q],dt.rect.x,dt.rect.y,K,yt)})},ct.prototype.getToBeTiled=function(it){var gt=it.id;if(this.toBeTiled[gt]!=null)return this.toBeTiled[gt];var Q=it.getChild();if(Q==null)return this.toBeTiled[gt]=!1,!1;for(var dt=Q.getNodes(),K=0;K<dt.length;K++){var yt=dt[K];if(this.getNodeDegree(yt)>0)return this.toBeTiled[gt]=!1,!1;if(yt.getChild()==null){this.toBeTiled[yt.id]=!1;continue}if(!this.getToBeTiled(yt))return this.toBeTiled[gt]=!1,!1}return this.toBeTiled[gt]=!0,!0},ct.prototype.getNodeDegree=function(it){it.id;for(var gt=it.getEdges(),Q=0,dt=0;dt<gt.length;dt++){var K=gt[dt];K.getSource().id!==K.getTarget().id&&(Q=Q+1)}return Q},ct.prototype.getNodeDegreeWithChildren=function(it){var gt=this.getNodeDegree(it);if(it.getChild()==null)return gt;for(var Q=it.getChild().getNodes(),dt=0;dt<Q.length;dt++){var K=Q[dt];gt+=this.getNodeDegreeWithChildren(K)}return gt},ct.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},ct.prototype.fillCompexOrderByDFS=function(it){for(var gt=0;gt<it.length;gt++){var Q=it[gt];Q.getChild()!=null&&this.fillCompexOrderByDFS(Q.getChild().getNodes()),this.getToBeTiled(Q)&&this.compoundOrder.push(Q)}},ct.prototype.adjustLocations=function(it,gt,Q,dt,K){gt+=dt,Q+=K;for(var yt=gt,V=0;V<it.rows.length;V++){var Ot=it.rows[V];gt=yt;for(var It=0,jt=0;jt<Ot.length;jt++){var xt=Ot[jt];xt.rect.x=gt,xt.rect.y=Q,gt+=xt.rect.width+it.horizontalPadding,xt.rect.height>It&&(It=xt.rect.height)}Q+=It+it.verticalPadding}},ct.prototype.tileCompoundMembers=function(it,gt){var Q=this;this.tiledMemberPack=[],Object.keys(it).forEach(function(dt){var K=gt[dt];Q.tiledMemberPack[dt]=Q.tileNodes(it[dt],K.paddingLeft+K.paddingRight),K.rect.width=Q.tiledMemberPack[dt].width,K.rect.height=Q.tiledMemberPack[dt].height})},ct.prototype.tileNodes=function(it,gt){var Q=F.TILING_PADDING_VERTICAL,dt=F.TILING_PADDING_HORIZONTAL,K={rows:[],rowWidth:[],rowHeight:[],width:0,height:gt,verticalPadding:Q,horizontalPadding:dt};it.sort(function(Ot,It){return Ot.rect.width*Ot.rect.height>It.rect.width*It.rect.height?-1:Ot.rect.width*Ot.rect.height<It.rect.width*It.rect.height?1:0});for(var yt=0;yt<it.length;yt++){var V=it[yt];K.rows.length==0?this.insertNodeToRow(K,V,0,gt):this.canAddHorizontal(K,V.rect.width,V.rect.height)?this.insertNodeToRow(K,V,this.getShortestRowIndex(K),gt):this.insertNodeToRow(K,V,K.rows.length,gt),this.shiftToLastRow(K)}return K},ct.prototype.insertNodeToRow=function(it,gt,Q,dt){var K=dt;if(Q==it.rows.length){var yt=[];it.rows.push(yt),it.rowWidth.push(K),it.rowHeight.push(0)}var V=it.rowWidth[Q]+gt.rect.width;it.rows[Q].length>0&&(V+=it.horizontalPadding),it.rowWidth[Q]=V,it.width<V&&(it.width=V);var Ot=gt.rect.height;Q>0&&(Ot+=it.verticalPadding);var It=0;Ot>it.rowHeight[Q]&&(It=it.rowHeight[Q],it.rowHeight[Q]=Ot,It=it.rowHeight[Q]-It),it.height+=It,it.rows[Q].push(gt)},ct.prototype.getShortestRowIndex=function(it){for(var gt=-1,Q=Number.MAX_VALUE,dt=0;dt<it.rows.length;dt++)it.rowWidth[dt]<Q&&(gt=dt,Q=it.rowWidth[dt]);return gt},ct.prototype.getLongestRowIndex=function(it){for(var gt=-1,Q=Number.MIN_VALUE,dt=0;dt<it.rows.length;dt++)it.rowWidth[dt]>Q&&(gt=dt,Q=it.rowWidth[dt]);return gt},ct.prototype.canAddHorizontal=function(it,gt,Q){var dt=this.getShortestRowIndex(it);if(dt<0)return!0;var K=it.rowWidth[dt];if(K+it.horizontalPadding+gt<=it.width)return!0;var yt=0;it.rowHeight[dt]<Q&&dt>0&&(yt=Q+it.verticalPadding-it.rowHeight[dt]);var V;it.width-K>=gt+it.horizontalPadding?V=(it.height+yt)/(K+gt+it.horizontalPadding):V=(it.height+yt)/it.width,yt=Q+it.verticalPadding;var Ot;return it.width<gt?Ot=(it.height+yt)/gt:Ot=(it.height+yt)/it.width,Ot<1&&(Ot=1/Ot),V<1&&(V=1/V),V<Ot},ct.prototype.shiftToLastRow=function(it){var gt=this.getLongestRowIndex(it),Q=it.rowWidth.length-1,dt=it.rows[gt],K=dt[dt.length-1],yt=K.width+it.horizontalPadding;if(it.width-it.rowWidth[Q]>yt&&gt!=Q){dt.splice(-1,1),it.rows[Q].push(K),it.rowWidth[gt]=it.rowWidth[gt]-yt,it.rowWidth[Q]=it.rowWidth[Q]+yt,it.width=it.rowWidth[instance.getLongestRowIndex(it)];for(var V=Number.MIN_VALUE,Ot=0;Ot<dt.length;Ot++)dt[Ot].height>V&&(V=dt[Ot].height);gt>0&&(V+=it.verticalPadding);var It=it.rowHeight[gt]+it.rowHeight[Q];it.rowHeight[gt]=V,it.rowHeight[Q]<K.height+it.verticalPadding&&(it.rowHeight[Q]=K.height+it.verticalPadding);var jt=it.rowHeight[gt]+it.rowHeight[Q];it.height+=jt-It,this.shiftToLastRow(it)}},ct.prototype.tilingPreLayout=function(){F.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},ct.prototype.tilingPostLayout=function(){F.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},ct.prototype.reduceTrees=function(){for(var it=[],gt=!0,Q;gt;){var dt=this.graphManager.getAllNodes(),K=[];gt=!1;for(var yt=0;yt<dt.length;yt++)Q=dt[yt],Q.getEdges().length==1&&!Q.getEdges()[0].isInterGraph&&Q.getChild()==null&&(K.push([Q,Q.getEdges()[0],Q.getOwner()]),gt=!0);if(gt==!0){for(var V=[],Ot=0;Ot<K.length;Ot++)K[Ot][0].getEdges().length==1&&(V.push(K[Ot]),K[Ot][0].getOwner().remove(K[Ot][0]));it.push(V),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=it},ct.prototype.growTree=function(it){for(var gt=it.length,Q=it[gt-1],dt,K=0;K<Q.length;K++)dt=Q[K],this.findPlaceforPrunedNode(dt),dt[2].add(dt[0]),dt[2].add(dt[1],dt[1].source,dt[1].target);it.splice(it.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},ct.prototype.findPlaceforPrunedNode=function(it){var gt,Q,dt=it[0];dt==it[1].source?Q=it[1].target:Q=it[1].source;var K=Q.startX,yt=Q.finishX,V=Q.startY,Ot=Q.finishY,It=0,jt=0,xt=0,Ft=0,Ct=[It,xt,jt,Ft];if(V>0)for(var kt=K;kt<=yt;kt++)Ct[0]+=this.grid[kt][V-1].length+this.grid[kt][V].length-1;if(yt<this.grid.length-1)for(var kt=V;kt<=Ot;kt++)Ct[1]+=this.grid[yt+1][kt].length+this.grid[yt][kt].length-1;if(Ot<this.grid[0].length-1)for(var kt=K;kt<=yt;kt++)Ct[2]+=this.grid[kt][Ot+1].length+this.grid[kt][Ot].length-1;if(K>0)for(var kt=V;kt<=Ot;kt++)Ct[3]+=this.grid[K-1][kt].length+this.grid[K][kt].length-1;for(var Gt=ot.MAX_VALUE,Fe,Mt,pn=0;pn<Ct.length;pn++)Ct[pn]<Gt?(Gt=Ct[pn],Fe=1,Mt=pn):Ct[pn]==Gt&&Fe++;if(Fe==3&&Gt==0)Ct[0]==0&&Ct[1]==0&&Ct[2]==0?gt=1:Ct[0]==0&&Ct[1]==0&&Ct[3]==0?gt=0:Ct[0]==0&&Ct[2]==0&&Ct[3]==0?gt=3:Ct[1]==0&&Ct[2]==0&&Ct[3]==0&&(gt=2);else if(Fe==2&&Gt==0){var Ae=Math.floor(Math.random()*2);Ct[0]==0&&Ct[1]==0?Ae==0?gt=0:gt=1:Ct[0]==0&&Ct[2]==0?Ae==0?gt=0:gt=2:Ct[0]==0&&Ct[3]==0?Ae==0?gt=0:gt=3:Ct[1]==0&&Ct[2]==0?Ae==0?gt=1:gt=2:Ct[1]==0&&Ct[3]==0?Ae==0?gt=1:gt=3:Ae==0?gt=2:gt=3}else if(Fe==4&&Gt==0){var Ae=Math.floor(Math.random()*4);gt=Ae}else gt=Mt;gt==0?dt.setCenter(Q.getCenterX(),Q.getCenterY()-Q.getHeight()/2-R.DEFAULT_EDGE_LENGTH-dt.getHeight()/2):gt==1?dt.setCenter(Q.getCenterX()+Q.getWidth()/2+R.DEFAULT_EDGE_LENGTH+dt.getWidth()/2,Q.getCenterY()):gt==2?dt.setCenter(Q.getCenterX(),Q.getCenterY()+Q.getHeight()/2+R.DEFAULT_EDGE_LENGTH+dt.getHeight()/2):dt.setCenter(Q.getCenterX()-Q.getWidth()/2-R.DEFAULT_EDGE_LENGTH-dt.getWidth()/2,Q.getCenterY())},g.exports=ct},function(g,w,v){var b={};b.layoutBase=v(0),b.CoSEConstants=v(1),b.CoSEEdge=v(2),b.CoSEGraph=v(3),b.CoSEGraphManager=v(4),b.CoSELayout=v(6),b.CoSENode=v(5),g.exports=b}])})}(p2t)),p2t.exports}(function(i,a){(function(g,w){i.exports=w(ren())})(Z0,function(f){return function(g){var w={};function v(b){if(w[b])return w[b].exports;var E=w[b]={i:b,l:!1,exports:{}};return g[b].call(E.exports,E,E.exports,v),E.l=!0,E.exports}return v.m=g,v.c=w,v.i=function(b){return b},v.d=function(b,E,S){v.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:S})},v.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return v.d(E,"a",E),E},v.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},v.p="",v(v.s=1)}([function(g,w){g.exports=f},function(g,w,v){var b=v(0).layoutBase.LayoutConstants,E=v(0).layoutBase.FDLayoutConstants,S=v(0).CoSEConstants,_=v(0).CoSELayout,M=v(0).CoSENode,F=v(0).layoutBase.PointD,R=v(0).layoutBase.DimensionD,B={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function z(ft,wt){var mt={};for(var ct in ft)mt[ct]=ft[ct];for(var ct in wt)mt[ct]=wt[ct];return mt}function Y(ft){this.options=z(B,ft),nt(this.options)}var nt=function(wt){wt.nodeRepulsion!=null&&(S.DEFAULT_REPULSION_STRENGTH=E.DEFAULT_REPULSION_STRENGTH=wt.nodeRepulsion),wt.idealEdgeLength!=null&&(S.DEFAULT_EDGE_LENGTH=E.DEFAULT_EDGE_LENGTH=wt.idealEdgeLength),wt.edgeElasticity!=null&&(S.DEFAULT_SPRING_STRENGTH=E.DEFAULT_SPRING_STRENGTH=wt.edgeElasticity),wt.nestingFactor!=null&&(S.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=wt.nestingFactor),wt.gravity!=null&&(S.DEFAULT_GRAVITY_STRENGTH=E.DEFAULT_GRAVITY_STRENGTH=wt.gravity),wt.numIter!=null&&(S.MAX_ITERATIONS=E.MAX_ITERATIONS=wt.numIter),wt.gravityRange!=null&&(S.DEFAULT_GRAVITY_RANGE_FACTOR=E.DEFAULT_GRAVITY_RANGE_FACTOR=wt.gravityRange),wt.gravityCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_STRENGTH=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH=wt.gravityCompound),wt.gravityRangeCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=wt.gravityRangeCompound),wt.initialEnergyOnIncremental!=null&&(S.DEFAULT_COOLING_FACTOR_INCREMENTAL=E.DEFAULT_COOLING_FACTOR_INCREMENTAL=wt.initialEnergyOnIncremental),wt.quality=="draft"?b.QUALITY=0:wt.quality=="proof"?b.QUALITY=2:b.QUALITY=1,S.NODE_DIMENSIONS_INCLUDE_LABELS=E.NODE_DIMENSIONS_INCLUDE_LABELS=b.NODE_DIMENSIONS_INCLUDE_LABELS=wt.nodeDimensionsIncludeLabels,S.DEFAULT_INCREMENTAL=E.DEFAULT_INCREMENTAL=b.DEFAULT_INCREMENTAL=!wt.randomize,S.ANIMATE=E.ANIMATE=b.ANIMATE=wt.animate,S.TILE=wt.tile,S.TILING_PADDING_VERTICAL=typeof wt.tilingPaddingVertical=="function"?wt.tilingPaddingVertical.call():wt.tilingPaddingVertical,S.TILING_PADDING_HORIZONTAL=typeof wt.tilingPaddingHorizontal=="function"?wt.tilingPaddingHorizontal.call():wt.tilingPaddingHorizontal};Y.prototype.run=function(){var ft,wt,mt=this.options;this.idToLNode={};var ct=this.layout=new _,rt=this;rt.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var it=ct.newGraphManager();this.gm=it;var gt=this.options.eles.nodes(),Q=this.options.eles.edges();this.root=it.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(gt),ct);for(var dt=0;dt<Q.length;dt++){var K=Q[dt],yt=this.idToLNode[K.data("source")],V=this.idToLNode[K.data("target")];if(yt!==V&&yt.getEdgesBetween(V).length==0){var Ot=it.add(ct.newEdge(),yt,V);Ot.id=K.id()}}var It=function(Ft,Ct){typeof Ft=="number"&&(Ft=Ct);var kt=Ft.data("id"),Gt=rt.idToLNode[kt];return{x:Gt.getRect().getCenterX(),y:Gt.getRect().getCenterY()}},jt=function xt(){for(var Ft=function(){mt.fit&&mt.cy.fit(mt.eles,mt.padding),ft||(ft=!0,rt.cy.one("layoutready",mt.ready),rt.cy.trigger({type:"layoutready",layout:rt}))},Ct=rt.options.refresh,kt,Gt=0;Gt<Ct&&!kt;Gt++)kt=rt.stopped||rt.layout.tick();if(kt){ct.checkLayoutSuccess()&&!ct.isSubLayout&&ct.doPostLayout(),ct.tilingPostLayout&&ct.tilingPostLayout(),ct.isLayoutFinished=!0,rt.options.eles.nodes().positions(It),Ft(),rt.cy.one("layoutstop",rt.options.stop),rt.cy.trigger({type:"layoutstop",layout:rt}),wt&&cancelAnimationFrame(wt),ft=!1;return}var Fe=rt.layout.getPositionsData();mt.eles.nodes().positions(function(Mt,pn){if(typeof Mt=="number"&&(Mt=pn),!Mt.isParent()){for(var Ae=Mt.id(),ye=Fe[Ae],tn=Mt;ye==null&&(ye=Fe[tn.data("parent")]||Fe["DummyCompound_"+tn.data("parent")],Fe[Ae]=ye,tn=tn.parent()[0],tn!=null););return ye!=null?{x:ye.x,y:ye.y}:{x:Mt.position("x"),y:Mt.position("y")}}}),Ft(),wt=requestAnimationFrame(xt)};return ct.addListener("layoutstarted",function(){rt.options.animate==="during"&&(wt=requestAnimationFrame(jt))}),ct.runLayout(),this.options.animate!=="during"&&(rt.options.eles.nodes().not(":parent").layoutPositions(rt,rt.options,It),ft=!1),this},Y.prototype.getTopMostNodes=function(ft){for(var wt={},mt=0;mt<ft.length;mt++)wt[ft[mt].id()]=!0;var ct=ft.filter(function(rt,it){typeof rt=="number"&&(rt=it);for(var gt=rt.parent()[0];gt!=null;){if(wt[gt.id()])return!1;gt=gt.parent()[0]}return!0});return ct},Y.prototype.processChildrenList=function(ft,wt,mt){for(var ct=wt.length,rt=0;rt<ct;rt++){var it=wt[rt],gt=it.children(),Q,dt=it.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(it.outerWidth()!=null&&it.outerHeight()!=null?Q=ft.add(new M(mt.graphManager,new F(it.position("x")-dt.w/2,it.position("y")-dt.h/2),new R(parseFloat(dt.w),parseFloat(dt.h)))):Q=ft.add(new M(this.graphManager)),Q.id=it.data("id"),Q.paddingLeft=parseInt(it.css("padding")),Q.paddingTop=parseInt(it.css("padding")),Q.paddingRight=parseInt(it.css("padding")),Q.paddingBottom=parseInt(it.css("padding")),this.options.nodeDimensionsIncludeLabels&&it.isParent()){var K=it.boundingBox({includeLabels:!0,includeNodes:!1}).w,yt=it.boundingBox({includeLabels:!0,includeNodes:!1}).h,V=it.css("text-halign");Q.labelWidth=K,Q.labelHeight=yt,Q.labelPos=V}if(this.idToLNode[it.data("id")]=Q,isNaN(Q.rect.x)&&(Q.rect.x=0),isNaN(Q.rect.y)&&(Q.rect.y=0),gt!=null&&gt.length>0){var Ot;Ot=mt.getGraphManager().add(mt.newGraph(),Q),this.processChildrenList(Ot,gt,mt)}}},Y.prototype.stop=function(){return this.stopped=!0,this};var ot=function(wt){wt("layout","cose-bilkent",Y)};typeof cytoscape<"u"&&ot(cytoscape),g.exports=ot}])})})(WHt);var ien=WHt.exports;const sen=e9(ien),aen=12,oen=function(i,a,f,g){a.append("path").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("d",`M0 ${f.height-5} v${-f.height+2*5} q0,-5 5,-5 h${f.width-2*5} q5,0 5,5 v${f.height-5} H0 Z`),a.append("line").attr("class","node-line-"+g).attr("x1",0).attr("y1",f.height).attr("x2",f.width).attr("y2",f.height)},cen=function(i,a,f){a.append("rect").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("height",f.height).attr("width",f.width)},uen=function(i,a,f){const g=f.width,w=f.height,v=.15*g,b=.25*g,E=.35*g,S=.2*g;a.append("path").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("d",`M0 0 a${v},${v} 0 0,1 ${g*.25},${-1*g*.1}